@nautical-commerce/graphql-schema 1.47.0-9-gc8f131c34 → 1.47.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.
@@ -2586,6 +2586,11 @@ type Checkout implements Node & ObjectWithMetadata {
2586
2586
  """List of public metadata items. Can be accessed without permissions."""
2587
2587
  metadata: [MetadataItem!]!
2588
2588
 
2589
+ """
2590
+ Available shipping methods for marketplace-fulfilled items in this checkout.
2591
+ """
2592
+ availableMarketplaceShippingMethods: [ShippingMethod!]
2593
+
2589
2594
  """Available shipping methods for each seller in this checkout."""
2590
2595
  availableShippingMethodsBySeller: [MultiSellerShippingMethod!]
2591
2596
 
@@ -2632,6 +2637,9 @@ type Checkout implements Node & ObjectWithMetadata {
2632
2637
 
2633
2638
  """Shipping method for this order."""
2634
2639
  marketplaceShippingMethod: ShippingMethod
2640
+
2641
+ """The price of the marketplace shipping."""
2642
+ marketplaceShippingPrice: TaxedMoney!
2635
2643
  }
2636
2644
 
2637
2645
  """Represents amount of money in specific currency."""
@@ -2650,13 +2658,6 @@ compatible type.
2650
2658
  """
2651
2659
  scalar BigInt
2652
2660
 
2653
- type MultiSellerShippingMethod {
2654
- seller: Int @deprecated(reason: "Use sellerId instead. This will be removed after 2024-12-31.")
2655
- sellerId: ID!
2656
- sellerName: String!
2657
- value: [ShippingMethod!]!
2658
- }
2659
-
2660
2661
  """
2661
2662
  Shipping method are the methods you'll use to get customer's orders to them. They are directly exposed to the customers.
2662
2663
  """
@@ -2712,6 +2713,13 @@ enum ShippingMethodTypeEnum {
2712
2713
  WEIGHT
2713
2714
  }
2714
2715
 
2716
+ type MultiSellerShippingMethod {
2717
+ seller: Int @deprecated(reason: "Use sellerId instead. This will be removed after 2024-12-31.")
2718
+ sellerId: ID!
2719
+ sellerName: String!
2720
+ value: [ShippingMethod!]!
2721
+ }
2722
+
2715
2723
  type SellerVolumeDiscount {
2716
2724
  seller: Int
2717
2725
  volumeDiscount: Money
@@ -3164,8 +3172,8 @@ type Seller implements Node & ObjectWithMetadata {
3164
3172
  payouts(offset: Int, before: String, after: String, first: Int, last: Int): VendorPayoutCountableConnection!
3165
3173
  shippingZones(offset: Int, before: String, after: String, first: Int, last: Int): ShippingZoneCountableConnection!
3166
3174
  orders(offset: Int, before: String, after: String, first: Int, last: Int): OrderCountableConnection!
3167
- warehouses(offset: Int, before: String, after: String, first: Int, last: Int): WarehouseCountableConnection!
3168
3175
  sellerAgreements(offset: Int, before: String, after: String, first: Int, last: Int): AgreementSellersCountableConnection!
3176
+ warehouses(offset: Int, before: String, after: String, first: Int, last: Int): WarehouseCountableConnection!
3169
3177
 
3170
3178
  """
3171
3179
  List of private metadata items.Requires proper staff permissions to access.
@@ -5527,6 +5535,9 @@ type NauticalOrder implements Node & ObjectWithMetadata {
5527
5535
  """List of public metadata items. Can be accessed without permissions."""
5528
5536
  metadata: [MetadataItem!]!
5529
5537
 
5538
+ """Available shipping methods for the order."""
5539
+ availableMarketplaceShippingMethods: [ShippingMethod!]
5540
+
5530
5541
  """List of seller shipments for the order."""
5531
5542
  sellerFulfillments: [Fulfillment!]!
5532
5543
 
@@ -7262,23 +7273,6 @@ type OrderPayoutSummary {
7262
7273
  vendorPayout: VendorPayout!
7263
7274
  }
7264
7275
 
7265
- type WarehouseCountableConnection {
7266
- """Pagination data for this connection."""
7267
- pageInfo: PageInfo!
7268
- edges: [WarehouseCountableEdge!]!
7269
-
7270
- """A total count of items in the collection."""
7271
- totalCount: Int
7272
- }
7273
-
7274
- type WarehouseCountableEdge {
7275
- """The item at the end of the edge."""
7276
- node: Warehouse!
7277
-
7278
- """A cursor for use in pagination."""
7279
- cursor: String!
7280
- }
7281
-
7282
7276
  type AgreementSellersCountableConnection {
7283
7277
  """Pagination data for this connection."""
7284
7278
  pageInfo: PageInfo!
@@ -7443,6 +7437,23 @@ enum FeeScope {
7443
7437
  TOTAL
7444
7438
  }
7445
7439
 
7440
+ type WarehouseCountableConnection {
7441
+ """Pagination data for this connection."""
7442
+ pageInfo: PageInfo!
7443
+ edges: [WarehouseCountableEdge!]!
7444
+
7445
+ """A total count of items in the collection."""
7446
+ totalCount: Int
7447
+ }
7448
+
7449
+ type WarehouseCountableEdge {
7450
+ """The item at the end of the edge."""
7451
+ node: Warehouse!
7452
+
7453
+ """A cursor for use in pagination."""
7454
+ cursor: String!
7455
+ }
7456
+
7446
7457
  """Represents a microsite of products."""
7447
7458
  type Microsite implements Node & ObjectWithMetadata {
7448
7459
  """The ID of the object"""
@@ -13936,7 +13947,7 @@ type Mutation {
13936
13947
  description: String
13937
13948
 
13938
13949
  """
13939
- Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: image/tiff, image/bmp, image/webp, application/vnd.oasis.opendocument.text, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/zip, application/x-jpg, application/excel, application/tiff, application/x-autocad, application/x-tiff, application/x-zip-compressed, image/heic-sequence, text/x-comma-separated-values, application/gzip, application/gzip-compressed, image/gif, application/x-acad, application/pdf, application/dwg, image/heif, image/x-ms-bmp, application/x-rar-compressed, text/csv, application/csv, application/svg+xml, image/svg+xml, image/svg, application/vnd.pdf, application/x-rtf, text/x-csv, application/x-tar, application/x-tif, application/rtf, application/eps, image/tif, image/jpeg, text/svg-xml, image/x-bmp, application/msword, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/dxf, application/jpg, application/x-gzip, application/x-pdf, image/eps, application/vnd.oasis.opendocument.presentation, text/x-pdf, drawing/dwg, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, image/vnd.dwg, application/x-csv, application/vnd.oasis.opendocument.spreadsheet, application/x-dxf, application/dxf, drawing/x-dwf, application/gzipped, application/acrobat, image/x-dwg, text/comma-separated-values, text/plain, application/tif, pplication/vnd.rar, drawing/x-dwg, text/pdf, image/x-eps, application/x-eps, application/vnd.ms-powerpoint, image/x-tif, application/postscript, image/jpg, image/x-dxf, image/x-tiff, application/vnd.ms-word, application/x-dwg, image/heif-sequence, image/png, application/vnd.ms-excel, text/svg, text/rtf, application/acad, image/heic, application/x-rar.
13950
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/dxf, application/dwg, application/jpg, image/tif, application/postscript, text/x-csv, image/bmp, image/x-bmp, pplication/vnd.rar, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/dxf, image/x-tif, text/pdf, image/x-dwg, application/vnd.ms-excel, drawing/dwg, text/svg, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/x-rar-compressed, application/vnd.ms-word, application/vnd.openxmlformats-officedocument.presentationml.slideshow, image/jpg, image/eps, image/tiff, text/plain, application/x-tar, application/acrobat, application/tiff, application/pdf, text/comma-separated-values, application/x-dxf, application/vnd.ms-powerpoint, application/csv, image/svg, application/vnd.pdf, image/gif, drawing/x-dwg, image/x-ms-bmp, application/vnd.oasis.opendocument.spreadsheet, application/x-tif, application/x-dwg, text/x-comma-separated-values, application/x-jpg, application/vnd.oasis.opendocument.presentation, image/heif-sequence, application/gzipped, image/x-dxf, drawing/x-dwf, text/x-pdf, application/tif, image/heic, image/x-tiff, image/vnd.dwg, application/x-eps, text/rtf, application/msword, image/svg+xml, image/jpeg, application/x-autocad, application/x-zip-compressed, application/x-csv, image/x-eps, application/x-acad, image/webp, image/heif, application/x-pdf, text/svg-xml, application/eps, application/rtf, application/excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/svg+xml, image/png, application/vnd.oasis.opendocument.text, image/heic-sequence, application/x-rar, application/x-tiff, application/gzip-compressed, application/gzip, application/x-gzip, application/x-rtf, application/zip, text/csv, application/acad.
13940
13951
  """
13941
13952
  file: Upload!
13942
13953
 
@@ -14462,6 +14473,18 @@ type Mutation {
14462
14473
  id: ID!
14463
14474
  ): SellerAgreementAcknowledge
14464
14475
 
14476
+ """Creates a new seller agreement mapping."""
14477
+ sellerAgreementAssign(
14478
+ """Fields required to create a seller agreement mapping"""
14479
+ input: SellerAgreementInput!
14480
+ ): SellerAgreementAssign
14481
+
14482
+ """Deletes a seller agreement mapping."""
14483
+ sellerAgreementDelete(
14484
+ """ID of seller agreement mapping to delete"""
14485
+ id: ID!
14486
+ ): SellerAgreementDelete
14487
+
14465
14488
  """
14466
14489
  Create new Seller and a new staff user and assign created user as Seller owner.
14467
14490
  """
@@ -18802,6 +18825,29 @@ type SellerAgreementAcknowledge {
18802
18825
  agreementErrors: [AgreementError!]!
18803
18826
  }
18804
18827
 
18828
+ """Creates a new seller agreement mapping."""
18829
+ type SellerAgreementAssign {
18830
+ agreementErrors: [AgreementError!]!
18831
+ sellerAgreement: AgreementSellers
18832
+ }
18833
+
18834
+ input SellerAgreementInput {
18835
+ """ID of the agreement that seller will be assigned to"""
18836
+ agreement: ID!
18837
+
18838
+ """When this agreement becomes effective for the seller"""
18839
+ effectiveAt: DateTime!
18840
+
18841
+ """ID of seller that agreed to plan"""
18842
+ seller: ID!
18843
+ }
18844
+
18845
+ """Deletes a seller agreement mapping."""
18846
+ type SellerAgreementDelete {
18847
+ agreementErrors: [AgreementError!]!
18848
+ agreementSellers: AgreementSellers
18849
+ }
18850
+
18805
18851
  """
18806
18852
  Create new Seller and a new staff user and assign created user as Seller owner.
18807
18853
  """
@@ -18891,6 +18937,10 @@ input SellerInput {
18891
18937
  slug: String
18892
18938
  identifiers: [String!]
18893
18939
  owner: ID
18940
+
18941
+ """
18942
+ ID of the Agreement to assign to the seller. For more fine grained control consider using the sellerAgreementAssign mutation
18943
+ """
18894
18944
  plan: ID
18895
18945
 
18896
18946
  """
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.47.0-9-gc8f131c34",
3
+ "version": "v1.47.1",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {