@nautical-commerce/graphql-schema 1.68.0-2-g1e1b8f1cb → 1.68.0-21-g88819416f

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.
@@ -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,6 +2962,7 @@ 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.
@@ -3133,6 +3133,9 @@ type Product implements Node & ObjectWithMetadata {
3133
3133
 
3134
3134
  """List of logs for product status changes."""
3135
3135
  productStatusLogs: [ProductStatusLog!]
3136
+
3137
+ """Product dimensions."""
3138
+ dimensions: ProductDimensions
3136
3139
  }
3137
3140
 
3138
3141
  """
@@ -4745,7 +4748,7 @@ type Permission {
4745
4748
  enum PermissionEnum {
4746
4749
  MANAGE_USERS
4747
4750
  MANAGE_STAFF
4748
- MANAGE_PERMISSIONS
4751
+ MANAGE_PERMISSIONS @deprecated(reason: "This will be removed on April 23, 2025.")
4749
4752
  MANAGE_APPS
4750
4753
  MANAGE_DISCOUNTS
4751
4754
  MANAGE_DOCUMENTS
@@ -7080,18 +7083,7 @@ type Agreement implements Node {
7080
7083
  seoDescription: String
7081
7084
  slug: String!
7082
7085
  title: String!
7083
-
7084
- """Commission type"""
7085
- commissionType: CommissionTypeEnum! @deprecated(reason: "Markup commissions will be removed on January 23, 2025.")
7086
7086
  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
7087
  isActive: Boolean
7096
7088
 
7097
7089
  """List of granular commissions associated with the agreement."""
@@ -7102,22 +7094,6 @@ type Agreement implements Node {
7102
7094
  fees: [AgreementFees!]!
7103
7095
  }
7104
7096
 
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
7097
  """An agreement commission"""
7122
7098
  type AgreementCommission implements Node {
7123
7099
  """The ID of the object"""
@@ -7358,6 +7334,33 @@ type ProductStatusLog implements Node & ObjectWithMetadata {
7358
7334
  metadata: [MetadataItem!]!
7359
7335
  }
7360
7336
 
7337
+ """Product or Variant dimensions."""
7338
+ type ProductDimensions {
7339
+ length: PositiveDecimal
7340
+ width: PositiveDecimal
7341
+ height: PositiveDecimal
7342
+
7343
+ """measurement unit for length, width and height."""
7344
+ unit: LengthUnitsStrEnum
7345
+ }
7346
+
7347
+ """
7348
+ Positive Decimal scalar implementation.
7349
+
7350
+ Should be used in places where value must be positive.
7351
+ """
7352
+ scalar PositiveDecimal
7353
+
7354
+ "\n String enum counterpart of the LengthUnits.\n "
7355
+ enum LengthUnitsStrEnum {
7356
+ IN
7357
+ FT
7358
+ YD
7359
+ MM
7360
+ CM
7361
+ M
7362
+ }
7363
+
7361
7364
  """Represents availability of a variant in the storefront."""
7362
7365
  type VariantPricingInfo {
7363
7366
  """Whether it is in sale or not."""
@@ -9222,6 +9225,7 @@ input CategoryFilterInput {
9222
9225
  customFields: [AttributeInput!]
9223
9226
  metadata: MetadataFilterInput
9224
9227
  privateMetadata: MetadataFilterInput
9228
+ allowProductAssignment: Boolean
9225
9229
  }
9226
9230
 
9227
9231
  input CategorySortingInput {
@@ -9257,6 +9261,7 @@ input CollectionFilterInput {
9257
9261
  privateMetadata: MetadataFilterInput
9258
9262
  isVisible: CollectionVisible
9259
9263
  customFields: [AttributeInput!]
9264
+ type: CollectionTypeEnum
9260
9265
  }
9261
9266
 
9262
9267
  enum CollectionPublished {
@@ -10201,13 +10206,6 @@ input StripeClientPaymentData {
10201
10206
  paymentMethodToken: String
10202
10207
  }
10203
10208
 
10204
- """
10205
- Positive Decimal scalar implementation.
10206
-
10207
- Should be used in places where value must be positive.
10208
- """
10209
- scalar PositiveDecimal
10210
-
10211
10209
  input AddressInput {
10212
10210
  """Given name."""
10213
10211
  firstName: String
@@ -11635,16 +11633,6 @@ enum FulfillmentModelEnum {
11635
11633
  HYBRID
11636
11634
  }
11637
11635
 
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
11636
  type EmailEventCountableConnection {
11649
11637
  """Pagination data for this connection."""
11650
11638
  pageInfo: PageInfo!
@@ -13217,7 +13205,7 @@ type Mutation {
13217
13205
  description: String
13218
13206
 
13219
13207
  """
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/tif, image/heic, image/x-dwg, image/x-eps, application/rtf, application/x-tar, application/gzip-compressed, text/comma-separated-values, application/pdf, application/acrobat, application/vnd.oasis.opendocument.text, application/x-jpg, application/dxf, application/x-tif, application/x-acad, image/svg+xml, application/excel, application/vnd.oasis.opendocument.presentation, application/x-autocad, application/postscript, application/x-pdf, image/x-bmp, image/webp, image/bmp, image/png, image/heic-sequence, application/msword, pplication/vnd.rar, image/eps, drawing/x-dwf, application/vnd.openxmlformats-officedocument.presentationml.slideshow, drawing/dwg, application/vnd.openxmlformats-officedocument.presentationml.presentation, image/x-tiff, application/jpg, image/tif, application/tiff, text/csv, image/jpg, application/gzip, application/zip, application/svg+xml, application/x-gzip, application/eps, image/x-ms-bmp, text/svg-xml, application/vnd.ms-powerpoint, image/svg, application/x-zip-compressed, drawing/x-dwg, application/x-tiff, application/x-csv, image/heif, application/x-dwg, text/pdf, application/acad, text/rtf, application/vnd.pdf, image/x-tif, application/csv, application/x-eps, image/tiff, application/dwg, image/dxf, text/x-csv, application/vnd.oasis.opendocument.spreadsheet, application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, image/jpeg, image/vnd.dwg, application/x-rar-compressed, text/x-pdf, text/x-comma-separated-values, application/x-rar, text/plain, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/gif, image/x-dxf, application/x-rtf, application/x-dxf, text/svg, image/heif-sequence, application/vnd.ms-word, application/gzipped.
13208
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.ms-powerpoint, application/pdf, application/x-dxf, application/x-tiff, text/rtf, application/acad, application/vnd.oasis.opendocument.presentation, image/x-dxf, image/eps, drawing/x-dwg, application/dwg, pplication/vnd.rar, application/gzip-compressed, application/x-zip-compressed, text/svg-xml, image/tif, image/svg+xml, application/acrobat, application/msword, text/plain, application/postscript, text/svg, application/dxf, application/vnd.ms-word, image/jpg, image/webp, image/svg, image/gif, drawing/dwg, application/x-tif, image/x-dwg, application/x-jpg, application/x-eps, application/vnd.oasis.opendocument.spreadsheet, text/x-csv, application/x-pdf, application/vnd.openxmlformats-officedocument.presentationml.presentation, image/dxf, application/vnd.oasis.opendocument.text, application/zip, application/x-rar, application/vnd.openxmlformats-officedocument.presentationml.slideshow, image/vnd.dwg, image/heif, application/vnd.pdf, application/eps, application/gzip, image/x-tif, application/tif, image/bmp, application/x-csv, text/pdf, application/x-rar-compressed, text/x-comma-separated-values, application/excel, text/comma-separated-values, application/csv, application/x-autocad, application/x-gzip, image/jpeg, application/x-tar, application/tiff, application/vnd.ms-excel, image/x-tiff, image/x-ms-bmp, image/heif-sequence, text/csv, image/x-bmp, application/svg+xml, application/x-dwg, text/x-pdf, application/x-rtf, image/png, image/tiff, application/rtf, application/x-acad, image/heic-sequence, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/jpg, application/gzipped, drawing/x-dwf, image/x-eps, image/heic.
13221
13209
  """
13222
13210
  file: Upload!
13223
13211
 
@@ -15481,11 +15469,6 @@ type Mutation {
15481
15469
 
15482
15470
  """ID of the vendor to retrieve an onboarding link for"""
15483
15471
  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
15472
  ): VendorPayoutOnboardingLinkRequest
15490
15473
 
15491
15474
  """
@@ -15641,9 +15624,6 @@ type Mutation {
15641
15624
  """Checkout ID."""
15642
15625
  checkoutId: ID!
15643
15626
 
15644
- """ID of microsite that checkout was completed from"""
15645
- microsite: ID @deprecated(reason: "This will be removed on January 24, 2025.")
15646
-
15647
15627
  """Client-side generated data required to finalize the payment."""
15648
15628
  paymentData: JSONString
15649
15629
 
@@ -16770,9 +16750,6 @@ enum PayoutErrorCode {
16770
16750
  }
16771
16751
 
16772
16752
  input PayoutCreateInput {
16773
- """Vendor type for the payout"""
16774
- vendorType: String @deprecated(reason: "This will be removed on January 24, 2025")
16775
-
16776
16753
  """
16777
16754
  Payout end date. ISO 8601 standard. Can not be greater than current date.
16778
16755
  """
@@ -17097,13 +17074,13 @@ input AgreementInput {
17097
17074
  updatedAt: String
17098
17075
 
17099
17076
  """Gross Price, Markup, Absolute etc"""
17100
- commissionType: CommissionTypeEnum
17077
+ commissionType: CommissionTypeEnum @deprecated(reason: "This will be removed on April 23, 2025.")
17101
17078
 
17102
17079
  """Percentage by default"""
17103
- markupCommissionType: MarkupCommissionTypeEnum
17080
+ markupCommissionType: MarkupCommissionTypeEnum @deprecated(reason: "This will be removed on April 23, 2025.")
17104
17081
 
17105
17082
  """Markup commission percentage for all items"""
17106
- markupCommissionValue: Decimal
17083
+ markupCommissionValue: Decimal @deprecated(reason: "This will be removed on April 23, 2025.")
17107
17084
  }
17108
17085
 
17109
17086
  input SeoInput {
@@ -17114,6 +17091,22 @@ input SeoInput {
17114
17091
  description: String
17115
17092
  }
17116
17093
 
17094
+ enum CommissionTypeEnum {
17095
+ """Gross Price Commission"""
17096
+ MARKETPLACE
17097
+
17098
+ """Markup Commission"""
17099
+ WHOLESALE
17100
+
17101
+ """Absolute Price Commission"""
17102
+ DROPSHIPPING
17103
+ }
17104
+
17105
+ enum MarkupCommissionTypeEnum {
17106
+ """Percentage"""
17107
+ PERCENTAGE
17108
+ }
17109
+
17117
17110
  """Deletes a agreement."""
17118
17111
  type AgreementDelete {
17119
17112
  agreementErrors: [AgreementError!]!
@@ -19298,6 +19291,9 @@ input ProductCreateInput {
19298
19291
  """
19299
19292
  isPriceOverrideAllowed: Boolean
19300
19293
 
19294
+ """Product dimensions."""
19295
+ dimensions: ProductDimensionsInput
19296
+
19301
19297
  """ID of the seller that product belongs to."""
19302
19298
  seller: ID!
19303
19299
 
@@ -19340,6 +19336,12 @@ input VariantSizeInput {
19340
19336
  sizeUnits: DistanceUnitsEnum
19341
19337
  }
19342
19338
 
19339
+ input ProductDimensionsInput {
19340
+ length: PositiveDecimal
19341
+ width: PositiveDecimal
19342
+ height: PositiveDecimal
19343
+ }
19344
+
19343
19345
  input StockInput {
19344
19346
  """Warehouse in which the stock is located."""
19345
19347
  warehouse: ID!
@@ -19513,6 +19515,9 @@ input ProductInput {
19513
19515
  Set whether this product allows price overrides by default, will be controlled by product type if provided
19514
19516
  """
19515
19517
  isPriceOverrideAllowed: Boolean
19518
+
19519
+ """Product dimensions."""
19520
+ dimensions: ProductDimensionsInput
19516
19521
  }
19517
19522
 
19518
19523
  """Set product availability for purchase date."""
@@ -19818,7 +19823,7 @@ input ProductVariantCreateInput {
19818
19823
  name: String
19819
19824
 
19820
19825
  """True if variant requires quote pricing."""
19821
- requiresQuote: Boolean
19826
+ requiresQuote: Boolean @deprecated(reason: "This field will be removed on April 25th, 2025.")
19822
19827
 
19823
19828
  """Substatus the variant is to be changed to."""
19824
19829
  subStatus: ProductVariantSubStatusEnum @deprecated(reason: "This field will be removed on April 15th, 2025. ProductVariant substatus will be the same as product substatus")
@@ -19959,7 +19964,7 @@ input ProductVariantBulkCreateInput {
19959
19964
  name: String
19960
19965
 
19961
19966
  """True if variant requires quote pricing."""
19962
- requiresQuote: Boolean
19967
+ requiresQuote: Boolean @deprecated(reason: "This field will be removed on April 25th, 2025.")
19963
19968
 
19964
19969
  """Substatus the variant is to be changed to."""
19965
19970
  subStatus: ProductVariantSubStatusEnum @deprecated(reason: "This field will be removed on April 15th, 2025. ProductVariant substatus will be the same as product substatus")
@@ -20138,7 +20143,7 @@ input ProductVariantInput {
20138
20143
  name: String
20139
20144
 
20140
20145
  """True if variant requires quote pricing."""
20141
- requiresQuote: Boolean
20146
+ requiresQuote: Boolean @deprecated(reason: "This field will be removed on April 25th, 2025.")
20142
20147
 
20143
20148
  """Substatus the variant is to be changed to."""
20144
20149
  subStatus: ProductVariantSubStatusEnum @deprecated(reason: "This field will be removed on April 15th, 2025. ProductVariant substatus will be the same as product substatus")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.68.0-2-g1e1b8f1cb",
3
+ "version": "v1.68.0-21-g88819416f",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {