@nautical-commerce/graphql-schema 2.30.0 → 2.32.0
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 +129 -14
- package/package.json +1 -1
package/nautical/schema.graphql
CHANGED
|
@@ -53,11 +53,15 @@ directive @listSize(assumedSize: Int, slicingArguments: [String!], sizedFields:
|
|
|
53
53
|
directive @cost(weight: Int!) on ARGUMENT_DEFINITION | FIELD_DEFINITION | INPUT_FIELD_DEFINITION | OBJECT | SCALAR | ENUM
|
|
54
54
|
|
|
55
55
|
"""
|
|
56
|
-
Custom Decimal implementation.
|
|
56
|
+
Custom Decimal scalar implementation.
|
|
57
57
|
|
|
58
58
|
Returns Decimal as a float in the API,
|
|
59
59
|
parses float to the Decimal on the way back
|
|
60
60
|
("float -> string -> Decimal" so as not to lose precision).
|
|
61
|
+
|
|
62
|
+
Note: Extends graphene.Scalar (not graphene.Float) so that the schema
|
|
63
|
+
export includes "scalar Decimal" definition. This is required for
|
|
64
|
+
schema validation tools like graphql-inspector.
|
|
61
65
|
"""
|
|
62
66
|
scalar Decimal
|
|
63
67
|
|
|
@@ -1497,7 +1501,7 @@ type Query {
|
|
|
1497
1501
|
designerdata(name: String): DesignerDataType
|
|
1498
1502
|
designerdatalist: [DesignerDataType!]!
|
|
1499
1503
|
|
|
1500
|
-
"""Token
|
|
1504
|
+
"""Token necessary for connecting to the embedded integration platform"""
|
|
1501
1505
|
integrationEmbeddingToken: String
|
|
1502
1506
|
|
|
1503
1507
|
"""Look up a export file by ID."""
|
|
@@ -2227,6 +2231,19 @@ type User implements Node & ObjectWithMetadata {
|
|
|
2227
2231
|
): OrderCountableConnection
|
|
2228
2232
|
numOrders: Int
|
|
2229
2233
|
|
|
2234
|
+
"""
|
|
2235
|
+
Total count of NauticalOrders for this customer in the filtered date range (from placedOrders filter).
|
|
2236
|
+
"""
|
|
2237
|
+
orderCount: Int
|
|
2238
|
+
|
|
2239
|
+
"""
|
|
2240
|
+
Total gross amount of NauticalOrders for this customer in the filtered date range (from placedOrders filter).
|
|
2241
|
+
"""
|
|
2242
|
+
orderTotalAmount: Money
|
|
2243
|
+
|
|
2244
|
+
"""Whether this user is a marketplace operator (MPO)."""
|
|
2245
|
+
isMarketplaceOperator: Boolean
|
|
2246
|
+
|
|
2230
2247
|
"""List of user's nautical orders."""
|
|
2231
2248
|
nauticalOrders(
|
|
2232
2249
|
"""Filtering options for orders."""
|
|
@@ -12724,7 +12741,7 @@ type Mutation {
|
|
|
12724
12741
|
description: String
|
|
12725
12742
|
|
|
12726
12743
|
"""
|
|
12727
|
-
Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types:
|
|
12744
|
+
Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/postscript, image/heic-sequence, image/gif, image/heif-sequence, text/csv, application/vnd.oasis.opendocument.text, application/csv, text/svg, image/eps, application/vnd.ms-excel, application/rtf, application/dxf, application/dwg, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/x-zip-compressed, image/svg, text/plain, image/x-bmp, application/vnd.oasis.opendocument.spreadsheet, application/gzipped, application/vnd.oasis.opendocument.presentation, application/zip, image/x-tiff, text/x-csv, text/rtf, drawing/x-dwf, text/svg-xml, image/x-eps, text/x-pdf, application/x-rar, image/dxf, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/gzip, image/x-dwg, application/vnd.pdf, application/jpg, image/x-tif, application/tif, image/webp, application/pdf, application/x-csv, application/x-pdf, image/x-dxf, application/gzip-compressed, application/x-tar, application/eps, drawing/dwg, image/jpeg, application/x-dxf, text/comma-separated-values, application/x-rar-compressed, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/x-rtf, application/vnd.ms-word, image/bmp, application/vnd.ms-powerpoint, text/x-comma-separated-values, application/x-gzip, image/x-ms-bmp, image/png, application/acrobat, application/x-tif, image/tif, application/x-dwg, application/x-tiff, image/vnd.dwg, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/x-autocad, image/svg+xml, application/excel, application/svg+xml, application/tiff, application/msword, image/heic, application/acad, image/jpg, text/pdf, image/tiff, application/x-eps, application/x-jpg, image/heif, pplication/vnd.rar, drawing/x-dwg, application/x-acad.
|
|
12728
12745
|
"""
|
|
12729
12746
|
file: Upload!
|
|
12730
12747
|
|
|
@@ -14978,9 +14995,6 @@ type Mutation {
|
|
|
14978
14995
|
input: CatalogueInput!
|
|
14979
14996
|
): VoucherRemoveCatalogues
|
|
14980
14997
|
|
|
14981
|
-
"""Gets and sets Explo dashboard embedding token in cookies"""
|
|
14982
|
-
dashboardEmbeddingToken: DashboardEmbeddingToken
|
|
14983
|
-
|
|
14984
14998
|
"""Export products to csv file."""
|
|
14985
14999
|
productsExport(
|
|
14986
15000
|
"""Fields required to export product data"""
|
|
@@ -15445,6 +15459,22 @@ type Mutation {
|
|
|
15445
15459
|
oauthProviderToken: String!
|
|
15446
15460
|
): CreateCustomerToken
|
|
15447
15461
|
|
|
15462
|
+
"""
|
|
15463
|
+
Generate analytics CSV export and return a signed download URL. The URL provides direct access to the file in cloud storage.
|
|
15464
|
+
"""
|
|
15465
|
+
analyticsExportCsv(
|
|
15466
|
+
"""Export configuration"""
|
|
15467
|
+
input: AnalyticsExportCSVInput!
|
|
15468
|
+
): AnalyticsExportCSV
|
|
15469
|
+
|
|
15470
|
+
"""
|
|
15471
|
+
Get a download URL for analytics CSV export. The URL triggers a synchronous download - navigate to it to download the file.
|
|
15472
|
+
"""
|
|
15473
|
+
analyticsExportUrl(
|
|
15474
|
+
"""Export configuration"""
|
|
15475
|
+
input: AnalyticsExportUrlInput!
|
|
15476
|
+
): AnalyticsExportUrl @deprecated(reason: "Use analyticsExportCsv instead for proper tenant handling")
|
|
15477
|
+
|
|
15448
15478
|
"""Create JWT token."""
|
|
15449
15479
|
tokenCreate(
|
|
15450
15480
|
"""Email of a user."""
|
|
@@ -15513,7 +15543,7 @@ type Mutation {
|
|
|
15513
15543
|
): AccountConfirm
|
|
15514
15544
|
|
|
15515
15545
|
"""
|
|
15516
|
-
Sets the user's password from the token sent by email using the
|
|
15546
|
+
Sets the user's password from the token sent by email using the PasswordRequestReset mutation.
|
|
15517
15547
|
"""
|
|
15518
15548
|
passwordSet(
|
|
15519
15549
|
"""Email of a user."""
|
|
@@ -15819,6 +15849,7 @@ type TenantError {
|
|
|
15819
15849
|
|
|
15820
15850
|
"""An enumeration."""
|
|
15821
15851
|
enum TenantErrorCode {
|
|
15852
|
+
FORBIDDEN
|
|
15822
15853
|
NOT_FOUND
|
|
15823
15854
|
REQUIRED
|
|
15824
15855
|
GRAPHQL_ERROR
|
|
@@ -16418,6 +16449,7 @@ enum AgreementErrorCode {
|
|
|
16418
16449
|
GRAPHQL_ERROR
|
|
16419
16450
|
INVALID
|
|
16420
16451
|
NOT_FOUND
|
|
16452
|
+
PERMISSION_DENIED
|
|
16421
16453
|
REQUIRED
|
|
16422
16454
|
UNIQUE
|
|
16423
16455
|
EXISTING_VENDOR_AGREEMENTS
|
|
@@ -16621,6 +16653,7 @@ enum SellerErrorCode {
|
|
|
16621
16653
|
INVALID
|
|
16622
16654
|
INVALID_PHONE
|
|
16623
16655
|
NOT_FOUND
|
|
16656
|
+
PERMISSION_DENIED
|
|
16624
16657
|
REQUIRED
|
|
16625
16658
|
UNIQUE
|
|
16626
16659
|
JWT_SIGNATURE_EXPIRED
|
|
@@ -17068,6 +17101,7 @@ type WarehouseError {
|
|
|
17068
17101
|
"""An enumeration."""
|
|
17069
17102
|
enum WarehouseErrorCode {
|
|
17070
17103
|
ALREADY_EXISTS
|
|
17104
|
+
FORBIDDEN
|
|
17071
17105
|
GRAPHQL_ERROR
|
|
17072
17106
|
INVALID
|
|
17073
17107
|
NOT_FOUND
|
|
@@ -17207,6 +17241,7 @@ enum ShopErrorCode {
|
|
|
17207
17241
|
GRAPHQL_ERROR
|
|
17208
17242
|
INVALID
|
|
17209
17243
|
NOT_FOUND
|
|
17244
|
+
PERMISSION_DENIED
|
|
17210
17245
|
REQUIRED
|
|
17211
17246
|
UNIQUE
|
|
17212
17247
|
NOT_ALLOWED
|
|
@@ -17519,6 +17554,7 @@ enum ShippingErrorCode {
|
|
|
17519
17554
|
INVALID
|
|
17520
17555
|
MAX_LESS_THAN_MIN
|
|
17521
17556
|
NOT_FOUND
|
|
17557
|
+
PERMISSION_DENIED
|
|
17522
17558
|
REQUIRED
|
|
17523
17559
|
UNIQUE
|
|
17524
17560
|
DUPLICATED_INPUT_ITEM
|
|
@@ -17943,6 +17979,7 @@ type ProductError {
|
|
|
17943
17979
|
enum ProductErrorCode {
|
|
17944
17980
|
ALREADY_EXISTS
|
|
17945
17981
|
ATTRIBUTE_ALREADY_ASSIGNED
|
|
17982
|
+
PERMISSION_DENIED
|
|
17946
17983
|
ATTRIBUTE_CANNOT_BE_ASSIGNED
|
|
17947
17984
|
ATTRIBUTE_VARIANTS_DISABLED
|
|
17948
17985
|
ATTRIBUTE_VALUE_CANNOT_BE_CREATED
|
|
@@ -20733,6 +20770,7 @@ enum MetadataErrorCode {
|
|
|
20733
20770
|
GRAPHQL_ERROR
|
|
20734
20771
|
INVALID
|
|
20735
20772
|
NOT_FOUND
|
|
20773
|
+
PERMISSION_DENIED
|
|
20736
20774
|
REQUIRED
|
|
20737
20775
|
}
|
|
20738
20776
|
|
|
@@ -21069,6 +21107,7 @@ type PluginError {
|
|
|
21069
21107
|
|
|
21070
21108
|
"""An enumeration."""
|
|
21071
21109
|
enum PluginErrorCode {
|
|
21110
|
+
FORBIDDEN
|
|
21072
21111
|
GRAPHQL_ERROR
|
|
21073
21112
|
INVALID
|
|
21074
21113
|
PLUGIN_MISCONFIGURED
|
|
@@ -21387,12 +21426,6 @@ type VoucherRemoveCatalogues {
|
|
|
21387
21426
|
discountErrors: [DiscountError!]!
|
|
21388
21427
|
}
|
|
21389
21428
|
|
|
21390
|
-
"""Gets and sets Explo dashboard embedding token in cookies"""
|
|
21391
|
-
type DashboardEmbeddingToken {
|
|
21392
|
-
"""JWT token for embedding"""
|
|
21393
|
-
token: String
|
|
21394
|
-
}
|
|
21395
|
-
|
|
21396
21429
|
"""Export products to csv file."""
|
|
21397
21430
|
type ProductsExport {
|
|
21398
21431
|
"""
|
|
@@ -21417,6 +21450,7 @@ type ExportError {
|
|
|
21417
21450
|
|
|
21418
21451
|
"""An enumeration."""
|
|
21419
21452
|
enum ExportErrorCode {
|
|
21453
|
+
FORBIDDEN
|
|
21420
21454
|
INVALID
|
|
21421
21455
|
NOT_FOUND
|
|
21422
21456
|
REQUIRED
|
|
@@ -22351,6 +22385,86 @@ enum OauthProviderSourceEnum {
|
|
|
22351
22385
|
WORKOS
|
|
22352
22386
|
}
|
|
22353
22387
|
|
|
22388
|
+
"""
|
|
22389
|
+
Generate analytics CSV export and return a signed download URL. The URL provides direct access to the file in cloud storage.
|
|
22390
|
+
"""
|
|
22391
|
+
type AnalyticsExportCSV {
|
|
22392
|
+
"""Signed URL for downloading the CSV file. Expires in 1 hour."""
|
|
22393
|
+
downloadUrl: String
|
|
22394
|
+
|
|
22395
|
+
"""Filename of the export (e.g., 'analytics_orders_20240101.csv')"""
|
|
22396
|
+
filename: String
|
|
22397
|
+
|
|
22398
|
+
"""Number of data rows in the export (excluding header)"""
|
|
22399
|
+
rowCount: Int
|
|
22400
|
+
|
|
22401
|
+
"""Errors that occurred during the mutation"""
|
|
22402
|
+
errors: [AnalyticsExportError!]!
|
|
22403
|
+
}
|
|
22404
|
+
|
|
22405
|
+
"""Error type for analytics export mutations."""
|
|
22406
|
+
type AnalyticsExportError {
|
|
22407
|
+
"""Name of a field that caused the error"""
|
|
22408
|
+
field: String
|
|
22409
|
+
|
|
22410
|
+
"""Error message"""
|
|
22411
|
+
message: String
|
|
22412
|
+
|
|
22413
|
+
"""The error code"""
|
|
22414
|
+
code: AnalyticsExportErrorCode!
|
|
22415
|
+
}
|
|
22416
|
+
|
|
22417
|
+
"""Error codes for analytics export mutations."""
|
|
22418
|
+
enum AnalyticsExportErrorCode {
|
|
22419
|
+
INVALID_DATE_RANGE
|
|
22420
|
+
PERMISSION_DENIED
|
|
22421
|
+
EXPORT_TYPE_NOT_AVAILABLE
|
|
22422
|
+
INVALID
|
|
22423
|
+
}
|
|
22424
|
+
|
|
22425
|
+
"""Input for requesting an analytics CSV export."""
|
|
22426
|
+
input AnalyticsExportCSVInput {
|
|
22427
|
+
"""Type of analytics data to export"""
|
|
22428
|
+
exportType: AnalyticsExportTypeEnum!
|
|
22429
|
+
|
|
22430
|
+
"""Date range for the export"""
|
|
22431
|
+
dateRange: AnalyticsDateRangeInput!
|
|
22432
|
+
}
|
|
22433
|
+
|
|
22434
|
+
"""Types of analytics data that can be exported."""
|
|
22435
|
+
enum AnalyticsExportTypeEnum {
|
|
22436
|
+
MARKETPLACE_ORDERS
|
|
22437
|
+
SELLER_ORDERS
|
|
22438
|
+
ORDER_LINE_ITEMS
|
|
22439
|
+
CUSTOMERS
|
|
22440
|
+
PRODUCT_INVENTORY
|
|
22441
|
+
PAYOUTS
|
|
22442
|
+
SELLER_PAYOUTS
|
|
22443
|
+
SALES_VELOCITY
|
|
22444
|
+
}
|
|
22445
|
+
|
|
22446
|
+
"""
|
|
22447
|
+
Get a download URL for analytics CSV export. The URL triggers a synchronous download - navigate to it to download the file.
|
|
22448
|
+
"""
|
|
22449
|
+
type AnalyticsExportUrl {
|
|
22450
|
+
"""
|
|
22451
|
+
Download URL for the CSV export. Navigate to this URL to trigger download.
|
|
22452
|
+
"""
|
|
22453
|
+
url: String
|
|
22454
|
+
|
|
22455
|
+
"""Errors that occurred during the mutation"""
|
|
22456
|
+
errors: [AnalyticsExportError!]!
|
|
22457
|
+
}
|
|
22458
|
+
|
|
22459
|
+
"""Input for requesting an analytics export URL."""
|
|
22460
|
+
input AnalyticsExportUrlInput {
|
|
22461
|
+
"""Type of analytics data to export"""
|
|
22462
|
+
exportType: AnalyticsExportTypeEnum!
|
|
22463
|
+
|
|
22464
|
+
"""Date range for the export"""
|
|
22465
|
+
dateRange: AnalyticsDateRangeInput!
|
|
22466
|
+
}
|
|
22467
|
+
|
|
22354
22468
|
"""Create JWT token."""
|
|
22355
22469
|
type TokenCreate {
|
|
22356
22470
|
"""JWT token, required to authenticate."""
|
|
@@ -22407,6 +22521,7 @@ enum AccountErrorCode {
|
|
|
22407
22521
|
OUT_OF_SCOPE_GROUP
|
|
22408
22522
|
OUT_OF_SCOPE_PERMISSION
|
|
22409
22523
|
OUT_OF_SCOPE_SELLER
|
|
22524
|
+
PERMISSION_DENIED
|
|
22410
22525
|
PASSWORD_ENTIRELY_NUMERIC
|
|
22411
22526
|
PASSWORD_IDENTICAL
|
|
22412
22527
|
PASSWORD_TOO_COMMON
|
|
@@ -22492,7 +22607,7 @@ type AccountConfirm {
|
|
|
22492
22607
|
}
|
|
22493
22608
|
|
|
22494
22609
|
"""
|
|
22495
|
-
Sets the user's password from the token sent by email using the
|
|
22610
|
+
Sets the user's password from the token sent by email using the PasswordRequestReset mutation.
|
|
22496
22611
|
"""
|
|
22497
22612
|
type PasswordSet {
|
|
22498
22613
|
"""JWT token, required to authenticate."""
|