@nautical-commerce/graphql-schema 1.68.0-8-g7894297fe → 1.68.0

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.
@@ -4745,7 +4745,7 @@ type Permission {
4745
4745
  enum PermissionEnum {
4746
4746
  MANAGE_USERS
4747
4747
  MANAGE_STAFF
4748
- MANAGE_PERMISSIONS @deprecated(reason: "This will be removed on April 23, 2025.")
4748
+ MANAGE_PERMISSIONS
4749
4749
  MANAGE_APPS
4750
4750
  MANAGE_DISCOUNTS
4751
4751
  MANAGE_DOCUMENTS
@@ -7080,7 +7080,18 @@ type Agreement implements Node {
7080
7080
  seoDescription: String
7081
7081
  slug: String!
7082
7082
  title: String!
7083
+
7084
+ """Commission type"""
7085
+ commissionType: CommissionTypeEnum! @deprecated(reason: "Markup commissions will be removed on January 23, 2025.")
7083
7086
  defaultCommission: Decimal!
7087
+
7088
+ """Markup commission type"""
7089
+ markupCommissionType: MarkupCommissionTypeEnum! @deprecated(reason: "Markup commissions will be removed on January 23, 2025.")
7090
+
7091
+ """
7092
+ If a markup commission is selected, this is the amount of the commission.
7093
+ """
7094
+ markupCommissionValue: Decimal @deprecated(reason: "Markup commissions will be removed on January 23, 2025.")
7084
7095
  isActive: Boolean
7085
7096
 
7086
7097
  """List of granular commissions associated with the agreement."""
@@ -7091,6 +7102,22 @@ type Agreement implements Node {
7091
7102
  fees: [AgreementFees!]!
7092
7103
  }
7093
7104
 
7105
+ enum CommissionTypeEnum {
7106
+ """Gross Price Commission"""
7107
+ MARKETPLACE
7108
+
7109
+ """Markup Commission"""
7110
+ WHOLESALE
7111
+
7112
+ """Absolute Price Commission"""
7113
+ DROPSHIPPING
7114
+ }
7115
+
7116
+ enum MarkupCommissionTypeEnum {
7117
+ """Percentage"""
7118
+ PERCENTAGE
7119
+ }
7120
+
7094
7121
  """An agreement commission"""
7095
7122
  type AgreementCommission implements Node {
7096
7123
  """The ID of the object"""
@@ -13190,7 +13217,7 @@ type Mutation {
13190
13217
  description: String
13191
13218
 
13192
13219
  """
13193
- Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/vnd.oasis.opendocument.text, application/pdf, image/heic-sequence, application/vnd.pdf, text/rtf, application/x-dwg, application/x-dxf, drawing/x-dwf, drawing/dwg, application/vnd.ms-word, text/x-csv, text/x-comma-separated-values, application/x-rar-compressed, application/tif, text/svg-xml, application/x-eps, image/svg+xml, image/x-bmp, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.oasis.opendocument.spreadsheet, image/dxf, application/svg+xml, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/x-rtf, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.oasis.opendocument.presentation, application/eps, application/x-tif, image/gif, application/gzipped, application/vnd.openxmlformats-officedocument.presentationml.slideshow, image/tif, application/zip, application/tiff, application/rtf, application/gzip-compressed, application/dxf, image/eps, image/x-tiff, text/svg, image/tiff, pplication/vnd.rar, image/webp, application/msword, text/x-pdf, image/heif-sequence, application/x-pdf, image/bmp, application/acrobat, image/x-dxf, drawing/x-dwg, application/x-csv, application/x-autocad, image/vnd.dwg, application/x-tar, text/csv, text/plain, image/heif, image/svg, application/jpg, application/x-acad, text/pdf, text/comma-separated-values, application/x-jpg, application/vnd.ms-excel, application/vnd.ms-powerpoint, image/x-tif, application/postscript, image/jpeg, image/png, image/x-eps, application/excel, application/x-rar, application/dwg, image/jpg, application/csv, application/x-tiff, application/gzip, image/x-ms-bmp, image/heic, application/x-gzip, application/acad, application/x-zip-compressed, image/x-dwg.
13220
+ 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-rar, application/x-dxf, application/x-autocad, image/tif, application/x-tiff, application/gzip, application/pdf, application/x-csv, pplication/vnd.rar, application/svg+xml, application/x-eps, image/heif-sequence, application/x-tif, text/x-pdf, application/zip, application/x-pdf, text/svg-xml, application/acrobat, application/vnd.openxmlformats-officedocument.wordprocessingml.document, text/pdf, text/csv, image/svg+xml, application/acad, text/comma-separated-values, application/dwg, application/x-gzip, image/x-tif, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/x-dwg, image/heic-sequence, image/x-dxf, image/jpeg, image/bmp, application/postscript, application/vnd.ms-powerpoint, application/x-rar-compressed, image/heif, application/dxf, application/excel, drawing/x-dwg, application/x-acad, image/x-bmp, application/vnd.oasis.opendocument.presentation, application/vnd.oasis.opendocument.spreadsheet, image/vnd.dwg, text/x-csv, application/x-rtf, application/vnd.oasis.opendocument.text, image/x-ms-bmp, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/msword, application/jpg, application/tif, image/heic, image/svg, drawing/x-dwf, application/tiff, application/vnd.ms-excel, image/dxf, application/rtf, application/csv, application/vnd.pdf, image/tiff, image/eps, application/x-jpg, image/jpg, image/x-eps, image/x-tiff, application/x-zip-compressed, application/vnd.ms-word, image/gif, application/vnd.openxmlformats-officedocument.presentationml.slideshow, text/rtf, image/png, application/gzipped, text/plain, drawing/dwg, application/eps, application/x-tar, image/x-dwg, image/webp, text/svg, application/gzip-compressed, text/x-comma-separated-values.
13194
13221
  """
13195
13222
  file: Upload!
13196
13223
 
@@ -15454,6 +15481,11 @@ type Mutation {
15454
15481
 
15455
15482
  """ID of the vendor to retrieve an onboarding link for"""
15456
15483
  vendorId: ID!
15484
+
15485
+ """
15486
+ Whether the vendor to retrieve an onboarding link for is a SELLER or an AFFILIATE
15487
+ """
15488
+ vendorType: String @deprecated(reason: "This will be removed on January 24, 2025.")
15457
15489
  ): VendorPayoutOnboardingLinkRequest
15458
15490
 
15459
15491
  """
@@ -15609,6 +15641,9 @@ type Mutation {
15609
15641
  """Checkout ID."""
15610
15642
  checkoutId: ID!
15611
15643
 
15644
+ """ID of microsite that checkout was completed from"""
15645
+ microsite: ID @deprecated(reason: "This will be removed on January 24, 2025.")
15646
+
15612
15647
  """Client-side generated data required to finalize the payment."""
15613
15648
  paymentData: JSONString
15614
15649
 
@@ -16735,6 +16770,9 @@ enum PayoutErrorCode {
16735
16770
  }
16736
16771
 
16737
16772
  input PayoutCreateInput {
16773
+ """Vendor type for the payout"""
16774
+ vendorType: String @deprecated(reason: "This will be removed on January 24, 2025")
16775
+
16738
16776
  """
16739
16777
  Payout end date. ISO 8601 standard. Can not be greater than current date.
16740
16778
  """
@@ -17059,13 +17097,13 @@ input AgreementInput {
17059
17097
  updatedAt: String
17060
17098
 
17061
17099
  """Gross Price, Markup, Absolute etc"""
17062
- commissionType: CommissionTypeEnum @deprecated(reason: "This will be removed on April 23, 2025.")
17100
+ commissionType: CommissionTypeEnum
17063
17101
 
17064
17102
  """Percentage by default"""
17065
- markupCommissionType: MarkupCommissionTypeEnum @deprecated(reason: "This will be removed on April 23, 2025.")
17103
+ markupCommissionType: MarkupCommissionTypeEnum
17066
17104
 
17067
17105
  """Markup commission percentage for all items"""
17068
- markupCommissionValue: Decimal @deprecated(reason: "This will be removed on April 23, 2025.")
17106
+ markupCommissionValue: Decimal
17069
17107
  }
17070
17108
 
17071
17109
  input SeoInput {
@@ -17076,22 +17114,6 @@ input SeoInput {
17076
17114
  description: String
17077
17115
  }
17078
17116
 
17079
- enum CommissionTypeEnum {
17080
- """Gross Price Commission"""
17081
- MARKETPLACE
17082
-
17083
- """Markup Commission"""
17084
- WHOLESALE
17085
-
17086
- """Absolute Price Commission"""
17087
- DROPSHIPPING
17088
- }
17089
-
17090
- enum MarkupCommissionTypeEnum {
17091
- """Percentage"""
17092
- PERCENTAGE
17093
- }
17094
-
17095
17117
  """Deletes a agreement."""
17096
17118
  type AgreementDelete {
17097
17119
  agreementErrors: [AgreementError!]!
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.68.0-8-g7894297fe",
3
+ "version": "v1.68.0",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {