@nautical-commerce/graphql-schema 1.44.0 → 1.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
  }
@@ -8910,13 +8941,13 @@ type Shop {
8910
8941
  homepageCollection: Collection @deprecated(reason: "Use the `collection` query with the `slug` parameter. This field will be removed after 2023-12-16.")
8911
8942
 
8912
8943
  """List of the shops's supported languages."""
8913
- languages: [LanguageDisplay!]!
8944
+ languages: [LanguageDisplay!]! @deprecated(reason: "This will be removed on October 29, 2024")
8914
8945
 
8915
8946
  """Shop's name."""
8916
8947
  name: String!
8917
8948
 
8918
8949
  """Shop's navigation."""
8919
- navigation: Navigation @deprecated(reason: "Fetch menus using the `menu` query with `slug` parameter.")
8950
+ navigation: Navigation @deprecated(reason: "Fetch menus using the `menu` query with `slug` parameter. This will be removed on October 29, 2024.")
8920
8951
 
8921
8952
  """List of available permissions."""
8922
8953
  permissions: [Permission!]!
@@ -8925,7 +8956,7 @@ type Shop {
8925
8956
  phonePrefixes: [String!]!
8926
8957
 
8927
8958
  """Header text."""
8928
- headerText: String
8959
+ headerText: String @deprecated(reason: "This will be removed on October 29, 2024")
8929
8960
 
8930
8961
  """Include taxes in prices."""
8931
8962
  includeTaxesInPrices: Boolean!
@@ -8972,7 +9003,7 @@ type Shop {
8972
9003
  """
8973
9004
  None if shop does not use Builder, otherwise this contains Builder public api key.
8974
9005
  """
8975
- builderKey: String
9006
+ builderKey: String @deprecated(reason: "This will be removed on October 29, 2024")
8976
9007
 
8977
9008
  """
8978
9009
  None if shop does not use Crisp, otherwise this contains Crisp Website ID.
@@ -9397,6 +9428,7 @@ type SellerOnboardingSettings implements Node {
9397
9428
  }
9398
9429
 
9399
9430
  input ShippingZoneFilterInput {
9431
+ seller: ID
9400
9432
  search: String
9401
9433
  }
9402
9434
 
@@ -9438,6 +9470,7 @@ input SellerFilterInput {
9438
9470
  }
9439
9471
 
9440
9472
  enum SellerStatusFilter {
9473
+ APPLYING
9441
9474
  PENDING
9442
9475
  APPROVED
9443
9476
  DECLINED
@@ -10955,7 +10988,7 @@ type OrderVendorSummaryType {
10955
10988
  revenue: Float
10956
10989
  totals: Int
10957
10990
  commission: Float
10958
- affiliateCommission: Float
10991
+ affiliateCommission: Float @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
10959
10992
  payout: Float
10960
10993
  vendors: Int
10961
10994
  adjustments: Decimal
@@ -10976,7 +11009,7 @@ type OrderVendorReportType {
10976
11009
  revenue: Float
10977
11010
  totals: Int
10978
11011
  commission: Float
10979
- affiliateCommission: Float
11012
+ affiliateCommission: Float @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
10980
11013
  payout: Float
10981
11014
  vendorId: Int
10982
11015
  vendor: Vendor
@@ -11006,7 +11039,7 @@ type SingleVendorReportType {
11006
11039
  revenue: Float
11007
11040
  totals: Int
11008
11041
  commission: Float
11009
- affiliateCommission: Float
11042
+ affiliateCommission: Float @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
11010
11043
  payout: Decimal
11011
11044
  adjustments: Decimal
11012
11045
  penalties: Decimal
@@ -11031,7 +11064,7 @@ type SingleVendorSummaryType {
11031
11064
  revenue: Float
11032
11065
  totals: Int
11033
11066
  commission: Float
11034
- affiliateCommission: Float
11067
+ affiliateCommission: Float @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
11035
11068
  payout: Float
11036
11069
  adjustments: Decimal
11037
11070
  penalties: Decimal
@@ -12454,7 +12487,7 @@ type OrderSellerSummaryType {
12454
12487
  revenue: Float
12455
12488
  totals: Int
12456
12489
  commission: Float
12457
- affiliateCommission: Float
12490
+ affiliateCommission: Float @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
12458
12491
  payout: Float
12459
12492
  sellers: Float
12460
12493
  }
@@ -12471,7 +12504,7 @@ type OrderCustomerReportType {
12471
12504
  revenue: Float
12472
12505
  totals: Int
12473
12506
  commission: Float
12474
- affiliateCommission: Float
12507
+ affiliateCommission: Float @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
12475
12508
  payout: Float
12476
12509
  userId: Int
12477
12510
  user: User
@@ -12513,7 +12546,7 @@ type OrderSellerReportType {
12513
12546
  revenue: Float
12514
12547
  totals: Int
12515
12548
  commission: Float
12516
- affiliateCommission: Float
12549
+ affiliateCommission: Float @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
12517
12550
  payout: Float
12518
12551
  sellerId: Int
12519
12552
  seller: Seller
@@ -12555,7 +12588,7 @@ type OrderMarketplaceReportType {
12555
12588
  revenue: Float
12556
12589
  totals: Int
12557
12590
  commission: Float
12558
- affiliateCommission: Float
12591
+ affiliateCommission: Float @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
12559
12592
  payout: Float
12560
12593
  dimension: Date
12561
12594
  }
@@ -12628,7 +12661,7 @@ type OrderAffiliateSummaryType {
12628
12661
  revenue: Float
12629
12662
  totals: Int
12630
12663
  commission: Float
12631
- affiliateCommission: Float
12664
+ affiliateCommission: Float @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
12632
12665
  payout: Float
12633
12666
  affiliates: Float
12634
12667
  }
@@ -12645,7 +12678,7 @@ type OrderAffiliateReportType {
12645
12678
  revenue: Float
12646
12679
  totals: Int
12647
12680
  commission: Float
12648
- affiliateCommission: Float
12681
+ affiliateCommission: Float @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
12649
12682
  payout: Float
12650
12683
  affiliateId: Int
12651
12684
  affiliate: User
@@ -12687,7 +12720,7 @@ type AbstractOrderSellerReportType {
12687
12720
  revenue: Float
12688
12721
  totals: Int
12689
12722
  commission: Float
12690
- affiliateCommission: Float
12723
+ affiliateCommission: Float @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
12691
12724
  payout: Float
12692
12725
  }
12693
12726
 
@@ -12703,7 +12736,7 @@ type MarketplaceTaxReportType {
12703
12736
  revenue: Float
12704
12737
  totals: Int
12705
12738
  commission: Float
12706
- affiliateCommission: Float
12739
+ affiliateCommission: Float @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
12707
12740
  payout: Float
12708
12741
  dimension: Date
12709
12742
  }
@@ -12744,7 +12777,7 @@ type MarketplaceTaxReportByLocaleType {
12744
12777
  revenue: Float
12745
12778
  totals: Int
12746
12779
  commission: Float
12747
- affiliateCommission: Float
12780
+ affiliateCommission: Float @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
12748
12781
  payout: Float
12749
12782
  billingAddress_Country: String
12750
12783
  billingAddress_CountryArea: String
@@ -12956,7 +12989,7 @@ type DashboardSellerOrderPerformanceType {
12956
12989
  revenue: Float
12957
12990
  totals: Int
12958
12991
  commission: Float
12959
- affiliateCommission: Float
12992
+ affiliateCommission: Float @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
12960
12993
  payout: Float
12961
12994
  sellerId: Int
12962
12995
  seller: Seller
@@ -12979,7 +13012,7 @@ type GraphDataType {
12979
13012
  revenue: Float
12980
13013
  totals: Int
12981
13014
  commission: Float
12982
- affiliateCommission: Float
13015
+ affiliateCommission: Float @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
12983
13016
  payout: Float
12984
13017
  dimension: DateTime
12985
13018
  }
@@ -13609,7 +13642,9 @@ type CustomFieldTemplate implements Node {
13609
13642
 
13610
13643
  """Content type of custom field type in human-readable format."""
13611
13644
  contentType: CustomFieldTemplateEnum
13612
- customAttributes(offset: Int, before: String, after: String, first: Int, last: Int): AttributeCountableConnection!
13645
+
13646
+ """Custom attributes for the custom field template."""
13647
+ customAttributes: [Attribute!]
13613
13648
  }
13614
13649
 
13615
13650
  enum CustomFieldTemplateEnum {
@@ -13719,7 +13754,7 @@ input AffiliateFilterInput {
13719
13754
 
13720
13755
  type OptimizedAffiliate {
13721
13756
  affiliate: User
13722
- channels: [OptimizedAffiliateChannels!]
13757
+ channels: [OptimizedAffiliateChannels!] @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
13723
13758
  topCodes: [AffiliateCodes!]
13724
13759
  agreement: Agreement
13725
13760
  }
@@ -13877,7 +13912,7 @@ type Mutation {
13877
13912
  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
13913
 
13879
13914
  """
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.
13915
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: image/tif, application/x-csv, application/x-jpg, application/csv, image/x-dwg, text/x-comma-separated-values, image/jpg, text/pdf, application/x-dwg, image/eps, application/vnd.openxmlformats-officedocument.presentationml.slideshow, image/x-ms-bmp, text/x-pdf, application/x-eps, application/msword, image/heif-sequence, application/zip, image/heic, application/gzip, application/tiff, application/dwg, application/rtf, application/excel, image/vnd.dwg, application/vnd.oasis.opendocument.text, application/vnd.ms-powerpoint, application/postscript, application/jpg, image/svg+xml, application/x-pdf, image/x-dxf, image/x-tiff, image/svg, image/gif, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, image/jpeg, application/acrobat, application/x-rar-compressed, application/svg+xml, image/dxf, pplication/vnd.rar, application/x-tif, application/vnd.openxmlformats-officedocument.presentationml.presentation, image/bmp, application/x-acad, application/vnd.oasis.opendocument.presentation, image/heic-sequence, application/dxf, application/x-autocad, drawing/dwg, application/x-rar, application/x-gzip, image/x-tif, application/gzipped, text/plain, image/png, drawing/x-dwf, image/x-bmp, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/webp, image/x-eps, image/tiff, application/vnd.pdf, application/gzip-compressed, application/x-dxf, application/eps, application/x-tiff, text/rtf, drawing/x-dwg, text/svg, application/acad, application/x-rtf, image/heif, text/svg-xml, application/vnd.ms-excel, application/pdf, application/x-tar, text/comma-separated-values, application/tif, application/vnd.ms-word, application/vnd.oasis.opendocument.spreadsheet, text/x-csv, text/csv, application/x-zip-compressed.
13881
13916
  """
13882
13917
  file: Upload
13883
13918
 
@@ -13962,7 +13997,7 @@ type Mutation {
13962
13997
  channelCreate(
13963
13998
  """Fields required to create a channel."""
13964
13999
  input: ChannelInput
13965
- ): ChannelCreate
14000
+ ): ChannelCreate @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
13966
14001
 
13967
14002
  """Updates a channel."""
13968
14003
  channelUpdate(
@@ -13971,7 +14006,7 @@ type Mutation {
13971
14006
 
13972
14007
  """Fields required to update a channel."""
13973
14008
  input: ChannelInput!
13974
- ): ChannelUpdate
14009
+ ): ChannelUpdate @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
13975
14010
 
13976
14011
  """Updates an order channel"""
13977
14012
  orderChannelUpdate(
@@ -13980,7 +14015,7 @@ type Mutation {
13980
14015
 
13981
14016
  """ID of the order to update channel for"""
13982
14017
  id: ID!
13983
- ): OrderChannelUpdate
14018
+ ): OrderChannelUpdate @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
13984
14019
 
13985
14020
  """Updates a marketplace order channel."""
13986
14021
  nauticalOrderChannelUpdate(
@@ -13989,7 +14024,7 @@ type Mutation {
13989
14024
 
13990
14025
  """ID of the marketplace order to update channel for"""
13991
14026
  id: ID!
13992
- ): NauticalOrderChannelUpdate
14027
+ ): NauticalOrderChannelUpdate @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
13993
14028
 
13994
14029
  """Updates an affiliate code channel"""
13995
14030
  affiliateCodeChannelUpdate(
@@ -13998,7 +14033,7 @@ type Mutation {
13998
14033
 
13999
14034
  """ID of the affiliate code to update channel for"""
14000
14035
  id: ID!
14001
- ): AffiliateCodeChannelUpdate
14036
+ ): AffiliateCodeChannelUpdate @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
14002
14037
 
14003
14038
  """Updates marketplace configuration."""
14004
14039
  marketplaceConfigurationUpdate(
@@ -14282,19 +14317,19 @@ type Mutation {
14282
14317
  affiliateCodeCreate(
14283
14318
  """Fields required to create an affiliate code."""
14284
14319
  input: AffiliateCodeCreateInput
14285
- ): AffiliateCodeCreate
14320
+ ): AffiliateCodeCreate @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
14286
14321
 
14287
14322
  """Increments affiliate code uses"""
14288
14323
  affiliateCodeUse(
14289
14324
  """Affiliate code to increment use for"""
14290
14325
  code: String
14291
- ): AffiliateCodeUse
14326
+ ): AffiliateCodeUse @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
14292
14327
 
14293
14328
  """Sets whether code is active"""
14294
14329
  affiliateCodeSetActive(
14295
14330
  """Whether the code is active or not"""
14296
14331
  isActive: Boolean
14297
- ): AffiliateCodeSetActive
14332
+ ): AffiliateCodeSetActive @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
14298
14333
 
14299
14334
  """Activate or deactivate affiliate codes."""
14300
14335
  affiliateCodeBulkSetActive(
@@ -14303,7 +14338,7 @@ type Mutation {
14303
14338
 
14304
14339
  """Determine if codes will be set active or not."""
14305
14340
  isActive: Boolean!
14306
- ): AffiliateCodeBulkSetActive
14341
+ ): AffiliateCodeBulkSetActive @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
14307
14342
 
14308
14343
  """
14309
14344
  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 +14348,13 @@ type Mutation {
14313
14348
 
14314
14349
  """Represents an image file in a multipart request."""
14315
14350
  image: Upload!
14316
- ): AffiliateAvatarUpdate
14351
+ ): AffiliateAvatarUpdate @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
14317
14352
 
14318
14353
  """Creates a new affiliate."""
14319
14354
  affiliateCreate(
14320
14355
  """Fields required to create a affiliate."""
14321
14356
  input: UserCreateInput!
14322
- ): AffiliateCreate
14357
+ ): AffiliateCreate @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
14323
14358
 
14324
14359
  """Updates an existing affiliate."""
14325
14360
  affiliateUpdate(
@@ -14328,19 +14363,19 @@ type Mutation {
14328
14363
 
14329
14364
  """Fields required to update a affiliate."""
14330
14365
  input: AffiliateInput!
14331
- ): AffiliateUpdate
14366
+ ): AffiliateUpdate @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
14332
14367
 
14333
14368
  """Deletes a affiliate."""
14334
14369
  affiliateDelete(
14335
14370
  """ID of a affiliate to delete."""
14336
14371
  id: ID!
14337
- ): AffiliateDelete
14372
+ ): AffiliateDelete @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
14338
14373
 
14339
14374
  """Deletes affiliates."""
14340
14375
  affiliateBulkDelete(
14341
14376
  """List of user IDs to delete."""
14342
14377
  ids: [ID!]!
14343
- ): AffiliateBulkDelete
14378
+ ): AffiliateBulkDelete @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
14344
14379
 
14345
14380
  """Creates a new agreement."""
14346
14381
  agreementCreate(
@@ -14502,6 +14537,13 @@ type Mutation {
14502
14537
  isCompleted: Boolean = true
14503
14538
  ): SellerOnboardingChecklistComplete
14504
14539
 
14540
+ """Updates application for the given seller."""
14541
+ sellerApplicationUpdate(
14542
+ """Seller ID."""
14543
+ id: ID!
14544
+ input: SellerApplicationUpdateInput!
14545
+ ): SellerApplicationUpdate
14546
+
14505
14547
  """Create designer data."""
14506
14548
  designerDataCreate(input: DesignerDataInput!): DesignerDataCreate @deprecated(reason: "This will be removed on Oct 25, 2024")
14507
14549
 
@@ -15545,7 +15587,7 @@ type Mutation {
15545
15587
  """Completes creating an order."""
15546
15588
  draftOrderComplete(
15547
15589
  """ID of the channel to attach the order to"""
15548
- channel: ID
15590
+ channel: ID @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
15549
15591
 
15550
15592
  """ID of the order that will be completed."""
15551
15593
  id: ID!
@@ -15562,7 +15604,7 @@ type Mutation {
15562
15604
  """Completes creating an order."""
15563
15605
  nauticalDraftOrderComplete(
15564
15606
  """ID of the channel to attach to nautical order"""
15565
- channel: ID
15607
+ channel: ID @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
15566
15608
 
15567
15609
  """
15568
15610
  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 +16572,7 @@ type Mutation {
16530
16572
  """
16531
16573
  checkoutComplete(
16532
16574
  """ID of affiliate code used for checkout completion"""
16533
- affiliate: ID
16575
+ affiliate: ID @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
16534
16576
 
16535
16577
  """Checkout ID."""
16536
16578
  checkoutId: ID!
@@ -18437,7 +18479,7 @@ input AffiliateCodeCreateInput {
18437
18479
  code: String
18438
18480
 
18439
18481
  """ID of the channel code is used for"""
18440
- channel: ID
18482
+ channel: ID @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
18441
18483
  }
18442
18484
 
18443
18485
  """Increments affiliate code uses"""
@@ -18562,7 +18604,7 @@ input UserCreateInput {
18562
18604
  isStaff: Boolean
18563
18605
 
18564
18606
  """User account is affiliate."""
18565
- isAffiliate: Boolean
18607
+ isAffiliate: Boolean @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
18566
18608
 
18567
18609
  """A note about the user."""
18568
18610
  note: String
@@ -18666,7 +18708,7 @@ input AffiliateInput {
18666
18708
  isStaff: Boolean
18667
18709
 
18668
18710
  """User account is affiliate."""
18669
- isAffiliate: Boolean
18711
+ isAffiliate: Boolean @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
18670
18712
 
18671
18713
  """A note about the user."""
18672
18714
  note: String
@@ -18793,7 +18835,7 @@ input AgreementInput {
18793
18835
  staff: String
18794
18836
 
18795
18837
  """Seller or Affiliate"""
18796
- vendorType: VendorTypeEnum
18838
+ vendorType: VendorTypeEnum @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
18797
18839
 
18798
18840
  """Gross Price, Markup, Absolute etc"""
18799
18841
  commissionType: CommissionTypeEnum
@@ -18987,6 +19029,9 @@ input DetailedSellerInput {
18987
19029
  }
18988
19030
 
18989
19031
  enum SellerStatusEnum {
19032
+ """Applying"""
19033
+ APPLYING
19034
+
18990
19035
  """Pending"""
18991
19036
  PENDING
18992
19037
 
@@ -19097,6 +19142,9 @@ input SellerUpdateInput {
19097
19142
  plan: ID
19098
19143
  companyName: String
19099
19144
  slug: String
19145
+
19146
+ """This will replace the existing list."""
19147
+ identifiers: [String!]
19100
19148
  }
19101
19149
 
19102
19150
  """Create seller note."""
@@ -19247,6 +19295,24 @@ enum SellerOnboardingChecklistErrorCode {
19247
19295
  UNIQUE
19248
19296
  }
19249
19297
 
19298
+ """Updates application for the given seller."""
19299
+ type SellerApplicationUpdate {
19300
+ """List of errors that occurred executing the mutation."""
19301
+ errors: [Error!]! @deprecated(reason: "Use typed errors with error codes. This field will be removed after 2023-12-16.")
19302
+
19303
+ """An updated seller instance."""
19304
+ seller: Seller
19305
+ sellerErrors: [SellerError!]!
19306
+ }
19307
+
19308
+ input SellerApplicationUpdateInput {
19309
+ """Current status of application"""
19310
+ checkpoint: String
19311
+
19312
+ """Misc. data submitted"""
19313
+ formData: JSONString
19314
+ }
19315
+
19250
19316
  """Create designer data."""
19251
19317
  type DesignerDataCreate {
19252
19318
  """List of errors that occurred executing the mutation."""
@@ -19486,7 +19552,7 @@ input WarehouseCreateInput {
19486
19552
  companyName: String
19487
19553
 
19488
19554
  """Seller ID"""
19489
- seller: ID
19555
+ seller: ID!
19490
19556
 
19491
19557
  """The email address of the warehouse."""
19492
19558
  email: String
@@ -20099,7 +20165,7 @@ input ShippingZoneCreateInput {
20099
20165
  addWarehouses: [ID!]
20100
20166
 
20101
20167
  """Seller ID"""
20102
- seller: ID
20168
+ seller: ID!
20103
20169
 
20104
20170
  """List of country areas this shipping zone is limited to."""
20105
20171
  countryAreas: [ShippingZoneCountryAreaInput!]
@@ -26080,7 +26146,7 @@ input CustomerInput {
26080
26146
  isStaff: Boolean
26081
26147
 
26082
26148
  """User account is affiliate."""
26083
- isAffiliate: Boolean
26149
+ isAffiliate: Boolean @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
26084
26150
 
26085
26151
  """A note about the user."""
26086
26152
  note: String
@@ -26169,7 +26235,7 @@ input StaffCreateInput {
26169
26235
  isStaff: Boolean
26170
26236
 
26171
26237
  """User account is affiliate."""
26172
- isAffiliate: Boolean
26238
+ isAffiliate: Boolean @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
26173
26239
 
26174
26240
  """A note about the user."""
26175
26241
  note: String
@@ -26224,7 +26290,7 @@ input StaffUpdateInput {
26224
26290
  isStaff: Boolean
26225
26291
 
26226
26292
  """User account is affiliate."""
26227
- isAffiliate: Boolean
26293
+ isAffiliate: Boolean @deprecated(reason: "This will be removed on Oct 26, 2024 when affiliate support is removed.")
26228
26294
 
26229
26295
  """A note about the user."""
26230
26296
  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",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {