@revenexx/node 0.4.0 → 0.5.1
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/dist/client.d.mts +1 -0
- package/dist/client.d.ts +1 -0
- package/dist/client.js +11 -9
- package/dist/client.js.map +1 -1
- package/dist/client.mjs +11 -9
- package/dist/client.mjs.map +1 -1
- package/dist/enums/market-readiness-report-warning-reasons.d.mts +9 -0
- package/dist/enums/market-readiness-report-warning-reasons.d.ts +9 -0
- package/dist/enums/market-readiness-report-warning-reasons.js +14 -0
- package/dist/enums/market-readiness-report-warning-reasons.js.map +1 -0
- package/dist/enums/market-readiness-report-warning-reasons.mjs +13 -0
- package/dist/enums/market-readiness-report-warning-reasons.mjs.map +1 -0
- package/dist/enums/market-readiness-warning-reasons.d.mts +9 -0
- package/dist/enums/market-readiness-warning-reasons.d.ts +9 -0
- package/dist/enums/market-readiness-warning-reasons.js +14 -0
- package/dist/enums/market-readiness-warning-reasons.js.map +1 -0
- package/dist/enums/market-readiness-warning-reasons.mjs +13 -0
- package/dist/enums/market-readiness-warning-reasons.mjs.map +1 -0
- package/dist/enums/product-defaults-result-reason.d.mts +6 -0
- package/dist/enums/product-defaults-result-reason.d.ts +6 -0
- package/dist/enums/product-defaults-result-reason.js +11 -0
- package/dist/enums/product-defaults-result-reason.js.map +1 -0
- package/dist/enums/product-defaults-result-reason.mjs +10 -0
- package/dist/enums/product-defaults-result-reason.mjs.map +1 -0
- package/dist/enums/punchout-vocabularies-get-name.d.mts +1 -0
- package/dist/enums/punchout-vocabularies-get-name.d.ts +1 -0
- package/dist/enums/punchout-vocabularies-get-name.js +1 -0
- package/dist/enums/punchout-vocabularies-get-name.js.map +1 -1
- package/dist/enums/punchout-vocabularies-get-name.mjs +1 -0
- package/dist/enums/punchout-vocabularies-get-name.mjs.map +1 -1
- package/dist/index.d.mts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +15 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -0
- package/dist/index.mjs.map +1 -1
- package/dist/models.d.mts +160 -12
- package/dist/models.d.ts +160 -12
- package/dist/services/ads-accounts.d.mts +1 -0
- package/dist/services/ads-accounts.d.ts +1 -0
- package/dist/services/ads-conversions.d.mts +1 -0
- package/dist/services/ads-conversions.d.ts +1 -0
- package/dist/services/ads-feeds.d.mts +1 -0
- package/dist/services/ads-feeds.d.ts +1 -0
- package/dist/services/ads-jobs.d.mts +1 -0
- package/dist/services/ads-jobs.d.ts +1 -0
- package/dist/services/ads-links.d.mts +1 -0
- package/dist/services/ads-links.d.ts +1 -0
- package/dist/services/ads-rules.d.mts +1 -0
- package/dist/services/ads-rules.d.ts +1 -0
- package/dist/services/ads-spend.d.mts +1 -0
- package/dist/services/ads-spend.d.ts +1 -0
- package/dist/services/ads-syncs.d.mts +1 -0
- package/dist/services/ads-syncs.d.ts +1 -0
- package/dist/services/ads-vocabularies.d.mts +1 -0
- package/dist/services/ads-vocabularies.d.ts +1 -0
- package/dist/services/apps.d.mts +1 -0
- package/dist/services/apps.d.ts +1 -0
- package/dist/services/audiences-audiences.d.mts +1 -0
- package/dist/services/audiences-audiences.d.ts +1 -0
- package/dist/services/audiences-members.d.mts +1 -0
- package/dist/services/audiences-members.d.ts +1 -0
- package/dist/services/audiences-rules.d.mts +1 -0
- package/dist/services/audiences-rules.d.ts +1 -0
- package/dist/services/audit.d.mts +1 -0
- package/dist/services/audit.d.ts +1 -0
- package/dist/services/avatars.d.mts +1 -0
- package/dist/services/avatars.d.ts +1 -0
- package/dist/services/campaigns-assets.d.mts +1 -0
- package/dist/services/campaigns-assets.d.ts +1 -0
- package/dist/services/campaigns-attribution.d.mts +1 -0
- package/dist/services/campaigns-attribution.d.ts +1 -0
- package/dist/services/campaigns-budgets.d.mts +1 -0
- package/dist/services/campaigns-budgets.d.ts +1 -0
- package/dist/services/campaigns-calendar.d.mts +1 -0
- package/dist/services/campaigns-calendar.d.ts +1 -0
- package/dist/services/campaigns-campaigns.d.mts +1 -0
- package/dist/services/campaigns-campaigns.d.ts +1 -0
- package/dist/services/campaigns-spend.d.mts +1 -0
- package/dist/services/campaigns-spend.d.ts +1 -0
- package/dist/services/campaigns-tasks.d.mts +1 -0
- package/dist/services/campaigns-tasks.d.ts +1 -0
- package/dist/services/campaigns-touches.d.mts +1 -0
- package/dist/services/campaigns-touches.d.ts +1 -0
- package/dist/services/campaigns-vocabularies.d.mts +1 -0
- package/dist/services/campaigns-vocabularies.d.ts +1 -0
- package/dist/services/carts-io.d.mts +1 -0
- package/dist/services/carts-io.d.ts +1 -0
- package/dist/services/carts-items.d.mts +1 -0
- package/dist/services/carts-items.d.ts +1 -0
- package/dist/services/carts.d.mts +1 -0
- package/dist/services/carts.d.ts +1 -0
- package/dist/services/channels.d.mts +1 -0
- package/dist/services/channels.d.ts +1 -0
- package/dist/services/consent-manager-delivery.d.mts +1 -0
- package/dist/services/consent-manager-delivery.d.ts +1 -0
- package/dist/services/consent-manager-policy.d.mts +1 -0
- package/dist/services/consent-manager-policy.d.ts +1 -0
- package/dist/services/consent-manager-records.d.mts +1 -0
- package/dist/services/consent-manager-records.d.ts +1 -0
- package/dist/services/consent-manager-registry.d.mts +1 -0
- package/dist/services/consent-manager-registry.d.ts +1 -0
- package/dist/services/cost-centers.d.mts +9 -8
- package/dist/services/cost-centers.d.ts +9 -8
- package/dist/services/cost-centers.js +19 -13
- package/dist/services/cost-centers.js.map +1 -1
- package/dist/services/cost-centers.mjs +19 -13
- package/dist/services/cost-centers.mjs.map +1 -1
- package/dist/services/customers-contacts.d.mts +1 -0
- package/dist/services/customers-contacts.d.ts +1 -0
- package/dist/services/customers-follow-ups.d.mts +1 -0
- package/dist/services/customers-follow-ups.d.ts +1 -0
- package/dist/services/customers-leads.d.mts +1 -0
- package/dist/services/customers-leads.d.ts +1 -0
- package/dist/services/customers-organizations.d.mts +1 -0
- package/dist/services/customers-organizations.d.ts +1 -0
- package/dist/services/customers-roles.d.mts +1 -0
- package/dist/services/customers-roles.d.ts +1 -0
- package/dist/services/customers-segments.d.mts +1 -0
- package/dist/services/customers-segments.d.ts +1 -0
- package/dist/services/customers-value-lists.d.mts +1 -0
- package/dist/services/customers-value-lists.d.ts +1 -0
- package/dist/services/customers.d.mts +1 -0
- package/dist/services/customers.d.ts +1 -0
- package/dist/services/documents-kinds.d.mts +1 -0
- package/dist/services/documents-kinds.d.ts +1 -0
- package/dist/services/documents-register.d.mts +1 -0
- package/dist/services/documents-register.d.ts +1 -0
- package/dist/services/events.d.mts +1 -0
- package/dist/services/events.d.ts +1 -0
- package/dist/services/forms.d.mts +1 -0
- package/dist/services/forms.d.ts +1 -0
- package/dist/services/health.d.mts +1 -0
- package/dist/services/health.d.ts +1 -0
- package/dist/services/inventories-locations.d.mts +1 -0
- package/dist/services/inventories-locations.d.ts +1 -0
- package/dist/services/inventories-reservations.d.mts +1 -0
- package/dist/services/inventories-reservations.d.ts +1 -0
- package/dist/services/inventories-stock.d.mts +1 -0
- package/dist/services/inventories-stock.d.ts +1 -0
- package/dist/services/io.d.mts +1 -0
- package/dist/services/io.d.ts +1 -0
- package/dist/services/journeys-enrollments.d.mts +1 -0
- package/dist/services/journeys-enrollments.d.ts +1 -0
- package/dist/services/journeys-jobs.d.mts +1 -0
- package/dist/services/journeys-jobs.d.ts +1 -0
- package/dist/services/journeys-journeys.d.mts +1 -0
- package/dist/services/journeys-journeys.d.ts +1 -0
- package/dist/services/journeys-stats.d.mts +1 -0
- package/dist/services/journeys-stats.d.ts +1 -0
- package/dist/services/journeys-steps.d.mts +1 -0
- package/dist/services/journeys-steps.d.ts +1 -0
- package/dist/services/journeys-templates.d.mts +1 -0
- package/dist/services/journeys-templates.d.ts +1 -0
- package/dist/services/journeys-timeline.d.mts +1 -0
- package/dist/services/journeys-timeline.d.ts +1 -0
- package/dist/services/journeys-versions.d.mts +1 -0
- package/dist/services/journeys-versions.d.ts +1 -0
- package/dist/services/journeys-vocabularies.d.mts +1 -0
- package/dist/services/journeys-vocabularies.d.ts +1 -0
- package/dist/services/journeys-watches.d.mts +1 -0
- package/dist/services/journeys-watches.d.ts +1 -0
- package/dist/services/locale.d.mts +1 -0
- package/dist/services/locale.d.ts +1 -0
- package/dist/services/loyalty-bonus.d.mts +1 -0
- package/dist/services/loyalty-bonus.d.ts +1 -0
- package/dist/services/loyalty-jobs.d.mts +1 -0
- package/dist/services/loyalty-jobs.d.ts +1 -0
- package/dist/services/loyalty-memberships.d.mts +1 -0
- package/dist/services/loyalty-memberships.d.ts +1 -0
- package/dist/services/loyalty-points.d.mts +1 -0
- package/dist/services/loyalty-points.d.ts +1 -0
- package/dist/services/loyalty-programs.d.mts +1 -0
- package/dist/services/loyalty-programs.d.ts +1 -0
- package/dist/services/loyalty-referrals.d.mts +1 -0
- package/dist/services/loyalty-referrals.d.ts +1 -0
- package/dist/services/loyalty-rewards.d.mts +1 -0
- package/dist/services/loyalty-rewards.d.ts +1 -0
- package/dist/services/loyalty-tiers.d.mts +1 -0
- package/dist/services/loyalty-tiers.d.ts +1 -0
- package/dist/services/loyalty-vocabularies.d.mts +1 -0
- package/dist/services/loyalty-vocabularies.d.ts +1 -0
- package/dist/services/mailings-analysis.d.mts +1 -0
- package/dist/services/mailings-analysis.d.ts +1 -0
- package/dist/services/mailings-blocks.d.mts +1 -0
- package/dist/services/mailings-blocks.d.ts +1 -0
- package/dist/services/mailings-health.d.mts +1 -0
- package/dist/services/mailings-health.d.ts +1 -0
- package/dist/services/mailings-mailings.d.mts +1 -0
- package/dist/services/mailings-mailings.d.ts +1 -0
- package/dist/services/mailings-recipients.d.mts +1 -0
- package/dist/services/mailings-recipients.d.ts +1 -0
- package/dist/services/mailings-send.d.mts +1 -0
- package/dist/services/mailings-send.d.ts +1 -0
- package/dist/services/mailings-variants.d.mts +1 -0
- package/dist/services/mailings-variants.d.ts +1 -0
- package/dist/services/mailings-vocabularies.d.mts +1 -0
- package/dist/services/mailings-vocabularies.d.ts +1 -0
- package/dist/services/marketing-consents-evidence.d.mts +1 -0
- package/dist/services/marketing-consents-evidence.d.ts +1 -0
- package/dist/services/marketing-consents-subscriptions.d.mts +1 -0
- package/dist/services/marketing-consents-subscriptions.d.ts +1 -0
- package/dist/services/marketing-consents-types.d.mts +1 -0
- package/dist/services/marketing-consents-types.d.ts +1 -0
- package/dist/services/markets.d.mts +5 -4
- package/dist/services/markets.d.ts +5 -4
- package/dist/services/markets.js.map +1 -1
- package/dist/services/markets.mjs.map +1 -1
- package/dist/services/messaging.d.mts +1 -0
- package/dist/services/messaging.d.ts +1 -0
- package/dist/services/orderlists.d.mts +1 -0
- package/dist/services/orderlists.d.ts +1 -0
- package/dist/services/orders.d.mts +1 -0
- package/dist/services/orders.d.ts +1 -0
- package/dist/services/pages-collaboration.d.mts +1 -0
- package/dist/services/pages-collaboration.d.ts +1 -0
- package/dist/services/pages-delivery.d.mts +1 -0
- package/dist/services/pages-delivery.d.ts +1 -0
- package/dist/services/pages-editor.d.mts +1 -0
- package/dist/services/pages-editor.d.ts +1 -0
- package/dist/services/pages.d.mts +1 -0
- package/dist/services/pages.d.ts +1 -0
- package/dist/services/payments-ledger.d.mts +1 -0
- package/dist/services/payments-ledger.d.ts +1 -0
- package/dist/services/payments-methods.d.mts +20 -0
- package/dist/services/payments-methods.d.ts +20 -0
- package/dist/services/payments-methods.js +24 -0
- package/dist/services/payments-methods.js.map +1 -1
- package/dist/services/payments-methods.mjs +24 -0
- package/dist/services/payments-methods.mjs.map +1 -1
- package/dist/services/payments-providers.d.mts +3 -2
- package/dist/services/payments-providers.d.ts +3 -2
- package/dist/services/payments-providers.js.map +1 -1
- package/dist/services/payments-providers.mjs.map +1 -1
- package/dist/services/prices.d.mts +1 -0
- package/dist/services/prices.d.ts +1 -0
- package/dist/services/procurement.d.mts +1 -0
- package/dist/services/procurement.d.ts +1 -0
- package/dist/services/products-assets.d.mts +1 -0
- package/dist/services/products-assets.d.ts +1 -0
- package/dist/services/products-categories.d.mts +1 -0
- package/dist/services/products-categories.d.ts +1 -0
- package/dist/services/products-data-model.d.mts +20 -0
- package/dist/services/products-data-model.d.ts +20 -0
- package/dist/services/products-data-model.js +29 -0
- package/dist/services/products-data-model.js.map +1 -1
- package/dist/services/products-data-model.mjs +29 -0
- package/dist/services/products-data-model.mjs.map +1 -1
- package/dist/services/products-manufacturers.d.mts +1 -0
- package/dist/services/products-manufacturers.d.ts +1 -0
- package/dist/services/products-references.d.mts +1 -0
- package/dist/services/products-references.d.ts +1 -0
- package/dist/services/products.d.mts +20 -0
- package/dist/services/products.d.ts +20 -0
- package/dist/services/products.js +24 -0
- package/dist/services/products.js.map +1 -1
- package/dist/services/products.mjs +24 -0
- package/dist/services/products.mjs.map +1 -1
- package/dist/services/promotions-evaluation.d.mts +1 -0
- package/dist/services/promotions-evaluation.d.ts +1 -0
- package/dist/services/promotions-promotions.d.mts +1 -0
- package/dist/services/promotions-promotions.d.ts +1 -0
- package/dist/services/promotions-redemptions.d.mts +1 -0
- package/dist/services/promotions-redemptions.d.ts +1 -0
- package/dist/services/promotions-vouchers.d.mts +1 -0
- package/dist/services/promotions-vouchers.d.ts +1 -0
- package/dist/services/punchout.d.mts +4 -3
- package/dist/services/punchout.d.ts +4 -3
- package/dist/services/punchout.js +1 -1
- package/dist/services/punchout.js.map +1 -1
- package/dist/services/punchout.mjs +1 -1
- package/dist/services/punchout.mjs.map +1 -1
- package/dist/services/quotes-acceptance.d.mts +1 -0
- package/dist/services/quotes-acceptance.d.ts +1 -0
- package/dist/services/quotes-pricing.d.mts +1 -0
- package/dist/services/quotes-pricing.d.ts +1 -0
- package/dist/services/quotes-quotes.d.mts +1 -0
- package/dist/services/quotes-quotes.d.ts +1 -0
- package/dist/services/quotes-ranges.d.mts +1 -0
- package/dist/services/quotes-ranges.d.ts +1 -0
- package/dist/services/quotes-trail.d.mts +1 -0
- package/dist/services/quotes-trail.d.ts +1 -0
- package/dist/services/reviews-aggregates.d.mts +1 -0
- package/dist/services/reviews-aggregates.d.ts +1 -0
- package/dist/services/reviews-jobs.d.mts +1 -0
- package/dist/services/reviews-jobs.d.ts +1 -0
- package/dist/services/reviews-moderation.d.mts +1 -0
- package/dist/services/reviews-moderation.d.ts +1 -0
- package/dist/services/reviews-privacy.d.mts +1 -0
- package/dist/services/reviews-privacy.d.ts +1 -0
- package/dist/services/reviews-products.d.mts +1 -0
- package/dist/services/reviews-products.d.ts +1 -0
- package/dist/services/reviews-requests.d.mts +1 -0
- package/dist/services/reviews-requests.d.ts +1 -0
- package/dist/services/reviews-reviews.d.mts +1 -0
- package/dist/services/reviews-reviews.d.ts +1 -0
- package/dist/services/reviews-vocabularies.d.mts +1 -0
- package/dist/services/reviews-vocabularies.d.ts +1 -0
- package/dist/services/sales-reps-acting-for.d.mts +1 -0
- package/dist/services/sales-reps-acting-for.d.ts +1 -0
- package/dist/services/sales-reps-coverage.d.mts +1 -0
- package/dist/services/sales-reps-coverage.d.ts +1 -0
- package/dist/services/sales-reps-roster.d.mts +1 -0
- package/dist/services/sales-reps-roster.d.ts +1 -0
- package/dist/services/search.d.mts +1 -0
- package/dist/services/search.d.ts +1 -0
- package/dist/services/settings.d.mts +1 -0
- package/dist/services/settings.d.ts +1 -0
- package/dist/services/shipping-carriers.d.mts +1 -0
- package/dist/services/shipping-carriers.d.ts +1 -0
- package/dist/services/shipping-methods.d.mts +5 -4
- package/dist/services/shipping-methods.d.ts +5 -4
- package/dist/services/shipping-methods.js.map +1 -1
- package/dist/services/shipping-methods.mjs.map +1 -1
- package/dist/services/shipping-value-lists.d.mts +1 -0
- package/dist/services/shipping-value-lists.d.ts +1 -0
- package/dist/services/sites.d.mts +1 -0
- package/dist/services/sites.d.ts +1 -0
- package/dist/services/storage.d.mts +1 -0
- package/dist/services/storage.d.ts +1 -0
- package/dist/services/tag-manager-container.d.mts +1 -0
- package/dist/services/tag-manager-container.d.ts +1 -0
- package/dist/services/tag-manager-delivery.d.mts +1 -0
- package/dist/services/tag-manager-delivery.d.ts +1 -0
- package/dist/services/tag-manager-tags.d.mts +1 -0
- package/dist/services/tag-manager-tags.d.ts +1 -0
- package/package.json +8 -3
|
@@ -383,6 +383,7 @@ import '../enums/procurement-vocabulary-summary-name.js';
|
|
|
383
383
|
import '../enums/procurement-vocabulary-value-tone.js';
|
|
384
384
|
import '../enums/product-categories-source.js';
|
|
385
385
|
import '../enums/product-channels-assign-request-mode.js';
|
|
386
|
+
import '../enums/product-defaults-result-reason.js';
|
|
386
387
|
import '../enums/product-grid-column-source.js';
|
|
387
388
|
import '../enums/product-label-source.js';
|
|
388
389
|
import '../enums/product-label-attribute-source.js';
|
|
@@ -387,6 +387,7 @@ import '../enums/procurement-vocabulary-summary-name.mjs';
|
|
|
387
387
|
import '../enums/procurement-vocabulary-value-tone.mjs';
|
|
388
388
|
import '../enums/product-categories-source.mjs';
|
|
389
389
|
import '../enums/product-channels-assign-request-mode.mjs';
|
|
390
|
+
import '../enums/product-defaults-result-reason.mjs';
|
|
390
391
|
import '../enums/product-grid-column-source.mjs';
|
|
391
392
|
import '../enums/product-label-source.mjs';
|
|
392
393
|
import '../enums/product-label-attribute-source.mjs';
|
|
@@ -387,6 +387,7 @@ import '../enums/procurement-vocabulary-summary-name.js';
|
|
|
387
387
|
import '../enums/procurement-vocabulary-value-tone.js';
|
|
388
388
|
import '../enums/product-categories-source.js';
|
|
389
389
|
import '../enums/product-channels-assign-request-mode.js';
|
|
390
|
+
import '../enums/product-defaults-result-reason.js';
|
|
390
391
|
import '../enums/product-grid-column-source.js';
|
|
391
392
|
import '../enums/product-label-source.js';
|
|
392
393
|
import '../enums/product-label-attribute-source.js';
|
|
@@ -383,6 +383,7 @@ import '../enums/procurement-vocabulary-summary-name.mjs';
|
|
|
383
383
|
import '../enums/procurement-vocabulary-value-tone.mjs';
|
|
384
384
|
import '../enums/product-categories-source.mjs';
|
|
385
385
|
import '../enums/product-channels-assign-request-mode.mjs';
|
|
386
|
+
import '../enums/product-defaults-result-reason.mjs';
|
|
386
387
|
import '../enums/product-grid-column-source.mjs';
|
|
387
388
|
import '../enums/product-label-source.mjs';
|
|
388
389
|
import '../enums/product-label-attribute-source.mjs';
|
|
@@ -383,6 +383,7 @@ import '../enums/procurement-vocabulary-summary-name.js';
|
|
|
383
383
|
import '../enums/procurement-vocabulary-value-tone.js';
|
|
384
384
|
import '../enums/product-categories-source.js';
|
|
385
385
|
import '../enums/product-channels-assign-request-mode.js';
|
|
386
|
+
import '../enums/product-defaults-result-reason.js';
|
|
386
387
|
import '../enums/product-grid-column-source.js';
|
|
387
388
|
import '../enums/product-label-source.js';
|
|
388
389
|
import '../enums/product-label-attribute-source.js';
|
|
@@ -384,6 +384,7 @@ import '../enums/procurement-vocabulary-summary-name.mjs';
|
|
|
384
384
|
import '../enums/procurement-vocabulary-value-tone.mjs';
|
|
385
385
|
import '../enums/product-categories-source.mjs';
|
|
386
386
|
import '../enums/product-channels-assign-request-mode.mjs';
|
|
387
|
+
import '../enums/product-defaults-result-reason.mjs';
|
|
387
388
|
import '../enums/product-grid-column-source.mjs';
|
|
388
389
|
import '../enums/product-label-source.mjs';
|
|
389
390
|
import '../enums/product-label-attribute-source.mjs';
|
|
@@ -384,6 +384,7 @@ import '../enums/procurement-vocabulary-summary-name.js';
|
|
|
384
384
|
import '../enums/procurement-vocabulary-value-tone.js';
|
|
385
385
|
import '../enums/product-categories-source.js';
|
|
386
386
|
import '../enums/product-channels-assign-request-mode.js';
|
|
387
|
+
import '../enums/product-defaults-result-reason.js';
|
|
387
388
|
import '../enums/product-grid-column-source.js';
|
|
388
389
|
import '../enums/product-label-source.js';
|
|
389
390
|
import '../enums/product-label-attribute-source.js';
|
|
@@ -385,6 +385,7 @@ import '../enums/procurement-vocabulary-summary-name.mjs';
|
|
|
385
385
|
import '../enums/procurement-vocabulary-value-tone.mjs';
|
|
386
386
|
import '../enums/product-categories-source.mjs';
|
|
387
387
|
import '../enums/product-channels-assign-request-mode.mjs';
|
|
388
|
+
import '../enums/product-defaults-result-reason.mjs';
|
|
388
389
|
import '../enums/product-grid-column-source.mjs';
|
|
389
390
|
import '../enums/product-label-source.mjs';
|
|
390
391
|
import '../enums/product-label-attribute-source.mjs';
|
|
@@ -385,6 +385,7 @@ import '../enums/procurement-vocabulary-summary-name.js';
|
|
|
385
385
|
import '../enums/procurement-vocabulary-value-tone.js';
|
|
386
386
|
import '../enums/product-categories-source.js';
|
|
387
387
|
import '../enums/product-channels-assign-request-mode.js';
|
|
388
|
+
import '../enums/product-defaults-result-reason.js';
|
|
388
389
|
import '../enums/product-grid-column-source.js';
|
|
389
390
|
import '../enums/product-label-source.js';
|
|
390
391
|
import '../enums/product-label-attribute-source.js';
|
|
@@ -382,6 +382,7 @@ import '../enums/procurement-vocabulary-summary-name.mjs';
|
|
|
382
382
|
import '../enums/procurement-vocabulary-value-tone.mjs';
|
|
383
383
|
import '../enums/product-categories-source.mjs';
|
|
384
384
|
import '../enums/product-channels-assign-request-mode.mjs';
|
|
385
|
+
import '../enums/product-defaults-result-reason.mjs';
|
|
385
386
|
import '../enums/product-grid-column-source.mjs';
|
|
386
387
|
import '../enums/product-label-source.mjs';
|
|
387
388
|
import '../enums/product-label-attribute-source.mjs';
|
|
@@ -382,6 +382,7 @@ import '../enums/procurement-vocabulary-summary-name.js';
|
|
|
382
382
|
import '../enums/procurement-vocabulary-value-tone.js';
|
|
383
383
|
import '../enums/product-categories-source.js';
|
|
384
384
|
import '../enums/product-channels-assign-request-mode.js';
|
|
385
|
+
import '../enums/product-defaults-result-reason.js';
|
|
385
386
|
import '../enums/product-grid-column-source.js';
|
|
386
387
|
import '../enums/product-label-source.js';
|
|
387
388
|
import '../enums/product-label-attribute-source.js';
|
|
@@ -383,6 +383,7 @@ import '../enums/procurement-vocabulary-summary-name.mjs';
|
|
|
383
383
|
import '../enums/procurement-vocabulary-value-tone.mjs';
|
|
384
384
|
import '../enums/product-categories-source.mjs';
|
|
385
385
|
import '../enums/product-channels-assign-request-mode.mjs';
|
|
386
|
+
import '../enums/product-defaults-result-reason.mjs';
|
|
386
387
|
import '../enums/product-grid-column-source.mjs';
|
|
387
388
|
import '../enums/product-label-source.mjs';
|
|
388
389
|
import '../enums/product-label-attribute-source.mjs';
|
|
@@ -383,6 +383,7 @@ import '../enums/procurement-vocabulary-summary-name.js';
|
|
|
383
383
|
import '../enums/procurement-vocabulary-value-tone.js';
|
|
384
384
|
import '../enums/product-categories-source.js';
|
|
385
385
|
import '../enums/product-channels-assign-request-mode.js';
|
|
386
|
+
import '../enums/product-defaults-result-reason.js';
|
|
386
387
|
import '../enums/product-grid-column-source.js';
|
|
387
388
|
import '../enums/product-label-source.js';
|
|
388
389
|
import '../enums/product-label-attribute-source.js';
|
|
@@ -382,6 +382,7 @@ import '../enums/procurement-vocabulary-summary-name.mjs';
|
|
|
382
382
|
import '../enums/procurement-vocabulary-value-tone.mjs';
|
|
383
383
|
import '../enums/product-categories-source.mjs';
|
|
384
384
|
import '../enums/product-channels-assign-request-mode.mjs';
|
|
385
|
+
import '../enums/product-defaults-result-reason.mjs';
|
|
385
386
|
import '../enums/product-grid-column-source.mjs';
|
|
386
387
|
import '../enums/product-label-source.mjs';
|
|
387
388
|
import '../enums/product-label-attribute-source.mjs';
|
|
@@ -382,6 +382,7 @@ import '../enums/procurement-vocabulary-summary-name.js';
|
|
|
382
382
|
import '../enums/procurement-vocabulary-value-tone.js';
|
|
383
383
|
import '../enums/product-categories-source.js';
|
|
384
384
|
import '../enums/product-channels-assign-request-mode.js';
|
|
385
|
+
import '../enums/product-defaults-result-reason.js';
|
|
385
386
|
import '../enums/product-grid-column-source.js';
|
|
386
387
|
import '../enums/product-label-source.js';
|
|
387
388
|
import '../enums/product-label-attribute-source.js';
|
|
@@ -382,6 +382,7 @@ import '../enums/procurement-vocabulary-summary-name.mjs';
|
|
|
382
382
|
import '../enums/procurement-vocabulary-value-tone.mjs';
|
|
383
383
|
import '../enums/product-categories-source.mjs';
|
|
384
384
|
import '../enums/product-channels-assign-request-mode.mjs';
|
|
385
|
+
import '../enums/product-defaults-result-reason.mjs';
|
|
385
386
|
import '../enums/product-grid-column-source.mjs';
|
|
386
387
|
import '../enums/product-label-source.mjs';
|
|
387
388
|
import '../enums/product-label-attribute-source.mjs';
|
|
@@ -382,6 +382,7 @@ import '../enums/procurement-vocabulary-summary-name.js';
|
|
|
382
382
|
import '../enums/procurement-vocabulary-value-tone.js';
|
|
383
383
|
import '../enums/product-categories-source.js';
|
|
384
384
|
import '../enums/product-channels-assign-request-mode.js';
|
|
385
|
+
import '../enums/product-defaults-result-reason.js';
|
|
385
386
|
import '../enums/product-grid-column-source.js';
|
|
386
387
|
import '../enums/product-label-source.js';
|
|
387
388
|
import '../enums/product-label-attribute-source.js';
|
|
@@ -387,6 +387,7 @@ import '../enums/procurement-vocabulary-summary-name.mjs';
|
|
|
387
387
|
import '../enums/procurement-vocabulary-value-tone.mjs';
|
|
388
388
|
import '../enums/product-categories-source.mjs';
|
|
389
389
|
import '../enums/product-channels-assign-request-mode.mjs';
|
|
390
|
+
import '../enums/product-defaults-result-reason.mjs';
|
|
390
391
|
import '../enums/product-grid-column-source.mjs';
|
|
391
392
|
import '../enums/product-label-source.mjs';
|
|
392
393
|
import '../enums/product-label-attribute-source.mjs';
|
|
@@ -387,6 +387,7 @@ import '../enums/procurement-vocabulary-summary-name.js';
|
|
|
387
387
|
import '../enums/procurement-vocabulary-value-tone.js';
|
|
388
388
|
import '../enums/product-categories-source.js';
|
|
389
389
|
import '../enums/product-channels-assign-request-mode.js';
|
|
390
|
+
import '../enums/product-defaults-result-reason.js';
|
|
390
391
|
import '../enums/product-grid-column-source.js';
|
|
391
392
|
import '../enums/product-label-source.js';
|
|
392
393
|
import '../enums/product-label-attribute-source.js';
|
|
@@ -383,6 +383,7 @@ import '../enums/procurement-vocabulary-summary-name.mjs';
|
|
|
383
383
|
import '../enums/procurement-vocabulary-value-tone.mjs';
|
|
384
384
|
import '../enums/product-categories-source.mjs';
|
|
385
385
|
import '../enums/product-channels-assign-request-mode.mjs';
|
|
386
|
+
import '../enums/product-defaults-result-reason.mjs';
|
|
386
387
|
import '../enums/product-grid-column-source.mjs';
|
|
387
388
|
import '../enums/product-label-source.mjs';
|
|
388
389
|
import '../enums/product-label-attribute-source.mjs';
|
|
@@ -383,6 +383,7 @@ import '../enums/procurement-vocabulary-summary-name.js';
|
|
|
383
383
|
import '../enums/procurement-vocabulary-value-tone.js';
|
|
384
384
|
import '../enums/product-categories-source.js';
|
|
385
385
|
import '../enums/product-channels-assign-request-mode.js';
|
|
386
|
+
import '../enums/product-defaults-result-reason.js';
|
|
386
387
|
import '../enums/product-grid-column-source.js';
|
|
387
388
|
import '../enums/product-label-source.js';
|
|
388
389
|
import '../enums/product-label-attribute-source.js';
|
|
@@ -382,6 +382,7 @@ import '../enums/procurement-vocabulary-summary-name.mjs';
|
|
|
382
382
|
import '../enums/procurement-vocabulary-value-tone.mjs';
|
|
383
383
|
import '../enums/product-categories-source.mjs';
|
|
384
384
|
import '../enums/product-channels-assign-request-mode.mjs';
|
|
385
|
+
import '../enums/product-defaults-result-reason.mjs';
|
|
385
386
|
import '../enums/product-grid-column-source.mjs';
|
|
386
387
|
import '../enums/product-label-source.mjs';
|
|
387
388
|
import '../enums/product-label-attribute-source.mjs';
|
|
@@ -382,6 +382,7 @@ import '../enums/procurement-vocabulary-summary-name.js';
|
|
|
382
382
|
import '../enums/procurement-vocabulary-value-tone.js';
|
|
383
383
|
import '../enums/product-categories-source.js';
|
|
384
384
|
import '../enums/product-channels-assign-request-mode.js';
|
|
385
|
+
import '../enums/product-defaults-result-reason.js';
|
|
385
386
|
import '../enums/product-grid-column-source.js';
|
|
386
387
|
import '../enums/product-label-source.js';
|
|
387
388
|
import '../enums/product-label-attribute-source.js';
|
|
@@ -383,6 +383,7 @@ import '../enums/procurement-vocabulary-summary-name.mjs';
|
|
|
383
383
|
import '../enums/procurement-vocabulary-value-tone.mjs';
|
|
384
384
|
import '../enums/product-categories-source.mjs';
|
|
385
385
|
import '../enums/product-channels-assign-request-mode.mjs';
|
|
386
|
+
import '../enums/product-defaults-result-reason.mjs';
|
|
386
387
|
import '../enums/product-grid-column-source.mjs';
|
|
387
388
|
import '../enums/product-label-source.mjs';
|
|
388
389
|
import '../enums/product-label-attribute-source.mjs';
|
|
@@ -383,6 +383,7 @@ import '../enums/procurement-vocabulary-summary-name.js';
|
|
|
383
383
|
import '../enums/procurement-vocabulary-value-tone.js';
|
|
384
384
|
import '../enums/product-categories-source.js';
|
|
385
385
|
import '../enums/product-channels-assign-request-mode.js';
|
|
386
|
+
import '../enums/product-defaults-result-reason.js';
|
|
386
387
|
import '../enums/product-grid-column-source.js';
|
|
387
388
|
import '../enums/product-label-source.js';
|
|
388
389
|
import '../enums/product-label-attribute-source.js';
|
|
@@ -382,6 +382,7 @@ import '../enums/procurement-vocabulary-summary-name.mjs';
|
|
|
382
382
|
import '../enums/procurement-vocabulary-value-tone.mjs';
|
|
383
383
|
import '../enums/product-categories-source.mjs';
|
|
384
384
|
import '../enums/product-channels-assign-request-mode.mjs';
|
|
385
|
+
import '../enums/product-defaults-result-reason.mjs';
|
|
385
386
|
import '../enums/product-grid-column-source.mjs';
|
|
386
387
|
import '../enums/product-label-source.mjs';
|
|
387
388
|
import '../enums/product-label-attribute-source.mjs';
|
|
@@ -382,6 +382,7 @@ import '../enums/procurement-vocabulary-summary-name.js';
|
|
|
382
382
|
import '../enums/procurement-vocabulary-value-tone.js';
|
|
383
383
|
import '../enums/product-categories-source.js';
|
|
384
384
|
import '../enums/product-channels-assign-request-mode.js';
|
|
385
|
+
import '../enums/product-defaults-result-reason.js';
|
|
385
386
|
import '../enums/product-grid-column-source.js';
|
|
386
387
|
import '../enums/product-label-source.js';
|
|
387
388
|
import '../enums/product-label-attribute-source.js';
|
|
@@ -389,6 +389,7 @@ import '../enums/procurement-vocabulary-summary-name.mjs';
|
|
|
389
389
|
import '../enums/procurement-vocabulary-value-tone.mjs';
|
|
390
390
|
import '../enums/product-categories-source.mjs';
|
|
391
391
|
import '../enums/product-channels-assign-request-mode.mjs';
|
|
392
|
+
import '../enums/product-defaults-result-reason.mjs';
|
|
392
393
|
import '../enums/product-grid-column-source.mjs';
|
|
393
394
|
import '../enums/product-label-source.mjs';
|
|
394
395
|
import '../enums/product-label-attribute-source.mjs';
|
|
@@ -389,6 +389,7 @@ import '../enums/procurement-vocabulary-summary-name.js';
|
|
|
389
389
|
import '../enums/procurement-vocabulary-value-tone.js';
|
|
390
390
|
import '../enums/product-categories-source.js';
|
|
391
391
|
import '../enums/product-channels-assign-request-mode.js';
|
|
392
|
+
import '../enums/product-defaults-result-reason.js';
|
|
392
393
|
import '../enums/product-grid-column-source.js';
|
|
393
394
|
import '../enums/product-label-source.js';
|
|
394
395
|
import '../enums/product-label-attribute-source.js';
|
|
@@ -388,6 +388,7 @@ import '../enums/procurement-vocabulary-summary-name.mjs';
|
|
|
388
388
|
import '../enums/procurement-vocabulary-value-tone.mjs';
|
|
389
389
|
import '../enums/product-categories-source.mjs';
|
|
390
390
|
import '../enums/product-channels-assign-request-mode.mjs';
|
|
391
|
+
import '../enums/product-defaults-result-reason.mjs';
|
|
391
392
|
import '../enums/product-grid-column-source.mjs';
|
|
392
393
|
import '../enums/product-label-source.mjs';
|
|
393
394
|
import '../enums/product-label-attribute-source.mjs';
|
|
@@ -388,6 +388,7 @@ import '../enums/procurement-vocabulary-summary-name.js';
|
|
|
388
388
|
import '../enums/procurement-vocabulary-value-tone.js';
|
|
389
389
|
import '../enums/product-categories-source.js';
|
|
390
390
|
import '../enums/product-channels-assign-request-mode.js';
|
|
391
|
+
import '../enums/product-defaults-result-reason.js';
|
|
391
392
|
import '../enums/product-grid-column-source.js';
|
|
392
393
|
import '../enums/product-label-source.js';
|
|
393
394
|
import '../enums/product-label-attribute-source.js';
|
|
@@ -386,6 +386,7 @@ import '../enums/procurement-vocabulary-summary-name.mjs';
|
|
|
386
386
|
import '../enums/procurement-vocabulary-value-tone.mjs';
|
|
387
387
|
import '../enums/product-categories-source.mjs';
|
|
388
388
|
import '../enums/product-channels-assign-request-mode.mjs';
|
|
389
|
+
import '../enums/product-defaults-result-reason.mjs';
|
|
389
390
|
import '../enums/product-grid-column-source.mjs';
|
|
390
391
|
import '../enums/product-label-source.mjs';
|
|
391
392
|
import '../enums/product-label-attribute-source.mjs';
|
|
@@ -386,6 +386,7 @@ import '../enums/procurement-vocabulary-summary-name.js';
|
|
|
386
386
|
import '../enums/procurement-vocabulary-value-tone.js';
|
|
387
387
|
import '../enums/product-categories-source.js';
|
|
388
388
|
import '../enums/product-channels-assign-request-mode.js';
|
|
389
|
+
import '../enums/product-defaults-result-reason.js';
|
|
389
390
|
import '../enums/product-grid-column-source.js';
|
|
390
391
|
import '../enums/product-label-source.js';
|
|
391
392
|
import '../enums/product-label-attribute-source.js';
|
|
@@ -385,6 +385,7 @@ import '../enums/procurement-vocabulary-summary-name.mjs';
|
|
|
385
385
|
import '../enums/procurement-vocabulary-value-tone.mjs';
|
|
386
386
|
import '../enums/product-categories-source.mjs';
|
|
387
387
|
import '../enums/product-channels-assign-request-mode.mjs';
|
|
388
|
+
import '../enums/product-defaults-result-reason.mjs';
|
|
388
389
|
import '../enums/product-grid-column-source.mjs';
|
|
389
390
|
import '../enums/product-label-source.mjs';
|
|
390
391
|
import '../enums/product-label-attribute-source.mjs';
|
|
@@ -657,7 +658,7 @@ declare class Markets {
|
|
|
657
658
|
*/
|
|
658
659
|
marketsList(id?: string, code?: string, name?: string, labels?: string, currency?: string, shipFromCountry?: string, shipFromCountryReview?: boolean, status?: MarketsListStatus, isDefault?: boolean, position?: number, createdAt?: string, updatedAt?: string, limit?: number, offset?: number, order?: string): Promise<Models.MarketList>;
|
|
659
660
|
/**
|
|
660
|
-
* A market needs a 'code' and a 'name' — currency defaults to EUR
|
|
661
|
+
* A market needs a 'code' and a 'name' — currency defaults to EUR. A tenant's first market starts active and becomes the default market when the body names neither (a first market created inactive stays unflagged); every later market starts inactive unless the body names a status, because it still needs its locales, currencies and tax classes before it sells. To get a market that can actually trade, clone an existing one instead: POST /markets/{id}/clone.
|
|
661
662
|
*
|
|
662
663
|
* @param {string} params.code - Market code — the market scope slug every other app stores. Lowercase letters, digits and underscores, starting with a letter, at most 63 characters (400 `invalid_market_code`). Fixed once the market exists: an update that changes it is refused with 409 `code_immutable`; the same value sent back is accepted and ignored.
|
|
663
664
|
* @param {string} params.name - Display name, in the operator's own language. Cockpit copy only — nothing resolves a market by it.
|
|
@@ -683,7 +684,7 @@ declare class Markets {
|
|
|
683
684
|
status?: MarketStatus;
|
|
684
685
|
}): Promise<Models.Market>;
|
|
685
686
|
/**
|
|
686
|
-
* A market needs a 'code' and a 'name' — currency defaults to EUR
|
|
687
|
+
* A market needs a 'code' and a 'name' — currency defaults to EUR. A tenant's first market starts active and becomes the default market when the body names neither (a first market created inactive stays unflagged); every later market starts inactive unless the body names a status, because it still needs its locales, currencies and tax classes before it sells. To get a market that can actually trade, clone an existing one instead: POST /markets/{id}/clone.
|
|
687
688
|
*
|
|
688
689
|
* @param {string} code - Market code — the market scope slug every other app stores. Lowercase letters, digits and underscores, starting with a letter, at most 63 characters (400 `invalid_market_code`). Fixed once the market exists: an update that changes it is refused with 409 `code_immutable`; the same value sent back is accepted and ignored.
|
|
689
690
|
* @param {string} name - Display name, in the operator's own language. Cockpit copy only — nothing resolves a market by it.
|
|
@@ -1405,7 +1406,7 @@ declare class Markets {
|
|
|
1405
1406
|
*/
|
|
1406
1407
|
marketsTaxClassesCreate(marketId: string, code: string, name: string, active?: boolean, isDefault?: boolean, labels?: object, position?: number, rate?: number): Promise<Models.MarketTaxClass>;
|
|
1407
1408
|
/**
|
|
1408
|
-
* Refused with a 409 for as long as another app still points at this tax class by its code. A tax class is the source of record for a rate, and other apps name it by CODE with no foreign key behind it — a cross-app FK is what ADR-0055 forbids. So this asks
|
|
1409
|
+
* Refused with a 409 (`tax_class_in_use`) for as long as another app still points at this tax class by its code. A tax class is the source of record for a rate, and other apps name it by CODE with no foreign key behind it — a cross-app FK is what ADR-0055 forbids. So this asks shipping, products and payments what still uses the code (shipping.tax-classes.usage, products.tax-classes.usage, payments.tax-classes.usage), each in the class's own market (`x-revenexx-market`, never the caller's), and answers 409 with the counts and the first few names per app rather than leaving records quoting a rate nobody defines. The check FAILS OPEN: an app that is not installed, does not answer yet, or is unreachable does not stop the delete, and 'usage_checked' says whether every app answered.
|
|
1409
1410
|
*
|
|
1410
1411
|
* @param {string} params.marketId - The owning market. A uuid — this route does not accept a market code. An unknown market lists empty rather than 404.
|
|
1411
1412
|
* @param {string} params.id - The tax class of a market, by its primary key. A uuid — this route does not resolve a code, so a segment that will not cast is a 400 before any row is read.
|
|
@@ -1417,7 +1418,7 @@ declare class Markets {
|
|
|
1417
1418
|
id: string;
|
|
1418
1419
|
}): Promise<Models.MarketTaxClassDeleted>;
|
|
1419
1420
|
/**
|
|
1420
|
-
* Refused with a 409 for as long as another app still points at this tax class by its code. A tax class is the source of record for a rate, and other apps name it by CODE with no foreign key behind it — a cross-app FK is what ADR-0055 forbids. So this asks
|
|
1421
|
+
* Refused with a 409 (`tax_class_in_use`) for as long as another app still points at this tax class by its code. A tax class is the source of record for a rate, and other apps name it by CODE with no foreign key behind it — a cross-app FK is what ADR-0055 forbids. So this asks shipping, products and payments what still uses the code (shipping.tax-classes.usage, products.tax-classes.usage, payments.tax-classes.usage), each in the class's own market (`x-revenexx-market`, never the caller's), and answers 409 with the counts and the first few names per app rather than leaving records quoting a rate nobody defines. The check FAILS OPEN: an app that is not installed, does not answer yet, or is unreachable does not stop the delete, and 'usage_checked' says whether every app answered.
|
|
1421
1422
|
*
|
|
1422
1423
|
* @param {string} marketId - The owning market. A uuid — this route does not accept a market code. An unknown market lists empty rather than 404.
|
|
1423
1424
|
* @param {string} id - The tax class of a market, by its primary key. A uuid — this route does not resolve a code, so a segment that will not cast is a 400 before any row is read.
|
|
@@ -385,6 +385,7 @@ import '../enums/procurement-vocabulary-summary-name.js';
|
|
|
385
385
|
import '../enums/procurement-vocabulary-value-tone.js';
|
|
386
386
|
import '../enums/product-categories-source.js';
|
|
387
387
|
import '../enums/product-channels-assign-request-mode.js';
|
|
388
|
+
import '../enums/product-defaults-result-reason.js';
|
|
388
389
|
import '../enums/product-grid-column-source.js';
|
|
389
390
|
import '../enums/product-label-source.js';
|
|
390
391
|
import '../enums/product-label-attribute-source.js';
|
|
@@ -657,7 +658,7 @@ declare class Markets {
|
|
|
657
658
|
*/
|
|
658
659
|
marketsList(id?: string, code?: string, name?: string, labels?: string, currency?: string, shipFromCountry?: string, shipFromCountryReview?: boolean, status?: MarketsListStatus, isDefault?: boolean, position?: number, createdAt?: string, updatedAt?: string, limit?: number, offset?: number, order?: string): Promise<Models.MarketList>;
|
|
659
660
|
/**
|
|
660
|
-
* A market needs a 'code' and a 'name' — currency defaults to EUR
|
|
661
|
+
* A market needs a 'code' and a 'name' — currency defaults to EUR. A tenant's first market starts active and becomes the default market when the body names neither (a first market created inactive stays unflagged); every later market starts inactive unless the body names a status, because it still needs its locales, currencies and tax classes before it sells. To get a market that can actually trade, clone an existing one instead: POST /markets/{id}/clone.
|
|
661
662
|
*
|
|
662
663
|
* @param {string} params.code - Market code — the market scope slug every other app stores. Lowercase letters, digits and underscores, starting with a letter, at most 63 characters (400 `invalid_market_code`). Fixed once the market exists: an update that changes it is refused with 409 `code_immutable`; the same value sent back is accepted and ignored.
|
|
663
664
|
* @param {string} params.name - Display name, in the operator's own language. Cockpit copy only — nothing resolves a market by it.
|
|
@@ -683,7 +684,7 @@ declare class Markets {
|
|
|
683
684
|
status?: MarketStatus;
|
|
684
685
|
}): Promise<Models.Market>;
|
|
685
686
|
/**
|
|
686
|
-
* A market needs a 'code' and a 'name' — currency defaults to EUR
|
|
687
|
+
* A market needs a 'code' and a 'name' — currency defaults to EUR. A tenant's first market starts active and becomes the default market when the body names neither (a first market created inactive stays unflagged); every later market starts inactive unless the body names a status, because it still needs its locales, currencies and tax classes before it sells. To get a market that can actually trade, clone an existing one instead: POST /markets/{id}/clone.
|
|
687
688
|
*
|
|
688
689
|
* @param {string} code - Market code — the market scope slug every other app stores. Lowercase letters, digits and underscores, starting with a letter, at most 63 characters (400 `invalid_market_code`). Fixed once the market exists: an update that changes it is refused with 409 `code_immutable`; the same value sent back is accepted and ignored.
|
|
689
690
|
* @param {string} name - Display name, in the operator's own language. Cockpit copy only — nothing resolves a market by it.
|
|
@@ -1405,7 +1406,7 @@ declare class Markets {
|
|
|
1405
1406
|
*/
|
|
1406
1407
|
marketsTaxClassesCreate(marketId: string, code: string, name: string, active?: boolean, isDefault?: boolean, labels?: object, position?: number, rate?: number): Promise<Models.MarketTaxClass>;
|
|
1407
1408
|
/**
|
|
1408
|
-
* Refused with a 409 for as long as another app still points at this tax class by its code. A tax class is the source of record for a rate, and other apps name it by CODE with no foreign key behind it — a cross-app FK is what ADR-0055 forbids. So this asks
|
|
1409
|
+
* Refused with a 409 (`tax_class_in_use`) for as long as another app still points at this tax class by its code. A tax class is the source of record for a rate, and other apps name it by CODE with no foreign key behind it — a cross-app FK is what ADR-0055 forbids. So this asks shipping, products and payments what still uses the code (shipping.tax-classes.usage, products.tax-classes.usage, payments.tax-classes.usage), each in the class's own market (`x-revenexx-market`, never the caller's), and answers 409 with the counts and the first few names per app rather than leaving records quoting a rate nobody defines. The check FAILS OPEN: an app that is not installed, does not answer yet, or is unreachable does not stop the delete, and 'usage_checked' says whether every app answered.
|
|
1409
1410
|
*
|
|
1410
1411
|
* @param {string} params.marketId - The owning market. A uuid — this route does not accept a market code. An unknown market lists empty rather than 404.
|
|
1411
1412
|
* @param {string} params.id - The tax class of a market, by its primary key. A uuid — this route does not resolve a code, so a segment that will not cast is a 400 before any row is read.
|
|
@@ -1417,7 +1418,7 @@ declare class Markets {
|
|
|
1417
1418
|
id: string;
|
|
1418
1419
|
}): Promise<Models.MarketTaxClassDeleted>;
|
|
1419
1420
|
/**
|
|
1420
|
-
* Refused with a 409 for as long as another app still points at this tax class by its code. A tax class is the source of record for a rate, and other apps name it by CODE with no foreign key behind it — a cross-app FK is what ADR-0055 forbids. So this asks
|
|
1421
|
+
* Refused with a 409 (`tax_class_in_use`) for as long as another app still points at this tax class by its code. A tax class is the source of record for a rate, and other apps name it by CODE with no foreign key behind it — a cross-app FK is what ADR-0055 forbids. So this asks shipping, products and payments what still uses the code (shipping.tax-classes.usage, products.tax-classes.usage, payments.tax-classes.usage), each in the class's own market (`x-revenexx-market`, never the caller's), and answers 409 with the counts and the first few names per app rather than leaving records quoting a rate nobody defines. The check FAILS OPEN: an app that is not installed, does not answer yet, or is unreachable does not stop the delete, and 'usage_checked' says whether every app answered.
|
|
1421
1422
|
*
|
|
1422
1423
|
* @param {string} marketId - The owning market. A uuid — this route does not accept a market code. An unknown market lists empty rather than 404.
|
|
1423
1424
|
* @param {string} id - The tax class of a market, by its primary key. A uuid — this route does not resolve a code, so a segment that will not cast is a 400 before any row is read.
|