@12-apps/marketplace 1.19.1 → 1.20.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/ADOPTING.md CHANGED
@@ -565,6 +565,7 @@ Events `webhook-overview`, `webhook-best-practices`, `presence`,
565
565
  | A1 | an iFood event recorded in the inbox (fresh) | nothing | `marketplace.acknowledge` `{ clientId, provider }` queued after the row is written, key `marketplace.acknowledge:<inboxId>`; a redelivery queues nothing; the request calls nobody | `__tests__/acknowledgment.test.ts` |
566
566
  | A2 | the job | none exists | `POST /events/v1.0/events/acknowledgment` with `[{ id }]` of every event of that store recorded in the last 8 h and not yet acknowledged, up to 2000 a call (`polling-overview`: "Limite: até 2000 IDs por requisição"); 2xx stamps `acknowledged_at` on exactly those rows; a second run sends nothing ("apenas uma vez por evento") | same |
567
567
  | A7 | the marketplace refuses the batch for good (a final 4xx, not our credentials) | — | given up on: stamped and logged at error, never resent (one bad id cannot make every reconcile pass resend the store's events for 8 h); our own credentials refused leave them owed | same |
568
+ | A8 | a cancellation that outran its order (the engine's marker row `engine:cancelled:<id>`) | the marker's id sent in the batch; iFood refused the whole batch (`400 "Ack with invalid event id"`) and the real events in it were stamped as refused (FUT-6315) | the marker is written acknowledged and never selected: only ids the marketplace sent are acknowledged, and a store whose only unstamped row is a marker is neither called nor re-queued | same |
568
569
  | A3 | the call fails (5xx, 429, timeout) | — | retried (3 attempts, exponential from 10 s); the rows stay owed; the last attempt leaves them for the sweep. A final 4xx is logged and leaves them owed until the 8 h window closes. Never blocks or fails the ingest | same |
569
570
  | A4 | an enqueue lost, or a job that gave up | — | the `marketplace.reconcile-inbox` pass also re-queues one job per (store, marketplace) with events still owed inside the window | same |
570
571
  | A5 | an event older than 8 h | — | never acknowledged (iFood keeps events 8 h) | same |
@@ -973,3 +974,63 @@ halves for it; a host binds neither and nothing changes.
973
974
  store**: a close is never refused because the marketplace is away.
974
975
 
975
976
  The code itself is never logged, stored or put in an error.
977
+
978
+ ## 18. iFood Shipping: an iFood courier for a delivery (FUT-5667, FUT-5666)
979
+
980
+ iFood's **Shipping** module ("Entrega Sob Demanda") puts an iFood courier on a
981
+ delivery the store would otherwise carry. The engine ships the wire client
982
+ only (`src/ifood/shipping*.ts`, exported from `./ifood`); when a call is made,
983
+ the job that makes it and what the store sees are the host's.
984
+
985
+ - **Which app.** Shipping is a module of the store's PDV (Delivery) app: the
986
+ same credentials as the order calls, a linked store's grant included, with
987
+ the `shipping` scope the store authorized. Never the Logistics app.
988
+ - **Two kinds of order.** On the platform (an iFood order the store carries):
989
+ `ifoodShippingQuoteForOrder`, `ifoodRequestDriver`,
990
+ `ifoodCancelRequestDriver` (free, only before a courier accepts). Off the
991
+ platform (the store's own pedido): `ifoodShippingQuoteForAddress`,
992
+ `ifoodShippingCreateOrder` (answers iFood's id and `trackingUrl`),
993
+ `ifoodShippingCancellationReasons` (`not-cancellable` on iFood's 204) and
994
+ `ifoodShippingCancel`, the address calls (`ifoodShippingConfirmAddress`,
995
+ `ifoodShippingRequestAddressChange`, `ifoodShippingAcceptAddressChange`,
996
+ `ifoodShippingDenyAddressChange`) and `ifoodShippingSafeDelivery`. Both kinds
997
+ read `ifoodShippingTracking` (`notYet` before a courier is assigned).
998
+ - **Money in cents** both ways. A quote carries `netCents` (what the store
999
+ pays) and `expiresAt`; an expired quote is refused here, never sent.
1000
+ - **Paid online only.** `ifoodShippingCreateOrder` never sends `payments`. A
1001
+ customer phone with its area code is required (10 or 11 digits, `55`
1002
+ optional; `invalid CUSTOMER_PHONE` otherwise) and goes as `type: CUSTOMER`.
1003
+ - **Addresses are never cut.** A field past iFood's documented length (street,
1004
+ neighbourhood, city and complement 50, reference 70; city at least 2) is
1005
+ `invalid ADDRESS`. Only an item name is cut to 50. A change request needs no
1006
+ postal code and no street number.
1007
+ - **Idempotency.** Every state-changing call takes the host's
1008
+ `idempotencyKey`, sent as `Idempotency-Key`. Make it stable for the logical
1009
+ operation (the pedido and the act), never per attempt.
1010
+ - **Results.** `unavailable` carries iFood's documented code
1011
+ (`IFOOD_SHIPPING_ERROR_CODES`, anything else `UNKNOWN`) and whether the
1012
+ guides say to try later (`transient`). `retry`: nothing changed, ask again
1013
+ after `ifoodShippingRetryDelayMs(attempt)` (immediate, 1, 2, 4, 8 s plus
1014
+ jitter; null after the 5th): a read answered 408, 425, 429 or 5xx, a
1015
+ state-changing call answered 425, 429 or 503, a lost read or token grant.
1016
+ **`uncertain`**: a state-changing request left and may have been applied:
1017
+ no answer came back, or it was answered 408, 500, 502, 504 (any 5xx but
1018
+ 503). iFood does not document that it drops a duplicate by key, so never
1019
+ retry it as a new request: retry with the SAME key only once iFood confirms
1020
+ it deduplicates, or wait for its event. Reasons are fixed strings: the
1021
+ host's HTTP error text is never carried.
1022
+ - **Token.** A Shipping call renews a cached token within 5 minutes of its
1023
+ expiry (`IFOOD_SHIPPING_TOKEN_REFRESH_AHEAD_MS`, the Shipping homologation),
1024
+ and once on a 401. Shipping and the order calls share ONE token cache entry
1025
+ per app, so that early renewal also renews the token the order calls use,
1026
+ which the Order homologation says to renew only once expired (an open
1027
+ question to iFood).
1028
+ - **Events.** `readIfoodShippingEvent(payload)` reads the Shipping events of
1029
+ the stream the engine already polls and acknowledges: `REQUEST_DRIVER_*`,
1030
+ `DELIVERY_*`, the cancellation and address-change events, and the
1031
+ `ASSIGN_DRIVER` family through the courier reader. `salesChannel` is `POS`
1032
+ for an off-platform order. `CANCELLATION_REQUEST_FAILED` carries iFood's
1033
+ reason code. The drop code is never read.
1034
+
1035
+ Not the engine's: the 8 s bound on a quote, the 30 s schedule of tracking,
1036
+ logs kept 30 days and the alert after 5 polling failures in a row.
@@ -1,5 +1,5 @@
1
- import { N as NormalizedEvent, a as NormalizedMarketplaceOrder, C as CatalogueMenuEntry, b as CatalogueMenuOptions, P as PullCatalogue, M as MarketplaceAvailability, A as AdapterCallContext, O as OutboundResult, c as MarketplaceAdapter } from '../adapter-ZpAWKoCk.js';
2
- import { O as OpenDeliveryApiBaseUrls } from '../client-DpEq0yXb.js';
1
+ import { N as NormalizedEvent, a as NormalizedMarketplaceOrder, C as CatalogueMenuEntry, b as CatalogueMenuOptions, P as PullCatalogue, M as MarketplaceAvailability, A as AdapterCallContext, O as OutboundResult, c as MarketplaceAdapter } from '../adapter-lXWwuQQh.js';
2
+ import { O as OpenDeliveryApiBaseUrls } from '../client-CSHcYu3w.js';
3
3
 
4
4
  /**
5
5
  * The words the 99Food adapter needs from its host, and nothing else.
@@ -1583,4 +1583,4 @@ declare function tokenGrantResultOf(response: MarketplaceHttpResponse): Outbound
1583
1583
  /** A call that never got an answer is a retry, with the reason a log can read. */
1584
1584
  declare function answered(call: () => Promise<OutboundResult>): Promise<OutboundResult>;
1585
1585
 
1586
- export { type DisputeAnswerResult as $, type AdapterCallContext as A, type CatalogueReadContext as B, type CatalogueMenuEntry as C, type CatalogueReadNotice as D, type CatalogueReadRefusalCode as E, type FetchOrderResult as F, type CatalogueReadResult as G, type CatalogueReadWarning as H, type CatalogueReadWarningCode as I, type CatalogueSnapshot as J, type CatalogueSnapshotCategory as K, type CatalogueSnapshotItem as L, type MarketplaceAvailability as M, type NormalizedEvent as N, type OutboundResult as O, type PullCatalogue as P, type CatalogueSnapshotOption as Q, type CatalogueSnapshotOptionGroup as R, type StorePauseRequest as S, type CatalogueStoredImage as T, type CatalogueWarningCode as U, type CourierTrackingCallResult as V, type CourierTrackingResult as W, type DeliveryCodeAnswer as X, type DisputeAlternative as Y, type DisputeAlternativeType as Z, type DisputeAnswer as _, type NormalizedMarketplaceOrder as a, tokenGrantResultOf as a$, type DisputeFailureCode as a0, type DisputeItem as a1, type DisputeOutcome as a2, type DisputeReason as a3, type InformLogisticsInput as a4, LOGISTICS_STEPS as a5, type LinkCallContext as a6, type LinkCode as a7, type LinkGrant as a8, type LinkResult as a9, type MarketplaceOrderType as aA, type MarketplacePaymentMethod as aB, type NormalizedAddress as aC, type NormalizedBuyer as aD, type NormalizedDisputeEvent as aE, type NormalizedDisputeOpened as aF, type NormalizedDisputeSettled as aG, type NormalizedLineOption as aH, type NormalizedOrderDiscount as aI, type NormalizedOrderFee as aJ, type NormalizedOrderLine as aK, type NormalizedPaymentMethod as aL, type NormalizedPayments as aM, type OrderCancellationReason as aN, type OrderCancellationReasonsResult as aO, type OutboundOrderRef as aP, PROVIDER_ID_PATTERN as aQ, type PickupCodeCallResult as aR, type PickupCodeValidation as aS, type PresenceProbe as aT, type StatusFacts as aU, type StatusStep as aV, type ValidatePickupCodeInput as aW, answered as aX, centsFromMajor as aY, normalizedLineTotalCents as aZ, outboundResultOf as a_, type LinkedMerchant as aa, type LogisticsDriver as ab, type LogisticsStep as ac, type LogisticsVehicle as ad, type MarketplaceAcknowledgement as ae, type MarketplaceAppCredentialsPort as af, type MarketplaceCapabilities as ag, type MarketplaceCatalogue as ah, type MarketplaceCourier as ai, type MarketplaceCourierAnswer as aj, type MarketplaceCourierEngine as ak, type MarketplaceCourierFacts as al, type MarketplaceCourierStep as am, type MarketplaceCourierTracking as an, type MarketplaceCourierVehicle as ao, type MarketplaceCredentials as ap, type MarketplaceDeliveredBy as aq, type MarketplaceDiscountSponsor as ar, type MarketplaceDisputeApi as as, type MarketplaceDisputeChange as at, type MarketplaceDisputeDelegate as au, type MarketplaceHttp as av, type MarketplaceHttpRequest as aw, type MarketplaceHttpResponse as ax, type MarketplaceLifecycle as ay, type MarketplaceLinkAttemptDelegate as az, type CatalogueMenuOptions as b, type LogisticsPorts as b0, type LogisticsOrderPort as b1, type MarketplaceLogisticsEngine as b2, type MarketplaceAdapter as c, type PushCatalogue as d, type CatalogueItemOut as e, type CatalogueReader as f, type MarketplaceLinking as g, type MarketplaceAppLinking as h, type MarketplaceCourierApi as i, type NormalizedCourierEvent as j, type StorePauseResult as k, type StorePauseRef as l, type MarketplaceLogistics as m, type MarketplaceProvider as n, type CancellationReason as o, type AdapterGrant as p, type AdapterTokenCache as q, type AppLinkCallContext as r, type CancellationOutcome as s, type CancellationRequestInput as t, type CatalogueCallContext as u, type CatalogueFailure as v, type CatalogueImage as w, type CatalogueItem as x, type CatalogueItemRef as y, type CataloguePublishResult as z };
1586
+ export { type DisputeAlternativeType as $, type AdapterCallContext as A, type CatalogueItemRef as B, type CatalogueMenuEntry as C, type CataloguePublishResult as D, type CatalogueReadContext as E, type FetchOrderResult as F, type CatalogueReadNotice as G, type CatalogueReadRefusalCode as H, type CatalogueReadResult as I, type CatalogueReadWarning as J, type CatalogueReadWarningCode as K, type CatalogueSnapshot as L, type MarketplaceAvailability as M, type NormalizedEvent as N, type OutboundResult as O, type PullCatalogue as P, type CatalogueSnapshotCategory as Q, type CatalogueSnapshotItem as R, type StorePauseRequest as S, type CatalogueSnapshotOption as T, type CatalogueSnapshotOptionGroup as U, type CatalogueStoredImage as V, type CatalogueWarningCode as W, type CourierTrackingCallResult as X, type CourierTrackingResult as Y, type DeliveryCodeAnswer as Z, type DisputeAlternative as _, type NormalizedMarketplaceOrder as a, tokenGrantResultOf as a$, type DisputeAnswer as a0, type DisputeAnswerResult as a1, type DisputeFailureCode as a2, type DisputeItem as a3, type DisputeOutcome as a4, type DisputeReason as a5, type InformLogisticsInput as a6, LOGISTICS_STEPS as a7, type LinkCallContext as a8, type LinkCode as a9, type MarketplaceLinkAttemptDelegate as aA, type MarketplaceOrderType as aB, type MarketplacePaymentMethod as aC, type NormalizedAddress as aD, type NormalizedBuyer as aE, type NormalizedDisputeEvent as aF, type NormalizedDisputeOpened as aG, type NormalizedDisputeSettled as aH, type NormalizedLineOption as aI, type NormalizedOrderDiscount as aJ, type NormalizedOrderFee as aK, type NormalizedOrderLine as aL, type NormalizedPaymentMethod as aM, type NormalizedPayments as aN, type OrderCancellationReasonsResult as aO, type OutboundOrderRef as aP, PROVIDER_ID_PATTERN as aQ, type PickupCodeCallResult as aR, type PickupCodeValidation as aS, type PresenceProbe as aT, type StatusFacts as aU, type StatusStep as aV, type ValidatePickupCodeInput as aW, answered as aX, centsFromMajor as aY, normalizedLineTotalCents as aZ, outboundResultOf as a_, type LinkGrant as aa, type LinkResult as ab, type LinkedMerchant as ac, type LogisticsDriver as ad, type LogisticsStep as ae, type LogisticsVehicle as af, type MarketplaceAcknowledgement as ag, type MarketplaceAppCredentialsPort as ah, type MarketplaceCapabilities as ai, type MarketplaceCatalogue as aj, type MarketplaceCourier as ak, type MarketplaceCourierAnswer as al, type MarketplaceCourierEngine as am, type MarketplaceCourierFacts as an, type MarketplaceCourierStep as ao, type MarketplaceCourierVehicle as ap, type MarketplaceCredentials as aq, type MarketplaceDeliveredBy as ar, type MarketplaceDiscountSponsor as as, type MarketplaceDisputeApi as at, type MarketplaceDisputeChange as au, type MarketplaceDisputeDelegate as av, type MarketplaceHttp as aw, type MarketplaceHttpRequest as ax, type MarketplaceHttpResponse as ay, type MarketplaceLifecycle as az, type CatalogueMenuOptions as b, type LogisticsPorts as b0, type LogisticsOrderPort as b1, type MarketplaceLogisticsEngine as b2, type MarketplaceAdapter as c, type PushCatalogue as d, type CatalogueItemOut as e, type CatalogueReader as f, type MarketplaceLinking as g, type MarketplaceAppLinking as h, type MarketplaceCourierApi as i, type NormalizedCourierEvent as j, type StorePauseResult as k, type StorePauseRef as l, type MarketplaceLogistics as m, type MarketplaceCourierTracking as n, type OrderCancellationReason as o, type MarketplaceProvider as p, type CancellationReason as q, type AdapterGrant as r, type AdapterTokenCache as s, type AppLinkCallContext as t, type CancellationOutcome as u, type CancellationRequestInput as v, type CatalogueCallContext as w, type CatalogueFailure as x, type CatalogueImage as y, type CatalogueItem as z };
@@ -23,7 +23,7 @@ import {
23
23
  DisputeAnswerRetryError,
24
24
  FetchOrderRetryError,
25
25
  OutboundRetryError
26
- } from "./chunk-S2ISELNJ.js";
26
+ } from "./chunk-T6A46MH3.js";
27
27
  import {
28
28
  __name
29
29
  } from "./chunk-7QVYU63E.js";
@@ -770,4 +770,4 @@ export {
770
770
  MARKETPLACE_JOBS,
771
771
  createApiMarketplace
772
772
  };
773
- //# sourceMappingURL=chunk-RS2QKQ6S.js.map
773
+ //# sourceMappingURL=chunk-C2MFGZ3H.js.map
@@ -1508,6 +1508,44 @@ async function runCatalogue(ctx, payload, attempt) {
1508
1508
  }
1509
1509
  __name(runCatalogue, "runCatalogue");
1510
1510
 
1511
+ // src/core/order-fetch-marks.ts
1512
+ var CANCELLED_BEFORE_INGEST_REASON = "cancelled before its order body arrived";
1513
+ var CANCELLED_BEFORE_INGEST_EVENT_TYPE = "ENGINE_CANCELLED_BEFORE_INGEST";
1514
+ var markerId = /* @__PURE__ */ __name((externalOrderId) => `engine:cancelled:${externalOrderId}`, "markerId");
1515
+ async function markCancelledBeforeIngest(ctx, input) {
1516
+ const db = await ctx.ports.db();
1517
+ try {
1518
+ await db.marketplaceInboxEvent.create({
1519
+ data: {
1520
+ clientId: input.clientId,
1521
+ provider: input.provider,
1522
+ eventId: markerId(input.externalOrderId),
1523
+ eventType: CANCELLED_BEFORE_INGEST_EVENT_TYPE,
1524
+ externalOrderId: input.externalOrderId,
1525
+ payload: {},
1526
+ status: "IGNORED",
1527
+ error: "cancelled before the order was ingested",
1528
+ receivedAt: ctx.ports.clock.now(),
1529
+ processedAt: ctx.ports.clock.now(),
1530
+ acknowledgedAt: ctx.ports.clock.now()
1531
+ },
1532
+ select: { id: true }
1533
+ });
1534
+ } catch (error) {
1535
+ if (error.code !== "P2002") throw error;
1536
+ }
1537
+ }
1538
+ __name(markCancelledBeforeIngest, "markCancelledBeforeIngest");
1539
+ async function cancelledBeforeIngest(ctx, input) {
1540
+ const db = await ctx.ports.db();
1541
+ const row = await db.marketplaceInboxEvent.findUnique({
1542
+ where: { provider_eventId: { provider: input.provider, eventId: markerId(input.externalOrderId) } },
1543
+ select: { clientId: true }
1544
+ });
1545
+ return row !== null && row.clientId === input.clientId;
1546
+ }
1547
+ __name(cancelledBeforeIngest, "cancelledBeforeIngest");
1548
+
1511
1549
  // src/core/acknowledge.ts
1512
1550
  var MARKETPLACE_ACKNOWLEDGE_JOB = "marketplace.acknowledge";
1513
1551
  var AcknowledgeRetryError = class extends Error {
@@ -1523,6 +1561,7 @@ function acknowledgementOf(ctx, provider) {
1523
1561
  return ctx.registry.get(provider)?.acknowledgement ?? null;
1524
1562
  }
1525
1563
  __name(acknowledgementOf, "acknowledgementOf");
1564
+ var SENT_BY_THE_MARKETPLACE = { eventType: { not: CANCELLED_BEFORE_INGEST_EVENT_TYPE } };
1526
1565
  var SWEEP_STORES = 500;
1527
1566
  function windowStart(ctx, retentionMs) {
1528
1567
  return new Date(ctx.ports.clock.now().getTime() - retentionMs);
@@ -1550,7 +1589,8 @@ async function runAcknowledge(ctx, payload, attempt) {
1550
1589
  clientId: payload.clientId,
1551
1590
  provider: payload.provider,
1552
1591
  acknowledgedAt: null,
1553
- receivedAt: { gte: windowStart(ctx, acknowledgement.retentionMs) }
1592
+ receivedAt: { gte: windowStart(ctx, acknowledgement.retentionMs) },
1593
+ ...SENT_BY_THE_MARKETPLACE
1554
1594
  },
1555
1595
  orderBy: { receivedAt: "asc" },
1556
1596
  take: acknowledgement.batchSize,
@@ -1600,7 +1640,13 @@ async function sweepAcknowledgements(ctx) {
1600
1640
  const acknowledgement = acknowledgementOf(ctx, provider);
1601
1641
  if (!acknowledgement) continue;
1602
1642
  const rows = await db.marketplaceInboxEvent.findMany({
1603
- where: { provider, acknowledgedAt: null, clientId: { not: null }, receivedAt: { gte: windowStart(ctx, acknowledgement.retentionMs) } },
1643
+ where: {
1644
+ provider,
1645
+ acknowledgedAt: null,
1646
+ clientId: { not: null },
1647
+ receivedAt: { gte: windowStart(ctx, acknowledgement.retentionMs) },
1648
+ ...SENT_BY_THE_MARKETPLACE
1649
+ },
1604
1650
  // One row per store, bounded: the next pass takes the rest.
1605
1651
  distinct: ["clientId"],
1606
1652
  take: SWEEP_STORES,
@@ -2252,43 +2298,6 @@ async function cancelAcceptance(ctx, input) {
2252
2298
  }
2253
2299
  __name(cancelAcceptance, "cancelAcceptance");
2254
2300
 
2255
- // src/core/order-fetch-marks.ts
2256
- var CANCELLED_BEFORE_INGEST_REASON = "cancelled before its order body arrived";
2257
- var MARKER_TYPE = "ENGINE_CANCELLED_BEFORE_INGEST";
2258
- var markerId = /* @__PURE__ */ __name((externalOrderId) => `engine:cancelled:${externalOrderId}`, "markerId");
2259
- async function markCancelledBeforeIngest(ctx, input) {
2260
- const db = await ctx.ports.db();
2261
- try {
2262
- await db.marketplaceInboxEvent.create({
2263
- data: {
2264
- clientId: input.clientId,
2265
- provider: input.provider,
2266
- eventId: markerId(input.externalOrderId),
2267
- eventType: MARKER_TYPE,
2268
- externalOrderId: input.externalOrderId,
2269
- payload: {},
2270
- status: "IGNORED",
2271
- error: "cancelled before the order was ingested",
2272
- receivedAt: ctx.ports.clock.now(),
2273
- processedAt: ctx.ports.clock.now()
2274
- },
2275
- select: { id: true }
2276
- });
2277
- } catch (error) {
2278
- if (error.code !== "P2002") throw error;
2279
- }
2280
- }
2281
- __name(markCancelledBeforeIngest, "markCancelledBeforeIngest");
2282
- async function cancelledBeforeIngest(ctx, input) {
2283
- const db = await ctx.ports.db();
2284
- const row = await db.marketplaceInboxEvent.findUnique({
2285
- where: { provider_eventId: { provider: input.provider, eventId: markerId(input.externalOrderId) } },
2286
- select: { clientId: true }
2287
- });
2288
- return row !== null && row.clientId === input.clientId;
2289
- }
2290
- __name(cancelledBeforeIngest, "cancelledBeforeIngest");
2291
-
2292
2301
  // src/core/fetch-order.ts
2293
2302
  var MARKETPLACE_FETCH_ORDER_JOB = "marketplace.fetch-order";
2294
2303
  var FetchOrderRetryError = class extends Error {
@@ -3470,6 +3479,9 @@ export {
3470
3479
  enqueueCatalogue,
3471
3480
  runCatalogue,
3472
3481
  validatePickupCode,
3482
+ CANCELLED_BEFORE_INGEST_REASON,
3483
+ markCancelledBeforeIngest,
3484
+ cancelledBeforeIngest,
3473
3485
  MARKETPLACE_ACKNOWLEDGE_JOB,
3474
3486
  AcknowledgeRetryError,
3475
3487
  enqueueAcknowledge,
@@ -3487,9 +3499,6 @@ export {
3487
3499
  DisputeAnswerRetryError,
3488
3500
  runDisputeAnswer,
3489
3501
  ingestMarketplaceOrder,
3490
- CANCELLED_BEFORE_INGEST_REASON,
3491
- markCancelledBeforeIngest,
3492
- cancelledBeforeIngest,
3493
3502
  MARKETPLACE_FETCH_ORDER_JOB,
3494
3503
  FetchOrderRetryError,
3495
3504
  awaitOrderBody,
@@ -3514,4 +3523,4 @@ export {
3514
3523
  AvailabilityRetryError,
3515
3524
  runAvailability
3516
3525
  };
3517
- //# sourceMappingURL=chunk-S2ISELNJ.js.map
3526
+ //# sourceMappingURL=chunk-T6A46MH3.js.map