@nautical-commerce/graphql-schema 1.58.5 → 1.59.0-10-g6501f84b8

Sign up to get free protection for your applications and to get access to all the features.
@@ -28,6 +28,9 @@ type Query {
28
28
  """Filtering options for email templates."""
29
29
  filter: EmailTemplateFilterInput
30
30
 
31
+ """Sort email templates."""
32
+ sortBy: EmailTemplateSortingInput
33
+
31
34
  """Return the elements in the list that come before the specified cursor."""
32
35
  before: String
33
36
 
@@ -80,7 +83,7 @@ type Query {
80
83
  webhookSamplePayload(
81
84
  """Name of the requested event type."""
82
85
  eventType: WebhookSampleEventTypeEnum!
83
- ): JSONString
86
+ ): JSONString @deprecated(reason: "This will be removed on February 6, 2025.")
84
87
 
85
88
  """List of webhook event logs."""
86
89
  webhookEventLogs(
@@ -120,10 +123,6 @@ type Query {
120
123
  """Return the last n elements from the list."""
121
124
  last: Int
122
125
  ): WebhookJobCountableConnection
123
- periodicTask(
124
- """Name of the periodic task to retrieve"""
125
- name: String!
126
- ): WebhookPeriodicTask @deprecated(reason: "This will be removed on November 9, 2024")
127
126
 
128
127
  """Look up a warehouse by ID."""
129
128
  warehouse(
@@ -2224,6 +2223,33 @@ input EmailTemplateFilterInput {
2224
2223
  eventType: EventTypeEnum
2225
2224
  }
2226
2225
 
2226
+ input EmailTemplateSortingInput {
2227
+ """Specifies the direction in which to sort products."""
2228
+ direction: OrderDirection!
2229
+
2230
+ """Sort email templates by the selected field."""
2231
+ field: EmailTemplateSortField!
2232
+ }
2233
+
2234
+ enum OrderDirection {
2235
+ """Specifies an ascending sort order."""
2236
+ ASC
2237
+
2238
+ """Specifies a descending sort order."""
2239
+ DESC
2240
+ }
2241
+
2242
+ enum EmailTemplateSortField {
2243
+ """Sort email template by title."""
2244
+ TITLE
2245
+
2246
+ """Sort email template by subject."""
2247
+ SUBJECT
2248
+
2249
+ """Sort email template by recipient type."""
2250
+ RECIPIENT_TYPE
2251
+ }
2252
+
2227
2253
  type WishlistItemCountableConnection {
2228
2254
  """Pagination data for this connection."""
2229
2255
  pageInfo: PageInfo!
@@ -3764,11 +3790,6 @@ type Order implements Node & ObjectWithMetadata {
3764
3790
  """List of order lines."""
3765
3791
  lines: [OrderLine!]!
3766
3792
 
3767
- """
3768
- List of actions that can be performed in the current state of an order.
3769
- """
3770
- actions: [OrderAction!]! @deprecated(reason: "This field should not be used as Orders will be changed to have no actions.All actions should be performed against the NauticalOrder. This will be removed on November 1, 2024.")
3771
-
3772
3793
  """
3773
3794
  List of sub-statuses that can be changed to based on current state of the order
3774
3795
  """
@@ -4389,14 +4410,6 @@ input ProductOrder {
4389
4410
  field: ProductOrderField
4390
4411
  }
4391
4412
 
4392
- enum OrderDirection {
4393
- """Specifies an ascending sort order."""
4394
- ASC
4395
-
4396
- """Specifies a descending sort order."""
4397
- DESC
4398
- }
4399
-
4400
4413
  enum ProductOrderField {
4401
4414
  """Sort products by name."""
4402
4415
  NAME
@@ -5827,9 +5840,6 @@ type OrderLine implements Node & ObjectWithMetadata {
5827
5840
  """The pricebook, if any, that changed the price of this line."""
5828
5841
  priceBook: PriceBook
5829
5842
 
5830
- """DEPRECATED: The number of items ordered on this order line."""
5831
- quantity: Int! @deprecated(reason: "Use the more explicit quantityOrdered instead. This will be removed on November 1, 2024")
5832
-
5833
5843
  """The number of items ordered on this order line."""
5834
5844
  quantityOrdered: Int!
5835
5845
 
@@ -5932,9 +5942,6 @@ type NauticalOrderLine implements Node & ObjectWithMetadata {
5932
5942
  """The related orderline attached to the connected seller order"""
5933
5943
  sellerOrderline: OrderLine
5934
5944
 
5935
- """The number of items ordered on this order line"""
5936
- quantity: Int! @deprecated(reason: "Use the more explicit quantityOrdered instead. This will be removed on November 1, 2024.")
5937
-
5938
5945
  """The number of items ordered on this order line"""
5939
5946
  quantityOrdered: Int!
5940
5947
 
@@ -6808,11 +6815,6 @@ type RefundLine implements Node {
6808
6815
  """
6809
6816
  percentage: Float!
6810
6817
 
6811
- """
6812
- If configured as a quantity based refund, this is the number of units refunded.
6813
- """
6814
- quantity: Int! @deprecated(reason: "This value was split into quantityFulfilled and quantityUnfulfilled and will be removed on November 1, 2024")
6815
-
6816
6818
  """
6817
6819
  If configured as a quantity based refund, this is the number of fulfilled units refunded.
6818
6820
  """
@@ -8040,7 +8042,7 @@ input CustomerOrderFilterInput {
8040
8042
  search: String
8041
8043
  source: [OrderSourceFilter!]
8042
8044
  isHistorical: Boolean
8043
- subStatus: [OfferOrderSubStatusFilter!]
8045
+ subStatus: [OfferOrderSubStatusFilter!] @deprecated(reason: "This will be removed on Feb 1, 2025")
8044
8046
  payoutStatus: [OrderPayoutStatusEnum!]
8045
8047
  vendorPayouts: [ID]
8046
8048
  payouts: [ID]
@@ -8145,7 +8147,7 @@ input CustomerNauticalOrderFilterInput {
8145
8147
  search: String
8146
8148
  source: [OrderSourceFilter!]
8147
8149
  isHistorical: Boolean
8148
- subStatus: [OfferOrderSubStatusFilter!]
8150
+ subStatus: [OfferOrderSubStatusFilter!] @deprecated(reason: "This will be removed on Feb 1, 2025")
8149
8151
  }
8150
8152
 
8151
8153
  type UserPermission {
@@ -8565,76 +8567,6 @@ enum WebhookJobSortField {
8565
8567
  CREATED_AT
8566
8568
  }
8567
8569
 
8568
- """Represents a periodic task run by django celery beat"""
8569
- type WebhookPeriodicTask implements Node {
8570
- """The ID of the object"""
8571
- id: ID!
8572
-
8573
- """Short Description For This Task"""
8574
- name: String!
8575
-
8576
- """
8577
- The Name of the Celery Task that Should be Run. (Example: "proj.tasks.import_contacts")
8578
- """
8579
- task: String!
8580
-
8581
- """JSON encoded positional arguments (Example: ["arg1", "arg2"])"""
8582
- args: String!
8583
-
8584
- """JSON encoded keyword arguments (Example: {"argument": "value"})"""
8585
- kwargs: String!
8586
-
8587
- """Queue defined in CELERY_TASK_QUEUES. Leave None for default queuing."""
8588
- queue: String
8589
-
8590
- """Override Exchange for low-level AMQP routing"""
8591
- exchange: String
8592
-
8593
- """Override Routing Key for low-level AMQP routing"""
8594
- routingKey: String
8595
-
8596
- """JSON encoded message headers for the AMQP message."""
8597
- headers: String!
8598
-
8599
- """
8600
- Priority Number between 0 and 255. Supported by: RabbitMQ, Redis (priority reversed, 0 is highest).
8601
- """
8602
- priority: Int
8603
-
8604
- """
8605
- Datetime after which the schedule will no longer trigger the task to run
8606
- """
8607
- expires: DateTime
8608
-
8609
- """
8610
- Timedelta with seconds which the schedule will no longer trigger the task to run
8611
- """
8612
- expireSeconds: Int
8613
-
8614
- """If True, the schedule will only run the task a single time"""
8615
- oneOff: Boolean!
8616
-
8617
- """Datetime when the schedule should begin triggering the task to run"""
8618
- startTime: DateTime
8619
-
8620
- """Set to False to disable the schedule"""
8621
- enabled: Boolean!
8622
-
8623
- """
8624
- Datetime that the schedule last triggered the task to run. Reset to None if enabled is set to False.
8625
- """
8626
- lastRunAt: DateTime
8627
-
8628
- """Running count of how many times the schedule has triggered the task"""
8629
- totalRunCount: Int!
8630
-
8631
- """Datetime that this PeriodicTask was last modified"""
8632
- dateChanged: DateTime!
8633
-
8634
- """Detailed description about the details of this Periodic Task"""
8635
- description: String!
8636
- }
8637
-
8638
8570
  input WarehouseFilterInput {
8639
8571
  seller: ID
8640
8572
  search: String
@@ -8846,12 +8778,6 @@ type Shop {
8846
8778
  languageCode: LanguageCodeEnum
8847
8779
  ): [CountryDisplay!]!
8848
8780
 
8849
- """List of available currencies."""
8850
- currencies: [String!]! @deprecated(reason: "This field will be removed on November 1, 2024.")
8851
-
8852
- """Shop's default currency."""
8853
- defaultCurrency: String! @deprecated(reason: "This field will be removed on November 1, 2024.")
8854
-
8855
8781
  """List of supported currencies."""
8856
8782
  supportedCurrencies: [NauticalCurrency!]!
8857
8783
 
@@ -10854,7 +10780,7 @@ input OrderFilterInput {
10854
10780
  search: String
10855
10781
  source: [OrderSourceFilter!]
10856
10782
  isHistorical: Boolean
10857
- subStatus: [OfferOrderSubStatusFilter!]
10783
+ subStatus: [OfferOrderSubStatusFilter!] @deprecated(reason: "This will be removed on Feb 1, 2025")
10858
10784
  payoutStatus: [OrderPayoutStatusEnum!]
10859
10785
  vendorPayouts: [ID]
10860
10786
  payouts: [ID]
@@ -10871,7 +10797,7 @@ input NauticalOrderFilterInput {
10871
10797
  search: String
10872
10798
  source: [OrderSourceFilter!]
10873
10799
  isHistorical: Boolean
10874
- subStatus: [OfferOrderSubStatusFilter!]
10800
+ subStatus: [OfferOrderSubStatusFilter!] @deprecated(reason: "This will be removed on Feb 1, 2025")
10875
10801
  }
10876
10802
 
10877
10803
  input OrderDraftFilterInput {
@@ -10883,7 +10809,7 @@ input OrderDraftFilterInput {
10883
10809
  search: String
10884
10810
  isHistorical: Boolean
10885
10811
  source: [OrderSourceFilter!]
10886
- subStatus: [OfferOrderSubStatusFilter!]
10812
+ subStatus: [OfferOrderSubStatusFilter!] @deprecated(reason: "This will be removed on Feb 1, 2025")
10887
10813
  }
10888
10814
 
10889
10815
  input NauticalOrderDraftFilterInput {
@@ -10895,7 +10821,7 @@ input NauticalOrderDraftFilterInput {
10895
10821
  search: String
10896
10822
  isHistorical: Boolean
10897
10823
  source: [OrderSourceFilter!]
10898
- subStatus: [OfferOrderSubStatusFilter!]
10824
+ subStatus: [OfferOrderSubStatusFilter!] @deprecated(reason: "This will be removed on Feb 1, 2025")
10899
10825
  }
10900
10826
 
10901
10827
  input NauticalOrderQuoteFilterInput {
@@ -11256,11 +11182,6 @@ type MarketplaceConfiguration {
11256
11182
  customerSetPasswordUrl: String
11257
11183
  includeTaxesInPrices: Boolean!
11258
11184
  chargeTaxesOnShipping: Boolean!
11259
-
11260
- """
11261
- Deprecated: This field will always be overridden as True and will be removed on Nov 1, 2024.
11262
- """
11263
- isSellerShippingZoneCreationAllowed: Boolean @deprecated(reason: "This field will always be overridden as True and will be removed on November 1, 2024.")
11264
11185
  }
11265
11186
 
11266
11187
  enum MarketplaceConfigurationPayoutAutomationStrategyEnum {
@@ -13479,7 +13400,7 @@ type Mutation {
13479
13400
  description: String
13480
13401
 
13481
13402
  """
13482
- 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-tif, application/x-eps, application/x-dwg, application/vnd.oasis.opendocument.spreadsheet, application/zip, drawing/x-dwg, application/x-acad, application/x-dxf, text/csv, application/dwg, image/webp, image/x-tiff, image/jpg, application/x-rtf, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.pdf, image/svg, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/x-rar-compressed, application/jpg, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/x-csv, image/x-eps, image/svg+xml, application/gzip, image/heic-sequence, application/excel, application/postscript, application/csv, image/vnd.dwg, drawing/dwg, application/msword, application/vnd.oasis.opendocument.presentation, pplication/vnd.rar, application/gzipped, image/bmp, application/x-tiff, image/gif, text/svg, application/vnd.oasis.opendocument.text, image/jpeg, image/x-dxf, image/x-dwg, image/tif, application/vnd.openxmlformats-officedocument.presentationml.slideshow, text/rtf, image/tiff, application/tiff, application/rtf, application/x-gzip, application/x-jpg, image/heic, application/acrobat, application/gzip-compressed, text/x-comma-separated-values, image/png, text/comma-separated-values, text/pdf, application/dxf, drawing/x-dwf, application/vnd.ms-excel, application/x-zip-compressed, text/x-csv, image/dxf, text/plain, application/vnd.ms-word, application/x-autocad, application/x-tar, application/eps, application/acad, image/heif-sequence, application/svg+xml, text/x-pdf, application/x-pdf, image/heif, image/x-ms-bmp, image/x-tif, application/tif, text/svg-xml, application/pdf, image/x-bmp, application/vnd.ms-powerpoint, application/x-rar, image/eps.
13403
+ Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/vnd.ms-word, image/vnd.dwg, text/csv, application/excel, image/heif-sequence, pplication/vnd.rar, application/x-dxf, application/vnd.oasis.opendocument.presentation, text/plain, application/vnd.pdf, text/svg-xml, application/csv, application/jpg, application/vnd.ms-powerpoint, application/x-rar, image/x-bmp, application/dxf, application/x-eps, application/rtf, text/svg, text/x-csv, drawing/dwg, application/x-rtf, text/comma-separated-values, application/x-dwg, text/rtf, application/dwg, application/tiff, image/heic, image/dxf, application/pdf, text/x-pdf, application/acrobat, image/heif, image/heic-sequence, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/acad, application/vnd.ms-excel, text/pdf, image/x-tif, application/x-pdf, image/webp, image/jpeg, application/gzip, application/x-csv, application/msword, image/svg, image/bmp, image/x-eps, image/eps, application/x-acad, application/x-autocad, application/gzipped, image/jpg, application/eps, application/x-rar-compressed, image/x-dxf, application/x-jpg, application/tif, image/tif, application/vnd.oasis.opendocument.text, image/png, application/x-zip-compressed, image/tiff, drawing/x-dwf, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/x-tif, image/svg+xml, application/vnd.oasis.opendocument.spreadsheet, application/x-tiff, application/x-tar, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/gif, application/x-gzip, image/x-tiff, application/vnd.openxmlformats-officedocument.presentationml.presentation, text/x-comma-separated-values, image/x-ms-bmp, application/svg+xml, image/x-dwg, application/postscript, application/zip, application/gzip-compressed, drawing/x-dwg.
13483
13404
  """
13484
13405
  file: Upload!
13485
13406
 
@@ -13550,11 +13471,6 @@ type Mutation {
13550
13471
  """Updates nautical configuration."""
13551
13472
  nauticalConfigurationUpdate(input: [NauticalConfigurationInputItem!]): NauticalConfigurationUpdate
13552
13473
 
13553
- """
13554
- Update whether process_pending_webhook_transactions periodic django celery beat task is enabled
13555
- """
13556
- updatePeriodicTaskEnabled(enabled: Boolean): PeriodicTaskEnabledUpdate @deprecated(reason: "This will be removed on November 9, 2024")
13557
-
13558
13474
  """Updates marketplace configuration."""
13559
13475
  marketplaceConfigurationUpdate(
13560
13476
  """Fields required to update marketplace configuration."""
@@ -16992,14 +16908,6 @@ input NauticalConfigurationInputItem {
16992
16908
  configurationValueString: String
16993
16909
  }
16994
16910
 
16995
- """
16996
- Update whether process_pending_webhook_transactions periodic django celery beat task is enabled
16997
- """
16998
- type PeriodicTaskEnabledUpdate {
16999
- """An updated periodic task instance"""
17000
- task: WebhookPeriodicTask
17001
- }
17002
-
17003
16911
  """Updates marketplace configuration."""
17004
16912
  type MarketplaceConfigurationUpdate {
17005
16913
  """Updated marketplace configuration."""
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.58.5",
3
+ "version": "v1.59.0-10-g6501f84b8",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {