@nautical-commerce/graphql-schema 1.94.0-2-g43b1c3b27 → 1.94.0-4-g8b683cfcc
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 +35 -17
- package/package.json +1 -1
package/nautical/schema.graphql
CHANGED
@@ -1135,22 +1135,26 @@ type Query {
|
|
1135
1135
|
|
1136
1136
|
"""Get orders for tenant with optional date filtering"""
|
1137
1137
|
bigqueryTenantOrders(
|
1138
|
-
"""Tenant ID to filter orders"""
|
1139
|
-
tenantId: String!
|
1140
|
-
|
1141
1138
|
"""Start date for filtering orders"""
|
1142
1139
|
startDate: Date
|
1143
1140
|
|
1144
1141
|
"""End date for filtering orders"""
|
1145
1142
|
endDate: Date
|
1143
|
+
|
1144
|
+
"""Grouping for the report, e.g., DAILY, WEEKLY, MONTHLY"""
|
1145
|
+
grouping: String = "MONTHLY"
|
1146
1146
|
): BigQueryDailyOrderCountsReportType
|
1147
|
-
bigquerySalesPerDay(
|
1148
|
-
|
1147
|
+
bigquerySalesPerDay(
|
1148
|
+
startDate: Date
|
1149
|
+
endDate: Date
|
1150
|
+
|
1151
|
+
"""Grouping for the report, e.g., DAILY, WEEKLY, MONTHLY"""
|
1152
|
+
grouping: String = "MONTHLY"
|
1153
|
+
): BigQuerySalesPerDayReportType
|
1154
|
+
bigqueryOrdersByStatus(startDate: Date, endDate: Date): BigQueryOrdersByStatusReportType
|
1149
1155
|
|
1150
1156
|
"""Returns a table of all customers for a given tenant"""
|
1151
1157
|
bigqueryCustomers(
|
1152
|
-
tenantId: String!
|
1153
|
-
|
1154
1158
|
"""The number of rows to return, at most 100."""
|
1155
1159
|
first: Int
|
1156
1160
|
|
@@ -1162,28 +1166,39 @@ type Query {
|
|
1162
1166
|
): BigQueryCustomerReportType
|
1163
1167
|
|
1164
1168
|
"""Returns a list of payouts for a tenant"""
|
1165
|
-
bigqueryPayouts(
|
1169
|
+
bigqueryPayouts(startDate: Date, endDate: Date): BigQueryPayoutReportType
|
1166
1170
|
|
1167
1171
|
"""Returns a list of order line items for a tenant"""
|
1168
|
-
bigqueryOrderLineItems(
|
1172
|
+
bigqueryOrderLineItems(sellerId: Int, startDate: Date, endDate: Date): BigQueryOrdersBySellerReportType
|
1169
1173
|
|
1170
1174
|
"""Returns net sales by seller for a tenant"""
|
1171
|
-
bigqueryNetSalesBySeller(
|
1175
|
+
bigqueryNetSalesBySeller(sellerId: Int, startDate: Date, endDate: Date): BigQueryNetSalesBySellerReportType
|
1172
1176
|
|
1173
1177
|
"""Returns net sales by category for a tenant"""
|
1174
|
-
bigqueryNetSalesByCategory(
|
1178
|
+
bigqueryNetSalesByCategory(sellerId: Int, startDate: Date, endDate: Date): BigQueryNetSalesByCategoryReportType
|
1175
1179
|
|
1176
1180
|
"""Returns a list of seller orders for a given tenant and seller"""
|
1177
|
-
bigquerySellerOrders(
|
1181
|
+
bigquerySellerOrders(sellerId: Int!, startDate: Date, endDate: Date): BigQuerySellerOrdersReportType
|
1178
1182
|
|
1179
1183
|
"""Returns seller 30-60-90 day sales"""
|
1180
|
-
bigqueryThirtySixtyNinety(
|
1184
|
+
bigqueryThirtySixtyNinety(sellerId: Int): BigQueryThirtySixtyNinetyReportType
|
1181
1185
|
|
1182
1186
|
"""Returns a list of seller payouts for a given tenant and seller"""
|
1183
|
-
bigquerySellerPayouts
|
1187
|
+
bigquerySellerPayouts: BigQuerySellerPayoutReportType
|
1184
1188
|
|
1185
1189
|
"""Returns a list of product variants for a given tenant"""
|
1186
|
-
bigqueryVariantList(
|
1190
|
+
bigqueryVariantList(
|
1191
|
+
sellerId: Int
|
1192
|
+
|
1193
|
+
"""The number of rows to return, at most 100."""
|
1194
|
+
first: Int
|
1195
|
+
|
1196
|
+
"""The number of rows to skip."""
|
1197
|
+
offset: Int
|
1198
|
+
|
1199
|
+
"""Column to sort by when querying database"""
|
1200
|
+
sortby: String
|
1201
|
+
): BigQueryVariantListReportType
|
1187
1202
|
insightsTopPerformingProducts(
|
1188
1203
|
"""Beginning of the period to filter results"""
|
1189
1204
|
startDate: Date!
|
@@ -11752,7 +11767,7 @@ type Mutation {
|
|
11752
11767
|
description: String
|
11753
11768
|
|
11754
11769
|
"""
|
11755
|
-
Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types:
|
11770
|
+
Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: image/webp, application/tiff, text/x-pdf, pplication/vnd.rar, image/heic-sequence, application/vnd.ms-excel, text/plain, image/dxf, application/gzip-compressed, application/excel, image/svg, application/gzipped, application/gzip, application/vnd.oasis.opendocument.text, image/heif-sequence, image/png, image/svg+xml, image/x-ms-bmp, application/x-acad, application/tif, application/svg+xml, application/x-gzip, image/x-dwg, application/postscript, application/x-rar-compressed, image/tif, application/vnd.openxmlformats-officedocument.wordprocessingml.document, text/csv, application/vnd.openxmlformats-officedocument.presentationml.slideshow, image/eps, image/x-dxf, application/x-dwg, image/bmp, application/x-tiff, application/csv, application/pdf, application/dwg, drawing/x-dwg, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-powerpoint, image/x-tif, application/vnd.openxmlformats-officedocument.presentationml.presentation, image/jpeg, application/x-rar, application/x-dxf, application/rtf, application/x-tar, application/acad, application/vnd.oasis.opendocument.spreadsheet, application/x-tif, application/acrobat, text/x-comma-separated-values, image/x-tiff, application/jpg, application/zip, text/pdf, drawing/dwg, drawing/x-dwf, application/x-eps, application/dxf, image/tiff, application/x-jpg, image/jpg, application/vnd.oasis.opendocument.presentation, application/x-pdf, image/heic, image/x-eps, image/vnd.dwg, image/x-bmp, text/x-csv, image/gif, text/rtf, text/svg, application/eps, text/svg-xml, application/x-rtf, application/x-zip-compressed, text/comma-separated-values, application/vnd.ms-word, application/msword, image/heif, application/x-csv, application/vnd.pdf, application/x-autocad.
|
11756
11771
|
"""
|
11757
11772
|
file: Upload!
|
11758
11773
|
|
@@ -20073,7 +20088,10 @@ input ExportProductsInput {
|
|
20073
20088
|
ids: [ID!]
|
20074
20089
|
|
20075
20090
|
"""Input with info about fields which should be exported."""
|
20076
|
-
exportInfo: ExportInfoInput
|
20091
|
+
exportInfo: ExportInfoInput @deprecated(reason: "This will be removed on October 8, 2025.")
|
20092
|
+
|
20093
|
+
"""List of product fields witch should be exported."""
|
20094
|
+
fields: [ProductFieldEnum!]
|
20077
20095
|
|
20078
20096
|
"""Type of exported file."""
|
20079
20097
|
fileType: FileTypesEnum!
|