@nautical-commerce/graphql-schema 2.29.0 → 2.31.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 +121 -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."""
|
|
@@ -8320,6 +8324,11 @@ type App implements Node & ObjectWithMetadata {
|
|
|
8320
8324
|
"""User associated with this app."""
|
|
8321
8325
|
user: User
|
|
8322
8326
|
|
|
8327
|
+
"""
|
|
8328
|
+
Seller this app operates as. If null, this is a marketplace-level app (MPO).
|
|
8329
|
+
"""
|
|
8330
|
+
seller: Seller
|
|
8331
|
+
|
|
8323
8332
|
"""Last 4 characters of the tokens."""
|
|
8324
8333
|
tokens: [AppToken!]
|
|
8325
8334
|
|
|
@@ -12719,7 +12728,7 @@ type Mutation {
|
|
|
12719
12728
|
description: String
|
|
12720
12729
|
|
|
12721
12730
|
"""
|
|
12722
|
-
Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types:
|
|
12731
|
+
Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/pdf, image/heic-sequence, image/x-eps, image/x-ms-bmp, drawing/x-dwg, application/vnd.ms-word, image/heif, application/x-tif, application/x-eps, application/vnd.pdf, image/eps, image/x-bmp, application/dwg, text/x-pdf, text/svg, application/gzip, application/jpg, image/dxf, application/csv, application/x-jpg, image/heif-sequence, image/x-tif, application/x-dwg, application/tif, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/x-tar, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/dxf, application/postscript, application/vnd.ms-powerpoint, application/x-rtf, application/x-acad, text/comma-separated-values, image/heic, application/vnd.ms-excel, application/vnd.oasis.opendocument.spreadsheet, image/bmp, application/x-rar-compressed, application/gzipped, pplication/vnd.rar, application/x-gzip, application/vnd.openxmlformats-officedocument.presentationml.slideshow, text/csv, image/tiff, image/webp, text/x-comma-separated-values, image/jpg, image/x-dxf, image/vnd.dwg, image/png, application/svg+xml, image/svg, text/x-csv, application/acad, image/gif, application/msword, image/svg+xml, drawing/dwg, text/rtf, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/rtf, image/jpeg, application/zip, image/x-tiff, application/x-pdf, text/pdf, application/eps, application/tiff, text/plain, image/x-dwg, application/x-dxf, application/x-tiff, application/vnd.oasis.opendocument.text, text/svg-xml, application/x-autocad, image/tif, drawing/x-dwf, application/acrobat, application/vnd.oasis.opendocument.presentation, application/x-zip-compressed, application/excel, application/x-csv, application/x-rar, application/gzip-compressed.
|
|
12723
12732
|
"""
|
|
12724
12733
|
file: Upload!
|
|
12725
12734
|
|
|
@@ -14973,9 +14982,6 @@ type Mutation {
|
|
|
14973
14982
|
input: CatalogueInput!
|
|
14974
14983
|
): VoucherRemoveCatalogues
|
|
14975
14984
|
|
|
14976
|
-
"""Gets and sets Explo dashboard embedding token in cookies"""
|
|
14977
|
-
dashboardEmbeddingToken: DashboardEmbeddingToken
|
|
14978
|
-
|
|
14979
14985
|
"""Export products to csv file."""
|
|
14980
14986
|
productsExport(
|
|
14981
14987
|
"""Fields required to export product data"""
|
|
@@ -15440,6 +15446,22 @@ type Mutation {
|
|
|
15440
15446
|
oauthProviderToken: String!
|
|
15441
15447
|
): CreateCustomerToken
|
|
15442
15448
|
|
|
15449
|
+
"""
|
|
15450
|
+
Generate analytics CSV export and return a signed download URL. The URL provides direct access to the file in cloud storage.
|
|
15451
|
+
"""
|
|
15452
|
+
analyticsExportCsv(
|
|
15453
|
+
"""Export configuration"""
|
|
15454
|
+
input: AnalyticsExportCSVInput!
|
|
15455
|
+
): AnalyticsExportCSV
|
|
15456
|
+
|
|
15457
|
+
"""
|
|
15458
|
+
Get a download URL for analytics CSV export. The URL triggers a synchronous download - navigate to it to download the file.
|
|
15459
|
+
"""
|
|
15460
|
+
analyticsExportUrl(
|
|
15461
|
+
"""Export configuration"""
|
|
15462
|
+
input: AnalyticsExportUrlInput!
|
|
15463
|
+
): AnalyticsExportUrl @deprecated(reason: "Use analyticsExportCsv instead for proper tenant handling")
|
|
15464
|
+
|
|
15443
15465
|
"""Create JWT token."""
|
|
15444
15466
|
tokenCreate(
|
|
15445
15467
|
"""Email of a user."""
|
|
@@ -15508,7 +15530,7 @@ type Mutation {
|
|
|
15508
15530
|
): AccountConfirm
|
|
15509
15531
|
|
|
15510
15532
|
"""
|
|
15511
|
-
Sets the user's password from the token sent by email using the
|
|
15533
|
+
Sets the user's password from the token sent by email using the PasswordRequestReset mutation.
|
|
15512
15534
|
"""
|
|
15513
15535
|
passwordSet(
|
|
15514
15536
|
"""Email of a user."""
|
|
@@ -15814,6 +15836,7 @@ type TenantError {
|
|
|
15814
15836
|
|
|
15815
15837
|
"""An enumeration."""
|
|
15816
15838
|
enum TenantErrorCode {
|
|
15839
|
+
FORBIDDEN
|
|
15817
15840
|
NOT_FOUND
|
|
15818
15841
|
REQUIRED
|
|
15819
15842
|
GRAPHQL_ERROR
|
|
@@ -16413,6 +16436,7 @@ enum AgreementErrorCode {
|
|
|
16413
16436
|
GRAPHQL_ERROR
|
|
16414
16437
|
INVALID
|
|
16415
16438
|
NOT_FOUND
|
|
16439
|
+
PERMISSION_DENIED
|
|
16416
16440
|
REQUIRED
|
|
16417
16441
|
UNIQUE
|
|
16418
16442
|
EXISTING_VENDOR_AGREEMENTS
|
|
@@ -16616,6 +16640,7 @@ enum SellerErrorCode {
|
|
|
16616
16640
|
INVALID
|
|
16617
16641
|
INVALID_PHONE
|
|
16618
16642
|
NOT_FOUND
|
|
16643
|
+
PERMISSION_DENIED
|
|
16619
16644
|
REQUIRED
|
|
16620
16645
|
UNIQUE
|
|
16621
16646
|
JWT_SIGNATURE_EXPIRED
|
|
@@ -17063,6 +17088,7 @@ type WarehouseError {
|
|
|
17063
17088
|
"""An enumeration."""
|
|
17064
17089
|
enum WarehouseErrorCode {
|
|
17065
17090
|
ALREADY_EXISTS
|
|
17091
|
+
FORBIDDEN
|
|
17066
17092
|
GRAPHQL_ERROR
|
|
17067
17093
|
INVALID
|
|
17068
17094
|
NOT_FOUND
|
|
@@ -17202,6 +17228,7 @@ enum ShopErrorCode {
|
|
|
17202
17228
|
GRAPHQL_ERROR
|
|
17203
17229
|
INVALID
|
|
17204
17230
|
NOT_FOUND
|
|
17231
|
+
PERMISSION_DENIED
|
|
17205
17232
|
REQUIRED
|
|
17206
17233
|
UNIQUE
|
|
17207
17234
|
NOT_ALLOWED
|
|
@@ -17514,6 +17541,7 @@ enum ShippingErrorCode {
|
|
|
17514
17541
|
INVALID
|
|
17515
17542
|
MAX_LESS_THAN_MIN
|
|
17516
17543
|
NOT_FOUND
|
|
17544
|
+
PERMISSION_DENIED
|
|
17517
17545
|
REQUIRED
|
|
17518
17546
|
UNIQUE
|
|
17519
17547
|
DUPLICATED_INPUT_ITEM
|
|
@@ -17938,6 +17966,7 @@ type ProductError {
|
|
|
17938
17966
|
enum ProductErrorCode {
|
|
17939
17967
|
ALREADY_EXISTS
|
|
17940
17968
|
ATTRIBUTE_ALREADY_ASSIGNED
|
|
17969
|
+
PERMISSION_DENIED
|
|
17941
17970
|
ATTRIBUTE_CANNOT_BE_ASSIGNED
|
|
17942
17971
|
ATTRIBUTE_VARIANTS_DISABLED
|
|
17943
17972
|
ATTRIBUTE_VALUE_CANNOT_BE_CREATED
|
|
@@ -20728,6 +20757,7 @@ enum MetadataErrorCode {
|
|
|
20728
20757
|
GRAPHQL_ERROR
|
|
20729
20758
|
INVALID
|
|
20730
20759
|
NOT_FOUND
|
|
20760
|
+
PERMISSION_DENIED
|
|
20731
20761
|
REQUIRED
|
|
20732
20762
|
}
|
|
20733
20763
|
|
|
@@ -21064,6 +21094,7 @@ type PluginError {
|
|
|
21064
21094
|
|
|
21065
21095
|
"""An enumeration."""
|
|
21066
21096
|
enum PluginErrorCode {
|
|
21097
|
+
FORBIDDEN
|
|
21067
21098
|
GRAPHQL_ERROR
|
|
21068
21099
|
INVALID
|
|
21069
21100
|
PLUGIN_MISCONFIGURED
|
|
@@ -21382,12 +21413,6 @@ type VoucherRemoveCatalogues {
|
|
|
21382
21413
|
discountErrors: [DiscountError!]!
|
|
21383
21414
|
}
|
|
21384
21415
|
|
|
21385
|
-
"""Gets and sets Explo dashboard embedding token in cookies"""
|
|
21386
|
-
type DashboardEmbeddingToken {
|
|
21387
|
-
"""JWT token for embedding"""
|
|
21388
|
-
token: String
|
|
21389
|
-
}
|
|
21390
|
-
|
|
21391
21416
|
"""Export products to csv file."""
|
|
21392
21417
|
type ProductsExport {
|
|
21393
21418
|
"""
|
|
@@ -21412,6 +21437,7 @@ type ExportError {
|
|
|
21412
21437
|
|
|
21413
21438
|
"""An enumeration."""
|
|
21414
21439
|
enum ExportErrorCode {
|
|
21440
|
+
FORBIDDEN
|
|
21415
21441
|
INVALID
|
|
21416
21442
|
NOT_FOUND
|
|
21417
21443
|
REQUIRED
|
|
@@ -22346,6 +22372,86 @@ enum OauthProviderSourceEnum {
|
|
|
22346
22372
|
WORKOS
|
|
22347
22373
|
}
|
|
22348
22374
|
|
|
22375
|
+
"""
|
|
22376
|
+
Generate analytics CSV export and return a signed download URL. The URL provides direct access to the file in cloud storage.
|
|
22377
|
+
"""
|
|
22378
|
+
type AnalyticsExportCSV {
|
|
22379
|
+
"""Signed URL for downloading the CSV file. Expires in 1 hour."""
|
|
22380
|
+
downloadUrl: String
|
|
22381
|
+
|
|
22382
|
+
"""Filename of the export (e.g., 'analytics_orders_20240101.csv')"""
|
|
22383
|
+
filename: String
|
|
22384
|
+
|
|
22385
|
+
"""Number of data rows in the export (excluding header)"""
|
|
22386
|
+
rowCount: Int
|
|
22387
|
+
|
|
22388
|
+
"""Errors that occurred during the mutation"""
|
|
22389
|
+
errors: [AnalyticsExportError!]!
|
|
22390
|
+
}
|
|
22391
|
+
|
|
22392
|
+
"""Error type for analytics export mutations."""
|
|
22393
|
+
type AnalyticsExportError {
|
|
22394
|
+
"""Name of a field that caused the error"""
|
|
22395
|
+
field: String
|
|
22396
|
+
|
|
22397
|
+
"""Error message"""
|
|
22398
|
+
message: String
|
|
22399
|
+
|
|
22400
|
+
"""The error code"""
|
|
22401
|
+
code: AnalyticsExportErrorCode!
|
|
22402
|
+
}
|
|
22403
|
+
|
|
22404
|
+
"""Error codes for analytics export mutations."""
|
|
22405
|
+
enum AnalyticsExportErrorCode {
|
|
22406
|
+
INVALID_DATE_RANGE
|
|
22407
|
+
PERMISSION_DENIED
|
|
22408
|
+
EXPORT_TYPE_NOT_AVAILABLE
|
|
22409
|
+
INVALID
|
|
22410
|
+
}
|
|
22411
|
+
|
|
22412
|
+
"""Input for requesting an analytics CSV export."""
|
|
22413
|
+
input AnalyticsExportCSVInput {
|
|
22414
|
+
"""Type of analytics data to export"""
|
|
22415
|
+
exportType: AnalyticsExportTypeEnum!
|
|
22416
|
+
|
|
22417
|
+
"""Date range for the export"""
|
|
22418
|
+
dateRange: AnalyticsDateRangeInput!
|
|
22419
|
+
}
|
|
22420
|
+
|
|
22421
|
+
"""Types of analytics data that can be exported."""
|
|
22422
|
+
enum AnalyticsExportTypeEnum {
|
|
22423
|
+
MARKETPLACE_ORDERS
|
|
22424
|
+
SELLER_ORDERS
|
|
22425
|
+
ORDER_LINE_ITEMS
|
|
22426
|
+
CUSTOMERS
|
|
22427
|
+
PRODUCT_INVENTORY
|
|
22428
|
+
PAYOUTS
|
|
22429
|
+
SELLER_PAYOUTS
|
|
22430
|
+
SALES_VELOCITY
|
|
22431
|
+
}
|
|
22432
|
+
|
|
22433
|
+
"""
|
|
22434
|
+
Get a download URL for analytics CSV export. The URL triggers a synchronous download - navigate to it to download the file.
|
|
22435
|
+
"""
|
|
22436
|
+
type AnalyticsExportUrl {
|
|
22437
|
+
"""
|
|
22438
|
+
Download URL for the CSV export. Navigate to this URL to trigger download.
|
|
22439
|
+
"""
|
|
22440
|
+
url: String
|
|
22441
|
+
|
|
22442
|
+
"""Errors that occurred during the mutation"""
|
|
22443
|
+
errors: [AnalyticsExportError!]!
|
|
22444
|
+
}
|
|
22445
|
+
|
|
22446
|
+
"""Input for requesting an analytics export URL."""
|
|
22447
|
+
input AnalyticsExportUrlInput {
|
|
22448
|
+
"""Type of analytics data to export"""
|
|
22449
|
+
exportType: AnalyticsExportTypeEnum!
|
|
22450
|
+
|
|
22451
|
+
"""Date range for the export"""
|
|
22452
|
+
dateRange: AnalyticsDateRangeInput!
|
|
22453
|
+
}
|
|
22454
|
+
|
|
22349
22455
|
"""Create JWT token."""
|
|
22350
22456
|
type TokenCreate {
|
|
22351
22457
|
"""JWT token, required to authenticate."""
|
|
@@ -22402,6 +22508,7 @@ enum AccountErrorCode {
|
|
|
22402
22508
|
OUT_OF_SCOPE_GROUP
|
|
22403
22509
|
OUT_OF_SCOPE_PERMISSION
|
|
22404
22510
|
OUT_OF_SCOPE_SELLER
|
|
22511
|
+
PERMISSION_DENIED
|
|
22405
22512
|
PASSWORD_ENTIRELY_NUMERIC
|
|
22406
22513
|
PASSWORD_IDENTICAL
|
|
22407
22514
|
PASSWORD_TOO_COMMON
|
|
@@ -22487,7 +22594,7 @@ type AccountConfirm {
|
|
|
22487
22594
|
}
|
|
22488
22595
|
|
|
22489
22596
|
"""
|
|
22490
|
-
Sets the user's password from the token sent by email using the
|
|
22597
|
+
Sets the user's password from the token sent by email using the PasswordRequestReset mutation.
|
|
22491
22598
|
"""
|
|
22492
22599
|
type PasswordSet {
|
|
22493
22600
|
"""JWT token, required to authenticate."""
|