fPolic
e4438ae2e8
Merge branch 'feat/payment-module-models' into feat/payment-module-interfaces
2024-01-17 09:43:23 +01:00
fPolic
ef7f51afe6
fix: remove is selected
2024-01-17 09:43:00 +01:00
Riqwan Thamir
68ddd866a5
feat(utils,types): add registerUsages for promotions + computeActions consider usage ( #6094 )
...
RESOLVES CORE-1639
RESOLVES CORE-1640
RESOLVES CORE-1634
2024-01-16 20:06:06 +00:00
Oli Juhl
a5e8bf06c6
feat(cart): Line items operations ( #6066 )
2024-01-16 15:44:49 +01:00
Kasper Fabricius Kristensen
6315a61189
feat(dashboard): add customers domain ( #6093 )
2024-01-16 15:23:45 +01:00
fPolic
ca0d6f5a9f
fix: method overloads
2024-01-16 14:13:48 +01:00
fPolic
dcdb6df6f8
fix: listPaymentCollections shape
2024-01-16 12:26:07 +01:00
fPolic
33e5b7f72f
fix: Payment merge
2024-01-16 12:25:24 +01:00
fPolic
67acdcdc92
Merge branch 'feat/payment-module-models' into feat/payment-module-interfaces
...
# Conflicts:
# packages/payment/src/models/payment.ts
2024-01-16 12:20:07 +01:00
fPolic
eab0ca4b9f
fix: serializer
2024-01-16 12:19:03 +01:00
fPolic
bc7829db3c
fix: update models
2024-01-16 11:58:14 +01:00
fPolic
22254a22c0
fix: address feedback partial
2024-01-16 10:30:52 +01:00
fPolic
1cc888df80
feat: Sessions API update
2024-01-16 09:56:54 +01:00
Riqwan Thamir
e28fa7fbdf
feat(utils): add campaign + promotion create / update ( #6077 )
...
* chore: add campaign + promotion operations
* chore: update type
* chore: added validation for campaign_id and campaign
* chore: added update promotions for campaigns
* chore: update campaign on promotion
* chore: fix lint
* chore: add test to remove promotions
2024-01-16 09:37:57 +01:00
fPolic
66ec3d0931
wip: session methods
2024-01-15 18:40:05 +01:00
fPolic
89d6d7e846
fix: add order_edit_id to Payment
2024-01-15 18:04:39 +01:00
fPolic
fbd3fedb68
wip: service
2024-01-15 17:15:49 +01:00
fPolic
56752039cf
wip: interface and types
2024-01-15 15:18:02 +01:00
Kasper Fabricius Kristensen
a2c149e7e5
feat(dashboard,ui): Streamline spacing and sizing ( #6061 )
2024-01-15 11:43:16 +01:00
Frane Polić
efdc59fd53
Merge branch 'develop' into feat/payment-module-models
2024-01-15 11:19:55 +01:00
fPolic
1d82294ba4
fix: currency code
2024-01-15 10:58:31 +01:00
fPolic
aabe164793
fix: partial feedback address
2024-01-15 10:34:45 +01:00
Shahed Nasser
5dacd4ac9f
docs: fix example of createFulfillment ( #6088 )
2024-01-15 11:20:55 +02:00
Adrien de Peretti
72bc52231c
chore(utils): Update base repository to infer primary keys and support composite ( #6062 )
2024-01-14 17:13:25 +01:00
fade8ea7bf
feat(utils,types): campaigns and campaign budgets + services CRUD ( #6063 )
...
* chore: added item/shipping adjustments for order/items/shipping_methods
* chore: add validation for order type and target rules
* chore: add comment for applied promotions
* chore: add shipping method and item adjustments
* chore: include applied promotions to items/shipping_method for each case
* chore: handle case for items across and order to consider existing applications
* chore: handle case for applied promo values to shipping => across
* chore: added changeset
* chore: update return of function
* chore: campaigns and campaign budgets + services CRUD
* Apply suggestions from code review
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
* chore: minor refactor
* chore: added single/bulk interfaces
* Apply suggestions from code review
Co-authored-by: Philip Korsholm <88927411+pKorsholm@users.noreply.github.com >
* chore: use DAL date entity
* chore: align nullable
* Update packages/promotion/src/models/promotion-rule.ts
* chore: fix types
* chore: review changes
* Update packages/promotion/src/utils/compute-actions/shipping-methods.ts
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
---------
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
Co-authored-by: Philip Korsholm <88927411+pKorsholm@users.noreply.github.com >
2024-01-12 14:14:34 +01:00
fPolic
a7f74bdfb8
fix: add missing indexes
2024-01-12 14:10:56 +01:00
fPolic
00ee67c228
chore: refactor
2024-01-12 14:02:45 +01:00
Riqwan Thamir
b782d3bcb7
feat(utils,types): added item/shipping adjustments for order/items/shipping_methods ( #6050 )
...
what:
- adds compute actions for the following cases:
- items => each & across
- shipping_method => each & across
- order
- adds a remove compute actions when code is no longer present in adjustments array
RESOLVES CORE-1625
RESOLVES CORE-1626
RESOLVES CORE-1627
RESOLVES CORE-1628
RESOLVES CORE-1585
2024-01-12 13:00:06 +00:00
fPolic
f2a4f454fe
fix: Refund/Capture delete, add indexes
2024-01-12 12:03:17 +01:00
fPolic
1b882a90ed
feat: optional props, update fields
2024-01-12 11:46:08 +01:00
Oli Juhl
192bc336cc
feat(cart): Partial module service implementation ( #6012 )
...
Awaiting #6000 #6008
**What**
- CRUD for Address in Cart Module service
- Tests for CRUD Carts + Address
**Not**
- Line items, shipping methods, tax lines, adjustment lines
2024-01-12 10:30:57 +00:00
fPolic
b601212398
Merge branch 'develop' into feat/payment-module-models
...
# Conflicts:
# packages/payment/src/models/index.ts
# packages/payment/src/models/payment.ts
2024-01-11 18:38:43 +01:00
fPolic
9e72d25203
feat: migration
2024-01-11 18:33:43 +01:00
fPolic
8a5888aeac
feat: Payment models
2024-01-11 18:29:33 +01:00
Frane Polić
8472460f53
feat: Payment module package setup ( #6059 )
2024-01-11 16:41:40 +01:00
Oli Juhl
ce81cade88
feat(cart): Cart + Address services ( #6055 )
...
Duplicate of #6008 , but I messed up my git history big time :'(
**What**
- CartService and CartRepository + tests
- AddressService and AddressRepository + tests
- CartModuleService skeleton. Full implementation + tests will be added in a separate PR
2024-01-11 14:40:13 +00:00
fPolic
c9f1858649
fix: missing files
2024-01-11 11:35:01 +01:00
fPolic
824bcce3dd
feat: Payment module package setup
2024-01-11 11:26:41 +01:00
Adrien de Peretti and Riqwan Thamir
b6ac768698
chore: abstract the modules repository ( #6035 )
...
**What**
Reduce the work effort to create repositories when building new modules by abstracting the most common cases into the base class default implementation returned by a factory
- [x] Migrate all modules
Co-authored-by: Riqwan Thamir <5105988+riqwan@users.noreply.github.com >
2024-01-10 13:12:02 +00:00
Oli Juhl
ef5024980d
feat(cart): Public-facing DTOs + (partial) module interface ( #6000 )
2024-01-10 13:27:58 +01:00
6721633478
chore(docs): Generated References ( #6042 )
...
Generated the following references:
- `entities`
- `fulfillment`
- `inventory`
- `js_client`
- `medusa`
- `medusa_react`
- `modules`
- `payment`
- `pricing`
- `product`
- `services`
- `stock_location`
- `types`
- `workflows`
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com >
2024-01-10 09:25:11 +00:00
bc58bc8f47
chore(docs): Updated API Reference ( #6041 )
...
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request ) GitHub action
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com >
2024-01-10 08:14:30 +00:00
Adrien de Peretti
a9b4214503
chore(utils, product): Attempt to simplify module scripts export ( #6021 )
2024-01-09 20:20:05 +01:00
Shahed Nasser
13f12e1953
docs: documentation updates for v1.20 ( #6031 )
...
* docs: documentation updates for v1.20
* fix stripe upgrade guide
* fixed vale error
* fix eslint errors
* change stripe environment variables to options
2024-01-09 19:07:24 +01:00
olivermrbl
9fda1e63c1
chore: Version @medusajs/medusa
2024-01-09 18:48:34 +01:00
github-actions[bot]
47272bf2b9
chore: Version Packages ( #5880 )
2024-01-09 18:41:35 +01:00
Shahed Nasser
18de90e603
docs: fix tsdocs following typedoc update + 1.20 release ( #6033 )
...
* docs: fix tsdocs following typedoc update + 1.20 release
* Fix OAS validation errors
* fixes to react-docs-generator
* fix content linting
2024-01-09 17:15:29 +02:00
Shahed Nasser
125879ada4
fix(medusa-payment-stripe): change webhook environment variables to plugin options ( #6034 )
...
* fix(medusa-payment-stripe): change webhook environment variables to plugin options
* access options through service
2024-01-09 13:21:05 +01:00
Philip Korsholm
f065581736
Feat(authentication): Load auth providers ( #6023 )
...
* initial providers loader implementation
* registerAdd providers
* remove comment
* remove comment
2024-01-09 10:02:02 +01:00
Adrien de Peretti
fbee006e51
chore(medusa, orchestration, utils, workflows-sdk): add transaction options support and cleanup ( #6020 )
...
* chore(medusa, orchestration, utils, workflows-sdk): add transaction options support and cleanup
2024-01-08 10:07:12 -03:00