@nautical-commerce/graphql-schema 1.46.1 → 1.47.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.
@@ -2237,6 +2237,7 @@ type User implements Node & ObjectWithMetadata {
2237
2237
  """List of public metadata items. Can be accessed without permissions."""
2238
2238
  metadata: [MetadataItem!]!
2239
2239
  externalId: String
2240
+ externalSource: String
2240
2241
  externalPayoutAccountId: String
2241
2242
  externalPayoutSource: UserExternalPayoutSource
2242
2243
  externalPayoutOnboardingUrl: String
@@ -3646,6 +3647,8 @@ type OrderCountableEdge {
3646
3647
  type Order implements Node & ObjectWithMetadata {
3647
3648
  """The ID of the object"""
3648
3649
  id: ID!
3650
+ externalId: String
3651
+ externalSource: String
3649
3652
  orderSource: OrderOrderSource!
3650
3653
 
3651
3654
  """Seller this order belongs to"""
@@ -4018,6 +4021,8 @@ type Category implements Node & ObjectWithMetadata {
4018
4021
  description: String!
4019
4022
  descriptionHtml: String!
4020
4023
  descriptionJson: JSONString!
4024
+ externalId: String
4025
+ externalSource: String
4021
4026
  seoTitle: String
4022
4027
  seoDescription: String
4023
4028
  name: String!
@@ -4390,6 +4395,12 @@ enum ProductOrderField {
4390
4395
 
4391
4396
  """Sort products by manufacturer."""
4392
4397
  MANUFACTURER
4398
+
4399
+ """Sort products by external id."""
4400
+ EXTERNAL_ID
4401
+
4402
+ """Sort products by external source."""
4403
+ EXTERNAL_SOURCE
4393
4404
  }
4394
4405
 
4395
4406
  """Represents a selected attribute and values."""
@@ -4412,6 +4423,8 @@ Custom attribute of a product. Attributes can be assigned to products and varian
4412
4423
  type Attribute implements Node & ObjectWithMetadata {
4413
4424
  """The ID of the object"""
4414
4425
  id: ID!
4426
+ externalId: String
4427
+ externalSource: String
4415
4428
  productTypes(offset: Int, before: String, after: String, first: Int, last: Int): ProductTypeCountableConnection!
4416
4429
  productVariantTypes(offset: Int, before: String, after: String, first: Int, last: Int): ProductTypeCountableConnection!
4417
4430
 
@@ -4432,9 +4445,6 @@ type Attribute implements Node & ObjectWithMetadata {
4432
4445
  """Internal representation of an attribute name."""
4433
4446
  slug: String!
4434
4447
 
4435
- """External source from which the attribute is imported."""
4436
- externalSource: String
4437
-
4438
4448
  """List of all product types that are using this attribute"""
4439
4449
  allProductTypes: [ProductType!]
4440
4450
 
@@ -4490,6 +4500,10 @@ Represents a type of product. It defines what attributes are available to produc
4490
4500
  type ProductType implements Node & ObjectWithMetadata {
4491
4501
  """The ID of the object"""
4492
4502
  id: ID!
4503
+ externalId: String
4504
+
4505
+ """External source from which the product type is imported."""
4506
+ externalSource: String
4493
4507
  name: String!
4494
4508
  slug: String!
4495
4509
  isShippingRequired: Boolean!
@@ -4560,9 +4574,6 @@ type ProductType implements Node & ObjectWithMetadata {
4560
4574
 
4561
4575
  """Brand of the product"""
4562
4576
  model: String
4563
-
4564
- """External source from which the product type is imported."""
4565
- externalSource: String
4566
4577
  }
4567
4578
 
4568
4579
  """Representation of tax types fetched from tax gateway."""
@@ -5280,6 +5291,12 @@ enum VariantSortField {
5280
5291
 
5281
5292
  """Sort variants by manufacturer."""
5282
5293
  MANUFACTURER
5294
+
5295
+ """Sort variants by external id."""
5296
+ EXTERNAL_ID
5297
+
5298
+ """Sort variants by external source."""
5299
+ EXTERNAL_SOURCE
5283
5300
  }
5284
5301
 
5285
5302
  enum CollectionTypeEnum {
@@ -5459,6 +5476,8 @@ type NauticalOrderCountableEdge {
5459
5476
  type NauticalOrder implements Node & ObjectWithMetadata {
5460
5477
  """The ID of the object"""
5461
5478
  id: ID!
5479
+ externalId: String
5480
+ externalSource: String
5462
5481
  orderSource: NauticalOrderOrderSource!
5463
5482
  created: DateTime!
5464
5483
  updated: DateTime
@@ -8193,6 +8212,12 @@ enum OrderSortField {
8193
8212
 
8194
8213
  """Sort orders by po numbers."""
8195
8214
  PO_NUMBERS
8215
+
8216
+ """Sort orders by external id."""
8217
+ EXTERNAL_ID
8218
+
8219
+ """Sort orders by external source."""
8220
+ EXTERNAL_SOURCE
8196
8221
  }
8197
8222
 
8198
8223
  input CustomerNauticalOrderFilterInput {
@@ -8712,6 +8737,12 @@ input WarehouseSortingInput {
8712
8737
  enum WarehouseSortField {
8713
8738
  """Sort warehouses by name."""
8714
8739
  NAME
8740
+
8741
+ """Sort warehouses by external id."""
8742
+ EXTERNAL_ID
8743
+
8744
+ """Sort warehouses by external source."""
8745
+ EXTERNAL_SOURCE
8715
8746
  }
8716
8747
 
8717
8748
  type StockCountableConnection {
@@ -9070,7 +9101,7 @@ type Domain {
9070
9101
  host: String!
9071
9102
 
9072
9103
  """Inform if SSL is enabled."""
9073
- sslEnabled: Boolean!
9104
+ sslEnabled: Boolean! @deprecated(reason: "This will be removed on Nov 14, 2024")
9074
9105
 
9075
9106
  """Shop's absolute URL."""
9076
9107
  url: String!
@@ -9619,6 +9650,12 @@ enum CategorySortField {
9619
9650
 
9620
9651
  """Sort categories by subcategory count."""
9621
9652
  SUBCATEGORY_COUNT
9653
+
9654
+ """Sort categories by external id."""
9655
+ EXTERNAL_ID
9656
+
9657
+ """Sort categories by external source."""
9658
+ EXTERNAL_SOURCE
9622
9659
  }
9623
9660
 
9624
9661
  input CollectionFilterInput {
@@ -9699,7 +9736,10 @@ enum ProductTypeSortField {
9699
9736
  """Sort products by shipping."""
9700
9737
  SHIPPING_REQUIRED
9701
9738
 
9702
- """Sort products by Sort attributes by external source."""
9739
+ """Sort products by external id."""
9740
+ EXTERNAL_ID
9741
+
9742
+ """Sort products by external source."""
9703
9743
  EXTERNAL_SOURCE
9704
9744
  }
9705
9745
 
@@ -10183,6 +10223,12 @@ enum UserSortField {
10183
10223
 
10184
10224
  """Sort users by is active."""
10185
10225
  IS_ACTIVE
10226
+
10227
+ """Sort users by external id."""
10228
+ EXTERNAL_ID
10229
+
10230
+ """Sort users by external source."""
10231
+ EXTERNAL_SOURCE
10186
10232
  }
10187
10233
 
10188
10234
  type BusinessEntityCountableConnection {
@@ -12358,10 +12404,10 @@ enum NotifyEventTypeEnum {
12358
12404
  UPDATED_STATUS
12359
12405
 
12360
12406
  """Vin Decode Success"""
12361
- VIN_DECODE_SUCCESS
12407
+ VIN_DECODE_SUCCESS @deprecated(reason: "Will be removed on Nov 12, 2024")
12362
12408
 
12363
12409
  """Vin Decode Failed"""
12364
- VIN_DECODE_FAILED
12410
+ VIN_DECODE_FAILED @deprecated(reason: "Will be removed on Nov 12, 2024")
12365
12411
 
12366
12412
  """Import Catalog Failed"""
12367
12413
  IMPORT_CATALOG_FAILED
@@ -13578,6 +13624,9 @@ enum AttributeSortField {
13578
13624
  """Sort attributes by slug"""
13579
13625
  SLUG
13580
13626
 
13627
+ """Sort attributes by external ID"""
13628
+ EXTERNAL_ID
13629
+
13581
13630
  """Sort attributes by external source"""
13582
13631
  EXTERNAL_SOURCE
13583
13632
 
@@ -13881,7 +13930,7 @@ type Mutation {
13881
13930
  description: String
13882
13931
 
13883
13932
  """
13884
- 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-zip-compressed, image/bmp, text/svg-xml, application/vnd.openxmlformats-officedocument.presentationml.presentation, image/dxf, image/svg+xml, application/zip, drawing/x-dwf, image/x-bmp, application/vnd.oasis.opendocument.text, application/vnd.oasis.opendocument.presentation, drawing/dwg, application/excel, application/vnd.pdf, application/acrobat, application/dxf, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, image/jpg, image/png, application/vnd.oasis.opendocument.spreadsheet, application/gzip-compressed, application/x-pdf, application/pdf, application/x-dxf, application/x-acad, image/gif, image/x-tiff, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/x-eps, application/msword, image/heic-sequence, image/svg, application/x-rar-compressed, text/rtf, application/vnd.ms-excel, application/x-autocad, application/x-dwg, image/heic, text/csv, text/x-csv, image/jpeg, application/tif, image/heif-sequence, application/x-tif, text/svg, application/svg+xml, image/tiff, image/vnd.dwg, application/x-tiff, application/acad, text/comma-separated-values, application/x-jpg, image/webp, image/x-dxf, application/rtf, image/eps, application/vnd.ms-powerpoint, application/gzip, image/x-ms-bmp, pplication/vnd.rar, text/pdf, drawing/x-dwg, application/x-rtf, image/x-eps, text/x-comma-separated-values, application/x-rar, application/gzipped, image/heif, application/x-csv, image/x-dwg, image/x-tif, application/vnd.ms-word, text/plain, application/jpg, application/postscript, application/x-tar, image/tif, application/dwg, application/eps, application/csv, application/x-gzip, application/tiff, text/x-pdf.
13933
+ 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, image/eps, image/png, application/pdf, image/x-tiff, application/eps, application/msword, application/vnd.ms-powerpoint, application/x-rtf, text/rtf, application/vnd.oasis.opendocument.presentation, text/pdf, drawing/x-dwf, application/acrobat, text/x-comma-separated-values, application/x-autocad, application/gzip, application/x-acad, application/x-tif, image/webp, image/dxf, image/vnd.dwg, application/gzipped, image/x-dxf, application/tiff, text/csv, application/vnd.oasis.opendocument.spreadsheet, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/jpeg, image/x-bmp, image/svg, image/x-eps, image/heif-sequence, image/heif, application/x-rar, image/x-tif, image/bmp, application/vnd.oasis.opendocument.text, application/tif, application/vnd.ms-excel, image/heic, application/acad, application/dxf, image/tif, image/x-dwg, pplication/vnd.rar, application/csv, image/gif, application/x-jpg, application/vnd.openxmlformats-officedocument.presentationml.presentation, image/svg+xml, application/jpg, image/tiff, drawing/x-dwg, text/svg, image/x-ms-bmp, application/svg+xml, drawing/dwg, application/dwg, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/zip, application/x-rar-compressed, text/comma-separated-values, image/jpg, application/x-pdf, text/svg-xml, application/gzip-compressed, application/vnd.ms-word, application/x-csv, text/x-csv, application/x-tiff, application/x-eps, application/vnd.pdf, text/plain, application/excel, application/postscript, image/heic-sequence, application/x-dwg, application/x-gzip, application/rtf, application/x-zip-compressed, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/x-dxf, text/x-pdf.
13885
13934
  """
13886
13935
  file: Upload!
13887
13936
 
@@ -24632,11 +24681,10 @@ type CreateCustomerToken {
24632
24681
  Refresh token for renewing the nautical_token (access token). This refresh token expires after 1 hour
24633
24682
  """
24634
24683
  refreshToken: String
24635
- authErrors: [Error!]!
24684
+ authErrors: [AuthError!]!
24636
24685
  }
24637
24686
 
24638
- """Represents an error in the input of a mutation."""
24639
- type Error {
24687
+ type AuthError {
24640
24688
  """
24641
24689
  Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field.
24642
24690
  """
@@ -24644,6 +24692,9 @@ type Error {
24644
24692
 
24645
24693
  """The error message."""
24646
24694
  message: String!
24695
+
24696
+ """The error code"""
24697
+ code: String!
24647
24698
  }
24648
24699
 
24649
24700
  enum OauthProviderSourceEnum {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.46.1",
3
+ "version": "v1.47.0",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {