@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
package/dist/models.d.mts
CHANGED
|
@@ -380,6 +380,7 @@ import { ProcurementVocabularySummaryName } from './enums/procurement-vocabulary
|
|
|
380
380
|
import { ProcurementVocabularyValueTone } from './enums/procurement-vocabulary-value-tone.mjs';
|
|
381
381
|
import { ProductCategoriesSource } from './enums/product-categories-source.mjs';
|
|
382
382
|
import { ProductChannelsAssignRequestMode } from './enums/product-channels-assign-request-mode.mjs';
|
|
383
|
+
import { ProductDefaultsResultReason } from './enums/product-defaults-result-reason.mjs';
|
|
383
384
|
import { ProductGridColumnSource } from './enums/product-grid-column-source.mjs';
|
|
384
385
|
import { ProductLabelSource } from './enums/product-label-source.mjs';
|
|
385
386
|
import { ProductLabelAttributeSource } from './enums/product-label-attribute-source.mjs';
|
|
@@ -13574,7 +13575,7 @@ response carries no `tenant_id` (the listing envelope does) and no
|
|
|
13574
13575
|
/**
|
|
13575
13576
|
*
|
|
13576
13577
|
*/
|
|
13577
|
-
organization_id
|
|
13578
|
+
organization_id: string;
|
|
13578
13579
|
/**
|
|
13579
13580
|
* 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.
|
|
13580
13581
|
*/
|
|
@@ -13706,7 +13707,7 @@ response carries no `tenant_id` (the listing envelope does) and no
|
|
|
13706
13707
|
/**
|
|
13707
13708
|
*
|
|
13708
13709
|
*/
|
|
13709
|
-
organization_id?: string
|
|
13710
|
+
organization_id?: string;
|
|
13710
13711
|
/**
|
|
13711
13712
|
* 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.
|
|
13712
13713
|
*/
|
|
@@ -21683,7 +21684,7 @@ are no `created_at` / `updated_at` fields on this resource.
|
|
|
21683
21684
|
tax_classes?: MarketTaxClass[];
|
|
21684
21685
|
};
|
|
21685
21686
|
/**
|
|
21686
|
-
* A market needs a 'code' and a 'name' — currency defaults to EUR
|
|
21687
|
+
* 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.
|
|
21687
21688
|
*/
|
|
21688
21689
|
export type MarketCreateRequest = {
|
|
21689
21690
|
/**
|
|
@@ -22259,6 +22260,10 @@ are no `created_at` / `updated_at` fields on this resource.
|
|
|
22259
22260
|
* true when the market's status is 'active'. An active market that is not ready is live and broken — that combination is the one worth an alert.
|
|
22260
22261
|
*/
|
|
22261
22262
|
serving?: boolean;
|
|
22263
|
+
/**
|
|
22264
|
+
* `warnings`, each as the reason behind it, in the same order. Equal to the id except where one id covers two states a person reads differently: a market with no locale at all reads 'locales_missing' (the tenant's fallback locale applies), one whose locales lack a single default stays 'locales'. For a screen that words the warnings; a client branching on a check keeps reading `warnings`.
|
|
22265
|
+
*/
|
|
22266
|
+
warning_reasons?: string[];
|
|
22262
22267
|
/**
|
|
22263
22268
|
* Ids of the checks that failed as WARNINGS — degraded but serviceable, because something else covers for them. A missing locale is only a warning while the tenant declares a fallback_locale.
|
|
22264
22269
|
*/
|
|
@@ -22303,7 +22308,7 @@ are no `created_at` / `updated_at` fields on this resource.
|
|
|
22303
22308
|
tax_classes?: number;
|
|
22304
22309
|
};
|
|
22305
22310
|
/**
|
|
22306
|
-
* Can this market actually trade? `ready` is false only when a BLOCKING check failed — no currency to quote in, no tax class to tax with. Warnings are degraded-but-serviceable. The market it is about, what it is made of, and the verdict — the readiness block is inlined here rather than nested, so this is MarketReadiness plus
|
|
22311
|
+
* Can this market actually trade? `ready` is false only when a BLOCKING check failed — no currency to quote in, no tax class to tax with. Warnings are degraded-but-serviceable. The market it is about, what it is made of, and the verdict — the readiness block is inlined here rather than nested, so this is MarketReadiness plus three keys.
|
|
22307
22312
|
*/
|
|
22308
22313
|
export type MarketReadinessReport = {
|
|
22309
22314
|
/**
|
|
@@ -22318,6 +22323,10 @@ are no `created_at` / `updated_at` fields on this resource.
|
|
|
22318
22323
|
* How much of a market this market actually is. All three at zero is a market that is a row and nothing else — the state two of the three live markets on the platform were left in, and the reason /clone and /backfill exist.
|
|
22319
22324
|
*/
|
|
22320
22325
|
counts?: MarketReadinessCounts;
|
|
22326
|
+
/**
|
|
22327
|
+
* The fallback_locale setting as it applies to this market — the language a market without a locale of its own is shown in, and what the `locales` warning names. Null when the setting is empty, which is what makes a missing locale blocking.
|
|
22328
|
+
*/
|
|
22329
|
+
fallback_locale?: string | null;
|
|
22321
22330
|
/**
|
|
22322
22331
|
* The market the verdict is about, identified rather than returned in full — the five columns a reader needs to know which market answered. Read GET /markets/{id} for the rest.
|
|
22323
22332
|
*/
|
|
@@ -22330,6 +22339,10 @@ are no `created_at` / `updated_at` fields on this resource.
|
|
|
22330
22339
|
* true when the market's status is 'active'. An active market that is not ready is live and broken — that combination is the one worth an alert.
|
|
22331
22340
|
*/
|
|
22332
22341
|
serving?: boolean;
|
|
22342
|
+
/**
|
|
22343
|
+
* `warnings`, each as the reason behind it, in the same order. Equal to the id except where one id covers two states a person reads differently: a market with no locale at all reads 'locales_missing' (the tenant's fallback locale applies), one whose locales lack a single default stays 'locales'. For a screen that words the warnings; a client branching on a check keeps reading `warnings`.
|
|
22344
|
+
*/
|
|
22345
|
+
warning_reasons?: string[];
|
|
22333
22346
|
/**
|
|
22334
22347
|
* Ids of the checks that failed as WARNINGS — degraded but serviceable, because something else covers for them. A missing locale is only a warning while the tenant declares a fallback_locale.
|
|
22335
22348
|
*/
|
|
@@ -22423,7 +22436,7 @@ are no `created_at` / `updated_at` fields on this resource.
|
|
|
22423
22436
|
updated_at?: string;
|
|
22424
22437
|
};
|
|
22425
22438
|
/**
|
|
22426
|
-
* The owning market comes from the route path ('market_id').
|
|
22439
|
+
* The owning market comes from the route path ('market_id'). The market's first tax class becomes its default when the body names no 'is_default' and the class is active.
|
|
22427
22440
|
*/
|
|
22428
22441
|
export type MarketTaxClassCreateRequest = {
|
|
22429
22442
|
/**
|
|
@@ -22468,7 +22481,7 @@ are no `created_at` / `updated_at` fields on this resource.
|
|
|
22468
22481
|
*/
|
|
22469
22482
|
id?: string;
|
|
22470
22483
|
/**
|
|
22471
|
-
* False when
|
|
22484
|
+
* True only when shipping, products and payments all answered. False when any of them could not be asked (not installed, not answering yet, or unreachable) — the row was deleted without that guarantee for that app.
|
|
22472
22485
|
*/
|
|
22473
22486
|
usage_checked?: boolean;
|
|
22474
22487
|
};
|
|
@@ -29450,6 +29463,31 @@ are no `created_at` / `updated_at` fields on this resource.
|
|
|
29450
29463
|
*/
|
|
29451
29464
|
limit?: number | null;
|
|
29452
29465
|
};
|
|
29466
|
+
/**
|
|
29467
|
+
* What in this app still points at a market tax class, by code.
|
|
29468
|
+
*/
|
|
29469
|
+
export type PaymentTaxClassUsage = {
|
|
29470
|
+
/**
|
|
29471
|
+
* The tax-class code that was asked about, echoed back.
|
|
29472
|
+
*/
|
|
29473
|
+
code?: string;
|
|
29474
|
+
/**
|
|
29475
|
+
* How many payment methods name this code as their own tax_class — in the market of the request when it carries one (its own methods plus the unassigned ones), else across the tenant. Capped at 500.
|
|
29476
|
+
*/
|
|
29477
|
+
count?: number;
|
|
29478
|
+
/**
|
|
29479
|
+
* True when this market's payment_fee_tax_class setting names the code — the class every method that names none is taxed as.
|
|
29480
|
+
*/
|
|
29481
|
+
fallback_setting?: boolean;
|
|
29482
|
+
/**
|
|
29483
|
+
* True when at least one method or the market fallback setting names it. The single field a caller deciding whether to allow a delete needs; the rest is so it can word the refusal.
|
|
29484
|
+
*/
|
|
29485
|
+
in_use?: boolean;
|
|
29486
|
+
/**
|
|
29487
|
+
* The first 20 of them, so a refusal can name names instead of a number.
|
|
29488
|
+
*/
|
|
29489
|
+
samples?: object[];
|
|
29490
|
+
};
|
|
29453
29491
|
/**
|
|
29454
29492
|
* One value of the payment terms set. When a company has to pay. A wholesaler who agrees net 45 with one customer used to need a release of this app to say so.
|
|
29455
29493
|
*/
|
|
@@ -32280,6 +32318,35 @@ It exists because a PIM import (Akeneo, BMEcat) carries these in one blob keyed
|
|
|
32280
32318
|
*/
|
|
32281
32319
|
sku: string;
|
|
32282
32320
|
};
|
|
32321
|
+
/**
|
|
32322
|
+
* No body; send `{}`.
|
|
32323
|
+
*/
|
|
32324
|
+
export type ProductDefaultsRequest = {};
|
|
32325
|
+
/**
|
|
32326
|
+
* What this run wrote.
|
|
32327
|
+
*/
|
|
32328
|
+
export type ProductDefaultsResult = {
|
|
32329
|
+
/**
|
|
32330
|
+
* Attributes this run put into the family.
|
|
32331
|
+
*/
|
|
32332
|
+
assigned?: number;
|
|
32333
|
+
/**
|
|
32334
|
+
* Codes of the attributes this run created.
|
|
32335
|
+
*/
|
|
32336
|
+
attributes?: string[];
|
|
32337
|
+
/**
|
|
32338
|
+
* The family code when this run created the family, else null.
|
|
32339
|
+
*/
|
|
32340
|
+
family?: string | null;
|
|
32341
|
+
/**
|
|
32342
|
+
* Why nothing was written: `not_empty` — the tenant has attributes or families of its own; `already_seeded` — the base model is already complete. Absent when something was written.
|
|
32343
|
+
*/
|
|
32344
|
+
reason?: ProductDefaultsResultReason;
|
|
32345
|
+
/**
|
|
32346
|
+
* True when this run wrote anything.
|
|
32347
|
+
*/
|
|
32348
|
+
seeded?: boolean;
|
|
32349
|
+
};
|
|
32283
32350
|
/**
|
|
32284
32351
|
* Name the family either way — `family_id` wins when both are sent. The family has to exist already; this route assigns one, it does not create one.
|
|
32285
32352
|
*/
|
|
@@ -32464,6 +32531,31 @@ It exists because a PIM import (Akeneo, BMEcat) carries these in one blob keyed
|
|
|
32464
32531
|
*/
|
|
32465
32532
|
product_id?: string;
|
|
32466
32533
|
};
|
|
32534
|
+
/**
|
|
32535
|
+
* What in this app still points at a market tax class, by code.
|
|
32536
|
+
*/
|
|
32537
|
+
export type ProductTaxClassUsage = {
|
|
32538
|
+
/**
|
|
32539
|
+
* The tax-class code that was asked about, echoed back.
|
|
32540
|
+
*/
|
|
32541
|
+
code?: string;
|
|
32542
|
+
/**
|
|
32543
|
+
* How many products name this code as their tax_class — in the market of the request when it carries one (its own products plus the unassigned ones), else across the tenant. Trashed products included. Capped at 1000.
|
|
32544
|
+
*/
|
|
32545
|
+
count?: number;
|
|
32546
|
+
/**
|
|
32547
|
+
* True when at least one product names it. The single field a caller deciding whether to allow a delete needs; the rest is so it can word the refusal.
|
|
32548
|
+
*/
|
|
32549
|
+
in_use?: boolean;
|
|
32550
|
+
/**
|
|
32551
|
+
* The first 20 of them by SKU, so a refusal can name names instead of a number.
|
|
32552
|
+
*/
|
|
32553
|
+
samples?: object[];
|
|
32554
|
+
/**
|
|
32555
|
+
* How many of the counted products are in the trash.
|
|
32556
|
+
*/
|
|
32557
|
+
trashed?: number;
|
|
32558
|
+
};
|
|
32467
32559
|
/**
|
|
32468
32560
|
*
|
|
32469
32561
|
*/
|
|
@@ -35130,6 +35222,14 @@ It exists because a PIM import (Akeneo, BMEcat) carries these in one blob keyed
|
|
|
35130
35222
|
*
|
|
35131
35223
|
*/
|
|
35132
35224
|
client_ip?: string | null;
|
|
35225
|
+
/**
|
|
35226
|
+
*
|
|
35227
|
+
*/
|
|
35228
|
+
detail?: string | null;
|
|
35229
|
+
/**
|
|
35230
|
+
*
|
|
35231
|
+
*/
|
|
35232
|
+
detail_context?: string | null;
|
|
35133
35233
|
/**
|
|
35134
35234
|
*
|
|
35135
35235
|
*/
|
|
@@ -35225,6 +35325,10 @@ It exists because a PIM import (Akeneo, BMEcat) carries these in one blob keyed
|
|
|
35225
35325
|
*
|
|
35226
35326
|
*/
|
|
35227
35327
|
protocol?: PunchoutEntryTestResultProtocol;
|
|
35328
|
+
/**
|
|
35329
|
+
* Why the call was refused, as the refusal list records it — the half the protocol answer never says. Null when it was let in.
|
|
35330
|
+
*/
|
|
35331
|
+
refusal?: object | null;
|
|
35228
35332
|
/**
|
|
35229
35333
|
* The call that was made, with its credentials redacted — the half an operator compares against what their customer's system sends.
|
|
35230
35334
|
*/
|
|
@@ -38094,6 +38198,14 @@ It exists because a PIM import (Akeneo, BMEcat) carries these in one blob keyed
|
|
|
38094
38198
|
* Outcome events recorded for a state that had none.
|
|
38095
38199
|
*/
|
|
38096
38200
|
announced?: object[];
|
|
38201
|
+
/**
|
|
38202
|
+
* Approved PRs whose Order orders still holds for its own approval; they wait and are not failures (RAD-230).
|
|
38203
|
+
*/
|
|
38204
|
+
awaiting_order?: string[];
|
|
38205
|
+
/**
|
|
38206
|
+
* Approved PRs cancelled because orders called their Order off before it was placed; their reservation is released (RAD-230).
|
|
38207
|
+
*/
|
|
38208
|
+
cancelled?: string[];
|
|
38097
38209
|
/**
|
|
38098
38210
|
* Direct orders whose budget commit was completed (RAD-100).
|
|
38099
38211
|
*/
|
|
@@ -39552,11 +39664,15 @@ Which attributes a record of this entity has comes from `attributes` rows with `
|
|
|
39552
39664
|
*/
|
|
39553
39665
|
idempotent?: boolean;
|
|
39554
39666
|
/**
|
|
39555
|
-
* The placed Order once approved→ordered completed.
|
|
39667
|
+
* The placed Order once approved→ordered completed, or the Order as orders left it.
|
|
39556
39668
|
*/
|
|
39557
39669
|
order?: object | null;
|
|
39558
39670
|
/**
|
|
39559
|
-
* PR is
|
|
39671
|
+
* Why the PR is not ordered yet, when order_pending is true; null while orders holds the Order for its own approval.
|
|
39672
|
+
*/
|
|
39673
|
+
order_error?: string | null;
|
|
39674
|
+
/**
|
|
39675
|
+
* PR is approved but not ordered: Order creation must still be retried (orders unavailable), or orders holds the Order for its own approval and the PR waits for it to be placed (RAD-230).
|
|
39560
39676
|
*/
|
|
39561
39677
|
order_pending?: boolean;
|
|
39562
39678
|
/**
|
|
@@ -40824,6 +40940,14 @@ Which attributes a record of this entity has comes from `attributes` rows with `
|
|
|
40824
40940
|
* What this run created, by name, per section.
|
|
40825
40941
|
*/
|
|
40826
40942
|
added?: object;
|
|
40943
|
+
/**
|
|
40944
|
+
* False when the run stopped starting pages because its time budget was spent; `deferred` names those pages. Everything else the body carried was still seeded. A second call in `fill` mode with the same body writes the deferred pages and keeps the rest.
|
|
40945
|
+
*/
|
|
40946
|
+
complete?: boolean;
|
|
40947
|
+
/**
|
|
40948
|
+
* What this run left for a follow-up fill because its time budget was spent, per section. Only pages are ever deferred.
|
|
40949
|
+
*/
|
|
40950
|
+
deferred?: object;
|
|
40827
40951
|
/**
|
|
40828
40952
|
* What this run left as it was because the tenant already had it, by name, per section. An entry skipped for a missing field is not here — it is in that section's `skipped` with its reason.
|
|
40829
40953
|
*/
|
|
@@ -42405,6 +42529,10 @@ Which attributes a record of this entity has comes from `attributes` rows with `
|
|
|
42405
42529
|
* The tax-class code that was asked about, echoed back.
|
|
42406
42530
|
*/
|
|
42407
42531
|
code?: string;
|
|
42532
|
+
/**
|
|
42533
|
+
* How many methods name this code as their own tax_class — in the market of the request when it carries one (its own methods plus the unassigned ones), else across the tenant. Capped at 500 — a tenant with more shipping methods than that has a bigger problem than an imprecise count. The field name every app answering this question shares; equal to `shipping_methods`.
|
|
42534
|
+
*/
|
|
42535
|
+
count?: number;
|
|
42408
42536
|
/**
|
|
42409
42537
|
* True when this market's shipping_tax_class setting names the code — the class every method that names none falls back to.
|
|
42410
42538
|
*/
|
|
@@ -42414,11 +42542,15 @@ Which attributes a record of this entity has comes from `attributes` rows with `
|
|
|
42414
42542
|
*/
|
|
42415
42543
|
in_use?: boolean;
|
|
42416
42544
|
/**
|
|
42417
|
-
*
|
|
42545
|
+
* Same as `samples`, kept for existing callers.
|
|
42418
42546
|
*/
|
|
42419
42547
|
methods?: object[];
|
|
42420
42548
|
/**
|
|
42421
|
-
*
|
|
42549
|
+
* The first 20 of them, so a refusal can name names instead of a number. Equal to `methods`.
|
|
42550
|
+
*/
|
|
42551
|
+
samples?: object[];
|
|
42552
|
+
/**
|
|
42553
|
+
* Same as `count`, kept for existing callers.
|
|
42422
42554
|
*/
|
|
42423
42555
|
shipping_methods?: number;
|
|
42424
42556
|
};
|
|
@@ -43515,6 +43647,14 @@ Which attributes a record of this entity has comes from `attributes` rows with `
|
|
|
43515
43647
|
* The placed Order (direct outcome).
|
|
43516
43648
|
*/
|
|
43517
43649
|
order?: object | null;
|
|
43650
|
+
/**
|
|
43651
|
+
* When order_pending is true: null while orders holds the Order for approval, or why its status could not be read as placed.
|
|
43652
|
+
*/
|
|
43653
|
+
order_error?: string | null;
|
|
43654
|
+
/**
|
|
43655
|
+
* True when orders accepted the Order of a direct outcome but holds it for its own approval (status pending): it is not placed yet. The budget is still committed; a rejection in orders gives it back as a cancellation does (RAD-230). Absent otherwise.
|
|
43656
|
+
*/
|
|
43657
|
+
order_pending?: boolean;
|
|
43518
43658
|
/**
|
|
43519
43659
|
*
|
|
43520
43660
|
*/
|
|
@@ -43714,6 +43854,14 @@ Which attributes a record of this entity has comes from `attributes` rows with `
|
|
|
43714
43854
|
* The placed Order (direct outcome).
|
|
43715
43855
|
*/
|
|
43716
43856
|
order?: object | null;
|
|
43857
|
+
/**
|
|
43858
|
+
* When order_pending is true: null while orders holds the Order for approval, or why its status could not be read as placed.
|
|
43859
|
+
*/
|
|
43860
|
+
order_error?: string | null;
|
|
43861
|
+
/**
|
|
43862
|
+
* True when orders accepted the Order of a direct outcome but holds it for its own approval (status pending): it is not placed yet. The budget is still committed; a rejection in orders gives it back as a cancellation does (RAD-230). Absent otherwise.
|
|
43863
|
+
*/
|
|
43864
|
+
order_pending?: boolean;
|
|
43717
43865
|
/**
|
|
43718
43866
|
*
|
|
43719
43867
|
*/
|
|
@@ -45189,7 +45337,7 @@ Which attributes a record of this entity has comes from `attributes` rows with `
|
|
|
45189
45337
|
unlinked?: number;
|
|
45190
45338
|
};
|
|
45191
45339
|
/**
|
|
45192
|
-
* Buyer identity + per-line context. Restrictions are open-by-default, AND across dimensions, OR within one.
|
|
45340
|
+
* Buyer identity + per-line context. Restrictions are open-by-default, AND across dimensions, OR within one. Only the named organisation's centres are offered (RAD-93).
|
|
45193
45341
|
*/
|
|
45194
45342
|
export type UsableRequest = {
|
|
45195
45343
|
/**
|
|
@@ -45203,7 +45351,7 @@ Which attributes a record of this entity has comes from `attributes` rows with `
|
|
|
45203
45351
|
/**
|
|
45204
45352
|
*
|
|
45205
45353
|
*/
|
|
45206
|
-
organization_id
|
|
45354
|
+
organization_id: string;
|
|
45207
45355
|
/**
|
|
45208
45356
|
* 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.
|
|
45209
45357
|
*/
|