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