├── .github └── workflows │ ├── check-version.yml │ └── release.yml ├── .gitignore ├── CHANGELOG.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── package.json ├── src ├── admin │ ├── README.md │ ├── components │ │ ├── action-menu.tsx │ │ ├── container.tsx │ │ ├── drawer.tsx │ │ ├── signup-form.tsx │ │ └── table.tsx │ ├── hooks │ │ └── api │ │ │ └── users.tsx │ ├── lib │ │ ├── config.ts │ │ └── query-key-factory.ts │ ├── routes │ │ ├── merchants │ │ │ └── page.tsx │ │ └── sales-channels │ │ │ └── page.tsx │ ├── tsconfig.json │ ├── vite-env.d.ts │ └── widgets │ │ └── signup-widget.tsx ├── api │ ├── README.md │ ├── admin │ │ ├── api-keys │ │ │ └── middlewares.ts │ │ ├── collections │ │ │ └── middlewares.ts │ │ ├── customers │ │ │ ├── middlewares.ts │ │ │ └── route.ts │ │ ├── draft-orders │ │ │ └── middlewares.ts │ │ ├── impersonate │ │ │ ├── middlewares.ts │ │ │ └── route.ts │ │ ├── merchant-stores │ │ │ ├── [id] │ │ │ │ └── route.ts │ │ │ ├── change │ │ │ │ └── route.ts │ │ │ └── route.ts │ │ ├── merchants │ │ │ ├── middlewares.ts │ │ │ ├── query-config.ts │ │ │ ├── route.ts │ │ │ └── validators.ts │ │ ├── orders │ │ │ └── middlewares.ts │ │ ├── price-lists │ │ │ ├── middlewares.ts │ │ │ └── route.ts │ │ ├── products │ │ │ └── middlewares.ts │ │ ├── promotions │ │ │ └── middlewares.ts │ │ ├── regions │ │ │ └── middlewares.ts │ │ ├── sales-channels │ │ │ └── middlewares.ts │ │ ├── shipping-profiles │ │ │ ├── middlewares.ts │ │ │ └── route.ts │ │ ├── stock-locations │ │ │ └── middlewares.ts │ │ ├── tax-rates │ │ │ └── middlewares.ts │ │ ├── tax-regions │ │ │ └── middlewares.ts │ │ └── users │ │ │ └── middlewares.ts │ ├── middlewares.ts │ ├── middlewares │ │ ├── add-store-id-to-filterable-fields.ts │ │ ├── add-store-scope.ts │ │ ├── add-userId-filter-for-admin.ts │ │ ├── add-userId-filter.ts │ │ ├── apply-store-cors.ts │ │ ├── block-data-for-user.ts │ │ ├── check-api-key.ts │ │ ├── logged-in-user.ts │ │ ├── maybe-apply-store-filter.ts │ │ ├── move-ids-to-query-from-filterable-fields.ts │ │ ├── only-for-super-admin.ts │ │ ├── product-store-access-middleware.ts │ │ └── void-middleware.ts │ └── stores │ │ ├── middlewares.ts │ │ ├── regular │ │ └── route.ts │ │ └── super │ │ └── route.ts ├── constants.ts ├── jobs │ └── README.md ├── links │ ├── README.md │ ├── api_key-store.ts │ ├── campaign-store.ts │ ├── collection-store.ts │ ├── customer-sales_channel.ts │ ├── customer-store.ts │ ├── order-store.ts │ ├── price-list-store.ts │ ├── product-store.ts │ ├── promotion-store.ts │ ├── shipping-profile-store.ts │ ├── stock-location-store.ts │ └── user-store.ts ├── modules │ └── README.md ├── patch-admin.ts ├── providers │ └── README.md ├── subscribers │ ├── README.md │ ├── customer-link-created.ts │ └── order-placed.ts ├── utils │ ├── impersonate.ts │ └── queries.ts └── workflows │ ├── README.md │ ├── complete-cart-validate │ ├── index.ts │ └── steps │ │ └── validate-single-store-for-products.ts │ ├── create-customer │ ├── index.ts │ └── steps │ │ └── validate-customers-dublication.ts │ ├── create-multi-store │ └── index.ts │ ├── create-order-payment-collection-autorized │ ├── index.ts │ └── steps │ │ └── create-order-payment-collection-autorized.ts │ ├── create-price-lists-for-store │ ├── index.ts │ └── steps │ │ └── link-price-list-to-store.ts │ ├── create-product-price-list-prices │ ├── index.ts │ └── steps │ │ └── get-product-price-lists-prices.ts │ ├── create-shipping-profiles-for-store │ ├── index.ts │ └── steps │ │ └── link-shipping-profile-to-store.ts │ ├── create-store │ ├── index.ts │ └── steps │ │ ├── checkSuperAdmin.ts │ │ ├── checkUnickStoreName.ts │ │ ├── create-fulfillment-sets.ts │ │ ├── create-user.ts │ │ ├── get-sales-channel.ts │ │ ├── link-stock-location-to-fulfillment-provider.ts │ │ ├── link-stock-lock-to-fullfilment.ts │ │ ├── link-user-to-store.ts │ │ ├── retrieve-regions.ts │ │ └── search-stores.ts │ ├── get-merchants-list │ ├── index.ts │ └── steps │ │ └── get-merchants.ts │ ├── hooks │ ├── apikey-created.ts │ ├── campaign-created.ts │ ├── cart-complete-validate.ts │ ├── customer-created.ts │ ├── order-created.ts │ ├── product-collection-created.ts │ ├── product-created.ts │ ├── promotion-created.ts │ └── stock-location-created.ts │ ├── link-apikey-to-store │ ├── index.ts │ └── steps │ │ └── link-apikey-to-store.ts │ ├── link-campaign-to-store │ ├── index.ts │ └── steps │ │ └── link-campaign-to-store.ts │ ├── link-customer-to-sales-channel │ ├── index.ts │ └── steps │ │ ├── get-customer-group.ts │ │ └── link-customers-to-sales-channel.ts │ ├── link-customer-to-store │ ├── index.ts │ └── steps │ │ ├── get-current-store.ts │ │ ├── link-customer-to-store.ts │ │ └── validate-customer-to-store-link.ts │ ├── link-order-to-store │ ├── index.ts │ └── steps │ │ └── link-order-to-store.ts │ ├── link-product-collection-to-store │ ├── index.ts │ └── steps │ │ └── link-product-collection-to-store.ts │ ├── link-product-to-store │ ├── index.ts │ └── steps │ │ └── link-product-to-store.ts │ ├── link-promotion-to-store │ ├── index.ts │ └── steps │ │ └── link-promotion-to-store.ts │ └── link-stock-location-to-store │ ├── index.ts │ └── steps │ ├── link-stock-location-to-store.ts │ └── search-store.ts ├── tsconfig.json └── yarn.lock /.github/workflows/check-version.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/.github/workflows/check-version.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/package.json -------------------------------------------------------------------------------- /src/admin/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/admin/README.md -------------------------------------------------------------------------------- /src/admin/components/action-menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/admin/components/action-menu.tsx -------------------------------------------------------------------------------- /src/admin/components/container.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/admin/components/container.tsx -------------------------------------------------------------------------------- /src/admin/components/drawer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/admin/components/drawer.tsx -------------------------------------------------------------------------------- /src/admin/components/signup-form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/admin/components/signup-form.tsx -------------------------------------------------------------------------------- /src/admin/components/table.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/admin/components/table.tsx -------------------------------------------------------------------------------- /src/admin/hooks/api/users.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/admin/hooks/api/users.tsx -------------------------------------------------------------------------------- /src/admin/lib/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/admin/lib/config.ts -------------------------------------------------------------------------------- /src/admin/lib/query-key-factory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/admin/lib/query-key-factory.ts -------------------------------------------------------------------------------- /src/admin/routes/merchants/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/admin/routes/merchants/page.tsx -------------------------------------------------------------------------------- /src/admin/routes/sales-channels/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/admin/routes/sales-channels/page.tsx -------------------------------------------------------------------------------- /src/admin/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/admin/tsconfig.json -------------------------------------------------------------------------------- /src/admin/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// -------------------------------------------------------------------------------- /src/admin/widgets/signup-widget.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/admin/widgets/signup-widget.tsx -------------------------------------------------------------------------------- /src/api/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/README.md -------------------------------------------------------------------------------- /src/api/admin/api-keys/middlewares.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/admin/api-keys/middlewares.ts -------------------------------------------------------------------------------- /src/api/admin/collections/middlewares.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/admin/collections/middlewares.ts -------------------------------------------------------------------------------- /src/api/admin/customers/middlewares.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/admin/customers/middlewares.ts -------------------------------------------------------------------------------- /src/api/admin/customers/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/admin/customers/route.ts -------------------------------------------------------------------------------- /src/api/admin/draft-orders/middlewares.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/admin/draft-orders/middlewares.ts -------------------------------------------------------------------------------- /src/api/admin/impersonate/middlewares.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/admin/impersonate/middlewares.ts -------------------------------------------------------------------------------- /src/api/admin/impersonate/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/admin/impersonate/route.ts -------------------------------------------------------------------------------- /src/api/admin/merchant-stores/[id]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/admin/merchant-stores/[id]/route.ts -------------------------------------------------------------------------------- /src/api/admin/merchant-stores/change/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/admin/merchant-stores/change/route.ts -------------------------------------------------------------------------------- /src/api/admin/merchant-stores/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/admin/merchant-stores/route.ts -------------------------------------------------------------------------------- /src/api/admin/merchants/middlewares.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/admin/merchants/middlewares.ts -------------------------------------------------------------------------------- /src/api/admin/merchants/query-config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/admin/merchants/query-config.ts -------------------------------------------------------------------------------- /src/api/admin/merchants/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/admin/merchants/route.ts -------------------------------------------------------------------------------- /src/api/admin/merchants/validators.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/admin/merchants/validators.ts -------------------------------------------------------------------------------- /src/api/admin/orders/middlewares.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/admin/orders/middlewares.ts -------------------------------------------------------------------------------- /src/api/admin/price-lists/middlewares.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/admin/price-lists/middlewares.ts -------------------------------------------------------------------------------- /src/api/admin/price-lists/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/admin/price-lists/route.ts -------------------------------------------------------------------------------- /src/api/admin/products/middlewares.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/admin/products/middlewares.ts -------------------------------------------------------------------------------- /src/api/admin/promotions/middlewares.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/admin/promotions/middlewares.ts -------------------------------------------------------------------------------- /src/api/admin/regions/middlewares.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/admin/regions/middlewares.ts -------------------------------------------------------------------------------- /src/api/admin/sales-channels/middlewares.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/admin/sales-channels/middlewares.ts -------------------------------------------------------------------------------- /src/api/admin/shipping-profiles/middlewares.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/admin/shipping-profiles/middlewares.ts -------------------------------------------------------------------------------- /src/api/admin/shipping-profiles/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/admin/shipping-profiles/route.ts -------------------------------------------------------------------------------- /src/api/admin/stock-locations/middlewares.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/admin/stock-locations/middlewares.ts -------------------------------------------------------------------------------- /src/api/admin/tax-rates/middlewares.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/admin/tax-rates/middlewares.ts -------------------------------------------------------------------------------- /src/api/admin/tax-regions/middlewares.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/admin/tax-regions/middlewares.ts -------------------------------------------------------------------------------- /src/api/admin/users/middlewares.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/admin/users/middlewares.ts -------------------------------------------------------------------------------- /src/api/middlewares.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/middlewares.ts -------------------------------------------------------------------------------- /src/api/middlewares/add-store-id-to-filterable-fields.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/middlewares/add-store-id-to-filterable-fields.ts -------------------------------------------------------------------------------- /src/api/middlewares/add-store-scope.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/middlewares/add-store-scope.ts -------------------------------------------------------------------------------- /src/api/middlewares/add-userId-filter-for-admin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/middlewares/add-userId-filter-for-admin.ts -------------------------------------------------------------------------------- /src/api/middlewares/add-userId-filter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/middlewares/add-userId-filter.ts -------------------------------------------------------------------------------- /src/api/middlewares/apply-store-cors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/middlewares/apply-store-cors.ts -------------------------------------------------------------------------------- /src/api/middlewares/block-data-for-user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/middlewares/block-data-for-user.ts -------------------------------------------------------------------------------- /src/api/middlewares/check-api-key.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/middlewares/check-api-key.ts -------------------------------------------------------------------------------- /src/api/middlewares/logged-in-user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/middlewares/logged-in-user.ts -------------------------------------------------------------------------------- /src/api/middlewares/maybe-apply-store-filter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/middlewares/maybe-apply-store-filter.ts -------------------------------------------------------------------------------- /src/api/middlewares/move-ids-to-query-from-filterable-fields.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/middlewares/move-ids-to-query-from-filterable-fields.ts -------------------------------------------------------------------------------- /src/api/middlewares/only-for-super-admin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/middlewares/only-for-super-admin.ts -------------------------------------------------------------------------------- /src/api/middlewares/product-store-access-middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/middlewares/product-store-access-middleware.ts -------------------------------------------------------------------------------- /src/api/middlewares/void-middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/middlewares/void-middleware.ts -------------------------------------------------------------------------------- /src/api/stores/middlewares.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/stores/middlewares.ts -------------------------------------------------------------------------------- /src/api/stores/regular/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/stores/regular/route.ts -------------------------------------------------------------------------------- /src/api/stores/super/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/api/stores/super/route.ts -------------------------------------------------------------------------------- /src/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/constants.ts -------------------------------------------------------------------------------- /src/jobs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/jobs/README.md -------------------------------------------------------------------------------- /src/links/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/links/README.md -------------------------------------------------------------------------------- /src/links/api_key-store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/links/api_key-store.ts -------------------------------------------------------------------------------- /src/links/campaign-store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/links/campaign-store.ts -------------------------------------------------------------------------------- /src/links/collection-store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/links/collection-store.ts -------------------------------------------------------------------------------- /src/links/customer-sales_channel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/links/customer-sales_channel.ts -------------------------------------------------------------------------------- /src/links/customer-store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/links/customer-store.ts -------------------------------------------------------------------------------- /src/links/order-store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/links/order-store.ts -------------------------------------------------------------------------------- /src/links/price-list-store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/links/price-list-store.ts -------------------------------------------------------------------------------- /src/links/product-store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/links/product-store.ts -------------------------------------------------------------------------------- /src/links/promotion-store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/links/promotion-store.ts -------------------------------------------------------------------------------- /src/links/shipping-profile-store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/links/shipping-profile-store.ts -------------------------------------------------------------------------------- /src/links/stock-location-store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/links/stock-location-store.ts -------------------------------------------------------------------------------- /src/links/user-store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/links/user-store.ts -------------------------------------------------------------------------------- /src/modules/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/modules/README.md -------------------------------------------------------------------------------- /src/patch-admin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/patch-admin.ts -------------------------------------------------------------------------------- /src/providers/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/providers/README.md -------------------------------------------------------------------------------- /src/subscribers/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/subscribers/README.md -------------------------------------------------------------------------------- /src/subscribers/customer-link-created.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/subscribers/customer-link-created.ts -------------------------------------------------------------------------------- /src/subscribers/order-placed.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/subscribers/order-placed.ts -------------------------------------------------------------------------------- /src/utils/impersonate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/utils/impersonate.ts -------------------------------------------------------------------------------- /src/utils/queries.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/utils/queries.ts -------------------------------------------------------------------------------- /src/workflows/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/README.md -------------------------------------------------------------------------------- /src/workflows/complete-cart-validate/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/complete-cart-validate/index.ts -------------------------------------------------------------------------------- /src/workflows/complete-cart-validate/steps/validate-single-store-for-products.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/complete-cart-validate/steps/validate-single-store-for-products.ts -------------------------------------------------------------------------------- /src/workflows/create-customer/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/create-customer/index.ts -------------------------------------------------------------------------------- /src/workflows/create-customer/steps/validate-customers-dublication.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/create-customer/steps/validate-customers-dublication.ts -------------------------------------------------------------------------------- /src/workflows/create-multi-store/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/create-multi-store/index.ts -------------------------------------------------------------------------------- /src/workflows/create-order-payment-collection-autorized/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/create-order-payment-collection-autorized/index.ts -------------------------------------------------------------------------------- /src/workflows/create-order-payment-collection-autorized/steps/create-order-payment-collection-autorized.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/create-order-payment-collection-autorized/steps/create-order-payment-collection-autorized.ts -------------------------------------------------------------------------------- /src/workflows/create-price-lists-for-store/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/create-price-lists-for-store/index.ts -------------------------------------------------------------------------------- /src/workflows/create-price-lists-for-store/steps/link-price-list-to-store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/create-price-lists-for-store/steps/link-price-list-to-store.ts -------------------------------------------------------------------------------- /src/workflows/create-product-price-list-prices/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/create-product-price-list-prices/index.ts -------------------------------------------------------------------------------- /src/workflows/create-product-price-list-prices/steps/get-product-price-lists-prices.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/create-product-price-list-prices/steps/get-product-price-lists-prices.ts -------------------------------------------------------------------------------- /src/workflows/create-shipping-profiles-for-store/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/create-shipping-profiles-for-store/index.ts -------------------------------------------------------------------------------- /src/workflows/create-shipping-profiles-for-store/steps/link-shipping-profile-to-store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/create-shipping-profiles-for-store/steps/link-shipping-profile-to-store.ts -------------------------------------------------------------------------------- /src/workflows/create-store/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/create-store/index.ts -------------------------------------------------------------------------------- /src/workflows/create-store/steps/checkSuperAdmin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/create-store/steps/checkSuperAdmin.ts -------------------------------------------------------------------------------- /src/workflows/create-store/steps/checkUnickStoreName.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/create-store/steps/checkUnickStoreName.ts -------------------------------------------------------------------------------- /src/workflows/create-store/steps/create-fulfillment-sets.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/create-store/steps/create-fulfillment-sets.ts -------------------------------------------------------------------------------- /src/workflows/create-store/steps/create-user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/create-store/steps/create-user.ts -------------------------------------------------------------------------------- /src/workflows/create-store/steps/get-sales-channel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/create-store/steps/get-sales-channel.ts -------------------------------------------------------------------------------- /src/workflows/create-store/steps/link-stock-location-to-fulfillment-provider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/create-store/steps/link-stock-location-to-fulfillment-provider.ts -------------------------------------------------------------------------------- /src/workflows/create-store/steps/link-stock-lock-to-fullfilment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/create-store/steps/link-stock-lock-to-fullfilment.ts -------------------------------------------------------------------------------- /src/workflows/create-store/steps/link-user-to-store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/create-store/steps/link-user-to-store.ts -------------------------------------------------------------------------------- /src/workflows/create-store/steps/retrieve-regions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/create-store/steps/retrieve-regions.ts -------------------------------------------------------------------------------- /src/workflows/create-store/steps/search-stores.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/create-store/steps/search-stores.ts -------------------------------------------------------------------------------- /src/workflows/get-merchants-list/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/get-merchants-list/index.ts -------------------------------------------------------------------------------- /src/workflows/get-merchants-list/steps/get-merchants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/get-merchants-list/steps/get-merchants.ts -------------------------------------------------------------------------------- /src/workflows/hooks/apikey-created.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/hooks/apikey-created.ts -------------------------------------------------------------------------------- /src/workflows/hooks/campaign-created.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/hooks/campaign-created.ts -------------------------------------------------------------------------------- /src/workflows/hooks/cart-complete-validate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/hooks/cart-complete-validate.ts -------------------------------------------------------------------------------- /src/workflows/hooks/customer-created.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/hooks/customer-created.ts -------------------------------------------------------------------------------- /src/workflows/hooks/order-created.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/hooks/order-created.ts -------------------------------------------------------------------------------- /src/workflows/hooks/product-collection-created.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/hooks/product-collection-created.ts -------------------------------------------------------------------------------- /src/workflows/hooks/product-created.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/hooks/product-created.ts -------------------------------------------------------------------------------- /src/workflows/hooks/promotion-created.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/hooks/promotion-created.ts -------------------------------------------------------------------------------- /src/workflows/hooks/stock-location-created.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/hooks/stock-location-created.ts -------------------------------------------------------------------------------- /src/workflows/link-apikey-to-store/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/link-apikey-to-store/index.ts -------------------------------------------------------------------------------- /src/workflows/link-apikey-to-store/steps/link-apikey-to-store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/link-apikey-to-store/steps/link-apikey-to-store.ts -------------------------------------------------------------------------------- /src/workflows/link-campaign-to-store/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/link-campaign-to-store/index.ts -------------------------------------------------------------------------------- /src/workflows/link-campaign-to-store/steps/link-campaign-to-store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/link-campaign-to-store/steps/link-campaign-to-store.ts -------------------------------------------------------------------------------- /src/workflows/link-customer-to-sales-channel/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/link-customer-to-sales-channel/index.ts -------------------------------------------------------------------------------- /src/workflows/link-customer-to-sales-channel/steps/get-customer-group.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/link-customer-to-sales-channel/steps/get-customer-group.ts -------------------------------------------------------------------------------- /src/workflows/link-customer-to-sales-channel/steps/link-customers-to-sales-channel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/link-customer-to-sales-channel/steps/link-customers-to-sales-channel.ts -------------------------------------------------------------------------------- /src/workflows/link-customer-to-store/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/link-customer-to-store/index.ts -------------------------------------------------------------------------------- /src/workflows/link-customer-to-store/steps/get-current-store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/link-customer-to-store/steps/get-current-store.ts -------------------------------------------------------------------------------- /src/workflows/link-customer-to-store/steps/link-customer-to-store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/link-customer-to-store/steps/link-customer-to-store.ts -------------------------------------------------------------------------------- /src/workflows/link-customer-to-store/steps/validate-customer-to-store-link.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/link-customer-to-store/steps/validate-customer-to-store-link.ts -------------------------------------------------------------------------------- /src/workflows/link-order-to-store/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/link-order-to-store/index.ts -------------------------------------------------------------------------------- /src/workflows/link-order-to-store/steps/link-order-to-store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/link-order-to-store/steps/link-order-to-store.ts -------------------------------------------------------------------------------- /src/workflows/link-product-collection-to-store/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/link-product-collection-to-store/index.ts -------------------------------------------------------------------------------- /src/workflows/link-product-collection-to-store/steps/link-product-collection-to-store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/link-product-collection-to-store/steps/link-product-collection-to-store.ts -------------------------------------------------------------------------------- /src/workflows/link-product-to-store/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/link-product-to-store/index.ts -------------------------------------------------------------------------------- /src/workflows/link-product-to-store/steps/link-product-to-store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/link-product-to-store/steps/link-product-to-store.ts -------------------------------------------------------------------------------- /src/workflows/link-promotion-to-store/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/link-promotion-to-store/index.ts -------------------------------------------------------------------------------- /src/workflows/link-promotion-to-store/steps/link-promotion-to-store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/link-promotion-to-store/steps/link-promotion-to-store.ts -------------------------------------------------------------------------------- /src/workflows/link-stock-location-to-store/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/link-stock-location-to-store/index.ts -------------------------------------------------------------------------------- /src/workflows/link-stock-location-to-store/steps/link-stock-location-to-store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/link-stock-location-to-store/steps/link-stock-location-to-store.ts -------------------------------------------------------------------------------- /src/workflows/link-stock-location-to-store/steps/search-store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/src/workflows/link-stock-location-to-store/steps/search-store.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tech-Labi/medusa-marketplace-plugin/HEAD/yarn.lock --------------------------------------------------------------------------------