@nautical-commerce/graphql-schema 1.52.0 → 1.53.0-1-g6fb07e3c2

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.
@@ -2241,7 +2241,6 @@ type User implements Node & ObjectWithMetadata {
2241
2241
  externalPayoutAccountId: String
2242
2242
  externalPayoutSource: UserExternalPayoutSource
2243
2243
  externalPayoutOnboardingUrl: String
2244
- isMarketplaceAdmin: Boolean
2245
2244
  companyName: String!
2246
2245
  email: String!
2247
2246
  firstName: String!
@@ -2440,6 +2439,7 @@ type User implements Node & ObjectWithMetadata {
2440
2439
  """Return the last n elements from the list."""
2441
2440
  last: Int
2442
2441
  ): WishlistCountableConnection
2442
+ isMarketplaceAdmin: Boolean @deprecated(reason: "This is not accurate and will be removed on October 20th, 2024.")
2443
2443
  isAffiliate: Boolean @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
2444
2444
  seller: Seller
2445
2445
  hasMicrosite: Boolean @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
@@ -3062,9 +3062,6 @@ type Product implements Node & ObjectWithMetadata {
3062
3062
  """List of all product's locations."""
3063
3063
  locations: [Location!] @deprecated(reason: "Locations will be removed on November 28, 2024.")
3064
3064
 
3065
- """List of all grouped products."""
3066
- groupedProducts: [Product!] @deprecated(reason: "Grouped product support will be removed on September 27, 2024.")
3067
-
3068
3065
  """Products origin location."""
3069
3066
  originLocation: Location @deprecated(reason: "Locations will be removed on November 28, 2024.")
3070
3067
 
@@ -3075,13 +3072,7 @@ type Product implements Node & ObjectWithMetadata {
3075
3072
  primaryLocation: Location @deprecated(reason: "Locations will be removed on November 28, 2024.")
3076
3073
 
3077
3074
  """Product configuration indicator."""
3078
- productConfiguration: Int
3079
-
3080
- """Cumulative price of all products in grouped product."""
3081
- cumulativePrice: Money
3082
-
3083
- """Available stock for grouped product."""
3084
- cumulativeStock: Int
3075
+ productConfiguration: Int @deprecated(reason: "This will be removed on October 19, 2024.")
3085
3076
 
3086
3077
  """
3087
3078
  Product stock stats combining all variants in all warehouses. Requires MANAGE_PRODUCTS permission.
@@ -4155,9 +4146,6 @@ input ProductFilterInput {
4155
4146
  slug: [String!]
4156
4147
  brand: [String!]
4157
4148
  features: FeatureFilterInput
4158
- isGroup: Boolean
4159
- configuration: [Int!]
4160
- hideProductsInGroup: Boolean
4161
4149
  price: PriceRangeInput
4162
4150
  minimalPrice: PriceRangeInput
4163
4151
  createdAt: DateTimeRangeInput
@@ -4345,9 +4333,6 @@ enum ProductSearchFieldEnum {
4345
4333
  VARIANT_ATTRIBUTE_NAME
4346
4334
  VARIANT_ATTRIBUTE_VALUE_NAME
4347
4335
  VARIANT_ATTRIBUTE_VALUE_VALUE
4348
- SUB_PRODUCT_NAME
4349
- SUB_PRODUCT_VARIANT_NAME
4350
- SUB_PRODUCT_VARIANT_SKU
4351
4336
  DESCRIPTION
4352
4337
  }
4353
4338
 
@@ -5906,9 +5891,6 @@ type OrderLine implements Node & ObjectWithMetadata {
5906
5891
  """The pricebook, if any, that changed the price of this line."""
5907
5892
  priceBook: PriceBook
5908
5893
 
5909
- """List of secondary lines attached to this order line."""
5910
- secondaryLines: [SecondaryOrderLine!] @deprecated(reason: "Grouped product support will be removed on September 27, 2024.")
5911
-
5912
5894
  """DEPRECATED: The number of items ordered on this order line."""
5913
5895
  quantity: Int! @deprecated(reason: "Use the more explicit quantityOrdered instead. This will be removed on November 1, 2024")
5914
5896
 
@@ -6008,9 +5990,6 @@ type NauticalOrderLine implements Node & ObjectWithMetadata {
6008
5990
  """The related orderline attached to the connected seller order"""
6009
5991
  sellerOrderline: OrderLine
6010
5992
 
6011
- """List of secondary lines attached to this order line."""
6012
- secondaryLines: [NauticalSecondaryOrderLine!] @deprecated(reason: "Grouped product support will be removed on September 27, 2024.")
6013
-
6014
5993
  """The number of items ordered on this order line"""
6015
5994
  quantity: Int! @deprecated(reason: "Use the more explicit quantityOrdered instead. This will be removed on November 1, 2024.")
6016
5995
 
@@ -6168,48 +6147,6 @@ enum PriceBookProductTypeValueType {
6168
6147
  ADJUST_FIXED
6169
6148
  }
6170
6149
 
6171
- """Represents secondary order line of particular marketplace order line."""
6172
- type NauticalSecondaryOrderLine implements Node {
6173
- """The ID of the object"""
6174
- id: ID!
6175
- isLinePriceOverridden: Boolean!
6176
- unitPriceOverriddenNote: String
6177
- productName: String!
6178
- variantName: String!
6179
- productSku: String
6180
- isShippingRequired: Boolean!
6181
- quantityFulfilled: Int!
6182
-
6183
- """The main thumbnail for the ordered product."""
6184
- thumbnail(
6185
- """Size of thumbnail."""
6186
- size: Int
6187
- ): Image
6188
-
6189
- """Price of the single item in the order line."""
6190
- unitPrice: TaxedMoney
6191
-
6192
- """Price of the order line."""
6193
- totalPrice: TaxedMoney
6194
-
6195
- """
6196
- A purchased product variant. Note: this field may be null if the variant has been removed from stock at all.
6197
- """
6198
- variant: ProductVariant
6199
-
6200
- """Product name in the customer's language"""
6201
- translatedProductName: String!
6202
-
6203
- """Variant name in the customer's language"""
6204
- translatedVariantName: String!
6205
-
6206
- """The number of items ordered on this order line"""
6207
- quantity: Int @deprecated(reason: "Use the more explicit quantityOrdered instead. This will be removed on November 1, 2024.")
6208
-
6209
- """The number of items ordered on this order line"""
6210
- quantityOrdered: Int!
6211
- }
6212
-
6213
6150
  """Represents allocation."""
6214
6151
  type Allocation implements Node {
6215
6152
  """The ID of the object"""
@@ -6322,48 +6259,6 @@ type ShippingZoneCountryArea implements Node {
6322
6259
  countryArea: CountryArea!
6323
6260
  }
6324
6261
 
6325
- """Represents secondary order line of particular order line."""
6326
- type SecondaryOrderLine implements Node {
6327
- """The ID of the object"""
6328
- id: ID!
6329
- isLinePriceOverridden: Boolean!
6330
- unitPriceOverriddenNote: String
6331
- productName: String!
6332
- variantName: String!
6333
- productSku: String
6334
- isShippingRequired: Boolean!
6335
- quantityFulfilled: Int!
6336
-
6337
- """The main thumbnail for the ordered product."""
6338
- thumbnail(
6339
- """Size of thumbnail."""
6340
- size: Int
6341
- ): Image
6342
-
6343
- """Price of the single item in the order line."""
6344
- unitPrice: TaxedMoney
6345
-
6346
- """Price of the order line."""
6347
- totalPrice: TaxedMoney
6348
-
6349
- """
6350
- A purchased product variant. Note: this field may be null if the variant has been removed from stock at all.
6351
- """
6352
- variant: ProductVariant
6353
-
6354
- """Product name in the customer's language"""
6355
- translatedProductName: String!
6356
-
6357
- """Variant name in the customer's language"""
6358
- translatedVariantName: String!
6359
-
6360
- """The number of items ordered on this order line"""
6361
- quantity: Int @deprecated(reason: "Use the more explicit quantityOrdered instead. This will be removed on November 1, 2024.")
6362
-
6363
- """The number of items ordered on this order line"""
6364
- quantityOrdered: Int!
6365
- }
6366
-
6367
6262
  enum OrderSubStatusEnum {
6368
6263
  """In Review"""
6369
6264
  IN_REVIEW
@@ -11492,7 +11387,6 @@ type MarketplaceConfiguration {
11492
11387
  tenant: Tenant!
11493
11388
  id: UUID!
11494
11389
  marketplaceName: String!
11495
- maxProductsInGroup: Int!
11496
11390
 
11497
11391
  """
11498
11392
  True if marketplace accrues shipping revenue, false if sellers accrue shipping revenue
@@ -13399,6 +13293,7 @@ enum VoucherSortField {
13399
13293
 
13400
13294
  type DesignerDataType {
13401
13295
  tenant: Tenant!
13296
+ id: ID!
13402
13297
  name: String!
13403
13298
  jsonContent: JSONString!
13404
13299
  }
@@ -13948,7 +13843,7 @@ type Mutation {
13948
13843
  description: String
13949
13844
 
13950
13845
  """
13951
- Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: text/comma-separated-values, application/x-pdf, text/x-pdf, application/excel, image/png, image/bmp, text/svg, image/heif, text/svg-xml, application/vnd.oasis.opendocument.presentation, image/x-bmp, application/x-tar, application/tif, application/x-autocad, image/x-ms-bmp, image/x-tif, application/postscript, image/heic-sequence, application/acad, image/dxf, application/vnd.ms-excel, application/rtf, application/x-tif, image/x-dxf, application/x-rar, image/x-tiff, application/x-acad, application/x-dxf, image/heic, image/gif, image/svg, image/x-eps, text/plain, application/x-rar-compressed, application/jpg, text/pdf, application/vnd.ms-powerpoint, application/vnd.oasis.opendocument.text, application/eps, application/x-rtf, image/svg+xml, application/x-eps, image/jpg, image/tiff, image/x-dwg, drawing/x-dwg, application/pdf, application/x-jpg, application/zip, application/acrobat, drawing/x-dwf, text/x-comma-separated-values, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/dxf, application/vnd.pdf, application/x-tiff, image/tif, application/x-dwg, drawing/dwg, application/gzip, image/heif-sequence, application/vnd.oasis.opendocument.spreadsheet, application/vnd.ms-word, application/x-gzip, image/eps, application/gzipped, text/x-csv, image/webp, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/csv, text/rtf, image/jpeg, application/tiff, application/svg+xml, application/dwg, application/gzip-compressed, application/msword, application/x-csv, image/vnd.dwg, application/vnd.openxmlformats-officedocument.presentationml.presentation, pplication/vnd.rar, text/csv, application/x-zip-compressed.
13846
+ 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, application/vnd.openxmlformats-officedocument.wordprocessingml.document, text/csv, image/x-tif, application/gzip-compressed, application/vnd.openxmlformats-officedocument.presentationml.slideshow, image/heif-sequence, image/vnd.dwg, application/vnd.ms-excel, application/gzipped, image/x-eps, pplication/vnd.rar, application/x-eps, application/x-rar, image/dxf, image/tif, application/x-pdf, text/comma-separated-values, application/pdf, application/dxf, text/x-pdf, image/heic, image/png, drawing/x-dwf, application/msword, image/x-dwg, application/vnd.ms-word, application/x-acad, application/excel, text/plain, application/gzip, image/x-tiff, application/acrobat, application/x-tar, application/x-gzip, text/x-csv, image/jpeg, application/x-csv, application/tiff, application/postscript, application/x-tiff, application/vnd.ms-powerpoint, application/vnd.openxmlformats-officedocument.presentationml.presentation, drawing/dwg, application/csv, image/x-bmp, text/pdf, application/vnd.pdf, text/rtf, application/x-zip-compressed, image/svg+xml, drawing/x-dwg, application/rtf, application/x-jpg, application/vnd.oasis.opendocument.text, image/eps, image/heic-sequence, application/dwg, image/jpg, application/x-rar-compressed, image/tiff, application/svg+xml, application/x-rtf, application/x-tif, application/x-autocad, application/jpg, image/x-ms-bmp, image/bmp, image/heif, image/gif, text/svg, text/svg-xml, application/x-dwg, image/webp, application/acad, application/vnd.oasis.opendocument.spreadsheet, application/x-dxf, application/zip, text/x-comma-separated-values, application/eps, image/x-dxf, application/vnd.oasis.opendocument.presentation, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, image/svg.
13952
13847
  """
13953
13848
  file: Upload!
13954
13849
 
@@ -15192,24 +15087,6 @@ type Mutation {
15192
15087
  input: CollectionInput!
15193
15088
  ): CollectionUpdate
15194
15089
 
15195
- """Adds products to a grouped product."""
15196
- groupedProductAddProducts(
15197
- """ID of a grouped product."""
15198
- productId: ID!
15199
-
15200
- """List of product IDs."""
15201
- products: [ID!]!
15202
- ): GroupedProductAddProducts @deprecated(reason: "Grouped product support will be removed on September 27, 2024.")
15203
-
15204
- """Remove products from a grouped product."""
15205
- groupedProductRemoveProducts(
15206
- """ID of a grouped product."""
15207
- productId: ID!
15208
-
15209
- """List of product IDs."""
15210
- products: [ID!]!
15211
- ): GroupedProductRemoveProducts @deprecated(reason: "Grouped product support will be removed on September 27, 2024.")
15212
-
15213
15090
  """Creates a new product."""
15214
15091
  productCreate(
15215
15092
  """Fields required to create a product."""
@@ -17723,9 +17600,6 @@ input MarketplaceConfigurationInput {
17723
17600
  """
17724
17601
  isSellerShippingZoneCreationAllowed: Boolean
17725
17602
 
17726
- """Maximum number of products allowed in a grouped product."""
17727
- maxProductsInGroup: Int @deprecated(reason: "Grouped product support will be removed on September 27, 2024.")
17728
-
17729
17603
  """
17730
17604
  True if marketplace accrues shipping revenue, false if sellers accrue shipping revenue
17731
17605
  """
@@ -20744,20 +20618,6 @@ input CollectionInput {
20744
20618
  publicationDate: Date
20745
20619
  }
20746
20620
 
20747
- """Adds products to a grouped product."""
20748
- type GroupedProductAddProducts {
20749
- """Grouped product to which products will be added."""
20750
- product: Product
20751
- productErrors: [ProductError!]!
20752
- }
20753
-
20754
- """Remove products from a grouped product."""
20755
- type GroupedProductRemoveProducts {
20756
- """Grouped product from which products will be removed."""
20757
- product: Product
20758
- productErrors: [ProductError!]!
20759
- }
20760
-
20761
20621
  """Creates a new product."""
20762
20622
  type ProductCreate {
20763
20623
  productErrors: [ProductError!]!
@@ -20882,9 +20742,6 @@ input ProductCreateInput {
20882
20742
  """
20883
20743
  isPriceOverrideAllowed: Boolean
20884
20744
 
20885
- """Product configuration choice identifier"""
20886
- configuration: Int
20887
-
20888
20745
  """ID of the seller that product belongs to."""
20889
20746
  seller: ID!
20890
20747
 
@@ -25220,6 +25077,9 @@ input StaffCreateInput {
25220
25077
  """List of permission group IDs to which user should be assigned."""
25221
25078
  addGroups: [ID!]
25222
25079
 
25080
+ """ID of the seller to which the staff member belongs."""
25081
+ sellerId: ID
25082
+
25223
25083
  """
25224
25084
  URL of a view where users should be redirected to set the password. URL in RFC 1808 format.
25225
25085
  """
@@ -25272,6 +25132,9 @@ input StaffUpdateInput {
25272
25132
  """List of permission group IDs to which user should be assigned."""
25273
25133
  addGroups: [ID!]
25274
25134
 
25135
+ """ID of the seller to which the staff member belongs."""
25136
+ sellerId: ID
25137
+
25275
25138
  """List of permission group IDs from which user should be unassigned."""
25276
25139
  removeGroups: [ID!]
25277
25140
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.52.0",
3
+ "version": "v1.53.0-1-g6fb07e3c2",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {