@nautical-commerce/graphql-schema 1.57.0-6-g46908da6d → 1.57.0-8-gdfd8dff58

Sign up to get free protection for your applications and to get access to all the features.
@@ -1857,27 +1857,6 @@ type Query {
1857
1857
  last: Int
1858
1858
  ): CheckoutLineCountableConnection
1859
1859
 
1860
- """List of webhook jobs"""
1861
- channels(
1862
- """Filtering options for webhook jobs"""
1863
- filter: ChannelFilterInput
1864
-
1865
- """Sort webhook jobs"""
1866
- sortBy: ChannelSortingInput
1867
-
1868
- """Return the elements in the list that come before the specified cursor."""
1869
- before: String
1870
-
1871
- """Return the elements in the list that come after the specified cursor."""
1872
- after: String
1873
-
1874
- """Return the first n elements from the list."""
1875
- first: Int
1876
-
1877
- """Return the last n elements from the list."""
1878
- last: Int
1879
- ): ChannelCountableConnection @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
1880
-
1881
1860
  """List of the shop's attributes."""
1882
1861
  attributes(
1883
1862
  """Filtering options for attributes."""
@@ -3558,7 +3537,6 @@ type VendorPayout implements Node & ObjectWithMetadata {
3558
3537
  gateway: String!
3559
3538
  payout: Payout!
3560
3539
  seller: Seller
3561
- affiliate: User
3562
3540
  currency: String!
3563
3541
  average: Decimal!
3564
3542
  discounts: Decimal!
@@ -3616,7 +3594,6 @@ type Payout implements Node & ObjectWithMetadata {
3616
3594
  endDate: String!
3617
3595
  status: PayoutStatus!
3618
3596
  name: String
3619
- vendorType: PayoutVendorType!
3620
3597
  currency: String!
3621
3598
  vendorPayouts(offset: Int, before: String, after: String, first: Int, last: Int): VendorPayoutCountableConnection!
3622
3599
  vendors: Int!
@@ -3648,15 +3625,6 @@ enum PayoutStatus {
3648
3625
  ERROR
3649
3626
  }
3650
3627
 
3651
- """An enumeration."""
3652
- enum PayoutVendorType {
3653
- """Sellers"""
3654
- SELLERS
3655
-
3656
- """Affiliates"""
3657
- AFFILIATES
3658
- }
3659
-
3660
3628
  """An enumeration."""
3661
3629
  enum VendorPayoutStatus {
3662
3630
  """Paid"""
@@ -3868,9 +3836,6 @@ type Order implements Node & ObjectWithMetadata {
3868
3836
  """Validation status for the order"""
3869
3837
  validationStatus: [ValidationStatus!]
3870
3838
 
3871
- """Channel the order is associated with"""
3872
- channel: Channel @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
3873
-
3874
3839
  """Latest bid made against the order."""
3875
3840
  currentBid: Bid @deprecated(reason: "This will be removed alongside bids and offers on November 21, 2024")
3876
3841
 
@@ -4880,7 +4845,6 @@ enum PermissionEnum {
4880
4845
  MANAGE_PAYOUTS
4881
4846
  MANAGE_PAYMENTS
4882
4847
  MANAGE_REFUNDS
4883
- MANAGE_CHANNELS
4884
4848
  MANAGE_COLLECTIONS
4885
4849
  }
4886
4850
 
@@ -5671,9 +5635,6 @@ type NauticalOrder implements Node & ObjectWithMetadata {
5671
5635
  """Returns True, if order requires shipping."""
5672
5636
  isShippingRequired: Boolean!
5673
5637
 
5674
- """Channel the marketplace order is associated with"""
5675
- channel: Channel @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
5676
-
5677
5638
  """Volume discount for the nautical order"""
5678
5639
  volumeDiscount: TaxedMoney
5679
5640
  shippingMethodName: String!
@@ -6709,35 +6670,6 @@ type NauticalOrderEventOrderLineObject {
6709
6670
  itemName: String
6710
6671
  }
6711
6672
 
6712
- """Represents unique channel in Nautical."""
6713
- type Channel implements Node {
6714
- """The ID of the object"""
6715
- id: ID!
6716
- tenant: Tenant!
6717
- createdAt: DateTime
6718
- updatedAt: DateTime
6719
- channel: String!
6720
- nauticalOrders(offset: Int, before: String, after: String, first: Int, last: Int): NauticalOrderCountableConnection!
6721
- orders(offset: Int, before: String, after: String, first: Int, last: Int): OrderCountableConnection!
6722
- }
6723
-
6724
- type NauticalOrderCountableConnection {
6725
- """Pagination data for this connection."""
6726
- pageInfo: PageInfo!
6727
- edges: [NauticalOrderCountableEdge!]!
6728
-
6729
- """A total count of items in the collection."""
6730
- totalCount: Int
6731
- }
6732
-
6733
- type NauticalOrderCountableEdge {
6734
- """The item at the end of the edge."""
6735
- node: NauticalOrder!
6736
-
6737
- """A cursor for use in pagination."""
6738
- cursor: String!
6739
- }
6740
-
6741
6673
  """Represents a bid."""
6742
6674
  type Bid implements Node {
6743
6675
  """The ID of the object"""
@@ -7261,7 +7193,6 @@ type Agreement implements Node & ObjectWithMetadata {
7261
7193
  seoDescription: String
7262
7194
  slug: String!
7263
7195
  title: String!
7264
- vendorType: AgreementVendorType!
7265
7196
 
7266
7197
  """Commission type"""
7267
7198
  commissionType: CommissionTypeEnum! @deprecated(reason: "Markup commissions will be removed on January 23, 2025.")
@@ -7274,7 +7205,6 @@ type Agreement implements Node & ObjectWithMetadata {
7274
7205
  If a markup commission is selected, this is the amount of the commission.
7275
7206
  """
7276
7207
  markupCommissionValue: Decimal @deprecated(reason: "Markup commissions will be removed on January 23, 2025.")
7277
- agreementType: AgreementAgreementType!
7278
7208
  isActive: Boolean
7279
7209
 
7280
7210
  """List of granular commissions associated with the agreement."""
@@ -7293,15 +7223,6 @@ type Agreement implements Node & ObjectWithMetadata {
7293
7223
  metadata: [MetadataItem!]!
7294
7224
  }
7295
7225
 
7296
- """An enumeration."""
7297
- enum AgreementVendorType {
7298
- """Seller"""
7299
- SELLER
7300
-
7301
- """Affiliate"""
7302
- AFFILIATE
7303
- }
7304
-
7305
7226
  enum CommissionTypeEnum {
7306
7227
  """Gross Price Commission"""
7307
7228
  MARKETPLACE
@@ -7318,15 +7239,6 @@ enum MarkupCommissionTypeEnum {
7318
7239
  PERCENTAGE
7319
7240
  }
7320
7241
 
7321
- """An enumeration."""
7322
- enum AgreementAgreementType {
7323
- """Seller"""
7324
- A_1
7325
-
7326
- """Affiliate"""
7327
- A_2
7328
- }
7329
-
7330
7242
  """An agreement commission"""
7331
7243
  type AgreementCommission implements Node & ObjectWithMetadata {
7332
7244
  """The ID of the object"""
@@ -8116,7 +8028,6 @@ input CustomerOrderFilterInput {
8116
8028
  paymentStatus: [PaymentChargeStatusEnum!]
8117
8029
  status: [OrderStatusFilter!]
8118
8030
  customer: String
8119
- channel: String
8120
8031
  created: DateRangeInput
8121
8032
  metadata: MetadataFilterInput
8122
8033
  privateMetadata: MetadataFilterInput
@@ -8188,9 +8099,6 @@ enum OrderSortField {
8188
8099
  """Sort orders by fulfillment status."""
8189
8100
  FULFILLMENT_STATUS
8190
8101
 
8191
- """Sort orders by channel."""
8192
- CHANNEL
8193
-
8194
8102
  """Sort orders by total."""
8195
8103
  TOTAL
8196
8104
 
@@ -8204,11 +8112,27 @@ enum OrderSortField {
8204
8112
  EXTERNAL_SOURCE
8205
8113
  }
8206
8114
 
8115
+ type NauticalOrderCountableConnection {
8116
+ """Pagination data for this connection."""
8117
+ pageInfo: PageInfo!
8118
+ edges: [NauticalOrderCountableEdge!]!
8119
+
8120
+ """A total count of items in the collection."""
8121
+ totalCount: Int
8122
+ }
8123
+
8124
+ type NauticalOrderCountableEdge {
8125
+ """The item at the end of the edge."""
8126
+ node: NauticalOrder!
8127
+
8128
+ """A cursor for use in pagination."""
8129
+ cursor: String!
8130
+ }
8131
+
8207
8132
  input CustomerNauticalOrderFilterInput {
8208
8133
  paymentStatus: [PaymentChargeStatusEnum!]
8209
8134
  status: [OrderStatusFilter!]
8210
8135
  customer: String
8211
- channel: String
8212
8136
  created: DateRangeInput
8213
8137
  metadata: MetadataFilterInput
8214
8138
  privateMetadata: MetadataFilterInput
@@ -10914,7 +10838,6 @@ input OrderFilterInput {
10914
10838
  paymentStatus: [PaymentChargeStatusEnum!]
10915
10839
  status: [OrderStatusFilter!]
10916
10840
  customer: String
10917
- channel: String
10918
10841
  created: DateRangeInput
10919
10842
  metadata: MetadataFilterInput
10920
10843
  privateMetadata: MetadataFilterInput
@@ -10932,7 +10855,6 @@ input NauticalOrderFilterInput {
10932
10855
  paymentStatus: [PaymentChargeStatusEnum!]
10933
10856
  status: [OrderStatusFilter!]
10934
10857
  customer: String
10935
- channel: String
10936
10858
  created: DateRangeInput
10937
10859
  metadata: MetadataFilterInput
10938
10860
  privateMetadata: MetadataFilterInput
@@ -10945,7 +10867,6 @@ input NauticalOrderFilterInput {
10945
10867
 
10946
10868
  input OrderDraftFilterInput {
10947
10869
  customer: String
10948
- channel: String
10949
10870
  created: DateRangeInput
10950
10871
  metadata: MetadataFilterInput
10951
10872
  privateMetadata: MetadataFilterInput
@@ -10958,7 +10879,6 @@ input OrderDraftFilterInput {
10958
10879
 
10959
10880
  input NauticalOrderDraftFilterInput {
10960
10881
  customer: String
10961
- channel: String
10962
10882
  created: DateRangeInput
10963
10883
  metadata: MetadataFilterInput
10964
10884
  privateMetadata: MetadataFilterInput
@@ -10971,7 +10891,6 @@ input NauticalOrderDraftFilterInput {
10971
10891
 
10972
10892
  input NauticalOrderQuoteFilterInput {
10973
10893
  customer: String
10974
- channel: String
10975
10894
  created: DateRangeInput
10976
10895
  metadata: MetadataFilterInput
10977
10896
  privateMetadata: MetadataFilterInput
@@ -10990,7 +10909,6 @@ enum QuoteOrderSubStatusFilter {
10990
10909
 
10991
10910
  input OrderQuoteFilterInput {
10992
10911
  customer: String
10993
- channel: String
10994
10912
  created: DateRangeInput
10995
10913
  metadata: MetadataFilterInput
10996
10914
  privateMetadata: MetadataFilterInput
@@ -11115,7 +11033,6 @@ type MicrositeCountableEdge {
11115
11033
  input MicrositeFilterInput {
11116
11034
  published: MicrositePublished
11117
11035
  search: String
11118
- vendorType: MicrositeVendorType
11119
11036
  ids: [ID]
11120
11037
  metadata: MetadataFilterInput
11121
11038
  privateMetadata: MetadataFilterInput
@@ -11126,11 +11043,6 @@ enum MicrositePublished {
11126
11043
  HIDDEN
11127
11044
  }
11128
11045
 
11129
- enum MicrositeVendorType {
11130
- SELLER
11131
- AFFILIATE
11132
- }
11133
-
11134
11046
  input MicrositeSortingInput {
11135
11047
  """Specifies the direction in which to sort products."""
11136
11048
  direction: OrderDirection!
@@ -13284,45 +13196,6 @@ type CheckoutLineCountableEdge {
13284
13196
  cursor: String!
13285
13197
  }
13286
13198
 
13287
- type ChannelCountableConnection {
13288
- """Pagination data for this connection."""
13289
- pageInfo: PageInfo!
13290
- edges: [ChannelCountableEdge!]!
13291
-
13292
- """A total count of items in the collection."""
13293
- totalCount: Int
13294
- }
13295
-
13296
- type ChannelCountableEdge {
13297
- """The item at the end of the edge."""
13298
- node: Channel!
13299
-
13300
- """A cursor for use in pagination."""
13301
- cursor: String!
13302
- }
13303
-
13304
- input ChannelFilterInput {
13305
- search: String
13306
- createdAt: DateTime
13307
- created: DateRangeInput
13308
- }
13309
-
13310
- input ChannelSortingInput {
13311
- """Specifies the direction in which to sort products."""
13312
- direction: OrderDirection!
13313
-
13314
- """Sort channels by the selected field."""
13315
- field: ChannelSortField!
13316
- }
13317
-
13318
- enum ChannelSortField {
13319
- """Sort channels by channel."""
13320
- CHANNEL
13321
-
13322
- """Sort channels by created at."""
13323
- CREATED_AT
13324
- }
13325
-
13326
13199
  input AttributeSortingInput {
13327
13200
  """Specifies the direction in which to sort products."""
13328
13201
  direction: OrderDirection!
@@ -13597,7 +13470,7 @@ type Mutation {
13597
13470
  description: String
13598
13471
 
13599
13472
  """
13600
- 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-zip-compressed, application/rtf, application/pdf, image/webp, application/vnd.openxmlformats-officedocument.presentationml.presentation, text/comma-separated-values, image/heic-sequence, drawing/x-dwg, image/svg+xml, text/x-comma-separated-values, image/tif, pplication/vnd.rar, application/acrobat, image/x-eps, application/dwg, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/x-tar, application/x-gzip, application/postscript, application/vnd.openxmlformats-officedocument.wordprocessingml.document, text/x-csv, image/bmp, application/vnd.ms-powerpoint, application/acad, application/x-rtf, application/excel, application/gzipped, application/jpg, application/csv, application/x-rar-compressed, image/x-tiff, application/x-tif, image/heic, image/x-dwg, text/pdf, drawing/dwg, application/tif, application/x-acad, application/x-eps, application/x-dwg, text/csv, image/eps, application/x-rar, text/x-pdf, application/svg+xml, application/vnd.ms-word, text/svg-xml, application/tiff, image/gif, application/vnd.pdf, application/x-csv, image/dxf, application/gzip-compressed, image/x-dxf, image/vnd.dwg, application/gzip, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/vnd.ms-excel, application/vnd.oasis.opendocument.text, image/x-ms-bmp, application/zip, text/svg, application/vnd.oasis.opendocument.presentation, application/x-autocad, application/vnd.oasis.opendocument.spreadsheet, application/x-pdf, application/msword, text/plain, image/x-tif, application/x-dxf, image/svg, text/rtf, image/tiff, image/heif-sequence, image/jpeg, application/eps, drawing/x-dwf, application/x-tiff, image/jpg, image/heif, application/dxf, application/x-jpg, image/x-bmp, image/png.
13473
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: image/eps, application/zip, application/x-tif, application/excel, image/x-bmp, image/heif-sequence, application/vnd.ms-word, text/plain, text/csv, application/x-rar, image/tiff, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/gzip-compressed, image/jpeg, application/x-autocad, image/tif, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/heif, text/svg, text/svg-xml, image/png, application/csv, application/eps, application/x-acad, application/vnd.oasis.opendocument.text, text/pdf, image/heic-sequence, application/x-tar, image/x-dxf, application/x-rtf, application/x-eps, application/vnd.oasis.opendocument.presentation, image/x-tif, application/x-jpg, image/svg, image/x-eps, drawing/x-dwg, application/acad, application/x-zip-compressed, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, image/heic, application/pdf, application/gzipped, image/x-tiff, application/tiff, application/vnd.ms-excel, image/gif, text/x-pdf, application/dxf, application/acrobat, application/x-gzip, application/tif, image/bmp, image/webp, application/gzip, image/vnd.dwg, application/msword, image/dxf, application/vnd.ms-powerpoint, image/x-dwg, application/postscript, application/x-dwg, text/rtf, text/comma-separated-values, drawing/dwg, application/vnd.oasis.opendocument.spreadsheet, application/x-pdf, application/rtf, application/x-tiff, application/vnd.pdf, text/x-comma-separated-values, application/vnd.openxmlformats-officedocument.presentationml.presentation, text/x-csv, application/svg+xml, pplication/vnd.rar, application/x-csv, image/x-ms-bmp, drawing/x-dwf, image/jpg, image/svg+xml, application/x-rar-compressed, application/dwg, application/x-dxf, application/jpg.
13601
13474
  """
13602
13475
  file: Upload!
13603
13476
 
@@ -13673,39 +13546,6 @@ type Mutation {
13673
13546
  """
13674
13547
  updatePeriodicTaskEnabled(enabled: Boolean): PeriodicTaskEnabledUpdate @deprecated(reason: "This will be removed on November 9, 2024")
13675
13548
 
13676
- """Creates a new channel"""
13677
- channelCreate(
13678
- """Fields required to create a channel."""
13679
- input: ChannelInput
13680
- ): ChannelCreate @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
13681
-
13682
- """Updates a channel."""
13683
- channelUpdate(
13684
- """ID of a channel to update."""
13685
- id: ID!
13686
-
13687
- """Fields required to update a channel."""
13688
- input: ChannelInput!
13689
- ): ChannelUpdate @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
13690
-
13691
- """Updates an order channel"""
13692
- orderChannelUpdate(
13693
- """ID of the channel to associate with the order"""
13694
- channel: ID
13695
-
13696
- """ID of the order to update channel for"""
13697
- id: ID!
13698
- ): OrderChannelUpdate @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
13699
-
13700
- """Updates a marketplace order channel."""
13701
- nauticalOrderChannelUpdate(
13702
- """ID of the channel to associate with the marketplace order"""
13703
- channel: ID
13704
-
13705
- """ID of the marketplace order to update channel for"""
13706
- id: ID!
13707
- ): NauticalOrderChannelUpdate @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
13708
-
13709
13549
  """Updates marketplace configuration."""
13710
13550
  marketplaceConfigurationUpdate(
13711
13551
  """Fields required to update marketplace configuration."""
@@ -15189,9 +15029,6 @@ type Mutation {
15189
15029
 
15190
15030
  """Completes creating an order."""
15191
15031
  draftOrderComplete(
15192
- """ID of the channel to attach the order to"""
15193
- channel: ID @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
15194
-
15195
15032
  """ID of the order that will be completed."""
15196
15033
  id: ID!
15197
15034
 
@@ -15206,9 +15043,6 @@ type Mutation {
15206
15043
 
15207
15044
  """Completes creating an order."""
15208
15045
  nauticalDraftOrderComplete(
15209
- """ID of the channel to attach to nautical order"""
15210
- channel: ID @deprecated(reason: "This will be removed on October 29, 2024 when channel support is removed.")
15211
-
15212
15046
  """
15213
15047
  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.
15214
15048
  """
@@ -16000,7 +15834,7 @@ type Mutation {
16000
15834
  """
16001
15835
  Whether the vendor to retrieve an onboarding link for is a SELLER or an AFFILIATE
16002
15836
  """
16003
- vendorType: String!
15837
+ vendorType: String @deprecated(reason: "This will be removed on January 24, 2025.")
16004
15838
  ): VendorPayoutOnboardingLinkRequest
16005
15839
 
16006
15840
  """
@@ -16157,7 +15991,7 @@ type Mutation {
16157
15991
  checkoutId: ID!
16158
15992
 
16159
15993
  """ID of microsite that checkout was completed from"""
16160
- microsite: ID
15994
+ microsite: ID @deprecated(reason: "This will be removed on January 24, 2025.")
16161
15995
 
16162
15996
  """Client-side generated data required to finalize the payment."""
16163
15997
  paymentData: JSONString
@@ -17157,64 +16991,6 @@ type PeriodicTaskEnabledUpdate {
17157
16991
  task: WebhookPeriodicTask
17158
16992
  }
17159
16993
 
17160
- """Creates a new channel"""
17161
- type ChannelCreate {
17162
- channelErrors: [ChannelError!]!
17163
- channel: Channel
17164
- }
17165
-
17166
- type ChannelError {
17167
- """
17168
- Name of a field that caused the error. A value of `null` indicates that the error isn't associated with a particular field.
17169
- """
17170
- field: String
17171
-
17172
- """The error message."""
17173
- message: String!
17174
-
17175
- """The error code."""
17176
- code: ChannelErrorCode!
17177
- }
17178
-
17179
- """An enumeration."""
17180
- enum ChannelErrorCode {
17181
- GRAPHQL_ERROR
17182
- INVALID
17183
- NOT_FOUND
17184
- REQUIRED
17185
- UNIQUE
17186
- JWT_SIGNATURE_EXPIRED
17187
- JWT_INVALID_TOKEN
17188
- JWT_DECODE_ERROR
17189
- JWT_MISSING_TOKEN
17190
- JWT_INVALID_CSRF_TOKEN
17191
- }
17192
-
17193
- input ChannelInput {
17194
- """Name of the channel."""
17195
- channel: String
17196
- }
17197
-
17198
- """Updates a channel."""
17199
- type ChannelUpdate {
17200
- channelErrors: [ChannelError!]!
17201
- channel: Channel
17202
- }
17203
-
17204
- """Updates an order channel"""
17205
- type OrderChannelUpdate {
17206
- """Updated order instance"""
17207
- order: Order
17208
- channelErrors: [ChannelError!]!
17209
- }
17210
-
17211
- """Updates a marketplace order channel."""
17212
- type NauticalOrderChannelUpdate {
17213
- """Updated marketplace order instance"""
17214
- order: NauticalOrder
17215
- channelErrors: [ChannelError!]!
17216
- }
17217
-
17218
16994
  """Updates marketplace configuration."""
17219
16995
  type MarketplaceConfigurationUpdate {
17220
16996
  """Updated marketplace configuration."""
@@ -17405,7 +17181,7 @@ enum PayoutErrorCode {
17405
17181
 
17406
17182
  input PayoutCreateInput {
17407
17183
  """Vendor type for the payout"""
17408
- vendorType: String!
17184
+ vendorType: String @deprecated(reason: "This will be removed on January 24, 2025")
17409
17185
 
17410
17186
  """
17411
17187
  Payout end date. ISO 8601 standard. Can not be greater than current date.
@@ -21489,9 +21265,6 @@ input NauticalHistoricalOrderInput {
21489
21265
  lines: [HistoricalOrderLineInput!]
21490
21266
  seller: ID
21491
21267
 
21492
- """ID of the channel to attach the order to"""
21493
- channel: ID
21494
-
21495
21268
  """Created date time of historical order in ISO 8601 format."""
21496
21269
  created: DateTime
21497
21270
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.57.0-6-g46908da6d",
3
+ "version": "v1.57.0-8-gdfd8dff58",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {