@nautical-commerce/graphql-schema 1.68.0-30-gdacb99042 → 1.68.0-4-g8eafffe0f

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: Seller
2826
+ seller: SellerType
2827
2827
 
2828
2828
  """
2829
2829
  The unit price of line which is the discounted price after pricebooks and sale application
@@ -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,15 +2963,11 @@ 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.
2969
2969
  """
2970
2970
  subStatus: ProductSubStatusEnum
2971
-
2972
- """Product dimensions."""
2973
- dimensions: ProductDimensions
2974
2971
  }
2975
2972
 
2976
2973
  """An enumeration."""
@@ -3136,9 +3133,6 @@ type Product implements Node & ObjectWithMetadata {
3136
3133
 
3137
3134
  """List of logs for product status changes."""
3138
3135
  productStatusLogs: [ProductStatusLog!]
3139
-
3140
- """Product dimensions."""
3141
- dimensions: ProductDimensions
3142
3136
  }
3143
3137
 
3144
3138
  """
@@ -4751,7 +4745,7 @@ type Permission {
4751
4745
  enum PermissionEnum {
4752
4746
  MANAGE_USERS
4753
4747
  MANAGE_STAFF
4754
- MANAGE_PERMISSIONS @deprecated(reason: "This will be removed on April 23, 2025.")
4748
+ MANAGE_PERMISSIONS
4755
4749
  MANAGE_APPS
4756
4750
  MANAGE_DISCOUNTS
4757
4751
  MANAGE_DOCUMENTS
@@ -7086,7 +7080,18 @@ type Agreement implements Node {
7086
7080
  seoDescription: String
7087
7081
  slug: String!
7088
7082
  title: String!
7083
+
7084
+ """Commission type"""
7085
+ commissionType: CommissionTypeEnum! @deprecated(reason: "Markup commissions will be removed on January 23, 2025.")
7089
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.")
7090
7095
  isActive: Boolean
7091
7096
 
7092
7097
  """List of granular commissions associated with the agreement."""
@@ -7097,6 +7102,22 @@ type Agreement implements Node {
7097
7102
  fees: [AgreementFees!]!
7098
7103
  }
7099
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
+
7100
7121
  """An agreement commission"""
7101
7122
  type AgreementCommission implements Node {
7102
7123
  """The ID of the object"""
@@ -7337,33 +7358,6 @@ type ProductStatusLog implements Node & ObjectWithMetadata {
7337
7358
  metadata: [MetadataItem!]!
7338
7359
  }
7339
7360
 
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
-
7367
7361
  """Represents availability of a variant in the storefront."""
7368
7362
  type VariantPricingInfo {
7369
7363
  """Whether it is in sale or not."""
@@ -7735,6 +7729,61 @@ enum StockEventType {
7735
7729
  STOCK_DEALLOCATED
7736
7730
  }
7737
7731
 
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
+
7738
7787
  """Represents an shipping method for a particular seller on a checkout."""
7739
7788
  type CheckoutSellerShipping implements Node {
7740
7789
  tenant: Tenant!
@@ -8545,7 +8594,7 @@ type Shop {
8545
8594
  phonePrefixes: [String!]!
8546
8595
 
8547
8596
  """Include taxes in prices."""
8548
- includeTaxesInPrices: Boolean! @deprecated(reason: "This will be removed on April 29, 2025.")
8597
+ includeTaxesInPrices: Boolean!
8549
8598
 
8550
8599
  """Charge taxes on shipping."""
8551
8600
  chargeTaxesOnShipping: Boolean!
@@ -9173,7 +9222,6 @@ input CategoryFilterInput {
9173
9222
  customFields: [AttributeInput!]
9174
9223
  metadata: MetadataFilterInput
9175
9224
  privateMetadata: MetadataFilterInput
9176
- allowProductAssignment: Boolean
9177
9225
  }
9178
9226
 
9179
9227
  input CategorySortingInput {
@@ -9209,7 +9257,6 @@ input CollectionFilterInput {
9209
9257
  privateMetadata: MetadataFilterInput
9210
9258
  isVisible: CollectionVisible
9211
9259
  customFields: [AttributeInput!]
9212
- type: CollectionTypeEnum
9213
9260
  }
9214
9261
 
9215
9262
  enum CollectionPublished {
@@ -10154,6 +10201,13 @@ input StripeClientPaymentData {
10154
10201
  paymentMethodToken: String
10155
10202
  }
10156
10203
 
10204
+ """
10205
+ Positive Decimal scalar implementation.
10206
+
10207
+ Should be used in places where value must be positive.
10208
+ """
10209
+ scalar PositiveDecimal
10210
+
10157
10211
  input AddressInput {
10158
10212
  """Given name."""
10159
10213
  firstName: String
@@ -10973,9 +11027,7 @@ type MarketplaceConfiguration {
10973
11027
 
10974
11028
  """URL of a view where customers can set their password."""
10975
11029
  customerSetPasswordUrl: String
10976
-
10977
- """Include taxes in prices."""
10978
- includeTaxesInPrices: Boolean! @deprecated(reason: "This will be removed on April 29, 2025.")
11030
+ includeTaxesInPrices: Boolean!
10979
11031
  chargeTaxesOnShipping: Boolean!
10980
11032
 
10981
11033
  """
@@ -11583,6 +11635,16 @@ enum FulfillmentModelEnum {
11583
11635
  HYBRID
11584
11636
  }
11585
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
+
11586
11648
  type EmailEventCountableConnection {
11587
11649
  """Pagination data for this connection."""
11588
11650
  pageInfo: PageInfo!
@@ -13155,7 +13217,7 @@ type Mutation {
13155
13217
  description: String
13156
13218
 
13157
13219
  """
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-dwg, application/vnd.ms-word, application/gzip-compressed, text/x-csv, application/vnd.ms-powerpoint, application/x-rtf, application/excel, application/jpg, application/x-pdf, application/msword, application/vnd.oasis.opendocument.spreadsheet, pplication/vnd.rar, application/eps, image/bmp, application/tif, image/x-ms-bmp, image/svg+xml, application/postscript, image/vnd.dwg, image/heic-sequence, image/x-dxf, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/x-autocad, application/vnd.pdf, application/x-tiff, application/dwg, drawing/x-dwf, application/x-eps, image/x-tiff, application/vnd.oasis.opendocument.text, image/heic, application/pdf, application/x-tif, image/svg, text/pdf, application/x-rar-compressed, image/jpeg, application/x-csv, application/vnd.oasis.opendocument.presentation, application/gzipped, application/x-jpg, image/gif, application/gzip, image/x-bmp, image/x-dwg, text/rtf, drawing/x-dwg, application/svg+xml, application/x-tar, text/svg-xml, image/dxf, drawing/dwg, application/x-gzip, text/csv, image/heif, image/heif-sequence, image/x-tif, text/comma-separated-values, text/svg, image/png, image/eps, image/tiff, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/tiff, application/acrobat, image/tif, image/x-eps, text/plain, application/x-acad, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/zip, application/vnd.ms-excel, application/x-dxf, application/csv, image/jpg, image/webp, application/x-zip-compressed, application/acad, text/x-pdf, application/rtf, text/x-comma-separated-values, application/dxf, application/x-rar, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.
13220
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: image/jpeg, application/x-autocad, application/vnd.ms-powerpoint, drawing/x-dwf, application/x-jpg, application/vnd.ms-excel, image/heic, application/csv, image/heic-sequence, application/x-pdf, image/heif, pplication/vnd.rar, application/svg+xml, image/webp, image/x-eps, application/gzip, application/vnd.oasis.opendocument.presentation, image/x-dwg, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, image/x-dxf, application/x-zip-compressed, image/svg, text/svg-xml, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/x-dxf, image/x-tif, text/x-comma-separated-values, application/x-rtf, text/rtf, image/vnd.dwg, application/x-acad, application/x-eps, text/x-pdf, image/heif-sequence, application/dxf, application/vnd.oasis.opendocument.text, text/plain, image/gif, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/x-dwg, application/acad, application/vnd.pdf, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/tiff, application/rtf, image/png, application/postscript, image/svg+xml, image/x-tiff, image/eps, application/jpg, application/zip, application/x-rar-compressed, application/pdf, application/x-tiff, text/csv, application/dwg, application/acrobat, drawing/x-dwg, application/tiff, application/tif, text/svg, image/tif, image/x-ms-bmp, text/pdf, application/gzipped, application/x-tif, application/msword, application/gzip-compressed, application/x-gzip, application/x-tar, application/vnd.oasis.opendocument.spreadsheet, image/x-bmp, application/x-csv, text/x-csv, image/jpg, drawing/dwg, image/bmp, application/excel, application/eps, text/comma-separated-values, application/x-rar, application/vnd.ms-word, image/dxf.
13159
13221
  """
13160
13222
  file: Upload!
13161
13223
 
@@ -15419,6 +15481,11 @@ type Mutation {
15419
15481
 
15420
15482
  """ID of the vendor to retrieve an onboarding link for"""
15421
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.")
15422
15489
  ): VendorPayoutOnboardingLinkRequest
15423
15490
 
15424
15491
  """
@@ -15574,6 +15641,9 @@ type Mutation {
15574
15641
  """Checkout ID."""
15575
15642
  checkoutId: ID!
15576
15643
 
15644
+ """ID of microsite that checkout was completed from"""
15645
+ microsite: ID @deprecated(reason: "This will be removed on January 24, 2025.")
15646
+
15577
15647
  """Client-side generated data required to finalize the payment."""
15578
15648
  paymentData: JSONString
15579
15649
 
@@ -16645,7 +16715,7 @@ input MarketplaceConfigurationInput {
16645
16715
  customerSetPasswordUrl: String
16646
16716
 
16647
16717
  """Include taxes in prices."""
16648
- includeTaxesInPrices: Boolean @deprecated(reason: "This will be removed on April 29, 2025.")
16718
+ includeTaxesInPrices: Boolean
16649
16719
 
16650
16720
  """Charge taxes on shipping."""
16651
16721
  chargeTaxesOnShipping: Boolean
@@ -16700,6 +16770,9 @@ enum PayoutErrorCode {
16700
16770
  }
16701
16771
 
16702
16772
  input PayoutCreateInput {
16773
+ """Vendor type for the payout"""
16774
+ vendorType: String @deprecated(reason: "This will be removed on January 24, 2025")
16775
+
16703
16776
  """
16704
16777
  Payout end date. ISO 8601 standard. Can not be greater than current date.
16705
16778
  """
@@ -17024,13 +17097,13 @@ input AgreementInput {
17024
17097
  updatedAt: String
17025
17098
 
17026
17099
  """Gross Price, Markup, Absolute etc"""
17027
- commissionType: CommissionTypeEnum @deprecated(reason: "This will be removed on April 23, 2025.")
17100
+ commissionType: CommissionTypeEnum
17028
17101
 
17029
17102
  """Percentage by default"""
17030
- markupCommissionType: MarkupCommissionTypeEnum @deprecated(reason: "This will be removed on April 23, 2025.")
17103
+ markupCommissionType: MarkupCommissionTypeEnum
17031
17104
 
17032
17105
  """Markup commission percentage for all items"""
17033
- markupCommissionValue: Decimal @deprecated(reason: "This will be removed on April 23, 2025.")
17106
+ markupCommissionValue: Decimal
17034
17107
  }
17035
17108
 
17036
17109
  input SeoInput {
@@ -17041,22 +17114,6 @@ input SeoInput {
17041
17114
  description: String
17042
17115
  }
17043
17116
 
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
-
17060
17117
  """Deletes a agreement."""
17061
17118
  type AgreementDelete {
17062
17119
  agreementErrors: [AgreementError!]!
@@ -19241,9 +19298,6 @@ input ProductCreateInput {
19241
19298
  """
19242
19299
  isPriceOverrideAllowed: Boolean
19243
19300
 
19244
- """Product dimensions."""
19245
- dimensions: ProductDimensionsInput
19246
-
19247
19301
  """ID of the seller that product belongs to."""
19248
19302
  seller: ID!
19249
19303
 
@@ -19286,12 +19340,6 @@ input VariantSizeInput {
19286
19340
  sizeUnits: DistanceUnitsEnum
19287
19341
  }
19288
19342
 
19289
- input ProductDimensionsInput {
19290
- length: PositiveDecimal
19291
- width: PositiveDecimal
19292
- height: PositiveDecimal
19293
- }
19294
-
19295
19343
  input StockInput {
19296
19344
  """Warehouse in which the stock is located."""
19297
19345
  warehouse: ID!
@@ -19465,9 +19513,6 @@ input ProductInput {
19465
19513
  Set whether this product allows price overrides by default, will be controlled by product type if provided
19466
19514
  """
19467
19515
  isPriceOverrideAllowed: Boolean
19468
-
19469
- """Product dimensions."""
19470
- dimensions: ProductDimensionsInput
19471
19516
  }
19472
19517
 
19473
19518
  """Set product availability for purchase date."""
@@ -19773,7 +19818,7 @@ input ProductVariantCreateInput {
19773
19818
  name: String
19774
19819
 
19775
19820
  """True if variant requires quote pricing."""
19776
- requiresQuote: Boolean @deprecated(reason: "This field will be removed on April 25th, 2025.")
19821
+ requiresQuote: Boolean
19777
19822
 
19778
19823
  """Substatus the variant is to be changed to."""
19779
19824
  subStatus: ProductVariantSubStatusEnum @deprecated(reason: "This field will be removed on April 15th, 2025. ProductVariant substatus will be the same as product substatus")
@@ -19808,9 +19853,6 @@ input ProductVariantCreateInput {
19808
19853
  """
19809
19854
  isPriceOverrideAllowed: Boolean
19810
19855
 
19811
- """Product dimensions."""
19812
- dimensions: ProductDimensionsInput
19813
-
19814
19856
  """Stocks of a product available for sale."""
19815
19857
  stocks: [StockInput!]
19816
19858
 
@@ -19917,7 +19959,7 @@ input ProductVariantBulkCreateInput {
19917
19959
  name: String
19918
19960
 
19919
19961
  """True if variant requires quote pricing."""
19920
- requiresQuote: Boolean @deprecated(reason: "This field will be removed on April 25th, 2025.")
19962
+ requiresQuote: Boolean
19921
19963
 
19922
19964
  """Substatus the variant is to be changed to."""
19923
19965
  subStatus: ProductVariantSubStatusEnum @deprecated(reason: "This field will be removed on April 15th, 2025. ProductVariant substatus will be the same as product substatus")
@@ -19952,9 +19994,6 @@ input ProductVariantBulkCreateInput {
19952
19994
  """
19953
19995
  isPriceOverrideAllowed: Boolean
19954
19996
 
19955
- """Product dimensions."""
19956
- dimensions: ProductDimensionsInput
19957
-
19958
19997
  """Stocks of a product available for sale."""
19959
19998
  stocks: [StockInput!]
19960
19999
 
@@ -20099,7 +20138,7 @@ input ProductVariantInput {
20099
20138
  name: String
20100
20139
 
20101
20140
  """True if variant requires quote pricing."""
20102
- requiresQuote: Boolean @deprecated(reason: "This field will be removed on April 25th, 2025.")
20141
+ requiresQuote: Boolean
20103
20142
 
20104
20143
  """Substatus the variant is to be changed to."""
20105
20144
  subStatus: ProductVariantSubStatusEnum @deprecated(reason: "This field will be removed on April 15th, 2025. ProductVariant substatus will be the same as product substatus")
@@ -20133,9 +20172,6 @@ input ProductVariantInput {
20133
20172
  Set whether this variant allows price overrides by default, will be overridden by product type attached to product if available
20134
20173
  """
20135
20174
  isPriceOverrideAllowed: Boolean
20136
-
20137
- """Product dimensions."""
20138
- dimensions: ProductDimensionsInput
20139
20175
  }
20140
20176
 
20141
20177
  """
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.68.0-30-gdacb99042",
3
+ "version": "v1.68.0-4-g8eafffe0f",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {