@salesforce/b2c-cli 2.3.1 → 2.5.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/bin/dev.js +8 -8
- package/bin/run.js +5 -7
- package/content/guidance/b2c/b2c-business-manager-extensions/SKILL.md +361 -0
- package/content/guidance/b2c/b2c-business-manager-extensions/references/EXTENSIONS-XML.md +458 -0
- package/content/guidance/b2c/b2c-controllers/SKILL.md +301 -0
- package/content/guidance/b2c/b2c-controllers/references/CLASSIC-PATTERNS.md +335 -0
- package/content/guidance/b2c/b2c-controllers/references/SFRA-PATTERNS.md +400 -0
- package/content/guidance/b2c/b2c-custom-api-development/SKILL.md +281 -0
- package/content/guidance/b2c/b2c-custom-api-development/references/CONTRACT.md +142 -0
- package/content/guidance/b2c/b2c-custom-api-development/references/IMPLEMENTATION.md +153 -0
- package/content/guidance/b2c/b2c-custom-api-development/references/TESTING.md +118 -0
- package/content/guidance/b2c/b2c-custom-caches/SKILL.md +279 -0
- package/content/guidance/b2c/b2c-custom-job-steps/SKILL.md +520 -0
- package/content/guidance/b2c/b2c-custom-job-steps/references/CHUNK-ORIENTED.md +377 -0
- package/content/guidance/b2c/b2c-custom-job-steps/references/JOBS-XML.md +212 -0
- package/content/guidance/b2c/b2c-custom-job-steps/references/STEPTYPES-JSON.md +373 -0
- package/content/guidance/b2c/b2c-custom-job-steps/references/TASK-ORIENTED.md +344 -0
- package/content/guidance/b2c/b2c-custom-objects/SKILL.md +327 -0
- package/content/guidance/b2c/b2c-custom-objects/references/OCAPI-SEARCH.md +298 -0
- package/content/guidance/b2c/b2c-forms/SKILL.md +242 -0
- package/content/guidance/b2c/b2c-forms/references/FORM-XML.md +409 -0
- package/content/guidance/b2c/b2c-hooks/SKILL.md +500 -0
- package/content/guidance/b2c/b2c-hooks/references/OCAPI-SCAPI-HOOKS.md +403 -0
- package/content/guidance/b2c/b2c-hooks/references/ORDER-HOOK-LIFECYCLE.md +169 -0
- package/content/guidance/b2c/b2c-hooks/references/SYSTEM-HOOKS.md +433 -0
- package/content/guidance/b2c/b2c-isml/SKILL.md +320 -0
- package/content/guidance/b2c/b2c-isml/references/EXPRESSIONS.md +366 -0
- package/content/guidance/b2c/b2c-isml/references/TAGS.md +443 -0
- package/content/guidance/b2c/b2c-localization/SKILL.md +344 -0
- package/content/guidance/b2c/b2c-localization/references/PATTERNS.md +407 -0
- package/content/guidance/b2c/b2c-logging/SKILL.md +352 -0
- package/content/guidance/b2c/b2c-logging/references/LOG-FILES.md +282 -0
- package/content/guidance/b2c/b2c-metadata/SKILL.md +406 -0
- package/content/guidance/b2c/b2c-metadata/references/SYSTEM-OBJECTS.md +320 -0
- package/content/guidance/b2c/b2c-metadata/references/XML-EXAMPLES.md +366 -0
- package/content/guidance/b2c/b2c-onboarding/SKILL.md +154 -0
- package/content/guidance/b2c/b2c-ordering/SKILL.md +391 -0
- package/content/guidance/b2c/b2c-page-designer/SKILL.md +410 -0
- package/content/guidance/b2c/b2c-page-designer/references/ATTRIBUTE-TYPES.md +436 -0
- package/content/guidance/b2c/b2c-page-designer/references/META-DEFINITIONS.md +340 -0
- package/content/guidance/b2c/b2c-querying-data/SKILL.md +289 -0
- package/content/guidance/b2c/b2c-querying-data/references/PERFORMANCE-APIS.md +74 -0
- package/content/guidance/b2c/b2c-scapi-admin/SKILL.md +53 -0
- package/content/guidance/b2c/b2c-scapi-admin/references/CLIENT-EXAMPLES.md +440 -0
- package/content/guidance/b2c/b2c-scapi-admin/references/INTEGRATION-PATTERNS.md +518 -0
- package/content/guidance/b2c/b2c-scapi-admin/references/OAUTH-SCOPES.md +337 -0
- package/content/guidance/b2c/b2c-scapi-shopper/SKILL.md +56 -0
- package/content/guidance/b2c/b2c-scapi-shopper/references/CHECKOUT-FLOW.md +466 -0
- package/content/guidance/b2c/b2c-scapi-shopper/references/CLIENT-EXAMPLES.md +351 -0
- package/content/guidance/b2c/b2c-scapi-shopper/references/COMMON-PATTERNS.md +390 -0
- package/content/guidance/b2c/b2c-scapi-shopper/references/SCOPES.md +290 -0
- package/content/guidance/b2c/b2c-slas-auth-patterns/SKILL.md +420 -0
- package/content/guidance/b2c/b2c-slas-auth-patterns/references/PASSKEYS.md +126 -0
- package/content/guidance/b2c/b2c-slas-auth-patterns/references/SESSION-BRIDGE.md +267 -0
- package/content/guidance/b2c/b2c-slas-auth-patterns/references/TOKEN-LIFECYCLE.md +367 -0
- package/content/guidance/b2c/b2c-webservices/SKILL.md +318 -0
- package/content/guidance/b2c/b2c-webservices/references/FTP-SERVICES.md +524 -0
- package/content/guidance/b2c/b2c-webservices/references/HTTP-SERVICES.md +578 -0
- package/content/guidance/b2c/b2c-webservices/references/SERVICES-XML.md +351 -0
- package/content/guidance/b2c/b2c-webservices/references/SOAP-SERVICES.md +587 -0
- package/content/guidance/b2c-cli/b2c-am/SKILL.md +277 -0
- package/content/guidance/b2c-cli/b2c-bm-users-roles/SKILL.md +210 -0
- package/content/guidance/b2c-cli/b2c-cap/SKILL.md +131 -0
- package/content/guidance/b2c-cli/b2c-cip/SKILL.md +116 -0
- package/content/guidance/b2c-cli/b2c-cip/references/KNOWN_TABLES.md +105 -0
- package/content/guidance/b2c-cli/b2c-cip/references/SALES_ANALYSIS.md +50 -0
- package/content/guidance/b2c-cli/b2c-cip/references/STARTER_QUERIES.md +147 -0
- package/content/guidance/b2c-cli/b2c-code/SKILL.md +146 -0
- package/content/guidance/b2c-cli/b2c-config/SKILL.md +481 -0
- package/content/guidance/b2c-cli/b2c-content/SKILL.md +176 -0
- package/content/guidance/b2c-cli/b2c-debug/SKILL.md +138 -0
- package/content/guidance/b2c-cli/b2c-docs/SKILL.md +301 -0
- package/content/guidance/b2c-cli/b2c-ecdn/SKILL.md +137 -0
- package/content/guidance/b2c-cli/b2c-ecdn/references/ADVANCED.md +97 -0
- package/content/guidance/b2c-cli/b2c-ecdn/references/SECURITY.md +75 -0
- package/content/guidance/b2c-cli/b2c-import-set-migrations/SKILL.md +265 -0
- package/content/guidance/b2c-cli/b2c-job/SKILL.md +70 -0
- package/content/guidance/b2c-cli/b2c-job/references/EXPORT.md +121 -0
- package/content/guidance/b2c-cli/b2c-job/references/IMPORT.md +55 -0
- package/content/guidance/b2c-cli/b2c-job/references/RUN-AND-MONITOR.md +148 -0
- package/content/guidance/b2c-cli/b2c-logs/SKILL.md +249 -0
- package/content/guidance/b2c-cli/b2c-metrics/SKILL.md +315 -0
- package/content/guidance/b2c-cli/b2c-mrt/SKILL.md +207 -0
- package/content/guidance/b2c-cli/b2c-mrt/references/BUNDLE-COMMANDS.md +203 -0
- package/content/guidance/b2c-cli/b2c-mrt/references/ENVIRONMENT-COMMANDS.md +218 -0
- package/content/guidance/b2c-cli/b2c-mrt/references/PROJECT-COMMANDS.md +154 -0
- package/content/guidance/b2c-cli/b2c-sandbox/SKILL.md +112 -0
- package/content/guidance/b2c-cli/b2c-scapi-custom/SKILL.md +126 -0
- package/content/guidance/b2c-cli/b2c-scapi-schemas/SKILL.md +70 -0
- package/content/guidance/b2c-cli/b2c-scapi-schemas/references/CLI-EXAMPLES.md +108 -0
- package/content/guidance/b2c-cli/b2c-site-import-export/SKILL.md +57 -0
- package/content/guidance/b2c-cli/b2c-site-import-export/references/IMPORT-OPTIONS.md +118 -0
- package/content/guidance/b2c-cli/b2c-site-import-export/references/METADATA-XML.md +381 -0
- package/content/guidance/b2c-cli/b2c-site-import-export/references/WORKFLOWS.md +182 -0
- package/content/guidance/b2c-cli/b2c-sites/SKILL.md +112 -0
- package/content/guidance/b2c-cli/b2c-slas/SKILL.md +182 -0
- package/content/guidance/b2c-cli/b2c-webdav/SKILL.md +186 -0
- package/content/guidance/b2c-ops/b2c-checkout-triage/SKILL.md +68 -0
- package/content/guidance/b2c-ops/b2c-edge-traffic-triage/SKILL.md +69 -0
- package/content/guidance/b2c-ops/b2c-job-health/SKILL.md +80 -0
- package/content/guidance/b2c-ops/b2c-job-health/references/job-logs.md +21 -0
- package/content/guidance/b2c-ops/b2c-order-failure-triage/SKILL.md +66 -0
- package/content/guidance/b2c-ops/b2c-order-failure-triage/references/order-evidence.md +87 -0
- package/content/guidance/b2c-ops/b2c-production-triage/SKILL.md +88 -0
- package/content/guidance/b2c-ops/b2c-production-triage/references/escalation.md +57 -0
- package/content/guidance/index.json +1969 -0
- package/content/guidance/storefront-next/sfnext-accessibility/SKILL.md +103 -0
- package/content/guidance/storefront-next/sfnext-accessibility/references/checklist.md +64 -0
- package/content/guidance/storefront-next/sfnext-analytics-consent/SKILL.md +91 -0
- package/content/guidance/storefront-next/sfnext-analytics-consent/references/CUSTOM-ADAPTER.md +49 -0
- package/content/guidance/storefront-next/sfnext-authentication/SKILL.md +127 -0
- package/content/guidance/storefront-next/sfnext-authentication/references/COOKIES.md +39 -0
- package/content/guidance/storefront-next/sfnext-authentication/references/LOGIN-FLOWS.md +59 -0
- package/content/guidance/storefront-next/sfnext-commerce-features/SKILL.md +67 -0
- package/content/guidance/storefront-next/sfnext-commerce-features/references/FEATURE-PREREQUISITES.md +37 -0
- package/content/guidance/storefront-next/sfnext-components/SKILL.md +153 -0
- package/content/guidance/storefront-next/sfnext-components/references/COMPONENT-AUTHORING.md +118 -0
- package/content/guidance/storefront-next/sfnext-components/references/SHAPE-TOKENS.md +51 -0
- package/content/guidance/storefront-next/sfnext-components/references/STORYBOOK.md +54 -0
- package/content/guidance/storefront-next/sfnext-components/references/TOKEN-SYSTEM.md +53 -0
- package/content/guidance/storefront-next/sfnext-components/references/TROUBLESHOOTING.md +19 -0
- package/content/guidance/storefront-next/sfnext-configuration/SKILL.md +163 -0
- package/content/guidance/storefront-next/sfnext-configuration/references/ENV-VARIABLES.md +55 -0
- package/content/guidance/storefront-next/sfnext-configuration/references/MULTI-SITE-URLS.md +137 -0
- package/content/guidance/storefront-next/sfnext-data-fetching/SKILL.md +140 -0
- package/content/guidance/storefront-next/sfnext-data-fetching/references/ACTIONS.md +53 -0
- package/content/guidance/storefront-next/sfnext-data-fetching/references/API-CLIENTS.md +34 -0
- package/content/guidance/storefront-next/sfnext-data-fetching/references/LOADERS.md +73 -0
- package/content/guidance/storefront-next/sfnext-data-fetching/references/SCAPI-FETCHER.md +39 -0
- package/content/guidance/storefront-next/sfnext-deployment/SKILL.md +127 -0
- package/content/guidance/storefront-next/sfnext-deployment/references/MRT-DEPLOYMENT.md +59 -0
- package/content/guidance/storefront-next/sfnext-extensions/SKILL.md +118 -0
- package/content/guidance/storefront-next/sfnext-extensions/references/ACTION-HOOKS.md +57 -0
- package/content/guidance/storefront-next/sfnext-extensions/references/BASE-AUDIT.md +68 -0
- package/content/guidance/storefront-next/sfnext-extensions/references/CLI-AND-INSTALL.md +58 -0
- package/content/guidance/storefront-next/sfnext-extensions/references/EXTENSION-EXAMPLES.md +79 -0
- package/content/guidance/storefront-next/sfnext-hybrid-storefronts/SKILL.md +93 -0
- package/content/guidance/storefront-next/sfnext-hybrid-storefronts/references/HYBRID-PROXY-CONFIG.md +86 -0
- package/content/guidance/storefront-next/sfnext-i18n/SKILL.md +152 -0
- package/content/guidance/storefront-next/sfnext-i18n/references/locale-config.md +35 -0
- package/content/guidance/storefront-next/sfnext-overview/SKILL.md +101 -0
- package/content/guidance/storefront-next/sfnext-page-designer/SKILL.md +202 -0
- package/content/guidance/storefront-next/sfnext-page-designer/references/BUSINESS-MANAGER.md +46 -0
- package/content/guidance/storefront-next/sfnext-page-designer/references/COMPONENT-REGISTRY.md +111 -0
- package/content/guidance/storefront-next/sfnext-page-designer/references/DECORATOR-PATTERNS.md +168 -0
- package/content/guidance/storefront-next/sfnext-page-designer/references/REVIEW-CHECKLIST.md +83 -0
- package/content/guidance/storefront-next/sfnext-page-designer/references/TROUBLESHOOTING.md +35 -0
- package/content/guidance/storefront-next/sfnext-performance/SKILL.md +102 -0
- package/content/guidance/storefront-next/sfnext-performance/references/PERFORMANCE-REVIEW-CHECKLIST.md +85 -0
- package/content/guidance/storefront-next/sfnext-performance/references/SUSPENSE-AND-STREAMING.md +58 -0
- package/content/guidance/storefront-next/sfnext-project-setup/SKILL.md +147 -0
- package/content/guidance/storefront-next/sfnext-project-setup/references/PROJECT-STRUCTURE.md +61 -0
- package/content/guidance/storefront-next/sfnext-project-setup/references/SCRIPTS.md +47 -0
- package/content/guidance/storefront-next/sfnext-project-setup/references/SFNEXT-CLI.md +63 -0
- package/content/guidance/storefront-next/sfnext-quality-gates/SKILL.md +70 -0
- package/content/guidance/storefront-next/sfnext-quality-gates/references/lint-and-budgets.md +39 -0
- package/content/guidance/storefront-next/sfnext-revalidation/SKILL.md +121 -0
- package/content/guidance/storefront-next/sfnext-revalidation/references/POLICIES-AND-TAGS.md +55 -0
- package/content/guidance/storefront-next/sfnext-routing/SKILL.md +123 -0
- package/content/guidance/storefront-next/sfnext-routing/references/ROUTE-CONVENTIONS.md +65 -0
- package/content/guidance/storefront-next/sfnext-routing/references/URLS-AND-SEO-ROUTES.md +22 -0
- package/content/guidance/storefront-next/sfnext-scapi/SKILL.md +126 -0
- package/content/guidance/storefront-next/sfnext-scapi/references/WORKED-EXAMPLE.md +39 -0
- package/content/guidance/storefront-next/sfnext-security/SKILL.md +129 -0
- package/content/guidance/storefront-next/sfnext-security/references/COOKIE-DOMAIN.md +39 -0
- package/content/guidance/storefront-next/sfnext-security/references/TURNSTILE.md +43 -0
- package/content/guidance/storefront-next/sfnext-seo/SKILL.md +95 -0
- package/content/guidance/storefront-next/sfnext-seo/references/MULTI-DOMAIN-BASE-PATH.md +17 -0
- package/content/guidance/storefront-next/sfnext-seo/references/SEO-ROUTES.md +31 -0
- package/content/guidance/storefront-next/sfnext-state-management/SKILL.md +114 -0
- package/content/guidance/storefront-next/sfnext-state-management/references/PATTERNS.md +45 -0
- package/content/guidance/storefront-next/sfnext-testing/SKILL.md +151 -0
- package/content/guidance/storefront-next/sfnext-testing/references/E2E.md +38 -0
- package/content/guidance/storefront-next/sfnext-testing/references/STORYBOOK-PATTERNS.md +97 -0
- package/content/guidance/storefront-next/sfnext-testing/references/UNIT-AND-ROUTE-TESTS.md +60 -0
- package/content/guidance/storefront-next/sfnext-theming/SKILL.md +104 -0
- package/content/guidance/storefront-next/sfnext-theming/references/REBRAND-CHECKLIST.md +29 -0
- package/dist/commands/cap/install.d.ts +1 -0
- package/dist/commands/cap/list.d.ts +1 -0
- package/dist/commands/cap/pull.d.ts +1 -0
- package/dist/commands/cap/tasks.d.ts +1 -0
- package/dist/commands/cap/uninstall.d.ts +1 -0
- package/dist/commands/cip/describe.d.ts +1 -0
- package/dist/commands/cip/query.d.ts +1 -0
- package/dist/commands/cip/report/bot-traffic-share.d.ts +1 -0
- package/dist/commands/cip/report/checkout-funnel-dropoff.d.ts +1 -0
- package/dist/commands/cip/report/controller-error-rate-trend.d.ts +1 -0
- package/dist/commands/cip/report/controller-health-scorecard.d.ts +1 -0
- package/dist/commands/cip/report/customer-registration-trends.d.ts +1 -0
- package/dist/commands/cip/report/discount-depth-breakdown.d.ts +1 -0
- package/dist/commands/cip/report/inventory-stockout-by-location.d.ts +1 -0
- package/dist/commands/cip/report/new-vs-returning-buyer-revenue.d.ts +1 -0
- package/dist/commands/cip/report/ocapi-client-usage.d.ts +1 -0
- package/dist/commands/cip/report/ocapi-requests.d.ts +1 -0
- package/dist/commands/cip/report/payment-method-performance.d.ts +1 -0
- package/dist/commands/cip/report/product-co-purchase-analysis.d.ts +1 -0
- package/dist/commands/cip/report/promotion-discount-analysis.d.ts +1 -0
- package/dist/commands/cip/report/promotion-roi-leaderboard.d.ts +1 -0
- package/dist/commands/cip/report/recommender-effectiveness.d.ts +1 -0
- package/dist/commands/cip/report/remote-include-performance.d.ts +1 -0
- package/dist/commands/cip/report/revenue-by-channel.d.ts +1 -0
- package/dist/commands/cip/report/sales-analytics.d.ts +1 -0
- package/dist/commands/cip/report/sales-summary.d.ts +1 -0
- package/dist/commands/cip/report/scapi-cache-hit-ratio.d.ts +1 -0
- package/dist/commands/cip/report/scapi-error-rate-by-status.d.ts +1 -0
- package/dist/commands/cip/report/scapi-latency-distribution.d.ts +1 -0
- package/dist/commands/cip/report/scapi-traffic-latency.d.ts +1 -0
- package/dist/commands/cip/report/search-query-performance.d.ts +1 -0
- package/dist/commands/cip/report/top-referrers.d.ts +1 -0
- package/dist/commands/cip/report/top-selling-products.d.ts +1 -0
- package/dist/commands/cip/report/zero-result-searches.d.ts +1 -0
- package/dist/commands/cip/tables.d.ts +1 -0
- package/dist/commands/code/activate.d.ts +1 -0
- package/dist/commands/code/delete.d.ts +1 -0
- package/dist/commands/code/deploy.d.ts +1 -0
- package/dist/commands/code/download.d.ts +1 -0
- package/dist/commands/code/watch.d.ts +1 -0
- package/dist/commands/commands/search.d.ts +35 -0
- package/dist/commands/commands/search.js +85 -0
- package/dist/commands/commands/search.js.map +1 -0
- package/dist/commands/content/export.d.ts +1 -0
- package/dist/commands/content/list.d.ts +1 -0
- package/dist/commands/content/validate.d.ts +1 -0
- package/dist/commands/debug/cli.d.ts +1 -0
- package/dist/commands/debug/index.d.ts +1 -0
- package/dist/commands/docs/cache.d.ts +1 -0
- package/dist/commands/docs/download.d.ts +1 -0
- package/dist/commands/docs/read.d.ts +1 -0
- package/dist/commands/docs/schema.d.ts +1 -0
- package/dist/commands/docs/search.d.ts +1 -0
- package/dist/commands/docs/skill.d.ts +41 -0
- package/dist/commands/docs/skill.js +183 -0
- package/dist/commands/docs/skill.js.map +1 -0
- package/dist/commands/ecdn/cache/purge.d.ts +1 -0
- package/dist/commands/ecdn/certificates/add.d.ts +1 -0
- package/dist/commands/ecdn/certificates/delete.d.ts +1 -0
- package/dist/commands/ecdn/certificates/list.d.ts +1 -0
- package/dist/commands/ecdn/certificates/update.d.ts +1 -0
- package/dist/commands/ecdn/certificates/validate.d.ts +1 -0
- package/dist/commands/ecdn/cipher-suites/get.d.ts +1 -0
- package/dist/commands/ecdn/cipher-suites/update.d.ts +1 -0
- package/dist/commands/ecdn/firewall/create.d.ts +1 -0
- package/dist/commands/ecdn/firewall/delete.d.ts +1 -0
- package/dist/commands/ecdn/firewall/get.d.ts +1 -0
- package/dist/commands/ecdn/firewall/list.d.ts +1 -0
- package/dist/commands/ecdn/firewall/reorder.d.ts +1 -0
- package/dist/commands/ecdn/firewall/update.d.ts +1 -0
- package/dist/commands/ecdn/logpush/jobs/create.d.ts +1 -0
- package/dist/commands/ecdn/logpush/jobs/delete.d.ts +1 -0
- package/dist/commands/ecdn/logpush/jobs/get.d.ts +1 -0
- package/dist/commands/ecdn/logpush/jobs/list.d.ts +1 -0
- package/dist/commands/ecdn/logpush/jobs/update.d.ts +1 -0
- package/dist/commands/ecdn/logpush/ownership.d.ts +1 -0
- package/dist/commands/ecdn/mrt-rules/create.d.ts +1 -0
- package/dist/commands/ecdn/mrt-rules/delete.d.ts +1 -0
- package/dist/commands/ecdn/mrt-rules/get.d.ts +1 -0
- package/dist/commands/ecdn/mrt-rules/rules/delete.d.ts +1 -0
- package/dist/commands/ecdn/mrt-rules/rules/update.d.ts +1 -0
- package/dist/commands/ecdn/mrt-rules/update.d.ts +1 -0
- package/dist/commands/ecdn/mtls/create.d.ts +1 -0
- package/dist/commands/ecdn/mtls/delete.d.ts +1 -0
- package/dist/commands/ecdn/mtls/get.d.ts +1 -0
- package/dist/commands/ecdn/mtls/issue.d.ts +1 -0
- package/dist/commands/ecdn/mtls/list.d.ts +1 -0
- package/dist/commands/ecdn/mtls/setup.d.ts +1 -0
- package/dist/commands/ecdn/origin-headers/delete.d.ts +1 -0
- package/dist/commands/ecdn/origin-headers/get.d.ts +1 -0
- package/dist/commands/ecdn/origin-headers/set.d.ts +1 -0
- package/dist/commands/ecdn/page-shield/notifications/create.d.ts +1 -0
- package/dist/commands/ecdn/page-shield/notifications/delete.d.ts +1 -0
- package/dist/commands/ecdn/page-shield/notifications/list.d.ts +1 -0
- package/dist/commands/ecdn/page-shield/policies/create.d.ts +1 -0
- package/dist/commands/ecdn/page-shield/policies/delete.d.ts +1 -0
- package/dist/commands/ecdn/page-shield/policies/get.d.ts +1 -0
- package/dist/commands/ecdn/page-shield/policies/list.d.ts +1 -0
- package/dist/commands/ecdn/page-shield/policies/update.d.ts +1 -0
- package/dist/commands/ecdn/page-shield/scripts/get.d.ts +1 -0
- package/dist/commands/ecdn/page-shield/scripts/list.d.ts +1 -0
- package/dist/commands/ecdn/rate-limit/create.d.ts +1 -0
- package/dist/commands/ecdn/rate-limit/delete.d.ts +1 -0
- package/dist/commands/ecdn/rate-limit/get.d.ts +1 -0
- package/dist/commands/ecdn/rate-limit/list.d.ts +1 -0
- package/dist/commands/ecdn/rate-limit/update.d.ts +1 -0
- package/dist/commands/ecdn/security/get.d.ts +1 -0
- package/dist/commands/ecdn/security/update.d.ts +1 -0
- package/dist/commands/ecdn/speed/get.d.ts +1 -0
- package/dist/commands/ecdn/speed/update.d.ts +1 -0
- package/dist/commands/ecdn/waf/groups/list.d.ts +1 -0
- package/dist/commands/ecdn/waf/groups/update.d.ts +1 -0
- package/dist/commands/ecdn/waf/managed-rules/list.d.ts +1 -0
- package/dist/commands/ecdn/waf/managed-rules/update.d.ts +1 -0
- package/dist/commands/ecdn/waf/migrate.d.ts +1 -0
- package/dist/commands/ecdn/waf/owasp/get.d.ts +1 -0
- package/dist/commands/ecdn/waf/owasp/update.d.ts +1 -0
- package/dist/commands/ecdn/waf/rules/get.d.ts +1 -0
- package/dist/commands/ecdn/waf/rules/list.d.ts +1 -0
- package/dist/commands/ecdn/waf/rules/update.d.ts +1 -0
- package/dist/commands/ecdn/waf/rulesets/list.d.ts +1 -0
- package/dist/commands/ecdn/waf/rulesets/update.d.ts +1 -0
- package/dist/commands/ecdn/zones/create.d.ts +1 -0
- package/dist/commands/ecdn/zones/list.d.ts +1 -0
- package/dist/commands/job/execution/delete.d.ts +1 -0
- package/dist/commands/job/export.d.ts +1 -0
- package/dist/commands/job/import-set.d.ts +1 -0
- package/dist/commands/job/import.d.ts +1 -0
- package/dist/commands/job/log.d.ts +1 -0
- package/dist/commands/job/run.d.ts +1 -0
- package/dist/commands/job/run.js +1 -1
- package/dist/commands/job/run.js.map +1 -1
- package/dist/commands/job/search.d.ts +1 -0
- package/dist/commands/job/wait.d.ts +1 -0
- package/dist/commands/logs/get.d.ts +1 -0
- package/dist/commands/logs/list.d.ts +1 -0
- package/dist/commands/logs/tail.d.ts +1 -0
- package/dist/commands/metrics/controller.d.ts +1 -0
- package/dist/commands/metrics/ecdn.d.ts +1 -0
- package/dist/commands/metrics/mrt.d.ts +1 -0
- package/dist/commands/metrics/ocapi.d.ts +1 -0
- package/dist/commands/metrics/overall.d.ts +1 -0
- package/dist/commands/metrics/sales.d.ts +1 -0
- package/dist/commands/metrics/scapi-hooks.d.ts +1 -0
- package/dist/commands/metrics/scapi.d.ts +1 -0
- package/dist/commands/metrics/third-party.d.ts +1 -0
- package/dist/commands/mrt/bundle/delete.d.ts +1 -0
- package/dist/commands/mrt/bundle/deploy.d.ts +1 -0
- package/dist/commands/mrt/bundle/download.d.ts +1 -0
- package/dist/commands/mrt/bundle/history.d.ts +1 -0
- package/dist/commands/mrt/bundle/list.d.ts +1 -0
- package/dist/commands/mrt/bundle/save.d.ts +1 -0
- package/dist/commands/mrt/bundle/upload-v2.d.ts +1 -0
- package/dist/commands/mrt/env/access-control/list.d.ts +1 -0
- package/dist/commands/mrt/env/b2c.d.ts +1 -0
- package/dist/commands/mrt/env/clone.d.ts +1 -0
- package/dist/commands/mrt/env/create.d.ts +1 -0
- package/dist/commands/mrt/env/delete.d.ts +1 -0
- package/dist/commands/mrt/env/get.d.ts +1 -0
- package/dist/commands/mrt/env/invalidate.d.ts +1 -0
- package/dist/commands/mrt/env/list.d.ts +1 -0
- package/dist/commands/mrt/env/redirect/clone.d.ts +1 -0
- package/dist/commands/mrt/env/redirect/create.d.ts +1 -0
- package/dist/commands/mrt/env/redirect/delete.d.ts +1 -0
- package/dist/commands/mrt/env/redirect/list.d.ts +1 -0
- package/dist/commands/mrt/env/update.d.ts +1 -0
- package/dist/commands/mrt/env/var/delete.d.ts +1 -0
- package/dist/commands/mrt/env/var/list.d.ts +1 -0
- package/dist/commands/mrt/env/var/push.d.ts +1 -0
- package/dist/commands/mrt/env/var/set.d.ts +1 -0
- package/dist/commands/mrt/org/b2c.d.ts +1 -0
- package/dist/commands/mrt/org/cert/create.d.ts +1 -0
- package/dist/commands/mrt/org/cert/delete.d.ts +1 -0
- package/dist/commands/mrt/org/cert/get.d.ts +1 -0
- package/dist/commands/mrt/org/cert/list.d.ts +1 -0
- package/dist/commands/mrt/org/cert/restart-validation.d.ts +1 -0
- package/dist/commands/mrt/org/list.d.ts +1 -0
- package/dist/commands/mrt/org/member/add.d.ts +1 -0
- package/dist/commands/mrt/org/member/get.d.ts +1 -0
- package/dist/commands/mrt/org/member/list.d.ts +1 -0
- package/dist/commands/mrt/org/member/remove.d.ts +1 -0
- package/dist/commands/mrt/org/member/update.d.ts +1 -0
- package/dist/commands/mrt/project/create.d.ts +1 -0
- package/dist/commands/mrt/project/delete.d.ts +1 -0
- package/dist/commands/mrt/project/get.d.ts +1 -0
- package/dist/commands/mrt/project/list.d.ts +1 -0
- package/dist/commands/mrt/project/member/add.d.ts +1 -0
- package/dist/commands/mrt/project/member/get.d.ts +1 -0
- package/dist/commands/mrt/project/member/list.d.ts +1 -0
- package/dist/commands/mrt/project/member/remove.d.ts +1 -0
- package/dist/commands/mrt/project/member/update.d.ts +1 -0
- package/dist/commands/mrt/project/notification/delete.d.ts +1 -0
- package/dist/commands/mrt/project/notification/get.d.ts +1 -0
- package/dist/commands/mrt/project/update.d.ts +1 -0
- package/dist/commands/mrt/save-credentials.d.ts +1 -0
- package/dist/commands/mrt/tail-logs.d.ts +1 -0
- package/dist/commands/mrt/user/api-key.d.ts +1 -0
- package/dist/commands/mrt/user/email-prefs.d.ts +1 -0
- package/dist/commands/mrt/user/profile.d.ts +1 -0
- package/dist/commands/scaffold/init.js +2 -1
- package/dist/commands/scaffold/init.js.map +1 -1
- package/dist/commands/scapi/custom/status.d.ts +1 -0
- package/dist/commands/scapi/schemas/get.d.ts +9 -0
- package/dist/commands/scapi/schemas/get.js +51 -19
- package/dist/commands/scapi/schemas/get.js.map +1 -1
- package/dist/commands/scapi/schemas/list.d.ts +6 -0
- package/dist/commands/scapi/schemas/list.js +28 -18
- package/dist/commands/scapi/schemas/list.js.map +1 -1
- package/dist/commands/setup/get.d.ts +36 -0
- package/dist/commands/setup/get.js +67 -0
- package/dist/commands/setup/get.js.map +1 -0
- package/dist/commands/setup/ide/tsserver-plugin.d.ts +1 -0
- package/dist/commands/setup/ide/vscode-types.d.ts +1 -0
- package/dist/commands/setup/index.js +4 -3
- package/dist/commands/setup/index.js.map +1 -1
- package/dist/commands/setup/inspect.d.ts +1 -0
- package/dist/commands/setup/inspect.js +15 -4
- package/dist/commands/setup/inspect.js.map +1 -1
- package/dist/commands/setup/instance/create.d.ts +9 -0
- package/dist/commands/setup/instance/create.js +22 -6
- package/dist/commands/setup/instance/create.js.map +1 -1
- package/dist/commands/setup/instance/list.d.ts +1 -0
- package/dist/commands/setup/instance/list.js +3 -4
- package/dist/commands/setup/instance/list.js.map +1 -1
- package/dist/commands/setup/instance/remove.d.ts +1 -0
- package/dist/commands/setup/instance/remove.js +5 -5
- package/dist/commands/setup/instance/remove.js.map +1 -1
- package/dist/commands/setup/instance/set-active.d.ts +6 -0
- package/dist/commands/setup/instance/set-active.js +20 -5
- package/dist/commands/setup/instance/set-active.js.map +1 -1
- package/dist/commands/setup/openshell.d.ts +1 -0
- package/dist/commands/setup/set.d.ts +37 -0
- package/dist/commands/setup/set.js +87 -0
- package/dist/commands/setup/set.js.map +1 -0
- package/dist/commands/setup/skills.d.ts +1 -0
- package/dist/commands/setup/unset.d.ts +37 -0
- package/dist/commands/setup/unset.js +55 -0
- package/dist/commands/setup/unset.js.map +1 -0
- package/dist/commands/slas/client/create.d.ts +1 -0
- package/dist/commands/slas/client/delete.d.ts +1 -0
- package/dist/commands/slas/client/get.d.ts +1 -0
- package/dist/commands/slas/client/list.d.ts +1 -0
- package/dist/commands/slas/client/open.d.ts +1 -0
- package/dist/commands/slas/client/update.d.ts +1 -0
- package/dist/commands/slas/token.d.ts +1 -0
- package/dist/commands/slas/token.js +2 -1
- package/dist/commands/slas/token.js.map +1 -1
- package/dist/commands/webdav/get.d.ts +1 -0
- package/dist/commands/webdav/rm.d.ts +1 -0
- package/dist/help.d.ts +25 -0
- package/dist/help.js +96 -0
- package/dist/help.js.map +1 -0
- package/dist/lib/scaffold/generate-helper.js +3 -2
- package/dist/lib/scaffold/generate-helper.js.map +1 -1
- package/dist/lib/skills.d.ts +19 -0
- package/dist/lib/skills.js +75 -0
- package/dist/lib/skills.js.map +1 -0
- package/dist/utils/cip/command.d.ts +1 -0
- package/dist/utils/ecdn/zone-command.d.ts +1 -0
- package/dist/utils/setup/config-field-command.d.ts +25 -0
- package/dist/utils/setup/config-field-command.js +41 -0
- package/dist/utils/setup/config-field-command.js.map +1 -0
- package/dist/utils/slas/client.d.ts +1 -0
- package/oclif.manifest.json +20802 -16968
- package/package.json +11 -5
|
@@ -0,0 +1,320 @@
|
|
|
1
|
+
# System Objects Reference
|
|
2
|
+
|
|
3
|
+
All extensible system object types in B2C Commerce.
|
|
4
|
+
|
|
5
|
+
## Product-Related
|
|
6
|
+
|
|
7
|
+
### Product
|
|
8
|
+
|
|
9
|
+
Product master, variant, and standard products.
|
|
10
|
+
|
|
11
|
+
```xml
|
|
12
|
+
<type-extension type-id="Product">
|
|
13
|
+
<custom-attribute-definitions>
|
|
14
|
+
<attribute-definition attribute-id="vendorSKU">
|
|
15
|
+
<display-name xml:lang="x-default">Vendor SKU</display-name>
|
|
16
|
+
<type>string</type>
|
|
17
|
+
</attribute-definition>
|
|
18
|
+
</custom-attribute-definitions>
|
|
19
|
+
</type-extension>
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
**Common custom attributes:** vendor IDs, compliance flags, external system references
|
|
23
|
+
|
|
24
|
+
### ProductLineItem
|
|
25
|
+
|
|
26
|
+
Line items in baskets and orders.
|
|
27
|
+
|
|
28
|
+
```xml
|
|
29
|
+
<type-extension type-id="ProductLineItem">
|
|
30
|
+
<custom-attribute-definitions>
|
|
31
|
+
<attribute-definition attribute-id="giftMessage">
|
|
32
|
+
<display-name xml:lang="x-default">Gift Message</display-name>
|
|
33
|
+
<type>text</type>
|
|
34
|
+
</attribute-definition>
|
|
35
|
+
</custom-attribute-definitions>
|
|
36
|
+
</type-extension>
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### Category
|
|
40
|
+
|
|
41
|
+
Catalog categories.
|
|
42
|
+
|
|
43
|
+
```xml
|
|
44
|
+
<type-extension type-id="Category">
|
|
45
|
+
<custom-attribute-definitions>
|
|
46
|
+
<attribute-definition attribute-id="bannerImage">
|
|
47
|
+
<display-name xml:lang="x-default">Banner Image</display-name>
|
|
48
|
+
<type>image</type>
|
|
49
|
+
</attribute-definition>
|
|
50
|
+
</custom-attribute-definitions>
|
|
51
|
+
</type-extension>
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## Order-Related
|
|
55
|
+
|
|
56
|
+
### Order
|
|
57
|
+
|
|
58
|
+
Placed orders.
|
|
59
|
+
|
|
60
|
+
```xml
|
|
61
|
+
<type-extension type-id="Order">
|
|
62
|
+
<custom-attribute-definitions>
|
|
63
|
+
<attribute-definition attribute-id="externalOrderId">
|
|
64
|
+
<display-name xml:lang="x-default">External Order ID</display-name>
|
|
65
|
+
<type>string</type>
|
|
66
|
+
<externally-managed-flag>true</externally-managed-flag>
|
|
67
|
+
</attribute-definition>
|
|
68
|
+
<attribute-definition attribute-id="exportStatus">
|
|
69
|
+
<display-name xml:lang="x-default">Export Status</display-name>
|
|
70
|
+
<type>enum-of-string</type>
|
|
71
|
+
<value-definitions>
|
|
72
|
+
<value-definition>
|
|
73
|
+
<display xml:lang="x-default">Pending</display>
|
|
74
|
+
<value>pending</value>
|
|
75
|
+
</value-definition>
|
|
76
|
+
<value-definition>
|
|
77
|
+
<display xml:lang="x-default">Exported</display>
|
|
78
|
+
<value>exported</value>
|
|
79
|
+
</value-definition>
|
|
80
|
+
</value-definitions>
|
|
81
|
+
</attribute-definition>
|
|
82
|
+
</custom-attribute-definitions>
|
|
83
|
+
</type-extension>
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
### Basket
|
|
87
|
+
|
|
88
|
+
Active shopping carts.
|
|
89
|
+
|
|
90
|
+
```xml
|
|
91
|
+
<type-extension type-id="Basket">
|
|
92
|
+
<custom-attribute-definitions>
|
|
93
|
+
<attribute-definition attribute-id="quoteId">
|
|
94
|
+
<display-name xml:lang="x-default">Quote ID</display-name>
|
|
95
|
+
<type>string</type>
|
|
96
|
+
</attribute-definition>
|
|
97
|
+
</custom-attribute-definitions>
|
|
98
|
+
</type-extension>
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
### Shipment
|
|
102
|
+
|
|
103
|
+
Order/basket shipments.
|
|
104
|
+
|
|
105
|
+
```xml
|
|
106
|
+
<type-extension type-id="Shipment">
|
|
107
|
+
<custom-attribute-definitions>
|
|
108
|
+
<attribute-definition attribute-id="deliveryInstructions">
|
|
109
|
+
<display-name xml:lang="x-default">Delivery Instructions</display-name>
|
|
110
|
+
<type>text</type>
|
|
111
|
+
</attribute-definition>
|
|
112
|
+
</custom-attribute-definitions>
|
|
113
|
+
</type-extension>
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
## Customer-Related
|
|
117
|
+
|
|
118
|
+
### Profile
|
|
119
|
+
|
|
120
|
+
Customer profiles (registered customers).
|
|
121
|
+
|
|
122
|
+
```xml
|
|
123
|
+
<type-extension type-id="Profile">
|
|
124
|
+
<custom-attribute-definitions>
|
|
125
|
+
<attribute-definition attribute-id="loyaltyNumber">
|
|
126
|
+
<display-name xml:lang="x-default">Loyalty Number</display-name>
|
|
127
|
+
<type>string</type>
|
|
128
|
+
</attribute-definition>
|
|
129
|
+
<attribute-definition attribute-id="preferredContactMethod">
|
|
130
|
+
<display-name xml:lang="x-default">Preferred Contact Method</display-name>
|
|
131
|
+
<type>enum-of-string</type>
|
|
132
|
+
<value-definitions>
|
|
133
|
+
<value-definition>
|
|
134
|
+
<display xml:lang="x-default">Email</display>
|
|
135
|
+
<value>email</value>
|
|
136
|
+
</value-definition>
|
|
137
|
+
<value-definition>
|
|
138
|
+
<display xml:lang="x-default">Phone</display>
|
|
139
|
+
<value>phone</value>
|
|
140
|
+
</value-definition>
|
|
141
|
+
<value-definition>
|
|
142
|
+
<display xml:lang="x-default">SMS</display>
|
|
143
|
+
<value>sms</value>
|
|
144
|
+
</value-definition>
|
|
145
|
+
</value-definitions>
|
|
146
|
+
</attribute-definition>
|
|
147
|
+
</custom-attribute-definitions>
|
|
148
|
+
</type-extension>
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
### CustomerAddress
|
|
152
|
+
|
|
153
|
+
Customer address book entries.
|
|
154
|
+
|
|
155
|
+
```xml
|
|
156
|
+
<type-extension type-id="CustomerAddress">
|
|
157
|
+
<custom-attribute-definitions>
|
|
158
|
+
<attribute-definition attribute-id="addressType">
|
|
159
|
+
<display-name xml:lang="x-default">Address Type</display-name>
|
|
160
|
+
<type>enum-of-string</type>
|
|
161
|
+
<value-definitions>
|
|
162
|
+
<value-definition>
|
|
163
|
+
<display xml:lang="x-default">Residential</display>
|
|
164
|
+
<value>residential</value>
|
|
165
|
+
</value-definition>
|
|
166
|
+
<value-definition>
|
|
167
|
+
<display xml:lang="x-default">Commercial</display>
|
|
168
|
+
<value>commercial</value>
|
|
169
|
+
</value-definition>
|
|
170
|
+
</value-definitions>
|
|
171
|
+
</attribute-definition>
|
|
172
|
+
</custom-attribute-definitions>
|
|
173
|
+
</type-extension>
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
## Content-Related
|
|
177
|
+
|
|
178
|
+
### Content
|
|
179
|
+
|
|
180
|
+
Content assets.
|
|
181
|
+
|
|
182
|
+
```xml
|
|
183
|
+
<type-extension type-id="Content">
|
|
184
|
+
<custom-attribute-definitions>
|
|
185
|
+
<attribute-definition attribute-id="author">
|
|
186
|
+
<display-name xml:lang="x-default">Author</display-name>
|
|
187
|
+
<type>string</type>
|
|
188
|
+
</attribute-definition>
|
|
189
|
+
<attribute-definition attribute-id="publishDate">
|
|
190
|
+
<display-name xml:lang="x-default">Publish Date</display-name>
|
|
191
|
+
<type>datetime</type>
|
|
192
|
+
</attribute-definition>
|
|
193
|
+
</custom-attribute-definitions>
|
|
194
|
+
</type-extension>
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
### Folder
|
|
198
|
+
|
|
199
|
+
Content folders.
|
|
200
|
+
|
|
201
|
+
```xml
|
|
202
|
+
<type-extension type-id="Folder">
|
|
203
|
+
<custom-attribute-definitions>
|
|
204
|
+
<attribute-definition attribute-id="folderIcon">
|
|
205
|
+
<display-name xml:lang="x-default">Folder Icon</display-name>
|
|
206
|
+
<type>image</type>
|
|
207
|
+
</attribute-definition>
|
|
208
|
+
</custom-attribute-definitions>
|
|
209
|
+
</type-extension>
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
## Site Configuration
|
|
213
|
+
|
|
214
|
+
### SitePreferences
|
|
215
|
+
|
|
216
|
+
Site-level configuration.
|
|
217
|
+
|
|
218
|
+
```xml
|
|
219
|
+
<type-extension type-id="SitePreferences">
|
|
220
|
+
<custom-attribute-definitions>
|
|
221
|
+
<attribute-definition attribute-id="enableFeature">
|
|
222
|
+
<display-name xml:lang="x-default">Enable Feature</display-name>
|
|
223
|
+
<type>boolean</type>
|
|
224
|
+
<default-value>false</default-value>
|
|
225
|
+
</attribute-definition>
|
|
226
|
+
<attribute-definition attribute-id="apiKey">
|
|
227
|
+
<display-name xml:lang="x-default">API Key</display-name>
|
|
228
|
+
<type>password</type>
|
|
229
|
+
</attribute-definition>
|
|
230
|
+
</custom-attribute-definitions>
|
|
231
|
+
</type-extension>
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
### OrganizationPreferences
|
|
235
|
+
|
|
236
|
+
Organization-wide configuration.
|
|
237
|
+
|
|
238
|
+
```xml
|
|
239
|
+
<type-extension type-id="OrganizationPreferences">
|
|
240
|
+
<custom-attribute-definitions>
|
|
241
|
+
<attribute-definition attribute-id="orgWideApiKey">
|
|
242
|
+
<display-name xml:lang="x-default">Organization API Key</display-name>
|
|
243
|
+
<type>password</type>
|
|
244
|
+
</attribute-definition>
|
|
245
|
+
</custom-attribute-definitions>
|
|
246
|
+
</type-extension>
|
|
247
|
+
```
|
|
248
|
+
|
|
249
|
+
## Other Objects
|
|
250
|
+
|
|
251
|
+
### Store
|
|
252
|
+
|
|
253
|
+
Physical store information.
|
|
254
|
+
|
|
255
|
+
```xml
|
|
256
|
+
<type-extension type-id="Store">
|
|
257
|
+
<custom-attribute-definitions>
|
|
258
|
+
<attribute-definition attribute-id="googlePlaceId">
|
|
259
|
+
<display-name xml:lang="x-default">Google Place ID</display-name>
|
|
260
|
+
<type>string</type>
|
|
261
|
+
</attribute-definition>
|
|
262
|
+
</custom-attribute-definitions>
|
|
263
|
+
</type-extension>
|
|
264
|
+
```
|
|
265
|
+
|
|
266
|
+
### GiftCertificate
|
|
267
|
+
|
|
268
|
+
Gift certificates.
|
|
269
|
+
|
|
270
|
+
```xml
|
|
271
|
+
<type-extension type-id="GiftCertificate">
|
|
272
|
+
<custom-attribute-definitions>
|
|
273
|
+
<attribute-definition attribute-id="purchasedBy">
|
|
274
|
+
<display-name xml:lang="x-default">Purchased By</display-name>
|
|
275
|
+
<type>string</type>
|
|
276
|
+
</attribute-definition>
|
|
277
|
+
</custom-attribute-definitions>
|
|
278
|
+
</type-extension>
|
|
279
|
+
```
|
|
280
|
+
|
|
281
|
+
### SourceCodeGroup
|
|
282
|
+
|
|
283
|
+
Source code groups for campaigns.
|
|
284
|
+
|
|
285
|
+
```xml
|
|
286
|
+
<type-extension type-id="SourceCodeGroup">
|
|
287
|
+
<custom-attribute-definitions>
|
|
288
|
+
<attribute-definition attribute-id="campaignType">
|
|
289
|
+
<display-name xml:lang="x-default">Campaign Type</display-name>
|
|
290
|
+
<type>string</type>
|
|
291
|
+
</attribute-definition>
|
|
292
|
+
</custom-attribute-definitions>
|
|
293
|
+
</type-extension>
|
|
294
|
+
```
|
|
295
|
+
|
|
296
|
+
## Complete List of System Objects
|
|
297
|
+
|
|
298
|
+
| Object Type | Description |
|
|
299
|
+
|-------------|-------------|
|
|
300
|
+
| `Basket` | Shopping cart |
|
|
301
|
+
| `Category` | Catalog category |
|
|
302
|
+
| `Content` | Content asset |
|
|
303
|
+
| `Coupon` | Coupon codes |
|
|
304
|
+
| `CustomerAddress` | Address book entry |
|
|
305
|
+
| `CustomerGroup` | Customer segments |
|
|
306
|
+
| `Folder` | Content folder |
|
|
307
|
+
| `GiftCertificate` | Gift certificate |
|
|
308
|
+
| `Order` | Placed order |
|
|
309
|
+
| `OrderAddress` | Order shipping/billing address |
|
|
310
|
+
| `OrganizationPreferences` | Org-level config |
|
|
311
|
+
| `PaymentInstrument` | Payment method |
|
|
312
|
+
| `PaymentTransaction` | Payment transaction |
|
|
313
|
+
| `Product` | Catalog product |
|
|
314
|
+
| `ProductLineItem` | Cart/order line item |
|
|
315
|
+
| `Profile` | Customer profile |
|
|
316
|
+
| `Shipment` | Order shipment |
|
|
317
|
+
| `ShippingLineItem` | Shipping charge |
|
|
318
|
+
| `SitePreferences` | Site-level config |
|
|
319
|
+
| `SourceCodeGroup` | Campaign source code |
|
|
320
|
+
| `Store` | Physical store |
|
|
@@ -0,0 +1,366 @@
|
|
|
1
|
+
# Metadata XML Examples
|
|
2
|
+
|
|
3
|
+
Complete examples for common metadata import/export scenarios.
|
|
4
|
+
|
|
5
|
+
## XSD Schema Reference
|
|
6
|
+
|
|
7
|
+
For authoritative XML schema definitions, use the `b2c` CLI (if installed):
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
# View specific schemas
|
|
11
|
+
b2c docs schema metadata
|
|
12
|
+
b2c docs schema catalog
|
|
13
|
+
b2c docs schema library
|
|
14
|
+
b2c docs schema preferences
|
|
15
|
+
|
|
16
|
+
# List all available schemas
|
|
17
|
+
b2c docs schema --list
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Site Archive Structure
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
/site-archive/
|
|
24
|
+
/meta/
|
|
25
|
+
system-objecttype-extensions.xml
|
|
26
|
+
custom-objecttype-definitions.xml
|
|
27
|
+
/sites/
|
|
28
|
+
/RefArch/
|
|
29
|
+
preferences.xml
|
|
30
|
+
/catalogs/
|
|
31
|
+
/storefront-catalog/
|
|
32
|
+
catalog.xml
|
|
33
|
+
/libraries/
|
|
34
|
+
/RefArchSharedLibrary/
|
|
35
|
+
library.xml
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Adding Custom Attributes to Products
|
|
39
|
+
|
|
40
|
+
### Metadata (meta/system-objecttype-extensions.xml)
|
|
41
|
+
|
|
42
|
+
```xml
|
|
43
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
44
|
+
<metadata xmlns="http://www.demandware.com/xml/impex/metadata/2006-10-31">
|
|
45
|
+
<type-extension type-id="Product">
|
|
46
|
+
<custom-attribute-definitions>
|
|
47
|
+
<!-- String attribute -->
|
|
48
|
+
<attribute-definition attribute-id="manufacturerPartNumber">
|
|
49
|
+
<display-name xml:lang="x-default">Manufacturer Part Number</display-name>
|
|
50
|
+
<description xml:lang="x-default">MPN from manufacturer</description>
|
|
51
|
+
<type>string</type>
|
|
52
|
+
<mandatory-flag>false</mandatory-flag>
|
|
53
|
+
<externally-managed-flag>true</externally-managed-flag>
|
|
54
|
+
<min-length>0</min-length>
|
|
55
|
+
<field-length>50</field-length>
|
|
56
|
+
</attribute-definition>
|
|
57
|
+
|
|
58
|
+
<!-- Enum attribute -->
|
|
59
|
+
<attribute-definition attribute-id="warrantyType">
|
|
60
|
+
<display-name xml:lang="x-default">Warranty Type</display-name>
|
|
61
|
+
<type>enum-of-string</type>
|
|
62
|
+
<mandatory-flag>false</mandatory-flag>
|
|
63
|
+
<value-definitions>
|
|
64
|
+
<value-definition>
|
|
65
|
+
<display xml:lang="x-default">No Warranty</display>
|
|
66
|
+
<value>none</value>
|
|
67
|
+
</value-definition>
|
|
68
|
+
<value-definition default="true">
|
|
69
|
+
<display xml:lang="x-default">Standard Warranty</display>
|
|
70
|
+
<value>standard</value>
|
|
71
|
+
</value-definition>
|
|
72
|
+
<value-definition>
|
|
73
|
+
<display xml:lang="x-default">Extended Warranty</display>
|
|
74
|
+
<value>extended</value>
|
|
75
|
+
</value-definition>
|
|
76
|
+
</value-definitions>
|
|
77
|
+
</attribute-definition>
|
|
78
|
+
|
|
79
|
+
<!-- Boolean attribute -->
|
|
80
|
+
<attribute-definition attribute-id="requiresAssembly">
|
|
81
|
+
<display-name xml:lang="x-default">Requires Assembly</display-name>
|
|
82
|
+
<type>boolean</type>
|
|
83
|
+
<mandatory-flag>false</mandatory-flag>
|
|
84
|
+
<default-value>false</default-value>
|
|
85
|
+
</attribute-definition>
|
|
86
|
+
|
|
87
|
+
<!-- Double attribute -->
|
|
88
|
+
<attribute-definition attribute-id="weight">
|
|
89
|
+
<display-name xml:lang="x-default">Product Weight</display-name>
|
|
90
|
+
<type>double</type>
|
|
91
|
+
<mandatory-flag>false</mandatory-flag>
|
|
92
|
+
<unit>kg</unit>
|
|
93
|
+
</attribute-definition>
|
|
94
|
+
|
|
95
|
+
<!-- Multi-select attribute -->
|
|
96
|
+
<attribute-definition attribute-id="certifications">
|
|
97
|
+
<display-name xml:lang="x-default">Certifications</display-name>
|
|
98
|
+
<type>set-of-string</type>
|
|
99
|
+
<mandatory-flag>false</mandatory-flag>
|
|
100
|
+
<value-definitions>
|
|
101
|
+
<value-definition>
|
|
102
|
+
<display xml:lang="x-default">Energy Star</display>
|
|
103
|
+
<value>energy-star</value>
|
|
104
|
+
</value-definition>
|
|
105
|
+
<value-definition>
|
|
106
|
+
<display xml:lang="x-default">UL Listed</display>
|
|
107
|
+
<value>ul-listed</value>
|
|
108
|
+
</value-definition>
|
|
109
|
+
<value-definition>
|
|
110
|
+
<display xml:lang="x-default">FDA Approved</display>
|
|
111
|
+
<value>fda-approved</value>
|
|
112
|
+
</value-definition>
|
|
113
|
+
</value-definitions>
|
|
114
|
+
</attribute-definition>
|
|
115
|
+
|
|
116
|
+
<!-- Localizable attribute -->
|
|
117
|
+
<attribute-definition attribute-id="localDescription">
|
|
118
|
+
<display-name xml:lang="x-default">Localized Description</display-name>
|
|
119
|
+
<type>text</type>
|
|
120
|
+
<localizable-flag>true</localizable-flag>
|
|
121
|
+
<mandatory-flag>false</mandatory-flag>
|
|
122
|
+
</attribute-definition>
|
|
123
|
+
</custom-attribute-definitions>
|
|
124
|
+
|
|
125
|
+
<group-definitions>
|
|
126
|
+
<attribute-group group-id="ProductExtras">
|
|
127
|
+
<display-name xml:lang="x-default">Product Extras</display-name>
|
|
128
|
+
<attribute attribute-id="manufacturerPartNumber"/>
|
|
129
|
+
<attribute attribute-id="warrantyType"/>
|
|
130
|
+
<attribute attribute-id="requiresAssembly"/>
|
|
131
|
+
<attribute attribute-id="weight"/>
|
|
132
|
+
<attribute attribute-id="certifications"/>
|
|
133
|
+
<attribute attribute-id="localDescription"/>
|
|
134
|
+
</attribute-group>
|
|
135
|
+
</group-definitions>
|
|
136
|
+
</type-extension>
|
|
137
|
+
</metadata>
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
## Adding Custom Attributes to Orders
|
|
141
|
+
|
|
142
|
+
```xml
|
|
143
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
144
|
+
<metadata xmlns="http://www.demandware.com/xml/impex/metadata/2006-10-31">
|
|
145
|
+
<type-extension type-id="Order">
|
|
146
|
+
<custom-attribute-definitions>
|
|
147
|
+
<attribute-definition attribute-id="erpOrderId">
|
|
148
|
+
<display-name xml:lang="x-default">ERP Order ID</display-name>
|
|
149
|
+
<type>string</type>
|
|
150
|
+
<externally-managed-flag>true</externally-managed-flag>
|
|
151
|
+
</attribute-definition>
|
|
152
|
+
<attribute-definition attribute-id="syncStatus">
|
|
153
|
+
<display-name xml:lang="x-default">Sync Status</display-name>
|
|
154
|
+
<type>enum-of-string</type>
|
|
155
|
+
<value-definitions>
|
|
156
|
+
<value-definition default="true">
|
|
157
|
+
<display xml:lang="x-default">Pending</display>
|
|
158
|
+
<value>pending</value>
|
|
159
|
+
</value-definition>
|
|
160
|
+
<value-definition>
|
|
161
|
+
<display xml:lang="x-default">Synced</display>
|
|
162
|
+
<value>synced</value>
|
|
163
|
+
</value-definition>
|
|
164
|
+
<value-definition>
|
|
165
|
+
<display xml:lang="x-default">Failed</display>
|
|
166
|
+
<value>failed</value>
|
|
167
|
+
</value-definition>
|
|
168
|
+
</value-definitions>
|
|
169
|
+
</attribute-definition>
|
|
170
|
+
<attribute-definition attribute-id="syncDate">
|
|
171
|
+
<display-name xml:lang="x-default">Last Sync Date</display-name>
|
|
172
|
+
<type>datetime</type>
|
|
173
|
+
<externally-managed-flag>true</externally-managed-flag>
|
|
174
|
+
</attribute-definition>
|
|
175
|
+
</custom-attribute-definitions>
|
|
176
|
+
|
|
177
|
+
<group-definitions>
|
|
178
|
+
<attribute-group group-id="ERPIntegration">
|
|
179
|
+
<display-name xml:lang="x-default">ERP Integration</display-name>
|
|
180
|
+
<attribute attribute-id="erpOrderId"/>
|
|
181
|
+
<attribute attribute-id="syncStatus"/>
|
|
182
|
+
<attribute attribute-id="syncDate"/>
|
|
183
|
+
</attribute-group>
|
|
184
|
+
</group-definitions>
|
|
185
|
+
</type-extension>
|
|
186
|
+
</metadata>
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
## Custom Object Definition
|
|
190
|
+
|
|
191
|
+
```xml
|
|
192
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
193
|
+
<metadata xmlns="http://www.demandware.com/xml/impex/metadata/2006-10-31">
|
|
194
|
+
<custom-type type-id="NewsletterSubscription">
|
|
195
|
+
<display-name xml:lang="x-default">Newsletter Subscription</display-name>
|
|
196
|
+
<description xml:lang="x-default">Email newsletter subscriptions</description>
|
|
197
|
+
<staging-mode>source-to-target</staging-mode>
|
|
198
|
+
<storage-scope>site</storage-scope>
|
|
199
|
+
|
|
200
|
+
<key-definition attribute-id="email">
|
|
201
|
+
<display-name xml:lang="x-default">Email Address</display-name>
|
|
202
|
+
<type>string</type>
|
|
203
|
+
<min-length>5</min-length>
|
|
204
|
+
<field-length>256</field-length>
|
|
205
|
+
</key-definition>
|
|
206
|
+
|
|
207
|
+
<attribute-definitions>
|
|
208
|
+
<attribute-definition attribute-id="firstName">
|
|
209
|
+
<display-name xml:lang="x-default">First Name</display-name>
|
|
210
|
+
<type>string</type>
|
|
211
|
+
<mandatory-flag>false</mandatory-flag>
|
|
212
|
+
</attribute-definition>
|
|
213
|
+
<attribute-definition attribute-id="lastName">
|
|
214
|
+
<display-name xml:lang="x-default">Last Name</display-name>
|
|
215
|
+
<type>string</type>
|
|
216
|
+
<mandatory-flag>false</mandatory-flag>
|
|
217
|
+
</attribute-definition>
|
|
218
|
+
<attribute-definition attribute-id="subscriptionDate">
|
|
219
|
+
<display-name xml:lang="x-default">Subscription Date</display-name>
|
|
220
|
+
<type>datetime</type>
|
|
221
|
+
<mandatory-flag>true</mandatory-flag>
|
|
222
|
+
</attribute-definition>
|
|
223
|
+
<attribute-definition attribute-id="isActive">
|
|
224
|
+
<display-name xml:lang="x-default">Active</display-name>
|
|
225
|
+
<type>boolean</type>
|
|
226
|
+
<default-value>true</default-value>
|
|
227
|
+
</attribute-definition>
|
|
228
|
+
<attribute-definition attribute-id="topics">
|
|
229
|
+
<display-name xml:lang="x-default">Subscribed Topics</display-name>
|
|
230
|
+
<type>set-of-string</type>
|
|
231
|
+
<value-definitions>
|
|
232
|
+
<value-definition>
|
|
233
|
+
<display xml:lang="x-default">Promotions</display>
|
|
234
|
+
<value>promotions</value>
|
|
235
|
+
</value-definition>
|
|
236
|
+
<value-definition>
|
|
237
|
+
<display xml:lang="x-default">New Arrivals</display>
|
|
238
|
+
<value>new-arrivals</value>
|
|
239
|
+
</value-definition>
|
|
240
|
+
<value-definition>
|
|
241
|
+
<display xml:lang="x-default">Tips & Tricks</display>
|
|
242
|
+
<value>tips</value>
|
|
243
|
+
</value-definition>
|
|
244
|
+
</value-definitions>
|
|
245
|
+
</attribute-definition>
|
|
246
|
+
</attribute-definitions>
|
|
247
|
+
|
|
248
|
+
<group-definitions>
|
|
249
|
+
<attribute-group group-id="SubscriptionInfo">
|
|
250
|
+
<display-name xml:lang="x-default">Subscription Information</display-name>
|
|
251
|
+
<attribute attribute-id="email" system="true"/>
|
|
252
|
+
<attribute attribute-id="firstName"/>
|
|
253
|
+
<attribute attribute-id="lastName"/>
|
|
254
|
+
<attribute attribute-id="subscriptionDate"/>
|
|
255
|
+
<attribute attribute-id="isActive"/>
|
|
256
|
+
<attribute attribute-id="topics"/>
|
|
257
|
+
</attribute-group>
|
|
258
|
+
</group-definitions>
|
|
259
|
+
</custom-type>
|
|
260
|
+
</metadata>
|
|
261
|
+
```
|
|
262
|
+
|
|
263
|
+
## Site Preferences
|
|
264
|
+
|
|
265
|
+
### Metadata
|
|
266
|
+
|
|
267
|
+
```xml
|
|
268
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
269
|
+
<metadata xmlns="http://www.demandware.com/xml/impex/metadata/2006-10-31">
|
|
270
|
+
<type-extension type-id="SitePreferences">
|
|
271
|
+
<custom-attribute-definitions>
|
|
272
|
+
<attribute-definition attribute-id="enableReviews">
|
|
273
|
+
<display-name xml:lang="x-default">Enable Product Reviews</display-name>
|
|
274
|
+
<type>boolean</type>
|
|
275
|
+
<default-value>true</default-value>
|
|
276
|
+
</attribute-definition>
|
|
277
|
+
<attribute-definition attribute-id="reviewServiceUrl">
|
|
278
|
+
<display-name xml:lang="x-default">Review Service URL</display-name>
|
|
279
|
+
<type>string</type>
|
|
280
|
+
</attribute-definition>
|
|
281
|
+
<attribute-definition attribute-id="reviewServiceApiKey">
|
|
282
|
+
<display-name xml:lang="x-default">Review Service API Key</display-name>
|
|
283
|
+
<type>password</type>
|
|
284
|
+
</attribute-definition>
|
|
285
|
+
<attribute-definition attribute-id="maxReviewsPerProduct">
|
|
286
|
+
<display-name xml:lang="x-default">Max Reviews Per Product</display-name>
|
|
287
|
+
<type>int</type>
|
|
288
|
+
<default-value>10</default-value>
|
|
289
|
+
</attribute-definition>
|
|
290
|
+
</custom-attribute-definitions>
|
|
291
|
+
<group-definitions>
|
|
292
|
+
<attribute-group group-id="ReviewSettings">
|
|
293
|
+
<display-name xml:lang="x-default">Review Settings</display-name>
|
|
294
|
+
<attribute attribute-id="enableReviews"/>
|
|
295
|
+
<attribute attribute-id="reviewServiceUrl"/>
|
|
296
|
+
<attribute attribute-id="reviewServiceApiKey"/>
|
|
297
|
+
<attribute attribute-id="maxReviewsPerProduct"/>
|
|
298
|
+
</attribute-group>
|
|
299
|
+
</group-definitions>
|
|
300
|
+
</type-extension>
|
|
301
|
+
</metadata>
|
|
302
|
+
```
|
|
303
|
+
|
|
304
|
+
### Preference Values (sites/RefArch/preferences.xml)
|
|
305
|
+
|
|
306
|
+
Preferences can be set per instance type or for all instances:
|
|
307
|
+
|
|
308
|
+
```xml
|
|
309
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
310
|
+
<preferences xmlns="http://www.demandware.com/xml/impex/preferences/2007-03-31">
|
|
311
|
+
<custom-preferences>
|
|
312
|
+
<all-instances>
|
|
313
|
+
<preference preference-id="maxReviewsPerProduct">20</preference>
|
|
314
|
+
</all-instances>
|
|
315
|
+
<development>
|
|
316
|
+
<preference preference-id="enableReviews">true</preference>
|
|
317
|
+
<preference preference-id="reviewServiceUrl">https://dev-reviews.example.com/api</preference>
|
|
318
|
+
</development>
|
|
319
|
+
<production>
|
|
320
|
+
<preference preference-id="enableReviews">true</preference>
|
|
321
|
+
<preference preference-id="reviewServiceUrl">https://reviews.example.com/api</preference>
|
|
322
|
+
</production>
|
|
323
|
+
</custom-preferences>
|
|
324
|
+
</preferences>
|
|
325
|
+
```
|
|
326
|
+
|
|
327
|
+
## Product Data with Custom Attributes
|
|
328
|
+
|
|
329
|
+
```xml
|
|
330
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
331
|
+
<catalog xmlns="http://www.demandware.com/xml/impex/catalog/2006-10-31" catalog-id="storefront-catalog">
|
|
332
|
+
<product product-id="SKU123">
|
|
333
|
+
<display-name xml:lang="x-default">Example Product</display-name>
|
|
334
|
+
<short-description xml:lang="x-default">Short description</short-description>
|
|
335
|
+
<online-flag>true</online-flag>
|
|
336
|
+
<custom-attributes>
|
|
337
|
+
<custom-attribute attribute-id="manufacturerPartNumber">MPN-12345</custom-attribute>
|
|
338
|
+
<custom-attribute attribute-id="warrantyType">extended</custom-attribute>
|
|
339
|
+
<custom-attribute attribute-id="requiresAssembly">true</custom-attribute>
|
|
340
|
+
<custom-attribute attribute-id="weight">2.5</custom-attribute>
|
|
341
|
+
<custom-attribute attribute-id="certifications">energy-star</custom-attribute>
|
|
342
|
+
<custom-attribute attribute-id="certifications">ul-listed</custom-attribute>
|
|
343
|
+
<custom-attribute attribute-id="localDescription" xml:lang="en-US">US Description</custom-attribute>
|
|
344
|
+
<custom-attribute attribute-id="localDescription" xml:lang="fr-FR">Description en Français</custom-attribute>
|
|
345
|
+
</custom-attributes>
|
|
346
|
+
</product>
|
|
347
|
+
</catalog>
|
|
348
|
+
```
|
|
349
|
+
|
|
350
|
+
## Custom Object Data
|
|
351
|
+
|
|
352
|
+
```xml
|
|
353
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
354
|
+
<custom-objects xmlns="http://www.demandware.com/xml/impex/customobject/2006-10-31">
|
|
355
|
+
<custom-object type-id="NewsletterSubscription" object-id="user@example.com">
|
|
356
|
+
<object-attribute attribute-id="firstName">John</object-attribute>
|
|
357
|
+
<object-attribute attribute-id="lastName">Doe</object-attribute>
|
|
358
|
+
<object-attribute attribute-id="subscriptionDate">2024-01-15T10:30:00.000Z</object-attribute>
|
|
359
|
+
<object-attribute attribute-id="isActive">true</object-attribute>
|
|
360
|
+
<object-attribute attribute-id="topics">
|
|
361
|
+
<value>promotions</value>
|
|
362
|
+
<value>new-arrivals</value>
|
|
363
|
+
</object-attribute>
|
|
364
|
+
</custom-object>
|
|
365
|
+
</custom-objects>
|
|
366
|
+
```
|