@nautical-commerce/graphql-schema 1.56.1-26-g15fe94756 → 1.56.1-28-g7c4d5e807

Sign up to get free protection for your applications and to get access to all the features.
@@ -7400,10 +7400,18 @@ type Agreement implements Node & ObjectWithMetadata {
7400
7400
  slug: String!
7401
7401
  title: String!
7402
7402
  vendorType: AgreementVendorType!
7403
- commissionType: AgreementCommissionType!
7403
+
7404
+ """Commission type"""
7405
+ commissionType: CommissionTypeEnum! @deprecated(reason: "Markup commissions will be removed on January 23, 2025.")
7404
7406
  defaultCommission: Decimal!
7405
- markupCommissionType: AgreementMarkupCommissionType!
7406
- markupCommissionValue: Decimal!
7407
+
7408
+ """Markup commission type"""
7409
+ markupCommissionType: MarkupCommissionTypeEnum! @deprecated(reason: "Markup commissions will be removed on January 23, 2025.")
7410
+
7411
+ """
7412
+ If a markup commission is selected, this is the amount of the commission.
7413
+ """
7414
+ markupCommissionValue: Decimal @deprecated(reason: "Markup commissions will be removed on January 23, 2025.")
7407
7415
  agreementType: AgreementAgreementType!
7408
7416
  isActive: Boolean
7409
7417
 
@@ -7432,8 +7440,7 @@ enum AgreementVendorType {
7432
7440
  AFFILIATE
7433
7441
  }
7434
7442
 
7435
- """An enumeration."""
7436
- enum AgreementCommissionType {
7443
+ enum CommissionTypeEnum {
7437
7444
  """Gross Price Commission"""
7438
7445
  MARKETPLACE
7439
7446
 
@@ -7444,8 +7451,7 @@ enum AgreementCommissionType {
7444
7451
  DROPSHIPPING
7445
7452
  }
7446
7453
 
7447
- """An enumeration."""
7448
- enum AgreementMarkupCommissionType {
7454
+ enum MarkupCommissionTypeEnum {
7449
7455
  """Percentage"""
7450
7456
  PERCENTAGE
7451
7457
  }
@@ -13904,7 +13910,7 @@ type Mutation {
13904
13910
  description: String
13905
13911
 
13906
13912
  """
13907
- Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: text/rtf, image/webp, application/dwg, application/x-rar, application/x-rar-compressed, pplication/vnd.rar, application/vnd.ms-powerpoint, drawing/x-dwf, application/x-dxf, application/gzipped, image/jpeg, application/acad, image/heif-sequence, application/x-zip-compressed, image/tiff, application/x-acad, application/excel, text/svg, image/x-dwg, text/pdf, text/x-pdf, image/gif, application/x-dwg, image/x-ms-bmp, image/x-eps, image/x-bmp, image/eps, application/gzip-compressed, image/svg+xml, text/csv, application/vnd.openxmlformats-officedocument.presentationml.presentation, image/x-tiff, application/x-jpg, image/x-tif, application/tif, application/x-csv, text/x-csv, image/dxf, image/bmp, image/heic-sequence, drawing/dwg, application/x-tif, application/x-tiff, application/vnd.oasis.opendocument.presentation, application/tiff, image/tif, application/x-eps, text/svg-xml, application/x-autocad, application/x-pdf, application/jpg, text/comma-separated-values, application/vnd.ms-excel, image/png, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/msword, application/csv, image/vnd.dwg, application/vnd.ms-word, text/plain, application/gzip, application/postscript, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/eps, image/jpg, image/heic, application/vnd.pdf, application/rtf, application/zip, application/dxf, application/x-gzip, text/x-comma-separated-values, application/x-tar, image/x-dxf, image/svg, application/svg+xml, image/heif, application/vnd.oasis.opendocument.text, application/acrobat, application/x-rtf, application/vnd.oasis.opendocument.spreadsheet, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/pdf, drawing/x-dwg.
13913
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/rtf, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/dwg, pplication/vnd.rar, application/vnd.openxmlformats-officedocument.presentationml.slideshow, image/heif-sequence, image/webp, image/tiff, image/dxf, application/zip, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/gzip-compressed, application/x-csv, application/acrobat, application/vnd.ms-powerpoint, image/x-ms-bmp, application/vnd.oasis.opendocument.presentation, text/x-csv, application/x-rar-compressed, application/x-tiff, image/x-tiff, application/postscript, application/vnd.oasis.opendocument.text, text/csv, application/jpg, application/x-tif, image/x-dxf, application/x-gzip, application/vnd.pdf, image/gif, image/heic-sequence, application/x-eps, application/x-pdf, application/csv, text/x-comma-separated-values, application/svg+xml, application/eps, image/heic, application/gzip, text/comma-separated-values, application/vnd.oasis.opendocument.spreadsheet, text/plain, image/svg+xml, drawing/x-dwf, application/vnd.ms-word, drawing/x-dwg, application/x-jpg, image/jpeg, application/x-autocad, image/x-eps, image/tif, application/x-rtf, application/tif, image/x-bmp, application/x-dxf, application/x-tar, application/x-acad, application/pdf, image/bmp, application/excel, application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.presentationml.presentation, image/svg, image/eps, text/pdf, image/heif, application/acad, application/gzipped, image/x-dwg, application/dxf, text/svg, image/png, text/svg-xml, text/x-pdf, application/x-rar, application/tiff, image/vnd.dwg, application/x-zip-compressed, image/jpg, application/x-dwg, drawing/dwg, application/msword, image/x-tif, text/rtf.
13908
13914
  """
13909
13915
  file: Upload!
13910
13916
 
@@ -18644,22 +18650,6 @@ enum VendorTypeEnum {
18644
18650
  AFFILIATE
18645
18651
  }
18646
18652
 
18647
- enum CommissionTypeEnum {
18648
- """Gross Price Commission"""
18649
- MARKETPLACE
18650
-
18651
- """Markup Commission"""
18652
- WHOLESALE
18653
-
18654
- """Absolute Price Commission"""
18655
- DROPSHIPPING
18656
- }
18657
-
18658
- enum MarkupCommissionTypeEnum {
18659
- """Percentage"""
18660
- PERCENTAGE
18661
- }
18662
-
18663
18653
  """Deletes a agreement."""
18664
18654
  type AgreementDelete {
18665
18655
  agreementErrors: [AgreementError!]!
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.56.1-26-g15fe94756",
3
+ "version": "v1.56.1-28-g7c4d5e807",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {