@graphcommerce/magento-graphql 11.0.0-canary.45 → 11.0.0-canary.47
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.
- package/CHANGELOG.md +12 -0
- package/package.json +5 -5
- package/schema-246/AvailablePaymentMethod.graphqls +6 -0
- package/schema-246/CartAddress.graphqls +39 -0
- package/schema-246/{Customer-orders.graphqls → CustomerOrder.graphqls} +46 -25
- package/schema-246/{SelectedShippingMethod.graphqls → Totals.graphqls} +6 -0
- package/schema-247/AttributeValueInput.graphqls +48 -0
- package/schema-247/{Cart-itemsV2.graphqls → Cart.graphqls} +48 -48
- package/schema-247/CartAddress.graphqls +20 -1
- package/schema-247/CartItemInterface.graphqls +41 -0
- package/schema-247/{Mutation-confirmEmail.graphqls → Confirmation.graphqls} +24 -26
- package/schema-247/CustomerOrder.graphqls +12 -1
- package/schema-247/CustomizableOptionInput.graphqls +6 -0
- package/schema-247/Discount.graphqls +15 -0
- package/schema-247/FilterMatchTypeInput.graphqls +11 -0
- package/schema-247/{Query-guestOrder.graphqls → GuestOrder.graphqls} +13 -6
- package/schema-247/Mutation-contactUs.graphqls +12 -12
- package/schema-247/Mutation-createGuestCart.graphqls +8 -8
- package/schema-247/Mutation-estimateTotals.graphqls +52 -10
- package/schema-247/{Mutation-cancelOrder.graphqls → OrderCancellation.graphqls} +14 -14
- package/schema-247/OrderItemInterface.graphqls +27 -0
- package/schema-247/{Mutation-placeOrder.graphqls → PlaceOrderOutput.graphqls} +12 -17
- package/schema-247/ProductAttributeFilterInput.graphqls +26 -0
- package/schema-247/ProductAttributeSortInput.graphqls +10 -0
- package/schema-247/ProductInterface.graphqls +24 -0
- package/schema-247/Query-attributesList.graphqls +342 -117
- package/schema-247/RoutableUrl.graphqls +17 -0
- package/schema-247/StoreConfig.graphqls +67 -0
- package/schema-247/Totals.graphqls +24 -0
- package/schema-248/CartAddress.graphqls +24 -0
- package/schema-248/CartItemInterface.graphqls +41 -0
- package/schema-248/CartItemPrices.graphqls +14 -0
- package/schema-248/CartUserInputErrorType.graphqls +5 -0
- package/schema-248/Confirmation.graphqls +11 -0
- package/schema-248/CustomerAddress.graphqls +30 -0
- package/schema-248/CustomerOrder.graphqls +71 -0
- package/schema-248/InsufficientStockError.graphqls +28 -0
- package/schema-248/OrderCancellation.graphqls +61 -0
- package/schema-248/OrderInformationInput.graphqls +6 -0
- package/schema-248/OrderItemInterface.graphqls +6 -0
- package/schema-248/OrderItemPrices.graphqls +154 -0
- package/schema-248/ProductImageThumbnail.graphqls +21 -0
- package/schema-248/ProductInterface.graphqls +104 -0
- package/schema-248/ReCaptcha.graphqls +67 -0
- package/schema-248/SelectedBundleOptionValue.graphqls +10 -0
- package/schema-248/StoreConfig.graphqls +26 -0
- package/schema-248/Totals.graphqls +68 -0
- package/schema-248/UpdateCartItemsOutput.graphqls +6 -0
- package/schema-249/CartAddress.graphqls +20 -0
- package/schema-249/CartRule.graphqls +13 -0
- package/schema-249/CustomerAddress.graphqls +45 -0
- package/schema-249/CustomerGroupStorefront.graphqls +9 -0
- package/schema-249/GuestOrder.graphqls +24 -0
- package/schema-249/MediaGalleryInterface.graphqls +20 -0
- package/schema-249/Mutation-clearCart.graphqls +56 -0
- package/schema-249/OrderInformationInput.graphqls +6 -0
- package/schema-249/StoreConfig.graphqls +6 -0
- package/schema-249/Totals.graphqls +6 -0
- package/schema-249/Wishlist.graphqls +15 -0
- package/schema-246/CartAddressInput-vat_id.graphqls +0 -15
- package/schema-247/CartItem-product.graphqls +0 -15
- package/schema-247/CustomAttributesV2.graphqls +0 -266
- package/schema-247/Mutation-estimateShippingMethods.graphqls +0 -44
- package/schema-247/ProductAttributeFilterInput-category_url_path.graphqls +0 -3
- package/schema-247/Query-customAttributeMetadataV2.graphqls +0 -7
- package/schema-247/Query-guestOrderByToken.graphqls +0 -30
- package/schema-246/{OrderItem-gift_message.graphqls → OrderItemInterface.graphqls} +4 -4
- package/schema-247/{Query-recaptchaV3Config.graphqls → ReCaptcha.graphqls} +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 11.0.0-canary.47
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#2659](https://github.com/graphcommerce-org/graphcommerce/pull/2659) [`8623e57`](https://github.com/graphcommerce-org/graphcommerce/commit/8623e5755c24cd202e4eb32cc0650eaa3b40e682) - Schema defintions for 246,247 and 248 ([@paales](https://github.com/paales))
|
|
8
|
+
|
|
9
|
+
- [#2659](https://github.com/graphcommerce-org/graphcommerce/pull/2659) [`e7fe659`](https://github.com/graphcommerce-org/graphcommerce/commit/e7fe65994325510863afb526e8b2caaeba5e66f1) - Support the Magento 2.4.9 guest-order lookup, which renamed the `guestOrder` argument type `OrderInformationInput` → `GuestOrderInformationInput` and swapped the `postcode` lookup field for `lastname`. The `GuestOrder` query and the guest order form now use the new type/field, and `schema-249` re-declares `guestOrder(input: GuestOrderInformationInput!)` so operations keep validating on older backends via the mesh version shim. ([@paales](https://github.com/paales))
|
|
10
|
+
|
|
11
|
+
- [#2659](https://github.com/graphcommerce-org/graphcommerce/pull/2659) [`5cead7c`](https://github.com/graphcommerce-org/graphcommerce/commit/5cead7c445e2497266a49fae2b8744536f54939e) - Make every field the `schema-<version>` backfills add to an existing type nullable. These folders are layered onto an older Magento backend that does not have the field, so it can never produce a value: a non-null declaration made codegen emit a required property (breaking `getStoreConfig` in `algolia-products` with "Type 'StoreConfig' is missing the following properties … and 15 more" on a 2.4.7 backend) and, worse, would nullify the whole parent object at runtime because a non-null field resolving to null propagates upward. Brand-new types keep their original nullability. ([@paales](https://github.com/paales))
|
|
12
|
+
|
|
13
|
+
## 11.0.0-canary.46
|
|
14
|
+
|
|
3
15
|
## 11.0.0-canary.45
|
|
4
16
|
|
|
5
17
|
## 10.1.0-canary.44
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/magento-graphql",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "11.0.0-canary.
|
|
5
|
+
"version": "11.0.0-canary.47",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"main": "index.ts",
|
|
8
8
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"./mesh/magentoOrderItemResolvers.ts": "./mesh/magentoOrderItemResolvers.ts"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"@graphcommerce/eslint-config-pwa": "^11.0.0-canary.
|
|
29
|
-
"@graphcommerce/graphql": "^11.0.0-canary.
|
|
30
|
-
"@graphcommerce/prettier-config-pwa": "^11.0.0-canary.
|
|
31
|
-
"@graphcommerce/typescript-config-pwa": "^11.0.0-canary.
|
|
28
|
+
"@graphcommerce/eslint-config-pwa": "^11.0.0-canary.47",
|
|
29
|
+
"@graphcommerce/graphql": "^11.0.0-canary.47",
|
|
30
|
+
"@graphcommerce/prettier-config-pwa": "^11.0.0-canary.47",
|
|
31
|
+
"@graphcommerce/typescript-config-pwa": "^11.0.0-canary.47",
|
|
32
32
|
"graphql": "^16.0.0",
|
|
33
33
|
"next": "*",
|
|
34
34
|
"react": "^19.2.0",
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
type BillingCartAddress {
|
|
2
|
+
"""
|
|
3
|
+
The unique id of the customer address.
|
|
4
|
+
"""
|
|
5
|
+
uid: String @deprecated(reason: "Magento >= 2.4.6")
|
|
6
|
+
"""
|
|
7
|
+
The VAT company number for billing or shipping address.
|
|
8
|
+
"""
|
|
9
|
+
vat_id: String @deprecated(reason: "Magento >= 2.4.6")
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
input CartAddressInput {
|
|
13
|
+
"""
|
|
14
|
+
The VAT company number for billing or shipping address.
|
|
15
|
+
"""
|
|
16
|
+
vat_id: String @deprecated(reason: "Magento >= 2.4.6")
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
interface CartAddressInterface {
|
|
20
|
+
"""
|
|
21
|
+
The unique id of the customer address.
|
|
22
|
+
"""
|
|
23
|
+
uid: String @deprecated(reason: "Magento >= 2.4.6")
|
|
24
|
+
"""
|
|
25
|
+
The VAT company number for billing or shipping address.
|
|
26
|
+
"""
|
|
27
|
+
vat_id: String @deprecated(reason: "Magento >= 2.4.6")
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
type ShippingCartAddress {
|
|
31
|
+
"""
|
|
32
|
+
The unique id of the customer address.
|
|
33
|
+
"""
|
|
34
|
+
uid: String @deprecated(reason: "Magento >= 2.4.6")
|
|
35
|
+
"""
|
|
36
|
+
The VAT company number for billing or shipping address.
|
|
37
|
+
"""
|
|
38
|
+
vat_id: String @deprecated(reason: "Magento >= 2.4.6")
|
|
39
|
+
}
|
|
@@ -1,40 +1,61 @@
|
|
|
1
|
-
|
|
2
|
-
GLOBAL
|
|
3
|
-
WEBSITE
|
|
4
|
-
STORE
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
input CustomerOrderSortInput {
|
|
8
|
-
sort_direction: SortEnum!
|
|
9
|
-
sort_field: CustomerOrderSortableField!
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
enum CustomerOrderSortableField {
|
|
13
|
-
NUMBER
|
|
14
|
-
CREATED_AT
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
extend type Customer {
|
|
1
|
+
type Customer {
|
|
18
2
|
orders(
|
|
19
|
-
"""
|
|
20
|
-
Defines the filter to use for searching customer orders.
|
|
21
|
-
"""
|
|
22
|
-
filter: CustomerOrdersFilterInput
|
|
23
3
|
"""
|
|
24
4
|
Specifies which page of results to return. The default value is 1.
|
|
25
5
|
"""
|
|
26
6
|
currentPage: Int = 1
|
|
27
7
|
"""
|
|
28
|
-
|
|
8
|
+
Defines the filter to use for searching customer orders.
|
|
29
9
|
"""
|
|
30
|
-
|
|
10
|
+
filter: CustomerOrdersFilterInput
|
|
31
11
|
"""
|
|
32
|
-
Specifies
|
|
12
|
+
Specifies the maximum number of results to return at once. The default value is 20.
|
|
33
13
|
"""
|
|
34
|
-
|
|
14
|
+
pageSize: Int = 20
|
|
35
15
|
"""
|
|
36
16
|
Specifies the scope to search for customer orders. The Store request header identifies the customer's store view code. The default value of STORE limits the search to the value specified in the header. Specify WEBSITE to expand the search to include all customer orders assigned to the website that is defined in the header, or specify GLOBAL to include all customer orders across all websites and stores.
|
|
37
17
|
"""
|
|
38
18
|
scope: ScopeTypeEnum
|
|
19
|
+
"""
|
|
20
|
+
Specifies which field to sort on, and whether to return the results in ascending or descending order.
|
|
21
|
+
"""
|
|
22
|
+
sort: CustomerOrderSortInput
|
|
39
23
|
): CustomerOrders
|
|
40
24
|
}
|
|
25
|
+
|
|
26
|
+
"""
|
|
27
|
+
This enumeration defines the scope type for customer orders.
|
|
28
|
+
"""
|
|
29
|
+
enum ScopeTypeEnum {
|
|
30
|
+
GLOBAL @deprecated
|
|
31
|
+
STORE @deprecated
|
|
32
|
+
WEBSITE @deprecated
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
"""
|
|
36
|
+
CustomerOrderSortInput specifies the field to use for sorting search results and indicates whether the results are sorted in ascending or descending order.
|
|
37
|
+
"""
|
|
38
|
+
input CustomerOrderSortInput {
|
|
39
|
+
"""
|
|
40
|
+
This enumeration indicates whether to return results in ascending or descending order
|
|
41
|
+
"""
|
|
42
|
+
sort_direction: SortEnum!
|
|
43
|
+
"""
|
|
44
|
+
Specifies the field to use for sorting
|
|
45
|
+
"""
|
|
46
|
+
sort_field: CustomerOrderSortableField!
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
"""
|
|
50
|
+
Specifies the field to use for sorting
|
|
51
|
+
"""
|
|
52
|
+
enum CustomerOrderSortableField {
|
|
53
|
+
"""
|
|
54
|
+
Sorts customer orders by created_at field
|
|
55
|
+
"""
|
|
56
|
+
CREATED_AT @deprecated
|
|
57
|
+
"""
|
|
58
|
+
Sorts customer orders by number
|
|
59
|
+
"""
|
|
60
|
+
NUMBER @deprecated
|
|
61
|
+
}
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
type SelectedShippingMethod {
|
|
2
|
+
"""
|
|
3
|
+
The cost of shipping using this shipping method, excluding tax.
|
|
4
|
+
"""
|
|
2
5
|
price_excl_tax: Money @deprecated(reason: "Magento >= 2.4.6")
|
|
6
|
+
"""
|
|
7
|
+
The cost of shipping using this shipping method, including tax.
|
|
8
|
+
"""
|
|
3
9
|
price_incl_tax: Money @deprecated(reason: "Magento >= 2.4.6")
|
|
4
10
|
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
input CustomerAddressInput {
|
|
2
|
+
"""
|
|
3
|
+
Custom attributes assigned to the customer address.
|
|
4
|
+
"""
|
|
5
|
+
custom_attributesV2: [AttributeValueInput] @deprecated(reason: "Magento >= 2.4.7")
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
"""
|
|
9
|
+
Specifies the value for attribute.
|
|
10
|
+
"""
|
|
11
|
+
input AttributeValueInput {
|
|
12
|
+
"""
|
|
13
|
+
The code of the attribute.
|
|
14
|
+
"""
|
|
15
|
+
attribute_code: String!
|
|
16
|
+
"""
|
|
17
|
+
An array containing selected options for a select or multiselect attribute.
|
|
18
|
+
"""
|
|
19
|
+
selected_options: [AttributeInputSelectedOption]
|
|
20
|
+
"""
|
|
21
|
+
The value assigned to the attribute.
|
|
22
|
+
"""
|
|
23
|
+
value: String
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
"""
|
|
27
|
+
Specifies selected option for a select or multiselect attribute value.
|
|
28
|
+
"""
|
|
29
|
+
input AttributeInputSelectedOption {
|
|
30
|
+
"""
|
|
31
|
+
The attribute option value.
|
|
32
|
+
"""
|
|
33
|
+
value: String!
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
input CustomerCreateInput {
|
|
37
|
+
"""
|
|
38
|
+
The customer's custom attributes.
|
|
39
|
+
"""
|
|
40
|
+
custom_attributes: [AttributeValueInput] @deprecated(reason: "Magento >= 2.4.7")
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
input CustomerUpdateInput {
|
|
44
|
+
"""
|
|
45
|
+
The customer's custom attributes.
|
|
46
|
+
"""
|
|
47
|
+
custom_attributes: [AttributeValueInput] @deprecated(reason: "Magento >= 2.4.7")
|
|
48
|
+
}
|
|
@@ -1,72 +1,72 @@
|
|
|
1
|
-
type
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
type Cart {
|
|
2
|
+
itemsV2(currentPage: Int = 1, pageSize: Int = 20, sort: QuoteItemsSortInput): CartItems
|
|
3
|
+
@deprecated(reason: "Magento >= 2.4.7")
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
"""
|
|
7
|
+
Specifies the field to use for sorting quote items
|
|
8
|
+
"""
|
|
9
|
+
input QuoteItemsSortInput {
|
|
6
10
|
"""
|
|
7
|
-
|
|
11
|
+
Specifies the quote items field to sort by
|
|
8
12
|
"""
|
|
9
|
-
|
|
13
|
+
field: SortQuoteItemsEnum!
|
|
10
14
|
"""
|
|
11
|
-
|
|
15
|
+
Specifies the order of quote items' sorting
|
|
12
16
|
"""
|
|
13
|
-
|
|
17
|
+
order: SortEnum!
|
|
14
18
|
}
|
|
15
19
|
|
|
16
20
|
"""
|
|
17
21
|
Specifies the field to use for sorting quote items
|
|
18
22
|
"""
|
|
19
23
|
enum SortQuoteItemsEnum {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
UPDATED_AT
|
|
23
|
-
PRODUCT_ID
|
|
24
|
-
SKU
|
|
25
|
-
NAME
|
|
26
|
-
DESCRIPTION
|
|
27
|
-
WEIGHT
|
|
28
|
-
QTY
|
|
29
|
-
PRICE
|
|
24
|
+
BASE_DISCOUNT_AMOUNT
|
|
25
|
+
BASE_DISCOUNT_TAX_COMPENSATION_AMOUNT
|
|
30
26
|
BASE_PRICE
|
|
27
|
+
BASE_PRICE_INC_TAX
|
|
28
|
+
BASE_ROW_TOTAL
|
|
29
|
+
BASE_ROW_TOTAL_INC_TAX
|
|
30
|
+
BASE_TAX_AMOUNT
|
|
31
|
+
BASE_TAX_BEFORE_DISCOUNT
|
|
32
|
+
CREATED_AT
|
|
31
33
|
CUSTOM_PRICE
|
|
32
|
-
|
|
34
|
+
DESCRIPTION
|
|
33
35
|
DISCOUNT_AMOUNT
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
DISCOUNT_PERCENT
|
|
37
|
+
DISCOUNT_TAX_COMPENSATION_AMOUNT
|
|
38
|
+
FREE_SHIPPING
|
|
39
|
+
ITEM_ID
|
|
40
|
+
NAME
|
|
41
|
+
ORIGINAL_CUSTOM_PRICE
|
|
42
|
+
PRICE
|
|
43
|
+
PRICE_INC_TAX
|
|
44
|
+
PRODUCT_ID
|
|
45
|
+
PRODUCT_TYPE
|
|
46
|
+
QTY
|
|
38
47
|
ROW_TOTAL
|
|
39
|
-
|
|
48
|
+
ROW_TOTAL_INC_TAX
|
|
40
49
|
ROW_TOTAL_WITH_DISCOUNT
|
|
41
50
|
ROW_WEIGHT
|
|
42
|
-
|
|
43
|
-
|
|
51
|
+
SKU
|
|
52
|
+
TAX_AMOUNT
|
|
44
53
|
TAX_BEFORE_DISCOUNT
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
ROW_TOTAL_INC_TAX
|
|
49
|
-
BASE_ROW_TOTAL_INC_TAX
|
|
50
|
-
DISCOUNT_TAX_COMPENSATION_AMOUNT
|
|
51
|
-
BASE_DISCOUNT_TAX_COMPENSATION_AMOUNT
|
|
52
|
-
FREE_SHIPPING
|
|
54
|
+
TAX_PERCENT
|
|
55
|
+
UPDATED_AT
|
|
56
|
+
WEIGHT
|
|
53
57
|
}
|
|
54
58
|
|
|
55
|
-
|
|
56
|
-
Specifies the field to use for sorting quote items
|
|
57
|
-
"""
|
|
58
|
-
input QuoteItemsSortInput {
|
|
59
|
+
type CartItems {
|
|
59
60
|
"""
|
|
60
|
-
|
|
61
|
+
An array of products that have been added to the cart.
|
|
61
62
|
"""
|
|
62
|
-
|
|
63
|
+
items: [CartItemInterface]!
|
|
63
64
|
"""
|
|
64
|
-
|
|
65
|
+
Metadata for pagination rendering.
|
|
65
66
|
"""
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
@deprecated(reason: "Magento >= 2.4.7")
|
|
67
|
+
page_info: SearchResultPageInfo
|
|
68
|
+
"""
|
|
69
|
+
The number of returned cart items.
|
|
70
|
+
"""
|
|
71
|
+
total_count: Int!
|
|
72
72
|
}
|
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
type BillingCartAddress {
|
|
2
|
+
"""
|
|
3
|
+
The customer's fax number.
|
|
4
|
+
"""
|
|
5
|
+
fax: String @deprecated(reason: "Magento >= 2.4.7")
|
|
6
|
+
"""
|
|
7
|
+
The middle name of the person associated with the billing/shipping address.
|
|
8
|
+
"""
|
|
9
|
+
middlename: String @deprecated(reason: "Magento >= 2.4.7")
|
|
10
|
+
"""
|
|
11
|
+
An honorific, such as Dr., Mr., or Mrs.
|
|
12
|
+
"""
|
|
13
|
+
prefix: String @deprecated(reason: "Magento >= 2.4.7")
|
|
14
|
+
"""
|
|
15
|
+
A value such as Sr., Jr., or III.
|
|
16
|
+
"""
|
|
17
|
+
suffix: String @deprecated(reason: "Magento >= 2.4.7")
|
|
18
|
+
}
|
|
19
|
+
|
|
1
20
|
input CartAddressInput {
|
|
2
21
|
"""
|
|
3
22
|
The customer's fax number.
|
|
@@ -17,7 +36,7 @@ input CartAddressInput {
|
|
|
17
36
|
suffix: String @deprecated(reason: "Magento >= 2.4.7")
|
|
18
37
|
}
|
|
19
38
|
|
|
20
|
-
|
|
39
|
+
interface CartAddressInterface {
|
|
21
40
|
"""
|
|
22
41
|
The customer's fax number.
|
|
23
42
|
"""
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
type BundleCartItem {
|
|
2
|
+
"""
|
|
3
|
+
True if requested quantity is less than available stock, false otherwise.
|
|
4
|
+
"""
|
|
5
|
+
is_available: Boolean @deprecated(reason: "Magento >= 2.4.7")
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
interface CartItemInterface {
|
|
9
|
+
"""
|
|
10
|
+
True if requested quantity is less than available stock, false otherwise.
|
|
11
|
+
"""
|
|
12
|
+
is_available: Boolean @deprecated(reason: "Magento >= 2.4.7")
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
type ConfigurableCartItem {
|
|
16
|
+
"""
|
|
17
|
+
True if requested quantity is less than available stock, false otherwise.
|
|
18
|
+
"""
|
|
19
|
+
is_available: Boolean @deprecated(reason: "Magento >= 2.4.7")
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
type DownloadableCartItem {
|
|
23
|
+
"""
|
|
24
|
+
True if requested quantity is less than available stock, false otherwise.
|
|
25
|
+
"""
|
|
26
|
+
is_available: Boolean @deprecated(reason: "Magento >= 2.4.7")
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
type SimpleCartItem {
|
|
30
|
+
"""
|
|
31
|
+
True if requested quantity is less than available stock, false otherwise.
|
|
32
|
+
"""
|
|
33
|
+
is_available: Boolean @deprecated(reason: "Magento >= 2.4.7")
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
type VirtualCartItem {
|
|
37
|
+
"""
|
|
38
|
+
True if requested quantity is less than available stock, false otherwise.
|
|
39
|
+
"""
|
|
40
|
+
is_available: Boolean @deprecated(reason: "Magento >= 2.4.7")
|
|
41
|
+
}
|
|
@@ -1,55 +1,53 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
type StoreConfig {
|
|
1
|
+
type Mutation {
|
|
4
2
|
"""
|
|
5
|
-
|
|
3
|
+
Confirms the email address for a customer.
|
|
6
4
|
"""
|
|
7
|
-
|
|
5
|
+
confirmEmail(
|
|
6
|
+
"""
|
|
7
|
+
An input object to identify the customer to confirm the email.
|
|
8
|
+
"""
|
|
9
|
+
input: ConfirmEmailInput!
|
|
10
|
+
): CustomerOutput @deprecated(reason: "Magento >= 2.4.7")
|
|
8
11
|
}
|
|
9
12
|
|
|
10
13
|
"""
|
|
11
|
-
|
|
14
|
+
Contains details about a customer email address to confirm.
|
|
12
15
|
"""
|
|
13
|
-
|
|
16
|
+
input ConfirmEmailInput {
|
|
14
17
|
"""
|
|
15
|
-
|
|
18
|
+
The key to confirm the email address.
|
|
16
19
|
"""
|
|
17
|
-
|
|
20
|
+
confirmation_key: String!
|
|
18
21
|
"""
|
|
19
|
-
|
|
22
|
+
The email address to be confirmed.
|
|
20
23
|
"""
|
|
21
|
-
|
|
24
|
+
email: String!
|
|
22
25
|
}
|
|
23
26
|
|
|
24
27
|
type Customer {
|
|
25
28
|
"""
|
|
26
29
|
The customer's confirmation status.
|
|
27
30
|
"""
|
|
28
|
-
confirmation_status: ConfirmationStatusEnum
|
|
31
|
+
confirmation_status: ConfirmationStatusEnum @deprecated(reason: "Magento >= 2.4.7")
|
|
29
32
|
}
|
|
30
33
|
|
|
31
34
|
"""
|
|
32
|
-
|
|
35
|
+
List of account confirmation statuses.
|
|
33
36
|
"""
|
|
34
|
-
|
|
37
|
+
enum ConfirmationStatusEnum {
|
|
35
38
|
"""
|
|
36
|
-
|
|
39
|
+
Account confirmation not required
|
|
37
40
|
"""
|
|
38
|
-
|
|
41
|
+
ACCOUNT_CONFIRMATION_NOT_REQUIRED
|
|
39
42
|
"""
|
|
40
|
-
|
|
43
|
+
Account confirmed
|
|
41
44
|
"""
|
|
42
|
-
|
|
45
|
+
ACCOUNT_CONFIRMED
|
|
43
46
|
}
|
|
44
47
|
|
|
45
|
-
type
|
|
48
|
+
type StoreConfig {
|
|
46
49
|
"""
|
|
47
|
-
|
|
50
|
+
Indicates if the new accounts need confirmation.
|
|
48
51
|
"""
|
|
49
|
-
|
|
50
|
-
"""
|
|
51
|
-
An input object to identify the customer to confirm the email.
|
|
52
|
-
"""
|
|
53
|
-
input: ConfirmEmailInput!
|
|
54
|
-
): CustomerOutput @deprecated(reason: "Magento >= 2.4.7")
|
|
52
|
+
create_account_confirmation: Boolean @deprecated(reason: "Magento >= 2.4.7")
|
|
55
53
|
}
|
|
@@ -1,3 +1,14 @@
|
|
|
1
1
|
type CustomerOrder {
|
|
2
|
-
|
|
2
|
+
"""
|
|
3
|
+
Coupons applied to the order.
|
|
4
|
+
"""
|
|
5
|
+
applied_coupons: [AppliedCoupon] @deprecated(reason: "Magento >= 2.4.7")
|
|
6
|
+
"""
|
|
7
|
+
Order customer email.
|
|
8
|
+
"""
|
|
9
|
+
email: String @deprecated(reason: "Magento >= 2.4.7")
|
|
10
|
+
"""
|
|
11
|
+
The token that can be used to retrieve the order using order query.
|
|
12
|
+
"""
|
|
13
|
+
token: String @deprecated(reason: "Magento >= 2.4.7")
|
|
3
14
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
type Discount {
|
|
2
|
+
"""
|
|
3
|
+
The type of the entity the discount is applied to.
|
|
4
|
+
"""
|
|
5
|
+
applied_to: CartDiscountType @deprecated(reason: "Magento >= 2.4.7")
|
|
6
|
+
"""
|
|
7
|
+
The coupon related to the discount.
|
|
8
|
+
"""
|
|
9
|
+
coupon: AppliedCoupon @deprecated(reason: "Magento >= 2.4.7")
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
enum CartDiscountType {
|
|
13
|
+
ITEM
|
|
14
|
+
SHIPPING
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
input FilterMatchTypeInput {
|
|
2
|
+
"""
|
|
3
|
+
Filter match type for fine-tuned results. Possible values FULL or PARTIAL. If match_type is not provided, returned results will default to FULL match.
|
|
4
|
+
"""
|
|
5
|
+
match_type: FilterMatchTypeEnum @deprecated(reason: "Magento >= 2.4.7")
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
enum FilterMatchTypeEnum {
|
|
9
|
+
FULL
|
|
10
|
+
PARTIAL
|
|
11
|
+
}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
type
|
|
1
|
+
type Query {
|
|
2
|
+
"""
|
|
3
|
+
Retrieve guest order details based on number, email and postcode.
|
|
4
|
+
"""
|
|
5
|
+
guestOrder(input: OrderInformationInput!): CustomerOrder @deprecated(reason: "Magento >= 2.4.7")
|
|
2
6
|
"""
|
|
3
|
-
|
|
7
|
+
Retrieve guest order details based on token.
|
|
4
8
|
"""
|
|
5
|
-
|
|
9
|
+
guestOrderByToken(input: OrderTokenInput!): CustomerOrder @deprecated(reason: "Magento >= 2.4.7")
|
|
6
10
|
}
|
|
7
11
|
|
|
8
12
|
"""
|
|
@@ -23,9 +27,12 @@ input OrderInformationInput {
|
|
|
23
27
|
postcode: String!
|
|
24
28
|
}
|
|
25
29
|
|
|
26
|
-
|
|
30
|
+
"""
|
|
31
|
+
Input to retrieve an order based on token.
|
|
32
|
+
"""
|
|
33
|
+
input OrderTokenInput {
|
|
27
34
|
"""
|
|
28
|
-
|
|
35
|
+
Order token.
|
|
29
36
|
"""
|
|
30
|
-
|
|
37
|
+
token: String!
|
|
31
38
|
}
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
type Mutation {
|
|
2
|
+
"""
|
|
3
|
+
Send a 'Contact Us' email to the merchant.
|
|
4
|
+
"""
|
|
5
|
+
contactUs(
|
|
6
|
+
"""
|
|
7
|
+
An input object that defines shopper information.
|
|
8
|
+
"""
|
|
9
|
+
input: ContactUsInput!
|
|
10
|
+
): ContactUsOutput @deprecated(reason: "Magento >= 2.4.7")
|
|
11
|
+
}
|
|
12
|
+
|
|
1
13
|
input ContactUsInput {
|
|
2
14
|
"""
|
|
3
15
|
The shopper's comment to the merchant.
|
|
@@ -26,15 +38,3 @@ type ContactUsOutput {
|
|
|
26
38
|
"""
|
|
27
39
|
status: Boolean!
|
|
28
40
|
}
|
|
29
|
-
|
|
30
|
-
type Mutation {
|
|
31
|
-
"""
|
|
32
|
-
Send a 'Contact Us' email to the merchant.
|
|
33
|
-
"""
|
|
34
|
-
contactUs(
|
|
35
|
-
"""
|
|
36
|
-
An input object that defines shopper information.
|
|
37
|
-
"""
|
|
38
|
-
input: ContactUsInput!
|
|
39
|
-
): ContactUsOutput @deprecated(reason: "Magento >= 2.4.7")
|
|
40
|
-
}
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
type Mutation {
|
|
2
|
+
"""
|
|
3
|
+
Create a new shopping cart
|
|
4
|
+
"""
|
|
5
|
+
createGuestCart(input: CreateGuestCartInput): CreateGuestCartOutput
|
|
6
|
+
@deprecated(reason: "Magento >= 2.4.7")
|
|
7
|
+
}
|
|
8
|
+
|
|
1
9
|
input CreateGuestCartInput {
|
|
2
10
|
"""
|
|
3
11
|
Optional client-generated ID
|
|
@@ -11,11 +19,3 @@ type CreateGuestCartOutput {
|
|
|
11
19
|
"""
|
|
12
20
|
cart: Cart
|
|
13
21
|
}
|
|
14
|
-
|
|
15
|
-
type Mutation {
|
|
16
|
-
"""
|
|
17
|
-
Create a new shopping cart
|
|
18
|
-
"""
|
|
19
|
-
createGuestCart(input: CreateGuestCartInput): CreateGuestCartOutput
|
|
20
|
-
@deprecated(reason: "Magento >= 2.4.7")
|
|
21
|
-
}
|