@nautical-commerce/graphql-schema 1.93.0 → 1.94.0-2-g43b1c3b27

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.
@@ -1132,6 +1132,58 @@ type Query {
1132
1132
  """Return the last n elements from the list."""
1133
1133
  last: Int
1134
1134
  ): EmailEventCountableConnection
1135
+
1136
+ """Get orders for tenant with optional date filtering"""
1137
+ bigqueryTenantOrders(
1138
+ """Tenant ID to filter orders"""
1139
+ tenantId: String!
1140
+
1141
+ """Start date for filtering orders"""
1142
+ startDate: Date
1143
+
1144
+ """End date for filtering orders"""
1145
+ endDate: Date
1146
+ ): BigQueryDailyOrderCountsReportType
1147
+ bigquerySalesPerDay(tenantId: String!, startDate: Date, endDate: Date): BigQuerySalesPerDayReportType
1148
+ bigqueryOrdersByStatus(tenantId: String!, startDate: Date, endDate: Date): BigQueryOrdersByStatusReportType
1149
+
1150
+ """Returns a table of all customers for a given tenant"""
1151
+ bigqueryCustomers(
1152
+ tenantId: String!
1153
+
1154
+ """The number of rows to return, at most 100."""
1155
+ first: Int
1156
+
1157
+ """The number of rows to skip."""
1158
+ offset: Int
1159
+
1160
+ """Column to sort by when querying database"""
1161
+ sortby: String
1162
+ ): BigQueryCustomerReportType
1163
+
1164
+ """Returns a list of payouts for a tenant"""
1165
+ bigqueryPayouts(tenantId: String!, startDate: Date, endDate: Date): BigQueryPayoutReportType
1166
+
1167
+ """Returns a list of order line items for a tenant"""
1168
+ bigqueryOrderLineItems(tenantId: String!, sellerId: Int, startDate: Date, endDate: Date): BigQueryOrdersBySellerReportType
1169
+
1170
+ """Returns net sales by seller for a tenant"""
1171
+ bigqueryNetSalesBySeller(tenantId: String!, sellerId: Int, startDate: Date, endDate: Date): BigQueryNetSalesBySellerReportType
1172
+
1173
+ """Returns net sales by category for a tenant"""
1174
+ bigqueryNetSalesByCategory(tenantId: String!, sellerId: Int, startDate: Date, endDate: Date): BigQueryNetSalesByCategoryReportType
1175
+
1176
+ """Returns a list of seller orders for a given tenant and seller"""
1177
+ bigquerySellerOrders(tenantId: String!, sellerId: Int!, startDate: Date, endDate: Date): BigQuerySellerOrdersReportType
1178
+
1179
+ """Returns seller 30-60-90 day sales"""
1180
+ bigqueryThirtySixtyNinety(tenantId: String!): BigQueryThirtySixtyNinetyReportType
1181
+
1182
+ """Returns a list of seller payouts for a given tenant and seller"""
1183
+ bigquerySellerPayouts(tenantId: String!): BigQuerySellerPayoutReportType
1184
+
1185
+ """Returns a list of product variants for a given tenant"""
1186
+ bigqueryVariantList(tenantId: String!, sellerId: String): BigQueryVariantListReportType
1135
1187
  insightsTopPerformingProducts(
1136
1188
  """Beginning of the period to filter results"""
1137
1189
  startDate: Date!
@@ -10196,6 +10248,449 @@ enum EmailEventSortField {
10196
10248
  DATE
10197
10249
  }
10198
10250
 
10251
+ type BigQueryDailyOrderCountsReportType {
10252
+ """Category of the metric."""
10253
+ category: String!
10254
+
10255
+ """Title of the metric."""
10256
+ title: String!
10257
+
10258
+ """
10259
+ Description of main columns in report and summary. Note: report and summary can contain additional columns.
10260
+ """
10261
+ columns: [ColumnObjectType!]
10262
+
10263
+ """Info about applied filters."""
10264
+ filters: [FilterObjectType!]
10265
+
10266
+ """Summary metrics for the daily order count report"""
10267
+ summary: JSONString
10268
+
10269
+ """Daily aggregated order counts"""
10270
+ report: [DailyOrderCountReportType!]!
10271
+ }
10272
+
10273
+ type DailyOrderCountReportType {
10274
+ """Date of the orders"""
10275
+ orderDate: Date!
10276
+
10277
+ """Number of orders on that date"""
10278
+ orderCount: Int!
10279
+ }
10280
+
10281
+ type BigQuerySalesPerDayReportType {
10282
+ """Category of the metric."""
10283
+ category: String!
10284
+
10285
+ """Title of the metric."""
10286
+ title: String!
10287
+
10288
+ """
10289
+ Description of main columns in report and summary. Note: report and summary can contain additional columns.
10290
+ """
10291
+ columns: [ColumnObjectType!]
10292
+
10293
+ """Info about applied filters."""
10294
+ filters: [FilterObjectType!]
10295
+
10296
+ """Summary metrics for the sales per day report"""
10297
+ summary: JSONString
10298
+
10299
+ """Daily aggregated sales data"""
10300
+ report: [SalesPerDayType!]!
10301
+ }
10302
+
10303
+ type SalesPerDayType {
10304
+ saleDate: Date
10305
+ totalSales: Float
10306
+ }
10307
+
10308
+ type BigQueryOrdersByStatusReportType {
10309
+ """Category of the metric."""
10310
+ category: String!
10311
+
10312
+ """Title of the metric."""
10313
+ title: String!
10314
+
10315
+ """
10316
+ Description of main columns in report and summary. Note: report and summary can contain additional columns.
10317
+ """
10318
+ columns: [ColumnObjectType!]
10319
+
10320
+ """Info about applied filters."""
10321
+ filters: [FilterObjectType!]
10322
+
10323
+ """Summary metrics for the orders by status report"""
10324
+ summary: JSONString
10325
+
10326
+ """Aggregated order counts by status"""
10327
+ report: [OrdersByStatusType!]!
10328
+ }
10329
+
10330
+ type OrdersByStatusType {
10331
+ status: String
10332
+ count: Int
10333
+ }
10334
+
10335
+ type BigQueryCustomerReportType {
10336
+ """Category of the metric."""
10337
+ category: String!
10338
+
10339
+ """Title of the metric."""
10340
+ title: String!
10341
+
10342
+ """
10343
+ Description of main columns in report and summary. Note: report and summary can contain additional columns.
10344
+ """
10345
+ columns: [ColumnObjectType!]
10346
+
10347
+ """Info about applied filters."""
10348
+ filters: [FilterObjectType!]
10349
+
10350
+ """Summary stats across all customers"""
10351
+ summary: JSONString
10352
+
10353
+ """All customer records for a tenant"""
10354
+ report: [CustomerReportRowType!]
10355
+ }
10356
+
10357
+ type CustomerReportRowType {
10358
+ firstName: String
10359
+ lastName: String
10360
+ companyName: String
10361
+ email: String
10362
+ dateJoined: DateTime
10363
+ lastLogin: DateTime
10364
+ streetAddress1: String
10365
+ streetAddress2: String
10366
+ city: String
10367
+ countryArea: String
10368
+ country: String
10369
+ postalCode: String
10370
+ totalOrderAmount: Float
10371
+ totalOrderCount: Int
10372
+ }
10373
+
10374
+ type BigQueryPayoutReportType {
10375
+ """Category of the metric."""
10376
+ category: String!
10377
+
10378
+ """Title of the metric."""
10379
+ title: String!
10380
+
10381
+ """
10382
+ Description of main columns in report and summary. Note: report and summary can contain additional columns.
10383
+ """
10384
+ columns: [ColumnObjectType!]
10385
+
10386
+ """Info about applied filters."""
10387
+ filters: [FilterObjectType!]
10388
+
10389
+ """Summary metrics across all payouts"""
10390
+ summary: JSONString
10391
+
10392
+ """List of payout records"""
10393
+ report: [PayoutReportRowType!]
10394
+ }
10395
+
10396
+ type PayoutReportRowType {
10397
+ """Payout ID"""
10398
+ id: String!
10399
+ created: DateTime!
10400
+ endDate: Date!
10401
+ status: String!
10402
+ name: String
10403
+ currency: String
10404
+ sellerCount: Int
10405
+ sales: Float
10406
+ discounts: Float
10407
+ shipping: Float
10408
+ commission: Float
10409
+ fees: Float
10410
+ refunds: Float
10411
+ adjustments: Float
10412
+ payout: Float
10413
+ }
10414
+
10415
+ type BigQueryOrdersBySellerReportType {
10416
+ """Category of the metric."""
10417
+ category: String!
10418
+
10419
+ """Title of the metric."""
10420
+ title: String!
10421
+
10422
+ """
10423
+ Description of main columns in report and summary. Note: report and summary can contain additional columns.
10424
+ """
10425
+ columns: [ColumnObjectType!]
10426
+
10427
+ """Info about applied filters."""
10428
+ filters: [FilterObjectType!]
10429
+
10430
+ """Summary metrics across all orders by seller"""
10431
+ summary: JSONString
10432
+
10433
+ """List of order line records grouped by seller"""
10434
+ report: [OrderLineReportRowType!]
10435
+ }
10436
+
10437
+ type OrderLineReportRowType {
10438
+ tenantId: String!
10439
+ mpoOrderId: String!
10440
+ created: DateTime!
10441
+ updated: DateTime!
10442
+ orderLineId: String
10443
+ sellerId: String
10444
+ sellerName: String
10445
+ sellerOrderNumber: Int
10446
+ category: String
10447
+ variantName: String
10448
+ productName: String
10449
+ quantity: Int
10450
+ quantityFulfilled: Int
10451
+ quantityDeclined: Int
10452
+ currency: String
10453
+ unitPriceNetAmount: Float
10454
+ unitPriceGrossAmount: Float
10455
+ unitPriceTaxes: Float
10456
+ totalPriceGrossAmount: Float
10457
+ totalPriceNetAmount: Float
10458
+ totalPriceTaxes: Float
10459
+ brand: String
10460
+ variantSku: String
10461
+ }
10462
+
10463
+ type BigQueryNetSalesBySellerReportType {
10464
+ """Category of the metric."""
10465
+ category: String!
10466
+
10467
+ """Title of the metric."""
10468
+ title: String!
10469
+
10470
+ """
10471
+ Description of main columns in report and summary. Note: report and summary can contain additional columns.
10472
+ """
10473
+ columns: [ColumnObjectType!]
10474
+
10475
+ """Info about applied filters."""
10476
+ filters: [FilterObjectType!]
10477
+
10478
+ """Summary metrics across all net sales by seller"""
10479
+ summary: JSONString
10480
+
10481
+ """List of net sales records grouped by seller"""
10482
+ report: [NetSalesBySellerType!]
10483
+ }
10484
+
10485
+ type NetSalesBySellerType {
10486
+ sellerId: String
10487
+ sellerName: String
10488
+ orderCount: Int
10489
+ totalSales: Float
10490
+ }
10491
+
10492
+ type BigQueryNetSalesByCategoryReportType {
10493
+ """Category of the metric."""
10494
+ category: String!
10495
+
10496
+ """Title of the metric."""
10497
+ title: String!
10498
+
10499
+ """
10500
+ Description of main columns in report and summary. Note: report and summary can contain additional columns.
10501
+ """
10502
+ columns: [ColumnObjectType!]
10503
+
10504
+ """Info about applied filters."""
10505
+ filters: [FilterObjectType!]
10506
+
10507
+ """Summary metrics across all net sales by category"""
10508
+ summary: JSONString
10509
+
10510
+ """List of net sales records grouped by category"""
10511
+ report: [NetSalesByCategoryType!]
10512
+ }
10513
+
10514
+ type NetSalesByCategoryType {
10515
+ category: String
10516
+ totalSales: Float
10517
+ }
10518
+
10519
+ type BigQuerySellerOrdersReportType {
10520
+ """Category of the metric."""
10521
+ category: String!
10522
+
10523
+ """Title of the metric."""
10524
+ title: String!
10525
+
10526
+ """
10527
+ Description of main columns in report and summary. Note: report and summary can contain additional columns.
10528
+ """
10529
+ columns: [ColumnObjectType!]
10530
+
10531
+ """Info about applied filters."""
10532
+ filters: [FilterObjectType!]
10533
+ summary: JSONString
10534
+
10535
+ """List of seller order records"""
10536
+ report: [SellerOrderReportRowType!]
10537
+ }
10538
+
10539
+ type SellerOrderReportRowType {
10540
+ sellerOrderNumber: String!
10541
+ sellerName: String!
10542
+ mpoOrderNumber: String!
10543
+ created: DateTime
10544
+ updated: DateTime
10545
+ status: String
10546
+ subStatus: String
10547
+ firstName: String
10548
+ lastName: String
10549
+ companyName: String
10550
+ stateProv: String
10551
+ country: String
10552
+ totalNetAmount: Float
10553
+ totalGrossAmount: Float
10554
+ totalTaxes: Float
10555
+ shippingGrossAmount: Float
10556
+ shippingNetAmount: Float
10557
+ shippingTaxes: Float
10558
+ currency: String
10559
+ }
10560
+
10561
+ type BigQueryThirtySixtyNinetyReportType {
10562
+ """Category of the metric."""
10563
+ category: String!
10564
+
10565
+ """Title of the metric."""
10566
+ title: String!
10567
+
10568
+ """
10569
+ Description of main columns in report and summary. Note: report and summary can contain additional columns.
10570
+ """
10571
+ columns: [ColumnObjectType!]
10572
+
10573
+ """Info about applied filters."""
10574
+ filters: [FilterObjectType!]
10575
+ summary: JSONString
10576
+
10577
+ """List of Variant 30-60-90 Day Sales"""
10578
+ report: [ThirtySixtyNinetySellerReportRowType!]
10579
+ }
10580
+
10581
+ type ThirtySixtyNinetySellerReportRowType {
10582
+ tenantId: String
10583
+ variantId: String
10584
+ productName: String
10585
+ variantName: String
10586
+ brand: String
10587
+ variantSku: String
10588
+ variantStatus: String
10589
+ variantSubstatus: String
10590
+ sellerName: String
10591
+ sellerId: String
10592
+ currentquantity: Int
10593
+ currentquantityallocated: Int
10594
+ currentquantityavailable: Int
10595
+ sales0to30quantityordered: Int
10596
+ sales0to30quantityfulfilled: Int
10597
+ sales0to30quantitydeclined: Int
10598
+ sales0to30amount: Float
10599
+ sales31to60quantityordered: Int
10600
+ sales31to60quantityfulfilled: Int
10601
+ sales31to60quantitydeclined: Int
10602
+ sales31to60amount: Float
10603
+ sales61to90quantityordered: Int
10604
+ sales61to90quantityfulfilled: Int
10605
+ sales61to90quantitydeclined: Int
10606
+ sales61to90amount: Float
10607
+ }
10608
+
10609
+ type BigQuerySellerPayoutReportType {
10610
+ """Category of the metric."""
10611
+ category: String!
10612
+
10613
+ """Title of the metric."""
10614
+ title: String!
10615
+
10616
+ """
10617
+ Description of main columns in report and summary. Note: report and summary can contain additional columns.
10618
+ """
10619
+ columns: [ColumnObjectType!]
10620
+
10621
+ """Info about applied filters."""
10622
+ filters: [FilterObjectType!]
10623
+ summary: JSONString
10624
+
10625
+ """List of seller payout records"""
10626
+ report: [SellerPayoutRowType!]
10627
+ }
10628
+
10629
+ type SellerPayoutRowType {
10630
+ tenantId: String!
10631
+ sellerId: String!
10632
+ id: String!
10633
+ payoutId: String!
10634
+ created: DateTime!
10635
+ included: Boolean
10636
+ status: String
10637
+ currency: String
10638
+ sales: Float
10639
+ discounts: Float
10640
+ shipping: Float
10641
+ commission: Float
10642
+ fees: Float
10643
+ refunds: Float
10644
+ adjustments: Float
10645
+ payout: Float
10646
+ }
10647
+
10648
+ type BigQueryVariantListReportType {
10649
+ """Category of the metric."""
10650
+ category: String!
10651
+
10652
+ """Title of the metric."""
10653
+ title: String!
10654
+
10655
+ """
10656
+ Description of main columns in report and summary. Note: report and summary can contain additional columns.
10657
+ """
10658
+ columns: [ColumnObjectType!]
10659
+
10660
+ """Info about applied filters."""
10661
+ filters: [FilterObjectType!]
10662
+ summary: JSONString
10663
+
10664
+ """List of product variants"""
10665
+ report: [VariantListType!]
10666
+ }
10667
+
10668
+ type VariantListType {
10669
+ productId: String
10670
+ productName: String
10671
+ variantId: String
10672
+ variantName: String
10673
+ variantSku: String
10674
+ category: String
10675
+ created: DateTime
10676
+ updated: DateTime
10677
+ status: String
10678
+ substatus: String
10679
+ price: Float
10680
+ cost: Float
10681
+ currency: String
10682
+ trackInventory: Boolean
10683
+ allowBackorders: Boolean
10684
+ weight: Float
10685
+ isPublished: Boolean
10686
+ sellerName: String
10687
+ warehouseName: String
10688
+ quantity: Int
10689
+ quantityAllocated: Int
10690
+ quantityAvailable: Int
10691
+ sellerId: String
10692
+ }
10693
+
10199
10694
  type InReportTopPerformingProductsType {
10200
10695
  """Category of the metric."""
10201
10696
  category: String!
@@ -11257,7 +11752,7 @@ type Mutation {
11257
11752
  description: String
11258
11753
 
11259
11754
  """
11260
- Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: image/tiff, application/dxf, text/svg-xml, text/x-csv, application/postscript, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/gzip-compressed, application/eps, application/msword, image/x-dwg, image/heic, application/x-tiff, application/pdf, application/excel, application/x-tar, text/x-comma-separated-values, image/heic-sequence, application/vnd.oasis.opendocument.presentation, image/png, pplication/vnd.rar, application/tiff, image/jpg, application/vnd.oasis.opendocument.text, image/x-ms-bmp, image/tif, image/x-eps, application/x-acad, application/csv, image/x-bmp, image/svg+xml, text/csv, image/jpeg, image/dxf, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/x-eps, text/rtf, image/webp, image/gif, application/x-rtf, application/vnd.ms-powerpoint, application/rtf, application/x-dwg, application/jpg, text/plain, image/x-dxf, application/vnd.ms-word, image/heif, text/x-pdf, application/acad, application/dwg, application/x-dxf, application/x-autocad, application/x-csv, application/acrobat, application/x-pdf, application/vnd.pdf, application/x-zip-compressed, image/eps, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, text/svg, application/x-gzip, text/pdf, application/x-rar, application/tif, image/svg, text/comma-separated-values, application/x-rar-compressed, application/x-tif, image/bmp, image/x-tiff, image/heif-sequence, image/x-tif, application/vnd.ms-excel, image/vnd.dwg, drawing/x-dwg, application/zip, application/svg+xml, drawing/x-dwf, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/vnd.oasis.opendocument.spreadsheet, drawing/dwg, application/x-jpg, application/gzip, application/gzipped.
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.
11261
11756
  """
11262
11757
  file: Upload!
11263
11758
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nautical-commerce/graphql-schema",
3
- "version": "v1.93.0",
3
+ "version": "v1.94.0-2-g43b1c3b27",
4
4
  "description": "## Getting Started",
5
5
  "main": "./nautical/schema.graphql",
6
6
  "scripts": {