@nautical-commerce/graphql-schema 1.99.3-5-g6764b12f1 → 2.0.0-1-g0a7128528

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.
@@ -5809,6 +5809,11 @@ type Order implements Node & ObjectWithMetadata {
5809
5809
 
5810
5810
  """Voucher discount for the order"""
5811
5811
  voucherDiscount: Money
5812
+
5813
+ """
5814
+ Financial snapshot for the order taken at the time of order finalization.
5815
+ """
5816
+ financials: FinancialsSnapshot
5812
5817
  }
5813
5818
 
5814
5819
  """An enumeration."""
@@ -6580,6 +6585,64 @@ type ValidationStatus {
6580
6585
  variant: ID
6581
6586
  }
6582
6587
 
6588
+ type FinancialsSnapshot {
6589
+ """Default commission for the order"""
6590
+ defaultCommission: PositiveDecimal
6591
+
6592
+ """Granular commissions for the order"""
6593
+ granularCommissions: [FinancialsCategoryCommission!]
6594
+
6595
+ """Agreement fees for the order"""
6596
+ fees: [FinancialsFee!]
6597
+ }
6598
+
6599
+ """
6600
+ Positive Decimal scalar implementation.
6601
+
6602
+ Should be used in places where value must be positive.
6603
+ """
6604
+ scalar PositiveDecimal
6605
+
6606
+ type FinancialsCategoryCommission {
6607
+ """Commission applied to products in this category for this order"""
6608
+ commission: PositiveDecimal
6609
+
6610
+ """ID of the commission"""
6611
+ id: String
6612
+
6613
+ """Category this commission applies to"""
6614
+ relatedObject: CategoryIdentity
6615
+ }
6616
+
6617
+ """GraphQL type for CategoryIdentitySchema"""
6618
+ type CategoryIdentity {
6619
+ """ID of the category"""
6620
+ id: String
6621
+
6622
+ """Name of the category"""
6623
+ name: String
6624
+
6625
+ """Slug of the category"""
6626
+ slug: String
6627
+ }
6628
+
6629
+ type FinancialsFee {
6630
+ """Name of the fee"""
6631
+ feeName: String
6632
+
6633
+ """Scope of the fee"""
6634
+ feeScope: String
6635
+
6636
+ """Type of the fee"""
6637
+ feeType: String
6638
+
6639
+ """Amount of the fee"""
6640
+ feeValue: PositiveDecimal
6641
+
6642
+ """ID of the fee"""
6643
+ id: String
6644
+ }
6645
+
6583
6646
  """An enumeration."""
6584
6647
  enum FulfillmentStatus {
6585
6648
  """Fulfilled"""
@@ -7172,13 +7235,6 @@ type ProductDimensions {
7172
7235
  unit: LengthUnitsStrEnum
7173
7236
  }
7174
7237
 
7175
- """
7176
- Positive Decimal scalar implementation.
7177
-
7178
- Should be used in places where value must be positive.
7179
- """
7180
- scalar PositiveDecimal
7181
-
7182
7238
  type WarningMessageItem {
7183
7239
  """Code of the warning message."""
7184
7240
  code: ProductWarningEnum!
@@ -11874,7 +11930,7 @@ type Mutation {
11874
11930
  description: String
11875
11931
 
11876
11932
  """
11877
- Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: image/heif-sequence, application/x-zip-compressed, text/csv, application/msword, text/comma-separated-values, text/svg-xml, application/dwg, image/tif, application/vnd.oasis.opendocument.text, image/eps, image/x-tiff, application/vnd.pdf, image/x-ms-bmp, image/bmp, image/svg, image/heif, application/vnd.openxmlformats-officedocument.presentationml.slideshow, image/jpeg, application/svg+xml, application/gzip, image/heic-sequence, text/plain, image/svg+xml, application/jpg, drawing/x-dwg, application/x-rar, image/heic, application/vnd.ms-excel, drawing/dwg, application/x-tiff, application/tiff, drawing/x-dwf, application/x-jpg, text/x-comma-separated-values, application/x-gzip, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/dxf, text/x-pdf, application/vnd.ms-powerpoint, application/zip, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/gzipped, application/x-rar-compressed, image/webp, image/gif, application/vnd.openxmlformats-officedocument.presentationml.presentation, image/dxf, text/pdf, application/acad, application/postscript, application/x-eps, application/x-rtf, image/tiff, image/x-tif, image/x-dxf, application/x-autocad, image/x-bmp, image/vnd.dwg, application/vnd.oasis.opendocument.spreadsheet, text/rtf, application/x-dxf, application/acrobat, application/eps, application/rtf, application/excel, application/pdf, image/jpg, image/x-eps, application/gzip-compressed, image/x-dwg, application/vnd.oasis.opendocument.presentation, text/svg, application/x-csv, application/x-pdf, application/csv, application/x-tar, application/x-acad, image/png, application/tif, application/x-tif, text/x-csv, application/x-dwg, application/vnd.ms-word, pplication/vnd.rar.
11933
+ 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-zip-compressed, text/svg, application/x-tiff, application/x-dwg, application/svg+xml, application/vnd.ms-word, image/svg, image/x-eps, application/vnd.ms-powerpoint, application/gzip, application/x-rar, application/x-tif, application/zip, image/heic-sequence, application/x-rar-compressed, text/pdf, application/vnd.oasis.opendocument.text, image/heif-sequence, image/x-dwg, application/vnd.openxmlformats-officedocument.wordprocessingml.document, drawing/x-dwf, application/postscript, image/jpg, application/x-tar, application/jpg, application/x-jpg, application/vnd.ms-excel, image/x-ms-bmp, application/tiff, image/x-tiff, text/rtf, image/heif, image/eps, application/x-autocad, application/x-acad, application/excel, application/gzip-compressed, image/x-dxf, drawing/dwg, text/x-csv, application/tif, text/svg-xml, application/vnd.openxmlformats-officedocument.presentationml.presentation, image/x-tif, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, image/tiff, image/bmp, image/tif, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/dwg, application/msword, text/csv, application/dxf, application/x-dxf, application/x-csv, application/gzipped, pplication/vnd.rar, text/comma-separated-values, image/vnd.dwg, application/x-pdf, image/png, image/x-bmp, image/svg+xml, application/rtf, application/vnd.pdf, image/jpeg, application/x-eps, drawing/x-dwg, application/eps, image/heic, image/webp, application/vnd.oasis.opendocument.spreadsheet, application/acrobat, application/csv, application/vnd.oasis.opendocument.presentation, application/x-rtf, application/acad, application/pdf, image/dxf, text/x-comma-separated-values, text/plain, image/gif, text/x-pdf, application/x-gzip.
11878
11934
  """
11879
11935
  file: Upload!
11880
11936
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.99.3-5-g6764b12f1",
3
+ "version": "v2.0.0-1-g0a7128528",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {