@infrab4a/connect 4.0.0-beta.43 → 4.0.0-beta.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. package/domain/catalog/models/category-base.d.ts +1 -0
  2. package/domain/catalog/models/index.d.ts +1 -0
  3. package/domain/catalog/models/wishlist.d.ts +6 -0
  4. package/domain/catalog/repositories/category-filter.repository.d.ts +1 -0
  5. package/domain/catalog/repositories/index.d.ts +1 -0
  6. package/domain/catalog/repositories/wishlist.repository.d.ts +6 -0
  7. package/esm2020/domain/catalog/models/category-base.mjs +1 -1
  8. package/esm2020/domain/catalog/models/index.mjs +2 -1
  9. package/esm2020/domain/catalog/models/wishlist.mjs +7 -0
  10. package/esm2020/domain/catalog/repositories/category-filter.repository.mjs +1 -1
  11. package/esm2020/domain/catalog/repositories/index.mjs +2 -1
  12. package/esm2020/domain/catalog/repositories/wishlist.repository.mjs +2 -0
  13. package/esm2020/infra/hasura-graphql/repositories/catalog/category-filter-hasura-graphql.repository.mjs +10 -1
  14. package/esm2020/infra/hasura-graphql/repositories/catalog/category-hasura-graphql.repository.mjs +37 -52
  15. package/esm2020/infra/hasura-graphql/repositories/catalog/index.mjs +2 -1
  16. package/esm2020/infra/hasura-graphql/repositories/catalog/wishlist-hasura-graphql.repository.mjs +236 -0
  17. package/fesm2015/infrab4a-connect.mjs +299 -52
  18. package/fesm2015/infrab4a-connect.mjs.map +1 -1
  19. package/fesm2020/infrab4a-connect.mjs +283 -52
  20. package/fesm2020/infrab4a-connect.mjs.map +1 -1
  21. package/infra/hasura-graphql/repositories/catalog/category-filter-hasura-graphql.repository.d.ts +1 -0
  22. package/infra/hasura-graphql/repositories/catalog/index.d.ts +1 -0
  23. package/infra/hasura-graphql/repositories/catalog/wishlist-hasura-graphql.repository.d.ts +27 -0
  24. package/package.json +1 -1
@@ -1350,6 +1350,12 @@ class Variant extends BaseModel {
1350
1350
  }
1351
1351
  }
1352
1352
 
1353
+ class Wishlist extends Category {
1354
+ static get identifiersFields() {
1355
+ return ['id'];
1356
+ }
1357
+ }
1358
+
1353
1359
  class Buy2Win extends BaseModel {
1354
1360
  static get identifiersFields() {
1355
1361
  return ['id'];
@@ -3517,6 +3523,15 @@ class CategoryFilterHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHa
3517
3523
  ],
3518
3524
  });
3519
3525
  }
3526
+ deleteByCategory(categoryId) {
3527
+ return this.mutation('delete_category_filter', ['affected_rows'], {
3528
+ where: {
3529
+ type: 'category_filter_bool_exp',
3530
+ required: true,
3531
+ value: { category_id: { _eq: categoryId } },
3532
+ },
3533
+ });
3534
+ }
3520
3535
  deleteByCategoryAndFilter(categoryId, filterId) {
3521
3536
  return this.mutation('delete_category_filter', ['affected_rows'], {
3522
3537
  where: {
@@ -3603,6 +3618,7 @@ class CategoryHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGr
3603
3618
  },
3604
3619
  },
3605
3620
  { isCollection: { columnName: 'is_collection' } },
3621
+ { isWishlist: { columnName: 'is_wishlist' } },
3606
3622
  'reference',
3607
3623
  { parentId: { columnName: 'parent_id' } },
3608
3624
  {
@@ -3623,7 +3639,7 @@ class CategoryHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGr
3623
3639
  });
3624
3640
  return __awaiter(this, void 0, void 0, function* () {
3625
3641
  const { metadata } = params, data = __rest(params, ["metadata"]);
3626
- return _super.create.call(this, Object.assign(Object.assign({}, data), { metadata: metadata || { description: null, title: null } }));
3642
+ return _super.create.call(this, Object.assign(Object.assign({}, data), { isWishlist: false, metadata: metadata || { description: null, title: null } }));
3627
3643
  });
3628
3644
  }
3629
3645
  get(identifiers) {
@@ -3645,7 +3661,7 @@ class CategoryHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGr
3645
3661
  const { products, id: checkId, metadata, filters } = params, data = __rest(params, ["products", "id", "metadata", "filters"]);
3646
3662
  const plainData = this.paramsToPlain({ id: checkId });
3647
3663
  const id = yield this.getId(plainData.id);
3648
- const category = yield _super.update.call(this, Object.assign({ id }, data));
3664
+ const category = yield _super.update.call(this, Object.assign(Object.assign({ id }, data), { isWishlist: false }));
3649
3665
  category.products = products && (yield this.updateProducts(+id, { products }));
3650
3666
  category.metadata = metadata && (yield this.updateMetadata(+id, { metadata }));
3651
3667
  category.filters = filters && (yield this.updateFilters(+id, { filters }));
@@ -3661,6 +3677,7 @@ class CategoryHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGr
3661
3677
  slug,
3662
3678
  shops: { operator: Where.IN, value: [shop] },
3663
3679
  published: { operator: Where.EQUALS, value: true },
3680
+ isWishlist: { operator: Where.EQUALS, value: false },
3664
3681
  },
3665
3682
  options: {
3666
3683
  enableCount: false,
@@ -3681,6 +3698,7 @@ class CategoryHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGr
3681
3698
  filters: {
3682
3699
  shops: { operator: Where.IN, value: [shop] },
3683
3700
  published: { operator: Where.EQUALS, value: true },
3701
+ isWishlist: { operator: Where.EQUALS, value: false },
3684
3702
  },
3685
3703
  options: {
3686
3704
  enableCount: false,
@@ -3825,63 +3843,45 @@ class CategoryHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGr
3825
3843
  }
3826
3844
  if ('action' in filters && filters.action === 'merge' && filters.value.length) {
3827
3845
  let filtersList = [];
3828
- for (let i = 0; i < filters.value.length; i++) {
3829
- try {
3830
- const hasFilter = yield this.categoryFilterRepository
3831
- .find({
3832
- filters: {
3833
- categoryId,
3834
- filterId: filters.value[i].id,
3835
- },
3836
- })
3837
- .then((data) => { var _a; return (_a = data.data.shift()) === null || _a === void 0 ? void 0 : _a.filter; });
3838
- if (hasFilter) {
3839
- filtersList.push(hasFilter);
3840
- }
3841
- else {
3842
- yield this.categoryFilterRepository.create({
3843
- filterId: filters.value[i].id,
3844
- categoryId,
3845
- });
3846
- filtersList.push(filters.value[i]);
3847
- }
3848
- }
3849
- catch (error) {
3850
- console.log('catch error: ', error);
3846
+ const currentFilters = yield this.categoryFilterRepository
3847
+ .find({
3848
+ filters: {
3849
+ categoryId,
3850
+ },
3851
+ })
3852
+ .then((res) => res.data);
3853
+ const currentFiltersId = currentFilters.map((f) => f.id);
3854
+ const filtersUpdatedId = filters.value.map((f) => f.id);
3855
+ const filterToBeDeleted = currentFiltersId.filter((c) => !filtersUpdatedId.includes(c));
3856
+ const filterToBeInserted = filtersUpdatedId.filter((c) => !currentFiltersId.includes(c));
3857
+ for (const filter of filterToBeDeleted) {
3858
+ const index = currentFilters.findIndex((f) => f.id == filter);
3859
+ if (index != -1) {
3860
+ currentFilters.splice(index, 1);
3851
3861
  }
3862
+ yield this.categoryFilterRepository.deleteByCategoryAndFilter(categoryId, filter);
3863
+ }
3864
+ for (const filter of filterToBeInserted) {
3865
+ const newCategoryFilter = yield this.categoryFilterRepository.create({
3866
+ filterId: filter,
3867
+ categoryId,
3868
+ });
3869
+ filtersList.push(filter);
3852
3870
  }
3853
- return filtersList;
3871
+ return filters.value;
3854
3872
  }
3855
3873
  if (Array.isArray(filters) && filters.length) {
3874
+ yield this.categoryFilterRepository.deleteByCategory(categoryId);
3856
3875
  let filtersList = [];
3857
3876
  for (let i = 0; i < filters.length; i++) {
3858
- try {
3859
- const hasFilter = yield this.categoryFilterRepository
3860
- .find({
3861
- filters: {
3862
- categoryId,
3863
- filterId: filters[i].id,
3864
- },
3865
- })
3866
- .then((data) => { var _a; return (_a = data.data.shift()) === null || _a === void 0 ? void 0 : _a.filter; });
3867
- if (hasFilter) {
3868
- filtersList.push(hasFilter);
3869
- }
3870
- else {
3871
- yield this.categoryFilterRepository.create({
3872
- filterId: filters[i].id,
3873
- categoryId,
3874
- });
3875
- filtersList.push(filters[i]);
3876
- }
3877
- }
3878
- catch (error) {
3879
- console.log('catch error: ', error);
3880
- }
3877
+ const newCategoryFilter = yield this.categoryFilterRepository.create({
3878
+ filterId: filters[i].id,
3879
+ categoryId,
3880
+ });
3881
+ filtersList.push(newCategoryFilter);
3881
3882
  }
3882
- return filtersList;
3883
+ return filters;
3883
3884
  }
3884
- return [];
3885
3885
  });
3886
3886
  }
3887
3887
  getChildren(parentId) {
@@ -4656,9 +4656,256 @@ class VariantHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGra
4656
4656
  }
4657
4657
  }
4658
4658
 
4659
+ class WishlistHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGraphQL(Base)) {
4660
+ constructor({ endpoint, authOptions, interceptors, }, categoryFilterRepository) {
4661
+ super({
4662
+ tableName: 'category',
4663
+ model: Wishlist,
4664
+ endpoint,
4665
+ authOptions,
4666
+ interceptors,
4667
+ fields: [
4668
+ { id: { columnName: 'id', to: (value) => +value, from: (value) => value.toString() } },
4669
+ { firestoreId: { columnName: 'firestore_id' } },
4670
+ 'name',
4671
+ 'description',
4672
+ 'image',
4673
+ 'published',
4674
+ 'shop',
4675
+ { shops: { columnName: 'shops', type: HasuraGraphQLColumnType.Jsonb } },
4676
+ 'slug',
4677
+ { brandCategory: { columnName: 'brand_category' } },
4678
+ { brandCategoryBanner: { columnName: 'brand_banner' } },
4679
+ { brandCategoryBannerMobile: { columnName: 'brand_banner_mobile' } },
4680
+ { brandLogo: { columnName: 'brand_logo' } },
4681
+ { brandCondition: { columnName: 'brand_condition' } },
4682
+ {
4683
+ conditions: {
4684
+ columnName: 'tag_condition',
4685
+ type: HasuraGraphQLColumnType.Jsonb,
4686
+ from: (tags, row) => ({ brand: row.brand_condition, tags: Array.isArray(tags) ? tags : [] }),
4687
+ bindPersistData: (value) => {
4688
+ return {
4689
+ brand_condition: value.brand,
4690
+ tag_condition: (value === null || value === void 0 ? void 0 : value.tags) || [],
4691
+ };
4692
+ },
4693
+ bindFindFilter: (sentence) => {
4694
+ return Object.assign(Object.assign({}, (sentence.brand ? { brand_condition: sentence.brand } : {})), (sentence.tags ? { tag_condition: sentence.tags } : {}));
4695
+ },
4696
+ },
4697
+ },
4698
+ {
4699
+ filters: {
4700
+ columnName: 'filters',
4701
+ foreignKeyColumn: { filter_id: 'id' },
4702
+ fields: [{ filter: ['id', 'description', 'slug', 'enabled'] }],
4703
+ bindPersistData: (value) => ({
4704
+ filters: { data: value.map((filter) => ({ filter_id: filter.id })) },
4705
+ }),
4706
+ from: (filters) => (filters === null || filters === void 0 ? void 0 : filters.map((filter) => filter === null || filter === void 0 ? void 0 : filter.filter)) || [],
4707
+ },
4708
+ },
4709
+ { createdAt: { columnName: 'created_at' } },
4710
+ { updatedAt: { columnName: 'updated_at' } },
4711
+ {
4712
+ products: {
4713
+ columnName: 'products',
4714
+ fields: ['product_id'],
4715
+ from: (value) => value.map((product) => product.product_id.toString()),
4716
+ to: (productIds) => productIds.map((productId) => ({
4717
+ product_id: +productId,
4718
+ })),
4719
+ },
4720
+ },
4721
+ {
4722
+ metadata: {
4723
+ columnName: 'metadata',
4724
+ fields: ['title', 'description'],
4725
+ bindPersistData: (value) => ({
4726
+ metadata: { data: value },
4727
+ }),
4728
+ },
4729
+ },
4730
+ { isCollection: { columnName: 'is_collection' } },
4731
+ { isWishlist: { columnName: 'is_wishlist' } },
4732
+ 'reference',
4733
+ { parentId: { columnName: 'parent_id' } },
4734
+ {
4735
+ parent: {
4736
+ columnName: 'parent',
4737
+ foreignKeyColumn: { id: 'parentId' },
4738
+ fields: ['id', 'name', 'reference', 'slug'],
4739
+ },
4740
+ },
4741
+ { personId: { columnName: 'person_id' } },
4742
+ ],
4743
+ });
4744
+ this.categoryFilterRepository = categoryFilterRepository;
4745
+ }
4746
+ create(params) {
4747
+ const _super = Object.create(null, {
4748
+ create: { get: () => super.create }
4749
+ });
4750
+ return __awaiter(this, void 0, void 0, function* () {
4751
+ const { metadata } = params, data = __rest(params, ["metadata"]);
4752
+ return _super.create.call(this, Object.assign(Object.assign({}, data), { isWishlist: true, isCollection: true, brandCategory: false, metadata: metadata || { description: data.description, title: data.name } }));
4753
+ });
4754
+ }
4755
+ get(identifiers) {
4756
+ const _super = Object.create(null, {
4757
+ get: { get: () => super.get }
4758
+ });
4759
+ return __awaiter(this, void 0, void 0, function* () {
4760
+ const data = yield _super.get.call(this, identifiers);
4761
+ if (!data.isWishlist)
4762
+ throw new NotFoundError(`Category with id ${identifiers.id} is not a wishlist`);
4763
+ return data;
4764
+ });
4765
+ }
4766
+ update(params) {
4767
+ const _super = Object.create(null, {
4768
+ update: { get: () => super.update }
4769
+ });
4770
+ return __awaiter(this, void 0, void 0, function* () {
4771
+ const { products, id: checkId, metadata, filters } = params, data = __rest(params, ["products", "id", "metadata", "filters"]);
4772
+ const plainData = this.paramsToPlain({ id: checkId });
4773
+ const id = plainData.id;
4774
+ const category = yield _super.update.call(this, Object.assign(Object.assign({ id }, data), { isWishlist: true, isCollection: true, brandCategory: false }));
4775
+ category.products = products && (yield this.updateProducts(+id, { products }));
4776
+ category.metadata = metadata && (yield this.updateMetadata(+id, { metadata }));
4777
+ return category;
4778
+ });
4779
+ }
4780
+ getWishlistBySlug(slug) {
4781
+ return __awaiter(this, void 0, void 0, function* () {
4782
+ if (!slug)
4783
+ return;
4784
+ const { data } = yield this.find({
4785
+ filters: {
4786
+ slug,
4787
+ isWishlist: { operator: Where.EQUALS, value: true },
4788
+ },
4789
+ options: {
4790
+ enableCount: false,
4791
+ },
4792
+ });
4793
+ if (!data.length)
4794
+ throw new NotFoundError(`Wishlist with slug ${slug} not found`);
4795
+ if (data.length > 1)
4796
+ throw new DuplicatedResultsError('Query returned duplicated values');
4797
+ return data.shift();
4798
+ });
4799
+ }
4800
+ getWishlistByPerson(personId) {
4801
+ return __awaiter(this, void 0, void 0, function* () {
4802
+ if (!personId)
4803
+ return;
4804
+ const { data } = yield this.find({
4805
+ filters: {
4806
+ personId: { operator: Where.EQUALS, value: personId },
4807
+ isWishlist: { operator: Where.EQUALS, value: true },
4808
+ },
4809
+ options: {
4810
+ enableCount: false,
4811
+ },
4812
+ });
4813
+ if (!data.length)
4814
+ throw new NotFoundError(`Wishlists from person ${personId} not found`);
4815
+ return data;
4816
+ });
4817
+ }
4818
+ updateProducts(categoryId, { products }) {
4819
+ return __awaiter(this, void 0, void 0, function* () {
4820
+ if ('action' in products && products.action === 'remove') {
4821
+ yield this.mutation('delete_category_product', ['affected_rows'], {
4822
+ where: {
4823
+ type: 'category_product_bool_exp',
4824
+ required: true,
4825
+ value: { category_id: { _eq: categoryId } },
4826
+ },
4827
+ });
4828
+ yield this.categoryFilterRepository.deleteByCategory(categoryId);
4829
+ return [];
4830
+ }
4831
+ const plainData = this.paramsToPlain({ products });
4832
+ if (!plainData.products || plainData.products.length <= 0)
4833
+ return [];
4834
+ yield this.mutation('delete_category_product', ['affected_rows'], {
4835
+ where: {
4836
+ type: 'category_product_bool_exp',
4837
+ required: true,
4838
+ value: { category_id: { _eq: categoryId } },
4839
+ },
4840
+ });
4841
+ yield this.categoryFilterRepository.deleteByCategory(categoryId);
4842
+ yield this.mutation('insert_category_product', ['affected_rows'], {
4843
+ objects: {
4844
+ type: '[category_product_insert_input!]',
4845
+ required: true,
4846
+ value: plainData.products.map((productId) => ({ category_id: categoryId, product_id: productId })),
4847
+ },
4848
+ });
4849
+ return plainData.products;
4850
+ });
4851
+ }
4852
+ updateMetadata(categoryId, { metadata }) {
4853
+ return __awaiter(this, void 0, void 0, function* () {
4854
+ const plainData = this.paramsToPlain({ metadata });
4855
+ if (!plainData.metadata)
4856
+ return;
4857
+ yield this.mutation('update_category_metadata_by_pk', ['category_id'], {
4858
+ pk_columns: {
4859
+ value: { category_id: categoryId },
4860
+ type: 'category_metadata_pk_columns_input',
4861
+ required: true,
4862
+ },
4863
+ _set: {
4864
+ value: omit(metadata, ['category_id']),
4865
+ type: 'category_metadata_set_input',
4866
+ required: true,
4867
+ },
4868
+ });
4869
+ return plainData.metadata;
4870
+ });
4871
+ }
4872
+ getCategoryBySlug(slug, _shop) {
4873
+ return this.getWishlistBySlug(slug);
4874
+ }
4875
+ getCategoryByShop(shop) {
4876
+ return __awaiter(this, void 0, void 0, function* () {
4877
+ if (!shop)
4878
+ return;
4879
+ const { data } = yield this.find({
4880
+ filters: {
4881
+ shops: { operator: Where.IN, value: [shop] },
4882
+ published: { operator: Where.EQUALS, value: true },
4883
+ isWishlist: { operator: Where.EQUALS, value: true },
4884
+ },
4885
+ options: {
4886
+ enableCount: false,
4887
+ },
4888
+ });
4889
+ return data;
4890
+ });
4891
+ }
4892
+ getCategoriesForHome(categoryIds, limit, gender) {
4893
+ return;
4894
+ }
4895
+ mountCategory(category, options) {
4896
+ return;
4897
+ }
4898
+ getChildren(parentId) {
4899
+ return;
4900
+ }
4901
+ isChild(id, parentId) {
4902
+ return;
4903
+ }
4904
+ }
4905
+
4659
4906
  /**
4660
4907
  * Generated bundle index. Do not edit.
4661
4908
  */
4662
4909
 
4663
- export { AccessoryImportances, Address, Area, Authentication, AuthenticationFirebaseAuthService, AxiosAdapter, Base, BaseModel, BeardProblems, BeardSizes, BeautyProductImportances, BeautyProfile, BeautyQuestionsHelper, BillingStatus, BodyProblems, BodyShapes, BodyTattoos, Buy2Win, Buy2WinFirestoreRepository, CampaignDashboard, CampaignDashboardFirestoreRepository, CampaignHashtag, CampaignHashtagFirestoreRepository, Category, CategoryCollectionChildren, CategoryCollectionChildrenHasuraGraphQLRepository, CategoryFilter, CategoryFilterHasuraGraphQLRepository, CategoryFirestoreRepository, CategoryHasuraGraphQL, CategoryHasuraGraphQLRepository, Checkout, CheckoutFirestoreRepository, CheckoutSubscription, CheckoutSubscriptionFirestoreRepository, CheckoutTypes, ClassNameHelper, Coupon, CouponFirestoreRepository, CouponSubtypes, CouponTypes, Debug, DebugDecoratorHelper, DebugHelper, DebugNamespaces, DuplicatedResultsError, Edition, EditionStatus, Exclusivities, FaceSkinOilinesses, FaceSkinProblems, FaceSkinTones, FamilyIncomes, Filter, FilterHasuraGraphQLRepository, FilterOption, FilterOptionHasuraGraphQLRepository, FilterType, FragranceImportances, GenderDestination, HairColors, HairProblems, HairStrands, HairTypes, Home, HomeFirestoreRepository, InvalidArgumentError, KitProduct, KitProductHasuraGraphQL, Lead, LeadFirestoreRepository, LegacyOrderFirestoreRepository, LineItem, Log, Logger, NotFoundError, OfficePosition, Order, OrderFirestoreRepository, OrderStatus, Payment, PaymentFirestoreRepository, PaymentType, Product, ProductFirestoreRepository, ProductHasuraGraphQL, ProductHasuraGraphQLRepository, ProductSpents, ProductVariantFirestoreRepository, ProductsIndex, QuestionsFilters, RecoveryPassword, ReflectHelper, Register, RegisterFirebaseAuthService, RequiredArgumentError, RoundProductPricesHelper, ShippingMethod, ShopMenu, ShopMenuFirestoreRepository, ShopSettings, ShopSettingsFirestoreRepository, Shops, SignInMethods, SignOut, Status, Subscription, SubscriptionEditionFirestoreRepository, SubscriptionFirestoreRepository, SubscriptionPayment, SubscriptionPaymentFirestoreRepository, SubscriptionPlan, SubscriptionPlanFirestoreRepository, SubscriptionProductFirestoreRepository, Trace, UnauthorizedError, UpdateOptionActions, User, UserAddress, UserAddressFirestoreRepository, UserAlreadyRegisteredError, UserBeautyProfileFirestoreRepository, UserFirestoreRepository, UserPaymentMethod, UserPaymentMethodFirestoreRepository, UserType, Variant, VariantHasuraGraphQL, VariantHasuraGraphQLRepository, WeakPasswordError, Where, is, isDebuggable, isUUID, parseDateTime, withCreateFirestore, withCreateHasuraGraphQL, withCrudFirestore, withCrudHasuraGraphQL, withDeleteFirestore, withDeleteHasuraGraphQL, withFindFirestore, withFindHasuraGraphQL, withFirestore, withGetFirestore, withGetHasuraGraphQL, withHasuraGraphQL, withHelpers, withSubCollection, withUpdateFirestore, withUpdateHasuraGraphQL };
4910
+ export { AccessoryImportances, Address, Area, Authentication, AuthenticationFirebaseAuthService, AxiosAdapter, Base, BaseModel, BeardProblems, BeardSizes, BeautyProductImportances, BeautyProfile, BeautyQuestionsHelper, BillingStatus, BodyProblems, BodyShapes, BodyTattoos, Buy2Win, Buy2WinFirestoreRepository, CampaignDashboard, CampaignDashboardFirestoreRepository, CampaignHashtag, CampaignHashtagFirestoreRepository, Category, CategoryCollectionChildren, CategoryCollectionChildrenHasuraGraphQLRepository, CategoryFilter, CategoryFilterHasuraGraphQLRepository, CategoryFirestoreRepository, CategoryHasuraGraphQL, CategoryHasuraGraphQLRepository, Checkout, CheckoutFirestoreRepository, CheckoutSubscription, CheckoutSubscriptionFirestoreRepository, CheckoutTypes, ClassNameHelper, Coupon, CouponFirestoreRepository, CouponSubtypes, CouponTypes, Debug, DebugDecoratorHelper, DebugHelper, DebugNamespaces, DuplicatedResultsError, Edition, EditionStatus, Exclusivities, FaceSkinOilinesses, FaceSkinProblems, FaceSkinTones, FamilyIncomes, Filter, FilterHasuraGraphQLRepository, FilterOption, FilterOptionHasuraGraphQLRepository, FilterType, FragranceImportances, GenderDestination, HairColors, HairProblems, HairStrands, HairTypes, Home, HomeFirestoreRepository, InvalidArgumentError, KitProduct, KitProductHasuraGraphQL, Lead, LeadFirestoreRepository, LegacyOrderFirestoreRepository, LineItem, Log, Logger, NotFoundError, OfficePosition, Order, OrderFirestoreRepository, OrderStatus, Payment, PaymentFirestoreRepository, PaymentType, Product, ProductFirestoreRepository, ProductHasuraGraphQL, ProductHasuraGraphQLRepository, ProductSpents, ProductVariantFirestoreRepository, ProductsIndex, QuestionsFilters, RecoveryPassword, ReflectHelper, Register, RegisterFirebaseAuthService, RequiredArgumentError, RoundProductPricesHelper, ShippingMethod, ShopMenu, ShopMenuFirestoreRepository, ShopSettings, ShopSettingsFirestoreRepository, Shops, SignInMethods, SignOut, Status, Subscription, SubscriptionEditionFirestoreRepository, SubscriptionFirestoreRepository, SubscriptionPayment, SubscriptionPaymentFirestoreRepository, SubscriptionPlan, SubscriptionPlanFirestoreRepository, SubscriptionProductFirestoreRepository, Trace, UnauthorizedError, UpdateOptionActions, User, UserAddress, UserAddressFirestoreRepository, UserAlreadyRegisteredError, UserBeautyProfileFirestoreRepository, UserFirestoreRepository, UserPaymentMethod, UserPaymentMethodFirestoreRepository, UserType, Variant, VariantHasuraGraphQL, VariantHasuraGraphQLRepository, WeakPasswordError, Where, Wishlist, WishlistHasuraGraphQLRepository, is, isDebuggable, isUUID, parseDateTime, withCreateFirestore, withCreateHasuraGraphQL, withCrudFirestore, withCrudHasuraGraphQL, withDeleteFirestore, withDeleteHasuraGraphQL, withFindFirestore, withFindHasuraGraphQL, withFirestore, withGetFirestore, withGetHasuraGraphQL, withHasuraGraphQL, withHelpers, withSubCollection, withUpdateFirestore, withUpdateHasuraGraphQL };
4664
4911
  //# sourceMappingURL=infrab4a-connect.mjs.map