@nautical-commerce/graphql-schema 2.30.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 +116 -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."""
|
|
@@ -12724,7 +12728,7 @@ type Mutation {
|
|
|
12724
12728
|
description: String
|
|
12725
12729
|
|
|
12726
12730
|
"""
|
|
12727
|
-
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.
|
|
12728
12732
|
"""
|
|
12729
12733
|
file: Upload!
|
|
12730
12734
|
|
|
@@ -14978,9 +14982,6 @@ type Mutation {
|
|
|
14978
14982
|
input: CatalogueInput!
|
|
14979
14983
|
): VoucherRemoveCatalogues
|
|
14980
14984
|
|
|
14981
|
-
"""Gets and sets Explo dashboard embedding token in cookies"""
|
|
14982
|
-
dashboardEmbeddingToken: DashboardEmbeddingToken
|
|
14983
|
-
|
|
14984
14985
|
"""Export products to csv file."""
|
|
14985
14986
|
productsExport(
|
|
14986
14987
|
"""Fields required to export product data"""
|
|
@@ -15445,6 +15446,22 @@ type Mutation {
|
|
|
15445
15446
|
oauthProviderToken: String!
|
|
15446
15447
|
): CreateCustomerToken
|
|
15447
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
|
+
|
|
15448
15465
|
"""Create JWT token."""
|
|
15449
15466
|
tokenCreate(
|
|
15450
15467
|
"""Email of a user."""
|
|
@@ -15513,7 +15530,7 @@ type Mutation {
|
|
|
15513
15530
|
): AccountConfirm
|
|
15514
15531
|
|
|
15515
15532
|
"""
|
|
15516
|
-
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.
|
|
15517
15534
|
"""
|
|
15518
15535
|
passwordSet(
|
|
15519
15536
|
"""Email of a user."""
|
|
@@ -15819,6 +15836,7 @@ type TenantError {
|
|
|
15819
15836
|
|
|
15820
15837
|
"""An enumeration."""
|
|
15821
15838
|
enum TenantErrorCode {
|
|
15839
|
+
FORBIDDEN
|
|
15822
15840
|
NOT_FOUND
|
|
15823
15841
|
REQUIRED
|
|
15824
15842
|
GRAPHQL_ERROR
|
|
@@ -16418,6 +16436,7 @@ enum AgreementErrorCode {
|
|
|
16418
16436
|
GRAPHQL_ERROR
|
|
16419
16437
|
INVALID
|
|
16420
16438
|
NOT_FOUND
|
|
16439
|
+
PERMISSION_DENIED
|
|
16421
16440
|
REQUIRED
|
|
16422
16441
|
UNIQUE
|
|
16423
16442
|
EXISTING_VENDOR_AGREEMENTS
|
|
@@ -16621,6 +16640,7 @@ enum SellerErrorCode {
|
|
|
16621
16640
|
INVALID
|
|
16622
16641
|
INVALID_PHONE
|
|
16623
16642
|
NOT_FOUND
|
|
16643
|
+
PERMISSION_DENIED
|
|
16624
16644
|
REQUIRED
|
|
16625
16645
|
UNIQUE
|
|
16626
16646
|
JWT_SIGNATURE_EXPIRED
|
|
@@ -17068,6 +17088,7 @@ type WarehouseError {
|
|
|
17068
17088
|
"""An enumeration."""
|
|
17069
17089
|
enum WarehouseErrorCode {
|
|
17070
17090
|
ALREADY_EXISTS
|
|
17091
|
+
FORBIDDEN
|
|
17071
17092
|
GRAPHQL_ERROR
|
|
17072
17093
|
INVALID
|
|
17073
17094
|
NOT_FOUND
|
|
@@ -17207,6 +17228,7 @@ enum ShopErrorCode {
|
|
|
17207
17228
|
GRAPHQL_ERROR
|
|
17208
17229
|
INVALID
|
|
17209
17230
|
NOT_FOUND
|
|
17231
|
+
PERMISSION_DENIED
|
|
17210
17232
|
REQUIRED
|
|
17211
17233
|
UNIQUE
|
|
17212
17234
|
NOT_ALLOWED
|
|
@@ -17519,6 +17541,7 @@ enum ShippingErrorCode {
|
|
|
17519
17541
|
INVALID
|
|
17520
17542
|
MAX_LESS_THAN_MIN
|
|
17521
17543
|
NOT_FOUND
|
|
17544
|
+
PERMISSION_DENIED
|
|
17522
17545
|
REQUIRED
|
|
17523
17546
|
UNIQUE
|
|
17524
17547
|
DUPLICATED_INPUT_ITEM
|
|
@@ -17943,6 +17966,7 @@ type ProductError {
|
|
|
17943
17966
|
enum ProductErrorCode {
|
|
17944
17967
|
ALREADY_EXISTS
|
|
17945
17968
|
ATTRIBUTE_ALREADY_ASSIGNED
|
|
17969
|
+
PERMISSION_DENIED
|
|
17946
17970
|
ATTRIBUTE_CANNOT_BE_ASSIGNED
|
|
17947
17971
|
ATTRIBUTE_VARIANTS_DISABLED
|
|
17948
17972
|
ATTRIBUTE_VALUE_CANNOT_BE_CREATED
|
|
@@ -20733,6 +20757,7 @@ enum MetadataErrorCode {
|
|
|
20733
20757
|
GRAPHQL_ERROR
|
|
20734
20758
|
INVALID
|
|
20735
20759
|
NOT_FOUND
|
|
20760
|
+
PERMISSION_DENIED
|
|
20736
20761
|
REQUIRED
|
|
20737
20762
|
}
|
|
20738
20763
|
|
|
@@ -21069,6 +21094,7 @@ type PluginError {
|
|
|
21069
21094
|
|
|
21070
21095
|
"""An enumeration."""
|
|
21071
21096
|
enum PluginErrorCode {
|
|
21097
|
+
FORBIDDEN
|
|
21072
21098
|
GRAPHQL_ERROR
|
|
21073
21099
|
INVALID
|
|
21074
21100
|
PLUGIN_MISCONFIGURED
|
|
@@ -21387,12 +21413,6 @@ type VoucherRemoveCatalogues {
|
|
|
21387
21413
|
discountErrors: [DiscountError!]!
|
|
21388
21414
|
}
|
|
21389
21415
|
|
|
21390
|
-
"""Gets and sets Explo dashboard embedding token in cookies"""
|
|
21391
|
-
type DashboardEmbeddingToken {
|
|
21392
|
-
"""JWT token for embedding"""
|
|
21393
|
-
token: String
|
|
21394
|
-
}
|
|
21395
|
-
|
|
21396
21416
|
"""Export products to csv file."""
|
|
21397
21417
|
type ProductsExport {
|
|
21398
21418
|
"""
|
|
@@ -21417,6 +21437,7 @@ type ExportError {
|
|
|
21417
21437
|
|
|
21418
21438
|
"""An enumeration."""
|
|
21419
21439
|
enum ExportErrorCode {
|
|
21440
|
+
FORBIDDEN
|
|
21420
21441
|
INVALID
|
|
21421
21442
|
NOT_FOUND
|
|
21422
21443
|
REQUIRED
|
|
@@ -22351,6 +22372,86 @@ enum OauthProviderSourceEnum {
|
|
|
22351
22372
|
WORKOS
|
|
22352
22373
|
}
|
|
22353
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
|
+
|
|
22354
22455
|
"""Create JWT token."""
|
|
22355
22456
|
type TokenCreate {
|
|
22356
22457
|
"""JWT token, required to authenticate."""
|
|
@@ -22407,6 +22508,7 @@ enum AccountErrorCode {
|
|
|
22407
22508
|
OUT_OF_SCOPE_GROUP
|
|
22408
22509
|
OUT_OF_SCOPE_PERMISSION
|
|
22409
22510
|
OUT_OF_SCOPE_SELLER
|
|
22511
|
+
PERMISSION_DENIED
|
|
22410
22512
|
PASSWORD_ENTIRELY_NUMERIC
|
|
22411
22513
|
PASSWORD_IDENTICAL
|
|
22412
22514
|
PASSWORD_TOO_COMMON
|
|
@@ -22492,7 +22594,7 @@ type AccountConfirm {
|
|
|
22492
22594
|
}
|
|
22493
22595
|
|
|
22494
22596
|
"""
|
|
22495
|
-
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.
|
|
22496
22598
|
"""
|
|
22497
22599
|
type PasswordSet {
|
|
22498
22600
|
"""JWT token, required to authenticate."""
|