@wowok/agent-mcp 3.4.0 → 3.4.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/README.md +8 -0
- package/dist/chain-semantics/composition-truth.d.ts +102 -0
- package/dist/chain-semantics/composition-truth.js +1 -0
- package/dist/chain-semantics/eval-order.js +1 -1
- package/dist/chain-semantics/fund-flow.js +1 -1
- package/dist/chain-semantics/index.d.ts +1 -0
- package/dist/chain-semantics/index.js +1 -1
- package/dist/composition/audit.js +1 -1
- package/dist/composition/blueprint-view.d.ts +3 -3
- package/dist/composition/blueprint-view.js +1 -1
- package/dist/composition/compile.d.ts +24 -3
- package/dist/composition/compile.js +1 -1
- package/dist/composition/emit-phases.d.ts +206 -0
- package/dist/composition/emit-phases.js +1 -0
- package/dist/composition/generate.d.ts +40 -0
- package/dist/composition/generate.js +1 -0
- package/dist/composition/guard-fill.d.ts +44 -0
- package/dist/composition/guard-fill.js +1 -0
- package/dist/composition/inflight.d.ts +20 -2
- package/dist/composition/inflight.js +1 -1
- package/dist/composition/input-normalize.d.ts +15 -0
- package/dist/composition/input-normalize.js +1 -0
- package/dist/composition/materialize.d.ts +18 -13
- package/dist/composition/materialize.js +1 -1
- package/dist/composition/mode-gates.d.ts +35 -0
- package/dist/composition/mode-gates.js +1 -0
- package/dist/composition/param-disclosure.js +1 -1
- package/dist/composition/plan-retry-ledger.d.ts +21 -0
- package/dist/composition/plan-retry-ledger.js +1 -0
- package/dist/composition/plan.d.ts +7 -2
- package/dist/composition/plan.js +1 -1
- package/dist/composition/product-card.d.ts +94 -0
- package/dist/composition/product-card.js +1 -0
- package/dist/composition/supply-chain-emit.d.ts +46 -0
- package/dist/composition/supply-chain-emit.js +1 -0
- package/dist/config/config-audit.spec.js +1 -1
- package/dist/config/config-warnings.d.ts +2 -0
- package/dist/config/config-warnings.js +1 -0
- package/dist/config/exposure.d.ts +2 -2
- package/dist/config/judgment.d.ts +31 -5
- package/dist/config/judgment.js +1 -1
- package/dist/config/judgment.spec.js +1 -1
- package/dist/config/match-policy-file.d.ts +34 -0
- package/dist/config/match-policy-file.js +1 -0
- package/dist/config/match-policy-file.spec.d.ts +1 -0
- package/dist/config/match-policy-file.spec.js +1 -0
- package/dist/config/rule-engine.d.ts +5 -5
- package/dist/config/rule-engine.js +1 -1
- package/dist/config/runtime.d.ts +0 -1
- package/dist/config/runtime.js +1 -1
- package/dist/config/severity.d.ts +0 -2
- package/dist/config/severity.js +1 -1
- package/dist/config/store-policy.spec.js +1 -1
- package/dist/config/template-params.d.ts +42 -0
- package/dist/config/template-params.js +1 -0
- package/dist/config/template-params.spec.d.ts +1 -0
- package/dist/config/template-params.spec.js +1 -0
- package/dist/data/api/api.spec.js +1 -1
- package/dist/data/api/server.js +1 -1
- package/dist/data/projection/store.d.ts +2 -1
- package/dist/data/projection/store.js +1 -1
- package/dist/data/projection/types.d.ts +22 -0
- package/dist/data/sync/cdc.d.ts +1 -2
- package/dist/data/sync/cdc.js +1 -1
- package/dist/evaluation/acceptance.d.ts +8 -0
- package/dist/evaluation/acceptance.js +1 -1
- package/dist/evaluation/builtins/demand-match.js +1 -1
- package/dist/evaluation/builtins/graph-service.spec.js +1 -1
- package/dist/evaluation/capability.d.ts +2 -0
- package/dist/evaluation/category-match-rules.d.ts +0 -1
- package/dist/evaluation/category-match-rules.js +1 -1
- package/dist/evaluation/composer.d.ts +25 -0
- package/dist/evaluation/composer.js +1 -1
- package/dist/evaluation/engine.js +1 -1
- package/dist/evaluation/extract.d.ts +7 -0
- package/dist/evaluation/extract.js +1 -1
- package/dist/evaluation/game-strategy.d.ts +0 -3
- package/dist/evaluation/game-strategy.js +1 -1
- package/dist/evaluation/match-operation.d.ts +9 -0
- package/dist/evaluation/match-operation.js +1 -1
- package/dist/evaluation/match-policy-resolver.d.ts +9 -0
- package/dist/evaluation/match-policy-resolver.js +1 -0
- package/dist/evaluation/match-policy.d.ts +3 -1
- package/dist/evaluation/match-policy.js +1 -1
- package/dist/evaluation/region.d.ts +0 -6
- package/dist/evaluation/region.js +1 -1
- package/dist/evaluation/standards.d.ts +2 -1
- package/dist/evaluation/standards.js +1 -1
- package/dist/evaluation/structured-lines.d.ts +8 -0
- package/dist/evaluation/structured-lines.js +1 -0
- package/dist/evaluation/types.d.ts +6 -0
- package/dist/experience/realtime-feedback.js +1 -1
- package/dist/extensions/capability-manifest.d.ts +1 -0
- package/dist/extensions/capability-manifest.js +1 -1
- package/dist/extensions/capability.d.ts +91 -0
- package/dist/extensions/capability.js +1 -0
- package/dist/extensions/industry-audit.spec.js +1 -1
- package/dist/extensions/industry-pack.d.ts +13 -0
- package/dist/extensions/industry-pack.js +1 -1
- package/dist/extensions/modes.js +1 -1
- package/dist/extensions/registry.d.ts +0 -2
- package/dist/extensions/registry.js +1 -1
- package/dist/goal/GoalEngine.js +1 -1
- package/dist/graph/onchain/analyze.js +1 -1
- package/dist/graph/onchain/expand.js +1 -1
- package/dist/graph/onchain/exposure.js +1 -1
- package/dist/graph/onchain/facts.js +1 -1
- package/dist/graph/onchain/order-status.d.ts +0 -1
- package/dist/graph/onchain/order-status.js +1 -1
- package/dist/harness/recover.js +1 -1
- package/dist/harness/verify.d.ts +0 -3
- package/dist/harness/verify.js +1 -1
- package/dist/intent/types.d.ts +0 -1
- package/dist/intent/types.js +1 -1
- package/dist/keeper/detectors.js +1 -1
- package/dist/keeper/types.d.ts +0 -1
- package/dist/keeper/types.js +1 -1
- package/dist/knowledge/allocation-risk.d.ts +1 -0
- package/dist/knowledge/allocation-risk.js +1 -1
- package/dist/knowledge/allocator-rail-verifier.d.ts +6 -1
- package/dist/knowledge/allocator-rail-verifier.js +1 -1
- package/dist/knowledge/arbitration-ledger.js +1 -1
- package/dist/knowledge/arbitration-puzzle.js +1 -1
- package/dist/knowledge/arbitration-templates.js +1 -1
- package/dist/knowledge/audit-rules.d.ts +4 -3
- package/dist/knowledge/audit-rules.js +1 -1
- package/dist/knowledge/baselines/judgment-baselines.json +21 -2
- package/dist/knowledge/baselines/rules/oracle.json +120 -0
- package/dist/knowledge/baselines/rules/plan.json +384 -17
- package/dist/knowledge/baselines/rules/progress.json +20 -2
- package/dist/knowledge/builtin-templates.d.ts +28 -1
- package/dist/knowledge/builtin-templates.js +1 -1
- package/dist/knowledge/component-schema.js +1 -1
- package/dist/knowledge/contact-templates.d.ts +0 -1
- package/dist/knowledge/contact-templates.js +1 -1
- package/dist/knowledge/dynamic-pricing.js +1 -1
- package/dist/knowledge/fee-param-bindings.js +1 -1
- package/dist/knowledge/fund-layer.d.ts +1 -0
- package/dist/knowledge/fund-layer.js +1 -1
- package/dist/knowledge/game-scenarios.js +1 -1
- package/dist/knowledge/getting-started.js +1 -1
- package/dist/knowledge/guard-binding-table.d.ts +52 -0
- package/dist/knowledge/guard-binding-table.js +1 -0
- package/dist/knowledge/guard-binding-verifier.d.ts +30 -0
- package/dist/knowledge/guard-binding-verifier.js +1 -0
- package/dist/knowledge/guard-bindings.js +1 -1
- package/dist/knowledge/guard-blueprint.d.ts +68 -0
- package/dist/knowledge/guard-blueprint.js +1 -0
- package/dist/knowledge/guard-design-patterns.d.ts +1 -1
- package/dist/knowledge/guard-design-patterns.js +1 -1
- package/dist/knowledge/guard-field-cognition.js +1 -1
- package/dist/knowledge/guard-host-context.d.ts +24 -0
- package/dist/knowledge/guard-host-context.js +1 -0
- package/dist/knowledge/guard-lint.js +1 -1
- package/dist/knowledge/guard-node-gates.d.ts +3 -0
- package/dist/knowledge/guard-node-gates.js +1 -1
- package/dist/knowledge/guard-puzzle.js +1 -1
- package/dist/knowledge/guard-render.js +1 -1
- package/dist/knowledge/guard-risk.js +1 -1
- package/dist/knowledge/guard-submission-prompt.d.ts +11 -0
- package/dist/knowledge/guard-submission-prompt.js +1 -1
- package/dist/knowledge/guard-templates.d.ts +1 -1
- package/dist/knowledge/guard-templates.js +1 -1
- package/dist/knowledge/guard-translation.js +1 -1
- package/dist/knowledge/index.d.ts +1 -1
- package/dist/knowledge/index.js +1 -1
- package/dist/knowledge/industry-generalizer.d.ts +6 -1
- package/dist/knowledge/industry-generalizer.js +1 -1
- package/dist/knowledge/industry-registry.js +1 -1
- package/dist/knowledge/jsonrpc-enum.d.ts +38 -0
- package/dist/knowledge/jsonrpc-enum.js +1 -1
- package/dist/knowledge/machine-topology.js +1 -1
- package/dist/knowledge/machine-translation.js +1 -1
- package/dist/knowledge/object-dependency.d.ts +31 -0
- package/dist/knowledge/object-dependency.js +1 -0
- package/dist/knowledge/onchain-constants.d.ts +2 -0
- package/dist/knowledge/onchain-constants.js +1 -1
- package/dist/knowledge/param-schema.d.ts +23 -0
- package/dist/knowledge/param-schema.js +1 -1
- package/dist/knowledge/param-tiers.js +1 -1
- package/dist/knowledge/passport-ledger.js +1 -1
- package/dist/knowledge/path-oracle/coverage.d.ts +16 -0
- package/dist/knowledge/path-oracle/coverage.js +1 -0
- package/dist/knowledge/path-oracle/index.d.ts +5 -0
- package/dist/knowledge/path-oracle/index.js +1 -0
- package/dist/knowledge/path-oracle/products/food-delivery.d.ts +2 -0
- package/dist/knowledge/path-oracle/products/food-delivery.js +1 -0
- package/dist/knowledge/path-oracle/schema.d.ts +188 -0
- package/dist/knowledge/path-oracle/schema.js +1 -0
- package/dist/knowledge/pattern-resolutions.d.ts +2 -0
- package/dist/knowledge/pattern-resolutions.js +1 -1
- package/dist/knowledge/progress-ledger.js +1 -1
- package/dist/knowledge/progress-risk.js +1 -1
- package/dist/knowledge/projection.spec.js +1 -1
- package/dist/knowledge/protocol-facts.js +1 -1
- package/dist/knowledge/requirement-families.d.ts +13 -0
- package/dist/knowledge/requirement-families.js +1 -0
- package/dist/knowledge/reward-ledger.js +1 -1
- package/dist/knowledge/scenario-modes.d.ts +1 -0
- package/dist/knowledge/scenario-modes.js +1 -1
- package/dist/knowledge/semantic-ir.d.ts +4 -0
- package/dist/knowledge/semantic-ir.js +1 -1
- package/dist/knowledge/service-ledger.d.ts +1 -1
- package/dist/knowledge/service-ledger.js +1 -1
- package/dist/knowledge/sku-name-gate.d.ts +17 -0
- package/dist/knowledge/sku-name-gate.js +1 -0
- package/dist/knowledge/supply-chain.d.ts +9 -0
- package/dist/knowledge/supply-chain.js +1 -1
- package/dist/knowledge/template-loader.d.ts +14 -6
- package/dist/knowledge/template-loader.js +1 -1
- package/dist/knowledge/template-nav.d.ts +3 -1
- package/dist/knowledge/template-nav.js +1 -1
- package/dist/knowledge/template-prose.d.ts +1 -1
- package/dist/knowledge/template-registry.js +1 -1
- package/dist/knowledge/template-scanner.d.ts +62 -0
- package/dist/knowledge/template-scanner.js +1 -1
- package/dist/knowledge/template-test-profiles.js +1 -1
- package/dist/knowledge/tools-reference.js +1 -1
- package/dist/knowledge/workflow-guidance.d.ts +5 -0
- package/dist/knowledge/workflow-guidance.js +1 -1
- package/dist/monitor/MonitorLoop.js +1 -1
- package/dist/participation/customer-interest.d.ts +4 -0
- package/dist/participation/customer-interest.js +1 -1
- package/dist/participation/node-action-advisor.d.ts +4 -0
- package/dist/participation/node-action-advisor.js +1 -1
- package/dist/participation/radar-core.js +1 -1
- package/dist/participation/time-window.d.ts +11 -0
- package/dist/participation/time-window.js +1 -1
- package/dist/persona/address-format.d.ts +0 -1
- package/dist/persona/address-format.js +1 -1
- package/dist/persona/bridge.js +1 -1
- package/dist/persona/index.d.ts +0 -2
- package/dist/persona/index.js +1 -1
- package/dist/persona/model.js +1 -1
- package/dist/persona/persona-audit.spec.js +1 -1
- package/dist/persona/types.d.ts +6 -0
- package/dist/playbooks/service-build/business-puzzle.js +1 -1
- package/dist/playbooks/service-build/game-theory.d.ts +2 -2
- package/dist/playbooks/service-build/intent-analyzer.js +1 -1
- package/dist/playbooks/service-build/machine-panorama.js +1 -1
- package/dist/playbooks/service-build/merchant-guide.d.ts +50 -23
- package/dist/playbooks/service-build/merchant-guide.js +1 -1
- package/dist/playbooks/service-build/migration-planner.d.ts +2 -0
- package/dist/playbooks/service-build/migration-planner.js +1 -1
- package/dist/playbooks/service-build/mode-actions.js +1 -1
- package/dist/playbooks/service-build/object-panorama.d.ts +8 -0
- package/dist/playbooks/service-build/object-panorama.js +1 -1
- package/dist/playbooks/service-build/participation-radar.js +1 -1
- package/dist/playbooks/service-build/relationship-profile.js +1 -1
- package/dist/playbooks/service-build/reverse-mapping.d.ts +6 -0
- package/dist/playbooks/service-build/reverse-mapping.js +1 -1
- package/dist/playbooks/service-build/service-panorama.d.ts +1 -0
- package/dist/playbooks/service-build/service-panorama.js +1 -1
- package/dist/playbooks/service-build/service-quote.js +1 -1
- package/dist/playbooks/service-build/service-quote.spec.js +1 -1
- package/dist/playbooks/service-build/workflow-design-assessment.d.ts +10 -1
- package/dist/playbooks/service-build/workflow-design-assessment.js +1 -1
- package/dist/review/index.js +1 -1
- package/dist/review/repository.js +1 -1
- package/dist/safety/confirm-gate.js +1 -1
- package/dist/schema/benchmark-migration/index.d.ts +104 -0
- package/dist/schema/benchmark-migration/index.js +1 -1
- package/dist/schema/call/allocation.d.ts +15 -6
- package/dist/schema/call/allocation.js +1 -1
- package/dist/schema/call/base.d.ts +256 -0
- package/dist/schema/call/base.js +1 -1
- package/dist/schema/call/bridge.d.ts +32 -6
- package/dist/schema/call/demand.d.ts +15 -6
- package/dist/schema/call/demand.js +1 -1
- package/dist/schema/call/guard.d.ts +8 -8
- package/dist/schema/call/guard.js +1 -1
- package/dist/schema/call/handler.d.ts +3 -0
- package/dist/schema/call/handler.js +1 -1
- package/dist/schema/call/machine.d.ts +32 -8
- package/dist/schema/call/machine.js +1 -1
- package/dist/schema/call/order.d.ts +26 -8
- package/dist/schema/call/order.js +1 -1
- package/dist/schema/call/payment.d.ts +20 -8
- package/dist/schema/call/payment.js +1 -1
- package/dist/schema/call/permission-handler.js +1 -1
- package/dist/schema/call/permission.d.ts +330 -114
- package/dist/schema/call/permission.js +1 -1
- package/dist/schema/call/personal.d.ts +10 -4
- package/dist/schema/call/personal.js +1 -1
- package/dist/schema/call/progress.d.ts +16 -4
- package/dist/schema/call/proof.js +1 -1
- package/dist/schema/call/reward.d.ts +10 -4
- package/dist/schema/call/reward.js +1 -1
- package/dist/schema/call/semantic.d.ts +1 -0
- package/dist/schema/call/semantic.js +1 -1
- package/dist/schema/call/service.d.ts +143 -45
- package/dist/schema/call/service.js +1 -1
- package/dist/schema/call/treasury.d.ts +15 -6
- package/dist/schema/call/treasury.js +1 -1
- package/dist/schema/common/index.js +1 -1
- package/dist/schema/config/index.d.ts +61 -0
- package/dist/schema/config/index.js +1 -1
- package/dist/schema/envelope-unify.d.ts +4 -0
- package/dist/schema/envelope-unify.js +1 -0
- package/dist/schema/evaluation/index.d.ts +216 -19
- package/dist/schema/evaluation/index.js +1 -1
- package/dist/schema/goal/index.d.ts +47 -0
- package/dist/schema/goal/planning.d.ts +115 -1
- package/dist/schema/goal/planning.js +1 -1
- package/dist/schema/industry-pack/index.d.ts +137 -6
- package/dist/schema/industry-pack/index.js +1 -1
- package/dist/schema/industry-pack/modes.d.ts +6 -6
- package/dist/schema/keeper/index.d.ts +26 -0
- package/dist/schema/local/index.d.ts +137 -0
- package/dist/schema/local/index.js +1 -1
- package/dist/schema/local/wip.d.ts +6 -0
- package/dist/schema/local/wip.js +1 -1
- package/dist/schema/messenger/index.d.ts +26 -0
- package/dist/schema/operations.d.ts +345 -84
- package/dist/schema/operations.js +1 -1
- package/dist/schema/persona/index.d.ts +2907 -640
- package/dist/schema/persona/index.js +1 -1
- package/dist/schema/query/bi.d.ts +145 -4
- package/dist/schema/query/bi.js +1 -1
- package/dist/schema/query/index.d.ts +266 -73
- package/dist/schema/query/index.js +1 -1
- package/dist/schema/schema-query/index.d.ts +1 -1
- package/dist/schema/schema-query/index.js +1 -1
- package/dist/schema/schema-version.js +1 -1
- package/dist/schema/utils/permission-machine-check.d.ts +2 -0
- package/dist/schema/utils/permission-machine-check.js +1 -1
- package/dist/schema/watch/index.d.ts +16 -0
- package/dist/schema/watch/index.js +1 -1
- package/dist/schema/workflow/index.d.ts +2 -2
- package/dist/schema/workflow/index.js +1 -1
- package/dist/schema-query-impl/index.d.ts +1 -1
- package/dist/schema-query-impl/index.js +1 -1
- package/dist/schemas/account_operation.output.json +94 -0
- package/dist/schemas/benchmark_migration_operation.output.json +338 -9
- package/dist/schemas/benchmark_migration_operation.schema.json +27 -2
- package/dist/schemas/bridge_operation.output.json +94 -0
- package/dist/schemas/config_operation.output.json +352 -0
- package/dist/schemas/config_operation.schema.json +20 -2
- package/dist/schemas/evaluation_operation.output.json +570 -4
- package/dist/schemas/evaluation_operation.schema.json +194 -3
- package/dist/schemas/goal_operation.schema.json +183 -0
- package/dist/schemas/index.json +1 -1
- package/dist/schemas/industry_pack_operation.output.json +621 -0
- package/dist/schemas/industry_pack_operation.schema.json +20 -2
- package/dist/schemas/keeper_operation.output.json +94 -0
- package/dist/schemas/local_cache_operation.output.json +94 -0
- package/dist/schemas/local_history_operation.output.json +94 -0
- package/dist/schemas/local_info_operation.output.json +94 -0
- package/dist/schemas/local_mark_operation.output.json +94 -0
- package/dist/schemas/messenger_operation.output.json +94 -0
- package/dist/schemas/monitor_events.output.json +94 -0
- package/dist/schemas/monitor_subscription.output.json +94 -0
- package/dist/schemas/onchain_events.output.json +94 -0
- package/dist/schemas/onchain_operations.output.json +313 -1
- package/dist/schemas/onchain_operations.schema.json +1265 -671
- package/dist/schemas/onchain_operations_allocation.schema.json +30 -15
- package/dist/schemas/onchain_operations_arbitration.schema.json +9 -2
- package/dist/schemas/onchain_operations_contact.schema.json +8 -1
- package/dist/schemas/onchain_operations_demand.schema.json +29 -14
- package/dist/schemas/onchain_operations_gen_passport.schema.json +8 -1
- package/dist/schemas/onchain_operations_guard.schema.json +290 -105
- package/dist/schemas/onchain_operations_machine.schema.json +49 -34
- package/dist/schemas/onchain_operations_order.schema.json +63 -40
- package/dist/schemas/onchain_operations_payment.schema.json +26 -11
- package/dist/schemas/onchain_operations_permission.schema.json +362 -235
- package/dist/schemas/onchain_operations_personal.schema.json +27 -15
- package/dist/schemas/onchain_operations_progress.schema.json +45 -30
- package/dist/schemas/onchain_operations_proof.schema.json +9 -2
- package/dist/schemas/onchain_operations_repository.schema.json +8 -1
- package/dist/schemas/onchain_operations_reward.schema.json +32 -17
- package/dist/schemas/onchain_operations_service.schema.json +232 -125
- package/dist/schemas/onchain_operations_treasury.schema.json +32 -17
- package/dist/schemas/onchain_table_data.output.json +258 -6
- package/dist/schemas/onchain_table_data.schema.json +92 -52
- package/dist/schemas/persona_operation.output.json +7752 -0
- package/dist/schemas/persona_operation.schema.json +1232 -4
- package/dist/schemas/query_toolkit.output.json +756 -116
- package/dist/schemas/query_toolkit.schema.json +138 -7
- package/dist/schemas/schema_query.schema.json +1 -1
- package/dist/schemas/watch_operation.output.json +83 -0
- package/dist/schemas/wip_file.output.json +8 -0
- package/dist/schemas/workflow_operation.schema.json +2 -2
- package/dist/tools/handlers/benchmark-migration.d.ts +20 -3
- package/dist/tools/handlers/benchmark-migration.js +1 -1
- package/dist/tools/handlers/config.js +1 -1
- package/dist/tools/handlers/evaluation.js +1 -1
- package/dist/tools/handlers/evaluation.spec.js +1 -1
- package/dist/tools/handlers/industry-pack.js +1 -1
- package/dist/tools/handlers/onchain.d.ts +30 -0
- package/dist/tools/handlers/onchain.js +1 -1
- package/dist/tools/handlers/persona.js +1 -1
- package/dist/tools/handlers/query.d.ts +8 -0
- package/dist/tools/handlers/query.js +1 -1
- package/dist/tools/handlers/winner-derivation.d.ts +20 -0
- package/dist/tools/handlers/winner-derivation.js +1 -0
- package/dist/tools/handlers/wip-upload.js +1 -1
- package/dist/tools/index.d.ts +1 -0
- package/dist/tools/index.js +1 -1
- package/dist/tools/registry/business.js +1 -1
- package/dist/tools/registry/config.js +1 -1
- package/dist/tools/registry/evaluation.js +1 -1
- package/dist/tools/registry/identity.js +1 -1
- package/dist/tools/registry/query.js +1 -1
- package/dist/tools/transport-integrity.d.ts +7 -0
- package/dist/tools/transport-integrity.js +1 -0
- package/dist/tools/upgrade-check.js +1 -1
- package/dist/tools/wrap.d.ts +5 -0
- package/dist/tools/wrap.js +1 -1
- package/package.json +2 -2
- package/dist/extensions/business-modules.d.ts +0 -54
- package/dist/extensions/business-modules.js +0 -1
- package/dist/schemas/guard-templates.json +0 -379
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const ServiceBuyItemSchema: z.ZodPreprocess<z.ZodObject<{
|
|
3
|
-
name: z.ZodString
|
|
3
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4
|
+
sale_id: z.ZodOptional<z.ZodNumber>;
|
|
5
|
+
sale_name: z.ZodOptional<z.ZodString>;
|
|
4
6
|
quantity: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
5
7
|
wip_hash: z.ZodDefault<z.ZodString>;
|
|
6
8
|
}, z.core.$strict>>;
|
|
7
9
|
export declare const BuySchema: z.ZodObject<{
|
|
8
10
|
items: z.ZodArray<z.ZodPreprocess<z.ZodObject<{
|
|
9
|
-
name: z.ZodString
|
|
11
|
+
name: z.ZodOptional<z.ZodString>;
|
|
12
|
+
sale_id: z.ZodOptional<z.ZodNumber>;
|
|
13
|
+
sale_name: z.ZodOptional<z.ZodString>;
|
|
10
14
|
quantity: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
11
15
|
wip_hash: z.ZodDefault<z.ZodString>;
|
|
12
16
|
}, z.core.$strict>>>;
|
|
@@ -18,6 +22,7 @@ export declare const BuySchema: z.ZodObject<{
|
|
|
18
22
|
discount: z.ZodOptional<z.ZodString>;
|
|
19
23
|
payment_remark: z.ZodOptional<z.ZodString>;
|
|
20
24
|
payment_index: z.ZodOptional<z.ZodNumber>;
|
|
25
|
+
derive_wip_from_listing: z.ZodOptional<z.ZodBoolean>;
|
|
21
26
|
}, z.core.$strict>;
|
|
22
27
|
export declare const DiscountSchema: z.ZodObject<{
|
|
23
28
|
name: z.ZodString;
|
|
@@ -31,19 +36,27 @@ export declare const DiscountSchema: z.ZodObject<{
|
|
|
31
36
|
allow_zero_total: z.ZodOptional<z.ZodBoolean>;
|
|
32
37
|
time_ms_end: z.ZodNumber;
|
|
33
38
|
count: z.ZodNumber;
|
|
34
|
-
recipient: z.
|
|
39
|
+
recipient: z.ZodUnion<readonly [z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<{
|
|
40
|
+
entities: {
|
|
41
|
+
name_or_address: string;
|
|
42
|
+
local_mark_first: boolean;
|
|
43
|
+
}[];
|
|
44
|
+
check_all_founded: boolean;
|
|
45
|
+
}, string[]>>, z.ZodObject<{
|
|
35
46
|
entities: z.ZodArray<z.ZodObject<{
|
|
36
47
|
name_or_address: z.ZodOptional<z.ZodString>;
|
|
37
48
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
38
49
|
}, z.core.$strict>>;
|
|
39
50
|
check_all_founded: z.ZodDefault<z.ZodBoolean>;
|
|
40
|
-
}, z.core.$strict>;
|
|
51
|
+
}, z.core.$strict>]>;
|
|
41
52
|
transferable: z.ZodBoolean;
|
|
42
53
|
}, z.core.$strict>;
|
|
43
54
|
export declare const OrderNewSchema: z.ZodObject<{
|
|
44
55
|
buy: z.ZodObject<{
|
|
45
56
|
items: z.ZodArray<z.ZodPreprocess<z.ZodObject<{
|
|
46
|
-
name: z.ZodString
|
|
57
|
+
name: z.ZodOptional<z.ZodString>;
|
|
58
|
+
sale_id: z.ZodOptional<z.ZodNumber>;
|
|
59
|
+
sale_name: z.ZodOptional<z.ZodString>;
|
|
47
60
|
quantity: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
48
61
|
wip_hash: z.ZodDefault<z.ZodString>;
|
|
49
62
|
}, z.core.$strict>>>;
|
|
@@ -55,19 +68,29 @@ export declare const OrderNewSchema: z.ZodObject<{
|
|
|
55
68
|
discount: z.ZodOptional<z.ZodString>;
|
|
56
69
|
payment_remark: z.ZodOptional<z.ZodString>;
|
|
57
70
|
payment_index: z.ZodOptional<z.ZodNumber>;
|
|
71
|
+
derive_wip_from_listing: z.ZodOptional<z.ZodBoolean>;
|
|
58
72
|
}, z.core.$strict>;
|
|
59
|
-
agents: z.ZodOptional<z.
|
|
73
|
+
agents: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<{
|
|
74
|
+
entities: {
|
|
75
|
+
name_or_address: string;
|
|
76
|
+
local_mark_first: boolean;
|
|
77
|
+
}[];
|
|
78
|
+
check_all_founded: boolean;
|
|
79
|
+
}, string[]>>, z.ZodObject<{
|
|
60
80
|
entities: z.ZodArray<z.ZodObject<{
|
|
61
81
|
name_or_address: z.ZodOptional<z.ZodString>;
|
|
62
82
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
63
83
|
}, z.core.$strict>>;
|
|
64
84
|
check_all_founded: z.ZodDefault<z.ZodBoolean>;
|
|
65
|
-
}, z.core.$strict>>;
|
|
85
|
+
}, z.core.$strict>]>>;
|
|
66
86
|
order_required_info: z.ZodOptional<z.ZodString>;
|
|
67
|
-
transfer: z.ZodOptional<z.
|
|
87
|
+
transfer: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
88
|
+
name_or_address: string;
|
|
89
|
+
local_mark_first: boolean;
|
|
90
|
+
}, string>>, z.ZodObject<{
|
|
68
91
|
name_or_address: z.ZodOptional<z.ZodString>;
|
|
69
92
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
70
|
-
}, z.core.$strict>>;
|
|
93
|
+
}, z.core.$strict>]>>;
|
|
71
94
|
namedNewOrder: z.ZodOptional<z.ZodObject<{
|
|
72
95
|
name: z.ZodOptional<z.ZodString>;
|
|
73
96
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -95,7 +118,7 @@ export declare const SalesSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
95
118
|
stock: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
96
119
|
suspension: z.ZodBoolean;
|
|
97
120
|
wip: z.ZodString;
|
|
98
|
-
wip_hash: z.ZodString
|
|
121
|
+
wip_hash: z.ZodDefault<z.ZodString>;
|
|
99
122
|
}, z.core.$strip>>;
|
|
100
123
|
}, z.core.$strict>, z.ZodObject<{
|
|
101
124
|
op: z.ZodLiteral<"set">;
|
|
@@ -105,7 +128,7 @@ export declare const SalesSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
105
128
|
stock: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
106
129
|
suspension: z.ZodBoolean;
|
|
107
130
|
wip: z.ZodString;
|
|
108
|
-
wip_hash: z.ZodString
|
|
131
|
+
wip_hash: z.ZodDefault<z.ZodString>;
|
|
109
132
|
}, z.core.$strip>>;
|
|
110
133
|
}, z.core.$strict>, z.ZodObject<{
|
|
111
134
|
op: z.ZodLiteral<"remove">;
|
|
@@ -132,6 +155,11 @@ export declare const SalesSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
132
155
|
op: z.ZodLiteral<"sale_suspension">;
|
|
133
156
|
sale_name: z.ZodString;
|
|
134
157
|
suspension: z.ZodBoolean;
|
|
158
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
159
|
+
op: z.ZodLiteral<"wip_set">;
|
|
160
|
+
sale_name: z.ZodString;
|
|
161
|
+
wip: z.ZodString;
|
|
162
|
+
wip_hash: z.ZodOptional<z.ZodString>;
|
|
135
163
|
}, z.core.$strict>], "op">;
|
|
136
164
|
export declare const RestockSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
137
165
|
op: z.ZodLiteral<"flag">;
|
|
@@ -159,7 +187,9 @@ export declare const CallService_DataSchema: z.ZodObject<{
|
|
|
159
187
|
order_new: z.ZodOptional<z.ZodObject<{
|
|
160
188
|
buy: z.ZodObject<{
|
|
161
189
|
items: z.ZodArray<z.ZodPreprocess<z.ZodObject<{
|
|
162
|
-
name: z.ZodString
|
|
190
|
+
name: z.ZodOptional<z.ZodString>;
|
|
191
|
+
sale_id: z.ZodOptional<z.ZodNumber>;
|
|
192
|
+
sale_name: z.ZodOptional<z.ZodString>;
|
|
163
193
|
quantity: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
164
194
|
wip_hash: z.ZodDefault<z.ZodString>;
|
|
165
195
|
}, z.core.$strict>>>;
|
|
@@ -171,19 +201,29 @@ export declare const CallService_DataSchema: z.ZodObject<{
|
|
|
171
201
|
discount: z.ZodOptional<z.ZodString>;
|
|
172
202
|
payment_remark: z.ZodOptional<z.ZodString>;
|
|
173
203
|
payment_index: z.ZodOptional<z.ZodNumber>;
|
|
204
|
+
derive_wip_from_listing: z.ZodOptional<z.ZodBoolean>;
|
|
174
205
|
}, z.core.$strict>;
|
|
175
|
-
agents: z.ZodOptional<z.
|
|
206
|
+
agents: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<{
|
|
207
|
+
entities: {
|
|
208
|
+
name_or_address: string;
|
|
209
|
+
local_mark_first: boolean;
|
|
210
|
+
}[];
|
|
211
|
+
check_all_founded: boolean;
|
|
212
|
+
}, string[]>>, z.ZodObject<{
|
|
176
213
|
entities: z.ZodArray<z.ZodObject<{
|
|
177
214
|
name_or_address: z.ZodOptional<z.ZodString>;
|
|
178
215
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
179
216
|
}, z.core.$strict>>;
|
|
180
217
|
check_all_founded: z.ZodDefault<z.ZodBoolean>;
|
|
181
|
-
}, z.core.$strict>>;
|
|
218
|
+
}, z.core.$strict>]>>;
|
|
182
219
|
order_required_info: z.ZodOptional<z.ZodString>;
|
|
183
|
-
transfer: z.ZodOptional<z.
|
|
220
|
+
transfer: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
221
|
+
name_or_address: string;
|
|
222
|
+
local_mark_first: boolean;
|
|
223
|
+
}, string>>, z.ZodObject<{
|
|
184
224
|
name_or_address: z.ZodOptional<z.ZodString>;
|
|
185
225
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
186
|
-
}, z.core.$strict>>;
|
|
226
|
+
}, z.core.$strict>]>>;
|
|
187
227
|
namedNewOrder: z.ZodOptional<z.ZodObject<{
|
|
188
228
|
name: z.ZodOptional<z.ZodString>;
|
|
189
229
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -213,7 +253,7 @@ export declare const CallService_DataSchema: z.ZodObject<{
|
|
|
213
253
|
stock: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
214
254
|
suspension: z.ZodBoolean;
|
|
215
255
|
wip: z.ZodString;
|
|
216
|
-
wip_hash: z.ZodString
|
|
256
|
+
wip_hash: z.ZodDefault<z.ZodString>;
|
|
217
257
|
}, z.core.$strip>>;
|
|
218
258
|
}, z.core.$strict>, z.ZodObject<{
|
|
219
259
|
op: z.ZodLiteral<"set">;
|
|
@@ -223,7 +263,7 @@ export declare const CallService_DataSchema: z.ZodObject<{
|
|
|
223
263
|
stock: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
224
264
|
suspension: z.ZodBoolean;
|
|
225
265
|
wip: z.ZodString;
|
|
226
|
-
wip_hash: z.ZodString
|
|
266
|
+
wip_hash: z.ZodDefault<z.ZodString>;
|
|
227
267
|
}, z.core.$strip>>;
|
|
228
268
|
}, z.core.$strict>, z.ZodObject<{
|
|
229
269
|
op: z.ZodLiteral<"remove">;
|
|
@@ -250,6 +290,11 @@ export declare const CallService_DataSchema: z.ZodObject<{
|
|
|
250
290
|
op: z.ZodLiteral<"sale_suspension">;
|
|
251
291
|
sale_name: z.ZodString;
|
|
252
292
|
suspension: z.ZodBoolean;
|
|
293
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
294
|
+
op: z.ZodLiteral<"wip_set">;
|
|
295
|
+
sale_name: z.ZodString;
|
|
296
|
+
wip: z.ZodString;
|
|
297
|
+
wip_hash: z.ZodOptional<z.ZodString>;
|
|
253
298
|
}, z.core.$strict>], "op">>;
|
|
254
299
|
restock: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
255
300
|
op: z.ZodLiteral<"flag">;
|
|
@@ -299,22 +344,31 @@ export declare const CallService_DataSchema: z.ZodObject<{
|
|
|
299
344
|
allow_zero_total: z.ZodOptional<z.ZodBoolean>;
|
|
300
345
|
time_ms_end: z.ZodNumber;
|
|
301
346
|
count: z.ZodNumber;
|
|
302
|
-
recipient: z.
|
|
347
|
+
recipient: z.ZodUnion<readonly [z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<{
|
|
348
|
+
entities: {
|
|
349
|
+
name_or_address: string;
|
|
350
|
+
local_mark_first: boolean;
|
|
351
|
+
}[];
|
|
352
|
+
check_all_founded: boolean;
|
|
353
|
+
}, string[]>>, z.ZodObject<{
|
|
303
354
|
entities: z.ZodArray<z.ZodObject<{
|
|
304
355
|
name_or_address: z.ZodOptional<z.ZodString>;
|
|
305
356
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
306
357
|
}, z.core.$strict>>;
|
|
307
358
|
check_all_founded: z.ZodDefault<z.ZodBoolean>;
|
|
308
|
-
}, z.core.$strict>;
|
|
359
|
+
}, z.core.$strict>]>;
|
|
309
360
|
transferable: z.ZodBoolean;
|
|
310
361
|
}, z.core.$strict>>;
|
|
311
362
|
discount_destroy: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
312
363
|
discount_send: z.ZodOptional<z.ZodObject<{
|
|
313
364
|
discounts: z.ZodArray<z.ZodString>;
|
|
314
|
-
recipient: z.
|
|
365
|
+
recipient: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
366
|
+
name_or_address: string;
|
|
367
|
+
local_mark_first: boolean;
|
|
368
|
+
}, string>>, z.ZodObject<{
|
|
315
369
|
name_or_address: z.ZodOptional<z.ZodString>;
|
|
316
370
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
317
|
-
}, z.core.$strict>;
|
|
371
|
+
}, z.core.$strict>]>;
|
|
318
372
|
}, z.core.$strict>>;
|
|
319
373
|
customer_required: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
320
374
|
order_allocators: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -326,10 +380,13 @@ export declare const CallService_DataSchema: z.ZodObject<{
|
|
|
326
380
|
who: z.ZodUnion<readonly [z.ZodObject<{
|
|
327
381
|
GuardIdentifier: z.ZodNumber;
|
|
328
382
|
}, z.core.$strip>, z.ZodObject<{
|
|
329
|
-
Entity: z.
|
|
383
|
+
Entity: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
384
|
+
name_or_address: string;
|
|
385
|
+
local_mark_first: boolean;
|
|
386
|
+
}, string>>, z.ZodObject<{
|
|
330
387
|
name_or_address: z.ZodOptional<z.ZodString>;
|
|
331
388
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
332
|
-
}, z.core.$strict>;
|
|
389
|
+
}, z.core.$strict>]>;
|
|
333
390
|
}, z.core.$strip>, z.ZodObject<{
|
|
334
391
|
Signer: z.ZodLiteral<"signer">;
|
|
335
392
|
}, z.core.$strip>]>;
|
|
@@ -355,10 +412,13 @@ export declare const CallService_DataSchema: z.ZodObject<{
|
|
|
355
412
|
who: z.ZodUnion<readonly [z.ZodObject<{
|
|
356
413
|
GuardIdentifier: z.ZodNumber;
|
|
357
414
|
}, z.core.$strip>, z.ZodObject<{
|
|
358
|
-
Entity: z.
|
|
415
|
+
Entity: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
416
|
+
name_or_address: string;
|
|
417
|
+
local_mark_first: boolean;
|
|
418
|
+
}, string>>, z.ZodObject<{
|
|
359
419
|
name_or_address: z.ZodOptional<z.ZodString>;
|
|
360
420
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
361
|
-
}, z.core.$strict>;
|
|
421
|
+
}, z.core.$strict>]>;
|
|
362
422
|
}, z.core.$strip>, z.ZodObject<{
|
|
363
423
|
Signer: z.ZodLiteral<"signer">;
|
|
364
424
|
}, z.core.$strip>]>;
|
|
@@ -382,10 +442,13 @@ export declare const CallService_DataSchema: z.ZodObject<{
|
|
|
382
442
|
coin: z.ZodString;
|
|
383
443
|
}, z.core.$strip>]>>;
|
|
384
444
|
compensation_fund_withdraw: z.ZodOptional<z.ZodObject<{
|
|
385
|
-
receipt: z.
|
|
445
|
+
receipt: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
446
|
+
name_or_address: string;
|
|
447
|
+
local_mark_first: boolean;
|
|
448
|
+
}, string>>, z.ZodObject<{
|
|
386
449
|
name_or_address: z.ZodOptional<z.ZodString>;
|
|
387
450
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
388
|
-
}, z.core.$strict>;
|
|
451
|
+
}, z.core.$strict>]>;
|
|
389
452
|
payment_info: z.ZodObject<{
|
|
390
453
|
for_object: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
391
454
|
for_guard: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
@@ -458,7 +521,9 @@ export declare const CallService_InputSchema: z.ZodObject<{
|
|
|
458
521
|
order_new: z.ZodOptional<z.ZodObject<{
|
|
459
522
|
buy: z.ZodObject<{
|
|
460
523
|
items: z.ZodArray<z.ZodPreprocess<z.ZodObject<{
|
|
461
|
-
name: z.ZodString
|
|
524
|
+
name: z.ZodOptional<z.ZodString>;
|
|
525
|
+
sale_id: z.ZodOptional<z.ZodNumber>;
|
|
526
|
+
sale_name: z.ZodOptional<z.ZodString>;
|
|
462
527
|
quantity: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
463
528
|
wip_hash: z.ZodDefault<z.ZodString>;
|
|
464
529
|
}, z.core.$strict>>>;
|
|
@@ -470,19 +535,29 @@ export declare const CallService_InputSchema: z.ZodObject<{
|
|
|
470
535
|
discount: z.ZodOptional<z.ZodString>;
|
|
471
536
|
payment_remark: z.ZodOptional<z.ZodString>;
|
|
472
537
|
payment_index: z.ZodOptional<z.ZodNumber>;
|
|
538
|
+
derive_wip_from_listing: z.ZodOptional<z.ZodBoolean>;
|
|
473
539
|
}, z.core.$strict>;
|
|
474
|
-
agents: z.ZodOptional<z.
|
|
540
|
+
agents: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<{
|
|
541
|
+
entities: {
|
|
542
|
+
name_or_address: string;
|
|
543
|
+
local_mark_first: boolean;
|
|
544
|
+
}[];
|
|
545
|
+
check_all_founded: boolean;
|
|
546
|
+
}, string[]>>, z.ZodObject<{
|
|
475
547
|
entities: z.ZodArray<z.ZodObject<{
|
|
476
548
|
name_or_address: z.ZodOptional<z.ZodString>;
|
|
477
549
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
478
550
|
}, z.core.$strict>>;
|
|
479
551
|
check_all_founded: z.ZodDefault<z.ZodBoolean>;
|
|
480
|
-
}, z.core.$strict>>;
|
|
552
|
+
}, z.core.$strict>]>>;
|
|
481
553
|
order_required_info: z.ZodOptional<z.ZodString>;
|
|
482
|
-
transfer: z.ZodOptional<z.
|
|
554
|
+
transfer: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
555
|
+
name_or_address: string;
|
|
556
|
+
local_mark_first: boolean;
|
|
557
|
+
}, string>>, z.ZodObject<{
|
|
483
558
|
name_or_address: z.ZodOptional<z.ZodString>;
|
|
484
559
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
485
|
-
}, z.core.$strict>>;
|
|
560
|
+
}, z.core.$strict>]>>;
|
|
486
561
|
namedNewOrder: z.ZodOptional<z.ZodObject<{
|
|
487
562
|
name: z.ZodOptional<z.ZodString>;
|
|
488
563
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -512,7 +587,7 @@ export declare const CallService_InputSchema: z.ZodObject<{
|
|
|
512
587
|
stock: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
513
588
|
suspension: z.ZodBoolean;
|
|
514
589
|
wip: z.ZodString;
|
|
515
|
-
wip_hash: z.ZodString
|
|
590
|
+
wip_hash: z.ZodDefault<z.ZodString>;
|
|
516
591
|
}, z.core.$strip>>;
|
|
517
592
|
}, z.core.$strict>, z.ZodObject<{
|
|
518
593
|
op: z.ZodLiteral<"set">;
|
|
@@ -522,7 +597,7 @@ export declare const CallService_InputSchema: z.ZodObject<{
|
|
|
522
597
|
stock: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
523
598
|
suspension: z.ZodBoolean;
|
|
524
599
|
wip: z.ZodString;
|
|
525
|
-
wip_hash: z.ZodString
|
|
600
|
+
wip_hash: z.ZodDefault<z.ZodString>;
|
|
526
601
|
}, z.core.$strip>>;
|
|
527
602
|
}, z.core.$strict>, z.ZodObject<{
|
|
528
603
|
op: z.ZodLiteral<"remove">;
|
|
@@ -549,6 +624,11 @@ export declare const CallService_InputSchema: z.ZodObject<{
|
|
|
549
624
|
op: z.ZodLiteral<"sale_suspension">;
|
|
550
625
|
sale_name: z.ZodString;
|
|
551
626
|
suspension: z.ZodBoolean;
|
|
627
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
628
|
+
op: z.ZodLiteral<"wip_set">;
|
|
629
|
+
sale_name: z.ZodString;
|
|
630
|
+
wip: z.ZodString;
|
|
631
|
+
wip_hash: z.ZodOptional<z.ZodString>;
|
|
552
632
|
}, z.core.$strict>], "op">>;
|
|
553
633
|
restock: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
554
634
|
op: z.ZodLiteral<"flag">;
|
|
@@ -598,22 +678,31 @@ export declare const CallService_InputSchema: z.ZodObject<{
|
|
|
598
678
|
allow_zero_total: z.ZodOptional<z.ZodBoolean>;
|
|
599
679
|
time_ms_end: z.ZodNumber;
|
|
600
680
|
count: z.ZodNumber;
|
|
601
|
-
recipient: z.
|
|
681
|
+
recipient: z.ZodUnion<readonly [z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<{
|
|
682
|
+
entities: {
|
|
683
|
+
name_or_address: string;
|
|
684
|
+
local_mark_first: boolean;
|
|
685
|
+
}[];
|
|
686
|
+
check_all_founded: boolean;
|
|
687
|
+
}, string[]>>, z.ZodObject<{
|
|
602
688
|
entities: z.ZodArray<z.ZodObject<{
|
|
603
689
|
name_or_address: z.ZodOptional<z.ZodString>;
|
|
604
690
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
605
691
|
}, z.core.$strict>>;
|
|
606
692
|
check_all_founded: z.ZodDefault<z.ZodBoolean>;
|
|
607
|
-
}, z.core.$strict>;
|
|
693
|
+
}, z.core.$strict>]>;
|
|
608
694
|
transferable: z.ZodBoolean;
|
|
609
695
|
}, z.core.$strict>>;
|
|
610
696
|
discount_destroy: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
611
697
|
discount_send: z.ZodOptional<z.ZodObject<{
|
|
612
698
|
discounts: z.ZodArray<z.ZodString>;
|
|
613
|
-
recipient: z.
|
|
699
|
+
recipient: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
700
|
+
name_or_address: string;
|
|
701
|
+
local_mark_first: boolean;
|
|
702
|
+
}, string>>, z.ZodObject<{
|
|
614
703
|
name_or_address: z.ZodOptional<z.ZodString>;
|
|
615
704
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
616
|
-
}, z.core.$strict>;
|
|
705
|
+
}, z.core.$strict>]>;
|
|
617
706
|
}, z.core.$strict>>;
|
|
618
707
|
customer_required: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
619
708
|
order_allocators: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -625,10 +714,13 @@ export declare const CallService_InputSchema: z.ZodObject<{
|
|
|
625
714
|
who: z.ZodUnion<readonly [z.ZodObject<{
|
|
626
715
|
GuardIdentifier: z.ZodNumber;
|
|
627
716
|
}, z.core.$strip>, z.ZodObject<{
|
|
628
|
-
Entity: z.
|
|
717
|
+
Entity: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
718
|
+
name_or_address: string;
|
|
719
|
+
local_mark_first: boolean;
|
|
720
|
+
}, string>>, z.ZodObject<{
|
|
629
721
|
name_or_address: z.ZodOptional<z.ZodString>;
|
|
630
722
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
631
|
-
}, z.core.$strict>;
|
|
723
|
+
}, z.core.$strict>]>;
|
|
632
724
|
}, z.core.$strip>, z.ZodObject<{
|
|
633
725
|
Signer: z.ZodLiteral<"signer">;
|
|
634
726
|
}, z.core.$strip>]>;
|
|
@@ -654,10 +746,13 @@ export declare const CallService_InputSchema: z.ZodObject<{
|
|
|
654
746
|
who: z.ZodUnion<readonly [z.ZodObject<{
|
|
655
747
|
GuardIdentifier: z.ZodNumber;
|
|
656
748
|
}, z.core.$strip>, z.ZodObject<{
|
|
657
|
-
Entity: z.
|
|
749
|
+
Entity: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
750
|
+
name_or_address: string;
|
|
751
|
+
local_mark_first: boolean;
|
|
752
|
+
}, string>>, z.ZodObject<{
|
|
658
753
|
name_or_address: z.ZodOptional<z.ZodString>;
|
|
659
754
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
660
|
-
}, z.core.$strict>;
|
|
755
|
+
}, z.core.$strict>]>;
|
|
661
756
|
}, z.core.$strip>, z.ZodObject<{
|
|
662
757
|
Signer: z.ZodLiteral<"signer">;
|
|
663
758
|
}, z.core.$strip>]>;
|
|
@@ -681,10 +776,13 @@ export declare const CallService_InputSchema: z.ZodObject<{
|
|
|
681
776
|
coin: z.ZodString;
|
|
682
777
|
}, z.core.$strip>]>>;
|
|
683
778
|
compensation_fund_withdraw: z.ZodOptional<z.ZodObject<{
|
|
684
|
-
receipt: z.
|
|
779
|
+
receipt: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<{
|
|
780
|
+
name_or_address: string;
|
|
781
|
+
local_mark_first: boolean;
|
|
782
|
+
}, string>>, z.ZodObject<{
|
|
685
783
|
name_or_address: z.ZodOptional<z.ZodString>;
|
|
686
784
|
local_mark_first: z.ZodOptional<z.ZodBoolean>;
|
|
687
|
-
}, z.core.$strict>;
|
|
785
|
+
}, z.core.$strict>]>;
|
|
688
786
|
payment_info: z.ZodObject<{
|
|
689
787
|
for_object: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
690
788
|
for_guard: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|