@nautical-commerce/graphql-schema 1.75.1 → 1.76.0
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/nautical/schema.graphql +26 -45
- package/package.json +1 -1
package/nautical/schema.graphql
CHANGED
@@ -2716,10 +2716,6 @@ type Checkout implements Node & ObjectWithMetadata {
|
|
2716
2716
|
"""Available shipping methods for each seller in this checkout."""
|
2717
2717
|
availableShippingMethodsBySeller: [MultiSellerShippingMethod!]!
|
2718
2718
|
|
2719
|
-
"""Applicable volume discounts"""
|
2720
|
-
applicableVolumeDiscounts: Money @deprecated(reason: "This will be removed on March 9, 2025")
|
2721
|
-
applicableVolumeDiscountsBySeller: [SellerVolumeDiscount!]! @deprecated(reason: "This will be removed on March 9, 2025")
|
2722
|
-
|
2723
2719
|
"""List of available payment gateways."""
|
2724
2720
|
availablePaymentGateways: [PaymentGateway!]!
|
2725
2721
|
|
@@ -2740,13 +2736,12 @@ type Checkout implements Node & ObjectWithMetadata {
|
|
2740
2736
|
"""The price of the shipping after discount"""
|
2741
2737
|
discountedShippingPrice: Money
|
2742
2738
|
|
2743
|
-
"""The price of the checkout before
|
2744
|
-
originalPrice: Money! @deprecated(reason: "This will be removed on June 17, 2025")
|
2745
|
-
|
2746
|
-
"""The price of the checkout before discount"""
|
2739
|
+
"""The price of the checkout before shipping, sales, and vouchers."""
|
2747
2740
|
originalSubtotalPrice: Money!
|
2748
2741
|
|
2749
|
-
"""
|
2742
|
+
"""
|
2743
|
+
The price of the checkout before shipping, after sales and vouchers used.
|
2744
|
+
"""
|
2750
2745
|
subtotalPrice: TaxedMoney!
|
2751
2746
|
|
2752
2747
|
"""The checkout's token."""
|
@@ -2757,12 +2752,12 @@ type Checkout implements Node & ObjectWithMetadata {
|
|
2757
2752
|
"""
|
2758
2753
|
totalPrice: TaxedMoney!
|
2759
2754
|
|
2760
|
-
"""The sum of the checkout line prices, without discount"""
|
2761
|
-
originalTotalPrice: Money!
|
2762
|
-
|
2763
2755
|
"""Discount Type if voucher is applied"""
|
2764
2756
|
discountType: VoucherTypeEnum
|
2765
2757
|
|
2758
|
+
"""The sum of all discounts, including sales and vouchers"""
|
2759
|
+
totalDiscount: Money!
|
2760
|
+
|
2766
2761
|
"""A list of structured checkout shipping methods."""
|
2767
2762
|
shippingMethods: [CheckoutSellerShipping!]!
|
2768
2763
|
|
@@ -2853,11 +2848,6 @@ type MultiSellerShippingMethod {
|
|
2853
2848
|
value: [ShippingMethod!]!
|
2854
2849
|
}
|
2855
2850
|
|
2856
|
-
type SellerVolumeDiscount {
|
2857
|
-
seller: Int
|
2858
|
-
volumeDiscount: Money
|
2859
|
-
}
|
2860
|
-
|
2861
2851
|
"""
|
2862
2852
|
Available payment gateway backend with configuration necessary to setup client.
|
2863
2853
|
"""
|
@@ -3002,7 +2992,7 @@ type ProductVariant implements Node & ObjectWithMetadata {
|
|
3002
2992
|
|
3003
2993
|
"""Total quantity ordered."""
|
3004
2994
|
quantityOrdered: Int
|
3005
|
-
features: [VariantFeature!] @deprecated(reason: "Features will be removed on
|
2995
|
+
features: [VariantFeature!] @deprecated(reason: "Features will be removed on July 2, 2025.")
|
3006
2996
|
|
3007
2997
|
"""
|
3008
2998
|
List of product variant images. When 'strict_product_image_handling' is enabled:- Display only the images owned by the product variant owner.
|
@@ -3198,7 +3188,7 @@ type Product implements Node & ObjectWithMetadata {
|
|
3198
3188
|
|
3199
3189
|
"""Whether the product is published."""
|
3200
3190
|
isPublished: Boolean!
|
3201
|
-
features: [ProductFeature!] @deprecated(reason: "Features will be removed on
|
3191
|
+
features: [ProductFeature!] @deprecated(reason: "Features will be removed on July 2, 2025.")
|
3202
3192
|
|
3203
3193
|
"""
|
3204
3194
|
Product stock stats combining all variants in all warehouses. Requires MANAGE_PRODUCTS permission.
|
@@ -4653,10 +4643,10 @@ type ProductType implements Node & ObjectWithMetadata {
|
|
4653
4643
|
): AttributeCountableConnection
|
4654
4644
|
|
4655
4645
|
"""Product features of this product type."""
|
4656
|
-
productFeatures: [ProductTypeProductFeature!]! @deprecated(reason: "Features will be removed on
|
4646
|
+
productFeatures: [ProductTypeProductFeature!]! @deprecated(reason: "Features will be removed on July 2, 2025.")
|
4657
4647
|
|
4658
4648
|
"""Variant features of this product type."""
|
4659
|
-
variantFeatures: [ProductTypeVariantFeature!]! @deprecated(reason: "Features will be removed on
|
4649
|
+
variantFeatures: [ProductTypeVariantFeature!]! @deprecated(reason: "Features will be removed on July 2, 2025.")
|
4660
4650
|
|
4661
4651
|
"""Brand of the product"""
|
4662
4652
|
model: String
|
@@ -8831,6 +8821,7 @@ type StorefrontTheme implements Node {
|
|
8831
8821
|
"""Background color in hex."""
|
8832
8822
|
backgroundColor: String
|
8833
8823
|
logo: Image
|
8824
|
+
squareLogo: Image
|
8834
8825
|
faviconImage: Image
|
8835
8826
|
|
8836
8827
|
"""URL of the favicon."""
|
@@ -10968,16 +10959,13 @@ type MarketplaceConfiguration {
|
|
10968
10959
|
"""Returns list of default checklists for seller."""
|
10969
10960
|
defaultSellerChecklists: [DefaultSellerChecklist!]!
|
10970
10961
|
enableStockAllocationForQuotes: Boolean!
|
10971
|
-
enableStockAllocationForOffers: Boolean @deprecated(reason: "This will be removed on February 20, 2025 and will return false until then")
|
10972
10962
|
enableStockAllocationForDrafts: Boolean!
|
10973
10963
|
validateStockOnOrderPaymentCreation: Boolean!
|
10974
10964
|
|
10975
10965
|
"""IANA timezone to display datetime fields in the marketplace"""
|
10976
10966
|
timezone: String!
|
10977
10967
|
enableBackorders: Boolean!
|
10978
|
-
|
10979
|
-
"""Determines when revenue is accrued to the marketplace and sellers"""
|
10980
|
-
revenueAccrualStrategy: RevenueAccrualStrategyEnum @deprecated(reason: "This will be removed on February 20, 2025.")
|
10968
|
+
revenueAccrualStrategy: MarketplaceConfigurationRevenueAccrualStrategy!
|
10981
10969
|
|
10982
10970
|
"""
|
10983
10971
|
Determines whether shipping methods are available based on marketplace checkout total or seller totals
|
@@ -11576,16 +11564,12 @@ type DefaultSellerChecklist {
|
|
11576
11564
|
isEnabled: Boolean!
|
11577
11565
|
}
|
11578
11566
|
|
11579
|
-
|
11567
|
+
"""An enumeration."""
|
11568
|
+
enum MarketplaceConfigurationRevenueAccrualStrategy {
|
11580
11569
|
"""
|
11581
11570
|
Accrue revenue to the marketplace and sellers when orders are fulfilled.
|
11582
11571
|
"""
|
11583
11572
|
FULFILLMENT
|
11584
|
-
|
11585
|
-
"""
|
11586
|
-
Accrue all revenue to the marketplace and sellers when orders are placed.
|
11587
|
-
"""
|
11588
|
-
ORDER_PLACEMENT
|
11589
11573
|
}
|
11590
11574
|
|
11591
11575
|
enum AvailableShippingStrategyEnum {
|
@@ -13171,7 +13155,7 @@ type Mutation {
|
|
13171
13155
|
description: String
|
13172
13156
|
|
13173
13157
|
"""
|
13174
|
-
Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/
|
13158
|
+
Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/x-rar-compressed, application/tif, application/vnd.ms-powerpoint, image/x-ms-bmp, text/pdf, image/x-bmp, image/tif, application/x-rtf, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/svg+xml, image/heif-sequence, application/vnd.oasis.opendocument.spreadsheet, application/x-tiff, image/vnd.dwg, application/vnd.openxmlformats-officedocument.presentationml.slideshow, image/webp, drawing/x-dwg, application/vnd.openxmlformats-officedocument.presentationml.presentation, text/x-pdf, application/dwg, pplication/vnd.rar, application/jpg, image/heic-sequence, text/svg, image/png, application/gzip, application/gzipped, application/x-rar, text/csv, application/vnd.ms-excel, application/x-acad, application/acad, text/x-csv, application/acrobat, text/plain, application/x-dwg, image/x-dxf, application/vnd.pdf, application/x-pdf, image/jpg, drawing/x-dwf, text/x-comma-separated-values, application/eps, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/gzip-compressed, image/heif, application/x-dxf, image/x-dwg, application/zip, application/x-autocad, image/x-eps, image/heic, application/x-jpg, text/rtf, application/rtf, application/vnd.ms-word, application/tiff, application/x-tar, application/x-gzip, application/vnd.oasis.opendocument.presentation, application/csv, application/vnd.oasis.opendocument.text, image/x-tiff, application/x-tif, image/svg, application/dxf, application/excel, image/x-tif, drawing/dwg, text/svg-xml, image/tiff, image/bmp, image/dxf, application/pdf, application/x-csv, application/postscript, image/svg+xml, image/eps, application/x-zip-compressed, application/msword, text/comma-separated-values, image/gif, image/jpeg, application/x-eps.
|
13175
13159
|
"""
|
13176
13160
|
file: Upload!
|
13177
13161
|
|
@@ -14526,7 +14510,7 @@ type Mutation {
|
|
14526
14510
|
featureCreate(
|
14527
14511
|
"""Fields required to create a feature"""
|
14528
14512
|
input: FeatureCreateInput!
|
14529
|
-
): FeatureCreate @deprecated(reason: "Features will be removed on
|
14513
|
+
): FeatureCreate @deprecated(reason: "Features will be removed on July 2, 2025.")
|
14530
14514
|
|
14531
14515
|
"""Updates a feature."""
|
14532
14516
|
featureUpdate(
|
@@ -14535,19 +14519,19 @@ type Mutation {
|
|
14535
14519
|
|
14536
14520
|
"""Input required to update a feature."""
|
14537
14521
|
input: FeatureInput!
|
14538
|
-
): FeatureUpdate @deprecated(reason: "Features will be removed on
|
14522
|
+
): FeatureUpdate @deprecated(reason: "Features will be removed on July 2, 2025.")
|
14539
14523
|
|
14540
14524
|
"""Deletes a feature."""
|
14541
14525
|
featureDelete(
|
14542
14526
|
"""ID of a feature to delete."""
|
14543
14527
|
id: ID!
|
14544
|
-
): FeatureDelete @deprecated(reason: "Features will be removed on
|
14528
|
+
): FeatureDelete @deprecated(reason: "Features will be removed on July 2, 2025.")
|
14545
14529
|
|
14546
14530
|
"""Creates a new product or variant feature on a product type."""
|
14547
14531
|
productTypeFeatureCreate(
|
14548
14532
|
"""Fields required to create a feature for a product type."""
|
14549
14533
|
input: ProductTypeFeatureCreateInput!
|
14550
|
-
): ProductTypeFeatureCreate @deprecated(reason: "Features will be removed on
|
14534
|
+
): ProductTypeFeatureCreate @deprecated(reason: "Features will be removed on July 2, 2025.")
|
14551
14535
|
|
14552
14536
|
"""Updates a product or variant feature on a product type."""
|
14553
14537
|
productTypeFeatureUpdate(
|
@@ -14556,13 +14540,13 @@ type Mutation {
|
|
14556
14540
|
|
14557
14541
|
"""Fields required to update a feature for a product type."""
|
14558
14542
|
input: ProductTypeFeatureInput!
|
14559
|
-
): ProductTypeFeatureUpdate @deprecated(reason: "Features will be removed on
|
14543
|
+
): ProductTypeFeatureUpdate @deprecated(reason: "Features will be removed on July 2, 2025.")
|
14560
14544
|
|
14561
14545
|
"""Deletes a product or variant feature on a product type."""
|
14562
14546
|
productTypeFeatureDelete(
|
14563
14547
|
"""ID of the product type feature to delete."""
|
14564
14548
|
id: ID!
|
14565
|
-
): ProductTypeFeatureDelete @deprecated(reason: "Features will be removed on
|
14549
|
+
): ProductTypeFeatureDelete @deprecated(reason: "Features will be removed on July 2, 2025.")
|
14566
14550
|
|
14567
14551
|
"""Captures the authorized payment amount."""
|
14568
14552
|
paymentCapture(
|
@@ -15294,7 +15278,7 @@ type Mutation {
|
|
15294
15278
|
"""
|
15295
15279
|
Document type (for order requests): 1) Invoice, 2) Packing Slip, 3) Purchase order, 4) Pre-forma-invoice.
|
15296
15280
|
"""
|
15297
|
-
documentType: Int
|
15281
|
+
documentType: Int @deprecated(reason: "Purchase order document type will be removed on 25 June, 2025.")
|
15298
15282
|
|
15299
15283
|
"""Invoice number, if not provided it will be generated."""
|
15300
15284
|
number: String
|
@@ -16565,9 +16549,6 @@ input MarketplaceConfigurationInput {
|
|
16565
16549
|
"""Updates status transformation strategy for payout."""
|
16566
16550
|
payoutAutomationStrategy: MarketplaceConfigurationPayoutAutomationStrategyEnum = null
|
16567
16551
|
|
16568
|
-
"""Update revenue accrual strategy"""
|
16569
|
-
revenueAccrualStrategy: RevenueAccrualStrategyEnum = null @deprecated(reason: "This will be removed on February 20, 2025.")
|
16570
|
-
|
16571
16552
|
"""Update available shipping strategy"""
|
16572
16553
|
availableShippingStrategy: AvailableShippingStrategyEnum = null
|
16573
16554
|
|
@@ -16600,9 +16581,6 @@ input MarketplaceConfigurationInput {
|
|
16600
16581
|
"""True if quote orders trigger stock allocation."""
|
16601
16582
|
enableStockAllocationForQuotes: Boolean @deprecated(reason: "Quotes will be removed on June 11, 2025")
|
16602
16583
|
|
16603
|
-
"""True if offer orders trigger stock allocation."""
|
16604
|
-
enableStockAllocationForOffers: Boolean @deprecated(reason: "This will be removed on February 20, 2025.")
|
16605
|
-
|
16606
16584
|
"""True if draft orders trigger stock allocation."""
|
16607
16585
|
enableStockAllocationForDrafts: Boolean
|
16608
16586
|
|
@@ -18021,6 +17999,9 @@ input StorefrontThemeInput {
|
|
18021
17999
|
"""Logo file."""
|
18022
18000
|
logo: Upload
|
18023
18001
|
|
18002
|
+
"""Square logo file."""
|
18003
|
+
squareLogo: Upload
|
18004
|
+
|
18024
18005
|
"""Favicon file"""
|
18025
18006
|
faviconImage: Upload
|
18026
18007
|
|