@revenexx/node 0.4.0 → 0.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/dist/client.d.mts +1 -0
- package/dist/client.d.ts +1 -0
- package/dist/client.js +3 -3
- package/dist/client.js.map +1 -1
- package/dist/client.mjs +3 -3
- 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 +3 -2
|
@@ -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';
|
|
@@ -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';
|
|
@@ -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';
|
|
@@ -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';
|
|
@@ -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';
|
|
@@ -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';
|
|
@@ -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';
|
|
@@ -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';
|
|
@@ -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';
|
package/dist/services/carts.d.ts
CHANGED
|
@@ -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';
|
|
@@ -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';
|
|
@@ -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';
|
|
@@ -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';
|
|
@@ -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';
|
|
@@ -1049,6 +1050,7 @@ declare class CostCenters {
|
|
|
1049
1050
|
*
|
|
1050
1051
|
* @param {string} params.code -
|
|
1051
1052
|
* @param {string} params.name -
|
|
1053
|
+
* @param {string} params.organizationId -
|
|
1052
1054
|
* @param {string} params.accountableContactId -
|
|
1053
1055
|
* @param {boolean} params.active -
|
|
1054
1056
|
* @param {BudgetType} params.budgetType -
|
|
@@ -1056,7 +1058,6 @@ declare class CostCenters {
|
|
|
1056
1058
|
* @param {string} params.externalId - The key this cost centre has in the system that OWNS it — the dimension value an ERP books against, which is rarely the `code` a controller types here. Unique per tenant where it is set, so a repeated import upserts on it instead of matching on a name; a centre opened in the Cockpit carries none and never will.
|
|
1057
1059
|
* @param {object} params.externalRefs - Every OTHER system that knows this cost centre, keyed by system name — a second ERP, the procurement platform a punchout session comes from, the shop this tenant migrated off. `external_id` names the leading system; this is the rest, and the next one costs no column. Answered on read and carrying no query parameter: the store compares such a field as a WHOLE document, so a filter over part of one is refused. Look the centre up by `external_id` and read this off the answer.
|
|
1058
1060
|
* @param {object} params.metadata -
|
|
1059
|
-
* @param {string} params.organizationId -
|
|
1060
1061
|
* @param {object} params.sourceData - What the source said about this cost centre, kept as it said it: `{"system": …, "etag": …, "raw": {…}}`. The `etag` is what a write-back has to send back in `If-Match`, and there is nowhere else to keep it between two runs. `raw` holds the source fields this app does not model — a responsible department, an account range — so an edit here does not silently throw them away.
|
|
1061
1062
|
* @param {string} params.sourceSyncedAt - When this cost centre was last confirmed against its source. A delta run asks the source for what changed since it, and a controller reads it to see that a feed has gone quiet. An edit made HERE does not touch it — it records when the source was last seen, not when the row changed — so a stale value beside a fresh `updated_at` means somebody is maintaining by hand what the ERP has stopped delivering.
|
|
1062
1063
|
* @throws {RevenexxException}
|
|
@@ -1065,6 +1066,7 @@ declare class CostCenters {
|
|
|
1065
1066
|
costCentersCostCentersCreate(params: {
|
|
1066
1067
|
code: string;
|
|
1067
1068
|
name: string;
|
|
1069
|
+
organizationId: string;
|
|
1068
1070
|
accountableContactId?: string;
|
|
1069
1071
|
active?: boolean;
|
|
1070
1072
|
budgetType?: BudgetType;
|
|
@@ -1072,7 +1074,6 @@ declare class CostCenters {
|
|
|
1072
1074
|
externalId?: string;
|
|
1073
1075
|
externalRefs?: object;
|
|
1074
1076
|
metadata?: object;
|
|
1075
|
-
organizationId?: string;
|
|
1076
1077
|
sourceData?: object;
|
|
1077
1078
|
sourceSyncedAt?: string;
|
|
1078
1079
|
}): Promise<Models.CostCenter>;
|
|
@@ -1080,6 +1081,7 @@ declare class CostCenters {
|
|
|
1080
1081
|
*
|
|
1081
1082
|
* @param {string} code -
|
|
1082
1083
|
* @param {string} name -
|
|
1084
|
+
* @param {string} organizationId -
|
|
1083
1085
|
* @param {string} accountableContactId -
|
|
1084
1086
|
* @param {boolean} active -
|
|
1085
1087
|
* @param {BudgetType} budgetType -
|
|
@@ -1087,14 +1089,13 @@ declare class CostCenters {
|
|
|
1087
1089
|
* @param {string} externalId - The key this cost centre has in the system that OWNS it — the dimension value an ERP books against, which is rarely the `code` a controller types here. Unique per tenant where it is set, so a repeated import upserts on it instead of matching on a name; a centre opened in the Cockpit carries none and never will.
|
|
1088
1090
|
* @param {object} externalRefs - Every OTHER system that knows this cost centre, keyed by system name — a second ERP, the procurement platform a punchout session comes from, the shop this tenant migrated off. `external_id` names the leading system; this is the rest, and the next one costs no column. Answered on read and carrying no query parameter: the store compares such a field as a WHOLE document, so a filter over part of one is refused. Look the centre up by `external_id` and read this off the answer.
|
|
1089
1091
|
* @param {object} metadata -
|
|
1090
|
-
* @param {string} organizationId -
|
|
1091
1092
|
* @param {object} sourceData - What the source said about this cost centre, kept as it said it: `{"system": …, "etag": …, "raw": {…}}`. The `etag` is what a write-back has to send back in `If-Match`, and there is nowhere else to keep it between two runs. `raw` holds the source fields this app does not model — a responsible department, an account range — so an edit here does not silently throw them away.
|
|
1092
1093
|
* @param {string} sourceSyncedAt - When this cost centre was last confirmed against its source. A delta run asks the source for what changed since it, and a controller reads it to see that a feed has gone quiet. An edit made HERE does not touch it — it records when the source was last seen, not when the row changed — so a stale value beside a fresh `updated_at` means somebody is maintaining by hand what the ERP has stopped delivering.
|
|
1093
1094
|
* @throws {RevenexxException}
|
|
1094
1095
|
* @returns {Promise<Models.CostCenter>}
|
|
1095
1096
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1096
1097
|
*/
|
|
1097
|
-
costCentersCostCentersCreate(code: string, name: string, accountableContactId?: string, active?: boolean, budgetType?: BudgetType, currency?: string, externalId?: string, externalRefs?: object, metadata?: object,
|
|
1098
|
+
costCentersCostCentersCreate(code: string, name: string, organizationId: string, accountableContactId?: string, active?: boolean, budgetType?: BudgetType, currency?: string, externalId?: string, externalRefs?: object, metadata?: object, sourceData?: object, sourceSyncedAt?: string): Promise<Models.CostCenter>;
|
|
1098
1099
|
/**
|
|
1099
1100
|
*
|
|
1100
1101
|
* @param {string} params.id -
|
|
@@ -1474,8 +1475,8 @@ declare class CostCenters {
|
|
|
1474
1475
|
/**
|
|
1475
1476
|
*
|
|
1476
1477
|
* @param {object[]} params.lines -
|
|
1477
|
-
* @param {string} params.contactId -
|
|
1478
1478
|
* @param {string} params.organizationId -
|
|
1479
|
+
* @param {string} params.contactId -
|
|
1479
1480
|
* @param {string} params.punchoutAccountCode - Code of the punchout account the request is made in. Omit outside a punchout session: a cost centre restricted with mode 'only' is then out of reach, and one restricted with 'except' is offered. A value that is not a non-empty string is refused with 400.
|
|
1480
1481
|
* @param {string[]} params.roles -
|
|
1481
1482
|
* @throws {RevenexxException}
|
|
@@ -1483,23 +1484,23 @@ declare class CostCenters {
|
|
|
1483
1484
|
*/
|
|
1484
1485
|
costCentersUsable(params: {
|
|
1485
1486
|
lines: object[];
|
|
1487
|
+
organizationId: string;
|
|
1486
1488
|
contactId?: string;
|
|
1487
|
-
organizationId?: string;
|
|
1488
1489
|
punchoutAccountCode?: string;
|
|
1489
1490
|
roles?: string[];
|
|
1490
1491
|
}): Promise<Models.UsableResult>;
|
|
1491
1492
|
/**
|
|
1492
1493
|
*
|
|
1493
1494
|
* @param {object[]} lines -
|
|
1494
|
-
* @param {string} contactId -
|
|
1495
1495
|
* @param {string} organizationId -
|
|
1496
|
+
* @param {string} contactId -
|
|
1496
1497
|
* @param {string} punchoutAccountCode - Code of the punchout account the request is made in. Omit outside a punchout session: a cost centre restricted with mode 'only' is then out of reach, and one restricted with 'except' is offered. A value that is not a non-empty string is refused with 400.
|
|
1497
1498
|
* @param {string[]} roles -
|
|
1498
1499
|
* @throws {RevenexxException}
|
|
1499
1500
|
* @returns {Promise<Models.UsableResult>}
|
|
1500
1501
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1501
1502
|
*/
|
|
1502
|
-
costCentersUsable(lines: object[],
|
|
1503
|
+
costCentersUsable(lines: object[], organizationId: string, contactId?: string, punchoutAccountCode?: string, roles?: string[]): Promise<Models.UsableResult>;
|
|
1503
1504
|
/**
|
|
1504
1505
|
*
|
|
1505
1506
|
* @throws {RevenexxException}
|
|
@@ -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';
|
|
@@ -1049,6 +1050,7 @@ declare class CostCenters {
|
|
|
1049
1050
|
*
|
|
1050
1051
|
* @param {string} params.code -
|
|
1051
1052
|
* @param {string} params.name -
|
|
1053
|
+
* @param {string} params.organizationId -
|
|
1052
1054
|
* @param {string} params.accountableContactId -
|
|
1053
1055
|
* @param {boolean} params.active -
|
|
1054
1056
|
* @param {BudgetType} params.budgetType -
|
|
@@ -1056,7 +1058,6 @@ declare class CostCenters {
|
|
|
1056
1058
|
* @param {string} params.externalId - The key this cost centre has in the system that OWNS it — the dimension value an ERP books against, which is rarely the `code` a controller types here. Unique per tenant where it is set, so a repeated import upserts on it instead of matching on a name; a centre opened in the Cockpit carries none and never will.
|
|
1057
1059
|
* @param {object} params.externalRefs - Every OTHER system that knows this cost centre, keyed by system name — a second ERP, the procurement platform a punchout session comes from, the shop this tenant migrated off. `external_id` names the leading system; this is the rest, and the next one costs no column. Answered on read and carrying no query parameter: the store compares such a field as a WHOLE document, so a filter over part of one is refused. Look the centre up by `external_id` and read this off the answer.
|
|
1058
1060
|
* @param {object} params.metadata -
|
|
1059
|
-
* @param {string} params.organizationId -
|
|
1060
1061
|
* @param {object} params.sourceData - What the source said about this cost centre, kept as it said it: `{"system": …, "etag": …, "raw": {…}}`. The `etag` is what a write-back has to send back in `If-Match`, and there is nowhere else to keep it between two runs. `raw` holds the source fields this app does not model — a responsible department, an account range — so an edit here does not silently throw them away.
|
|
1061
1062
|
* @param {string} params.sourceSyncedAt - When this cost centre was last confirmed against its source. A delta run asks the source for what changed since it, and a controller reads it to see that a feed has gone quiet. An edit made HERE does not touch it — it records when the source was last seen, not when the row changed — so a stale value beside a fresh `updated_at` means somebody is maintaining by hand what the ERP has stopped delivering.
|
|
1062
1063
|
* @throws {RevenexxException}
|
|
@@ -1065,6 +1066,7 @@ declare class CostCenters {
|
|
|
1065
1066
|
costCentersCostCentersCreate(params: {
|
|
1066
1067
|
code: string;
|
|
1067
1068
|
name: string;
|
|
1069
|
+
organizationId: string;
|
|
1068
1070
|
accountableContactId?: string;
|
|
1069
1071
|
active?: boolean;
|
|
1070
1072
|
budgetType?: BudgetType;
|
|
@@ -1072,7 +1074,6 @@ declare class CostCenters {
|
|
|
1072
1074
|
externalId?: string;
|
|
1073
1075
|
externalRefs?: object;
|
|
1074
1076
|
metadata?: object;
|
|
1075
|
-
organizationId?: string;
|
|
1076
1077
|
sourceData?: object;
|
|
1077
1078
|
sourceSyncedAt?: string;
|
|
1078
1079
|
}): Promise<Models.CostCenter>;
|
|
@@ -1080,6 +1081,7 @@ declare class CostCenters {
|
|
|
1080
1081
|
*
|
|
1081
1082
|
* @param {string} code -
|
|
1082
1083
|
* @param {string} name -
|
|
1084
|
+
* @param {string} organizationId -
|
|
1083
1085
|
* @param {string} accountableContactId -
|
|
1084
1086
|
* @param {boolean} active -
|
|
1085
1087
|
* @param {BudgetType} budgetType -
|
|
@@ -1087,14 +1089,13 @@ declare class CostCenters {
|
|
|
1087
1089
|
* @param {string} externalId - The key this cost centre has in the system that OWNS it — the dimension value an ERP books against, which is rarely the `code` a controller types here. Unique per tenant where it is set, so a repeated import upserts on it instead of matching on a name; a centre opened in the Cockpit carries none and never will.
|
|
1088
1090
|
* @param {object} externalRefs - Every OTHER system that knows this cost centre, keyed by system name — a second ERP, the procurement platform a punchout session comes from, the shop this tenant migrated off. `external_id` names the leading system; this is the rest, and the next one costs no column. Answered on read and carrying no query parameter: the store compares such a field as a WHOLE document, so a filter over part of one is refused. Look the centre up by `external_id` and read this off the answer.
|
|
1089
1091
|
* @param {object} metadata -
|
|
1090
|
-
* @param {string} organizationId -
|
|
1091
1092
|
* @param {object} sourceData - What the source said about this cost centre, kept as it said it: `{"system": …, "etag": …, "raw": {…}}`. The `etag` is what a write-back has to send back in `If-Match`, and there is nowhere else to keep it between two runs. `raw` holds the source fields this app does not model — a responsible department, an account range — so an edit here does not silently throw them away.
|
|
1092
1093
|
* @param {string} sourceSyncedAt - When this cost centre was last confirmed against its source. A delta run asks the source for what changed since it, and a controller reads it to see that a feed has gone quiet. An edit made HERE does not touch it — it records when the source was last seen, not when the row changed — so a stale value beside a fresh `updated_at` means somebody is maintaining by hand what the ERP has stopped delivering.
|
|
1093
1094
|
* @throws {RevenexxException}
|
|
1094
1095
|
* @returns {Promise<Models.CostCenter>}
|
|
1095
1096
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1096
1097
|
*/
|
|
1097
|
-
costCentersCostCentersCreate(code: string, name: string, accountableContactId?: string, active?: boolean, budgetType?: BudgetType, currency?: string, externalId?: string, externalRefs?: object, metadata?: object,
|
|
1098
|
+
costCentersCostCentersCreate(code: string, name: string, organizationId: string, accountableContactId?: string, active?: boolean, budgetType?: BudgetType, currency?: string, externalId?: string, externalRefs?: object, metadata?: object, sourceData?: object, sourceSyncedAt?: string): Promise<Models.CostCenter>;
|
|
1098
1099
|
/**
|
|
1099
1100
|
*
|
|
1100
1101
|
* @param {string} params.id -
|
|
@@ -1474,8 +1475,8 @@ declare class CostCenters {
|
|
|
1474
1475
|
/**
|
|
1475
1476
|
*
|
|
1476
1477
|
* @param {object[]} params.lines -
|
|
1477
|
-
* @param {string} params.contactId -
|
|
1478
1478
|
* @param {string} params.organizationId -
|
|
1479
|
+
* @param {string} params.contactId -
|
|
1479
1480
|
* @param {string} params.punchoutAccountCode - Code of the punchout account the request is made in. Omit outside a punchout session: a cost centre restricted with mode 'only' is then out of reach, and one restricted with 'except' is offered. A value that is not a non-empty string is refused with 400.
|
|
1480
1481
|
* @param {string[]} params.roles -
|
|
1481
1482
|
* @throws {RevenexxException}
|
|
@@ -1483,23 +1484,23 @@ declare class CostCenters {
|
|
|
1483
1484
|
*/
|
|
1484
1485
|
costCentersUsable(params: {
|
|
1485
1486
|
lines: object[];
|
|
1487
|
+
organizationId: string;
|
|
1486
1488
|
contactId?: string;
|
|
1487
|
-
organizationId?: string;
|
|
1488
1489
|
punchoutAccountCode?: string;
|
|
1489
1490
|
roles?: string[];
|
|
1490
1491
|
}): Promise<Models.UsableResult>;
|
|
1491
1492
|
/**
|
|
1492
1493
|
*
|
|
1493
1494
|
* @param {object[]} lines -
|
|
1494
|
-
* @param {string} contactId -
|
|
1495
1495
|
* @param {string} organizationId -
|
|
1496
|
+
* @param {string} contactId -
|
|
1496
1497
|
* @param {string} punchoutAccountCode - Code of the punchout account the request is made in. Omit outside a punchout session: a cost centre restricted with mode 'only' is then out of reach, and one restricted with 'except' is offered. A value that is not a non-empty string is refused with 400.
|
|
1497
1498
|
* @param {string[]} roles -
|
|
1498
1499
|
* @throws {RevenexxException}
|
|
1499
1500
|
* @returns {Promise<Models.UsableResult>}
|
|
1500
1501
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1501
1502
|
*/
|
|
1502
|
-
costCentersUsable(lines: object[],
|
|
1503
|
+
costCentersUsable(lines: object[], organizationId: string, contactId?: string, punchoutAccountCode?: string, roles?: string[]): Promise<Models.UsableResult>;
|
|
1503
1504
|
/**
|
|
1504
1505
|
*
|
|
1505
1506
|
* @throws {RevenexxException}
|
|
@@ -723,20 +723,21 @@ class CostCenters {
|
|
|
723
723
|
params = {
|
|
724
724
|
code: paramsOrFirst,
|
|
725
725
|
name: rest[0],
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
726
|
+
organizationId: rest[1],
|
|
727
|
+
accountableContactId: rest[2],
|
|
728
|
+
active: rest[3],
|
|
729
|
+
budgetType: rest[4],
|
|
730
|
+
currency: rest[5],
|
|
731
|
+
externalId: rest[6],
|
|
732
|
+
externalRefs: rest[7],
|
|
733
|
+
metadata: rest[8],
|
|
734
734
|
sourceData: rest[9],
|
|
735
735
|
sourceSyncedAt: rest[10]
|
|
736
736
|
};
|
|
737
737
|
}
|
|
738
738
|
const code = params.code;
|
|
739
739
|
const name = params.name;
|
|
740
|
+
const organizationId = params.organizationId;
|
|
740
741
|
const accountableContactId = params.accountableContactId;
|
|
741
742
|
const active = params.active;
|
|
742
743
|
const budgetType = params.budgetType;
|
|
@@ -744,7 +745,6 @@ class CostCenters {
|
|
|
744
745
|
const externalId = params.externalId;
|
|
745
746
|
const externalRefs = params.externalRefs;
|
|
746
747
|
const metadata = params.metadata;
|
|
747
|
-
const organizationId = params.organizationId;
|
|
748
748
|
const sourceData = params.sourceData;
|
|
749
749
|
const sourceSyncedAt = params.sourceSyncedAt;
|
|
750
750
|
if (typeof code === "undefined") {
|
|
@@ -753,6 +753,9 @@ class CostCenters {
|
|
|
753
753
|
if (typeof name === "undefined") {
|
|
754
754
|
throw new client.RevenexxException('Missing required parameter: "name"');
|
|
755
755
|
}
|
|
756
|
+
if (typeof organizationId === "undefined") {
|
|
757
|
+
throw new client.RevenexxException('Missing required parameter: "organizationId"');
|
|
758
|
+
}
|
|
756
759
|
const apiPath = "/v1/cost-centers/cost-centers";
|
|
757
760
|
const apiPayload = {};
|
|
758
761
|
if (typeof accountableContactId !== "undefined") {
|
|
@@ -1416,25 +1419,28 @@ class CostCenters {
|
|
|
1416
1419
|
}
|
|
1417
1420
|
costCentersUsable(paramsOrFirst, ...rest) {
|
|
1418
1421
|
let params;
|
|
1419
|
-
if (paramsOrFirst && typeof paramsOrFirst === "object" && !Array.isArray(paramsOrFirst) && ("lines" in paramsOrFirst || "
|
|
1422
|
+
if (paramsOrFirst && typeof paramsOrFirst === "object" && !Array.isArray(paramsOrFirst) && ("lines" in paramsOrFirst || "organizationId" in paramsOrFirst || "contactId" in paramsOrFirst || "punchoutAccountCode" in paramsOrFirst || "roles" in paramsOrFirst)) {
|
|
1420
1423
|
params = paramsOrFirst || {};
|
|
1421
1424
|
} else {
|
|
1422
1425
|
params = {
|
|
1423
1426
|
lines: paramsOrFirst,
|
|
1424
|
-
|
|
1425
|
-
|
|
1427
|
+
organizationId: rest[0],
|
|
1428
|
+
contactId: rest[1],
|
|
1426
1429
|
punchoutAccountCode: rest[2],
|
|
1427
1430
|
roles: rest[3]
|
|
1428
1431
|
};
|
|
1429
1432
|
}
|
|
1430
1433
|
const lines = params.lines;
|
|
1431
|
-
const contactId = params.contactId;
|
|
1432
1434
|
const organizationId = params.organizationId;
|
|
1435
|
+
const contactId = params.contactId;
|
|
1433
1436
|
const punchoutAccountCode = params.punchoutAccountCode;
|
|
1434
1437
|
const roles = params.roles;
|
|
1435
1438
|
if (typeof lines === "undefined") {
|
|
1436
1439
|
throw new client.RevenexxException('Missing required parameter: "lines"');
|
|
1437
1440
|
}
|
|
1441
|
+
if (typeof organizationId === "undefined") {
|
|
1442
|
+
throw new client.RevenexxException('Missing required parameter: "organizationId"');
|
|
1443
|
+
}
|
|
1438
1444
|
const apiPath = "/v1/cost-centers/usable";
|
|
1439
1445
|
const apiPayload = {};
|
|
1440
1446
|
if (typeof contactId !== "undefined") {
|