@nautical-commerce/graphql-schema 1.78.0-22-gaebd48aba → 1.78.0-24-g6509089d5

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.
@@ -480,19 +480,6 @@ type Query {
480
480
  """Return the last n elements from the list."""
481
481
  last: Int
482
482
  ): AgreementCountableConnection @deprecated(reason: "This will be removed on April 29, 2025.")
483
- sellerListCards(period: ReportingPeriod!, identifier: ID): SellerCards @deprecated(reason: "This will be removed on April 16, 2025")
484
- sellerDetailCards(period: ReportingPeriod!, identifier: ID!): SellerDetailCards @deprecated(reason: "This will be removed on April 16, 2025")
485
-
486
- """Number of new sellers created in given period."""
487
- newSellers(period: ReportingPeriod!): Int @deprecated(reason: "This will be removed on April 16, 2025")
488
-
489
- """Number of orders placed by sellers in given period."""
490
- sellerOrders(period: ReportingPeriod!, identifier: ID): Int @deprecated(reason: "This will be removed on April 16, 2025")
491
-
492
- """
493
- Return the total commissions earned across all sellers for the given period.
494
- """
495
- sellerCommissions(period: ReportingPeriod!, identifier: ID): Money @deprecated(reason: "This will be removed on April 16, 2025")
496
483
 
497
484
  """Look up an refund by ID."""
498
485
  refund(
@@ -7029,9 +7016,6 @@ enum OrderPayoutStatusEnum {
7029
7016
  """Ready for payout"""
7030
7017
  READY_FOR_PAYOUT
7031
7018
 
7032
- """Pending final payout"""
7033
- PENDING_FINAL_PAYOUT @deprecated(reason: "This will be removed on February 26, 2025")
7034
-
7035
7019
  """Paid out"""
7036
7020
  PAID_OUT
7037
7021
 
@@ -8953,23 +8937,6 @@ type AgreementCountableEdge {
8953
8937
  cursor: String!
8954
8938
  }
8955
8939
 
8956
- type SellerCards {
8957
- newSellers: Int
8958
- sellerOrders: Int
8959
- sellerCommissions: Money
8960
- }
8961
-
8962
- enum ReportingPeriod {
8963
- TODAY
8964
- THIS_MONTH
8965
- }
8966
-
8967
- type SellerDetailCards {
8968
- sellerOrders: Int
8969
- sellerCommissions: Money
8970
- sellerSales: TaxedMoney
8971
- }
8972
-
8973
8940
  type RefundCountableConnection {
8974
8941
  """Pagination data for this connection."""
8975
8942
  pageInfo: PageInfo!
@@ -9259,6 +9226,11 @@ enum ProductTypeSortField {
9259
9226
  EXTERNAL_SOURCE
9260
9227
  }
9261
9228
 
9229
+ enum ReportingPeriod {
9230
+ TODAY
9231
+ THIS_MONTH
9232
+ }
9233
+
9262
9234
  type PriceBookCountableConnection {
9263
9235
  """Pagination data for this connection."""
9264
9236
  pageInfo: PageInfo!
@@ -12787,7 +12759,7 @@ type Mutation {
12787
12759
  description: String
12788
12760
 
12789
12761
  """
12790
- 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-tif, image/x-dwg, application/vnd.ms-word, image/heic-sequence, application/x-pdf, application/acad, application/gzipped, image/x-tif, image/gif, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/vnd.oasis.opendocument.spreadsheet, application/tiff, image/heif, application/vnd.pdf, image/x-dxf, image/x-bmp, application/svg+xml, application/x-dwg, application/acrobat, image/jpeg, image/tiff, text/csv, pplication/vnd.rar, application/rtf, application/x-csv, application/pdf, image/dxf, application/x-rtf, drawing/x-dwg, text/x-csv, image/jpg, application/x-autocad, application/vnd.ms-excel, text/x-comma-separated-values, application/msword, application/vnd.ms-powerpoint, application/dxf, application/x-tiff, application/x-gzip, image/bmp, image/vnd.dwg, image/svg, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/csv, application/gzip, image/eps, application/zip, application/excel, application/x-zip-compressed, application/x-rar-compressed, application/gzip-compressed, image/webp, image/tif, text/rtf, image/heif-sequence, text/svg-xml, image/x-tiff, image/x-ms-bmp, application/x-acad, application/jpg, application/x-rar, application/x-jpg, text/pdf, text/svg, application/vnd.oasis.opendocument.presentation, text/plain, text/x-pdf, drawing/dwg, image/heic, application/x-eps, application/vnd.oasis.opendocument.text, application/eps, image/png, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/x-eps, application/vnd.openxmlformats-officedocument.presentationml.presentation, text/comma-separated-values, application/tif, application/dwg, application/x-dxf, image/svg+xml, drawing/x-dwf, application/x-tar, application/postscript.
12762
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: image/svg+xml, application/vnd.ms-excel, text/rtf, image/png, image/gif, text/comma-separated-values, application/x-dxf, text/x-csv, application/vnd.pdf, image/tiff, application/dwg, application/x-tif, application/gzip, drawing/dwg, image/x-bmp, application/eps, application/zip, drawing/x-dwg, text/pdf, application/vnd.ms-word, image/webp, image/dxf, application/x-tiff, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/vnd.oasis.opendocument.text, image/x-dxf, application/x-zip-compressed, application/rtf, application/dxf, pplication/vnd.rar, application/excel, application/svg+xml, text/csv, application/x-jpg, application/vnd.oasis.opendocument.spreadsheet, application/vnd.openxmlformats-officedocument.presentationml.presentation, image/jpg, text/svg, application/x-dwg, application/x-rar-compressed, image/eps, application/x-csv, application/acrobat, application/x-pdf, image/heic-sequence, application/vnd.ms-powerpoint, application/x-rtf, application/x-rar, application/pdf, application/msword, application/postscript, application/vnd.oasis.opendocument.presentation, application/x-eps, text/x-pdf, application/x-gzip, application/x-acad, image/heic, image/vnd.dwg, image/x-eps, application/jpg, image/bmp, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/tif, image/heif, application/acad, application/gzipped, application/tiff, image/x-tiff, application/gzip-compressed, image/x-dwg, image/heif-sequence, application/x-autocad, application/x-tar, image/x-tif, text/svg-xml, application/csv, text/x-comma-separated-values, drawing/x-dwf, image/x-ms-bmp, application/tif, text/plain, image/jpeg, image/svg.
12791
12763
  """
12792
12764
  file: Upload!
12793
12765
 
@@ -14326,12 +14298,6 @@ type Mutation {
14326
14298
  input: NauticalDraftOrderCreateInput!
14327
14299
  ): NauticalDraftOrderCreate
14328
14300
 
14329
- """Creates a new Nautical historical order."""
14330
- nauticalHistoricalOrderCreate(
14331
- """Fields required to create an historical order."""
14332
- input: NauticalHistoricalOrderInput!
14333
- ): NauticalHistoricalOrderCreate @deprecated(reason: "This mutation will be removed on February 18, 2025")
14334
-
14335
14301
  """Deletes a draft order."""
14336
14302
  draftOrderDelete(
14337
14303
  """ID of a draft or quote order to delete."""
@@ -14677,13 +14643,6 @@ type Mutation {
14677
14643
  input: NauticalOrderUpdateInput!
14678
14644
  ): NauticalOrderUpdate
14679
14645
 
14680
- """Modifies the payout status of an order"""
14681
- orderPayoutStatusUpdate(
14682
- """Target order id."""
14683
- id: ID!
14684
- input: OrderPayoutStatusUpdateInput!
14685
- ): OrderPayoutStatusUpdate @deprecated(reason: "This will be removed on February 26, 2025.")
14686
-
14687
14646
  """Updates a shipping method of the order."""
14688
14647
  orderUpdateShipping(
14689
14648
  """ID of the order to update a shipping method."""
@@ -14751,22 +14710,18 @@ type Mutation {
14751
14710
 
14752
14711
  """Sends a quote order to a customer."""
14753
14712
  nauticalQuoteOrderSendToCustomer(
14754
- """
14755
- ID of the order (nautical or seller order, with Quote status) to send to the customer.
14756
- """
14713
+ """ID of the nautical order (with Quote status) to send to the customer."""
14757
14714
  id: ID!
14758
14715
 
14759
14716
  """
14760
14717
  URL to send customer to for quote confirmation. Whatever URL is sent will have `token` added to the search parameters of the URL, e.g. if you send http://localhost/quote, the generated URL will be http://localhost/quote?token=...
14761
14718
  """
14762
14719
  storefrontUrl: String!
14763
- ): NauticalQuoteOrderSendToCustomer @deprecated(reason: "The ability to send Order IDs will be removed on February 26, 2025. This will be removed on June 11, 2025.")
14720
+ ): NauticalQuoteOrderSendToCustomer @deprecated(reason: "This will be removed on June 11, 2025.")
14764
14721
 
14765
14722
  """Sends a quote order to a customer."""
14766
14723
  nauticalDraftOrderSendToCustomer(
14767
- """
14768
- ID of the order (nautical or seller order, with Quote status) to send to the customer.
14769
- """
14724
+ """ID of the nautical order (with Quote status) to send to the customer."""
14770
14725
  id: ID!
14771
14726
 
14772
14727
  """
@@ -20295,78 +20250,6 @@ input NauticalDraftOrderCreateInput {
20295
20250
  transactionCurrency: String
20296
20251
  }
20297
20252
 
20298
- """Creates a new Nautical historical order."""
20299
- type NauticalHistoricalOrderCreate {
20300
- orderErrors: [OrderError!]!
20301
- nauticalOrder: NauticalOrder
20302
- }
20303
-
20304
- input NauticalHistoricalOrderInput {
20305
- """Billing address of the customer."""
20306
- billingAddress: AddressInput
20307
-
20308
- """Shipping address of the customer."""
20309
- shippingAddress: AddressInput
20310
-
20311
- """Customer associated with the draft order."""
20312
- user: ID
20313
-
20314
- """Email address of the customer."""
20315
- userEmail: String
20316
-
20317
- """Discount amount for the order."""
20318
- discount: PositiveDecimal
20319
-
20320
- """Shipping price without taxes."""
20321
- shippingPriceNetAmount: PositiveDecimal
20322
-
20323
- """Shipping price with taxes."""
20324
- shippingPriceGrossAmount: PositiveDecimal
20325
-
20326
- """Total price without taxes."""
20327
- totalNetAmount: PositiveDecimal
20328
-
20329
- """Total price with taxes."""
20330
- totalGrossAmount: PositiveDecimal
20331
-
20332
- """Currency code."""
20333
- currency: String
20334
-
20335
- """A note from a customer. Visible by customers in the order summary."""
20336
- customerNote: String
20337
-
20338
- """Variant line input consisting of variant ID and quantity of products."""
20339
- lines: [HistoricalOrderLineInput!]
20340
- seller: ID
20341
-
20342
- """Created date time of historical order in ISO 8601 format."""
20343
- created: DateTime
20344
-
20345
- """Order ID in the external source."""
20346
- externalId: String
20347
- externalInventoryId: String
20348
-
20349
- """External source name."""
20350
- externalSource: String
20351
- }
20352
-
20353
- input HistoricalOrderLineInput {
20354
- """Number of variant items ordered."""
20355
- quantity: Int!
20356
-
20357
- """Product variant ID."""
20358
- variantId: ID!
20359
-
20360
- """Total price without taxes."""
20361
- unitPriceNetAmount: PositiveDecimal
20362
-
20363
- """Total price with taxes."""
20364
- unitPriceGrossAmount: PositiveDecimal
20365
-
20366
- """Order ID in the external source."""
20367
- externalId: String
20368
- }
20369
-
20370
20253
  """Deletes a draft order."""
20371
20254
  type DraftOrderDelete {
20372
20255
  orderErrors: [OrderError!]!
@@ -20955,17 +20838,6 @@ input NauticalOrderUpdateInput {
20955
20838
  poNumbers: [String!]
20956
20839
  }
20957
20840
 
20958
- """Modifies the payout status of an order"""
20959
- type OrderPayoutStatusUpdate {
20960
- """Order that was updated."""
20961
- order: Order
20962
- orderErrors: [OrderError!]!
20963
- }
20964
-
20965
- input OrderPayoutStatusUpdateInput {
20966
- payoutStatus: OrderPayoutStatusEnum!
20967
- }
20968
-
20969
20841
  """Updates a shipping method of the order."""
20970
20842
  type OrderUpdateShipping {
20971
20843
  """Order with updated shipping method."""
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.78.0-22-gaebd48aba",
3
+ "version": "v1.78.0-24-g6509089d5",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {