@dereekb/firebase 13.32.0 → 13.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.esm.js CHANGED
@@ -11,7 +11,7 @@ import { iterateFetchPages, iterateFetchPagesByEachItem, fetchPageFactory } from
11
11
  import { BaseError } from 'make-error';
12
12
  import { addMinutes, addSeconds, isAfter, addDays } from 'date-fns';
13
13
 
14
- function _type_of$c(obj) {
14
+ function _type_of$d(obj) {
15
15
  "@swc/helpers - typeof";
16
16
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
17
17
  }
@@ -42,15 +42,15 @@ function _type_of$c(obj) {
42
42
  * }
43
43
  * ```
44
44
  */ function isClientFirebaseError(error) {
45
- return (typeof error === "undefined" ? "undefined" : _type_of$c(error)) === 'object' && error.name === 'FirebaseError' && typeof error.code === 'string';
45
+ return (typeof error === "undefined" ? "undefined" : _type_of$d(error)) === 'object' && error.name === 'FirebaseError' && typeof error.code === 'string';
46
46
  }
47
47
 
48
- function _class_call_check$j(instance, Constructor) {
48
+ function _class_call_check$l(instance, Constructor) {
49
49
  if (!(instance instanceof Constructor)) {
50
50
  throw new TypeError("Cannot call a class as a function");
51
51
  }
52
52
  }
53
- function _defineProperties$b(target, props) {
53
+ function _defineProperties$c(target, props) {
54
54
  for(var i = 0; i < props.length; i++){
55
55
  var descriptor = props[i];
56
56
  descriptor.enumerable = descriptor.enumerable || false;
@@ -59,11 +59,11 @@ function _defineProperties$b(target, props) {
59
59
  Object.defineProperty(target, descriptor.key, descriptor);
60
60
  }
61
61
  }
62
- function _create_class$b(Constructor, protoProps, staticProps) {
63
- if (protoProps) _defineProperties$b(Constructor.prototype, protoProps);
62
+ function _create_class$c(Constructor, protoProps, staticProps) {
63
+ if (protoProps) _defineProperties$c(Constructor.prototype, protoProps);
64
64
  return Constructor;
65
65
  }
66
- function _define_property$z(obj, key, value) {
66
+ function _define_property$A(obj, key, value) {
67
67
  if (key in obj) {
68
68
  Object.defineProperty(obj, key, {
69
69
  value: value,
@@ -88,11 +88,11 @@ function _define_property$z(obj, key, value) {
88
88
  * @template D - The raw document data type in Firestore (defaults to DocumentData)
89
89
  */ var AbstractFirestoreDocumentDataAccessorWrapper = /*#__PURE__*/ function() {
90
90
  function AbstractFirestoreDocumentDataAccessorWrapper(accessor) {
91
- _class_call_check$j(this, AbstractFirestoreDocumentDataAccessorWrapper);
92
- _define_property$z(this, "_accessor", void 0);
91
+ _class_call_check$l(this, AbstractFirestoreDocumentDataAccessorWrapper);
92
+ _define_property$A(this, "_accessor", void 0);
93
93
  this._accessor = accessor;
94
94
  }
95
- _create_class$b(AbstractFirestoreDocumentDataAccessorWrapper, [
95
+ _create_class$c(AbstractFirestoreDocumentDataAccessorWrapper, [
96
96
  {
97
97
  key: "accessor",
98
98
  get: /**
@@ -247,22 +247,22 @@ function _define_property$z(obj, key, value) {
247
247
  };
248
248
  }
249
249
 
250
- function _assert_this_initialized$9(self) {
250
+ function _assert_this_initialized$a(self) {
251
251
  if (self === void 0) {
252
252
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
253
253
  }
254
254
  return self;
255
255
  }
256
- function _call_super$9(_this, derived, args) {
257
- derived = _get_prototype_of$9(derived);
258
- 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));
256
+ function _call_super$a(_this, derived, args) {
257
+ derived = _get_prototype_of$a(derived);
258
+ 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));
259
259
  }
260
- function _class_call_check$i(instance, Constructor) {
260
+ function _class_call_check$k(instance, Constructor) {
261
261
  if (!(instance instanceof Constructor)) {
262
262
  throw new TypeError("Cannot call a class as a function");
263
263
  }
264
264
  }
265
- function _define_property$y(obj, key, value) {
265
+ function _define_property$z(obj, key, value) {
266
266
  if (key in obj) {
267
267
  Object.defineProperty(obj, key, {
268
268
  value: value,
@@ -291,13 +291,13 @@ function _get(target, property, receiver) {
291
291
  }
292
292
  return _get(target, property, receiver || target);
293
293
  }
294
- function _get_prototype_of$9(o) {
295
- _get_prototype_of$9 = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
294
+ function _get_prototype_of$a(o) {
295
+ _get_prototype_of$a = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
296
296
  return o.__proto__ || Object.getPrototypeOf(o);
297
297
  };
298
- return _get_prototype_of$9(o);
298
+ return _get_prototype_of$a(o);
299
299
  }
300
- function _inherits$9(subClass, superClass) {
300
+ function _inherits$a(subClass, superClass) {
301
301
  if (typeof superClass !== "function" && superClass !== null) {
302
302
  throw new TypeError("Super expression must either be null or a function");
303
303
  }
@@ -308,9 +308,9 @@ function _inherits$9(subClass, superClass) {
308
308
  configurable: true
309
309
  }
310
310
  });
311
- if (superClass) _set_prototype_of$9(subClass, superClass);
311
+ if (superClass) _set_prototype_of$a(subClass, superClass);
312
312
  }
313
- function _object_spread$r(target) {
313
+ function _object_spread$s(target) {
314
314
  for(var i = 1; i < arguments.length; i++){
315
315
  var source = arguments[i] != null ? arguments[i] : {};
316
316
  var ownKeys = Object.keys(source);
@@ -320,40 +320,40 @@ function _object_spread$r(target) {
320
320
  }));
321
321
  }
322
322
  ownKeys.forEach(function(key) {
323
- _define_property$y(target, key, source[key]);
323
+ _define_property$z(target, key, source[key]);
324
324
  });
325
325
  }
326
326
  return target;
327
327
  }
328
- function _possible_constructor_return$9(self, call) {
329
- if (call && (_type_of$b(call) === "object" || typeof call === "function")) {
328
+ function _possible_constructor_return$a(self, call) {
329
+ if (call && (_type_of$c(call) === "object" || typeof call === "function")) {
330
330
  return call;
331
331
  }
332
- return _assert_this_initialized$9(self);
332
+ return _assert_this_initialized$a(self);
333
333
  }
334
- function _set_prototype_of$9(o, p) {
335
- _set_prototype_of$9 = Object.setPrototypeOf || function setPrototypeOf(o, p) {
334
+ function _set_prototype_of$a(o, p) {
335
+ _set_prototype_of$a = Object.setPrototypeOf || function setPrototypeOf(o, p) {
336
336
  o.__proto__ = p;
337
337
  return o;
338
338
  };
339
- return _set_prototype_of$9(o, p);
339
+ return _set_prototype_of$a(o, p);
340
340
  }
341
341
  function _super_prop_base(object, property) {
342
342
  while(!Object.prototype.hasOwnProperty.call(object, property)){
343
- object = _get_prototype_of$9(object);
343
+ object = _get_prototype_of$a(object);
344
344
  if (object === null) break;
345
345
  }
346
346
  return object;
347
347
  }
348
- function _type_of$b(obj) {
348
+ function _type_of$c(obj) {
349
349
  "@swc/helpers - typeof";
350
350
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
351
351
  }
352
- function _is_native_reflect_construct$9() {
352
+ function _is_native_reflect_construct$a() {
353
353
  try {
354
354
  var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
355
355
  } catch (_) {}
356
- return (_is_native_reflect_construct$9 = function() {
356
+ return (_is_native_reflect_construct$a = function() {
357
357
  return !!result;
358
358
  })();
359
359
  }
@@ -367,19 +367,19 @@ function _is_native_reflect_construct$9() {
367
367
  * @template T - The document data type
368
368
  * @template D - The raw document data type in Firestore
369
369
  */ var ModifyBeforeSetFirestoreDocumentDataAccessorWrapper = /*#__PURE__*/ function(AbstractFirestoreDocumentDataAccessorWrapper) {
370
- _inherits$9(ModifyBeforeSetFirestoreDocumentDataAccessorWrapper, AbstractFirestoreDocumentDataAccessorWrapper);
370
+ _inherits$a(ModifyBeforeSetFirestoreDocumentDataAccessorWrapper, AbstractFirestoreDocumentDataAccessorWrapper);
371
371
  function ModifyBeforeSetFirestoreDocumentDataAccessorWrapper(accessor, config) {
372
- _class_call_check$i(this, ModifyBeforeSetFirestoreDocumentDataAccessorWrapper);
372
+ _class_call_check$k(this, ModifyBeforeSetFirestoreDocumentDataAccessorWrapper);
373
373
  var _this;
374
- _this = _call_super$9(this, ModifyBeforeSetFirestoreDocumentDataAccessorWrapper, [
374
+ _this = _call_super$a(this, ModifyBeforeSetFirestoreDocumentDataAccessorWrapper, [
375
375
  accessor
376
- ]), _define_property$y(_this, "config", void 0), _define_property$y(_this, "modifier", void 0), _define_property$y(_this, "set", void 0);
376
+ ]), _define_property$z(_this, "config", void 0), _define_property$z(_this, "modifier", void 0), _define_property$z(_this, "set", void 0);
377
377
  _this.config = config;
378
378
  var when = config.when;
379
379
  _this.modifier = mergeModifiers(asArray(config.modifier));
380
380
  var setFn;
381
381
  var modifyData = function modifyData(data, options) {
382
- var copy = _object_spread$r({}, data);
382
+ var copy = _object_spread$s({}, data);
383
383
  var input = {
384
384
  data: copy,
385
385
  documentRef: _this.documentRef,
@@ -390,7 +390,7 @@ function _is_native_reflect_construct$9() {
390
390
  };
391
391
  var modifyAndSet = function modifyAndSet(data, options) {
392
392
  var input = modifyData(data, options);
393
- return _get((_assert_this_initialized$9(_this), _get_prototype_of$9(ModifyBeforeSetFirestoreDocumentDataAccessorWrapper.prototype)), "set", _this).call(_this, input.data, options);
393
+ return _get((_assert_this_initialized$a(_this), _get_prototype_of$a(ModifyBeforeSetFirestoreDocumentDataAccessorWrapper.prototype)), "set", _this).call(_this, input.data, options);
394
394
  };
395
395
  var applyToCreateFunction = false;
396
396
  switch(when){
@@ -401,19 +401,19 @@ function _is_native_reflect_construct$9() {
401
401
  case 'set':
402
402
  setFn = function setFn(data, options) {
403
403
  var isSetForNewModel = Boolean(!options);
404
- return isSetForNewModel ? modifyAndSet(data) : _get((_assert_this_initialized$9(_this), _get_prototype_of$9(ModifyBeforeSetFirestoreDocumentDataAccessorWrapper.prototype)), "set", _this).call(_this, data, options);
404
+ return isSetForNewModel ? modifyAndSet(data) : _get((_assert_this_initialized$a(_this), _get_prototype_of$a(ModifyBeforeSetFirestoreDocumentDataAccessorWrapper.prototype)), "set", _this).call(_this, data, options);
405
405
  };
406
406
  applyToCreateFunction = true;
407
407
  break;
408
408
  case 'update':
409
409
  setFn = function setFn(data, options) {
410
410
  var isUpdateForExistingModel = options && (Boolean(options.mergeFields) || Boolean(options.merge));
411
- return isUpdateForExistingModel ? modifyAndSet(data) : _get((_assert_this_initialized$9(_this), _get_prototype_of$9(ModifyBeforeSetFirestoreDocumentDataAccessorWrapper.prototype)), "set", _this).call(_this, data, options);
411
+ return isUpdateForExistingModel ? modifyAndSet(data) : _get((_assert_this_initialized$a(_this), _get_prototype_of$a(ModifyBeforeSetFirestoreDocumentDataAccessorWrapper.prototype)), "set", _this).call(_this, data, options);
412
412
  };
413
413
  break;
414
414
  case 'create':
415
415
  setFn = function setFn(data, options) {
416
- return _get((_assert_this_initialized$9(_this), _get_prototype_of$9(ModifyBeforeSetFirestoreDocumentDataAccessorWrapper.prototype)), "set", _this).call(_this, data, options);
416
+ return _get((_assert_this_initialized$a(_this), _get_prototype_of$a(ModifyBeforeSetFirestoreDocumentDataAccessorWrapper.prototype)), "set", _this).call(_this, data, options);
417
417
  };
418
418
  applyToCreateFunction = true;
419
419
  break;
@@ -422,7 +422,7 @@ function _is_native_reflect_construct$9() {
422
422
  if (applyToCreateFunction) {
423
423
  var modifyAndCreate = function modifyAndCreate(data) {
424
424
  var input = modifyData(data);
425
- return _get((_assert_this_initialized$9(_this), _get_prototype_of$9(ModifyBeforeSetFirestoreDocumentDataAccessorWrapper.prototype)), "create", _this).call(_this, input.data);
425
+ return _get((_assert_this_initialized$a(_this), _get_prototype_of$a(ModifyBeforeSetFirestoreDocumentDataAccessorWrapper.prototype)), "create", _this).call(_this, input.data);
426
426
  };
427
427
  _this.create = modifyAndCreate;
428
428
  }
@@ -1224,22 +1224,22 @@ function _ts_generator$l(thisArg, body) {
1224
1224
  };
1225
1225
  }
1226
1226
 
1227
- function _assert_this_initialized$8(self) {
1227
+ function _assert_this_initialized$9(self) {
1228
1228
  if (self === void 0) {
1229
1229
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1230
1230
  }
1231
1231
  return self;
1232
1232
  }
1233
- function _call_super$8(_this, derived, args) {
1234
- derived = _get_prototype_of$8(derived);
1235
- 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));
1233
+ function _call_super$9(_this, derived, args) {
1234
+ derived = _get_prototype_of$9(derived);
1235
+ 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));
1236
1236
  }
1237
- function _class_call_check$h(instance, Constructor) {
1237
+ function _class_call_check$j(instance, Constructor) {
1238
1238
  if (!(instance instanceof Constructor)) {
1239
1239
  throw new TypeError("Cannot call a class as a function");
1240
1240
  }
1241
1241
  }
1242
- function _defineProperties$a(target, props) {
1242
+ function _defineProperties$b(target, props) {
1243
1243
  for(var i = 0; i < props.length; i++){
1244
1244
  var descriptor = props[i];
1245
1245
  descriptor.enumerable = descriptor.enumerable || false;
@@ -1248,11 +1248,11 @@ function _defineProperties$a(target, props) {
1248
1248
  Object.defineProperty(target, descriptor.key, descriptor);
1249
1249
  }
1250
1250
  }
1251
- function _create_class$a(Constructor, protoProps, staticProps) {
1252
- if (protoProps) _defineProperties$a(Constructor.prototype, protoProps);
1251
+ function _create_class$b(Constructor, protoProps, staticProps) {
1252
+ if (protoProps) _defineProperties$b(Constructor.prototype, protoProps);
1253
1253
  return Constructor;
1254
1254
  }
1255
- function _define_property$x(obj, key, value) {
1255
+ function _define_property$y(obj, key, value) {
1256
1256
  if (key in obj) {
1257
1257
  Object.defineProperty(obj, key, {
1258
1258
  value: value,
@@ -1265,13 +1265,13 @@ function _define_property$x(obj, key, value) {
1265
1265
  }
1266
1266
  return obj;
1267
1267
  }
1268
- function _get_prototype_of$8(o) {
1269
- _get_prototype_of$8 = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
1268
+ function _get_prototype_of$9(o) {
1269
+ _get_prototype_of$9 = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
1270
1270
  return o.__proto__ || Object.getPrototypeOf(o);
1271
1271
  };
1272
- return _get_prototype_of$8(o);
1272
+ return _get_prototype_of$9(o);
1273
1273
  }
1274
- function _inherits$8(subClass, superClass) {
1274
+ function _inherits$9(subClass, superClass) {
1275
1275
  if (typeof superClass !== "function" && superClass !== null) {
1276
1276
  throw new TypeError("Super expression must either be null or a function");
1277
1277
  }
@@ -1282,30 +1282,30 @@ function _inherits$8(subClass, superClass) {
1282
1282
  configurable: true
1283
1283
  }
1284
1284
  });
1285
- if (superClass) _set_prototype_of$8(subClass, superClass);
1285
+ if (superClass) _set_prototype_of$9(subClass, superClass);
1286
1286
  }
1287
- function _possible_constructor_return$8(self, call) {
1288
- if (call && (_type_of$a(call) === "object" || typeof call === "function")) {
1287
+ function _possible_constructor_return$9(self, call) {
1288
+ if (call && (_type_of$b(call) === "object" || typeof call === "function")) {
1289
1289
  return call;
1290
1290
  }
1291
- return _assert_this_initialized$8(self);
1291
+ return _assert_this_initialized$9(self);
1292
1292
  }
1293
- function _set_prototype_of$8(o, p) {
1294
- _set_prototype_of$8 = Object.setPrototypeOf || function setPrototypeOf(o, p) {
1293
+ function _set_prototype_of$9(o, p) {
1294
+ _set_prototype_of$9 = Object.setPrototypeOf || function setPrototypeOf(o, p) {
1295
1295
  o.__proto__ = p;
1296
1296
  return o;
1297
1297
  };
1298
- return _set_prototype_of$8(o, p);
1298
+ return _set_prototype_of$9(o, p);
1299
1299
  }
1300
- function _type_of$a(obj) {
1300
+ function _type_of$b(obj) {
1301
1301
  "@swc/helpers - typeof";
1302
1302
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
1303
1303
  }
1304
- function _is_native_reflect_construct$8() {
1304
+ function _is_native_reflect_construct$9() {
1305
1305
  try {
1306
1306
  var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
1307
1307
  } catch (_) {}
1308
- return (_is_native_reflect_construct$8 = function() {
1308
+ return (_is_native_reflect_construct$9 = function() {
1309
1309
  return !!result;
1310
1310
  })();
1311
1311
  }
@@ -1326,21 +1326,21 @@ function _is_native_reflect_construct$8() {
1326
1326
  */ var AbstractFirestoreDocument = /*#__PURE__*/ function() {
1327
1327
  function AbstractFirestoreDocument(accessor, documentAccessor) {
1328
1328
  var _this = this;
1329
- _class_call_check$h(this, AbstractFirestoreDocument);
1330
- _define_property$x(this, "_accessor", void 0);
1331
- _define_property$x(this, "_documentAccessor", void 0);
1332
- _define_property$x(this, "_cache", void 0);
1333
- _define_property$x(this, "stream$", lazyFrom(function() {
1329
+ _class_call_check$j(this, AbstractFirestoreDocument);
1330
+ _define_property$y(this, "_accessor", void 0);
1331
+ _define_property$y(this, "_documentAccessor", void 0);
1332
+ _define_property$y(this, "_cache", void 0);
1333
+ _define_property$y(this, "stream$", lazyFrom(function() {
1334
1334
  return _this._accessor.stream();
1335
1335
  }));
1336
- _define_property$x(this, "data$", lazyFrom(function() {
1336
+ _define_property$y(this, "data$", lazyFrom(function() {
1337
1337
  return dataFromSnapshotStream(_this.stream$);
1338
1338
  }));
1339
1339
  this._accessor = accessor;
1340
1340
  this._documentAccessor = documentAccessor;
1341
1341
  this._cache = documentAccessor.cacheForDocument(accessor.documentRef);
1342
1342
  }
1343
- _create_class$a(AbstractFirestoreDocument, [
1343
+ _create_class$b(AbstractFirestoreDocument, [
1344
1344
  {
1345
1345
  key: "accessor",
1346
1346
  get: function get() {
@@ -1682,15 +1682,15 @@ function firestoreDocumentAccessorContextExtension(param) {
1682
1682
  };
1683
1683
  }
1684
1684
  var AbstractFirestoreDocumentWithParent = /*#__PURE__*/ function(AbstractFirestoreDocument) {
1685
- _inherits$8(AbstractFirestoreDocumentWithParent, AbstractFirestoreDocument);
1685
+ _inherits$9(AbstractFirestoreDocumentWithParent, AbstractFirestoreDocument);
1686
1686
  function AbstractFirestoreDocumentWithParent(accessor, documentAccessor) {
1687
- _class_call_check$h(this, AbstractFirestoreDocumentWithParent);
1688
- return _call_super$8(this, AbstractFirestoreDocumentWithParent, [
1687
+ _class_call_check$j(this, AbstractFirestoreDocumentWithParent);
1688
+ return _call_super$9(this, AbstractFirestoreDocumentWithParent, [
1689
1689
  accessor,
1690
1690
  documentAccessor
1691
1691
  ]);
1692
1692
  }
1693
- _create_class$a(AbstractFirestoreDocumentWithParent, [
1693
+ _create_class$b(AbstractFirestoreDocumentWithParent, [
1694
1694
  {
1695
1695
  key: "parent",
1696
1696
  get: function get() {
@@ -3858,7 +3858,7 @@ function _ts_generator$i(thisArg, body) {
3858
3858
  return path;
3859
3859
  }
3860
3860
 
3861
- function _define_property$w(obj, key, value) {
3861
+ function _define_property$x(obj, key, value) {
3862
3862
  if (key in obj) {
3863
3863
  Object.defineProperty(obj, key, {
3864
3864
  value: value,
@@ -3871,7 +3871,7 @@ function _define_property$w(obj, key, value) {
3871
3871
  }
3872
3872
  return obj;
3873
3873
  }
3874
- function _object_spread$q(target) {
3874
+ function _object_spread$r(target) {
3875
3875
  for(var i = 1; i < arguments.length; i++){
3876
3876
  var source = arguments[i] != null ? arguments[i] : {};
3877
3877
  var ownKeys = Object.keys(source);
@@ -3881,7 +3881,7 @@ function _object_spread$q(target) {
3881
3881
  }));
3882
3882
  }
3883
3883
  ownKeys.forEach(function(key) {
3884
- _define_property$w(target, key, source[key]);
3884
+ _define_property$x(target, key, source[key]);
3885
3885
  });
3886
3886
  }
3887
3887
  return target;
@@ -3985,7 +3985,7 @@ function _object_spread_props$m(target, source) {
3985
3985
  }
3986
3986
  // If specific fields are specified for merging, only include those fields
3987
3987
  if (mergeFields) {
3988
- toOptions = _object_spread_props$m(_object_spread$q({}, toOptions), {
3988
+ toOptions = _object_spread_props$m(_object_spread$r({}, toOptions), {
3989
3989
  fields: asTopLevelFieldPaths(mergeFields)
3990
3990
  });
3991
3991
  }
@@ -4032,7 +4032,7 @@ function _object_spread_props$m(target, source) {
4032
4032
  * Using null is consistent with Firestore's approach to empty/unset values.
4033
4033
  */ var FIRESTORE_EMPTY_VALUE = null;
4034
4034
 
4035
- function _define_property$v(obj, key, value) {
4035
+ function _define_property$w(obj, key, value) {
4036
4036
  if (key in obj) {
4037
4037
  Object.defineProperty(obj, key, {
4038
4038
  value: value,
@@ -4045,7 +4045,7 @@ function _define_property$v(obj, key, value) {
4045
4045
  }
4046
4046
  return obj;
4047
4047
  }
4048
- function _object_spread$p(target) {
4048
+ function _object_spread$q(target) {
4049
4049
  for(var i = 1; i < arguments.length; i++){
4050
4050
  var source = arguments[i] != null ? arguments[i] : {};
4051
4051
  var ownKeys = Object.keys(source);
@@ -4055,7 +4055,7 @@ function _object_spread$p(target) {
4055
4055
  }));
4056
4056
  }
4057
4057
  ownKeys.forEach(function(key) {
4058
- _define_property$v(target, key, source[key]);
4058
+ _define_property$w(target, key, source[key]);
4059
4059
  });
4060
4060
  }
4061
4061
  return target;
@@ -4273,7 +4273,7 @@ function optionalFirestoreField(config) {
4273
4273
  */ function firestoreString(config) {
4274
4274
  var transform = transformStringFunctionConfig(config === null || config === void 0 ? void 0 : config.transform);
4275
4275
  var transformData = transform ? transformStringFunction(transform) : passThrough;
4276
- return firestoreField(_object_spread_props$l(_object_spread$p({
4276
+ return firestoreField(_object_spread_props$l(_object_spread$q({
4277
4277
  default: DEFAULT_FIRESTORE_STRING_FIELD_VALUE
4278
4278
  }, config), {
4279
4279
  fromData: transformData,
@@ -4304,7 +4304,7 @@ function optionalFirestoreField(config) {
4304
4304
  */ function optionalFirestoreString(config) {
4305
4305
  var transform = transformStringFunctionConfig(config === null || config === void 0 ? void 0 : config.transform);
4306
4306
  var transformData = transform ? transformStringFunction(transform) : passThrough;
4307
- return optionalFirestoreField(_object_spread_props$l(_object_spread$p({}, config), {
4307
+ return optionalFirestoreField(_object_spread_props$l(_object_spread$q({}, config), {
4308
4308
  transformData: transformData
4309
4309
  }));
4310
4310
  }
@@ -4329,7 +4329,7 @@ function optionalFirestoreField(config) {
4329
4329
  *
4330
4330
  * @__NO_SIDE_EFFECTS__
4331
4331
  */ function firestoreEnum(config) {
4332
- return firestoreField(_object_spread_props$l(_object_spread$p({}, config), {
4332
+ return firestoreField(_object_spread_props$l(_object_spread$q({}, config), {
4333
4333
  fromData: passThrough,
4334
4334
  toData: passThrough
4335
4335
  }));
@@ -4483,7 +4483,7 @@ function optionalFirestoreField(config) {
4483
4483
  return isSameDate(x, comparisonDate);
4484
4484
  };
4485
4485
  }
4486
- return optionalFirestoreField(_object_spread_props$l(_object_spread$p({}, config), {
4486
+ return optionalFirestoreField(_object_spread_props$l(_object_spread$q({}, config), {
4487
4487
  dontStoreValueIf: dontStoreValueIf,
4488
4488
  transformFromData: toJsDate,
4489
4489
  transformToData: toISODateString
@@ -4538,7 +4538,7 @@ function optionalFirestoreField(config) {
4538
4538
  return isSameDate(x, comparisonDate);
4539
4539
  };
4540
4540
  }
4541
- return optionalFirestoreField(_object_spread_props$l(_object_spread$p({}, config), {
4541
+ return optionalFirestoreField(_object_spread_props$l(_object_spread$q({}, config), {
4542
4542
  dontStoreValueIf: dontStoreValueIf,
4543
4543
  transformFromData: toDate,
4544
4544
  transformToData: fromDate
@@ -4552,7 +4552,7 @@ function optionalFirestoreField(config) {
4552
4552
  *
4553
4553
  * @__NO_SIDE_EFFECTS__
4554
4554
  */ function firestoreUnixDateTimeSecondsNumber(config) {
4555
- return firestoreDateNumber(_object_spread_props$l(_object_spread$p({}, config), {
4555
+ return firestoreDateNumber(_object_spread_props$l(_object_spread$q({}, config), {
4556
4556
  fromDate: unixDateTimeSecondsNumberFromDate,
4557
4557
  toDate: dateFromDateOrTimeSecondsNumber
4558
4558
  }));
@@ -4565,7 +4565,7 @@ function optionalFirestoreField(config) {
4565
4565
  *
4566
4566
  * @__NO_SIDE_EFFECTS__
4567
4567
  */ function optionalFirestoreUnixDateTimeSecondsNumber(config) {
4568
- return optionalFirestoreDateNumber(_object_spread_props$l(_object_spread$p({}, config), {
4568
+ return optionalFirestoreDateNumber(_object_spread_props$l(_object_spread$q({}, config), {
4569
4569
  fromDate: unixDateTimeSecondsNumberFromDate,
4570
4570
  toDate: dateFromDateOrTimeSecondsNumber
4571
4571
  }));
@@ -4645,7 +4645,7 @@ function optionalFirestoreField(config) {
4645
4645
  transform: config === null || config === void 0 ? void 0 : config.transform
4646
4646
  } : config === null || config === void 0 ? void 0 : config.transform : undefined;
4647
4647
  var transformData = transform ? transformNumberFunction(transform) : passThrough;
4648
- return firestoreField(_object_spread_props$l(_object_spread$p({}, config), {
4648
+ return firestoreField(_object_spread_props$l(_object_spread$q({}, config), {
4649
4649
  defaultBeforeSave: ((_config_defaultBeforeSave = config.defaultBeforeSave) !== null && _config_defaultBeforeSave !== void 0 ? _config_defaultBeforeSave : config.saveDefault) ? config.default : undefined,
4650
4650
  fromData: transformData,
4651
4651
  toData: transformData
@@ -4670,7 +4670,7 @@ function optionalFirestoreField(config) {
4670
4670
  transform: config === null || config === void 0 ? void 0 : config.transform
4671
4671
  } : config === null || config === void 0 ? void 0 : config.transform : undefined;
4672
4672
  var transformData = transform ? transformNumberFunction(transform) : passThrough;
4673
- return optionalFirestoreField(_object_spread_props$l(_object_spread$p({}, config), {
4673
+ return optionalFirestoreField(_object_spread_props$l(_object_spread$q({}, config), {
4674
4674
  transformData: transformData
4675
4675
  }));
4676
4676
  }
@@ -4765,7 +4765,7 @@ function optionalFirestoreField(config) {
4765
4765
  inputTransformData,
4766
4766
  sortArrayFn
4767
4767
  ]);
4768
- return optionalFirestoreField(_object_spread_props$l(_object_spread$p({}, config), {
4768
+ return optionalFirestoreField(_object_spread_props$l(_object_spread$q({}, config), {
4769
4769
  dontStoreIf: dontStoreIf,
4770
4770
  transformData: transformData
4771
4771
  }));
@@ -4809,7 +4809,7 @@ function optionalFirestoreField(config) {
4809
4809
  *
4810
4810
  * @__NO_SIDE_EFFECTS__
4811
4811
  */ function firestoreUniqueKeyedArray(config) {
4812
- return firestoreUniqueArray(_object_spread_props$l(_object_spread$p({}, config), {
4812
+ return firestoreUniqueArray(_object_spread_props$l(_object_spread$q({}, config), {
4813
4813
  filterUnique: filterUniqueFunction(config.readKey)
4814
4814
  }));
4815
4815
  }
@@ -4827,7 +4827,7 @@ function optionalFirestoreField(config) {
4827
4827
  * @__NO_SIDE_EFFECTS__
4828
4828
  */ function firestoreEnumArray() {
4829
4829
  var config = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4830
- return firestoreUniqueArray(_object_spread_props$l(_object_spread$p({}, config), {
4830
+ return firestoreUniqueArray(_object_spread_props$l(_object_spread$q({}, config), {
4831
4831
  filterUnique: unique
4832
4832
  }));
4833
4833
  }
@@ -4842,7 +4842,7 @@ function optionalFirestoreField(config) {
4842
4842
  * @__NO_SIDE_EFFECTS__
4843
4843
  */ function firestoreUniqueStringArray(config) {
4844
4844
  var filterUnique = config == null ? unique : filterUniqueTransform(config);
4845
- return firestoreUniqueArray(_object_spread_props$l(_object_spread$p({}, config), {
4845
+ return firestoreUniqueArray(_object_spread_props$l(_object_spread$q({}, config), {
4846
4846
  filterUnique: filterUnique
4847
4847
  }));
4848
4848
  }
@@ -4878,7 +4878,7 @@ function optionalFirestoreField(config) {
4878
4878
  * @__NO_SIDE_EFFECTS__
4879
4879
  */ // eslint-disable-next-line sonarjs/no-identical-functions -- exposes a distinct typed alias for number arrays
4880
4880
  function firestoreUniqueNumberArray(config) {
4881
- return firestoreUniqueArray(_object_spread_props$l(_object_spread$p({}, config), {
4881
+ return firestoreUniqueArray(_object_spread_props$l(_object_spread$q({}, config), {
4882
4882
  filterUnique: unique
4883
4883
  }));
4884
4884
  }
@@ -5075,7 +5075,7 @@ function firestoreUniqueNumberArray(config) {
5075
5075
  * @__NO_SIDE_EFFECTS__
5076
5076
  */ function firestoreDencoderMap(config) {
5077
5077
  var dencoder = config.dencoder;
5078
- return firestoreEncodedObjectMap(_object_spread_props$l(_object_spread$p({}, config), {
5078
+ return firestoreEncodedObjectMap(_object_spread_props$l(_object_spread$q({}, config), {
5079
5079
  encoder: dencoder,
5080
5080
  decoder: dencoder
5081
5081
  }));
@@ -5111,7 +5111,7 @@ function firestoreUniqueNumberArray(config) {
5111
5111
  * @__NO_SIDE_EFFECTS__
5112
5112
  */ function firestoreArrayMap() {
5113
5113
  var config = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
5114
- return firestoreMap(_object_spread$p({
5114
+ return firestoreMap(_object_spread$q({
5115
5115
  mapFilter: KeyValueTypleValueFilter.EMPTY,
5116
5116
  mapFieldValues: filterMaybeArrayValues
5117
5117
  }, config));
@@ -5245,9 +5245,11 @@ function firestoreUniqueNumberArray(config) {
5245
5245
  * // Nested address object with its own converters
5246
5246
  * const addressField = firestoreSubObject<Address>({
5247
5247
  * objectField: {
5248
- * street: firestoreString(),
5249
- * city: firestoreString(),
5250
- * zip: firestoreString()
5248
+ * fields: {
5249
+ * street: firestoreString(),
5250
+ * city: firestoreString(),
5251
+ * zip: firestoreString()
5252
+ * }
5251
5253
  * }
5252
5254
  * });
5253
5255
  * ```
@@ -5275,6 +5277,64 @@ function firestoreUniqueNumberArray(config) {
5275
5277
  }
5276
5278
  });
5277
5279
  }
5280
+ /**
5281
+ * Creates a field mapping configuration for a Firestore map whose values are complex objects.
5282
+ *
5283
+ * This is the map-keyed counterpart to {@link firestoreObjectArray}: each value in the map is
5284
+ * converted using its own set of field converters (via `objectField` or `firestoreField`), so
5285
+ * nested `Date`/enum/array fields round-trip properly.
5286
+ *
5287
+ * On write, null/undefined values are filtered from each object to match Firestore semantics, and
5288
+ * empty values (including objects with no keys) are removed from the map entirely.
5289
+ *
5290
+ * NOTE: this exists instead of passing a sub-object's `mapFunctions.to`/`.from` directly to
5291
+ * {@link firestoreEncodedObjectMap}. That encoder is invoked as `mapFn(value, key)` by
5292
+ * `mapObjectMap()`, while a `ModelMapFunctions`' second parameter is the accumulator *target* — so
5293
+ * the map key string would be used as the write target and the conversion would throw at runtime.
5294
+ * The arity is wrapped here, once, rather than at each call site.
5295
+ *
5296
+ * @param config - Configuration including the per-value conversions and optional map filtering.
5297
+ * @returns A field mapping configuration for object map values.
5298
+ *
5299
+ * @dbxModelSnapshotField
5300
+ * @dbxModelSnapshotFieldCategory map
5301
+ * @dbxModelSnapshotFieldTags map, record, dictionary, object, nested, embedded, structured, factory
5302
+ * @dbxModelSnapshotFieldRelated firestore-sub-object, firestore-object-array
5303
+ * @template T - The value model type
5304
+ * @template O - The value Firestore data type (defaults to FirestoreModelData<T>)
5305
+ * @template S - Key type (string, defaults to string)
5306
+ *
5307
+ * @example
5308
+ * ```ts
5309
+ * // Map of provider id -> connection entry
5310
+ * const entriesField = firestoreObjectMap<UserExternalConnectionEntry, FirestoreModelData<UserExternalConnectionEntry>, UserExternalConnectionProviderType>({
5311
+ * objectField: { fields: userExternalConnectionEntryFields }
5312
+ * });
5313
+ * ```
5314
+ *
5315
+ * @__NO_SIDE_EFFECTS__
5316
+ */ function firestoreObjectMap(config) {
5317
+ var _config_objectField, _config_default;
5318
+ var _config_mapFilter = config.mapFilter, mapFilter = _config_mapFilter === void 0 ? KeyValueTypleValueFilter.EMPTY_STRICT : _config_mapFilter;
5319
+ var objectField = (_config_objectField = config.objectField) !== null && _config_objectField !== void 0 ? _config_objectField : firestoreFieldConfigToModelMapFunctionsRef(config.firestoreField);
5320
+ var _toModelMapFunctions = toModelMapFunctions(objectField), from = _toModelMapFunctions.from, to = _toModelMapFunctions.to;
5321
+ // wrap to arity-1 map functions. See the note above.
5322
+ var decoder = function decoder(x) {
5323
+ return from(x);
5324
+ };
5325
+ var encoder = function encoder(x) {
5326
+ return filterNullAndUndefinedValues(to(x));
5327
+ };
5328
+ return firestoreEncodedObjectMap({
5329
+ default: (_config_default = config.default) !== null && _config_default !== void 0 ? _config_default : function() {
5330
+ return {};
5331
+ },
5332
+ defaultBeforeSave: config.defaultBeforeSave,
5333
+ mapFilter: mapFilter,
5334
+ encoder: encoder,
5335
+ decoder: decoder
5336
+ });
5337
+ }
5278
5338
  /**
5279
5339
  * Creates a field mapping configuration for Firestore latitude/longitude string fields.
5280
5340
  *
@@ -5583,7 +5643,7 @@ var MAX_FIRESTORE_MAP_ZOOM_LEVEL_VALUE = 22;
5583
5643
  * @__NO_SIDE_EFFECTS__
5584
5644
  */ function firestoreBitwiseSet(config) {
5585
5645
  var dencoder = bitwiseSetDencoder(config.maxIndex);
5586
- return firestoreField(_object_spread_props$l(_object_spread$p({
5646
+ return firestoreField(_object_spread_props$l(_object_spread$q({
5587
5647
  default: function _default() {
5588
5648
  return new Set();
5589
5649
  }
@@ -5604,7 +5664,7 @@ var MAX_FIRESTORE_MAP_ZOOM_LEVEL_VALUE = 22;
5604
5664
  * @__NO_SIDE_EFFECTS__
5605
5665
  */ function firestoreBitwiseSetMap(config) {
5606
5666
  var dencoder = bitwiseSetDencoder(config.maxIndex);
5607
- return firestoreEncodedObjectMap(_object_spread_props$l(_object_spread$p({
5667
+ return firestoreEncodedObjectMap(_object_spread_props$l(_object_spread$q({
5608
5668
  mapFilter: KeyValueTypleValueFilter.FALSY
5609
5669
  }, config), {
5610
5670
  encoder: dencoder,
@@ -5623,7 +5683,7 @@ var MAX_FIRESTORE_MAP_ZOOM_LEVEL_VALUE = 22;
5623
5683
  * @__NO_SIDE_EFFECTS__
5624
5684
  */ function firestoreBitwiseObjectMap(config) {
5625
5685
  var dencoder = config.dencoder;
5626
- return firestoreEncodedObjectMap(_object_spread_props$l(_object_spread$p({
5686
+ return firestoreEncodedObjectMap(_object_spread_props$l(_object_spread$q({
5627
5687
  mapFilter: KeyValueTypleValueFilter.FALSY
5628
5688
  }, config), {
5629
5689
  encoder: dencoder,
@@ -6289,7 +6349,7 @@ function _array_like_to_array$g(arr, len) {
6289
6349
  function _array_without_holes$b(arr) {
6290
6350
  if (Array.isArray(arr)) return _array_like_to_array$g(arr);
6291
6351
  }
6292
- function _define_property$u(obj, key, value) {
6352
+ function _define_property$v(obj, key, value) {
6293
6353
  if (key in obj) {
6294
6354
  Object.defineProperty(obj, key, {
6295
6355
  value: value,
@@ -6308,7 +6368,7 @@ function _iterable_to_array$b(iter) {
6308
6368
  function _non_iterable_spread$b() {
6309
6369
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
6310
6370
  }
6311
- function _object_spread$o(target) {
6371
+ function _object_spread$p(target) {
6312
6372
  for(var i = 1; i < arguments.length; i++){
6313
6373
  var source = arguments[i] != null ? arguments[i] : {};
6314
6374
  var ownKeys = Object.keys(source);
@@ -6318,7 +6378,7 @@ function _object_spread$o(target) {
6318
6378
  }));
6319
6379
  }
6320
6380
  ownKeys.forEach(function(key) {
6321
- _define_property$u(target, key, source[key]);
6381
+ _define_property$v(target, key, source[key]);
6322
6382
  });
6323
6383
  }
6324
6384
  return target;
@@ -6551,7 +6611,7 @@ function _firestoreItemPageIterationWithSnapshotIteration(snapshotIteration) {
6551
6611
  return x.docs;
6552
6612
  }
6553
6613
  });
6554
- var result = _object_spread_props$k(_object_spread$o({}, mappedIteration), {
6614
+ var result = _object_spread_props$k(_object_spread$p({}, mappedIteration), {
6555
6615
  snapshotIteration: snapshotIteration
6556
6616
  });
6557
6617
  return result;
@@ -7053,7 +7113,7 @@ function _async_to_generator$g(fn) {
7053
7113
  });
7054
7114
  };
7055
7115
  }
7056
- function _define_property$t(obj, key, value) {
7116
+ function _define_property$u(obj, key, value) {
7057
7117
  if (key in obj) {
7058
7118
  Object.defineProperty(obj, key, {
7059
7119
  value: value,
@@ -7093,7 +7153,7 @@ function _iterable_to_array_limit$4(arr, i) {
7093
7153
  function _non_iterable_rest$4() {
7094
7154
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
7095
7155
  }
7096
- function _object_spread$n(target) {
7156
+ function _object_spread$o(target) {
7097
7157
  for(var i = 1; i < arguments.length; i++){
7098
7158
  var source = arguments[i] != null ? arguments[i] : {};
7099
7159
  var ownKeys = Object.keys(source);
@@ -7103,7 +7163,7 @@ function _object_spread$n(target) {
7103
7163
  }));
7104
7164
  }
7105
7165
  ownKeys.forEach(function(key) {
7106
- _define_property$t(target, key, source[key]);
7166
+ _define_property$u(target, key, source[key]);
7107
7167
  });
7108
7168
  }
7109
7169
  return target;
@@ -7270,7 +7330,7 @@ function _ts_generator$g(thisArg, body) {
7270
7330
  loadPairForSnapshot = firestoreDocumentSnapshotPairsLoaderInstance(documentAccessor);
7271
7331
  return [
7272
7332
  2,
7273
- iterateFirestoreDocumentSnapshots(_object_spread_props$j(_object_spread$n({}, config), {
7333
+ iterateFirestoreDocumentSnapshots(_object_spread_props$j(_object_spread$o({}, config), {
7274
7334
  iterateSnapshot: function iterateSnapshot(snapshot) {
7275
7335
  return _async_to_generator$g(function() {
7276
7336
  var pair;
@@ -7322,16 +7382,16 @@ function _ts_generator$g(thisArg, body) {
7322
7382
  iterateSnapshot = config.iterateSnapshot, performTasksConfig = config.performTasksConfig, snapshotsPerformTasksConfig = config.snapshotsPerformTasksConfig;
7323
7383
  return [
7324
7384
  2,
7325
- iterateFirestoreDocumentSnapshotBatches(_object_spread_props$j(_object_spread$n({}, config), {
7385
+ iterateFirestoreDocumentSnapshotBatches(_object_spread_props$j(_object_spread$o({}, config), {
7326
7386
  maxParallelCheckpoints: 1,
7327
7387
  iterateSnapshotBatch: function iterateSnapshotBatch(docSnapshots) {
7328
7388
  return _async_to_generator$g(function() {
7329
7389
  return _ts_generator$g(this, function(_state) {
7330
7390
  return [
7331
7391
  2,
7332
- performAsyncTasks(docSnapshots, iterateSnapshot, _object_spread$n({
7392
+ performAsyncTasks(docSnapshots, iterateSnapshot, _object_spread$o({
7333
7393
  sequential: true
7334
- }, snapshotsPerformTasksConfig !== null && snapshotsPerformTasksConfig !== void 0 ? snapshotsPerformTasksConfig : _object_spread_props$j(_object_spread$n({}, performTasksConfig), {
7394
+ }, snapshotsPerformTasksConfig !== null && snapshotsPerformTasksConfig !== void 0 ? snapshotsPerformTasksConfig : _object_spread_props$j(_object_spread$o({}, performTasksConfig), {
7335
7395
  nonConcurrentTaskKeyFactory: undefined,
7336
7396
  beforeRetry: undefined
7337
7397
  }) // don't pass the nonConcurrentTaskKeyFactory
@@ -7380,7 +7440,7 @@ function _ts_generator$g(thisArg, body) {
7380
7440
  loadPairForSnapshot = firestoreDocumentSnapshotPairsLoaderInstance(documentAccessor);
7381
7441
  return [
7382
7442
  2,
7383
- iterateFirestoreDocumentSnapshotBatches(_object_spread_props$j(_object_spread$n({}, config), {
7443
+ iterateFirestoreDocumentSnapshotBatches(_object_spread_props$j(_object_spread$o({}, config), {
7384
7444
  maxParallelCheckpoints: 1,
7385
7445
  iterateSnapshotBatch: function iterateSnapshotBatch(snapshots, batchIndex) {
7386
7446
  return _async_to_generator$g(function() {
@@ -7442,7 +7502,7 @@ function _ts_generator$g(thisArg, body) {
7442
7502
  };
7443
7503
  return [
7444
7504
  2,
7445
- iterateFirestoreDocumentSnapshotCheckpoints(_object_spread_props$j(_object_spread$n({}, config), {
7505
+ iterateFirestoreDocumentSnapshotCheckpoints(_object_spread_props$j(_object_spread$o({}, config), {
7446
7506
  iterateCheckpoint: function iterateCheckpoint(docSnapshots) {
7447
7507
  return _async_to_generator$g(function() {
7448
7508
  var result, batchSizeForSnapshotsResult, batches, i, performTasksResult;
@@ -7463,7 +7523,7 @@ function _ts_generator$g(thisArg, body) {
7463
7523
  4,
7464
7524
  performAsyncTasks(batches, function(x) {
7465
7525
  return iterateSnapshotBatch(x, i++);
7466
- }, _object_spread$n({
7526
+ }, _object_spread$o({
7467
7527
  sequential: true
7468
7528
  }, performTasksConfig))
7469
7529
  ];
@@ -8497,7 +8557,7 @@ function _array_like_to_array$c(arr, len) {
8497
8557
  function _array_without_holes$8(arr) {
8498
8558
  if (Array.isArray(arr)) return _array_like_to_array$c(arr);
8499
8559
  }
8500
- function _define_property$s(obj, key, value) {
8560
+ function _define_property$t(obj, key, value) {
8501
8561
  if (key in obj) {
8502
8562
  Object.defineProperty(obj, key, {
8503
8563
  value: value,
@@ -8516,7 +8576,7 @@ function _iterable_to_array$8(iter) {
8516
8576
  function _non_iterable_spread$8() {
8517
8577
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
8518
8578
  }
8519
- function _object_spread$m(target) {
8579
+ function _object_spread$n(target) {
8520
8580
  for(var i = 1; i < arguments.length; i++){
8521
8581
  var source = arguments[i] != null ? arguments[i] : {};
8522
8582
  var ownKeys = Object.keys(source);
@@ -8526,7 +8586,7 @@ function _object_spread$m(target) {
8526
8586
  }));
8527
8587
  }
8528
8588
  ownKeys.forEach(function(key) {
8529
- _define_property$s(target, key, source[key]);
8589
+ _define_property$t(target, key, source[key]);
8530
8590
  });
8531
8591
  }
8532
8592
  return target;
@@ -8553,7 +8613,7 @@ function _object_spread_props$i(target, source) {
8553
8613
  function _to_consumable_array$8(arr) {
8554
8614
  return _array_without_holes$8(arr) || _iterable_to_array$8(arr) || _unsupported_iterable_to_array$c(arr) || _non_iterable_spread$8();
8555
8615
  }
8556
- function _type_of$9(obj) {
8616
+ function _type_of$a(obj) {
8557
8617
  "@swc/helpers - typeof";
8558
8618
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
8559
8619
  }
@@ -8572,7 +8632,7 @@ function _unsupported_iterable_to_array$c(o, minLen) {
8572
8632
  // @__NO_SIDE_EFFECTS__
8573
8633
  function firestoreModelIdentity(parentOrModelName, collectionNameOrModelName, inputCollectionName) {
8574
8634
  var result;
8575
- if ((typeof parentOrModelName === "undefined" ? "undefined" : _type_of$9(parentOrModelName)) === 'object') {
8635
+ if ((typeof parentOrModelName === "undefined" ? "undefined" : _type_of$a(parentOrModelName)) === 'object') {
8576
8636
  var collectionName = inputCollectionName !== null && inputCollectionName !== void 0 ? inputCollectionName : collectionNameOrModelName.toLowerCase();
8577
8637
  var collectionType = "".concat(parentOrModelName.collectionType, "/").concat(collectionName);
8578
8638
  result = {
@@ -8634,7 +8694,7 @@ function firestoreModelIdentity(parentOrModelName, collectionNameOrModelName, in
8634
8694
  */ function firestoreModelId(input) {
8635
8695
  var key = '';
8636
8696
  var id;
8637
- if ((typeof input === "undefined" ? "undefined" : _type_of$9(input)) === 'object') {
8697
+ if ((typeof input === "undefined" ? "undefined" : _type_of$a(input)) === 'object') {
8638
8698
  if (input.id) {
8639
8699
  id = input.id;
8640
8700
  } else if (input.key) {
@@ -9025,7 +9085,7 @@ function firestoreModelIdentity(parentOrModelName, collectionNameOrModelName, in
9025
9085
  function readFirestoreModelKey(input) {
9026
9086
  var required = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;
9027
9087
  var key;
9028
- if ((typeof input === "undefined" ? "undefined" : _type_of$9(input)) === 'object') {
9088
+ if ((typeof input === "undefined" ? "undefined" : _type_of$a(input)) === 'object') {
9029
9089
  if (input.key) {
9030
9090
  key = input.key;
9031
9091
  } else if (input.documentRef != null) {
@@ -9091,7 +9151,7 @@ var FIRESTORE_DUMMY_MODEL_KEY = 'dummymodel/dummykey';
9091
9151
  var queryFactory = firestoreQueryFactory(config);
9092
9152
  var queryDocument = firestoreCollectionQueryFactory(queryFactory, documentAccessorExtension).queryDocument;
9093
9153
  var query = queryFactory.query;
9094
- return _object_spread_props$i(_object_spread$m({
9154
+ return _object_spread_props$i(_object_spread$n({
9095
9155
  config: config,
9096
9156
  cache: cache,
9097
9157
  modelIdentity: modelIdentity,
@@ -9130,7 +9190,7 @@ var FIRESTORE_DUMMY_MODEL_KEY = 'dummymodel/dummykey';
9130
9190
  });
9131
9191
  }
9132
9192
 
9133
- function _define_property$r(obj, key, value) {
9193
+ function _define_property$s(obj, key, value) {
9134
9194
  if (key in obj) {
9135
9195
  Object.defineProperty(obj, key, {
9136
9196
  value: value,
@@ -9143,7 +9203,7 @@ function _define_property$r(obj, key, value) {
9143
9203
  }
9144
9204
  return obj;
9145
9205
  }
9146
- function _object_spread$l(target) {
9206
+ function _object_spread$m(target) {
9147
9207
  for(var i = 1; i < arguments.length; i++){
9148
9208
  var source = arguments[i] != null ? arguments[i] : {};
9149
9209
  var ownKeys = Object.keys(source);
@@ -9153,7 +9213,7 @@ function _object_spread$l(target) {
9153
9213
  }));
9154
9214
  }
9155
9215
  ownKeys.forEach(function(key) {
9156
- _define_property$r(target, key, source[key]);
9216
+ _define_property$s(target, key, source[key]);
9157
9217
  });
9158
9218
  }
9159
9219
  return target;
@@ -9218,7 +9278,7 @@ function _object_spread_props$h(target, source) {
9218
9278
  var queryDocument = firestoreCollectionQueryFactory(queryFactory, documentAccessorExtension).queryDocument;
9219
9279
  var query = queryFactory.query;
9220
9280
  // Return the fully constructed collection group
9221
- return _object_spread_props$h(_object_spread$l({
9281
+ return _object_spread_props$h(_object_spread$m({
9222
9282
  config: config,
9223
9283
  cache: cache,
9224
9284
  queryLike: queryLike,
@@ -9304,7 +9364,7 @@ function _object_spread_props$h(target, source) {
9304
9364
  });
9305
9365
  }
9306
9366
 
9307
- function _define_property$q(obj, key, value) {
9367
+ function _define_property$r(obj, key, value) {
9308
9368
  if (key in obj) {
9309
9369
  Object.defineProperty(obj, key, {
9310
9370
  value: value,
@@ -9317,7 +9377,7 @@ function _define_property$q(obj, key, value) {
9317
9377
  }
9318
9378
  return obj;
9319
9379
  }
9320
- function _object_spread$k(target) {
9380
+ function _object_spread$l(target) {
9321
9381
  for(var i = 1; i < arguments.length; i++){
9322
9382
  var source = arguments[i] != null ? arguments[i] : {};
9323
9383
  var ownKeys = Object.keys(source);
@@ -9327,7 +9387,7 @@ function _object_spread$k(target) {
9327
9387
  }));
9328
9388
  }
9329
9389
  ownKeys.forEach(function(key) {
9330
- _define_property$q(target, key, source[key]);
9390
+ _define_property$r(target, key, source[key]);
9331
9391
  });
9332
9392
  }
9333
9393
  return target;
@@ -9410,7 +9470,7 @@ function _object_spread_props$g(target, source) {
9410
9470
  */ function makePagedItemFirestoreCollection(config) {
9411
9471
  var _config_converter;
9412
9472
  var resolvedConverter = (_config_converter = config.converter) !== null && _config_converter !== void 0 ? _config_converter : defaultPagedItemPageDataConverter();
9413
- var baseConfig = _object_spread_props$g(_object_spread$k({}, config), {
9473
+ var baseConfig = _object_spread_props$g(_object_spread$l({}, config), {
9414
9474
  converter: resolvedConverter
9415
9475
  });
9416
9476
  return build({
@@ -9434,7 +9494,7 @@ function _array_like_to_array$b(arr, len) {
9434
9494
  function _array_without_holes$7(arr) {
9435
9495
  if (Array.isArray(arr)) return _array_like_to_array$b(arr);
9436
9496
  }
9437
- function _define_property$p(obj, key, value) {
9497
+ function _define_property$q(obj, key, value) {
9438
9498
  if (key in obj) {
9439
9499
  Object.defineProperty(obj, key, {
9440
9500
  value: value,
@@ -9453,7 +9513,7 @@ function _iterable_to_array$7(iter) {
9453
9513
  function _non_iterable_spread$7() {
9454
9514
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
9455
9515
  }
9456
- function _object_spread$j(target) {
9516
+ function _object_spread$k(target) {
9457
9517
  for(var i = 1; i < arguments.length; i++){
9458
9518
  var source = arguments[i] != null ? arguments[i] : {};
9459
9519
  var ownKeys = Object.keys(source);
@@ -9463,7 +9523,7 @@ function _object_spread$j(target) {
9463
9523
  }));
9464
9524
  }
9465
9525
  ownKeys.forEach(function(key) {
9466
- _define_property$p(target, key, source[key]);
9526
+ _define_property$q(target, key, source[key]);
9467
9527
  });
9468
9528
  }
9469
9529
  return target;
@@ -9520,7 +9580,7 @@ function _unsupported_iterable_to_array$b(o, minLen) {
9520
9580
  var makeFirestoreCollectionConfig = function makeFirestoreCollectionConfig(config) {
9521
9581
  var collection = config.collection;
9522
9582
  var queryLike = collection !== null && collection !== void 0 ? collection : config.queryLike;
9523
- return _object_spread_props$f(_object_spread$j({}, config), {
9583
+ return _object_spread_props$f(_object_spread$k({}, config), {
9524
9584
  collection: config.converter ? collection === null || collection === void 0 ? void 0 : collection.withConverter(config.converter) : collection,
9525
9585
  queryLike: config.converter ? queryLike.withConverter(config.converter) : queryLike,
9526
9586
  firestoreContext: context,
@@ -9872,7 +9932,7 @@ function _array_like_to_array$a(arr, len) {
9872
9932
  function _array_without_holes$6(arr) {
9873
9933
  if (Array.isArray(arr)) return _array_like_to_array$a(arr);
9874
9934
  }
9875
- function _define_property$o(obj, key, value) {
9935
+ function _define_property$p(obj, key, value) {
9876
9936
  if (key in obj) {
9877
9937
  Object.defineProperty(obj, key, {
9878
9938
  value: value,
@@ -9891,7 +9951,7 @@ function _iterable_to_array$6(iter) {
9891
9951
  function _non_iterable_spread$6() {
9892
9952
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
9893
9953
  }
9894
- function _object_spread$i(target) {
9954
+ function _object_spread$j(target) {
9895
9955
  for(var i = 1; i < arguments.length; i++){
9896
9956
  var source = arguments[i] != null ? arguments[i] : {};
9897
9957
  var ownKeys = Object.keys(source);
@@ -9901,7 +9961,7 @@ function _object_spread$i(target) {
9901
9961
  }));
9902
9962
  }
9903
9963
  ownKeys.forEach(function(key) {
9904
- _define_property$o(target, key, source[key]);
9964
+ _define_property$p(target, key, source[key]);
9905
9965
  });
9906
9966
  }
9907
9967
  return target;
@@ -9953,16 +10013,16 @@ function _unsupported_iterable_to_array$a(o, minLen) {
9953
10013
  }
9954
10014
  return result;
9955
10015
  }
9956
- var updateData = _object_spread$i({}, createUpdatesWithArrayFunction(union, arrayUnion), createUpdatesWithArrayFunction(remove, arrayRemove));
10016
+ var updateData = _object_spread$j({}, createUpdatesWithArrayFunction(union, arrayUnion), createUpdatesWithArrayFunction(remove, arrayRemove));
9957
10017
  return updateData;
9958
10018
  }
9959
10019
 
9960
- function _class_call_check$g(instance, Constructor) {
10020
+ function _class_call_check$i(instance, Constructor) {
9961
10021
  if (!(instance instanceof Constructor)) {
9962
10022
  throw new TypeError("Cannot call a class as a function");
9963
10023
  }
9964
10024
  }
9965
- function _defineProperties$9(target, props) {
10025
+ function _defineProperties$a(target, props) {
9966
10026
  for(var i = 0; i < props.length; i++){
9967
10027
  var descriptor = props[i];
9968
10028
  descriptor.enumerable = descriptor.enumerable || false;
@@ -9971,11 +10031,11 @@ function _defineProperties$9(target, props) {
9971
10031
  Object.defineProperty(target, descriptor.key, descriptor);
9972
10032
  }
9973
10033
  }
9974
- function _create_class$9(Constructor, protoProps, staticProps) {
9975
- if (protoProps) _defineProperties$9(Constructor.prototype, protoProps);
10034
+ function _create_class$a(Constructor, protoProps, staticProps) {
10035
+ if (protoProps) _defineProperties$a(Constructor.prototype, protoProps);
9976
10036
  return Constructor;
9977
10037
  }
9978
- function _define_property$n(obj, key, value) {
10038
+ function _define_property$o(obj, key, value) {
9979
10039
  if (key in obj) {
9980
10040
  Object.defineProperty(obj, key, {
9981
10041
  value: value,
@@ -9999,11 +10059,11 @@ function _define_property$n(obj, key, value) {
9999
10059
  * to add batch write semantics.
10000
10060
  */ var DefaultFirestoreDocumentDataAccessor = /*#__PURE__*/ function() {
10001
10061
  function DefaultFirestoreDocumentDataAccessor(documentRef) {
10002
- _class_call_check$g(this, DefaultFirestoreDocumentDataAccessor);
10003
- _define_property$n(this, "_documentRef", void 0);
10062
+ _class_call_check$i(this, DefaultFirestoreDocumentDataAccessor);
10063
+ _define_property$o(this, "_documentRef", void 0);
10004
10064
  this._documentRef = documentRef;
10005
10065
  }
10006
- _create_class$9(DefaultFirestoreDocumentDataAccessor, [
10066
+ _create_class$a(DefaultFirestoreDocumentDataAccessor, [
10007
10067
  {
10008
10068
  key: "documentRef",
10009
10069
  get: function get() {
@@ -10123,22 +10183,22 @@ function _define_property$n(obj, key, value) {
10123
10183
  };
10124
10184
  }
10125
10185
 
10126
- function _assert_this_initialized$7(self) {
10186
+ function _assert_this_initialized$8(self) {
10127
10187
  if (self === void 0) {
10128
10188
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
10129
10189
  }
10130
10190
  return self;
10131
10191
  }
10132
- function _call_super$7(_this, derived, args) {
10133
- derived = _get_prototype_of$7(derived);
10134
- 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));
10192
+ function _call_super$8(_this, derived, args) {
10193
+ derived = _get_prototype_of$8(derived);
10194
+ 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));
10135
10195
  }
10136
- function _class_call_check$f(instance, Constructor) {
10196
+ function _class_call_check$h(instance, Constructor) {
10137
10197
  if (!(instance instanceof Constructor)) {
10138
10198
  throw new TypeError("Cannot call a class as a function");
10139
10199
  }
10140
10200
  }
10141
- function _defineProperties$8(target, props) {
10201
+ function _defineProperties$9(target, props) {
10142
10202
  for(var i = 0; i < props.length; i++){
10143
10203
  var descriptor = props[i];
10144
10204
  descriptor.enumerable = descriptor.enumerable || false;
@@ -10147,11 +10207,11 @@ function _defineProperties$8(target, props) {
10147
10207
  Object.defineProperty(target, descriptor.key, descriptor);
10148
10208
  }
10149
10209
  }
10150
- function _create_class$8(Constructor, protoProps, staticProps) {
10151
- if (protoProps) _defineProperties$8(Constructor.prototype, protoProps);
10210
+ function _create_class$9(Constructor, protoProps, staticProps) {
10211
+ if (protoProps) _defineProperties$9(Constructor.prototype, protoProps);
10152
10212
  return Constructor;
10153
10213
  }
10154
- function _define_property$m(obj, key, value) {
10214
+ function _define_property$n(obj, key, value) {
10155
10215
  if (key in obj) {
10156
10216
  Object.defineProperty(obj, key, {
10157
10217
  value: value,
@@ -10164,13 +10224,13 @@ function _define_property$m(obj, key, value) {
10164
10224
  }
10165
10225
  return obj;
10166
10226
  }
10167
- function _get_prototype_of$7(o) {
10168
- _get_prototype_of$7 = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
10227
+ function _get_prototype_of$8(o) {
10228
+ _get_prototype_of$8 = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
10169
10229
  return o.__proto__ || Object.getPrototypeOf(o);
10170
10230
  };
10171
- return _get_prototype_of$7(o);
10231
+ return _get_prototype_of$8(o);
10172
10232
  }
10173
- function _inherits$7(subClass, superClass) {
10233
+ function _inherits$8(subClass, superClass) {
10174
10234
  if (typeof superClass !== "function" && superClass !== null) {
10175
10235
  throw new TypeError("Super expression must either be null or a function");
10176
10236
  }
@@ -10181,30 +10241,30 @@ function _inherits$7(subClass, superClass) {
10181
10241
  configurable: true
10182
10242
  }
10183
10243
  });
10184
- if (superClass) _set_prototype_of$7(subClass, superClass);
10244
+ if (superClass) _set_prototype_of$8(subClass, superClass);
10185
10245
  }
10186
- function _possible_constructor_return$7(self, call) {
10187
- if (call && (_type_of$8(call) === "object" || typeof call === "function")) {
10246
+ function _possible_constructor_return$8(self, call) {
10247
+ if (call && (_type_of$9(call) === "object" || typeof call === "function")) {
10188
10248
  return call;
10189
10249
  }
10190
- return _assert_this_initialized$7(self);
10250
+ return _assert_this_initialized$8(self);
10191
10251
  }
10192
- function _set_prototype_of$7(o, p) {
10193
- _set_prototype_of$7 = Object.setPrototypeOf || function setPrototypeOf(o, p) {
10252
+ function _set_prototype_of$8(o, p) {
10253
+ _set_prototype_of$8 = Object.setPrototypeOf || function setPrototypeOf(o, p) {
10194
10254
  o.__proto__ = p;
10195
10255
  return o;
10196
10256
  };
10197
- return _set_prototype_of$7(o, p);
10257
+ return _set_prototype_of$8(o, p);
10198
10258
  }
10199
- function _type_of$8(obj) {
10259
+ function _type_of$9(obj) {
10200
10260
  "@swc/helpers - typeof";
10201
10261
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
10202
10262
  }
10203
- function _is_native_reflect_construct$7() {
10263
+ function _is_native_reflect_construct$8() {
10204
10264
  try {
10205
10265
  var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
10206
10266
  } catch (_) {}
10207
- return (_is_native_reflect_construct$7 = function() {
10267
+ return (_is_native_reflect_construct$8 = function() {
10208
10268
  return !!result;
10209
10269
  })();
10210
10270
  }
@@ -10216,17 +10276,17 @@ function _is_native_reflect_construct$7() {
10216
10276
  * add operations to the batch rather than executing immediately. Read operations (`get`, `stream`, `exists`)
10217
10277
  * still execute directly against Firestore. The batch must be committed separately after all operations are queued.
10218
10278
  */ var WriteBatchFirestoreDocumentDataAccessor = /*#__PURE__*/ function(DefaultFirestoreDocumentDataAccessor) {
10219
- _inherits$7(WriteBatchFirestoreDocumentDataAccessor, DefaultFirestoreDocumentDataAccessor);
10279
+ _inherits$8(WriteBatchFirestoreDocumentDataAccessor, DefaultFirestoreDocumentDataAccessor);
10220
10280
  function WriteBatchFirestoreDocumentDataAccessor(batch, documentRef) {
10221
- _class_call_check$f(this, WriteBatchFirestoreDocumentDataAccessor);
10281
+ _class_call_check$h(this, WriteBatchFirestoreDocumentDataAccessor);
10222
10282
  var _this;
10223
- _this = _call_super$7(this, WriteBatchFirestoreDocumentDataAccessor, [
10283
+ _this = _call_super$8(this, WriteBatchFirestoreDocumentDataAccessor, [
10224
10284
  documentRef
10225
- ]), _define_property$m(_this, "_batch", void 0);
10285
+ ]), _define_property$n(_this, "_batch", void 0);
10226
10286
  _this._batch = batch;
10227
10287
  return _this;
10228
10288
  }
10229
- _create_class$8(WriteBatchFirestoreDocumentDataAccessor, [
10289
+ _create_class$9(WriteBatchFirestoreDocumentDataAccessor, [
10230
10290
  {
10231
10291
  key: "batch",
10232
10292
  get: function get() {
@@ -10291,14 +10351,14 @@ function _is_native_reflect_construct$7() {
10291
10351
  * and only applied when the batch is committed.
10292
10352
  */ var WriteBatchFirestoreDocumentContext = /*#__PURE__*/ function() {
10293
10353
  function WriteBatchFirestoreDocumentContext(batch) {
10294
- _class_call_check$f(this, WriteBatchFirestoreDocumentContext);
10295
- _define_property$m(this, "_batch", void 0);
10296
- _define_property$m(this, "contextType", FirestoreDocumentContextType.BATCH);
10297
- _define_property$m(this, "accessorFactory", void 0);
10354
+ _class_call_check$h(this, WriteBatchFirestoreDocumentContext);
10355
+ _define_property$n(this, "_batch", void 0);
10356
+ _define_property$n(this, "contextType", FirestoreDocumentContextType.BATCH);
10357
+ _define_property$n(this, "accessorFactory", void 0);
10298
10358
  this._batch = batch;
10299
10359
  this.accessorFactory = writeBatchAccessorFactory(batch);
10300
10360
  }
10301
- _create_class$8(WriteBatchFirestoreDocumentContext, [
10361
+ _create_class$9(WriteBatchFirestoreDocumentContext, [
10302
10362
  {
10303
10363
  key: "batch",
10304
10364
  get: function get() {
@@ -10323,12 +10383,12 @@ function _is_native_reflect_construct$7() {
10323
10383
  return new WriteBatchFirestoreDocumentContext(batch);
10324
10384
  }
10325
10385
 
10326
- function _class_call_check$e(instance, Constructor) {
10386
+ function _class_call_check$g(instance, Constructor) {
10327
10387
  if (!(instance instanceof Constructor)) {
10328
10388
  throw new TypeError("Cannot call a class as a function");
10329
10389
  }
10330
10390
  }
10331
- function _defineProperties$7(target, props) {
10391
+ function _defineProperties$8(target, props) {
10332
10392
  for(var i = 0; i < props.length; i++){
10333
10393
  var descriptor = props[i];
10334
10394
  descriptor.enumerable = descriptor.enumerable || false;
@@ -10337,11 +10397,11 @@ function _defineProperties$7(target, props) {
10337
10397
  Object.defineProperty(target, descriptor.key, descriptor);
10338
10398
  }
10339
10399
  }
10340
- function _create_class$7(Constructor, protoProps, staticProps) {
10341
- if (protoProps) _defineProperties$7(Constructor.prototype, protoProps);
10400
+ function _create_class$8(Constructor, protoProps, staticProps) {
10401
+ if (protoProps) _defineProperties$8(Constructor.prototype, protoProps);
10342
10402
  return Constructor;
10343
10403
  }
10344
- function _define_property$l(obj, key, value) {
10404
+ function _define_property$m(obj, key, value) {
10345
10405
  if (key in obj) {
10346
10406
  Object.defineProperty(obj, key, {
10347
10407
  value: value,
@@ -10363,13 +10423,13 @@ function _define_property$l(obj, key, value) {
10363
10423
  * from the transactional read rather than a live stream.
10364
10424
  */ var TransactionFirestoreDocumentDataAccessor = /*#__PURE__*/ function() {
10365
10425
  function TransactionFirestoreDocumentDataAccessor(transaction, documentRef) {
10366
- _class_call_check$e(this, TransactionFirestoreDocumentDataAccessor);
10367
- _define_property$l(this, "_transaction", void 0);
10368
- _define_property$l(this, "_documentRef", void 0);
10426
+ _class_call_check$g(this, TransactionFirestoreDocumentDataAccessor);
10427
+ _define_property$m(this, "_transaction", void 0);
10428
+ _define_property$m(this, "_documentRef", void 0);
10369
10429
  this._transaction = transaction;
10370
10430
  this._documentRef = documentRef;
10371
10431
  }
10372
- _create_class$7(TransactionFirestoreDocumentDataAccessor, [
10432
+ _create_class$8(TransactionFirestoreDocumentDataAccessor, [
10373
10433
  {
10374
10434
  key: "transaction",
10375
10435
  get: function get() {
@@ -10485,14 +10545,14 @@ function _define_property$l(obj, key, value) {
10485
10545
  * consistent and all writes are applied atomically when the transaction completes.
10486
10546
  */ var TransactionFirestoreDocumentContext = /*#__PURE__*/ function() {
10487
10547
  function TransactionFirestoreDocumentContext(transaction) {
10488
- _class_call_check$e(this, TransactionFirestoreDocumentContext);
10489
- _define_property$l(this, "_transaction", void 0);
10490
- _define_property$l(this, "contextType", FirestoreDocumentContextType.TRANSACTION);
10491
- _define_property$l(this, "accessorFactory", void 0);
10548
+ _class_call_check$g(this, TransactionFirestoreDocumentContext);
10549
+ _define_property$m(this, "_transaction", void 0);
10550
+ _define_property$m(this, "contextType", FirestoreDocumentContextType.TRANSACTION);
10551
+ _define_property$m(this, "accessorFactory", void 0);
10492
10552
  this._transaction = transaction;
10493
10553
  this.accessorFactory = transactionAccessorFactory(transaction);
10494
10554
  }
10495
- _create_class$7(TransactionFirestoreDocumentContext, [
10555
+ _create_class$8(TransactionFirestoreDocumentContext, [
10496
10556
  {
10497
10557
  key: "transaction",
10498
10558
  get: function get() {
@@ -10701,7 +10761,7 @@ function _array_like_to_array$9(arr, len) {
10701
10761
  function _array_without_holes$5(arr) {
10702
10762
  if (Array.isArray(arr)) return _array_like_to_array$9(arr);
10703
10763
  }
10704
- function _define_property$k(obj, key, value) {
10764
+ function _define_property$l(obj, key, value) {
10705
10765
  if (key in obj) {
10706
10766
  Object.defineProperty(obj, key, {
10707
10767
  value: value,
@@ -10720,7 +10780,7 @@ function _iterable_to_array$5(iter) {
10720
10780
  function _non_iterable_spread$5() {
10721
10781
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
10722
10782
  }
10723
- function _object_spread$h(target) {
10783
+ function _object_spread$i(target) {
10724
10784
  for(var i = 1; i < arguments.length; i++){
10725
10785
  var source = arguments[i] != null ? arguments[i] : {};
10726
10786
  var ownKeys = Object.keys(source);
@@ -10730,7 +10790,7 @@ function _object_spread$h(target) {
10730
10790
  }));
10731
10791
  }
10732
10792
  ownKeys.forEach(function(key) {
10733
- _define_property$k(target, key, source[key]);
10793
+ _define_property$l(target, key, source[key]);
10734
10794
  });
10735
10795
  }
10736
10796
  return target;
@@ -10784,29 +10844,29 @@ var _obj$1;
10784
10844
  * Maps each abstract {@link FirestoreQueryConstraintType} to its client-side `firebase/firestore`
10785
10845
  * implementation. The `FIRESTORE_OFFSET_QUERY_CONSTRAINT_TYPE` is `undefined` because Firestore
10786
10846
  * client SDK does not support offset-based pagination (server-only feature).
10787
- */ var FIRESTORE_CLIENT_QUERY_CONSTRAINT_HANDLER_MAPPING = (_obj$1 = {}, _define_property$k(_obj$1, FIRESTORE_LIMIT_QUERY_CONSTRAINT_TYPE, function(builder, data) {
10847
+ */ var FIRESTORE_CLIENT_QUERY_CONSTRAINT_HANDLER_MAPPING = (_obj$1 = {}, _define_property$l(_obj$1, FIRESTORE_LIMIT_QUERY_CONSTRAINT_TYPE, function(builder, data) {
10788
10848
  return addConstraintToBuilder(builder, limit$1(data.limit));
10789
- }), _define_property$k(_obj$1, FIRESTORE_LIMIT_TO_LAST_QUERY_CONSTRAINT_TYPE, function(builder, data) {
10849
+ }), _define_property$l(_obj$1, FIRESTORE_LIMIT_TO_LAST_QUERY_CONSTRAINT_TYPE, function(builder, data) {
10790
10850
  return addConstraintToBuilder(builder, limitToLast$1(data.limit));
10791
- }), _define_property$k(_obj$1, FIRESTORE_ORDER_BY_QUERY_CONSTRAINT_TYPE, function(builder, data) {
10851
+ }), _define_property$l(_obj$1, FIRESTORE_ORDER_BY_QUERY_CONSTRAINT_TYPE, function(builder, data) {
10792
10852
  return addConstraintToBuilder(builder, orderBy$1(data.fieldPath, data.directionStr));
10793
- }), _define_property$k(_obj$1, FIRESTORE_ORDER_BY_DOCUMENT_ID_QUERY_CONSTRAINT_TYPE, function(builder, data) {
10853
+ }), _define_property$l(_obj$1, FIRESTORE_ORDER_BY_DOCUMENT_ID_QUERY_CONSTRAINT_TYPE, function(builder, data) {
10794
10854
  return addConstraintToBuilder(builder, orderBy$1(documentId(), data.directionStr));
10795
- }), _define_property$k(_obj$1, FIRESTORE_WHERE_QUERY_CONSTRAINT_TYPE, function(builder, data) {
10855
+ }), _define_property$l(_obj$1, FIRESTORE_WHERE_QUERY_CONSTRAINT_TYPE, function(builder, data) {
10796
10856
  return addConstraintToBuilder(builder, where$1(data.fieldPath, data.opStr, data.value));
10797
- }), _define_property$k(_obj$1, FIRESTORE_WHERE_DOCUMENT_ID_QUERY_CONSTRAINT_TYPE, function(builder, data) {
10857
+ }), _define_property$l(_obj$1, FIRESTORE_WHERE_DOCUMENT_ID_QUERY_CONSTRAINT_TYPE, function(builder, data) {
10798
10858
  return addConstraintToBuilder(builder, where$1(documentId(), data.opStr, data.value));
10799
- }), _define_property$k(_obj$1, FIRESTORE_OFFSET_QUERY_CONSTRAINT_TYPE, undefined), _define_property$k(_obj$1, FIRESTORE_START_AT_QUERY_CONSTRAINT_TYPE, function(builder, data) {
10859
+ }), _define_property$l(_obj$1, FIRESTORE_OFFSET_QUERY_CONSTRAINT_TYPE, undefined), _define_property$l(_obj$1, FIRESTORE_START_AT_QUERY_CONSTRAINT_TYPE, function(builder, data) {
10800
10860
  return addConstraintToBuilder(builder, startAt$1(data.snapshot));
10801
- }), _define_property$k(_obj$1, FIRESTORE_START_AT_VALUE_QUERY_CONSTRAINT_TYPE, function(builder, data) {
10861
+ }), _define_property$l(_obj$1, FIRESTORE_START_AT_VALUE_QUERY_CONSTRAINT_TYPE, function(builder, data) {
10802
10862
  return addConstraintToBuilder(builder, startAt$1.apply(void 0, _to_consumable_array$5(data.fieldValues)));
10803
- }), _define_property$k(_obj$1, FIRESTORE_START_AFTER_QUERY_CONSTRAINT_TYPE, function(builder, data) {
10863
+ }), _define_property$l(_obj$1, FIRESTORE_START_AFTER_QUERY_CONSTRAINT_TYPE, function(builder, data) {
10804
10864
  return addConstraintToBuilder(builder, startAfter$1(data.snapshot));
10805
- }), _define_property$k(_obj$1, FIRESTORE_END_AT_QUERY_CONSTRAINT_TYPE, function(builder, data) {
10865
+ }), _define_property$l(_obj$1, FIRESTORE_END_AT_QUERY_CONSTRAINT_TYPE, function(builder, data) {
10806
10866
  return addConstraintToBuilder(builder, endAt$1(data.snapshot));
10807
- }), _define_property$k(_obj$1, FIRESTORE_END_AT_VALUE_QUERY_CONSTRAINT_TYPE, function(builder, data) {
10867
+ }), _define_property$l(_obj$1, FIRESTORE_END_AT_VALUE_QUERY_CONSTRAINT_TYPE, function(builder, data) {
10808
10868
  return addConstraintToBuilder(builder, endAt$1.apply(void 0, _to_consumable_array$5(data.fieldValues)));
10809
- }), _define_property$k(_obj$1, FIRESTORE_END_BEFORE_QUERY_CONSTRAINT_TYPE, function(builder, data) {
10869
+ }), _define_property$l(_obj$1, FIRESTORE_END_BEFORE_QUERY_CONSTRAINT_TYPE, function(builder, data) {
10810
10870
  return addConstraintToBuilder(builder, endBefore$1(data.snapshot));
10811
10871
  }), _obj$1);
10812
10872
  /**
@@ -10851,7 +10911,7 @@ var _obj$1;
10851
10911
  * // Used internally by firebaseFirestoreClientDrivers()
10852
10912
  * ```
10853
10913
  */ function firebaseFirestoreQueryDriver() {
10854
- return _object_spread_props$e(_object_spread$h({}, firebaseFirestoreQueryConstraintFunctionsDriver()), {
10914
+ return _object_spread_props$e(_object_spread$i({}, firebaseFirestoreQueryConstraintFunctionsDriver()), {
10855
10915
  countDocs: function countDocs(query) {
10856
10916
  return getCountFromServer(query).then(function(x) {
10857
10917
  return x.data().count;
@@ -10918,22 +10978,22 @@ var _obj$1;
10918
10978
  * ```
10919
10979
  */ var clientFirebaseFirestoreContextFactory = firestoreContextFactory(firebaseFirestoreClientDrivers());
10920
10980
 
10921
- function _assert_this_initialized$6(self) {
10981
+ function _assert_this_initialized$7(self) {
10922
10982
  if (self === void 0) {
10923
10983
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
10924
10984
  }
10925
10985
  return self;
10926
10986
  }
10927
- function _call_super$6(_this, derived, args) {
10928
- derived = _get_prototype_of$6(derived);
10929
- 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));
10987
+ function _call_super$7(_this, derived, args) {
10988
+ derived = _get_prototype_of$7(derived);
10989
+ 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));
10930
10990
  }
10931
- function _class_call_check$d(instance, Constructor) {
10991
+ function _class_call_check$f(instance, Constructor) {
10932
10992
  if (!(instance instanceof Constructor)) {
10933
10993
  throw new TypeError("Cannot call a class as a function");
10934
10994
  }
10935
10995
  }
10936
- function _defineProperties$6(target, props) {
10996
+ function _defineProperties$7(target, props) {
10937
10997
  for(var i = 0; i < props.length; i++){
10938
10998
  var descriptor = props[i];
10939
10999
  descriptor.enumerable = descriptor.enumerable || false;
@@ -10942,12 +11002,12 @@ function _defineProperties$6(target, props) {
10942
11002
  Object.defineProperty(target, descriptor.key, descriptor);
10943
11003
  }
10944
11004
  }
10945
- function _create_class$6(Constructor, protoProps, staticProps) {
10946
- if (protoProps) _defineProperties$6(Constructor.prototype, protoProps);
10947
- if (staticProps) _defineProperties$6(Constructor, staticProps);
11005
+ function _create_class$7(Constructor, protoProps, staticProps) {
11006
+ if (protoProps) _defineProperties$7(Constructor.prototype, protoProps);
11007
+ if (staticProps) _defineProperties$7(Constructor, staticProps);
10948
11008
  return Constructor;
10949
11009
  }
10950
- function _define_property$j(obj, key, value) {
11010
+ function _define_property$k(obj, key, value) {
10951
11011
  if (key in obj) {
10952
11012
  Object.defineProperty(obj, key, {
10953
11013
  value: value,
@@ -10960,13 +11020,13 @@ function _define_property$j(obj, key, value) {
10960
11020
  }
10961
11021
  return obj;
10962
11022
  }
10963
- function _get_prototype_of$6(o) {
10964
- _get_prototype_of$6 = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
11023
+ function _get_prototype_of$7(o) {
11024
+ _get_prototype_of$7 = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
10965
11025
  return o.__proto__ || Object.getPrototypeOf(o);
10966
11026
  };
10967
- return _get_prototype_of$6(o);
11027
+ return _get_prototype_of$7(o);
10968
11028
  }
10969
- function _inherits$6(subClass, superClass) {
11029
+ function _inherits$7(subClass, superClass) {
10970
11030
  if (typeof superClass !== "function" && superClass !== null) {
10971
11031
  throw new TypeError("Super expression must either be null or a function");
10972
11032
  }
@@ -10977,9 +11037,9 @@ function _inherits$6(subClass, superClass) {
10977
11037
  configurable: true
10978
11038
  }
10979
11039
  });
10980
- if (superClass) _set_prototype_of$6(subClass, superClass);
11040
+ if (superClass) _set_prototype_of$7(subClass, superClass);
10981
11041
  }
10982
- function _object_spread$g(target) {
11042
+ function _object_spread$h(target) {
10983
11043
  for(var i = 1; i < arguments.length; i++){
10984
11044
  var source = arguments[i] != null ? arguments[i] : {};
10985
11045
  var ownKeys = Object.keys(source);
@@ -10989,33 +11049,33 @@ function _object_spread$g(target) {
10989
11049
  }));
10990
11050
  }
10991
11051
  ownKeys.forEach(function(key) {
10992
- _define_property$j(target, key, source[key]);
11052
+ _define_property$k(target, key, source[key]);
10993
11053
  });
10994
11054
  }
10995
11055
  return target;
10996
11056
  }
10997
- function _possible_constructor_return$6(self, call) {
10998
- if (call && (_type_of$7(call) === "object" || typeof call === "function")) {
11057
+ function _possible_constructor_return$7(self, call) {
11058
+ if (call && (_type_of$8(call) === "object" || typeof call === "function")) {
10999
11059
  return call;
11000
11060
  }
11001
- return _assert_this_initialized$6(self);
11061
+ return _assert_this_initialized$7(self);
11002
11062
  }
11003
- function _set_prototype_of$6(o, p) {
11004
- _set_prototype_of$6 = Object.setPrototypeOf || function setPrototypeOf(o, p) {
11063
+ function _set_prototype_of$7(o, p) {
11064
+ _set_prototype_of$7 = Object.setPrototypeOf || function setPrototypeOf(o, p) {
11005
11065
  o.__proto__ = p;
11006
11066
  return o;
11007
11067
  };
11008
- return _set_prototype_of$6(o, p);
11068
+ return _set_prototype_of$7(o, p);
11009
11069
  }
11010
- function _type_of$7(obj) {
11070
+ function _type_of$8(obj) {
11011
11071
  "@swc/helpers - typeof";
11012
11072
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
11013
11073
  }
11014
- function _is_native_reflect_construct$6() {
11074
+ function _is_native_reflect_construct$7() {
11015
11075
  try {
11016
11076
  var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
11017
11077
  } catch (_) {}
11018
- return (_is_native_reflect_construct$6 = function() {
11078
+ return (_is_native_reflect_construct$7 = function() {
11019
11079
  return !!result;
11020
11080
  })();
11021
11081
  }
@@ -11046,17 +11106,17 @@ function _is_native_reflect_construct$6() {
11046
11106
  * }
11047
11107
  * ```
11048
11108
  */ var FirebaseServerError = /*#__PURE__*/ function(ServerErrorResponse) {
11049
- _inherits$6(FirebaseServerError, ServerErrorResponse);
11109
+ _inherits$7(FirebaseServerError, ServerErrorResponse);
11050
11110
  function FirebaseServerError(firebaseError, serverError) {
11051
- _class_call_check$d(this, FirebaseServerError);
11111
+ _class_call_check$f(this, FirebaseServerError);
11052
11112
  var _this;
11053
- _this = _call_super$6(this, FirebaseServerError, [
11113
+ _this = _call_super$7(this, FirebaseServerError, [
11054
11114
  serverError
11055
- ]), _define_property$j(_this, "firebaseError", void 0);
11115
+ ]), _define_property$k(_this, "firebaseError", void 0);
11056
11116
  _this.firebaseError = firebaseError;
11057
11117
  return _this;
11058
11118
  }
11059
- _create_class$6(FirebaseServerError, [
11119
+ _create_class$7(FirebaseServerError, [
11060
11120
  {
11061
11121
  key: "_error",
11062
11122
  get: function get() {
@@ -11074,7 +11134,7 @@ function _is_native_reflect_construct$6() {
11074
11134
  * @returns A new {@link FirebaseServerError} wrapping the given Firebase error with structured server error details.
11075
11135
  */ function fromFirebaseError(error) {
11076
11136
  var details = error.details;
11077
- details = _object_spread$g({
11137
+ details = _object_spread$h({
11078
11138
  status: 0,
11079
11139
  message: error.message || error.name,
11080
11140
  code: error.code
@@ -11116,7 +11176,7 @@ function _async_to_generator$b(fn) {
11116
11176
  });
11117
11177
  };
11118
11178
  }
11119
- function _define_property$i(obj, key, value) {
11179
+ function _define_property$j(obj, key, value) {
11120
11180
  if (key in obj) {
11121
11181
  Object.defineProperty(obj, key, {
11122
11182
  value: value,
@@ -11129,7 +11189,7 @@ function _define_property$i(obj, key, value) {
11129
11189
  }
11130
11190
  return obj;
11131
11191
  }
11132
- function _object_spread$f(target) {
11192
+ function _object_spread$g(target) {
11133
11193
  for(var i = 1; i < arguments.length; i++){
11134
11194
  var source = arguments[i] != null ? arguments[i] : {};
11135
11195
  var ownKeys = Object.keys(source);
@@ -11139,7 +11199,7 @@ function _object_spread$f(target) {
11139
11199
  }));
11140
11200
  }
11141
11201
  ownKeys.forEach(function(key) {
11142
- _define_property$i(target, key, source[key]);
11202
+ _define_property$j(target, key, source[key]);
11143
11203
  });
11144
11204
  }
11145
11205
  return target;
@@ -11163,7 +11223,7 @@ function _object_spread_props$d(target, source) {
11163
11223
  }
11164
11224
  return target;
11165
11225
  }
11166
- function _type_of$6(obj) {
11226
+ function _type_of$7(obj) {
11167
11227
  "@swc/helpers - typeof";
11168
11228
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
11169
11229
  }
@@ -11308,7 +11368,7 @@ function mapHttpsCallable(callable, wrap) {
11308
11368
  mappedResultData = _state.sent();
11309
11369
  return [
11310
11370
  2,
11311
- directData ? mappedResultData : _object_spread_props$d(_object_spread$f({}, result), {
11371
+ directData ? mappedResultData : _object_spread_props$d(_object_spread$g({}, result), {
11312
11372
  data: mappedResultData
11313
11373
  })
11314
11374
  ];
@@ -11362,7 +11422,7 @@ function mapHttpsCallable(callable, wrap) {
11362
11422
  * @dbxUtilRelated firebase-server-error, is-client-firebase-error, firebase-auth-error-to-readable-error
11363
11423
  */ function convertHttpsCallableErrorToReadableError(error) {
11364
11424
  var result;
11365
- if ((typeof error === "undefined" ? "undefined" : _type_of$6(error)) === 'object') {
11425
+ if ((typeof error === "undefined" ? "undefined" : _type_of$7(error)) === 'object') {
11366
11426
  if (isClientFirebaseError(error) && error.details != null) {
11367
11427
  result = FirebaseServerError.fromFirebaseError(error);
11368
11428
  } else {
@@ -11787,7 +11847,7 @@ function _unsupported_iterable_to_array$8(o, minLen) {
11787
11847
  };
11788
11848
  }
11789
11849
 
11790
- function _class_call_check$c(instance, Constructor) {
11850
+ function _class_call_check$e(instance, Constructor) {
11791
11851
  if (!(instance instanceof Constructor)) {
11792
11852
  throw new TypeError("Cannot call a class as a function");
11793
11853
  }
@@ -11800,7 +11860,7 @@ function _class_call_check$c(instance, Constructor) {
11800
11860
  *
11801
11861
  * Is used by dbx-firebase
11802
11862
  */ var FirebaseDevelopmentFunctions = function FirebaseDevelopmentFunctions() {
11803
- _class_call_check$c(this, FirebaseDevelopmentFunctions);
11863
+ _class_call_check$e(this, FirebaseDevelopmentFunctions);
11804
11864
  }
11805
11865
  ;
11806
11866
 
@@ -12704,12 +12764,12 @@ var FIREBASE_SERVER_AUTH_CLAIMS_RESET_EXPIRES_AT_KEY = 'resetExpiresAt';
12704
12764
  * Error code used when a password reset email has already been sent and the send-once constraint is active.
12705
12765
  */ var DBX_FIREBASE_SERVER_PASSWORD_RESET_SEND_ONCE_ERROR_CODE = 'PASSWORD_RESET_SEND_ONCE';
12706
12766
 
12707
- function _class_call_check$b(instance, Constructor) {
12767
+ function _class_call_check$d(instance, Constructor) {
12708
12768
  if (!(instance instanceof Constructor)) {
12709
12769
  throw new TypeError("Cannot call a class as a function");
12710
12770
  }
12711
12771
  }
12712
- function _define_property$h(obj, key, value) {
12772
+ function _define_property$i(obj, key, value) {
12713
12773
  if (key in obj) {
12714
12774
  Object.defineProperty(obj, key, {
12715
12775
  value: value,
@@ -12738,8 +12798,8 @@ function _define_property$h(obj, key, value) {
12738
12798
  /**
12739
12799
  * Entry in the list of available scheduled functions returned by the development endpoint.
12740
12800
  */ var ScheduledFunctionDevelopmentFirebaseFunctionListEntry = function ScheduledFunctionDevelopmentFirebaseFunctionListEntry() {
12741
- _class_call_check$b(this, ScheduledFunctionDevelopmentFirebaseFunctionListEntry);
12742
- _define_property$h(this, "name", void 0);
12801
+ _class_call_check$d(this, ScheduledFunctionDevelopmentFirebaseFunctionListEntry);
12802
+ _define_property$i(this, "name", void 0);
12743
12803
  };
12744
12804
  /**
12745
12805
  * Development function specifier used to route requests to the scheduled function endpoint.
@@ -12847,7 +12907,7 @@ function _define_property$h(obj, key, value) {
12847
12907
  'key?': clearable(firestoreModelIdType)
12848
12908
  });
12849
12909
 
12850
- function _assert_this_initialized$5(self) {
12910
+ function _assert_this_initialized$6(self) {
12851
12911
  if (self === void 0) {
12852
12912
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
12853
12913
  }
@@ -12882,16 +12942,16 @@ function _async_to_generator$a(fn) {
12882
12942
  });
12883
12943
  };
12884
12944
  }
12885
- function _call_super$5(_this, derived, args) {
12886
- derived = _get_prototype_of$5(derived);
12887
- 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));
12945
+ function _call_super$6(_this, derived, args) {
12946
+ derived = _get_prototype_of$6(derived);
12947
+ 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));
12888
12948
  }
12889
- function _class_call_check$a(instance, Constructor) {
12949
+ function _class_call_check$c(instance, Constructor) {
12890
12950
  if (!(instance instanceof Constructor)) {
12891
12951
  throw new TypeError("Cannot call a class as a function");
12892
12952
  }
12893
12953
  }
12894
- function _defineProperties$5(target, props) {
12954
+ function _defineProperties$6(target, props) {
12895
12955
  for(var i = 0; i < props.length; i++){
12896
12956
  var descriptor = props[i];
12897
12957
  descriptor.enumerable = descriptor.enumerable || false;
@@ -12900,11 +12960,11 @@ function _defineProperties$5(target, props) {
12900
12960
  Object.defineProperty(target, descriptor.key, descriptor);
12901
12961
  }
12902
12962
  }
12903
- function _create_class$5(Constructor, protoProps, staticProps) {
12904
- if (protoProps) _defineProperties$5(Constructor.prototype, protoProps);
12963
+ function _create_class$6(Constructor, protoProps, staticProps) {
12964
+ if (protoProps) _defineProperties$6(Constructor.prototype, protoProps);
12905
12965
  return Constructor;
12906
12966
  }
12907
- function _define_property$g(obj, key, value) {
12967
+ function _define_property$h(obj, key, value) {
12908
12968
  if (key in obj) {
12909
12969
  Object.defineProperty(obj, key, {
12910
12970
  value: value,
@@ -12917,13 +12977,13 @@ function _define_property$g(obj, key, value) {
12917
12977
  }
12918
12978
  return obj;
12919
12979
  }
12920
- function _get_prototype_of$5(o) {
12921
- _get_prototype_of$5 = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
12980
+ function _get_prototype_of$6(o) {
12981
+ _get_prototype_of$6 = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
12922
12982
  return o.__proto__ || Object.getPrototypeOf(o);
12923
12983
  };
12924
- return _get_prototype_of$5(o);
12984
+ return _get_prototype_of$6(o);
12925
12985
  }
12926
- function _inherits$5(subClass, superClass) {
12986
+ function _inherits$6(subClass, superClass) {
12927
12987
  if (typeof superClass !== "function" && superClass !== null) {
12928
12988
  throw new TypeError("Super expression must either be null or a function");
12929
12989
  }
@@ -12934,30 +12994,30 @@ function _inherits$5(subClass, superClass) {
12934
12994
  configurable: true
12935
12995
  }
12936
12996
  });
12937
- if (superClass) _set_prototype_of$5(subClass, superClass);
12997
+ if (superClass) _set_prototype_of$6(subClass, superClass);
12938
12998
  }
12939
- function _possible_constructor_return$5(self, call) {
12940
- if (call && (_type_of$5(call) === "object" || typeof call === "function")) {
12999
+ function _possible_constructor_return$6(self, call) {
13000
+ if (call && (_type_of$6(call) === "object" || typeof call === "function")) {
12941
13001
  return call;
12942
13002
  }
12943
- return _assert_this_initialized$5(self);
13003
+ return _assert_this_initialized$6(self);
12944
13004
  }
12945
- function _set_prototype_of$5(o, p) {
12946
- _set_prototype_of$5 = Object.setPrototypeOf || function setPrototypeOf(o, p) {
13005
+ function _set_prototype_of$6(o, p) {
13006
+ _set_prototype_of$6 = Object.setPrototypeOf || function setPrototypeOf(o, p) {
12947
13007
  o.__proto__ = p;
12948
13008
  return o;
12949
13009
  };
12950
- return _set_prototype_of$5(o, p);
13010
+ return _set_prototype_of$6(o, p);
12951
13011
  }
12952
- function _type_of$5(obj) {
13012
+ function _type_of$6(obj) {
12953
13013
  "@swc/helpers - typeof";
12954
13014
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
12955
13015
  }
12956
- function _is_native_reflect_construct$5() {
13016
+ function _is_native_reflect_construct$6() {
12957
13017
  try {
12958
13018
  var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
12959
13019
  } catch (_) {}
12960
- return (_is_native_reflect_construct$5 = function() {
13020
+ return (_is_native_reflect_construct$6 = function() {
12961
13021
  return !!result;
12962
13022
  })();
12963
13023
  }
@@ -13066,17 +13126,17 @@ function _ts_generator$a(thisArg, body) {
13066
13126
  * Loads the document snapshot, checks existence, and delegates role computation to the configured delegate.
13067
13127
  * Used internally by {@link firebaseModelPermissionService}.
13068
13128
  */ var FirebaseModelPermissionServiceInstance = /*#__PURE__*/ function(AbstractModelPermissionService) {
13069
- _inherits$5(FirebaseModelPermissionServiceInstance, AbstractModelPermissionService);
13129
+ _inherits$6(FirebaseModelPermissionServiceInstance, AbstractModelPermissionService);
13070
13130
  function FirebaseModelPermissionServiceInstance(delegate) {
13071
- _class_call_check$a(this, FirebaseModelPermissionServiceInstance);
13131
+ _class_call_check$c(this, FirebaseModelPermissionServiceInstance);
13072
13132
  var _this;
13073
- _this = _call_super$5(this, FirebaseModelPermissionServiceInstance, [
13133
+ _this = _call_super$6(this, FirebaseModelPermissionServiceInstance, [
13074
13134
  delegate
13075
- ]), _define_property$g(_this, "_delegate", void 0);
13135
+ ]), _define_property$h(_this, "_delegate", void 0);
13076
13136
  _this._delegate = delegate;
13077
13137
  return _this;
13078
13138
  }
13079
- _create_class$5(FirebaseModelPermissionServiceInstance, [
13139
+ _create_class$6(FirebaseModelPermissionServiceInstance, [
13080
13140
  {
13081
13141
  key: "delegate",
13082
13142
  get: function get() {
@@ -13139,12 +13199,12 @@ function _ts_generator$a(thisArg, body) {
13139
13199
  return new FirebaseModelPermissionServiceInstance(delegate);
13140
13200
  }
13141
13201
 
13142
- function _class_call_check$9(instance, Constructor) {
13202
+ function _class_call_check$b(instance, Constructor) {
13143
13203
  if (!(instance instanceof Constructor)) {
13144
13204
  throw new TypeError("Cannot call a class as a function");
13145
13205
  }
13146
13206
  }
13147
- function _defineProperties$4(target, props) {
13207
+ function _defineProperties$5(target, props) {
13148
13208
  for(var i = 0; i < props.length; i++){
13149
13209
  var descriptor = props[i];
13150
13210
  descriptor.enumerable = descriptor.enumerable || false;
@@ -13153,11 +13213,11 @@ function _defineProperties$4(target, props) {
13153
13213
  Object.defineProperty(target, descriptor.key, descriptor);
13154
13214
  }
13155
13215
  }
13156
- function _create_class$4(Constructor, protoProps, staticProps) {
13157
- if (protoProps) _defineProperties$4(Constructor.prototype, protoProps);
13216
+ function _create_class$5(Constructor, protoProps, staticProps) {
13217
+ if (protoProps) _defineProperties$5(Constructor.prototype, protoProps);
13158
13218
  return Constructor;
13159
13219
  }
13160
- function _define_property$f(obj, key, value) {
13220
+ function _define_property$g(obj, key, value) {
13161
13221
  if (key in obj) {
13162
13222
  Object.defineProperty(obj, key, {
13163
13223
  value: value,
@@ -13177,13 +13237,13 @@ function _define_property$f(obj, key, value) {
13177
13237
  * to a {@link GrantedRoleMapReader}. Throws context-specific errors via the permission error context.
13178
13238
  */ var ContextGrantedModelRolesReaderInstance = /*#__PURE__*/ function() {
13179
13239
  function ContextGrantedModelRolesReaderInstance(contextGrantedModelRoles) {
13180
- _class_call_check$9(this, ContextGrantedModelRolesReaderInstance);
13181
- _define_property$f(this, "_contextGrantedModelRoles", void 0);
13182
- _define_property$f(this, "_roleReader", void 0);
13240
+ _class_call_check$b(this, ContextGrantedModelRolesReaderInstance);
13241
+ _define_property$g(this, "_contextGrantedModelRoles", void 0);
13242
+ _define_property$g(this, "_roleReader", void 0);
13183
13243
  this._contextGrantedModelRoles = contextGrantedModelRoles;
13184
13244
  this._roleReader = grantedRoleMapReader(contextGrantedModelRoles.roleMap);
13185
13245
  }
13186
- _create_class$4(ContextGrantedModelRolesReaderInstance, [
13246
+ _create_class$5(ContextGrantedModelRolesReaderInstance, [
13187
13247
  {
13188
13248
  key: "contextGrantedModelRoles",
13189
13249
  get: function get() {
@@ -13701,7 +13761,7 @@ function _ts_generator$9(thisArg, body) {
13701
13761
  * Error code for an invalid or inaccessible cursor document key in a query request.
13702
13762
  */ var BAD_DOCUMENT_QUERY_CURSOR_ERROR_CODE = 'BAD_DOCUMENT_QUERY_CURSOR';
13703
13763
 
13704
- function _define_property$e(obj, key, value) {
13764
+ function _define_property$f(obj, key, value) {
13705
13765
  if (key in obj) {
13706
13766
  Object.defineProperty(obj, key, {
13707
13767
  value: value,
@@ -13714,7 +13774,7 @@ function _define_property$e(obj, key, value) {
13714
13774
  }
13715
13775
  return obj;
13716
13776
  }
13717
- function _object_spread$e(target) {
13777
+ function _object_spread$f(target) {
13718
13778
  for(var i = 1; i < arguments.length; i++){
13719
13779
  var source = arguments[i] != null ? arguments[i] : {};
13720
13780
  var ownKeys = Object.keys(source);
@@ -13724,7 +13784,7 @@ function _object_spread$e(target) {
13724
13784
  }));
13725
13785
  }
13726
13786
  ownKeys.forEach(function(key) {
13727
- _define_property$e(target, key, source[key]);
13787
+ _define_property$f(target, key, source[key]);
13728
13788
  });
13729
13789
  }
13730
13790
  return target;
@@ -13881,7 +13941,7 @@ function _object_spread_props$c(target, source) {
13881
13941
  */ function firebaseModelsService(services) {
13882
13942
  var firebaseModelsServiceFunction = function firebaseModelsServiceFunction1(type, context) {
13883
13943
  var firebaseModelService = services[type];
13884
- var contextWithService = _object_spread_props$c(_object_spread$e({}, context), {
13944
+ var contextWithService = _object_spread_props$c(_object_spread$f({}, context), {
13885
13945
  service: firebaseModelsServiceFunction
13886
13946
  });
13887
13947
  var service = inContextFirebaseModelServiceFactory(firebaseModelService)(contextWithService);
@@ -14034,7 +14094,7 @@ function _async_to_generator$8(fn) {
14034
14094
  });
14035
14095
  };
14036
14096
  }
14037
- function _define_property$d(obj, key, value) {
14097
+ function _define_property$e(obj, key, value) {
14038
14098
  if (key in obj) {
14039
14099
  Object.defineProperty(obj, key, {
14040
14100
  value: value,
@@ -14047,7 +14107,7 @@ function _define_property$d(obj, key, value) {
14047
14107
  }
14048
14108
  return obj;
14049
14109
  }
14050
- function _object_spread$d(target) {
14110
+ function _object_spread$e(target) {
14051
14111
  for(var i = 1; i < arguments.length; i++){
14052
14112
  var source = arguments[i] != null ? arguments[i] : {};
14053
14113
  var ownKeys = Object.keys(source);
@@ -14057,7 +14117,7 @@ function _object_spread$d(target) {
14057
14117
  }));
14058
14118
  }
14059
14119
  ownKeys.forEach(function(key) {
14060
- _define_property$d(target, key, source[key]);
14120
+ _define_property$e(target, key, source[key]);
14061
14121
  });
14062
14122
  }
14063
14123
  return target;
@@ -14224,7 +14284,7 @@ function _ts_generator$8(thisArg, body) {
14224
14284
  },
14225
14285
  buildInputForNextPage: function buildInputForNextPage(pageResult, input, _options) {
14226
14286
  var _pageResult_nextPageCursor;
14227
- return _object_spread_props$b(_object_spread$d({}, input), {
14287
+ return _object_spread_props$b(_object_spread$e({}, input), {
14228
14288
  pageToken: (_pageResult_nextPageCursor = pageResult.nextPageCursor) !== null && _pageResult_nextPageCursor !== void 0 ? _pageResult_nextPageCursor : undefined
14229
14289
  });
14230
14290
  }
@@ -14239,7 +14299,7 @@ function _ts_generator$8(thisArg, body) {
14239
14299
  * @returns The result of the paginated per-item iteration.
14240
14300
  */ function iterateStorageListFilesByEachFile(input) {
14241
14301
  var folder = input.folder, includeNestedResults = input.includeNestedResults, pageToken = input.pageToken;
14242
- return iterateFetchPagesByEachItem(_object_spread_props$b(_object_spread$d({}, input), {
14302
+ return iterateFetchPagesByEachItem(_object_spread_props$b(_object_spread$e({}, input), {
14243
14303
  input: {
14244
14304
  folder: folder,
14245
14305
  includeNestedResults: includeNestedResults,
@@ -14257,7 +14317,7 @@ function _ts_generator$8(thisArg, body) {
14257
14317
  * @returns The result of the paginated page-level iteration.
14258
14318
  */ function iterateStorageListFiles(input) {
14259
14319
  var folder = input.folder, includeNestedResults = input.includeNestedResults, pageToken = input.pageToken;
14260
- return iterateFetchPages(_object_spread_props$b(_object_spread$d({}, input), {
14320
+ return iterateFetchPages(_object_spread_props$b(_object_spread$e({}, input), {
14261
14321
  input: {
14262
14322
  folder: folder,
14263
14323
  includeNestedResults: includeNestedResults,
@@ -14267,28 +14327,28 @@ function _ts_generator$8(thisArg, body) {
14267
14327
  }));
14268
14328
  }
14269
14329
 
14270
- function _assert_this_initialized$4(self) {
14330
+ function _assert_this_initialized$5(self) {
14271
14331
  if (self === void 0) {
14272
14332
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
14273
14333
  }
14274
14334
  return self;
14275
14335
  }
14276
- function _call_super$4(_this, derived, args) {
14277
- derived = _get_prototype_of$4(derived);
14278
- 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));
14336
+ function _call_super$5(_this, derived, args) {
14337
+ derived = _get_prototype_of$5(derived);
14338
+ 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));
14279
14339
  }
14280
- function _class_call_check$8(instance, Constructor) {
14340
+ function _class_call_check$a(instance, Constructor) {
14281
14341
  if (!(instance instanceof Constructor)) {
14282
14342
  throw new TypeError("Cannot call a class as a function");
14283
14343
  }
14284
14344
  }
14285
- function _get_prototype_of$4(o) {
14286
- _get_prototype_of$4 = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
14345
+ function _get_prototype_of$5(o) {
14346
+ _get_prototype_of$5 = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
14287
14347
  return o.__proto__ || Object.getPrototypeOf(o);
14288
14348
  };
14289
- return _get_prototype_of$4(o);
14349
+ return _get_prototype_of$5(o);
14290
14350
  }
14291
- function _inherits$4(subClass, superClass) {
14351
+ function _inherits$5(subClass, superClass) {
14292
14352
  if (typeof superClass !== "function" && superClass !== null) {
14293
14353
  throw new TypeError("Super expression must either be null or a function");
14294
14354
  }
@@ -14299,30 +14359,30 @@ function _inherits$4(subClass, superClass) {
14299
14359
  configurable: true
14300
14360
  }
14301
14361
  });
14302
- if (superClass) _set_prototype_of$4(subClass, superClass);
14362
+ if (superClass) _set_prototype_of$5(subClass, superClass);
14303
14363
  }
14304
- function _possible_constructor_return$4(self, call) {
14305
- if (call && (_type_of$4(call) === "object" || typeof call === "function")) {
14364
+ function _possible_constructor_return$5(self, call) {
14365
+ if (call && (_type_of$5(call) === "object" || typeof call === "function")) {
14306
14366
  return call;
14307
14367
  }
14308
- return _assert_this_initialized$4(self);
14368
+ return _assert_this_initialized$5(self);
14309
14369
  }
14310
- function _set_prototype_of$4(o, p) {
14311
- _set_prototype_of$4 = Object.setPrototypeOf || function setPrototypeOf(o, p) {
14370
+ function _set_prototype_of$5(o, p) {
14371
+ _set_prototype_of$5 = Object.setPrototypeOf || function setPrototypeOf(o, p) {
14312
14372
  o.__proto__ = p;
14313
14373
  return o;
14314
14374
  };
14315
- return _set_prototype_of$4(o, p);
14375
+ return _set_prototype_of$5(o, p);
14316
14376
  }
14317
- function _type_of$4(obj) {
14377
+ function _type_of$5(obj) {
14318
14378
  "@swc/helpers - typeof";
14319
14379
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
14320
14380
  }
14321
- function _is_native_reflect_construct$4() {
14381
+ function _is_native_reflect_construct$5() {
14322
14382
  try {
14323
14383
  var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
14324
14384
  } catch (_) {}
14325
- return (_is_native_reflect_construct$4 = function() {
14385
+ return (_is_native_reflect_construct$5 = function() {
14326
14386
  return !!result;
14327
14387
  })();
14328
14388
  }
@@ -14355,10 +14415,10 @@ function _is_native_reflect_construct$4() {
14355
14415
  *
14356
14416
  * Stream uploads are typically only available on server-side (Google Cloud Storage) implementations.
14357
14417
  */ var StorageFileUploadStreamUnsupportedError = /*#__PURE__*/ function(BaseError) {
14358
- _inherits$4(StorageFileUploadStreamUnsupportedError, BaseError);
14418
+ _inherits$5(StorageFileUploadStreamUnsupportedError, BaseError);
14359
14419
  function StorageFileUploadStreamUnsupportedError() {
14360
- _class_call_check$8(this, StorageFileUploadStreamUnsupportedError);
14361
- return _call_super$4(this, StorageFileUploadStreamUnsupportedError, [
14420
+ _class_call_check$a(this, StorageFileUploadStreamUnsupportedError);
14421
+ return _call_super$5(this, StorageFileUploadStreamUnsupportedError, [
14362
14422
  'Failed to upload file using a stream. The file does not support upload streams.'
14363
14423
  ]);
14364
14424
  }
@@ -14689,7 +14749,7 @@ function _async_to_generator$6(fn) {
14689
14749
  });
14690
14750
  };
14691
14751
  }
14692
- function _define_property$c(obj, key, value) {
14752
+ function _define_property$d(obj, key, value) {
14693
14753
  if (key in obj) {
14694
14754
  Object.defineProperty(obj, key, {
14695
14755
  value: value,
@@ -14708,7 +14768,7 @@ function _iterable_to_array$4(iter) {
14708
14768
  function _non_iterable_spread$4() {
14709
14769
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
14710
14770
  }
14711
- function _object_spread$c(target) {
14771
+ function _object_spread$d(target) {
14712
14772
  for(var i = 1; i < arguments.length; i++){
14713
14773
  var source = arguments[i] != null ? arguments[i] : {};
14714
14774
  var ownKeys = Object.keys(source);
@@ -14718,7 +14778,7 @@ function _object_spread$c(target) {
14718
14778
  }));
14719
14779
  }
14720
14780
  ownKeys.forEach(function(key) {
14721
- _define_property$c(target, key, source[key]);
14781
+ _define_property$d(target, key, source[key]);
14722
14782
  });
14723
14783
  }
14724
14784
  return target;
@@ -14922,7 +14982,7 @@ function _ts_generator$6(thisArg, body) {
14922
14982
  contentEncoding: (_options_metadata2 = options.metadata) === null || _options_metadata2 === void 0 ? void 0 : _options_metadata2.contentEncoding,
14923
14983
  contentLanguage: (_options_metadata3 = options.metadata) === null || _options_metadata3 === void 0 ? void 0 : _options_metadata3.contentLanguage,
14924
14984
  contentType: (_options_metadata4 = options.metadata) === null || _options_metadata4 === void 0 ? void 0 : _options_metadata4.contentType,
14925
- customMetadata: filterUndefinedValues(_object_spread$c({}, (_options_metadata5 = options.metadata) === null || _options_metadata5 === void 0 ? void 0 : _options_metadata5.customMetadata, options.customMetadata))
14985
+ customMetadata: filterUndefinedValues(_object_spread$d({}, (_options_metadata5 = options.metadata) === null || _options_metadata5 === void 0 ? void 0 : _options_metadata5.customMetadata, options.customMetadata))
14926
14986
  });
14927
14987
  }
14928
14988
  function uploadMetadataFromStorageUploadOptions(options) {
@@ -14931,7 +14991,7 @@ function _ts_generator$6(thisArg, body) {
14931
14991
  var _options_contentType;
14932
14992
  var _options_metadata;
14933
14993
  result = _configureMetadata({
14934
- metadata: _object_spread_props$a(_object_spread$c({}, options.metadata), {
14994
+ metadata: _object_spread_props$a(_object_spread$d({}, options.metadata), {
14935
14995
  contentType: (_options_contentType = options.contentType) !== null && _options_contentType !== void 0 ? _options_contentType : (_options_metadata = options.metadata) === null || _options_metadata === void 0 ? void 0 : _options_metadata.contentType
14936
14996
  }),
14937
14997
  customMetadata: options.customMetadata
@@ -15048,7 +15108,7 @@ function _ts_generator$6(thisArg, body) {
15048
15108
  },
15049
15109
  next: function next(param, result) {
15050
15110
  var options = param.options, folder = param.folder;
15051
- return folder.list(_object_spread_props$a(_object_spread$c({}, options, result.options), {
15111
+ return folder.list(_object_spread_props$a(_object_spread$d({}, options, result.options), {
15052
15112
  pageToken: result.listResult.nextPageToken
15053
15113
  }));
15054
15114
  },
@@ -15150,7 +15210,7 @@ function _ts_generator$6(thisArg, body) {
15150
15210
  allNestedFolderFileResults = _state.sent();
15151
15211
  allNestedFiles = allNestedFolderFileResults.flat();
15152
15212
  allFiles = _to_consumable_array$4(allImmediateFiles).concat(_to_consumable_array$4(allNestedFiles));
15153
- result = _object_spread_props$a(_object_spread$c({}, rootResults), {
15213
+ result = _object_spread_props$a(_object_spread$d({}, rootResults), {
15154
15214
  files: function files() {
15155
15215
  return allFiles;
15156
15216
  },
@@ -15320,7 +15380,7 @@ function _ts_generator$6(thisArg, body) {
15320
15380
  return "".concat(firestoreModelId(input), "_").concat(taskType); // combineation of model id and template type
15321
15381
  }
15322
15382
 
15323
- function _define_property$b(obj, key, value) {
15383
+ function _define_property$c(obj, key, value) {
15324
15384
  if (key in obj) {
15325
15385
  Object.defineProperty(obj, key, {
15326
15386
  value: value,
@@ -15333,7 +15393,7 @@ function _define_property$b(obj, key, value) {
15333
15393
  }
15334
15394
  return obj;
15335
15395
  }
15336
- function _object_spread$b(target) {
15396
+ function _object_spread$c(target) {
15337
15397
  for(var i = 1; i < arguments.length; i++){
15338
15398
  var source = arguments[i] != null ? arguments[i] : {};
15339
15399
  var ownKeys = Object.keys(source);
@@ -15343,7 +15403,7 @@ function _object_spread$b(target) {
15343
15403
  }));
15344
15404
  }
15345
15405
  ownKeys.forEach(function(key) {
15346
- _define_property$b(target, key, source[key]);
15406
+ _define_property$c(target, key, source[key]);
15347
15407
  });
15348
15408
  }
15349
15409
  return target;
@@ -15491,7 +15551,7 @@ function _object_spread_props$9(target, source) {
15491
15551
  * @returns The merged config.
15492
15552
  */ function mergeNotificationUserDefaultNotificationBoxRecipientConfig(a, b) {
15493
15553
  var c = mergeNotificationBoxRecipientTemplateConfigRecords(a.c, b.c);
15494
- var result = _object_spread_props$9(_object_spread$b({}, mergeObjects([
15554
+ var result = _object_spread_props$9(_object_spread$c({}, mergeObjects([
15495
15555
  a,
15496
15556
  b
15497
15557
  ], KeyValueTypleValueFilter.UNDEFINED)), {
@@ -15689,7 +15749,7 @@ var notificationBoxRecipientTemplateConfigDencoder = bitwiseObjectDencoder({
15689
15749
  var array = [];
15690
15750
  forEachKeyValue(input, {
15691
15751
  forEach: function forEach(x) {
15692
- array.push(_object_spread$b({
15752
+ array.push(_object_spread$c({
15693
15753
  type: x[0]
15694
15754
  }, x[1]));
15695
15755
  }
@@ -15723,7 +15783,7 @@ function _array_like_to_array$5(arr, len) {
15723
15783
  function _array_without_holes$3(arr) {
15724
15784
  if (Array.isArray(arr)) return _array_like_to_array$5(arr);
15725
15785
  }
15726
- function _define_property$a(obj, key, value) {
15786
+ function _define_property$b(obj, key, value) {
15727
15787
  if (key in obj) {
15728
15788
  Object.defineProperty(obj, key, {
15729
15789
  value: value,
@@ -15742,7 +15802,7 @@ function _iterable_to_array$3(iter) {
15742
15802
  function _non_iterable_spread$3() {
15743
15803
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
15744
15804
  }
15745
- function _object_spread$a(target) {
15805
+ function _object_spread$b(target) {
15746
15806
  for(var i = 1; i < arguments.length; i++){
15747
15807
  var source = arguments[i] != null ? arguments[i] : {};
15748
15808
  var ownKeys = Object.keys(source);
@@ -15752,7 +15812,7 @@ function _object_spread$a(target) {
15752
15812
  }));
15753
15813
  }
15754
15814
  ownKeys.forEach(function(key) {
15755
- _define_property$a(target, key, source[key]);
15815
+ _define_property$b(target, key, source[key]);
15756
15816
  });
15757
15817
  }
15758
15818
  return target;
@@ -15845,7 +15905,7 @@ var _obj;
15845
15905
  * Higher wins. `ERROR` outranks `PENDING` so that a method with a known problem is not masked by an
15846
15906
  * unrelated in-flight probe, and `SKIPPED` ranks lowest so an unconfigured method never drags a
15847
15907
  * report down.
15848
- */ var NOTIFICATION_HEALTH_CHECK_STATUS_SEVERITY = (_obj = {}, _define_property$a(_obj, NotificationHealthCheckStatus.SKIPPED, 0), _define_property$a(_obj, NotificationHealthCheckStatus.OK, 1), _define_property$a(_obj, NotificationHealthCheckStatus.UNKNOWN, 2), _define_property$a(_obj, NotificationHealthCheckStatus.PENDING, 3), _define_property$a(_obj, NotificationHealthCheckStatus.WARNING, 4), _define_property$a(_obj, NotificationHealthCheckStatus.ERROR, 5), _obj);
15908
+ */ var NOTIFICATION_HEALTH_CHECK_STATUS_SEVERITY = (_obj = {}, _define_property$b(_obj, NotificationHealthCheckStatus.SKIPPED, 0), _define_property$b(_obj, NotificationHealthCheckStatus.OK, 1), _define_property$b(_obj, NotificationHealthCheckStatus.UNKNOWN, 2), _define_property$b(_obj, NotificationHealthCheckStatus.PENDING, 3), _define_property$b(_obj, NotificationHealthCheckStatus.WARNING, 4), _define_property$b(_obj, NotificationHealthCheckStatus.ERROR, 5), _obj);
15849
15909
  /**
15850
15910
  * Rolls a set of statuses up into the single most severe one.
15851
15911
  *
@@ -15983,7 +16043,7 @@ var _obj;
15983
16043
  * @param probe - The attempt's time, settled status, target, and provider detail.
15984
16044
  * @returns The probe recording the attempt.
15985
16045
  */ function untrackableNotificationHealthCheckProbe(probe) {
15986
- return _object_spread_props$8(_object_spread$a({}, probe), {
16046
+ return _object_spread_props$8(_object_spread$b({}, probe), {
15987
16047
  id: UNTRACKABLE_NOTIFICATION_HEALTH_CHECK_PROBE_ID
15988
16048
  });
15989
16049
  }
@@ -16328,22 +16388,22 @@ var notificationHealthCheckMapFunctions = firestoreNotificationHealthCheck.mapFu
16328
16388
  return x.cat;
16329
16389
  });
16330
16390
 
16331
- function _assert_this_initialized$3(self) {
16391
+ function _assert_this_initialized$4(self) {
16332
16392
  if (self === void 0) {
16333
16393
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
16334
16394
  }
16335
16395
  return self;
16336
16396
  }
16337
- function _call_super$3(_this, derived, args) {
16338
- derived = _get_prototype_of$3(derived);
16339
- 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));
16397
+ function _call_super$4(_this, derived, args) {
16398
+ derived = _get_prototype_of$4(derived);
16399
+ 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));
16340
16400
  }
16341
- function _class_call_check$7(instance, Constructor) {
16401
+ function _class_call_check$9(instance, Constructor) {
16342
16402
  if (!(instance instanceof Constructor)) {
16343
16403
  throw new TypeError("Cannot call a class as a function");
16344
16404
  }
16345
16405
  }
16346
- function _defineProperties$3(target, props) {
16406
+ function _defineProperties$4(target, props) {
16347
16407
  for(var i = 0; i < props.length; i++){
16348
16408
  var descriptor = props[i];
16349
16409
  descriptor.enumerable = descriptor.enumerable || false;
@@ -16352,17 +16412,17 @@ function _defineProperties$3(target, props) {
16352
16412
  Object.defineProperty(target, descriptor.key, descriptor);
16353
16413
  }
16354
16414
  }
16355
- function _create_class$3(Constructor, protoProps, staticProps) {
16356
- if (protoProps) _defineProperties$3(Constructor.prototype, protoProps);
16415
+ function _create_class$4(Constructor, protoProps, staticProps) {
16416
+ if (protoProps) _defineProperties$4(Constructor.prototype, protoProps);
16357
16417
  return Constructor;
16358
16418
  }
16359
- function _get_prototype_of$3(o) {
16360
- _get_prototype_of$3 = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
16419
+ function _get_prototype_of$4(o) {
16420
+ _get_prototype_of$4 = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
16361
16421
  return o.__proto__ || Object.getPrototypeOf(o);
16362
16422
  };
16363
- return _get_prototype_of$3(o);
16423
+ return _get_prototype_of$4(o);
16364
16424
  }
16365
- function _inherits$3(subClass, superClass) {
16425
+ function _inherits$4(subClass, superClass) {
16366
16426
  if (typeof superClass !== "function" && superClass !== null) {
16367
16427
  throw new TypeError("Super expression must either be null or a function");
16368
16428
  }
@@ -16373,30 +16433,30 @@ function _inherits$3(subClass, superClass) {
16373
16433
  configurable: true
16374
16434
  }
16375
16435
  });
16376
- if (superClass) _set_prototype_of$3(subClass, superClass);
16436
+ if (superClass) _set_prototype_of$4(subClass, superClass);
16377
16437
  }
16378
- function _possible_constructor_return$3(self, call) {
16379
- if (call && (_type_of$3(call) === "object" || typeof call === "function")) {
16438
+ function _possible_constructor_return$4(self, call) {
16439
+ if (call && (_type_of$4(call) === "object" || typeof call === "function")) {
16380
16440
  return call;
16381
16441
  }
16382
- return _assert_this_initialized$3(self);
16442
+ return _assert_this_initialized$4(self);
16383
16443
  }
16384
- function _set_prototype_of$3(o, p) {
16385
- _set_prototype_of$3 = Object.setPrototypeOf || function setPrototypeOf(o, p) {
16444
+ function _set_prototype_of$4(o, p) {
16445
+ _set_prototype_of$4 = Object.setPrototypeOf || function setPrototypeOf(o, p) {
16386
16446
  o.__proto__ = p;
16387
16447
  return o;
16388
16448
  };
16389
- return _set_prototype_of$3(o, p);
16449
+ return _set_prototype_of$4(o, p);
16390
16450
  }
16391
- function _type_of$3(obj) {
16451
+ function _type_of$4(obj) {
16392
16452
  "@swc/helpers - typeof";
16393
16453
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
16394
16454
  }
16395
- function _is_native_reflect_construct$3() {
16455
+ function _is_native_reflect_construct$4() {
16396
16456
  try {
16397
16457
  var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
16398
16458
  } catch (_) {}
16399
- return (_is_native_reflect_construct$3 = function() {
16459
+ return (_is_native_reflect_construct$4 = function() {
16400
16460
  return !!result;
16401
16461
  })();
16402
16462
  }
@@ -16410,17 +16470,17 @@ function _is_native_reflect_construct$3() {
16410
16470
  *
16411
16471
  * @dbxModelGroup Notification
16412
16472
  */ var NotificationFirestoreCollections = function NotificationFirestoreCollections() {
16413
- _class_call_check$7(this, NotificationFirestoreCollections);
16473
+ _class_call_check$9(this, NotificationFirestoreCollections);
16414
16474
  };
16415
16475
  // MARK: NotificationUser
16416
16476
  var notificationUserIdentity = firestoreModelIdentity('notificationUser', 'nu');
16417
16477
  var NotificationUserDocument = /*#__PURE__*/ function(AbstractFirestoreDocument) {
16418
- _inherits$3(NotificationUserDocument, AbstractFirestoreDocument);
16478
+ _inherits$4(NotificationUserDocument, AbstractFirestoreDocument);
16419
16479
  function NotificationUserDocument() {
16420
- _class_call_check$7(this, NotificationUserDocument);
16421
- return _call_super$3(this, NotificationUserDocument, arguments);
16480
+ _class_call_check$9(this, NotificationUserDocument);
16481
+ return _call_super$4(this, NotificationUserDocument, arguments);
16422
16482
  }
16423
- _create_class$3(NotificationUserDocument, [
16483
+ _create_class$4(NotificationUserDocument, [
16424
16484
  {
16425
16485
  key: "modelIdentity",
16426
16486
  get: function get() {
@@ -16484,12 +16544,12 @@ var NotificationUserDocument = /*#__PURE__*/ function(AbstractFirestoreDocument)
16484
16544
  * The expected max length of a message on a NotificationSummary's embedded NotificationItem.
16485
16545
  */ var NOTIFICATION_SUMMARY_EMBEDDED_NOTIFICATION_ITEM_MESSAGE_MAX_LENGTH = 500;
16486
16546
  var NotificationSummaryDocument = /*#__PURE__*/ function(AbstractFirestoreDocument) {
16487
- _inherits$3(NotificationSummaryDocument, AbstractFirestoreDocument);
16547
+ _inherits$4(NotificationSummaryDocument, AbstractFirestoreDocument);
16488
16548
  function NotificationSummaryDocument() {
16489
- _class_call_check$7(this, NotificationSummaryDocument);
16490
- return _call_super$3(this, NotificationSummaryDocument, arguments);
16549
+ _class_call_check$9(this, NotificationSummaryDocument);
16550
+ return _call_super$4(this, NotificationSummaryDocument, arguments);
16491
16551
  }
16492
- _create_class$3(NotificationSummaryDocument, [
16552
+ _create_class$4(NotificationSummaryDocument, [
16493
16553
  {
16494
16554
  key: "modelIdentity",
16495
16555
  get: function get() {
@@ -16548,12 +16608,12 @@ var NotificationSummaryDocument = /*#__PURE__*/ function(AbstractFirestoreDocume
16548
16608
  * Identity for {@link NotificationBox} documents. Collection name: `'notificationBox'`, short code: `'nb'`.
16549
16609
  */ var notificationBoxIdentity = firestoreModelIdentity('notificationBox', 'nb');
16550
16610
  var NotificationBoxDocument = /*#__PURE__*/ function(AbstractFirestoreDocument) {
16551
- _inherits$3(NotificationBoxDocument, AbstractFirestoreDocument);
16611
+ _inherits$4(NotificationBoxDocument, AbstractFirestoreDocument);
16552
16612
  function NotificationBoxDocument() {
16553
- _class_call_check$7(this, NotificationBoxDocument);
16554
- return _call_super$3(this, NotificationBoxDocument, arguments);
16613
+ _class_call_check$9(this, NotificationBoxDocument);
16614
+ return _call_super$4(this, NotificationBoxDocument, arguments);
16555
16615
  }
16556
- _create_class$3(NotificationBoxDocument, [
16616
+ _create_class$4(NotificationBoxDocument, [
16557
16617
  {
16558
16618
  key: "modelIdentity",
16559
16619
  get: function get() {
@@ -16713,12 +16773,12 @@ var NotificationBoxDocument = /*#__PURE__*/ function(AbstractFirestoreDocument)
16713
16773
  */ NotificationRecipientSendFlag[NotificationRecipientSendFlag["ONLY_GLOBAL_RECIPIENTS"] = 4] = "ONLY_GLOBAL_RECIPIENTS";
16714
16774
  })(NotificationRecipientSendFlag || (NotificationRecipientSendFlag = {}));
16715
16775
  var NotificationDocument = /*#__PURE__*/ function(AbstractFirestoreDocumentWithParent) {
16716
- _inherits$3(NotificationDocument, AbstractFirestoreDocumentWithParent);
16776
+ _inherits$4(NotificationDocument, AbstractFirestoreDocumentWithParent);
16717
16777
  function NotificationDocument() {
16718
- _class_call_check$7(this, NotificationDocument);
16719
- return _call_super$3(this, NotificationDocument, arguments);
16778
+ _class_call_check$9(this, NotificationDocument);
16779
+ return _call_super$4(this, NotificationDocument, arguments);
16720
16780
  }
16721
- _create_class$3(NotificationDocument, [
16781
+ _create_class$4(NotificationDocument, [
16722
16782
  {
16723
16783
  key: "modelIdentity",
16724
16784
  get: function get() {
@@ -16845,12 +16905,12 @@ var NotificationDocument = /*#__PURE__*/ function(AbstractFirestoreDocumentWithP
16845
16905
  * The maximum number of notifications that can be stored in a NotificationWeek.
16846
16906
  */ var NOTIFICATION_WEEK_NOTIFICATION_ITEM_LIMIT = 5000;
16847
16907
  var NotificationWeekDocument = /*#__PURE__*/ function(AbstractFirestoreDocumentWithParent) {
16848
- _inherits$3(NotificationWeekDocument, AbstractFirestoreDocumentWithParent);
16908
+ _inherits$4(NotificationWeekDocument, AbstractFirestoreDocumentWithParent);
16849
16909
  function NotificationWeekDocument() {
16850
- _class_call_check$7(this, NotificationWeekDocument);
16851
- return _call_super$3(this, NotificationWeekDocument, arguments);
16910
+ _class_call_check$9(this, NotificationWeekDocument);
16911
+ return _call_super$4(this, NotificationWeekDocument, arguments);
16852
16912
  }
16853
- _create_class$3(NotificationWeekDocument, [
16913
+ _create_class$4(NotificationWeekDocument, [
16854
16914
  {
16855
16915
  key: "modelIdentity",
16856
16916
  get: function get() {
@@ -16958,12 +17018,12 @@ var NotificationWeekDocument = /*#__PURE__*/ function(AbstractFirestoreDocumentW
16958
17018
  }
16959
17019
  };
16960
17020
  var NotificationLoggedEventDayDocument = /*#__PURE__*/ function(AbstractFirestoreDocumentWithParent) {
16961
- _inherits$3(NotificationLoggedEventDayDocument, AbstractFirestoreDocumentWithParent);
17021
+ _inherits$4(NotificationLoggedEventDayDocument, AbstractFirestoreDocumentWithParent);
16962
17022
  function NotificationLoggedEventDayDocument() {
16963
- _class_call_check$7(this, NotificationLoggedEventDayDocument);
16964
- return _call_super$3(this, NotificationLoggedEventDayDocument, arguments);
17023
+ _class_call_check$9(this, NotificationLoggedEventDayDocument);
17024
+ return _call_super$4(this, NotificationLoggedEventDayDocument, arguments);
16965
17025
  }
16966
- _create_class$3(NotificationLoggedEventDayDocument, [
17026
+ _create_class$4(NotificationLoggedEventDayDocument, [
16967
17027
  {
16968
17028
  key: "modelIdentity",
16969
17029
  get: function get() {
@@ -17044,12 +17104,12 @@ var NotificationLoggedEventDayDocument = /*#__PURE__*/ function(AbstractFirestor
17044
17104
  *
17045
17105
  * Page docs are managed internally by the paged accessor — consumers do not address them directly.
17046
17106
  */ var NotificationLoggedEventDayPageDocument = /*#__PURE__*/ function(AbstractFirestoreDocumentWithParent) {
17047
- _inherits$3(NotificationLoggedEventDayPageDocument, AbstractFirestoreDocumentWithParent);
17107
+ _inherits$4(NotificationLoggedEventDayPageDocument, AbstractFirestoreDocumentWithParent);
17048
17108
  function NotificationLoggedEventDayPageDocument() {
17049
- _class_call_check$7(this, NotificationLoggedEventDayPageDocument);
17050
- return _call_super$3(this, NotificationLoggedEventDayPageDocument, arguments);
17109
+ _class_call_check$9(this, NotificationLoggedEventDayPageDocument);
17110
+ return _call_super$4(this, NotificationLoggedEventDayPageDocument, arguments);
17051
17111
  }
17052
- _create_class$3(NotificationLoggedEventDayPageDocument, [
17112
+ _create_class$4(NotificationLoggedEventDayPageDocument, [
17053
17113
  {
17054
17114
  key: "modelIdentity",
17055
17115
  get: function get() {
@@ -17121,7 +17181,7 @@ var NotificationLoggedEventDayDocument = /*#__PURE__*/ function(AbstractFirestor
17121
17181
  });
17122
17182
  }
17123
17183
 
17124
- function _class_call_check$6(instance, Constructor) {
17184
+ function _class_call_check$8(instance, Constructor) {
17125
17185
  if (!(instance instanceof Constructor)) {
17126
17186
  throw new TypeError("Cannot call a class as a function");
17127
17187
  }
@@ -17253,7 +17313,7 @@ var NOTIFICATION_BOX_MODEL_CRUD_FUNCTIONS_CONFIG = {
17253
17313
  * Implementations are generated by {@link notificationFunctionMap} for client-side use,
17254
17314
  * and by the server-side function registration in the demo-api or application module.
17255
17315
  */ var NotificationFunctions = function NotificationFunctions() {
17256
- _class_call_check$6(this, NotificationFunctions);
17316
+ _class_call_check$8(this, NotificationFunctions);
17257
17317
  };
17258
17318
  /**
17259
17319
  * Factory for creating client-side callable function instances from the notification CRUD configuration.
@@ -17304,7 +17364,7 @@ var NOTIFICATION_BOX_MODEL_CRUD_FUNCTIONS_CONFIG = {
17304
17364
  * cheap and meant to be polled, so it neither answers to nor consumes the user's run allowance.
17305
17365
  */ var NOTIFICATION_USER_HEALTH_CHECK_VERIFY_THROTTLED_ERROR_CODE = 'NOTIFICATION_USER_HEALTH_CHECK_VERIFY_THROTTLED';
17306
17366
 
17307
- function _define_property$9(obj, key, value) {
17367
+ function _define_property$a(obj, key, value) {
17308
17368
  if (key in obj) {
17309
17369
  Object.defineProperty(obj, key, {
17310
17370
  value: value,
@@ -17317,7 +17377,7 @@ function _define_property$9(obj, key, value) {
17317
17377
  }
17318
17378
  return obj;
17319
17379
  }
17320
- function _object_spread$9(target) {
17380
+ function _object_spread$a(target) {
17321
17381
  for(var i = 1; i < arguments.length; i++){
17322
17382
  var source = arguments[i] != null ? arguments[i] : {};
17323
17383
  var ownKeys = Object.keys(source);
@@ -17327,7 +17387,7 @@ function _object_spread$9(target) {
17327
17387
  }));
17328
17388
  }
17329
17389
  ownKeys.forEach(function(key) {
17330
- _define_property$9(target, key, source[key]);
17390
+ _define_property$a(target, key, source[key]);
17331
17391
  });
17332
17392
  }
17333
17393
  return target;
@@ -17366,7 +17426,7 @@ function _object_spread_props$7(target, source) {
17366
17426
  return x.type;
17367
17427
  },
17368
17428
  merge: function merge(x, y) {
17369
- return _object_spread$9({}, x, y);
17429
+ return _object_spread$a({}, x, y);
17370
17430
  }
17371
17431
  });
17372
17432
  // remove types marked as remove
@@ -17396,7 +17456,7 @@ function _object_spread_props$7(target, source) {
17396
17456
  var _ref;
17397
17457
  var inputC = b.configs, inputF = b.f, inputBk = b.bk, inputLk = b.lk;
17398
17458
  var c = (_ref = inputC == null ? undefined : updateNotificationBoxRecipientTemplateConfigRecord(a.c, inputC, limitToAllowedConfigTypes)) !== null && _ref !== void 0 ? _ref : a.c;
17399
- return _object_spread_props$7(_object_spread$9({}, updateNotificationRecipient(a, b)), {
17459
+ return _object_spread_props$7(_object_spread$a({}, updateNotificationRecipient(a, b)), {
17400
17460
  c: c,
17401
17461
  f: updateMaybeValue(a.f, inputF),
17402
17462
  bk: updateMaybeValue(a.bk, inputBk),
@@ -17417,7 +17477,7 @@ function _object_spread_props$7(target, source) {
17417
17477
  var _ref;
17418
17478
  var inputC = b.configs, inputRm = b.rm, inputLk = b.lk, inputBk = b.bk;
17419
17479
  var c = (_ref = inputC == null ? undefined : updateNotificationBoxRecipientTemplateConfigRecord(a.c, inputC, limitToAllowedConfigTypes)) !== null && _ref !== void 0 ? _ref : a.c;
17420
- var nextConfig = _object_spread_props$7(_object_spread$9({}, updateNotificationRecipient(a, b)), {
17480
+ var nextConfig = _object_spread_props$7(_object_spread$a({}, updateNotificationRecipient(a, b)), {
17421
17481
  c: c,
17422
17482
  rm: updateMaybeValue(a.rm, inputRm),
17423
17483
  lk: updateMaybeValue(a.lk, inputLk),
@@ -17888,7 +17948,7 @@ function _ts_generator$5(thisArg, body) {
17888
17948
  })();
17889
17949
  }
17890
17950
 
17891
- function _define_property$8(obj, key, value) {
17951
+ function _define_property$9(obj, key, value) {
17892
17952
  if (key in obj) {
17893
17953
  Object.defineProperty(obj, key, {
17894
17954
  value: value,
@@ -17901,7 +17961,7 @@ function _define_property$8(obj, key, value) {
17901
17961
  }
17902
17962
  return obj;
17903
17963
  }
17904
- function _object_spread$8(target) {
17964
+ function _object_spread$9(target) {
17905
17965
  for(var i = 1; i < arguments.length; i++){
17906
17966
  var source = arguments[i] != null ? arguments[i] : {};
17907
17967
  var ownKeys = Object.keys(source);
@@ -17911,7 +17971,7 @@ function _object_spread$8(target) {
17911
17971
  }));
17912
17972
  }
17913
17973
  ownKeys.forEach(function(key) {
17914
- _define_property$8(target, key, source[key]);
17974
+ _define_property$9(target, key, source[key]);
17915
17975
  });
17916
17976
  }
17917
17977
  return target;
@@ -17960,7 +18020,7 @@ function _object_spread_props$6(target, source) {
17960
18020
  if (!input.notificationModel) {
17961
18021
  throw new Error('Must provide a notificationModel when creating a logged-event notification template.');
17962
18022
  }
17963
- return createNotificationTemplate(_object_spread_props$6(_object_spread$8({}, input), {
18023
+ return createNotificationTemplate(_object_spread_props$6(_object_spread$9({}, input), {
17964
18024
  sendType: NotificationSendType.LOGGED_EVENT,
17965
18025
  st: undefined,
17966
18026
  rf: undefined,
@@ -18255,7 +18315,7 @@ function _ts_generator$4(thisArg, body) {
18255
18315
  };
18256
18316
  }
18257
18317
 
18258
- function _define_property$7(obj, key, value) {
18318
+ function _define_property$8(obj, key, value) {
18259
18319
  if (key in obj) {
18260
18320
  Object.defineProperty(obj, key, {
18261
18321
  value: value,
@@ -18268,7 +18328,7 @@ function _define_property$7(obj, key, value) {
18268
18328
  }
18269
18329
  return obj;
18270
18330
  }
18271
- function _object_spread$7(target) {
18331
+ function _object_spread$8(target) {
18272
18332
  for(var i = 1; i < arguments.length; i++){
18273
18333
  var source = arguments[i] != null ? arguments[i] : {};
18274
18334
  var ownKeys = Object.keys(source);
@@ -18278,7 +18338,7 @@ function _object_spread$7(target) {
18278
18338
  }));
18279
18339
  }
18280
18340
  ownKeys.forEach(function(key) {
18281
- _define_property$7(target, key, source[key]);
18341
+ _define_property$8(target, key, source[key]);
18282
18342
  });
18283
18343
  }
18284
18344
  return target;
@@ -18323,7 +18383,7 @@ function _object_spread_props$5(target, source) {
18323
18383
  */ function createNotificationTaskTemplate(input) {
18324
18384
  var _input_notificationModel, _input_completedCheckpoints;
18325
18385
  var notificationModel = (_input_notificationModel = input.notificationModel) !== null && _input_notificationModel !== void 0 ? _input_notificationModel : DEFAULT_NOTIFICATION_TASK_NOTIFICATION_MODEL_KEY;
18326
- var result = createNotificationTemplate(_object_spread_props$5(_object_spread$7({}, input), {
18386
+ var result = createNotificationTemplate(_object_spread_props$5(_object_spread$8({}, input), {
18327
18387
  notificationModel: notificationModel,
18328
18388
  tpr: (_input_completedCheckpoints = input.completedCheckpoints) !== null && _input_completedCheckpoints !== void 0 ? _input_completedCheckpoints : input.tpr,
18329
18389
  sendType: NotificationSendType.TASK_NOTIFICATION,
@@ -18346,7 +18406,7 @@ function _array_like_to_array$4(arr, len) {
18346
18406
  function _array_with_holes$1(arr) {
18347
18407
  if (Array.isArray(arr)) return arr;
18348
18408
  }
18349
- function _class_call_check$5(instance, Constructor) {
18409
+ function _class_call_check$7(instance, Constructor) {
18350
18410
  if (!(instance instanceof Constructor)) {
18351
18411
  throw new TypeError("Cannot call a class as a function");
18352
18412
  }
@@ -18421,7 +18481,7 @@ function _unsupported_iterable_to_array$4(o, minLen) {
18421
18481
  * Provides indexed lookups for the server-side notification pipeline to discover which template types
18422
18482
  * apply to a given model.
18423
18483
  */ var AppNotificationTemplateTypeInfoRecordService = function AppNotificationTemplateTypeInfoRecordService() {
18424
- _class_call_check$5(this, AppNotificationTemplateTypeInfoRecordService);
18484
+ _class_call_check$7(this, AppNotificationTemplateTypeInfoRecordService);
18425
18485
  };
18426
18486
  /**
18427
18487
  * Creates an {@link AppNotificationTemplateTypeInfoRecordService} from the given template type record.
@@ -18952,7 +19012,7 @@ function _unsupported_iterable_to_array$3(o, minLen) {
18952
19012
  };
18953
19013
  }
18954
19014
 
18955
- function _define_property$6(obj, key, value) {
19015
+ function _define_property$7(obj, key, value) {
18956
19016
  if (key in obj) {
18957
19017
  Object.defineProperty(obj, key, {
18958
19018
  value: value,
@@ -18965,7 +19025,7 @@ function _define_property$6(obj, key, value) {
18965
19025
  }
18966
19026
  return obj;
18967
19027
  }
18968
- function _object_spread$6(target) {
19028
+ function _object_spread$7(target) {
18969
19029
  for(var i = 1; i < arguments.length; i++){
18970
19030
  var source = arguments[i] != null ? arguments[i] : {};
18971
19031
  var ownKeys = Object.keys(source);
@@ -18975,7 +19035,7 @@ function _object_spread$6(target) {
18975
19035
  }));
18976
19036
  }
18977
19037
  ownKeys.forEach(function(key) {
18978
- _define_property$6(target, key, source[key]);
19038
+ _define_property$7(target, key, source[key]);
18979
19039
  });
18980
19040
  }
18981
19041
  return target;
@@ -19106,14 +19166,14 @@ function _object_spread_props$4(target, source) {
19106
19166
  * @returns A copy of the result with `canRunNextCheckpoint` set to true.
19107
19167
  */ function notificationTaskCanRunNextCheckpoint(result, force) {
19108
19168
  if (force || result.canRunNextCheckpoint == null) {
19109
- result = _object_spread_props$4(_object_spread$6({}, result), {
19169
+ result = _object_spread_props$4(_object_spread$7({}, result), {
19110
19170
  canRunNextCheckpoint: true
19111
19171
  });
19112
19172
  }
19113
19173
  return result;
19114
19174
  }
19115
19175
 
19116
- function _define_property$5(obj, key, value) {
19176
+ function _define_property$6(obj, key, value) {
19117
19177
  if (key in obj) {
19118
19178
  Object.defineProperty(obj, key, {
19119
19179
  value: value,
@@ -19126,7 +19186,7 @@ function _define_property$5(obj, key, value) {
19126
19186
  }
19127
19187
  return obj;
19128
19188
  }
19129
- function _object_spread$5(target) {
19189
+ function _object_spread$6(target) {
19130
19190
  for(var i = 1; i < arguments.length; i++){
19131
19191
  var source = arguments[i] != null ? arguments[i] : {};
19132
19192
  var ownKeys = Object.keys(source);
@@ -19136,7 +19196,7 @@ function _object_spread$5(target) {
19136
19196
  }));
19137
19197
  }
19138
19198
  ownKeys.forEach(function(key) {
19139
- _define_property$5(target, key, source[key]);
19199
+ _define_property$6(target, key, source[key]);
19140
19200
  });
19141
19201
  }
19142
19202
  return target;
@@ -19202,7 +19262,7 @@ function _object_spread_props$3(target, source) {
19202
19262
  * return notificationSubtaskComplete({ canRunNextCheckpoint: true });
19203
19263
  * ```
19204
19264
  */ function notificationSubtaskComplete(options) {
19205
- return _object_spread_props$3(_object_spread$5({}, notificationTaskComplete(options === null || options === void 0 ? void 0 : options.updateMetadata)), {
19265
+ return _object_spread_props$3(_object_spread$6({}, notificationTaskComplete(options === null || options === void 0 ? void 0 : options.updateMetadata)), {
19206
19266
  canRunNextCheckpoint: options === null || options === void 0 ? void 0 : options.canRunNextCheckpoint
19207
19267
  });
19208
19268
  }
@@ -19215,7 +19275,7 @@ function _array_like_to_array$2(arr, len) {
19215
19275
  function _array_without_holes$1(arr) {
19216
19276
  if (Array.isArray(arr)) return _array_like_to_array$2(arr);
19217
19277
  }
19218
- function _define_property$4(obj, key, value) {
19278
+ function _define_property$5(obj, key, value) {
19219
19279
  if (key in obj) {
19220
19280
  Object.defineProperty(obj, key, {
19221
19281
  value: value,
@@ -19234,7 +19294,7 @@ function _iterable_to_array$1(iter) {
19234
19294
  function _non_iterable_spread$1() {
19235
19295
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
19236
19296
  }
19237
- function _object_spread$4(target) {
19297
+ function _object_spread$5(target) {
19238
19298
  for(var i = 1; i < arguments.length; i++){
19239
19299
  var source = arguments[i] != null ? arguments[i] : {};
19240
19300
  var ownKeys = Object.keys(source);
@@ -19244,7 +19304,7 @@ function _object_spread$4(target) {
19244
19304
  }));
19245
19305
  }
19246
19306
  ownKeys.forEach(function(key) {
19247
- _define_property$4(target, key, source[key]);
19307
+ _define_property$5(target, key, source[key]);
19248
19308
  });
19249
19309
  }
19250
19310
  return target;
@@ -19295,8 +19355,8 @@ function _unsupported_iterable_to_array$2(o, minLen) {
19295
19355
  var applicableTemplateTypesForModel = appNotificationTemplateTypeInfoRecordService.getTemplateTypesForNotificationModel(m);
19296
19356
  var filterOnlyApplicableTemplateTypes = filterKeysOnPOJOFunction(applicableTemplateTypesForModel);
19297
19357
  // retain only the relevant/applicable template types for the model associate with the notification box
19298
- var c = filterOnlyApplicableTemplateTypes(_object_spread$4({}, recipient === null || recipient === void 0 ? void 0 : recipient.c, notificationUserNotificationBoxConfig.c, gc.c));
19299
- var nextRecipient = _object_spread_props$2(_object_spread$4({}, recipient), {
19358
+ var c = filterOnlyApplicableTemplateTypes(_object_spread$5({}, recipient === null || recipient === void 0 ? void 0 : recipient.c, notificationUserNotificationBoxConfig.c, gc.c));
19359
+ var nextRecipient = _object_spread_props$2(_object_spread$5({}, recipient), {
19300
19360
  c: c,
19301
19361
  uid: uid,
19302
19362
  i: (_ref = recipient === null || recipient === void 0 ? void 0 : recipient.i) !== null && _ref !== void 0 ? _ref : notificationUserNotificationBoxConfig.i,
@@ -19374,7 +19434,7 @@ function _unsupported_iterable_to_array$2(o, minLen) {
19374
19434
  var isExcluded = !canSendToNotificationBoxFunction(x.nb); // excluded if cannot send
19375
19435
  var updatedConfig = x;
19376
19436
  if (currentNotificationBoxExcluded !== isExcluded) {
19377
- updatedConfig = _object_spread_props$2(_object_spread$4({}, x), {
19437
+ updatedConfig = _object_spread_props$2(_object_spread$5({}, x), {
19378
19438
  x: isExcluded,
19379
19439
  ns: true
19380
19440
  });
@@ -19517,7 +19577,7 @@ function _unsupported_iterable_to_array$2(o, minLen) {
19517
19577
  * @returns The merged config with protected fields retained from `a`
19518
19578
  */ function mergeNotificationUserNotificationBoxRecipientConfigs(a, b) {
19519
19579
  var _b_f;
19520
- return _object_spread_props$2(_object_spread$4({}, mergeNotificationBoxRecipients(a, b)), {
19580
+ return _object_spread_props$2(_object_spread$5({}, mergeNotificationBoxRecipients(a, b)), {
19521
19581
  // retain the following states always
19522
19582
  f: a.f === NotificationBoxRecipientFlag.OPT_OUT ? a.f : (_b_f = b.f) !== null && _b_f !== void 0 ? _b_f : a.f,
19523
19583
  nb: a.nb,
@@ -19534,9 +19594,9 @@ function _unsupported_iterable_to_array$2(o, minLen) {
19534
19594
  * @param b - Partial recipient update to apply on top of the base.
19535
19595
  * @returns The merged recipient with deeply merged template config records.
19536
19596
  */ function mergeNotificationBoxRecipients(a, b) {
19537
- return _object_spread_props$2(_object_spread$4({}, a, b), {
19597
+ return _object_spread_props$2(_object_spread$5({}, a, b), {
19538
19598
  // configs should be merged/ovewritten
19539
- c: _object_spread$4({}, a.c, b.c)
19599
+ c: _object_spread$5({}, a.c, b.c)
19540
19600
  });
19541
19601
  }
19542
19602
  /**
@@ -19560,22 +19620,22 @@ function _unsupported_iterable_to_array$2(o, minLen) {
19560
19620
  return notificationBoxDocument;
19561
19621
  }
19562
19622
 
19563
- function _assert_this_initialized$2(self) {
19623
+ function _assert_this_initialized$3(self) {
19564
19624
  if (self === void 0) {
19565
19625
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
19566
19626
  }
19567
19627
  return self;
19568
19628
  }
19569
- function _call_super$2(_this, derived, args) {
19570
- derived = _get_prototype_of$2(derived);
19571
- 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));
19629
+ function _call_super$3(_this, derived, args) {
19630
+ derived = _get_prototype_of$3(derived);
19631
+ 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));
19572
19632
  }
19573
- function _class_call_check$4(instance, Constructor) {
19633
+ function _class_call_check$6(instance, Constructor) {
19574
19634
  if (!(instance instanceof Constructor)) {
19575
19635
  throw new TypeError("Cannot call a class as a function");
19576
19636
  }
19577
19637
  }
19578
- function _defineProperties$2(target, props) {
19638
+ function _defineProperties$3(target, props) {
19579
19639
  for(var i = 0; i < props.length; i++){
19580
19640
  var descriptor = props[i];
19581
19641
  descriptor.enumerable = descriptor.enumerable || false;
@@ -19584,17 +19644,17 @@ function _defineProperties$2(target, props) {
19584
19644
  Object.defineProperty(target, descriptor.key, descriptor);
19585
19645
  }
19586
19646
  }
19587
- function _create_class$2(Constructor, protoProps, staticProps) {
19588
- if (protoProps) _defineProperties$2(Constructor.prototype, protoProps);
19647
+ function _create_class$3(Constructor, protoProps, staticProps) {
19648
+ if (protoProps) _defineProperties$3(Constructor.prototype, protoProps);
19589
19649
  return Constructor;
19590
19650
  }
19591
- function _get_prototype_of$2(o) {
19592
- _get_prototype_of$2 = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
19651
+ function _get_prototype_of$3(o) {
19652
+ _get_prototype_of$3 = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
19593
19653
  return o.__proto__ || Object.getPrototypeOf(o);
19594
19654
  };
19595
- return _get_prototype_of$2(o);
19655
+ return _get_prototype_of$3(o);
19596
19656
  }
19597
- function _inherits$2(subClass, superClass) {
19657
+ function _inherits$3(subClass, superClass) {
19598
19658
  if (typeof superClass !== "function" && superClass !== null) {
19599
19659
  throw new TypeError("Super expression must either be null or a function");
19600
19660
  }
@@ -19605,30 +19665,30 @@ function _inherits$2(subClass, superClass) {
19605
19665
  configurable: true
19606
19666
  }
19607
19667
  });
19608
- if (superClass) _set_prototype_of$2(subClass, superClass);
19668
+ if (superClass) _set_prototype_of$3(subClass, superClass);
19609
19669
  }
19610
- function _possible_constructor_return$2(self, call) {
19611
- if (call && (_type_of$2(call) === "object" || typeof call === "function")) {
19670
+ function _possible_constructor_return$3(self, call) {
19671
+ if (call && (_type_of$3(call) === "object" || typeof call === "function")) {
19612
19672
  return call;
19613
19673
  }
19614
- return _assert_this_initialized$2(self);
19674
+ return _assert_this_initialized$3(self);
19615
19675
  }
19616
- function _set_prototype_of$2(o, p) {
19617
- _set_prototype_of$2 = Object.setPrototypeOf || function setPrototypeOf(o, p) {
19676
+ function _set_prototype_of$3(o, p) {
19677
+ _set_prototype_of$3 = Object.setPrototypeOf || function setPrototypeOf(o, p) {
19618
19678
  o.__proto__ = p;
19619
19679
  return o;
19620
19680
  };
19621
- return _set_prototype_of$2(o, p);
19681
+ return _set_prototype_of$3(o, p);
19622
19682
  }
19623
- function _type_of$2(obj) {
19683
+ function _type_of$3(obj) {
19624
19684
  "@swc/helpers - typeof";
19625
19685
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
19626
19686
  }
19627
- function _is_native_reflect_construct$2() {
19687
+ function _is_native_reflect_construct$3() {
19628
19688
  try {
19629
19689
  var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
19630
19690
  } catch (_) {}
19631
- return (_is_native_reflect_construct$2 = function() {
19691
+ return (_is_native_reflect_construct$3 = function() {
19632
19692
  return !!result;
19633
19693
  })();
19634
19694
  }
@@ -19642,7 +19702,7 @@ function _is_native_reflect_construct$2() {
19642
19702
  *
19643
19703
  * @dbxModelGroup OidcModel
19644
19704
  */ var OidcModelFirestoreCollections = function OidcModelFirestoreCollections() {
19645
- _class_call_check$4(this, OidcModelFirestoreCollections);
19705
+ _class_call_check$6(this, OidcModelFirestoreCollections);
19646
19706
  };
19647
19707
  // MARK: Identity
19648
19708
  /**
@@ -19656,12 +19716,12 @@ function _is_native_reflect_construct$2() {
19656
19716
  /**
19657
19717
  * Firestore document wrapper for {@link OidcEntry}.
19658
19718
  */ var OidcEntryDocument = /*#__PURE__*/ function(AbstractFirestoreDocument) {
19659
- _inherits$2(OidcEntryDocument, AbstractFirestoreDocument);
19719
+ _inherits$3(OidcEntryDocument, AbstractFirestoreDocument);
19660
19720
  function OidcEntryDocument() {
19661
- _class_call_check$4(this, OidcEntryDocument);
19662
- return _call_super$2(this, OidcEntryDocument, arguments);
19721
+ _class_call_check$6(this, OidcEntryDocument);
19722
+ return _call_super$3(this, OidcEntryDocument, arguments);
19663
19723
  }
19664
- _create_class$2(OidcEntryDocument, [
19724
+ _create_class$3(OidcEntryDocument, [
19665
19725
  {
19666
19726
  key: "modelIdentity",
19667
19727
  get: function get() {
@@ -19797,7 +19857,7 @@ function _is_native_reflect_construct$2() {
19797
19857
  return oidcEntriesByUidQuery('Grant', uid);
19798
19858
  }
19799
19859
 
19800
- function _class_call_check$3(instance, Constructor) {
19860
+ function _class_call_check$5(instance, Constructor) {
19801
19861
  if (!(instance instanceof Constructor)) {
19802
19862
  throw new TypeError("Cannot call a class as a function");
19803
19863
  }
@@ -19828,7 +19888,7 @@ var OIDC_MODEL_CRUD_FUNCTIONS_CONFIG = {
19828
19888
  *
19829
19889
  * Implement this in your app module to wire up the function endpoints.
19830
19890
  */ var OidcModelFunctions = function OidcModelFunctions() {
19831
- _class_call_check$3(this, OidcModelFunctions);
19891
+ _class_call_check$5(this, OidcModelFunctions);
19832
19892
  };
19833
19893
  /**
19834
19894
  * Client-side callable function map factory for OIDC client CRUD operations.
@@ -19888,7 +19948,7 @@ var OIDC_MODEL_CRUD_FUNCTIONS_CONFIG = {
19888
19948
  * Thrown if both the target model and storageFileId is not provided in CreateStorageFileGroupParams.
19889
19949
  */ var STORAGE_FILE_GROUP_CREATE_INPUT_ERROR_CODE = 'STORAGE_FILE_GROUP_CREATE_INPUT_ERROR';
19890
19950
 
19891
- function _class_call_check$2(instance, Constructor) {
19951
+ function _class_call_check$4(instance, Constructor) {
19892
19952
  if (!(instance instanceof Constructor)) {
19893
19953
  throw new TypeError("Cannot call a class as a function");
19894
19954
  }
@@ -20020,7 +20080,7 @@ var STORAGE_FILE_MODEL_CRUD_FUNCTIONS_CONFIG = {
20020
20080
  * Implement this in your app module to wire up the function endpoints.
20021
20081
  * Use {@link storageFileFunctionMap} to create a client-side callable map.
20022
20082
  */ var StorageFileFunctions = function StorageFileFunctions() {
20023
- _class_call_check$2(this, StorageFileFunctions);
20083
+ _class_call_check$4(this, StorageFileFunctions);
20024
20084
  };
20025
20085
  /**
20026
20086
  * Client-side callable function map factory for all StorageFile and StorageFileGroup CRUD operations.
@@ -20052,22 +20112,22 @@ var STORAGE_FILE_MODEL_CRUD_FUNCTIONS_CONFIG = {
20052
20112
  * ```
20053
20113
  */ var inferStorageFileGroupRelatedModelKey = inferKeyFromTwoWayFlatFirestoreModelKey;
20054
20114
 
20055
- function _assert_this_initialized$1(self) {
20115
+ function _assert_this_initialized$2(self) {
20056
20116
  if (self === void 0) {
20057
20117
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
20058
20118
  }
20059
20119
  return self;
20060
20120
  }
20061
- function _call_super$1(_this, derived, args) {
20062
- derived = _get_prototype_of$1(derived);
20063
- 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));
20121
+ function _call_super$2(_this, derived, args) {
20122
+ derived = _get_prototype_of$2(derived);
20123
+ 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));
20064
20124
  }
20065
- function _class_call_check$1(instance, Constructor) {
20125
+ function _class_call_check$3(instance, Constructor) {
20066
20126
  if (!(instance instanceof Constructor)) {
20067
20127
  throw new TypeError("Cannot call a class as a function");
20068
20128
  }
20069
20129
  }
20070
- function _defineProperties$1(target, props) {
20130
+ function _defineProperties$2(target, props) {
20071
20131
  for(var i = 0; i < props.length; i++){
20072
20132
  var descriptor = props[i];
20073
20133
  descriptor.enumerable = descriptor.enumerable || false;
@@ -20076,17 +20136,17 @@ function _defineProperties$1(target, props) {
20076
20136
  Object.defineProperty(target, descriptor.key, descriptor);
20077
20137
  }
20078
20138
  }
20079
- function _create_class$1(Constructor, protoProps, staticProps) {
20080
- if (protoProps) _defineProperties$1(Constructor.prototype, protoProps);
20139
+ function _create_class$2(Constructor, protoProps, staticProps) {
20140
+ if (protoProps) _defineProperties$2(Constructor.prototype, protoProps);
20081
20141
  return Constructor;
20082
20142
  }
20083
- function _get_prototype_of$1(o) {
20084
- _get_prototype_of$1 = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
20143
+ function _get_prototype_of$2(o) {
20144
+ _get_prototype_of$2 = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
20085
20145
  return o.__proto__ || Object.getPrototypeOf(o);
20086
20146
  };
20087
- return _get_prototype_of$1(o);
20147
+ return _get_prototype_of$2(o);
20088
20148
  }
20089
- function _inherits$1(subClass, superClass) {
20149
+ function _inherits$2(subClass, superClass) {
20090
20150
  if (typeof superClass !== "function" && superClass !== null) {
20091
20151
  throw new TypeError("Super expression must either be null or a function");
20092
20152
  }
@@ -20097,30 +20157,30 @@ function _inherits$1(subClass, superClass) {
20097
20157
  configurable: true
20098
20158
  }
20099
20159
  });
20100
- if (superClass) _set_prototype_of$1(subClass, superClass);
20160
+ if (superClass) _set_prototype_of$2(subClass, superClass);
20101
20161
  }
20102
- function _possible_constructor_return$1(self, call) {
20103
- if (call && (_type_of$1(call) === "object" || typeof call === "function")) {
20162
+ function _possible_constructor_return$2(self, call) {
20163
+ if (call && (_type_of$2(call) === "object" || typeof call === "function")) {
20104
20164
  return call;
20105
20165
  }
20106
- return _assert_this_initialized$1(self);
20166
+ return _assert_this_initialized$2(self);
20107
20167
  }
20108
- function _set_prototype_of$1(o, p) {
20109
- _set_prototype_of$1 = Object.setPrototypeOf || function setPrototypeOf(o, p) {
20168
+ function _set_prototype_of$2(o, p) {
20169
+ _set_prototype_of$2 = Object.setPrototypeOf || function setPrototypeOf(o, p) {
20110
20170
  o.__proto__ = p;
20111
20171
  return o;
20112
20172
  };
20113
- return _set_prototype_of$1(o, p);
20173
+ return _set_prototype_of$2(o, p);
20114
20174
  }
20115
- function _type_of$1(obj) {
20175
+ function _type_of$2(obj) {
20116
20176
  "@swc/helpers - typeof";
20117
20177
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
20118
20178
  }
20119
- function _is_native_reflect_construct$1() {
20179
+ function _is_native_reflect_construct$2() {
20120
20180
  try {
20121
20181
  var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
20122
20182
  } catch (_) {}
20123
- return (_is_native_reflect_construct$1 = function() {
20183
+ return (_is_native_reflect_construct$2 = function() {
20124
20184
  return !!result;
20125
20185
  })();
20126
20186
  }
@@ -20145,7 +20205,7 @@ function _is_native_reflect_construct$1() {
20145
20205
  *
20146
20206
  * @dbxModelGroup StorageFile
20147
20207
  */ var StorageFileFirestoreCollections = function StorageFileFirestoreCollections() {
20148
- _class_call_check$1(this, StorageFileFirestoreCollections);
20208
+ _class_call_check$3(this, StorageFileFirestoreCollections);
20149
20209
  };
20150
20210
  // MARK: StorageFile
20151
20211
  var storageFileIdentity = firestoreModelIdentity('storageFile', 'sf');
@@ -20294,12 +20354,12 @@ var storageFileIdentity = firestoreModelIdentity('storageFile', 'sf');
20294
20354
  /**
20295
20355
  * Firestore document wrapper for a {@link StorageFile}.
20296
20356
  */ var StorageFileDocument = /*#__PURE__*/ function(AbstractFirestoreDocument) {
20297
- _inherits$1(StorageFileDocument, AbstractFirestoreDocument);
20357
+ _inherits$2(StorageFileDocument, AbstractFirestoreDocument);
20298
20358
  function StorageFileDocument() {
20299
- _class_call_check$1(this, StorageFileDocument);
20300
- return _call_super$1(this, StorageFileDocument, arguments);
20359
+ _class_call_check$3(this, StorageFileDocument);
20360
+ return _call_super$2(this, StorageFileDocument, arguments);
20301
20361
  }
20302
- _create_class$1(StorageFileDocument, [
20362
+ _create_class$2(StorageFileDocument, [
20303
20363
  {
20304
20364
  key: "modelIdentity",
20305
20365
  get: function get() {
@@ -20403,12 +20463,12 @@ var storageFileIdentity = firestoreModelIdentity('storageFile', 'sf');
20403
20463
  *
20404
20464
  * Provides a convenience getter to infer the related model key from the group's own ID.
20405
20465
  */ var StorageFileGroupDocument = /*#__PURE__*/ function(AbstractFirestoreDocument) {
20406
- _inherits$1(StorageFileGroupDocument, AbstractFirestoreDocument);
20466
+ _inherits$2(StorageFileGroupDocument, AbstractFirestoreDocument);
20407
20467
  function StorageFileGroupDocument() {
20408
- _class_call_check$1(this, StorageFileGroupDocument);
20409
- return _call_super$1(this, StorageFileGroupDocument, arguments);
20468
+ _class_call_check$3(this, StorageFileGroupDocument);
20469
+ return _call_super$2(this, StorageFileGroupDocument, arguments);
20410
20470
  }
20411
- _create_class$1(StorageFileGroupDocument, [
20471
+ _create_class$2(StorageFileGroupDocument, [
20412
20472
  {
20413
20473
  key: "modelIdentity",
20414
20474
  get: function get() {
@@ -20518,7 +20578,7 @@ function _async_to_generator$2(fn) {
20518
20578
  });
20519
20579
  };
20520
20580
  }
20521
- function _define_property$3(obj, key, value) {
20581
+ function _define_property$4(obj, key, value) {
20522
20582
  if (key in obj) {
20523
20583
  Object.defineProperty(obj, key, {
20524
20584
  value: value,
@@ -20531,7 +20591,7 @@ function _define_property$3(obj, key, value) {
20531
20591
  }
20532
20592
  return obj;
20533
20593
  }
20534
- function _object_spread$3(target) {
20594
+ function _object_spread$4(target) {
20535
20595
  for(var i = 1; i < arguments.length; i++){
20536
20596
  var source = arguments[i] != null ? arguments[i] : {};
20537
20597
  var ownKeys = Object.keys(source);
@@ -20541,7 +20601,7 @@ function _object_spread$3(target) {
20541
20601
  }));
20542
20602
  }
20543
20603
  ownKeys.forEach(function(key) {
20544
- _define_property$3(target, key, source[key]);
20604
+ _define_property$4(target, key, source[key]);
20545
20605
  });
20546
20606
  }
20547
20607
  return target;
@@ -20732,7 +20792,7 @@ function _ts_generator$2(thisArg, body) {
20732
20792
  }
20733
20793
  g = storageFileGroupIds !== null && storageFileGroupIds !== void 0 ? storageFileGroupIds : [];
20734
20794
  gs = g.length > 0 && flagForStorageFileGroupsSync !== false;
20735
- template = _object_spread_props$1(_object_spread$3({}, inputTemplate), {
20795
+ template = _object_spread_props$1(_object_spread$4({}, inputTemplate), {
20736
20796
  o: ownershipKey !== null && ownershipKey !== void 0 ? ownershipKey : inputTemplate === null || inputTemplate === void 0 ? void 0 : inputTemplate.o,
20737
20797
  n: displayName !== null && displayName !== void 0 ? displayName : inputTemplate === null || inputTemplate === void 0 ? void 0 : inputTemplate.n,
20738
20798
  g: g,
@@ -21087,7 +21147,7 @@ function _async_to_generator$1(fn) {
21087
21147
  });
21088
21148
  };
21089
21149
  }
21090
- function _define_property$2(obj, key, value) {
21150
+ function _define_property$3(obj, key, value) {
21091
21151
  if (key in obj) {
21092
21152
  Object.defineProperty(obj, key, {
21093
21153
  value: value,
@@ -21127,7 +21187,7 @@ function _iterable_to_array_limit(arr, i) {
21127
21187
  function _non_iterable_rest() {
21128
21188
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
21129
21189
  }
21130
- function _object_spread$2(target) {
21190
+ function _object_spread$3(target) {
21131
21191
  for(var i = 1; i < arguments.length; i++){
21132
21192
  var source = arguments[i] != null ? arguments[i] : {};
21133
21193
  var ownKeys = Object.keys(source);
@@ -21137,7 +21197,7 @@ function _object_spread$2(target) {
21137
21197
  }));
21138
21198
  }
21139
21199
  ownKeys.forEach(function(key) {
21140
- _define_property$2(target, key, source[key]);
21200
+ _define_property$3(target, key, source[key]);
21141
21201
  });
21142
21202
  }
21143
21203
  return target;
@@ -21307,7 +21367,7 @@ function _ts_generator$1(thisArg, body) {
21307
21367
  ]), a = _ref[0], b = _ref[1];
21308
21368
  return [
21309
21369
  2,
21310
- _object_spread$2({}, a, b)
21370
+ _object_spread$3({}, a, b)
21311
21371
  ];
21312
21372
  }
21313
21373
  });
@@ -21317,7 +21377,7 @@ function _ts_generator$1(thisArg, body) {
21317
21377
  };
21318
21378
  }
21319
21379
 
21320
- function _define_property$1(obj, key, value) {
21380
+ function _define_property$2(obj, key, value) {
21321
21381
  if (key in obj) {
21322
21382
  Object.defineProperty(obj, key, {
21323
21383
  value: value,
@@ -21330,7 +21390,7 @@ function _define_property$1(obj, key, value) {
21330
21390
  }
21331
21391
  return obj;
21332
21392
  }
21333
- function _object_spread$1(target) {
21393
+ function _object_spread$2(target) {
21334
21394
  for(var i = 1; i < arguments.length; i++){
21335
21395
  var source = arguments[i] != null ? arguments[i] : {};
21336
21396
  var ownKeys = Object.keys(source);
@@ -21340,7 +21400,7 @@ function _object_spread$1(target) {
21340
21400
  }));
21341
21401
  }
21342
21402
  ownKeys.forEach(function(key) {
21343
- _define_property$1(target, key, source[key]);
21403
+ _define_property$2(target, key, source[key]);
21344
21404
  });
21345
21405
  }
21346
21406
  return target;
@@ -21369,7 +21429,7 @@ function _object_spread$1(target) {
21369
21429
  var getPathDetails = cachedGetter(function() {
21370
21430
  return slashPathDetails(file.storagePath.pathString);
21371
21431
  });
21372
- var details = _object_spread$1({}, file.storagePath);
21432
+ var details = _object_spread$2({}, file.storagePath);
21373
21433
  var loadFileMetadata = cachedGetter(function() {
21374
21434
  return file.getMetadata();
21375
21435
  });
@@ -21504,7 +21564,7 @@ function _async_to_generator(fn) {
21504
21564
  });
21505
21565
  };
21506
21566
  }
21507
- function _define_property(obj, key, value) {
21567
+ function _define_property$1(obj, key, value) {
21508
21568
  if (key in obj) {
21509
21569
  Object.defineProperty(obj, key, {
21510
21570
  value: value,
@@ -21517,7 +21577,7 @@ function _define_property(obj, key, value) {
21517
21577
  }
21518
21578
  return obj;
21519
21579
  }
21520
- function _object_spread(target) {
21580
+ function _object_spread$1(target) {
21521
21581
  for(var i = 1; i < arguments.length; i++){
21522
21582
  var source = arguments[i] != null ? arguments[i] : {};
21523
21583
  var ownKeys = Object.keys(source);
@@ -21527,7 +21587,7 @@ function _object_spread(target) {
21527
21587
  }));
21528
21588
  }
21529
21589
  ownKeys.forEach(function(key) {
21530
- _define_property(target, key, source[key]);
21590
+ _define_property$1(target, key, source[key]);
21531
21591
  });
21532
21592
  }
21533
21593
  return target;
@@ -21857,7 +21917,7 @@ function _ts_generator(thisArg, body) {
21857
21917
  if (matchesBasePath && (allowSubPaths ? subPathParts.length >= 2 : subPathParts.length === 2)) {
21858
21918
  // must have two parts: the user folder and the file
21859
21919
  user = subPathParts[0];
21860
- result = _object_spread_props(_object_spread({}, determinerResult), {
21920
+ result = _object_spread_props(_object_spread$1({}, determinerResult), {
21861
21921
  user: user
21862
21922
  });
21863
21923
  }
@@ -21896,7 +21956,7 @@ function _ts_generator(thisArg, body) {
21896
21956
  *
21897
21957
  * @__NO_SIDE_EFFECTS__
21898
21958
  */ function determineUserByUserUploadsFolderWrapperFunction(config) {
21899
- return determineUserByFolderWrapperFunction(_object_spread_props(_object_spread({}, config), {
21959
+ return determineUserByFolderWrapperFunction(_object_spread_props(_object_spread$1({}, config), {
21900
21960
  rootFolder: UPLOADS_FOLDER_PATH,
21901
21961
  userFolderPrefix: ALL_USER_UPLOADS_FOLDER_NAME
21902
21962
  }));
@@ -22202,22 +22262,22 @@ function _ts_generator(thisArg, body) {
22202
22262
  };
22203
22263
  }
22204
22264
 
22205
- function _assert_this_initialized(self) {
22265
+ function _assert_this_initialized$1(self) {
22206
22266
  if (self === void 0) {
22207
22267
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
22208
22268
  }
22209
22269
  return self;
22210
22270
  }
22211
- function _call_super(_this, derived, args) {
22212
- derived = _get_prototype_of(derived);
22213
- return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
22271
+ function _call_super$1(_this, derived, args) {
22272
+ derived = _get_prototype_of$1(derived);
22273
+ 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));
22214
22274
  }
22215
- function _class_call_check(instance, Constructor) {
22275
+ function _class_call_check$2(instance, Constructor) {
22216
22276
  if (!(instance instanceof Constructor)) {
22217
22277
  throw new TypeError("Cannot call a class as a function");
22218
22278
  }
22219
22279
  }
22220
- function _defineProperties(target, props) {
22280
+ function _defineProperties$1(target, props) {
22221
22281
  for(var i = 0; i < props.length; i++){
22222
22282
  var descriptor = props[i];
22223
22283
  descriptor.enumerable = descriptor.enumerable || false;
@@ -22226,17 +22286,17 @@ function _defineProperties(target, props) {
22226
22286
  Object.defineProperty(target, descriptor.key, descriptor);
22227
22287
  }
22228
22288
  }
22229
- function _create_class(Constructor, protoProps, staticProps) {
22230
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
22289
+ function _create_class$1(Constructor, protoProps, staticProps) {
22290
+ if (protoProps) _defineProperties$1(Constructor.prototype, protoProps);
22231
22291
  return Constructor;
22232
22292
  }
22233
- function _get_prototype_of(o) {
22234
- _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
22293
+ function _get_prototype_of$1(o) {
22294
+ _get_prototype_of$1 = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
22235
22295
  return o.__proto__ || Object.getPrototypeOf(o);
22236
22296
  };
22237
- return _get_prototype_of(o);
22297
+ return _get_prototype_of$1(o);
22238
22298
  }
22239
- function _inherits(subClass, superClass) {
22299
+ function _inherits$1(subClass, superClass) {
22240
22300
  if (typeof superClass !== "function" && superClass !== null) {
22241
22301
  throw new TypeError("Super expression must either be null or a function");
22242
22302
  }
@@ -22247,30 +22307,30 @@ function _inherits(subClass, superClass) {
22247
22307
  configurable: true
22248
22308
  }
22249
22309
  });
22250
- if (superClass) _set_prototype_of(subClass, superClass);
22310
+ if (superClass) _set_prototype_of$1(subClass, superClass);
22251
22311
  }
22252
- function _possible_constructor_return(self, call) {
22253
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
22312
+ function _possible_constructor_return$1(self, call) {
22313
+ if (call && (_type_of$1(call) === "object" || typeof call === "function")) {
22254
22314
  return call;
22255
22315
  }
22256
- return _assert_this_initialized(self);
22316
+ return _assert_this_initialized$1(self);
22257
22317
  }
22258
- function _set_prototype_of(o, p) {
22259
- _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
22318
+ function _set_prototype_of$1(o, p) {
22319
+ _set_prototype_of$1 = Object.setPrototypeOf || function setPrototypeOf(o, p) {
22260
22320
  o.__proto__ = p;
22261
22321
  return o;
22262
22322
  };
22263
- return _set_prototype_of(o, p);
22323
+ return _set_prototype_of$1(o, p);
22264
22324
  }
22265
- function _type_of(obj) {
22325
+ function _type_of$1(obj) {
22266
22326
  "@swc/helpers - typeof";
22267
22327
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
22268
22328
  }
22269
- function _is_native_reflect_construct() {
22329
+ function _is_native_reflect_construct$1() {
22270
22330
  try {
22271
22331
  var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
22272
22332
  } catch (_) {}
22273
- return (_is_native_reflect_construct = function() {
22333
+ return (_is_native_reflect_construct$1 = function() {
22274
22334
  return !!result;
22275
22335
  })();
22276
22336
  }
@@ -22293,11 +22353,16 @@ function _is_native_reflect_construct() {
22293
22353
  *
22294
22354
  * @dbxModelGroup SystemState
22295
22355
  */ var SystemStateFirestoreCollections = function SystemStateFirestoreCollections() {
22296
- _class_call_check(this, SystemStateFirestoreCollections);
22356
+ _class_call_check$2(this, SystemStateFirestoreCollections);
22297
22357
  };
22298
22358
  // MARK: SystemState
22299
22359
  /**
22300
- * Model identity for the SystemState collection (collection name: `systemState`, prefix: `sys`).
22360
+ * Model identity for the SystemState collection.
22361
+ *
22362
+ * NOTE: the second argument of `firestoreModelIdentity()` is the COLLECTION NAME, so this is model
22363
+ * type `systemState` stored at the Firestore path `sys/<docId>` — not the other way around.
22364
+ * `systemStateCollectionReference()` resolves `identity.collectionName`, and `firestore.rules` match
22365
+ * blocks are written against `/sys`.
22301
22366
  */ var systemStateIdentity = firestoreModelIdentity('systemState', 'sys');
22302
22367
  /**
22303
22368
  * Firestore document wrapper for a {@link SystemState} singleton.
@@ -22307,12 +22372,12 @@ function _is_native_reflect_construct() {
22307
22372
  *
22308
22373
  * @template T - shape of the stored data record
22309
22374
  */ var SystemStateDocument = /*#__PURE__*/ function(AbstractFirestoreDocument) {
22310
- _inherits(SystemStateDocument, AbstractFirestoreDocument);
22375
+ _inherits$1(SystemStateDocument, AbstractFirestoreDocument);
22311
22376
  function SystemStateDocument() {
22312
- _class_call_check(this, SystemStateDocument);
22313
- return _call_super(this, SystemStateDocument, arguments);
22377
+ _class_call_check$2(this, SystemStateDocument);
22378
+ return _call_super$1(this, SystemStateDocument, arguments);
22314
22379
  }
22315
- _create_class(SystemStateDocument, [
22380
+ _create_class$1(SystemStateDocument, [
22316
22381
  {
22317
22382
  key: "modelIdentity",
22318
22383
  get: function get() {
@@ -22345,6 +22410,41 @@ function _is_native_reflect_construct() {
22345
22410
  */ function systemStateCollectionReference(context) {
22346
22411
  return context.collection(systemStateIdentity.collectionName);
22347
22412
  }
22413
+ /**
22414
+ * Creates the `converterFactory` for a SystemState collection, selecting a converter by document id
22415
+ * (which is the {@link SystemStateTypeIdentifier}).
22416
+ *
22417
+ * Returning `undefined` is what produces the pass-through fallback — the accessor resolves
22418
+ * `converterFactory(ref) ?? defaultConverter`.
22419
+ *
22420
+ * NOTE for `error`: the factory runs in `loadDocument` / `documentRefForKey`, so an unregistered type
22421
+ * throws at document *load*, including while hydrating query results. That is intended for a
22422
+ * server-only collection, but it does mean you cannot generically iterate such a collection unless
22423
+ * every type it contains is registered.
22424
+ *
22425
+ * @param config - The converter map and unknown-type behavior.
22426
+ * @returns A converter factory suitable for a Firestore collection's `converterFactory`.
22427
+ */ function systemStateStoredDataConverterFactory(config) {
22428
+ var converters = config.converters, unknownTypeBehavior = config.unknownTypeBehavior, collectionName = config.collectionName;
22429
+ var behavior = unknownTypeBehavior !== null && unknownTypeBehavior !== void 0 ? unknownTypeBehavior : 'passthrough';
22430
+ var mappedConvertersGetter = cachedGetter(function() {
22431
+ return mapObjectMap(converters, function(dataConverter) {
22432
+ return snapshotConverterFunctions({
22433
+ fields: {
22434
+ data: dataConverter
22435
+ }
22436
+ });
22437
+ });
22438
+ });
22439
+ return function(ref) {
22440
+ var type = ref.id;
22441
+ var converter = mappedConvertersGetter()[type];
22442
+ if (converter == null && behavior === 'error') {
22443
+ throw new Error('systemStateStoredDataConverterFactory: no converter registered for SystemState type "'.concat(type, '"').concat(collectionName ? ' in collection "'.concat(collectionName, '"') : '', ". Register it, or use unknownTypeBehavior: 'passthrough'."));
22444
+ }
22445
+ return converter;
22446
+ };
22447
+ }
22348
22448
  /**
22349
22449
  * Creates a {@link SystemStateFirestoreCollection} with per-type data converters.
22350
22450
  *
@@ -22364,21 +22464,15 @@ function _is_native_reflect_construct() {
22364
22464
  * const doc = collection.documentAccessor().loadDocumentForId('migration_v2');
22365
22465
  * ```
22366
22466
  */ function systemStateFirestoreCollection(firestoreContext, converters) {
22367
- var mappedConvertersGetter = cachedGetter(function() {
22368
- return mapObjectMap(converters, function(dataConverter) {
22369
- return snapshotConverterFunctions({
22370
- fields: {
22371
- data: dataConverter
22372
- }
22373
- });
22374
- });
22375
- });
22376
22467
  return firestoreContext.firestoreCollection({
22377
22468
  converter: systemStateConverter,
22378
- converterFactory: function converterFactory(ref) {
22379
- var type = ref.id;
22380
- return mappedConvertersGetter()[type];
22381
- },
22469
+ // 'passthrough' preserves the historical behavior: an unregistered type silently falls back to
22470
+ // the default pass-through converter rather than throwing.
22471
+ converterFactory: systemStateStoredDataConverterFactory({
22472
+ converters: converters,
22473
+ unknownTypeBehavior: 'passthrough',
22474
+ collectionName: systemStateIdentity.collectionName
22475
+ }),
22382
22476
  modelIdentity: systemStateIdentity,
22383
22477
  collection: systemStateCollectionReference(firestoreContext),
22384
22478
  makeDocument: function makeDocument(a, d) {
@@ -22388,4 +22482,406 @@ function _is_native_reflect_construct() {
22388
22482
  });
22389
22483
  }
22390
22484
 
22391
- export { 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, AppNotificationTemplateTypeInfoRecordService, BAD_DOCUMENT_QUERY_CURSOR_ERROR_CODE, BAD_REQUEST_ERROR_CODE, BASE_MODEL_STORAGE_FILE_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, 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_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_UNITED_STATES_ADDRESS_VALUE, DEFAULT_FIRESTORE_WEBSITE_FILE_LINK_VALUE, DEFAULT_IN_MEMORY_CACHE_TTL, DEFAULT_ITERATE_FIRESTORE_DOCUMENT_SNAPSHOT_BATCHES_BATCH_SIZE, DEFAULT_MODEL_FUNCTION_FIREBASE_CRUD_FUNCTION_SPECIFIER, 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, 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_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, FirebaseDevelopmentFunctions, FirebaseModelPermissionServiceInstance, FirebaseServerError, FirestoreAccessorStreamMode, FirestoreDocumentContextType, 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, 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_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, _createNotificationDocumentFromPair, abstractSubscribeOrUnsubscribeToNotificationBoxParamsType, abstractSubscribeToNotificationBoxParamsType, addConstraintToBuilder, addOrReplaceLimitInConstraints, adminOnlyScopesForOidcProviderProfiles, allChildDocumentsUnderParent, allChildDocumentsUnderParentPath, allChildDocumentsUnderRelativePath, allNotificationHealthCheckIssues, allowDocumentSnapshotWithPathOnceFilter, allowedNotificationRecipients, appNotificationTemplateTypeInfoRecordService, applyExclusionsToNotificationUserNotificationBoxRecipientConfigs, arrayUpdateWithAccessorFunction, asTopLevelFieldPath, asTopLevelFieldPaths, assertFirestoreUpdateHasData, assertStorageUploadOptionsStringFormat, assignDateCellRangeFunction, assignDateCellScheduleFunction, assignUnitedStatesAddressFunction, assignWebsiteFileLinkFunction, assignWebsiteLinkFunction, assignmentOnlyScopesForOidcProviderProfiles, buildFirebaseCollectionTypeModelTypeMap, calculateNsForNotificationUserNotificationBoxRecipientConfigs, calculateStorageFileGroupEmbeddedFileUpdate, calculateStorageFileGroupRegeneration, callModelFirebaseFunctionMapFactory, callModelOidcScopeForCallType, canQueueStorageFileForProcessing, childFirestoreModelKey, childFirestoreModelKeyPath, childFirestoreModelKeys, cleanupOldNotificationLoggedEventDaysParamsType, cleanupSentNotificationsParamsType, clientFirebaseFirestoreContextFactory, clientFirebaseStorageContextFactory, combineUploadFileTypeDeterminers, completeSubtaskProcessingAndScheduleCleanupTaskResult, contextGrantedModelRolesReader, contextGrantedModelRolesReaderDoesNotExistErrorMessage, contextGrantedModelRolesReaderPermissionErrorMessage, convertHttpsCallableErrorToReadableError, copyDocumentIdForUserRelatedModifierFunction, copyDocumentIdToFieldModifierFunction, copyStoragePath, copyUserRelatedDataAccessorFactoryFunction, copyUserRelatedDataModifierConfig, createNotificationBoxParamsType, createNotificationDocument, createNotificationDocumentIfSending, createNotificationDocumentPair, createNotificationLoggedEventTemplate, createNotificationSummaryParamsType, createNotificationTaskTemplate, createNotificationTemplate, createNotificationUserParamsType, createOidcClientFieldParamsType, createOidcClientParamsType, createStorageFileDocumentPair, createStorageFileDocumentPairFactory, createStorageFileGroupParamsType, createStorageFileParamsType, createStorageFileSignedUploadUrlParamsType, dataFromDocumentSnapshots, dataFromSnapshotStream, decodeFirebaseAuthOobCode, defaultOidcProviderProfiles, defaultPagedItemPageDataConverter, defaultUnlockedScopesForOidcProviderProfiles, delayCompletion, deleteAllQueuedStorageFilesParamsType, targetModelParamsType as deleteOidcClientParamsType, targetModelParamsType as deleteOidcTokenParamsType, deleteStorageFileParamsType, determineByFileName, determineByFilePath, determineByFolderName, determineUserByFolder, determineUserByFolderWrapperFunction, determineUserByUserUploadsFolderWrapperFunction, developmentFirebaseFunctionMapFactory, directDataHttpsCallable, documentData, documentDataFunction, documentDataWithIdAndKey, documentReferenceFromDocument, documentReferencesFromDocuments, documentReferencesFromSnapshot, downloadMultipleStorageFilesFileParamsType, downloadMultipleStorageFilesParamsType, downloadStorageFileParamsType, effectiveNotificationBoxRecipientConfig, effectiveNotificationBoxRecipientTemplateConfig, encodeFirebaseAuthOobCode, endAt, endAtValue, endBefore, 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, 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, flatFirestoreModelKey, getDataFromDocumentSnapshots, getDocumentSnapshotData, getDocumentSnapshotDataPair, getDocumentSnapshotDataPairs, getDocumentSnapshotDataPairsWithData, getDocumentSnapshotDataTuples, getDocumentSnapshotPair, getDocumentSnapshotPairs, getDocumentSnapshots, getDocumentSnapshotsData, grantFullAccessIfAdmin, grantFullAccessIfAuthUserRelated, grantModelRolesIfAdmin, grantModelRolesIfAdminFunction, grantModelRolesIfAuthUserRelatedModelFunction, grantModelRolesIfFunction, grantModelRolesIfHasAuthRolesFactory, grantModelRolesIfHasAuthRolesFunction, grantModelRolesOnlyIfFunction, grantStorageFileRolesForUserAuthFunction, inContextFirebaseModelServiceFactory, inContextFirebaseModelsServiceFactory, inMemoryFirestoreCollectionCacheDelegate, inMemoryFirestoreContextCache, inMemoryFirestoreContextCacheFactory, incrementUpdateWithAccessorFunction, inferKeyFromTwoWayFlatFirestoreModelKey, inferNotificationBoxRelatedModelKey, inferStorageFileGroupRelatedModelKey, inferredTargetModelIdParamsType, inferredTargetModelParamsType, initializeAllApplicableNotificationBoxesParamsType, initializeAllApplicableNotificationSummariesParamsType, initializeAllApplicableStorageFileGroupsParamsType, initializeAllStorageFilesFromUploadsParamsType, initializeNotificationModelParamsType, initializeStorageFileFromUploadParamsType, initializeStorageFileModelParamsType, interceptAccessorFactoryFunction, isAdminInFirebaseModelContext, isClientFirebaseError, isCompleteNotificationSendState, isFirebaseStorageObjectNotFoundError, isFirestoreModelId, isFirestoreModelIdOrKey, isFirestoreModelKey, isLoggedEventNotification, 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, loadStorageFileGroupDocumentForReferencePair, makeDocuments, makeFirestoreCollection, makeFirestoreCollectionGroup, makeFirestoreCollectionWithParent, makeFirestoreContextCache, makeFirestoreItemPageIteratorDelegate, makeFirestoreQueryConstraintFunctionsDriver, makePagedItemFirestoreCollection, makeRootSingleItemFirestoreCollection, makeSingleItemFirestoreCollection, mapDataFromSnapshot, mapHttpsCallable, mapLatestSnapshotsFromDocuments, 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, 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, optionalFirestoreString, optionalFirestoreUID, optionalFirestoreUnitedStatesAddress, optionalFirestoreUnixDateTimeSecondsNumber, orderBy, orderByDocumentId, processAllQueuedStorageFilesParamsType, processStorageFileParamsType, readFirestoreModelKey, readFirestoreModelKeyFromDocumentSnapshot, readLoggingFirestoreContextCache, readLoggingFirestoreContextCacheFactory, readMultipleStorageFilesMetadataFileParamsType, readMultipleStorageFilesMetadataParamsType, readStorageFileMetadataParamsType, regenerateAllFlaggedStorageFileGroupsContentParamsType, regenerateStorageFileGroupContentParamsType, replaceConstraints, requiredScopesForOidcProviderProfiles, resolveEffectiveOidcScopeTerms, resolveOidcModelScopeRequirement, resyncAllNotificationUserParamsType, targetModelParamsType as resyncNotificationUserParamsType, rollupNotificationDeliveryHealthCheckResultStatus, rollupNotificationHealthCheckResultStatus, rollupNotificationHealthCheckStatus, targetModelParamsType as rotateOidcClientSecretParamsType, scheduledFunctionDevelopmentFirebaseFunctionParamsType, scopesForOidcProviderProfiles, selectFromFirebaseModelsService, sendNotificationParamsType, sendQueuedNotificationsParamsType, separateConstraints, setIdAndKeyFromKeyIdRefOnDocumentData, setIdAndKeyFromSnapshotOnDocumentData, shouldSaveNotificationToNotificationWeek, shouldSendCreatedNotificationInput, snapshotConverterFunctions, snapshotStreamDataForAccessor, snapshotStreamForAccessor, sortNotificationItemsFunction, startAfter, startAt, startAtValue, storageFileCollectionReference, storageFileConverter, storageFileFirestoreCollection, storageFileFlaggedForSyncWithGroupsQuery, storageFileFunctionMap, storageFileGroupCollectionReference, storageFileGroupConverter, storageFileGroupCreateStorageFileKeyFactory, storageFileGroupCreatedStorageFileKey, storageFileGroupEmbeddedFile, storageFileGroupFirestoreCollection, storageFileGroupFolderPath, storageFileGroupIdForModel, storageFileGroupIdentity, storageFileGroupZipFileStoragePath, storageFileGroupZipStorageFileKey, storageFileGroupsFlaggedForContentRegenerationQuery, storageFileGroupsFlaggedForNeedsInitializationQuery, storageFileGroupsFlaggedInvalidQuery, storageFileIdentity, storageFileProcessingNotificationTaskTemplate, storageFilePurposeAndUserQuery, storageFilesQueuedForDeleteQuery, storageFilesQueuedForProcessingQuery, storageListFilesResultFactory, storageListFilesResultHasNoNextError, storagePathFactory, storedFileReaderFactory, streamDocumentSnapshotDataPairs, streamDocumentSnapshotDataPairsWithData, streamDocumentSnapshotsData, streamFromOnSnapshot, syncAllFlaggedStorageFilesWithGroupsParamsType, syncStorageFileWithGroupsParamsType, systemStateCollectionReference, systemStateConverter, systemStateFirestoreCollection, systemStateIdentity, targetModelIdParamsType, targetModelParamsType, twoWayFlatFirestoreModelKey, unreadNotificationItems, unsupportedFirestoreDriverFunctionError, untrackableNotificationHealthCheckProbe, targetModelParamsType as updateNotificationBoxParamsType, updateNotificationBoxRecipientLikeParamsType, updateNotificationBoxRecipientParamsType, updateNotificationBoxRecipientTemplateConfigRecord, updateNotificationRecipient, updateNotificationSummaryParamsType, updateNotificationUserDefaultNotificationBoxRecipientConfig, updateNotificationUserDefaultNotificationBoxRecipientConfigParamsType, updateNotificationUserNotificationBoxRecipientConfigIfChanged, updateNotificationUserNotificationBoxRecipientConfigs, updateNotificationUserNotificationBoxRecipientParamsType, updateNotificationUserNotificationSendExclusions, updateNotificationUserParamsType, updateOidcClientFieldParamsType, updateOidcClientParamsType, updateStorageFileGroupEntryParamsType, updateStorageFileGroupParamsType, updateStorageFileParamsType, updateWithAccessorUpdateAndConverterFunction, uploadFileWithStream, useContextAuth, useContextAuthUid, useDocumentSnapshot, useDocumentSnapshotData, useFirebaseModelsService, userUploadsFolderSlashPathFactory, userUploadsFolderStoragePathFactory, where, whereDateIsAfter, whereDateIsAfterWithSort, whereDateIsBefore, whereDateIsBeforeWithSort, whereDateIsBetween, whereDateIsInRange, whereDateIsOnOrAfter, whereDateIsOnOrAfterWithSort, whereDateIsOnOrBefore, whereDateIsOnOrBeforeWithSort, whereDocumentId, whereStringHasRootIdentityModelKey, whereStringValueHasPrefix };
22485
+ function _assert_this_initialized(self) {
22486
+ if (self === void 0) {
22487
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
22488
+ }
22489
+ return self;
22490
+ }
22491
+ function _call_super(_this, derived, args) {
22492
+ derived = _get_prototype_of(derived);
22493
+ return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
22494
+ }
22495
+ function _class_call_check$1(instance, Constructor) {
22496
+ if (!(instance instanceof Constructor)) {
22497
+ throw new TypeError("Cannot call a class as a function");
22498
+ }
22499
+ }
22500
+ function _defineProperties(target, props) {
22501
+ for(var i = 0; i < props.length; i++){
22502
+ var descriptor = props[i];
22503
+ descriptor.enumerable = descriptor.enumerable || false;
22504
+ descriptor.configurable = true;
22505
+ if ("value" in descriptor) descriptor.writable = true;
22506
+ Object.defineProperty(target, descriptor.key, descriptor);
22507
+ }
22508
+ }
22509
+ function _create_class(Constructor, protoProps, staticProps) {
22510
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
22511
+ return Constructor;
22512
+ }
22513
+ function _get_prototype_of(o) {
22514
+ _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
22515
+ return o.__proto__ || Object.getPrototypeOf(o);
22516
+ };
22517
+ return _get_prototype_of(o);
22518
+ }
22519
+ function _inherits(subClass, superClass) {
22520
+ if (typeof superClass !== "function" && superClass !== null) {
22521
+ throw new TypeError("Super expression must either be null or a function");
22522
+ }
22523
+ subClass.prototype = Object.create(superClass && superClass.prototype, {
22524
+ constructor: {
22525
+ value: subClass,
22526
+ writable: true,
22527
+ configurable: true
22528
+ }
22529
+ });
22530
+ if (superClass) _set_prototype_of(subClass, superClass);
22531
+ }
22532
+ function _possible_constructor_return(self, call) {
22533
+ if (call && (_type_of(call) === "object" || typeof call === "function")) {
22534
+ return call;
22535
+ }
22536
+ return _assert_this_initialized(self);
22537
+ }
22538
+ function _set_prototype_of(o, p) {
22539
+ _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
22540
+ o.__proto__ = p;
22541
+ return o;
22542
+ };
22543
+ return _set_prototype_of(o, p);
22544
+ }
22545
+ function _type_of(obj) {
22546
+ "@swc/helpers - typeof";
22547
+ return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
22548
+ }
22549
+ function _is_native_reflect_construct() {
22550
+ try {
22551
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
22552
+ } catch (_) {}
22553
+ return (_is_native_reflect_construct = function() {
22554
+ return !!result;
22555
+ })();
22556
+ }
22557
+ // MARK: UserExternalConnection
22558
+ var userExternalConnectionIdentity = firestoreModelIdentity('userExternalConnection', 'uec');
22559
+ var USER_EXTERNAL_CONNECTION_ENTRY_STATUSES = [
22560
+ 'connected',
22561
+ 'disconnected',
22562
+ 'error'
22563
+ ];
22564
+ var UserExternalConnectionDocument = /*#__PURE__*/ function(AbstractFirestoreDocument) {
22565
+ _inherits(UserExternalConnectionDocument, AbstractFirestoreDocument);
22566
+ function UserExternalConnectionDocument() {
22567
+ _class_call_check$1(this, UserExternalConnectionDocument);
22568
+ return _call_super(this, UserExternalConnectionDocument, arguments);
22569
+ }
22570
+ _create_class(UserExternalConnectionDocument, [
22571
+ {
22572
+ key: "modelIdentity",
22573
+ get: function get() {
22574
+ return userExternalConnectionIdentity;
22575
+ }
22576
+ }
22577
+ ]);
22578
+ return UserExternalConnectionDocument;
22579
+ }(AbstractFirestoreDocument);
22580
+ /**
22581
+ * Field conversions for a {@link UserExternalConnectionEntry}.
22582
+ */ var userExternalConnectionEntryFields = {
22583
+ st: firestoreEnum({
22584
+ default: 'disconnected'
22585
+ }),
22586
+ ca: optionalFirestoreArray(),
22587
+ ea: optionalFirestoreString(),
22588
+ l: optionalFirestoreString(),
22589
+ coa: optionalFirestoreDate(),
22590
+ exa: optionalFirestoreDate(),
22591
+ uat: firestoreDate({
22592
+ saveDefaultAsNow: true
22593
+ }),
22594
+ er: optionalFirestoreEnum()
22595
+ };
22596
+ var userExternalConnectionConverter = snapshotConverterFunctions({
22597
+ fields: {
22598
+ uid: firestoreUID(),
22599
+ e: firestoreObjectMap({
22600
+ objectField: {
22601
+ fields: userExternalConnectionEntryFields
22602
+ }
22603
+ }),
22604
+ c: firestoreEnumArray(),
22605
+ uat: firestoreDate({
22606
+ saveDefaultAsNow: true
22607
+ })
22608
+ }
22609
+ });
22610
+ /**
22611
+ * Copies the document id into `uid` on write, so the stored uid can never drift from the document id.
22612
+ */ var userExternalConnectionAccessorFactory = copyUserRelatedDataAccessorFactoryFunction();
22613
+ /**
22614
+ * Returns the root Firestore collection reference for UserExternalConnection documents.
22615
+ *
22616
+ * @param context - The FirestoreContext used to resolve the collection.
22617
+ * @returns A typed CollectionReference for the userExternalConnection collection.
22618
+ */ function userExternalConnectionCollectionReference(context) {
22619
+ return context.collection(userExternalConnectionIdentity.collectionName);
22620
+ }
22621
+ /**
22622
+ * Creates the Firestore collection accessor for UserExternalConnection documents.
22623
+ *
22624
+ * @param firestoreContext - The FirestoreContext used to build the collection.
22625
+ * @returns A UserExternalConnectionFirestoreCollection.
22626
+ */ function userExternalConnectionFirestoreCollection(firestoreContext) {
22627
+ return firestoreContext.firestoreCollection({
22628
+ modelIdentity: userExternalConnectionIdentity,
22629
+ converter: userExternalConnectionConverter,
22630
+ accessorFactory: userExternalConnectionAccessorFactory,
22631
+ collection: userExternalConnectionCollectionReference(firestoreContext),
22632
+ makeDocument: function makeDocument(accessor, documentAccessor) {
22633
+ return new UserExternalConnectionDocument(accessor, documentAccessor);
22634
+ },
22635
+ firestoreContext: firestoreContext
22636
+ });
22637
+ }
22638
+
22639
+ /**
22640
+ * Provider type for Cal.com.
22641
+ *
22642
+ * Declared here rather than in a server package because the string is the map key on BOTH halves of
22643
+ * the connection pair: the server's OAuth controller writes it and the client renders from it, so
22644
+ * they must be the same literal.
22645
+ */ var CALCOM_USER_EXTERNAL_CONNECTION_PROVIDER_TYPE = 'calcom';
22646
+ /**
22647
+ * Provider type for Zoom.
22648
+ */ var ZOOM_USER_EXTERNAL_CONNECTION_PROVIDER_TYPE = 'zoom';
22649
+ /**
22650
+ * Provider type for Discord.
22651
+ */ var DISCORD_USER_EXTERNAL_CONNECTION_PROVIDER_TYPE = 'discord';
22652
+ /**
22653
+ * Provider type for Zoho.
22654
+ */ var ZOHO_USER_EXTERNAL_CONNECTION_PROVIDER_TYPE = 'zoho';
22655
+
22656
+ function _define_property(obj, key, value) {
22657
+ if (key in obj) {
22658
+ Object.defineProperty(obj, key, {
22659
+ value: value,
22660
+ enumerable: true,
22661
+ configurable: true,
22662
+ writable: true
22663
+ });
22664
+ } else {
22665
+ obj[key] = value;
22666
+ }
22667
+ return obj;
22668
+ }
22669
+ function _object_spread(target) {
22670
+ for(var i = 1; i < arguments.length; i++){
22671
+ var source = arguments[i] != null ? arguments[i] : {};
22672
+ var ownKeys = Object.keys(source);
22673
+ if (typeof Object.getOwnPropertySymbols === "function") {
22674
+ ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
22675
+ return Object.getOwnPropertyDescriptor(source, sym).enumerable;
22676
+ }));
22677
+ }
22678
+ ownKeys.forEach(function(key) {
22679
+ _define_property(target, key, source[key]);
22680
+ });
22681
+ }
22682
+ return target;
22683
+ }
22684
+ // MARK: Derivation
22685
+ /**
22686
+ * The SOLE producer of a {@link UserExternalConnection}'s `c` array.
22687
+ *
22688
+ * Membership is exactly the provider types whose entry status is `connected`. `disconnected` and
22689
+ * `error` entries are excluded — the array backs a "which users can I actually call X for?" query,
22690
+ * and `array-contains` has no way to filter by status afterwards.
22691
+ *
22692
+ * @param entries - The per-provider entry map to derive from.
22693
+ * @returns The connected provider types, sorted for a stable stored value.
22694
+ */ function userExternalConnectionConnectedProviderTypes(entries) {
22695
+ var result = entries ? Object.keys(entries).filter(function(x) {
22696
+ var _entries_x;
22697
+ return ((_entries_x = entries[x]) === null || _entries_x === void 0 ? void 0 : _entries_x.st) === 'connected';
22698
+ }) : [];
22699
+ result.sort();
22700
+ return result;
22701
+ }
22702
+ /**
22703
+ * Derives the {@link UserExternalConnectionEntry} for an operation's outcome.
22704
+ *
22705
+ * @param input - The outcome plus the grant it derives from.
22706
+ * @returns The next entry, or null when the provider's entry should be REMOVED from the map.
22707
+ */ function userExternalConnectionEntryForOutcome(input) {
22708
+ var outcome = input.outcome, grant = input.grant, error = input.error, previous = input.previous, retainEntry = input.retainEntry, now = input.now;
22709
+ var result = null;
22710
+ switch(outcome){
22711
+ case 'connected':
22712
+ var _ref, _ref1;
22713
+ result = {
22714
+ st: 'connected',
22715
+ ca: grant === null || grant === void 0 ? void 0 : grant.scopes,
22716
+ ea: grant === null || grant === void 0 ? void 0 : grant.externalAccountId,
22717
+ l: grant === null || grant === void 0 ? void 0 : grant.label,
22718
+ coa: (_ref = (_ref1 = previous === null || previous === void 0 ? void 0 : previous.coa) !== null && _ref1 !== void 0 ? _ref1 : grant === null || grant === void 0 ? void 0 : grant.connectedAt) !== null && _ref !== void 0 ? _ref : now,
22719
+ exa: grant === null || grant === void 0 ? void 0 : grant.expiresAt,
22720
+ uat: now,
22721
+ er: null
22722
+ };
22723
+ break;
22724
+ case 'error':
22725
+ var _ref2, _ref3, _ref4, _ref5, _ref6;
22726
+ // an errored connection keeps describing the account it was connected to, so the UI can say
22727
+ // which account needs attention.
22728
+ result = {
22729
+ st: 'error',
22730
+ ca: (_ref2 = grant === null || grant === void 0 ? void 0 : grant.scopes) !== null && _ref2 !== void 0 ? _ref2 : previous === null || previous === void 0 ? void 0 : previous.ca,
22731
+ ea: (_ref3 = grant === null || grant === void 0 ? void 0 : grant.externalAccountId) !== null && _ref3 !== void 0 ? _ref3 : previous === null || previous === void 0 ? void 0 : previous.ea,
22732
+ l: (_ref4 = grant === null || grant === void 0 ? void 0 : grant.label) !== null && _ref4 !== void 0 ? _ref4 : previous === null || previous === void 0 ? void 0 : previous.l,
22733
+ coa: (_ref5 = previous === null || previous === void 0 ? void 0 : previous.coa) !== null && _ref5 !== void 0 ? _ref5 : grant === null || grant === void 0 ? void 0 : grant.connectedAt,
22734
+ exa: (_ref6 = grant === null || grant === void 0 ? void 0 : grant.expiresAt) !== null && _ref6 !== void 0 ? _ref6 : previous === null || previous === void 0 ? void 0 : previous.exa,
22735
+ uat: now,
22736
+ er: error !== null && error !== void 0 ? error : 'unknown'
22737
+ };
22738
+ break;
22739
+ case 'disconnected':
22740
+ result = retainEntry ? {
22741
+ st: 'disconnected',
22742
+ ca: null,
22743
+ ea: previous === null || previous === void 0 ? void 0 : previous.ea,
22744
+ l: previous === null || previous === void 0 ? void 0 : previous.l,
22745
+ coa: previous === null || previous === void 0 ? void 0 : previous.coa,
22746
+ exa: null,
22747
+ uat: now,
22748
+ er: null
22749
+ } : null;
22750
+ break;
22751
+ }
22752
+ return result;
22753
+ }
22754
+ /**
22755
+ * Applies a single provider's entry and returns the COMPLETE next document.
22756
+ *
22757
+ * Returning the whole value (rather than a patch) is what keeps `c` honest: this is the only
22758
+ * exported way to change `e`, and it always recomputes `c` from the resulting map. There is no
22759
+ * exported path that touches one without the other.
22760
+ *
22761
+ * @param input - The current document plus the provider entry to apply.
22762
+ * @returns The next UserExternalConnection value to write.
22763
+ */ function applyUserExternalConnectionEntry(input) {
22764
+ var current = input.current, uid = input.uid, providerType = input.providerType, entry = input.entry, now = input.now;
22765
+ var entries = _object_spread({}, current === null || current === void 0 ? void 0 : current.e);
22766
+ if (entry) {
22767
+ entries[providerType] = entry;
22768
+ } else {
22769
+ delete entries[providerType];
22770
+ }
22771
+ return {
22772
+ uid: uid,
22773
+ e: entries,
22774
+ c: userExternalConnectionConnectedProviderTypes(entries),
22775
+ uat: now
22776
+ };
22777
+ }
22778
+ /**
22779
+ * Returns the value of a connection document that has no providers on it yet.
22780
+ *
22781
+ * Creating the document is its own operation, so the "no connections" value lives here beside
22782
+ * {@link applyUserExternalConnectionEntry} rather than as a literal at the call site — both write
22783
+ * the complete document, and `c` is empty here for the same reason it is derived there.
22784
+ *
22785
+ * @param input - The user the document belongs to and the instant to stamp it with.
22786
+ * @returns The UserExternalConnection value for a user with no provider entries.
22787
+ */ function emptyUserExternalConnection(input) {
22788
+ var uid = input.uid, now = input.now;
22789
+ return {
22790
+ uid: uid,
22791
+ e: {},
22792
+ c: [],
22793
+ uat: now
22794
+ };
22795
+ }
22796
+ // MARK: Display
22797
+ /**
22798
+ * Returns the entry for the given provider, if any.
22799
+ *
22800
+ * @param connection - The loaded connection document.
22801
+ * @param providerType - The provider to read.
22802
+ * @returns The provider's entry, or null when the user has no entry for it.
22803
+ */ function userExternalConnectionEntryForProvider(connection, providerType) {
22804
+ var _connection_e;
22805
+ return connection === null || connection === void 0 ? void 0 : (_connection_e = connection.e) === null || _connection_e === void 0 ? void 0 : _connection_e[providerType];
22806
+ }
22807
+ /**
22808
+ * Returns true if the entry is in the `connected` status.
22809
+ *
22810
+ * @param entry - The entry to check.
22811
+ * @returns True when the entry is connected.
22812
+ */ function userExternalConnectionEntryIsConnected(entry) {
22813
+ return (entry === null || entry === void 0 ? void 0 : entry.st) === 'connected';
22814
+ }
22815
+ /**
22816
+ * Returns true if the entry declares an expiration that has already passed.
22817
+ *
22818
+ * @param entry - The entry to check.
22819
+ * @param now - The instant to compare against. Defaults to the current time.
22820
+ * @returns True when the entry's credentials are known to have expired.
22821
+ */ function userExternalConnectionEntryIsExpired(entry) {
22822
+ var now = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : new Date();
22823
+ return (entry === null || entry === void 0 ? void 0 : entry.exa) != null && entry.exa.getTime() <= now.getTime();
22824
+ }
22825
+ /**
22826
+ * Returns true if the user is currently connected to the given provider.
22827
+ *
22828
+ * @param connection - The loaded connection document.
22829
+ * @param providerType - The provider to check.
22830
+ * @returns True when the provider's entry is connected.
22831
+ */ function userExternalConnectionIsConnectedToProvider(connection, providerType) {
22832
+ return userExternalConnectionEntryIsConnected(userExternalConnectionEntryForProvider(connection, providerType));
22833
+ }
22834
+
22835
+ /**
22836
+ * Query for the UserExternalConnection documents that are currently connected to the given provider.
22837
+ *
22838
+ * This is the single reason the derived `c` array exists: with one document per user, provider ids
22839
+ * are map keys, and Firestore cannot query across map keys.
22840
+ *
22841
+ * Only `connected` entries are members of `c`, so this never returns a user whose credentials are in
22842
+ * the `error` or `disconnected` state.
22843
+ *
22844
+ * @param providerType - The provider type to search for.
22845
+ * @returns Firestore query constraints matching users connected to that provider.
22846
+ *
22847
+ * @dbxModelFirebaseIndex
22848
+ * @dbxModelFirebaseIndexModel UserExternalConnection
22849
+ * @dbxModelFirebaseIndexScope COLLECTION
22850
+ */ function userExternalConnectionsWithConnectedProviderQuery(providerType) {
22851
+ return [
22852
+ where('c', 'array-contains', providerType)
22853
+ ];
22854
+ }
22855
+
22856
+ function _class_call_check(instance, Constructor) {
22857
+ if (!(instance instanceof Constructor)) {
22858
+ throw new TypeError("Cannot call a class as a function");
22859
+ }
22860
+ }
22861
+ var createUserExternalConnectionParamsType = /* @__PURE__ */ type({});
22862
+ var disconnectUserExternalConnectionParamsType = /* @__PURE__ */ inferredTargetModelParamsType.merge(type({
22863
+ providerType: 'string'
22864
+ }));
22865
+ var readUserExternalConnectionAuthorizeStateParamsType = /* @__PURE__ */ inferredTargetModelParamsType.merge(type({
22866
+ providerType: 'string'
22867
+ }));
22868
+ var USER_EXTERNAL_CONNECTION_FUNCTION_TYPE_CONFIG_MAP = {};
22869
+ var USER_EXTERNAL_CONNECTION_MODEL_CRUD_FUNCTIONS_CONFIG = {
22870
+ userExternalConnection: [
22871
+ 'create',
22872
+ 'read:authorizeState',
22873
+ 'update:disconnect'
22874
+ ]
22875
+ };
22876
+ /**
22877
+ * Abstract class defining all callable UserExternalConnection cloud functions.
22878
+ *
22879
+ * Implement this in your app module to wire up the function endpoints.
22880
+ */ var UserExternalConnectionFunctions = function UserExternalConnectionFunctions() {
22881
+ _class_call_check(this, UserExternalConnectionFunctions);
22882
+ };
22883
+ /**
22884
+ * Used to generate the UserExternalConnectionFunctions map for a Functions instance.
22885
+ */ var userExternalConnectionFunctionMap = callModelFirebaseFunctionMapFactory(USER_EXTERNAL_CONNECTION_FUNCTION_TYPE_CONFIG_MAP, USER_EXTERNAL_CONNECTION_MODEL_CRUD_FUNCTIONS_CONFIG);
22886
+
22887
+ export { 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, AppNotificationTemplateTypeInfoRecordService, BAD_DOCUMENT_QUERY_CURSOR_ERROR_CODE, BAD_REQUEST_ERROR_CODE, BASE_MODEL_STORAGE_FILE_PATH, CALCOM_USER_EXTERNAL_CONNECTION_PROVIDER_TYPE, 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, 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_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_UNITED_STATES_ADDRESS_VALUE, DEFAULT_FIRESTORE_WEBSITE_FILE_LINK_VALUE, DEFAULT_IN_MEMORY_CACHE_TTL, DEFAULT_ITERATE_FIRESTORE_DOCUMENT_SNAPSHOT_BATCHES_BATCH_SIZE, DEFAULT_MODEL_FUNCTION_FIREBASE_CRUD_FUNCTION_SPECIFIER, 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_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, FirebaseDevelopmentFunctions, FirebaseModelPermissionServiceInstance, FirebaseServerError, FirestoreAccessorStreamMode, FirestoreDocumentContextType, 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, 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_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, appNotificationTemplateTypeInfoRecordService, applyExclusionsToNotificationUserNotificationBoxRecipientConfigs, applyUserExternalConnectionEntry, arrayUpdateWithAccessorFunction, asTopLevelFieldPath, asTopLevelFieldPaths, assertFirestoreUpdateHasData, assertStorageUploadOptionsStringFormat, assignDateCellRangeFunction, assignDateCellScheduleFunction, assignUnitedStatesAddressFunction, assignWebsiteFileLinkFunction, assignWebsiteLinkFunction, assignmentOnlyScopesForOidcProviderProfiles, buildFirebaseCollectionTypeModelTypeMap, calculateNsForNotificationUserNotificationBoxRecipientConfigs, calculateStorageFileGroupEmbeddedFileUpdate, calculateStorageFileGroupRegeneration, callModelFirebaseFunctionMapFactory, callModelOidcScopeForCallType, canQueueStorageFileForProcessing, childFirestoreModelKey, childFirestoreModelKeyPath, childFirestoreModelKeys, cleanupOldNotificationLoggedEventDaysParamsType, cleanupSentNotificationsParamsType, clientFirebaseFirestoreContextFactory, clientFirebaseStorageContextFactory, combineUploadFileTypeDeterminers, completeSubtaskProcessingAndScheduleCleanupTaskResult, contextGrantedModelRolesReader, contextGrantedModelRolesReaderDoesNotExistErrorMessage, contextGrantedModelRolesReaderPermissionErrorMessage, convertHttpsCallableErrorToReadableError, copyDocumentIdForUserRelatedModifierFunction, copyDocumentIdToFieldModifierFunction, copyStoragePath, copyUserRelatedDataAccessorFactoryFunction, copyUserRelatedDataModifierConfig, 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, 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, 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, flatFirestoreModelKey, getDataFromDocumentSnapshots, getDocumentSnapshotData, getDocumentSnapshotDataPair, getDocumentSnapshotDataPairs, getDocumentSnapshotDataPairsWithData, getDocumentSnapshotDataTuples, getDocumentSnapshotPair, getDocumentSnapshotPairs, getDocumentSnapshots, getDocumentSnapshotsData, grantFullAccessIfAdmin, grantFullAccessIfAuthUserRelated, grantModelRolesIfAdmin, grantModelRolesIfAdminFunction, grantModelRolesIfAuthUserRelatedModelFunction, grantModelRolesIfFunction, grantModelRolesIfHasAuthRolesFactory, grantModelRolesIfHasAuthRolesFunction, grantModelRolesOnlyIfFunction, grantStorageFileRolesForUserAuthFunction, inContextFirebaseModelServiceFactory, inContextFirebaseModelsServiceFactory, inMemoryFirestoreCollectionCacheDelegate, inMemoryFirestoreContextCache, inMemoryFirestoreContextCacheFactory, incrementUpdateWithAccessorFunction, inferKeyFromTwoWayFlatFirestoreModelKey, inferNotificationBoxRelatedModelKey, inferStorageFileGroupRelatedModelKey, inferredTargetModelIdParamsType, inferredTargetModelParamsType, initializeAllApplicableNotificationBoxesParamsType, initializeAllApplicableNotificationSummariesParamsType, initializeAllApplicableStorageFileGroupsParamsType, initializeAllStorageFilesFromUploadsParamsType, initializeNotificationModelParamsType, initializeStorageFileFromUploadParamsType, initializeStorageFileModelParamsType, interceptAccessorFactoryFunction, isAdminInFirebaseModelContext, isClientFirebaseError, isCompleteNotificationSendState, isFirebaseStorageObjectNotFoundError, isFirestoreModelId, isFirestoreModelIdOrKey, isFirestoreModelKey, isLoggedEventNotification, 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, loadStorageFileGroupDocumentForReferencePair, makeDocuments, makeFirestoreCollection, makeFirestoreCollectionGroup, makeFirestoreCollectionWithParent, makeFirestoreContextCache, makeFirestoreItemPageIteratorDelegate, makeFirestoreQueryConstraintFunctionsDriver, makePagedItemFirestoreCollection, makeRootSingleItemFirestoreCollection, makeSingleItemFirestoreCollection, mapDataFromSnapshot, mapHttpsCallable, mapLatestSnapshotsFromDocuments, 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, 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, optionalFirestoreString, optionalFirestoreUID, optionalFirestoreUnitedStatesAddress, optionalFirestoreUnixDateTimeSecondsNumber, orderBy, orderByDocumentId, processAllQueuedStorageFilesParamsType, processStorageFileParamsType, readFirestoreModelKey, readFirestoreModelKeyFromDocumentSnapshot, readLoggingFirestoreContextCache, readLoggingFirestoreContextCacheFactory, readMultipleStorageFilesMetadataFileParamsType, readMultipleStorageFilesMetadataParamsType, readStorageFileMetadataParamsType, readUserExternalConnectionAuthorizeStateParamsType, regenerateAllFlaggedStorageFileGroupsContentParamsType, regenerateStorageFileGroupContentParamsType, replaceConstraints, requiredScopesForOidcProviderProfiles, resolveEffectiveOidcScopeTerms, resolveOidcModelScopeRequirement, resyncAllNotificationUserParamsType, targetModelParamsType as resyncNotificationUserParamsType, rollupNotificationDeliveryHealthCheckResultStatus, rollupNotificationHealthCheckResultStatus, rollupNotificationHealthCheckStatus, targetModelParamsType as rotateOidcClientSecretParamsType, scheduledFunctionDevelopmentFirebaseFunctionParamsType, scopesForOidcProviderProfiles, selectFromFirebaseModelsService, sendNotificationParamsType, sendQueuedNotificationsParamsType, separateConstraints, setIdAndKeyFromKeyIdRefOnDocumentData, setIdAndKeyFromSnapshotOnDocumentData, shouldSaveNotificationToNotificationWeek, shouldSendCreatedNotificationInput, snapshotConverterFunctions, snapshotStreamDataForAccessor, snapshotStreamForAccessor, sortNotificationItemsFunction, startAfter, startAt, startAtValue, storageFileCollectionReference, storageFileConverter, storageFileFirestoreCollection, storageFileFlaggedForSyncWithGroupsQuery, storageFileFunctionMap, storageFileGroupCollectionReference, storageFileGroupConverter, storageFileGroupCreateStorageFileKeyFactory, storageFileGroupCreatedStorageFileKey, storageFileGroupEmbeddedFile, storageFileGroupFirestoreCollection, storageFileGroupFolderPath, storageFileGroupIdForModel, storageFileGroupIdentity, storageFileGroupZipFileStoragePath, storageFileGroupZipStorageFileKey, storageFileGroupsFlaggedForContentRegenerationQuery, storageFileGroupsFlaggedForNeedsInitializationQuery, storageFileGroupsFlaggedInvalidQuery, storageFileIdentity, storageFileProcessingNotificationTaskTemplate, storageFilePurposeAndUserQuery, storageFilesQueuedForDeleteQuery, storageFilesQueuedForProcessingQuery, storageListFilesResultFactory, storageListFilesResultHasNoNextError, storagePathFactory, storedFileReaderFactory, streamDocumentSnapshotDataPairs, streamDocumentSnapshotDataPairsWithData, streamDocumentSnapshotsData, streamFromOnSnapshot, syncAllFlaggedStorageFilesWithGroupsParamsType, syncStorageFileWithGroupsParamsType, systemStateCollectionReference, systemStateConverter, systemStateFirestoreCollection, systemStateIdentity, systemStateStoredDataConverterFactory, targetModelIdParamsType, targetModelParamsType, twoWayFlatFirestoreModelKey, unreadNotificationItems, unsupportedFirestoreDriverFunctionError, untrackableNotificationHealthCheckProbe, targetModelParamsType as updateNotificationBoxParamsType, updateNotificationBoxRecipientLikeParamsType, updateNotificationBoxRecipientParamsType, updateNotificationBoxRecipientTemplateConfigRecord, updateNotificationRecipient, updateNotificationSummaryParamsType, updateNotificationUserDefaultNotificationBoxRecipientConfig, updateNotificationUserDefaultNotificationBoxRecipientConfigParamsType, updateNotificationUserNotificationBoxRecipientConfigIfChanged, updateNotificationUserNotificationBoxRecipientConfigs, updateNotificationUserNotificationBoxRecipientParamsType, updateNotificationUserNotificationSendExclusions, updateNotificationUserParamsType, updateOidcClientFieldParamsType, updateOidcClientParamsType, updateStorageFileGroupEntryParamsType, updateStorageFileGroupParamsType, updateStorageFileParamsType, updateWithAccessorUpdateAndConverterFunction, uploadFileWithStream, 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 };