@nautical-commerce/graphql-schema 1.46.0 → 1.46.1-10-gf9002fe88

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.
@@ -90,7 +90,7 @@ type Query {
90
90
  periodicTask(
91
91
  """Name of the periodic task to retrieve"""
92
92
  name: String!
93
- ): WebhookPeriodicTask
93
+ ): WebhookPeriodicTask @deprecated(reason: "This will be removed on November 9, 2024")
94
94
 
95
95
  """Look up a warehouse by ID."""
96
96
  warehouse(
@@ -1152,16 +1152,6 @@ type Query {
1152
1152
  """Seller global id to filter by"""
1153
1153
  identifier: ID
1154
1154
 
1155
- """
1156
- [Deprecated] Filter orders from a selected timespan. Use the `filter` field instead. This field will be removed after 2020-07-31.
1157
- """
1158
- created: ReportingPeriod @deprecated(reason: "Use the `filter` field instead")
1159
-
1160
- """
1161
- [Deprecated] Filter order by status. Use the `filter` field instead. This field will be removed after 2020-07-31.
1162
- """
1163
- status: OrderStatusFilter @deprecated(reason: "Use the `filter` field instead")
1164
-
1165
1155
  """Return the elements in the list that come before the specified cursor."""
1166
1156
  before: String
1167
1157
 
@@ -1185,16 +1175,6 @@ type Query {
1185
1175
  """
1186
1176
  filter: NauticalOrderFilterInput
1187
1177
 
1188
- """
1189
- [Deprecated] Filter orders from a selected timespan. Use the `filter` field instead. This field will be removed after 2020-07-31.
1190
- """
1191
- created: ReportingPeriod @deprecated(reason: "Use the `filter` field instead")
1192
-
1193
- """
1194
- [Deprecated] Filter order by status. Use the `filter` field instead. This field will be removed after 2020-07-31.
1195
- """
1196
- status: OrderStatusFilter @deprecated(reason: "Use the `filter` field instead")
1197
-
1198
1178
  """Return the elements in the list that come before the specified cursor."""
1199
1179
  before: String
1200
1180
 
@@ -1216,11 +1196,6 @@ type Query {
1216
1196
  """Filtering options for draft orders."""
1217
1197
  filter: OrderDraftFilterInput
1218
1198
 
1219
- """
1220
- [Deprecated] Filter draft orders from a selected timespan. Use the `filter` field instead. This field will be removed after 2020-07-31.
1221
- """
1222
- created: ReportingPeriod @deprecated(reason: "Use the `filter` field instead")
1223
-
1224
1199
  """Seller global id to filter by"""
1225
1200
  identifier: ID
1226
1201
 
@@ -1245,11 +1220,6 @@ type Query {
1245
1220
  """Filtering options for draft orders."""
1246
1221
  filter: NauticalOrderDraftFilterInput
1247
1222
 
1248
- """
1249
- [Deprecated] Filter draft orders from a selected timespan. Use the `filter` field instead. This field will be removed after 2020-07-31.
1250
- """
1251
- created: ReportingPeriod @deprecated(reason: "Use the `filter` field instead")
1252
-
1253
1223
  """Return the elements in the list that come before the specified cursor."""
1254
1224
  before: String
1255
1225
 
@@ -2267,6 +2237,7 @@ type User implements Node & ObjectWithMetadata {
2267
2237
  """List of public metadata items. Can be accessed without permissions."""
2268
2238
  metadata: [MetadataItem!]!
2269
2239
  externalId: String
2240
+ externalSource: String
2270
2241
  externalPayoutAccountId: String
2271
2242
  externalPayoutSource: UserExternalPayoutSource
2272
2243
  externalPayoutOnboardingUrl: String
@@ -2647,14 +2618,14 @@ type Checkout implements Node & ObjectWithMetadata {
2647
2618
  """Discount Type if voucher is applied"""
2648
2619
  discountType: VoucherTypeEnum
2649
2620
 
2650
- """Seller shipping methods in old json format"""
2651
- sellerShippingMethods: JSONString @deprecated(reason: "Use the shippingMethods field. This field will be removed after 2024-08-01.")
2652
-
2653
2621
  """A list of structured checkout shipping methods."""
2654
2622
  shippingMethods: [CheckoutSellerShipping!]!
2655
2623
 
2656
2624
  """Shipping discount for this order"""
2657
2625
  shippingSaleDiscount: Money!
2626
+
2627
+ """Shipping method for this order."""
2628
+ marketplaceShippingMethod: ShippingMethod
2658
2629
  }
2659
2630
 
2660
2631
  """Represents amount of money in specific currency."""
@@ -3676,6 +3647,8 @@ type OrderCountableEdge {
3676
3647
  type Order implements Node & ObjectWithMetadata {
3677
3648
  """The ID of the object"""
3678
3649
  id: ID!
3650
+ externalId: String
3651
+ externalSource: String
3679
3652
  orderSource: OrderOrderSource!
3680
3653
 
3681
3654
  """Seller this order belongs to"""
@@ -4420,6 +4393,12 @@ enum ProductOrderField {
4420
4393
 
4421
4394
  """Sort products by manufacturer."""
4422
4395
  MANUFACTURER
4396
+
4397
+ """Sort products by external id."""
4398
+ EXTERNAL_ID
4399
+
4400
+ """Sort products by external source."""
4401
+ EXTERNAL_SOURCE
4423
4402
  }
4424
4403
 
4425
4404
  """Represents a selected attribute and values."""
@@ -5178,6 +5157,15 @@ type Collection implements Node & ObjectWithMetadata {
5178
5157
 
5179
5158
  """List of custom fields assigned to this collection."""
5180
5159
  customFields: [SelectedAttribute!]!
5160
+
5161
+ """List of sales associated with the collection."""
5162
+ sales: [Sale!]!
5163
+
5164
+ """List of vouchers associated with the collection."""
5165
+ vouchers: [Voucher!]!
5166
+
5167
+ """Displays if this collection is on sale"""
5168
+ onSale: Boolean
5181
5169
  }
5182
5170
 
5183
5171
  input ProductVariantFilterInput {
@@ -5301,6 +5289,12 @@ enum VariantSortField {
5301
5289
 
5302
5290
  """Sort variants by manufacturer."""
5303
5291
  MANUFACTURER
5292
+
5293
+ """Sort variants by external id."""
5294
+ EXTERNAL_ID
5295
+
5296
+ """Sort variants by external source."""
5297
+ EXTERNAL_SOURCE
5304
5298
  }
5305
5299
 
5306
5300
  enum CollectionTypeEnum {
@@ -5311,6 +5305,93 @@ enum CollectionTypeEnum {
5311
5305
  VARIANT
5312
5306
  }
5313
5307
 
5308
+ """
5309
+ Sales allow creating discounts for categories, collections, products, or variants and are visible to all the customers.
5310
+ """
5311
+ type Sale implements Node {
5312
+ """The ID of the object"""
5313
+ id: ID!
5314
+ name: String!
5315
+
5316
+ """Type of discount"""
5317
+ type: DiscountValueTypeEnum!
5318
+ value: Decimal!
5319
+ startDate: DateTime!
5320
+ endDate: DateTime
5321
+ currency: String!
5322
+ minSpent: Money
5323
+ minCheckoutItemsQuantity: Int!
5324
+
5325
+ """List of categories this sale applies to."""
5326
+ categories(
5327
+ """Return the elements in the list that come before the specified cursor."""
5328
+ before: String
5329
+
5330
+ """Return the elements in the list that come after the specified cursor."""
5331
+ after: String
5332
+
5333
+ """Return the first n elements from the list."""
5334
+ first: Int
5335
+
5336
+ """Return the last n elements from the list."""
5337
+ last: Int
5338
+ ): CategoryCountableConnection
5339
+
5340
+ """List of collections this sale applies to."""
5341
+ collections(
5342
+ """Return the elements in the list that come before the specified cursor."""
5343
+ before: String
5344
+
5345
+ """Return the elements in the list that come after the specified cursor."""
5346
+ after: String
5347
+
5348
+ """Return the first n elements from the list."""
5349
+ first: Int
5350
+
5351
+ """Return the last n elements from the list."""
5352
+ last: Int
5353
+ ): CollectionCountableConnection
5354
+
5355
+ """List of products this sale applies to."""
5356
+ products(
5357
+ """Return the elements in the list that come before the specified cursor."""
5358
+ before: String
5359
+
5360
+ """Return the elements in the list that come after the specified cursor."""
5361
+ after: String
5362
+
5363
+ """Return the first n elements from the list."""
5364
+ first: Int
5365
+
5366
+ """Return the last n elements from the list."""
5367
+ last: Int
5368
+ ): ProductCountableConnection
5369
+
5370
+ """List of variants this sale applies to."""
5371
+ variants(
5372
+ """Return the elements in the list that come before the specified cursor."""
5373
+ before: String
5374
+
5375
+ """Return the elements in the list that come after the specified cursor."""
5376
+ after: String
5377
+
5378
+ """Return the first n elements from the list."""
5379
+ first: Int
5380
+
5381
+ """Return the last n elements from the list."""
5382
+ last: Int
5383
+ ): ProductVariantCountableConnection
5384
+
5385
+ """Determines a type of sale."""
5386
+ saleType: SaleTypeEnum!
5387
+ }
5388
+
5389
+ """An enumeration."""
5390
+ enum SaleTypeEnum {
5391
+ SHIPPING
5392
+ SPECIFIC_PRODUCT
5393
+ }
5394
+
5314
5395
  """Represents an affiliate code"""
5315
5396
  type AffiliateCodes implements Node {
5316
5397
  """The ID of the object"""
@@ -5393,6 +5474,8 @@ type NauticalOrderCountableEdge {
5393
5474
  type NauticalOrder implements Node & ObjectWithMetadata {
5394
5475
  """The ID of the object"""
5395
5476
  id: ID!
5477
+ externalId: String
5478
+ externalSource: String
5396
5479
  orderSource: NauticalOrderOrderSource!
5397
5480
  created: DateTime!
5398
5481
  updated: DateTime
@@ -5537,6 +5620,15 @@ type NauticalOrder implements Node & ObjectWithMetadata {
5537
5620
 
5538
5621
  """List of all the refunds for this marketplace order."""
5539
5622
  refunds: [Refund!]
5623
+
5624
+ """Total price of shipping for this order."""
5625
+ marketplaceShippingPrice: TaxedMoney!
5626
+
5627
+ """Shipping method for this order."""
5628
+ marketplaceShippingMethod: ShippingMethod
5629
+
5630
+ """Name of the shipping method for this order."""
5631
+ marketplaceShippingMethodName: String
5540
5632
  }
5541
5633
 
5542
5634
  """An enumeration."""
@@ -5896,7 +5988,6 @@ type NauticalOrderLine implements Node & ObjectWithMetadata {
5896
5988
 
5897
5989
  """Price of the single item in the order line after sales"""
5898
5990
  discountedUnitPrice: TaxedMoney
5899
- quantityFulfilled: Int! @deprecated(reason: "Marketplace Orders are not fulfilled. Use quantity_fulfilled on the seller OrderLine instead. This field will be removed after October 3, 2023.")
5900
5991
  }
5901
5992
 
5902
5993
  """
@@ -6074,93 +6165,6 @@ type NauticalSecondaryOrderLine implements Node {
6074
6165
  quantityOrdered: Int!
6075
6166
  }
6076
6167
 
6077
- """
6078
- Sales allow creating discounts for categories, collections, products, or variants and are visible to all the customers.
6079
- """
6080
- type Sale implements Node {
6081
- """The ID of the object"""
6082
- id: ID!
6083
- name: String!
6084
-
6085
- """Type of discount"""
6086
- type: DiscountValueTypeEnum!
6087
- value: Decimal!
6088
- startDate: DateTime!
6089
- endDate: DateTime
6090
- currency: String!
6091
- minSpent: Money
6092
- minCheckoutItemsQuantity: Int!
6093
-
6094
- """List of categories this sale applies to."""
6095
- categories(
6096
- """Return the elements in the list that come before the specified cursor."""
6097
- before: String
6098
-
6099
- """Return the elements in the list that come after the specified cursor."""
6100
- after: String
6101
-
6102
- """Return the first n elements from the list."""
6103
- first: Int
6104
-
6105
- """Return the last n elements from the list."""
6106
- last: Int
6107
- ): CategoryCountableConnection
6108
-
6109
- """List of collections this sale applies to."""
6110
- collections(
6111
- """Return the elements in the list that come before the specified cursor."""
6112
- before: String
6113
-
6114
- """Return the elements in the list that come after the specified cursor."""
6115
- after: String
6116
-
6117
- """Return the first n elements from the list."""
6118
- first: Int
6119
-
6120
- """Return the last n elements from the list."""
6121
- last: Int
6122
- ): CollectionCountableConnection
6123
-
6124
- """List of products this sale applies to."""
6125
- products(
6126
- """Return the elements in the list that come before the specified cursor."""
6127
- before: String
6128
-
6129
- """Return the elements in the list that come after the specified cursor."""
6130
- after: String
6131
-
6132
- """Return the first n elements from the list."""
6133
- first: Int
6134
-
6135
- """Return the last n elements from the list."""
6136
- last: Int
6137
- ): ProductCountableConnection
6138
-
6139
- """List of variants this sale applies to."""
6140
- variants(
6141
- """Return the elements in the list that come before the specified cursor."""
6142
- before: String
6143
-
6144
- """Return the elements in the list that come after the specified cursor."""
6145
- after: String
6146
-
6147
- """Return the first n elements from the list."""
6148
- first: Int
6149
-
6150
- """Return the last n elements from the list."""
6151
- last: Int
6152
- ): ProductVariantCountableConnection
6153
-
6154
- """Determines a type of sale."""
6155
- saleType: SaleTypeEnum!
6156
- }
6157
-
6158
- """An enumeration."""
6159
- enum SaleTypeEnum {
6160
- SHIPPING
6161
- SPECIFIC_PRODUCT
6162
- }
6163
-
6164
6168
  """Represents allocation."""
6165
6169
  type Allocation implements Node {
6166
6170
  """The ID of the object"""
@@ -8206,6 +8210,12 @@ enum OrderSortField {
8206
8210
 
8207
8211
  """Sort orders by po numbers."""
8208
8212
  PO_NUMBERS
8213
+
8214
+ """Sort orders by external id."""
8215
+ EXTERNAL_ID
8216
+
8217
+ """Sort orders by external source."""
8218
+ EXTERNAL_SOURCE
8209
8219
  }
8210
8220
 
8211
8221
  input CustomerNauticalOrderFilterInput {
@@ -10196,6 +10206,12 @@ enum UserSortField {
10196
10206
 
10197
10207
  """Sort users by is active."""
10198
10208
  IS_ACTIVE
10209
+
10210
+ """Sort users by external id."""
10211
+ EXTERNAL_ID
10212
+
10213
+ """Sort users by external source."""
10214
+ EXTERNAL_SOURCE
10199
10215
  }
10200
10216
 
10201
10217
  type BusinessEntityCountableConnection {
@@ -11477,7 +11493,6 @@ type MarketplaceConfiguration {
11477
11493
 
11478
11494
  """Determines payout status transformation strategy"""
11479
11495
  payoutAutomationStrategy: MarketplaceConfigurationPayoutAutomationStrategyEnum
11480
- availableCurrencies: JSONString!
11481
11496
 
11482
11497
  """Determines domiciled currency"""
11483
11498
  domiciledCurrency: MarketplaceConfigurationCurrencyEnum!
@@ -12372,10 +12387,10 @@ enum NotifyEventTypeEnum {
12372
12387
  UPDATED_STATUS
12373
12388
 
12374
12389
  """Vin Decode Success"""
12375
- VIN_DECODE_SUCCESS
12390
+ VIN_DECODE_SUCCESS @deprecated(reason: "Will be removed on Nov 12, 2024")
12376
12391
 
12377
12392
  """Vin Decode Failed"""
12378
- VIN_DECODE_FAILED
12393
+ VIN_DECODE_FAILED @deprecated(reason: "Will be removed on Nov 12, 2024")
12379
12394
 
12380
12395
  """Import Catalog Failed"""
12381
12396
  IMPORT_CATALOG_FAILED
@@ -13895,24 +13910,14 @@ type Mutation {
13895
13910
  description: String
13896
13911
 
13897
13912
  """
13898
- Used when attaching an existing document in the system to a new instance.
13899
- """
13900
- 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.")
13901
-
13902
- """
13903
- Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/postscript, application/jpg, image/vnd.dwg, application/x-eps, application/x-pdf, text/pdf, application/x-dwg, image/jpeg, drawing/x-dwg, text/comma-separated-values, application/zip, application/vnd.ms-powerpoint, application/x-rar, application/x-dxf, text/svg-xml, text/plain, text/csv, image/svg+xml, application/dwg, application/acrobat, application/x-rtf, text/x-comma-separated-values, image/png, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, image/heif, image/eps, image/bmp, application/tif, text/x-pdf, application/msword, application/eps, application/excel, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/vnd.oasis.opendocument.presentation, application/csv, text/svg, image/svg, application/x-zip-compressed, application/vnd.oasis.opendocument.text, image/x-bmp, application/x-gzip, image/jpg, image/webp, image/x-eps, image/tif, application/gzip-compressed, application/gzip, image/gif, application/x-csv, application/x-tar, application/vnd.openxmlformats-officedocument.presentationml.presentation, image/x-tiff, image/dxf, application/vnd.oasis.opendocument.spreadsheet, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/rtf, application/x-rar-compressed, application/pdf, image/heic-sequence, image/tiff, pplication/vnd.rar, application/x-tif, image/heif-sequence, image/x-ms-bmp, drawing/x-dwf, image/x-tif, application/x-acad, text/x-csv, application/vnd.ms-excel, application/vnd.pdf, application/x-tiff, application/svg+xml, application/vnd.ms-word, image/x-dxf, drawing/dwg, application/x-autocad, text/rtf, application/acad, application/tiff, image/x-dwg, application/dxf, image/heic, application/x-jpg, application/gzipped.
13904
- """
13905
- file: Upload
13906
-
13913
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/dwg, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/tif, application/msword, application/x-acad, drawing/x-dwg, application/x-jpg, application/x-gzip, application/x-csv, application/vnd.ms-word, text/plain, application/gzip, text/x-pdf, application/vnd.oasis.opendocument.text, application/vnd.ms-excel, image/webp, image/heif, drawing/dwg, application/eps, text/pdf, application/acad, application/tiff, application/excel, image/x-bmp, application/x-dwg, application/zip, text/rtf, image/png, text/svg, image/x-eps, text/x-csv, image/x-dwg, image/bmp, application/x-autocad, application/vnd.oasis.opendocument.presentation, image/heif-sequence, image/jpg, image/jpeg, application/x-tif, application/x-pdf, image/tiff, application/x-dxf, image/svg+xml, application/x-tiff, image/tif, application/x-zip-compressed, image/x-ms-bmp, image/dxf, text/comma-separated-values, application/gzipped, image/x-tif, text/csv, image/eps, image/x-dxf, text/x-comma-separated-values, application/x-rar, image/heic, application/gzip-compressed, application/x-eps, application/csv, drawing/x-dwf, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/dxf, application/vnd.pdf, image/gif, application/acrobat, application/pdf, application/vnd.ms-powerpoint, application/postscript, application/jpg, application/vnd.oasis.opendocument.spreadsheet, image/svg, image/vnd.dwg, text/svg-xml, application/x-rtf, image/heic-sequence, application/rtf, pplication/vnd.rar, image/x-tiff, application/svg+xml, application/x-rar-compressed, application/x-tar, application/vnd.openxmlformats-officedocument.wordprocessingml.document.
13907
13914
  """
13908
- List of instance IDs to attach a document to, currently supports Product, ProductVariant, Seller, and User IDs.
13909
- """
13910
- ids: [ID!] @deprecated(reason: "To attach a document to related instances consider to use DocumentAttach mutation. This param will be removed after July 1 2023.")
13915
+ file: Upload!
13911
13916
 
13912
13917
  """
13913
13918
  Target instance ID to attach a document to; currently supports Product, ProductVariant, Seller and User IDs.
13914
13919
  """
13915
- relatedObjectId: ID
13920
+ relatedObjectId: ID!
13916
13921
  ): DocumentAdd
13917
13922
 
13918
13923
  """Updates an existing document."""
@@ -13979,7 +13984,7 @@ type Mutation {
13979
13984
  """
13980
13985
  Update whether process_pending_webhook_transactions periodic django celery beat task is enabled
13981
13986
  """
13982
- updatePeriodicTaskEnabled(enabled: Boolean): PeriodicTaskEnabledUpdate
13987
+ updatePeriodicTaskEnabled(enabled: Boolean): PeriodicTaskEnabledUpdate @deprecated(reason: "This will be removed on November 9, 2024")
13983
13988
 
13984
13989
  """Creates a new channel"""
13985
13990
  channelCreate(
@@ -14630,6 +14635,15 @@ type Mutation {
14630
14635
  id: ID!
14631
14636
  ): ContentDelete
14632
14637
 
14638
+ """Duplicate an existing content object."""
14639
+ contentDuplicate(
14640
+ """Id of the content we want to duplicate."""
14641
+ id: ID!
14642
+
14643
+ """Fields required to create new page content."""
14644
+ input: ContentDuplicateInput!
14645
+ ): ContentDuplicate
14646
+
14633
14647
  """Creates a new media object."""
14634
14648
  mediaCreate(
14635
14649
  """Fields required to create media."""
@@ -16576,7 +16590,6 @@ type Mutation {
16576
16590
  """
16577
16591
  vehicles: Boolean = false
16578
16592
  volumeDiscount: Float!
16579
- volumeDiscountsBySeller: [SellerVolumeDiscountInput!] @deprecated(reason: "This is unused and will be removed after 2024-02-01.")
16580
16593
  ): CheckoutComplete
16581
16594
 
16582
16595
  """
@@ -16597,11 +16610,6 @@ type Mutation {
16597
16610
  checkoutCustomerAttach(
16598
16611
  """ID of the checkout."""
16599
16612
  checkoutId: ID!
16600
-
16601
- """
16602
- [Deprecated] The ID of the customer. To identify a customer you should authenticate with JWT. This field will be removed after 2020-07-31.
16603
- """
16604
- customerId: ID @deprecated(reason: "To identify a customer you should authenticate with JWT.")
16605
16613
  ): CheckoutCustomerAttach
16606
16614
 
16607
16615
  """Removes the user assigned as the owner of the checkout."""
@@ -16699,7 +16707,6 @@ type Mutation {
16699
16707
  checkoutSellerShippingMethodsUpdate(
16700
16708
  """Checkout ID."""
16701
16709
  checkoutId: ID!
16702
- secondaryAddress: String @deprecated(reason: "This field is unused and will be removed after 2024-02-01")
16703
16710
 
16704
16711
  """Seller DB id representation as a string."""
16705
16712
  seller: ID!
@@ -18680,6 +18687,7 @@ enum MarkupCommissionTypeEnum {
18680
18687
 
18681
18688
  """Deletes a agreement."""
18682
18689
  type AgreementDelete {
18690
+ agreementErrors: [AgreementError!]!
18683
18691
  agreement: Agreement
18684
18692
  }
18685
18693
 
@@ -18687,12 +18695,14 @@ type AgreementDelete {
18687
18695
  type AgreementBulkDelete {
18688
18696
  """Returns how many objects were affected."""
18689
18697
  count: Int!
18698
+ agreementErrors: [AgreementError!]!
18690
18699
  }
18691
18700
 
18692
18701
  """Publish agreements."""
18693
18702
  type AgreementBulkPublish {
18694
18703
  """Returns how many objects were affected."""
18695
18704
  count: Int!
18705
+ agreementErrors: [AgreementError!]!
18696
18706
  }
18697
18707
 
18698
18708
  """Updates an existing agreement."""
@@ -18763,6 +18773,7 @@ type AgreementCommissionDelete {
18763
18773
  """Acknowledge the seller agreement for seller id"""
18764
18774
  type SellerAgreementAcknowledge {
18765
18775
  user: User
18776
+ agreementErrors: [AgreementError!]!
18766
18777
  }
18767
18778
 
18768
18779
  """
@@ -18807,38 +18818,11 @@ input DetailedSellerInput {
18807
18818
 
18808
18819
  """ID of plan (agreement) for a seller."""
18809
18820
  plan: ID
18810
- status: SellerStatusEnum @deprecated(reason: "This field will be ignored in the mutation and a seller will be created in PENDING status. This field will be removed after 2023-12-12.")
18811
18821
 
18812
18822
  """Fields required to set the object's metadata."""
18813
18823
  metadata: [MetadataInput!]
18814
18824
  }
18815
18825
 
18816
- enum SellerStatusEnum {
18817
- """Applying"""
18818
- APPLYING
18819
-
18820
- """Pending"""
18821
- PENDING
18822
-
18823
- """Approved"""
18824
- APPROVED
18825
-
18826
- """Declined"""
18827
- DECLINED
18828
-
18829
- """Paused"""
18830
- PAUSED
18831
-
18832
- """Suspended"""
18833
- SUSPENDED
18834
-
18835
- """Banned"""
18836
- BANNED
18837
-
18838
- """Deactivated"""
18839
- DEACTIVATED
18840
- }
18841
-
18842
18826
  input MetadataInput {
18843
18827
  """Key of a metadata item."""
18844
18828
  key: String!
@@ -18873,6 +18857,7 @@ input SellerOwnerCreateInput {
18873
18857
  type SellerDataCreate {
18874
18858
  ok: Boolean
18875
18859
  seller: Seller
18860
+ sellerErrors: [SellerError!]!
18876
18861
  }
18877
18862
 
18878
18863
  input SellerInput {
@@ -18897,10 +18882,37 @@ input SellerChecklistInput {
18897
18882
  completeOn: SellerChecklistCompetitionTriggersEnum
18898
18883
  }
18899
18884
 
18885
+ enum SellerStatusEnum {
18886
+ """Applying"""
18887
+ APPLYING
18888
+
18889
+ """Pending"""
18890
+ PENDING
18891
+
18892
+ """Approved"""
18893
+ APPROVED
18894
+
18895
+ """Declined"""
18896
+ DECLINED
18897
+
18898
+ """Paused"""
18899
+ PAUSED
18900
+
18901
+ """Suspended"""
18902
+ SUSPENDED
18903
+
18904
+ """Banned"""
18905
+ BANNED
18906
+
18907
+ """Deactivated"""
18908
+ DEACTIVATED
18909
+ }
18910
+
18900
18911
  """Allows [re-]assign a user to a seller"""
18901
18912
  type SellerUserMappingCreate {
18902
18913
  ok: Boolean
18903
18914
  sellerUser: SellerUserType
18915
+ sellerErrors: [SellerError!]!
18904
18916
  }
18905
18917
 
18906
18918
  input SellerUserInput {
@@ -18930,6 +18942,7 @@ input SellerUpdateInput {
18930
18942
  type SellerNoteCreate {
18931
18943
  ok: Boolean
18932
18944
  note: String
18945
+ sellerErrors: [SellerError!]!
18933
18946
  }
18934
18947
 
18935
18948
  input SellerNoteInput {
@@ -18944,7 +18957,7 @@ Create a seller logo. Only for MP Admin, MP Staff, or the seller. This mutation
18944
18957
  type SellerLogoUpdate {
18945
18958
  """An updated seller instance"""
18946
18959
  seller: Seller
18947
- accountErrors: [SellerError!]!
18960
+ sellerErrors: [SellerError!]!
18948
18961
  }
18949
18962
 
18950
18963
  """Creates seller address."""
@@ -18999,6 +19012,7 @@ type SellerOwnerDelete {
18999
19012
  type SellerShellCreate {
19000
19013
  ok: Boolean
19001
19014
  seller: Seller
19015
+ sellerErrors: [SellerError!]!
19002
19016
  }
19003
19017
 
19004
19018
  """Updates settings for the given seller."""
@@ -19066,6 +19080,7 @@ input SellerApplicationUpdateInput {
19066
19080
  type DesignerDataCreate {
19067
19081
  ok: Boolean
19068
19082
  designerdata: DesignerDataType
19083
+ designerErrors: [MarketplaceConfigurationError!]!
19069
19084
  }
19070
19085
 
19071
19086
  input DesignerDataInput {
@@ -19077,12 +19092,14 @@ input DesignerDataInput {
19077
19092
  type DesignerDataUpdate {
19078
19093
  ok: Boolean
19079
19094
  designerdata: DesignerDataType
19095
+ designerErrors: [MarketplaceConfigurationError!]!
19080
19096
  }
19081
19097
 
19082
19098
  """Update existing branding."""
19083
19099
  type BrandingUpdate {
19084
19100
  ok: Boolean
19085
19101
  branding: BrandingType
19102
+ brandingErrors: [MarketplaceConfigurationError!]!
19086
19103
  }
19087
19104
 
19088
19105
  input BrandingInput {
@@ -19104,6 +19121,7 @@ input BrandingInput {
19104
19121
  """Delete branding images."""
19105
19122
  type BrandingImagesDelete {
19106
19123
  branding: BrandingType
19124
+ brandingErrors: [MarketplaceConfigurationError!]!
19107
19125
  }
19108
19126
 
19109
19127
  """Create core data."""
@@ -19167,11 +19185,6 @@ input WebhookCreateInput {
19167
19185
  """
19168
19186
  events: [WebhookEventTypeEnum!]
19169
19187
 
19170
- """
19171
- DEPRECATED: Use the `app` field instead. This field will be removed after 2020-07-31.
19172
- """
19173
- serviceAccount: ID @deprecated(reason: "Use the `app` field instead.")
19174
-
19175
19188
  """ID of the app to which webhook belongs."""
19176
19189
  app: ID
19177
19190
 
@@ -19214,11 +19227,6 @@ input WebhookUpdateInput {
19214
19227
  """
19215
19228
  events: [WebhookEventTypeEnum!]
19216
19229
 
19217
- """
19218
- DEPRECATED: Use the `app` field instead. This field will be removed after 2020-07-31.
19219
- """
19220
- serviceAccount: ID @deprecated(reason: "Use the `app` field instead.")
19221
-
19222
19230
  """ID of the app to which webhook belongs."""
19223
19231
  app: ID
19224
19232
 
@@ -19445,6 +19453,18 @@ type ContentDelete {
19445
19453
  content: Content
19446
19454
  }
19447
19455
 
19456
+ """Duplicate an existing content object."""
19457
+ type ContentDuplicate {
19458
+ """Duplicate a content instance."""
19459
+ content: Content
19460
+ shopErrors: [ShopError!]!
19461
+ }
19462
+
19463
+ input ContentDuplicateInput {
19464
+ """Slug for newly duplicated content object"""
19465
+ newSlug: String!
19466
+ }
19467
+
19448
19468
  """Creates a new media object."""
19449
19469
  type MediaCreate {
19450
19470
  """Created media instance."""
@@ -22063,26 +22083,9 @@ input DraftOrderCreateInput {
22063
22083
  """Email address of the customer."""
22064
22084
  userEmail: String
22065
22085
 
22066
- """
22067
- DEPRECATED: This field will be removed after 2023-12-31. Discount amount for
22068
- the order
22069
- """
22070
- discount: PositiveDecimal @deprecated(reason: "Use NauticalOrderUpdateApplyVoucherCode mutation instead.")
22071
-
22072
22086
  """Shipping address of the customer."""
22073
22087
  shippingAddress: AddressInput
22074
22088
 
22075
- """
22076
- ID of a selected shipping method. This field should be used only for Seller Orders.
22077
- """
22078
- shippingMethod: ID @deprecated(reason: "Unsupported field. Use \"orderUpdateShipping\" for updating shipping method for seller orders and \"NauticalOrderUpdateShipping\" for Marketplace orders.")
22079
-
22080
- """
22081
- DEPRECATED: This field will be removed after 2023-12-31. ID of the voucher
22082
- associated with the order.
22083
- """
22084
- voucher: ID @deprecated(reason: "Use NauticalOrderUpdateApplyVoucherCode mutation instead.")
22085
-
22086
22089
  """A note from a customer. Visible by customers in the order summary."""
22087
22090
  customerNote: String
22088
22091
 
@@ -22134,26 +22137,9 @@ input NauticalDraftOrderCreateInput {
22134
22137
  """Email address of the customer."""
22135
22138
  userEmail: String
22136
22139
 
22137
- """
22138
- DEPRECATED: This field will be removed after 2023-12-31. Discount amount for
22139
- the order
22140
- """
22141
- discount: PositiveDecimal @deprecated(reason: "Use NauticalOrderUpdateApplyVoucherCode mutation instead.")
22142
-
22143
22140
  """Shipping address of the customer."""
22144
22141
  shippingAddress: AddressInput
22145
22142
 
22146
- """
22147
- ID of a selected shipping method. This field should be used only for Seller Orders.
22148
- """
22149
- shippingMethod: ID @deprecated(reason: "Unsupported field. Use \"orderUpdateShipping\" for updating shipping method for seller orders and \"NauticalOrderUpdateShipping\" for Marketplace orders.")
22150
-
22151
- """
22152
- DEPRECATED: This field will be removed after 2023-12-31. ID of the voucher
22153
- associated with the order.
22154
- """
22155
- voucher: ID @deprecated(reason: "Use NauticalOrderUpdateApplyVoucherCode mutation instead.")
22156
-
22157
22143
  """A note from a customer. Visible by customers in the order summary."""
22158
22144
  customerNote: String
22159
22145
 
@@ -22202,9 +22188,6 @@ input NauticalHistoricalOrderInput {
22202
22188
  """Discount amount for the order."""
22203
22189
  discount: PositiveDecimal
22204
22190
 
22205
- """ID of a selected shipping method."""
22206
- shippingMethod: ID @deprecated(reason: "This field should not be provided for Marketplace orders. Mutation \"NauticalOrderUpdateShipping\" should be used instead to set shipping method for each separate seller. This field will be removed after 2023-12-16.")
22207
-
22208
22191
  """Shipping price without taxes."""
22209
22192
  shippingPriceNetAmount: PositiveDecimal
22210
22193
 
@@ -22373,26 +22356,9 @@ input DraftOrderInput {
22373
22356
  """Email address of the customer."""
22374
22357
  userEmail: String
22375
22358
 
22376
- """
22377
- DEPRECATED: This field will be removed after 2023-12-31. Discount amount for
22378
- the order
22379
- """
22380
- discount: PositiveDecimal @deprecated(reason: "Use NauticalOrderUpdateApplyVoucherCode mutation instead.")
22381
-
22382
22359
  """Shipping address of the customer."""
22383
22360
  shippingAddress: AddressInput
22384
22361
 
22385
- """
22386
- ID of a selected shipping method. This field should be used only for Seller Orders.
22387
- """
22388
- shippingMethod: ID @deprecated(reason: "Unsupported field. Use \"orderUpdateShipping\" for updating shipping method for seller orders and \"NauticalOrderUpdateShipping\" for Marketplace orders.")
22389
-
22390
- """
22391
- DEPRECATED: This field will be removed after 2023-12-31. ID of the voucher
22392
- associated with the order.
22393
- """
22394
- voucher: ID @deprecated(reason: "Use NauticalOrderUpdateApplyVoucherCode mutation instead.")
22395
-
22396
22362
  """A note from a customer. Visible by customers in the order summary."""
22397
22363
  customerNote: String
22398
22364
 
@@ -22418,26 +22384,9 @@ input NauticalDraftOrderInput {
22418
22384
  """Email address of the customer."""
22419
22385
  userEmail: String
22420
22386
 
22421
- """
22422
- DEPRECATED: This field will be removed after 2023-12-31. Discount amount for
22423
- the order
22424
- """
22425
- discount: PositiveDecimal @deprecated(reason: "Use NauticalOrderUpdateApplyVoucherCode mutation instead.")
22426
-
22427
22387
  """Shipping address of the customer."""
22428
22388
  shippingAddress: AddressInput
22429
22389
 
22430
- """
22431
- ID of a selected shipping method. This field should be used only for Seller Orders.
22432
- """
22433
- shippingMethod: ID @deprecated(reason: "Unsupported field. Use \"orderUpdateShipping\" for updating shipping method for seller orders and \"NauticalOrderUpdateShipping\" for Marketplace orders.")
22434
-
22435
- """
22436
- DEPRECATED: This field will be removed after 2023-12-31. ID of the voucher
22437
- associated with the order.
22438
- """
22439
- voucher: ID @deprecated(reason: "Use NauticalOrderUpdateApplyVoucherCode mutation instead.")
22440
-
22441
22390
  """A note from a customer. Visible by customers in the order summary."""
22442
22391
  customerNote: String
22443
22392
 
@@ -24102,16 +24051,6 @@ type CheckoutComplete {
24102
24051
  checkoutErrors: [CheckoutError!]!
24103
24052
  }
24104
24053
 
24105
- input SellerVolumeDiscountInput {
24106
- seller: Int
24107
- volumeDiscount: MoneyInput = null
24108
- }
24109
-
24110
- input MoneyInput {
24111
- amount: Float
24112
- currency: String
24113
- }
24114
-
24115
24054
  """
24116
24055
  Converts checkout to nautical quote order with the same id as checkout has when checkout is ready to be converted into quote order. This mutation should delete current checkout in case when order is created.
24117
24056
  """
@@ -24263,7 +24202,6 @@ input SellerShippingMethodInput {
24263
24202
  Optional override amount for shipping method price.Be aware, you should send this field on each request. For example, if you will set this field and then will send the same shipping method (or a new one) without this field (in the context of the same seller) - the price will be restored based on the shipping method price.
24264
24203
  """
24265
24204
  shippingMethodPriceOverrideAmount: PositiveDecimal
24266
- secondaryAddress: String @deprecated(reason: "This field is unused and will be removed after 2024-02-01")
24267
24205
  }
24268
24206
 
24269
24207
  """Clears the seller shipping methods of the checkout."""
@@ -24598,11 +24536,6 @@ input AppInput {
24598
24536
  """Name of the app."""
24599
24537
  name: String
24600
24538
 
24601
- """
24602
- DEPRECATED: Use the `appActivate` and `appDeactivate` mutations instead. This field will be removed after 2020-07-31.
24603
- """
24604
- isActive: Boolean @deprecated(reason: "Use the `appActivate` and `appDeactivate` mutations instead.")
24605
-
24606
24539
  """List of permission code names to assign to this app."""
24607
24540
  permissions: [PermissionEnum!]
24608
24541
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.46.0",
3
+ "version": "v1.46.1-10-gf9002fe88",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {
package/nautical/LICENSE DELETED
@@ -1,37 +0,0 @@
1
- BSD 3-Clause License
2
-
3
- Copyright (c) 2010-2020, Mirumee Software
4
- All rights reserved.
5
-
6
- Redistribution and use in source and binary forms, with or without
7
- modification, are permitted provided that the following conditions are met:
8
-
9
- * Redistributions of source code must retain the above copyright notice, this
10
- list of conditions and the following disclaimer.
11
-
12
- * Redistributions in binary form must reproduce the above copyright notice,
13
- this list of conditions and the following disclaimer in the documentation
14
- and/or other materials provided with the distribution.
15
-
16
- * Neither the name of the copyright holder nor the names of its
17
- contributors may be used to endorse or promote products derived from
18
- this software without specific prior written permission.
19
-
20
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23
- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24
- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25
- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26
- SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27
- CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28
- OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30
-
31
- -------
32
-
33
- Unless stated otherwise, artwork included in this distribution is licensed
34
- under the Creative Commons Attribution 4.0 International License.
35
-
36
- You can learn more about the permitted use by visiting
37
- https://creativecommons.org/licenses/by/4.0/