@nautical-commerce/graphql-schema 1.67.0-2-ge65882955 → 1.67.0-21-g7de57626f

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.
@@ -458,19 +458,19 @@ type Query {
458
458
  """Return the last n elements from the list."""
459
459
  last: Int
460
460
  ): AgreementCountableConnection
461
- sellerListCards(period: ReportingPeriod!, identifier: ID): SellerCards
462
- sellerDetailCards(period: ReportingPeriod!, identifier: ID!): SellerDetailCards
461
+ sellerListCards(period: ReportingPeriod!, identifier: ID): SellerCards @deprecated(reason: "This will be removed on April 16, 2025")
462
+ sellerDetailCards(period: ReportingPeriod!, identifier: ID!): SellerDetailCards @deprecated(reason: "This will be removed on April 16, 2025")
463
463
 
464
464
  """Number of new sellers created in given period."""
465
- newSellers(period: ReportingPeriod!): Int
465
+ newSellers(period: ReportingPeriod!): Int @deprecated(reason: "This will be removed on April 16, 2025")
466
466
 
467
467
  """Number of orders placed by sellers in given period."""
468
- sellerOrders(period: ReportingPeriod!, identifier: ID): Int
468
+ sellerOrders(period: ReportingPeriod!, identifier: ID): Int @deprecated(reason: "This will be removed on April 16, 2025")
469
469
 
470
470
  """
471
471
  Return the total commissions earned across all sellers for the given period.
472
472
  """
473
- sellerCommissions(period: ReportingPeriod!, identifier: ID): Money
473
+ sellerCommissions(period: ReportingPeriod!, identifier: ID): Money @deprecated(reason: "This will be removed on April 16, 2025")
474
474
 
475
475
  """Look up an refund by ID."""
476
476
  refund(
@@ -1038,13 +1038,13 @@ type Query {
1038
1038
 
1039
1039
  """Search term to use when retrieving typeform forms"""
1040
1040
  search: String
1041
- ): TypeformForms
1041
+ ): TypeformForms @deprecated(reason: "Typeform support will be removed on April 17, 2025")
1042
1042
 
1043
1043
  """Form details for specified form_id"""
1044
1044
  typeformForm(
1045
1045
  """ID of the form to get details for."""
1046
1046
  id: ID
1047
- ): TypeformForm
1047
+ ): TypeformForm @deprecated(reason: "Typeform support will be removed on April 17, 2025")
1048
1048
 
1049
1049
  """Get the flows associated with a particular plugin and seller"""
1050
1050
  pluginFlows(
@@ -1053,7 +1053,7 @@ type Query {
1053
1053
 
1054
1054
  """ID of the seller."""
1055
1055
  seller: ID
1056
- ): [Flow!]
1056
+ ): [Flow!] @deprecated(reason: "Typeform support will be removed on April 17, 2025")
1057
1057
 
1058
1058
  """Get client secret if necessary for frontend configuration."""
1059
1059
  getClientSecret(
@@ -2840,10 +2840,6 @@ type ProductVariant implements Node & ObjectWithMetadata {
2840
2840
  id: ID!
2841
2841
  createdAt: DateTime!
2842
2842
  updatedAt: DateTime!
2843
-
2844
- """Product model code"""
2845
- description: String @deprecated(reason: "This will be removed on April 15, 2025.")
2846
- descriptionHtml: String!
2847
2843
  externalId: String
2848
2844
  externalSource: String
2849
2845
  seoTitle: String
@@ -2897,8 +2893,14 @@ type ProductVariant implements Node & ObjectWithMetadata {
2897
2893
  """Whether this variant is visible on the buyer side or not"""
2898
2894
  isVisible: Boolean! @deprecated(reason: "This will be removed on April 15, 2025.")
2899
2895
 
2896
+ """Product description"""
2897
+ description: String @deprecated(reason: "This will be removed on April 15, 2025.")
2898
+
2899
+ """Product description HTML"""
2900
+ descriptionHtml: String @deprecated(reason: "This will be removed on April 15, 2025.")
2901
+
2900
2902
  """Product variant size info."""
2901
- size: VariantSize
2903
+ size: VariantSize @deprecated(reason: "This will be removed on April 17, 2025.")
2902
2904
 
2903
2905
  """List of attributes assigned to this variant."""
2904
2906
  attributes: [SelectedAttribute!]!
@@ -3833,9 +3835,6 @@ type Order implements Node & ObjectWithMetadata {
3833
3835
  """Marketplace order that this seller order belongs to."""
3834
3836
  marketplaceOrder: NauticalOrder
3835
3837
 
3836
- """Latest vendor payout this order is in"""
3837
- vendorPayout: VendorPayout @deprecated(reason: "This will be removed on January 15, 2025. Use the more accurate vendorPayouts field instead.")
3838
-
3839
3838
  """All vendor payouts that contain this order"""
3840
3839
  vendorPayouts: [VendorPayout!]
3841
3840
 
@@ -9115,6 +9114,7 @@ type Policy implements Node & ObjectWithMetadata {
9115
9114
  """The ID of the object"""
9116
9115
  id: ID!
9117
9116
  publicationDate: Date
9117
+ isPublished: Boolean!
9118
9118
  createdAt: DateTime!
9119
9119
  updatedAt: DateTime!
9120
9120
  content: String!
@@ -9132,9 +9132,6 @@ type Policy implements Node & ObjectWithMetadata {
9132
9132
 
9133
9133
  """List of public metadata items. Can be accessed without permissions."""
9134
9134
  metadata: [MetadataItem!]!
9135
-
9136
- """Whether the policy is published."""
9137
- isPublished: Boolean!
9138
9135
  }
9139
9136
 
9140
9137
  """An enumeration."""
@@ -10564,6 +10561,7 @@ type Page implements Node & ObjectWithMetadata {
10564
10561
  """The ID of the object"""
10565
10562
  id: ID!
10566
10563
  publicationDate: Date
10564
+ isPublished: Boolean!
10567
10565
  createdAt: DateTime!
10568
10566
  updatedAt: DateTime!
10569
10567
  content: String!
@@ -10580,9 +10578,6 @@ type Page implements Node & ObjectWithMetadata {
10580
10578
 
10581
10579
  """List of public metadata items. Can be accessed without permissions."""
10582
10580
  metadata: [MetadataItem!]!
10583
-
10584
- """Whether the page is published."""
10585
- isPublished: Boolean!
10586
10581
  image(
10587
10582
  """Featured image for the page."""
10588
10583
  size: Int
@@ -10860,7 +10855,7 @@ type Menu implements Node {
10860
10855
  }
10861
10856
 
10862
10857
  """
10863
- Represents a single item of the related menu. Can store categories, collection or pages.
10858
+ Represents a single item of the related menu. Can store categories, collection, pages, sellers, products, content or policy pages.
10864
10859
  """
10865
10860
  type MenuItem implements Node {
10866
10861
  """The ID of the object"""
@@ -10871,6 +10866,10 @@ type MenuItem implements Node {
10871
10866
  category: Category
10872
10867
  collection: Collection
10873
10868
  page: Page
10869
+ seller: Seller
10870
+ product: Product
10871
+ content: Content
10872
+ policy: Policy
10874
10873
  level: Int!
10875
10874
  children: [MenuItem!]!
10876
10875
 
@@ -10956,7 +10955,9 @@ type MarketplaceConfiguration {
10956
10955
  id: UUID!
10957
10956
  marketplaceName: String!
10958
10957
  requireProductApproval: Boolean!
10959
- requireProductTypes: Boolean!
10958
+
10959
+ """True if products require product types to be created"""
10960
+ requireProductTypes: Boolean @deprecated(reason: "This will be removed on April 15, 2025.")
10960
10961
 
10961
10962
  """Determines payout status transformation strategy"""
10962
10963
  payoutAutomationStrategy: MarketplaceConfigurationPayoutAutomationStrategyEnum
@@ -11002,6 +11003,9 @@ type MarketplaceConfiguration {
11002
11003
 
11003
11004
  """Default weight unit."""
11004
11005
  defaultWeightUnit: WeightUnitsEnum
11006
+
11007
+ """Default length unit."""
11008
+ defaultLengthUnit: LengthUnitsStrEnum
11005
11009
  automaticFulfillmentDigitalProducts: Boolean!
11006
11010
  defaultDigitalMaxDownloads: Int
11007
11011
  defaultDigitalUrlValidDays: Int
@@ -11631,6 +11635,16 @@ enum FulfillmentModelEnum {
11631
11635
  HYBRID
11632
11636
  }
11633
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
+
11634
11648
  type EmailEventCountableConnection {
11635
11649
  """Pagination data for this connection."""
11636
11650
  pageInfo: PageInfo!
@@ -13203,7 +13217,7 @@ type Mutation {
13203
13217
  description: String
13204
13218
 
13205
13219
  """
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/acad, image/webp, image/jpeg, image/heif-sequence, image/gif, drawing/x-dwf, text/x-comma-separated-values, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, image/x-ms-bmp, application/vnd.oasis.opendocument.text, application/vnd.oasis.opendocument.presentation, image/tif, application/svg+xml, image/x-tif, drawing/x-dwg, image/x-dwg, image/heif, image/x-dxf, image/eps, application/vnd.ms-excel, image/dxf, image/heic, text/plain, image/jpg, application/x-gzip, application/vnd.ms-word, image/svg+xml, image/tiff, text/svg, application/postscript, application/x-dwg, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/x-tar, application/x-dxf, text/x-pdf, image/png, image/x-tiff, application/x-rar, application/eps, image/heic-sequence, application/dwg, image/x-bmp, text/svg-xml, text/x-csv, application/msword, application/vnd.ms-powerpoint, application/vnd.openxmlformats-officedocument.presentationml.presentation, text/csv, application/x-jpg, application/zip, application/x-zip-compressed, application/x-rtf, image/bmp, application/gzip, application/vnd.oasis.opendocument.spreadsheet, image/x-eps, pplication/vnd.rar, application/jpg, application/x-tif, application/excel, text/pdf, application/acrobat, application/gzip-compressed, application/vnd.pdf, text/comma-separated-values, application/x-pdf, application/gzipped, application/x-acad, application/x-eps, application/x-rar-compressed, application/x-tiff, drawing/dwg, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/tiff, image/vnd.dwg, application/tif, application/rtf, application/pdf, application/csv, image/svg, text/rtf, application/x-autocad, application/dxf, application/x-csv.
13220
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/csv, image/x-bmp, application/x-zip-compressed, application/x-gzip, application/vnd.ms-word, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/webp, image/x-tif, application/x-rar, image/gif, image/vnd.dwg, text/svg, application/vnd.pdf, application/vnd.ms-powerpoint, image/png, image/jpeg, application/pdf, image/x-dxf, application/zip, application/vnd.oasis.opendocument.presentation, image/eps, application/x-tiff, application/svg+xml, text/x-pdf, image/heic-sequence, image/svg+xml, text/csv, text/svg-xml, application/postscript, application/excel, application/x-tif, image/jpg, application/x-autocad, image/x-tiff, application/x-rtf, application/x-dxf, application/msword, drawing/x-dwg, application/acad, image/x-ms-bmp, application/gzip-compressed, drawing/dwg, text/pdf, text/rtf, image/x-eps, image/heif, application/acrobat, application/vnd.oasis.opendocument.spreadsheet, application/x-acad, application/x-jpg, image/tiff, text/comma-separated-values, image/heic, application/x-dwg, application/rtf, application/x-eps, application/x-csv, application/vnd.oasis.opendocument.text, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, image/x-dwg, image/heif-sequence, image/bmp, application/x-rar-compressed, text/x-comma-separated-values, image/dxf, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/tif, application/dwg, drawing/x-dwf, application/jpg, text/plain, application/gzip, image/tif, application/tiff, pplication/vnd.rar, text/x-csv, application/x-tar, application/vnd.ms-excel, application/dxf, application/x-pdf, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/eps, image/svg, application/gzipped.
13207
13221
  """
13208
13222
  file: Upload!
13209
13223
 
@@ -15280,7 +15294,7 @@ type Mutation {
15280
15294
  """Creates a new menu item."""
15281
15295
  menuItemCreate(
15282
15296
  """
15283
- Fields required to update a menu item. Only one of `url`, `category`, `page`, `collection` is allowed per item.
15297
+ Fields required to update a menu item. Only one of `url`, `category`, `page`, `collection`, `seller`, `product`, `content`, 'policy` is allowed per item.
15284
15298
  """
15285
15299
  input: MenuItemCreateInput!
15286
15300
  ): MenuItemCreate
@@ -15303,7 +15317,7 @@ type Mutation {
15303
15317
  id: ID!
15304
15318
 
15305
15319
  """
15306
- Fields required to update a menu item. Only one of `url`, `category`, `page`, `collection` is allowed per item.
15320
+ Fields required to update a menu item. Only one of `url`, `category`, `page`, `collection`, `seller`, `product`, `content`, `policy` is allowed per item.
15307
15321
  """
15308
15322
  input: MenuItemInput!
15309
15323
  ): MenuItemUpdate
@@ -15440,13 +15454,13 @@ type Mutation {
15440
15454
 
15441
15455
  """Fields required to update a plugins sync settings."""
15442
15456
  input: PluginFlowInput
15443
- ): PluginFlowUpdate
15457
+ ): PluginFlowUpdate @deprecated(reason: "Typeform support will be removed on April 17, 2025")
15444
15458
 
15445
15459
  """Delete plugin flow."""
15446
15460
  pluginFlowDelete(
15447
15461
  """ID of flow to delete."""
15448
15462
  id: ID!
15449
- ): PluginFlowDelete
15463
+ ): PluginFlowDelete @deprecated(reason: "Typeform support will be removed on April 17, 2025")
15450
15464
 
15451
15465
  """
15452
15466
  Retrieves an onboarding link for the given vendor from the given gateway if available.
@@ -16605,7 +16619,7 @@ input MarketplaceConfigurationInput {
16605
16619
  requireProductApproval: Boolean
16606
16620
 
16607
16621
  """True if products require product types to be created"""
16608
- requireProductTypes: Boolean
16622
+ requireProductTypes: Boolean @deprecated(reason: "This will be removed on April 15, 2025.")
16609
16623
 
16610
16624
  """Updates status transformation strategy for payout."""
16611
16625
  payoutAutomationStrategy: MarketplaceConfigurationPayoutAutomationStrategyEnum = null
@@ -16666,6 +16680,9 @@ input MarketplaceConfigurationInput {
16666
16680
  """Default weight unit."""
16667
16681
  defaultWeightUnit: WeightUnitsEnum = null
16668
16682
 
16683
+ """Default length unit."""
16684
+ defaultLengthUnit: LengthUnitsStrEnum = null
16685
+
16669
16686
  """Enable automatic fulfillment for all digital products."""
16670
16687
  automaticFulfillmentDigitalProducts: Boolean
16671
16688
 
@@ -17611,12 +17628,12 @@ input WebhookCreateInput {
17611
17628
  """The url to receive the payload."""
17612
17629
  targetUrl: String
17613
17630
 
17614
- """
17615
- The events that webhook wants to subscribe. The CHECKOUT_QUANTITY_CHANGED is depreacted. It will be removed in Nautical 3.0
17616
- """
17631
+ """The events that webhook wants to subscribe."""
17617
17632
  events: [WebhookEventTypeEnum!]
17618
17633
 
17619
- """ID of the app to which webhook belongs."""
17634
+ """
17635
+ ID of the app to which webhook belongs. If not specified, a bearer token must be used and the webhook will be attached to the app the bearer token belongs to.
17636
+ """
17620
17637
  app: ID
17621
17638
 
17622
17639
  """Determine if webhook will be set active or not."""
@@ -17653,12 +17670,12 @@ input WebhookUpdateInput {
17653
17670
  """The url to receive the payload."""
17654
17671
  targetUrl: String
17655
17672
 
17656
- """
17657
- The events that webhook wants to subscribe. The CHECKOUT_QUANTITY_CHANGED is depreacted. It will be removed in Nautical 3.0
17658
- """
17673
+ """The events that webhook wants to subscribe."""
17659
17674
  events: [WebhookEventTypeEnum!]
17660
17675
 
17661
- """ID of the app to which webhook belongs."""
17676
+ """
17677
+ ID of the app to which webhook belongs. If not specified, a bearer token must be used and the webhook will be attached to the app the bearer token belongs to.
17678
+ """
17662
17679
  app: ID
17663
17680
 
17664
17681
  """Determine if webhook will be set active or not."""
@@ -19764,7 +19781,7 @@ input ProductVariantCreateInput {
19764
19781
  description: String @deprecated(reason: "This will be removed on April 15, 2025.")
19765
19782
 
19766
19783
  """Product variant description (HTML)."""
19767
- descriptionHtml: String
19784
+ descriptionHtml: String @deprecated(reason: "This will be removed on April 15, 2025.")
19768
19785
 
19769
19786
  """Price of the particular variant."""
19770
19787
  price: PositiveDecimal
@@ -19795,7 +19812,7 @@ input ProductVariantCreateInput {
19795
19812
  weight: WeightScalar
19796
19813
 
19797
19814
  """Size of the Product Variant."""
19798
- size: VariantSizeInput
19815
+ size: VariantSizeInput @deprecated(reason: "This field will be removed on April 17th, 2025.")
19799
19816
 
19800
19817
  """Name for the variant."""
19801
19818
  name: String
@@ -19905,7 +19922,7 @@ input ProductVariantBulkCreateInput {
19905
19922
  description: String @deprecated(reason: "This will be removed on April 15, 2025.")
19906
19923
 
19907
19924
  """Product variant description (HTML)."""
19908
- descriptionHtml: String
19925
+ descriptionHtml: String @deprecated(reason: "This will be removed on April 15, 2025.")
19909
19926
 
19910
19927
  """Price of the particular variant."""
19911
19928
  price: PositiveDecimal
@@ -19936,7 +19953,7 @@ input ProductVariantBulkCreateInput {
19936
19953
  weight: WeightScalar
19937
19954
 
19938
19955
  """Size of the Product Variant."""
19939
- size: VariantSizeInput
19956
+ size: VariantSizeInput @deprecated(reason: "This field will be removed on April 17th, 2025.")
19940
19957
 
19941
19958
  """Name for the variant."""
19942
19959
  name: String
@@ -20084,7 +20101,7 @@ input ProductVariantInput {
20084
20101
  description: String @deprecated(reason: "This will be removed on April 15, 2025.")
20085
20102
 
20086
20103
  """Product variant description (HTML)."""
20087
- descriptionHtml: String
20104
+ descriptionHtml: String @deprecated(reason: "This will be removed on April 15, 2025.")
20088
20105
 
20089
20106
  """Price of the particular variant."""
20090
20107
  price: PositiveDecimal
@@ -20115,7 +20132,7 @@ input ProductVariantInput {
20115
20132
  weight: WeightScalar
20116
20133
 
20117
20134
  """Size of the Product Variant."""
20118
- size: VariantSizeInput
20135
+ size: VariantSizeInput @deprecated(reason: "This field will be removed on April 17th, 2025.")
20119
20136
 
20120
20137
  """Name for the variant."""
20121
20138
  name: String
@@ -21674,6 +21691,18 @@ input MenuItemInput {
21674
21691
 
21675
21692
  """Page to which item points."""
21676
21693
  page: ID
21694
+
21695
+ """Seller to which item points."""
21696
+ seller: ID
21697
+
21698
+ """Product to which item points."""
21699
+ product: ID
21700
+
21701
+ """Storefront contenet page to which item points."""
21702
+ content: ID
21703
+
21704
+ """Policy page to which item points."""
21705
+ policy: ID
21677
21706
  }
21678
21707
 
21679
21708
  """Deletes a menu."""
@@ -21725,6 +21754,18 @@ input MenuItemCreateInput {
21725
21754
  """Page to which item points."""
21726
21755
  page: ID
21727
21756
 
21757
+ """Seller to which item points."""
21758
+ seller: ID
21759
+
21760
+ """Product to which item points."""
21761
+ product: ID
21762
+
21763
+ """Storefront contenet page to which item points."""
21764
+ content: ID
21765
+
21766
+ """Policy page to which item points."""
21767
+ policy: ID
21768
+
21728
21769
  """Menu to which item belongs."""
21729
21770
  menu: ID!
21730
21771
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.67.0-2-ge65882955",
3
+ "version": "v1.67.0-21-g7de57626f",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {