@nautical-commerce/graphql-schema 1.70.2 → 1.71.0-10-gebf12fc93

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.
@@ -317,6 +317,9 @@ type Query {
317
317
  last: Int
318
318
  ): TenantCountableConnection
319
319
 
320
+ """Return the tenant for the currently authenticated user."""
321
+ currentTenant: Tenant
322
+
320
323
  """Return information about the shop."""
321
324
  shop: Shop!
322
325
 
@@ -3058,6 +3061,9 @@ type Product implements Node & ObjectWithMetadata {
3058
3061
  """List of attributes assigned to this product."""
3059
3062
  attributes: [SelectedAttribute!]!
3060
3063
 
3064
+ """Variant attributes of a product."""
3065
+ variantAttributes: [Attribute!]
3066
+
3061
3067
  """List of custom fields assigned to this product."""
3062
3068
  customFields: [SelectedAttribute!]!
3063
3069
  purchaseCost: MoneyRange
@@ -3353,6 +3359,25 @@ type Tenant implements Node {
3353
3359
  id: ID!
3354
3360
  name: String!
3355
3361
  isActive: Boolean!
3362
+ onboardingStepsCompleted: [TenantOnboardingStep!]!
3363
+ }
3364
+
3365
+ """The different possible onboarding steps for new tenants."""
3366
+ enum TenantOnboardingStep {
3367
+ BUSINESS_DETAILS
3368
+ SHIPPING_FULFILLMENT
3369
+ SHIPPING_ZONE
3370
+ WAREHOUSE
3371
+ STOREFRONT_BRANDING
3372
+ PRODUCT
3373
+ CUSTOM_DOMAIN
3374
+ TEST_ORDER
3375
+ FULFILL_ORDER
3376
+ TEST_PAYOUT
3377
+ PAYMENT_PROVIDER
3378
+ PRODUCT_CATEGORIES
3379
+ PRODUCT_TEMPLATE
3380
+ SELLER_ONBOARDING
3356
3381
  }
3357
3382
 
3358
3383
  type SellerEventTypeCountableConnection {
@@ -13111,6 +13136,12 @@ type Mutation {
13111
13136
  input: TenantUpdateInput!
13112
13137
  ): TenantUpdate
13113
13138
 
13139
+ """Tenant onboarding update mutation."""
13140
+ tenantOnboardingUpdate(
13141
+ """Field for updating onboarding steps"""
13142
+ input: TenantOnboardingUpdateInput!
13143
+ ): TenantOnboardingUpdate
13144
+
13114
13145
  """
13115
13146
  Add or attach a document to any allowed entity (note: consider to use DocumentAttach for 'attach' action). Must only receive one of either file or document_id in input.
13116
13147
  """
@@ -13119,7 +13150,7 @@ type Mutation {
13119
13150
  description: String
13120
13151
 
13121
13152
  """
13122
- Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: image/png, image/tiff, application/gzip-compressed, application/dwg, image/x-ms-bmp, application/x-acad, application/pdf, application/svg+xml, text/svg, image/jpeg, application/gzipped, application/tiff, image/heic-sequence, text/plain, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/x-rtf, text/pdf, application/eps, text/x-comma-separated-values, text/rtf, application/vnd.ms-word, image/webp, application/x-zip-compressed, application/excel, application/x-rar, image/heif-sequence, image/x-bmp, application/vnd.oasis.opendocument.text, image/x-dwg, application/vnd.ms-powerpoint, application/vnd.oasis.opendocument.spreadsheet, image/x-eps, image/bmp, application/x-dxf, text/comma-separated-values, drawing/x-dwf, application/x-csv, pplication/vnd.rar, image/svg, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/zip, image/svg+xml, application/gzip, image/heic, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/vnd.openxmlformats-officedocument.presentationml.slideshow, image/dxf, image/eps, application/rtf, application/acrobat, application/msword, text/csv, application/vnd.oasis.opendocument.presentation, image/x-tif, image/gif, image/x-tiff, application/vnd.pdf, application/x-tiff, application/dxf, image/jpg, image/tif, image/vnd.dwg, application/postscript, text/x-csv, application/tif, image/heif, text/x-pdf, application/jpg, application/x-tar, application/acad, drawing/dwg, application/x-eps, image/x-dxf, application/x-autocad, application/x-jpg, application/x-dwg, application/x-pdf, application/x-tif, text/svg-xml, application/vnd.ms-excel, drawing/x-dwg, application/x-gzip, application/x-rar-compressed, application/csv.
13153
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/gzip-compressed, text/pdf, image/svg+xml, application/vnd.ms-excel, application/svg+xml, image/heic-sequence, application/vnd.oasis.opendocument.spreadsheet, image/tif, image/x-ms-bmp, application/x-tif, drawing/x-dwg, text/x-pdf, application/vnd.oasis.opendocument.presentation, text/csv, text/svg-xml, application/vnd.ms-word, application/postscript, image/heif-sequence, application/excel, image/x-tif, application/x-gzip, application/vnd.ms-powerpoint, application/x-dwg, application/x-pdf, application/x-dxf, application/x-acad, text/x-csv, image/svg, application/tiff, image/x-bmp, drawing/dwg, application/x-jpg, image/webp, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/gif, image/eps, image/bmp, image/heic, application/msword, application/pdf, application/gzipped, application/vnd.pdf, application/x-rar, text/x-comma-separated-values, pplication/vnd.rar, application/eps, image/x-tiff, application/dwg, application/x-eps, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/x-tiff, application/rtf, image/vnd.dwg, application/csv, application/dxf, image/jpeg, drawing/x-dwf, application/tif, image/x-dxf, application/vnd.openxmlformats-officedocument.presentationml.presentation, image/png, application/x-rtf, application/acad, application/x-csv, application/jpg, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, image/tiff, image/dxf, application/x-rar-compressed, image/jpg, image/x-dwg, application/vnd.oasis.opendocument.text, text/svg, application/x-tar, application/acrobat, image/heif, text/rtf, application/x-zip-compressed, text/plain, image/x-eps, text/comma-separated-values, application/zip, application/x-autocad, application/gzip.
13123
13154
  """
13124
13155
  file: Upload!
13125
13156
 
@@ -15755,13 +15786,16 @@ type Mutation {
15755
15786
  ids: [ID!]!
15756
15787
  ): AttributeBulkDelete
15757
15788
 
15758
- """Assign attributes to a given product type."""
15789
+ """Assign attributes to a given product or product type."""
15759
15790
  attributeAssign(
15760
15791
  """The operations to perform."""
15761
15792
  operations: [AttributeAssignInput!]!
15762
15793
 
15763
- """ID of the product type to assign the attributes into."""
15764
- productTypeId: ID!
15794
+ """ID of the product to which the attribute will be assigned."""
15795
+ productId: ID
15796
+
15797
+ """ID of the product type to which the attribute will be assigned."""
15798
+ productTypeId: ID
15765
15799
  ): AttributeAssign
15766
15800
 
15767
15801
  """Un-assign attributes from a given product type."""
@@ -15769,8 +15803,11 @@ type Mutation {
15769
15803
  """The IDs of the attributes to assign."""
15770
15804
  attributeIds: [ID!]!
15771
15805
 
15806
+ """ID of the product to which the attribute will be assigned."""
15807
+ productId: ID
15808
+
15772
15809
  """ID of the product type to assign the attributes into."""
15773
- productTypeId: ID!
15810
+ productTypeId: ID
15774
15811
  ): AttributeUnassign
15775
15812
 
15776
15813
  """Updates attribute."""
@@ -16357,6 +16394,17 @@ input TenantUpdateInput {
16357
16394
  slug: String
16358
16395
  }
16359
16396
 
16397
+ """Tenant onboarding update mutation."""
16398
+ type TenantOnboardingUpdate {
16399
+ tenant: Tenant
16400
+ tenantErrors: [TenantError!]!
16401
+ }
16402
+
16403
+ input TenantOnboardingUpdateInput {
16404
+ """List of onboarding steps completed"""
16405
+ onboardingStepsCompleted: [TenantOnboardingStep!]
16406
+ }
16407
+
16360
16408
  """
16361
16409
  Add or attach a document to any allowed entity (note: consider to use DocumentAttach for 'attach' action). Must only receive one of either file or document_id in input.
16362
16410
  """
@@ -18819,6 +18867,7 @@ enum ProductErrorCode {
18819
18867
  COLLECTION_ALLOWED_FOR_PRODUCTS_ONLY
18820
18868
  COLLECTION_ALLOWED_FOR_VARIANTS_ONLY
18821
18869
  INVENTORY_FIELD_CANNOT_BE_EDITED
18870
+ REQUIRED_PRODUCT_ID_OR_PRODUCT_TYPE_ID
18822
18871
  }
18823
18872
 
18824
18873
  input CategoryInput {
@@ -19228,6 +19277,9 @@ input ProductCreateInput {
19228
19277
  The external ID from a foreign system if a product originated from that system, used in combination with provided externalSource. If submitting externalId, you must also provide an externalSource argument. If these two are provided, the productCreate mutation will attempt to perform an upsert instead of a creation.
19229
19278
  """
19230
19279
  externalId: String
19280
+
19281
+ """Represents an image file in a multipart request."""
19282
+ image: Upload
19231
19283
  }
19232
19284
 
19233
19285
  """Represents size of a specific variant."""
@@ -22715,10 +22767,13 @@ type AttributeBulkDelete {
22715
22767
  productErrors: [ProductError!]!
22716
22768
  }
22717
22769
 
22718
- """Assign attributes to a given product type."""
22770
+ """Assign attributes to a given product or product type."""
22719
22771
  type AttributeAssign {
22720
- """The updated product type."""
22772
+ """The product type to which the attribute was assigned."""
22721
22773
  productType: ProductType
22774
+
22775
+ """The product to which the attribute was assigned."""
22776
+ product: Product
22722
22777
  productErrors: [ProductError!]!
22723
22778
  }
22724
22779
 
@@ -22734,6 +22789,9 @@ input AttributeAssignInput {
22734
22789
  type AttributeUnassign {
22735
22790
  """The updated product type."""
22736
22791
  productType: ProductType
22792
+
22793
+ """The product to which the attribute was assigned."""
22794
+ product: Product
22737
22795
  productErrors: [ProductError!]!
22738
22796
  }
22739
22797
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.70.2",
3
+ "version": "v1.71.0-10-gebf12fc93",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {