@nautical-commerce/graphql-schema 1.56.1 → 1.57.0-1-g8c65351c2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1794,7 +1794,6 @@ type Query {
1794
1794
  ): VoucherCountableConnection
1795
1795
  designerdata(name: String): DesignerDataType
1796
1796
  designerdatalist: [DesignerDataType!]!
1797
- branding: BrandingType! @deprecated(reason: "This will be removed on October 25, 2024")
1798
1797
 
1799
1798
  """Token nexessary for connecting to the embedded integration platform"""
1800
1799
  integrationEmbeddingToken: String
@@ -2580,7 +2579,6 @@ type User implements Node & ObjectWithMetadata {
2580
2579
  """Return the last n elements from the list."""
2581
2580
  last: Int
2582
2581
  ): WishlistCountableConnection
2583
- isMarketplaceAdmin: Boolean @deprecated(reason: "This is not accurate and will be removed on October 20th, 2024.")
2584
2582
  isAffiliate: Boolean @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
2585
2583
  seller: Seller
2586
2584
  hasMicrosite: Boolean @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
@@ -3212,9 +3210,6 @@ type Product implements Node & ObjectWithMetadata {
3212
3210
  """Products primary location."""
3213
3211
  primaryLocation: Location @deprecated(reason: "Locations will be removed on November 28, 2024.")
3214
3212
 
3215
- """Product configuration indicator."""
3216
- productConfiguration: Int @deprecated(reason: "This will be removed on October 19, 2024.")
3217
-
3218
3213
  """
3219
3214
  Product stock stats combining all variants in all warehouses. Requires MANAGE_PRODUCTS permission.
3220
3215
  """
@@ -5937,6 +5932,9 @@ type Fulfillment implements Node & ObjectWithMetadata {
5937
5932
 
5938
5933
  """Total price across all quantities across all lines."""
5939
5934
  totalLinesMoney: Money!
5935
+
5936
+ """List of custom fields assigned to this fulfillment."""
5937
+ customFields: [SelectedAttribute!]!
5940
5938
  }
5941
5939
 
5942
5940
  """An enumeration."""
@@ -7401,10 +7399,18 @@ type Agreement implements Node & ObjectWithMetadata {
7401
7399
  slug: String!
7402
7400
  title: String!
7403
7401
  vendorType: AgreementVendorType!
7404
- commissionType: AgreementCommissionType!
7402
+
7403
+ """Commission type"""
7404
+ commissionType: CommissionTypeEnum! @deprecated(reason: "Markup commissions will be removed on January 23, 2025.")
7405
7405
  defaultCommission: Decimal!
7406
- markupCommissionType: AgreementMarkupCommissionType!
7407
- markupCommissionValue: Decimal!
7406
+
7407
+ """Markup commission type"""
7408
+ markupCommissionType: MarkupCommissionTypeEnum! @deprecated(reason: "Markup commissions will be removed on January 23, 2025.")
7409
+
7410
+ """
7411
+ If a markup commission is selected, this is the amount of the commission.
7412
+ """
7413
+ markupCommissionValue: Decimal @deprecated(reason: "Markup commissions will be removed on January 23, 2025.")
7408
7414
  agreementType: AgreementAgreementType!
7409
7415
  isActive: Boolean
7410
7416
 
@@ -7433,8 +7439,7 @@ enum AgreementVendorType {
7433
7439
  AFFILIATE
7434
7440
  }
7435
7441
 
7436
- """An enumeration."""
7437
- enum AgreementCommissionType {
7442
+ enum CommissionTypeEnum {
7438
7443
  """Gross Price Commission"""
7439
7444
  MARKETPLACE
7440
7445
 
@@ -7445,8 +7450,7 @@ enum AgreementCommissionType {
7445
7450
  DROPSHIPPING
7446
7451
  }
7447
7452
 
7448
- """An enumeration."""
7449
- enum AgreementMarkupCommissionType {
7453
+ enum MarkupCommissionTypeEnum {
7450
7454
  """Percentage"""
7451
7455
  PERCENTAGE
7452
7456
  }
@@ -9145,7 +9149,7 @@ type Shop {
9145
9149
  loginForPrice: Boolean
9146
9150
 
9147
9151
  """Is authenticated user required to view product listings."""
9148
- loginForProducts: Boolean
9152
+ loginForProducts: Boolean @deprecated(reason: "This will be removed on November 22, 2024. Use the loginForPrice setting instead.")
9149
9153
 
9150
9154
  """Gets active plugins."""
9151
9155
  activePlugins: [Plugin!]!
@@ -9430,6 +9434,9 @@ type StorefrontTheme implements Node {
9430
9434
 
9431
9435
  """Primary color in hex."""
9432
9436
  primaryColor: String
9437
+
9438
+ """Background color in hex."""
9439
+ backgroundColor: String
9433
9440
  logo: Image
9434
9441
  faviconImage: Image
9435
9442
 
@@ -13373,27 +13380,6 @@ type DesignerDataType {
13373
13380
  jsonContent: JSONString!
13374
13381
  }
13375
13382
 
13376
- type BrandingType {
13377
- id: ID!
13378
- tenant: Tenant!
13379
- jsonContent: JSONString!
13380
- logo(
13381
- """Size of the image."""
13382
- size: Int
13383
- ): Image
13384
- icon(
13385
- """Size of the image."""
13386
- size: Int
13387
- ): Image
13388
- favicon(
13389
- """Size of the image."""
13390
- size: Int
13391
- ): Image
13392
- logoHeight: Int
13393
- logoWidth: Int
13394
- footerText: String!
13395
- }
13396
-
13397
13383
  """Represents a job data of exported file."""
13398
13384
  type ExportFile implements Node & Job {
13399
13385
  """The ID of the object"""
@@ -13651,6 +13637,7 @@ enum CustomFieldTemplateEnum {
13651
13637
  VARIANT
13652
13638
  CATEGORY
13653
13639
  COLLECTION
13640
+ FULFILLMENT
13654
13641
  }
13655
13642
 
13656
13643
  """Represents ongoing installation of app."""
@@ -13901,7 +13888,7 @@ type Mutation {
13901
13888
  description: String
13902
13889
 
13903
13890
  """
13904
- Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: drawing/x-dwf, application/gzipped, image/tif, application/x-jpg, application/dwg, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/tiff, application/gzip, text/rtf, image/x-bmp, image/tiff, application/vnd.ms-excel, application/vnd.pdf, application/svg+xml, image/svg+xml, application/x-rar, application/x-rar-compressed, drawing/x-dwg, image/x-eps, text/csv, application/vnd.ms-powerpoint, application/postscript, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/x-pdf, image/jpeg, text/svg, image/bmp, application/acad, application/x-dxf, application/gzip-compressed, application/dxf, image/heif-sequence, image/jpg, application/x-tar, image/heif, image/x-tif, image/heic, text/plain, image/eps, application/zip, application/x-tiff, image/heic-sequence, drawing/dwg, application/x-csv, application/x-dwg, application/vnd.oasis.opendocument.spreadsheet, image/svg, image/png, image/x-dwg, application/csv, text/pdf, application/x-autocad, pplication/vnd.rar, application/jpg, application/excel, application/acrobat, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, image/x-dxf, text/x-pdf, image/vnd.dwg, application/pdf, application/x-rtf, image/x-ms-bmp, image/gif, application/x-eps, application/vnd.oasis.opendocument.text, text/x-csv, text/comma-separated-values, image/x-tiff, application/eps, text/svg-xml, application/x-gzip, application/vnd.oasis.opendocument.presentation, application/tif, application/vnd.openxmlformats-officedocument.presentationml.slideshow, image/dxf, application/rtf, application/x-zip-compressed, text/x-comma-separated-values, application/msword, application/vnd.ms-word, image/webp, application/x-tif, application/x-acad.
13891
+ 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.presentation, image/x-tiff, text/comma-separated-values, application/x-acad, application/vnd.ms-excel, text/plain, application/csv, application/gzip-compressed, application/dxf, application/x-jpg, application/x-tif, application/x-dxf, image/vnd.dwg, image/eps, drawing/dwg, application/excel, application/acrobat, image/gif, image/heic, application/x-rar-compressed, text/x-csv, application/rtf, image/x-tif, application/x-tar, text/svg-xml, image/x-dxf, application/tiff, image/webp, image/heif-sequence, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/x-eps, application/x-csv, application/vnd.oasis.opendocument.text, image/svg, application/x-rar, image/x-dwg, application/gzipped, application/pdf, image/tiff, image/x-bmp, image/jpg, image/x-eps, application/x-zip-compressed, application/vnd.ms-powerpoint, application/svg+xml, image/x-ms-bmp, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/eps, image/tif, image/svg+xml, application/x-gzip, text/rtf, image/bmp, application/tif, application/dwg, application/vnd.oasis.opendocument.spreadsheet, application/x-pdf, text/x-comma-separated-values, application/x-tiff, image/jpeg, application/msword, image/png, text/pdf, image/heif, application/postscript, drawing/x-dwf, application/jpg, image/dxf, application/x-autocad, drawing/x-dwg, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/vnd.ms-word, application/zip, application/gzip, text/svg, application/vnd.pdf, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, text/csv, text/x-pdf, application/acad, image/heic-sequence, application/x-dwg, application/x-rtf, pplication/vnd.rar.
13905
13892
  """
13906
13893
  file: Upload!
13907
13894
 
@@ -14577,12 +14564,6 @@ type Mutation {
14577
14564
  """Update existing designer data."""
14578
14565
  designerDataUpdate(input: DesignerDataInput, name: String!): DesignerDataUpdate
14579
14566
 
14580
- """Update existing branding."""
14581
- brandingUpdate(input: BrandingInput): BrandingUpdate @deprecated(reason: "This will be removed on October 25, 2024")
14582
-
14583
- """Delete branding images."""
14584
- brandingImagesDelete(favicon: Boolean, icon: Boolean, logo: Boolean): BrandingImagesDelete @deprecated(reason: "This will be removed on October 25, 2024")
14585
-
14586
14567
  """Create core data."""
14587
14568
  coreDataCreate(input: CoreDataInput!): CoreDataCreate @deprecated(reason: "This will be removed on October 25, 2024")
14588
14569
 
@@ -18641,22 +18622,6 @@ enum VendorTypeEnum {
18641
18622
  AFFILIATE
18642
18623
  }
18643
18624
 
18644
- enum CommissionTypeEnum {
18645
- """Gross Price Commission"""
18646
- MARKETPLACE
18647
-
18648
- """Markup Commission"""
18649
- WHOLESALE
18650
-
18651
- """Absolute Price Commission"""
18652
- DROPSHIPPING
18653
- }
18654
-
18655
- enum MarkupCommissionTypeEnum {
18656
- """Percentage"""
18657
- PERCENTAGE
18658
- }
18659
-
18660
18625
  """Deletes a agreement."""
18661
18626
  type AgreementDelete {
18662
18627
  agreementErrors: [AgreementError!]!
@@ -19136,35 +19101,6 @@ type DesignerDataUpdate {
19136
19101
  designerErrors: [MarketplaceConfigurationError!]!
19137
19102
  }
19138
19103
 
19139
- """Update existing branding."""
19140
- type BrandingUpdate {
19141
- ok: Boolean
19142
- branding: BrandingType
19143
- brandingErrors: [MarketplaceConfigurationError!]!
19144
- }
19145
-
19146
- input BrandingInput {
19147
- jsonContent: JSONString
19148
-
19149
- """Logo file."""
19150
- logo: Upload
19151
- logoHeight: Int
19152
- logoWidth: Int
19153
-
19154
- """Icon file."""
19155
- icon: Upload
19156
- footerText: String
19157
-
19158
- """Favicon file."""
19159
- favicon: Upload
19160
- }
19161
-
19162
- """Delete branding images."""
19163
- type BrandingImagesDelete {
19164
- branding: BrandingType
19165
- brandingErrors: [MarketplaceConfigurationError!]!
19166
- }
19167
-
19168
19104
  """Create core data."""
19169
19105
  type CoreDataCreate {
19170
19106
  ok: Boolean
@@ -19709,6 +19645,9 @@ input StorefrontThemeInput {
19709
19645
  """Primary color in hex."""
19710
19646
  primaryColor: String
19711
19647
 
19648
+ """Background color in hex."""
19649
+ backgroundColor: String
19650
+
19712
19651
  """Logo file."""
19713
19652
  logo: Upload
19714
19653
 
@@ -22003,6 +21942,7 @@ type OrderError {
22003
21942
 
22004
21943
  """An enumeration."""
22005
21944
  enum OrderErrorCode {
21945
+ ATTRIBUTE_CANNOT_BE_ASSIGNED
22006
21946
  BILLING_ADDRESS_NOT_SET
22007
21947
  CANNOT_ADD_FEE
22008
21948
  CANNOT_CANCEL_FULFILLMENT
@@ -22076,6 +22016,8 @@ type DraftOrderCreate {
22076
22016
  input DraftOrderCreateInput {
22077
22017
  """Billing address of the customer."""
22078
22018
  billingAddress: AddressInput
22019
+
22020
+ """Customer associated with the draft order."""
22079
22021
  user: ID
22080
22022
 
22081
22023
  """Email address of the customer."""
@@ -22130,6 +22072,8 @@ type NauticalDraftOrderCreate {
22130
22072
  input NauticalDraftOrderCreateInput {
22131
22073
  """Billing address of the customer."""
22132
22074
  billingAddress: AddressInput
22075
+
22076
+ """Customer associated with the draft order."""
22133
22077
  user: ID
22134
22078
 
22135
22079
  """Email address of the customer."""
@@ -22178,6 +22122,8 @@ input NauticalHistoricalOrderInput {
22178
22122
 
22179
22123
  """Shipping address of the customer."""
22180
22124
  shippingAddress: AddressInput
22125
+
22126
+ """Customer associated with the draft order."""
22181
22127
  user: ID
22182
22128
 
22183
22129
  """Email address of the customer."""
@@ -22349,6 +22295,8 @@ type DraftOrderUpdate {
22349
22295
  input DraftOrderInput {
22350
22296
  """Billing address of the customer."""
22351
22297
  billingAddress: AddressInput
22298
+
22299
+ """Customer associated with the draft order."""
22352
22300
  user: ID
22353
22301
 
22354
22302
  """Email address of the customer."""
@@ -22377,6 +22325,8 @@ type NauticalDraftOrderUpdate {
22377
22325
  input NauticalDraftOrderInput {
22378
22326
  """Billing address of the customer."""
22379
22327
  billingAddress: AddressInput
22328
+
22329
+ """Customer associated with the draft order."""
22380
22330
  user: ID
22381
22331
 
22382
22332
  """Email address of the customer."""
@@ -22594,6 +22544,9 @@ input OrderFulfillInput {
22594
22544
  allow Marketplace Admin users to fulfill order lines with null variants.
22595
22545
  """
22596
22546
  allowNullVariants: Boolean
22547
+
22548
+ """List of custom fields."""
22549
+ customFields: [AttributeValueInput!]
22597
22550
  }
22598
22551
 
22599
22552
  input OrderFulfillLineInput {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.56.1",
3
+ "version": "v1.57.0-1-g8c65351c2",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {