@nautical-commerce/graphql-schema 1.56.1 → 1.57.0-2-g4b47fa800

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.
@@ -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
@@ -1828,8 +1827,6 @@ type Query {
1828
1827
 
1829
1828
  """List of all tax rates available from tax gateway."""
1830
1829
  taxTypes: [TaxType!]!
1831
- coredata(name: String): CoreDataType @deprecated(reason: "This will be removed on October 25, 2024")
1832
- coredatalist: [CoreDataType!]! @deprecated(reason: "This will be removed on October 25, 2024")
1833
1830
 
1834
1831
  """Look up a checkout by token."""
1835
1832
  checkout(
@@ -2580,7 +2577,6 @@ type User implements Node & ObjectWithMetadata {
2580
2577
  """Return the last n elements from the list."""
2581
2578
  last: Int
2582
2579
  ): WishlistCountableConnection
2583
- isMarketplaceAdmin: Boolean @deprecated(reason: "This is not accurate and will be removed on October 20th, 2024.")
2584
2580
  isAffiliate: Boolean @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
2585
2581
  seller: Seller
2586
2582
  hasMicrosite: Boolean @deprecated(reason: "This will be removed on October 26, 2024 when affiliate support is removed.")
@@ -3212,9 +3208,6 @@ type Product implements Node & ObjectWithMetadata {
3212
3208
  """Products primary location."""
3213
3209
  primaryLocation: Location @deprecated(reason: "Locations will be removed on November 28, 2024.")
3214
3210
 
3215
- """Product configuration indicator."""
3216
- productConfiguration: Int @deprecated(reason: "This will be removed on October 19, 2024.")
3217
-
3218
3211
  """
3219
3212
  Product stock stats combining all variants in all warehouses. Requires MANAGE_PRODUCTS permission.
3220
3213
  """
@@ -5937,6 +5930,9 @@ type Fulfillment implements Node & ObjectWithMetadata {
5937
5930
 
5938
5931
  """Total price across all quantities across all lines."""
5939
5932
  totalLinesMoney: Money!
5933
+
5934
+ """List of custom fields assigned to this fulfillment."""
5935
+ customFields: [SelectedAttribute!]!
5940
5936
  }
5941
5937
 
5942
5938
  """An enumeration."""
@@ -7401,10 +7397,18 @@ type Agreement implements Node & ObjectWithMetadata {
7401
7397
  slug: String!
7402
7398
  title: String!
7403
7399
  vendorType: AgreementVendorType!
7404
- commissionType: AgreementCommissionType!
7400
+
7401
+ """Commission type"""
7402
+ commissionType: CommissionTypeEnum! @deprecated(reason: "Markup commissions will be removed on January 23, 2025.")
7405
7403
  defaultCommission: Decimal!
7406
- markupCommissionType: AgreementMarkupCommissionType!
7407
- markupCommissionValue: Decimal!
7404
+
7405
+ """Markup commission type"""
7406
+ markupCommissionType: MarkupCommissionTypeEnum! @deprecated(reason: "Markup commissions will be removed on January 23, 2025.")
7407
+
7408
+ """
7409
+ If a markup commission is selected, this is the amount of the commission.
7410
+ """
7411
+ markupCommissionValue: Decimal @deprecated(reason: "Markup commissions will be removed on January 23, 2025.")
7408
7412
  agreementType: AgreementAgreementType!
7409
7413
  isActive: Boolean
7410
7414
 
@@ -7433,8 +7437,7 @@ enum AgreementVendorType {
7433
7437
  AFFILIATE
7434
7438
  }
7435
7439
 
7436
- """An enumeration."""
7437
- enum AgreementCommissionType {
7440
+ enum CommissionTypeEnum {
7438
7441
  """Gross Price Commission"""
7439
7442
  MARKETPLACE
7440
7443
 
@@ -7445,8 +7448,7 @@ enum AgreementCommissionType {
7445
7448
  DROPSHIPPING
7446
7449
  }
7447
7450
 
7448
- """An enumeration."""
7449
- enum AgreementMarkupCommissionType {
7451
+ enum MarkupCommissionTypeEnum {
7450
7452
  """Percentage"""
7451
7453
  PERCENTAGE
7452
7454
  }
@@ -9145,7 +9147,7 @@ type Shop {
9145
9147
  loginForPrice: Boolean
9146
9148
 
9147
9149
  """Is authenticated user required to view product listings."""
9148
- loginForProducts: Boolean
9150
+ loginForProducts: Boolean @deprecated(reason: "This will be removed on November 22, 2024. Use the loginForPrice setting instead.")
9149
9151
 
9150
9152
  """Gets active plugins."""
9151
9153
  activePlugins: [Plugin!]!
@@ -9430,6 +9432,9 @@ type StorefrontTheme implements Node {
9430
9432
 
9431
9433
  """Primary color in hex."""
9432
9434
  primaryColor: String
9435
+
9436
+ """Background color in hex."""
9437
+ backgroundColor: String
9433
9438
  logo: Image
9434
9439
  faviconImage: Image
9435
9440
 
@@ -13373,27 +13378,6 @@ type DesignerDataType {
13373
13378
  jsonContent: JSONString!
13374
13379
  }
13375
13380
 
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
13381
  """Represents a job data of exported file."""
13398
13382
  type ExportFile implements Node & Job {
13399
13383
  """The ID of the object"""
@@ -13505,12 +13489,6 @@ enum ExportFileSortField {
13505
13489
  UPDATED_AT
13506
13490
  }
13507
13491
 
13508
- type CoreDataType {
13509
- tenant: Tenant!
13510
- name: String!
13511
- jsonContent: JSONString!
13512
- }
13513
-
13514
13492
  type CheckoutCountableConnection {
13515
13493
  """Pagination data for this connection."""
13516
13494
  pageInfo: PageInfo!
@@ -13651,6 +13629,7 @@ enum CustomFieldTemplateEnum {
13651
13629
  VARIANT
13652
13630
  CATEGORY
13653
13631
  COLLECTION
13632
+ FULFILLMENT
13654
13633
  }
13655
13634
 
13656
13635
  """Represents ongoing installation of app."""
@@ -13901,7 +13880,7 @@ type Mutation {
13901
13880
  description: String
13902
13881
 
13903
13882
  """
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.
13883
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: drawing/dwg, image/vnd.dwg, application/dwg, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/rtf, application/x-zip-compressed, image/x-eps, application/pdf, application/excel, application/postscript, text/rtf, image/jpg, application/jpg, text/svg-xml, application/vnd.oasis.opendocument.text, text/plain, application/x-rar, drawing/x-dwg, pplication/vnd.rar, text/x-pdf, text/x-csv, image/gif, image/x-bmp, image/heic-sequence, application/svg+xml, application/vnd.ms-excel, application/vnd.pdf, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/vnd.oasis.opendocument.spreadsheet, text/svg, application/zip, application/vnd.ms-powerpoint, application/dxf, image/tif, image/x-tif, application/x-rtf, text/comma-separated-values, application/x-dwg, image/eps, application/x-acad, image/x-ms-bmp, application/x-gzip, image/svg, application/x-tif, application/csv, application/x-csv, application/vnd.openxmlformats-officedocument.presentationml.presentation, image/jpeg, image/png, application/tif, drawing/x-dwf, image/webp, application/x-eps, image/svg+xml, text/pdf, application/vnd.oasis.opendocument.presentation, image/heif-sequence, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/x-tiff, image/heic, application/gzip-compressed, image/x-tiff, text/x-comma-separated-values, application/gzip, image/x-dxf, application/msword, image/bmp, image/x-dwg, application/acad, application/x-rar-compressed, application/x-jpg, application/x-tar, application/tiff, image/heif, application/x-autocad, application/eps, text/csv, application/gzipped, application/vnd.ms-word, application/acrobat, image/tiff, application/x-pdf, application/x-dxf, image/dxf.
13905
13884
  """
13906
13885
  file: Upload!
13907
13886
 
@@ -14577,20 +14556,6 @@ type Mutation {
14577
14556
  """Update existing designer data."""
14578
14557
  designerDataUpdate(input: DesignerDataInput, name: String!): DesignerDataUpdate
14579
14558
 
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
- """Create core data."""
14587
- coreDataCreate(input: CoreDataInput!): CoreDataCreate @deprecated(reason: "This will be removed on October 25, 2024")
14588
-
14589
- """
14590
- Update existing core data instance, return ok = True and coredata = None if no matching core data instance found.
14591
- """
14592
- coreDataUpdate(input: CoreDataInput!, name: String!): CoreDataUpdate @deprecated(reason: "This will be removed on October 25, 2024")
14593
-
14594
14559
  """Creates a new webhook subscription."""
14595
14560
  webhookCreate(
14596
14561
  """Fields required to create a webhook."""
@@ -18641,22 +18606,6 @@ enum VendorTypeEnum {
18641
18606
  AFFILIATE
18642
18607
  }
18643
18608
 
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
18609
  """Deletes a agreement."""
18661
18610
  type AgreementDelete {
18662
18611
  agreementErrors: [AgreementError!]!
@@ -19136,56 +19085,6 @@ type DesignerDataUpdate {
19136
19085
  designerErrors: [MarketplaceConfigurationError!]!
19137
19086
  }
19138
19087
 
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
- """Create core data."""
19169
- type CoreDataCreate {
19170
- ok: Boolean
19171
- coredata: CoreDataType
19172
- }
19173
-
19174
- input CoreDataInput {
19175
- name: String
19176
- jsonContent: JSONString
19177
- }
19178
-
19179
- """
19180
- Update existing core data instance, return ok = True and coredata = None if no matching core data instance found.
19181
- """
19182
- type CoreDataUpdate {
19183
- ok: Boolean
19184
- coredata: CoreDataType
19185
- name: String
19186
- jsonContent: JSONString
19187
- }
19188
-
19189
19088
  """Creates a new webhook subscription."""
19190
19089
  type WebhookCreate {
19191
19090
  webhookErrors: [WebhookError!]!
@@ -19709,6 +19608,9 @@ input StorefrontThemeInput {
19709
19608
  """Primary color in hex."""
19710
19609
  primaryColor: String
19711
19610
 
19611
+ """Background color in hex."""
19612
+ backgroundColor: String
19613
+
19712
19614
  """Logo file."""
19713
19615
  logo: Upload
19714
19616
 
@@ -22003,6 +21905,7 @@ type OrderError {
22003
21905
 
22004
21906
  """An enumeration."""
22005
21907
  enum OrderErrorCode {
21908
+ ATTRIBUTE_CANNOT_BE_ASSIGNED
22006
21909
  BILLING_ADDRESS_NOT_SET
22007
21910
  CANNOT_ADD_FEE
22008
21911
  CANNOT_CANCEL_FULFILLMENT
@@ -22076,6 +21979,8 @@ type DraftOrderCreate {
22076
21979
  input DraftOrderCreateInput {
22077
21980
  """Billing address of the customer."""
22078
21981
  billingAddress: AddressInput
21982
+
21983
+ """Customer associated with the draft order."""
22079
21984
  user: ID
22080
21985
 
22081
21986
  """Email address of the customer."""
@@ -22130,6 +22035,8 @@ type NauticalDraftOrderCreate {
22130
22035
  input NauticalDraftOrderCreateInput {
22131
22036
  """Billing address of the customer."""
22132
22037
  billingAddress: AddressInput
22038
+
22039
+ """Customer associated with the draft order."""
22133
22040
  user: ID
22134
22041
 
22135
22042
  """Email address of the customer."""
@@ -22178,6 +22085,8 @@ input NauticalHistoricalOrderInput {
22178
22085
 
22179
22086
  """Shipping address of the customer."""
22180
22087
  shippingAddress: AddressInput
22088
+
22089
+ """Customer associated with the draft order."""
22181
22090
  user: ID
22182
22091
 
22183
22092
  """Email address of the customer."""
@@ -22349,6 +22258,8 @@ type DraftOrderUpdate {
22349
22258
  input DraftOrderInput {
22350
22259
  """Billing address of the customer."""
22351
22260
  billingAddress: AddressInput
22261
+
22262
+ """Customer associated with the draft order."""
22352
22263
  user: ID
22353
22264
 
22354
22265
  """Email address of the customer."""
@@ -22377,6 +22288,8 @@ type NauticalDraftOrderUpdate {
22377
22288
  input NauticalDraftOrderInput {
22378
22289
  """Billing address of the customer."""
22379
22290
  billingAddress: AddressInput
22291
+
22292
+ """Customer associated with the draft order."""
22380
22293
  user: ID
22381
22294
 
22382
22295
  """Email address of the customer."""
@@ -22594,6 +22507,9 @@ input OrderFulfillInput {
22594
22507
  allow Marketplace Admin users to fulfill order lines with null variants.
22595
22508
  """
22596
22509
  allowNullVariants: Boolean
22510
+
22511
+ """List of custom fields."""
22512
+ customFields: [AttributeValueInput!]
22597
22513
  }
22598
22514
 
22599
22515
  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-2-g4b47fa800",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {