@nautical-commerce/graphql-schema 1.74.1 → 1.74.2-10-g219f59d75

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.
@@ -163,14 +163,6 @@ type Query {
163
163
  """List of all available webhook events."""
164
164
  webhookEvents: [WebhookEvent!]!
165
165
 
166
- """
167
- Retrieve a sample payload for a given webhook event based on real data. It can be useful for some integrations where sample payload is required.
168
- """
169
- webhookSamplePayload(
170
- """Name of the requested event type."""
171
- eventType: WebhookSampleEventTypeEnum!
172
- ): JSONString @deprecated(reason: "This will be removed on February 6, 2025.")
173
-
174
166
  """List of webhook event logs."""
175
167
  webhookEventLogs(
176
168
  """Return the elements in the list that come before the specified cursor."""
@@ -1966,9 +1958,6 @@ type Query {
1966
1958
  contentType: CustomFieldTemplateEnum
1967
1959
  ): CustomFieldTemplate
1968
1960
 
1969
- """List of all apps installations"""
1970
- appsInstallations: [AppInstallation!]! @deprecated(reason: "This will be removed on March 2nd, 2025")
1971
-
1972
1961
  """List of the apps."""
1973
1962
  apps(
1974
1963
  """Filtering options for apps."""
@@ -2748,11 +2737,17 @@ type Checkout implements Node & ObjectWithMetadata {
2748
2737
  """The price of the shipping, with all the taxes included."""
2749
2738
  shippingPrice: TaxedMoney!
2750
2739
 
2751
- """The price of the checkout before shipping, with taxes included."""
2752
- subtotalPrice: TaxedMoney!
2740
+ """The price of the shipping after discount"""
2741
+ discountedShippingPrice: Money
2753
2742
 
2754
2743
  """The price of the checkout before discount, shipping and taxes"""
2755
- originalPrice: Money!
2744
+ originalPrice: Money! @deprecated(reason: "This will be removed on June 17, 2025")
2745
+
2746
+ """The price of the checkout before discount"""
2747
+ originalSubtotalPrice: Money!
2748
+
2749
+ """The price of the checkout before shipping, with taxes included."""
2750
+ subtotalPrice: TaxedMoney!
2756
2751
 
2757
2752
  """The checkout's token."""
2758
2753
  token: NauticalUUID!
@@ -2762,6 +2757,9 @@ type Checkout implements Node & ObjectWithMetadata {
2762
2757
  """
2763
2758
  totalPrice: TaxedMoney!
2764
2759
 
2760
+ """The sum of the checkout line prices, without discount"""
2761
+ originalTotalPrice: Money!
2762
+
2765
2763
  """Discount Type if voucher is applied"""
2766
2764
  discountType: VoucherTypeEnum
2767
2765
 
@@ -8133,69 +8131,6 @@ enum WishlistItemSortField {
8133
8131
  CREATED_AT
8134
8132
  }
8135
8133
 
8136
- """An enumeration."""
8137
- enum WebhookSampleEventTypeEnum {
8138
- AGREEMENT_CREATED
8139
- AGREEMENT_DELETED
8140
- AGREEMENT_UPDATED
8141
- CATEGORY_CREATED
8142
- CATEGORY_DELETED
8143
- CATEGORY_UPDATED
8144
- CHECKOUT_CREATED
8145
- CHECKOUT_UPDATED
8146
- COLLECTION_CREATED
8147
- COLLECTION_DELETED
8148
- COLLECTION_UPDATED
8149
- CUSTOMER_CREATED
8150
- CUSTOMER_UPDATED
8151
- CUSTOMER_DELETED
8152
- FULFILLMENT_CREATED
8153
- FULFILLMENT_UPDATED
8154
- INVOICE_DELETED
8155
- INVOICE_REQUESTED
8156
- INVOICE_SENT
8157
- NAUTICAL_ORDER_CANCELLED
8158
- NAUTICAL_ORDER_CREATED
8159
- NAUTICAL_ORDER_FULFILLED
8160
- NAUTICAL_ORDER_FULLY_PAID
8161
- NAUTICAL_ORDER_UPDATED
8162
- ORDER_CANCELLED
8163
- ORDER_CREATED
8164
- ORDER_FULFILLED
8165
- ORDER_FULLY_PAID
8166
- ORDER_UPDATED
8167
- PAYMENT_CREATED
8168
- PAYMENT_UPDATED
8169
- PAYOUT_CREATED
8170
- PAYOUT_UPDATED
8171
- PAYOUT_DELETED
8172
- PRICE_BOOK_CREATED
8173
- PRICE_BOOK_UPDATED
8174
- PRODUCT_CREATED
8175
- PRODUCT_DELETED
8176
- PRODUCT_UPDATED
8177
- REFUND_CREATED
8178
- REFUND_DELETED
8179
- REFUND_UPDATED
8180
- SELLER_CREATED
8181
- SELLER_UPDATED
8182
- SELLER_AGREEMENT_ACKNOWLEDGED
8183
- SELLER_AGREEMENT_DECLINED
8184
- VARIANT_CREATED
8185
- VARIANT_DELETED
8186
- VARIANT_UPDATED
8187
- STOCK_CREATED
8188
- STOCK_DELETED
8189
- STOCK_UPDATED
8190
- STOCK_ALLOCATED
8191
- STOCK_DEALLOCATED
8192
- VENDOR_PAYOUT_CREATED
8193
- VENDOR_PAYOUT_UPDATED
8194
- WAREHOUSE_CREATED
8195
- WAREHOUSE_DELETED
8196
- WAREHOUSE_UPDATED
8197
- }
8198
-
8199
8134
  type WebhookEventLogCountableConnection {
8200
8135
  """Pagination data for this connection."""
8201
8136
  pageInfo: PageInfo!
@@ -8646,9 +8581,6 @@ type Shop {
8646
8581
  """Whether the marketplace has enabled quote orders."""
8647
8582
  enableQuoteOrders: Boolean @deprecated(reason: "Quotes will be removed on June 11, 2025")
8648
8583
 
8649
- """Whether the marketplace has enabled offer orders."""
8650
- enableOfferOrders: Boolean @deprecated(reason: "This will be removed on February 20, 2025.")
8651
-
8652
8584
  """Shop's name."""
8653
8585
  name: String!
8654
8586
 
@@ -9028,6 +8960,7 @@ input SellerFilterInput {
9028
8960
  storefront: Boolean
9029
8961
  metadata: MetadataFilterInput
9030
8962
  privateMetadata: MetadataFilterInput
8963
+ isMarketplaceSeller: Boolean
9031
8964
  }
9032
8965
 
9033
8966
  enum SellerStatusFilter {
@@ -13049,27 +12982,6 @@ enum CustomFieldTemplateEnum {
13049
12982
  FULFILLMENT
13050
12983
  }
13051
12984
 
13052
- """Represents ongoing installation of app."""
13053
- type AppInstallation implements Node & Job {
13054
- appName: String!
13055
- manifestUrl: String!
13056
-
13057
- """The ID of the object"""
13058
- id: ID!
13059
-
13060
- """Job status."""
13061
- status: JobStatusEnum!
13062
-
13063
- """Created date time of job in ISO 8601 format."""
13064
- createdAt: DateTime!
13065
-
13066
- """Date time of job last update in ISO 8601 format."""
13067
- updatedAt: DateTime!
13068
-
13069
- """Job message."""
13070
- message: String
13071
- }
13072
-
13073
12985
  type AppCountableConnection {
13074
12986
  """Pagination data for this connection."""
13075
12987
  pageInfo: PageInfo!
@@ -13259,7 +13171,7 @@ type Mutation {
13259
13171
  description: String
13260
13172
 
13261
13173
  """
13262
- 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/x-rar, application/x-pdf, application/x-autocad, application/pdf, image/heif, application/gzip-compressed, application/x-zip-compressed, text/csv, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/dxf, text/svg, application/excel, image/x-bmp, image/vnd.dwg, image/jpeg, application/gzip, image/tiff, application/vnd.ms-powerpoint, application/gzipped, text/x-comma-separated-values, image/x-eps, image/jpg, application/x-jpg, application/vnd.openxmlformats-officedocument.presentationml.presentation, text/x-csv, application/vnd.oasis.opendocument.spreadsheet, text/plain, application/x-eps, application/vnd.pdf, image/x-dxf, image/heic-sequence, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/rtf, application/vnd.openxmlformats-officedocument.wordprocessingml.document, text/comma-separated-values, application/svg+xml, application/tiff, drawing/dwg, drawing/x-dwg, image/png, application/x-csv, application/vnd.oasis.opendocument.text, pplication/vnd.rar, text/pdf, application/vnd.oasis.opendocument.presentation, application/x-acad, image/x-tiff, application/eps, application/zip, application/x-rar-compressed, application/acrobat, image/x-dwg, application/csv, application/vnd.ms-word, application/msword, text/x-pdf, application/acad, image/eps, image/heif-sequence, image/x-ms-bmp, application/vnd.ms-excel, text/svg-xml, image/gif, text/rtf, application/x-dxf, application/x-dwg, image/heic, application/tif, application/x-tiff, application/x-tif, image/bmp, image/svg, image/x-tif, application/x-tar, image/webp, application/postscript, application/x-rtf, image/svg+xml, image/tif, application/x-gzip, application/jpg, drawing/x-dwf, image/dxf.
13174
+ 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.openxmlformats-officedocument.spreadsheetml.sheet, application/x-rar-compressed, image/x-bmp, application/dxf, text/x-csv, application/x-jpg, text/csv, application/dwg, image/bmp, application/postscript, image/heic-sequence, image/jpg, application/msword, drawing/x-dwg, application/x-dxf, application/x-autocad, image/gif, application/vnd.ms-word, image/x-eps, image/heif, image/heic, application/vnd.oasis.opendocument.text, image/x-dxf, image/svg, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/heif-sequence, application/x-rar, application/x-tiff, image/svg+xml, application/vnd.oasis.opendocument.spreadsheet, application/vnd.ms-powerpoint, application/tif, application/acad, application/x-dwg, text/pdf, image/tiff, application/zip, application/x-gzip, image/x-tif, application/gzip-compressed, image/jpeg, application/x-rtf, image/tif, application/gzip, application/gzipped, application/x-csv, application/eps, application/pdf, image/vnd.dwg, text/svg, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/x-zip-compressed, text/plain, image/dxf, application/x-tar, text/x-comma-separated-values, image/png, text/x-pdf, text/rtf, application/svg+xml, application/x-pdf, image/x-dwg, image/eps, application/vnd.oasis.opendocument.presentation, image/x-ms-bmp, application/csv, application/tiff, application/rtf, pplication/vnd.rar, application/vnd.pdf, application/vnd.ms-excel, image/webp, drawing/dwg, image/x-tiff, drawing/x-dwf, application/vnd.openxmlformats-officedocument.presentationml.slideshow, text/svg-xml, application/excel, text/comma-separated-values, application/x-acad, application/jpg, application/x-tif, application/acrobat, application/x-eps.
13263
13175
  """
13264
13176
  file: Upload!
13265
13177
 
@@ -16071,30 +15983,6 @@ type Mutation {
16071
15983
  id: ID!
16072
15984
  ): AppStorefrontIntegrationDelete
16073
15985
 
16074
- """Install new app by using app manifest."""
16075
- appInstall(
16076
- """Fields required to install a new app."""
16077
- input: AppInstallInput!
16078
- ): AppInstall @deprecated(reason: "This will be removed on March 2nd, 2025")
16079
-
16080
- """Retry failed installation of new app."""
16081
- appRetryInstall(
16082
- """Determine if app will be set active or not."""
16083
- activateAfterInstallation: Boolean = true
16084
-
16085
- """ID of failed installation."""
16086
- id: ID!
16087
- ): AppRetryInstall @deprecated(reason: "This will be removed on March 2nd, 2025")
16088
-
16089
- """Delete failed installation."""
16090
- appDeleteFailedInstallation(
16091
- """ID of failed installation to delete."""
16092
- id: ID!
16093
- ): AppDeleteFailedInstallation @deprecated(reason: "This will be removed on March 2nd, 2025")
16094
-
16095
- """Fetch and validate manifest."""
16096
- appFetchManifest(manifestUrl: String!): AppFetchManifest @deprecated(reason: "This will be removed on March 2nd, 2025")
16097
-
16098
15986
  """Activate the app."""
16099
15987
  appActivate(
16100
15988
  """ID of app to activate."""
@@ -23193,60 +23081,6 @@ type AppStorefrontIntegrationDelete {
23193
23081
  appStorefrontIntegration: AppStorefrontIntegration
23194
23082
  }
23195
23083
 
23196
- """Install new app by using app manifest."""
23197
- type AppInstall {
23198
- appErrors: [AppError!]!
23199
- appInstallation: AppInstallation
23200
- }
23201
-
23202
- input AppInstallInput {
23203
- """Name of the app to install."""
23204
- appName: String
23205
-
23206
- """Url to app's manifest in JSON format."""
23207
- manifestUrl: String
23208
-
23209
- """Determine if app will be set active or not."""
23210
- activateAfterInstallation: Boolean = true
23211
-
23212
- """List of permission code names to assign to this app."""
23213
- permissions: [PermissionEnum!]
23214
- }
23215
-
23216
- """Retry failed installation of new app."""
23217
- type AppRetryInstall {
23218
- appErrors: [AppError!]!
23219
- appInstallation: AppInstallation
23220
- }
23221
-
23222
- """Delete failed installation."""
23223
- type AppDeleteFailedInstallation {
23224
- appErrors: [AppError!]!
23225
- appInstallation: AppInstallation
23226
- }
23227
-
23228
- """Fetch and validate manifest."""
23229
- type AppFetchManifest {
23230
- manifest: Manifest
23231
- appErrors: [AppError!]!
23232
- }
23233
-
23234
- """The manifest definition."""
23235
- type Manifest {
23236
- identifier: String!
23237
- version: String!
23238
- name: String!
23239
- about: String
23240
- permissions: [Permission!]
23241
- appUrl: String
23242
- configurationUrl: String
23243
- tokenTargetUrl: String
23244
- dataPrivacy: String
23245
- dataPrivacyUrl: String
23246
- homepageUrl: String
23247
- supportUrl: String
23248
- }
23249
-
23250
23084
  """Activate the app."""
23251
23085
  type AppActivate {
23252
23086
  appErrors: [AppError!]!
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.74.1",
3
+ "version": "v1.74.2-10-g219f59d75",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {