shopify-webhook-schemas 0.3.0 → 0.3.2
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/metadatas/2026-01/app/scopes_update.json +24 -0
- package/metadatas/2026-01/app/uninstalled.json +70 -0
- package/metadatas/2026-01/app_purchases_one_time/update.json +21 -0
- package/metadatas/2026-01/app_subscriptions/approaching_capped_amount.json +23 -0
- package/metadatas/2026-01/app_subscriptions/update.json +27 -0
- package/metadatas/2026-01/audit_events/admin_api_activity.json +67 -0
- package/metadatas/2026-01/bulk_operations/finish.json +20 -0
- package/metadatas/2026-01/carts/create.json +98 -0
- package/metadatas/2026-01/carts/update.json +98 -0
- package/metadatas/2026-01/channels/delete.json +18 -0
- package/metadatas/2026-01/checkouts/create.json +258 -0
- package/metadatas/2026-01/checkouts/delete.json +29 -0
- package/metadatas/2026-01/checkouts/update.json +258 -0
- package/metadatas/2026-01/collection_listings/add.json +28 -0
- package/metadatas/2026-01/collection_listings/remove.json +20 -0
- package/metadatas/2026-01/collection_listings/update.json +28 -0
- package/metadatas/2026-01/collection_publications/create.json +24 -0
- package/metadatas/2026-01/collection_publications/delete.json +18 -0
- package/metadatas/2026-01/collection_publications/update.json +24 -0
- package/metadatas/2026-01/collections/create.json +27 -0
- package/metadatas/2026-01/collections/delete.json +20 -0
- package/metadatas/2026-01/collections/update.json +27 -0
- package/metadatas/2026-01/companies/create.json +29 -0
- package/metadatas/2026-01/companies/delete.json +26 -0
- package/metadatas/2026-01/companies/update.json +29 -0
- package/metadatas/2026-01/company_contact_roles/assign.json +114 -0
- package/metadatas/2026-01/company_contact_roles/revoke.json +114 -0
- package/metadatas/2026-01/company_contacts/create.json +37 -0
- package/metadatas/2026-01/company_contacts/delete.json +34 -0
- package/metadatas/2026-01/company_contacts/update.json +37 -0
- package/metadatas/2026-01/company_locations/create.json +91 -0
- package/metadatas/2026-01/company_locations/delete.json +88 -0
- package/metadatas/2026-01/company_locations/update.json +91 -0
- package/metadatas/2026-01/customer.joined_segment.json +18 -0
- package/metadatas/2026-01/customer.left_segment.json +18 -0
- package/metadatas/2026-01/customer.tags_added.json +25 -0
- package/metadatas/2026-01/customer.tags_removed.json +25 -0
- package/metadatas/2026-01/customer_account_settings/update.json +17 -0
- package/metadatas/2026-01/customer_groups/create.json +25 -0
- package/metadatas/2026-01/customer_groups/delete.json +21 -0
- package/metadatas/2026-01/customer_groups/update.json +22 -0
- package/metadatas/2026-01/customer_payment_methods/create.json +33 -0
- package/metadatas/2026-01/customer_payment_methods/revoke.json +33 -0
- package/metadatas/2026-01/customer_payment_methods/update.json +33 -0
- package/metadatas/2026-01/customers/create.json +55 -0
- package/metadatas/2026-01/customers/data_request.json +27 -0
- package/metadatas/2026-01/customers/delete.json +20 -0
- package/metadatas/2026-01/customers/disable.json +55 -0
- package/metadatas/2026-01/customers/enable.json +55 -0
- package/metadatas/2026-01/customers/merge.json +30 -0
- package/metadatas/2026-01/customers/purchasing_summary.json +27 -0
- package/metadatas/2026-01/customers/redact.json +24 -0
- package/metadatas/2026-01/customers/update.json +55 -0
- package/metadatas/2026-01/customers_email_marketing_consent/update.json +27 -0
- package/metadatas/2026-01/customers_marketing_consent/update.json +28 -0
- package/metadatas/2026-01/delivery_promise_settings/update.json +19 -0
- package/metadatas/2026-01/discounts/create.json +22 -0
- package/metadatas/2026-01/discounts/delete.json +19 -0
- package/metadatas/2026-01/discounts/redeemcode_added.json +23 -0
- package/metadatas/2026-01/discounts/redeemcode_removed.json +23 -0
- package/metadatas/2026-01/discounts/update.json +22 -0
- package/metadatas/2026-01/disputes/create.json +32 -0
- package/metadatas/2026-01/disputes/update.json +32 -0
- package/metadatas/2026-01/domains/create.json +22 -0
- package/metadatas/2026-01/domains/destroy.json +22 -0
- package/metadatas/2026-01/domains/update.json +22 -0
- package/metadatas/2026-01/draft_orders/create.json +244 -0
- package/metadatas/2026-01/draft_orders/delete.json +18 -0
- package/metadatas/2026-01/draft_orders/update.json +244 -0
- package/metadatas/2026-01/finance_app_staff_member/delete.json +16 -0
- package/metadatas/2026-01/finance_app_staff_member/grant.json +16 -0
- package/metadatas/2026-01/finance_app_staff_member/revoke.json +16 -0
- package/metadatas/2026-01/finance_app_staff_member/update.json +16 -0
- package/metadatas/2026-01/finance_kyc_information/update.json +16 -0
- package/metadatas/2026-01/fulfillment_events/create.json +38 -0
- package/metadatas/2026-01/fulfillment_events/delete.json +35 -0
- package/metadatas/2026-01/fulfillment_holds/added.json +32 -0
- package/metadatas/2026-01/fulfillment_holds/released.json +32 -0
- package/metadatas/2026-01/fulfillment_orders/cancellation_request_accepted.json +25 -0
- package/metadatas/2026-01/fulfillment_orders/cancellation_request_rejected.json +26 -0
- package/metadatas/2026-01/fulfillment_orders/cancellation_request_submitted.json +29 -0
- package/metadatas/2026-01/fulfillment_orders/cancelled.json +28 -0
- package/metadatas/2026-01/fulfillment_orders/fulfillment_request_accepted.json +26 -0
- package/metadatas/2026-01/fulfillment_orders/fulfillment_request_rejected.json +26 -0
- package/metadatas/2026-01/fulfillment_orders/fulfillment_request_submitted.json +34 -0
- package/metadatas/2026-01/fulfillment_orders/fulfillment_service_failed_to_complete.json +25 -0
- package/metadatas/2026-01/fulfillment_orders/hold_released.json +24 -0
- package/metadatas/2026-01/fulfillment_orders/line_items_prepared_for_local_delivery.json +28 -0
- package/metadatas/2026-01/fulfillment_orders/line_items_prepared_for_pickup.json +28 -0
- package/metadatas/2026-01/fulfillment_orders/merged.json +45 -0
- package/metadatas/2026-01/fulfillment_orders/moved.json +40 -0
- package/metadatas/2026-01/fulfillment_orders/order_routing_complete.json +25 -0
- package/metadatas/2026-01/fulfillment_orders/placed_on_hold.json +66 -0
- package/metadatas/2026-01/fulfillment_orders/rescheduled.json +25 -0
- package/metadatas/2026-01/fulfillment_orders/scheduled_fulfillment_order_ready.json +24 -0
- package/metadatas/2026-01/fulfillment_orders/split.json +37 -0
- package/metadatas/2026-01/fulfillments/create.json +326 -0
- package/metadatas/2026-01/fulfillments/update.json +326 -0
- package/metadatas/2026-01/inventory_items/create.json +32 -0
- package/metadatas/2026-01/inventory_items/delete.json +24 -0
- package/metadatas/2026-01/inventory_items/update.json +32 -0
- package/metadatas/2026-01/inventory_levels/connect.json +16 -0
- package/metadatas/2026-01/inventory_levels/disconnect.json +19 -0
- package/metadatas/2026-01/inventory_levels/update.json +16 -0
- package/metadatas/2026-01/locales/create.json +19 -0
- package/metadatas/2026-01/locales/update.json +19 -0
- package/metadatas/2026-01/locations/activate.json +34 -0
- package/metadatas/2026-01/locations/create.json +34 -0
- package/metadatas/2026-01/locations/deactivate.json +34 -0
- package/metadatas/2026-01/locations/delete.json +18 -0
- package/metadatas/2026-01/locations/update.json +34 -0
- package/metadatas/2026-01/markets/create.json +21 -0
- package/metadatas/2026-01/markets/delete.json +18 -0
- package/metadatas/2026-01/markets/update.json +21 -0
- package/metadatas/2026-01/markets_backup_region/update.json +18 -0
- package/metadatas/2026-01/metafield_definitions/create.json +45 -0
- package/metadatas/2026-01/metafield_definitions/delete.json +19 -0
- package/metadatas/2026-01/metafield_definitions/update.json +45 -0
- package/metadatas/2026-01/metaobjects/create.json +33 -0
- package/metadatas/2026-01/metaobjects/delete.json +20 -0
- package/metadatas/2026-01/metaobjects/update.json +33 -0
- package/metadatas/2026-01/order_transactions/create.json +68 -0
- package/metadatas/2026-01/orders/cancelled.json +603 -0
- package/metadatas/2026-01/orders/create.json +602 -0
- package/metadatas/2026-01/orders/delete.json +18 -0
- package/metadatas/2026-01/orders/edited.json +56 -0
- package/metadatas/2026-01/orders/fulfilled.json +602 -0
- package/metadatas/2026-01/orders/paid.json +602 -0
- package/metadatas/2026-01/orders/partially_fulfilled.json +602 -0
- package/metadatas/2026-01/orders/risk_assessment_changed.json +22 -0
- package/metadatas/2026-01/orders/shopify_protect_eligibility_changed.json +22 -0
- package/metadatas/2026-01/orders/updated.json +603 -0
- package/metadatas/2026-01/payment_schedules/due.json +31 -0
- package/metadatas/2026-01/payment_terms/create.json +42 -0
- package/metadatas/2026-01/payment_terms/delete.json +18 -0
- package/metadatas/2026-01/payment_terms/update.json +42 -0
- package/metadatas/2026-01/product_feeds/create.json +21 -0
- package/metadatas/2026-01/product_feeds/full_sync.json +112 -0
- package/metadatas/2026-01/product_feeds/full_sync_finish.json +37 -0
- package/metadatas/2026-01/product_feeds/incremental_sync.json +111 -0
- package/metadatas/2026-01/product_feeds/update.json +21 -0
- package/metadatas/2026-01/product_listings/add.json +105 -0
- package/metadatas/2026-01/product_listings/remove.json +20 -0
- package/metadatas/2026-01/product_listings/update.json +105 -0
- package/metadatas/2026-01/product_publications/create.json +24 -0
- package/metadatas/2026-01/product_publications/delete.json +18 -0
- package/metadatas/2026-01/product_publications/update.json +24 -0
- package/metadatas/2026-01/products/create.json +93 -0
- package/metadatas/2026-01/products/delete.json +18 -0
- package/metadatas/2026-01/products/update.json +93 -0
- package/metadatas/2026-01/profiles/create.json +17 -0
- package/metadatas/2026-01/profiles/delete.json +17 -0
- package/metadatas/2026-01/profiles/update.json +17 -0
- package/metadatas/2026-01/refunds/create.json +527 -0
- package/metadatas/2026-01/returns/approve.json +52 -0
- package/metadatas/2026-01/returns/cancel.json +24 -0
- package/metadatas/2026-01/returns/close.json +24 -0
- package/metadatas/2026-01/returns/decline.json +29 -0
- package/metadatas/2026-01/returns/reopen.json +24 -0
- package/metadatas/2026-01/returns/request.json +31 -0
- package/metadatas/2026-01/returns/update.json +36 -0
- package/metadatas/2026-01/reverse_deliveries/attach_deliverable.json +37 -0
- package/metadatas/2026-01/reverse_fulfillment_orders/dispose.json +48 -0
- package/metadatas/2026-01/scheduled_product_listings/add.json +105 -0
- package/metadatas/2026-01/scheduled_product_listings/remove.json +20 -0
- package/metadatas/2026-01/scheduled_product_listings/update.json +105 -0
- package/metadatas/2026-01/segments/create.json +21 -0
- package/metadatas/2026-01/segments/delete.json +17 -0
- package/metadatas/2026-01/segments/update.json +21 -0
- package/metadatas/2026-01/selling_plan_groups/create.json +55 -0
- package/metadatas/2026-01/selling_plan_groups/delete.json +19 -0
- package/metadatas/2026-01/selling_plan_groups/update.json +55 -0
- package/metadatas/2026-01/shipping_addresses/create.json +16 -0
- package/metadatas/2026-01/shipping_addresses/update.json +16 -0
- package/metadatas/2026-01/shop/redact.json +14 -0
- package/metadatas/2026-01/shop/update.json +70 -0
- package/metadatas/2026-01/subscription_billing_attempts/challenged.json +19 -0
- package/metadatas/2026-01/subscription_billing_attempts/failure.json +19 -0
- package/metadatas/2026-01/subscription_billing_attempts/success.json +19 -0
- package/metadatas/2026-01/subscription_billing_cycle_edits/create.json +25 -0
- package/metadatas/2026-01/subscription_billing_cycle_edits/delete.json +25 -0
- package/metadatas/2026-01/subscription_billing_cycle_edits/update.json +25 -0
- package/metadatas/2026-01/subscription_billing_cycles/skip.json +25 -0
- package/metadatas/2026-01/subscription_billing_cycles/unskip.json +25 -0
- package/metadatas/2026-01/subscription_contracts/activate.json +36 -0
- package/metadatas/2026-01/subscription_contracts/cancel.json +36 -0
- package/metadatas/2026-01/subscription_contracts/create.json +36 -0
- package/metadatas/2026-01/subscription_contracts/expire.json +36 -0
- package/metadatas/2026-01/subscription_contracts/fail.json +36 -0
- package/metadatas/2026-01/subscription_contracts/pause.json +36 -0
- package/metadatas/2026-01/subscription_contracts/update.json +36 -0
- package/metadatas/2026-01/tax_services/create.json +21 -0
- package/metadatas/2026-01/tax_services/update.json +21 -0
- package/metadatas/2026-01/tender_transactions/create.json +30 -0
- package/metadatas/2026-01/themes/create.json +26 -0
- package/metadatas/2026-01/themes/delete.json +18 -0
- package/metadatas/2026-01/themes/publish.json +26 -0
- package/metadatas/2026-01/themes/update.json +26 -0
- package/metadatas/2026-01/variants/in_stock.json +36 -0
- package/metadatas/2026-01/variants/out_of_stock.json +36 -0
- package/package.json +1 -1
- package/schemas/2025-04/orders/cancelled.json +18 -1
- package/schemas/2025-04/orders/create.json +18 -1
- package/schemas/2025-04/orders/fulfilled.json +18 -1
- package/schemas/2025-04/orders/paid.json +18 -1
- package/schemas/2025-04/orders/partially_fulfilled.json +18 -1
- package/schemas/2025-04/orders/shopify_protect_eligibility_changed.json +0 -3
- package/schemas/2025-04/orders/updated.json +18 -1
- package/schemas/2026-01/app/scopes_update.json +36 -0
- package/schemas/2026-01/app/uninstalled.json +282 -0
- package/schemas/2026-01/app_purchases_one_time/update.json +44 -0
- package/schemas/2026-01/app_subscriptions/approaching_capped_amount.json +67 -0
- package/schemas/2026-01/app_subscriptions/update.json +64 -0
- package/schemas/2026-01/audit_events/admin_api_activity.json +202 -0
- package/schemas/2026-01/bulk_operations/finish.json +38 -0
- package/schemas/2026-01/carts/create.json +321 -0
- package/schemas/2026-01/carts/update.json +321 -0
- package/schemas/2026-01/channels/delete.json +12 -0
- package/schemas/2026-01/checkouts/create.json +1296 -0
- package/schemas/2026-01/checkouts/delete.json +90 -0
- package/schemas/2026-01/checkouts/update.json +1296 -0
- package/schemas/2026-01/collection_listings/add.json +60 -0
- package/schemas/2026-01/collection_listings/remove.json +27 -0
- package/schemas/2026-01/collection_listings/update.json +60 -0
- package/schemas/2026-01/collection_publications/create.json +45 -0
- package/schemas/2026-01/collection_publications/delete.json +12 -0
- package/schemas/2026-01/collection_publications/update.json +45 -0
- package/schemas/2026-01/collections/create.json +97 -0
- package/schemas/2026-01/collections/delete.json +21 -0
- package/schemas/2026-01/collections/update.json +97 -0
- package/schemas/2026-01/companies/create.json +45 -0
- package/schemas/2026-01/companies/delete.json +45 -0
- package/schemas/2026-01/companies/update.json +45 -0
- package/schemas/2026-01/company_contact_roles/assign.json +387 -0
- package/schemas/2026-01/company_contact_roles/revoke.json +387 -0
- package/schemas/2026-01/company_contacts/create.json +81 -0
- package/schemas/2026-01/company_contacts/delete.json +81 -0
- package/schemas/2026-01/company_contacts/update.json +81 -0
- package/schemas/2026-01/company_locations/create.json +334 -0
- package/schemas/2026-01/company_locations/delete.json +334 -0
- package/schemas/2026-01/company_locations/update.json +334 -0
- package/schemas/2026-01/customer.joined_segment.json +23 -0
- package/schemas/2026-01/customer.left_segment.json +23 -0
- package/schemas/2026-01/customer.tags_added.json +25 -0
- package/schemas/2026-01/customer.tags_removed.json +25 -0
- package/schemas/2026-01/customer_account_settings/update.json +28 -0
- package/schemas/2026-01/customer_groups/create.json +30 -0
- package/schemas/2026-01/customer_groups/delete.json +12 -0
- package/schemas/2026-01/customer_groups/update.json +30 -0
- package/schemas/2026-01/customer_payment_methods/create.json +63 -0
- package/schemas/2026-01/customer_payment_methods/revoke.json +63 -0
- package/schemas/2026-01/customer_payment_methods/update.json +63 -0
- package/schemas/2026-01/customers/create.json +242 -0
- package/schemas/2026-01/customers/data_request.json +56 -0
- package/schemas/2026-01/customers/delete.json +24 -0
- package/schemas/2026-01/customers/disable.json +242 -0
- package/schemas/2026-01/customers/enable.json +242 -0
- package/schemas/2026-01/customers/merge.json +56 -0
- package/schemas/2026-01/customers/purchasing_summary.json +43 -0
- package/schemas/2026-01/customers/redact.json +44 -0
- package/schemas/2026-01/customers/update.json +242 -0
- package/schemas/2026-01/customers_email_marketing_consent/update.json +44 -0
- package/schemas/2026-01/customers_marketing_consent/update.json +53 -0
- package/schemas/2026-01/delivery_promise_settings/update.json +21 -0
- package/schemas/2026-01/discounts/create.json +31 -0
- package/schemas/2026-01/discounts/delete.json +18 -0
- package/schemas/2026-01/discounts/redeemcode_added.json +35 -0
- package/schemas/2026-01/discounts/redeemcode_removed.json +35 -0
- package/schemas/2026-01/discounts/update.json +31 -0
- package/schemas/2026-01/disputes/create.json +66 -0
- package/schemas/2026-01/disputes/update.json +66 -0
- package/schemas/2026-01/domains/create.json +44 -0
- package/schemas/2026-01/domains/destroy.json +44 -0
- package/schemas/2026-01/domains/update.json +44 -0
- package/schemas/2026-01/draft_orders/create.json +1780 -0
- package/schemas/2026-01/draft_orders/delete.json +12 -0
- package/schemas/2026-01/draft_orders/update.json +1780 -0
- package/schemas/2026-01/finance_app_staff_member/delete.json +4 -0
- package/schemas/2026-01/finance_app_staff_member/grant.json +4 -0
- package/schemas/2026-01/finance_app_staff_member/revoke.json +4 -0
- package/schemas/2026-01/finance_app_staff_member/update.json +4 -0
- package/schemas/2026-01/finance_kyc_information/update.json +4 -0
- package/schemas/2026-01/fulfillment_events/create.json +106 -0
- package/schemas/2026-01/fulfillment_events/delete.json +106 -0
- package/schemas/2026-01/fulfillment_holds/added.json +63 -0
- package/schemas/2026-01/fulfillment_holds/released.json +63 -0
- package/schemas/2026-01/fulfillment_orders/cancellation_request_accepted.json +29 -0
- package/schemas/2026-01/fulfillment_orders/cancellation_request_rejected.json +33 -0
- package/schemas/2026-01/fulfillment_orders/cancellation_request_submitted.json +46 -0
- package/schemas/2026-01/fulfillment_orders/cancelled.json +42 -0
- package/schemas/2026-01/fulfillment_orders/fulfillment_request_accepted.json +33 -0
- package/schemas/2026-01/fulfillment_orders/fulfillment_request_rejected.json +33 -0
- package/schemas/2026-01/fulfillment_orders/fulfillment_request_submitted.json +67 -0
- package/schemas/2026-01/fulfillment_orders/fulfillment_service_failed_to_complete.json +29 -0
- package/schemas/2026-01/fulfillment_orders/hold_released.json +25 -0
- package/schemas/2026-01/fulfillment_orders/line_items_prepared_for_local_delivery.json +41 -0
- package/schemas/2026-01/fulfillment_orders/line_items_prepared_for_pickup.json +41 -0
- package/schemas/2026-01/fulfillment_orders/merged.json +67 -0
- package/schemas/2026-01/fulfillment_orders/moved.json +90 -0
- package/schemas/2026-01/fulfillment_orders/order_routing_complete.json +25 -0
- package/schemas/2026-01/fulfillment_orders/placed_on_hold.json +396 -0
- package/schemas/2026-01/fulfillment_orders/rescheduled.json +30 -0
- package/schemas/2026-01/fulfillment_orders/scheduled_fulfillment_order_ready.json +25 -0
- package/schemas/2026-01/fulfillment_orders/split.json +326 -0
- package/schemas/2026-01/fulfillments/create.json +738 -0
- package/schemas/2026-01/fulfillments/update.json +738 -0
- package/schemas/2026-01/inventory_items/create.json +84 -0
- package/schemas/2026-01/inventory_items/delete.json +43 -0
- package/schemas/2026-01/inventory_items/update.json +84 -0
- package/schemas/2026-01/inventory_levels/connect.json +33 -0
- package/schemas/2026-01/inventory_levels/disconnect.json +16 -0
- package/schemas/2026-01/inventory_levels/update.json +33 -0
- package/schemas/2026-01/locales/create.json +16 -0
- package/schemas/2026-01/locales/update.json +16 -0
- package/schemas/2026-01/locations/activate.json +79 -0
- package/schemas/2026-01/locations/create.json +79 -0
- package/schemas/2026-01/locations/deactivate.json +79 -0
- package/schemas/2026-01/locations/delete.json +12 -0
- package/schemas/2026-01/locations/update.json +79 -0
- package/schemas/2026-01/markets/create.json +24 -0
- package/schemas/2026-01/markets/delete.json +12 -0
- package/schemas/2026-01/markets/update.json +24 -0
- package/schemas/2026-01/markets_backup_region/update.json +17 -0
- package/schemas/2026-01/metafield_definitions/create.json +133 -0
- package/schemas/2026-01/metafield_definitions/delete.json +21 -0
- package/schemas/2026-01/metafield_definitions/update.json +133 -0
- package/schemas/2026-01/metaobjects/create.json +82 -0
- package/schemas/2026-01/metaobjects/delete.json +26 -0
- package/schemas/2026-01/metaobjects/update.json +82 -0
- package/schemas/2026-01/order_transactions/create.json +246 -0
- package/schemas/2026-01/orders/cancelled.json +2781 -0
- package/schemas/2026-01/orders/create.json +2781 -0
- package/schemas/2026-01/orders/delete.json +12 -0
- package/schemas/2026-01/orders/edited.json +146 -0
- package/schemas/2026-01/orders/fulfilled.json +2781 -0
- package/schemas/2026-01/orders/paid.json +2781 -0
- package/schemas/2026-01/orders/partially_fulfilled.json +2781 -0
- package/schemas/2026-01/orders/risk_assessment_changed.json +49 -0
- package/schemas/2026-01/orders/shopify_protect_eligibility_changed.json +38 -0
- package/schemas/2026-01/orders/updated.json +2781 -0
- package/schemas/2026-01/payment_schedules/due.json +70 -0
- package/schemas/2026-01/payment_terms/create.json +115 -0
- package/schemas/2026-01/payment_terms/delete.json +12 -0
- package/schemas/2026-01/payment_terms/update.json +115 -0
- package/schemas/2026-01/product_feeds/create.json +25 -0
- package/schemas/2026-01/product_feeds/full_sync.json +367 -0
- package/schemas/2026-01/product_feeds/full_sync_finish.json +97 -0
- package/schemas/2026-01/product_feeds/incremental_sync.json +362 -0
- package/schemas/2026-01/product_feeds/update.json +25 -0
- package/schemas/2026-01/product_listings/add.json +221 -0
- package/schemas/2026-01/product_listings/remove.json +20 -0
- package/schemas/2026-01/product_listings/update.json +221 -0
- package/schemas/2026-01/product_publications/create.json +45 -0
- package/schemas/2026-01/product_publications/delete.json +12 -0
- package/schemas/2026-01/product_publications/update.json +45 -0
- package/schemas/2026-01/products/create.json +500 -0
- package/schemas/2026-01/products/delete.json +12 -0
- package/schemas/2026-01/products/update.json +500 -0
- package/schemas/2026-01/profiles/create.json +4 -0
- package/schemas/2026-01/profiles/delete.json +4 -0
- package/schemas/2026-01/profiles/update.json +4 -0
- package/schemas/2026-01/refunds/create.json +1386 -0
- package/schemas/2026-01/returns/approve.json +139 -0
- package/schemas/2026-01/returns/cancel.json +25 -0
- package/schemas/2026-01/returns/close.json +25 -0
- package/schemas/2026-01/returns/decline.json +54 -0
- package/schemas/2026-01/returns/reopen.json +25 -0
- package/schemas/2026-01/returns/request.json +65 -0
- package/schemas/2026-01/returns/update.json +77 -0
- package/schemas/2026-01/reverse_deliveries/attach_deliverable.json +78 -0
- package/schemas/2026-01/reverse_fulfillment_orders/dispose.json +78 -0
- package/schemas/2026-01/scheduled_product_listings/add.json +220 -0
- package/schemas/2026-01/scheduled_product_listings/remove.json +20 -0
- package/schemas/2026-01/scheduled_product_listings/update.json +220 -0
- package/schemas/2026-01/segments/create.json +30 -0
- package/schemas/2026-01/segments/delete.json +12 -0
- package/schemas/2026-01/segments/update.json +30 -0
- package/schemas/2026-01/selling_plan_groups/create.json +216 -0
- package/schemas/2026-01/selling_plan_groups/delete.json +17 -0
- package/schemas/2026-01/selling_plan_groups/update.json +216 -0
- package/schemas/2026-01/shipping_addresses/create.json +63 -0
- package/schemas/2026-01/shipping_addresses/update.json +63 -0
- package/schemas/2026-01/shop/redact.json +16 -0
- package/schemas/2026-01/shop/update.json +283 -0
- package/schemas/2026-01/subscription_billing_attempts/challenged.json +4 -0
- package/schemas/2026-01/subscription_billing_attempts/failure.json +4 -0
- package/schemas/2026-01/subscription_billing_attempts/success.json +4 -0
- package/schemas/2026-01/subscription_billing_cycle_edits/create.json +46 -0
- package/schemas/2026-01/subscription_billing_cycle_edits/delete.json +46 -0
- package/schemas/2026-01/subscription_billing_cycle_edits/update.json +46 -0
- package/schemas/2026-01/subscription_billing_cycles/skip.json +46 -0
- package/schemas/2026-01/subscription_billing_cycles/unskip.json +46 -0
- package/schemas/2026-01/subscription_contracts/activate.json +93 -0
- package/schemas/2026-01/subscription_contracts/cancel.json +93 -0
- package/schemas/2026-01/subscription_contracts/create.json +93 -0
- package/schemas/2026-01/subscription_contracts/expire.json +93 -0
- package/schemas/2026-01/subscription_contracts/fail.json +93 -0
- package/schemas/2026-01/subscription_contracts/pause.json +93 -0
- package/schemas/2026-01/subscription_contracts/update.json +93 -0
- package/schemas/2026-01/tax_services/create.json +25 -0
- package/schemas/2026-01/tax_services/update.json +25 -0
- package/schemas/2026-01/tender_transactions/create.json +69 -0
- package/schemas/2026-01/themes/create.json +50 -0
- package/schemas/2026-01/themes/delete.json +12 -0
- package/schemas/2026-01/themes/publish.json +50 -0
- package/schemas/2026-01/themes/update.json +50 -0
- package/schemas/2026-01/variants/in_stock.json +87 -0
- package/schemas/2026-01/variants/out_of_stock.json +87 -0
- package/dist/src/anonymize-exemplars.d.ts +0 -1
- package/dist/src/anonymize-exemplars.js +0 -51
- package/dist/src/index.d.ts +0 -9
- package/dist/src/index.js +0 -54
- package/dist/src/infer-schema.d.ts +0 -19
- package/dist/src/infer-schema.js +0 -812
- package/dist/src/scrape.d.ts +0 -1
- package/dist/src/scrape.js +0 -173
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"properties": {
|
|
4
|
+
"admin_graphql_api_id": {
|
|
5
|
+
"format": "uri",
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
8
|
+
"created_at": {
|
|
9
|
+
"format": "date-time",
|
|
10
|
+
"type": "string"
|
|
11
|
+
},
|
|
12
|
+
"id": {
|
|
13
|
+
"type": "integer"
|
|
14
|
+
},
|
|
15
|
+
"name": {
|
|
16
|
+
"type": "string"
|
|
17
|
+
},
|
|
18
|
+
"previewable": {
|
|
19
|
+
"type": "boolean"
|
|
20
|
+
},
|
|
21
|
+
"processing": {
|
|
22
|
+
"type": "boolean"
|
|
23
|
+
},
|
|
24
|
+
"role": {
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
"theme_store_id": {
|
|
28
|
+
"type": [
|
|
29
|
+
"integer",
|
|
30
|
+
"null"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"updated_at": {
|
|
34
|
+
"format": "date-time",
|
|
35
|
+
"type": "string"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"required": [
|
|
39
|
+
"admin_graphql_api_id",
|
|
40
|
+
"created_at",
|
|
41
|
+
"id",
|
|
42
|
+
"name",
|
|
43
|
+
"previewable",
|
|
44
|
+
"processing",
|
|
45
|
+
"role",
|
|
46
|
+
"theme_store_id",
|
|
47
|
+
"updated_at"
|
|
48
|
+
],
|
|
49
|
+
"type": "object"
|
|
50
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"properties": {
|
|
4
|
+
"admin_graphql_api_id": {
|
|
5
|
+
"format": "uri",
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
8
|
+
"created_at": {
|
|
9
|
+
"format": "date-time",
|
|
10
|
+
"type": "string"
|
|
11
|
+
},
|
|
12
|
+
"id": {
|
|
13
|
+
"type": "integer"
|
|
14
|
+
},
|
|
15
|
+
"name": {
|
|
16
|
+
"type": "string"
|
|
17
|
+
},
|
|
18
|
+
"previewable": {
|
|
19
|
+
"type": "boolean"
|
|
20
|
+
},
|
|
21
|
+
"processing": {
|
|
22
|
+
"type": "boolean"
|
|
23
|
+
},
|
|
24
|
+
"role": {
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
"theme_store_id": {
|
|
28
|
+
"type": [
|
|
29
|
+
"integer",
|
|
30
|
+
"null"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"updated_at": {
|
|
34
|
+
"format": "date-time",
|
|
35
|
+
"type": "string"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"required": [
|
|
39
|
+
"admin_graphql_api_id",
|
|
40
|
+
"created_at",
|
|
41
|
+
"id",
|
|
42
|
+
"name",
|
|
43
|
+
"previewable",
|
|
44
|
+
"processing",
|
|
45
|
+
"role",
|
|
46
|
+
"theme_store_id",
|
|
47
|
+
"updated_at"
|
|
48
|
+
],
|
|
49
|
+
"type": "object"
|
|
50
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"properties": {
|
|
4
|
+
"admin_graphql_api_id": {
|
|
5
|
+
"format": "uri",
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
8
|
+
"created_at": {
|
|
9
|
+
"format": "date-time",
|
|
10
|
+
"type": "string"
|
|
11
|
+
},
|
|
12
|
+
"id": {
|
|
13
|
+
"type": "integer"
|
|
14
|
+
},
|
|
15
|
+
"name": {
|
|
16
|
+
"type": "string"
|
|
17
|
+
},
|
|
18
|
+
"previewable": {
|
|
19
|
+
"type": "boolean"
|
|
20
|
+
},
|
|
21
|
+
"processing": {
|
|
22
|
+
"type": "boolean"
|
|
23
|
+
},
|
|
24
|
+
"role": {
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
"theme_store_id": {
|
|
28
|
+
"type": [
|
|
29
|
+
"integer",
|
|
30
|
+
"null"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"updated_at": {
|
|
34
|
+
"format": "date-time",
|
|
35
|
+
"type": "string"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"required": [
|
|
39
|
+
"admin_graphql_api_id",
|
|
40
|
+
"created_at",
|
|
41
|
+
"id",
|
|
42
|
+
"name",
|
|
43
|
+
"previewable",
|
|
44
|
+
"processing",
|
|
45
|
+
"role",
|
|
46
|
+
"theme_store_id",
|
|
47
|
+
"updated_at"
|
|
48
|
+
],
|
|
49
|
+
"type": "object"
|
|
50
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"properties": {
|
|
4
|
+
"admin_graphql_api_id": {
|
|
5
|
+
"format": "uri",
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
8
|
+
"barcode": {
|
|
9
|
+
"type": "null"
|
|
10
|
+
},
|
|
11
|
+
"compare_at_price": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"created_at": {
|
|
15
|
+
"format": "date-time",
|
|
16
|
+
"type": "string"
|
|
17
|
+
},
|
|
18
|
+
"id": {
|
|
19
|
+
"type": "integer"
|
|
20
|
+
},
|
|
21
|
+
"image_id": {
|
|
22
|
+
"type": "null"
|
|
23
|
+
},
|
|
24
|
+
"inventory_policy": {
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
"inventory_quantity": {
|
|
28
|
+
"type": "integer"
|
|
29
|
+
},
|
|
30
|
+
"old_inventory_quantity": {
|
|
31
|
+
"type": "integer"
|
|
32
|
+
},
|
|
33
|
+
"option1": {
|
|
34
|
+
"type": "string"
|
|
35
|
+
},
|
|
36
|
+
"option2": {
|
|
37
|
+
"type": "null"
|
|
38
|
+
},
|
|
39
|
+
"option3": {
|
|
40
|
+
"type": "null"
|
|
41
|
+
},
|
|
42
|
+
"position": {
|
|
43
|
+
"type": "integer"
|
|
44
|
+
},
|
|
45
|
+
"price": {
|
|
46
|
+
"type": "string"
|
|
47
|
+
},
|
|
48
|
+
"product_id": {
|
|
49
|
+
"type": "integer"
|
|
50
|
+
},
|
|
51
|
+
"sku": {
|
|
52
|
+
"type": "null"
|
|
53
|
+
},
|
|
54
|
+
"taxable": {
|
|
55
|
+
"type": "boolean"
|
|
56
|
+
},
|
|
57
|
+
"title": {
|
|
58
|
+
"type": "string"
|
|
59
|
+
},
|
|
60
|
+
"updated_at": {
|
|
61
|
+
"format": "date-time",
|
|
62
|
+
"type": "string"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"required": [
|
|
66
|
+
"admin_graphql_api_id",
|
|
67
|
+
"barcode",
|
|
68
|
+
"compare_at_price",
|
|
69
|
+
"created_at",
|
|
70
|
+
"id",
|
|
71
|
+
"image_id",
|
|
72
|
+
"inventory_policy",
|
|
73
|
+
"inventory_quantity",
|
|
74
|
+
"old_inventory_quantity",
|
|
75
|
+
"option1",
|
|
76
|
+
"option2",
|
|
77
|
+
"option3",
|
|
78
|
+
"position",
|
|
79
|
+
"price",
|
|
80
|
+
"product_id",
|
|
81
|
+
"sku",
|
|
82
|
+
"taxable",
|
|
83
|
+
"title",
|
|
84
|
+
"updated_at"
|
|
85
|
+
],
|
|
86
|
+
"type": "object"
|
|
87
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"properties": {
|
|
4
|
+
"admin_graphql_api_id": {
|
|
5
|
+
"format": "uri",
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
8
|
+
"barcode": {
|
|
9
|
+
"type": "null"
|
|
10
|
+
},
|
|
11
|
+
"compare_at_price": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"created_at": {
|
|
15
|
+
"format": "date-time",
|
|
16
|
+
"type": "string"
|
|
17
|
+
},
|
|
18
|
+
"id": {
|
|
19
|
+
"type": "integer"
|
|
20
|
+
},
|
|
21
|
+
"image_id": {
|
|
22
|
+
"type": "null"
|
|
23
|
+
},
|
|
24
|
+
"inventory_policy": {
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
"inventory_quantity": {
|
|
28
|
+
"type": "integer"
|
|
29
|
+
},
|
|
30
|
+
"old_inventory_quantity": {
|
|
31
|
+
"type": "integer"
|
|
32
|
+
},
|
|
33
|
+
"option1": {
|
|
34
|
+
"type": "string"
|
|
35
|
+
},
|
|
36
|
+
"option2": {
|
|
37
|
+
"type": "null"
|
|
38
|
+
},
|
|
39
|
+
"option3": {
|
|
40
|
+
"type": "null"
|
|
41
|
+
},
|
|
42
|
+
"position": {
|
|
43
|
+
"type": "integer"
|
|
44
|
+
},
|
|
45
|
+
"price": {
|
|
46
|
+
"type": "string"
|
|
47
|
+
},
|
|
48
|
+
"product_id": {
|
|
49
|
+
"type": "integer"
|
|
50
|
+
},
|
|
51
|
+
"sku": {
|
|
52
|
+
"type": "null"
|
|
53
|
+
},
|
|
54
|
+
"taxable": {
|
|
55
|
+
"type": "boolean"
|
|
56
|
+
},
|
|
57
|
+
"title": {
|
|
58
|
+
"type": "string"
|
|
59
|
+
},
|
|
60
|
+
"updated_at": {
|
|
61
|
+
"format": "date-time",
|
|
62
|
+
"type": "string"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"required": [
|
|
66
|
+
"admin_graphql_api_id",
|
|
67
|
+
"barcode",
|
|
68
|
+
"compare_at_price",
|
|
69
|
+
"created_at",
|
|
70
|
+
"id",
|
|
71
|
+
"image_id",
|
|
72
|
+
"inventory_policy",
|
|
73
|
+
"inventory_quantity",
|
|
74
|
+
"old_inventory_quantity",
|
|
75
|
+
"option1",
|
|
76
|
+
"option2",
|
|
77
|
+
"option3",
|
|
78
|
+
"position",
|
|
79
|
+
"price",
|
|
80
|
+
"product_id",
|
|
81
|
+
"sku",
|
|
82
|
+
"taxable",
|
|
83
|
+
"title",
|
|
84
|
+
"updated_at"
|
|
85
|
+
],
|
|
86
|
+
"type": "object"
|
|
87
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const path_1 = __importDefault(require("path"));
|
|
7
|
-
const json_infer_types_1 = require("@jsonhero/json-infer-types");
|
|
8
|
-
const globby_1 = require("globby");
|
|
9
|
-
const fs_extra_1 = __importDefault(require("fs-extra"));
|
|
10
|
-
const traverse_1 = __importDefault(require("traverse"));
|
|
11
|
-
const main = async () => {
|
|
12
|
-
const files = await (0, globby_1.globby)(path_1.default.join(__dirname, "../exemplars/**/*.json"));
|
|
13
|
-
console.log(`anonymizing ${files.length} files`);
|
|
14
|
-
for (const file of files) {
|
|
15
|
-
let json = await fs_extra_1.default.readJSON(file);
|
|
16
|
-
json = (0, traverse_1.default)(json).map(function (value) {
|
|
17
|
-
if (typeof value == "number") {
|
|
18
|
-
return Math.round(value) == value ? 123 : 123.456;
|
|
19
|
-
}
|
|
20
|
-
else if (typeof value == "string") {
|
|
21
|
-
const type = (0, json_infer_types_1.inferType)(value);
|
|
22
|
-
if ("format" in type && type.format) {
|
|
23
|
-
switch (type.format.name) {
|
|
24
|
-
case "email": {
|
|
25
|
-
return "eallam@example.com";
|
|
26
|
-
}
|
|
27
|
-
case "date": {
|
|
28
|
-
return "2016-05-25";
|
|
29
|
-
}
|
|
30
|
-
case "datetime": {
|
|
31
|
-
return "2019-01-01 00:00:00.000Z";
|
|
32
|
-
}
|
|
33
|
-
case "uri": {
|
|
34
|
-
return "https://www.example.com/";
|
|
35
|
-
}
|
|
36
|
-
case "ip": {
|
|
37
|
-
return "192.168.0.1";
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
return "example string";
|
|
42
|
-
}
|
|
43
|
-
else {
|
|
44
|
-
return value;
|
|
45
|
-
}
|
|
46
|
-
});
|
|
47
|
-
await fs_extra_1.default.writeJSON(file, json, { spaces: 2 });
|
|
48
|
-
}
|
|
49
|
-
console.log("done");
|
|
50
|
-
};
|
|
51
|
-
void main();
|
package/dist/src/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { inferSchemaFromExamplePayload } from "./infer-schema";
|
|
2
|
-
export { inferSchemaFromExamplePayload };
|
|
3
|
-
export declare function getPackageRootDir(): string;
|
|
4
|
-
/** Return a metadata blob from Shopify's docs describing a webhook topic */
|
|
5
|
-
export declare function metadataForWebhook(apiVersion: string, topic: string): any;
|
|
6
|
-
/** Return the inferred JSON schema describing a webhook payload */
|
|
7
|
-
export declare function schemaForWebhook(apiVersion: string, topic: string): any;
|
|
8
|
-
/** Return all the known webhook topics */
|
|
9
|
-
export declare function allTopicsForVersion(apiVersion: string): string[];
|
package/dist/src/index.js
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.inferSchemaFromExamplePayload = void 0;
|
|
7
|
-
exports.getPackageRootDir = getPackageRootDir;
|
|
8
|
-
exports.metadataForWebhook = metadataForWebhook;
|
|
9
|
-
exports.schemaForWebhook = schemaForWebhook;
|
|
10
|
-
exports.allTopicsForVersion = allTopicsForVersion;
|
|
11
|
-
const fs_1 = __importDefault(require("fs"));
|
|
12
|
-
const path_1 = __importDefault(require("path"));
|
|
13
|
-
const fast_glob_1 = __importDefault(require("fast-glob"));
|
|
14
|
-
const infer_schema_1 = require("./infer-schema");
|
|
15
|
-
Object.defineProperty(exports, "inferSchemaFromExamplePayload", { enumerable: true, get: function () { return infer_schema_1.inferSchemaFromExamplePayload; } });
|
|
16
|
-
const loaded = { metadatas: {}, schemas: {} };
|
|
17
|
-
function getPackageRootDir() {
|
|
18
|
-
let currentDir = __dirname;
|
|
19
|
-
while (!fs_1.default.existsSync(path_1.default.join(currentDir, "package.json"))) {
|
|
20
|
-
currentDir = path_1.default.join(currentDir, "..");
|
|
21
|
-
}
|
|
22
|
-
return currentDir;
|
|
23
|
-
}
|
|
24
|
-
const rootDir = getPackageRootDir();
|
|
25
|
-
for (const kind of ["metadatas", "schemas"]) {
|
|
26
|
-
const dir = `${rootDir}/${kind}`;
|
|
27
|
-
for (const version of fs_1.default.readdirSync(dir)) {
|
|
28
|
-
const root = {};
|
|
29
|
-
loaded[kind][version] = root;
|
|
30
|
-
const searchPath = `${dir}/${version}/`;
|
|
31
|
-
for (const file of fast_glob_1.default.sync(`${searchPath}**/*.json`)) {
|
|
32
|
-
const topic = file.replace(searchPath, "").replace(/\.json$/, "");
|
|
33
|
-
root[topic] = JSON.parse(fs_1.default.readFileSync(file, "utf-8"));
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
const getVersion = (obj, version) => {
|
|
38
|
-
const value = obj[version];
|
|
39
|
-
if (value)
|
|
40
|
-
return value;
|
|
41
|
-
throw new Error(`Unknown shopify api version ${version} in shopify-webhook-schemas package -- please pass a real version or regenerate the metadata`);
|
|
42
|
-
};
|
|
43
|
-
/** Return a metadata blob from Shopify's docs describing a webhook topic */
|
|
44
|
-
function metadataForWebhook(apiVersion, topic) {
|
|
45
|
-
return getVersion(loaded.metadatas, apiVersion)[topic];
|
|
46
|
-
}
|
|
47
|
-
/** Return the inferred JSON schema describing a webhook payload */
|
|
48
|
-
function schemaForWebhook(apiVersion, topic) {
|
|
49
|
-
return getVersion(loaded.schemas, apiVersion)[topic];
|
|
50
|
-
}
|
|
51
|
-
/** Return all the known webhook topics */
|
|
52
|
-
function allTopicsForVersion(apiVersion) {
|
|
53
|
-
return Object.keys(getVersion(loaded.schemas, apiVersion));
|
|
54
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export declare const getStartVersion: (date?: Date) => string;
|
|
2
|
-
export type Error = {
|
|
3
|
-
message: string;
|
|
4
|
-
path: string;
|
|
5
|
-
};
|
|
6
|
-
export declare const inferSchemaFromExamplePayload: (version: string, examplePayload: Record<string, any>, metadata: {
|
|
7
|
-
name: string;
|
|
8
|
-
}) => {
|
|
9
|
-
schema: any;
|
|
10
|
-
warnings: number;
|
|
11
|
-
errors: Error[];
|
|
12
|
-
};
|
|
13
|
-
export declare const manualExamples: [RegExp, Record<string, any>][];
|
|
14
|
-
export declare const overrides: {
|
|
15
|
-
topics: string[];
|
|
16
|
-
schema: any;
|
|
17
|
-
required?: string[];
|
|
18
|
-
versions?: string[];
|
|
19
|
-
}[];
|