@nautical-commerce/graphql-schema 1.46.1 → 1.47.0-10-g0e06321a5

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.
@@ -1970,12 +1970,18 @@ type Query {
1970
1970
  last: Int
1971
1971
  ): AgreementCountableConnection
1972
1972
 
1973
- """Look up what agreement a seller is attached to"""
1973
+ """Look up what agreement a seller is attached to for the current date"""
1974
1974
  sellerAgreement(
1975
1975
  """ID of the seller to search for their agreement"""
1976
1976
  id: ID
1977
1977
  ): AgreementSellers
1978
1978
 
1979
+ """Look up agreement history for a seller"""
1980
+ sellerAgreements(
1981
+ """ID of the seller to search for their agreement"""
1982
+ id: ID!
1983
+ ): [AgreementSellers!]!
1984
+
1979
1985
  """List of the shop's affiliates"""
1980
1986
  affiliates(
1981
1987
  """Filtering options for affiliates."""
@@ -2237,6 +2243,7 @@ type User implements Node & ObjectWithMetadata {
2237
2243
  """List of public metadata items. Can be accessed without permissions."""
2238
2244
  metadata: [MetadataItem!]!
2239
2245
  externalId: String
2246
+ externalSource: String
2240
2247
  externalPayoutAccountId: String
2241
2248
  externalPayoutSource: UserExternalPayoutSource
2242
2249
  externalPayoutOnboardingUrl: String
@@ -3646,6 +3653,8 @@ type OrderCountableEdge {
3646
3653
  type Order implements Node & ObjectWithMetadata {
3647
3654
  """The ID of the object"""
3648
3655
  id: ID!
3656
+ externalId: String
3657
+ externalSource: String
3649
3658
  orderSource: OrderOrderSource!
3650
3659
 
3651
3660
  """Seller this order belongs to"""
@@ -4018,6 +4027,8 @@ type Category implements Node & ObjectWithMetadata {
4018
4027
  description: String!
4019
4028
  descriptionHtml: String!
4020
4029
  descriptionJson: JSONString!
4030
+ externalId: String
4031
+ externalSource: String
4021
4032
  seoTitle: String
4022
4033
  seoDescription: String
4023
4034
  name: String!
@@ -4390,6 +4401,12 @@ enum ProductOrderField {
4390
4401
 
4391
4402
  """Sort products by manufacturer."""
4392
4403
  MANUFACTURER
4404
+
4405
+ """Sort products by external id."""
4406
+ EXTERNAL_ID
4407
+
4408
+ """Sort products by external source."""
4409
+ EXTERNAL_SOURCE
4393
4410
  }
4394
4411
 
4395
4412
  """Represents a selected attribute and values."""
@@ -4412,6 +4429,8 @@ Custom attribute of a product. Attributes can be assigned to products and varian
4412
4429
  type Attribute implements Node & ObjectWithMetadata {
4413
4430
  """The ID of the object"""
4414
4431
  id: ID!
4432
+ externalId: String
4433
+ externalSource: String
4415
4434
  productTypes(offset: Int, before: String, after: String, first: Int, last: Int): ProductTypeCountableConnection!
4416
4435
  productVariantTypes(offset: Int, before: String, after: String, first: Int, last: Int): ProductTypeCountableConnection!
4417
4436
 
@@ -4432,9 +4451,6 @@ type Attribute implements Node & ObjectWithMetadata {
4432
4451
  """Internal representation of an attribute name."""
4433
4452
  slug: String!
4434
4453
 
4435
- """External source from which the attribute is imported."""
4436
- externalSource: String
4437
-
4438
4454
  """List of all product types that are using this attribute"""
4439
4455
  allProductTypes: [ProductType!]
4440
4456
 
@@ -4490,6 +4506,10 @@ Represents a type of product. It defines what attributes are available to produc
4490
4506
  type ProductType implements Node & ObjectWithMetadata {
4491
4507
  """The ID of the object"""
4492
4508
  id: ID!
4509
+ externalId: String
4510
+
4511
+ """External source from which the product type is imported."""
4512
+ externalSource: String
4493
4513
  name: String!
4494
4514
  slug: String!
4495
4515
  isShippingRequired: Boolean!
@@ -4560,9 +4580,6 @@ type ProductType implements Node & ObjectWithMetadata {
4560
4580
 
4561
4581
  """Brand of the product"""
4562
4582
  model: String
4563
-
4564
- """External source from which the product type is imported."""
4565
- externalSource: String
4566
4583
  }
4567
4584
 
4568
4585
  """Representation of tax types fetched from tax gateway."""
@@ -5280,6 +5297,12 @@ enum VariantSortField {
5280
5297
 
5281
5298
  """Sort variants by manufacturer."""
5282
5299
  MANUFACTURER
5300
+
5301
+ """Sort variants by external id."""
5302
+ EXTERNAL_ID
5303
+
5304
+ """Sort variants by external source."""
5305
+ EXTERNAL_SOURCE
5283
5306
  }
5284
5307
 
5285
5308
  enum CollectionTypeEnum {
@@ -5459,6 +5482,8 @@ type NauticalOrderCountableEdge {
5459
5482
  type NauticalOrder implements Node & ObjectWithMetadata {
5460
5483
  """The ID of the object"""
5461
5484
  id: ID!
5485
+ externalId: String
5486
+ externalSource: String
5462
5487
  orderSource: NauticalOrderOrderSource!
5463
5488
  created: DateTime!
5464
5489
  updated: DateTime
@@ -7278,6 +7303,7 @@ type AgreementSellers implements Node & ObjectWithMetadata {
7278
7303
  seller: Seller!
7279
7304
  acknowledgedOn: DateTime
7280
7305
  plan: Agreement
7306
+ effectiveAt: DateTime!
7281
7307
 
7282
7308
  """
7283
7309
  List of private metadata items.Requires proper staff permissions to access.
@@ -7831,7 +7857,6 @@ enum CountryCode {
7831
7857
  EE
7832
7858
  SZ
7833
7859
  ET
7834
- EU
7835
7860
  FK
7836
7861
  FO
7837
7862
  FJ
@@ -8193,6 +8218,12 @@ enum OrderSortField {
8193
8218
 
8194
8219
  """Sort orders by po numbers."""
8195
8220
  PO_NUMBERS
8221
+
8222
+ """Sort orders by external id."""
8223
+ EXTERNAL_ID
8224
+
8225
+ """Sort orders by external source."""
8226
+ EXTERNAL_SOURCE
8196
8227
  }
8197
8228
 
8198
8229
  input CustomerNauticalOrderFilterInput {
@@ -8712,6 +8743,12 @@ input WarehouseSortingInput {
8712
8743
  enum WarehouseSortField {
8713
8744
  """Sort warehouses by name."""
8714
8745
  NAME
8746
+
8747
+ """Sort warehouses by external id."""
8748
+ EXTERNAL_ID
8749
+
8750
+ """Sort warehouses by external source."""
8751
+ EXTERNAL_SOURCE
8715
8752
  }
8716
8753
 
8717
8754
  type StockCountableConnection {
@@ -9070,7 +9107,7 @@ type Domain {
9070
9107
  host: String!
9071
9108
 
9072
9109
  """Inform if SSL is enabled."""
9073
- sslEnabled: Boolean!
9110
+ sslEnabled: Boolean! @deprecated(reason: "This will be removed on Nov 14, 2024")
9074
9111
 
9075
9112
  """Shop's absolute URL."""
9076
9113
  url: String!
@@ -9619,6 +9656,12 @@ enum CategorySortField {
9619
9656
 
9620
9657
  """Sort categories by subcategory count."""
9621
9658
  SUBCATEGORY_COUNT
9659
+
9660
+ """Sort categories by external id."""
9661
+ EXTERNAL_ID
9662
+
9663
+ """Sort categories by external source."""
9664
+ EXTERNAL_SOURCE
9622
9665
  }
9623
9666
 
9624
9667
  input CollectionFilterInput {
@@ -9699,7 +9742,10 @@ enum ProductTypeSortField {
9699
9742
  """Sort products by shipping."""
9700
9743
  SHIPPING_REQUIRED
9701
9744
 
9702
- """Sort products by Sort attributes by external source."""
9745
+ """Sort products by external id."""
9746
+ EXTERNAL_ID
9747
+
9748
+ """Sort products by external source."""
9703
9749
  EXTERNAL_SOURCE
9704
9750
  }
9705
9751
 
@@ -10183,6 +10229,12 @@ enum UserSortField {
10183
10229
 
10184
10230
  """Sort users by is active."""
10185
10231
  IS_ACTIVE
10232
+
10233
+ """Sort users by external id."""
10234
+ EXTERNAL_ID
10235
+
10236
+ """Sort users by external source."""
10237
+ EXTERNAL_SOURCE
10186
10238
  }
10187
10239
 
10188
10240
  type BusinessEntityCountableConnection {
@@ -12358,10 +12410,10 @@ enum NotifyEventTypeEnum {
12358
12410
  UPDATED_STATUS
12359
12411
 
12360
12412
  """Vin Decode Success"""
12361
- VIN_DECODE_SUCCESS
12413
+ VIN_DECODE_SUCCESS @deprecated(reason: "Will be removed on Nov 12, 2024")
12362
12414
 
12363
12415
  """Vin Decode Failed"""
12364
- VIN_DECODE_FAILED
12416
+ VIN_DECODE_FAILED @deprecated(reason: "Will be removed on Nov 12, 2024")
12365
12417
 
12366
12418
  """Import Catalog Failed"""
12367
12419
  IMPORT_CATALOG_FAILED
@@ -13578,6 +13630,9 @@ enum AttributeSortField {
13578
13630
  """Sort attributes by slug"""
13579
13631
  SLUG
13580
13632
 
13633
+ """Sort attributes by external ID"""
13634
+ EXTERNAL_ID
13635
+
13581
13636
  """Sort attributes by external source"""
13582
13637
  EXTERNAL_SOURCE
13583
13638
 
@@ -13881,7 +13936,7 @@ type Mutation {
13881
13936
  description: String
13882
13937
 
13883
13938
  """
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.
13939
+ 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.wordprocessingml.document, pplication/vnd.rar, application/acad, image/svg, application/postscript, application/gzip, application/vnd.openxmlformats-officedocument.presentationml.slideshow, text/comma-separated-values, text/x-csv, image/gif, application/vnd.ms-powerpoint, application/x-dxf, image/tiff, image/heif, application/x-autocad, image/png, application/x-rar, application/x-rar-compressed, drawing/x-dwg, drawing/dwg, image/x-tif, application/pdf, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/x-rtf, application/x-pdf, image/svg+xml, text/x-pdf, text/svg-xml, text/pdf, application/jpg, application/msword, application/vnd.oasis.opendocument.presentation, application/gzipped, image/x-bmp, application/x-jpg, application/x-tar, text/csv, image/tif, application/dxf, application/tif, text/x-comma-separated-values, application/x-csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/tiff, application/x-eps, image/heic-sequence, image/jpeg, application/x-gzip, application/x-tiff, application/x-tif, image/heic, application/eps, application/dwg, application/zip, application/vnd.oasis.opendocument.spreadsheet, image/webp, application/acrobat, image/eps, application/vnd.pdf, drawing/x-dwf, application/x-dwg, application/x-zip-compressed, application/csv, image/bmp, application/x-acad, application/vnd.ms-excel, image/x-ms-bmp, text/svg, image/jpg, image/vnd.dwg, image/heif-sequence, application/svg+xml, text/rtf, application/gzip-compressed, image/x-dwg, image/x-dxf, application/excel, application/vnd.oasis.opendocument.text, text/plain, image/x-tiff, image/dxf, application/vnd.ms-word, image/x-eps, application/rtf.
13885
13940
  """
13886
13941
  file: Upload!
13887
13942
 
@@ -14407,6 +14462,18 @@ type Mutation {
14407
14462
  id: ID!
14408
14463
  ): SellerAgreementAcknowledge
14409
14464
 
14465
+ """Creates a new seller agreement mapping."""
14466
+ sellerAgreementAssign(
14467
+ """Fields required to create a seller agreement mapping"""
14468
+ input: SellerAgreementInput!
14469
+ ): SellerAgreementAssign
14470
+
14471
+ """Deletes a seller agreement mapping."""
14472
+ sellerAgreementDelete(
14473
+ """ID of seller agreement mapping to delete"""
14474
+ id: ID!
14475
+ ): SellerAgreementDelete
14476
+
14410
14477
  """
14411
14478
  Create new Seller and a new staff user and assign created user as Seller owner.
14412
14479
  """
@@ -18747,6 +18814,29 @@ type SellerAgreementAcknowledge {
18747
18814
  agreementErrors: [AgreementError!]!
18748
18815
  }
18749
18816
 
18817
+ """Creates a new seller agreement mapping."""
18818
+ type SellerAgreementAssign {
18819
+ agreementErrors: [AgreementError!]!
18820
+ sellerAgreement: AgreementSellers
18821
+ }
18822
+
18823
+ input SellerAgreementInput {
18824
+ """ID of the agreement that seller will be assigned to"""
18825
+ agreement: ID!
18826
+
18827
+ """When this agreement becomes effective for the seller"""
18828
+ effectiveAt: DateTime!
18829
+
18830
+ """ID of seller that agreed to plan"""
18831
+ seller: ID!
18832
+ }
18833
+
18834
+ """Deletes a seller agreement mapping."""
18835
+ type SellerAgreementDelete {
18836
+ agreementErrors: [AgreementError!]!
18837
+ agreementSellers: AgreementSellers
18838
+ }
18839
+
18750
18840
  """
18751
18841
  Create new Seller and a new staff user and assign created user as Seller owner.
18752
18842
  """
@@ -24632,11 +24722,10 @@ type CreateCustomerToken {
24632
24722
  Refresh token for renewing the nautical_token (access token). This refresh token expires after 1 hour
24633
24723
  """
24634
24724
  refreshToken: String
24635
- authErrors: [Error!]!
24725
+ authErrors: [AuthError!]!
24636
24726
  }
24637
24727
 
24638
- """Represents an error in the input of a mutation."""
24639
- type Error {
24728
+ type AuthError {
24640
24729
  """
24641
24730
  Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field.
24642
24731
  """
@@ -24644,6 +24733,9 @@ type Error {
24644
24733
 
24645
24734
  """The error message."""
24646
24735
  message: String!
24736
+
24737
+ """The error code"""
24738
+ code: String!
24647
24739
  }
24648
24740
 
24649
24741
  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-10-g0e06321a5",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {