@nautical-commerce/graphql-schema 1.68.1 → 1.69.0-1-geb7a0ed00

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.
@@ -2823,7 +2823,7 @@ type CheckoutLine implements Node & ObjectWithMetadata {
2823
2823
  requiresShipping: Boolean
2824
2824
 
2825
2825
  """User info on the seller's underlying owner."""
2826
- seller: SellerType
2826
+ seller: Seller
2827
2827
 
2828
2828
  """
2829
2829
  The unit price of line which is the discounted price after pricebooks and sale application
@@ -2862,7 +2862,6 @@ type ProductVariant implements Node & ObjectWithMetadata {
2862
2862
  """Whether the product variant is published."""
2863
2863
  isPublished: Boolean!
2864
2864
  overrideCurrency: Boolean!
2865
- requiresQuote: Boolean!
2866
2865
  allowBackorders: Boolean
2867
2866
 
2868
2867
  """
@@ -2963,11 +2962,15 @@ type ProductVariant implements Node & ObjectWithMetadata {
2963
2962
 
2964
2963
  """List of vouchers associated with the product."""
2965
2964
  vouchers: [Voucher!]!
2965
+ requiresQuote: Boolean @deprecated(reason: "This field will be removed on April 25th, 2025.")
2966
2966
 
2967
2967
  """
2968
2968
  The sub status of the product variant. This will be the same as product's sub status.
2969
2969
  """
2970
2970
  subStatus: ProductSubStatusEnum
2971
+
2972
+ """Product dimensions."""
2973
+ dimensions: ProductDimensions
2971
2974
  }
2972
2975
 
2973
2976
  """An enumeration."""
@@ -3133,6 +3136,9 @@ type Product implements Node & ObjectWithMetadata {
3133
3136
 
3134
3137
  """List of logs for product status changes."""
3135
3138
  productStatusLogs: [ProductStatusLog!]
3139
+
3140
+ """Product dimensions."""
3141
+ dimensions: ProductDimensions
3136
3142
  }
3137
3143
 
3138
3144
  """
@@ -4745,7 +4751,7 @@ type Permission {
4745
4751
  enum PermissionEnum {
4746
4752
  MANAGE_USERS
4747
4753
  MANAGE_STAFF
4748
- MANAGE_PERMISSIONS
4754
+ MANAGE_PERMISSIONS @deprecated(reason: "This will be removed on April 23, 2025.")
4749
4755
  MANAGE_APPS
4750
4756
  MANAGE_DISCOUNTS
4751
4757
  MANAGE_DOCUMENTS
@@ -7080,18 +7086,7 @@ type Agreement implements Node {
7080
7086
  seoDescription: String
7081
7087
  slug: String!
7082
7088
  title: String!
7083
-
7084
- """Commission type"""
7085
- commissionType: CommissionTypeEnum! @deprecated(reason: "Markup commissions will be removed on January 23, 2025.")
7086
7089
  defaultCommission: Decimal!
7087
-
7088
- """Markup commission type"""
7089
- markupCommissionType: MarkupCommissionTypeEnum! @deprecated(reason: "Markup commissions will be removed on January 23, 2025.")
7090
-
7091
- """
7092
- If a markup commission is selected, this is the amount of the commission.
7093
- """
7094
- markupCommissionValue: Decimal @deprecated(reason: "Markup commissions will be removed on January 23, 2025.")
7095
7090
  isActive: Boolean
7096
7091
 
7097
7092
  """List of granular commissions associated with the agreement."""
@@ -7102,22 +7097,6 @@ type Agreement implements Node {
7102
7097
  fees: [AgreementFees!]!
7103
7098
  }
7104
7099
 
7105
- enum CommissionTypeEnum {
7106
- """Gross Price Commission"""
7107
- MARKETPLACE
7108
-
7109
- """Markup Commission"""
7110
- WHOLESALE
7111
-
7112
- """Absolute Price Commission"""
7113
- DROPSHIPPING
7114
- }
7115
-
7116
- enum MarkupCommissionTypeEnum {
7117
- """Percentage"""
7118
- PERCENTAGE
7119
- }
7120
-
7121
7100
  """An agreement commission"""
7122
7101
  type AgreementCommission implements Node {
7123
7102
  """The ID of the object"""
@@ -7358,6 +7337,33 @@ type ProductStatusLog implements Node & ObjectWithMetadata {
7358
7337
  metadata: [MetadataItem!]!
7359
7338
  }
7360
7339
 
7340
+ """Product or Variant dimensions."""
7341
+ type ProductDimensions {
7342
+ length: PositiveDecimal
7343
+ width: PositiveDecimal
7344
+ height: PositiveDecimal
7345
+
7346
+ """measurement unit for length, width and height."""
7347
+ unit: LengthUnitsStrEnum
7348
+ }
7349
+
7350
+ """
7351
+ Positive Decimal scalar implementation.
7352
+
7353
+ Should be used in places where value must be positive.
7354
+ """
7355
+ scalar PositiveDecimal
7356
+
7357
+ "\n String enum counterpart of the LengthUnits.\n "
7358
+ enum LengthUnitsStrEnum {
7359
+ IN
7360
+ FT
7361
+ YD
7362
+ MM
7363
+ CM
7364
+ M
7365
+ }
7366
+
7361
7367
  """Represents availability of a variant in the storefront."""
7362
7368
  type VariantPricingInfo {
7363
7369
  """Whether it is in sale or not."""
@@ -7729,61 +7735,6 @@ enum StockEventType {
7729
7735
  STOCK_DEALLOCATED
7730
7736
  }
7731
7737
 
7732
- type SellerType implements Node & ObjectWithMetadata {
7733
- """The ID of the object"""
7734
- id: ID!
7735
-
7736
- """
7737
- List of private metadata items.Requires proper staff permissions to access.
7738
- """
7739
- privateMetadata: [MetadataItem!]!
7740
-
7741
- """List of public metadata items. Can be accessed without permissions."""
7742
- metadata: [MetadataItem!]!
7743
- pk: Int
7744
- companyName: String
7745
- owner: UserType
7746
- }
7747
-
7748
- type UserType implements Node & ObjectWithMetadata {
7749
- """The ID of the object"""
7750
- id: ID!
7751
-
7752
- """
7753
- List of private metadata items.Requires proper staff permissions to access.
7754
- """
7755
- privateMetadata: [MetadataItem!]!
7756
-
7757
- """List of public metadata items. Can be accessed without permissions."""
7758
- metadata: [MetadataItem!]!
7759
- firstName: String
7760
- lastName: String
7761
- email: String
7762
- defaultShippingAddress: AddressType
7763
- }
7764
-
7765
- type AddressType implements Node & ObjectWithMetadata {
7766
- """The ID of the object"""
7767
- id: ID!
7768
-
7769
- """
7770
- List of private metadata items.Requires proper staff permissions to access.
7771
- """
7772
- privateMetadata: [MetadataItem!]!
7773
-
7774
- """List of public metadata items. Can be accessed without permissions."""
7775
- metadata: [MetadataItem!]!
7776
- firstName: String
7777
- lastName: String
7778
- streetAddress1: String
7779
- streetAddress2: String
7780
- city: String
7781
- postalCode: String
7782
- country: String
7783
- countryArea: String
7784
- phone: String
7785
- }
7786
-
7787
7738
  """Represents an shipping method for a particular seller on a checkout."""
7788
7739
  type CheckoutSellerShipping implements Node {
7789
7740
  tenant: Tenant!
@@ -8594,7 +8545,7 @@ type Shop {
8594
8545
  phonePrefixes: [String!]!
8595
8546
 
8596
8547
  """Include taxes in prices."""
8597
- includeTaxesInPrices: Boolean!
8548
+ includeTaxesInPrices: Boolean! @deprecated(reason: "This will be removed on April 29, 2025.")
8598
8549
 
8599
8550
  """Charge taxes on shipping."""
8600
8551
  chargeTaxesOnShipping: Boolean!
@@ -9222,6 +9173,7 @@ input CategoryFilterInput {
9222
9173
  customFields: [AttributeInput!]
9223
9174
  metadata: MetadataFilterInput
9224
9175
  privateMetadata: MetadataFilterInput
9176
+ allowProductAssignment: Boolean
9225
9177
  }
9226
9178
 
9227
9179
  input CategorySortingInput {
@@ -9257,6 +9209,7 @@ input CollectionFilterInput {
9257
9209
  privateMetadata: MetadataFilterInput
9258
9210
  isVisible: CollectionVisible
9259
9211
  customFields: [AttributeInput!]
9212
+ type: CollectionTypeEnum
9260
9213
  }
9261
9214
 
9262
9215
  enum CollectionPublished {
@@ -10201,13 +10154,6 @@ input StripeClientPaymentData {
10201
10154
  paymentMethodToken: String
10202
10155
  }
10203
10156
 
10204
- """
10205
- Positive Decimal scalar implementation.
10206
-
10207
- Should be used in places where value must be positive.
10208
- """
10209
- scalar PositiveDecimal
10210
-
10211
10157
  input AddressInput {
10212
10158
  """Given name."""
10213
10159
  firstName: String
@@ -11027,7 +10973,9 @@ type MarketplaceConfiguration {
11027
10973
 
11028
10974
  """URL of a view where customers can set their password."""
11029
10975
  customerSetPasswordUrl: String
11030
- includeTaxesInPrices: Boolean!
10976
+
10977
+ """Include taxes in prices."""
10978
+ includeTaxesInPrices: Boolean! @deprecated(reason: "This will be removed on April 29, 2025.")
11031
10979
  chargeTaxesOnShipping: Boolean!
11032
10980
 
11033
10981
  """
@@ -11635,16 +11583,6 @@ enum FulfillmentModelEnum {
11635
11583
  HYBRID
11636
11584
  }
11637
11585
 
11638
- "\n String enum counterpart of the LengthUnits.\n "
11639
- enum LengthUnitsStrEnum {
11640
- IN
11641
- FT
11642
- YD
11643
- MM
11644
- CM
11645
- M
11646
- }
11647
-
11648
11586
  type EmailEventCountableConnection {
11649
11587
  """Pagination data for this connection."""
11650
11588
  pageInfo: PageInfo!
@@ -13217,7 +13155,7 @@ type Mutation {
13217
13155
  description: String
13218
13156
 
13219
13157
  """
13220
- 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-autocad, application/pdf, image/x-tiff, application/msword, application/vnd.openxmlformats-officedocument.presentationml.slideshow, text/rtf, application/vnd.pdf, application/dxf, application/x-tiff, pplication/vnd.rar, image/jpg, application/vnd.ms-excel, application/csv, text/comma-separated-values, application/vnd.oasis.opendocument.spreadsheet, image/x-ms-bmp, application/postscript, image/heic-sequence, image/tif, application/zip, image/dxf, image/x-tif, image/webp, application/x-rtf, image/vnd.dwg, image/svg, application/acad, image/gif, application/tif, application/x-gzip, application/vnd.ms-word, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/gzip, text/svg, application/vnd.ms-powerpoint, text/x-pdf, application/x-dwg, application/rtf, image/bmp, text/x-comma-separated-values, image/heif-sequence, application/x-acad, image/x-eps, text/csv, application/dwg, text/plain, text/pdf, application/excel, image/x-dxf, image/eps, drawing/x-dwg, application/x-pdf, text/svg-xml, image/png, image/x-bmp, application/vnd.oasis.opendocument.text, application/x-jpg, application/jpg, application/eps, image/svg+xml, application/acrobat, application/tiff, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, image/tiff, application/svg+xml, application/gzip-compressed, application/x-eps, drawing/x-dwf, application/x-dxf, application/x-rar, application/x-tif, application/x-zip-compressed, drawing/dwg, text/x-csv, application/vnd.oasis.opendocument.presentation, application/x-rar-compressed, image/heic, application/x-csv, image/heif, image/jpeg, application/gzipped, image/x-dwg, application/x-tar.
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/excel, image/eps, image/svg, application/rtf, application/vnd.oasis.opendocument.presentation, pplication/vnd.rar, text/svg, application/acad, image/heif-sequence, text/x-pdf, application/vnd.oasis.opendocument.spreadsheet, text/svg-xml, application/jpg, image/x-tiff, application/gzip-compressed, image/gif, drawing/dwg, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.openxmlformats-officedocument.presentationml.presentation, text/pdf, image/x-bmp, text/plain, image/tif, text/x-comma-separated-values, text/comma-separated-values, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/vnd.oasis.opendocument.text, image/x-tif, application/dwg, application/x-dxf, image/tiff, application/dxf, application/x-rtf, application/svg+xml, application/vnd.ms-powerpoint, image/jpg, application/x-csv, image/heic, text/x-csv, application/x-jpg, image/png, image/x-eps, application/postscript, application/x-acad, image/bmp, application/tiff, image/dxf, application/gzipped, application/vnd.pdf, text/csv, application/eps, application/x-autocad, text/rtf, image/jpeg, application/x-dwg, image/heif, application/pdf, image/svg+xml, image/x-dxf, application/vnd.ms-word, application/x-gzip, image/heic-sequence, application/tif, drawing/x-dwg, application/zip, application/vnd.ms-excel, application/csv, application/x-tif, drawing/x-dwf, application/x-rar-compressed, application/x-pdf, application/x-tar, application/msword, image/webp, application/gzip, image/vnd.dwg, image/x-ms-bmp, application/x-rar, application/acrobat, application/x-tiff, application/x-eps, application/x-zip-compressed, image/x-dwg.
13221
13159
  """
13222
13160
  file: Upload!
13223
13161
 
@@ -15481,11 +15419,6 @@ type Mutation {
15481
15419
 
15482
15420
  """ID of the vendor to retrieve an onboarding link for"""
15483
15421
  vendorId: ID!
15484
-
15485
- """
15486
- Whether the vendor to retrieve an onboarding link for is a SELLER or an AFFILIATE
15487
- """
15488
- vendorType: String @deprecated(reason: "This will be removed on January 24, 2025.")
15489
15422
  ): VendorPayoutOnboardingLinkRequest
15490
15423
 
15491
15424
  """
@@ -15641,9 +15574,6 @@ type Mutation {
15641
15574
  """Checkout ID."""
15642
15575
  checkoutId: ID!
15643
15576
 
15644
- """ID of microsite that checkout was completed from"""
15645
- microsite: ID @deprecated(reason: "This will be removed on January 24, 2025.")
15646
-
15647
15577
  """Client-side generated data required to finalize the payment."""
15648
15578
  paymentData: JSONString
15649
15579
 
@@ -16715,7 +16645,7 @@ input MarketplaceConfigurationInput {
16715
16645
  customerSetPasswordUrl: String
16716
16646
 
16717
16647
  """Include taxes in prices."""
16718
- includeTaxesInPrices: Boolean
16648
+ includeTaxesInPrices: Boolean @deprecated(reason: "This will be removed on April 29, 2025.")
16719
16649
 
16720
16650
  """Charge taxes on shipping."""
16721
16651
  chargeTaxesOnShipping: Boolean
@@ -16770,9 +16700,6 @@ enum PayoutErrorCode {
16770
16700
  }
16771
16701
 
16772
16702
  input PayoutCreateInput {
16773
- """Vendor type for the payout"""
16774
- vendorType: String @deprecated(reason: "This will be removed on January 24, 2025")
16775
-
16776
16703
  """
16777
16704
  Payout end date. ISO 8601 standard. Can not be greater than current date.
16778
16705
  """
@@ -17097,13 +17024,13 @@ input AgreementInput {
17097
17024
  updatedAt: String
17098
17025
 
17099
17026
  """Gross Price, Markup, Absolute etc"""
17100
- commissionType: CommissionTypeEnum
17027
+ commissionType: CommissionTypeEnum @deprecated(reason: "This will be removed on April 23, 2025.")
17101
17028
 
17102
17029
  """Percentage by default"""
17103
- markupCommissionType: MarkupCommissionTypeEnum
17030
+ markupCommissionType: MarkupCommissionTypeEnum @deprecated(reason: "This will be removed on April 23, 2025.")
17104
17031
 
17105
17032
  """Markup commission percentage for all items"""
17106
- markupCommissionValue: Decimal
17033
+ markupCommissionValue: Decimal @deprecated(reason: "This will be removed on April 23, 2025.")
17107
17034
  }
17108
17035
 
17109
17036
  input SeoInput {
@@ -17114,6 +17041,22 @@ input SeoInput {
17114
17041
  description: String
17115
17042
  }
17116
17043
 
17044
+ enum CommissionTypeEnum {
17045
+ """Gross Price Commission"""
17046
+ MARKETPLACE
17047
+
17048
+ """Markup Commission"""
17049
+ WHOLESALE
17050
+
17051
+ """Absolute Price Commission"""
17052
+ DROPSHIPPING
17053
+ }
17054
+
17055
+ enum MarkupCommissionTypeEnum {
17056
+ """Percentage"""
17057
+ PERCENTAGE
17058
+ }
17059
+
17117
17060
  """Deletes a agreement."""
17118
17061
  type AgreementDelete {
17119
17062
  agreementErrors: [AgreementError!]!
@@ -19298,6 +19241,9 @@ input ProductCreateInput {
19298
19241
  """
19299
19242
  isPriceOverrideAllowed: Boolean
19300
19243
 
19244
+ """Product dimensions."""
19245
+ dimensions: ProductDimensionsInput
19246
+
19301
19247
  """ID of the seller that product belongs to."""
19302
19248
  seller: ID!
19303
19249
 
@@ -19340,6 +19286,12 @@ input VariantSizeInput {
19340
19286
  sizeUnits: DistanceUnitsEnum
19341
19287
  }
19342
19288
 
19289
+ input ProductDimensionsInput {
19290
+ length: PositiveDecimal
19291
+ width: PositiveDecimal
19292
+ height: PositiveDecimal
19293
+ }
19294
+
19343
19295
  input StockInput {
19344
19296
  """Warehouse in which the stock is located."""
19345
19297
  warehouse: ID!
@@ -19513,6 +19465,9 @@ input ProductInput {
19513
19465
  Set whether this product allows price overrides by default, will be controlled by product type if provided
19514
19466
  """
19515
19467
  isPriceOverrideAllowed: Boolean
19468
+
19469
+ """Product dimensions."""
19470
+ dimensions: ProductDimensionsInput
19516
19471
  }
19517
19472
 
19518
19473
  """Set product availability for purchase date."""
@@ -19818,7 +19773,7 @@ input ProductVariantCreateInput {
19818
19773
  name: String
19819
19774
 
19820
19775
  """True if variant requires quote pricing."""
19821
- requiresQuote: Boolean
19776
+ requiresQuote: Boolean @deprecated(reason: "This field will be removed on April 25th, 2025.")
19822
19777
 
19823
19778
  """Substatus the variant is to be changed to."""
19824
19779
  subStatus: ProductVariantSubStatusEnum @deprecated(reason: "This field will be removed on April 15th, 2025. ProductVariant substatus will be the same as product substatus")
@@ -19853,6 +19808,9 @@ input ProductVariantCreateInput {
19853
19808
  """
19854
19809
  isPriceOverrideAllowed: Boolean
19855
19810
 
19811
+ """Product dimensions."""
19812
+ dimensions: ProductDimensionsInput
19813
+
19856
19814
  """Stocks of a product available for sale."""
19857
19815
  stocks: [StockInput!]
19858
19816
 
@@ -19959,7 +19917,7 @@ input ProductVariantBulkCreateInput {
19959
19917
  name: String
19960
19918
 
19961
19919
  """True if variant requires quote pricing."""
19962
- requiresQuote: Boolean
19920
+ requiresQuote: Boolean @deprecated(reason: "This field will be removed on April 25th, 2025.")
19963
19921
 
19964
19922
  """Substatus the variant is to be changed to."""
19965
19923
  subStatus: ProductVariantSubStatusEnum @deprecated(reason: "This field will be removed on April 15th, 2025. ProductVariant substatus will be the same as product substatus")
@@ -19994,6 +19952,9 @@ input ProductVariantBulkCreateInput {
19994
19952
  """
19995
19953
  isPriceOverrideAllowed: Boolean
19996
19954
 
19955
+ """Product dimensions."""
19956
+ dimensions: ProductDimensionsInput
19957
+
19997
19958
  """Stocks of a product available for sale."""
19998
19959
  stocks: [StockInput!]
19999
19960
 
@@ -20138,7 +20099,7 @@ input ProductVariantInput {
20138
20099
  name: String
20139
20100
 
20140
20101
  """True if variant requires quote pricing."""
20141
- requiresQuote: Boolean
20102
+ requiresQuote: Boolean @deprecated(reason: "This field will be removed on April 25th, 2025.")
20142
20103
 
20143
20104
  """Substatus the variant is to be changed to."""
20144
20105
  subStatus: ProductVariantSubStatusEnum @deprecated(reason: "This field will be removed on April 15th, 2025. ProductVariant substatus will be the same as product substatus")
@@ -20172,6 +20133,9 @@ input ProductVariantInput {
20172
20133
  Set whether this variant allows price overrides by default, will be overridden by product type attached to product if available
20173
20134
  """
20174
20135
  isPriceOverrideAllowed: Boolean
20136
+
20137
+ """Product dimensions."""
20138
+ dimensions: ProductDimensionsInput
20175
20139
  }
20176
20140
 
20177
20141
  """
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.68.1",
3
+ "version": "v1.69.0-1-geb7a0ed00",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {