@nautical-commerce/graphql-schema 1.94.0-1-gc481f36a6 → 1.94.0-3-gedff6a338
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 +41 -15
- package/package.json +1 -1
package/nautical/schema.graphql
CHANGED
@@ -1135,44 +1135,70 @@ 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
|
-
bigqueryCustomers(
|
1157
|
+
bigqueryCustomers(
|
1158
|
+
"""The number of rows to return, at most 100."""
|
1159
|
+
first: Int
|
1160
|
+
|
1161
|
+
"""The number of rows to skip."""
|
1162
|
+
offset: Int
|
1163
|
+
|
1164
|
+
"""Column to sort by when querying database"""
|
1165
|
+
sortby: String
|
1166
|
+
): BigQueryCustomerReportType
|
1152
1167
|
|
1153
1168
|
"""Returns a list of payouts for a tenant"""
|
1154
|
-
bigqueryPayouts(
|
1169
|
+
bigqueryPayouts(startDate: Date, endDate: Date): BigQueryPayoutReportType
|
1155
1170
|
|
1156
1171
|
"""Returns a list of order line items for a tenant"""
|
1157
|
-
bigqueryOrderLineItems(
|
1172
|
+
bigqueryOrderLineItems(sellerId: Int, startDate: Date, endDate: Date): BigQueryOrdersBySellerReportType
|
1158
1173
|
|
1159
1174
|
"""Returns net sales by seller for a tenant"""
|
1160
|
-
bigqueryNetSalesBySeller(
|
1175
|
+
bigqueryNetSalesBySeller(sellerId: Int, startDate: Date, endDate: Date): BigQueryNetSalesBySellerReportType
|
1161
1176
|
|
1162
1177
|
"""Returns net sales by category for a tenant"""
|
1163
|
-
bigqueryNetSalesByCategory(
|
1178
|
+
bigqueryNetSalesByCategory(sellerId: Int, startDate: Date, endDate: Date): BigQueryNetSalesByCategoryReportType
|
1164
1179
|
|
1165
1180
|
"""Returns a list of seller orders for a given tenant and seller"""
|
1166
|
-
bigquerySellerOrders(
|
1181
|
+
bigquerySellerOrders(sellerId: Int!, startDate: Date, endDate: Date): BigQuerySellerOrdersReportType
|
1167
1182
|
|
1168
1183
|
"""Returns seller 30-60-90 day sales"""
|
1169
|
-
bigqueryThirtySixtyNinety(
|
1184
|
+
bigqueryThirtySixtyNinety(sellerId: Int): BigQueryThirtySixtyNinetyReportType
|
1170
1185
|
|
1171
1186
|
"""Returns a list of seller payouts for a given tenant and seller"""
|
1172
|
-
bigquerySellerPayouts
|
1187
|
+
bigquerySellerPayouts: BigQuerySellerPayoutReportType
|
1173
1188
|
|
1174
1189
|
"""Returns a list of product variants for a given tenant"""
|
1175
|
-
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
|
1176
1202
|
insightsTopPerformingProducts(
|
1177
1203
|
"""Beginning of the period to filter results"""
|
1178
1204
|
startDate: Date!
|
@@ -11741,7 +11767,7 @@ type Mutation {
|
|
11741
11767
|
description: String
|
11742
11768
|
|
11743
11769
|
"""
|
11744
|
-
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/jpeg, application/postscript, image/svg+xml, application/eps, application/x-dwg, image/eps, application/vnd.ms-powerpoint, application/vnd.oasis.opendocument.spreadsheet, image/heif, image/x-tiff, application/x-tiff, application/tif, application/zip, image/heic-sequence, application/jpg, application/svg+xml, drawing/x-dwf, image/x-ms-bmp, image/heic, application/gzipped, text/x-comma-separated-values, application/x-csv, application/x-zip-compressed, application/vnd.oasis.opendocument.text, application/x-dxf, application/excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/gzip-compressed, application/vnd.ms-word, application/gzip, application/x-rar-compressed, application/x-tar, image/x-tif, text/rtf, application/vnd.ms-excel, image/tif, application/acad, application/vnd.pdf, application/dxf, image/x-dwg, application/x-pdf, application/x-jpg, application/x-rar, application/pdf, application/vnd.openxmlformats-officedocument.presentationml.presentation, image/jpg, image/png, image/gif, text/pdf, image/dxf, image/svg, application/vnd.openxmlformats-officedocument.presentationml.slideshow, image/x-bmp, application/dwg, text/plain, text/csv, image/bmp, application/tiff, text/svg, application/x-autocad, application/x-eps, image/x-eps, text/comma-separated-values, application/csv, pplication/vnd.rar, application/x-rtf, text/x-pdf, application/x-gzip, application/vnd.oasis.opendocument.presentation, image/heif-sequence, image/vnd.dwg, application/x-acad, text/x-csv, drawing/dwg, drawing/x-dwg, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/acrobat, application/msword, image/tiff, image/x-dxf, application/x-tif, application/rtf, image/webp, text/svg-xml.
|
11745
11771
|
"""
|
11746
11772
|
file: Upload!
|
11747
11773
|
|