@nautical-commerce/graphql-schema 1.47.0 → 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.
@@ -1970,12 +1970,18 @@ type Query {
1970
1970
  last: Int
1971
1971
  ): AgreementCountableConnection
1972
1972
 
1973
- """Look up what agreement a seller is attached to"""
1973
+ """Look up what agreement a seller is attached to for the current date"""
1974
1974
  sellerAgreement(
1975
1975
  """ID of the seller to search for their agreement"""
1976
1976
  id: ID
1977
1977
  ): AgreementSellers
1978
1978
 
1979
+ """Look up agreement history for a seller"""
1980
+ sellerAgreements(
1981
+ """ID of the seller to search for their agreement"""
1982
+ id: ID!
1983
+ ): [AgreementSellers!]!
1984
+
1979
1985
  """List of the shop's affiliates"""
1980
1986
  affiliates(
1981
1987
  """Filtering options for affiliates."""
@@ -2580,6 +2586,11 @@ type Checkout implements Node & ObjectWithMetadata {
2580
2586
  """List of public metadata items. Can be accessed without permissions."""
2581
2587
  metadata: [MetadataItem!]!
2582
2588
 
2589
+ """
2590
+ Available shipping methods for marketplace-fulfilled items in this checkout.
2591
+ """
2592
+ availableMarketplaceShippingMethods: [ShippingMethod!]
2593
+
2583
2594
  """Available shipping methods for each seller in this checkout."""
2584
2595
  availableShippingMethodsBySeller: [MultiSellerShippingMethod!]
2585
2596
 
@@ -2626,6 +2637,9 @@ type Checkout implements Node & ObjectWithMetadata {
2626
2637
 
2627
2638
  """Shipping method for this order."""
2628
2639
  marketplaceShippingMethod: ShippingMethod
2640
+
2641
+ """The price of the marketplace shipping."""
2642
+ marketplaceShippingPrice: TaxedMoney!
2629
2643
  }
2630
2644
 
2631
2645
  """Represents amount of money in specific currency."""
@@ -2644,13 +2658,6 @@ compatible type.
2644
2658
  """
2645
2659
  scalar BigInt
2646
2660
 
2647
- type MultiSellerShippingMethod {
2648
- seller: Int @deprecated(reason: "Use sellerId instead. This will be removed after 2024-12-31.")
2649
- sellerId: ID!
2650
- sellerName: String!
2651
- value: [ShippingMethod!]!
2652
- }
2653
-
2654
2661
  """
2655
2662
  Shipping method are the methods you'll use to get customer's orders to them. They are directly exposed to the customers.
2656
2663
  """
@@ -2706,6 +2713,13 @@ enum ShippingMethodTypeEnum {
2706
2713
  WEIGHT
2707
2714
  }
2708
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
+
2709
2723
  type SellerVolumeDiscount {
2710
2724
  seller: Int
2711
2725
  volumeDiscount: Money
@@ -3158,8 +3172,8 @@ type Seller implements Node & ObjectWithMetadata {
3158
3172
  payouts(offset: Int, before: String, after: String, first: Int, last: Int): VendorPayoutCountableConnection!
3159
3173
  shippingZones(offset: Int, before: String, after: String, first: Int, last: Int): ShippingZoneCountableConnection!
3160
3174
  orders(offset: Int, before: String, after: String, first: Int, last: Int): OrderCountableConnection!
3161
- warehouses(offset: Int, before: String, after: String, first: Int, last: Int): WarehouseCountableConnection!
3162
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!
3163
3177
 
3164
3178
  """
3165
3179
  List of private metadata items.Requires proper staff permissions to access.
@@ -5521,6 +5535,9 @@ type NauticalOrder implements Node & ObjectWithMetadata {
5521
5535
  """List of public metadata items. Can be accessed without permissions."""
5522
5536
  metadata: [MetadataItem!]!
5523
5537
 
5538
+ """Available shipping methods for the order."""
5539
+ availableMarketplaceShippingMethods: [ShippingMethod!]
5540
+
5524
5541
  """List of seller shipments for the order."""
5525
5542
  sellerFulfillments: [Fulfillment!]!
5526
5543
 
@@ -7256,23 +7273,6 @@ type OrderPayoutSummary {
7256
7273
  vendorPayout: VendorPayout!
7257
7274
  }
7258
7275
 
7259
- type WarehouseCountableConnection {
7260
- """Pagination data for this connection."""
7261
- pageInfo: PageInfo!
7262
- edges: [WarehouseCountableEdge!]!
7263
-
7264
- """A total count of items in the collection."""
7265
- totalCount: Int
7266
- }
7267
-
7268
- type WarehouseCountableEdge {
7269
- """The item at the end of the edge."""
7270
- node: Warehouse!
7271
-
7272
- """A cursor for use in pagination."""
7273
- cursor: String!
7274
- }
7275
-
7276
7276
  type AgreementSellersCountableConnection {
7277
7277
  """Pagination data for this connection."""
7278
7278
  pageInfo: PageInfo!
@@ -7297,6 +7297,7 @@ type AgreementSellers implements Node & ObjectWithMetadata {
7297
7297
  seller: Seller!
7298
7298
  acknowledgedOn: DateTime
7299
7299
  plan: Agreement
7300
+ effectiveAt: DateTime!
7300
7301
 
7301
7302
  """
7302
7303
  List of private metadata items.Requires proper staff permissions to access.
@@ -7436,6 +7437,23 @@ enum FeeScope {
7436
7437
  TOTAL
7437
7438
  }
7438
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
+
7439
7457
  """Represents a microsite of products."""
7440
7458
  type Microsite implements Node & ObjectWithMetadata {
7441
7459
  """The ID of the object"""
@@ -7850,7 +7868,6 @@ enum CountryCode {
7850
7868
  EE
7851
7869
  SZ
7852
7870
  ET
7853
- EU
7854
7871
  FK
7855
7872
  FO
7856
7873
  FJ
@@ -13930,7 +13947,7 @@ type Mutation {
13930
13947
  description: String
13931
13948
 
13932
13949
  """
13933
- 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-tar, image/eps, image/png, application/pdf, image/x-tiff, application/eps, application/msword, application/vnd.ms-powerpoint, application/x-rtf, text/rtf, application/vnd.oasis.opendocument.presentation, text/pdf, drawing/x-dwf, application/acrobat, text/x-comma-separated-values, application/x-autocad, application/gzip, application/x-acad, application/x-tif, image/webp, image/dxf, image/vnd.dwg, application/gzipped, image/x-dxf, application/tiff, text/csv, application/vnd.oasis.opendocument.spreadsheet, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/jpeg, image/x-bmp, image/svg, image/x-eps, image/heif-sequence, image/heif, application/x-rar, image/x-tif, image/bmp, application/vnd.oasis.opendocument.text, application/tif, application/vnd.ms-excel, image/heic, application/acad, application/dxf, image/tif, image/x-dwg, pplication/vnd.rar, application/csv, image/gif, application/x-jpg, application/vnd.openxmlformats-officedocument.presentationml.presentation, image/svg+xml, application/jpg, image/tiff, drawing/x-dwg, text/svg, image/x-ms-bmp, application/svg+xml, drawing/dwg, application/dwg, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/zip, application/x-rar-compressed, text/comma-separated-values, image/jpg, application/x-pdf, text/svg-xml, application/gzip-compressed, application/vnd.ms-word, application/x-csv, text/x-csv, application/x-tiff, application/x-eps, application/vnd.pdf, text/plain, application/excel, application/postscript, image/heic-sequence, application/x-dwg, application/x-gzip, application/rtf, application/x-zip-compressed, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/x-dxf, text/x-pdf.
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.
13934
13951
  """
13935
13952
  file: Upload!
13936
13953
 
@@ -14456,6 +14473,18 @@ type Mutation {
14456
14473
  id: ID!
14457
14474
  ): SellerAgreementAcknowledge
14458
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
+
14459
14488
  """
14460
14489
  Create new Seller and a new staff user and assign created user as Seller owner.
14461
14490
  """
@@ -18796,6 +18825,29 @@ type SellerAgreementAcknowledge {
18796
18825
  agreementErrors: [AgreementError!]!
18797
18826
  }
18798
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
+
18799
18851
  """
18800
18852
  Create new Seller and a new staff user and assign created user as Seller owner.
18801
18853
  """
@@ -18885,6 +18937,10 @@ input SellerInput {
18885
18937
  slug: String
18886
18938
  identifiers: [String!]
18887
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
+ """
18888
18944
  plan: ID
18889
18945
 
18890
18946
  """
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.47.0",
3
+ "version": "v1.47.1",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {