@12-apps/marketplace 1.11.0 → 1.12.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.
Files changed (51) hide show
  1. package/ADOPTING.md +90 -1
  2. package/README.md +37 -1
  3. package/dist/99food/index.d.ts +2 -2
  4. package/dist/99food/index.js +2 -2
  5. package/dist/{adapter-CD0SfdVS.d.ts → adapter-nUyZpLzz.d.ts} +325 -173
  6. package/dist/{chunk-YWMEIMO3.js → chunk-45ZVN5XI.js} +114 -24
  7. package/dist/chunk-45ZVN5XI.js.map +1 -0
  8. package/dist/{chunk-DCWOQ5PN.js → chunk-L6FG6T4S.js} +2 -2
  9. package/dist/{chunk-TVZU4HNT.js → chunk-LACBT6NC.js} +1 -1
  10. package/dist/{chunk-TVZU4HNT.js.map → chunk-LACBT6NC.js.map} +1 -1
  11. package/dist/{chunk-OS4TSIFU.js → chunk-MIPNQ7X5.js} +2 -2
  12. package/dist/{client-11sncog4.d.ts → client-Ctas7WCS.d.ts} +1 -1
  13. package/dist/{engine-C_3RK8wC.d.ts → engine-CIy9P7Cq.d.ts} +34 -5
  14. package/dist/hono/index.d.ts +2 -2
  15. package/dist/hono/index.js +2 -2
  16. package/dist/ifood/index.d.ts +7 -2
  17. package/dist/ifood/index.js +184 -30
  18. package/dist/ifood/index.js.map +1 -1
  19. package/dist/index.d.ts +3 -3
  20. package/dist/index.js +162 -65
  21. package/dist/index.js.map +1 -1
  22. package/dist/keeta/index.d.ts +2 -18
  23. package/dist/keeta/index.js +12 -3
  24. package/dist/keeta/index.js.map +1 -1
  25. package/dist/manifest/server.d.ts +2 -2
  26. package/dist/manifest/server.js +2 -2
  27. package/dist/rappi/index.d.ts +1 -1
  28. package/dist/rappi/index.js +1 -1
  29. package/dist/server/index.d.ts +2 -2
  30. package/dist/server/index.js +2 -2
  31. package/package.json +1 -1
  32. package/src/core/adapter.ts +6 -0
  33. package/src/core/courier-port.ts +100 -0
  34. package/src/core/courier.ts +153 -0
  35. package/src/core/engine.ts +4 -1
  36. package/src/core/lifecycle.ts +27 -4
  37. package/src/core/outbound-queue.ts +24 -11
  38. package/src/core/outbound.ts +8 -6
  39. package/src/core/pickup-code.ts +136 -0
  40. package/src/core/pipeline.ts +15 -6
  41. package/src/core/ports.ts +23 -1
  42. package/src/core/status-store.ts +2 -3
  43. package/src/core/types.ts +56 -4
  44. package/src/ifood/courier.ts +210 -0
  45. package/src/ifood/index.ts +4 -0
  46. package/src/ifood/normalize.ts +7 -0
  47. package/src/index.ts +16 -0
  48. package/src/keeta/normalize.ts +21 -6
  49. package/dist/chunk-YWMEIMO3.js.map +0 -1
  50. /package/dist/{chunk-DCWOQ5PN.js.map → chunk-L6FG6T4S.js.map} +0 -0
  51. /package/dist/{chunk-OS4TSIFU.js.map → chunk-MIPNQ7X5.js.map} +0 -0
package/ADOPTING.md CHANGED
@@ -22,11 +22,13 @@ error at mount, never a default that quietly adopts another host's policy.
22
22
  | `order.onRefused` | `(clientId, orderId, reason: "REJECTED" \| "EXPIRED" \| "CANCELLED") => Promise<void>` | Refuse/cancel the host order: the store refused on the clock, the clock lapsed, or the marketplace cancelled. After the commit and after the cancellation request is queued; a throw on a decision is logged. NOT called for `recordStoreCancellation`. A host that binds `onCancellationConfirmed` (request first) does not get `"REJECTED"` from `decide` either, nor `"CANCELLED"` for a cancellation the store asked for: `onCancellationConfirmed` replaces both. |
23
23
  | `order.onCancellationConfirmed` | OPTIONAL — binding it OPTS IN to request first. `(clientId, orderId) => Promise<void>` | The marketplace CONFIRMED the store's own cancellation request (its event, or the job's answer for a marketplace that answers in the response); the row is REJECTED/CONFIRMED by then. Run the host's cancel here. Bound: the store's refusals and cancels (`decide` REJECT, `recordStoreCancellation`) only REQUEST the cancellation and keep the order as it was until this is called, once (a redelivered confirmation calls nothing), INSTEAD of `onRefused`. Not bound (a 1.0.0 host): everything as 1.0.0 — REJECTED at request time, `onRefused(…, "REJECTED")` from `decide`, and `onRefused(…, "CANCELLED")` on the confirmation. A throw is logged. |
24
24
  | `order.onCancellationFailed` | OPTIONAL. `(clientId, orderId, reason: "REFUSED" \| "TIMEOUT") => Promise<void>` | The store's request FAILED: REFUSED (the marketplace's refusal event, the job's 4xx, its last attempt dying, or — request first — a marketplace whose API cannot take it, at once) or TIMEOUT (the outbound sweep, past the marketplace's answer window, or the 24-hour give-up). Called once, by the path that moved the row. Request first: the order stays as it was (AWAITING or ACCEPTED) and may be accepted again; show the adapter's app link and tell the person. A throw is logged. |
25
+ | `order.onCourier` | OPTIONAL (FUT-5665). `(clientId, orderId, event: NormalizedCourierEvent, facts: { deliveredBy; at }) => Promise<"recorded" \| "unchanged" \| { kind: "unchanged"; reason }>` | The marketplace's courier moved (assigned, on the way, at the counter, collected, returning, returned): store the facts on the order, never move it. Asked for an ACCEPTED order only; idempotent (the reconcile pass may re-run a row). Section 10. |
26
+ | `order.onPickupCodeValidated` | OPTIONAL (FUT-5665). `(clientId, orderId, validation: "VALID" \| "INVALID" \| "UNVERIFIED") => Promise<void>` | The marketplace's verdict on the code sent with `validatePickupCode`, after the hand-over committed. `INVALID` warns, moves nothing. A throw is logged. Section 10. |
25
27
  | `order.summarize` | `(clientId, orderIds: readonly string[]) => Promise<Map<string, MarketplaceOrderSummary>>` | The queue's host facts in one read: `{ buyerName, totalCents, unmappedLines, createdAt }`. |
26
28
  | `secrets` | `{ seal(plaintext): string; open(sealed): string }` | Seal and open the credential blob with the host's key. `open` THROWS on a blob that will not open. |
27
29
  | `http` | `(req: MarketplaceHttpRequest) => Promise<MarketplaceHttpResponse>` | The only way the engine reaches a marketplace. Answer any status; throw only when no answer arrived (timeout, network). The host owns the timeout, proxy and CA. `method` is `GET`, `POST`, `PUT` or, since the catalogue (1.2), `PATCH`. |
28
30
  | `audit` | `{ record(entry: { clientId; actorId: string \| null; action: "marketplace.integration.archive" \| "marketplace.integration.unarchive"; provider; reason: string \| null; at: Date }, db: MarketplaceDb): Promise<void> }` | Every archive and unarchive of a connection, INSIDE the same transaction: write the line through `db`, so an archive never lands without its line and a failing audit rolls the archive back. `actorId` is `MarketplaceActor.userId`. |
29
- | `enqueue` | `{ enqueue(name, payload, { dedupeKey? }) => Promise<{ enqueued: boolean; reason?: string }> }` | The wiring `JobsEnqueuePort`. Never throws. The engine queues only its own three on-demand jobs: `marketplace.outbound` (`{ clientId, orderId, action }`, dedupe key `marketplace.outbound:<action>:<orderId>`), `marketplace.fetch-order` (`{ clientId, inboxId }`, dedupe key `marketplace.fetch-order:<inboxId>`) and `marketplace.catalogue` (`{ clientId, publicationId, action }`, dedupe key `marketplace.catalogue:<action>:<publicationId>:<asked at, ms>`); the sweeps re-queue each under a key of their own. |
31
+ | `enqueue` | `{ enqueue(name, payload, { dedupeKey? }) => Promise<{ enqueued: boolean; reason?: string }> }` | The wiring `JobsEnqueuePort`. Never throws. The engine queues only its own three on-demand jobs: `marketplace.outbound` (`{ clientId, orderId, action }`, dedupe key `marketplace.outbound:<action>:<orderId>`; `validatePickupCode` adds `code`, the one non-identifier a payload carries, a short-lived code no log line prints, and keys on the hand-over's instant), `marketplace.fetch-order` (`{ clientId, inboxId }`, dedupe key `marketplace.fetch-order:<inboxId>`) and `marketplace.catalogue` (`{ clientId, publicationId, action }`, dedupe key `marketplace.catalogue:<action>:<publicationId>:<asked at, ms>`); the sweeps re-queue each under a key of their own. |
30
32
  | `clock` | `{ now(): Date }` | What time it is. |
31
33
  | `logger` | `{ info, warn, error }` | The wiring `LoggerPort`; bind `assembled.loggers["@12-apps/marketplace"]`. |
32
34
  | `publishChanged` | `(clientId) => void` | Tell the staff surfaces something moved. Fire-and-forget. |
@@ -78,6 +80,8 @@ export const engine = createMarketplaceEngine({
78
80
  | `catalogueState({ clientId, productIds, providers? })` | The product page's read: one row per marketplace the product was ever switched on for, in one query. Draw PUBLISHED as "in the catalogue" (with your sentence for a `warningCode`, IMAGE_TOO_LARGE or IMAGE_REFUSED: it went out without its photo), PUBLISHING / WITHDRAWING as "sending…" (switch disabled), FAILED with your own sentence for its `failureCode` (REFUSED, UNAVAILABLE, TIMEOUT, NOT_CONNECTED, CREDENTIALS, PRODUCT_GONE, UNSUPPORTED, INTERNAL), the marketplace's own words from `failureReason` beside a REFUSED, and a retry (`publish` or `withdraw` again, per `failedAction`). The engine writes no sentence a person reads. No row is OFF. |
79
81
  | `catalogueDocument({ clientId, provider, options: { menuName, currency } })` | PULL marketplaces only (99Food): the menu part of the document the marketplace reads. Serve it from the route the marketplace pulls (Open Delivery's `GET /v1/merchant`), merged into the rest of that document, which is the host's (`id`, `status`, `lastUpdate`, `TTL`, `basicInfo`, `services`). The menu's name and the currency are the host's words. |
80
82
  | `informStatus({ clientId, orderId, step, at, delayMs? })` | An order reached `READY`, `DISPATCHED` or `HANDED_OVER` (FUT-4653). One enqueue, no statement, never throws: call it after the move's commit, from the one place every writer of that step passes, gated on the order being a marketplace's. `at` is the move's own timestamp (it makes the job's dedupe key, so a re-dispatch after an undo is a new job); `delayMs` is the board's undo window for a dispatch. Your `enqueue` port must pass `options.delayMs` on. The job decides everything else (see the README). |
83
+ | `validatePickupCode({ clientId, orderId, code, at })` | After the host's own hand-over of a marketplace-courier bag committed, with the code the store checked locally (FUT-5665). One enqueue, never throws. Section 10. |
84
+ | `courierTracking({ clientId, orderId })` | From a job, at most once per 30 s per order (iFood's rate): where the marketplace's courier is (`pickupEtaAt`, the "arrives at" time). Calls the marketplace at once; never on a tap or a screen load. Section 10. |
81
85
  | `ingest(...)`, `deliver(...)` | A producer that hands over an order directly; the webhook does `deliver` for you. |
82
86
 
83
87
  A host never writes `provider === "IFOOD"`. A capability is asked of
@@ -354,3 +358,88 @@ software's own app"). What the host binds and decides:
354
358
  `archive`): the row is kept; linking again unarchives it with its audit line.
355
359
  - **A view** gains `authMode`; a host that switches on it treats an absent
356
360
  value as `CREDENTIALS`.
361
+
362
+ ## 10. The marketplace's own courier and the pickup code (FUT-5665)
363
+
364
+ When the marketplace's fleet carries a bag (`deliveredBy: "MARKETPLACE"`;
365
+ iFood's `delivery.deliveredBy = IFOOD`), the engine reports where its courier
366
+ is, carries the code the courier states at the counter, checks that code with
367
+ the marketplace after the hand-over, and reads the courier's tracking. All of
368
+ it is additive: every new port and field is optional, nothing below needs an
369
+ engine migration, and a host that binds none of the new hooks keeps its 1.x
370
+ behaviour, with one exception: a host that binds `onLifecycle` now receives
371
+ `lifecycle: "COLLECTED"` (iFood `CLT`, Keeta `ORDER_COLLECTED`, for a bag the
372
+ marketplace carries; before, IGNORED as `no order body`). A switch with a
373
+ default answers `unchanged`; an exhaustive switch must add the case, as for
374
+ `status` in FUT-4653.
375
+
376
+ **What the host binds.**
377
+
378
+ - `order.onCourier(clientId, orderId, event, facts)`: a courier event of an
379
+ ACCEPTED order (an event before its order is deferred and re-run by the
380
+ reconcile pass; another status is IGNORED). `event` is
381
+ `NormalizedCourierEvent`: `step` (`ASSIGNED`, `GOING_TO_ORIGIN`,
382
+ `ARRIVED_AT_ORIGIN`, `COLLECTED`, `RETURNING_TO_ORIGIN`,
383
+ `RETURNED_TO_ORIGIN`), `at` (the event's instant or null), `courier` (on
384
+ `ASSIGNED`: `{ name, photoUrl, vehicle }`, the photo an https URL or null,
385
+ the vehicle `MOTORCYCLE` / `BICYCLE` / `CAR` / `OTHER` or null) and
386
+ `returning` (`RETURNING`, `RETURNED` or null). `facts` is
387
+ `{ deliveredBy, at }`, `at` falling back to the engine's clock. Store what
388
+ the card shows (name, photo, vehicle, arrived at, collected at, returning)
389
+ on your own order and answer `"recorded"`; the engine settles the inbox row
390
+ PROCESSED and calls `publishChanged`. It is NOT gated on `followStatus`: a
391
+ fact moves nothing. Unbound: courier events stay IGNORED (`no order body on
392
+ ADR`).
393
+ - `order.onLifecycle` now also gets `lifecycle: "COLLECTED"` (iFood `CLT`,
394
+ Keeta `ORDER_COLLECTED`). For a fleet bag treat it as `DISPATCHED`: the
395
+ courier has the bag, so move it to handed over, forward only, with no code
396
+ asked. A `COLLECTED` of a bag the marketplace does not carry is IGNORED by
397
+ the engine, never noted and never sent to the host. The engine notes it as
398
+ the marketplace's HANDED_OVER, and treats a `COLLECTED` after your own informed HANDED_OVER as an echo. The courier's
399
+ facts reach `onCourier` first; when the lifecycle moves nothing the row is
400
+ settled by the courier's answer.
401
+ - `order.onPickupCodeValidated(clientId, orderId, validation)`: `VALID`,
402
+ `INVALID` (warn on the order; the hand-over stands) or `UNVERIFIED` (a final
403
+ 4xx, retries that ran out, no connection: no verdict). Unbound: the verdict
404
+ is logged only.
405
+
406
+ **What the host stores from the order.** `NormalizedMarketplaceOrder.pickupCode`
407
+ (iFood `delivery.pickupCode`, null when the marketplace asks none) arrives in
408
+ `order.create`. Keep it on your order; the hand-over compares the typed code
409
+ with it LOCALLY, with no call to the marketplace. No code on the order: hand
410
+ over as before.
411
+
412
+ **What the host calls.**
413
+
414
+ - `engine.validatePickupCode({ clientId, orderId, code, at })` AFTER the
415
+ hand-over's commit, with the code the store checked; `at` is the
416
+ hand-over's instant (the job's key). One enqueue of `marketplace.outbound`,
417
+ action `validatePickupCode`; never throws, false when the queue refused
418
+ (nothing re-queues it: the marketplace's check is its half, never a gate on
419
+ yours). The job skips, with no call, a marketplace with no `courier` API, an
420
+ order no longer ACCEPTED, a bag not carried by the marketplace's courier and
421
+ an empty code; a 5xx or timeout is retried (3 attempts from 30 s) and the
422
+ last answers `UNVERIFIED`.
423
+ - `engine.courierTracking({ clientId, orderId })` from a job of yours while
424
+ the courier comes to the store, at most once per 30 s per order. Answers
425
+ `{ kind: "tracking", tracking: { pickupEtaAt, deliveryEtaAt, latitude,
426
+ longitude, trackedAt } }`, `{ kind: "notYet" }` (iFood's 404 before
427
+ `ASSIGN_DRIVER`), `{ kind: "unsupported", reason }` with no call (unknown
428
+ order, no `courier` API, a bag the store carries), or the `refused` /
429
+ `retry` shapes of an outbound call. Store `pickupEtaAt` as "chega em"; the
430
+ engine stores nothing.
431
+
432
+ **What a marketplace offers.** `engine.adapter(provider).courier` is present
433
+ when it has the two calls (iFood only). Courier events: iFood (all six;
434
+ the two return events by long name only); Keeta `RIDER_ARRIVED_AT_STORE` and
435
+ `ORDER_COLLECTED`, ESTIMATED, with no rider identity; 99Food and Rappi none
436
+ (Open Delivery's standard events and Rappi's documented ones name no courier
437
+ step).
438
+
439
+ **Migration-free on the engine's side.** No engine table changes:
440
+ `COLLECTED` is noted under the existing `HANDED_OVER` step of
441
+ `marketplace_status_updates`. The courier facts, the pickup code and the last
442
+ ETA are the host's own columns.
443
+
444
+ **Copy.** The engine adds no copy key; every sentence ("Código não confere",
445
+ "Voltando para a loja") is the host's.
package/README.md CHANGED
@@ -375,7 +375,7 @@ What differs from 99Food's v1.7.1, and where the adapter handles it:
375
375
  | part | from Keeta's documentation |
376
376
  |---|---|
377
377
  | Merchant id | A connection's `externalMerchantId` for Keeta is the SOFTWARE's merchant id: the `merchantId` the onboarding binds to `keetaMerchantId`, echoed as `X-App-MerchantId` and `Order.merchant.id`, and the `{merchantId}` of `merchantUpdate`. Keeta's own store id (`keetaMerchantId`, `authorizedShops[].id`) is the onboarding's. "Without onboarding there are no order events"; onboarding the same id again replaces the mapping. |
378
- | Events | `CREATED` → fetch; `CANCELLED` (its `metadata` a JSON string with `reason`, `code`) → cancelled; `DISPATCHED`, `CONCLUDED` → lifecycle; the rest (`CONFIRMED`, `READY_FOR_PICKUP`, `PICKUP_ONGOING`, `RIDER_ARRIVED_AT_STORE`, `ORDER_COLLECTED`, `DELIVERED`, `CANCELLATION_REQUESTED`, the refund events, `RECOMMENDED_PREPARATION_START`) recorded and IGNORED. Keeta retries an unanswered webhook 3 times (1, 2 and 3 minutes later). |
378
+ | Events | `CREATED` → fetch; `CANCELLED` (its `metadata` a JSON string with `reason`, `code`) → cancelled; `DISPATCHED`, `CONCLUDED` → lifecycle; `RIDER_ARRIVED_AT_STORE`, `ORDER_COLLECTED` → courier steps, the second a `COLLECTED` lifecycle too (FUT-5665, ESTIMATED); the rest (`CONFIRMED`, `READY_FOR_PICKUP`, `PICKUP_ONGOING`, `DELIVERED`, `CANCELLATION_REQUESTED`, the refund events, `RECOMMENDED_PREPARATION_START`) recorded and IGNORED. Keeta retries an unanswered webhook 3 times (1, 2 and 3 minutes later). |
379
379
  | Confirm | `POST /v1/orders/{id}/confirm` `{ createdAt, orderExternalCode, preparationTime? }`; 202, then `CONFIRMED`; 422 "invalid or repeated state". Keeta cancels an order not accepted within 5 minutes and may close the store for it: a connection's acknowledgement window should be at most 300 s. |
380
380
  | Cancel | `POST /v1/orders/{id}/requestCancellation` `{ reason, code, mode, outOfStockItems? }` with Keeta's eleven v1.0.7+ codes (the standard's); 202 "received for analysis", then `CANCELLED` or nothing. |
381
381
  | Order | The standard's `Order`; `total.orderAmount` = items + fees − discounts is the total, no commission (`commissionCents` null). An encrypted value Keeta would not reveal (its own fleet, a refused or failed decrypt) is dropped, never shown: the number reads the copy's missing-number text, the phone is null. A failed decrypt never keeps the order out of the queue. |
@@ -563,6 +563,42 @@ Sources: Open Delivery `openapi.yaml` (read 2026-11-25), Rappi's portal
563
563
  so every iFood row but confirm and requestCancellation is ESTIMATED, in
564
564
  `src/ifood/outbound.ts` and `src/ifood/normalize.ts` only.
565
565
 
566
+ ## The marketplace's own courier and the pickup code (FUT-5665)
567
+
568
+ For a bag the marketplace's fleet carries, four additive pieces, each optional
569
+ for the host (ADOPTING.md section 10):
570
+
571
+ - **Courier events.** `NormalizedEvent.courier` (`NormalizedCourierEvent`:
572
+ `step`, `at`, `courier { name, photoUrl, vehicle }` on `ASSIGNED`,
573
+ `returning`) reaches `order.onCourier` for an ACCEPTED order; it moves
574
+ nothing. iFood: `ADR`/`ASSIGN_DRIVER` (metadata `workerName`,
575
+ `workerPhotoUrl`, `workerVehicleType`), `GTO`, `AAO`, `CLT`,
576
+ `DELIVERY_RETURNING_TO_ORIGIN`, `DELIVERY_RETURNED_TO_ORIGIN`. Keeta:
577
+ `RIDER_ARRIVED_AT_STORE`, `ORDER_COLLECTED` (ESTIMATED). 99Food, Rappi:
578
+ unsupported.
579
+ - **COLLECTED is a lifecycle step.** `CLT` / `ORDER_COLLECTED` also names
580
+ `lifecycle: "COLLECTED"`, which follows the FUT-4653 rules like a
581
+ `DISPATCHED` and is noted as the marketplace's `HANDED_OVER`, for a bag the
582
+ marketplace carries only (a store-carried bag's COLLECTED is IGNORED, never
583
+ noted, so the store's own "delivered" is still sent).
584
+ - **The pickup code.** `NormalizedMarketplaceOrder.pickupCode` (iFood
585
+ `delivery.pickupCode`). After its local check and hand-over, the host calls
586
+ `engine.validatePickupCode`, and the `marketplace.outbound` job (action
587
+ `validatePickupCode`) posts `POST /order/v1.0/orders/{id}/validatePickupCode
588
+ {"code"}` and hands `{"valid"}` to `order.onPickupCodeValidated` as `VALID`,
589
+ `INVALID` or `UNVERIFIED`.
590
+ - **Tracking.** `engine.courierTracking` reads `GET
591
+ /order/v1.0/orders/{id}/tracking` at once (404 is `notYet`); the host runs
592
+ it from a job, at most once per 30 s.
593
+
594
+ Source: the iFood research of 2026-11-26 (Order module, marked confirmed
595
+ there). ESTIMATED, in `src/ifood/courier.ts` only: the values of
596
+ `workerVehicleType`, the names of the tracking body's second counts
597
+ (`pickupEtaStart` / `deliveryEtaEnd`, else `pickupEta` / `deliveryEta`), the
598
+ absence of short codes for the two return events, and whether a wrong code
599
+ answers `{"valid": false}` rather than a 4xx (a 4xx is `UNVERIFIED`, never
600
+ `INVALID`).
601
+
566
602
  ## Pausing a store (FUT-4851)
567
603
 
568
604
  When the store's kitchen passes its cap, the host closes the store on every
@@ -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-CD0SfdVS.js';
2
- import { O as OpenDeliveryApiBaseUrls } from '../client-11sncog4.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-nUyZpLzz.js';
2
+ import { O as OpenDeliveryApiBaseUrls } from '../client-Ctas7WCS.js';
3
3
 
4
4
  /**
5
5
  * The words the 99Food adapter needs from its host, and nothing else.
@@ -12,10 +12,10 @@ import {
12
12
  openDeliveryStatus,
13
13
  openDeliverySwitchAvailability,
14
14
  verifyOpenDeliverySignature
15
- } from "../chunk-DCWOQ5PN.js";
15
+ } from "../chunk-L6FG6T4S.js";
16
16
  import "../chunk-M2V4RFMA.js";
17
17
  import "../chunk-BD7DS3XM.js";
18
- import "../chunk-TVZU4HNT.js";
18
+ import "../chunk-LACBT6NC.js";
19
19
  import {
20
20
  __name
21
21
  } from "../chunk-7QVYU63E.js";