@nautical-commerce/graphql-schema 1.57.0-2-g4b47fa800 → 1.57.0-4-g822d26d61

Sign up to get free protection for your applications and to get access to all the features.
@@ -9092,24 +9092,15 @@ type Shop {
9092
9092
  """Whether the marketplace has enabled offer orders."""
9093
9093
  enableOfferOrders: Boolean
9094
9094
 
9095
- """List of the shops's supported languages."""
9096
- languages: [LanguageDisplay!]! @deprecated(reason: "This will be removed on October 29, 2024")
9097
-
9098
9095
  """Shop's name."""
9099
9096
  name: String!
9100
9097
 
9101
- """Shop's navigation."""
9102
- navigation: Navigation @deprecated(reason: "Fetch menus using the `menu` query with `slug` parameter. This will be removed on October 29, 2024.")
9103
-
9104
9098
  """List of available permissions."""
9105
9099
  permissions: [Permission!]!
9106
9100
 
9107
9101
  """List of possible phone prefixes."""
9108
9102
  phonePrefixes: [String!]!
9109
9103
 
9110
- """Header text."""
9111
- headerText: String @deprecated(reason: "This will be removed on October 29, 2024")
9112
-
9113
9104
  """Include taxes in prices."""
9114
9105
  includeTaxesInPrices: Boolean!
9115
9106
 
@@ -9152,11 +9143,6 @@ type Shop {
9152
9143
  """Gets active plugins."""
9153
9144
  activePlugins: [Plugin!]!
9154
9145
 
9155
- """
9156
- None if shop does not use Builder, otherwise this contains Builder public api key.
9157
- """
9158
- builderKey: String @deprecated(reason: "This will be removed on October 29, 2024")
9159
-
9160
9146
  """
9161
9147
  None if shop does not use Crisp, otherwise this contains Crisp Website ID.
9162
9148
  """
@@ -9250,81 +9236,6 @@ type Domain {
9250
9236
  url: String!
9251
9237
  }
9252
9238
 
9253
- type LanguageDisplay {
9254
- """ISO 639 representation of the language name."""
9255
- code: LanguageCodeEnum!
9256
-
9257
- """Full name of the language."""
9258
- language: String!
9259
- }
9260
-
9261
- """Represents shop's navigation menus."""
9262
- type Navigation {
9263
- """Main navigation bar."""
9264
- main: Menu
9265
-
9266
- """Secondary navigation bar."""
9267
- secondary: Menu
9268
- }
9269
-
9270
- """
9271
- Represents a single menu - an object that is used to help navigate through the store.
9272
- """
9273
- type Menu implements Node {
9274
- """The ID of the object"""
9275
- id: ID!
9276
- name: String!
9277
- slug: String!
9278
- items: [MenuItem!]!
9279
- }
9280
-
9281
- """
9282
- Represents a single item of the related menu. Can store categories, collection or pages.
9283
- """
9284
- type MenuItem implements Node {
9285
- """The ID of the object"""
9286
- id: ID!
9287
- menu: Menu!
9288
- name: String!
9289
- parent: MenuItem
9290
- category: Category
9291
- collection: Collection
9292
- page: Page
9293
- level: Int!
9294
- children: [MenuItem!]!
9295
-
9296
- """URL to the menu item."""
9297
- url: String
9298
- }
9299
-
9300
- """
9301
- A static page that can be manually added by a shop operator through the dashboard.
9302
- """
9303
- type Page implements Node & ObjectWithMetadata {
9304
- """The ID of the object"""
9305
- id: ID!
9306
- publicationDate: Date
9307
- createdAt: DateTime!
9308
- updatedAt: DateTime!
9309
- content: String!
9310
- contentHtml: String!
9311
- seoTitle: String
9312
- seoDescription: String
9313
- slug: String!
9314
- title: String!
9315
-
9316
- """
9317
- List of private metadata items.Requires proper staff permissions to access.
9318
- """
9319
- privateMetadata: [MetadataItem!]!
9320
-
9321
- """List of public metadata items. Can be accessed without permissions."""
9322
- metadata: [MetadataItem!]!
9323
-
9324
- """Whether the page is published."""
9325
- isPublished: Boolean!
9326
- }
9327
-
9328
9239
  """Plugin."""
9329
9240
  type Plugin implements Node {
9330
9241
  id: ID!
@@ -11031,6 +10942,34 @@ type PaymentCountableEdge {
11031
10942
  cursor: String!
11032
10943
  }
11033
10944
 
10945
+ """
10946
+ A static page that can be manually added by a shop operator through the dashboard.
10947
+ """
10948
+ type Page implements Node & ObjectWithMetadata {
10949
+ """The ID of the object"""
10950
+ id: ID!
10951
+ publicationDate: Date
10952
+ createdAt: DateTime!
10953
+ updatedAt: DateTime!
10954
+ content: String!
10955
+ contentHtml: String!
10956
+ seoTitle: String
10957
+ seoDescription: String
10958
+ slug: String!
10959
+ title: String!
10960
+
10961
+ """
10962
+ List of private metadata items.Requires proper staff permissions to access.
10963
+ """
10964
+ privateMetadata: [MetadataItem!]!
10965
+
10966
+ """List of public metadata items. Can be accessed without permissions."""
10967
+ metadata: [MetadataItem!]!
10968
+
10969
+ """Whether the page is published."""
10970
+ isPublished: Boolean!
10971
+ }
10972
+
11034
10973
  type PageCountableConnection {
11035
10974
  """Pagination data for this connection."""
11036
10975
  pageInfo: PageInfo!
@@ -11354,6 +11293,36 @@ enum MicrositeSortField {
11354
11293
  PUBLICATION_DATE
11355
11294
  }
11356
11295
 
11296
+ """
11297
+ Represents a single menu - an object that is used to help navigate through the store.
11298
+ """
11299
+ type Menu implements Node {
11300
+ """The ID of the object"""
11301
+ id: ID!
11302
+ name: String!
11303
+ slug: String!
11304
+ items: [MenuItem!]!
11305
+ }
11306
+
11307
+ """
11308
+ Represents a single item of the related menu. Can store categories, collection or pages.
11309
+ """
11310
+ type MenuItem implements Node {
11311
+ """The ID of the object"""
11312
+ id: ID!
11313
+ menu: Menu!
11314
+ name: String!
11315
+ parent: MenuItem
11316
+ category: Category
11317
+ collection: Collection
11318
+ page: Page
11319
+ level: Int!
11320
+ children: [MenuItem!]!
11321
+
11322
+ """URL to the menu item."""
11323
+ url: String
11324
+ }
11325
+
11357
11326
  type MenuCountableConnection {
11358
11327
  """Pagination data for this connection."""
11359
11328
  pageInfo: PageInfo!
@@ -13880,7 +13849,7 @@ type Mutation {
13880
13849
  description: String
13881
13850
 
13882
13851
  """
13883
- Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: drawing/dwg, image/vnd.dwg, application/dwg, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/rtf, application/x-zip-compressed, image/x-eps, application/pdf, application/excel, application/postscript, text/rtf, image/jpg, application/jpg, text/svg-xml, application/vnd.oasis.opendocument.text, text/plain, application/x-rar, drawing/x-dwg, pplication/vnd.rar, text/x-pdf, text/x-csv, image/gif, image/x-bmp, image/heic-sequence, application/svg+xml, application/vnd.ms-excel, application/vnd.pdf, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/vnd.oasis.opendocument.spreadsheet, text/svg, application/zip, application/vnd.ms-powerpoint, application/dxf, image/tif, image/x-tif, application/x-rtf, text/comma-separated-values, application/x-dwg, image/eps, application/x-acad, image/x-ms-bmp, application/x-gzip, image/svg, application/x-tif, application/csv, application/x-csv, application/vnd.openxmlformats-officedocument.presentationml.presentation, image/jpeg, image/png, application/tif, drawing/x-dwf, image/webp, application/x-eps, image/svg+xml, text/pdf, application/vnd.oasis.opendocument.presentation, image/heif-sequence, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/x-tiff, image/heic, application/gzip-compressed, image/x-tiff, text/x-comma-separated-values, application/gzip, image/x-dxf, application/msword, image/bmp, image/x-dwg, application/acad, application/x-rar-compressed, application/x-jpg, application/x-tar, application/tiff, image/heif, application/x-autocad, application/eps, text/csv, application/gzipped, application/vnd.ms-word, application/acrobat, image/tiff, application/x-pdf, application/x-dxf, image/dxf.
13852
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/pdf, image/x-eps, application/dxf, image/bmp, image/dxf, image/eps, image/heic, image/tiff, application/svg+xml, application/postscript, application/x-autocad, text/pdf, application/x-rtf, text/x-comma-separated-values, text/svg-xml, image/x-tif, application/vnd.oasis.opendocument.text, image/gif, application/rtf, text/plain, application/x-dxf, application/vnd.ms-excel, application/gzipped, application/x-gzip, pplication/vnd.rar, image/x-bmp, application/jpg, application/x-rar, image/heic-sequence, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/csv, application/x-tif, image/x-dxf, image/vnd.dwg, application/vnd.pdf, application/vnd.oasis.opendocument.spreadsheet, application/x-eps, image/jpeg, application/x-tar, application/msword, application/x-jpg, image/png, image/heif, text/svg, image/svg, application/vnd.ms-powerpoint, application/x-dwg, drawing/x-dwg, text/x-csv, text/x-pdf, application/eps, text/rtf, application/tiff, application/tif, application/gzip, application/acad, drawing/dwg, text/comma-separated-values, application/acrobat, image/tif, text/csv, application/vnd.oasis.opendocument.presentation, image/webp, application/x-pdf, image/x-tiff, application/x-acad, application/x-csv, application/x-zip-compressed, application/dwg, application/zip, application/gzip-compressed, application/vnd.openxmlformats-officedocument.wordprocessingml.document, drawing/x-dwf, image/x-ms-bmp, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/excel, image/svg+xml, application/x-tiff, image/x-dwg, application/x-rar-compressed, image/jpg, application/vnd.ms-word, image/heif-sequence.
13884
13853
  """
13885
13854
  file: Upload!
13886
13855
 
@@ -16135,15 +16104,6 @@ type Mutation {
16135
16104
  input: [MetadataInput!]!
16136
16105
  ): PrivateMetadataUpdate
16137
16106
 
16138
- """Assigns storefront's navigation menus."""
16139
- assignNavigation(
16140
- """ID of the menu."""
16141
- menu: ID
16142
-
16143
- """Type of the navigation bar to assign the menu to."""
16144
- navigationType: NavigationType!
16145
- ): AssignNavigation @deprecated(reason: "This will be removed on October 29, 2024")
16146
-
16147
16107
  """Creates a new Menu."""
16148
16108
  menuCreate(
16149
16109
  """Fields required to create a menu."""
@@ -23059,11 +23019,10 @@ type PrivateMetadataUpdate {
23059
23019
  item: ObjectWithMetadata
23060
23020
  }
23061
23021
 
23062
- """Assigns storefront's navigation menus."""
23063
- type AssignNavigation {
23064
- """Assigned navigation menu."""
23065
- menu: Menu
23022
+ """Creates a new Menu."""
23023
+ type MenuCreate {
23066
23024
  menuErrors: [MenuError!]!
23025
+ menu: Menu
23067
23026
  }
23068
23027
 
23069
23028
  type MenuError {
@@ -23092,20 +23051,6 @@ enum MenuErrorCode {
23092
23051
  UNIQUE
23093
23052
  }
23094
23053
 
23095
- enum NavigationType {
23096
- """Main storefront navigation."""
23097
- MAIN
23098
-
23099
- """Secondary storefront navigation."""
23100
- SECONDARY
23101
- }
23102
-
23103
- """Creates a new Menu."""
23104
- type MenuCreate {
23105
- menuErrors: [MenuError!]!
23106
- menu: Menu
23107
- }
23108
-
23109
23054
  input MenuCreateInput {
23110
23055
  """Name of the menu."""
23111
23056
  name: String!
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.57.0-2-g4b47fa800",
3
+ "version": "v1.57.0-4-g822d26d61",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {