@nautical-commerce/graphql-schema 1.74.2-18-gdc6cca5d2 → 1.74.2-3-g1eb2f7b6f

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.
@@ -1958,6 +1958,9 @@ type Query {
1958
1958
  contentType: CustomFieldTemplateEnum
1959
1959
  ): CustomFieldTemplate
1960
1960
 
1961
+ """List of all apps installations"""
1962
+ appsInstallations: [AppInstallation!]! @deprecated(reason: "This will be removed on March 2nd, 2025")
1963
+
1961
1964
  """List of the apps."""
1962
1965
  apps(
1963
1966
  """Filtering options for apps."""
@@ -2737,18 +2740,12 @@ type Checkout implements Node & ObjectWithMetadata {
2737
2740
  """The price of the shipping, with all the taxes included."""
2738
2741
  shippingPrice: TaxedMoney!
2739
2742
 
2740
- """The price of the shipping after discount"""
2741
- discountedShippingPrice: Money
2742
-
2743
- """The price of the checkout before discount, shipping and taxes"""
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
2743
  """The price of the checkout before shipping, with taxes included."""
2750
2744
  subtotalPrice: TaxedMoney!
2751
2745
 
2746
+ """The price of the checkout before discount, shipping and taxes"""
2747
+ originalPrice: Money!
2748
+
2752
2749
  """The checkout's token."""
2753
2750
  token: NauticalUUID!
2754
2751
 
@@ -2757,9 +2754,6 @@ type Checkout implements Node & ObjectWithMetadata {
2757
2754
  """
2758
2755
  totalPrice: TaxedMoney!
2759
2756
 
2760
- """The sum of the checkout line prices, without discount"""
2761
- originalTotalPrice: Money!
2762
-
2763
2757
  """Discount Type if voucher is applied"""
2764
2758
  discountType: VoucherTypeEnum
2765
2759
 
@@ -8960,7 +8954,6 @@ input SellerFilterInput {
8960
8954
  storefront: Boolean
8961
8955
  metadata: MetadataFilterInput
8962
8956
  privateMetadata: MetadataFilterInput
8963
- isMarketplaceSeller: Boolean
8964
8957
  }
8965
8958
 
8966
8959
  enum SellerStatusFilter {
@@ -12982,6 +12975,27 @@ enum CustomFieldTemplateEnum {
12982
12975
  FULFILLMENT
12983
12976
  }
12984
12977
 
12978
+ """Represents ongoing installation of app."""
12979
+ type AppInstallation implements Node & Job {
12980
+ appName: String!
12981
+ manifestUrl: String!
12982
+
12983
+ """The ID of the object"""
12984
+ id: ID!
12985
+
12986
+ """Job status."""
12987
+ status: JobStatusEnum!
12988
+
12989
+ """Created date time of job in ISO 8601 format."""
12990
+ createdAt: DateTime!
12991
+
12992
+ """Date time of job last update in ISO 8601 format."""
12993
+ updatedAt: DateTime!
12994
+
12995
+ """Job message."""
12996
+ message: String
12997
+ }
12998
+
12985
12999
  type AppCountableConnection {
12986
13000
  """Pagination data for this connection."""
12987
13001
  pageInfo: PageInfo!
@@ -13171,7 +13185,7 @@ type Mutation {
13171
13185
  description: String
13172
13186
 
13173
13187
  """
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/x-rtf, application/x-tar, text/rtf, image/jpeg, application/gzipped, image/svg, application/jpg, image/x-eps, application/eps, application/vnd.oasis.opendocument.presentation, image/gif, application/x-dxf, text/svg-xml, text/plain, application/msword, application/gzip, application/x-zip-compressed, text/x-comma-separated-values, image/jpg, application/vnd.ms-excel, image/heic-sequence, application/vnd.openxmlformats-officedocument.wordprocessingml.document, drawing/x-dwg, application/acad, application/svg+xml, application/x-dwg, text/csv, application/tiff, application/x-acad, pplication/vnd.rar, image/heic, image/x-dwg, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/acrobat, application/zip, application/vnd.pdf, application/dxf, image/tif, application/gzip-compressed, application/x-pdf, application/tif, application/csv, application/excel, image/vnd.dwg, application/x-csv, drawing/x-dwf, application/x-eps, image/png, image/dxf, text/x-pdf, image/x-tiff, text/comma-separated-values, image/webp, application/x-rar, drawing/dwg, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/vnd.oasis.opendocument.text, image/eps, image/x-dxf, image/x-ms-bmp, application/rtf, text/pdf, application/x-tif, application/x-jpg, image/x-bmp, image/bmp, application/x-tiff, image/svg+xml, image/heif, image/x-tif, application/x-autocad, application/postscript, application/vnd.ms-word, application/vnd.ms-powerpoint, application/vnd.oasis.opendocument.spreadsheet, image/heif-sequence, text/svg, text/x-csv, application/x-rar-compressed, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/x-gzip, image/tiff, application/dwg, application/pdf.
13188
+ 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/x-jpg, drawing/dwg, image/heic-sequence, text/svg, application/eps, text/csv, pplication/vnd.rar, image/tiff, application/postscript, application/tif, application/vnd.ms-powerpoint, image/heif, drawing/x-dwg, drawing/x-dwf, application/gzip, application/vnd.oasis.opendocument.text, application/vnd.ms-word, application/jpg, application/vnd.oasis.opendocument.spreadsheet, application/x-autocad, text/x-csv, text/comma-separated-values, image/svg, application/x-rtf, image/dxf, image/x-tiff, application/pdf, application/dwg, image/x-dxf, image/heic, application/msword, application/vnd.ms-excel, application/tiff, application/x-dxf, application/zip, application/x-tar, application/svg+xml, image/png, text/plain, application/gzipped, image/x-ms-bmp, image/webp, application/gzip-compressed, application/x-pdf, application/excel, image/eps, image/x-dwg, application/csv, application/rtf, application/acad, image/x-eps, image/x-bmp, image/tif, image/heif-sequence, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/x-acad, application/x-tiff, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/dxf, application/x-rar-compressed, text/svg-xml, text/x-comma-separated-values, application/x-rar, text/pdf, application/vnd.pdf, application/x-tif, image/jpeg, image/gif, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/vnd.oasis.opendocument.presentation, image/jpg, application/x-gzip, text/rtf, application/x-csv, application/x-eps, image/svg+xml, application/acrobat, image/x-tif, text/x-pdf, image/vnd.dwg, image/bmp, application/x-dwg.
13175
13189
  """
13176
13190
  file: Upload!
13177
13191
 
@@ -15135,19 +15149,6 @@ type Mutation {
15135
15149
  storefrontUrl: String!
15136
15150
  ): NauticalQuoteOrderSendToCustomer @deprecated(reason: "The ability to send Order IDs will be removed on February 26, 2025. This will be removed on June 11, 2025.")
15137
15151
 
15138
- """Sends a quote order to a customer."""
15139
- nauticalDraftOrderSendToCustomer(
15140
- """
15141
- ID of the order (nautical or seller order, with Quote status) to send to the customer.
15142
- """
15143
- id: ID!
15144
-
15145
- """
15146
- URL to send customer to for quote confirmation. Whatever URL is sent will have `token` added to the search parameters of the URL, e.g. if you send http://localhost/quote, the generated URL will be http://localhost/quote?token=...
15147
- """
15148
- storefrontUrl: String!
15149
- ): NauticalQuoteOrderSendToCustomer
15150
-
15151
15152
  """Creates a new order fee."""
15152
15153
  orderFeeCreate(
15153
15154
  """Fields required to create a new order fee."""
@@ -15996,6 +15997,30 @@ type Mutation {
15996
15997
  id: ID!
15997
15998
  ): AppStorefrontIntegrationDelete
15998
15999
 
16000
+ """Install new app by using app manifest."""
16001
+ appInstall(
16002
+ """Fields required to install a new app."""
16003
+ input: AppInstallInput!
16004
+ ): AppInstall @deprecated(reason: "This will be removed on March 2nd, 2025")
16005
+
16006
+ """Retry failed installation of new app."""
16007
+ appRetryInstall(
16008
+ """Determine if app will be set active or not."""
16009
+ activateAfterInstallation: Boolean = true
16010
+
16011
+ """ID of failed installation."""
16012
+ id: ID!
16013
+ ): AppRetryInstall @deprecated(reason: "This will be removed on March 2nd, 2025")
16014
+
16015
+ """Delete failed installation."""
16016
+ appDeleteFailedInstallation(
16017
+ """ID of failed installation to delete."""
16018
+ id: ID!
16019
+ ): AppDeleteFailedInstallation @deprecated(reason: "This will be removed on March 2nd, 2025")
16020
+
16021
+ """Fetch and validate manifest."""
16022
+ appFetchManifest(manifestUrl: String!): AppFetchManifest @deprecated(reason: "This will be removed on March 2nd, 2025")
16023
+
15999
16024
  """Activate the app."""
16000
16025
  appActivate(
16001
16026
  """ID of app to activate."""
@@ -23094,6 +23119,60 @@ type AppStorefrontIntegrationDelete {
23094
23119
  appStorefrontIntegration: AppStorefrontIntegration
23095
23120
  }
23096
23121
 
23122
+ """Install new app by using app manifest."""
23123
+ type AppInstall {
23124
+ appErrors: [AppError!]!
23125
+ appInstallation: AppInstallation
23126
+ }
23127
+
23128
+ input AppInstallInput {
23129
+ """Name of the app to install."""
23130
+ appName: String
23131
+
23132
+ """Url to app's manifest in JSON format."""
23133
+ manifestUrl: String
23134
+
23135
+ """Determine if app will be set active or not."""
23136
+ activateAfterInstallation: Boolean = true
23137
+
23138
+ """List of permission code names to assign to this app."""
23139
+ permissions: [PermissionEnum!]
23140
+ }
23141
+
23142
+ """Retry failed installation of new app."""
23143
+ type AppRetryInstall {
23144
+ appErrors: [AppError!]!
23145
+ appInstallation: AppInstallation
23146
+ }
23147
+
23148
+ """Delete failed installation."""
23149
+ type AppDeleteFailedInstallation {
23150
+ appErrors: [AppError!]!
23151
+ appInstallation: AppInstallation
23152
+ }
23153
+
23154
+ """Fetch and validate manifest."""
23155
+ type AppFetchManifest {
23156
+ manifest: Manifest
23157
+ appErrors: [AppError!]!
23158
+ }
23159
+
23160
+ """The manifest definition."""
23161
+ type Manifest {
23162
+ identifier: String!
23163
+ version: String!
23164
+ name: String!
23165
+ about: String
23166
+ permissions: [Permission!]
23167
+ appUrl: String
23168
+ configurationUrl: String
23169
+ tokenTargetUrl: String
23170
+ dataPrivacy: String
23171
+ dataPrivacyUrl: String
23172
+ homepageUrl: String
23173
+ supportUrl: String
23174
+ }
23175
+
23097
23176
  """Activate the app."""
23098
23177
  type AppActivate {
23099
23178
  appErrors: [AppError!]!
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.74.2-18-gdc6cca5d2",
3
+ "version": "v1.74.2-3-g1eb2f7b6f",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {