@nautical-commerce/graphql-schema 1.66.0-9-gb2c792c73 → 1.66.1

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.
@@ -499,36 +499,6 @@ type Query {
499
499
  last: Int
500
500
  ): RefundCountableConnection
501
501
 
502
- """Look up a policy by ID or slug."""
503
- policy(
504
- """ID of the policy."""
505
- id: ID
506
-
507
- """The slug of the policy."""
508
- slug: String
509
- ): Policy
510
-
511
- """List of the shop's policies."""
512
- policies(
513
- """Sort policies."""
514
- sortBy: PolicySortingInput
515
-
516
- """Filtering options for policies."""
517
- filter: PolicyFilterInput
518
-
519
- """Return the elements in the list that come before the specified cursor."""
520
- before: String
521
-
522
- """Return the elements in the list that come after the specified cursor."""
523
- after: String
524
-
525
- """Return the first n elements from the list."""
526
- first: Int
527
-
528
- """Return the last n elements from the list."""
529
- last: Int
530
- ): PolicyCountableConnection
531
-
532
502
  """Look up digital content by ID."""
533
503
  digitalContent(
534
504
  """ID of the digital content."""
@@ -641,6 +611,9 @@ type Query {
641
611
  """
642
612
  identifier: ID
643
613
 
614
+ """Microsite ID to filter by"""
615
+ microsite: ID
616
+
644
617
  """Return the elements in the list that come before the specified cursor."""
645
618
  before: String
646
619
 
@@ -1468,6 +1441,42 @@ type Query {
1468
1441
  """Return all nautical configuration items"""
1469
1442
  nauticalConfigurationList: [NauticalConfiguration!]
1470
1443
 
1444
+ """Look up a microsite by ID or slug"""
1445
+ microsite(
1446
+ """ID of the microsite."""
1447
+ id: ID
1448
+
1449
+ """Slug of the microsite"""
1450
+ slug: String
1451
+ ): Microsite @deprecated(reason: "Microsites will be removed on January 2, 2025.")
1452
+
1453
+ """List of microsites"""
1454
+ microsites(
1455
+ """Filtering options for microsites"""
1456
+ filter: MicrositeFilterInput
1457
+
1458
+ """Sort microsites"""
1459
+ sortBy: MicrositeSortingInput
1460
+
1461
+ """Return the elements in the list that come before the specified cursor."""
1462
+ before: String
1463
+
1464
+ """Return the elements in the list that come after the specified cursor."""
1465
+ after: String
1466
+
1467
+ """Return the first n elements from the list."""
1468
+ first: Int
1469
+
1470
+ """Return the last n elements from the list."""
1471
+ last: Int
1472
+ ): MicrositeCountableConnection @deprecated(reason: "Microsites will be removed on January 2, 2025.")
1473
+
1474
+ """Look up microsite by vendor ID"""
1475
+ vendorMicrosite(
1476
+ """ID of vendor to fetch microsite for."""
1477
+ id: ID!
1478
+ ): Microsite @deprecated(reason: "Microsites will be removed on January 2, 2025.")
1479
+
1471
1480
  """Look up a navigation menu by ID or name."""
1472
1481
  menu(
1473
1482
  """ID of the menu."""
@@ -1563,14 +1572,14 @@ type Query {
1563
1572
 
1564
1573
  """End of the period to filter results"""
1565
1574
  endDate: Date!
1566
- ): InReportOrderCustomerSummaryType @deprecated(reason: "This will be removed on April 13, 2025.")
1575
+ ): InReportOrderCustomerSummaryType
1567
1576
  insightsOrdersSellerSummary(
1568
1577
  """Beginning of the period to filter results"""
1569
1578
  startDate: Date!
1570
1579
 
1571
1580
  """End of the period to filter results"""
1572
1581
  endDate: Date!
1573
- ): InReportOrderSellerSummaryType @deprecated(reason: "This will be removed on April 13, 2025.")
1582
+ ): InReportOrderSellerSummaryType
1574
1583
  insightsOrdersMarketplaceSummary(
1575
1584
  """Beginning of the period to filter results"""
1576
1585
  startDate: Date!
@@ -1580,14 +1589,14 @@ type Query {
1580
1589
 
1581
1590
  """Period dimension such as DAY, WEEK, MONTH, QUARTER, YEAR"""
1582
1591
  dimension: InsightDimensionEnum = MONTH
1583
- ): InReportOrderMarketplaceSummaryType @deprecated(reason: "This will be removed on April 13, 2025.")
1592
+ ): InReportOrderMarketplaceSummaryType
1584
1593
  insightsMarketplacePayoutsSummary(
1585
1594
  """Beginning of the period to filter results"""
1586
1595
  startDate: Date!
1587
1596
 
1588
1597
  """End of the period to filter results"""
1589
1598
  endDate: Date!
1590
- ): InReportMarketplacePayoutsSummaryType @deprecated(reason: "This will be removed on April 13, 2025.")
1599
+ ): InReportMarketplacePayoutsSummaryType
1591
1600
  insightsMarketplaceTaxSummary(
1592
1601
  """Beginning of the period to filter results"""
1593
1602
  startDate: Date!
@@ -1597,21 +1606,21 @@ type Query {
1597
1606
 
1598
1607
  """Period dimension such as DAY, WEEK, MONTH, QUARTER, YEAR"""
1599
1608
  dimension: InsightDimensionEnum = YEAR
1600
- ): InReportMarketplaceTaxSummaryType @deprecated(reason: "This will be removed on April 13, 2025.")
1609
+ ): InReportMarketplaceTaxSummaryType
1601
1610
  insightsMarketplaceTaxesByCountry(
1602
1611
  """Beginning of the period to filter results"""
1603
1612
  startDate: Date!
1604
1613
 
1605
1614
  """End of the period to filter results"""
1606
1615
  endDate: Date!
1607
- ): InReportMarketplaceTaxesByCountryType @deprecated(reason: "This will be removed on April 13, 2025.")
1616
+ ): InReportMarketplaceTaxesByCountryType
1608
1617
  insightsMarketplaceTaxesByCountryArea(
1609
1618
  """Beginning of the period to filter results"""
1610
1619
  startDate: Date!
1611
1620
 
1612
1621
  """End of the period to filter results"""
1613
1622
  endDate: Date!
1614
- ): InReportMarketplaceTaxesByCountryType @deprecated(reason: "This will be removed on April 13, 2025.")
1623
+ ): InReportMarketplaceTaxesByCountryType
1615
1624
  insightsTopPerformingProducts(
1616
1625
  """Beginning of the period to filter results"""
1617
1626
  startDate: Date!
@@ -1656,7 +1665,7 @@ type Query {
1656
1665
 
1657
1666
  """Period dimension such as DAY, WEEK, MONTH, QUARTER, YEAR"""
1658
1667
  dimension: InsightDimensionEnum = DAY
1659
- ): InReportMarketplacePaymentsSummaryType @deprecated(reason: "This will be removed on April 13, 2025.")
1668
+ ): InReportMarketplacePaymentsSummaryType
1660
1669
  dashboardOrdersSummary(
1661
1670
  """ID of seller for filtering"""
1662
1671
  identifier: ID
@@ -1969,14 +1978,6 @@ type Query {
1969
1978
  id: ID!
1970
1979
  ): App
1971
1980
 
1972
- """Dashboard integrations for the given contexts"""
1973
- dashboardUiIntegrations(
1974
- """
1975
- Contexts that integrations should be filtered to. If not specified, all contexts will be returned.
1976
- """
1977
- contexts: [AppDashboardIntegrationContextEnum!]
1978
- ): [AppDashboardIntegration!]!
1979
-
1980
1981
  """Look up a marketplace agreement by ID or slug."""
1981
1982
  agreement(
1982
1983
  """ID of the marketplace agreement."""
@@ -3103,7 +3104,7 @@ type Product implements Node & ObjectWithMetadata {
3103
3104
  isAvailableForPurchase: Boolean
3104
3105
 
3105
3106
  """
3106
- Product sort order in the specific collection. Make sense only as a part of the parent 'collection(s)' queries.
3107
+ Product sort order in the specific collection or in microsite. Make sense only as a part of the parent 'collection(s)' or 'microsite(s)' queries.
3107
3108
  """
3108
3109
  sortOrder: Int
3109
3110
 
@@ -3208,6 +3209,9 @@ type Seller implements Node & ObjectWithMetadata {
3208
3209
  """Date seller acknowledged their existing agreement."""
3209
3210
  agreementAcknowledged: DateTime
3210
3211
  canUseInStorefront: Boolean
3212
+
3213
+ """Microsite of the seller."""
3214
+ microsite: Microsite
3211
3215
  pk: Int
3212
3216
  externalPayoutStatus: Boolean
3213
3217
  externalPayoutSchedule: String
@@ -4586,6 +4590,7 @@ input AttributeFilterInput {
4586
4590
  inCollection: ID
4587
4591
  inProductSearch: String
4588
4592
  inVariantSearch: String
4593
+ inMicrosite: ID
4589
4594
  inCategory: ID
4590
4595
 
4591
4596
  """
@@ -4703,9 +4708,6 @@ type App implements Node & ObjectWithMetadata {
4703
4708
  """Type of the app."""
4704
4709
  type: AppTypeEnum
4705
4710
 
4706
- """List of dashboard integrations for this app"""
4707
- dashboardIntegrations: [AppDashboardIntegration!]
4708
-
4709
4711
  """List of storefront integrations for this app"""
4710
4712
  storefrontIntegrations: [AppStorefrontIntegration!]
4711
4713
 
@@ -4802,31 +4804,6 @@ enum AppTypeEnum {
4802
4804
  THIRDPARTY
4803
4805
  }
4804
4806
 
4805
- """Represents a dashboard integration for an App."""
4806
- type AppDashboardIntegration implements Node {
4807
- """The ID of the object"""
4808
- id: ID!
4809
-
4810
- """
4811
- App this integration is for. This may be null for integrations that come from plugins.
4812
- """
4813
- app: App
4814
-
4815
- """What context this integration should be rendered in"""
4816
- context: AppDashboardIntegrationContextEnum!
4817
-
4818
- """The URL to load for this integration"""
4819
- iframeUrl: String!
4820
- }
4821
-
4822
- enum AppDashboardIntegrationContextEnum {
4823
- """Nautical order details page"""
4824
- NAUTICAL_ORDER
4825
-
4826
- """Seller order details page"""
4827
- ORDER
4828
- }
4829
-
4830
4807
  """Represents a storefront integration for an App."""
4831
4808
  type AppStorefrontIntegration implements Node {
4832
4809
  """The ID of the object"""
@@ -4902,6 +4879,8 @@ enum WebhookEventTypeEnum {
4902
4879
  INVOICE_DELETED
4903
4880
  INVOICE_REQUESTED
4904
4881
  INVOICE_SENT
4882
+ MICROSITE_CREATED
4883
+ MICROSITE_UPDATED
4905
4884
  NAUTICAL_ORDER_CANCELLED
4906
4885
  NAUTICAL_ORDER_CREATED
4907
4886
  NAUTICAL_ORDER_FULFILLED
@@ -7182,6 +7161,61 @@ type WarehouseCountableEdge {
7182
7161
  cursor: String!
7183
7162
  }
7184
7163
 
7164
+ """Represents a microsite of products."""
7165
+ type Microsite implements Node & ObjectWithMetadata {
7166
+ """The ID of the object"""
7167
+ id: ID!
7168
+ publicationDate: Date
7169
+ description: String!
7170
+ descriptionHtml: String!
7171
+ seoTitle: String
7172
+ seoDescription: String
7173
+ name: String!
7174
+ slug: String!
7175
+ footerText: String
7176
+ seller: Seller
7177
+
7178
+ """
7179
+ List of private metadata items.Requires proper staff permissions to access.
7180
+ """
7181
+ privateMetadata: [MetadataItem!]!
7182
+
7183
+ """List of public metadata items. Can be accessed without permissions."""
7184
+ metadata: [MetadataItem!]!
7185
+
7186
+ """List of products in this microsite."""
7187
+ products(
7188
+ """Filtering options for products."""
7189
+ filter: ProductFilterInput
7190
+
7191
+ """Sort products."""
7192
+ sortBy: ProductOrder
7193
+
7194
+ """Return the elements in the list that come before the specified cursor."""
7195
+ before: String
7196
+
7197
+ """Return the elements in the list that come after the specified cursor."""
7198
+ after: String
7199
+
7200
+ """Return the first n elements from the list."""
7201
+ first: Int
7202
+
7203
+ """Return the last n elements from the list."""
7204
+ last: Int
7205
+ ): ProductCountableConnection
7206
+ bannerImage(
7207
+ """Size of the image."""
7208
+ size: Int
7209
+ ): Image
7210
+ logoImage(
7211
+ """Size of the image."""
7212
+ size: Int
7213
+ ): Image
7214
+
7215
+ """Whether the microsite is published."""
7216
+ isPublished: Boolean!
7217
+ }
7218
+
7185
7219
  """Document"""
7186
7220
  type Document {
7187
7221
  """Global ID of the Document."""
@@ -8096,6 +8130,8 @@ enum WebhookSampleEventTypeEnum {
8096
8130
  INVOICE_DELETED
8097
8131
  INVOICE_REQUESTED
8098
8132
  INVOICE_SENT
8133
+ MICROSITE_CREATED
8134
+ MICROSITE_UPDATED
8099
8135
  NAUTICAL_ORDER_CANCELLED
8100
8136
  NAUTICAL_ORDER_CREATED
8101
8137
  NAUTICAL_ORDER_FULFILLED
@@ -9114,100 +9150,6 @@ enum RefundSortField {
9114
9150
  TOKEN
9115
9151
  }
9116
9152
 
9117
- """
9118
- A policy that can be manually added by a shop operator through the dashboard.
9119
- """
9120
- type Policy implements Node & ObjectWithMetadata {
9121
- """The ID of the object"""
9122
- id: ID!
9123
- publicationDate: Date
9124
- createdAt: DateTime!
9125
- updatedAt: DateTime!
9126
- content: String!
9127
- contentHtml: String!
9128
- seoTitle: String
9129
- seoDescription: String
9130
- category: PolicyCategory!
9131
- slug: String!
9132
- title: String!
9133
-
9134
- """
9135
- List of private metadata items.Requires proper staff permissions to access.
9136
- """
9137
- privateMetadata: [MetadataItem!]!
9138
-
9139
- """List of public metadata items. Can be accessed without permissions."""
9140
- metadata: [MetadataItem!]!
9141
-
9142
- """Whether the policy is published."""
9143
- isPublished: Boolean!
9144
- }
9145
-
9146
- """An enumeration."""
9147
- enum PolicyCategory {
9148
- """Terms of Service"""
9149
- TERMS_OF_SERVICE
9150
-
9151
- """Privacy Policy"""
9152
- PRIVACY_POLICY
9153
-
9154
- """Returns & Refund"""
9155
- RETURNS_AND_REFUNDS
9156
-
9157
- """Shipping Policy"""
9158
- SHIPPING_POLICY
9159
-
9160
- """Custom"""
9161
- CUSTOM
9162
- }
9163
-
9164
- type PolicyCountableConnection {
9165
- """Pagination data for this connection."""
9166
- pageInfo: PageInfo!
9167
- edges: [PolicyCountableEdge!]!
9168
-
9169
- """A total count of items in the collection."""
9170
- totalCount: Int
9171
- }
9172
-
9173
- type PolicyCountableEdge {
9174
- """The item at the end of the edge."""
9175
- node: Policy!
9176
-
9177
- """A cursor for use in pagination."""
9178
- cursor: String!
9179
- }
9180
-
9181
- input PolicySortingInput {
9182
- """Specifies the direction in which to sort products."""
9183
- direction: OrderDirection!
9184
-
9185
- """Sort policies by the selected field."""
9186
- field: PolicySortField!
9187
- }
9188
-
9189
- enum PolicySortField {
9190
- """Sort policies by title."""
9191
- TITLE
9192
-
9193
- """Sort policies by slug."""
9194
- SLUG
9195
-
9196
- """Sort policies by visibility."""
9197
- VISIBILITY
9198
-
9199
- """Sort policies by creation date."""
9200
- CREATION_DATE
9201
-
9202
- """Sort policies by publication date."""
9203
- PUBLICATION_DATE
9204
- }
9205
-
9206
- input PolicyFilterInput {
9207
- search: String
9208
- isPublished: Boolean
9209
- }
9210
-
9211
9153
  type DigitalContentCountableConnection {
9212
9154
  """Pagination data for this connection."""
9213
9155
  pageInfo: PageInfo!
@@ -10854,6 +10796,58 @@ type NauticalConfiguration {
10854
10796
  configurationValueString: String
10855
10797
  }
10856
10798
 
10799
+ type MicrositeCountableConnection {
10800
+ """Pagination data for this connection."""
10801
+ pageInfo: PageInfo!
10802
+ edges: [MicrositeCountableEdge!]!
10803
+
10804
+ """A total count of items in the collection."""
10805
+ totalCount: Int
10806
+ }
10807
+
10808
+ type MicrositeCountableEdge {
10809
+ """The item at the end of the edge."""
10810
+ node: Microsite!
10811
+
10812
+ """A cursor for use in pagination."""
10813
+ cursor: String!
10814
+ }
10815
+
10816
+ input MicrositeFilterInput {
10817
+ published: MicrositePublished
10818
+ search: String
10819
+ ids: [ID]
10820
+ metadata: MetadataFilterInput
10821
+ privateMetadata: MetadataFilterInput
10822
+ }
10823
+
10824
+ enum MicrositePublished {
10825
+ PUBLISHED
10826
+ HIDDEN
10827
+ }
10828
+
10829
+ input MicrositeSortingInput {
10830
+ """Specifies the direction in which to sort products."""
10831
+ direction: OrderDirection!
10832
+
10833
+ """Sort microsites by the selected field."""
10834
+ field: MicrositeSortField!
10835
+ }
10836
+
10837
+ enum MicrositeSortField {
10838
+ """Sort microsites by name."""
10839
+ NAME
10840
+
10841
+ """Sort microsites by availability."""
10842
+ AVAILABILITY
10843
+
10844
+ """Sort microsites by product count."""
10845
+ PRODUCT_COUNT
10846
+
10847
+ """Sort microsites by publication date."""
10848
+ PUBLICATION_DATE
10849
+ }
10850
+
10857
10851
  """
10858
10852
  Represents a single menu - an object that is used to help navigate through the store.
10859
10853
  """
@@ -13175,7 +13169,7 @@ enum StaffMemberStatus {
13175
13169
  DEACTIVATED
13176
13170
  }
13177
13171
 
13178
- union _Entity = WishlistItem | Wishlist | User | Address | ProductVariant | Product | Category | ProductType | App | Collection | ProductImage | ProductStatusLog | Group | CatalogImportProcess | CatalogImportProcessLogRecord
13172
+ union _Entity = WishlistItem | Wishlist | User | Address | ProductVariant | Product | Category | ProductType | App | Collection | Microsite | ProductImage | ProductStatusLog | Group | CatalogImportProcess | CatalogImportProcessLogRecord
13179
13173
 
13180
13174
  scalar _Any
13181
13175
 
@@ -13209,7 +13203,7 @@ type Mutation {
13209
13203
  description: String
13210
13204
 
13211
13205
  """
13212
- Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: image/x-dxf, application/x-acad, image/png, image/heif-sequence, image/dxf, application/x-eps, application/rtf, text/x-pdf, application/gzipped, application/postscript, application/x-rar-compressed, application/x-zip-compressed, application/vnd.ms-word, application/tif, application/x-dxf, image/bmp, application/x-csv, application/x-rar, application/x-dwg, application/vnd.openxmlformats-officedocument.presentationml.slideshow, image/x-eps, drawing/x-dwg, image/heif, application/x-rtf, image/heic-sequence, application/eps, application/gzip, application/vnd.oasis.opendocument.presentation, application/dwg, text/x-comma-separated-values, application/dxf, image/svg, image/x-dwg, application/x-tar, image/svg+xml, drawing/x-dwf, text/pdf, text/x-csv, image/jpeg, image/x-tif, text/svg-xml, application/x-tif, image/x-bmp, application/jpg, image/tiff, application/zip, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/gif, application/vnd.pdf, text/rtf, image/x-tiff, image/x-ms-bmp, image/eps, application/x-gzip, image/vnd.dwg, application/acrobat, application/msword, application/vnd.oasis.opendocument.text, image/heic, application/gzip-compressed, application/x-pdf, application/x-jpg, application/pdf, image/tif, application/vnd.openxmlformats-officedocument.presentationml.presentation, text/comma-separated-values, application/excel, application/vnd.ms-powerpoint, image/webp, text/csv, application/tiff, image/jpg, text/svg, application/vnd.ms-excel, text/plain, application/x-autocad, drawing/dwg, application/svg+xml, application/x-tiff, application/csv, application/acad, pplication/vnd.rar, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.oasis.opendocument.spreadsheet.
13206
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/vnd.openxmlformats-officedocument.presentationml.presentation, drawing/x-dwf, image/x-ms-bmp, image/vnd.dwg, text/x-csv, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/x-csv, application/x-dxf, image/x-dxf, application/dwg, application/x-zip-compressed, image/x-eps, drawing/x-dwg, application/x-tar, image/x-tif, text/pdf, application/x-eps, image/jpeg, application/vnd.ms-word, application/gzip, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/jpg, pplication/vnd.rar, application/x-acad, text/plain, image/svg+xml, application/rtf, application/svg+xml, image/svg, application/x-rtf, text/svg-xml, image/tif, application/tif, application/vnd.oasis.opendocument.text, application/eps, application/gzip-compressed, application/x-gzip, application/postscript, application/msword, application/gzipped, text/csv, application/jpg, application/x-dwg, application/x-rar, application/tiff, image/x-bmp, drawing/dwg, application/dxf, image/heic-sequence, application/acad, application/vnd.ms-powerpoint, application/vnd.oasis.opendocument.spreadsheet, image/png, application/zip, image/dxf, application/vnd.pdf, application/excel, text/comma-separated-values, image/heif, text/rtf, application/x-pdf, text/svg, image/heif-sequence, text/x-pdf, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.oasis.opendocument.presentation, application/csv, application/x-tiff, image/eps, image/bmp, application/pdf, image/gif, application/x-tif, text/x-comma-separated-values, application/acrobat, application/x-jpg, image/x-tiff, application/vnd.ms-excel, application/x-rar-compressed, image/heic, application/x-autocad, image/webp, image/x-dwg, image/tiff.
13213
13207
  """
13214
13208
  file: Upload!
13215
13209
 
@@ -13477,6 +13471,69 @@ type Mutation {
13477
13471
  wishlistId: ID
13478
13472
  ): WishlistRemoveProductVariant
13479
13473
 
13474
+ """Adds products to a microsite."""
13475
+ micrositeAddProducts(
13476
+ """ID of a microsite."""
13477
+ micrositeId: ID!
13478
+
13479
+ """List of product IDs."""
13480
+ products: [ID!]!
13481
+ ): MicrositeAddProducts @deprecated(reason: "Microsites will be removed on January 2, 2025.")
13482
+
13483
+ """Creates a new microsite."""
13484
+ micrositeCreate(
13485
+ """Fields required to create a microsite."""
13486
+ input: MicrositeCreateInput!
13487
+ ): MicrositeCreate @deprecated(reason: "Microsites will be removed on January 2, 2025.")
13488
+
13489
+ """Deletes a microsite."""
13490
+ micrositeDelete(
13491
+ """ID of a microsite to delete."""
13492
+ id: ID!
13493
+ ): MicrositeDelete @deprecated(reason: "Microsites will be removed on January 2, 2025.")
13494
+
13495
+ """Reorder the products of a microsite."""
13496
+ micrositeReorderProducts(
13497
+ """ID of a microsite."""
13498
+ micrositeId: ID!
13499
+
13500
+ """The microsite products position operations."""
13501
+ moves: [MoveProductInput!]!
13502
+ ): MicrositeReorderProducts @deprecated(reason: "Microsites will be removed on January 2, 2025.")
13503
+
13504
+ """Deletes microsites."""
13505
+ micrositeBulkDelete(
13506
+ """List of microsite IDs to delete."""
13507
+ ids: [ID!]!
13508
+ ): MicrositeBulkDelete @deprecated(reason: "Microsites will be removed on January 2, 2025.")
13509
+
13510
+ """Publish microsites."""
13511
+ micrositeBulkPublish(
13512
+ """List of microsites IDs to (un)publish."""
13513
+ ids: [ID!]!
13514
+
13515
+ """Determine if microsites will be published or not."""
13516
+ isPublished: Boolean!
13517
+ ): MicrositeBulkPublish @deprecated(reason: "Microsites will be removed on January 2, 2025.")
13518
+
13519
+ """Remove products from a microsite."""
13520
+ micrositeRemoveProducts(
13521
+ """ID of a microsite."""
13522
+ micrositeId: ID!
13523
+
13524
+ """List of product IDs."""
13525
+ products: [ID!]!
13526
+ ): MicrositeRemoveProducts @deprecated(reason: "Microsites will be removed on January 2, 2025.")
13527
+
13528
+ """Updates a microsite."""
13529
+ micrositeUpdate(
13530
+ """ID of a microsite to update."""
13531
+ id: ID!
13532
+
13533
+ """Fields required to update a microsite."""
13534
+ input: MicrositeInput!
13535
+ ): MicrositeUpdate @deprecated(reason: "Microsites will be removed on January 2, 2025.")
13536
+
13480
13537
  """Creates a new agreement."""
13481
13538
  agreementCreate(
13482
13539
  """Fields required to create a agreement."""
@@ -14017,42 +14074,6 @@ type Mutation {
14017
14074
  refundId: ID!
14018
14075
  ): RefundPaymentsDelete
14019
14076
 
14020
- """Creates a new policy."""
14021
- policyCreate(
14022
- """Fields required to create a policy."""
14023
- input: PolicyInput!
14024
- ): PolicyCreate
14025
-
14026
- """Deletes a policy."""
14027
- policyDelete(
14028
- """ID of the policy to delete."""
14029
- id: ID!
14030
- ): PolicyDelete
14031
-
14032
- """Deletes policy."""
14033
- policyBulkDelete(
14034
- """List of policy IDs to delete."""
14035
- ids: [ID!]!
14036
- ): PolicyBulkDelete
14037
-
14038
- """Publish policy."""
14039
- policyBulkPublish(
14040
- """List of policy IDs to (un)publish."""
14041
- ids: [ID!]!
14042
-
14043
- """Determine if policy will be published or not."""
14044
- isPublished: Boolean!
14045
- ): PolicyBulkPublish
14046
-
14047
- """Updates an existing policy."""
14048
- policyUpdate(
14049
- """ID of the policy to update."""
14050
- id: ID!
14051
-
14052
- """Fields required to update a policy."""
14053
- input: PolicyInput!
14054
- ): PolicyUpdate
14055
-
14056
14077
  """Creates a new price book."""
14057
14078
  priceBookCreate(
14058
14079
  """Fields required to create a price book."""
@@ -16009,18 +16030,6 @@ type Mutation {
16009
16030
  token: String!
16010
16031
  ): AppTokenVerify
16011
16032
 
16012
- """Creates a new dashboard integration for an app."""
16013
- appDashboardIntegrationCreate(
16014
- """Fields required to create a dashboard integration."""
16015
- input: AppDashboardIntegrationInput!
16016
- ): AppDashboardIntegrationCreate
16017
-
16018
- """Deletes an app storefront integration from the app."""
16019
- appDashboardIntegrationDelete(
16020
- """ID of a app dashboard integration to delete."""
16021
- id: ID!
16022
- ): AppDashboardIntegrationDelete
16023
-
16024
16033
  """Creates a new storefront integration for an app."""
16025
16034
  appStorefrontIntegrationCreate(
16026
16035
  """Fields required to create a storefront integration."""
@@ -17024,6 +17033,200 @@ type WishlistRemoveProductVariant {
17024
17033
  wishlistErrors: [WishlistError!]!
17025
17034
  }
17026
17035
 
17036
+ """Adds products to a microsite."""
17037
+ type MicrositeAddProducts {
17038
+ """Microsite to which products will be added."""
17039
+ microsite: Microsite
17040
+ micrositeErrors: [ProductError!]!
17041
+ }
17042
+
17043
+ type ProductError {
17044
+ """
17045
+ Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field.
17046
+ """
17047
+ field: String
17048
+
17049
+ """The error message."""
17050
+ message: String!
17051
+
17052
+ """The error code."""
17053
+ code: ProductErrorCode!
17054
+
17055
+ """List of attributes IDs which causes the error."""
17056
+ attributes: [ID!]
17057
+ }
17058
+
17059
+ """An enumeration."""
17060
+ enum ProductErrorCode {
17061
+ ALREADY_EXISTS
17062
+ ATTRIBUTE_ALREADY_ASSIGNED
17063
+ ATTRIBUTE_CANNOT_BE_ASSIGNED
17064
+ ATTRIBUTE_VARIANTS_DISABLED
17065
+ DUPLICATED_INPUT_ITEM
17066
+ GRAPHQL_ERROR
17067
+ INVALID
17068
+ INVALID_PHONE
17069
+ NOT_PRODUCTS_IMAGE
17070
+ NOT_PRODUCTS_VARIANT
17071
+ NOT_FOUND
17072
+ REQUIRED
17073
+ UNIQUE
17074
+ VARIANT_NO_DIGITAL_CONTENT
17075
+ VARIANT_IN_ACTIVE_ORDER
17076
+ CATEGORY_CANNOT_BE_ASSIGNED
17077
+ CATEGORY_CANNOT_BE_DELETED
17078
+ COLLECTION_CANNOT_BE_CHANGED
17079
+ COLLECTION_ALLOWED_FOR_PRODUCTS_ONLY
17080
+ COLLECTION_ALLOWED_FOR_VARIANTS_ONLY
17081
+ INVENTORY_FIELD_CANNOT_BE_EDITED
17082
+ }
17083
+
17084
+ """Creates a new microsite."""
17085
+ type MicrositeCreate {
17086
+ micrositeErrors: [ProductError!]!
17087
+ microsite: Microsite
17088
+ }
17089
+
17090
+ input MicrositeCreateInput {
17091
+ """Informs whether a microsite is published."""
17092
+ isPublished: Boolean
17093
+
17094
+ """Name of the microsite."""
17095
+ name: String
17096
+
17097
+ """Text to appear in footer of microsite."""
17098
+ footerText: String
17099
+
17100
+ """Slug of the microsite."""
17101
+ slug: String
17102
+
17103
+ """Description of the microsite (plaintext, deprecated for input)."""
17104
+ description: String
17105
+
17106
+ """Description of the microsite (HTML)."""
17107
+ descriptionHtml: String
17108
+
17109
+ """Banner image file."""
17110
+ bannerImage: Upload
17111
+
17112
+ """Alt text for an image."""
17113
+ bannerImageAlt: String
17114
+
17115
+ """Logo image file."""
17116
+ logoImage: Upload
17117
+
17118
+ """Alt text for an image."""
17119
+ logoImageAlt: String
17120
+
17121
+ """Search engine optimization fields."""
17122
+ seo: SeoInput
17123
+
17124
+ """Publication date. ISO 8601 standard."""
17125
+ publicationDate: Date
17126
+
17127
+ """List of products to be added to the microsite."""
17128
+ products: [ID!]
17129
+
17130
+ """Vendor that microsite belongs to"""
17131
+ vendor: ID!
17132
+ }
17133
+
17134
+ input SeoInput {
17135
+ """SEO title."""
17136
+ title: String
17137
+
17138
+ """SEO description."""
17139
+ description: String
17140
+ }
17141
+
17142
+ """Deletes a microsite."""
17143
+ type MicrositeDelete {
17144
+ micrositeErrors: [ProductError!]!
17145
+ microsite: Microsite
17146
+ }
17147
+
17148
+ """Reorder the products of a microsite."""
17149
+ type MicrositeReorderProducts {
17150
+ """Microsite from which products are reordered."""
17151
+ microsite: Microsite
17152
+ micrositeErrors: [ProductError!]!
17153
+ }
17154
+
17155
+ input MoveProductInput {
17156
+ """The ID of the product to move."""
17157
+ productId: ID!
17158
+
17159
+ """
17160
+ The relative sorting position of the product (from -inf to +inf) starting from the first given product's actual position.1 moves the item one position forward, -1 moves the item one position backward, 0 leaves the item unchanged.
17161
+ """
17162
+ sortOrder: Int
17163
+ }
17164
+
17165
+ """Deletes microsites."""
17166
+ type MicrositeBulkDelete {
17167
+ """Returns how many objects were affected."""
17168
+ count: Int!
17169
+ micrositeErrors: [ProductError!]!
17170
+ }
17171
+
17172
+ """Publish microsites."""
17173
+ type MicrositeBulkPublish {
17174
+ """Returns how many objects were affected."""
17175
+ count: Int!
17176
+ micrositeErrors: [ProductError!]!
17177
+ }
17178
+
17179
+ """Remove products from a microsite."""
17180
+ type MicrositeRemoveProducts {
17181
+ """Microsite from which products will be removed."""
17182
+ microsite: Microsite
17183
+ micrositeErrors: [ProductError!]!
17184
+ }
17185
+
17186
+ """Updates a microsite."""
17187
+ type MicrositeUpdate {
17188
+ micrositeErrors: [ProductError!]!
17189
+ microsite: Microsite
17190
+ }
17191
+
17192
+ input MicrositeInput {
17193
+ """Informs whether a microsite is published."""
17194
+ isPublished: Boolean
17195
+
17196
+ """Name of the microsite."""
17197
+ name: String
17198
+
17199
+ """Text to appear in footer of microsite."""
17200
+ footerText: String
17201
+
17202
+ """Slug of the microsite."""
17203
+ slug: String
17204
+
17205
+ """Description of the microsite (plaintext, deprecated for input)."""
17206
+ description: String
17207
+
17208
+ """Description of the microsite (HTML)."""
17209
+ descriptionHtml: String
17210
+
17211
+ """Banner image file."""
17212
+ bannerImage: Upload
17213
+
17214
+ """Alt text for an image."""
17215
+ bannerImageAlt: String
17216
+
17217
+ """Logo image file."""
17218
+ logoImage: Upload
17219
+
17220
+ """Alt text for an image."""
17221
+ logoImageAlt: String
17222
+
17223
+ """Search engine optimization fields."""
17224
+ seo: SeoInput
17225
+
17226
+ """Publication date. ISO 8601 standard."""
17227
+ publicationDate: Date
17228
+ }
17229
+
17027
17230
  """Creates a new agreement."""
17028
17231
  type AgreementCreate {
17029
17232
  agreementErrors: [AgreementError!]!
@@ -17095,14 +17298,6 @@ input AgreementInput {
17095
17298
  markupCommissionValue: Decimal
17096
17299
  }
17097
17300
 
17098
- input SeoInput {
17099
- """SEO title."""
17100
- title: String
17101
-
17102
- """SEO description."""
17103
- description: String
17104
- }
17105
-
17106
17301
  """Deletes a agreement."""
17107
17302
  type AgreementDelete {
17108
17303
  agreementErrors: [AgreementError!]!
@@ -18485,80 +18680,6 @@ type RefundPaymentsDelete {
18485
18680
  refundErrors: [RefundError!]!
18486
18681
  }
18487
18682
 
18488
- """Creates a new policy."""
18489
- type PolicyCreate {
18490
- policyErrors: [PolicyError!]!
18491
- policy: Policy
18492
- }
18493
-
18494
- type PolicyError {
18495
- """
18496
- Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field.
18497
- """
18498
- field: String
18499
-
18500
- """The error message."""
18501
- message: String!
18502
-
18503
- """The error code."""
18504
- code: PolicyErrorCode!
18505
- }
18506
-
18507
- """An enumeration."""
18508
- enum PolicyErrorCode {
18509
- GRAPHQL_ERROR
18510
- INVALID
18511
- NOT_FOUND
18512
- REQUIRED
18513
- UNIQUE
18514
- }
18515
-
18516
- input PolicyInput {
18517
- """Policy internal name."""
18518
- slug: String
18519
-
18520
- """Policy title."""
18521
- title: String
18522
-
18523
- """Policy content (HTML)."""
18524
- contentHtml: String
18525
-
18526
- """Determines if the policy is visible in the storefront."""
18527
- isPublished: Boolean
18528
-
18529
- """Publication date. ISO 8601 standard."""
18530
- publicationDate: String
18531
-
18532
- """Search engine optimization fields."""
18533
- seo: SeoInput
18534
- }
18535
-
18536
- """Deletes a policy."""
18537
- type PolicyDelete {
18538
- policyErrors: [PolicyError!]!
18539
- policy: Policy
18540
- }
18541
-
18542
- """Deletes policy."""
18543
- type PolicyBulkDelete {
18544
- """Returns how many objects were affected."""
18545
- count: Int!
18546
- policyErrors: [PolicyError!]!
18547
- }
18548
-
18549
- """Publish policy."""
18550
- type PolicyBulkPublish {
18551
- """Returns how many objects were affected."""
18552
- count: Int!
18553
- policyErrors: [PolicyError!]!
18554
- }
18555
-
18556
- """Updates an existing policy."""
18557
- type PolicyUpdate {
18558
- policyErrors: [PolicyError!]!
18559
- policy: Policy
18560
- }
18561
-
18562
18683
  """Creates a new price book."""
18563
18684
  type PriceBookCreate {
18564
18685
  priceBookErrors: [PriceBookError!]!
@@ -18872,47 +18993,6 @@ type CategoryCreate {
18872
18993
  category: Category
18873
18994
  }
18874
18995
 
18875
- type ProductError {
18876
- """
18877
- Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field.
18878
- """
18879
- field: String
18880
-
18881
- """The error message."""
18882
- message: String!
18883
-
18884
- """The error code."""
18885
- code: ProductErrorCode!
18886
-
18887
- """List of attributes IDs which causes the error."""
18888
- attributes: [ID!]
18889
- }
18890
-
18891
- """An enumeration."""
18892
- enum ProductErrorCode {
18893
- ALREADY_EXISTS
18894
- ATTRIBUTE_ALREADY_ASSIGNED
18895
- ATTRIBUTE_CANNOT_BE_ASSIGNED
18896
- ATTRIBUTE_VARIANTS_DISABLED
18897
- DUPLICATED_INPUT_ITEM
18898
- GRAPHQL_ERROR
18899
- INVALID
18900
- INVALID_PHONE
18901
- NOT_PRODUCTS_IMAGE
18902
- NOT_PRODUCTS_VARIANT
18903
- NOT_FOUND
18904
- REQUIRED
18905
- UNIQUE
18906
- VARIANT_NO_DIGITAL_CONTENT
18907
- VARIANT_IN_ACTIVE_ORDER
18908
- CATEGORY_CANNOT_BE_ASSIGNED
18909
- CATEGORY_CANNOT_BE_DELETED
18910
- COLLECTION_CANNOT_BE_CHANGED
18911
- COLLECTION_ALLOWED_FOR_PRODUCTS_ONLY
18912
- COLLECTION_ALLOWED_FOR_VARIANTS_ONLY
18913
- INVENTORY_FIELD_CANNOT_BE_EDITED
18914
- }
18915
-
18916
18996
  input CategoryInput {
18917
18997
  """Category description (plaintext, deprecated as input)."""
18918
18998
  description: String
@@ -19079,16 +19159,6 @@ type CollectionReorderProducts {
19079
19159
  productErrors: [ProductError!]!
19080
19160
  }
19081
19161
 
19082
- input MoveProductInput {
19083
- """The ID of the product to move."""
19084
- productId: ID!
19085
-
19086
- """
19087
- The relative sorting position of the product (from -inf to +inf) starting from the first given product's actual position.1 moves the item one position forward, -1 moves the item one position backward, 0 leaves the item unchanged.
19088
- """
19089
- sortOrder: Int
19090
- }
19091
-
19092
19162
  """Deletes collections."""
19093
19163
  type CollectionBulkDelete {
19094
19164
  """Returns how many objects were affected."""
@@ -23021,29 +23091,6 @@ type AppTokenVerify {
23021
23091
  appErrors: [AppError!]!
23022
23092
  }
23023
23093
 
23024
- """Creates a new dashboard integration for an app."""
23025
- type AppDashboardIntegrationCreate {
23026
- appErrors: [AppError!]!
23027
- appDashboardIntegration: AppDashboardIntegration
23028
- }
23029
-
23030
- input AppDashboardIntegrationInput {
23031
- """ID of app."""
23032
- app: ID!
23033
-
23034
- """URL to the iframe"""
23035
- iframeUrl: String!
23036
-
23037
- """Context for where this integration should render"""
23038
- context: AppDashboardIntegrationContextEnum!
23039
- }
23040
-
23041
- """Deletes an app storefront integration from the app."""
23042
- type AppDashboardIntegrationDelete {
23043
- appErrors: [AppError!]!
23044
- appDashboardIntegration: AppDashboardIntegration
23045
- }
23046
-
23047
23094
  """Creates a new storefront integration for an app."""
23048
23095
  type AppStorefrontIntegrationCreate {
23049
23096
  appErrors: [AppError!]!
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.66.0-9-gb2c792c73",
3
+ "version": "v1.66.1",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {