@nautical-commerce/graphql-schema 1.46.0 → 1.46.1-1-g56c4bfd00

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
 
@@ -2647,14 +2617,14 @@ type Checkout implements Node & ObjectWithMetadata {
2647
2617
  """Discount Type if voucher is applied"""
2648
2618
  discountType: VoucherTypeEnum
2649
2619
 
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
2620
  """A list of structured checkout shipping methods."""
2654
2621
  shippingMethods: [CheckoutSellerShipping!]!
2655
2622
 
2656
2623
  """Shipping discount for this order"""
2657
2624
  shippingSaleDiscount: Money!
2625
+
2626
+ """Shipping method for this order."""
2627
+ marketplaceShippingMethod: ShippingMethod
2658
2628
  }
2659
2629
 
2660
2630
  """Represents amount of money in specific currency."""
@@ -5178,6 +5148,15 @@ type Collection implements Node & ObjectWithMetadata {
5178
5148
 
5179
5149
  """List of custom fields assigned to this collection."""
5180
5150
  customFields: [SelectedAttribute!]!
5151
+
5152
+ """List of sales associated with the collection."""
5153
+ sales: [Sale!]!
5154
+
5155
+ """List of vouchers associated with the collection."""
5156
+ vouchers: [Voucher!]!
5157
+
5158
+ """Displays if this collection is on sale"""
5159
+ onSale: Boolean
5181
5160
  }
5182
5161
 
5183
5162
  input ProductVariantFilterInput {
@@ -5311,6 +5290,93 @@ enum CollectionTypeEnum {
5311
5290
  VARIANT
5312
5291
  }
5313
5292
 
5293
+ """
5294
+ Sales allow creating discounts for categories, collections, products, or variants and are visible to all the customers.
5295
+ """
5296
+ type Sale implements Node {
5297
+ """The ID of the object"""
5298
+ id: ID!
5299
+ name: String!
5300
+
5301
+ """Type of discount"""
5302
+ type: DiscountValueTypeEnum!
5303
+ value: Decimal!
5304
+ startDate: DateTime!
5305
+ endDate: DateTime
5306
+ currency: String!
5307
+ minSpent: Money
5308
+ minCheckoutItemsQuantity: Int!
5309
+
5310
+ """List of categories this sale applies to."""
5311
+ categories(
5312
+ """Return the elements in the list that come before the specified cursor."""
5313
+ before: String
5314
+
5315
+ """Return the elements in the list that come after the specified cursor."""
5316
+ after: String
5317
+
5318
+ """Return the first n elements from the list."""
5319
+ first: Int
5320
+
5321
+ """Return the last n elements from the list."""
5322
+ last: Int
5323
+ ): CategoryCountableConnection
5324
+
5325
+ """List of collections this sale applies to."""
5326
+ collections(
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
+ ): CollectionCountableConnection
5339
+
5340
+ """List of products this sale applies to."""
5341
+ products(
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
+ ): ProductCountableConnection
5354
+
5355
+ """List of variants this sale applies to."""
5356
+ variants(
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
+ ): ProductVariantCountableConnection
5369
+
5370
+ """Determines a type of sale."""
5371
+ saleType: SaleTypeEnum!
5372
+ }
5373
+
5374
+ """An enumeration."""
5375
+ enum SaleTypeEnum {
5376
+ SHIPPING
5377
+ SPECIFIC_PRODUCT
5378
+ }
5379
+
5314
5380
  """Represents an affiliate code"""
5315
5381
  type AffiliateCodes implements Node {
5316
5382
  """The ID of the object"""
@@ -5537,6 +5603,15 @@ type NauticalOrder implements Node & ObjectWithMetadata {
5537
5603
 
5538
5604
  """List of all the refunds for this marketplace order."""
5539
5605
  refunds: [Refund!]
5606
+
5607
+ """Total price of shipping for this order."""
5608
+ marketplaceShippingPrice: TaxedMoney!
5609
+
5610
+ """Shipping method for this order."""
5611
+ marketplaceShippingMethod: ShippingMethod
5612
+
5613
+ """Name of the shipping method for this order."""
5614
+ marketplaceShippingMethodName: String
5540
5615
  }
5541
5616
 
5542
5617
  """An enumeration."""
@@ -5896,7 +5971,6 @@ type NauticalOrderLine implements Node & ObjectWithMetadata {
5896
5971
 
5897
5972
  """Price of the single item in the order line after sales"""
5898
5973
  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
5974
  }
5901
5975
 
5902
5976
  """
@@ -6074,93 +6148,6 @@ type NauticalSecondaryOrderLine implements Node {
6074
6148
  quantityOrdered: Int!
6075
6149
  }
6076
6150
 
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
6151
  """Represents allocation."""
6165
6152
  type Allocation implements Node {
6166
6153
  """The ID of the object"""
@@ -11477,7 +11464,6 @@ type MarketplaceConfiguration {
11477
11464
 
11478
11465
  """Determines payout status transformation strategy"""
11479
11466
  payoutAutomationStrategy: MarketplaceConfigurationPayoutAutomationStrategyEnum
11480
- availableCurrencies: JSONString!
11481
11467
 
11482
11468
  """Determines domiciled currency"""
11483
11469
  domiciledCurrency: MarketplaceConfigurationCurrencyEnum!
@@ -12372,10 +12358,10 @@ enum NotifyEventTypeEnum {
12372
12358
  UPDATED_STATUS
12373
12359
 
12374
12360
  """Vin Decode Success"""
12375
- VIN_DECODE_SUCCESS
12361
+ VIN_DECODE_SUCCESS @deprecated(reason: "Will be removed on Nov 12, 2024")
12376
12362
 
12377
12363
  """Vin Decode Failed"""
12378
- VIN_DECODE_FAILED
12364
+ VIN_DECODE_FAILED @deprecated(reason: "Will be removed on Nov 12, 2024")
12379
12365
 
12380
12366
  """Import Catalog Failed"""
12381
12367
  IMPORT_CATALOG_FAILED
@@ -13895,24 +13881,14 @@ type Mutation {
13895
13881
  description: String
13896
13882
 
13897
13883
  """
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.
13884
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/x-eps, application/jpg, application/x-rar, application/gzip-compressed, text/x-csv, image/eps, image/x-dxf, application/svg+xml, application/x-csv, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/x-rar-compressed, image/heif, application/vnd.pdf, application/postscript, application/gzipped, application/vnd.ms-powerpoint, application/vnd.openxmlformats-officedocument.presentationml.slideshow, image/webp, image/bmp, application/msword, application/dwg, application/pdf, image/gif, image/svg+xml, application/tif, application/x-autocad, application/vnd.oasis.opendocument.presentation, application/x-zip-compressed, application/vnd.ms-word, drawing/x-dwf, text/pdf, image/svg, application/excel, image/vnd.dwg, drawing/x-dwg, text/svg-xml, text/plain, image/png, text/x-comma-separated-values, image/x-bmp, application/zip, image/jpeg, drawing/dwg, image/heif-sequence, text/comma-separated-values, application/x-acad, image/heic-sequence, application/vnd.oasis.opendocument.text, text/rtf, application/gzip, text/x-pdf, image/heic, pplication/vnd.rar, image/tif, application/x-jpg, image/x-tif, application/x-tar, application/vnd.ms-excel, application/vnd.oasis.opendocument.spreadsheet, image/x-dwg, application/x-gzip, text/svg, text/csv, application/rtf, application/tiff, application/x-tif, image/dxf, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/dxf, image/jpg, image/x-eps, application/x-dxf, application/x-rtf, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/eps, application/acrobat, application/acad, application/csv, application/x-tiff, image/x-tiff, application/x-pdf, image/tiff, application/x-dwg, image/x-ms-bmp.
13904
13885
  """
13905
- file: Upload
13906
-
13907
- """
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.")
13886
+ file: Upload!
13911
13887
 
13912
13888
  """
13913
13889
  Target instance ID to attach a document to; currently supports Product, ProductVariant, Seller and User IDs.
13914
13890
  """
13915
- relatedObjectId: ID
13891
+ relatedObjectId: ID!
13916
13892
  ): DocumentAdd
13917
13893
 
13918
13894
  """Updates an existing document."""
@@ -13979,7 +13955,7 @@ type Mutation {
13979
13955
  """
13980
13956
  Update whether process_pending_webhook_transactions periodic django celery beat task is enabled
13981
13957
  """
13982
- updatePeriodicTaskEnabled(enabled: Boolean): PeriodicTaskEnabledUpdate
13958
+ updatePeriodicTaskEnabled(enabled: Boolean): PeriodicTaskEnabledUpdate @deprecated(reason: "This will be removed on November 9, 2024")
13983
13959
 
13984
13960
  """Creates a new channel"""
13985
13961
  channelCreate(
@@ -14630,6 +14606,15 @@ type Mutation {
14630
14606
  id: ID!
14631
14607
  ): ContentDelete
14632
14608
 
14609
+ """Duplicate an existing content object."""
14610
+ contentDuplicate(
14611
+ """Id of the content we want to duplicate."""
14612
+ id: ID!
14613
+
14614
+ """Fields required to create new page content."""
14615
+ input: ContentDuplicateInput!
14616
+ ): ContentDuplicate
14617
+
14633
14618
  """Creates a new media object."""
14634
14619
  mediaCreate(
14635
14620
  """Fields required to create media."""
@@ -16576,7 +16561,6 @@ type Mutation {
16576
16561
  """
16577
16562
  vehicles: Boolean = false
16578
16563
  volumeDiscount: Float!
16579
- volumeDiscountsBySeller: [SellerVolumeDiscountInput!] @deprecated(reason: "This is unused and will be removed after 2024-02-01.")
16580
16564
  ): CheckoutComplete
16581
16565
 
16582
16566
  """
@@ -16597,11 +16581,6 @@ type Mutation {
16597
16581
  checkoutCustomerAttach(
16598
16582
  """ID of the checkout."""
16599
16583
  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
16584
  ): CheckoutCustomerAttach
16606
16585
 
16607
16586
  """Removes the user assigned as the owner of the checkout."""
@@ -16699,7 +16678,6 @@ type Mutation {
16699
16678
  checkoutSellerShippingMethodsUpdate(
16700
16679
  """Checkout ID."""
16701
16680
  checkoutId: ID!
16702
- secondaryAddress: String @deprecated(reason: "This field is unused and will be removed after 2024-02-01")
16703
16681
 
16704
16682
  """Seller DB id representation as a string."""
16705
16683
  seller: ID!
@@ -18680,6 +18658,7 @@ enum MarkupCommissionTypeEnum {
18680
18658
 
18681
18659
  """Deletes a agreement."""
18682
18660
  type AgreementDelete {
18661
+ agreementErrors: [AgreementError!]!
18683
18662
  agreement: Agreement
18684
18663
  }
18685
18664
 
@@ -18687,12 +18666,14 @@ type AgreementDelete {
18687
18666
  type AgreementBulkDelete {
18688
18667
  """Returns how many objects were affected."""
18689
18668
  count: Int!
18669
+ agreementErrors: [AgreementError!]!
18690
18670
  }
18691
18671
 
18692
18672
  """Publish agreements."""
18693
18673
  type AgreementBulkPublish {
18694
18674
  """Returns how many objects were affected."""
18695
18675
  count: Int!
18676
+ agreementErrors: [AgreementError!]!
18696
18677
  }
18697
18678
 
18698
18679
  """Updates an existing agreement."""
@@ -18763,6 +18744,7 @@ type AgreementCommissionDelete {
18763
18744
  """Acknowledge the seller agreement for seller id"""
18764
18745
  type SellerAgreementAcknowledge {
18765
18746
  user: User
18747
+ agreementErrors: [AgreementError!]!
18766
18748
  }
18767
18749
 
18768
18750
  """
@@ -18807,38 +18789,11 @@ input DetailedSellerInput {
18807
18789
 
18808
18790
  """ID of plan (agreement) for a seller."""
18809
18791
  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
18792
 
18812
18793
  """Fields required to set the object's metadata."""
18813
18794
  metadata: [MetadataInput!]
18814
18795
  }
18815
18796
 
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
18797
  input MetadataInput {
18843
18798
  """Key of a metadata item."""
18844
18799
  key: String!
@@ -18873,6 +18828,7 @@ input SellerOwnerCreateInput {
18873
18828
  type SellerDataCreate {
18874
18829
  ok: Boolean
18875
18830
  seller: Seller
18831
+ sellerErrors: [SellerError!]!
18876
18832
  }
18877
18833
 
18878
18834
  input SellerInput {
@@ -18897,10 +18853,37 @@ input SellerChecklistInput {
18897
18853
  completeOn: SellerChecklistCompetitionTriggersEnum
18898
18854
  }
18899
18855
 
18856
+ enum SellerStatusEnum {
18857
+ """Applying"""
18858
+ APPLYING
18859
+
18860
+ """Pending"""
18861
+ PENDING
18862
+
18863
+ """Approved"""
18864
+ APPROVED
18865
+
18866
+ """Declined"""
18867
+ DECLINED
18868
+
18869
+ """Paused"""
18870
+ PAUSED
18871
+
18872
+ """Suspended"""
18873
+ SUSPENDED
18874
+
18875
+ """Banned"""
18876
+ BANNED
18877
+
18878
+ """Deactivated"""
18879
+ DEACTIVATED
18880
+ }
18881
+
18900
18882
  """Allows [re-]assign a user to a seller"""
18901
18883
  type SellerUserMappingCreate {
18902
18884
  ok: Boolean
18903
18885
  sellerUser: SellerUserType
18886
+ sellerErrors: [SellerError!]!
18904
18887
  }
18905
18888
 
18906
18889
  input SellerUserInput {
@@ -18930,6 +18913,7 @@ input SellerUpdateInput {
18930
18913
  type SellerNoteCreate {
18931
18914
  ok: Boolean
18932
18915
  note: String
18916
+ sellerErrors: [SellerError!]!
18933
18917
  }
18934
18918
 
18935
18919
  input SellerNoteInput {
@@ -18944,7 +18928,7 @@ Create a seller logo. Only for MP Admin, MP Staff, or the seller. This mutation
18944
18928
  type SellerLogoUpdate {
18945
18929
  """An updated seller instance"""
18946
18930
  seller: Seller
18947
- accountErrors: [SellerError!]!
18931
+ sellerErrors: [SellerError!]!
18948
18932
  }
18949
18933
 
18950
18934
  """Creates seller address."""
@@ -18999,6 +18983,7 @@ type SellerOwnerDelete {
18999
18983
  type SellerShellCreate {
19000
18984
  ok: Boolean
19001
18985
  seller: Seller
18986
+ sellerErrors: [SellerError!]!
19002
18987
  }
19003
18988
 
19004
18989
  """Updates settings for the given seller."""
@@ -19066,6 +19051,7 @@ input SellerApplicationUpdateInput {
19066
19051
  type DesignerDataCreate {
19067
19052
  ok: Boolean
19068
19053
  designerdata: DesignerDataType
19054
+ designerErrors: [MarketplaceConfigurationError!]!
19069
19055
  }
19070
19056
 
19071
19057
  input DesignerDataInput {
@@ -19077,12 +19063,14 @@ input DesignerDataInput {
19077
19063
  type DesignerDataUpdate {
19078
19064
  ok: Boolean
19079
19065
  designerdata: DesignerDataType
19066
+ designerErrors: [MarketplaceConfigurationError!]!
19080
19067
  }
19081
19068
 
19082
19069
  """Update existing branding."""
19083
19070
  type BrandingUpdate {
19084
19071
  ok: Boolean
19085
19072
  branding: BrandingType
19073
+ brandingErrors: [MarketplaceConfigurationError!]!
19086
19074
  }
19087
19075
 
19088
19076
  input BrandingInput {
@@ -19104,6 +19092,7 @@ input BrandingInput {
19104
19092
  """Delete branding images."""
19105
19093
  type BrandingImagesDelete {
19106
19094
  branding: BrandingType
19095
+ brandingErrors: [MarketplaceConfigurationError!]!
19107
19096
  }
19108
19097
 
19109
19098
  """Create core data."""
@@ -19167,11 +19156,6 @@ input WebhookCreateInput {
19167
19156
  """
19168
19157
  events: [WebhookEventTypeEnum!]
19169
19158
 
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
19159
  """ID of the app to which webhook belongs."""
19176
19160
  app: ID
19177
19161
 
@@ -19214,11 +19198,6 @@ input WebhookUpdateInput {
19214
19198
  """
19215
19199
  events: [WebhookEventTypeEnum!]
19216
19200
 
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
19201
  """ID of the app to which webhook belongs."""
19223
19202
  app: ID
19224
19203
 
@@ -19445,6 +19424,18 @@ type ContentDelete {
19445
19424
  content: Content
19446
19425
  }
19447
19426
 
19427
+ """Duplicate an existing content object."""
19428
+ type ContentDuplicate {
19429
+ """Duplicate a content instance."""
19430
+ content: Content
19431
+ shopErrors: [ShopError!]!
19432
+ }
19433
+
19434
+ input ContentDuplicateInput {
19435
+ """Slug for newly duplicated content object"""
19436
+ newSlug: String!
19437
+ }
19438
+
19448
19439
  """Creates a new media object."""
19449
19440
  type MediaCreate {
19450
19441
  """Created media instance."""
@@ -22063,26 +22054,9 @@ input DraftOrderCreateInput {
22063
22054
  """Email address of the customer."""
22064
22055
  userEmail: String
22065
22056
 
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
22057
  """Shipping address of the customer."""
22073
22058
  shippingAddress: AddressInput
22074
22059
 
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
22060
  """A note from a customer. Visible by customers in the order summary."""
22087
22061
  customerNote: String
22088
22062
 
@@ -22134,26 +22108,9 @@ input NauticalDraftOrderCreateInput {
22134
22108
  """Email address of the customer."""
22135
22109
  userEmail: String
22136
22110
 
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
22111
  """Shipping address of the customer."""
22144
22112
  shippingAddress: AddressInput
22145
22113
 
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
22114
  """A note from a customer. Visible by customers in the order summary."""
22158
22115
  customerNote: String
22159
22116
 
@@ -22202,9 +22159,6 @@ input NauticalHistoricalOrderInput {
22202
22159
  """Discount amount for the order."""
22203
22160
  discount: PositiveDecimal
22204
22161
 
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
22162
  """Shipping price without taxes."""
22209
22163
  shippingPriceNetAmount: PositiveDecimal
22210
22164
 
@@ -22373,26 +22327,9 @@ input DraftOrderInput {
22373
22327
  """Email address of the customer."""
22374
22328
  userEmail: String
22375
22329
 
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
22330
  """Shipping address of the customer."""
22383
22331
  shippingAddress: AddressInput
22384
22332
 
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
22333
  """A note from a customer. Visible by customers in the order summary."""
22397
22334
  customerNote: String
22398
22335
 
@@ -22418,26 +22355,9 @@ input NauticalDraftOrderInput {
22418
22355
  """Email address of the customer."""
22419
22356
  userEmail: String
22420
22357
 
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
22358
  """Shipping address of the customer."""
22428
22359
  shippingAddress: AddressInput
22429
22360
 
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
22361
  """A note from a customer. Visible by customers in the order summary."""
22442
22362
  customerNote: String
22443
22363
 
@@ -24102,16 +24022,6 @@ type CheckoutComplete {
24102
24022
  checkoutErrors: [CheckoutError!]!
24103
24023
  }
24104
24024
 
24105
- input SellerVolumeDiscountInput {
24106
- seller: Int
24107
- volumeDiscount: MoneyInput = null
24108
- }
24109
-
24110
- input MoneyInput {
24111
- amount: Float
24112
- currency: String
24113
- }
24114
-
24115
24025
  """
24116
24026
  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
24027
  """
@@ -24263,7 +24173,6 @@ input SellerShippingMethodInput {
24263
24173
  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
24174
  """
24265
24175
  shippingMethodPriceOverrideAmount: PositiveDecimal
24266
- secondaryAddress: String @deprecated(reason: "This field is unused and will be removed after 2024-02-01")
24267
24176
  }
24268
24177
 
24269
24178
  """Clears the seller shipping methods of the checkout."""
@@ -24598,11 +24507,6 @@ input AppInput {
24598
24507
  """Name of the app."""
24599
24508
  name: String
24600
24509
 
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
24510
  """List of permission code names to assign to this app."""
24607
24511
  permissions: [PermissionEnum!]
24608
24512
 
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-1-g56c4bfd00",
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/