@nautical-commerce/graphql-schema 1.68.0-18-gcb1c77a71 → 1.68.0-2-g1e1b8f1cb

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