@nautical-commerce/graphql-schema 1.66.0-8-g8e537c785 → 1.66.0-9-gb2c792c73
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.
- package/nautical/schema.graphql +72 -1
- package/package.json +1 -1
package/nautical/schema.graphql
CHANGED
@@ -1969,6 +1969,14 @@ type Query {
|
|
1969
1969
|
id: ID!
|
1970
1970
|
): App
|
1971
1971
|
|
1972
|
+
"""Dashboard integrations for the given contexts"""
|
1973
|
+
dashboardUiIntegrations(
|
1974
|
+
"""
|
1975
|
+
Contexts that integrations should be filtered to. If not specified, all contexts will be returned.
|
1976
|
+
"""
|
1977
|
+
contexts: [AppDashboardIntegrationContextEnum!]
|
1978
|
+
): [AppDashboardIntegration!]!
|
1979
|
+
|
1972
1980
|
"""Look up a marketplace agreement by ID or slug."""
|
1973
1981
|
agreement(
|
1974
1982
|
"""ID of the marketplace agreement."""
|
@@ -4695,6 +4703,9 @@ type App implements Node & ObjectWithMetadata {
|
|
4695
4703
|
"""Type of the app."""
|
4696
4704
|
type: AppTypeEnum
|
4697
4705
|
|
4706
|
+
"""List of dashboard integrations for this app"""
|
4707
|
+
dashboardIntegrations: [AppDashboardIntegration!]
|
4708
|
+
|
4698
4709
|
"""List of storefront integrations for this app"""
|
4699
4710
|
storefrontIntegrations: [AppStorefrontIntegration!]
|
4700
4711
|
|
@@ -4791,6 +4802,31 @@ enum AppTypeEnum {
|
|
4791
4802
|
THIRDPARTY
|
4792
4803
|
}
|
4793
4804
|
|
4805
|
+
"""Represents a dashboard integration for an App."""
|
4806
|
+
type AppDashboardIntegration implements Node {
|
4807
|
+
"""The ID of the object"""
|
4808
|
+
id: ID!
|
4809
|
+
|
4810
|
+
"""
|
4811
|
+
App this integration is for. This may be null for integrations that come from plugins.
|
4812
|
+
"""
|
4813
|
+
app: App
|
4814
|
+
|
4815
|
+
"""What context this integration should be rendered in"""
|
4816
|
+
context: AppDashboardIntegrationContextEnum!
|
4817
|
+
|
4818
|
+
"""The URL to load for this integration"""
|
4819
|
+
iframeUrl: String!
|
4820
|
+
}
|
4821
|
+
|
4822
|
+
enum AppDashboardIntegrationContextEnum {
|
4823
|
+
"""Nautical order details page"""
|
4824
|
+
NAUTICAL_ORDER
|
4825
|
+
|
4826
|
+
"""Seller order details page"""
|
4827
|
+
ORDER
|
4828
|
+
}
|
4829
|
+
|
4794
4830
|
"""Represents a storefront integration for an App."""
|
4795
4831
|
type AppStorefrontIntegration implements Node {
|
4796
4832
|
"""The ID of the object"""
|
@@ -13173,7 +13209,7 @@ type Mutation {
|
|
13173
13209
|
description: String
|
13174
13210
|
|
13175
13211
|
"""
|
13176
|
-
Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types:
|
13212
|
+
Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: image/x-dxf, application/x-acad, image/png, image/heif-sequence, image/dxf, application/x-eps, application/rtf, text/x-pdf, application/gzipped, application/postscript, application/x-rar-compressed, application/x-zip-compressed, application/vnd.ms-word, application/tif, application/x-dxf, image/bmp, application/x-csv, application/x-rar, application/x-dwg, application/vnd.openxmlformats-officedocument.presentationml.slideshow, image/x-eps, drawing/x-dwg, image/heif, application/x-rtf, image/heic-sequence, application/eps, application/gzip, application/vnd.oasis.opendocument.presentation, application/dwg, text/x-comma-separated-values, application/dxf, image/svg, image/x-dwg, application/x-tar, image/svg+xml, drawing/x-dwf, text/pdf, text/x-csv, image/jpeg, image/x-tif, text/svg-xml, application/x-tif, image/x-bmp, application/jpg, image/tiff, application/zip, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/gif, application/vnd.pdf, text/rtf, image/x-tiff, image/x-ms-bmp, image/eps, application/x-gzip, image/vnd.dwg, application/acrobat, application/msword, application/vnd.oasis.opendocument.text, image/heic, application/gzip-compressed, application/x-pdf, application/x-jpg, application/pdf, image/tif, application/vnd.openxmlformats-officedocument.presentationml.presentation, text/comma-separated-values, application/excel, application/vnd.ms-powerpoint, image/webp, text/csv, application/tiff, image/jpg, text/svg, application/vnd.ms-excel, text/plain, application/x-autocad, drawing/dwg, application/svg+xml, application/x-tiff, application/csv, application/acad, pplication/vnd.rar, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.oasis.opendocument.spreadsheet.
|
13177
13213
|
"""
|
13178
13214
|
file: Upload!
|
13179
13215
|
|
@@ -15973,6 +16009,18 @@ type Mutation {
|
|
15973
16009
|
token: String!
|
15974
16010
|
): AppTokenVerify
|
15975
16011
|
|
16012
|
+
"""Creates a new dashboard integration for an app."""
|
16013
|
+
appDashboardIntegrationCreate(
|
16014
|
+
"""Fields required to create a dashboard integration."""
|
16015
|
+
input: AppDashboardIntegrationInput!
|
16016
|
+
): AppDashboardIntegrationCreate
|
16017
|
+
|
16018
|
+
"""Deletes an app storefront integration from the app."""
|
16019
|
+
appDashboardIntegrationDelete(
|
16020
|
+
"""ID of a app dashboard integration to delete."""
|
16021
|
+
id: ID!
|
16022
|
+
): AppDashboardIntegrationDelete
|
16023
|
+
|
15976
16024
|
"""Creates a new storefront integration for an app."""
|
15977
16025
|
appStorefrontIntegrationCreate(
|
15978
16026
|
"""Fields required to create a storefront integration."""
|
@@ -22973,6 +23021,29 @@ type AppTokenVerify {
|
|
22973
23021
|
appErrors: [AppError!]!
|
22974
23022
|
}
|
22975
23023
|
|
23024
|
+
"""Creates a new dashboard integration for an app."""
|
23025
|
+
type AppDashboardIntegrationCreate {
|
23026
|
+
appErrors: [AppError!]!
|
23027
|
+
appDashboardIntegration: AppDashboardIntegration
|
23028
|
+
}
|
23029
|
+
|
23030
|
+
input AppDashboardIntegrationInput {
|
23031
|
+
"""ID of app."""
|
23032
|
+
app: ID!
|
23033
|
+
|
23034
|
+
"""URL to the iframe"""
|
23035
|
+
iframeUrl: String!
|
23036
|
+
|
23037
|
+
"""Context for where this integration should render"""
|
23038
|
+
context: AppDashboardIntegrationContextEnum!
|
23039
|
+
}
|
23040
|
+
|
23041
|
+
"""Deletes an app storefront integration from the app."""
|
23042
|
+
type AppDashboardIntegrationDelete {
|
23043
|
+
appErrors: [AppError!]!
|
23044
|
+
appDashboardIntegration: AppDashboardIntegration
|
23045
|
+
}
|
23046
|
+
|
22976
23047
|
"""Creates a new storefront integration for an app."""
|
22977
23048
|
type AppStorefrontIntegrationCreate {
|
22978
23049
|
appErrors: [AppError!]!
|