@nautical-commerce/graphql-schema 1.94.0-2-g43b1c3b27 → 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.
@@ -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(tenantId: String!, startDate: Date, endDate: Date): BigQuerySalesPerDayReportType
1148
- bigqueryOrdersByStatus(tenantId: String!, startDate: Date, endDate: Date): BigQueryOrdersByStatusReportType
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(tenantId: String!, startDate: Date, endDate: Date): BigQueryPayoutReportType
1169
+ bigqueryPayouts(startDate: Date, endDate: Date): BigQueryPayoutReportType
1166
1170
 
1167
1171
  """Returns a list of order line items for a tenant"""
1168
- bigqueryOrderLineItems(tenantId: String!, sellerId: Int, startDate: Date, endDate: Date): BigQueryOrdersBySellerReportType
1172
+ bigqueryOrderLineItems(sellerId: Int, startDate: Date, endDate: Date): BigQueryOrdersBySellerReportType
1169
1173
 
1170
1174
  """Returns net sales by seller for a tenant"""
1171
- bigqueryNetSalesBySeller(tenantId: String!, sellerId: Int, startDate: Date, endDate: Date): BigQueryNetSalesBySellerReportType
1175
+ bigqueryNetSalesBySeller(sellerId: Int, startDate: Date, endDate: Date): BigQueryNetSalesBySellerReportType
1172
1176
 
1173
1177
  """Returns net sales by category for a tenant"""
1174
- bigqueryNetSalesByCategory(tenantId: String!, sellerId: Int, startDate: Date, endDate: Date): BigQueryNetSalesByCategoryReportType
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(tenantId: String!, sellerId: Int!, startDate: Date, endDate: Date): BigQuerySellerOrdersReportType
1181
+ bigquerySellerOrders(sellerId: Int!, startDate: Date, endDate: Date): BigQuerySellerOrdersReportType
1178
1182
 
1179
1183
  """Returns seller 30-60-90 day sales"""
1180
- bigqueryThirtySixtyNinety(tenantId: String!): BigQueryThirtySixtyNinetyReportType
1184
+ bigqueryThirtySixtyNinety(sellerId: Int): BigQueryThirtySixtyNinetyReportType
1181
1185
 
1182
1186
  """Returns a list of seller payouts for a given tenant and seller"""
1183
- bigquerySellerPayouts(tenantId: String!): BigQuerySellerPayoutReportType
1187
+ bigquerySellerPayouts: BigQuerySellerPayoutReportType
1184
1188
 
1185
1189
  """Returns a list of product variants for a given tenant"""
1186
- bigqueryVariantList(tenantId: String!, sellerId: String): BigQueryVariantListReportType
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: application/jpg, image/gif, pplication/vnd.rar, application/x-jpg, text/x-comma-separated-values, text/x-csv, text/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, text/rtf, text/comma-separated-values, text/svg-xml, image/vnd.dwg, image/x-dwg, application/x-zip-compressed, application/gzip, application/eps, application/svg+xml, image/eps, application/vnd.ms-powerpoint, image/jpg, image/jpeg, image/tif, application/tiff, text/pdf, application/zip, application/x-tar, application/postscript, application/msword, image/svg, application/vnd.oasis.opendocument.spreadsheet, application/x-csv, application/vnd.ms-word, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/x-eps, application/x-dxf, drawing/x-dwf, application/gzip-compressed, image/png, application/x-tif, text/plain, image/heif-sequence, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/dwg, image/webp, application/vnd.oasis.opendocument.presentation, image/x-tif, application/x-rtf, application/gzipped, image/x-tiff, application/x-pdf, application/acad, drawing/dwg, text/x-pdf, image/svg+xml, image/x-ms-bmp, image/bmp, application/dxf, image/dxf, application/x-rar-compressed, image/heic, drawing/x-dwg, image/tiff, application/vnd.ms-excel, image/heic-sequence, application/x-acad, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/x-dwg, image/heif, application/acrobat, application/vnd.oasis.opendocument.text, application/rtf, application/x-gzip, application/csv, image/x-eps, application/x-rar, application/excel, application/tif, text/svg, application/x-autocad, application/pdf, image/x-bmp, image/x-dxf, application/x-tiff, application/vnd.pdf.
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.
11756
11771
  """
11757
11772
  file: Upload!
11758
11773
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.94.0-2-g43b1c3b27",
3
+ "version": "v1.94.0-3-gedff6a338",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {