@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
@@ -1355,6 +1355,12 @@ class Variant extends BaseModel {
1355
1355
  }
1356
1356
  }
1357
1357
 
1358
+ class Wishlist extends Category {
1359
+ static get identifiersFields() {
1360
+ return ['id'];
1361
+ }
1362
+ }
1363
+
1358
1364
  class Buy2Win extends BaseModel {
1359
1365
  static get identifiersFields() {
1360
1366
  return ['id'];
@@ -3480,6 +3486,15 @@ class CategoryFilterHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHa
3480
3486
  ],
3481
3487
  });
3482
3488
  }
3489
+ deleteByCategory(categoryId) {
3490
+ return this.mutation('delete_category_filter', ['affected_rows'], {
3491
+ where: {
3492
+ type: 'category_filter_bool_exp',
3493
+ required: true,
3494
+ value: { category_id: { _eq: categoryId } },
3495
+ },
3496
+ });
3497
+ }
3483
3498
  deleteByCategoryAndFilter(categoryId, filterId) {
3484
3499
  return this.mutation('delete_category_filter', ['affected_rows'], {
3485
3500
  where: {
@@ -3569,6 +3584,7 @@ class CategoryHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGr
3569
3584
  },
3570
3585
  },
3571
3586
  { isCollection: { columnName: 'is_collection' } },
3587
+ { isWishlist: { columnName: 'is_wishlist' } },
3572
3588
  'reference',
3573
3589
  { parentId: { columnName: 'parent_id' } },
3574
3590
  {
@@ -3585,7 +3601,7 @@ class CategoryHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGr
3585
3601
  }
3586
3602
  async create(params) {
3587
3603
  const { metadata, ...data } = params;
3588
- return super.create({ ...data, metadata: metadata || { description: null, title: null } });
3604
+ return super.create({ ...data, isWishlist: false, metadata: metadata || { description: null, title: null } });
3589
3605
  }
3590
3606
  async get(identifiers) {
3591
3607
  return Number.isNaN(+identifiers.id)
@@ -3596,7 +3612,7 @@ class CategoryHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGr
3596
3612
  const { products, id: checkId, metadata, filters, ...data } = params;
3597
3613
  const plainData = this.paramsToPlain({ id: checkId });
3598
3614
  const id = await this.getId(plainData.id);
3599
- const category = await super.update({ id, ...data });
3615
+ const category = await super.update({ id, ...data, isWishlist: false });
3600
3616
  category.products = products && (await this.updateProducts(+id, { products }));
3601
3617
  category.metadata = metadata && (await this.updateMetadata(+id, { metadata }));
3602
3618
  category.filters = filters && (await this.updateFilters(+id, { filters }));
@@ -3610,6 +3626,7 @@ class CategoryHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGr
3610
3626
  slug,
3611
3627
  shops: { operator: Where.IN, value: [shop] },
3612
3628
  published: { operator: Where.EQUALS, value: true },
3629
+ isWishlist: { operator: Where.EQUALS, value: false },
3613
3630
  },
3614
3631
  options: {
3615
3632
  enableCount: false,
@@ -3628,6 +3645,7 @@ class CategoryHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGr
3628
3645
  filters: {
3629
3646
  shops: { operator: Where.IN, value: [shop] },
3630
3647
  published: { operator: Where.EQUALS, value: true },
3648
+ isWishlist: { operator: Where.EQUALS, value: false },
3631
3649
  },
3632
3650
  options: {
3633
3651
  enableCount: false,
@@ -3766,63 +3784,45 @@ class CategoryHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGr
3766
3784
  }
3767
3785
  if ('action' in filters && filters.action === 'merge' && filters.value.length) {
3768
3786
  let filtersList = [];
3769
- for (let i = 0; i < filters.value.length; i++) {
3770
- try {
3771
- const hasFilter = await this.categoryFilterRepository
3772
- .find({
3773
- filters: {
3774
- categoryId,
3775
- filterId: filters.value[i].id,
3776
- },
3777
- })
3778
- .then((data) => data.data.shift()?.filter);
3779
- if (hasFilter) {
3780
- filtersList.push(hasFilter);
3781
- }
3782
- else {
3783
- await this.categoryFilterRepository.create({
3784
- filterId: filters.value[i].id,
3785
- categoryId,
3786
- });
3787
- filtersList.push(filters.value[i]);
3788
- }
3789
- }
3790
- catch (error) {
3791
- console.log('catch error: ', error);
3787
+ const currentFilters = await this.categoryFilterRepository
3788
+ .find({
3789
+ filters: {
3790
+ categoryId,
3791
+ },
3792
+ })
3793
+ .then((res) => res.data);
3794
+ const currentFiltersId = currentFilters.map((f) => f.id);
3795
+ const filtersUpdatedId = filters.value.map((f) => f.id);
3796
+ const filterToBeDeleted = currentFiltersId.filter((c) => !filtersUpdatedId.includes(c));
3797
+ const filterToBeInserted = filtersUpdatedId.filter((c) => !currentFiltersId.includes(c));
3798
+ for (const filter of filterToBeDeleted) {
3799
+ const index = currentFilters.findIndex((f) => f.id == filter);
3800
+ if (index != -1) {
3801
+ currentFilters.splice(index, 1);
3792
3802
  }
3803
+ await this.categoryFilterRepository.deleteByCategoryAndFilter(categoryId, filter);
3793
3804
  }
3794
- return filtersList;
3805
+ for (const filter of filterToBeInserted) {
3806
+ const newCategoryFilter = await this.categoryFilterRepository.create({
3807
+ filterId: filter,
3808
+ categoryId,
3809
+ });
3810
+ filtersList.push(filter);
3811
+ }
3812
+ return filters.value;
3795
3813
  }
3796
3814
  if (Array.isArray(filters) && filters.length) {
3815
+ await this.categoryFilterRepository.deleteByCategory(categoryId);
3797
3816
  let filtersList = [];
3798
3817
  for (let i = 0; i < filters.length; i++) {
3799
- try {
3800
- const hasFilter = await this.categoryFilterRepository
3801
- .find({
3802
- filters: {
3803
- categoryId,
3804
- filterId: filters[i].id,
3805
- },
3806
- })
3807
- .then((data) => data.data.shift()?.filter);
3808
- if (hasFilter) {
3809
- filtersList.push(hasFilter);
3810
- }
3811
- else {
3812
- await this.categoryFilterRepository.create({
3813
- filterId: filters[i].id,
3814
- categoryId,
3815
- });
3816
- filtersList.push(filters[i]);
3817
- }
3818
- }
3819
- catch (error) {
3820
- console.log('catch error: ', error);
3821
- }
3818
+ const newCategoryFilter = await this.categoryFilterRepository.create({
3819
+ filterId: filters[i].id,
3820
+ categoryId,
3821
+ });
3822
+ filtersList.push(newCategoryFilter);
3822
3823
  }
3823
- return filtersList;
3824
+ return filters;
3824
3825
  }
3825
- return [];
3826
3826
  }
3827
3827
  async getChildren(parentId) {
3828
3828
  const { category_tree } = await this.query('category_tree', ['id', 'name', 'parent_id'], {
@@ -4579,9 +4579,240 @@ class VariantHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGra
4579
4579
  }
4580
4580
  }
4581
4581
 
4582
+ class WishlistHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGraphQL(Base)) {
4583
+ constructor({ endpoint, authOptions, interceptors, }, categoryFilterRepository) {
4584
+ super({
4585
+ tableName: 'category',
4586
+ model: Wishlist,
4587
+ endpoint,
4588
+ authOptions,
4589
+ interceptors,
4590
+ fields: [
4591
+ { id: { columnName: 'id', to: (value) => +value, from: (value) => value.toString() } },
4592
+ { firestoreId: { columnName: 'firestore_id' } },
4593
+ 'name',
4594
+ 'description',
4595
+ 'image',
4596
+ 'published',
4597
+ 'shop',
4598
+ { shops: { columnName: 'shops', type: HasuraGraphQLColumnType.Jsonb } },
4599
+ 'slug',
4600
+ { brandCategory: { columnName: 'brand_category' } },
4601
+ { brandCategoryBanner: { columnName: 'brand_banner' } },
4602
+ { brandCategoryBannerMobile: { columnName: 'brand_banner_mobile' } },
4603
+ { brandLogo: { columnName: 'brand_logo' } },
4604
+ { brandCondition: { columnName: 'brand_condition' } },
4605
+ {
4606
+ conditions: {
4607
+ columnName: 'tag_condition',
4608
+ type: HasuraGraphQLColumnType.Jsonb,
4609
+ from: (tags, row) => ({ brand: row.brand_condition, tags: Array.isArray(tags) ? tags : [] }),
4610
+ bindPersistData: (value) => {
4611
+ return {
4612
+ brand_condition: value.brand,
4613
+ tag_condition: value?.tags || [],
4614
+ };
4615
+ },
4616
+ bindFindFilter: (sentence) => {
4617
+ return {
4618
+ ...(sentence.brand ? { brand_condition: sentence.brand } : {}),
4619
+ ...(sentence.tags ? { tag_condition: sentence.tags } : {}),
4620
+ };
4621
+ },
4622
+ },
4623
+ },
4624
+ {
4625
+ filters: {
4626
+ columnName: 'filters',
4627
+ foreignKeyColumn: { filter_id: 'id' },
4628
+ fields: [{ filter: ['id', 'description', 'slug', 'enabled'] }],
4629
+ bindPersistData: (value) => ({
4630
+ filters: { data: value.map((filter) => ({ filter_id: filter.id })) },
4631
+ }),
4632
+ from: (filters) => filters?.map((filter) => filter?.filter) || [],
4633
+ },
4634
+ },
4635
+ { createdAt: { columnName: 'created_at' } },
4636
+ { updatedAt: { columnName: 'updated_at' } },
4637
+ {
4638
+ products: {
4639
+ columnName: 'products',
4640
+ fields: ['product_id'],
4641
+ from: (value) => value.map((product) => product.product_id.toString()),
4642
+ to: (productIds) => productIds.map((productId) => ({
4643
+ product_id: +productId,
4644
+ })),
4645
+ },
4646
+ },
4647
+ {
4648
+ metadata: {
4649
+ columnName: 'metadata',
4650
+ fields: ['title', 'description'],
4651
+ bindPersistData: (value) => ({
4652
+ metadata: { data: value },
4653
+ }),
4654
+ },
4655
+ },
4656
+ { isCollection: { columnName: 'is_collection' } },
4657
+ { isWishlist: { columnName: 'is_wishlist' } },
4658
+ 'reference',
4659
+ { parentId: { columnName: 'parent_id' } },
4660
+ {
4661
+ parent: {
4662
+ columnName: 'parent',
4663
+ foreignKeyColumn: { id: 'parentId' },
4664
+ fields: ['id', 'name', 'reference', 'slug'],
4665
+ },
4666
+ },
4667
+ { personId: { columnName: 'person_id' } },
4668
+ ],
4669
+ });
4670
+ this.categoryFilterRepository = categoryFilterRepository;
4671
+ }
4672
+ async create(params) {
4673
+ const { metadata, ...data } = params;
4674
+ return super.create({
4675
+ ...data,
4676
+ isWishlist: true,
4677
+ isCollection: true,
4678
+ brandCategory: false,
4679
+ metadata: metadata || { description: data.description, title: data.name },
4680
+ });
4681
+ }
4682
+ async get(identifiers) {
4683
+ const data = await super.get(identifiers);
4684
+ if (!data.isWishlist)
4685
+ throw new NotFoundError(`Category with id ${identifiers.id} is not a wishlist`);
4686
+ return data;
4687
+ }
4688
+ async update(params) {
4689
+ const { products, id: checkId, metadata, filters, ...data } = params;
4690
+ const plainData = this.paramsToPlain({ id: checkId });
4691
+ const id = plainData.id;
4692
+ const category = await super.update({ id, ...data, isWishlist: true, isCollection: true, brandCategory: false });
4693
+ category.products = products && (await this.updateProducts(+id, { products }));
4694
+ category.metadata = metadata && (await this.updateMetadata(+id, { metadata }));
4695
+ return category;
4696
+ }
4697
+ async getWishlistBySlug(slug) {
4698
+ if (!slug)
4699
+ return;
4700
+ const { data } = await this.find({
4701
+ filters: {
4702
+ slug,
4703
+ isWishlist: { operator: Where.EQUALS, value: true },
4704
+ },
4705
+ options: {
4706
+ enableCount: false,
4707
+ },
4708
+ });
4709
+ if (!data.length)
4710
+ throw new NotFoundError(`Wishlist with slug ${slug} not found`);
4711
+ if (data.length > 1)
4712
+ throw new DuplicatedResultsError('Query returned duplicated values');
4713
+ return data.shift();
4714
+ }
4715
+ async getWishlistByPerson(personId) {
4716
+ if (!personId)
4717
+ return;
4718
+ const { data } = await this.find({
4719
+ filters: {
4720
+ personId: { operator: Where.EQUALS, value: personId },
4721
+ isWishlist: { operator: Where.EQUALS, value: true },
4722
+ },
4723
+ options: {
4724
+ enableCount: false,
4725
+ },
4726
+ });
4727
+ if (!data.length)
4728
+ throw new NotFoundError(`Wishlists from person ${personId} not found`);
4729
+ return data;
4730
+ }
4731
+ async updateProducts(categoryId, { products }) {
4732
+ if ('action' in products && products.action === 'remove') {
4733
+ await this.mutation('delete_category_product', ['affected_rows'], {
4734
+ where: {
4735
+ type: 'category_product_bool_exp',
4736
+ required: true,
4737
+ value: { category_id: { _eq: categoryId } },
4738
+ },
4739
+ });
4740
+ await this.categoryFilterRepository.deleteByCategory(categoryId);
4741
+ return [];
4742
+ }
4743
+ const plainData = this.paramsToPlain({ products });
4744
+ if (!plainData.products || plainData.products.length <= 0)
4745
+ return [];
4746
+ await this.mutation('delete_category_product', ['affected_rows'], {
4747
+ where: {
4748
+ type: 'category_product_bool_exp',
4749
+ required: true,
4750
+ value: { category_id: { _eq: categoryId } },
4751
+ },
4752
+ });
4753
+ await this.categoryFilterRepository.deleteByCategory(categoryId);
4754
+ await this.mutation('insert_category_product', ['affected_rows'], {
4755
+ objects: {
4756
+ type: '[category_product_insert_input!]',
4757
+ required: true,
4758
+ value: plainData.products.map((productId) => ({ category_id: categoryId, product_id: productId })),
4759
+ },
4760
+ });
4761
+ return plainData.products;
4762
+ }
4763
+ async updateMetadata(categoryId, { metadata }) {
4764
+ const plainData = this.paramsToPlain({ metadata });
4765
+ if (!plainData.metadata)
4766
+ return;
4767
+ await this.mutation('update_category_metadata_by_pk', ['category_id'], {
4768
+ pk_columns: {
4769
+ value: { category_id: categoryId },
4770
+ type: 'category_metadata_pk_columns_input',
4771
+ required: true,
4772
+ },
4773
+ _set: {
4774
+ value: omit(metadata, ['category_id']),
4775
+ type: 'category_metadata_set_input',
4776
+ required: true,
4777
+ },
4778
+ });
4779
+ return plainData.metadata;
4780
+ }
4781
+ getCategoryBySlug(slug, _shop) {
4782
+ return this.getWishlistBySlug(slug);
4783
+ }
4784
+ async getCategoryByShop(shop) {
4785
+ if (!shop)
4786
+ return;
4787
+ const { data } = await this.find({
4788
+ filters: {
4789
+ shops: { operator: Where.IN, value: [shop] },
4790
+ published: { operator: Where.EQUALS, value: true },
4791
+ isWishlist: { operator: Where.EQUALS, value: true },
4792
+ },
4793
+ options: {
4794
+ enableCount: false,
4795
+ },
4796
+ });
4797
+ return data;
4798
+ }
4799
+ getCategoriesForHome(categoryIds, limit, gender) {
4800
+ return;
4801
+ }
4802
+ mountCategory(category, options) {
4803
+ return;
4804
+ }
4805
+ getChildren(parentId) {
4806
+ return;
4807
+ }
4808
+ isChild(id, parentId) {
4809
+ return;
4810
+ }
4811
+ }
4812
+
4582
4813
  /**
4583
4814
  * Generated bundle index. Do not edit.
4584
4815
  */
4585
4816
 
4586
- 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 };
4817
+ 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 };
4587
4818
  //# sourceMappingURL=infrab4a-connect.mjs.map