@nautical-commerce/graphql-schema 1.44.0 → 1.45.0-2-g8046a697a

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.
@@ -1026,7 +1026,7 @@ type Query {
1026
1026
  endDate: Date
1027
1027
 
1028
1028
  """Vendor type of the payout"""
1029
- vendorType: String
1029
+ vendorType: String @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
1030
1030
 
1031
1031
  """Payout ID"""
1032
1032
  payoutId: ID
@@ -1561,7 +1561,7 @@ type Query {
1561
1561
 
1562
1562
  """End of the period to filter results"""
1563
1563
  endDate: Date!
1564
- ): InReportMarketplaceAffiliatePayoutsSummaryType
1564
+ ): InReportMarketplaceAffiliatePayoutsSummaryType @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
1565
1565
  insightsMarketplaceTaxSummary(
1566
1566
  """Beginning of the period to filter results"""
1567
1567
  startDate: Date!
@@ -1878,7 +1878,7 @@ type Query {
1878
1878
 
1879
1879
  """Return the last n elements from the list."""
1880
1880
  last: Int
1881
- ): ChannelCountableConnection
1881
+ ): ChannelCountableConnection @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
1882
1882
 
1883
1883
  """List of business entities."""
1884
1884
  businessEntities(
@@ -1931,10 +1931,13 @@ type Query {
1931
1931
  """List of the available custom field templates."""
1932
1932
  customFieldTemplates: [CustomFieldTemplate!]
1933
1933
 
1934
- """Look up a custom field template by ID."""
1934
+ """Look up a custom field template by ID or Content Type."""
1935
1935
  customFieldTemplate(
1936
1936
  """ID of the custom field template."""
1937
- id: ID!
1937
+ id: ID
1938
+
1939
+ """Model of the custom field template."""
1940
+ contentType: CustomFieldTemplateEnum
1938
1941
  ): CustomFieldTemplate
1939
1942
 
1940
1943
  """List of all apps installations"""
@@ -2022,11 +2025,11 @@ type Query {
2022
2025
 
2023
2026
  """Return the last n elements from the list."""
2024
2027
  last: Int
2025
- ): UserCountableConnection
2028
+ ): UserCountableConnection @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
2026
2029
  affiliate(
2027
2030
  """ID of the affiliate you are querying"""
2028
2031
  id: ID
2029
- ): OptimizedAffiliate
2032
+ ): OptimizedAffiliate @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
2030
2033
 
2031
2034
  """List of affiliates' codes"""
2032
2035
  affiliateCodes(
@@ -2050,7 +2053,7 @@ type Query {
2050
2053
 
2051
2054
  """Return the last n elements from the list."""
2052
2055
  last: Int
2053
- ): AffiliateCodesCountableConnection
2056
+ ): AffiliateCodesCountableConnection @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
2054
2057
 
2055
2058
  """Returns address validation rules."""
2056
2059
  addressValidationRules(
@@ -2065,7 +2068,7 @@ type Query {
2065
2068
 
2066
2069
  """Sublocality like a district."""
2067
2070
  cityArea: String
2068
- ): AddressValidationData
2071
+ ): AddressValidationData!
2069
2072
 
2070
2073
  """Look up an address by ID."""
2071
2074
  address(
@@ -2092,7 +2095,7 @@ type Query {
2092
2095
 
2093
2096
  """Return the last n elements from the list."""
2094
2097
  last: Int
2095
- ): UserCountableConnection
2098
+ ): UserCountableConnection!
2096
2099
 
2097
2100
  """List of permission groups."""
2098
2101
  permissionGroups(
@@ -2113,7 +2116,7 @@ type Query {
2113
2116
 
2114
2117
  """Return the last n elements from the list."""
2115
2118
  last: Int
2116
- ): GroupCountableConnection
2119
+ ): GroupCountableConnection!
2117
2120
 
2118
2121
  """Look up permission group by ID."""
2119
2122
  permissionGroup(
@@ -2146,7 +2149,7 @@ type Query {
2146
2149
 
2147
2150
  """Return the last n elements from the list."""
2148
2151
  last: Int
2149
- ): UserCountableConnection
2152
+ ): UserCountableConnection!
2150
2153
 
2151
2154
  """Look up a user by ID."""
2152
2155
  user(
@@ -2466,20 +2469,20 @@ type User implements Node & ObjectWithMetadata {
2466
2469
  """Return the last n elements from the list."""
2467
2470
  last: Int
2468
2471
  ): WishlistCountableConnection
2469
- isAffiliate: Boolean
2472
+ isAffiliate: Boolean @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
2470
2473
  seller: Seller
2471
- hasMicrosite: Boolean
2472
- micrositeId: ID
2474
+ hasMicrosite: Boolean @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
2475
+ micrositeId: ID @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
2473
2476
  isAssignable: Boolean
2474
2477
 
2475
2478
  """Date of last affiliate referral."""
2476
- lastReferral: DateTime
2479
+ lastReferral: DateTime @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
2477
2480
 
2478
2481
  """Date of last affiliate confirmed order."""
2479
- lastOrder: DateTime
2480
- affiliateReferrals: Int
2481
- affiliateOrders: Int
2482
- affiliateEarnings: Money
2482
+ lastOrder: DateTime @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
2483
+ affiliateReferrals: Int @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
2484
+ affiliateOrders: Int @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
2485
+ affiliateEarnings: Money @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
2483
2486
  agreement: Agreement
2484
2487
 
2485
2488
  """List of documents associated with the user."""
@@ -2652,6 +2655,9 @@ type Checkout implements Node & ObjectWithMetadata {
2652
2655
 
2653
2656
  """A list of structured checkout shipping methods."""
2654
2657
  shippingMethods: [CheckoutSellerShipping!]!
2658
+
2659
+ """Shipping discount for this order"""
2660
+ shippingSaleDiscount: Money!
2655
2661
  }
2656
2662
 
2657
2663
  """Represents amount of money in specific currency."""
@@ -3181,6 +3187,9 @@ type Seller implements Node & ObjectWithMetadata {
3181
3187
  Can be empty in case when this user do not have access to see checklist
3182
3188
  """
3183
3189
  checklists: [SellerOnboardingChecklist!]
3190
+
3191
+ """Application for the seller."""
3192
+ application: SellerApplication
3184
3193
  payouts(offset: Int, before: String, after: String, first: Int, last: Int): VendorPayoutCountableConnection!
3185
3194
  shippingZones(offset: Int, before: String, after: String, first: Int, last: Int): ShippingZoneCountableConnection!
3186
3195
  orders(offset: Int, before: String, after: String, first: Int, last: Int): OrderCountableConnection!
@@ -3289,6 +3298,9 @@ enum SellerExternalPayoutSource {
3289
3298
 
3290
3299
  """An enumeration."""
3291
3300
  enum SellerStatus {
3301
+ """Applying"""
3302
+ APPLYING
3303
+
3292
3304
  """Pending"""
3293
3305
  PENDING
3294
3306
 
@@ -3416,6 +3428,24 @@ enum SellerChecklistCompetitionTriggersEnum {
3416
3428
  FIRST_PRODUCT_CREATED
3417
3429
  }
3418
3430
 
3431
+ type SellerApplication implements Node {
3432
+ createdAt: DateTime!
3433
+ updatedAt: DateTime!
3434
+
3435
+ """Current stage of seller application."""
3436
+ checkpoint: String
3437
+
3438
+ """Misc. data submitted by the seller."""
3439
+ formData: JSONString
3440
+
3441
+ """Seller associated with the application."""
3442
+ seller: Seller
3443
+ submittedAt: DateTime
3444
+
3445
+ """The ID of the object"""
3446
+ id: ID!
3447
+ }
3448
+
3419
3449
  type VendorPayoutCountableConnection {
3420
3450
  """Pagination data for this connection."""
3421
3451
  pageInfo: PageInfo!
@@ -3666,8 +3696,8 @@ type Order implements Node & ObjectWithMetadata {
3666
3696
  displayGrossPrices: Boolean!
3667
3697
  customerNote: String!
3668
3698
  weight: Weight
3669
- affiliate: User
3670
- affiliateCode: AffiliateCodes
3699
+ affiliate: User @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
3700
+ affiliateCode: AffiliateCodes @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
3671
3701
 
3672
3702
  """Data time when the order was imported from another platform."""
3673
3703
  importedAt: DateTime
@@ -3770,7 +3800,7 @@ type Order implements Node & ObjectWithMetadata {
3770
3800
  sellerCommission: Money
3771
3801
 
3772
3802
  """Affiliate commission for the order"""
3773
- affiliateCommission: Money
3803
+ affiliateCommission: Money @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
3774
3804
 
3775
3805
  """Volume discount for the order"""
3776
3806
  volumeDiscount: TaxedMoney
@@ -3779,7 +3809,7 @@ type Order implements Node & ObjectWithMetadata {
3779
3809
  validationStatus: [ValidationStatus!]
3780
3810
 
3781
3811
  """Channel the order is associated with"""
3782
- channel: Channel
3812
+ channel: Channel @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
3783
3813
 
3784
3814
  """Latest bid made against the order."""
3785
3815
  currentBid: Bid
@@ -5301,7 +5331,7 @@ type AffiliateCodes implements Node {
5301
5331
  code: String
5302
5332
 
5303
5333
  """Channel the code is associated with"""
5304
- channel: Channel
5334
+ channel: Channel @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
5305
5335
 
5306
5336
  """Whether or not the code is active"""
5307
5337
  isActive: Boolean
@@ -5391,8 +5421,8 @@ type NauticalOrder implements Node & ObjectWithMetadata {
5391
5421
  displayGrossPrices: Boolean!
5392
5422
  customerNote: String!
5393
5423
  weight: Weight
5394
- affiliate: User
5395
- affiliateCode: AffiliateCodes
5424
+ affiliate: User @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
5425
+ affiliateCode: AffiliateCodes @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
5396
5426
 
5397
5427
  """Data time when the order was imported from another platform."""
5398
5428
  importedAt: DateTime
@@ -5493,7 +5523,7 @@ type NauticalOrder implements Node & ObjectWithMetadata {
5493
5523
  isShippingRequired: Boolean!
5494
5524
 
5495
5525
  """Channel the marketplace order is associated with"""
5496
- channel: Channel
5526
+ channel: Channel @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
5497
5527
 
5498
5528
  """Volume discount for the nautical order"""
5499
5529
  volumeDiscount: TaxedMoney
@@ -6165,7 +6195,7 @@ type Warehouse implements Node & ObjectWithMetadata {
6165
6195
  shippingZones(offset: Int, before: String, after: String, first: Int, last: Int): ShippingZoneCountableConnection!
6166
6196
  address: Address!
6167
6197
  email: String!
6168
- seller: Seller
6198
+ seller: Seller!
6169
6199
 
6170
6200
  """
6171
6201
  List of private metadata items.Requires proper staff permissions to access.
@@ -6208,7 +6238,7 @@ type ShippingZone implements Node & ObjectWithMetadata {
6208
6238
  """List of public metadata items. Can be accessed without permissions."""
6209
6239
  metadata: [MetadataItem!]!
6210
6240
  name: String!
6211
- seller: Seller
6241
+ seller: Seller!
6212
6242
 
6213
6243
  """List of warehouses for shipping zone."""
6214
6244
  warehouses: [Warehouse!]
@@ -7432,7 +7462,7 @@ type Microsite implements Node & ObjectWithMetadata {
7432
7462
  name: String!
7433
7463
  slug: String!
7434
7464
  footerText: String
7435
- affiliate: User
7465
+ affiliate: User @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
7436
7466
  seller: Seller
7437
7467
 
7438
7468
  """
@@ -8698,6 +8728,7 @@ type WebhookPeriodicTask implements Node {
8698
8728
  }
8699
8729
 
8700
8730
  input WarehouseFilterInput {
8731
+ seller: ID
8701
8732
  search: String
8702
8733
  ids: [ID]
8703
8734
  }
@@ -8897,6 +8928,9 @@ type Shop {
8897
8928
  """API url for the shop."""
8898
8929
  apiUrl: String
8899
8930
 
8931
+ """Dashboard url for the shop."""
8932
+ dashboardUrl: String
8933
+
8900
8934
  """Whether the marketplace has enabled master products"""
8901
8935
  enableMasterProducts: Boolean @deprecated(reason: "Master product mode is deprecated. This will be removed after 2024-09-12")
8902
8936
 
@@ -8910,13 +8944,13 @@ type Shop {
8910
8944
  homepageCollection: Collection @deprecated(reason: "Use the `collection` query with the `slug` parameter. This field will be removed after 2023-12-16.")
8911
8945
 
8912
8946
  """List of the shops's supported languages."""
8913
- languages: [LanguageDisplay!]!
8947
+ languages: [LanguageDisplay!]! @deprecated(reason: "This will be removed on October 29, 2024")
8914
8948
 
8915
8949
  """Shop's name."""
8916
8950
  name: String!
8917
8951
 
8918
8952
  """Shop's navigation."""
8919
- navigation: Navigation @deprecated(reason: "Fetch menus using the `menu` query with `slug` parameter.")
8953
+ navigation: Navigation @deprecated(reason: "Fetch menus using the `menu` query with `slug` parameter. This will be removed on October 29, 2024.")
8920
8954
 
8921
8955
  """List of available permissions."""
8922
8956
  permissions: [Permission!]!
@@ -8925,7 +8959,7 @@ type Shop {
8925
8959
  phonePrefixes: [String!]!
8926
8960
 
8927
8961
  """Header text."""
8928
- headerText: String
8962
+ headerText: String @deprecated(reason: "This will be removed on October 29, 2024")
8929
8963
 
8930
8964
  """Include taxes in prices."""
8931
8965
  includeTaxesInPrices: Boolean!
@@ -8972,7 +9006,7 @@ type Shop {
8972
9006
  """
8973
9007
  None if shop does not use Builder, otherwise this contains Builder public api key.
8974
9008
  """
8975
- builderKey: String
9009
+ builderKey: String @deprecated(reason: "This will be removed on October 29, 2024")
8976
9010
 
8977
9011
  """
8978
9012
  None if shop does not use Crisp, otherwise this contains Crisp Website ID.
@@ -9397,6 +9431,7 @@ type SellerOnboardingSettings implements Node {
9397
9431
  }
9398
9432
 
9399
9433
  input ShippingZoneFilterInput {
9434
+ seller: ID
9400
9435
  search: String
9401
9436
  }
9402
9437
 
@@ -9438,6 +9473,7 @@ input SellerFilterInput {
9438
9473
  }
9439
9474
 
9440
9475
  enum SellerStatusFilter {
9476
+ APPLYING
9441
9477
  PENDING
9442
9478
  APPROVED
9443
9479
  DECLINED
@@ -10955,7 +10991,7 @@ type OrderVendorSummaryType {
10955
10991
  revenue: Float
10956
10992
  totals: Int
10957
10993
  commission: Float
10958
- affiliateCommission: Float
10994
+ affiliateCommission: Float @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
10959
10995
  payout: Float
10960
10996
  vendors: Int
10961
10997
  adjustments: Decimal
@@ -10976,7 +11012,7 @@ type OrderVendorReportType {
10976
11012
  revenue: Float
10977
11013
  totals: Int
10978
11014
  commission: Float
10979
- affiliateCommission: Float
11015
+ affiliateCommission: Float @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
10980
11016
  payout: Float
10981
11017
  vendorId: Int
10982
11018
  vendor: Vendor
@@ -11006,7 +11042,7 @@ type SingleVendorReportType {
11006
11042
  revenue: Float
11007
11043
  totals: Int
11008
11044
  commission: Float
11009
- affiliateCommission: Float
11045
+ affiliateCommission: Float @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
11010
11046
  payout: Decimal
11011
11047
  adjustments: Decimal
11012
11048
  penalties: Decimal
@@ -11031,7 +11067,7 @@ type SingleVendorSummaryType {
11031
11067
  revenue: Float
11032
11068
  totals: Int
11033
11069
  commission: Float
11034
- affiliateCommission: Float
11070
+ affiliateCommission: Float @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
11035
11071
  payout: Float
11036
11072
  adjustments: Decimal
11037
11073
  penalties: Decimal
@@ -12454,7 +12490,7 @@ type OrderSellerSummaryType {
12454
12490
  revenue: Float
12455
12491
  totals: Int
12456
12492
  commission: Float
12457
- affiliateCommission: Float
12493
+ affiliateCommission: Float @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
12458
12494
  payout: Float
12459
12495
  sellers: Float
12460
12496
  }
@@ -12471,7 +12507,7 @@ type OrderCustomerReportType {
12471
12507
  revenue: Float
12472
12508
  totals: Int
12473
12509
  commission: Float
12474
- affiliateCommission: Float
12510
+ affiliateCommission: Float @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
12475
12511
  payout: Float
12476
12512
  userId: Int
12477
12513
  user: User
@@ -12513,7 +12549,7 @@ type OrderSellerReportType {
12513
12549
  revenue: Float
12514
12550
  totals: Int
12515
12551
  commission: Float
12516
- affiliateCommission: Float
12552
+ affiliateCommission: Float @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
12517
12553
  payout: Float
12518
12554
  sellerId: Int
12519
12555
  seller: Seller
@@ -12555,7 +12591,7 @@ type OrderMarketplaceReportType {
12555
12591
  revenue: Float
12556
12592
  totals: Int
12557
12593
  commission: Float
12558
- affiliateCommission: Float
12594
+ affiliateCommission: Float @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
12559
12595
  payout: Float
12560
12596
  dimension: Date
12561
12597
  }
@@ -12628,7 +12664,7 @@ type OrderAffiliateSummaryType {
12628
12664
  revenue: Float
12629
12665
  totals: Int
12630
12666
  commission: Float
12631
- affiliateCommission: Float
12667
+ affiliateCommission: Float @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
12632
12668
  payout: Float
12633
12669
  affiliates: Float
12634
12670
  }
@@ -12645,7 +12681,7 @@ type OrderAffiliateReportType {
12645
12681
  revenue: Float
12646
12682
  totals: Int
12647
12683
  commission: Float
12648
- affiliateCommission: Float
12684
+ affiliateCommission: Float @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
12649
12685
  payout: Float
12650
12686
  affiliateId: Int
12651
12687
  affiliate: User
@@ -12687,7 +12723,7 @@ type AbstractOrderSellerReportType {
12687
12723
  revenue: Float
12688
12724
  totals: Int
12689
12725
  commission: Float
12690
- affiliateCommission: Float
12726
+ affiliateCommission: Float @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
12691
12727
  payout: Float
12692
12728
  }
12693
12729
 
@@ -12703,7 +12739,7 @@ type MarketplaceTaxReportType {
12703
12739
  revenue: Float
12704
12740
  totals: Int
12705
12741
  commission: Float
12706
- affiliateCommission: Float
12742
+ affiliateCommission: Float @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
12707
12743
  payout: Float
12708
12744
  dimension: Date
12709
12745
  }
@@ -12744,7 +12780,7 @@ type MarketplaceTaxReportByLocaleType {
12744
12780
  revenue: Float
12745
12781
  totals: Int
12746
12782
  commission: Float
12747
- affiliateCommission: Float
12783
+ affiliateCommission: Float @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
12748
12784
  payout: Float
12749
12785
  billingAddress_Country: String
12750
12786
  billingAddress_CountryArea: String
@@ -12956,7 +12992,7 @@ type DashboardSellerOrderPerformanceType {
12956
12992
  revenue: Float
12957
12993
  totals: Int
12958
12994
  commission: Float
12959
- affiliateCommission: Float
12995
+ affiliateCommission: Float @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
12960
12996
  payout: Float
12961
12997
  sellerId: Int
12962
12998
  seller: Seller
@@ -12979,7 +13015,7 @@ type GraphDataType {
12979
13015
  revenue: Float
12980
13016
  totals: Int
12981
13017
  commission: Float
12982
- affiliateCommission: Float
13018
+ affiliateCommission: Float @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
12983
13019
  payout: Float
12984
13020
  dimension: DateTime
12985
13021
  }
@@ -13609,7 +13645,9 @@ type CustomFieldTemplate implements Node {
13609
13645
 
13610
13646
  """Content type of custom field type in human-readable format."""
13611
13647
  contentType: CustomFieldTemplateEnum
13612
- customAttributes(offset: Int, before: String, after: String, first: Int, last: Int): AttributeCountableConnection!
13648
+
13649
+ """Custom attributes for the custom field template."""
13650
+ customAttributes: [Attribute!]
13613
13651
  }
13614
13652
 
13615
13653
  enum CustomFieldTemplateEnum {
@@ -13719,7 +13757,7 @@ input AffiliateFilterInput {
13719
13757
 
13720
13758
  type OptimizedAffiliate {
13721
13759
  affiliate: User
13722
- channels: [OptimizedAffiliateChannels!]
13760
+ channels: [OptimizedAffiliateChannels!] @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
13723
13761
  topCodes: [AffiliateCodes!]
13724
13762
  agreement: Agreement
13725
13763
  }
@@ -13877,7 +13915,7 @@ type Mutation {
13877
13915
  documentId: ID @deprecated(reason: "To attach a document to related instances consider to use DocumentAttach mutation. This param will be removed after July 1 2023.")
13878
13916
 
13879
13917
  """
13880
- Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: text/x-pdf, image/dxf, application/dwg, image/x-bmp, text/x-csv, image/x-ms-bmp, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, image/svg, application/acad, pplication/vnd.rar, image/x-tif, image/webp, application/vnd.oasis.opendocument.spreadsheet, application/x-tar, application/vnd.ms-excel, application/x-jpg, image/vnd.dwg, application/excel, image/bmp, application/acrobat, application/pdf, text/rtf, application/msword, image/svg+xml, application/x-csv, application/jpg, application/gzip-compressed, application/vnd.pdf, application/x-autocad, application/tiff, text/pdf, application/zip, text/comma-separated-values, image/x-dxf, application/vnd.ms-word, application/tif, application/vnd.openxmlformats-officedocument.presentationml.presentation, image/png, text/plain, drawing/x-dwf, application/gzip, text/csv, application/eps, image/eps, application/x-tif, text/svg-xml, application/x-gzip, application/x-dwg, image/x-tiff, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.ms-powerpoint, application/x-tiff, application/vnd.oasis.opendocument.text, drawing/dwg, image/x-eps, image/heif, image/jpg, application/svg+xml, application/vnd.oasis.opendocument.presentation, application/gzipped, application/dxf, application/csv, image/jpeg, text/svg, image/heic, application/rtf, application/x-zip-compressed, text/x-comma-separated-values, image/gif, application/postscript, image/heif-sequence, image/tif, image/x-dwg, application/x-dxf, application/x-acad, application/x-rar-compressed, application/x-eps, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/x-pdf, image/tiff, application/x-rtf, application/x-rar, image/heic-sequence, drawing/x-dwg.
13918
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: text/svg, text/pdf, application/dwg, image/bmp, application/x-tar, pplication/vnd.rar, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/csv, application/rtf, application/gzip, image/x-ms-bmp, image/eps, application/x-tif, application/acrobat, application/zip, image/svg+xml, image/heic, text/plain, image/x-tiff, image/svg, application/x-jpg, image/dxf, image/jpg, text/x-comma-separated-values, application/jpg, drawing/x-dwg, text/x-csv, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/x-tiff, application/svg+xml, application/gzip-compressed, image/x-eps, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/vnd.pdf, application/vnd.oasis.opendocument.presentation, application/x-dxf, application/x-rtf, image/webp, application/postscript, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, image/x-dwg, application/x-csv, image/heic-sequence, application/vnd.oasis.opendocument.text, image/gif, image/tif, application/msword, application/vnd.oasis.opendocument.spreadsheet, application/tif, image/heif-sequence, application/x-acad, text/csv, image/x-bmp, image/x-dxf, image/vnd.dwg, application/x-gzip, application/x-autocad, application/tiff, application/x-zip-compressed, image/tiff, drawing/dwg, image/png, image/heif, application/dxf, application/vnd.ms-excel, application/x-pdf, text/svg-xml, text/x-pdf, application/eps, drawing/x-dwf, application/vnd.ms-word, application/x-eps, application/acad, image/jpeg, text/rtf, text/comma-separated-values, image/x-tif, application/excel, application/vnd.ms-powerpoint, application/x-rar-compressed, application/gzipped, application/x-rar, application/pdf, application/x-dwg.
13881
13919
  """
13882
13920
  file: Upload
13883
13921
 
@@ -13962,7 +14000,7 @@ type Mutation {
13962
14000
  channelCreate(
13963
14001
  """Fields required to create a channel."""
13964
14002
  input: ChannelInput
13965
- ): ChannelCreate
14003
+ ): ChannelCreate @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
13966
14004
 
13967
14005
  """Updates a channel."""
13968
14006
  channelUpdate(
@@ -13971,7 +14009,7 @@ type Mutation {
13971
14009
 
13972
14010
  """Fields required to update a channel."""
13973
14011
  input: ChannelInput!
13974
- ): ChannelUpdate
14012
+ ): ChannelUpdate @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
13975
14013
 
13976
14014
  """Updates an order channel"""
13977
14015
  orderChannelUpdate(
@@ -13980,7 +14018,7 @@ type Mutation {
13980
14018
 
13981
14019
  """ID of the order to update channel for"""
13982
14020
  id: ID!
13983
- ): OrderChannelUpdate
14021
+ ): OrderChannelUpdate @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
13984
14022
 
13985
14023
  """Updates a marketplace order channel."""
13986
14024
  nauticalOrderChannelUpdate(
@@ -13989,7 +14027,7 @@ type Mutation {
13989
14027
 
13990
14028
  """ID of the marketplace order to update channel for"""
13991
14029
  id: ID!
13992
- ): NauticalOrderChannelUpdate
14030
+ ): NauticalOrderChannelUpdate @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
13993
14031
 
13994
14032
  """Updates an affiliate code channel"""
13995
14033
  affiliateCodeChannelUpdate(
@@ -13998,7 +14036,7 @@ type Mutation {
13998
14036
 
13999
14037
  """ID of the affiliate code to update channel for"""
14000
14038
  id: ID!
14001
- ): AffiliateCodeChannelUpdate
14039
+ ): AffiliateCodeChannelUpdate @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
14002
14040
 
14003
14041
  """Updates marketplace configuration."""
14004
14042
  marketplaceConfigurationUpdate(
@@ -14282,19 +14320,19 @@ type Mutation {
14282
14320
  affiliateCodeCreate(
14283
14321
  """Fields required to create an affiliate code."""
14284
14322
  input: AffiliateCodeCreateInput
14285
- ): AffiliateCodeCreate
14323
+ ): AffiliateCodeCreate @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
14286
14324
 
14287
14325
  """Increments affiliate code uses"""
14288
14326
  affiliateCodeUse(
14289
14327
  """Affiliate code to increment use for"""
14290
14328
  code: String
14291
- ): AffiliateCodeUse
14329
+ ): AffiliateCodeUse @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
14292
14330
 
14293
14331
  """Sets whether code is active"""
14294
14332
  affiliateCodeSetActive(
14295
14333
  """Whether the code is active or not"""
14296
14334
  isActive: Boolean
14297
- ): AffiliateCodeSetActive
14335
+ ): AffiliateCodeSetActive @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
14298
14336
 
14299
14337
  """Activate or deactivate affiliate codes."""
14300
14338
  affiliateCodeBulkSetActive(
@@ -14303,7 +14341,7 @@ type Mutation {
14303
14341
 
14304
14342
  """Determine if codes will be set active or not."""
14305
14343
  isActive: Boolean!
14306
- ): AffiliateCodeBulkSetActive
14344
+ ): AffiliateCodeBulkSetActive @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
14307
14345
 
14308
14346
  """
14309
14347
  Create an affiliate avatar. 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
@@ -14313,13 +14351,13 @@ type Mutation {
14313
14351
 
14314
14352
  """Represents an image file in a multipart request."""
14315
14353
  image: Upload!
14316
- ): AffiliateAvatarUpdate
14354
+ ): AffiliateAvatarUpdate @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
14317
14355
 
14318
14356
  """Creates a new affiliate."""
14319
14357
  affiliateCreate(
14320
14358
  """Fields required to create a affiliate."""
14321
14359
  input: UserCreateInput!
14322
- ): AffiliateCreate
14360
+ ): AffiliateCreate @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
14323
14361
 
14324
14362
  """Updates an existing affiliate."""
14325
14363
  affiliateUpdate(
@@ -14328,19 +14366,19 @@ type Mutation {
14328
14366
 
14329
14367
  """Fields required to update a affiliate."""
14330
14368
  input: AffiliateInput!
14331
- ): AffiliateUpdate
14369
+ ): AffiliateUpdate @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
14332
14370
 
14333
14371
  """Deletes a affiliate."""
14334
14372
  affiliateDelete(
14335
14373
  """ID of a affiliate to delete."""
14336
14374
  id: ID!
14337
- ): AffiliateDelete
14375
+ ): AffiliateDelete @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
14338
14376
 
14339
14377
  """Deletes affiliates."""
14340
14378
  affiliateBulkDelete(
14341
14379
  """List of user IDs to delete."""
14342
14380
  ids: [ID!]!
14343
- ): AffiliateBulkDelete
14381
+ ): AffiliateBulkDelete @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
14344
14382
 
14345
14383
  """Creates a new agreement."""
14346
14384
  agreementCreate(
@@ -14502,6 +14540,13 @@ type Mutation {
14502
14540
  isCompleted: Boolean = true
14503
14541
  ): SellerOnboardingChecklistComplete
14504
14542
 
14543
+ """Updates application for the given seller."""
14544
+ sellerApplicationUpdate(
14545
+ """Seller ID."""
14546
+ id: ID!
14547
+ input: SellerApplicationUpdateInput!
14548
+ ): SellerApplicationUpdate
14549
+
14505
14550
  """Create designer data."""
14506
14551
  designerDataCreate(input: DesignerDataInput!): DesignerDataCreate @deprecated(reason: "This will be removed on Oct 25, 2024")
14507
14552
 
@@ -15545,7 +15590,7 @@ type Mutation {
15545
15590
  """Completes creating an order."""
15546
15591
  draftOrderComplete(
15547
15592
  """ID of the channel to attach the order to"""
15548
- channel: ID
15593
+ channel: ID @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
15549
15594
 
15550
15595
  """ID of the order that will be completed."""
15551
15596
  id: ID!
@@ -15562,7 +15607,7 @@ type Mutation {
15562
15607
  """Completes creating an order."""
15563
15608
  nauticalDraftOrderComplete(
15564
15609
  """ID of the channel to attach to nautical order"""
15565
- channel: ID
15610
+ channel: ID @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
15566
15611
 
15567
15612
  """
15568
15613
  Optional ID of the Nautical Order to be completed. Either 'id' or 'token' must be provided to identify the Nautical Order. If both are provided, only the 'id' field will be used.
@@ -16530,7 +16575,7 @@ type Mutation {
16530
16575
  """
16531
16576
  checkoutComplete(
16532
16577
  """ID of affiliate code used for checkout completion"""
16533
- affiliate: ID
16578
+ affiliate: ID @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
16534
16579
 
16535
16580
  """Checkout ID."""
16536
16581
  checkoutId: ID!
@@ -18437,7 +18482,7 @@ input AffiliateCodeCreateInput {
18437
18482
  code: String
18438
18483
 
18439
18484
  """ID of the channel code is used for"""
18440
- channel: ID
18485
+ channel: ID @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
18441
18486
  }
18442
18487
 
18443
18488
  """Increments affiliate code uses"""
@@ -18562,7 +18607,7 @@ input UserCreateInput {
18562
18607
  isStaff: Boolean
18563
18608
 
18564
18609
  """User account is affiliate."""
18565
- isAffiliate: Boolean
18610
+ isAffiliate: Boolean @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
18566
18611
 
18567
18612
  """A note about the user."""
18568
18613
  note: String
@@ -18666,7 +18711,7 @@ input AffiliateInput {
18666
18711
  isStaff: Boolean
18667
18712
 
18668
18713
  """User account is affiliate."""
18669
- isAffiliate: Boolean
18714
+ isAffiliate: Boolean @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
18670
18715
 
18671
18716
  """A note about the user."""
18672
18717
  note: String
@@ -18793,7 +18838,7 @@ input AgreementInput {
18793
18838
  staff: String
18794
18839
 
18795
18840
  """Seller or Affiliate"""
18796
- vendorType: VendorTypeEnum
18841
+ vendorType: VendorTypeEnum @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
18797
18842
 
18798
18843
  """Gross Price, Markup, Absolute etc"""
18799
18844
  commissionType: CommissionTypeEnum
@@ -18987,6 +19032,9 @@ input DetailedSellerInput {
18987
19032
  }
18988
19033
 
18989
19034
  enum SellerStatusEnum {
19035
+ """Applying"""
19036
+ APPLYING
19037
+
18990
19038
  """Pending"""
18991
19039
  PENDING
18992
19040
 
@@ -19097,6 +19145,9 @@ input SellerUpdateInput {
19097
19145
  plan: ID
19098
19146
  companyName: String
19099
19147
  slug: String
19148
+
19149
+ """This will replace the existing list."""
19150
+ identifiers: [String!]
19100
19151
  }
19101
19152
 
19102
19153
  """Create seller note."""
@@ -19247,6 +19298,24 @@ enum SellerOnboardingChecklistErrorCode {
19247
19298
  UNIQUE
19248
19299
  }
19249
19300
 
19301
+ """Updates application for the given seller."""
19302
+ type SellerApplicationUpdate {
19303
+ """List of errors that occurred executing the mutation."""
19304
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2023-12-16.")
19305
+
19306
+ """An updated seller instance."""
19307
+ seller: Seller
19308
+ sellerErrors: [SellerError!]!
19309
+ }
19310
+
19311
+ input SellerApplicationUpdateInput {
19312
+ """Current status of application"""
19313
+ checkpoint: String
19314
+
19315
+ """Misc. data submitted"""
19316
+ formData: JSONString
19317
+ }
19318
+
19250
19319
  """Create designer data."""
19251
19320
  type DesignerDataCreate {
19252
19321
  """List of errors that occurred executing the mutation."""
@@ -19486,7 +19555,7 @@ input WarehouseCreateInput {
19486
19555
  companyName: String
19487
19556
 
19488
19557
  """Seller ID"""
19489
- seller: ID
19558
+ seller: ID!
19490
19559
 
19491
19560
  """The email address of the warehouse."""
19492
19561
  email: String
@@ -19746,6 +19815,9 @@ input SiteDomainInput {
19746
19815
 
19747
19816
  """API url for shop."""
19748
19817
  apiUrl: String
19818
+
19819
+ """Dasboard url for shop."""
19820
+ dashboardUrl: String
19749
19821
  }
19750
19822
 
19751
19823
  """Updates shop settings."""
@@ -20099,7 +20171,7 @@ input ShippingZoneCreateInput {
20099
20171
  addWarehouses: [ID!]
20100
20172
 
20101
20173
  """Seller ID"""
20102
- seller: ID
20174
+ seller: ID!
20103
20175
 
20104
20176
  """List of country areas this shipping zone is limited to."""
20105
20177
  countryAreas: [ShippingZoneCountryAreaInput!]
@@ -26080,7 +26152,7 @@ input CustomerInput {
26080
26152
  isStaff: Boolean
26081
26153
 
26082
26154
  """User account is affiliate."""
26083
- isAffiliate: Boolean
26155
+ isAffiliate: Boolean @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
26084
26156
 
26085
26157
  """A note about the user."""
26086
26158
  note: String
@@ -26169,7 +26241,7 @@ input StaffCreateInput {
26169
26241
  isStaff: Boolean
26170
26242
 
26171
26243
  """User account is affiliate."""
26172
- isAffiliate: Boolean
26244
+ isAffiliate: Boolean @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
26173
26245
 
26174
26246
  """A note about the user."""
26175
26247
  note: String
@@ -26224,7 +26296,7 @@ input StaffUpdateInput {
26224
26296
  isStaff: Boolean
26225
26297
 
26226
26298
  """User account is affiliate."""
26227
- isAffiliate: Boolean
26299
+ isAffiliate: Boolean @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
26228
26300
 
26229
26301
  """A note about the user."""
26230
26302
  note: String
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.44.0",
3
+ "version": "v1.45.0-2-g8046a697a",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {