-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release v2.1.0 (@W-15945047@) (#162)
* Download APIs * Fix CI tests * Tweak bundle size limit Different node versions would result in slightly different bundle size. * CI: bypass the cache for now * Reinstall dependencies for passing Node 20 tests * To pass Node 12 tests, add some dependency resolutions * Revert "To pass Node 12 tests, add some dependency resolutions" This reverts commit 7a977b0. * Revert "Reinstall dependencies for passing Node 20 tests" This reverts commit 77e36b2. * Remove Node 10 support This has been decided a few years ago in #68. * Remove node 20 support for now It looks like `yarn install` has never worked under Node 20. CI didn't catch this error because it was incorrectly set up (and as a result using Node 18 everywhere). * CI: reuse the cache * Update CHANGELOG.md * Generate the doc * Increment version * Update CHANGELOG.md * CI: create unique cache for each Node version tested
- Loading branch information
Showing
463 changed files
with
3,835 additions
and
2,098 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
10 | ||
14 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
apis/shopper-baskets/examples/basket/items-patch-request.raml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#%RAML 1.0 NamedExample | ||
value: | ||
[{ | ||
"itemId": "051e908cca031ebf8ee80cbb0a", | ||
"productId": "green-bag", | ||
"quantity": 1 | ||
},{ | ||
"itemId": "078a492cca031ebf8ee80739ab", | ||
"optionItems" : [{ | ||
"optionId":"Option1", | ||
"optionValueId":"ValueA" | ||
}], | ||
"quantity": 1 | ||
}] |
184 changes: 184 additions & 0 deletions
184
apis/shopper-baskets/examples/basket/items-patch-response.raml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,184 @@ | ||
#%RAML 1.0 NamedExample | ||
value: | ||
{ | ||
"adjustedMerchandizeTotalTax": 36.5, | ||
"adjustedShippingTotalTax": 0.8, | ||
"agentBasket": false, | ||
"basketId": "a10ff320829cb0eef93ca5310a", | ||
"billingAddress": { | ||
"address1": "4 Main St.", | ||
"address2": "Basement Flat", | ||
"city": "Boston", | ||
"companyName": "Flexo", | ||
"countryCode": "US", | ||
"firstName": "John", | ||
"fullName": "John H. Smith", | ||
"id": "0aa3fce01dec8a51ee50323c9c", | ||
"jobTitle": "Sales Manager", | ||
"lastName": "Smith", | ||
"phone": "+1 33-33-33", | ||
"postalCode": "40982", | ||
"secondName": "H.", | ||
"stateCode": "MA", | ||
"title": "Mr" | ||
}, | ||
"channelType": "storefront", | ||
"creationDate": "2019-10-17T10:59:24.503Z", | ||
"currency": "USD", | ||
"customerInfo": { | ||
"customerId": "beQeANXJNsd0xcINsB6cSrobQa", | ||
"email": "" | ||
}, | ||
"giftCertificateItems": [ | ||
{ | ||
"amount": 2, | ||
"giftCertificateItemId": "a9c38be81002962a93310ffd66", | ||
"recipientEmail": "[email protected]", | ||
"shipmentId": "me" | ||
} | ||
], | ||
"lastModified": "2019-10-17T11:00:22.545Z", | ||
"merchandizeTotalTax": 36.5, | ||
"notes": { | ||
}, | ||
"orderTotal": 785.24, | ||
"paymentInstruments": [ | ||
{ | ||
"amount": 10.3, | ||
"paymentInstrumentId": "19ceb7afa36ffe22fcd93c3518", | ||
"paymentMethodId": "BML" | ||
}, | ||
{ | ||
"amount": 10.4, | ||
"paymentCard": { | ||
"cardType": "Visa", | ||
"creditCardExpired": false | ||
}, | ||
"paymentInstrumentId": "74c2fd8a9ede5712be8f18c638", | ||
"paymentMethodId": "CREDIT_CARD" | ||
} | ||
], | ||
"productItems": [ | ||
{ | ||
"adjustedTax": 30, | ||
"basePrice": 199.99, | ||
"bonusProductLineItem": false, | ||
"gift": false, | ||
"itemId": "051e908cca031ebf8ee80cbb0a", | ||
"itemText": "Green Umbrella - Sustained Edition", | ||
"optionItems": [ | ||
{ | ||
"adjustedTax": 0, | ||
"basePrice": 0, | ||
"bonusProductLineItem": false, | ||
"gift": false, | ||
"itemId": "1b48e2474f18edefc34577daf8", | ||
"itemText": "We will plant a tree for your order.", | ||
"optionId": "plantATre", | ||
"optionValueId": "000", | ||
"price": 0, | ||
"priceAfterItemDiscount": 0, | ||
"priceAfterOrderDiscount": 0, | ||
"productId": "000", | ||
"productName": "Plant a tree.", | ||
"quantity": 3, | ||
"shipmentId": "me", | ||
"tax": 0, | ||
"taxBasis": 0, | ||
"taxClassId": "standard", | ||
"taxRate": 0.05 | ||
} | ||
], | ||
"price": 599.97, | ||
"priceAfterItemDiscount": 599.97, | ||
"priceAfterOrderDiscount": 599.97, | ||
"productId": "green-umbrella", | ||
"productName": "Green Umbrella - Sustained Edition", | ||
"quantity": 3, | ||
"shipmentId": "me", | ||
"tax": 30, | ||
"taxBasis": 599.97, | ||
"taxClassId": "standard", | ||
"taxRate": 0.05 | ||
}, | ||
{ | ||
"adjustedTax": 1.5, | ||
"basePrice": 29.99, | ||
"bonusProductLineItem": false, | ||
"gift": false, | ||
"itemId": "32f71ef20eccbc9b75d2114352", | ||
"itemText": "Green Bag", | ||
"price": 29.99, | ||
"priceAfterItemDiscount": 29.99, | ||
"priceAfterOrderDiscount": 29.99, | ||
"productId": "green-bag", | ||
"productName": "Green Bag", | ||
"quantity": 1, | ||
"shipmentId": "me", | ||
"tax": 1.5, | ||
"taxBasis": 29.99, | ||
"taxClassId": "standard", | ||
"taxRate": 0.05 | ||
} | ||
], | ||
"productSubTotal": 729.95, | ||
"productTotal": 729.95, | ||
"shipments": [ | ||
{ | ||
"adjustedMerchandizeTotalTax": 36.5, | ||
"adjustedShippingTotalTax": 0.8, | ||
"gift": false, | ||
"merchandizeTotalTax": 36.5, | ||
"productSubTotal": 729.95, | ||
"productTotal": 729.95, | ||
"shipmentId": "me", | ||
"shipmentTotal": 785.24, | ||
"shippingAddress": { | ||
"address1": "4 Main St.", | ||
"address2": "Basement Flat", | ||
"city": "Boston", | ||
"companyName": "Flexo", | ||
"countryCode": "US", | ||
"firstName": "John", | ||
"fullName": "John H. Smith", | ||
"id": "c27620f32e6e607c04a35fc2c7", | ||
"jobTitle": "Sales Manager", | ||
"lastName": "Smith", | ||
"phone": "+1 33-33-33", | ||
"postalCode": "40982", | ||
"secondName": "H.", | ||
"stateCode": "MA", | ||
"title": "Mr" | ||
}, | ||
"shippingMethod": { | ||
"description": "Order received within 7-10 business days", | ||
"id": "001", | ||
"name": "Ground", | ||
"price": 15.99 | ||
}, | ||
"shippingStatus": "not_shipped", | ||
"shippingTotal": 15.99, | ||
"shippingTotalTax": 0.8, | ||
"taxTotal": 37.3 | ||
} | ||
], | ||
"shippingItems": [ | ||
{ | ||
"adjustedTax": 0.8, | ||
"basePrice": 15.99, | ||
"itemId": "bf466b517f08b5fae8d553b36c", | ||
"itemText": "Shipping", | ||
"price": 15.99, | ||
"priceAfterItemDiscount": 15.99, | ||
"shipmentId": "me", | ||
"tax": 0.8, | ||
"taxBasis": 15.99, | ||
"taxClassId": "standard", | ||
"taxRate": 0.05 | ||
} | ||
], | ||
"shippingTotal": 15.99, | ||
"shippingTotalTax": 0.8, | ||
"taxation": "net", | ||
"taxTotal": 37.3 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"dependencies":[{"version":"1.1.15","assetId":"api-standards","groupId":"893f605e-10e2-423a-bdb4-f952f56eb6d8"},{"version":"1.0.27","assetId":"commerce-cloud-standards","groupId":"893f605e-10e2-423a-bdb4-f952f56eb6d8"},{"version":"2.0.1","assetId":"checkout-data-types","groupId":"893f605e-10e2-423a-bdb4-f952f56eb6d8"}],"version":"2.0.3","originalFormatVersion":"1.0","apiVersion":"v2","descriptorVersion":"0.1.0","classifier":"raml","main":"shopper-baskets.raml","backwardsCompatible":false,"assetId":"shopper-baskets","groupId":"893f605e-10e2-423a-bdb4-f952f56eb6d8","organizationId":"893f605e-10e2-423a-bdb4-f952f56eb6d8","name":"Shopper Baskets","tags":[],"metadata":{"projectId":"f2e890b0-bc72-4034-a8c6-84d0bafd978d","branchId":"v2","commitId":"2244ac36fde9490da0151b4eb715f8f5ff15e408"}} | ||
{"dependencies":[{"version":"1.1.15","assetId":"api-standards","groupId":"893f605e-10e2-423a-bdb4-f952f56eb6d8"},{"version":"2.0.5","assetId":"checkout-data-types","groupId":"893f605e-10e2-423a-bdb4-f952f56eb6d8"},{"version":"2.0.1","assetId":"commerce-cloud-standards","groupId":"893f605e-10e2-423a-bdb4-f952f56eb6d8"}],"version":"2.0.9","originalFormatVersion":"1.0","apiVersion":"v2","descriptorVersion":"0.1.0","classifier":"raml","main":"shopper-baskets.raml","backwardsCompatible":false,"assetId":"shopper-baskets","groupId":"893f605e-10e2-423a-bdb4-f952f56eb6d8","organizationId":"893f605e-10e2-423a-bdb4-f952f56eb6d8","name":"Shopper Baskets","tags":[],"metadata":{"projectId":"f2e890b0-bc72-4034-a8c6-84d0bafd978d","branchId":"v2","commitId":"70e1a2438c09143495266999183cbd4e5fd41752"}} |
1 change: 0 additions & 1 deletion
1
...ange_modules/893f605e-10e2-423a-bdb4-f952f56eb6d8/checkout-data-types/2.0.1/exchange.json
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions
1
...ange_modules/893f605e-10e2-423a-bdb4-f952f56eb6d8/checkout-data-types/2.0.5/exchange.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"dependencies":[{"version":"2.0.1","assetId":"commerce-cloud-standards","groupId":"893f605e-10e2-423a-bdb4-f952f56eb6d8"}],"version":"2.0.5","originalFormatVersion":"1.0","apiVersion":"v1","descriptorVersion":"0.1.0","classifier":"raml-fragment","main":"checkout-data-types.raml","assetId":"checkout-data-types","groupId":"893f605e-10e2-423a-bdb4-f952f56eb6d8","organizationId":"893f605e-10e2-423a-bdb4-f952f56eb6d8","name":"Checkout Data Types","tags":[],"metadata":{"projectId":"ac07ef0d-aa14-4469-95b7-95c115af175a","branchId":"v2","commitId":"e7cad8834ddd908357c9160b31f3f9de2939fa01"}} |
13 changes: 0 additions & 13 deletions
13
...-423a-bdb4-f952f56eb6d8/commerce-cloud-standards/1.0.27/SecuritySchemes/bearer-token.raml
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
...odules/893f605e-10e2-423a-bdb4-f952f56eb6d8/commerce-cloud-standards/1.0.27/exchange.json
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.