@nautical-commerce/graphql-schema 1.68.0-30-gdacb99042 → 1.68.0-5-g27189790c

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: text/x-pdf, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/jpg, text/svg-xml, drawing/x-dwf, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/x-dxf, text/comma-separated-values, image/heic-sequence, image/x-bmp, drawing/dwg, application/x-zip-compressed, text/pdf, application/postscript, application/x-dwg, image/jpeg, image/tif, application/gzip, image/eps, application/vnd.oasis.opendocument.spreadsheet, application/csv, application/x-acad, application/vnd.pdf, image/x-eps, application/x-jpg, application/pdf, application/eps, application/tif, image/gif, image/x-tif, image/dxf, image/heif-sequence, image/svg+xml, text/plain, text/x-comma-separated-values, application/gzipped, application/x-rar-compressed, application/acad, application/excel, image/heic, application/x-gzip, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/vnd.oasis.opendocument.presentation, application/x-pdf, application/x-tar, text/csv, application/vnd.ms-word, image/x-tiff, application/svg+xml, image/x-ms-bmp, drawing/x-dwg, application/msword, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/tiff, application/vnd.ms-powerpoint, image/svg, application/x-eps, application/vnd.ms-excel, text/rtf, application/dxf, image/vnd.dwg, image/heif, application/rtf, image/x-dxf, application/gzip-compressed, text/svg, application/vnd.oasis.opendocument.text, pplication/vnd.rar, application/x-rar, image/jpg, image/webp, image/png, application/x-csv, application/acrobat, image/bmp, text/x-csv, application/zip, application/x-tif, application/x-tiff, application/x-rtf, application/tiff, application/dwg, application/x-autocad, image/x-dwg.
13159
13221
  """
13160
13222
  file: Upload!
13161
13223
 
@@ -15574,6 +15636,9 @@ type Mutation {
15574
15636
  """Checkout ID."""
15575
15637
  checkoutId: ID!
15576
15638
 
15639
+ """ID of microsite that checkout was completed from"""
15640
+ microsite: ID @deprecated(reason: "This will be removed on January 24, 2025.")
15641
+
15577
15642
  """Client-side generated data required to finalize the payment."""
15578
15643
  paymentData: JSONString
15579
15644
 
@@ -16645,7 +16710,7 @@ input MarketplaceConfigurationInput {
16645
16710
  customerSetPasswordUrl: String
16646
16711
 
16647
16712
  """Include taxes in prices."""
16648
- includeTaxesInPrices: Boolean @deprecated(reason: "This will be removed on April 29, 2025.")
16713
+ includeTaxesInPrices: Boolean
16649
16714
 
16650
16715
  """Charge taxes on shipping."""
16651
16716
  chargeTaxesOnShipping: Boolean
@@ -17024,13 +17089,13 @@ input AgreementInput {
17024
17089
  updatedAt: String
17025
17090
 
17026
17091
  """Gross Price, Markup, Absolute etc"""
17027
- commissionType: CommissionTypeEnum @deprecated(reason: "This will be removed on April 23, 2025.")
17092
+ commissionType: CommissionTypeEnum
17028
17093
 
17029
17094
  """Percentage by default"""
17030
- markupCommissionType: MarkupCommissionTypeEnum @deprecated(reason: "This will be removed on April 23, 2025.")
17095
+ markupCommissionType: MarkupCommissionTypeEnum
17031
17096
 
17032
17097
  """Markup commission percentage for all items"""
17033
- markupCommissionValue: Decimal @deprecated(reason: "This will be removed on April 23, 2025.")
17098
+ markupCommissionValue: Decimal
17034
17099
  }
17035
17100
 
17036
17101
  input SeoInput {
@@ -17041,22 +17106,6 @@ input SeoInput {
17041
17106
  description: String
17042
17107
  }
17043
17108
 
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
17109
  """Deletes a agreement."""
17061
17110
  type AgreementDelete {
17062
17111
  agreementErrors: [AgreementError!]!
@@ -19241,9 +19290,6 @@ input ProductCreateInput {
19241
19290
  """
19242
19291
  isPriceOverrideAllowed: Boolean
19243
19292
 
19244
- """Product dimensions."""
19245
- dimensions: ProductDimensionsInput
19246
-
19247
19293
  """ID of the seller that product belongs to."""
19248
19294
  seller: ID!
19249
19295
 
@@ -19286,12 +19332,6 @@ input VariantSizeInput {
19286
19332
  sizeUnits: DistanceUnitsEnum
19287
19333
  }
19288
19334
 
19289
- input ProductDimensionsInput {
19290
- length: PositiveDecimal
19291
- width: PositiveDecimal
19292
- height: PositiveDecimal
19293
- }
19294
-
19295
19335
  input StockInput {
19296
19336
  """Warehouse in which the stock is located."""
19297
19337
  warehouse: ID!
@@ -19465,9 +19505,6 @@ input ProductInput {
19465
19505
  Set whether this product allows price overrides by default, will be controlled by product type if provided
19466
19506
  """
19467
19507
  isPriceOverrideAllowed: Boolean
19468
-
19469
- """Product dimensions."""
19470
- dimensions: ProductDimensionsInput
19471
19508
  }
19472
19509
 
19473
19510
  """Set product availability for purchase date."""
@@ -19773,7 +19810,7 @@ input ProductVariantCreateInput {
19773
19810
  name: String
19774
19811
 
19775
19812
  """True if variant requires quote pricing."""
19776
- requiresQuote: Boolean @deprecated(reason: "This field will be removed on April 25th, 2025.")
19813
+ requiresQuote: Boolean
19777
19814
 
19778
19815
  """Substatus the variant is to be changed to."""
19779
19816
  subStatus: ProductVariantSubStatusEnum @deprecated(reason: "This field will be removed on April 15th, 2025. ProductVariant substatus will be the same as product substatus")
@@ -19808,9 +19845,6 @@ input ProductVariantCreateInput {
19808
19845
  """
19809
19846
  isPriceOverrideAllowed: Boolean
19810
19847
 
19811
- """Product dimensions."""
19812
- dimensions: ProductDimensionsInput
19813
-
19814
19848
  """Stocks of a product available for sale."""
19815
19849
  stocks: [StockInput!]
19816
19850
 
@@ -19917,7 +19951,7 @@ input ProductVariantBulkCreateInput {
19917
19951
  name: String
19918
19952
 
19919
19953
  """True if variant requires quote pricing."""
19920
- requiresQuote: Boolean @deprecated(reason: "This field will be removed on April 25th, 2025.")
19954
+ requiresQuote: Boolean
19921
19955
 
19922
19956
  """Substatus the variant is to be changed to."""
19923
19957
  subStatus: ProductVariantSubStatusEnum @deprecated(reason: "This field will be removed on April 15th, 2025. ProductVariant substatus will be the same as product substatus")
@@ -19952,9 +19986,6 @@ input ProductVariantBulkCreateInput {
19952
19986
  """
19953
19987
  isPriceOverrideAllowed: Boolean
19954
19988
 
19955
- """Product dimensions."""
19956
- dimensions: ProductDimensionsInput
19957
-
19958
19989
  """Stocks of a product available for sale."""
19959
19990
  stocks: [StockInput!]
19960
19991
 
@@ -20099,7 +20130,7 @@ input ProductVariantInput {
20099
20130
  name: String
20100
20131
 
20101
20132
  """True if variant requires quote pricing."""
20102
- requiresQuote: Boolean @deprecated(reason: "This field will be removed on April 25th, 2025.")
20133
+ requiresQuote: Boolean
20103
20134
 
20104
20135
  """Substatus the variant is to be changed to."""
20105
20136
  subStatus: ProductVariantSubStatusEnum @deprecated(reason: "This field will be removed on April 15th, 2025. ProductVariant substatus will be the same as product substatus")
@@ -20133,9 +20164,6 @@ input ProductVariantInput {
20133
20164
  Set whether this variant allows price overrides by default, will be overridden by product type attached to product if available
20134
20165
  """
20135
20166
  isPriceOverrideAllowed: Boolean
20136
-
20137
- """Product dimensions."""
20138
- dimensions: ProductDimensionsInput
20139
20167
  }
20140
20168
 
20141
20169
  """
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-5-g27189790c",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {