@nautical-commerce/graphql-schema 1.67.0-1-gef3e81606 → 1.67.0-11-ga53d923ca

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.
@@ -9115,6 +9115,7 @@ type Policy implements Node & ObjectWithMetadata {
9115
9115
  """The ID of the object"""
9116
9116
  id: ID!
9117
9117
  publicationDate: Date
9118
+ isPublished: Boolean!
9118
9119
  createdAt: DateTime!
9119
9120
  updatedAt: DateTime!
9120
9121
  content: String!
@@ -9132,9 +9133,6 @@ type Policy implements Node & ObjectWithMetadata {
9132
9133
 
9133
9134
  """List of public metadata items. Can be accessed without permissions."""
9134
9135
  metadata: [MetadataItem!]!
9135
-
9136
- """Whether the policy is published."""
9137
- isPublished: Boolean!
9138
9136
  }
9139
9137
 
9140
9138
  """An enumeration."""
@@ -10564,6 +10562,7 @@ type Page implements Node & ObjectWithMetadata {
10564
10562
  """The ID of the object"""
10565
10563
  id: ID!
10566
10564
  publicationDate: Date
10565
+ isPublished: Boolean!
10567
10566
  createdAt: DateTime!
10568
10567
  updatedAt: DateTime!
10569
10568
  content: String!
@@ -10580,9 +10579,6 @@ type Page implements Node & ObjectWithMetadata {
10580
10579
 
10581
10580
  """List of public metadata items. Can be accessed without permissions."""
10582
10581
  metadata: [MetadataItem!]!
10583
-
10584
- """Whether the page is published."""
10585
- isPublished: Boolean!
10586
10582
  image(
10587
10583
  """Featured image for the page."""
10588
10584
  size: Int
@@ -10860,7 +10856,7 @@ type Menu implements Node {
10860
10856
  }
10861
10857
 
10862
10858
  """
10863
- Represents a single item of the related menu. Can store categories, collection or pages.
10859
+ Represents a single item of the related menu. Can store categories, collection, pages, sellers, products, content or policy pages.
10864
10860
  """
10865
10861
  type MenuItem implements Node {
10866
10862
  """The ID of the object"""
@@ -10871,6 +10867,10 @@ type MenuItem implements Node {
10871
10867
  category: Category
10872
10868
  collection: Collection
10873
10869
  page: Page
10870
+ seller: Seller
10871
+ product: Product
10872
+ content: Content
10873
+ policy: Policy
10874
10874
  level: Int!
10875
10875
  children: [MenuItem!]!
10876
10876
 
@@ -10956,7 +10956,9 @@ type MarketplaceConfiguration {
10956
10956
  id: UUID!
10957
10957
  marketplaceName: String!
10958
10958
  requireProductApproval: Boolean!
10959
- requireProductTypes: Boolean!
10959
+
10960
+ """True if products require product types to be created"""
10961
+ requireProductTypes: Boolean @deprecated(reason: "This will be removed on April 15, 2025.")
10960
10962
 
10961
10963
  """Determines payout status transformation strategy"""
10962
10964
  payoutAutomationStrategy: MarketplaceConfigurationPayoutAutomationStrategyEnum
@@ -13203,7 +13205,7 @@ type Mutation {
13203
13205
  description: String
13204
13206
 
13205
13207
  """
13206
- 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/x-zip-compressed, application/x-dwg, text/pdf, application/x-gzip, image/bmp, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/vnd.oasis.opendocument.text, application/x-tiff, application/x-rtf, application/vnd.oasis.opendocument.presentation, application/vnd.ms-word, image/x-dwg, image/x-dxf, application/gzip-compressed, application/x-eps, application/rtf, application/dwg, application/msword, text/svg-xml, image/jpeg, image/x-bmp, application/tif, application/x-acad, image/webp, image/tiff, application/eps, application/gzipped, application/acrobat, drawing/x-dwg, application/x-dxf, application/gzip, image/vnd.dwg, image/gif, image/x-eps, application/jpg, text/x-comma-separated-values, image/svg, text/csv, drawing/x-dwf, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/dxf, image/heif-sequence, application/tiff, application/vnd.oasis.opendocument.spreadsheet, application/x-autocad, image/tif, text/comma-separated-values, text/x-csv, image/x-tif, application/csv, application/x-rar, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/acad, image/heif, image/png, image/jpg, image/x-tiff, drawing/dwg, image/heic-sequence, application/postscript, text/svg, application/vnd.pdf, application/x-csv, application/x-jpg, pplication/vnd.rar, application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/dxf, image/x-ms-bmp, application/vnd.ms-powerpoint, application/svg+xml, text/plain, image/heic, image/svg+xml, text/rtf, image/eps, application/excel, application/x-tif, application/x-pdf, application/x-tar, application/pdf, application/zip, application/x-rar-compressed.
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/x-pdf, application/pdf, image/gif, image/vnd.dwg, drawing/x-dwg, image/x-tif, image/svg, application/x-acad, application/postscript, application/jpg, application/x-tiff, application/vnd.ms-excel, application/excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/x-autocad, image/eps, application/x-rtf, text/x-comma-separated-values, application/x-tif, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/rtf, drawing/x-dwf, image/x-eps, image/svg+xml, application/gzip-compressed, text/comma-separated-values, image/webp, text/svg-xml, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.ms-word, drawing/dwg, application/zip, image/bmp, image/heif-sequence, image/tiff, application/gzipped, application/eps, application/x-dwg, application/vnd.oasis.opendocument.spreadsheet, text/x-pdf, image/x-ms-bmp, text/svg, image/x-dxf, image/tif, image/heic-sequence, image/heic, application/dxf, image/x-dwg, text/x-csv, text/plain, application/tiff, image/x-bmp, application/x-eps, application/vnd.oasis.opendocument.text, pplication/vnd.rar, application/vnd.pdf, image/png, image/x-tiff, application/x-rar-compressed, application/acad, application/x-jpg, text/pdf, application/vnd.ms-powerpoint, image/jpeg, application/gzip, application/x-zip-compressed, application/acrobat, application/tif, image/heif, application/x-gzip, application/svg+xml, application/x-dxf, image/jpg, application/csv, application/vnd.oasis.opendocument.presentation, application/x-csv, application/dwg, application/msword, image/dxf, application/x-rar, text/rtf, application/x-tar, text/csv.
13207
13209
  """
13208
13210
  file: Upload!
13209
13211
 
@@ -15280,7 +15282,7 @@ type Mutation {
15280
15282
  """Creates a new menu item."""
15281
15283
  menuItemCreate(
15282
15284
  """
15283
- Fields required to update a menu item. Only one of `url`, `category`, `page`, `collection` is allowed per item.
15285
+ Fields required to update a menu item. Only one of `url`, `category`, `page`, `collection`, `seller`, `product`, `content`, 'policy` is allowed per item.
15284
15286
  """
15285
15287
  input: MenuItemCreateInput!
15286
15288
  ): MenuItemCreate
@@ -15303,7 +15305,7 @@ type Mutation {
15303
15305
  id: ID!
15304
15306
 
15305
15307
  """
15306
- Fields required to update a menu item. Only one of `url`, `category`, `page`, `collection` is allowed per item.
15308
+ Fields required to update a menu item. Only one of `url`, `category`, `page`, `collection`, `seller`, `product`, `content`, `policy` is allowed per item.
15307
15309
  """
15308
15310
  input: MenuItemInput!
15309
15311
  ): MenuItemUpdate
@@ -16605,7 +16607,7 @@ input MarketplaceConfigurationInput {
16605
16607
  requireProductApproval: Boolean
16606
16608
 
16607
16609
  """True if products require product types to be created"""
16608
- requireProductTypes: Boolean
16610
+ requireProductTypes: Boolean @deprecated(reason: "This will be removed on April 15, 2025.")
16609
16611
 
16610
16612
  """Updates status transformation strategy for payout."""
16611
16613
  payoutAutomationStrategy: MarketplaceConfigurationPayoutAutomationStrategyEnum = null
@@ -21674,6 +21676,18 @@ input MenuItemInput {
21674
21676
 
21675
21677
  """Page to which item points."""
21676
21678
  page: ID
21679
+
21680
+ """Seller to which item points."""
21681
+ seller: ID
21682
+
21683
+ """Product to which item points."""
21684
+ product: ID
21685
+
21686
+ """Storefront contenet page to which item points."""
21687
+ content: ID
21688
+
21689
+ """Policy page to which item points."""
21690
+ policy: ID
21677
21691
  }
21678
21692
 
21679
21693
  """Deletes a menu."""
@@ -21725,6 +21739,18 @@ input MenuItemCreateInput {
21725
21739
  """Page to which item points."""
21726
21740
  page: ID
21727
21741
 
21742
+ """Seller to which item points."""
21743
+ seller: ID
21744
+
21745
+ """Product to which item points."""
21746
+ product: ID
21747
+
21748
+ """Storefront contenet page to which item points."""
21749
+ content: ID
21750
+
21751
+ """Policy page to which item points."""
21752
+ policy: ID
21753
+
21728
21754
  """Menu to which item belongs."""
21729
21755
  menu: ID!
21730
21756
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.67.0-1-gef3e81606",
3
+ "version": "v1.67.0-11-ga53d923ca",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {