@nautical-commerce/graphql-schema 1.50.0 → 1.51.0-2-g843e77b19

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.
@@ -39,7 +39,7 @@ type Query {
39
39
  ): Webhook
40
40
 
41
41
  """List of all available webhook events."""
42
- webhookEvents: [WebhookEvent!]
42
+ webhookEvents: [WebhookEvent!]!
43
43
 
44
44
  """
45
45
  Retrieve a sample payload for a given webhook event based on real data. It can be useful for some integrations where sample payload is required.
@@ -205,6 +205,27 @@ type Query {
205
205
  last: Int
206
206
  ): MediaCountableConnection
207
207
 
208
+ """Look up a tenant by ID."""
209
+ tenant(
210
+ """ID of a tenant."""
211
+ id: ID!
212
+ ): Tenant
213
+
214
+ """List of tenants."""
215
+ tenants(
216
+ """Return the elements in the list that come before the specified cursor."""
217
+ before: String
218
+
219
+ """Return the elements in the list that come after the specified cursor."""
220
+ after: String
221
+
222
+ """Return the first n elements from the list."""
223
+ first: Int
224
+
225
+ """Return the last n elements from the list."""
226
+ last: Int
227
+ ): TenantCountableConnection
228
+
208
229
  """Return information about the shop."""
209
230
  shop: Shop!
210
231
 
@@ -343,10 +364,6 @@ type Query {
343
364
  """Return the last n elements from the list."""
344
365
  last: Int
345
366
  ): AgreementCountableConnection
346
- sellerName(
347
- """PK of the seller"""
348
- id: ID!
349
- ): Seller
350
367
  sellerListCards(period: ReportingPeriod!, identifier: ID): SellerCards
351
368
  sellerDetailCards(period: ReportingPeriod!, identifier: ID!): SellerDetailCards
352
369
 
@@ -808,24 +825,6 @@ type Query {
808
825
  last: Int
809
826
  ): UserCountableConnection
810
827
 
811
- """Look up entities (companies) attached to a price book by ID."""
812
- priceBookEntities(
813
- """ID of a price book."""
814
- priceBookId: ID!
815
-
816
- """Return the elements in the list that come before the specified cursor."""
817
- before: String
818
-
819
- """Return the elements in the list that come after the specified cursor."""
820
- after: String
821
-
822
- """Return the first n elements from the list."""
823
- first: Int
824
-
825
- """Return the last n elements from the list."""
826
- last: Int
827
- ): BusinessEntityCountableConnection
828
-
829
828
  """Look up a plugin by ID."""
830
829
  plugin(
831
830
  """ID of the plugin."""
@@ -1762,7 +1761,7 @@ type Query {
1762
1761
  last: Int
1763
1762
  ): VoucherCountableConnection
1764
1763
  designerdata(name: String): DesignerDataType @deprecated(reason: "This will be removed on October 25, 2024")
1765
- designerdatalist: [DesignerDataType!] @deprecated(reason: "This will be removed on October 25, 2024")
1764
+ designerdatalist: [DesignerDataType!]! @deprecated(reason: "This will be removed on October 25, 2024")
1766
1765
  branding: BrandingType! @deprecated(reason: "This will be removed on October 25, 2024")
1767
1766
 
1768
1767
  """Return information about the dashboard."""
@@ -1799,9 +1798,9 @@ type Query {
1799
1798
  ): ExportFileCountableConnection
1800
1799
 
1801
1800
  """List of all tax rates available from tax gateway."""
1802
- taxTypes: [TaxType!]
1801
+ taxTypes: [TaxType!]!
1803
1802
  coredata(name: String): CoreDataType @deprecated(reason: "This will be removed on October 25, 2024")
1804
- coredatalist: [CoreDataType!] @deprecated(reason: "This will be removed on October 25, 2024")
1803
+ coredatalist: [CoreDataType!]! @deprecated(reason: "This will be removed on October 25, 2024")
1805
1804
 
1806
1805
  """Look up a checkout by token."""
1807
1806
  checkout(
@@ -1866,27 +1865,6 @@ type Query {
1866
1865
  last: Int
1867
1866
  ): ChannelCountableConnection @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
1868
1867
 
1869
- """List of business entities."""
1870
- businessEntities(
1871
- """Return the elements in the list that come before the specified cursor."""
1872
- before: String
1873
-
1874
- """Return the elements in the list that come after the specified cursor."""
1875
- after: String
1876
-
1877
- """Return the first n elements from the list."""
1878
- first: Int
1879
-
1880
- """Return the last n elements from the list."""
1881
- last: Int
1882
- ): BusinessEntityCountableConnection
1883
-
1884
- """Business entity details."""
1885
- businessEntity(
1886
- """ID of a business entity."""
1887
- id: ID!
1888
- ): BusinessEntity
1889
-
1890
1868
  """List of the shop's attributes."""
1891
1869
  attributes(
1892
1870
  """Filtering options for attributes."""
@@ -1915,7 +1893,7 @@ type Query {
1915
1893
  ): Attribute
1916
1894
 
1917
1895
  """List of the available custom field templates."""
1918
- customFieldTemplates: [CustomFieldTemplate!]
1896
+ customFieldTemplates: [CustomFieldTemplate!]!
1919
1897
 
1920
1898
  """Look up a custom field template by ID or Content Type."""
1921
1899
  customFieldTemplate(
@@ -2282,7 +2260,7 @@ type User implements Node & ObjectWithMetadata {
2282
2260
  vatIdentificationNumber: String
2283
2261
 
2284
2262
  """List of all user's addresses."""
2285
- addresses: [Address!]
2263
+ addresses: [Address!]!
2286
2264
 
2287
2265
  """Returns the last open checkout of this user."""
2288
2266
  checkout: Checkout
@@ -2415,23 +2393,23 @@ type User implements Node & ObjectWithMetadata {
2415
2393
  ): NauticalOrderCountableConnection @deprecated(reason: "This will be removed alongside bids and offers on November 21, 2024")
2416
2394
 
2417
2395
  """List of user's permissions."""
2418
- userPermissions: [UserPermission!]
2396
+ userPermissions: [UserPermission!]!
2419
2397
 
2420
2398
  """List of user's permission groups."""
2421
- permissionGroups: [Group!]
2399
+ permissionGroups: [Group!]!
2422
2400
 
2423
2401
  """List of user's permission groups which user can manage."""
2424
- editableGroups: [Group!]
2402
+ editableGroups: [Group!]!
2425
2403
  avatar(
2426
2404
  """Size of the avatar."""
2427
2405
  size: Int
2428
2406
  ): Image
2429
2407
 
2430
2408
  """List of events associated with the user."""
2431
- events: [CustomerEvent!]
2409
+ events: [CustomerEvent!]!
2432
2410
 
2433
2411
  """List of stored payment sources."""
2434
- storedPaymentSources: [PaymentSource!]
2412
+ storedPaymentSources: [PaymentSource!]!
2435
2413
 
2436
2414
  """Wishlist items of the user default wishlist"""
2437
2415
  wishlist(
@@ -2479,7 +2457,7 @@ type User implements Node & ObjectWithMetadata {
2479
2457
  agreement: Agreement
2480
2458
 
2481
2459
  """List of documents associated with the user."""
2482
- documents: [Document!]
2460
+ documents: [Document!]!
2483
2461
 
2484
2462
  """Returns values of price book the user is added to"""
2485
2463
  priceBook: PriceBook
@@ -2605,14 +2583,14 @@ type Checkout implements Node & ObjectWithMetadata {
2605
2583
  """
2606
2584
  Available shipping methods for marketplace-fulfilled items in this checkout.
2607
2585
  """
2608
- availableMarketplaceShippingMethods: [ShippingMethod!]
2586
+ availableMarketplaceShippingMethods: [ShippingMethod!]!
2609
2587
 
2610
2588
  """Available shipping methods for each seller in this checkout."""
2611
- availableShippingMethodsBySeller: [MultiSellerShippingMethod!]
2589
+ availableShippingMethodsBySeller: [MultiSellerShippingMethod!]!
2612
2590
 
2613
2591
  """Applicable volume discounts"""
2614
2592
  applicableVolumeDiscounts: Money
2615
- applicableVolumeDiscountsBySeller: [SellerVolumeDiscount!]
2593
+ applicableVolumeDiscountsBySeller: [SellerVolumeDiscount!]!
2616
2594
 
2617
2595
  """List of available payment gateways."""
2618
2596
  availablePaymentGateways: [PaymentGateway!]!
@@ -2626,7 +2604,7 @@ type Checkout implements Node & ObjectWithMetadata {
2626
2604
  """
2627
2605
  A list of checkout lines, each containing information about an item in the checkout.
2628
2606
  """
2629
- lines: [CheckoutLine!]
2607
+ lines: [CheckoutLine!]!
2630
2608
 
2631
2609
  """The price of the shipping, with all the taxes included."""
2632
2610
  shippingPrice: TaxedMoney!
@@ -2812,7 +2790,6 @@ type ProductVariant implements Node & ObjectWithMetadata {
2812
2790
  updatedAt: DateTime!
2813
2791
  description: String!
2814
2792
  descriptionHtml: String!
2815
- descriptionJson: JSONString!
2816
2793
  externalId: String
2817
2794
  externalSource: String
2818
2795
  seoTitle: String
@@ -2933,14 +2910,6 @@ type ProductVariant implements Node & ObjectWithMetadata {
2933
2910
  vouchers: [Voucher!]!
2934
2911
  }
2935
2912
 
2936
- """
2937
- Allows use of a JSON String for input / output from the GraphQL schema.
2938
-
2939
- Use of this type is *not recommended* as you lose the benefits of having a defined, static
2940
- schema (one of the key benefits of GraphQL).
2941
- """
2942
- scalar JSONString
2943
-
2944
2913
  """An enumeration."""
2945
2914
  enum ProductVariantStatus {
2946
2915
  """Draft"""
@@ -2969,7 +2938,6 @@ type Product implements Node & ObjectWithMetadata {
2969
2938
  publicationDate: Date
2970
2939
  description: String!
2971
2940
  descriptionHtml: String!
2972
- descriptionJson: JSONString!
2973
2941
  externalId: String
2974
2942
  externalSource: String
2975
2943
  seller: Seller
@@ -3126,7 +3094,7 @@ type Product implements Node & ObjectWithMetadata {
3126
3094
  actions: [ProductAction!]
3127
3095
 
3128
3096
  """List of documents associated with the product."""
3129
- documents: [Document!]
3097
+ documents: [Document!]!
3130
3098
 
3131
3099
  """List of sales associated with the product."""
3132
3100
  sales: [Sale!]!
@@ -3174,6 +3142,10 @@ type Seller implements Node & ObjectWithMetadata {
3174
3142
  defaultCurrency: String!
3175
3143
  fulfilledByMarketplace: Boolean!
3176
3144
  status: SellerStatus!
3145
+ banner(
3146
+ """Size of the banner."""
3147
+ size: Int
3148
+ ): Image
3177
3149
  sellerusers(offset: Int, before: String, after: String, first: Int, last: Int): SellerUserTypeCountableConnection!
3178
3150
  events(offset: Int, before: String, after: String, first: Int, last: Int): SellerEventTypeCountableConnection!
3179
3151
 
@@ -3211,6 +3183,8 @@ type Seller implements Node & ObjectWithMetadata {
3211
3183
  pk: Int
3212
3184
  externalPayoutStatus: Boolean
3213
3185
  externalPayoutSchedule: String
3186
+ agreementDecisionReason: String
3187
+ storeDescription: String
3214
3188
 
3215
3189
  """List of documents associated with the seller."""
3216
3190
  documents: [Document!]
@@ -3338,11 +3312,20 @@ type SellerUserTypeCountableEdge {
3338
3312
  type SellerUserType implements Node {
3339
3313
  """The ID of the object"""
3340
3314
  id: ID!
3315
+ tenant: Tenant!
3341
3316
  seller: Seller!
3342
3317
  user: User!
3343
3318
  isDefault: Boolean!
3344
3319
  }
3345
3320
 
3321
+ """Represents a Tenant in a multi-tenant deployment"""
3322
+ type Tenant implements Node {
3323
+ """The ID of the object"""
3324
+ id: ID!
3325
+ name: String!
3326
+ isActive: Boolean!
3327
+ }
3328
+
3346
3329
  type SellerEventTypeCountableConnection {
3347
3330
  """Pagination data for this connection."""
3348
3331
  pageInfo: PageInfo!
@@ -3395,11 +3378,20 @@ enum SellerEventsEnum {
3395
3378
  SELLER_NOTE_ADDED
3396
3379
  }
3397
3380
 
3381
+ """
3382
+ Allows use of a JSON String for input / output from the GraphQL schema.
3383
+
3384
+ Use of this type is *not recommended* as you lose the benefits of having a defined, static
3385
+ schema (one of the key benefits of GraphQL).
3386
+ """
3387
+ scalar JSONString
3388
+
3398
3389
  type SellerOnboardingChecklist implements Node {
3399
3390
  """The ID of the object"""
3400
3391
  id: ID!
3401
3392
  createdAt: DateTime!
3402
3393
  updatedAt: DateTime!
3394
+ tenant: Tenant!
3403
3395
  seller: Seller!
3404
3396
  position: Int!
3405
3397
  title: String!
@@ -3408,11 +3400,11 @@ type SellerOnboardingChecklist implements Node {
3408
3400
  """
3409
3401
  Trigger, when this checklist will be marked as done. Can be None in case when user should manually mark this checklist as completed.
3410
3402
  """
3411
- completeOn: SellerChecklistCompetitionTriggersEnum
3403
+ completeOn: SellerChecklistCompletionTriggersEnum
3412
3404
  completedAt: DateTime
3413
3405
  }
3414
3406
 
3415
- enum SellerChecklistCompetitionTriggersEnum {
3407
+ enum SellerChecklistCompletionTriggersEnum {
3416
3408
  """Payout Account Created"""
3417
3409
  PAYOUT_ACCOUNT_CREATED
3418
3410
 
@@ -3421,6 +3413,15 @@ enum SellerChecklistCompetitionTriggersEnum {
3421
3413
 
3422
3414
  """First Product Created"""
3423
3415
  FIRST_PRODUCT_CREATED
3416
+
3417
+ """First Shipping Zone Created"""
3418
+ FIRST_SHIPPING_ZONE_CREATED
3419
+
3420
+ """Page Setup in Store"""
3421
+ PAGE_SETUP_IN_STORE
3422
+
3423
+ """Invite Staff"""
3424
+ INVITE_STAFF
3424
3425
  }
3425
3426
 
3426
3427
  type SellerApplication implements Node {
@@ -3497,6 +3498,7 @@ type VendorPayout implements Node & ObjectWithMetadata {
3497
3498
 
3498
3499
  """List of public metadata items. Can be accessed without permissions."""
3499
3500
  metadata: [MetadataItem!]!
3501
+ tenant: Tenant!
3500
3502
  created: DateTime!
3501
3503
  updated: DateTime!
3502
3504
  gateway: String!
@@ -3553,6 +3555,7 @@ type Payout implements Node & ObjectWithMetadata {
3553
3555
 
3554
3556
  """List of public metadata items. Can be accessed without permissions."""
3555
3557
  metadata: [MetadataItem!]!
3558
+ tenant: Tenant!
3556
3559
  created: String!
3557
3560
  updated: DateTime!
3558
3561
  startDate: Date
@@ -4009,7 +4012,7 @@ type Voucher implements Node {
4009
4012
  ): ProductVariantCountableConnection
4010
4013
 
4011
4014
  """List of countries available for the shipping voucher."""
4012
- countries: [CountryDisplay!]
4015
+ countries: [CountryDisplay!]!
4013
4016
  }
4014
4017
 
4015
4018
  """An enumeration."""
@@ -4050,7 +4053,6 @@ type Category implements Node & ObjectWithMetadata {
4050
4053
  id: ID!
4051
4054
  description: String!
4052
4055
  descriptionHtml: String!
4053
- descriptionJson: JSONString!
4054
4056
  externalId: String
4055
4057
  externalSource: String
4056
4058
  seoTitle: String
@@ -4347,7 +4349,6 @@ enum ProductSearchFieldEnum {
4347
4349
  SUB_PRODUCT_VARIANT_NAME
4348
4350
  SUB_PRODUCT_VARIANT_SKU
4349
4351
  DESCRIPTION
4350
- DESCRIPTION_JSON
4351
4352
  }
4352
4353
 
4353
4354
  input MetadataFilterInput {
@@ -4476,10 +4477,10 @@ type Attribute implements Node & ObjectWithMetadata {
4476
4477
  slug: String!
4477
4478
 
4478
4479
  """List of all product types that are using this attribute"""
4479
- allProductTypes: [ProductType!]
4480
+ allProductTypes: [ProductType!]!
4480
4481
 
4481
4482
  """List of attribute's values."""
4482
- values: [AttributeValue!]
4483
+ values: [AttributeValue!]!
4483
4484
 
4484
4485
  """Whether the attribute requires values to be passed or not."""
4485
4486
  valueRequired: Boolean!
@@ -4573,13 +4574,13 @@ type ProductType implements Node & ObjectWithMetadata {
4573
4574
  taxType: TaxType
4574
4575
 
4575
4576
  """Variant attributes of that product type."""
4576
- variantAttributes: [Attribute!]
4577
+ variantAttributes: [Attribute!]!
4577
4578
 
4578
4579
  """Legacy indicator, always true."""
4579
4580
  hasVariants: Boolean
4580
4581
 
4581
4582
  """Product attributes of that product type."""
4582
- productAttributes: [Attribute!]
4583
+ productAttributes: [Attribute!]!
4583
4584
  availableAttributes(
4584
4585
  filter: AttributeFilterInput
4585
4586
 
@@ -4597,10 +4598,10 @@ type ProductType implements Node & ObjectWithMetadata {
4597
4598
  ): AttributeCountableConnection
4598
4599
 
4599
4600
  """Product features of this product type."""
4600
- productFeatures: [ProductTypeProductFeature!]
4601
+ productFeatures: [ProductTypeProductFeature!]!
4601
4602
 
4602
4603
  """Variant features of this product type."""
4603
- variantFeatures: [ProductTypeVariantFeature!]
4604
+ variantFeatures: [ProductTypeVariantFeature!]!
4604
4605
 
4605
4606
  """Brand of the product"""
4606
4607
  model: String
@@ -4663,6 +4664,7 @@ type ProductTypeProductFeature implements Node {
4663
4664
  """The ID of the object"""
4664
4665
  id: ID!
4665
4666
  sortOrder: Int
4667
+ tenant: Tenant!
4666
4668
 
4667
4669
  """The type that we expect to render the feature's values as."""
4668
4670
  featureType: FeatureTypeEnum!
@@ -4712,6 +4714,7 @@ type ProductFeature implements Node {
4712
4714
  deletedByUser: User
4713
4715
  deletedByApp: App
4714
4716
  deletionBatchUuid: UUID
4717
+ tenant: Tenant!
4715
4718
 
4716
4719
  """The type that we expect to render the feature's values as."""
4717
4720
  featureType: FeatureTypeEnum!
@@ -4831,7 +4834,6 @@ enum PermissionEnum {
4831
4834
  MANAGE_REFUNDS
4832
4835
  MANAGE_CHANNELS
4833
4836
  MANAGE_COLLECTIONS
4834
- MANAGE_BUSINESS_ENTITIES
4835
4837
  }
4836
4838
 
4837
4839
  """Represents token data."""
@@ -4957,6 +4959,7 @@ type ProductTypeVariantFeature implements Node {
4957
4959
  """The ID of the object"""
4958
4960
  id: ID!
4959
4961
  sortOrder: Int
4962
+ tenant: Tenant!
4960
4963
 
4961
4964
  """The type that we expect to render the feature's values as."""
4962
4965
  featureType: FeatureTypeEnum!
@@ -4991,6 +4994,7 @@ type VariantFeature implements Node {
4991
4994
  """The ID of the object"""
4992
4995
  id: ID!
4993
4996
  sortOrder: Int
4997
+ tenant: Tenant!
4994
4998
 
4995
4999
  """The type that we expect to render the feature's values as."""
4996
5000
  featureType: FeatureTypeEnum!
@@ -5046,6 +5050,7 @@ type AttributeValue implements Node {
5046
5050
  """The ID of the object"""
5047
5051
  id: ID!
5048
5052
  sortOrder: Int
5053
+ tenant: Tenant!
5049
5054
 
5050
5055
  """Name of a value displayed in the interface."""
5051
5056
  name: String!
@@ -5128,7 +5133,6 @@ type Collection implements Node & ObjectWithMetadata {
5128
5133
  metadata: [MetadataItem!]!
5129
5134
  description: String!
5130
5135
  descriptionHtml: String!
5131
- descriptionJson: JSONString!
5132
5136
  seoTitle: String
5133
5137
  seoDescription: String
5134
5138
  isVisible: Boolean!
@@ -5460,6 +5464,7 @@ type AffiliateCodes implements Node {
5460
5464
  type Channel implements Node {
5461
5465
  """The ID of the object"""
5462
5466
  id: ID!
5467
+ tenant: Tenant!
5463
5468
  createdAt: DateTime
5464
5469
  updatedAt: DateTime
5465
5470
  channel: String!
@@ -6876,6 +6881,7 @@ type Bid implements Node {
6876
6881
  id: ID!
6877
6882
  privateMetadata: JSONString!
6878
6883
  metadata: JSONString!
6884
+ tenant: Tenant!
6879
6885
  createdAt: DateTime!
6880
6886
  updatedAt: DateTime!
6881
6887
  status: BidStatus!
@@ -7143,6 +7149,7 @@ enum RefundTypeEnum {
7143
7149
  type OrderFee implements Node {
7144
7150
  """The ID of the object"""
7145
7151
  id: ID!
7152
+ tenant: Tenant!
7146
7153
  order: Order
7147
7154
 
7148
7155
  """Currency of the fee."""
@@ -7315,6 +7322,7 @@ type AgreementSellersCountableEdge {
7315
7322
  type AgreementSellers implements Node & ObjectWithMetadata {
7316
7323
  """The ID of the object"""
7317
7324
  id: ID!
7325
+ tenant: Tenant!
7318
7326
  seller: Seller!
7319
7327
  acknowledgedOn: DateTime
7320
7328
  plan: Agreement
@@ -7341,7 +7349,7 @@ type Agreement implements Node & ObjectWithMetadata {
7341
7349
  updatedAt: DateTime!
7342
7350
  content: String!
7343
7351
  contentHtml: String!
7344
- contentJson: JSONString!
7352
+ tenant: Tenant!
7345
7353
  seoTitle: String
7346
7354
  seoDescription: String
7347
7355
  slug: String!
@@ -7361,11 +7369,11 @@ type Agreement implements Node & ObjectWithMetadata {
7361
7369
  staff: String!
7362
7370
 
7363
7371
  """List of granular commissions associated with the agreement."""
7364
- granularCommissions: [AgreementCommission!]
7372
+ granularCommissions: [AgreementCommission!]!
7365
7373
  sellerAgreements(offset: Int, before: String, after: String, first: Int, last: Int): AgreementSellersCountableConnection!
7366
7374
 
7367
7375
  """List of extra fees associated with the agreement."""
7368
- fees: [AgreementFees!]
7376
+ fees: [AgreementFees!]!
7369
7377
 
7370
7378
  """
7371
7379
  List of private metadata items.Requires proper staff permissions to access.
@@ -7416,6 +7424,7 @@ enum AgreementAgreementType {
7416
7424
  type AgreementCommission implements Node & ObjectWithMetadata {
7417
7425
  """The ID of the object"""
7418
7426
  id: ID!
7427
+ tenant: Tenant!
7419
7428
  commission: Decimal!
7420
7429
  agreement: Agreement!
7421
7430
 
@@ -7433,6 +7442,7 @@ type AgreementCommission implements Node & ObjectWithMetadata {
7433
7442
  type AgreementFees implements Node {
7434
7443
  """The ID of the object"""
7435
7444
  id: ID!
7445
+ tenant: Tenant!
7436
7446
  agreement: Agreement!
7437
7447
 
7438
7448
  """type of fee"""
@@ -7482,7 +7492,6 @@ type Microsite implements Node & ObjectWithMetadata {
7482
7492
  publicationDate: Date
7483
7493
  description: String!
7484
7494
  descriptionHtml: String!
7485
- descriptionJson: JSONString!
7486
7495
  seoTitle: String
7487
7496
  seoDescription: String
7488
7497
  name: String!
@@ -7538,6 +7547,7 @@ type Document {
7538
7547
  id: ID!
7539
7548
  createdAt: DateTime!
7540
7549
  updatedAt: DateTime!
7550
+ tenant: Tenant!
7541
7551
  file: String!
7542
7552
  name: String!
7543
7553
  description: String!
@@ -8156,6 +8166,8 @@ type AddressType implements Node & ObjectWithMetadata {
8156
8166
 
8157
8167
  """Represents an shipping method for a particular seller on a checkout."""
8158
8168
  type CheckoutSellerShipping implements Node {
8169
+ tenant: Tenant!
8170
+
8159
8171
  """The ID of the object"""
8160
8172
  id: ID!
8161
8173
  seller: Seller!
@@ -8284,7 +8296,7 @@ type UserPermission {
8284
8296
  sourcePermissionGroups(
8285
8297
  """ID of user whose groups should be returned."""
8286
8298
  userId: ID
8287
- ): [Group!]
8299
+ ): [Group!]!
8288
8300
  }
8289
8301
 
8290
8302
  """Represents permission group data."""
@@ -8294,10 +8306,10 @@ type Group implements Node {
8294
8306
  name: String!
8295
8307
 
8296
8308
  """List of group permissions"""
8297
- permissions: [Permission!]
8309
+ permissions: [Permission!]!
8298
8310
 
8299
8311
  """List of group users"""
8300
- users: [User!]
8312
+ users: [User!]!
8301
8313
 
8302
8314
  """
8303
8315
  True, if the currently authenticated user has rights to manage a group.
@@ -8508,6 +8520,7 @@ type WebhookEventLogCountableEdge {
8508
8520
  type WebhookEventLog implements Node {
8509
8521
  """The ID of the object"""
8510
8522
  id: ID!
8523
+ tenant: Tenant!
8511
8524
 
8512
8525
  """
8513
8526
  Created event time. Naming is used to keep consistent with OrderEvent/SellerEvent naming
@@ -8571,6 +8584,7 @@ type WebhookJob implements Node & Job {
8571
8584
 
8572
8585
  """Date time of job last update in ISO 8601 format."""
8573
8586
  updatedAt: DateTime!
8587
+ tenant: Tenant!
8574
8588
  body: JSONString
8575
8589
  requestMeta: JSONString
8576
8590
  source: String
@@ -8826,6 +8840,21 @@ type Content implements Node {
8826
8840
  Data of the latest unpublished content version to render the editor view.
8827
8841
  """
8828
8842
  draftData: JSONString!
8843
+
8844
+ """Content page data."""
8845
+ contentPageData: ContentPageData
8846
+ }
8847
+
8848
+ """Content page data."""
8849
+ type ContentPageData implements Node {
8850
+ """SEO title for a content page."""
8851
+ seoTitle: String
8852
+
8853
+ """SEO description for a content page."""
8854
+ seoDescription: String
8855
+
8856
+ """The ID of the object"""
8857
+ id: ID!
8829
8858
  }
8830
8859
 
8831
8860
  type ContentCountableConnection {
@@ -8868,6 +8897,8 @@ enum ContentSortField {
8868
8897
 
8869
8898
  """Media object."""
8870
8899
  type Media implements Node {
8900
+ tenant: Tenant!
8901
+
8871
8902
  """The ID of the object"""
8872
8903
  id: ID!
8873
8904
 
@@ -8916,6 +8947,23 @@ enum MediaSortField {
8916
8947
  CREATED_AT
8917
8948
  }
8918
8949
 
8950
+ type TenantCountableConnection {
8951
+ """Pagination data for this connection."""
8952
+ pageInfo: PageInfo!
8953
+ edges: [TenantCountableEdge!]!
8954
+
8955
+ """A total count of items in the collection."""
8956
+ totalCount: Int
8957
+ }
8958
+
8959
+ type TenantCountableEdge {
8960
+ """The item at the end of the edge."""
8961
+ node: Tenant!
8962
+
8963
+ """A cursor for use in pagination."""
8964
+ cursor: String!
8965
+ }
8966
+
8919
8967
  """
8920
8968
  Represents a shop resource containing general shop data and configuration.
8921
8969
  """
@@ -8968,9 +9016,6 @@ type Shop {
8968
9016
  """Dashboard url for the shop."""
8969
9017
  dashboardUrl: String
8970
9018
 
8971
- """Whether the marketplace has enabled master products"""
8972
- enableMasterProducts: Boolean @deprecated(reason: "Master product mode is deprecated. This will be removed on September 12, 2024")
8973
-
8974
9019
  """Whether the marketplace has enabled quote orders."""
8975
9020
  enableQuoteOrders: Boolean
8976
9021
 
@@ -9035,7 +9080,7 @@ type Shop {
9035
9080
  loginForProducts: Boolean
9036
9081
 
9037
9082
  """Gets active plugins."""
9038
- activePlugins: [Plugin!]
9083
+ activePlugins: [Plugin!]!
9039
9084
 
9040
9085
  """
9041
9086
  None if shop does not use Builder, otherwise this contains Builder public api key.
@@ -9048,16 +9093,6 @@ type Shop {
9048
9093
  crispWebsiteId: String
9049
9094
  geolocationEnabled: Boolean @deprecated(reason: "Locations will be removed on November 28, 2024.")
9050
9095
 
9051
- """
9052
- Enable master product over products. When this option is enabled, then seller's product variant can be assigned to master products where owner is marketplace.
9053
- """
9054
- masterProductManagementEnabled: Boolean @deprecated(reason: "Master product mode is deprecated. This will be removed on September 12, 2024")
9055
-
9056
- """
9057
- Min checkout amount for all orders for marketplace (in the currency of marketplace)
9058
- """
9059
- minCheckoutAmount: PositiveDecimal @deprecated(reason: "Hosted checkout will handle minimum amount requirements for payment processors. This will be removed on September 12, 2024, and will always be 0.00 for now.")
9060
-
9061
9096
  """Determines whether seller products require approval"""
9062
9097
  requireProductApproval: Boolean
9063
9098
 
@@ -9170,7 +9205,7 @@ type Menu implements Node {
9170
9205
  id: ID!
9171
9206
  name: String!
9172
9207
  slug: String!
9173
- items: [MenuItem!]
9208
+ items: [MenuItem!]!
9174
9209
  }
9175
9210
 
9176
9211
  """
@@ -9186,7 +9221,7 @@ type MenuItem implements Node {
9186
9221
  collection: Collection
9187
9222
  page: Page
9188
9223
  level: Int!
9189
- children: [MenuItem!]
9224
+ children: [MenuItem!]!
9190
9225
 
9191
9226
  """URL to the menu item."""
9192
9227
  url: String
@@ -9203,7 +9238,6 @@ type Page implements Node & ObjectWithMetadata {
9203
9238
  updatedAt: DateTime!
9204
9239
  content: String!
9205
9240
  contentHtml: String!
9206
- contentJson: JSONString!
9207
9241
  seoTitle: String
9208
9242
  seoDescription: String
9209
9243
  slug: String!
@@ -9239,6 +9273,7 @@ type Plugin implements Node {
9239
9273
  allowManyActivePluginsInCategory: Boolean!
9240
9274
  paymentType: PluginConfigurationPaymentType!
9241
9275
  rating: PluginConfigurationRating!
9276
+ tenant: Tenant!
9242
9277
  identifier: String!
9243
9278
  name: String!
9244
9279
  description: String!
@@ -9398,13 +9433,6 @@ enum ConfigurationTypeFieldEnum {
9398
9433
  OUTPUT
9399
9434
  }
9400
9435
 
9401
- """
9402
- Positive Decimal scalar implementation.
9403
-
9404
- Should be used in places where value must be positive.
9405
- """
9406
- scalar PositiveDecimal
9407
-
9408
9436
  """Represents a checkout page's theme options."""
9409
9437
  type CheckoutTheme implements Node {
9410
9438
  """The ID of the object"""
@@ -9525,6 +9553,8 @@ input SellerFilterInput {
9525
9553
  search: String
9526
9554
  created: DateRangeInput
9527
9555
  storefront: Boolean
9556
+ metadata: MetadataFilterInput
9557
+ privateMetadata: MetadataFilterInput
9528
9558
  }
9529
9559
 
9530
9560
  enum SellerStatusFilter {
@@ -10290,121 +10320,6 @@ enum UserSortField {
10290
10320
  EXTERNAL_SOURCE
10291
10321
  }
10292
10322
 
10293
- type BusinessEntityCountableConnection {
10294
- """Pagination data for this connection."""
10295
- pageInfo: PageInfo!
10296
- edges: [BusinessEntityCountableEdge!]!
10297
-
10298
- """A total count of items in the collection."""
10299
- totalCount: Int
10300
- }
10301
-
10302
- type BusinessEntityCountableEdge {
10303
- """The item at the end of the edge."""
10304
- node: BusinessEntity!
10305
-
10306
- """A cursor for use in pagination."""
10307
- cursor: String!
10308
- }
10309
-
10310
- """Represents a business entity."""
10311
- type BusinessEntity implements Node & ObjectWithMetadata {
10312
- """The ID of the object"""
10313
- id: ID!
10314
-
10315
- """
10316
- List of private metadata items.Requires proper staff permissions to access.
10317
- """
10318
- privateMetadata: [MetadataItem!]!
10319
-
10320
- """List of public metadata items. Can be accessed without permissions."""
10321
- metadata: [MetadataItem!]!
10322
- createdAt: DateTime!
10323
- updatedAt: DateTime!
10324
- externalPayoutAccountId: String
10325
- externalPayoutSource: BusinessEntityExternalPayoutSource
10326
- externalPayoutOnboardingUrl: String
10327
- legalName: String!
10328
- dbaName: String!
10329
- logo(
10330
- """Size of the avatar."""
10331
- size: Int
10332
- ): Image
10333
- identifiers: JSONString!
10334
- parent: BusinessEntity
10335
- owner: User
10336
- addresses(offset: Int, before: String, after: String, first: Int, last: Int): AddressCountableConnection!
10337
- users(offset: Int, before: String, after: String, first: Int, last: Int): UserCountableConnection!
10338
- defaultShippingAddress: Address
10339
- defaultBillingAddress: Address
10340
- defaultCurrency: String!
10341
- status: BusinessEntityStatus!
10342
- priceBook: PriceBook
10343
- businessEntityType: String!
10344
- lft: Int!
10345
- rght: Int!
10346
- treeId: Int!
10347
- level: Int!
10348
- seller: Seller
10349
- children(offset: Int, before: String, after: String, first: Int, last: Int): BusinessEntityCountableConnection!
10350
-
10351
- """Number of business entities within the tree."""
10352
- totalTreeCount: Int
10353
- }
10354
-
10355
- """An enumeration."""
10356
- enum BusinessEntityExternalPayoutSource {
10357
- """nautical.payments.stripe"""
10358
- NAUTICAL_PAYMENTS_STRIPE
10359
-
10360
- """nautical.payments.paypal"""
10361
- NAUTICAL_PAYMENTS_PAYPAL
10362
-
10363
- """nautical.payments.trolley"""
10364
- NAUTICAL_PAYMENTS_TROLLEY
10365
- }
10366
-
10367
- type AddressCountableConnection {
10368
- """Pagination data for this connection."""
10369
- pageInfo: PageInfo!
10370
- edges: [AddressCountableEdge!]!
10371
-
10372
- """A total count of items in the collection."""
10373
- totalCount: Int
10374
- }
10375
-
10376
- type AddressCountableEdge {
10377
- """The item at the end of the edge."""
10378
- node: Address!
10379
-
10380
- """A cursor for use in pagination."""
10381
- cursor: String!
10382
- }
10383
-
10384
- """An enumeration."""
10385
- enum BusinessEntityStatus {
10386
- """Pending"""
10387
- PENDING
10388
-
10389
- """Approved"""
10390
- APPROVED
10391
-
10392
- """Suspended"""
10393
- SUSPENDED
10394
-
10395
- """Banned"""
10396
- BANNED
10397
-
10398
- """Declined"""
10399
- DECLINED
10400
-
10401
- """Deactivated"""
10402
- DEACTIVATED
10403
-
10404
- """Paused"""
10405
- PAUSED
10406
- }
10407
-
10408
10323
  type PluginCountableConnection {
10409
10324
  """Pagination data for this connection."""
10410
10325
  pageInfo: PageInfo!
@@ -10783,6 +10698,7 @@ type TypeformFormOption {
10783
10698
  """Flow mapping for a plugin"""
10784
10699
  type Flow {
10785
10700
  id: ID!
10701
+ tenant: Tenant!
10786
10702
  identifier: String!
10787
10703
  seller: Seller
10788
10704
  process: FlowProcess!
@@ -10821,6 +10737,13 @@ input StripeClientPaymentData {
10821
10737
  paymentMethodToken: String
10822
10738
  }
10823
10739
 
10740
+ """
10741
+ Positive Decimal scalar implementation.
10742
+
10743
+ Should be used in places where value must be positive.
10744
+ """
10745
+ scalar PositiveDecimal
10746
+
10824
10747
  input AddressInput {
10825
10748
  """Given name."""
10826
10749
  firstName: String
@@ -10906,6 +10829,8 @@ type CheckoutEventCountableEdge {
10906
10829
 
10907
10830
  """Represents checkout event."""
10908
10831
  type CheckoutEvent implements Node {
10832
+ tenant: Tenant!
10833
+
10909
10834
  """The ID of the object"""
10910
10835
  id: ID!
10911
10836
  createdAt: DateTime!
@@ -11412,9 +11337,9 @@ type OptimizedHome {
11412
11337
  toFulfill: Int
11413
11338
  toCapture: Int
11414
11339
  outOfStock: Int
11415
- topProducts: [ProductVariant!]
11416
- sellerActivities: [OrderEvent!]
11417
- marketplaceActivities: [NauticalOrderEvent!]
11340
+ topProducts: [ProductVariant!]!
11341
+ sellerActivities: [OrderEvent!]!
11342
+ marketplaceActivities: [NauticalOrderEvent!]!
11418
11343
  }
11419
11344
 
11420
11345
  """Represents a nautical configuration resource."""
@@ -11564,6 +11489,8 @@ input MenuItemFilterInput {
11564
11489
 
11565
11490
  """Represents a marketplace configuration resource."""
11566
11491
  type MarketplaceConfiguration {
11492
+ tenant: Tenant!
11493
+ id: UUID!
11567
11494
  marketplaceName: String!
11568
11495
  maxProductsInGroup: Int!
11569
11496
 
@@ -11642,21 +11569,6 @@ type MarketplaceConfiguration {
11642
11569
  includeTaxesInPrices: Boolean!
11643
11570
  chargeTaxesOnShipping: Boolean!
11644
11571
 
11645
- """
11646
- Deprecated: Maximum total quantity of all items allowed in a checkout, will always be 0 until full removal after deprecation period
11647
- """
11648
- maxCheckoutQuantity: Int! @deprecated(reason: "Maximum quantities are only be based on stock availability rather than this additional configuration item. This will be removed on September 12, 2024, and will always be 0 for now.")
11649
-
11650
- """
11651
- Deprecated: Maximum line quantity of a single item allowed in a checkout, will always be 0 until full removal after deprecation period
11652
- """
11653
- maxCheckoutLineQuantity: Int! @deprecated(reason: "Maximum quantities are only be based on stock availability rather than this additional configuration item. This will be removed on September 12, 2024, and will always be 0 for now.")
11654
-
11655
- """
11656
- Min checkout amount for all orders for marketplace (in the currency of marketplace)
11657
- """
11658
- minCheckoutAmount: PositiveDecimal! @deprecated(reason: "Hosted checkout will handle minimum amount requirements for payment processors. This will be removed on September 12, 2024, and will always be 0.00 for now.")
11659
-
11660
11572
  """
11661
11573
  Deprecated: This field will always be overridden as True and will be removed on Nov 1, 2024.
11662
11574
  """
@@ -12210,7 +12122,7 @@ enum VariantUniquenessEnum {
12210
12122
  type DefaultSellerChecklist {
12211
12123
  title: String!
12212
12124
  description: String!
12213
- completeOn: SellerChecklistCompetitionTriggersEnum
12125
+ completeOn: SellerChecklistCompletionTriggersEnum
12214
12126
  isEnabled: Boolean!
12215
12127
  }
12216
12128
 
@@ -12283,6 +12195,7 @@ type EmailEventCountableEdge {
12283
12195
  type EmailEvent implements Node {
12284
12196
  """The ID of the object"""
12285
12197
  id: ID!
12198
+ tenant: Tenant!
12286
12199
 
12287
12200
  """
12288
12201
  Created event time. Naming is used to keep consistent with OrderEvent/SellerEvent naming
@@ -13485,12 +13398,14 @@ enum VoucherSortField {
13485
13398
  }
13486
13399
 
13487
13400
  type DesignerDataType {
13401
+ tenant: Tenant!
13488
13402
  name: String!
13489
13403
  jsonContent: JSONString!
13490
13404
  }
13491
13405
 
13492
13406
  type BrandingType {
13493
13407
  id: ID!
13408
+ tenant: Tenant!
13494
13409
  jsonContent: JSONString!
13495
13410
  logo(
13496
13411
  """Size of the image."""
@@ -13641,6 +13556,7 @@ enum ExportFileSortField {
13641
13556
  }
13642
13557
 
13643
13558
  type CoreDataType {
13559
+ tenant: Tenant!
13644
13560
  name: String!
13645
13561
  jsonContent: JSONString!
13646
13562
  }
@@ -13776,7 +13692,7 @@ type CustomFieldTemplate implements Node {
13776
13692
  contentType: CustomFieldTemplateEnum
13777
13693
 
13778
13694
  """Custom attributes for the custom field template."""
13779
- customAttributes: [Attribute!]
13695
+ customAttributes: [Attribute!]!
13780
13696
  }
13781
13697
 
13782
13698
  enum CustomFieldTemplateEnum {
@@ -14010,26 +13926,19 @@ type _Service {
14010
13926
  }
14011
13927
 
14012
13928
  type Mutation {
14013
- """Creates a new business entity."""
14014
- businessEntityCreate(
14015
- """Input fields required to create a business entity"""
14016
- input: BusinessEntityCreateInput!
14017
- ): BusinessEntityCreate
14018
-
14019
- """Updates a new business entity."""
14020
- businessEntityUpdate(
14021
- """ID of the business entity"""
13929
+ """Create a tenant"""
13930
+ tenantCreate(
13931
+ """Fields required to create Tenant"""
13932
+ input: TenantCreateInput!
13933
+ ): TenantCreate
13934
+
13935
+ """Update a tenant"""
13936
+ tenantUpdate(
14022
13937
  id: ID!
14023
13938
 
14024
- """Input fields required to update a business entity"""
14025
- input: BusinessEntityUpdateInput!
14026
- ): BusinessEntityUpdate
14027
-
14028
- """Requests deletion of a business entity."""
14029
- businessEntityDelete(
14030
- """ID of a business entity to request the deletion."""
14031
- id: ID!
14032
- ): BusinessEntityDelete
13939
+ """Fields required to create Tenant"""
13940
+ input: TenantUpdateInput!
13941
+ ): TenantUpdate
14033
13942
 
14034
13943
  """
14035
13944
  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.
@@ -14039,7 +13948,7 @@ type Mutation {
14039
13948
  description: String
14040
13949
 
14041
13950
  """
14042
- 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/heic, image/heif, application/x-dwg, image/x-bmp, image/x-ms-bmp, application/x-rar-compressed, pplication/vnd.rar, image/vnd.dwg, application/pdf, application/x-rar, application/acrobat, application/x-jpg, application/gzipped, application/vnd.oasis.opendocument.text, application/dwg, drawing/x-dwf, text/pdf, application/x-csv, application/x-autocad, application/x-acad, image/jpeg, image/x-dxf, application/tiff, application/x-dxf, image/eps, image/dxf, application/csv, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/vnd.oasis.opendocument.spreadsheet, image/tiff, application/gzip, image/svg+xml, application/x-tif, application/jpg, application/eps, application/vnd.pdf, application/vnd.ms-excel, text/plain, application/zip, application/excel, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/svg, application/msword, image/jpg, drawing/dwg, application/vnd.ms-word, application/svg+xml, image/tif, image/x-dwg, application/x-tiff, image/heic-sequence, text/x-pdf, image/x-tiff, application/rtf, application/acad, application/x-gzip, text/svg-xml, image/x-tif, text/x-comma-separated-values, drawing/x-dwg, application/x-pdf, application/vnd.oasis.opendocument.presentation, image/heif-sequence, application/x-tar, text/x-csv, application/vnd.ms-powerpoint, application/dxf, image/x-eps, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, text/svg, text/comma-separated-values, application/postscript, application/x-rtf, image/bmp, application/x-eps, image/gif, application/x-zip-compressed, application/gzip-compressed, application/tif, image/webp, text/csv, text/rtf.
13951
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: image/x-dwg, text/csv, application/vnd.ms-excel, image/gif, image/heif-sequence, image/x-ms-bmp, application/x-tiff, image/tif, image/heic-sequence, text/plain, application/x-csv, image/x-eps, application/vnd.oasis.opendocument.spreadsheet, application/csv, application/gzipped, application/acrobat, application/vnd.oasis.opendocument.text, application/x-gzip, image/bmp, application/dwg, application/eps, application/x-rtf, application/x-jpg, application/jpg, application/x-pdf, drawing/x-dwf, application/vnd.ms-powerpoint, pplication/vnd.rar, image/jpeg, image/tiff, application/x-tif, application/rtf, drawing/x-dwg, image/dxf, application/acad, application/vnd.pdf, application/tif, application/x-dxf, text/svg, drawing/dwg, application/postscript, application/x-dwg, application/pdf, application/vnd.openxmlformats-officedocument.presentationml.presentation, image/jpg, text/comma-separated-values, image/x-dxf, image/x-tiff, application/x-autocad, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/gzip, image/webp, application/svg+xml, application/x-tar, image/svg, image/eps, application/x-acad, application/vnd.oasis.opendocument.presentation, application/tiff, text/rtf, image/x-bmp, application/gzip-compressed, application/msword, application/vnd.ms-word, text/svg-xml, text/x-comma-separated-values, image/heic, text/x-pdf, application/x-eps, image/svg+xml, text/pdf, image/vnd.dwg, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/dxf, image/heif, application/excel, text/x-csv, image/png, application/x-rar-compressed, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/x-tif, application/zip, application/x-rar, application/x-zip-compressed.
14043
13952
  """
14044
13953
  file: Upload!
14045
13954
 
@@ -14322,7 +14231,7 @@ type Mutation {
14322
14231
  ID of the target wishlist. If not provided, the product will be added to the default wishlist.
14323
14232
  """
14324
14233
  wishlistId: ID
14325
- ): WishlistAddProductMutation
14234
+ ): WishlistAddProduct
14326
14235
 
14327
14236
  """Remove product from the current user's wishlist."""
14328
14237
  wishlistRemoveProduct(
@@ -14338,7 +14247,7 @@ type Mutation {
14338
14247
  ID of the target wishlist. If not provided, the product will be added to the default wishlist.
14339
14248
  """
14340
14249
  wishlistId: ID
14341
- ): WishlistRemoveProductMutation
14250
+ ): WishlistRemoveProduct
14342
14251
 
14343
14252
  """Add product variant to the current user's wishlist."""
14344
14253
  wishlistAddVariant(
@@ -14354,7 +14263,7 @@ type Mutation {
14354
14263
  ID of the target wishlist. If not provided, the product will be added to the default wishlist.
14355
14264
  """
14356
14265
  wishlistId: ID
14357
- ): WishlistAddProductVariantMutation
14266
+ ): WishlistAddProductVariant
14358
14267
 
14359
14268
  """Remove product variant from the current user's wishlist."""
14360
14269
  wishlistRemoveVariant(
@@ -14370,7 +14279,7 @@ type Mutation {
14370
14279
  ID of the target wishlist. If not provided, the product will be added to the default wishlist.
14371
14280
  """
14372
14281
  wishlistId: ID
14373
- ): WishlistRemoveProductVariantMutation
14282
+ ): WishlistRemoveProductVariant
14374
14283
 
14375
14284
  """Adds products to a microsite."""
14376
14285
  micrositeAddProducts(
@@ -14563,8 +14472,16 @@ type Mutation {
14563
14472
  sellerAgreementAcknowledge(
14564
14473
  """ID of the seller acknowledging the agreement"""
14565
14474
  id: ID!
14475
+ input: SellerAgreementAcknowledgeInput
14566
14476
  ): SellerAgreementAcknowledge
14567
14477
 
14478
+ """Decline the seller agreement for seller id"""
14479
+ sellerAgreementDecline(
14480
+ """ID of the seller declining the agreement"""
14481
+ id: ID!
14482
+ input: SellerAgreementDeclineInput
14483
+ ): SellerAgreementDecline
14484
+
14568
14485
  """Creates a new seller agreement mapping."""
14569
14486
  sellerAgreementAssign(
14570
14487
  """Fields required to create a seller agreement mapping"""
@@ -14615,6 +14532,15 @@ type Mutation {
14615
14532
  seller: ID
14616
14533
  ): SellerLogoUpdate
14617
14534
 
14535
+ """
14536
+ Create a seller banner.This mutation must be sent as a 'multipart' request. More detailed specs of the upload format can be found here: https://github.com/jaydenseric/graphql-multipart-request-spec
14537
+ """
14538
+ sellerBannerUpdate(
14539
+ """Represents an image file in a multipart request"""
14540
+ banner: Upload!
14541
+ seller: ID!
14542
+ ): SellerBannerUpdate
14543
+
14618
14544
  """Creates seller address."""
14619
14545
  sellerAddressCreate(
14620
14546
  """Fields required to create address."""
@@ -14740,6 +14666,21 @@ type Mutation {
14740
14666
  id: ID!
14741
14667
  ): WarehouseDelete
14742
14668
 
14669
+ """Creates a content page data object."""
14670
+ contentPageDataCreate(
14671
+ """Fields required to create content page data."""
14672
+ input: ContentPageDataCreateInput!
14673
+ ): ContentPageDataCreate
14674
+
14675
+ """Updates a content page data object."""
14676
+ contentPageDataUpdate(
14677
+ """ID of the content page data to update."""
14678
+ id: ID!
14679
+
14680
+ """Fields to updated content page data."""
14681
+ input: ContentPageDataUpdateInput!
14682
+ ): ContentPageDataUpdate
14683
+
14743
14684
  """Creates a new content object."""
14744
14685
  contentCreate(
14745
14686
  """Fields required to create blank page content."""
@@ -15126,18 +15067,6 @@ type Mutation {
15126
15067
  ids: [ID!]!
15127
15068
  ): PriceBookProductTypeBulkDelete
15128
15069
 
15129
- """Add a business entity to price book."""
15130
- businessEntityAddToPriceBook(
15131
- """Fields required to add a business entity to price book."""
15132
- input: BusinessEntityAddToPriceBookInput!
15133
- ): BusinessEntityAddToPriceBook
15134
-
15135
- """Removes a business entity from price book."""
15136
- businessEntityRemoveFromPriceBook(
15137
- """ID of business entity to be removed from price book."""
15138
- id: ID!
15139
- ): BusinessEntityRemoveFromPriceBook
15140
-
15141
15070
  """Add a user to price book."""
15142
15071
  userAddToPriceBook(
15143
15072
  """Fields required to add a user to price book."""
@@ -17444,13 +17373,13 @@ type Mutation {
17444
17373
  ): PermissionGroupDelete
17445
17374
  }
17446
17375
 
17447
- """Creates a new business entity."""
17448
- type BusinessEntityCreate {
17449
- businessEntityErrors: [BusinessEntityError!]!
17450
- businessEntity: BusinessEntity
17376
+ """Create a tenant"""
17377
+ type TenantCreate {
17378
+ tenant: Tenant
17379
+ tenantErrors: [TenantError!]!
17451
17380
  }
17452
17381
 
17453
- type BusinessEntityError {
17382
+ type TenantError {
17454
17383
  """
17455
17384
  Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field.
17456
17385
  """
@@ -17460,109 +17389,48 @@ type BusinessEntityError {
17460
17389
  message: String!
17461
17390
 
17462
17391
  """The error code."""
17463
- code: BusinessEntityErrorCode!
17392
+ code: TenantErrorCode!
17464
17393
  }
17465
17394
 
17466
17395
  """An enumeration."""
17467
- enum BusinessEntityErrorCode {
17468
- GRAPHQL_ERROR
17469
- INVALID
17396
+ enum TenantErrorCode {
17470
17397
  NOT_FOUND
17471
17398
  REQUIRED
17472
- UNIQUE
17473
- }
17474
-
17475
- input BusinessEntityCreateInput {
17476
- """Doing business as name of business entity"""
17477
- dbaName: String
17478
-
17479
- """User ID of business entity owner"""
17480
- owner: ID
17481
-
17482
- """Default currency for the business entity"""
17483
- defaultCurrency: String
17484
-
17485
- """Business Entity type, e.g. Wholesale, LLC, Sole Proprietor, etc."""
17486
- businessEntityType: String
17487
-
17488
- """Business Entity status"""
17489
- status: BusinessEntityStatusEnum
17490
-
17491
- """Agreement ID of the business entity"""
17492
- agreement: ID
17493
-
17494
- """List of User ID's to add to a business entity"""
17495
- addUsers: [ID!]
17496
-
17497
- """Name of business entity"""
17498
- legalName: String!
17499
-
17500
- """ID of parent business entity"""
17501
- parent: ID
17399
+ GRAPHQL_ERROR
17400
+ INVALID
17401
+ ALREADY_EXISTS
17402
+ NOT_ALLOWED
17502
17403
  }
17503
17404
 
17504
- enum BusinessEntityStatusEnum {
17505
- """Pending"""
17506
- PENDING
17507
-
17508
- """Approved"""
17509
- APPROVED
17510
-
17511
- """Suspended"""
17512
- SUSPENDED
17513
-
17514
- """Banned"""
17515
- BANNED
17405
+ input TenantCreateInput {
17406
+ """The name of the tenant"""
17407
+ name: String!
17516
17408
 
17517
- """Declined"""
17518
- DECLINED
17409
+ """
17410
+ Unique slug for the tenant. Will be generated from the name if not provided
17411
+ """
17412
+ slug: String
17519
17413
 
17520
- """Deactivated"""
17521
- DEACTIVATED
17414
+ """The URL of the dashboard for this tenant"""
17415
+ dashboardUrl: String!
17522
17416
 
17523
- """Paused"""
17524
- PAUSED
17525
- }
17417
+ """The URL of storefront for this tenant"""
17418
+ storefrontUrl: String!
17526
17419
 
17527
- """Updates a new business entity."""
17528
- type BusinessEntityUpdate {
17529
- businessEntityErrors: [BusinessEntityError!]!
17530
- businessEntity: BusinessEntity
17420
+ """If true, trial env data will be created in the tenant"""
17421
+ populateTrialData: Boolean
17531
17422
  }
17532
17423
 
17533
- input BusinessEntityUpdateInput {
17534
- """Doing business as name of business entity"""
17535
- dbaName: String
17536
-
17537
- """User ID of business entity owner"""
17538
- owner: ID
17539
-
17540
- """Default currency for the business entity"""
17541
- defaultCurrency: String
17542
-
17543
- """Business Entity type, e.g. Wholesale, LLC, Sole Proprietor, etc."""
17544
- businessEntityType: String
17545
-
17546
- """Business Entity status"""
17547
- status: BusinessEntityStatusEnum
17548
-
17549
- """Agreement ID of the business entity"""
17550
- agreement: ID
17551
-
17552
- """List of User ID's to add to a business entity"""
17553
- addUsers: [ID!]
17554
-
17555
- """Name of business entity"""
17556
- legalName: String
17557
-
17558
- """List of User ID's to remove from a business entity"""
17559
- removeUsers: [ID!]
17424
+ """Update a tenant"""
17425
+ type TenantUpdate {
17426
+ tenant: Tenant
17427
+ tenantErrors: [TenantError!]!
17560
17428
  }
17561
17429
 
17562
- """Requests deletion of a business entity."""
17563
- type BusinessEntityDelete {
17564
- businessEntityErrors: [BusinessEntityError!]!
17565
- businessEntity: BusinessEntity
17430
+ input TenantUpdateInput {
17431
+ isActive: Boolean
17432
+ name: String
17433
+ slug: String
17566
17434
  }
17567
17435
 
17568
17436
  """
@@ -17573,7 +17441,7 @@ type DocumentAdd {
17573
17441
  document: Document
17574
17442
 
17575
17443
  """List of instances that the document was attached to."""
17576
- instances: [DocumentTargetInstance!]
17444
+ instances: [DocumentTargetInstance!]!
17577
17445
  documentErrors: [DocumentError!]!
17578
17446
  }
17579
17447
 
@@ -17630,7 +17498,7 @@ type DocumentAttach {
17630
17498
  document: Document
17631
17499
 
17632
17500
  """List of new instances that the document was attached to."""
17633
- instances: [DocumentTargetInstance!]
17501
+ instances: [DocumentTargetInstance!]!
17634
17502
  documentErrors: [DocumentError!]!
17635
17503
  }
17636
17504
 
@@ -17639,7 +17507,7 @@ Delete or detach a document. Must only receive one of either target_ids or delet
17639
17507
  """
17640
17508
  type DocumentRemove {
17641
17509
  """List of instances that document was detached from."""
17642
- instances: [DocumentTargetInstance!]
17510
+ instances: [DocumentTargetInstance!]!
17643
17511
  documentErrors: [DocumentError!]!
17644
17512
  }
17645
17513
 
@@ -17981,7 +17849,7 @@ enum AttributeTemplateStrategyEnum {
17981
17849
  input DefaultSellerChecklistInput {
17982
17850
  title: String!
17983
17851
  description: String!
17984
- completeOn: SellerChecklistCompetitionTriggersEnum
17852
+ completeOn: SellerChecklistCompletionTriggersEnum
17985
17853
  isEnabled: Boolean!
17986
17854
  }
17987
17855
 
@@ -18253,28 +18121,28 @@ input WishlistItemUpdateInput {
18253
18121
  }
18254
18122
 
18255
18123
  """Add product to the current user's or target user's wishlist."""
18256
- type WishlistAddProductMutation {
18124
+ type WishlistAddProduct {
18257
18125
  """The wishlist of the current user."""
18258
18126
  wishlist: [WishlistItem!]
18259
18127
  wishlistErrors: [WishlistError!]!
18260
18128
  }
18261
18129
 
18262
18130
  """Remove product from the current user's wishlist."""
18263
- type WishlistRemoveProductMutation {
18131
+ type WishlistRemoveProduct {
18264
18132
  """The wishlist of the current user."""
18265
18133
  wishlist: [WishlistItem!]
18266
18134
  wishlistErrors: [WishlistError!]!
18267
18135
  }
18268
18136
 
18269
18137
  """Add product variant to the current user's wishlist."""
18270
- type WishlistAddProductVariantMutation {
18138
+ type WishlistAddProductVariant {
18271
18139
  """The wishlist of the current user."""
18272
18140
  wishlist: [WishlistItem!]
18273
18141
  wishlistErrors: [WishlistError!]!
18274
18142
  }
18275
18143
 
18276
18144
  """Remove product variant from the current user's wishlist."""
18277
- type WishlistRemoveProductVariantMutation {
18145
+ type WishlistRemoveProductVariant {
18278
18146
  """The wishlist of the current user."""
18279
18147
  wishlist: [WishlistItem!]
18280
18148
  wishlistErrors: [WishlistError!]!
@@ -18353,9 +18221,6 @@ input MicrositeCreateInput {
18353
18221
  """Description of the microsite (HTML)."""
18354
18222
  descriptionHtml: String
18355
18223
 
18356
- """Description of the microsite (JSON, deprecated for input)."""
18357
- descriptionJson: JSONString
18358
-
18359
18224
  """Banner image file."""
18360
18225
  bannerImage: Upload
18361
18226
 
@@ -18458,9 +18323,6 @@ input MicrositeInput {
18458
18323
  """Description of the microsite (HTML)."""
18459
18324
  descriptionHtml: String
18460
18325
 
18461
- """Description of the microsite (JSON, deprecated for input)."""
18462
- descriptionJson: JSONString
18463
-
18464
18326
  """Banner image file."""
18465
18327
  bannerImage: Upload
18466
18328
 
@@ -18809,9 +18671,6 @@ input AgreementInput {
18809
18671
  """Agreement content (HTML)."""
18810
18672
  contentHtml: String
18811
18673
 
18812
- """Agreement content (JSON)."""
18813
- contentJson: JSONString
18814
-
18815
18674
  """Determines if agreement is visible in the storefront."""
18816
18675
  isPublished: Boolean
18817
18676
 
@@ -18976,6 +18835,22 @@ type SellerAgreementAcknowledge {
18976
18835
  agreementErrors: [AgreementError!]!
18977
18836
  }
18978
18837
 
18838
+ input SellerAgreementAcknowledgeInput {
18839
+ """Reason why seller decide to accept the agreement."""
18840
+ agreementDecisionReason: String
18841
+ }
18842
+
18843
+ """Decline the seller agreement for seller id"""
18844
+ type SellerAgreementDecline {
18845
+ user: User
18846
+ agreementErrors: [AgreementError!]!
18847
+ }
18848
+
18849
+ input SellerAgreementDeclineInput {
18850
+ """Reason why seller decide to decline the agreement."""
18851
+ agreementDecisionReason: String
18852
+ }
18853
+
18979
18854
  """Creates a new seller agreement mapping."""
18980
18855
  type SellerAgreementAssign {
18981
18856
  agreementErrors: [AgreementError!]!
@@ -18987,7 +18862,7 @@ input SellerAgreementInput {
18987
18862
  agreement: ID!
18988
18863
 
18989
18864
  """When this agreement becomes effective for the seller"""
18990
- effectiveAt: DateTime!
18865
+ effectiveAt: Date!
18991
18866
 
18992
18867
  """ID of seller that agreed to plan"""
18993
18868
  seller: ID!
@@ -19106,7 +18981,7 @@ input SellerInput {
19106
18981
  input SellerChecklistInput {
19107
18982
  title: String!
19108
18983
  description: String!
19109
- completeOn: SellerChecklistCompetitionTriggersEnum
18984
+ completeOn: SellerChecklistCompletionTriggersEnum
19110
18985
  }
19111
18986
 
19112
18987
  enum SellerStatusEnum {
@@ -19159,6 +19034,7 @@ input SellerUpdateInput {
19159
19034
  user: ID
19160
19035
  plan: ID
19161
19036
  companyName: String
19037
+ storeDescription: String
19162
19038
  slug: String
19163
19039
 
19164
19040
  """This will replace the existing list."""
@@ -19187,6 +19063,15 @@ type SellerLogoUpdate {
19187
19063
  sellerErrors: [SellerError!]!
19188
19064
  }
19189
19065
 
19066
+ """
19067
+ Create a seller banner.This mutation must be sent as a 'multipart' request. More detailed specs of the upload format can be found here: https://github.com/jaydenseric/graphql-multipart-request-spec
19068
+ """
19069
+ type SellerBannerUpdate {
19070
+ """An updated seller instance"""
19071
+ seller: Seller
19072
+ sellerErrors: [SellerError!]!
19073
+ }
19074
+
19190
19075
  """Creates seller address."""
19191
19076
  type SellerAddressCreate {
19192
19077
  """A seller instance for which the address was created."""
@@ -19601,10 +19486,9 @@ type WarehouseDelete {
19601
19486
  warehouse: Warehouse
19602
19487
  }
19603
19488
 
19604
- """Creates a new content object."""
19605
- type ContentCreate {
19606
- """Created content instance."""
19607
- content: Content
19489
+ """Creates a content page data object."""
19490
+ type ContentPageDataCreate {
19491
+ contentPageData: ContentPageData
19608
19492
  shopErrors: [ShopError!]!
19609
19493
  }
19610
19494
 
@@ -19633,6 +19517,38 @@ enum ShopErrorCode {
19633
19517
  NOT_ALLOWED
19634
19518
  }
19635
19519
 
19520
+ input ContentPageDataCreateInput {
19521
+ """Id of content page."""
19522
+ contentId: ID!
19523
+
19524
+ """SEO title."""
19525
+ seoTitle: String
19526
+
19527
+ """SEO description."""
19528
+ seoDescription: String
19529
+ }
19530
+
19531
+ """Updates a content page data object."""
19532
+ type ContentPageDataUpdate {
19533
+ contentPageData: ContentPageData
19534
+ shopErrors: [ShopError!]!
19535
+ }
19536
+
19537
+ input ContentPageDataUpdateInput {
19538
+ """SEO title."""
19539
+ seoTitle: String
19540
+
19541
+ """SEO description."""
19542
+ seoDescription: String
19543
+ }
19544
+
19545
+ """Creates a new content object."""
19546
+ type ContentCreate {
19547
+ """Created content instance."""
19548
+ content: Content
19549
+ shopErrors: [ShopError!]!
19550
+ }
19551
+
19636
19552
  input ContentCreateInput {
19637
19553
  """Slug for the content object."""
19638
19554
  slug: String!
@@ -20609,28 +20525,6 @@ type PriceBookProductTypeBulkDelete {
20609
20525
  priceBookErrors: [PriceBookError!]!
20610
20526
  }
20611
20527
 
20612
- """Add a business entity to price book."""
20613
- type BusinessEntityAddToPriceBook {
20614
- """An updated business entity instance."""
20615
- businessEntity: BusinessEntity
20616
- priceBookErrors: [PriceBookError!]!
20617
- }
20618
-
20619
- input BusinessEntityAddToPriceBookInput {
20620
- """ID of business entity that is to be mapped to the price book."""
20621
- businessEntity: ID!
20622
-
20623
- """ID of price book that the business entity needs to be added to."""
20624
- priceBook: ID!
20625
- }
20626
-
20627
- """Removes a business entity from price book."""
20628
- type BusinessEntityRemoveFromPriceBook {
20629
- """An updated business entity instance."""
20630
- businessEntity: BusinessEntity
20631
- priceBookErrors: [PriceBookError!]!
20632
- }
20633
-
20634
20528
  """Add a user to price book."""
20635
20529
  type UserAddToPriceBook {
20636
20530
  """An updated user instance."""
@@ -20663,9 +20557,6 @@ input CategoryInput {
20663
20557
  """Category description (plaintext, deprecated as input)."""
20664
20558
  description: String
20665
20559
 
20666
- """Category description (JSON, deprecated as input)."""
20667
- descriptionJson: JSONString
20668
-
20669
20560
  """Category description (HTML)."""
20670
20561
  descriptionHtml: String
20671
20562
 
@@ -20752,9 +20643,6 @@ input CollectionCreateInput {
20752
20643
  """Description of the collection (HTML)."""
20753
20644
  descriptionHtml: String
20754
20645
 
20755
- """Description of the collection (JSON, deprecated as input)."""
20756
- descriptionJson: JSONString
20757
-
20758
20646
  """Background image file."""
20759
20647
  backgroundImage: Upload
20760
20648
 
@@ -20843,9 +20731,6 @@ input CollectionInput {
20843
20731
  """Description of the collection (HTML)."""
20844
20732
  descriptionHtml: String
20845
20733
 
20846
- """Description of the collection (JSON, deprecated as input)."""
20847
- descriptionJson: JSONString
20848
-
20849
20734
  """Background image file."""
20850
20735
  backgroundImage: Upload
20851
20736
 
@@ -20907,9 +20792,6 @@ input ProductCreateInput {
20907
20792
  """Product description (plaintext, read-only)."""
20908
20793
  description: String
20909
20794
 
20910
- """Product description (JSON)."""
20911
- descriptionJson: JSONString
20912
-
20913
20795
  """Product description (html)."""
20914
20796
  descriptionHtml: String
20915
20797
 
@@ -21124,9 +21006,6 @@ input ProductInput {
21124
21006
  """Product description (plaintext, read-only)."""
21125
21007
  description: String
21126
21008
 
21127
- """Product description (JSON)."""
21128
- descriptionJson: JSONString
21129
-
21130
21009
  """Product description (html)."""
21131
21010
  descriptionHtml: String
21132
21011
 
@@ -21483,9 +21362,6 @@ input ProductVariantCreateInput {
21483
21362
  """Description of the product variant."""
21484
21363
  description: String
21485
21364
 
21486
- """Product variant description (JSON)."""
21487
- descriptionJson: JSONString
21488
-
21489
21365
  """Product variant description (HTML)."""
21490
21366
  descriptionHtml: String
21491
21367
 
@@ -21627,9 +21503,6 @@ input ProductVariantBulkCreateInput {
21627
21503
  """Description of the product variant."""
21628
21504
  description: String
21629
21505
 
21630
- """Product variant description (JSON)."""
21631
- descriptionJson: JSONString
21632
-
21633
21506
  """Product variant description (HTML)."""
21634
21507
  descriptionHtml: String
21635
21508
 
@@ -21799,9 +21672,6 @@ input ProductVariantInput {
21799
21672
  """Description of the product variant."""
21800
21673
  description: String
21801
21674
 
21802
- """Product variant description (JSON)."""
21803
- descriptionJson: JSONString
21804
-
21805
21675
  """Product variant description (HTML)."""
21806
21676
  descriptionHtml: String
21807
21677
 
@@ -22171,9 +22041,6 @@ input PageInput {
22171
22041
  """Page content (HTML)."""
22172
22042
  contentHtml: String
22173
22043
 
22174
- """Page content (JSON)."""
22175
- contentJson: JSONString
22176
-
22177
22044
  """Determines if page is visible in the storefront."""
22178
22045
  isPublished: Boolean
22179
22046
 
@@ -25352,7 +25219,6 @@ input StaffCreateInput {
25352
25219
 
25353
25220
  """List of permission group IDs to which user should be assigned."""
25354
25221
  addGroups: [ID!]
25355
- businessEntity: ID
25356
25222
 
25357
25223
  """
25358
25224
  URL of a view where users should be redirected to set the password. URL in RFC 1808 format.
@@ -25405,7 +25271,6 @@ input StaffUpdateInput {
25405
25271
 
25406
25272
  """List of permission group IDs to which user should be assigned."""
25407
25273
  addGroups: [ID!]
25408
- businessEntity: ID
25409
25274
 
25410
25275
  """List of permission group IDs from which user should be unassigned."""
25411
25276
  removeGroups: [ID!]