@nautical-commerce/graphql-schema 2.18.0 → 2.20.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 +243 -214
- package/package.json +2 -2
package/nautical/schema.graphql
CHANGED
|
@@ -17,7 +17,7 @@ directive @shareable repeatable on FIELD_DEFINITION | OBJECT
|
|
|
17
17
|
directive @extends on OBJECT | INTERFACE
|
|
18
18
|
|
|
19
19
|
"""Federation @override directive"""
|
|
20
|
-
directive @override(from: String
|
|
20
|
+
directive @override(from: String!, label: String) on FIELD_DEFINITION
|
|
21
21
|
|
|
22
22
|
"""Federation @inaccessible directive"""
|
|
23
23
|
directive @inaccessible on FIELD_DEFINITION | OBJECT | INTERFACE | UNION | ENUM | ENUM_VALUE | SCALAR | INPUT_OBJECT | INPUT_FIELD_DEFINITION | ARGUMENT_DEFINITION
|
|
@@ -40,6 +40,18 @@ directive @requiresScopes(scopes: [[federation__Scope!]!]!) on FIELD_DEFINITION
|
|
|
40
40
|
"""Federation @policy directive"""
|
|
41
41
|
directive @policy(policies: [[federation__Policy!]!]!) on FIELD_DEFINITION | OBJECT | INTERFACE | SCALAR | ENUM
|
|
42
42
|
|
|
43
|
+
"""Federation @context directive"""
|
|
44
|
+
directive @context(name: String!) repeatable on OBJECT | INTERFACE | UNION
|
|
45
|
+
|
|
46
|
+
"""Federation @fromContext directive"""
|
|
47
|
+
directive @from_context(field: federation__ContextFieldValue) on ARGUMENT_DEFINITION
|
|
48
|
+
|
|
49
|
+
"""Federation @listSize directive"""
|
|
50
|
+
directive @listSize(assumedSize: Int, slicingArguments: [String!], sizedFields: [String!], requireOneSlicingArgument: Boolean) on FIELD_DEFINITION
|
|
51
|
+
|
|
52
|
+
"""Federation @cost directive"""
|
|
53
|
+
directive @cost(weight: Int!) on ARGUMENT_DEFINITION | FIELD_DEFINITION | INPUT_FIELD_DEFINITION | OBJECT | SCALAR | ENUM
|
|
54
|
+
|
|
43
55
|
"""
|
|
44
56
|
Custom Decimal implementation.
|
|
45
57
|
|
|
@@ -2708,7 +2720,7 @@ type ProductVariant implements Node & ObjectWithMetadata {
|
|
|
2708
2720
|
"""
|
|
2709
2721
|
warnings: [WarningMessageItem!]!
|
|
2710
2722
|
|
|
2711
|
-
"""
|
|
2723
|
+
"""Shopify webhook events related to this variant"""
|
|
2712
2724
|
webhookHistory(
|
|
2713
2725
|
"""Return the elements in the list that come before the specified cursor."""
|
|
2714
2726
|
before: String
|
|
@@ -2721,7 +2733,7 @@ type ProductVariant implements Node & ObjectWithMetadata {
|
|
|
2721
2733
|
|
|
2722
2734
|
"""Return the last n elements from the list."""
|
|
2723
2735
|
last: Int
|
|
2724
|
-
):
|
|
2736
|
+
): ShopifyWebhookTransactionCountableConnection
|
|
2725
2737
|
}
|
|
2726
2738
|
|
|
2727
2739
|
"""An enumeration."""
|
|
@@ -2909,7 +2921,7 @@ type Product implements Node & ObjectWithMetadata {
|
|
|
2909
2921
|
"""Displays whether the product has warnings or not."""
|
|
2910
2922
|
hasWarnings: Boolean
|
|
2911
2923
|
|
|
2912
|
-
"""
|
|
2924
|
+
"""Shopify webhook events related to this product"""
|
|
2913
2925
|
webhookHistory(
|
|
2914
2926
|
"""Return the elements in the list that come before the specified cursor."""
|
|
2915
2927
|
before: String
|
|
@@ -2922,7 +2934,7 @@ type Product implements Node & ObjectWithMetadata {
|
|
|
2922
2934
|
|
|
2923
2935
|
"""Return the last n elements from the list."""
|
|
2924
2936
|
last: Int
|
|
2925
|
-
):
|
|
2937
|
+
): ShopifyWebhookTransactionCountableConnection
|
|
2926
2938
|
}
|
|
2927
2939
|
|
|
2928
2940
|
"""
|
|
@@ -7390,27 +7402,27 @@ enum ProductWarningEnum {
|
|
|
7390
7402
|
DEFAULT_VARIANT_REQUIRED
|
|
7391
7403
|
}
|
|
7392
7404
|
|
|
7393
|
-
type
|
|
7405
|
+
type ShopifyWebhookTransactionCountableConnection {
|
|
7394
7406
|
"""Pagination data for this connection."""
|
|
7395
7407
|
pageInfo: PageInfo!
|
|
7396
|
-
edges: [
|
|
7408
|
+
edges: [ShopifyWebhookTransactionCountableEdge!]!
|
|
7397
7409
|
|
|
7398
7410
|
"""A total count of items in the collection."""
|
|
7399
7411
|
totalCount: Int
|
|
7400
7412
|
}
|
|
7401
7413
|
|
|
7402
|
-
type
|
|
7414
|
+
type ShopifyWebhookTransactionCountableEdge {
|
|
7403
7415
|
"""The item at the end of the edge."""
|
|
7404
|
-
node:
|
|
7416
|
+
node: ShopifyWebhookTransaction!
|
|
7405
7417
|
|
|
7406
7418
|
"""A cursor for use in pagination."""
|
|
7407
7419
|
cursor: String!
|
|
7408
7420
|
}
|
|
7409
7421
|
|
|
7410
7422
|
"""
|
|
7411
|
-
|
|
7423
|
+
Shopify webhook transaction from the new plugin-based architecture. Uses synchronous processing (no Celery queue bugs) and preserves all Shopify data for debugging and future field mapping updates.
|
|
7412
7424
|
"""
|
|
7413
|
-
type
|
|
7425
|
+
type ShopifyWebhookTransaction implements Node & Job {
|
|
7414
7426
|
"""The ID of the object"""
|
|
7415
7427
|
id: ID!
|
|
7416
7428
|
|
|
@@ -7427,148 +7439,81 @@ type WebhookJob implements Node & Job {
|
|
|
7427
7439
|
updatedAt: DateTime!
|
|
7428
7440
|
tenant: Tenant!
|
|
7429
7441
|
|
|
7430
|
-
"""
|
|
7431
|
-
|
|
7432
|
-
|
|
7433
|
-
"""Request headers and metadata"""
|
|
7434
|
-
requestMeta: JSONString
|
|
7435
|
-
|
|
7436
|
-
"""Webhook source (e.g., 'shopify')"""
|
|
7437
|
-
source: String
|
|
7438
|
-
|
|
7439
|
-
"""Normalized event type"""
|
|
7440
|
-
type: GenericWebhookTransactionType
|
|
7441
|
-
|
|
7442
|
-
"""Link to vendor entity. DEPRECATED: No longer used."""
|
|
7443
|
-
vendorEntityLink: String @deprecated(reason: "This will be removed on September 26, 2025")
|
|
7442
|
+
"""Seller associated with this webhook"""
|
|
7443
|
+
seller: Seller!
|
|
7444
7444
|
|
|
7445
7445
|
"""
|
|
7446
|
-
|
|
7446
|
+
Shopify event type (e.g., 'products/create', 'inventory_levels/update')
|
|
7447
7447
|
"""
|
|
7448
|
-
|
|
7448
|
+
eventType: String
|
|
7449
7449
|
|
|
7450
|
-
"""
|
|
7451
|
-
|
|
7450
|
+
"""Shop domain that sent the webhook (e.g., 'my-store.myshopify.com')"""
|
|
7451
|
+
shopifyDomain: String
|
|
7452
|
+
|
|
7453
|
+
"""Shopify's webhook ID from X-Shopify-Webhook-Id header"""
|
|
7454
|
+
shopifyWebhookId: String
|
|
7452
7455
|
|
|
7453
7456
|
"""
|
|
7454
|
-
Complete unmodified webhook payload. Preserves
|
|
7457
|
+
Complete unmodified Shopify webhook payload. Preserves ALL fields from Shopify, including unmapped ones. Use this for debugging or accessing fields not yet in Nautical schema.
|
|
7455
7458
|
"""
|
|
7456
7459
|
rawPayload: JSONString
|
|
7457
7460
|
|
|
7458
7461
|
"""
|
|
7459
|
-
Data after field mapping transformation applied. Shows what values were extracted from raw_payload and how they were transformed. Compare with validation_errors to see which fields had issues.
|
|
7462
|
+
Data after field mapping transformation applied. Shows what values were extracted from raw_payload and how they were transformed to Nautical format. Compare with validation_errors to see which fields had issues.
|
|
7460
7463
|
"""
|
|
7461
7464
|
mappedData: JSONString
|
|
7462
7465
|
|
|
7463
7466
|
"""
|
|
7464
|
-
|
|
7467
|
+
Shopify fields that don't have Nautical field mappings. Preserved for future use. If you see important data here, you can configure custom field mappings in your plugin settings.
|
|
7465
7468
|
"""
|
|
7466
7469
|
unmappedFields: JSONString
|
|
7467
7470
|
|
|
7468
7471
|
"""
|
|
7469
|
-
|
|
7472
|
+
Version of Shopify field mapping configuration used (e.g., '1.0.0'). Used to track schema evolution. If mappings change, you can identify which webhooks used old vs new mappings.
|
|
7470
7473
|
"""
|
|
7471
|
-
|
|
7474
|
+
fieldMappingVersion: String
|
|
7472
7475
|
|
|
7473
7476
|
"""
|
|
7474
|
-
|
|
7477
|
+
Shopify-specific processing context. Includes: API version, processing time, retry count, etc. Useful for performance analysis and debugging.
|
|
7475
7478
|
"""
|
|
7476
|
-
|
|
7479
|
+
processingMetadata: JSONString
|
|
7477
7480
|
|
|
7478
7481
|
"""
|
|
7479
|
-
|
|
7482
|
+
Per-field validation errors with severity levels. Format: {field_name: {message, severity, value}}. Severity: 'warning' (non-critical), 'error' (needs fixing), 'critical' (blocks creation).
|
|
7480
7483
|
"""
|
|
7481
|
-
|
|
7484
|
+
validationErrors: JSONString
|
|
7482
7485
|
|
|
7483
7486
|
"""
|
|
7484
|
-
List of successfully created entities. Format: ['product:123', 'variant:456', '
|
|
7487
|
+
List of successfully created entities. Format: ['product:uuid-123', 'variant:uuid-456', 'stock:uuid-789']. Use this to track what Nautical entities were created from the Shopify webhook.
|
|
7485
7488
|
"""
|
|
7486
7489
|
entitiesCreated: [String]
|
|
7487
7490
|
|
|
7488
7491
|
"""
|
|
7489
|
-
List of entities that failed creation with error details. Format: [{type, error, details}]. Review this to understand why some entities couldn't be created.
|
|
7492
|
+
List of entities that failed creation with error details. Format: [{type, shopify_id, error, details}]. Review this to understand why some entities couldn't be created.
|
|
7490
7493
|
"""
|
|
7491
7494
|
entitiesFailed: JSONString
|
|
7492
7495
|
|
|
7493
7496
|
"""
|
|
7494
|
-
True if webhook processing succeeded for some but not all entities. Example: Product created but 2 out of 5
|
|
7497
|
+
True if webhook processing succeeded for some but not all entities. Example: Product created but 2 out of 5 variants failed validation. Check entities_failed for details on what went wrong.
|
|
7495
7498
|
"""
|
|
7496
7499
|
isPartialSuccess: Boolean
|
|
7497
|
-
}
|
|
7498
|
-
|
|
7499
|
-
"""An enumeration."""
|
|
7500
|
-
enum GenericWebhookTransactionType {
|
|
7501
|
-
"""A payload for order update was received"""
|
|
7502
|
-
ORDER_UPDATE
|
|
7503
|
-
|
|
7504
|
-
"""A payload for order cancel was received"""
|
|
7505
|
-
ORDER_CANCEL
|
|
7506
|
-
|
|
7507
|
-
"""A payload for product create was received."""
|
|
7508
|
-
PRODUCT_CREATE
|
|
7509
|
-
|
|
7510
|
-
"""A payload for product update was received."""
|
|
7511
|
-
PRODUCT_UPDATE
|
|
7512
|
-
|
|
7513
|
-
"""A payload for product delete was received."""
|
|
7514
|
-
PRODUCT_DELETE
|
|
7515
|
-
|
|
7516
|
-
"""A payload for product inventory tracking update was received."""
|
|
7517
|
-
INVENTORY_TRACKING_UPDATE
|
|
7518
|
-
|
|
7519
|
-
"""A payload for stock create was received."""
|
|
7520
|
-
STOCK_CREATE
|
|
7521
|
-
|
|
7522
|
-
"""A payload for stock update was received."""
|
|
7523
|
-
STOCK_UPDATE
|
|
7524
|
-
|
|
7525
|
-
"""A payload for stock delete was received."""
|
|
7526
|
-
STOCK_DELETE
|
|
7527
|
-
|
|
7528
|
-
"""A payload for warehouse create was received."""
|
|
7529
|
-
WAREHOUSE_CREATE
|
|
7530
|
-
|
|
7531
|
-
"""A payload for warehouse update was received."""
|
|
7532
|
-
WAREHOUSE_UPDATE
|
|
7533
|
-
|
|
7534
|
-
"""A payload for warehouse delete was received."""
|
|
7535
|
-
WAREHOUSE_DELETE
|
|
7536
|
-
|
|
7537
|
-
"""A payload for fulfillment create was received."""
|
|
7538
|
-
FULFILLMENT_CREATE
|
|
7539
|
-
|
|
7540
|
-
"""A payload for fulfillment update was received."""
|
|
7541
|
-
FULFILLMENT_UPDATE
|
|
7542
|
-
|
|
7543
|
-
"""A paylod for customer create was received"""
|
|
7544
|
-
CUSTOMER_CREATE
|
|
7545
|
-
|
|
7546
|
-
"""A payload for seller create was received"""
|
|
7547
|
-
SELLER_CREATE
|
|
7548
7500
|
|
|
7549
|
-
"""
|
|
7550
|
-
|
|
7551
|
-
|
|
7552
|
-
|
|
7553
|
-
SHOPIFY_CONNECTION_UPDATED
|
|
7554
|
-
|
|
7555
|
-
"""Shopify store connection failed"""
|
|
7556
|
-
SHOPIFY_CONNECTION_FAILED
|
|
7557
|
-
|
|
7558
|
-
"""Shopify product import started"""
|
|
7559
|
-
SHOPIFY_IMPORT_STARTED
|
|
7501
|
+
"""
|
|
7502
|
+
Link to primary created marketplace entity (e.g., '/products/123'). Use this to navigate directly to the created entity in the Dashboard.
|
|
7503
|
+
"""
|
|
7504
|
+
marketplaceEntityLink: String
|
|
7560
7505
|
|
|
7561
|
-
"""
|
|
7562
|
-
|
|
7506
|
+
"""Product ID if this webhook created/updated a product"""
|
|
7507
|
+
productId: Int
|
|
7563
7508
|
|
|
7564
|
-
"""
|
|
7565
|
-
|
|
7509
|
+
"""ProductVariant ID if this webhook created/updated a variant"""
|
|
7510
|
+
variantId: Int
|
|
7566
7511
|
|
|
7567
|
-
"""
|
|
7568
|
-
|
|
7512
|
+
"""Warehouse ID if this webhook created/updated a warehouse (location)"""
|
|
7513
|
+
warehouseId: Int
|
|
7569
7514
|
|
|
7570
|
-
"""
|
|
7571
|
-
|
|
7515
|
+
"""Stock ID if this webhook created/updated inventory levels"""
|
|
7516
|
+
stockId: Int
|
|
7572
7517
|
}
|
|
7573
7518
|
|
|
7574
7519
|
"""Represents availability of a variant in the storefront."""
|
|
@@ -8469,6 +8414,187 @@ enum WebhookDirectionEnum {
|
|
|
8469
8414
|
EMITTED
|
|
8470
8415
|
}
|
|
8471
8416
|
|
|
8417
|
+
type WebhookJobCountableConnection {
|
|
8418
|
+
"""Pagination data for this connection."""
|
|
8419
|
+
pageInfo: PageInfo!
|
|
8420
|
+
edges: [WebhookJobCountableEdge!]!
|
|
8421
|
+
|
|
8422
|
+
"""A total count of items in the collection."""
|
|
8423
|
+
totalCount: Int
|
|
8424
|
+
}
|
|
8425
|
+
|
|
8426
|
+
type WebhookJobCountableEdge {
|
|
8427
|
+
"""The item at the end of the edge."""
|
|
8428
|
+
node: WebhookJob!
|
|
8429
|
+
|
|
8430
|
+
"""A cursor for use in pagination."""
|
|
8431
|
+
cursor: String!
|
|
8432
|
+
}
|
|
8433
|
+
|
|
8434
|
+
"""
|
|
8435
|
+
Represents incoming webhook transaction with comprehensive data preservation. New ELT-based approach ensures no data loss and supports partial success states.
|
|
8436
|
+
"""
|
|
8437
|
+
type WebhookJob implements Node & Job {
|
|
8438
|
+
"""The ID of the object"""
|
|
8439
|
+
id: ID!
|
|
8440
|
+
|
|
8441
|
+
"""Job status."""
|
|
8442
|
+
status: JobStatusEnum!
|
|
8443
|
+
|
|
8444
|
+
"""Job message."""
|
|
8445
|
+
message: String
|
|
8446
|
+
|
|
8447
|
+
"""Created date time of job in ISO 8601 format."""
|
|
8448
|
+
createdAt: DateTime!
|
|
8449
|
+
|
|
8450
|
+
"""Date time of job last update in ISO 8601 format."""
|
|
8451
|
+
updatedAt: DateTime!
|
|
8452
|
+
tenant: Tenant!
|
|
8453
|
+
|
|
8454
|
+
"""Original webhook payload (legacy field)"""
|
|
8455
|
+
body: JSONString
|
|
8456
|
+
|
|
8457
|
+
"""Request headers and metadata"""
|
|
8458
|
+
requestMeta: JSONString
|
|
8459
|
+
|
|
8460
|
+
"""Webhook source (e.g., 'shopify')"""
|
|
8461
|
+
source: String
|
|
8462
|
+
|
|
8463
|
+
"""Normalized event type"""
|
|
8464
|
+
type: GenericWebhookTransactionType
|
|
8465
|
+
|
|
8466
|
+
"""Link to vendor entity. DEPRECATED: No longer used."""
|
|
8467
|
+
vendorEntityLink: String @deprecated(reason: "This will be removed on September 26, 2025")
|
|
8468
|
+
|
|
8469
|
+
"""
|
|
8470
|
+
Link to marketplace entity (e.g., /products/123). DEPRECATED: Use entities_created instead.
|
|
8471
|
+
"""
|
|
8472
|
+
marketplaceEntityLink: String @deprecated(reason: "This will be removed on September 26, 2025")
|
|
8473
|
+
|
|
8474
|
+
"""Seller associated with this webhook"""
|
|
8475
|
+
seller: Seller
|
|
8476
|
+
|
|
8477
|
+
"""
|
|
8478
|
+
Complete unmodified webhook payload. Preserves all fields from external system, including unmapped ones. Use this for debugging or accessing fields not yet mapped to Nautical.
|
|
8479
|
+
"""
|
|
8480
|
+
rawPayload: JSONString
|
|
8481
|
+
|
|
8482
|
+
"""
|
|
8483
|
+
Data after field mapping transformation applied. Shows what values were extracted from raw_payload and how they were transformed. Compare with validation_errors to see which fields had issues.
|
|
8484
|
+
"""
|
|
8485
|
+
mappedData: JSONString
|
|
8486
|
+
|
|
8487
|
+
"""
|
|
8488
|
+
Fields from webhook that don't have Nautical field mappings. Preserved for future use. If you see important data here, request a custom field mapping configuration.
|
|
8489
|
+
"""
|
|
8490
|
+
unmappedFields: JSONString
|
|
8491
|
+
|
|
8492
|
+
"""
|
|
8493
|
+
Per-field validation errors with severity levels. Format: {field_name: {message, severity, value}}. Severity: 'warning' (non-critical), 'error' (needs fixing), 'critical' (blocks creation).
|
|
8494
|
+
"""
|
|
8495
|
+
validationErrors: JSONString
|
|
8496
|
+
|
|
8497
|
+
"""
|
|
8498
|
+
Version of field mapping configuration used (e.g., '1.0.0'). Used to track schema evolution. If mappings change, you can identify which webhooks used old vs new mappings.
|
|
8499
|
+
"""
|
|
8500
|
+
fieldMappingVersion: String
|
|
8501
|
+
|
|
8502
|
+
"""
|
|
8503
|
+
Additional processing context. Includes: ingestion_method, start_time, end_time, entities_created_count, entities_failed_count. Useful for performance analysis and debugging.
|
|
8504
|
+
"""
|
|
8505
|
+
processingMetadata: JSONString
|
|
8506
|
+
|
|
8507
|
+
"""
|
|
8508
|
+
List of successfully created entities. Format: ['product:123', 'variant:456', 'image:789']. Use this to track what was created from the webhook.
|
|
8509
|
+
"""
|
|
8510
|
+
entitiesCreated: [String]
|
|
8511
|
+
|
|
8512
|
+
"""
|
|
8513
|
+
List of entities that failed creation with error details. Format: [{type, error, details}]. Review this to understand why some entities couldn't be created.
|
|
8514
|
+
"""
|
|
8515
|
+
entitiesFailed: JSONString
|
|
8516
|
+
|
|
8517
|
+
"""
|
|
8518
|
+
True if webhook processing succeeded for some but not all entities. Example: Product created but 2 out of 5 images failed. Check entities_failed for details on what went wrong.
|
|
8519
|
+
"""
|
|
8520
|
+
isPartialSuccess: Boolean
|
|
8521
|
+
}
|
|
8522
|
+
|
|
8523
|
+
"""An enumeration."""
|
|
8524
|
+
enum GenericWebhookTransactionType {
|
|
8525
|
+
"""A payload for order update was received"""
|
|
8526
|
+
ORDER_UPDATE
|
|
8527
|
+
|
|
8528
|
+
"""A payload for order cancel was received"""
|
|
8529
|
+
ORDER_CANCEL
|
|
8530
|
+
|
|
8531
|
+
"""A payload for product create was received."""
|
|
8532
|
+
PRODUCT_CREATE
|
|
8533
|
+
|
|
8534
|
+
"""A payload for product update was received."""
|
|
8535
|
+
PRODUCT_UPDATE
|
|
8536
|
+
|
|
8537
|
+
"""A payload for product delete was received."""
|
|
8538
|
+
PRODUCT_DELETE
|
|
8539
|
+
|
|
8540
|
+
"""A payload for product inventory tracking update was received."""
|
|
8541
|
+
INVENTORY_TRACKING_UPDATE
|
|
8542
|
+
|
|
8543
|
+
"""A payload for stock create was received."""
|
|
8544
|
+
STOCK_CREATE
|
|
8545
|
+
|
|
8546
|
+
"""A payload for stock update was received."""
|
|
8547
|
+
STOCK_UPDATE
|
|
8548
|
+
|
|
8549
|
+
"""A payload for stock delete was received."""
|
|
8550
|
+
STOCK_DELETE
|
|
8551
|
+
|
|
8552
|
+
"""A payload for warehouse create was received."""
|
|
8553
|
+
WAREHOUSE_CREATE
|
|
8554
|
+
|
|
8555
|
+
"""A payload for warehouse update was received."""
|
|
8556
|
+
WAREHOUSE_UPDATE
|
|
8557
|
+
|
|
8558
|
+
"""A payload for warehouse delete was received."""
|
|
8559
|
+
WAREHOUSE_DELETE
|
|
8560
|
+
|
|
8561
|
+
"""A payload for fulfillment create was received."""
|
|
8562
|
+
FULFILLMENT_CREATE
|
|
8563
|
+
|
|
8564
|
+
"""A payload for fulfillment update was received."""
|
|
8565
|
+
FULFILLMENT_UPDATE
|
|
8566
|
+
|
|
8567
|
+
"""A paylod for customer create was received"""
|
|
8568
|
+
CUSTOMER_CREATE
|
|
8569
|
+
|
|
8570
|
+
"""A payload for seller create was received"""
|
|
8571
|
+
SELLER_CREATE
|
|
8572
|
+
|
|
8573
|
+
"""Shopify store successfully connected"""
|
|
8574
|
+
SHOPIFY_CONNECTION_ESTABLISHED
|
|
8575
|
+
|
|
8576
|
+
"""Shopify store connection updated"""
|
|
8577
|
+
SHOPIFY_CONNECTION_UPDATED
|
|
8578
|
+
|
|
8579
|
+
"""Shopify store connection failed"""
|
|
8580
|
+
SHOPIFY_CONNECTION_FAILED
|
|
8581
|
+
|
|
8582
|
+
"""Shopify product import started"""
|
|
8583
|
+
SHOPIFY_IMPORT_STARTED
|
|
8584
|
+
|
|
8585
|
+
"""Shopify product import completed"""
|
|
8586
|
+
SHOPIFY_IMPORT_COMPLETED
|
|
8587
|
+
|
|
8588
|
+
"""Shopify product import failed"""
|
|
8589
|
+
SHOPIFY_IMPORT_FAILED
|
|
8590
|
+
|
|
8591
|
+
"""A payload for vehicles was received"""
|
|
8592
|
+
VEHICLE_PAYLOAD
|
|
8593
|
+
|
|
8594
|
+
"""A payload for item shipment that was received"""
|
|
8595
|
+
ITEM_SHIP_NOTIFY
|
|
8596
|
+
}
|
|
8597
|
+
|
|
8472
8598
|
input WebhookJobFilterInput {
|
|
8473
8599
|
status: [WebhookJobStatus!]
|
|
8474
8600
|
search: String
|
|
@@ -8592,108 +8718,6 @@ enum WebhookJobSortField {
|
|
|
8592
8718
|
CREATED_AT
|
|
8593
8719
|
}
|
|
8594
8720
|
|
|
8595
|
-
type ShopifyWebhookTransactionCountableConnection {
|
|
8596
|
-
"""Pagination data for this connection."""
|
|
8597
|
-
pageInfo: PageInfo!
|
|
8598
|
-
edges: [ShopifyWebhookTransactionCountableEdge!]!
|
|
8599
|
-
|
|
8600
|
-
"""A total count of items in the collection."""
|
|
8601
|
-
totalCount: Int
|
|
8602
|
-
}
|
|
8603
|
-
|
|
8604
|
-
type ShopifyWebhookTransactionCountableEdge {
|
|
8605
|
-
"""The item at the end of the edge."""
|
|
8606
|
-
node: ShopifyWebhookTransaction!
|
|
8607
|
-
|
|
8608
|
-
"""A cursor for use in pagination."""
|
|
8609
|
-
cursor: String!
|
|
8610
|
-
}
|
|
8611
|
-
|
|
8612
|
-
"""
|
|
8613
|
-
Shopify webhook transaction from the new plugin-based architecture. Uses synchronous processing (no Celery queue bugs) and preserves all Shopify data for debugging and future field mapping updates.
|
|
8614
|
-
"""
|
|
8615
|
-
type ShopifyWebhookTransaction implements Node & Job {
|
|
8616
|
-
"""The ID of the object"""
|
|
8617
|
-
id: ID!
|
|
8618
|
-
|
|
8619
|
-
"""Job status."""
|
|
8620
|
-
status: JobStatusEnum!
|
|
8621
|
-
|
|
8622
|
-
"""Job message."""
|
|
8623
|
-
message: String
|
|
8624
|
-
|
|
8625
|
-
"""Created date time of job in ISO 8601 format."""
|
|
8626
|
-
createdAt: DateTime!
|
|
8627
|
-
|
|
8628
|
-
"""Date time of job last update in ISO 8601 format."""
|
|
8629
|
-
updatedAt: DateTime!
|
|
8630
|
-
tenant: Tenant!
|
|
8631
|
-
|
|
8632
|
-
"""Seller associated with this webhook"""
|
|
8633
|
-
seller: Seller!
|
|
8634
|
-
|
|
8635
|
-
"""
|
|
8636
|
-
Shopify event type (e.g., 'products/create', 'inventory_levels/update')
|
|
8637
|
-
"""
|
|
8638
|
-
eventType: String
|
|
8639
|
-
|
|
8640
|
-
"""Shop domain that sent the webhook (e.g., 'my-store.myshopify.com')"""
|
|
8641
|
-
shopifyDomain: String
|
|
8642
|
-
|
|
8643
|
-
"""Shopify's webhook ID from X-Shopify-Webhook-Id header"""
|
|
8644
|
-
shopifyWebhookId: String
|
|
8645
|
-
|
|
8646
|
-
"""
|
|
8647
|
-
Complete unmodified Shopify webhook payload. Preserves ALL fields from Shopify, including unmapped ones. Use this for debugging or accessing fields not yet in Nautical schema.
|
|
8648
|
-
"""
|
|
8649
|
-
rawPayload: JSONString
|
|
8650
|
-
|
|
8651
|
-
"""
|
|
8652
|
-
Data after field mapping transformation applied. Shows what values were extracted from raw_payload and how they were transformed to Nautical format. Compare with validation_errors to see which fields had issues.
|
|
8653
|
-
"""
|
|
8654
|
-
mappedData: JSONString
|
|
8655
|
-
|
|
8656
|
-
"""
|
|
8657
|
-
Shopify fields that don't have Nautical field mappings. Preserved for future use. If you see important data here, you can configure custom field mappings in your plugin settings.
|
|
8658
|
-
"""
|
|
8659
|
-
unmappedFields: JSONString
|
|
8660
|
-
|
|
8661
|
-
"""
|
|
8662
|
-
Version of Shopify field mapping configuration used (e.g., '1.0.0'). Used to track schema evolution. If mappings change, you can identify which webhooks used old vs new mappings.
|
|
8663
|
-
"""
|
|
8664
|
-
fieldMappingVersion: String
|
|
8665
|
-
|
|
8666
|
-
"""
|
|
8667
|
-
Shopify-specific processing context. Includes: API version, processing time, retry count, etc. Useful for performance analysis and debugging.
|
|
8668
|
-
"""
|
|
8669
|
-
processingMetadata: JSONString
|
|
8670
|
-
|
|
8671
|
-
"""
|
|
8672
|
-
Per-field validation errors with severity levels. Format: {field_name: {message, severity, value}}. Severity: 'warning' (non-critical), 'error' (needs fixing), 'critical' (blocks creation).
|
|
8673
|
-
"""
|
|
8674
|
-
validationErrors: JSONString
|
|
8675
|
-
|
|
8676
|
-
"""
|
|
8677
|
-
List of successfully created entities. Format: ['product:uuid-123', 'variant:uuid-456', 'stock:uuid-789']. Use this to track what Nautical entities were created from the Shopify webhook.
|
|
8678
|
-
"""
|
|
8679
|
-
entitiesCreated: [String]
|
|
8680
|
-
|
|
8681
|
-
"""
|
|
8682
|
-
List of entities that failed creation with error details. Format: [{type, shopify_id, error, details}]. Review this to understand why some entities couldn't be created.
|
|
8683
|
-
"""
|
|
8684
|
-
entitiesFailed: JSONString
|
|
8685
|
-
|
|
8686
|
-
"""
|
|
8687
|
-
True if webhook processing succeeded for some but not all entities. Example: Product created but 2 out of 5 variants failed validation. Check entities_failed for details on what went wrong.
|
|
8688
|
-
"""
|
|
8689
|
-
isPartialSuccess: Boolean
|
|
8690
|
-
|
|
8691
|
-
"""
|
|
8692
|
-
Link to primary created marketplace entity (e.g., '/products/123'). Use this to navigate directly to the created entity in the Dashboard.
|
|
8693
|
-
"""
|
|
8694
|
-
marketplaceEntityLink: String
|
|
8695
|
-
}
|
|
8696
|
-
|
|
8697
8721
|
input ShopifyWebhookTransactionFilterInput {
|
|
8698
8722
|
status: [WebhookJobStatus!]
|
|
8699
8723
|
eventType: [ShopifyEventType!]
|
|
@@ -12504,7 +12528,7 @@ type Mutation {
|
|
|
12504
12528
|
description: String
|
|
12505
12529
|
|
|
12506
12530
|
"""
|
|
12507
|
-
Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/
|
|
12531
|
+
Used when uploading a new document or file in a multipart request that does not exist in the system already. Supported file types: application/x-zip-compressed, image/webp, application/postscript, drawing/x-dwg, application/vnd.oasis.opendocument.presentation, image/png, image/x-dxf, text/pdf, image/heic-sequence, image/tif, text/rtf, application/rtf, image/x-tiff, text/svg, application/jpg, image/x-bmp, application/zip, application/dwg, image/vnd.dwg, text/x-csv, application/x-acad, image/eps, image/bmp, application/x-rar-compressed, image/heif, image/x-ms-bmp, application/x-csv, application/msword, image/x-eps, application/x-dxf, application/x-autocad, application/x-gzip, application/vnd.oasis.opendocument.text, text/x-pdf, application/eps, image/x-tif, application/tif, image/jpeg, image/tiff, application/vnd.ms-powerpoint, text/x-comma-separated-values, application/vnd.pdf, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/x-tar, application/x-jpg, text/svg-xml, application/vnd.openxmlformats-officedocument.wordprocessingml.document, image/jpg, application/vnd.ms-word, image/x-dwg, application/x-dwg, pplication/vnd.rar, image/heic, image/svg+xml, image/dxf, text/comma-separated-values, application/x-tiff, application/svg+xml, application/acad, application/acrobat, application/gzip-compressed, application/tiff, text/csv, application/vnd.oasis.opendocument.spreadsheet, drawing/x-dwf, application/vnd.openxmlformats-officedocument.presentationml.slideshow, application/x-rar, application/gzip, application/csv, application/pdf, application/x-rtf, image/heif-sequence, application/x-pdf, image/svg, application/excel, application/dxf, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, image/gif, drawing/dwg, application/x-tif, application/vnd.ms-excel, application/x-eps, text/plain, application/gzipped.
|
|
12508
12532
|
"""
|
|
12509
12533
|
file: Upload!
|
|
12510
12534
|
|
|
@@ -22788,3 +22812,8 @@ scalar federation__Scope
|
|
|
22788
22812
|
|
|
22789
22813
|
"""This string-serialized scalar represents an authorization policy."""
|
|
22790
22814
|
scalar federation__Policy
|
|
22815
|
+
|
|
22816
|
+
"""
|
|
22817
|
+
Contains the name of a defined context and a selection of a field from the context's type
|
|
22818
|
+
"""
|
|
22819
|
+
scalar federation__ContextFieldValue
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nautical-commerce/graphql-schema",
|
|
3
|
-
"version": "v2.
|
|
3
|
+
"version": "v2.20.0",
|
|
4
4
|
"description": "Traide API GraphQL Schema",
|
|
5
5
|
"main": "./nautical/schema.graphql",
|
|
6
6
|
"scripts": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
"homepage": "https://nauticalcommerce.com",
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@graphql-inspector/cli": "^
|
|
24
|
+
"@graphql-inspector/cli": "^6.0.3",
|
|
25
25
|
"graphql": "^16.9.0"
|
|
26
26
|
}
|
|
27
27
|
}
|