@nautical-commerce/graphql-schema 1.68.0-28-g42a2a15ce → 1.68.0-3-gcf02827eb

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.
@@ -2823,7 +2823,7 @@ type CheckoutLine implements Node & ObjectWithMetadata {
2823
2823
  requiresShipping: Boolean
2824
2824
 
2825
2825
  """User info on the seller's underlying owner."""
2826
- seller: Seller
2826
+ seller: SellerType
2827
2827
 
2828
2828
  """
2829
2829
  The unit price of line which is the discounted price after pricebooks and sale application
@@ -2862,6 +2862,7 @@ type ProductVariant implements Node & ObjectWithMetadata {
2862
2862
  """Whether the product variant is published."""
2863
2863
  isPublished: Boolean!
2864
2864
  overrideCurrency: Boolean!
2865
+ requiresQuote: Boolean!
2865
2866
  allowBackorders: Boolean
2866
2867
 
2867
2868
  """
@@ -2962,15 +2963,11 @@ type ProductVariant implements Node & ObjectWithMetadata {
2962
2963
 
2963
2964
  """List of vouchers associated with the product."""
2964
2965
  vouchers: [Voucher!]!
2965
- requiresQuote: Boolean @deprecated(reason: "This field will be removed on April 25th, 2025.")
2966
2966
 
2967
2967
  """
2968
2968
  The sub status of the product variant. This will be the same as product's sub status.
2969
2969
  """
2970
2970
  subStatus: ProductSubStatusEnum
2971
-
2972
- """Product dimensions."""
2973
- dimensions: ProductDimensions
2974
2971
  }
2975
2972
 
2976
2973
  """An enumeration."""
@@ -3136,9 +3133,6 @@ type Product implements Node & ObjectWithMetadata {
3136
3133
 
3137
3134
  """List of logs for product status changes."""
3138
3135
  productStatusLogs: [ProductStatusLog!]
3139
-
3140
- """Product dimensions."""
3141
- dimensions: ProductDimensions
3142
3136
  }
3143
3137
 
3144
3138
  """
@@ -4751,7 +4745,7 @@ type Permission {
4751
4745
  enum PermissionEnum {
4752
4746
  MANAGE_USERS
4753
4747
  MANAGE_STAFF
4754
- MANAGE_PERMISSIONS @deprecated(reason: "This will be removed on April 23, 2025.")
4748
+ MANAGE_PERMISSIONS
4755
4749
  MANAGE_APPS
4756
4750
  MANAGE_DISCOUNTS
4757
4751
  MANAGE_DOCUMENTS
@@ -7086,7 +7080,18 @@ type Agreement implements Node {
7086
7080
  seoDescription: String
7087
7081
  slug: String!
7088
7082
  title: String!
7083
+
7084
+ """Commission type"""
7085
+ commissionType: CommissionTypeEnum! @deprecated(reason: "Markup commissions will be removed on January 23, 2025.")
7089
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.")
7090
7095
  isActive: Boolean
7091
7096
 
7092
7097
  """List of granular commissions associated with the agreement."""
@@ -7097,6 +7102,22 @@ type Agreement implements Node {
7097
7102
  fees: [AgreementFees!]!
7098
7103
  }
7099
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
+
7100
7121
  """An agreement commission"""
7101
7122
  type AgreementCommission implements Node {
7102
7123
  """The ID of the object"""
@@ -7337,33 +7358,6 @@ type ProductStatusLog implements Node & ObjectWithMetadata {
7337
7358
  metadata: [MetadataItem!]!
7338
7359
  }
7339
7360
 
7340
- """Product or Variant dimensions."""
7341
- type ProductDimensions {
7342
- length: PositiveDecimal
7343
- width: PositiveDecimal
7344
- height: PositiveDecimal
7345
-
7346
- """measurement unit for length, width and height."""
7347
- unit: LengthUnitsStrEnum
7348
- }
7349
-
7350
- """
7351
- Positive Decimal scalar implementation.
7352
-
7353
- Should be used in places where value must be positive.
7354
- """
7355
- scalar PositiveDecimal
7356
-
7357
- "\n String enum counterpart of the LengthUnits.\n "
7358
- enum LengthUnitsStrEnum {
7359
- IN
7360
- FT
7361
- YD
7362
- MM
7363
- CM
7364
- M
7365
- }
7366
-
7367
7361
  """Represents availability of a variant in the storefront."""
7368
7362
  type VariantPricingInfo {
7369
7363
  """Whether it is in sale or not."""
@@ -7735,6 +7729,61 @@ enum StockEventType {
7735
7729
  STOCK_DEALLOCATED
7736
7730
  }
7737
7731
 
7732
+ type SellerType implements Node & ObjectWithMetadata {
7733
+ """The ID of the object"""
7734
+ id: ID!
7735
+
7736
+ """
7737
+ List of private metadata items.Requires proper staff permissions to access.
7738
+ """
7739
+ privateMetadata: [MetadataItem!]!
7740
+
7741
+ """List of public metadata items. Can be accessed without permissions."""
7742
+ metadata: [MetadataItem!]!
7743
+ pk: Int
7744
+ companyName: String
7745
+ owner: UserType
7746
+ }
7747
+
7748
+ type UserType implements Node & ObjectWithMetadata {
7749
+ """The ID of the object"""
7750
+ id: ID!
7751
+
7752
+ """
7753
+ List of private metadata items.Requires proper staff permissions to access.
7754
+ """
7755
+ privateMetadata: [MetadataItem!]!
7756
+
7757
+ """List of public metadata items. Can be accessed without permissions."""
7758
+ metadata: [MetadataItem!]!
7759
+ firstName: String
7760
+ lastName: String
7761
+ email: String
7762
+ defaultShippingAddress: AddressType
7763
+ }
7764
+
7765
+ type AddressType implements Node & ObjectWithMetadata {
7766
+ """The ID of the object"""
7767
+ id: ID!
7768
+
7769
+ """
7770
+ List of private metadata items.Requires proper staff permissions to access.
7771
+ """
7772
+ privateMetadata: [MetadataItem!]!
7773
+
7774
+ """List of public metadata items. Can be accessed without permissions."""
7775
+ metadata: [MetadataItem!]!
7776
+ firstName: String
7777
+ lastName: String
7778
+ streetAddress1: String
7779
+ streetAddress2: String
7780
+ city: String
7781
+ postalCode: String
7782
+ country: String
7783
+ countryArea: String
7784
+ phone: String
7785
+ }
7786
+
7738
7787
  """Represents an shipping method for a particular seller on a checkout."""
7739
7788
  type CheckoutSellerShipping implements Node {
7740
7789
  tenant: Tenant!
@@ -9173,7 +9222,6 @@ input CategoryFilterInput {
9173
9222
  customFields: [AttributeInput!]
9174
9223
  metadata: MetadataFilterInput
9175
9224
  privateMetadata: MetadataFilterInput
9176
- allowProductAssignment: Boolean
9177
9225
  }
9178
9226
 
9179
9227
  input CategorySortingInput {
@@ -9209,7 +9257,6 @@ input CollectionFilterInput {
9209
9257
  privateMetadata: MetadataFilterInput
9210
9258
  isVisible: CollectionVisible
9211
9259
  customFields: [AttributeInput!]
9212
- type: CollectionTypeEnum
9213
9260
  }
9214
9261
 
9215
9262
  enum CollectionPublished {
@@ -10154,6 +10201,13 @@ input StripeClientPaymentData {
10154
10201
  paymentMethodToken: String
10155
10202
  }
10156
10203
 
10204
+ """
10205
+ Positive Decimal scalar implementation.
10206
+
10207
+ Should be used in places where value must be positive.
10208
+ """
10209
+ scalar PositiveDecimal
10210
+
10157
10211
  input AddressInput {
10158
10212
  """Given name."""
10159
10213
  firstName: String
@@ -11581,6 +11635,16 @@ enum FulfillmentModelEnum {
11581
11635
  HYBRID
11582
11636
  }
11583
11637
 
11638
+ "\n String enum counterpart of the LengthUnits.\n "
11639
+ enum LengthUnitsStrEnum {
11640
+ IN
11641
+ FT
11642
+ YD
11643
+ MM
11644
+ CM
11645
+ M
11646
+ }
11647
+
11584
11648
  type EmailEventCountableConnection {
11585
11649
  """Pagination data for this connection."""
11586
11650
  pageInfo: PageInfo!
@@ -13153,7 +13217,7 @@ type Mutation {
13153
13217
  description: String
13154
13218
 
13155
13219
  """
13156
- 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, application/acrobat, text/rtf, drawing/dwg, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/x-autocad, application/x-dxf, image/bmp, application/tiff, application/x-rar, application/csv, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/x-tif, image/x-tif, text/x-comma-separated-values, text/x-pdf, application/x-rar-compressed, application/x-csv, application/x-pdf, image/eps, application/tif, drawing/x-dwg, image/jpeg, text/comma-separated-values, application/gzipped, image/x-tiff, image/x-dwg, application/x-dwg, application/postscript, image/tiff, pplication/vnd.rar, application/x-rtf, image/heic, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/excel, image/png, image/gif, image/heic-sequence, text/csv, image/webp, image/tif, application/dwg, application/vnd.ms-word, application/eps, application/vnd.ms-powerpoint, application/acad, application/dxf, application/gzip-compressed, application/x-zip-compressed, application/vnd.oasis.opendocument.spreadsheet, application/x-jpg, application/vnd.oasis.opendocument.text, image/jpg, image/heif-sequence, application/x-eps, text/svg-xml, image/vnd.dwg, application/vnd.pdf, text/pdf, application/zip, image/dxf, application/jpg, image/heif, application/x-acad, application/svg+xml, drawing/x-dwf, application/msword, text/x-csv, text/svg, application/gzip, application/pdf, image/x-eps, application/rtf, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, image/svg, text/plain, application/x-tiff, application/vnd.oasis.opendocument.presentation, image/svg+xml, application/vnd.ms-excel, image/x-ms-bmp, image/x-bmp, application/x-gzip, image/x-dxf.
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/vnd.openxmlformats-officedocument.presentationml.presentation, application/vnd.openxmlformats-officedocument.presentationml.slideshow, image/png, image/x-tif, image/vnd.dwg, application/x-autocad, image/x-eps, image/tif, text/pdf, image/heif-sequence, application/gzip-compressed, application/x-acad, application/zip, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.oasis.opendocument.spreadsheet, application/pdf, drawing/x-dwf, pplication/vnd.rar, application/acrobat, application/x-tif, image/tiff, text/comma-separated-values, application/svg+xml, text/rtf, application/vnd.ms-word, text/x-comma-separated-values, application/x-rar, application/eps, application/x-eps, application/x-gzip, application/x-dxf, application/vnd.oasis.opendocument.text, application/jpg, image/heic-sequence, image/x-dxf, text/x-pdf, application/msword, application/dxf, image/jpg, application/postscript, text/plain, application/x-dwg, application/rtf, application/x-csv, application/gzipped, application/vnd.oasis.opendocument.presentation, image/jpeg, application/dwg, application/csv, image/x-bmp, text/x-csv, application/vnd.ms-powerpoint, application/vnd.ms-excel, image/dxf, image/svg+xml, application/tiff, image/x-dwg, text/csv, image/x-ms-bmp, application/x-tar, application/x-zip-compressed, application/tif, text/svg-xml, application/vnd.openxmlformats-officedocument.wordprocessingml.document, text/svg, image/eps, image/heif, application/excel, application/acad, image/bmp, image/heic, application/x-jpg, drawing/dwg, application/vnd.pdf, application/x-tiff, image/gif, image/x-tiff, drawing/x-dwg, application/x-pdf, image/svg, image/webp, application/x-rtf, application/x-rar-compressed, application/gzip.
13157
13221
  """
13158
13222
  file: Upload!
13159
13223
 
@@ -15417,6 +15481,11 @@ type Mutation {
15417
15481
 
15418
15482
  """ID of the vendor to retrieve an onboarding link for"""
15419
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.")
15420
15489
  ): VendorPayoutOnboardingLinkRequest
15421
15490
 
15422
15491
  """
@@ -15572,6 +15641,9 @@ type Mutation {
15572
15641
  """Checkout ID."""
15573
15642
  checkoutId: ID!
15574
15643
 
15644
+ """ID of microsite that checkout was completed from"""
15645
+ microsite: ID @deprecated(reason: "This will be removed on January 24, 2025.")
15646
+
15575
15647
  """Client-side generated data required to finalize the payment."""
15576
15648
  paymentData: JSONString
15577
15649
 
@@ -16698,6 +16770,9 @@ enum PayoutErrorCode {
16698
16770
  }
16699
16771
 
16700
16772
  input PayoutCreateInput {
16773
+ """Vendor type for the payout"""
16774
+ vendorType: String @deprecated(reason: "This will be removed on January 24, 2025")
16775
+
16701
16776
  """
16702
16777
  Payout end date. ISO 8601 standard. Can not be greater than current date.
16703
16778
  """
@@ -17022,13 +17097,13 @@ input AgreementInput {
17022
17097
  updatedAt: String
17023
17098
 
17024
17099
  """Gross Price, Markup, Absolute etc"""
17025
- commissionType: CommissionTypeEnum @deprecated(reason: "This will be removed on April 23, 2025.")
17100
+ commissionType: CommissionTypeEnum
17026
17101
 
17027
17102
  """Percentage by default"""
17028
- markupCommissionType: MarkupCommissionTypeEnum @deprecated(reason: "This will be removed on April 23, 2025.")
17103
+ markupCommissionType: MarkupCommissionTypeEnum
17029
17104
 
17030
17105
  """Markup commission percentage for all items"""
17031
- markupCommissionValue: Decimal @deprecated(reason: "This will be removed on April 23, 2025.")
17106
+ markupCommissionValue: Decimal
17032
17107
  }
17033
17108
 
17034
17109
  input SeoInput {
@@ -17039,22 +17114,6 @@ input SeoInput {
17039
17114
  description: String
17040
17115
  }
17041
17116
 
17042
- enum CommissionTypeEnum {
17043
- """Gross Price Commission"""
17044
- MARKETPLACE
17045
-
17046
- """Markup Commission"""
17047
- WHOLESALE
17048
-
17049
- """Absolute Price Commission"""
17050
- DROPSHIPPING
17051
- }
17052
-
17053
- enum MarkupCommissionTypeEnum {
17054
- """Percentage"""
17055
- PERCENTAGE
17056
- }
17057
-
17058
17117
  """Deletes a agreement."""
17059
17118
  type AgreementDelete {
17060
17119
  agreementErrors: [AgreementError!]!
@@ -19239,9 +19298,6 @@ input ProductCreateInput {
19239
19298
  """
19240
19299
  isPriceOverrideAllowed: Boolean
19241
19300
 
19242
- """Product dimensions."""
19243
- dimensions: ProductDimensionsInput
19244
-
19245
19301
  """ID of the seller that product belongs to."""
19246
19302
  seller: ID!
19247
19303
 
@@ -19284,12 +19340,6 @@ input VariantSizeInput {
19284
19340
  sizeUnits: DistanceUnitsEnum
19285
19341
  }
19286
19342
 
19287
- input ProductDimensionsInput {
19288
- length: PositiveDecimal
19289
- width: PositiveDecimal
19290
- height: PositiveDecimal
19291
- }
19292
-
19293
19343
  input StockInput {
19294
19344
  """Warehouse in which the stock is located."""
19295
19345
  warehouse: ID!
@@ -19463,9 +19513,6 @@ input ProductInput {
19463
19513
  Set whether this product allows price overrides by default, will be controlled by product type if provided
19464
19514
  """
19465
19515
  isPriceOverrideAllowed: Boolean
19466
-
19467
- """Product dimensions."""
19468
- dimensions: ProductDimensionsInput
19469
19516
  }
19470
19517
 
19471
19518
  """Set product availability for purchase date."""
@@ -19771,7 +19818,7 @@ input ProductVariantCreateInput {
19771
19818
  name: String
19772
19819
 
19773
19820
  """True if variant requires quote pricing."""
19774
- requiresQuote: Boolean @deprecated(reason: "This field will be removed on April 25th, 2025.")
19821
+ requiresQuote: Boolean
19775
19822
 
19776
19823
  """Substatus the variant is to be changed to."""
19777
19824
  subStatus: ProductVariantSubStatusEnum @deprecated(reason: "This field will be removed on April 15th, 2025. ProductVariant substatus will be the same as product substatus")
@@ -19806,9 +19853,6 @@ input ProductVariantCreateInput {
19806
19853
  """
19807
19854
  isPriceOverrideAllowed: Boolean
19808
19855
 
19809
- """Product dimensions."""
19810
- dimensions: ProductDimensionsInput
19811
-
19812
19856
  """Stocks of a product available for sale."""
19813
19857
  stocks: [StockInput!]
19814
19858
 
@@ -19915,7 +19959,7 @@ input ProductVariantBulkCreateInput {
19915
19959
  name: String
19916
19960
 
19917
19961
  """True if variant requires quote pricing."""
19918
- requiresQuote: Boolean @deprecated(reason: "This field will be removed on April 25th, 2025.")
19962
+ requiresQuote: Boolean
19919
19963
 
19920
19964
  """Substatus the variant is to be changed to."""
19921
19965
  subStatus: ProductVariantSubStatusEnum @deprecated(reason: "This field will be removed on April 15th, 2025. ProductVariant substatus will be the same as product substatus")
@@ -19950,9 +19994,6 @@ input ProductVariantBulkCreateInput {
19950
19994
  """
19951
19995
  isPriceOverrideAllowed: Boolean
19952
19996
 
19953
- """Product dimensions."""
19954
- dimensions: ProductDimensionsInput
19955
-
19956
19997
  """Stocks of a product available for sale."""
19957
19998
  stocks: [StockInput!]
19958
19999
 
@@ -20097,7 +20138,7 @@ input ProductVariantInput {
20097
20138
  name: String
20098
20139
 
20099
20140
  """True if variant requires quote pricing."""
20100
- requiresQuote: Boolean @deprecated(reason: "This field will be removed on April 25th, 2025.")
20141
+ requiresQuote: Boolean
20101
20142
 
20102
20143
  """Substatus the variant is to be changed to."""
20103
20144
  subStatus: ProductVariantSubStatusEnum @deprecated(reason: "This field will be removed on April 15th, 2025. ProductVariant substatus will be the same as product substatus")
@@ -20131,9 +20172,6 @@ input ProductVariantInput {
20131
20172
  Set whether this variant allows price overrides by default, will be overridden by product type attached to product if available
20132
20173
  """
20133
20174
  isPriceOverrideAllowed: Boolean
20134
-
20135
- """Product dimensions."""
20136
- dimensions: ProductDimensionsInput
20137
20175
  }
20138
20176
 
20139
20177
  """
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.68.0-28-g42a2a15ce",
3
+ "version": "v1.68.0-3-gcf02827eb",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {