diff --git a/.commandcode/settings.json b/.commandcode/settings.json index a5ea5aa..fbcf8ce 100644 --- a/.commandcode/settings.json +++ b/.commandcode/settings.json @@ -81,7 +81,24 @@ "Shell(cd /Users/mohammedshafiuddin/WebDev/freshyo && npx tsc --noEmit -p tests 2>&1 | tail -5; echo \"tsc_exit=$?\"; bun run test:e2e > /tmp/e2e_run9.log 2>&1; echo \"exit=$?\" >> /tmp/e2e_run9.log)", "Shell(DEBUG=pw:browser npx playwright test tests/specs/smoke.spec.ts 2 >& 1)", "Shell(cd /Users/mohammedshafiuddin/WebDev/freshyo && git diff product_to_sku_c1 -- apps/user-ui/hooks/cart-query-hooks.tsx apps/user-ui/hooks/useUploadToObjectStore.ts apps/user-ui/eas.json apps/user-ui/'(drawer)' 2>/dev/null; git diff product_to_sku_c1 -- \"apps/user-ui/app/(drawer)/(tabs)/me/addresses/index.tsx\" \"apps/user-ui/app/(drawer)/(tabs)/me/my-orders/index.tsx\" | head -160)", - "Shell(cd /Users/mohammedshafiuddin/WebDev/freshyo/packages/db_helper_sqlite && npx tsc --noEmit 2>&1 | tail -8; echo \"sqlite_exit=$?\"; echo \"=== user-ui ===\"; cd /Users/mohammedshafiuddin/WebDev/freshyo/apps/user-ui && npx tsc --noEmit 2>&1 | tee /tmp/uui_tsc.txt | tail -5; echo \"userui_errors=$(grep -cE 'error TS' /tmp/uui_tsc.txt)\")" + "Shell(cd /Users/mohammedshafiuddin/WebDev/freshyo/packages/db_helper_sqlite && npx tsc --noEmit 2>&1 | tail -8; echo \"sqlite_exit=$?\"; echo \"=== user-ui ===\"; cd /Users/mohammedshafiuddin/WebDev/freshyo/apps/user-ui && npx tsc --noEmit 2>&1 | tee /tmp/uui_tsc.txt | tail -5; echo \"userui_errors=$(grep -cE 'error TS' /tmp/uui_tsc.txt)\")", + "Shell(/.maestro/bin/maestro:*)", + "Shell(cd /Users/mohammedshafiuddin/WebDev/freshyo && adb shell am force-stop in.freshyo.app; adb shell monkey -p in.freshyo.app -c android.intent.category.LAUNCHER 1 >/dev/null 2>&1; sleep 8; mkdir -p \"$COMMANDCODE_SCRATCHPAD\"; adb exec-out screencap -p > \"$COMMANDCODE_SCRATCHPAD/screen1.png\"; ls -la \"$COMMANDCODE_SCRATCHPAD/screen1.png\")", + "Shell(adb:*)", + "Shell(cd /Users/mohammedshafiuddin/WebDev/freshyo && adb exec-out screencap -p > \"$COMMANDCODE_SCRATCHPAD/screen2.png\" && ls -la \"$COMMANDCODE_SCRATCHPAD/screen2.png\")", + "Shell(bash e2e/run.sh flows/smoke.yaml 2 >& 1)", + "Shell(cd /Users/mohammedshafiuddin/WebDev/freshyo && \"$HOME/.maestro/bin/maestro\" hierarchy --platform android 2>/dev/null > \"$COMMANDCODE_SCRATCHPAD/hier.json\"; wc -c \"$COMMANDCODE_SCRATCHPAD/hier.json\"; echo \"=== occurrences ===\"; grep -o \"product-card\" \"$COMMANDCODE_SCRATCHPAD/hier.json\" | head -3; echo \"--- context around testID usages ---\"; grep -oE '\"(resource-id|content-desc|text|accessibilityText)\": \"[^\"]{0,40}\"' \"$COMMANDCODE_SCRATCHPAD/hier.json\" | sort | uniq -c | sort -rn | head -20)", + "Shell(cd /Users/mohammedshafiuddin/WebDev/freshyo && adb shell uiautomator dump /sdcard/ui.xml >/dev/null 2>&1; adb shell cat /sdcard/ui.xml > \"$COMMANDCODE_SCRATCHPAD/ui.xml\" 2>/dev/null; wc -c \"$COMMANDCODE_SCRATCHPAD/ui.xml\"; echo \"=== product-card? ===\"; grep -o \"product-card\" \"$COMMANDCODE_SCRATCHPAD/ui.xml\" | head -2; echo \"=== sample attrs ===\"; grep -oE 'content-desc=\"[^\"]{1,40}\"' \"$COMMANDCODE_SCRATCHPAD/ui.xml\" | sort -u | head -15; echo \"=== text sample ===\"; grep -oE 'text=\"[^\"]{2,40}\"' \"$COMMANDCODE_SCRATCHPAD/ui.xml\" | sort -u | head -20)", + "Shell(cd /Users/mohammedshafiuddin/WebDev/freshyo && adb shell am force-stop in.freshyo.app; adb shell monkey -p in.freshyo.app -c android.intent.category.LAUNCHER 1 >/dev/null 2>&1; sleep 16; adb shell uiautomator dump /sdcard/ui2.xml >/dev/null 2>&1; adb shell cat /sdcard/ui2.xml > \"$COMMANDCODE_SCRATCHPAD/ui2.xml\" 2>/dev/null; echo \"size: $(wc -c < \"$COMMANDCODE_SCRATCHPAD/ui2.xml\")\"; echo \"=== product-card occurrences ===\"; grep -c \"product-card\" \"$COMMANDCODE_SCRATCHPAD/ui2.xml\" || true; echo \"=== resource-id sample ===\"; grep -oE 'resource-id=\"[^\"]{1,50}\"' \"$COMMANDCODE_SCRATCHPAD/ui2.xml\" | sort -u | head -15; echo \"=== content-desc sample ===\"; grep -oE 'content-desc=\"[^\"]{2,40}\"' \"$COMMANDCODE_SCRATCHPAD/ui2.xml\" | sort -u | head -15)", + "Shell(cd /Users/mohammedshafiuddin/WebDev/freshyo && cat > \"$COMMANDCODE_SCRATCHPAD/probe2.yaml\" <<'YAML' appId: in.freshyo.app --- - assertVisible: id: \"product-card\" YAML \"$HOME/.maestro/bin/maestro\" test \"$COMMANDCODE_SCRATCHPAD/probe2.yaml\" --platform android 2>&1 | tail -6)", + "Shell(bash e2e/run.sh flows/place-order.yaml 2 >& 1)", + "Shell(cd /Users/mohammedshafiuddin/WebDev/freshyo && ls ~/.maestro/tests/2026-09-14_154602/place-order/screen-hierarchy/ 2>/dev/null; F=$(ls ~/.maestro/tests/2026-09-14_154602/place-order/screen-hierarchy/*Me* 2>/dev/null | head -1); echo \"file: $F\"; grep -oE '\"(text|accessibilityText|resource-id)\": \"[^\"]{1,30}\"' \"$F\" 2>/dev/null | sort -u | head -40)", + "Shell(mkdir:*)", + "Shell(node -e console.log('node sees NODE_ENV:', JSON.stringify(process.env.NODE_ENV)))", + "Shell(NODE_ENV=test bunx jest --config tests/jest.config.js tests/home-page/navigation.test.tsx 2 >& 1)", + "Shell(NODE_ENV=test bunx jest --config tests/jest.config.js tests/home-page/navigation.test.tsx -t routes to the slot view 2 >& 1)", + "Shell(node inspect.cjs)", + "Shell(node -e \" const s=require('/Users/mohammedshafiuddin/WebDev/freshyo/apps/user-ui/tests/mocks/mock-slots-response.json'); for (const id of [2,40,23]) { const idx = s.slots.findIndex(sl=>sl.products.some(p=>p.id===id)); const sl = s.slots[idx]; console.log('product', id, '-> slot index', idx, 'slotId', sl && sl.id, 'delivery', sl && sl.deliveryTime); } console.log('slot order:', s.slots.map(sl=>sl.id).join(',')); \")" ], "deny": [], "defaultMode": "default" diff --git a/.commandcode/taste/taste/taste.md b/.commandcode/taste/taste/taste.md index b261e42..47402b1 100644 --- a/.commandcode/taste/taste/taste.md +++ b/.commandcode/taste/taste/taste.md @@ -1,4 +1,6 @@ # Taste +- Wants each UI component/feature to own a dedicated test file rather than sharing one file across related features — explicitly asked for "a file exclusively for the floating cart bar tests", replacing the combined cart test file (deleting the superseded one and updating the README/index so there's exactly one file per component). Confidence: 0.6 +- For cart/price tests, expects the money and delivery logic to be verified with concrete, pinned fixture products and exact numbers: add exactly the named products, then assert the running total, the free-delivery threshold (remaining amount, then "unlocked"), the slot each item lands in, and that the total recomputes when quantity changes — rather than loosely computed expectations ("note some products, add exactly those products and confirm the free delivery threshold, confirm the total cost, confirm the slots, test the price on change of quantity too"). Confidence: 0.6 - Defines tunable/magic numbers as named module-level constants in the SAME file where they are used (e.g., `const TOKENS_PER_QUEUE_MESSAGE = 5` next to the code it configures, with a short explanatory comment) instead of inline literals or a shared/global config — explicitly stated: "Define 5 as a constant in the same file." Confidence: 0.7 - Prefers that the agent not run typechecks; instead, read the project's AGENTS.md for instructions on what to do/not do before finalizing work. Confidence: 0.9 - Judges completion by seeing the feature live in the running app ("I still don't see it on the /home route page"), so for data-driven features the agent must verify the app's actual runtime data source (API base URL, cache/backend) has the required data — not just that code builds and typechecks. Confirmed when the user signaled success only after the fix (pointing web-ui at the local backend with the tags data) made the section visible in the running app, and reconfirmed with the admin-ui product selector showing no products because it points at the production worker. Confidence: 0.9 @@ -96,7 +98,12 @@ er-ui/app/(drawer)/(tabs)/home/index.tsx, I want similar here") and expects the - When an analysis/audit has been produced for one app in the monorepo, expects the same analysis run for the sibling apps too — after the user-ui dead-code audit he immediately asked "now do the same for the @apps/admin-ui" — applying the identical exhaustive methodology and document style to each named app. Confidence: 0.85 - For analysis documents, expects a consistent naming pattern following the established convention (`user_ui_dpsk.md` → `admin_ui_dpsk.md`, i.e., `{app}_dpsk.md` at the repo root) rather than an ad-hoc filename — "make another md file with same naming pattern"; the `_dpsk.md` suffix also applies to cross-cutting topic analyses (e.g., `repeat_types_dpsk.md` for the repeated-types scan). Confidence: 0.9 - When commissioning a cross-cutting audit/analysis, expects the scan to span the entire monorepo in one pass — every app, the backend, AND the shared packages (e.g., "scan the entire @apps/user-ui/ @apps/admin-ui/ @apps/backend/ and also entire @packages/") — not just one app or one area. Confidence: 0.65 +- Wants change-log entries written to a specific, dedicated repo-root file rather than the generic `change-log.txt` — he directs the target filename explicitly ("write all change-log entries to backend-test-change-log.txt (at the repo root) instead of change-log.txt") and expects that choice to persist for subsequent entries. Confidence: 0.9 - Values type-level hygiene alongside runtime structures: wants repeated type declarations across the monorepo hunted down and classified (identical duplicates, near-identical/unifiable shapes, same-name-different-shape collisions) and documented in a report before any refactor, rather than fixing types piecemeal. Confidence: 0.6 +- Prefers **jest** as the runner for the repo's automated tests — when offered a choice between jest and a lighter/zero-dependency alternative (bun test), he deliberately chose jest (consistent with the existing `apps/user-ui` jest setup); the runner is a decided matter for him, not a default. Confidence: 0.6 +- Wants a distinct phase of **backend API/integration testing that drives the real running HTTP API** — create a record via one endpoint, then read it back (e.g. place an order, then fetch orders to prove it was created) — rather than relying only on network-mocked component tests: "I want to automate the backend testing. I want to call various apis and test." Confidence: 0.75 +- For backend API tests, targets a **locally running backend (wrangler dev) with the base URL overridable via an env var** (`API_BASE_URL`) instead of hard-coding the URL or pointing at a deployed environment. Confidence: 0.55 +- Prefers test preconditions/fixtures to be **created through the public API** (staff login → create store → product/SKU → slot → register a throwaway user → address) rather than direct DB inserts, and to **leave the created data behind** after a run (no automatic cleanup), matching the existing Maestro flows. Confidence: 0.55 - Requires the parallel DB-helper packages (db_helper_sqlite and db_helper_postgres) to not duplicate type definitions: they must share one canonical set of types and emit exactly the same data shape, since they represent the same business entities on different backends — stated directly: "they shouldn't duplicate types. They should emit exactly same type of data. They should share the types." Confidence: 0.9 @@ -124,6 +131,25 @@ er-ui/app/(drawer)/(tabs)/home/index.tsx, I want similar here") and expects the - Prefers that disruptive user-facing dialogs be reserved for genuinely important events: the OTA update prompt should NOT be shown for every update — only for a few crucial releases ("I don't want to show this for all the updates. Only a few updates are so important"), while routine updates apply silently in the background. Confidence: 0.7 - Uses "quantity" loosely to refer to the pack size / unit notation on order items: he reported "we aren't showing quantity" about a row that already rendered the numeric count, then clarified "yeah, show the pack size" — so when he says a quantity isn't shown, check whether he actually means the unit/pack-size notation is missing. Confidence: 0.55 - For new operational switches/flags, prefers a backend constant in the admin-editable constants store (CONST_KEYS + seed + exposed via essentialConsts, editable in Customize App) over build/publish-time config (e.g. an `expo.extra` flag in app.json) or hardcoding — chosen when offered the trade-off ("let's introduce a new constant"), because it can be changed remotely with no rebuild or republish. Confidence: 0.6 +- Dislikes long lists of CLI flags for supplying run-time/test values and asks for a "better way" ("isn't there a better way to supply the values"). Expects values supplied declaratively: non-secret defaults committed in a config file (e.g. Maestro `config.yaml` `env:` block), secrets in a gitignored `.env`-style file, and a thin wrapper/runner script wired to a single package-manager entry point (`bun run e2e`) so one short command runs everything — with extra flags still passable through. Secrets should never be passed inline on the command line or committed. Confidence: 0.7 +- When he doubts the current approach ("isn't there a better way"), expects the agent to actually research the tool's documented capabilities (check `--help`, official docs) before proposing alternatives, rather than answering from memory. Confidence: 0.6 +- For mobile app E2E testing, wants Android ONLY and never iOS — stated explicitly: "I want to test only on android. Never on ios." The test runner/harness should be wired so it can never target an iOS simulator (e.g., pin the Android package id and always pass `--platform android`), rather than auto-detecting the platform from booted devices. Confidence: 0.9 +- For React Native / Expo mobile E2E automation, prefers **Maestro** (not Detox/Appium), with its flow configs in a folder at the repo ROOT named `e2e/` — "I want test end to end test automation with maestro. have a folder at the root named e2e" — mirroring his `tests/`-at-root convention for Playwright. Expects the tool's own YAML workspace layout inside it (`config.yaml`, `flows/`, reusable `subflows/`), not per-app test dirs. Confidence: 0.85 +- Wants E2E flows to take the shortest realistic user path and skip unnecessary intermediate screens — e.g., add to the cart directly from the home product card's cart icon instead of opening the product-detail screen first ("don't open any product detail. Just click on the cart icon of any product, then go to the cart page and then place order"). Confidence: 0.5 +- When he pastes a runtime error/log (e.g., a tRPC/D1 `Failed query: select ... from "key_val_store"` 500), he asks for an explanation first — "what does this error mean. Why am I seeing it" — expecting the agent to investigate and explain the root cause (local D1 state, migrations/config) before changing any code, not to jump straight to a fix. Confidence: 0.5 +- Wants a markdown file placed INSIDE the test directory (e.g. `apps/user-ui/tests/home-page/README.md`) that enumerates every test case covered — all cases grouped by test file with the per-file count and a one-line "what it asserts" for each, plus how to run the suite and the folder layout ("now make an md file in the dir which lists all the test cases which we've covered"). Coverage documentation should live with the tests it describes, not only in a central report. Confidence: 0.65 +- Groups unit/integration tests by the page or feature they cover into a dedicated subfolder inside the app's `tests/` directory — e.g., `apps/user-ui/tests/home-page/` holding that page's test files while shared mocks/fixtures stay at the `tests/` root ("create a folder home page and then move the tests of that page in it"). Confidence: 0.7 +- When adding coverage, expects the agent to determine and state explicitly whether any additional API mock responses are needed for the new tests — reusing/extending the existing mock infrastructure (variants of already-mocked endpoints, local storage for the cart) rather than adding unnecessary new mocks ("Do we need mock response of any other apis?"). Confidence: 0.6 +- Expects EVERY page and EVERY component of an app to be covered by tests — not a sample — and wants tests organized by concern into separate folders under the app's `tests/` directory, including a dedicated folder for components ("I want every page and every component tested. If needed create separate test folder for components too"). Reconfirms by objecting to any leftover uncovered surface and demanding full coverage before stopping ("why are you leaving things uncovered. Cover all the things."). Confidence: 0.88 +- When a button/control in the UI triggers a network call, expects a test case that explicitly asserts the API was invoked — "When buttons which trigger api calls are clicked, write an expected case for the api to be called" — treating the call assertion as a required part of coverage, not optional. Confidence: 0.85 +- Wants a canonical test-case document kept PER PROJECT named exactly `test-case-info.md`, listing every covered test case ("Keep an md file per project which lists down the test cases. Call it test-case-info.md"); uses the specified filename verbatim rather than an ad-hoc one. Wants it to enumerate EVERY individual case rather than summarize — "I want the test-case-info.md to list all the cases we have" — grouped by area then test file, each file its own section with a per-file count, and one row per case giving the test name and what it asserts (including the API procedure each mutating case pins down), with the counts reconciling to the suite total. Confidence: 0.8 +- Wants test mocks to mirror the REAL backend's data shape and format — points the agent at the backend app (`Look at the @apps/backend for the data shape and format`) and expects mock payloads derived from the actual routers/types/schemas rather than invented structures. Confidence: 0.7 +- On long, already-scoped/approved tasks, wants the agent to run straight through to completion autonomously and NOT pause for reviews or check-in approvals — explicitly: "continue. don't stop until you're done with all the tests. Don't ask for reviews." Progress checkpoints that ask "want me to continue, or pause for review?" are unwanted unless a genuine blocker/decision is hit. He equally rejects the agent parking in-scope work as "pending/remaining": when a checkpoint listed the still-to-cover items he pushed back — "why leave it pending. GO ahead and write it" — expecting the agent to keep writing the already-planned tests (product-detail, checkout, address components, remaining hooks) rather than stopping to enumerate a roadmap. Confidence: 0.9 + +- For credential-gated work, wants to supply the credentials himself and not paste secrets into the chat: he asks the agent to scaffold a blank template (committed `.env.example` + git-ignored `.env`) and he fills in the real values ("I'll provide the creds for both the apps"). Expects the agent to then authenticate with those credentials — "you then need to login, get the tokens and then move ahead" — i.e. log in once, obtain the tokens (staff and user) and reuse the issued tokens for the rest of the flow rather than re-authenticating per call or hard-coding/committing secrets. Confirmed again when he filled the git-ignored `apps/backend/tests/.env` himself and handed control back ("I've populated the .env file") rather than pasting the values into the chat. Confidence: 0.68 +- When he asks where/why some behavior lives ("where are we creating the product. show me the test code of it"), expects the answer to show the ACTUAL code — the exact file path, the function that performs the action, and the relevant snippet — not just a prose description of the flow or a high-level summary. Confidence: 0.55 +- For feature coverage, expects the test to span roles end-to-end: exercise the admin/staff CRUD (create → read-back → update → delete) and THEN drive the same entity from the user's end to prove it actually takes effect — e.g. create a coupon as staff, then pass its id to the user's `placeOrder` and assert the order reflects the discount, and that deleting it drops it from eligibility and gets rejected on apply. Stated as "I want to test coupon crud, I then want to test it too. Apply it from user's end for an order." Prefers this combined admin-CRUD-plus-user-application flow in a single suite over an admin-only CRUD test. Confidence: 0.72 +- Excludes flows that depend on real third-party services from automated test scope — payment-gateway flows (Razorpay-signed payloads) and OTP/SMS login are deliberately left out, while everything else must be covered. Repeats the exclusion across requests ("don't test payments, OTP Login do the rest"; "except the OTP, payments test rest all of the thingss"), treating untestable external-service paths as an accepted gap rather than investing in mocks/bypasses. Confidence: 0.6 e changes. Confidence: 0.95 er-ui/app/(drawer)/(tabs)/home/index.tsx, I want similar here") and expects the agent to mirror that pattern exactly, including details like item counts and container styling. Confidence: 0.9 als) rather than introducing new brand palettes; approval of a redesign's layout/composition does not imply approval of color or theme changes. Confidence: 0.95 @@ -142,3 +168,6 @@ er-ui/app/(drawer)/(tabs)/home/index.tsx, I want similar here") and expects the y, including details like item counts and container styling. Confidence: 0.9 tes; approval of a redesign's layout/composition does not imply approval of color or theme changes. Confidence: 0.95 er-ui/app/(drawer)/(tabs)/home/index.tsx, I want similar here") and expects the agent to mirror that pattern exactly, including details like item counts and container styling. Confidence: 0.9 +0.9 +ence: 0.9 +0.9 diff --git a/.gitignore b/.gitignore index 42935ab..7551f1d 100644 --- a/.gitignore +++ b/.gitignore @@ -132,4 +132,12 @@ dist .pnp.* -type-clusters/* \ No newline at end of file +type-clusters/* + + + +apps/user-ui/android/ +apps/admin-ui/android/ +.maestro-output/* + +apps/admin-ui/.expo/cache/* \ No newline at end of file diff --git a/AGENTS.md b/AGENTS.md index feff7cb..349183f 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -2,6 +2,7 @@ ## Important instructions - Don't run any drizzle migrations. User will handle it. +- don't try to run any test from the suite unless user explicitly asks for ## Code Style Guidelines diff --git a/apps/admin-ui/app.json b/apps/admin-ui/app.json index 7ec259a..ba0b510 100644 --- a/apps/admin-ui/app.json +++ b/apps/admin-ui/app.json @@ -1,6 +1,6 @@ { "expo": { - "name": "Symbuyote Admin", + "name": "Freshyo Admin", "slug": "freshyoadmin", "version": "1.0.0", "orientation": "portrait", @@ -62,9 +62,10 @@ "foregroundImage": "./assets/images/symbuyoteadmin.png", "backgroundColor": "#fff0f6" }, - "edgeToEdgeEnabled": true, - "package": "in.freshyo.adminui", - "intentFilters": [ + "edgeToEdgeEnabled": true, + "package": "in.freshyo.adminui", + "googleServicesFile": "./google-services.json", + "intentFilters": [ { "action": "VIEW", "autoVerify": true, @@ -95,8 +96,9 @@ "backgroundColor": "#ffffff" } ], - "expo-secure-store" - ], + "expo-secure-store", + "expo-notifications" + ], "experiments": { "typedRoutes": true }, diff --git a/apps/admin-ui/app/(drawer)/dashboard/coupons/create.tsx b/apps/admin-ui/app/(drawer)/dashboard/coupons/create.tsx index 5474054..58e8228 100644 --- a/apps/admin-ui/app/(drawer)/dashboard/coupons/create.tsx +++ b/apps/admin-ui/app/(drawer)/dashboard/coupons/create.tsx @@ -9,20 +9,7 @@ export default function CreateCoupon() { const router = useRouter(); const createCoupon = trpc.admin.coupon.create.useMutation(); const createReservedCoupon = trpc.admin.coupon.createReservedCoupon.useMutation(); - const { refetch: refetchCoupons } = trpc.admin.coupon.getAll.useInfiniteQuery( - { limit: 20, search: '' }, - { - enabled: false, - getNextPageParam: (lastPage) => lastPage.nextCursor, - } - ) - const { refetch: refetchReservedCoupons } = trpc.admin.coupon.getReservedCoupons.useInfiniteQuery( - { limit: 20, search: '' }, - { - enabled: false, - getNextPageParam: (lastPage) => lastPage.nextCursor, - } - ) + const utils = trpc.useUtils(); const handleCreateCoupon = async (values: any) => { const { isReservedCoupon, couponCodes, ...rest } = values; @@ -47,8 +34,9 @@ export default function CreateCoupon() { const mutation = isReservedCoupon ? createReservedCoupon : createCoupon; try { await mutation.mutateAsync({ ...payload, couponCodes: codes }); - await refetchCoupons() - await refetchReservedCoupons() + // Invalidate by path so the list refreshes whatever search term it holds. + utils.admin.coupon.getAll.invalidate() + utils.admin.coupon.getReservedCoupons.invalidate() Alert.alert('Success', `${codes.length} coupon${codes.length > 1 ? 's' : ''} created successfully`, [ { text: 'OK', onPress: () => router.back() } ]); diff --git a/apps/admin-ui/app/(drawer)/dashboard/coupons/edit/[id].tsx b/apps/admin-ui/app/(drawer)/dashboard/coupons/edit/[id].tsx index 582fd90..9f54750 100644 --- a/apps/admin-ui/app/(drawer)/dashboard/coupons/edit/[id].tsx +++ b/apps/admin-ui/app/(drawer)/dashboard/coupons/edit/[id].tsx @@ -13,21 +13,8 @@ export default function EditCoupon() { const couponId = parseInt(id as string); const { data: coupon, isLoading, refetch } = trpc.admin.coupon.getById.useQuery({ id: couponId }); - const { refetch: refetchCoupons } = trpc.admin.coupon.getAll.useInfiniteQuery( - { limit: 20, search: '' }, - { - enabled: false, - getNextPageParam: (lastPage) => lastPage.nextCursor, - } - ) - const { refetch: refetchReservedCoupons } = trpc.admin.coupon.getReservedCoupons.useInfiniteQuery( - { limit: 20, search: '' }, - { - enabled: false, - getNextPageParam: (lastPage) => lastPage.nextCursor, - } - ) const updateCoupon = trpc.admin.coupon.update.useMutation(); + const utils = trpc.useUtils(); const handleUpdateCoupon = (values: CreateCouponPayload & { isReservedCoupon?: boolean }) => { // Transform targetUsers array to targetUser for backend compatibility @@ -45,8 +32,9 @@ export default function EditCoupon() { updateCoupon.mutate({ id: couponId, updates }, { onSuccess: async () => { await refetch() - await refetchCoupons() - await refetchReservedCoupons() + // Invalidate by path so the list refreshes whatever search term it holds. + utils.admin.coupon.getAll.invalidate() + utils.admin.coupon.getReservedCoupons.invalidate() Alert.alert('Success', 'Coupon updated successfully', [ { text: 'OK', onPress: () => router.back() } ]); diff --git a/apps/admin-ui/app/(drawer)/dashboard/customize-app/all-items-order.tsx b/apps/admin-ui/app/(drawer)/dashboard/customize-app/all-items-order.tsx index 8e941ac..31ed02e 100644 --- a/apps/admin-ui/app/(drawer)/dashboard/customize-app/all-items-order.tsx +++ b/apps/admin-ui/app/(drawer)/dashboard/customize-app/all-items-order.tsx @@ -21,7 +21,6 @@ import { import { useRouter } from "expo-router"; import { trpc } from "../../../../src/trpc-client"; import MaterialIcons from "@expo/vector-icons/MaterialIcons"; -import { useQueryClient } from "@tanstack/react-query"; const { width: screenWidth } = Dimensions.get("window"); // Item takes full width minus padding @@ -88,7 +87,7 @@ const ProductItem: React.FC> = ({ export default function AllItemsOrder() { const router = useRouter(); - const queryClient = useQueryClient(); + const utils = trpc.useUtils(); const [products, setProducts] = useState([]); const [hasChanges, setHasChanges] = useState(false); @@ -177,7 +176,7 @@ export default function AllItemsOrder() { onSuccess: () => { setHasChanges(false); Alert.alert('Success', 'All items order updated successfully!'); - queryClient.invalidateQueries({ queryKey: ['const.getConstants'] }); + utils.admin.const.getConstants.invalidate(); }, onError: (error) => { Alert.alert('Error', 'Failed to update items order. Please try again.'); diff --git a/apps/admin-ui/app/(drawer)/dashboard/customize-app/index.tsx b/apps/admin-ui/app/(drawer)/dashboard/customize-app/index.tsx index 3b908b4..6a14429 100644 --- a/apps/admin-ui/app/(drawer)/dashboard/customize-app/index.tsx +++ b/apps/admin-ui/app/(drawer)/dashboard/customize-app/index.tsx @@ -28,6 +28,8 @@ const CONST_LABELS: Record = { isFlashDeliveryEnabled: 'Enable Flash Delivery', supportMobile: 'Support Mobile', supportEmail: 'Support Email', + internalAppVersion: 'Internal App Version', + welcomeMessage: 'Welcome Message', }; const CONST_VISIBILITY: Record = { @@ -36,20 +38,22 @@ const CONST_VISIBILITY: Record = { deliveryCharge: true, flashFreeDeliveryThreshold: true, flashDeliveryCharge: true, - platformFeePercent: true, + platformFeePercent: false, taxRate: false, - minOrderAmountForCoupon: true, + minOrderAmountForCoupon: false, maxCouponDiscount: false, - flashDeliverySlotId: true, + flashDeliverySlotId: false, readableOrderId: false, - versionNum: true, - playStoreUrl: true, - appStoreUrl: true, + versionNum: false, + playStoreUrl: false, + appStoreUrl: false, popularItems: true, allItemsOrder: true, isFlashDeliveryEnabled: true, supportMobile: true, supportEmail: true, + internalAppVersion: false, + welcomeMessage: true, tester: false, }; @@ -157,6 +161,23 @@ const ConstantInput: React.FC = ({ constantKey, value, setFi ); } + // Welcome message — multiline text area + if (constantKey === 'welcomeMessage') { + return ( + { + setFieldValue(fieldName, value) + }} + placeholder="Enter welcome message" + multiline + numberOfLines={4} + style={tw`min-h-24`} + /> + ); + } + // Default to string return ( = ({ export default function CustomizePopularItems() { const router = useRouter(); - const queryClient = useQueryClient(); + const utils = trpc.useUtils(); const [popularProducts, setPopularProducts] = useState([]); const [hasChanges, setHasChanges] = useState(false); const [showAddDialog, setShowAddDialog] = useState(false); @@ -211,7 +210,7 @@ export default function CustomizePopularItems() { onSuccess: () => { setHasChanges(false); Alert.alert('Success', 'Popular items updated successfully!'); - queryClient.invalidateQueries({ queryKey: ['const.getConstants'] }); + utils.admin.const.getConstants.invalidate(); }, onError: (error) => { Alert.alert('Error', 'Failed to update popular items. Please try again.'); diff --git a/apps/admin-ui/app/(drawer)/dashboard/dashboard-banners/edit/[id].tsx b/apps/admin-ui/app/(drawer)/dashboard/dashboard-banners/edit/[id].tsx index cdbc9e0..8e1feaf 100644 --- a/apps/admin-ui/app/(drawer)/dashboard/dashboard-banners/edit/[id].tsx +++ b/apps/admin-ui/app/(drawer)/dashboard/dashboard-banners/edit/[id].tsx @@ -36,6 +36,7 @@ export default function EditBanner() { enabled: false, }); const [banner, setBanner] = useState(undefined); + const utils = trpc.useUtils(); useEffect(() => { @@ -105,6 +106,8 @@ export default function EditBanner() { }); await refetchBanners() + // This screen renders getBanner (and mirrors it into local state). + utils.admin.banner.getBanner.invalidate(); Alert.alert('Success', 'Banner updated successfully', [ { text: 'OK', diff --git a/apps/admin-ui/app/(drawer)/dashboard/dashboard-banners/index.tsx b/apps/admin-ui/app/(drawer)/dashboard/dashboard-banners/index.tsx index 6d68a57..596b34d 100644 --- a/apps/admin-ui/app/(drawer)/dashboard/dashboard-banners/index.tsx +++ b/apps/admin-ui/app/(drawer)/dashboard/dashboard-banners/index.tsx @@ -148,6 +148,9 @@ export default function DashboardBanners() { serialNum: null }); + // getBanners carries the serialNum -> slot labels this list renders. + refetch(); + // Update local state setSlotAssignments(prev => ({ ...prev, diff --git a/apps/admin-ui/app/(drawer)/dashboard/index.tsx b/apps/admin-ui/app/(drawer)/dashboard/index.tsx index fbc31b9..582363b 100644 --- a/apps/admin-ui/app/(drawer)/dashboard/index.tsx +++ b/apps/admin-ui/app/(drawer)/dashboard/index.tsx @@ -29,6 +29,8 @@ const MenuItemComponent: React.FC = ({ item, router }) = return ( item.onPress ? item.onPress() : router.push(item.route as any)} style={({ pressed }) => [ tw`flex-row items-center p-4 bg-white border border-gray-100 rounded-xl mb-3 shadow-sm`, @@ -108,6 +110,7 @@ export default function Dashboard() { description: 'Create a new product listing', route: '/(drawer)/dashboard/products/add', category: 'quick', + testID: 'add-product-menu-item', iconColor: theme.colors.brand500, iconBg: theme.colors.brand50, }, diff --git a/apps/admin-ui/app/(drawer)/dashboard/manage-orders/delivery-sequences/index.tsx b/apps/admin-ui/app/(drawer)/dashboard/manage-orders/delivery-sequences/index.tsx index 5013288..cec7bf1 100644 --- a/apps/admin-ui/app/(drawer)/dashboard/manage-orders/delivery-sequences/index.tsx +++ b/apps/admin-ui/app/(drawer)/dashboard/manage-orders/delivery-sequences/index.tsx @@ -46,6 +46,7 @@ interface OrderWithSequence { adminNotes?: string | null; customerName?: string | null; assignedUserName?: string | null; + isFirstOrder?: boolean; } interface SlotProgressProps { @@ -449,6 +450,10 @@ export default function DeliverySequences() { onSuccess: () => { setHasSequenceChanged(false); Alert.alert("Success", "Delivery sequence updated successfully"); + // The saved sequence lives in getDeliverySequence / getSlotOrders, both of which + // stay mounted on this screen. + refetchSequence(); + refetchOrders(); }, onError: (error: any) => { Alert.alert( @@ -718,6 +723,7 @@ export default function DeliverySequences() { adminNotes: selectedOrder?.adminNotes || null, latitude: selectedOrder?.latitude || null, longitude: selectedOrder?.longitude || null, + isFirstOrder: selectedOrder?.isFirstOrder ?? false, }} onViewDetails={() => { if (selectedOrder) { @@ -763,7 +769,10 @@ export default function DeliverySequences() { setShowOrderMenu(false); setCancelDialogOpen(true); }} - onAttachLocation={() => {}} + onAttachLocation={() => { + refetchOrders(); + refetchSequence(); + }} onWhatsApp={() => {}} onDial={() => {}} /> diff --git a/apps/admin-ui/app/(drawer)/dashboard/manage-orders/order-details/[id].tsx b/apps/admin-ui/app/(drawer)/dashboard/manage-orders/order-details/[id].tsx index 84e17f6..03a693a 100644 --- a/apps/admin-ui/app/(drawer)/dashboard/manage-orders/order-details/[id].tsx +++ b/apps/admin-ui/app/(drawer)/dashboard/manage-orders/order-details/[id].tsx @@ -48,6 +48,7 @@ export default function OrderDetails() { : "N/A" }` ); + refetch(); setGenerateCouponDialogOpen(false); }, onError: (error: any) => { @@ -66,6 +67,7 @@ export default function OrderDetails() { `Refund initiated successfully!\n\nAmount: ` // `Refund initiated successfully!\n\nAmount: ₹${result.amount}\nStatus: ${result.status}` ); + refetch(); setInitiateRefundDialogOpen(false); }, onError: (error: any) => { diff --git a/apps/admin-ui/app/(drawer)/dashboard/manage-orders/orders/index.tsx b/apps/admin-ui/app/(drawer)/dashboard/manage-orders/orders/index.tsx index b733918..a286478 100644 --- a/apps/admin-ui/app/(drawer)/dashboard/manage-orders/orders/index.tsx +++ b/apps/admin-ui/app/(drawer)/dashboard/manage-orders/orders/index.tsx @@ -366,6 +366,7 @@ const OrderItem = ({ order, refetch }: { order: OrderType; refetch: () => void } latitude: order.latitude, longitude: order.longitude, status: order.status, + isFirstOrder: order.isFirstOrder, }} onViewDetails={handleMenuOption} onTogglePackaged={() => handleMarkPackaged(!order.isPackaged)} diff --git a/apps/admin-ui/app/(drawer)/dashboard/product-tags/edit/index.tsx b/apps/admin-ui/app/(drawer)/dashboard/product-tags/edit/index.tsx index 8750046..af9e0ae 100644 --- a/apps/admin-ui/app/(drawer)/dashboard/product-tags/edit/index.tsx +++ b/apps/admin-ui/app/(drawer)/dashboard/product-tags/edit/index.tsx @@ -23,6 +23,7 @@ export default function EditTag() { enabled: false, }); const updateTag = trpc.admin.product.updateProductTag.useMutation(); + const utils = trpc.useUtils(); const { data: storesData } = trpc.admin.store.getStores.useQuery(); const { upload, isUploading } = useUploadToObjectStorage(); @@ -59,6 +60,8 @@ export default function EditTag() { }) await refetchTags() + // The detail query this screen was seeded from is not the list. + utils.admin.product.getProductTagById.invalidate(); Alert.alert('Success', 'Tag updated successfully', [ { text: 'OK', diff --git a/apps/admin-ui/app/(drawer)/dashboard/product-tags/order.tsx b/apps/admin-ui/app/(drawer)/dashboard/product-tags/order.tsx index 8b82d5c..d783c16 100644 --- a/apps/admin-ui/app/(drawer)/dashboard/product-tags/order.tsx +++ b/apps/admin-ui/app/(drawer)/dashboard/product-tags/order.tsx @@ -20,7 +20,6 @@ import { import { useRouter } from 'expo-router'; import { trpc } from '../../../../src/trpc-client'; import MaterialIcons from '@expo/vector-icons/MaterialIcons'; -import { useQueryClient } from '@tanstack/react-query'; import type { DragOrderItemProps } from '@/types/drag-order-item'; const { width: screenWidth } = Dimensions.get('window'); @@ -79,7 +78,7 @@ const TagItem: React.FC> = ({ item, drag, isActive }) => export default function TagOrders() { const router = useRouter(); - const queryClient = useQueryClient(); + const utils = trpc.useUtils(); const [tags, setTags] = useState([]); const [hasChanges, setHasChanges] = useState(false); @@ -166,7 +165,7 @@ export default function TagOrders() { onSuccess: () => { setHasChanges(false); Alert.alert('Success', 'Tag order updated successfully!'); - queryClient.invalidateQueries({ queryKey: ['const.getConstants'] }); + utils.admin.const.getConstants.invalidate(); }, onError: (error) => { Alert.alert('Error', 'Failed to update tag order. Please try again.'); diff --git a/apps/admin-ui/app/(drawer)/dashboard/products/add.tsx b/apps/admin-ui/app/(drawer)/dashboard/products/add.tsx index e227458..e728976 100644 --- a/apps/admin-ui/app/(drawer)/dashboard/products/add.tsx +++ b/apps/admin-ui/app/(drawer)/dashboard/products/add.tsx @@ -1,10 +1,19 @@ import React from 'react' -import { Alert } from 'react-native' -import { AppContainer, ImageUploaderNeoPayload } from 'common-ui' +import { Alert, View } from 'react-native' +import { ImageUploaderNeoPayload, tw } from 'common-ui' import ProductForm from '@/src/components/ProductForm' import { trpc } from '@/src/trpc-client' import { useUploadToObjectStorage } from '@/hooks/useUploadToObjectStore' +// SKUs store bucket-relative object keys, not URLs. Drop the query string and +// keep the last two path segments: +// https://.r2.cloudflarestorage.com/meatfarmer-dev/product-images/1.jpg?X-Amz-... +// -> product-images/1.jpg +const toImageKey = (url: string): string => { + const parts = url.split('?')[0].split('/').filter(Boolean) + return parts.slice(-2).join('/') +} + export default function AddProduct() { const createProduct = trpc.admin.product.createProduct.useMutation() const { refetch: refetchProducts } = trpc.admin.product.getProducts.useQuery(undefined, { @@ -63,7 +72,8 @@ export default function AddProduct() { let urlCursor = 0 const skus = values.variants.map((variant: any, vIndex: number) => { const count = imageCounts[vIndex] - const variantUrls = allUploadUrls.slice(urlCursor, urlCursor + count) + // Send keys, not the presigned URLs. + const variantUrls = allUploadUrls.slice(urlCursor, urlCursor + count).map(toImageKey) urlCursor += count return { @@ -129,13 +139,13 @@ export default function AddProduct() { } return ( - + - + ) } diff --git a/apps/admin-ui/app/(drawer)/dashboard/products/detail/[id].tsx b/apps/admin-ui/app/(drawer)/dashboard/products/detail/[id].tsx index b394fc9..4f3095c 100644 --- a/apps/admin-ui/app/(drawer)/dashboard/products/detail/[id].tsx +++ b/apps/admin-ui/app/(drawer)/dashboard/products/detail/[id].tsx @@ -26,6 +26,7 @@ const ReviewResponseForm: React.FC = ({ reviewId, onClo const [displayImages, setDisplayImages] = useState<{ uri?: string }[]>([]); const respondToReview = trpc.admin.product.respondToReview.useMutation(); + const utils = trpc.useUtils(); const { upload } = useUploadToObjectStorage(); const handleImagePick = usePickImage({ @@ -74,6 +75,8 @@ const ReviewResponseForm: React.FC = ({ reviewId, onClo uploadUrls: presignedUrls, }); + // The parent screen's reviews list stays mounted behind this dialog, so refresh it. + utils.admin.product.getProductReviews.invalidate(); Alert.alert('Success', 'Response submitted'); onClose(); setAdminResponse(''); diff --git a/apps/admin-ui/app/(drawer)/dashboard/products/edit.tsx b/apps/admin-ui/app/(drawer)/dashboard/products/edit.tsx index ac72345..8fd400e 100644 --- a/apps/admin-ui/app/(drawer)/dashboard/products/edit.tsx +++ b/apps/admin-ui/app/(drawer)/dashboard/products/edit.tsx @@ -6,6 +6,15 @@ import ProductForm, { ProductFormRef } from '@/src/components/ProductForm'; import { trpc } from '@/src/trpc-client'; import { useUploadToObjectStorage } from '@/hooks/useUploadToObjectStore'; +// SKUs store bucket-relative object keys, not URLs. Drop the query string and +// keep the last two path segments: +// https://.r2.cloudflarestorage.com/meatfarmer-dev/product-images/1.jpg?X-Amz-... +// -> product-images/1.jpg +const toImageKey = (url: string): string => { + const parts = url.split('?')[0].split('/').filter(Boolean) + return parts.slice(-2).join('/') +} + export default function EditProduct() { const { id } = useLocalSearchParams(); const productId = Number(id); @@ -140,9 +149,10 @@ export default function EditProduct() { // Existing images (mimeType === null) stay as-is const existingUrls = variantImages[vIndex] ?.filter((img) => img.mimeType === null) - .map((img) => img.url) || [] + .map((img) => toImageKey(img.url)) || [] - const allUrls = [...existingUrls, ...newUrls] + // Send keys, not URLs — the SKU stores the bucket-relative object key. + const allUrls = [...existingUrls, ...newUrls.map(toImageKey)] return { id: variant.id, @@ -209,7 +219,7 @@ export default function EditProduct() { } return ( - + - + ); } diff --git a/apps/admin-ui/app/(drawer)/dashboard/products/index.tsx b/apps/admin-ui/app/(drawer)/dashboard/products/index.tsx index cae5b19..4dd80e9 100644 --- a/apps/admin-ui/app/(drawer)/dashboard/products/index.tsx +++ b/apps/admin-ui/app/(drawer)/dashboard/products/index.tsx @@ -1,9 +1,9 @@ -import React, { useState, useMemo } from 'react'; -import { View, TouchableOpacity, RefreshControl } from 'react-native'; +import React, { useState, useMemo, useCallback } from 'react'; +import { View, TouchableOpacity } from 'react-native'; import { Image } from 'expo-image'; import { useRouter } from 'expo-router'; import MaterialIcons from '@expo/vector-icons/MaterialIcons'; -import { AppContainer, MyText, tw, MyButton, useManualRefresh, SearchBar, useMarkDataFetchers, MyFlatList } from 'common-ui'; +import { MyText, tw, MyButton, useManualRefresh, SearchBar, useMarkDataFetchers, MyFlatList } from 'common-ui'; import { trpc } from '@/src/trpc-client'; import { SuccessToast, ErrorToast } from '@/services/toaster'; @@ -13,15 +13,130 @@ type FilterType = 'all' | 'in-stock' | 'out-of-stock'; type SerializedAdminSku = Omit & { createdAt: string | Date } -function getDefaultSku(product: { skus: SerializedAdminSku[] }): SerializedAdminSku | null { +function getDefaultSku(product: { skus?: SerializedAdminSku[] }): SerializedAdminSku | null { return product.skus?.[0] ?? null } +function FilterButton({ + filter, + label, + count, + activeFilter, + onSelect, +}: { + filter: FilterType + label: string + count: number + activeFilter: FilterType + onSelect: (filter: FilterType) => void +}) { + const isActive = activeFilter === filter + return ( + onSelect(filter)} + style={tw`px-4 py-2 rounded-lg ${isActive ? 'bg-blue-500' : 'bg-gray-200'}`} + > + + {label} ({count}) + + + ) +} + +type ProductRowProps = { + product: any + isToggling: boolean + onView: (productId: number) => void + onEdit: (productId: number) => void + onToggle: (product: { id: number }) => void +} + +const ProductRow = React.memo(function ProductRow({ product, isToggling, onView, onEdit, onToggle }: ProductRowProps) { + const defaultSku = getDefaultSku(product) + const skuImages = defaultSku?.images ?? null + const isOut = defaultSku?.isOutOfStock ?? false + + return ( + + {/* Product Image */} + {skuImages && skuImages.length > 0 ? ( + + ) : ( + + + + )} + + {/* Product Info */} + + + + {product.name} + + + + + {isOut ? 'Out' : 'In'} + + + + + {product.shortDescription && ( + + {product.shortDescription} + + )} + + + + {product.skus?.length ?? 0} Variants + + + + {/* Action Buttons */} + + onView(product.id)} + style={tw`flex-1 bg-gray-500 p-3 rounded-lg flex-row items-center justify-center`} + > + + View + + + onEdit(product.id)} + style={tw`flex-1 bg-blue-500 p-3 rounded-lg flex-row items-center justify-center`} + > + + Edit + + + onToggle(product)} + disabled={isToggling} + style={tw`flex-1 ${isOut ? 'bg-green-500' : 'bg-orange-500'} p-3 rounded-lg flex-row items-center justify-center ${isToggling ? 'opacity-50' : ''}`} + > + + + {isOut ? 'Stock' : 'Out'} + + + + + + ) +}) + export default function Products() { const router = useRouter(); const [searchTerm, setSearchTerm] = useState(''); const [activeFilter, setActiveFilter] = useState('all'); - const [refreshing, setRefreshing] = useState(false); const { data: productsData, isLoading, error, refetch } = trpc.admin.product.getProducts.useQuery(); @@ -43,18 +158,17 @@ export default function Products() { const products = productsData?.products || []; - const handleRefresh = async () => { - setRefreshing(true); + const handleRefresh = useCallback(async () => { await refetch(); - setRefreshing(false); - }; + }, [refetch]); const filteredProducts = useMemo(() => { + const term = searchTerm.toLowerCase(); return products.filter(product => { const defaultSku = getDefaultSku(product) - const matchesSearch = product.name.toLowerCase().includes(searchTerm.toLowerCase()) || - (product.shortDescription?.toLowerCase().includes(searchTerm.toLowerCase())); + const matchesSearch = product.name.toLowerCase().includes(term) || + (product.shortDescription?.toLowerCase().includes(term)); const matchesFilter = activeFilter === 'all' || (activeFilter === 'in-stock' && !defaultSku?.isOutOfStock) || @@ -64,64 +178,47 @@ export default function Products() { }); }, [products, searchTerm, activeFilter]); - const handleEdit = (productId: number) => { - router.push(`/(drawer)/dashboard/products/edit?id=${productId}` as any); - }; - - const handleViewDetails = (productId: number) => { - router.push(`/(drawer)/dashboard/products/detail/${productId}` as any); - }; - - const handleToggleStock = (product: { id: number }) => { - toggleOutOfStock.mutate({ id: product.id }); - }; - - const FilterButton = ({ filter, label, count }: { filter: FilterType; label: string; count: number }) => ( - setActiveFilter(filter)} - style={tw`px-4 py-2 rounded-lg ${activeFilter === filter ? 'bg-blue-500' : 'bg-gray-200'}`} - > - - {label} ({count}) - - + const inStockCount = useMemo( + () => products.filter(p => { const sku = getDefaultSku(p); return sku && !sku.isOutOfStock }).length, + [products] + ); + const outOfStockCount = useMemo( + () => products.filter(p => getDefaultSku(p)?.isOutOfStock).length, + [products] ); - if (isLoading) { - return ( - - - Loading products... - - - ); - } + const handleEdit = useCallback((productId: number) => { + router.push(`/(drawer)/dashboard/products/edit?id=${productId}` as any); + }, [router]); - if (error) { - return ( - - - Error loading products - refetch()} - style={tw`mt-4 bg-blue-500 px-4 py-2 rounded-lg`} - > - Retry - - - - ); - } + const handleViewDetails = useCallback((productId: number) => { + router.push(`/(drawer)/dashboard/products/detail/${productId}` as any); + }, [router]); - const inStockCount = products.filter(p => getDefaultSku(p) && !getDefaultSku(p)!.isOutOfStock).length; - const outOfStockCount = products.filter(p => getDefaultSku(p)?.isOutOfStock).length; + const handleToggleStock = useCallback((product: { id: number }) => { + toggleOutOfStock.mutate({ id: product.id }); + }, [toggleOutOfStock]); - const listHeader = ( + const handleSelectFilter = useCallback((filter: FilterType) => setActiveFilter(filter), []); + + const keyExtractor = useCallback((item: { id: number }) => item.id.toString(), []); + + const renderItem = useCallback(({ item: product }: { item: any }) => ( + + ), [toggleOutOfStock.isPending, toggleOutOfStock.variables?.id, handleViewDetails, handleEdit, handleToggleStock]); + + const listHeader = useMemo(() => ( <> {/* Header */} Products - router.push('/(drawer)/dashboard/products/add' as any)}> + router.push('/(drawer)/dashboard/products/add' as any)}> Add Product @@ -138,130 +235,72 @@ export default function Products() { {/* Filter Tabs */} - - - + + + - ); - - const renderItem = ({ item: product }: { item: any }) => { - const defaultSku = getDefaultSku(product) - const skuImages = defaultSku?.images ?? null - const isOut = defaultSku?.isOutOfStock ?? false + ), [products.length, inStockCount, outOfStockCount, searchTerm, activeFilter, handleSelectFilter, router]); + if (isLoading) { return ( - - {/* Product Image */} - {skuImages && skuImages.length > 0 ? ( - - ) : ( - - - - )} - - {/* Product Info */} - - - - {product.name} - - - - - {isOut ? 'Out' : 'In'} - - - - - {product.shortDescription && ( - - {product.shortDescription} - - )} - - - - {product.skus?.length ?? 0} Variants - - - - {/* Action Buttons */} - - handleViewDetails(product.id)} - style={tw`flex-1 bg-gray-500 p-3 rounded-lg flex-row items-center justify-center`} - > - - View - - - handleEdit(product.id)} - style={tw`flex-1 bg-blue-500 p-3 rounded-lg flex-row items-center justify-center`} - > - - Edit - - - handleToggleStock(product)} - disabled={toggleOutOfStock.isPending && toggleOutOfStock.variables?.id === product.id} - style={tw`flex-1 ${isOut ? 'bg-green-500' : 'bg-orange-500'} p-3 rounded-lg flex-row items-center justify-center ${toggleOutOfStock.isPending && toggleOutOfStock.variables?.id === product.id ? 'opacity-50' : ''}`} - > - - - {isOut ? 'Stock' : 'Out'} - - - - + + Loading products... - ) - }; + ); + } + + if (error) { + return ( + + Error loading products + refetch()} + style={tw`mt-4 bg-blue-500 px-4 py-2 rounded-lg`} + > + Retry + + + ); + } return ( - - - item.id.toString()} - ListHeaderComponent={listHeader} - ListEmptyComponent={ - - - - {searchTerm || activeFilter !== 'all' ? 'No products match your filters' : 'No products found'} - - - {searchTerm || activeFilter !== 'all' ? 'Try adjusting your search or filters' : 'Start by adding your first product'} - - {(searchTerm || activeFilter !== 'all') && ( - { - setSearchTerm(''); - setActiveFilter('all'); - }} - style={tw`mt-4 bg-blue-500 px-4 py-2 rounded-lg`} - > - Clear Filters - - )} - - } - contentContainerStyle={tw`pb-4`} - showsVerticalScrollIndicator={false} - refreshControl={ - - } - /> - - + + + + + {searchTerm || activeFilter !== 'all' ? 'No products match your filters' : 'No products found'} + + + {searchTerm || activeFilter !== 'all' ? 'Try adjusting your search or filters' : 'Start by adding your first product'} + + {(searchTerm || activeFilter !== 'all') && ( + { + setSearchTerm(''); + setActiveFilter('all'); + }} + style={tw`mt-4 bg-blue-500 px-4 py-2 rounded-lg`} + > + Clear Filters + + )} + + } + contentContainerStyle={tw`p-4`} + showsVerticalScrollIndicator={false} + onRefresh={handleRefresh} + initialNumToRender={6} + maxToRenderPerBatch={8} + windowSize={5} + removeClippedSubviews + /> + ); } diff --git a/apps/admin-ui/app/(drawer)/dashboard/slots/index.tsx b/apps/admin-ui/app/(drawer)/dashboard/slots/index.tsx index 9ac862b..9c82636 100644 --- a/apps/admin-ui/app/(drawer)/dashboard/slots/index.tsx +++ b/apps/admin-ui/app/(drawer)/dashboard/slots/index.tsx @@ -1,7 +1,7 @@ import React, { useState } from 'react'; import { MaterialCommunityIcons, Entypo } from '@expo/vector-icons'; import { View, TouchableOpacity, FlatList, Alert, ActivityIndicator } from 'react-native'; -import { AppContainer, MyText, tw, MyFlatList , BottomDialog, MyTouchableOpacity, Checkbox } from 'common-ui'; +import { MyText, tw, MyFlatList , BottomDialog, MyTouchableOpacity, Checkbox } from 'common-ui'; import { trpc } from '@/src/trpc-client'; import { useRouter } from 'expo-router'; import dayjs from 'dayjs'; diff --git a/apps/admin-ui/app/(drawer)/dashboard/slots/slot-details.tsx b/apps/admin-ui/app/(drawer)/dashboard/slots/slot-details.tsx index 153f10f..9e762be 100644 --- a/apps/admin-ui/app/(drawer)/dashboard/slots/slot-details.tsx +++ b/apps/admin-ui/app/(drawer)/dashboard/slots/slot-details.tsx @@ -198,6 +198,7 @@ export default function SlotDetails() { {/* FAB for Edit Slot */} router.push(`/(drawer)/dashboard/slots/edit/${slot.id}` as any)} activeOpacity={0.95} style={{ position: 'absolute', bottom: 32, right: 24, zIndex: 100 }} diff --git a/apps/admin-ui/app/(drawer)/dashboard/stores/edit.tsx b/apps/admin-ui/app/(drawer)/dashboard/stores/edit.tsx index 7f63fb3..0f22117 100644 --- a/apps/admin-ui/app/(drawer)/dashboard/stores/edit.tsx +++ b/apps/admin-ui/app/(drawer)/dashboard/stores/edit.tsx @@ -17,11 +17,14 @@ export default function EditStore() { ); const updateStoreMutation = trpc.admin.store.updateStore.useMutation(); + const utils = trpc.useUtils(); const handleSubmit = (values: StoreFormData) => { updateStoreMutation.mutate({ id: storeId, ...values }, { onSuccess: (data) => { refetch(); + // The stores list is still mounted behind this screen. + utils.admin.store.getStores.invalidate(); Alert.alert('Success', data.message); router.push('/(drawer)/dashboard/stores' as any); }, diff --git a/apps/admin-ui/app/_layout.tsx b/apps/admin-ui/app/_layout.tsx index cc5a54d..f2d651e 100644 --- a/apps/admin-ui/app/_layout.tsx +++ b/apps/admin-ui/app/_layout.tsx @@ -1,25 +1,40 @@ import { QueryClientProvider } from "@tanstack/react-query"; import queryClient from "../utils/queryClient"; import { Stack } from "expo-router"; +import { LogBox } from "react-native"; import { StaffAuthProvider } from "@/components/context/staff-auth-context"; import { trpc, trpcClient } from "@/src/trpc-client"; import { SafeAreaView } from "react-native-safe-area-context"; import { RefreshProvider } from '../../../packages/ui/src/lib/refresh-context'; +import Toast from "react-native-toast-message"; +import { NotificationProvider } from "@/services/notif-service/notif-context"; +import NotifChecker from "@/services/notif-service/notif-checker"; + +// Silence dev warnings/errors in LogBox. The "Open debugger to view warnings" +// toast overlays the bottom of the UI and intercepts taps (e.g. the Add Slot +// FAB), which breaks E2E flows. +if (__DEV__) { + LogBox.ignoreAllLogs(true); +} export default function Layout() { return ( - - - - - + + + + + + + + + diff --git a/apps/admin-ui/components/OrderOptionsMenu.tsx b/apps/admin-ui/components/OrderOptionsMenu.tsx index d771738..996b52b 100644 --- a/apps/admin-ui/components/OrderOptionsMenu.tsx +++ b/apps/admin-ui/components/OrderOptionsMenu.tsx @@ -28,6 +28,7 @@ interface OrderOptionsMenuProps { latitude?: number | null; longitude?: number | null; status?: string; + isFirstOrder?: boolean; }; onViewDetails: () => void; onTogglePackaged: () => void; @@ -53,6 +54,8 @@ export function OrderOptionsMenu({ onDial, }: OrderOptionsMenuProps) { const updateAddressCoordsMutation = trpc.admin.order.updateAddressCoords.useMutation(); + const { data: constants } = trpc.admin.const.getConstants.useQuery(); + const welcomeMessage = constants?.find((c) => c.key === 'welcomeMessage')?.value; const handleAttachLocation = async () => { try { @@ -94,6 +97,17 @@ export function OrderOptionsMenu({ } }; + const handleWelcomeWhatsApp = () => { + const phone = extractPhone(order.address); + if (!phone) { + Alert.alert('No phone number found'); + return; + } + const message = welcomeMessage ? String(welcomeMessage) : ''; + const text = message ? `&text=${encodeURIComponent(message)}` : ''; + Linking.openURL(`whatsapp://send?phone=+91${phone}${text}`); + }; + const handleDial = () => { const phone = extractPhone(order.address); if (phone) { @@ -292,6 +306,30 @@ export function OrderOptionsMenu({ )} + {order.isFirstOrder && ( + { + handleWelcomeWhatsApp(); + onClose(); + }} + > + + + + + + Send Welcome Msg + + + First order — welcome the customer on WhatsApp + + + + + )} + { diff --git a/apps/admin-ui/components/ProductGroupForm.tsx b/apps/admin-ui/components/ProductGroupForm.tsx index 720384e..a5f0ae1 100644 --- a/apps/admin-ui/components/ProductGroupForm.tsx +++ b/apps/admin-ui/components/ProductGroupForm.tsx @@ -29,6 +29,7 @@ const ProductGroupForm: React.FC = ({ const createGroup = trpc.admin.product.createGroup.useMutation(); const updateGroup = trpc.admin.product.updateGroup.useMutation(); + const utils = trpc.useUtils(); const isEditing = !!group; @@ -67,6 +68,8 @@ const ProductGroupForm: React.FC = ({ product_ids: values.product_ids, }); } + // The groupings list/detail screens render getGroups. + utils.admin.product.getGroups.invalidate(); onSuccess(); } catch (error: any) { Alert.alert('Error', error.message || 'Failed to save group'); diff --git a/apps/admin-ui/components/ProductsSelector.tsx b/apps/admin-ui/components/ProductsSelector.tsx index 2741a34..3da9ca7 100644 --- a/apps/admin-ui/components/ProductsSelector.tsx +++ b/apps/admin-ui/components/ProductsSelector.tsx @@ -28,6 +28,7 @@ interface ProductsSelectorProps { selectedGroupIds?: number[]; onGroupChange?: (groupIds: number[]) => void; showGroups?: boolean; + testID?: string; } export default function ProductsSelector({ @@ -44,6 +45,7 @@ export default function ProductsSelector({ showGroups = true, selectedGroupIds = [], onGroupChange, + testID, }: ProductsSelectorProps) { const { data: skusData } = trpc.common.product.getAllSkusSummary.useQuery(); const allSkus: SkuSummary[] = skusData?.skus || []; @@ -147,6 +149,7 @@ export default function ProductsSelector({ )} { Alert.alert('Success', 'Slot updated successfully!'); + // Nothing else refreshes the slot list/detail the admin came from. + utils.admin.slots.invalidate(); onSlotAdded?.(); }, onError: (error: any) => { @@ -160,6 +163,7 @@ export default function SlotForm({ selectedGroupIds={values.selectedGroupIds} onGroupChange={(newGroupIds) => setFieldValue('selectedGroupIds', newGroupIds)} label="Select Products" + testID="slot-products-selector" placeholder="Select products for this slot" /> @@ -193,6 +197,7 @@ export default function SlotForm({ selectedGroupIds={snippet.groupIds || []} onGroupChange={(newGroupIds) => setFieldValue(`vendorSnippetList.${index}.groupIds`, newGroupIds)} label="Select Products" + testID="snippet-products-selector" placeholder="Select products for snippet" isDisabled={(sku) => !values.selectedSkuIds.includes(sku.id)} /> diff --git a/apps/admin-ui/google-services.json b/apps/admin-ui/google-services.json new file mode 100644 index 0000000..7e645d8 --- /dev/null +++ b/apps/admin-ui/google-services.json @@ -0,0 +1,48 @@ +{ + "project_info": { + "project_number": "535753078248", + "project_id": "freshyo-cefb2", + "storage_bucket": "freshyo-cefb2.firebasestorage.app" + }, + "client": [ + { + "client_info": { + "mobilesdk_app_id": "1:535753078248:android:a28dec271c1f916b38605d", + "android_client_info": { + "package_name": "in.freshyo.adminui" + } + }, + "oauth_client": [], + "api_key": [ + { + "current_key": "AIzaSyDW4w6vGDrZnkf8vgwdQObBLnT_iucs2H8" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [] + } + } + }, + { + "client_info": { + "mobilesdk_app_id": "1:535753078248:android:d00803550e29eb3238605d", + "android_client_info": { + "package_name": "in.freshyo.app" + } + }, + "oauth_client": [], + "api_key": [ + { + "current_key": "AIzaSyDW4w6vGDrZnkf8vgwdQObBLnT_iucs2H8" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [] + } + } + } + ], + "configuration_version": "1" +} \ No newline at end of file diff --git a/apps/admin-ui/hooks/useUploadToObjectStore.ts b/apps/admin-ui/hooks/useUploadToObjectStore.ts index 8327cfa..25c8ee7 100644 --- a/apps/admin-ui/hooks/useUploadToObjectStore.ts +++ b/apps/admin-ui/hooks/useUploadToObjectStore.ts @@ -43,9 +43,11 @@ export function useUploadToObjectStorage() { headers: { 'Content-Type': mimeType }, }); - if (!response.ok) { - throw new Error(`Upload ${index + 1} failed with status ${response.status}`); - } + if (!response.ok) { + const body = await response.text(); // … + console.error('upload failed', response.status, body); + throw new Error(`Upload ${index + 1} failed with status ${response.status}`); + } // Update progress setProgress(prev => prev ? { ...prev, completed: prev.completed + 1 } : null); diff --git a/apps/admin-ui/metro.config.js b/apps/admin-ui/metro.config.js index 8872a92..1546e0b 100755 --- a/apps/admin-ui/metro.config.js +++ b/apps/admin-ui/metro.config.js @@ -24,4 +24,15 @@ config.resolver.disableHierarchicalLookup = true; // This is crucial for web builds in a monorepo with expo-router config.resolver.entryExts = ['js', 'jsx', 'ts', 'tsx', 'mjs', 'cjs']; +// 5. Never bundle the Jest test folder (tests/). It lives outside app/, so it +// is not routed, but blocking it here makes an accidental production import +// fail loudly instead of silently shipping test code. +const escapeForRegExp = (value) => + value.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); + +config.resolver.blockList = [ + ...(config.resolver.blockList ? [].concat(config.resolver.blockList) : []), + new RegExp(`^${escapeForRegExp(path.resolve(projectRoot, 'tests'))}[/\\\\].*$`), +]; + module.exports = config; diff --git a/apps/admin-ui/package.json b/apps/admin-ui/package.json index a991b79..3e62abb 100644 --- a/apps/admin-ui/package.json +++ b/apps/admin-ui/package.json @@ -8,7 +8,10 @@ "android": "expo run:android", "ios": "expo run:ios", "web": "expo start --web", - "lint": "expo lint" + "lint": "expo lint", + "test": "jest --config tests/jest.config.js", + "test:watch": "jest --config tests/jest.config.js --watch", + "test:typecheck": "tsc --noEmit --project tsconfig.json" }, "dependencies": { "@expo/vector-icons": "^14.1.0", @@ -74,7 +77,13 @@ "@types/react-native-razorpay": "^2.2.6", "eslint": "^9.25.0", "eslint-config-expo": "~9.2.0", - "typescript": "~5.8.3" + "typescript": "~5.8.3", + "@testing-library/react-native": "^13", + "@types/jest": "^29", + "babel-preset-expo": "~13.0.0", + "jest": "~29.7.0", + "jest-expo": "~53.0.0", + "react-test-renderer": "19.0.0" }, "private": true } diff --git a/apps/admin-ui/services/notif-service/notif-checker.tsx b/apps/admin-ui/services/notif-service/notif-checker.tsx new file mode 100644 index 0000000..7ee18c7 --- /dev/null +++ b/apps/admin-ui/services/notif-service/notif-checker.tsx @@ -0,0 +1,73 @@ +import React from "react"; +import { useNotification } from "./notif-context"; +import { BottomDialog } from "common-ui"; +import { MyText } from "common-ui"; +import { View, Linking } from "react-native"; +import { tw } from "common-ui"; +import { MyButton } from "common-ui"; +import { useStaffAuth } from "@/components/context/staff-auth-context"; +import { trpc } from "@/src/trpc-client"; + +function NotifChecker() { + const [showPermissionDialog, setShowPermissionDialog] = React.useState(false); + + const { isLoggedIn } = useStaffAuth(); + const savePushTokenMutation = trpc.admin.staffUser.savePushToken.useMutation(); + const { notifPermission, expoPushToken } = useNotification(); + + React.useEffect(() => { + if (expoPushToken && notifPermission === 'granted' && isLoggedIn) { + savePushTokenMutation.mutate( + { token: expoPushToken }, + { + onError: (error) => { + console.error('Failed to save push token:', error); + }, + } + ); + } + }, [expoPushToken, notifPermission, isLoggedIn]); + + React.useEffect(() => { + if (notifPermission === "denied") { + setShowPermissionDialog(true); + } + }, [notifPermission]); + + return ( + setShowPermissionDialog(false)} + > + + + Notification Permission Denied + + + It seems you have denied notification permissions. Please enable + them in your device settings. + + + setShowPermissionDialog(false)} + style={tw`flex-1`} + > + Cancel + + { + Linking.openSettings(); + }} + style={tw`flex-1`} + > + Settings + + + + + ); +} + +export default NotifChecker; diff --git a/apps/admin-ui/services/notif-service/notif-context.tsx b/apps/admin-ui/services/notif-service/notif-context.tsx new file mode 100644 index 0000000..2643c6f --- /dev/null +++ b/apps/admin-ui/services/notif-service/notif-context.tsx @@ -0,0 +1,104 @@ +import React, { + createContext, + useContext, + useState, + useEffect, + useRef, +} from "react"; +import * as Notifications from "expo-notifications"; +import { registerForPushNotificationsAsync } from "./notif-register"; +import { useRouter } from "expo-router"; +import { NotificationToast } from "../toaster"; +import { NOTIF_PERMISSION_DENIED } from "common-ui/src/lib/const-strs"; +import type { ReactParentComponent } from '@packages/shared'; + +interface NotificationContextType { + expoPushToken: string | null; + notification: Notifications.Notification | null; + error: Error | null; + notifPermission: 'pending' | 'granted' | 'denied' +} + +export const NotificationContext = createContext< + NotificationContextType | undefined +>(undefined); + +export const useNotification = () => { + const context = useContext(NotificationContext); + if (context === undefined) { + throw new Error( + "useNotification must be used within a NotificationProvider" + ); + } + return context; +}; + +export const NotificationProvider: React.FC = ({ + children, +}) => { + const [expoPushToken, setExpoPushToken] = useState(null); + const [notification, setNotification] = + useState(null); + const [error, setError] = useState(null); + const [notifPermission, setNotifPermission] = React.useState("pending"); + + const notificationListener = useRef(null); + const responseListener = useRef(null); + const router = useRouter(); + + useEffect(() => { + registerForPushNotificationsAsync() + .then((token) => { + setExpoPushToken(token); + setNotifPermission("granted"); + }) + .catch((errorRaw) => { + const err = String(errorRaw).slice(7); // strip leading "Error: " + if (err === NOTIF_PERMISSION_DENIED) { + setNotifPermission("denied"); + } + }); + + notificationListener.current = + Notifications.addNotificationReceivedListener((notification) => { + setNotification(notification); + const content = notification.request?.content; + if (content) { + NotificationToast( + content.title || "Notification", + content.body || "", + content.data || {} + ); + } + }); + + responseListener.current = + Notifications.addNotificationResponseReceivedListener((response) => { + const data = response.notification.request.content.data; + if (data && data.orderId) { + router.push(`/(drawer)/dashboard/manage-orders/order-details/${data.orderId}` as any); + } else { + router.push("/(drawer)/dashboard" as any); + } + }); + + return () => { + if (notificationListener.current) { + Notifications.removeNotificationSubscription( + notificationListener.current + ); + } + if (responseListener.current) { + Notifications.removeNotificationSubscription(responseListener.current); + } + }; + }, []); + + return ( + + {children} + + ); +}; diff --git a/apps/admin-ui/services/notif-service/notif-register.ts b/apps/admin-ui/services/notif-service/notif-register.ts new file mode 100644 index 0000000..f1af410 --- /dev/null +++ b/apps/admin-ui/services/notif-service/notif-register.ts @@ -0,0 +1,47 @@ +import * as Notifications from "expo-notifications"; +import * as Device from "expo-device"; +import Constants from "expo-constants"; +import { Platform } from "react-native"; +import { NOTIF_PERMISSION_DENIED } from "common-ui/src/lib/const-strs"; + +export async function registerForPushNotificationsAsync() { + if (Platform.OS === "android") { + await Notifications.setNotificationChannelAsync("default", { + name: "default", + importance: Notifications.AndroidImportance.MAX, + vibrationPattern: [0, 250, 250, 250], + lightColor: "#FF231F7C", + }); + } + + if (Device.isDevice) { + const { status: existingStatus } = + await Notifications.getPermissionsAsync(); + let finalStatus = existingStatus; + if (existingStatus !== "granted") { + const { status } = await Notifications.requestPermissionsAsync(); + finalStatus = status; + } + + if (finalStatus !== "granted") { + throw new Error(NOTIF_PERMISSION_DENIED); + } + + const projectId = + Constants?.expoConfig?.extra?.eas?.projectId ?? + Constants?.easConfig?.projectId; + if (!projectId) { + throw new Error("Project ID not found"); + } + try { + const pushTokenString = ( + await Notifications.getExpoPushTokenAsync({ projectId }) + ).data; + return pushTokenString; + } catch (e: unknown) { + throw new Error(`${e}`); + } + } else { + throw new Error("Must use physical device for push notifications"); + } +} diff --git a/apps/admin-ui/src/components/ProductForm.tsx b/apps/admin-ui/src/components/ProductForm.tsx index 9873886..30d3818 100644 --- a/apps/admin-ui/src/components/ProductForm.tsx +++ b/apps/admin-ui/src/components/ProductForm.tsx @@ -253,8 +253,9 @@ const ProductForm = forwardRef(({ > {({ handleChange, handleSubmit, values, setFieldValue, validateForm }) => { return ( - + (({ style={{ marginBottom: 16 }} /> (({ style={{ marginBottom: 16 }} /> (({ style={{ marginBottom: 16 }} /> (({ /> (({ Variants { push(defaultVariant()) setVariantImages((prev) => [...prev, []]) @@ -335,6 +341,7 @@ const ProductForm = forwardRef(({ {(values.variants.length > 1 || isExistingSku) && ( { if (isExistingSku) { // Mark existing SKU as deleted (sent to backend on save). @@ -355,6 +362,7 @@ const ProductForm = forwardRef(({ (({ @@ -399,6 +408,7 @@ const ProductForm = forwardRef(({ (({ (({ (({ { setFieldValue(`variants.${vIndex}.isFlashAvailable`, !variant.isFlashAvailable) @@ -464,6 +477,7 @@ const ProductForm = forwardRef(({ setFieldValue(`variants.${vIndex}.isOffer`, !variant.isOffer)} style={tw`mr-3`} @@ -474,6 +488,7 @@ const ProductForm = forwardRef(({ {!(values.productType === 'combo' && (variant.comboItems?.length || 0) > 0) && ( setFieldValue(`variants.${vIndex}.isComboOnly`, !variant.isComboOnly)} style={tw`mr-3`} @@ -485,6 +500,7 @@ const ProductForm = forwardRef(({ {mode === 'edit' && ( setFieldValue(`variants.${vIndex}.isSuspended`, !variant.isSuspended)} style={tw`mr-3`} @@ -495,6 +511,7 @@ const ProductForm = forwardRef(({ {variant.isFlashAvailable && ( (({ )} setVariantImages((prev) => { @@ -583,6 +601,7 @@ const ProductForm = forwardRef(({ })} { push(defaultVariant()) setVariantImages((prev) => [...prev, []]) @@ -597,6 +616,7 @@ const ProductForm = forwardRef(({ { const validationErrors = await validateForm() if (Object.keys(validationErrors).length > 0) { diff --git a/apps/admin-ui/src/trpc-client.ts b/apps/admin-ui/src/trpc-client.ts index a3016f2..7322e40 100644 --- a/apps/admin-ui/src/trpc-client.ts +++ b/apps/admin-ui/src/trpc-client.ts @@ -1,7 +1,7 @@ import { createTRPCProxyClient, httpBatchLink, TRPCClientError } from '@trpc/client'; import { createTRPCReact } from '@trpc/react-query'; import { AppRouter } from '@backend/trpc/router' -import { BASE_API_URL } from 'common-ui'; +import { BASE_API_URL } from '@packages/shared'; import { getJWT } from '@/hooks/useJWT'; import { FORCE_LOGOUT_EVENT } from 'common-ui/src/lib/const-strs'; import { DeviceEventEmitter } from 'react-native'; diff --git a/apps/admin-ui/tests/BUGS.md b/apps/admin-ui/tests/BUGS.md new file mode 100644 index 0000000..05d751e --- /dev/null +++ b/apps/admin-ui/tests/BUGS.md @@ -0,0 +1,242 @@ +# Known bugs — apps/admin-ui + +Found while writing the integration test suite (`tests/`). Each entry names the +file and line, what the code does, what was expected, and the evidence. Severity +is my judgement of user impact. + +--- + +## High — user-facing breakage + +### 1. Add Product / Add Variant crashes (Formik empty-string normalisation) + +`src/components/ProductForm.tsx:80` + +```ts +const variantSignature = (attributes: Attribute[]): string => + attributes + .map((a) => `${(a.featureName ?? '').trim().toLowerCase()}::${a.featureValue.trim().toLowerCase()}`) +``` + +`featureName` is guarded, `featureValue` is not. Formik's `validateYupSchema` +normalises empty strings to `undefined` before running Yup, so the `variants` +`unique-variants` `.test()` receives attributes whose `featureValue` is +`undefined` (`defaultAttribute`/`quantityAttribute` both start as `''`) and +`a.featureValue.trim()` throws `TypeError`. + +**Impact:** every keystroke on the Add Product form (validation runs on change) +and the "Add Variant" / "Add Feature" buttons throw. Creating a product is +unusable. Editing only works when the fetched SKUs already have non-empty +feature values. + +**Expected:** `(a.featureValue ?? '').trim()`. + +**Pinned by:** `tests/components/product-form.test.tsx`, +`tests/screens/products-add.test.tsx`. + +### 2. Coupon code list crashes on validation + +`src/components/CouponForm.tsx:68` + +```ts +const codes = (value.couponCodes || []).map((c: string) => c.trim()).filter(Boolean); +``` + +The sibling `codes-required` test on line 61 guards with `c && c.trim()`; this +one does not. Formik normalises the default `couponCodes: ['']` to `[undefined]`, +so `c.trim()` throws. + +**Impact:** toggling "Is Reserved Coupon", switching discount type, "+ Add Code", +or selecting a user (`setFieldValue`) crashes the coupon form. + +**Expected:** `(c || '').trim()` or filter first. + +**Pinned by:** `tests/components/coupon-form.test.tsx`. + +### 3. Prices Overview saves the SKU id as the product id + +`app/(drawer)/dashboard/prices-overview/index.tsx:270` (and `:276`) + +```ts +const update: any = { productId: sku?.id }; +``` + +`pendingChanges` is keyed by SKU id and `sku` is resolved from `allSkus`, so the +payload carries a **SKU** id. The backend `admin.product.updateProductPrices` +resolves `productId` against `productInfo.id` (`apps/backend/.../product.ts:436` +→ `packages/db_helper_*/src/admin-apis/product.ts`), so it throws +`Invalid product IDs: ...` for every row. + +**Expected:** send the SKU's parent product id (`sku.productId`). + +**Pinned by:** `tests/screens/prices-overview.test.tsx`. + +### 4. Product Groupings save SKU ids as product ids + +`components/ProductGroupForm.tsx:44,119` + `components/ProductsSelector.tsx:117` + +`ProductsSelector` emits `value: sku.id` (a SKU id) and the form forwards it as +`product_ids`. `createProductGroup` / `updateProductGroup` insert those into +`product_group_membership.productId`, which FKs `productInfo.id`. Create and +edit are also inconsistent: edit seeds `group.products.map(p => p.id)` (product +ids). + +**Expected:** emit/insert product ids. + +**Pinned by:** `tests/components/product-group-form.test.tsx`. + +### 5. "Popular Items" add silently drops the selected product + +`app/(drawer)/dashboard/customize-app/popular-items.tsx:184` + +```ts +const newProducts = selectedProductIds + .map(id => allProducts?.products.find(p => p.id === id)) +``` + +`selectedProductIds` are SKU ids (from `ProductsSelector`), matched against +product ids, so the lookup misses and the dialog closes with nothing added. +The label formatter also runs `labelFormat({ productName, price })` on a +`SkuSummary` that has no `price`, rendering `₹undefined`. + +**Expected:** match on `sku.productId`. + +**Pinned by:** `tests/screens/customize-app-popular-items.test.tsx`. + +### 6. StoreForm bypasses Formik validation + +`components/StoreForm.tsx:111,183` + +The submit button calls a local `submit()` that invokes the `onSubmit` prop +directly; Formik's `handleSubmit` is destructured (`:110`) but never called, so +`validationSchema` never runs. Combined with `owner` initialised to `0` +(`stores/add.tsx:35`) and `Yup.number().required()` accepting `0`, an ownerless +store is submitted and rejected by the backend instead of inline. + +**Expected:** `onPress={handleSubmit}`. + +**Pinned by:** `tests/components/store-form.test.tsx`, +`tests/screens/stores-add.test.tsx`. + +--- + +## Medium + +### 7. Dashboard Banners fires duplicate `updateBanner` calls on save + +`app/(drawer)/dashboard/dashboard-banners/index.tsx:75-116` + +`handleSave` collects `bannersToUpdate` in a per-banner loop and again in a +per-slot loop. A banner whose slot changed is pushed by both, so the same +`updateBanner({ id, serialNum })` fires twice; moving a banner between slots can +emit contradictory updates. + +**Expected:** de-duplicate by banner id. + +**Pinned by:** `tests/screens/banners-index.test.tsx`. + +### 8. Banner edit screen shows "Banner not found" on mount + +`app/(drawer)/dashboard/dashboard-banners/edit/[id].tsx:42-73` + +`useEffect(..., [bannerId, bannerData])` calls `loadBanner` on the first render, +when `bannerData` is still `undefined`, taking the `else` branch: +`Alert.alert('Error', 'Banner not found')` + `router.back()` — before the query +resolves. The form then renders anyway. + +**Expected:** wait for the query to settle before treating "no data" as missing. + +**Pinned by:** `tests/screens/banners-edit.test.tsx`. + +### 9. Refund / cancellation-coupon actions are unreachable + +`app/(drawer)/dashboard/manage-orders/order-details/[id].tsx:697-769` + +The entire Refund Details block is commented out. It is the only caller of +`setInitiateRefundDialogOpen(true)` and `setGenerateCouponDialogOpen(true)`, so +`admin.payments.initiateRefund` and `admin.coupon.generateCancellationCoupon` +can never fire from the UI. The `initiateRefund` success alert (lines 66-69) +also drops the amount from its template string. + +**Expected:** re-enable the block when the feature ships. + +**Pinned by:** `tests/screens/order-details.test.tsx` (documents the gap). + +### 10. Complaints resolve can send an empty response the backend rejects + +`app/(drawer)/dashboard/complaints/index.tsx:66` + +```ts +resolveComplaint.mutate({ id: String(selectedComplaintId), response: response ?? '' }, ...) +``` + +The backend input requires `response: z.string().min(1)`. Confirming Resolve with +no comment sends `''` and gets a server error (surfaced as a generic alert) +instead of being blocked client-side. + +**Expected:** require a response, or make it optional server-side. + +**Pinned by:** `tests/screens/complaints-index.test.tsx`. + +--- + +## Low + +### 11. Inline "Packaged" toggle in the orders list is inert + +`app/(drawer)/dashboard/manage-orders/orders/index.tsx:218` +`onPress={() => {}}`. Packaged changes only work through `OrderOptionsMenu`. + +### 12. CancelOrderDialog has an unreachable validation branch + +`components/CancelOrderDialog.tsx:18-21` alerts on an empty reason, but the +confirm button is disabled while the reason is empty (`:85`), so the branch +never runs. + +### 13. Send Notifications shows the error alert twice + +`app/(drawer)/dashboard/send-notifications/index.tsx:48-50,87-96` — the mutation +has an `onError` alert and the caller also try/catches and alerts. + +### 14. Product Groupings "N Products" does nothing + +`app/(drawer)/dashboard/product-groupings/index.tsx:11,130` — `BottomDialog` is +imported and `viewProducts` is set by `onViewProducts`, but no dialog renders. + +### 15. `NotificationToast` calls a hook outside a component + +`services/toaster.tsx:39-40` — `NotificationToast` calls `useRouter()` though it +is exported as an event helper, not rendered as a component (Rules of Hooks). + +### 16. Upload key parsing assumes path-style S3 URLs + +`hooks/useUploadToObjectStore.ts:99-104` — `extractKeyFromPresignedUrl` strips the +first path segment (`slice(1)`). Correct for the backend's current +`//` URLs, but breaks for virtual-host-style +(`./`). The backend's own `s3-client.ts` uses `slice(-2)`. + +--- + +## Test-harness limitations (not app bugs) + +- **`expo-image-picker` / `expo-document-picker` mocks do not reach `packages/ui`.** + `packages/ui` resolves its own copy of those modules, so `common-ui`'s + `usePickImage`/`ImageUploader` call the real (native) picker and cannot be + driven from a test. Image-upload flows are therefore exercised by mocking the + upload hook or seeding state, and upload integration is not covered. +- **`@expo/vector-icons` has a duplicate copy under `packages/ui/node_modules`,** + so `UNSAFE_getAllByType(MaterialIcons)` from the app's copy does not find the + `common-ui` icons. Prefer text/testID-based queries. +- **`react-native-draggable-flatlist` mock** ignores `ListHeaderComponent` / + `ListFooterComponent` and never calls `onDragEnd`, so drag-reorder save flows + cannot be asserted through the mock. + +## Already fixed during this work + +- `stores/edit.tsx` now invalidates `admin.store.getStores` (only `getStoreById` + was refetched before). +- `coupons/create.tsx` + `coupons/edit/[id].tsx` invalidate + `admin.coupon.getAll` / `getReservedCoupons` instead of refetching with a + hardcoded `search: ''` that missed the list's key when a search was active. +- `tests/mocks/native.ts` `tabViewMock` `SceneMap` returned the raw map instead + of a `renderScene` function (corrected). diff --git a/apps/admin-ui/tests/components/banner-form.test.tsx b/apps/admin-ui/tests/components/banner-form.test.tsx new file mode 100644 index 0000000..cfd98fd --- /dev/null +++ b/apps/admin-ui/tests/components/banner-form.test.tsx @@ -0,0 +1,120 @@ +/** + * BannerForm component (components/BannerForm.tsx) — validation, submit + * gating, submit/cancel callbacks and the existing-image (edit) display. + */ + +import React from 'react' +import { Alert } from 'react-native' +import { act, fireEvent, screen, waitFor } from '@testing-library/react-native' + +import BannerForm, { BannerFormData } from '@/components/BannerForm' +import { setupApiMocks } from '../mocks/api' +import { resetStaffAuthMock } from '../mocks/staff-auth' +import { renderWithProviders } from '../helpers/render' + +const onSubmit = jest.fn() +const onCancel = jest.fn() + +const initialValues: BannerFormData = { + name: '', + imageUrl: '', + description: '', + skuIds: [], + redirectUrl: '', +} + +const blur = (placeholder: string, name: string) => { + fireEvent(screen.getByPlaceholderText(placeholder), 'blur', { + target: { name }, + persist: () => {}, + }) +} + +const renderForm = (props: Partial> = {}) => + renderWithProviders( + + ) + +describe('BannerForm', () => { + beforeEach(() => { + resetStaffAuthMock() + onSubmit.mockClear() + onCancel.mockClear() + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + setupApiMocks() + }) + + it('renders the banner fields', () => { + renderForm() + + expect(screen.getByPlaceholderText('Enter banner name')).toBeVisible() + expect(screen.getByPlaceholderText('Enter banner description (optional)')).toBeVisible() + expect(screen.getByPlaceholderText('https://example.com/redirect')).toBeVisible() + expect(screen.getByText('Create Banner')).toBeVisible() + }) + + it('requires a banner name', async () => { + renderForm() + + blur('Enter banner name', 'name') + + expect(await screen.findByText('Banner name is required')).toBeVisible() + }) + + it('rejects a malformed redirect URL', async () => { + renderForm() + + fireEvent.changeText(screen.getByPlaceholderText('https://example.com/redirect'), 'nope') + blur('https://example.com/redirect', 'redirectUrl') + + expect(await screen.findByText('Please enter a valid URL')).toBeVisible() + }) + + it('does not submit until the form is valid and dirty', async () => { + renderForm() + + fireEvent.press(screen.getByText('Create Banner')) + expect(onSubmit).not.toHaveBeenCalled() + + await act(async () => { + fireEvent.changeText(screen.getByPlaceholderText('Enter banner name'), 'My Banner') + }) + fireEvent.press(screen.getByText('Create Banner')) + + await waitFor(() => expect(onSubmit).toHaveBeenCalledTimes(1)) + expect(onSubmit.mock.calls[0][0]).toMatchObject({ name: 'My Banner' }) + expect(onSubmit.mock.calls[0][1]).toBeUndefined() + }) + + it('uses the provided submit button label', () => { + renderForm({ submitButtonText: 'Update Banner' }) + + expect(screen.getByText('Update Banner')).toBeVisible() + }) + + it('shows the saving state', () => { + renderForm({ isSubmitting: true }) + + expect(screen.getByText('Saving...')).toBeVisible() + }) + + it('calls onCancel', () => { + renderForm() + + fireEvent.press(screen.getByText('Cancel')) + + expect(onCancel).toHaveBeenCalled() + }) + + it('shows the existing image as filling the single-image slot', async () => { + renderForm({ existingImageUrl: 'https://cdn.example.com/seven.jpg' }) + + // ImageUploader blocks the add tile once an existing image is present. + expect(await screen.findByText('Only one image allowed')).toBeVisible() + }) +}) diff --git a/apps/admin-ui/tests/components/cancel-order-dialog.test.tsx b/apps/admin-ui/tests/components/cancel-order-dialog.test.tsx new file mode 100644 index 0000000..f6f2b47 --- /dev/null +++ b/apps/admin-ui/tests/components/cancel-order-dialog.test.tsx @@ -0,0 +1,98 @@ +/** + * CancelOrderDialog — reason gating, the cancelOrder mutation and callbacks. + */ + +import React from 'react' +import { Alert } from 'react-native' +import { act, fireEvent, screen, waitFor } from '@testing-library/react-native' + +import CancelOrderDialog from '@/components/CancelOrderDialog' +import { setupApiMocks, resetStorage } from '../mocks/api' +import { resetStaffAuthMock } from '../mocks/staff-auth' +import { expectProcedureCalled, lastProcedureInput } from '../mocks/procedures' +import { renderWithProviders } from '../helpers/render' + +describe('CancelOrderDialog', () => { + const onClose = jest.fn() + const onSuccess = jest.fn() + + beforeEach(async () => { + onClose.mockClear() + onSuccess.mockClear() + resetStaffAuthMock() + await resetStorage() + setupApiMocks({ procedures: { 'admin.order.cancelOrder': { success: true, message: 'ok' } } }) + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + }) + + it('renders the dialog chrome and reason input', () => { + renderWithProviders( + + ) + + expect(screen.getAllByText('Cancel Order')).toHaveLength(2) + expect(screen.getByText(/refund record will be created/)).toBeVisible() + expect(screen.getByPlaceholderText('Enter reason for cancellation...')).toBeVisible() + expect(screen.getByText('Keep Order')).toBeVisible() + }) + + it('does not submit and does not confirm when the reason is empty', () => { + const { fetchMock } = setupApiMocks({ + procedures: { 'admin.order.cancelOrder': { success: true, message: 'ok' } }, + }) + + renderWithProviders( + + ) + + const confirm = screen.getAllByText('Cancel Order').pop()! + fireEvent.press(confirm) + + expect(Alert.alert).not.toHaveBeenCalled() + expect(fetchMock).not.toHaveBeenCalled() + }) + + it('asks for confirmation then cancels with the typed reason', async () => { + const { fetchMock } = setupApiMocks({ + procedures: { 'admin.order.cancelOrder': { success: true, message: 'cancelled' } }, + }) + + renderWithProviders( + + ) + + fireEvent.changeText( + screen.getByPlaceholderText('Enter reason for cancellation...'), + 'Out of stock' + ) + fireEvent.press(screen.getAllByText('Cancel Order').pop()!) + + const call = (Alert.alert as jest.Mock).mock.calls.find((c) => c[0] === 'Cancel Order') + expect(call).toBeTruthy() + const buttons = call![2] as { text: string; onPress?: () => void }[] + const yes = buttons.find((b) => b.text === 'Yes, Cancel')! + + await act(async () => { + yes.onPress?.() + }) + + await waitFor(() => expectProcedureCalled(fetchMock, 'admin.order.cancelOrder')) + expect(lastProcedureInput(fetchMock, 'admin.order.cancelOrder')).toEqual({ + orderId: 7, + reason: 'Out of stock', + }) + expect(onClose).toHaveBeenCalled() + expect(onSuccess).toHaveBeenCalled() + }) + + it('keeps the order via the secondary button', () => { + renderWithProviders( + + ) + + fireEvent.press(screen.getByText('Keep Order')) + + expect(onClose).toHaveBeenCalled() + expect(onSuccess).not.toHaveBeenCalled() + }) +}) diff --git a/apps/admin-ui/tests/components/coupon-form.test.tsx b/apps/admin-ui/tests/components/coupon-form.test.tsx new file mode 100644 index 0000000..c6d3e33 --- /dev/null +++ b/apps/admin-ui/tests/components/coupon-form.test.tsx @@ -0,0 +1,170 @@ +/** + * CouponForm component (src/components/CouponForm.tsx) — Formik validation, + * discount-type switching, coupon-code entry (incl. bulk generation) and the + * applicable-users lookup dialog. + * + * NOTE: The default form starts with an empty coupon-code slot, and Formik + * normalises `['']` to `[undefined]` before Yup runs, which makes the + * `codes-unique` test call `.trim()` on `undefined` (see the reported bug). + * Every interaction that triggers validation is therefore exercised from a + * valid `initialValues` seed; the code-entry flow is covered by typing a code + * first. + */ + +import React from 'react' +import { Alert } from 'react-native' +import { fireEvent, screen, waitFor } from '@testing-library/react-native' + +import CouponForm from '@/src/components/CouponForm' +import { setupApiMocks } from '../mocks/api' +import { lastProcedureInput } from '../mocks/procedures' +import { resetStaffAuthMock } from '../mocks/staff-auth' +import { renderWithProviders } from '../helpers/render' + +const onSubmit = jest.fn() + +const validInitialValues = { + couponCodes: ['SAVE10'], + isUserBased: false, + isApplyForAll: false, + targetUsers: [], + discountPercent: 10, + applicableUsers: [], + applicableProducts: [], + exclusiveApply: false, + isFirstOrderOnly: false, + isReservedCoupon: false, +} + +const usersProcedure = { + users: [ + { id: 11, name: 'Alice', mobile: '9000000001' }, + { id: 12, name: 'Bob', mobile: '9000000002' }, + ], +} + +describe('CouponForm', () => { + beforeEach(() => { + resetStaffAuthMock() + onSubmit.mockClear() + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + setupApiMocks({ + procedures: { 'admin.coupon.getUsersMiniInfo': usersProcedure }, + }) + }) + + it('renders the default form', () => { + renderWithProviders() + + expect(screen.getByText('Coupon Codes')).toBeVisible() + expect(screen.getByText('Discount Type *')).toBeVisible() + expect(screen.getByText('Is Reserved Coupon')).toBeVisible() + expect(screen.getByText('Create Coupon')).toBeVisible() + }) + + it('validates the form before calling onSubmit', async () => { + renderWithProviders() + + fireEvent.press(screen.getByText('Create Coupon')) + + await waitFor(() => expect(screen.getByText('Create Coupon')).toBeVisible()) + expect(onSubmit).not.toHaveBeenCalled() + }) + + it('uppercases the coupon code and submits the entered values', async () => { + renderWithProviders() + + fireEvent.changeText(screen.getByPlaceholderText('e.g., SECRET10'), 'save10') + fireEvent.press(screen.getByText('Percentage')) + fireEvent.changeText(screen.getByPlaceholderText('e.g., 10'), '10') + fireEvent.press(screen.getByText('Create Coupon')) + + await waitFor(() => expect(onSubmit).toHaveBeenCalledTimes(1)) + expect(onSubmit.mock.calls[0][0]).toMatchObject({ + couponCodes: ['SAVE10'], + discountPercent: 10, + isUserBased: false, + isApplyForAll: false, + isReservedCoupon: false, + }) + }) + + it('switches between percentage and flat discount fields', () => { + renderWithProviders( + + ) + + expect(screen.getByPlaceholderText('e.g., 10')).toBeVisible() + expect(screen.queryByPlaceholderText('e.g., 50')).toBeNull() + + fireEvent.press(screen.getByText('Flat Amount')) + + expect(screen.getByPlaceholderText('e.g., 50')).toBeVisible() + expect(screen.queryByPlaceholderText('e.g., 10')).toBeNull() + }) + + it('disables target audience for reserved coupons', () => { + renderWithProviders( + + ) + + expect( + screen.queryByText('Target Audience (Disabled for Reserved Coupons)') + ).toBeNull() + + fireEvent.press(screen.getByRole('checkbox')) + + expect( + screen.getByText('Target Audience (Disabled for Reserved Coupons)') + ).toBeVisible() + }) + + it('generates sequential codes from a pattern code', async () => { + renderWithProviders() + + fireEvent.changeText(screen.getByPlaceholderText('e.g., SECRET10'), 'ABC1') + fireEvent.press(screen.getByText('Add Multiple')) + + expect(screen.getByText('Add Multiple Coupons')).toBeVisible() + fireEvent.changeText(screen.getByPlaceholderText('e.g., 10'), '2') + fireEvent.press(screen.getByText('Generate')) + + await waitFor(() => expect(screen.getByDisplayValue('ABC2')).toBeVisible()) + expect(screen.getByDisplayValue('ABC3')).toBeVisible() + }) + + it('loads and selects applicable users', async () => { + const { fetchMock } = setupApiMocks({ + procedures: { 'admin.coupon.getUsersMiniInfo': usersProcedure }, + }) + renderWithProviders( + + ) + + fireEvent.press(screen.getByText('Select users...')) + + expect(await screen.findByText('9000000001 - Alice')).toBeVisible() + expect(lastProcedureInput(fetchMock, 'admin.coupon.getUsersMiniInfo')).toMatchObject({ + search: '', + limit: 10, + offset: 0, + }) + + fireEvent.press(screen.getByText('9000000001 - Alice')) + fireEvent.press(screen.getByText('Done')) + + await waitFor(() => expect(screen.getByText('1 users selected')).toBeVisible()) + }) +}) diff --git a/apps/admin-ui/tests/components/order-notes-form.test.tsx b/apps/admin-ui/tests/components/order-notes-form.test.tsx new file mode 100644 index 0000000..b592c11 --- /dev/null +++ b/apps/admin-ui/tests/components/order-notes-form.test.tsx @@ -0,0 +1,82 @@ +/** + * OrderNotesForm — empty validation, updateNotes mutation and callbacks. + */ + +import React from 'react' +import { Alert } from 'react-native' +import { fireEvent, screen, waitFor } from '@testing-library/react-native' + +import { OrderNotesForm } from '@/components/OrderNotesForm' +import { setupApiMocks, resetStorage } from '../mocks/api' +import { resetStaffAuthMock } from '../mocks/staff-auth' +import { expectProcedureCalled, lastProcedureInput } from '../mocks/procedures' +import { renderWithProviders } from '../helpers/render' + +describe('OrderNotesForm', () => { + const onSuccess = jest.fn() + const onCancel = jest.fn() + + beforeEach(async () => { + onSuccess.mockClear() + onCancel.mockClear() + resetStaffAuthMock() + await resetStorage() + setupApiMocks({ procedures: { 'admin.order.updateNotes': { id: 5 } } }) + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + }) + + it('renders the initial notes and actions', () => { + renderWithProviders( + + ) + + expect(screen.getByText('Add Order Notes')).toBeVisible() + expect(screen.getByDisplayValue('existing')).toBeVisible() + expect(screen.getByText('Save Notes')).toBeVisible() + expect(screen.getByText('Cancel')).toBeVisible() + }) + + it('rejects empty notes without calling the mutation', () => { + const { fetchMock } = setupApiMocks({ + procedures: { 'admin.order.updateNotes': { id: 5 } }, + }) + + renderWithProviders() + + fireEvent.press(screen.getByText('Save Notes')) + + expect(Alert.alert).toHaveBeenCalledWith('Error', 'Please enter some notes') + expect(fetchMock).not.toHaveBeenCalled() + }) + + it('saves trimmed notes and fires onSuccess', async () => { + const { fetchMock } = setupApiMocks({ + procedures: { 'admin.order.updateNotes': { id: 5 } }, + }) + + renderWithProviders() + + fireEvent.changeText( + screen.getByPlaceholderText('Enter notes for this order...'), + ' handle with care ' + ) + fireEvent.press(screen.getByText('Save Notes')) + + await waitFor(() => expectProcedureCalled(fetchMock, 'admin.order.updateNotes')) + expect(lastProcedureInput(fetchMock, 'admin.order.updateNotes')).toEqual({ + orderId: 5, + adminNotes: 'handle with care', + }) + await waitFor(() => expect(onSuccess).toHaveBeenCalled()) + expect(Alert.alert).toHaveBeenCalledWith('Success', 'Notes updated successfully') + }) + + it('calls onCancel when the cancel button is pressed', () => { + renderWithProviders() + + fireEvent.press(screen.getByText('Cancel')) + + expect(onCancel).toHaveBeenCalled() + expect(onSuccess).not.toHaveBeenCalled() + }) +}) diff --git a/apps/admin-ui/tests/components/order-options-menu.test.tsx b/apps/admin-ui/tests/components/order-options-menu.test.tsx new file mode 100644 index 0000000..35cd990 --- /dev/null +++ b/apps/admin-ui/tests/components/order-options-menu.test.tsx @@ -0,0 +1,259 @@ +/** + * OrderOptionsMenu — action rows, responder toggles, location attach and + * WhatsApp/Dial/Maps intents. + */ + +import React from 'react' +import { Alert, Linking } from 'react-native' +import { fireEvent, screen, waitFor } from '@testing-library/react-native' +import Ionicons from '@expo/vector-icons/Ionicons' +import * as Location from 'expo-location' + +import { OrderOptionsMenu } from '@/components/OrderOptionsMenu' +import { setupApiMocks, resetStorage } from '../mocks/api' +import { resetStaffAuthMock } from '../mocks/staff-auth' +import { expectProcedureCalled, lastProcedureInput, procCount } from '../mocks/procedures' +import { renderWithProviders } from '../helpers/render' + +type OrderProp = React.ComponentProps['order'] + +const baseOrder: OrderProp = { + id: 11, + readableId: 11, + isPackaged: false, + isDelivered: false, + address: '12 Main St, City, State - 500001, Phone: 9876543210', + addressId: 3, + adminNotes: null, + latitude: null, + longitude: null, + status: 'pending', +} + +function renderMenu(overrides: Partial = {}, handlers: Record = {}) { + const props = { + open: true, + onClose: jest.fn(), + order: { ...baseOrder, ...overrides }, + onViewDetails: jest.fn(), + onTogglePackaged: jest.fn(), + onToggleDelivered: jest.fn(), + onOpenAdminNotes: jest.fn(), + onCancelOrder: jest.fn(), + onAttachLocation: jest.fn(), + onWhatsApp: jest.fn(), + onDial: jest.fn(), + ...handlers, + } + renderWithProviders() + return props +} + +describe('OrderOptionsMenu', () => { + beforeEach(async () => { + resetStaffAuthMock() + await resetStorage() + setupApiMocks({ procedures: { 'admin.order.updateAddressCoords': { success: true } } }) + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + jest.spyOn(Linking, 'openURL').mockResolvedValue(true) + }) + + it('renders the header and action rows', () => { + renderMenu() + + expect(screen.getByText('Order #11')).toBeVisible() + expect(screen.getByText('Select an action to perform')).toBeVisible() + expect(screen.getByText('View Details')).toBeVisible() + expect(screen.getByText('Packaged')).toBeVisible() + expect(screen.getByText('Delivered')).toBeVisible() + expect(screen.getByText('Admin Notes')).toBeVisible() + expect(screen.getByText('Cancel Order')).toBeVisible() + expect(screen.getByText('Attach Location')).toBeVisible() + expect(screen.getByText('Message On WhatsApp')).toBeVisible() + expect(screen.getByText('Dial Mobile Number')).toBeVisible() + }) + + it('describes packaged/delivered state in the row subtitles', () => { + renderMenu({ isPackaged: true, isDelivered: true }) + + expect(screen.getByText('Mark as not packaged')).toBeVisible() + expect(screen.getByText('Mark as not delivered')).toBeVisible() + }) + + it('hides cancel when the order is already cancelled', () => { + renderMenu({ status: 'cancelled' }) + + expect(screen.queryByText('Cancel Order')).toBeNull() + }) + + it('invokes view details and closes', () => { + const props = renderMenu() + + fireEvent.press(screen.getByText('View Details')) + + expect(props.onViewDetails).toHaveBeenCalled() + expect(props.onClose).toHaveBeenCalled() + }) + + it('invokes admin notes and closes', () => { + const props = renderMenu() + + fireEvent.press(screen.getByText('Admin Notes')) + + expect(props.onOpenAdminNotes).toHaveBeenCalled() + expect(props.onClose).toHaveBeenCalled() + }) + + it('invokes cancel then closes', () => { + const props = renderMenu() + + fireEvent.press(screen.getByText('Cancel Order')) + + expect(props.onCancelOrder).toHaveBeenCalled() + expect(props.onClose).toHaveBeenCalled() + }) + + it('toggles packaged through the responder', () => { + const props = renderMenu({ isPackaged: false, isDelivered: true }) + + const icon = screen + .UNSAFE_getAllByType(Ionicons) + .find((node) => node.props.name === 'square-outline')! + fireEvent(icon, 'responderEnd', { stopPropagation: jest.fn() }) + + expect(props.onTogglePackaged).toHaveBeenCalled() + expect(props.onToggleDelivered).not.toHaveBeenCalled() + }) + + it('toggles delivered through the responder', () => { + const props = renderMenu({ isPackaged: true, isDelivered: false }) + + const icon = screen + .UNSAFE_getAllByType(Ionicons) + .find((node) => node.props.name === 'square-outline')! + fireEvent(icon, 'responderEnd', { stopPropagation: jest.fn() }) + + expect(props.onToggleDelivered).toHaveBeenCalled() + expect(props.onTogglePackaged).not.toHaveBeenCalled() + }) + + it('attaches location coordinates and reports success', async () => { + const { fetchMock } = setupApiMocks({ + procedures: { 'admin.order.updateAddressCoords': { success: true } }, + }) + const props = renderMenu() + + fireEvent.press(screen.getByText('Attach Location')) + + await waitFor(() => expectProcedureCalled(fetchMock, 'admin.order.updateAddressCoords')) + expect(lastProcedureInput(fetchMock, 'admin.order.updateAddressCoords')).toEqual({ + addressId: 3, + latitude: 16.75, + longitude: 78.0, + }) + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith( + 'Success', + 'Location attached to address successfully.' + ) + ) + expect(props.onAttachLocation).toHaveBeenCalled() + }) + + it('warns when location permission is denied and skips the mutation', async () => { + const { fetchMock } = setupApiMocks({ + procedures: { 'admin.order.updateAddressCoords': { success: true } }, + }) + ;(Location.requestForegroundPermissionsAsync as jest.Mock).mockResolvedValueOnce({ + status: 'denied', + granted: false, + }) + + renderMenu() + + fireEvent.press(screen.getByText('Attach Location')) + + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith( + 'Permission Denied', + 'Location permission is required to attach coordinates.' + ) + ) + expect(procCount(fetchMock, 'admin.order.updateAddressCoords')).toBe(0) + }) + it('opens the coordinates in Google Maps only when present', () => { + const props = renderMenu({ latitude: 16.75, longitude: 78.0 }) + + fireEvent.press(screen.getByText('Open in Maps')) + + expect(Linking.openURL).toHaveBeenCalledWith( + 'https://www.google.com/maps/search/?api=1&query=16.75,78' + ) + expect(props.onClose).toHaveBeenCalled() + }) + + it('alerts instead of opening maps when coordinates are missing', () => { + renderMenu({ latitude: null, longitude: null }) + + expect(screen.queryByText('Open in Maps')).toBeNull() + }) + + it('sends WhatsApp to the phone parsed from the address', () => { + renderMenu() + + fireEvent.press(screen.getByText('Message On WhatsApp')) + + expect(Linking.openURL).toHaveBeenCalledWith('whatsapp://send?phone=+919876543210') + }) + + it('shows the welcome message row only for a first order and opens WhatsApp', () => { + renderMenu({ isFirstOrder: true }) + + expect(screen.getByText('Send Welcome Msg')).toBeVisible() + + fireEvent.press(screen.getByText('Send Welcome Msg')) + + expect(Linking.openURL).toHaveBeenCalledWith('whatsapp://send?phone=+919876543210') + }) + + it('hides the welcome message row for repeat orders', () => { + renderMenu({ isFirstOrder: false }) + + expect(screen.queryByText('Send Welcome Msg')).toBeNull() + }) + + it('prefills the welcome message when opening the first-order WhatsApp', async () => { + setupApiMocks({ + procedures: { + 'admin.order.updateAddressCoords': { success: true }, + 'admin.const.getConstants': [{ key: 'welcomeMessage', value: 'Hello & welcome!' }], + }, + }) + renderMenu({ isFirstOrder: true }) + + // The constant loads async; retry until the handler sees it. + await waitFor(() => { + fireEvent.press(screen.getByText('Send Welcome Msg')) + expect(Linking.openURL).toHaveBeenCalledWith( + 'whatsapp://send?phone=+919876543210&text=Hello%20%26%20welcome!' + ) + }) + }) + + it('dials the phone parsed from the address', () => { + renderMenu() + + fireEvent.press(screen.getByText('Dial Mobile Number')) + + expect(Linking.openURL).toHaveBeenCalledWith('tel:9876543210') + }) + + it('alerts when the address has no phone number', () => { + renderMenu({ address: '12 Main St, City' }) + + fireEvent.press(screen.getByText('Message On WhatsApp')) + + expect(Alert.alert).toHaveBeenCalledWith('No phone number found') + expect(Linking.openURL).not.toHaveBeenCalled() + }) +}) diff --git a/apps/admin-ui/tests/components/product-form.test.tsx b/apps/admin-ui/tests/components/product-form.test.tsx new file mode 100644 index 0000000..d52a7cf --- /dev/null +++ b/apps/admin-ui/tests/components/product-form.test.tsx @@ -0,0 +1,219 @@ +/** + * ProductForm (src/components/ProductForm.tsx) — the shared create/edit form. + * Covers render, store options, variant add/remove, validation gating and the + * submit payload. + * + * KNOWN APP BUG (src/components/ProductForm.tsx:80): `variantSignature` calls + * `a.featureValue.trim()` unguarded, so Yup validation throws whenever any + * attribute has an empty value. Triggering it from empty fields makes + * `validateForm()` reject and the form unusable. The submit tests here seed the + * form with valid `initialValues` so no empty attribute is ever validated. + */ + +import React from 'react' +import { Alert } from 'react-native' +import { fireEvent, screen, waitFor } from '@testing-library/react-native' + +import ProductForm from '@/src/components/ProductForm' +import { resetStorage, setupApiMocks } from '../mocks/api' +import { renderWithProviders } from '../helpers/render' + +const validValues = (overrides: Record = {}) => ({ + name: 'Paneer', + shortDescription: 'Fresh', + longDescription: 'Very fresh', + storeId: 1, + productType: 'item' as const, + variants: [ + { + id: undefined, + name: '', + price: 200, + marketPrice: null, + isFlashAvailable: false, + flashPrice: null, + isOffer: false, + isComboOnly: false, + isDeleted: false, + isSuspended: false, + features: [{ featureName: 'quantity', featureValue: '1 kg' }], + comboItems: [], + }, + ], + ...overrides, +}) + +const stores = [ + { id: 1, name: 'Main Store' }, + { id: 2, name: 'Second Store' }, +] + +describe('ProductForm', () => { + beforeEach(async () => { + await resetStorage() + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + }) + + it('renders the fields and the seeded variant', async () => { + setupApiMocks({ + procedures: { 'common.getStoresSummary': { stores } }, + }) + renderWithProviders( + + ) + + expect(screen.getByTestId('product-name-input').props.value).toBe('Paneer') + expect(screen.getByTestId('variant-0-price').props.value).toBe('200') + expect(screen.getByTestId('variant-0-attr-0-name').props.value).toBe('quantity') + expect(screen.getByTestId('variant-0-attr-0-value').props.value).toBe('1 kg') + expect(screen.getByText('Create Product')).toBeVisible() + }) + + it('loads store options from getStoresSummary', async () => { + const api = setupApiMocks({ + procedures: { 'common.getStoresSummary': { stores } }, + }) + renderWithProviders( + + ) + + await waitFor(() => + expect(api.fetchMock).toHaveBeenCalled() + ) + expect(screen.getByTestId('product-store-dropdown')).toBeVisible() + }) + + it('shows edit-mode labels and the suspend checkbox', () => { + setupApiMocks({ procedures: { 'common.getStoresSummary': { stores } } }) + renderWithProviders( + + ) + + expect(screen.getByText('Save Changes')).toBeVisible() + expect(screen.getByTestId('variant-0-suspend')).toBeVisible() + }) + + it('shows the saving label while isLoading is true', () => { + setupApiMocks({ procedures: { 'common.getStoresSummary': { stores } } }) + renderWithProviders( + + ) + + expect(screen.getByText('Saving...')).toBeVisible() + }) + + it('removes a non-existing variant', () => { + const onSubmit = jest.fn() + setupApiMocks({ procedures: { 'common.getStoresSummary': { stores } } }) + renderWithProviders( + + ) + + expect(screen.getByTestId('variant-1-price')).toBeVisible() + fireEvent.press(screen.getByTestId('variant-1-remove')) + expect(screen.queryByTestId('variant-1-price')).toBeNull() + }) + + it('submits a valid form with the seeded values', async () => { + const onSubmit = jest.fn() + const api = setupApiMocks({ + procedures: { 'common.getStoresSummary': { stores } }, + }) + renderWithProviders( + + ) + + fireEvent.press(screen.getByTestId('create-product-button')) + + await waitFor(() => expect(onSubmit).toHaveBeenCalledTimes(1)) + const normalized = onSubmit.mock.calls[0][0] + expect(normalized.name).toBe('Paneer') + expect(normalized.variants[0].price).toBe(200) + expect(normalized.variants[0].features).toEqual([ + { featureName: 'quantity', featureValue: '1 kg' }, + ]) + // create mode passes an empty deleted-keys list. + expect(onSubmit.mock.calls[0][2]).toEqual([]) + expect(api.fetchMock).toHaveBeenCalled() + }) + + it('alerts instead of submitting when a price is invalid', async () => { + const onSubmit = jest.fn() + setupApiMocks({ procedures: { 'common.getStoresSummary': { stores } } }) + renderWithProviders( + + ) + + fireEvent.press(screen.getByTestId('create-product-button')) + + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith('Check your form', expect.any(String)) + ) + expect(onSubmit).not.toHaveBeenCalled() + }) +}) diff --git a/apps/admin-ui/tests/components/product-group-form.test.tsx b/apps/admin-ui/tests/components/product-group-form.test.tsx new file mode 100644 index 0000000..5ebc0b5 --- /dev/null +++ b/apps/admin-ui/tests/components/product-group-form.test.tsx @@ -0,0 +1,243 @@ +/** + * ProductGroupForm (components/ProductGroupForm.tsx) — create/edit titles, + * name validation, createGroup/updateGroup payloads, product selection and the + * cancel/close handlers. + * + * NOTE: the embedded ProductsSelector emits SKU ids, but createGroup / + * updateGroup expect productInfo ids (db_helper_postgres product.ts:315/345). + * The payloads below are asserted as observed and reported as an app bug. + */ + +import React from 'react' +import MaterialIcons from '@expo/vector-icons/MaterialIcons' +import { fireEvent, screen, waitFor } from '@testing-library/react-native' + +import ProductGroupForm, { ProductGroup } from '@/components/ProductGroupForm' +import { resetStorage, setupApiMocks } from '../mocks/api' +import { + expectProcedureCalled, + lastProcedureInput, + procCount, +} from '../mocks/procedures' +import { createQueryClient, renderWithProviders } from '../helpers/render' + +const skusResponse = { + skus: [ + { id: 1, productId: 10, productName: 'Chicken', label: 'Chicken 1kg' }, + { id: 2, productId: 11, productName: 'Mutton', label: 'Mutton 1kg' }, + ], +} + +const procedures = { + 'common.product.getAllProductsSummary': { products: [] }, + 'common.product.getAllSkusSummary': skusResponse, + 'admin.product.createGroup': { + group: { id: 1, groupName: 'Meat', description: null, createdAt: '2024-01-01' }, + message: 'Group created successfully', + }, + 'admin.product.updateGroup': { + group: { id: 5, groupName: 'Meat', description: 'Bundle', createdAt: '2024-01-01' }, + message: 'Group updated successfully', + }, +} + +const existingGroup: ProductGroup = { + id: 5, + groupName: 'Beef Box', + description: 'Bundle', + createdAt: '2024-01-01T00:00:00.000Z', + products: [{ id: 10 }, { id: 11 }], + productCount: 2, +} + +describe('ProductGroupForm', () => { + beforeEach(async () => { + await resetStorage() + setupApiMocks({ procedures }) + jest.spyOn(console, 'error').mockImplementation(() => {}) + }) + + it('renders in create mode', () => { + renderWithProviders( + + ) + + expect(screen.getByText('Create Product Group')).toBeVisible() + expect(screen.getByText('Group Name *')).toBeVisible() + expect(screen.getByText('Description')).toBeVisible() + expect(screen.getByText('Save')).toBeVisible() + }) + + it('renders in edit mode with the group seeded', () => { + renderWithProviders( + + ) + + expect(screen.getByText('Edit Product Group')).toBeVisible() + expect(screen.getByDisplayValue('Beef Box')).toBeVisible() + expect(screen.getByDisplayValue('Bundle')).toBeVisible() + }) + + it('blocks submission when the group name is empty', async () => { + const { fetchMock } = setupApiMocks({ procedures }) + renderWithProviders( + + ) + + fireEvent.press(screen.getByText('Save')) + + expect(await screen.findByText('Group name is required')).toBeVisible() + expect(procCount(fetchMock, 'admin.product.createGroup')).toBe(0) + }) + + it('creates a group with the entered values', async () => { + const { fetchMock } = setupApiMocks({ procedures }) + const onSuccess = jest.fn() + renderWithProviders( + + ) + + fireEvent.changeText(screen.getByPlaceholderText('Enter group name'), 'Meat') + fireEvent.changeText( + screen.getByPlaceholderText('Enter description (optional)'), + 'Protein' + ) + fireEvent.press(screen.getByText('Save')) + + await waitFor(() => expectProcedureCalled(fetchMock, 'admin.product.createGroup')) + expect(lastProcedureInput(fetchMock, 'admin.product.createGroup')).toEqual({ + group_name: 'Meat', + description: 'Protein', + product_ids: [], + }) + await waitFor(() => expect(onSuccess).toHaveBeenCalledTimes(1)) + }) + + it('creates a group carrying the selected SKU ids as product_ids', async () => { + const { fetchMock } = setupApiMocks({ procedures }) + renderWithProviders( + + ) + + await waitFor(() => + expectProcedureCalled(fetchMock, 'common.product.getAllSkusSummary') + ) + fireEvent.changeText(screen.getByPlaceholderText('Enter group name'), 'Meat') + fireEvent.press(screen.getByText('Select products')) + fireEvent.press(await screen.findByLabelText('undefined-option-1')) + fireEvent.press(screen.getByText('Save')) + + await waitFor(() => expectProcedureCalled(fetchMock, 'admin.product.createGroup')) + // Observed bug: product_ids contains the selected SKU id (1), not product id 10. + expect(lastProcedureInput(fetchMock, 'admin.product.createGroup')).toMatchObject({ + group_name: 'Meat', + product_ids: [1], + }) + }) + + it('updates the group with its seeded product ids', async () => { + const { fetchMock } = setupApiMocks({ procedures }) + const onSuccess = jest.fn() + renderWithProviders( + + ) + + fireEvent.changeText(screen.getByDisplayValue('Beef Box'), 'Beef Combo') + fireEvent.press(screen.getByText('Save')) + + await waitFor(() => expectProcedureCalled(fetchMock, 'admin.product.updateGroup')) + expect(lastProcedureInput(fetchMock, 'admin.product.updateGroup')).toEqual({ + id: 5, + group_name: 'Beef Combo', + description: 'Bundle', + product_ids: [10, 11], + }) + await waitFor(() => expect(onSuccess).toHaveBeenCalledTimes(1)) + }) + + it('invalidates the getGroups query with the tRPC array key on create and update', async () => { + // Spy on an injected client: utils.admin.product.getGroups.invalidate() calls + // queryClient.invalidateQueries({ queryKey }), and getGroups is not mounted by + // this form, so nothing hits fetch — the invalidation itself is the observable. + const client = createQueryClient() + const invalidateSpy = jest.spyOn(client, 'invalidateQueries') // keeps calling through + + // tRPC keys are [pathArray, ...]. The old bug passed a dotted string + // ('admin.product.getGroups'); only the array form is correct. + const pathOf = (call: unknown[]) => { + const key = (call[0] as { queryKey?: unknown[] } | undefined)?.queryKey + return Array.isArray(key) ? key[0] : null + } + + // Create path — same props/flow as 'creates a group with the entered values'. + const created = renderWithProviders( + , + { queryClient: client } + ) + fireEvent.changeText(screen.getByPlaceholderText('Enter group name'), 'Meat') + fireEvent.press(screen.getByText('Save')) + + await waitFor(() => expect(invalidateSpy).toHaveBeenCalled()) + expect(invalidateSpy.mock.calls.map(pathOf)).toContainEqual([ + 'admin', + 'product', + 'getGroups', + ]) + + created.unmount() + + // Update path — same props/flow as 'updates the group with its seeded product ids'. + const callsAfterCreate = invalidateSpy.mock.calls.length + renderWithProviders( + , + { queryClient: client } + ) + fireEvent.press(screen.getByText('Save')) + + await waitFor(() => + expect(invalidateSpy.mock.calls.length).toBeGreaterThan(callsAfterCreate) + ) + expect(invalidateSpy.mock.calls.slice(callsAfterCreate).map(pathOf)).toContainEqual([ + 'admin', + 'product', + 'getGroups', + ]) + }) + + it('calls onClose from the Cancel button', () => { + const onClose = jest.fn() + renderWithProviders( + + ) + + fireEvent.press(screen.getByText('Cancel')) + + expect(onClose).toHaveBeenCalledTimes(1) + }) + + it('calls onClose from the header close icon', () => { + const onClose = jest.fn() + renderWithProviders( + + ) + + const closeIcon = screen + .UNSAFE_getAllByType(MaterialIcons) + .find((i) => i.props.name === 'close') as Parameters[0] + fireEvent.press(closeIcon) + + expect(onClose).toHaveBeenCalledTimes(1) + }) +}) \ No newline at end of file diff --git a/apps/admin-ui/tests/components/product-list-dialog.test.tsx b/apps/admin-ui/tests/components/product-list-dialog.test.tsx new file mode 100644 index 0000000..3e50efc --- /dev/null +++ b/apps/admin-ui/tests/components/product-list-dialog.test.tsx @@ -0,0 +1,46 @@ +/** + * ProductListDialog (components/ProductListDialog.tsx) — a read-only bottom + * dialog listing the products passed in as props. + */ + +import React from 'react' +import { screen } from '@testing-library/react-native' + +import { ProductListDialog } from '@/components/ProductListDialog' +import { renderWithProviders } from '../helpers/render' + +const products = [ + { id: 1, name: 'Chicken' }, + { id: 2, name: 'Mutton' }, + { id: 3, name: 'Fish' }, +] + +describe('ProductListDialog', () => { + it('renders the product count and each product when open', () => { + renderWithProviders( + + ) + + expect(screen.getByText('Products (3)')).toBeVisible() + expect(screen.getByText('Chicken')).toBeVisible() + expect(screen.getByText('Mutton')).toBeVisible() + expect(screen.getByText('Fish')).toBeVisible() + }) + + it('shows a count of zero for an empty list', () => { + renderWithProviders( + + ) + + expect(screen.getByText('Products (0)')).toBeVisible() + }) + + it('hides its content while closed', () => { + renderWithProviders( + + ) + + // A closed Modal does not mount its children in the tree. + expect(screen.queryByText('Products (3)')).toBeNull() + }) +}) diff --git a/apps/admin-ui/tests/components/products-selector.test.tsx b/apps/admin-ui/tests/components/products-selector.test.tsx new file mode 100644 index 0000000..0f50606 --- /dev/null +++ b/apps/admin-ui/tests/components/products-selector.test.tsx @@ -0,0 +1,173 @@ +/** + * ProductsSelector (components/ProductsSelector.tsx) — a dropdown-backed SKU + * picker with optional product-group selection. + */ + +import React from 'react' +import { act, fireEvent, screen, waitFor } from '@testing-library/react-native' + +import ProductsSelector from '@/components/ProductsSelector' +import { resetStorage, setupApiMocks } from '../mocks/api' +import { expectProcedureCalled, lastProcedureInput } from '../mocks/procedures' +import { renderWithProviders } from '../helpers/render' + +const skus = [ + { id: 1, productId: 10, productName: 'Chicken', label: 'Chicken 1kg' }, + { id: 2, productId: 11, productName: 'Mutton', label: 'Mutton 1kg' }, +] + +const skusResponse = { skus } + +describe('ProductsSelector', () => { + beforeEach(async () => { + await resetStorage() + }) + + it('loads SKUs from getAllSkusSummary', async () => { + const api = setupApiMocks({ + procedures: { 'common.product.getAllSkusSummary': skusResponse }, + }) + renderWithProviders() + + await waitFor(() => + expectProcedureCalled(api.fetchMock, 'common.product.getAllSkusSummary') + ) + expect(screen.getByTestId('sku-select')).toBeVisible() + }) + + it('selects a product and reports the numeric id', async () => { + const api = setupApiMocks({ + procedures: { 'common.product.getAllSkusSummary': skusResponse }, + }) + const onChange = jest.fn() + renderWithProviders( + + ) + + await waitFor(() => + expectProcedureCalled(api.fetchMock, 'common.product.getAllSkusSummary') + ) + await waitFor(() => expect(screen.getByTestId('sku-select')).toBeVisible()) + fireEvent.press(screen.getByTestId('sku-select')) + fireEvent.press(await screen.findByTestId('sku-select-option-1')) + + expect(onChange).toHaveBeenCalledWith(1) + }) + + it('toggles multiple selection', async () => { + const api = setupApiMocks({ + procedures: { 'common.product.getAllSkusSummary': skusResponse }, + }) + const onChange = jest.fn() + renderWithProviders( + + ) + + await waitFor(() => + expectProcedureCalled(api.fetchMock, 'common.product.getAllSkusSummary') + ) + fireEvent.press(screen.getByTestId('sku-select')) + fireEvent.press(await screen.findByTestId('sku-select-option-2')) + + expect(onChange).toHaveBeenCalledWith([1, 2]) + }) + + it('adds a group\'s SKUs when a group is selected', async () => { + const api = setupApiMocks({ + procedures: { 'common.product.getAllSkusSummary': skusResponse }, + }) + const onChange = jest.fn() + const onGroupChange = jest.fn() + renderWithProviders( + + ) + + await waitFor(() => + expectProcedureCalled(api.fetchMock, 'common.product.getAllSkusSummary') + ) + await waitFor(() => expect(screen.getByTestId('product-groups-dropdown')).toBeVisible()) + // Opening the SKU dropdown proves allSkus has loaded into state. + fireEvent.press(screen.getByTestId('sku-select')) + await screen.findByTestId('sku-select-option-1') + fireEvent.press(screen.getByTestId('product-groups-dropdown')) + fireEvent.press(await screen.findByTestId('product-groups-dropdown-option-100')) + + expect(onGroupChange).toHaveBeenCalledWith([100]) + expect(onChange).toHaveBeenCalledWith([1]) + }) + + it('labels a SKU that came from a selected group', async () => { + const api = setupApiMocks({ + procedures: { 'common.product.getAllSkusSummary': skusResponse }, + }) + renderWithProviders( + + ) + + await waitFor(() => + expectProcedureCalled(api.fetchMock, 'common.product.getAllSkusSummary') + ) + await waitFor(() => expect(screen.getByTestId('sku-select')).toBeVisible()) + fireEvent.press(screen.getByTestId('sku-select')) + + expect(await screen.findByTestId('sku-select-option-1')).toBeVisible() + // The "(from group)" suffix marks the grouped SKU. + expect(screen.getByText(/from group/)).toBeVisible() + }) + + it('applies a custom labelFormat', async () => { + const api = setupApiMocks({ + procedures: { 'common.product.getAllSkusSummary': skusResponse }, + }) + renderWithProviders( + `#${sku.id} ${sku.label}`} + showGroups={false} + testID="sku-select" + /> + ) + + await waitFor(() => + expectProcedureCalled(api.fetchMock, 'common.product.getAllSkusSummary') + ) + await waitFor(() => expect(screen.getByTestId('sku-select')).toBeVisible()) + fireEvent.press(screen.getByTestId('sku-select')) + + expect(await screen.findByText(/#1 Chicken 1kg/)).toBeVisible() + }) + + it('passes the search query to filtering', async () => { + const api = setupApiMocks({ + procedures: { 'common.product.getAllSkusSummary': skusResponse }, + }) + renderWithProviders() + + await waitFor(() => + expectProcedureCalled(api.fetchMock, 'common.product.getAllSkusSummary') + ) + await waitFor(() => expect(screen.getByTestId('sku-select')).toBeVisible()) + fireEvent.press(screen.getByTestId('sku-select')) + + act(() => { + fireEvent.changeText(screen.getByTestId('sku-select-search'), 'mutton') + }) + await waitFor(() => expect(screen.getByTestId('sku-select-option-2')).toBeVisible()) + expect(screen.queryByTestId('sku-select-option-1')).toBeNull() + }) +}) diff --git a/apps/admin-ui/tests/components/slot-form.test.tsx b/apps/admin-ui/tests/components/slot-form.test.tsx new file mode 100644 index 0000000..73e8bbf --- /dev/null +++ b/apps/admin-ui/tests/components/slot-form.test.tsx @@ -0,0 +1,214 @@ +/** + * SlotForm component (components/SlotForm.tsx) — create/update mutations, + * validation and vendor-snippet handling. + */ + +import React from 'react' +import { Alert } from 'react-native' +import { fireEvent, screen, waitFor } from '@testing-library/react-native' + +import SlotForm from '@/components/SlotForm' +import { setupApiMocks, resetStorage } from '../mocks/api' +import { resetStaffAuthMock } from '../mocks/staff-auth' +import { expectProcedureCalled, lastProcedureInput, procCount } from '../mocks/procedures' +import { searchParamsMock } from '../mocks/router' +import { renderWithProviders } from '../helpers/render' + +const DELIVERY = new Date('2026-10-01T10:00:00.000Z') +const FREEZE = new Date('2026-10-01T06:00:00.000Z') + +const procedures = { + 'admin.product.getGroups': { groups: [] }, + 'common.product.getAllSkusSummary': { skus: [] }, + 'admin.slots.createSlot': { + slot: { id: 10 }, + createdSnippets: [], + message: 'Slot created successfully', + }, + 'admin.slots.updateSlot': { + slot: { id: 7 }, + createdSnippets: [], + message: 'Slot updated successfully', + }, +} + +describe('SlotForm', () => { + beforeEach(async () => { + resetStaffAuthMock() + await resetStorage() + searchParamsMock.current = {} + setupApiMocks({ procedures }) + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + }) + + it('renders the create form', () => { + renderWithProviders( + + ) + + expect(screen.getByText('Create New Slot')).toBeVisible() + expect(screen.getByText('Create Slot')).toBeVisible() + expect(screen.getByText('Vendor Snippets')).toBeVisible() + expect(screen.getByText('Add Vendor Snippet')).toBeVisible() + }) + + it('blocks submit when a time is missing', async () => { + const { fetchMock } = setupApiMocks({ procedures }) + + renderWithProviders() + fireEvent.press(screen.getByTestId('create-slot-button')) + + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith('Error', 'Please fill all fields') + ) + expect(procCount(fetchMock, 'admin.slots.createSlot')).toBe(0) + }) + + it('blocks submit when freeze time is after delivery time', async () => { + const { fetchMock } = setupApiMocks({ procedures }) + + renderWithProviders( + + ) + fireEvent.press(screen.getByTestId('create-slot-button')) + + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith( + 'Error', + 'Freeze time must be before or equal to delivery time' + ) + ) + expect(procCount(fetchMock, 'admin.slots.createSlot')).toBe(0) + }) + + it('creates a slot with the mapped payload and calls onSlotAdded', async () => { + const { fetchMock } = setupApiMocks({ procedures }) + const onSlotAdded = jest.fn() + + renderWithProviders( + + ) + + fireEvent.press(screen.getByTestId('create-slot-button')) + + await waitFor(() => + expectProcedureCalled(fetchMock, 'admin.slots.createSlot') + ) + + expect(lastProcedureInput(fetchMock, 'admin.slots.createSlot')).toEqual({ + deliveryTime: '2026-10-01T10:00:00.000Z', + freezeTime: '2026-10-01T06:00:00.000Z', + isActive: true, + groupIds: [3], + skuIds: [11, 12], + vendorSnippets: [], + }) + await waitFor(() => expect(onSlotAdded).toHaveBeenCalled()) + expect(Alert.alert).toHaveBeenCalledWith('Success', 'Slot created successfully!') + }) + + it('includes an added vendor snippet in the create payload', async () => { + const { fetchMock } = setupApiMocks({ procedures }) + + renderWithProviders( + + ) + + fireEvent.press(screen.getByText('Add Vendor Snippet')) + fireEvent.changeText( + screen.getByPlaceholderText('Enter snippet name'), + 'Diwali Promo' + ) + fireEvent.press(screen.getByTestId('create-slot-button')) + + await waitFor(() => + expectProcedureCalled(fetchMock, 'admin.slots.createSlot') + ) + + expect( + (lastProcedureInput(fetchMock, 'admin.slots.createSlot') as any).vendorSnippets + ).toEqual([{ name: 'Diwali Promo', skuIds: [], validTill: '' }]) + }) + + it('updates an existing slot in edit mode', async () => { + const { fetchMock } = setupApiMocks({ procedures }) + const onSlotAdded = jest.fn() + + renderWithProviders( + + ) + + expect(screen.getByText('Edit Slot')).toBeVisible() + fireEvent.press(screen.getByTestId('create-slot-button')) + + await waitFor(() => + expectProcedureCalled(fetchMock, 'admin.slots.updateSlot') + ) + expectProcedureCalled(fetchMock, 'admin.slots.getSlotById') + + expect(lastProcedureInput(fetchMock, 'admin.slots.updateSlot')).toEqual({ + id: 7, + deliveryTime: '2026-10-01T10:00:00.000Z', + freezeTime: '2026-10-01T06:00:00.000Z', + isActive: true, + groupIds: [], + skuIds: [11], + vendorSnippets: [], + }) + await waitFor(() => expect(onSlotAdded).toHaveBeenCalled()) + expect(Alert.alert).toHaveBeenCalledWith('Success', 'Slot updated successfully!') + }) + + it('refetches the mounted slot detail after a successful update in edit mode', async () => { + const { fetchMock } = setupApiMocks({ procedures }) + + renderWithProviders( + + ) + + // Edit mode mounts `admin.slots.getSlotById` with enabled: true, so there is + // a live query under `admin.slots` for the invalidation to refetch. + await waitFor(() => + expect(procCount(fetchMock, 'admin.slots.getSlotById')).toBeGreaterThan(0) + ) + + // Baseline captured immediately before the press: the tests share one + // module-singleton httpBatchLink client, so counts can leak across cases — + // assert a delta, never an absolute number. + const before = procCount(fetchMock, 'admin.slots.getSlotById') + + fireEvent.press(screen.getByTestId('create-slot-button')) + + await waitFor(() => + expectProcedureCalled(fetchMock, 'admin.slots.updateSlot') + ) + + // `utils.admin.slots.invalidate()` (SlotForm.tsx update onSuccess) invalidates + // the whole `admin.slots` path, which refetches the mounted detail query. + await waitFor(() => + expect(procCount(fetchMock, 'admin.slots.getSlotById')).toBeGreaterThan( + before + ) + ) + }) +}) diff --git a/apps/admin-ui/tests/components/snippet-menu.test.tsx b/apps/admin-ui/tests/components/snippet-menu.test.tsx new file mode 100644 index 0000000..7eb772c --- /dev/null +++ b/apps/admin-ui/tests/components/snippet-menu.test.tsx @@ -0,0 +1,133 @@ +/** + * SnippetMenu (components/SnippetMenu.tsx) — per-snippet options dialog: + * view orders, edit, copy URL and delete with confirmation. + * + * The trigger has no testID, so it is located as the first TouchableOpacity + * rendered by the component (the dialog's backdrop only mounts while open). + */ + +import React from 'react' +import { Alert, Clipboard, TouchableOpacity } from 'react-native' +import { act, fireEvent, screen, waitFor } from '@testing-library/react-native' +import Toast from 'react-native-toast-message' + +import { SnippetMenu } from '@/components/SnippetMenu' +import type { VendorSnippet } from '@/types/vendor-snippets' +import { renderWithProviders } from '../helpers/render' + +const snippet: VendorSnippet = { + id: 5, + snippetCode: 'VS_5', + slotId: 2, + isPermanent: false, + skuIds: [10], + products: [{ id: 10, name: 'Chicken' }], + validTill: null, + createdAt: '2026-01-01T00:00:00.000Z', + accessUrl: 'https://app.freshyo.in/vendor-order-list?id=VS_5', +} + +const onEdit = jest.fn() +const onDelete = jest.fn() +const onViewOrders = jest.fn() + +const renderMenu = (overrides: Partial = {}) => + renderWithProviders( + + ) + +const openMenu = (result: ReturnType) => { + fireEvent.press(result.UNSAFE_getAllByType(TouchableOpacity)[0]) +} + +const pressLastAlertButton = (label: string) => { + const calls = (Alert.alert as jest.Mock).mock.calls + const call = calls[calls.length - 1] + const buttons = (call?.[2] ?? []) as { text: string; onPress?: () => void }[] + act(() => buttons.find((b) => b.text === label)?.onPress?.()) +} + +describe('SnippetMenu', () => { + beforeEach(() => { + onEdit.mockClear() + onDelete.mockClear() + onViewOrders.mockClear() + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + jest.spyOn(Clipboard, 'setString').mockImplementation(async () => {}) + }) + + it('opens the options dialog with every action', async () => { + const result = renderMenu() + + expect(screen.queryByText('Snippet Options')).toBeNull() + openMenu(result) + + expect(await screen.findByText('Snippet Options')).toBeVisible() + expect(screen.getByText('View Orders')).toBeVisible() + expect(screen.getByText('Edit')).toBeVisible() + expect(screen.getByText('Copy URL')).toBeVisible() + expect(screen.getByText('Delete')).toBeVisible() + }) + + it('calls onViewOrders with the snippet code', async () => { + const result = renderMenu() + openMenu(result) + + fireEvent.press(await screen.findByText('View Orders')) + expect(onViewOrders).toHaveBeenCalledWith('VS_5') + }) + + it('calls onEdit with the snippet', async () => { + const result = renderMenu() + openMenu(result) + + fireEvent.press(await screen.findByText('Edit')) + expect(onEdit).toHaveBeenCalledWith(expect.objectContaining({ id: 5 })) + }) + + it('asks for confirmation before deleting and calls onDelete', async () => { + const result = renderMenu() + openMenu(result) + + fireEvent.press(await screen.findByText('Delete')) + + expect(Alert.alert).toHaveBeenCalledWith( + 'Delete Snippet', + 'Are you sure you want to delete this vendor snippet?', + expect.any(Array) + ) + expect(onDelete).not.toHaveBeenCalled() + + pressLastAlertButton('Delete') + expect(onDelete).toHaveBeenCalledWith(5) + }) + + it('copies the access URL to the clipboard', async () => { + const result = renderMenu() + openMenu(result) + + fireEvent.press(await screen.findByText('Copy URL')) + + await waitFor(() => + expect(Clipboard.setString).toHaveBeenCalledWith(snippet.accessUrl) + ) + expect(Toast.show).toHaveBeenCalledWith( + expect.objectContaining({ type: 'success', text1: 'URL copied to clipboard' }) + ) + }) + + it('alerts when there is no URL to copy', async () => { + const result = renderMenu({ accessUrl: undefined }) + openMenu(result) + + fireEvent.press(await screen.findByText('Copy URL')) + + expect(Alert.alert).toHaveBeenCalledWith('Error', 'No URL available to copy') + expect(Clipboard.setString).not.toHaveBeenCalled() + }) +}) diff --git a/apps/admin-ui/tests/components/snippet-orders-view.test.tsx b/apps/admin-ui/tests/components/snippet-orders-view.test.tsx new file mode 100644 index 0000000..7eb3293 --- /dev/null +++ b/apps/admin-ui/tests/components/snippet-orders-view.test.tsx @@ -0,0 +1,94 @@ +/** + * SnippetOrdersView (components/SnippetOrdersView.tsx) — read-only list of the + * orders matched by a vendor snippet, with per-order totals and an empty state. + */ + +import React from 'react' +import { fireEvent, screen } from '@testing-library/react-native' + +import SnippetOrdersView from '@/components/SnippetOrdersView' +import { renderWithProviders } from '../helpers/render' + +type Order = React.ComponentProps['orders'][number] + +const order = (overrides: Partial = {}): Order => ({ + orderId: 'ORD1', + orderDate: '2026-01-02T09:00:00.000Z', + customerName: 'Alice', + totalAmount: '100.00', + slotInfo: { time: '2026-01-03T10:00:00.000Z', sequence: [] }, + snippetCode: 'VS_5', + matchedProducts: [10], + products: [ + { + productId: 10, + productName: 'Chicken', + quantity: 2, + price: 50, + unit: 'kg', + subtotal: 100, + }, + ], + ...overrides, +}) + +describe('SnippetOrdersView', () => { + it('renders the header with snippet code, count and revenue', () => { + renderWithProviders( + + ) + + expect(screen.getByText('Orders for "VS_5"')).toBeVisible() + expect(screen.getByText('2 orders • Total: ₹150.50')).toBeVisible() + }) + + it('pluralises a single order', () => { + renderWithProviders( + + ) + + expect(screen.getByText('1 order • Total: ₹100.00')).toBeVisible() + }) + + it('renders an order card with products and the matched flag', () => { + renderWithProviders( + + ) + + expect(screen.getByText('ORD1')).toBeVisible() + expect(screen.getByText('Alice')).toBeVisible() + // Order total + product subtotal both render ₹100.00. + expect(screen.getAllByText('₹100.00')).toHaveLength(2) + expect(screen.getByText('Chicken ⭐')).toBeVisible() + expect(screen.getByText('2 kg × ₹50')).toBeVisible() + expect( + screen.getByText('Matched 1 product(s) from snippet "VS_5"') + ).toBeVisible() + }) + + it('shows the empty state when there are no matching orders', () => { + renderWithProviders( + + ) + + expect(screen.getByText('0 orders • Total: ₹0.00')).toBeVisible() + expect(screen.getByText('No matching orders')).toBeVisible() + expect( + screen.getByText("No orders found that match this snippet's criteria") + ).toBeVisible() + }) + + it('closes via the header button', () => { + const onClose = jest.fn() + renderWithProviders( + + ) + + fireEvent.press(screen.getByText('✕')) + expect(onClose).toHaveBeenCalled() + }) +}) diff --git a/apps/admin-ui/tests/components/store-form.test.tsx b/apps/admin-ui/tests/components/store-form.test.tsx new file mode 100644 index 0000000..cca1e65 --- /dev/null +++ b/apps/admin-ui/tests/components/store-form.test.tsx @@ -0,0 +1,183 @@ +/** + * StoreForm component (components/StoreForm.tsx) — validation, owner/product + * selection and the submit payload. + */ + +import React from 'react' +import { Alert } from 'react-native' +import { act, fireEvent, screen, waitFor } from '@testing-library/react-native' + +import StoreForm, { StoreFormData } from '@/components/StoreForm' +import { setupApiMocks, resetStorage } from '../mocks/api' +import { resetStaffAuthMock } from '../mocks/staff-auth' +import { expectProcedureCalled } from '../mocks/procedures' +import { searchParamsMock } from '../mocks/router' +import { renderWithProviders } from '../helpers/render' + +const CREATE_INITIAL: StoreFormData = { + name: '', + description: '', + owner: 0, + products: [], +} + +const procedures = { + 'admin.staffUser.getStaff': { + staff: [ + { id: 1, name: 'shafi', role: null, permissions: [] }, + { id: 2, name: 'naveen', role: null, permissions: [] }, + ], + }, + 'admin.product.getProducts': { products: [], count: 0 }, + 'common.product.getAllSkusSummary': { + skus: [ + { + id: 11, + productId: 1, + productName: 'Chicken', + label: 'Chicken 1kg', + images: [], + storeId: null, + price: '100', + }, + ], + }, +} + +describe('StoreForm', () => { + beforeEach(async () => { + resetStaffAuthMock() + await resetStorage() + searchParamsMock.current = {} + setupApiMocks({ procedures }) + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + }) + + it('renders the create form', async () => { + const onSubmit = jest.fn() + renderWithProviders( + + ) + + expect(screen.getByPlaceholderText('Enter store name')).toBeVisible() + expect(screen.getByPlaceholderText('Enter store description')).toBeVisible() + expect(screen.getByText('Select owner')).toBeVisible() + expect(screen.getByText('Select products')).toBeVisible() + expect(screen.getByText('Create Store')).toBeVisible() + }) + + it('BUG: submits even when the name is empty (validation is bypassed)', async () => { + const onSubmit = jest.fn() + renderWithProviders( + + ) + + fireEvent.press(screen.getByText('Create Store')) + await act(async () => { + await Promise.resolve() + await Promise.resolve() + }) + + // Intended: Yup `name` is required and Formik should block this. + // Actual: the button calls the `onSubmit` prop directly, so the + // validationSchema never runs. + expect(onSubmit).toHaveBeenCalledWith( + expect.objectContaining({ name: '' }) + ) + }) + + it('submits the typed name with the selected owner and product', async () => { + const onSubmit = jest.fn() + renderWithProviders( + + ) + + fireEvent.changeText( + screen.getByPlaceholderText('Enter store name'), + 'Freshyo Form' + ) + + fireEvent.press(screen.getByText('Select owner')) + fireEvent.press(await screen.findByText('naveen')) + + fireEvent.press(screen.getByText('Select products')) + fireEvent.press(await screen.findByText('Chicken - ₹100')) + + fireEvent.press(screen.getByText('Create Store')) + + await waitFor(() => + expect(onSubmit).toHaveBeenCalledWith({ + name: 'Freshyo Form', + description: '', + owner: 2, + products: [11], + imageUrl: undefined, + }) + ) + }) + + it('renders edit mode with prefilled values and the update label', () => { + const onSubmit = jest.fn() + renderWithProviders( + + ) + + expect(screen.getByDisplayValue('Existing')).toBeVisible() + expect(screen.getByDisplayValue('Old description')).toBeVisible() + expect(screen.getByText('Update Store')).toBeVisible() + }) + + it('shows the pending label when isLoading', () => { + renderWithProviders( + + ) + + expect(screen.getByText('Creating...')).toBeVisible() + }) + + it('loads staff and products', async () => { + const { fetchMock } = setupApiMocks({ procedures }) + renderWithProviders( + + ) + + await waitFor(() => expectProcedureCalled(fetchMock, 'admin.staffUser.getStaff')) + expectProcedureCalled(fetchMock, 'admin.product.getProducts') + }) +}) diff --git a/apps/admin-ui/tests/components/tag-form.test.tsx b/apps/admin-ui/tests/components/tag-form.test.tsx new file mode 100644 index 0000000..6fa7a4f --- /dev/null +++ b/apps/admin-ui/tests/components/tag-form.test.tsx @@ -0,0 +1,160 @@ +/** + * TagForm (src/components/TagForm.tsx) — name/description fields, dashboard + * checkbox, related-store dropdown, product selection and submit payload. + * + * The submit button has no testID in source; it is located by its label. + */ + +import React from 'react' +import { fireEvent, screen, waitFor } from '@testing-library/react-native' + +import TagForm from '@/src/components/TagForm' +import { resetStorage, setupApiMocks } from '../mocks/api' +import { expectProcedureCalled } from '../mocks/procedures' +import { renderWithProviders } from '../helpers/render' + +const baseValues = { + tagName: 'Bestsellers', + tagDescription: 'Top picks', + isDashboardTag: false, + relatedStores: [], + productIds: [], +} + +const stores = [ + { id: 1, name: 'Main Store' }, + { id: 2, name: 'Second Store' }, +] + +const skusResponse = { + skus: [ + { id: 1, productId: 10, productName: 'Chicken', label: 'Chicken 1kg' }, + { id: 2, productId: 11, productName: 'Mutton', label: 'Mutton 1kg' }, + ], +} + +describe('TagForm', () => { + beforeEach(async () => { + await resetStorage() + }) + + it('renders the create-mode fields with seeded values', () => { + setupApiMocks({ + procedures: { 'common.product.getAllSkusSummary': skusResponse }, + }) + renderWithProviders( + + ) + + expect(screen.getByDisplayValue('Bestsellers')).toBeVisible() + expect(screen.getByDisplayValue('Top picks')).toBeVisible() + expect(screen.getByText('Mark as Dashboard Tag')).toBeVisible() + expect(screen.getByText('Create Tag')).toBeVisible() + expect(screen.getByText('No products selected yet')).toBeVisible() + }) + + it('shows edit-mode labels', () => { + setupApiMocks({ + procedures: { 'common.product.getAllSkusSummary': skusResponse }, + }) + renderWithProviders( + + ) + + expect(screen.getByText('Update Tag')).toBeVisible() + expect(screen.getByText('Tag Image (Upload new to replace)')).toBeVisible() + }) + + it('shows the submit-progress label', () => { + setupApiMocks({ + procedures: { 'common.product.getAllSkusSummary': skusResponse }, + }) + renderWithProviders( + + ) + + expect(screen.getByText('Creating...')).toBeVisible() + expect(screen.queryByText('Create Tag')).toBeNull() + }) + + it('submits the current form values', async () => { + const onSubmit = jest.fn() + setupApiMocks({ + procedures: { 'common.product.getAllSkusSummary': skusResponse }, + }) + renderWithProviders( + + ) + + fireEvent.changeText(screen.getByDisplayValue('Bestsellers'), 'Featured') + fireEvent.press(screen.getByText('Create Tag')) + + await waitFor(() => expect(onSubmit).toHaveBeenCalledTimes(1)) + const [values, images, removedExisting] = onSubmit.mock.calls[0] + expect(values.tagName).toBe('Featured') + expect(values.tagDescription).toBe('Top picks') + expect(values.productIds).toEqual([]) + expect(images).toEqual([]) + expect(removedExisting).toBe(false) + }) + + it('toggles the dashboard-tag checkbox', async () => { + const onSubmit = jest.fn() + setupApiMocks({ + procedures: { 'common.product.getAllSkusSummary': skusResponse }, + }) + renderWithProviders( + + ) + + fireEvent.press(screen.getByRole('checkbox')) + fireEvent.press(screen.getByText('Create Tag')) + + await waitFor(() => expect(onSubmit).toHaveBeenCalledTimes(1)) + expect(onSubmit.mock.calls[0][0].isDashboardTag).toBe(true) + }) + + it('adds a selected product to the ordered list and submits its id', async () => { + const onSubmit = jest.fn() + const api = setupApiMocks({ + procedures: { 'common.product.getAllSkusSummary': skusResponse }, + }) + const result = renderWithProviders( + + ) + + await waitFor(() => + expectProcedureCalled(api.fetchMock, 'common.product.getAllSkusSummary') + ) + + // ProductsSelector is rendered without a testID. Open the SKU dropdown by + // its placeholder text, then pick the first option. + fireEvent.press(screen.getByText('Search and select products...')) + const option = await screen.findByLabelText('undefined-option-1') + fireEvent.press(option) + + await waitFor(() => expect(screen.getAllByText('Chicken 1kg').length).toBeGreaterThan(0)) + + fireEvent.press(screen.getByText('Create Tag')) + await waitFor(() => expect(onSubmit).toHaveBeenCalledTimes(1)) + expect(onSubmit.mock.calls[0][0].productIds).toEqual([10]) + }) + + it('renders seeded products from productIds', async () => { + setupApiMocks({ + procedures: { 'common.product.getAllSkusSummary': skusResponse }, + }) + renderWithProviders( + + ) + + await waitFor(() => expect(screen.getByText('Mutton 1kg')).toBeVisible()) + expect(screen.getByText(/1 items/)).toBeVisible() + }) +}) diff --git a/apps/admin-ui/tests/components/tag-menu.test.tsx b/apps/admin-ui/tests/components/tag-menu.test.tsx new file mode 100644 index 0000000..e20e940 --- /dev/null +++ b/apps/admin-ui/tests/components/tag-menu.test.tsx @@ -0,0 +1,118 @@ +/** + * TagMenu (src/components/TagMenu.tsx) — per-tag options menu: open dialog, + * navigate to edit, and delete with confirmation. + * + * The trigger has no testID in source, so it is located as the first + * TouchableOpacity rendered by the component. + */ + +jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + +import React from 'react' +import { Alert, TouchableOpacity } from 'react-native' +import { act, fireEvent, screen, waitFor } from '@testing-library/react-native' + +import { TagMenu } from '@/src/components/TagMenu' +import { resetStorage, setupApiMocks } from '../mocks/api' +import { + expectProcedureCalled, + lastProcedureInput, +} from '../mocks/procedures' +import { routerMock } from '../mocks/router' +import { renderWithProviders } from '../helpers/render' + +const openMenu = (result: ReturnType) => { + const trigger = result.UNSAFE_getAllByType(TouchableOpacity)[0] + fireEvent.press(trigger) +} + +const pressLastAlertButton = (label: string) => { + const calls = (Alert.alert as jest.Mock).mock.calls + const call = calls[calls.length - 1] + const buttons = (call?.[2] ?? []) as { text: string; onPress?: () => void }[] + act(() => buttons.find((b) => b.text === label)?.onPress?.()) +} + +describe('TagMenu', () => { + beforeEach(async () => { + await resetStorage() + setupApiMocks() + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + }) + + it('opens the options dialog', async () => { + const result = renderWithProviders() + + expect(screen.queryByText('Tag Options')).toBeNull() + openMenu(result) + + await waitFor(() => expect(screen.getByText('Tag Options')).toBeVisible()) + expect(screen.getByText('Edit Tag')).toBeVisible() + expect(screen.getByText('Delete Tag')).toBeVisible() + }) + + it('navigates to the edit screen', async () => { + const result = renderWithProviders() + openMenu(result) + + fireEvent.press(await screen.findByText('Edit Tag')) + expect(routerMock.push).toHaveBeenCalledWith( + '/(drawer)/dashboard/product-tags/edit?tagId=7' + ) + }) + + it('asks for confirmation before deleting', async () => { + const result = renderWithProviders() + openMenu(result) + + fireEvent.press(await screen.findByText('Delete Tag')) + + expect(Alert.alert).toHaveBeenCalledWith( + 'Delete Tag', + 'Are you sure you want to delete this tag? This action cannot be undone.', + expect.any(Array) + ) + }) + + it('deletes the tag and calls onDeleteSuccess', async () => { + const onDeleteSuccess = jest.fn() + const api = setupApiMocks({ + procedures: { + 'admin.product.deleteProductTag': { message: 'Tag deleted successfully' }, + }, + }) + const result = renderWithProviders( + + ) + openMenu(result) + + fireEvent.press(await screen.findByText('Delete Tag')) + pressLastAlertButton('Delete') + + await waitFor(() => expectProcedureCalled(api.fetchMock, 'admin.product.deleteProductTag')) + expect(lastProcedureInput(api.fetchMock, 'admin.product.deleteProductTag')).toEqual({ id: 7 }) + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith('Success', 'Tag deleted successfully') + ) + expect(onDeleteSuccess).toHaveBeenCalled() + }) + + it('shows an error alert when deletion fails', async () => { + setupApiMocks({ + procedures: { + 'admin.product.deleteProductTag': () => { + throw new Error('nope') + }, + }, + }) + const result = renderWithProviders() + openMenu(result) + + fireEvent.press(await screen.findByText('Delete Tag')) + pressLastAlertButton('Delete') + + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith('Error', expect.any(String)) + ) + }) +}) diff --git a/apps/admin-ui/tests/components/user-incidents-view.test.tsx b/apps/admin-ui/tests/components/user-incidents-view.test.tsx new file mode 100644 index 0000000..f8f9122 --- /dev/null +++ b/apps/admin-ui/tests/components/user-incidents-view.test.tsx @@ -0,0 +1,249 @@ +/** + * UserIncidentsView (components/UserIncidentsView.tsx) — incident list, empty + * state, add-incident dialog, validation and the addUserIncident mutation. + * + * HARNESS BUG WORKAROUND: tests/mocks/native.ts has a stray top-level `return` + * (line 89 → "'return' outside of function"). Re-mock the expo modules that + * `common-ui` eagerly imports locally. See report. + */ + +jest.mock('expo-image', () => { + const React = require('react') + const { View } = require('react-native') + const Image = (props: Record) => + React.createElement(View, { testID: 'mock-image', ...props }) + return { __esModule: true, Image, default: Image } +}) + +jest.mock('expo-image-picker', () => { + const asset = { uri: 'file:///tmp/pick.jpg', fileName: 'pick.jpg', mimeType: 'image/jpeg' } + return { + __esModule: true, + MediaTypeOptions: { Images: 'Images', All: 'All', Videos: 'Videos' }, + launchImageLibraryAsync: jest.fn(async () => ({ canceled: false, assets: [asset] })), + launchCameraAsync: jest.fn(async () => ({ canceled: false, assets: [asset] })), + requestMediaLibraryPermissionsAsync: jest.fn(async () => ({ granted: true, status: 'granted' })), + requestCameraPermissionsAsync: jest.fn(async () => ({ granted: true, status: 'granted' })), + } +}) + +jest.mock('expo-document-picker', () => ({ + __esModule: true, + getDocumentAsync: jest.fn(async () => ({ + canceled: false, + assets: [{ uri: 'file:///tmp/doc.pdf', name: 'doc.pdf', mimeType: 'application/pdf' }], + })), +})) + +import React from 'react' +import { Alert } from 'react-native' +import { fireEvent, screen, waitFor } from '@testing-library/react-native' + +import { UserIncidentsView } from '@/components/UserIncidentsView' +import { resetStorage, setupApiMocks } from '../mocks/api' +import { expectProcedureCalled, lastProcedureInput, procCount } from '../mocks/procedures' +import { resetStaffAuthMock } from '../mocks/staff-auth' +import { renderWithProviders } from '../helpers/render' + +const incident = { + id: 1, + userId: 3, + orderId: 7, + dateAdded: '2026-01-01T10:00:00.000Z', + adminComment: 'Abusive behaviour', + addedBy: 'shafi', + negativityScore: 5, + orderStatus: 'cancelled', +} + +const procedures = (overrides: Record = {}) => ({ + 'admin.user.getUserIncidents': { incidents: [incident] }, + 'admin.user.addUserIncident': { success: true, data: { id: 2 } }, + ...overrides, +}) + +const renderView = ( + props: { userId: number; orderId: number | null } = { userId: 3, orderId: null }, + overrides: Record = {} +) => { + const { fetchMock } = setupApiMocks({ procedures: procedures(overrides) }) + renderWithProviders() + return { fetchMock } +} + +const openDialog = async () => { + fireEvent.press(screen.getByText('Add Incident')) + await screen.findByText('Add User Incident') +} + +const submit = () => { + fireEvent.press(screen.getAllByText('Add Incident').pop()!) +} + +describe('UserIncidentsView', () => { + beforeEach(async () => { + resetStaffAuthMock() + await resetStorage() + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + }) + + it('renders the section header and add button', async () => { + renderView() + + expect(screen.getByText('User Incidents')).toBeVisible() + expect(screen.getByText('Add Incident')).toBeVisible() + await screen.findByText('Abusive behaviour') + }) + + it('queries incidents for the given user', async () => { + const { fetchMock } = renderView() + + await waitFor(() => + expectProcedureCalled(fetchMock, 'admin.user.getUserIncidents') + ) + expect(lastProcedureInput(fetchMock, 'admin.user.getUserIncidents')).toEqual({ + userId: 3, + }) + }) + + it('does not query when there is no user id', () => { + const { fetchMock } = renderView({ userId: 0, orderId: null }) + + expect(procCount(fetchMock, 'admin.user.getUserIncidents')).toBe(0) + }) + + it('renders each incident with its score, author and order', async () => { + renderView() + + expect(await screen.findByText('Abusive behaviour')).toBeVisible() + expect(screen.getByText('Score: 5')).toBeVisible() + expect(screen.getByText('Added by shafi')).toBeVisible() + expect(screen.getByText('Order #7')).toBeVisible() + expect(screen.getByText(/Jan 01, 2026/)).toBeVisible() + }) + + it('renders the empty state when there are no incidents', async () => { + renderView({ userId: 3, orderId: null }, { 'admin.user.getUserIncidents': { incidents: [] } }) + + expect( + await screen.findByText('No incidents recorded for this user') + ).toBeVisible() + }) + + it('renders the empty state when the query returns null', async () => { + renderView({ userId: 3, orderId: null }, { 'admin.user.getUserIncidents': null }) + + expect( + await screen.findByText('No incidents recorded for this user') + ).toBeVisible() + }) + + it('rejects an empty incident without calling the mutation', async () => { + const { fetchMock } = renderView() + await openDialog() + + submit() + + expect(Alert.alert).toHaveBeenCalledWith( + 'Error', + 'Please enter a comment or negativity score' + ) + expect(procCount(fetchMock, 'admin.user.addUserIncident')).toBe(0) + }) + + it('adds an incident with an admin comment', async () => { + const { fetchMock } = renderView() + await openDialog() + + fireEvent.changeText( + screen.getByPlaceholderText('Enter details about the incident...'), + 'Repeated cancellations' + ) + submit() + + await waitFor(() => expectProcedureCalled(fetchMock, 'admin.user.addUserIncident')) + expect(lastProcedureInput(fetchMock, 'admin.user.addUserIncident')).toEqual({ + userId: 3, + adminComment: 'Repeated cancellations', + }) + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith('Success', 'Incident added successfully') + ) + }) + + it('adds an incident with only a negativity score', async () => { + const { fetchMock } = renderView() + await openDialog() + + fireEvent.changeText(screen.getByPlaceholderText('0'), '7') + submit() + + await waitFor(() => expectProcedureCalled(fetchMock, 'admin.user.addUserIncident')) + expect(lastProcedureInput(fetchMock, 'admin.user.addUserIncident')).toEqual({ + userId: 3, + negativityScore: 7, + }) + }) + + it('adds an incident with a comment and score including the order id', async () => { + const { fetchMock } = renderView({ userId: 3, orderId: 7 }) + await openDialog() + + fireEvent.changeText( + screen.getByPlaceholderText('Enter details about the incident...'), + 'Rude call' + ) + fireEvent.changeText(screen.getByPlaceholderText('0'), '3') + submit() + + await waitFor(() => expectProcedureCalled(fetchMock, 'admin.user.addUserIncident')) + expect(lastProcedureInput(fetchMock, 'admin.user.addUserIncident')).toEqual({ + userId: 3, + orderId: 7, + adminComment: 'Rude call', + negativityScore: 3, + }) + }) + + it('refetches the incidents and closes the dialog after adding', async () => { + const { fetchMock } = renderView() + await screen.findByText('Abusive behaviour') + const before = procCount(fetchMock, 'admin.user.getUserIncidents') + + await openDialog() + fireEvent.changeText( + screen.getByPlaceholderText('Enter details about the incident...'), + 'Late arrival' + ) + submit() + + await waitFor(() => + expect(procCount(fetchMock, 'admin.user.getUserIncidents')).toBeGreaterThan(before) + ) + await waitFor(() => expect(screen.queryByText('Add User Incident')).toBeNull()) + }) + + it('shows the error alert when adding fails and keeps the dialog open', async () => { + const { fetchMock } = renderView( + { userId: 3, orderId: null }, + { + 'admin.user.addUserIncident': () => { + throw new Error('nope') + }, + } + ) + await openDialog() + + fireEvent.changeText( + screen.getByPlaceholderText('Enter details about the incident...'), + 'Something' + ) + submit() + + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith('Error', 'nope') + ) + expect(fetchMock).toBeTruthy() + expect(screen.getByText('Add User Incident')).toBeVisible() + }) +}) diff --git a/apps/admin-ui/tests/components/vendor-snippet-form.test.tsx b/apps/admin-ui/tests/components/vendor-snippet-form.test.tsx new file mode 100644 index 0000000..3163144 --- /dev/null +++ b/apps/admin-ui/tests/components/vendor-snippet-form.test.tsx @@ -0,0 +1,240 @@ +/** + * VendorSnippetForm (components/VendorSnippetForm.tsx) — create/edit form for + * vendor snippets: snippet-code validation, slot + product selection, and the + * create/update mutations. + */ + +import React from 'react' +import { Alert } from 'react-native' +import { fireEvent, screen, waitFor } from '@testing-library/react-native' + +import VendorSnippetForm from '@/components/VendorSnippetForm' +import { resetStorage, setupApiMocks } from '../mocks/api' +import { + expectProcedureCalled, + lastProcedureInput, + procCount, +} from '../mocks/procedures' +import { renderWithProviders } from '../helpers/render' + +const DELIVERY_TIME = '2026-12-31T10:00:00.000Z' +const SLOT_LABEL = new Date(DELIVERY_TIME).toLocaleString() + +const slotsResponse = { + slots: [{ id: 1, deliveryTime: DELIVERY_TIME, freezeTime: '2026-12-30T10:00:00.000Z' }], + count: 1, +} + +const skusResponse = { + skus: [{ id: 1, productId: 10, productName: 'Chicken', label: 'Chicken 1kg' }], +} + +const onClose = jest.fn() +const onSuccess = jest.fn() + +const renderForm = (snippet?: React.ComponentProps['snippet']) => + renderWithProviders( + + ) + +describe('VendorSnippetForm', () => { + beforeEach(async () => { + await resetStorage() + onClose.mockClear() + onSuccess.mockClear() + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + }) + + it('renders the create form with an auto-generated snippet code', async () => { + setupApiMocks({ + procedures: { + 'user.slots.getSlots': slotsResponse, + 'common.product.getAllSkusSummary': skusResponse, + }, + }) + renderForm() + + expect(screen.getByText('Create Vendor Snippet')).toBeVisible() + expect(screen.getByPlaceholderText('Enter snippet code')).toBeVisible() + expect(screen.getByText('Create Snippet')).toBeVisible() + + await waitFor(() => + expect(screen.getByPlaceholderText('Enter snippet code').props.value).toMatch(/^VS_/) + ) + }) + + it('validates slot and product selection before submitting', async () => { + const api = setupApiMocks({ + procedures: { + 'user.slots.getSlots': slotsResponse, + 'common.product.getAllSkusSummary': skusResponse, + }, + }) + renderForm() + + fireEvent.press(screen.getByText('Create Snippet')) + + expect(await screen.findByText('Slot selection is required')).toBeVisible() + expect(await screen.findByText('At least one product must be selected')).toBeVisible() + expect(procCount(api.fetchMock, 'admin.vendorSnippets.create')).toBe(0) + }) + + it('rejects a snippet code with invalid characters', async () => { + setupApiMocks({ + procedures: { + 'user.slots.getSlots': slotsResponse, + 'common.product.getAllSkusSummary': skusResponse, + }, + }) + renderForm() + + fireEvent.changeText( + screen.getByPlaceholderText('Enter snippet code'), + 'bad code!' + ) + fireEvent.press(screen.getByText('Create Snippet')) + + expect( + await screen.findByText( + 'Snippet code can only contain letters, numbers, and underscores' + ) + ).toBeVisible() + }) + + it('creates a snippet with the selected slot and products', async () => { + const api = setupApiMocks({ + procedures: { + 'user.slots.getSlots': slotsResponse, + 'common.product.getAllSkusSummary': skusResponse, + 'admin.vendorSnippets.create': { id: 5 }, + }, + }) + renderForm() + + fireEvent.press(screen.getByText('Choose a delivery slot')) + fireEvent.press(await screen.findByText(SLOT_LABEL)) + + fireEvent.press(screen.getByText('Select products')) + fireEvent.press(await screen.findByText('Chicken 1kg')) + fireEvent.press(screen.getByText('Done')) + + fireEvent.press(screen.getByText('Create Snippet')) + + await waitFor(() => expectProcedureCalled(api.fetchMock, 'admin.vendorSnippets.create')) + expect(lastProcedureInput(api.fetchMock, 'admin.vendorSnippets.create')).toEqual( + expect.objectContaining({ + isPermanent: false, + slotId: 1, + skuIds: [1], + }) + ) + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith( + 'Success', + 'Vendor snippet created successfully' + ) + ) + expect(onSuccess).toHaveBeenCalled() + expect(onClose).toHaveBeenCalled() + }) + + it('updates an existing snippet', async () => { + const api = setupApiMocks({ + procedures: { + 'user.slots.getSlots': slotsResponse, + 'common.product.getAllSkusSummary': skusResponse, + 'admin.vendorSnippets.update': { id: 3 }, + }, + }) + renderForm({ + id: 3, + snippetCode: 'VS_EXISTING', + slotId: 2, + isPermanent: false, + skuIds: [7], + validTill: '2027-01-01T00:00:00.000Z', + createdAt: '2026-01-01T00:00:00.000Z', + }) + + expect(screen.getByText('Edit Vendor Snippet')).toBeVisible() + fireEvent.press(screen.getByText('Update Snippet')) + + await waitFor(() => expectProcedureCalled(api.fetchMock, 'admin.vendorSnippets.update')) + expect(lastProcedureInput(api.fetchMock, 'admin.vendorSnippets.update')).toEqual({ + id: 3, + updates: expect.objectContaining({ + snippetCode: 'VS_EXISTING', + slotId: 2, + isPermanent: false, + skuIds: [7], + validTill: '2027-01-01T00:00:00.000Z', + }), + }) + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith( + 'Success', + 'Vendor snippet updated successfully' + ) + ) + }) + + it('allows a permanent snippet without a slot and hides the slot picker', async () => { + setupApiMocks({ + procedures: { + 'user.slots.getSlots': slotsResponse, + 'common.product.getAllSkusSummary': skusResponse, + }, + }) + renderForm() + + expect(screen.getByText('Choose a delivery slot')).toBeVisible() + fireEvent.press(screen.getByText('Is Permanent?')) + + await waitFor(() => expect(screen.queryByText('Choose a delivery slot')).toBeNull()) + + fireEvent.press(screen.getByText('Create Snippet')) + await waitFor(() => + expect(screen.queryByText('Slot selection is required')).toBeNull() + ) + }) + + it('shows an error alert when the mutation fails', async () => { + setupApiMocks({ + procedures: { + 'user.slots.getSlots': slotsResponse, + 'common.product.getAllSkusSummary': skusResponse, + 'admin.vendorSnippets.update': () => { + throw new Error('save failed') + }, + }, + }) + renderForm({ + id: 3, + snippetCode: 'VS_EXISTING', + slotId: 2, + isPermanent: false, + skuIds: [7], + validTill: null, + createdAt: '2026-01-01T00:00:00.000Z', + }) + + fireEvent.press(screen.getByText('Update Snippet')) + + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith('Error', expect.any(String)) + ) + }) + + it('cancels through the close button', () => { + setupApiMocks({ + procedures: { + 'user.slots.getSlots': slotsResponse, + 'common.product.getAllSkusSummary': skusResponse, + }, + }) + renderForm() + + fireEvent.press(screen.getByText('✕')) + expect(onClose).toHaveBeenCalled() + }) +}) diff --git a/apps/admin-ui/tests/contexts/staff-auth-context.test.tsx b/apps/admin-ui/tests/contexts/staff-auth-context.test.tsx new file mode 100644 index 0000000..b85d5ef --- /dev/null +++ b/apps/admin-ui/tests/contexts/staff-auth-context.test.tsx @@ -0,0 +1,185 @@ +/** + * staff-auth-context (components/context/staff-auth-context.tsx) — the REAL + * provider. tests/setup.ts mocks this module globally, so it is unmocked here. + * + * It imports the `@/utils/queryClient` singleton (cleared between tests) and + * needs expo-router (mocked) plus the trpc/React Query provider stack. + */ + +jest.unmock('@/components/context/staff-auth-context') +jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + +import React from 'react' +import { DeviceEventEmitter } from 'react-native' +import { act, fireEvent, screen, waitFor } from '@testing-library/react-native' +import { MyText, MyTouchableOpacity } from 'common-ui' + +import { + StaffAuthProvider, + useStaffAuth, +} from '@/components/context/staff-auth-context' +import { getJWT, saveJWT } from '@/hooks/useJWT' +import queryClient from '@/utils/queryClient' +import { FORCE_LOGOUT_EVENT } from 'common-ui/src/lib/const-strs' +import { resetStorage, setupApiMocks } from '../mocks/api' +import { expectProcedureCalled, lastProcedureInput } from '../mocks/procedures' +import { resetRouterMock, routerMock } from '../mocks/router' +import { renderWithProviders } from '../helpers/render' + +type Auth = ReturnType + +const authSpy = jest.fn() + +function Consumer() { + const auth = useStaffAuth() + authSpy(auth) + + return ( + <> + auth.login('shafi', 'secret')}> + login + + auth.logout()}> + logout + + + ) +} + +const lastAuth = (): Auth => authSpy.mock.calls[authSpy.mock.calls.length - 1][0] + +const renderProvider = () => + renderWithProviders( + + + + ) + +const trpcErrorResponse = (message: string) => [ + { error: { message, code: -32600, data: { code: 'UNAUTHORIZED', httpStatus: 401 } } }, +] + +describe('staff-auth-context (real provider)', () => { + beforeEach(async () => { + authSpy.mockClear() + queryClient.clear() + resetRouterMock() + await resetStorage() + setupApiMocks({ + procedures: { + 'admin.staffUser.login': { token: 'jwt-abc', staff: { id: 1, name: 'shafi' } }, + }, + }) + }) + + it('redirects to /login when there is no token', async () => { + renderProvider() + + await waitFor(() => expect(routerMock.replace).toHaveBeenCalledWith('/login')) + await waitFor(() => expect(lastAuth().isLoading).toBe(false)) + expect(lastAuth().isLoggedIn).toBe(false) + expect(lastAuth().staff).toBeNull() + }) + + it('marks the session logged in when a token exists', async () => { + await saveJWT('existing-token') + + renderProvider() + + await waitFor(() => expect(lastAuth().isLoggedIn).toBe(true)) + expect(lastAuth().isLoading).toBe(false) + expect(routerMock.replace).not.toHaveBeenCalled() + }) + + it('login saves the JWT, sets staff and routes to the dashboard', async () => { + const { fetchMock } = setupApiMocks({ + procedures: { + 'admin.staffUser.login': { token: 'jwt-abc', staff: { id: 7, name: 'shafi' } }, + }, + }) + + renderProvider() + await waitFor(() => expect(lastAuth().isLoading).toBe(false)) + + fireEvent.press(screen.getByTestId('login')) + + await waitFor(() => + expect(routerMock.replace).toHaveBeenCalledWith('/(drawer)/dashboard') + ) + await waitFor(async () => expect(await getJWT()).toBe('jwt-abc')) + + expect(lastAuth().staff).toEqual({ id: 7, name: 'shafi' }) + expect(lastAuth().isLoggedIn).toBe(true) + expect(lastAuth().loginError).toBeNull() + + expectProcedureCalled(fetchMock, 'admin.staffUser.login', { times: 1 }) + expect(lastProcedureInput(fetchMock, 'admin.staffUser.login')).toEqual({ + name: 'shafi', + password: 'secret', + }) + }) + + it('login sets loginError when the backend rejects', async () => { + setupApiMocks() + ;(global as unknown as { fetch: unknown }).fetch = jest.fn(async () => ({ + ok: true, + status: 200, + statusText: 'OK', + headers: new Map(), + url: '', + json: async () => trpcErrorResponse('Invalid credentials'), + text: async () => JSON.stringify(trpcErrorResponse('Invalid credentials')), + })) + + renderProvider() + await waitFor(() => expect(lastAuth().isLoading).toBe(false)) + + fireEvent.press(screen.getByTestId('login')) + + await waitFor(() => expect(lastAuth().loginError).toBe('Invalid credentials')) + expect(lastAuth().isLoggedIn).toBe(false) + expect(routerMock.replace).not.toHaveBeenCalledWith('/(drawer)/dashboard') + }) + + it('logout deletes the JWT, clears the query cache and routes to /login', async () => { + await saveJWT('existing-token') + const clearSpy = jest.spyOn(queryClient, 'clear') + + renderProvider() + await waitFor(() => expect(lastAuth().isLoggedIn).toBe(true)) + + fireEvent.press(screen.getByTestId('logout')) + + await waitFor(() => expect(routerMock.replace).toHaveBeenCalledWith('/login')) + await waitFor(async () => expect(await getJWT()).toBeNull()) + + expect(clearSpy).toHaveBeenCalled() + expect(lastAuth().isLoggedIn).toBe(false) + expect(lastAuth().staff).toBeNull() + }) + + it('FORCE_LOGOUT_EVENT logs the staff member out', async () => { + await saveJWT('existing-token') + + renderProvider() + await waitFor(() => expect(lastAuth().isLoggedIn).toBe(true)) + + await act(async () => { + DeviceEventEmitter.emit(FORCE_LOGOUT_EVENT) + }) + + await waitFor(() => expect(routerMock.replace).toHaveBeenCalledWith('/login')) + await waitFor(async () => expect(await getJWT()).toBeNull()) + expect(lastAuth().isLoggedIn).toBe(false) + }) + + it('useStaffAuth throws when used outside the provider', () => { + const consoleError = jest.spyOn(console, 'error').mockImplementation(() => {}) + + expect(() => renderWithProviders()).toThrow( + 'useStaffAuth must be used within a StaffAuthProvider' + ) + + consoleError.mockRestore() + }) +}) diff --git a/apps/admin-ui/tests/helpers/render.tsx b/apps/admin-ui/tests/helpers/render.tsx new file mode 100644 index 0000000..04d81f7 --- /dev/null +++ b/apps/admin-ui/tests/helpers/render.tsx @@ -0,0 +1,52 @@ +/** + * Provider stack shared by the admin-ui tests. + * + * Mirrors app/_layout.tsx minus the native wrappers: trpc + React Query + + * Refresh. StaffAuthProvider is mocked globally in tests/setup.ts, so screens + * that read the session mount without it; real-provider tests render it + * explicitly. + */ + +import React from 'react' +import { QueryClient, QueryClientProvider } from '@tanstack/react-query' +import { render } from '@testing-library/react-native' +import { RefreshProvider } from 'common-ui' + +import { trpc, trpcClient } from '@/src/trpc-client' + +export function createQueryClient() { + return new QueryClient({ + defaultOptions: { queries: { retry: false, gcTime: 0 } }, + }) +} + +export interface ProviderOptions { + /** Reuse a specific query client (e.g. to assert refetches). */ + queryClient?: QueryClient +} + +export function Providers({ + children, + queryClient, +}: { children?: React.ReactNode } & ProviderOptions) { + const client = React.useMemo( + () => queryClient ?? createQueryClient(), + [queryClient] + ) + + return ( + + + {children} + + + ) +} + +/** Render a screen/component inside the standard provider stack. */ +export function renderWithProviders( + ui: React.ReactElement, + options?: ProviderOptions +) { + return render({ui}) +} diff --git a/apps/admin-ui/tests/hooks/useJWT.test.ts b/apps/admin-ui/tests/hooks/useJWT.test.ts new file mode 100644 index 0000000..9472924 --- /dev/null +++ b/apps/admin-ui/tests/hooks/useJWT.test.ts @@ -0,0 +1,41 @@ +/** + * useJWT (hooks/useJWT.ts) — secure-store token persistence. + * + * StorageService is globally mocked by tests/setup.ts with an in-memory map; + * resetStorage() clears the `jwt_token` slot between tests. + */ + +import { StorageService } from 'common-ui' + +import { deleteJWT, getJWT, JWT_KEY, saveJWT } from '@/hooks/useJWT' +import { resetStorage } from '../mocks/api' + +describe('useJWT', () => { + beforeEach(async () => { + await resetStorage() + }) + + it('uses the jwt_token storage key', () => { + expect(JWT_KEY).toBe('jwt_token') + }) + + it('returns null when no token has been stored', async () => { + await expect(getJWT()).resolves.toBeNull() + }) + + it('saves a token under JWT_KEY and reads it back', async () => { + await saveJWT('token-abc') + + expect(StorageService.setItem).toHaveBeenCalledWith('jwt_token', 'token-abc') + await expect(getJWT()).resolves.toBe('token-abc') + }) + + it('deletes the stored token', async () => { + await saveJWT('token-abc') + + await deleteJWT() + + expect(StorageService.removeItem).toHaveBeenCalledWith('jwt_token') + await expect(getJWT()).resolves.toBeNull() + }) +}) diff --git a/apps/admin-ui/tests/hooks/useUploadToObjectStore.test.tsx b/apps/admin-ui/tests/hooks/useUploadToObjectStore.test.tsx new file mode 100644 index 0000000..9ec265b --- /dev/null +++ b/apps/admin-ui/tests/hooks/useUploadToObjectStore.test.tsx @@ -0,0 +1,231 @@ +/** + * useUploadToObjectStorage (hooks/useUploadToObjectStore.ts) — requests + * presigned URLs from `common.generateUploadUrls`, then PUTs each image in + * parallel and extracts the object key from the presigned URL. + * + * Fake timers: mutations are driven with act() + waitFor(), never awaited + * directly (see tests/screens/login.test.tsx for the pattern). + */ + +jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + +import React from 'react' +import { act, renderHook, waitFor } from '@testing-library/react-native' + +import { useUploadToObjectStorage } from '@/hooks/useUploadToObjectStore' +import { resetStorage, setupApiMocks } from '../mocks/api' +import { + expectProcedureCalled, + lastProcedureInput, + procCount, +} from '../mocks/procedures' +import { Providers } from '../helpers/render' + +const wrapper = ({ children }: { children?: React.ReactNode }) => ( + {children} +) + +const presigned = (key: string) => + `https://meatfarmer.s3.amazonaws.com/meatfarmer/${key}` + +const blob = {} as Blob + +const jpeg = { blob, mimeType: 'image/jpeg' } +const png = { blob, mimeType: 'image/png' } + +/** Kick off `upload` without awaiting it (fake timers would deadlock). */ +const startUpload = ( + result: { current: ReturnType }, + input: Parameters['upload']>[0] +) => { + let promise: Promise = Promise.resolve() + act(() => { + promise = result.current.upload(input) + promise.catch(() => {}) + }) + return promise +} + +describe('useUploadToObjectStorage', () => { + beforeEach(async () => { + await resetStorage() + }) + + it('requests one presigned URL per image and uploads them in parallel', async () => { + const { fetchMock } = setupApiMocks({ + procedures: { + 'common.generateUploadUrls': { + uploadUrls: [ + presigned('product-images/a.jpg'), + presigned('product-images/b.png'), + ], + }, + }, + }) + + const { result } = renderHook(() => useUploadToObjectStorage(), { wrapper }) + const promise = startUpload(result, { + images: [jpeg, png], + contextString: 'product_info', + }) + + await waitFor(() => expect(result.current.isUploading).toBe(false)) + + const uploaded = await promise + + expectProcedureCalled(fetchMock, 'common.generateUploadUrls', { times: 1 }) + expect(lastProcedureInput(fetchMock, 'common.generateUploadUrls')).toEqual({ + contextString: 'product_info', + mimeTypes: ['image/jpeg', 'image/png'], + }) + + expect(uploaded).toEqual({ + keys: ['product-images/a.jpg', 'product-images/b.png'], + presignedUrls: [ + presigned('product-images/a.jpg'), + presigned('product-images/b.png'), + ], + }) + + const putCalls = fetchMock.mock.calls.filter( + ([, options]) => (options as { method?: string } | undefined)?.method === 'PUT' + ) + expect(putCalls).toHaveLength(2) + expect(result.current.error).toBeNull() + }) + + it('resolves an empty batch without calling the backend', async () => { + const { fetchMock } = setupApiMocks() + const { result } = renderHook(() => useUploadToObjectStorage(), { wrapper }) + + let resolved: unknown + await act(async () => { + resolved = await result.current.upload({ images: [], contextString: 'store' }) + }) + + expect(resolved).toEqual({ keys: [], presignedUrls: [] }) + expect(procCount(fetchMock, 'common.generateUploadUrls')).toBe(0) + }) + + it('fails when the backend returns a URL count that does not match', async () => { + setupApiMocks({ + procedures: { + 'common.generateUploadUrls': { uploadUrls: [presigned('tags/only.jpg')] }, + }, + }) + + const { result } = renderHook(() => useUploadToObjectStorage(), { wrapper }) + const promise = startUpload(result, { + images: [jpeg, png], + contextString: 'tags', + }) + + await waitFor(() => + expect(result.current.error?.message).toBe('Expected 2 URLs, got 1') + ) + await expect(promise).rejects.toThrow('Expected 2 URLs, got 1') + }) + + it('surfaces the failed PUT status and stops uploading', async () => { + const { fetchMock } = setupApiMocks({ + procedures: { + 'common.generateUploadUrls': { + uploadUrls: [presigned('store-images/x.jpg')], + }, + }, + }) + const trpcFetch = global.fetch + + ;(global as unknown as { fetch: unknown }).fetch = jest.fn( + async (url: string, options?: { method?: string }) => { + if (options?.method === 'PUT') { + return { + ok: false, + status: 500, + statusText: 'Server Error', + headers: new Map(), + url: String(url), + text: async (): Promise => 'AccessDenied', + json: async () => ({}), + } + } + return trpcFetch(url, options) + } + ) + const consoleError = jest.spyOn(console, 'error').mockImplementation(() => {}) + + const { result } = renderHook(() => useUploadToObjectStorage(), { wrapper }) + const promise = startUpload(result, { + images: [jpeg], + contextString: 'store', + }) + + await waitFor(() => + expect(result.current.error?.message).toBe('Upload 1 failed with status 500') + ) + await expect(promise).rejects.toThrow('Upload 1 failed with status 500') + + expect(result.current.isUploading).toBe(false) + expect(result.current.progress).toBeNull() + expectProcedureCalled(fetchMock, 'common.generateUploadUrls', { times: 1 }) + consoleError.mockRestore() + }) + + it('reports progress as each upload settles', async () => { + setupApiMocks({ + procedures: { + 'common.generateUploadUrls': { + uploadUrls: [ + presigned('product-images/a.jpg'), + presigned('product-images/b.jpg'), + ], + }, + }, + }) + const trpcFetch = global.fetch + const resolvers: Array<(value: unknown) => void> = [] + + ;(global as unknown as { fetch: unknown }).fetch = jest.fn( + (url: string, options?: { method?: string }) => { + if (options?.method === 'PUT') { + return new Promise((resolve) => resolvers.push(resolve)) + } + return trpcFetch(url, options) + } + ) + + const okResponse = { + ok: true, + status: 200, + statusText: 'OK', + headers: new Map(), + url: '', + text: async () => '', + json: async () => ({}), + } + + const { result } = renderHook(() => useUploadToObjectStorage(), { wrapper }) + const promise = startUpload(result, { + images: [jpeg, png], + contextString: 'product_info', + }) + + await waitFor(() => expect(resolvers).toHaveLength(2)) + expect(result.current.progress).toEqual({ completed: 0, total: 2 }) + + act(() => resolvers[0](okResponse)) + await waitFor(() => expect(result.current.progress).toEqual({ completed: 1, total: 2 })) + + act(() => resolvers[1](okResponse)) + await waitFor(() => expect(result.current.progress).toBeNull()) + + const uploaded = await promise + expect(uploaded).toEqual({ + keys: ['product-images/a.jpg', 'product-images/b.jpg'], + presignedUrls: [ + presigned('product-images/a.jpg'), + presigned('product-images/b.jpg'), + ], + }) + }) +}) diff --git a/apps/admin-ui/tests/jest-env.d.ts b/apps/admin-ui/tests/jest-env.d.ts new file mode 100644 index 0000000..9d3cb36 --- /dev/null +++ b/apps/admin-ui/tests/jest-env.d.ts @@ -0,0 +1,6 @@ +/// + +// Declares the Jest globals (describe, it, expect, jest, ...) for the tests in +// this folder. @types/jest is a devDependency, but the explicit reference means +// the globals are declared by a file inside the project rather than relying on +// ambient @types auto-inclusion. diff --git a/apps/admin-ui/tests/jest.config.js b/apps/admin-ui/tests/jest.config.js new file mode 100644 index 0000000..ba3c377 --- /dev/null +++ b/apps/admin-ui/tests/jest.config.js @@ -0,0 +1,62 @@ +const path = require('path') + +const appRoot = path.resolve(__dirname, '..') + +/** + * Jest project for apps/admin-ui integration tests. + * + * Mirrors apps/user-ui/tests/jest.config.js. Tests live under tests/ and are + * kept out of the app build by living outside the app/ route tree. + */ +module.exports = { + preset: 'jest-expo', + rootDir: appRoot, + roots: ['/tests'], + testMatch: ['/tests/**/*.test.ts', '/tests/**/*.test.tsx'], + setupFiles: ['/tests/setup.ts'], + clearMocks: true, + // The suites are heavy (expo-router + react-query + fake timers) and several + // install module-level fakes; running them in parallel workers exhausts + // resources and hangs. Serial is ~80s and stable. + maxWorkers: 1, + forceExit: true, + moduleNameMapper: { + '^@backend/(.*)$': '/../backend/src/$1', + '^@/(.*)$': '/$1', + '^shared-types$': '/../shared-types', + '^@packages/shared$': '/../../packages/shared', + '^@packages/shared/(.*)$': '/../../packages/shared/$1', + '^global-shared$': '/../../packages/shared', + '^global-shared/(.*)$': '/../../packages/shared/$1', + '^common-ui$': '/../../packages/ui', + '^common-ui/(.*)$': '/../../packages/ui/$1', + }, + transformIgnorePatterns: [ + 'node_modules/(?!(?:.pnpm/)?(' + + [ + '(jest-)?react-native', + '@react-native(-community)?', + 'expo(nent)?', + '@expo(nent)?/.*', + '@expo-google-fonts/.*', + 'react-navigation', + '@react-navigation/.*', + '@sentry/react-native', + 'native-base', + 'react-native-svg', + 'react-native-gesture-handler', + 'react-native-reanimated', + 'react-native-safe-area-context', + 'react-native-screens', + 'react-native-draggable-flatlist', + 'react-native-tab-view', + 'react-native-toast-message', + '@trpc/.*', + '@tanstack/.*', + 'twrnc', + 'zod', + '@testing-library/react-native', + ].join('|') + + '))', + ], +} diff --git a/apps/admin-ui/tests/lib/queryClient.test.ts b/apps/admin-ui/tests/lib/queryClient.test.ts new file mode 100644 index 0000000..e739c45 --- /dev/null +++ b/apps/admin-ui/tests/lib/queryClient.test.ts @@ -0,0 +1,37 @@ +/** + * queryClient (utils/queryClient.ts) — the app-wide singleton defaults. + * + * The source only overrides `retry`. React Query therefore supplies the + * remaining observable defaults (staleTime resolves to 0, refetchOnWindowFocus + * behaves as true). We assert both the configured value and that the other two + * options are deliberately left unset. + */ + +import { QueryClient } from '@tanstack/react-query' + +import queryClient from '@/utils/queryClient' + +describe('queryClient', () => { + it('is a QueryClient instance', () => { + expect(queryClient).toBeInstanceOf(QueryClient) + }) + + it('retries failed queries 3 times by default', () => { + expect(queryClient.getDefaultOptions().queries?.retry).toBe(3) + }) + + it('retries every query with the configured default', () => { + const resolved = queryClient.defaultQueryOptions({ queryKey: ['probe'] }) + expect(resolved.retry).toBe(3) + }) + + it('does not override staleTime / refetchOnWindowFocus (library defaults apply)', () => { + const queries = queryClient.getDefaultOptions().queries + expect(queries?.staleTime).toBeUndefined() + expect(queries?.refetchOnWindowFocus).toBeUndefined() + + const resolved = queryClient.defaultQueryOptions({ queryKey: ['probe'] }) + expect(resolved.staleTime).toBeUndefined() + expect(resolved.refetchOnWindowFocus).toBeUndefined() + }) +}) diff --git a/apps/admin-ui/tests/lib/toaster.test.tsx b/apps/admin-ui/tests/lib/toaster.test.tsx new file mode 100644 index 0000000..4fca30b --- /dev/null +++ b/apps/admin-ui/tests/lib/toaster.test.tsx @@ -0,0 +1,51 @@ +/** + * toaster (services/toaster.tsx) — Info/Error/Success helpers funnel into + * react-native-toast-message's Toast.show with the right type/position and an + * onPress that hides the toast. + */ + +jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + +import Toast from 'react-native-toast-message' + +import { ErrorToast, InfoToast, SuccessToast } from '@/services/toaster' + +const showMock = Toast.show as jest.Mock +const hideMock = Toast.hide as jest.Mock + +const showArg = (index: number) => showMock.mock.calls[index][0] + +describe('toaster', () => { + it('InfoToast shows an info toast at the top', () => { + InfoToast('heads up') + + expect(showMock).toHaveBeenCalledWith( + expect.objectContaining({ type: 'info', text1: 'heads up', position: 'top' }) + ) + expect(showArg(0).visibilityTime).toBe(10000) + }) + + it('ErrorToast shows an error toast at the top', () => { + ErrorToast('boom') + + expect(showMock).toHaveBeenCalledWith( + expect.objectContaining({ type: 'error', text1: 'boom', position: 'top' }) + ) + }) + + it('SuccessToast shows a success toast at the top', () => { + SuccessToast('done') + + expect(showMock).toHaveBeenCalledWith( + expect.objectContaining({ type: 'success', text1: 'done', position: 'top' }) + ) + }) + + it('hides the toast when pressed', () => { + SuccessToast('done') + + showArg(0).onPress() + + expect(hideMock).toHaveBeenCalledTimes(1) + }) +}) diff --git a/apps/admin-ui/tests/mocks/api.ts b/apps/admin-ui/tests/mocks/api.ts new file mode 100644 index 0000000..f830e2f --- /dev/null +++ b/apps/admin-ui/tests/mocks/api.ts @@ -0,0 +1,73 @@ +/** + * Network-layer mocks for the admin-ui tests. + * + * All tRPC traffic goes through `global.fetch` (httpBatchLink). The registry + * resolves each batched procedure by name; anything not supplied resolves to + * `null`, and tests override with the exact shape they assert against. Tests + * that need to prove "nothing was called" use tests/mocks/procedures.ts. + */ + +import { StorageService } from 'common-ui/src/services/StorageService' +import { StorageServiceCasual } from 'common-ui/src/services/StorageServiceCasual' +import { parseTrpcUrl } from './procedures' + +const jsonResponse = (body: unknown) => ({ + ok: true, + status: 200, + statusText: 'OK', + headers: new Map(), + url: '', + json: async () => body, + text: async () => JSON.stringify(body), + clone: () => jsonResponse(body), +}) + +export interface ApiMockOptions { + /** + * Procedure registry: name -> data, or (input) => data. Unlisted procedures + * resolve to null. + */ + procedures?: Record unknown)> + /** The essentialConsts-style consts payload, if a screen reads it. */ + consts?: unknown +} + +export function setupApiMocks(opts: ApiMockOptions = {}) { + const resolveProcedure = (name: string, input: unknown): unknown => { + const override = opts.procedures?.[name] + if (override !== undefined) { + return typeof override === 'function' + ? (override as (value: unknown) => unknown)(input) + : override + } + return null + } + + const fetchMock = jest.fn( + async (url: string, options?: { method?: string; body?: unknown }) => { + const target = String(url) + const calls = parseTrpcUrl(target, options?.body) + + if (calls.length === 0) { + // Presigned S3 uploads PUT straight to a URL. + if (options?.method === 'PUT') return jsonResponse({}) + throw new Error(`[tests] unmocked fetch: ${url}`) + } + + const batch = calls.map(({ name, input }) => ({ + result: { data: resolveProcedure(name, input) }, + })) + return jsonResponse(batch) + } + ) + + ;(global as unknown as { fetch: unknown }).fetch = fetchMock + + return { fetchMock } +} + +/** Clear the in-memory auth token + any casual storage. Call from beforeEach. */ +export async function resetStorage() { + await StorageService.clearAll(['jwt_token']) + await StorageServiceCasual.clearAll([]) +} diff --git a/apps/admin-ui/tests/mocks/native.ts b/apps/admin-ui/tests/mocks/native.ts new file mode 100644 index 0000000..88a90fe --- /dev/null +++ b/apps/admin-ui/tests/mocks/native.ts @@ -0,0 +1,181 @@ +/** + * Module stubs for native / third-party packages that cannot run under jest. + * Registered in tests/setup.ts via jest.mock factories. + * + * Deliberately permissive: tests that assert behaviour spy on the returned + * functions or override the module themselves. + */ + +import React from 'react' +import { View, Text } from 'react-native' + +/** react-native-draggable-flatlist: render children as a plain list. */ +export function draggableFlatListMock() { + const DraggableFlatList = ({ + data, + renderItem, + keyExtractor, + ListEmptyComponent, + }: { + data?: unknown[] + renderItem?: (info: { item: unknown; index: number; drag: () => void; isActive: boolean }) => React.ReactNode + keyExtractor?: (item: unknown, index: number) => string + ListEmptyComponent?: React.ReactNode + }) => { + if (!data || data.length === 0) { + return React.createElement(View, { testID: 'mock-draggable-list' }, ListEmptyComponent ?? null) + } + return React.createElement( + View, + { testID: 'mock-draggable-list' }, + data.map((item, index) => + React.createElement( + React.Fragment, + { key: keyExtractor ? keyExtractor(item, index) : index }, + renderItem?.({ item, index, drag: () => {}, isActive: false }) + ) + ) + ) + } + + return { + __esModule: true, + default: DraggableFlatList, + ScaleDecorator: ({ children }: { children?: React.ReactNode }) => + React.createElement(React.Fragment, null, children), + } +} + +/** react-native-tab-view: render every tab label and the focused scene. */ +export function tabViewMock() { + const TabView = ({ + navigationState, + renderScene, + onIndexChange, + }: { + navigationState: { index: number; routes: { key: string }[] } + renderScene: (info: { route: { key: string } }) => React.ReactNode + onIndexChange?: (index: number) => void + }) => { + const route = navigationState.routes[navigationState.index] + return React.createElement( + View, + { testID: 'mock-tab-view' }, + navigationState.routes.map((r, index) => + React.createElement( + Text, + { key: r.key, testID: `tab-${r.key}`, onPress: () => onIndexChange?.(index) }, + r.key + ) + ), + route ? renderScene({ route }) : null + ) + } + + return { + __esModule: true, + TabView, + // SceneMap must return a renderScene function, not the raw map. + SceneMap: (scenes: Record) => (info: { + route: { key: string } + }) => { + const Scene = scenes[info.route.key] + return Scene ? React.createElement(Scene) : null + }, + TabBar: () => null, + } +} + +/** react-native-toast-message: no-op show/hide. */ +export function toastMock() { + const Toast = { + show: jest.fn(), + hide: jest.fn(), + } + return { __esModule: true, default: Toast, ...Toast } +} + +/** expo-location: permissions granted, a fixed position. */ +export function locationMock() { + return { + __esModule: true, + Accuracy: { Lowest: 1, Low: 2, Balanced: 3, High: 4, Highest: 5 }, + requestForegroundPermissionsAsync: jest.fn(async () => ({ status: 'granted', granted: true })), + getForegroundPermissionsAsync: jest.fn(async () => ({ status: 'granted', granted: true })), + hasServicesEnabledAsync: jest.fn(async () => true), + getCurrentPositionAsync: jest.fn(async () => ({ + coords: { latitude: 16.75, longitude: 78.0, accuracy: 5 }, + timestamp: Date.now(), + })), + reverseGeocodeAsync: jest.fn(async () => [ + { street: 'Test Street', city: 'Mahabubnagar', region: 'Telangana', postalCode: '509001' }, + ]), + } +} + +/** expo-image-picker: one asset by default. */ +export function imagePickerMock() { + const asset = { uri: 'file:///tmp/pick.jpg', fileName: 'pick.jpg', mimeType: 'image/jpeg' } + return { + __esModule: true, + MediaTypeOptions: { Images: 'Images', All: 'All', Videos: 'Videos' }, + launchImageLibraryAsync: jest.fn(async () => ({ canceled: false, assets: [asset] })), + launchCameraAsync: jest.fn(async () => ({ canceled: false, assets: [asset] })), + requestMediaLibraryPermissionsAsync: jest.fn(async () => ({ granted: true, status: 'granted' })), + requestCameraPermissionsAsync: jest.fn(async () => ({ granted: true, status: 'granted' })), + } +} + +/** expo-document-picker: one document by default. */ +export function documentPickerMock() { + return { + __esModule: true, + getDocumentAsync: jest.fn(async () => ({ + canceled: false, + assets: [{ uri: 'file:///tmp/doc.pdf', name: 'doc.pdf', mimeType: 'application/pdf' }], + })), + } +} + +/** expo-device: a physical device. */ +export function deviceMock() { + return { + __esModule: true, + isDevice: true, + modelName: 'Jest Device', + osName: 'Android', + osVersion: '14', + } +} + +/** expo-haptics: no-ops. */ +export function hapticsMock() { + return { + __esModule: true, + impactAsync: jest.fn(async () => {}), + notificationAsync: jest.fn(async () => {}), + selectionAsync: jest.fn(async () => {}), + ImpactFeedbackStyle: { Light: 'light', Medium: 'medium', Heavy: 'heavy' }, + } +} + +/** expo-linear-gradient: passthrough View. */ +export function linearGradientMock() { + const LinearGradient = ({ children }: { children?: React.ReactNode }) => + React.createElement(View, { testID: 'mock-linear-gradient' }, children) + return { __esModule: true, LinearGradient } +} + +/** expo-blur: passthrough View. */ +export function blurMock() { + const BlurView = ({ children }: { children?: React.ReactNode }) => + React.createElement(View, { testID: 'mock-blur-view' }, children) + return { __esModule: true, BlurView } +} + +/** expo-image: passthrough Image. */ +export function imageMock() { + const Image = (props: Record) => + React.createElement(View, { testID: 'mock-image', ...props }) + return { __esModule: true, Image, default: Image } +} diff --git a/apps/admin-ui/tests/mocks/procedures.ts b/apps/admin-ui/tests/mocks/procedures.ts new file mode 100644 index 0000000..5e8cb7c --- /dev/null +++ b/apps/admin-ui/tests/mocks/procedures.ts @@ -0,0 +1,122 @@ +/** + * Assert which tRPC procedures a screen called, and with what input. + * + * Every tRPC call goes through `global.fetch` (httpBatchLink), whose URL is + * `/api/trpc/[,...]?batch=1&input=`. The input param is an + * object keyed by the batch index: `{ "0": { json: }, ... }`. + * + * tests/mocks/api.ts installs the fetch stub; pass its returned `fetchMock` to + * these helpers. + */ + +export interface ProcedureCall { + name: string + input: unknown +} + +export interface FetchMockLike { + mock: { calls: unknown[][] } +} + +const MARKER = '/api/trpc/' + +const parseInputEnvelope = (raw: string | undefined) => { + if (!raw) return {} as Record + try { + return JSON.parse(raw) as Record + } catch { + return {} as Record + } +} + +const unwrapInput = (entry: unknown): unknown => { + if ( + entry != null && + typeof entry === 'object' && + 'json' in entry && + 'meta' in entry + ) { + return (entry as { json: unknown }).json + } + return entry +} + +/** Split a tRPC request URL into one entry per batched procedure. */ +export function parseTrpcUrl(url: string, body?: unknown): ProcedureCall[] { + const target = String(url) + const at = target.indexOf(MARKER) + if (at === -1) return [] + + const rest = target.slice(at + MARKER.length) + const queryAt = rest.indexOf('?') + const path = queryAt === -1 ? rest : rest.slice(0, queryAt) + const query = queryAt === -1 ? '' : rest.slice(queryAt + 1) + + const names = path.split(',').filter(Boolean) + + let inputsByIndex: Record = {} + const match = /(?:^|&)input=([^&]*)/.exec(query) + if (match) { + inputsByIndex = parseInputEnvelope(decodeURIComponent(match[1])) + } else if (typeof body === 'string') { + inputsByIndex = parseInputEnvelope(body) + } + + return names.map((name, index) => ({ + name, + input: unwrapInput(inputsByIndex[String(index)]), + })) +} + +/** Every procedure call recorded by the fetch mock, in order. */ +export function calledProcedures(fetchMock: FetchMockLike): ProcedureCall[] { + return fetchMock.mock.calls.flatMap(([url, options]) => { + const body = (options as { body?: unknown } | undefined)?.body + return parseTrpcUrl(String(url), body) + }) +} + +export function procedureCalls( + fetchMock: FetchMockLike, + name: string +): ProcedureCall[] { + return calledProcedures(fetchMock).filter((call) => call.name === name) +} + +/** Assert a procedure was called (optionally exactly `times`). */ +export function expectProcedureCalled( + fetchMock: FetchMockLike, + name: string, + options: { times?: number } = {} +): ProcedureCall[] { + const calls = procedureCalls(fetchMock, name) + + if (options.times != null) { + expect(calls).toHaveLength(options.times) + } else { + expect(calls.length).toBeGreaterThan(0) + } + + return calls +} + +/** Input of the most recent call to a procedure (undefined if never called). */ +export function lastProcedureInput( + fetchMock: FetchMockLike, + name: string +): unknown { + const calls = procedureCalls(fetchMock, name) + return calls.length === 0 ? undefined : calls[calls.length - 1].input +} + +export function procedureInput( + fetchMock: FetchMockLike, + name: string +): unknown { + return lastProcedureInput(fetchMock, name) +} + +/** Number of calls to a procedure. */ +export function procCount(fetchMock: FetchMockLike, name: string): number { + return procedureCalls(fetchMock, name).length +} diff --git a/apps/admin-ui/tests/mocks/refresh.ts b/apps/admin-ui/tests/mocks/refresh.ts new file mode 100644 index 0000000..3d02389 --- /dev/null +++ b/apps/admin-ui/tests/mocks/refresh.ts @@ -0,0 +1,18 @@ +/** + * Callbacks recorded from the mocked refresh hooks + * (common-ui/useMarkDataFetchers, common-ui/useManualRefresh) so a test can + * invoke a screen's refresh handler and assert what it refetches. + */ + +export const refreshHooks: { + markDataFetchers: (() => void) | null + manualRefresh: (() => void) | null +} = { + markDataFetchers: null, + manualRefresh: null, +} + +export function resetRefreshHooks() { + refreshHooks.markDataFetchers = null + refreshHooks.manualRefresh = null +} diff --git a/apps/admin-ui/tests/mocks/router.ts b/apps/admin-ui/tests/mocks/router.ts new file mode 100644 index 0000000..fde616c --- /dev/null +++ b/apps/admin-ui/tests/mocks/router.ts @@ -0,0 +1,70 @@ +/** + * Shared spies for the mocked expo-router. + * + * The mock lives in each test file rather than in tests/setup.ts, so the ones + * that want real navigation can use expo-router/testing-library. Any file that + * renders a router consumer adds: + * + * jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + */ + +import React from 'react' + +export const routerMock = { + push: jest.fn(), + replace: jest.fn(), + back: jest.fn(), + navigate: jest.fn(), + canGoBack: jest.fn(() => false), + dismissTo: jest.fn(), + dismissAll: jest.fn(), + setParams: jest.fn(), +} + +export function resetRouterMock() { + routerMock.push.mockClear() + routerMock.replace.mockClear() + routerMock.back.mockClear() + routerMock.navigate.mockClear() + routerMock.dismissTo.mockClear() + routerMock.dismissAll.mockClear() +} + +/** Local search params returned by the mocked router. */ +export const searchParamsMock: { current: Record } = { + current: {}, +} + +/** Factory for jest.mock('expo-router', ...). */ +export function expoRouterMock() { + return { + useRouter: () => routerMock, + router: routerMock, + usePathname: () => '/dashboard', + useSegments: () => [], + useLocalSearchParams: () => searchParamsMock.current, + useGlobalSearchParams: () => searchParamsMock.current, + useFocusEffect: (callback: () => void | (() => void)) => { + const ran = React.useRef(false) + React.useEffect(() => { + if (ran.current) return + ran.current = true + return callback() + }, []) + }, + Link: ({ children }: { children?: unknown }) => children ?? null, + Slot: ({ children }: { children?: unknown }) => children ?? null, + // Layout primitives used by route files; render children through and give + // Stack/Tabs a no-op .Screen so `` does not crash. + Stack: Object.assign( + ({ children }: { children?: unknown }) => children ?? null, + { Screen: () => null } + ), + Tabs: Object.assign( + ({ children }: { children?: unknown }) => children ?? null, + { Screen: () => null } + ), + Drawer: ({ children }: { children?: unknown }) => children ?? null, + Redirect: () => null, + } +} diff --git a/apps/admin-ui/tests/mocks/staff-auth.ts b/apps/admin-ui/tests/mocks/staff-auth.ts new file mode 100644 index 0000000..4f3cf42 --- /dev/null +++ b/apps/admin-ui/tests/mocks/staff-auth.ts @@ -0,0 +1,52 @@ +/** + * Overridable staff-auth mock with spies. + * + * tests/setup.ts stubs @/components/context/staff-auth-context with this + * factory so screens that read the staff session mount. Tests can flip the + * state in a beforeEach; reset with resetStaffAuthMock(). + */ + +import type { ReactNode } from 'react' + +export interface StaffAuthMockState { + isLoggedIn: boolean + isLoading: boolean + staff: unknown + isLoggingIn: boolean + loginError: string | null + login: jest.Mock + logout: jest.Mock +} + +export const staffAuthMock: StaffAuthMockState = { + isLoggedIn: true, + isLoading: false, + staff: { id: 1, name: 'shafi' }, + isLoggingIn: false, + loginError: null, + login: jest.fn(async () => {}), + logout: jest.fn(), +} + +export function resetStaffAuthMock() { + staffAuthMock.isLoggedIn = true + staffAuthMock.isLoading = false + staffAuthMock.staff = { id: 1, name: 'shafi' } + staffAuthMock.isLoggingIn = false + staffAuthMock.loginError = null +} + +export function staffAuthContextMock() { + return { + StaffAuthProvider: ({ children }: { children?: ReactNode }) => children ?? null, + useStaffAuth: () => ({ + isLoggedIn: staffAuthMock.isLoggedIn, + isLoading: staffAuthMock.isLoading, + staff: staffAuthMock.staff, + isLoggingIn: staffAuthMock.isLoggingIn, + loginError: staffAuthMock.loginError, + login: staffAuthMock.login, + logout: staffAuthMock.logout, + }), + } +} diff --git a/apps/admin-ui/tests/screens/banners-create.test.tsx b/apps/admin-ui/tests/screens/banners-create.test.tsx new file mode 100644 index 0000000..ce9a7eb --- /dev/null +++ b/apps/admin-ui/tests/screens/banners-create.test.tsx @@ -0,0 +1,214 @@ +/** + * Create banner screen (app/(drawer)/dashboard/dashboard-banners/create.tsx) — + * BannerForm wiring, image requirement, upload + createBanner mutation, + * validation, cancel and success navigation. + * + * The common-ui ImageUploader add button lives behind a separate + * `@expo/vector-icons` copy, so instead of pressing it we intercept + * common-ui's usePickImage hook (test-local module mock) and invoke a pick. + */ + +jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + +const mockPickState: { trigger: (() => Promise) | null } = { trigger: null } + +jest.mock('common-ui/src/components/use-pick-image', () => ({ + __esModule: true, + default: ({ setFile }: { setFile: (asset: unknown) => Promise }) => { + mockPickState.trigger = () => + setFile({ + uri: 'file:///tmp/pick.jpg', + fileName: 'pick.jpg', + mimeType: 'image/jpeg', + }) + return () => {} + }, +})) + +import React from 'react' +import { Alert } from 'react-native' +import { act, fireEvent, screen, waitFor } from '@testing-library/react-native' + +import CreateBanner from '@/app/(drawer)/dashboard/dashboard-banners/create' +import { setupApiMocks } from '../mocks/api' +import { + expectProcedureCalled, + lastProcedureInput, + procCount, +} from '../mocks/procedures' +import { resetStaffAuthMock } from '../mocks/staff-auth' +import { routerMock, searchParamsMock } from '../mocks/router' +import { renderWithProviders } from '../helpers/render' + +const pressLastAlertButton = (label: string) => { + const calls = (Alert.alert as jest.Mock).mock.calls + const call = calls[calls.length - 1] + const buttons = (call?.[2] ?? []) as { text: string; onPress?: () => void }[] + act(() => buttons.find((b) => b.text === label)?.onPress?.()) +} + +// "Create Banner" appears as both the header title and the submit button. +const pressSubmit = () => { + const labels = screen.getAllByText('Create Banner') + fireEvent.press(labels[labels.length - 1]) +} + +const blur = (placeholder: string, name: string) => { + fireEvent(screen.getByPlaceholderText(placeholder), 'blur', { + target: { name }, + persist: () => {}, + }) +} + +const pickImage = async () => { + await act(async () => { + await mockPickState.trigger?.() + }) + await screen.findByText('Only one image allowed') +} + +/** The app GETs the picked file:// asset; the harness fetch only knows tRPC. */ +const installAssetFetchShim = (fetchMock: jest.Mock) => { + ;(global as unknown as { fetch: unknown }).fetch = jest.fn((url: string, opts: unknown) => { + if (String(url).startsWith('file:')) { + return Promise.resolve({ ok: true, blob: async () => ({}) }) + } + return fetchMock(url, opts) + }) +} + +const uploadProcedures = { + 'common.generateUploadUrls': { + uploadUrls: ['https://cdn.example.com/product-images/pic.jpg'], + }, +} + +describe('Create banner', () => { + beforeEach(() => { + resetStaffAuthMock() + searchParamsMock.current = {} + mockPickState.trigger = null + routerMock.back.mockClear() + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + }) + + it('renders the create form', () => { + setupApiMocks() + renderWithProviders() + + expect(screen.getAllByText('Create Banner').length).toBeGreaterThan(1) + expect(screen.getByPlaceholderText('Enter banner name')).toBeVisible() + expect(screen.getByPlaceholderText('Enter banner description (optional)')).toBeVisible() + expect(screen.getByPlaceholderText('https://example.com/redirect')).toBeVisible() + }) + + it('shows the name validation error on blur', async () => { + setupApiMocks() + renderWithProviders() + + blur('Enter banner name', 'name') + + expect(await screen.findByText('Banner name is required')).toBeVisible() + }) + + it('rejects a malformed redirect URL', async () => { + setupApiMocks() + renderWithProviders() + + fireEvent.changeText(screen.getByPlaceholderText('https://example.com/redirect'), 'not-a-url') + blur('https://example.com/redirect', 'redirectUrl') + + expect(await screen.findByText('Please enter a valid URL')).toBeVisible() + }) + + it('does not create a banner without an image', async () => { + const { fetchMock } = setupApiMocks() + renderWithProviders() + + fireEvent.changeText(screen.getByPlaceholderText('Enter banner name'), 'My Banner') + pressSubmit() + + await waitFor(() => expect(Alert.alert).toHaveBeenCalledWith('Error', 'Image is required')) + expect(procCount(fetchMock, 'admin.banner.createBanner')).toBe(0) + }) + + it('uploads the image and creates the banner', async () => { + const { fetchMock } = setupApiMocks({ + procedures: { + ...uploadProcedures, + 'admin.banner.createBanner': { id: 1, name: 'My Banner' }, + }, + }) + installAssetFetchShim(fetchMock as unknown as jest.Mock) + renderWithProviders() + + fireEvent.changeText(screen.getByPlaceholderText('Enter banner name'), 'My Banner') + await pickImage() + pressSubmit() + + await waitFor(() => expectProcedureCalled(fetchMock, 'admin.banner.createBanner')) + expect(lastProcedureInput(fetchMock, 'admin.banner.createBanner')).toMatchObject({ + name: 'My Banner', + imageUrl: 'https://cdn.example.com/product-images/pic.jpg', + skuIds: [], + }) + }) + + it('alerts and navigates back on successful creation', async () => { + const { fetchMock } = setupApiMocks({ + procedures: { + ...uploadProcedures, + 'admin.banner.createBanner': { id: 1 }, + }, + }) + installAssetFetchShim(fetchMock as unknown as jest.Mock) + renderWithProviders() + + fireEvent.changeText(screen.getByPlaceholderText('Enter banner name'), 'My Banner') + await pickImage() + pressSubmit() + + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith( + 'Success', + 'Banner created successfully', + expect.any(Array) + ) + ) + pressLastAlertButton('OK') + expect(routerMock.back).toHaveBeenCalled() + }) + + it('alerts an error when createBanner fails', async () => { + const { fetchMock } = setupApiMocks({ + procedures: { + ...uploadProcedures, + 'admin.banner.createBanner': () => { + throw new Error('nope') + }, + }, + }) + installAssetFetchShim(fetchMock as unknown as jest.Mock) + renderWithProviders() + + fireEvent.changeText(screen.getByPlaceholderText('Enter banner name'), 'My Banner') + await pickImage() + pressSubmit() + + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith( + 'Error', + 'Failed to create banner. Please try again.' + ) + ) + }) + + it('cancels and navigates back', () => { + setupApiMocks() + renderWithProviders() + + fireEvent.press(screen.getByText('Cancel')) + + expect(routerMock.back).toHaveBeenCalled() + }) +}) diff --git a/apps/admin-ui/tests/screens/banners-edit.test.tsx b/apps/admin-ui/tests/screens/banners-edit.test.tsx new file mode 100644 index 0000000..6b83bcf --- /dev/null +++ b/apps/admin-ui/tests/screens/banners-edit.test.tsx @@ -0,0 +1,215 @@ +/** + * Edit banner screen (app/(drawer)/dashboard/dashboard-banners/edit/[id].tsx) — + * getBanner hydration, updateBanner mutation, validation and navigation. + */ + +jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + +import React from 'react' +import { Alert } from 'react-native' +import { act, fireEvent, screen, waitFor } from '@testing-library/react-native' + +import EditBanner from '@/app/(drawer)/dashboard/dashboard-banners/edit/[id]' +import { setupApiMocks } from '../mocks/api' +import { + expectProcedureCalled, + lastProcedureInput, + procCount, +} from '../mocks/procedures' +import { resetStaffAuthMock } from '../mocks/staff-auth' +import { routerMock, searchParamsMock } from '../mocks/router' +import { renderWithProviders } from '../helpers/render' + +const banner = { + id: 7, + name: 'Banner Seven', + imageUrl: 'https://cdn.example.com/seven.jpg', + description: 'Seven desc', + skuIds: [], + redirectUrl: null, + serialNum: 1, + isActive: true, + createdAt: '2024-01-01T00:00:00.000Z', + lastUpdated: '2024-01-01T00:00:00.000Z', +} + +const pressLastAlertButton = (label: string) => { + const calls = (Alert.alert as jest.Mock).mock.calls + const call = calls[calls.length - 1] + const buttons = (call?.[2] ?? []) as { text: string; onPress?: () => void }[] + act(() => buttons.find((b) => b.text === label)?.onPress?.()) +} + +describe('Edit banner', () => { + beforeEach(() => { + resetStaffAuthMock() + searchParamsMock.current = { id: '7' } + routerMock.back.mockClear() + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + }) + + it('requests the banner by the route id', async () => { + const { fetchMock } = setupApiMocks({ procedures: { 'admin.banner.getBanner': banner } }) + renderWithProviders() + + await waitFor(() => expectProcedureCalled(fetchMock, 'admin.banner.getBanner')) + expect(lastProcedureInput(fetchMock, 'admin.banner.getBanner')).toEqual({ id: 7 }) + }) + + it('hydrates the form from the fetched banner', async () => { + setupApiMocks({ procedures: { 'admin.banner.getBanner': banner } }) + renderWithProviders() + + expect(await screen.findByDisplayValue('Banner Seven')).toBeVisible() + expect(screen.getByDisplayValue('Seven desc')).toBeVisible() + }) + + it('renders the not-found state when the banner is missing', async () => { + setupApiMocks({ procedures: { 'admin.banner.getBanner': null } }) + renderWithProviders() + + expect(await screen.findByText('Banner not found')).toBeVisible() + }) + + it('updates the banner with the transformed payload', async () => { + const { fetchMock } = setupApiMocks({ + procedures: { + 'admin.banner.getBanner': banner, + 'admin.banner.updateBanner': { ...banner, name: 'Renamed Banner' }, + }, + }) + renderWithProviders() + + await screen.findByDisplayValue('Banner Seven') + fireEvent.changeText(screen.getByDisplayValue('Banner Seven'), 'Renamed Banner') + fireEvent.press(screen.getByText('Update Banner')) + + await waitFor(() => expectProcedureCalled(fetchMock, 'admin.banner.updateBanner')) + expect(lastProcedureInput(fetchMock, 'admin.banner.updateBanner')).toMatchObject({ + id: 7, + name: 'Renamed Banner', + imageUrl: 'https://cdn.example.com/seven.jpg', + description: 'Seven desc', + skuIds: [], + }) + }) + + it('refreshes the banner list and refetches the mounted banner after a successful update', async () => { + const { fetchMock } = setupApiMocks({ + procedures: { + 'admin.banner.getBanner': banner, + 'admin.banner.updateBanner': { ...banner, name: 'Renamed Banner' }, + 'admin.banner.getBanners': [banner], + }, + }) + renderWithProviders() + + await screen.findByDisplayValue('Banner Seven') + await waitFor(() => expectProcedureCalled(fetchMock, 'admin.banner.getBanner')) + + // Baselines: hydration has already pulled getBanner once, while getBanners + // is `enabled: false` — nothing fetches it until the screen calls refetch(). + const getBannerBefore = procCount(fetchMock, 'admin.banner.getBanner') + const getBannersBefore = procCount(fetchMock, 'admin.banner.getBanners') + expect(getBannerBefore).toBeGreaterThan(0) + + fireEvent.changeText(screen.getByDisplayValue('Banner Seven'), 'Renamed Banner') + fireEvent.press(screen.getByText('Update Banner')) + + await waitFor(() => expectProcedureCalled(fetchMock, 'admin.banner.updateBanner')) + + // `await refetchBanners()` — the explicit pull of the list query. + await waitFor(() => + expect(procCount(fetchMock, 'admin.banner.getBanners')).toBeGreaterThan( + getBannersBefore + ) + ) + expect(procCount(fetchMock, 'admin.banner.getBanners')).toBeGreaterThan(0) + + // `utils.admin.banner.getBanner.invalidate()` refetches the mounted query. + await waitFor(() => + expect(procCount(fetchMock, 'admin.banner.getBanner')).toBeGreaterThan( + getBannerBefore + ) + ) + }) + + it('does not update before the banner loads', () => { + const { fetchMock } = setupApiMocks({ + procedures: { 'admin.banner.getBanner': () => new Promise(() => {}) }, + }) + renderWithProviders() + + expect(procCount(fetchMock, 'admin.banner.updateBanner')).toBe(0) + }) + + it('alerts when the update fails', async () => { + setupApiMocks({ + procedures: { + 'admin.banner.getBanner': banner, + 'admin.banner.updateBanner': () => { + throw new Error('nope') + }, + }, + }) + renderWithProviders() + + await screen.findByDisplayValue('Banner Seven') + fireEvent.changeText(screen.getByDisplayValue('Banner Seven'), 'Renamed Banner') + fireEvent.press(screen.getByText('Update Banner')) + + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith( + 'Error', + 'Failed to update banner. Please try again.' + ) + ) + }) + + it('alerts success and navigates back after update', async () => { + setupApiMocks({ + procedures: { + 'admin.banner.getBanner': banner, + 'admin.banner.updateBanner': { ...banner, name: 'Renamed Banner' }, + }, + }) + renderWithProviders() + + await screen.findByDisplayValue('Banner Seven') + fireEvent.changeText(screen.getByDisplayValue('Banner Seven'), 'Renamed Banner') + fireEvent.press(screen.getByText('Update Banner')) + + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith( + 'Success', + 'Banner updated successfully', + expect.any(Array) + ) + ) + + routerMock.back.mockClear() + pressLastAlertButton('OK') + expect(routerMock.back).toHaveBeenCalled() + }) + + it('BUG: alerts "Banner not found" and navigates back on mount before getBanner resolves', async () => { + setupApiMocks({ procedures: { 'admin.banner.getBanner': banner } }) + renderWithProviders() + + await screen.findByDisplayValue('Banner Seven') + + expect(Alert.alert).toHaveBeenCalledWith('Error', 'Banner not found') + expect(routerMock.back).toHaveBeenCalled() + }) + + it('cancels and navigates back', async () => { + setupApiMocks({ procedures: { 'admin.banner.getBanner': banner } }) + renderWithProviders() + + await screen.findByDisplayValue('Banner Seven') + routerMock.back.mockClear() + fireEvent.press(screen.getByText('Cancel')) + + expect(routerMock.back).toHaveBeenCalled() + }) +}) diff --git a/apps/admin-ui/tests/screens/banners-index.test.tsx b/apps/admin-ui/tests/screens/banners-index.test.tsx new file mode 100644 index 0000000..2c11859 --- /dev/null +++ b/apps/admin-ui/tests/screens/banners-index.test.tsx @@ -0,0 +1,237 @@ +/** + * Dashboard banners list (app/(drawer)/dashboard/dashboard-banners/index.tsx) — + * banner rows, slot assignment/edit mode, save/empty-slot mutations, delete and + * navigation to create/edit. + */ + +jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + +import React from 'react' +import { Alert } from 'react-native' +import MaterialIcons from '@expo/vector-icons/MaterialIcons' +import { act, fireEvent, screen, waitFor } from '@testing-library/react-native' + +import DashboardBanners from '@/app/(drawer)/dashboard/dashboard-banners/index' +import { setupApiMocks } from '../mocks/api' +import { + expectProcedureCalled, + lastProcedureInput, + procCount, +} from '../mocks/procedures' +import { resetStaffAuthMock } from '../mocks/staff-auth' +import { routerMock, searchParamsMock } from '../mocks/router' +import { renderWithProviders } from '../helpers/render' + +const bannerOne = { + id: 1, + name: 'Banner One', + imageUrl: 'https://cdn.example.com/one.jpg', + description: 'First banner', + skuIds: [], + redirectUrl: null, + serialNum: 1, + isActive: true, + createdAt: '2024-01-01T00:00:00.000Z', + lastUpdated: '2024-01-01T00:00:00.000Z', +} + +const bannerTwo = { + ...bannerOne, + id: 2, + name: 'Banner Two', + imageUrl: 'https://cdn.example.com/two.jpg', + description: null, + serialNum: null, + isActive: false, +} + +const pressLastAlertButton = (label: string) => { + const calls = (Alert.alert as jest.Mock).mock.calls + const call = calls[calls.length - 1] + const buttons = (call?.[2] ?? []) as { text: string; onPress?: () => void }[] + act(() => buttons.find((b) => b.text === label)?.onPress?.()) +} + +const iconByName = (name: string) => { + const icons = screen.UNSAFE_getAllByType(MaterialIcons) + return icons.find((icon) => icon.props.name === name) as unknown as Parameters< + typeof fireEvent.press + >[0] +} + +describe('Dashboard banners index', () => { + beforeEach(() => { + resetStaffAuthMock() + searchParamsMock.current = {} + routerMock.push.mockClear() + routerMock.back.mockClear() + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + }) + + it('shows a loading state while banners are pending', () => { + setupApiMocks({ procedures: { 'admin.banner.getBanners': { banners: [bannerOne] } } }) + renderWithProviders() + + expect(screen.getByText('Loading banners...')).toBeVisible() + }) + + it('renders banner rows and assigns slotted banners to their slot', async () => { + setupApiMocks({ + procedures: { 'admin.banner.getBanners': { banners: [bannerOne, bannerTwo] } }, + }) + renderWithProviders() + + expect(await screen.findByText('First banner')).toBeVisible() + expect(screen.getByText('Banner Two')).toBeVisible() + // banner one occupies slot 1 (label appears on both the tile and the row) + expect(screen.getAllByText('Slot 1').length).toBeGreaterThan(1) + }) + + it('renders the empty state when there are no banners', async () => { + setupApiMocks({ procedures: { 'admin.banner.getBanners': { banners: [] } } }) + renderWithProviders() + + expect(await screen.findByText('No Banners Yet')).toBeVisible() + }) + + it('renders the error state when the query fails', async () => { + setupApiMocks({ + procedures: { + 'admin.banner.getBanners': () => { + throw new Error('boom') + }, + }, + }) + renderWithProviders() + + expect(await screen.findByText('Error loading banners')).toBeVisible() + }) + + it('navigates to create from the floating action button', async () => { + setupApiMocks({ procedures: { 'admin.banner.getBanners': { banners: [bannerOne] } } }) + renderWithProviders() + await screen.findByText('First banner') + + fireEvent.press(screen.getByLabelText('Add new banner')) + + expect(routerMock.push).toHaveBeenCalledWith( + '/(drawer)/dashboard/dashboard-banners/create' + ) + }) + + it('navigates to edit for the pressed banner', async () => { + setupApiMocks({ procedures: { 'admin.banner.getBanners': { banners: [bannerOne] } } }) + renderWithProviders() + await screen.findByText('First banner') + + fireEvent.press(iconByName('edit')) + + expect(routerMock.push).toHaveBeenCalledWith( + '/(drawer)/dashboard/dashboard-banners/edit/1' + ) + }) + + it('saves a new slot assignment through updateBanner', async () => { + const { fetchMock } = setupApiMocks({ + procedures: { + 'admin.banner.getBanners': { banners: [bannerOne, bannerTwo] }, + 'admin.banner.updateBanner': { ...bannerTwo, serialNum: 2 }, + }, + }) + renderWithProviders() + await screen.findByText('Banner Two') + + const fetchesBeforeSave = procCount(fetchMock, 'admin.banner.getBanners') + + fireEvent.press(screen.getByText('Slot 2')) + fireEvent.press(screen.getByText('Banner Two')) + fireEvent.press(screen.getByText('Save Changes')) + + await waitFor(() => expectProcedureCalled(fetchMock, 'admin.banner.updateBanner')) + expect(lastProcedureInput(fetchMock, 'admin.banner.updateBanner')).toEqual({ + id: 2, + serialNum: 2, + }) + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith('Success', 'Slot assignments saved successfully') + ) + // let the post-save refetch settle before the test unmounts + await waitFor(() => + expect(procCount(fetchMock, 'admin.banner.getBanners')).toBeGreaterThan(fetchesBeforeSave) + ) + }) + + it('empties an occupied slot through updateBanner with serialNum null', async () => { + const { fetchMock } = setupApiMocks({ + procedures: { + 'admin.banner.getBanners': { banners: [bannerOne, bannerTwo] }, + 'admin.banner.updateBanner': { ...bannerOne, serialNum: null }, + }, + }) + renderWithProviders() + await screen.findByText('First banner') + + const fetchesBeforeEmptySlot = procCount(fetchMock, 'admin.banner.getBanners') + + fireEvent.press(screen.getAllByText('Slot 1')[0]) + fireEvent.press(screen.getByText('Empty Slot')) + + await waitFor(() => expectProcedureCalled(fetchMock, 'admin.banner.updateBanner')) + expect(lastProcedureInput(fetchMock, 'admin.banner.updateBanner')).toEqual({ + id: 1, + serialNum: null, + }) + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith('Success', 'Slot 1 has been emptied') + ) + // let the post-empty-slot refetch settle before the test unmounts + await waitFor(() => + expect(procCount(fetchMock, 'admin.banner.getBanners')).toBeGreaterThan( + fetchesBeforeEmptySlot + ) + ) + }) + + it('cancels slot editing and restores assignments', async () => { + const { fetchMock } = setupApiMocks({ + procedures: { 'admin.banner.getBanners': { banners: [bannerOne, bannerTwo] } }, + }) + renderWithProviders() + await screen.findByText('Banner Two') + + fireEvent.press(screen.getByText('Slot 2')) + fireEvent.press(screen.getByText('Banner Two')) + fireEvent.press(screen.getByText('Cancel')) + + expect(screen.queryByText('Save Changes')).toBeNull() + expect(procCount(fetchMock, 'admin.banner.updateBanner')).toBe(0) + }) + + it('deletes a banner after confirming the alert', async () => { + const { fetchMock } = setupApiMocks({ + procedures: { + 'admin.banner.getBanners': { banners: [bannerOne] }, + 'admin.banner.deleteBanner': { success: true }, + }, + }) + renderWithProviders() + await screen.findByText('First banner') + + fireEvent.press(iconByName('delete')) + + expect(Alert.alert).toHaveBeenCalledWith( + 'Delete Banner', + 'Are you sure you want to delete this banner?', + expect.any(Array) + ) + pressLastAlertButton('Delete') + + await waitFor(() => expectProcedureCalled(fetchMock, 'admin.banner.deleteBanner')) + expect(lastProcedureInput(fetchMock, 'admin.banner.deleteBanner')).toEqual({ id: 1 }) + await waitFor(() => expect(Alert.alert).toHaveBeenCalledWith('Success', 'Banner deleted')) + // let the post-delete refetch settle before the test unmounts + await waitFor(() => + expect(procCount(fetchMock, 'admin.banner.getBanners')).toBeGreaterThan(1) + ) + }) +}) diff --git a/apps/admin-ui/tests/screens/complaints-index.test.tsx b/apps/admin-ui/tests/screens/complaints-index.test.tsx new file mode 100644 index 0000000..da15834 --- /dev/null +++ b/apps/admin-ui/tests/screens/complaints-index.test.tsx @@ -0,0 +1,250 @@ +/** + * Complaints list (app/(drawer)/dashboard/complaints/index.tsx) — infinite list, + * rows, empty/error/loading, resolve mutation and navigation. + * + * HARNESS BUG WORKAROUND: tests/mocks/native.ts has a stray top-level `return` + * (line 89 → "'return' outside of function"), so any module that pulls in + * `common-ui` (which eagerly imports expo-image/picker/document-picker) fails to + * parse. The harness file is untouched; the three expo modules are re-mocked + * locally below with equivalent, self-contained fakes. See the final report. + */ + +jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + +jest.mock('expo-image', () => { + const React = require('react') + const { View } = require('react-native') + const Image = (props: Record) => + React.createElement(View, { testID: 'mock-image', ...props }) + return { __esModule: true, Image, default: Image } +}) + +jest.mock('expo-image-picker', () => { + const asset = { uri: 'file:///tmp/pick.jpg', fileName: 'pick.jpg', mimeType: 'image/jpeg' } + return { + __esModule: true, + MediaTypeOptions: { Images: 'Images', All: 'All', Videos: 'Videos' }, + launchImageLibraryAsync: jest.fn(async () => ({ canceled: false, assets: [asset] })), + launchCameraAsync: jest.fn(async () => ({ canceled: false, assets: [asset] })), + requestMediaLibraryPermissionsAsync: jest.fn(async () => ({ granted: true, status: 'granted' })), + requestCameraPermissionsAsync: jest.fn(async () => ({ granted: true, status: 'granted' })), + } +}) + +jest.mock('expo-document-picker', () => ({ + __esModule: true, + getDocumentAsync: jest.fn(async () => ({ + canceled: false, + assets: [{ uri: 'file:///tmp/doc.pdf', name: 'doc.pdf', mimeType: 'application/pdf' }], + })), +})) + +import React from 'react' +import { Alert, FlatList } from 'react-native' +import { act, fireEvent, screen, waitFor } from '@testing-library/react-native' + +import Complaints from '@/app/(drawer)/dashboard/complaints/index' +import { resetStorage, setupApiMocks } from '../mocks/api' +import { + expectProcedureCalled, + lastProcedureInput, + procCount, +} from '../mocks/procedures' +import { resetRouterMock, routerMock, searchParamsMock } from '../mocks/router' +import { resetRefreshHooks } from '../mocks/refresh' +import { resetStaffAuthMock } from '../mocks/staff-auth' +import { renderWithProviders } from '../helpers/render' + +const pendingComplaint = { + id: 5, + text: 'Missing item in order', + userId: 3, + userName: 'Alice', + userMobile: '9999999999', + orderId: 7, + status: 'pending', + createdAt: '2026-01-01T10:00:00.000Z', + images: ['https://assets.test/c/1.png'], + response: null, +} + +const resolvedComplaint = { + ...pendingComplaint, + id: 6, + text: 'Late delivery', + status: 'resolved', + response: 'We have refunded the amount', + images: [], +} + +const page = (complaints: unknown[], nextCursor?: number) => ({ complaints, nextCursor }) + +describe('Complaints list', () => { + beforeEach(async () => { + resetStaffAuthMock() + resetRefreshHooks() + await resetStorage() + resetRouterMock() + searchParamsMock.current = {} + setupApiMocks() + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + }) + + it('shows a loading state while the list query is pending', () => { + setupApiMocks({ + procedures: { 'admin.complaint.getAll': () => new Promise(() => {}) }, + }) + renderWithProviders() + + expect(screen.getByText('Loading complaints...')).toBeVisible() + }) + + it('renders each complaint with status, reply and linked user/order', async () => { + setupApiMocks({ + procedures: { + 'admin.complaint.getAll': page([pendingComplaint, resolvedComplaint]), + }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('Complaint #5')).toBeVisible()) + expect(screen.getByText('Complaint #6')).toBeVisible() + expect(screen.getByText('Missing item in order')).toBeVisible() + expect(screen.getByText('Pending')).toBeVisible() + expect(screen.getByText('Resolved')).toBeVisible() + expect(screen.getByText('We have refunded the amount')).toBeVisible() + expect(screen.getAllByText('Alice').length).toBeGreaterThan(0) + expect(screen.getAllByText('Order #7').length).toBeGreaterThan(0) + }) + + it('only offers Resolve on pending complaints', async () => { + setupApiMocks({ + procedures: { + 'admin.complaint.getAll': page([pendingComplaint, resolvedComplaint]), + }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('Complaint #5')).toBeVisible()) + expect(screen.getAllByText('Resolve Complaint')).toHaveLength(1) + }) + + it('shows the empty state when there are no complaints', async () => { + setupApiMocks({ procedures: { 'admin.complaint.getAll': page([]) } }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('No complaints')).toBeVisible()) + expect(screen.getByText('All complaints will appear here')).toBeVisible() + }) + + it('shows the error state and refetches on Retry', async () => { + const api = setupApiMocks({ + procedures: { + 'admin.complaint.getAll': () => { + throw new Error('boom') + }, + }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('Error')).toBeVisible()) + + const before = procCount(api.fetchMock, 'admin.complaint.getAll') + fireEvent.press(screen.getByText('Retry')) + + await waitFor(() => + expect(procCount(api.fetchMock, 'admin.complaint.getAll')).toBeGreaterThan(before) + ) + }) + + it('resolves a complaint with the admin response and refetches', async () => { + const api = setupApiMocks({ + procedures: { + 'admin.complaint.getAll': page([pendingComplaint]), + 'admin.complaint.resolve': { message: 'Complaint resolved successfully' }, + }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('Complaint #5')).toBeVisible()) + const before = procCount(api.fetchMock, 'admin.complaint.getAll') + + fireEvent.press(screen.getByText('Resolve Complaint')) + fireEvent.changeText( + await screen.findByPlaceholderText('Add a comment...'), + 'Refund issued' + ) + fireEvent.press(screen.getByText('Resolve')) + + await waitFor(() => expectProcedureCalled(api.fetchMock, 'admin.complaint.resolve')) + expect(lastProcedureInput(api.fetchMock, 'admin.complaint.resolve')).toEqual({ + id: '5', + response: 'Refund issued', + }) + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith('Success', 'Complaint marked as resolved') + ) + await waitFor(() => + expect(procCount(api.fetchMock, 'admin.complaint.getAll')).toBeGreaterThan(before) + ) + }) + + it('sends an empty response when the admin confirms without a note', async () => { + const api = setupApiMocks({ + procedures: { + 'admin.complaint.getAll': page([pendingComplaint]), + 'admin.complaint.resolve': { message: 'ok' }, + }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('Complaint #5')).toBeVisible()) + fireEvent.press(screen.getByText('Resolve Complaint')) + fireEvent.press(await screen.findByText('Resolve')) + + await waitFor(() => expectProcedureCalled(api.fetchMock, 'admin.complaint.resolve')) + expect(lastProcedureInput(api.fetchMock, 'admin.complaint.resolve')).toEqual({ + id: '5', + response: '', + }) + }) + + it('navigates to the user and the order from a complaint row', async () => { + setupApiMocks({ + procedures: { 'admin.complaint.getAll': page([pendingComplaint]) }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('Complaint #5')).toBeVisible()) + + fireEvent.press(screen.getByText('Alice')) + expect(routerMock.push).toHaveBeenCalledWith('/(drawer)/dashboard/user-management/3') + + fireEvent.press(screen.getByText('Order #7')) + expect(routerMock.push).toHaveBeenCalledWith( + '/(drawer)/dashboard/manage-orders/order-details/7' + ) + }) + + it('fetches the next page when the list end is reached', async () => { + const api = setupApiMocks({ + procedures: { + 'admin.complaint.getAll': (input: { cursor?: number }) => + input?.cursor + ? page([{ ...pendingComplaint, id: 9, text: 'Second page' }]) + : page([pendingComplaint], 100), + }, + }) + renderWithProviders() + + await screen.findByText('Complaint #5') + const list = screen.UNSAFE_getByType(FlatList as never) + act(() => list.props.onEndReached()) + + expect(await screen.findByText('Second page')).toBeVisible() + expect(lastProcedureInput(api.fetchMock, 'admin.complaint.getAll')).toMatchObject({ + limit: 20, + cursor: 100, + }) + }) +}) diff --git a/apps/admin-ui/tests/screens/coupons-create.test.tsx b/apps/admin-ui/tests/screens/coupons-create.test.tsx new file mode 100644 index 0000000..d885e23 --- /dev/null +++ b/apps/admin-ui/tests/screens/coupons-create.test.tsx @@ -0,0 +1,199 @@ +/** + * Create coupon screen (app/(drawer)/dashboard/coupons/create.tsx) — CouponForm + * wiring, payload shaping (targetUsers->targetUser, flat->maxValue) and the + * create / createReservedCoupon mutations. + */ + +jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + +import React from 'react' +import { Alert } from 'react-native' +import { act, fireEvent, screen, waitFor } from '@testing-library/react-native' + +import CreateCoupon from '@/app/(drawer)/dashboard/coupons/create' +import { setupApiMocks } from '../mocks/api' +import { + expectProcedureCalled, + lastProcedureInput, + procCount, +} from '../mocks/procedures' +import { resetStaffAuthMock } from '../mocks/staff-auth' +import { routerMock, searchParamsMock } from '../mocks/router' +import { createQueryClient, renderWithProviders } from '../helpers/render' + +const pressLastAlertButton = (label: string) => { + const calls = (Alert.alert as jest.Mock).mock.calls + const call = calls[calls.length - 1] + const buttons = (call?.[2] ?? []) as { text: string; onPress?: () => void }[] + act(() => buttons.find((b) => b.text === label)?.onPress?.()) +} + +const fillPercentageCoupon = (code = 'save10', percent = '10') => { + fireEvent.changeText(screen.getByPlaceholderText('e.g., SECRET10'), code) + fireEvent.press(screen.getByText('Percentage')) + fireEvent.changeText(screen.getByPlaceholderText('e.g., 10'), percent) +} + +describe('Create coupon', () => { + beforeEach(() => { + resetStaffAuthMock() + searchParamsMock.current = {} + routerMock.back.mockClear() + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + }) + + it('renders the coupon form', () => { + setupApiMocks() + renderWithProviders() + + expect(screen.getByText('Coupon Codes')).toBeVisible() + expect(screen.getByText('Discount Type *')).toBeVisible() + expect(screen.getByText('Create Coupon')).toBeVisible() + }) + + it('does not submit when the form is invalid', async () => { + const { fetchMock } = setupApiMocks() + renderWithProviders() + + fireEvent.press(screen.getByText('Create Coupon')) + + await waitFor(() => expect(screen.getByText('Code 1')).toBeVisible()) + expect(procCount(fetchMock, 'admin.coupon.create')).toBe(0) + expect(procCount(fetchMock, 'admin.coupon.createReservedCoupon')).toBe(0) + }) + + it('uppercases the coupon code as it is typed', () => { + setupApiMocks() + renderWithProviders() + + fireEvent.changeText(screen.getByPlaceholderText('e.g., SECRET10'), 'save10') + + expect(screen.getByDisplayValue('SAVE10')).toBeVisible() + }) + + it('creates a percentage coupon with the expected payload', async () => { + const { fetchMock } = setupApiMocks({ + procedures: { 'admin.coupon.create': [{ id: 1, couponCode: 'SAVE10' }] }, + }) + renderWithProviders() + + fillPercentageCoupon() + fireEvent.press(screen.getByText('Create Coupon')) + + await waitFor(() => expectProcedureCalled(fetchMock, 'admin.coupon.create')) + expect(lastProcedureInput(fetchMock, 'admin.coupon.create')).toMatchObject({ + couponCodes: ['SAVE10'], + discountPercent: 10, + isUserBased: false, + isApplyForAll: false, + exclusiveApply: false, + isFirstOrderOnly: false, + }) + expect(procCount(fetchMock, 'admin.coupon.createReservedCoupon')).toBe(0) + }) + + it('invalidates both coupon list queries by path after a create', async () => { + setupApiMocks({ + procedures: { 'admin.coupon.create': [{ id: 1, couponCode: 'SAVE10' }] }, + }) + // The list queries behind this form are not mounted here, so a fetch-count + // assertion cannot see the refresh. Spy on the injected query client + // instead; jest.spyOn keeps calling through, so invalidation still happens. + const client = createQueryClient() + const invalidateSpy = jest.spyOn(client, 'invalidateQueries') + renderWithProviders(, { queryClient: client }) + + fillPercentageCoupon() + fireEvent.press(screen.getByText('Create Coupon')) + + await waitFor(() => expect(invalidateSpy).toHaveBeenCalled()) + + // tRPC keys are [pathArray, ...]; assert the ARRAY path was used, so a + // differently-filtered list (any search term) still matches the refresh. + const paths = invalidateSpy.mock.calls.map((call) => { + const key = (call[0] as { queryKey?: unknown[] } | undefined)?.queryKey + return Array.isArray(key) ? key[0] : null + }) + expect(paths).toContainEqual(['admin', 'coupon', 'getAll']) + expect(paths).toContainEqual(['admin', 'coupon', 'getReservedCoupons']) + }) + + it('creates a flat-discount coupon and mirrors it into maxValue', async () => { + const { fetchMock } = setupApiMocks({ + procedures: { 'admin.coupon.create': [{ id: 1 }] }, + }) + renderWithProviders() + + fireEvent.changeText(screen.getByPlaceholderText('e.g., SECRET10'), 'flat50') + fireEvent.press(screen.getByText('Flat Amount')) + fireEvent.changeText(screen.getByPlaceholderText('e.g., 50'), '50') + fireEvent.press(screen.getByText('Create Coupon')) + + await waitFor(() => expectProcedureCalled(fetchMock, 'admin.coupon.create')) + const input = lastProcedureInput(fetchMock, 'admin.coupon.create') as Record + expect(input).toMatchObject({ couponCodes: ['FLAT50'], flatDiscount: 50, maxValue: 50 }) + expect(input.discountPercent).toBeUndefined() + }) + + it('creates a reserved coupon when the checkbox is set', async () => { + const { fetchMock } = setupApiMocks({ + procedures: { 'admin.coupon.createReservedCoupon': [{ id: 1 }] }, + }) + renderWithProviders() + + fillPercentageCoupon('secret20', '20') + fireEvent.press(screen.getByRole('checkbox')) + fireEvent.press(screen.getByText('Create Coupon')) + + await waitFor(() => + expectProcedureCalled(fetchMock, 'admin.coupon.createReservedCoupon') + ) + expect(lastProcedureInput(fetchMock, 'admin.coupon.createReservedCoupon')).toMatchObject({ + couponCodes: ['SECRET20'], + discountPercent: 20, + }) + expect(procCount(fetchMock, 'admin.coupon.create')).toBe(0) + }) + + it('alerts success and navigates back when the form is confirmed', async () => { + setupApiMocks({ + procedures: { 'admin.coupon.create': [{ id: 1 }] }, + }) + renderWithProviders() + + fillPercentageCoupon() + fireEvent.press(screen.getByText('Create Coupon')) + + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith( + 'Success', + '1 coupon created successfully', + expect.any(Array) + ) + ) + + pressLastAlertButton('OK') + expect(routerMock.back).toHaveBeenCalled() + }) + + it('alerts the mutation error message', async () => { + setupApiMocks({ + procedures: { + 'admin.coupon.create': () => { + throw new Error('Coupon code already exists: SAVE10') + }, + }, + }) + renderWithProviders() + + fillPercentageCoupon() + fireEvent.press(screen.getByText('Create Coupon')) + + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith( + 'Error', + 'Coupon code already exists: SAVE10' + ) + ) + }) +}) diff --git a/apps/admin-ui/tests/screens/coupons-edit.test.tsx b/apps/admin-ui/tests/screens/coupons-edit.test.tsx new file mode 100644 index 0000000..4635a41 --- /dev/null +++ b/apps/admin-ui/tests/screens/coupons-edit.test.tsx @@ -0,0 +1,218 @@ +/** + * Edit coupon screen (app/(drawer)/dashboard/coupons/edit/[id].tsx) — hydrates + * CouponForm from getById and dispatches the update mutation. + */ + +jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + +import React from 'react' +import { Alert } from 'react-native' +import { act, fireEvent, screen, waitFor } from '@testing-library/react-native' + +import EditCoupon from '@/app/(drawer)/dashboard/coupons/edit/[id]' +import { setupApiMocks } from '../mocks/api' +import { + expectProcedureCalled, + lastProcedureInput, + procCount, +} from '../mocks/procedures' +import { resetStaffAuthMock } from '../mocks/staff-auth' +import { routerMock, searchParamsMock } from '../mocks/router' +import { createQueryClient, renderWithProviders } from '../helpers/render' + +const coupon = { + id: 5, + couponCode: 'EDIT10', + isUserBased: false, + discountPercent: '10', + flatDiscount: null, + minOrder: '100', + skuIds: [], + maxValue: '50', + isApplyForAll: true, + validTill: '2099-01-01T00:00:00.000Z', + maxLimitForUser: 2, + exclusiveApply: false, + isFirstOrderOnly: false, + isInvalidated: false, + createdBy: 1, + targetUser: { id: 3, name: 'shafi', mobile: '9999999999' }, + applicableUsers: [], + applicableProducts: [], +} + +const pressLastAlertButton = (label: string) => { + const calls = (Alert.alert as jest.Mock).mock.calls + const call = calls[calls.length - 1] + const buttons = (call?.[2] ?? []) as { text: string; onPress?: () => void }[] + act(() => buttons.find((b) => b.text === label)?.onPress?.()) +} + +describe('Edit coupon', () => { + beforeEach(() => { + resetStaffAuthMock() + searchParamsMock.current = { id: '5' } + routerMock.back.mockClear() + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + }) + + it('shows loading while getById is pending', () => { + setupApiMocks({ procedures: { 'admin.coupon.getById': coupon } }) + renderWithProviders() + + expect(screen.getByText('Loading...')).toBeVisible() + }) + + it('requests the coupon by the route id', async () => { + const { fetchMock } = setupApiMocks({ procedures: { 'admin.coupon.getById': coupon } }) + renderWithProviders() + + await waitFor(() => expectProcedureCalled(fetchMock, 'admin.coupon.getById')) + expect(lastProcedureInput(fetchMock, 'admin.coupon.getById')).toEqual({ id: 5 }) + }) + + it('prefills the form from the fetched coupon', async () => { + setupApiMocks({ procedures: { 'admin.coupon.getById': coupon } }) + renderWithProviders() + + expect(await screen.findByDisplayValue('EDIT10')).toBeVisible() + expect(screen.getByDisplayValue('10')).toBeVisible() + expect(screen.getByDisplayValue('100')).toBeVisible() + }) + + it('shows a not-found state when the coupon does not exist', async () => { + setupApiMocks({ procedures: { 'admin.coupon.getById': null } }) + renderWithProviders() + + expect(await screen.findByText('Coupon not found')).toBeVisible() + }) + + it('dispatches update with the transformed payload', async () => { + const { fetchMock } = setupApiMocks({ + procedures: { + 'admin.coupon.getById': coupon, + 'admin.coupon.update': { ...coupon }, + }, + }) + renderWithProviders() + + await screen.findByDisplayValue('EDIT10') + fireEvent.press(screen.getByText('Create Coupon')) + + await waitFor(() => expectProcedureCalled(fetchMock, 'admin.coupon.update')) + const input = lastProcedureInput(fetchMock, 'admin.coupon.update') as { + id: number + updates: Record + } + expect(input.id).toBe(5) + expect(input.updates).toMatchObject({ + couponCodes: ['EDIT10'], + discountPercent: 10, + minOrder: 100, + maxValue: 50, + isApplyForAll: true, + isUserBased: false, + targetUser: 3, + isReservedCoupon: false, + }) + expect(input.updates.targetUsers).toBeUndefined() + }) + + it('does not call update before the coupon loads', async () => { + const { fetchMock } = setupApiMocks({ + procedures: { + 'admin.coupon.getById': () => new Promise(() => {}), + }, + }) + renderWithProviders() + + expect(procCount(fetchMock, 'admin.coupon.update')).toBe(0) + }) + + it('alerts the update error message', async () => { + setupApiMocks({ + procedures: { + 'admin.coupon.getById': coupon, + 'admin.coupon.update': () => { + throw new Error('Cannot have both discountPercent and flatDiscount') + }, + }, + }) + renderWithProviders() + + await screen.findByDisplayValue('EDIT10') + fireEvent.press(screen.getByText('Create Coupon')) + + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith( + 'Error', + 'Cannot have both discountPercent and flatDiscount' + ) + ) + }) + + it('alerts success and navigates back after update', async () => { + setupApiMocks({ + procedures: { + 'admin.coupon.getById': coupon, + 'admin.coupon.update': { ...coupon }, + }, + }) + renderWithProviders() + + await screen.findByDisplayValue('EDIT10') + fireEvent.press(screen.getByText('Create Coupon')) + + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith( + 'Success', + 'Coupon updated successfully', + expect.any(Array) + ) + ) + + pressLastAlertButton('OK') + expect(routerMock.back).toHaveBeenCalled() + }) + + it('refetches the mounted coupon and invalidates both coupon lists by path after update', async () => { + const { fetchMock } = setupApiMocks({ + procedures: { + 'admin.coupon.getById': coupon, + 'admin.coupon.update': { ...coupon }, + }, + }) + + const client = createQueryClient() + const invalidateSpy = jest.spyOn(client, 'invalidateQueries') + renderWithProviders(, { queryClient: client }) + + await screen.findByDisplayValue('EDIT10') + + // These suites share a module-singleton tRPC client, so baseline the count + // right before the interaction and assert a delta, never an absolute number. + const before = procCount(fetchMock, 'admin.coupon.getById') + fireEvent.press(screen.getByText('Create Coupon')) + + // (a) the mounted getById query really refetches. + await waitFor(() => + expect(procCount(fetchMock, 'admin.coupon.getById')).toBeGreaterThan(before) + ) + + // (b) the two list invalidations used the ARRAY path, not a dotted string. + const invalidatedPaths = () => + invalidateSpy.mock.calls.map((call) => { + const key = (call[0] as { queryKey?: unknown[] } | undefined)?.queryKey + return Array.isArray(key) ? key[0] : null + }) + + await waitFor(() => + expect(invalidatedPaths()).toContainEqual(['admin', 'coupon', 'getAll']) + ) + expect(invalidatedPaths()).toContainEqual([ + 'admin', + 'coupon', + 'getReservedCoupons', + ]) + }) +}) diff --git a/apps/admin-ui/tests/screens/coupons-index.test.tsx b/apps/admin-ui/tests/screens/coupons-index.test.tsx new file mode 100644 index 0000000..1b44d73 --- /dev/null +++ b/apps/admin-ui/tests/screens/coupons-index.test.tsx @@ -0,0 +1,290 @@ +/** + * Coupons list screen (app/(drawer)/dashboard/coupons/index.tsx) — the two + * TabView tabs (General / Reserved), infinite pagination, search, delete and + * navigation to create/edit. + * + * HARNESS BUG WORKAROUND: tests/mocks/native.ts `tabViewMock` is internally + * inconsistent — its `SceneMap` returns the scenes object while `TabView` + * invokes `renderScene({ route })` as a function, so rendering this screen + * throws `TypeError: renderScene is not a function`. Its tab press also + * hardcodes `onIndexChange(0)`. We override the module locally with a corrected + * copy (the harness file itself is untouched). See the final report. + */ + +jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + +jest.mock('react-native-tab-view', () => { + const React = require('react') + const { View, Text } = require('react-native') + + const TabView = ({ + navigationState, + renderScene, + onIndexChange, + }: { + navigationState: { index: number; routes: { key: string }[] } + renderScene: (info: { route: { key: string } }) => React.ReactNode + onIndexChange?: (index: number) => void + }) => { + const route = navigationState.routes[navigationState.index] + return React.createElement( + View, + { testID: 'mock-tab-view' }, + navigationState.routes.map((r, i) => + React.createElement( + Text, + { key: r.key, testID: `tab-${r.key}`, onPress: () => onIndexChange?.(i) }, + r.key + ) + ), + route ? renderScene({ route }) : null + ) + } + + return { + __esModule: true, + TabView, + SceneMap: (scenes: Record) => ({ route }: { route: { key: string } }) => { + const Scene = scenes[route.key] + return React.createElement(Scene) + }, + TabBar: () => null, + } +}) + +import React from 'react' +import { Alert, FlatList } from 'react-native' +import { act, fireEvent, screen, waitFor } from '@testing-library/react-native' + +import Coupons from '@/app/(drawer)/dashboard/coupons/index' +import { setupApiMocks } from '../mocks/api' +import { lastProcedureInput, expectProcedureCalled, procCount } from '../mocks/procedures' +import { resetStaffAuthMock } from '../mocks/staff-auth' +import { searchParamsMock, routerMock } from '../mocks/router' +import { renderWithProviders } from '../helpers/render' + +const activeCoupon = { + id: 1, + couponCode: 'SAVE10', + isUserBased: false, + discountPercent: '10', + flatDiscount: null, + minOrder: null, + skuIds: null, + maxValue: null, + isApplyForAll: true, + validTill: '2099-01-01T00:00:00.000Z', + maxLimitForUser: null, + exclusiveApply: false, + isFirstOrderOnly: false, + isInvalidated: false, + createdBy: 1, + applicableUsers: [], + applicableProducts: [], +} + +const expiredCoupon = { + ...activeCoupon, + id: 2, + couponCode: 'OLDCODE', + flatDiscount: '50', + discountPercent: null, + validTill: '2000-01-01T00:00:00.000Z', +} + +const reservedCoupon = { + id: 9, + secretCode: 'SECRET9', + couponCode: 'SECRET9', + discountPercent: '20', + flatDiscount: null, + minOrder: null, + maxValue: null, + validTill: '2099-01-01T00:00:00.000Z', + isRedeemed: false, + redeemedUser: null, + redeemedAt: null, + creator: { id: 1, name: 'shafi' }, +} + +const pressLastAlertButton = (label: string) => { + const calls = (Alert.alert as jest.Mock).mock.calls + const call = calls[calls.length - 1] + const buttons = (call?.[2] ?? []) as { text: string; onPress?: () => void }[] + const button = buttons.find((b) => b.text === label) + act(() => button?.onPress?.()) +} + +describe('Coupons index', () => { + beforeEach(() => { + resetStaffAuthMock() + searchParamsMock.current = {} + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + routerMock.push.mockClear() + }) + + it('shows a loading state while the list query is pending', () => { + setupApiMocks({ procedures: { 'admin.coupon.getAll': { coupons: [activeCoupon] } } }) + renderWithProviders() + + expect(screen.getByText('Loading Coupons...')).toBeVisible() + }) + + it('renders coupon rows from the getAll infinite query', async () => { + setupApiMocks({ + procedures: { 'admin.coupon.getAll': { coupons: [activeCoupon, expiredCoupon] } }, + }) + renderWithProviders() + + expect(await screen.findByText('SAVE10')).toBeVisible() + expect(screen.getByText('OLDCODE')).toBeVisible() + expect(screen.getByText('Discount: 10% off')).toBeVisible() + expect(screen.getByText('Discount: ₹50 off')).toBeVisible() + expect(screen.getAllByText('Expired').length).toBeGreaterThan(0) + }) + + it('renders the empty state when there are no coupons', async () => { + setupApiMocks({ procedures: { 'admin.coupon.getAll': { coupons: [] } } }) + renderWithProviders() + + expect(await screen.findByText('No Coupons Found')).toBeVisible() + }) + + it('renders the error state and retries on press', async () => { + const { fetchMock } = setupApiMocks({ + procedures: { + 'admin.coupon.getAll': () => { + throw new Error('boom') + }, + }, + }) + renderWithProviders() + + expect(await screen.findByText('Failed to load coupons')).toBeVisible() + const before = procCount(fetchMock, 'admin.coupon.getAll') + + fireEvent.press(screen.getByText('Retry')) + + await waitFor(() => + expect(procCount(fetchMock, 'admin.coupon.getAll')).toBeGreaterThan(before) + ) + }) + + it('fetches the next page when the list end is reached', async () => { + const { fetchMock } = setupApiMocks({ + procedures: { + 'admin.coupon.getAll': (input: any) => + input?.cursor + ? { coupons: [{ ...activeCoupon, id: 3, couponCode: 'PAGE2' }] } + : { coupons: [activeCoupon], nextCursor: 100 }, + }, + }) + renderWithProviders() + + await screen.findByText('SAVE10') + + const list = screen.UNSAFE_getByType(FlatList as any) + act(() => list.props.onEndReached()) + + expect(await screen.findByText('PAGE2')).toBeVisible() + expect(lastProcedureInput(fetchMock, 'admin.coupon.getAll')).toMatchObject({ + limit: 20, + cursor: 100, + }) + }) + + it('sends the search term to getAll', async () => { + const { fetchMock } = setupApiMocks({ + procedures: { 'admin.coupon.getAll': { coupons: [activeCoupon] } }, + }) + renderWithProviders() + + await screen.findByText('SAVE10') + + fireEvent.changeText(screen.getByPlaceholderText('Search coupons...'), 'SAVE') + + await waitFor(() => + expect(lastProcedureInput(fetchMock, 'admin.coupon.getAll')).toMatchObject({ + limit: 20, + search: 'SAVE', + }) + ) + }) + + it('navigates to the create screen from the floating action button', async () => { + setupApiMocks({ procedures: { 'admin.coupon.getAll': { coupons: [activeCoupon] } } }) + renderWithProviders() + await screen.findByText('SAVE10') + + fireEvent.press(screen.getByTestId('mock-linear-gradient')) + + expect(routerMock.push).toHaveBeenCalledWith('/(drawer)/dashboard/coupons/create') + }) + + it('navigates to the edit screen for the pressed coupon', async () => { + setupApiMocks({ procedures: { 'admin.coupon.getAll': { coupons: [activeCoupon] } } }) + renderWithProviders() + await screen.findByText('SAVE10') + + fireEvent.press(screen.getByText('Edit')) + + expect(routerMock.push).toHaveBeenCalledWith('/(drawer)/dashboard/coupons/edit/1') + }) + + it('deletes a coupon after confirming the alert', async () => { + const { fetchMock } = setupApiMocks({ + procedures: { + 'admin.coupon.getAll': { coupons: [activeCoupon] }, + 'admin.coupon.delete': { message: 'Coupon invalidated successfully' }, + }, + }) + renderWithProviders() + await screen.findByText('SAVE10') + + fireEvent.press(screen.getByText('Delete')) + + expect(Alert.alert).toHaveBeenCalledWith( + 'Delete Coupon', + 'Are you sure you want to delete this coupon?', + expect.any(Array) + ) + + pressLastAlertButton('Delete') + + await waitFor(() => expectProcedureCalled(fetchMock, 'admin.coupon.delete')) + expect(lastProcedureInput(fetchMock, 'admin.coupon.delete')).toEqual({ id: 1 }) + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith('Success', 'Coupon deleted successfully') + ) + }) + + it('switches to the Reserved tab and lists reserved coupons', async () => { + setupApiMocks({ + procedures: { + 'admin.coupon.getAll': { coupons: [activeCoupon] }, + 'admin.coupon.getReservedCoupons': { coupons: [reservedCoupon] }, + }, + }) + renderWithProviders() + await screen.findByText('SAVE10') + + fireEvent.press(screen.getByTestId('tab-reserved')) + + expect(await screen.findByText('SECRET9')).toBeVisible() + expect(screen.getByTestId('tab-reserved')).toBeVisible() + }) + + it('shows the reserved empty state', async () => { + setupApiMocks({ + procedures: { + 'admin.coupon.getAll': { coupons: [activeCoupon] }, + 'admin.coupon.getReservedCoupons': { coupons: [] }, + }, + }) + renderWithProviders() + + fireEvent.press(screen.getByTestId('tab-reserved')) + + expect(await screen.findByText('No Reserved Coupons Found')).toBeVisible() + }) +}) diff --git a/apps/admin-ui/tests/screens/customize-app-all-items-order.test.tsx b/apps/admin-ui/tests/screens/customize-app-all-items-order.test.tsx new file mode 100644 index 0000000..12604b4 --- /dev/null +++ b/apps/admin-ui/tests/screens/customize-app-all-items-order.test.tsx @@ -0,0 +1,220 @@ +/** + * All items order editor + * (app/(drawer)/dashboard/customize-app/all-items-order.tsx) — sorts the + * catalogue by the `allItemsOrder` constant, supports drag reordering and saves + * the full ordered id list back to the constant. + */ + +jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + +import React from 'react' +import { Alert } from 'react-native' +import { act, fireEvent, screen, waitFor } from '@testing-library/react-native' + +import AllItemsOrder from '@/app/(drawer)/dashboard/customize-app/all-items-order' +import { resetStorage, setupApiMocks } from '../mocks/api' +import { + expectProcedureCalled, + lastProcedureInput, + procCount, +} from '../mocks/procedures' +import { routerMock } from '../mocks/router' +import { createQueryClient, renderWithProviders } from '../helpers/render' + +const productsResponse = { + products: [ + { id: 1, name: 'Chicken', images: ['chicken.jpg'], isOutOfStock: false }, + { id: 2, name: 'Mutton', images: ['mutton.jpg'], isOutOfStock: true }, + { id: 3, name: 'Fish', images: [], isOutOfStock: false }, + ], + count: 3, +} + +describe('All items order editor', () => { + beforeEach(async () => { + await resetStorage() + setupApiMocks() + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + }) + + it('shows the loading state while constants load', () => { + setupApiMocks({ + procedures: { + 'admin.const.getConstants': () => new Promise(() => {}), + 'common.product.getAllProductsSummary': productsResponse, + }, + }) + renderWithProviders() + + expect(screen.getByText('Loading order...')).toBeVisible() + }) + + it('shows the error state when constants fail', async () => { + setupApiMocks({ + procedures: { + 'admin.const.getConstants': () => { + throw new Error('boom') + }, + 'common.product.getAllProductsSummary': productsResponse, + }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('Failed to load order')).toBeVisible()) + }) + + it('sorts products by the constant and appends the rest', async () => { + setupApiMocks({ + procedures: { + 'admin.const.getConstants': [{ key: 'allItemsOrder', value: [2, 1] }], + 'common.product.getAllProductsSummary': productsResponse, + }, + }) + const result = renderWithProviders() + + await waitFor(() => expect(screen.getByText('Mutton')).toBeVisible()) + + const list = result.UNSAFE_getByType(require('react-native-draggable-flatlist').default) + expect(list.props.data.map((p: { id: number }) => p.id)).toEqual([2, 1, 3]) + expect(screen.getByText(/3 items/)).toBeVisible() + }) + + it('accepts a comma-separated order string', async () => { + setupApiMocks({ + procedures: { + 'admin.const.getConstants': [{ key: 'allItemsOrder', value: '3' }], + 'common.product.getAllProductsSummary': productsResponse, + }, + }) + const result = renderWithProviders() + + await waitFor(() => expect(screen.getByText('Fish')).toBeVisible()) + const list = result.UNSAFE_getByType(require('react-native-draggable-flatlist').default) + expect(list.props.data.map((p: { id: number }) => p.id)).toEqual([3, 1, 2]) + }) + + it('shows the empty state when there are no products', async () => { + setupApiMocks({ + procedures: { + 'admin.const.getConstants': [{ key: 'allItemsOrder', value: [] }], + 'common.product.getAllProductsSummary': { products: [], count: 0 }, + }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('No products available')).toBeVisible()) + }) + + it('disables Save until the order changes, then saves the full list', async () => { + const api = setupApiMocks({ + procedures: { + 'admin.const.getConstants': [{ key: 'allItemsOrder', value: [1, 2, 3] }], + 'common.product.getAllProductsSummary': productsResponse, + 'admin.const.updateConstants': { success: true, updatedCount: 1, keys: ['allItemsOrder'] }, + }, + }) + const result = renderWithProviders() + + await waitFor(() => expect(screen.getByText('Chicken')).toBeVisible()) + + fireEvent.press(screen.getByText('Save')) + expect(procCount(api.fetchMock, 'admin.const.updateConstants')).toBe(0) + + const list = result.UNSAFE_getByType(require('react-native-draggable-flatlist').default) + act(() => { + list.props.onDragEnd({ data: [list.props.data[2], list.props.data[0], list.props.data[1]] }) + }) + fireEvent.press(screen.getByText('Save')) + + await waitFor(() => expectProcedureCalled(api.fetchMock, 'admin.const.updateConstants')) + expect(lastProcedureInput(api.fetchMock, 'admin.const.updateConstants')).toEqual({ + constants: [{ key: 'allItemsOrder', value: [3, 1, 2] }], + }) + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith( + 'Success', + 'All items order updated successfully!' + ) + ) + }) + + it('refetches the constants after saving', async () => { + const api = setupApiMocks({ + procedures: { + 'admin.const.getConstants': [{ key: 'allItemsOrder', value: [1, 2, 3] }], + 'common.product.getAllProductsSummary': productsResponse, + 'admin.const.updateConstants': { success: true, updatedCount: 1, keys: ['allItemsOrder'] }, + }, + }) + const client = createQueryClient() + const invalidateSpy = jest.spyOn(client, 'invalidateQueries') + const result = renderWithProviders(, { queryClient: client }) + + await waitFor(() => expect(screen.getByText('Chicken')).toBeVisible()) + const before = procCount(api.fetchMock, 'admin.const.getConstants') + // Delta, not an absolute: the suite shares one httpBatchLink client, so a prior test's + // request can land in this test's fetchMock. + expect(before).toBeGreaterThan(0) + + const list = result.UNSAFE_getByType(require('react-native-draggable-flatlist').default) + act(() => { + list.props.onDragEnd({ data: [list.props.data[2], list.props.data[0], list.props.data[1]] }) + }) + fireEvent.press(screen.getByText('Save')) + + await waitFor(() => + expect(procCount(api.fetchMock, 'admin.const.getConstants')).toBeGreaterThan(before) + ) + // The refetch is driven by the path-based invalidation, not by updateConstants itself. + // Asserting the ARRAY path is the point: the old dotted string matched no query at all. + await waitFor(() => expect(invalidateSpy).toHaveBeenCalled()) + expect( + invalidateSpy.mock.calls + .map((call) => (call[0] as { queryKey?: unknown[] } | undefined)?.queryKey) + .map((key) => (Array.isArray(key) ? key[0] : null)) + ).toContainEqual(['admin', 'const', 'getConstants']) + // Same client, same cache: the array path matches the live query, the dotted form matches none. + expect( + client.getQueryCache().findAll({ queryKey: [['admin', 'const', 'getConstants']] }).length + ).toBeGreaterThan(0) + expect( + client.getQueryCache().findAll({ queryKey: ['admin.const.getConstants'] }) + ).toHaveLength(0) + }) + + it('shows the saving label while the update is pending', async () => { + setupApiMocks({ + procedures: { + 'admin.const.getConstants': [{ key: 'allItemsOrder', value: [1, 2, 3] }], + 'common.product.getAllProductsSummary': productsResponse, + 'admin.const.updateConstants': () => new Promise(() => {}), + }, + }) + const result = renderWithProviders() + + await waitFor(() => expect(screen.getByText('Chicken')).toBeVisible()) + const list = result.UNSAFE_getByType(require('react-native-draggable-flatlist').default) + act(() => { + list.props.onDragEnd({ data: [list.props.data[1], list.props.data[0], list.props.data[2]] }) + }) + fireEvent.press(screen.getByText('Save')) + + await waitFor(() => expect(screen.getByText('Saving...')).toBeVisible()) + }) + + it('goes back from the header and the error state', async () => { + setupApiMocks({ + procedures: { + 'admin.const.getConstants': () => { + throw new Error('boom') + }, + 'common.product.getAllProductsSummary': productsResponse, + }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('Failed to load order')).toBeVisible()) + fireEvent.press(screen.getByText('Go Back')) + expect(routerMock.back).toHaveBeenCalled() + }) +}) diff --git a/apps/admin-ui/tests/screens/customize-app-hub.test.tsx b/apps/admin-ui/tests/screens/customize-app-hub.test.tsx new file mode 100644 index 0000000..e5dbf44 --- /dev/null +++ b/apps/admin-ui/tests/screens/customize-app-hub.test.tsx @@ -0,0 +1,171 @@ +/** + * Customize App hub (app/(drawer)/dashboard/customize-app/index.tsx) — renders + * the visible constants, links to the popular-items / all-items-order editors, + * and saves only the constants that changed. + */ + +jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + +import React from 'react' +import { Alert } from 'react-native' +import { fireEvent, screen, waitFor } from '@testing-library/react-native' + +import CustomizeApp from '@/app/(drawer)/dashboard/customize-app/index' +import { resetStorage, setupApiMocks } from '../mocks/api' +import { + expectProcedureCalled, + lastProcedureInput, + procCount, +} from '../mocks/procedures' +import { routerMock } from '../mocks/router' +import { renderWithProviders } from '../helpers/render' + +const constants = [ + { key: 'deliveryCharge', value: 10 }, + { key: 'supportMobile', value: '9999999999' }, + { key: 'isFlashDeliveryEnabled', value: false }, + { key: 'popularItems', value: [1, 2] }, + { key: 'allItemsOrder', value: [3] }, +] + +const renderHub = () => + renderWithProviders() + +describe('Customize App hub', () => { + beforeEach(async () => { + await resetStorage() + setupApiMocks() + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + }) + + it('shows the loading state while constants load', () => { + setupApiMocks({ + procedures: { 'admin.const.getConstants': () => new Promise(() => {}) }, + }) + renderHub() + + expect(screen.getByText('Loading constants...')).toBeVisible() + }) + + it('shows the failed state when constants are missing', async () => { + renderHub() + + await waitFor(() => expect(screen.getByText('Failed to load constants')).toBeVisible()) + }) + + it('renders the visible constants and section links', async () => { + setupApiMocks({ + procedures: { 'admin.const.getConstants': constants }, + }) + renderHub() + + expect(await screen.findByText('Customize App Constants')).toBeVisible() + expect(screen.getByText('Delivery Charge')).toBeVisible() + expect(screen.getByText('Support Mobile')).toBeVisible() + expect(screen.getByText('Enable Flash Delivery')).toBeVisible() + expect(screen.getByText('Manage Popular Items (2 items)')).toBeVisible() + expect(screen.getByText('Manage All Visible Items (1 items)')).toBeVisible() + expect(screen.getByText('Save Changes')).toBeVisible() + }) + + it('navigates to the popular items editor', async () => { + setupApiMocks({ + procedures: { 'admin.const.getConstants': constants }, + }) + renderHub() + + fireEvent.press(await screen.findByText('Manage Popular Items (2 items)')) + expect(routerMock.push).toHaveBeenCalledWith( + '/(drawer)/dashboard/customize-app/popular-items' + ) + }) + + it('navigates to the all items order editor', async () => { + setupApiMocks({ + procedures: { 'admin.const.getConstants': constants }, + }) + renderHub() + + fireEvent.press(await screen.findByText('Manage All Visible Items (1 items)')) + expect(routerMock.push).toHaveBeenCalledWith( + '/(drawer)/dashboard/customize-app/all-items-order' + ) + }) + + it('alerts when saving without changes and skips the mutation', async () => { + const api = setupApiMocks({ + procedures: { 'admin.const.getConstants': constants }, + }) + renderHub() + + fireEvent.press(await screen.findByText('Save Changes')) + + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith('No Changes', 'No constants were modified.') + ) + expect(procCount(api.fetchMock, 'admin.const.updateConstants')).toBe(0) + }) + + it('saves only the changed constant', async () => { + const api = setupApiMocks({ + procedures: { + 'admin.const.getConstants': constants, + 'admin.const.updateConstants': { success: true, updatedCount: 1, keys: ['deliveryCharge'] }, + }, + }) + renderHub() + + await screen.findByText('Delivery Charge') + fireEvent.changeText(screen.getAllByPlaceholderText('Enter number')[0], '25') + fireEvent.press(screen.getByText('Save Changes')) + + await waitFor(() => expectProcedureCalled(api.fetchMock, 'admin.const.updateConstants')) + expect(lastProcedureInput(api.fetchMock, 'admin.const.updateConstants')).toEqual({ + constants: [{ key: 'deliveryCharge', value: 25 }], + }) + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith( + 'Success', + 'Updated 1 constants successfully.' + ) + ) + }) + + it('toggles a boolean constant and saves it', async () => { + const api = setupApiMocks({ + procedures: { + 'admin.const.getConstants': constants, + 'admin.const.updateConstants': { success: true, updatedCount: 1, keys: ['isFlashDeliveryEnabled'] }, + }, + }) + renderHub() + + await screen.findByText('Enable Flash Delivery') + expect(screen.getByText('Disabled')).toBeVisible() + fireEvent.press(screen.getByRole('checkbox')) + await waitFor(() => expect(screen.getByText('Enabled')).toBeVisible()) + + fireEvent.press(screen.getByText('Save Changes')) + + await waitFor(() => expectProcedureCalled(api.fetchMock, 'admin.const.updateConstants')) + expect(lastProcedureInput(api.fetchMock, 'admin.const.updateConstants')).toEqual({ + constants: [{ key: 'isFlashDeliveryEnabled', value: true }], + }) + }) + + it('shows the updating label while the mutation is pending', async () => { + setupApiMocks({ + procedures: { + 'admin.const.getConstants': constants, + 'admin.const.updateConstants': () => new Promise(() => {}), + }, + }) + renderHub() + + await screen.findByText('Delivery Charge') + fireEvent.changeText(screen.getAllByPlaceholderText('Enter number')[0], '25') + fireEvent.press(screen.getByText('Save Changes')) + + await waitFor(() => expect(screen.getByText('Updating...')).toBeVisible()) + }) +}) diff --git a/apps/admin-ui/tests/screens/customize-app-popular-items.test.tsx b/apps/admin-ui/tests/screens/customize-app-popular-items.test.tsx new file mode 100644 index 0000000..a738803 --- /dev/null +++ b/apps/admin-ui/tests/screens/customize-app-popular-items.test.tsx @@ -0,0 +1,298 @@ +/** + * Popular items editor + * (app/(drawer)/dashboard/customize-app/popular-items.tsx) — resolves the + * `popularItems` constant against the product catalogue, supports removing / + * adding items and saves the ordered product ids back to the constant. + */ + +jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + +import React from 'react' +import { Alert } from 'react-native' +import { act, fireEvent, screen, waitFor } from '@testing-library/react-native' +import MaterialIcons from '@expo/vector-icons/MaterialIcons' + +import PopularItems from '@/app/(drawer)/dashboard/customize-app/popular-items' +import { resetStorage, setupApiMocks } from '../mocks/api' +import { + expectProcedureCalled, + lastProcedureInput, + procCount, +} from '../mocks/procedures' +import { routerMock } from '../mocks/router' +import { createQueryClient, renderWithProviders } from '../helpers/render' + +const product = (id: number, name: string, price: number) => ({ + id, + name, + price, + marketPrice: null, + images: [`${name}.jpg`], + storeId: null, + nextDeliveryDate: null, + isOutOfStock: false, +}) + +const productsResponse = { + products: [product(1, 'Chicken', 100), product(2, 'Mutton', 200), product(3, 'Fish', 50)], + count: 3, +} + +// SKU ids intentionally match product ids so the selector's ids resolve against +// the product catalogue (see the reported popular-items add-flow bug). +const skusResponse = { + skus: [ + { id: 3, productId: 3, productName: 'Fish', label: 'Fish 1kg' }, + ], +} + +const constants = [{ key: 'popularItems', value: [1, 2] }] + +const pressLastAlertButton = (label: string) => { + const calls = (Alert.alert as jest.Mock).mock.calls + const call = calls[calls.length - 1] + const buttons = (call?.[2] ?? []) as { text: string; onPress?: () => void }[] + act(() => buttons.find((b) => b.text === label)?.onPress?.()) +} + +const pressIcon = (result: ReturnType, name: string, index = 0) => { + const icons = result.UNSAFE_getAllByType(MaterialIcons).filter((n) => n.props.name === name) + fireEvent.press(icons[index]) +} + +describe('Popular items editor', () => { + beforeEach(async () => { + await resetStorage() + setupApiMocks() + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + }) + + it('shows the loading state while constants load', () => { + setupApiMocks({ + procedures: { + 'admin.const.getConstants': () => new Promise(() => {}), + 'common.product.getAllProductsSummary': productsResponse, + }, + }) + renderWithProviders() + + expect(screen.getByText('Loading constants...')).toBeVisible() + }) + + it('shows the error state when constants fail', async () => { + setupApiMocks({ + procedures: { + 'admin.const.getConstants': () => { + throw new Error('boom') + }, + 'common.product.getAllProductsSummary': productsResponse, + }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('Failed to load constants')).toBeVisible()) + }) + + it('renders the popular items resolved from the constant', async () => { + setupApiMocks({ + procedures: { + 'admin.const.getConstants': constants, + 'common.product.getAllProductsSummary': productsResponse, + }, + }) + renderWithProviders() + + expect(await screen.findByText('Chicken')).toBeVisible() + expect(screen.getByText('Mutton')).toBeVisible() + expect(screen.getByText('₹100')).toBeVisible() + expect(screen.queryByText('Fish')).toBeNull() + }) + + it('shows the empty state when nothing is configured', async () => { + setupApiMocks({ + procedures: { + 'admin.const.getConstants': [{ key: 'popularItems', value: [] }], + 'common.product.getAllProductsSummary': productsResponse, + }, + }) + renderWithProviders() + + await waitFor(() => + expect(screen.getByText('No popular items configured')).toBeVisible() + ) + }) + + it('removes a product and saves the remaining ids', async () => { + const api = setupApiMocks({ + procedures: { + 'admin.const.getConstants': constants, + 'common.product.getAllProductsSummary': productsResponse, + 'admin.const.updateConstants': { success: true, updatedCount: 1, keys: ['popularItems'] }, + }, + }) + const result = renderWithProviders() + + await screen.findByText('Chicken') + pressIcon(result, 'delete', 0) + pressLastAlertButton('Remove') + await waitFor(() => expect(screen.queryByText('Chicken')).toBeNull()) + + fireEvent.press(screen.getByText('Save')) + + await waitFor(() => expectProcedureCalled(api.fetchMock, 'admin.const.updateConstants')) + expect(lastProcedureInput(api.fetchMock, 'admin.const.updateConstants')).toEqual({ + constants: [{ key: 'popularItems', value: [2] }], + }) + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith( + 'Success', + 'Popular items updated successfully!' + ) + ) + }) + + it('saves a reordered list', async () => { + const api = setupApiMocks({ + procedures: { + 'admin.const.getConstants': constants, + 'common.product.getAllProductsSummary': productsResponse, + 'admin.const.updateConstants': { success: true, updatedCount: 1, keys: ['popularItems'] }, + }, + }) + const result = renderWithProviders() + + await screen.findByText('Chicken') + const list = result.UNSAFE_getByType(require('react-native-draggable-flatlist').default) + act(() => { + list.props.onDragEnd({ data: [list.props.data[1], list.props.data[0]] }) + }) + fireEvent.press(screen.getByText('Save')) + + await waitFor(() => expectProcedureCalled(api.fetchMock, 'admin.const.updateConstants')) + expect(lastProcedureInput(api.fetchMock, 'admin.const.updateConstants')).toEqual({ + constants: [{ key: 'popularItems', value: [2, 1] }], + }) + }) + + it('refetches the constants after saving', async () => { + const api = setupApiMocks({ + procedures: { + 'admin.const.getConstants': constants, + 'common.product.getAllProductsSummary': productsResponse, + 'admin.const.updateConstants': { success: true, updatedCount: 1, keys: ['popularItems'] }, + }, + }) + const client = createQueryClient() + const invalidateSpy = jest.spyOn(client, 'invalidateQueries') + const result = renderWithProviders(, { queryClient: client }) + + await screen.findByText('Chicken') + const before = procCount(api.fetchMock, 'admin.const.getConstants') + // Delta, not an absolute: the suite shares one httpBatchLink client, so a prior test's + // request can land in this test's fetchMock. + expect(before).toBeGreaterThan(0) + + const list = result.UNSAFE_getByType(require('react-native-draggable-flatlist').default) + act(() => { + list.props.onDragEnd({ data: [list.props.data[1], list.props.data[0]] }) + }) + fireEvent.press(screen.getByText('Save')) + + await waitFor(() => + expect(procCount(api.fetchMock, 'admin.const.getConstants')).toBeGreaterThan(before) + ) + // The refetch is driven by the path-based invalidation, not by updateConstants itself. + // Asserting the ARRAY path is the point: the old dotted string matched no query at all. + await waitFor(() => expect(invalidateSpy).toHaveBeenCalled()) + expect( + invalidateSpy.mock.calls + .map((call) => (call[0] as { queryKey?: unknown[] } | undefined)?.queryKey) + .map((key) => (Array.isArray(key) ? key[0] : null)) + ).toContainEqual(['admin', 'const', 'getConstants']) + // Same client, same cache: the array path matches the live query, the dotted form matches none. + expect( + client.getQueryCache().findAll({ queryKey: [['admin', 'const', 'getConstants']] }).length + ).toBeGreaterThan(0) + expect( + client.getQueryCache().findAll({ queryKey: ['admin.const.getConstants'] }) + ).toHaveLength(0) + }) + + it('does not save while nothing changed', async () => { + const api = setupApiMocks({ + procedures: { + 'admin.const.getConstants': constants, + 'common.product.getAllProductsSummary': productsResponse, + }, + }) + renderWithProviders() + + await screen.findByText('Chicken') + fireEvent.press(screen.getByText('Save')) + + expect(procCount(api.fetchMock, 'admin.const.updateConstants')).toBe(0) + }) + + it('adds a product through the add dialog and saves it', async () => { + const api = setupApiMocks({ + procedures: { + 'admin.const.getConstants': constants, + 'common.product.getAllProductsSummary': productsResponse, + 'common.product.getAllSkusSummary': skusResponse, + 'admin.const.updateConstants': { success: true, updatedCount: 1, keys: ['popularItems'] }, + }, + }) + const result = renderWithProviders() + + await screen.findByText('Chicken') + pressIcon(result, 'add') + expect(await screen.findByText('Add Popular Items')).toBeVisible() + + fireEvent.press(screen.getByText('Choose products...')) + fireEvent.press(await screen.findByTestId('undefined-option-3')) + fireEvent.press(screen.getByText('Done')) + fireEvent.press(await screen.findByText('Add 1 Product')) + + await waitFor(() => expect(screen.getByText('Fish')).toBeVisible()) + + fireEvent.press(screen.getByText('Save')) + await waitFor(() => expectProcedureCalled(api.fetchMock, 'admin.const.updateConstants')) + expect(lastProcedureInput(api.fetchMock, 'admin.const.updateConstants')).toEqual({ + constants: [{ key: 'popularItems', value: [1, 2, 3] }], + }) + }) + + it('shows the saving label while the update is pending', async () => { + setupApiMocks({ + procedures: { + 'admin.const.getConstants': constants, + 'common.product.getAllProductsSummary': productsResponse, + 'admin.const.updateConstants': () => new Promise(() => {}), + }, + }) + const result = renderWithProviders() + + await screen.findByText('Chicken') + pressIcon(result, 'delete', 0) + pressLastAlertButton('Remove') + fireEvent.press(screen.getByText('Save')) + + await waitFor(() => expect(screen.getByText('Saving...')).toBeVisible()) + }) + + it('goes back from the header and the error state', async () => { + setupApiMocks({ + procedures: { + 'admin.const.getConstants': () => { + throw new Error('boom') + }, + 'common.product.getAllProductsSummary': productsResponse, + }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('Failed to load constants')).toBeVisible()) + fireEvent.press(screen.getByText('Go Back')) + expect(routerMock.back).toHaveBeenCalled() + }) +}) diff --git a/apps/admin-ui/tests/screens/dashboard-hub.test.tsx b/apps/admin-ui/tests/screens/dashboard-hub.test.tsx new file mode 100644 index 0000000..91e5e09 --- /dev/null +++ b/apps/admin-ui/tests/screens/dashboard-hub.test.tsx @@ -0,0 +1,116 @@ +/** + * Dashboard hub (app/(drawer)/dashboard/index.tsx) — quick actions, the + * complaints badge from getEssentials, and navigation (incl. the navigation + * target set for the manage-orders flow). + */ + +jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + +import React from 'react' +import { Text } from 'react-native' +import { fireEvent, screen, waitFor } from '@testing-library/react-native' + +import Dashboard from '@/app/(drawer)/dashboard/index' +import { useNavigationTarget } from 'common-ui/hooks/useNavigationTarget' +import { resetStorage, setupApiMocks } from '../mocks/api' +import { expectProcedureCalled } from '../mocks/procedures' +import { resetStaffAuthMock } from '../mocks/staff-auth' +import { resetRouterMock, routerMock, searchParamsMock } from '../mocks/router' +import { renderWithProviders } from '../helpers/render' + +const TargetProbe = () => { + const { navigationTarget } = useNavigationTarget() + return {navigationTarget ?? 'none'} +} + +describe('Dashboard hub', () => { + beforeEach(async () => { + resetStaffAuthMock() + await resetStorage() + resetRouterMock() + searchParamsMock.current = {} + setupApiMocks({ + procedures: { 'admin.user.getEssentials': { unresolvedComplaints: 3 } }, + }) + }) + + it('renders the quick actions and grouped menu items', async () => { + renderWithProviders() + + expect(screen.getByText('Quick Actions')).toBeVisible() + expect(screen.getByText('Delivery Slots')).toBeVisible() + expect(screen.getByText('Add Product')).toBeVisible() + expect(screen.getByText('Complaints')).toBeVisible() + expect(screen.getByText('Orders')).toBeVisible() + expect(screen.getByText('Manage Orders')).toBeVisible() + expect(screen.getByText('Delivery Sequences')).toBeVisible() + expect(screen.getByText('Products & Inventory')).toBeVisible() + expect(screen.getByText('Prices Overview')).toBeVisible() + expect(screen.getByText('Product Groupings')).toBeVisible() + expect(screen.getByText('Settings & Configuration')).toBeVisible() + // Both the category header and its menu tile say "User Management". + expect(screen.getAllByText('User Management').length).toBeGreaterThan(0) + }) + + it('shows the unresolved-complaints badge from getEssentials', async () => { + const { fetchMock } = setupApiMocks({ + procedures: { 'admin.user.getEssentials': { unresolvedComplaints: 3 } }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('3')).toBeVisible()) + expectProcedureCalled(fetchMock, 'admin.user.getEssentials') + }) + + it('navigates to manage orders and sets the nested navigation target', () => { + renderWithProviders( + <> + + + + ) + + fireEvent.press(screen.getByText('Manage Orders')) + + expect(routerMock.push).toHaveBeenCalledWith('/(drawer)/dashboard/manage-orders') + expect(screen.getByTestId('target-probe')).toHaveTextContent( + '/(drawer)/dashboard/manage-orders/orders' + ) + }) + + it('navigates to delivery sequences with its nested navigation target', () => { + renderWithProviders( + <> + + + + ) + + fireEvent.press(screen.getByText('Delivery Sequences')) + + expect(routerMock.push).toHaveBeenCalledWith('/(drawer)/dashboard/manage-orders') + expect(screen.getByTestId('target-probe')).toHaveTextContent( + '/(drawer)/dashboard/manage-orders/delivery-sequences' + ) + }) + + it('navigates from the quick-action tiles by testID', () => { + renderWithProviders() + + fireEvent.press(screen.getByTestId('delivery-slots-menu-item')) + expect(routerMock.push).toHaveBeenCalledWith('/(drawer)/dashboard/slots') + + fireEvent.press(screen.getByTestId('add-product-menu-item')) + expect(routerMock.push).toHaveBeenCalledWith('/(drawer)/dashboard/products/add') + }) + + it('navigates to prices overview', () => { + renderWithProviders() + + fireEvent.press(screen.getByText('Prices Overview')) + + expect(routerMock.push).toHaveBeenCalledWith( + '/(drawer)/dashboard/prices-overview' + ) + }) +}) \ No newline at end of file diff --git a/apps/admin-ui/tests/screens/delivery-sequences.test.tsx b/apps/admin-ui/tests/screens/delivery-sequences.test.tsx new file mode 100644 index 0000000..8170457 --- /dev/null +++ b/apps/admin-ui/tests/screens/delivery-sequences.test.tsx @@ -0,0 +1,390 @@ +/** + * Delivery sequences + * (app/(drawer)/dashboard/manage-orders/delivery-sequences/index.tsx) — slot + * picker, unassigned/all-users filtering, assigning & unassigning orders, + * packaged/delivered toggles, notes, cancel and order intents. + * + * NOTE: the "save sequence" FAB only appears after a drag (`hasSequenceChanged`). + * The mocked draggable list never fires onDragEnd on its own, but the prop is + * still on the rendered element and can be invoked through + * UNSAFE_getByType(...).props.onDragEnd({ data }) inside act(), which is how the + * reorder-save path (`handleSaveSequence`) is covered below. Assignment changes + * persist via updateDeliverySequence directly. + */ + +jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + +import React from 'react' +import { Alert, Linking } from 'react-native' +import { act, fireEvent, screen, waitFor } from '@testing-library/react-native' +import dayjs from 'dayjs' +import MaterialIcons from '@expo/vector-icons/MaterialIcons' +import Entypo from '@expo/vector-icons/Entypo' +import Ionicons from '@expo/vector-icons/Ionicons' + +import DeliverySequences from '@/app/(drawer)/dashboard/manage-orders/delivery-sequences' +import { setupApiMocks, resetStorage } from '../mocks/api' +import { resetStaffAuthMock } from '../mocks/staff-auth' +import { resetRouterMock, routerMock, searchParamsMock } from '../mocks/router' +import { lastProcedureInput, procCount } from '../mocks/procedures' +import { refreshHooks, resetRefreshHooks } from '../mocks/refresh' +import { renderWithProviders } from '../helpers/render' + +const SLOTS = [ + { id: 3, deliveryTime: '2026-01-01T09:00:00.000Z' }, + { id: 4, deliveryTime: '2026-01-02T09:00:00.000Z' }, +] +const LABEL_3 = dayjs(SLOTS[0].deliveryTime).format('ddd DD MMM, h:mm a') +const LABEL_4 = dayjs(SLOTS[1].deliveryTime).format('ddd DD MMM, h:mm a') + +const slotOrder = (overrides: Record = {}) => ({ + id: 21, + readableId: 21, + customerName: 'Bob', + address: '12 Main St, Phone: 9876543210', + addressId: 5, + latitude: null, + longitude: null, + totalAmount: 300, + items: [], + deliveryTime: null, + status: 'pending', + isPackaged: false, + isDelivered: false, + isCod: true, + paymentMode: 'COD', + paymentStatus: 'cod', + slotId: 3, + adminNotes: 'fragile', + userNotes: null, + ...overrides, +}) + +const defaultProcedures = (overrides: Record = {}) => ({ + 'admin.slots.getAll': { slots: SLOTS, count: 2 }, + 'admin.order.getSlotOrders': { success: true, data: [slotOrder()] }, + 'admin.slots.getDeliverySequence': { deliverySequence: {} }, + 'admin.staffUser.getStaff': { staff: [{ id: 7, name: 'Ravi' }, { id: 8, name: 'Sita' }] }, + 'admin.slots.updateDeliverySequence': { slot: { id: 3, deliverySequence: {} }, message: 'ok' }, + 'admin.order.updatePackaged': { success: true, userId: 1 }, + 'admin.order.updateDelivered': { success: true, userId: 1 }, + 'admin.order.updateNotes': { id: 21 }, + 'admin.order.cancelOrder': { success: true, message: 'cancelled' }, + 'admin.order.updateAddressCoords': { success: true }, + ...overrides, +}) + +const renderScreen = (overrides: Record = {}) => { + const { fetchMock } = setupApiMocks({ procedures: defaultProcedures(overrides) }) + // `view` is returned so tests can reach props of the mocked DraggableFlatList + // (its `onDragEnd` prop is not fired by the mock component itself). + const view = renderWithProviders() + return { fetchMock, view } +} + +const openOrderMenu = async () => { + const dots = screen.UNSAFE_getAllByType(Entypo)[0] + fireEvent.press(dots) + await screen.findByText('Select an action to perform') +} + +const openUserDropdown = async () => { + fireEvent.press(await screen.findByText('Unassigned')) + await screen.findByText('All Users') +} + +const toggleMenuResponder = async (name: 'square-outline' | 'checkbox') => { + const icon = screen.UNSAFE_getAllByType(Ionicons).find((node) => node.props.name === name)! + fireEvent(icon, 'responderEnd', { stopPropagation: jest.fn() }) +} + +const openAssignDropdown = async () => { + const icon = screen + .UNSAFE_getAllByType(MaterialIcons) + .find((node) => node.props.name === 'person-add')! + fireEvent.press(icon) + await screen.findByText('Assign To') +} + +describe('Delivery sequences', () => { + beforeEach(async () => { + resetStaffAuthMock() + await resetStorage() + resetRouterMock() + resetRefreshHooks() + searchParamsMock.current = { slotId: '3' } + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + jest.spyOn(Linking, 'openURL').mockResolvedValue(true) + }) + + it('shows a loading message while slots load', () => { + renderScreen() + + expect(screen.getByText('Loading slots...')).toBeVisible() + }) + + it('reports when there are no slots', async () => { + renderScreen({ 'admin.slots.getAll': { slots: [], count: 0 } }) + + expect(await screen.findByText('No slots available')).toBeVisible() + }) + + it('auto-selects the first slot and prompts when no slot is given', async () => { + searchParamsMock.current = {} + renderScreen() + + expect( + await screen.findByText('No slot selected. Please select a slot to view delivery sequence.') + ).toBeVisible() + await waitFor(() => + expect(routerMock.replace).toHaveBeenCalledWith( + '/(drawer)/dashboard/manage-orders/delivery-sequences?slotId=3' + ) + ) + }) + + it('queries slot orders and sequence with the route slot id', async () => { + const { fetchMock } = renderScreen() + + await waitFor(() => expect(screen.getByText('#21')).toBeVisible()) + expect(lastProcedureInput(fetchMock, 'admin.order.getSlotOrders')).toEqual({ slotId: '3' }) + expect(lastProcedureInput(fetchMock, 'admin.slots.getDeliverySequence')).toEqual({ id: '3' }) + }) + + it('renders the order card details', async () => { + renderScreen() + + await waitFor(() => expect(screen.getByText('#21')).toBeVisible()) + expect(screen.getByText('₹300')).toBeVisible() + expect(screen.getByText('fragile')).toBeVisible() + }) + + it('renders an empty state when there are no orders', async () => { + renderScreen({ 'admin.order.getSlotOrders': { success: true, data: [] } }) + + expect(await screen.findByText('No orders found for this slot')).toBeVisible() + }) + + it('filters to a user with no sequence and reports empty', async () => { + renderScreen() + + await waitFor(() => expect(screen.getByText('#21')).toBeVisible()) + await openUserDropdown() + fireEvent.press(screen.getByText('Ravi')) + + expect(await screen.findByText('No orders found for this slot')).toBeVisible() + }) + + it('shows assignment info in the All Users view', async () => { + renderScreen({ 'admin.slots.getDeliverySequence': { deliverySequence: { '7': [21] } } }) + + await openUserDropdown() + fireEvent.press(screen.getByText('All Users')) + + expect(await screen.findByText('Assigned to')).toBeVisible() + expect(screen.getByText('Ravi')).toBeVisible() + expect(screen.getByText('#21')).toBeVisible() + }) + + it('assigns selected orders to a user', async () => { + const { fetchMock } = renderScreen() + + await waitFor(() => expect(screen.getByText('#21')).toBeVisible()) + fireEvent.press(screen.getAllByRole('checkbox')[0]) + await openAssignDropdown() + fireEvent.press(screen.getByText('Ravi')) + + await waitFor(() => + expect(lastProcedureInput(fetchMock, 'admin.slots.updateDeliverySequence')).toEqual({ + id: 3, + deliverySequence: { '7': [21] }, + }) + ) + }) + + it('unassigns selected orders from all users', async () => { + const { fetchMock } = renderScreen({ + 'admin.slots.getDeliverySequence': { deliverySequence: { '7': [21] } }, + }) + + await openUserDropdown() + fireEvent.press(screen.getByText('All Users')) + await waitFor(() => expect(screen.getByText('#21')).toBeVisible()) + + fireEvent.press(screen.getAllByRole('checkbox')[0]) + await openAssignDropdown() + fireEvent.press(screen.getByText('None')) + + await waitFor(() => + expect(lastProcedureInput(fetchMock, 'admin.slots.updateDeliverySequence')).toEqual({ + id: 3, + deliverySequence: { '7': [] }, + }) + ) + }) + + it('marks an order packaged from the options menu', async () => { + const { fetchMock } = renderScreen({ + 'admin.order.getSlotOrders': { success: true, data: [slotOrder({ isDelivered: true })] }, + }) + + await waitFor(() => expect(screen.getByText('#21')).toBeVisible()) + const beforeOrders = procCount(fetchMock, 'admin.order.getSlotOrders') + const beforeSequence = procCount(fetchMock, 'admin.slots.getDeliverySequence') + await openOrderMenu() + await toggleMenuResponder('square-outline') + + await waitFor(() => expect(lastProcedureInput(fetchMock, 'admin.order.updatePackaged')).toEqual({ + orderId: '21', + isPackaged: true, + })) + + // onSuccess refetches both the slot orders and the delivery sequence. + await waitFor(() => { + expect(procCount(fetchMock, 'admin.order.getSlotOrders')).toBeGreaterThan(beforeOrders) + expect(procCount(fetchMock, 'admin.slots.getDeliverySequence')).toBeGreaterThan(beforeSequence) + }) + }) + + it('marks an order delivered from the options menu', async () => { + const { fetchMock } = renderScreen({ + 'admin.order.getSlotOrders': { success: true, data: [slotOrder({ isPackaged: true })] }, + }) + + await waitFor(() => expect(screen.getByText('#21')).toBeVisible()) + await openOrderMenu() + await toggleMenuResponder('square-outline') + + await waitFor(() => expect(lastProcedureInput(fetchMock, 'admin.order.updateDelivered')).toEqual({ + orderId: '21', + isDelivered: true, + })) + }) + + it('saves admin notes from the options menu', async () => { + const { fetchMock } = renderScreen() + + await waitFor(() => expect(screen.getByText('#21')).toBeVisible()) + await openOrderMenu() + fireEvent.press(screen.getByText('Admin Notes')) + + fireEvent.changeText( + await screen.findByPlaceholderText('Enter notes for this order...'), + 'fragile item' + ) + fireEvent.press(screen.getByText('Save Notes')) + + await waitFor(() => + expect(lastProcedureInput(fetchMock, 'admin.order.updateNotes')).toEqual({ + orderId: 21, + adminNotes: 'fragile item', + }) + ) + }) + + it('opens the cancel dialog from the options menu', async () => { + renderScreen() + + await waitFor(() => expect(screen.getByText('#21')).toBeVisible()) + await openOrderMenu() + fireEvent.press(screen.getByText('Cancel Order')) + + expect(await screen.findByPlaceholderText('Enter reason for cancellation...')).toBeVisible() + }) + + it('navigates to order details from View Details', async () => { + renderScreen() + + await waitFor(() => expect(screen.getByText('#21')).toBeVisible()) + await openOrderMenu() + fireEvent.press(screen.getByText('View Details')) + + expect(routerMock.push).toHaveBeenCalledWith( + '/(drawer)/dashboard/manage-orders/order-details/21' + ) + }) + + it('switches slots through the slot picker', async () => { + renderScreen() + + await waitFor(() => expect(screen.getByText(LABEL_3)).toBeVisible()) + fireEvent.press(screen.getByText(LABEL_3)) + fireEvent.press(await screen.findByText(LABEL_4)) + + expect(routerMock.replace).toHaveBeenCalledWith( + '/(drawer)/dashboard/manage-orders/delivery-sequences?slotId=4' + ) + }) + + it('opens a Google Maps link for orders with coordinates', async () => { + renderScreen({ + 'admin.order.getSlotOrders': { + success: true, + data: [slotOrder({ latitude: 16.75, longitude: 78.0 })], + }, + }) + + await waitFor(() => expect(screen.getByText('#21')).toBeVisible()) + const mapIcon = screen + .UNSAFE_getAllByType(MaterialIcons) + .find((node) => node.props.name === 'map')! + fireEvent.press(mapIcon) + + expect(Linking.openURL).toHaveBeenCalledWith('https://www.google.com/maps?q=16.75,78') + }) + + it('goes back from the header', async () => { + renderScreen() + + await waitFor(() => expect(screen.getByText('#21')).toBeVisible()) + fireEvent.press(screen.getByLabelText('Go back')) + + expect(routerMock.back).toHaveBeenCalled() + }) + + it('refetches orders and sequence after saving a reordered sequence', async () => { + const { fetchMock, view } = renderScreen({ + 'admin.order.getSlotOrders': { + success: true, + data: [slotOrder({ id: 21, readableId: 21 }), slotOrder({ id: 22, readableId: 22 })], + }, + 'admin.slots.getDeliverySequence': { deliverySequence: { '7': [21, 22] } }, + }) + + // A real user must be selected: handleDragEnd/handleSaveSequence no-op for + // the Unassigned (-1) view. + await openUserDropdown() + fireEvent.press(screen.getByText('Ravi')) + await waitFor(() => expect(screen.getByText('#21')).toBeVisible()) + + const beforeOrders = procCount(fetchMock, 'admin.order.getSlotOrders') + const beforeSequence = procCount(fetchMock, 'admin.slots.getDeliverySequence') + + // The mocked list renders its data but never drags by itself. + const list = view.UNSAFE_getByType(require('react-native-draggable-flatlist').default) + act(() => { + list.props.onDragEnd({ data: [list.props.data[1], list.props.data[0]] }) + }) + + fireEvent.press(await screen.findByLabelText('Save sequence')) + + // handleSaveSequence's onSuccess refetches both the slot orders and the + // delivery sequence. + await waitFor(() => { + expect(procCount(fetchMock, 'admin.order.getSlotOrders')).toBeGreaterThan(beforeOrders) + expect(procCount(fetchMock, 'admin.slots.getDeliverySequence')).toBeGreaterThan(beforeSequence) + }) + }) + + it('refetches on mark-data-fetchers', async () => { + const { fetchMock } = renderScreen() + + await waitFor(() => expect(screen.getByText('#21')).toBeVisible()) + const before = procCount(fetchMock, 'admin.order.getSlotOrders') + + refreshHooks.markDataFetchers?.() + await waitFor(() => + expect(procCount(fetchMock, 'admin.order.getSlotOrders')).toBeGreaterThan(before) + ) + }) +}) diff --git a/apps/admin-ui/tests/screens/drawer-layout.test.tsx b/apps/admin-ui/tests/screens/drawer-layout.test.tsx new file mode 100644 index 0000000..45a5f07 --- /dev/null +++ b/apps/admin-ui/tests/screens/drawer-layout.test.tsx @@ -0,0 +1,181 @@ +/** + * Drawer layout (app/(drawer)/_layout.tsx) — auth gate, the custom drawer + * content (staff name, nav items, logout) and the header buttons. + * + * expo-router/drawer and @react-navigation/drawer are stubbed so the custom + * drawer content and the screenOptions header callbacks are reachable. + */ + +const mockRedirects: string[] = [] + +jest.mock('expo-router', () => { + const React = require('react') + const { Text } = require('react-native') + const base = require('../mocks/router').expoRouterMock() + return { + ...base, + Redirect: ({ href }: { href: string }) => { + mockRedirects.push(href) + return React.createElement(Text, { testID: 'redirect' }, String(href)) + }, + } +}) + +const mockNavigation = { + getState: () => ({ routes: [], index: 0 }), + openDrawer: jest.fn(), +} + +jest.mock('expo-router/drawer', () => { + const React = require('react') + const { View } = require('react-native') + const Drawer = ({ + drawerContent: DrawerContent, + screenOptions, + children, + }: { + drawerContent?: React.ComponentType + screenOptions?: (args: { navigation: unknown }) => Record + children?: React.ReactNode + }) => { + const options = + typeof screenOptions === 'function' + ? screenOptions({ navigation: mockNavigation }) + : {} + return React.createElement( + View, + null, + options.headerLeft ? options.headerLeft() : null, + options.headerRight ? options.headerRight() : null, + DrawerContent ? React.createElement(DrawerContent) : null, + children + ) + } + Drawer.Screen = () => null + return { Drawer } +}) + +jest.mock('@react-navigation/drawer', () => { + const React = require('react') + const { View, TouchableOpacity, Text } = require('react-native') + return { + DrawerContentScrollView: ({ children }: { children?: React.ReactNode }) => + React.createElement(View, null, children), + DrawerItem: ({ + label, + onPress, + }: { + label: string + onPress?: () => void + }) => + React.createElement( + TouchableOpacity, + { onPress, accessibilityLabel: label }, + React.createElement(Text, null, label) + ), + } +}) + +import React from 'react' +import { ActivityIndicator, DeviceEventEmitter } from 'react-native' +import MaterialIcons from '@expo/vector-icons/MaterialIcons' +import { fireEvent, screen } from '@testing-library/react-native' +import { REFRESH_EVENT } from 'common-ui/src/lib/const-strs' + +import Layout from '@/app/(drawer)/_layout' +import { resetStorage, setupApiMocks } from '../mocks/api' +import { resetStaffAuthMock, staffAuthMock } from '../mocks/staff-auth' +import { resetRouterMock, routerMock } from '../mocks/router' +import { renderWithProviders } from '../helpers/render' + +const iconByName = (name: string) => + screen.UNSAFE_getAllByType(MaterialIcons).find((i) => i.props.name === name) as + | Parameters[0] + | undefined + +describe('Drawer layout', () => { + beforeEach(async () => { + resetStaffAuthMock() + mockRedirects.length = 0 + mockNavigation.openDrawer.mockClear() + resetRouterMock() + await resetStorage() + setupApiMocks() + jest.spyOn(DeviceEventEmitter, 'emit') + }) + + it('shows a spinner while the session is loading', () => { + staffAuthMock.isLoading = true + renderWithProviders() + + expect(screen.UNSAFE_getByType(ActivityIndicator)).toBeTruthy() + expect(screen.queryByText('Logout')).toBeNull() + }) + + it('redirects to login when logged out', () => { + staffAuthMock.isLoggedIn = false + staffAuthMock.isLoading = false + renderWithProviders() + + expect(screen.getByTestId('redirect')).toHaveTextContent('/login') + expect(mockRedirects).toEqual(['/login']) + }) + + it('renders the staff name and navigation items', () => { + renderWithProviders() + + expect(screen.getByText('shafi')).toBeVisible() + expect(screen.getByText('Staff Member')).toBeVisible() + expect(screen.getByText('Dashboard')).toBeVisible() + expect(screen.getByText('Products')).toBeVisible() + expect(screen.getByText('Prices Overview')).toBeVisible() + expect(screen.getByText('Product Groupings')).toBeVisible() + expect(screen.getByText('Manage Orders')).toBeVisible() + expect(screen.getByText('User Management')).toBeVisible() + expect(screen.getByText('Send Notifications')).toBeVisible() + expect(screen.getByText('Logout')).toBeVisible() + }) + + it('navigates from a drawer item', () => { + renderWithProviders() + + fireEvent.press(screen.getByText('Prices Overview')) + + expect(routerMock.push).toHaveBeenCalledWith( + '/(drawer)/dashboard/prices-overview' + ) + }) + + it('dismisses to the dashboard from the Dashboard item', () => { + renderWithProviders() + + fireEvent.press(screen.getByText('Dashboard')) + + expect(routerMock.dismissTo).toHaveBeenCalledWith('/(drawer)/dashboard') + }) + + it('logs out from the Logout item', () => { + renderWithProviders() + + fireEvent.press(screen.getByText('Logout')) + + expect(staffAuthMock.logout).toHaveBeenCalledTimes(1) + }) + + it('emits the refresh event from the header refresh button', () => { + renderWithProviders() + + fireEvent.press(iconByName('refresh')!) + + expect(DeviceEventEmitter.emit).toHaveBeenCalledWith(REFRESH_EVENT) + }) + + it('opens the drawer from the header menu button when there is no back stack', () => { + renderWithProviders() + + fireEvent.press(iconByName('menu')!) + + expect(mockNavigation.openDrawer).toHaveBeenCalledTimes(1) + expect(routerMock.back).not.toHaveBeenCalled() + }) +}) \ No newline at end of file diff --git a/apps/admin-ui/tests/screens/index-redirect.test.tsx b/apps/admin-ui/tests/screens/index-redirect.test.tsx new file mode 100644 index 0000000..98e1966 --- /dev/null +++ b/apps/admin-ui/tests/screens/index-redirect.test.tsx @@ -0,0 +1,65 @@ +/** + * Root entry (app/index.tsx) — loading spinner while auth resolves, then a + * Redirect to the dashboard or to /login depending on the staff session. + */ + +const mockRedirects: string[] = [] + +jest.mock('expo-router', () => { + const React = require('react') + const { Text } = require('react-native') + const base = require('../mocks/router').expoRouterMock() + return { + ...base, + Redirect: ({ href }: { href: string }) => { + mockRedirects.push(href) + return React.createElement(Text, { testID: 'redirect' }, String(href)) + }, + } +}) + +import React from 'react' +import { ActivityIndicator } from 'react-native' +import { screen } from '@testing-library/react-native' + +import Index from '@/app/index' +import { resetStorage, setupApiMocks } from '../mocks/api' +import { resetStaffAuthMock, staffAuthMock } from '../mocks/staff-auth' +import { renderWithProviders } from '../helpers/render' + +describe('Root index redirect', () => { + beforeEach(async () => { + resetStaffAuthMock() + mockRedirects.length = 0 + await resetStorage() + setupApiMocks() + }) + + it('shows a spinner while the session is loading', () => { + staffAuthMock.isLoading = true + renderWithProviders() + + expect(screen.UNSAFE_getByType(ActivityIndicator)).toBeTruthy() + expect(screen.queryByTestId('redirect')).toBeNull() + }) + + it('redirects to the dashboard when logged in', () => { + staffAuthMock.isLoggedIn = true + staffAuthMock.isLoading = false + renderWithProviders() + + expect(screen.getByTestId('redirect')).toHaveTextContent( + '/(drawer)/dashboard' + ) + expect(mockRedirects).toEqual(['/(drawer)/dashboard']) + }) + + it('redirects to login when logged out', () => { + staffAuthMock.isLoggedIn = false + staffAuthMock.isLoading = false + renderWithProviders() + + expect(screen.getByTestId('redirect')).toHaveTextContent('/login') + expect(mockRedirects).toEqual(['/login']) + }) +}) \ No newline at end of file diff --git a/apps/admin-ui/tests/screens/login.test.tsx b/apps/admin-ui/tests/screens/login.test.tsx new file mode 100644 index 0000000..1464071 --- /dev/null +++ b/apps/admin-ui/tests/screens/login.test.tsx @@ -0,0 +1,65 @@ +/** + * Admin login screen (app/login.tsx) — validation and the staff-auth login call. + */ + +jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + +import React from 'react' +import { Alert } from 'react-native' +import { fireEvent, screen, waitFor } from '@testing-library/react-native' + +import LoginScreen from '@/app/login' +import { setupApiMocks } from '../mocks/api' +import { resetStaffAuthMock, staffAuthMock } from '../mocks/staff-auth' +import { renderWithProviders } from '../helpers/render' + +describe('Admin login', () => { + beforeEach(() => { + resetStaffAuthMock() + setupApiMocks() + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + }) + + it('renders the login form', () => { + renderWithProviders() + + expect(screen.getByText('Admin Login')).toBeVisible() + expect(screen.getByTestId('login-name-input')).toBeVisible() + expect(screen.getByTestId('login-password-input')).toBeVisible() + expect(screen.getByTestId('login-button')).toBeVisible() + }) + + it('rejects an empty name or password without calling login', () => { + renderWithProviders() + + fireEvent.press(screen.getByTestId('login-button')) + + expect(Alert.alert).toHaveBeenCalledWith('Error', 'Please enter both name and password') + expect(staffAuthMock.login).not.toHaveBeenCalled() + }) + + it('trims the credentials and calls login', async () => { + renderWithProviders() + + fireEvent.changeText(screen.getByTestId('login-name-input'), ' shafi ') + fireEvent.changeText(screen.getByTestId('login-password-input'), 'secret') + fireEvent.press(screen.getByTestId('login-button')) + + await waitFor(() => expect(staffAuthMock.login).toHaveBeenCalledWith('shafi', 'secret')) + }) + + it('shows the login error from the context', () => { + staffAuthMock.loginError = 'Invalid credentials' + renderWithProviders() + + expect(screen.getByText('Invalid credentials')).toBeVisible() + }) + + it('disables the button while logging in', () => { + staffAuthMock.isLoggingIn = true + renderWithProviders() + + expect(screen.getByText('Logging in...')).toBeVisible() + expect(screen.getByTestId('login-button')).toBeDisabled() + }) +}) diff --git a/apps/admin-ui/tests/screens/manage-orders-hub.test.tsx b/apps/admin-ui/tests/screens/manage-orders-hub.test.tsx new file mode 100644 index 0000000..17c6544 --- /dev/null +++ b/apps/admin-ui/tests/screens/manage-orders-hub.test.tsx @@ -0,0 +1,127 @@ +/** + * Manage Orders hub (app/(drawer)/dashboard/manage-orders/index.tsx) — slot + * picker plus navigation into Orders / Delivery Sequences. + */ + +jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + +import React from 'react' +import { Alert } from 'react-native' +import { act, fireEvent, screen, waitFor } from '@testing-library/react-native' +import dayjs from 'dayjs' + +import ManageOrders from '@/app/(drawer)/dashboard/manage-orders' +import { setupApiMocks, resetStorage } from '../mocks/api' +import { resetStaffAuthMock } from '../mocks/staff-auth' +import { resetRouterMock, routerMock, searchParamsMock } from '../mocks/router' +import { refreshHooks, resetRefreshHooks } from '../mocks/refresh' +import { procCount } from '../mocks/procedures' +import { renderWithProviders } from '../helpers/render' + +const SLOT = { id: 3, deliveryTime: '2026-01-01T10:00:00.000Z' } +const SLOT_LABEL = dayjs(SLOT.deliveryTime).format('ddd DD MMM, h:mm a') + +const slotsResult = { slots: [SLOT], count: 1 } + +describe('Manage Orders hub', () => { + beforeEach(async () => { + resetStaffAuthMock() + await resetStorage() + resetRouterMock() + resetRefreshHooks() + searchParamsMock.current = {} + setupApiMocks({ procedures: { 'admin.slots.getAll': slotsResult } }) + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + }) + + it('renders the slot picker and both menu tiles', async () => { + renderWithProviders() + + await waitFor(() => expect(screen.getByText('Delivery Sequences')).toBeVisible()) + expect(screen.getByText('Orders')).toBeVisible() + expect(screen.getByText('Select Slot')).toBeVisible() + }) + + it('loads the slot options into the dropdown', async () => { + renderWithProviders() + + await waitFor(() => expect(screen.getByText('Select Slot')).toBeVisible()) + fireEvent.press(screen.getByText('Select Slot')) + + expect(await screen.findByText('⚡ Flash Deliveries')).toBeVisible() + expect(await screen.findByText(SLOT_LABEL)).toBeVisible() + }) + + it('navigates to Orders without a filter when no slot is selected', async () => { + renderWithProviders() + + await waitFor(() => expect(screen.getByText('Orders')).toBeVisible()) + fireEvent.press(screen.getByText('Orders')) + + expect(routerMock.push).toHaveBeenCalledWith( + '/(drawer)/dashboard/manage-orders/orders' + ) + }) + + it('navigates to Orders with filter=flash after picking flash deliveries', async () => { + renderWithProviders() + + await waitFor(() => expect(screen.getByText('Select Slot')).toBeVisible()) + fireEvent.press(screen.getByText('Select Slot')) + fireEvent.press(await screen.findByText('⚡ Flash Deliveries')) + + fireEvent.press(screen.getByText('Orders')) + + expect(routerMock.push).toHaveBeenCalledWith( + '/(drawer)/dashboard/manage-orders/orders?filter=flash' + ) + }) + + it('navigates to Delivery Sequences for the selected slot', async () => { + renderWithProviders() + + await waitFor(() => expect(screen.getByText('Select Slot')).toBeVisible()) + fireEvent.press(screen.getByText('Select Slot')) + fireEvent.press(await screen.findByText(SLOT_LABEL)) + + fireEvent.press(screen.getByText('Delivery Sequences')) + + expect(routerMock.push).toHaveBeenCalledWith( + '/(drawer)/dashboard/manage-orders/delivery-sequences?slotId=3' + ) + }) + + it('warns that flash deliveries have no delivery sequences', async () => { + renderWithProviders() + + await waitFor(() => expect(screen.getByText('Select Slot')).toBeVisible()) + fireEvent.press(screen.getByText('Select Slot')) + fireEvent.press(await screen.findByText('⚡ Flash Deliveries')) + + fireEvent.press(screen.getByText('Delivery Sequences')) + + expect(Alert.alert).toHaveBeenCalledWith( + 'Flash Deliveries', + 'Flash deliveries do not have delivery sequences. Use the Orders menu to manage flash deliveries.' + ) + expect(routerMock.push).not.toHaveBeenCalled() + }) + + it('refetches slots when mark-data-fetchers fires', async () => { + const { fetchMock } = setupApiMocks({ + procedures: { 'admin.slots.getAll': slotsResult }, + }) + + renderWithProviders() + await waitFor(() => expect(screen.getByText('Orders')).toBeVisible()) + + expect(typeof refreshHooks.markDataFetchers).toBe('function') + act(() => { + refreshHooks.markDataFetchers?.() + }) + + await waitFor(() => + expect(procCount(fetchMock, 'admin.slots.getAll')).toBeGreaterThanOrEqual(2) + ) + }) +}) diff --git a/apps/admin-ui/tests/screens/manage-orders-orders.test.tsx b/apps/admin-ui/tests/screens/manage-orders-orders.test.tsx new file mode 100644 index 0000000..d298881 --- /dev/null +++ b/apps/admin-ui/tests/screens/manage-orders-orders.test.tsx @@ -0,0 +1,338 @@ +/** + * Orders list (app/(drawer)/dashboard/manage-orders/orders/index.tsx) — rows, + * loading/empty/error, delivered toggle, item packaging, admin notes, filters, + * pagination and navigation. + */ + +jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + +import React from 'react' +import { Alert, FlatList } from 'react-native' +import { fireEvent, screen, waitFor } from '@testing-library/react-native' +import MaterialIcons from '@expo/vector-icons/MaterialIcons' +import Entypo from '@expo/vector-icons/Entypo' + +import Orders from '@/app/(drawer)/dashboard/manage-orders/orders' +import { setupApiMocks, resetStorage } from '../mocks/api' +import { resetStaffAuthMock } from '../mocks/staff-auth' +import { resetRouterMock, routerMock, searchParamsMock } from '../mocks/router' +import { lastProcedureInput, procCount } from '../mocks/procedures' +import { renderWithProviders } from '../helpers/render' + +const makeOrder = (overrides: Record = {}) => ({ + id: 11, + orderId: '11', + readableId: 11, + customerName: 'Alice', + customerMobile: '9999999999', + address: '12 Main St, City, State - 500001, Phone: 9876543210', + addressId: 3, + latitude: null, + longitude: null, + totalAmount: 500, + deliveryCharge: 20, + items: [ + { + id: 101, + name: 'Chicken', + quantity: 2, + price: 100, + amount: 200, + unit: 'kg', + skuName: 'Chicken', + features: [], + productSize: 1, + isPackaged: false, + isPackageVerified: false, + }, + ], + createdAt: '2026-01-01T10:00:00.000Z', + deliveryTime: null, + status: 'pending', + isPackaged: false, + isDelivered: false, + isCod: true, + isFlashDelivery: false, + userNotes: null, + adminNotes: 'call before delivery', + userNegativityScore: 0, + ...overrides, +}) + +const mutateProcedures = { + 'admin.order.updateDelivered': { success: true, userId: 1 }, + 'admin.order.updatePackaged': { success: true, userId: 1 }, + 'admin.order.updateOrderItemPackaging': { success: true, updated: true }, + 'admin.order.updateNotes': { id: 11 }, + 'admin.order.cancelOrder': { success: true, message: 'cancelled' }, +} + +const renderOrders = (procedures: Record = {}) => { + const { fetchMock } = setupApiMocks({ + procedures: { + 'admin.slots.getAll': { slots: [], count: 0 }, + 'admin.order.getAll': { orders: [makeOrder()], nextCursor: null }, + ...procedures, + }, + }) + renderWithProviders() + return { fetchMock } +} + +// Checkboxes render in tree order: row [Packaged, Delivered] then the filter +// dialog rows [Packaged, Not Packaged, Delivered, Not Delivered, Cancelled, +// Not Cancelled, ⚡ 1 Hr, Regular]. +const checkboxAt = (index: number) => screen.getAllByRole('checkbox')[index] + +const openFilter = () => { + const icon = screen + .UNSAFE_getAllByType(MaterialIcons) + .find((node) => node.props.name === 'filter-list')! + fireEvent.press(icon) +} + +const FILTER_INDEX = { + packaged: 2, + notPackaged: 3, + delivered: 4, + notDelivered: 5, + cancelled: 6, + notCancelled: 7, + flash: 8, + regular: 9, +} as const + +describe('Orders list', () => { + beforeEach(async () => { + resetStaffAuthMock() + await resetStorage() + resetRouterMock() + searchParamsMock.current = {} + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + }) + + it('shows a loading indicator while the list is pending', () => { + renderOrders() + + expect(screen.getByText('Loading orders...')).toBeVisible() + }) + + it('renders a populated row', async () => { + renderOrders() + + await waitFor(() => expect(screen.getByText('Alice')).toBeVisible()) + expect(screen.getByText('#11')).toBeVisible() + expect(screen.getByText('1 item')).toBeVisible() + expect(screen.getByText('₹500')).toBeVisible() + expect(screen.getByText('₹20')).toBeVisible() + expect(screen.getByText('Admin Notes')).toBeVisible() + }) + + it('renders an empty list when there are no orders', async () => { + renderOrders({ 'admin.order.getAll': { orders: [], nextCursor: null } }) + + await waitFor(() => expect(screen.queryByText('Loading orders...')).toBeNull()) + expect(screen.queryByText('Alice')).toBeNull() + }) + + it('renders flash and cancelled order badges', async () => { + renderOrders({ + 'admin.order.getAll': { + orders: [ + makeOrder({ isFlashDelivery: true, status: 'cancelled', readableId: 42, id: 42, orderId: '42' }), + ], + nextCursor: null, + }, + }) + + await waitFor(() => expect(screen.getByText('FLASH')).toBeVisible()) + expect(screen.getByText('CANCELLED')).toBeVisible() + }) + + it('marks an order delivered from the row checkbox', async () => { + const { fetchMock } = renderOrders(mutateProcedures) + await waitFor(() => expect(screen.getByText('Alice')).toBeVisible()) + + fireEvent.press(checkboxAt(1)) + + await waitFor(() => expect(lastProcedureInput(fetchMock, 'admin.order.updateDelivered')).toEqual({ + orderId: '11', + isDelivered: true, + })) + }) + + it('does not toggle packaged from the (inert) inline row checkbox', async () => { + const { fetchMock } = renderOrders(mutateProcedures) + await waitFor(() => expect(screen.getByText('Alice')).toBeVisible()) + + fireEvent.press(checkboxAt(0)) + + expect(procCount(fetchMock, 'admin.order.updatePackaged')).toBe(0) + }) + + it('updates per-item packaging from the items dialog', async () => { + const { fetchMock } = renderOrders(mutateProcedures) + await waitFor(() => expect(screen.getByText('Alice')).toBeVisible()) + + fireEvent.press(screen.getByText('1 item')) + fireEvent.press(checkboxAt(2)) + + await waitFor(() => + expect(lastProcedureInput(fetchMock, 'admin.order.updateOrderItemPackaging')).toEqual({ + orderItemId: 101, + isPackaged: true, + }) + ) + }) + + it('applies the packaged filter to the query input', async () => { + const { fetchMock } = renderOrders(mutateProcedures) + await waitFor(() => expect(screen.getByText('Alice')).toBeVisible()) + + openFilter() + fireEvent.press(checkboxAt(FILTER_INDEX.packaged)) + + await waitFor(() => { + const input = lastProcedureInput(fetchMock, 'admin.order.getAll') as Record + expect(input.packagedFilter).toBe('packaged') + }) + }) + + it('applies the delivered and cancellation filters', async () => { + const { fetchMock } = renderOrders(mutateProcedures) + await waitFor(() => expect(screen.getByText('Alice')).toBeVisible()) + + openFilter() + fireEvent.press(checkboxAt(FILTER_INDEX.delivered)) + + await waitFor(() => { + const input = lastProcedureInput(fetchMock, 'admin.order.getAll') as Record + expect(input.deliveredFilter).toBe('delivered') + }) + }) + + it('applies the flash delivery type filter', async () => { + const { fetchMock } = renderOrders(mutateProcedures) + await waitFor(() => expect(screen.getByText('Alice')).toBeVisible()) + + openFilter() + fireEvent.press(checkboxAt(FILTER_INDEX.flash)) + + await waitFor(() => { + const input = lastProcedureInput(fetchMock, 'admin.order.getAll') as Record + expect(input.flashDeliveryFilter).toBe('flash') + }) + }) + + it('saves admin notes through the notes dialog', async () => { + const { fetchMock } = renderOrders(mutateProcedures) + await waitFor(() => expect(screen.getByText('Alice')).toBeVisible()) + + fireEvent.press(screen.getByText('Admin Notes')) + fireEvent.changeText( + screen.getByPlaceholderText('Enter admin notes...'), + 'leave at gate' + ) + fireEvent.press(screen.getByText('Save')) + + await waitFor(() => + expect(lastProcedureInput(fetchMock, 'admin.order.updateNotes')).toEqual({ + orderId: 11, + adminNotes: 'leave at gate', + }) + ) + }) + + it('opens the user notes dialog', async () => { + renderOrders({ + 'admin.order.getAll': { + orders: [makeOrder({ userNotes: 'ring the bell' })], + nextCursor: null, + }, + }) + await waitFor(() => expect(screen.getByText('User Notes')).toBeVisible()) + + fireEvent.press(screen.getByText('User Notes')) + + expect(await screen.findByText('ring the bell')).toBeVisible() + }) + + it('navigates to order details when a row is pressed', async () => { + renderOrders() + await waitFor(() => expect(screen.getByText('Alice')).toBeVisible()) + + fireEvent.press(screen.getByText('Alice')) + + expect(routerMock.push).toHaveBeenCalledWith( + '/(drawer)/dashboard/manage-orders/order-details/11' + ) + }) + + it('opens the options menu and navigates via View Details', async () => { + renderOrders() + await waitFor(() => expect(screen.getByText('Alice')).toBeVisible()) + + const dots = screen.UNSAFE_getAllByType(Entypo)[0] + fireEvent.press(dots) + + expect(await screen.findByText('Select an action to perform')).toBeVisible() + fireEvent.press(screen.getByText('View Details')) + + expect(routerMock.push).toHaveBeenCalledWith( + '/(drawer)/dashboard/manage-orders/order-details/11' + ) + }) + + it('opens the cancel dialog from the options menu', async () => { + renderOrders() + await waitFor(() => expect(screen.getByText('Alice')).toBeVisible()) + + fireEvent.press(screen.UNSAFE_getAllByType(Entypo)[0]) + fireEvent.press(await screen.findByText('Cancel Order')) + + expect(await screen.findByPlaceholderText('Enter reason for cancellation...')).toBeVisible() + }) + + it('loads the next page when the list end is reached', async () => { + const { fetchMock } = setupApiMocks({ + procedures: { + 'admin.slots.getAll': { slots: [], count: 0 }, + 'admin.order.getAll': (input: unknown) => { + const cursor = (input as { cursor?: number } | undefined)?.cursor + if (cursor) { + return { + orders: [makeOrder({ id: 5, orderId: '5', readableId: 5, customerName: 'Fish Order' })], + nextCursor: null, + } + } + return { orders: [makeOrder()], nextCursor: 5 } + }, + }, + }) + + renderWithProviders() + await waitFor(() => expect(screen.getByText('Alice')).toBeVisible()) + + fireEvent(screen.UNSAFE_getByType(FlatList), 'endReached') + + await waitFor(() => expect(screen.getByText('Fish Order')).toBeVisible()) + const input = lastProcedureInput(fetchMock, 'admin.order.getAll') as Record + expect(input.cursor).toBe(5) + }) + + it('falls back to an empty list when the query fails', async () => { + setupApiMocks({ + procedures: { + 'admin.slots.getAll': { slots: [], count: 0 }, + 'admin.order.getAll': () => { + throw new Error('boom') + }, + }, + }) + + renderWithProviders() + + await waitFor(() => expect(screen.queryByText('Loading orders...')).toBeNull()) + expect(screen.queryByText('Alice')).toBeNull() + }) +}) diff --git a/apps/admin-ui/tests/screens/order-details.test.tsx b/apps/admin-ui/tests/screens/order-details.test.tsx new file mode 100644 index 0000000..f355803 --- /dev/null +++ b/apps/admin-ui/tests/screens/order-details.test.tsx @@ -0,0 +1,278 @@ +/** + * Order details (app/(drawer)/dashboard/manage-orders/order-details/[id].tsx) — + * detail rendering, packaging toggles, delivery-charge removal, cancellation + * and navigation. + * + * NOTE: the "Initiate Refund" / "Generate Refund Coupon" action block is + * commented out in the source (lines ~697-769) and the state setters that open + * those dialogs are never invoked, so those two mutations are not reachable + * through the UI and cannot be integration-tested. + */ + +jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + +import React from 'react' +import { Alert } from 'react-native' +import { act, fireEvent, screen, waitFor } from '@testing-library/react-native' + +import OrderDetails from '@/app/(drawer)/dashboard/manage-orders/order-details/[id]' +import { setupApiMocks, resetStorage } from '../mocks/api' +import { resetStaffAuthMock } from '../mocks/staff-auth' +import { resetRouterMock, routerMock, searchParamsMock } from '../mocks/router' +import { expectProcedureCalled, lastProcedureInput } from '../mocks/procedures' +import { renderWithProviders } from '../helpers/render' + +const makeDetails = (overrides: Record = {}) => ({ + id: 11, + readableId: 11, + userId: 5, + customerName: 'Alice', + customerEmail: 'alice@example.com', + customerMobile: '9999999999', + address: { + name: 'Alice', + line1: '12 Main St', + line2: null, + city: 'City', + state: 'State', + pincode: '500001', + phone: '9876543210', + }, + slotInfo: { time: '2026-01-02T10:00:00.000Z', sequence: null }, + isCod: false, + isOnlinePayment: true, + totalAmount: 500, + deliveryCharge: 20, + adminNotes: 'handle with care', + userNotes: null, + createdAt: '2026-01-01T10:00:00.000Z', + status: 'pending', + isPackaged: false, + isDelivered: false, + items: [ + { + id: 101, + name: 'Chicken', + amount: 200, + isPackaged: false, + isPackageVerified: false, + quantity: '2', + price: '100', + productSize: 1, + unit: 'kg', + }, + ], + payment: null, + paymentInfo: null, + cancelReason: null, + cancellationReviewed: false, + isRefundDone: false, + refundStatus: null, + refundAmount: null, + couponData: null, + couponCode: null, + couponDescription: null, + discountAmount: 0, + orderStatus: null, + refundRecord: null, + isFlashDelivery: false, + ...overrides, +}) + +const procedures = (overrides: Record = {}) => ({ + 'admin.order.getOrderDetails': makeDetails(), + 'admin.order.updateOrderItemPackaging': { success: true, updated: true }, + 'admin.order.removeDeliveryCharge': { message: 'removed' }, + 'admin.order.cancelOrder': { success: true, message: 'cancelled' }, + 'admin.user.getUserIncidents': { incidents: [] }, + ...overrides, +}) + +const renderDetails = (overrides: Record = {}) => { + const { fetchMock } = setupApiMocks({ procedures: procedures(overrides) }) + renderWithProviders() + return { fetchMock } +} + +describe('Order details', () => { + beforeEach(async () => { + resetStaffAuthMock() + await resetStorage() + resetRouterMock() + searchParamsMock.current = { id: '11' } + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + }) + + it('shows a loading message while the order is pending', () => { + renderDetails() + + expect(screen.getByText('Loading order details...')).toBeVisible() + }) + + it('queries the order with the route id', async () => { + const { fetchMock } = renderDetails() + + await waitFor(() => expect(screen.getByText('#11')).toBeVisible()) + expect(lastProcedureInput(fetchMock, 'admin.order.getOrderDetails')).toEqual({ orderId: 11 }) + }) + + it('renders the order, customer, items and totals', async () => { + renderDetails() + + await waitFor(() => expect(screen.getByText('#11')).toBeVisible()) + expect(screen.getByText('Alice')).toBeVisible() + expect(screen.getByText('9999999999')).toBeVisible() + expect(screen.getByText('Chicken')).toBeVisible() + expect(screen.getByText('Subtotal (1 items)')).toBeVisible() + expect(screen.getByText('handle with care')).toBeVisible() + expect(screen.getByText('Manage Orders')).toBeVisible() + }) + + it('renders an error state with a back action when the order is missing', async () => { + renderDetails({ 'admin.order.getOrderDetails': null }) + + await waitFor(() => expect(screen.getByText('Oops!')).toBeVisible()) + expect(screen.getByText('Failed to load order details')).toBeVisible() + + fireEvent.press(screen.getByText('Go Back')) + expect(routerMock.back).toHaveBeenCalled() + }) + + it('toggles item packaged state', async () => { + const { fetchMock } = renderDetails() + + await waitFor(() => expect(screen.getByText('Chicken')).toBeVisible()) + fireEvent.press(screen.getAllByText('Packaged').pop()!) + + await waitFor(() => + expect(lastProcedureInput(fetchMock, 'admin.order.updateOrderItemPackaging')).toEqual({ + orderItemId: 101, + isPackaged: true, + }) + ) + }) + + it('toggles item verified state', async () => { + const { fetchMock } = renderDetails() + + await waitFor(() => expect(screen.getByText('Chicken')).toBeVisible()) + fireEvent.press(screen.getByText('Pkg Verified')) + + await waitFor(() => + expect(lastProcedureInput(fetchMock, 'admin.order.updateOrderItemPackaging')).toEqual({ + orderItemId: 101, + isPackageVerified: true, + }) + ) + }) + + it('removes the delivery charge after confirmation', async () => { + const { fetchMock } = renderDetails() + + await waitFor(() => expect(screen.getByText('Remove')).toBeVisible()) + fireEvent.press(screen.getByText('Remove')) + + const call = (Alert.alert as jest.Mock).mock.calls.find((c) => c[0] === 'Remove Delivery Cost') + expect(call).toBeTruthy() + const buttons = call![2] as { text: string; onPress?: () => void }[] + + await act(async () => { + buttons.find((b) => b.text === 'Remove')!.onPress?.() + }) + + await waitFor(() => expectProcedureCalled(fetchMock, 'admin.order.removeDeliveryCharge')) + expect(lastProcedureInput(fetchMock, 'admin.order.removeDeliveryCharge')).toEqual({ orderId: 11 }) + }) + + it('opens the cancel order dialog', async () => { + renderDetails() + + await waitFor(() => expect(screen.getByText('Cancel Order')).toBeVisible()) + fireEvent.press(screen.getByText('Cancel Order')) + + expect(await screen.findByPlaceholderText('Enter reason for cancellation...')).toBeVisible() + }) + + it('renders the cancellation reason and hides the cancel button when cancelled', async () => { + renderDetails({ + 'admin.order.getOrderDetails': makeDetails({ + status: 'cancelled', + cancelReason: 'Customer requested', + }), + }) + + await waitFor(() => expect(screen.getByText('Cancellation Reason')).toBeVisible()) + expect(screen.getByText('Customer requested')).toBeVisible() + expect(screen.queryByText('Cancel Order')).toBeNull() + }) + + it('renders the flash delivery notice', async () => { + renderDetails({ + 'admin.order.getOrderDetails': makeDetails({ isFlashDelivery: true }), + }) + + await waitFor(() => expect(screen.getByText('1 Hr Delivery Order')).toBeVisible()) + expect(screen.getByText(/high-priority flash delivery order/)).toBeVisible() + }) + + it('renders the applied coupon block', async () => { + renderDetails({ + 'admin.order.getOrderDetails': makeDetails({ + couponCode: 'SAVE50', + couponDescription: 'Flat ₹50 off', + discountAmount: 50, + }), + }) + + await waitFor(() => expect(screen.getByText('Coupon Applied')).toBeVisible()) + expect(screen.getByText('SAVE50')).toBeVisible() + expect(screen.getAllByText('-₹50').length).toBeGreaterThan(0) + }) + + it('renders the refund coupon block when one exists', async () => { + renderDetails({ + 'admin.order.getOrderDetails': makeDetails({ + couponCode: 'REF10', + couponData: { couponCode: 'REF10', couponDescription: '', discountAmount: 100 }, + orderStatus: { + id: 1, + orderTime: '2026-01-01T10:00:00.000Z', + userId: 5, + orderId: 11, + isPackaged: false, + isDelivered: false, + isCancelled: true, + cancelReason: 'x', + isCancelledByAdmin: true, + paymentStatus: 'success', + cancellationUserNotes: null, + cancellationAdminNotes: null, + cancellationReviewed: false, + cancellationReviewedAt: null, + refundCouponId: 9, + }, + }), + }) + + await waitFor(() => expect(screen.getByText('Refund Coupon')).toBeVisible()) + expect(screen.getByText('₹100')).toBeVisible() + }) + + it('navigates to user management from customer details', async () => { + renderDetails() + + await waitFor(() => expect(screen.getByText('Customer Details')).toBeVisible()) + fireEvent.press(screen.getByText('Customer Details')) + + expect(routerMock.push).toHaveBeenCalledWith('/(drawer)/dashboard/user-management/5') + }) + + it('navigates back to Manage Orders from the bottom bar', async () => { + renderDetails() + + await waitFor(() => expect(screen.getByText('Manage Orders')).toBeVisible()) + fireEvent.press(screen.getByText('Manage Orders')) + + expect(routerMock.push).toHaveBeenCalledWith('/(drawer)/dashboard/manage-orders') + }) +}) diff --git a/apps/admin-ui/tests/screens/prices-overview.test.tsx b/apps/admin-ui/tests/screens/prices-overview.test.tsx new file mode 100644 index 0000000..9d3240e --- /dev/null +++ b/apps/admin-ui/tests/screens/prices-overview.test.tsx @@ -0,0 +1,319 @@ +/** + * Prices overview (app/(drawer)/dashboard/prices-overview/index.tsx) — SKU + * price grid, store filter, edit-dialog validation, flash toggle, the + * updateProductPrices mutation and navigation to rebalance orders. + * + * NOTE: the screen collects SKUs but sends `productId: sku.id`. The backend + * (admin-apis/product.ts:436 + db_helper_postgres updateProductPrices:410) + * treats `productId` as a productInfo id, so this is asserted as-is and + * reported as an app bug. + */ + +jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + +import React from 'react' +import { Alert } from 'react-native' +import { Entypo } from '@expo/vector-icons' +import MaterialIcons from '@expo/vector-icons/MaterialIcons' +import { fireEvent, screen, waitFor } from '@testing-library/react-native' + +import PricesOverview from '@/app/(drawer)/dashboard/prices-overview/index' +import { resetStorage, setupApiMocks } from '../mocks/api' +import { + expectProcedureCalled, + lastProcedureInput, + procCount, +} from '../mocks/procedures' +import { resetStaffAuthMock } from '../mocks/staff-auth' +import { routerMock } from '../mocks/router' +import { renderWithProviders } from '../helpers/render' + +const chickenSku = { + id: 11, + productId: 1, + name: 'Chicken 1kg', + displayName: '1 kg pack', + price: '100', + marketPrice: '120', + flashPrice: '90', + isFlashAvailable: false, + images: ['https://cdn.freshyo.in/chicken.jpg'], + features: [{ featureValue: '1kg' }], +} + +const muttonSku = { + id: 22, + productId: 2, + name: 'Mutton 1kg', + displayName: '1 kg pack', + price: '200', + marketPrice: null, + flashPrice: null, + isFlashAvailable: false, + images: [], + features: [], +} + +const product = (id: number, name: string, storeId: number, skus: unknown[]) => ({ + id, + name, + shortDescription: null, + longDescription: null, + storeId, + incrementStep: 1, + productType: 'item', + store: null, + skus, +}) + +const productsResponse = { + products: [ + product(1, 'Chicken', 1, [chickenSku]), + product(2, 'Mutton', 2, [muttonSku]), + ], + count: 2, +} + +const storesResponse = { + stores: [ + { id: 1, name: 'Main Store' }, + { id: 2, name: 'Other Store' }, + ], + count: 2, +} + +const baseProcedures = { + 'admin.product.getProducts': productsResponse, + 'admin.store.getStores': storesResponse, + 'admin.product.updateProductPrices': { + message: 'Updated prices for 1 product(s)', + updatedCount: 1, + }, +} + +const pressLastAlertButton = (label: string) => { + const calls = (Alert.alert as jest.Mock).mock.calls + const call = calls[calls.length - 1] + const buttons = (call?.[2] ?? []) as { text: string; onPress?: () => void }[] + buttons.find((b) => b.text === label)?.onPress?.() +} + +const editIcon = () => + screen.UNSAFE_getAllByType(MaterialIcons).find((i) => i.props.name === 'edit') as + | Parameters[0] + | undefined + +const openEditDialog = () => { + fireEvent.press(editIcon()!) +} + +describe('Prices overview', () => { + beforeEach(async () => { + resetStaffAuthMock() + await resetStorage() + routerMock.push.mockClear() + setupApiMocks({ procedures: baseProcedures }) + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + }) + + it('shows a loading state while products or stores are pending', () => { + setupApiMocks({ + procedures: { + 'admin.product.getProducts': () => new Promise(() => {}), + 'admin.store.getStores': () => new Promise(() => {}), + }, + }) + renderWithProviders() + + expect(screen.getByText('Loading...')).toBeVisible() + }) + + it('renders the SKU price grid', async () => { + renderWithProviders() + + expect(await screen.findByText('Chicken')).toBeVisible() + expect(screen.getByText('Mutton')).toBeVisible() + expect(screen.getByText('₹100')).toBeVisible() + expect(screen.getByText('₹120')).toBeVisible() + expect(screen.getByText('₹90')).toBeVisible() + expect(screen.getByText('1kg')).toBeVisible() + // Mutton has no market/flash price. + expect(screen.getAllByText('N/A')).toHaveLength(2) + expect(screen.getByText('Save (0)')).toBeVisible() + }) + + it('renders without rows when there are no products', async () => { + setupApiMocks({ + procedures: { + ...baseProcedures, + 'admin.product.getProducts': { products: [], count: 0 }, + }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('Save (0)')).toBeVisible()) + expect(screen.queryByText('Chicken')).toBeNull() + }) + + it('filters SKUs by store', async () => { + renderWithProviders() + await screen.findByText('Chicken') + + fireEvent.press(screen.getByText('Main Store, Other Store')) + fireEvent.press(await screen.findByText('Main Store')) + fireEvent.press(screen.getByText('Done')) + + await waitFor(() => expect(screen.queryByText('Chicken')).toBeNull()) + expect(screen.getByText('Mutton')).toBeVisible() + }) + + it('rejects an invalid price in the edit dialog', async () => { + renderWithProviders() + await screen.findByText('Chicken') + + openEditDialog() + fireEvent.changeText(screen.getByPlaceholderText('Enter price'), '0') + fireEvent.press(screen.getByText('Update Price')) + + expect(Alert.alert).toHaveBeenCalledWith('Error', 'Please enter a valid price') + expect(screen.getByText('Save (0)')).toBeVisible() + }) + + it('rejects an invalid market price in the edit dialog', async () => { + renderWithProviders() + await screen.findByText('Chicken') + + openEditDialog() + fireEvent.changeText(screen.getByPlaceholderText('Enter price'), '150') + fireEvent.changeText(screen.getByPlaceholderText('Enter market price'), '0') + fireEvent.press(screen.getByText('Update Price')) + + expect(Alert.alert).toHaveBeenCalledWith( + 'Error', + 'Please enter a valid market price' + ) + }) + + it('rejects an invalid flash price in the edit dialog', async () => { + renderWithProviders() + await screen.findByText('Chicken') + + openEditDialog() + fireEvent.changeText(screen.getByPlaceholderText('Enter price'), '150') + fireEvent.changeText(screen.getByPlaceholderText('Enter flash price'), '0') + fireEvent.press(screen.getByText('Update Price')) + + expect(Alert.alert).toHaveBeenCalledWith( + 'Error', + 'Please enter a valid flash price' + ) + }) + + it('saves an edited price through updateProductPrices', async () => { + const { fetchMock } = setupApiMocks({ procedures: baseProcedures }) + renderWithProviders() + await screen.findByText('Chicken') + + openEditDialog() + fireEvent.changeText(screen.getByPlaceholderText('Enter price'), '150') + fireEvent.press(screen.getByText('Update Price')) + expect(screen.getByText('Save (1)')).toBeVisible() + + fireEvent.press(screen.getByText('Save (1)')) + + await waitFor(() => + expectProcedureCalled(fetchMock, 'admin.product.updateProductPrices') + ) + // BUG: productId is the SKU id (11), but the backend expects the product id. + expect(lastProcedureInput(fetchMock, 'admin.product.updateProductPrices')).toEqual({ + updates: [{ productId: 11, price: 150 }], + }) + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith('Success', 'Prices updated successfully') + ) + await waitFor(() => + expect(procCount(fetchMock, 'admin.product.getProducts')).toBeGreaterThan(1) + ) + }) + + it('saves the flash-availability toggle through updateProductPrices', async () => { + const { fetchMock } = setupApiMocks({ procedures: baseProcedures }) + renderWithProviders() + await screen.findByText('Chicken') + + fireEvent.press(screen.getAllByRole('checkbox')[0]) + expect(screen.getByText('Save (1)')).toBeVisible() + fireEvent.press(screen.getByText('Save (1)')) + + await waitFor(() => + expectProcedureCalled(fetchMock, 'admin.product.updateProductPrices') + ) + expect(lastProcedureInput(fetchMock, 'admin.product.updateProductPrices')).toEqual({ + updates: [{ productId: 11, isFlashAvailable: true }], + }) + }) + + it('shows an error alert when the update fails', async () => { + setupApiMocks({ + procedures: { + ...baseProcedures, + 'admin.product.updateProductPrices': () => { + throw new Error('boom') + }, + }, + }) + renderWithProviders() + await screen.findByText('Chicken') + + openEditDialog() + fireEvent.changeText(screen.getByPlaceholderText('Enter price'), '150') + fireEvent.press(screen.getByText('Update Price')) + fireEvent.press(screen.getByText('Save (1)')) + + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith( + 'Error', + expect.stringContaining('Failed to update prices') + ) + ) + }) + + it('does not submit while no change was made', async () => { + const { fetchMock } = setupApiMocks({ procedures: baseProcedures }) + renderWithProviders() + await screen.findByText('Chicken') + + fireEvent.press(screen.getByText('Save (0)')) + + expect(procCount(fetchMock, 'admin.product.updateProductPrices')).toBe(0) + }) + + it('navigates to rebalance orders from the options menu', async () => { + renderWithProviders() + await screen.findByText('Chicken') + + const dots = screen.UNSAFE_getAllByType(Entypo)[0] + fireEvent.press(dots) + fireEvent.press(await screen.findByText('Re-Balance Orders')) + + expect(routerMock.push).toHaveBeenCalledWith( + '/(drawer)/dashboard/rebalance-orders' + ) + }) + + it('acknowledges the success alert', async () => { + renderWithProviders() + await screen.findByText('Chicken') + + openEditDialog() + fireEvent.changeText(screen.getByPlaceholderText('Enter price'), '150') + fireEvent.press(screen.getByText('Update Price')) + fireEvent.press(screen.getByText('Save (1)')) + + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith('Success', 'Prices updated successfully') + ) + pressLastAlertButton('OK') + expect(routerMock.push).not.toHaveBeenCalled() + }) +}) \ No newline at end of file diff --git a/apps/admin-ui/tests/screens/product-groupings-create.test.tsx b/apps/admin-ui/tests/screens/product-groupings-create.test.tsx new file mode 100644 index 0000000..38c147a --- /dev/null +++ b/apps/admin-ui/tests/screens/product-groupings-create.test.tsx @@ -0,0 +1,74 @@ +/** + * Create product group (app/(drawer)/dashboard/product-groupings/create.tsx) — + * renders ProductGroupForm in create mode and wires onClose/onSuccess to + * router.back(). + */ + +jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + +import React from 'react' +import { fireEvent, screen, waitFor } from '@testing-library/react-native' + +import CreateProductGroup from '@/app/(drawer)/dashboard/product-groupings/create' +import { resetStorage, setupApiMocks } from '../mocks/api' +import { expectProcedureCalled, procCount } from '../mocks/procedures' +import { resetRouterMock, routerMock, searchParamsMock } from '../mocks/router' +import { renderWithProviders } from '../helpers/render' + +const procedures = { + 'common.product.getAllProductsSummary': { products: [] }, + 'common.product.getAllSkusSummary': { + skus: [{ id: 1, productId: 10, productName: 'Chicken', label: 'Chicken 1kg' }], + }, + 'admin.product.createGroup': { + group: { id: 1, groupName: 'Meat', description: null, createdAt: '2024-01-01' }, + message: 'Group created successfully', + }, +} + +describe('Create product group', () => { + beforeEach(async () => { + await resetStorage() + resetRouterMock() + searchParamsMock.current = {} + setupApiMocks({ procedures }) + jest.spyOn(console, 'error').mockImplementation(() => {}) + }) + + it('renders the create form', () => { + renderWithProviders() + + expect(screen.getByText('Create Product Group')).toBeVisible() + expect(screen.getByPlaceholderText('Enter group name')).toBeVisible() + expect(screen.getByText('Save')).toBeVisible() + }) + + it('does not create a group when the name is empty', async () => { + const { fetchMock } = setupApiMocks({ procedures }) + renderWithProviders() + + fireEvent.press(screen.getByText('Save')) + + expect(await screen.findByText('Group name is required')).toBeVisible() + expect(procCount(fetchMock, 'admin.product.createGroup')).toBe(0) + }) + + it('creates the group then navigates back', async () => { + const { fetchMock } = setupApiMocks({ procedures }) + renderWithProviders() + + fireEvent.changeText(screen.getByPlaceholderText('Enter group name'), 'Meat') + fireEvent.press(screen.getByText('Save')) + + await waitFor(() => expectProcedureCalled(fetchMock, 'admin.product.createGroup')) + await waitFor(() => expect(routerMock.back).toHaveBeenCalled()) + }) + + it('navigates back when cancelled', () => { + renderWithProviders() + + fireEvent.press(screen.getByText('Cancel')) + + expect(routerMock.back).toHaveBeenCalled() + }) +}) \ No newline at end of file diff --git a/apps/admin-ui/tests/screens/product-groupings-edit.test.tsx b/apps/admin-ui/tests/screens/product-groupings-edit.test.tsx new file mode 100644 index 0000000..e97d6a7 --- /dev/null +++ b/apps/admin-ui/tests/screens/product-groupings-edit.test.tsx @@ -0,0 +1,98 @@ +/** + * Edit product group (app/(drawer)/dashboard/product-groupings/edit/[id].tsx) — + * loads getGroups, finds the group by the route id, and wires the form to + * updateGroup() + router.back(). + */ + +jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + +import React from 'react' +import { fireEvent, screen, waitFor } from '@testing-library/react-native' + +import EditProductGroup from '@/app/(drawer)/dashboard/product-groupings/edit/[id]' +import { resetStorage, setupApiMocks } from '../mocks/api' +import { + expectProcedureCalled, + lastProcedureInput, +} from '../mocks/procedures' +import { resetRouterMock, routerMock, searchParamsMock } from '../mocks/router' +import { renderWithProviders } from '../helpers/render' + +const group = (overrides: Record = {}) => ({ + id: 5, + groupName: 'Beef Box', + description: 'Bundle', + createdAt: '2024-01-01T00:00:00.000Z', + products: [{ id: 10 }, { id: 11 }], + productCount: 2, + ...overrides, +}) + +const procedures = (groups: unknown[]) => ({ + 'admin.product.getGroups': { groups }, + 'common.product.getAllProductsSummary': { products: [] }, + 'common.product.getAllSkusSummary': { + skus: [ + { id: 1, productId: 10, productName: 'Chicken', label: 'Chicken 1kg' }, + { id: 2, productId: 11, productName: 'Mutton', label: 'Mutton 1kg' }, + ], + }, + 'admin.product.updateGroup': { + group: { id: 5, groupName: 'Beef Combo', description: 'Bundle', createdAt: '2024-01-01' }, + message: 'Group updated successfully', + }, +}) + +describe('Edit product group', () => { + beforeEach(async () => { + await resetStorage() + resetRouterMock() + searchParamsMock.current = { id: '5' } + setupApiMocks({ procedures: procedures([group()]) }) + jest.spyOn(console, 'error').mockImplementation(() => {}) + }) + + it('shows the loading state while groups are pending', () => { + searchParamsMock.current = { id: '5' } + setupApiMocks({ + procedures: { ...procedures([group()]), 'admin.product.getGroups': () => new Promise(() => {}) }, + }) + renderWithProviders() + + expect(screen.getByText('Loading group...')).toBeVisible() + }) + + it('shows a not-found state when the id does not match a group', async () => { + searchParamsMock.current = { id: '99' } + setupApiMocks({ procedures: procedures([group()]) }) + renderWithProviders() + + expect(await screen.findByText('Group not found')).toBeVisible() + }) + + it('renders the edit form seeded with the group', async () => { + renderWithProviders() + + expect(await screen.findByText('Edit Product Group')).toBeVisible() + expect(screen.getByDisplayValue('Beef Box')).toBeVisible() + expect(screen.getByDisplayValue('Bundle')).toBeVisible() + }) + + it('updates the group and navigates back', async () => { + const { fetchMock } = setupApiMocks({ procedures: procedures([group()]) }) + renderWithProviders() + await screen.findByDisplayValue('Beef Box') + + fireEvent.changeText(screen.getByDisplayValue('Beef Box'), 'Beef Combo') + fireEvent.press(screen.getByText('Save')) + + await waitFor(() => expectProcedureCalled(fetchMock, 'admin.product.updateGroup')) + expect(lastProcedureInput(fetchMock, 'admin.product.updateGroup')).toEqual({ + id: 5, + group_name: 'Beef Combo', + description: 'Bundle', + product_ids: [10, 11], + }) + await waitFor(() => expect(routerMock.back).toHaveBeenCalled()) + }) +}) \ No newline at end of file diff --git a/apps/admin-ui/tests/screens/product-groupings-index.test.tsx b/apps/admin-ui/tests/screens/product-groupings-index.test.tsx new file mode 100644 index 0000000..4863548 --- /dev/null +++ b/apps/admin-ui/tests/screens/product-groupings-index.test.tsx @@ -0,0 +1,201 @@ +/** + * Product groupings list (app/(drawer)/dashboard/product-groupings/index.tsx) — + * group rows, empty/loading/error states, create/edit navigation, delete via + * the confirm alert and the manual-refresh hooks. + */ + +jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + +import React from 'react' +import { Alert } from 'react-native' +import dayjs from 'dayjs' +import MaterialIcons from '@expo/vector-icons/MaterialIcons' +import { act, fireEvent, screen, waitFor } from '@testing-library/react-native' + +import ProductGroupings from '@/app/(drawer)/dashboard/product-groupings/index' +import { resetStorage, setupApiMocks } from '../mocks/api' +import { + expectProcedureCalled, + lastProcedureInput, + procCount, +} from '../mocks/procedures' +import { resetStaffAuthMock } from '../mocks/staff-auth' +import { resetRouterMock, routerMock, searchParamsMock } from '../mocks/router' +import { refreshHooks, resetRefreshHooks } from '../mocks/refresh' +import { renderWithProviders } from '../helpers/render' + +const group = (overrides: Record = {}) => ({ + id: 1, + groupName: 'Meat Box', + description: 'Protein bundle', + createdAt: '2024-05-01T00:00:00.000Z', + products: [{ id: 10 }, { id: 11 }], + productCount: 2, + ...overrides, +}) + +const groupsResponse = (groups: unknown[]) => ({ groups }) + +const iconByName = (name: string) => + screen.UNSAFE_getAllByType(MaterialIcons).find((i) => i.props.name === name) as + | Parameters[0] + | undefined + +const pressLastAlertButton = (label: string) => { + const calls = (Alert.alert as jest.Mock).mock.calls + const call = calls[calls.length - 1] + const buttons = (call?.[2] ?? []) as { text: string; onPress?: () => void }[] + act(() => buttons.find((b) => b.text === label)?.onPress?.()) +} + +describe('Product groupings list', () => { + beforeEach(async () => { + resetStaffAuthMock() + await resetStorage() + resetRouterMock() + resetRefreshHooks() + searchParamsMock.current = {} + setupApiMocks({ procedures: { 'admin.product.getGroups': groupsResponse([group()]) } }) + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + }) + + it('shows the loading state', () => { + setupApiMocks({ + procedures: { 'admin.product.getGroups': () => new Promise(() => {}) }, + }) + renderWithProviders() + + expect(screen.getByText('Loading product groups...')).toBeVisible() + }) + + it('shows the error state when the query fails', async () => { + const { fetchMock } = setupApiMocks() + fetchMock.mockRejectedValue(new Error('network down')) + renderWithProviders() + + expect(await screen.findByText('Error loading groups')).toBeVisible() + }) + + it('shows the empty state', async () => { + setupApiMocks({ + procedures: { 'admin.product.getGroups': groupsResponse([]) }, + }) + renderWithProviders() + + expect(await screen.findByText('No Groups Yet')).toBeVisible() + expect( + screen.getByText('Start by creating your first product group using the button below.') + ).toBeVisible() + }) + + it('renders a group row with description, product count and date', async () => { + setupApiMocks({ + procedures: { + 'admin.product.getGroups': groupsResponse([ + group(), + group({ id: 2, groupName: 'Fish Box', description: null, productCount: 1 }), + ]), + }, + }) + renderWithProviders() + + expect(await screen.findByText('Meat Box')).toBeVisible() + expect(screen.getByText('Protein bundle')).toBeVisible() + expect(screen.getByText('2 Products')).toBeVisible() + expect(screen.getByText('Fish Box')).toBeVisible() + expect(screen.getByText('1 Products')).toBeVisible() + expect( + screen.getAllByText(dayjs('2024-05-01T00:00:00.000Z').format('MMM DD, YYYY')) + ).toHaveLength(2) + }) + + it('navigates to create from the floating action button', async () => { + renderWithProviders() + await screen.findByText('Meat Box') + + fireEvent.press(iconByName('add')!) + + expect(routerMock.push).toHaveBeenCalledWith( + '/(drawer)/dashboard/product-groupings/create' + ) + }) + + it('navigates to edit for the pressed group', async () => { + renderWithProviders() + await screen.findByText('Meat Box') + + fireEvent.press(iconByName('edit')!) + + expect(routerMock.push).toHaveBeenCalledWith( + '/(drawer)/dashboard/product-groupings/edit/1' + ) + }) + + it('deletes a group after confirming the alert and refetches', async () => { + const { fetchMock } = setupApiMocks({ + procedures: { + 'admin.product.getGroups': groupsResponse([group()]), + 'admin.product.deleteGroup': { message: 'Group deleted successfully' }, + }, + }) + renderWithProviders() + await screen.findByText('Meat Box') + + fireEvent.press(iconByName('delete')!) + + expect(Alert.alert).toHaveBeenCalledWith( + 'Delete Group', + 'Are you sure you want to delete this group?', + expect.any(Array) + ) + pressLastAlertButton('Delete') + + await waitFor(() => + expectProcedureCalled(fetchMock, 'admin.product.deleteGroup') + ) + expect(lastProcedureInput(fetchMock, 'admin.product.deleteGroup')).toEqual({ + id: 1, + }) + await waitFor(() => + expect(procCount(fetchMock, 'admin.product.getGroups')).toBeGreaterThan(1) + ) + }) + + it('does not delete when the alert is cancelled', async () => { + const { fetchMock } = setupApiMocks({ + procedures: { + 'admin.product.getGroups': groupsResponse([group()]), + 'admin.product.deleteGroup': { message: 'Group deleted successfully' }, + }, + }) + renderWithProviders() + await screen.findByText('Meat Box') + + fireEvent.press(iconByName('delete')!) + pressLastAlertButton('Cancel') + + expect(procCount(fetchMock, 'admin.product.deleteGroup')).toBe(0) + }) + + it('refetches through the manual-refresh and mark-data-fetchers hooks', async () => { + const { fetchMock } = setupApiMocks({ + procedures: { 'admin.product.getGroups': groupsResponse([group()]) }, + }) + renderWithProviders() + await screen.findByText('Meat Box') + + const before = procCount(fetchMock, 'admin.product.getGroups') + expect(refreshHooks.manualRefresh).toBeTruthy() + refreshHooks.manualRefresh?.() + await waitFor(() => + expect(procCount(fetchMock, 'admin.product.getGroups')).toBeGreaterThan(before) + ) + + const afterManual = procCount(fetchMock, 'admin.product.getGroups') + expect(refreshHooks.markDataFetchers).toBeTruthy() + refreshHooks.markDataFetchers?.() + await waitFor(() => + expect(procCount(fetchMock, 'admin.product.getGroups')).toBeGreaterThan(afterManual) + ) + }) +}) \ No newline at end of file diff --git a/apps/admin-ui/tests/screens/product-tags-add.test.tsx b/apps/admin-ui/tests/screens/product-tags-add.test.tsx new file mode 100644 index 0000000..9a90e07 --- /dev/null +++ b/apps/admin-ui/tests/screens/product-tags-add.test.tsx @@ -0,0 +1,125 @@ +/** + * Add product tag (app/(drawer)/dashboard/product-tags/add.tsx) — creates a tag + * (with optional image upload) then navigates back on success. + */ + +jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + +import React from 'react' +import { Alert } from 'react-native' +import { act, fireEvent, screen, waitFor } from '@testing-library/react-native' + +import AddTag from '@/app/(drawer)/dashboard/product-tags/add' +import { resetStorage, setupApiMocks } from '../mocks/api' +import { + expectProcedureCalled, + lastProcedureInput, + procCount, +} from '../mocks/procedures' +import { routerMock } from '../mocks/router' +import { renderWithProviders } from '../helpers/render' + +const storesResponse = { + stores: [{ id: 1, name: 'Main Store' }], + count: 1, +} + +const pressLastAlertButton = (label: string) => { + const calls = (Alert.alert as jest.Mock).mock.calls + const call = calls[calls.length - 1] + const buttons = (call?.[2] ?? []) as { text: string; onPress?: () => void }[] + act(() => buttons.find((b) => b.text === label)?.onPress?.()) +} + +describe('Add product tag', () => { + beforeEach(async () => { + await resetStorage() + setupApiMocks() + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + }) + + it('renders the create form', () => { + setupApiMocks({ + procedures: { + 'admin.store.getStores': storesResponse, + 'common.product.getAllSkusSummary': { skus: [] }, + }, + }) + renderWithProviders() + + expect(screen.getByText('Create Tag')).toBeVisible() + }) + + it('creates the tag with the entered values', async () => { + const api = setupApiMocks({ + procedures: { + 'admin.store.getStores': storesResponse, + 'common.product.getAllSkusSummary': { skus: [] }, + 'admin.product.createProductTag': { + tag: { id: 3, tagName: 'Featured' }, + message: 'Tag created successfully', + }, + 'admin.product.getProductTags': { tags: [], message: 'ok' }, + }, + }) + renderWithProviders() + + fireEvent.changeText(screen.getByPlaceholderText('Enter tag name'), 'Featured') + fireEvent.press(screen.getByText('Create Tag')) + + await waitFor(() => + expectProcedureCalled(api.fetchMock, 'admin.product.createProductTag') + ) + expect(lastProcedureInput(api.fetchMock, 'admin.product.createProductTag')).toMatchObject({ + tagName: 'Featured', + isDashboardTag: false, + relatedStores: [], + productIds: [], + uploadUrls: [], + }) + }) + + it('navigates back after the success alert is acknowledged', async () => { + setupApiMocks({ + procedures: { + 'admin.store.getStores': storesResponse, + 'common.product.getAllSkusSummary': { skus: [] }, + 'admin.product.createProductTag': { + tag: { id: 3, tagName: 'Featured' }, + message: 'Tag created successfully', + }, + 'admin.product.getProductTags': { tags: [], message: 'ok' }, + }, + }) + renderWithProviders() + + fireEvent.changeText(screen.getByPlaceholderText('Enter tag name'), 'Featured') + fireEvent.press(screen.getByText('Create Tag')) + + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith( + 'Success', + 'Tag created successfully', + expect.any(Array) + ) + ) + pressLastAlertButton('OK') + expect(routerMock.back).toHaveBeenCalled() + }) + + it('does not create the tag when the name is empty', async () => { + const api = setupApiMocks({ + procedures: { + 'admin.store.getStores': storesResponse, + 'common.product.getAllSkusSummary': { skus: [] }, + }, + }) + renderWithProviders() + + fireEvent.press(screen.getByText('Create Tag')) + + await waitFor(() => + expect(procCount(api.fetchMock, 'admin.product.createProductTag')).toBe(0) + ) + }) +}) diff --git a/apps/admin-ui/tests/screens/product-tags-edit.test.tsx b/apps/admin-ui/tests/screens/product-tags-edit.test.tsx new file mode 100644 index 0000000..f8ce6f5 --- /dev/null +++ b/apps/admin-ui/tests/screens/product-tags-edit.test.tsx @@ -0,0 +1,226 @@ +/** + * Edit product tag (app/(drawer)/dashboard/product-tags/edit/index.tsx) — + * loads the tag by route param, seeds TagForm, and updates it. + */ + +jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + +import React from 'react' +import { Alert } from 'react-native' +import { act, fireEvent, screen, waitFor } from '@testing-library/react-native' + +import EditTag from '@/app/(drawer)/dashboard/product-tags/edit/index' +import { resetStorage, setupApiMocks } from '../mocks/api' +import { + expectProcedureCalled, + lastProcedureInput, + procCount, +} from '../mocks/procedures' +import { routerMock, searchParamsMock } from '../mocks/router' +import { renderWithProviders } from '../helpers/render' + +const tag = { + id: 7, + tagName: 'Bestsellers', + tagDescription: 'Top picks', + imageUrl: null, + isDashboardTag: true, + relatedStores: [1], + sortOrder: [11, 10], + createdAt: '2024-01-01T00:00:00.000Z', + products: [ + { productId: 10, tagId: 7, assignedAt: '2024-01-01T00:00:00.000Z', product: {} }, + { productId: 11, tagId: 7, assignedAt: '2024-01-01T00:00:00.000Z', product: {} }, + ], + productIds: [10, 11], +} + +const storesResponse = { stores: [{ id: 1, name: 'Main Store' }], count: 1 } +const skusResponse = { + skus: [ + { id: 1, productId: 10, productName: 'Chicken', label: 'Chicken 1kg' }, + { id: 2, productId: 11, productName: 'Mutton', label: 'Mutton 1kg' }, + ], +} + +const pressLastAlertButton = (label: string) => { + const calls = (Alert.alert as jest.Mock).mock.calls + const call = calls[calls.length - 1] + const buttons = (call?.[2] ?? []) as { text: string; onPress?: () => void }[] + act(() => buttons.find((b) => b.text === label)?.onPress?.()) +} + +describe('Edit product tag', () => { + beforeEach(async () => { + await resetStorage() + searchParamsMock.current = { tagId: '7' } + setupApiMocks() + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + }) + + it('shows the loading state while the tag is fetched', () => { + setupApiMocks({ + procedures: { + 'admin.product.getProductTagById': () => new Promise(() => {}), + }, + }) + renderWithProviders() + + expect(screen.getByText('Loading tag...')).toBeVisible() + }) + + it('shows "Tag not found" when the query errors', async () => { + setupApiMocks({ + procedures: { + 'admin.product.getProductTagById': () => { + throw new Error('404') + }, + }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('Tag not found')).toBeVisible()) + }) + + it('seeds the form from the fetched tag', async () => { + const api = setupApiMocks({ + procedures: { + 'admin.product.getProductTagById': { tag, message: 'ok' }, + 'admin.store.getStores': storesResponse, + 'common.product.getAllSkusSummary': skusResponse, + }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByDisplayValue('Bestsellers')).toBeVisible()) + expect(screen.getByDisplayValue('Top picks')).toBeVisible() + expect(screen.getByText('Update Tag')).toBeVisible() + expect(lastProcedureInput(api.fetchMock, 'admin.product.getProductTagById')).toEqual({ id: 7 }) + }) + + it('orders the seeded products by sortOrder', async () => { + setupApiMocks({ + procedures: { + 'admin.product.getProductTagById': { tag, message: 'ok' }, + 'admin.store.getStores': storesResponse, + 'common.product.getAllSkusSummary': skusResponse, + }, + }) + renderWithProviders() + + // sortOrder [11, 10] puts Mutton (product 11) before Chicken (product 10). + await waitFor(() => expect(screen.getByText('Mutton 1kg')).toBeVisible()) + expect(screen.getByText('Chicken 1kg')).toBeVisible() + }) + + it('updates the tag with the expected payload', async () => { + const api = setupApiMocks({ + procedures: { + 'admin.product.getProductTagById': { tag, message: 'ok' }, + 'admin.store.getStores': storesResponse, + 'common.product.getAllSkusSummary': skusResponse, + 'admin.product.updateProductTag': { tag: { id: 7 }, message: 'Tag updated successfully' }, + 'admin.product.getProductTags': { tags: [], message: 'ok' }, + }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByDisplayValue('Bestsellers')).toBeVisible()) + fireEvent.press(screen.getByText('Update Tag')) + + await waitFor(() => expectProcedureCalled(api.fetchMock, 'admin.product.updateProductTag')) + expect(lastProcedureInput(api.fetchMock, 'admin.product.updateProductTag')).toMatchObject({ + id: 7, + tagName: 'Bestsellers', + isDashboardTag: true, + relatedStores: [1], + productIds: [11, 10], + }) + }) + + it('navigates back after the success alert is acknowledged', async () => { + setupApiMocks({ + procedures: { + 'admin.product.getProductTagById': { tag, message: 'ok' }, + 'admin.store.getStores': storesResponse, + 'common.product.getAllSkusSummary': skusResponse, + 'admin.product.updateProductTag': { tag: { id: 7 }, message: 'Tag updated successfully' }, + 'admin.product.getProductTags': { tags: [], message: 'ok' }, + }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByDisplayValue('Bestsellers')).toBeVisible()) + fireEvent.press(screen.getByText('Update Tag')) + + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith( + 'Success', + 'Tag updated successfully', + expect.any(Array) + ) + ) + pressLastAlertButton('OK') + expect(routerMock.back).toHaveBeenCalled() + }) + + it('refetches the tag list after a successful update', async () => { + const api = setupApiMocks({ + procedures: { + 'admin.product.getProductTagById': { tag, message: 'ok' }, + 'admin.store.getStores': storesResponse, + 'common.product.getAllSkusSummary': skusResponse, + 'admin.product.updateProductTag': { tag: { id: 7 }, message: 'Tag updated successfully' }, + 'admin.product.getProductTags': { tags: [], message: 'ok' }, + }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByDisplayValue('Bestsellers')).toBeVisible()) + const before = procCount(api.fetchMock, 'admin.product.getProductTags') + fireEvent.press(screen.getByText('Update Tag')) + + await waitFor(() => + expect(procCount(api.fetchMock, 'admin.product.getProductTags')).toBeGreaterThan(before) + ) + }) + + it('refetches the tag by id after a successful update', async () => { + const api = setupApiMocks({ + procedures: { + 'admin.product.getProductTagById': { tag, message: 'ok' }, + 'admin.store.getStores': storesResponse, + 'common.product.getAllSkusSummary': skusResponse, + 'admin.product.updateProductTag': { tag: { id: 7 }, message: 'Tag updated successfully' }, + 'admin.product.getProductTags': { tags: [], message: 'ok' }, + }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByDisplayValue('Bestsellers')).toBeVisible()) + const before = procCount(api.fetchMock, 'admin.product.getProductTagById') + expect(before).toBeGreaterThan(0) + fireEvent.press(screen.getByText('Update Tag')) + + await waitFor(() => + expect(procCount(api.fetchMock, 'admin.product.getProductTagById')).toBeGreaterThan(before) + ) + }) + + it('shows the updating label while the mutation is pending', async () => { + setupApiMocks({ + procedures: { + 'admin.product.getProductTagById': { tag, message: 'ok' }, + 'admin.store.getStores': storesResponse, + 'common.product.getAllSkusSummary': skusResponse, + 'admin.product.updateProductTag': () => new Promise(() => {}), + }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByDisplayValue('Bestsellers')).toBeVisible()) + fireEvent.press(screen.getByText('Update Tag')) + + await waitFor(() => expect(screen.getByText('Updating...')).toBeVisible()) + }) +}) diff --git a/apps/admin-ui/tests/screens/product-tags-index.test.tsx b/apps/admin-ui/tests/screens/product-tags-index.test.tsx new file mode 100644 index 0000000..6aa0a43 --- /dev/null +++ b/apps/admin-ui/tests/screens/product-tags-index.test.tsx @@ -0,0 +1,141 @@ +/** + * Product tags list (app/(drawer)/dashboard/product-tags/index.tsx) — list, + * dashboard-tag badge, empty/error states, navigation and delete via TagMenu. + */ + +jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + +import React from 'react' +import { Alert } from 'react-native' +import { fireEvent, screen, waitFor } from '@testing-library/react-native' + +import ProductTags from '@/app/(drawer)/dashboard/product-tags/index' +import { resetStorage, setupApiMocks } from '../mocks/api' +import { procCount } from '../mocks/procedures' +import { routerMock } from '../mocks/router' +import { refreshHooks, resetRefreshHooks } from '../mocks/refresh' +import { renderWithProviders } from '../helpers/render' + +const tag = (overrides: Record = {}) => ({ + id: 1, + tagName: 'Bestsellers', + tagDescription: 'Top picks', + imageUrl: null, + isDashboardTag: true, + relatedStores: [], + createdAt: '2024-01-01T00:00:00.000Z', + ...overrides, +}) + +const tagsResponse = (tags: unknown[]) => ({ tags, message: 'ok' }) + +describe('Product tags list', () => { + beforeEach(async () => { + resetRefreshHooks() + await resetStorage() + setupApiMocks() + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + }) + + it('shows the loading state while the query is pending', () => { + setupApiMocks({ + procedures: { 'admin.product.getProductTags': () => new Promise(() => {}) }, + }) + renderWithProviders() + + expect(screen.getByText('Loading tags...')).toBeVisible() + }) + + it('renders the tags with the dashboard badge', async () => { + setupApiMocks({ + procedures: { + 'admin.product.getProductTags': tagsResponse([ + tag(), + tag({ id: 2, tagName: 'New', tagDescription: null, isDashboardTag: false }), + ]), + }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('Bestsellers')).toBeVisible()) + expect(screen.getByText('New')).toBeVisible() + expect(screen.getByText('Top picks')).toBeVisible() + expect(screen.getByText('Dashboard Tag')).toBeVisible() + }) + + it('shows the empty state', async () => { + setupApiMocks({ + procedures: { 'admin.product.getProductTags': tagsResponse([]) }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('No tags yet')).toBeVisible()) + }) + + it('shows the error state and retries', async () => { + const api = setupApiMocks({ + procedures: { + 'admin.product.getProductTags': () => { + throw new Error('boom') + }, + }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('Error')).toBeVisible()) + const before = procCount(api.fetchMock, 'admin.product.getProductTags') + fireEvent.press(screen.getByText('Retry')) + + await waitFor(() => + expect(procCount(api.fetchMock, 'admin.product.getProductTags')).toBeGreaterThan(before) + ) + }) + + it('navigates to add and order screens', async () => { + setupApiMocks({ + procedures: { 'admin.product.getProductTags': tagsResponse([tag()]) }, + }) + renderWithProviders() + await waitFor(() => expect(screen.getByText('Bestsellers')).toBeVisible()) + + fireEvent.press(screen.getByText('Add New Tag')) + expect(routerMock.push).toHaveBeenCalledWith('/(drawer)/dashboard/product-tags/add') + + fireEvent.press(screen.getByText('Tag Orders')) + expect(routerMock.push).toHaveBeenCalledWith('/(drawer)/dashboard/product-tags/order') + }) + + it('renders a TagMenu per row that opens the tag options', async () => { + setupApiMocks({ + procedures: { 'admin.product.getProductTags': tagsResponse([tag()]) }, + }) + const { UNSAFE_getAllByType } = renderWithProviders() + await waitFor(() => expect(screen.getByText('Bestsellers')).toBeVisible()) + + const TouchableOpacity = require('react-native').TouchableOpacity + // One trigger per rendered tag row. + expect(UNSAFE_getAllByType(TouchableOpacity).length).toBeGreaterThan(0) + }) + + it('refetches through the manual-refresh and mark-data-fetchers hooks', async () => { + const api = setupApiMocks({ + procedures: { 'admin.product.getProductTags': tagsResponse([tag()]) }, + }) + renderWithProviders() + await waitFor(() => expect(screen.getByText('Bestsellers')).toBeVisible()) + + const before = procCount(api.fetchMock, 'admin.product.getProductTags') + expect(refreshHooks.manualRefresh).toBeTruthy() + refreshHooks.manualRefresh?.() + await waitFor(() => + expect(procCount(api.fetchMock, 'admin.product.getProductTags')).toBeGreaterThan(before) + ) + + const afterManual = procCount(api.fetchMock, 'admin.product.getProductTags') + expect(refreshHooks.markDataFetchers).toBeTruthy() + refreshHooks.markDataFetchers?.() + await waitFor(() => + expect(procCount(api.fetchMock, 'admin.product.getProductTags')).toBeGreaterThan(afterManual) + ) + }) +}) diff --git a/apps/admin-ui/tests/screens/product-tags-order.test.tsx b/apps/admin-ui/tests/screens/product-tags-order.test.tsx new file mode 100644 index 0000000..52c5e72 --- /dev/null +++ b/apps/admin-ui/tests/screens/product-tags-order.test.tsx @@ -0,0 +1,231 @@ +/** + * Tag orders (app/(drawer)/dashboard/product-tags/order.tsx) — orders tags by + * the `tagsOrder` constant, supports save via updateConstants and shows + * loading/empty/error states. + */ + +jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + +import React from 'react' +import { Alert } from 'react-native' +import { act, fireEvent, screen, waitFor } from '@testing-library/react-native' + +import TagOrders from '@/app/(drawer)/dashboard/product-tags/order' +import { resetStorage, setupApiMocks } from '../mocks/api' +import { + expectProcedureCalled, + lastProcedureInput, + procCount, +} from '../mocks/procedures' +import { routerMock, searchParamsMock } from '../mocks/router' +import { createQueryClient, renderWithProviders } from '../helpers/render' + +const tagsResponse = { + tags: [ + { id: 1, tagName: 'Chicken Tag', tagDescription: null, imageUrl: null, isDashboardTag: false, relatedStores: [], createdAt: '2024-01-01T00:00:00.000Z' }, + { id: 2, tagName: 'Mutton Tag', tagDescription: null, imageUrl: null, isDashboardTag: false, relatedStores: [], createdAt: '2024-01-01T00:00:00.000Z' }, + ], + message: 'ok', +} + +describe('Tag orders', () => { + beforeEach(async () => { + await resetStorage() + searchParamsMock.current = {} + setupApiMocks() + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + }) + + it('shows the loading state while constants load', () => { + setupApiMocks({ + procedures: { + 'admin.const.getConstants': () => new Promise(() => {}), + 'admin.product.getProductTags': tagsResponse, + }, + }) + renderWithProviders() + + expect(screen.getByText('Loading order...')).toBeVisible() + }) + + it('shows the error state when the constants query fails', async () => { + setupApiMocks({ + procedures: { + 'admin.const.getConstants': () => { + throw new Error('boom') + }, + 'admin.product.getProductTags': tagsResponse, + }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('Failed to load order')).toBeVisible()) + }) + + it('orders the tags by the tagsOrder constant', async () => { + setupApiMocks({ + procedures: { + 'admin.const.getConstants': [{ key: 'tagsOrder', value: [2, 1] }], + 'admin.product.getProductTags': tagsResponse, + }, + }) + const result = renderWithProviders() + + await waitFor(() => expect(screen.getByText('Mutton Tag')).toBeVisible()) + + const list = result.UNSAFE_getByType( + require('react-native-draggable-flatlist').default + ) + expect(list.props.data.map((t: { id: number }) => t.id)).toEqual([2, 1]) + expect(screen.getByText(/2 items/)).toBeVisible() + }) + + it('appends tags missing from the order and accepts comma lists', async () => { + setupApiMocks({ + procedures: { + 'admin.const.getConstants': [{ key: 'tagsOrder', value: '2' }], + 'admin.product.getProductTags': tagsResponse, + }, + }) + const result = renderWithProviders() + + await waitFor(() => expect(screen.getByText('Mutton Tag')).toBeVisible()) + const list = result.UNSAFE_getByType( + require('react-native-draggable-flatlist').default + ) + expect(list.props.data.map((t: { id: number }) => t.id)).toEqual([2, 1]) + }) + + it('shows the empty state when there are no tags', async () => { + setupApiMocks({ + procedures: { + 'admin.const.getConstants': [{ key: 'tagsOrder', value: [] }], + 'admin.product.getProductTags': { tags: [], message: 'ok' }, + }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('No tags available')).toBeVisible()) + }) + + it('disables Save until the order changes, then saves', async () => { + const api = setupApiMocks({ + procedures: { + 'admin.const.getConstants': [{ key: 'tagsOrder', value: [1, 2] }], + 'admin.product.getProductTags': tagsResponse, + 'admin.const.updateConstants': { success: true, updatedCount: 1, keys: ['tagsOrder'] }, + }, + }) + const result = renderWithProviders() + + await waitFor(() => expect(screen.getByText('Chicken Tag')).toBeVisible()) + + // Save is disabled before any drag. + fireEvent.press(screen.getByText('Save')) + expect(procCount(api.fetchMock, 'admin.const.updateConstants')).toBe(0) + + // Reorder and save. + const list = result.UNSAFE_getByType( + require('react-native-draggable-flatlist').default + ) + act(() => { + list.props.onDragEnd({ data: [list.props.data[1], list.props.data[0]] }) + }) + await waitFor(() => expect(screen.getByText('Save')).toBeVisible()) + + fireEvent.press(screen.getByText('Save')) + + await waitFor(() => expectProcedureCalled(api.fetchMock, 'admin.const.updateConstants')) + expect(lastProcedureInput(api.fetchMock, 'admin.const.updateConstants')).toEqual({ + constants: [{ key: 'tagsOrder', value: [2, 1] }], + }) + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith('Success', 'Tag order updated successfully!') + ) + expect(routerMock.back).not.toHaveBeenCalled() + }) + + it('refetches the constants after saving', async () => { + const api = setupApiMocks({ + procedures: { + 'admin.const.getConstants': [{ key: 'tagsOrder', value: [1, 2] }], + 'admin.product.getProductTags': tagsResponse, + 'admin.const.updateConstants': { success: true, updatedCount: 1, keys: ['tagsOrder'] }, + }, + }) + const client = createQueryClient() + const invalidateSpy = jest.spyOn(client, 'invalidateQueries') + const result = renderWithProviders(, { queryClient: client }) + + await waitFor(() => expect(screen.getByText('Chicken Tag')).toBeVisible()) + const before = procCount(api.fetchMock, 'admin.const.getConstants') + // Delta, not an absolute: the suite shares one httpBatchLink client, so a prior test's + // request can land in this test's fetchMock. + expect(before).toBeGreaterThan(0) + + const list = result.UNSAFE_getByType( + require('react-native-draggable-flatlist').default + ) + act(() => { + list.props.onDragEnd({ data: [list.props.data[1], list.props.data[0]] }) + }) + fireEvent.press(screen.getByText('Save')) + + await waitFor(() => + expect(procCount(api.fetchMock, 'admin.const.getConstants')).toBeGreaterThan(before) + ) + // The refetch is driven by the path-based invalidation, not by updateConstants itself. + // Asserting the ARRAY path is the point: the old dotted string matched no query at all. + await waitFor(() => expect(invalidateSpy).toHaveBeenCalled()) + expect( + invalidateSpy.mock.calls + .map((call) => (call[0] as { queryKey?: unknown[] } | undefined)?.queryKey) + .map((key) => (Array.isArray(key) ? key[0] : null)) + ).toContainEqual(['admin', 'const', 'getConstants']) + // Same client, same cache: the array path matches the live query, the dotted form matches none. + expect( + client.getQueryCache().findAll({ queryKey: [['admin', 'const', 'getConstants']] }).length + ).toBeGreaterThan(0) + expect( + client.getQueryCache().findAll({ queryKey: ['admin.const.getConstants'] }) + ).toHaveLength(0) + }) + + it('shows the saving label while the update is pending', async () => { + setupApiMocks({ + procedures: { + 'admin.const.getConstants': [{ key: 'tagsOrder', value: [1, 2] }], + 'admin.product.getProductTags': tagsResponse, + 'admin.const.updateConstants': () => new Promise(() => {}), + }, + }) + const result = renderWithProviders() + + await waitFor(() => expect(screen.getByText('Chicken Tag')).toBeVisible()) + const list = result.UNSAFE_getByType( + require('react-native-draggable-flatlist').default + ) + act(() => { + list.props.onDragEnd({ data: [list.props.data[1], list.props.data[0]] }) + }) + + fireEvent.press(screen.getByText('Save')) + await waitFor(() => expect(screen.getByText('Saving...')).toBeVisible()) + }) + + it('goes back from the header and the error state', async () => { + setupApiMocks({ + procedures: { + 'admin.const.getConstants': () => { + throw new Error('boom') + }, + 'admin.product.getProductTags': tagsResponse, + }, + }) + renderWithProviders() + await waitFor(() => expect(screen.getByText('Failed to load order')).toBeVisible()) + + fireEvent.press(screen.getByText('Go Back')) + expect(routerMock.back).toHaveBeenCalled() + }) +}) diff --git a/apps/admin-ui/tests/screens/products-add.test.tsx b/apps/admin-ui/tests/screens/products-add.test.tsx new file mode 100644 index 0000000..7a6255b --- /dev/null +++ b/apps/admin-ui/tests/screens/products-add.test.tsx @@ -0,0 +1,58 @@ +/** + * Add product (app/(drawer)/dashboard/products/add.tsx) — create-mode screen. + * + * KNOWN APP BUG (src/components/ProductForm.tsx:80): `variantSignature` calls + * `a.featureValue.trim()` unguarded. The create form starts every variant with + * an empty `quantity` value, so any keystroke / variant add makes Yup throw + * `TypeError: Cannot read properties of undefined (reading 'trim')`, + * `validateForm()` never resolves, and the form cannot be submitted. This + * screen therefore can only be asserted for render/loading; the submit payload + * is covered against ProductForm with valid seeded values (see + * tests/components/product-form.test.tsx). See the final report. + */ + +jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + +import React from 'react' +import { Alert } from 'react-native' +import { fireEvent, screen } from '@testing-library/react-native' + +import AddProduct from '@/app/(drawer)/dashboard/products/add' +import { resetStorage, setupApiMocks } from '../mocks/api' +import { procCount } from '../mocks/procedures' +import { searchParamsMock } from '../mocks/router' +import { renderWithProviders } from '../helpers/render' + +describe('Add product', () => { + beforeEach(async () => { + await resetStorage() + searchParamsMock.current = {} + setupApiMocks() + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + }) + + it('renders the create form with a single seeded variant', () => { + renderWithProviders() + + expect(screen.getByText('Create Product')).toBeVisible() + expect(screen.getByTestId('product-name-input')).toBeVisible() + expect(screen.getByTestId('variant-0-price')).toBeVisible() + expect(screen.getByTestId('variant-0-attr-0-name').props.value).toBe('quantity') + expect(screen.queryByTestId('variant-1-price')).toBeNull() + }) + + it('starts the form empty', () => { + renderWithProviders() + + expect(screen.getByTestId('product-name-input').props.value).toBe('') + expect(screen.getByTestId('variant-0-price').props.value).toBe('') + expect(screen.getByTestId('variant-0-attr-0-value').props.value).toBe('') + }) + + it('does not call createProduct on mount', () => { + const api = setupApiMocks() + renderWithProviders() + + expect(procCount(api.fetchMock, 'admin.product.createProduct')).toBe(0) + }) +}) diff --git a/apps/admin-ui/tests/screens/products-detail.test.tsx b/apps/admin-ui/tests/screens/products-detail.test.tsx new file mode 100644 index 0000000..0c2c4d9 --- /dev/null +++ b/apps/admin-ui/tests/screens/products-detail.test.tsx @@ -0,0 +1,273 @@ +/** + * Product detail (app/(drawer)/dashboard/products/detail/[id].tsx) — product + * fetch, variants/deals/reviews render, empty reviews, edit/back navigation and + * the respondToReview flow. + * + * HARNESS GAP: tests/mocks/router.ts `expoRouterMock()` (admin-ui) does not + * expose a `Stack`/`Tabs` primitive, but this screen renders + * ``. Without a stub the render + * hangs indefinitely. We spread the harness mock and add a `Stack.Screen` + * no-op locally (the harness file itself is untouched). See the final report. + */ + +jest.mock('expo-router', () => { + const base = require('../mocks/router').expoRouterMock() + return { + ...base, + Stack: Object.assign(() => null, { Screen: () => null }), + } +}) + +import React from 'react' +import { Alert } from 'react-native' +import { act, fireEvent, screen, waitFor } from '@testing-library/react-native' + +import ProductDetail from '@/app/(drawer)/dashboard/products/detail/[id]' +import { resetStorage, setupApiMocks } from '../mocks/api' +import { + expectProcedureCalled, + lastProcedureInput, + procCount, +} from '../mocks/procedures' +import { routerMock, searchParamsMock } from '../mocks/router' +import { refreshHooks, resetRefreshHooks } from '../mocks/refresh' +import { renderWithProviders } from '../helpers/render' + +const product = { + id: 5, + name: 'Chicken Breast', + shortDescription: 'Boneless', + longDescription: 'Farm fresh boneless breast', + incrementStep: 1, + skus: [ + { + id: 51, + price: '215', + marketPrice: '220', + flashPrice: '199', + isFlashAvailable: true, + isOutOfStock: false, + images: ['https://assets.test/p/1.png'], + features: [{ id: 1, featureName: 'quantity', featureValue: '0.5 kg' }], + }, + ], + deals: [ + { quantity: 3, price: 600, validTill: '2099-01-01T00:00:00.000Z' }, + ], +} + +const review = { + id: 91, + userName: 'Asha', + ratings: 5, + reviewBody: 'Great meat', + imageUrls: [], + signedImageUrls: [], + adminResponse: null, + adminResponseImages: [], + signedAdminImageUrls: [], +} + +const reviewsResponse = (reviews: unknown[]) => ({ reviews, hasMore: false }) + +describe('Product detail', () => { + beforeEach(async () => { + resetRefreshHooks() + await resetStorage() + searchParamsMock.current = { id: '5' } + setupApiMocks() + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + }) + + it('shows the loading state while the product is fetched', () => { + setupApiMocks({ + procedures: { 'admin.product.getProductById': () => new Promise(() => {}) }, + }) + renderWithProviders() + + expect(screen.getByText('Loading...')).toBeVisible() + }) + + it('shows Product Not Found when the query errors', async () => { + setupApiMocks({ + procedures: { + 'admin.product.getProductById': () => { + throw new Error('404') + }, + }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('Product Not Found')).toBeVisible()) + }) + + it('renders the product, variants, deals and reviews', async () => { + const api = setupApiMocks({ + procedures: { + 'admin.product.getProductById': { product }, + 'admin.product.getProductReviews': reviewsResponse([review]), + }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('Chicken Breast')).toBeVisible()) + expect(screen.getByText('Boneless')).toBeVisible() + expect(screen.getByText('1 Variant')).toBeVisible() + expect(screen.getByText('₹215')).toBeVisible() + expect(screen.getByText('₹220')).toBeVisible() + expect(screen.getByText('0.5 kg')).toBeVisible() + expect(screen.getByText('Special Deals')).toBeVisible() + expect(screen.getByText('Buy 3')).toBeVisible() + expect(screen.getByText('Great meat')).toBeVisible() + expect(screen.getByText('Asha')).toBeVisible() + + await waitFor(() => + expect(lastProcedureInput(api.fetchMock, 'admin.product.getProductById')).toEqual({ id: 5 }) + ) + await waitFor(() => + expect(lastProcedureInput(api.fetchMock, 'admin.product.getProductReviews')).toMatchObject({ + productId: 5, + }) + ) + }) + + it('shows the no-reviews state', async () => { + setupApiMocks({ + procedures: { + 'admin.product.getProductById': { product }, + 'admin.product.getProductReviews': reviewsResponse([]), + }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('No reviews yet')).toBeVisible()) + }) + + it('shows an existing admin response', async () => { + setupApiMocks({ + procedures: { + 'admin.product.getProductById': { product }, + 'admin.product.getProductReviews': reviewsResponse([ + { ...review, adminResponse: 'Thanks for the feedback!' }, + ]), + }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('Admin Response')).toBeVisible()) + expect(screen.getByText('Thanks for the feedback!')).toBeVisible() + expect(screen.queryByText('Reply')).toBeNull() + }) + + it('navigates to edit and back', async () => { + setupApiMocks({ + procedures: { + 'admin.product.getProductById': { product }, + 'admin.product.getProductReviews': reviewsResponse([]), + }, + }) + renderWithProviders() + await waitFor(() => expect(screen.getByText('Chicken Breast')).toBeVisible()) + + fireEvent.press(screen.getByText('Edit')) + expect(routerMock.push).toHaveBeenCalledWith('/(drawer)/dashboard/products/edit?id=5') + }) + + it('goes back from the error state', async () => { + setupApiMocks({ + procedures: { + 'admin.product.getProductById': () => { + throw new Error('404') + }, + }, + }) + renderWithProviders() + await waitFor(() => expect(screen.getByText('Product Not Found')).toBeVisible()) + + fireEvent.press(screen.getByText('Go Back')) + expect(routerMock.back).toHaveBeenCalled() + }) + + it('opens the reply dialog and submits a review response', async () => { + const api = setupApiMocks({ + procedures: { + 'admin.product.getProductById': { product }, + 'admin.product.getProductReviews': reviewsResponse([review]), + 'admin.product.respondToReview': { success: true, review: { id: 91 } }, + }, + }) + renderWithProviders() + await waitFor(() => expect(screen.getByText('Great meat')).toBeVisible()) + + fireEvent.press(screen.getByText('Reply')) + + // The reply form opens inside a bottom dialog; its placeholder identifies it. + const input = await screen.findByPlaceholderText('Write your response here...') + fireEvent.changeText(input, 'Thank you!') + act(() => { + fireEvent.press(screen.getByText('Submit Response')) + }) + + await waitFor(() => expectProcedureCalled(api.fetchMock, 'admin.product.respondToReview')) + expect(lastProcedureInput(api.fetchMock, 'admin.product.respondToReview')).toMatchObject({ + reviewId: 91, + adminResponse: 'Thank you!', + adminResponseImages: [], + }) + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith('Success', 'Response submitted') + ) + }) + + it('refetches the reviews after a review response is submitted', async () => { + const api = setupApiMocks({ + procedures: { + 'admin.product.getProductById': { product }, + 'admin.product.getProductReviews': reviewsResponse([review]), + 'admin.product.respondToReview': { success: true, review: { id: 91 } }, + }, + }) + renderWithProviders() + + // The mounted reviews query (fed by `reviewsResponse([review])`) has loaded. + await waitFor(() => expect(screen.getByText('Great meat')).toBeVisible()) + const before = procCount(api.fetchMock, 'admin.product.getProductReviews') + + fireEvent.press(screen.getByText('Reply')) + const input = await screen.findByPlaceholderText('Write your response here...') + fireEvent.changeText(input, 'Thank you!') + + // Opening the dialog and typing do not refetch the reviews, so any increase + // below can only come from the submit handler invalidating the query. + expect(procCount(api.fetchMock, 'admin.product.getProductReviews')).toBe(before) + + act(() => { + fireEvent.press(screen.getByText('Submit Response')) + }) + + // Submitting invalidates admin.product.getProductReviews, which refetches + // the mounted reviews query this screen renders. + await waitFor(() => + expect(procCount(api.fetchMock, 'admin.product.getProductReviews')).toBeGreaterThan(before) + ) + }) + + it('refetches the product through useMarkDataFetchers', async () => { + const api = setupApiMocks({ + procedures: { + 'admin.product.getProductById': { product }, + 'admin.product.getProductReviews': reviewsResponse([]), + }, + }) + renderWithProviders() + await waitFor(() => expect(screen.getByText('Chicken Breast')).toBeVisible()) + + const before = procCount(api.fetchMock, 'admin.product.getProductById') + expect(refreshHooks.markDataFetchers).toBeTruthy() + refreshHooks.markDataFetchers?.() + + await waitFor(() => + expect(procCount(api.fetchMock, 'admin.product.getProductById')).toBeGreaterThan(before) + ) + }) +}) diff --git a/apps/admin-ui/tests/screens/products-edit.test.tsx b/apps/admin-ui/tests/screens/products-edit.test.tsx new file mode 100644 index 0000000..bb95e4f --- /dev/null +++ b/apps/admin-ui/tests/screens/products-edit.test.tsx @@ -0,0 +1,216 @@ +/** + * Edit product (app/(drawer)/dashboard/products/edit.tsx) — loads a product by + * route id, seeds ProductForm, loads/refetches, validation and the + * updateProduct payload. + */ + +jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + +import React from 'react' +import { Alert } from 'react-native' +import { fireEvent, screen, waitFor } from '@testing-library/react-native' + +import EditProduct from '@/app/(drawer)/dashboard/products/edit' +import { resetStorage, setupApiMocks } from '../mocks/api' +import { + expectProcedureCalled, + lastProcedureInput, + procCount, +} from '../mocks/procedures' +import { searchParamsMock } from '../mocks/router' +import { refreshHooks, resetRefreshHooks } from '../mocks/refresh' +import { renderWithProviders } from '../helpers/render' + +const product = { + id: 7, + name: 'Chicken', + shortDescription: 'Fresh', + longDescription: 'Very fresh', + storeId: 1, + productType: 'item', + incrementStep: 1, + skus: [ + { + id: 71, + name: null, + price: '250', + marketPrice: '300', + flashPrice: null, + isFlashAvailable: false, + isOffer: false, + isComboOnly: false, + isDeleted: false, + isSuspended: false, + images: ['https://assets.test/p/1.png'], + imageKeys: ['product-images/1.png'], + features: [{ id: 1, featureName: 'quantity', featureValue: '1 kg' }], + comboItems: [], + }, + ], +} + +const updateResponse = { product: { id: 7 }, message: 'Product updated successfully' } +const listResponse = { products: [], count: 0 } + +describe('Edit product', () => { + beforeEach(async () => { + resetRefreshHooks() + await resetStorage() + searchParamsMock.current = { id: '7' } + setupApiMocks() + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + }) + + it('shows the loading state while the product is fetched', () => { + setupApiMocks({ + procedures: { + 'admin.product.getProductById': () => new Promise(() => {}), + }, + }) + renderWithProviders() + + expect(screen.getByText('Loading product...')).toBeVisible() + }) + + it('shows "Product not found" when the query resolves without a product', async () => { + setupApiMocks({ + procedures: { 'admin.product.getProductById': { product: null } }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('Product not found')).toBeVisible()) + }) + + it('seeds the form from the fetched product', async () => { + const api = setupApiMocks({ + procedures: { + 'admin.product.getProductById': { product }, + 'common.getStoresSummary': { stores: [{ id: 1, name: 'Main Store' }] }, + }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByTestId('product-name-input').props.value).toBe('Chicken')) + expect(screen.getByTestId('variant-0-price').props.value).toBe('250') + expect(screen.getByTestId('variant-0-attr-0-value').props.value).toBe('1 kg') + expect(screen.getByText('Save Changes')).toBeVisible() + + await waitFor(() => + expect(lastProcedureInput(api.fetchMock, 'admin.product.getProductById')).toEqual({ id: 7 }) + ) + }) + + it('routes the product id from the URL params', async () => { + searchParamsMock.current = { id: '42' } + const api = setupApiMocks({ + procedures: { + 'admin.product.getProductById': { product: { ...product, id: 42 } }, + 'common.getStoresSummary': { stores: [] }, + }, + }) + renderWithProviders() + + await waitFor(() => + expect(lastProcedureInput(api.fetchMock, 'admin.product.getProductById')).toEqual({ id: 42 }) + ) + }) + + it('updates the product with the expected payload', async () => { + const api = setupApiMocks({ + procedures: { + 'admin.product.getProductById': { product }, + 'admin.product.updateProduct': updateResponse, + 'admin.product.getProducts': listResponse, + 'common.getStoresSummary': { stores: [{ id: 1, name: 'Main Store' }] }, + }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByTestId('product-name-input').props.value).toBe('Chicken')) + fireEvent.press(screen.getByTestId('create-product-button')) + + await waitFor(() => expectProcedureCalled(api.fetchMock, 'admin.product.updateProduct')) + + expect(lastProcedureInput(api.fetchMock, 'admin.product.updateProduct')).toMatchObject({ + id: 7, + name: 'Chicken', + storeId: 1, + productType: 'item', + skus: [ + expect.objectContaining({ + id: 71, + price: 250, + marketPrice: 300, + features: [{ featureName: 'quantity', featureValue: '1 kg' }], + }), + ], + }) + + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith('Success', 'Product updated successfully!') + ) + }) + + it('refetches the product and list after a successful update', async () => { + const api = setupApiMocks({ + procedures: { + 'admin.product.getProductById': { product }, + 'admin.product.updateProduct': updateResponse, + 'admin.product.getProducts': listResponse, + 'common.getStoresSummary': { stores: [{ id: 1, name: 'Main Store' }] }, + }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByTestId('product-name-input').props.value).toBe('Chicken')) + + const productBefore = procCount(api.fetchMock, 'admin.product.getProductById') + const listBefore = procCount(api.fetchMock, 'admin.product.getProducts') + + fireEvent.press(screen.getByTestId('create-product-button')) + + await waitFor(() => expectProcedureCalled(api.fetchMock, 'admin.product.updateProduct')) + await waitFor(() => + expect(procCount(api.fetchMock, 'admin.product.getProductById')).toBeGreaterThan(productBefore) + ) + await waitFor(() => + expect(procCount(api.fetchMock, 'admin.product.getProducts')).toBeGreaterThan(listBefore) + ) + }) + + it('refetches through useManualRefresh', async () => { + const api = setupApiMocks({ + procedures: { + 'admin.product.getProductById': { product }, + 'common.getStoresSummary': { stores: [{ id: 1, name: 'Main Store' }] }, + }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByTestId('product-name-input').props.value).toBe('Chicken')) + + const before = procCount(api.fetchMock, 'admin.product.getProductById') + expect(refreshHooks.manualRefresh).toBeTruthy() + refreshHooks.manualRefresh?.() + + await waitFor(() => + expect(procCount(api.fetchMock, 'admin.product.getProductById')).toBeGreaterThan(before) + ) + }) + + it('shows the saving label while the update is pending', async () => { + setupApiMocks({ + procedures: { + 'admin.product.getProductById': { product }, + 'admin.product.updateProduct': () => new Promise(() => {}), + 'common.getStoresSummary': { stores: [{ id: 1, name: 'Main Store' }] }, + }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByTestId('product-name-input').props.value).toBe('Chicken')) + fireEvent.press(screen.getByTestId('create-product-button')) + + await waitFor(() => expect(screen.getByText('Saving...')).toBeVisible()) + }) +}) diff --git a/apps/admin-ui/tests/screens/products-index.test.tsx b/apps/admin-ui/tests/screens/products-index.test.tsx new file mode 100644 index 0000000..3fd1063 --- /dev/null +++ b/apps/admin-ui/tests/screens/products-index.test.tsx @@ -0,0 +1,252 @@ +/** + * Products list (app/(drawer)/dashboard/products/index.tsx) — list, search, + * stock filters, stock toggle, empty/error states and navigation. + */ + +jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + +import React from 'react' +import { Alert } from 'react-native' +import Toast from 'react-native-toast-message' +import { fireEvent, screen, waitFor } from '@testing-library/react-native' + +import Products from '@/app/(drawer)/dashboard/products/index' +import { resetStorage, setupApiMocks } from '../mocks/api' +import { + expectProcedureCalled, + lastProcedureInput, + procCount, +} from '../mocks/procedures' +import { routerMock } from '../mocks/router' +import { refreshHooks, resetRefreshHooks } from '../mocks/refresh' +import { renderWithProviders } from '../helpers/render' + +const chicken = { + id: 1, + name: 'Chicken', + shortDescription: 'Fresh farm chicken', + skus: [ + { + id: 11, + price: '200', + images: ['https://assets.test/p/1.png'], + isOutOfStock: false, + }, + ], +} + +const mutton = { + id: 2, + name: 'Mutton', + shortDescription: 'Tender goat meat', + skus: [ + { + id: 22, + price: '500', + images: [], + isOutOfStock: true, + }, + ], +} + +const listResponse = (products: unknown[]) => ({ products, count: products.length }) + +describe('Products list', () => { + beforeEach(async () => { + resetRefreshHooks() + await resetStorage() + setupApiMocks() + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + }) + + it('renders each product with its variant count and stock state', async () => { + setupApiMocks({ + procedures: { 'admin.product.getProducts': listResponse([chicken, mutton]) }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('Chicken')).toBeVisible()) + expect(screen.getByText('Mutton')).toBeVisible() + expect(screen.getAllByText('1 Variants')).toHaveLength(2) + // Stock labels: chicken shows In, mutton shows Out (plus the toggle button + // label "Out" on the in-stock chicken row). + expect(screen.getByText('In')).toBeVisible() + expect(screen.getAllByText('Out').length).toBeGreaterThan(0) + }) + + it('shows the loading state while the query is pending', async () => { + setupApiMocks({ + procedures: { 'admin.product.getProducts': () => new Promise(() => {}) }, + }) + renderWithProviders() + + expect(screen.getByText('Loading products...')).toBeVisible() + }) + + it('shows the empty state when there are no products', async () => { + setupApiMocks({ + procedures: { 'admin.product.getProducts': listResponse([]) }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('No products found')).toBeVisible()) + expect(screen.getByText('Start by adding your first product')).toBeVisible() + }) + + it('shows the error state and refetches on Retry', async () => { + const api = setupApiMocks({ + procedures: { + 'admin.product.getProducts': () => { + throw new Error('boom') + }, + }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('Error loading products')).toBeVisible()) + + const before = procCount(api.fetchMock, 'admin.product.getProducts') + fireEvent.press(screen.getByText('Retry')) + + await waitFor(() => + expect(procCount(api.fetchMock, 'admin.product.getProducts')).toBeGreaterThan(before) + ) + }) + + it('filters products by search term', async () => { + setupApiMocks({ + procedures: { 'admin.product.getProducts': listResponse([chicken, mutton]) }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('Chicken')).toBeVisible()) + + fireEvent.changeText(screen.getByPlaceholderText('Search products...'), 'mutton') + + expect(screen.getByText('Mutton')).toBeVisible() + expect(screen.queryByText('Chicken')).toBeNull() + }) + + it('filters by stock and clears the filters from the empty state', async () => { + setupApiMocks({ + procedures: { 'admin.product.getProducts': listResponse([chicken, mutton]) }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('Chicken')).toBeVisible()) + expect(screen.getByText('All (2)')).toBeVisible() + expect(screen.getByText('In Stock (1)')).toBeVisible() + expect(screen.getByText('Out of Stock (1)')).toBeVisible() + + fireEvent.press(screen.getByText('In Stock (1)')) + expect(screen.getByText('Chicken')).toBeVisible() + expect(screen.queryByText('Mutton')).toBeNull() + + fireEvent.press(screen.getByText('Out of Stock (1)')) + expect(screen.getByText('Mutton')).toBeVisible() + expect(screen.queryByText('Chicken')).toBeNull() + + fireEvent.changeText(screen.getByPlaceholderText('Search products...'), 'nothing') + expect(screen.getByText('No products match your filters')).toBeVisible() + + fireEvent.press(screen.getByText('Clear Filters')) + expect(screen.getByText('Chicken')).toBeVisible() + expect(screen.getByText('Mutton')).toBeVisible() + }) + + it('navigates to add, edit and detail', async () => { + setupApiMocks({ + procedures: { 'admin.product.getProducts': listResponse([chicken, mutton]) }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('Chicken')).toBeVisible()) + + fireEvent.press(screen.getByTestId('add-product-button')) + expect(routerMock.push).toHaveBeenCalledWith('/(drawer)/dashboard/products/add') + + fireEvent.press(screen.getAllByText('View')[0]) + expect(routerMock.push).toHaveBeenCalledWith('/(drawer)/dashboard/products/detail/1') + + fireEvent.press(screen.getAllByText('Edit')[0]) + expect(routerMock.push).toHaveBeenCalledWith('/(drawer)/dashboard/products/edit?id=1') + }) + + it('toggles an in-stock product out of stock and refetches', async () => { + const api = setupApiMocks({ + procedures: { + 'admin.product.getProducts': listResponse([mutton]), + 'admin.product.toggleOutOfStock': { + productId: 2, + isOutOfStock: false, + message: 'Product marked as in stock', + }, + }, + }) + renderWithProviders() + + // mutton is out of stock, so its toggle button offers "Stock". + await waitFor(() => expect(screen.getByText('Mutton')).toBeVisible()) + + const before = procCount(api.fetchMock, 'admin.product.getProducts') + fireEvent.press(screen.getByText('Stock')) + + await waitFor(() => + expectProcedureCalled(api.fetchMock, 'admin.product.toggleOutOfStock') + ) + expect(lastProcedureInput(api.fetchMock, 'admin.product.toggleOutOfStock')).toEqual({ + id: 2, + }) + await waitFor(() => + expect(procCount(api.fetchMock, 'admin.product.getProducts')).toBeGreaterThan(before) + ) + }) + + it('shows the success toast after toggling stock', async () => { + const api = setupApiMocks({ + procedures: { + 'admin.product.getProducts': listResponse([mutton]), + 'admin.product.toggleOutOfStock': { + productId: 2, + isOutOfStock: false, + message: 'Product marked as in stock', + }, + }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('Mutton')).toBeVisible()) + fireEvent.press(screen.getByText('Stock')) + + await waitFor(() => + expect(Toast.show).toHaveBeenCalledWith( + expect.objectContaining({ text1: 'Product marked as in stock' }) + ) + ) + expect(expectProcedureCalled(api.fetchMock, 'admin.product.toggleOutOfStock')).toHaveLength(1) + }) + + it('refetches through the manual-refresh and mark-data-fetchers hooks', async () => { + const api = setupApiMocks({ + procedures: { 'admin.product.getProducts': listResponse([chicken]) }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('Chicken')).toBeVisible()) + + const before = procCount(api.fetchMock, 'admin.product.getProducts') + + expect(refreshHooks.manualRefresh).toBeTruthy() + refreshHooks.manualRefresh?.() + await waitFor(() => + expect(procCount(api.fetchMock, 'admin.product.getProducts')).toBeGreaterThan(before) + ) + + const afterManual = procCount(api.fetchMock, 'admin.product.getProducts') + expect(refreshHooks.markDataFetchers).toBeTruthy() + refreshHooks.markDataFetchers?.() + await waitFor(() => + expect(procCount(api.fetchMock, 'admin.product.getProducts')).toBeGreaterThan(afterManual) + ) + }) +}) diff --git a/apps/admin-ui/tests/screens/rebalance-orders.test.tsx b/apps/admin-ui/tests/screens/rebalance-orders.test.tsx new file mode 100644 index 0000000..c738760 --- /dev/null +++ b/apps/admin-ui/tests/screens/rebalance-orders.test.tsx @@ -0,0 +1,188 @@ +/** + * Rebalance orders (app/(drawer)/dashboard/rebalance-orders/index.tsx) — + * upcoming-slot list, past-slot filtering, selection, the rebalanceSlots + * mutation and the +N-more product dialog. + */ + +import React from 'react' +import { Alert } from 'react-native' +import { fireEvent, screen, waitFor } from '@testing-library/react-native' + +import RebalanceOrders from '@/app/(drawer)/dashboard/rebalance-orders/index' +import { resetStorage, setupApiMocks } from '../mocks/api' +import { + expectProcedureCalled, + lastProcedureInput, + procCount, +} from '../mocks/procedures' +import { resetStaffAuthMock } from '../mocks/staff-auth' +import { renderWithProviders } from '../helpers/render' + +const futureSlot = (overrides: Record = {}) => ({ + id: 1, + deliveryTime: '2099-01-01T10:00:00.000Z', + freezeTime: '2099-01-01T09:00:00.000Z', + isActive: true, + products: [ + { id: 10, name: 'Chicken' }, + { id: 11, name: 'Mutton' }, + { id: 12, name: 'Fish' }, + ], + ...overrides, +}) + +const slotsResult = (slots: unknown[]) => ({ slots, count: slots.length }) + +describe('Rebalance orders', () => { + beforeEach(async () => { + resetStaffAuthMock() + await resetStorage() + setupApiMocks() + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + }) + + it('shows the loading state while slots are pending', () => { + setupApiMocks({ + procedures: { 'admin.slots.getAll': () => new Promise(() => {}) }, + }) + renderWithProviders() + + expect(screen.getByText('Loading slots...')).toBeVisible() + }) + + it('renders an upcoming slot row with products and status', async () => { + setupApiMocks({ + procedures: { 'admin.slots.getAll': slotsResult([futureSlot()]) }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('Slot #1')).toBeVisible()) + expect(screen.getByText('Active')).toBeVisible() + // Only the first two product names are shown. + expect(screen.getByText('Chicken, Mutton')).toBeVisible() + expect(screen.getByText('+1 more')).toBeVisible() + }) + + it('marks an inactive slot as Inactive', async () => { + setupApiMocks({ + procedures: { + 'admin.slots.getAll': slotsResult([futureSlot({ isActive: false })]), + }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('Inactive')).toBeVisible()) + }) + + it('hides slots whose delivery time has already passed', async () => { + setupApiMocks({ + procedures: { + 'admin.slots.getAll': slotsResult([ + futureSlot({ id: 1, deliveryTime: '2099-01-01T10:00:00.000Z' }), + futureSlot({ id: 2, deliveryTime: '2000-01-01T10:00:00.000Z' }), + ]), + }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('Slot #1')).toBeVisible()) + expect(screen.queryByText('Slot #2')).toBeNull() + }) + + it('shows the empty state when there are no upcoming slots', async () => { + setupApiMocks({ + procedures: { + 'admin.slots.getAll': slotsResult([ + futureSlot({ deliveryTime: '2000-01-01T10:00:00.000Z' }), + ]), + }, + }) + renderWithProviders() + + expect( + await screen.findByText('No upcoming slots available for rebalancing.') + ).toBeVisible() + }) + + it('does not rebalance while nothing is selected', async () => { + const { fetchMock } = setupApiMocks({ + procedures: { 'admin.slots.getAll': slotsResult([futureSlot()]) }, + }) + renderWithProviders() + await screen.findByText('Slot #1') + + fireEvent.press(screen.getByTestId('mock-linear-gradient')) + + expect(procCount(fetchMock, 'admin.order.rebalanceSlots')).toBe(0) + }) + + it('rebalances the selected slots through rebalanceSlots', async () => { + const { fetchMock } = setupApiMocks({ + procedures: { + 'admin.slots.getAll': slotsResult([futureSlot(), futureSlot({ id: 2 })]), + 'admin.order.rebalanceSlots': { + message: 'Rebalanced', + updatedSlotIds: [1], + }, + }, + }) + renderWithProviders() + await screen.findByText('Slot #1') + + fireEvent.press(screen.getByText('Slot #1')) + fireEvent.press(screen.getByText('Slot #2')) + fireEvent.press(screen.getByTestId('mock-linear-gradient')) + + expect(Alert.alert).toHaveBeenCalledWith( + 'Rebalancing...', + 'Please wait while we rebalance the selected slots.', + [{ text: 'OK' }] + ) + await waitFor(() => + expectProcedureCalled(fetchMock, 'admin.order.rebalanceSlots') + ) + expect(lastProcedureInput(fetchMock, 'admin.order.rebalanceSlots')).toEqual({ + slotIds: [1, 2], + }) + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith( + 'Rebalance Complete', + 'Slots have been rebalanced.' + ) + ) + // onSuccess refetches the slot list. + await waitFor(() => + expect(procCount(fetchMock, 'admin.slots.getAll')).toBeGreaterThan(1) + ) + }) + + it('toggles a slot back off when pressed twice', async () => { + const { fetchMock } = setupApiMocks({ + procedures: { + 'admin.slots.getAll': slotsResult([futureSlot()]), + 'admin.order.rebalanceSlots': { message: 'Rebalanced' }, + }, + }) + renderWithProviders() + await screen.findByText('Slot #1') + + fireEvent.press(screen.getByText('Slot #1')) + fireEvent.press(screen.getByText('Slot #1')) + fireEvent.press(screen.getByTestId('mock-linear-gradient')) + + expect(procCount(fetchMock, 'admin.order.rebalanceSlots')).toBe(0) + }) + + it('opens the full product list from the +N more link', async () => { + setupApiMocks({ + procedures: { 'admin.slots.getAll': slotsResult([futureSlot()]) }, + }) + renderWithProviders() + await screen.findByText('+1 more') + + fireEvent.press(screen.getByText('+1 more')) + + expect(await screen.findByText('All Products')).toBeVisible() + expect(screen.getByText('Fish')).toBeVisible() + }) +}) diff --git a/apps/admin-ui/tests/screens/send-notifications.test.tsx b/apps/admin-ui/tests/screens/send-notifications.test.tsx new file mode 100644 index 0000000..30a9a48 --- /dev/null +++ b/apps/admin-ui/tests/screens/send-notifications.test.tsx @@ -0,0 +1,255 @@ +/** + * Send notifications + * (app/(drawer)/dashboard/send-notifications/index.tsx) — eligible-user + * dropdown, the send-to-all confirmation and the sendNotification mutation. + */ + +jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + +import React from 'react' +import { Alert, TouchableOpacity } from 'react-native' +import { act, fireEvent, screen, waitFor } from '@testing-library/react-native' +import MaterialIcons from '@expo/vector-icons/MaterialIcons' + +import SendNotifications from '@/app/(drawer)/dashboard/send-notifications/index' +import { resetStorage, setupApiMocks } from '../mocks/api' +import { + expectProcedureCalled, + lastProcedureInput, + procCount, +} from '../mocks/procedures' +import { routerMock } from '../mocks/router' +import { renderWithProviders } from '../helpers/render' + +const usersResponse = { + users: [ + { id: 1, name: 'Alice', mobile: '9000000001', isEligibleForNotif: true }, + { id: 2, name: 'Bob', mobile: '9000000002', isEligibleForNotif: false }, + ], +} + +const pressLastAlertButton = (label: string) => { + const calls = (Alert.alert as jest.Mock).mock.calls + const call = calls[calls.length - 1] + const buttons = (call?.[2] ?? []) as { text: string; onPress?: () => void }[] + act(() => buttons.find((b) => b.text === label)?.onPress?.()) +} + +const fillMessage = (title = 'Hello', message = 'World') => { + fireEvent.changeText(screen.getByPlaceholderText('Enter notification title...'), title) + fireEvent.changeText(screen.getByPlaceholderText('Enter notification message...'), message) +} + +describe('Send notifications', () => { + beforeEach(async () => { + await resetStorage() + setupApiMocks() + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + }) + + it('shows the loading state while users load', () => { + setupApiMocks({ + procedures: { 'admin.user.getUsersForNotification': () => new Promise(() => {}) }, + }) + renderWithProviders() + + expect(screen.getByText('Loading users...')).toBeVisible() + }) + + it('renders the form and loads eligible users only', async () => { + setupApiMocks({ + procedures: { 'admin.user.getUsersForNotification': usersResponse }, + }) + renderWithProviders() + + expect(await screen.findByText('Send Notifications')).toBeVisible() + expect(screen.getByPlaceholderText('Enter notification title...')).toBeVisible() + expect(screen.getByPlaceholderText('Enter notification message...')).toBeVisible() + expect(screen.getByText('All Users')).toBeVisible() + + fireEvent.press(screen.getByText('Select users')) + expect(await screen.findByText('9000000001 - Alice')).toBeVisible() + expect(screen.queryByText('9000000002 - Bob')).toBeNull() + }) + + it('keeps the send button disabled until both fields are filled', async () => { + setupApiMocks({ + procedures: { 'admin.user.getUsersForNotification': usersResponse }, + }) + const result = renderWithProviders() + + await screen.findByText('Send to All Users') + const sendDisabled = () => + result.UNSAFE_getAllByType(TouchableOpacity).at(-1)?.props.disabled + expect(sendDisabled()).toBe(true) + + fillMessage() + await waitFor(() => expect(sendDisabled()).toBe(false)) + }) + + it('confirms and sends to all users when none are selected', async () => { + const api = setupApiMocks({ + procedures: { + 'admin.user.getUsersForNotification': usersResponse, + 'admin.user.sendNotification': { success: true, message: 'queued' }, + }, + }) + renderWithProviders() + + await screen.findByText('Send to All Users') + fillMessage(' Hello ', ' World ') + fireEvent.press(screen.getByText('Send to All Users')) + + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith( + 'Send to All Users?', + expect.any(String), + expect.any(Array) + ) + ) + pressLastAlertButton('Send') + + await waitFor(() => expectProcedureCalled(api.fetchMock, 'admin.user.sendNotification')) + expect(lastProcedureInput(api.fetchMock, 'admin.user.sendNotification')).toEqual({ + userIds: [], + title: 'Hello', + text: 'World', + }) + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith('Success', 'Notification sent successfully!') + ) + }) + + it('cancels the send-to-all confirmation without mutating', async () => { + const api = setupApiMocks({ + procedures: { + 'admin.user.getUsersForNotification': usersResponse, + 'admin.user.sendNotification': { success: true, message: 'queued' }, + }, + }) + renderWithProviders() + + await screen.findByText('Send to All Users') + fillMessage() + fireEvent.press(screen.getByText('Send to All Users')) + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith( + 'Send to All Users?', + expect.any(String), + expect.any(Array) + ) + ) + pressLastAlertButton('Cancel') + + expect(procCount(api.fetchMock, 'admin.user.sendNotification')).toBe(0) + }) + + it('sends to the selected user without a confirmation', async () => { + const api = setupApiMocks({ + procedures: { + 'admin.user.getUsersForNotification': usersResponse, + 'admin.user.sendNotification': { success: true, message: 'queued' }, + }, + }) + renderWithProviders() + + await screen.findByText('Send to All Users') + fireEvent.press(screen.getByText('Select users')) + fireEvent.press(await screen.findByText('9000000001 - Alice')) + fireEvent.press(screen.getByText('Done')) + + // Once a user is picked the button switches label. + await waitFor(() => expect(screen.getByText('Send Notification')).toBeVisible()) + fillMessage() + fireEvent.press(screen.getByText('Send Notification')) + + await waitFor(() => expectProcedureCalled(api.fetchMock, 'admin.user.sendNotification')) + expect(lastProcedureInput(api.fetchMock, 'admin.user.sendNotification')).toEqual({ + userIds: [1], + title: 'Hello', + text: 'World', + }) + }) + + it('shows an error alert when the mutation fails', async () => { + setupApiMocks({ + procedures: { + 'admin.user.getUsersForNotification': usersResponse, + 'admin.user.sendNotification': () => { + throw new Error('nope') + }, + }, + }) + renderWithProviders() + + await screen.findByText('Send to All Users') + fireEvent.press(screen.getByText('Select users')) + fireEvent.press(await screen.findByText('9000000001 - Alice')) + fireEvent.press(screen.getByText('Done')) + await waitFor(() => expect(screen.getByText('Send Notification')).toBeVisible()) + + fillMessage() + fireEvent.press(screen.getByText('Send Notification')) + + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith('Error', expect.any(String)) + ) + }) + + it('shows the sending label while the mutation is pending', async () => { + setupApiMocks({ + procedures: { + 'admin.user.getUsersForNotification': usersResponse, + 'admin.user.sendNotification': () => new Promise(() => {}), + }, + }) + renderWithProviders() + + await screen.findByText('Send to All Users') + fireEvent.press(screen.getByText('Select users')) + fireEvent.press(await screen.findByText('9000000001 - Alice')) + fireEvent.press(screen.getByText('Done')) + await waitFor(() => expect(screen.getByText('Send Notification')).toBeVisible()) + + fillMessage() + fireEvent.press(screen.getByText('Send Notification')) + + await waitFor(() => expect(screen.getByText('Sending...')).toBeVisible()) + }) + + it('refetches users with the debounced search query', async () => { + const api = setupApiMocks({ + procedures: { 'admin.user.getUsersForNotification': usersResponse }, + }) + renderWithProviders() + + await screen.findByText('Send to All Users') + fireEvent.press(screen.getByText('Select users')) + fireEvent.changeText(screen.getByTestId('undefined-search'), 'ali') + + act(() => { + jest.advanceTimersByTime(2000) + }) + + await waitFor(() => + expect(lastProcedureInput(api.fetchMock, 'admin.user.getUsersForNotification')).toEqual({ + search: 'ali', + }) + ) + }) + + it('goes back from the header', async () => { + setupApiMocks({ + procedures: { 'admin.user.getUsersForNotification': usersResponse }, + }) + const result = renderWithProviders() + + await screen.findByText('Send Notifications') + const backIcon = result.UNSAFE_getAllByType(MaterialIcons).find( + (node) => node.props.name === 'chevron-left' + )! + fireEvent.press(backIcon) + + expect(routerMock.back).toHaveBeenCalled() + }) +}) diff --git a/apps/admin-ui/tests/screens/slot-details.test.tsx b/apps/admin-ui/tests/screens/slot-details.test.tsx new file mode 100644 index 0000000..ce10ff0 --- /dev/null +++ b/apps/admin-ui/tests/screens/slot-details.test.tsx @@ -0,0 +1,154 @@ +/** + * Slot details screen (app/(drawer)/dashboard/slots/slot-details.tsx) — + * loading/error states, snippet + product rendering, share and navigation. + */ + +jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + +import React from 'react' +import { Alert, Share } from 'react-native' +import { fireEvent, screen, waitFor } from '@testing-library/react-native' + +import SlotDetails from '@/app/(drawer)/dashboard/slots/slot-details' +import { setupApiMocks, resetStorage } from '../mocks/api' +import { resetStaffAuthMock } from '../mocks/staff-auth' +import { expectProcedureCalled, lastProcedureInput } from '../mocks/procedures' +import { routerMock, searchParamsMock } from '../mocks/router' +import { renderWithProviders } from '../helpers/render' + +const slot = { + id: 7, + deliveryTime: '2026-10-01T10:00:00.000Z', + freezeTime: '2026-10-01T06:00:00.000Z', + isActive: true, + isCapacityFull: false, + groupIds: [2], + products: [ + { id: 11, name: 'Chicken' }, + { id: 12, name: 'Mutton' }, + { id: 13, name: 'Fish', shortDescription: 'Fresh catch' }, + ], + vendorSnippets: [ + { + id: 100, + snippetCode: 'SNIP-AAA', + slotId: 7, + skuIds: [11, 13], + isPermanent: false, + validTill: '2030-01-01T00:00:00.000Z', + createdAt: '2026-09-01T00:00:00.000Z', + accessUrl: 'https://app.freshyo.in/vendor-order-list?id=SNIP-AAA', + }, + ], +} + +const procedures = { + 'admin.slots.getSlotById': { slot }, +} + +describe('Slot details', () => { + beforeEach(async () => { + resetStaffAuthMock() + await resetStorage() + searchParamsMock.current = { slotId: '7' } + setupApiMocks({ procedures }) + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + jest.spyOn(Share, 'share').mockResolvedValue({ action: 'sharedAction' } as any) + routerMock.push.mockClear() + }) + + it('shows a loader while fetching', () => { + const { fetchMock } = setupApiMocks({ procedures }) + fetchMock.mockImplementation(() => new Promise(() => {})) + + renderWithProviders() + + expect(screen.getByText('Loading slot details...')).toBeVisible() + }) + + it('shows an error state when the slot is missing', async () => { + setupApiMocks({ procedures: { 'admin.slots.getSlotById': null } }) + + renderWithProviders() + + expect(await screen.findByText('Error loading slot details')).toBeVisible() + }) + + it('renders slot header, products and snippets', async () => { + const { fetchMock } = setupApiMocks({ procedures }) + + renderWithProviders() + + expect(await screen.findByText('Slot #7')).toBeVisible() + expect(lastProcedureInput(fetchMock, 'admin.slots.getSlotById')).toEqual({ id: 7 }) + + expect(screen.getByText('3 items')).toBeVisible() + expect(screen.getByText('Chicken')).toBeVisible() + expect(screen.getByText('Mutton')).toBeVisible() + expect(screen.getByText('Fish')).toBeVisible() + + expect(screen.getByText('1 snippets')).toBeVisible() + expect(screen.getByText('SNIP-AAA')).toBeVisible() + expect(screen.getByText('2 products')).toBeVisible() + expect(screen.getByText('Share')).toBeVisible() + }) + + it('renders empty states when there are no snippets or products', async () => { + setupApiMocks({ + procedures: { + 'admin.slots.getSlotById': { + slot: { ...slot, products: [], vendorSnippets: [] }, + }, + }, + }) + + renderWithProviders() + + expect(await screen.findByText('No vendor snippets for this slot')).toBeVisible() + expect(screen.getByText('No products in this slot')).toBeVisible() + }) + + it('opens the snippet products dialog with only the snippet skus', async () => { + setupApiMocks({ procedures }) + + renderWithProviders() + await screen.findByText('Slot #7') + + expect(screen.queryByText('Snippet Products')).toBeNull() + fireEvent.press(screen.getByText('2 products')) + + expect(await screen.findByText('Snippet Products')).toBeVisible() + expect(screen.getByText('Fresh catch')).toBeVisible() + expect(screen.getAllByText('Chicken').length).toBe(2) + expect(screen.getAllByText('Fish').length).toBe(2) + expect(screen.getAllByText('Mutton').length).toBe(1) + }) + + it('shares the snippet access url', async () => { + setupApiMocks({ procedures }) + + renderWithProviders() + await screen.findByText('Slot #7') + + fireEvent.press(screen.getByText('Share')) + + await waitFor(() => + expect(Share.share).toHaveBeenCalledWith({ + message: 'https://app.freshyo.in/vendor-order-list?id=SNIP-AAA', + }) + ) + }) + + it('navigates to the edit screen from the FAB', async () => { + setupApiMocks({ procedures }) + + renderWithProviders() + await screen.findByText('Slot #7') + + fireEvent.press(screen.getByTestId('edit-slot-fab')) + + expect(routerMock.push).toHaveBeenCalledWith( + '/(drawer)/dashboard/slots/edit/7' + ) + }) +}) diff --git a/apps/admin-ui/tests/screens/slots-add.test.tsx b/apps/admin-ui/tests/screens/slots-add.test.tsx new file mode 100644 index 0000000..c2f488f --- /dev/null +++ b/apps/admin-ui/tests/screens/slots-add.test.tsx @@ -0,0 +1,127 @@ +/** + * Add slot screen (app/(drawer)/dashboard/slots/add.tsx) — base-slot prefill, + * loading, and the create -> back integration. + */ + +jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + +jest.mock('common-ui/src/components/date-time-picker', () => { + const React = require('react') + const { View, TouchableOpacity, Text } = require('react-native') + const FIXED = new Date('2026-10-01T10:00:00.000Z') + return { + __esModule: true, + default: ({ setValue, dateTestID, timeTestID }: any) => + React.createElement( + View, + null, + React.createElement( + TouchableOpacity, + { testID: dateTestID, onPress: () => setValue(FIXED) }, + React.createElement(Text, null, 'pick-date') + ), + React.createElement( + TouchableOpacity, + { testID: timeTestID, onPress: () => setValue(FIXED) }, + React.createElement(Text, null, 'pick-time') + ) + ), + } +}) + +import React from 'react' +import { Alert } from 'react-native' +import { fireEvent, screen, waitFor } from '@testing-library/react-native' + +import AddSlot from '@/app/(drawer)/dashboard/slots/add' +import { setupApiMocks, resetStorage } from '../mocks/api' +import { resetStaffAuthMock } from '../mocks/staff-auth' +import { expectProcedureCalled, lastProcedureInput, procCount } from '../mocks/procedures' +import { routerMock, searchParamsMock } from '../mocks/router' +import { renderWithProviders } from '../helpers/render' + +const procedures = { + 'admin.slots.getAll': { slots: [], count: 0 }, + 'admin.slots.createSlot': { + slot: { id: 10 }, + createdSnippets: [], + message: 'Slot created successfully', + }, + 'admin.slots.getSlotById': { + slot: { + id: 5, + deliveryTime: '2026-09-30T10:00:00.000Z', + freezeTime: '2026-09-30T06:00:00.000Z', + isActive: true, + isCapacityFull: false, + products: [{ id: 11, name: 'Chicken' }], + groupIds: [3], + vendorSnippets: [], + }, + }, +} + +describe('Add slot', () => { + beforeEach(async () => { + resetStaffAuthMock() + await resetStorage() + searchParamsMock.current = {} + setupApiMocks({ procedures }) + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + routerMock.push.mockClear() + routerMock.back.mockClear() + }) + + it('renders an empty create form and does not load a base slot', async () => { + const { fetchMock } = setupApiMocks({ procedures }) + + renderWithProviders() + + expect(await screen.findByText('Create New Slot')).toBeVisible() + await waitFor(() => expectProcedureCalled(fetchMock, 'admin.slots.getAll')) + expect(procCount(fetchMock, 'admin.slots.getSlotById')).toBe(0) + }) + + it('shows a loader while the base slot is loading', () => { + searchParamsMock.current = { baseslot: '5' } + const { fetchMock } = setupApiMocks({ procedures }) + const original = fetchMock.getMockImplementation()! + fetchMock.mockImplementation((url: any, options: any) => + String(url).includes('admin.slots.getSlotById') + ? new Promise(() => {}) + : original(url, options) + ) + + renderWithProviders() + + expect(screen.getByText('Loading base slot...')).toBeVisible() + }) + + it('prefills from the base slot and goes back after creating', async () => { + searchParamsMock.current = { baseslot: '5' } + const { fetchMock } = setupApiMocks({ procedures }) + + renderWithProviders() + + expect(await screen.findByText('Create New Slot')).toBeVisible() + expectProcedureCalled(fetchMock, 'admin.slots.getSlotById') + expect(lastProcedureInput(fetchMock, 'admin.slots.getSlotById')).toEqual({ + id: 5, + }) + + fireEvent.press(screen.getByTestId('delivery-date-picker')) + fireEvent.press(screen.getByTestId('freeze-date-picker')) + fireEvent.press(screen.getByTestId('create-slot-button')) + + await waitFor(() => expectProcedureCalled(fetchMock, 'admin.slots.createSlot')) + + expect(lastProcedureInput(fetchMock, 'admin.slots.createSlot')).toMatchObject({ + skuIds: [11], + groupIds: [3], + }) + await waitFor(() => expect(routerMock.back).toHaveBeenCalled()) + await waitFor(() => + expect(procCount(fetchMock, 'admin.slots.getAll')).toBeGreaterThan(1) + ) + }) +}) diff --git a/apps/admin-ui/tests/screens/slots-edit.test.tsx b/apps/admin-ui/tests/screens/slots-edit.test.tsx new file mode 100644 index 0000000..5f852ba --- /dev/null +++ b/apps/admin-ui/tests/screens/slots-edit.test.tsx @@ -0,0 +1,110 @@ +/** + * Edit slot screen (app/(drawer)/dashboard/slots/edit/[id].tsx) — prefill, + * not-found/loading states and the update -> back flow. + */ + +jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + +import React from 'react' +import { Alert } from 'react-native' +import { fireEvent, screen, waitFor } from '@testing-library/react-native' + +import EditSlot from '@/app/(drawer)/dashboard/slots/edit/[id]' +import { setupApiMocks, resetStorage } from '../mocks/api' +import { resetStaffAuthMock } from '../mocks/staff-auth' +import { expectProcedureCalled, lastProcedureInput } from '../mocks/procedures' +import { routerMock, searchParamsMock } from '../mocks/router' +import { renderWithProviders } from '../helpers/render' + +const slot = { + id: 7, + deliveryTime: '2026-10-01T10:00:00.000Z', + freezeTime: '2026-10-01T06:00:00.000Z', + isActive: true, + isCapacityFull: false, + products: [{ id: 11, name: 'Chicken' }], + groupIds: [2], + vendorSnippets: [], +} + +const procedures = { + 'admin.slots.getSlotById': { slot }, + 'admin.slots.updateSlot': { + slot: { id: 7 }, + createdSnippets: [], + message: 'Slot updated successfully', + }, +} + +describe('Edit slot', () => { + beforeEach(async () => { + resetStaffAuthMock() + await resetStorage() + searchParamsMock.current = { id: '7' } + setupApiMocks({ procedures }) + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + routerMock.back.mockClear() + }) + + it('shows a loader while the slot is loading', () => { + const { fetchMock } = setupApiMocks({ procedures }) + fetchMock.mockImplementation(() => new Promise(() => {})) + + renderWithProviders() + + expect(screen.getByText('Loading slot...')).toBeVisible() + }) + + it('shows not-found when the slot does not exist', async () => { + setupApiMocks({ procedures: { 'admin.slots.getSlotById': null } }) + + renderWithProviders() + + expect(await screen.findByText('Slot not found')).toBeVisible() + }) + + it('submits the update and navigates back on success', async () => { + const { fetchMock } = setupApiMocks({ procedures }) + + renderWithProviders() + + expect(await screen.findByText('Edit Slot')).toBeVisible() + + fireEvent.press(screen.getByTestId('create-slot-button')) + + await waitFor(() => + expectProcedureCalled(fetchMock, 'admin.slots.updateSlot') + ) + + expect(lastProcedureInput(fetchMock, 'admin.slots.updateSlot')).toEqual({ + id: 7, + deliveryTime: '2026-10-01T10:00:00.000Z', + freezeTime: '2026-10-01T06:00:00.000Z', + isActive: true, + groupIds: [2], + skuIds: [11], + vendorSnippets: [], + }) + await waitFor(() => expect(routerMock.back).toHaveBeenCalled()) + expect(Alert.alert).toHaveBeenCalledWith('Success', 'Slot updated successfully!') + }) + + it('surfaces an update error', async () => { + const { fetchMock } = setupApiMocks({ procedures }) + const original = fetchMock.getMockImplementation()! + fetchMock.mockImplementation((url: any, options: any) => + String(url).includes('admin.slots.updateSlot') + ? Promise.reject(new Error('Unable to Update Slot')) + : original(url, options) + ) + + renderWithProviders() + await screen.findByText('Edit Slot') + + fireEvent.press(screen.getByTestId('create-slot-button')) + + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith('Error', 'Unable to Update Slot') + ) + }) +}) diff --git a/apps/admin-ui/tests/screens/slots-index.test.tsx b/apps/admin-ui/tests/screens/slots-index.test.tsx new file mode 100644 index 0000000..f601f90 --- /dev/null +++ b/apps/admin-ui/tests/screens/slots-index.test.tsx @@ -0,0 +1,153 @@ +/** + * Slots list screen (app/(drawer)/dashboard/slots/index.tsx) — rendering, + * empty/loading/error states, capacity toggle mutation and navigation. + */ + +jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + +import React from 'react' +import { Alert } from 'react-native' +import { fireEvent, screen, waitFor } from '@testing-library/react-native' +import { Entypo } from '@expo/vector-icons' + +import Slots from '@/app/(drawer)/dashboard/slots/index' +import { setupApiMocks, resetStorage } from '../mocks/api' +import { resetStaffAuthMock } from '../mocks/staff-auth' +import { + expectProcedureCalled, + lastProcedureInput, + procCount, +} from '../mocks/procedures' +import { routerMock, searchParamsMock } from '../mocks/router' +import { renderWithProviders } from '../helpers/render' + +const slot1 = { + id: 1, + deliveryTime: '2026-10-01T10:00:00.000Z', + freezeTime: '2026-10-01T06:00:00.000Z', + isActive: true, + isFlash: false, + isCapacityFull: false, + deliverySequence: [], + groupIds: [], + products: [ + { id: 11, name: 'Chicken' }, + { id: 12, name: 'Mutton' }, + { id: 13, name: 'Fish' }, + ], +} + +const slot2 = { + id: 2, + deliveryTime: '2026-10-02T10:00:00.000Z', + freezeTime: '2026-10-02T06:00:00.000Z', + isActive: false, + isFlash: false, + isCapacityFull: true, + deliverySequence: [], + groupIds: [], + products: [], +} + +const procedures = { + 'admin.slots.getAll': { slots: [slot1, slot2], count: 2 }, + 'admin.slots.updateSlotCapacity': { + success: true, + slot: slot1, + message: 'updated', + }, +} + +describe('Slots list', () => { + beforeEach(async () => { + resetStaffAuthMock() + await resetStorage() + searchParamsMock.current = {} + setupApiMocks({ procedures }) + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + routerMock.push.mockClear() + }) + + it('shows a loading state while the query is pending', () => { + const { fetchMock } = setupApiMocks({ procedures }) + fetchMock.mockImplementation(() => new Promise(() => {})) + + renderWithProviders() + + expect(screen.getByText('Loading slots...')).toBeVisible() + }) + + it('renders slot rows with products and status', async () => { + renderWithProviders() + + expect(await screen.findByText('Slot #1')).toBeVisible() + expect(screen.getByText('Slot #2')).toBeVisible() + + expect(screen.getByText('Active')).toBeVisible() + expect(screen.getByText('Inactive')).toBeVisible() + expect(screen.getByText('FULL')).toBeVisible() + + expect(screen.getByText('Chicken, Mutton')).toBeVisible() + expect(screen.getByText('+1 more')).toBeVisible() + }) + + it('renders nothing when there are no slots', async () => { + setupApiMocks({ procedures: { 'admin.slots.getAll': { slots: [], count: 0 } } }) + renderWithProviders() + + await waitFor(() => + expectProcedureCalled( + (global as any).fetch, + 'admin.slots.getAll' + ) + ) + expect(screen.queryByText(/Slot #/)).toBeNull() + }) + + it('navigates to add, edit and details', async () => { + renderWithProviders() + await screen.findByText('Slot #1') + + fireEvent.press(screen.getByTestId('add-slot-fab')) + expect(routerMock.push).toHaveBeenCalledWith('/(drawer)/dashboard/slots/add') + + fireEvent.press(screen.getAllByText('Edit')[0]) + expect(routerMock.push).toHaveBeenCalledWith('/(drawer)/dashboard/slots/edit/1') + + fireEvent.press(screen.getByText('Slot #1')) + expect(routerMock.push).toHaveBeenCalledWith( + '/(drawer)/dashboard/slots/slot-details?slotId=1' + ) + }) + + it('toggles capacity through the row action menu', async () => { + const { fetchMock } = setupApiMocks({ procedures }) + renderWithProviders() + await screen.findByText('Slot #1') + + const dots = screen.UNSAFE_getAllByType(Entypo) + expect(dots.length).toBeGreaterThan(0) + fireEvent.press(dots[0]) + + const checkbox = await screen.findByRole('checkbox') + fireEvent.press(checkbox) + + await waitFor(() => + expectProcedureCalled(fetchMock, 'admin.slots.updateSlotCapacity') + ) + + expect(lastProcedureInput(fetchMock, 'admin.slots.updateSlotCapacity')).toEqual({ + slotId: 1, + isCapacityFull: true, + }) + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith( + 'Success', + 'Slot marked as full capacity. It will be hidden from users.' + ) + ) + await waitFor(() => + expect(procCount(fetchMock, 'admin.slots.getAll')).toBeGreaterThan(1) + ) + }) +}) diff --git a/apps/admin-ui/tests/screens/stores-add.test.tsx b/apps/admin-ui/tests/screens/stores-add.test.tsx new file mode 100644 index 0000000..0deb023 --- /dev/null +++ b/apps/admin-ui/tests/screens/stores-add.test.tsx @@ -0,0 +1,108 @@ +/** + * Add store screen (app/(drawer)/dashboard/stores/add.tsx) — create mutation, + * owner selection, success navigation and the owner-0 validation gap. + */ + +jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + +import React from 'react' +import { Alert } from 'react-native' +import { fireEvent, screen, waitFor } from '@testing-library/react-native' + +import AddStore from '@/app/(drawer)/dashboard/stores/add' +import { setupApiMocks, resetStorage } from '../mocks/api' +import { resetStaffAuthMock } from '../mocks/staff-auth' +import { expectProcedureCalled, lastProcedureInput } from '../mocks/procedures' +import { routerMock, searchParamsMock } from '../mocks/router' +import { renderWithProviders } from '../helpers/render' + +const procedures = { + 'admin.staffUser.getStaff': { + staff: [{ id: 1, name: 'shafi', role: null, permissions: [] }], + }, + 'admin.product.getProducts': { products: [], count: 0 }, + 'common.product.getAllSkusSummary': { skus: [] }, + 'admin.store.createStore': { + store: { id: 9, name: 'Freshyo Test' }, + message: 'Store created successfully', + }, + 'admin.store.getStores': { stores: [], count: 0 }, +} + +describe('Add store', () => { + beforeEach(async () => { + resetStaffAuthMock() + await resetStorage() + searchParamsMock.current = {} + setupApiMocks({ procedures }) + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + routerMock.push.mockClear() + }) + + it('renders the create form', async () => { + const { fetchMock } = setupApiMocks({ procedures }) + + renderWithProviders() + + expect(screen.getByText('Add New Store')).toBeVisible() + expect(screen.getByPlaceholderText('Enter store name')).toBeVisible() + expect(screen.getByText('Create Store')).toBeVisible() + + await waitFor(() => expectProcedureCalled(fetchMock, 'admin.staffUser.getStaff')) + expectProcedureCalled(fetchMock, 'admin.product.getProducts') + }) + + it('creates a store with the selected owner and navigates back to the list', async () => { + const { fetchMock } = setupApiMocks({ procedures }) + + renderWithProviders() + + fireEvent.changeText( + screen.getByPlaceholderText('Enter store name'), + 'Freshyo Test' + ) + + fireEvent.press(screen.getByText('Select owner')) + fireEvent.press(await screen.findByText('shafi')) + + fireEvent.press(screen.getByText('Create Store')) + + await waitFor(() => + expectProcedureCalled(fetchMock, 'admin.store.createStore') + ) + expect(lastProcedureInput(fetchMock, 'admin.store.createStore')).toEqual({ + name: 'Freshyo Test', + description: '', + owner: 1, + products: [], + }) + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith('Success', 'Store created successfully') + ) + await waitFor(() => + expect(routerMock.push).toHaveBeenCalledWith('/(drawer)/dashboard/stores') + ) + await waitFor(() => + expectProcedureCalled(fetchMock, 'admin.store.getStores') + ) + }) + + it('BUG: submits owner=0 when no owner is selected', async () => { + const { fetchMock } = setupApiMocks({ procedures }) + + renderWithProviders() + + fireEvent.changeText( + screen.getByPlaceholderText('Enter store name'), + 'No Owner Store' + ) + fireEvent.press(screen.getByText('Create Store')) + + await waitFor(() => + expectProcedureCalled(fetchMock, 'admin.store.createStore') + ) + expect(lastProcedureInput(fetchMock, 'admin.store.createStore')).toMatchObject({ + owner: 0, + }) + }) +}) diff --git a/apps/admin-ui/tests/screens/stores-edit.test.tsx b/apps/admin-ui/tests/screens/stores-edit.test.tsx new file mode 100644 index 0000000..1070b30 --- /dev/null +++ b/apps/admin-ui/tests/screens/stores-edit.test.tsx @@ -0,0 +1,172 @@ +/** + * Edit store screen (app/(drawer)/dashboard/stores/edit.tsx) — prefill, + * not-found/loading states and the update -> list flow. + */ + +jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + +import React from 'react' +import { Alert } from 'react-native' +import { fireEvent, screen, waitFor } from '@testing-library/react-native' + +import EditStore from '@/app/(drawer)/dashboard/stores/edit' +import { setupApiMocks, resetStorage } from '../mocks/api' +import { resetStaffAuthMock } from '../mocks/staff-auth' +import { + expectProcedureCalled, + lastProcedureInput, + procCount, +} from '../mocks/procedures' +import { routerMock, searchParamsMock } from '../mocks/router' +import { createQueryClient, renderWithProviders } from '../helpers/render' + +const store = { + id: 3, + name: 'Freshyo Edit', + description: 'Editable outlet', + imageUrl: 'https://cdn.freshyo.in/store.png', + owner: { id: 1, name: 'shafi' }, + createdAt: '2026-03-01T00:00:00.000Z', +} + +const procedures = { + 'admin.store.getStoreById': { store }, + 'admin.staffUser.getStaff': { + staff: [{ id: 1, name: 'shafi', role: null, permissions: [] }], + }, + 'admin.product.getProducts': { + products: [{ id: 1, name: 'Chicken', storeId: null, skus: [] }], + count: 1, + }, + 'common.product.getAllSkusSummary': { skus: [] }, + 'admin.store.updateStore': { + store: { id: 3 }, + message: 'Store updated successfully', + }, + 'admin.store.getStores': { stores: [], count: 0 }, +} + +describe('Edit store', () => { + beforeEach(async () => { + resetStaffAuthMock() + await resetStorage() + searchParamsMock.current = { id: '3' } + setupApiMocks({ procedures }) + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + routerMock.push.mockClear() + }) + + it('shows a loader while the store is loading', () => { + const { fetchMock } = setupApiMocks({ procedures }) + fetchMock.mockImplementation(() => new Promise(() => {})) + + renderWithProviders() + + expect(screen.getByText('Loading store...')).toBeVisible() + }) + + it('shows not-found when the store does not exist', async () => { + setupApiMocks({ procedures: { 'admin.store.getStoreById': null } }) + + renderWithProviders() + + expect(await screen.findByText('Store not found')).toBeVisible() + }) + + it('prefills the form and submits the update', async () => { + const { fetchMock } = setupApiMocks({ procedures }) + + renderWithProviders() + + expect(await screen.findByText('Edit Store')).toBeVisible() + expect(screen.getByDisplayValue('Freshyo Edit')).toBeVisible() + expect(screen.getByDisplayValue('Editable outlet')).toBeVisible() + expect(lastProcedureInput(fetchMock, 'admin.store.getStoreById')).toEqual({ id: 3 }) + + await waitFor(() => + expectProcedureCalled(fetchMock, 'admin.product.getProducts') + ) + + fireEvent.press(screen.getByText('Update Store')) + + await waitFor(() => + expectProcedureCalled(fetchMock, 'admin.store.updateStore') + ) + expect(lastProcedureInput(fetchMock, 'admin.store.updateStore')).toEqual({ + id: 3, + name: 'Freshyo Edit', + description: 'Editable outlet', + owner: 1, + products: [], + }) + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith('Success', 'Store updated successfully') + ) + await waitFor(() => + expect(routerMock.push).toHaveBeenCalledWith('/(drawer)/dashboard/stores') + ) + }) + + it('surfaces an update error', async () => { + const { fetchMock } = setupApiMocks({ procedures }) + const original = fetchMock.getMockImplementation()! + fetchMock.mockImplementation((url: any, options: any) => + String(url).includes('admin.store.updateStore') + ? Promise.reject(new Error('Failed to update store')) + : original(url, options) + ) + + renderWithProviders() + await screen.findByText('Edit Store') + await waitFor(() => + expectProcedureCalled(fetchMock, 'admin.product.getProducts') + ) + + fireEvent.press(screen.getByText('Update Store')) + + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith('Error', 'Failed to update store') + ) + }) + + it('refetches the mounted store and invalidates the stores list by array path after a successful update', async () => { + const { fetchMock } = setupApiMocks({ procedures }) + // The injected client is the one trpc.useUtils() acts on, so spying on it + // observes the real invalidation (spyOn keeps calling through). + const client = createQueryClient() + const invalidateSpy = jest.spyOn(client, 'invalidateQueries') + + renderWithProviders(, { queryClient: client }) + + expect(await screen.findByText('Edit Store')).toBeVisible() + await waitFor(() => + expectProcedureCalled(fetchMock, 'admin.product.getProducts') + ) + + // Baseline immediately before the interaction: the app shares one + // module-singleton httpBatchLink client, so counts can leak across cases + // in a full-file run — always assert a delta, never an absolute number. + const before = procCount(fetchMock, 'admin.store.getStoreById') + + fireEvent.press(screen.getByText('Update Store')) + + await waitFor(() => + expectProcedureCalled(fetchMock, 'admin.store.updateStore') + ) + + // (a) `refetch()` re-runs the getStoreById query this screen has mounted. + await waitFor(() => + expect(procCount(fetchMock, 'admin.store.getStoreById')).toBeGreaterThan( + before + ) + ) + + // (b) the list invalidation used the array query path, not the old dotted + // string: `queryClient.invalidateQueries({ queryKey: [['admin','store','getStores']] })`. + const paths = invalidateSpy.mock.calls.map((call) => { + const key = (call[0] as { queryKey?: unknown[] } | undefined)?.queryKey + return Array.isArray(key) ? key[0] : null + }) + expect(paths).toContainEqual(['admin', 'store', 'getStores']) + }) +}) diff --git a/apps/admin-ui/tests/screens/stores-index.test.tsx b/apps/admin-ui/tests/screens/stores-index.test.tsx new file mode 100644 index 0000000..d305d4d --- /dev/null +++ b/apps/admin-ui/tests/screens/stores-index.test.tsx @@ -0,0 +1,188 @@ +/** + * Stores list screen (app/(drawer)/dashboard/stores/index.tsx) — grid render, + * empty/loading/error states, edit-mode delete mutation and navigation. + */ + +jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + +import React from 'react' +import { Alert } from 'react-native' +import { act, fireEvent, screen, waitFor } from '@testing-library/react-native' +import { MaterialIcons } from '@expo/vector-icons' + +import Stores from '@/app/(drawer)/dashboard/stores/index' +import { setupApiMocks, resetStorage } from '../mocks/api' +import { resetStaffAuthMock } from '../mocks/staff-auth' +import { expectProcedureCalled, lastProcedureInput, procCount } from '../mocks/procedures' +import { routerMock, searchParamsMock } from '../mocks/router' +import { refreshHooks, resetRefreshHooks } from '../mocks/refresh' +import { renderWithProviders } from '../helpers/render' + +const store1 = { + id: 1, + name: 'Freshyo Kukatpally', + description: 'Main outlet', + imageUrl: null, + owner: 1, + createdAt: '2026-01-15T00:00:00.000Z', +} +const store2 = { + id: 2, + name: 'Freshyo Gachibowli', + description: null, + imageUrl: 'https://cdn.freshyo.in/store.png', + owner: 2, + createdAt: '2026-02-20T00:00:00.000Z', +} + +const procedures = { + 'admin.store.getStores': { stores: [store1, store2], count: 2 }, + 'admin.store.deleteStore': { message: 'Store deleted successfully' }, +} + +const iconByName = (name: string) => + screen.UNSAFE_getAllByType(MaterialIcons).find((i) => i.props.name === name) + +describe('Stores list', () => { + beforeEach(async () => { + resetStaffAuthMock() + await resetStorage() + resetRefreshHooks() + searchParamsMock.current = {} + setupApiMocks({ procedures }) + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + routerMock.push.mockClear() + }) + + it('shows a loading state', () => { + const { fetchMock } = setupApiMocks({ procedures }) + fetchMock.mockImplementation(() => new Promise(() => {})) + + renderWithProviders() + + expect(screen.getByText('Loading stores...')).toBeVisible() + }) + + it('shows an error state and retries', async () => { + const { fetchMock } = setupApiMocks({ procedures }) + fetchMock.mockRejectedValue(new Error('network down')) + + renderWithProviders() + + expect(await screen.findByText('Oops!')).toBeVisible() + expect(screen.getByText('Retry')).toBeVisible() + + const callsBefore = procCount(fetchMock, 'admin.store.getStores') + fireEvent.press(screen.getByText('Retry')) + await waitFor(() => + expect(procCount(fetchMock, 'admin.store.getStores')).toBeGreaterThan( + callsBefore + ) + ) + }) + + it('renders the store grid', async () => { + const { fetchMock } = setupApiMocks({ procedures }) + + renderWithProviders() + + expect(await screen.findByText('Freshyo Kukatpally')).toBeVisible() + expect(screen.getByText('Freshyo Gachibowli')).toBeVisible() + expect(screen.getByText('2 Locations')).toBeVisible() + expect(screen.getByText('ID: #1')).toBeVisible() + expect(screen.getAllByText('View Details')).toHaveLength(2) + expectProcedureCalled(fetchMock, 'admin.store.getStores') + }) + + it('renders the empty state', async () => { + setupApiMocks({ + procedures: { 'admin.store.getStores': { stores: [], count: 0 } }, + }) + + renderWithProviders() + + expect(await screen.findByText('No stores found')).toBeVisible() + expect(screen.getByText('0 Locations')).toBeVisible() + }) + + it('navigates to edit when a card is pressed', async () => { + setupApiMocks({ procedures }) + + renderWithProviders() + await screen.findByText('Freshyo Kukatpally') + + fireEvent.press(screen.getByText('Freshyo Kukatpally')) + + expect(routerMock.push).toHaveBeenCalledWith({ + pathname: '/(drawer)/dashboard/stores/edit', + params: { id: 1 }, + }) + }) + + it('navigates to add from the FAB', async () => { + setupApiMocks({ procedures }) + + renderWithProviders() + await screen.findByText('Freshyo Kukatpally') + + const addIcon = iconByName('add') + expect(addIcon).toBeTruthy() + fireEvent.press(addIcon!) + + expect(routerMock.push).toHaveBeenCalledWith( + '/(drawer)/dashboard/stores/add' + ) + }) + + it('deletes a store in edit mode and refetches', async () => { + const { fetchMock } = setupApiMocks({ procedures }) + const alertSpy = jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + + renderWithProviders() + await screen.findByText('Freshyo Kukatpally') + + fireEvent.press(screen.getByText('Edit')) + expect(screen.getByText('Done')).toBeVisible() + + const deleteIcon = iconByName('delete') + expect(deleteIcon).toBeTruthy() + fireEvent.press(deleteIcon!) + + expect(Alert.alert).toHaveBeenCalled() + const buttons = alertSpy.mock.calls.find( + (call) => call[0] === 'Delete Store' + )?.[2] as { text: string; onPress?: () => void }[] + expect(buttons?.map((b) => b.text)).toEqual(['Cancel', 'Delete']) + + act(() => { + buttons.find((b) => b.text === 'Delete')?.onPress?.() + }) + + await waitFor(() => + expectProcedureCalled(fetchMock, 'admin.store.deleteStore') + ) + expect(lastProcedureInput(fetchMock, 'admin.store.deleteStore')).toEqual({ + storeId: 1, + }) + await waitFor(() => + expect(Alert.alert).toHaveBeenCalledWith('Success', 'Store deleted successfully') + ) + await waitFor(() => + expect(procCount(fetchMock, 'admin.store.getStores')).toBeGreaterThan(1) + ) + }) + + it('refetches through the mark-data-fetchers callback', async () => { + const { fetchMock } = setupApiMocks({ procedures }) + + renderWithProviders() + await screen.findByText('Freshyo Kukatpally') + + expect(refreshHooks.markDataFetchers).toBeTruthy() + const before = procCount(fetchMock, 'admin.store.getStores') + refreshHooks.markDataFetchers?.() + await waitFor(() => + expect(procCount(fetchMock, 'admin.store.getStores')).toBeGreaterThan(before) + ) + }) +}) diff --git a/apps/admin-ui/tests/screens/user-management-detail.test.tsx b/apps/admin-ui/tests/screens/user-management-detail.test.tsx new file mode 100644 index 0000000..cbc733c --- /dev/null +++ b/apps/admin-ui/tests/screens/user-management-detail.test.tsx @@ -0,0 +1,248 @@ +/** + * User details (app/(drawer)/dashboard/user-management/[id].tsx) — detail + * rendering, suspension toggle, order history, navigation and error/retry. + * + * SCOPE NOTE: this screen has no notification UI or procedure (the only + * notification screen is app/(drawer)/dashboard/send-notifications, out of + * scope). "Incidents" is exercised through the embedded UserIncidentsView. + * + * HARNESS BUG WORKAROUND: tests/mocks/native.ts has a stray top-level `return` + * (line 89 → "'return' outside of function"). Re-mock the expo modules that + * `common-ui` eagerly imports locally. See report. + */ + +jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + +jest.mock('expo-image', () => { + const React = require('react') + const { View } = require('react-native') + const Image = (props: Record) => + React.createElement(View, { testID: 'mock-image', ...props }) + return { __esModule: true, Image, default: Image } +}) + +jest.mock('expo-image-picker', () => { + const asset = { uri: 'file:///tmp/pick.jpg', fileName: 'pick.jpg', mimeType: 'image/jpeg' } + return { + __esModule: true, + MediaTypeOptions: { Images: 'Images', All: 'All', Videos: 'Videos' }, + launchImageLibraryAsync: jest.fn(async () => ({ canceled: false, assets: [asset] })), + launchCameraAsync: jest.fn(async () => ({ canceled: false, assets: [asset] })), + requestMediaLibraryPermissionsAsync: jest.fn(async () => ({ granted: true, status: 'granted' })), + requestCameraPermissionsAsync: jest.fn(async () => ({ granted: true, status: 'granted' })), + } +}) + +jest.mock('expo-document-picker', () => ({ + __esModule: true, + getDocumentAsync: jest.fn(async () => ({ + canceled: false, + assets: [{ uri: 'file:///tmp/doc.pdf', name: 'doc.pdf', mimeType: 'application/pdf' }], + })), +})) + +import React from 'react' +import { Alert, TouchableOpacity } from 'react-native' +import { Checkbox } from 'common-ui' +import { fireEvent, screen, waitFor } from '@testing-library/react-native' + +import UserDetails from '@/app/(drawer)/dashboard/user-management/[id]' +import { resetStorage, setupApiMocks } from '../mocks/api' +import { expectProcedureCalled, lastProcedureInput, procCount } from '../mocks/procedures' +import { resetRouterMock, routerMock, searchParamsMock } from '../mocks/router' +import { resetStaffAuthMock } from '../mocks/staff-auth' +import { renderWithProviders } from '../helpers/render' + +const makeDetails = (overrides: Record = {}) => ({ + user: { + id: 3, + name: 'Alice', + mobile: '9999999999', + createdAt: '2026-01-01T10:00:00.000Z', + isSuspended: false, + }, + orders: [ + { + id: 11, + readableId: 11, + totalAmount: '500', + createdAt: '2026-02-01T10:00:00.000Z', + status: 'delivered', + isFlashDelivery: false, + itemCount: 2, + }, + { + id: 12, + readableId: 12, + totalAmount: '250', + createdAt: '2026-02-02T10:00:00.000Z', + status: 'pending', + isFlashDelivery: true, + itemCount: 1, + }, + ], + ...overrides, +}) + +const procedures = (overrides: Record = {}) => ({ + 'admin.user.getUserDetails': makeDetails(), + 'admin.user.updateUserSuspension': { success: true, message: 'ok' }, + 'admin.user.getUserIncidents': { incidents: [] }, + ...overrides, +}) + +const renderDetails = (overrides: Record = {}) => { + const { fetchMock } = setupApiMocks({ procedures: procedures(overrides) }) + renderWithProviders() + return { fetchMock } +} + +describe('User details', () => { + beforeEach(async () => { + resetStaffAuthMock() + await resetStorage() + resetRouterMock() + searchParamsMock.current = { id: '3' } + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + }) + + it('shows a loading state while the details are pending', () => { + setupApiMocks({ + procedures: { 'admin.user.getUserDetails': () => new Promise(() => {}) }, + }) + renderWithProviders() + + expect(screen.getByText('Loading user details...')).toBeVisible() + }) + + it('queries the user with the route id', async () => { + const { fetchMock } = renderDetails() + + await waitFor(() => expect(screen.getByText('User Details')).toBeVisible()) + expect(lastProcedureInput(fetchMock, 'admin.user.getUserDetails')).toEqual({ userId: 3 }) + }) + + it('renders the user info and order history', async () => { + renderDetails() + + await waitFor(() => expect(screen.getByText('User Details')).toBeVisible()) + expect(screen.getByText('9999999999')).toBeVisible() + expect(screen.getByText('Alice')).toBeVisible() + expect(screen.getByText('Order History')).toBeVisible() + expect(screen.getByText('2 orders')).toBeVisible() + expect(screen.getByText('#11')).toBeVisible() + expect(screen.getByText('#12')).toBeVisible() + expect(screen.getByText('₹500')).toBeVisible() + expect(screen.getByText('2 items')).toBeVisible() + expect(screen.getByText('1 item')).toBeVisible() + expect(screen.getByText('delivered')).toBeVisible() + expect(screen.getByText('pending')).toBeVisible() + expect(screen.getByText(/Registered/)).toBeVisible() + }) + + it('renders an empty order history', async () => { + renderDetails({ 'admin.user.getUserDetails': makeDetails({ orders: [] }) }) + + await waitFor(() => expect(screen.getByText('No orders yet')).toBeVisible()) + }) + + it('renders the suspended badge when the user is suspended', async () => { + renderDetails({ + 'admin.user.getUserDetails': makeDetails({ + user: { ...makeDetails().user, isSuspended: true }, + }), + }) + + await waitFor(() => expect(screen.getByText('Suspended')).toBeVisible()) + }) + + it('suspends the user through the checkbox and refetches', async () => { + const { fetchMock } = renderDetails() + + await waitFor(() => expect(screen.getByText('User Details')).toBeVisible()) + const before = procCount(fetchMock, 'admin.user.getUserDetails') + + fireEvent.press(screen.UNSAFE_getByType(Checkbox as never)) + + await waitFor(() => + expectProcedureCalled(fetchMock, 'admin.user.updateUserSuspension') + ) + expect(lastProcedureInput(fetchMock, 'admin.user.updateUserSuspension')).toEqual({ + userId: 3, + isSuspended: true, + }) + await waitFor(() => + expect(procCount(fetchMock, 'admin.user.getUserDetails')).toBeGreaterThan(before) + ) + }) + + it('unsuspends an already suspended user', async () => { + const { fetchMock } = renderDetails({ + 'admin.user.getUserDetails': makeDetails({ + user: { ...makeDetails().user, isSuspended: true }, + }), + }) + + await waitFor(() => expect(screen.getByText('Suspended')).toBeVisible()) + fireEvent.press(screen.UNSAFE_getByType(Checkbox as never)) + + await waitFor(() => + expect(lastProcedureInput(fetchMock, 'admin.user.updateUserSuspension')).toEqual({ + userId: 3, + isSuspended: false, + }) + ) + }) + + it('shows the error state when the query fails and refetches on Retry', async () => { + const { fetchMock } = renderDetails({ + 'admin.user.getUserDetails': () => { + throw new Error('boom') + }, + }) + + await waitFor(() => expect(screen.getByText('Error')).toBeVisible()) + expect(screen.getByText('boom')).toBeVisible() + + const before = procCount(fetchMock, 'admin.user.getUserDetails') + fireEvent.press(screen.getByText('Retry')) + + await waitFor(() => + expect(procCount(fetchMock, 'admin.user.getUserDetails')).toBeGreaterThan(before) + ) + }) + + it('shows the default error message when there is no data', async () => { + renderDetails({ 'admin.user.getUserDetails': null }) + + await waitFor(() => + expect(screen.getByText('Failed to load user details')).toBeVisible() + ) + }) + + it('navigates to an order and back', async () => { + renderDetails() + + await waitFor(() => expect(screen.getByText('#11')).toBeVisible()) + + fireEvent.press(screen.getByText('#11')) + expect(routerMock.push).toHaveBeenCalledWith( + '/(drawer)/dashboard/manage-orders/order-details/11' + ) + + const back = screen.UNSAFE_getAllByType(TouchableOpacity)[0] + fireEvent.press(back) + expect(routerMock.back).toHaveBeenCalled() + }) + + it('passes the route user id to the incidents view', async () => { + const { fetchMock } = renderDetails() + + await waitFor(() => + expectProcedureCalled(fetchMock, 'admin.user.getUserIncidents') + ) + expect(lastProcedureInput(fetchMock, 'admin.user.getUserIncidents')).toEqual({ + userId: 3, + }) + }) +}) diff --git a/apps/admin-ui/tests/screens/user-management-index.test.tsx b/apps/admin-ui/tests/screens/user-management-index.test.tsx new file mode 100644 index 0000000..f4a7611 --- /dev/null +++ b/apps/admin-ui/tests/screens/user-management-index.test.tsx @@ -0,0 +1,211 @@ +/** + * User management list (app/(drawer)/dashboard/user-management/index.tsx) — + * infinite list, search, rows, empty/error/loading, pagination and navigation. + * + * HARNESS BUG WORKAROUND: tests/mocks/native.ts has a stray top-level `return` + * (line 89 → "'return' outside of function"). Re-mock the three expo modules + * that `common-ui` eagerly imports, without touching the harness. See report. + */ + +jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + +jest.mock('expo-image', () => { + const React = require('react') + const { View } = require('react-native') + const Image = (props: Record) => + React.createElement(View, { testID: 'mock-image', ...props }) + return { __esModule: true, Image, default: Image } +}) + +jest.mock('expo-image-picker', () => { + const asset = { uri: 'file:///tmp/pick.jpg', fileName: 'pick.jpg', mimeType: 'image/jpeg' } + return { + __esModule: true, + MediaTypeOptions: { Images: 'Images', All: 'All', Videos: 'Videos' }, + launchImageLibraryAsync: jest.fn(async () => ({ canceled: false, assets: [asset] })), + launchCameraAsync: jest.fn(async () => ({ canceled: false, assets: [asset] })), + requestMediaLibraryPermissionsAsync: jest.fn(async () => ({ granted: true, status: 'granted' })), + requestCameraPermissionsAsync: jest.fn(async () => ({ granted: true, status: 'granted' })), + } +}) + +jest.mock('expo-document-picker', () => ({ + __esModule: true, + getDocumentAsync: jest.fn(async () => ({ + canceled: false, + assets: [{ uri: 'file:///tmp/doc.pdf', name: 'doc.pdf', mimeType: 'application/pdf' }], + })), +})) + +import React from 'react' +import { Alert, FlatList } from 'react-native' +import { act, fireEvent, screen, waitFor } from '@testing-library/react-native' + +import UserManagement from '@/app/(drawer)/dashboard/user-management/index' +import { resetStorage, setupApiMocks } from '../mocks/api' +import { lastProcedureInput, procCount } from '../mocks/procedures' +import { resetRouterMock, routerMock, searchParamsMock } from '../mocks/router' +import { resetRefreshHooks } from '../mocks/refresh' +import { resetStaffAuthMock } from '../mocks/staff-auth' +import { renderWithProviders } from '../helpers/render' + +const alice = { + id: 3, + name: 'Alice', + mobile: '9999999999', + createdAt: '2026-01-01T10:00:00.000Z', + totalOrders: 4, + lastOrderDate: '2026-02-01T10:00:00.000Z', + isSuspended: false, +} + +const bob = { + id: 4, + name: null, + mobile: '8888888888', + createdAt: '2026-01-15T10:00:00.000Z', + totalOrders: 0, + lastOrderDate: null, + isSuspended: true, +} + +const page = (users: unknown[], nextCursor?: number) => ({ + users, + nextCursor, + hasMore: nextCursor != null, +}) + +describe('User management list', () => { + beforeEach(async () => { + resetStaffAuthMock() + resetRefreshHooks() + await resetStorage() + resetRouterMock() + searchParamsMock.current = {} + setupApiMocks() + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + }) + + it('shows a loading state while the list query is pending', () => { + setupApiMocks({ + procedures: { 'admin.user.getAllUsers': () => new Promise(() => {}) }, + }) + renderWithProviders() + + expect(screen.getByText('Loading users...')).toBeVisible() + }) + + it('renders rows with mobile, name, order stats and suspension badge', async () => { + setupApiMocks({ + procedures: { 'admin.user.getAllUsers': page([alice, bob]) }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('9999999999')).toBeVisible()) + expect(screen.getByText('8888888888')).toBeVisible() + expect(screen.getByText('Alice')).toBeVisible() + expect(screen.getByText('Unnamed User')).toBeVisible() + expect(screen.getByText('4 orders')).toBeVisible() + expect(screen.getByText('0 orders')).toBeVisible() + expect(screen.getByText('Suspended')).toBeVisible() + expect(screen.getByText('Showing 2 users')).toBeVisible() + }) + + it('shows the empty state when there are no users', async () => { + setupApiMocks({ procedures: { 'admin.user.getAllUsers': page([]) } }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('No users found')).toBeVisible()) + expect(screen.queryByText('Try adjusting your search')).toBeNull() + }) + + it('hints to adjust the search when the search has no matches', async () => { + setupApiMocks({ procedures: { 'admin.user.getAllUsers': page([]) } }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('No users found')).toBeVisible()) + + fireEvent.changeText( + screen.getByPlaceholderText('Search by mobile number...'), + '0000' + ) + + expect(await screen.findByText('Try adjusting your search')).toBeVisible() + }) + + it('shows the error state and refetches on Retry', async () => { + const api = setupApiMocks({ + procedures: { + 'admin.user.getAllUsers': () => { + throw new Error('boom') + }, + }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('Error')).toBeVisible()) + + const before = procCount(api.fetchMock, 'admin.user.getAllUsers') + fireEvent.press(screen.getByText('Retry')) + + await waitFor(() => + expect(procCount(api.fetchMock, 'admin.user.getAllUsers')).toBeGreaterThan(before) + ) + }) + + it('sends the search term to getAllUsers', async () => { + const api = setupApiMocks({ + procedures: { 'admin.user.getAllUsers': page([alice]) }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('9999999999')).toBeVisible()) + + fireEvent.changeText( + screen.getByPlaceholderText('Search by mobile number...'), + '8888' + ) + + await waitFor(() => + expect(lastProcedureInput(api.fetchMock, 'admin.user.getAllUsers')).toMatchObject({ + limit: 30, + search: '8888', + }) + ) + }) + + it('navigates to the user detail screen from a row', async () => { + setupApiMocks({ + procedures: { 'admin.user.getAllUsers': page([alice, bob]) }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('9999999999')).toBeVisible()) + + fireEvent.press(screen.getByText('9999999999')) + expect(routerMock.push).toHaveBeenCalledWith('/(drawer)/dashboard/user-management/3') + + fireEvent.press(screen.getByText('8888888888')) + expect(routerMock.push).toHaveBeenCalledWith('/(drawer)/dashboard/user-management/4') + }) + + it('fetches the next page when the list end is reached', async () => { + const api = setupApiMocks({ + procedures: { + 'admin.user.getAllUsers': (input: { cursor?: number }) => + input?.cursor ? page([{ ...alice, id: 9, mobile: '7777777777' }]) : page([alice], 100), + }, + }) + renderWithProviders() + + await screen.findByText('9999999999') + const list = screen.UNSAFE_getByType(FlatList as never) + act(() => list.props.onEndReached()) + + expect(await screen.findByText('7777777777')).toBeVisible() + expect(lastProcedureInput(api.fetchMock, 'admin.user.getAllUsers')).toMatchObject({ + limit: 30, + cursor: 100, + }) + }) +}) diff --git a/apps/admin-ui/tests/screens/vendor-snippets-index.test.tsx b/apps/admin-ui/tests/screens/vendor-snippets-index.test.tsx new file mode 100644 index 0000000..5820905 --- /dev/null +++ b/apps/admin-ui/tests/screens/vendor-snippets-index.test.tsx @@ -0,0 +1,251 @@ +/** + * Vendor snippets list (app/(drawer)/dashboard/vendor-snippets/index.tsx) — + * list rows with expiry status, empty/loading/error states, share link, the + * per-row options menu (edit / delete / view orders) and FAB create flow. + */ + +jest.mock('expo-router', () => require('../mocks/router').expoRouterMock()) + +import React from 'react' +import { Alert, Share, TouchableOpacity } from 'react-native' +import { act, fireEvent, screen, waitFor } from '@testing-library/react-native' +import MaterialIcons from '@expo/vector-icons/MaterialIcons' + +import VendorSnippets from '@/app/(drawer)/dashboard/vendor-snippets/index' +import { resetStorage, setupApiMocks } from '../mocks/api' +import { + expectProcedureCalled, + lastProcedureInput, + procCount, +} from '../mocks/procedures' +import { renderWithProviders } from '../helpers/render' + +const snippet = (overrides: Record = {}) => ({ + id: 1, + snippetCode: 'VS_1', + slotId: 2, + isPermanent: false, + skuIds: [10, 11], + products: [ + { id: 10, name: 'Chicken' }, + { id: 11, name: 'Mutton' }, + ], + validTill: '2027-01-01T00:00:00.000Z', + createdAt: '2026-01-01T00:00:00.000Z', + accessUrl: 'https://app.freshyo.in/vendor-order-list?id=VS_1', + slot: { + id: 2, + deliveryTime: '2026-12-31T10:00:00.000Z', + freezeTime: '2026-12-30T10:00:00.000Z', + isActive: true, + deliverySequence: 1, + }, + ...overrides, +}) + +const order = { + orderId: 'ORD1', + orderDate: '2026-01-02T09:00:00.000Z', + customerName: 'Alice', + totalAmount: 100, + slotInfo: { time: '2026-01-03T10:00:00.000Z', sequence: [] }, + snippetCode: 'VS_1', + matchedProducts: [10], + products: [ + { productId: 10, productName: 'Chicken', quantity: 2, price: 50, unit: 'kg', subtotal: 100 }, + ], +} + +const openFirstMenu = (result: ReturnType) => { + fireEvent.press(result.UNSAFE_getAllByType(TouchableOpacity)[0]) +} + +const pressLastAlertButton = (label: string) => { + const calls = (Alert.alert as jest.Mock).mock.calls + const call = calls[calls.length - 1] + const buttons = (call?.[2] ?? []) as { text: string; onPress?: () => void }[] + act(() => buttons.find((b) => b.text === label)?.onPress?.()) +} + +describe('Vendor snippets list', () => { + beforeEach(async () => { + await resetStorage() + setupApiMocks() + jest.spyOn(Alert, 'alert').mockImplementation(() => {}) + jest.spyOn(Share, 'share').mockResolvedValue({ action: Share.sharedAction } as never) + }) + + it('shows the loading state while the query is pending', () => { + setupApiMocks({ + procedures: { 'admin.vendorSnippets.getAll': () => new Promise(() => {}) }, + }) + renderWithProviders() + + expect(screen.getByText('Loading vendor snippets...')).toBeVisible() + }) + + it('shows the error state when the query fails', async () => { + setupApiMocks({ + procedures: { + 'admin.vendorSnippets.getAll': () => { + throw new Error('boom') + }, + }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('Error loading snippets')).toBeVisible()) + }) + + it('shows the empty state when there are no snippets', async () => { + setupApiMocks({ + procedures: { 'admin.vendorSnippets.getAll': [] }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('No Snippets Yet')).toBeVisible()) + }) + + it('renders snippet rows with status and item count', async () => { + setupApiMocks({ + procedures: { + 'admin.vendorSnippets.getAll': [ + snippet(), + snippet({ + id: 2, + snippetCode: 'VS_EXPIRED', + isPermanent: true, + validTill: '2020-01-01T00:00:00.000Z', + slot: null, + }), + ], + }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('VS_1')).toBeVisible()) + expect(screen.getByText('VS_EXPIRED')).toBeVisible() + expect(screen.getByText('Active')).toBeVisible() + expect(screen.getByText('Expired')).toBeVisible() + expect(screen.getByText('Permanent')).toBeVisible() + expect(screen.getByText('Always Active')).toBeVisible() + expect(screen.getAllByText('2 Items')).toHaveLength(2) + }) + + it('shares the snippet access link', async () => { + setupApiMocks({ + procedures: { 'admin.vendorSnippets.getAll': [snippet()] }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('VS_1')).toBeVisible()) + fireEvent.press(screen.getByText('Share')) + + await waitFor(() => + expect(Share.share).toHaveBeenCalledWith({ + message: 'https://app.freshyo.in/vendor-order-list?id=VS_1', + }) + ) + }) + + it('warns instead of sharing when the link is missing', async () => { + setupApiMocks({ + procedures: { + 'admin.vendorSnippets.getAll': [snippet({ accessUrl: undefined })], + }, + }) + renderWithProviders() + + await waitFor(() => expect(screen.getByText('VS_1')).toBeVisible()) + fireEvent.press(screen.getByText('Share')) + + expect(Alert.alert).toHaveBeenCalledWith('Error', 'No link available') + expect(Share.share).not.toHaveBeenCalled() + }) + + it('opens the create form from the FAB', async () => { + setupApiMocks({ + procedures: { 'admin.vendorSnippets.getAll': [snippet()] }, + }) + const result = renderWithProviders() + + await waitFor(() => expect(screen.getByText('VS_1')).toBeVisible()) + const addIcon = result.UNSAFE_getAllByType(MaterialIcons).find( + (node) => node.props.name === 'add' + )! + fireEvent.press(addIcon) + + expect(await screen.findByText('Create Vendor Snippet')).toBeVisible() + }) + + it('deletes a snippet through the row menu', async () => { + const api = setupApiMocks({ + procedures: { + 'admin.vendorSnippets.getAll': [snippet()], + 'admin.vendorSnippets.delete': { message: 'Vendor snippet deleted successfully' }, + }, + }) + const result = renderWithProviders() + + await waitFor(() => expect(screen.getByText('VS_1')).toBeVisible()) + openFirstMenu(result) + fireEvent.press(await screen.findByText('Delete')) + pressLastAlertButton('Delete') + + await waitFor(() => expectProcedureCalled(api.fetchMock, 'admin.vendorSnippets.delete')) + expect(lastProcedureInput(api.fetchMock, 'admin.vendorSnippets.delete')).toEqual({ id: 1 }) + }) + + it('loads the matched orders through the row menu', async () => { + const api = setupApiMocks({ + procedures: { + 'admin.vendorSnippets.getAll': [snippet()], + 'admin.vendorSnippets.getOrdersBySnippet': { + success: true, + data: [order], + snippet: snippet(), + }, + }, + }) + const result = renderWithProviders() + + await waitFor(() => expect(screen.getByText('VS_1')).toBeVisible()) + openFirstMenu(result) + fireEvent.press(await screen.findByText('View Orders')) + + await waitFor(() => expectProcedureCalled(api.fetchMock, 'admin.vendorSnippets.getOrdersBySnippet')) + expect(lastProcedureInput(api.fetchMock, 'admin.vendorSnippets.getOrdersBySnippet')).toEqual({ + snippetCode: 'VS_1', + }) + expect(await screen.findByText('Orders for "VS_1"')).toBeVisible() + expect(screen.getByText('ORD1')).toBeVisible() + }) + + it('opens the edit form from the row menu', async () => { + setupApiMocks({ + procedures: { 'admin.vendorSnippets.getAll': [snippet()] }, + }) + const result = renderWithProviders() + + await waitFor(() => expect(screen.getByText('VS_1')).toBeVisible()) + openFirstMenu(result) + fireEvent.press(await screen.findByText('Edit')) + + expect(await screen.findByText('Edit Vendor Snippet')).toBeVisible() + }) + + it('refetches through the mark-data-fetchers hook', async () => { + const api = setupApiMocks({ + procedures: { 'admin.vendorSnippets.getAll': [snippet()] }, + }) + renderWithProviders() + await waitFor(() => expect(screen.getByText('VS_1')).toBeVisible()) + + const before = procCount(api.fetchMock, 'admin.vendorSnippets.getAll') + const { refreshHooks } = require('../mocks/refresh') + refreshHooks.markDataFetchers?.() + await waitFor(() => + expect(procCount(api.fetchMock, 'admin.vendorSnippets.getAll')).toBeGreaterThan(before) + ) + }) +}) diff --git a/apps/admin-ui/tests/setup.ts b/apps/admin-ui/tests/setup.ts new file mode 100644 index 0000000..785876d --- /dev/null +++ b/apps/admin-ui/tests/setup.ts @@ -0,0 +1,122 @@ +/** + * Shared Jest setup for apps/admin-ui. + * + * Only the native/context dependencies that cannot run under a plain Jest + * environment are stubbed here. Components, stores and hooks stay real. + * + * expo-router is NOT mocked globally — tests that need it add the mock + * themselves (see tests/mocks/router.ts), and router tests can use the real one. + */ + +jest.mock('common-ui/hooks/useMarkDataFetchers', () => ({ + __esModule: true, + useMarkDataFetchers: (cb: () => void) => { + require('./mocks/refresh').refreshHooks.markDataFetchers = cb + }, +})) + +jest.mock('common-ui/hooks/useManualRefresh', () => ({ + __esModule: true, + default: (cb: () => void) => { + require('./mocks/refresh').refreshHooks.manualRefresh = cb + }, +})) + +/** + * Native / third-party modules that cannot run under jest. Stubs live in + * tests/mocks/native.ts. + */ +jest.mock('react-native-draggable-flatlist', () => require('./mocks/native').draggableFlatListMock()) +jest.mock('react-native-tab-view', () => require('./mocks/native').tabViewMock()) +jest.mock('react-native-toast-message', () => require('./mocks/native').toastMock()) +jest.mock('expo-location', () => require('./mocks/native').locationMock()) +jest.mock('expo-image-picker', () => require('./mocks/native').imagePickerMock()) +jest.mock('expo-document-picker', () => require('./mocks/native').documentPickerMock()) +jest.mock('expo-device', () => require('./mocks/native').deviceMock()) +jest.mock('expo-haptics', () => require('./mocks/native').hapticsMock()) +jest.mock('expo-linear-gradient', () => require('./mocks/native').linearGradientMock()) +jest.mock('expo-blur', () => require('./mocks/native').blurMock()) +jest.mock('expo-image', () => require('./mocks/native').imageMock()) + +/** + * useFocusEffect throws without a NavigationContainer. Run the callback once on + * mount instead so focus-driven side effects are testable. + */ +jest.mock('@react-navigation/native', () => { + const actual = jest.requireActual('@react-navigation/native') + const React = require('react') + + return { + ...actual, + useFocusEffect: (callback: () => void | (() => void)) => { + const ran = React.useRef(false) + React.useEffect(() => { + if (ran.current) return + ran.current = true + return callback() + }, []) + }, + } +}) + +/** + * Staff auth is stubbed with a signed-in shape, overridable via + * tests/mocks/staff-auth.ts. Real-provider tests unmock this module. + */ +jest.mock('@/components/context/staff-auth-context', () => + require('./mocks/staff-auth').staffAuthContextMock() +) + +/** + * Secure + casual storage services are backed by expo-secure-store. Mock at the + * service module path with an in-memory map. + */ +jest.mock('common-ui/src/services/StorageService', () => { + const store = new Map() + + return { + StorageService: { + getItem: jest.fn(async (key: string) => store.get(key) ?? null), + setItem: jest.fn(async (key: string, value: string) => { + store.set(key, value) + return true + }), + removeItem: jest.fn(async (key: string) => { + store.delete(key) + return true + }), + clearAll: jest.fn(async (keys: string[]) => { + keys.forEach((key) => store.delete(key)) + return true + }), + }, + } +}) + +jest.mock('common-ui/src/services/StorageServiceCasual', () => { + const store = new Map() + + return { + StorageServiceCasual: { + getItem: jest.fn(async (key: string) => store.get(key) ?? null), + setItem: jest.fn(async (key: string, value: string) => { + store.set(key, value) + return true + }), + removeItem: jest.fn(async (key: string) => { + store.delete(key) + return true + }), + clearAll: jest.fn(async (keys: string[]) => { + keys.forEach((key) => store.delete(key)) + return true + }), + }, + } +}) + +/** + * Freeze the clock so date-sensitive screens (slots, orders, banners) are + * deterministic. Move it with jest.setSystemTime / advanceTimersByTime. + */ +jest.useFakeTimers({ now: Date.now() }) diff --git a/apps/admin-web/change-log.txt b/apps/admin-web/change-log.txt deleted file mode 100644 index ce93400..0000000 --- a/apps/admin-web/change-log.txt +++ /dev/null @@ -1,9 +0,0 @@ - -[2026-09-06 00:10:00] admin-web integration fixes batch: (1) dashboard.notifications.tsx SearchableSelect(number[] mismatch) -> MultiSelect (matches original multi BottomDropdown); (2) TagMenu.tsx router.history.push string nav -> typed navigate({to search}); (3) dashboard.orders.$id.tsx user tap /dashboard/users -> /dashboard/users/$id params nav (route exists); (4) dashboard.users.$id.tsx order nav as-any -> typed params nav; (5) remove temp as-any on now-registered navigate literals (dashboard.index, orders hub, slots, banners, stores, prices, products.edit/groupings casts if tsc-clean); (6) regen routeTree.gen.ts via build. - -[2026-09-06 00:20:00] admin-web README: replaced TanStack boilerplate with Freshyo Admin Web run/build notes (npm install/dev/build, port 4175, VITE_API_URL override). -[2026-09-06 00:20:00] COMPLETED apps/admin-web: exact web clone of apps/admin-ui on apps/web-ui stack (TanStack Start + Vite + Tailwind v4 + tRPC + TanStack Router, port 4175, worker admin-web). 38 routes + 21 components + infra, tsc clean, vite build clean, SSR smoke 200s. -Routes: index gate, login, dashboard shell (sidebar/header/titles/refresh) + hub, complaints, coupons(+new,+$id/edit), customize-app(+popular,+ordering), banners(+new,+$id/edit), orders(+list,+sequence,+$id), prices, product-groupings(+new,+$id/edit), product-tags(+new,+edit?tagId,+order), products(+new,+edit?id,+$id), rebalance, notifications, slots(+new?baseslot,+$id/edit,+detail?slotId), stores(+new,+edit?id), users(+$id), vendor-snippets. -New local primitives: MultiSelect, SearchableSelect, DateTimeInput, DateInput (mirror RN BottomDropdown-multi/search + DateTimePickerMod/DatePicker APIs). -Verification: tsc 0 errors; 54/54 file pairs tRPC-procedure parity (2 apparent gaps proven dead code in original: updateAddressCoords declaration, refund commented block); build ok; dev SSR / /login /dashboard /dashboard/coupons 200, /dashboard/orders/sequence 307 redirect, 0 error refs. -Known platform deltas (no web equivalent): Alert.alert->window.alert, destructive confirms->window.confirm, pull-to-refresh->header refresh button, infinite scroll->Load-more buttons, expo-image-picker->file inputs, native date/time pickers->date+time inputs, haptics/blur/share-target->dropped or navigator.share w/ clipboard fallback, push-notification token acquisition dropped (send flow intact). diff --git a/apps/admin-web/src/lib/trpc-client.ts b/apps/admin-web/src/lib/trpc-client.ts index 96e47df..4747a63 100644 --- a/apps/admin-web/src/lib/trpc-client.ts +++ b/apps/admin-web/src/lib/trpc-client.ts @@ -3,11 +3,12 @@ import { createTRPCClient, httpBatchLink } from '@trpc/client' import type { AppRouter } from '@backend/trpc/router' import { getJWT } from '../hooks/useJWT' import { EventBus, FORCE_LOGOUT_EVENT } from './event-bus' +import { BASE_API_URL as DEFAULT_API_URL } from '@packages/shared' -// Same backend as admin-ui (BASE_API_URL from common-ui); overridable via env. +// Same backend as admin-ui; overridable via VITE_API_URL (set it to +// https://devapi.freshyo.in for dev builds — the shared default is production). export const BASE_API_URL = - // (import.meta.env?.VITE_API_URL as string | undefined) || 'https://worker.freshyo.in' - (import.meta.env?.VITE_API_URL as string | undefined) || 'https://devapi.freshyo.in' + (import.meta.env?.VITE_API_URL as string | undefined) || DEFAULT_API_URL export const trpc = createTRPCReact() diff --git a/apps/admin-web/src/routes/dashboard.customize-app.tsx b/apps/admin-web/src/routes/dashboard.customize-app.tsx index ef9a36b..61a9164 100644 --- a/apps/admin-web/src/routes/dashboard.customize-app.tsx +++ b/apps/admin-web/src/routes/dashboard.customize-app.tsx @@ -31,6 +31,7 @@ const CONST_LABELS: Record = { isFlashDeliveryEnabled: 'Enable Flash Delivery', supportMobile: 'Support Mobile', supportEmail: 'Support Email', + welcomeMessage: 'Welcome Message', } const CONST_VISIBILITY: Record = { @@ -53,6 +54,7 @@ const CONST_VISIBILITY: Record = { isFlashDeliveryEnabled: true, supportMobile: true, supportEmail: true, + welcomeMessage: true, tester: false, } @@ -155,6 +157,22 @@ const ConstantInput: React.FC = ({ constantKey, value, setFi ) } + // Welcome message — multiline text area + if (constantKey === 'welcomeMessage') { + return ( + { + setFieldValue(fieldName, e.target.value) + }} + placeholder="Enter welcome message" + multiline + numberOfLines={4} + /> + ) + } + return ( => { - const { id } = input; - - const updatedProduct = await toggleProductOutOfStockInDb(id) +bunx wrangler d1 execute --remote freshyo-backend-dev --file=../../packages/db_helper_sqlite/drizzle/0004_staff_notif_creds.sql --config wrangler.dev.toml - if (!updatedProduct) { - throw new ApiError('Product not found', 404) - } - - await scheduleStoreInitialization() - - return { - product: updatedProduct, - message: `Product marked as ${updatedProduct.isOutOfStock ? 'out of stock' : 'in stock'}`, - } - }), - - - - - export async function toggleProductOutOfStock(id: number): Promise { - const product = await db.query.productInfo.findFirst({ - where: eq(productInfo.id, id), - }) - - if (!product) { - return null - } - - const [updatedProduct] = await db - .update(productInfo) - .set({ - isOutOfStock: !product.isOutOfStock, - }) - .where(eq(productInfo.id, id)) - .returning() - - if (!updatedProduct) { - return null - } - - return mapProduct(updatedProduct) -} \ No newline at end of file +I've created the both namespaces. show the option in all places where an order has a kebab menu in admin app. \ No newline at end of file diff --git a/apps/backend/dumps/latest.sql b/apps/backend/dumps/latest.sql index 951684d..9d669c6 100644 --- a/apps/backend/dumps/latest.sql +++ b/apps/backend/dumps/latest.sql @@ -90,9 +90,9 @@ INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_lin INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(102,113,0,'Kamal','9052741123','Marlu ','Brundavan colony','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-02-06T10:30:45.506Z',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(103,114,0,'Md.khizar Ahmed','9052323490','RB palace functionhall','RB palace functionhall ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-02-06T11:19:47.686Z',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(104,71,1,'Karthik ','9110314975','Line 7 balajinagar ','','Mahabubnagar','Telangana','509001',16.728182,77.99719,'2026-02-06T11:55:28.389Z',NULL,NULL,NULL,'PXHW+7WQ, Lane No. 7, BalajiNagar Colony, Mahbubnagar, Telangana 509001'); -INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(105,115,0,'Nadera','9985232643','H.no.1-10-19/3/6/a','Opp two taps','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-02-06T15:56:24.248Z',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(105,115,0,'Nadera','9985232643','H.no.1-10-19/3/6/a','Opp two taps','Mahabubnagar','Telangana','509001',16.7462209,78.0080913,'2026-02-06T15:56:24.248Z',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(106,118,0,'Nida','9966022031','Shiva Shakti nagar ','Shiva Shakti nagar kaman','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-02-07T04:25:26.874Z',NULL,NULL,NULL,NULL); -INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(107,119,0,'Mohd Mujahed ','9059318255','Madina masjid old hospital ','Madina masjid kumarvadi','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-02-07T12:36:08.579Z',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(107,119,0,'Mohd Mujahed ','9059318255','Madina masjid old hospital ','Madina masjid kumarvadi','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-02-07T12:36:08.579Z',NULL,16.7431665,77.9845528,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(108,120,0,'Raza','7013641457','Hno5-7-30/n/6 habeebnagar Mahabubnagar ','Near zamzam kiranam habeebnagar ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-02-08T04:40:58.038Z',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(109,121,0,'Ram reddy','5457545442','Ganesh Nagar ','','Mahabubnagar','Telangana','509001',16.736355,77.98679,'2026-02-08T06:18:19.094Z',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(110,122,1,'MD SULTAN','9642339427','Hno 5-7-30/n/6 habeebnagar mahbubnagar','','Mahabubnagar','Telangana','509001',16.731958,77.9898,'2026-02-08T10:03:41.585Z',NULL,NULL,NULL,NULL); @@ -129,7 +129,7 @@ INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_lin INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(141,168,0,'Aladdin','8498937807','S.s gutta mahabubnagar bhagat Singh colony ','','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-02-20T08:59:56.135Z',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(142,169,1,'Ahmed Ali','7799420422','Near Mustafa masjid','Marlu','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-02-20T09:07:22.057Z',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(143,171,1,'Mohammed Mudassir','6281738569','H.No:5-7-30/N/9, Old Palamoor Location, Near Rayeesa Masjid','First Right turn after S.M.Tent House','Mahabubnagar','Telangana','509001',16.731133,77.99033,'2026-02-20T09:27:59.497Z',NULL,NULL,NULL,NULL); -INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(144,170,0,'Raheel','9901294914','1-10-79/B, ShahSaheb Gutta','Vasavi college lane.','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-02-20T09:29:16.614Z',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(144,170,0,'Raheel','9901294914','1-10-79/B, ShahSaheb Gutta','Vasavi college lane.','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-02-20T09:29:16.614Z',NULL,16.7470429,78.0040048,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(145,176,0,'Arshad Ali','9885578647','14-8-120 Near Masjid e Mustafa','Marlu','Mahabubnagar','Telangana','509001',16.743597,78.010284,'2026-02-20T11:31:46.916Z',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(146,163,0,'farhana begum','7032026589','Marlu , employes colony mbnr','Road no. 3','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-02-20T12:50:46.386Z',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(147,181,1,'Khaled ','9885252564','1-10-87/3/A','1-10-87/3/A','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-02-20T19:04:13.988Z',NULL,NULL,NULL,NULL); @@ -257,7 +257,7 @@ INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_lin INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(272,375,1,'Nida yasmeen ','8688049540','Fire station ','Nal bowli ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-04-18 17:42:25',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(273,376,0,'Shabana','9885075092','National function hall,Laxminagar colony','Mahabubnagar ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-04-19 01:29:10',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(274,377,1,'M A FAREED ','9885736366','HNO-5-7-30/L/9','MASDUSNAGAR ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-04-19 03:56:25',NULL,NULL,NULL,NULL); -INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(275,378,1,'Shyam sunder b','6300604840','8-6-199/C/1','Padmavathi colony','Mahabubnagar','Telangana','509001',16.75055150948714,78.01663153571327,'2026-04-19 07:11:45',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(275,378,1,'Shyam sunder b','6300604040','8-6-199/C/1','Padmavathi colony','Mahabubnagar','Telangana','509001',16.75055150948714,78.01663153571327,'2026-04-19 07:11:45',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(276,379,1,'Mohammad ibraheem ','9440547094','TD GUTTA khaleel chowck','Bilal madjid','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-04-19 14:28:35',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(277,380,1,'K varaprasad','9701545531','5-64/c ','Dargah','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-04-20 05:02:23',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(278,381,1,'M d Junaid ','9700686930','1-1-74/G1/A,','Mothinagar, Mothi masjid','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-04-20 09:47:57',NULL,NULL,NULL,NULL); @@ -317,7 +317,7 @@ INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_lin INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(332,438,0,'Neha Nahid','9581983703','Aayesha manzil ','','Mahabubnagar','Telangana','509001',16.7310199,77.989817,'2026-05-12 04:57:54',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(333,441,0,'Syeda sara ','8897511092','Shah shab gutta , DO NAL ,TIPU SULTAN CHOWK','A.R CLINIC,SMS BUILDING ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-05-12 08:42:56',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(334,412,1,'Mohd shezan','8125912433','Shah sahab gutta near kakatiya school ','','Mahabubnagar','Telangana','509001',16.7478762,78.0087191,'2026-05-12 19:32:42',NULL,NULL,NULL,NULL); -INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(335,444,1,'K Ravi Prakash ','9849767367','7-5-115/2 laxminagar colony ','Mahbubnagar ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-05-13 02:14:17',NULL,16.7558651,78.0188516,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(335,444,1,'K Ravi Prakash ','9849767367','7-5-115/2 laxminagar colony ','Mahbubnagar ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-05-13 02:14:17',NULL,16.75587,78.0188336,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(336,22,1,'14-2-105/3, Madhuranagar Colony, Near Hanuman Temple, Mahabubnagar, Telangana 509001','9066454938','N','','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-05-13 06:16:14',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(337,178,0,'Khadhar','7799492001','Najha Pride apartment door no 304 near district court beside Shiva dental clinic ','','Mahabubnagar','Telangana','509001',16.7329562,77.990655,'2026-05-13 14:35:45',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(338,447,0,'Chandu','9052466966','Near Hero Showroom, opposite Kallu dukhnam','Old palamoor, Ambedkar statue','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-05-14 05:44:41',NULL,NULL,NULL,NULL); @@ -358,7 +358,7 @@ INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_lin INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(373,498,1,'Ejaz pasha ','7396781923','Godown chawrasta qabrastan mothinagar ','Beside shifath chicken center galli','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-05-23 07:08:12',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(374,499,1,'atif ali khan','8309427635','besjde lucky store kiranum shop','masoosnagar','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-05-23 14:22:00',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(375,500,1,'K ANJANEYULU GOUD','9848056960','14-11-68/5 PANCHAMUKHI COLONY NEAR BANGARU MAISAMMA TEMPLE ','Mahabub Nagar','Mahabubnagar','Telangana','509001',16.7515582,78.0118871,'2026-05-23 17:24:33',NULL,16.742845,78.0177383,NULL); -INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(376,178,1,'Muzammil ','7799492001','5-7-30L/2/c, opposite gousiya kiranum ','Goal masjid transfemerr opposite ','Mahabubnagar','Telangana','509001',16.7329728,77.9906861,'2026-05-24 07:17:12',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(376,178,0,'Muzammil ','7799492001','5-7-30L/2/c, opposite gousiya kiranum ','Goal masjid transfemerr opposite ','Mahabubnagar','Telangana','509001',16.7329728,77.9906861,'2026-05-24 07:17:12',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(377,481,0,'Nikshith ','7032719827','SVS staff quarters 303','','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-05-24 08:03:38',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(378,501,1,'Abdul Zakir ','8147830057','Rajendra Nagar near railway station ','','Mahabubnagar','Telangana','509001',16.7581321,78.0028356,'2026-05-24 11:08:17',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(379,503,1,'Vijaya Kumar Basude','9985492775','H.NO.14-5-204/1/B, Near Reddy Seva Samithi Girls Hostel,','STREET NO.5, B N REDDY COLONY ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-05-24 12:44:03',NULL,NULL,NULL,NULL); @@ -381,7 +381,7 @@ INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_lin INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(396,527,1,'Pavan ','7382149247','Backside of himalaya restaurant ','','Mahabubnagar','Telangana','509001',16.75391405532026,78.02177760504439,'2026-06-05 06:03:46',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(397,311,0,'Fouzan ','8309544607','1-10-23/3/1G2 sha shaeb gutta',' Near qisra masjid ','Mahabubnagar','Telangana','509001',16.7435382,78.0049839,'2026-06-05 08:29:27',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(398,533,0,'Akram mirza ','9121709102','Mq villa','','Mahabubnagar','Telangana','509001',16.7334211,77.995036,'2026-06-06 18:28:45',NULL,NULL,NULL,NULL); -INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(399,517,1,'H.no 7-5-188/B/2 Laxminagar colony Apollo pharmacy laner ','9053228539','Mahabubnagar ','','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-06-07 03:00:57',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(399,517,1,'H.no 7-5-188/B/2 Laxminagar colony Apollo pharmacy laner ','9053228539','Mahabubnagar ','','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-06-07 03:00:57',NULL,16.7552155,78.0187818,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(400,440,0,'H. Ko. 2-8-63/64','9603781812','Opp. Abdul Raheem Traders','SBI Bank to Karachi Bakery Road','Mahabubnagar','Telangana','509001',16.744782,77.9857473,'2026-06-07 04:34:03',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(401,535,1,'Abdur rahman ','9492759995','Back side alis mart','Opp municipal park az colony ground floor','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-06-10 06:27:30',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(402,536,0,'Renuka','7337272288','7-5-115/2/A','Laxmi Nagar Colony ','Mahabubnagar','Telangana','509001',16.7563609,78.0192233,'2026-06-10 12:08:19',NULL,NULL,NULL,NULL); @@ -547,7 +547,7 @@ INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_lin INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(569,779,0,'Samiya Mahveen','8143828969','Verannapet hn function hall ummi shah masjid ','','Mahabubnagar','Telangana','509001',16.748317,77.9752956,'2026-08-28 13:49:51',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(570,781,0,'Khaja Banu','9154221690','Macca Masjid Veeranapet ','H.N. Function Hall','Mahabubnagar','Telangana','509001',16.7483118,77.9751292,'2026-08-29 12:12:21',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(571,554,1,'Madan Mohan Reddy ','9440166075','Near Maisamma temple Marri chettu ','','Mahabubnagar','Telangana','509001',16.7505623,78.02918849999999,'2026-08-29 12:42:35',NULL,NULL,NULL,'https://maps.app.goo.gl/A3NvnPdW9gseK6by9?g_st=ac'); -INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(572,782,1,'Sarasakeena ','9502570303','Padmavati Colony ','Opposite red bucket biryani ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-08-29 13:36:07',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(572,782,1,'Sarasakeena ','9502570303','Padmavati Colony ','Opposite red bucket biryani ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-08-29 13:36:07',NULL,16.7526645,78.0209799,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(573,784,1,'K Srinuvasa Rao','6281681848','F.n.414,Metropolis Manatown Aprtment','Near Nalanda Auto Stand','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-08-29 15:33:09',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(574,785,1,'Metropolis Mana Town Apartment ','8638220758','Nalanda Auto Stand Road','Flat 117','Mahabubnagar','Telangana','509001',16.747306817693463,78.0090374001525,'2026-08-30 02:05:19',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(575,777,0,'Gillela madhusudhan reddy','6281743244','5-201/1, Nagireddy colony, beside reddy hostel camon','Road number 5','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-08-30 03:18:31',NULL,NULL,NULL,NULL); @@ -558,7 +558,7 @@ INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_lin INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(580,789,1,'Mohd Noushad Ali ','8919873583','Nirmal diagnostic centre chowrasta Newtown mahabubnagar ','Opp. To chaitanya junior college ','Mahabubnagar','Telangana','509001',16.7570171,78.0112264,'2026-09-04 10:25:46',NULL,16.7525415,78.0026348,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(581,665,1,'Arhan ','7780142802','Neelakantam tiffin center ','Neelakantam tiffin center line ','Mahabubnagar','Telangana','509001',16.7538088,77.9919774,'2026-09-05 08:55:17',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(582,790,0,'Shaik Mahek ','9704902987','Macca Masjid Veeranapet ','H.N.Function Hall ','Mahabubnagar','Telangana','509001',16.7482886,77.975154,'2026-09-05 13:56:25',NULL,NULL,NULL,NULL); -INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(583,793,1,'Shaikh Rumaanuddin ','9391125179','Door no- 6-3-36/B Near mehrunissa habeebnagar mahabubnagar ','','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-09 15:41:30',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(583,793,1,'Shaikh Rumaanuddin ','9391125179','Door no- 6-3-36/B Near mehrunissa habeebnagar mahabubnagar ','','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-09 15:41:30',NULL,16.7377921,77.9927011,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(584,794,1,'Sameena farhath ','7337005833','9-32, Nalanda auto stand,','Pilli shankaraiah road, marlu','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-09 18:54:23',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(585,795,1,'Nazim','7993107732','Imran kiranam','Habeebnagar','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-10 15:40:05',NULL,16.7301094,77.9903871,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(586,796,0,'Khan ','9666829914','Thirumala hills ','Govt medical college road ','Mahabubnagar','Telangana','509001',16.758360352449944,78.08268072389323,'2026-09-11 12:36:20',NULL,NULL,NULL,NULL); @@ -612,7 +612,7 @@ INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_lin INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(634,921,1,'Jahangir Begum ','9912181652','H.no.1-248, beside Gnana Saraswati school, road no.5, housing board colony ','','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-11 17:52:48',NULL,16.75241,78.0486733,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(635,924,0,'Md','7382826957','Bk reddy colony','','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-11 18:18:59',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(636,926,1,'A kalyan','7780550057','1-10-140/A/2/1 s s guttu near Hanuman temple','','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-11 18:23:21',NULL,16.7482617,78.0085317,NULL); -INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(637,929,0,'J KISHAN','9705108814','4-79 gollabandathanda','Bandameedipally ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-11 19:09:08',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(637,929,0,'J KISHAN','9705108814','4-79 gollabandathanda','Bandameedipally ','Mahabubnagar','Telangana','509001',16.730429,77.9675367,'2026-09-11 19:09:08',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(638,935,1,'Sanskruthi','9182732760','1-3-122/13, Sri Datta Sai Nilayam 1st floor ','Rajendranagar','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-11 19:28:56',NULL,NULL,NULL,'https://share.google/mTehkvfx0D7fw65gg'); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(639,938,0,'Mohd Azhar','9703927917','Shah Saheb Gutta ','Darul Uloom Madarsa','Mahabubnagar','Telangana','509001',16.7458712,78.0043342,'2026-09-11 20:15:56',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(640,939,1,'Mohd Naser ','9581624842','Old Central library','Old Central library ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-11 20:25:08',NULL,NULL,NULL,NULL); @@ -644,7 +644,7 @@ INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_lin INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(666,993,0,'Jagan mohan reddy ','8686103366','Palkonda road ','Vigneswara colony ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-12 05:51:39',NULL,16.7383909,78.0153788,'(16.7382589, 78.0149161)'); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(667,996,1,'Rrvanth Reddy ','8142757596','10-4-98/3 , street no 3 ,vivekananda colony ','Near ram reddy eye hospital ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-12 05:57:48',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(668,997,0,'Shiva','6281747356','Shivashakti nagar','Shop','Mahabubnagar','Telangana','509001',16.7368083,77.9952508,'2026-09-12 06:02:57',NULL,NULL,NULL,NULL); -INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(669,998,0,'Reddy manju Bhargavi ','6300163881','Housing board colony 7line ','Park opposite road ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-12 06:05:43',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(669,998,0,'Reddy manju Bhargavi ','6300163881','Housing board colony 7line ','Park opposite road ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-12 06:05:43',NULL,16.7507353,78.0497454,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(670,998,0,'Reddy manju Bhargavi ','6300163881','Housing board colony 7line road ','Park opposite road ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-12 06:06:23',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(671,803,0,'Venkatesh','8374754242','H no 2-1-14/5/D, GPY Colony, Motor line ','Near old power house ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-12 06:28:39',NULL,16.7439704,77.9932403,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(672,1000,1,'Mohammed Shafi','9492092287','1-2-30/s, Boyepally Gate ','','Mahabubnagar','Telangana','509001',16.7540078,77.9913311,'2026-09-12 06:33:15',NULL,NULL,NULL,NULL); @@ -676,7 +676,7 @@ INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_lin INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(698,1060,0,'Madhu ','7975864488','BC colony,Sahithi school back road,Bhuthpur,','','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-12 14:12:03',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(699,997,1,'Shiva','6281747356','Parpally koilkonda','Blue gate','Mahabubnagar','Telangana','509001',16.7683542,77.8186182,'2026-09-12 14:15:42',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(700,1061,0,'KS KARTHIK','9704713967','VEERANA PET GATE SWAMI VIVEKANANDA STATE ROAD NEARBY HANUMAN TEMPLE LEFT SIDE','Veeranapet Veerabhadra colony','Mahabubnagar','Telangana','509001',16.741485,77.981106,'2026-09-12 14:57:47',NULL,NULL,NULL,NULL); -INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(701,1063,1,'Ather begum','9347326900','Veeranapet hn function hall ummi sha masjid','MG kari school','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-12 15:14:58',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(701,1063,1,'Ather begum','9347326900','Veeranapet hn function hall ummi sha masjid','MG kari school','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-12 15:14:58',NULL,16.7473567,77.975111,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(702,1065,0,'Vidya sagar ','9848796666','Near Nalanda Auto Stand ','Mana town apartment ','Mahabubnagar','Telangana','509001',16.7470289,78.0089201,'2026-09-12 15:22:42',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(703,861,1,'Naresh ','8106663131','X.road kosgi road','N.p venkatesh back side ','Mahabubnagar','Telangana','509001',16.7568636,77.9789494,'2026-09-12 15:28:43',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(704,770,1,'Shaik aqib ','9381393816','Old Hospital Bbanlagari ','Kisan Nagar ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-12 18:50:36',NULL,NULL,NULL,NULL); @@ -686,7 +686,7 @@ INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_lin INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(708,1075,1,'Rehaan ','8500442064','Raghu Rama rice mil ','Maruthi Nagar road number 2 ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-13 02:07:54',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(709,976,0,'Sree vaishnavi ','9390608795','3-2-116/1 veerannapet mahabubnagar ','Near panduga sayanna temple mahabubnagar ','Mahabubnagar','Telangana','509001',16.7467779,77.9826513,'2026-09-13 02:08:41',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(710,1077,1,'Jaggaddish','9705113545','Marlu,palkonda road ','Near yogi tiffin center ,marlu','Mahabubnagar','Telangana','509001',16.7404057,78.0135117,'2026-09-13 02:54:43',NULL,NULL,NULL,NULL); -INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(711,1078,1,'Priya','9182134733','Errasatyam statue','Giridhar milk point line,swati nilayam','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-13 03:02:47',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(711,1078,1,'Priya','9182134733','Errasatyam statue','Giridhar milk point line,swati nilayam','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-13 03:02:47',NULL,16.7544927,77.9965866,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(712,1067,0,'Allampally Lavanya ','9515306266','5-6-23/2/A/3 Shiva Shakti nagar, near Aishwarya welding works ','','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-13 03:13:21',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(713,1079,0,'Anjali','7671887696','Sriram nagar,yenugonda','Near ramesh kiranam ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-13 03:19:09',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(714,1080,1,'Vijay','6301063156','Chinndharpally','','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-13 03:33:22',NULL,NULL,NULL,NULL); @@ -718,6 +718,108 @@ INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_lin INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(740,842,0,'Mohammed Ifteqar (Imran,)','7993052867','5-117, road no.12, B K Reddy colony, SKB water plant','sheshadrinagar,','Mahabubnagar','Telangana','509001',24.6688387,46.7085417,'2026-09-13 18:18:04',NULL,NULL,NULL,NULL); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(741,842,1,'Mohammed Ifteqar Ahmed (Imraan)','7993052867','5-117, road no#12, B K Reddy colony, Near Skb water plant','Sheshadrinagar ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-13 18:21:57',NULL,NULL,NULL,'https://goo.gl/maps/gUfvZ6P1RYMkc3vk9?g_st=aw'); INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(742,1125,0,'Yashwanth K','8074895660','3-37/1','','Mahabubnagar','Telangana','509001',16.7598053,78.0369336,'2026-09-13 23:55:30',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(743,1127,1,'M.A.Wasif','9100989898','1-4-1/A,beside rishi boys college','Behind Avanthi hotel,kamla nehru colony ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-14 04:08:40',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(744,892,0,'K Manasa ','7901024456','Aleem trader''s ','Opposite Gayatri appartment ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-14 04:17:32',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(745,1133,0,'J.Madhuri','9177791996','3-6-2','Ravindranagar','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-14 12:33:38',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(746,1135,1,'Rajesh ','8639271201','mahaboobnagar ','SR mart','Mahabubnagar','Telangana','509001',16.750356,78.0345554,'2026-09-14 13:33:29',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(747,1138,1,'Shivakumar','9121425201','Bc colony, yenugonda','Bike mechanic shop opposite ','Mahabubnagar','Telangana','509001',16.7582667,78.03582,'2026-09-14 13:59:34',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(748,1139,1,'mahankali sumitra','8919170263','7/5/113/8/m krishnakureer, Laxmi Nagar colony ','Road no.3, opposite sri Harsha hospital, behind himalaya restaurant.','Mahabubnagar','Telangana','509001',16.7542,78.0215446,'2026-09-14 16:29:48',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(749,1145,1,'Rishitha Reddy kotla Kotla','9381079234','Bhagiratha opposite road hasnapuram road','Sri Jaya construction villa 6 first right','Mahabubnagar','Telangana','509001',16.7231343,78.0015794,'2026-09-15 01:41:39',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(750,1147,0,'Gayathri ','9346449803',replace('G. Gayathri\nNear road number 8\nMahabubnagar near pochamma temple pochamma colony Pochamma\nMAHBUBNAGAR, TELANGANA 509001\nIndia','\n',char(10)),'','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-15 05:09:02',NULL,16.7501244,78.0374191,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(751,1149,0,'Sharmila begum','8179752879','Shiva Shakti Nagar near Raju kiranam shop','','Mahabubnagar','Telangana','509001',16.73545949032344,77.99584280835646,'2026-09-15 06:14:39',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(752,868,0,'Swathi','9030750123','7-130,srinivas colony','Near bajaj electronics ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-15 06:28:19',NULL,16.7532452,78.0228816,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(753,1151,1,'Naresh ','9989090972','Shiva Shakti nagar ','common 1st left tower opposite ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-15 07:25:04',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(754,1136,1,'nauman','9542458176','near amena masjid','tayyab nagar','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-15 09:27:52',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(755,1154,1,'Md Salman Khan ','7981636298','Shahab gutta ','A1chiken centre galli ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-15 09:34:53',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(756,1156,1,'Anuradha','9912177760','Venkateswara colony, H. No-7-5-87/4/A/1','Shiridi sai baba temple ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-15 10:21:23',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(757,1161,0,'Akbar basha ','8919506344','14-10-76/B/A/1 opp JR palace street vigneshwara colony marlu','Vigneshwara colony marlu ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-15 12:06:52',NULL,16.7389222,78.0127759,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(758,1162,0,'PREETHI ','9032622722','Abhaya anjaneya swamy temple, Dhanalaxmi colony ','Teachers colony Mettugadda ','Mahabubnagar','Telangana','509001',16.7490508,78.0152716,'2026-09-15 12:31:05',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(759,1148,1,'Bhagya','6300253737','Sri ram colony','Yenugonda','Mahabubnagar','Telangana','509001',16.7628983,78.0400158,'2026-09-15 12:44:11',NULL,16.7629184,78.0397615,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(760,681,1,'Madan Mohan Reddy','9440166075','Srinivasa colony ','Vijaya sarees ','Mahabubnagar','Telangana','509001',16.750590499999998,78.0291909,'2026-09-15 13:59:27',NULL,NULL,NULL,'https://maps.app.goo.gl/BmWfxJg6JdKR1qYSA?g_st=ac'); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(761,1169,1,'Flora','9346191871','8-5-30/b Dhanalaxmi colony, near teachers colony, Mahabubnagar','Beside anjaneya temple and behind oak ridge school ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-15 14:13:55',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(762,1141,0,'Shireesha ','8555023556','Near by Home Guard House ','Srikanth anna sir home','Mahabubnagar','Telangana','509001',16.7351697,77.9978444,'2026-09-15 16:22:28',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(763,1166,1,'Chandrika ','9110345140','12-1-36/1/8/a, thirumala township Yedira road ','Opp cricket net 🥅 road','Mahabubnagar','Telangana','509001',16.7501063,78.051525,'2026-09-16 01:36:26',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(764,977,0,'K.Suchitra','9059186492','H.no 1-3-97/505 5th floor ,Harmony arcade, Saddalgundu chowrasta, Rajendra nagar ','','Mahabubnagar','Telangana','509001',16.7558338,78.0018192,'2026-09-16 02:02:57',NULL,16.7556133,78.0019083,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(765,1171,1,'K.Jyothi','9948665080','Ground floor building 11-1-1/3/E, near smartha school.','','Mahabubnagar','Telangana','509001',16.7592354,78.0808789,'2026-09-16 04:41:48',NULL,NULL,NULL,'16.7591929, 78.0809149'); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(766,1172,0,'Vigneshwari ','8008309343','14-6-115/1/A/1, B K Reddy Colony,','Vidhi no 3','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-16 05:19:10',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(767,1129,1,'M Mahesh ','9014987508','Bandameedipally ','Near water tank ','Mahabubnagar','Telangana','509001',16.7224367,77.9865715,'2026-09-16 06:18:20',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(768,1173,1,'Jyothi ','9398211196','Road Number: 7C, Bhageeratha colony','Near Water tank ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-16 07:16:32',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(769,1175,1,'Naresh goud','7731079973','Siddarthnagar ','Back side eenadu office','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-16 08:10:17',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(770,366,0,'K Ashwini ','8555801789','Sagar colony','','Mahabubnagar','Telangana','509001',16.7522992,78.0345597,'2026-09-16 08:51:05',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(771,1176,1,'K SRINIVASULU ','9966355432','Muthoot Finance Ltd','Above Jio Office Mettugadda ','Mahabubnagar','Telangana','509001',16.7526183,78.0116308,'2026-09-16 10:21:57',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(772,1180,0,'Akshitha ','7382500497','Vandana appartment c block near','Anu home needs ','Mahabubnagar','Telangana','509001',16.7554357,78.0182524,'2026-09-16 13:31:25',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(773,1181,0,'Phalguna ','9951907007','Flat no 104 sulochana gardenia ','Venkateshwara colony ','Mahabubnagar','Telangana','509001',16.7574772,78.0136066,'2026-09-16 14:00:53',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(774,1182,0,'M Rakesh ','6304698210','Boyapalli ','Beside if veterinary hospital ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-16 15:02:07',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(775,1186,1,'Bittu','6303556339','Christian palli Panchavati vidyalaya ','Panchavati vidyalaya','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-17 01:33:21',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(776,1188,0,'Shahnaz Sultana','9381426908','14-8-87/4 iqbal manzil','Iqbal manzil marlu','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-17 07:33:10',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(777,1011,1,'Hariprasad Kamsali','9885617096','Mitra Apartment flat no.208 second floor ','Bhoothpur road beside On Tea hotel ','Mahabubnagar','Telangana','509001',16.7302979,78.0002916,'2026-09-17 09:28:44',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(778,1192,1,'Surya','7288925967',' Karivena Water tank kakiger','Kaki geri water tank','Mahabubnagar','Telangana','509001',16.6730049,78.1128813,'2026-09-17 16:43:59',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(779,1196,0,'Sharath','9133411057','Marlu','Palkonda road','Mahabubnagar','Telangana','509001',16.735999467656782,78.02137656382428,'2026-09-18 06:15:08',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(780,1178,1,'Srilatha P','9912017573','Veepurigeri ','Near Hanuman temple ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-18 09:39:33',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(781,1144,1,'Tinku Reddy','6305482719','Near lumbini school metugadda ','','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-18 10:07:02',NULL,16.751435,78.0131917,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(782,1197,0,'G.Prakash Babu','8185972016','1-2-59/4 ,subhash nagar','','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-18 11:55:37',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(783,1198,0,'Swarnarekha ','8309501574','Veerannapet near Lingam hotel','Veerannapet near Mallama Temple','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-18 12:00:16',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(784,1174,0,'Aleem traders ','7901024456','1/12/30 aleem traders opposite Gayatri appartment mahabubnagar ','Boyapally gate ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-19 01:59:22',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(785,115,0,'Safia begum','9949055660','1-10-4/3/E, near alnoor school','Shah Saheb Gutta','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-19 08:04:19',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(786,1202,0,'Raju','9701643829','Veerannapet','','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-19 12:17:30',NULL,16.743765,77.981675,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(787,1203,0,'Linga Reddy.G','9912090428','PBR residency ','Near pista House','Mahabubnagar','Telangana','509001',16.7505515,78.0435681,'2026-09-19 15:54:58',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(788,1203,0,'G Lingareddy ','9912090428','PBR residency 3rd floor b block 3016','Near pista House bypass 🛣️','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-19 15:55:49',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(789,1204,1,'Anil Kumar','9182449569','Near SR mart, Dist Sagara (uppara) Committee Hall','Yenugonda','Mahabubnagar','Telangana','509001',16.7511042,78.0341519,'2026-09-20 01:17:59',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(790,1206,1,'M RAMANA','9553257224','Near Chaithanya Central school ','Yenugonda near Kendriya vidyalaya','Mahabubnagar','Telangana','509001',16.7621603,78.0462386,'2026-09-20 02:18:53',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(791,1207,1,'Vijay','7989347494','1-6-9/3 palsab gutta opp lane to sri ramulu hospital','','Mahabubnagar','Telangana','509001',16.7535639,77.9991416,'2026-09-20 02:33:38',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(792,1208,0,'Teja sri','7601018548','Ayodhya nagar colony ','Christanpally','Mahabubnagar','Telangana','509001',16.7258081,78.0096389,'2026-09-20 03:19:17',NULL,16.7254208,78.0097279,'https://maps.app.goo.gl/ESZA7HD9z6e9R5yH7'); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(793,1048,0,'G Umesh Kumar ','9912564056','Market Road','Near Samreen Chickhen Center','Mahabubnagar','Telangana','509001',16.7475781,77.9854545,'2026-09-20 03:39:19',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(794,1209,1,'Swetha ','6301975348','Ayodhya nagar chirstian pally','Hunman temple ','Mahabubnagar','Telangana','509001',16.7248072,78.0079245,'2026-09-20 03:44:49',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(795,1211,1,'M.Shiva prasad','9502006782','8-1-67/1b, teachers colony,behind dist govt hospital, mahabubnagar ','','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-20 04:00:47',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(796,1212,0,'Pranathi ','9063609613','Ravindra bharathi school ','Balaji nagar ','Mahabubnagar','Telangana','509001',16.725824,77.9989747,'2026-09-20 04:08:20',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(797,1004,0,'Gouthami','8096860392','Backside manikeshwari ashram bhruvdhavan nagar palkonda','','Mahabubnagar','Telangana','509001',16.7343283,78.0186998,'2026-09-20 04:38:40',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(798,1004,0,'Gaddala Gouthami','8096860392','Backside manikeshwari ashram bhruvdhavan nagar palkonda','','Mahabubnagar','Telangana','509001',16.7343296,78.0186922,'2026-09-20 04:39:07',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(799,1213,1,'Imran office 1899','9666829992','Thirumalahills , Near medical collage road ','YEDIRA ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-20 05:31:16',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(800,1214,1,'Mukthyar ','9703727773','10-6-24/8/b/3','Srinivasa Colony','Mahabubnagar','Telangana','509001',16.748837899999998,78.00351719999999,'2026-09-20 06:17:42',NULL,16.7483746,78.0293367,'https://maps.app.goo.gl/8ppKtGBdbzNwXrix9?g_st=ac'); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(801,1215,0,'S vithesh ','9666345606','Ganesh nagar mahabubnagar ','6-1-68/D/A/1','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-20 06:34:12',NULL,16.7342067,77.9841883,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(802,1218,0,'Syed muqeed','8919890320','Harmain madarsa ','Saliha masjid marlu ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-20 07:30:00',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(803,1106,0,'Ruhi','9603825425','B. K Reddy Colony, Basheera Mansion, IS garden function Hall','','Mahabubnagar','Telangana','509001',16.7394847,78.0068928,'2026-09-20 07:55:21',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(804,1221,0,'K.Naveen Kumar','9866860253','1-3-97/505,5th Floor, Harmony arcade,Saddala gundu chowrasta,Rajendra Nagar ','','Mahabubnagar','Telangana','509001',16.7558499,78.0017937,'2026-09-20 10:19:21',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(805,1222,0,'Kiranmai ammagaru','9848990070','Hanuman temple, railway station road near sri chaitanya techno school saddalgundu ','Gaddapaina Hanuman temple,near Srilaxmi palakendram saddalgundu ','Mahabubnagar','Telangana','509001',16.7566138,78.0009661,'2026-09-20 19:12:47',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(806,1131,1,'G s sonia','7287976369','Essar petrol pump back side. ','Old palamoor','Mahabubnagar','Telangana','509001',16.734046,77.9950418,'2026-09-21 05:58:11',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(807,1189,1,'Gayathri ','9390564601','1-2-80/3 , near badam saroja Devi college christian colony, Satyam chowrasta ','','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-22 04:23:20',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(808,1225,1,'K Harika ','9398044707','Svdc college back side Hanuman temple ','Hanuman temple ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-22 04:53:33',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(809,1226,0,'Praveen','8686677804','Flat no 203,2nd Floor, Elite Homes Apt, New Balaji Nagar Colony','','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-22 05:43:49',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(810,1227,1,'Swaroopa ','9347099203','14-11-13/b, panchamukhi colony, padmavathi colony ','','Mahabubnagar','Telangana','509001',16.7459353,78.0173379,'2026-09-22 07:09:02',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(811,1228,1,'Gulfisha','8522925075','1-10-2/2, sha shab gutta ','Ahmad poli clinic byac said fast left','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-22 07:40:21',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(812,178,1,'Abdul khadar ','7799492001','Court lane ','Najha Pride apartment ,door no 304','Mahabubnagar','Telangana','509001',16.7515177,77.992362,'2026-09-22 16:29:14',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(813,1231,1,'Madhavirajesh','7989728150','5-6-1/15, old palamoor, ','Beside essar petrol bunk ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-22 16:44:25',NULL,16.7327948,77.9948601,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(814,1232,0,'Kotha Santhosh kumar','7901024456','Aleem traders opposite Gayatri appartment ','Near srikrishna theatre mahabubnagar ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-22 17:54:05',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(815,1234,1,'Mohd Salahuddin ','7675846945','Bk reddy colony beside flour mill','','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-23 06:23:53',NULL,16.7399423,78.0058373,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(816,1236,1,'Sreenivasulu ','8985000515','Gld park colony, ZPHigh school line ','Yenugonda ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-23 12:36:50',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(817,731,0,'Arman','9515837506','5-194/2 B K Reddy colony ','Dastagir manzil','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-23 12:48:49',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(818,1237,0,'Nikitha','9666050071','Sarika township ','Near palakonda ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-23 13:18:37',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(819,1241,1,'M PRABHAKAR ','9449596020','2001,PBR RESIDENCY ','Edira Road, YENUGONDA, Adjacent to BYPASS ','Mahabubnagar','Telangana','509001',16.750646908643397,78.04408105581041,'2026-09-24 03:57:08',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(820,1242,0,'Mujtaba ','8142757547','Samreen chicken center ','','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-24 07:22:42',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(821,1224,0,'Neeluru manasa','9640535209','Sri Lakshmi Hayagreeva apartments , Srinivas Nagar colony , near galaxy school','','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-24 07:27:23',NULL,16.7550709,78.0141334,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(822,1243,0,'Anitha ','9885053577','1-5-98/2','Newtown ','Mahabubnagar','Telangana','509001',16.7475908,77.9990937,'2026-09-24 09:30:15',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(823,1245,0,'Thiru','9391200211','Timasan palle Anjaneya Swamy temple near','Thimashanpally house number 2-29','Mahabubnagar','Telangana','509001',16.7602436,78.0113164,'2026-09-24 13:14:50',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(824,1246,1,'Ayesha','8341260200','8-3-58/8/f/1, mettugada, teachers colony, mahabubnagar ','','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-24 13:57:19',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(825,1247,1,'Mohammad Rafeeq Ahmad ','9959282428','H No 1-10-14/1, Masiha Clinic Road,','Near Al-Kausar Madarsa, Shah Saheb Gutta,','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-24 15:54:22',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(826,1248,0,'Owaiz','9392509297','Sulake nilayam ','','Mahabubnagar','Telangana','509001',16.7440309,78.0083151,'2026-09-25 03:32:12',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(827,980,1,'Vamshi Krishna','9059814473','3-37/1, BC COLONY YENUGONDA MAHABUBNAGAR','','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-25 03:34:26',NULL,16.7596867,78.037015,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(828,1185,0,'Neha','9908445178','Sadalgundu front Satish kiranam','','Mahabubnagar','Telangana','509001',16.75429703921365,78.00395372536732,'2026-09-25 03:55:10',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(829,1250,0,'Mounika ','9553935423','Sarika township civic 196 amisthapur','','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-25 11:34:22',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(830,1252,0,'Farhan Ali ','9160395920','Ramiya boli','Rama','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-26 04:37:50',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(831,1252,1,'Farhan Ali ','9160395920','Ramya boli','Ramya boli','Mahabubnagar','Telangana','509001',16.7384598,77.9955884,'2026-09-26 04:38:27',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(832,1240,0,'Hafsa ','6301611407','4-1-116/7/e/1','Nimra cafe, Ramaiah bowli','Mahabubnagar','Telangana','509001',16.74141140037474,77.99183470574646,'2026-09-26 13:00:07',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(833,1255,1,'M umadevi','7382268404','Near chaithanya central school','Srieam colony yenugonda','Mahabubnagar','Telangana','509001',16.7621669,78.0461954,'2026-09-27 01:41:06',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(834,1256,1,'C vinodkumar ','9985440716','Flatno 416,manatown apartments','Nalanda autostart,shashabgutta','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-27 01:56:09',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(835,1257,0,'Hajra','6302068018','1-1-81/A4','Mothinagar','Mahabubnagar','Telangana','509001',16.7557058,77.9933981,'2026-09-27 02:41:05',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(836,1258,1,'Kusuma','9701920124','7-5-18','Venkateshwara colony ','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-27 03:11:52',NULL,16.7555812,78.0143206,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(837,1259,1,'Samyukta','9704905100','H.No 14-2-90/68/B, Srirama colony',' christianpally','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-27 03:37:20',NULL,16.7282973,78.0135654,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(838,1261,0,'Devayani','9951464320','Christian pally , double bed room','Bhagiratha , adharshnagar','Mahabubnagar','Telangana','509001',16.7191348,78.0111408,'2026-09-27 04:32:42',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(839,1262,1,'M Sruthi ','7981846257','H.no-14-10-81/1/M, vigneswara colony,near ganga shiva shakti water plant,Marlu','','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-27 04:37:25',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(840,890,1,'Anusha','8886149361','Madhura nagar, Nagendra nagar colony','Near BJPSRINU house','Mahabubnagar','Telangana','509001',16.7347106,78.0058502,'2026-09-27 05:00:38',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(841,1263,0,'Habeeb unnisa begum','9866172788','1-2-11/2','Boyepally Gate','Mahabubnagar','Telangana','509001',16.7541261,77.9912615,'2026-09-27 05:07:51',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(842,1264,0,'Rajeshwari ','9440089258','1-2-112/1 subhash nagar, near giridhari milk point mahabubnagar ','','Mahabubnagar','Telangana','509001',16.7543691,77.9965479,'2026-09-27 05:52:59',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(843,1266,0,'sriram colony ','6303206328','yenugonda ','Telangana 509001, India Phone number: 6303206328','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-27 09:49:04',NULL,NULL,NULL,NULL); +INSERT INTO "addresses" ("id","user_id","is_default","name","phone","address_line1","address_line2","city","state","pincode","latitude","longitude","created_at","zone_id","admin_latitude","admin_longitude","google_maps_url") VALUES(844,1267,1,'Siddiq khan','7981547899','Doddalonipally','Masjid arafath pillamari road','Mahabubnagar','Telangana','509001',NULL,NULL,'2026-09-27 10:32:24',NULL,NULL,NULL,NULL); CREATE TABLE IF NOT EXISTS "complaints" ("id" INTEGER PRIMARY KEY, "user_id" INTEGER NOT NULL, "order_id" INTEGER, "complaint_body" TEXT NOT NULL, "is_resolved" INTEGER NOT NULL DEFAULT false, "created_at" TEXT NOT NULL DEFAULT CURRENT_TIMESTAMP, "response" TEXT, "images" TEXT); INSERT INTO "complaints" ("id","user_id","order_id","complaint_body","is_resolved","created_at","response","images") VALUES(4,17,NULL,'Hello',1,'2025-12-19T08:34:32.924Z','Hi',NULL); INSERT INTO "complaints" ("id","user_id","order_id","complaint_body","is_resolved","created_at","response","images") VALUES(5,17,NULL,'Hello',1,'2025-12-19T09:32:59.187Z','','["complaint-images/1766136777180-0"]'); @@ -789,12 +891,28 @@ INSERT INTO "complaints" ("id","user_id","order_id","complaint_body","is_resolve INSERT INTO "complaints" ("id","user_id","order_id","complaint_body","is_resolved","created_at","response","images") VALUES(75,1089,NULL,'Why my order is canceled',1,'2026-09-13 05:47:35','Ayyavaripally is not under service currently. We plan to expand in next 3 months',NULL); INSERT INTO "complaints" ("id","user_id","order_id","complaint_body","is_resolved","created_at","response","images") VALUES(76,1077,NULL,'Very late',1,'2026-09-13 06:00:01','Apologies sir, things didn''t go right today. We''ll ensure your order gets delivered in time, next time',NULL); INSERT INTO "complaints" ("id","user_id","order_id","complaint_body","is_resolved","created_at","response","images") VALUES(77,1067,NULL,'Still how much time it takes',1,'2026-09-13 07:14:20','Apologies for the delay mam. Things didn''t go right today. We''ll ensure in time delivery from next time',NULL); -INSERT INTO "complaints" ("id","user_id","order_id","complaint_body","is_resolved","created_at","response","images") VALUES(78,1078,NULL,'I didn''t recieve arvi',0,'2026-09-13 08:59:52',NULL,NULL); -INSERT INTO "complaints" ("id","user_id","order_id","complaint_body","is_resolved","created_at","response","images") VALUES(79,1083,NULL,'Lemom not sending',0,'2026-09-13 09:19:11',NULL,NULL); +INSERT INTO "complaints" ("id","user_id","order_id","complaint_body","is_resolved","created_at","response","images") VALUES(78,1078,NULL,'I didn''t recieve arvi',1,'2026-09-13 08:59:52','Apologies, this won''t happen again',NULL); +INSERT INTO "complaints" ("id","user_id","order_id","complaint_body","is_resolved","created_at","response","images") VALUES(79,1083,NULL,'Lemom not sending',1,'2026-09-13 09:19:11','Apologies, this won''t happen again',NULL); INSERT INTO "complaints" ("id","user_id","order_id","complaint_body","is_resolved","created_at","response","images") VALUES(80,1105,NULL,'Not delivered between en after 2hours',1,'2026-09-13 10:11:52','Apologies sir, will take care to deliver in time, from next time.',NULL); INSERT INTO "complaints" ("id","user_id","order_id","complaint_body","is_resolved","created_at","response","images") VALUES(81,1095,NULL,'The meat is very steal smell and 50%of only fat.',1,'2026-09-13 10:35:01','We remove the fat. Fat can hardly be only around 5%. Apologies, we''ll deliver satisfactory from next time',NULL); -INSERT INTO "complaints" ("id","user_id","order_id","complaint_body","is_resolved","created_at","response","images") VALUES(82,1112,NULL,'Methi bhaji 16 dena tha 11 hi diye gavaar ki phalli fresh nahi hai bekaar ek dam bekaar',0,'2026-09-13 14:33:41',NULL,NULL); -INSERT INTO "complaints" ("id","user_id","order_id","complaint_body","is_resolved","created_at","response","images") VALUES(83,1112,NULL,'I hated this appp',0,'2026-09-13 14:34:26',NULL,NULL); +INSERT INTO "complaints" ("id","user_id","order_id","complaint_body","is_resolved","created_at","response","images") VALUES(82,1112,NULL,'Methi bhaji 16 dena tha 11 hi diye gavaar ki phalli fresh nahi hai bekaar ek dam bekaar',1,'2026-09-13 14:33:41','Apologies, we''ll take care this doesn''t happen again',NULL); +INSERT INTO "complaints" ("id","user_id","order_id","complaint_body","is_resolved","created_at","response","images") VALUES(83,1112,NULL,'I hated this appp',1,'2026-09-13 14:34:26','Sorry, we will try to improve',NULL); +INSERT INTO "complaints" ("id","user_id","order_id","complaint_body","is_resolved","created_at","response","images") VALUES(84,842,NULL,'Order not delivered',1,'2026-09-14 04:35:00','Delivered Successfully',NULL); +INSERT INTO "complaints" ("id","user_id","order_id","complaint_body","is_resolved","created_at","response","images") VALUES(85,892,NULL,'Where is my order',1,'2026-09-14 05:24:19','Delivered Successfully',NULL); +INSERT INTO "complaints" ("id","user_id","order_id","complaint_body","is_resolved","created_at","response","images") VALUES(86,1139,NULL,'If u able to deliver u have to give update',1,'2026-09-15 02:24:06','Yes mam, spoke to delivery agent about your complaint. Apologies, this won''t happen again.',NULL); +INSERT INTO "complaints" ("id","user_id","order_id","complaint_body","is_resolved","created_at","response","images") VALUES(87,929,NULL,'Y cancel my order',1,'2026-09-16 10:17:08','Your area is not under service',NULL); +INSERT INTO "complaints" ("id","user_id","order_id","complaint_body","is_resolved","created_at","response","images") VALUES(88,486,NULL,'Lemons 1set not received and grapes or spoiled',1,'2026-09-16 11:13:25','Apologies, we''ll take care this doesn''t happen again',NULL); +INSERT INTO "complaints" ("id","user_id","order_id","complaint_body","is_resolved","created_at","response","images") VALUES(89,1141,NULL,replace('I ordered 500gm Bitter gourd....\nBut I didn''t receive Bitter gourd','\n',char(10)),1,'2026-09-16 17:08:36','Apologies, we''ll take care this doesn''t happen again.',NULL); +INSERT INTO "complaints" ("id","user_id","order_id","complaint_body","is_resolved","created_at","response","images") VALUES(90,1078,NULL,replace('Offer 15 veggies we didn''t get all\nArvi missing','\n',char(10)),1,'2026-09-17 06:13:48','Apologies, we''ll take care this doesn''t happen again',NULL); +INSERT INTO "complaints" ("id","user_id","order_id","complaint_body","is_resolved","created_at","response","images") VALUES(91,494,NULL,'I did not get the muskmelon',1,'2026-09-18 05:41:06','Apologies, we''ll take care this doesn''t happen again',NULL); +INSERT INTO "complaints" ("id","user_id","order_id","complaint_body","is_resolved","created_at","response","images") VALUES(92,1206,NULL,'Not delivered so far more than 1hour',1,'2026-09-20 03:05:06','Apologies for delay',NULL); +INSERT INTO "complaints" ("id","user_id","order_id","complaint_body","is_resolved","created_at","response","images") VALUES(93,1078,NULL,'I place order to deliver in one hour',1,'2026-09-21 05:23:51','Delivered Successfully',NULL); +INSERT INTO "complaints" ("id","user_id","order_id","complaint_body","is_resolved","created_at","response","images") VALUES(94,1231,NULL,'Order confirmation',1,'2026-09-22 16:50:25','Delivered Successfully',NULL); +INSERT INTO "complaints" ("id","user_id","order_id","complaint_body","is_resolved","created_at","response","images") VALUES(95,178,NULL,'Aslkm, my order will be coming up to 12pm or not?',1,'2026-09-23 04:04:49','Delivered Successfully',NULL); +INSERT INTO "complaints" ("id","user_id","order_id","complaint_body","is_resolved","created_at","response","images") VALUES(96,350,NULL,'What''s the time of delivering',1,'2026-09-24 09:01:12','Delivered Successfully.',NULL); +INSERT INTO "complaints" ("id","user_id","order_id","complaint_body","is_resolved","created_at","response","images") VALUES(97,1248,NULL,'Call not came and parcel too',1,'2026-09-25 09:47:38','Delivered Successfully',NULL); +INSERT INTO "complaints" ("id","user_id","order_id","complaint_body","is_resolved","created_at","response","images") VALUES(98,1255,NULL,'Not delivered so far',1,'2026-09-27 02:32:58','Delivered Successfully',NULL); +INSERT INTO "complaints" ("id","user_id","order_id","complaint_body","is_resolved","created_at","response","images") VALUES(99,1259,NULL,'All the items are good, but one item from Arvi is missing',1,'2026-09-27 07:12:58','Arvi was missing. Compensated that with capsicum','["complaint-images/1790493175973.jpg"]'); CREATE TABLE IF NOT EXISTS "coupon_applicable_users" ("id" INTEGER PRIMARY KEY, "coupon_id" INTEGER NOT NULL, "user_id" INTEGER NOT NULL); INSERT INTO "coupon_applicable_users" ("id","coupon_id","user_id") VALUES(2,11,4); INSERT INTO "coupon_applicable_users" ("id","coupon_id","user_id") VALUES(6,18,145); @@ -812,6 +930,13 @@ INSERT INTO "coupon_applicable_users" ("id","coupon_id","user_id") VALUES(18,30, INSERT INTO "coupon_applicable_users" ("id","coupon_id","user_id") VALUES(19,31,440); INSERT INTO "coupon_applicable_users" ("id","coupon_id","user_id") VALUES(20,32,739); INSERT INTO "coupon_applicable_users" ("id","coupon_id","user_id") VALUES(21,33,304); +INSERT INTO "coupon_applicable_users" ("id","coupon_id","user_id") VALUES(22,36,440); +INSERT INTO "coupon_applicable_users" ("id","coupon_id","user_id") VALUES(23,37,1165); +INSERT INTO "coupon_applicable_users" ("id","coupon_id","user_id") VALUES(24,38,1165); +INSERT INTO "coupon_applicable_users" ("id","coupon_id","user_id") VALUES(25,39,454); +INSERT INTO "coupon_applicable_users" ("id","coupon_id","user_id") VALUES(26,40,514); +INSERT INTO "coupon_applicable_users" ("id","coupon_id","user_id") VALUES(27,41,701); +INSERT INTO "coupon_applicable_users" ("id","coupon_id","user_id") VALUES(28,42,701); CREATE TABLE IF NOT EXISTS "coupon_usage" ("id" INTEGER PRIMARY KEY, "user_id" INTEGER NOT NULL, "coupon_id" INTEGER NOT NULL, "used_at" TEXT NOT NULL DEFAULT CURRENT_TIMESTAMP, "order_id" INTEGER, "order_item_id" INTEGER); INSERT INTO "coupon_usage" ("id","user_id","coupon_id","used_at","order_id","order_item_id") VALUES(1,2,4,'2025-11-25T06:29:10.947Z',NULL,NULL); INSERT INTO "coupon_usage" ("id","user_id","coupon_id","used_at","order_id","order_item_id") VALUES(59,2,8,'2025-12-27T17:39:01.970Z',117,NULL); @@ -913,6 +1038,29 @@ INSERT INTO "coupon_usage" ("id","user_id","coupon_id","used_at","order_id","ord INSERT INTO "coupon_usage" ("id","user_id","coupon_id","used_at","order_id","order_item_id") VALUES(161,1100,34,'2026-09-13T07:17:27.295Z',2081,NULL); INSERT INTO "coupon_usage" ("id","user_id","coupon_id","used_at","order_id","order_item_id") VALUES(162,1105,34,'2026-09-13T08:57:46.895Z',2083,NULL); INSERT INTO "coupon_usage" ("id","user_id","coupon_id","used_at","order_id","order_item_id") VALUES(163,842,34,'2026-09-13T18:22:11.066Z',2092,NULL); +INSERT INTO "coupon_usage" ("id","user_id","coupon_id","used_at","order_id","order_item_id") VALUES(164,892,34,'2026-09-14T04:17:50.597Z',2095,NULL); +INSERT INTO "coupon_usage" ("id","user_id","coupon_id","used_at","order_id","order_item_id") VALUES(165,1139,34,'2026-09-14T16:29:57.569Z',2108,NULL); +INSERT INTO "coupon_usage" ("id","user_id","coupon_id","used_at","order_id","order_item_id") VALUES(166,868,34,'2026-09-15T06:28:55.882Z',2117,NULL); +INSERT INTO "coupon_usage" ("id","user_id","coupon_id","used_at","order_id","order_item_id") VALUES(167,1151,34,'2026-09-15T07:25:54.425Z',2118,NULL); +INSERT INTO "coupon_usage" ("id","user_id","coupon_id","used_at","order_id","order_item_id") VALUES(168,681,34,'2026-09-15T13:59:45.464Z',2126,NULL); +INSERT INTO "coupon_usage" ("id","user_id","coupon_id","used_at","order_id","order_item_id") VALUES(169,929,34,'2026-09-15T16:00:57.340Z',2128,NULL); +INSERT INTO "coupon_usage" ("id","user_id","coupon_id","used_at","order_id","order_item_id") VALUES(170,1166,34,'2026-09-16T01:37:07.187Z',2132,NULL); +INSERT INTO "coupon_usage" ("id","user_id","coupon_id","used_at","order_id","order_item_id") VALUES(171,1186,34,'2026-09-17T01:33:41.991Z',2146,NULL); +INSERT INTO "coupon_usage" ("id","user_id","coupon_id","used_at","order_id","order_item_id") VALUES(172,1144,34,'2026-09-18T10:07:12.976Z',2164,NULL); +INSERT INTO "coupon_usage" ("id","user_id","coupon_id","used_at","order_id","order_item_id") VALUES(173,779,24,'2026-09-18T12:14:35.538Z',2167,NULL); +INSERT INTO "coupon_usage" ("id","user_id","coupon_id","used_at","order_id","order_item_id") VALUES(174,1174,34,'2026-09-19T01:59:30.078Z',2170,NULL); +INSERT INTO "coupon_usage" ("id","user_id","coupon_id","used_at","order_id","order_item_id") VALUES(175,1206,34,'2026-09-20T02:19:23.627Z',2182,NULL); +INSERT INTO "coupon_usage" ("id","user_id","coupon_id","used_at","order_id","order_item_id") VALUES(176,1048,34,'2026-09-20T03:39:43.478Z',2188,NULL); +INSERT INTO "coupon_usage" ("id","user_id","coupon_id","used_at","order_id","order_item_id") VALUES(177,1211,34,'2026-09-20T04:34:21.095Z',2197,NULL); +INSERT INTO "coupon_usage" ("id","user_id","coupon_id","used_at","order_id","order_item_id") VALUES(178,1189,34,'2026-09-22T04:23:39.277Z',2222,NULL); +INSERT INTO "coupon_usage" ("id","user_id","coupon_id","used_at","order_id","order_item_id") VALUES(179,1232,34,'2026-09-22T17:54:48.100Z',2234,NULL); +INSERT INTO "coupon_usage" ("id","user_id","coupon_id","used_at","order_id","order_item_id") VALUES(180,1241,34,'2026-09-24T04:01:04.019Z',2247,NULL); +INSERT INTO "coupon_usage" ("id","user_id","coupon_id","used_at","order_id","order_item_id") VALUES(181,514,40,'2026-09-25T01:49:50.160Z',2269,NULL); +INSERT INTO "coupon_usage" ("id","user_id","coupon_id","used_at","order_id","order_item_id") VALUES(182,980,34,'2026-09-25T03:34:40.362Z',2272,NULL); +INSERT INTO "coupon_usage" ("id","user_id","coupon_id","used_at","order_id","order_item_id") VALUES(183,1185,34,'2026-09-25T03:55:34.633Z',2273,NULL); +INSERT INTO "coupon_usage" ("id","user_id","coupon_id","used_at","order_id","order_item_id") VALUES(184,1255,34,'2026-09-27T01:41:15.090Z',2292,NULL); +INSERT INTO "coupon_usage" ("id","user_id","coupon_id","used_at","order_id","order_item_id") VALUES(185,1256,34,'2026-09-27T01:56:21.694Z',2293,NULL); +INSERT INTO "coupon_usage" ("id","user_id","coupon_id","used_at","order_id","order_item_id") VALUES(186,1257,34,'2026-09-27T02:41:23.829Z',2297,NULL); CREATE TABLE IF NOT EXISTS "coupons" ("id" INTEGER PRIMARY KEY, "is_user_based" INTEGER NOT NULL DEFAULT false, "discount_percent" REAL, "flat_discount" REAL, "min_order" REAL, "created_by" INTEGER, "max_value" REAL, "is_invalidated" INTEGER NOT NULL DEFAULT false, "created_at" TEXT NOT NULL DEFAULT CURRENT_TIMESTAMP, "is_apply_for_all" INTEGER NOT NULL DEFAULT false, "valid_till" TEXT, "max_limit_for_user" INTEGER, "coupon_code" TEXT NOT NULL, "sku_ids" INTEGER, "exclusive_apply" INTEGER NOT NULL DEFAULT false, `is_first_order_only` integer DEFAULT false NOT NULL); INSERT INTO "coupons" ("id","is_user_based","discount_percent","flat_discount","min_order","created_by","max_value","is_invalidated","created_at","is_apply_for_all","valid_till","max_limit_for_user","coupon_code","sku_ids","exclusive_apply","is_first_order_only") VALUES(1,0,20,NULL,500,6,NULL,1,'2025-11-21T14:14:20.264Z',1,'2025-11-30T00:00:00.000Z',NULL,'BIG50','[]',0,0); INSERT INTO "coupons" ("id","is_user_based","discount_percent","flat_discount","min_order","created_by","max_value","is_invalidated","created_at","is_apply_for_all","valid_till","max_limit_for_user","coupon_code","sku_ids","exclusive_apply","is_first_order_only") VALUES(2,0,50,NULL,1000,6,500,1,'2025-11-22T08:59:29.904Z',1,'2026-01-07T00:00:00.000Z',1,'SAVEMORE','[]',0,0); @@ -945,10 +1093,17 @@ INSERT INTO "coupons" ("id","is_user_based","discount_percent","flat_discount"," INSERT INTO "coupons" ("id","is_user_based","discount_percent","flat_discount","min_order","created_by","max_value","is_invalidated","created_at","is_apply_for_all","valid_till","max_limit_for_user","coupon_code","sku_ids","exclusive_apply","is_first_order_only") VALUES(29,1,NULL,100,1200,4,100,0,'2026-08-31 02:28:44',0,'2026-09-10T15:38:00.000Z',2,'INNU34',NULL,0,0); INSERT INTO "coupons" ("id","is_user_based","discount_percent","flat_discount","min_order","created_by","max_value","is_invalidated","created_at","is_apply_for_all","valid_till","max_limit_for_user","coupon_code","sku_ids","exclusive_apply","is_first_order_only") VALUES(30,1,15,NULL,499,4,100,0,'2026-09-01 13:38:08',0,'2026-09-30T05:38:00.000Z',2,'FRESH10',NULL,0,0); INSERT INTO "coupons" ("id","is_user_based","discount_percent","flat_discount","min_order","created_by","max_value","is_invalidated","created_at","is_apply_for_all","valid_till","max_limit_for_user","coupon_code","sku_ids","exclusive_apply","is_first_order_only") VALUES(31,1,15,NULL,499,4,100,0,'2026-09-01 13:39:31',0,'2026-09-30T05:38:00.000Z',2,'FRND24',NULL,0,0); -INSERT INTO "coupons" ("id","is_user_based","discount_percent","flat_discount","min_order","created_by","max_value","is_invalidated","created_at","is_apply_for_all","valid_till","max_limit_for_user","coupon_code","sku_ids","exclusive_apply","is_first_order_only") VALUES(32,1,15,NULL,299,4,100,0,'2026-09-04 14:43:48',0,'2026-09-30T14:43:00.000Z',3,'MBNRMEMES10',NULL,0,0); +INSERT INTO "coupons" ("id","is_user_based","discount_percent","flat_discount","min_order","created_by","max_value","is_invalidated","created_at","is_apply_for_all","valid_till","max_limit_for_user","coupon_code","sku_ids","exclusive_apply","is_first_order_only") VALUES(32,1,15,NULL,299,4,100,0,'2026-09-04 14:43:48',0,'2026-09-27T06:30:00.000Z',3,'MBNRMEMES10',NULL,0,0); INSERT INTO "coupons" ("id","is_user_based","discount_percent","flat_discount","min_order","created_by","max_value","is_invalidated","created_at","is_apply_for_all","valid_till","max_limit_for_user","coupon_code","sku_ids","exclusive_apply","is_first_order_only") VALUES(33,1,15,NULL,299,4,50,0,'2026-09-07 06:09:56',0,'2026-09-30T06:08:00.000Z',3,'FRESH40',NULL,0,0); -INSERT INTO "coupons" ("id","is_user_based","discount_percent","flat_discount","min_order","created_by","max_value","is_invalidated","created_at","is_apply_for_all","valid_till","max_limit_for_user","coupon_code","sku_ids","exclusive_apply","is_first_order_only") VALUES(34,0,15,NULL,299,4,100,0,'2026-09-11 13:02:25',1,'2026-09-30T00:00:00.000Z',1,'MBNRMEMES30',NULL,0,1); +INSERT INTO "coupons" ("id","is_user_based","discount_percent","flat_discount","min_order","created_by","max_value","is_invalidated","created_at","is_apply_for_all","valid_till","max_limit_for_user","coupon_code","sku_ids","exclusive_apply","is_first_order_only") VALUES(34,0,15,NULL,299,4,100,0,'2026-09-11 13:02:25',1,'2026-09-27T06:30:00.000Z',1,'MBNRMEMES30',NULL,0,1); INSERT INTO "coupons" ("id","is_user_based","discount_percent","flat_discount","min_order","created_by","max_value","is_invalidated","created_at","is_apply_for_all","valid_till","max_limit_for_user","coupon_code","sku_ids","exclusive_apply","is_first_order_only") VALUES(35,0,15,NULL,250,6,100,1,'2026-09-12 18:10:47',1,'2026-09-30T18:10:00.000Z',1,'DEMO_FIRST',NULL,0,0); +INSERT INTO "coupons" ("id","is_user_based","discount_percent","flat_discount","min_order","created_by","max_value","is_invalidated","created_at","is_apply_for_all","valid_till","max_limit_for_user","coupon_code","sku_ids","exclusive_apply","is_first_order_only") VALUES(36,1,15,NULL,499,4,100,0,'2026-09-14 05:41:00',0,'2026-09-30T05:38:00.000Z',2,'FRND23',NULL,0,0); +INSERT INTO "coupons" ("id","is_user_based","discount_percent","flat_discount","min_order","created_by","max_value","is_invalidated","created_at","is_apply_for_all","valid_till","max_limit_for_user","coupon_code","sku_ids","exclusive_apply","is_first_order_only") VALUES(37,1,NULL,50,499,4,50,0,'2026-09-15 13:10:06',0,'2026-08-31T09:31:00.000Z',2,'MILAD50',NULL,0,0); +INSERT INTO "coupons" ("id","is_user_based","discount_percent","flat_discount","min_order","created_by","max_value","is_invalidated","created_at","is_apply_for_all","valid_till","max_limit_for_user","coupon_code","sku_ids","exclusive_apply","is_first_order_only") VALUES(38,1,15,NULL,399,4,100,0,'2026-09-15 13:18:49',0,'2026-08-31T09:32:00.000Z',2,'MILAD15',NULL,0,0); +INSERT INTO "coupons" ("id","is_user_based","discount_percent","flat_discount","min_order","created_by","max_value","is_invalidated","created_at","is_apply_for_all","valid_till","max_limit_for_user","coupon_code","sku_ids","exclusive_apply","is_first_order_only") VALUES(39,1,15,NULL,299,4,100,0,'2026-09-23 02:28:23',0,'2026-09-30T03:19:00.000Z',2,'FRND30',NULL,0,0); +INSERT INTO "coupons" ("id","is_user_based","discount_percent","flat_discount","min_order","created_by","max_value","is_invalidated","created_at","is_apply_for_all","valid_till","max_limit_for_user","coupon_code","sku_ids","exclusive_apply","is_first_order_only") VALUES(40,1,15,NULL,299,4,100,0,'2026-09-24 16:56:49',0,'2026-09-30T03:19:00.000Z',2,'FRND31',NULL,0,0); +INSERT INTO "coupons" ("id","is_user_based","discount_percent","flat_discount","min_order","created_by","max_value","is_invalidated","created_at","is_apply_for_all","valid_till","max_limit_for_user","coupon_code","sku_ids","exclusive_apply","is_first_order_only") VALUES(41,1,15,NULL,299,4,50,0,'2026-09-26 03:05:17',0,'2026-10-30T07:02:00.000Z',3,'FRND43',NULL,0,0); +INSERT INTO "coupons" ("id","is_user_based","discount_percent","flat_discount","min_order","created_by","max_value","is_invalidated","created_at","is_apply_for_all","valid_till","max_limit_for_user","coupon_code","sku_ids","exclusive_apply","is_first_order_only") VALUES(42,1,15,NULL,299,4,50,0,'2026-09-26 03:05:43',0,'2026-10-30T07:02:00.000Z',3,'FRESH43',NULL,0,0); CREATE TABLE IF NOT EXISTS "delivery_slot_info" ("id" INTEGER PRIMARY KEY, "delivery_time" TEXT NOT NULL, "freeze_time" TEXT NOT NULL, "is_active" INTEGER NOT NULL DEFAULT true, "delivery_sequence" TEXT, "is_flash" INTEGER NOT NULL DEFAULT false, "group_ids" TEXT, "is_capacity_full" INTEGER NOT NULL DEFAULT false, "sku_ids" text DEFAULT '[]'); INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(8,'2025-12-24T19:30:00.000Z','2025-12-25T05:30:00.000Z',1,'{"1":[72,71,67],"2":[70],"3":[69,73,74,76,75]}',0,NULL,0,'[]'); INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(9,'2025-12-25T04:30:00.000Z','2025-12-25T02:30:00.000Z',1,'{"1":[62,60]}',0,NULL,0,'[]'); @@ -2332,7 +2487,120 @@ INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active" INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1819,'2026-09-14T10:30:00.000Z','2026-09-14T10:20:00.000Z',1,'{}',0,'[12,11,10,9,8,5]',0,'[129,130,131,132,133,134,135,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,6,7,8,11,13,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,5,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,2,3,10,21,23,24,36,40,41,42,80,137,149,147,141,140,139,138,136]'); INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1820,'2026-09-14T12:30:00.000Z','2026-09-14T12:20:00.000Z',1,'{}',0,'[5,9,10,11,12]',0,'[2,3,7,8,9,10,11,21,22,23,24,25,26,36,38,39,40,41,42,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,80,81,82,96,100,102,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,129,130,131,132,133,134,135,137,141,148]'); INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1821,'2026-09-14T13:30:00.000Z','2026-09-14T12:20:00.000Z',1,'{}',0,'[12,11,10,9,5]',0,'[129,130,131,132,133,134,135,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,7,8,11,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,2,3,10,21,23,24,36,40,41,42,80,137,141]'); -INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1822,'2026-09-15T01:30:00.000Z','2026-09-15T01:20:00.000Z',1,'{}',0,'[9,8,7,5]',0,'[9,22,81,82,102,5,6,13,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,4,14,35,86,98,99,2,3,10,21,23,24,36,40,41,42,80,137,149,147,140,139,138,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1822,'2026-09-15T01:30:00.000Z','2026-09-15T01:20:00.000Z',1,'{}',0,'[5,7,8,9]',0,'[2,3,4,5,6,9,10,13,14,16,17,18,19,21,22,23,24,27,28,29,30,31,32,33,35,36,37,40,41,42,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,80,81,82,86,88,89,90,91,92,94,95,97,98,99,101,102,103,127,136,137,138,139,140,144,145,146,147,149]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1823,'2026-09-15T02:30:00.000Z','2026-09-15T02:00:00.000Z',1,'{}',0,'[2,3,5,7,8,9,10,13]',0,'[1,2,3,4,5,6,7,8,9,10,11,13,14,15,16,17,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,86,88,89,90,91,92,94,95,96,97,98,99,100,101,102,103,125,126,127,137,142,143,144,145,146,149,147,141,140,139,138,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1824,'2026-09-15T05:30:00.000Z','2026-09-15T05:00:00.000Z',1,'{}',0,'[10,9,8,7,3,5,2,11,12]',0,'[1,2,3,4,5,6,7,8,9,10,11,13,14,15,16,17,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,76,77,78,79,80,81,82,86,88,89,90,91,92,94,95,96,97,98,99,100,101,102,103,125,126,127,137,144,145,146,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,129,130,131,132,133,134,135,149,147,141,140,139,138,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1825,'2026-09-15T06:30:00.000Z','2026-09-15T06:00:00.000Z',1,'{}',0,'[2,3,5,7,8,9,10,11,12]',0,'[1,2,3,4,5,6,7,8,9,10,11,13,14,15,16,17,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,76,77,78,79,80,81,82,86,88,89,90,91,92,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,129,130,131,132,133,134,135,136,137,138,139,140,141,144,145,146,147,148,149]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1826,'2026-09-15T09:30:00.000Z','2026-09-15T09:00:00.000Z',1,'{}',0,'[2,3,5,8,9,10,11,12]',0,'[1,2,3,5,7,8,9,10,11,13,15,16,17,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,76,77,78,79,80,81,82,88,89,90,91,92,94,95,96,97,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,129,130,131,132,133,134,135,136,137,138,139,140,141,144,145,146,147,148,149]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1827,'2026-09-15T10:30:00.000Z','2026-09-15T10:00:00.000Z',1,'{}',0,'[10,9,8,3,5,2,11,12]',0,'[1,2,3,5,7,8,9,10,11,13,15,16,17,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,76,77,78,79,80,81,82,88,89,90,91,92,94,95,96,97,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,129,130,131,132,133,134,135,136,137,138,139,140,141,144,145,146,147,148,149]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1828,'2026-09-15T12:30:00.000Z','2026-09-15T12:00:00.000Z',1,'{}',0,'[12,11,10,9,5]',0,'[129,130,131,132,133,134,135,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,6,7,8,11,13,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,2,3,10,21,23,24,36,40,41,42,80,137]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1829,'2026-09-15T13:30:00.000Z','2026-09-15T13:00:00.000Z',1,'{}',0,'[12,11,10,9,5]',0,'[2,3,6,7,8,9,10,11,13,21,22,23,24,25,26,36,38,39,40,41,42,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,80,81,82,96,100,102,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,129,130,131,132,133,134,135,137,148]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1830,'2026-09-16T01:30:00.000Z','2026-09-16T01:20:00.000Z',1,'{}',0,'[9,8,7,5]',0,'[9,22,81,82,102,5,6,13,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,4,14,35,86,98,99,2,3,10,21,23,24,36,40,41,42,80,137,149,147,140,139,138,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1831,'2026-09-16T02:30:00.000Z','2026-09-16T02:20:00.000Z',1,'{}',0,'[10,11,9,8,7,5]',0,'[6,7,8,11,13,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,9,22,81,82,102,5,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,4,14,35,86,98,99,2,3,10,21,23,24,36,40,41,42,80,137,149,147,141,140,139,138,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1832,'2026-09-16T05:30:00.000Z','2026-09-16T05:20:00.000Z',1,'{}',0,'[12,11,10,9,8,7,5]',0,'[129,130,131,132,133,134,135,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,6,7,8,11,13,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,5,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,4,14,35,86,98,99,2,3,10,21,23,24,36,40,41,42,80,137,147,149,141,140,139,138,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1833,'2026-09-16T06:30:00.000Z','2026-09-16T06:20:00.000Z',1,'{}',0,'[12,11,10,9,8,7,5]',0,'[129,130,131,132,133,134,135,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,6,7,8,11,13,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,4,14,35,86,98,99,2,3,10,21,23,24,36,40,41,42,80,137,5,147,149,141,140,139,138,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1834,'2026-09-16T09:30:00.000Z','2026-09-16T09:20:00.000Z',1,'{}',0,'[12,11,10,9,8,5]',0,'[129,130,131,132,133,134,135,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,7,8,11,13,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,5,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,2,3,10,21,23,24,36,40,41,42,80,137,147,149,141,140,139,138,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1835,'2026-09-16T10:30:00.000Z','2026-09-16T10:20:00.000Z',1,'{}',0,'[5,9,10,11,12]',0,'[2,3,7,8,9,10,11,21,22,23,24,25,26,36,38,39,40,41,42,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,80,81,82,96,100,102,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,129,130,131,132,133,134,135,137,138,139,140,141,147,148]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1836,'2026-09-16T12:30:00.000Z','2026-09-16T12:20:00.000Z',1,'{}',0,'[5,9,10,11,12]',0,'[2,3,7,8,9,10,11,21,22,23,24,25,26,36,38,39,40,41,42,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,80,81,82,96,100,102,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,129,130,131,132,133,134,135,137,141,148]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1837,'2026-09-16T13:30:00.000Z','2026-09-16T13:20:00.000Z',1,'{}',0,'[5,9,10,11,12]',0,'[2,3,7,8,9,10,11,13,21,22,23,24,25,26,36,38,39,40,41,42,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,80,81,82,96,100,102,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,129,130,131,132,133,134,135,137,141,147,148]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1838,'2026-09-17T01:30:00.000Z','2026-09-17T01:20:00.000Z',1,'{}',0,'[9,8,7,5]',0,'[9,22,81,82,102,5,6,13,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,4,14,35,86,98,99,2,3,10,21,23,24,36,40,41,42,80,137,149,147,140,139,138,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1839,'2026-09-17T02:30:00.000Z','2026-09-17T02:20:00.000Z',1,'{}',0,'[9,8,7,5,10,11]',0,'[9,22,81,82,102,5,6,13,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,4,14,35,86,98,99,2,3,10,21,23,24,36,40,41,42,80,137,7,8,11,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,149,147,141,140,139,138,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1840,'2026-09-17T05:30:00.000Z','2026-09-17T05:00:00.000Z',1,'{}',0,'[12,11,10,9,8,7,5]',0,'[2,3,4,5,6,7,8,9,10,11,13,14,16,17,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,76,77,78,79,80,81,82,86,88,89,90,91,92,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,129,130,131,132,133,134,135,136,137,138,139,140,141,144,145,146,147,148,149]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1841,'2026-09-17T06:30:00.000Z','2026-09-17T06:00:00.000Z',1,'{}',0,'[12,11,10,9,8,7,5]',0,'[2,3,4,5,6,7,8,9,10,11,13,14,16,17,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,76,77,78,79,80,81,82,86,88,89,90,91,92,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,129,130,131,132,133,134,135,136,137,138,139,140,141,144,145,146,147,148,149]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1842,'2026-09-17T09:30:00.000Z','2026-09-17T09:00:00.000Z',1,'{}',0,'[12,11,10,9,8,5]',0,'[2,3,5,7,8,9,10,11,13,16,17,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,76,77,78,79,80,81,82,88,89,90,91,92,94,95,96,97,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,129,130,131,132,133,134,135,136,137,138,139,140,141,144,145,146,147,148,149]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1843,'2026-09-17T10:30:00.000Z','2026-09-17T10:00:00.000Z',1,'{}',0,'[12,11,10,9,8,5]',0,'[2,3,5,7,8,9,10,11,13,16,17,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,76,77,78,79,80,81,82,88,89,90,91,92,94,95,96,97,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,129,130,131,132,133,134,135,136,137,138,139,140,141,144,145,146,147,148,149]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1844,'2026-09-17T12:30:00.000Z','2026-09-17T12:00:00.000Z',1,'{}',0,'[5,9,10,11,12]',0,'[2,3,6,7,8,9,10,11,21,22,23,24,25,26,36,38,39,40,41,42,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,80,81,82,96,100,102,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,129,130,131,132,133,134,135,137,141,148]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1845,'2026-09-17T13:30:00.000Z','2026-09-17T13:00:00.000Z',1,'{}',0,'[12,11,10,9,5]',0,'[2,3,6,7,8,9,10,11,21,22,23,24,25,26,36,38,39,40,41,42,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,80,81,82,96,100,102,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,129,130,131,132,133,134,135,136,137,141,148]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1846,'2026-09-18T13:30:00.000Z','2026-09-18T13:00:00.000Z',1,'{}',0,'[3,5,7,8,9,10]',0,'[2,3,4,5,6,7,8,9,10,11,13,14,16,17,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,76,77,78,79,80,81,82,86,88,89,90,91,92,94,95,96,97,98,99,100,101,102,103,125,126,127,137,144,145,146,147,141,139,140,138,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1847,'2026-09-18T02:30:00.000Z','2026-09-18T02:00:00.000Z',1,'{}',0,'[3,5,7,8,9,10]',0,'[2,3,4,5,6,7,8,9,10,11,13,14,16,17,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,76,77,78,79,80,81,82,86,88,89,90,91,92,94,95,96,97,98,99,100,101,102,103,125,126,127,136,137,138,139,140,141,144,145,146,147]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1848,'2026-09-18T05:30:00.000Z','2026-09-18T05:20:00.000Z',1,'{}',0,'[12,11,10,9,8,7,5]',0,'[129,130,131,132,133,134,135,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,6,7,8,11,13,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,5,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,4,14,35,86,98,99,2,3,10,21,23,24,36,40,41,42,80,137,149,147,141,140,138,139,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1849,'2026-09-18T01:30:00.000Z','2026-09-18T01:20:00.000Z',1,'{}',0,'[9,8,7,5]',0,'[9,22,81,82,102,5,6,13,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,4,14,35,86,98,99,2,3,10,21,23,24,36,40,41,42,80,137,149,147,140,139,138,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1850,'2026-09-18T06:30:00.000Z','2026-09-18T06:20:00.000Z',1,'{}',0,'[12,11,10,9,8,7,5]',0,'[129,130,131,132,133,134,135,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,6,7,8,11,13,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,5,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,4,14,35,86,98,99,2,3,10,21,23,24,36,40,41,42,80,137,149,147,141,140,139,138,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1851,'2026-09-18T09:30:00.000Z','2026-09-18T09:20:00.000Z',1,'{}',0,'[12,11,10,9,8,5]',0,'[129,130,131,132,133,134,135,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,6,7,8,11,13,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,5,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,2,3,10,21,23,24,36,40,41,42,80,137,149,147,141,140,139,138,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1852,'2026-09-18T10:30:00.000Z','2026-09-18T10:20:00.000Z',1,'{}',0,'[12,11,10,9,8,5]',0,'[129,130,131,132,133,134,135,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,7,8,11,13,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,5,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,2,3,10,21,23,24,36,40,41,42,80,137,149,147,141,140,139,138,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1853,'2026-09-18T12:30:00.000Z','2026-09-18T12:20:00.000Z',1,'{}',0,'[12,11,10,9,5]',0,'[129,130,131,132,133,134,135,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,6,7,8,11,13,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,2,3,10,21,23,24,36,40,41,42,80,137,141]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1854,'2026-09-19T01:30:00.000Z','2026-09-19T01:20:00.000Z',1,'{}',0,'[9,8,7,5]',0,'[9,22,81,82,102,5,6,13,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,4,14,35,86,98,99,2,3,10,21,23,24,36,40,41,42,80,137,149,147,140,139,138,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1855,'2026-09-19T02:30:00.000Z','2026-09-19T02:20:00.000Z',1,'{}',0,'[12,11,10,9,8,7,5]',0,'[129,130,131,132,133,134,135,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,6,7,8,11,13,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,5,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,4,14,35,86,98,99,2,3,10,21,23,24,36,40,41,42,80,137,149,147,141,140,139,138,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1856,'2026-09-19T05:30:00.000Z','2026-09-19T05:20:00.000Z',1,'{}',0,'[12,11,10,9,8,7,5]',0,'[129,130,131,132,133,134,135,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,6,7,8,11,13,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,5,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,4,14,35,86,98,99,2,3,10,21,23,24,36,40,41,42,80,137,149,147,141,140,139,138,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1857,'2026-09-19T06:30:00.000Z','2026-09-19T06:20:00.000Z',1,'{}',0,'[12,11,10,9,8,5]',0,'[129,130,131,132,133,134,135,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,7,8,11,13,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,5,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,2,3,10,21,23,24,36,40,41,42,80,137,149,147,141,140,139,138,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1858,'2026-09-19T09:30:00.000Z','2026-09-19T09:20:00.000Z',1,'{}',0,'[12,11,10,9,8,5]',0,'[129,130,131,132,133,134,135,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,6,7,8,11,13,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,5,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,2,3,10,21,23,24,36,40,41,42,80,137,149,147,141,140,139,138,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1859,'2026-09-19T10:30:00.000Z','2026-09-19T10:20:00.000Z',1,'{}',0,'[12,11,10,9,8,5]',0,'[129,130,131,132,133,134,135,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,7,8,11,13,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,5,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,2,3,10,21,23,24,36,40,41,42,80,137,149,147,141,140,139,138,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1860,'2026-09-19T12:30:00.000Z','2026-09-19T12:20:00.000Z',1,'{}',0,'[12,11,10,9,5]',0,'[129,130,131,132,133,134,135,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,6,7,8,11,13,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,2,3,10,21,23,24,36,40,41,42,80,137,141]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1861,'2026-09-19T13:30:00.000Z','2026-09-19T13:20:00.000Z',1,'{}',0,'[12,11,10,9,5]',0,'[129,130,131,132,133,134,135,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,6,7,8,11,13,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,2,3,10,21,23,24,36,40,41,42,80,137,141]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1862,'2026-09-20T01:30:00.000Z','2026-09-20T01:20:00.000Z',1,'{}',0,'[9,13,8,7,5]',0,'[9,22,81,82,102,75,83,142,143,5,6,13,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,4,14,35,86,98,99,2,3,10,21,23,24,36,40,41,42,80,137,149,147,138,139,140,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1863,'2026-09-20T02:30:00.000Z','2026-09-13T02:20:00.000Z',1,'{}',0,'[13,9,8,7,5]',0,'[75,83,142,143,9,22,81,82,102,5,6,13,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,4,14,35,86,98,99,2,3,10,21,23,24,36,40,41,42,80,137,149,147,140,139,138,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1864,'2026-09-20T05:30:00.000Z','2026-09-20T05:20:00.000Z',1,'{}',0,'[5,7,8,9,10,11,12,13]',0,'[2,3,4,5,6,7,8,9,10,11,13,14,16,17,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,86,88,89,90,91,92,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,1]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1865,'2026-09-20T06:30:00.000Z','2026-09-20T06:20:00.000Z',1,'{}',0,'[12,11,10,9,8,7,5]',0,'[129,130,131,132,133,134,135,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,6,7,8,11,13,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,5,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,4,14,35,86,98,99,2,3,10,21,23,24,36,40,41,42,80,137,149,147,141,140,139,138,136,1]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1866,'2026-09-20T09:30:00.000Z','2026-09-20T09:20:00.000Z',1,'{}',0,'[12,11,10,9,8,5]',0,'[129,130,131,132,133,134,135,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,6,7,8,11,13,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,5,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,2,3,10,21,23,24,36,40,41,42,80,137,149,147,141,140,139,138,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1867,'2026-09-20T10:30:00.000Z','2026-09-20T10:20:00.000Z',1,'{}',0,'[12,11,10,9,8,5]',0,'[129,130,131,132,133,134,135,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,6,7,8,11,13,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,5,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,2,3,10,21,23,24,36,40,41,42,80,137,149,147,141,140,139,138,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1868,'2026-09-20T12:30:00.000Z','2026-09-20T12:20:00.000Z',1,'{}',0,'[12,11,10,9,5]',0,'[129,130,131,132,133,134,135,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,6,7,8,11,13,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,2,3,10,21,23,24,36,40,41,42,80,137,141]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1869,'2026-09-20T13:30:00.000Z','2026-09-20T13:20:00.000Z',1,'{}',0,'[12,11,10,9,5]',0,'[129,130,131,132,133,134,135,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,6,7,8,11,13,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,2,3,10,21,23,24,36,40,41,42,80,137,141]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1870,'2026-09-21T01:30:00.000Z','2026-09-21T01:20:00.000Z',1,'{}',0,'[9,8,7,5]',0,'[9,22,81,82,102,5,6,13,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,4,14,35,86,98,99,2,3,10,21,23,24,36,40,41,42,80,137,149,147,140,139,138,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1871,'2026-09-21T02:30:00.000Z','2026-09-21T02:20:00.000Z',1,'{}',0,'[12,11,10,9,8,7,5]',0,'[129,130,131,132,133,134,135,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,6,7,8,11,13,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,5,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,4,14,35,86,98,99,2,3,10,21,23,24,36,40,41,42,80,137,149,147,141,140,139,138,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1872,'2026-09-21T05:30:00.000Z','2026-09-21T05:20:00.000Z',1,'{}',0,'[12,11,10,9,8,7,5]',0,'[129,130,131,132,133,134,135,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,6,7,8,11,13,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,5,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,4,14,35,86,98,99,2,3,10,21,23,24,36,40,41,42,80,137,149,147,141,140,139,138,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1873,'2026-09-21T06:30:00.000Z','2026-09-21T06:20:00.000Z',1,'{}',0,'[12,11,10,9,8,5]',0,'[129,130,131,132,133,134,135,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,6,7,8,11,13,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,5,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,2,3,10,21,23,24,36,40,41,42,80,137,149,147,141,140,139,138,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1874,'2026-09-21T09:30:00.000Z','2026-09-21T09:20:00.000Z',1,'{}',0,'[5,9,10,11,12]',0,'[2,3,7,8,9,10,11,21,22,23,24,25,26,36,38,39,40,41,42,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,80,81,82,96,100,102,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,129,130,131,132,133,134,135,137,141,148]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1875,'2026-09-21T10:30:00.000Z','2026-09-21T10:20:00.000Z',1,'{}',0,'[5,9,10,11,12]',0,'[2,3,7,8,9,10,11,21,22,23,24,25,26,36,38,39,40,41,42,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,80,81,82,96,100,102,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,129,130,131,132,133,134,135,137,141,148]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1876,'2026-09-21T12:30:00.000Z','2026-09-21T12:20:00.000Z',1,'{}',0,'[12,11,10,9,5]',0,'[129,130,131,132,133,134,135,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,7,8,11,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,2,3,10,21,23,24,36,40,41,42,80,137,141]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1877,'2026-09-21T13:30:00.000Z','2026-09-21T13:20:00.000Z',1,'{}',0,'[12,11,10,9,8,5]',0,'[129,130,131,132,133,134,135,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,7,8,11,13,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,5,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,2,3,10,21,23,24,36,40,41,42,80,137]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1878,'2026-09-22T01:30:00.000Z','2026-09-22T01:20:00.000Z',1,'{}',0,'[9,8,7,5]',0,'[9,22,81,82,102,5,6,13,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,4,14,35,86,98,99,2,3,10,21,23,24,36,40,41,42,80,137,149,147,140,139,138,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1879,'2026-09-22T02:30:00.000Z','2026-09-22T02:15:00.000Z',1,'{}',0,'[2,3,5,7,8,9,13]',0,'[1,2,3,4,5,9,10,14,15,16,17,18,19,21,22,23,24,27,28,29,30,31,32,33,35,36,37,40,41,42,45,64,65,66,67,68,69,70,71,72,74,75,76,77,78,79,80,81,82,83,86,88,89,90,91,92,94,95,97,98,99,101,102,103,127,137,142,143,144,145,146,149,147,140,139,138,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1880,'2026-09-22T05:30:00.000Z','2026-09-22T05:15:00.000Z',1,'{}',0,'[2,3,5,7,8,9,10,11,12]',0,'[2,3,4,5,6,7,8,9,10,11,13,14,15,16,17,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,76,77,78,79,80,81,82,86,88,89,90,91,92,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,129,130,131,132,133,134,135,137,144,145,146,148,1,147,149,140,139,138,136,141]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1881,'2026-09-22T06:30:00.000Z','2026-09-22T06:15:00.000Z',1,'{}',0,'[2,3,5,7,8,9,10,11,12]',0,'[1,2,3,4,5,6,7,8,9,10,11,13,14,15,16,17,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,76,77,78,79,80,81,82,86,88,89,90,91,92,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,129,130,131,132,133,134,135,137,144,145,146,147,148,149,141,140,139,138,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1882,'2026-09-22T09:30:00.000Z','2026-09-22T09:00:00.000Z',1,'{}',0,'[2,3,5,8,9,10,11,12]',0,'[1,2,3,5,7,8,9,10,11,13,15,16,17,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,76,77,78,79,80,81,82,88,89,90,91,92,94,95,96,97,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,129,130,131,132,133,134,135,137,144,145,146,147,148,149,140,139,138,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1883,'2026-09-22T10:30:00.000Z','2026-09-22T10:00:00.000Z',1,'{}',0,'[9,8,5,3,2,12,11,10]',0,'[1,2,3,5,7,8,9,10,11,13,15,16,17,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,76,77,78,79,80,81,82,88,89,90,91,92,94,95,96,97,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,129,130,131,132,133,134,135,137,144,145,146,147,148,149,136,138,139,140,141]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1884,'2026-09-22T12:30:00.000Z','2026-09-22T12:15:00.000Z',1,'{}',0,'[12,11,10,9,5,3,2]',0,'[129,130,131,132,133,134,135,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,6,7,8,11,13,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,2,3,10,21,23,24,36,40,41,42,80,137,1,15]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1885,'2026-09-22T13:30:00.000Z','2026-09-22T13:15:00.000Z',1,'{}',0,'[12,11,10,9,5,3,2]',0,'[1,2,3,6,7,8,9,10,11,13,15,21,22,23,24,25,26,36,38,39,40,41,42,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,80,81,82,96,100,102,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,129,130,131,132,133,134,135,137,148]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1886,'2026-09-23T01:30:00.000Z','2026-09-23T01:15:00.000Z',1,'{}',0,'[9,8,7,5]',0,'[2,3,4,5,6,9,10,13,14,16,17,18,19,21,22,23,24,27,28,29,30,31,32,33,35,36,37,40,41,42,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,80,81,82,86,88,89,90,91,92,94,95,97,98,99,101,102,103,127,136,137,138,139,140,144,145,146,147,149]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1887,'2026-09-23T02:30:00.000Z','2026-09-23T02:15:00.000Z',1,'{}',0,'[2,3,5,7,8,9]',0,'[1,2,3,4,5,9,10,14,15,16,17,18,19,21,22,23,24,27,28,29,30,31,32,33,35,36,37,40,41,42,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,80,81,82,86,88,89,90,91,92,94,95,97,98,99,101,102,103,127,136,137,138,139,140,144,145,146,147,149]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1888,'2026-09-23T05:30:00.000Z','2026-09-23T05:15:00.000Z',1,'{}',0,'[2,3,5,7,8,9,10,11,12]',0,'[1,2,3,4,5,6,7,8,9,10,11,13,14,15,16,17,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,76,77,78,79,80,81,82,86,88,89,90,91,92,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,129,130,131,132,133,134,135,136,137,138,139,140,141,144,145,146,147,148,149]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1889,'2026-09-23T06:30:00.000Z','2026-09-23T06:00:00.000Z',1,'{}',0,'[2,3,5,7,8,9,10,11,12]',0,'[1,2,3,4,5,6,7,8,9,10,11,13,14,15,16,17,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,76,77,78,79,80,81,82,86,88,89,90,91,92,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,129,130,131,132,133,134,135,136,137,138,139,140,141,144,145,146,147,148,149]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1890,'2026-09-23T09:30:00.000Z','2026-09-23T09:00:00.000Z',1,'{}',0,'[2,3,5,8,9,10,11,12]',0,'[1,2,3,5,7,8,9,10,11,13,15,16,17,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,76,77,78,79,80,81,82,88,89,90,91,92,94,95,96,97,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,129,130,131,132,133,134,135,136,137,138,139,140,144,145,146,147,148,149]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1891,'2026-09-23T10:30:00.000Z','2026-09-23T10:00:00.000Z',1,'{}',0,'[9,8,5,3,2,12,11,10]',0,'[1,2,3,5,7,8,9,10,11,13,15,16,17,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,76,77,78,79,80,81,82,88,89,90,91,92,94,95,96,97,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,129,130,131,132,133,134,135,136,137,138,139,140,141,144,145,146,147,148,149]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1892,'2026-09-23T12:30:00.000Z','2026-09-23T12:00:00.000Z',1,'{}',0,'[12,11,10,9,5,3,2]',0,'[1,2,3,6,7,8,9,10,11,13,15,21,22,23,24,25,26,36,38,39,40,41,42,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,80,81,82,96,100,102,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,129,130,131,132,133,134,135,137,148]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1893,'2026-09-23T13:30:00.000Z','2026-09-23T13:00:00.000Z',1,'{}',0,'[12,11,10,9,5,3,2]',0,'[1,2,3,6,7,8,9,10,11,13,15,21,22,23,24,25,26,36,38,39,40,41,42,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,80,81,82,96,100,102,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,129,130,131,132,133,134,135,137,148]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1894,'2026-09-24T01:30:00.000Z','2026-09-24T01:14:00.000Z',1,'{}',0,'[5,8,9]',0,'[2,3,5,9,10,13,16,17,18,19,21,22,23,24,27,28,29,30,31,32,33,36,37,40,41,42,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,80,81,82,88,89,90,91,92,94,95,97,101,102,103,127,137,144,145,146]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1895,'2026-09-24T02:30:00.000Z','2026-09-24T02:20:00.000Z',1,'{}',0,'[12,11,10,9,8,7,5]',0,'[129,130,131,132,133,134,135,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,6,7,8,11,13,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,5,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,4,14,35,86,98,99,2,3,10,21,23,24,36,40,41,42,80,137,149,147,141,140,139,138,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1896,'2026-09-24T05:30:00.000Z','2026-09-24T05:15:00.000Z',1,'{}',0,'[2,3,5,7,8,9,10,11,12]',0,'[1,2,3,4,5,6,7,8,9,10,11,13,14,15,16,17,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,76,77,78,79,80,81,82,86,88,89,90,91,92,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,129,130,131,132,133,134,135,136,137,138,139,140,141,144,145,146,147,148,149]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1897,'2026-09-24T06:30:00.000Z','2026-09-24T06:15:00.000Z',1,'{}',0,'[2,3,5,7,8,9,10,11,12]',0,'[1,2,3,4,5,6,7,8,9,10,11,13,14,15,16,17,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,76,77,78,79,80,81,82,86,88,89,90,91,92,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,129,130,131,132,133,134,135,136,137,138,139,140,141,144,145,146,147,148,149]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1898,'2026-09-24T09:30:00.000Z','2026-09-24T09:00:00.000Z',1,'{}',0,'[2,3,5,8,9,10,11,12]',0,'[1,2,3,5,7,8,9,10,11,13,15,16,17,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,76,77,78,79,80,81,82,88,89,90,91,92,94,95,96,97,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,129,130,131,132,133,134,135,136,137,138,139,140,144,145,146,147,148,149]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1899,'2026-09-24T10:30:00.000Z','2026-09-24T10:00:00.000Z',1,'{}',0,'[9,8,5,3,2,12,11,10]',0,'[1,2,3,5,7,8,9,10,11,13,15,16,17,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,76,77,78,79,80,81,82,88,89,90,91,92,94,95,96,97,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,129,130,131,132,133,134,135,136,137,138,139,140,141,144,145,146,147,148,149]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1900,'2026-09-24T12:30:00.000Z','2026-09-24T12:00:00.000Z',1,'{}',0,'[12,11,10,9,5,3,2]',0,'[1,2,3,6,7,8,9,10,11,13,15,21,22,23,24,25,26,36,38,39,40,41,42,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,80,81,82,96,100,102,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,129,130,131,132,133,134,135,137,148]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1901,'2026-09-24T13:30:00.000Z','2026-09-24T13:00:00.000Z',1,'{}',0,'[5,9,10,11,12]',0,'[2,3,9,10,21,22,23,24,36,40,41,42,80,81,82,102,137,147,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,129,130,131,132,133,134,135,6,7,8,11,13,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1902,'2026-09-25T01:30:00.000Z','2026-09-25T01:00:00.000Z',1,'{}',0,'[12,11,10,9,8,7,5]',0,'[2,3,4,5,6,7,8,9,10,11,13,14,16,17,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,76,77,78,79,80,81,82,86,88,89,90,91,92,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,129,130,131,132,133,134,135,136,137,138,139,140,141,144,145,146,147,148,149,1]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1903,'2026-09-25T02:30:00.000Z','2026-09-25T02:20:00.000Z',1,'{}',0,'[12,11,10,9,8,7,5]',0,'[129,130,131,132,133,134,135,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,6,7,8,11,13,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,5,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,4,14,35,86,98,99,2,3,10,21,23,24,36,40,41,42,80,137,149,147,141,140,139,138,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1904,'2026-09-25T05:30:00.000Z','2026-09-25T05:20:00.000Z',1,'{}',0,'[12,11,10,9,8,7,5]',0,'[129,130,131,132,133,134,135,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,6,7,8,11,13,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,5,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,4,14,35,86,98,99,2,3,10,21,23,24,36,40,41,42,80,137,149,147,141,140,139,138,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1905,'2026-09-25T06:30:00.000Z','2026-09-25T06:20:00.000Z',1,'{}',0,'[12,11,10,9,8,7,5]',0,'[129,130,131,132,133,134,135,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,6,7,8,11,13,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,5,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,4,14,35,86,98,99,2,3,10,21,23,24,36,40,41,42,80,137,149,147,141,140,139,138,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1906,'2026-09-25T06:30:00.000Z','2026-09-25T06:20:00.000Z',1,'{}',0,'[12,11,10,9,8,7,5]',0,'[129,130,131,132,133,134,135,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,6,7,8,11,13,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,5,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,4,14,35,86,98,99,2,3,10,21,23,24,36,40,41,42,80,137,149,147,141,140,139,138,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1907,'2026-09-25T09:30:00.000Z','2026-09-25T09:20:00.000Z',1,'{}',0,'[12,11,10,9,8,5]',0,'[129,130,131,132,133,134,135,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,6,7,8,11,13,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,5,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,2,3,10,21,23,24,36,40,41,42,80,137,149,147,141,140,139,138,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1908,'2026-09-25T10:30:00.000Z','2026-09-25T10:20:00.000Z',1,'{}',0,'[11,12,10,9,8,5]',0,'[104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,129,130,131,132,133,134,135,6,7,8,11,13,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,5,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,2,3,10,21,23,24,36,40,41,42,80,137,149,147,141,140,139,138,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1909,'2026-09-25T13:30:00.000Z','2026-09-25T13:00:00.000Z',1,'{}',0,'[5,9,10,11,12]',0,'[2,3,7,8,9,10,11,21,22,23,24,25,26,36,38,39,40,41,42,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,80,81,82,96,100,102,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,129,130,131,132,133,134,135,137,141,148]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1910,'2026-09-25T12:30:00.000Z','2026-09-25T12:15:00.000Z',1,'{}',0,'[12,11,10,9,5]',0,'[129,130,131,132,133,134,135,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,7,8,11,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,2,3,10,21,23,24,36,40,41,42,80,137]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1911,'2026-09-26T01:30:00.000Z','2026-09-26T01:00:00.000Z',1,'{}',0,'[5,8,9]',0,'[2,3,5,9,10,16,17,18,19,21,22,23,24,27,28,29,30,31,32,33,36,37,40,41,42,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,80,81,82,88,89,90,91,92,94,95,97,101,102,103,127,136,137,138,139,140,141,144,145,146,147,149,1]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1912,'2026-09-26T02:30:00.000Z','2026-09-26T02:00:00.000Z',1,'{}',0,'[5,7,8,9,10]',0,'[2,3,4,5,6,7,8,9,10,11,13,14,16,17,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,76,77,78,79,80,81,82,86,88,89,90,91,92,94,95,96,97,98,99,100,101,102,103,125,126,127,136,137,138,139,140,141,144,145,146,147,149,1]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1913,'2026-09-26T05:30:00.000Z','2026-09-26T05:00:00.000Z',1,'{}',0,'[3,5,8,9,10,11,12]',0,'[1,2,3,5,7,8,9,10,11,13,16,17,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,76,77,78,79,80,81,82,88,89,90,91,92,94,95,96,97,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,129,130,131,132,133,134,135,136,137,138,139,140,141,144,145,146,147,148,149]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1914,'2026-09-26T06:30:00.000Z','2026-09-26T06:00:00.000Z',1,'{}',0,'[3,5,8,9,10,11,12]',0,'[1,2,3,5,7,8,9,10,11,13,16,17,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,76,77,78,79,80,81,82,88,89,90,91,92,94,95,96,97,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,129,130,131,132,133,134,135,136,137,138,139,140,141,144,145,146,147,148,149]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1915,'2026-09-26T09:30:00.000Z','2026-09-26T09:00:00.000Z',1,'{}',0,'[12,10,11,9,8,5,3,2]',0,'[129,130,131,132,133,134,135,6,7,8,11,13,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,9,22,81,82,102,5,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,2,3,10,21,23,24,36,40,41,42,80,137,1,15,147,149,141,140,139,138,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1916,'2026-09-26T10:30:00.000Z','2026-09-26T10:00:00.000Z',1,'{}',0,'[12,10,11,9,8,5,3,2]',0,'[2,3,5,6,7,8,9,10,11,13,15,16,17,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,76,77,78,79,80,81,82,88,89,90,91,92,94,95,96,97,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,129,130,131,132,133,134,135,136,137,138,139,140,141,144,145,146,147,148,149]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1917,'2026-09-26T12:30:00.000Z','2026-09-26T12:00:00.000Z',1,'{}',0,'[12,10,11,9,5,3,2]',0,'[2,3,7,8,9,10,11,15,21,22,23,24,25,26,36,38,39,40,41,42,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,80,81,82,96,100,102,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,129,130,131,132,133,134,135,137,141,148,138]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1918,'2026-09-26T13:30:00.000Z','2026-09-26T13:00:00.000Z',1,'{}',0,'[12,10,11,9,5,3,2]',0,'[2,3,7,8,9,10,11,15,21,22,23,24,25,26,36,38,39,40,41,42,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,80,81,82,96,100,102,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,129,130,131,132,133,134,135,137,138,141,148]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1919,'2026-09-27T01:30:00.000Z','2026-09-27T01:15:00.000Z',1,'{}',0,'[5,7,8,9,13]',0,'[1,2,3,4,5,6,9,10,14,16,17,18,19,21,22,23,24,27,28,29,30,31,32,33,35,36,37,40,41,42,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,80,81,82,86,88,89,90,91,92,94,95,97,98,99,101,102,103,127,136,137,138,139,140,141,144,145,146,147,149,75,83,142,143]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1920,'2026-09-27T02:30:00.000Z','2026-09-27T02:20:00.000Z',1,'{}',0,'[5,7,8,9,10,11,12,13]',0,'[2,3,4,5,6,7,8,9,10,11,13,14,16,17,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,76,77,78,79,80,81,82,86,88,89,90,91,92,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,75,83,1]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1921,'2026-09-27T05:30:00.000Z','2026-09-27T05:00:00.000Z',1,'{}',0,'[5,7,8,9,10,11,12]',0,'[2,3,4,5,6,7,8,9,10,11,13,14,16,17,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,76,77,78,79,80,81,82,86,88,89,90,91,92,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,129,130,131,132,133,134,135,136,137,138,139,140,141,144,145,146,147,148,149]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1922,'2026-09-27T06:30:00.000Z','2026-09-27T06:20:00.000Z',1,'{}',0,'[5,7,8,9,10,11,12]',0,'[2,3,4,5,6,7,8,9,10,11,13,14,16,17,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,76,77,78,79,80,81,82,86,88,89,90,91,92,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,129,130,131,132,133,134,135,136,137,138,139,140,141,144,145,146,147,148,149]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1923,'2026-09-27T09:30:00.000Z','2026-09-27T09:20:00.000Z',1,'{}',0,'[12,11,10,9,8,5]',0,'[129,130,131,132,133,134,135,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,6,7,8,11,13,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,5,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,2,3,10,21,23,24,36,40,41,42,80,137,149,147,141,140,139,138,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1924,'2026-09-27T10:30:00.000Z','2026-09-27T10:20:00.000Z',1,'{}',0,'[12,11,10,9,8,5]',0,'[129,130,131,132,133,134,135,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,6,7,8,11,13,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,5,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,2,3,10,21,23,24,36,40,41,42,80,137,149,147,141,140,139,138,136]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1925,'2026-09-27T12:30:00.000Z','2026-09-27T12:20:00.000Z',1,'{}',0,'[12,11,10,9,5]',0,'[129,130,131,132,133,134,135,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,6,7,8,11,13,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,2,3,10,21,23,24,36,40,41,42,80,137,141]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1926,'2026-09-27T13:30:00.000Z','2026-09-27T13:20:00.000Z',1,'{}',0,'[12,11,10,9,5]',0,'[129,130,131,132,133,134,135,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,6,7,8,11,13,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,2,3,10,21,23,24,36,40,41,42,80,137,141]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1927,'2026-09-28T01:30:00.000Z','2026-09-28T01:20:00.000Z',1,'{}',0,'[5,7,8,9]',0,'[2,3,4,5,9,10,14,16,17,18,19,21,22,23,24,27,28,29,30,31,32,33,35,36,37,40,41,42,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,80,81,82,86,88,89,90,91,92,94,95,97,98,99,101,102,103,127,136,137,138,139,140,141,144,145,146,147,149,1]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1928,'2026-09-28T02:30:00.000Z','2026-09-28T02:20:00.000Z',1,'{}',0,'[5,7,8,9,10,11,12]',0,'[2,3,4,5,6,7,8,9,10,11,13,14,16,17,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,76,77,78,79,80,81,82,86,88,89,90,91,92,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,129,130,131,132,133,134,135,136,137,138,139,140,141,144,145,146,147,148,149]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1929,'2026-09-27T04:00:00.000Z','2026-09-27T03:30:00.000Z',1,'{}',0,'[5,7,8,9,10]',0,'[1,2,3,4,5,6,7,8,9,10,11,13,14,16,17,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,76,77,78,79,80,81,82,86,88,89,90,91,92,94,95,96,97,98,99,100,101,102,103,125,126,127,136,137,138,139,140,141,144,145,146,147,149]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1930,'2026-09-28T01:30:00.000Z','2026-09-28T01:00:00.000Z',1,'{}',0,'[9,8,7,5,3]',0,'[9,22,81,82,102,5,6,13,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,4,14,35,86,98,99,2,3,10,21,23,24,36,40,41,42,80,137,7,8,11,25,26,38,39,43,44,46,47,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1931,'2026-09-28T05:30:00.000Z','2026-09-28T05:00:00.000Z',1,'{}',0,'[11,12,10,9,8,7,3,5]',0,'[104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,129,130,131,132,133,134,135,6,7,8,11,13,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,5,16,17,18,19,27,28,29,30,31,32,33,37,45,64,65,66,67,68,69,70,71,72,74,76,77,78,79,88,89,90,91,92,94,95,97,101,103,127,144,145,146,4,14,35,86,98,99,2,3,10,21,23,24,36,40,41,42,80,137,149,141,140,139,138,136,147]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1932,'2026-09-28T06:30:00.000Z','2026-09-28T06:00:00.000Z',1,'{}',0,'[11,12,10,9,8,7,3,5]',0,'[2,3,4,5,6,7,8,9,10,11,13,14,16,17,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,76,77,78,79,80,81,82,86,88,89,90,91,92,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,129,130,131,132,133,134,135,136,137,138,139,140,141,144,145,146,147,148,149]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1933,'2026-09-28T09:30:00.000Z','2026-09-28T09:00:00.000Z',1,'{}',0,'[3,5,8,9,10,11,12]',0,'[2,3,5,7,8,9,10,11,13,16,17,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,76,77,78,79,80,81,82,88,89,90,91,92,94,95,96,97,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,129,130,131,132,133,134,135,136,137,138,139,140,141,144,145,146,147,148,149]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1934,'2026-09-28T10:30:00.000Z','2026-09-28T10:00:00.000Z',1,'{}',0,'[3,5,8,9,10,11,12]',0,'[2,3,5,7,8,9,10,11,13,16,17,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,76,77,78,79,80,81,82,88,89,90,91,92,94,95,96,97,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,129,130,131,132,133,134,135,136,137,138,139,140,141,144,145,146,147,148,149]'); +INSERT INTO "delivery_slot_info" ("id","delivery_time","freeze_time","is_active","delivery_sequence","is_flash","group_ids","is_capacity_full","sku_ids") VALUES(1935,'2026-09-28T12:30:00.000Z','2026-09-28T12:00:00.000Z',1,'{}',0,'[12,11,10,9,5]',0,'[129,130,131,132,133,134,135,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,148,7,8,11,25,26,38,39,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,73,96,100,125,126,9,22,81,82,102,2,3,10,21,23,24,36,40,41,42,80,137]'); CREATE TABLE IF NOT EXISTS "home_banners" ("id" INTEGER PRIMARY KEY, "name" TEXT NOT NULL, "image_url" TEXT NOT NULL, "description" TEXT, "redirect_url" TEXT, "serial_num" INTEGER, "is_active" INTEGER NOT NULL DEFAULT false, "created_at" TEXT NOT NULL DEFAULT CURRENT_TIMESTAMP, "last_updated" TEXT NOT NULL DEFAULT CURRENT_TIMESTAMP, "sku_ids" TEXT); INSERT INTO "home_banners" ("id","name","image_url","description","redirect_url","serial_num","is_active","created_at","last_updated","sku_ids") VALUES(9,'10%off ','1770281046297.jpg',NULL,NULL,NULL,0,'2026-02-05T08:44:06.996Z','2026-09-04T15:04:56.030Z','[1,2,3,4,5,6,8,7,9,11,13,12,10]'); INSERT INTO "home_banners" ("id","name","image_url","description","redirect_url","serial_num","is_active","created_at","last_updated","sku_ids") VALUES(11,'Daily veggies ','store-images/1770429593455.jpg','Under 19 ',NULL,3,0,'2026-02-07T01:59:57.566Z','2026-08-19T04:14:07.794Z','[45,72,76,97,70,32,74,77,33]'); @@ -2345,7 +2613,7 @@ INSERT INTO "key_val_store" ("key","value") VALUES('deliveryCharge','15'); INSERT INTO "key_val_store" ("key","value") VALUES('flashDeliveryCharge','39.0'); INSERT INTO "key_val_store" ("key","value") VALUES('flashFreeDeliveryThreshold','399'); INSERT INTO "key_val_store" ("key","value") VALUES('freeDeliveryThreshold','249'); -INSERT INTO "key_val_store" ("key","value") VALUES('isFlashDeliveryEnabled','true'); +INSERT INTO "key_val_store" ("key","value") VALUES('isFlashDeliveryEnabled','false'); INSERT INTO "key_val_store" ("key","value") VALUES('minRegularOrderValue','249'); INSERT INTO "key_val_store" ("key","value") VALUES('playStoreUrl','https://info.freshyo.in/qr-based-download'); INSERT INTO "key_val_store" ("key","value") VALUES('popularItems','40,109,9,75,98,6,24,59'); @@ -2354,9 +2622,10 @@ INSERT INTO "key_val_store" ("key","value") VALUES('supportEmail','qushammohd@gm INSERT INTO "key_val_store" ("key","value") VALUES('supportMobile','9000885620'); INSERT INTO "key_val_store" ("key","value") VALUES('tester','value41'); INSERT INTO "key_val_store" ("key","value") VALUES('versionNum','1.2.0'); -INSERT INTO "key_val_store" ("key","value") VALUES('cache_version','752'); -INSERT INTO "key_val_store" ("key","value") VALUES('slots_version_num','355'); -INSERT INTO "key_val_store" ("key","value") VALUES('availability_version_num','65'); +INSERT INTO "key_val_store" ("key","value") VALUES('cache_version','764'); +INSERT INTO "key_val_store" ("key","value") VALUES('slots_version_num','520'); +INSERT INTO "key_val_store" ("key","value") VALUES('availability_version_num','88'); +INSERT INTO "key_val_store" ("key","value") VALUES('tagsOrder','9,1,2,4,5,8,3,7,6'); CREATE TABLE IF NOT EXISTS "notif_creds" ("id" INTEGER PRIMARY KEY, "token" TEXT NOT NULL, "added_at" TEXT NOT NULL DEFAULT CURRENT_TIMESTAMP, "user_id" INTEGER NOT NULL, "last_verified" TEXT); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(3,'ExponentPushToken[iv6POIJTUIiGpkElL84fG7]','2026-02-07T16:46:24.831Z',7,'2026-02-28T05:38:25.639Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(5,'ExponentPushToken[HnHTZNKG8TO0uuxIEus-PG]','2026-02-08T03:33:08.347Z',91,'2026-02-08T03:33:13.416Z'); @@ -2373,31 +2642,31 @@ INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VA INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(18,'ExponentPushToken[qjCI58EqTOeyVk5yLFHGRq]','2026-02-09T11:18:51.370Z',123,'2026-02-09T11:18:51.369Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(19,'ExponentPushToken[mZo3TECtB4tDVgxkDOwev6]','2026-02-09T12:02:26.730Z',124,'2026-02-15T10:51:29.871Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(20,'ExponentPushToken[l527a0C4KT5Ez8aJL7K76l]','2026-02-09T12:10:39.831Z',107,'2026-02-09T12:10:43.875Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(21,'ExponentPushToken[WxQDABD09Hd7JBURDocB67]','2026-02-09T13:24:12.209Z',125,'2026-09-12T08:03:32.984Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(21,'ExponentPushToken[WxQDABD09Hd7JBURDocB67]','2026-02-09T13:24:12.209Z',125,'2026-09-19T12:16:06.673Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(22,'ExponentPushToken[81Io9TG3Qg0s3N0V8L86T-]','2026-02-09T14:12:50.649Z',4,'2026-09-13T13:09:27.482Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(23,'ExponentPushToken[buJyUUCfCpMmsiXqb1--T4]','2026-02-09T15:57:32.198Z',38,'2026-03-25T06:37:06.114Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(24,'ExponentPushToken[B2zWnHNaumIgbeFFKO-15D]','2026-02-09T19:53:37.594Z',113,'2026-02-10T07:43:48.632Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(25,'ExponentPushToken[wIhrdlAmwj0Eytvz3W3TTZ]','2026-02-10T11:09:24.848Z',127,'2026-04-18T06:53:49.329Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(26,'ExponentPushToken[hFUlPFOKMdAUgtDP7EtSzM]','2026-02-10T11:33:43.821Z',3,'2026-02-24T11:16:46.799Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(27,'ExponentPushToken[NymZTEED3G7YCyDg7ihgBA]','2026-02-11T03:16:04.540Z',2,'2026-09-14T01:39:00.750Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(28,'ExponentPushToken[ARCT4KD7CJ_pFF_GkywepP]','2026-02-11T11:34:32.238Z',115,'2026-08-29T05:50:36.058Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(27,'ExponentPushToken[NymZTEED3G7YCyDg7ihgBA]','2026-02-11T03:16:04.540Z',2,'2026-09-27T15:57:19.489Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(28,'ExponentPushToken[ARCT4KD7CJ_pFF_GkywepP]','2026-02-11T11:34:32.238Z',115,'2026-09-26T00:59:57.928Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(29,'ExponentPushToken[NN4v16BFslBX8ryVXDwQIg]','2026-02-12T08:46:42.421Z',128,'2026-02-17T19:04:12.936Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(30,'ExponentPushToken[qbteKBC1wbLMCe1ltpul7u]','2026-02-12T13:28:00.376Z',129,'2026-02-12T13:28:00.375Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(31,'ExponentPushToken[PfjMc_CTRvSvOWtSNmaHhL]','2026-02-14T10:25:41.451Z',131,'2026-09-12T11:12:13.210Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(32,'ExponentPushToken[dugZtvNyRBevvIcQED783-]','2026-02-14T18:42:44.549Z',120,'2026-09-12T18:31:35.302Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(33,'ExponentPushToken[5AOIo1AxGkk5zpoVANRRxq]','2026-02-15T04:35:26.237Z',132,'2026-09-12T08:57:55.246Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(31,'ExponentPushToken[PfjMc_CTRvSvOWtSNmaHhL]','2026-02-14T10:25:41.451Z',131,'2026-09-26T09:07:49.975Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(32,'ExponentPushToken[dugZtvNyRBevvIcQED783-]','2026-02-14T18:42:44.549Z',120,'2026-09-27T10:07:20.328Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(33,'ExponentPushToken[5AOIo1AxGkk5zpoVANRRxq]','2026-02-15T04:35:26.237Z',132,'2026-09-26T10:44:06.268Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(34,'ExponentPushToken[1ZJ_ubPRINgtgfF4JcRz7Q]','2026-02-15T06:45:32.122Z',133,'2026-02-15T06:45:32.121Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(35,'ExponentPushToken[pIQ2waNDjjSHjQYJbXKD8m]','2026-02-15T07:14:10.912Z',9,'2026-02-15T07:14:10.910Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(37,'ExponentPushToken[kq0I8ADfcQ4VcsZ0yK0Mlc]','2026-02-16T04:01:56.375Z',102,'2026-07-05T14:39:51.366Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(38,'ExponentPushToken[8wH85rFtQRMk7ciFszmirX]','2026-02-16T09:30:32.930Z',134,'2026-09-08T07:22:34.339Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(39,'ExponentPushToken[YJRSQmMUEUbaI2VCZLaoN_]','2026-02-16T09:49:56.439Z',6,'2026-09-13T08:45:15.107Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(39,'ExponentPushToken[YJRSQmMUEUbaI2VCZLaoN_]','2026-02-16T09:49:56.439Z',6,'2026-09-27T05:38:18.279Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(40,'ExponentPushToken[QoWbURL2N8-3jRhQwfnRP_]','2026-02-17T08:59:14.561Z',135,'2026-02-17T08:59:14.561Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(41,'ExponentPushToken[sz_g75Il_CNAG6KpEAxYUH]','2026-02-17T12:56:33.589Z',136,'2026-02-21T08:42:45.220Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(42,'ExponentPushToken[JMEvkUHKT0n34hcs-MiJAJ]','2026-02-17T14:22:02.805Z',137,'2026-02-17T18:35:14.821Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(43,'ExponentPushToken[1msqBjJghAi4y8iYwJU-mS]','2026-02-17T14:36:43.131Z',138,'2026-02-23T07:55:49.796Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(44,'ExponentPushToken[Wvc-xZKA5atNZTuIldtSIw]','2026-02-17T14:52:56.267Z',139,'2026-02-22T09:24:47.956Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(45,'ExponentPushToken[cZOImkGKtoAxHQZgVtqP2K]','2026-02-17T19:17:10.364Z',140,'2026-02-20T09:47:44.482Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(46,'ExponentPushToken[Z9RdieHVKXjshIx5Fde2N_]','2026-02-18T01:14:42.642Z',141,'2026-09-11T02:55:55.588Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(46,'ExponentPushToken[Z9RdieHVKXjshIx5Fde2N_]','2026-02-18T01:14:42.642Z',141,'2026-09-22T03:22:28.375Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(47,'ExponentPushToken[y_gztJB3YIgxaTIe90h081]','2026-02-18T03:09:14.285Z',26,'2026-08-29T06:18:28.107Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(48,'ExponentPushToken[PwdA7uENlBKK9zfX0IUQHX]','2026-02-18T03:53:25.609Z',142,'2026-02-18T03:58:05.274Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(49,'ExponentPushToken[I9t84QIYuJ2wkBXTQCrWiO]','2026-02-18T04:24:14.079Z',143,'2026-02-20T07:23:38.305Z'); @@ -2406,8 +2675,8 @@ INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VA INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(52,'ExponentPushToken[LMwZ9hA618rm1SBbnSpLka]','2026-02-18T09:09:58.906Z',145,'2026-02-18T10:17:29.431Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(53,'ExponentPushToken[Gb4KieGJIaPnwHmzTYtcMv]','2026-02-18T09:59:40.489Z',146,'2026-03-19T13:14:04.282Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(54,'ExponentPushToken[B74UidJrvnrP8wBb_rHdAC]','2026-02-18T10:44:13.691Z',147,'2026-02-23T08:38:19.771Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(55,'ExponentPushToken[x2VSb-OGOkn6ivVxpzk6tX]','2026-02-18T12:22:43.429Z',24,'2026-09-07T06:33:23.746Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(56,'ExponentPushToken[qh6APjAuydb_LnlN4DqYsO]','2026-02-18T12:46:15.407Z',82,'2026-09-12T06:21:27.013Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(55,'ExponentPushToken[x2VSb-OGOkn6ivVxpzk6tX]','2026-02-18T12:22:43.429Z',24,'2026-09-23T03:03:05.361Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(56,'ExponentPushToken[qh6APjAuydb_LnlN4DqYsO]','2026-02-18T12:46:15.407Z',82,'2026-09-27T03:26:58.989Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(57,'ExponentPushToken[2o572RMsmVSFjUamLuEcoU]','2026-02-18T12:59:53.266Z',148,'2026-02-28T11:44:18.100Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(58,'ExponentPushToken[3kQdCMDTdTPoDMGP05IITB]','2026-02-18T14:39:16.947Z',149,'2026-02-24T12:34:44.462Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(59,'ExponentPushToken[oHNDFzFcWPaMrr6UuCUaUd]','2026-02-18T14:41:42.373Z',150,'2026-02-19T10:15:17.727Z'); @@ -2417,7 +2686,7 @@ INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VA INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(63,'ExponentPushToken[efBUNsNPuI9UiZMSyisyrS]','2026-02-19T04:58:22.392Z',154,'2026-02-25T13:12:48.160Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(64,'ExponentPushToken[yoRlFwEZScYynd7F-b0EbZ]','2026-02-19T05:11:30.251Z',155,'2026-02-23T15:06:00.904Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(65,'ExponentPushToken[QYu6kOP5XdkvJoa8BrF94D]','2026-02-19T05:27:33.153Z',156,'2026-02-23T11:49:11.964Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(66,'ExponentPushToken[XB2QNBIw79ZsuLKMvoC75T]','2026-02-19T06:31:38.648Z',99,'2026-07-09T04:50:56.560Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(66,'ExponentPushToken[XB2QNBIw79ZsuLKMvoC75T]','2026-02-19T06:31:38.648Z',99,'2026-09-18T10:51:27.070Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(67,'ExponentPushToken[JR8jlxCcjA6zSt1sIsEaFs]','2026-02-19T06:55:18.880Z',157,'2026-02-19T06:58:03.367Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(68,'ExponentPushToken[yF2OgLNRsS-YpjLTkltwb7]','2026-02-19T07:14:36.670Z',158,'2026-05-07T18:59:28.660Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(69,'ExponentPushToken[x4igFdIV9grI1HW3WI-4pI]','2026-02-19T07:45:42.349Z',66,'2026-05-22T05:21:39.860Z'); @@ -2438,7 +2707,7 @@ INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VA INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(89,'ExponentPushToken[6y3qNeJGgyakoSunKhEJT-]','2026-02-20T09:38:13.997Z',173,'2026-04-23T13:33:05.379Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(93,'ExponentPushToken[T7gjPaDVOJQtJ5anemtNYZ]','2026-02-20T10:59:10.123Z',174,'2026-02-21T16:51:22.446Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(94,'ExponentPushToken[bSn2s-AWE2bPZFmNbR3wBr]','2026-02-20T11:19:58.947Z',175,'2026-02-23T16:53:09.680Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(95,'ExponentPushToken[nP7cTjChjAdo68V5rXbjX2]','2026-02-20T11:29:42.482Z',176,'2026-04-16T03:09:27.658Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(95,'ExponentPushToken[nP7cTjChjAdo68V5rXbjX2]','2026-02-20T11:29:42.482Z',176,'2026-09-20T08:47:16.552Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(96,'ExponentPushToken[7mwTBgFGWCsZ5bQW2Xn-8j]','2026-02-20T12:20:35.197Z',177,'2026-02-20T15:02:51.775Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(97,'ExponentPushToken[Y1nFTyC4zbqVCw38UPwEh1]','2026-02-20T12:50:34.337Z',74,'2026-02-21T13:46:21.124Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(98,'ExponentPushToken[SiFDTqAbkzt6Gqhy7CDvup]','2026-02-20T14:06:23.058Z',178,'2026-02-22T02:23:16.045Z'); @@ -2479,7 +2748,7 @@ INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VA INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(139,'ExponentPushToken[gd9P-IJzX8mPS8WIQ4L_aO]','2026-02-22T13:00:21.756Z',217,'2026-02-28T19:11:45.274Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(140,'ExponentPushToken[Lyp_JhEp-mzptQkxT2gV5j]','2026-02-22T19:33:46.271Z',50,'2026-05-26T13:16:42.989Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(141,'ExponentPushToken[bKljnNAKOQhNtEuFH61wdv]','2026-02-23T06:20:17.502Z',219,'2026-02-27T12:56:44.618Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(143,'ExponentPushToken[4MaEIUHLXJTeIUk5Tw2Bre]','2026-02-23T07:09:34.734Z',220,'2026-08-23T06:10:18.698Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(143,'ExponentPushToken[4MaEIUHLXJTeIUk5Tw2Bre]','2026-02-23T07:09:34.734Z',220,'2026-09-25T11:58:27.289Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(144,'ExponentPushToken[WFqHJnGXt5zJQgezyZMT-F]','2026-02-23T07:43:14.745Z',221,'2026-02-23T07:43:14.744Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(146,'ExponentPushToken[_w34c8IpadSoTyzQIgfiRf]','2026-02-23T08:54:04.981Z',222,'2026-02-25T19:01:27.103Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(147,'ExponentPushToken[BAMOz8A3uZ98l8lIIF5cvC]','2026-02-23T09:02:38.907Z',218,'2026-02-25T04:59:49.706Z'); @@ -2493,7 +2762,7 @@ INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VA INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(156,'ExponentPushToken[HpS7v_O9a0YX-ctUWczWc9]','2026-02-24T20:19:55.883Z',232,'2026-02-24T20:19:55.882Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(157,'ExponentPushToken[mrZzELHE2ZzIjq_g9c8zBt]','2026-02-25T13:14:50.622Z',154,'2026-02-25T13:14:50.621Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(158,'ExponentPushToken[F-I7PMADM4NX-5627VQTx8]','2026-02-25T14:21:36.646Z',234,'2026-02-25T14:21:36.645Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(159,'ExponentPushToken[8HgCUFBsI9nZNuh-hjMOJ_]','2026-02-25T20:11:46.042Z',235,'2026-08-16T08:05:50.647Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(159,'ExponentPushToken[8HgCUFBsI9nZNuh-hjMOJ_]','2026-02-25T20:11:46.042Z',235,'2026-09-26T02:59:44.307Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(160,'ExponentPushToken[SQrh7BHq1d_fyLyy81oMx7]','2026-02-26T10:27:18.144Z',237,'2026-02-26T10:27:18.144Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(161,'ExponentPushToken[RYvsY_DqG7Y6pgtJ5qX-K0]','2026-02-26T10:34:55.500Z',236,'2026-08-10T08:33:21.224Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(162,'ExponentPushToken[1NpIs7E8yNJwZot2vsITWr]','2026-02-26T10:41:28.309Z',238,'2026-05-06T08:07:54.288Z'); @@ -2501,19 +2770,19 @@ INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VA INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(165,'ExponentPushToken[K511csDWcit0dWEirbgbzi]','2026-02-27T07:04:00.681Z',240,'2026-02-28T15:41:55.679Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(166,'ExponentPushToken[MfRngZOhpCB7E3V9RdMZSv]','2026-02-27T08:53:11.807Z',241,'2026-03-03T12:23:45.086Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(167,'ExponentPushToken[7_2BsnHaPnqeRmS1UhKxVV]','2026-02-27T08:55:32.911Z',242,'2026-02-27T10:38:00.341Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(168,'ExponentPushToken[O97M2AI7zuVbU5f4uM4VQt]','2026-02-27T10:09:30.960Z',243,'2026-09-12T14:21:36.499Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(168,'ExponentPushToken[O97M2AI7zuVbU5f4uM4VQt]','2026-02-27T10:09:30.960Z',243,'2026-09-27T03:00:14.462Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(169,'ExponentPushToken[1OiPCiNz2M-HNY_r1Rqp6W]','2026-02-27T11:51:20.794Z',244,'2026-03-08T11:09:06.330Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(170,'ExponentPushToken[9AiqjsI6hJ6YjGJ_KcgO2I]','2026-02-28T05:31:18.743Z',246,'2026-08-14T03:21:51.274Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(171,'ExponentPushToken[OuDYj9C40QvJdE0mjvGnJJ]','2026-03-01T08:07:04.795Z',247,'2026-03-01T08:32:20.173Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(172,'ExponentPushToken[EhQ5xpIqjKR1dYQeye8QJ9]','2026-03-01T08:19:19.051Z',245,'2026-03-04T15:02:44.108Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(173,'ExponentPushToken[c6dahyP6YmPF9fCuqgt8CC]','2026-03-01T09:14:36.286Z',93,'2026-03-01T09:14:36.286Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(174,'ExponentPushToken[gNBguFFceE2kNkLWRCdUma]','2026-03-02T07:08:01.400Z',249,'2026-05-04T11:20:57.608Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(175,'ExponentPushToken[1wOEHBCH7bCIx3LzleZLnu]','2026-03-02T09:10:41.738Z',250,'2026-09-10T19:18:39.084Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(175,'ExponentPushToken[1wOEHBCH7bCIx3LzleZLnu]','2026-03-02T09:10:41.738Z',250,'2026-09-25T10:56:18.114Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(176,'ExponentPushToken[KNnVd_Ou8eRzSOPqN-GpUG]','2026-03-03T09:57:37.076Z',251,'2026-03-10T08:30:45.112Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(178,'ExponentPushToken[7GSJrGD9NaX281KgJzBLLH]','2026-03-03T14:06:35.808Z',253,'2026-03-03T14:06:35.807Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(179,'ExponentPushToken[UcUA5tEEV70FB2Ntz-oFJ2]','2026-03-03T16:06:53.662Z',254,'2026-03-20T07:56:23.132Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(181,'ExponentPushToken[1ls_ZXJwn3uuvQh4ePvAne]','2026-03-04T04:13:02.637Z',255,'2026-03-04T04:20:17.120Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(182,'ExponentPushToken[M_HyPqPheUp3I3i9Z5stZt]','2026-03-04T08:31:03.048Z',256,'2026-09-02T15:10:32.751Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(182,'ExponentPushToken[M_HyPqPheUp3I3i9Z5stZt]','2026-03-04T08:31:03.048Z',256,'2026-09-23T06:41:01.667Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(183,'ExponentPushToken[qvh_3nP9G4GL0AEDqg7SGg]','2026-03-04T09:19:36.095Z',257,'2026-03-10T19:55:04.631Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(184,'ExponentPushToken[E_ph_sC9qUQOUhnQmTcaCO]','2026-03-04T09:38:31.976Z',258,'2026-03-16T12:25:30.120Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(185,'ExponentPushToken[GrgPQsDgwa5N3D4zYWM6Bq]','2026-03-04T10:37:39.397Z',259,'2026-03-09T15:41:51.843Z'); @@ -2555,7 +2824,7 @@ INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VA INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(227,'ExponentPushToken[KrzenZDKrmKjs9nnlDdqVp]','2026-03-18T12:07:56.003Z',295,'2026-03-20T16:17:15.569Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(228,'ExponentPushToken[6jP5awEVcOkUF3xzx3sY7g]','2026-03-18T14:53:18.855Z',296,'2026-03-20T15:10:45.983Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(229,'ExponentPushToken[SjZtCwG48V9kckmazhCxBU]','2026-03-18T15:00:21.098Z',297,'2026-03-18T15:00:21.097Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(230,'ExponentPushToken[4VLV_PLSbgxLfKYSwZHxpk]','2026-03-19T09:24:17.902Z',299,'2026-09-11T03:59:55.691Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(230,'ExponentPushToken[4VLV_PLSbgxLfKYSwZHxpk]','2026-03-19T09:24:17.902Z',299,'2026-09-24T15:14:07.497Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(231,'ExponentPushToken[YZHGJjG1PTLMLMrm4X4YAv]','2026-03-19T10:02:09.265Z',300,'2026-03-20T11:21:41.947Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(233,'ExponentPushToken[QzIvHhP38LpZlCk4Yoy7YW]','2026-03-20T06:54:00.415Z',227,'2026-03-21T15:29:41.502Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(236,'ExponentPushToken[aYViaUOIQOkf4RLpcMFgWY]','2026-03-21T01:24:29.259Z',303,'2026-03-26T15:13:31.451Z'); @@ -2585,10 +2854,10 @@ INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VA INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(261,'ExponentPushToken[a2jvk0Fnz9duzyq200RSaA]','2026-03-31T04:17:42.116Z',320,'2026-03-31T06:11:19.809Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(262,'ExponentPushToken[WLdlE5HouAnITMuP3e89pV]','2026-03-31T09:43:59.935Z',327,'2026-03-31T09:43:59.935Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(263,'ExponentPushToken[jr_qvoKS2Wzm2ypdOTtIg3]','2026-04-01T14:10:29.517Z',328,'2026-04-05T06:07:13.512Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(264,'ExponentPushToken[5Y0eOLHP-WHTdPIhswnzaw]','2026-04-02T08:29:21.649Z',329,'2026-08-15T04:36:17.584Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(264,'ExponentPushToken[5Y0eOLHP-WHTdPIhswnzaw]','2026-04-02T08:29:21.649Z',329,'2026-09-25T04:35:16.056Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(265,'ExponentPushToken[j1udiOOiTMrtb_49NPsyh-]','2026-04-02T18:49:29.930Z',330,'2026-04-03T14:24:44.024Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(266,'ExponentPushToken[rz39abBULbPasMRFHOT-AN]','2026-04-03T12:01:30.781Z',331,'2026-04-04T06:55:46.505Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(267,'ExponentPushToken[65W0pwIGMvhlJfkiFc6zx0]','2026-04-03T13:20:24.038Z',332,'2026-09-13T04:12:10.441Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(267,'ExponentPushToken[65W0pwIGMvhlJfkiFc6zx0]','2026-04-03T13:20:24.038Z',332,'2026-09-26T13:36:33.767Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(268,'ExponentPushToken[aXvbRJCJ7qL-dyqo0IniPl]','2026-04-04T09:26:11.860Z',334,'2026-04-04T09:26:11.859Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(269,'ExponentPushToken[VlLrGUMtFX1nxxy2DeDIgN]','2026-04-04T13:09:09.177Z',335,'2026-04-07T09:54:31.885Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(270,'ExponentPushToken[dFz_9LHwDFSBp1vWbcwmXl]','2026-04-05T13:39:16.893Z',336,'2026-05-15T16:18:43.947Z'); @@ -2620,19 +2889,19 @@ INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VA INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(297,'ExponentPushToken[4b1st_B8EokXfQ_PB0qEvC]','2026-04-14 16:03:41',71,'2026-04-15T14:27:58.162Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(298,'ExponentPushToken[FB_7IvKakLMqm9xrfNJLLS]','2026-04-14 17:56:34',364,'2026-04-14T17:56:34.106Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(299,'ExponentPushToken[dc1jBREaSOE78087Qk9Hip]','2026-04-15 04:58:06',365,'2026-04-21T05:00:29.842Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(300,'ExponentPushToken[ztoyCHMlJM09jMITMfwvTJ]','2026-04-15 06:43:31',366,'2026-09-03T13:07:55.503Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(300,'ExponentPushToken[ztoyCHMlJM09jMITMfwvTJ]','2026-04-15 06:43:31',366,'2026-09-21T13:47:05.966Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(301,'ExponentPushToken[LS9CqFPZL1bP1rDtrFtJiG]','2026-04-15 14:06:38',367,'2026-04-29T04:43:14.291Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(302,'ExponentPushToken[yaqfZdOaBBm34sXWkONl0B]','2026-04-16 03:21:12',368,'2026-04-16T04:02:16.804Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(303,'ExponentPushToken[YGTSX0EOsCf9hWEvguxNkS]','2026-04-16 10:52:35',369,'2026-04-16T14:10:37.392Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(304,'ExponentPushToken[p8DReGBwkddCghIhNQyQ0T]','2026-04-16 12:51:14',370,'2026-04-21T07:50:21.913Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(305,'ExponentPushToken[buJyUUCfCpMmsiXqb1--T4]','2026-04-17 01:54:49',287,'2026-04-17T07:51:25.750Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(306,'ExponentPushToken[ejbdytJvh3Il0GV1KwDToW]','2026-04-17 06:46:11',333,'2026-09-12T16:30:03.485Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(306,'ExponentPushToken[ejbdytJvh3Il0GV1KwDToW]','2026-04-17 06:46:11',333,'2026-09-27T11:34:57.016Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(307,'ExponentPushToken[bhhbsNIAeOe4Xhsj97LF5j]','2026-04-18 12:46:29',373,'2026-06-21T13:16:30.320Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(308,'ExponentPushToken[yBdp3fLwkPsMiqeoKeMtIm]','2026-04-18 15:09:00',374,'2026-04-18T15:26:53.822Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(309,'ExponentPushToken[2hQn8_HvBKqblcFpKRksux]','2026-04-18 17:40:19',375,'2026-04-20T15:53:31.948Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(310,'ExponentPushToken[y1iOL7LS-PbTAvzqRzwrEJ]','2026-04-19 01:26:56',376,'2026-09-03T08:42:25.726Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(311,'ExponentPushToken[1zZzP2D961Hoc5LFZl-KOh]','2026-04-19 03:00:11',377,'2026-04-19T03:00:11.336Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(312,'ExponentPushToken[aQ2CYHEcmJ13n_WHlxOxBD]','2026-04-19 07:01:21',378,'2026-09-05T17:09:48.764Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(312,'ExponentPushToken[aQ2CYHEcmJ13n_WHlxOxBD]','2026-04-19 07:01:21',378,'2026-09-26T13:22:04.656Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(313,'ExponentPushToken[qfYthNFbXdavHJAAXYb4Xs]','2026-04-19 14:27:28',379,'2026-04-19T21:21:42.149Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(314,'ExponentPushToken[k7tQqRC_aB0_gONq8B-KEI]','2026-04-20 05:00:27',380,'2026-04-26T04:03:22.490Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(315,'ExponentPushToken[-RElKNF3LpTwMPO04U-qL9]','2026-04-20 09:47:09',381,'2026-04-20T09:53:51.482Z'); @@ -2647,7 +2916,7 @@ INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VA INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(324,'ExponentPushToken[vWtCMdGn-7K6jWyQk2lFKx]','2026-04-24 01:12:19',389,'2026-09-13T04:46:40.892Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(325,'ExponentPushToken[TJHw09Gpo526UDmzi9NQdO]','2026-04-24 12:52:45',392,'2026-06-01T06:19:48.396Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(326,'ExponentPushToken[iZh0JmFuUYDghpLdjpvRW3]','2026-04-25 09:42:12',311,'2026-08-27T07:49:18.917Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(327,'ExponentPushToken[tfiAuQDclBJ1ExvmA97AtP]','2026-04-26 05:27:43',178,'2026-09-12T01:18:51.750Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(327,'ExponentPushToken[tfiAuQDclBJ1ExvmA97AtP]','2026-04-26 05:27:43',178,'2026-09-27T05:05:43.678Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(328,'ExponentPushToken[-TfvgjCm-H5f5KUd_dst3z]','2026-04-26 06:54:10',393,'2026-04-26T06:54:10.942Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(329,'ExponentPushToken[YRUnjbHj5rGddo3s1Jt1w_]','2026-04-26 12:20:32',394,'2026-04-27T13:58:37.560Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(330,'ExponentPushToken[Y-FOBnKHoufsS0qOs7JgIo]','2026-04-26 19:07:59',395,'2026-05-06T10:55:07.749Z'); @@ -2669,13 +2938,13 @@ INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VA INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(346,'ExponentPushToken[46Es-QANBtDIYjTqRv8AOl]','2026-05-01 17:48:43',410,'2026-05-01T17:48:43.507Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(347,'ExponentPushToken[JSCYZBB6HRmAq3eFY5Em2D]','2026-05-02 11:13:55',411,'2026-05-02T11:13:55.662Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(348,'ExponentPushToken[huDt3SL_IbMfVH8rfy_LDL]','2026-05-02 13:57:12',412,'2026-09-02T13:07:09.872Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(349,'ExponentPushToken[DK7R41OK57m4m7GBeA_hrM]','2026-05-03 05:09:17',127,'2026-09-11T05:39:01.388Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(349,'ExponentPushToken[DK7R41OK57m4m7GBeA_hrM]','2026-05-03 05:09:17',127,'2026-09-23T09:22:08.767Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(350,'ExponentPushToken[uEOJoKFJKwm1noRqhUE76x]','2026-05-03 06:10:11',413,'2026-08-12T05:00:15.292Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(351,'ExponentPushToken[UN4cTEPAkvAEvzFSf9s7Uu]','2026-05-03 07:09:14',414,'2026-05-03T07:09:14.246Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(352,'ExponentPushToken[ARCT4KD7CJ_pFF_GkywepP]','2026-05-03 07:42:43',252,'2026-08-04T06:47:49.709Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(353,'ExponentPushToken[7cM08dMnBGFHy6xI2JNg92]','2026-05-03 08:25:16',415,'2026-05-03T12:46:28.748Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(354,'ExponentPushToken[1iTOA2PRmS1yXMkeACyNhn]','2026-05-03 08:35:06',414,'2026-06-11T02:08:20.049Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(355,'ExponentPushToken[hiF_0uHNzkgGH-mGGzfN2Y]','2026-05-03 17:18:45',416,'2026-09-12T05:17:13.413Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(355,'ExponentPushToken[hiF_0uHNzkgGH-mGGzfN2Y]','2026-05-03 17:18:45',416,'2026-09-25T20:04:34.949Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(356,'ExponentPushToken[yBptF0NDaIJ6Zhf1IqyTUe]','2026-05-04 08:43:26',417,'2026-05-04T08:43:26.929Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(357,'ExponentPushToken[b5wNLBOa8Jce4cOmzgvVMr]','2026-05-04 12:38:42',415,'2026-05-04T12:59:40.224Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(358,'ExponentPushToken[Z9CZXEK7YJHkZexvhbYVdk]','2026-05-05 08:39:11',418,'2026-05-12T04:05:26.268Z'); @@ -2700,9 +2969,9 @@ INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VA INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(377,'ExponentPushToken[OUHHZDAcdmpUwkHVo6sX1T]','2026-05-11 09:43:23',437,'2026-08-01T15:49:31.050Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(378,'ExponentPushToken[6GIZ9PGsRkWk9Vd4XtVoP0]','2026-05-12 04:54:49',438,'2026-05-12T05:41:19.561Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(379,'ExponentPushToken[VY1lpUFK2Fw6V6aJ5LokIt]','2026-05-12 06:03:32',439,'2026-06-10T04:33:08.668Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(380,'ExponentPushToken[GA8vDtGZGSLyXTIw8p73Z2]','2026-05-12 07:14:36',440,'2026-09-13T14:11:24.421Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(380,'ExponentPushToken[GA8vDtGZGSLyXTIw8p73Z2]','2026-05-12 07:14:36',440,'2026-09-27T07:31:55.313Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(381,'ExponentPushToken[nTI6kIOJyQjAEsl9kLdguv]','2026-05-12 08:40:29',441,'2026-05-15T17:29:56.071Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(382,'ExponentPushToken[BwD4IWC1zCruWA2ZZcRZ9n]','2026-05-13 02:12:47',444,'2026-08-15T11:23:37.213Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(382,'ExponentPushToken[BwD4IWC1zCruWA2ZZcRZ9n]','2026-05-13 02:12:47',444,'2026-09-21T08:51:55.773Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(383,'ExponentPushToken[89CRhTI7hACC4Z7qHwx0Ol]','2026-05-13 04:22:12',96,'2026-05-13T04:22:12.371Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(384,'ExponentPushToken[nWqqVRF6SKgTNTezkCW9pi]','2026-05-13 10:55:35',446,'2026-05-13T10:55:35.073Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(385,'ExponentPushToken[kVgsNRKL-vXKdfihxkHK69]','2026-05-14 05:41:13',447,'2026-05-14T05:41:13.163Z'); @@ -2712,7 +2981,7 @@ INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VA INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(389,'ExponentPushToken[8R_lP2DKuhyFdkj1IcQvio]','2026-05-16 14:37:35',451,'2026-07-22T14:57:27.187Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(390,'ExponentPushToken[f_wkZnDirQHaYEpuBVYj7Q]','2026-05-16 15:07:52',452,'2026-07-24T12:06:30.676Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(391,'ExponentPushToken[DibLiFIE5eJuSfvWHtwbr1]','2026-05-17 02:16:17',453,'2026-05-24T13:48:08.164Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(392,'ExponentPushToken[hVZTH5DIo-TyxTH8RKSzJ8]','2026-05-17 07:20:10',454,'2026-09-03T15:42:07.952Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(392,'ExponentPushToken[hVZTH5DIo-TyxTH8RKSzJ8]','2026-05-17 07:20:10',454,'2026-09-24T13:48:36.849Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(393,'ExponentPushToken[Qgo7w7D2tLgYmgFZtvtnjW]','2026-05-17 11:41:09',455,'2026-05-17T12:33:12.105Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(394,'ExponentPushToken[dCIjRdHKuNgSc_A25a1jdO]','2026-05-17 14:56:51',457,'2026-08-13T02:33:52.535Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(395,'ExponentPushToken[6zja3xN_aXb6I8ruPOigtg]','2026-05-17 15:28:17',458,'2026-05-17T15:28:17.440Z'); @@ -2741,19 +3010,19 @@ INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VA INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(418,'ExponentPushToken[wRvMQJEYPsd3eKOrV6Jt05]','2026-05-20 04:43:56',479,'2026-05-20T04:43:56.567Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(419,'ExponentPushToken[nJXPFpO8NjDiAaLKylIaKS]','2026-05-20 09:48:01',480,'2026-06-19T05:17:58.610Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(420,'ExponentPushToken[0dUMXOFWcKnHMIhvBOduUq]','2026-05-20 16:36:20',484,'2026-05-31T03:29:16.986Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(421,'ExponentPushToken[WIyk0aI6xUxfvWfO4YEFUS]','2026-05-20 16:58:37',485,'2026-07-14T11:15:19.740Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(422,'ExponentPushToken[y3RIt_PxMxNxFKRoJoTWXO]','2026-05-21 01:48:28',486,'2026-07-27T03:01:09.646Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(421,'ExponentPushToken[WIyk0aI6xUxfvWfO4YEFUS]','2026-05-20 16:58:37',485,'2026-09-24T10:51:52.227Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(422,'ExponentPushToken[y3RIt_PxMxNxFKRoJoTWXO]','2026-05-21 01:48:28',486,'2026-09-16T11:12:01.538Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(423,'ExponentPushToken[sZLRi0HhJ24qSCVfOlOczz]','2026-05-21 05:08:18',487,'2026-06-25T10:35:11.240Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(424,'ExponentPushToken[jrCYolE4Cvec7qt-53JQrS]','2026-05-21 06:04:51',488,'2026-05-21T15:05:55.725Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(425,'ExponentPushToken[PowDUOG3Bormg6-1SBsuiu]','2026-05-22 03:17:23',491,'2026-05-30T07:59:12.100Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(426,'ExponentPushToken[tioFveItRlA7fTirESkDg6]','2026-05-22 05:06:05',492,'2026-07-02T09:52:05.047Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(427,'ExponentPushToken[FILgJIA4CF8h6Th5PrBj-m]','2026-05-22 06:32:38',493,'2026-07-31T14:01:28.590Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(428,'ExponentPushToken[ixGazvOfrCBIMFMjov2-qW]','2026-05-22 14:02:48',494,'2026-09-10T18:30:19.754Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(428,'ExponentPushToken[ixGazvOfrCBIMFMjov2-qW]','2026-05-22 14:02:48',494,'2026-09-26T13:20:34.548Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(429,'ExponentPushToken[F8ugp5MHbdW2gq6IU-mTj9]','2026-05-23 06:59:51',496,'2026-05-23T06:59:51.427Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(430,'ExponentPushToken[mYGulxOHjS3smtYG6104Gj]','2026-05-23 07:00:44',497,'2026-06-03T07:46:58.286Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(431,'ExponentPushToken[e25COGDjnLy9hJWwyZ3lwN]','2026-05-23 07:06:01',498,'2026-07-20T13:47:26.421Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(432,'ExponentPushToken[_aWL27BMxjQBY76z2FAun8]','2026-05-23 14:20:45',499,'2026-09-12T07:21:08.980Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(433,'ExponentPushToken[b6h8UBIO402fVqO95TOAIj]','2026-05-23 17:23:13',500,'2026-09-10T17:28:35.822Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(432,'ExponentPushToken[_aWL27BMxjQBY76z2FAun8]','2026-05-23 14:20:45',499,'2026-09-24T08:11:58.515Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(433,'ExponentPushToken[b6h8UBIO402fVqO95TOAIj]','2026-05-23 17:23:13',500,'2026-09-17T09:40:24.915Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(434,'ExponentPushToken[1SRWUsFouc9jcNsVoZVRtY]','2026-05-24 12:30:41',502,'2026-05-26T11:12:14.466Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(435,'ExponentPushToken[FhDC-3KdfVOiAk2vHRPoI0]','2026-05-24 12:31:09',503,'2026-08-14T09:42:50.214Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(436,'ExponentPushToken[A8qXqMJAJXCZ3OqMSap1YO]','2026-05-24 15:52:07',501,'2026-05-29T13:18:48.444Z'); @@ -2761,12 +3030,12 @@ INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VA INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(438,'ExponentPushToken[bYh6vdOguLmGB_Dyg7eRra]','2026-05-25 04:46:38',507,'2026-08-09T04:35:10.834Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(439,'ExponentPushToken[VQKX8CNc93F36kLcQOiX1d]','2026-05-25 17:53:34',508,'2026-05-25T17:53:34.047Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(440,'ExponentPushToken[4b7gnFAPj2nktWmsWahWv5]','2026-05-26 15:51:19',482,'2026-09-03T07:21:11.760Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(441,'ExponentPushToken[Cw3-VnD1rVBlaPpEASXFwY]','2026-05-27 03:38:14',66,'2026-08-02T15:53:53.664Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(441,'ExponentPushToken[Cw3-VnD1rVBlaPpEASXFwY]','2026-05-27 03:38:14',66,'2026-09-15T11:56:03.324Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(442,'ExponentPushToken[aWdN5kEgfBb-kby_VmMVqN]','2026-05-27 03:39:12',509,'2026-06-19T11:44:49.000Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(443,'ExponentPushToken[VjojTWHgDMbjQTGxCEzBHG]','2026-05-28 13:10:19',510,'2026-06-10T18:44:54.961Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(444,'ExponentPushToken[1Pz4VKCkZpTCGaXE2XmLhj]','2026-05-29 05:46:30',511,'2026-05-29T05:46:30.632Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(445,'ExponentPushToken[Ck0fs4LVTuO-Pvr72HAaR0]','2026-05-29 17:17:33',473,'2026-07-27T08:15:54.653Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(446,'ExponentPushToken[6lQv50E8f2Owf5QgKXiFjZ]','2026-05-30 06:23:37',402,'2026-09-06T06:53:16.389Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(446,'ExponentPushToken[6lQv50E8f2Owf5QgKXiFjZ]','2026-05-30 06:23:37',402,'2026-09-24T12:59:45.758Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(447,'ExponentPushToken[63Hi-_D3LtJ6X1kj2jaKY7]','2026-05-30 07:02:02',512,'2026-09-13T13:50:08.435Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(448,'ExponentPushToken[rN2HXFKFzTBF-LRgzLW0SY]','2026-05-30 07:20:55',513,'2026-05-31T13:34:34.837Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(449,'ExponentPushToken[YJvENuJEJBqSgEjSvTR2jd]','2026-05-30 10:35:49',121,'2026-05-30T10:35:49.833Z'); @@ -2781,7 +3050,7 @@ INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VA INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(458,'ExponentPushToken[Ebc0cuPFrghIwb_FmJwENI]','2026-06-02 03:05:22',521,'2026-08-20T14:29:15.272Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(459,'ExponentPushToken[mGS5oMNKNsT8Mz8z4sx1go]','2026-06-02 04:53:36',56,'2026-06-26T13:46:12.851Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(460,'ExponentPushToken[GVmFlgNm2z77xa9FHrNk6_]','2026-06-02 15:13:54',522,'2026-06-21T05:09:07.110Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(461,'ExponentPushToken[FQkh_ZP1lkQyiNnxXEqr4E]','2026-06-03 06:02:12',523,'2026-09-13T07:17:56.996Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(461,'ExponentPushToken[FQkh_ZP1lkQyiNnxXEqr4E]','2026-06-03 06:02:12',523,'2026-09-27T08:19:46.180Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(462,'ExponentPushToken[Mo-qy_GDfkNpabXVmUlvKq]','2026-06-03 19:55:48',524,'2026-06-03T19:55:48.709Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(463,'ExponentPushToken[jPR6iMEYUQUelPxCuIpWNz]','2026-06-04 06:28:01',525,'2026-07-04T05:10:55.047Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(464,'ExponentPushToken[VCk4w1PDR1OV079kBuXOpx]','2026-06-05 06:17:11',526,'2026-06-05T06:17:11.931Z'); @@ -2796,11 +3065,11 @@ INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VA INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(473,'ExponentPushToken[mEqxTdPMMYS63zlvkip57l]','2026-06-10 09:20:44',526,'2026-06-10T10:25:34.560Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(474,'ExponentPushToken[BNuY4HFdFtyDMx1PUqeCX1]','2026-06-12 08:28:41',459,'2026-06-12T08:28:41.709Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(475,'ExponentPushToken[BY_5HFHg_BuqSFFRCdKPOa]','2026-06-13 03:02:41',538,'2026-06-13T03:02:41.272Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(476,'ExponentPushToken[EJbEOANQ95oeT4exLeWYZq]','2026-06-13 04:12:39',514,'2026-09-11T23:44:46.454Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(476,'ExponentPushToken[EJbEOANQ95oeT4exLeWYZq]','2026-06-13 04:12:39',514,'2026-09-25T01:48:26.107Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(477,'ExponentPushToken[xW60lBF5T8QZhcukLKWiLT]','2026-06-13 06:50:53',539,'2026-06-13T06:50:53.542Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(478,'ExponentPushToken[OcXxPHN4S6jSOcfUst66iz]','2026-06-13 13:05:48',541,'2026-06-13T13:05:47.880Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(479,'ExponentPushToken[MDMAekEhhWndpo2uBAD9Aa]','2026-06-14 08:02:34',542,'2026-06-14T08:02:34.279Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(480,'ExponentPushToken[-mWZEMNqDOXZj9ESRGhRuA]','2026-06-15 12:02:30',414,'2026-09-09T10:55:04.705Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(480,'ExponentPushToken[-mWZEMNqDOXZj9ESRGhRuA]','2026-06-15 12:02:30',414,'2026-09-27T11:36:16.400Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(481,'ExponentPushToken[C36i1zA_O5lmgPSe0H6GCS]','2026-06-17 06:17:53',544,'2026-09-06T15:30:50.969Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(482,'ExponentPushToken[Kl7RrWOFizANCgLbHBZDTO]','2026-06-17 11:56:17',545,'2026-06-21T08:01:57.256Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(483,'ExponentPushToken[3R26bUHCHaUtIoOnHLVbTX]','2026-06-17 13:50:26',121,'2026-06-17T13:53:22.079Z'); @@ -2810,18 +3079,18 @@ INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VA INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(487,'ExponentPushToken[UAnNHEEuWMTweGB1slqWH4]','2026-06-19 07:35:12',548,'2026-08-18T05:49:58.718Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(488,'ExponentPushToken[EK8crzF5tdn9HfnPOT9H9D]','2026-06-19 11:46:44',251,'2026-09-06T11:45:54.060Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(489,'ExponentPushToken[ufvEW-JbkQ1TCVWiktLTyj]','2026-06-19 18:15:01',550,'2026-06-23T14:09:53.827Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(490,'ExponentPushToken[DOkgOUPJde54yD6cUa0x9A]','2026-06-20 02:02:50',551,'2026-09-13T04:49:38.612Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(490,'ExponentPushToken[DOkgOUPJde54yD6cUa0x9A]','2026-06-20 02:02:50',551,'2026-09-26T09:55:59.697Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(491,'ExponentPushToken[cTNmkmDS-e8kqNL-7GSjGu]','2026-06-20 07:41:55',552,'2026-07-06T10:55:59.021Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(492,'ExponentPushToken[2hQn8_HvBKqblcFpKRksux]','2026-06-20 11:55:56',553,'2026-09-11T16:15:57.405Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(493,'ExponentPushToken[OWNeViCALUf_Ihm-ccl-ey]','2026-06-21 04:43:58',555,'2026-08-14T16:46:51.573Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(494,'ExponentPushToken[bnfYLDJKs_zL1ryq-fEw4l]','2026-06-21 05:38:38',556,'2026-07-30T09:16:24.856Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(495,'ExponentPushToken[Qq7hLSDUxz6SaeA7jNXECF]','2026-06-21 13:31:14',557,'2026-09-11T13:53:29.594Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(496,'ExponentPushToken[dmkscKKpfCCMITGzEftX8H]','2026-06-21 14:38:09',558,'2026-06-21T14:39:25.229Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(497,'ExponentPushToken[bGymA2KPUvdeoVk8uqur-J]','2026-06-21 15:03:27',559,'2026-06-24T13:20:56.577Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(497,'ExponentPushToken[bGymA2KPUvdeoVk8uqur-J]','2026-06-21 15:03:27',559,'2026-09-20T04:02:38.482Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(498,'ExponentPushToken[m4EOLHErXY2ynu7QiJx15h]','2026-06-21 15:10:23',560,'2026-06-21T15:10:23.517Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(499,'ExponentPushToken[e6f8z6KTSKPP8IrbvgLJQ9]','2026-06-21 15:21:28',561,'2026-06-24T12:57:47.925Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(500,'ExponentPushToken[wOTtVlLUQqFR65Z0N2gfFh]','2026-06-21 16:38:00',52,'2026-09-08T22:01:53.836Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(501,'ExponentPushToken[iLZ-TXLqusca-QIypUja-k]','2026-06-21 16:45:00',565,'2026-09-12T08:00:12.923Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(501,'ExponentPushToken[iLZ-TXLqusca-QIypUja-k]','2026-06-21 16:45:00',565,'2026-09-19T10:12:48.732Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(502,'ExponentPushToken[SlTUoWOqXf7ntBxBT2aZMn]','2026-06-21 17:11:33',566,'2026-09-12T18:01:56.915Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(503,'ExponentPushToken[v02YxzJGbt_oV7bHIEJX_Z]','2026-06-21 17:20:43',567,'2026-07-12T16:30:53.218Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(504,'ExponentPushToken[fiROauAUJHXJO5tQUTsInC]','2026-06-21 17:24:14',568,'2026-06-24T12:03:21.093Z'); @@ -2863,14 +3132,14 @@ INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VA INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(540,'ExponentPushToken[MIR17VGBQQeTAtVIi8KKuZ]','2026-06-23 06:16:17',608,'2026-07-24T07:51:21.517Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(541,'ExponentPushToken[G3SqHWJbbCiGvQ8UxXcWp6]','2026-06-23 10:59:12',609,'2026-06-23T10:59:12.504Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(542,'ExponentPushToken[C_LvgmOfsvq3pc1C-4PAf2]','2026-06-23 11:13:54',610,'2026-06-23T11:13:54.014Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(543,'ExponentPushToken[VOqzd8BqJmuoUQVonZYCv-]','2026-06-23 12:46:47',611,'2026-09-05T13:12:33.889Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(543,'ExponentPushToken[VOqzd8BqJmuoUQVonZYCv-]','2026-06-23 12:46:47',611,'2026-09-18T08:38:29.372Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(544,'ExponentPushToken[PE48WbGummZWNDQ-T3QC78]','2026-06-23 14:46:36',612,'2026-07-20T14:43:04.107Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(545,'ExponentPushToken[AtypdQLHdf_f-mx7rBG192]','2026-06-23 15:27:51',613,'2026-08-26T02:12:37.798Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(546,'ExponentPushToken[94oe7SJBNhG_Vg8NTEi--M]','2026-06-23 16:39:20',614,'2026-08-25T05:33:16.666Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(547,'ExponentPushToken[peCaxSOcQJUrG2YNvE3_nb]','2026-06-23 19:17:51',615,'2026-06-24T13:07:59.964Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(548,'ExponentPushToken[m3qqo9GuGSpOA8CC_KPFIr]','2026-06-24 07:11:57',170,'2026-08-30T04:26:55.601Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(548,'ExponentPushToken[m3qqo9GuGSpOA8CC_KPFIr]','2026-06-24 07:11:57',170,'2026-09-24T12:00:08.444Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(549,'ExponentPushToken[i6fmd3OPHK1PKJW11tL4Ic]','2026-06-24 23:29:48',617,'2026-07-01T21:57:24.063Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(550,'ExponentPushToken[RZl92zDYsy4FGMllfT9N6T]','2026-06-25 03:03:21',278,'2026-08-07T01:30:19.485Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(550,'ExponentPushToken[RZl92zDYsy4FGMllfT9N6T]','2026-06-25 03:03:21',278,'2026-09-19T09:10:33.492Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(551,'ExponentPushToken[-vaxWMLmVrHeyMUIF_mpYr]','2026-06-25 04:50:40',618,'2026-07-01T11:20:21.860Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(552,'ExponentPushToken[QugZGMCJYLwyoQJI94NCdB]','2026-06-25 05:11:02',619,'2026-06-25T05:11:02.707Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(553,'ExponentPushToken[rJogarDuSVa1xjICH9Inqm]','2026-06-25 05:28:29',620,'2026-08-20T05:23:44.102Z'); @@ -2902,10 +3171,10 @@ INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VA INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(579,'ExponentPushToken[9EN_CiNadXomycz3l8G0sV]','2026-06-30 04:58:07',648,'2026-07-04T02:19:28.114Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(580,'ExponentPushToken[0eay8QFG5Li7pFcPdJbApq]','2026-06-30 06:10:36',649,'2026-08-19T14:15:25.891Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(581,'ExponentPushToken[Qv6rC0BjYcP6mdzp9wdCJI]','2026-06-30 06:25:41',650,'2026-08-24T14:10:21.354Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(582,'ExponentPushToken[PumTTMIHo3LECuPT7dn9xL]','2026-06-30 08:34:03',651,'2026-09-02T05:44:05.202Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(582,'ExponentPushToken[PumTTMIHo3LECuPT7dn9xL]','2026-06-30 08:34:03',651,'2026-09-24T05:49:56.412Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(583,'ExponentPushToken[HJzlXWHMgKdxzxWMf9eim8]','2026-06-30 09:35:43',652,'2026-08-20T04:59:13.272Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(584,'ExponentPushToken[2BQMBjC3DQ0hluLtDelzx3]','2026-06-30 12:25:50',653,'2026-06-30T12:25:50.219Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(585,'ExponentPushToken[UxP5GXJl9TSdaGH-0Zx_hp]','2026-06-30 13:05:40',654,'2026-08-25T00:06:39.907Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(585,'ExponentPushToken[UxP5GXJl9TSdaGH-0Zx_hp]','2026-06-30 13:05:40',654,'2026-09-18T07:00:24.247Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(586,'ExponentPushToken[uZnrgaDAN1inpsJXDhuwGR]','2026-06-30 14:19:47',655,'2026-06-30T14:37:16.843Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(587,'ExponentPushToken[QrD0lzMOmUCoh-rYf8U3YM]','2026-06-30 15:19:54',656,'2026-08-13T09:13:32.436Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(588,'ExponentPushToken[hFuacENuxYHO41eik6ZDwF]','2026-07-01 06:51:28',657,'2026-08-02T09:58:17.674Z'); @@ -2933,11 +3202,11 @@ INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VA INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(610,'ExponentPushToken[MxnsCEKpZ8PMO6SJmZMoVC]','2026-07-06 16:11:21',675,'2026-07-19T09:18:54.882Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(611,'ExponentPushToken[FPAgKfBKS1sh8jq517sevp]','2026-07-08 12:22:26',677,'2026-07-17T10:21:58.054Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(612,'ExponentPushToken[oIarlYEtOCUFkVSqcc53O3]','2026-07-08 15:14:41',54,'2026-07-08T15:14:41.913Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(613,'ExponentPushToken[3UNORxC2myXTjhYAds782V]','2026-07-09 12:32:51',678,'2026-09-13T04:08:53.980Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(614,'ExponentPushToken[q_KN8qFGPp3PakQnlphN4p]','2026-07-09 12:34:16',679,'2026-09-12T14:48:10.552Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(613,'ExponentPushToken[3UNORxC2myXTjhYAds782V]','2026-07-09 12:32:51',678,'2026-09-15T15:04:23.177Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(614,'ExponentPushToken[q_KN8qFGPp3PakQnlphN4p]','2026-07-09 12:34:16',679,'2026-09-18T03:38:47.945Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(615,'ExponentPushToken[9MrERFDg6xP8pX26WBdHmn]','2026-07-10 00:46:23',680,'2026-08-09T07:14:59.003Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(616,'ExponentPushToken[-c_Wi0EyO9S76beCpMviRu]','2026-07-10 13:32:38',683,'2026-08-08T13:50:45.234Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(617,'ExponentPushToken[GSDi_oBQR1t6a4oYAbYymO]','2026-07-10 14:50:57',36,'2026-08-23T08:06:11.152Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(617,'ExponentPushToken[GSDi_oBQR1t6a4oYAbYymO]','2026-07-10 14:50:57',36,'2026-09-26T13:20:58.081Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(618,'ExponentPushToken[KW5BjsAYWIrCZFKVfYM4__]','2026-07-11 01:24:19',684,'2026-07-11T01:24:19.472Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(619,'ExponentPushToken[-rfkgEDMXPhmVwjZ4rCrlO]','2026-07-11 07:06:14',685,'2026-07-11T07:06:14.714Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(620,'ExponentPushToken[6a0_VFIK_TmKl3kK-ZJEB-]','2026-07-11 08:54:48',686,'2026-07-13T04:06:47.154Z'); @@ -2948,27 +3217,27 @@ INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VA INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(625,'ExponentPushToken[7NBXHAA2fuqmkuN-HfMAI_]','2026-07-14 01:17:10',691,'2026-08-02T14:53:42.580Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(626,'ExponentPushToken[OBvQ48P75MO9hZIYUCHLvN]','2026-07-14 04:00:41',692,'2026-07-14T06:04:11.470Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(627,'ExponentPushToken[7UFCFDMZqzm8weEIOHeB-M]','2026-07-14 08:12:38',693,'2026-07-21T10:14:29.049Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(628,'ExponentPushToken[BlcNBoI7DdHxKRu7iwJVmF]','2026-07-15 19:37:55',487,'2026-09-09T16:29:01.557Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(628,'ExponentPushToken[BlcNBoI7DdHxKRu7iwJVmF]','2026-07-15 19:37:55',487,'2026-09-24T18:40:06.994Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(629,'ExponentPushToken[tD5XcqAd6_s2oFcgvTTOLQ]','2026-07-15 19:39:51',487,'2026-07-17T12:38:02.627Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(630,'ExponentPushToken[w40QMOGLyDuy-soMDYCIms]','2026-07-16 08:17:11',696,'2026-08-16T14:29:07.285Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(631,'ExponentPushToken[i1xh_VMyTI-3FkBMQq57Pm]','2026-07-16 10:47:34',495,'2026-07-16T10:47:34.281Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(632,'ExponentPushToken[UHff8GLG5JkpKtke7L75uu]','2026-07-18 08:46:46',698,'2026-07-18T08:47:18.627Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(633,'ExponentPushToken[1ESs_mKzlQyXiqrIcGDoai]','2026-07-19 05:27:15',700,'2026-08-30T05:10:24.593Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(634,'ExponentPushToken[8tit-vByD35WaWaWS2N7Jt]','2026-07-19 07:15:43',701,'2026-09-08T06:14:17.336Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(634,'ExponentPushToken[8tit-vByD35WaWaWS2N7Jt]','2026-07-19 07:15:43',701,'2026-09-26T03:28:32.891Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(635,'ExponentPushToken[gUGNQ4Bw8GSEcaPid2OIZi]','2026-07-19 13:39:57',591,'2026-08-27T05:49:29.433Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(636,'ExponentPushToken[Tfwp6iGi3vVSEF6o-ttmOo]','2026-07-20 04:39:11',703,'2026-07-20T04:46:11.281Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(637,'ExponentPushToken[i9UKMbDjp_Pw5gHBUmrRNR]','2026-07-20 15:31:27',705,'2026-07-30T12:48:00.882Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(638,'ExponentPushToken[dOlEajFNIax8rdaTbBkNlc]','2026-07-21 02:30:00',706,'2026-08-07T04:10:38.432Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(639,'ExponentPushToken[jW54u-I5_OejWjAkT2qUfE]','2026-07-23 16:57:18',287,'2026-09-12T12:33:12.087Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(640,'ExponentPushToken[a_386KOA4xwSpcIkT0mGUi]','2026-07-25 10:18:36',709,'2026-07-25T10:18:36.972Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(641,'ExponentPushToken[2NZqtPL16Um00KZCcMh0us]','2026-07-25 15:14:10',710,'2026-09-09T00:40:26.303Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(642,'ExponentPushToken[8hKXOnIpaUkmy10OUlclHN]','2026-07-25 15:17:25',711,'2026-09-13T11:34:51.872Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(641,'ExponentPushToken[2NZqtPL16Um00KZCcMh0us]','2026-07-25 15:14:10',710,'2026-09-27T07:46:59.145Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(642,'ExponentPushToken[8hKXOnIpaUkmy10OUlclHN]','2026-07-25 15:17:25',711,'2026-09-19T03:34:28.425Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(643,'ExponentPushToken[7h7wnsIG9HYUoyBvb4X8wS]','2026-07-26 02:54:02',677,'2026-07-26T02:54:02.339Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(644,'ExponentPushToken[OKi6lkFWT3Qg5yj9DXJDO_]','2026-07-26 10:42:54',712,'2026-07-26T10:42:54.332Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(645,'ExponentPushToken[8fp2aLMdcCfmHVIDQpXeAA]','2026-07-27 03:27:39',713,'2026-07-27T03:45:30.720Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(646,'ExponentPushToken[BEVARONVXrlap4i5FLPKdf]','2026-07-28 06:28:09',714,'2026-09-13T05:44:00.175Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(647,'ExponentPushToken[tMg5fFP6YY0DQ8rueB_S7m]','2026-07-28 12:55:09',704,'2026-09-08T01:56:06.036Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(648,'ExponentPushToken[FILgJIA4CF8h6Th5PrBj-m]','2026-07-31 14:01:52',517,'2026-09-12T14:23:05.352Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(646,'ExponentPushToken[BEVARONVXrlap4i5FLPKdf]','2026-07-28 06:28:09',714,'2026-09-21T03:14:06.414Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(647,'ExponentPushToken[tMg5fFP6YY0DQ8rueB_S7m]','2026-07-28 12:55:09',704,'2026-09-23T07:47:05.766Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(648,'ExponentPushToken[FILgJIA4CF8h6Th5PrBj-m]','2026-07-31 14:01:52',517,'2026-09-27T07:11:40.049Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(649,'ExponentPushToken[_fOMzgDKDz8CqLHUhEpLEk]','2026-08-01 01:08:10',715,'2026-08-01T01:08:10.898Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(650,'ExponentPushToken[M1y705Lz8R6qQ1oxHcBoZw]','2026-08-01 10:52:12',716,'2026-08-06T11:51:50.451Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(651,'ExponentPushToken[vos5rCCZVRHtLzGPjohv12]','2026-08-01 17:36:52',717,'2026-08-01T17:36:52.283Z'); @@ -2980,31 +3249,31 @@ INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VA INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(657,'ExponentPushToken[YRqjaqNIkahUPUbMBI2n2r]','2026-08-04 03:05:45',725,'2026-08-07T02:08:51.373Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(658,'ExponentPushToken[STQUePPaX75PkOqPlDqS8j]','2026-08-05 05:05:12',728,'2026-08-30T02:51:20.266Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(659,'ExponentPushToken[CKtkvdKBhOyLcBcL2cirQF]','2026-08-05 09:57:06',550,'2026-08-05T09:57:06.501Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(660,'ExponentPushToken[f91-T-JDGUhwQxHIj5b_cW]','2026-08-05 10:28:22',729,'2026-09-12T13:09:39.643Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(661,'ExponentPushToken[KCYAC4D-lqlRlC6oQ4ZVYE]','2026-08-06 09:57:33',730,'2026-09-12T07:35:03.659Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(662,'ExponentPushToken[rM3yhvCX0lpGJB0O4XqqFe]','2026-08-07 06:25:39',731,'2026-08-21T18:41:49.378Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(663,'ExponentPushToken[gSzp_jDq77T-9KZT11iVSe]','2026-08-08 16:11:30',733,'2026-09-13T09:28:00.935Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(660,'ExponentPushToken[f91-T-JDGUhwQxHIj5b_cW]','2026-08-05 10:28:22',729,'2026-09-27T04:26:49.159Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(661,'ExponentPushToken[KCYAC4D-lqlRlC6oQ4ZVYE]','2026-08-06 09:57:33',730,'2026-09-19T00:12:29.753Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(662,'ExponentPushToken[rM3yhvCX0lpGJB0O4XqqFe]','2026-08-07 06:25:39',731,'2026-09-24T02:52:38.160Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(663,'ExponentPushToken[gSzp_jDq77T-9KZT11iVSe]','2026-08-08 16:11:30',733,'2026-09-26T15:34:46.496Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(664,'ExponentPushToken[dO0jbBGkwwOKOL4RrYQTdY]','2026-08-08 16:18:27',734,'2026-08-08T16:18:27.828Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(665,'ExponentPushToken[WUxRgbKGbklj81GLodwWfv]','2026-08-08 16:31:58',735,'2026-08-09T05:35:15.218Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(666,'ExponentPushToken[mTFRzFIsSWcxXpBCVrE5fK]','2026-08-09 03:01:18',736,'2026-08-27T10:38:32.113Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(667,'ExponentPushToken[uYO7G_KTYGfc3ojjNzVAaB]','2026-08-10 05:01:13',737,'2026-09-03T08:47:20.871Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(668,'ExponentPushToken[5HOFsSAFFH2aUSUr0wNUpM]','2026-08-10 09:21:00',727,'2026-08-31T15:05:24.285Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(666,'ExponentPushToken[mTFRzFIsSWcxXpBCVrE5fK]','2026-08-09 03:01:18',736,'2026-09-20T06:04:51.166Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(667,'ExponentPushToken[uYO7G_KTYGfc3ojjNzVAaB]','2026-08-10 05:01:13',737,'2026-09-19T12:25:50.620Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(668,'ExponentPushToken[5HOFsSAFFH2aUSUr0wNUpM]','2026-08-10 09:21:00',727,'2026-09-16T15:38:00.600Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(669,'ExponentPushToken[-fPNGbDdq_623bWp55bvJw]','2026-08-10 13:38:15',388,'2026-08-10T13:38:15.679Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(670,'ExponentPushToken[HclDowGACi8QEm-VNddqmi]','2026-08-10 14:01:08',738,'2026-08-13T07:46:24.757Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(671,'ExponentPushToken[40HFKsLl_NXlvuP_2MMizk]','2026-08-10 14:20:40',388,'2026-08-10T14:20:40.920Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(672,'ExponentPushToken[-fPNGbDdq_623bWp55bvJw]','2026-08-11 01:53:33',739,'2026-09-10T05:27:19.393Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(673,'ExponentPushToken[7eMtSMMAgGjAAaUKxjraVH]','2026-08-11 04:09:20',726,'2026-08-11T04:09:20.914Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(672,'ExponentPushToken[-fPNGbDdq_623bWp55bvJw]','2026-08-11 01:53:33',739,'2026-09-24T12:37:23.550Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(673,'ExponentPushToken[7eMtSMMAgGjAAaUKxjraVH]','2026-08-11 04:09:20',726,'2026-09-27T03:06:10.330Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(674,'ExponentPushToken[UR70WEM7VphzS1gf5yO172]','2026-08-11 07:57:52',740,'2026-08-11T07:57:52.404Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(675,'ExponentPushToken[y9yrBKHPbgGnun6nnc5i1B]','2026-08-14 13:27:22',742,'2026-08-14T15:44:49.270Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(676,'ExponentPushToken[oQElZlIz-BmfNNc5K5d064]','2026-08-15 05:33:31',744,'2026-08-16T05:24:08.729Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(677,'ExponentPushToken[6Xwr72LnxNHJytsy7Cs5at]','2026-08-15 06:00:14',745,'2026-08-18T05:15:43.804Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(678,'ExponentPushToken[4I1Ye1NW8ORECiWtNz3qOn]','2026-08-15 08:37:53',747,'2026-09-13T02:54:36.026Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(677,'ExponentPushToken[6Xwr72LnxNHJytsy7Cs5at]','2026-08-15 06:00:14',745,'2026-09-25T05:46:59.699Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(678,'ExponentPushToken[4I1Ye1NW8ORECiWtNz3qOn]','2026-08-15 08:37:53',747,'2026-09-24T14:49:32.658Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(679,'ExponentPushToken[yuHQyvGAG_dBwAWTTQmKUA]','2026-08-15 11:54:37',282,'2026-08-15T11:54:37.722Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(680,'ExponentPushToken[MgtQoXCibg773i-imr3I8M]','2026-08-15 12:48:50',749,'2026-09-13T04:01:17.327Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(680,'ExponentPushToken[MgtQoXCibg773i-imr3I8M]','2026-08-15 12:48:50',749,'2026-09-27T14:52:07.519Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(681,'ExponentPushToken[lcPixFOTlC_8ut1jmkvGcf]','2026-08-16 03:48:16',750,'2026-09-04T12:50:28.122Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(682,'ExponentPushToken[k2O5g5IzmGFAXlxiouQMS8]','2026-08-16 04:56:39',751,'2026-08-16T04:56:39.853Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(683,'ExponentPushToken[taxA5zNQovfuupJoJ5u3RW]','2026-08-16 05:12:32',752,'2026-08-16T05:12:32.374Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(684,'ExponentPushToken[d_9bC7EvGzczeYTWvLR4QL]','2026-08-16 05:29:00',753,'2026-09-12T00:31:24.037Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(684,'ExponentPushToken[d_9bC7EvGzczeYTWvLR4QL]','2026-08-16 05:29:00',753,'2026-09-25T05:12:16.808Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(685,'ExponentPushToken[IQofPGKC0DNjJxrzh2OdD8]','2026-08-16 05:45:48',754,'2026-08-30T06:42:10.596Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(686,'ExponentPushToken[mkW0j2BCpkI-RSMpGest3S]','2026-08-16 07:26:39',755,'2026-08-16T11:31:06.669Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(687,'ExponentPushToken[maq33QAQDq0AfBCYoGMW7A]','2026-08-16 09:14:36',756,'2026-09-03T04:59:33.031Z'); @@ -3017,194 +3286,194 @@ INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VA INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(694,'ExponentPushToken[wMxeRPMcAOcfmfWt5sPJe_]','2026-08-17 14:35:24',2,'2026-08-17T16:23:16.648Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(695,'ExponentPushToken[sgjmU_JaF8jfTVcqgi6Dio]','2026-08-18 00:58:04',691,'2026-08-18T00:58:04.832Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(696,'ExponentPushToken[gjiX7lKnvCHD7dDijj1GlR]','2026-08-18 12:48:10',764,'2026-09-02T17:52:00.160Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(697,'ExponentPushToken[rpd8a_Fv6FPggSzrrwdBNO]','2026-08-18 12:54:39',765,'2026-09-07T15:45:12.532Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(697,'ExponentPushToken[rpd8a_Fv6FPggSzrrwdBNO]','2026-08-18 12:54:39',765,'2026-09-21T14:08:02.055Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(698,'ExponentPushToken[_wGKL7JkqyxLua_iYiSzSU]','2026-08-18 18:59:11',388,'2026-08-18T19:06:20.387Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(699,'ExponentPushToken[2DWV3uOS9kUEk4aVQPLSsu]','2026-08-19 15:21:16',766,'2026-09-12T17:28:50.476Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(699,'ExponentPushToken[2DWV3uOS9kUEk4aVQPLSsu]','2026-08-19 15:21:16',766,'2026-09-27T15:02:51.154Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(700,'ExponentPushToken[v2nHufDujX20y2Mi4_u1cH]','2026-08-19 17:24:49',746,'2026-08-30T03:27:24.327Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(701,'ExponentPushToken[LhynULC0EyirUZa0HtnVsN]','2026-08-19 17:57:30',767,'2026-08-19T17:57:30.005Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(702,'ExponentPushToken[ybv7SUAP2MeC3SdgofLmp-]','2026-08-20 06:55:24',768,'2026-08-31T12:28:48.557Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(703,'ExponentPushToken[5CXS6IMaZOv7zOSFlkKXOo]','2026-08-20 07:07:34',769,'2026-08-20T08:45:11.298Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(704,'ExponentPushToken[VRrHrrC0eLNVjboAbFXIEg]','2026-08-20 15:44:03',12,'2026-09-13T04:26:04.686Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(704,'ExponentPushToken[VRrHrrC0eLNVjboAbFXIEg]','2026-08-20 15:44:03',12,'2026-09-23T05:44:20.021Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(705,'ExponentPushToken[SYnHRCJ01eyYUoTVTkdHtR]','2026-08-20 19:17:32',72,'2026-08-21T03:54:54.728Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(706,'ExponentPushToken[wC3NeIELlBXOaz9_ZE1nXW]','2026-08-21 13:42:12',770,'2026-08-21T13:42:12.496Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(707,'ExponentPushToken[HDlyCePSKidWMerJDuGs3i]','2026-08-22 05:37:47',771,'2026-08-22T05:37:47.680Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(708,'ExponentPushToken[QjYo7QIpmvlJFa5OziArDu]','2026-08-22 10:39:05',772,'2026-08-28T04:31:02.679Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(709,'ExponentPushToken[BhMOVsOAh3QtXzMOKKN81M]','2026-08-22 12:53:54',32,'2026-09-12T14:11:24.770Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(710,'ExponentPushToken[DfXROmDG8YJTmvfcfVxMpe]','2026-08-23 04:49:05',773,'2026-09-12T03:03:49.683Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(708,'ExponentPushToken[QjYo7QIpmvlJFa5OziArDu]','2026-08-22 10:39:05',772,'2026-09-27T03:11:52.575Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(709,'ExponentPushToken[BhMOVsOAh3QtXzMOKKN81M]','2026-08-22 12:53:54',32,'2026-09-24T06:00:38.871Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(710,'ExponentPushToken[DfXROmDG8YJTmvfcfVxMpe]','2026-08-23 04:49:05',773,'2026-09-27T04:20:25.487Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(711,'ExponentPushToken[tQsJhjJzn-50yVdmhNgCV6]','2026-08-23 12:41:26',774,'2026-09-13T05:24:36.429Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(712,'ExponentPushToken[A7oX6UATJaJSzbqtsn0yr7]','2026-08-25 12:51:53',775,'2026-08-25T12:51:53.370Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(713,'ExponentPushToken[RQkA2GC-Bx6xDJte59EcBq]','2026-08-26 03:07:00',631,'2026-09-13T04:14:57.810Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(714,'ExponentPushToken[FtW_9WFmvw03mvp8R_IlWO]','2026-08-26 04:49:34',777,'2026-09-13T10:04:06.391Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(713,'ExponentPushToken[RQkA2GC-Bx6xDJte59EcBq]','2026-08-26 03:07:00',631,'2026-09-26T13:59:20.246Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(714,'ExponentPushToken[FtW_9WFmvw03mvp8R_IlWO]','2026-08-26 04:49:34',777,'2026-09-27T02:23:53.105Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(715,'ExponentPushToken[T0eGUjNcmCOQ7NPLybYuA9]','2026-08-28 00:23:22',778,'2026-09-12T05:10:33.056Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(716,'ExponentPushToken[x6SwyVAH1qfqZLVbCVQkex]','2026-08-28 04:02:04',753,'2026-08-28T04:02:04.916Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(717,'ExponentPushToken[n7SxWSMs2W7ui6TYUgAEbK]','2026-08-28 13:47:11',779,'2026-09-11T14:47:59.062Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(717,'ExponentPushToken[n7SxWSMs2W7ui6TYUgAEbK]','2026-08-28 13:47:11',779,'2026-09-22T13:05:37.131Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(718,'ExponentPushToken[iNGyPfJ6JQ_EB8KSrSdPdQ]','2026-08-29 08:08:28',780,'2026-08-29T08:08:28.659Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(719,'ExponentPushToken[Q7owrkPKnQ6h19Y7YhXNV6]','2026-08-29 13:35:29',782,'2026-09-13T08:19:33.580Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(719,'ExponentPushToken[Q7owrkPKnQ6h19Y7YhXNV6]','2026-08-29 13:35:29',782,'2026-09-27T02:51:08.882Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(720,'ExponentPushToken[xrdiTHAyODb8MC2Ods51zE]','2026-08-29 13:42:13',783,'2026-08-29T13:42:13.252Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(721,'ExponentPushToken[MngcWzOVupG2jCP92aFAHU]','2026-08-29 15:28:31',784,'2026-09-07T14:25:09.265Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(721,'ExponentPushToken[MngcWzOVupG2jCP92aFAHU]','2026-08-29 15:28:31',784,'2026-09-27T03:02:00.567Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(722,'ExponentPushToken[An3bpDJv4ViVBBpzCzM44a]','2026-08-30 01:19:31',29,'2026-08-30T01:19:31.979Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(723,'ExponentPushToken[t3FYXoICjlyY0mLg8oJk83]','2026-08-30 02:02:58',785,'2026-09-13T04:22:20.190Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(724,'ExponentPushToken[cqGWnjOjW7qpXvF00rCIwY]','2026-08-30 04:10:48',787,'2026-09-10T13:42:54.182Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(723,'ExponentPushToken[t3FYXoICjlyY0mLg8oJk83]','2026-08-30 02:02:58',785,'2026-09-27T02:59:40.275Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(724,'ExponentPushToken[cqGWnjOjW7qpXvF00rCIwY]','2026-08-30 04:10:48',787,'2026-09-26T13:54:03.249Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(725,'ExponentPushToken[loVe35LpngZFsQIIQLmHnS]','2026-08-30 14:44:23',788,'2026-08-30T14:44:23.687Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(726,'ExponentPushToken[jMAuL9Kx7xb-v6TQ3-YEQ-]','2026-09-04 08:44:41',789,'2026-09-07T17:53:58.352Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(727,'ExponentPushToken[L-HhklOaSOVOmC6sPjn7eQ]','2026-09-05 08:53:52',665,'2026-09-05T10:02:47.268Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(728,'ExponentPushToken[XwLoZaLnsk8TKWD4HKuvnD]','2026-09-05 13:53:52',790,'2026-09-05T13:53:52.424Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(729,'ExponentPushToken[KOEJaIPGfYHdoj_KU0Q5GY]','2026-09-05 17:27:01',791,'2026-09-05T17:27:01.447Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(730,'ExponentPushToken[1QXaPxEZq7_gDA5W5HUDgg]','2026-09-06 06:59:18',792,'2026-09-06T06:59:18.608Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(731,'ExponentPushToken[RYvsY_DqG7Y6pgtJ5qX-K0]','2026-09-09 15:40:21',793,'2026-09-09T16:56:07.878Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(731,'ExponentPushToken[RYvsY_DqG7Y6pgtJ5qX-K0]','2026-09-09 15:40:21',793,'2026-09-25T16:17:32.202Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(732,'ExponentPushToken[lRPl8yORLHhDkgnNRY-j_l]','2026-09-09 18:50:39',794,'2026-09-09T19:14:22.807Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(733,'ExponentPushToken[Jmzmj5HYPuQIUenoOKwaF_]','2026-09-10 15:38:25',795,'2026-09-11T03:18:20.045Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(733,'ExponentPushToken[Jmzmj5HYPuQIUenoOKwaF_]','2026-09-10 15:38:25',795,'2026-09-15T13:08:42.420Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(734,'ExponentPushToken[TvOsiVPho3I3psEiQTkj1W]','2026-09-11 12:33:18',739,'2026-09-11T12:33:18.858Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(735,'ExponentPushToken[nj9TulMsXJU-aG2pHsqt1o]','2026-09-11 12:43:01',797,'2026-09-11T12:43:01.082Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(736,'ExponentPushToken[qAbg0rLfxL99I5uv71-5qT]','2026-09-11 12:43:20',798,'2026-09-11T15:18:39.200Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(737,'ExponentPushToken[0I2V3xDelvp5wwt4ejR-K8]','2026-09-11 12:44:58',799,'2026-09-12T11:53:25.343Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(738,'ExponentPushToken[0IQ4rkHYo6JCZrJ1hwsdRC]','2026-09-11 12:46:06',800,'2026-09-13T06:32:06.513Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(738,'ExponentPushToken[0IQ4rkHYo6JCZrJ1hwsdRC]','2026-09-11 12:46:06',800,'2026-09-27T04:41:25.841Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(739,'ExponentPushToken[K8FRzQAibdrucolbdDSgxF]','2026-09-11 12:47:04',801,'2026-09-11T12:47:04.367Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(740,'ExponentPushToken[xRteO-Cmw6N_Cw-Gp2VD3t]','2026-09-11 12:48:17',802,'2026-09-11T12:51:35.225Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(741,'ExponentPushToken[PwSeN-FT1Dy_NWAqI0OUfV]','2026-09-11 12:48:43',803,'2026-09-12T13:45:11.111Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(742,'ExponentPushToken[SIRJ0qB0C-J5OCmYaP-5UQ]','2026-09-11 12:50:13',804,'2026-09-11T12:50:13.399Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(742,'ExponentPushToken[SIRJ0qB0C-J5OCmYaP-5UQ]','2026-09-11 12:50:13',804,'2026-09-22T14:04:54.628Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(743,'ExponentPushToken[WzpuNzCkxDkXMzE41JBBmI]','2026-09-11 12:57:21',805,'2026-09-11T12:57:21.207Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(744,'ExponentPushToken[itG-EzEuLzZWVh9doGp12W]','2026-09-11 12:57:42',806,'2026-09-11T12:57:42.330Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(745,'ExponentPushToken[1AeiC4H0hILSydIylv68ot]','2026-09-11 12:59:41',807,'2026-09-11T12:59:41.031Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(746,'ExponentPushToken[JZmGf7ExgbhcVTVWvpc0_C]','2026-09-11 13:01:36',808,'2026-09-12T06:27:13.134Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(747,'ExponentPushToken[gdQBOmLhD0ombL0AYTbyFU]','2026-09-11 13:02:02',360,'2026-09-12T04:45:05.529Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(748,'ExponentPushToken[4OvWH2ClkyzB_yFmAuI03B]','2026-09-11 13:02:36',809,'2026-09-11T13:02:36.517Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(749,'ExponentPushToken[U6zWaEFl1v4NMzj1DbftVW]','2026-09-11 13:02:54',810,'2026-09-11T13:02:54.405Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(749,'ExponentPushToken[U6zWaEFl1v4NMzj1DbftVW]','2026-09-11 13:02:54',810,'2026-09-14T06:45:32.755Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(750,'ExponentPushToken[hUWHylFSuguUFXVS2aDN_E]','2026-09-11 13:09:55',811,'2026-09-11T17:25:16.006Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(751,'ExponentPushToken[p6DNReGVyR2Z6KTPmoB7KU]','2026-09-11 13:11:16',812,'2026-09-12T04:55:33.043Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(751,'ExponentPushToken[p6DNReGVyR2Z6KTPmoB7KU]','2026-09-11 13:11:16',812,'2026-09-20T05:29:08.799Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(752,'ExponentPushToken[9M4xSgOFI-Yl0Q1-39QuF4]','2026-09-11 13:15:16',813,'2026-09-11T13:15:16.506Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(753,'ExponentPushToken[vKo3xgOVNKckKR87MIKv6t]','2026-09-11 13:15:26',814,'2026-09-11T13:15:26.772Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(754,'ExponentPushToken[CoSGfPI-b6fxLaF16X-n8f]','2026-09-11 13:15:56',815,'2026-09-13T03:10:58.580Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(755,'ExponentPushToken[PImjtVJ-GaLQub0us-wqiF]','2026-09-11 13:21:41',817,'2026-09-11T20:04:25.380Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(755,'ExponentPushToken[PImjtVJ-GaLQub0us-wqiF]','2026-09-11 13:21:41',817,'2026-09-16T10:25:13.563Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(756,'ExponentPushToken[Hjp6MEPymCbsvlREf8gsK3]','2026-09-11 13:25:21',818,'2026-09-11T13:25:21.918Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(757,'ExponentPushToken[zb4RzKA6ZzryPcMEiFEyaV]','2026-09-11 13:29:09',819,'2026-09-11T13:29:09.384Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(757,'ExponentPushToken[zb4RzKA6ZzryPcMEiFEyaV]','2026-09-11 13:29:09',819,'2026-09-26T09:45:07.745Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(758,'ExponentPushToken[mJfritIOmrapQ__su5dcuu]','2026-09-11 13:29:46',821,'2026-09-12T05:02:11.785Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(759,'ExponentPushToken[k-XRj8NwVizVXtCcYaDDsW]','2026-09-11 13:31:06',822,'2026-09-11T13:31:06.165Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(760,'ExponentPushToken[9bCVsgDjBdeC7ige_okgTS]','2026-09-11 13:36:31',823,'2026-09-11T13:36:31.297Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(759,'ExponentPushToken[k-XRj8NwVizVXtCcYaDDsW]','2026-09-11 13:31:06',822,'2026-09-23T14:20:36.390Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(760,'ExponentPushToken[9bCVsgDjBdeC7ige_okgTS]','2026-09-11 13:36:31',823,'2026-09-16T13:48:02.895Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(761,'ExponentPushToken[IlHcs2HfBF6HysoBaEAvra]','2026-09-11 13:36:52',825,'2026-09-11T13:36:52.595Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(762,'ExponentPushToken[B8KJ5SFWMVlTGA1g-hJbpf]','2026-09-11 13:36:53',824,'2026-09-13T14:09:52.528Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(762,'ExponentPushToken[B8KJ5SFWMVlTGA1g-hJbpf]','2026-09-11 13:36:53',824,'2026-09-27T08:07:31.294Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(763,'ExponentPushToken[pMlfyAAC-uVGY3zFLbtfuk]','2026-09-11 13:40:04',826,'2026-09-11T13:40:04.143Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(764,'ExponentPushToken[DgUp49CE5E_awKu3dYRYSS]','2026-09-11 13:40:34',827,'2026-09-12T02:22:39.967Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(764,'ExponentPushToken[DgUp49CE5E_awKu3dYRYSS]','2026-09-11 13:40:34',827,'2026-09-25T17:30:25.497Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(765,'ExponentPushToken[sdDNQzG1tJVCqqYsQ6HboS]','2026-09-11 13:41:20',828,'2026-09-11T13:41:20.178Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(766,'ExponentPushToken[lW8ajOLmsvuxHZoSOemuod]','2026-09-11 13:41:50',829,'2026-09-11T13:41:50.692Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(766,'ExponentPushToken[lW8ajOLmsvuxHZoSOemuod]','2026-09-11 13:41:50',829,'2026-09-27T02:57:55.755Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(767,'ExponentPushToken[m5ToVLJGPJ1sfBsn29yzf2]','2026-09-11 13:46:51',832,'2026-09-11T13:46:51.954Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(768,'ExponentPushToken[2jcFlMFtxsy1EyQCW4W5yk]','2026-09-11 13:47:40',833,'2026-09-11T13:57:04.034Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(768,'ExponentPushToken[2jcFlMFtxsy1EyQCW4W5yk]','2026-09-11 13:47:40',833,'2026-09-14T05:28:17.842Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(769,'ExponentPushToken[Khb1GRHSX7hQ9FPzvkYkYf]','2026-09-11 13:47:54',834,'2026-09-11T13:47:54.929Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(770,'ExponentPushToken[Ahsf8GF7HqKTjHrfn8bcmZ]','2026-09-11 13:52:04',835,'2026-09-11T13:52:04.418Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(772,'ExponentPushToken[BF8PIYPO4YCMhhExXgXJyG]','2026-09-11 13:54:05',837,'2026-09-11T17:15:16.309Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(772,'ExponentPushToken[BF8PIYPO4YCMhhExXgXJyG]','2026-09-11 13:54:05',837,'2026-09-24T01:38:11.900Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(773,'ExponentPushToken[rvhfBILLiImVv2KVSLhcs6]','2026-09-11 13:54:16',838,'2026-09-12T08:17:39.163Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(774,'ExponentPushToken[i8ftR9DrW7A_zNdhmBwqsJ]','2026-09-11 13:57:06',839,'2026-09-12T16:33:17.326Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(775,'ExponentPushToken[_3DdglGRafbkEw6PkbcnOI]','2026-09-11 13:57:28',840,'2026-09-11T13:57:28.310Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(776,'ExponentPushToken[phDRzeF1fkMsL_NaT02FqL]','2026-09-11 13:58:12',841,'2026-09-11T13:58:12.638Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(777,'ExponentPushToken[8jHxUgK_QUB62b8e0OUcns]','2026-09-11 13:59:09',842,'2026-09-13T18:12:49.529Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(778,'ExponentPushToken[jZ-knrBgJop79NdKePeu-o]','2026-09-11 14:03:07',844,'2026-09-11T14:03:07.702Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(779,'ExponentPushToken[tbT67RLh9jD1ZvgYFy83kx]','2026-09-11 14:03:11',845,'2026-09-11T14:03:11.923Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(774,'ExponentPushToken[i8ftR9DrW7A_zNdhmBwqsJ]','2026-09-11 13:57:06',839,'2026-09-27T12:08:46.360Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(775,'ExponentPushToken[_3DdglGRafbkEw6PkbcnOI]','2026-09-11 13:57:28',840,'2026-09-20T01:44:25.144Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(776,'ExponentPushToken[phDRzeF1fkMsL_NaT02FqL]','2026-09-11 13:58:12',841,'2026-09-19T14:28:14.680Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(777,'ExponentPushToken[8jHxUgK_QUB62b8e0OUcns]','2026-09-11 13:59:09',842,'2026-09-25T15:42:06.413Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(778,'ExponentPushToken[jZ-knrBgJop79NdKePeu-o]','2026-09-11 14:03:07',844,'2026-09-19T05:40:16.826Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(779,'ExponentPushToken[tbT67RLh9jD1ZvgYFy83kx]','2026-09-11 14:03:11',845,'2026-09-18T13:49:16.310Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(780,'ExponentPushToken[fAwAo7C2PjaXQ5yuZmtoe8]','2026-09-11 14:13:35',847,'2026-09-12T16:56:34.126Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(781,'ExponentPushToken[4z_6R3DsIaCLNfe7_TyuRM]','2026-09-11 14:15:49',848,'2026-09-11T14:15:49.350Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(782,'ExponentPushToken[BZDgYfJ687-aO1iV2IlfIs]','2026-09-11 14:17:10',849,'2026-09-12T02:47:44.852Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(783,'ExponentPushToken[x7xvYYL5V78E_DZXvCLU38]','2026-09-11 14:19:33',850,'2026-09-11T14:19:33.778Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(784,'ExponentPushToken[trTrLcPUGyactSrarT5Oua]','2026-09-11 14:20:13',852,'2026-09-11T14:20:13.517Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(785,'ExponentPushToken[M0t5ozGMd-ZBS0DT61iOx5]','2026-09-11 14:25:11',853,'2026-09-13T06:04:18.265Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(785,'ExponentPushToken[M0t5ozGMd-ZBS0DT61iOx5]','2026-09-11 14:25:11',853,'2026-09-20T16:26:20.630Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(786,'ExponentPushToken[9_3UVPCy2OSuBwHy83I48d]','2026-09-11 14:25:31',855,'2026-09-11T14:25:31.286Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(787,'ExponentPushToken[chWX43JNWDOAfhGvWsoMP1]','2026-09-11 14:25:53',856,'2026-09-11T14:25:52.968Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(787,'ExponentPushToken[chWX43JNWDOAfhGvWsoMP1]','2026-09-11 14:25:53',856,'2026-09-20T02:16:42.368Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(788,'ExponentPushToken[4VRiSrAn7_rKS6l_LV65M_]','2026-09-11 14:29:29',858,'2026-09-11T14:29:29.431Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(789,'ExponentPushToken[G1cuJgPOqBTEsqxGvhHdIc]','2026-09-11 14:37:53',859,'2026-09-11T14:37:53.055Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(790,'ExponentPushToken[BAdbGzO3tzz5c2zXRmIO-6]','2026-09-11 14:41:38',860,'2026-09-11T14:41:38.551Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(791,'ExponentPushToken[b20BX7Brb_2a0NqvhZZjat]','2026-09-11 14:44:53',861,'2026-09-11T14:44:52.977Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(792,'ExponentPushToken[TT1_YPA1oK4itnREje870b]','2026-09-11 14:49:59',863,'2026-09-11T14:49:59.269Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(793,'ExponentPushToken[ASCSFKAWIEkfZ8hZCLxoL2]','2026-09-11 15:01:18',865,'2026-09-12T04:06:00.355Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(794,'ExponentPushToken[sYIkSXGhNITxaawU9PAcmy]','2026-09-11 15:03:09',866,'2026-09-11T15:03:09.459Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(795,'ExponentPushToken[sVIgamNczwxq-EFUpe60o0]','2026-09-11 15:04:28',867,'2026-09-13T06:44:16.624Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(796,'ExponentPushToken[riICkaIZ23BFrxwPKnKCy0]','2026-09-11 15:04:37',868,'2026-09-13T06:44:13.670Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(797,'ExponentPushToken[glFpWUNaAMt8KKUJo7C-Ix]','2026-09-11 15:10:12',869,'2026-09-12T05:00:57.027Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(798,'ExponentPushToken[j1xifSLdA3L2YDYTmZK7RR]','2026-09-11 15:11:21',870,'2026-09-11T15:11:21.492Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(799,'ExponentPushToken[xD2AcXHpeT_IKIPzIxh4Sx]','2026-09-11 15:11:29',871,'2026-09-11T15:11:29.692Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(800,'ExponentPushToken[Y8svYUGlN_BRtJ00DSdxYr]','2026-09-11 15:12:07',857,'2026-09-11T15:12:07.582Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(801,'ExponentPushToken[FH0qtYJCfctA8uPKYKG0ak]','2026-09-11 15:13:33',872,'2026-09-13T08:13:31.316Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(802,'ExponentPushToken[e05_NhNcgYuIFWMxrqoP0X]','2026-09-11 15:13:51',846,'2026-09-12T16:46:33.160Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(793,'ExponentPushToken[ASCSFKAWIEkfZ8hZCLxoL2]','2026-09-11 15:01:18',865,'2026-09-22T10:20:16.198Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(794,'ExponentPushToken[sYIkSXGhNITxaawU9PAcmy]','2026-09-11 15:03:09',866,'2026-09-19T02:01:18.010Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(795,'ExponentPushToken[sVIgamNczwxq-EFUpe60o0]','2026-09-11 15:04:28',867,'2026-09-27T13:35:51.123Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(796,'ExponentPushToken[riICkaIZ23BFrxwPKnKCy0]','2026-09-11 15:04:37',868,'2026-09-22T13:29:45.954Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(797,'ExponentPushToken[glFpWUNaAMt8KKUJo7C-Ix]','2026-09-11 15:10:12',869,'2026-09-19T13:34:27.756Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(798,'ExponentPushToken[j1xifSLdA3L2YDYTmZK7RR]','2026-09-11 15:11:21',870,'2026-09-17T10:40:20.226Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(799,'ExponentPushToken[xD2AcXHpeT_IKIPzIxh4Sx]','2026-09-11 15:11:29',871,'2026-09-25T07:42:47.463Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(800,'ExponentPushToken[Y8svYUGlN_BRtJ00DSdxYr]','2026-09-11 15:12:07',857,'2026-09-21T14:09:43.139Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(801,'ExponentPushToken[FH0qtYJCfctA8uPKYKG0ak]','2026-09-11 15:13:33',872,'2026-09-26T13:36:21.703Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(802,'ExponentPushToken[e05_NhNcgYuIFWMxrqoP0X]','2026-09-11 15:13:51',846,'2026-09-18T18:26:32.227Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(803,'ExponentPushToken[D2234ZJ9eR5EGO9vm46n-6]','2026-09-11 15:14:11',873,'2026-09-12T03:06:29.450Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(804,'ExponentPushToken[kkHqX-K2DqsBAjmwn2lsue]','2026-09-11 15:14:14',874,'2026-09-13T06:34:05.086Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(805,'ExponentPushToken[HtMoeZOHzv9tNf109UlRw9]','2026-09-11 15:25:15',875,'2026-09-12T02:23:53.309Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(806,'ExponentPushToken[gQkjE3EF0bD317sHnNLBbn]','2026-09-11 15:26:22',876,'2026-09-11T16:27:10.283Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(807,'ExponentPushToken[07PT6rBrZJ44veAyGJUWoi]','2026-09-11 15:33:32',877,'2026-09-11T15:33:32.654Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(805,'ExponentPushToken[HtMoeZOHzv9tNf109UlRw9]','2026-09-11 15:25:15',875,'2026-09-22T12:33:32.497Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(806,'ExponentPushToken[gQkjE3EF0bD317sHnNLBbn]','2026-09-11 15:26:22',876,'2026-09-21T00:33:37.880Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(807,'ExponentPushToken[07PT6rBrZJ44veAyGJUWoi]','2026-09-11 15:33:32',877,'2026-09-23T14:15:01.111Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(808,'ExponentPushToken[s3ugwgMsk1b-RNxMuhnEye]','2026-09-11 15:33:53',878,'2026-09-11T15:33:53.174Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(809,'ExponentPushToken[BeLG3-AmxFCC7sSCGB6Vuw]','2026-09-11 15:38:10',879,'2026-09-11T15:38:10.505Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(810,'ExponentPushToken[echDeXM5F2KYrAfqj2Haj3]','2026-09-11 15:39:26',880,'2026-09-13T05:48:13.691Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(809,'ExponentPushToken[BeLG3-AmxFCC7sSCGB6Vuw]','2026-09-11 15:38:10',879,'2026-09-17T14:51:49.121Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(810,'ExponentPushToken[echDeXM5F2KYrAfqj2Haj3]','2026-09-11 15:39:26',880,'2026-09-18T13:39:21.809Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(811,'ExponentPushToken[Zpv0h8PmNMVjTBbE6VPDOW]','2026-09-11 15:40:07',881,'2026-09-11T15:40:07.099Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(812,'ExponentPushToken[Czll9XPe6JW6Y_pwmVt7Yl]','2026-09-11 15:44:20',882,'2026-09-11T15:51:22.255Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(812,'ExponentPushToken[Czll9XPe6JW6Y_pwmVt7Yl]','2026-09-11 15:44:20',882,'2026-09-14T12:19:33.252Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(813,'ExponentPushToken[PNKVoYFDkwMX4z1vlTBJZv]','2026-09-11 15:54:39',883,'2026-09-13T04:09:34.293Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(814,'ExponentPushToken[IN99jWFmKwUzfS8slyGooW]','2026-09-11 15:54:50',884,'2026-09-11T15:54:50.519Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(814,'ExponentPushToken[IN99jWFmKwUzfS8slyGooW]','2026-09-11 15:54:50',884,'2026-09-15T05:56:28.007Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(815,'ExponentPushToken[S6e577KGRa5M8CVOC06FCC]','2026-09-11 15:56:35',885,'2026-09-11T15:56:35.454Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(816,'ExponentPushToken[i2sfxDIRgo5tDmTrJc-Rht]','2026-09-11 15:59:25',886,'2026-09-12T14:30:46.199Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(817,'ExponentPushToken[2CcucpFt9MYNsF3PFlgxt4]','2026-09-11 16:02:26',887,'2026-09-12T09:35:00.675Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(816,'ExponentPushToken[i2sfxDIRgo5tDmTrJc-Rht]','2026-09-11 15:59:25',886,'2026-09-27T10:03:30.506Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(817,'ExponentPushToken[2CcucpFt9MYNsF3PFlgxt4]','2026-09-11 16:02:26',887,'2026-09-27T12:27:43.091Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(818,'ExponentPushToken[vVxYGDGZuowqYKaVB1bIYO]','2026-09-11 16:02:34',888,'2026-09-11T16:02:34.753Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(819,'ExponentPushToken[yyUWFDCqsrkf1FHPbYA7bm]','2026-09-11 16:08:48',890,'2026-09-13T16:36:29.052Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(819,'ExponentPushToken[yyUWFDCqsrkf1FHPbYA7bm]','2026-09-11 16:08:48',890,'2026-09-27T04:55:22.535Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(820,'ExponentPushToken[6zqoUyIJlE-5Q18s-AGxnk]','2026-09-11 16:08:58',891,'2026-09-11T16:08:57.998Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(821,'ExponentPushToken[A1Fh3eKzn0U8nQSroyoRoq]','2026-09-11 16:09:14',892,'2026-09-13T15:15:17.888Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(822,'ExponentPushToken[DGSf3xBCAIZ2wkSGnERrwQ]','2026-09-11 16:09:31',893,'2026-09-11T16:09:31.597Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(821,'ExponentPushToken[A1Fh3eKzn0U8nQSroyoRoq]','2026-09-11 16:09:14',892,'2026-09-15T05:19:51.864Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(822,'ExponentPushToken[DGSf3xBCAIZ2wkSGnERrwQ]','2026-09-11 16:09:31',893,'2026-09-17T08:47:52.807Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(823,'ExponentPushToken[AsJ0_BAV3SYXAB116LUz-x]','2026-09-11 16:13:55',864,'2026-09-11T16:13:55.457Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(824,'ExponentPushToken[gwiCY_CTyAwHuYJCIXrlbl]','2026-09-11 16:14:01',894,'2026-09-11T16:14:01.637Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(825,'ExponentPushToken[8og40zCvY95XruXNZmJuWV]','2026-09-11 16:15:54',895,'2026-09-11T16:24:32.458Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(826,'ExponentPushToken[HMyHoaCdsbphjB4cA6bJ26]','2026-09-11 16:17:21',896,'2026-09-13T05:41:25.975Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(827,'ExponentPushToken[dvG0gYNqkghs8mPmAIwpkz]','2026-09-11 16:18:00',898,'2026-09-13T02:32:28.040Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(827,'ExponentPushToken[dvG0gYNqkghs8mPmAIwpkz]','2026-09-11 16:18:00',898,'2026-09-26T12:59:39.749Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(828,'ExponentPushToken[lHJDcbPm2rj9OFPEA3vkO3]','2026-09-11 16:25:26',899,'2026-09-11T16:25:26.365Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(829,'ExponentPushToken[6DbNeELLtm9itYXHz4zJR9]','2026-09-11 16:25:40',900,'2026-09-11T16:34:58.860Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(829,'ExponentPushToken[6DbNeELLtm9itYXHz4zJR9]','2026-09-11 16:25:40',900,'2026-09-23T08:43:29.962Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(830,'ExponentPushToken[n_L0AMOt4pPuOVgChD3tsF]','2026-09-11 16:42:18',901,'2026-09-11T16:42:18.251Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(831,'ExponentPushToken[wYeFdZEI3u9LtG8zwT0qaQ]','2026-09-11 16:48:40',902,'2026-09-11T19:07:21.122Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(832,'ExponentPushToken[KCMpszLJRkko9txHhb8aHI]','2026-09-11 16:50:28',903,'2026-09-13T06:14:58.204Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(833,'ExponentPushToken[kp0ymeGSIVOeWaxtNhaw2V]','2026-09-11 16:52:18',905,'2026-09-13T10:42:17.689Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(831,'ExponentPushToken[wYeFdZEI3u9LtG8zwT0qaQ]','2026-09-11 16:48:40',902,'2026-09-27T03:15:54.539Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(832,'ExponentPushToken[KCMpszLJRkko9txHhb8aHI]','2026-09-11 16:50:28',903,'2026-09-21T05:41:51.776Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(833,'ExponentPushToken[kp0ymeGSIVOeWaxtNhaw2V]','2026-09-11 16:52:18',905,'2026-09-17T16:26:42.026Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(834,'ExponentPushToken[b-zUibBhQhoRMgD7KGtOc2]','2026-09-11 16:53:44',906,'2026-09-12T12:40:33.633Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(835,'ExponentPushToken[SL8AsVMaVxKonkaj0Qk39t]','2026-09-11 16:55:49',907,'2026-09-13T06:25:51.140Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(836,'ExponentPushToken[3g85aaNTX1PpJpU0L7P1-0]','2026-09-11 16:59:07',908,'2026-09-11T17:02:20.864Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(836,'ExponentPushToken[3g85aaNTX1PpJpU0L7P1-0]','2026-09-11 16:59:07',908,'2026-09-15T07:33:50.369Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(837,'ExponentPushToken[y2FkqzKWrzwVA2jeCT1NSa]','2026-09-11 17:00:23',909,'2026-09-11T17:00:23.413Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(838,'ExponentPushToken[zAxCaBNbOkZH_ICKffPhTg]','2026-09-11 17:01:03',910,'2026-09-12T10:19:35.881Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(839,'ExponentPushToken[D3kDcNIAI0aCH92MjDjWp_]','2026-09-11 17:01:07',911,'2026-09-11T17:37:08.979Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(839,'ExponentPushToken[D3kDcNIAI0aCH92MjDjWp_]','2026-09-11 17:01:07',911,'2026-09-15T03:29:14.216Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(840,'ExponentPushToken[kNhd8nL9ZvdR43OGseWFet]','2026-09-11 17:09:58',912,'2026-09-11T17:09:58.335Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(841,'ExponentPushToken[j7-QPwBXVK7U31AfRdkWds]','2026-09-11 17:13:15',914,'2026-09-11T17:13:15.472Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(842,'ExponentPushToken[JOqwhQFA_j_eEpVC8MEjyV]','2026-09-11 17:18:13',916,'2026-09-11T17:18:13.126Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(843,'ExponentPushToken[JIsv6sDH86j_TnohCjw6K4]','2026-09-11 17:23:18',917,'2026-09-11T17:23:18.899Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(842,'ExponentPushToken[JOqwhQFA_j_eEpVC8MEjyV]','2026-09-11 17:18:13',916,'2026-09-18T13:16:17.021Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(843,'ExponentPushToken[JIsv6sDH86j_TnohCjw6K4]','2026-09-11 17:23:18',917,'2026-09-26T13:45:27.188Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(844,'ExponentPushToken[BqKmXYFYjsY4vRW6h4EcFQ]','2026-09-11 17:28:45',516,'2026-09-11T17:28:45.430Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(845,'ExponentPushToken[ofRajWP5wYiymcNGKD8f45]','2026-09-11 17:36:17',918,'2026-09-11T17:36:17.681Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(846,'ExponentPushToken[HCTGpvFwTI8saNYaHk_poB]','2026-09-11 17:41:28',919,'2026-09-11T17:41:28.844Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(847,'ExponentPushToken[I7Zna1KFGnRA5hE0joHVv6]','2026-09-11 17:44:14',920,'2026-09-11T17:44:14.022Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(847,'ExponentPushToken[I7Zna1KFGnRA5hE0joHVv6]','2026-09-11 17:44:14',920,'2026-09-26T23:11:55.082Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(848,'ExponentPushToken[V3CY3rNIR4cgAxnEn4cOTg]','2026-09-11 17:49:45',921,'2026-09-13T16:42:42.155Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(849,'ExponentPushToken[rpIsodBWInPcXC9b0kgLz6]','2026-09-11 18:09:04',923,'2026-09-11T18:09:04.100Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(850,'ExponentPushToken[EDqWToFVNMlE0JZQj_tI4U]','2026-09-11 18:09:22',924,'2026-09-12T04:47:16.249Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(851,'ExponentPushToken[2zRCZ2IkPA-rmsr_3khxaG]','2026-09-11 18:20:41',925,'2026-09-12T07:09:51.167Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(852,'ExponentPushToken[V4OTyvDkGRPWLQ9m3-ZPum]','2026-09-11 18:21:35',926,'2026-09-13T16:45:58.725Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(851,'ExponentPushToken[2zRCZ2IkPA-rmsr_3khxaG]','2026-09-11 18:20:41',925,'2026-09-27T08:11:09.293Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(852,'ExponentPushToken[V4OTyvDkGRPWLQ9m3-ZPum]','2026-09-11 18:21:35',926,'2026-09-26T04:55:03.306Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(853,'ExponentPushToken[Ai8DO-CqkdBB-Gf9JefRLI]','2026-09-11 18:24:29',927,'2026-09-11T20:51:53.421Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(854,'ExponentPushToken[ScbtN_A9XahHNF5-eA-4gF]','2026-09-11 18:27:51',928,'2026-09-12T02:52:12.102Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(855,'ExponentPushToken[9IKUiPKAZQFXNEIH63pPcq]','2026-09-11 18:40:50',929,'2026-09-11T18:40:50.883Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(854,'ExponentPushToken[ScbtN_A9XahHNF5-eA-4gF]','2026-09-11 18:27:51',928,'2026-09-27T16:10:40.830Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(855,'ExponentPushToken[9IKUiPKAZQFXNEIH63pPcq]','2026-09-11 18:40:50',929,'2026-09-17T12:57:05.872Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(856,'ExponentPushToken[wI4x-wBDmfrzhaYS8kGHOE]','2026-09-11 18:46:56',930,'2026-09-11T18:46:56.692Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(857,'ExponentPushToken[Ookr5KJvOm6DKZSgqL8ZLk]','2026-09-11 18:58:45',931,'2026-09-11T18:58:45.321Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(858,'ExponentPushToken[sLicFjMfVIl8Hl730BRM1r]','2026-09-11 19:01:19',932,'2026-09-13T11:33:22.035Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(859,'ExponentPushToken[A3isXSP4oeV4jW_tKLS467]','2026-09-11 19:10:28',933,'2026-09-13T08:48:49.146Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(859,'ExponentPushToken[A3isXSP4oeV4jW_tKLS467]','2026-09-11 19:10:28',933,'2026-09-21T14:12:16.216Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(860,'ExponentPushToken[LzFpAgE22W1eZc-w7msaKT]','2026-09-11 19:16:49',934,'2026-09-11T19:16:49.857Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(861,'ExponentPushToken[Mfie0oMsAQXG2q1YUZXVA-]','2026-09-11 19:41:00',936,'2026-09-11T19:41:00.256Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(861,'ExponentPushToken[Mfie0oMsAQXG2q1YUZXVA-]','2026-09-11 19:41:00',936,'2026-09-22T02:37:58.500Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(862,'ExponentPushToken[gl7fghAlRAWA4jc962jtV2]','2026-09-11 19:52:28',937,'2026-09-12T08:52:03.878Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(863,'ExponentPushToken[0LH7oFKhbrFA2GwtxwBd4h]','2026-09-11 20:10:49',938,'2026-09-12T14:49:44.161Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(864,'ExponentPushToken[GmvWAHGZL5eHFw3rC_EKQi]','2026-09-11 20:22:36',939,'2026-09-13T05:53:50.956Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(863,'ExponentPushToken[0LH7oFKhbrFA2GwtxwBd4h]','2026-09-11 20:10:49',938,'2026-09-19T09:10:02.561Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(864,'ExponentPushToken[GmvWAHGZL5eHFw3rC_EKQi]','2026-09-11 20:22:36',939,'2026-09-14T06:40:25.519Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(865,'ExponentPushToken[7hrqY9NGTYgwbOfKr0hxCw]','2026-09-11 21:25:51',941,'2026-09-12T06:26:01.951Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(866,'ExponentPushToken[AokasjGGsgQJf-hA5FgtcK]','2026-09-11 21:52:33',942,'2026-09-11T22:29:13.460Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(867,'ExponentPushToken[XVDYU_IjRyoPRXuwBFy3xT]','2026-09-11 23:08:50',943,'2026-09-11T23:10:43.594Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(868,'ExponentPushToken[xNmTMjGjR7whkJs-6lptZe]','2026-09-11 23:32:51',944,'2026-09-13T13:36:53.430Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(869,'ExponentPushToken[2_8aMtCMhRlINPrUfJ_FR-]','2026-09-12 00:55:28',945,'2026-09-12T00:55:28.576Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(870,'ExponentPushToken[rSx05fElB5mLt-mJHB_L3M]','2026-09-12 00:58:03',946,'2026-09-12T00:58:03.987Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(870,'ExponentPushToken[rSx05fElB5mLt-mJHB_L3M]','2026-09-12 00:58:03',946,'2026-09-25T13:14:06.430Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(871,'ExponentPushToken[iim-NMCuInK6qft_038RIz]','2026-09-12 01:07:37',947,'2026-09-12T01:07:37.032Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(872,'ExponentPushToken[v_5NajDN698zuYv3OVDq0a]','2026-09-12 01:21:06',949,'2026-09-12T14:38:39.348Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(872,'ExponentPushToken[v_5NajDN698zuYv3OVDq0a]','2026-09-12 01:21:06',949,'2026-09-15T11:25:26.346Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(873,'ExponentPushToken[0iJbjhPIgeuImdW1uEhxFi]','2026-09-12 01:23:41',950,'2026-09-12T01:23:41.912Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(874,'ExponentPushToken[Y_VgWYKCvPlt_Ag93SXdpI]','2026-09-12 01:31:44',951,'2026-09-12T01:31:44.518Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(875,'ExponentPushToken[FeDyKkNluWUQXkda4cVy_G]','2026-09-12 02:01:29',953,'2026-09-12T02:01:29.819Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(876,'ExponentPushToken[kB431lGNBgXtE0ceR-5tks]','2026-09-12 02:02:43',954,'2026-09-13T06:51:50.728Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(877,'ExponentPushToken[Hj3rjFEUlL28rQiTH0Q-L6]','2026-09-12 02:04:29',955,'2026-09-12T02:04:29.599Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(875,'ExponentPushToken[FeDyKkNluWUQXkda4cVy_G]','2026-09-12 02:01:29',953,'2026-09-18T13:22:35.966Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(876,'ExponentPushToken[kB431lGNBgXtE0ceR-5tks]','2026-09-12 02:02:43',954,'2026-09-26T09:08:59.818Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(877,'ExponentPushToken[Hj3rjFEUlL28rQiTH0Q-L6]','2026-09-12 02:04:29',955,'2026-09-15T04:15:47.740Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(878,'ExponentPushToken[-9mhnGCZKic8qQZveVKccG]','2026-09-12 02:11:26',956,'2026-09-12T17:34:55.714Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(879,'ExponentPushToken[uDBMyUAB_qbPAE1pW9nsZ-]','2026-09-12 02:11:41',957,'2026-09-12T05:18:22.209Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(880,'ExponentPushToken[hF8wbDCFGGtxmnvbynIXxB]','2026-09-12 02:15:50',958,'2026-09-13T09:42:31.820Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(879,'ExponentPushToken[uDBMyUAB_qbPAE1pW9nsZ-]','2026-09-12 02:11:41',957,'2026-09-15T12:51:44.974Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(880,'ExponentPushToken[hF8wbDCFGGtxmnvbynIXxB]','2026-09-12 02:15:50',958,'2026-09-20T06:40:54.653Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(881,'ExponentPushToken[3u3FgANS2Z3bParIQ1jlc8]','2026-09-12 02:19:49',959,'2026-09-13T02:00:22.770Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(882,'ExponentPushToken[f_Glq1MSqZdAr1GPIDIk6H]','2026-09-12 02:20:35',960,'2026-09-12T02:20:35.148Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(883,'ExponentPushToken[UkoslbIX1w8yhYQcdIVHa1]','2026-09-12 02:39:53',831,'2026-09-13T08:06:25.990Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(884,'ExponentPushToken[kPsexiB4IeF5yKgCUkZY0x]','2026-09-12 03:01:24',965,'2026-09-12T03:01:24.375Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(885,'ExponentPushToken[Y3MmcDNrxEUCNnlbK70jL4]','2026-09-12 03:02:49',966,'2026-09-12T03:02:49.836Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(885,'ExponentPushToken[Y3MmcDNrxEUCNnlbK70jL4]','2026-09-12 03:02:49',966,'2026-09-14T04:53:20.835Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(886,'ExponentPushToken[YdowhlMxF9c2UbOCvcBNrC]','2026-09-12 03:04:35',967,'2026-09-12T03:04:35.581Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(887,'ExponentPushToken[QuduOEK7Gkd98DO9z6LjQz]','2026-09-12 03:06:29',968,'2026-09-12T03:21:54.856Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(888,'ExponentPushToken[Zy7lMZG2E7xSRWzstV3LW5]','2026-09-12 03:22:47',971,'2026-09-12T03:22:47.020Z'); @@ -3214,138 +3483,270 @@ INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VA INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(892,'ExponentPushToken[o-oMSwArR4-0vYNPHz-KNV]','2026-09-12 04:02:56',974,'2026-09-12T04:02:56.203Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(893,'ExponentPushToken[XqwyECKuSE4ZDmct34FzPt]','2026-09-12 04:07:07',975,'2026-09-12T05:03:51.251Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(894,'ExponentPushToken[hsO4k9Ks3H6y5W-v6cCT9F]','2026-09-12 04:09:58',976,'2026-09-13T02:40:20.172Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(895,'ExponentPushToken[HZmsnrIEudStRhtdqiRsuu]','2026-09-12 04:19:29',964,'2026-09-13T07:15:44.249Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(895,'ExponentPushToken[HZmsnrIEudStRhtdqiRsuu]','2026-09-12 04:19:29',964,'2026-09-19T12:07:58.260Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(896,'ExponentPushToken[9x2CMFKqX3x3BvAbJHzHqi]','2026-09-12 04:22:56',978,'2026-09-12T04:22:56.326Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(897,'ExponentPushToken[LuQ-GzPhFX4O6ggBZLXBFR]','2026-09-12 04:23:07',979,'2026-09-12T04:23:07.572Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(898,'ExponentPushToken[kVJPQ-KHlFOXFVy-tSBMJx]','2026-09-12 04:25:39',980,'2026-09-13T14:53:49.596Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(898,'ExponentPushToken[kVJPQ-KHlFOXFVy-tSBMJx]','2026-09-12 04:25:39',980,'2026-09-25T12:55:42.349Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(899,'ExponentPushToken[GvpqqHFzOHgtED4D_SHIW_]','2026-09-12 04:32:10',981,'2026-09-13T04:10:20.758Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(900,'ExponentPushToken[8eLGQiDwOt_auNf92q3Uo_]','2026-09-12 04:37:13',982,'2026-09-12T04:37:13.729Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(900,'ExponentPushToken[8eLGQiDwOt_auNf92q3Uo_]','2026-09-12 04:37:13',982,'2026-09-20T04:41:08.785Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(901,'ExponentPushToken[m5I3kHFGRRL0xswqR6Mc-D]','2026-09-12 04:39:02',983,'2026-09-12T04:59:58.189Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(902,'ExponentPushToken[HAaJeMPgGFPlTd5WW3Ppa1]','2026-09-12 04:48:44',984,'2026-09-12T04:48:44.202Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(903,'ExponentPushToken[f16ax-NcOYoqM3gG7wIVW-]','2026-09-12 04:52:54',985,'2026-09-12T04:52:54.924Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(904,'ExponentPushToken[os3a7DF-uyQAOu-v2b0Nj-]','2026-09-12 05:00:50',986,'2026-09-13T04:09:08.355Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(905,'ExponentPushToken[y4w6syNfi9SiJCKVDgeEQ5]','2026-09-12 05:04:21',987,'2026-09-12T05:05:26.681Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(905,'ExponentPushToken[y4w6syNfi9SiJCKVDgeEQ5]','2026-09-12 05:04:21',987,'2026-09-15T11:35:55.939Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(906,'ExponentPushToken[O4SRdEN6CqY0kb4tNsfjzW]','2026-09-12 05:15:17',988,'2026-09-13T14:31:50.614Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(907,'ExponentPushToken[OicNJUJuvuhr_yCUrGypTa]','2026-09-12 05:20:02',990,'2026-09-12T07:02:40.879Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(908,'ExponentPushToken[pdSdTELYlyLeyOq8C_7-xJ]','2026-09-12 05:21:45',991,'2026-09-12T05:21:45.749Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(909,'ExponentPushToken[6XurCfG2CJlhmxvYhTQ_1d]','2026-09-12 05:25:09',992,'2026-09-13T04:13:29.789Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(907,'ExponentPushToken[OicNJUJuvuhr_yCUrGypTa]','2026-09-12 05:20:02',990,'2026-09-17T05:37:30.763Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(908,'ExponentPushToken[pdSdTELYlyLeyOq8C_7-xJ]','2026-09-12 05:21:45',991,'2026-09-15T03:02:27.234Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(909,'ExponentPushToken[6XurCfG2CJlhmxvYhTQ_1d]','2026-09-12 05:25:09',992,'2026-09-18T13:50:07.327Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(910,'ExponentPushToken[yN4MN2ONJ7j0GJZSifvddG]','2026-09-12 05:39:49',993,'2026-09-12T10:40:56.127Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(911,'ExponentPushToken[-zFFiaCNhbC4fVwfYrMMwn]','2026-09-12 05:43:08',994,'2026-09-12T05:43:08.573Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(911,'ExponentPushToken[-zFFiaCNhbC4fVwfYrMMwn]','2026-09-12 05:43:08',994,'2026-09-24T11:02:57.365Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(912,'ExponentPushToken[U4LWccNUV4bKJ_2fGqsu-a]','2026-09-12 05:56:05',995,'2026-09-12T05:56:05.724Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(913,'ExponentPushToken[Ifc3KyHIFPtCO8rY7sP6IJ]','2026-09-12 06:00:14',997,'2026-09-12T14:17:39.354Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(914,'ExponentPushToken[UBamoTKWcyeg2I8YxvZB-N]','2026-09-12 06:01:48',999,'2026-09-12T06:01:48.818Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(915,'ExponentPushToken[4VHSfIBkxU06tTdt95sNXf]','2026-09-12 06:06:23',198,'2026-09-12T06:06:23.322Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(916,'ExponentPushToken[7hrqY9NGTYgwbOfKr0hxCw]','2026-09-12 06:28:19',1000,'2026-09-12T13:57:30.459Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(917,'ExponentPushToken[aITcTXM3kUTvLkCku51RVY]','2026-09-12 06:51:04',1001,'2026-09-12T06:51:04.903Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(915,'ExponentPushToken[4VHSfIBkxU06tTdt95sNXf]','2026-09-12 06:06:23',198,'2026-09-27T04:18:38.168Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(916,'ExponentPushToken[7hrqY9NGTYgwbOfKr0hxCw]','2026-09-12 06:28:19',1000,'2026-09-18T14:12:18.381Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(917,'ExponentPushToken[aITcTXM3kUTvLkCku51RVY]','2026-09-12 06:51:04',1001,'2026-09-19T03:38:45.890Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(918,'ExponentPushToken[fE-36BJAe4BrdZtboLvp4F]','2026-09-12 07:04:21',1002,'2026-09-12T07:04:21.069Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(919,'ExponentPushToken[jUovkwKziUmllKK6xy0THV]','2026-09-12 07:07:55',1003,'2026-09-12T07:07:55.687Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(920,'ExponentPushToken[yoginqEu07w8QGrlJkq-fq]','2026-09-12 07:12:06',1006,'2026-09-12T07:12:06.132Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(921,'ExponentPushToken[ceqKVyFD0U8CUtECPCErHD]','2026-09-12 07:12:33',1007,'2026-09-13T16:48:05.854Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(921,'ExponentPushToken[ceqKVyFD0U8CUtECPCErHD]','2026-09-12 07:12:33',1007,'2026-09-20T08:00:44.074Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(922,'ExponentPushToken[G04tsDHh8i7hJbjofA07m3]','2026-09-12 07:20:52',1008,'2026-09-13T14:55:37.692Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(923,'ExponentPushToken[ZSldxmD8RXsz-HXinaVO3M]','2026-09-12 07:20:54',1009,'2026-09-14T02:55:55.992Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(924,'ExponentPushToken[Ec-YZlJi14sZmFnBJMsaD4]','2026-09-12 07:28:19',1012,'2026-09-12T07:28:19.153Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(923,'ExponentPushToken[ZSldxmD8RXsz-HXinaVO3M]','2026-09-12 07:20:54',1009,'2026-09-27T01:49:21.084Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(924,'ExponentPushToken[Ec-YZlJi14sZmFnBJMsaD4]','2026-09-12 07:28:19',1012,'2026-09-26T11:18:13.316Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(925,'ExponentPushToken[qJx-_AF4AVCayQ9gliKogm]','2026-09-12 07:36:49',1014,'2026-09-12T07:36:49.806Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(926,'ExponentPushToken[1ys58PAxbdv1srboHb095_]','2026-09-12 08:04:01',1015,'2026-09-12T08:04:01.084Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(927,'ExponentPushToken[uP4J1vDwiZkPujNU6bjQRh]','2026-09-12 08:07:15',1016,'2026-09-12T08:07:15.473Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(926,'ExponentPushToken[1ys58PAxbdv1srboHb095_]','2026-09-12 08:04:01',1015,'2026-09-19T09:48:45.111Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(927,'ExponentPushToken[uP4J1vDwiZkPujNU6bjQRh]','2026-09-12 08:07:15',1016,'2026-09-18T06:59:12.290Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(928,'ExponentPushToken[2kZFIOJLa_REcBtEpkAhdd]','2026-09-12 08:11:45',1017,'2026-09-12T10:57:08.943Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(929,'ExponentPushToken[I-K35_NOnKwT2xdsHyGPQv]','2026-09-12 08:18:52',1018,'2026-09-13T03:32:09.350Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(929,'ExponentPushToken[I-K35_NOnKwT2xdsHyGPQv]','2026-09-12 08:18:52',1018,'2026-09-26T06:50:51.390Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(930,'ExponentPushToken[TNjxtvMvSxWtXKlupW3v9D]','2026-09-12 08:25:29',1019,'2026-09-13T06:51:46.674Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(931,'ExponentPushToken[snonCdFK2OupPppDrYv_cT]','2026-09-12 08:37:30',1020,'2026-09-13T03:29:37.266Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(931,'ExponentPushToken[snonCdFK2OupPppDrYv_cT]','2026-09-12 08:37:30',1020,'2026-09-22T08:33:57.166Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(932,'ExponentPushToken[BaMB5zL-TmzXUpXaARDkjh]','2026-09-12 08:53:40',1021,'2026-09-12T08:53:40.937Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(933,'ExponentPushToken[Nngo7wB2GsTcGwTOmJklCT]','2026-09-12 09:02:37',1022,'2026-09-12T15:37:13.448Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(934,'ExponentPushToken[dCzCssPoj_TXfgfKQBOxua]','2026-09-12 09:13:51',1024,'2026-09-12T09:13:51.828Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(935,'ExponentPushToken[A6wwvzAMaVo2bNOL7seVDy]','2026-09-12 09:14:35',1025,'2026-09-12T10:30:54.375Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(936,'ExponentPushToken[zRdUBMGP13jaFokjp9SbPd]','2026-09-12 09:40:14',1026,'2026-09-13T07:49:21.100Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(937,'ExponentPushToken[YivcEUP7YhTt_z7C6kl3Bo]','2026-09-12 09:46:16',1027,'2026-09-13T15:08:42.129Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(937,'ExponentPushToken[YivcEUP7YhTt_z7C6kl3Bo]','2026-09-12 09:46:16',1027,'2026-09-14T08:29:18.574Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(938,'ExponentPushToken[QfvlTDDSSW9BJ1vOZy0lpO]','2026-09-12 09:56:18',1029,'2026-09-12T09:56:18.645Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(939,'ExponentPushToken[ybmjZeA26-BwM7ymuKI-tr]','2026-09-12 10:05:49',1030,'2026-09-12T10:05:49.000Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(940,'ExponentPushToken[b97mnTAPGJ8mZSs7G2pC0d]','2026-09-12 10:20:06',1032,'2026-09-12T10:20:06.220Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(941,'ExponentPushToken[A2lMsIFcwxNt1tcln5RRpc]','2026-09-12 10:26:37',1033,'2026-09-12T15:57:09.225Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(941,'ExponentPushToken[A2lMsIFcwxNt1tcln5RRpc]','2026-09-12 10:26:37',1033,'2026-09-24T13:10:10.948Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(942,'ExponentPushToken[rf34CSCKTZ8lu5FhIDvgyW]','2026-09-12 10:39:38',1034,'2026-09-12T10:39:38.855Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(943,'ExponentPushToken[iQXX1pIVCsJJJGy0Ai7r7L]','2026-09-12 11:15:20',1035,'2026-09-13T12:24:42.495Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(944,'ExponentPushToken[mnOUodAfRrKayYT4a5oMei]','2026-09-12 11:54:22',1036,'2026-09-12T12:24:20.829Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(945,'ExponentPushToken[S3edG9OMq0d901PGrHZ8Lc]','2026-09-12 11:59:09',1037,'2026-09-12T13:48:15.402Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(946,'ExponentPushToken[ZoDA0WPIBWwAFPv5AZyokR]','2026-09-12 12:01:24',1038,'2026-09-13T03:00:11.364Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(947,'ExponentPushToken[MpbA9nJ3Dkazd3TBEuj5_-]','2026-09-12 12:09:19',1040,'2026-09-12T12:09:19.291Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(947,'ExponentPushToken[MpbA9nJ3Dkazd3TBEuj5_-]','2026-09-12 12:09:19',1040,'2026-09-23T16:34:30.665Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(948,'ExponentPushToken[o318VhF4eEOSNdVwOg1VGg]','2026-09-12 12:22:46',1041,'2026-09-13T08:55:19.536Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(949,'ExponentPushToken[DFCxaCAywyuJTCX5iv20UG]','2026-09-12 12:24:46',843,'2026-09-12T12:24:46.814Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(949,'ExponentPushToken[DFCxaCAywyuJTCX5iv20UG]','2026-09-12 12:24:46',843,'2026-09-21T13:46:29.187Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(950,'ExponentPushToken[muzaamKCDpQv6IFSQvfXAE]','2026-09-12 12:24:50',1042,'2026-09-12T12:24:50.033Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(951,'ExponentPushToken[wijAQlAYzzj7IX9djyaCxP]','2026-09-12 12:30:30',1043,'2026-09-12T12:30:30.672Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(952,'ExponentPushToken[J_SRfgFnrrM82Hroefuu8J]','2026-09-12 12:33:43',1044,'2026-09-12T12:33:43.553Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(953,'ExponentPushToken[PHSVWDAZm57G6IKOf0hkyu]','2026-09-12 12:36:04',1045,'2026-09-12T12:36:04.400Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(953,'ExponentPushToken[PHSVWDAZm57G6IKOf0hkyu]','2026-09-12 12:36:04',1045,'2026-09-22T02:53:28.861Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(954,'ExponentPushToken[5GlJFIFh8ny-NSOynaQ1JO]','2026-09-12 12:37:07',1046,'2026-09-12T12:37:07.275Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(955,'ExponentPushToken[h7ROA1Pii6Pln89N-luMOa]','2026-09-12 12:50:42',1048,'2026-09-12T13:34:54.004Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(956,'ExponentPushToken[TdVlGKMS3GLG4qKg3rLr_A]','2026-09-12 13:24:17',1052,'2026-09-12T13:24:17.894Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(955,'ExponentPushToken[h7ROA1Pii6Pln89N-luMOa]','2026-09-12 12:50:42',1048,'2026-09-20T03:36:36.197Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(956,'ExponentPushToken[TdVlGKMS3GLG4qKg3rLr_A]','2026-09-12 13:24:17',1052,'2026-09-18T14:30:04.302Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(957,'ExponentPushToken[-pV9W1C1D8WpMXa5fdIRY0]','2026-09-12 13:36:14',1053,'2026-09-12T13:36:14.240Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(958,'ExponentPushToken[HubMl6N6KKRVQaoVOKFThn]','2026-09-12 13:41:52',1054,'2026-09-13T11:10:48.244Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(958,'ExponentPushToken[HubMl6N6KKRVQaoVOKFThn]','2026-09-12 13:41:52',1054,'2026-09-21T17:19:59.071Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(959,'ExponentPushToken[sV-NCFOS7T4lSKm3otJW2c]','2026-09-12 13:55:23',1055,'2026-09-12T13:55:23.341Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(960,'ExponentPushToken[0Dfe8-LZ0GAf5OR4G3dYUk]','2026-09-12 13:56:30',1056,'2026-09-12T13:56:30.169Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(961,'ExponentPushToken[45CXvMLh-tA4iZXffoIFyz]','2026-09-12 14:02:24',1057,'2026-09-12T14:02:24.321Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(962,'ExponentPushToken[N7VF8ZFgXhbCdjRdzKrfZl]','2026-09-12 14:07:41',1058,'2026-09-12T14:07:41.974Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(963,'ExponentPushToken[W9A-fHKAJO7l62AsSXmvSW]','2026-09-12 14:10:43',1059,'2026-09-13T13:53:29.904Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(964,'ExponentPushToken[zlAhmUDj-FIvUKUZfP5imm]','2026-09-12 14:10:53',1060,'2026-09-13T02:54:59.978Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(965,'ExponentPushToken[MeKE-hCClXytdZ53ocFiOv]','2026-09-12 14:43:04',1061,'2026-09-12T16:11:01.772Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(964,'ExponentPushToken[zlAhmUDj-FIvUKUZfP5imm]','2026-09-12 14:10:53',1060,'2026-09-25T13:06:10.828Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(965,'ExponentPushToken[MeKE-hCClXytdZ53ocFiOv]','2026-09-12 14:43:04',1061,'2026-09-24T06:37:23.495Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(966,'ExponentPushToken[mlc1I9If6LtD8cFY8ByVRY]','2026-09-12 14:49:21',1062,'2026-09-12T14:49:21.627Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(967,'ExponentPushToken[ISWleKA_LB8IT-fgRQdZWK]','2026-09-12 15:17:37',1064,'2026-09-13T09:41:09.652Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(967,'ExponentPushToken[ISWleKA_LB8IT-fgRQdZWK]','2026-09-12 15:17:37',1064,'2026-09-25T01:39:25.062Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(968,'ExponentPushToken[SoHvgyPJww_zlAKOSLhKRG]','2026-09-12 15:20:44',861,'2026-09-13T11:55:02.064Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(969,'ExponentPushToken[kxjt_tE8ZO5TXvQis1POo8]','2026-09-12 17:31:37',1066,'2026-09-12T17:31:37.634Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(970,'ExponentPushToken[0wnswUCYyC2AGtnLoGObAw]','2026-09-12 17:51:00',388,'2026-09-14T03:57:11.095Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(970,'ExponentPushToken[0wnswUCYyC2AGtnLoGObAw]','2026-09-12 17:51:00',388,'2026-09-27T10:58:12.795Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(971,'ExponentPushToken[GLZhE2PQcy5pJifQ1Fz4XI]','2026-09-12 18:49:56',770,'2026-09-13T07:51:12.864Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(972,'ExponentPushToken[B2nE0OE1P5d6FXSfP4UWo4]','2026-09-12 19:10:11',1068,'2026-09-13T12:39:42.201Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(973,'ExponentPushToken[utQUlNFmt8ApDX43jm4Vo1]','2026-09-12 19:20:14',1069,'2026-09-12T19:20:14.705Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(974,'ExponentPushToken[H_TlXXGuzb9kx14qIfj5AI]','2026-09-12 19:26:44',1070,'2026-09-12T19:29:30.877Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(972,'ExponentPushToken[B2nE0OE1P5d6FXSfP4UWo4]','2026-09-12 19:10:11',1068,'2026-09-27T01:42:57.437Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(973,'ExponentPushToken[utQUlNFmt8ApDX43jm4Vo1]','2026-09-12 19:20:14',1069,'2026-09-19T19:22:43.678Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(974,'ExponentPushToken[H_TlXXGuzb9kx14qIfj5AI]','2026-09-12 19:26:44',1070,'2026-09-18T09:35:15.410Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(976,'ExponentPushToken[NPXzcaHyO-NjUbLL6YRqjQ]','2026-09-13 00:48:56',1072,'2026-09-13T00:48:56.494Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(977,'ExponentPushToken[MxKgZvF2eEy-v1EmCaLpmq]','2026-09-13 01:40:43',1073,'2026-09-13T01:43:40.724Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(978,'ExponentPushToken[QMFT0iPsltwYyzhgtasgku]','2026-09-13 01:51:49',998,'2026-09-13T11:18:46.849Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(979,'ExponentPushToken[nPolDzCeov6Zw2I1eIsk5T]','2026-09-13 02:01:01',1074,'2026-09-13T02:42:08.873Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(980,'ExponentPushToken[EmImaKPEvc06xmQN3B6CGO]','2026-09-13 02:03:45',1075,'2026-09-14T03:20:41.264Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(981,'ExponentPushToken[1vQPMAI3vKpsTeAqfntLw3]','2026-09-13 02:34:28',1076,'2026-09-13T02:34:28.953Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(982,'ExponentPushToken[DfzjsfAV9T2sbBa9BA9m20]','2026-09-13 02:53:11',1077,'2026-09-13T16:11:26.971Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(983,'ExponentPushToken[FdLn7_OcxAhIahqxIDBiPY]','2026-09-13 03:03:35',1067,'2026-09-13T16:01:26.473Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(984,'ExponentPushToken[eWc0QvD-vXGpCpapiHYl8q]','2026-09-13 03:17:50',1079,'2026-09-13T03:17:50.856Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(977,'ExponentPushToken[MxKgZvF2eEy-v1EmCaLpmq]','2026-09-13 01:40:43',1073,'2026-09-17T13:32:43.512Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(978,'ExponentPushToken[QMFT0iPsltwYyzhgtasgku]','2026-09-13 01:51:49',998,'2026-09-24T07:24:40.200Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(979,'ExponentPushToken[nPolDzCeov6Zw2I1eIsk5T]','2026-09-13 02:01:01',1074,'2026-09-15T05:12:53.058Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(980,'ExponentPushToken[EmImaKPEvc06xmQN3B6CGO]','2026-09-13 02:03:45',1075,'2026-09-16T07:40:08.294Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(981,'ExponentPushToken[1vQPMAI3vKpsTeAqfntLw3]','2026-09-13 02:34:28',1076,'2026-09-15T14:24:02.940Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(982,'ExponentPushToken[DfzjsfAV9T2sbBa9BA9m20]','2026-09-13 02:53:11',1077,'2026-09-26T06:14:29.770Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(983,'ExponentPushToken[FdLn7_OcxAhIahqxIDBiPY]','2026-09-13 03:03:35',1067,'2026-09-14T15:16:49.447Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(984,'ExponentPushToken[eWc0QvD-vXGpCpapiHYl8q]','2026-09-13 03:17:50',1079,'2026-09-25T07:17:06.693Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(985,'ExponentPushToken[jJLexzNfy-NmPXIN2XgSV0]','2026-09-13 03:29:42',1080,'2026-09-13T03:29:42.766Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(986,'ExponentPushToken[u_1JgwPg2qb-hcbAJFxUM-]','2026-09-13 03:55:41',1082,'2026-09-13T03:55:41.790Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(987,'ExponentPushToken[16jaqrPx3FzyO_d1hHiGHg]','2026-09-13 03:55:43',1081,'2026-09-13T04:33:57.868Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(986,'ExponentPushToken[u_1JgwPg2qb-hcbAJFxUM-]','2026-09-13 03:55:41',1082,'2026-09-15T12:19:08.696Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(987,'ExponentPushToken[16jaqrPx3FzyO_d1hHiGHg]','2026-09-13 03:55:43',1081,'2026-09-15T01:39:19.197Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(988,'ExponentPushToken[usgE4PJwJdwbX42UIZXmc4]','2026-09-13 04:04:32',1083,'2026-09-13T09:53:48.358Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(989,'ExponentPushToken[ZLli-oCSwKXdwK76_wbpSV]','2026-09-13 04:08:11',1084,'2026-09-13T05:20:14.170Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(990,'ExponentPushToken[OkvSBIH98-SD18k0ZGt4q5]','2026-09-13 04:08:15',1085,'2026-09-13T12:10:04.046Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(991,'ExponentPushToken[24byybAHwDxXS5OllA0-A_]','2026-09-13 04:11:40',1086,'2026-09-13T04:11:40.819Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(989,'ExponentPushToken[ZLli-oCSwKXdwK76_wbpSV]','2026-09-13 04:08:11',1084,'2026-09-22T08:18:15.733Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(990,'ExponentPushToken[OkvSBIH98-SD18k0ZGt4q5]','2026-09-13 04:08:15',1085,'2026-09-27T12:17:09.504Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(991,'ExponentPushToken[24byybAHwDxXS5OllA0-A_]','2026-09-13 04:11:40',1086,'2026-09-20T17:15:42.267Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(992,'ExponentPushToken[JVnaxTB7poovs0jF9n6J2T]','2026-09-13 04:54:52',1090,'2026-09-13T04:54:52.652Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(993,'ExponentPushToken[tSuxQEHc4BQdGNJlijM7Vr]','2026-09-13 05:04:24',431,'2026-09-13T05:04:24.853Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(993,'ExponentPushToken[tSuxQEHc4BQdGNJlijM7Vr]','2026-09-13 05:04:24',431,'2026-09-20T06:46:52.864Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(994,'ExponentPushToken[wFar26NlYlwaulVNulj4m6]','2026-09-13 05:07:44',1091,'2026-09-13T05:07:44.662Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(995,'ExponentPushToken[h1bzeyD2dNtiu4gS9XNfet]','2026-09-13 05:18:54',1092,'2026-09-13T05:18:54.837Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(995,'ExponentPushToken[h1bzeyD2dNtiu4gS9XNfet]','2026-09-13 05:18:54',1092,'2026-09-24T15:04:17.402Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(996,'ExponentPushToken[-Y0i3hI-gy_LNJHAOFzy7w]','2026-09-13 05:19:16',1093,'2026-09-13T05:19:16.830Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(997,'ExponentPushToken[rGTu6bGDS-rdon7V1F09C6]','2026-09-13 05:38:05',1095,'2026-09-13T13:59:39.509Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(998,'ExponentPushToken[RTyKzsAZw95vYCBe8m81y-]','2026-09-13 05:39:41',1096,'2026-09-13T05:39:41.729Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(998,'ExponentPushToken[RTyKzsAZw95vYCBe8m81y-]','2026-09-13 05:39:41',1096,'2026-09-24T08:32:36.018Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(999,'ExponentPushToken[JzKnDIDYdjzBpxNjIlb1Ws]','2026-09-13 06:02:01',1098,'2026-09-13T06:02:01.151Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1000,'ExponentPushToken[73g588PtaKxp-wFnZmlbNZ]','2026-09-13 06:51:49',996,'2026-09-13T06:51:49.648Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1001,'ExponentPushToken[uvuug_FS60jQ_ao_kqwnvi]','2026-09-13 06:52:32',1100,'2026-09-13T06:52:32.371Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1001,'ExponentPushToken[uvuug_FS60jQ_ao_kqwnvi]','2026-09-13 06:52:32',1100,'2026-09-14T05:16:14.355Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1002,'ExponentPushToken[OPlSxKJ72mnty6NV4KNNaS]','2026-09-13 07:13:36',1101,'2026-09-13T11:23:42.500Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1003,'ExponentPushToken[nc51hVCE0Mre0mFBFfGvlr]','2026-09-13 07:42:22',1102,'2026-09-13T09:30:20.429Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1004,'ExponentPushToken[lFji2dAS1Ab8zCH6hevBip]','2026-09-13 07:53:34',1103,'2026-09-13T07:53:34.934Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1005,'ExponentPushToken[cN54v_HBKLRJz3yMw9b2xf]','2026-09-13 08:40:52',1104,'2026-09-13T08:40:52.380Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1003,'ExponentPushToken[nc51hVCE0Mre0mFBFfGvlr]','2026-09-13 07:42:22',1102,'2026-09-21T11:27:10.841Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1004,'ExponentPushToken[lFji2dAS1Ab8zCH6hevBip]','2026-09-13 07:53:34',1103,'2026-09-27T02:57:36.483Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1005,'ExponentPushToken[cN54v_HBKLRJz3yMw9b2xf]','2026-09-13 08:40:52',1104,'2026-09-18T04:26:21.046Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1006,'ExponentPushToken[2CrE3DAYNXpCa_3z9VJa1X]','2026-09-13 08:41:59',1105,'2026-09-13T10:10:42.387Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1007,'ExponentPushToken[0NRSg8BorFSWQ16LeWhxEL]','2026-09-13 09:08:15',1106,'2026-09-13T09:12:18.763Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1008,'ExponentPushToken[ezVizOJKgnrdaSf3cR_7D-]','2026-09-13 09:51:22',1107,'2026-09-13T09:51:22.465Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1009,'ExponentPushToken[8m6Kv8KIalWElZ49DTF9OF]','2026-09-13 10:39:45',1109,'2026-09-13T10:42:03.972Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1007,'ExponentPushToken[0NRSg8BorFSWQ16LeWhxEL]','2026-09-13 09:08:15',1106,'2026-09-24T05:52:33.501Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1008,'ExponentPushToken[ezVizOJKgnrdaSf3cR_7D-]','2026-09-13 09:51:22',1107,'2026-09-19T03:35:47.417Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1009,'ExponentPushToken[8m6Kv8KIalWElZ49DTF9OF]','2026-09-13 10:39:45',1109,'2026-09-14T07:46:41.905Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1010,'ExponentPushToken[ZUIRJwCnvAmbke66Sf9Znx]','2026-09-13 10:58:37',1110,'2026-09-13T10:59:58.376Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1011,'ExponentPushToken[eL08_GAHcvVR21FuPDPy_U]','2026-09-13 11:17:47',1111,'2026-09-13T18:06:19.508Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1012,'ExponentPushToken[fTmN-PMifvn5P-4fQZA92R]','2026-09-13 11:31:30',816,'2026-09-13T11:31:30.042Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1011,'ExponentPushToken[eL08_GAHcvVR21FuPDPy_U]','2026-09-13 11:17:47',1111,'2026-09-14T12:02:27.418Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1012,'ExponentPushToken[fTmN-PMifvn5P-4fQZA92R]','2026-09-13 11:31:30',816,'2026-09-20T13:24:25.559Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1013,'ExponentPushToken[L3yKDYPdb6ywdzKh5zTxQ2]','2026-09-13 11:33:05',1112,'2026-09-13T11:42:09.330Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1014,'ExponentPushToken[N5P1BlNaIgCZuRyw0mttc-]','2026-09-13 11:42:04',1113,'2026-09-13T11:42:04.732Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1014,'ExponentPushToken[N5P1BlNaIgCZuRyw0mttc-]','2026-09-13 11:42:04',1113,'2026-09-21T11:27:04.000Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1015,'ExponentPushToken[V6phOrD8N5laDCKsOKkJSw]','2026-09-13 12:01:26',1114,'2026-09-13T12:01:26.804Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1016,'ExponentPushToken[VBvJX0B613r4nNDvM4iSqN]','2026-09-13 12:35:53',1116,'2026-09-14T02:40:55.908Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1016,'ExponentPushToken[VBvJX0B613r4nNDvM4iSqN]','2026-09-13 12:35:53',1116,'2026-09-23T16:43:50.503Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1017,'ExponentPushToken[sdtYWqPKk88x7980vODiGM]','2026-09-13 12:49:57',1117,'2026-09-13T12:49:57.422Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1018,'ExponentPushToken[vHEBbTIGOT2JPjRj1fUKn3]','2026-09-13 13:37:46',1118,'2026-09-13T13:37:46.001Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1019,'ExponentPushToken[AjR4jCMiJaLzTWN8G7sS-9]','2026-09-13 14:00:12',1119,'2026-09-13T14:00:12.676Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1019,'ExponentPushToken[AjR4jCMiJaLzTWN8G7sS-9]','2026-09-13 14:00:12',1119,'2026-09-22T10:02:28.421Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1020,'ExponentPushToken[fugQ6_HLa2juewp8Zn4UgQ]','2026-09-13 14:33:32',1120,'2026-09-13T14:33:32.593Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1021,'ExponentPushToken[LZepWSN_vkskreDaEO5h49]','2026-09-13 14:38:46',1121,'2026-09-13T14:54:04.953Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1022,'ExponentPushToken[HfFi2-LusjcJG8pj_wtAjL]','2026-09-13 15:44:43',897,'2026-09-13T15:44:43.811Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1023,'ExponentPushToken[LYXJVoFOQ8GCqkCbnQfvkg]','2026-09-13 16:01:43',1122,'2026-09-13T16:01:43.794Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1024,'ExponentPushToken[T_nIUfCINe10gwxfcHBOLA]','2026-09-13 16:52:48',1123,'2026-09-13T16:52:48.331Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1025,'ExponentPushToken[_klJWgJMeQYwJAgnCKG1Lr]','2026-09-13 18:33:34',1124,'2026-09-14T00:49:50.274Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1021,'ExponentPushToken[LZepWSN_vkskreDaEO5h49]','2026-09-13 14:38:46',1121,'2026-09-23T15:53:56.409Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1022,'ExponentPushToken[HfFi2-LusjcJG8pj_wtAjL]','2026-09-13 15:44:43',897,'2026-09-17T15:08:41.904Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1023,'ExponentPushToken[LYXJVoFOQ8GCqkCbnQfvkg]','2026-09-13 16:01:43',1122,'2026-09-20T08:18:48.144Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1024,'ExponentPushToken[T_nIUfCINe10gwxfcHBOLA]','2026-09-13 16:52:48',1123,'2026-09-27T15:19:50.023Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1025,'ExponentPushToken[_klJWgJMeQYwJAgnCKG1Lr]','2026-09-13 18:33:34',1124,'2026-09-14T15:50:22.112Z'); INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1026,'ExponentPushToken[CTYqUwAYp2jOy53Qmc_lZ1]','2026-09-13 23:54:20',1125,'2026-09-13T23:54:20.633Z'); -INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1027,'ExponentPushToken[Pr1ZagPe_QGAwpx19DvpJs]','2026-09-14 03:42:58',1126,'2026-09-14T03:42:58.278Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1028,'ExponentPushToken[rLtwuBPXTntroEYkycgYMw]','2026-09-14 04:07:25',1127,'2026-09-14T06:16:27.042Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1029,'ExponentPushToken[-4AF03CY9gAzWziTnSExx7]','2026-09-14 04:17:26',1128,'2026-09-14T04:17:26.270Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1030,'ExponentPushToken[Zy_NF4BdEOZ3HAu4eM-yn5]','2026-09-14 05:02:30',1129,'2026-09-16T06:15:54.553Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1031,'ExponentPushToken[VYy3y-BAtF4zXmnjHg4VyA]','2026-09-14 05:11:50',948,'2026-09-14T05:11:50.916Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1032,'ExponentPushToken[JdH9rqPuxQU5jahvSsqyhJ]','2026-09-14 06:06:25',1130,'2026-09-26T13:37:37.135Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1033,'ExponentPushToken[cr6_1DEr-vrZgj8U0LtEt7]','2026-09-14 07:34:10',1131,'2026-09-21T05:54:20.792Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1034,'ExponentPushToken[tEGX8aFR3w2cjBrEbk1Fk4]','2026-09-14 12:32:32',1133,'2026-09-27T02:04:17.744Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1035,'ExponentPushToken[30brXmOfR8xyF20BRLQ2eV]','2026-09-14 13:32:18',1135,'2026-09-14T13:32:18.417Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1036,'ExponentPushToken[QlF5ksFNOH8qup-CBDCj5k]','2026-09-14 13:37:50',1136,'2026-09-27T07:15:23.980Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1037,'ExponentPushToken[tiZy9uGX2ERidETFAQUAEq]','2026-09-14 13:38:34',1137,'2026-09-27T12:27:58.319Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1038,'ExponentPushToken[iDeZjqHFrkhOc5JRXee6qz]','2026-09-14 13:56:03',1138,'2026-09-15T07:39:59.926Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1039,'ExponentPushToken[0A5i8bBTbwwv6QV_JIqgVJ]','2026-09-14 14:24:03',1139,'2026-09-25T15:54:07.216Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1040,'ExponentPushToken[jRSrAHENnwF7QZfsUhsP0Z]','2026-09-14 16:04:43',1140,'2026-09-15T05:25:17.478Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1041,'ExponentPushToken[Sf2Oj8FGMXAaviqsHi5nEV]','2026-09-14 19:22:45',1142,'2026-09-15T08:07:04.254Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1042,'ExponentPushToken[_eOuGGJJ9BgI2032XP0FI1]','2026-09-15 01:05:33',1143,'2026-09-27T12:07:31.339Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1043,'ExponentPushToken[16jaqrPx3FzyO_d1hHiGHg]','2026-09-15 01:40:21',1144,'2026-09-27T00:17:55.751Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1044,'ExponentPushToken[QHpVTGLrRHYPMOHIukqWm-]','2026-09-15 01:40:30',1145,'2026-09-15T02:17:31.178Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1045,'ExponentPushToken[nCJ-e2JOLKdt1vAPNTnDl6]','2026-09-15 04:12:54',1146,'2026-09-16T05:55:47.489Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1046,'ExponentPushToken[WB3b2vGIAMbIP9GQZ5hO7Q]','2026-09-15 05:06:42',1147,'2026-09-26T15:33:28.998Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1047,'ExponentPushToken[YKeR0jCFe_PLXoT2aM4XbR]','2026-09-15 05:34:59',1148,'2026-09-19T07:19:48.963Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1048,'ExponentPushToken[5tpBtmA81cbl8yma49Xix5]','2026-09-15 05:41:20',1149,'2026-09-15T06:57:02.494Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1049,'ExponentPushToken[NlsZUpK6pfuiUyJ_EXTVBG]','2026-09-15 06:38:35',1150,'2026-09-25T16:19:18.919Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1050,'ExponentPushToken[rfNuwnM8FT3wu1Ai59BLFy]','2026-09-15 07:22:47',1151,'2026-09-27T14:49:51.637Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1051,'ExponentPushToken[a3eZKILpbuIV3oOgl7BVYJ]','2026-09-15 08:15:14',216,'2026-09-15T08:15:14.424Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1052,'ExponentPushToken[B8XmaFKc7y3Do4kOKzyoIj]','2026-09-15 08:56:01',1152,'2026-09-15T08:56:01.191Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1053,'ExponentPushToken[39zx-cMEjx6vKQhRTG0mNm]','2026-09-15 09:22:20',1153,'2026-09-25T04:46:36.465Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1054,'ExponentPushToken[vzHMB5JMa0hdGTl7p_Fu_v]','2026-09-15 09:33:05',1154,'2026-09-15T09:33:05.176Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1055,'ExponentPushToken[iNwGUGBkxIDv39G4foss-f]','2026-09-15 09:44:20',1155,'2026-09-15T09:44:42.710Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1056,'ExponentPushToken[QMegqTLBVUTTSTvUei6tJE]','2026-09-15 10:19:50',1156,'2026-09-15T10:19:50.150Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1057,'ExponentPushToken[jOCJZqGYiums4IfZfG-zeG]','2026-09-15 10:20:32',1157,'2026-09-15T10:25:12.908Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1058,'ExponentPushToken[KHBcS1Eo9zJKb8dMHv1l1M]','2026-09-15 11:25:28',1159,'2026-09-15T11:25:28.688Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1059,'ExponentPushToken[qtIUijCZo5HgXDzS0peSSu]','2026-09-15 11:55:01',1160,'2026-09-15T11:55:01.021Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1060,'ExponentPushToken[PCq8UGJY7A2SmriC35qttm]','2026-09-15 12:04:18',1162,'2026-09-17T12:52:42.278Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1061,'ExponentPushToken[y4IoxEAuJLgEFDZNIqRCMo]','2026-09-15 12:17:07',1163,'2026-09-18T04:08:39.588Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1062,'ExponentPushToken[cj_wFoL6KJ20jFXHHqR8d5]','2026-09-15 13:02:25',1164,'2026-09-15T13:02:25.710Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1063,'ExponentPushToken[iUpk2HGq2alpcSpWqMUKup]','2026-09-15 13:09:26',1165,'2026-09-15T13:37:08.359Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1064,'ExponentPushToken[vFzBGACpXGT08HTGmmXFAg]','2026-09-15 13:19:16',1166,'2026-09-16T02:59:26.544Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1065,'ExponentPushToken[EdMFetDjLSXpLfFTiYxJ48]','2026-09-15 13:29:48',1167,'2026-09-15T13:42:12.486Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1066,'ExponentPushToken[syVgr1HZP4vjSoY3BByJ9u]','2026-09-15 13:36:57',1168,'2026-09-15T13:36:57.535Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1067,'ExponentPushToken[w4WR9xFeB82z_HoVKJP044]','2026-09-15 14:12:14',1169,'2026-09-26T12:54:44.946Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1068,'ExponentPushToken[sBxcVvDtCq709J9DDORbys]','2026-09-15 14:52:49',1170,'2026-09-15T14:52:49.149Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1069,'ExponentPushToken[V4kdFIPHLxoPYrKKNB14ZF]','2026-09-16 04:31:06',1171,'2026-09-16T04:40:41.182Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1070,'ExponentPushToken[2xtJHGDW20TZojBMbrnl9i]','2026-09-16 05:15:13',1172,'2026-09-16T05:15:13.866Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1071,'ExponentPushToken[yjbX32EPiDTIGA-0POjDFN]','2026-09-16 07:14:18',1173,'2026-09-16T07:14:18.086Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1072,'ExponentPushToken[ytySnpH5GY64VadL9AtVRk]','2026-09-16 07:47:42',1010,'2026-09-16T07:47:45.692Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1073,'ExponentPushToken[c5aQtcDHV5MI_-hOOEZKuS]','2026-09-16 07:57:17',1174,'2026-09-22T17:49:20.031Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1074,'ExponentPushToken[2psMgCA4YEfuU3Mk_YI_D-]','2026-09-16 08:05:42',1175,'2026-09-16T08:05:42.104Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1075,'ExponentPushToken[Di93DIIsgdT4y0TZ8QAvwG]','2026-09-16 10:11:02',1176,'2026-09-16T14:52:19.179Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1076,'ExponentPushToken[KfeDjvKXk7OM-jcFjovY6H]','2026-09-16 10:55:33',1177,'2026-09-22T14:56:48.634Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1077,'ExponentPushToken[n6B80DEPzOZaVFxMEPV3XD]','2026-09-16 10:59:37',1178,'2026-09-21T11:31:27.538Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1078,'ExponentPushToken[OpZW5bOeA7wJrcsUCo9Z8A]','2026-09-16 11:38:16',1179,'2026-09-17T12:20:30.157Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1079,'ExponentPushToken[ye7MxxDDR0AwyeQGgFo8fd]','2026-09-16 13:30:36',1180,'2026-09-16T13:30:36.005Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1080,'ExponentPushToken[SEESKaBxsoIYTZLVY_K1sM]','2026-09-16 13:59:04',1181,'2026-09-23T02:43:28.231Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1081,'ExponentPushToken[D7fhIqNks_2h7Ehe5jlrJq]','2026-09-16 14:45:45',621,'2026-09-16T14:45:45.138Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1082,'ExponentPushToken[-4qSKkCdK0SXapQiMDNtns]','2026-09-16 15:01:02',1182,'2026-09-20T01:59:34.076Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1083,'ExponentPushToken[y8nVWRKuKgTA34bujyeLqJ]','2026-09-16 15:33:14',1183,'2026-09-26T13:55:27.544Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1084,'ExponentPushToken[Zx-QUbFXu-Kt4XasJVNfCB]','2026-09-16 17:02:48',1184,'2026-09-21T10:37:44.787Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1085,'ExponentPushToken[WNFDt7O_XwLLi9o4Kzkxh1]','2026-09-16 17:05:05',1141,'2026-09-16T17:05:05.695Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1086,'ExponentPushToken[iy4keVDskW3UeguQ98IC18]','2026-09-16 18:28:01',1185,'2026-09-25T03:52:06.344Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1087,'ExponentPushToken[ztKEwrJShQuweUycnFsIEf]','2026-09-17 01:31:58',1186,'2026-09-17T01:57:18.495Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1088,'ExponentPushToken[sAd4YtJL7eNiyZYFLQ9RIS]','2026-09-17 03:54:31',1187,'2026-09-17T03:54:31.077Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1089,'ExponentPushToken[LfAPs1IUnZSrW11L2P6Ljq]','2026-09-17 07:32:13',1188,'2026-09-22T16:24:02.326Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1090,'ExponentPushToken[FRvK5qOdOnOM3J_ewfgEVy]','2026-09-17 07:55:21',1078,'2026-09-27T12:42:02.916Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1091,'ExponentPushToken[QqPqRuL-HlsUOJkxoPiPCX]','2026-09-17 09:16:46',1011,'2026-09-17T11:40:10.585Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1092,'ExponentPushToken[b1BFoKKmx5ktpFlqYGNftt]','2026-09-17 10:22:09',1189,'2026-09-22T04:15:34.691Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1093,'ExponentPushToken[QaKb4ACrFoddJkeqD8otkW]','2026-09-17 14:22:43',1191,'2026-09-27T03:31:26.066Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1094,'ExponentPushToken[_aE7ulFQCtisotKWBws17S]','2026-09-17 16:36:48',1192,'2026-09-17T16:36:48.321Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1095,'ExponentPushToken[sbqSyDIecdc-xZZSZ8mYj_]','2026-09-17 18:54:08',889,'2026-09-27T09:21:02.841Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1096,'ExponentPushToken[cYu6EAAQLiQX4lVZsaeqHA]','2026-09-18 00:18:25',359,'2026-09-25T13:11:53.151Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1097,'ExponentPushToken[ctwdtfMNK-iiyO4cJio7Sy]','2026-09-18 02:50:48',1194,'2026-09-18T02:50:48.585Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1098,'ExponentPushToken[0ib-b1CyAk9y0DibSTga4o]','2026-09-18 05:55:01',1195,'2026-09-18T05:55:01.530Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1099,'ExponentPushToken[yMnX48JtzXu3MfH5pnRGgG]','2026-09-18 06:14:21',1196,'2026-09-18T06:14:21.778Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1100,'ExponentPushToken[OSNa9rMsgXNTh02hjnbV_s]','2026-09-18 11:58:01',1198,'2026-09-19T03:51:26.462Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1101,'ExponentPushToken[_Fnig4JuATDGSX60UrE6z6]','2026-09-18 12:39:05',589,'2026-09-24T02:41:17.908Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1102,'ExponentPushToken[3uZhBQJSl7zx0qs_zjHy96]','2026-09-18 14:13:19',1199,'2026-09-27T05:58:36.594Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1103,'ExponentPushToken[tMoHveEoDz0OonLg1Pk3Cy]','2026-09-18 14:16:07',1000,'2026-09-18T16:39:32.324Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1104,'ExponentPushToken[BJwjKOBp3xFUnSdLaZ0yiz]','2026-09-19 12:14:28',1201,'2026-09-19T12:14:28.952Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1105,'ExponentPushToken[sYn2CnJV_Focrm9PgNacHQ]','2026-09-19 15:53:55',1203,'2026-09-19T16:29:08.044Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1106,'ExponentPushToken[ZG7Fh9C5LLnFyvla3a_3Jn]','2026-09-20 01:12:46',1204,'2026-09-20T01:12:46.454Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1107,'ExponentPushToken[HMXpGGGvmTBCh7B61lF2U0]','2026-09-20 01:53:21',1100,'2026-09-26T14:59:56.747Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1108,'ExponentPushToken[HMXpGGGvmTBCh7B61lF2U0]','2026-09-20 01:54:47',1205,'2026-09-20T01:54:47.445Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1109,'ExponentPushToken[mec1ZSMxmBvEMJyUlfJTm3]','2026-09-20 02:28:17',1207,'2026-09-24T07:00:39.846Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1110,'ExponentPushToken[h-oyvOAE2pv1SQx26f9v24]','2026-09-20 03:39:12',1206,'2026-09-20T03:39:12.084Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1111,'ExponentPushToken[mze7mZEI6bj7WfZMaQXgro]','2026-09-20 03:41:47',1209,'2026-09-27T11:45:25.397Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1112,'ExponentPushToken[dUhS4qLlRFg8aoEw-a6ovm]','2026-09-20 03:48:59',1210,'2026-09-20T03:48:59.584Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1113,'ExponentPushToken[fzAMDCDzxfz_INDdHPv4sp]','2026-09-20 03:58:53',1211,'2026-09-23T11:43:23.452Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1114,'ExponentPushToken[JGzmRZFxa45kLsOKaqFopH]','2026-09-20 04:06:52',1212,'2026-09-27T14:20:32.219Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1115,'ExponentPushToken[x1Z_NZBEb88YI2eHIgu00Q]','2026-09-20 05:30:10',1213,'2026-09-22T13:46:08.689Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1116,'ExponentPushToken[Gh-IlZIq5y0VObkkHl5Kw6]','2026-09-20 06:14:35',1214,'2026-09-20T14:22:04.443Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1117,'ExponentPushToken[tSuxQEHc4BQdGNJlijM7Vr]','2026-09-20 06:52:20',1217,'2026-09-27T03:01:52.413Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1118,'ExponentPushToken[fVp1HDFuI6Y3wWmaHnu3-B]','2026-09-20 07:28:35',1218,'2026-09-26T13:39:50.431Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1119,'ExponentPushToken[SId1iNAFY95XcsMtz2uJrg]','2026-09-20 07:48:12',1220,'2026-09-27T04:39:35.783Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1120,'ExponentPushToken[Pbr9F2D-ma760Dj3qOrb7x]','2026-09-20 19:09:47',1222,'2026-09-20T19:09:47.095Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1121,'ExponentPushToken[J8hBbBBeiw-no4syt58Rdn]','2026-09-21 02:45:58',1223,'2026-09-21T02:45:58.146Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1122,'ExponentPushToken[7YN-38A0es_jyMLZpWzHU7]','2026-09-21 03:26:03',1224,'2026-09-27T05:34:10.050Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1123,'ExponentPushToken[iIcTbdI1VF_NXjHMZyhxqd]','2026-09-21 16:20:32',614,'2026-09-21T16:20:32.456Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1124,'ExponentPushToken[-XWvoZG6YvMAXGX-U8mWoz]','2026-09-22 04:51:09',1225,'2026-09-22T04:51:09.481Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1125,'ExponentPushToken[3-tDcEKCzibg-42zefSROO]','2026-09-22 06:53:18',1227,'2026-09-22T06:53:18.069Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1126,'ExponentPushToken[cJxCbaOagbae-Llcx3-aMY]','2026-09-22 07:38:58',1228,'2026-09-22T07:52:03.274Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1127,'ExponentPushToken[snonCdFK2OupPppDrYv_cT]','2026-09-22 08:41:30',1229,'2026-09-25T05:43:42.344Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1128,'ExponentPushToken[r6GG7TANCHJEFlGy4qit7d]','2026-09-22 10:28:10',1230,'2026-09-25T07:38:34.742Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1129,'ExponentPushToken[ta7f7nA1-1F_CwvMD7aYkw]','2026-09-22 16:42:15',1231,'2026-09-23T02:24:07.421Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1130,'ExponentPushToken[c5aQtcDHV5MI_-hOOEZKuS]','2026-09-22 17:50:06',1232,'2026-09-22T17:50:06.925Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1131,'ExponentPushToken[qTUrgFPaNG485pQjbGmp9z]','2026-09-23 06:22:33',1234,'2026-09-24T05:51:14.169Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1132,'ExponentPushToken[u_O_ydL80T2K3DCOenmP2f]','2026-09-23 12:21:42',1235,'2026-09-23T12:21:42.126Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1133,'ExponentPushToken[01eMroAzJBbq_R8mWS9cDx]','2026-09-23 12:34:56',1236,'2026-09-23T12:34:56.456Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1134,'ExponentPushToken[1o2hUJNgzIuYVrv0qg9BRz]','2026-09-23 13:07:26',1237,'2026-09-23T13:35:38.384Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1135,'ExponentPushToken[tIfXYKFB7t3UkM0qZMKy0l]','2026-09-23 14:37:52',1238,'2026-09-23T14:50:41.002Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1136,'ExponentPushToken[o0hLkhEwGcTo5nqv1QvrcZ]','2026-09-23 15:57:59',1239,'2026-09-26T03:05:29.039Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1137,'ExponentPushToken[4nko9iNLxcniPOe9_HVD_L]','2026-09-23 19:46:36',1240,'2026-09-26T13:46:42.598Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1138,'ExponentPushToken[ROzLrXEV42b3SoLOlH1pTa]','2026-09-24 07:22:00',1242,'2026-09-24T07:22:00.760Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1139,'ExponentPushToken[m_CWoiJlWlpI5RBLEJLmyE]','2026-09-24 08:35:22',350,'2026-09-24T10:00:46.610Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1140,'ExponentPushToken[wF1z8fDeSMGHlPRBbETioe]','2026-09-24 09:29:15',1243,'2026-09-27T03:18:24.230Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1141,'ExponentPushToken[5CzesiC5I-3Qs5F0jCYAnS]','2026-09-24 12:43:25',776,'2026-09-24T12:43:25.667Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1142,'ExponentPushToken[CGgtzRDOVD5HEIxnDjnWzt]','2026-09-24 13:12:45',1245,'2026-09-24T13:19:02.736Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1143,'ExponentPushToken[8RCScPBEYU-s_L8TiYNsOE]','2026-09-24 13:55:59',1246,'2026-09-27T12:44:28.671Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1144,'ExponentPushToken[b_qIp5CiWOzduWvzAzFKx1]','2026-09-25 03:30:11',1248,'2026-09-26T03:04:49.862Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1145,'ExponentPushToken[F7rtB3FXmoXelO1zqlqspp]','2026-09-25 10:22:23',1249,'2026-09-25T10:22:23.162Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1146,'ExponentPushToken[dzavm2LDHVhgJTsoSQKAvb]','2026-09-25 11:33:05',1250,'2026-09-26T13:38:25.977Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1147,'ExponentPushToken[091g6KArH4RT4D1WPvjX63]','2026-09-25 17:18:15',1251,'2026-09-25T17:18:58.446Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1148,'ExponentPushToken[LlfvF1Bhtvd7mGFReKcDV5]','2026-09-26 04:36:18',1252,'2026-09-26T04:36:18.357Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1149,'ExponentPushToken[__M9CLEVj_j9IpU3AsUdDC]','2026-09-26 05:51:38',119,'2026-09-26T05:51:38.509Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1150,'ExponentPushToken[mMJ-_6Ev70Hz-OnSi1oRY5]','2026-09-26 15:43:02',1254,'2026-09-26T17:59:23.957Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1151,'ExponentPushToken[cPo8IVBjvLXvjV1AFZoi68]','2026-09-27 01:27:58',1255,'2026-09-27T02:52:41.919Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1152,'ExponentPushToken[TCFYIgFGUV7DFhrEMK3JqP]','2026-09-27 02:18:58',1257,'2026-09-27T07:09:18.035Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1153,'ExponentPushToken[kXfKFoI9a0ydsNoCA2Ox4F]','2026-09-27 02:59:14',1258,'2026-09-27T02:59:14.338Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1154,'ExponentPushToken[a_TjBGIQuTFQFw9ZxIekcq]','2026-09-27 03:34:51',1259,'2026-09-27T06:21:04.569Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1155,'ExponentPushToken[H3VmShFfGbFHrDDmaQGcd9]','2026-09-27 04:28:20',1261,'2026-09-27T07:42:03.536Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1156,'ExponentPushToken[RNP4FZNLcX77qQR4HTZbD6]','2026-09-27 04:35:24',1262,'2026-09-27T11:14:42.824Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1157,'ExponentPushToken[p8BSpIIv3AIgIwzmgm4FBD]','2026-09-27 05:06:59',1263,'2026-09-27T06:47:49.524Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1158,'ExponentPushToken[2WvYJ4EPGylmNQeHzYkCpy]','2026-09-27 05:49:57',1264,'2026-09-27T06:57:52.508Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1159,'ExponentPushToken[8T5k3AFi81wJwzH5pPkG43]','2026-09-27 09:43:04',1266,'2026-09-27T09:43:04.258Z'); +INSERT INTO "notif_creds" ("id","token","added_at","user_id","last_verified") VALUES(1160,'ExponentPushToken[44tjzWEw1tKZJyq5lmWYvU]','2026-09-27 10:30:28',1267,'2026-09-27T10:30:28.587Z'); CREATE TABLE IF NOT EXISTS "notifications" ("id" INTEGER PRIMARY KEY, "user_id" INTEGER NOT NULL, "title" TEXT NOT NULL, "body" TEXT NOT NULL, "type" TEXT, "is_read" INTEGER NOT NULL DEFAULT false, "created_at" TEXT NOT NULL DEFAULT CURRENT_TIMESTAMP); CREATE TABLE IF NOT EXISTS "order_status" ("id" INTEGER PRIMARY KEY, "order_time" TEXT NOT NULL DEFAULT CURRENT_TIMESTAMP, "user_id" INTEGER NOT NULL, "order_id" INTEGER NOT NULL, "is_packaged" INTEGER NOT NULL DEFAULT false, "is_delivered" INTEGER NOT NULL DEFAULT false, "is_cancelled" INTEGER NOT NULL DEFAULT false, "cancel_reason" TEXT, "payment_state" TEXT NOT NULL DEFAULT 'pending', "cancellation_user_notes" TEXT, "cancellation_admin_notes" TEXT, "cancellation_reviewed" INTEGER NOT NULL DEFAULT false, "cancellation_reviewed_at" TEXT, "refund_coupon_id" INTEGER, "is_cancelled_by_admin" INTEGER); INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(105,'2025-12-24T02:50:33.284Z',22,105,0,0,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); @@ -5230,7 +5631,7 @@ INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged" INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2045,'2026-09-12 21:25:04',939,2051,0,0,1,'My order cancel ','cod','My order cancel ',NULL,0,NULL,NULL,NULL); INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2046,'2026-09-12 21:26:41',939,2052,0,0,1,'My order cancel ','cod','My order cancel ',NULL,0,NULL,NULL,NULL); INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2047,'2026-09-13 01:17:27',453,2053,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); -INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2048,'2026-09-13 01:51:21',551,2054,1,0,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2048,'2026-09-13 01:51:21',551,2054,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2049,'2026-09-13 02:09:13',976,2055,0,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2050,'2026-09-13 02:54:54',1077,2056,1,0,1,'Very late and no response ','cod','Very late and no response ',NULL,0,NULL,NULL,NULL); INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2051,'2026-09-13 03:02:52',1078,2057,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); @@ -5268,7 +5669,233 @@ INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged" INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2083,'2026-09-13 14:35:15',440,2089,0,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2084,'2026-09-13 14:57:01',1008,2090,0,0,1,'Time delay ','cod','Time delay ',NULL,0,NULL,NULL,NULL); INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2085,'2026-09-13 18:02:25',1089,2091,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); -INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2086,'2026-09-13 18:22:10',842,2092,0,0,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2086,'2026-09-13 18:22:10',842,2092,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2087,'2026-09-14 04:08:49',1127,2093,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2088,'2026-09-14 04:08:49',1127,2094,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2089,'2026-09-14 04:17:50',892,2095,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2090,'2026-09-14 04:23:38',1063,2096,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2091,'2026-09-14 05:06:32',198,2097,0,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2092,'2026-09-14 05:52:12',440,2098,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2093,'2026-09-14 06:06:47',939,2099,0,0,1,'My order cancel ','cod','My order cancel ',NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2094,'2026-09-14 06:18:50',82,2100,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2095,'2026-09-14 06:18:50',82,2101,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2096,'2026-09-14 11:01:28',388,2102,0,0,1,'Test','cod','Test',NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2097,'2026-09-14 12:58:51',378,2103,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2098,'2026-09-14 13:28:11',499,2104,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2099,'2026-09-14 14:01:20',1138,2105,0,0,1,'Too late','cod','Too late',NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2100,'2026-09-14 15:10:52',782,2106,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2101,'2026-09-14 15:22:23',710,2107,0,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2102,'2026-09-14 16:29:57',1139,2108,1,1,1,'Till now no response and not any updates','cod','Till now no response and not any updates',NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2103,'2026-09-14 16:29:57',1139,2109,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2104,'2026-09-15 01:42:01',1145,2110,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2105,'2026-09-15 04:10:39',1063,2111,0,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2106,'2026-09-15 04:51:26',486,2112,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2107,'2026-09-15 05:09:06',1147,2113,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2108,'2026-09-15 06:15:31',1149,2114,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2109,'2026-09-15 06:15:31',1149,2116,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2110,'2026-09-15 06:15:31',1149,2115,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2111,'2026-09-15 06:28:55',868,2117,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2112,'2026-09-15 07:25:54',1151,2118,0,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2113,'2026-09-15 09:26:07',782,2119,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2114,'2026-09-15 09:28:48',1136,2120,0,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2115,'2026-09-15 09:28:48',1136,2121,0,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2116,'2026-09-15 09:58:39',1136,2122,0,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2117,'2026-09-15 12:07:31',1161,2123,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2118,'2026-09-15 12:41:55',1162,2124,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2119,'2026-09-15 12:44:19',1148,2125,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2120,'2026-09-15 13:59:45',681,2126,0,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2121,'2026-09-15 14:18:49',1085,2127,0,0,1,'Delivery by today ','cod','Delivery by today ',NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2122,'2026-09-15 16:00:57',929,2128,0,0,1,'thanks for choosing Freshyo. Your delivery location is currently outside our service area. We hope to reach you soon! — Team Freshyo','cod',NULL,'thanks for choosing Freshyo. Your delivery location is currently outside our service area. We hope to reach you soon! — Team Freshyo',1,'2026-09-16T05:20:41.556Z',NULL,1); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2123,'2026-09-15 16:23:01',1141,2129,0,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2124,'2026-09-15 17:58:46',631,2130,0,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2125,'2026-09-15 20:53:09',1136,2131,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2126,'2026-09-16 01:37:07',1166,2132,0,0,1,'thanks for choosing Freshyo. Your delivery location is currently outside our service area. We hope to reach you soon! — Team Freshyo','cod',NULL,'thanks for choosing Freshyo. Your delivery location is currently outside our service area. We hope to reach you soon! — Team Freshyo',1,'2026-09-16T02:20:19.200Z',NULL,1); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2127,'2026-09-16 02:03:12',977,2133,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2128,'2026-09-16 06:18:52',1129,2134,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2129,'2026-09-16 08:31:12',115,2135,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2130,'2026-09-16 08:51:29',366,2136,0,0,1,'No need of apples','cod','No need of apples',NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2131,'2026-09-16 08:51:29',366,2137,0,0,1,'Above order cancelled this one item no need','cod','Above order cancelled this one item no need',NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2132,'2026-09-16 09:06:07',1009,2138,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2133,'2026-09-16 09:06:07',1009,2139,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2134,'2026-09-16 10:22:32',1176,2140,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2135,'2026-09-16 12:18:38',230,2141,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2136,'2026-09-16 12:36:30',198,2142,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2137,'2026-09-16 12:46:42',230,2143,0,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2138,'2026-09-16 15:02:21',1182,2144,0,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2139,'2026-09-17 01:32:56',1181,2145,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2140,'2026-09-17 01:33:41',1186,2146,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2141,'2026-09-17 04:56:02',1063,2147,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2142,'2026-09-17 07:22:09',82,2148,0,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2143,'2026-09-17 09:29:31',1011,2149,0,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2144,'2026-09-17 09:44:49',500,2150,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2145,'2026-09-17 09:44:49',500,2151,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2146,'2026-09-17 12:32:05',1162,2152,0,0,1,'Iam not available ','cod','Iam not available ',NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2147,'2026-09-17 12:59:28',929,2153,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2148,'2026-09-17 14:49:08',250,2154,0,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2149,'2026-09-18 01:34:07',494,2155,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2150,'2026-09-18 04:04:52',785,2156,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2151,'2026-09-18 04:12:15',1068,2157,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2152,'2026-09-18 05:11:43',414,2158,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2153,'2026-09-18 05:11:43',414,2159,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2154,'2026-09-18 05:48:14',494,2160,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2155,'2026-09-18 06:15:15',1196,2161,1,1,1,replace('Change plans \n','\n',char(10)),'cod',replace('Change plans \n','\n',char(10)),NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2156,'2026-09-18 09:03:56',24,2162,0,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2157,'2026-09-18 09:39:43',1178,2163,0,0,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2158,'2026-09-18 10:07:12',1144,2164,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2159,'2026-09-18 10:56:13',329,2165,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2160,'2026-09-18 12:14:30',1063,2166,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2161,'2026-09-18 12:14:35',779,2167,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2162,'2026-09-18 12:52:27',517,2168,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2163,'2026-09-18 16:39:45',1000,2169,1,0,1,'No response from customer','cod',NULL,'No response from customer',1,'2026-09-19T03:07:07.929Z',NULL,1); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2164,'2026-09-19 01:59:30',1174,2170,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2165,'2026-09-19 04:06:59',816,2171,0,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2166,'2026-09-19 06:00:43',1063,2172,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2167,'2026-09-19 08:05:36',115,2173,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2168,'2026-09-19 11:37:07',551,2174,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2169,'2026-09-19 12:18:04',1202,2175,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2170,'2026-09-19 15:56:03',1203,2176,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2171,'2026-09-19 16:02:35',898,2177,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2172,'2026-09-19 17:02:13',132,2178,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2173,'2026-09-19 17:17:01',494,2179,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2174,'2026-09-19 19:16:38',120,2180,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2175,'2026-09-20 01:21:00',1204,2181,0,0,1,'Tomorrow i will order','cod','Tomorrow i will order',NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2176,'2026-09-20 02:19:23',1206,2182,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2177,'2026-09-20 02:25:36',1009,2183,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2178,'2026-09-20 02:33:58',1207,2184,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2179,'2026-09-20 02:43:05',1078,2185,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2180,'2026-09-20 03:18:13',444,2186,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2181,'2026-09-20 03:20:11',1208,2187,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2182,'2026-09-20 03:39:43',1048,2188,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2183,'2026-09-20 03:40:41',538,2189,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2184,'2026-09-20 03:45:53',1209,2190,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2185,'2026-09-20 03:46:30',1085,2191,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2186,'2026-09-20 04:07:42',440,2192,0,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2187,'2026-09-20 04:11:15',1061,2193,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2188,'2026-09-20 04:11:45',1033,2194,0,0,1,'Item added ','cod','Item added ',NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2189,'2026-09-20 04:25:46',402,2195,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2190,'2026-09-20 04:29:11',243,2196,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2191,'2026-09-20 04:34:21',1211,2197,0,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2192,'2026-09-20 04:39:26',1004,2198,0,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2193,'2026-09-20 04:46:50',926,2199,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2194,'2026-09-20 04:48:04',378,2200,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2195,'2026-09-20 05:31:33',1213,2201,0,0,1,'Sorry, we currently don’t have service available at your location. We apologize for the inconvenience.','cod',NULL,'Sorry, we currently don’t have service available at your location. We apologize for the inconvenience.',1,'2026-09-20T06:52:31.799Z',NULL,1); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2196,'2026-09-20 05:45:23',299,2202,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2197,'2026-09-20 06:07:05',753,2203,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2198,'2026-09-20 06:17:49',1214,2204,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2199,'2026-09-20 06:34:42',1215,2205,0,0,1,'The time is late ','cod','The time is late ',NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2200,'2026-09-20 07:53:16',1136,2206,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2201,'2026-09-20 10:19:38',1221,2207,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2202,'2026-09-20 11:21:08',523,2208,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2203,'2026-09-20 12:07:58',1063,2209,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2204,'2026-09-20 16:29:33',523,2210,0,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2205,'2026-09-20 19:13:00',1222,2211,0,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2206,'2026-09-21 02:41:32',1078,2212,0,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2207,'2026-09-21 03:10:43',1087,2213,0,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2208,'2026-09-21 04:29:30',898,2214,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2209,'2026-09-21 05:58:30',1131,2215,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2210,'2026-09-21 13:07:33',1212,2216,1,1,1,'Not delivered at time','cod','Not delivered at time',NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2211,'2026-09-21 17:00:04',230,2217,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2212,'2026-09-22 01:38:37',631,2218,0,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2213,'2026-09-22 02:33:26',782,2219,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2214,'2026-09-22 02:49:25',782,2220,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2215,'2026-09-22 03:53:56',494,2221,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2216,'2026-09-22 04:23:39',1189,2222,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2217,'2026-09-22 04:53:41',1225,2223,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2218,'2026-09-22 06:44:58',402,2224,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2219,'2026-09-22 07:12:38',1227,2225,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2220,'2026-09-22 07:41:31',1228,2226,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2221,'2026-09-22 10:38:46',198,2227,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2222,'2026-09-22 11:42:07',732,2228,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2223,'2026-09-22 12:59:26',517,2229,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2224,'2026-09-22 14:17:55',1136,2230,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2225,'2026-09-22 16:29:22',178,2231,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2226,'2026-09-22 16:45:11',1231,2232,0,0,1,'I need to adda guava ','cod','I need to adda guava ',NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2227,'2026-09-22 16:53:28',1231,2233,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2228,'2026-09-22 17:54:48',1232,2234,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2229,'2026-09-23 01:57:13',1215,2235,1,1,1,'Not lifting calls ','cod',NULL,'Not lifting calls ',1,'2026-09-23T04:02:59.606Z',NULL,1); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2230,'2026-09-23 02:30:02',454,2236,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2231,'2026-09-23 03:50:41',1202,2237,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2232,'2026-09-23 04:01:25',1078,2238,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2233,'2026-09-23 04:23:56',701,2239,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2234,'2026-09-23 05:48:38',256,2240,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2235,'2026-09-23 06:24:02',1234,2241,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2236,'2026-09-23 07:23:35',1151,2242,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2237,'2026-09-23 10:03:40',1063,2243,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2238,'2026-09-23 12:37:07',1236,2244,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2239,'2026-09-23 13:18:43',1237,2245,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2240,'2026-09-24 02:04:53',785,2246,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2241,'2026-09-24 04:01:03',1241,2247,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2242,'2026-09-24 05:26:09',1061,2248,0,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2243,'2026-09-24 05:26:09',1061,2249,0,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2244,'2026-09-24 05:37:41',1234,2250,0,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2245,'2026-09-24 05:43:33',998,2251,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2246,'2026-09-24 06:29:16',1207,2252,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2247,'2026-09-24 07:22:49',1242,2253,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2248,'2026-09-24 07:57:58',1063,2254,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2249,'2026-09-24 08:13:33',499,2255,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2250,'2026-09-24 08:54:03',115,2256,0,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2251,'2026-09-24 08:55:45',350,2257,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2252,'2026-09-24 09:31:27',1243,2258,0,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2253,'2026-09-24 10:55:04',732,2259,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2254,'2026-09-24 12:00:35',170,2260,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2255,'2026-09-24 12:08:54',82,2261,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2256,'2026-09-24 12:08:54',82,2262,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2257,'2026-09-24 12:47:26',732,2263,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2258,'2026-09-24 13:04:38',402,2264,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2259,'2026-09-24 13:15:20',1245,2265,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2260,'2026-09-24 14:30:09',1009,2266,0,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2261,'2026-09-24 19:51:49',920,2267,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2262,'2026-09-25 01:46:54',1224,2268,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2263,'2026-09-25 01:49:49',514,2269,0,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2264,'2026-09-25 02:02:52',1215,2270,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2265,'2026-09-25 03:32:17',1248,2271,0,0,1,'Not came','cod','Not came',NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2266,'2026-09-25 03:34:40',980,2272,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2267,'2026-09-25 03:55:34',1185,2273,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2268,'2026-09-25 05:15:45',753,2274,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2269,'2026-09-25 07:18:20',198,2275,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2270,'2026-09-25 09:46:03',1248,2276,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2271,'2026-09-25 11:15:40',1063,2277,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2272,'2026-09-25 11:36:25',1250,2278,0,0,1,'Out of station ','cod',NULL,'Out of station ',1,'2026-09-26T03:09:35.110Z',NULL,1); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2273,'2026-09-25 13:46:11',1136,2279,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2274,'2026-09-25 15:28:17',793,2280,1,1,1,'Cancel','cod',NULL,'Cancel',1,'2026-09-26T03:09:19.167Z',NULL,1); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2275,'2026-09-26 03:06:41',701,2281,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2276,'2026-09-26 03:57:39',229,2282,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2277,'2026-09-26 04:19:06',785,2283,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2278,'2026-09-26 04:29:36',388,2284,0,0,1,'Test','cod','Test',NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2279,'2026-09-26 04:39:24',1252,2285,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2280,'2026-09-26 05:52:20',119,2286,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2281,'2026-09-26 11:52:08',1063,2287,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2282,'2026-09-26 13:00:12',1240,2288,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2283,'2026-09-26 13:23:57',494,2289,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2284,'2026-09-26 13:25:07',378,2290,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2285,'2026-09-27 01:02:27',1241,2291,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2286,'2026-09-27 01:41:15',1255,2292,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2287,'2026-09-27 01:56:21',1256,2293,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2288,'2026-09-27 02:02:26',1256,2294,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2289,'2026-09-27 02:39:27',1255,2295,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2290,'2026-09-27 02:39:38',178,2296,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2291,'2026-09-27 02:41:23',1257,2297,0,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2292,'2026-09-27 02:49:56',732,2298,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2293,'2026-09-27 02:53:16',782,2299,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2294,'2026-09-27 02:54:24',782,2300,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2295,'2026-09-27 02:55:29',782,2301,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2296,'2026-09-27 03:00:55',784,2302,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2297,'2026-09-27 03:12:55',1258,2303,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2298,'2026-09-27 03:35:01',120,2304,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2299,'2026-09-27 03:37:56',1259,2305,0,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2300,'2026-09-27 04:32:38',1224,2306,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2301,'2026-09-27 04:34:26',82,2307,0,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2302,'2026-09-27 04:57:21',1078,2308,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2303,'2026-09-27 05:00:48',890,2309,0,0,1,'Placed wrong','cod','Placed wrong',NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2304,'2026-09-27 05:07:32',517,2310,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2305,'2026-09-27 05:07:55',1263,2311,1,0,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2306,'2026-09-27 05:53:20',1264,2312,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2307,'2026-09-27 07:30:45',1136,2313,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2308,'2026-09-27 07:40:33',440,2314,0,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2309,'2026-09-27 07:51:56',710,2315,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2310,'2026-09-27 08:23:19',523,2316,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2311,'2026-09-27 08:25:26',388,2317,1,1,0,NULL,'cod',NULL,NULL,0,NULL,NULL,NULL); +INSERT INTO "order_status" ("id","order_time","user_id","order_id","is_packaged","is_delivered","is_cancelled","cancel_reason","payment_state","cancellation_user_notes","cancellation_admin_notes","cancellation_reviewed","cancellation_reviewed_at","refund_coupon_id","is_cancelled_by_admin") VALUES(2312,'2026-09-27 10:32:27',1267,2318,0,0,1,'Doddalonipally Area not under service','cod',NULL,'Doddalonipally Area not under service',1,'2026-09-27T10:57:33.955Z',NULL,1); CREATE TABLE IF NOT EXISTS "orders" ("id" INTEGER PRIMARY KEY, "user_id" INTEGER NOT NULL, "address_id" INTEGER NOT NULL, "slot_id" INTEGER, "total_amount" REAL NOT NULL, "created_at" TEXT NOT NULL DEFAULT CURRENT_TIMESTAMP, "is_cod" INTEGER NOT NULL DEFAULT false, "is_online_payment" INTEGER NOT NULL DEFAULT false, "payment_info_id" INTEGER, "readable_id" INTEGER NOT NULL, "admin_notes" TEXT, "user_notes" TEXT, "delivery_charge" REAL NOT NULL DEFAULT '0', "order_group_id" TEXT, "order_group_proportion" REAL, "is_flash_delivery" INTEGER NOT NULL DEFAULT false); INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(105,22,31,9,7700,'2025-12-24T02:50:33.284Z',1,0,NULL,147,NULL,NULL,0,NULL,NULL,0); INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(106,15,24,8,92,'2025-12-24T10:32:01.957Z',1,0,NULL,149,NULL,NULL,20,NULL,NULL,0); @@ -7197,6 +7824,232 @@ INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","crea INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2090,1008,674,1814,214,'2026-09-13 14:57:01',1,0,NULL,-1,NULL,NULL,15,'1789311421098-1008',1,0); INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2091,1089,721,1814,389,'2026-09-13 18:02:25',1,0,NULL,-1,NULL,'Please don''t cancel the order ',0,'1789322545036-1089',1,0); INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2092,842,741,1816,739,'2026-09-13 18:22:10',1,0,NULL,-1,NULL,NULL,0,'1789323729855-842',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2093,1127,743,1816,588,'2026-09-14 04:08:49',1,0,NULL,-1,NULL,NULL,0,'1789358929504-1127',0.8436154949784792,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2094,1127,743,1817,109,'2026-09-14 04:08:49',1,0,NULL,-1,NULL,NULL,0,'1789358929504-1127',0.1563845050215208,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2095,892,744,1816,374.85,'2026-09-14 04:17:50',1,0,NULL,-1,NULL,NULL,0,'1789359470495-892',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2096,1063,701,1816,136,'2026-09-14 04:23:38',1,0,NULL,-1,NULL,NULL,15,'1789359818384-1063',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2097,198,331,NULL,555,'2026-09-14 05:06:32',1,0,NULL,-1,NULL,NULL,0,'1789362392647-198',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2098,440,400,1817,257,'2026-09-14 05:52:12',1,0,NULL,-1,NULL,NULL,15,'1789365132712-440',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2099,939,640,1817,103,'2026-09-14 06:06:47',1,0,NULL,-1,NULL,NULL,15,'1789366007709-939',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2100,82,72,1822,839,'2026-09-14 06:18:50',1,0,NULL,-1,NULL,NULL,0,'1789366730202-82',0.8578732106339468,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2101,82,72,1817,139,'2026-09-14 06:18:50',1,0,NULL,-1,NULL,NULL,0,'1789366730202-82',0.14212678936605316,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2102,388,285,1820,1035,'2026-09-14 11:01:28',1,0,NULL,-1,NULL,NULL,0,'1789383688358-388',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2103,378,275,1822,839,'2026-09-14 12:58:51',1,0,NULL,-1,NULL,NULL,0,'1789390731415-378',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2104,499,374,NULL,402,'2026-09-14 13:28:11',1,0,NULL,-1,NULL,NULL,0,'1789392490875-499',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2105,1138,747,1822,278,'2026-09-14 14:01:20',1,0,NULL,-1,NULL,'Delivered my order earlier',0,'1789394479073-1138',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2106,782,572,1823,839,'2026-09-14 15:10:52',1,0,NULL,-1,NULL,NULL,0,'1789398652119-782',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2107,710,542,1822,173,'2026-09-14 15:22:22',1,0,NULL,-1,NULL,NULL,15,'1789399341397-710',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2108,1139,748,1822,1017.1953642384105,'2026-09-14 16:29:57',1,0,NULL,-1,NULL,NULL,0,'1789403396251-1139',0.918046357615894,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2109,1139,748,1823,90.80463576158941,'2026-09-14 16:29:57',1,0,NULL,-1,NULL,NULL,0,'1789403396251-1139',0.08195364238410596,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2110,1145,749,1823,320,'2026-09-15 01:42:00',1,0,NULL,-1,NULL,'Come fast',0,'1789436520714-1145',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2111,1063,701,1824,257,'2026-09-15 04:10:39',1,0,NULL,-1,NULL,NULL,15,'1789445439430-1063',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2112,486,361,1824,376,'2026-09-15 04:51:26',1,0,NULL,-1,NULL,NULL,0,'1789447886409-486',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2113,1147,750,1825,133,'2026-09-15 05:09:06',1,0,NULL,-1,NULL,replace('G. Gayathri\nNear road number 8\nMahabubnagar near pochamma temple pochamma colony Pochamma\nMAHBUBNAGAR,\n TELANGANA 509001\nIndia','\n',char(10)),15,'1789448946461-1147',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2114,1149,751,1825,258,'2026-09-15 06:15:31',1,0,NULL,-1,NULL,NULL,0,'1789452931663-1149',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2115,1149,751,1825,258,'2026-09-15 06:15:31',1,0,NULL,-1,NULL,NULL,0,'1789452931668-1149',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2116,1149,751,1825,258,'2026-09-15 06:15:31',1,0,NULL,-1,NULL,NULL,0,'1789452931667-1149',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2117,868,752,1825,364.65,'2026-09-15 06:28:55',1,0,NULL,-1,NULL,NULL,0,'1789453734798-868',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2118,1151,753,NULL,345.95,'2026-09-15 07:25:54',1,0,NULL,-1,NULL,NULL,0,'1789457154138-1151',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2119,782,572,1827,226,'2026-09-15 09:26:06',1,0,NULL,-1,NULL,NULL,15,'1789464366574-782',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2120,1136,754,1826,45,'2026-09-15 09:28:48',1,0,NULL,-1,NULL,'backside amena masjid trasfarm gali',15,'1789464528353-1136',0.13100436681222707,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2121,1136,754,1827,199,'2026-09-15 09:28:48',1,0,NULL,-1,NULL,'backside amena masjid trasfarm gali',0,'1789464528353-1136',0.868995633187773,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2122,1136,754,1827,669,'2026-09-15 09:58:39',1,0,NULL,-1,NULL,NULL,0,'1789466318853-1136',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2123,1161,757,1829,347,'2026-09-15 12:07:31',1,0,NULL,-1,NULL,NULL,0,'1789474050907-1161',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2124,1162,758,NULL,200,'2026-09-15 12:41:54',1,0,NULL,-1,NULL,NULL,39,'1789476114855-1162',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2125,1148,759,1832,214,'2026-09-15 12:44:19',1,0,NULL,-1,NULL,NULL,15,'1789476258906-1148',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2126,681,760,1831,472.6,'2026-09-15 13:59:44',1,0,NULL,-1,NULL,NULL,0,'1789480783974-681',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2127,1085,735,1830,419,'2026-09-15 14:18:48',1,0,NULL,-1,NULL,NULL,0,'1789481928384-1085',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2128,929,637,1832,598,'2026-09-15 16:00:57',1,0,NULL,-1,NULL,'Gollabanda thanda near community hall & school ',0,'1789488057128-929',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2129,1141,762,1830,148,'2026-09-15 16:23:01',1,0,NULL,-1,NULL,NULL,15,'1789489381846-1141',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2130,631,457,1830,623,'2026-09-15 17:58:46',1,0,NULL,-1,NULL,NULL,0,'1789495126590-631',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2131,1136,754,1830,43,'2026-09-15 20:53:09',1,0,NULL,-1,NULL,NULL,15,'1789505589622-1136',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2132,1166,763,1831,294.1,'2026-09-16 01:37:07',1,0,NULL,-1,NULL,NULL,0,'1789522626694-1166',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2133,977,764,1831,214,'2026-09-16 02:03:12',1,0,NULL,-1,NULL,NULL,15,'1789524192186-977',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2134,1129,767,1833,318,'2026-09-16 06:18:51',1,0,NULL,-1,NULL,NULL,0,'1789539531687-1129',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2135,115,189,1834,500,'2026-09-16 08:31:12',1,0,NULL,-1,NULL,NULL,0,'1789547471819-115',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2136,366,770,1835,257,'2026-09-16 08:51:29',1,0,NULL,-1,NULL,NULL,0,'1789548689265-366',0.9448529411764706,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2137,366,770,1834,15,'2026-09-16 08:51:29',1,0,NULL,-1,NULL,NULL,0,'1789548689265-366',0.05514705882352941,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2138,1009,686,1834,60,'2026-09-16 09:06:07',1,0,NULL,-1,NULL,NULL,15,'1789549567348-1009',0.19480519480519481,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2139,1009,686,1835,186,'2026-09-16 09:06:07',1,0,NULL,-1,NULL,NULL,0,'1789549567348-1009',0.8051948051948052,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2140,1176,771,NULL,154,'2026-09-16 10:22:32',1,0,NULL,-1,NULL,NULL,39,'1789554152458-1176',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2141,230,174,1836,737,'2026-09-16 12:18:37',1,0,NULL,-1,NULL,NULL,0,'1789561117544-230',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2142,198,158,NULL,317,'2026-09-16 12:36:30',1,0,NULL,-1,NULL,NULL,39,'1789562190175-198',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2143,230,174,1837,528,'2026-09-16 12:46:42',1,0,NULL,-1,NULL,NULL,0,'1789562802497-230',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2144,1182,774,1838,404,'2026-09-16 15:02:21',1,0,NULL,-1,NULL,NULL,0,'1789570940918-1182',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2145,1181,773,1839,204,'2026-09-17 01:32:56',1,0,NULL,-1,NULL,NULL,15,'1789608776732-1181',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2146,1186,775,1839,464.1,'2026-09-17 01:33:41',1,0,NULL,-1,NULL,NULL,0,'1789608821886-1186',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2147,1063,701,1840,142,'2026-09-17 04:56:02',1,0,NULL,-1,NULL,NULL,15,'1789620962735-1063',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2148,82,72,1842,545,'2026-09-17 07:22:09',1,0,NULL,-1,NULL,NULL,0,'1789629729298-82',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2149,1011,777,1843,273,'2026-09-17 09:29:31',1,0,NULL,-1,NULL,NULL,0,'1789637371576-1011',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2150,500,375,1843,542,'2026-09-17 09:44:49',1,0,NULL,-1,NULL,NULL,0,'1789638288808-500',0.8325652841781874,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2151,500,375,1844,109,'2026-09-17 09:44:49',1,0,NULL,-1,NULL,NULL,0,'1789638288808-500',0.1674347158218126,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2152,1162,758,NULL,233,'2026-09-17 12:32:05',1,0,NULL,-1,NULL,NULL,39,'1789648324904-1162',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2153,929,637,NULL,297,'2026-09-17 12:59:28',1,0,NULL,-1,NULL,NULL,39,'1789649968236-929',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2154,250,188,1847,429,'2026-09-17 14:49:08',1,0,NULL,-1,NULL,NULL,0,'1789656547970-250',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2155,494,369,1847,252,'2026-09-18 01:34:07',1,0,NULL,-1,NULL,NULL,0,'1789695247762-494',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2156,785,574,1848,259,'2026-09-18 04:04:52',1,0,NULL,-1,NULL,NULL,0,'1789704292469-785',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2157,1068,705,1852,214,'2026-09-18 04:12:15',1,0,NULL,-1,NULL,'Fresh vegetables only acceptable i will check after the give money.fresh lekunte order accept ceyanu so please fresh vi tisukurandi',15,'1789704735776-1068',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2158,414,308,1850,419,'2026-09-18 05:11:43',1,0,NULL,-1,NULL,NULL,0,'1789708303208-414',0.9654377880184332,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2159,414,308,1848,15,'2026-09-18 05:11:43',1,0,NULL,-1,NULL,NULL,0,'1789708303208-414',0.03456221198156682,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2160,494,369,1850,293,'2026-09-18 05:48:14',1,0,NULL,-1,NULL,NULL,0,'1789710494655-494',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2161,1196,779,1850,429,'2026-09-18 06:15:15',1,0,NULL,-1,NULL,NULL,0,'1789712115456-1196',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2162,24,92,1851,204,'2026-09-18 09:03:56',1,0,NULL,-1,NULL,NULL,15,'1789722235158-24',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2163,1178,780,NULL,312,'2026-09-18 09:39:43',1,0,NULL,-1,NULL,NULL,39,'1789724383234-1178',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2164,1144,781,NULL,334.05,'2026-09-18 10:07:12',1,0,NULL,-1,NULL,NULL,39,'1789726032789-1144',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2165,329,240,NULL,449,'2026-09-18 10:56:12',1,0,NULL,-1,NULL,NULL,0,'1789728972620-329',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2166,1063,701,1853,144,'2026-09-18 12:14:30',1,0,NULL,-1,NULL,NULL,15,'1789733670136-1063',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2167,779,569,NULL,329,'2026-09-18 12:14:35',1,0,NULL,-1,NULL,'Skinless and chicken should be clean ',39,'1789733674506-779',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2168,517,399,1846,258,'2026-09-18 12:52:26',1,0,NULL,-1,NULL,NULL,0,'1789735946292-517',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2169,1000,672,1854,249,'2026-09-18 16:39:44',1,0,NULL,-1,NULL,NULL,0,'1789749584646-1000',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2170,1174,784,1855,356.15,'2026-09-19 01:59:30',1,0,NULL,-1,NULL,NULL,0,'1789783169991-1174',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2171,816,595,1856,182,'2026-09-19 04:06:59',1,0,NULL,-1,NULL,NULL,15,'1789790819259-816',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2172,1063,701,1858,258,'2026-09-19 06:00:43',1,0,NULL,-1,NULL,NULL,0,'1789797643389-1063',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2173,115,785,1858,214,'2026-09-19 08:05:36',1,0,NULL,-1,NULL,NULL,15,'1789805136197-115',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2174,551,418,1860,269,'2026-09-19 11:37:07',1,0,NULL,-1,NULL,'Each Leg piece cut into three small pieces ',0,'1789817827330-551',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2175,1202,786,1860,144,'2026-09-19 12:18:04',1,0,NULL,-1,NULL,'Only leg peace part',15,'1789820284618-1202',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2176,1203,788,NULL,472,'2026-09-19 15:56:02',1,0,NULL,-1,NULL,NULL,0,'1789833362037-1203',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2177,898,623,1862,144,'2026-09-19 16:02:35',1,0,NULL,-1,NULL,NULL,15,'1789833755487-898',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2178,132,123,1862,419,'2026-09-19 17:02:13',1,0,NULL,-1,NULL,NULL,0,'1789837333311-132',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2179,494,369,1862,277,'2026-09-19 17:17:01',1,0,NULL,-1,NULL,NULL,0,'1789838220954-494',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2180,120,108,1862,419,'2026-09-19 19:16:38',1,0,NULL,-1,NULL,NULL,0,'1789845398748-120',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2181,1204,789,1862,214,'2026-09-20 01:20:59',1,0,NULL,-1,NULL,NULL,15,'1789867259258-1204',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2182,1206,790,NULL,567,'2026-09-20 02:19:23',1,0,NULL,-1,NULL,'Chicken only Breast side don''t add legg pieces ',0,'1789870763422-1206',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2183,1009,686,NULL,423,'2026-09-20 02:25:36',1,0,NULL,-1,NULL,NULL,0,'1789871135883-1009',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2184,1207,791,NULL,403,'2026-09-20 02:33:58',1,0,NULL,-1,NULL,NULL,0,'1789871637986-1207',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2185,1078,711,1864,296,'2026-09-20 02:43:05',1,0,NULL,-1,NULL,NULL,0,'1789872185529-1078',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2186,444,335,1864,490,'2026-09-20 03:18:13',1,0,NULL,-1,NULL,NULL,0,'1789874293122-444',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2187,1208,792,1864,144,'2026-09-20 03:20:11',1,0,NULL,-1,NULL,NULL,15,'1789874411594-1208',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2188,1048,793,NULL,357,'2026-09-20 03:39:43',1,0,NULL,-1,NULL,NULL,0,'1789875583378-1048',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2189,538,405,1864,267,'2026-09-20 03:40:41',1,0,NULL,-1,NULL,NULL,0,'1789875641652-538',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2190,1209,794,NULL,312,'2026-09-20 03:45:53',1,0,NULL,-1,NULL,NULL,39,'1789875953396-1209',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2191,1085,735,1864,1064,'2026-09-20 03:46:30',1,0,NULL,-1,NULL,NULL,0,'1789875990010-1085',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2192,440,400,1864,413,'2026-09-20 04:07:42',1,0,NULL,-1,NULL,NULL,0,'1789877262202-440',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2193,1061,700,1864,214,'2026-09-20 04:11:15',1,0,NULL,-1,NULL,NULL,15,'1789877475886-1061',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2194,1033,689,1864,309,'2026-09-20 04:11:45',1,0,NULL,-1,NULL,NULL,0,'1789877505796-1033',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2195,402,307,NULL,263,'2026-09-20 04:25:46',1,0,NULL,-1,NULL,NULL,39,'1789878345897-402',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2196,243,185,1864,518,'2026-09-20 04:29:11',1,0,NULL,-1,NULL,NULL,0,'1789878551303-243',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2197,1211,795,NULL,294.95,'2026-09-20 04:34:21',1,0,NULL,-1,NULL,NULL,39,'1789878860953-1211',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2198,1004,798,1864,358,'2026-09-20 04:39:26',1,0,NULL,-1,NULL,NULL,0,'1789879166275-1004',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2199,926,636,NULL,298,'2026-09-20 04:46:50',1,0,NULL,-1,NULL,NULL,39,'1789879610052-926',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2200,378,275,1864,296,'2026-09-20 04:48:04',1,0,NULL,-1,NULL,NULL,0,'1789879684713-378',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2201,1213,799,1865,499,'2026-09-20 05:31:33',1,0,NULL,-1,NULL,NULL,0,'1789882293204-1213',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2202,299,220,1865,419,'2026-09-20 05:45:23',1,0,NULL,-1,NULL,NULL,0,'1789883123276-299',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2203,753,550,1865,419,'2026-09-20 06:07:05',1,0,NULL,-1,NULL,NULL,0,'1789884425084-753',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2204,1214,800,1865,296,'2026-09-20 06:17:49',1,0,NULL,-1,NULL,NULL,0,'1789885069792-1214',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2205,1215,801,1866,214,'2026-09-20 06:34:42',1,0,NULL,-1,NULL,NULL,15,'1789886082925-1215',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2206,1136,754,1866,499,'2026-09-20 07:53:16',1,0,NULL,-1,NULL,NULL,0,'1789890796393-1136',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2207,1221,804,1867,216,'2026-09-20 10:19:38',1,0,NULL,-1,NULL,NULL,15,'1789899578681-1221',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2208,523,392,1868,144,'2026-09-20 11:21:08',1,0,NULL,-1,NULL,NULL,15,'1789903268608-523',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2209,1063,701,1868,258,'2026-09-20 12:07:57',1,0,NULL,-1,NULL,NULL,0,'1789906077820-1063',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2210,523,392,1870,164,'2026-09-20 16:29:33',1,0,NULL,-1,NULL,NULL,15,'1789921773219-523',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2211,1222,805,1870,115,'2026-09-20 19:13:00',1,0,NULL,-1,NULL,NULL,15,'1789931580623-1222',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2212,1078,711,1872,270,'2026-09-21 02:41:32',1,0,NULL,-1,NULL,NULL,0,'1789958491878-1078',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2213,1087,720,1872,79,'2026-09-21 03:10:43',1,0,NULL,-1,NULL,NULL,15,'1789960243753-1087',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2214,898,623,1872,89,'2026-09-21 04:29:29',1,0,NULL,-1,NULL,NULL,15,'1789964969859-898',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2215,1131,806,NULL,115,'2026-09-21 05:58:30',1,0,NULL,-1,NULL,NULL,39,'1789970310887-1131',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2216,1212,796,NULL,275,'2026-09-21 13:07:33',1,0,NULL,-1,NULL,NULL,39,'1789996051643-1212',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2217,230,174,1878,252,'2026-09-21 17:00:04',1,0,NULL,-1,NULL,NULL,0,'1790010002098-230',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2218,631,457,1879,538,'2026-09-22 01:38:37',1,0,NULL,-1,NULL,NULL,0,'1790041117317-631',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2219,782,572,1880,258,'2026-09-22 02:33:25',1,0,NULL,-1,NULL,NULL,0,'1790044405941-782',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2220,782,572,1880,273,'2026-09-22 02:49:25',1,0,NULL,-1,NULL,NULL,0,'1790045365671-782',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2221,494,369,1884,367,'2026-09-22 03:53:56',1,0,NULL,-1,NULL,NULL,0,'1790049236254-494',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2222,1189,807,1880,339.15,'2026-09-22 04:23:39',1,0,NULL,-1,NULL,NULL,0,'1790051018670-1189',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2223,1225,808,1880,398,'2026-09-22 04:53:41',1,0,NULL,-1,NULL,NULL,0,'1790052821048-1225',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2224,402,307,NULL,324,'2026-09-22 06:44:58',1,0,NULL,-1,NULL,NULL,39,'1790059498554-402',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2225,1227,810,NULL,402,'2026-09-22 07:12:38',1,0,NULL,-1,NULL,NULL,0,'1790061158392-1227',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2226,1228,811,NULL,237,'2026-09-22 07:41:31',1,0,NULL,-1,NULL,NULL,39,'1790062891649-1228',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2227,198,331,NULL,575,'2026-09-22 10:38:46',1,0,NULL,-1,NULL,NULL,0,'1790073526292-198',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2228,732,531,1884,484,'2026-09-22 11:42:07',1,0,NULL,-1,NULL,NULL,0,'1790077326771-732',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2229,517,399,1885,270,'2026-09-22 12:59:26',1,0,NULL,-1,NULL,'Add small prices and add some liver don''t give leg pieces',0,'1790081966563-517',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2230,1136,754,NULL,174,'2026-09-22 14:17:55',1,0,NULL,-1,NULL,NULL,39,'1790086674569-1136',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2231,178,812,1888,1257,'2026-09-22 16:29:22',1,0,NULL,-1,NULL,NULL,0,'1790094562355-178',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2232,1231,813,1886,65,'2026-09-22 16:45:11',1,0,NULL,-1,NULL,NULL,15,'1790095510680-1231',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2233,1231,813,1886,65,'2026-09-22 16:53:28',1,0,NULL,-1,NULL,NULL,15,'1790096008047-1231',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2234,1232,814,1887,255,'2026-09-22 17:54:48',1,0,NULL,-1,NULL,NULL,0,'1790099687989-1232',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2235,1215,801,1887,214,'2026-09-23 01:57:13',1,0,NULL,-1,NULL,NULL,15,'1790128633880-1215',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2236,454,350,1888,824,'2026-09-23 02:30:02',1,0,NULL,-1,NULL,NULL,0,'1790130602870-454',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2237,1202,786,1888,150,'2026-09-23 03:50:41',1,0,NULL,-1,NULL,'Only leg peace part ',15,'1790135441062-1202',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2238,1078,711,1888,592,'2026-09-23 04:01:25',1,0,NULL,-1,NULL,NULL,0,'1790136085100-1078',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2239,701,516,NULL,254,'2026-09-23 04:23:56',1,0,NULL,-1,NULL,NULL,39,'1790137436721-701',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2240,256,191,1889,571,'2026-09-23 05:48:37',1,0,NULL,-1,NULL,NULL,0,'1790142516704-256',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2241,1234,815,1890,214,'2026-09-23 06:24:01',1,0,NULL,-1,NULL,NULL,15,'1790144641553-1234',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2242,1151,753,NULL,415,'2026-09-23 07:23:34',1,0,NULL,-1,NULL,NULL,39,'1790148213309-1151',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2243,1063,701,1891,150,'2026-09-23 10:03:40',1,0,NULL,-1,NULL,NULL,15,'1790157820367-1063',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2244,1236,816,1893,296,'2026-09-23 12:37:07',1,0,NULL,-1,NULL,NULL,0,'1790167027444-1236',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2245,1237,818,NULL,174,'2026-09-23 13:18:43',1,0,NULL,-1,NULL,NULL,39,'1790169523094-1237',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2246,785,574,1896,270,'2026-09-24 02:04:53',1,0,NULL,-1,NULL,NULL,0,'1790215493487-785',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2247,1241,819,1896,282.2,'2026-09-24 04:01:03',1,0,NULL,-1,NULL,NULL,0,'1790222463326-1241',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2248,1061,700,1896,69,'2026-09-24 05:26:08',1,0,NULL,-1,NULL,NULL,15,'1790227567027-1061',0.24770642201834864,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2249,1061,700,1897,164,'2026-09-24 05:26:08',1,0,NULL,-1,NULL,NULL,0,'1790227567027-1061',0.7522935779816514,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2250,1234,815,1897,134,'2026-09-24 05:37:41',1,0,NULL,-1,NULL,NULL,15,'1790228261505-1234',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2251,998,669,1897,389,'2026-09-24 05:43:33',1,0,NULL,-1,NULL,NULL,0,'1790228613172-998',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2252,1207,791,1897,449,'2026-09-24 06:29:16',1,0,NULL,-1,NULL,NULL,0,'1790231356162-1207',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2253,1242,820,1901,419,'2026-09-24 07:22:49',1,0,NULL,-1,NULL,NULL,0,'1790234569459-1242',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2254,1063,701,1898,158,'2026-09-24 07:57:58',1,0,NULL,-1,NULL,NULL,15,'1790236678050-1063',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2255,499,374,NULL,501,'2026-09-24 08:13:33',1,0,NULL,-1,NULL,NULL,0,'1790237612158-499',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2256,115,189,1898,300,'2026-09-24 08:54:03',1,0,NULL,-1,NULL,NULL,0,'1790240042575-115',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2257,350,252,1898,44,'2026-09-24 08:55:45',1,0,NULL,-1,NULL,NULL,15,'1790240145096-350',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2258,1243,822,1899,460,'2026-09-24 09:31:27',1,0,NULL,-1,NULL,NULL,0,'1790242287544-1243',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2259,732,531,1900,296,'2026-09-24 10:55:04',1,0,NULL,-1,NULL,NULL,0,'1790247304325-732',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2260,170,144,1902,729,'2026-09-24 12:00:34',1,0,NULL,-1,NULL,NULL,0,'1790251234614-170',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2261,82,72,1901,429,'2026-09-24 12:08:54',1,0,NULL,-1,NULL,NULL,0,'1790251734070-82',0.9265658747300216,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2262,82,72,1902,34,'2026-09-24 12:08:54',1,0,NULL,-1,NULL,NULL,0,'1790251734070-82',0.0734341252699784,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2263,732,531,1901,296,'2026-09-24 12:47:26',1,0,NULL,-1,NULL,NULL,0,'1790254046582-732',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2264,402,307,1902,191,'2026-09-24 13:04:37',1,0,NULL,-1,NULL,NULL,15,'1790255076039-402',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2265,1245,823,1902,158,'2026-09-24 13:15:20',1,0,NULL,-1,NULL,NULL,15,'1790255719924-1245',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2266,1009,686,1902,299,'2026-09-24 14:30:09',1,0,NULL,-1,NULL,'Please try to 7 clock my order delivery ',0,'1790260209055-1009',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2267,920,633,1902,342,'2026-09-24 19:51:48',1,0,NULL,-1,NULL,NULL,0,'1790279508958-920',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2268,1224,821,1903,296,'2026-09-25 01:46:53',1,0,NULL,-1,NULL,NULL,0,'1790300813342-1224',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2269,514,393,1903,290.7,'2026-09-25 01:49:49',1,0,NULL,-1,NULL,NULL,0,'1790300987325-514',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2270,1215,801,1903,214,'2026-09-25 02:02:52',1,0,NULL,-1,NULL,NULL,15,'1790301772253-1215',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2271,1248,826,NULL,182,'2026-09-25 03:32:17',1,0,NULL,-1,NULL,NULL,39,'1790307137398-1248',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2272,980,827,1904,278.8,'2026-09-25 03:34:39',1,0,NULL,-1,NULL,NULL,0,'1790307278988-980',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2273,1185,828,NULL,486.2,'2026-09-25 03:55:34',1,0,NULL,-1,NULL,NULL,0,'1790308534509-1185',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2274,753,550,NULL,1241,'2026-09-25 05:15:44',1,0,NULL,-1,NULL,NULL,0,'1790313344701-753',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2275,198,331,NULL,325,'2026-09-25 07:18:20',1,0,NULL,-1,NULL,NULL,39,'1790320700142-198',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2276,1248,826,NULL,182,'2026-09-25 09:46:03',1,0,NULL,-1,NULL,NULL,39,'1790329562963-1248',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2277,1063,701,1903,158,'2026-09-25 11:15:40',1,0,NULL,-1,NULL,NULL,15,'1790334940505-1063',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2278,1250,829,1911,214,'2026-09-25 11:36:25',1,0,NULL,-1,NULL,NULL,15,'1790336185308-1250',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2279,1136,754,1911,718,'2026-09-25 13:46:11',1,0,NULL,-1,NULL,'soya ke leafs nd kakoda',0,'1790343967601-1136',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2280,793,583,NULL,334,'2026-09-25 15:28:16',1,0,NULL,-1,NULL,NULL,39,'1790350096102-793',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2281,701,516,NULL,359,'2026-09-26 03:06:41',1,0,NULL,-1,NULL,NULL,39,'1790392001693-701',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2282,229,173,1913,560,'2026-09-26 03:57:39',1,0,NULL,-1,NULL,NULL,0,'1790395059641-229',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2283,785,574,1913,296,'2026-09-26 04:19:06',1,0,NULL,-1,NULL,NULL,0,'1790396346084-785',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2284,388,285,1913,859,'2026-09-26 04:29:35',1,0,NULL,-1,NULL,NULL,0,'1790396975796-388',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2285,1252,831,NULL,187,'2026-09-26 04:39:24',1,0,NULL,-1,NULL,NULL,39,'1790397564891-1252',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2286,119,107,1914,163,'2026-09-26 05:52:20',1,0,NULL,-1,NULL,NULL,15,'1790401940455-119',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2287,1063,701,1917,296,'2026-09-26 11:52:08',1,0,NULL,-1,NULL,NULL,0,'1790423528316-1063',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2288,1240,832,1918,163,'2026-09-26 13:00:12',1,0,NULL,-1,NULL,NULL,15,'1790427612511-1240',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2289,494,369,1919,326,'2026-09-26 13:23:57',1,0,NULL,-1,NULL,NULL,0,'1790429036932-494',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2290,378,275,1919,419,'2026-09-26 13:25:07',1,0,NULL,-1,NULL,'Total full tilli included',0,'1790429107410-378',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2291,1241,819,1920,429,'2026-09-27 01:02:27',1,0,NULL,-1,NULL,NULL,0,'1790470947074-1241',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2292,1255,833,NULL,518.5,'2026-09-27 01:41:15',1,0,NULL,-1,NULL,NULL,0,'1790473274960-1255',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2293,1256,834,1920,615,'2026-09-27 01:56:21',1,0,NULL,-1,NULL,NULL,0,'1790474181590-1256',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2294,1256,834,1920,124,'2026-09-27 02:02:25',1,0,NULL,-1,NULL,NULL,15,'1790474545953-1256',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2295,1255,833,1921,296,'2026-09-27 02:39:27',1,0,NULL,-1,NULL,NULL,0,'1790476767673-1255',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2296,178,812,1921,634,'2026-09-27 02:39:38',1,0,NULL,-1,NULL,NULL,0,'1790476778562-178',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2297,1257,835,1921,1200,'2026-09-27 02:41:23',1,0,NULL,-1,NULL,NULL,0,'1790476883444-1257',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2298,732,531,1921,1298,'2026-09-27 02:49:56',1,0,NULL,-1,NULL,NULL,0,'1790477395925-732',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2299,782,572,1921,729,'2026-09-27 02:53:16',1,0,NULL,-1,NULL,NULL,0,'1790477596407-782',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2300,782,572,1921,222,'2026-09-27 02:54:24',1,0,NULL,-1,NULL,NULL,15,'1790477664329-782',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2301,782,572,1921,84,'2026-09-27 02:55:29',1,0,NULL,-1,NULL,NULL,15,'1790477729378-782',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2302,784,573,1929,859,'2026-09-27 03:00:55',1,0,NULL,-1,NULL,NULL,0,'1790478055488-784',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2303,1258,836,NULL,479,'2026-09-27 03:12:55',1,0,NULL,-1,NULL,NULL,0,'1790478773741-1258',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2304,120,108,1921,429,'2026-09-27 03:35:01',1,0,NULL,-1,NULL,'Not bareek',0,'1790480101157-120',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2305,1259,837,1921,278,'2026-09-27 03:37:56',1,0,NULL,-1,NULL,NULL,0,'1790480276620-1259',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2306,1224,821,NULL,420,'2026-09-27 04:32:38',1,0,NULL,-1,NULL,NULL,0,'1790483558621-1224',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2307,82,72,1921,858,'2026-09-27 04:34:26',1,0,NULL,-1,NULL,NULL,0,'1790483666115-82',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2308,1078,711,1921,355,'2026-09-27 04:57:21',1,0,NULL,-1,NULL,NULL,0,'1790485041463-1078',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2309,890,840,1921,216,'2026-09-27 05:00:48',1,0,NULL,-1,NULL,'Please delivery in 11am',15,'1790485247957-890',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2310,517,399,1922,592,'2026-09-27 05:07:32',1,0,NULL,-1,NULL,NULL,0,'1790485652780-517',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2311,1263,841,1922,253,'2026-09-27 05:07:55',1,0,NULL,-1,NULL,NULL,0,'1790485675574-1263',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2312,1264,842,1922,295,'2026-09-27 05:53:20',1,0,NULL,-1,NULL,NULL,0,'1790488400360-1264',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2313,1136,754,NULL,254,'2026-09-27 07:30:45',1,0,NULL,-1,NULL,NULL,39,'1790494244595-1136',1,1); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2314,440,400,1923,496,'2026-09-27 07:40:33',1,0,NULL,-1,NULL,NULL,0,'1790494833257-440',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2315,710,542,1923,270,'2026-09-27 07:51:56',1,0,NULL,-1,NULL,NULL,0,'1790495516541-710',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2316,523,392,1923,286,'2026-09-27 08:23:19',1,0,NULL,-1,NULL,NULL,0,'1790497399677-523',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2317,388,285,1923,296,'2026-09-27 08:25:26',1,0,NULL,-1,NULL,NULL,0,'1790497526052-388',1,0); +INSERT INTO "orders" ("id","user_id","address_id","slot_id","total_amount","created_at","is_cod","is_online_payment","payment_info_id","readable_id","admin_notes","user_notes","delivery_charge","order_group_id","order_group_proportion","is_flash_delivery") VALUES(2318,1267,844,NULL,117,'2026-09-27 10:32:27',1,0,NULL,-1,NULL,NULL,39,'1790505147647-1267',1,1); CREATE TABLE IF NOT EXISTS "payment_info" ("id" INTEGER PRIMARY KEY, "status" TEXT NOT NULL, "gateway" TEXT NOT NULL, "order_id" TEXT, "token" TEXT, "merchant_order_id" TEXT NOT NULL, "payload" TEXT); INSERT INTO "payment_info" ("id","status","gateway","order_id","token","merchant_order_id","payload") VALUES(1,'pending','phonepe',NULL,NULL,'order_1763563896010',NULL); INSERT INTO "payment_info" ("id","status","gateway","order_id","token","merchant_order_id","payload") VALUES(2,'pending','phonepe',NULL,NULL,'order_1763564910006',NULL); @@ -7298,6 +8151,7 @@ INSERT INTO "product_tag_info" ("id","tag_name","tag_description","image_url","i INSERT INTO "product_tag_info" ("id","tag_name","tag_description","image_url","is_dashboard_tag","created_at","related_stores","sort_order") VALUES(6,'Mutton','Mutton Products','tags/1770323560823-fd0ec463-bed0-474e-aa14-dc6480ce36af.jpeg',1,'2026-02-05T20:32:41.070Z','[1]','[]'); INSERT INTO "product_tag_info" ("id","tag_name","tag_description","image_url","is_dashboard_tag","created_at","related_stores","sort_order") VALUES(7,'Fruits juices',NULL,'tags/1773132996598-1773119837289-8c93f343-2885-415e-b545-dcaa1dc88857.jpeg%3FX-Amz-Algorithm%3DAWS4-HMAC-SHA256%26X-Amz-Content-Sha256%3DUNSIGNED-PAYLOAD%26X-Amz-Credential%3D8fab47503efb9547b50e4fb317e35cc7%252F20260310%252Fapac%252Fs3%252Faws4_request%26X-Amz-Date%3D20260310T051718Z%26X-Amz-Expires%3D259200%26X-Amz-Signature%3D22358087a6f102caf7eb7a4b3cfd455df9aca13685fff8bb751d3c3d813b9d72%26X-Amz-SignedHeaders%3Dhost%26x-amz-checksum-mode%3DENABLED%26x-id%3DGetObject',1,'2026-03-10T05:17:18.363Z','[8]','[]'); INSERT INTO "product_tag_info" ("id","tag_name","tag_description","image_url","is_dashboard_tag","created_at","related_stores","sort_order") VALUES(8,'Dry fruits',NULL,'tags/1784697809481.jpg',0,'2026-07-22 05:23:30','[9]','[]'); +INSERT INTO "product_tag_info" ("id","tag_name","tag_description","image_url","is_dashboard_tag","created_at","related_stores","sort_order") VALUES(9,'Popular','Popular Items',NULL,1,'2026-09-26 13:28:01','[1,2,4,8,9]','[2,9,136,6,23,21,4,98]'); CREATE TABLE IF NOT EXISTS "refunds" ("id" INTEGER PRIMARY KEY, "order_id" INTEGER NOT NULL, "refund_amount" REAL, "refund_status" TEXT DEFAULT 'none', "merchant_refund_id" TEXT, "refund_processed_at" TEXT, "created_at" TEXT NOT NULL DEFAULT CURRENT_TIMESTAMP); INSERT INTO "refunds" ("id","order_id","refund_amount","refund_status","merchant_refund_id","refund_processed_at","created_at") VALUES(26,159,NULL,'na',NULL,NULL,'2026-01-18T15:36:56.160Z'); INSERT INTO "refunds" ("id","order_id","refund_amount","refund_status","merchant_refund_id","refund_processed_at","created_at") VALUES(27,171,NULL,'na',NULL,NULL,'2026-01-28T03:55:10.936Z'); @@ -7489,6 +8343,31 @@ INSERT INTO "refunds" ("id","order_id","refund_amount","refund_status","merchant INSERT INTO "refunds" ("id","order_id","refund_amount","refund_status","merchant_refund_id","refund_processed_at","created_at") VALUES(233,2078,NULL,'na',NULL,NULL,'2026-09-13 07:51:26'); INSERT INTO "refunds" ("id","order_id","refund_amount","refund_status","merchant_refund_id","refund_processed_at","created_at") VALUES(234,2087,NULL,'na',NULL,NULL,'2026-09-13 12:06:05'); INSERT INTO "refunds" ("id","order_id","refund_amount","refund_status","merchant_refund_id","refund_processed_at","created_at") VALUES(235,2090,NULL,'na',NULL,NULL,'2026-09-13 14:58:05'); +INSERT INTO "refunds" ("id","order_id","refund_amount","refund_status","merchant_refund_id","refund_processed_at","created_at") VALUES(236,2099,NULL,'na',NULL,NULL,'2026-09-14 06:41:08'); +INSERT INTO "refunds" ("id","order_id","refund_amount","refund_status","merchant_refund_id","refund_processed_at","created_at") VALUES(237,2105,NULL,'na',NULL,NULL,'2026-09-15 01:41:55'); +INSERT INTO "refunds" ("id","order_id","refund_amount","refund_status","merchant_refund_id","refund_processed_at","created_at") VALUES(238,2108,NULL,'na',NULL,NULL,'2026-09-15 02:23:20'); +INSERT INTO "refunds" ("id","order_id","refund_amount","refund_status","merchant_refund_id","refund_processed_at","created_at") VALUES(239,2127,NULL,'na',NULL,NULL,'2026-09-15 14:19:37'); +INSERT INTO "refunds" ("id","order_id","refund_amount","refund_status","merchant_refund_id","refund_processed_at","created_at") VALUES(240,2132,NULL,'na',NULL,NULL,'2026-09-16 02:20:19'); +INSERT INTO "refunds" ("id","order_id","refund_amount","refund_status","merchant_refund_id","refund_processed_at","created_at") VALUES(241,2128,NULL,'na',NULL,NULL,'2026-09-16 05:20:41'); +INSERT INTO "refunds" ("id","order_id","refund_amount","refund_status","merchant_refund_id","refund_processed_at","created_at") VALUES(242,2136,NULL,'na',NULL,NULL,'2026-09-16 09:01:19'); +INSERT INTO "refunds" ("id","order_id","refund_amount","refund_status","merchant_refund_id","refund_processed_at","created_at") VALUES(243,2137,NULL,'na',NULL,NULL,'2026-09-16 09:02:22'); +INSERT INTO "refunds" ("id","order_id","refund_amount","refund_status","merchant_refund_id","refund_processed_at","created_at") VALUES(244,2152,NULL,'na',NULL,NULL,'2026-09-17 12:53:29'); +INSERT INTO "refunds" ("id","order_id","refund_amount","refund_status","merchant_refund_id","refund_processed_at","created_at") VALUES(245,2161,NULL,'na',NULL,NULL,'2026-09-18 06:38:31'); +INSERT INTO "refunds" ("id","order_id","refund_amount","refund_status","merchant_refund_id","refund_processed_at","created_at") VALUES(246,2169,NULL,'na',NULL,NULL,'2026-09-19 03:07:07'); +INSERT INTO "refunds" ("id","order_id","refund_amount","refund_status","merchant_refund_id","refund_processed_at","created_at") VALUES(247,2181,NULL,'na',NULL,NULL,'2026-09-20 01:24:32'); +INSERT INTO "refunds" ("id","order_id","refund_amount","refund_status","merchant_refund_id","refund_processed_at","created_at") VALUES(248,2194,NULL,'na',NULL,NULL,'2026-09-20 04:18:36'); +INSERT INTO "refunds" ("id","order_id","refund_amount","refund_status","merchant_refund_id","refund_processed_at","created_at") VALUES(249,2205,NULL,'na',NULL,NULL,'2026-09-20 06:36:31'); +INSERT INTO "refunds" ("id","order_id","refund_amount","refund_status","merchant_refund_id","refund_processed_at","created_at") VALUES(250,2201,NULL,'na',NULL,NULL,'2026-09-20 06:52:31'); +INSERT INTO "refunds" ("id","order_id","refund_amount","refund_status","merchant_refund_id","refund_processed_at","created_at") VALUES(251,2216,NULL,'na',NULL,NULL,'2026-09-21 13:38:18'); +INSERT INTO "refunds" ("id","order_id","refund_amount","refund_status","merchant_refund_id","refund_processed_at","created_at") VALUES(252,2232,NULL,'na',NULL,NULL,'2026-09-22 16:49:16'); +INSERT INTO "refunds" ("id","order_id","refund_amount","refund_status","merchant_refund_id","refund_processed_at","created_at") VALUES(253,2235,NULL,'na',NULL,NULL,'2026-09-23 04:02:59'); +INSERT INTO "refunds" ("id","order_id","refund_amount","refund_status","merchant_refund_id","refund_processed_at","created_at") VALUES(254,2271,NULL,'na',NULL,NULL,'2026-09-25 09:46:46'); +INSERT INTO "refunds" ("id","order_id","refund_amount","refund_status","merchant_refund_id","refund_processed_at","created_at") VALUES(255,2280,NULL,'na',NULL,NULL,'2026-09-26 03:09:19'); +INSERT INTO "refunds" ("id","order_id","refund_amount","refund_status","merchant_refund_id","refund_processed_at","created_at") VALUES(256,2278,NULL,'na',NULL,NULL,'2026-09-26 03:09:35'); +INSERT INTO "refunds" ("id","order_id","refund_amount","refund_status","merchant_refund_id","refund_processed_at","created_at") VALUES(257,2102,NULL,'na',NULL,NULL,'2026-09-26 05:53:42'); +INSERT INTO "refunds" ("id","order_id","refund_amount","refund_status","merchant_refund_id","refund_processed_at","created_at") VALUES(258,2284,NULL,'na',NULL,NULL,'2026-09-26 13:41:03'); +INSERT INTO "refunds" ("id","order_id","refund_amount","refund_status","merchant_refund_id","refund_processed_at","created_at") VALUES(259,2309,NULL,'na',NULL,NULL,'2026-09-27 05:02:21'); +INSERT INTO "refunds" ("id","order_id","refund_amount","refund_status","merchant_refund_id","refund_processed_at","created_at") VALUES(260,2318,NULL,'na',NULL,NULL,'2026-09-27 10:57:34'); CREATE TABLE IF NOT EXISTS "reserved_coupons" ("id" INTEGER PRIMARY KEY, "secret_code" TEXT NOT NULL, "coupon_code" TEXT NOT NULL, "discount_percent" REAL, "flat_discount" REAL, "min_order" REAL, "sku_ids" TEXT, "max_value" REAL, "valid_till" TEXT, "max_limit_for_user" INTEGER, "exclusive_apply" INTEGER NOT NULL DEFAULT false, "is_redeemed" INTEGER NOT NULL DEFAULT false, "redeemed_by" INTEGER, "redeemed_at" TEXT, "created_by" INTEGER NOT NULL, "created_at" TEXT NOT NULL DEFAULT CURRENT_TIMESTAMP, `is_first_order_only` integer DEFAULT false NOT NULL); INSERT INTO "reserved_coupons" ("id","secret_code","coupon_code","discount_percent","flat_discount","min_order","sku_ids","max_value","valid_till","max_limit_for_user","exclusive_apply","is_redeemed","redeemed_by","redeemed_at","created_by","created_at","is_first_order_only") VALUES(1,'RESERVE_TEST34','RESERVE_TEST34',25,NULL,1000,'[]',250,'2026-01-30T13:16:00.000Z',2,0,1,NULL,'2026-01-12T08:58:20.468Z',6,'2026-01-07T13:16:53.387Z',0); INSERT INTO "reserved_coupons" ("id","secret_code","coupon_code","discount_percent","flat_discount","min_order","sku_ids","max_value","valid_till","max_limit_for_user","exclusive_apply","is_redeemed","redeemed_by","redeemed_at","created_by","created_at","is_first_order_only") VALUES(2,'TEST50OFF','TEST50OFF',10,NULL,250,'[]',500,'2026-08-13T02:30:00.000Z',1,0,1,6,'2026-08-12T16:15:10.211Z',4,'2026-08-12 16:14:27',0); @@ -7758,11 +8637,11 @@ INSERT INTO "reserved_coupons" ("id","secret_code","coupon_code","discount_perce INSERT INTO "reserved_coupons" ("id","secret_code","coupon_code","discount_percent","flat_discount","min_order","sku_ids","max_value","valid_till","max_limit_for_user","exclusive_apply","is_redeemed","redeemed_by","redeemed_at","created_by","created_at","is_first_order_only") VALUES(266,'INNU34','INNU34',NULL,100,1200,NULL,100,'2026-09-10T15:38:00.000Z',2,0,1,141,'2026-08-31T02:28:44.949Z',4,'2026-08-25 15:38:11',0); INSERT INTO "reserved_coupons" ("id","secret_code","coupon_code","discount_percent","flat_discount","min_order","sku_ids","max_value","valid_till","max_limit_for_user","exclusive_apply","is_redeemed","redeemed_by","redeemed_at","created_by","created_at","is_first_order_only") VALUES(267,'QUSHAM1','QUSHAM1',15,NULL,299,NULL,100,'2026-08-31T01:16:00.000Z',2,0,1,2,'2026-08-26T01:17:06.670Z',4,'2026-08-26 01:16:40',0); INSERT INTO "reserved_coupons" ("id","secret_code","coupon_code","discount_percent","flat_discount","min_order","sku_ids","max_value","valid_till","max_limit_for_user","exclusive_apply","is_redeemed","redeemed_by","redeemed_at","created_by","created_at","is_first_order_only") VALUES(268,'FRESH10','FRESH10',15,NULL,499,NULL,100,'2026-09-30T05:38:00.000Z',2,0,1,440,'2026-09-01T13:38:08.524Z',4,'2026-08-26 05:39:00',0); -INSERT INTO "reserved_coupons" ("id","secret_code","coupon_code","discount_percent","flat_discount","min_order","sku_ids","max_value","valid_till","max_limit_for_user","exclusive_apply","is_redeemed","redeemed_by","redeemed_at","created_by","created_at","is_first_order_only") VALUES(269,'FRND23','FRND23',15,NULL,499,NULL,100,'2026-09-30T05:38:00.000Z',2,0,0,NULL,NULL,4,'2026-08-26 05:39:00',0); +INSERT INTO "reserved_coupons" ("id","secret_code","coupon_code","discount_percent","flat_discount","min_order","sku_ids","max_value","valid_till","max_limit_for_user","exclusive_apply","is_redeemed","redeemed_by","redeemed_at","created_by","created_at","is_first_order_only") VALUES(269,'FRND23','FRND23',15,NULL,499,NULL,100,'2026-09-30T05:38:00.000Z',2,0,1,440,'2026-09-14T05:41:00.778Z',4,'2026-08-26 05:39:00',0); INSERT INTO "reserved_coupons" ("id","secret_code","coupon_code","discount_percent","flat_discount","min_order","sku_ids","max_value","valid_till","max_limit_for_user","exclusive_apply","is_redeemed","redeemed_by","redeemed_at","created_by","created_at","is_first_order_only") VALUES(270,'FRND24','FRND24',15,NULL,499,NULL,100,'2026-09-30T05:38:00.000Z',2,0,1,440,'2026-09-01T13:39:32.294Z',4,'2026-08-26 05:39:00',0); INSERT INTO "reserved_coupons" ("id","secret_code","coupon_code","discount_percent","flat_discount","min_order","sku_ids","max_value","valid_till","max_limit_for_user","exclusive_apply","is_redeemed","redeemed_by","redeemed_at","created_by","created_at","is_first_order_only") VALUES(271,'MILAD10','MILAD10',10,NULL,299,NULL,100,'2026-08-31T09:30:00.000Z',2,0,0,NULL,NULL,4,'2026-08-26 09:31:03',0); -INSERT INTO "reserved_coupons" ("id","secret_code","coupon_code","discount_percent","flat_discount","min_order","sku_ids","max_value","valid_till","max_limit_for_user","exclusive_apply","is_redeemed","redeemed_by","redeemed_at","created_by","created_at","is_first_order_only") VALUES(272,'MILAD50','MILAD50',NULL,50,499,NULL,50,'2026-08-31T09:31:00.000Z',2,0,0,NULL,NULL,4,'2026-08-26 09:31:50',0); -INSERT INTO "reserved_coupons" ("id","secret_code","coupon_code","discount_percent","flat_discount","min_order","sku_ids","max_value","valid_till","max_limit_for_user","exclusive_apply","is_redeemed","redeemed_by","redeemed_at","created_by","created_at","is_first_order_only") VALUES(273,'MILAD15','MILAD15',15,NULL,399,NULL,100,'2026-08-31T09:32:00.000Z',2,0,0,NULL,NULL,4,'2026-08-26 09:32:28',0); +INSERT INTO "reserved_coupons" ("id","secret_code","coupon_code","discount_percent","flat_discount","min_order","sku_ids","max_value","valid_till","max_limit_for_user","exclusive_apply","is_redeemed","redeemed_by","redeemed_at","created_by","created_at","is_first_order_only") VALUES(272,'MILAD50','MILAD50',NULL,50,499,NULL,50,'2026-08-31T09:31:00.000Z',2,0,1,1165,'2026-09-15T13:10:06.354Z',4,'2026-08-26 09:31:50',0); +INSERT INTO "reserved_coupons" ("id","secret_code","coupon_code","discount_percent","flat_discount","min_order","sku_ids","max_value","valid_till","max_limit_for_user","exclusive_apply","is_redeemed","redeemed_by","redeemed_at","created_by","created_at","is_first_order_only") VALUES(273,'MILAD15','MILAD15',15,NULL,399,NULL,100,'2026-08-31T09:32:00.000Z',2,0,1,1165,'2026-09-15T13:18:49.518Z',4,'2026-08-26 09:32:28',0); INSERT INTO "reserved_coupons" ("id","secret_code","coupon_code","discount_percent","flat_discount","min_order","sku_ids","max_value","valid_till","max_limit_for_user","exclusive_apply","is_redeemed","redeemed_by","redeemed_at","created_by","created_at","is_first_order_only") VALUES(274,'MILAD100','MILAD100',15,NULL,799,NULL,100,'2026-08-31T09:33:00.000Z',2,0,0,NULL,NULL,4,'2026-08-26 09:33:21',0); INSERT INTO "reserved_coupons" ("id","secret_code","coupon_code","discount_percent","flat_discount","min_order","sku_ids","max_value","valid_till","max_limit_for_user","exclusive_apply","is_redeemed","redeemed_by","redeemed_at","created_by","created_at","is_first_order_only") VALUES(275,'MILAD200','MILAD200',NULL,200,1299,NULL,200,'2026-09-10T09:33:00.000Z',3,0,0,NULL,NULL,4,'2026-08-26 09:34:03',0); INSERT INTO "reserved_coupons" ("id","secret_code","coupon_code","discount_percent","flat_discount","min_order","sku_ids","max_value","valid_till","max_limit_for_user","exclusive_apply","is_redeemed","redeemed_by","redeemed_at","created_by","created_at","is_first_order_only") VALUES(276,'KNRA1','KNRA1',15,NULL,299,NULL,100,'2026-09-30T10:27:00.000Z',3,0,0,NULL,NULL,4,'2026-08-27 10:27:43',0); @@ -7963,8 +8842,8 @@ INSERT INTO "reserved_coupons" ("id","secret_code","coupon_code","discount_perce INSERT INTO "reserved_coupons" ("id","secret_code","coupon_code","discount_percent","flat_discount","min_order","sku_ids","max_value","valid_till","max_limit_for_user","exclusive_apply","is_redeemed","redeemed_by","redeemed_at","created_by","created_at","is_first_order_only") VALUES(471,'FRESH27','FRESH27',15,NULL,299,NULL,50,'2026-09-30T13:22:00.000Z',3,0,0,NULL,NULL,4,'2026-08-30 13:22:45',0); INSERT INTO "reserved_coupons" ("id","secret_code","coupon_code","discount_percent","flat_discount","min_order","sku_ids","max_value","valid_till","max_limit_for_user","exclusive_apply","is_redeemed","redeemed_by","redeemed_at","created_by","created_at","is_first_order_only") VALUES(472,'FRND28','FRND28',15,NULL,299,NULL,50,'2026-09-30T13:22:00.000Z',3,0,0,NULL,NULL,4,'2026-08-30 13:23:17',0); INSERT INTO "reserved_coupons" ("id","secret_code","coupon_code","discount_percent","flat_discount","min_order","sku_ids","max_value","valid_till","max_limit_for_user","exclusive_apply","is_redeemed","redeemed_by","redeemed_at","created_by","created_at","is_first_order_only") VALUES(473,'FRESHY30','FRESHY30',15,NULL,299,NULL,100,'2026-09-30T03:19:00.000Z',2,0,0,NULL,NULL,4,'2026-08-31 03:19:29',0); -INSERT INTO "reserved_coupons" ("id","secret_code","coupon_code","discount_percent","flat_discount","min_order","sku_ids","max_value","valid_till","max_limit_for_user","exclusive_apply","is_redeemed","redeemed_by","redeemed_at","created_by","created_at","is_first_order_only") VALUES(474,'FRND30','FRND30',15,NULL,299,NULL,100,'2026-09-30T03:19:00.000Z',2,0,0,NULL,NULL,4,'2026-08-31 03:19:29',0); -INSERT INTO "reserved_coupons" ("id","secret_code","coupon_code","discount_percent","flat_discount","min_order","sku_ids","max_value","valid_till","max_limit_for_user","exclusive_apply","is_redeemed","redeemed_by","redeemed_at","created_by","created_at","is_first_order_only") VALUES(475,'FRND31','FRND31',15,NULL,299,NULL,100,'2026-09-30T03:19:00.000Z',2,0,0,NULL,NULL,4,'2026-08-31 03:19:29',0); +INSERT INTO "reserved_coupons" ("id","secret_code","coupon_code","discount_percent","flat_discount","min_order","sku_ids","max_value","valid_till","max_limit_for_user","exclusive_apply","is_redeemed","redeemed_by","redeemed_at","created_by","created_at","is_first_order_only") VALUES(474,'FRND30','FRND30',15,NULL,299,NULL,100,'2026-09-30T03:19:00.000Z',2,0,1,454,'2026-09-23T02:28:23.973Z',4,'2026-08-31 03:19:29',0); +INSERT INTO "reserved_coupons" ("id","secret_code","coupon_code","discount_percent","flat_discount","min_order","sku_ids","max_value","valid_till","max_limit_for_user","exclusive_apply","is_redeemed","redeemed_by","redeemed_at","created_by","created_at","is_first_order_only") VALUES(475,'FRND31','FRND31',15,NULL,299,NULL,100,'2026-09-30T03:19:00.000Z',2,0,1,514,'2026-09-24T16:56:50.177Z',4,'2026-08-31 03:19:29',0); INSERT INTO "reserved_coupons" ("id","secret_code","coupon_code","discount_percent","flat_discount","min_order","sku_ids","max_value","valid_till","max_limit_for_user","exclusive_apply","is_redeemed","redeemed_by","redeemed_at","created_by","created_at","is_first_order_only") VALUES(476,'FRND32','FRND32',15,NULL,299,NULL,50,'2026-09-30T04:42:00.000Z',3,0,0,NULL,NULL,4,'2026-08-31 04:42:27',0); INSERT INTO "reserved_coupons" ("id","secret_code","coupon_code","discount_percent","flat_discount","min_order","sku_ids","max_value","valid_till","max_limit_for_user","exclusive_apply","is_redeemed","redeemed_by","redeemed_at","created_by","created_at","is_first_order_only") VALUES(477,'FRESH35','FRESH35',15,NULL,349,NULL,50,'2026-09-30T05:24:00.000Z',3,0,0,NULL,NULL,4,'2026-08-31 05:24:33',0); INSERT INTO "reserved_coupons" ("id","secret_code","coupon_code","discount_percent","flat_discount","min_order","sku_ids","max_value","valid_till","max_limit_for_user","exclusive_apply","is_redeemed","redeemed_by","redeemed_at","created_by","created_at","is_first_order_only") VALUES(478,'FRND35','FRND35',15,NULL,349,NULL,50,'2026-09-30T05:24:00.000Z',3,0,0,NULL,NULL,4,'2026-08-31 05:24:33',0); @@ -8202,8 +9081,8 @@ INSERT INTO "reserved_coupons" ("id","secret_code","coupon_code","discount_perce INSERT INTO "reserved_coupons" ("id","secret_code","coupon_code","discount_percent","flat_discount","min_order","sku_ids","max_value","valid_till","max_limit_for_user","exclusive_apply","is_redeemed","redeemed_by","redeemed_at","created_by","created_at","is_first_order_only") VALUES(710,'RCRC40','RCRC40',15,NULL,299,NULL,100,'2026-10-30T11:07:00.000Z',3,0,0,NULL,NULL,4,'2026-09-07 11:07:26',0); INSERT INTO "reserved_coupons" ("id","secret_code","coupon_code","discount_percent","flat_discount","min_order","sku_ids","max_value","valid_till","max_limit_for_user","exclusive_apply","is_redeemed","redeemed_by","redeemed_at","created_by","created_at","is_first_order_only") VALUES(711,'FRESH42','FRESH42',15,NULL,299,NULL,50,'2026-10-30T03:12:00.000Z',3,0,0,NULL,NULL,4,'2026-09-08 03:13:01',0); INSERT INTO "reserved_coupons" ("id","secret_code","coupon_code","discount_percent","flat_discount","min_order","sku_ids","max_value","valid_till","max_limit_for_user","exclusive_apply","is_redeemed","redeemed_by","redeemed_at","created_by","created_at","is_first_order_only") VALUES(712,'FRND42','FRND42',15,NULL,299,NULL,50,'2026-10-30T03:12:00.000Z',3,0,0,NULL,NULL,4,'2026-09-08 03:13:01',0); -INSERT INTO "reserved_coupons" ("id","secret_code","coupon_code","discount_percent","flat_discount","min_order","sku_ids","max_value","valid_till","max_limit_for_user","exclusive_apply","is_redeemed","redeemed_by","redeemed_at","created_by","created_at","is_first_order_only") VALUES(713,'FRESH43','FRESH43',15,NULL,299,NULL,50,'2026-10-30T07:02:00.000Z',3,0,0,NULL,NULL,4,'2026-09-08 07:02:11',0); -INSERT INTO "reserved_coupons" ("id","secret_code","coupon_code","discount_percent","flat_discount","min_order","sku_ids","max_value","valid_till","max_limit_for_user","exclusive_apply","is_redeemed","redeemed_by","redeemed_at","created_by","created_at","is_first_order_only") VALUES(714,'FRND43','FRND43',15,NULL,299,NULL,50,'2026-10-30T07:02:00.000Z',3,0,0,NULL,NULL,4,'2026-09-08 07:02:11',0); +INSERT INTO "reserved_coupons" ("id","secret_code","coupon_code","discount_percent","flat_discount","min_order","sku_ids","max_value","valid_till","max_limit_for_user","exclusive_apply","is_redeemed","redeemed_by","redeemed_at","created_by","created_at","is_first_order_only") VALUES(713,'FRESH43','FRESH43',15,NULL,299,NULL,50,'2026-10-30T07:02:00.000Z',3,0,1,701,'2026-09-26T03:05:43.855Z',4,'2026-09-08 07:02:11',0); +INSERT INTO "reserved_coupons" ("id","secret_code","coupon_code","discount_percent","flat_discount","min_order","sku_ids","max_value","valid_till","max_limit_for_user","exclusive_apply","is_redeemed","redeemed_by","redeemed_at","created_by","created_at","is_first_order_only") VALUES(714,'FRND43','FRND43',15,NULL,299,NULL,50,'2026-10-30T07:02:00.000Z',3,0,1,701,'2026-09-26T03:05:17.931Z',4,'2026-09-08 07:02:11',0); INSERT INTO "reserved_coupons" ("id","secret_code","coupon_code","discount_percent","flat_discount","min_order","sku_ids","max_value","valid_till","max_limit_for_user","exclusive_apply","is_redeemed","redeemed_by","redeemed_at","created_by","created_at","is_first_order_only") VALUES(715,'MTAP1','MTAP1',15,NULL,299,NULL,100,'2026-10-30T10:59:00.000Z',2,0,0,NULL,NULL,4,'2026-09-08 10:59:27',0); INSERT INTO "reserved_coupons" ("id","secret_code","coupon_code","discount_percent","flat_discount","min_order","sku_ids","max_value","valid_till","max_limit_for_user","exclusive_apply","is_redeemed","redeemed_by","redeemed_at","created_by","created_at","is_first_order_only") VALUES(716,'MTAP2','MTAP2',15,NULL,299,NULL,100,'2026-10-30T10:59:00.000Z',2,0,0,NULL,NULL,4,'2026-09-08 10:59:27',0); INSERT INTO "reserved_coupons" ("id","secret_code","coupon_code","discount_percent","flat_discount","min_order","sku_ids","max_value","valid_till","max_limit_for_user","exclusive_apply","is_redeemed","redeemed_by","redeemed_at","created_by","created_at","is_first_order_only") VALUES(717,'MTAP3','MTAP3',15,NULL,299,NULL,100,'2026-10-30T10:59:00.000Z',2,0,0,NULL,NULL,4,'2026-09-08 10:59:27',0); @@ -8286,13 +9165,12 @@ INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VAL INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(49,'ExponentPushToken[RZKHsOC-WpryYm3Q50I86K]','2026-03-02T18:02:53.628Z','2026-07-10T07:56:48.799Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(50,'ExponentPushToken[6ntq9XMPTbXobzH3dksQ7H]','2026-03-02T19:46:18.992Z','2026-04-20T15:22:42.743Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(51,'ExponentPushToken[7mwTBgFGWCsZ5bQW2Xn-8j]','2026-03-02T23:48:35.524Z','2026-03-02T23:48:35.523Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(56,'ExponentPushToken[ROzLrXEV42b3SoLOlH1pTa]','2026-03-03T07:33:25.138Z','2026-03-03T07:33:25.137Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(61,'ExponentPushToken[Y1nFTyC4zbqVCw38UPwEh1]','2026-03-03T12:51:29.142Z','2026-03-26T15:21:56.434Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(63,'ExponentPushToken[i2QRAQH9EHhXTQm97-UfXf]','2026-03-03T14:05:55.847Z','2026-03-05T10:43:01.669Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(67,'ExponentPushToken[6l-WlJL-dUG2BixclCkzSa]','2026-03-03T16:09:58.312Z','2026-08-04T12:38:39.413Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(72,'ExponentPushToken[T7gjPaDVOJQtJ5anemtNYZ]','2026-03-04T03:22:38.529Z','2026-04-08T12:28:45.563Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(76,'ExponentPushToken[xQd0ENCrZszcQb7A8eRt_0]','2026-03-04T11:19:57.670Z','2026-03-04T11:19:57.669Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(78,'ExponentPushToken[700fYUMqIA-ft5HcmU1tmR]','2026-03-04T12:29:09.778Z','2026-07-23T13:41:10.795Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(78,'ExponentPushToken[700fYUMqIA-ft5HcmU1tmR]','2026-03-04T12:29:09.778Z','2026-09-17T13:21:18.700Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(82,'ExponentPushToken[QEEy_7NgrEVQomidUjxj6i]','2026-03-04T14:36:29.020Z','2026-03-10T05:06:10.474Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(83,'ExponentPushToken[etZLxjKMfUFwzX3npBfViW]','2026-03-04T16:51:45.995Z','2026-03-04T16:51:45.992Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(84,'ExponentPushToken[yoRlFwEZScYynd7F-b0EbZ]','2026-03-05T05:04:39.681Z','2026-04-12T18:41:40.067Z'); @@ -8368,7 +9246,7 @@ INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VAL INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(226,'ExponentPushToken[eC-7SvPGfJO7_ICg760wL7]','2026-03-17T10:25:41.790Z','2026-03-17T16:32:05.593Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(227,'ExponentPushToken[kQZiLsJZ94vfrKOjASQWqr]','2026-03-18T02:23:21.087Z','2026-03-18T02:23:21.086Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(233,'ExponentPushToken[vCpp_1NznEZoxBBwFxigBg]','2026-03-18T15:11:58.824Z','2026-03-18T15:11:58.823Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(234,'ExponentPushToken[iv6POIJTUIiGpkElL84fG7]','2026-03-18T16:02:03.711Z','2026-08-01T15:54:35.932Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(234,'ExponentPushToken[iv6POIJTUIiGpkElL84fG7]','2026-03-18T16:02:03.711Z','2026-09-25T04:24:02.409Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(235,'ExponentPushToken[Dw8I87PmAS7B6Ii-O7RPJz]','2026-03-18T19:41:57.033Z','2026-05-07T18:41:04.224Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(244,'ExponentPushToken[WORvuBGsrGkycIh0srSunX]','2026-03-19T10:55:26.081Z','2026-03-19T10:55:26.081Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(246,'ExponentPushToken[BAMOz8A3uZ98l8lIIF5cvC]','2026-03-19T13:09:24.191Z','2026-06-03T09:48:02.132Z'); @@ -8394,7 +9272,7 @@ INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VAL INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(290,'ExponentPushToken[ph0IvsNszCHjITyZEb6LfW]','2026-03-25T12:48:49.111Z','2026-09-08T12:06:21.805Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(291,'ExponentPushToken[Yr41oTB105H8U0vXzI0WlR]','2026-03-25T12:51:37.303Z','2026-03-25T12:51:37.302Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(292,'ExponentPushToken[0JRCqAEHTkOWGO3rY4MmTW]','2026-03-25T13:09:32.977Z','2026-03-29T04:19:37.435Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(298,'ExponentPushToken[KOnM-ZGk5hLcT2JCVF42ns]','2026-03-26T06:53:35.749Z','2026-09-12T06:47:18.412Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(298,'ExponentPushToken[KOnM-ZGk5hLcT2JCVF42ns]','2026-03-26T06:53:35.749Z','2026-09-15T06:05:36.228Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(300,'ExponentPushToken[9rUy7mEZB1_X9LuhD8Wnfv]','2026-03-26T11:04:31.364Z','2026-04-23T09:25:08.161Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(303,'ExponentPushToken[BVothEDs_4eGckZYMw5Cuq]','2026-03-26T14:39:06.107Z','2026-05-15T03:26:06.086Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(305,'ExponentPushToken[hjmkZoOc82DY1eVSc9RUQI]','2026-03-27T12:05:49.821Z','2026-07-25T09:35:23.066Z'); @@ -8428,7 +9306,7 @@ INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VAL INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(377,'ExponentPushToken[KzS5P5F_tai5UTsmqICPEt]','2026-04-04T14:47:22.276Z','2026-04-07T07:37:24.102Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(381,'ExponentPushToken[ajyGklEpPuaF0semXEHmyh]','2026-04-05T11:48:04.798Z','2026-04-08T13:40:10.672Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(384,'ExponentPushToken[Gys045OR7dHYbQ2CPTMqAE]','2026-04-05T18:30:16.243Z','2026-04-29T08:13:52.853Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(385,'ExponentPushToken[UBKsoGEwMZLkm4B3wUtx5S]','2026-04-05T18:34:52.401Z','2026-09-13T13:40:02.651Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(385,'ExponentPushToken[UBKsoGEwMZLkm4B3wUtx5S]','2026-04-05T18:34:52.401Z','2026-09-22T08:00:49.286Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(389,'ExponentPushToken[q-CLMSMS5OX9ZwjRwfk2qp]','2026-04-06T15:10:01.277Z','2026-04-07T12:27:02.134Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(393,'ExponentPushToken[JMEvkUHKT0n34hcs-MiJAJ]','2026-04-07T05:11:31.283Z','2026-09-04T02:49:54.354Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(394,'ExponentPushToken[7phYIiLzUvAb8FKupVlpPz]','2026-04-07T07:11:45.731Z','2026-04-07T07:11:45.730Z'); @@ -8465,7 +9343,7 @@ INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VAL INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(444,'ExponentPushToken[VBwbhYESzYkrYBaJNOr_Cd]','2026-04-13 19:45:12','2026-08-26T16:06:39.010Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(446,'ExponentPushToken[6s4EGAFCrgCtHTarccJJTD]','2026-04-14 03:08:30','2026-05-23T16:19:55.766Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(448,'ExponentPushToken[EdMxFoHfynXG_MDzVF7lSZ]','2026-04-14 04:51:41','2026-04-18T06:17:53.563Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(449,'ExponentPushToken[bKljnNAKOQhNtEuFH61wdv]','2026-04-14 05:45:46','2026-05-13T05:43:03.792Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(449,'ExponentPushToken[bKljnNAKOQhNtEuFH61wdv]','2026-04-14 05:45:46','2026-09-17T12:04:00.210Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(452,'ExponentPushToken[n6XnhFHpK-Ve0rsnYOwzTo]','2026-04-14 11:45:42','2026-04-14T11:45:42.779Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(453,'ExponentPushToken[gLEpMRPlxQpSK8H5i_Pp5T]','2026-04-14 14:13:54','2026-04-15T18:28:58.473Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(456,'ExponentPushToken[pcdwYHArp_tYPlm4A_ffQv]','2026-04-15 04:07:05','2026-04-15T04:07:05.041Z'); @@ -8495,7 +9373,7 @@ INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VAL INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(489,'ExponentPushToken[LMwZ9hA618rm1SBbnSpLka]','2026-04-19 14:08:57','2026-07-19T06:58:18.013Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(491,'ExponentPushToken[WDDphiAjEqBP-udKJIN5RA]','2026-04-20 05:15:42','2026-09-03T12:10:52.010Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(492,'ExponentPushToken[QHs8gPGVri_2JpSS4f2212]','2026-04-20 05:22:00','2026-04-21T08:04:55.169Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(495,'ExponentPushToken[Gb4KieGJIaPnwHmzTYtcMv]','2026-04-20 15:25:06','2026-05-07T22:17:03.380Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(495,'ExponentPushToken[Gb4KieGJIaPnwHmzTYtcMv]','2026-04-20 15:25:06','2026-09-19T11:56:48.242Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(496,'ExponentPushToken[IFG-fjHRAOmE6ntu5f5rXU]','2026-04-21 03:15:37','2026-04-21T03:15:37.916Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(498,'ExponentPushToken[b4LUNMAhrZb54Cv1A6ef_M]','2026-04-21 05:29:34','2026-05-10T17:09:36.453Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(499,'ExponentPushToken[wIhrdlAmwj0Eytvz3W3TTZ]','2026-04-21 08:11:05','2026-04-22T04:00:28.853Z'); @@ -8504,11 +9382,10 @@ INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VAL INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(506,'ExponentPushToken[8qaT17I_FsuKTk1NMvclVQ]','2026-04-21 16:16:12','2026-08-01T16:05:00.250Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(512,'ExponentPushToken[VGxSsfBXvltfZh8hOzwmv4]','2026-04-23 03:24:03','2026-04-24T08:56:32.408Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(514,'ExponentPushToken[dc1jBREaSOE78087Qk9Hip]','2026-04-23 11:22:21','2026-06-03T07:25:27.223Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(515,'ExponentPushToken[hRrL1QEYMgvhzQdVbkpdyB]','2026-04-24 01:44:08','2026-09-11T16:16:17.099Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(515,'ExponentPushToken[hRrL1QEYMgvhzQdVbkpdyB]','2026-04-24 01:44:08','2026-09-19T04:08:38.916Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(516,'ExponentPushToken[iSZWmpOGVA5X34MFU1B7Ur]','2026-04-24 06:11:54','2026-04-28T12:02:20.863Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(517,'ExponentPushToken[nP7cTjChjAdo68V5rXbjX2]','2026-04-24 06:22:37','2026-06-21T09:55:34.336Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(518,'ExponentPushToken[MsgGz9PZ0tGTmpksMXJiPQ]','2026-04-24 08:25:08','2026-07-18T08:42:54.938Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(519,'ExponentPushToken[rz39abBULbPasMRFHOT-AN]','2026-04-24 08:39:08','2026-08-29T08:17:26.090Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(519,'ExponentPushToken[rz39abBULbPasMRFHOT-AN]','2026-04-24 08:39:08','2026-09-17T15:09:44.266Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(520,'ExponentPushToken[fDZY75NUsKkb1mF2sknAw5]','2026-04-24 09:54:23','2026-04-24T09:54:23.396Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(521,'ExponentPushToken[p8DReGBwkddCghIhNQyQ0T]','2026-04-24 11:05:44','2026-05-07T05:26:15.423Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(522,'ExponentPushToken[OKERFbJSc6WhdBGcVwBNDn]','2026-04-24 20:19:27','2026-06-06T17:09:00.331Z'); @@ -8541,11 +9418,11 @@ INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VAL INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(566,'ExponentPushToken[eGZLe4GNcNgF_n_-_rbJtL]','2026-04-30 06:11:57','2026-04-30T06:11:57.621Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(570,'ExponentPushToken[4SxcijKrblMxWuYAibvUVI]','2026-05-01 05:09:48','2026-06-19T11:17:22.463Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(572,'ExponentPushToken[lcIMs-Ee73tCcK9kbT-iyR]','2026-05-01 07:02:31','2026-05-01T07:02:31.448Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(573,'ExponentPushToken[nX9MmcLit9DJizpdMn0VPs]','2026-05-01 07:10:23','2026-09-12T10:38:12.994Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(573,'ExponentPushToken[nX9MmcLit9DJizpdMn0VPs]','2026-05-01 07:10:23','2026-09-27T11:00:31.812Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(576,'ExponentPushToken[hWDq-zJM-L5Vs59H9Js_BM]','2026-05-01 14:50:56','2026-05-01T14:50:56.287Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(577,'ExponentPushToken[ceIV-PNdap0wS3OWZNxxvd]','2026-05-02 03:14:45','2026-05-02T04:33:43.783Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(578,'ExponentPushToken[4QHIzADKKkWhxXjUd6aznx]','2026-05-03 02:50:35','2026-05-05T04:54:11.719Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(580,'ExponentPushToken[2KeIQoIW7_xfYnmYKLjIxX]','2026-05-03 06:59:21','2026-08-13T15:30:51.738Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(580,'ExponentPushToken[2KeIQoIW7_xfYnmYKLjIxX]','2026-05-03 06:59:21','2026-09-23T12:22:08.640Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(581,'ExponentPushToken[5fX4CmG9w3GtaxvHBEgag-]','2026-05-03 12:37:40','2026-06-30T04:20:16.010Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(582,'ExponentPushToken[QYuKk4PXPchUd3OcWN00x8]','2026-05-03 15:25:57','2026-05-08T06:38:49.961Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(585,'ExponentPushToken[WoQXlUKe6j_G0F6lm1JsCt]','2026-05-04 07:32:29','2026-05-04T07:32:29.494Z'); @@ -8584,12 +9461,12 @@ INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VAL INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(634,'ExponentPushToken[h3O2AyJYtGp4IAs6El-_PW]','2026-05-10 15:59:36','2026-06-17T12:33:18.885Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(639,'ExponentPushToken[t_V3RnLV9UzaCxS_JvEjdU]','2026-05-11 03:28:51','2026-05-11T03:28:51.433Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(640,'ExponentPushToken[6lv5JOME9ZPmbtrU00qQGN]','2026-05-11 05:40:53','2026-05-11T05:40:53.463Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(641,'ExponentPushToken[ae_ltuJSxXu26WHK9DYwy6]','2026-05-11 05:41:45','2026-05-18T09:39:52.415Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(641,'ExponentPushToken[ae_ltuJSxXu26WHK9DYwy6]','2026-05-11 05:41:45','2026-09-21T11:14:19.367Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(642,'ExponentPushToken[nKBS8kPy8GxMzJ-HuE5h-e]','2026-05-11 06:19:57','2026-05-11T06:19:57.095Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(646,'ExponentPushToken[KU9z_uIfqqsOoqC76s5a1Z]','2026-05-11 10:19:37','2026-08-06T01:50:12.813Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(648,'ExponentPushToken[cBQmW0FG07YnI75CQSTJip]','2026-05-11 13:42:54','2026-05-31T01:33:33.642Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(650,'ExponentPushToken[mWV8_3GSGm-nGidgZHIPH9]','2026-05-12 06:55:40','2026-05-12T06:55:40.453Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(652,'ExponentPushToken[2P_E08AFIP92xTfa45cphD]','2026-05-12 09:07:46','2026-09-13T04:17:08.756Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(652,'ExponentPushToken[2P_E08AFIP92xTfa45cphD]','2026-05-12 09:07:46','2026-09-27T04:44:27.019Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(653,'ExponentPushToken[tlg5ufE67eHC3gxecv7mtm]','2026-05-12 10:08:43','2026-05-12T10:08:43.814Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(654,'ExponentPushToken[UW1DTXAvySWsgSGMUbimkr]','2026-05-12 11:00:33','2026-05-13T10:25:02.440Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(657,'ExponentPushToken[r7X1f5DsMJ5anKj4G4_cop]','2026-05-12 15:14:34','2026-05-12T15:14:34.289Z'); @@ -8661,7 +9538,7 @@ INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VAL INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(754,'ExponentPushToken[nvae7AHfdfg_DcVnH7fhfQ]','2026-05-24 03:25:50','2026-05-24T03:25:50.565Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(755,'ExponentPushToken[txd_sLPEitKsBBMRGMVX0H]','2026-05-24 05:30:29','2026-05-26T00:54:01.198Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(758,'ExponentPushToken[ZbLY9THEH75QL3FKcUX0oG]','2026-05-24 08:02:06','2026-05-29T11:43:21.923Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(759,'ExponentPushToken[-SD3GHFN-iuZunwBn901JX]','2026-05-24 08:36:32','2026-08-15T13:08:45.781Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(759,'ExponentPushToken[-SD3GHFN-iuZunwBn901JX]','2026-05-24 08:36:32','2026-09-24T02:47:11.827Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(760,'ExponentPushToken[1Vdpk6CjVHW-OwSEJQ4LxX]','2026-05-24 09:36:42','2026-05-24T09:36:42.748Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(761,'ExponentPushToken[qbI0mGP1E5t74aaU4H9q5U]','2026-05-24 14:33:37','2026-05-24T14:33:46.368Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(762,'ExponentPushToken[WF9a4cHGmFf_HDqKEzJMLU]','2026-05-24 15:23:39','2026-05-24T15:23:39.784Z'); @@ -8671,7 +9548,7 @@ INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VAL INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(766,'ExponentPushToken[OYJNU2Hl_BHC8vNmnh5nIa]','2026-05-25 06:43:28','2026-05-26T08:27:57.920Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(767,'ExponentPushToken[F6G4jkAw_ZwRqlApJSq4E0]','2026-05-25 11:00:52','2026-08-01T18:07:34.109Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(768,'ExponentPushToken[nCwSQuK1Bv03SKTNN7kRoT]','2026-05-25 12:04:43','2026-05-25T12:04:43.946Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(769,'ExponentPushToken[jYkplwK20gKfd8iZ_3WAF5]','2026-05-26 04:08:58','2026-05-26T04:08:58.438Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(769,'ExponentPushToken[jYkplwK20gKfd8iZ_3WAF5]','2026-05-26 04:08:58','2026-09-26T22:11:30.264Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(770,'ExponentPushToken[PHkMLjLAvv7k4wKwFCYcyN]','2026-05-26 05:28:16','2026-06-04T04:23:53.177Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(771,'ExponentPushToken[7vtlQPPaay-CtRK2jgjD6V]','2026-05-26 06:34:20','2026-09-02T06:44:16.357Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(772,'ExponentPushToken[Jy4oMoEZZrGRHZF7jt4ixU]','2026-05-26 06:42:42','2026-06-08T07:36:32.329Z'); @@ -8691,7 +9568,7 @@ INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VAL INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(791,'ExponentPushToken[lTPOePLcy7y5tcsClay3qo]','2026-05-31 13:52:53','2026-05-31T13:52:52.875Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(792,'ExponentPushToken[K-fpz0FMTxyMnMQPok4ldZ]','2026-06-01 15:17:07','2026-06-06T08:27:39.704Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(793,'ExponentPushToken[hFUlPFOKMdAUgtDP7EtSzM]','2026-06-02 14:24:24','2026-08-25T05:04:23.011Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(794,'ExponentPushToken[XuhHiZGJGI1PW-brcKexy-]','2026-06-03 06:14:56','2026-07-14T15:45:01.879Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(794,'ExponentPushToken[XuhHiZGJGI1PW-brcKexy-]','2026-06-03 06:14:56','2026-09-18T08:35:23.785Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(795,'ExponentPushToken[l15MlvGBruWSMNXF5-lzoK]','2026-06-04 13:05:09','2026-06-04T13:05:09.763Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(797,'ExponentPushToken[hhlTNnLePVsnYb9YmD3n8O]','2026-06-05 14:22:36','2026-06-05T14:22:36.812Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(798,'ExponentPushToken[hhlTNnLePVsnYb9YmD3n8O]','2026-06-05 14:22:36','2026-06-05T14:22:36.810Z'); @@ -8706,7 +9583,7 @@ INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VAL INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(810,'ExponentPushToken[85y8IlIzPjYGcW81bwRfoW]','2026-06-09 15:27:36','2026-06-13T04:10:05.357Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(811,'ExponentPushToken[X8RA92IY6k5-DJj2EGbqlp]','2026-06-10 00:18:47','2026-06-10T00:18:47.333Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(812,'ExponentPushToken[ecaDvIJ0ObWVDKTYZGWTs7]','2026-06-10 12:23:46','2026-06-12T12:19:30.013Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(813,'ExponentPushToken[NGLnLrC1OVryTNC8ntwi8H]','2026-06-10 18:06:58','2026-07-30T12:01:33.066Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(813,'ExponentPushToken[NGLnLrC1OVryTNC8ntwi8H]','2026-06-10 18:06:58','2026-09-23T18:37:37.130Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(815,'ExponentPushToken[xQEcWfEifmL725rF43V0OF]','2026-06-11 04:47:17','2026-06-11T04:47:17.719Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(817,'ExponentPushToken[BKT6-dN4vPco97U-zXYCeV]','2026-06-13 08:19:57','2026-06-13T08:19:57.564Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(818,'ExponentPushToken[v-kYlUO8FksBDW7zIncwE3]','2026-06-13 11:59:11','2026-06-13T11:59:11.084Z'); @@ -8714,7 +9591,7 @@ INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VAL INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(820,'ExponentPushToken[AK5-CXFyOLLxYAdQNjV6cv]','2026-06-14 05:42:12','2026-06-14T05:42:12.193Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(821,'ExponentPushToken[wvikWIDk-e-72acDdsBGO3]','2026-06-14 07:34:56','2026-06-15T13:05:04.396Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(822,'ExponentPushToken[KwKyetESHcuDoqm5YemmrX]','2026-06-14 12:27:32','2026-06-15T13:57:55.259Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(823,'ExponentPushToken[LMxYHrLmmzdeRAy2UmqMh1]','2026-06-15 09:49:57','2026-06-24T14:33:14.093Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(823,'ExponentPushToken[LMxYHrLmmzdeRAy2UmqMh1]','2026-06-15 09:49:57','2026-09-26T14:22:45.433Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(825,'ExponentPushToken[HBwlJZM287z5ZLfTLoi_Bt]','2026-06-16 09:25:27','2026-07-11T03:03:53.569Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(826,'ExponentPushToken[AM7Wz2N8VJs-fBI1rP1OCx]','2026-06-17 07:06:41','2026-07-26T04:03:14.506Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(827,'ExponentPushToken[xGeISzENhrPipmNkbdKhwk]','2026-06-17 08:14:43','2026-09-08T08:32:52.811Z'); @@ -8722,7 +9599,7 @@ INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VAL INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(829,'ExponentPushToken[ckLki-IjucHGAbtsd_lXdG]','2026-06-18 05:37:21','2026-06-18T05:37:21.638Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(830,'ExponentPushToken[JHg9wtLQSAnMs3AemSBDTK]','2026-06-18 13:02:09','2026-06-18T13:02:09.243Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(831,'ExponentPushToken[G7EuG-A5DginKiuGtF-7LI]','2026-06-18 13:11:14','2026-06-18T13:11:14.262Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(832,'ExponentPushToken[SaHweRMLQeqW6bpIIYFQkD]','2026-06-18 14:17:53','2026-09-12T14:14:08.549Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(832,'ExponentPushToken[SaHweRMLQeqW6bpIIYFQkD]','2026-06-18 14:17:53','2026-09-19T10:44:27.375Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(833,'ExponentPushToken[xJovzkFwPq04aqPII8nUC_]','2026-06-18 16:06:00','2026-06-18T16:06:00.809Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(835,'ExponentPushToken[HboyMzA39OgFRRHMfNMkkq]','2026-06-19 05:55:31','2026-06-21T18:38:09.655Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(836,'ExponentPushToken[YWUApRND2O-s-FCEfiYv0f]','2026-06-19 11:24:42','2026-06-19T11:27:20.193Z'); @@ -8754,7 +9631,7 @@ INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VAL INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(868,'ExponentPushToken[qfnCqAM7Kt78X4kBHeiMbF]','2026-06-21 16:11:43','2026-06-21T16:11:43.088Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(869,'ExponentPushToken[mJf80sAQZqjtojfuBd9Dcw]','2026-06-21 16:14:55','2026-06-21T16:14:55.035Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(870,'ExponentPushToken[Zn-b2nE9NxKw3lMBHl2GWB]','2026-06-21 16:15:45','2026-07-09T14:50:42.262Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(871,'ExponentPushToken[yuqaXGMKkzxhaLjY10mmya]','2026-06-21 16:27:12','2026-06-21T16:27:12.242Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(871,'ExponentPushToken[yuqaXGMKkzxhaLjY10mmya]','2026-06-21 16:27:12','2026-09-14T14:29:09.506Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(872,'ExponentPushToken[zQ7BP4PcupkZMr_fK9r9WQ]','2026-06-21 16:35:49','2026-06-29T08:20:12.984Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(873,'ExponentPushToken[yUlsySK_vXb-SjUc4zSk7Z]','2026-06-21 16:38:43','2026-07-06T13:13:13.667Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(874,'ExponentPushToken[76mLiANnIMeCd2tATMrLdD]','2026-06-21 16:39:51','2026-07-13T12:44:41.948Z'); @@ -8770,7 +9647,7 @@ INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VAL INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(889,'ExponentPushToken[LwfR73Mbl5QHWUwzXKmdyK]','2026-06-21 17:53:09','2026-07-12T08:57:07.640Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(891,'ExponentPushToken[9jVs9mFNcyantbFh44lV0f]','2026-06-21 18:02:24','2026-08-06T15:49:00.287Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(892,'ExponentPushToken[Ldzc-2E8mAypnV-7KA_8Ot]','2026-06-21 18:16:05','2026-06-21T18:16:05.705Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(893,'ExponentPushToken[idQAK5LEn2GyFmFdC9tkm1]','2026-06-21 18:38:37','2026-06-21T18:38:36.991Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(893,'ExponentPushToken[idQAK5LEn2GyFmFdC9tkm1]','2026-06-21 18:38:37','2026-09-16T20:32:55.325Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(895,'ExponentPushToken[G6_M5bGst7ZtmXljMwlGf-]','2026-06-21 18:45:10','2026-06-24T14:40:21.338Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(896,'ExponentPushToken[enHZVOOON1yeHfsLTIJuRB]','2026-06-21 19:10:20','2026-07-07T10:38:38.680Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(897,'ExponentPushToken[UQnBpyMXbR38X7NDu2Oh6b]','2026-06-21 19:24:58','2026-06-21T19:34:14.944Z'); @@ -8832,7 +9709,7 @@ INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VAL INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(968,'ExponentPushToken[gU2wYeCP2Pi0VxunaToVGX]','2026-06-22 15:39:10','2026-06-22T15:39:10.325Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(969,'ExponentPushToken[Qr8IF9BFencC7_1_ECSycT]','2026-06-22 16:04:08','2026-06-22T16:04:08.685Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(970,'ExponentPushToken[5mhBQeIBuqizQcuwd7fQKH]','2026-06-22 17:19:49','2026-06-22T17:19:49.027Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(971,'ExponentPushToken[F3HueZPoSB-ZlcbYZI89Vy]','2026-06-22 17:33:47','2026-08-31T16:14:19.761Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(971,'ExponentPushToken[F3HueZPoSB-ZlcbYZI89Vy]','2026-06-22 17:33:47','2026-09-23T16:41:04.433Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(972,'ExponentPushToken[FNayu3KFNK85mC3EMlZn7C]','2026-06-22 17:45:25','2026-06-27T17:30:05.589Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(973,'ExponentPushToken[Z65f61JUWra0QcpQ2moeAH]','2026-06-22 18:40:31','2026-08-15T08:24:16.626Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(974,'ExponentPushToken[1D0ANIGkRJx7QRurVcpxaj]','2026-06-22 19:04:15','2026-08-23T15:09:33.788Z'); @@ -8846,14 +9723,13 @@ INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VAL INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(984,'ExponentPushToken[5RSOMuCI2LBtBBbUMvgOk3]','2026-06-23 05:34:38','2026-06-23T05:45:09.370Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(985,'ExponentPushToken[Y5LQBvObmi1iDWU0Pbh6Xm]','2026-06-23 06:26:51','2026-06-23T06:26:51.944Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(987,'ExponentPushToken[Vn9JKiO0BR_JUFzatteK3q]','2026-06-23 08:26:10','2026-06-23T08:26:10.791Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(989,'ExponentPushToken[Zx-QUbFXu-Kt4XasJVNfCB]','2026-06-23 10:28:35','2026-08-19T04:37:12.651Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(991,'ExponentPushToken[5VSkZlA2K6mUovl_BvyCOm]','2026-06-23 13:19:16','2026-06-23T13:19:16.356Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(992,'ExponentPushToken[n-D21mDGJiD-jzHTrcvDq2]','2026-06-23 13:37:34','2026-06-23T13:37:34.811Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(993,'ExponentPushToken[2uF_xBNwNzajI_pn2lOkKJ]','2026-06-23 13:52:58','2026-06-23T13:52:58.456Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(994,'ExponentPushToken[ufvEW-JbkQ1TCVWiktLTyj]','2026-06-23 14:10:22','2026-06-23T14:10:22.798Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(995,'ExponentPushToken[7EJFnrMjvTUYDkes4mZe_m]','2026-06-23 14:34:11','2026-06-28T12:50:01.505Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(996,'ExponentPushToken[IxuLbCOsyZmCzHVkyTV1aG]','2026-06-23 15:10:40','2026-08-06T09:08:30.568Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(997,'ExponentPushToken[UlDofyN6B0lOjYh2RT5Ozh]','2026-06-23 15:11:19','2026-07-11T09:55:33.007Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(997,'ExponentPushToken[UlDofyN6B0lOjYh2RT5Ozh]','2026-06-23 15:11:19','2026-09-27T07:19:31.512Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1000,'ExponentPushToken[2-SlYhO2xREtc3QG0uZnks]','2026-06-24 07:37:19','2026-06-24T07:37:19.756Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1001,'ExponentPushToken[vFR0FWLzvuPn0fmPtWluSk]','2026-06-24 08:35:13','2026-06-24T08:35:13.830Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1002,'ExponentPushToken[LHjzsCJlPZm297HWVQ82Zz]','2026-06-24 08:44:38','2026-06-24T08:44:38.191Z'); @@ -8870,12 +9746,12 @@ INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VAL INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1016,'ExponentPushToken[9fc-ctFRfEczpVVTSOqv3A]','2026-06-25 11:44:40','2026-06-26T03:41:40.401Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1019,'ExponentPushToken[_LIJkoEFnOIwkfMk9DvKvQ]','2026-06-25 12:58:19','2026-06-25T12:58:19.065Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1020,'ExponentPushToken[Tavh78I32KqqWxCGEeFCCw]','2026-06-25 15:28:51','2026-06-25T15:28:51.731Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1023,'ExponentPushToken[qODQUBImorSsKQ_72ZMA_i]','2026-06-25 17:18:20','2026-09-12T04:10:59.502Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1023,'ExponentPushToken[qODQUBImorSsKQ_72ZMA_i]','2026-06-25 17:18:20','2026-09-15T10:33:05.241Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1024,'ExponentPushToken[mw09F7OcrBrcE3iqZlNVv0]','2026-06-25 17:41:08','2026-06-25T17:41:08.032Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1025,'ExponentPushToken[AlRzMZEe43cWh48ooNrGiL]','2026-06-25 18:35:27','2026-06-25T18:40:05.326Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1026,'ExponentPushToken[N_I7v8Kb-nM79ke9tj0H9Q]','2026-06-26 05:02:33','2026-06-26T05:02:33.759Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1027,'ExponentPushToken[lQgnhjHTQfFW1YOAa3R7rj]','2026-06-26 05:14:17','2026-06-26T05:14:16.923Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1028,'ExponentPushToken[-8eWelEXE-BqokgmxnJH_t]','2026-06-26 06:15:37','2026-07-17T07:13:26.983Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1028,'ExponentPushToken[-8eWelEXE-BqokgmxnJH_t]','2026-06-26 06:15:37','2026-09-16T15:57:23.110Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1029,'ExponentPushToken[YnoQEzKT0MAUr6NYQNtYiZ]','2026-06-26 06:52:01','2026-06-30T05:24:38.296Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1030,'ExponentPushToken[7qK1OhHsZSeRaKAClxED3Q]','2026-06-26 07:14:22','2026-06-26T07:14:22.185Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1031,'ExponentPushToken[yJeHm8L4myaX0yax7r02OC]','2026-06-26 08:41:44','2026-06-26T08:41:44.853Z'); @@ -8900,8 +9776,8 @@ INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VAL INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1054,'ExponentPushToken[HpO746JEH7H-YxYXEGO6VV]','2026-06-28 02:20:25','2026-06-28T02:20:25.603Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1055,'ExponentPushToken[jAoonuKmEjtyByMHASr2fZ]','2026-06-28 04:35:19','2026-07-28T09:21:33.861Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1056,'ExponentPushToken[6hVxf6PTMqmEduYZGNmSwP]','2026-06-28 05:09:59','2026-06-28T05:09:59.211Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1057,'ExponentPushToken[byaEIvCk4wU-2L7-x2L6h2]','2026-06-28 06:30:02','2026-07-16T04:38:33.392Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1058,'ExponentPushToken[KLD8ymKhJPW9iWqUXq0U7Q]','2026-06-28 06:52:43','2026-08-20T09:12:50.977Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1057,'ExponentPushToken[byaEIvCk4wU-2L7-x2L6h2]','2026-06-28 06:30:02','2026-09-25T07:04:37.543Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1058,'ExponentPushToken[KLD8ymKhJPW9iWqUXq0U7Q]','2026-06-28 06:52:43','2026-09-27T12:21:17.935Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1059,'ExponentPushToken[kY77agOlTaYA3KD3QYblk-]','2026-06-28 06:56:15','2026-06-28T07:20:00.224Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1061,'ExponentPushToken[4Oo0YgEFDQfJU3vqwKYBKa]','2026-06-28 12:44:30','2026-06-28T12:44:30.550Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1062,'ExponentPushToken[FQ_2QcOWixOU863W2uTrME]','2026-06-28 12:57:52','2026-06-28T12:57:52.206Z'); @@ -8911,8 +9787,8 @@ INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VAL INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1068,'ExponentPushToken[sooogBMjgCZPMh7KYXXA-j]','2026-06-29 11:57:14','2026-06-29T11:57:14.375Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1069,'ExponentPushToken[-Lat3AAwf8kwKja8att2zs]','2026-06-29 15:02:30','2026-06-29T16:06:44.792Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1070,'ExponentPushToken[5tM_yRAq3cYdeWnOHkWBmi]','2026-06-29 16:19:23','2026-06-29T16:19:23.608Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1071,'ExponentPushToken[NRofjIPTegyXCn7HaUiatf]','2026-06-29 16:35:01','2026-09-09T21:14:46.677Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1072,'ExponentPushToken[2LFaakIoG3vOUoI5t9gwEf]','2026-06-30 04:09:22','2026-07-09T08:12:18.666Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1071,'ExponentPushToken[NRofjIPTegyXCn7HaUiatf]','2026-06-29 16:35:01','2026-09-16T07:40:10.395Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1072,'ExponentPushToken[2LFaakIoG3vOUoI5t9gwEf]','2026-06-30 04:09:22','2026-09-15T02:43:08.159Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1073,'ExponentPushToken[57qCv7N14Fm1CufI_mdbBN]','2026-06-30 09:33:03','2026-06-30T09:33:03.911Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1074,'ExponentPushToken[6H6oqkDMJWM3sESK8HsnRf]','2026-06-30 10:15:30','2026-06-30T10:15:30.886Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1075,'ExponentPushToken[8etXQuJ79BW6mVYizaj-yf]','2026-06-30 10:33:20','2026-06-30T14:50:58.502Z'); @@ -8923,9 +9799,9 @@ INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VAL INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1081,'ExponentPushToken[QIlM_0LA2h1jxA7ZeEVrEs]','2026-07-01 06:33:38','2026-07-26T15:33:18.775Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1082,'ExponentPushToken[9UP6OjOaTilwXwcy8oaTZi]','2026-07-01 11:36:12','2026-07-01T11:36:12.759Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1084,'ExponentPushToken[TfDTakIXUekxQA_7geGTqK]','2026-07-01 17:49:45','2026-07-01T17:49:45.451Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1085,'ExponentPushToken[u8_M4aPRppcYt8YmApI1wv]','2026-07-01 18:01:21','2026-07-19T02:45:57.834Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1085,'ExponentPushToken[u8_M4aPRppcYt8YmApI1wv]','2026-07-01 18:01:21','2026-09-14T09:02:57.802Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1086,'ExponentPushToken[m9KcRiMTyvEofW8H7WRrV6]','2026-07-01 18:47:16','2026-07-01T18:47:16.791Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1087,'ExponentPushToken[bWvURONithx-8260yx9gYO]','2026-07-01 22:57:10','2026-08-31T09:44:14.348Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1087,'ExponentPushToken[bWvURONithx-8260yx9gYO]','2026-07-01 22:57:10','2026-09-18T01:41:20.133Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1089,'ExponentPushToken[oOi5xXG5KNKnui4651rGCw]','2026-07-02 07:37:11','2026-07-02T07:37:11.512Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1090,'ExponentPushToken[Sr2zrzFpFVMMNc-zD83Zmc]','2026-07-02 09:02:55','2026-07-02T09:02:55.775Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1091,'ExponentPushToken[6_tqqODG9dg1CTqyo-QE8c]','2026-07-02 14:57:54','2026-07-02T14:57:54.153Z'); @@ -8954,7 +9830,7 @@ INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VAL INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1118,'ExponentPushToken[iUT0D6LFpXi71mAnqOQDd_]','2026-07-07 14:24:08','2026-07-07T14:24:08.886Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1119,'ExponentPushToken[1EcQuAAg2ZFfp5oZNRAA2n]','2026-07-07 14:37:44','2026-07-07T14:37:44.020Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1120,'ExponentPushToken[J-NPonMMXWXAajTocXsSDy]','2026-07-08 04:43:24','2026-07-12T17:02:30.272Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1121,'ExponentPushToken[nZjhjRFgxQyStzudkKK44-]','2026-07-08 08:44:37','2026-09-04T06:17:58.513Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1121,'ExponentPushToken[nZjhjRFgxQyStzudkKK44-]','2026-07-08 08:44:37','2026-09-26T14:08:03.300Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1122,'ExponentPushToken[Gmmv-4LJ4HVJpwFuWb3-9y]','2026-07-08 19:30:32','2026-07-09T16:34:20.489Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1123,'ExponentPushToken[U9gHvGGFa7wGkKjITJLYpK]','2026-07-09 04:41:02','2026-09-10T08:38:52.843Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1124,'ExponentPushToken[igmC8WIEnkK2g4Ym9fuCTG]','2026-07-09 05:51:39','2026-07-09T05:51:39.233Z'); @@ -8994,8 +9870,7 @@ INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VAL INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1162,'ExponentPushToken[jihtlvHPLDo--RANOIuHPq]','2026-07-20 06:43:57','2026-07-20T06:43:58.616Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1163,'ExponentPushToken[8XUWs_C1B6yTr9RdqV2V23]','2026-07-20 12:58:39','2026-07-21T08:57:39.725Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1164,'ExponentPushToken[MJ4NxJAWhIbLEn0AUrPjx5]','2026-07-20 18:57:25','2026-07-20T18:57:25.816Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1165,'ExponentPushToken[mmfhKAF4F2_C2gmpJhtgDu]','2026-07-22 07:53:12','2026-09-13T13:07:31.684Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1166,'ExponentPushToken[Gh-IlZIq5y0VObkkHl5Kw6]','2026-07-22 11:34:50','2026-09-02T06:58:10.369Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1165,'ExponentPushToken[mmfhKAF4F2_C2gmpJhtgDu]','2026-07-22 07:53:12','2026-09-14T08:15:12.006Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1167,'ExponentPushToken[epmV9OJKGcjPDqCrYjz3Yn]','2026-07-22 14:58:03','2026-07-28T04:14:19.883Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1168,'ExponentPushToken[xvUGgiMtus0D7Swato4eaU]','2026-07-22 15:12:01','2026-07-31T02:25:51.725Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1169,'ExponentPushToken[xJ-NaZPsglU-qwONjJMiet]','2026-07-22 17:02:55','2026-07-22T17:02:55.505Z'); @@ -9009,8 +9884,8 @@ INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VAL INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1178,'ExponentPushToken[42JUDdMfJYPtvSkmXdFOTp]','2026-07-26 05:22:26','2026-07-26T05:25:25.521Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1179,'ExponentPushToken[2J31eoI1PPNMv2apQR5VCM]','2026-07-26 10:38:54','2026-07-26T10:40:10.826Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1180,'ExponentPushToken[q88IT6JJ915qkJMCTRsbi9]','2026-07-26 13:09:31','2026-09-04T06:01:12.838Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1181,'ExponentPushToken[85NuFcCeD0-Yq6R-b-8cGL]','2026-07-26 14:56:51','2026-07-26T14:56:51.975Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1182,'ExponentPushToken[6JwiFiOXGok4HaHpHc351D]','2026-07-26 14:56:53','2026-09-12T22:16:31.571Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1181,'ExponentPushToken[85NuFcCeD0-Yq6R-b-8cGL]','2026-07-26 14:56:51','2026-09-16T14:39:38.318Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1182,'ExponentPushToken[6JwiFiOXGok4HaHpHc351D]','2026-07-26 14:56:53','2026-09-16T14:38:46.611Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1183,'ExponentPushToken[si_ryMMXt9aZNSNjjbPnzh]','2026-07-27 08:54:09','2026-07-27T08:54:09.038Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1184,'ExponentPushToken[fBcjLsNROW8VmiB1nDClxG]','2026-07-27 11:43:29','2026-07-29T14:08:10.491Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1185,'ExponentPushToken[-qmqa_PQvfk8uLQd67c0lV]','2026-07-27 15:25:41','2026-07-30T09:08:44.282Z'); @@ -9031,7 +9906,7 @@ INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VAL INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1201,'ExponentPushToken[qWt7_0GZZo2qDxuX0llKVC]','2026-08-01 16:46:11','2026-08-01T16:46:11.944Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1202,'ExponentPushToken[7xuq_-HIFgqeOki2fA6Foc]','2026-08-02 06:21:22','2026-08-02T14:57:58.549Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1204,'ExponentPushToken[Stvw5UK4oB8JgvT60eog7_]','2026-08-02 10:18:17','2026-08-02T10:18:17.429Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1205,'ExponentPushToken[wnJKOpDdTuFJNVYQM5vRpI]','2026-08-02 12:20:05','2026-08-23T09:39:51.766Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1205,'ExponentPushToken[wnJKOpDdTuFJNVYQM5vRpI]','2026-08-02 12:20:05','2026-09-23T06:35:11.564Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1206,'ExponentPushToken[DsSzdhIpzFr5pulX0aVdF3]','2026-08-03 07:42:42','2026-08-03T07:42:42.260Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1207,'ExponentPushToken[ezTV8rIY7mQpSv7MuH6i9q]','2026-08-03 17:19:12','2026-08-03T17:19:12.178Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1208,'ExponentPushToken[kydE10ILZwmENZvzyNCmUn]','2026-08-04 06:30:26','2026-08-04T06:34:59.082Z'); @@ -9042,7 +9917,7 @@ INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VAL INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1213,'ExponentPushToken[CdQuRNNxtn3ILZ6p1HFTmW]','2026-08-05 12:01:54','2026-08-07T04:48:22.107Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1214,'ExponentPushToken[46wXn2LG1dRKmdIlk3LEOK]','2026-08-06 05:30:34','2026-08-06T05:36:47.554Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1215,'ExponentPushToken[NFeUlxDCYAAsgIJ6Txxa2G]','2026-08-06 08:08:06','2026-08-06T08:08:06.099Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1216,'ExponentPushToken[8SsPa_A8lLtOfJF0wS4hA8]','2026-08-07 03:06:51','2026-08-07T03:06:51.217Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1216,'ExponentPushToken[8SsPa_A8lLtOfJF0wS4hA8]','2026-08-07 03:06:51','2026-09-22T09:47:12.152Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1217,'ExponentPushToken[wjN9TYJYdlCYGXEvS9ykTk]','2026-08-07 07:56:58','2026-08-07T19:21:34.682Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1218,'ExponentPushToken[N_YwqzC11pUF-6MTa9jK9s]','2026-08-07 14:29:39','2026-08-10T11:28:09.976Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1219,'ExponentPushToken[eOjSguK6ZSh0MrSOcPNZRI]','2026-08-08 05:35:04','2026-08-08T05:35:04.056Z'); @@ -9063,14 +9938,13 @@ INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VAL INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1235,'ExponentPushToken[BLkwzNKiE1UkhOMuKYseeo]','2026-08-14 15:26:45','2026-08-14T15:26:45.246Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1237,'ExponentPushToken[s-kKm_OV1QbQEPjK5vRt-z]','2026-08-15 05:34:02','2026-08-19T16:36:03.375Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1238,'ExponentPushToken[ZKEa3cMCSeKgVS-UpOgqst]','2026-08-15 08:18:12','2026-08-15T09:26:23.591Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1239,'ExponentPushToken[QubHqLMYz8UGVlRVnodNYH]','2026-08-15 09:04:06','2026-08-26T12:43:45.432Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1239,'ExponentPushToken[QubHqLMYz8UGVlRVnodNYH]','2026-08-15 09:04:06','2026-09-20T04:22:32.187Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1240,'ExponentPushToken[9ilW2wEPxBYY5NWvYJfGWi]','2026-08-15 09:22:14','2026-08-16T16:40:50.007Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1242,'ExponentPushToken[dEsm_UBPnUCOmq_gtLapL2]','2026-08-15 13:14:15','2026-08-15T13:14:15.681Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1248,'ExponentPushToken[slzGLSDE4kWxRSegJ4a2DX]','2026-08-15 18:10:13','2026-08-15T18:10:13.701Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1249,'ExponentPushToken[-71COICnMbHpKZD9wucPO1]','2026-08-16 06:22:50','2026-08-16T06:22:50.239Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1252,'ExponentPushToken[DN3AShCb0_73Nhp3i7jrjV]','2026-08-16 13:04:14','2026-08-16T13:04:14.701Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1253,'ExponentPushToken[CxJuifGWZ_lzGezVWMzshF]','2026-08-16 13:09:38','2026-08-28T08:58:42.213Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1255,'ExponentPushToken[5CzesiC5I-3Qs5F0jCYAnS]','2026-08-17 06:09:58','2026-08-23T11:28:41.299Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1258,'ExponentPushToken[P6QXRSLm_aixcMSpRb0ccM]','2026-08-17 11:12:12','2026-08-17T11:12:12.707Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1259,'ExponentPushToken[OUHHZDAcdmpUwkHVo6sX1T]','2026-08-18 06:24:11','2026-09-11T15:47:27.462Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1261,'ExponentPushToken[6dpCTAK7Zbaar7mx8KZEQG]','2026-08-18 10:12:50','2026-08-18T10:12:50.211Z'); @@ -9084,28 +9958,25 @@ INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VAL INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1277,'ExponentPushToken[OU8A5ECPCLa2XZ-zjoTqyD]','2026-08-20 16:08:27','2026-08-20T16:09:02.495Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1279,'ExponentPushToken[w4KTsLKnnp8SbURdl5-Q6x]','2026-08-21 06:15:45','2026-08-21T06:17:35.854Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1280,'ExponentPushToken[V-z0e8LVq3YU6pShKJvknE]','2026-08-21 09:29:20','2026-08-21T09:29:20.159Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1281,'ExponentPushToken[y3RIt_PxMxNxFKRoJoTWXO]','2026-08-21 13:23:06','2026-09-09T04:22:07.448Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1282,'ExponentPushToken[PbLJJ1Lqf7UBNKmz_SVJF7]','2026-08-21 13:47:45','2026-08-23T06:13:02.706Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1284,'ExponentPushToken[urXu7YJ1McDAhgY1bNbI0y]','2026-08-22 03:37:53','2026-08-22T03:37:53.505Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1287,'ExponentPushToken[Q6fBNXEvr9jidD5bAL6eIh]','2026-08-23 21:29:59','2026-08-23T21:29:59.121Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1288,'ExponentPushToken[ccQc_uEZmHOaLHDUKzSd_E]','2026-08-24 13:33:42','2026-08-26T15:42:54.789Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1289,'ExponentPushToken[BwD4IWC1zCruWA2ZZcRZ9n]','2026-08-24 16:15:45','2026-09-13T06:37:10.450Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1290,'ExponentPushToken[NBL5-AFzNx2_wxeZOKSDKw]','2026-08-24 16:21:13','2026-08-24T16:21:14.082Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1292,'ExponentPushToken[BNSHMfHe9MQb-BxS_g7x74]','2026-08-25 14:59:50','2026-09-03T07:24:42.065Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1294,'ExponentPushToken[DPeHKsBNbTJ74b4C69d_1e]','2026-08-26 08:02:53','2026-08-31T12:04:34.124Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1294,'ExponentPushToken[DPeHKsBNbTJ74b4C69d_1e]','2026-08-26 08:02:53','2026-09-24T07:49:56.757Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1295,'ExponentPushToken[qbOBFrCA4SODinKxsp1-Nj]','2026-08-26 08:47:41','2026-09-11T05:00:46.829Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1296,'ExponentPushToken[A4oHbyHKndNX6Da1Q4pj5e]','2026-08-26 12:03:21','2026-08-26T12:03:21.728Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1297,'ExponentPushToken[5Y0eOLHP-WHTdPIhswnzaw]','2026-08-27 06:00:02','2026-09-04T02:26:16.228Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1298,'ExponentPushToken[RTNpR_HisFCqvD3_zk7w4o]','2026-08-27 06:17:04','2026-09-07T19:29:24.109Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1299,'ExponentPushToken[cjw6scF5KSdD4hJPKH2gNC]','2026-08-27 07:19:10','2026-09-13T10:07:05.914Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1300,'ExponentPushToken[IvtP0cIXJYn4PaBvMHrUr3]','2026-08-29 03:31:36','2026-09-04T04:11:04.562Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1301,'ExponentPushToken[ls20qAMSvO4-JnwzeUbM9n]','2026-08-29 05:28:08','2026-08-29T05:28:08.815Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1302,'ExponentPushToken[H5Bew6NCzG6klMANQjGN-T]','2026-08-29 05:39:49','2026-08-29T05:39:49.472Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1303,'ExponentPushToken[8lILUpNt7-tP7Uwq4-XGym]','2026-08-29 11:10:52','2026-09-05T06:03:38.243Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1303,'ExponentPushToken[8lILUpNt7-tP7Uwq4-XGym]','2026-08-29 11:10:52','2026-09-26T16:01:20.482Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1304,'ExponentPushToken[Lyp_JhEp-mzptQkxT2gV5j]','2026-08-29 11:50:51','2026-08-30T09:50:39.950Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1305,'ExponentPushToken[3eC5HtDRud8miUrwl3zt9v]','2026-08-29 20:21:28','2026-09-05T20:59:56.878Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1306,'ExponentPushToken[MgRbuDPi47m1ouclZ6ZgEM]','2026-08-30 02:23:32','2026-09-02T06:10:28.606Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1307,'ExponentPushToken[-aLgOKFAEjqh-r3ZliNEtV]','2026-08-30 04:21:55','2026-08-30T04:21:55.753Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1306,'ExponentPushToken[MgRbuDPi47m1ouclZ6ZgEM]','2026-08-30 02:23:32','2026-09-14T04:47:04.236Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1307,'ExponentPushToken[-aLgOKFAEjqh-r3ZliNEtV]','2026-08-30 04:21:55','2026-09-24T13:41:51.301Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1309,'ExponentPushToken[gsdb2LDJioigXoQ9EsHXji]','2026-08-30 05:58:16','2026-09-10T14:46:10.096Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1310,'ExponentPushToken[kgK7JkK4V5e95uxmeLb6MG]','2026-08-30 08:28:46','2026-08-30T08:28:46.519Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1311,'ExponentPushToken[21OnXXKfZ9ZeKXp8EDt0NA]','2026-08-30 08:55:27','2026-08-30T08:55:27.703Z'); @@ -9118,13 +9989,12 @@ INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VAL INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1321,'ExponentPushToken[Z9CZXEK7YJHkZexvhbYVdk]','2026-09-01 17:15:39','2026-09-01T17:15:39.308Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1322,'ExponentPushToken[ItPKPxNRBNd2liLkGNq3Tx]','2026-09-02 04:04:14','2026-09-02T04:04:14.434Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1323,'ExponentPushToken[xmBUgDCOvP_JuBpgQ8YNlx]','2026-09-02 04:44:44','2026-09-02T11:19:08.794Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1324,'ExponentPushToken[B5qRo4POujOXM2QRzthRHj]','2026-09-03 01:12:42','2026-09-03T01:12:42.969Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1325,'ExponentPushToken[ycucWsL8Ci-AWWKiL6Na6R]','2026-09-03 02:04:35','2026-09-03T02:04:35.965Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1324,'ExponentPushToken[B5qRo4POujOXM2QRzthRHj]','2026-09-03 01:12:42','2026-09-20T08:37:25.252Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1325,'ExponentPushToken[ycucWsL8Ci-AWWKiL6Na6R]','2026-09-03 02:04:35','2026-09-14T15:38:44.351Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1327,'ExponentPushToken[cHpUmzBbZL6-KU8Dr_xtCp]','2026-09-04 07:42:16','2026-09-04T07:42:16.796Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1328,'ExponentPushToken[vhpy5pPKQueoVuwbRiToNV]','2026-09-04 07:47:55','2026-09-04T07:47:55.700Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1329,'ExponentPushToken[HQs9cFH3Zfxfz_3OeZRK_w]','2026-09-04 16:13:43','2026-09-04T16:13:43.126Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1329,'ExponentPushToken[HQs9cFH3Zfxfz_3OeZRK_w]','2026-09-04 16:13:43','2026-09-26T12:16:27.932Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1330,'ExponentPushToken[u6aSu_GqF7bplal-AQooA7]','2026-09-06 02:59:16','2026-09-06T03:01:18.949Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1331,'ExponentPushToken[4MaEIUHLXJTeIUk5Tw2Bre]','2026-09-06 05:16:50','2026-09-08T07:28:48.552Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1332,'ExponentPushToken[zx00cdGZ6hisy45jWX364k]','2026-09-06 13:41:58','2026-09-06T13:41:58.040Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1333,'ExponentPushToken[FdTYqNI6gbhIKwvgoMOR1N]','2026-09-07 06:38:58','2026-09-07T06:40:44.146Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1334,'ExponentPushToken[FLuM6QO0FR0E8hFcLhnLTL]','2026-09-07 11:16:55','2026-09-08T02:39:02.738Z'); @@ -9134,100 +10004,98 @@ INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VAL INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1338,'ExponentPushToken[nMe8DtGj4Ey64h5FD6YriH]','2026-09-10 18:11:57','2026-09-10T18:11:57.109Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1340,'ExponentPushToken[H8Cz3gPE9D-KI-m5ycyz7A]','2026-09-11 04:19:38','2026-09-11T04:19:38.105Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1341,'ExponentPushToken[19z_qdDL2T8OrdMDstTzt-]','2026-09-11 05:05:11','2026-09-13T10:23:46.294Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1342,'ExponentPushToken[__M9CLEVj_j9IpU3AsUdDC]','2026-09-11 06:11:48','2026-09-11T06:13:25.924Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1343,'ExponentPushToken[xEq0quPfuUjiHiFI0B7lsT]','2026-09-11 12:35:13','2026-09-11T12:35:13.558Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1343,'ExponentPushToken[xEq0quPfuUjiHiFI0B7lsT]','2026-09-11 12:35:13','2026-09-17T12:12:24.514Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1344,'ExponentPushToken[5JtaRmFidSO-xQTmIhOP6m]','2026-09-11 12:35:15','2026-09-11T12:35:15.702Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1345,'ExponentPushToken[zL9a70BEFVXcaE9hEvXzRC]','2026-09-11 12:35:46','2026-09-11T12:35:46.218Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1345,'ExponentPushToken[zL9a70BEFVXcaE9hEvXzRC]','2026-09-11 12:35:46','2026-09-26T03:59:07.701Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1346,'ExponentPushToken[nqvskgMrGFA7VfceRZVE0X]','2026-09-11 12:36:17','2026-09-11T12:36:17.047Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1348,'ExponentPushToken[8P4BF3CsOsDj4OhOONgK04]','2026-09-11 12:36:53','2026-09-11T12:36:53.939Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1349,'ExponentPushToken[Mg5lqCHKByml5wP2t9cPlV]','2026-09-11 12:39:12','2026-09-11T12:39:12.321Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1349,'ExponentPushToken[Mg5lqCHKByml5wP2t9cPlV]','2026-09-11 12:39:12','2026-09-17T15:44:08.149Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1351,'ExponentPushToken[wDpTLUFpiHwPF2KFGZUyXA]','2026-09-11 12:40:31','2026-09-11T12:40:31.235Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1352,'ExponentPushToken[-vntmcJFeDdBNtowEzL4gU]','2026-09-11 12:41:18','2026-09-11T12:48:13.715Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1353,'ExponentPushToken[qRnjGDNEwN4xn6M3hOR6ac]','2026-09-11 12:41:24','2026-09-11T12:41:24.200Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1355,'ExponentPushToken[XRCxiDJV5gJnVLHtdJuRKb]','2026-09-11 12:42:03','2026-09-11T12:42:03.414Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1355,'ExponentPushToken[XRCxiDJV5gJnVLHtdJuRKb]','2026-09-11 12:42:03','2026-09-20T06:41:41.902Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1359,'ExponentPushToken[-NRZSWD5MrRKt7YBqkFwZp]','2026-09-11 12:43:15','2026-09-11T12:43:15.151Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1360,'ExponentPushToken[_od99gDNf1l7L0mMBcLMr9]','2026-09-11 12:44:14','2026-09-11T12:44:14.499Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1361,'ExponentPushToken[u7SkaLCfSkPriMnRlJyvgJ]','2026-09-11 12:45:10','2026-09-11T15:59:56.319Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1362,'ExponentPushToken[ls8T8wO7ifQ7ZUxKqWh4M5]','2026-09-11 12:45:40','2026-09-11T12:45:40.795Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1365,'ExponentPushToken[FeXGW-JtZ1pQ3jl7PI5FuG]','2026-09-11 12:46:24','2026-09-13T12:33:39.558Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1362,'ExponentPushToken[ls8T8wO7ifQ7ZUxKqWh4M5]','2026-09-11 12:45:40','2026-09-26T03:56:08.146Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1365,'ExponentPushToken[FeXGW-JtZ1pQ3jl7PI5FuG]','2026-09-11 12:46:24','2026-09-23T02:44:00.894Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1368,'ExponentPushToken[Z1ylEmKoQEj5YySxD1qx4_]','2026-09-11 12:46:53','2026-09-11T12:46:53.782Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1370,'ExponentPushToken[teu17aApQM5qXeVdqWSjs-]','2026-09-11 12:48:09','2026-09-11T12:48:09.684Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1371,'ExponentPushToken[RBbX04HviUEKWY6aFUf5m5]','2026-09-11 12:49:04','2026-09-11T12:49:03.991Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1372,'ExponentPushToken[PWUZHZD8AuQQEIaIbZtkvt]','2026-09-11 12:49:06','2026-09-11T12:49:06.157Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1373,'ExponentPushToken[TT0Gt1MuNs2iaeCKrmeP15]','2026-09-11 12:51:05','2026-09-11T12:51:05.425Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1374,'ExponentPushToken[zlc67eF08bbBYv36Yh8s0T]','2026-09-11 12:51:31','2026-09-12T10:06:27.524Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1374,'ExponentPushToken[zlc67eF08bbBYv36Yh8s0T]','2026-09-11 12:51:31','2026-09-25T15:27:29.099Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1375,'ExponentPushToken[xRteO-Cmw6N_Cw-Gp2VD3t]','2026-09-11 12:51:40','2026-09-11T12:51:40.472Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1376,'ExponentPushToken[iAm9ynJXeDPTUVWCzikxON]','2026-09-11 12:52:04','2026-09-11T12:52:04.885Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1377,'ExponentPushToken[oMrcVLErpNoiSbuCLJ7CTB]','2026-09-11 12:53:05','2026-09-11T12:53:05.193Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1378,'ExponentPushToken[h7qVkEMZ1EBu4wnKy7DCkx]','2026-09-11 12:53:50','2026-09-11T12:53:50.904Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1379,'ExponentPushToken[bMLqOgD7zMEDuiCJ1mFF1L]','2026-09-11 12:54:09','2026-09-11T13:30:48.324Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1380,'ExponentPushToken[1QEJAYOEIx2OnZZaL6s4n_]','2026-09-11 12:54:31','2026-09-12T05:10:32.205Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1379,'ExponentPushToken[bMLqOgD7zMEDuiCJ1mFF1L]','2026-09-11 12:54:09','2026-09-18T11:10:51.272Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1380,'ExponentPushToken[1QEJAYOEIx2OnZZaL6s4n_]','2026-09-11 12:54:31','2026-09-26T02:58:14.040Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1381,'ExponentPushToken[gCJILRIYRxDP2X0Q34qoFJ]','2026-09-11 12:55:36','2026-09-11T12:55:36.851Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1384,'ExponentPushToken[GA3_q1NCp3sbUkkoX3vY21]','2026-09-11 12:58:26','2026-09-12T11:51:57.950Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1386,'ExponentPushToken[l-cO32BqsejKjr20jCoeZC]','2026-09-11 12:58:47','2026-09-11T12:58:47.727Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1387,'ExponentPushToken[VEkjU8J_EX_srWlNmi9lOC]','2026-09-11 12:58:52','2026-09-11T12:58:52.162Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1390,'ExponentPushToken[0vOWXjB_uaLCvX_mEuRTur]','2026-09-11 13:01:17','2026-09-11T13:01:17.033Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1393,'ExponentPushToken[FtWIH9MapdEBGPUbNYkDxM]','2026-09-11 13:02:02','2026-09-11T13:02:02.974Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1394,'ExponentPushToken[6oUP_SOmGpha-WGXUfHp5o]','2026-09-11 13:02:46','2026-09-11T13:02:46.711Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1394,'ExponentPushToken[6oUP_SOmGpha-WGXUfHp5o]','2026-09-11 13:02:46','2026-09-19T09:06:32.476Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1395,'ExponentPushToken[m66bDkPBtCOI62aclK5vj9]','2026-09-11 13:03:44','2026-09-11T13:03:44.002Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1396,'ExponentPushToken[HieriIOnnNvGiO3n86wqnY]','2026-09-11 13:03:47','2026-09-13T07:10:39.514Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1396,'ExponentPushToken[HieriIOnnNvGiO3n86wqnY]','2026-09-11 13:03:47','2026-09-27T11:01:37.897Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1397,'ExponentPushToken[21wGFjFbRXGZOZmME0e1DY]','2026-09-11 13:04:43','2026-09-11T13:04:43.044Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1399,'ExponentPushToken[5kHYw0DTkumf43ZKUFfkyv]','2026-09-11 13:06:36','2026-09-11T13:06:36.022Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1400,'ExponentPushToken[iiQw1eCKtmFkybrIoV3NyB]','2026-09-11 13:07:49','2026-09-13T18:54:38.451Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1400,'ExponentPushToken[iiQw1eCKtmFkybrIoV3NyB]','2026-09-11 13:07:49','2026-09-15T10:53:02.769Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1401,'ExponentPushToken[MPYmanKAc5-yZE_Jy8d2pV]','2026-09-11 13:08:11','2026-09-11T13:08:11.366Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1402,'ExponentPushToken[snQOgZAQ5zD0hJqMRxPVP2]','2026-09-11 13:08:43','2026-09-11T13:08:43.892Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1404,'ExponentPushToken[bI6a8eHNNfmKoMem32AmWx]','2026-09-11 13:08:46','2026-09-11T13:08:46.928Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1405,'ExponentPushToken[C4OUT_IMKW4yUjEkljqTiO]','2026-09-11 13:10:21','2026-09-11T13:10:21.669Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1405,'ExponentPushToken[C4OUT_IMKW4yUjEkljqTiO]','2026-09-11 13:10:21','2026-09-23T16:05:44.406Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1406,'ExponentPushToken[2LUsNtCqM_0Nus-7aPND6e]','2026-09-11 13:11:40','2026-09-13T05:37:31.953Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1408,'ExponentPushToken[iUzKuiHQ5DJHVy5IBT_owv]','2026-09-11 13:12:43','2026-09-11T13:12:43.395Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1409,'ExponentPushToken[9IsODdLTok2bBDvqkBq7Ha]','2026-09-11 13:13:04','2026-09-11T13:13:04.193Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1409,'ExponentPushToken[9IsODdLTok2bBDvqkBq7Ha]','2026-09-11 13:13:04','2026-09-21T00:13:55.293Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1411,'ExponentPushToken[efGN87GKAIGg-wTvop9tse]','2026-09-11 13:15:20','2026-09-12T04:01:28.594Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1412,'ExponentPushToken[K8FRzQAibdrucolbdDSgxF]','2026-09-11 13:16:21','2026-09-11T13:16:21.839Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1414,'ExponentPushToken[Rzp1FNFCvqH4BNT1AtrXvP]','2026-09-11 13:17:34','2026-09-11T13:17:34.209Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1414,'ExponentPushToken[Rzp1FNFCvqH4BNT1AtrXvP]','2026-09-11 13:17:34','2026-09-27T04:06:56.042Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1415,'ExponentPushToken[ki5N2jLqJu3ZdfxIfTuxgz]','2026-09-11 13:17:59','2026-09-11T13:17:59.361Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1417,'ExponentPushToken[9qSi34ESjTH0wvLh7mxSJE]','2026-09-11 13:19:12','2026-09-11T13:19:12.182Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1418,'ExponentPushToken[iLP4pMN50jFW_WchMAiqgq]','2026-09-11 13:19:13','2026-09-11T13:19:13.781Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1420,'ExponentPushToken[HwfryDA06ZbL80TCVA1zg0]','2026-09-11 13:19:24','2026-09-13T12:41:37.606Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1421,'ExponentPushToken[Fvdh2uEURF9RZQiJo7KnY3]','2026-09-11 13:19:51','2026-09-11T13:19:51.775Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1422,'ExponentPushToken[kXfKFoI9a0ydsNoCA2Ox4F]','2026-09-11 13:20:22','2026-09-13T06:21:56.889Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1423,'ExponentPushToken[E7Dl6GCpaPd5mY64NXUF_P]','2026-09-11 13:21:24','2026-09-11T13:21:24.673Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1421,'ExponentPushToken[Fvdh2uEURF9RZQiJo7KnY3]','2026-09-11 13:19:51','2026-09-17T02:30:24.212Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1423,'ExponentPushToken[E7Dl6GCpaPd5mY64NXUF_P]','2026-09-11 13:21:24','2026-09-19T11:45:50.182Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1424,'ExponentPushToken[VtEz3jHKT94OWfSEMgDTbk]','2026-09-11 13:21:45','2026-09-11T13:21:45.457Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1425,'ExponentPushToken[J4Y7mFHV2N9xX5s0IVAPsy]','2026-09-11 13:22:30','2026-09-11T13:24:38.233Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1426,'ExponentPushToken[o123jRKgcZFUGoihwzVT1i]','2026-09-11 13:22:31','2026-09-11T13:22:31.034Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1426,'ExponentPushToken[o123jRKgcZFUGoihwzVT1i]','2026-09-11 13:22:31','2026-09-25T15:40:14.464Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1427,'ExponentPushToken[TX6Z-ROaA9Pf5MUu5kW5gz]','2026-09-11 13:23:45','2026-09-11T13:23:45.515Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1429,'ExponentPushToken[qCvmq6O2FTKYRrA5Qjik2i]','2026-09-11 13:24:09','2026-09-12T06:41:02.360Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1431,'ExponentPushToken[vCdkhuInqaTjejakAhIdRT]','2026-09-11 13:25:50','2026-09-11T13:25:50.539Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1432,'ExponentPushToken[fOl_D8JtZsQHEjeIAihPgu]','2026-09-11 13:26:25','2026-09-11T13:26:25.985Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1432,'ExponentPushToken[fOl_D8JtZsQHEjeIAihPgu]','2026-09-11 13:26:25','2026-09-26T13:39:37.875Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1434,'ExponentPushToken[1rIYucAokgb-SE-ij2z77f]','2026-09-11 13:26:34','2026-09-11T19:19:53.977Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1435,'ExponentPushToken[PHkU7cGZVe-8bDgWOULXxl]','2026-09-11 13:27:07','2026-09-11T13:27:07.848Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1435,'ExponentPushToken[PHkU7cGZVe-8bDgWOULXxl]','2026-09-11 13:27:07','2026-09-21T09:54:36.848Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1437,'ExponentPushToken[TpUNN0MNBdsU0IwvRllvQS]','2026-09-11 13:28:17','2026-09-11T13:28:17.587Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1439,'ExponentPushToken[FB8hGVCgMMA9Jp5Q7WsggU]','2026-09-11 13:29:52','2026-09-11T13:29:52.072Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1441,'ExponentPushToken[giB8sHJUg4GFvEau1kowoy]','2026-09-11 13:30:41','2026-09-11T13:30:41.314Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1441,'ExponentPushToken[giB8sHJUg4GFvEau1kowoy]','2026-09-11 13:30:41','2026-09-26T15:35:32.135Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1443,'ExponentPushToken[Gl2rNpIy4tXlLiUaPrjj0a]','2026-09-11 13:32:03','2026-09-11T13:32:03.142Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1444,'ExponentPushToken[M6t_poOWv6gpFPg2D40e3V]','2026-09-11 13:33:08','2026-09-11T13:33:08.620Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1445,'ExponentPushToken[zJ5zyEFRTYytm27l0Cw8xJ]','2026-09-11 13:33:47','2026-09-11T13:33:47.930Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1445,'ExponentPushToken[zJ5zyEFRTYytm27l0Cw8xJ]','2026-09-11 13:33:47','2026-09-27T14:01:53.564Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1446,'ExponentPushToken[Db_xR_D0jwPANvQVceunnE]','2026-09-11 13:33:54','2026-09-13T17:26:16.504Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1448,'ExponentPushToken[lT1fCeAnIB7q86D1WPu7Sq]','2026-09-11 13:35:48','2026-09-12T04:15:03.320Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1449,'ExponentPushToken[sHhRaDGIcwEwoeEz9rbgDV]','2026-09-11 13:36:29','2026-09-11T13:45:57.036Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1448,'ExponentPushToken[lT1fCeAnIB7q86D1WPu7Sq]','2026-09-11 13:35:48','2026-09-15T04:46:13.741Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1449,'ExponentPushToken[sHhRaDGIcwEwoeEz9rbgDV]','2026-09-11 13:36:29','2026-09-17T03:39:45.653Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1450,'ExponentPushToken[7HilO7AggXZqjlhIOGHISU]','2026-09-11 13:37:24','2026-09-12T02:28:56.847Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1454,'ExponentPushToken[FFp3HWAl0R-47pwdm5IjO5]','2026-09-11 13:38:39','2026-09-11T13:38:39.587Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1454,'ExponentPushToken[FFp3HWAl0R-47pwdm5IjO5]','2026-09-11 13:38:39','2026-09-18T09:18:41.834Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1455,'ExponentPushToken[QeeiB8DyAzl5GjPFI-eCkw]','2026-09-11 13:38:54','2026-09-11T13:38:54.717Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1457,'ExponentPushToken[6jPIeYCByYBqTLtSKaNeo0]','2026-09-11 13:41:11','2026-09-11T13:47:33.153Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1458,'ExponentPushToken[2y1EI3L8pBh3Z_umXqrV57]','2026-09-11 13:42:18','2026-09-11T13:42:18.328Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1459,'ExponentPushToken[7NVRKgIRgSNgoKRU89xBQD]','2026-09-11 13:43:34','2026-09-11T13:43:34.579Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1463,'ExponentPushToken[yfu8jeOp9jyD0L6fd3_z0A]','2026-09-11 13:45:42','2026-09-11T13:45:42.340Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1464,'ExponentPushToken[W716grHmvN6CzU1kEZASgP]','2026-09-11 13:46:02','2026-09-11T13:46:02.286Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1465,'ExponentPushToken[4Z8Y_qF_cbOqG2UbRhbPG1]','2026-09-11 13:46:02','2026-09-11T13:46:02.309Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1466,'ExponentPushToken[NZtmS6GWY1zFghWO0aNSRk]','2026-09-11 13:48:43','2026-09-11T13:55:37.221Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1467,'ExponentPushToken[qE72VNOeMijBp0XSi72BuV]','2026-09-11 13:49:02','2026-09-12T05:25:30.489Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1469,'ExponentPushToken[lgYrVeHCExJoUou_HY1acI]','2026-09-11 13:49:29','2026-09-11T13:49:29.213Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1464,'ExponentPushToken[W716grHmvN6CzU1kEZASgP]','2026-09-11 13:46:02','2026-09-15T13:13:50.393Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1465,'ExponentPushToken[4Z8Y_qF_cbOqG2UbRhbPG1]','2026-09-11 13:46:02','2026-09-15T08:31:49.134Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1466,'ExponentPushToken[NZtmS6GWY1zFghWO0aNSRk]','2026-09-11 13:48:43','2026-09-20T05:55:54.948Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1467,'ExponentPushToken[qE72VNOeMijBp0XSi72BuV]','2026-09-11 13:49:02','2026-09-24T06:21:19.945Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1469,'ExponentPushToken[lgYrVeHCExJoUou_HY1acI]','2026-09-11 13:49:29','2026-09-15T11:37:30.354Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1470,'ExponentPushToken[BLGDdQCKQyD3M5AfLOjOxs]','2026-09-11 13:50:04','2026-09-11T13:50:04.975Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1471,'ExponentPushToken[W87lZtGAByqO0mgIOc8WrL]','2026-09-11 13:50:50','2026-09-13T05:49:19.441Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1472,'ExponentPushToken[kc3YBVGVwnrbt6JG-GbRFb]','2026-09-11 13:52:17','2026-09-12T03:43:33.718Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1473,'ExponentPushToken[UQw_czObCASGXOBFUEAymV]','2026-09-11 13:52:58','2026-09-11T13:52:58.922Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1475,'ExponentPushToken[3uxsagHRLt9lGQgm6pXj70]','2026-09-11 13:53:44','2026-09-12T14:09:52.635Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1475,'ExponentPushToken[3uxsagHRLt9lGQgm6pXj70]','2026-09-11 13:53:44','2026-09-25T08:34:20.769Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1476,'ExponentPushToken[pAM_WzDxuYquY2A-thxvAh]','2026-09-11 13:53:57','2026-09-11T13:53:57.315Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1479,'ExponentPushToken[ZZ4bS6PGSZTrj64Otimcq6]','2026-09-11 13:56:54','2026-09-11T13:56:54.094Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1479,'ExponentPushToken[ZZ4bS6PGSZTrj64Otimcq6]','2026-09-11 13:56:54','2026-09-22T15:24:05.580Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1480,'ExponentPushToken[H6pE_-CmuxDG6xUsRnj5x4]','2026-09-11 13:57:07','2026-09-11T13:57:07.631Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1481,'ExponentPushToken[ugPJJcMr2-Y9kXus09ZzNG]','2026-09-11 13:57:46','2026-09-11T13:57:46.739Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1482,'ExponentPushToken[7jMs-iMkNQlTIvCidvJjOc]','2026-09-11 13:58:19','2026-09-11T13:58:19.948Z'); @@ -9235,49 +10103,47 @@ INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VAL INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1484,'ExponentPushToken[qfvRArM_pApjoQYxlhWf-n]','2026-09-11 13:59:17','2026-09-13T14:15:34.775Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1487,'ExponentPushToken[REKkEeOIQCutxvaiblOM4l]','2026-09-11 14:00:50','2026-09-12T02:42:03.686Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1489,'ExponentPushToken[D7ixDoJhnw55G2ExjnuIBX]','2026-09-11 14:02:15','2026-09-12T13:36:41.702Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1491,'ExponentPushToken[ImWcIfLH670hZXufidyoiT]','2026-09-11 14:02:33','2026-09-11T14:02:33.916Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1491,'ExponentPushToken[ImWcIfLH670hZXufidyoiT]','2026-09-11 14:02:33','2026-09-15T03:47:43.050Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1492,'ExponentPushToken[vYUyULCZPsTO-pm_ozZVXS]','2026-09-11 14:03:26','2026-09-11T14:03:26.677Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1493,'ExponentPushToken[RH0ekiN9K47uhvB3DFkdVL]','2026-09-11 14:04:25','2026-09-11T14:04:25.447Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1494,'ExponentPushToken[-mL2xODo1prluQTG84uSdk]','2026-09-11 14:05:45','2026-09-12T17:15:16.552Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1495,'ExponentPushToken[07KnPYO2STGMa2tn6e6mj7]','2026-09-11 14:06:04','2026-09-11T14:06:04.321Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1497,'ExponentPushToken[CGgtzRDOVD5HEIxnDjnWzt]','2026-09-11 14:07:21','2026-09-13T08:59:50.889Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1495,'ExponentPushToken[07KnPYO2STGMa2tn6e6mj7]','2026-09-11 14:06:04','2026-09-25T04:33:30.456Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1499,'ExponentPushToken[oyMBjODw0pwm0tfZZCwLjM]','2026-09-11 14:07:53','2026-09-11T14:07:53.169Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1500,'ExponentPushToken[EufVa7PswDBQB_kq7hHDLy]','2026-09-11 14:11:09','2026-09-12T06:27:43.459Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1501,'ExponentPushToken[O7AwTCPYaurYXFlH65cS87]','2026-09-11 14:12:29','2026-09-12T14:08:48.544Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1502,'ExponentPushToken[AexCgqEhyVNTU2WxiuxyLp]','2026-09-11 14:13:41','2026-09-11T14:13:41.092Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1505,'ExponentPushToken[hA50PzEd5g7L-rJQh2zzH-]','2026-09-11 14:15:13','2026-09-11T14:15:13.415Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1506,'ExponentPushToken[1kYAfbBfg4jSE2ncjtUVON]','2026-09-11 14:15:18','2026-09-11T14:15:18.286Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1507,'ExponentPushToken[XCgnPvEBiDwaR9sckWkX5J]','2026-09-11 14:15:35','2026-09-11T14:15:35.637Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1507,'ExponentPushToken[XCgnPvEBiDwaR9sckWkX5J]','2026-09-11 14:15:35','2026-09-23T02:09:48.132Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1508,'ExponentPushToken[3kuI7UGNIODSY-aYuDfbp1]','2026-09-11 14:16:43','2026-09-12T10:31:27.649Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1510,'ExponentPushToken[GVdMgNE-drbaGxvLFmj8dR]','2026-09-11 14:18:11','2026-09-12T14:18:25.706Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1514,'ExponentPushToken[x7xvYYL5V78E_DZXvCLU38]','2026-09-11 14:20:03','2026-09-11T14:20:03.840Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1515,'ExponentPushToken[yTILa-NwKqplBOQwO_YOUo]','2026-09-11 14:21:10','2026-09-11T14:21:10.916Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1516,'ExponentPushToken[RhktzaDxihsMBdhMiqGi9x]','2026-09-11 14:24:55','2026-09-12T08:20:21.625Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1518,'ExponentPushToken[61pBS0HRXo2V5zA953QTz_]','2026-09-11 14:25:18','2026-09-11T14:25:18.582Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1520,'ExponentPushToken[HDKv2rIfHhAG92HHYnxSZA]','2026-09-11 14:25:52','2026-09-12T01:28:44.774Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1520,'ExponentPushToken[HDKv2rIfHhAG92HHYnxSZA]','2026-09-11 14:25:52','2026-09-15T10:23:08.565Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1521,'ExponentPushToken[kym8HdBhI5dttkESp1a1VV]','2026-09-11 14:26:59','2026-09-11T14:26:59.737Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1522,'ExponentPushToken[0qH0KCKwE-y36GGxF_BUK3]','2026-09-11 14:27:23','2026-09-13T14:24:12.979Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1523,'ExponentPushToken[cMiGanPRHllhL47BXhe18C]','2026-09-11 14:27:27','2026-09-11T14:27:27.135Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1524,'ExponentPushToken[dcFQ9_N7uF8bwhit3YrbOj]','2026-09-11 14:27:47','2026-09-11T14:27:47.409Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1527,'ExponentPushToken[6IsabHLqNJCcX7G60h_IfL]','2026-09-11 14:29:22','2026-09-13T12:30:11.025Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1524,'ExponentPushToken[dcFQ9_N7uF8bwhit3YrbOj]','2026-09-11 14:27:47','2026-09-19T06:46:14.090Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1527,'ExponentPushToken[6IsabHLqNJCcX7G60h_IfL]','2026-09-11 14:29:22','2026-09-25T12:22:52.174Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1528,'ExponentPushToken[PgA8-oPIWggQZalJsxVyyi]','2026-09-11 14:30:54','2026-09-11T14:30:54.866Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1529,'ExponentPushToken[MHCVMcJ0dXitn0sG0VpbJP]','2026-09-11 14:32:07','2026-09-13T04:47:21.865Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1531,'ExponentPushToken[1X9mN8I3GZUmsSvCMLZceU]','2026-09-11 14:34:35','2026-09-11T14:34:35.123Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1532,'ExponentPushToken[8vrZ4aFkFCjp8I6HliJYLZ]','2026-09-11 14:34:54','2026-09-12T13:39:31.712Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1533,'ExponentPushToken[HElBhxNE_Vv_5fB-VXVrBo]','2026-09-11 14:35:57','2026-09-11T15:44:08.844Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1532,'ExponentPushToken[8vrZ4aFkFCjp8I6HliJYLZ]','2026-09-11 14:34:54','2026-09-16T04:16:13.602Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1533,'ExponentPushToken[HElBhxNE_Vv_5fB-VXVrBo]','2026-09-11 14:35:57','2026-09-16T11:25:33.807Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1534,'ExponentPushToken[zaVKZSI7-Ob90RhN1nSHvT]','2026-09-11 14:36:21','2026-09-12T13:04:07.634Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1535,'ExponentPushToken[m4tPqTJay2E2_l8TrIEpJT]','2026-09-11 14:36:36','2026-09-13T13:51:43.066Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1535,'ExponentPushToken[m4tPqTJay2E2_l8TrIEpJT]','2026-09-11 14:36:36','2026-09-18T07:48:28.806Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1537,'ExponentPushToken[cP_MLLM8JzAZVHkDGOe88L]','2026-09-11 14:40:40','2026-09-11T14:40:40.746Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1538,'ExponentPushToken[DOCad2Ow09JdPK6VcBNHYz]','2026-09-11 14:42:24','2026-09-11T14:42:24.790Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1539,'ExponentPushToken[ipEy2LEFgghIldhzWnIK2p]','2026-09-11 14:42:41','2026-09-12T03:47:54.183Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1540,'ExponentPushToken[5omn2fPxbYoP5Mrtcks5Lu]','2026-09-11 14:43:42','2026-09-11T14:43:42.151Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1541,'ExponentPushToken[g72iSjAzsELXdj-t6yQfaD]','2026-09-11 14:44:33','2026-09-12T06:53:38.740Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1540,'ExponentPushToken[5omn2fPxbYoP5Mrtcks5Lu]','2026-09-11 14:43:42','2026-09-17T03:29:05.878Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1541,'ExponentPushToken[g72iSjAzsELXdj-t6yQfaD]','2026-09-11 14:44:33','2026-09-27T14:14:02.980Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1543,'ExponentPushToken[rBXAcuOAVOLvdtazdRMaeH]','2026-09-11 14:45:15','2026-09-11T17:51:37.134Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1544,'ExponentPushToken[vFzBGACpXGT08HTGmmXFAg]','2026-09-11 14:46:23','2026-09-11T14:46:23.750Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1545,'ExponentPushToken[777IHdDe9XnP6PCjVSzpQj]','2026-09-11 14:47:34','2026-09-11T14:47:34.527Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1546,'ExponentPushToken[AWtaP6Od9-cmk0OHffB_N9]','2026-09-11 14:50:04','2026-09-11T14:50:04.155Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1547,'ExponentPushToken[ZfyqpbBN1jY9tzOd1rfcOd]','2026-09-11 14:50:50','2026-09-11T14:50:50.628Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1548,'ExponentPushToken[8Zb-nqKsBrDjI3LwqqZz1M]','2026-09-11 14:52:29','2026-09-12T06:34:11.769Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1548,'ExponentPushToken[8Zb-nqKsBrDjI3LwqqZz1M]','2026-09-11 14:52:29','2026-09-15T12:23:15.218Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1549,'ExponentPushToken[3A9ddhCAfLoLFFAkBkW_Gy]','2026-09-11 14:52:50','2026-09-11T14:53:14.340Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1550,'ExponentPushToken[jHW4pqMZPmbhxFegJupRd3]','2026-09-11 14:54:04','2026-09-12T04:13:15.135Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1552,'ExponentPushToken[bn9Rw4FqKGS8LehNRq9xet]','2026-09-11 14:55:20','2026-09-11T14:55:20.384Z'); @@ -9287,90 +10153,86 @@ INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VAL INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1560,'ExponentPushToken[RQTyr7Dx_5PcVnMKvALDiC]','2026-09-11 15:00:50','2026-09-12T07:44:25.167Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1563,'ExponentPushToken[QY969jKkYwC3vZTQU0BbAl]','2026-09-11 15:06:07','2026-09-11T15:06:07.214Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1564,'ExponentPushToken[aPeGoICNLWzxqpxYdmtfQK]','2026-09-11 15:06:08','2026-09-11T15:06:08.672Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1567,'ExponentPushToken[jnwkyWLYkVBF6xfUXB_FA_]','2026-09-11 15:09:14','2026-09-11T15:55:27.645Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1567,'ExponentPushToken[jnwkyWLYkVBF6xfUXB_FA_]','2026-09-11 15:09:14','2026-09-26T11:51:04.227Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1568,'ExponentPushToken[DUz_H6FqwHgeyBq8sT4LG2]','2026-09-11 15:09:43','2026-09-11T15:09:43.790Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1570,'ExponentPushToken[fN4mNzC3uIiha4QkHtIKkK]','2026-09-11 15:09:57','2026-09-11T15:09:57.414Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1573,'ExponentPushToken[Tirc3oA5gM96MWsd0LdPm7]','2026-09-11 15:13:42','2026-09-13T09:28:04.727Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1570,'ExponentPushToken[fN4mNzC3uIiha4QkHtIKkK]','2026-09-11 15:09:57','2026-09-23T13:53:36.487Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1573,'ExponentPushToken[Tirc3oA5gM96MWsd0LdPm7]','2026-09-11 15:13:42','2026-09-18T10:23:40.461Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1574,'ExponentPushToken[kBJmNLB5eg_yz73LoslBW7]','2026-09-11 15:16:51','2026-09-11T15:22:33.512Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1576,'ExponentPushToken[5d87qaFe8J9Upzy9ykAg9z]','2026-09-11 15:19:05','2026-09-11T15:19:05.000Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1578,'ExponentPushToken[1tf-5BK2uSExJfKQUqyvH7]','2026-09-11 15:21:38','2026-09-11T15:21:38.826Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1576,'ExponentPushToken[5d87qaFe8J9Upzy9ykAg9z]','2026-09-11 15:19:05','2026-09-18T15:51:11.551Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1578,'ExponentPushToken[1tf-5BK2uSExJfKQUqyvH7]','2026-09-11 15:21:38','2026-09-18T10:13:50.968Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1579,'ExponentPushToken[YiJfDPAuk83mkXli7hLa9q]','2026-09-11 15:21:55','2026-09-11T15:21:55.214Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1580,'ExponentPushToken[EzsSH2Id3PrRXc-bkz4s-z]','2026-09-11 15:23:02','2026-09-13T12:33:18.225Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1581,'ExponentPushToken[IutaLuPTHhLkpoBuCpnzVW]','2026-09-11 15:23:18','2026-09-12T04:23:48.078Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1584,'ExponentPushToken[wGcXeyMneoJzhfTce4cc4L]','2026-09-11 15:24:41','2026-09-11T15:24:41.709Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1585,'ExponentPushToken[TMD7aDGXgGSycLi2N2P2tE]','2026-09-11 15:25:02','2026-09-13T06:18:54.987Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1586,'ExponentPushToken[xl953aHDNFNMjuSPOQlV5u]','2026-09-11 15:25:38','2026-09-12T09:19:25.571Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1587,'ExponentPushToken[j4b3ZbEeEOj00yu6dPaGdN]','2026-09-11 15:26:03','2026-09-13T10:13:40.353Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1585,'ExponentPushToken[TMD7aDGXgGSycLi2N2P2tE]','2026-09-11 15:25:02','2026-09-16T07:54:54.702Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1586,'ExponentPushToken[xl953aHDNFNMjuSPOQlV5u]','2026-09-11 15:25:38','2026-09-22T11:22:56.016Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1587,'ExponentPushToken[j4b3ZbEeEOj00yu6dPaGdN]','2026-09-11 15:26:03','2026-09-23T16:37:36.269Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1588,'ExponentPushToken[-feVhnCK6N4lZwPHzx3yDP]','2026-09-11 15:28:15','2026-09-11T15:28:15.268Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1589,'ExponentPushToken[QlF5ksFNOH8qup-CBDCj5k]','2026-09-11 15:28:38','2026-09-11T15:28:38.672Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1590,'ExponentPushToken[mze7mZEI6bj7WfZMaQXgro]','2026-09-11 15:29:04','2026-09-12T02:40:43.573Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1591,'ExponentPushToken[h3XRvXP6Cgoi4fxd9sOj8S]','2026-09-11 15:30:14','2026-09-13T17:48:48.070Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1592,'ExponentPushToken[CKxivwJyN-N2eGmWCCjInl]','2026-09-11 15:30:38','2026-09-11T15:30:38.917Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1593,'ExponentPushToken[hu2lTtEVnpgPwzCwk0zHtZ]','2026-09-11 15:30:53','2026-09-12T14:15:53.797Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1594,'ExponentPushToken[1rVVsFON7PcKQGeMUK-bOx]','2026-09-11 15:31:43','2026-09-11T15:31:43.927Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1595,'ExponentPushToken[EZ0Ie6OBoEtvsHVX5FSgMm]','2026-09-11 15:31:59','2026-09-11T15:33:12.329Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1597,'ExponentPushToken[1xAGjOIu3K0pQrfHsimLZ4]','2026-09-11 15:33:06','2026-09-12T16:07:53.351Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1597,'ExponentPushToken[1xAGjOIu3K0pQrfHsimLZ4]','2026-09-11 15:33:06','2026-09-27T14:40:07.603Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1598,'ExponentPushToken[z-lCadJugcUd4oTB-IG73y]','2026-09-11 15:33:54','2026-09-12T13:47:08.545Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1600,'ExponentPushToken[7jknx0CFdaW9oa_mw6JS1E]','2026-09-11 15:35:07','2026-09-11T15:35:07.638Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1603,'ExponentPushToken[-H0q_OBMyc-Oa2WmiuBbOE]','2026-09-11 15:37:26','2026-09-11T15:37:26.558Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1605,'ExponentPushToken[VbYtasC33jnvY3wq6S3c9q]','2026-09-11 15:38:32','2026-09-12T19:27:24.484Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1605,'ExponentPushToken[VbYtasC33jnvY3wq6S3c9q]','2026-09-11 15:38:32','2026-09-27T06:06:25.118Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1606,'ExponentPushToken[VhLG4TGIRHyonymsIUpTGv]','2026-09-11 15:38:47','2026-09-11T15:38:47.119Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1607,'ExponentPushToken[p4S8FrFSK2tuiDkCpvJssa]','2026-09-11 15:39:23','2026-09-11T16:30:16.574Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1608,'ExponentPushToken[yl8EdPBSKbdpFljfEp8_V9]','2026-09-11 15:39:38','2026-09-11T15:39:38.974Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1608,'ExponentPushToken[yl8EdPBSKbdpFljfEp8_V9]','2026-09-11 15:39:38','2026-09-19T03:40:12.955Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1609,'ExponentPushToken[oHPTPVOz3s3fxkRVHDRzCW]','2026-09-11 15:40:19','2026-09-13T04:54:11.829Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1611,'ExponentPushToken[i5MS40DNFvvi7B4pyFPFF2]','2026-09-11 15:41:41','2026-09-11T15:41:41.370Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1612,'ExponentPushToken[lQjLgwJ6UZVypqlmPHnx9i]','2026-09-11 15:41:54','2026-09-12T08:18:23.819Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1613,'ExponentPushToken[r2H_2qJ37CZeiBX0QiGlsC]','2026-09-11 15:42:13','2026-09-13T04:32:20.390Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1613,'ExponentPushToken[r2H_2qJ37CZeiBX0QiGlsC]','2026-09-11 15:42:13','2026-09-15T10:03:26.743Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1614,'ExponentPushToken[cqvGISJO0lShIbuXFEkAX9]','2026-09-11 15:42:44','2026-09-11T15:42:44.090Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1615,'ExponentPushToken[xAHj__F5WpSIKZULd6uINl]','2026-09-11 15:43:26','2026-09-11T15:43:26.647Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1617,'ExponentPushToken[0t2qYBP6PLipnqM9gYOI7U]','2026-09-11 15:44:14','2026-09-11T15:44:14.793Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1618,'ExponentPushToken[CJODl7HehzNNQSSXTzLgo2]','2026-09-11 15:48:11','2026-09-11T15:48:11.318Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1619,'ExponentPushToken[rG6ZNkFh0r-zMDo5K9noEI]','2026-09-11 15:49:13','2026-09-11T15:49:13.287Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1620,'ExponentPushToken[cnZJJBNQHSDXy2sqkMKjZM]','2026-09-11 15:52:33','2026-09-12T12:43:34.897Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1623,'ExponentPushToken[JQWzeYN_xhm6xjeObe9Idb]','2026-09-11 15:54:35','2026-09-12T05:35:19.766Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1624,'ExponentPushToken[moqjQ9L2BXC5BKNtE_aTKZ]','2026-09-11 15:54:56','2026-09-11T15:54:56.856Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1625,'ExponentPushToken[PneBq0JK5usLtQmNooRu4_]','2026-09-11 15:55:31','2026-09-12T09:32:43.589Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1626,'ExponentPushToken[3uZhBQJSl7zx0qs_zjHy96]','2026-09-11 15:55:41','2026-09-13T07:22:35.480Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1627,'ExponentPushToken[FHpdEZBqIPROflyS3vDXds]','2026-09-11 15:56:32','2026-09-11T15:56:32.451Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1620,'ExponentPushToken[cnZJJBNQHSDXy2sqkMKjZM]','2026-09-11 15:52:33','2026-09-15T05:28:00.927Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1623,'ExponentPushToken[JQWzeYN_xhm6xjeObe9Idb]','2026-09-11 15:54:35','2026-09-16T08:34:37.586Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1624,'ExponentPushToken[moqjQ9L2BXC5BKNtE_aTKZ]','2026-09-11 15:54:56','2026-09-16T12:39:37.521Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1625,'ExponentPushToken[PneBq0JK5usLtQmNooRu4_]','2026-09-11 15:55:31','2026-09-18T13:21:25.158Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1627,'ExponentPushToken[FHpdEZBqIPROflyS3vDXds]','2026-09-11 15:56:32','2026-09-27T15:15:34.330Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1628,'ExponentPushToken[IJojZyJDc7M7ax4PZ99K0c]','2026-09-11 15:56:35','2026-09-11T15:56:35.381Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1629,'ExponentPushToken[S7DlhoDfZOoLmR_yiiTeeS]','2026-09-11 15:56:44','2026-09-13T08:06:29.238Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1632,'ExponentPushToken[vHVNO3OoQQdLisFiVTvo34]','2026-09-11 15:58:43','2026-09-11T15:58:43.816Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1634,'ExponentPushToken[BME07FMFSbBDh2nrM0yxWH]','2026-09-11 16:00:24','2026-09-11T16:00:24.904Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1632,'ExponentPushToken[vHVNO3OoQQdLisFiVTvo34]','2026-09-11 15:58:43','2026-09-20T15:53:48.636Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1634,'ExponentPushToken[BME07FMFSbBDh2nrM0yxWH]','2026-09-11 16:00:24','2026-09-22T06:37:31.895Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1637,'ExponentPushToken[vNJ-QVNViKkyPbJD69Nn9c]','2026-09-11 16:01:35','2026-09-13T03:02:29.686Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1639,'ExponentPushToken[tYr9UZNsvRGr2F2Lr0l6yZ]','2026-09-11 16:02:16','2026-09-13T13:32:58.419Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1639,'ExponentPushToken[tYr9UZNsvRGr2F2Lr0l6yZ]','2026-09-11 16:02:16','2026-09-26T16:56:00.547Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1641,'ExponentPushToken[JO8VOFLx1zagNKxXS9bgYc]','2026-09-11 16:02:37','2026-09-11T16:02:37.941Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1642,'ExponentPushToken[-KFqDsP-HC2Q-0s6Fc-Ipy]','2026-09-11 16:03:37','2026-09-11T16:03:37.857Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1645,'ExponentPushToken[dg-_wDCEwufWZx4CxFHRTG]','2026-09-11 16:05:59','2026-09-11T16:05:59.821Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1646,'ExponentPushToken[mec1ZSMxmBvEMJyUlfJTm3]','2026-09-11 16:06:00','2026-09-11T16:06:00.581Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1648,'ExponentPushToken[aS9CGuNtZQ6afSDXwTdbaU]','2026-09-11 16:07:09','2026-09-14T00:30:58.030Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1649,'ExponentPushToken[7K3X1gK_zFoLS7Wm3p9Hhl]','2026-09-11 16:07:41','2026-09-12T18:21:32.400Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1642,'ExponentPushToken[-KFqDsP-HC2Q-0s6Fc-Ipy]','2026-09-11 16:03:37','2026-09-15T14:32:12.599Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1645,'ExponentPushToken[dg-_wDCEwufWZx4CxFHRTG]','2026-09-11 16:05:59','2026-09-24T06:12:40.941Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1648,'ExponentPushToken[aS9CGuNtZQ6afSDXwTdbaU]','2026-09-11 16:07:09','2026-09-16T18:46:17.374Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1649,'ExponentPushToken[7K3X1gK_zFoLS7Wm3p9Hhl]','2026-09-11 16:07:41','2026-09-25T11:12:08.183Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1651,'ExponentPushToken[0wZ4INHRS_gGL4hTsgJ7C-]','2026-09-11 16:08:52','2026-09-11T16:08:52.838Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1652,'ExponentPushToken[RpD1OGLWPTJ36Lb_KCAlFa]','2026-09-11 16:08:59','2026-09-13T18:31:08.061Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1653,'ExponentPushToken[02oH-mMJZFldfXVfqxOPE6]','2026-09-11 16:11:23','2026-09-12T02:02:07.979Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1653,'ExponentPushToken[02oH-mMJZFldfXVfqxOPE6]','2026-09-11 16:11:23','2026-09-14T06:17:42.788Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1655,'ExponentPushToken[4iCrsiCeS1_NUlVvmJJGHr]','2026-09-11 16:11:30','2026-09-11T16:24:27.731Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1656,'ExponentPushToken[D1vn7SNXkceJ2XoBBuQCPg]','2026-09-11 16:11:46','2026-09-13T15:42:44.787Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1656,'ExponentPushToken[D1vn7SNXkceJ2XoBBuQCPg]','2026-09-11 16:11:46','2026-09-22T17:19:02.949Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1657,'ExponentPushToken[_lBoEDFrjJ7flSF9zlV1aV]','2026-09-11 16:11:57','2026-09-11T16:11:57.183Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1658,'ExponentPushToken[RzwDz_DJM0pL6kgS-S2ZmY]','2026-09-11 16:12:15','2026-09-13T06:12:41.321Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1658,'ExponentPushToken[RzwDz_DJM0pL6kgS-S2ZmY]','2026-09-11 16:12:15','2026-09-16T05:45:36.256Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1659,'ExponentPushToken[5ofNs3FcUDhERIFBrR_bfD]','2026-09-11 16:14:23','2026-09-12T10:04:22.624Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1660,'ExponentPushToken[s2s-BaMMzZB1YY0Ije6wb8]','2026-09-11 16:15:17','2026-09-11T16:15:17.160Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1662,'ExponentPushToken[fEGdU7JeVLoldNNgxH-nAz]','2026-09-11 16:22:31','2026-09-11T16:22:31.442Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1662,'ExponentPushToken[fEGdU7JeVLoldNNgxH-nAz]','2026-09-11 16:22:31','2026-09-15T17:14:52.975Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1663,'ExponentPushToken[B9i0lqK-Mk-RTcToodb9fc]','2026-09-11 16:24:21','2026-09-11T16:24:21.567Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1665,'ExponentPushToken[uagQM5HEuWEwC1O4nfwy83]','2026-09-11 16:24:58','2026-09-11T16:24:58.549Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1665,'ExponentPushToken[uagQM5HEuWEwC1O4nfwy83]','2026-09-11 16:24:58','2026-09-16T06:21:19.260Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1667,'ExponentPushToken[P1tHb2OAAdjV152uk_C3iv]','2026-09-11 16:25:27','2026-09-11T16:25:27.364Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1668,'ExponentPushToken[oGV_dPBfI0pRbjvQjqFIw8]','2026-09-11 16:30:18','2026-09-11T16:36:40.298Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1669,'ExponentPushToken[MA93JkNs6wLgZh4Hne8kpw]','2026-09-11 16:34:14','2026-09-12T08:57:16.872Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1670,'ExponentPushToken[q8ZlQvENKFXP-PK9FeTVN9]','2026-09-11 16:35:21','2026-09-11T16:36:42.459Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1671,'ExponentPushToken[wf2HbSH0HIGrnxtFiTPC2Y]','2026-09-11 16:35:50','2026-09-11T16:35:50.630Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1672,'ExponentPushToken[LMaZUcENLUe0MYoXzCAuJt]','2026-09-11 16:36:52','2026-09-11T16:36:52.422Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1673,'ExponentPushToken[7B__n2OxgEnLVTF5GS8pXV]','2026-09-11 16:36:54','2026-09-11T16:36:54.833Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1674,'ExponentPushToken[Dy_0r7Dp-8px-ZSkugbjrL]','2026-09-11 16:37:15','2026-09-12T01:48:59.097Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1673,'ExponentPushToken[7B__n2OxgEnLVTF5GS8pXV]','2026-09-11 16:36:54','2026-09-20T14:09:26.253Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1674,'ExponentPushToken[Dy_0r7Dp-8px-ZSkugbjrL]','2026-09-11 16:37:15','2026-09-25T07:43:56.919Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1675,'ExponentPushToken[mF2dudJUMJJWLaBeRKWdbN]','2026-09-11 16:37:43','2026-09-11T16:37:43.944Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1676,'ExponentPushToken[_vb8cpPXCQrs6zfYpUseUb]','2026-09-11 16:37:54','2026-09-11T16:37:54.916Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1676,'ExponentPushToken[_vb8cpPXCQrs6zfYpUseUb]','2026-09-11 16:37:54','2026-09-27T05:36:37.930Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1677,'ExponentPushToken[4x0k1RA8yYKyZGnzczEeuh]','2026-09-11 16:44:03','2026-09-11T16:44:03.953Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1678,'ExponentPushToken[pHYqFqLdJIssvhHx5H8LGS]','2026-09-11 16:45:06','2026-09-11T16:45:06.560Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1679,'ExponentPushToken[zM2Fj4AACyFGGeuwYB3cyH]','2026-09-11 16:46:21','2026-09-13T05:55:44.659Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1679,'ExponentPushToken[zM2Fj4AACyFGGeuwYB3cyH]','2026-09-11 16:46:21','2026-09-23T11:54:57.499Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1681,'ExponentPushToken[NbRYWKA4DMntM786sTvok_]','2026-09-11 16:49:16','2026-09-11T16:49:16.790Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1683,'ExponentPushToken[FJF5RqPeKcfOPBUvkSTrJo]','2026-09-11 16:49:25','2026-09-12T03:27:22.884Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1683,'ExponentPushToken[FJF5RqPeKcfOPBUvkSTrJo]','2026-09-11 16:49:25','2026-09-22T07:56:10.388Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1686,'ExponentPushToken[w6kOGoLBsE9KCKTBF49c_H]','2026-09-11 16:51:16','2026-09-11T16:51:16.435Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1687,'ExponentPushToken[CFIqLKMa1pdENUPwmrVfen]','2026-09-11 16:52:33','2026-09-11T16:52:33.395Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1688,'ExponentPushToken[eD8AHsDFgmH9kTWsT3WHN3]','2026-09-11 16:52:34','2026-09-11T16:52:34.513Z'); @@ -9379,34 +10241,32 @@ INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VAL INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1691,'ExponentPushToken[n166bwKGFoDnmONu0q7xWp]','2026-09-11 17:01:31','2026-09-11T17:01:31.008Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1692,'ExponentPushToken[DfdgQQIArIgxqbDqcI_GS1]','2026-09-11 17:02:28','2026-09-11T17:02:28.388Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1694,'ExponentPushToken[j1ia7tE4x4RkLAXEVxVvFP]','2026-09-11 17:06:04','2026-09-11T17:06:04.546Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1695,'ExponentPushToken[Z0UVZwE_rbYsxrKU8Le4vd]','2026-09-11 17:07:03','2026-09-12T07:44:02.293Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1697,'ExponentPushToken[HE-dtwPI0gYp96tEa86Gkt]','2026-09-11 17:07:55','2026-09-11T17:07:55.610Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1699,'ExponentPushToken[-9hmGvKmFnYseUN643bZBf]','2026-09-11 17:13:52','2026-09-13T07:14:54.099Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1700,'ExponentPushToken[rfNuwnM8FT3wu1Ai59BLFy]','2026-09-11 17:17:45','2026-09-13T13:40:27.363Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1695,'ExponentPushToken[Z0UVZwE_rbYsxrKU8Le4vd]','2026-09-11 17:07:03','2026-09-27T05:53:08.846Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1697,'ExponentPushToken[HE-dtwPI0gYp96tEa86Gkt]','2026-09-11 17:07:55','2026-09-17T16:17:37.482Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1699,'ExponentPushToken[-9hmGvKmFnYseUN643bZBf]','2026-09-11 17:13:52','2026-09-27T12:33:54.782Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1701,'ExponentPushToken[uiVNTuMx3qrFUZ19SQ6Yg-]','2026-09-11 17:20:22','2026-09-11T17:20:22.242Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1702,'ExponentPushToken[_YogaIMXmeuTZk_yQKjlPh]','2026-09-11 17:21:32','2026-09-11T17:21:32.317Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1703,'ExponentPushToken[ivUckCEpMtkoMNjwS7Hsuj]','2026-09-11 17:21:56','2026-09-11T17:21:56.899Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1703,'ExponentPushToken[ivUckCEpMtkoMNjwS7Hsuj]','2026-09-11 17:21:56','2026-09-19T07:53:35.214Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1705,'ExponentPushToken[OInsA4D_3iY0xVbz7f5f0o]','2026-09-11 17:25:23','2026-09-12T05:52:01.786Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1706,'ExponentPushToken[PTAxqwFK_kNl78ZqEvJAe_]','2026-09-11 17:26:45','2026-09-12T04:05:55.022Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1707,'ExponentPushToken[4GN1D6IUHZMxpo-n9HZrgn]','2026-09-11 17:28:57','2026-09-11T17:28:57.146Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1707,'ExponentPushToken[4GN1D6IUHZMxpo-n9HZrgn]','2026-09-11 17:28:57','2026-09-26T04:57:04.972Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1708,'ExponentPushToken[i2J1I6FiQukO0tL_ms_uKq]','2026-09-11 17:29:56','2026-09-11T17:29:56.064Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1709,'ExponentPushToken[f_wkZnDirQHaYEpuBVYj7Q]','2026-09-11 17:30:08','2026-09-11T17:30:08.594Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1710,'ExponentPushToken[E7birzPSvlO1h5O7tK8vdD]','2026-09-11 17:30:10','2026-09-12T02:09:36.641Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1712,'ExponentPushToken[V4fF7kPZfj2ZxOVI0HZXmQ]','2026-09-11 17:32:05','2026-09-11T17:32:05.745Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1712,'ExponentPushToken[V4fF7kPZfj2ZxOVI0HZXmQ]','2026-09-11 17:32:05','2026-09-18T04:46:08.458Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1714,'ExponentPushToken[M_XayKP1fugiS-9UxijbD2]','2026-09-11 17:35:53','2026-09-11T17:35:53.145Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1716,'ExponentPushToken[cWHYUHElrsa7ip1t1NM2oH]','2026-09-11 17:38:10','2026-09-11T17:38:10.234Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1718,'ExponentPushToken[wHPbSBD3eqGwWivMQ-xS-7]','2026-09-11 17:42:31','2026-09-11T17:42:31.412Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1719,'ExponentPushToken[nfr79WHjXnCy9yTqvr4OmW]','2026-09-11 17:43:24','2026-09-11T17:43:24.956Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1718,'ExponentPushToken[wHPbSBD3eqGwWivMQ-xS-7]','2026-09-11 17:42:31','2026-09-27T15:47:24.743Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1719,'ExponentPushToken[nfr79WHjXnCy9yTqvr4OmW]','2026-09-11 17:43:24','2026-09-19T11:33:20.201Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1720,'ExponentPushToken[J1eG-pKiZ-R5DBdC6rXqzS]','2026-09-11 17:45:24','2026-09-11T17:45:24.075Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1721,'ExponentPushToken[8s2grcJnnKra4Y2vrKta5E]','2026-09-11 17:47:42','2026-09-11T17:47:42.359Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1722,'ExponentPushToken[QBdD9HIo-UGaQ6S_27FayU]','2026-09-11 17:52:40','2026-09-11T17:52:40.934Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1723,'ExponentPushToken[8WVIk-FEsxbofNiTlJHwaF]','2026-09-11 17:55:51','2026-09-13T19:11:43.047Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1723,'ExponentPushToken[8WVIk-FEsxbofNiTlJHwaF]','2026-09-11 17:55:51','2026-09-20T18:45:22.709Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1724,'ExponentPushToken[5NW09UGtx6onTac-EwGdq2]','2026-09-11 17:57:04','2026-09-12T13:43:39.483Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1725,'ExponentPushToken[OwBkv8H6JD1DCML-F_HBoz]','2026-09-11 18:00:47','2026-09-11T18:00:47.302Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1726,'ExponentPushToken[chbEkGNj5bL5rOkc6tfZ0s]','2026-09-11 18:02:03','2026-09-11T18:02:03.399Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1727,'ExponentPushToken[nGNyYZDZE_WpXLWPDAQIFl]','2026-09-11 18:05:05','2026-09-13T04:33:21.628Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1727,'ExponentPushToken[nGNyYZDZE_WpXLWPDAQIFl]','2026-09-11 18:05:05','2026-09-24T05:32:09.278Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1730,'ExponentPushToken[6D4naoKKqB-HZnQirhBkLo]','2026-09-11 18:06:37','2026-09-11T18:06:37.837Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1731,'ExponentPushToken[cr6_1DEr-vrZgj8U0LtEt7]','2026-09-11 18:09:55','2026-09-11T18:09:55.753Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1733,'ExponentPushToken[QtDe1NPY5p1Nbt6tB3Z_tC]','2026-09-11 18:21:14','2026-09-11T18:21:14.234Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1734,'ExponentPushToken[bJrsKHNdnlr66uznsGgO6I]','2026-09-11 18:29:40','2026-09-11T18:29:40.610Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1735,'ExponentPushToken[MuIs4YKlxytpTB2FEbHNjJ]','2026-09-11 18:30:12','2026-09-13T07:27:08.391Z'); @@ -9414,14 +10274,14 @@ INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VAL INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1737,'ExponentPushToken[VNBDfcNYuLgd8HnBvUckJP]','2026-09-11 18:32:15','2026-09-12T03:15:07.051Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1738,'ExponentPushToken[Lc1aiGJb6K_ZgghBqikBc9]','2026-09-11 18:39:09','2026-09-11T18:39:09.249Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1739,'ExponentPushToken[-G9h8FLQ4623URB19UdMO0]','2026-09-11 18:40:20','2026-09-11T18:40:20.588Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1741,'ExponentPushToken[vbiRaKMOvzgPU5FmGA-FJS]','2026-09-11 18:46:13','2026-09-12T11:16:42.460Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1741,'ExponentPushToken[vbiRaKMOvzgPU5FmGA-FJS]','2026-09-11 18:46:13','2026-09-14T06:14:25.106Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1742,'ExponentPushToken[-STT_6OXE_VGPmkDyd6d2p]','2026-09-11 18:55:51','2026-09-11T18:55:51.645Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1743,'ExponentPushToken[18dx3-IGcOpP4YRacqhHaX]','2026-09-11 19:00:17','2026-09-11T19:00:17.246Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1745,'ExponentPushToken[PVHO9bPjJsEzqz78_bkgFS]','2026-09-11 19:12:19','2026-09-11T19:12:19.048Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1746,'ExponentPushToken[BsT_kcNTKbUba24MVy3KJB]','2026-09-11 19:15:26','2026-09-11T19:15:26.459Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1747,'ExponentPushToken[5RAeAOHe3JTw6xkQW8toOF]','2026-09-11 19:38:52','2026-09-11T19:38:52.942Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1746,'ExponentPushToken[BsT_kcNTKbUba24MVy3KJB]','2026-09-11 19:15:26','2026-09-14T19:19:04.740Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1747,'ExponentPushToken[5RAeAOHe3JTw6xkQW8toOF]','2026-09-11 19:38:52','2026-09-17T05:39:56.059Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1749,'ExponentPushToken[sObPOEDTPu7VLi24GT3UQw]','2026-09-11 19:44:58','2026-09-11T19:44:58.245Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1751,'ExponentPushToken[MVVr2JEOGh6XsD9mkVYNH5]','2026-09-11 19:48:04','2026-09-13T10:40:25.953Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1751,'ExponentPushToken[MVVr2JEOGh6XsD9mkVYNH5]','2026-09-11 19:48:04','2026-09-26T20:11:47.588Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1752,'ExponentPushToken[2oNPOYB4PWVKbP8Boj-AXX]','2026-09-11 19:48:21','2026-09-11T19:48:21.323Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1753,'ExponentPushToken[2Wip2tCKu7aeL4dL53z39M]','2026-09-11 19:48:26','2026-09-11T19:48:26.855Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1754,'ExponentPushToken[XeeRRFO8Bt3zSmoAblzEtK]','2026-09-11 19:49:08','2026-09-11T19:49:08.131Z'); @@ -9429,47 +10289,45 @@ INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VAL INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1757,'ExponentPushToken[9XVgDdIm4YGxW6kgYSl-Id]','2026-09-11 20:08:28','2026-09-12T15:31:08.210Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1758,'ExponentPushToken[cqv6uFKr9aBS7c3GULuIq8]','2026-09-11 20:12:54','2026-09-11T20:12:54.154Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1760,'ExponentPushToken[lU3gGbDzs0-Mzh47ugIIj1]','2026-09-11 20:20:35','2026-09-12T13:06:05.103Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1761,'ExponentPushToken[qDzToIMctJzIGSYPm1AU98]','2026-09-11 20:20:50','2026-09-11T20:20:50.156Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1762,'ExponentPushToken[T_ss81CVH741rfQ_esKJfT]','2026-09-11 20:33:37','2026-09-11T20:33:37.055Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1761,'ExponentPushToken[qDzToIMctJzIGSYPm1AU98]','2026-09-11 20:20:50','2026-09-18T17:23:12.592Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1762,'ExponentPushToken[T_ss81CVH741rfQ_esKJfT]','2026-09-11 20:33:37','2026-09-20T14:04:54.903Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1763,'ExponentPushToken[xUJycjKE4-EYAWGkrQO2ek]','2026-09-11 20:57:39','2026-09-11T20:57:39.853Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1764,'ExponentPushToken[2l7U46DGB_xC7wJI7INGoa]','2026-09-11 21:31:02','2026-09-11T21:31:02.325Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1765,'ExponentPushToken[Ar4zr2H_kYCipKq60T8abv]','2026-09-11 22:22:31','2026-09-11T22:22:31.922Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1765,'ExponentPushToken[Ar4zr2H_kYCipKq60T8abv]','2026-09-11 22:22:31','2026-09-18T14:48:33.106Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1766,'ExponentPushToken[84e9LOF7A-n-ZDnYGvLVnJ]','2026-09-11 23:19:07','2026-09-11T23:19:07.517Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1768,'ExponentPushToken[8pCSfmPACO3yXsBmBNs4ff]','2026-09-11 23:43:52','2026-09-11T23:43:52.149Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1769,'ExponentPushToken[IDE9RtJDVplfayJNxyL_pa]','2026-09-12 00:06:05','2026-09-12T00:06:05.268Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1771,'ExponentPushToken[3f0D5vElZEwdD6tQ_cvLh9]','2026-09-12 00:34:22','2026-09-12T00:34:22.707Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1772,'ExponentPushToken[or_qITKM6czx7Kyg9YqE5B]','2026-09-12 00:38:53','2026-09-12T00:38:53.445Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1772,'ExponentPushToken[or_qITKM6czx7Kyg9YqE5B]','2026-09-12 00:38:53','2026-09-22T07:53:10.685Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1773,'ExponentPushToken[DtGcUoIKWqKWZD9OE6k9tB]','2026-09-12 00:44:37','2026-09-13T13:07:53.838Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1774,'ExponentPushToken[9T5oHjIRov7RzXtb86aDDn]','2026-09-12 00:59:13','2026-09-12T00:59:13.883Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1775,'ExponentPushToken[XsFmMhF0zGPdHZYKI-GCyc]','2026-09-12 01:05:36','2026-09-12T17:48:36.469Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1776,'ExponentPushToken[DKQMNCHXHsws3fXXFGTpJj]','2026-09-12 01:16:38','2026-09-12T01:16:38.863Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1774,'ExponentPushToken[9T5oHjIRov7RzXtb86aDDn]','2026-09-12 00:59:13','2026-09-14T13:18:31.488Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1775,'ExponentPushToken[XsFmMhF0zGPdHZYKI-GCyc]','2026-09-12 01:05:36','2026-09-17T12:21:30.994Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1776,'ExponentPushToken[DKQMNCHXHsws3fXXFGTpJj]','2026-09-12 01:16:38','2026-09-14T13:50:37.856Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1777,'ExponentPushToken[9RjcN8Piq4361IeWwge53M]','2026-09-12 01:17:45','2026-09-12T14:35:50.284Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1779,'ExponentPushToken[XEyxkdDerAGVjEpEQ0JsmI]','2026-09-12 01:21:54','2026-09-12T01:21:54.732Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1779,'ExponentPushToken[XEyxkdDerAGVjEpEQ0JsmI]','2026-09-12 01:21:54','2026-09-18T05:41:51.196Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1780,'ExponentPushToken[pGPflCIh_AwYZaHkrBNXQL]','2026-09-12 01:25:39','2026-09-12T01:25:39.253Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1781,'ExponentPushToken[Bt101iL4vI3kISrQ07ghdr]','2026-09-12 01:28:09','2026-09-12T14:16:40.819Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1782,'ExponentPushToken[hm2m15MKRD4d2-tdzRt5gt]','2026-09-12 01:39:46','2026-09-12T01:39:46.755Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1783,'ExponentPushToken[E9sIOQLkdxRyW6wGIU-jlR]','2026-09-12 01:40:10','2026-09-12T03:25:47.117Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1784,'ExponentPushToken[SId1iNAFY95XcsMtz2uJrg]','2026-09-12 01:40:58','2026-09-12T01:40:58.447Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1785,'ExponentPushToken[2s238hCCzQIzEC3nnk1YGY]','2026-09-12 01:43:46','2026-09-12T01:43:46.041Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1786,'ExponentPushToken[1ZW7l1F_gtvooempuUjRO5]','2026-09-12 01:49:07','2026-09-13T06:46:53.698Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1787,'ExponentPushToken[QHpVTGLrRHYPMOHIukqWm-]','2026-09-12 01:58:23','2026-09-12T08:55:47.812Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1786,'ExponentPushToken[1ZW7l1F_gtvooempuUjRO5]','2026-09-12 01:49:07','2026-09-24T13:20:16.853Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1788,'ExponentPushToken[2V25ZQB3JhkpSGqJmhpZEk]','2026-09-12 01:59:44','2026-09-12T01:59:44.011Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1789,'ExponentPushToken[3ag3jYJZRVZ_g99wkBueuJ]','2026-09-12 02:02:11','2026-09-12T02:02:11.728Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1790,'ExponentPushToken[AkSlKjNmjj68Rhaaeu66Zq]','2026-09-12 02:05:49','2026-09-12T11:25:37.127Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1791,'ExponentPushToken[1XD9oaGM8SD8XSs8i9CHSq]','2026-09-12 02:05:53','2026-09-12T02:06:02.919Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1792,'ExponentPushToken[ICagSRMWwIgVB1ID2d04Yn]','2026-09-12 02:06:46','2026-09-13T11:02:24.020Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1793,'ExponentPushToken[LkUkYpHAGc_RgU7U96zfYZ]','2026-09-12 02:07:21','2026-09-12T02:07:21.350Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1794,'ExponentPushToken[9xVpMAET53ns4_h6ukXzpc]','2026-09-12 02:07:49','2026-09-12T02:09:42.567Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1794,'ExponentPushToken[9xVpMAET53ns4_h6ukXzpc]','2026-09-12 02:07:49','2026-09-26T14:19:38.957Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1796,'ExponentPushToken[O9f0R3ICz0Iaa-pmhmNYos]','2026-09-12 02:15:02','2026-09-13T11:26:03.432Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1797,'ExponentPushToken[FzIughEQNoPQUJWvP9hdpR]','2026-09-12 02:19:31','2026-09-12T02:19:31.993Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1798,'ExponentPushToken[0dHM-5O2pqjyuSs9LKqkCY]','2026-09-12 02:21:14','2026-09-12T02:21:14.710Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1799,'ExponentPushToken[jPR6iMEYUQUelPxCuIpWNz]','2026-09-12 02:23:57','2026-09-12T02:23:59.218Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1799,'ExponentPushToken[jPR6iMEYUQUelPxCuIpWNz]','2026-09-12 02:23:57','2026-09-16T00:17:13.590Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1800,'ExponentPushToken[k8XGc1MngaCM15xXUey8mH]','2026-09-12 02:27:13','2026-09-12T02:27:13.218Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1801,'ExponentPushToken[kp46dhEPMW5xHfcVtziGYG]','2026-09-12 02:29:18','2026-09-12T02:29:18.886Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1802,'ExponentPushToken[yi9prLBrhd4Oge6lZghR_L]','2026-09-12 02:32:58','2026-09-12T02:32:58.329Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1803,'ExponentPushToken[TG-U7nHHX75rcFnU7K3oHy]','2026-09-12 02:34:05','2026-09-12T02:34:05.915Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1804,'ExponentPushToken[LbSnE4Ht_5xc6lBzfJkKq_]','2026-09-12 02:35:33','2026-09-12T02:35:33.075Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1805,'ExponentPushToken[GnuYWJPJgqETMYpZuVfhjg]','2026-09-12 02:37:11','2026-09-13T00:29:55.684Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1804,'ExponentPushToken[LbSnE4Ht_5xc6lBzfJkKq_]','2026-09-12 02:35:33','2026-09-20T07:34:50.294Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1805,'ExponentPushToken[GnuYWJPJgqETMYpZuVfhjg]','2026-09-12 02:37:11','2026-09-17T06:58:28.526Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1806,'ExponentPushToken[78KYu2Ec3zlYTzFEQyPrKE]','2026-09-12 02:41:54','2026-09-12T02:41:54.475Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1808,'ExponentPushToken[HFFlHvLglWy1ooNyIsAdkq]','2026-09-12 02:46:36','2026-09-12T02:46:36.856Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1809,'ExponentPushToken[BXjlWTCl8s-ZZInE9byr1Q]','2026-09-12 02:52:57','2026-09-12T03:46:34.000Z'); @@ -9483,137 +10341,127 @@ INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VAL INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1820,'ExponentPushToken[QdA3NTFzgVe8umY8jkVFwo]','2026-09-12 03:35:42','2026-09-12T03:37:11.057Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1822,'ExponentPushToken[wQ97KkCEgFmeQi7voo8aEp]','2026-09-12 03:39:05','2026-09-12T03:39:05.174Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1823,'ExponentPushToken[kXO8QnCRIa1qg3ePrQZVC_]','2026-09-12 03:41:26','2026-09-12T03:41:26.282Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1824,'ExponentPushToken[S6sYVXAbX0CcK4EalgSUIw]','2026-09-12 03:41:41','2026-09-12T03:41:41.340Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1824,'ExponentPushToken[S6sYVXAbX0CcK4EalgSUIw]','2026-09-12 03:41:41','2026-09-22T04:35:20.319Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1826,'ExponentPushToken[ZHOY1JLk48DL39dQdUQJ2v]','2026-09-12 03:42:57','2026-09-12T03:42:57.606Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1827,'ExponentPushToken[ihZ50FMvptZGDgJRLhC4sh]','2026-09-12 03:44:07','2026-09-12T03:44:07.614Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1828,'ExponentPushToken[ahxrNZEENF6MuAu5c4cQDG]','2026-09-12 03:48:24','2026-09-12T03:55:52.784Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1829,'ExponentPushToken[nkR-j-Imm9i549XSSUSKSF]','2026-09-12 03:55:56','2026-09-12T03:55:56.181Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1828,'ExponentPushToken[ahxrNZEENF6MuAu5c4cQDG]','2026-09-12 03:48:24','2026-09-14T06:26:34.022Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1829,'ExponentPushToken[nkR-j-Imm9i549XSSUSKSF]','2026-09-12 03:55:56','2026-09-26T11:08:02.012Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1830,'ExponentPushToken[VQxpyLIAvGjzcv4vgkLYMf]','2026-09-12 03:56:17','2026-09-12T04:49:47.482Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1831,'ExponentPushToken[cJxCbaOagbae-Llcx3-aMY]','2026-09-12 03:58:23','2026-09-12T04:15:57.400Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1832,'ExponentPushToken[xQqFKeGBf0otuBRveYjGoc]','2026-09-12 03:59:11','2026-09-12T06:46:06.135Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1833,'ExponentPushToken[NmgK5jEv40JeLvsospGzcU]','2026-09-12 03:59:44','2026-09-12T03:59:44.214Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1834,'ExponentPushToken[X2-6GTLdx8atRtZttfe4Vx]','2026-09-12 03:59:49','2026-09-12T04:02:04.423Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1835,'ExponentPushToken[fFqSgdMNFfpwbdRBkFkjJA]','2026-09-12 04:07:24','2026-09-13T03:28:01.625Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1834,'ExponentPushToken[X2-6GTLdx8atRtZttfe4Vx]','2026-09-12 03:59:49','2026-09-25T04:57:26.717Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1835,'ExponentPushToken[fFqSgdMNFfpwbdRBkFkjJA]','2026-09-12 04:07:24','2026-09-24T04:00:58.618Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1836,'ExponentPushToken[ta4yH4MV4dN83Tv2VMqQb4]','2026-09-12 04:11:49','2026-09-12T04:11:49.920Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1837,'ExponentPushToken[izCWh4OnkUCqL7SwtRixeF]','2026-09-12 04:12:08','2026-09-13T14:33:46.242Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1837,'ExponentPushToken[izCWh4OnkUCqL7SwtRixeF]','2026-09-12 04:12:08','2026-09-25T11:49:32.197Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1838,'ExponentPushToken[VhggFNCqqwrX-sH6HHN-8J]','2026-09-12 04:15:03','2026-09-13T17:38:45.018Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1839,'ExponentPushToken[Goe8K6OrJtaoZiAwOmCzp6]','2026-09-12 04:15:13','2026-09-12T04:15:13.014Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1840,'ExponentPushToken[NUCDyDJCFM5W8h4scmflUe]','2026-09-12 04:15:58','2026-09-12T04:15:58.006Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1841,'ExponentPushToken[q5uRJGCBSj7LZCT5ZkpWzU]','2026-09-12 04:16:09','2026-09-12T05:15:17.079Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1842,'ExponentPushToken[ByAopWPEgg7LrVgeqHIt57]','2026-09-12 04:16:15','2026-09-13T11:14:03.117Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1842,'ExponentPushToken[ByAopWPEgg7LrVgeqHIt57]','2026-09-12 04:16:15','2026-09-16T06:22:38.423Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1848,'ExponentPushToken[DCSdpJCA3l8AiDoFzhU5Gg]','2026-09-12 04:38:36','2026-09-12T04:38:36.752Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1850,'ExponentPushToken[4-F43WDHJwp_1MhicCOSpa]','2026-09-12 04:46:28','2026-09-12T15:20:16.088Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1850,'ExponentPushToken[4-F43WDHJwp_1MhicCOSpa]','2026-09-12 04:46:28','2026-09-26T17:28:32.002Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1851,'ExponentPushToken[9ajilPJJoHBJdgx9wCEGEl]','2026-09-12 04:47:58','2026-09-12T04:47:58.402Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1853,'ExponentPushToken[n07lPzODGJ9gkw6QwyuZky]','2026-09-12 04:48:30','2026-09-13T14:08:55.346Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1853,'ExponentPushToken[n07lPzODGJ9gkw6QwyuZky]','2026-09-12 04:48:30','2026-09-22T14:23:25.917Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1854,'ExponentPushToken[_OE8lqKFboMmx1RjD2KNUx]','2026-09-12 04:50:05','2026-09-12T04:50:05.244Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1855,'ExponentPushToken[g2UcwsG6_oiGR6a8rtPQ3t]','2026-09-12 04:53:59','2026-09-12T04:53:59.587Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1856,'ExponentPushToken[os18upGxs2424LjdOkTomK]','2026-09-12 04:54:46','2026-09-13T03:46:18.890Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1857,'ExponentPushToken[icMe3tJU7WkEx_ZfbuRvxF]','2026-09-12 04:55:52','2026-09-12T04:55:52.855Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1858,'ExponentPushToken[JJnWbYOqDYYJxSzb_PDQOm]','2026-09-12 04:57:24','2026-09-12T04:59:20.933Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1858,'ExponentPushToken[JJnWbYOqDYYJxSzb_PDQOm]','2026-09-12 04:57:24','2026-09-22T09:44:45.638Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1859,'ExponentPushToken[INAbx6CCKcSg_lLNPw9LZA]','2026-09-12 04:58:10','2026-09-12T04:58:10.948Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1861,'ExponentPushToken[WBwGo1AmQKii0kGDqfWv3Y]','2026-09-12 04:59:34','2026-09-12T04:59:34.578Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1863,'ExponentPushToken[lDI4FlJM77I2Qg4vgvwK5Q]','2026-09-12 05:05:22','2026-09-12T05:05:22.331Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1864,'ExponentPushToken[JQAzHvCP4uLVZpHIVilvoZ]','2026-09-12 05:07:55','2026-09-13T01:32:40.487Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1865,'ExponentPushToken[87PUQIKgiUcH9_mgUR3HvI]','2026-09-12 05:09:10','2026-09-12T05:11:09.843Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1865,'ExponentPushToken[87PUQIKgiUcH9_mgUR3HvI]','2026-09-12 05:09:10','2026-09-16T07:30:05.639Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1866,'ExponentPushToken[E9kWmeE4Dz8gG_luh38lGY]','2026-09-12 05:09:12','2026-09-12T05:09:12.904Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1867,'ExponentPushToken[-PArpSHWAR6IHhac3Ihy93]','2026-09-12 05:14:36','2026-09-13T05:02:45.831Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1869,'ExponentPushToken[ztKEwrJShQuweUycnFsIEf]','2026-09-12 05:16:11','2026-09-13T13:18:19.820Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1871,'ExponentPushToken[lYaKtrIINVLoBuhng_YFJC]','2026-09-12 05:17:55','2026-09-12T05:17:55.672Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1872,'ExponentPushToken[9SP3feBe3iAr6f_rmoPppm]','2026-09-12 05:20:00','2026-09-13T02:53:10.295Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1876,'ExponentPushToken[WB3b2vGIAMbIP9GQZ5hO7Q]','2026-09-12 05:40:30','2026-09-12T05:40:30.349Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1871,'ExponentPushToken[lYaKtrIINVLoBuhng_YFJC]','2026-09-12 05:17:55','2026-09-17T09:36:41.579Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1872,'ExponentPushToken[9SP3feBe3iAr6f_rmoPppm]','2026-09-12 05:20:00','2026-09-16T13:02:38.682Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1877,'ExponentPushToken[phDbfSH-yQss0cbaZP_abp]','2026-09-12 05:43:10','2026-09-12T05:43:10.189Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1878,'ExponentPushToken[NYWm8DIN-lNi0GxDBQ4_NP]','2026-09-12 05:46:08','2026-09-12T05:46:08.410Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1879,'ExponentPushToken[PbDAlNNLD5Vai6bZgD1CtH]','2026-09-12 05:47:00','2026-09-12T12:04:26.250Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1880,'ExponentPushToken[GEpxSbP3mgGC_uEXmFZTHa]','2026-09-12 05:49:10','2026-09-12T14:22:50.880Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1882,'ExponentPushToken[ta7f7nA1-1F_CwvMD7aYkw]','2026-09-12 05:51:23','2026-09-12T05:51:23.110Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1880,'ExponentPushToken[GEpxSbP3mgGC_uEXmFZTHa]','2026-09-12 05:49:10','2026-09-19T14:51:52.588Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1883,'ExponentPushToken[FXBtQEKfjXxdrQUhOz_39_]','2026-09-12 05:51:31','2026-09-12T05:51:31.295Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1886,'ExponentPushToken[5J-QiVPRMLLNGl7YejTN0L]','2026-09-12 06:00:33','2026-09-12T06:25:43.556Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1887,'ExponentPushToken[G_ov4sGWXNq9V0GYWfhcGY]','2026-09-12 06:00:48','2026-09-13T07:35:27.169Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1886,'ExponentPushToken[5J-QiVPRMLLNGl7YejTN0L]','2026-09-12 06:00:33','2026-09-23T09:44:06.295Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1887,'ExponentPushToken[G_ov4sGWXNq9V0GYWfhcGY]','2026-09-12 06:00:48','2026-09-14T04:37:03.606Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1889,'ExponentPushToken[_DJIExP-KGM1eEDpB73Qx7]','2026-09-12 06:03:01','2026-09-12T06:03:01.103Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1890,'ExponentPushToken[2Sy_N3Gm0KUbMVqTBeLQRv]','2026-09-12 06:04:09','2026-09-12T06:04:09.799Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1891,'ExponentPushToken[1oAs5GBcdmB1SwvdHkIbCB]','2026-09-12 06:04:58','2026-09-12T06:04:58.206Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1891,'ExponentPushToken[1oAs5GBcdmB1SwvdHkIbCB]','2026-09-12 06:04:58','2026-09-24T05:34:24.593Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1892,'ExponentPushToken[QkMnTXK9BK3jCTPNmQmtCf]','2026-09-12 06:05:51','2026-09-12T06:05:51.362Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1893,'ExponentPushToken[tiZy9uGX2ERidETFAQUAEq]','2026-09-12 06:20:59','2026-09-13T02:56:09.034Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1894,'ExponentPushToken[_fHgKLFLnVUuilMQXD09JS]','2026-09-12 06:30:53','2026-09-12T06:30:53.596Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1894,'ExponentPushToken[_fHgKLFLnVUuilMQXD09JS]','2026-09-12 06:30:53','2026-09-23T15:32:36.001Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1895,'ExponentPushToken[UZXnKrCtTRt3jT03P9E9Dp]','2026-09-12 06:38:59','2026-09-12T16:23:00.751Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1896,'ExponentPushToken[tc_sOYCw4xO_8WSNX2u58E]','2026-09-12 06:39:49','2026-09-12T06:39:49.874Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1896,'ExponentPushToken[tc_sOYCw4xO_8WSNX2u58E]','2026-09-12 06:39:49','2026-09-20T03:47:06.249Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1897,'ExponentPushToken[nT646OMvq6Cg15reUt1wZe]','2026-09-12 06:48:44','2026-09-13T11:05:00.393Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1898,'ExponentPushToken[cAni9gMqZOxKIse9hyX1SQ]','2026-09-12 06:50:35','2026-09-12T06:50:35.801Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1899,'ExponentPushToken[jOCJZqGYiums4IfZfG-zeG]','2026-09-12 06:55:41','2026-09-12T14:38:48.523Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1898,'ExponentPushToken[cAni9gMqZOxKIse9hyX1SQ]','2026-09-12 06:50:35','2026-09-20T08:39:17.589Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1900,'ExponentPushToken[lQpOkzPRQDM8VHO1F3qz8m]','2026-09-12 06:58:28','2026-09-12T06:58:28.589Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1901,'ExponentPushToken[1cfbAjJmXaY9td_HzlM56g]','2026-09-12 06:58:52','2026-09-12T06:58:52.395Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1902,'ExponentPushToken[5tc0i0HZSJaKTo48jnSbpQ]','2026-09-12 07:00:22','2026-09-13T02:08:46.727Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1905,'ExponentPushToken[x7lKG6N4E1jwkJ50g6_D-1]','2026-09-12 07:11:38','2026-09-12T07:11:38.624Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1906,'ExponentPushToken[_KDrJpK17mvA0BKqhmBAEb]','2026-09-12 07:16:09','2026-09-12T07:16:09.615Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1907,'ExponentPushToken[vwbIRhAK9JgIN3ayxWKEhp]','2026-09-12 07:17:54','2026-09-12T08:06:08.712Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1908,'ExponentPushToken[3q7Jf-OmCOew6oKq0Qcoj_]','2026-09-12 07:17:59','2026-09-13T12:43:50.334Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1909,'ExponentPushToken[InTwvGCpU9UYSl5pTHz-jg]','2026-09-12 07:20:12','2026-09-12T07:20:12.080Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1910,'ExponentPushToken[lHncFcBEk0FOPc022fIGWA]','2026-09-12 07:28:51','2026-09-13T06:07:27.944Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1908,'ExponentPushToken[3q7Jf-OmCOew6oKq0Qcoj_]','2026-09-12 07:17:59','2026-09-25T15:18:30.664Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1909,'ExponentPushToken[InTwvGCpU9UYSl5pTHz-jg]','2026-09-12 07:20:12','2026-09-15T09:00:45.243Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1910,'ExponentPushToken[lHncFcBEk0FOPc022fIGWA]','2026-09-12 07:28:51','2026-09-26T14:55:01.893Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1911,'ExponentPushToken[SVJHjNA1A7NXZ2JqKBBjZl]','2026-09-12 07:31:26','2026-09-12T07:31:26.462Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1912,'ExponentPushToken[hUIKXpF3XEWt8_Ua8j6NAn]','2026-09-12 07:33:49','2026-09-12T14:19:04.594Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1913,'ExponentPushToken[T4ucvjCP-AHIADtcbSm72r]','2026-09-12 07:38:31','2026-09-12T07:38:31.331Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1914,'ExponentPushToken[C6pSblOBu6eRhRPpMBw7sj]','2026-09-12 07:43:13','2026-09-13T04:41:12.137Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1915,'ExponentPushToken[HpSnE9CApY00OmU1qg2rVE]','2026-09-12 07:46:14','2026-09-12T07:54:54.535Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1916,'ExponentPushToken[y4f78_Auf9EzD8mCPOE0G1]','2026-09-12 07:52:59','2026-09-12T07:52:59.856Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1915,'ExponentPushToken[HpSnE9CApY00OmU1qg2rVE]','2026-09-12 07:46:14','2026-09-16T11:27:16.235Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1916,'ExponentPushToken[y4f78_Auf9EzD8mCPOE0G1]','2026-09-12 07:52:59','2026-09-16T00:06:33.526Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1917,'ExponentPushToken[K2MVqwMMr4XZMlX3hC4Zo4]','2026-09-12 08:01:41','2026-09-12T08:01:41.930Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1919,'ExponentPushToken[is3JrnHaqe2AO_v6Y4OJ49]','2026-09-12 08:07:00','2026-09-13T03:39:15.023Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1919,'ExponentPushToken[is3JrnHaqe2AO_v6Y4OJ49]','2026-09-12 08:07:00','2026-09-15T08:10:29.900Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1920,'ExponentPushToken[x5VkP3J2b6xoz6cg5tLQms]','2026-09-12 08:15:23','2026-09-12T08:15:23.753Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1921,'ExponentPushToken[Md6CxsLsSiXB6ji3BBH-I5]','2026-09-12 08:22:43','2026-09-12T08:22:43.497Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1923,'ExponentPushToken[cAHh4OEpof2saoyR7_95rr]','2026-09-12 08:25:27','2026-09-13T14:19:32.864Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1925,'ExponentPushToken[9qn4-HFN09JmOjgnJfMUlu]','2026-09-12 08:35:42','2026-09-14T02:36:58.946Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1926,'ExponentPushToken[Zy_NF4BdEOZ3HAu4eM-yn5]','2026-09-12 08:36:36','2026-09-13T13:29:01.311Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1923,'ExponentPushToken[cAHh4OEpof2saoyR7_95rr]','2026-09-12 08:25:27','2026-09-14T04:38:48.516Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1925,'ExponentPushToken[9qn4-HFN09JmOjgnJfMUlu]','2026-09-12 08:35:42','2026-09-22T16:06:29.441Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1927,'ExponentPushToken[LNKq6fM1Ubov-IvxF-mXBh]','2026-09-12 08:41:19','2026-09-12T08:41:19.871Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1928,'ExponentPushToken[ijn-4JJ56jJADCfEK-A8JJ]','2026-09-12 08:44:12','2026-09-12T08:44:12.358Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1930,'ExponentPushToken[jR8_SXCCT27d44Q6g6XdmD]','2026-09-12 08:49:06','2026-09-12T08:49:06.221Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1931,'ExponentPushToken[MlG3RnCaP0w8MbTRwo1vh_]','2026-09-12 09:04:08','2026-09-12T09:04:08.765Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1932,'ExponentPushToken[zJtVX4KQiTYjKXH1lSh_Uu]','2026-09-12 09:05:03','2026-09-13T07:30:41.829Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1933,'ExponentPushToken[IIZlsyDWcIQtUi_jEj-myT]','2026-09-12 09:15:08','2026-09-12T09:15:08.594Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1933,'ExponentPushToken[IIZlsyDWcIQtUi_jEj-myT]','2026-09-12 09:15:08','2026-09-26T08:24:34.152Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1934,'ExponentPushToken[5PcRccOLXYBsQr8vgRg10P]','2026-09-12 09:15:25','2026-09-12T09:15:25.261Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1935,'ExponentPushToken[8HUWaKGdwMj6gyHn6Vfhao]','2026-09-12 09:17:50','2026-09-12T09:17:50.599Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1936,'ExponentPushToken[lWe3ZNJBWissM0ReHbTzg7]','2026-09-12 09:20:04','2026-09-14T02:49:43.054Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1936,'ExponentPushToken[lWe3ZNJBWissM0ReHbTzg7]','2026-09-12 09:20:04','2026-09-26T11:00:00.624Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1938,'ExponentPushToken[uo5mioA2THYhTnu4gskiPu]','2026-09-12 09:27:58','2026-09-12T09:27:58.655Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1939,'ExponentPushToken[rbOcmbGd9wVfSKnZ6ViMho]','2026-09-12 09:30:24','2026-09-12T09:30:24.102Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1940,'ExponentPushToken[UC5pKNCXpLRUyextZ6CjZ9]','2026-09-12 09:31:39','2026-09-12T09:31:39.864Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1941,'ExponentPushToken[0A5i8bBTbwwv6QV_JIqgVJ]','2026-09-12 09:36:58','2026-09-12T09:49:17.834Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1942,'ExponentPushToken[C-Or_HKOgftUig5wU8UDbE]','2026-09-12 09:37:21','2026-09-12T09:37:21.849Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1942,'ExponentPushToken[C-Or_HKOgftUig5wU8UDbE]','2026-09-12 09:37:21','2026-09-27T02:55:30.516Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1943,'ExponentPushToken[luuLVLP4ClIM3KtPfLuf4z]','2026-09-12 09:41:37','2026-09-12T09:41:37.740Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1945,'ExponentPushToken[wXabLnASgZ5ma9nTYlRY-q]','2026-09-12 10:18:13','2026-09-12T10:18:13.987Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1946,'ExponentPushToken[ZOfmbfIEc2UC0hqmX2EWMh]','2026-09-12 10:22:38','2026-09-12T19:47:44.130Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1947,'ExponentPushToken[u3oZuPLqx79sTqyrxwvvw1]','2026-09-12 10:27:30','2026-09-12T10:27:30.378Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1947,'ExponentPushToken[u3oZuPLqx79sTqyrxwvvw1]','2026-09-12 10:27:30','2026-09-15T11:31:08.898Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1948,'ExponentPushToken[3ayueIPludsSFs6MP3vu_e]','2026-09-12 10:27:53','2026-09-12T10:27:53.047Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1950,'ExponentPushToken[FO9J0eA0OfyW2GLsAbpjsz]','2026-09-12 10:38:42','2026-09-12T10:38:42.980Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1951,'ExponentPushToken[yxXXOLF5Uv6-kMdbYm6dou]','2026-09-12 10:48:15','2026-09-12T10:48:15.403Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1953,'ExponentPushToken[AwxkMRCrXuLxLu2QUY9utE]','2026-09-12 10:51:39','2026-09-12T10:51:39.119Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1951,'ExponentPushToken[yxXXOLF5Uv6-kMdbYm6dou]','2026-09-12 10:48:15','2026-09-25T13:25:17.967Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1953,'ExponentPushToken[AwxkMRCrXuLxLu2QUY9utE]','2026-09-12 10:51:39','2026-09-17T10:08:49.297Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1954,'ExponentPushToken[Y_vK1dM2xdwuOtB1N74Hdj]','2026-09-12 10:54:35','2026-09-14T04:00:27.694Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1955,'ExponentPushToken[5QC6XEBUi1-JWz5M9hP6BG]','2026-09-12 11:00:50','2026-09-13T09:42:25.915Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1956,'ExponentPushToken[e_KQv-GAc3Na8EYxds1PGG]','2026-09-12 11:03:13','2026-09-12T11:03:13.486Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1955,'ExponentPushToken[5QC6XEBUi1-JWz5M9hP6BG]','2026-09-12 11:00:50','2026-09-19T03:34:24.644Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1956,'ExponentPushToken[e_KQv-GAc3Na8EYxds1PGG]','2026-09-12 11:03:13','2026-09-26T07:43:17.254Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1957,'ExponentPushToken[mFbWpsLjj9N98BfStTB_9J]','2026-09-12 11:10:07','2026-09-12T11:10:07.441Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1958,'ExponentPushToken[ky2Gz-PZ5kywBXNb1rWHiG]','2026-09-12 11:11:03','2026-09-12T11:11:03.953Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1959,'ExponentPushToken[IrzaJ-Ec7qVwuJ9JyNKkN6]','2026-09-12 11:26:58','2026-09-12T13:49:53.312Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1959,'ExponentPushToken[IrzaJ-Ec7qVwuJ9JyNKkN6]','2026-09-12 11:26:58','2026-09-20T16:36:07.885Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1961,'ExponentPushToken[ZFGKJtCBtNM3r-IpJJSu41]','2026-09-12 11:34:11','2026-09-12T11:43:41.272Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1962,'ExponentPushToken[RliqQZIg078axZLphZAHOD]','2026-09-12 11:37:09','2026-09-12T11:41:38.856Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1963,'ExponentPushToken[cYu6EAAQLiQX4lVZsaeqHA]','2026-09-12 11:42:24','2026-09-12T11:42:24.268Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1964,'ExponentPushToken[fh5mydDX5NpFjIVBTUzQSc]','2026-09-12 11:44:25','2026-09-12T11:44:25.501Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1965,'ExponentPushToken[pb9A8vNISIuCDXllFIXiu4]','2026-09-12 11:46:35','2026-09-13T06:58:53.073Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1966,'ExponentPushToken[FdHCwRJEyr7l52VP-11jM0]','2026-09-12 11:46:46','2026-09-12T11:46:46.439Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1966,'ExponentPushToken[FdHCwRJEyr7l52VP-11jM0]','2026-09-12 11:46:46','2026-09-16T14:47:22.623Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1968,'ExponentPushToken[ddaRtWC3t4mk_bVKZo4Xp7]','2026-09-12 11:52:17','2026-09-12T11:52:17.772Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1969,'ExponentPushToken[qUHruRAX6jMNOO_EeThQuy]','2026-09-12 11:58:18','2026-09-12T11:58:18.315Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1969,'ExponentPushToken[qUHruRAX6jMNOO_EeThQuy]','2026-09-12 11:58:18','2026-09-23T09:23:26.088Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1970,'ExponentPushToken[iplZ83L88KkkoCI2JK5EqK]','2026-09-12 12:06:18','2026-09-13T17:33:20.373Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1971,'ExponentPushToken[qwRf1wOdU-F1cS5ax7uNNz]','2026-09-12 12:09:29','2026-09-12T12:09:29.550Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1972,'ExponentPushToken[DsNt5gExvQ7ngxIUaBr0bC]','2026-09-12 12:09:30','2026-09-13T07:44:51.864Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1973,'ExponentPushToken[7TXnb3DDd4auqL_j5dfxN3]','2026-09-12 12:11:16','2026-09-12T12:11:16.121Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1975,'ExponentPushToken[QhgMwrHjYnzyft3n1sKJCs]','2026-09-12 12:18:24','2026-09-12T12:18:47.762Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1975,'ExponentPushToken[QhgMwrHjYnzyft3n1sKJCs]','2026-09-12 12:18:24','2026-09-26T05:14:54.424Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1977,'ExponentPushToken[WolohLEyTe2TsoSPwxiYMx]','2026-09-12 12:24:26','2026-09-12T16:43:07.666Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1978,'ExponentPushToken[mSt0xVLKaVJwg8CeuyCavi]','2026-09-12 12:25:54','2026-09-12T12:25:54.252Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1979,'ExponentPushToken[U2j41LIuA4ZqK-_keYGAzw]','2026-09-12 12:43:35','2026-09-12T12:43:35.146Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1980,'ExponentPushToken[63R_4tIkjmr7lSlwmQxYEr]','2026-09-12 12:46:51','2026-09-12T12:46:51.595Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1981,'ExponentPushToken[97Cs41CNJVVKtuQScv8s6l]','2026-09-12 12:51:18','2026-09-12T12:51:18.780Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1982,'ExponentPushToken[3HQNRfFO6GB6vB4BDyc0FW]','2026-09-12 13:03:57','2026-09-12T13:03:57.545Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1983,'ExponentPushToken[JdH9rqPuxQU5jahvSsqyhJ]','2026-09-12 13:16:12','2026-09-13T04:09:50.385Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1984,'ExponentPushToken[kf5oXgKEPLxoVX_2gzpc-q]','2026-09-12 13:30:27','2026-09-12T13:30:27.471Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1984,'ExponentPushToken[kf5oXgKEPLxoVX_2gzpc-q]','2026-09-12 13:30:27','2026-09-18T15:28:48.442Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1985,'ExponentPushToken[I0krrJNucR0afhJKKuSToF]','2026-09-12 13:31:30','2026-09-12T13:31:30.128Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1987,'ExponentPushToken[WOFPzrL5xoxWBIwc5INpjC]','2026-09-12 13:32:47','2026-09-12T13:32:47.140Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1988,'ExponentPushToken[jkXV9tFeH346IKPcTbkmFp]','2026-09-12 13:33:10','2026-09-12T13:33:10.784Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1988,'ExponentPushToken[jkXV9tFeH346IKPcTbkmFp]','2026-09-12 13:33:10','2026-09-23T13:58:33.753Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1989,'ExponentPushToken[0VUmThEZRDwKgT9YYM1OuK]','2026-09-12 13:40:28','2026-09-12T13:40:28.816Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1991,'ExponentPushToken[CN6pKmLrl_cc5FmZNQ3ySj]','2026-09-12 13:50:13','2026-09-12T13:50:13.676Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1992,'ExponentPushToken[qAkd_ELiiBzdaV1FydHKEj]','2026-09-12 13:50:54','2026-09-12T13:50:54.705Z'); @@ -9624,9 +10472,9 @@ INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VAL INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1998,'ExponentPushToken[gN2Z_pMS_pfZRivRRhL0ZW]','2026-09-12 14:19:15','2026-09-12T14:19:15.663Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(1999,'ExponentPushToken[N9k1BVEN1CcOsVxbiUefd4]','2026-09-12 14:20:16','2026-09-12T14:38:36.360Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2000,'ExponentPushToken[6eTzrPN8sMV0CoAktO0cQ-]','2026-09-12 14:28:50','2026-09-12T14:28:50.329Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2001,'ExponentPushToken[ulyIyaAZnuxjCoQcHuTJy_]','2026-09-12 14:33:10','2026-09-13T03:40:12.386Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2001,'ExponentPushToken[ulyIyaAZnuxjCoQcHuTJy_]','2026-09-12 14:33:10','2026-09-27T09:41:42.340Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2003,'ExponentPushToken[XrECylN9Ltq7Mr7zY6wBn7]','2026-09-12 14:42:33','2026-09-12T14:42:33.678Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2004,'ExponentPushToken[XyhF5xM5uS-t-89ctgvlKs]','2026-09-12 14:57:21','2026-09-13T05:37:47.612Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2004,'ExponentPushToken[XyhF5xM5uS-t-89ctgvlKs]','2026-09-12 14:57:21','2026-09-27T04:32:36.272Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2007,'ExponentPushToken[C9X8ZcAFC6MWf7-Jh1fWNS]','2026-09-12 15:17:24','2026-09-12T15:17:24.606Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2008,'ExponentPushToken[A-vrf6Btsx6gDguAI3E4Ur]','2026-09-12 15:28:56','2026-09-12T15:28:56.761Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2009,'ExponentPushToken[dGxykkGmeVTjphtE10_qey]','2026-09-12 16:13:17','2026-09-13T04:45:29.508Z'); @@ -9642,27 +10490,25 @@ INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VAL INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2020,'ExponentPushToken[9_nT4-PA-3iihAYY7xW7SZ]','2026-09-12 18:30:10','2026-09-13T05:08:50.460Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2021,'ExponentPushToken[cAMXwxMEnO1FVRPhcwm3il]','2026-09-12 21:13:18','2026-09-12T21:13:18.330Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2022,'ExponentPushToken[Tv_b_iD62s7yV5bI4yvlHd]','2026-09-13 00:01:00','2026-09-13T00:01:00.398Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2024,'ExponentPushToken[6bYAVRFRbNFKNjfUtjBX0f]','2026-09-13 02:10:21','2026-09-13T05:44:13.524Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2024,'ExponentPushToken[6bYAVRFRbNFKNjfUtjBX0f]','2026-09-13 02:10:21','2026-09-19T03:24:19.420Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2025,'ExponentPushToken[Jzlu_BM-1achYZkSqqFcvC]','2026-09-13 02:39:54','2026-09-13T02:39:54.313Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2026,'ExponentPushToken[mO-cXYP174VhxBZf1pcAFO]','2026-09-13 02:47:16','2026-09-13T02:47:16.966Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2027,'ExponentPushToken[KZZs_oKswSQhcJ1wvae3k2]','2026-09-13 03:07:58','2026-09-13T03:07:58.512Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2027,'ExponentPushToken[KZZs_oKswSQhcJ1wvae3k2]','2026-09-13 03:07:58','2026-09-23T10:08:11.891Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2028,'ExponentPushToken[EzKyBLBjY8_PenzrSED9FT]','2026-09-13 03:11:08','2026-09-13T03:11:08.763Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2030,'ExponentPushToken[lZCayoJhcBFynW-dFPAswL]','2026-09-13 03:33:34','2026-09-13T03:33:34.686Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2031,'ExponentPushToken[tUyXUzBBjZtE6hvVWxZIHS]','2026-09-13 03:37:36','2026-09-13T03:37:36.894Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2032,'ExponentPushToken[xY-QUnCRehyfjgksaNT6Vp]','2026-09-13 04:31:42','2026-09-13T04:31:42.386Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2033,'ExponentPushToken[EIoHh_FkM3YbeuQgmQ8vAK]','2026-09-13 04:41:54','2026-09-13T04:43:50.632Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2032,'ExponentPushToken[xY-QUnCRehyfjgksaNT6Vp]','2026-09-13 04:31:42','2026-09-16T16:54:50.094Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2033,'ExponentPushToken[EIoHh_FkM3YbeuQgmQ8vAK]','2026-09-13 04:41:54','2026-09-14T06:10:03.365Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2035,'ExponentPushToken[gOWOK1Lj-Ad7GlvW12APSV]','2026-09-13 04:54:03','2026-09-13T04:54:03.842Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2036,'ExponentPushToken[2vxs6ML87IX5UhdomrMbFh]','2026-09-13 04:58:41','2026-09-13T04:58:41.769Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2037,'ExponentPushToken[wIE-VIAbnSZIwmYSiF38Qa]','2026-09-13 05:12:17','2026-09-13T05:12:17.833Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2037,'ExponentPushToken[wIE-VIAbnSZIwmYSiF38Qa]','2026-09-13 05:12:17','2026-09-16T01:46:03.293Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2039,'ExponentPushToken[QP1SxDATdloqdEJURS-OR7]','2026-09-13 05:17:03','2026-09-13T05:17:03.720Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2041,'ExponentPushToken[RTyKzsAZw95vYCBe8m81y-]','2026-09-13 05:44:17','2026-09-13T05:44:18.008Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2042,'ExponentPushToken[fzAMDCDzxfz_INDdHPv4sp]','2026-09-13 05:51:02','2026-09-13T05:51:02.515Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2044,'ExponentPushToken[nMxN7LAPu4GI_K5QhPZlpN]','2026-09-13 05:58:31','2026-09-13T05:58:31.660Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2045,'ExponentPushToken[-yok3BCvBHmNDbEAlzbVKQ]','2026-09-13 06:08:35','2026-09-13T06:08:35.365Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2046,'ExponentPushToken[QfH_4CLRAMNx-5Lf_1Odq6]','2026-09-13 06:26:05','2026-09-13T06:26:05.572Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2047,'ExponentPushToken[E8wvV1ECHEF_1tvS5Wq19b]','2026-09-13 06:39:07','2026-09-13T06:39:07.582Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2048,'ExponentPushToken[YvlTBZJ3CqUWGnzIbK5puC]','2026-09-13 06:41:43','2026-09-13T06:41:43.016Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2050,'ExponentPushToken[a-MV_hP6nYdveLTdflflay]','2026-09-13 07:05:40','2026-09-13T07:05:40.898Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2050,'ExponentPushToken[a-MV_hP6nYdveLTdflflay]','2026-09-13 07:05:40','2026-09-22T13:55:14.770Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2051,'ExponentPushToken[8OraaJO4AUny905kXG_Riz]','2026-09-13 07:07:57','2026-09-13T07:55:35.948Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2052,'ExponentPushToken[lgsdUfDmej6MNPrubkWv2U]','2026-09-13 07:21:31','2026-09-13T07:21:31.680Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2054,'ExponentPushToken[pnUk6DPrYdVsTeHclGELMW]','2026-09-13 07:53:16','2026-09-13T07:53:16.061Z'); @@ -9670,31 +10516,190 @@ INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VAL INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2059,'ExponentPushToken[gQuw3vM5QA6FI90ZmedY7K]','2026-09-13 09:00:28','2026-09-13T09:00:28.119Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2060,'ExponentPushToken[Olt5jeMgKNzexc1MNKqEYZ]','2026-09-13 09:16:19','2026-09-13T09:16:19.530Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2061,'ExponentPushToken[KkPacuAotPH0lDPLMOFhad]','2026-09-13 09:17:36','2026-09-13T09:17:36.966Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2062,'ExponentPushToken[qtpIS4BNrgXraBqVlyarSq]','2026-09-13 10:02:31','2026-09-13T10:02:31.451Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2062,'ExponentPushToken[qtpIS4BNrgXraBqVlyarSq]','2026-09-13 10:02:31','2026-09-26T01:37:54.014Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2064,'ExponentPushToken[tkS3jtMvbZtS0ahPvnuvwU]','2026-09-13 10:07:55','2026-09-13T10:07:55.712Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2065,'ExponentPushToken[8R5Ix3OPMv5_Z2WR43688q]','2026-09-13 10:23:04','2026-09-13T10:23:04.020Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2067,'ExponentPushToken[qI3I05DTSNjXcW5kRsS5n5]','2026-09-13 10:51:45','2026-09-13T10:51:45.192Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2065,'ExponentPushToken[8R5Ix3OPMv5_Z2WR43688q]','2026-09-13 10:23:04','2026-09-18T06:05:36.441Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2067,'ExponentPushToken[qI3I05DTSNjXcW5kRsS5n5]','2026-09-13 10:51:45','2026-09-20T04:43:53.984Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2068,'ExponentPushToken[1vPQRaH5hj0v-3vCfM2zC8]','2026-09-13 10:54:06','2026-09-13T10:54:06.885Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2070,'ExponentPushToken[SP0uoqEePgYKSW1FSmA8u1]','2026-09-13 11:10:53','2026-09-13T11:10:53.682Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2071,'ExponentPushToken[TCFYIgFGUV7DFhrEMK3JqP]','2026-09-13 11:45:17','2026-09-13T11:45:17.188Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2072,'ExponentPushToken[yPbBaQJRUmWk5MYx7qnFv-]','2026-09-13 12:56:05','2026-09-13T12:56:05.402Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2073,'ExponentPushToken[i2-DTMCw1jBy7cV6acRlqk]','2026-09-13 13:04:34','2026-09-13T15:46:46.668Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2072,'ExponentPushToken[yPbBaQJRUmWk5MYx7qnFv-]','2026-09-13 12:56:05','2026-09-27T03:58:19.808Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2073,'ExponentPushToken[i2-DTMCw1jBy7cV6acRlqk]','2026-09-13 13:04:34','2026-09-14T13:07:01.458Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2074,'ExponentPushToken[CpkyLUFnRc9_RRlnOC5BkG]','2026-09-13 13:29:02','2026-09-13T14:23:41.597Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2075,'ExponentPushToken[WIbIhfC8-8Fo2mBYTM8tO8]','2026-09-13 13:34:34','2026-09-13T14:24:26.053Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2076,'ExponentPushToken[wuJtHAGvzAF089z_FxMO0H]','2026-09-13 13:45:09','2026-09-13T13:45:09.944Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2075,'ExponentPushToken[WIbIhfC8-8Fo2mBYTM8tO8]','2026-09-13 13:34:34','2026-09-20T03:26:33.996Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2076,'ExponentPushToken[wuJtHAGvzAF089z_FxMO0H]','2026-09-13 13:45:09','2026-09-27T03:41:58.724Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2077,'ExponentPushToken[1CvoooHGWREPv8x1uoeAWv]','2026-09-13 13:54:06','2026-09-13T13:54:06.007Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2078,'ExponentPushToken[u5JhE0Jc0ZHCvsEQ-pUSvB]','2026-09-13 14:12:11','2026-09-13T14:12:11.078Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2079,'ExponentPushToken[_JxH0sCfC8OilTBtuuGUgC]','2026-09-13 14:51:46','2026-09-13T14:51:46.523Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2080,'ExponentPushToken[udMWIHB0-2cGdO9Jrbrol0]','2026-09-13 16:19:11','2026-09-13T16:19:11.241Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2081,'ExponentPushToken[ClThYjOZnfRN2GGOyteMZ4]','2026-09-13 16:52:51','2026-09-13T16:52:51.767Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2081,'ExponentPushToken[ClThYjOZnfRN2GGOyteMZ4]','2026-09-13 16:52:51','2026-09-19T14:13:59.450Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2082,'ExponentPushToken[Bj3BZWLI-EFV5MYag1y7-B]','2026-09-13 16:53:35','2026-09-13T16:53:35.628Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2083,'ExponentPushToken[oJBbY6MO8dD-7c5I0d1-z1]','2026-09-13 17:36:33','2026-09-13T17:36:33.412Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2084,'ExponentPushToken[U3dnXuOJ8QGJ6oKH2ck1yj]','2026-09-13 17:48:25','2026-09-13T17:48:25.712Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2085,'ExponentPushToken[N9d_43B2zy7vdBssMcfCRB]','2026-09-13 17:53:07','2026-09-13T17:53:07.356Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2085,'ExponentPushToken[N9d_43B2zy7vdBssMcfCRB]','2026-09-13 17:53:07','2026-09-21T21:39:18.035Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2086,'ExponentPushToken[t2h8l7JmCHBk3ugm5C_0SP]','2026-09-13 18:28:10','2026-09-13T18:35:42.559Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2087,'ExponentPushToken[7IpMGcGtZAwD_TmB3ZQjp-]','2026-09-14 02:48:03','2026-09-14T02:48:03.935Z'); INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2088,'ExponentPushToken[hDsxBMNtlV6AnAur9gTk63]','2026-09-14 03:40:27','2026-09-14T03:40:27.081Z'); -INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2089,'ExponentPushToken[rLtwuBPXTntroEYkycgYMw]','2026-09-14 04:00:45','2026-09-14T04:00:45.114Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2090,'ExponentPushToken[CCyNfFEM6mwn49QIUKnfR_]','2026-09-14 06:48:10','2026-09-14T06:48:10.766Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2091,'ExponentPushToken[oYtP2EOeM-iyPjQD6UYwzY]','2026-09-14 06:53:33','2026-09-20T11:28:34.920Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2092,'ExponentPushToken[5WPi4BOS5DZJlpkZA6-VFM]','2026-09-14 06:54:08','2026-09-14T06:54:08.000Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2093,'ExponentPushToken[y1iOL7LS-PbTAvzqRzwrEJ]','2026-09-14 08:01:01','2026-09-22T09:13:18.633Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2094,'ExponentPushToken[YTz2O7J9RxKt3Id4dCFw1e]','2026-09-14 08:10:17','2026-09-14T08:10:17.741Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2095,'ExponentPushToken[YivcEUP7YhTt_z7C6kl3Bo]','2026-09-14 08:29:24','2026-09-14T08:29:24.035Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2096,'ExponentPushToken[r-OJ-DCL5N3YecNYNp7BUE]','2026-09-14 08:29:45','2026-09-14T08:29:45.935Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2097,'ExponentPushToken[ZBvPlXOMIS4BYBfw10BFiw]','2026-09-14 08:33:47','2026-09-17T16:29:51.931Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2098,'ExponentPushToken[VJwnevOKzpOv7f8jIs9jcj]','2026-09-14 08:52:14','2026-09-14T08:52:14.708Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2099,'ExponentPushToken[CgY1ytJmGFRDy-Yqq0Z3Aw]','2026-09-14 10:29:35','2026-09-14T10:29:35.682Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2100,'ExponentPushToken[qi0KqwEN03zh5MMD020Ezn]','2026-09-14 11:58:40','2026-09-14T11:58:40.271Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2101,'ExponentPushToken[vXkillF1QX_sQ1q5iPvxqQ]','2026-09-14 12:41:47','2026-09-19T07:21:01.563Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2102,'ExponentPushToken[yva1e6EYFIIBTGeEfE1WiS]','2026-09-14 12:57:20','2026-09-14T12:57:20.943Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2103,'ExponentPushToken[l4yMbeHGxcjhLdw0gsYPKS]','2026-09-14 14:22:06','2026-09-14T14:22:06.341Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2105,'ExponentPushToken[9XDfd7DgA_7akOk3qTQGYC]','2026-09-14 15:14:02','2026-09-15T11:25:26.280Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2106,'ExponentPushToken[5hVX8_D5Q6RsWkZUHK-O3G]','2026-09-14 15:30:58','2026-09-14T15:30:58.678Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2107,'ExponentPushToken[KKPRLZFC3Wf9ERMXlFwiiR]','2026-09-14 15:43:01','2026-09-24T17:49:10.021Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2108,'ExponentPushToken[xL2nLyGcoO39QI4CGHKkpB]','2026-09-14 16:43:58','2026-09-14T16:43:58.752Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2109,'ExponentPushToken[SPBQH1Af1x0t8oWGnUJg2W]','2026-09-14 17:03:12','2026-09-15T14:20:13.315Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2111,'ExponentPushToken[w9XXy5EE-oy7ioTy8UrYNz]','2026-09-15 03:07:55','2026-09-15T03:07:55.551Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2113,'ExponentPushToken[-68nprA8qGi9-SHqVn27pT]','2026-09-15 03:26:57','2026-09-16T13:12:11.485Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2116,'ExponentPushToken[FbxfkbFdWyFC8VBk61yS5K]','2026-09-15 04:41:45','2026-09-15T04:41:45.826Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2117,'ExponentPushToken[i8-AvPF7n8ao39Fe4-57g3]','2026-09-15 06:03:28','2026-09-19T03:52:46.777Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2118,'ExponentPushToken[1qlferBDyhQj2ostekPFkQ]','2026-09-15 06:05:34','2026-09-27T00:39:14.019Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2119,'ExponentPushToken[jqhBotGOiWOJvIrs1PxCUD]','2026-09-15 08:50:32','2026-09-15T08:50:32.555Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2120,'ExponentPushToken[1hEwecF0KBaFVG9KRrxwSt]','2026-09-15 10:00:18','2026-09-15T10:00:18.331Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2121,'ExponentPushToken[pzcD2rJzTaF8LNcMrko3JO]','2026-09-15 10:27:30','2026-09-15T10:27:30.297Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2122,'ExponentPushToken[W9bpGVAlCCDnpc45rGETov]','2026-09-15 11:11:31','2026-09-27T07:36:34.338Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2123,'ExponentPushToken[fx5tY_Oj1w7d29qTo4SAZw]','2026-09-15 11:22:50','2026-09-15T11:22:50.409Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2125,'ExponentPushToken[uVX7-dBav9jQInx3edP4ai]','2026-09-15 11:24:11','2026-09-15T11:24:11.763Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2126,'ExponentPushToken[Cw3-VnD1rVBlaPpEASXFwY]','2026-09-15 11:58:56','2026-09-23T06:03:02.556Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2127,'ExponentPushToken[GTOeZaEAwZW3zEe1ss8Nsc]','2026-09-15 15:54:42','2026-09-15T17:29:47.436Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2128,'ExponentPushToken[JpP8UgN4KxLlT1x7fOC1Ff]','2026-09-15 16:18:49','2026-09-26T13:41:12.247Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2130,'ExponentPushToken[ey9UKmBTJsytxHhjfNXXSR]','2026-09-15 18:55:22','2026-09-21T18:38:58.689Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2131,'ExponentPushToken[rifdAOAjeO-87cajdD42-r]','2026-09-15 20:12:14','2026-09-20T06:44:16.330Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2132,'ExponentPushToken[1F_L9QKRxKyJjJ8zurIcZW]','2026-09-15 21:35:11','2026-09-15T21:35:11.668Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2133,'ExponentPushToken[buHuxNOk0kp1mE4g1T383X]','2026-09-16 02:28:13','2026-09-16T02:28:13.906Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2134,'ExponentPushToken[TpJmoXKMxMrLHmHNL51QIO]','2026-09-16 03:01:16','2026-09-16T03:01:16.878Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2135,'ExponentPushToken[9vwfYuLHEzY23XuwWIoXlR]','2026-09-16 03:29:04','2026-09-16T03:29:04.298Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2136,'ExponentPushToken[20r5coHu7lDXz6dyp5d2Xu]','2026-09-16 04:15:15','2026-09-17T11:23:38.198Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2137,'ExponentPushToken[3CPgoSJ-MqGFk5_LHaOney]','2026-09-16 04:36:01','2026-09-21T05:36:30.569Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2138,'ExponentPushToken[Pv76L4IQh8p4__Ch0-FWeB]','2026-09-16 04:46:27','2026-09-16T04:46:27.719Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2140,'ExponentPushToken[BQ3fJEAqm6OwKR3baluCmQ]','2026-09-16 05:58:52','2026-09-20T02:45:17.328Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2141,'ExponentPushToken[AtYs6TMVS6I0NBs2XCldWw]','2026-09-16 06:00:55','2026-09-16T06:00:55.101Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2142,'ExponentPushToken[aRt97ZMc3pqob2zLYCReMy]','2026-09-16 06:36:00','2026-09-16T06:36:00.099Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2143,'ExponentPushToken[PDNZ0gH5qH_DlGdK6sJRKt]','2026-09-16 06:48:54','2026-09-16T06:48:54.722Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2144,'ExponentPushToken[Px9YieNvJfGMPTU4vxU67n]','2026-09-16 07:32:14','2026-09-16T07:32:14.156Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2146,'ExponentPushToken[Pr1ZagPe_QGAwpx19DvpJs]','2026-09-16 07:56:51','2026-09-16T07:57:01.609Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2147,'ExponentPushToken[TOC4eRO9XvePqeZBKTWeQ9]','2026-09-16 08:14:50','2026-09-20T19:10:38.472Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2149,'ExponentPushToken[fcFcDBH1xf3IBnhkAuOlqM]','2026-09-16 08:31:43','2026-09-16T08:31:43.149Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2150,'ExponentPushToken[9pAN83MJnMrWzkcdpD6lh8]','2026-09-16 09:40:10','2026-09-18T04:18:19.469Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2151,'ExponentPushToken[ylrCi1BKKcD0iOQ6OIvraN]','2026-09-16 09:59:49','2026-09-19T14:36:02.376Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2152,'ExponentPushToken[H2coP-DIjQv9cEKaGQ9omE]','2026-09-16 10:09:04','2026-09-16T10:09:04.193Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2153,'ExponentPushToken[hWMtkWKNbTLGbeMGBvS1cy]','2026-09-16 10:32:10','2026-09-22T02:33:43.454Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2154,'ExponentPushToken[9fg5vLATXjxao-dLVaVXQF]','2026-09-16 11:11:34','2026-09-19T09:31:19.150Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2156,'ExponentPushToken[otVhJvI7N21uEjC2Hxz60p]','2026-09-16 11:32:13','2026-09-21T10:13:25.083Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2157,'ExponentPushToken[K3N9bnACUtNa8Xq0clKCWf]','2026-09-16 11:57:30','2026-09-21T11:43:08.139Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2158,'ExponentPushToken[I4Z6fYIUOrcjtDkZ9jNNoj]','2026-09-16 12:11:25','2026-09-17T09:51:28.652Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2159,'ExponentPushToken[dGBN-MNSu8zIWNYuho57s2]','2026-09-16 12:16:14','2026-09-16T12:16:14.844Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2160,'ExponentPushToken[Xequu-LujbaytBIxbA5McT]','2026-09-16 12:16:30','2026-09-16T12:17:42.825Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2161,'ExponentPushToken[COPR92GCpVceeckX4TEp2V]','2026-09-16 12:24:25','2026-09-16T12:24:25.150Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2162,'ExponentPushToken[I81Q80Bkz2yF_iG1-mrjnf]','2026-09-16 12:25:51','2026-09-16T12:26:16.763Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2163,'ExponentPushToken[P_sVINOEh8c_VrmV-m9CXj]','2026-09-16 12:29:40','2026-09-16T12:29:40.140Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2164,'ExponentPushToken[s2tl6UMyy9Q7ukuuTshs7e]','2026-09-16 12:58:33','2026-09-19T01:41:29.230Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2165,'ExponentPushToken[ejpZAXK_E9lLt3C67wPwzJ]','2026-09-16 13:47:20','2026-09-16T13:47:20.501Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2167,'ExponentPushToken[-B7sNENUcgsKe-w8BGORd9]','2026-09-16 15:00:43','2026-09-16T15:00:43.338Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2169,'ExponentPushToken[Q7I_71AUHg5MchLYrUC5h4]','2026-09-16 17:44:04','2026-09-18T08:42:05.782Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2170,'ExponentPushToken[V1pgxrA6_Vzd4WtffJ3TnY]','2026-09-17 02:52:33','2026-09-17T02:52:33.183Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2171,'ExponentPushToken[Xb-tJXPLrZbbSis3Q2h6Cu]','2026-09-17 03:49:17','2026-09-17T03:49:17.878Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2172,'ExponentPushToken[5BcjTIEu4SW8IQM0TvT1Wl]','2026-09-17 04:09:40','2026-09-17T11:28:05.152Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2173,'ExponentPushToken[g6R3CqIt8qgm2xBy_2W3wv]','2026-09-17 04:48:17','2026-09-17T04:48:17.229Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2174,'ExponentPushToken[n1bJNALmyyDs27oy8ayOhl]','2026-09-17 05:11:12','2026-09-17T05:11:12.554Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2176,'ExponentPushToken[xyh0wZL3UmBt_Y1oNVYLv8]','2026-09-17 10:25:06','2026-09-17T13:47:20.515Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2177,'ExponentPushToken[A19884D8_k51kDlZ7AH-e7]','2026-09-17 10:28:31','2026-09-17T10:28:31.904Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2178,'ExponentPushToken[es4AH7GMcwRBqMv5XSA9Vi]','2026-09-17 13:19:11','2026-09-18T08:50:30.984Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2179,'ExponentPushToken[lQkFiCCduLRNCbUt-reYUz]','2026-09-17 13:38:56','2026-09-17T13:38:56.038Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2180,'ExponentPushToken[0DFMAOG0DiFTawtgl8PCWl]','2026-09-17 18:00:37','2026-09-17T18:00:37.362Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2182,'ExponentPushToken[ctwdtfMNK-iiyO4cJio7Sy]','2026-09-18 02:52:54','2026-09-18T16:01:00.965Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2183,'ExponentPushToken[L7hC8lJIUpconVN-8pasaD]','2026-09-18 03:15:16','2026-09-18T03:15:16.200Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2184,'ExponentPushToken[yEwtHxNetgtib0xWs3FQ4v]','2026-09-18 05:05:10','2026-09-27T04:54:47.774Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2185,'ExponentPushToken[vepz-zDuyb-BMjblT74v_H]','2026-09-18 05:53:58','2026-09-19T10:46:34.087Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2187,'ExponentPushToken[BptXOeHF3ebqiGXbiONAS3]','2026-09-18 09:22:15','2026-09-18T09:22:15.919Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2188,'ExponentPushToken[VibtvPMrLOOMd6XpkwYArh]','2026-09-18 11:34:32','2026-09-19T05:53:32.469Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2189,'ExponentPushToken[fHrCazHksVcB5doEnxthNH]','2026-09-18 12:13:35','2026-09-18T12:13:35.720Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2190,'ExponentPushToken[FYXtY8KsJLT3TwEqauMLGB]','2026-09-18 14:41:23','2026-09-18T14:41:23.869Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2191,'ExponentPushToken[q9plhwPyT-hiouQMCs6Wm1]','2026-09-19 02:15:46','2026-09-19T02:15:46.480Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2192,'ExponentPushToken[C_LAi-NOwPhfQDcHb60Ez4]','2026-09-19 05:12:35','2026-09-25T14:47:12.443Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2193,'ExponentPushToken[gimIocFZ-DedQXoQc9qJNT]','2026-09-19 08:03:12','2026-09-19T08:03:12.290Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2194,'ExponentPushToken[beWMkTPcpebp2dHP138cmU]','2026-09-19 08:23:51','2026-09-19T08:23:51.496Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2195,'ExponentPushToken[Op_63vHlk79FSs9nqnLLZ8]','2026-09-19 11:38:34','2026-09-20T02:58:06.328Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2196,'ExponentPushToken[yU117CE17H_wXeYxP6smo-]','2026-09-19 12:20:14','2026-09-25T16:09:36.689Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2197,'ExponentPushToken[hqYFkyAZ1gkmTywiF4s_DB]','2026-09-19 12:57:26','2026-09-27T04:24:27.895Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2198,'ExponentPushToken[d_qFXIMpgnyoTOM9PY6EYa]','2026-09-19 13:21:01','2026-09-22T15:17:11.869Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2201,'ExponentPushToken[_GStzoNIZmDmraKhtgFvns]','2026-09-19 16:21:18','2026-09-19T16:21:18.227Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2202,'ExponentPushToken[BFaLeaPw30gbh58D9W3n1N]','2026-09-20 02:07:35','2026-09-20T02:07:35.226Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2204,'ExponentPushToken[p9T-XhOWzuK3abOlinRF9Q]','2026-09-20 06:21:31','2026-09-24T14:11:05.761Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2205,'ExponentPushToken[iz_9knMKL8d-TBz6q9fufK]','2026-09-20 06:38:35','2026-09-20T06:38:35.150Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2206,'ExponentPushToken[RMMKRfB3mYQYHDUEcmbUNt]','2026-09-20 06:50:13','2026-09-20T06:50:13.106Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2208,'ExponentPushToken[u5ckR7JDcFzL8alBaRMNOW]','2026-09-20 07:48:43','2026-09-25T15:17:54.134Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2209,'ExponentPushToken[dmKFVjN7cv4nROiVrOaxn2]','2026-09-20 07:58:58','2026-09-20T07:58:58.574Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2210,'ExponentPushToken[ipud77N56xq6RHEJi2MMHo]','2026-09-20 09:27:23','2026-09-26T10:29:58.920Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2212,'ExponentPushToken[Y1xmsQPVnH2UNvlGtr0Nt4]','2026-09-20 16:15:33','2026-09-20T16:15:33.362Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2213,'ExponentPushToken[wy3nWjHVy48OYm2KEMDNwj]','2026-09-20 19:17:42','2026-09-21T08:05:48.498Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2214,'ExponentPushToken[RpaDZ0GDZ0REU2tRacAOYZ]','2026-09-21 03:06:49','2026-09-21T03:06:49.181Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2215,'ExponentPushToken[lngJ7lL_1UAC636GXM7Yav]','2026-09-21 03:22:16','2026-09-21T03:22:16.545Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2216,'ExponentPushToken[KCMpszLJRkko9txHhb8aHI]','2026-09-21 05:41:57','2026-09-21T05:42:47.752Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2217,'ExponentPushToken[SlTUoWOqXf7ntBxBT2aZMn]','2026-09-21 08:37:21','2026-09-21T08:37:21.277Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2218,'ExponentPushToken[O2Jt5xA6TxGjW-zSPd7NmQ]','2026-09-21 08:50:32','2026-09-27T02:15:26.373Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2220,'ExponentPushToken[WH1t90LGd3S1_fHEwQvJeo]','2026-09-21 12:27:28','2026-09-21T12:27:28.311Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2221,'ExponentPushToken[38Q810IlAy0dLNFW5XbDgU]','2026-09-21 13:34:19','2026-09-27T06:14:35.844Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2223,'ExponentPushToken[8na_JSEmzDaBVG9kjeIKAB]','2026-09-21 14:46:44','2026-09-21T14:46:44.101Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2224,'ExponentPushToken[yZImBnJnssxNPS6JVIx426]','2026-09-21 18:13:17','2026-09-23T03:52:56.713Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2225,'ExponentPushToken[Nb2mWtF3-QeuLn_arKfiWv]','2026-09-21 19:02:16','2026-09-27T14:44:30.439Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2226,'ExponentPushToken[LsTMRyMwkyc0k3Fkqwgp3K]','2026-09-21 19:02:52','2026-09-22T12:33:27.920Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2227,'ExponentPushToken[Fl29z9AaN87FpkTd45WELQ]','2026-09-22 03:00:54','2026-09-22T03:42:05.796Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2228,'ExponentPushToken[SnHK1pGtJCU2Jiaq3m9Gdb]','2026-09-22 05:17:49','2026-09-22T05:25:40.985Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2229,'ExponentPushToken[w94TRSOhRhx0QbK6DFvjIC]','2026-09-22 07:50:43','2026-09-22T07:50:43.648Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2230,'ExponentPushToken[Bs2ZRvJUf3aQxIf6tVujTJ]','2026-09-22 07:58:01','2026-09-22T07:58:01.934Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2231,'ExponentPushToken[5esNLBPZIkXUfswUJWndMo]','2026-09-22 08:01:27','2026-09-24T03:33:08.475Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2232,'ExponentPushToken[QEHRtAMoZwGkBdPRNvcYHi]','2026-09-22 10:44:03','2026-09-23T14:28:20.545Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2233,'ExponentPushToken[l6GuKUISFuDgUsiBcLdXok]','2026-09-22 11:02:53','2026-09-22T11:02:59.305Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2234,'ExponentPushToken[w3FZaBHntxI5bwyrXtmgoS]','2026-09-23 01:38:09','2026-09-23T14:15:09.438Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2235,'ExponentPushToken[u_RXJBL4051t8aoZeJx0Wd]','2026-09-23 03:53:10','2026-09-23T03:53:10.829Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2236,'ExponentPushToken[1Z_OzxMXVfdEnTl9Oxc1l-]','2026-09-23 05:44:43','2026-09-23T05:44:43.828Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2237,'ExponentPushToken[soDeauM8DUnuVHPj-s8V0E]','2026-09-23 07:57:33','2026-09-26T08:05:45.324Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2238,'ExponentPushToken[ekRtxcJ6VtRAQpbF7nE43X]','2026-09-23 10:16:27','2026-09-23T10:20:02.960Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2239,'ExponentPushToken[S69NnQMiOOijowAjtMO78b]','2026-09-23 11:14:49','2026-09-23T11:14:49.970Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2240,'ExponentPushToken[u_O_ydL80T2K3DCOenmP2f]','2026-09-23 12:24:29','2026-09-23T12:24:29.413Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2241,'ExponentPushToken[AtypdQLHdf_f-mx7rBG192]','2026-09-23 13:25:58','2026-09-24T06:34:10.486Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2242,'ExponentPushToken[fHemZoIiRF4jevDvTHqDt3]','2026-09-23 13:47:58','2026-09-23T13:47:58.137Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2243,'ExponentPushToken[tPk3_DBVHa8cXQTm_Bwhgb]','2026-09-23 15:41:30','2026-09-23T15:48:25.429Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2244,'ExponentPushToken[jdyJrAJskreLjRftymiBc6]','2026-09-23 16:34:50','2026-09-23T16:43:37.081Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2245,'ExponentPushToken[OpwtqfEI3gUBIdjw1N-TLn]','2026-09-24 03:11:28','2026-09-24T03:11:28.700Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2246,'ExponentPushToken[qZyriPFpPoq3etRPnxfkSl]','2026-09-24 05:34:57','2026-09-24T05:34:57.513Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2247,'ExponentPushToken[DOwA-wINkwXJTTO9EF6baa]','2026-09-24 06:19:07','2026-09-24T06:19:07.294Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2248,'ExponentPushToken[wB4KlOODpDQYJczhWPTZZ9]','2026-09-24 08:22:39','2026-09-27T15:34:16.317Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2249,'ExponentPushToken[dzU7BuH0n2ZKhd9s5HS9cf]','2026-09-24 08:39:10','2026-09-24T16:23:39.783Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2250,'ExponentPushToken[bwxb9FJXSYw3ajJSfR6eCg]','2026-09-24 09:06:06','2026-09-24T09:06:06.583Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2251,'ExponentPushToken[IkS5F5LZ0MwxuBNR8R_7ia]','2026-09-24 12:41:17','2026-09-24T12:54:50.661Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2252,'ExponentPushToken[FwHIfMLzmfkBBtAhjVFbYl]','2026-09-24 15:11:54','2026-09-24T15:11:54.029Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2253,'ExponentPushToken[wT4Ys6O310Bwy2KHBZyTpy]','2026-09-25 02:41:17','2026-09-25T02:41:17.163Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2254,'ExponentPushToken[stR7dyIbx3l2o97oWS8vLV]','2026-09-25 03:00:15','2026-09-25T03:00:15.853Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2255,'ExponentPushToken[dLKhX5Ox4wHTywsUplzJWe]','2026-09-25 08:30:36','2026-09-25T08:30:36.140Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2256,'ExponentPushToken[d7ZlnMAM9_Al3hsl26j2_Y]','2026-09-25 10:58:29','2026-09-25T10:58:29.620Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2257,'ExponentPushToken[EK8crzF5tdn9HfnPOT9H9D]','2026-09-25 11:46:34','2026-09-25T11:46:42.317Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2258,'ExponentPushToken[9SAti5Ixbjd14aawos1PQL]','2026-09-25 13:28:44','2026-09-25T13:28:44.261Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2260,'ExponentPushToken[DWvKt7Oy6kZwrxQbTYA3zf]','2026-09-25 15:37:16','2026-09-25T15:37:16.490Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2261,'ExponentPushToken[4dMyItFoZPR9MiLxNrIKqz]','2026-09-26 05:10:38','2026-09-26T15:36:05.931Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2262,'ExponentPushToken[Drv3hyBnQ2fLMOA_S-X4zG]','2026-09-26 11:58:58','2026-09-26T11:58:58.099Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2263,'ExponentPushToken[bYh6vdOguLmGB_Dyg7eRra]','2026-09-26 13:37:25','2026-09-26T13:37:25.879Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2264,'ExponentPushToken[LoeczFPI8Sa9wwOH_8gglH]','2026-09-27 01:57:47','2026-09-27T01:57:47.578Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2265,'ExponentPushToken[C36i1zA_O5lmgPSe0H6GCS]','2026-09-27 02:56:21','2026-09-27T02:56:21.622Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2266,'ExponentPushToken[ls3HnNNjLXWHevFVx9rts7]','2026-09-27 04:09:00','2026-09-27T04:16:55.288Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2267,'ExponentPushToken[oL_GXQO6Au4dMce10llE3s]','2026-09-27 04:22:22','2026-09-27T04:22:22.485Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2268,'ExponentPushToken[Q30X2XH1Z449hk-tug4GtB]','2026-09-27 07:34:12','2026-09-27T08:32:29.825Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2269,'ExponentPushToken[hdLSg1JPAjpli6FMENJSUh]','2026-09-27 11:15:42','2026-09-27T11:15:42.691Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2270,'ExponentPushToken[7unrK_Jl6AY5NOLkR80bbC]','2026-09-27 11:26:53','2026-09-27T11:26:53.932Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2271,'ExponentPushToken[KMVjNEFZHiL_NleXiou6Rs]','2026-09-27 12:21:31','2026-09-27T12:21:31.719Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2272,'ExponentPushToken[DuIP_aCCjrNGZLcqgod-Lo]','2026-09-27 12:23:32','2026-09-27T16:33:32.457Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2273,'ExponentPushToken[asprSSJpiGAluRcVkmW3Mt]','2026-09-27 14:50:31','2026-09-27T14:51:59.292Z'); +INSERT INTO "unlogged_user_tokens" ("id","token","added_at","last_verified") VALUES(2274,'ExponentPushToken[28Y-FYFnOozpYnM5Ajx51w]','2026-09-27 16:34:43','2026-09-27T16:34:43.303Z'); CREATE TABLE IF NOT EXISTS "upload_url_status" ("id" INTEGER PRIMARY KEY, "created_at" TEXT NOT NULL DEFAULT CURRENT_TIMESTAMP, "key" TEXT NOT NULL, "status" TEXT NOT NULL DEFAULT 'pending'); INSERT INTO "upload_url_status" ("id","created_at","key","status") VALUES(35,'2025-12-07T08:58:13.136Z','review-images/1765097892914.jpg','pending'); INSERT INTO "upload_url_status" ("id","created_at","key","status") VALUES(36,'2025-12-07T08:58:13.347Z','review-images/1765097893129.png','pending'); @@ -9889,6 +10894,26 @@ INSERT INTO "upload_url_status" ("id","created_at","key","status") VALUES(224,'2 INSERT INTO "upload_url_status" ("id","created_at","key","status") VALUES(225,'2026-09-13 03:04:29','complaint-images/1789268669259.jpg','pending'); INSERT INTO "upload_url_status" ("id","created_at","key","status") VALUES(226,'2026-09-13 03:12:03','complaint-images/1789269123285.jpg','pending'); INSERT INTO "upload_url_status" ("id","created_at","key","status") VALUES(227,'2026-09-13 12:43:23','profile-images/1789303403215.jpg','pending'); +INSERT INTO "upload_url_status" ("id","created_at","key","status") VALUES(228,'2026-09-15 10:56:38','profile-images/1789469798031.jpg','pending'); +INSERT INTO "upload_url_status" ("id","created_at","key","status") VALUES(229,'2026-09-15 15:21:10','product-images/1789485670543.jpg','pending'); +INSERT INTO "upload_url_status" ("id","created_at","key","status") VALUES(230,'2026-09-15 15:21:21','product-images/1789485681177.jpg','pending'); +INSERT INTO "upload_url_status" ("id","created_at","key","status") VALUES(231,'2026-09-15 15:25:36','profile-images/1789485936749.jpg','pending'); +INSERT INTO "upload_url_status" ("id","created_at","key","status") VALUES(232,'2026-09-15 15:26:11','profile-images/1789485971096.jpg','pending'); +INSERT INTO "upload_url_status" ("id","created_at","key","status") VALUES(233,'2026-09-16 11:13:00','complaint-images/1789557180471.jpg','pending'); +INSERT INTO "upload_url_status" ("id","created_at","key","status") VALUES(234,'2026-09-16 11:13:04','complaint-images/1789557184098.jpg','pending'); +INSERT INTO "upload_url_status" ("id","created_at","key","status") VALUES(235,'2026-09-16 11:13:06','complaint-images/1789557186264.jpg','pending'); +INSERT INTO "upload_url_status" ("id","created_at","key","status") VALUES(236,'2026-09-16 11:13:10','complaint-images/1789557190348.jpg','pending'); +INSERT INTO "upload_url_status" ("id","created_at","key","status") VALUES(237,'2026-09-16 11:13:12','complaint-images/1789557192712.jpg','pending'); +INSERT INTO "upload_url_status" ("id","created_at","key","status") VALUES(238,'2026-09-16 11:13:22','complaint-images/1789557202311.jpg','pending'); +INSERT INTO "upload_url_status" ("id","created_at","key","status") VALUES(239,'2026-09-16 17:08:16','complaint-images/1789578496236.jpg','pending'); +INSERT INTO "upload_url_status" ("id","created_at","key","status") VALUES(240,'2026-09-16 17:08:31','complaint-images/1789578511445.jpg','pending'); +INSERT INTO "upload_url_status" ("id","created_at","key","status") VALUES(241,'2026-09-16 17:08:31','complaint-images/1789578511464.jpg','pending'); +INSERT INTO "upload_url_status" ("id","created_at","key","status") VALUES(242,'2026-09-24 06:33:31','product-images/1790231611641.jpg','pending'); +INSERT INTO "upload_url_status" ("id","created_at","key","status") VALUES(243,'2026-09-24 06:33:42','product-images/1790231621976.jpg','pending'); +INSERT INTO "upload_url_status" ("id","created_at","key","status") VALUES(244,'2026-09-26 13:34:22','product-images/1790429662284.jpg','pending'); +INSERT INTO "upload_url_status" ("id","created_at","key","status") VALUES(245,'2026-09-26 13:34:34','product-images/1790429674513.jpg','pending'); +INSERT INTO "upload_url_status" ("id","created_at","key","status") VALUES(246,'2026-09-26 13:42:41','product-images/1790430161681.jpg','claimed'); +INSERT INTO "upload_url_status" ("id","created_at","key","status") VALUES(247,'2026-09-27 07:12:55','complaint-images/1790493175973.jpg','pending'); CREATE TABLE IF NOT EXISTS "user_creds" ("id" INTEGER PRIMARY KEY, "user_id" INTEGER NOT NULL, "user_password" TEXT NOT NULL, "created_at" TEXT NOT NULL DEFAULT CURRENT_TIMESTAMP); INSERT INTO "user_creds" ("id","user_id","user_password","created_at") VALUES(3,17,'$2b$10$mn/CpXmKq.dKgeH2gHtKk.IvlgQyahG2tCpD8k42mPOEysWoO3pti','2025-12-19T09:14:09.761Z'); INSERT INTO "user_creds" ("id","user_id","user_password","created_at") VALUES(4,350,'$2b$10$swNmyvVxTdWkaWINSPnKsOJOHCfrdgQvE62heJ1l0Tq5vajuR/C66','2026-04-11 08:57:01'); @@ -9908,6 +10933,10 @@ INSERT INTO "user_creds" ("id","user_id","user_password","created_at") VALUES(17 INSERT INTO "user_creds" ("id","user_id","user_password","created_at") VALUES(18,982,'$2b$10$NwUyOSP7G9wE74Rcb/I.3uRMO7sH4lCFHv4mPKkoiT6xo/5ZWzh/2','2026-09-12 04:41:54'); INSERT INTO "user_creds" ("id","user_id","user_password","created_at") VALUES(19,1002,'$2b$10$MJX9Lgb7iGzd7K36n1245ef7.BiasnKn.6BmvPRZZsBmJaa4G7Xl2','2026-09-12 07:06:58'); INSERT INTO "user_creds" ("id","user_id","user_password","created_at") VALUES(20,1068,'$2b$10$PIT/etUnsMG.Nl7ftbK3SeM8PrZZxsmmDmKsANZA6RTSPPth3leUi','2026-09-13 02:49:26'); +INSERT INTO "user_creds" ("id","user_id","user_password","created_at") VALUES(21,388,'$2a$12$GXTpU1ThyuF79P/Y7Yr.lOKyeB1KQiMpm7EbM4ObFoYDvLQzoH4A6','2026-09-14 06:22:03'); +INSERT INTO "user_creds" ("id","user_id","user_password","created_at") VALUES(22,1150,'$2b$10$QvG12Alun2p0W2zCrXGPfe9rIAws0XeiLWYdPFjdY0I6FNXFe7CYW','2026-09-15 06:39:15'); +INSERT INTO "user_creds" ("id","user_id","user_password","created_at") VALUES(23,1191,'$2b$10$FowkKYtzKSZNRMR.jiixKu3I/iLFWMCZ.rZvsFZB6XZdUOVRZ3Z9a','2026-09-17 14:24:44'); +INSERT INTO "user_creds" ("id","user_id","user_password","created_at") VALUES(24,1247,'$2b$10$PPa0DjMTyq3vX6kWlcesPeNGfHYommgatupGaHNecIhSYdRZdFoEC','2026-09-24 15:58:07'); CREATE TABLE IF NOT EXISTS "user_details" ("id" INTEGER PRIMARY KEY, "user_id" INTEGER NOT NULL, "bio" TEXT, "date_of_birth" TEXT, "gender" TEXT, "occupation" TEXT, "created_at" TEXT NOT NULL DEFAULT CURRENT_TIMESTAMP, "updated_at" TEXT NOT NULL DEFAULT CURRENT_TIMESTAMP, "profile_image" TEXT, "is_suspended" INTEGER NOT NULL DEFAULT false); INSERT INTO "user_details" ("id","user_id","bio","date_of_birth","gender","occupation","created_at","updated_at","profile_image","is_suspended") VALUES(2,2,NULL,NULL,NULL,NULL,'2025-11-28T20:17:57.109Z','2025-11-28T20:17:57.109Z',NULL,0); INSERT INTO "user_details" ("id","user_id","bio","date_of_birth","gender","occupation","created_at","updated_at","profile_image","is_suspended") VALUES(6,4,NULL,NULL,NULL,NULL,'2025-12-02T15:28:27.226Z','2025-12-02T15:32:29.066Z','profile-images/1764689548097-1000159418.jpg',0); @@ -9989,6 +11018,16 @@ INSERT INTO "user_details" ("id","user_id","bio","date_of_birth","gender","occup INSERT INTO "user_details" ("id","user_id","bio","date_of_birth","gender","occupation","created_at","updated_at","profile_image","is_suspended") VALUES(83,1068,NULL,NULL,NULL,NULL,'2026-09-13T02:49:00.054Z','2026-09-13T02:49:00.046Z',NULL,0); INSERT INTO "user_details" ("id","user_id","bio","date_of_birth","gender","occupation","created_at","updated_at","profile_image","is_suspended") VALUES(84,1107,NULL,NULL,NULL,NULL,'2026-09-13T09:52:28.872Z','2026-09-13T09:52:31.557Z',NULL,0); INSERT INTO "user_details" ("id","user_id","bio","date_of_birth","gender","occupation","created_at","updated_at","profile_image","is_suspended") VALUES(85,1116,NULL,NULL,NULL,NULL,'2026-09-13T12:43:27.642Z','2026-09-13T12:44:04.844Z','profile-images/1789303403215.jpg',0); +INSERT INTO "user_details" ("id","user_id","bio","date_of_birth","gender","occupation","created_at","updated_at","profile_image","is_suspended") VALUES(86,939,NULL,NULL,NULL,NULL,'2026-09-14 07:43:36','2026-09-14 07:43:36',NULL,1); +INSERT INTO "user_details" ("id","user_id","bio","date_of_birth","gender","occupation","created_at","updated_at","profile_image","is_suspended") VALUES(87,1139,NULL,NULL,NULL,NULL,'2026-09-15T02:56:06.277Z','2026-09-15T02:56:06.269Z',NULL,0); +INSERT INTO "user_details" ("id","user_id","bio","date_of_birth","gender","occupation","created_at","updated_at","profile_image","is_suspended") VALUES(88,867,NULL,NULL,NULL,NULL,'2026-09-15T06:24:52.801Z','2026-09-15T06:24:58.076Z',NULL,0); +INSERT INTO "user_details" ("id","user_id","bio","date_of_birth","gender","occupation","created_at","updated_at","profile_image","is_suspended") VALUES(89,1150,NULL,NULL,NULL,NULL,'2026-09-15T06:38:51.106Z','2026-09-15T06:39:22.134Z',NULL,0); +INSERT INTO "user_details" ("id","user_id","bio","date_of_birth","gender","occupation","created_at","updated_at","profile_image","is_suspended") VALUES(90,1160,NULL,NULL,NULL,NULL,'2026-09-15T11:55:39.248Z','2026-09-15T11:56:05.686Z',NULL,0); +INSERT INTO "user_details" ("id","user_id","bio","date_of_birth","gender","occupation","created_at","updated_at","profile_image","is_suspended") VALUES(91,1173,NULL,NULL,NULL,NULL,'2026-09-16T07:14:56.570Z','2026-09-16T07:15:03.055Z',NULL,0); +INSERT INTO "user_details" ("id","user_id","bio","date_of_birth","gender","occupation","created_at","updated_at","profile_image","is_suspended") VALUES(92,1176,NULL,NULL,NULL,NULL,'2026-09-16T10:11:26.492Z','2026-09-16T10:11:29.761Z',NULL,0); +INSERT INTO "user_details" ("id","user_id","bio","date_of_birth","gender","occupation","created_at","updated_at","profile_image","is_suspended") VALUES(93,1191,NULL,NULL,NULL,NULL,'2026-09-17T14:24:02.332Z','2026-09-17T14:24:48.730Z',NULL,0); +INSERT INTO "user_details" ("id","user_id","bio","date_of_birth","gender","occupation","created_at","updated_at","profile_image","is_suspended") VALUES(94,1206,NULL,NULL,NULL,NULL,'2026-09-20 03:05:08','2026-09-20 03:05:08',NULL,0); +INSERT INTO "user_details" ("id","user_id","bio","date_of_birth","gender","occupation","created_at","updated_at","profile_image","is_suspended") VALUES(95,980,NULL,NULL,NULL,NULL,'2026-09-25T10:47:43.449Z','2026-09-25T10:47:49.464Z',NULL,0); CREATE TABLE IF NOT EXISTS "user_incidents" ("id" INTEGER PRIMARY KEY, "user_id" INTEGER NOT NULL, "order_id" INTEGER, "date_added" TEXT NOT NULL DEFAULT CURRENT_TIMESTAMP, "admin_comment" TEXT, "added_by" INTEGER, "negativity_score" INTEGER); INSERT INTO "user_incidents" ("id","user_id","order_id","date_added","admin_comment","added_by","negativity_score") VALUES(1,6,406,'2026-03-04T16:18:04.501Z','Not Paying Money',6,2); INSERT INTO "user_incidents" ("id","user_id","order_id","date_added","admin_comment","added_by","negativity_score") VALUES(2,262,404,'2026-03-04T17:27:14.009Z','Created problem while payment. Ladne aara thaa admi. ',6,2); @@ -9997,6 +11036,12 @@ INSERT INTO "user_incidents" ("id","user_id","order_id","date_added","admin_comm INSERT INTO "user_incidents" ("id","user_id","order_id","date_added","admin_comment","added_by","negativity_score") VALUES(5,614,NULL,'2026-06-24 10:04:04','Not lifting calls ',4,5); INSERT INTO "user_incidents" ("id","user_id","order_id","date_added","admin_comment","added_by","negativity_score") VALUES(6,591,1586,'2026-07-25 11:06:42','Not lifting calls ',4,50); INSERT INTO "user_incidents" ("id","user_id","order_id","date_added","admin_comment","added_by","negativity_score") VALUES(7,938,1996,'2026-09-12 05:04:32','Not lifting calls ',4,80); +INSERT INTO "user_incidents" ("id","user_id","order_id","date_added","admin_comment","added_by","negativity_score") VALUES(8,939,2099,'2026-09-14 06:52:23','Waste customer ',4,1000); +INSERT INTO "user_incidents" ("id","user_id","order_id","date_added","admin_comment","added_by","negativity_score") VALUES(9,1138,2105,'2026-09-15 01:59:27','7 se phele hona bolre the ',4,50); +INSERT INTO "user_incidents" ("id","user_id","order_id","date_added","admin_comment","added_by","negativity_score") VALUES(10,1196,2161,'2026-09-18 06:48:08','Wantedly they are cancelled',4,80); +INSERT INTO "user_incidents" ("id","user_id","order_id","date_added","admin_comment","added_by","negativity_score") VALUES(11,1000,2169,'2026-09-19 03:07:37','No response from customer ',4,50); +INSERT INTO "user_incidents" ("id","user_id","order_id","date_added","admin_comment","added_by","negativity_score") VALUES(12,1215,2235,'2026-09-23 03:00:24','Not lifting calls ',4,90); +INSERT INTO "user_incidents" ("id","user_id","order_id","date_added","admin_comment","added_by","negativity_score") VALUES(13,793,2280,'2026-09-26 03:17:15','Emergency user and not lifting calls ',4,40); CREATE TABLE IF NOT EXISTS "user_notifications" ("id" INTEGER PRIMARY KEY, "image_url" TEXT, "created_at" TEXT NOT NULL DEFAULT CURRENT_TIMESTAMP, "body" TEXT NOT NULL, "applicable_users" TEXT, "title" TEXT NOT NULL); INSERT INTO "user_notifications" ("id","image_url","created_at","body","applicable_users","title") VALUES(21,NULL,'2026-02-09T05:21:32.312Z',replace(replace('Van Winkle liked hunting, too. He liked going to the mountains to shoot squirrels. \r\nHe also liked sitting in the mountains and watching the world below—the','\r',char(13)),'\n',char(10)),'[1]','Hii'); INSERT INTO "user_notifications" ("id","image_url","created_at","body","applicable_users","title") VALUES(22,NULL,'2026-02-09T08:58:19.744Z','Test Notification','[65]','Hello'); @@ -10401,7 +11446,7 @@ INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(384,NULL, INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(385,NULL,NULL,'9885531685','2026-04-22 05:41:42'); INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(386,NULL,NULL,'9951559650','2026-04-22 13:03:43'); INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(387,NULL,NULL,'6305238901','2026-04-23 03:18:07'); -INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(388,NULL,NULL,'9676651496','2026-04-23 07:44:53'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(388,'shafi',NULL,'9676651496','2026-04-23 07:44:53'); INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(389,NULL,NULL,'9059003918','2026-04-24 01:12:17'); INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(390,NULL,NULL,'9642503898','2026-04-24 09:42:46'); INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(391,'Goutham Reddy','rgoutham267@gmail.com','9640053123','2026-04-24 11:48:58'); @@ -10878,7 +11923,7 @@ INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(863,NULL, INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(864,NULL,NULL,'8463941246','2026-09-11 14:56:25'); INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(865,NULL,NULL,'6300523218','2026-09-11 15:01:15'); INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(866,NULL,NULL,'7093956670','2026-09-11 15:03:08'); -INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(867,NULL,NULL,'8555948113','2026-09-11 15:04:25'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(867,'B GEETHA','geethabaddur9@gmail.com','8555948113','2026-09-11 15:04:25'); INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(868,NULL,NULL,'9030750123','2026-09-11 15:04:34'); INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(869,NULL,NULL,'8498897018','2026-09-11 15:10:09'); INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(870,NULL,NULL,'9951021973','2026-09-11 15:11:18'); @@ -10991,7 +12036,7 @@ INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(976,NULL, INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(977,NULL,NULL,'9059186492','2026-09-12 04:21:53'); INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(978,NULL,NULL,'9381056972','2026-09-12 04:22:53'); INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(979,NULL,NULL,'8688910715','2026-09-12 04:23:04'); -INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(980,NULL,NULL,'9059814473','2026-09-12 04:25:38'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(980,'Vamshi Krishna','vamshikr799@gmail.com','9059814473','2026-09-12 04:25:38'); INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(981,NULL,NULL,'7995112221','2026-09-12 04:32:08'); INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(982,'Doddi AARYAN','bharathkumardoddi143@gmail.com','6301897884','2026-09-12 04:37:12'); INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(983,NULL,NULL,'8500515948','2026-09-12 04:39:01'); @@ -11136,7 +12181,147 @@ INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1122,NULL INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1123,NULL,NULL,'9676192316','2026-09-13 16:52:46'); INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1124,NULL,NULL,'9121259041','2026-09-13 18:33:32'); INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1125,NULL,NULL,'8074895660','2026-09-13 23:54:18'); -INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1126,NULL,NULL,'9182532718','2026-09-14 03:42:56'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1127,NULL,NULL,'9100989898','2026-09-14 04:07:24'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1128,NULL,NULL,'8184900109','2026-09-14 04:17:25'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1129,NULL,NULL,'9014987508','2026-09-14 05:02:28'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1130,NULL,NULL,'9542994820','2026-09-14 06:06:21'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1131,NULL,NULL,'7287976369','2026-09-14 07:34:08'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1132,NULL,NULL,'7799899348','2026-09-14 10:12:45'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1133,NULL,NULL,'9177791996','2026-09-14 12:32:24'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1134,NULL,NULL,'9440488233','2026-09-14 13:28:41'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1135,NULL,NULL,'8639271201','2026-09-14 13:32:16'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1136,NULL,NULL,'9542458176','2026-09-14 13:37:48'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1137,NULL,NULL,'8686272194','2026-09-14 13:38:33'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1138,NULL,NULL,'9121425201','2026-09-14 13:56:01'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1139,'Mahankali sumitra','mahankalisumitra@gmail.cim','8919170263','2026-09-14 14:24:01'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1140,NULL,NULL,'9052865636','2026-09-14 16:04:41'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1141,NULL,NULL,'8555023556','2026-09-14 16:26:42'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1142,NULL,NULL,'8886289898','2026-09-14 19:22:44'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1143,NULL,NULL,'9573270437','2026-09-15 01:05:32'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1144,NULL,NULL,'9618718512','2026-09-15 01:40:17'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1145,NULL,NULL,'9381079234','2026-09-15 01:40:27'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1146,NULL,NULL,'9347396438','2026-09-15 04:12:48'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1147,NULL,NULL,'9346449803','2026-09-15 05:06:29'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1148,NULL,NULL,'6300253737','2026-09-15 05:34:54'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1149,NULL,NULL,'8179752879','2026-09-15 05:41:19'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1150,'Satya baddur','luckysatya99@gmail.com','8688494950','2026-09-15 06:38:33'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1151,NULL,NULL,'9989090972','2026-09-15 07:22:46'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1152,NULL,NULL,'9703071019','2026-09-15 08:56:00'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1153,NULL,NULL,'7569677244','2026-09-15 09:22:18'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1154,NULL,NULL,'7981636298','2026-09-15 09:33:02'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1155,NULL,NULL,'9059556859','2026-09-15 09:44:19'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1156,NULL,NULL,'9912177760','2026-09-15 10:19:48'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1157,NULL,NULL,'8897907600','2026-09-15 10:20:31'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1158,NULL,NULL,'9885643654','2026-09-15 10:55:09'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1159,NULL,NULL,'9030630087','2026-09-15 11:25:26'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1160,'SHANKAR SALVADI','shanka6salvadis@yahoo.com','9505751237','2026-09-15 11:54:59'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1161,NULL,NULL,'8919506344','2026-09-15 12:04:14'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1162,NULL,NULL,'9032622722','2026-09-15 12:04:16'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1163,NULL,NULL,'8688981635','2026-09-15 12:17:03'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1164,NULL,NULL,'8639913651','2026-09-15 13:02:22'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1165,NULL,NULL,'8499810490','2026-09-15 13:04:31'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1166,NULL,NULL,'9110345140','2026-09-15 13:19:14'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1167,NULL,NULL,'8978964923','2026-09-15 13:29:46'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1168,NULL,NULL,'9390519652','2026-09-15 13:36:54'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1169,NULL,NULL,'9346191871','2026-09-15 14:12:13'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1170,NULL,NULL,'9492177237','2026-09-15 14:52:41'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1171,NULL,NULL,'9948665080','2026-09-16 04:31:04'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1172,NULL,NULL,'8008309343','2026-09-16 05:15:12'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1173,'Jyothi','rishithathadikamalla0608@gmail.com','9398211196','2026-09-16 07:07:38'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1174,NULL,NULL,'8341047775','2026-09-16 07:57:15'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1175,NULL,NULL,'7731079973','2026-09-16 08:05:41'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1176,'K SRINIVASULU','darlingjaanu90@gmail.com','9966355432','2026-09-16 10:10:59'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1177,NULL,NULL,'8099998688','2026-09-16 10:55:32'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1178,NULL,NULL,'9912017573','2026-09-16 10:59:35'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1179,NULL,NULL,'9160347850','2026-09-16 11:38:14'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1180,NULL,NULL,'7382500497','2026-09-16 13:30:34'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1181,NULL,NULL,'9951907007','2026-09-16 13:59:02'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1182,NULL,NULL,'6304698210','2026-09-16 15:01:01'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1183,NULL,NULL,'8008657052','2026-09-16 15:33:12'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1184,NULL,NULL,'6304661370','2026-09-16 17:02:47'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1185,NULL,NULL,'9908445178','2026-09-16 18:28:01'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1186,NULL,NULL,'6303556339','2026-09-17 01:31:55'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1187,NULL,NULL,'9059431839','2026-09-17 03:54:30'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1188,NULL,NULL,'9381426908','2026-09-17 07:32:11'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1189,NULL,NULL,'9390564601','2026-09-17 10:22:08'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1190,NULL,NULL,'8688928690','2026-09-17 13:17:18'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1191,'M Naresh','nareshmothi@gmail.com','9912088130','2026-09-17 14:22:41'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1192,NULL,NULL,'7288925967','2026-09-17 16:36:46'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1193,NULL,NULL,'7780565371','2026-09-18 02:50:46'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1194,NULL,NULL,'7780565371','2026-09-18 02:50:46'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1195,NULL,NULL,'9542963786','2026-09-18 05:54:59'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1196,NULL,NULL,'9133411057','2026-09-18 06:14:21'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1197,NULL,NULL,'8185972016','2026-09-18 11:51:53'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1198,NULL,NULL,'8309501574','2026-09-18 11:57:59'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1199,NULL,NULL,'7731926519','2026-09-18 14:13:16'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1200,NULL,NULL,'9985039932','2026-09-18 15:04:12'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1201,NULL,NULL,'9381096452','2026-09-19 12:14:27'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1202,NULL,NULL,'9701643829','2026-09-19 12:16:25'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1203,NULL,NULL,'9912090428','2026-09-19 15:53:53'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1204,NULL,NULL,'9182449569','2026-09-20 01:12:43'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1205,NULL,NULL,'8925953692','2026-09-20 01:54:45'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1206,NULL,NULL,'9553257224','2026-09-20 02:08:01'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1207,NULL,NULL,'7989347494','2026-09-20 02:28:16'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1208,NULL,NULL,'9948222847','2026-09-20 03:12:06'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1209,NULL,NULL,'6301975348','2026-09-20 03:41:45'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1210,NULL,NULL,'7780750459','2026-09-20 03:48:58'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1211,NULL,NULL,'9502006782','2026-09-20 03:58:51'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1212,NULL,NULL,'9063609613','2026-09-20 04:06:51'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1213,NULL,NULL,'9666829992','2026-09-20 05:30:09'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1214,NULL,NULL,'9703727773','2026-09-20 06:14:34'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1215,NULL,NULL,'9666345606','2026-09-20 06:32:51'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1216,NULL,NULL,'9440885307','2026-09-20 06:51:36'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1217,NULL,NULL,'8008125985','2026-09-20 06:52:19'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1218,NULL,NULL,'8919890320','2026-09-20 07:28:33'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1219,NULL,NULL,'9000508910','2026-09-20 07:40:57'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1220,NULL,NULL,'7337211404','2026-09-20 07:48:10'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1221,NULL,NULL,'9866860253','2026-09-20 10:12:40'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1222,NULL,NULL,'9848990070','2026-09-20 19:09:44'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1223,NULL,NULL,'9603669017','2026-09-21 02:45:56'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1224,NULL,NULL,'9640535209','2026-09-21 03:26:02'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1225,NULL,NULL,'9398044707','2026-09-22 04:51:07'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1226,NULL,NULL,'8686677804','2026-09-22 05:38:02'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1227,NULL,NULL,'9347099203','2026-09-22 06:53:16'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1228,NULL,NULL,'8522925075','2026-09-22 07:38:56'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1229,NULL,NULL,'9885787399','2026-09-22 08:41:28'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1230,NULL,NULL,'6301907361','2026-09-22 10:28:09'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1231,NULL,NULL,'7989728150','2026-09-22 16:42:13'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1232,NULL,NULL,'8466095338','2026-09-22 17:50:04'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1233,NULL,NULL,'6281567385','2026-09-23 01:54:48'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1234,NULL,NULL,'7675846945','2026-09-23 06:22:31'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1235,NULL,NULL,'9703643637','2026-09-23 12:21:40'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1236,NULL,NULL,'8985000515','2026-09-23 12:34:54'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1237,NULL,NULL,'9666050071','2026-09-23 13:07:25'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1238,NULL,NULL,'9989896869','2026-09-23 14:37:50'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1239,NULL,NULL,'7396115577','2026-09-23 15:57:57'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1240,NULL,NULL,'8121052035','2026-09-23 19:46:34'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1241,NULL,NULL,'9449596020','2026-09-24 03:55:18'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1242,NULL,NULL,'8142757547','2026-09-24 07:21:57'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1243,NULL,NULL,'9885053577','2026-09-24 09:29:13'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1244,NULL,NULL,'9553144438','2026-09-24 11:49:25'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1245,NULL,NULL,'9391200211','2026-09-24 13:12:43'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1246,NULL,NULL,'7842096601','2026-09-24 13:55:57'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1247,NULL,NULL,'9959282428','2026-09-24 15:50:53'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1248,NULL,NULL,'9392589297','2026-09-25 03:30:09'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1249,NULL,NULL,'6302877682','2026-09-25 10:22:21'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1250,NULL,NULL,'9553935423','2026-09-25 11:33:03'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1251,NULL,NULL,'9505084966','2026-09-25 17:18:14'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1252,NULL,NULL,'9160395920','2026-09-26 04:36:11'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1253,NULL,NULL,'9059898895','2026-09-26 13:24:51'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1254,NULL,NULL,'7386398878','2026-09-26 15:42:58'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1255,NULL,NULL,'7382268404','2026-09-27 01:27:55'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1256,NULL,NULL,'9985440716','2026-09-27 01:54:07'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1257,NULL,NULL,'6302068018','2026-09-27 02:18:56'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1258,NULL,NULL,'9701920124','2026-09-27 02:59:12'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1259,NULL,NULL,'9704905100','2026-09-27 03:34:49'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1260,NULL,NULL,'9705970424','2026-09-27 03:54:04'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1261,NULL,NULL,'9951464320','2026-09-27 04:28:18'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1262,NULL,NULL,'7981846257','2026-09-27 04:35:22'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1263,NULL,NULL,'9866172788','2026-09-27 05:06:56'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1264,NULL,NULL,'9440089258','2026-09-27 05:49:56'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1265,NULL,NULL,'9951048403','2026-09-27 08:47:55'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1266,NULL,NULL,'9502313684','2026-09-27 09:43:01'); +INSERT INTO "users" ("id","name","email","mobile","created_at") VALUES(1267,NULL,NULL,'7981547899','2026-09-27 10:30:27'); CREATE TABLE IF NOT EXISTS "vendor_snippets" ("id" INTEGER PRIMARY KEY, "snippet_code" TEXT NOT NULL, "slot_id" INTEGER, "sku_ids" TEXT NOT NULL, "valid_till" TEXT, "created_at" TEXT NOT NULL DEFAULT CURRENT_TIMESTAMP, "is_permanent" INTEGER NOT NULL DEFAULT false); INSERT INTO "vendor_snippets" ("id","snippet_code","slot_id","sku_ids","valid_till","created_at","is_permanent") VALUES(55,'Allvegetables1',NULL,'[88,66,70,64,91,19,71,27,79,32,5,65,45,77,74,17,16,72,33,13,89,29,78,30,69,31,76,90,18,68]','2027-01-27T17:56:00.000Z','2026-01-27T18:03:18.974Z',1); INSERT INTO "vendor_snippets" ("id","snippet_code","slot_id","sku_ids","valid_till","created_at","is_permanent") VALUES(56,'AllMuttonitems',NULL,'[34,85,14,87,35,84,28,86,4,12,99,98,20]','2027-03-31T02:51:00.000Z','2026-01-28T02:52:14.560Z',1); @@ -11301,6 +12486,7 @@ INSERT INTO "product_info" ("id","name","short_description","long_description"," INSERT INTO "product_info" ("id","name","short_description","long_description","store_id","increment_step","created_at","product_type") VALUES(147,'All green leaf veggies pack ',NULL,NULL,4,1,'2026-09-01 02:36:57','combo'); INSERT INTO "product_info" ("id","name","short_description","long_description","store_id","increment_step","created_at","product_type") VALUES(148,'Pomegranate juice','Pomegranate juice is a deep ruby-red drink pressed from the jewel-like arils of the pomegranate fruit. It has a refreshing sweet-tart flavor with a slightly tangy, tannic finish. Naturally rich in vitamin C, potassium, and powerful polyphenol antioxidants, it''s prized for supporting heart health and reducing inflammation. Enjoyed fresh, in mocktails and cocktails, or reduced into molasses for cooking, it has been treasured since ancient times as both a refreshment and a tonic.',NULL,8,1,'2026-09-07 07:58:44','item'); INSERT INTO "product_info" ("id","name","short_description","long_description","store_id","increment_step","created_at","product_type") VALUES(149,'GYM PACK ',NULL,NULL,1,1,'2026-09-11 10:45:00','combo'); +INSERT INTO "product_info" ("id","name","short_description","long_description","store_id","increment_step","created_at","product_type") VALUES(150,'E2E Test Item 14Sep-2342',NULL,NULL,1,1,'2026-09-14 18:13:45','item'); CREATE TABLE `product_skus` ( `id` integer PRIMARY KEY AUTOINCREMENT NOT NULL, `product_id` integer NOT NULL, @@ -11329,7 +12515,7 @@ INSERT INTO "product_skus" ("id","product_id","name","images","is_offer","is_com INSERT INTO "product_skus" ("id","product_id","name","images","is_offer","is_combo_only","is_deleted","created_at") VALUES(15,15,NULL,'["product-images/1768477813647-0","product-images/1768477813648-1"]',0,0,0,'2025-12-06T18:05:43.241Z'); INSERT INTO "product_skus" ("id","product_id","name","images","is_offer","is_combo_only","is_deleted","created_at") VALUES(16,16,NULL,'["product-images/1769397372526-0"]',0,0,0,'2025-12-12T08:39:59.286Z'); INSERT INTO "product_skus" ("id","product_id","name","images","is_offer","is_combo_only","is_deleted","created_at") VALUES(17,17,NULL,'["product-images/1768640233068-0"]',0,0,0,'2025-12-18T07:52:23.436Z'); -INSERT INTO "product_skus" ("id","product_id","name","images","is_offer","is_combo_only","is_deleted","created_at") VALUES(18,18,NULL,'["product-images/1769351976737-0"]',0,0,0,'2025-12-18T09:07:08.849Z'); +INSERT INTO "product_skus" ("id","product_id","name","images","is_offer","is_combo_only","is_deleted","created_at") VALUES(18,18,NULL,'["product-images/1790430161681.jpg"]',0,0,0,'2025-12-18T09:07:08.849Z'); INSERT INTO "product_skus" ("id","product_id","name","images","is_offer","is_combo_only","is_deleted","created_at") VALUES(19,19,NULL,'["product-images/1768639707515-0"]',0,0,0,'2025-12-18T09:10:28.496Z'); INSERT INTO "product_skus" ("id","product_id","name","images","is_offer","is_combo_only","is_deleted","created_at") VALUES(20,20,NULL,'["product-images/1769353802270-0"]',0,0,0,'2025-12-19T09:12:31.946Z'); INSERT INTO "product_skus" ("id","product_id","name","images","is_offer","is_combo_only","is_deleted","created_at") VALUES(21,21,NULL,'["product-images/1768539930897-0","product-images/1768539930899-1"]',0,0,0,'2025-12-19T09:15:54.143Z'); @@ -11395,7 +12581,7 @@ INSERT INTO "product_skus" ("id","product_id","name","images","is_offer","is_com INSERT INTO "product_skus" ("id","product_id","name","images","is_offer","is_combo_only","is_deleted","created_at") VALUES(81,81,NULL,'["product-images/1769063467386-0"]',0,0,0,'2026-01-22T06:31:08.364Z'); INSERT INTO "product_skus" ("id","product_id","name","images","is_offer","is_combo_only","is_deleted","created_at") VALUES(82,82,NULL,'["product-images/1782023099986.png"]',0,0,0,'2026-01-22T06:34:21.712Z'); INSERT INTO "product_skus" ("id","product_id","name","images","is_offer","is_combo_only","is_deleted","created_at") VALUES(83,83,NULL,'["product-images/1769149204037-0"]',0,0,0,'2026-01-23T06:20:05.311Z'); -INSERT INTO "product_skus" ("id","product_id","name","images","is_offer","is_combo_only","is_deleted","created_at") VALUES(84,84,NULL,'["product-images/1769149707440-0"]',0,0,0,'2026-01-23T06:26:40.140Z'); +INSERT INTO "product_skus" ("id","product_id","name","images","is_offer","is_combo_only","is_deleted","created_at") VALUES(84,84,NULL,'["1769149707440-0"]',0,0,0,'2026-01-23T06:26:40.140Z'); INSERT INTO "product_skus" ("id","product_id","name","images","is_offer","is_combo_only","is_deleted","created_at") VALUES(85,85,NULL,'["product-images/1769150471654-0","product-images/1769150471655-1"]',0,0,0,'2026-01-23T06:41:12.693Z'); INSERT INTO "product_skus" ("id","product_id","name","images","is_offer","is_combo_only","is_deleted","created_at") VALUES(86,86,NULL,'["product-images/1769151216776-0"]',0,0,0,'2026-01-23T06:53:37.665Z'); INSERT INTO "product_skus" ("id","product_id","name","images","is_offer","is_combo_only","is_deleted","created_at") VALUES(87,87,NULL,'["product-images/1769151844424-0"]',0,0,0,'2026-01-23T07:04:05.440Z'); @@ -11449,7 +12635,7 @@ INSERT INTO "product_skus" ("id","product_id","name","images","is_offer","is_com INSERT INTO "product_skus" ("id","product_id","name","images","is_offer","is_combo_only","is_deleted","created_at") VALUES(135,135,NULL,'["product-images/1784700581756.png"]',0,0,0,'2026-07-22 06:09:43'); INSERT INTO "product_skus" ("id","product_id","name","images","is_offer","is_combo_only","is_deleted","created_at") VALUES(136,136,NULL,'["product-images/1788533822538.jpg"]',0,0,0,'2026-08-20 14:17:41'); INSERT INTO "product_skus" ("id","product_id","name","images","is_offer","is_combo_only","is_deleted","created_at") VALUES(137,137,NULL,'["product-images/1787247236467.png"]',0,0,0,'2026-08-20 17:33:58'); -INSERT INTO "product_skus" ("id","product_id","name","images","is_offer","is_combo_only","is_deleted","created_at") VALUES(138,138,NULL,'["product-images/1787247755954.jpg"]',0,0,0,'2026-08-20 17:42:38'); +INSERT INTO "product_skus" ("id","product_id","name","images","is_offer","is_combo_only","is_deleted","created_at") VALUES(138,138,NULL,'["1787247755954.jpg"]',0,0,0,'2026-08-20 17:42:38'); INSERT INTO "product_skus" ("id","product_id","name","images","is_offer","is_combo_only","is_deleted","created_at") VALUES(139,139,NULL,'["product-images/1787248611495.jpg"]',0,0,0,'2026-08-20 17:56:53'); INSERT INTO "product_skus" ("id","product_id","name","images","is_offer","is_combo_only","is_deleted","created_at") VALUES(140,140,NULL,'["product-images/1787248824197.png","product-images/1787248824464.jpg"]',0,0,0,'2026-08-20 18:00:28'); INSERT INTO "product_skus" ("id","product_id","name","images","is_offer","is_combo_only","is_deleted","created_at") VALUES(141,141,NULL,'["product-images/1787249312475.jpg"]',0,0,0,'2026-08-20 18:01:09'); @@ -11461,6 +12647,7 @@ INSERT INTO "product_skus" ("id","product_id","name","images","is_offer","is_com INSERT INTO "product_skus" ("id","product_id","name","images","is_offer","is_combo_only","is_deleted","created_at") VALUES(147,147,NULL,'["product-images/1788230211980.png"]',0,0,0,'2026-09-01 02:36:57'); INSERT INTO "product_skus" ("id","product_id","name","images","is_offer","is_combo_only","is_deleted","created_at") VALUES(148,148,NULL,'["product-images/1788767922579.png"]',0,0,0,'2026-09-07 07:58:44'); INSERT INTO "product_skus" ("id","product_id","name","images","is_offer","is_combo_only","is_deleted","created_at") VALUES(149,149,NULL,'["product-images/1789123496246.png"]',0,1,0,'2026-09-11 10:45:00'); +INSERT INTO "product_skus" ("id","product_id","name","images","is_offer","is_combo_only","is_deleted","created_at") VALUES(150,150,NULL,'[]',0,0,0,'2026-09-14 18:13:45'); CREATE TABLE `sku_features` ( `id` integer PRIMARY KEY AUTOINCREMENT NOT NULL, `sku_id` integer NOT NULL, @@ -11484,7 +12671,6 @@ INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES(15,15,'quantity','1.0Kg'); INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES(16,16,'quantity','0.25Kg'); INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES(17,17,'quantity','1.0Kg'); -INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES(18,18,'quantity','1.0Kg'); INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES(19,19,'quantity','0.5Kg'); INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES(20,20,'quantity','1.0Pc'); INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES(21,21,'quantity','2.0Kg'); @@ -11514,7 +12700,6 @@ INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES(45,45,'quantity','0.5Kg'); INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES(46,46,'quantity','3.0Pc'); INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES(47,47,'quantity','2.0Pc'); -INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES(48,48,'quantity','0.5Kg'); INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES(49,49,'quantity','3.0Pc'); INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES(50,50,'quantity','0.6Kg'); INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES(51,51,'quantity','0.25Kg'); @@ -11546,7 +12731,6 @@ INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES(79,79,'quantity','0.5Kg'); INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES(80,80,'quantity','1.0Kg'); INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES(82,82,'quantity','0.75Kg'); -INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES(84,84,'quantity','1.0Pc'); INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES(85,85,'quantity','4.0Pc'); INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES(86,86,'quantity','0.5Kg'); INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES(87,87,'quantity','0.5Kg'); @@ -11597,7 +12781,6 @@ INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES(135,135,'quantity','0.25Kg'); INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES(136,102,'quantity','0.7Kg'); INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES(138,53,'quantity','1pc'); -INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES(142,138,'quantity','7'); INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES(143,139,'quantity','5 pc'); INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES(146,141,'quantity','4 pc '); INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES(147,140,'quantity','5 pc'); @@ -11612,11 +12795,16 @@ INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES(156,145,'quantity','7 pc'); INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES(157,146,'quantity','7 pc'); INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES(158,147,'quantity','8'); -INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES(162,136,'quantity','15 pc'); INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES(163,148,'quantity','0.2L'); INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES(165,149,'quantity','5pc'); INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES(166,130,'quantity','0.25Kg'); INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES(167,129,'quantity','0.25Kg'); +INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES(170,150,'quantity','0.5 kg'); +INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES(171,84,'quantity','1.0Pc'); +INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES(173,138,'quantity','7'); +INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES(174,18,'quantity','1.0Kg'); +INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES(175,48,'quantity','0.5Kg'); +INSERT INTO "sku_features" ("id","sku_id","feature_name","feature_value") VALUES(176,136,'quantity','15 pc'); CREATE TABLE `product_market_stats` ( `id` integer PRIMARY KEY AUTOINCREMENT NOT NULL, `sku_id` integer NOT NULL, @@ -11628,16 +12816,16 @@ CREATE TABLE `product_market_stats` ( `is_suspended` integer DEFAULT false NOT NULL, FOREIGN KEY (`sku_id`) REFERENCES `product_skus`(`id`) ON UPDATE no action ON DELETE no action ); -INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(1,1,'110.0','99.0',1,NULL,0,0); +INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(1,1,'110.0','99.0',1,NULL,1,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(2,2,'220.0','215.0',1,'215.0',0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(3,3,'120.0','99.0',0,'120.0',1,0); -INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(4,4,'860.0','839.0',0,NULL,0,0); +INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(4,4,'899','859',0,NULL,0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(5,5,'19.0','15.0',1,'15.0',0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(6,6,'120.0','109.0',1,NULL,0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(7,7,'79.0','69.0',1,'69.0',0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(8,8,'139','129',1,'129',0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(9,9,'340.0','296.0',1,'320.0',0,0); -INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(10,10,'299.0','269.0',1,'269.0',0,0); +INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(10,10,'299.0','289',1,'289',0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(11,11,'150.0','119.0',1,'150.0',1,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(12,12,'870.0','850.0',0,NULL,1,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(13,13,'89.0','79',0,'79',1,0); @@ -11645,12 +12833,12 @@ INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(15,15,'250.0','210.0',0,NULL,1,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(16,16,'20.0','16.0',0,'16.0',0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(17,17,'35.0','28.0',0,NULL,1,0); -INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(18,18,'69','59',1,'65',0,0); +INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(18,18,'79','69',1,'79',0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(19,19,'19.0','15.0',1,'19.0',0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(20,20,'400.0','379.0',0,NULL,1,0); -INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(21,21,'519','499',0,'499',0,0); +INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(21,21,'609','589',0,'589',0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(22,22,'799.0','649.0',0,NULL,1,0); -INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(23,23,'131','121',1,'121',0,0); +INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(23,23,'156','148',1,'148',0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(24,24,'230','215.0',1,'215.0',0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(25,25,'130.0','119.0',1,NULL,0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(26,26,'94.0','78.0',0,NULL,0,0); @@ -11663,20 +12851,20 @@ INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(33,33,'20.0','15.0',0,NULL,0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(34,34,'399.0','362.0',0,'362.0',0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(35,35,'450.0','429.0',0,NULL,0,0); -INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(36,36,'289','269.0',1,'269.0',0,0); +INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(36,36,'306','295',1,'295',0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(37,37,'59.0','49.0',0,'49.0',0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(38,38,'85.0','76.0',1,NULL,1,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(39,39,'140.0','119.0',1,'129.0',1,0); -INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(40,40,'131','121',1,'121',0,0); +INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(40,40,'156','148',1,'148',0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(41,41,'230','215.0',1,'215.0',0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(42,42,'129','119',1,'119',0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(43,43,'160.0','135.0',0,NULL,1,0); -INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(44,44,'139.0','129.0',1,'139.0',0,0); +INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(44,44,'170','159',1,'159',0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(45,45,'16.0','15.0',1,'15.0',0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(46,46,'130.0','109.0',1,NULL,0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(47,47,'130.0','119.0',1,NULL,0,0); -INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(48,48,'68.0','59.0',1,'59.0',0,0); -INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(49,49,'179.0','159.0',1,'159.0',0,0); +INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(48,48,'89','79',1,'59',0,0); +INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(49,49,'189','169',1,'169',0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(50,50,'128.0','119.0',0,NULL,1,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(51,51,'180.0','169.0',0,NULL,1,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(52,52,'40.0','29.0',0,NULL,1,0); @@ -11685,7 +12873,7 @@ INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(55,55,'80.0','69.0',0,NULL,1,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(56,56,'72.0','67.0',0,NULL,0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(57,57,'69.0','59.0',0,NULL,1,0); -INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(58,58,'75.0','59.0',1,'59.0',0,0); +INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(58,58,'109','89',1,'89',0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(59,59,'130.0','120.0',1,'120.0',0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(60,60,'89.0','79.0',1,'79.0',0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(61,61,'119.0','109.0',1,'119.0',0,0); @@ -11709,9 +12897,9 @@ INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(79,79,'47.0','39.0',1,NULL,1,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(80,80,'569','799',0,'819',0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(81,81,'599','569',1,'569',0,0); -INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(82,82,'419.0','389.0',1,'420.0',0,0); +INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(82,82,'449','399',1,'420.0',0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(83,83,'230','210',0,NULL,0,0); -INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(84,84,'130.0','119.0',0,NULL,1,0); +INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(84,84,'149','129',0,NULL,0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(85,85,'270.0','259.0',0,NULL,0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(86,86,'440.0','439.0',0,'439.0',0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(87,87,'300.0','259.0',0,NULL,0,0); @@ -11725,8 +12913,8 @@ INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(95,95,'19.0','15.0',1,'15.0',0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(96,96,'120.0','109.0',1,NULL,0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(97,97,'25.0','19.0',1,NULL,0,0); -INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(98,98,'449','419.0',0,NULL,0,0); -INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(99,99,'660.0','635.0',0,NULL,0,0); +INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(98,98,'449','429',0,NULL,0,0); +INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(99,99,'679','645',0,NULL,0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(100,100,'119.0','109.0',1,'109.0',0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(101,101,'23.0','19.0',1,'20.0',0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(102,102,'520','498',1,'499',0,0); @@ -11764,10 +12952,10 @@ INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(134,134,'200.0','169.0',1,'179.0',0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(135,135,'399.0','375.0',1,'375.0',0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(136,136,'319','199',0,NULL,0,0); -INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(137,137,'259','242',1,'242',0,0); -INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(138,138,'359','319',0,NULL,0,0); +INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(137,137,'306','295',1,'295',0,0); +INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(138,138,'599','449',0,NULL,0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(139,139,'139','119',0,NULL,0,0); -INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(140,140,'89','69',0,NULL,0,0); +INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(140,140,'169','129',0,'129',0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(141,141,'429','399',0,NULL,0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(142,142,'249','219',0,NULL,0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(143,143,'229','210',0,NULL,0,0); @@ -11776,7 +12964,8 @@ INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(146,146,'19','15',0,NULL,0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(147,147,'149','129',0,NULL,0,0); INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(148,148,'49','59',0,NULL,0,0); -INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(149,149,'219','149',0,NULL,0,0); +INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(149,149,'219','210',0,NULL,0,0); +INSERT INTO "product_market_stats" ("id","sku_id","market_price","our_price","is_flash_available","flash_price","is_out_of_stock","is_suspended") VALUES(150,150,NULL,'499',0,NULL,0,1); CREATE TABLE IF NOT EXISTS "cart_items" ( `id` integer PRIMARY KEY AUTOINCREMENT NOT NULL, `user_id` integer NOT NULL, @@ -18620,7 +19809,731 @@ INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discount INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7056,2091,74,'3','29.0','29.0',1,1); INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7057,2091,78,'1','15.0','15.0',1,0); INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7058,2091,146,'3','15','15',1,0); -INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7059,2092,4,'1','839.0','839.0',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7059,2092,4,'1','839.0','839.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7060,2093,29,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7061,2093,33,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7062,2093,76,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7063,2093,74,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7064,2093,65,'1','16.0','16.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7065,2093,5,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7066,2093,78,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7067,2093,31,'2','13.0','13.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7068,2093,32,'2','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7069,2093,45,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7070,2093,69,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7071,2093,71,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7072,2093,94,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7073,2093,95,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7074,2093,97,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7075,2093,101,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7076,2093,103,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7077,2093,49,'1','159.0','159.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7078,2094,6,'1','109.0','109.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7079,2095,23,'2','121','121',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7080,2095,136,'1','199','199',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7081,2096,23,'1','121','121',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7082,2097,44,'1','139.0','139.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7083,2097,100,'1','109.0','109.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7084,2097,7,'1','69.0','69.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7085,2097,8,'1','129','129',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7086,2097,46,'1','109.0','109.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7087,2098,23,'2','121','121',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7088,2099,111,'1','29.0','29.0',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7089,2099,105,'1','59.0','59.0',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7090,2100,4,'1','839.0','839.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7091,2101,59,'1','120.0','120.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7092,2101,32,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7093,2102,23,'1','121','121',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7094,2102,2,'1','215.0','215.0',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7095,2102,24,'1','215.0','215.0',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7096,2102,41,'1','215.0','215.0',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7097,2102,36,'1','269.0','269.0',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7098,2103,4,'1','839.0','839.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7099,2104,23,'3','121','121',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7100,2104,101,'1','20.0','20.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7101,2104,97,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7102,2105,136,'1','199','199',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7103,2105,45,'2','15.0','15.0',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7104,2105,32,'1','19.0','19.0',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7105,2105,145,'1','15','15',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7106,2105,33,'1','15.0','15.0',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7107,2106,4,'1','839.0','839.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7108,2107,94,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7109,2107,78,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7110,2107,72,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7111,2107,45,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7112,2107,37,'1','49.0','49.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7113,2107,19,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7114,2107,69,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7115,2107,101,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7116,2108,76,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7117,2108,98,'1','419.0','419.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7118,2108,137,'1','242','242',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7119,2108,14,'1','419.0','419.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7120,2109,1,'1','99.0','99.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7121,2110,23,'1','121','121',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7122,2110,136,'1','199','199',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7123,2111,23,'2','121','121',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7124,2112,32,'3','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7125,2112,69,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7126,2112,103,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7127,2112,145,'1','15','15',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7128,2112,127,'1','33.0','33.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7129,2112,19,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7130,2112,33,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7131,2112,73,'1','59.0','59.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7132,2112,60,'1','79.0','79.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7133,2112,74,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7134,2112,72,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7135,2113,58,'1','59.0','59.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7136,2113,48,'1','59.0','59.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7137,2114,136,'1','199','199',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7138,2114,58,'1','59.0','59.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7139,2115,136,'1','199','199',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7140,2115,58,'1','59.0','59.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7141,2116,136,'1','199','199',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7142,2116,58,'1','59.0','59.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7143,2117,35,'1','429.0','429.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7144,2118,48,'1','59.0','59.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7145,2118,49,'1','159.0','159.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7146,2118,30,'3','17.0','17.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7147,2118,58,'1','59.0','59.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7148,2118,72,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7149,2118,114,'1','49.0','49.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7150,2119,32,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7151,2119,103,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7152,2119,53,'1','89','89',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7153,2119,33,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7154,2119,58,'1','59.0','59.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7155,2120,33,'2','15.0','15.0',1,1); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7156,2121,136,'1','199','199',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7157,2122,45,'6','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7158,2122,103,'2','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7159,2122,72,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7160,2122,37,'1','49.0','49.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7161,2122,19,'4','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7162,2122,33,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7163,2122,29,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7164,2122,67,'1','35','35',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7165,2122,76,'3','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7166,2122,127,'1','33.0','33.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7167,2122,30,'1','17.0','17.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7168,2122,78,'4','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7169,2122,32,'2','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7170,2122,71,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7171,2122,97,'2','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7172,2123,6,'1','109.0','109.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7173,2123,44,'1','129.0','129.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7174,2123,46,'1','109.0','109.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7175,2124,23,'1','127','127',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7176,2124,78,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7177,2124,32,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7178,2125,136,'1','199','199',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7179,2126,35,'1','429.0','429.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7180,2126,23,'1','127','127',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7181,2127,98,'1','419.0','419.0',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7182,2128,129,'1','249','249',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7183,2128,130,'1','300','300',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7184,2128,131,'1','149.0','149.0',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7185,2129,30,'2','17.0','17.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7186,2129,72,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7187,2129,89,'1','13.0','13.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7188,2129,31,'2','13.0','13.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7189,2129,94,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7190,2129,95,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7191,2129,69,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7192,2130,16,'1','16.0','16.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7193,2130,19,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7194,2130,32,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7195,2130,31,'3','13.0','13.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7196,2130,33,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7197,2130,45,'3','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7198,2130,66,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7199,2130,67,'2','35','35',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7200,2130,69,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7201,2130,77,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7202,2130,78,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7203,2130,72,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7204,2130,94,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7205,2130,95,'3','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7206,2130,103,'3','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7207,2130,146,'3','15','15',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7208,2130,127,'1','33.0','33.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7209,2131,77,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7210,2131,31,'1','13.0','13.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7211,2132,48,'1','59.0','59.0',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7212,2132,121,'1','49.0','49.0',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7213,2132,118,'1','39.0','39.0',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7214,2132,136,'1','199','199',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7215,2133,136,'1','199','199',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7216,2134,136,'1','199','199',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7217,2134,18,'1','59','59',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7218,2134,45,'4','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7221,2135,19,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7222,2135,30,'1','17.0','17.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7223,2135,37,'1','49.0','49.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7224,2135,45,'3','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7225,2135,72,'3','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7226,2135,77,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7227,2135,146,'2','15','15',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7228,2135,95,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7229,2135,40,'2','127','127',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7230,2136,100,'1','109.0','109.0',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7231,2136,53,'1','89','89',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7232,2136,73,'1','59.0','59.0',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7233,2137,78,'1','15.0','15.0',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7234,2138,45,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7235,2138,78,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7236,2139,40,'1','127','127',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7237,2139,58,'1','59.0','59.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7238,2140,27,'1','13.0','13.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7239,2140,72,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7240,2140,78,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7241,2140,95,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7242,2140,32,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7243,2140,144,'1','19','19',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7244,2140,97,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7245,2141,41,'2','215.0','215.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7246,2141,23,'2','127','127',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7247,2141,33,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7248,2141,101,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7249,2141,97,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7250,2142,44,'2','139.0','139.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7251,2143,8,'1','129','129',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7252,2143,141,'1','399','399',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7253,2144,45,'4','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7254,2144,72,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7255,2144,77,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7256,2144,78,'4','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7257,2144,95,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7258,2144,103,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7259,2144,37,'1','49.0','49.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7260,2144,32,'2','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7261,2144,30,'2','17.0','17.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7262,2144,29,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7263,2144,19,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7264,2145,16,'1','16.0','16.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7265,2145,66,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7266,2145,69,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7267,2145,147,'1','129','129',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7268,2146,14,'1','419.0','419.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7269,2146,23,'1','127','127',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7270,2147,40,'1','127','127',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7271,2148,32,'3','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7272,2148,40,'3','127','127',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7273,2148,48,'1','59.0','59.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7274,2148,76,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7275,2148,97,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7276,2149,33,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7277,2149,72,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7278,2149,19,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7279,2149,76,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7280,2149,78,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7281,2149,31,'2','13.0','13.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7282,2149,32,'2','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7283,2149,45,'4','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7284,2149,71,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7285,2149,69,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7286,2149,144,'1','15','15',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7287,2150,72,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7288,2150,19,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7289,2150,78,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7290,2150,45,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7291,2150,71,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7292,2150,69,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7293,2150,89,'1','13.0','13.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7294,2150,32,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7295,2150,94,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7296,2150,46,'1','109.0','109.0',1,1); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7297,2150,48,'2','59.0','59.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7298,2150,8,'1','129','129',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7299,2150,101,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7300,2151,6,'1','109.0','109.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7301,2152,23,'1','129','129',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7302,2152,18,'1','65','65',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7303,2153,23,'2','129','129',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7304,2154,35,'1','429.0','429.0',1,1); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7305,2155,72,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7306,2155,90,'1','27.0','27.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7307,2155,95,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7308,2155,144,'1','15','15',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7309,2155,56,'1','67.0','67.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7310,2155,29,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7311,2155,67,'1','35','35',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7312,2155,101,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7313,2155,71,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7314,2155,45,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7315,2156,137,'1','259','259',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7316,2157,136,'1','199','199',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7317,2158,98,'1','419.0','419.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7318,2159,45,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7319,2160,2,'1','215.0','215.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7320,2160,26,'1','78.0','78.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7321,2161,35,'1','429.0','429.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7322,2162,31,'1','13.0','13.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7323,2162,45,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7324,2162,32,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7325,2162,95,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7326,2162,30,'1','17.0','17.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7327,2162,27,'1','13.0','13.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7328,2162,78,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7329,2162,97,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7330,2162,101,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7331,2162,29,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7332,2163,40,'2','129','129',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7333,2163,72,'1','15.0','15.0',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7334,2164,23,'2','129','129',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7335,2164,32,'3','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7336,2164,101,'1','20.0','20.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7337,2164,97,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7338,2165,9,'1','320.0','320.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7339,2165,23,'1','129','129',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7340,2166,40,'1','129','129',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7341,2167,23,'2','129','129',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7342,2167,31,'1','13.0','13.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7343,2167,7,'1','69.0','69.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7344,2168,23,'2','129','129',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7345,2169,136,'1','199','199',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7346,2169,67,'1','35','35',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7347,2169,95,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7348,2170,14,'1','419.0','419.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7349,2171,95,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7350,2171,66,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7351,2171,45,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7352,2171,146,'1','15','15',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7353,2171,31,'1','13.0','13.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7354,2171,32,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7355,2171,65,'1','16.0','16.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7356,2171,78,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7357,2172,40,'2','129','129',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7358,2173,136,'1','199','199',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7359,2174,10,'1','269.0','269.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7360,2175,23,'1','129','129',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7361,2176,69,'4','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7362,2176,5,'4','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7363,2176,48,'3','59.0','59.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7364,2176,49,'1','159.0','159.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7365,2177,23,'1','129','129',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7366,2178,98,'1','419.0','419.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7367,2179,23,'2','129','129',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7368,2179,97,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7369,2180,98,'1','419.0','419.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7370,2181,136,'1','199','199',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7371,2182,40,'3','129','129',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7372,2182,144,'1','19','19',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7373,2182,101,'1','20.0','20.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7374,2182,72,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7375,2182,45,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7376,2182,31,'2','13.0','13.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7377,2182,27,'2','13.0','13.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7378,2182,23,'1','129','129',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7379,2183,1,'1','99.0','99.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7380,2183,137,'1','259','259',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7381,2183,45,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7382,2183,78,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7383,2183,67,'1','35','35',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7384,2184,32,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7385,2184,18,'1','79','79',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7386,2184,45,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7387,2184,78,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7388,2184,95,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7389,2184,31,'1','13.0','13.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7390,2184,19,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7391,2184,23,'1','129','129',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7392,2184,7,'1','69.0','69.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7393,2185,9,'1','296.0','296.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7394,2186,35,'1','429.0','429.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7395,2186,76,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7396,2186,65,'2','16.0','16.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7397,2187,40,'1','129','129',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7398,2188,82,'1','420.0','420.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7399,2189,83,'1','210','210',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7400,2189,97,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7401,2189,101,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7402,2189,32,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7403,2190,23,'2','129','129',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7404,2190,5,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7405,2191,99,'1','635.0','635.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7406,2191,35,'1','429.0','429.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7407,2192,19,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7408,2192,27,'2','13.0','13.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7409,2192,31,'4','13.0','13.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7410,2192,32,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7411,2192,45,'3','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7412,2192,66,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7413,2192,78,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7414,2192,77,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7415,2192,95,'4','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7416,2192,101,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7417,2192,72,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7418,2192,103,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7419,2192,74,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7420,2193,136,'1','199','199',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7421,2194,136,'1','199','199',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7422,2194,67,'1','35','35',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7423,2194,45,'2','15.0','15.0',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7424,2194,78,'2','15.0','15.0',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7425,2194,144,'1','15','15',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7426,2195,23,'1','129','129',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7427,2195,32,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7428,2195,45,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7429,2195,78,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7430,2195,101,'1','20.0','20.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7431,2195,31,'2','13.0','13.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7432,2196,14,'1','419.0','419.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7433,2196,1,'1','99.0','99.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7434,2197,137,'1','259','259',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7435,2197,95,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7436,2197,69,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7437,2198,1,'1','99.0','99.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7438,2198,137,'1','259','259',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7439,2199,137,'1','259','259',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7440,2200,40,'1','129','129',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7441,2200,26,'1','78.0','78.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7442,2200,53,'1','89','89',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7443,2201,21,'1','499','499',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7444,2202,98,'1','419.0','419.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7445,2203,98,'1','419.0','419.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7446,2204,9,'1','296.0','296.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7447,2205,136,'1','199','199',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7448,2206,21,'1','499','499',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7449,2207,73,'2','59.0','59.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7450,2207,127,'1','33.0','33.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7451,2207,67,'1','35','35',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7452,2207,69,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7453,2208,40,'1','129','129',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7454,2209,23,'2','129','129',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7455,2210,69,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7456,2210,32,'2','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7457,2210,5,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7458,2210,33,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7459,2210,30,'1','17.0','17.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7460,2210,78,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7461,2210,45,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7462,2210,101,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7463,2211,45,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7464,2211,72,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7465,2211,103,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7466,2211,27,'2','13.0','13.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7467,2212,78,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7468,2212,77,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7469,2212,16,'1','16.0','16.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7470,2212,74,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7471,2212,146,'1','15','15',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7472,2212,76,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7473,2212,103,'2','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7474,2212,37,'1','49.0','49.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7475,2212,29,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7476,2213,37,'1','49.0','49.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7477,2213,94,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7478,2214,95,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7479,2214,45,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7480,2214,78,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7481,2214,16,'1','16.0','16.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7482,2214,27,'1','13.0','13.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7483,2215,32,'4','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7484,2216,58,'1','59.0','59.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7485,2216,73,'1','59.0','59.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7486,2216,117,'1','59.0','59.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7487,2216,105,'1','59.0','59.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7488,2217,16,'1','16.0','16.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7489,2217,19,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7490,2217,27,'1','13.0','13.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7491,2217,30,'1','17.0','17.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7492,2217,29,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7493,2217,31,'1','13.0','13.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7494,2217,45,'3','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7495,2217,72,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7496,2217,78,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7497,2217,95,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7498,2217,103,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7499,2217,144,'1','15','15',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7500,2218,5,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7501,2218,19,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7502,2218,31,'3','13.0','13.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7503,2218,33,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7504,2218,45,'3','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7505,2218,66,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7506,2218,67,'2','35','35',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7507,2218,69,'1','15.0','15.0',1,1); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7508,2218,71,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7509,2218,72,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7510,2218,76,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7511,2218,78,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7512,2218,94,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7513,2218,95,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7514,2218,97,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7515,2218,103,'2','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7516,2218,32,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7517,2218,92,'1','35.0','35.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7518,2219,40,'2','129','129',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7519,2220,7,'1','69.0','69.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7520,2220,26,'1','78.0','78.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7521,2220,58,'1','59.0','59.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7522,2220,56,'1','67.0','67.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7523,2221,46,'1','109.0','109.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7524,2221,23,'2','129','129',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7525,2222,141,'1','399','399',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7526,2223,136,'2','199','199',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7527,2224,23,'2','135','135',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7528,2224,45,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7529,2225,30,'1','17.0','17.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7530,2225,45,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7531,2225,72,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7532,2225,144,'1','19','19',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7533,2225,40,'1','135','135',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7534,2225,32,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7535,2225,31,'1','13.0','13.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7536,2225,131,'1','169.0','169.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7537,2226,1,'2','99.0','99.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7538,2227,8,'1','129','129',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7539,2227,7,'1','69.0','69.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7540,2227,44,'1','159','159',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7541,2227,46,'1','109.0','109.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7542,2227,100,'1','109.0','109.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7543,2228,36,'1','269.0','269.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7544,2228,2,'1','215.0','215.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7545,2229,23,'2','135','135',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7546,2230,23,'1','135','135',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7547,2231,98,'3','419.0','419.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7548,2232,5,'1','15.0','15.0',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7549,2232,32,'1','19.0','19.0',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7550,2232,65,'1','16.0','16.0',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7551,2233,5,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7552,2233,32,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7553,2233,65,'1','16.0','16.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7554,2234,23,'2','135','135',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7555,2234,45,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7556,2235,136,'1','199','199',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7557,2236,23,'4','135','135',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7558,2236,7,'1','69.0','69.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7559,2236,24,'1','215.0','215.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7560,2237,23,'1','135','135',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7561,2238,9,'2','296.0','296.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7562,2239,24,'1','215.0','215.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7563,2240,7,'1','69.0','69.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7564,2240,25,'1','119.0','119.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7565,2240,100,'1','109.0','109.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7566,2240,19,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7567,2240,27,'2','13.0','13.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7568,2240,32,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7569,2240,33,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7570,2240,45,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7571,2240,71,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7572,2240,78,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7573,2240,95,'4','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7574,2240,103,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7575,2240,94,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7576,2240,92,'1','35.0','35.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7577,2241,136,'1','199','199',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7578,2242,100,'1','109.0','109.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7579,2242,49,'1','169','169',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7580,2242,32,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7581,2242,60,'1','79.0','79.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7582,2243,40,'1','135','135',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7583,2244,9,'1','296.0','296.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7584,2245,23,'1','135','135',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7585,2246,23,'2','135','135',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7586,2247,137,'1','269','269',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7587,2247,76,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7588,2247,71,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7589,2247,97,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7590,2248,67,'1','35','35',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7591,2248,32,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7592,2249,5,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7593,2249,45,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7594,2249,69,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7595,2249,27,'2','13.0','13.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7596,2249,29,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7597,2249,37,'1','49.0','49.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7598,2250,45,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7599,2250,66,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7600,2250,5,'4','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7601,2251,82,'1','389.0','389.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7602,2252,138,'1','449','449',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7603,2253,98,'1','419.0','419.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7604,2254,23,'1','143','143',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7605,2255,23,'2','143','143',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7606,2255,2,'1','215.0','215.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7607,2256,19,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7608,2256,23,'1','143','143',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7609,2256,29,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7610,2256,45,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7611,2256,37,'1','49.0','49.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7612,2256,32,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7613,2256,5,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7614,2257,111,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7615,2258,45,'4','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7616,2258,137,'1','286','286',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7617,2258,32,'2','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7618,2258,101,'4','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7619,2259,9,'1','296.0','296.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7620,2260,28,'1','729.0','729.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7621,2261,40,'3','143','143',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7622,2262,77,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7623,2262,97,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7624,2263,9,'1','296.0','296.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7625,2264,27,'1','13.0','13.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7626,2264,45,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7627,2264,78,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7628,2264,145,'1','15','15',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7629,2264,146,'1','15','15',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7630,2264,74,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7631,2264,76,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7632,2264,71,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7633,2264,72,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7634,2265,23,'1','143','143',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7635,2266,78,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7636,2266,36,'1','269.0','269.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7637,2267,136,'1','199','199',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7638,2267,40,'1','143','143',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7639,2268,9,'1','296.0','296.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7640,2269,45,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7641,2269,103,'2','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7642,2269,95,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7643,2269,37,'1','49.0','49.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7644,2269,70,'2','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7645,2269,78,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7646,2269,89,'2','13.0','13.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7647,2269,31,'2','13.0','13.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7648,2269,67,'1','35','35',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7649,2269,32,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7650,2269,65,'1','16.0','16.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7651,2270,136,'1','199','199',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7652,2271,23,'1','143','143',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7653,2272,136,'1','199','199',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7654,2272,147,'1','129','129',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7655,2273,40,'4','143','143',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7656,2274,40,'8','143','143',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7657,2274,76,'1','39.0','39.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7658,2274,97,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7659,2274,101,'1','20.0','20.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7660,2274,32,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7661,2275,23,'2','143','143',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7662,2276,23,'1','143','143',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7663,2277,40,'1','143','143',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7664,2278,136,'1','199','199',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7665,2279,45,'10','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7666,2279,19,'4','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7667,2279,103,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7668,2279,101,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7669,2279,94,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7670,2279,31,'2','13.0','13.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7671,2279,27,'1','13.0','13.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7672,2279,32,'2','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7673,2279,66,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7674,2279,78,'4','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7675,2279,5,'3','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7676,2279,69,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7677,2279,37,'1','49.0','49.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7678,2279,72,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7679,2279,33,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7680,2279,29,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7681,2279,92,'1','35.0','35.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7682,2279,16,'1','16.0','16.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7683,2279,77,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7684,2279,146,'1','15','15',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7685,2280,36,'1','295','295',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7686,2281,9,'1','320.0','320.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7687,2282,48,'2','59.0','59.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7688,2282,69,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7689,2282,72,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7690,2282,73,'5','59.0','59.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7691,2282,32,'2','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7692,2282,45,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7693,2282,94,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7694,2282,97,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7695,2283,23,'2','148','148',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7696,2284,4,'1','859','859',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7697,2285,23,'1','148','148',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7698,2286,23,'1','148','148',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7699,2287,23,'2','148','148',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7700,2288,23,'1','148','148',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7701,2289,5,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7702,2289,23,'2','148','148',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7703,2290,14,'1','419.0','419.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7704,2291,98,'1','429','429',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7705,2292,36,'1','295','295',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7706,2292,101,'1','20.0','20.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7707,2292,137,'1','295','295',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7708,2293,14,'1','419.0','419.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7709,2293,9,'1','296.0','296.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7710,2294,6,'1','109.0','109.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7711,2295,9,'1','296.0','296.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7712,2296,14,'1','419.0','419.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7713,2296,2,'1','215.0','215.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7714,2297,103,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7715,2297,101,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7716,2297,97,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7717,2297,95,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7718,2297,66,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7719,2297,37,'1','49.0','49.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7720,2297,45,'3','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7721,2297,33,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7722,2297,30,'2','17.0','17.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7723,2297,4,'1','859','859',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7724,2297,26,'1','78.0','78.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7725,2297,92,'1','35.0','35.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7726,2297,48,'1','59.0','59.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7727,2298,86,'1','439.0','439.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7728,2298,4,'1','859','859',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7729,2299,28,'1','729.0','729.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7730,2300,18,'3','69','69',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7731,2301,7,'1','69.0','69.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7732,2302,4,'1','859','859',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7733,2303,23,'2','148','148',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7734,2303,32,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7735,2303,45,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7736,2303,66,'1','30.0','30.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7737,2303,31,'1','13.0','13.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7738,2303,29,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7739,2303,19,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7740,2303,27,'1','13.0','13.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7741,2303,78,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7742,2303,95,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7743,2304,35,'1','429.0','429.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7744,2305,136,'1','199','199',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7745,2305,60,'1','79.0','79.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7746,2306,82,'1','420.0','420.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7747,2307,98,'2','429','429',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7748,2308,9,'1','296.0','296.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7749,2308,48,'1','59.0','59.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7750,2309,18,'2','69','69',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7751,2309,32,'1','19.0','19.0',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7752,2309,19,'1','15.0','15.0',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7753,2309,76,'1','29.0','29.0',0,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7754,2310,40,'4','148','148',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7755,2311,136,'1','199','199',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7756,2311,67,'1','35','35',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7757,2311,70,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7758,2312,137,'1','295','295',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7759,2313,2,'1','215.0','215.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7760,2314,5,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7761,2314,19,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7762,2314,31,'4','13.0','13.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7763,2314,32,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7764,2314,45,'3','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7765,2314,67,'1','35','35',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7766,2314,69,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7767,2314,76,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7768,2314,77,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7769,2314,78,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7770,2314,92,'2','35.0','35.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7771,2314,95,'4','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7772,2314,97,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7773,2314,127,'1','33.0','33.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7774,2314,103,'1','29.0','29.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7775,2315,72,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7776,2315,71,'1','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7777,2315,101,'1','19.0','19.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7778,2315,78,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7779,2315,45,'2','15.0','15.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7780,2315,31,'1','13.0','13.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7781,2315,23,'1','148','148',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7782,2316,40,'1','148','148',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7783,2316,18,'2','69','69',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7784,2317,9,'1','296.0','296.0',1,0); +INSERT INTO "order_items" ("id","order_id","sku_id","quantity","price","discounted_price","is_packaged","is_package_verified") VALUES(7785,2318,118,'2','39.0','39.0',0,0); CREATE TABLE IF NOT EXISTS "special_deals" ( `id` integer PRIMARY KEY AUTOINCREMENT NOT NULL, `sku_id` integer NOT NULL, @@ -18792,6 +20705,14 @@ INSERT INTO "product_tags" ("id","product_id","tag_id","assigned_at") VALUES(577 INSERT INTO "product_tags" ("id","product_id","tag_id","assigned_at") VALUES(578,13,3,'2026-09-11 11:03:30'); INSERT INTO "product_tags" ("id","product_id","tag_id","assigned_at") VALUES(579,61,3,'2026-09-11 11:03:30'); INSERT INTO "product_tags" ("id","product_id","tag_id","assigned_at") VALUES(580,50,3,'2026-09-11 11:03:30'); +INSERT INTO "product_tags" ("id","product_id","tag_id","assigned_at") VALUES(597,2,9,'2026-09-26 13:32:20'); +INSERT INTO "product_tags" ("id","product_id","tag_id","assigned_at") VALUES(598,9,9,'2026-09-26 13:32:20'); +INSERT INTO "product_tags" ("id","product_id","tag_id","assigned_at") VALUES(599,136,9,'2026-09-26 13:32:20'); +INSERT INTO "product_tags" ("id","product_id","tag_id","assigned_at") VALUES(600,6,9,'2026-09-26 13:32:20'); +INSERT INTO "product_tags" ("id","product_id","tag_id","assigned_at") VALUES(601,23,9,'2026-09-26 13:32:20'); +INSERT INTO "product_tags" ("id","product_id","tag_id","assigned_at") VALUES(602,21,9,'2026-09-26 13:32:20'); +INSERT INTO "product_tags" ("id","product_id","tag_id","assigned_at") VALUES(603,4,9,'2026-09-26 13:32:20'); +INSERT INTO "product_tags" ("id","product_id","tag_id","assigned_at") VALUES(604,98,9,'2026-09-26 13:32:20'); CREATE TABLE IF NOT EXISTS "product_group_membership" ( `product_id` integer NOT NULL, `group_id` integer NOT NULL, @@ -18994,13 +20915,6 @@ CREATE TABLE `product_combos` ( FOREIGN KEY (`combo_sku_id`) REFERENCES `product_skus`(`id`) ON UPDATE no action ON DELETE no action, FOREIGN KEY (`sku_id`) REFERENCES `product_skus`(`id`) ON UPDATE no action ON DELETE no action ); -INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(38,138,18); -INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(39,138,32); -INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(40,138,45); -INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(41,138,78); -INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(42,138,97); -INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(43,138,101); -INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(44,138,137); INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(45,139,18); INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(46,139,32); INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(47,139,29); @@ -19023,37 +20937,44 @@ INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(73,147,33); INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(74,147,72); INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(75,147,74); INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(76,147,71); -INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(122,136,5); -INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(123,136,16); -INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(124,136,19); -INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(125,136,27); -INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(126,136,30); -INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(127,136,31); -INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(128,136,45); -INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(129,136,65); -INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(130,136,69); -INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(131,136,72); -INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(132,136,78); -INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(133,136,94); -INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(134,136,95); -INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(135,136,97); -INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(136,136,101); INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(142,149,5); INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(143,149,42); INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(144,149,45); INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(145,149,65); INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(146,149,69); +INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(147,138,18); +INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(148,138,32); +INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(149,138,45); +INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(150,138,78); +INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(151,138,97); +INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(152,138,101); +INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(153,138,137); +INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(154,136,5); +INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(155,136,19); +INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(156,136,27); +INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(157,136,30); +INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(158,136,31); +INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(159,136,45); +INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(160,136,65); +INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(161,136,69); +INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(162,136,72); +INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(163,136,78); +INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(164,136,94); +INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(165,136,95); +INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(166,136,97); +INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(167,136,101); +INSERT INTO "product_combos" ("id","combo_sku_id","sku_id") VALUES(168,136,77); DELETE FROM sqlite_sequence; -INSERT INTO "sqlite_sequence" ("name","seq") VALUES('product_skus',149); -INSERT INTO "sqlite_sequence" ("name","seq") VALUES('sku_features',167); -INSERT INTO "sqlite_sequence" ("name","seq") VALUES('product_market_stats',149); -INSERT INTO "sqlite_sequence" ("name","seq") VALUES('product_info',149); +INSERT INTO "sqlite_sequence" ("name","seq") VALUES('product_skus',150); +INSERT INTO "sqlite_sequence" ("name","seq") VALUES('sku_features',176); +INSERT INTO "sqlite_sequence" ("name","seq") VALUES('product_market_stats',150); +INSERT INTO "sqlite_sequence" ("name","seq") VALUES('product_info',150); INSERT INTO "sqlite_sequence" ("name","seq") VALUES('cart_items',128); -INSERT INTO "sqlite_sequence" ("name","seq") VALUES('order_items',7059); +INSERT INTO "sqlite_sequence" ("name","seq") VALUES('order_items',7785); INSERT INTO "sqlite_sequence" ("name","seq") VALUES('special_deals',12); INSERT INTO "sqlite_sequence" ("name","seq") VALUES('coupon_applicable_products',1); -INSERT INTO "sqlite_sequence" ("name","seq") VALUES('product_tags',580); -INSERT INTO "sqlite_sequence" ("name","seq") VALUES('product_combos',146); +INSERT INTO "sqlite_sequence" ("name","seq") VALUES('product_tags',604); +INSERT INTO "sqlite_sequence" ("name","seq") VALUES('product_combos',168); CREATE UNIQUE INDEX `unique_sku_feature_name` ON `sku_features` (`sku_id`,`feature_name`); CREATE UNIQUE INDEX `product_market_stats_sku_id_unique` ON `product_market_stats` (`sku_id`); CREATE UNIQUE INDEX `unique_user_sku` ON `cart_items` (`user_id`,`sku_id`); diff --git a/apps/backend/dumps/latest.sqlite b/apps/backend/dumps/latest.sqlite new file mode 100644 index 0000000..e11710c Binary files /dev/null and b/apps/backend/dumps/latest.sqlite differ diff --git a/apps/backend/package.json b/apps/backend/package.json index d94b4e9..4b06ba4 100755 --- a/apps/backend/package.json +++ b/apps/backend/package.json @@ -10,6 +10,8 @@ "dev_node": "tsx watch index.ts", "dev_prev": "bun --watch index.ts", "dev": "wrangler dev --config wrangler.dev.toml --ip 0.0.0.0", + "test:api": "jest --config tests/jest.config.js --runInBand", + "test:api:typecheck": "tsc --noEmit --project tests/tsconfig.json", "deploy": "wrangler deploy --config wrangler.prod.toml", "deploy:dev": "wrangler deploy --config wrangler.dev.toml", "wrangler:dev": "wrangler dev worker.ts --config wrangler.toml", @@ -42,8 +44,12 @@ }, "devDependencies": { "@cloudflare/workers-types": "^4.20260401.1", + "@trpc/client": "^11.6.0", + "@types/jest": "^29.5.14", "@types/node": "^24.5.2", + "jest": "^29.7.0", "rimraf": "^6.1.2", + "ts-jest": "^29.2.5", "ts-node-dev": "^2.0.0", "tsc-alias": "^1.8.16", "tsx": "^4.20.5", diff --git a/apps/backend/scripts/check-polygon-2.ts b/apps/backend/scripts/check-polygon-2.ts new file mode 100644 index 0000000..b3b06f6 --- /dev/null +++ b/apps/backend/scripts/check-polygon-2.ts @@ -0,0 +1,28 @@ +/** + * Demo runner for isInMbnrPolygon (Mbnr-2 polygon). + * + * bun run scripts/check-polygon-2.ts + * + * Prints whether each sample coordinate is inside the Mbnr-2 delivery polygon. + */ +import { isInMbnrPolygon } from '../src/map-assets/mbnr-2' + +const samples: Array<{ label: string; lat: number; lng: number }> = [ + { label: 'Mahabubnagar town centre', lat: 16.747227, lng: 78.009737 }, + { label: 'Gol masjid (habeeb nagar)', lat: 16.7329, lng: 77.9906 }, + { label: 'Bk reddy colony', lat: 16.7404, lng: 78.0061 }, + { label: 'New Collectorate', lat: 16.720810, lng: 78.020549 }, + { label: 'Far away (Hyderabad)', lat: 17.385, lng: 78.4867 }, + { label: 'Yenugonda beyond track', lat:16.757162, lng:78.027120 }, + { label: 'Appanapally', lat:16.760978, lng:78.055362}, + { label: 'SVS Hospital', lat: 16.757856, lng: 78.043416} +] + +console.log('Mbnr-2 polygon check\n') + +for (const { label, lat, lng } of samples) { + const inside = await isInMbnrPolygon({ lat, lng }) + console.log( + `${inside ? '✓ inside ' : '✗ outside'} (${lat}, ${lng}) ${label}` + ) +} diff --git a/apps/backend/scripts/check-polygon.ts b/apps/backend/scripts/check-polygon.ts new file mode 100644 index 0000000..901011b --- /dev/null +++ b/apps/backend/scripts/check-polygon.ts @@ -0,0 +1,28 @@ +/** + * Demo runner for isInMbnrPolygon. + * + * bun run scripts/check-polygon.ts + * + * Prints whether each sample coordinate is inside the Mbnr-1 delivery polygon. + */ +import { isInMbnrPolygon } from '../src/map-assets/mbnr-1' + +const samples: Array<{ label: string; lat: number; lng: number }> = [ + { label: 'Mahabubnagar town centre', lat: 16.747227, lng: 78.009737 }, + { label: 'Gol masjid (habeeb nagar)', lat: 16.7329, lng: 77.9906 }, + { label: 'Bk reddy colony', lat: 16.7404, lng: 78.0061 }, + { label: 'New Collectorate', lat: 16.720810, lng: 78.020549 }, + { label: 'Far away (Hyderabad)', lat: 17.385, lng: 78.4867 }, + { label: 'Yenugonda beyond track', lat:16.757162, lng:78.027120 }, + { label: 'Appanapally', lat:16.760978, lng:78.055362}, + { label: 'SVS Hospital', lat: 16.757856, lng: 78.043416} +] + +console.log('Mbnr-1 polygon check\n') + +for (const { label, lat, lng } of samples) { + const inside = await isInMbnrPolygon({ lat, lng }) + console.log( + `${inside ? '✓ inside ' : '✗ outside'} (${lat}, ${lng}) ${label}` + ) +} diff --git a/apps/backend/src/app.ts b/apps/backend/src/app.ts index dc24594..8bba1b9 100644 --- a/apps/backend/src/app.ts +++ b/apps/backend/src/app.ts @@ -15,7 +15,7 @@ export const createApp = () => { // CORS middleware app.use(cors({ - origin: ['http://localhost:5174', 'http://localhost:4174', 'http://localhost:4175', 'https://ui.freshyo.in', 'https://www.freshyo.in', 'https://webui.freshyo.in', 'https://app.freshyo.in', 'https://admin.freshyo.in',], + origin: ['http://localhost:5174', 'http://localhost:4174', 'http://localhost:4175', 'https://ui.freshyo.in', 'https://www.freshyo.in', 'https://webui.freshyo.in', 'https://app.freshyo.in', 'https://admin.freshyo.in', 'https://superadmin.freshyo.in'], allowMethods: ['GET', 'POST', 'PUT', 'PATCH', 'DELETE', 'OPTIONS'], allowHeaders: ['Origin', 'X-Requested-With', 'Content-Type', 'Accept', 'Authorization', 'Caller-Interface'], credentials: true, diff --git a/apps/backend/src/lib/admin-notif.ts b/apps/backend/src/lib/admin-notif.ts new file mode 100644 index 0000000..e24a22e --- /dev/null +++ b/apps/backend/src/lib/admin-notif.ts @@ -0,0 +1,48 @@ +import { getAllStaffNotifTokens } from '@/src/dbService' +import { queueDataPusher } from '@/src/lib/queue-data-pusher' + +// Number of push tokens batched into a single queue message. +const TOKENS_PER_QUEUE_MESSAGE = 5 + +/** + * Queues a push notification to every admin/staff device. `orderId`, when set, + * is delivered in the push `data` so the app can deep-link to that order. + * Returns the number of tokens the notification was queued for. + */ +export async function notifyAllAdmins(payload: { + title: string + body: string + imageUrl?: string | null + orderId?: number | null +}): Promise { + const tokens = (await getAllStaffNotifTokens()).map((t) => t.token) + + let queuedCount = 0 + for (let i = 0; i < tokens.length; i += TOKENS_PER_QUEUE_MESSAGE) { + const tokenChunk = tokens.slice(i, i + TOKENS_PER_QUEUE_MESSAGE) + try { + await queueDataPusher.pushNotifQueue({ + name: 'send-admin-notification', + jobData: { + tokens: tokenChunk, + title: payload.title, + body: payload.body, + imageUrl: payload.imageUrl ?? null, + orderId: payload.orderId ?? null, + }, + options: { + attempts: 3, + backoff: { + type: 'exponential', + delay: 2000, + }, + }, + }) + queuedCount += tokenChunk.length + } catch (error) { + console.error(`Failed to queue admin notification for tokens:`, error) + } + } + + return queuedCount +} diff --git a/apps/backend/src/lib/cloud_cache.ts b/apps/backend/src/lib/cloud_cache.ts index 0228156..c6400ba 100644 --- a/apps/backend/src/lib/cloud_cache.ts +++ b/apps/backend/src/lib/cloud_cache.ts @@ -10,6 +10,7 @@ import { imageUploadS3 } from '@/src/lib/s3-client' import { getApiCacheKey, getCloudflareApiToken, getCloudflareZoneId, getAssetsDomain } from '@/src/lib/env-exporter' import { CACHE_FILENAMES } from '@packages/shared' import { retryWithExponentialBackoff } from '@/src/lib/retry' +import { refreshGenKv } from '@/src/lib/gen-store' const buildCachePath = (path: string, version: number) => `v-${version}/${path}` @@ -58,8 +59,8 @@ export async function createAllCacheFiles(): Promise createProductsFileInternal(cacheVersion), createEssentialConstsFileInternal(cacheVersion), createStoresFileInternal(cacheVersion), - createSlotsCacheFile(), - createAvailabilityCacheFile(), + createSlotsCacheFile(false), + createAvailabilityCacheFile(false), createBannersFileInternal(cacheVersion), createAllStoresFilesInternal(cacheVersion), ]) @@ -87,6 +88,9 @@ export async function createAllCacheFiles(): Promise console.log('All cache files created successfully') + // Single awaited mirror refresh for the whole cycle (all counters bumped above). + await refreshGenKv() + return { cacheVersion, products: productsKey, @@ -115,7 +119,7 @@ async function createProductsFileInternal(version: number): Promise { } -export async function createAvailabilityCacheFile(): Promise { +export async function createAvailabilityCacheFile(refresh = true): Promise { const version = await incrementAvailabilityVersionNum() const availabilityData = await scaffoldAvailability() const jsonContent = JSON.stringify(availabilityData, null, 2) @@ -129,6 +133,8 @@ export async function createAvailabilityCacheFile(): Promise { filePath ) + if (refresh) await refreshGenKv() + return version } @@ -154,7 +160,7 @@ async function createStoresFileInternal(version: number): Promise { ) } -export async function createSlotsCacheFile(): Promise { +export async function createSlotsCacheFile(refresh = true): Promise { const version = await incrementSlotsVersionNum() const slotsData = await scaffoldSlotsWithProducts() const jsonContent = JSON.stringify(slotsData, null, 2) @@ -168,6 +174,8 @@ export async function createSlotsCacheFile(): Promise { filePath ) + if (refresh) await refreshGenKv() + return version } diff --git a/apps/backend/src/lib/const-keys.ts b/apps/backend/src/lib/const-keys.ts index 3f66ce3..22ae47d 100644 --- a/apps/backend/src/lib/const-keys.ts +++ b/apps/backend/src/lib/const-keys.ts @@ -23,6 +23,8 @@ export const CONST_KEYS = { isFlashDeliveryEnabled: 'isFlashDeliveryEnabled', supportMobile: 'supportMobile', supportEmail: 'supportEmail', + internalAppVersion: 'internalAppVersion', + welcomeMessage: 'welcomeMessage', } as const; export const CONST_LABELS: Record = { @@ -48,6 +50,8 @@ export const CONST_LABELS: Record = { isFlashDeliveryEnabled: 'Enable Flash Delivery', supportMobile: 'Support Mobile', supportEmail: 'Support Email', + internalAppVersion: 'Internal App Version', + welcomeMessage: 'Welcome Message', }; export type ConstKey = (typeof CONST_KEYS)[keyof typeof CONST_KEYS]; @@ -77,6 +81,8 @@ export const CONST_TYPES: Record = { isFlashDeliveryEnabled: 'boolean', supportMobile: 'string', supportEmail: 'string', + internalAppVersion: 'number', + welcomeMessage: 'string', }; export const CONST_VISIBILITY: Record = { @@ -102,4 +108,6 @@ export const CONST_VISIBILITY: Record = { isFlashDeliveryEnabled: true, supportMobile: true, supportEmail: true, + internalAppVersion: true, + welcomeMessage: true, }; diff --git a/apps/backend/src/lib/env-exporter.ts b/apps/backend/src/lib/env-exporter.ts index 7aaf201..bc8e852 100755 --- a/apps/backend/src/lib/env-exporter.ts +++ b/apps/backend/src/lib/env-exporter.ts @@ -101,6 +101,16 @@ export const getOtpKvNamespace = () => { return (env.freshyo_otp || env.freshyo_otp_dev) as KVNamespace | undefined } +export const getOrderTrackerKvNamespace = () => { + const env = getRuntimeEnv() + return (env.freshyo_order_tracker || env.freshyo_order_tracker_dev) as KVNamespace | undefined +} + +export const getGenKvNamespace = () => { + const env = getRuntimeEnv() + return (env.freshyo_gen || env.freshyo_gen_dev) as KVNamespace | undefined +} + export const getMinOrderValue = () => Number(getRuntimeEnv().MIN_ORDER_VALUE as string) export const getDeliveryCharge = () => Number(getRuntimeEnv().DELIVERY_CHARGE as string) diff --git a/apps/backend/src/lib/flash-delivery-cron.ts b/apps/backend/src/lib/flash-delivery-cron.ts index 9d130d4..4079286 100644 --- a/apps/backend/src/lib/flash-delivery-cron.ts +++ b/apps/backend/src/lib/flash-delivery-cron.ts @@ -1,6 +1,7 @@ import { toggleKeyVal } from '@/src/dbService' import { CONST_KEYS } from '@/src/lib/const-keys' import { computeConstants } from '@/src/lib/const-store' +import { refreshGenKv } from '@/src/lib/gen-store' import { ensureWorkerInit } from '@/src/lib/worker-init' @@ -27,4 +28,5 @@ export async function runFlashDeliveryToggleCron(params: { await toggleKeyVal(CONST_KEYS.isFlashDeliveryEnabled, enabled) await computeConstants() + await refreshGenKv() } diff --git a/apps/backend/src/lib/gen-store.ts b/apps/backend/src/lib/gen-store.ts new file mode 100644 index 0000000..339847a --- /dev/null +++ b/apps/backend/src/lib/gen-store.ts @@ -0,0 +1,59 @@ +import { getGenKvNamespace } from '@/src/lib/env-exporter' +import type { scaffoldEssentialConsts } from '@/src/trpc/apis/common-apis/common-trpc-index' + +export const GEN_KV_KEY = 'essential_consts' + +export type EssentialConstsPayload = Awaited> + +// Dynamic import: gen-store must not statically import common-trpc-index, because +// that module imports readEssentialConstsFromKv from here (cycle). +async function buildEssentialConsts(): Promise { + const { scaffoldEssentialConsts } = await import( + '../trpc/apis/common-apis/common-trpc-index' + ) + return scaffoldEssentialConsts() +} + +/** + * Rebuilds the full essentialConsts response (constants + counters + env-derived + * fields) from D1/env and mirrors it to KV. Call after a successful D1 write. + * No-op when the KV binding is absent (local/tests). + */ +export async function refreshGenKv(): Promise { + try { + const kv = getGenKvNamespace() + if (!kv) return + + const payload = await buildEssentialConsts() + await kv.put(GEN_KV_KEY, JSON.stringify(payload)) + } catch (error) { + console.error('refreshGenKv failed:', error) + } +} + +/** + * Client read path: serve the precomputed response from KV. On a miss, build it + * from D1/env, backfill KV, and return. + */ +export async function readEssentialConstsFromKv(): Promise { + try { + const kv = getGenKvNamespace() + if (kv) { + const cached = (await kv.get(GEN_KV_KEY, 'json')) as EssentialConstsPayload | null + if (cached) return cached + } + } catch (error) { + console.error('readEssentialConstsFromKv failed:', error) + } + + const payload = await buildEssentialConsts() + + try { + const kv = getGenKvNamespace() + if (kv) await kv.put(GEN_KV_KEY, JSON.stringify(payload)) + } catch (error) { + console.error('backfill essential_consts failed:', error) + } + + return payload +} diff --git a/apps/backend/src/lib/notif-job.ts b/apps/backend/src/lib/notif-job.ts index b6bd106..4bbadfa 100644 --- a/apps/backend/src/lib/notif-job.ts +++ b/apps/backend/src/lib/notif-job.ts @@ -42,8 +42,9 @@ export async function sendAdminNotification(data: { title: string; body: string; imageUrl: string | null; + orderId?: number | null; }) { - const { tokens, title, body, imageUrl } = data; + const { tokens, title, body, imageUrl, orderId } = data; const { Expo } = await import('expo-server-sdk') // Validate Expo push tokens (drop invalid ones) @@ -69,7 +70,10 @@ export async function sendAdminNotification(data: { sound: 'default' as const, title, body, - data: { imageUrl }, + data: { + imageUrl, + ...(orderId != null ? { orderId } : {}), + }, ...(signedImageUrl ? { attachments: [ { diff --git a/apps/backend/src/lib/order-tracker.ts b/apps/backend/src/lib/order-tracker.ts new file mode 100644 index 0000000..44109a0 --- /dev/null +++ b/apps/backend/src/lib/order-tracker.ts @@ -0,0 +1,51 @@ +import { getOrderTrackerKvNamespace } from '@/src/lib/env-exporter' + +const firstOrderKey = (userId: number) => `first_order:${userId}` + +/** + * Records the user's first order id if the user has no entry yet. + * No-op when the KV binding is not configured (local/tests). + */ +export async function trackIfFirstOrder(userId: number, orderId: number): Promise { + try { + const kv = getOrderTrackerKvNamespace() + if (!kv) return + + const existing = await kv.get(firstOrderKey(userId)) + if (existing) return + + await kv.put(firstOrderKey(userId), String(orderId)) + } catch (error) { + console.error('trackIfFirstOrder failed:', error) + } +} + +/** + * Clears the tracked first order only when the cancelled order is the tracked one. + */ +export async function clearFirstOrderIfMatches(userId: number, orderId: number): Promise { + try { + const kv = getOrderTrackerKvNamespace() + if (!kv) return + + const existing = await kv.get(firstOrderKey(userId)) + if (existing && Number(existing) === orderId) { + await kv.delete(firstOrderKey(userId)) + } + } catch (error) { + console.error('clearFirstOrderIfMatches failed:', error) + } +} + +export async function getFirstOrderId(userId: number): Promise { + try { + const kv = getOrderTrackerKvNamespace() + if (!kv) return null + + const existing = await kv.get(firstOrderKey(userId)) + return existing ? Number(existing) : null + } catch (error) { + console.error('getFirstOrderId failed:', error) + return null + } +} diff --git a/apps/backend/src/lib/post-order-handler.ts b/apps/backend/src/lib/post-order-handler.ts index b06e504..439818a 100644 --- a/apps/backend/src/lib/post-order-handler.ts +++ b/apps/backend/src/lib/post-order-handler.ts @@ -6,6 +6,7 @@ import { } from '@/src/dbService' import { sendTelegramMessage } from '@/src/lib/telegram-service' import { queueDataPusher } from '@/src/lib/queue-data-pusher' +import { notifyAllAdmins } from '@/src/lib/admin-notif' import { ensureWorkerInit } from './worker-init'; import { getAppUrl } from '@/src/lib/env-exporter' @@ -110,6 +111,17 @@ ${buildTelegramLinks(orderData.id, orderData.userId)} export const handleOrderPlaced = async (orderIds: number[], rawMessage?: string): Promise => { try { const ordersData = await getOrdersByIdsWithFullData(orderIds) + + // Push a notification to every admin device; tapping it opens that order's + // details page (data.orderId is the numeric order id). + for (const order of ordersData) { + await notifyAllAdmins({ + title: '🛒 New Order Placed', + body: `${order.address?.name || 'A customer'} • ₹${order.totalAmount}`, + orderId: order.id, + }) + } + const telegramMessage = formatOrderMessageWithFullData(ordersData) await sendTelegramMessage(telegramMessage) } catch (error) { diff --git a/apps/backend/src/lib/queue-consumer.ts b/apps/backend/src/lib/queue-consumer.ts index d1607ba..747a30e 100644 --- a/apps/backend/src/lib/queue-consumer.ts +++ b/apps/backend/src/lib/queue-consumer.ts @@ -20,6 +20,7 @@ export const handleNotifQueue =async (batch: any) => { title: body.jobData.title, body: body.jobData.body, imageUrl: body.jobData.imageUrl ?? null, + orderId: body.jobData.orderId ?? null, }) continue } diff --git a/apps/backend/src/lib/s3-client.ts b/apps/backend/src/lib/s3-client.ts index 1f8b437..47372ca 100644 --- a/apps/backend/src/lib/s3-client.ts +++ b/apps/backend/src/lib/s3-client.ts @@ -118,10 +118,14 @@ export async function generateSignedUrlFromS3Url(s3UrlRaw: string|null, expiresI try { const client = getAwsClient() - const url = buildObjectUrl(getS3BucketName(), s3Url) - const signedRequest = await client.sign(url, { + // X-Amz-Expires must be a QUERY param, not a header: with signQuery, aws4fetch + // hoists header values into the query but still lists them in + // X-Amz-SignedHeaders, and R2 then hashes the missing header as empty — which + // makes the signature mismatch (S3 tolerates it, R2 does not). + const url = new URL(buildObjectUrl(getS3BucketName(), s3Url)) + url.searchParams.set('X-Amz-Expires', String(expiresIn)) + const signedRequest = await client.sign(url.toString(), { method: 'GET', - headers: { 'X-Amz-Expires': String(expiresIn) }, aws: { signQuery: true }, }) return signedRequest.url @@ -170,13 +174,13 @@ export async function generateUploadUrl(key: string, mimeType: string, expiresIn await createUploadUrlStatus(key) const client = getAwsClient() - const url = buildObjectUrl(getS3BucketName(), key) - const signedRequest = await client.sign(url, { + // Same as the GET path above: keep X-Amz-Expires in the query, and do not + // sign Content-Type — leaving it unsigned means the client may send any value + // without breaking the signature. + const url = new URL(buildObjectUrl(getS3BucketName(), key)) + url.searchParams.set('X-Amz-Expires', String(expiresIn)) + const signedRequest = await client.sign(url.toString(), { method: 'PUT', - headers: { - 'Content-Type': mimeType, - 'X-Amz-Expires': String(expiresIn), - }, aws: { signQuery: true }, }) @@ -193,15 +197,22 @@ export async function generateUploadUrl(key: string, mimeType: string, expiresIn // return decodeURIComponent(rawKey); // } -// New function (excludes bucket name) +/** + * Normalise an image reference to the bucket-relative object key that SKUs store. + * + * Accepts either a full (presigned) URL or an already-extracted key, so callers + * can send whichever they have. Drops the query string, then keeps the last two + * path segments: + * + * https://.r2.cloudflarestorage.com/meatfarmer-dev/product-images/1.jpg?X-Amz-... + * -> product-images/1.jpg + * product-images/1.jpg + * -> product-images/1.jpg + */ export function extractKeyFromPresignedUrl(url: string): string { - const u = new URL(url) - const rawKey = u.pathname.replace(/^\/+/, '') // remove leading slash - const decodedKey = decodeURIComponent(rawKey) - // Remove bucket prefix - const parts = decodedKey.split('/') - parts.shift() // Remove bucket name - return parts.join('/') + const withoutQuery = url.split('?')[0] + const parts = withoutQuery.split('/').filter(Boolean) + return decodeURIComponent(parts.slice(-2).join('/')) } export async function claimUploadUrl(url: string): Promise { diff --git a/apps/backend/src/lib/seed.ts b/apps/backend/src/lib/seed.ts index aabba5d..71426cc 100644 --- a/apps/backend/src/lib/seed.ts +++ b/apps/backend/src/lib/seed.ts @@ -12,6 +12,7 @@ import { } from '@/src/dbService' import { getMinOrderValue, getDeliveryCharge } from '@/src/lib/env-exporter' import { CONST_KEYS } from '@/src/lib/const-keys' +import { refreshGenKv } from '@/src/lib/gen-store' export async function seed() { console.log("Seeding database..."); @@ -63,8 +64,12 @@ export async function seed() { { key: CONST_KEYS.isFlashDeliveryEnabled, value: false }, { key: CONST_KEYS.supportMobile, value: '8688182552' }, { key: CONST_KEYS.supportEmail, value: 'qushammohd@gmail.com' }, + { key: CONST_KEYS.welcomeMessage, value: "Hi! Thank you for your first order at Freshyo. We're glad to have you." }, ]; await seedKeyValStore(constantsToSeed); + // Mirror the seeded constants into KV for client reads. + await refreshGenKv(); + console.log("Seeding completed."); } diff --git a/apps/backend/src/map-assets/Mbnr-1.geojson b/apps/backend/src/map-assets/Mbnr-1.geojson new file mode 100644 index 0000000..98d2100 --- /dev/null +++ b/apps/backend/src/map-assets/Mbnr-1.geojson @@ -0,0 +1,114 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "properties": { + "name": "Polygon 4" + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 77.9802307, + 16.7224827 + ], + [ + 77.9832452, + 16.7186281 + ], + [ + 77.9885003, + 16.7191643 + ], + [ + 78.0027771, + 16.7184524 + ], + [ + 78.0167635, + 16.717821 + ], + [ + 78.0176657, + 16.7225884 + ], + [ + 78.0245685, + 16.7301059 + ], + [ + 78.0346065, + 16.7366045 + ], + [ + 78.0483126, + 16.7469324 + ], + [ + 78.0558892, + 16.7506815 + ], + [ + 78.0533183, + 16.7547082 + ], + [ + 78.0497798, + 16.7596596 + ], + [ + 78.0456892, + 16.7640471 + ], + [ + 78.0383339, + 16.7641426 + ], + [ + 78.0343234, + 16.758687 + ], + [ + 78.021375, + 16.7570244 + ], + [ + 78.0163704, + 16.758279 + ], + [ + 78.0128516, + 16.7590231 + ], + [ + 78.0120219, + 16.7648881 + ], + [ + 78.0095524, + 16.7664414 + ], + [ + 77.99363, + 16.7660548 + ], + [ + 77.9720422, + 16.7596124 + ], + [ + 77.9679337, + 16.7449906 + ], + [ + 77.9802307, + 16.7224827 + ] + ] + ] + } + } + ] +} \ No newline at end of file diff --git a/apps/backend/src/map-assets/Mbnr-2.geojson b/apps/backend/src/map-assets/Mbnr-2.geojson new file mode 100644 index 0000000..b04e064 --- /dev/null +++ b/apps/backend/src/map-assets/Mbnr-2.geojson @@ -0,0 +1,74 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "properties": { + "name": "Mbnr-2" + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 77.9773739, + 16.7127921 + ], + [ + 77.9950359, + 16.7080928 + ], + [ + 78.0187929, + 16.70999 + ], + [ + 78.0289444, + 16.7211582 + ], + [ + 78.0570875, + 16.7502883 + ], + [ + 78.0662922, + 16.7519867 + ], + [ + 78.0652719, + 16.7684088 + ], + [ + 78.0204341, + 16.7689639 + ], + [ + 78.0023161, + 16.770186 + ], + [ + 77.9984809, + 16.7850848 + ], + [ + 77.983305, + 16.782843 + ], + [ + 77.971574, + 16.7646028 + ], + [ + 77.9686551, + 16.7454905 + ], + [ + 77.9773739, + 16.7127921 + ] + ] + ] + } + } + ] +} \ No newline at end of file diff --git a/apps/backend/src/map-assets/mbnr-1.ts b/apps/backend/src/map-assets/mbnr-1.ts new file mode 100644 index 0000000..ebd9a0a --- /dev/null +++ b/apps/backend/src/map-assets/mbnr-1.ts @@ -0,0 +1,82 @@ +// Inlined from ./Mbnr-1.geojson (hand-converted: .geojson cannot be imported +// directly — there is no bundler loader and resolveJsonModule only covers .json). +export const mbnr1GeoJson = { + type: 'FeatureCollection', + features: [ + { + type: 'Feature', + properties: { + name: 'Polygon 4', + }, + geometry: { + type: 'Polygon', + coordinates: [ + [ + [77.9802307, 16.7224827], + [77.9832452, 16.7186281], + [77.9885003, 16.7191643], + [78.0027771, 16.7184524], + [78.0167635, 16.717821], + [78.0176657, 16.7225884], + [78.0245685, 16.7301059], + [78.0346065, 16.7366045], + [78.0483126, 16.7469324], + [78.0558892, 16.7506815], + [78.0533183, 16.7547082], + [78.0497798, 16.7596596], + [78.0456892, 16.7640471], + [78.0383339, 16.7641426], + [78.0343234, 16.758687], + [78.021375, 16.7570244], + [78.0163704, 16.758279], + [78.0128516, 16.7590231], + [78.0120219, 16.7648881], + [78.0095524, 16.7664414], + [77.99363, 16.7660548], + [77.9720422, 16.7596124], + [77.9679337, 16.7449906], + [77.9802307, 16.7224827], + ], + ], + }, + }, + ], +} as const + +const mbnr1Coordinates = mbnr1GeoJson.features[0].geometry + .coordinates as unknown as number[][][] + +// Turf is imported lazily so it never runs during a Worker cold start — only the +// first time isInMbnrPolygon is actually called. Cached after first use. +let turfPolygonPromise: Promise< + (coords: { lat: number; lng: number }) => boolean +> | null = null + +async function getPointInPolygonChecker(): Promise< + (coords: { lat: number; lng: number }) => boolean +> { + if (!turfPolygonPromise) { + turfPolygonPromise = (async () => { + const [{ booleanPointInPolygon }, turfHelpers] = await Promise.all([ + import('@turf/boolean-point-in-polygon'), + import('@turf/helpers'), + ]) + const polygon = turfHelpers.polygon(mbnr1Coordinates) + return (coords) => + booleanPointInPolygon(turfHelpers.point([coords.lng, coords.lat]), polygon) + })() + } + return turfPolygonPromise +} + +/** + * Returns true when the given coordinates fall inside the Mbnr-1 delivery + * polygon. GeoJSON coordinates are [longitude, latitude]. + */ +export async function isInMbnrPolygon(coords: { + lat: number + lng: number +}): Promise { + const check = await getPointInPolygonChecker() + return check(coords) +} diff --git a/apps/backend/src/map-assets/mbnr-2.ts b/apps/backend/src/map-assets/mbnr-2.ts new file mode 100644 index 0000000..c29161a --- /dev/null +++ b/apps/backend/src/map-assets/mbnr-2.ts @@ -0,0 +1,72 @@ +// Inlined from ./Mbnr-2.geojson (hand-converted: .geojson cannot be imported +// directly — there is no bundler loader and resolveJsonModule only covers .json). +export const mbnr2GeoJson = { + type: 'FeatureCollection', + features: [ + { + type: 'Feature', + properties: { + name: 'Mbnr-2', + }, + geometry: { + type: 'Polygon', + coordinates: [ + [ + [77.9773739, 16.7127921], + [77.9950359, 16.7080928], + [78.0187929, 16.70999], + [78.0289444, 16.7211582], + [78.0570875, 16.7502883], + [78.0662922, 16.7519867], + [78.0652719, 16.7684088], + [78.0204341, 16.7689639], + [78.0023161, 16.770186], + [77.9984809, 16.7850848], + [77.983305, 16.782843], + [77.971574, 16.7646028], + [77.9686551, 16.7454905], + [77.9773739, 16.7127921], + ], + ], + }, + }, + ], +} as const + +const mbnr2Coordinates = mbnr2GeoJson.features[0].geometry + .coordinates as unknown as number[][][] + +// Turf is imported lazily so it never runs during a Worker cold start — only the +// first time isInMbnrPolygon is actually called. Cached after first use. +let turfPolygonPromise: Promise< + (coords: { lat: number; lng: number }) => boolean +> | null = null + +async function getPointInPolygonChecker(): Promise< + (coords: { lat: number; lng: number }) => boolean +> { + if (!turfPolygonPromise) { + turfPolygonPromise = (async () => { + const [{ booleanPointInPolygon }, turfHelpers] = await Promise.all([ + import('@turf/boolean-point-in-polygon'), + import('@turf/helpers'), + ]) + const polygon = turfHelpers.polygon(mbnr2Coordinates) + return (coords) => + booleanPointInPolygon(turfHelpers.point([coords.lng, coords.lat]), polygon) + })() + } + return turfPolygonPromise +} + +/** + * Returns true when the given coordinates fall inside the Mbnr-2 delivery + * polygon. GeoJSON coordinates are [longitude, latitude]. + */ +export async function isInMbnrPolygon(coords: { + lat: number + lng: number +}): Promise { + const check = await getPointInPolygonChecker() + return check(coords) +} diff --git a/apps/backend/src/trpc/apis/admin-apis/apis/const.ts b/apps/backend/src/trpc/apis/admin-apis/apis/const.ts index 6435c46..530de02 100644 --- a/apps/backend/src/trpc/apis/admin-apis/apis/const.ts +++ b/apps/backend/src/trpc/apis/admin-apis/apis/const.ts @@ -1,6 +1,7 @@ import { router, protectedProcedure } from '@/src/trpc/trpc-index' import { z } from 'zod'; import { computeConstants } from '@/src/lib/const-store' +import { refreshGenKv } from '@/src/lib/gen-store' import { CONST_KEYS } from '@/src/lib/const-keys' import { scheduleStoreInitialization } from '@/src/stores/store-initializer' import { getAllConstants as getAllConstantsFromDb, upsertConstants as upsertConstantsInDb } from '@/src/dbService' @@ -47,6 +48,9 @@ export const constRouter = router({ // Refresh all constants in Redis after database update await computeConstants(); + // Mirror the full essentialConsts response into KV for client reads. + await refreshGenKv(); + // Constants like tagsOrder are baked into the versioned cache files. // Regenerate the cache (bumps cacheVersion) so the user app fetches the // new data (e.g., the new tab order on the home page). diff --git a/apps/backend/src/trpc/apis/admin-apis/apis/order.ts b/apps/backend/src/trpc/apis/admin-apis/apis/order.ts index 343037a..59cca21 100644 --- a/apps/backend/src/trpc/apis/admin-apis/apis/order.ts +++ b/apps/backend/src/trpc/apis/admin-apis/apis/order.ts @@ -6,6 +6,7 @@ import { sendOrderDeliveredNotification, } from "@/src/lib/notif-job"; import { publishCancellation } from "@/src/lib/post-order-handler" +import { clearFirstOrderIfMatches, getFirstOrderId } from "@/src/lib/order-tracker" import { getMultipleUserNegativityScores } from "@/src/stores/user-negativity-store" import { updateOrderNotes as updateOrderNotesInDb, @@ -173,7 +174,20 @@ export const orderRouter = router({ const result = await getSlotOrdersInDb(slotId) - return result + const userIds = [...new Set(result.data.map((order) => order.userId))] + const firstOrderIdByUser = new Map() + await Promise.all( + userIds.map(async (userId) => { + firstOrderIdByUser.set(userId, await getFirstOrderId(userId)) + }) + ) + + const data = result.data.map((order) => ({ + ...order, + isFirstOrder: firstOrderIdByUser.get(order.userId) === order.id, + })) + + return { ...result, data } }), updateAddressCoords: protectedProcedure @@ -204,11 +218,19 @@ export const orderRouter = router({ const userIds = [...new Set(result.orders.map((order) => order.userId))] const negativityScores = await getMultipleUserNegativityScores(userIds) + const firstOrderIdByUser = new Map() + await Promise.all( + userIds.map(async (userId) => { + firstOrderIdByUser.set(userId, await getFirstOrderId(userId)) + }) + ) + const orders = result.orders.map((order) => { const { userId, userNegativityScore, ...rest } = order return { ...rest, userNegativityScore: negativityScores[userId] || 0, + isFirstOrder: firstOrderIdByUser.get(userId) === order.id, } }) @@ -258,6 +280,10 @@ export const orderRouter = router({ throw new ApiError(result.message, 400) } + if (result.orderId && result.userId) { + await clearFirstOrderIfMatches(result.userId, result.orderId) + } + if (result.orderId) { await publishCancellation(result.orderId, 'admin', reason) } diff --git a/apps/backend/src/trpc/apis/admin-apis/apis/product.ts b/apps/backend/src/trpc/apis/admin-apis/apis/product.ts index 7018961..57b51a7 100644 --- a/apps/backend/src/trpc/apis/admin-apis/apis/product.ts +++ b/apps/backend/src/trpc/apis/admin-apis/apis/product.ts @@ -260,8 +260,6 @@ export const productRouter = router({ await deleteImageUtil({ keys: deletedImageKeys }) } - const allUploadUrls: string[] = skus.flatMap((sku) => sku.images) - const skuInputs = skus.map((sku) => ({ id: sku.id, name: sku.name ?? null, diff --git a/apps/backend/src/trpc/apis/admin-apis/apis/staff-user.ts b/apps/backend/src/trpc/apis/admin-apis/apis/staff-user.ts index 0afe35e..9f1ea9b 100644 --- a/apps/backend/src/trpc/apis/admin-apis/apis/staff-user.ts +++ b/apps/backend/src/trpc/apis/admin-apis/apis/staff-user.ts @@ -11,7 +11,9 @@ import { checkStaffRoleExists, createStaffUser, getAllRoles, + upsertStaffNotifCred, } from '@/src/dbService' +import { notifyAllAdmins } from '@/src/lib/admin-notif' export const staffUserRouter = router({ login: publicProcedure @@ -115,4 +117,39 @@ export const staffUserRouter = router({ })), }; }), + + savePushToken: protectedProcedure + .input(z.object({ token: z.string().min(1) })) + .mutation(async ({ input, ctx }) => { + const staffId = ctx.staffUser?.id; + + if (!staffId) { + throw new ApiError('Staff not authenticated', 401); + } + + await upsertStaffNotifCred(staffId, input.token); + + return { success: true }; + }), + + sendAdminNotification: protectedProcedure + .input(z.object({ + title: z.string().min(1, 'Title is required'), + text: z.string().min(1, 'Message is required'), + imageUrl: z.string().optional(), + })) + .mutation(async ({ input }) => { + const { title, text, imageUrl } = input; + + const queuedCount = await notifyAllAdmins({ + title, + body: text, + imageUrl: imageUrl || null, + }); + + return { + success: true, + message: `Notification queued for ${queuedCount} admins`, + }; + }), }); diff --git a/apps/backend/src/trpc/apis/common-apis/common-trpc-index.ts b/apps/backend/src/trpc/apis/common-apis/common-trpc-index.ts index 35ff35b..cbdefa5 100644 --- a/apps/backend/src/trpc/apis/common-apis/common-trpc-index.ts +++ b/apps/backend/src/trpc/apis/common-apis/common-trpc-index.ts @@ -15,6 +15,7 @@ import { mbnrGeoJson } from '@/src/lib/mbnr-geojson' import { generateUploadUrl } from '@/src/lib/s3-client' import { ApiError } from '@/src/lib/api-error' import { getAllConstValues } from '@/src/lib/const-store' +import { readEssentialConstsFromKv } from '@/src/lib/gen-store' import { CONST_KEYS } from '@/src/lib/const-keys' import { getAssetsDomain, getApiCacheKey } from '@/src/lib/env-exporter' @@ -41,6 +42,7 @@ export async function scaffoldEssentialConsts() { isFlashDeliveryEnabled: consts[CONST_KEYS.isFlashDeliveryEnabled] ?? false, supportMobile: consts[CONST_KEYS.supportMobile] ?? '', supportEmail: consts[CONST_KEYS.supportEmail] ?? '', + internalAppVersion: consts[CONST_KEYS.internalAppVersion] ?? 1, assetsDomain: getAssetsDomain(), apiCacheKey: getApiCacheKey(), cacheVersion, @@ -145,7 +147,7 @@ export const commonApiRouter = router({

With love, from Freshyo

` - const response = await scaffoldEssentialConsts(); + const response = await readEssentialConstsFromKv(); const shouldShowNotice = host.includes('raw') || host.includes('mf') return { diff --git a/apps/backend/src/trpc/apis/user-apis/apis/order.ts b/apps/backend/src/trpc/apis/user-apis/apis/order.ts index 554bfad..da1c520 100644 --- a/apps/backend/src/trpc/apis/user-apis/apis/order.ts +++ b/apps/backend/src/trpc/apis/user-apis/apis/order.ts @@ -28,6 +28,7 @@ import { ApiError } from "@/src/lib/api-error"; import type { DeliveryStatus, OrderStatus } from "@packages/shared"; import { CONST_KEYS, getConstant, getConstants } from "@/src/lib/const-store"; import { publishFormattedOrder, publishCancellation } from "@/src/lib/post-order-handler"; +import { trackIfFirstOrder, clearFirstOrderIfMatches } from "@/src/lib/order-tracker"; import type { UserOrdersResponse, UserOrderDetail, @@ -215,6 +216,10 @@ const placeOrderUtil = async (params: { totalWithDelivery, }); + if (createdOrders.length > 0) { + await trackIfFirstOrder(userId, createdOrders[0].id); + } + await deleteUserCartItemsForOrder( userId, selectedItems.map((item) => item.skuId) @@ -590,6 +595,8 @@ export const orderRouter = router({ await cancelUserOrderTransaction(id, status.id, reason, order.isCod); + await clearFirstOrderIfMatches(userId, id); + await publishCancellation(id, 'user', reason); return { success: true, message: "Order cancelled successfully" }; diff --git a/apps/backend/test-case-info.md b/apps/backend/test-case-info.md new file mode 100644 index 0000000..a07a75c --- /dev/null +++ b/apps/backend/test-case-info.md @@ -0,0 +1,340 @@ +# backend — API test case info + +HTTP/API tests that drive a **running** backend (not unit tests): they log in with +real credentials, create data through the API, and pull the generated static JSON +cache the apps consume. + +- **Runner**: jest + ts-jest, node environment, serial (`--runInBand`) +- **Total**: **22 suites / 107 tests** — all green (`bun run test:api`, ~2.5 min) +- Tests live in `apps/backend/tests/`; they do not import server runtime code beyond + the `AppRouter` type. + +## Run + +```bash +# 1. start the backend (wrangler dev, port 8787) +cd apps/backend && bun run dev + +# 2. fill in credentials (git-ignored) +cp apps/backend/tests/.env.example apps/backend/tests/.env # then edit + +# 3. run +cd apps/backend && bun run test:api +bun run test:api:typecheck # tsc over tests/ +``` + +`API_BASE_URL` defaults to `http://localhost:8787`; override it in `tests/.env`. + +## Environment notes + +- **Auth**: `admin.staffUser.login` (staff) and `user.auth.login` (user). Login, not OTP — + OTP requires a real SMS. The user must exist in the **local** D1. +- **Preconditions are not seeded** (only config/constants are): the suites create a store, + a one-SKU product and a future slot through the **admin** API, plus an address for the user. + Data is **left behind**; names carry a unique suffix so reruns stay valid. +- **Cache files** are written through the R2 S3 API to the real dev bucket and read back from + the **assets domain** (`assetsDomain` from `common.essentialConsts`, e.g. + `https://assets2.freshyo.in`). The machine therefore needs network access to both. +- **Trigger timing** decides the suite layout: `slots.json` and `availability.json` are + regenerated **synchronously** inside their mutations; `products.json` / `stores/.json` + are rebuilt ~30 s later by the `CACHE_CREATOR` Durable Object → those tests poll. +- Test slots must be in the **future** and not at capacity — the public slots payload filters + to future, non-full slots. + +## Findings from the first green run + +- **`availability.json` is keyed by SKU id**, not product id (`id: stat.skuId`), and its + `isOutOfStock` comes from `product_market_stats`. `admin.product.toggleOutOfStock` takes a + **product** id and flips `product_market_stats` for all of that product's SKUs, so it *is* + app-visible — but look the entry up by `skuId`. +- **The cache rebuild writes files in parallel (non-atomic).** After `cacheVersion` advances, + `products.json` can be readable while `stores/.json` is still uploading (observed: 404 at + the new version, 200 moments later). The tests therefore poll for each individual file. +- **`placeOrder` accepts a non-existent `slotId`.** It only checks slot *capacity*; there is no + FK/validity check, so a bogus id is stored verbatim. Case 17 documents this gap — it will need + updating if the backend adds validation. +- **Admin *reads* are not staff-guarded.** `protectedProcedure` only requires *some* identity, so a + plain user token can call `admin.product.getProducts` (documented by the authorization suite). + Staff-guarded writes (e.g. `admin.slots.createSlot`) do check `ctx.staffUser`. +- **`availability.json` and `slots.json` can lead `products.json`.** Both are bumped synchronously + (stock toggle / slot mutation) while `products.json` only rebuilds ~30 s later, so for a window + the cache references product ids that the product file doesn't have yet. The consistency checks + poll for convergence and assert the stable parts. +- **`essential-consts.json` embeds a version snapshot** taken when it was written, so its + `slotsVersionNum`/`availabilityVersionNum` can lag the live values (slots bump independently). + Consumers get versions from `common.essentialConsts` (tRPC), not from this file. +- **`updateProduct` requires a SKU feature literally named `quantity`** ("Every SKU must have a + quantity feature") — the same rule as the create path. +- **`admin.order.updateAddressCoords` succeeds but is not visible to the user.** The + user-facing `address.getUserAddresses` still returns `latitude` null/0, so the admin write and + the user read disagree. The test asserts the mutation contract only. +- **`admin.order.cancelOrder` refuses an already-delivered order**; the test cancels a freshly + placed one instead. +- **`admin.order.*` id types are inconsistent**: `getOrderDetails` / `updateNotes` / + `removeDeliveryCharge` / `cancelOrder` take a **number**; `updatePackaged` / `updateDelivered` / + `getSlotOrders` take a **string**. +- **`admin.coupon.create` returns an array** (`Coupon[]`) — take `[0].id`. `update` takes + `{ id, updates }` and merges partially (fields present win). `delete` **soft-invalidates** + ("Coupon invalidated successfully"): `getById` still returns the row, but it vanishes from + `coupon.getEligible` and `placeOrder` rejects it. Creating with **both** `discountPercent` and + `flatDiscount` is rejected. +- **`admin.user.getUserDetails` breaks once a user has a long order history.** It builds an + unchunked `select … from order_status where order_id in (…)` over every order the user ever + placed; at ~110 orders the query fails outright (`Failed query`). Reproduction: call it for the + shared test account after a few runs. The suite now exercises it against a fresh user. Same + unchunked pattern is used for the order stats in `admin.user.getAllUsers`. +- **`admin.product.deleteProduct` fails for a product that has SKUs.** It issues a hard + `delete from product_info … returning …`, which trips the FK from the product's SKUs / + market stats; the API returns a raw "Failed query" instead of a 404/409. There is no + soft-delete path reachable through this procedure. The test asserts the rejection. +- **`admin.store.deleteStore` takes `{ storeId }`**, unlike its siblings + (`product.deleteProduct`, `banner.deleteBanner`, `product.deleteProductTag`) which take `{ id }`. + Mismatched shape → zod `invalid_type` on `storeId`. +- **`admin.slots.getAll` returns at most 20 slots** (hard-coded limit) and keeps returning them as + runs accumulate data, so a freshly created slot is not guaranteed to be inside that window. The + membership assertion moved to the unbounded public `user.slots.getSlots`; the cap itself is now + asserted. +- **`vendorSnippets.getOrdersBySnippet` requires the snippet to be linked to a slot** — + otherwise it throws "Vendor snippet not associated with a slot", because it resolves orders + through the slot. `snippetCode` is also **required** on create. +- **`admin.banner.createBanner` needs a URL-shaped `imageUrl`** (`z.string().url()`) and extracts an + object key from it; a plausible assets-domain URL is accepted without any upload. +- **Suspension is a live precondition for ordering.** `placeOrder` rejects a suspended user + ("Unable to place order"), so the admin-ops suite unsuspends the shared test user in + `beforeAll` and the suspension test restores the flag in a `finally`. +- **`stores/.json` can land in a *later* cache version than the one captured after a write.** + `cacheVersion` advances on every admin write while the ~30 s rebuild writes the per-store files + separately, so the store-detail test resolves the current version on each poll attempt instead + of pinning it. +- **A presigned upload URL is usable by any client, with no R2 credentials.** The signature + travels in the query string and `Content-Type` is deliberately left unsigned (see the comment + in `generateUploadUrl`), so the test process can PUT bytes straight to R2 and read the object + back from the public assets domain. `X-Amz-Expires` is 180 s. +- **The object key is `${folder}/${Date.now()}${extension}`** (`common.generateUploadUrls`), with + the folder chosen from `contextString` (product-images, tags, store-images, review-images, + review-response-images, complaint-images, profile-images) and the extension from the mime type + (jpg/png/gif, jpg fallback). Two files with the *same* mime type in one call share a + millisecond and therefore a key — one pending-status row, two URLs, one object. Deliberately + not covered here. +- **Every presign writes a `pending` status row** (`createUploadUrlStatus`), and `claimUploadUrl` + flips it to claimed — throwing `Failed to claim upload URL` when the row is absent or already + claimed. The admin create paths that accept `uploadUrls` (product SKU images, tag image, + review response) depend on it. Not covered here: claim/re-claim, and `deleteImageUtil` on image + replacement (store update, tag update/delete, product update). + +## Suites + +### `api/health.test.ts` — 3 (no auth) +| # | Test | Request → assert | +| --- | --- | --- | +| 1 | GET /api/health responds 200 | `GET /api/health` → 200 + ok | +| 2 | common.healthCheck resolves over tRPC | `common.healthCheck` → truthy | +| 3 | common.essentialConsts returns the runtime config | numeric `freeDeliveryThreshold`, string `assetsDomain`/`apiCacheKey`, numeric `cacheVersion`/`slotsVersionNum` | + +### `api/auth.test.ts` — 3 +| # | Test | Request → assert | +| --- | --- | --- | +| 4 | staff login returns a token and staff id | `admin.staffUser.login` → token, `staff.id > 0` | +| 5 | user login returns a token and user id | `user.auth.login` → token, `user.id > 0` | +| 6 | each token authenticates its own protected procedures | staff → `admin.product.getProducts`; user → `user.address.getUserAddresses` | + +### `api/admin.test.ts` — 2 +| # | Test | Request → assert | +| --- | --- | --- | +| 7 | admin.product.getProducts includes the created SKU | created product found with the created sku id | +| 8 | admin.slots.getAll includes the created slot | created slot id present | + +### `api/order-flow.test.ts` — 5 (the requested flow) +| # | Test | Request → assert | +| --- | --- | --- | +| 9 | lists the created slot via user.slots.getSlots | created slot id present | +| 10 | places a COD order and echoes the total | `user.order.placeOrder` (cod) → one order, id/total > 0 | +| 11 | returns the new order from user.order.getOrders | order id present, `deliveryStatus: 'pending'`, 1 item, `pagination.totalCount > 0` | +| 12 | returns the same order from user.order.getOrderById | id/amount match, 1 item | +| 13 | places an online order with a pending payment | `paymentMethod:'online'` → `paymentMode: 'Online'`, `paymentStatus: 'pending'` | + +### `api/order-edge-cases.test.ts` — 4 +| # | Test | Request → assert | +| --- | --- | --- | +| 14 | rejects an unauthenticated request | no token → UNAUTHORIZED | +| 15 | rejects an address that is not the user's | bogus addressId → "Invalid address" | +| 16 | rejects an unknown skuId | bogus skuId → "not found" | +| 17 | accepts a non-existent slotId (known gap) | bogus slotId → order is created and `slotId` stored verbatim (no validity/FK check) — documents the gap | + +### `api/cache-slots.test.ts` — 3 (synchronous cache) +| # | Test | Request → assert | +| --- | --- | --- | +| 18 | exposes a numeric slotsVersionNum | `common.essentialConsts` → number > 0 | +| 19 | contains a newly created slot | create slot → GET `slots/v-/slots.json` → slot id present, deliveryTime matches | +| 20 | bumps the version and rewrites the file for a second slot | `slotsVersionNum` increases; the new file contains the second slot | + +### `api/cache-availability.test.ts` — 2 (synchronous cache) +| # | Test | Request → assert | +| --- | --- | --- | +| 21 | reflects an out-of-stock toggle for the new SKU | `admin.product.toggleOutOfStock({id})` → `isOutOfStock: true` in the response, `availabilityVersionNum` increases → GET `av-/availability.json` → entry (keyed by **skuId**) `isOutOfStock: true` | +| 22 | has a count matching the number of entries | `count === availability.length` | + +### `api/cache-products.test.ts` — 2 (eventual cache, polls ~30–120 s) +| # | Test | Request → assert | +| --- | --- | --- | +| 23 | lists the new product in products.json | poll `cacheVersion` past the baseline → GET `/v-/products.json` → new product id present | +| 24 | writes stores/<id>.json for the new store | GET `/v-/stores/.json` → `store.id` matches | + +### `api/authorization.test.ts` — 5 +| # | Test | Request → assert | +| --- | --- | --- | +| 25 | rejects anonymous requests | no token → UNAUTHORIZED | +| 26 | a staff token cannot act as a user (no ctx.user) | staff token → `user.order.getOrders` rejects | +| 27 | a user token cannot use staff-guarded admin writes | user token → `admin.slots.createSlot` rejected | +| 28 | DOCUMENTS: a user token CAN read `admin.product.getProducts` | no staff guard on admin reads — documents the gap | +| 29 | one user cannot see another user's addresses | registered user B's list excludes user A's address | + +### `api/order-rules.test.ts` — 6 +Uses a tiny-priced SKU (5) so one unit is below `minRegularOrderValue`. +| # | Test | Request → assert | +| --- | --- | --- | +| 30 | adds the configured delivery charge below the minimum order value | qty 1 → `deliveryCharge === deliveryCharge` const | +| 31 | waives the delivery charge at or above the minimum order value | qty to exceed min → `deliveryCharge === '0'` | +| 32 | groups items from different slots into one order per slot, charging once | 2 slots → 2 orders, exactly 1 charged | +| 33 | rejects an order for a full slot | `updateSlotCapacity(true)` → 403 "capacity"; capacity restored | +| 34 | rejects flash delivery while it is disabled | `isFlashDeliveryEnabled` forced off → 403 "flash"; restored | +| 35 | rejects an invalid quantity | `quantity: 0` → zod rejection | + +### `api/order-lifecycle.test.ts` — 5 +| # | Test | Request → assert | +| --- | --- | --- | +| 36 | persists special instructions | `updateUserNotes` → `getOrderById.userNotes` | +| 37 | cancels the order with a reason and reflects it in the list | `cancelOrder` → `cancelReason` + cancelled status in `getOrders` | +| 38 | rejects a cancellation without a reason | empty reason → zod rejection | +| 39 | rejects a readable order id ("ORD<id>") | numeric-string contract | +| 40 | paginates orders and rejects an oversized page size | page 1 vs 2 differ; `pageSize: 51` → rejection | + +### `api/user-surface.test.ts` — 7 +| # | Test | Request → assert | +| --- | --- | --- | +| 41 | returns the product detail for a product id | `product.getProductDetails` | +| 42 | creates a review and returns it from getProductReviews | `createReview` → listed | +| 43 | returns presigned upload URLs | `common.generateUploadUrls` → 1 URL | +| 44 | exposes eligible and owned coupons | `coupon.getEligible` + `getMyCoupons` arrays | +| 45 | rejects redeeming an unknown coupon code | bogus `secretCode` → 400 | +| 46 | returns the signed-in user profile | `user.user.getSelfData.data.user.id` | +| 47 | raises a complaint that staff can resolve | `complaint.raise` → `getAll` → admin `complaint.resolve` → `isResolved` | + +### `api/cache-consistency.test.ts` — 5 (cross-file invariants) +| # | Test | Request → assert | +| --- | --- | --- | +| 48 | every availability entry maps to a product in products.json | 0 orphan ids (polls — availability can lead) | +| 49 | availability count matches the number of entries | `count === availability.length` | +| 50 | every product referenced by slots.json exists in products.json | 0 orphans (polls) | +| 51 | essential-consts.json is self-consistent with the version in its path | file's `cacheVersion` == path; other versions numeric | +| 52 | stores.json productCount matches each store detail file | `productCount === detail.products.length` | + +### `api/admin-catalog.test.ts` — 9 +| # | Test | Request → assert | +| --- | --- | --- | +| 53 | getStoreById returns the created store | `{ id }` → store.id | +| 54 | updateStore renames the store | update → getStoreById reflects the new name | +| 55 | getProductById returns the product with its SKU | product id + sku id present | +| 56 | updateProduct renames the product | update (sku feature `quantity`) → getProducts reflects the new name | +| 57 | getGroups lists product groups | `groups` array | +| 58 | createGroup adds a group that getGroups returns | group name present | +| 59 | coupon.getAll returns a coupons array | `coupons` array | +| 60 | vendorSnippets.getAll returns an array | array | +| 61 | complaint.getAll returns a complaints array | `complaints` array | + +### `api/admin-orders.test.ts` — 10 +| # | Test | Request → assert | +| --- | --- | --- | +| 62 | getAll returns recent orders | `{ limit: 5 }` → `orders` array | +| 63 | getOrderDetails returns the order | `{ orderId: number }` → id matches | +| 64 | getSlotOrders lists the orders for a slot (string slotId) | `{ slotId: string }` → truthy | +| 65 | updateNotes stores admin notes on the order | `{ orderId, adminNotes }` → details reflect | +| 66 | marks the order packaged | `{ orderId: string, isPackaged: true }` → success | +| 67 | marks the order delivered and the user sees "success" | user's `getOrderById.deliveryStatus === 'success'` | +| 68 | removes the delivery charge | user's `deliveryCharge === 0` | +| 69 | updates the address coordinates | mutation succeeds (coords not exposed to the user read — documented) | +| 70 | cancels a fresh order as staff and the user sees it cancelled | new order → `cancelOrder` → status cancelled | +| 71 | rebalances the orders for a slot | `{ slotIds: [id] }` → truthy | + +### `api/coupons.test.ts` — 7 (admin CRUD → user applies it) +| # | Test | Request → assert | +| --- | --- | --- | +| 72 | creates the coupon and getById returns it | `coupon.create` (flat 2, minOrder 1, apply-for-all) → `[0].id`; getById code + discount | +| 73 | updates the coupon | `coupon.update({ id, updates })` → getById reflects | +| 74 | is eligible for the user | `user.coupon.getEligible` contains the coupon | +| 75 | reduces the order amount when the user applies it | `placeOrder({ couponId })` → `getOrderById.couponCode` + `discountAmount === 2` | +| 76 | deleting the coupon invalidates it for the user | `coupon.delete` → no longer in `getEligible` | +| 77 | rejects applying the invalidated coupon to an order | `placeOrder({ couponId })` → invalid/expired error | +| 78 | rejects a coupon with both discount types | `coupon.create({ discountPercent, flatDiscount })` → rejected | + +### `api/admin-users.test.ts` — 8 (admin user surface) +| # | Test | Request → assert | +| --- | --- | --- | +| 79 | getEssentials returns the dashboard counters | `user.getEssentials` → numeric `unresolvedComplaints` | +| 80 | getAllUsers returns users | `user.getAllUsers({ limit: 5 })` → `users` array | +| 81 | getUserDetails returns the user | `user.getUserDetails({ userId })` → id matches a fresh user | +| 82 | getStaff lists the staff | `staffUser.getStaff` → includes the logged-in staff id | +| 83 | adds a user incident that getUserIncidents returns | `addUserIncident({ userId, adminComment })` → the comment comes back | +| 84 | getUsersForNotification returns a users array | `{ search: '' }` → array | +| 85 | suspends and unsuspends the user | `updateUserSuspension(true/false)` → `getUserDetails` reflects each | +| 86 | sendNotification tolerates a recipient with no push token | `{ userIds: [fresh] }` → resolves (nothing delivered) | + +### `api/admin-banners.test.ts` — 4 +| # | Test | Request → assert | +| --- | --- | --- | +| 87 | getBanners returns a banners array | `banner.getBanners` → array | +| 88 | createBanner creates a banner that getBanner returns | `createBanner({ name, imageUrl })` → `getBanner({ id }).name` | +| 89 | updateBanner renames the banner | `updateBanner({ id, name })` → `getBanner` reflects | +| 90 | deleteBanner removes it | `deleteBanner({ id })` → `getBanner` is null | + +### `api/admin-tags.test.ts` — 4 +| # | Test | Request → assert | +| --- | --- | --- | +| 91 | creates a tag that getProductTags returns | `createProductTag({ tagName, isDashboardTag })` → new id in `getProductTags` | +| 92 | getProductTagById returns the tag | `getProductTagById({ id })` → tagName matches | +| 93 | updateProductTag renames the tag | `updateProductTag({ id, tagName })` → reflected | +| 94 | deleteProductTag removes it | `deleteProductTag({ id })` → gone from `getProductTags` | + +### `api/admin-vendor-snippets.test.ts` — 4 +| # | Test | Request → assert | +| --- | --- | --- | +| 95 | creates a snippet that getAll returns | `vendorSnippets.create({ snippetCode, slotId, skuIds, isPermanent })` → id in `getAll` | +| 96 | updates the snippet | `update({ id, updates: { validTill } })` → still listed | +| 97 | returns the orders for the snippet code | `getOrdersBySnippet({ snippetCode })` → resolves (needs a slot) | +| 98 | deletes the snippet | `delete({ id })` → gone from `getAll` | + +### `api/admin-ops.test.ts` — 5 (config, lifecycle, concurrency) +| # | Test | Request → assert | +| --- | --- | --- | +| 99 | round-trips a constant through updateConstants | `updateConstants(minOrderAmountForCoupon = 123)` → `getConstants` shows 123 → restored | +| 100 | updates and deletes a product group | `createGroup` → `updateGroup({ id, group_name })` visible in `getGroups` → `deleteGroup({ id })` removes it | +| 101 | deleteProduct rejects for a product that still has SKUs | `deleteProduct({ id })` → rejected (FK on the hard delete) | +| 102 | deletes a store | `store.createStore` → `deleteStore({ storeId })` → `getStoreById` no longer resolves | +| 103 | places two concurrent orders for different slots | two `placeOrder` calls in parallel → two distinct, persisted order ids | + +### `api/uploads.test.ts` — 4 (image upload round trip) +The presigned PUT is self-signed, so these cases upload real bytes without any R2 credentials and +read them back from the public assets domain (`common.essentialConsts.assetsDomain`, the same +source the app renders from). Objects stay in the dev bucket. + +| # | Test | Request → assert | +| --- | --- | --- | +| 104 | stores exactly the bytes that were uploaded | `common.generateUploadUrls({contextString:'product_info'})` → PUT a 1×1 PNG → GET `/` → same length, byte-equal, same sha256 | +| 105 | keeps two uploads distinct — each URL serves its own object | presign in two folders (product-images, tags) → different keys → each serves its own PNG, shas differ | +| 106 | gives every mime type in one call a usable URL | one call with `['image/png','image/jpeg']` → 2 distinct keys → both objects hold their own bytes | +| 107 | returns 404 for an object that was never uploaded | guards the read-back: a passing comparison must mean the object really exists | + +## Harness reference + +| Path | Purpose | +| --- | --- | +| `tests/jest.config.js` | jest project (ts-jest, node env, `runInBand`, clearMocks) | +| `tests/tsconfig.json` | typecheck scope for tests (`bun run test:api:typecheck`) | +| `tests/setup.ts` | loads `tests/.env` before the suites | +| `tests/.env.example` | credentials template (copy to `tests/.env`, git-ignored) | +| `tests/helpers/env.ts` | `API_BASE_URL` + credentials with actionable errors | +| `tests/helpers/api.ts` | tRPC client (`httpBatchLink`) + bearer token, `health()`, `assertServerUp()`, `uniqueSuffix()` | +| `tests/helpers/sessions.ts` | staff/user login with cached tokens | +| `tests/helpers/fixtures.ts` | `createStoreWithSku` (optional price), `createFutureSlot`, `ensureUserAddress`, `registerThrowawayUser` | +| `tests/helpers/consts.ts` | `getConstants` (normalised), `setConst` (used to flip the flash gate, always restored), `asNumber` | +| `tests/helpers/cache.ts` | `essentialConsts`, versioned cache URLs (products/stores/slots/availability/essential-consts), `fetchCacheJson`, `pollUntil` | diff --git a/apps/backend/tests/.env b/apps/backend/tests/.env new file mode 100644 index 0000000..e61a194 --- /dev/null +++ b/apps/backend/tests/.env @@ -0,0 +1,10 @@ +# Backend API tests — fill these in before running `bun run test:api`. +# This file is git-ignored. + +API_BASE_URL=http://localhost:8787 + +ADMIN_NAME=shafi +ADMIN_PASSWORD=shafI123 + +USER_IDENTIFIER=9676651496 +USER_PASSWORD=meatfarmer@123 diff --git a/apps/backend/tests/.env.example b/apps/backend/tests/.env.example new file mode 100644 index 0000000..eb1a86f --- /dev/null +++ b/apps/backend/tests/.env.example @@ -0,0 +1,14 @@ +# Backend API tests — copy this file to `tests/.env` and fill in the values. +# `tests/.env` is git-ignored. + +# Backend base URL. `bun run dev` serves wrangler dev on :8787. +API_BASE_URL=http://localhost:8787 + +# Staff (admin-ui) credentials — used for admin.* procedures. +ADMIN_NAME= +ADMIN_PASSWORD= + +# User (app) credentials — used for user.* procedures. +# USER_IDENTIFIER is the email or the 10-digit mobile number. +USER_IDENTIFIER= +USER_PASSWORD= diff --git a/apps/backend/tests/BUGS.md b/apps/backend/tests/BUGS.md new file mode 100644 index 0000000..1fccf84 --- /dev/null +++ b/apps/backend/tests/BUGS.md @@ -0,0 +1,259 @@ +# Known bugs — apps/backend + +Found while writing the API integration suites under `tests/api/`. Each entry +gives the source location, the actual behaviour, the expected behaviour and the +test that pins it. Severity is my judgement of impact. + +--- + +## High — security / data integrity + +### 1. A user token can perform admin writes (missing staff guard) + +`src/trpc/trpc-index.ts` — `protectedProcedure` only requires *some* identity +(`ctx.user` OR `ctx.staffUser`). Many `admin.*` procedures never re-check +`ctx.staffUser`, so a plain user token can call them. + +Confirmed reachable with a user token: + +- `admin.order.cancelOrder` — cancel any order +- `admin.user.updateUserSuspension` — suspend any user +- `admin.const.updateConstants` — change app configuration +- `admin.user.sendNotification` — broadcast notifications +- `admin.product.toggleOutOfStock` (and the other `admin.product.*` writes) +- `admin.staffUser.createStaffUser` — **create a usable staff account (privilege escalation)**; the new account can log in + +Procedures that *do* guard correctly: `admin.slots.*`, `admin.coupon.create`, +`admin.coupon.createReservedCoupon` (they check `ctx.staffUser?.id`). + +**Fix:** add a `staffProcedure` (or a `ctx.staffUser` check) to every `admin.*` +write. + +**Pinned by:** `tests/api/authorization-matrix.test.ts`. + +### 2. Public `admin.vendorSnippets` endpoints + +`src/trpc/apis/admin-apis/apis/vendor-snippets.ts` + +- `getUpcomingSlots:176? / 259` — `publicProcedure` +- `getOrdersBySnippet:176` — `publicProcedure`, returns order/customer data for a snippet code +- `getOrdersBySnippetAndSlot:275` — `publicProcedure` +- `updateOrderItemPackaging:362` — `publicProcedure` with the staff check **commented out** (lines 355-360), so anyone can flip packaging state + +**Fix:** require staff on all four. + +**Pinned by:** `tests/api/authorization-matrix.test.ts`. + +### 3. `user.auth.updateProfile` always throws + +`src/trpc/apis/user-apis/apis/auth.ts:342` + +```ts +const authHeader = ctx.req.header('authorization'); +``` + +`ctx.req` is a fetch `Request` (see `src/app.ts` context: `{ req, c, ... }`), +which has `.headers.get(...)`, not `.header(...)`. The call throws +`TypeError: ctx.req.header is not a function`. + +Worse, the profile update (`updateUserProfileInDb`) and the profile image URL +resolving both run *before* line 342, so the write is committed and the client +still receives an error — a silent partial success. + +**Fix:** `ctx.req.headers.get('authorization')` (or use `ctx.c`). + +**Pinned by:** `tests/api/misc-procedures.test.ts` — "pins: updateProfile +crashes after writing the change". + +### 4. `user.auth.updatePassword` silently does nothing + +`packages/db_helper_sqlite/src/user-apis/auth.ts:177` (`upsertUserPassword`) + +```ts +try { + await db.insert(userCreds).values({ userId, userPassword: hashedPassword }) + return +} catch (error) { + if (error.code === '23505') { /* postgres unique violation -> UPDATE */ } + throw error +} +``` + +`user_creds` has **no UNIQUE constraint on `user_id`** (schema: `id, user_id, +user_password, created_at`), and `23505` is the *Postgres* unique-violation code +— on D1 the insert simply succeeds. Result: a second credentials row is created, +`getUserAuthCreds` keeps returning the original row, and the account's password +never changes. + +Verified: after "updating" the password, the **old password still logs in** and +the new one is rejected; the user now has duplicate rows in `user_creds`. + +**Fix:** add a UNIQUE index on `user_creds.user_id` and handle the SQLite +constraint code, or do an explicit select-then-insert/update. + +**Pinned by:** `tests/api/misc-procedures.test.ts` — "pins: updatePassword +reports success but the old password still works". + +--- + +## High — money + +### 5. A ≥100% coupon produces a negative order total + +`packages/db_helper_sqlite/src/user-apis/order.ts` (`applyDiscountToOrder`) + +The percentage branch caps the discount at `maxValue * proportion` or `Infinity` +and **never at `orderTotal`** (the flat branch does cap at the order total). A +coupon with `discountPercent >= 100` and no `maxValue` therefore drives +`orders.totalAmount` to zero or negative. `admin.coupon.create` accepts any +`discountPercent` (no upper bound). + +**Pinned by:** `tests/api/coupon-math.test.ts` — "pins: a 150% coupon produces a +negative total". + +### 6. The discount is applied to the delivery-inclusive base + +`src/trpc/apis/user-apis/apis/order.ts:156` + +```ts +const orderTotalAmount = isFirstOrder ? subOrderTotalWithDelivery : subOrderTotal; +``` + +`isFirstOrder` is true for the **first sub-order of every placeOrder call**, so +that sub-order's discount is computed on `goods + deliveryCharge`. A percentage +coupon therefore discounts the delivery fee as well. + +**Pinned by:** `tests/api/coupon-math.test.ts` — "pins: a percentage coupon +discounts the delivery fee too". + +### 7. Money is never rounded + +Nothing rounds `totalAmount`; it is written with `.toString()` on a raw float, so +percentage discounts leave float noise (e.g. `999 - 15%`). + +**Pinned by:** `tests/api/coupon-math.test.ts` — "pins: amounts are stored +unrounded". + +--- + +## Medium — coupon rules + +### 8. Coupon scoping is not enforced at placeOrder + +`validateAndGetCoupon` checks invalidated / expiry / per-user limit / minOrder / +first-order-only, but **not** `isUserBased`, `applicableUsers`, `skuIds` or +`exclusiveApply`. Only the display endpoints (`getEligible` / `getMyCoupons`) +filter by applicability, so user B can spend a coupon issued to user A by +passing its id to `placeOrder`. + +**Pinned by:** `tests/api/coupon-ux.test.ts` — "pins: user B can apply a coupon +issued to user A". + +### 9. Cancelling an order does not release its coupon usage + +`recordUserCouponUsage` runs at placement; `cancelOrderTransaction` never touches +`coupon_usage`. A cancelled order permanently consumes a `maxLimitForUser` slot. + +**Pinned by:** `tests/api/order-lifecycle-gaps.test.ts` — "pins: cancelling an +order does not release its coupon usage". + +### 10. A cancelled first order poisons an `isFirstOrderOnly` coupon + +`getOrderCount` counts every order including cancelled ones, and +`isUserBased`/first-order checks run off it — so placing and cancelling a first +order permanently blocks a first-order-only coupon for that user. + +**Pinned by:** `tests/api/order-lifecycle-gaps.test.ts` — "pins: a cancelled +first order poisons an isFirstOrderOnly coupon". + +### 11. Reserved-coupon expiry is not checked at redemption + +`redeemReservedCoupon` checks "already redeemed" and first-order-only, but not +`validTill`. An expired reserved code still redeems (it only fails later at +`placeOrder`). + +**Pinned by:** `tests/api/coupon-ux.test.ts` — "pins: an expired reserved code +still redeems". + +### 12. `exclusiveApply` is stored but never enforced + +Coupons carry `exclusiveApply`, and `placeOrder` accepts a single `couponId`, so +the flag has no effect anywhere. (Observation from reading the code; no runtime +test.) + +--- + +## Medium — placeOrder guards + +### 13. Out-of-stock products are still orderable + +`placeOrderUtil` checks `isFlashAvailable` for flash orders but never +`isOutOfStock`. + +**Pinned by:** `tests/api/place-order-edge-cases.test.ts`. + +### 14. An empty `selectedItems` list fails with a raw DB error + +There is no `.min(1)` on `selectedItems`, so an empty list reaches Drizzle, which +throws `values() must be called with at least one value` instead of returning a +400. + +**Pinned by:** `tests/api/place-order-edge-cases.test.ts`. + +### 15. No quantity cap + +`quantity` is `z.number().int().positive()` with no upper bound; `1_000_000` +units are accepted. + +**Pinned by:** `tests/api/place-order-edge-cases.test.ts`. + +### 16. No slot validity checks + +`placeOrder` only checks slot *capacity*. An inactive slot, a slot whose delivery +time has already passed, and a slot that does not carry the ordered SKU are all +accepted. + +**Pinned by:** `tests/api/place-order-edge-cases.test.ts`. + +### 17. No idempotency + +Two identical `placeOrder` calls create two orders (`orderGroupId` is +`Date.now()-userId`, with no uniqueness check). + +**Pinned by:** `tests/api/place-order-edge-cases.test.ts`. + +--- + +## Low — error handling / lifecycle + +### 18. `cancelOrder` swallows every error into one generic message + +`src/trpc/apis/user-apis/apis/order.ts:554-599` wraps the whole handler in a +`try/catch` that rethrows `new ApiError("failed to cancel order")`, discarding +the specific 404/400 messages it constructs ("Order not found", "Order is already +cancelled", "Cannot cancel delivered order"). `updateUserNotes`, by contrast, has +no catch and propagates its real messages. + +**Pinned by:** `tests/api/order-lifecycle-gaps.test.ts` and +`tests/api/authorization-matrix.test.ts`. + +### 19. No order status transition guards + +`admin.order.updateDelivered` / `updatePackaged` accept any state: a cancelled +order can be marked delivered, and delivered is reversible. + +**Pinned by:** `tests/api/order-lifecycle-gaps.test.ts`. + +### 20. `getUserDetails` breaks past ~110 orders + +`admin.user.getUserDetails` builds an unchunked `IN (...)` over the user's order +ids and fails once the history is large. Documented in +`tests/api/admin-users.test.ts` (that suite uses a throwaway user to avoid it). + +--- + +## Out of scope (per request) + +Online payments (`user.payment.*`, `admin.payments.initiateRefund`), OTP +(`sendOtp`/`verifyOtp`) and `deleteAccount` are deliberately untested and not +listed here. diff --git a/apps/backend/tests/api/admin-banners.test.ts b/apps/backend/tests/api/admin-banners.test.ts new file mode 100644 index 0000000..caf488b --- /dev/null +++ b/apps/backend/tests/api/admin-banners.test.ts @@ -0,0 +1,57 @@ +/** + * Admin banner CRUD. `imageUrl` must be a URL; the backend extracts an object key + * from it, so a plausible bucket URL is enough (nothing is uploaded here). + */ + +import { apiClient } from '../helpers/api' +import { staffSession } from '../helpers/sessions' + +const IMAGE_URL = 'https://assets2.freshyo.in/banner-images/api-test.png' + +describe('admin banner CRUD', () => { + let admin: ReturnType + let bannerId = 0 + + beforeAll(async () => { + const staff = await staffSession() + admin = apiClient(staff.token) + }) + + it('getBanners returns a banners array', async () => { + const res = await admin.admin.banner.getBanners.query() + expect(Array.isArray(res.banners)).toBe(true) + }) + + it('createBanner creates a banner that getBanner returns', async () => { + const name = `API Test Banner ${Date.now()}` + + const created = await admin.admin.banner.createBanner.mutate({ + name, + imageUrl: IMAGE_URL, + description: 'Created by API tests', + }) + bannerId = (created as { id: number }).id + + expect(bannerId).toBeGreaterThan(0) + + const fetched = await admin.admin.banner.getBanner.query({ id: bannerId }) + expect(fetched?.name).toBe(name) + }) + + it('updateBanner renames the banner', async () => { + const name = `API Test Banner renamed ${Date.now()}` + + await admin.admin.banner.updateBanner.mutate({ id: bannerId, name }) + + const fetched = await admin.admin.banner.getBanner.query({ id: bannerId }) + expect(fetched?.name).toBe(name) + }) + + it('deleteBanner removes it', async () => { + const res = await admin.admin.banner.deleteBanner.mutate({ id: bannerId }) + expect(res.success).toBe(true) + + const fetched = await admin.admin.banner.getBanner.query({ id: bannerId }) + expect(fetched).toBeNull() + }) +}) diff --git a/apps/backend/tests/api/admin-catalog.test.ts b/apps/backend/tests/api/admin-catalog.test.ts new file mode 100644 index 0000000..f97cac8 --- /dev/null +++ b/apps/backend/tests/api/admin-catalog.test.ts @@ -0,0 +1,114 @@ +/** + * Admin read/update surface: store, product, groups, coupons, vendor snippets + * and complaints — all with the staff token. + */ + +import { apiClient } from '../helpers/api' +import { createStoreWithSku, type StoreWithSku } from '../helpers/fixtures' +import { staffSession } from '../helpers/sessions' + +describe('admin catalog surface', () => { + let admin: ReturnType + let store: StoreWithSku + let staffId = 0 + + beforeAll(async () => { + const staff = await staffSession() + staffId = staff.staffId + admin = apiClient(staff.token) + store = await createStoreWithSku() + }) + + it('getStoreById returns the created store', async () => { + const res = await admin.admin.store.getStoreById.query({ id: store.storeId }) + expect(res.store?.id).toBe(store.storeId) + }) + + it('updateStore renames the store', async () => { + const name = `${store.storeName} (renamed)` + + await admin.admin.store.updateStore.mutate({ + id: store.storeId, + name, + owner: staffId, + description: 'Renamed by API tests', + }) + + const after = await admin.admin.store.getStoreById.query({ id: store.storeId }) + expect(after.store.name).toBe(name) + }) + + it('getProductById returns the product with its SKU', async () => { + const res = (await admin.admin.product.getProductById.query({ + id: store.productId, + })) as { + product?: { id: number; skus?: { id: number }[] } + id?: number + skus?: { id: number }[] + } + const product = res.product ?? res + + expect(product.id).toBe(store.productId) + expect(product.skus!.some((s) => s.id === store.skuId)).toBe(true) + }) + + it('updateProduct renames the product', async () => { + const name = `${store.productName} (renamed)` + + await admin.admin.product.updateProduct.mutate({ + id: store.productId, + name, + storeId: store.storeId, + productType: 'item', + skus: [ + { + id: store.skuId, + price: 199, + // The backend requires a feature literally named "quantity". + features: [{ featureName: 'quantity', featureValue: '1pc' }], + }, + ], + }) + + // Read back through the list — a known shape. + const list = await admin.admin.product.getProducts.query() + const product = list.products.find((p) => p.id === store.productId) + expect(product?.name).toBe(name) + }) + + it('getGroups lists product groups', async () => { + const res = await admin.admin.product.getGroups.query() + expect(Array.isArray(res.groups)).toBe(true) + }) + + it('createGroup adds a group that getGroups returns', async () => { + const groupName = `API Test Group ${Date.now()}` + + await admin.admin.product.createGroup.mutate({ + group_name: groupName, + description: 'Created by API tests', + product_ids: [store.skuId], + }) + + const res = await admin.admin.product.getGroups.query() + const names = res.groups.map( + (g: { groupName?: string; group_name?: string }) => g.groupName ?? g.group_name + ) + expect(names).toContain(groupName) + }) + + it('coupon.getAll returns a coupons array', async () => { + const res = await admin.admin.coupon.getAll.query({ limit: 5 }) + expect(Array.isArray(res.coupons)).toBe(true) + }) + + it('vendorSnippets.getAll returns an array', async () => { + const res = await admin.admin.vendorSnippets.getAll.query() + expect(Array.isArray(res)).toBe(true) + }) + + it('complaint.getAll returns a complaints array', async () => { + const res = await admin.admin.complaint.getAll.query({ limit: 10 }) + expect(Array.isArray(res.complaints)).toBe(true) + }) +}) diff --git a/apps/backend/tests/api/admin-ops.test.ts b/apps/backend/tests/api/admin-ops.test.ts new file mode 100644 index 0000000..85674c3 --- /dev/null +++ b/apps/backend/tests/api/admin-ops.test.ts @@ -0,0 +1,121 @@ +/** + * Admin ops: config round-trip, group/product/store lifecycle, and two orders + * placed concurrently. + */ + +import { apiClient, captureError, uniqueSuffix } from '../helpers/api' +import { asNumber, getConstants, setConst } from '../helpers/consts' +import { createFutureSlot, createStoreWithSku, ensureUserAddress } from '../helpers/fixtures' +import { staffSession, userSession } from '../helpers/sessions' + +describe('admin ops', () => { + let admin: ReturnType + let user: ReturnType + let staffId = 0 + let skuId = 0 + + beforeAll(async () => { + const staff = await staffSession() + staffId = staff.staffId + admin = apiClient(staff.token) + + const session = await userSession() + user = apiClient(session.token) + + // A suspended user is rejected by placeOrder — make sure the shared test user + // is active regardless of what other suites left behind. + await admin.admin.user.updateUserSuspension.mutate({ + userId: session.userId, + isSuspended: false, + }) + + const store = await createStoreWithSku() + skuId = store.skuId + }) + + it('round-trips a constant through updateConstants', async () => { + const before = await getConstants() + const original = before.minOrderAmountForCoupon + + await setConst('minOrderAmountForCoupon', 123) + expect(asNumber((await getConstants()).minOrderAmountForCoupon)).toBe(123) + + if (original !== undefined) await setConst('minOrderAmountForCoupon', original) + }) + + it('updates and deletes a product group', async () => { + const base = `API Group ${uniqueSuffix()}` + const renamed = `${base} renamed` + + const created = (await admin.admin.product.createGroup.mutate({ + group_name: base, + product_ids: [skuId], + })) as { group?: { id: number }; id?: number } + const groupId = created.group?.id ?? created.id + expect(groupId).toBeGreaterThan(0) + + await admin.admin.product.updateGroup.mutate({ id: groupId!, group_name: renamed }) + + const groups = await admin.admin.product.getGroups.query() + const name = (g: { groupName?: string; group_name?: string }) => + g.groupName ?? g.group_name + expect(groups.groups.some((g) => name(g) === renamed)).toBe(true) + + await admin.admin.product.deleteGroup.mutate({ id: groupId! }) + + const after = await admin.admin.product.getGroups.query() + expect(after.groups.some((g: { id: number }) => g.id === groupId)).toBe(false) + }) + + it('deleteProduct rejects for a product that still has SKUs', async () => { + // The delete is a hard `delete from product_info`, which fails on the FK from + // the product's SKUs/market stats — so a product cannot be deleted this way. + const target = await createStoreWithSku() + + const error = await captureError(() => + admin.admin.product.deleteProduct.mutate({ id: target.productId }) + ) + + expect(error).toBeInstanceOf(Error) + }) + + it('deletes a store', async () => { + const created = (await admin.admin.store.createStore.mutate({ + name: `API Store to delete ${uniqueSuffix()}`, + owner: staffId, + })) as { store?: { id: number } } + const storeId = created.store!.id + + // NOTE: the input field is `storeId`, not `id`. + const res = await admin.admin.store.deleteStore.mutate({ storeId }) + expect(res).toBeTruthy() + + const error = await captureError(() => + admin.admin.store.getStoreById.query({ id: storeId }) + ) + expect(error).toBeInstanceOf(Error) + }) + + it('places two concurrent orders for different slots', async () => { + const slotA = await createFutureSlot([skuId], { deliveryInHours: 4, freezeInHours: 3 }) + const slotB = await createFutureSlot([skuId], { deliveryInHours: 8, freezeInHours: 7 }) + const address = await ensureUserAddress() + + const [a, b] = await Promise.all([ + user.user.order.placeOrder.mutate({ + selectedItems: [{ skuId, quantity: 1, slotId: slotA.slotId }], + addressId: address.addressId, + paymentMethod: 'cod', + }), + user.user.order.placeOrder.mutate({ + selectedItems: [{ skuId, quantity: 1, slotId: slotB.slotId }], + addressId: address.addressId, + paymentMethod: 'cod', + }), + ]) + + expect(a.data[0].id).toBeGreaterThan(0) + expect(b.data[0].id).toBeGreaterThan(0) + expect(a.data[0].id).not.toBe(b.data[0].id) + }) +}) diff --git a/apps/backend/tests/api/admin-orders.test.ts b/apps/backend/tests/api/admin-orders.test.ts new file mode 100644 index 0000000..e4c3c79 --- /dev/null +++ b/apps/backend/tests/api/admin-orders.test.ts @@ -0,0 +1,139 @@ +/** + * Admin order operations and their user-visible effect. + * + * `admin.order.*` uses a mix of numeric and string ids: + * getOrderDetails / updateNotes / removeDeliveryCharge / cancelOrder -> orderId: number + * updatePackaged / updateDelivered / getSlotOrders -> orderId/slotId: string + */ + +import { apiClient } from '../helpers/api' +import { createFutureSlot, createStoreWithSku, ensureUserAddress } from '../helpers/fixtures' +import { staffSession, userSession } from '../helpers/sessions' + +describe('admin order operations', () => { + let admin: ReturnType + let user: ReturnType + let orderId = 0 + let skuId = 0 + let slotId = 0 + let addressId = 0 + + beforeAll(async () => { + const staff = await staffSession() + admin = apiClient(staff.token) + + const store = await createStoreWithSku() + const slot = await createFutureSlot([store.skuId]) + const address = await ensureUserAddress() + const session = await userSession() + user = apiClient(session.token) + + skuId = store.skuId + slotId = slot.slotId + addressId = address.addressId + + const placed = await user.user.order.placeOrder.mutate({ + selectedItems: [{ skuId, quantity: 1, slotId }], + addressId, + paymentMethod: 'cod', + }) + orderId = placed.data[0].id + }) + + it('getAll returns recent orders', async () => { + const res = await admin.admin.order.getAll.query({ limit: 5 }) + expect(Array.isArray(res?.orders)).toBe(true) + }) + + it('getOrderDetails returns the order', async () => { + const details = (await admin.admin.order.getOrderDetails.query({ orderId })) as { + id?: number + } + + expect(details).toBeTruthy() + if (details.id != null) expect(details.id).toBe(orderId) + }) + + it('getSlotOrders lists the orders for a slot (string slotId)', async () => { + const res = await admin.admin.order.getSlotOrders.query({ slotId: String(slotId) }) + expect(res).toBeTruthy() + }) + + it('updateNotes stores admin notes on the order', async () => { + const notes = `Admin note ${Date.now()}` + + await admin.admin.order.updateNotes.mutate({ orderId, adminNotes: notes }) + + const details = (await admin.admin.order.getOrderDetails.query({ orderId })) as { + adminNotes?: string + } + if (details.adminNotes != null) expect(details.adminNotes).toBe(notes) + }) + + it('marks the order packaged', async () => { + const res = await admin.admin.order.updatePackaged.mutate({ + orderId: String(orderId), + isPackaged: true, + }) + expect(res.success).toBe(true) + }) + + it('marks the order delivered and the user sees deliveryStatus "success"', async () => { + const res = await admin.admin.order.updateDelivered.mutate({ + orderId: String(orderId), + isDelivered: true, + }) + expect(res.success).toBe(true) + + const detail = await user.user.order.getOrderById.query({ orderId: String(orderId) }) + expect(String(detail.deliveryStatus).toLowerCase()).toBe('success') + }) + + it('removes the delivery charge', async () => { + await admin.admin.order.removeDeliveryCharge.mutate({ orderId }) + + const detail = await user.user.order.getOrderById.query({ orderId: String(orderId) }) + expect(Number(detail.deliveryCharge)).toBe(0) + }) + + it('updates the address coordinates', async () => { + const res = await admin.admin.order.updateAddressCoords.mutate({ + addressId, + latitude: 16.7488, + longitude: 77.9852, + }) + expect(res).toBeTruthy() + + // NOTE: the coordinates set here are not exposed by the user-facing + // `address.getUserAddresses` read (latitude comes back null/0), so the + // contract under test is the mutation succeeding + the address surviving. + const addresses = await user.user.address.getUserAddresses.query() + expect(addresses.data.some((a) => a.id === addressId)).toBe(true) + }) + + it('cancels a fresh order as staff and the user sees it cancelled', async () => { + // The main order above is already delivered, which admin cancel refuses — + // so place a new one to cancel. + const placed = await user.user.order.placeOrder.mutate({ + selectedItems: [{ skuId, quantity: 1, slotId }], + addressId, + paymentMethod: 'cod', + }) + const freshOrderId = placed.data[0].id + + await admin.admin.order.cancelOrder.mutate({ + orderId: freshOrderId, + reason: `Cancelled by API test ${Date.now()}`, + }) + + const detail = await user.user.order.getOrderById.query({ + orderId: String(freshOrderId), + }) + expect(String(detail.orderStatus).toLowerCase()).toMatch(/cancel/) + }) + + it('rebalances the orders for a slot', async () => { + const res = await admin.admin.order.rebalanceSlots.mutate({ slotIds: [slotId] }) + expect(res).toBeTruthy() + }) +}) diff --git a/apps/backend/tests/api/admin-tags.test.ts b/apps/backend/tests/api/admin-tags.test.ts new file mode 100644 index 0000000..5c27961 --- /dev/null +++ b/apps/backend/tests/api/admin-tags.test.ts @@ -0,0 +1,66 @@ +/** + * Admin product-tag CRUD. + */ + +import { apiClient, uniqueSuffix } from '../helpers/api' +import { staffSession } from '../helpers/sessions' + +describe('admin product tag CRUD', () => { + let admin: ReturnType + let tagId = 0 + let tagName = '' + + beforeAll(async () => { + const staff = await staffSession() + admin = apiClient(staff.token) + }) + + it('creates a tag that getProductTags returns', async () => { + tagName = `API Tag ${uniqueSuffix()}` + + const created = await admin.admin.product.createProductTag.mutate({ + tagName, + tagDescription: 'Created by API tests', + isDashboardTag: true, + }) + tagId = (created as { tag: { id: number } }).tag.id + expect(tagId).toBeGreaterThan(0) + + const list = await admin.admin.product.getProductTags.query() + const tags = Array.isArray(list) + ? list + : ((list as { tags?: { id: number }[] }).tags ?? []) + expect(tags.some((t) => t.id === tagId)).toBe(true) + }) + + it('getProductTagById returns the tag', async () => { + const tag = (await admin.admin.product.getProductTagById.query({ + id: tagId, + })) as unknown as { tag?: { tagName: string }; tagName?: string } + const resolved = tag.tag ?? tag + expect(resolved.tagName).toBe(tagName) + }) + + it('updateProductTag renames the tag', async () => { + const renamed = `${tagName} renamed` + + await admin.admin.product.updateProductTag.mutate({ id: tagId, tagName: renamed }) + + const tag = (await admin.admin.product.getProductTagById.query({ + id: tagId, + })) as unknown as { tag?: { tagName: string }; tagName?: string } + const resolved = tag.tag ?? tag + expect(resolved.tagName).toBe(renamed) + }) + + it('deleteProductTag removes it', async () => { + const res = await admin.admin.product.deleteProductTag.mutate({ id: tagId }) + expect((res as { message?: string }).message ?? '').toMatch(/deleted/i) + + const list = await admin.admin.product.getProductTags.query() + const tags = Array.isArray(list) + ? list + : ((list as { tags?: { id: number }[] }).tags ?? []) + expect(tags.some((t) => t.id === tagId)).toBe(false) + }) +}) diff --git a/apps/backend/tests/api/admin-users.test.ts b/apps/backend/tests/api/admin-users.test.ts new file mode 100644 index 0000000..008572d --- /dev/null +++ b/apps/backend/tests/api/admin-users.test.ts @@ -0,0 +1,109 @@ +/** + * Admin user management: listing, details, incidents, notification audience, + * suspension and the staff list. + * + * Per-user endpoints are exercised against a freshly registered user rather than + * the shared test account: `getUserDetails` builds an unchunked `IN (...)` over + * the user's order ids and fails once that history is large (~110 orders), which + * the shared account has accumulated from repeated runs. (Documented finding.) + * + * sendNotification targets a user with no push token, so nothing is delivered. + */ + +import { apiClient, uniqueSuffix } from '../helpers/api' +import { registerThrowawayUser } from '../helpers/fixtures' +import { staffSession } from '../helpers/sessions' + +describe('admin user management', () => { + let admin: ReturnType + let staffId = 0 + let subjectUserId = 0 + + beforeAll(async () => { + const staff = await staffSession() + staffId = staff.staffId + admin = apiClient(staff.token) + + const subject = await registerThrowawayUser() + subjectUserId = subject.userId + }) + + it('getEssentials returns the dashboard counters', async () => { + const res = await admin.admin.user.getEssentials.query() + expect(typeof res.unresolvedComplaints).toBe('number') + }) + + it('getAllUsers returns users', async () => { + const res = await admin.admin.user.getAllUsers.query({ limit: 5 }) + expect(Array.isArray(res.users)).toBe(true) + }) + + it('getUserDetails returns the user', async () => { + const res = await admin.admin.user.getUserDetails.query({ userId: subjectUserId }) + const user = (res as { user?: { id: number }; id?: number }).user ?? res + expect((user as { id: number }).id).toBe(subjectUserId) + }) + + it('getStaff lists the staff (including the logged-in one)', async () => { + const res = (await admin.admin.staffUser.getStaff.query()) as + | { id: number }[] + | { staff?: { id: number }[] } + const list = Array.isArray(res) ? res : (res.staff ?? []) + + expect(list.some((s) => s.id === staffId)).toBe(true) + }) + + it('adds a user incident that getUserIncidents returns', async () => { + const comment = `API test incident ${uniqueSuffix()}` + + await admin.admin.user.addUserIncident.mutate({ + userId: subjectUserId, + adminComment: comment, + }) + + const res = await admin.admin.user.getUserIncidents.query({ userId: subjectUserId }) + expect(Array.isArray(res.incidents)).toBe(true) + expect( + res.incidents.some((i: { adminComment: string | null }) => i.adminComment === comment) + ).toBe(true) + }) + + it('getUsersForNotification returns a users array', async () => { + const res = await admin.admin.user.getUsersForNotification.query({ search: '' }) + expect(Array.isArray(res.users)).toBe(true) + }) + + it('suspends and unsuspends the user', async () => { + const suspendedFlag = async () => { + const res = (await admin.admin.user.getUserDetails.query({ + userId: subjectUserId, + })) as { isSuspended?: boolean; user?: { isSuspended?: boolean } } + return res.isSuspended ?? res.user?.isSuspended + } + + await admin.admin.user.updateUserSuspension.mutate({ + userId: subjectUserId, + isSuspended: true, + }) + + try { + expect(await suspendedFlag()).toBe(true) + } finally { + await admin.admin.user.updateUserSuspension.mutate({ + userId: subjectUserId, + isSuspended: false, + }) + } + + expect(await suspendedFlag()).toBe(false) + }) + + it('sendNotification tolerates a recipient with no push token', async () => { + const res = await admin.admin.user.sendNotification.mutate({ + userIds: [subjectUserId], + title: 'API test', + text: 'No-op recipient', + }) + expect(res).toBeTruthy() + }) +}) diff --git a/apps/backend/tests/api/admin-vendor-snippets.test.ts b/apps/backend/tests/api/admin-vendor-snippets.test.ts new file mode 100644 index 0000000..7a6b2d7 --- /dev/null +++ b/apps/backend/tests/api/admin-vendor-snippets.test.ts @@ -0,0 +1,70 @@ +/** + * Admin vendor-snippet CRUD (+ the orders-per-snippet report). + */ + +import { apiClient } from '../helpers/api' +import { createFutureSlot, createStoreWithSku } from '../helpers/fixtures' +import { staffSession } from '../helpers/sessions' + +describe('admin vendor snippet CRUD', () => { + let admin: ReturnType + let snippetId = 0 + let snippetCode = '' + let skuId = 0 + let slotId = 0 + + beforeAll(async () => { + const staff = await staffSession() + admin = apiClient(staff.token) + + const store = await createStoreWithSku() + const slot = await createFutureSlot([store.skuId]) + skuId = store.skuId + slotId = slot.slotId + }) + + it('creates a snippet that getAll returns', async () => { + const code = `APISNIP${Date.now().toString(36)}`.toUpperCase() + + // getOrdersBySnippet resolves orders through the snippet's slot, so link one. + const created = (await admin.admin.vendorSnippets.create.mutate({ + snippetCode: code, + slotId, + skuIds: [skuId], + isPermanent: true, + })) as { id: number; snippetCode: string } + + snippetId = created.id + snippetCode = created.snippetCode + expect(snippetId).toBeGreaterThan(0) + expect(snippetCode).toBeTruthy() + + const all = await admin.admin.vendorSnippets.getAll.query() + expect(all.some((s) => s.id === snippetId)).toBe(true) + }) + + it('updates the snippet', async () => { + await admin.admin.vendorSnippets.update.mutate({ + id: snippetId, + updates: { validTill: new Date(Date.now() + 24 * 3600_000).toISOString() }, + }) + + const all = await admin.admin.vendorSnippets.getAll.query() + expect(all.some((s) => s.id === snippetId)).toBe(true) + }) + + it('returns the orders for the snippet code', async () => { + const res = await admin.admin.vendorSnippets.getOrdersBySnippet.query({ + snippetCode, + }) + expect(res).toBeTruthy() + }) + + it('deletes the snippet', async () => { + const res = await admin.admin.vendorSnippets.delete.mutate({ id: snippetId }) + expect((res as { message?: string }).message ?? '').toMatch(/deleted/i) + + const all = await admin.admin.vendorSnippets.getAll.query() + expect(all.some((s) => s.id === snippetId)).toBe(false) + }) +}) diff --git a/apps/backend/tests/api/admin.test.ts b/apps/backend/tests/api/admin.test.ts new file mode 100644 index 0000000..664c949 --- /dev/null +++ b/apps/backend/tests/api/admin.test.ts @@ -0,0 +1,48 @@ +/** + * Admin (staff) surface: the created fixtures are visible to the admin APIs. + */ + +import { apiClient } from '../helpers/api' +import { + createFutureSlot, + createStoreWithSku, + type CreatedSlot, + type StoreWithSku, +} from '../helpers/fixtures' +import { staffSession } from '../helpers/sessions' + +describe('admin API surface', () => { + let store: StoreWithSku + let slot: CreatedSlot + + beforeAll(async () => { + store = await createStoreWithSku() + slot = await createFutureSlot([store.skuId]) + }) + + it('admin.product.getProducts includes the created SKU', async () => { + const staff = await staffSession() + const { products } = await apiClient(staff.token).admin.product.getProducts.query() + + const product = products.find((p) => p.id === store.productId) + expect(product).toBeDefined() + expect(product!.skus.some((sku) => sku.id === store.skuId)).toBe(true) + }) + + it('admin.slots.getAll returns slots (capped at 20) and the public list has ours', async () => { + const staff = await staffSession() + const result = await apiClient(staff.token).admin.slots.getAll.query() + + const list = Array.isArray(result) + ? result + : ((result as { slots?: { id: number }[] })?.slots ?? []) + + expect(list.length).toBeGreaterThan(0) + // getAll only returns the first 20 slots, and this suite leaves data behind, + // so membership is asserted against the unbounded public list instead. + expect(list.length).toBeLessThanOrEqual(20) + + const publicSlots = await apiClient().user.slots.getSlots.query() + expect(publicSlots.slots.some((s) => s.id === slot.slotId)).toBe(true) + }) +}) diff --git a/apps/backend/tests/api/auth.test.ts b/apps/backend/tests/api/auth.test.ts new file mode 100644 index 0000000..d0f1340 --- /dev/null +++ b/apps/backend/tests/api/auth.test.ts @@ -0,0 +1,34 @@ +/** + * Auth: log in with the credentials from tests/.env and use the issued tokens. + */ + +import { apiClient } from '../helpers/api' +import { staffSession, userSession } from '../helpers/sessions' + +describe('auth tokens', () => { + it('staff login returns a token and staff id', async () => { + const staff = await staffSession() + + expect(typeof staff.token).toBe('string') + expect(staff.token.length).toBeGreaterThan(10) + expect(staff.staffId).toBeGreaterThan(0) + }) + + it('user login returns a token and user id', async () => { + const user = await userSession() + + expect(typeof user.token).toBe('string') + expect(user.token.length).toBeGreaterThan(10) + expect(user.userId).toBeGreaterThan(0) + }) + + it('each token authenticates its own protected procedures', async () => { + const [staff, user] = await Promise.all([staffSession(), userSession()]) + + const products = await apiClient(staff.token).admin.product.getProducts.query() + expect(Array.isArray(products.products)).toBe(true) + + const addresses = await apiClient(user.token).user.address.getUserAddresses.query() + expect(Array.isArray(addresses.data)).toBe(true) + }) +}) diff --git a/apps/backend/tests/api/authorization-matrix.test.ts b/apps/backend/tests/api/authorization-matrix.test.ts new file mode 100644 index 0000000..649cf1f --- /dev/null +++ b/apps/backend/tests/api/authorization-matrix.test.ts @@ -0,0 +1,257 @@ +/** + * Authorization boundaries across the two token kinds. + * + * `protectedProcedure` only requires *some* identity (ctx.user OR ctx.staffUser), + * so every admin procedure that does not additionally check `ctx.staffUser` is + * reachable with a plain user token. The "pins: a user token CAN ..." tests + * document that gap; the staff-guarded ones assert the rejection. + * + * See tests/BUGS.md. + */ + +import { apiClient, captureError, uniqueSuffix } from '../helpers/api' +import { asNumber, getConstants, setConst } from '../helpers/consts' +import { + createFutureSlot, + createStoreWithSku, + registerThrowawayUser, + registerUserWithAddress, +} from '../helpers/fixtures' +import { staffSession } from '../helpers/sessions' + +describe('authorization matrix', () => { + let admin: ReturnType + let userToken = '' + let otherToken = '' + let addressId = 0 + let skuId = 0 + let slotId = 0 + let orderId = 0 + + beforeAll(async () => { + const staff = await staffSession() + admin = apiClient(staff.token) + + const store = await createStoreWithSku() + const slot = await createFutureSlot([store.skuId]) + const owner = await registerUserWithAddress() + const other = await registerUserWithAddress() + + userToken = owner.token + otherToken = other.token + addressId = owner.addressId + skuId = store.skuId + slotId = slot.slotId + + const placed = await apiClient(userToken).user.order.placeOrder.mutate({ + selectedItems: [{ skuId, quantity: 1, slotId }], + addressId, + paymentMethod: 'cod', + }) + orderId = placed.data[0].id + }) + + describe('admin procedures guarded only by protectedProcedure', () => { + it('pins: a user token CAN cancel an order via admin.order.cancelOrder', async () => { + const res = await apiClient(userToken).admin.order.cancelOrder.mutate({ + orderId, + reason: 'authorization matrix pin', + }) + + expect(res.success).toBe(true) + + const detail = await apiClient(userToken).user.order.getOrderById.query({ + orderId: String(orderId), + }) + expect(String(detail.orderStatus).toLowerCase()).toMatch(/cancel/) + }) + + it('pins: a user token CAN suspend a user via admin.user.updateUserSuspension', async () => { + const victim = await registerThrowawayUser() + + try { + const res = await apiClient(userToken).admin.user.updateUserSuspension.mutate({ + userId: victim.userId, + isSuspended: true, + }) + expect(res.success).toBe(true) + } finally { + await admin.admin.user.updateUserSuspension.mutate({ + userId: victim.userId, + isSuspended: false, + }) + } + }) + + it('pins: a user token CAN change config via admin.const.updateConstants', async () => { + const before = await getConstants() + const original = before.minOrderAmountForCoupon + + try { + await apiClient(userToken).admin.const.updateConstants.mutate({ + constants: [{ key: 'minOrderAmountForCoupon', value: 4321 }], + }) + expect(asNumber((await getConstants()).minOrderAmountForCoupon)).toBe(4321) + } finally { + if (original !== undefined) await setConst('minOrderAmountForCoupon', original) + } + }) + + it('pins: a user token CAN send a notification via admin.user.sendNotification', async () => { + const target = await registerThrowawayUser() + + const res = await apiClient(userToken).admin.user.sendNotification.mutate({ + userIds: [target.userId], + title: 'API test', + text: 'authorization matrix pin', + }) + expect(res).toBeTruthy() + }) + + it('pins: a user token CAN toggle stock via admin.product.toggleOutOfStock', async () => { + const target = await createStoreWithSku() + + try { + const res = await apiClient(userToken).admin.product.toggleOutOfStock.mutate({ + id: target.productId, + }) + expect(res.isOutOfStock).toBe(true) + } finally { + await admin.admin.product.toggleOutOfStock.mutate({ id: target.productId }) + } + }) + + it('pins: a user token CAN create a staff account (admin.staffUser.createStaffUser)', async () => { + const roles = await apiClient(userToken).admin.staffUser.getRoles.query() + const roleId = roles.roles[0]?.id + expect(roleId).toBeGreaterThan(0) + + const name = `matrix-staff-${uniqueSuffix()}` + + const res = await apiClient(userToken).admin.staffUser.createStaffUser.mutate({ + name, + password: 'Passw0rd!', + roleId, + }) + expect(res).toBeTruthy() + + // It really is a usable staff account. + const login = await apiClient().admin.staffUser.login.mutate({ + name, + password: 'Passw0rd!', + }) + expect(login.token).toBeTruthy() + }) + }) + + describe('staff-guarded admin procedures', () => { + it('rejects a user token on admin.slots.createSlot', async () => { + const error = await captureError(() => + apiClient(userToken).admin.slots.createSlot.mutate({ + deliveryTime: new Date(Date.now() + 3 * 3600_000).toISOString(), + freezeTime: new Date(Date.now() + 2 * 3600_000).toISOString(), + isActive: true, + skuIds: [], + }) + ) + expect(error.message).toMatch(/UNAUTHORIZED|Access denied/i) + }) + + it('rejects a user token on admin.coupon.create', async () => { + const error = await captureError(() => + apiClient(userToken).admin.coupon.create.mutate({ + couponCode: `AUTH${uniqueSuffix()}`.toUpperCase(), + flatDiscount: 5, + isApplyForAll: true, + }) + ) + expect(error.message).toMatch(/UNAUTHORIZED|unauthorized/i) + }) + }) + + describe('public admin.vendorSnippets procedures', () => { + it('serves getUpcomingSlots to anonymous callers', async () => { + const res = await apiClient().admin.vendorSnippets.getUpcomingSlots.query() + expect(res.success).toBe(true) + expect(Array.isArray(res.data)).toBe(true) + }) + + it('reaches updateOrderItemPackaging anonymously (domain error, not auth)', async () => { + const error = await captureError(() => + apiClient().admin.vendorSnippets.updateOrderItemPackaging.mutate({ + orderItemId: 99_999_999, + is_packaged: true, + }) + ) + expect(error.message).not.toMatch(/UNAUTHORIZED|Access denied/i) + }) + + it('reaches getOrdersBySnippet anonymously (domain error, not auth)', async () => { + const error = await captureError(() => + apiClient().admin.vendorSnippets.getOrdersBySnippet.query({ + snippetCode: `NO-SUCH-${uniqueSuffix()}`, + }) + ) + expect(error.message).not.toMatch(/UNAUTHORIZED|Access denied/i) + }) + }) + + describe('staff token on user endpoints', () => { + it('cannot placeOrder', async () => { + const staff = await staffSession() + const error = await captureError(() => + apiClient(staff.token).user.order.placeOrder.mutate({ + selectedItems: [{ skuId, quantity: 1, slotId }], + addressId, + paymentMethod: 'cod', + }) + ) + expect(error).toBeInstanceOf(Error) + }) + + it('cannot read user coupons', async () => { + const staff = await staffSession() + const error = await captureError(() => + apiClient(staff.token).user.coupon.getEligible.query() + ) + expect(error).toBeInstanceOf(Error) + }) + }) + + describe('cross-user order access', () => { + it('user B cannot read user A order (getOrderById)', async () => { + const error = await captureError(() => + apiClient(otherToken).user.order.getOrderById.query({ orderId: String(orderId) }) + ) + expect(error.message).toMatch(/order not found/i) + }) + + it('user B cannot add notes to user A order', async () => { + const error = await captureError(() => + apiClient(otherToken).user.order.updateUserNotes.mutate({ + id: orderId, + userNotes: 'nope', + }) + ) + expect(error.message).toMatch(/order not found/i) + }) + + it('pins: user B cancelling user A order is swallowed into a generic message', async () => { + const fresh = await registerUserWithAddress() + const placed = await apiClient(fresh.token).user.order.placeOrder.mutate({ + selectedItems: [{ skuId, quantity: 1, slotId }], + addressId: fresh.addressId, + paymentMethod: 'cod', + }) + + const error = await captureError(() => + apiClient(otherToken).user.order.cancelOrder.mutate({ + id: placed.data[0].id, + reason: 'not mine', + }) + ) + // The specific 404 is masked by the try/catch in cancelOrder. + expect(error.message).toMatch(/failed to cancel order/i) + }) + }) +}) diff --git a/apps/backend/tests/api/authorization.test.ts b/apps/backend/tests/api/authorization.test.ts new file mode 100644 index 0000000..d4f59b7 --- /dev/null +++ b/apps/backend/tests/api/authorization.test.ts @@ -0,0 +1,81 @@ +/** + * Authorization boundaries across the two token kinds, plus cross-user isolation. + * + * tRPC `protectedProcedure` only requires *some* identity (`ctx.user` OR + * `ctx.staffUser`), so procedures that don't additionally check `ctx.staffUser` + * are reachable with a user token. Case 4 documents that gap. + */ + +import { apiClient, captureError } from '../helpers/api' +import { + createFutureSlot, + createStoreWithSku, + ensureUserAddress, + registerThrowawayUser, +} from '../helpers/fixtures' +import { staffSession, userSession } from '../helpers/sessions' + +describe('authorization boundaries', () => { + let ownerToken = '' + let ownerAddressId = 0 + + beforeAll(async () => { + const store = await createStoreWithSku() + await createFutureSlot([store.skuId]) + const address = await ensureUserAddress() + const user = await userSession() + + ownerToken = user.token + ownerAddressId = address.addressId + }) + + it('rejects anonymous requests', async () => { + const error = await captureError(() => + apiClient().user.order.getOrders.query({ page: 1, pageSize: 5 }) + ) + + expect(error.message).toMatch(/UNAUTHORIZED|unauthorized/i) + }) + + it('a staff token cannot act as a user (no ctx.user)', async () => { + const staff = await staffSession() + + const error = await captureError(() => + apiClient(staff.token).user.order.getOrders.query({ page: 1, pageSize: 5 }) + ) + + expect(error).toBeInstanceOf(Error) + }) + + it('a user token cannot use staff-guarded admin writes', async () => { + const deliveryTime = new Date(Date.now() + 3 * 3600_000).toISOString() + const freezeTime = new Date(Date.now() + 2 * 3600_000).toISOString() + + const error = await captureError(() => + apiClient(ownerToken).admin.slots.createSlot.mutate({ + deliveryTime, + freezeTime, + isActive: true, + skuIds: [], + }) + ) + + expect(error.message).toMatch(/UNAUTHORIZED|Access denied|unauthorized/i) + }) + + it('DOCUMENTS: a user token CAN read admin.product.getProducts (no staff guard)', async () => { + // admin.product.getProducts is a bare protectedProcedure — no ctx.staffUser + // check — so any authenticated user can read the full admin product list. + const products = await apiClient(ownerToken).admin.product.getProducts.query() + + expect(Array.isArray(products.products)).toBe(true) + }) + + it("one user cannot see another user's addresses", async () => { + const other = await registerThrowawayUser() + + const addresses = await apiClient(other.token).user.address.getUserAddresses.query() + + expect(addresses.data.some((a) => a.id === ownerAddressId)).toBe(false) + }) +}) diff --git a/apps/backend/tests/api/cache-availability.test.ts b/apps/backend/tests/api/cache-availability.test.ts new file mode 100644 index 0000000..36a8bb6 --- /dev/null +++ b/apps/backend/tests/api/cache-availability.test.ts @@ -0,0 +1,59 @@ +/** + * availability.json — regenerated SYNCHRONOUSLY by + * admin.product.toggleOutOfStock (it calls createAvailabilityCacheFile()), + * so the file can be read immediately after the mutation. + */ + +import { apiClient } from '../helpers/api' +import { + availabilityCacheUrl, + essentialConsts, + fetchCacheJson, +} from '../helpers/cache' +import { createStoreWithSku, type StoreWithSku } from '../helpers/fixtures' +import { staffSession } from '../helpers/sessions' + +interface AvailabilityCache { + availability: { id: number; isOutOfStock: boolean }[] + count: number +} + +describe('availability.json cache', () => { + let store: StoreWithSku + + beforeAll(async () => { + store = await createStoreWithSku() + }) + + it('reflects an out-of-stock toggle for the new SKU', async () => { + const staff = await staffSession() + const admin = apiClient(staff.token) + + const before = await essentialConsts() + const toggled = await admin.admin.product.toggleOutOfStock.mutate({ + id: store.productId, + }) + expect(toggled.isOutOfStock).toBe(true) + + const after = await essentialConsts() + expect(after.availabilityVersionNum).toBeGreaterThan(before.availabilityVersionNum) + + const cache = await fetchCacheJson( + availabilityCacheUrl(after, after.availabilityVersionNum) + ) + + // availability.json is keyed by SKU id (not product id). + const entry = cache.availability.find((a) => a.id === store.skuId) + expect(entry).toBeDefined() + expect(entry!.isOutOfStock).toBe(true) + }) + + it('has a count matching the number of entries', async () => { + const current = await essentialConsts() + const cache = await fetchCacheJson( + availabilityCacheUrl(current, current.availabilityVersionNum) + ) + + expect(cache.count).toBe(cache.availability.length) + }) +}) diff --git a/apps/backend/tests/api/cache-consistency.test.ts b/apps/backend/tests/api/cache-consistency.test.ts new file mode 100644 index 0000000..a63931a --- /dev/null +++ b/apps/backend/tests/api/cache-consistency.test.ts @@ -0,0 +1,141 @@ +/** + * Cross-file cache invariants — the relationships the app relies on when it + * merges these files at runtime. + * + * Two of these can legitimately lag: `slots.json` is rewritten synchronously on + * a slot mutation while `products.json` only rebuilds ~30s later (CACHE_CREATOR), + * and `essential-consts.json` embeds the versions that were current when it was + * written. So the version-sensitive checks re-read the current versions and poll. + */ + +import { + availabilityCacheUrl, + essentialConsts, + essentialConstsCacheUrl, + fetchCacheJson, + pollUntil, + productsCacheUrl, + slotsCacheUrl, + storesCacheUrl, + storeDetailCacheUrl, +} from '../helpers/cache' + +interface ProductsCache { + products: { id: number }[] + count: number +} + +interface AvailabilityCache { + availability: { id: number }[] + count: number +} + +interface SlotsCache { + slots: { id: number; products: { id: number }[] }[] +} + +interface StoresCache { + stores: { id: number; productCount: number }[] +} + +interface StoreDetailCache { + store: { id: number } + products: unknown[] +} + +interface EssentialConstsCache { + cacheVersion: number + slotsVersionNum: number + availabilityVersionNum: number +} + +describe('cache consistency', () => { + it('every availability entry maps to a product in products.json', async () => { + // availability.json is bumped synchronously by stock toggles, so it can lead + // products.json (which waits for the rebuild) — poll for them to converge. + await pollUntil( + 'every availability id to appear in products.json', + async () => { + const consts = await essentialConsts() + const [products, availability] = await Promise.all([ + fetchCacheJson(productsCacheUrl(consts, consts.cacheVersion)), + fetchCacheJson( + availabilityCacheUrl(consts, consts.availabilityVersionNum) + ), + ]) + + const productIds = new Set(products.products.map((p) => p.id)) + const orphans = availability.availability + .map((a) => a.id) + .filter((id) => !productIds.has(id)) + + return orphans.length === 0 ? [] : null + }, + { timeoutMs: 120_000, intervalMs: 5_000 } + ) + }) + + it('availability count matches the number of entries', async () => { + const consts = await essentialConsts() + + const availability = await fetchCacheJson( + availabilityCacheUrl(consts, consts.availabilityVersionNum) + ) + + expect(availability.count).toBe(availability.availability.length) + }) + + it('every product referenced by slots.json exists in products.json', async () => { + // slots.json is synchronous; products.json catches up via the rebuild, so poll. + await pollUntil( + 'every product id referenced by slots.json to appear in products.json', + async () => { + const consts = await essentialConsts() + const [products, slots] = await Promise.all([ + fetchCacheJson(productsCacheUrl(consts, consts.cacheVersion)), + fetchCacheJson(slotsCacheUrl(consts, consts.slotsVersionNum)), + ]) + + const productIds = new Set(products.products.map((p) => p.id)) + const referenced = new Set() + slots.slots.forEach((slot) => slot.products.forEach((p) => referenced.add(p.id))) + + const orphans = [...referenced].filter((id) => !productIds.has(id)) + return orphans.length === 0 ? [] : null + }, + { timeoutMs: 120_000, intervalMs: 5_000 } + ) + }) + + it('essential-consts.json is self-consistent with the version in its path', async () => { + const consts = await essentialConsts() + + const cache = await fetchCacheJson( + essentialConstsCacheUrl(consts, consts.cacheVersion) + ) + + // The file lives at v-, so it must report that same version. + expect(cache.cacheVersion).toBe(consts.cacheVersion) + // The embedded slots/availability versions are a snapshot at write time and + // may lag the live ones (slots are bumped independently) — assert shape only. + expect(typeof cache.slotsVersionNum).toBe('number') + expect(typeof cache.availabilityVersionNum).toBe('number') + }) + + it('stores.json productCount matches each store detail file', async () => { + const consts = await essentialConsts() + + const stores = await fetchCacheJson( + storesCacheUrl(consts, consts.cacheVersion) + ) + expect(stores.stores.length).toBeGreaterThan(0) + + const store = stores.stores[0] + const detail = await fetchCacheJson( + storeDetailCacheUrl(consts, consts.cacheVersion, store.id) + ) + + expect(detail.store.id).toBe(store.id) + expect(detail.products).toHaveLength(store.productCount) + }) +}) diff --git a/apps/backend/tests/api/cache-invalidation.test.ts b/apps/backend/tests/api/cache-invalidation.test.ts new file mode 100644 index 0000000..50aace9 --- /dev/null +++ b/apps/backend/tests/api/cache-invalidation.test.ts @@ -0,0 +1,109 @@ +/** + * Cache regeneration for the writes the existing cache suites do not cover: + * price updates (availability, synchronous), slot updates (slots.json, + * synchronous) and banner creation (products.json, eventual via CACHE_CREATOR). + * + * The write paths differ: toggleOutOfStock/updateProductPrices/slot mutations + * rewrite their cache file inline, while product/store/banner/tag changes go + * through scheduleStoreInitialization (a Durable Object that rebuilds ~30s + * later). See apps/backend/src/lib/cloud_cache.ts. + */ + +import { apiClient } from '../helpers/api' +import { + availabilityCacheUrl, + essentialConsts, + fetchCacheJson, + pollUntil, + slotsCacheUrl, + type EssentialConsts, +} from '../helpers/cache' +import { createFutureSlot, createStoreWithSku } from '../helpers/fixtures' +import { staffSession } from '../helpers/sessions' + +interface AvailabilityCache { + availability: { id: number; price: number }[] + count: number +} + +interface SlotsCache { + slots: { id: number; deliveryTime: string; freezeTime: string }[] +} + +describe('cache invalidation', () => { + let admin: ReturnType + + beforeAll(async () => { + const staff = await staffSession() + admin = apiClient(staff.token) + }) + + it('refreshes availability.json synchronously on updateProductPrices', async () => { + const store = await createStoreWithSku({ price: 199 }) + + const before = await essentialConsts() + await admin.admin.product.updateProductPrices.mutate({ + updates: [{ productId: store.productId, price: 250 }], + }) + const after = await essentialConsts() + + expect(after.availabilityVersionNum).toBeGreaterThan(before.availabilityVersionNum) + + const cache = await fetchCacheJson( + availabilityCacheUrl(after, after.availabilityVersionNum) + ) + // availability.json is keyed by SKU id. + const entry = cache.availability.find((a) => a.id === store.skuId) + expect(entry).toBeDefined() + expect(entry!.price).toBe(250) + }) + + it('refreshes slots.json synchronously on updateSlot', async () => { + const store = await createStoreWithSku() + const slot = await createFutureSlot([store.skuId]) + + const newDelivery = new Date(Date.now() + 9 * 3600_000).toISOString() + const newFreeze = new Date(Date.now() + 8 * 3600_000).toISOString() + + const before = await essentialConsts() + await admin.admin.slots.updateSlot.mutate({ + id: slot.slotId, + deliveryTime: newDelivery, + freezeTime: newFreeze, + isActive: true, + skuIds: [store.skuId], + }) + const after = await essentialConsts() + + expect(after.slotsVersionNum).toBeGreaterThan(before.slotsVersionNum) + + const cache = await fetchCacheJson( + slotsCacheUrl(after, after.slotsVersionNum) + ) + const found = cache.slots.find((s) => s.id === slot.slotId) + expect(found).toBeDefined() + expect(new Date(found!.deliveryTime).toISOString()).toBe(newDelivery) + }) + + it('rebuilds the versioned cache eventually after creating a banner', async () => { + const before = await essentialConsts() + + await admin.admin.banner.createBanner.mutate({ + name: `API banner ${Date.now()}`, + imageUrl: 'https://assets.freshyo.in/api-cache/test-banner.png', + }) + + const advanced = await pollUntil( + `cacheVersion to advance past ${before.cacheVersion} after a banner create`, + async () => { + const now = await essentialConsts() + return now.cacheVersion > before.cacheVersion ? now : null + }, + // The CACHE_CREATOR Durable Object rebuilds ~30s after the write, but can + // lag when the suite has queued many writes — mirror cache-products' 180s. + { timeoutMs: 180_000, intervalMs: 5_000 } + ) + + expect(advanced.cacheVersion).toBeGreaterThan(before.cacheVersion) + }, 210_000) +}) diff --git a/apps/backend/tests/api/cache-products.test.ts b/apps/backend/tests/api/cache-products.test.ts new file mode 100644 index 0000000..36ddada --- /dev/null +++ b/apps/backend/tests/api/cache-products.test.ts @@ -0,0 +1,88 @@ +/** + * products.json + stores/.json — EVENTUAL cache. + * + * Product/store/banner changes go through the CACHE_CREATOR Durable Object, + * whose alarm fires ~30s later and then rebuilds the cache fire-and-forget. + * So these tests poll for the cacheVersion to advance before reading. + */ + +import { + essentialConsts, + fetchCacheJson, + pollUntil, + productsCacheUrl, + storeDetailCacheUrl, + type EssentialConsts, +} from '../helpers/cache' +import { createStoreWithSku, type StoreWithSku } from '../helpers/fixtures' + +interface ProductsCache { + products: { id: number; skus?: { id: number }[] }[] + count: number +} + +interface StoreDetailCache { + store: { id: number } + products: unknown[] +} + +describe('products.json + stores/.json cache (eventual)', () => { + let store: StoreWithSku + let consts: EssentialConsts + + beforeAll(async () => { + const before = await essentialConsts() + store = await createStoreWithSku() + + consts = await pollUntil( + `cacheVersion to advance past ${before.cacheVersion} after creating a product`, + async () => { + const now = await essentialConsts() + return now.cacheVersion > before.cacheVersion ? now : null + }, + { timeoutMs: 180_000, intervalMs: 5_000 } + ) + }, 200_000) + + it('lists the new product in products.json', async () => { + // The rebuild PUTs the files in parallel, so poll for this one to land. + const cache = await pollUntil( + `products.json at v-${consts.cacheVersion} to include product ${store.productId}`, + async () => { + try { + const body = await fetchCacheJson( + productsCacheUrl(consts, consts.cacheVersion) + ) + return body.products.some((p) => p.id === store.productId) ? body : null + } catch { + return null + } + }, + { timeoutMs: 60_000, intervalMs: 3_000 } + ) + + expect(cache.products.some((p) => p.id === store.productId)).toBe(true) + }) + + it('writes stores/.json for the new store', async () => { + // The version keeps advancing with every admin write, and the parallel rebuild + // may land the per-store file in a *later* version than the one captured in + // beforeAll — so resolve the current version on each attempt instead of pinning it. + const cache = await pollUntil( + `stores/${store.storeId}.json to appear`, + async () => { + try { + const now = await essentialConsts() + return await fetchCacheJson( + storeDetailCacheUrl(now, now.cacheVersion, store.storeId) + ) + } catch { + return null + } + }, + { timeoutMs: 120_000, intervalMs: 5_000 } + ) + + expect(cache.store?.id).toBe(store.storeId) + }) +}) diff --git a/apps/backend/tests/api/cache-slots.test.ts b/apps/backend/tests/api/cache-slots.test.ts new file mode 100644 index 0000000..33f4930 --- /dev/null +++ b/apps/backend/tests/api/cache-slots.test.ts @@ -0,0 +1,59 @@ +/** + * slots.json — regenerated SYNCHRONOUSLY inside admin.slots.createSlot + * (it awaits createSlotsCacheFile()), so the file can be read immediately. + */ + +import { + essentialConsts, + fetchCacheJson, + slotsCacheUrl, + type EssentialConsts, +} from '../helpers/cache' +import { createFutureSlot, createStoreWithSku } from '../helpers/fixtures' + +interface SlotsCache { + slots: { id: number; deliveryTime: string; freezeTime: string }[] + count: number +} + +describe('slots.json cache', () => { + let skuId = 0 + let consts: EssentialConsts + + beforeAll(async () => { + const store = await createStoreWithSku() + skuId = store.skuId + consts = await essentialConsts() + }) + + it('exposes a numeric slotsVersionNum', () => { + expect(typeof consts.slotsVersionNum).toBe('number') + expect(consts.slotsVersionNum).toBeGreaterThan(0) + }) + + it('contains a newly created slot', async () => { + const slot = await createFutureSlot([skuId]) + const current = await essentialConsts() + + const cache = await fetchCacheJson( + slotsCacheUrl(current, current.slotsVersionNum) + ) + + const found = cache.slots.find((s) => s.id === slot.slotId) + expect(found).toBeDefined() + expect(new Date(found!.deliveryTime).toISOString()).toBe(slot.deliveryTime) + }) + + it('bumps the version and rewrites the file for a second slot', async () => { + const before = await essentialConsts() + const slot = await createFutureSlot([skuId], { deliveryInHours: 5, freezeInHours: 4 }) + const after = await essentialConsts() + + expect(after.slotsVersionNum).toBeGreaterThan(before.slotsVersionNum) + + const cache = await fetchCacheJson( + slotsCacheUrl(after, after.slotsVersionNum) + ) + expect(cache.slots.some((s) => s.id === slot.slotId)).toBe(true) + }) +}) diff --git a/apps/backend/tests/api/coupon-math.test.ts b/apps/backend/tests/api/coupon-math.test.ts new file mode 100644 index 0000000..5e74de8 --- /dev/null +++ b/apps/backend/tests/api/coupon-math.test.ts @@ -0,0 +1,246 @@ +/** + * Coupon discount maths at placeOrder time. + * + * The discount is computed server-side in applyDiscountToOrder + * (packages/db_helper_sqlite/src/user-apis/order.ts) and persisted to + * orders.totalAmount. These tests read the order row returned by placeOrder + * (totalAmount is the stored string). + * + * KNOWN BUGS are pinned here (negative totals, percentage taken on the + * delivery-inclusive base, no rounding). See tests/BUGS.md. + */ + +import { apiClient, captureError, uniqueSuffix } from '../helpers/api' +import { asNumber, getConstants } from '../helpers/consts' +import { + createFutureSlot, + createStoreWithSku, + registerUserWithAddress, +} from '../helpers/fixtures' +import { staffSession } from '../helpers/sessions' + +type OrderRow = { id: number; totalAmount: string; slotId: number | null } +type Placed = { success: boolean; data: OrderRow[] } + +const couponCode = () => + `CM${uniqueSuffix()}`.toUpperCase().replace(/[^A-Z0-9]/g, '').slice(0, 20) + +/** price 5 is used so quantities map straight onto the totals below. */ +const UNIT_PRICE = 5 + +describe('coupon discount maths', () => { + let admin: ReturnType + let userToken = '' + let addressId = 0 + let skuId = 0 + let slotId = 0 + let secondSlotId = 0 + let roundingSkuId = 0 + let roundingSlotId = 0 + let deliveryCharge = 0 + let minOrderValue = 0 + + beforeAll(async () => { + const staff = await staffSession() + admin = apiClient(staff.token) + + const store = await createStoreWithSku({ price: UNIT_PRICE }) + const slot = await createFutureSlot([store.skuId]) + const second = await createFutureSlot([store.skuId], { + deliveryInHours: 6, + freezeInHours: 5, + }) + + // A second store at 333 so 3 units = 999 exercises float maths. + const rounding = await createStoreWithSku({ price: 333 }) + const roundingSlot = await createFutureSlot([rounding.skuId]) + + const buyer = await registerUserWithAddress() + const consts = await getConstants() + + userToken = buyer.token + addressId = buyer.addressId + skuId = store.skuId + slotId = slot.slotId + secondSlotId = second.slotId + roundingSkuId = rounding.skuId + roundingSlotId = roundingSlot.slotId + deliveryCharge = asNumber(consts.deliveryCharge) + minOrderValue = asNumber(consts.minRegularOrderValue) + + // The totals below assume these thresholds. + expect(minOrderValue).toBeGreaterThan(UNIT_PRICE) + expect(minOrderValue).toBeLessThan(500) + }) + + const createCoupon = async (over: Record = {}) => { + const created = await admin.admin.coupon.create.mutate({ + couponCode: couponCode(), + minOrder: 1, + isApplyForAll: true, + validTill: new Date(Date.now() + 24 * 3600_000).toISOString(), + ...over, + }) + return created[0] + } + + const place = ( + items: { skuId: number; quantity: number; slotId: number | null }[], + couponId?: number + ): Promise => + apiClient(userToken).user.order.placeOrder.mutate({ + selectedItems: items, + addressId, + paymentMethod: 'cod', + ...(couponId ? { couponId } : {}), + }) as unknown as Promise + + const total = (res: Placed) => parseFloat(res.data[0].totalAmount) + + it('applies an uncapped percentage discount', async () => { + const coupon = await createCoupon({ discountPercent: 10 }) + + const res = await place([{ skuId, quantity: 100, slotId }], coupon.id) + + // 500 >= minOrderValue -> free delivery; 10% of 500 = 50. + expect(total(res)).toBe(450) + }) + + it('caps a percentage discount at maxValue', async () => { + const coupon = await createCoupon({ discountPercent: 50, maxValue: 100 }) + + const res = await place([{ skuId, quantity: 100, slotId }], coupon.id) + + // min(50% of 500 = 250, maxValue 100) = 100. + expect(total(res)).toBe(400) + }) + + it('caps a flat discount at maxValue', async () => { + const coupon = await createCoupon({ flatDiscount: 200, maxValue: 30 }) + + const res = await place([{ skuId, quantity: 100, slotId }], coupon.id) + + // min(flat 200, maxValue 30) = 30. + expect(total(res)).toBe(470) + }) + + /** + * KNOWN BUG: the percentage branch caps at `maxValue * proportion` or + * Infinity and never at orderTotal, so a >=100% coupon drives totalAmount to + * zero or negative. The flat branch does cap at the order total. + */ + it('pins: a 150% coupon produces a negative total', async () => { + const coupon = await createCoupon({ discountPercent: 150 }) + + const res = await place([{ skuId, quantity: 100, slotId }], coupon.id) + + // 500 - 150% (750) = -250. + expect(total(res)).toBeLessThan(0) + }) + + it('pins: a 100% coupon zeroes the order without going negative', async () => { + const coupon = await createCoupon({ discountPercent: 100 }) + + const res = await place([{ skuId, quantity: 100, slotId }], coupon.id) + + expect(total(res)).toBe(0) + }) + + it('accepts a cart exactly at the coupon minOrder and rejects below it', async () => { + const coupon = await createCoupon({ flatDiscount: 10, minOrder: 500 }) + + // 100 * 5 = 500 == minOrder -> the guard is `minOrder > total`, so it passes. + const ok = await place([{ skuId, quantity: 100, slotId }], coupon.id) + expect(ok.success).toBe(true) + expect(total(ok)).toBe(490) + + // 99 * 5 = 495 < 500 -> rejected. + const error = await captureError(() => + place([{ skuId, quantity: 99, slotId }], coupon.id) + ) + expect(error.message).toMatch(/minimum requirement/i) + }) + + /** + * KNOWN BUG: the first sub-order of every placeOrder discounts + * `subOrderTotal + deliveryCharge` (the delivery-inclusive total), so a + * percentage coupon also discounts the delivery fee. It should apply to the + * goods subtotal only. + */ + it('pins: a percentage coupon discounts the delivery fee too', async () => { + const coupon = await createCoupon({ discountPercent: 10 }) + + // 1 * 5 = 5 < minOrderValue -> delivery charge applies; first sub-order + // total = 5 + deliveryCharge. + const res = await place([{ skuId, quantity: 1, slotId }], coupon.id) + + expect(total(res)).toBeCloseTo((UNIT_PRICE + deliveryCharge) * 0.9, 6) + }) + + it('splits a flat discount across slots by orderGroupProportion', async () => { + const coupon = await createCoupon({ flatDiscount: 20 }) + + const res = await place( + [ + { skuId, quantity: 40, slotId }, // 200 + { skuId, quantity: 60, slotId: secondSlotId }, // 300 + ], + coupon.id + ) + + // 500 >= minOrderValue -> no delivery, so both sub-orders are the plain + // subtotal. Proportions 0.4 / 0.6 -> discounts 8 / 12. + const totals = res.data + .map((order) => parseFloat(order.totalAmount)) + .sort((a, b) => a - b) + + expect(totals).toEqual([192, 288]) + expect(totals[0] + totals[1]).toBe(480) + }) + + /** + * KNOWN BUG: money is never rounded, so a percentage discount leaves float + * noise in orders.totalAmount (here 849.15 is not representable exactly). + */ + it('pins: amounts are stored unrounded', async () => { + const coupon = await createCoupon({ discountPercent: 15 }) + + const res = await place( + [{ skuId: roundingSkuId, quantity: 3, slotId: roundingSlotId }], + coupon.id + ) + + // 999 - 15%. Assert the exact JS string, i.e. no rounding was applied. + expect(res.data[0].totalAmount).toBe(String(999 - (999 * 15) / 100)) + }) + + it('enforces maxLimitForUser', async () => { + const coupon = await createCoupon({ flatDiscount: 5, maxLimitForUser: 1 }) + + await place([{ skuId, quantity: 100, slotId }], coupon.id) + + const error = await captureError(() => + place([{ skuId, quantity: 100, slotId }], coupon.id) + ) + expect(error.message).toMatch(/usage limit/i) + }) + + it('rejects an expired coupon at order time', async () => { + const coupon = await createCoupon({ + flatDiscount: 5, + validTill: new Date(Date.now() - 3600_000).toISOString(), + }) + + const error = await captureError(() => + place([{ skuId, quantity: 100, slotId }], coupon.id) + ) + expect(error.message).toMatch(/expired/i) + }) + + it('rejects an unknown coupon id', async () => { + const error = await captureError(() => + place([{ skuId, quantity: 100, slotId }], 99_999_999) + ) + expect(error.message).toMatch(/invalid coupon/i) + }) +}) diff --git a/apps/backend/tests/api/coupon-ux.test.ts b/apps/backend/tests/api/coupon-ux.test.ts new file mode 100644 index 0000000..4b7476d --- /dev/null +++ b/apps/backend/tests/api/coupon-ux.test.ts @@ -0,0 +1,251 @@ +/** + * Coupon UX surfaces: reserved-code redemption, getMyCoupons, the admin create + * guards and the user-scoping bypass at placeOrder. + * + * See tests/BUGS.md for the pinned defects. + */ + +import { apiClient, captureError, uniqueSuffix } from '../helpers/api' +import { + createFutureSlot, + createStoreWithSku, + registerUserWithAddress, +} from '../helpers/fixtures' +import { staffSession } from '../helpers/sessions' + +const code = (prefix = 'UX') => + `${prefix}${uniqueSuffix()}`.toUpperCase().replace(/[^A-Z0-9]/g, '').slice(0, 20) + +const future = () => new Date(Date.now() + 24 * 3600_000).toISOString() + +describe('coupon UX', () => { + let admin: ReturnType + let userA: { token: string; userId: number; addressId: number } + let userB: { token: string; userId: number; addressId: number } + let skuId = 0 + let slotId = 0 + + beforeAll(async () => { + const staff = await staffSession() + admin = apiClient(staff.token) + + const store = await createStoreWithSku({ price: 100 }) + const slot = await createFutureSlot([store.skuId]) + userA = await registerUserWithAddress() + userB = await registerUserWithAddress() + skuId = store.skuId + slotId = slot.slotId + }) + + const createCoupon = async (over: Record = {}) => { + const created = await admin.admin.coupon.create.mutate({ + couponCode: code(), + minOrder: 1, + isApplyForAll: true, + validTill: future(), + ...over, + }) + return created[0] + } + + const createReserved = async (over: Record = {}) => { + const reservedCode = code('RSV') + const created = await admin.admin.coupon.createReservedCoupon.mutate({ + couponCode: reservedCode, + flatDiscount: 5, + minOrder: 1, + validTill: future(), + ...over, + }) + return { secretCode: reservedCode, coupon: created[0] } + } + + const redeem = (token: string, secretCode: string) => + apiClient(token).user.coupon.redeemReservedCoupon.mutate({ secretCode }) + + const place = ( + user: { token: string; addressId: number }, + couponId?: number, + quantity = 1 + ) => + apiClient(user.token).user.order.placeOrder.mutate({ + selectedItems: [{ skuId, quantity, slotId }], + addressId: user.addressId, + paymentMethod: 'cod', + ...(couponId ? { couponId } : {}), + }) + + describe('redeemReservedCoupon', () => { + it('redeems a reserved code for the user', async () => { + const { secretCode } = await createReserved() + + const res = await redeem(userA.token, secretCode) + + expect(res.success).toBe(true) + expect(res.coupon).toBeTruthy() + }) + + it('rejects a second redemption by the same user', async () => { + const { secretCode } = await createReserved() + await redeem(userA.token, secretCode) + + const error = await captureError(() => redeem(userA.token, secretCode)) + expect(error.message).toMatch(/already redeemed/i) + }) + + it('rejects redeeming an unknown code', async () => { + const error = await captureError(() => redeem(userA.token, code('NOPE'))) + expect(error.message).toMatch(/invalid|redeemed/i) + }) + + /** + * KNOWN GAP: redemption does not check validTill (only the placeOrder + * path does), so an already-expired reserved code still redeems. + */ + it('pins: an expired reserved code still redeems', async () => { + const { secretCode } = await createReserved({ + validTill: new Date(Date.now() - 3600_000).toISOString(), + }) + + const res = await redeem(userA.token, secretCode) + + expect(res.success).toBe(true) + }) + + it('rejects an isFirstOrderOnly reserved code for a user with orders', async () => { + await place(userB) // give B an order + + const { secretCode } = await createReserved({ isFirstOrderOnly: true }) + + const error = await captureError(() => redeem(userB.token, secretCode)) + expect(error.message).toMatch(/first order only/i) + }) + }) + + describe('getMyCoupons', () => { + it('categorises a user coupon as personal and an apply-for-all as general', async () => { + await createCoupon({ + isUserBased: true, + isApplyForAll: false, + applicableUsers: [userA.userId], + flatDiscount: 5, + }) + await createCoupon({ isApplyForAll: true, flatDiscount: 5 }) + + const res = await apiClient(userA.token).user.coupon.getMyCoupons.query() + + expect(Array.isArray(res.data.personal)).toBe(true) + expect(Array.isArray(res.data.general)).toBe(true) + expect(res.data.personal.length).toBeGreaterThan(0) + expect(res.data.general.length).toBeGreaterThan(0) + }) + + it('marks a coupon isUsedUp once maxLimitForUser is reached', async () => { + const coupon = await createCoupon({ + isUserBased: true, + isApplyForAll: false, + applicableUsers: [userA.userId], + flatDiscount: 5, + maxLimitForUser: 1, + }) + + await place(userA, coupon.id) + + const res = await apiClient(userA.token).user.coupon.getMyCoupons.query() + const found = res.data.personal.find((c: { id: number }) => c.id === coupon.id) + + expect(found).toBeDefined() + expect(found!.isUsedUp).toBe(true) + expect(found!.usageCount).toBe(1) + }) + }) + + describe('admin coupon create guards', () => { + it('rejects both discount types', async () => { + const error = await captureError(() => + admin.admin.coupon.create.mutate({ + couponCode: code(), + discountPercent: 10, + flatDiscount: 5, + isApplyForAll: true, + }) + ) + expect(error.message).toMatch(/discountPercent or flatDiscount/i) + }) + + it('rejects a user-based coupon without applicableUsers', async () => { + const error = await captureError(() => + admin.admin.coupon.create.mutate({ + couponCode: code(), + flatDiscount: 5, + isUserBased: true, + }) + ) + expect(error.message).toMatch(/applicableUsers is required/i) + }) + + it('rejects a coupon that is both user-based and apply-for-all', async () => { + const error = await captureError(() => + admin.admin.coupon.create.mutate({ + couponCode: code(), + flatDiscount: 5, + isUserBased: true, + isApplyForAll: true, + applicableUsers: [userA.userId], + }) + ) + expect(error.message).toMatch(/both user-based and apply for all/i) + }) + + it('rejects a duplicate coupon code', async () => { + const duplicate = code() + await admin.admin.coupon.create.mutate({ + couponCode: duplicate, + flatDiscount: 5, + isApplyForAll: true, + }) + + const error = await captureError(() => + admin.admin.coupon.create.mutate({ + couponCode: duplicate, + flatDiscount: 5, + isApplyForAll: true, + }) + ) + expect(error.message).toMatch(/already exists/i) + }) + + it('rejects unknown applicableUsers', async () => { + const error = await captureError(() => + admin.admin.coupon.create.mutate({ + couponCode: code(), + flatDiscount: 5, + isUserBased: true, + applicableUsers: [99_999_999], + }) + ) + expect(error.message).toMatch(/not found/i) + }) + }) + + /** + * KNOWN BUG: placeOrder's validateAndGetCoupon never checks isUserBased / + * applicableUsers, so user B can spend a coupon that was issued to user A. + * Only the display endpoints filter by applicability. See tests/BUGS.md. + */ + it('pins: user B can apply a coupon issued to user A', async () => { + const coupon = await createCoupon({ + isUserBased: true, + isApplyForAll: false, + applicableUsers: [userA.userId], + flatDiscount: 5, + }) + + // 3 * 100 = 300 >= minOrderValue -> no delivery, so this isolates the + // scoping bypass: 300 - 5 = 295. + const res = await place(userB, coupon.id, 3) + + expect(res.success).toBe(true) + expect(parseFloat(res.data[0].totalAmount)).toBe(295) + }) +}) diff --git a/apps/backend/tests/api/coupons.test.ts b/apps/backend/tests/api/coupons.test.ts new file mode 100644 index 0000000..63cd28f --- /dev/null +++ b/apps/backend/tests/api/coupons.test.ts @@ -0,0 +1,126 @@ +/** + * Coupon CRUD as staff, then the user end: the coupon must show up as eligible + * and actually reduce an order's amount when passed to placeOrder. + * + * Flow (ordered within the file): + * create -> getById -> update -> eligible for the user -> apply to an order + * -> delete invalidates it (no longer eligible). + */ + +import { apiClient, captureError, uniqueSuffix } from '../helpers/api' +import { createFutureSlot, createStoreWithSku, ensureUserAddress } from '../helpers/fixtures' +import { staffSession, userSession } from '../helpers/sessions' + +const FLAT_DISCOUNT = 2 + +describe('coupon CRUD + apply', () => { + let admin: ReturnType + let user: ReturnType + let code = '' + let couponId = 0 + let skuId = 0 + let slotId = 0 + let addressId = 0 + + beforeAll(async () => { + const staff = await staffSession() + admin = apiClient(staff.token) + + const store = await createStoreWithSku() + const slot = await createFutureSlot([store.skuId]) + const address = await ensureUserAddress() + const session = await userSession() + user = apiClient(session.token) + + skuId = store.skuId + slotId = slot.slotId + addressId = address.addressId + + code = `APITEST${uniqueSuffix()}`.toUpperCase().replace(/[^A-Z0-9]/g, '').slice(0, 20) + + const created = await admin.admin.coupon.create.mutate({ + couponCode: code, + flatDiscount: FLAT_DISCOUNT, + minOrder: 1, + maxLimitForUser: 3, + isApplyForAll: true, + validTill: new Date(Date.now() + 24 * 3600_000).toISOString(), + }) + + couponId = created[0].id + }) + + it('creates the coupon and getById returns it', async () => { + expect(couponId).toBeGreaterThan(0) + + const coupon = await admin.admin.coupon.getById.query({ id: couponId }) + expect(coupon.couponCode).toBe(code) + expect(Number(coupon.flatDiscount)).toBe(FLAT_DISCOUNT) + }) + + it('updates the coupon', async () => { + await admin.admin.coupon.update.mutate({ + id: couponId, + updates: { maxLimitForUser: 7 }, + }) + + const coupon = await admin.admin.coupon.getById.query({ id: couponId }) + expect(Number(coupon.maxLimitForUser)).toBe(7) + }) + + it('is eligible for the user', async () => { + const eligible = await user.user.coupon.getEligible.query() + + const match = eligible.data.find((c) => c.id === couponId) + expect(match).toBeDefined() + expect(match!.couponCode).toBe(code) + }) + + it('reduces the order amount when the user applies it', async () => { + const placed = await user.user.order.placeOrder.mutate({ + selectedItems: [{ skuId, quantity: 1, slotId }], + addressId, + paymentMethod: 'cod', + couponId, + }) + + const orderId = placed.data[0].id + const detail = await user.user.order.getOrderById.query({ orderId: String(orderId) }) + + expect(detail.couponCode).toBe(code) + expect(Number(detail.discountAmount)).toBe(FLAT_DISCOUNT) + }) + + it('deleting the coupon invalidates it for the user', async () => { + await admin.admin.coupon.delete.mutate({ id: couponId }) + + const eligible = await user.user.coupon.getEligible.query() + expect(eligible.data.some((c) => c.id === couponId)).toBe(false) + }) + + it('rejects applying the invalidated coupon to an order', async () => { + const error = await captureError(() => + user.user.order.placeOrder.mutate({ + selectedItems: [{ skuId, quantity: 1, slotId }], + addressId, + paymentMethod: 'cod', + couponId, + }) + ) + + expect(error.message).toMatch(/invalid|expired|no longer valid/i) + }) + + it('rejects a coupon with both discount types', async () => { + const error = await captureError(() => + admin.admin.coupon.create.mutate({ + couponCode: `BOTH${uniqueSuffix()}`.toUpperCase(), + discountPercent: 10, + flatDiscount: 5, + isApplyForAll: true, + }) + ) + + expect(error.message).toMatch(/discountPercent or flatDiscount/i) + }) +}) diff --git a/apps/backend/tests/api/health.test.ts b/apps/backend/tests/api/health.test.ts new file mode 100644 index 0000000..fa30ea9 --- /dev/null +++ b/apps/backend/tests/api/health.test.ts @@ -0,0 +1,32 @@ +/** + * Connectivity + config. No auth required. + */ + +import { apiClient, assertServerUp, health } from '../helpers/api' + +describe('health & config', () => { + beforeAll(async () => { + await assertServerUp() + }) + + it('GET /api/health responds 200', async () => { + const res = await health() + expect(res.status).toBe(200) + expect(res.ok).toBe(true) + }) + + it('common.healthCheck resolves over tRPC', async () => { + const result = await apiClient().common.healthCheck.query() + expect(result).toBeTruthy() + }) + + it('common.essentialConsts returns the runtime config', async () => { + const consts = await apiClient().common.essentialConsts.query() + + expect(typeof consts.freeDeliveryThreshold).toBe('number') + expect(typeof consts.assetsDomain).toBe('string') + expect(typeof consts.apiCacheKey).toBe('string') + expect(typeof consts.cacheVersion).toBe('number') + expect(typeof consts.slotsVersionNum).toBe('number') + }) +}) diff --git a/apps/backend/tests/api/misc-procedures.test.ts b/apps/backend/tests/api/misc-procedures.test.ts new file mode 100644 index 0000000..1c6a0b2 --- /dev/null +++ b/apps/backend/tests/api/misc-procedures.test.ts @@ -0,0 +1,323 @@ +/** + * Remaining uncovered procedures: address update/delete rules, staff-user + * management, review responses, auth profile/password, upload-URL validation, + * the delivery polygon and getCartSlots. + */ + +import { apiClient, captureError, uniqueSuffix } from '../helpers/api' +import { + createFutureSlot, + createStoreWithSku, + registerThrowawayUser, + registerUserWithAddress, +} from '../helpers/fixtures' +import { staffSession } from '../helpers/sessions' + +const addressBody = (over: Record = {}) => ({ + name: 'API Address', + phone: '9999999999', + addressLine1: '1 API Street', + city: 'Mahabubnagar', + state: 'Telangana', + pincode: '509001', + isDefault: false, + ...over, +}) + +describe('misc procedures', () => { + let admin: ReturnType + + beforeAll(async () => { + const staff = await staffSession() + admin = apiClient(staff.token) + }) + + describe('address rules', () => { + it('rejects updating another user address', async () => { + const owner = await registerUserWithAddress() + const other = await registerUserWithAddress() + + const error = await captureError(() => + apiClient(other.token).user.address.updateAddress.mutate({ + id: owner.addressId, + ...addressBody({ name: 'hijack' }), + }) + ) + expect(error.message).toMatch(/address not found/i) + }) + + it('refuses to delete the default address', async () => { + const user = await registerUserWithAddress() + + const error = await captureError(() => + apiClient(user.token).user.address.deleteAddress.mutate({ id: user.addressId }) + ) + expect(error.message).toMatch(/cannot delete default address/i) + }) + + it('refuses to delete an address attached to an ongoing order', async () => { + const store = await createStoreWithSku({ price: 100 }) + const slot = await createFutureSlot([store.skuId]) + const user = await registerUserWithAddress() + + const extra = await apiClient(user.token).user.address.createAddress.mutate( + addressBody({ name: 'Order address' }) + ) + const orderAddressId = extra.data!.id + + await apiClient(user.token).user.order.placeOrder.mutate({ + selectedItems: [{ skuId: store.skuId, quantity: 1, slotId: slot.slotId }], + addressId: orderAddressId, + paymentMethod: 'cod', + }) + + const error = await captureError(() => + apiClient(user.token).user.address.deleteAddress.mutate({ id: orderAddressId }) + ) + expect(error.message).toMatch(/ongoing order/i) + }) + + it('deletes an unused non-default address', async () => { + const user = await registerUserWithAddress() + + const extra = await apiClient(user.token).user.address.createAddress.mutate( + addressBody({ name: 'Unused' }) + ) + + const res = await apiClient(user.token).user.address.deleteAddress.mutate({ + id: extra.data!.id, + }) + expect(res.success).toBe(true) + }) + + it('returns the default address', async () => { + const user = await registerUserWithAddress() + + const res = await apiClient(user.token).user.address.getDefaultAddress.query() + expect(res.data?.id).toBe(user.addressId) + }) + }) + + describe('staff user management', () => { + it('lists roles', async () => { + const res = await admin.admin.staffUser.getRoles.query() + expect(Array.isArray(res.roles)).toBe(true) + expect(res.roles.length).toBeGreaterThan(0) + }) + + it('creates a staff user, lists it and rejects a duplicate name', async () => { + const roles = await admin.admin.staffUser.getRoles.query() + const name = `misc-staff-${uniqueSuffix()}` + + const created = await admin.admin.staffUser.createStaffUser.mutate({ + name, + password: 'Passw0rd!', + roleId: roles.roles[0].id, + }) + expect(created).toBeTruthy() + + const staff = (await admin.admin.staffUser.getStaff.query()) as + | { id: number; name: string }[] + | { staff?: { id: number; name: string }[] } + const list = Array.isArray(staff) ? staff : (staff.staff ?? []) + expect(list.some((s) => s.name === name)).toBe(true) + + const error = await captureError(() => + admin.admin.staffUser.createStaffUser.mutate({ + name, + password: 'Passw0rd!', + roleId: roles.roles[0].id, + }) + ) + expect(error.message).toMatch(/already exists/i) + }) + }) + + describe('product reviews', () => { + it('responds to a review and returns the response', async () => { + const store = await createStoreWithSku() + const buyer = await registerUserWithAddress() + const body = `Review ${uniqueSuffix()}` + + await apiClient(buyer.token).user.product.createReview.mutate({ + productId: store.productId, + reviewBody: body, + ratings: 4, + }) + + const listed = await admin.admin.product.getProductReviews.query({ + productId: store.productId, + limit: 50, + offset: 0, + }) + const review = listed.reviews.find( + (r: { reviewBody: string }) => r.reviewBody === body + ) + expect(review).toBeDefined() + + const res = await admin.admin.product.respondToReview.mutate({ + reviewId: review!.id, + adminResponse: 'Thanks for the feedback', + }) + expect(res.success).toBe(true) + + const after = await admin.admin.product.getProductReviews.query({ + productId: store.productId, + limit: 50, + offset: 0, + }) + const updated = after.reviews.find((r: { id: number }) => r.id === review!.id) + expect(updated!.adminResponse).toBe('Thanks for the feedback') + }) + }) + + describe('user auth', () => { + /** + * KNOWN BUG: updateProfile calls ctx.req.header('authorization') at + * auth.ts:342, but ctx.req is a fetch Request (only .headers.get exists), so + * it throws "ctx.req.header is not a function". The profile IS updated + * first, so the client sees an error after the server changed the data. + */ + it('pins: updateProfile crashes after writing the change', async () => { + const user = await registerUserWithAddress() + const newName = `Renamed ${uniqueSuffix()}` + + const error = await captureError(() => + apiClient(user.token).user.auth.updateProfile.mutate({ name: newName }) + ) + expect(error.message).toMatch(/ctx\.req\.header is not a function/i) + + // The write landed before the crash. + const self = await apiClient(user.token).user.user.getSelfData.query() + expect(self.data.user.name).toBe(newName) + }) + + it('rejects a too-short password', async () => { + const user = await registerUserWithAddress() + + const error = await captureError(() => + apiClient(user.token).user.auth.updatePassword.mutate({ password: '123' }) + ) + expect(error).toBeInstanceOf(Error) + }) + + /** + * KNOWN BUG: user_creds has no UNIQUE(user_id) and upsertUserPassword only + * falls back to UPDATE on the Postgres code 23505, so on D1 the insert + * succeeds and creates a second credentials row. getUserAuthCreds then + * returns the original, so the old password keeps working and the new one + * never does. See tests/BUGS.md. + */ + it('pins: updatePassword reports success but the old password still works', async () => { + const suffix = uniqueSuffix() + const mobile = `9${String(Math.floor(Math.random() * 1e9)).padStart(9, '0')}` + + const reg = await apiClient().user.auth.register.mutate({ + name: `PW ${suffix}`, + email: `pw-${suffix}@example.com`, + mobile, + password: 'OldPass123', + }) + + const res = await apiClient(reg.data.token).user.auth.updatePassword.mutate({ + password: 'NewPass456', + }) + expect(res.success).toBe(true) + + // The old password still authenticates... + const oldLogin = await apiClient().user.auth.login.mutate({ + identifier: mobile, + password: 'OldPass123', + }) + expect(oldLogin.data.token).toBeTruthy() + + // ...and the new one does not. + const error = await captureError(() => + apiClient().user.auth.login.mutate({ identifier: mobile, password: 'NewPass456' }) + ) + expect(error.message).toMatch(/invalid credentials/i) + }) + }) + + describe('upload urls', () => { + it('rejects an unknown context', async () => { + const user = await registerThrowawayUser() + const error = await captureError(() => + apiClient(user.token).common.generateUploadUrls.mutate({ + contextString: 'nope' as never, + mimeTypes: ['image/jpeg'], + }) + ) + expect(error).toBeInstanceOf(Error) + }) + + it('still returns a URL for an unrecognised mime type', async () => { + const user = await registerThrowawayUser() + const res = await apiClient(user.token).common.generateUploadUrls.mutate({ + contextString: 'complaint', + mimeTypes: ['application/octet-stream'], + }) + expect(res.uploadUrls).toHaveLength(1) + }) + }) + + describe('delivery polygon', () => { + it('accepts a point inside the delivery area', async () => { + const res = await apiClient().common.checkLocationInPolygon.query({ + lat: 16.747227, + lng: 78.009737, + }) + expect(res).toEqual({ isInside: true }) + }) + + it('rejects a point outside the delivery area', async () => { + const res = await apiClient().common.checkLocationInPolygon.query({ + lat: 17.747227, + lng: 79.009737, + }) + expect(res).toEqual({ isInside: false }) + }) + + it('rejects out-of-range coordinates', async () => { + const error = await captureError(() => + apiClient().common.checkLocationInPolygon.query({ lat: 999, lng: 0 }) + ) + expect(error).toBeInstanceOf(Error) + }) + }) + + describe('cart slots', () => { + it('returns an empty object for no products', async () => { + const res = await apiClient().user.cart.getCartSlots.query({ productIds: [] }) + expect(res).toEqual({}) + }) + + it('returns a slot map keyed by product id', async () => { + const store = await createStoreWithSku() + await createFutureSlot([store.skuId]) + + const res = (await apiClient().user.cart.getCartSlots.query({ + productIds: [store.skuId], + })) as Record + + expect(Object.keys(res)).toContain(String(store.skuId)) + }) + }) + + describe('constants', () => { + it('surfaces internalAppVersion with a numeric default', async () => { + const constants = await admin.admin.const.getConstants.query() + const entry = constants.find((c: { key: string }) => c.key === 'internalAppVersion') + + expect(entry).toBeDefined() + expect(typeof entry!.value).toBe('number') + }) + + it('exposes internalAppVersion to the user app via essentialConsts', async () => { + const consts = (await apiClient().common.essentialConsts.query()) as { + internalAppVersion?: number + } + expect(typeof consts.internalAppVersion).toBe('number') + }) + }) +}) diff --git a/apps/backend/tests/api/order-edge-cases.test.ts b/apps/backend/tests/api/order-edge-cases.test.ts new file mode 100644 index 0000000..b5ac5fc --- /dev/null +++ b/apps/backend/tests/api/order-edge-cases.test.ts @@ -0,0 +1,93 @@ +/** + * Guards around placeOrder. Documents the backend's actual behaviour, including + * the known gap that a non-existent slot only fails via the FK. + */ + +import { apiClient } from '../helpers/api' +import { createFutureSlot, createStoreWithSku, ensureUserAddress } from '../helpers/fixtures' +import { userSession } from '../helpers/sessions' + +/** Run a call that must reject and hand back the error. */ +async function captureError(fn: () => Promise): Promise { + let error: Error | null = null + try { + await fn() + } catch (caught) { + error = caught as Error + } + if (!error) { + throw new Error('[api-tests] expected the call to reject, but it resolved') + } + return error +} + +describe('placeOrder guards', () => { + let userToken = '' + let skuId = 0 + let slotId = 0 + let addressId = 0 + + beforeAll(async () => { + const store = await createStoreWithSku() + const slot = await createFutureSlot([store.skuId]) + const address = await ensureUserAddress() + const user = await userSession() + + userToken = user.token + skuId = store.skuId + slotId = slot.slotId + addressId = address.addressId + }) + + it('rejects an unauthenticated request', async () => { + const error = await captureError(() => + apiClient().user.order.placeOrder.mutate({ + selectedItems: [{ skuId, quantity: 1, slotId }], + addressId, + paymentMethod: 'cod', + }) + ) + + expect(error.message).toMatch(/UNAUTHORIZED|unauthorized|Authentication/i) + }) + + it('rejects an address that is not the user\'s', async () => { + const error = await captureError(() => + apiClient(userToken).user.order.placeOrder.mutate({ + selectedItems: [{ skuId, quantity: 1, slotId }], + addressId: 99_999_999, + paymentMethod: 'cod', + }) + ) + + expect(error.message).toMatch(/Invalid address/i) + }) + + it('rejects an unknown skuId', async () => { + const error = await captureError(() => + apiClient(userToken).user.order.placeOrder.mutate({ + selectedItems: [{ skuId: 99_999_999, quantity: 1, slotId }], + addressId, + paymentMethod: 'cod', + }) + ) + + expect(error.message).toMatch(/not found/i) + }) + + it('accepts a non-existent slotId (known gap: no slot validity check)', async () => { + // placeOrder only checks slot *capacity*; there is no FK/validity check on + // the slot, so a bogus id is stored verbatim. This test documents that + // behaviour — if the backend adds validation, update this case. + const bogusSlotId = 99_999_999 + + const res = await apiClient(userToken).user.order.placeOrder.mutate({ + selectedItems: [{ skuId, quantity: 1, slotId: bogusSlotId }], + addressId, + paymentMethod: 'cod', + }) + + expect(res.success).toBe(true) + expect(res.data[0].slotId).toBe(bogusSlotId) + }) +}) diff --git a/apps/backend/tests/api/order-flow.test.ts b/apps/backend/tests/api/order-flow.test.ts new file mode 100644 index 0000000..efd00da --- /dev/null +++ b/apps/backend/tests/api/order-flow.test.ts @@ -0,0 +1,96 @@ +/** + * The requested flow: create an order, then read it back. + * + * Fixtures (store/SKU/slot/address) are created through the API because there is + * no seed for them. Orders are left behind. + */ + +import { apiClient } from '../helpers/api' +import { createFutureSlot, createStoreWithSku, ensureUserAddress } from '../helpers/fixtures' +import { userSession } from '../helpers/sessions' + +describe('order flow: create an order, then read it back', () => { + let userToken = '' + let skuId = 0 + let slotId = 0 + let addressId = 0 + let placedOrderId = 0 + + beforeAll(async () => { + const store = await createStoreWithSku() + const slot = await createFutureSlot([store.skuId]) + const address = await ensureUserAddress() + const user = await userSession() + + userToken = user.token + skuId = store.skuId + slotId = slot.slotId + addressId = address.addressId + }) + + it('lists the created slot via user.slots.getSlots', async () => { + const slots = await apiClient().user.slots.getSlots.query() + + expect(slots.slots.some((s) => s.id === slotId)).toBe(true) + }) + + it('places a COD order and echoes the total', async () => { + const res = await apiClient(userToken).user.order.placeOrder.mutate({ + selectedItems: [{ skuId, quantity: 1, slotId }], + addressId, + paymentMethod: 'cod', + }) + + expect(res.success).toBe(true) + expect(Array.isArray(res.data)).toBe(true) + expect(res.data.length).toBeGreaterThan(0) + + const order = res.data[0] + expect(order.id).toBeGreaterThan(0) + expect(Number(order.totalAmount)).toBeGreaterThan(0) + + placedOrderId = order.id + }) + + it('returns the new order from user.order.getOrders', async () => { + expect(placedOrderId).toBeGreaterThan(0) + + const res = await apiClient(userToken).user.order.getOrders.query({ + page: 1, + pageSize: 10, + }) + + const order = res.data.find((o) => o.id === placedOrderId) + expect(order).toBeDefined() + expect(order!.deliveryStatus).toBe('pending') + expect(order!.items.length).toBe(1) + expect(res.pagination.totalCount).toBeGreaterThan(0) + }) + + it('returns the same order from user.order.getOrderById', async () => { + const detail = await apiClient(userToken).user.order.getOrderById.query({ + orderId: String(placedOrderId), + }) + + expect(detail.id).toBe(placedOrderId) + expect(detail.orderAmount).toBeGreaterThan(0) + expect(detail.items.length).toBe(1) + expect(detail.items[0].amount).toBeGreaterThan(0) + }) + + it('places an online order with a pending payment', async () => { + const res = await apiClient(userToken).user.order.placeOrder.mutate({ + selectedItems: [{ skuId, quantity: 1, slotId }], + addressId, + paymentMethod: 'online', + }) + + const orderId = res.data[0].id + const detail = await apiClient(userToken).user.order.getOrderById.query({ + orderId: String(orderId), + }) + + expect(detail.paymentMode).toBe('Online') + expect(detail.paymentStatus).toBe('pending') + }) +}) diff --git a/apps/backend/tests/api/order-lifecycle-gaps.test.ts b/apps/backend/tests/api/order-lifecycle-gaps.test.ts new file mode 100644 index 0000000..39dec12 --- /dev/null +++ b/apps/backend/tests/api/order-lifecycle-gaps.test.ts @@ -0,0 +1,187 @@ +/** + * Order lifecycle gaps: coupon-usage rollback, first-order-only poisoning, + * refund rows, cancel error swallowing and the (missing) status transition + * guards. + * + * Known bugs are pinned — see tests/BUGS.md. + */ + +import { apiClient, captureError, uniqueSuffix } from '../helpers/api' +import { + createFutureSlot, + createStoreWithSku, + registerUserWithAddress, +} from '../helpers/fixtures' +import { staffSession } from '../helpers/sessions' + +const couponCode = () => + `LC${uniqueSuffix()}`.toUpperCase().replace(/[^A-Z0-9]/g, '').slice(0, 20) + +describe('order lifecycle gaps', () => { + let admin: ReturnType + let userToken = '' + let addressId = 0 + let skuId = 0 + let slotId = 0 + + beforeAll(async () => { + const staff = await staffSession() + admin = apiClient(staff.token) + + const store = await createStoreWithSku({ price: 100 }) + const slot = await createFutureSlot([store.skuId]) + const buyer = await registerUserWithAddress() + + userToken = buyer.token + addressId = buyer.addressId + skuId = store.skuId + slotId = slot.slotId + }) + + const place = (couponId?: number) => + apiClient(userToken).user.order.placeOrder.mutate({ + selectedItems: [{ skuId, quantity: 1, slotId }], + addressId, + paymentMethod: 'cod', + ...(couponId ? { couponId } : {}), + }) + + const cancel = (id: number, reason = 'lifecycle test') => + apiClient(userToken).user.order.cancelOrder.mutate({ id, reason }) + + const createCoupon = async (over: Record = {}) => { + const created = await admin.admin.coupon.create.mutate({ + couponCode: couponCode(), + minOrder: 1, + isApplyForAll: true, + validTill: new Date(Date.now() + 24 * 3600_000).toISOString(), + ...over, + }) + return created[0] + } + + it('pins: cancelling an order does not release its coupon usage', async () => { + const coupon = await createCoupon({ flatDiscount: 5, maxLimitForUser: 1 }) + + const placed = await place(coupon.id) + await cancel(placed.data[0].id) + + // The usage row recorded at placement is not removed on cancel, so the + // (now unused) coupon is already exhausted for this user. + const error = await captureError(() => place(coupon.id)) + expect(error.message).toMatch(/usage limit/i) + }) + + it('pins: a cancelled first order poisons an isFirstOrderOnly coupon', async () => { + const buyer = await registerUserWithAddress() + const coupon = await createCoupon({ flatDiscount: 5, isFirstOrderOnly: true }) + + // First order, then immediately cancelled. + const first = await apiClient(buyer.token).user.order.placeOrder.mutate({ + selectedItems: [{ skuId, quantity: 1, slotId }], + addressId: buyer.addressId, + paymentMethod: 'cod', + }) + await apiClient(buyer.token).user.order.cancelOrder.mutate({ + id: first.data[0].id, + reason: 'changed mind', + }) + + // getOrderCount counts cancelled orders too, so the coupon is now refused. + const error = await captureError(() => + apiClient(buyer.token).user.order.placeOrder.mutate({ + selectedItems: [{ skuId, quantity: 1, slotId }], + addressId: buyer.addressId, + paymentMethod: 'cod', + couponId: coupon.id, + }) + ) + expect(error.message).toMatch(/first order only/i) + }) + + it('applies an isFirstOrderOnly coupon to a genuinely new user', async () => { + const buyer = await registerUserWithAddress() + const coupon = await createCoupon({ flatDiscount: 5, isFirstOrderOnly: true }) + + const res = await apiClient(buyer.token).user.order.placeOrder.mutate({ + selectedItems: [{ skuId, quantity: 1, slotId }], + addressId: buyer.addressId, + paymentMethod: 'cod', + couponId: coupon.id, + }) + + expect(res.success).toBe(true) + }) + + it('writes a refund row for a cancelled COD order', async () => { + const placed = await place() + const orderId = placed.data[0].id + + await cancel(orderId) + + const detail = await apiClient(userToken).user.order.getOrderById.query({ + orderId: String(orderId), + }) + // COD cancellations record refundStatus 'na'. + expect(detail.refundStatus).toBe('na') + }) + + it('pins: cancelling an already-cancelled order reports a generic message', async () => { + const placed = await place() + const orderId = placed.data[0].id + + await cancel(orderId) + + const error = await captureError(() => cancel(orderId)) + // The specific "already cancelled" 400 is masked by cancelOrder's catch. + expect(error.message).toMatch(/failed to cancel order/i) + }) + + it('propagates the specific notes guard for a cancelled order', async () => { + const placed = await place() + const orderId = placed.data[0].id + await cancel(orderId) + + const error = await captureError(() => + apiClient(userToken).user.order.updateUserNotes.mutate({ + id: orderId, + userNotes: 'too late', + }) + ) + // updateUserNotes has no catch, so the real message survives. + expect(error.message).toMatch(/cannot update notes for cancelled order/i) + }) + + it('pins: a cancelled order can still be marked delivered (no transition guard)', async () => { + const placed = await place() + const orderId = placed.data[0].id + await cancel(orderId) + + const res = await admin.admin.order.updateDelivered.mutate({ + orderId: String(orderId), + isDelivered: true, + }) + expect(res.success).toBe(true) + }) + + it('pins: delivered is reversible', async () => { + const placed = await place() + const orderId = placed.data[0].id + + await admin.admin.order.updateDelivered.mutate({ orderId: String(orderId), isDelivered: true }) + const res = await admin.admin.order.updateDelivered.mutate({ + orderId: String(orderId), + isDelivered: false, + }) + expect(res.success).toBe(true) + }) + + it('rejects a user cancellation of a delivered order', async () => { + const placed = await place() + const orderId = placed.data[0].id + await admin.admin.order.updateDelivered.mutate({ orderId: String(orderId), isDelivered: true }) + + const error = await captureError(() => cancel(orderId)) + expect(error.message).toMatch(/failed to cancel order/i) + }) +}) diff --git a/apps/backend/tests/api/order-lifecycle.test.ts b/apps/backend/tests/api/order-lifecycle.test.ts new file mode 100644 index 0000000..b7262b6 --- /dev/null +++ b/apps/backend/tests/api/order-lifecycle.test.ts @@ -0,0 +1,94 @@ +/** + * Order lifecycle: notes, cancellation, pagination and the requested-id contract. + */ + +import { apiClient, captureError } from '../helpers/api' +import { createFutureSlot, createStoreWithSku, ensureUserAddress } from '../helpers/fixtures' +import { userSession } from '../helpers/sessions' + +describe('order lifecycle', () => { + let token = '' + let skuId = 0 + let addressId = 0 + let slotId = 0 + let orderId = 0 + + beforeAll(async () => { + const store = await createStoreWithSku() + const slot = await createFutureSlot([store.skuId]) + const address = await ensureUserAddress() + const user = await userSession() + + token = user.token + skuId = store.skuId + addressId = address.addressId + slotId = slot.slotId + + const res = await apiClient(token).user.order.placeOrder.mutate({ + selectedItems: [{ skuId, quantity: 1, slotId }], + addressId, + paymentMethod: 'cod', + }) + orderId = res.data[0].id + }) + + it('persists special instructions', async () => { + const notes = `Leave at reception ${Date.now()}` + + await apiClient(token).user.order.updateUserNotes.mutate({ id: orderId, userNotes: notes }) + const detail = await apiClient(token).user.order.getOrderById.query({ + orderId: String(orderId), + }) + + expect(detail.userNotes).toBe(notes) + }) + + it('cancels the order with a reason and reflects it in the list', async () => { + const reason = `Changed my mind ${Date.now()}` + + await apiClient(token).user.order.cancelOrder.mutate({ id: orderId, reason }) + + const detail = await apiClient(token).user.order.getOrderById.query({ + orderId: String(orderId), + }) + expect(detail.cancelReason).toBe(reason) + expect(String(detail.orderStatus).toLowerCase()).toMatch(/cancel/) + + const list = await apiClient(token).user.order.getOrders.query({ page: 1, pageSize: 10 }) + const row = list.data.find((o) => o.id === orderId) + expect(row).toBeDefined() + expect(String(row!.deliveryStatus).toLowerCase()).toMatch(/cancel/) + }) + + it('rejects a cancellation without a reason', async () => { + const error = await captureError(() => + apiClient(token).user.order.cancelOrder.mutate({ id: orderId, reason: '' }) + ) + + expect(error).toBeInstanceOf(Error) + }) + + it('rejects a readable order id ("ORD") — the API wants the numeric string', async () => { + const error = await captureError(() => + apiClient(token).user.order.getOrderById.query({ orderId: `ORD${orderId}` }) + ) + + expect(error).toBeInstanceOf(Error) + }) + + it('paginates orders and rejects an oversized page size', async () => { + const page1 = await apiClient(token).user.order.getOrders.query({ page: 1, pageSize: 1 }) + const page2 = await apiClient(token).user.order.getOrders.query({ page: 2, pageSize: 1 }) + + expect(page1.data).toHaveLength(1) + expect(page1.pagination.totalCount).toBeGreaterThan(1) + if (page2.data.length > 0) { + expect(page2.data[0].id).not.toBe(page1.data[0].id) + } + + const error = await captureError(() => + apiClient(token).user.order.getOrders.query({ page: 1, pageSize: 51 }) + ) + expect(error).toBeInstanceOf(Error) + }) +}) diff --git a/apps/backend/tests/api/order-rules.test.ts b/apps/backend/tests/api/order-rules.test.ts new file mode 100644 index 0000000..dc9cbc3 --- /dev/null +++ b/apps/backend/tests/api/order-rules.test.ts @@ -0,0 +1,143 @@ +/** + * Order business rules: delivery charge vs the minimum order value, per-slot + * grouping, slot capacity and the flash-delivery gate. + * + * Uses a tiny-priced SKU (5) so a single unit sits below `minRegularOrderValue`. + */ + +import { apiClient, captureError } from '../helpers/api' +import { asNumber, getConstants, setConst } from '../helpers/consts' +import { createFutureSlot, createStoreWithSku, ensureUserAddress } from '../helpers/fixtures' +import { staffSession, userSession } from '../helpers/sessions' + +const UNIT_PRICE = 5 + +describe('order rules', () => { + let token = '' + let skuId = 0 + let addressId = 0 + let slotId = 0 + let secondSlotId = 0 + let charge = 0 + let minOrder = 0 + + beforeAll(async () => { + const store = await createStoreWithSku({ price: UNIT_PRICE }) + const slot = await createFutureSlot([store.skuId], { deliveryInHours: 3, freezeInHours: 2 }) + const secondSlot = await createFutureSlot([store.skuId], { + deliveryInHours: 6, + freezeInHours: 5, + }) + const address = await ensureUserAddress() + const user = await userSession() + const consts = await getConstants() + + token = user.token + skuId = store.skuId + addressId = address.addressId + slotId = slot.slotId + secondSlotId = secondSlot.slotId + charge = asNumber(consts.deliveryCharge) + minOrder = asNumber(consts.minRegularOrderValue) + }) + + it('adds the configured delivery charge below the minimum order value', async () => { + // Guard: this case is only meaningful while a single unit is below the minimum. + expect(minOrder).toBeGreaterThan(UNIT_PRICE) + + const res = await apiClient(token).user.order.placeOrder.mutate({ + selectedItems: [{ skuId, quantity: 1, slotId }], + addressId, + paymentMethod: 'cod', + }) + + expect(res.data[0].deliveryCharge).toBe(String(charge)) + }) + + it('waives the delivery charge at or above the minimum order value', async () => { + const quantity = Math.ceil(minOrder / UNIT_PRICE) + 1 + + const res = await apiClient(token).user.order.placeOrder.mutate({ + selectedItems: [{ skuId, quantity, slotId }], + addressId, + paymentMethod: 'cod', + }) + + expect(res.data[0].deliveryCharge).toBe('0') + }) + + it('groups items from different slots into one order per slot, charging once', async () => { + const res = await apiClient(token).user.order.placeOrder.mutate({ + selectedItems: [ + { skuId, quantity: 1, slotId }, + { skuId, quantity: 1, slotId: secondSlotId }, + ], + addressId, + paymentMethod: 'cod', + }) + + expect(res.data).toHaveLength(2) + expect(new Set(res.data.map((o) => o.slotId))).toEqual(new Set([slotId, secondSlotId])) + + const charged = res.data.filter((o) => o.deliveryCharge !== '0') + expect(charged).toHaveLength(1) + }) + + it('rejects an order for a full slot', async () => { + const staff = await staffSession() + const admin = apiClient(staff.token) + + await admin.admin.slots.updateSlotCapacity.mutate({ + slotId, + isCapacityFull: true, + }) + + try { + const error = await captureError(() => + apiClient(token).user.order.placeOrder.mutate({ + selectedItems: [{ skuId, quantity: 1, slotId }], + addressId, + paymentMethod: 'cod', + }) + ) + expect(error.message).toMatch(/capacity/i) + } finally { + await admin.admin.slots.updateSlotCapacity.mutate({ + slotId, + isCapacityFull: false, + }) + } + }) + + it('rejects flash delivery while it is disabled', async () => { + const consts = await getConstants() + const wasEnabled = consts.isFlashDeliveryEnabled === true + if (wasEnabled) await setConst('isFlashDeliveryEnabled', false) + + try { + const error = await captureError(() => + apiClient(token).user.order.placeOrder.mutate({ + selectedItems: [{ skuId, quantity: 1, slotId: null }], + addressId, + paymentMethod: 'cod', + isFlashDelivery: true, + }) + ) + expect(error.message).toMatch(/flash/i) + } finally { + if (wasEnabled) await setConst('isFlashDeliveryEnabled', true) + } + }) + + it('rejects an invalid quantity', async () => { + const error = await captureError(() => + apiClient(token).user.order.placeOrder.mutate({ + selectedItems: [{ skuId, quantity: 0, slotId }], + addressId, + paymentMethod: 'cod', + }) + ) + + expect(error).toBeInstanceOf(Error) + }) +}) diff --git a/apps/backend/tests/api/place-order-edge-cases.test.ts b/apps/backend/tests/api/place-order-edge-cases.test.ts new file mode 100644 index 0000000..b44a68e --- /dev/null +++ b/apps/backend/tests/api/place-order-edge-cases.test.ts @@ -0,0 +1,211 @@ +/** + * placeOrder guard/behaviour coverage that the existing suites do not reach: + * stock, quantity, slot validity, flash pricing, suspension and double-submit. + * + * Several are known gaps (out-of-stock is orderable, empty carts are accepted, + * no quantity cap, no slot validity beyond capacity) and are pinned here. + * See tests/BUGS.md. + */ + +import { apiClient, captureError } from '../helpers/api' +import { asNumber, getConstants, setConst } from '../helpers/consts' +import { + createFutureSlot, + createStoreWithSku, + registerUserWithAddress, +} from '../helpers/fixtures' +import { staffSession } from '../helpers/sessions' + +describe('placeOrder edge cases', () => { + let admin: ReturnType + let userToken = '' + let addressId = 0 + let userId = 0 + let skuId = 0 + let slotId = 0 + let otherSkuId = 0 + let flashSkuId = 0 + let flashFallbackSkuId = 0 + let plainSkuId = 0 + let flashDeliveryCharge = 0 + + beforeAll(async () => { + const staff = await staffSession() + admin = apiClient(staff.token) + + const store = await createStoreWithSku({ price: 100 }) + const other = await createStoreWithSku({ price: 100 }) + const flash = await createStoreWithSku({ price: 100 }) + const flashFallback = await createStoreWithSku({ price: 100 }) + const plain = await createStoreWithSku({ price: 100 }) + + const slot = await createFutureSlot([store.skuId]) + const buyer = await registerUserWithAddress() + const consts = await getConstants() + + userToken = buyer.token + addressId = buyer.addressId + userId = buyer.userId + skuId = store.skuId + otherSkuId = other.skuId + flashSkuId = flash.skuId + flashFallbackSkuId = flashFallback.skuId + plainSkuId = plain.skuId + slotId = slot.slotId + flashDeliveryCharge = asNumber(consts.flashDeliveryCharge) + }) + + const place = (over: Record = {}) => + apiClient(userToken).user.order.placeOrder.mutate({ + selectedItems: [{ skuId, quantity: 1, slotId }], + addressId, + paymentMethod: 'cod', + ...over, + }) + + const withFlashEnabled = async (fn: () => Promise): Promise => { + const before = await getConstants() + const wasEnabled = before.isFlashDeliveryEnabled === true + if (!wasEnabled) await setConst('isFlashDeliveryEnabled', true) + try { + return await fn() + } finally { + if (!wasEnabled) await setConst('isFlashDeliveryEnabled', false) + } + } + + describe('stock', () => { + it('pins: an out-of-stock product is still orderable', async () => { + const store = await createStoreWithSku({ price: 100 }) + const slot = await createFutureSlot([store.skuId]) + + await admin.admin.product.toggleOutOfStock.mutate({ id: store.productId }) + try { + const res = await place({ selectedItems: [{ skuId: store.skuId, quantity: 1, slotId: slot.slotId }] }) + expect(res.success).toBe(true) + } finally { + await admin.admin.product.toggleOutOfStock.mutate({ id: store.productId }) + } + }) + }) + + describe('input validation gaps', () => { + it('pins: an empty selectedItems list fails with a raw DB error, not validation', async () => { + // There is no `.min(1)` on selectedItems, so the empty list reaches + // Drizzle, which throws "values() must be called with at least one value" + // instead of surfacing a 400 "no items" message. + const error = await captureError(() => place({ selectedItems: [] })) + expect(error.message).toMatch(/at least one value/i) + }) + + it('pins: an arbitrarily large quantity is accepted', async () => { + const res = await place({ selectedItems: [{ skuId, quantity: 1_000_000, slotId }] }) + expect(res.success).toBe(true) + expect(res.data[0].id).toBeGreaterThan(0) + }) + }) + + describe('slot validity gaps', () => { + it('pins: an inactive slot is accepted', async () => { + const created = await admin.admin.slots.createSlot.mutate({ + deliveryTime: new Date(Date.now() + 3 * 3600_000).toISOString(), + freezeTime: new Date(Date.now() + 2 * 3600_000).toISOString(), + isActive: false, + skuIds: [skuId], + }) + + const res = await place({ selectedItems: [{ skuId, quantity: 1, slotId: created.slot.id }] }) + expect(res.success).toBe(true) + }) + + it('pins: a slot whose delivery time has passed is accepted', async () => { + const created = await admin.admin.slots.createSlot.mutate({ + deliveryTime: new Date(Date.now() - 3600_000).toISOString(), + freezeTime: new Date(Date.now() - 2 * 3600_000).toISOString(), + isActive: true, + skuIds: [skuId], + }) + + const res = await place({ selectedItems: [{ skuId, quantity: 1, slotId: created.slot.id }] }) + expect(res.success).toBe(true) + }) + + it('pins: a slot that does not carry the ordered SKU is accepted', async () => { + const slotWithOtherSku = await createFutureSlot([otherSkuId]) + + const res = await place({ + selectedItems: [{ skuId, quantity: 1, slotId: slotWithOtherSku.slotId }], + }) + expect(res.success).toBe(true) + }) + }) + + describe('flash delivery pricing', () => { + it('rejects a non-flash SKU on a flash order', async () => { + await withFlashEnabled(async () => { + const error = await captureError(() => + place({ + selectedItems: [{ skuId: plainSkuId, quantity: 1, slotId: null }], + isFlashDelivery: true, + }) + ) + expect(error.message).toMatch(/not available for flash delivery/i) + }) + }) + + it('charges flashPrice plus the flash delivery charge', async () => { + await admin.admin.product.updateProductPrices.mutate({ + updates: [{ productId: flashSkuId, flashPrice: 60, isFlashAvailable: true }], + }) + + await withFlashEnabled(async () => { + const res = await place({ + selectedItems: [{ skuId: flashSkuId, quantity: 1, slotId: null }], + isFlashDelivery: true, + }) + + // 60 (flashPrice, not the 100 list price) < flashFreeDeliveryThreshold, + // so the flash delivery charge is added on top. + expect(parseFloat(res.data[0].totalAmount)).toBe(60 + flashDeliveryCharge) + }) + }) + + it('falls back to the regular price when flashPrice is null', async () => { + await admin.admin.product.updateProductPrices.mutate({ + updates: [{ productId: flashFallbackSkuId, flashPrice: null, isFlashAvailable: true }], + }) + + await withFlashEnabled(async () => { + const res = await place({ + selectedItems: [{ skuId: flashFallbackSkuId, quantity: 1, slotId: null }], + isFlashDelivery: true, + }) + + expect(parseFloat(res.data[0].totalAmount)).toBe(100 + flashDeliveryCharge) + }) + }) + }) + + describe('suspension', () => { + it('rejects a suspended user with a 403-style error', async () => { + await admin.admin.user.updateUserSuspension.mutate({ userId, isSuspended: true }) + try { + const error = await captureError(() => place()) + expect(error.message).toMatch(/unable to place order/i) + } finally { + await admin.admin.user.updateUserSuspension.mutate({ userId, isSuspended: false }) + } + }) + }) + + describe('duplicate submission', () => { + it('pins: two identical requests create two orders (no idempotency key)', async () => { + const first = await place() + const second = await place() + + expect(first.data[0].id).toBeGreaterThan(0) + expect(second.data[0].id).toBeGreaterThan(0) + expect(first.data[0].id).not.toBe(second.data[0].id) + }) + }) +}) diff --git a/apps/backend/tests/api/uploads.test.ts b/apps/backend/tests/api/uploads.test.ts new file mode 100644 index 0000000..ba11712 --- /dev/null +++ b/apps/backend/tests/api/uploads.test.ts @@ -0,0 +1,133 @@ +/** + * Image uploads — the round trip, not just the response shape. + * + * The presigned PUT carries its own signature, so this suite needs no R2 credentials: + * it PUTs real bytes to the URL `common.generateUploadUrls` returns, then GETs the object + * back from the public assets domain (the same source the app renders from) and compares. + * + * Objects are left in the dev bucket, consistent with the rest of these tests. + */ + +import { createHash } from 'crypto' + +import { apiClient, uniqueSuffix } from '../helpers/api' +import { essentialConsts } from '../helpers/cache' +import { userSession } from '../helpers/sessions' + +/** Two 1x1 PNGs that differ only in pixel data, so a mix-up is visible. */ +const PNG_RED = Buffer.from( + 'iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8DwHwAFAAH/q842iQAAAABJRU5ErkJggg==', + 'base64' +) +const PNG_BLUE = Buffer.from( + 'iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M/wHwAE/wH/9tH4WQAAAABJRU5ErkJggg==', + 'base64' +) + +const sha = (bytes: Buffer) => createHash('sha256').update(bytes).digest('hex') + +/** The object key, as extractKeyFromPresignedUrl derives it (last two path segments). */ +const keyFromUploadUrl = (url: string) => { + const parts = new URL(url).pathname.split('/').filter(Boolean) + return decodeURIComponent(parts.slice(-2).join('/')) +} + +const publicUrlFor = (assetsDomain: string, key: string) => + `${assetsDomain.replace(/\/+$/, '')}/${key}` + +/** Presign one file and return its URL plus the key it points at. */ +async function presign( + client: ReturnType, + contextString: string, + mimeType: string +) { + const { uploadUrls } = await client.common.generateUploadUrls.mutate({ + contextString: contextString as never, + mimeTypes: [mimeType], + }) + const url = uploadUrls[0] + return { url, key: keyFromUploadUrl(url) } +} + +async function put(url: string, bytes: Buffer) { + const res = await fetch(url, { + method: 'PUT', + body: new Uint8Array(bytes), + }) + if (!res.ok) { + throw new Error( + `[uploads] PUT failed: ${res.status} ${res.statusText} ${await res.text().catch(() => '')}` + ) + } +} + +/** GET the object from the public domain; returns null when it is not there. */ +async function fetchObject(url: string) { + const res = await fetch(url) + if (!res.ok) return null + return Buffer.from(await res.arrayBuffer()) +} + +describe('image upload round trip', () => { + let client: ReturnType + let assetsDomain: string + + beforeAll(async () => { + const session = await userSession() + client = apiClient(session.token) + assetsDomain = (await essentialConsts()).assetsDomain + }) + + it('stores exactly the bytes that were uploaded', async () => { + const { url, key } = await presign(client, 'product_info', 'image/png') + expect(url).toContain('X-Amz-Signature') + + await put(url, PNG_RED) + + const served = await fetchObject(publicUrlFor(assetsDomain, key)) + expect(served).not.toBeNull() + expect(served!.length).toBe(PNG_RED.length) + expect(served!.equals(PNG_RED)).toBe(true) + expect(sha(served!)).toBe(sha(PNG_RED)) + }) + + it('keeps two uploads distinct — each URL serves its own object', async () => { + const first = await presign(client, 'product_info', 'image/png') + const second = await presign(client, 'tags', 'image/png') + expect(second.key).not.toBe(first.key) + + await put(first.url, PNG_RED) + await put(second.url, PNG_BLUE) + + const servedFirst = await fetchObject(publicUrlFor(assetsDomain, first.key)) + const servedSecond = await fetchObject(publicUrlFor(assetsDomain, second.key)) + + expect(servedFirst!.equals(PNG_RED)).toBe(true) + expect(servedSecond!.equals(PNG_BLUE)).toBe(true) + // The two documents really are different files. + expect(sha(servedFirst!)).not.toBe(sha(servedSecond!)) + }) + + it('gives every mime type in one call a usable URL', async () => { + const { uploadUrls } = await client.common.generateUploadUrls.mutate({ + contextString: 'review', + mimeTypes: ['image/png', 'image/jpeg'], + }) + expect(uploadUrls).toHaveLength(2) + + const keys = uploadUrls.map(keyFromUploadUrl) + expect(new Set(keys).size).toBe(2) + + await put(uploadUrls[0], PNG_RED) + await put(uploadUrls[1], PNG_BLUE) + + expect((await fetchObject(publicUrlFor(assetsDomain, keys[0])))!.equals(PNG_RED)).toBe(true) + expect((await fetchObject(publicUrlFor(assetsDomain, keys[1])))!.equals(PNG_BLUE)).toBe(true) + }) + + it('returns 404 for an object that was never uploaded', async () => { + // Guards the read-back itself: a passing comparison must mean the object is really there. + const missing = publicUrlFor(assetsDomain, `product-images/never-${uniqueSuffix()}.png`) + expect(await fetchObject(missing)).toBeNull() + }) +}) diff --git a/apps/backend/tests/api/user-surface.test.ts b/apps/backend/tests/api/user-surface.test.ts new file mode 100644 index 0000000..2dc838d --- /dev/null +++ b/apps/backend/tests/api/user-surface.test.ts @@ -0,0 +1,107 @@ +/** + * User-facing product / coupon / profile surface + the complaint lifecycle + * (raise as the user, resolve as staff). + */ + +import { apiClient, captureError } from '../helpers/api' +import { createStoreWithSku } from '../helpers/fixtures' +import { staffSession, userSession } from '../helpers/sessions' + +describe('user surface', () => { + let token = '' + let userId = 0 + let productId = 0 + + beforeAll(async () => { + const store = await createStoreWithSku() + const user = await userSession() + + token = user.token + userId = user.userId + productId = store.productId + }) + + it('returns the product detail for a product id', async () => { + const detail = await apiClient().user.product.getProductDetails.query({ + id: String(productId), + }) + + expect((detail as { name?: string })?.name).toBeTruthy() + }) + + it('creates a review and returns it from getProductReviews', async () => { + const body = `API test review ${Date.now()}` + + await apiClient(token).user.product.createReview.mutate({ + productId, + reviewBody: body, + ratings: 5, + }) + + const reviews = await apiClient().user.product.getProductReviews.query({ + productId, + limit: 50, + offset: 0, + }) + + expect(Array.isArray(reviews.reviews)).toBe(true) + expect(reviews.reviews.some((r) => r.reviewBody === body)).toBe(true) + }) + + it('returns presigned upload URLs', async () => { + const res = await apiClient(token).common.generateUploadUrls.mutate({ + contextString: 'complaint', + mimeTypes: ['image/jpeg'], + }) + + expect(Array.isArray(res.uploadUrls)).toBe(true) + expect(res.uploadUrls).toHaveLength(1) + }) + + it('exposes eligible and owned coupons', async () => { + const eligible = await apiClient(token).user.coupon.getEligible.query() + expect(Array.isArray(eligible.data)).toBe(true) + + const mine = await apiClient(token).user.coupon.getMyCoupons.query() + expect(Array.isArray(mine.data.personal)).toBe(true) + expect(Array.isArray(mine.data.general)).toBe(true) + }) + + it('rejects redeeming an unknown coupon code', async () => { + const error = await captureError(() => + apiClient(token).user.coupon.redeemReservedCoupon.mutate({ + secretCode: `NO-SUCH-COUPON-${Date.now()}`, + }) + ) + + expect(error.message).toMatch(/invalid|redeemed/i) + }) + + it('returns the signed-in user profile', async () => { + const self = await apiClient(token).user.user.getSelfData.query() + + expect(self.data.user.id).toBe(userId) + }) + + it('raises a complaint that staff can resolve', async () => { + const staff = await staffSession() + const admin = apiClient(staff.token) + + const body = `API test complaint ${Date.now()}` + await apiClient(token).user.complaint.raise.mutate({ complaintBody: body }) + + const listed = await apiClient(token).user.complaint.getAll.query() + const complaint = listed.complaints.find((c) => c.complaintBody === body) + expect(complaint).toBeDefined() + expect(complaint!.isResolved).toBe(false) + + await admin.admin.complaint.resolve.mutate({ + id: String(complaint!.id), + response: 'Resolved by API test', + }) + + const after = await apiClient(token).user.complaint.getAll.query() + const resolved = after.complaints.find((c) => c.id === complaint!.id) + expect(resolved!.isResolved).toBe(true) + }) +}) diff --git a/apps/backend/tests/helpers/api.ts b/apps/backend/tests/helpers/api.ts new file mode 100644 index 0000000..32ee4a7 --- /dev/null +++ b/apps/backend/tests/helpers/api.ts @@ -0,0 +1,74 @@ +/** + * HTTP client + small utilities for the backend API tests. + * + * Uses the same wire protocol as the apps (`httpBatchLink`, no transformer): + * POST/GET /api/trpc/. -> [{ result: { data } }] + */ + +import { createTRPCClient, httpBatchLink } from '@trpc/client' +import type { AppRouter } from '@/src/trpc/router' +import { API_BASE_URL, TRPC_URL } from './env' + +export type ApiClient = ReturnType> + +/** A tRPC client; pass a token to authenticate as that user/staff. */ +export function apiClient(token?: string): ApiClient { + return createTRPCClient({ + links: [ + httpBatchLink({ + url: TRPC_URL, + headers: () => (token ? { Authorization: `Bearer ${token}` } : {}), + }), + ], + }) +} + +/** Unique-enough suffix so reruns don't collide on names/emails. */ +export function uniqueSuffix(): string { + return `${Date.now().toString(36)}-${Math.random().toString(36).slice(2, 7)}` +} + +/** Run a call that must reject and hand back the error (fails if it resolves). */ +export async function captureError(fn: () => Promise): Promise { + let error: Error | null = null + try { + await fn() + } catch (caught) { + error = caught as Error + } + if (!error) { + throw new Error('[api-tests] expected the call to reject, but it resolved') + } + return error +} + +/** GET /api/health — the only unauthenticated REST endpoint. */ +export async function health(): Promise<{ ok: boolean; status: number; body: unknown }> { + const res = await fetch(`${API_BASE_URL}/api/health`) + let body: unknown = null + try { + body = await res.json() + } catch { + body = null + } + return { ok: res.ok, status: res.status, body } +} + +/** + * Fail fast with an actionable message when the local backend isn't running, + * instead of letting every request time out. + */ +export async function assertServerUp(): Promise { + try { + const res = await fetch(`${API_BASE_URL}/api/health`, { + signal: AbortSignal.timeout(5000), + }) + if (res.status >= 500) throw new Error(`health returned ${res.status}`) + } catch (error) { + throw new Error( + `[api-tests] Backend not reachable at ${API_BASE_URL}. Start it with ` + + `"cd apps/backend && bun run dev" (wrangler dev, port 8787). ` + + `Cause: ${(error as Error).message}` + ) + } +} diff --git a/apps/backend/tests/helpers/cache.ts b/apps/backend/tests/helpers/cache.ts new file mode 100644 index 0000000..ef087c1 --- /dev/null +++ b/apps/backend/tests/helpers/cache.ts @@ -0,0 +1,94 @@ +/** + * Static JSON cache helpers. + * + * The cache is written through the R2 S3 API and served from the assets domain + * (there is no backend route for it), so tests read the versioned public URL: + * slots ${assetsDomain}slots/v-/slots.json + * availability ${assetsDomain}av-/availability.json + * products ${assetsDomain}${apiCacheKey}/v-/products.json + * store detail ${assetsDomain}${apiCacheKey}/v-/stores/.json + * + * Versions come from common.essentialConsts. + */ + +import { apiClient } from './api' + +export interface EssentialConsts { + assetsDomain: string + apiCacheKey: string + cacheVersion: number + slotsVersionNum: number + availabilityVersionNum: number + [key: string]: unknown +} + +export async function essentialConsts(): Promise { + const consts = (await apiClient().common.essentialConsts.query()) as EssentialConsts + if (!consts?.assetsDomain || !consts?.apiCacheKey) { + throw new Error( + `[api-tests] common.essentialConsts is missing assetsDomain/apiCacheKey: ${JSON.stringify(consts)}` + ) + } + return consts +} + +export const slotsCacheUrl = (c: EssentialConsts, version: number) => + `${c.assetsDomain}slots/v-${version}/slots.json` + +export const availabilityCacheUrl = (c: EssentialConsts, version: number) => + `${c.assetsDomain}av-${version}/availability.json` + +export const productsCacheUrl = (c: EssentialConsts, version: number) => + `${c.assetsDomain}${c.apiCacheKey}/v-${version}/products.json` + +export const storesCacheUrl = (c: EssentialConsts, version: number) => + `${c.assetsDomain}${c.apiCacheKey}/v-${version}/stores.json` + +export const essentialConstsCacheUrl = (c: EssentialConsts, version: number) => + `${c.assetsDomain}${c.apiCacheKey}/v-${version}/essential-consts.json` + +export const storeDetailCacheUrl = (c: EssentialConsts, version: number, storeId: number) => + `${c.assetsDomain}${c.apiCacheKey}/v-${version}/stores/${storeId}.json` + +/** GET a cache file and parse it; throws with the status on a non-2xx. */ +export async function fetchCacheJson(url: string): Promise { + const res = await fetch(url) + if (!res.ok) { + throw new Error(`[api-tests] ${res.status} ${res.statusText} fetching cache file ${url}`) + } + return (await res.json()) as T +} + +/** + * Retry `fn` until it returns a value or the timeout elapses. Used for the + * eventual products/stores cache (regenerated ~30s later by the CACHE_CREATOR + * Durable Object). + */ +export async function pollUntil( + label: string, + fn: () => Promise, + options: { timeoutMs?: number; intervalMs?: number } = {} +): Promise { + const timeoutMs = options.timeoutMs ?? 90_000 + const intervalMs = options.intervalMs ?? 5_000 + const deadline = Date.now() + timeoutMs + + let lastError: unknown = null + for (;;) { + try { + const value = await fn() + if (value) return value + } catch (error) { + lastError = error + } + + if (Date.now() >= deadline) { + throw new Error( + `[api-tests] timed out after ${timeoutMs}ms waiting for: ${label}` + + (lastError ? ` (last error: ${(lastError as Error).message})` : '') + ) + } + + await new Promise((resolve) => setTimeout(resolve, intervalMs)) + } +} diff --git a/apps/backend/tests/helpers/consts.ts b/apps/backend/tests/helpers/consts.ts new file mode 100644 index 0000000..b8ba3ff --- /dev/null +++ b/apps/backend/tests/helpers/consts.ts @@ -0,0 +1,42 @@ +/** + * key_val_store constants (delivery charge, min order value, flash gate, …). + * + * `admin.const.getConstants` wraps them in an unknown shape, so this normalizes + * whichever form it returns: `{ constants: [{key,value}] }`, `{ constants: {k:v} }` + * or a bare map. + */ + +import { apiClient } from './api' +import { staffSession } from './sessions' + +export type Constants = Record + +export async function getConstants(): Promise { + const staff = await staffSession() + const res = await apiClient(staff.token).admin.const.getConstants.query() + + const raw = + (res as { constants?: unknown })?.constants ?? + (res as { data?: unknown })?.data ?? + res + + if (Array.isArray(raw)) { + return Object.fromEntries( + raw.map((entry: { key: string; value: unknown }) => [entry.key, entry.value]) + ) + } + return (raw ?? {}) as Constants +} + +/** Update one constant (used to flip the flash gate, always restored by the caller). */ +export async function setConst(key: string, value: unknown): Promise { + const staff = await staffSession() + await apiClient(staff.token).admin.const.updateConstants.mutate({ + constants: [{ key, value }], + }) +} + +export function asNumber(value: unknown, fallback = 0): number { + const parsed = Number(value) + return Number.isFinite(parsed) ? parsed : fallback +} diff --git a/apps/backend/tests/helpers/env.ts b/apps/backend/tests/helpers/env.ts new file mode 100644 index 0000000..865912b --- /dev/null +++ b/apps/backend/tests/helpers/env.ts @@ -0,0 +1,31 @@ +/** + * Environment for the backend API tests. + * + * Values come from tests/.env (loaded in tests/setup.ts). + */ + +export const API_BASE_URL = (process.env.API_BASE_URL ?? 'http://localhost:8787').replace( + /\/+$/, + '' +) + +export const TRPC_URL = `${API_BASE_URL}/api/trpc` + +function required(name: string): string { + const value = process.env[name] + if (!value || !value.trim()) { + throw new Error( + `[api-tests] ${name} is not set. Copy apps/backend/tests/.env.example to ` + + `apps/backend/tests/.env and fill it in.` + ) + } + return value.trim() +} + +export function adminCredentials() { + return { name: required('ADMIN_NAME'), password: required('ADMIN_PASSWORD') } +} + +export function userCredentials() { + return { identifier: required('USER_IDENTIFIER'), password: required('USER_PASSWORD') } +} diff --git a/apps/backend/tests/helpers/fixtures.ts b/apps/backend/tests/helpers/fixtures.ts new file mode 100644 index 0000000..5e68983 --- /dev/null +++ b/apps/backend/tests/helpers/fixtures.ts @@ -0,0 +1,203 @@ +/** + * Fixtures created through the API (there is no data seed for these): + * staff login -> store -> product + SKU -> future slot + * user login -> address + * + * Everything is left behind afterwards (no cleanup), so names carry a unique + * suffix to keep reruns valid. + */ + +import { apiClient, uniqueSuffix } from './api' +import { staffSession, userSession } from './sessions' + +export interface StoreWithSku { + storeId: number + storeName: string + productId: number + productName: string + skuId: number +} + +export interface CreatedSlot { + slotId: number + deliveryTime: string + freezeTime: string + skuIds: number[] +} + +/** Create a store and a one-SKU product inside it; returns the ids. */ +export async function createStoreWithSku( + options: { price?: number } = {} +): Promise { + const staff = await staffSession() + const admin = apiClient(staff.token) + const suffix = uniqueSuffix() + + const storeName = `API Test Store ${suffix}` + const storeRes = await admin.admin.store.createStore.mutate({ + name: storeName, + description: 'Created by apps/backend/tests', + owner: staff.staffId, + }) + + const storeId = (storeRes as { store?: { id?: number } })?.store?.id + if (!storeId) { + throw new Error( + `[api-tests] admin.store.createStore returned no store id: ${JSON.stringify(storeRes)}` + ) + } + + const price = options.price ?? 199 + const productName = `API Test Product ${suffix}` + await admin.admin.product.createProduct.mutate({ + name: productName, + shortDescription: 'API test product', + productType: 'item', + storeId, + skus: [ + { + name: '1pc', + price, + marketPrice: price + 50, + isOutOfStock: false, + features: [{ featureName: 'quantity', featureValue: '1pc' }], + }, + ], + }) + + // Read the product back by name — the create response shape is not relied on. + const listed = await admin.admin.product.getProducts.query() + const product = listed.products.find((p) => p.name === productName) + const skuId = product?.skus?.[0]?.id + const productId = product?.id + if (!productId || !skuId) { + throw new Error( + `[api-tests] created product "${productName}" not found via admin.product.getProducts` + ) + } + + return { storeId, storeName, productId, productName, skuId } +} + +/** Register a throwaway user (token returned immediately) for isolation tests. */ +export async function registerThrowawayUser(): Promise<{ token: string; userId: number }> { + const suffix = uniqueSuffix() + const mobile = `9${String(Math.floor(Math.random() * 1e9)).padStart(9, '0')}` + + const res = await apiClient().user.auth.register.mutate({ + name: `API Test User ${suffix}`, + email: `api-test-${suffix}@example.com`, + mobile, + password: 'TestPass123', + }) + + const token = res?.data?.token + const userId = res?.data?.user?.id + if (!token || !userId) { + throw new Error( + `[api-tests] user.auth.register returned no token/user id: ${JSON.stringify(res)}` + ) + } + + return { token, userId: Number(userId) } +} + +/** + * Create a delivery slot in the future (the public slots cache only includes + * future, non-full slots) and return its id, resolved through the public list. + */ +export async function createFutureSlot( + skuIds: number[], + options: { deliveryInHours?: number; freezeInHours?: number } = {} +): Promise { + const staff = await staffSession() + const admin = apiClient(staff.token) + + const deliveryTime = new Date( + Date.now() + (options.deliveryInHours ?? 3) * 3600_000 + ).toISOString() + const freezeTime = new Date( + Date.now() + (options.freezeInHours ?? 2) * 3600_000 + ).toISOString() + + await admin.admin.slots.createSlot.mutate({ + deliveryTime, + freezeTime, + isActive: true, + skuIds, + }) + + const listed = await apiClient().user.slots.getSlots.query() + const slot = listed.slots.find( + (s) => new Date(s.deliveryTime).toISOString() === deliveryTime + ) + if (!slot) { + throw new Error( + `[api-tests] created slot (delivery ${deliveryTime}) was not returned by user.slots.getSlots` + ) + } + + return { slotId: slot.id, deliveryTime, freezeTime, skuIds } +} + +/** Return an address for the supplied user, creating one if they have none. */ +export async function ensureUserAddress(): Promise<{ addressId: number; created: boolean }> { + const user = await userSession() + const client = apiClient(user.token) + + const existing = await client.user.address.getUserAddresses.query() + const first = existing?.data?.[0] + if (first) return { addressId: first.id, created: false } + + const created = await client.user.address.createAddress.mutate({ + name: 'API Test Address', + phone: '9999999999', + addressLine1: '1 API Test Street', + city: 'Mahabubnagar', + state: 'Telangana', + pincode: '509001', + isDefault: true, + }) + + const addressId = created?.data?.id + if (!addressId) { + throw new Error( + `[api-tests] user.address.createAddress returned no address id: ${JSON.stringify(created)}` + ) + } + + return { addressId, created: true } +} + +/** + * Register a throwaway user and give it a default address, so suites that need + * an isolated account (coupon scoping, first-order-only, per-user limits) can + * place orders without touching the shared user. + */ +export async function registerUserWithAddress(): Promise<{ + token: string + userId: number + addressId: number +}> { + const { token, userId } = await registerThrowawayUser() + const client = apiClient(token) + + const created = await client.user.address.createAddress.mutate({ + name: 'API Test Address', + phone: '9999999999', + addressLine1: '1 API Test Street', + city: 'Mahabubnagar', + state: 'Telangana', + pincode: '509001', + isDefault: true, + }) + + const addressId = created?.data?.id + if (!addressId) { + throw new Error( + `[api-tests] registerUserWithAddress: no address id in ${JSON.stringify(created)}` + ) + } + + return { token, userId, addressId } +} diff --git a/apps/backend/tests/helpers/sessions.ts b/apps/backend/tests/helpers/sessions.ts new file mode 100644 index 0000000..8e00b1c --- /dev/null +++ b/apps/backend/tests/helpers/sessions.ts @@ -0,0 +1,59 @@ +/** + * Staff (admin-ui) and user (app) sessions. + * + * Logs in once per suite and caches the token, so a bad credential fails once + * with a clear message rather than on every request. + */ + +import { apiClient, assertServerUp } from './api' +import { adminCredentials, userCredentials } from './env' + +export interface StaffSession { + token: string + staffId: number + name: string +} + +export interface UserSession { + token: string + userId: number +} + +let staffPromise: Promise | null = null +let userPromise: Promise | null = null + +export function staffSession(): Promise { + staffPromise ??= loginStaff() + return staffPromise +} + +export function userSession(): Promise { + userPromise ??= loginUser() + return userPromise +} + +async function loginStaff(): Promise { + await assertServerUp() + const { name, password } = adminCredentials() + + const res = await apiClient().admin.staffUser.login.mutate({ name, password }) + if (!res?.token || !res?.staff?.id) { + throw new Error('[api-tests] admin.staffUser.login returned no token/staff id') + } + + return { token: res.token, staffId: res.staff.id, name: res.staff.name } +} + +async function loginUser(): Promise { + await assertServerUp() + const { identifier, password } = userCredentials() + + const res = await apiClient().user.auth.login.mutate({ identifier, password }) + const token = res?.data?.token + const userId = res?.data?.user?.id + if (!token || !userId) { + throw new Error('[api-tests] user.auth.login returned no token/user id') + } + + return { token, userId: Number(userId) } +} diff --git a/apps/backend/tests/jest.config.js b/apps/backend/tests/jest.config.js new file mode 100644 index 0000000..780ec6e --- /dev/null +++ b/apps/backend/tests/jest.config.js @@ -0,0 +1,41 @@ +const path = require('path') + +const rootDir = path.resolve(__dirname, '..') + +/** + * Jest project for the backend HTTP/API tests. + * + * These tests talk to a RUNNING backend over HTTP — they do not import server + * runtime code beyond the AppRouter type. Start the server first: + * + * cd apps/backend && bun run dev # wrangler dev on :8787 + * bun run test:api # from apps/backend + * + * Credentials come from tests/.env (see tests/.env.example). + */ +module.exports = { + rootDir, + roots: ['/tests'], + testEnvironment: 'node', + testMatch: ['/tests/**/*.test.ts'], + setupFiles: ['/tests/setup.ts'], + clearMocks: true, + // The suites share one user/session and mutate shared data — run serially. + maxWorkers: 1, + testTimeout: 180000, + transform: { + '^.+\\.tsx?$': ['ts-jest', { tsconfig: '/tests/tsconfig.json' }], + }, + moduleNameMapper: { + '^@/(.*)$': '/$1', + '^@packages/shared$': '/../../packages/shared', + '^@packages/shared/(.*)$': '/../../packages/shared/$1', + '^global-shared$': '/../../packages/shared', + '^global-shared/(.*)$': '/../../packages/shared/$1', + '^shared-types$': '/../shared-types', + '^sqliteService$': '/../../packages/db_helper_sqlite', + '^sqliteService/(.*)$': '/../../packages/db_helper_sqlite/$1', + '^common-ui$': '/../../packages/ui', + '^common-ui/(.*)$': '/../../packages/ui/$1', + }, +} diff --git a/apps/backend/tests/setup.ts b/apps/backend/tests/setup.ts new file mode 100644 index 0000000..d822154 --- /dev/null +++ b/apps/backend/tests/setup.ts @@ -0,0 +1,10 @@ +/** + * Loads the API test environment (credentials + base URL) before the suites run. + * + * tests/.env is git-ignored. Copy tests/.env.example and fill it in. + */ + +import path from 'path' +import dotenv from 'dotenv' + +dotenv.config({ path: path.resolve(__dirname, '.env') }) diff --git a/apps/backend/tests/tsconfig.json b/apps/backend/tests/tsconfig.json new file mode 100644 index 0000000..25c2b7e --- /dev/null +++ b/apps/backend/tests/tsconfig.json @@ -0,0 +1,14 @@ +{ + "extends": "../tsconfig.json", + "compilerOptions": { + "noEmit": true, + "isolatedModules": true, + /* Declared here as well as inherited: the app config's typeRoots are written + relative to apps/backend, so a checker that resolves inherited relative paths + against this file (apps/backend/tests) would miss the hoisted @types/jest and + lose the jest globals. These point at the same directories from here. */ + "typeRoots": ["../../../node_modules/@types", "../node_modules/@types"], + "types": ["jest", "node"] + }, + "include": ["./**/*.ts"] +} diff --git a/apps/backend/wrangler.dev.toml b/apps/backend/wrangler.dev.toml index bdcbe8b..e9276ce 100644 --- a/apps/backend/wrangler.dev.toml +++ b/apps/backend/wrangler.dev.toml @@ -8,10 +8,10 @@ routes = [ [[d1_databases]] binding = "DB" -database_name = "freshyo-backend-dev" -database_id = "b2528bdb-0ec0-478e-8765-b118918153c0" -#database_name = "freshyo-dev" -#database_id = "3cad440f-dc14-4baa-ab05-04eb08e206de" +#database_name = "freshyo-backend-dev" +#database_id = "b2528bdb-0ec0-478e-8765-b118918153c0" +database_name = "freshyo-dev" +database_id = "3cad440f-dc14-4baa-ab05-04eb08e206de" migrations_dir="../../packages/db_helper_sqlite/drizzle" migrations_pattern="migration.sql" [durable_objects] @@ -109,3 +109,11 @@ upload_source_maps = true [[kv_namespaces]] binding="freshyo_otp_dev" id="6f6dbada52584d7fb744c9c85bd0c1e5" + +[[kv_namespaces]] +binding="freshyo_order_tracker_dev" +id="e9d770b725d748e489288a20cf786846" + +[[kv_namespaces]] +binding="freshyo_gen_dev" +id="8213fdabe70d4374a209d886fe74da67" diff --git a/apps/backend/wrangler.prod.toml b/apps/backend/wrangler.prod.toml index 6eec64a..66576ca 100644 --- a/apps/backend/wrangler.prod.toml +++ b/apps/backend/wrangler.prod.toml @@ -101,4 +101,12 @@ upload_source_maps = true [[kv_namespaces]] binding="freshyo_otp" -id="aba74be264df45c0b17757fe01c136e5" \ No newline at end of file +id="aba74be264df45c0b17757fe01c136e5" + +[[kv_namespaces]] +binding="freshyo_order_tracker" +id="ec20eab6e50648b8b45e8e269f9aa0c1" + +[[kv_namespaces]] +binding="freshyo_gen" +id="037cdf0159d8457ea22eeb9a0b4e53fd" \ No newline at end of file diff --git a/apps/fallback-ui/src/constants.ts b/apps/fallback-ui/src/constants.ts index a7d4288..068155f 100644 --- a/apps/fallback-ui/src/constants.ts +++ b/apps/fallback-ui/src/constants.ts @@ -1,6 +1,7 @@ +import { BASE_API_URL } from '@packages/shared' + const webUiConstants = { - baseUrl: 'https://worker.freshyo.in/' - // baseUrl: '/' + baseUrl: `${BASE_API_URL}/` } diff --git a/apps/fallback-ui/vite.config.ts b/apps/fallback-ui/vite.config.ts index 78a2a00..3ca293f 100644 --- a/apps/fallback-ui/vite.config.ts +++ b/apps/fallback-ui/vite.config.ts @@ -9,6 +9,7 @@ export default defineConfig({ resolve: { alias: { '@': path.resolve(__dirname, 'src'), + '@packages/shared': path.resolve(__dirname, '../../packages/shared'), } }, server: { diff --git a/apps/superadmin-ui/.cta.json b/apps/superadmin-ui/.cta.json new file mode 100644 index 0000000..5ba715d --- /dev/null +++ b/apps/superadmin-ui/.cta.json @@ -0,0 +1,19 @@ +{ + "projectName": "superadmin-ui", + "mode": "file-router", + "typescript": true, + "tailwind": true, + "packageManager": "bun", + "git": true, + "install": true, + "intent": true, + "addOnOptions": {}, + "includeExamples": false, + "envVarValues": {}, + "routerOnly": false, + "version": 1, + "framework": "react", + "chosenAddOns": [ + "nitro" + ] +} diff --git a/apps/superadmin-ui/README.md b/apps/superadmin-ui/README.md new file mode 100644 index 0000000..7a2b648 --- /dev/null +++ b/apps/superadmin-ui/README.md @@ -0,0 +1,199 @@ +Welcome to your new TanStack Start app! + +# Getting Started + +To run this application: + +```bash +bun install +bun --bun run dev +``` + +# Building For Production + +To build this application for production: + +```bash +bun --bun run build +``` + +## Styling + +This project uses [Tailwind CSS](https://tailwindcss.com/) for styling. + +### Removing Tailwind CSS + +If you prefer not to use Tailwind CSS: + +1. Remove the demo pages in `src/routes/demo/` +2. Replace the Tailwind import in `src/styles.css` with your own styles +3. Remove `tailwindcss()` from the plugins array in `vite.config.ts` +4. Uninstall the packages: `bun install @tailwindcss/vite tailwindcss -D` + + +## Deploy with Nitro + +This project uses Nitro as a generic server adapter, so it can run on any Node-compatible host. + +```bash +npm run build +node dist/server/index.mjs +``` + +The build output is a self-contained Node server. To deploy, push the `dist/` directory to your host (Render, Fly.io, your own VPS, etc.) and run the server command above. + +For host-specific presets (Vercel, Netlify, Cloudflare, AWS Lambda, etc.) and tuning, see https://v3.nitro.build/deploy. + + + +## Routing + +This project uses [TanStack Router](https://tanstack.com/router) with file-based routing. Routes are managed as files in `src/routes`. + +### Adding A Route + +To add a new route to your application just add a new file in the `./src/routes` directory. + +TanStack will automatically generate the content of the route file for you. + +Now that you have two routes you can use a `Link` component to navigate between them. + +### Adding Links + +To use SPA (Single Page Application) navigation you will need to import the `Link` component from `@tanstack/react-router`. + +```tsx +import { Link } from "@tanstack/react-router"; +``` + +Then anywhere in your JSX you can use it like so: + +```tsx +About +``` + +This will create a link that will navigate to the `/about` route. + +More information on the `Link` component can be found in the [Link documentation](https://tanstack.com/router/v1/docs/framework/react/api/router/linkComponent). + +### Using A Layout + +In the File Based Routing setup the layout is located in `src/routes/__root.tsx`. Anything you add to the root route will appear in all the routes. The route content will appear in the JSX where you render `{children}` in the `shellComponent`. + +Here is an example layout that includes a header: + +```tsx +import { HeadContent, Scripts, createRootRoute } from '@tanstack/react-router' + +export const Route = createRootRoute({ + head: () => ({ + meta: [ + { charSet: 'utf-8' }, + { name: 'viewport', content: 'width=device-width, initial-scale=1' }, + { title: 'My App' }, + ], + }), + shellComponent: ({ children }) => ( + + + + + +
+ +
+ {children} + + + + ), +}) +``` + +More information on layouts can be found in the [Layouts documentation](https://tanstack.com/router/latest/docs/framework/react/guide/routing-concepts#layouts). + +## Server Functions + +TanStack Start provides server functions that allow you to write server-side code that seamlessly integrates with your client components. + +```tsx +import { createServerFn } from '@tanstack/react-start' + +const getServerTime = createServerFn({ + method: 'GET', +}).handler(async () => { + return new Date().toISOString() +}) + +// Use in a component +function MyComponent() { + const [time, setTime] = useState('') + + useEffect(() => { + getServerTime().then(setTime) + }, []) + + return
Server time: {time}
+} +``` + +## API Routes + +You can create API routes by using the `server` property in your route definitions: + +```tsx +import { createFileRoute } from '@tanstack/react-router' +import { json } from '@tanstack/react-start' + +export const Route = createFileRoute('/api/hello')({ + server: { + handlers: { + GET: () => json({ message: 'Hello, World!' }), + }, + }, +}) +``` + +## Data Fetching + +There are multiple ways to fetch data in your application. You can use TanStack Query to fetch data from a server. But you can also use the `loader` functionality built into TanStack Router to load the data for a route before it's rendered. + +For example: + +```tsx +import { createFileRoute } from '@tanstack/react-router' + +export const Route = createFileRoute('/people')({ + loader: async () => { + const response = await fetch('https://swapi.dev/api/people') + return response.json() + }, + component: PeopleComponent, +}) + +function PeopleComponent() { + const data = Route.useLoaderData() + return ( +
    + {data.results.map((person) => ( +
  • {person.name}
  • + ))} +
+ ) +} +``` + +Loaders simplify your data fetching logic dramatically. Check out more information in the [Loader documentation](https://tanstack.com/router/latest/docs/framework/react/guide/data-loading#loader-parameters). + +# Demo files + +Files prefixed with `demo` can be safely deleted. They are there to provide a starting point for you to play around with the features you've installed. + +# Learn More + +You can learn more about all of the offerings from TanStack in the [TanStack documentation](https://tanstack.com). + +For TanStack Start specific documentation, visit [TanStack Start](https://tanstack.com/start). diff --git a/apps/superadmin-ui/bun.lock b/apps/superadmin-ui/bun.lock new file mode 100644 index 0000000..6a00335 --- /dev/null +++ b/apps/superadmin-ui/bun.lock @@ -0,0 +1,869 @@ +{ + "lockfileVersion": 2, + "configVersion": 1, + "workspaces": { + "": { + "name": "superadmin-ui", + "dependencies": { + "@tailwindcss/vite": "^4.1.18", + "@tanstack/react-devtools": "^0.10.2", + "@tanstack/react-query": "^5.100.0", + "@tanstack/react-query-devtools": "^5.100.0", + "@tanstack/react-router": "^1.167.0", + "@tanstack/react-router-devtools": "^1.166.0", + "@tanstack/react-router-ssr-query": "^1.166.0", + "@tanstack/react-start": "^1.167.0", + "@tanstack/router-plugin": "^1.167.0", + "@trpc/client": "^11.17.0", + "@trpc/react-query": "^11.17.0", + "@trpc/server": "^11.17.0", + "axios": "^1.16.0", + "class-variance-authority": "^0.7.1", + "clsx": "^2.1.1", + "dayjs": "^1.11.20", + "formik": "^2.4.9", + "fuse.js": "^7.3.0", + "jwt-decode": "^4.0.0", + "lucide-react": "^0.400.0", + "nitro": "npm:nitro-nightly@latest", + "react": "^19.0.0", + "react-dom": "^19.0.0", + "tailwind-merge": "^3.5.0", + "tailwindcss": "^4.1.18", + "yup": "^1.7.1", + "zustand": "^5.0.13", + }, + "devDependencies": { + "@cloudflare/vite-plugin": "^1.36.3", + "@tanstack/devtools-vite": "^0.6.0", + "@types/node": "^22.10.2", + "@types/react": "^19.0.0", + "@types/react-dom": "^19.0.0", + "@vitejs/plugin-react": "^6.0.1", + "typescript": "^5.8.3", + "vite": "^8.0.0", + "vitest": "^4.1.5", + "wrangler": "^4.90.0", + }, + }, + }, + "packages": { + "@babel/code-frame": ["@babel/code-frame@7.29.7", "", { "dependencies": { "@babel/helper-validator-identifier": "^7.29.7", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" } }, "sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw=="], + + "@babel/compat-data": ["@babel/compat-data@7.29.7", "", {}, "sha512-locTkQyKvwIEgBzVrn8693ebc97F2U8ZHjbXwDXJ5Fn2TCpNwTlKcaKLkdHop5c/icOFE7qt7Q9JC5hnKNa6Gg=="], + + "@babel/core": ["@babel/core@7.29.7", "", { "dependencies": { "@babel/code-frame": "^7.29.7", "@babel/generator": "^7.29.7", "@babel/helper-compilation-targets": "^7.29.7", "@babel/helper-module-transforms": "^7.29.7", "@babel/helpers": "^7.29.7", "@babel/parser": "^7.29.7", "@babel/template": "^7.29.7", "@babel/traverse": "^7.29.7", "@babel/types": "^7.29.7", "@jridgewell/remapping": "^2.3.5", "convert-source-map": "^2.0.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", "json5": "^2.2.3", "semver": "^6.3.1" } }, "sha512-RgHBCvtjbOK2gXSNBNIkNoEc9qoVEtau3hj8gEqKQuL3HZAibKarWFEI3Lfm6EYKkLalOh8eSrj9b+ch9H/VBA=="], + + "@babel/generator": ["@babel/generator@7.29.8", "", { "dependencies": { "@babel/parser": "^7.29.8", "@babel/types": "^7.29.8", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" } }, "sha512-gZbepsdh3WDtgZKWL+vTPh71LSBrm/Y4/QDZBVCcYfmeTEEuoOYwlSy+G1StfJg+/Zy550u/3TATbm7qDbbMtg=="], + + "@babel/helper-compilation-targets": ["@babel/helper-compilation-targets@7.29.7", "", { "dependencies": { "@babel/compat-data": "^7.29.7", "@babel/helper-validator-option": "^7.29.7", "browserslist": "^4.24.0", "lru-cache": "^5.1.1", "semver": "^6.3.1" } }, "sha512-wem6WaBj4NaVYVdNhLPPVacES6ZJ+KBBfSkTMD3YZxbP3rm3Di85tJU5ljaUNhaOynt+Aj0xruhYuzQBt8n71g=="], + + "@babel/helper-globals": ["@babel/helper-globals@7.29.7", "", {}, "sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA=="], + + "@babel/helper-module-imports": ["@babel/helper-module-imports@7.29.7", "", { "dependencies": { "@babel/traverse": "^7.29.7", "@babel/types": "^7.29.7" } }, "sha512-ejHwrQQYcm9xnTivShn2IDOlIzInN34AXskvq9QicvCtEzq1Vzclu/tKF8Jq1Cg8JG2GL6/EmjgsCT7lXepE3g=="], + + "@babel/helper-module-transforms": ["@babel/helper-module-transforms@7.29.7", "", { "dependencies": { "@babel/helper-module-imports": "^7.29.7", "@babel/helper-validator-identifier": "^7.29.7", "@babel/traverse": "^7.29.7" }, "peerDependencies": { "@babel/core": "^7.0.0" } }, "sha512-UPUVSyXbOh627KiCIGQSgwWzGeBKLkaJ9PJEdrngIwMSzxLR4jS4+f1f1jb7VzBbg8nFLaYotvVPFCTqdrmTAg=="], + + "@babel/helper-string-parser": ["@babel/helper-string-parser@7.29.7", "", {}, "sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw=="], + + "@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.29.7", "", {}, "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg=="], + + "@babel/helper-validator-option": ["@babel/helper-validator-option@7.29.7", "", {}, "sha512-N9ZErrD+yW5geCDtBqnOoxmR8+tNKiGuxKlDpuJxfsqpa2dFcexaziGAE/qoHLiDDreVNMupxGmSoNlyvsA3gw=="], + + "@babel/helpers": ["@babel/helpers@7.29.7", "", { "dependencies": { "@babel/template": "^7.29.7", "@babel/types": "^7.29.7" } }, "sha512-1k2lAGRMfHTcwuNYcCNUmaUffmQv8KWMfh2iJUUeRlwlwH4FdNG7mfPI10NPfLHJFThE4Tyr4mv7kTNZOiPuBg=="], + + "@babel/parser": ["@babel/parser@7.29.9", "", { "dependencies": { "@babel/types": "^7.29.8" }, "bin": "./bin/babel-parser.js" }, "sha512-CjXrNHTnvqBVqHgdBysY3vk2T8tpJHb5/RMeHJBTyVa9xgugCB0CJTx/3oO8RV2QRQP391RWpB7D6hLjm8V9uA=="], + + "@babel/template": ["@babel/template@7.29.7", "", { "dependencies": { "@babel/code-frame": "^7.29.7", "@babel/parser": "^7.29.7", "@babel/types": "^7.29.7" } }, "sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg=="], + + "@babel/traverse": ["@babel/traverse@7.29.8", "", { "dependencies": { "@babel/code-frame": "^7.29.7", "@babel/generator": "^7.29.8", "@babel/helper-globals": "^7.29.7", "@babel/parser": "^7.29.8", "@babel/template": "^7.29.7", "@babel/types": "^7.29.8", "debug": "^4.3.1" } }, "sha512-I5z7H3bf/41ktsNVLtpN0wAa336HkqIHQ5BuPLEhTkt1jVSyZpeNKIzTgEWmlxjdg81R0IgUCcaE+Ok3NvrfZg=="], + + "@babel/types": ["@babel/types@7.29.8", "", { "dependencies": { "@babel/helper-string-parser": "^7.29.7", "@babel/helper-validator-identifier": "^7.29.7" } }, "sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg=="], + + "@cloudflare/kv-asset-handler": ["@cloudflare/kv-asset-handler@0.5.0", "", {}, "sha512-jxQYkj8dSIzc0cD6cMMNdOc1UVjqSqu8BZdor5s8cGjW2I8BjODt/kWPVdY+u9zj3ms75Q5qaZgnxUad83+eAg=="], + + "@cloudflare/unenv-preset": ["@cloudflare/unenv-preset@2.16.2", "", { "peerDependencies": { "unenv": "2.0.0-rc.24", "workerd": ">1.20260305.0 <2.0.0-0" }, "optionalPeers": ["workerd"] }, "sha512-JBP1+Z7ZSNG/d4mRP+y8VC5dka3tZVMLEZRvS+rzQ4DGV1EoxRFQckcJTTkXbHSQiTj0DtNI01Zwb/V2fX0mvQ=="], + + "@cloudflare/vite-plugin": ["@cloudflare/vite-plugin@1.62.3", "", { "dependencies": { "@cloudflare/unenv-preset": "2.16.2", "miniflare": "5.20260930.0-alpha", "unenv": "2.0.0-rc.24", "workerd": "1.20260930.2", "wrangler": "4.145.0", "ws": "8.21.0" }, "peerDependencies": { "vite": "^6.1.0 || ^7.0.0 || ^8.0.0" }, "bin": { "cf-vite": "bin/cf-vite" } }, "sha512-WpV0l/4GPv5m0EO0zNQudSH2hMOeadG4d49Sh7RxxkKInrp43M6EPaAYU2vwu6CvLjUd5qI98yMdWwEhMNEY+g=="], + + "@cloudflare/workerd-darwin-64": ["@cloudflare/workerd-darwin-64@1.20260930.2", "", { "os": "darwin", "cpu": "x64" }, "sha512-wxKsfekWeev6xkjHEMx3x7nz6WfWOn1/scQ8geqWQhUm8qRl1ZRZhjnj+rucIMLhLhP9RGSYMZIjEm3AV0zwVQ=="], + + "@cloudflare/workerd-darwin-arm64": ["@cloudflare/workerd-darwin-arm64@1.20260930.2", "", { "os": "darwin", "cpu": "arm64" }, "sha512-cviPpheZGQ2H5X+Ctxd3wfxhksNrdyoNprjSgg3br2+psetKacjdEvK8CILdN/2GF+u1KOExvr45amSL6lgzGA=="], + + "@cloudflare/workerd-linux-64": ["@cloudflare/workerd-linux-64@1.20260930.2", "", { "os": "linux", "cpu": "x64" }, "sha512-cwrJAC5y/avPd1OzGyhc5OvUUfPXBFc065TY5CjXp7Hb3dhiTx6JeB5Pc8L3G8L8M44HyAfRHSpoLtRr+SR3cQ=="], + + "@cloudflare/workerd-linux-arm64": ["@cloudflare/workerd-linux-arm64@1.20260930.2", "", { "os": "linux", "cpu": "arm64" }, "sha512-FHucB4gak1IuT+IxLx3KbtMBMapZhcqD9EdhHvBxk1FpHwD2QU5x26MRRVN53jIKG/O25HUmE9yffb3cMANQgw=="], + + "@cloudflare/workerd-windows-64": ["@cloudflare/workerd-windows-64@1.20260930.2", "", { "os": "win32", "cpu": "x64" }, "sha512-JHFMdGFMqP+M2QiVzZq1S8Ie66Gvxo7Og5EYz/KtmDvGCqge5L3lK+ksZxAhF3j/tpSLqdvlUvcTKoR9PkwTTQ=="], + + "@corvu/utils": ["@corvu/utils@0.4.2", "", { "dependencies": { "@floating-ui/dom": "^1.6.11" }, "peerDependencies": { "solid-js": "^1.8" } }, "sha512-Ox2kYyxy7NoXdKWdHeDEjZxClwzO4SKM8plAaVwmAJPxHMqA0rLOoAsa+hBDwRLpctf+ZRnAd/ykguuJidnaTA=="], + + "@cspotcode/source-map-support": ["@cspotcode/source-map-support@0.8.1", "", { "dependencies": { "@jridgewell/trace-mapping": "0.3.9" } }, "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw=="], + + "@emnapi/runtime": ["@emnapi/runtime@1.11.3", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-Xz4Tpyki7XyrpbUK1jR1AhdAdaXyhhY4lZ3neLodmhpuWfy2PAQN5B46sAiU4liOXGLkHypn/qU+jvfWSCYYLA=="], + + "@esbuild/aix-ppc64": ["@esbuild/aix-ppc64@0.28.1", "", { "os": "aix", "cpu": "ppc64" }, "sha512-Svl7tq8k/08+p6CXPpRjQ1fKX+1odH/BQbb48fV6fj3CWHhsoIOoY87w1oHXm0qEpkIK3ZfVgp0hed3XBXzXMQ=="], + + "@esbuild/android-arm": ["@esbuild/android-arm@0.28.1", "", { "os": "android", "cpu": "arm" }, "sha512-0k2F129Xdio1TdJfzJ8sy1Q47vUD2NnwdhiAf7drUN1EBTfPf4hsFCtmMgu/6m8JSzsBrlmVjudMBQqOfG8usQ=="], + + "@esbuild/android-arm64": ["@esbuild/android-arm64@0.28.1", "", { "os": "android", "cpu": "arm64" }, "sha512-34EGEbCIAgosYz6goLcopX6Mo7NyGv9tfwEM2/7Ce2VcVRk568iSvniGWcUXIy7wEDR1wzolcxcriFVrWYcwBg=="], + + "@esbuild/android-x64": ["@esbuild/android-x64@0.28.1", "", { "os": "android", "cpu": "x64" }, "sha512-dbwY7ltSMDWsRatcRpCnES4F+im88OCUgGZjy52shC7GqHRE/cYlxNbB4Z4UpJswpcc4Qxd2oE/ufM0p61IKng=="], + + "@esbuild/darwin-arm64": ["@esbuild/darwin-arm64@0.28.1", "", { "os": "darwin", "cpu": "arm64" }, "sha512-TZbWkQY7kvTAXbXUT7uVACR5cMHsDiSz9z7ZKAX/RTq/WJEk3QyRr0wZpNhBDX+/0CtdqUIJlOiodQcta6tY3Q=="], + + "@esbuild/darwin-x64": ["@esbuild/darwin-x64@0.28.1", "", { "os": "darwin", "cpu": "x64" }, "sha512-zfdzgK9ACBNZLI/CyHTOx81SyNbM6YXn7rxSgX97VjyiPl9W1i4Ka4fgKECEoFCKGpvBj5qArWIGgQjOwkgskQ=="], + + "@esbuild/freebsd-arm64": ["@esbuild/freebsd-arm64@0.28.1", "", { "os": "freebsd", "cpu": "arm64" }, "sha512-wG2EA8ENdEI0qhkSZMjfqrdY+ziCYCPMmtZjjIwOmXFjmyzEHn+UUxk5of+SYsjtfs3VpnlC7QLzSI5hY/rOAw=="], + + "@esbuild/freebsd-x64": ["@esbuild/freebsd-x64@0.28.1", "", { "os": "freebsd", "cpu": "x64" }, "sha512-i7dZ9vQgnvSCzi/rYCXNgtF/U+eKZNJBzu3eTQbRgHnM7tNSizLOkRFAl3qzVc/Op/u5YkHHa4pf/3DOYHthLQ=="], + + "@esbuild/linux-arm": ["@esbuild/linux-arm@0.28.1", "", { "os": "linux", "cpu": "arm" }, "sha512-qVXBOHQS+d5Y722GwJzJUtOLlX7km3CraOaGormF1pDtPd2C/l1SHRPgjLunLGe51Sh5YYWKMFDyV4SxgMQYTQ=="], + + "@esbuild/linux-arm64": ["@esbuild/linux-arm64@0.28.1", "", { "os": "linux", "cpu": "arm64" }, "sha512-yHs+0uc8+nvEAfAfxrWQKK5peSNzBc4PegcMO0EJ2hT71uA7vB8Ihg2e77R2P7SG5uYjPbHlLLmve4LLLRCf0g=="], + + "@esbuild/linux-ia32": ["@esbuild/linux-ia32@0.28.1", "", { "os": "linux", "cpu": "ia32" }, "sha512-d1z4ZuP0ajrfz/FhGT4vv278rX8KnPPJx8i5+AtK7TYbx9Le9F1hyzurZpkEyjkGa9dUGhQow4C1NmeGvqxN2w=="], + + "@esbuild/linux-loong64": ["@esbuild/linux-loong64@0.28.1", "", { "os": "linux", "cpu": "none" }, "sha512-M5sRjUVZrkm1OAPR3dlOYzNmN+loZKGVi1VUQGrwuqLcbR6qeAz+famMhjASeH3YVKvZz+zT1jlh/keC3Rj/lg=="], + + "@esbuild/linux-mips64el": ["@esbuild/linux-mips64el@0.28.1", "", { "os": "linux", "cpu": "none" }, "sha512-mRObBZeHh2OxcBFPWE/FjylkRgZdYuiTR3vaTozquCGOH14iP9oN4x4Ge81CoIDYQrXmIxpFumJBu5MtZpnQJQ=="], + + "@esbuild/linux-ppc64": ["@esbuild/linux-ppc64@0.28.1", "", { "os": "linux", "cpu": "ppc64" }, "sha512-slScBsMAb3GFDcdrCgLwZtPYRoH2H/youv10QiZyRjmsP48fznoveWytSgCI/R0ZcUgpc0ZhIUEx6LHts8yrfQ=="], + + "@esbuild/linux-riscv64": ["@esbuild/linux-riscv64@0.28.1", "", { "os": "linux", "cpu": "none" }, "sha512-kw0owk1o0GFETUJyW0jc0G4Yzs0BHZn0JDZ8JRT088vjJYX777BAs1fDGxAC+q831qOs2DTC96mNsG2opdfyyQ=="], + + "@esbuild/linux-s390x": ["@esbuild/linux-s390x@0.28.1", "", { "os": "linux", "cpu": "s390x" }, "sha512-/lAIjX8aYFRByhh6L5rYtPEDRqa9de/4V/juOXcta5frjvzXO4/sqEtyytse0g3zZFuWu5cDN0MkLz2qRDD2Ag=="], + + "@esbuild/linux-x64": ["@esbuild/linux-x64@0.28.1", "", { "os": "linux", "cpu": "x64" }, "sha512-u/anNYF2mmVOEDwLtnQ1wOr3EZ9sTNGLWrsYGYwHWzGA3Si84IOkHXlbWTD1NB+9/1lcnweYKO54uhxZydNzfA=="], + + "@esbuild/netbsd-arm64": ["@esbuild/netbsd-arm64@0.28.1", "", { "os": "none", "cpu": "arm64" }, "sha512-oks0DYbLwWMmaakTsCb+zL4E+aHRVLom9IJZOAthMQEPiQmydXHkziYEsGYRx0uNV/IjEKGAV941JzH02pflqw=="], + + "@esbuild/netbsd-x64": ["@esbuild/netbsd-x64@0.28.1", "", { "os": "none", "cpu": "x64" }, "sha512-aeL6lAnN89Hz43Mlh1G8ARasbuoYvSITDEx0tHh5b7jJnHcssqgjy9Yx430GDpmCa6OyrKoS0aNRjKundRizGg=="], + + "@esbuild/openbsd-arm64": ["@esbuild/openbsd-arm64@0.28.1", "", { "os": "openbsd", "cpu": "arm64" }, "sha512-MEFJe5C3R8pwXdZ5Y21oo6m7ePiS0d9pWucn99O/wvyJZChoIQKrQDxKrGeW8F5+T0okTHesAmDeiHDTIq0V/Q=="], + + "@esbuild/openbsd-x64": ["@esbuild/openbsd-x64@0.28.1", "", { "os": "openbsd", "cpu": "x64" }, "sha512-i/ZLIOafE0Z8cI/XANJAixoJL/uRAoS2xOA3rb0xN+KK0K177cMAsQYkzHtBrtMXAKuAc7HGgcWiZ/sRC1Nxgw=="], + + "@esbuild/openharmony-arm64": ["@esbuild/openharmony-arm64@0.28.1", "", { "os": "none", "cpu": "arm64" }, "sha512-ge+Z7EXFNt2BO1oAMsVpiQ8EwndV9i1xXerAeTIK7AtPs3bKFXQM7nlRxDSIUIMeueR1CNXxqztLzdNeReKBJg=="], + + "@esbuild/sunos-x64": ["@esbuild/sunos-x64@0.28.1", "", { "os": "sunos", "cpu": "x64" }, "sha512-BEjgtECkL3vY+SaSQ6nzVfiALUeFxpawyp8Jmf5PtYhf1Ug40N1h/hxlhts+f1FvSvarEigdxS3BlSMI2PJLcQ=="], + + "@esbuild/win32-arm64": ["@esbuild/win32-arm64@0.28.1", "", { "os": "win32", "cpu": "arm64" }, "sha512-lCv9eK/H6ZJWbE7bh2nw54CZ9M2nupBxJcTsdk/QQnWkdSjKGuxmmH8/GWrlT1eMmZfn4dGcCjRte397WqfQXA=="], + + "@esbuild/win32-ia32": ["@esbuild/win32-ia32@0.28.1", "", { "os": "win32", "cpu": "ia32" }, "sha512-zvb/mB2bSCoJOpoCBgYKKpX6YM6mJBlBUVUtVj41DlZJVEB6/0CKlRYxP5wWl1C1ILiCoAU5wZZ4q1P3qeS6Eg=="], + + "@esbuild/win32-x64": ["@esbuild/win32-x64@0.28.1", "", { "os": "win32", "cpu": "x64" }, "sha512-bm4Mowrv+GXMlpWX++EcXw/iLyd1o3+bJkC2DkWXYVvgZCqD/bSj9ctZeAMC3cIxgjRVR2Dufaiu4YPxr5gW1A=="], + + "@floating-ui/core": ["@floating-ui/core@1.8.0", "", { "dependencies": { "@floating-ui/utils": "^0.2.12" } }, "sha512-0CIZ5itps/8x7BG8dEIhs53BvCUH2PCoogtakwRTut+Arm58sJooJ0AuZhLw2HJYIR5cMLNPBSS728sPho2khQ=="], + + "@floating-ui/dom": ["@floating-ui/dom@1.8.0", "", { "dependencies": { "@floating-ui/core": "^1.8.0", "@floating-ui/utils": "^0.2.12" } }, "sha512-yXSrzeHZBTZadLOlfyhCkJHNeLJnHRnRInwdZ40L7ZiaAtrBwoYlsDrX3v5zB1Utk7CLfzcOVnVVWoXEky7Ceg=="], + + "@floating-ui/utils": ["@floating-ui/utils@0.2.12", "", {}, "sha512-HpCo8tmWzLVad5s2d19EhAz5zqrrQ6s69qd6moPMQvkOuSwDT1YgRfWSVuc4ennqrgv3OHppiOGMQ7oC13yIww=="], + + "@img/colour": ["@img/colour@1.1.0", "", {}, "sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ=="], + + "@img/sharp-darwin-arm64": ["@img/sharp-darwin-arm64@0.35.4", "", { "optionalDependencies": { "@img/sharp-libvips-darwin-arm64": "1.3.3" }, "os": "darwin", "cpu": "arm64" }, "sha512-Uhfl4V4lhP2nbUVF9+hyH1+luj86f1gUFeo8ALYxFoULoU+G87D43BfeMP8XHsk9boxAnCY/bf2EHwhA7MuGsA=="], + + "@img/sharp-darwin-x64": ["@img/sharp-darwin-x64@0.35.4", "", { "optionalDependencies": { "@img/sharp-libvips-darwin-x64": "1.3.3" }, "os": "darwin", "cpu": "x64" }, "sha512-hWniXY3bG5qKpkKrAwPe4y+VTPmf086YQAnkxWh7uA1YrlRouWGa0M0Mxj3ZjnXFkv7/TD1bTy9lGUK26vRvWw=="], + + "@img/sharp-freebsd-wasm32": ["@img/sharp-freebsd-wasm32@0.35.4", "", { "dependencies": { "@img/sharp-wasm32": "0.35.4" }, "os": "freebsd" }, "sha512-lIsKw/BU+kjB4eZjxrYrZmwOJYi3Ajrv66iAlBmUPyKc3HpnloevB1g3wxGD9P/5BbQ1brBGl65VRRrCvQDEqA=="], + + "@img/sharp-libvips-darwin-arm64": ["@img/sharp-libvips-darwin-arm64@1.3.3", "", { "os": "darwin", "cpu": "arm64" }, "sha512-suTBPTDGrI9WodccaDdwZItTSaBYASlBk1NSfElSHrUfzu3szG6lvIF58+WiFvnfzuK8ZBFS5zE00PxqxnRiPg=="], + + "@img/sharp-libvips-darwin-x64": ["@img/sharp-libvips-darwin-x64@1.3.3", "", { "os": "darwin", "cpu": "x64" }, "sha512-FVJZ5mITMobmXIz/hPDTw0EintTW5H3WfrxwLqEqjiIihlu+hVRyGrFQ60xl0Lxn7Bt3zdpevPaQi0HEzqz9fw=="], + + "@img/sharp-libvips-linux-arm": ["@img/sharp-libvips-linux-arm@1.3.3", "", { "os": "linux", "cpu": "arm" }, "sha512-3rbU4vqXXc3hY/OiXdl52xZvT0F1yEngWfvqudtPJg/KkyiaQw2DRsFrNzpmLvfavbwOq3qXn36GP8obHRULQA=="], + + "@img/sharp-libvips-linux-arm64": ["@img/sharp-libvips-linux-arm64@1.3.3", "", { "os": "linux", "cpu": "arm64" }, "sha512-0DaL0A6Xu6sQSQFwe4iVCrKWU2cCTItnRsYsCdxAMm9NF6twAA9BKnoqy4hqz4+azQ0JHuA26qiUKsf1XJ/v5A=="], + + "@img/sharp-libvips-linux-ppc64": ["@img/sharp-libvips-linux-ppc64@1.3.3", "", { "os": "linux", "cpu": "ppc64" }, "sha512-cdn1OvUBwsXhbC0zSzJnNzf5MZ/mTrobawDvNXBTxe8VtqKAm0sRuEY2Evzovb/w9JMk4TvRxqt1mekSuJz64w=="], + + "@img/sharp-libvips-linux-riscv64": ["@img/sharp-libvips-linux-riscv64@1.3.3", "", { "os": "linux", "cpu": "none" }, "sha512-HjPVx7yKz+0lqdhDlTw1tt90wamBoxhiXpvl1XZpJLiHH4RCJ5yDTqH+VlYPv2fwFs89JFw4c1IexYOcQUi4IQ=="], + + "@img/sharp-libvips-linux-s390x": ["@img/sharp-libvips-linux-s390x@1.3.3", "", { "os": "linux", "cpu": "s390x" }, "sha512-neWLh+3yCNThxnfy3c4BbVBeGgt9aftno+XbT56iK28RgeDs3UOFWviLWlUu0bArYVYJaFDK+RRohbicUNCm8Q=="], + + "@img/sharp-libvips-linux-x64": ["@img/sharp-libvips-linux-x64@1.3.3", "", { "os": "linux", "cpu": "x64" }, "sha512-4vKmvAst9nrowcqquKFAyZJUDolUaIp8uRiN0mWFguJ1IplC9/pitXtlnnlU4aa/eJw3J7i67V+pwUL+wZGdsA=="], + + "@img/sharp-libvips-linuxmusl-arm64": ["@img/sharp-libvips-linuxmusl-arm64@1.3.3", "", { "os": "linux", "cpu": "arm64" }, "sha512-Y9kQaLMuNoB0bPYOOdcZMaseNrFpPodIWWMrx+CZyydf2xn68j9WYc6sWWRrDwNkzCQjKYfc68L7jKjGlHMibw=="], + + "@img/sharp-libvips-linuxmusl-x64": ["@img/sharp-libvips-linuxmusl-x64@1.3.3", "", { "os": "linux", "cpu": "x64" }, "sha512-fj8Mv0HHfD1Rr+4I68+3agJynxDWtBFgicTbSOb9Bke6pIwzGcJ+RX/yHjmiEGFMCavY/dxvem7MyNaJF+wDiw=="], + + "@img/sharp-linux-arm": ["@img/sharp-linux-arm@0.35.4", "", { "optionalDependencies": { "@img/sharp-libvips-linux-arm": "1.3.3" }, "os": "linux", "cpu": "arm" }, "sha512-7OAS8gI0EReKGVN2HssHlM6umJgxF5VI3xN0p9FA91p/YO+ou5hiNghLdZ5BEHztwaaK5+bLKRf8x/o2L2nk9A=="], + + "@img/sharp-linux-arm64": ["@img/sharp-linux-arm64@0.35.4", "", { "optionalDependencies": { "@img/sharp-libvips-linux-arm64": "1.3.3" }, "os": "linux", "cpu": "arm64" }, "sha512-De4jpEnAU8Hd5oT0j1G3uL4ZvTuipVMn7YC6vPaJhy6/7EwEae0SVAoBrUMYQbkLGDm85taVWwuPc1a44LTzCQ=="], + + "@img/sharp-linux-ppc64": ["@img/sharp-linux-ppc64@0.35.4", "", { "optionalDependencies": { "@img/sharp-libvips-linux-ppc64": "1.3.3" }, "os": "linux", "cpu": "ppc64" }, "sha512-2oYZJeIl4kCcMGk4ouZVjnkCtFrpQFlNEtJ6GbxzhHQchwH0NH/qEb9ykmOl29dqwMq+JhFdZn+1ak2FKhI9fQ=="], + + "@img/sharp-linux-riscv64": ["@img/sharp-linux-riscv64@0.35.4", "", { "optionalDependencies": { "@img/sharp-libvips-linux-riscv64": "1.3.3" }, "os": "linux", "cpu": "none" }, "sha512-cPbNChoRURAWdebDIHSenxRpgEdy7JkPydSnUxRm9VvKD7m0/xVaR/8Fzlu81pk5nHEvHH87UZUA7cTtwnbJSA=="], + + "@img/sharp-linux-s390x": ["@img/sharp-linux-s390x@0.35.4", "", { "optionalDependencies": { "@img/sharp-libvips-linux-s390x": "1.3.3" }, "os": "linux", "cpu": "s390x" }, "sha512-RY0JFY8Fd6RonCBtHz+DvadaPkXDSI1AUn6yWL9TipqkZ1vY8w8evqdgyDFnkm4/K1ve1TvZiaePP5oSd4+WVQ=="], + + "@img/sharp-linux-x64": ["@img/sharp-linux-x64@0.35.4", "", { "optionalDependencies": { "@img/sharp-libvips-linux-x64": "1.3.3" }, "os": "linux", "cpu": "x64" }, "sha512-9qvvEAuk8k89TfWUoX2htWjbAMX8p+NxCppjpcg5k6xMsjhBQPTsoIh36h9Qde4WRuGpJeYnOjdosDn/cnv+OA=="], + + "@img/sharp-linuxmusl-arm64": ["@img/sharp-linuxmusl-arm64@0.35.4", "", { "optionalDependencies": { "@img/sharp-libvips-linuxmusl-arm64": "1.3.3" }, "os": "linux", "cpu": "arm64" }, "sha512-KB5jxpfWQTr0nc3xdHtWChdbifHrBGsd2SM62Eyxrl8afikm+f5qGBU75SJIZBT/S1MC8XyacdlXBMSWq6OURA=="], + + "@img/sharp-linuxmusl-x64": ["@img/sharp-linuxmusl-x64@0.35.4", "", { "optionalDependencies": { "@img/sharp-libvips-linuxmusl-x64": "1.3.3" }, "os": "linux", "cpu": "x64" }, "sha512-f+eZJZIQNEEd26RPSW+76chwOf1XtA2Y/O+5ocVyLliHkeih3e+jhLVBdNTd2rS3IbNXK8+ug93Vf5ZXtF5Lxg=="], + + "@img/sharp-wasm32": ["@img/sharp-wasm32@0.35.4", "", { "dependencies": { "@emnapi/runtime": "^1.11.3" } }, "sha512-zQnl4Kwp7Q6NHsENtU2T/00Zi+w3AQNwz3+UaTyVBy2FpXrzXzGjndpK61onhZjRtRpQXxCTeqw19bVyXOh7jA=="], + + "@img/sharp-webcontainers-wasm32": ["@img/sharp-webcontainers-wasm32@0.35.4", "", { "dependencies": { "@img/sharp-wasm32": "0.35.4" }, "cpu": "none" }, "sha512-ESfNkywmCfPNyaZjxooddJQiQ+l/nTpGEOGthxiLnIHXC/CmcBixnfwUleX9mCz9ovrUUvKMap/pm8RYbzfwaA=="], + + "@img/sharp-win32-arm64": ["@img/sharp-win32-arm64@0.35.4", "", { "os": "win32", "cpu": "arm64" }, "sha512-iNdlBX9gLVvqe2I3uIJSIKTq6wckP/DYxZtcqxm09x5Gi24DnFBmPAWZmr60ZyYMG0xlzo6goG3670ar+RXvRw=="], + + "@img/sharp-win32-ia32": ["@img/sharp-win32-ia32@0.35.4", "", { "os": "win32", "cpu": "ia32" }, "sha512-kqRsbaa5CS6KHlpxnN7WhE6vAAugXyZButpRdvDWetlv6Qv4N9WTcrWzF7tXfB9T7MsoadqdI8hmwLq6UlLvtw=="], + + "@img/sharp-win32-x64": ["@img/sharp-win32-x64@0.35.4", "", { "os": "win32", "cpu": "x64" }, "sha512-XtmnYhBcrORsJ4XJngyzr/EWP0hRZLAZRFaApdKuviyqF78+ylxh2y06ZmtULAMOnObJ3ucpN0AcwSWnMowTRg=="], + + "@internationalized/number": ["@internationalized/number@3.6.8", "", { "dependencies": { "@swc/helpers": "^0.5.0" } }, "sha512-8UmMFia46DUt+k97zKd9fKWXcWHR+k8ae3eYzILETuT2KbIvLyOfac7zesw+sJdRAAZ7Q9pM1Mk22aXp2LD0Ig=="], + + "@jridgewell/gen-mapping": ["@jridgewell/gen-mapping@0.3.13", "", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.0", "@jridgewell/trace-mapping": "^0.3.24" } }, "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA=="], + + "@jridgewell/remapping": ["@jridgewell/remapping@2.3.5", "", { "dependencies": { "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.24" } }, "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ=="], + + "@jridgewell/resolve-uri": ["@jridgewell/resolve-uri@3.1.2", "", {}, "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw=="], + + "@jridgewell/sourcemap-codec": ["@jridgewell/sourcemap-codec@1.6.0", "", {}, "sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw=="], + + "@jridgewell/trace-mapping": ["@jridgewell/trace-mapping@0.3.31", "", { "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", "@jridgewell/sourcemap-codec": "^1.4.14" } }, "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw=="], + + "@kobalte/core": ["@kobalte/core@0.13.14", "", { "dependencies": { "@floating-ui/dom": "^1.5.1", "@internationalized/number": "^3.2.1", "@kobalte/utils": "^0.9.2", "@solid-primitives/props": "^3.1.8", "@solid-primitives/resize-observer": "^2.0.26", "solid-presence": "^0.2.0", "solid-prevent-scroll": "^0.1.11" }, "peerDependencies": { "solid-js": "^1.9.8" } }, "sha512-SBVB1lnvYbYt2x3t7fG0lo5fGLEbHQ6PII3NDPva8vD5e2v53On84ZVQiuIk0XI/55R4GQhden7Yem+R/XR8uQ=="], + + "@kobalte/utils": ["@kobalte/utils@0.9.2", "", { "dependencies": { "@solid-primitives/event-listener": "^2.2.14", "@solid-primitives/keyed": "^1.2.0", "@solid-primitives/map": "^0.4.7", "@solid-primitives/media": "^2.2.4", "@solid-primitives/props": "^3.1.8", "@solid-primitives/refs": "^1.0.5", "@solid-primitives/utils": "^6.2.1" }, "peerDependencies": { "solid-js": "^1.8.8" } }, "sha512-jRVXr+zsVHxzDXRoh+CDeXzvCsFJ6uiHhqqNQ26Cw9ZsZ3D6nqPUBt1gGVtj2ZPmRL3a9Uk1v8D1aJ8/I12Dow=="], + + "@neodrag/core": ["@neodrag/core@3.0.0-next.11", "", {}, "sha512-3WQWxyrbxiaK9zS5JU2wJsW2gpoQlZBXVghduBh61JpqaeE0T0cte8R0qYK2RuJo3J2TYQYqxO19CpG/C1i5eg=="], + + "@neodrag/solid": ["@neodrag/solid@3.0.0-next.11", "", { "peerDependencies": { "@neodrag/core": "3.0.0-next.11", "solid-js": "^1.0.0" } }, "sha512-vCBIn/pimjWMQ6vhTS2/O1XNAwzVtc4eUhdbQ91WykbZWWqQ5NocDXt/1OdYrEkeRzJcpCv8wEz5PnMkgKP81Q=="], + + "@oozcitak/dom": ["@oozcitak/dom@2.0.2", "", { "dependencies": { "@oozcitak/infra": "^2.0.2", "@oozcitak/url": "^3.0.0", "@oozcitak/util": "^10.0.0" } }, "sha512-GjpKhkSYC3Mj4+lfwEyI1dqnsKTgwGy48ytZEhm4A/xnH/8z9M3ZVXKr/YGQi3uCLs1AEBS+x5T2JPiueEDW8w=="], + + "@oozcitak/infra": ["@oozcitak/infra@2.0.2", "", { "dependencies": { "@oozcitak/util": "^10.0.0" } }, "sha512-2g+E7hoE2dgCz/APPOEK5s3rMhJvNxSMBrP+U+j1OWsIbtSpWxxlUjq1lU8RIsFJNYv7NMlnVsCuHcUzJW+8vA=="], + + "@oozcitak/url": ["@oozcitak/url@3.0.0", "", { "dependencies": { "@oozcitak/infra": "^2.0.2", "@oozcitak/util": "^10.0.0" } }, "sha512-ZKfET8Ak1wsLAiLWNfFkZc/BraDccuTJKR6svTYc7sVjbR+Iu0vtXdiDMY4o6jaFl5TW2TlS7jbLl4VovtAJWQ=="], + + "@oozcitak/util": ["@oozcitak/util@10.0.0", "", {}, "sha512-hAX0pT/73190NLqBPPWSdBVGtbY6VOhWYK3qqHqtXQ1gK7kS2yz4+ivsN07hpJ6I3aeMtKP6J6npsEKOAzuTLA=="], + + "@oxc-project/types": ["@oxc-project/types@0.152.0", "", {}, "sha512-oM/5rLBm2tPkg0iBgkH/FOeR3PCDpY19GTgAZjMFM8h9WI9VW7cLgzp6nwtarYKmovavIQZ+Fe/RKX/8C8O/Rw=="], + + "@poppinss/colors": ["@poppinss/colors@4.1.6", "", { "dependencies": { "kleur": "^4.1.5" } }, "sha512-H9xkIdFswbS8n1d6vmRd8+c10t2Qe+rZITbbDHHkQixH5+2x1FDGmi/0K+WgWiqQFKPSlIYB7jlH6Kpfn6Fleg=="], + + "@poppinss/dumper": ["@poppinss/dumper@0.6.5", "", { "dependencies": { "@poppinss/colors": "^4.1.5", "@sindresorhus/is": "^7.0.2", "supports-color": "^10.0.0" } }, "sha512-NBdYIb90J7LfOI32dOewKI1r7wnkiH6m920puQ3qHUeZkxNkQiFnXVWoE6YtFSv6QOiPPf7ys6i+HWWecDz7sw=="], + + "@poppinss/exception": ["@poppinss/exception@1.2.3", "", {}, "sha512-dCED+QRChTVatE9ibtoaxc+WkdzOSjYTKi/+uacHWIsfodVfpsueo3+DKpgU5Px8qXjgmXkSvhXvSCz3fnP9lw=="], + + "@rolldown/binding-android-arm-eabi": ["@rolldown/binding-android-arm-eabi@1.2.12", "", { "os": "android", "cpu": "arm" }, "sha512-dB/a1214qKfHMXCpgqR4OZT+jS4kTyEXbQGJPqzobt5EwH5rX080pxE37alt3RzvR1bf1Yz/yGqRfrYAxuPw0A=="], + + "@rolldown/binding-android-arm64": ["@rolldown/binding-android-arm64@1.2.12", "", { "os": "android", "cpu": "arm64" }, "sha512-7KHFgQ5VJxIHcLlrwrc3Xbds7oTNQT7Pgi9gQCJKrd2VGab/UksIOYp6VD8MzCstGxOKMgNamPwUCfxPdP1OHg=="], + + "@rolldown/binding-darwin-arm64": ["@rolldown/binding-darwin-arm64@1.2.12", "", { "os": "darwin", "cpu": "arm64" }, "sha512-3YIhqHD96nA5SaYNRBR16HnGv4oavZvXfD/ayHM+oYZ0WD/8lBAtf6zQua4kEyAvpqrluKXl0lnOBoiNby7x9w=="], + + "@rolldown/binding-darwin-x64": ["@rolldown/binding-darwin-x64@1.2.12", "", { "os": "darwin", "cpu": "x64" }, "sha512-UuuJ35MFw4gmFOrE9pEqIV+K3syIKveph+Qc1/ljHZVdoDW4pz/JHR/eMVom+TZGl/5OOvGJOWaOCVt3ZfqhxA=="], + + "@rolldown/binding-freebsd-x64": ["@rolldown/binding-freebsd-x64@1.2.12", "", { "os": "freebsd", "cpu": "x64" }, "sha512-uMvssit0a4W+/7D8CbHUvG719mH3R2jwXAlh/XcPvuHTE0g++LymF88DCGNX0HM2rBOn0xrzgXktIB6fLSJBTQ=="], + + "@rolldown/binding-linux-arm-gnueabihf": ["@rolldown/binding-linux-arm-gnueabihf@1.2.12", "", { "os": "linux", "cpu": "arm" }, "sha512-XcFu0R0xWnwzSf4IQgFH1rJIckPN1pLy2R+4r9IDB7Yfu/ys9cVqfa4pBrMHj7a3gl8mIR4nRNPg0e5IvEVs6g=="], + + "@rolldown/binding-linux-arm64-gnu": ["@rolldown/binding-linux-arm64-gnu@1.2.12", "", { "os": "linux", "cpu": "arm64" }, "sha512-260UrKgn8tz39ak+SMDOirKzr7V04M9dWPw5llW00SwBivCZoWcRBKV1d8cXnRkUmSZA3BdiUmBHWk7734Ulpw=="], + + "@rolldown/binding-linux-arm64-musl": ["@rolldown/binding-linux-arm64-musl@1.2.12", "", { "os": "linux", "cpu": "arm64" }, "sha512-5YK1I9SqDkbPgc1IA8BgDl34suqUS2q0KWnBrirm0E51YjOs6eo6dV6jbQfNE/argHRSvd0QUGgtpIoYx+WWpw=="], + + "@rolldown/binding-linux-ppc64-gnu": ["@rolldown/binding-linux-ppc64-gnu@1.2.12", "", { "os": "linux", "cpu": "ppc64" }, "sha512-Rkcrmp7eFRg74yL5fXEU91JEWbdEPLevWwGtXpmhbjlD1StScbWTmO94Bhly+Mo+ketKYkdmM1vNUKeWSlx8cQ=="], + + "@rolldown/binding-linux-s390x-gnu": ["@rolldown/binding-linux-s390x-gnu@1.2.12", "", { "os": "linux", "cpu": "s390x" }, "sha512-qvK4DuAsQc2BSjlx+Xr+IzOIvvxbGZqxFwdWfG6F518Erj0GGISyQbJ6pIappnOxlNPzNHvo/L0BwB30GZ+zVw=="], + + "@rolldown/binding-linux-x64-gnu": ["@rolldown/binding-linux-x64-gnu@1.2.12", "", { "os": "linux", "cpu": "x64" }, "sha512-Q9uLBO53Xd4QIq1WOycVQyPP1O4HhraEV2qqb3uTrnVw6QZih9duY4vNXOivL1xoUS1/z+W8eF4NMfl2a8Sdjw=="], + + "@rolldown/binding-linux-x64-musl": ["@rolldown/binding-linux-x64-musl@1.2.12", "", { "os": "linux", "cpu": "x64" }, "sha512-3IBxWFMjbOZskDPKv8Lf9BCnahlKuHthWkYnyIxOH/QcJrFcS4EmcenthApkwr/5+nEqZlLzeYbxeMaX7A5u4g=="], + + "@rolldown/binding-openharmony-arm64": ["@rolldown/binding-openharmony-arm64@1.2.12", "", { "os": "none", "cpu": "arm64" }, "sha512-xtX61xg4LKPkPWilZU1ynKClz5Gj4bf74LML4r3eVLWumKnGjoEr1OSHQhMdbBDoYTi+yjrujvpZe2pUnqCrrA=="], + + "@rolldown/binding-win32-arm64-msvc": ["@rolldown/binding-win32-arm64-msvc@1.2.12", "", { "os": "win32", "cpu": "arm64" }, "sha512-At7fPB6PCaIjzgIhEZFxuT+BBFqiQibJDT4d3PhiR3f4E7bbMZF4aKblbFfEM3sETRDd1YiQx/+U/g/B/ou5Ew=="], + + "@rolldown/binding-win32-x64-msvc": ["@rolldown/binding-win32-x64-msvc@1.2.12", "", { "os": "win32", "cpu": "x64" }, "sha512-WIw2haVKwjuYdXkHaoC0mF8Le71TuCBxjrdKqLbJGctbBABj+ClfmNvtbOnzpq3RokNo5+V1qhtSzJyXorsklQ=="], + + "@rolldown/pluginutils": ["@rolldown/pluginutils@1.0.1", "", {}, "sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw=="], + + "@sindresorhus/is": ["@sindresorhus/is@7.2.0", "", {}, "sha512-P1Cz1dWaFfR4IR+U13mqqiGsLFf1KbayybWwdd2vfctdV6hDpUkgCY0nKOLLTMSoRd/jJNjtbqzf13K8DCCXQw=="], + + "@solid-primitives/event-listener": ["@solid-primitives/event-listener@2.4.6", "", { "dependencies": { "@solid-primitives/utils": "^6.4.1" }, "peerDependencies": { "solid-js": "^1.6.12" } }, "sha512-5I0YJcTVYIWoMmgBSROBZGcz+ymhew/pGTg2dHW74BUjFKsV8Li4bOZYl0YAGP4mHw5o4UBd9/BEesqBci3wxw=="], + + "@solid-primitives/keyboard": ["@solid-primitives/keyboard@1.3.7", "", { "dependencies": { "@solid-primitives/event-listener": "^2.4.6", "@solid-primitives/rootless": "^1.5.4", "@solid-primitives/utils": "^6.4.1" }, "peerDependencies": { "solid-js": "^1.6.12" } }, "sha512-558RPNYnXx4nGh537DSqAn4xMrC8iFipl/5+xzgzWoTNFst4RnUN3BOLmtDjJ0UGGoQXVMALYR3bNOHM0xnt1Q=="], + + "@solid-primitives/keyed": ["@solid-primitives/keyed@1.5.3", "", { "peerDependencies": { "solid-js": "^1.6.12" } }, "sha512-zNadtyYBhJSOjXtogkGHmRxjGdz9KHc8sGGVAGlUABkE8BED2tbIZoxkwSqzOwde8OcUEH0bb5DLZUWIMvyBSA=="], + + "@solid-primitives/map": ["@solid-primitives/map@0.4.13", "", { "dependencies": { "@solid-primitives/trigger": "^1.1.0" }, "peerDependencies": { "solid-js": "^1.6.12" } }, "sha512-B1zyFbsiTQvqPr+cuPCXO72sRuczG9Swncqk5P74NCGw1VE8qa/Ry9GlfI1e/VdeQYHjan+XkbE3rO2GW/qKew=="], + + "@solid-primitives/media": ["@solid-primitives/media@2.3.6", "", { "dependencies": { "@solid-primitives/event-listener": "^2.4.6", "@solid-primitives/rootless": "^1.5.4", "@solid-primitives/static-store": "^0.1.4", "@solid-primitives/utils": "^6.4.1" }, "peerDependencies": { "solid-js": "^1.6.12" } }, "sha512-pk49gPOq/UMRUJ+pTSrOfBiR8xJjRYHXIf1iR/jSnyQ/KroU+ZXhkZzavC7hvfp2vJeOTW5k2/HN0r3Q1VJ7Pw=="], + + "@solid-primitives/props": ["@solid-primitives/props@3.2.4", "", { "dependencies": { "@solid-primitives/utils": "^6.4.1" }, "peerDependencies": { "solid-js": "^1.6.12" } }, "sha512-MXXdvi2TSB6d+0N6ueA/HP1j/Kh9SEc4WdF1ZDMLwPagxW6pIHHSS9xbRO0RjqSVpNP4j0nxCWT1hx3CkJNhNA=="], + + "@solid-primitives/refs": ["@solid-primitives/refs@1.1.4", "", { "dependencies": { "@solid-primitives/utils": "^6.4.1" }, "peerDependencies": { "solid-js": "^1.6.12" } }, "sha512-bLjwIs6ZPu8NQnuw04sU3Zc8qKSpbc0umUU/O4SHf6oWOdO4+dHY8vb1T7C4b/Tg103+9WGr6sEE0+NFlbaB/A=="], + + "@solid-primitives/resize-observer": ["@solid-primitives/resize-observer@2.2.0", "", { "dependencies": { "@solid-primitives/event-listener": "^2.4.6", "@solid-primitives/rootless": "^1.5.4", "@solid-primitives/static-store": "^0.1.4", "@solid-primitives/utils": "^6.4.1" }, "peerDependencies": { "solid-js": "^1.6.12" } }, "sha512-9Fuu/EWBeGj+atGHRJp70HKhdfalmpjwxY8a32NZixdLNmfCJ45AfhLQNr6uOzETbbiMx4iCKlTrJ8KZCHC2Ww=="], + + "@solid-primitives/rootless": ["@solid-primitives/rootless@1.5.4", "", { "dependencies": { "@solid-primitives/utils": "^6.4.1" }, "peerDependencies": { "solid-js": "^1.6.12" } }, "sha512-TOIZa1VUfVJ+9nkCcRajw3U4t9vBOP1HxX1WHNTbXq32mXwlqTvUnC4CRIilohcryBkT9u2ZkhUDSHRTaGp55g=="], + + "@solid-primitives/static-store": ["@solid-primitives/static-store@0.1.4", "", { "dependencies": { "@solid-primitives/utils": "^6.4.1" }, "peerDependencies": { "solid-js": "^1.6.12" } }, "sha512-LgtVaVBtB7EbmS4+M0b8xY5Iq6pUWXBsIC4VgtrFKDGDdyCaDt88sHk0fUlx1Enxm/XZnZyLXJABRoa39RjJqA=="], + + "@solid-primitives/storage": ["@solid-primitives/storage@1.3.11", "", { "dependencies": { "@solid-primitives/utils": "^6.2.0" }, "peerDependencies": { "solid-js": "^1.6.12" } }, "sha512-PpQWR3TaTxHIJFbI9ZssYTM4Aa67g1vJIgps4TPhcXzHqqomrPAIveFC2FG7SDQoi9YQia8FVBjigELziJpfIg=="], + + "@solid-primitives/transition-group": ["@solid-primitives/transition-group@1.1.2", "", { "peerDependencies": { "solid-js": "^1.6.12" } }, "sha512-gnHS0OmcdjeoHN9n7Khu8KNrOlRc8a2weETDt2YT6o1zeW/XtUC6Db3Q9pkMU/9cCKdEmN4b0a/41MKAHRhzWA=="], + + "@solid-primitives/trigger": ["@solid-primitives/trigger@1.2.4", "", { "dependencies": { "@solid-primitives/utils": "^6.4.1" }, "peerDependencies": { "solid-js": "^1.6.12" } }, "sha512-Ju0e+ZOD7hpOp7nptJimvDSZHWFvIvF9iBWMvuwt30smX7c5wmB8Kmc0AdDuv0wOTi06PQ1J5IrP1WJbH2yUBQ=="], + + "@solid-primitives/utils": ["@solid-primitives/utils@6.4.1", "", { "peerDependencies": { "solid-js": "^1.6.12" } }, "sha512-ISSB5QX1qP2ynrheIpYwc4oKR5Ny4siNuUyf1qZniy+Il+p/PtDB0QK1Dnle8noiHpwRD3gpPdubOC3qI/Zamg=="], + + "@speed-highlight/core": ["@speed-highlight/core@1.2.24", "", {}, "sha512-qeW2e1l78afw8VhRPfPQ1Gjj+KU5XFQ/OFV5ti6eTa9bruO7mJyZtA4vw0ofqmA3tKCkROE9xLk3VZoeRc98nw=="], + + "@standard-schema/spec": ["@standard-schema/spec@1.1.0", "", {}, "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w=="], + + "@swc/helpers": ["@swc/helpers@0.5.23", "", { "dependencies": { "tslib": "^2.8.0" } }, "sha512-5lSsMOTXURePglDfvuAQUqkGek9Hg2kksOYay2m0+XR++b2NWYL/4sWyuvVBIs8oKnJaxkdi9whaL/sqN13afw=="], + + "@tailwindcss/node": ["@tailwindcss/node@4.3.3", "", { "dependencies": { "@jridgewell/remapping": "^2.3.5", "enhanced-resolve": "^5.24.1", "jiti": "^2.7.0", "lightningcss": "1.32.0", "magic-string": "^0.30.21", "source-map-js": "^1.2.1", "tailwindcss": "4.3.3" } }, "sha512-/T8IKEsf9VTU6tLjgC7+sv2mOPtQxzE2jMw7u4Tt40Tx+QSZxpzh95/H6cMKoja9XuW7iMdLJYBB0o9G1CaAgg=="], + + "@tailwindcss/oxide": ["@tailwindcss/oxide@4.3.3", "", { "optionalDependencies": { "@tailwindcss/oxide-android-arm64": "4.3.3", "@tailwindcss/oxide-darwin-arm64": "4.3.3", "@tailwindcss/oxide-darwin-x64": "4.3.3", "@tailwindcss/oxide-freebsd-x64": "4.3.3", "@tailwindcss/oxide-linux-arm-gnueabihf": "4.3.3", "@tailwindcss/oxide-linux-arm64-gnu": "4.3.3", "@tailwindcss/oxide-linux-arm64-musl": "4.3.3", "@tailwindcss/oxide-linux-x64-gnu": "4.3.3", "@tailwindcss/oxide-linux-x64-musl": "4.3.3", "@tailwindcss/oxide-wasm32-wasi": "4.3.3", "@tailwindcss/oxide-win32-arm64-msvc": "4.3.3", "@tailwindcss/oxide-win32-x64-msvc": "4.3.3" } }, "sha512-krXjAikiaFSPaK/FkAQT5UTx3VormQaiZ5hBFlJZ9UFQGB/rwg1MZIhHAG9smMQRTdyJxP6Qt5MwMtdyU5FWrA=="], + + "@tailwindcss/oxide-android-arm64": ["@tailwindcss/oxide-android-arm64@4.3.3", "", { "os": "android", "cpu": "arm64" }, "sha512-Y85A2gmPSkl5Ve5qR86GL4HT509cFqQh1aes9p3sSkyTPwt0Pppf3GkwGe4JPACcRYjgJIEhQgM6dBClnr0NYw=="], + + "@tailwindcss/oxide-darwin-arm64": ["@tailwindcss/oxide-darwin-arm64@4.3.3", "", { "os": "darwin", "cpu": "arm64" }, "sha512-BiaWatpBcERQFDlOjRDpIVXuFK5PJez5SA4JMg6VYZdBYU+qKfV/vqjcIs+IYmtitf1xYQZTwXvU/8y4lfZUGw=="], + + "@tailwindcss/oxide-darwin-x64": ["@tailwindcss/oxide-darwin-x64@4.3.3", "", { "os": "darwin", "cpu": "x64" }, "sha512-fAeUqfV5ndhxRwai8cXGzdLvul9utWOmeTkv69unv4ZXixjn61Z+p9lCWdwOwA3TYboG3BwdVuN/RDjhBRl0mw=="], + + "@tailwindcss/oxide-freebsd-x64": ["@tailwindcss/oxide-freebsd-x64@4.3.3", "", { "os": "freebsd", "cpu": "x64" }, "sha512-iyf5bV6+wnAlflVeEy7R25dupxTNECZN5QMI0qNT6eT+EgaGdZcKhGkr5SdoaWiLJ3spLqIY9VCeSGrwmtg4kw=="], + + "@tailwindcss/oxide-linux-arm-gnueabihf": ["@tailwindcss/oxide-linux-arm-gnueabihf@4.3.3", "", { "os": "linux", "cpu": "arm" }, "sha512-aAYUprJAJQWWbRrPvtjdroZ56Md+JM8pMiopS6xGEwDfLhqj+2ver2p4nU4Mb3CRqcMmNBjo8KkUgcxhkzVQGQ=="], + + "@tailwindcss/oxide-linux-arm64-gnu": ["@tailwindcss/oxide-linux-arm64-gnu@4.3.3", "", { "os": "linux", "cpu": "arm64" }, "sha512-nDxldcEENOxZRzC2uu9jrutZdAAQtb+8WWDCSnWL1zvBk1+FN+x6MtDViPB5AJMfttVCUhehGWus3XBPgatM/w=="], + + "@tailwindcss/oxide-linux-arm64-musl": ["@tailwindcss/oxide-linux-arm64-musl@4.3.3", "", { "os": "linux", "cpu": "arm64" }, "sha512-Md44bD6veX/PC5iyF8cDVnw4HBIANZepRZZ7a8DQOvkfo5WUBwcp6iAuCUz23u+4SUkhJlD3eL7hNdW8ezd/kA=="], + + "@tailwindcss/oxide-linux-x64-gnu": ["@tailwindcss/oxide-linux-x64-gnu@4.3.3", "", { "os": "linux", "cpu": "x64" }, "sha512-tx7us1muwOKAKWao2v/GaafFeQboE6aj88vC6ziN2NCGcRm8gWUhwjzg+YdVB1e4boAtdtma4L43onunI6NS4w=="], + + "@tailwindcss/oxide-linux-x64-musl": ["@tailwindcss/oxide-linux-x64-musl@4.3.3", "", { "os": "linux", "cpu": "x64" }, "sha512-SJxX60smvHgasZoBy11dX6YRjXJFovwWBoedhbQPOBzgFWBHGB+TVPWB9BxzR7TTxU8FQZAI2AyiNCMzFm8Img=="], + + "@tailwindcss/oxide-wasm32-wasi": ["@tailwindcss/oxide-wasm32-wasi@4.3.3", "", { "dependencies": { "@emnapi/core": "^1.11.1", "@emnapi/runtime": "^1.11.1", "@emnapi/wasi-threads": "^1.2.2", "@napi-rs/wasm-runtime": "^1.1.4", "@tybys/wasm-util": "^0.10.2", "tslib": "^2.8.1" }, "cpu": "none" }, "sha512-jx1+rPhY/5Ympkktd656HBWEBLxP7dH06losBLjjf5vgCODXvi9KhtftWcMIwTFIDqBr7cRnQkdLnAG+IOlGvQ=="], + + "@tailwindcss/oxide-win32-arm64-msvc": ["@tailwindcss/oxide-win32-arm64-msvc@4.3.3", "", { "os": "win32", "cpu": "arm64" }, "sha512-3rc292Ca2ceK6Ulcc/bAVnTs/3nDtoPhyEKlgPv+yQJQi/JS/AMJlqzxvlDacL1nekbrcf6bTqp/jV4qgnPxNQ=="], + + "@tailwindcss/oxide-win32-x64-msvc": ["@tailwindcss/oxide-win32-x64-msvc@4.3.3", "", { "os": "win32", "cpu": "x64" }, "sha512-yJ0pwIVc/nYeGoV02WtsN8KYyLQv7kyI2wDnkezyJlGGjkd4QLwDGAwl47YpPJeuI0M0ObaXGSPjvWDPeTPggw=="], + + "@tailwindcss/vite": ["@tailwindcss/vite@4.3.3", "", { "dependencies": { "@tailwindcss/node": "4.3.3", "@tailwindcss/oxide": "4.3.3", "tailwindcss": "4.3.3" }, "peerDependencies": { "vite": "^5.2.0 || ^6 || ^7 || ^8" } }, "sha512-yYU8cogLeSh/ms2jh8Fj7jaba/EWa7Ja6GoUqYZaraEuCI5YS6ms6ObZgjjedm+jm6XZjdNRWBpPP6Z86oOxcw=="], + + "@tanstack/devtools": ["@tanstack/devtools@0.15.0", "", { "dependencies": { "@neodrag/core": "3.0.0-next.11", "@neodrag/solid": "3.0.0-next.11", "@solid-primitives/event-listener": "^2.4.3", "@solid-primitives/keyboard": "^1.3.3", "@solid-primitives/resize-observer": "^2.1.3", "@tanstack/devtools-client": "0.0.8", "@tanstack/devtools-event-bus": "0.4.3", "@tanstack/devtools-ui": "0.7.1", "clsx": "^2.1.1", "goober": "^2.1.16", "solid-js": "^1.9.9" }, "bin": { "intent": "./bin/intent.js" } }, "sha512-KyS7Qi82Eq9yG8C+uae3ikAPb+D5rfzVhvOOjXVAHZ/64s6TWJlDWpREw1FrHIYZaI7paErpsExSSKlF5BKA/A=="], + + "@tanstack/devtools-client": ["@tanstack/devtools-client@0.0.6", "", { "dependencies": { "@tanstack/devtools-event-client": "^0.4.1" } }, "sha512-f85ZJXJnDIFOoykG/BFIixuAevJovCvJF391LPs6YjBAPhGYC50NWlx1y4iF/UmK5/cCMx+/JqI5SBOz7FanQQ=="], + + "@tanstack/devtools-event-bus": ["@tanstack/devtools-event-bus@0.4.1", "", { "dependencies": { "ws": "^8.18.3" } }, "sha512-cNnJ89Q021Zf883rlbBTfsaxTfi2r73/qejGtyTa7ksErF3hyDyAq1aTbo5crK9dAL7zSHh9viKY1BtMls1QOA=="], + + "@tanstack/devtools-event-client": ["@tanstack/devtools-event-client@0.4.4", "", { "bin": { "intent": "./bin/intent.js" } }, "sha512-6T5Yop/793YI+H+5J8Hsyj4kCih9sl4t3ElLgKioW5hk3ocn+ZdSJ94tT7vL7uabxSugWYBZlOTMPzEw2puvQw=="], + + "@tanstack/devtools-ui": ["@tanstack/devtools-ui@0.7.1", "", { "dependencies": { "clsx": "^2.1.1", "dayjs": "^1.11.19", "goober": "^2.1.16", "solid-js": "^1.9.9" } }, "sha512-3xQ/ezZ2qVNszhjpCN2N3jn7uHc2J1PMgcyjHzH4XZBt9xAQyMMcPNoR2cd7rzReyxWoJpZUWiDBmOJiCtLj9A=="], + + "@tanstack/devtools-vite": ["@tanstack/devtools-vite@0.6.1", "", { "dependencies": { "@babel/core": "^7.28.4", "@babel/generator": "^7.28.3", "@babel/parser": "^7.28.4", "@babel/traverse": "^7.28.4", "@babel/types": "^7.28.4", "@tanstack/devtools-client": "0.0.6", "@tanstack/devtools-event-bus": "0.4.1", "chalk": "^5.6.2", "launch-editor": "^2.11.1", "picomatch": "^4.0.3" }, "peerDependencies": { "vite": "^6.0.0 || ^7.0.0 || ^8.0.0" }, "bin": { "intent": "./bin/intent.js" } }, "sha512-4NMdFwVDoJZlh4gnKl/LJYSoEKuZr2GiFgbCITfaKYWXk6XbXilclfLwAAdoX5gF2p0mEPPv5JCuAlbJgO9aWQ=="], + + "@tanstack/history": ["@tanstack/history@1.162.4", "", {}, "sha512-utTS5L2OkeYUzXGohL1Z8sefu1GLNOJcxe8Hd6iIdc/Xo1K1nDB2JEp4iSFhvYh33xKC9V91TxrS8qfrpoKobQ=="], + + "@tanstack/match-sorter-utils": ["@tanstack/match-sorter-utils@9.1.2", "", { "dependencies": { "remove-accents": "0.5.0" } }, "sha512-aPkUQctDzpXLSWhlx7jUDi3mInsI18xcnrK1hvIyIa88ab1ax88cACr7xU+BKMCGB4NZYNwh4SoNSEbv3RY2NA=="], + + "@tanstack/query-core": ["@tanstack/query-core@5.104.0", "", {}, "sha512-JrC2r/JQlXt7khBSdUpsgxNvybzOg+aITa+ARRMlP2AFo93Y8vIqz077rp+e61mJetSZ0T6AJbwW1JHer1vrPQ=="], + + "@tanstack/query-devtools": ["@tanstack/query-devtools@5.104.0", "", { "dependencies": { "@kobalte/core": "^0.13.14", "@solid-primitives/keyed": "^1.5.3", "@solid-primitives/resize-observer": "^2.2.0", "@solid-primitives/storage": "^1.3.11", "@tanstack/match-sorter-utils": "^9.1.2", "@tanstack/query-core": "5.104.0", "clsx": "^2.1.1", "goober": "^2.1.19", "solid-js": "^1.9.15", "solid-transition-group": "^0.2.3", "superjson": "^2.2.6" } }, "sha512-snKyFLVFC5LuNoyUTpyqCD2Z8cRlCWrAeO3xub0nGi81IMz8YAUWq2Z+XdpGSGT7bCxqVdOHUjyiA3CtDuBjfQ=="], + + "@tanstack/react-devtools": ["@tanstack/react-devtools@0.10.13", "", { "dependencies": { "@tanstack/devtools": "0.15.0" }, "peerDependencies": { "@types/react": ">=16.8", "@types/react-dom": ">=16.8", "react": ">=16.8", "react-dom": ">=16.8" } }, "sha512-r0cdB/14+st2Vxl/1Bodlyq4VC8pf9SykLQDYbGHDc1+V146WQo5B3KlYLkfyxD9Q/6+9NPRQHZyl8fvZVMdRA=="], + + "@tanstack/react-query": ["@tanstack/react-query@5.104.0", "", { "dependencies": { "@tanstack/query-core": "5.104.0" }, "peerDependencies": { "react": "^18 || ^19" } }, "sha512-e1TZmDCQnWIfiDVryIHeA6Idj+Lfx1hORLOhXS/l5wcgvtVD4yYqbTDl378sGQKIi2cSgb0TEMC9cKK8GGoJEw=="], + + "@tanstack/react-query-devtools": ["@tanstack/react-query-devtools@5.104.0", "", { "dependencies": { "@tanstack/query-devtools": "5.104.0" }, "peerDependencies": { "@tanstack/react-query": "^5.104.0", "@types/react": "^18 || ^19", "react": "^18 || ^19" } }, "sha512-E3AfuGqrdyaamuRV3u8RFWQlkZxk7OQa9MJ3XLF9SEHFRHyTUnlHcAQ0hEpDYxNsNFKYrheiRpDKlYaG4vkt7g=="], + + "@tanstack/react-router": ["@tanstack/react-router@1.170.41", "", { "dependencies": { "@tanstack/history": "1.162.4", "@tanstack/react-store": "^0.11.2", "@tanstack/router-core": "1.171.34", "isbot": "^5.1.22" }, "peerDependencies": { "react": ">=18.0.0 || >=19.0.0", "react-dom": ">=18.0.0 || >=19.0.0" } }, "sha512-Mpvw8Wm5MGDbTqI8Yc9flLKxbOHwoWocv0H2aGKcgw2a017oK5nZWqa954P+DrUx/8fI98YNywnHP5XcD3tQ9w=="], + + "@tanstack/react-router-devtools": ["@tanstack/react-router-devtools@1.167.2", "", { "dependencies": { "@tanstack/router-devtools-core": "1.168.2" }, "peerDependencies": { "@tanstack/react-router": "^1.170.36", "@tanstack/router-core": "^1.171.30", "react": ">=18.0.0 || >=19.0.0", "react-dom": ">=18.0.0 || >=19.0.0" }, "optionalPeers": ["@tanstack/router-core"] }, "sha512-VuoqB7OhDUrBa4WOFSKiAQ8xI8sJpeZdo9sYE1hQa89iMuVFUQu1iWE4iCiQhB+6TYOZDZ9e+iHKxYjop4ZVYw=="], + + "@tanstack/react-router-ssr-query": ["@tanstack/react-router-ssr-query@1.167.3", "", { "dependencies": { "@tanstack/router-ssr-query-core": "1.169.3" }, "peerDependencies": { "@tanstack/query-core": ">=5.102.0", "@tanstack/react-query": ">=5.102.0", "@tanstack/react-router": ">=1.170.33", "react": ">=18.0.0 || >=19.0.0", "react-dom": ">=18.0.0 || >=19.0.0" } }, "sha512-HA0pxuPuhU+rwoe+z1Xcbytuoo6ZbcROpgNgNSm38s3/hGLmgzOBLzDg+Vyx6ex26QilnPbZ+5Ypet5mImm9bQ=="], + + "@tanstack/react-start": ["@tanstack/react-start@1.168.60", "", { "dependencies": { "@tanstack/react-router": "1.170.41", "@tanstack/react-start-client": "1.168.39", "@tanstack/react-start-rsc": "0.1.59", "@tanstack/react-start-server": "1.167.46", "@tanstack/router-utils": "1.162.3", "@tanstack/start-client-core": "1.170.34", "@tanstack/start-plugin-core": "1.171.49", "@tanstack/start-server-core": "1.169.39", "pathe": "^2.0.3" }, "peerDependencies": { "@rsbuild/core": "^2.0.0", "@vitejs/plugin-rsc": "*", "react": ">=18.0.0 || >=19.0.0", "react-dom": ">=18.0.0 || >=19.0.0", "vite": ">=7.0.0" }, "optionalPeers": ["@rsbuild/core", "@vitejs/plugin-rsc", "vite"] }, "sha512-WMOM0Xlh2lPbVlbjYM6uOxOpiaWRPvODm/dwkLsGKq5tjyHOHZmKckJgwlrZl7OQUqFlOZHYj8bKUTgoeg8cUQ=="], + + "@tanstack/react-start-client": ["@tanstack/react-start-client@1.168.39", "", { "dependencies": { "@tanstack/react-router": "1.170.41", "@tanstack/router-core": "1.171.34", "@tanstack/start-client-core": "1.170.34" }, "peerDependencies": { "react": ">=18.0.0 || >=19.0.0", "react-dom": ">=18.0.0 || >=19.0.0" } }, "sha512-Uby0uo37JlQgUKHU0snDwH9nYiEeAjm9+7pUOFgycU/UszEILC2SO2DSCoNnCMuHKj9z+4URKzBYIP2exT9+wg=="], + + "@tanstack/react-start-rsc": ["@tanstack/react-start-rsc@0.1.59", "", { "dependencies": { "@tanstack/react-router": "1.170.41", "@tanstack/router-core": "1.171.34", "@tanstack/router-utils": "1.162.3", "@tanstack/start-client-core": "1.170.34", "@tanstack/start-fn-stubs": "1.162.0", "@tanstack/start-plugin-core": "1.171.49", "@tanstack/start-storage-context": "1.167.36", "pathe": "^2.0.3" }, "peerDependencies": { "@rspack/core": ">=2.0.0-0", "@vitejs/plugin-rsc": ">=0.5.30", "react": ">=18.0.0 || >=19.0.0", "react-dom": ">=18.0.0 || >=19.0.0", "react-server-dom-rspack": ">=0.0.2" }, "optionalPeers": ["@rspack/core", "@vitejs/plugin-rsc", "react-server-dom-rspack"] }, "sha512-M2Lqxkk5C1zQncQs5paqX+/OLdOht51pg6D84YfLMrNsjhU/nzb6wd92MIja0mi5i23+L+fxLLjQYR2DObjBlw=="], + + "@tanstack/react-start-server": ["@tanstack/react-start-server@1.167.46", "", { "dependencies": { "@tanstack/react-router": "1.170.41", "@tanstack/router-core": "1.171.34", "@tanstack/start-server-core": "1.169.39" }, "peerDependencies": { "react": ">=18.0.0 || >=19.0.0", "react-dom": ">=18.0.0 || >=19.0.0" } }, "sha512-K7z8xBOEdp8u5CZCxWrbS0tFtk5XZGMdhssLeZlRZKlLDbX7BKLdMtJ7th5sR6QVt9MTUAg3LcoqvJMPSFF+lg=="], + + "@tanstack/react-store": ["@tanstack/react-store@0.11.2", "", { "dependencies": { "@tanstack/store": "0.11.2", "use-sync-external-store": "^1.6.0" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, "sha512-oj5O5DmiMWE+ih+SioX2ayC1kbK7d3fpLx0B75fPJr9nY3zU+hoW010yr64qXsY/9fyiLVE2bn5mGNV3owm8RQ=="], + + "@tanstack/router-core": ["@tanstack/router-core@1.171.34", "", { "dependencies": { "@tanstack/history": "1.162.4", "cookie-es": "^3.0.0", "seroval": "^1.6.7", "seroval-plugins": "^1.6.7" } }, "sha512-X+19pGuuLVPvvAvPYw9v/+ktRk5cCll8AtfpBpOhDRmVgUMrfqze0467xtq8YRVVs/mmo5rVtWn/7Tp32RDBKw=="], + + "@tanstack/router-devtools-core": ["@tanstack/router-devtools-core@1.168.2", "", { "dependencies": { "clsx": "^2.1.1", "goober": "^2.1.16" }, "peerDependencies": { "@tanstack/router-core": "^1.171.30", "csstype": "^3.0.10" }, "optionalPeers": ["csstype"] }, "sha512-pCCdQ5M/NUeWdiAbPmjyfcNdls6G4vaVlIQbPf1IqZk1FLYFr00aQvi578yUuWFBNM2KNS2QcwM1uPucbtGf5Q=="], + + "@tanstack/router-generator": ["@tanstack/router-generator@1.167.40", "", { "dependencies": { "@babel/types": "^7.29.8", "@tanstack/router-core": "1.171.34", "@tanstack/router-utils": "1.162.3", "@tanstack/virtual-file-routes": "1.162.0", "jiti": "^2.7.0", "magic-string": "^0.30.21", "prettier": "^3.9.6", "zod": "^4.5.4" } }, "sha512-WkEueqEvsBBudzO0fx1nWfOmRNW8OAvBoVABTGls9bAWzjdC+KDGHvjCNrvn88ofs1F6gqL8aWnzKCbxW3dCyQ=="], + + "@tanstack/router-plugin": ["@tanstack/router-plugin@1.168.42", "", { "dependencies": { "@babel/core": "^7.29.7", "@babel/template": "^7.29.7", "@babel/types": "^7.29.8", "@tanstack/router-core": "1.171.34", "@tanstack/router-generator": "1.167.40", "@tanstack/router-utils": "1.162.3", "chokidar": "^5.0.0", "unplugin": "^3.3.0", "zod": "^4.5.4" }, "peerDependencies": { "@rsbuild/core": ">=1.0.2 || ^2.0.0", "@tanstack/react-router": "^1.170.41", "vite": ">=5.0.0 || >=6.0.0 || >=7.0.0 || >=8.0.0", "vite-plugin-solid": "^2.11.10 || ^3.0.0-0", "webpack": ">=5.92.0" }, "optionalPeers": ["@rsbuild/core", "@tanstack/react-router", "vite", "vite-plugin-solid", "webpack"] }, "sha512-vAR5WXJh/ErseEWQftDhsJcr2c++ucRQ6FbqN3ygMO44+ZxxRfW3sIpZmddHROVSmBk8jc6MrwjTPNjVhd62Vw=="], + + "@tanstack/router-ssr-query-core": ["@tanstack/router-ssr-query-core@1.169.3", "", { "peerDependencies": { "@tanstack/query-core": ">=5.102.0", "@tanstack/router-core": ">=1.171.28" } }, "sha512-0EE3mFa753mExMJEfWhZMi+EKViSLmZHoiYADZJzr5+2S/T4T12soHg8fMn67jCvDwL2dpd1mE7aL/XXzDPfhA=="], + + "@tanstack/router-utils": ["@tanstack/router-utils@1.162.3", "", { "dependencies": { "@babel/generator": "^7.29.8", "@babel/parser": "^7.29.8", "@babel/types": "^7.29.8", "ansis": "^4.3.1", "babel-dead-code-elimination": "^1.0.12", "diff": "^8.0.4", "pathe": "^2.0.3", "tinyglobby": "^0.2.17" } }, "sha512-Icb0xGuG1+54IV0WMLRcc3ErTx2HeJWyPG661FkQ8UT6guoBq1FJjFRqlG/JS0xi4mFFkBhvwO7tbLa32f3yxA=="], + + "@tanstack/start-client-core": ["@tanstack/start-client-core@1.170.34", "", { "dependencies": { "@tanstack/router-core": "1.171.34", "@tanstack/start-fn-stubs": "1.162.0", "@tanstack/start-storage-context": "1.167.36", "seroval": "^1.6.7" } }, "sha512-LfwZSbau2MLLZ/uPAoO+NC9fK3J66c0wLhnNQqIa+Goqw7bXPjkHwlsjY7evlUz1AnyhhQ1Qab95v+VmP0TZ9A=="], + + "@tanstack/start-fn-stubs": ["@tanstack/start-fn-stubs@1.162.0", "", {}, "sha512-QWfUZ3Yo923tdQn38LyKMU8rcTw69zc+T4dAvgTWV4O56SqFRsGfS0lSWIMhJRwXIx/bvdi7nTUBDdZtTHtpTQ=="], + + "@tanstack/start-plugin-core": ["@tanstack/start-plugin-core@1.171.49", "", { "dependencies": { "@babel/code-frame": "7.29.7", "@babel/core": "^7.29.7", "@babel/types": "^7.29.8", "@jridgewell/remapping": "^2.3.5", "@tanstack/router-core": "1.171.34", "@tanstack/router-generator": "1.167.40", "@tanstack/router-plugin": "1.168.42", "@tanstack/router-utils": "1.162.3", "@tanstack/start-server-core": "1.169.39", "exsolve": "^1.1.1", "lightningcss": "^1.33.0", "pathe": "^2.0.3", "picomatch": "^4.0.7", "seroval": "^1.6.7", "source-map": "^0.7.6", "srvx": "^0.11.22", "tinyglobby": "^0.2.17", "ufo": "^1.6.4", "vitefu": "^1.1.3", "xmlbuilder2": "^4.0.3", "zod": "^4.5.4" }, "peerDependencies": { "@rsbuild/core": "^2.0.0", "vite": ">=7.0.0" }, "optionalPeers": ["@rsbuild/core", "vite"] }, "sha512-HPOb7LnMc71k38cd5uvMybPPUU/Q/56KvSqQzSWz7cps1ZDFXaxUM6EFaFHLCdgTWqGexNGDdRE+sUVPVBM4Xg=="], + + "@tanstack/start-server-core": ["@tanstack/start-server-core@1.169.39", "", { "dependencies": { "@tanstack/history": "1.162.4", "@tanstack/router-core": "1.171.34", "@tanstack/start-client-core": "1.170.34", "@tanstack/start-storage-context": "1.167.36", "fetchdts": "^0.1.6", "h3-v2": "npm:h3@2.0.1-rc.20", "seroval": "^1.6.7" } }, "sha512-pqqkxhXY46nuFSYt6TsMGyABiplUzHFHndKAlRRGC0fWDrJCH1koWxVMoxySa51ZETV79f/z73b5UZ1jfIkXwQ=="], + + "@tanstack/start-storage-context": ["@tanstack/start-storage-context@1.167.36", "", { "dependencies": { "@tanstack/router-core": "1.171.34" } }, "sha512-x+xCXK2GtFzY6NbXqAg8YpU6cwAjDfMeYSNzxfGzntpjbwBRHHrXeC/kYUnBBQCV7wK4kJ8vBBQGP0OyYTasUg=="], + + "@tanstack/store": ["@tanstack/store@0.11.2", "", {}, "sha512-sJ4mjol8uQsHV0gOJzzjwXfh2Fwm+Sz0+8deqiTm4jGbMdjzNSW+xZCFm0kUa870uhd8yi+DpKnZb5Kc4apa0Q=="], + + "@tanstack/virtual-file-routes": ["@tanstack/virtual-file-routes@1.162.0", "", {}, "sha512-uhOeFyxLcU41HzvrxsGpiWdcMbScY1EDgbZ5K7DVRMYInbLYWAC0EA/kx9wXAoSM8q82bUG2hRl8+EAjE6XAbA=="], + + "@trpc/client": ["@trpc/client@11.19.0", "", { "peerDependencies": { "@trpc/server": "11.19.0", "typescript": ">=5.7.2" }, "bin": { "intent": "bin/intent.js" } }, "sha512-0MKkPq6MejsKB5Opca1Rl22KVIaqo2+A1EiXyZ8EGUsl9TLrPdpGn+Usux20TZKFwnSC2+wI/WilqNJaP4ODfw=="], + + "@trpc/react-query": ["@trpc/react-query@11.19.0", "", { "peerDependencies": { "@tanstack/react-query": "^5.80.3", "@trpc/client": "11.19.0", "@trpc/server": "11.19.0", "react": ">=18.2.0", "typescript": ">=5.7.2" } }, "sha512-TrqZBa/6weXX27mf0P2dMCI65duqO3B/wf9BkP1MezUWSUg7SRGJrIv6K8vjgjeHdafFBI1mmcqPEYXHF4AlVQ=="], + + "@trpc/server": ["@trpc/server@11.19.0", "", { "peerDependencies": { "typescript": ">=5.7.2" }, "bin": { "intent": "bin/intent.js" } }, "sha512-7C1goiDurz82yFKtZUbEzjXd0Rg/jyisaIZQhdvus+1l7E6mwcEYZXjZ1US/HF8kOyz1LERL8UN3bcboJtjcyQ=="], + + "@types/chai": ["@types/chai@5.2.3", "", { "dependencies": { "@types/deep-eql": "*", "assertion-error": "^2.0.1" } }, "sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA=="], + + "@types/deep-eql": ["@types/deep-eql@4.0.2", "", {}, "sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw=="], + + "@types/estree": ["@types/estree@1.0.9", "", {}, "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg=="], + + "@types/hoist-non-react-statics": ["@types/hoist-non-react-statics@3.3.7", "", { "dependencies": { "hoist-non-react-statics": "^3.3.0" }, "peerDependencies": { "@types/react": "*" } }, "sha512-PQTyIulDkIDro8P+IHbKCsw7U2xxBYflVzW/FgWdCAePD9xGSidgA76/GeJ6lBKoblyhf9pBY763gbrN+1dI8g=="], + + "@types/node": ["@types/node@22.20.4", "", { "dependencies": { "undici-types": "~6.21.0" } }, "sha512-zJRE40jpHtKqE/C4fgHrAKQLJuSpzEnP9ff9Y7YtoR3Wd2pwqzlekDeEuUQXjRd+QCYnVnNwuJYmhdk9XV8gvA=="], + + "@types/react": ["@types/react@19.3.0", "", { "dependencies": { "csstype": "^3.2.2" } }, "sha512-N0rFCuH9YoxG9/m61l9MfpJKfmLOVU0em7ipIz6TRgSSkvReLB9vL85GB+yr8Bs5leqpvg96JSwF4ZS1s4viQg=="], + + "@types/react-dom": ["@types/react-dom@19.3.0", "", { "peerDependencies": { "@types/react": "^19.3.0" } }, "sha512-ZI7bU42mZXXKHn/qNLEw2IrbiINU7X5+vfgdixBHkCNpYWXjKgfQ/P+uyGb5CjOLB9UcnTeg3rylQtV2hym44Q=="], + + "@vitejs/plugin-react": ["@vitejs/plugin-react@6.1.1", "", { "dependencies": { "@rolldown/pluginutils": "^1.0.1" }, "peerDependencies": { "@rolldown/plugin-babel": "^0.1.7 || ^0.2.0", "babel-plugin-react-compiler": "^1.0.0", "oxc-transform-react": "^0.145.0", "vite": "^8.0.0" }, "optionalPeers": ["@rolldown/plugin-babel", "babel-plugin-react-compiler", "oxc-transform-react"] }, "sha512-yxLaQV9gkhS8ezJqCM6+ndU7mDY6gqAg75NQ+0IjwEI8IYOmQCgkRwHKVSfWXW076DsqMo0Dk+0FK1U+M5RgFw=="], + + "@vitest/expect": ["@vitest/expect@4.1.11", "", { "dependencies": { "@standard-schema/spec": "^1.1.0", "@types/chai": "^5.2.2", "@vitest/spy": "4.1.11", "@vitest/utils": "4.1.11", "chai": "^6.2.2", "tinyrainbow": "^3.1.0" } }, "sha512-VX2x5vNJXET47KAFzwERI+KRMtTTCSWTfSMKsW7JsUsXV4psq++e3DvZpuTDOpHcxytiDs6p2nhVb2tVDiiUYw=="], + + "@vitest/mocker": ["@vitest/mocker@4.1.11", "", { "dependencies": { "@vitest/spy": "4.1.11", "estree-walker": "^3.0.3", "magic-string": "^0.30.21" }, "peerDependencies": { "msw": "^2.4.9", "vite": "^6.0.0 || ^7.0.0 || ^8.0.0" }, "optionalPeers": ["msw", "vite"] }, "sha512-2XJVD55d1o5AZous5CCGKS74g/riOj9odEt2bQpCVZeblHyHdnMeFl4jl0XjU21stf4mbjUkew2eXQZt65g5CQ=="], + + "@vitest/pretty-format": ["@vitest/pretty-format@4.1.11", "", { "dependencies": { "tinyrainbow": "^3.1.0" } }, "sha512-yiZzPbGTS9Sr/JpFl8zHrcIkAofNbFV6k21vIgQN/cY/oxZeXhJv5sc/MBJ5jFKWmWs+oJHw0UXLZjmf931+Vw=="], + + "@vitest/runner": ["@vitest/runner@4.1.11", "", { "dependencies": { "@vitest/utils": "4.1.11", "pathe": "^2.0.3" } }, "sha512-LztvUgdwMNJMIkj3hQnnxiC2Xy1zNxq928W/xhjCLaNCzqTZOudjwbQf6v9IntZGPw132i2Lq2rgTRZHD3JHNw=="], + + "@vitest/snapshot": ["@vitest/snapshot@4.1.11", "", { "dependencies": { "@vitest/pretty-format": "4.1.11", "@vitest/utils": "4.1.11", "magic-string": "^0.30.21", "pathe": "^2.0.3" } }, "sha512-pN7ikn1ON7h8ee4gIAp4AzyK+zBtJPzVbqOgu5LCEh4VaJVbPQcgYQYJIMGQPXVeJJq1fnfazis7a5pFNPahog=="], + + "@vitest/spy": ["@vitest/spy@4.1.11", "", {}, "sha512-apNa/prQy2qCeywhnixOHPRCgGNhvg7T4Dapfl1GahLp/R+uhBm5cPyFoNVyqsNd2h1nJxL6BqqdIjiABL60YA=="], + + "@vitest/utils": ["@vitest/utils@4.1.11", "", { "dependencies": { "@vitest/pretty-format": "4.1.11", "convert-source-map": "^2.0.0", "tinyrainbow": "^3.1.0" } }, "sha512-zTCVGpyFsGWBhllOyKlTw/vnr6D9qxsfSDyfbyZmTyjHw5N/VuvzHpHoQjm2ZJzn4RJgx5w4r7V0er69CmLgPQ=="], + + "agent-base": ["agent-base@6.0.2", "", { "dependencies": { "debug": "4" } }, "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ=="], + + "ansis": ["ansis@4.4.0", "", {}, "sha512-9k3v7xcHwgdO/DruxGIg4HtjvlAZlcnsX/mzqUb1t3NkYnl9kK2UJ+Gq0io+vQf7iT//BD/HB/NBkUR1LWxoeA=="], + + "argparse": ["argparse@2.0.1", "", {}, "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q=="], + + "assertion-error": ["assertion-error@2.0.1", "", {}, "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA=="], + + "asynckit": ["asynckit@0.4.0", "", {}, "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="], + + "axios": ["axios@1.20.0", "", { "dependencies": { "follow-redirects": "^1.16.0", "form-data": "^4.0.6", "https-proxy-agent": "^5.0.1", "proxy-from-env": "^2.1.0" } }, "sha512-r8aOh8j9cGKpgQAqpzrUHnSIc6a59Y3Xf/cv8sy1DrHCkZHzQGEuoq1tARk6qSyDdtQGSDgpb9kFlruzPvrgwg=="], + + "babel-dead-code-elimination": ["babel-dead-code-elimination@1.0.12", "", { "dependencies": { "@babel/core": "^7.23.7", "@babel/parser": "^7.23.6", "@babel/traverse": "^7.23.7", "@babel/types": "^7.23.6" } }, "sha512-GERT7L2TiYcYDtYk1IpD+ASAYXjKbLTDPhBtYj7X1NuRMDTMtAx9kyBenub1Ev41lo91OHCKdmP+egTDmfQ7Ig=="], + + "baseline-browser-mapping": ["baseline-browser-mapping@2.11.26", "", { "bin": { "baseline-browser-mapping": "dist/cli.cjs" } }, "sha512-GLQdD3y6UF8iVuMJl5fHgE4jdn/ua7n+toKfLgNlg3BqQtOZjpy68T8Tup8/wGWZCDlm7KMg7tPb4MPn7oN0TQ=="], + + "blake3-wasm": ["blake3-wasm@2.1.5", "", {}, "sha512-F1+K8EbfOZE49dtoPtmxUQrpXaBIl3ICvasLh+nJta0xkz+9kF/7uet9fLnwKqhDrmj6g+6K3Tw9yQPUg2ka5g=="], + + "browserslist": ["browserslist@4.29.3", "", { "dependencies": { "baseline-browser-mapping": "^2.11.26", "caniuse-lite": "^1.0.30001813", "electron-to-chromium": "^1.5.439", "node-releases": "^2.0.57", "update-browserslist-db": "^1.3.3" }, "bin": { "browserslist": "cli.js" } }, "sha512-1R4kiYKXGViqEN0CnoDrXc1StD9niAwu+j2dukWzrD4bJgsD4lDmEp0CRbc6E/vYJIfTHwPmwyaKtVSudICdPA=="], + + "call-bind-apply-helpers": ["call-bind-apply-helpers@1.0.2", "", { "dependencies": { "es-errors": "^1.3.0", "function-bind": "^1.1.2" } }, "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ=="], + + "caniuse-lite": ["caniuse-lite@1.0.30001814", "", {}, "sha512-/Uaf1lAzr59XcMpW0o96WoEfr+VXK2OX4U9AgFoiSHsVJ4HppnIFUjtYzsyDH2+tgANaQb2/oxYGwCPapN1FpA=="], + + "chai": ["chai@6.3.0", "", {}, "sha512-XWAtwJ6OHO+tj0EKCs0Y2UamnyOxseZWltU4x2U2wh8g4AigdjwvtUjvLP2tqkA/avxHEtzxNaqGq/YGNwckKg=="], + + "chalk": ["chalk@5.6.2", "", {}, "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA=="], + + "chokidar": ["chokidar@5.0.0", "", { "dependencies": { "readdirp": "^5.0.0" } }, "sha512-TQMmc3w+5AxjpL8iIiwebF73dRDF4fBIieAqGn9RGCWaEVwQ6Fb2cGe31Yns0RRIzii5goJ1Y7xbMwo1TxMplw=="], + + "class-variance-authority": ["class-variance-authority@0.7.1", "", { "dependencies": { "clsx": "^2.1.1" } }, "sha512-Ka+9Trutv7G8M6WT6SeiRWz792K5qEqIGEGzXKhAE6xOWAY6pPH8U+9IY3oCMv6kqTmLsv7Xh/2w2RigkePMsg=="], + + "clsx": ["clsx@2.1.1", "", {}, "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA=="], + + "combined-stream": ["combined-stream@1.0.8", "", { "dependencies": { "delayed-stream": "~1.0.0" } }, "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg=="], + + "consola": ["consola@3.4.2", "", {}, "sha512-5IKcdX0nnYavi6G7TtOhwkYzyjfJlatbjMjuLSfE2kYT5pMDOilZ4OvMhi637CcDICTmz3wARPoyhqyX1Y+XvA=="], + + "convert-source-map": ["convert-source-map@2.0.0", "", {}, "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg=="], + + "cookie": ["cookie@1.1.1", "", {}, "sha512-ei8Aos7ja0weRpFzJnEA9UHJ/7XQmqglbRwnf2ATjcB9Wq874VKH9kfjjirM6UhU2/E5fFYadylyhFldcqSidQ=="], + + "cookie-es": ["cookie-es@3.1.1", "", {}, "sha512-UaXxwISYJPTr9hwQxMFYZ7kNhSXboMXP+Z3TRX6f1/NyaGPfuNUZOWP1pUEb75B2HjfklIYLVRfWiFZJyC6Npg=="], + + "copy-anything": ["copy-anything@4.1.5", "", {}, "sha512-vePst2VLTSqPglW7Q98VwFpGiGpOHTyXIo81MO5VyLecA5zMbZw/P/V1vmwD1jksa2iJpn/YkDrJ3XhTfzUyhQ=="], + + "crossws": ["crossws@0.4.12", "", { "peerDependencies": { "srvx": ">=0.11.5" }, "optionalPeers": ["srvx"] }, "sha512-aypfsr6t0uNvkqaZc6zvBfXzC6pLI0/sIulpkV6RwCVtZqG5ebBzv4weImKK0VNCj91Wl9F5j7p5WU4MNrybng=="], + + "csstype": ["csstype@3.2.3", "", {}, "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ=="], + + "dayjs": ["dayjs@1.11.23", "", {}, "sha512-QDTCU0M0MxR3hQfnlDJfwekQiaanm1ubOD231u73WBckQ/fsamwRLiE2GBz6D3a/xF1NgfiDLJjXBa1hYOYTtQ=="], + + "db0": ["db0@0.4.1", "", {}, "sha512-6RBY/bSn42UrqATwsiULj2uYFyEykB3XeA/NLIVQeHNXlYV6D4Idxx3/aa6k5Y45Dwzx7sygeLotnqHWSeURYA=="], + + "debug": ["debug@4.4.3", "", { "dependencies": { "ms": "^2.1.3" }, "peerDependencies": { "supports-color": "*" }, "optionalPeers": ["supports-color"] }, "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA=="], + + "deepmerge": ["deepmerge@2.2.1", "", {}, "sha512-R9hc1Xa/NOBi9WRVUWg19rl1UB7Tt4kuPd+thNJgFZoxXsTz7ncaPaeIm+40oSGuP33DfMb4sZt1QIGiJzC4EA=="], + + "delayed-stream": ["delayed-stream@1.0.0", "", {}, "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ=="], + + "detect-libc": ["detect-libc@2.1.2", "", {}, "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ=="], + + "diff": ["diff@8.0.4", "", {}, "sha512-DPi0FmjiSU5EvQV0++GFDOJ9ASQUVFh5kD+OzOnYdi7n3Wpm9hWWGfB/O2blfHcMVTL5WkQXSnRiK9makhrcnw=="], + + "dunder-proto": ["dunder-proto@1.0.1", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.1", "es-errors": "^1.3.0", "gopd": "^1.2.0" } }, "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A=="], + + "electron-to-chromium": ["electron-to-chromium@1.5.443", "", {}, "sha512-TDJG36L9A3CWWwZ97HKaE+Iz1sW80pNp6sAU0owzCIV3Zc9eVyRqZK8Vz6NKuMIU8WjP0pIkoqCa0VRf/yFD0Q=="], + + "enhanced-resolve": ["enhanced-resolve@5.26.0", "", { "dependencies": { "graceful-fs": "^4.2.4", "tapable": "^2.3.3" } }, "sha512-9vhedylFonb2YGogzUKX6+Ja72gOJbN1QHAqdrvqLwhdl/QWbKopzoUC9EbQNVsAns/bx/4uyqalrQAoy1IByw=="], + + "env-runner": ["env-runner@0.2.3", "", { "dependencies": { "crossws": "^0.4.12", "exsolve": "^1.1.1", "httpxy": "^0.5.5", "srvx": "^1.0.5" }, "bin": { "env-runner": "./dist/cli.mjs" } }, "sha512-S8EFBKyznRwPVwayK187cYjvnpgC92xy+q0BIF++V965pfjMVVRbQ/HoTYGA/1EHmZ7E68k6Heq+4WnvVhOL5w=="], + + "error-stack-parser-es": ["error-stack-parser-es@1.0.5", "", {}, "sha512-5qucVt2XcuGMcEGgWI7i+yZpmpByQ8J1lHhcL7PwqCwu9FPP3VUXzT4ltHe5i2z9dePwEHcDVOAfSnHsOlCXRA=="], + + "es-define-property": ["es-define-property@1.0.1", "", {}, "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g=="], + + "es-errors": ["es-errors@1.3.0", "", {}, "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw=="], + + "es-module-lexer": ["es-module-lexer@2.3.2", "", {}, "sha512-poHGpORABojJJucnV9KbOavETW8lBVnphkW77ER5/BQ5Fz7oXSoCNek7IH3vR5nRjdsEz926ibFYX8KtLQmdyw=="], + + "es-object-atoms": ["es-object-atoms@1.1.2", "", { "dependencies": { "es-errors": "^1.3.0" } }, "sha512-HWcBoN6NileqtSydK2FqHbS/LoDd2pqrnQHLyJzBj4kOp/ky2MWMN694xOfkK8/SnUsW2DH7EfyVlydKCsm1Zw=="], + + "es-set-tostringtag": ["es-set-tostringtag@2.1.0", "", { "dependencies": { "es-errors": "^1.3.0", "get-intrinsic": "^1.2.6", "has-tostringtag": "^1.0.2", "hasown": "^2.0.2" } }, "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA=="], + + "esbuild": ["esbuild@0.28.1", "", { "optionalDependencies": { "@esbuild/aix-ppc64": "0.28.1", "@esbuild/android-arm": "0.28.1", "@esbuild/android-arm64": "0.28.1", "@esbuild/android-x64": "0.28.1", "@esbuild/darwin-arm64": "0.28.1", "@esbuild/darwin-x64": "0.28.1", "@esbuild/freebsd-arm64": "0.28.1", "@esbuild/freebsd-x64": "0.28.1", "@esbuild/linux-arm": "0.28.1", "@esbuild/linux-arm64": "0.28.1", "@esbuild/linux-ia32": "0.28.1", "@esbuild/linux-loong64": "0.28.1", "@esbuild/linux-mips64el": "0.28.1", "@esbuild/linux-ppc64": "0.28.1", "@esbuild/linux-riscv64": "0.28.1", "@esbuild/linux-s390x": "0.28.1", "@esbuild/linux-x64": "0.28.1", "@esbuild/netbsd-arm64": "0.28.1", "@esbuild/netbsd-x64": "0.28.1", "@esbuild/openbsd-arm64": "0.28.1", "@esbuild/openbsd-x64": "0.28.1", "@esbuild/openharmony-arm64": "0.28.1", "@esbuild/sunos-x64": "0.28.1", "@esbuild/win32-arm64": "0.28.1", "@esbuild/win32-ia32": "0.28.1", "@esbuild/win32-x64": "0.28.1" }, "bin": { "esbuild": "bin/esbuild" } }, "sha512-HrJrvZv5ayxBzPfwphOoNzkzOIIlifzk0KJrGK2c8R4+LKpMtpYLQeUdjnwjWv/LZlkH2laZk+4w78pi99D4Vw=="], + + "escalade": ["escalade@3.2.0", "", {}, "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA=="], + + "estree-walker": ["estree-walker@3.0.3", "", { "dependencies": { "@types/estree": "^1.0.0" } }, "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g=="], + + "expect-type": ["expect-type@1.4.0", "", {}, "sha512-KfYbmpRm0VbLjEvVa9yGwCi9GI34xvi7A/HXYWQO65CSD2u3MczUJSuwXKFIxlGsgBQizV9q5J9NHj4VG0n+pA=="], + + "exsolve": ["exsolve@1.1.1", "", {}, "sha512-9U/jZUgjnSGyntRr6y5Muu1MJcwFl6kPu7k8qLF0IMNfLqvw0NZ4nnVDq0RVoZ0RvCyumib4Ez3KYrVfilrw+g=="], + + "fdir": ["fdir@6.5.0", "", { "peerDependencies": { "picomatch": "^3 || ^4" }, "optionalPeers": ["picomatch"] }, "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg=="], + + "fetchdts": ["fetchdts@0.1.7", "", {}, "sha512-YoZjBdafyLIop9lSxXVI33oLD5kN31q4Td+CasofLLYeLXRFeOsuOw0Uo+XNRi9PZlbfdlN2GmRtm4tCEQ9/KA=="], + + "follow-redirects": ["follow-redirects@1.16.0", "", { "peerDependencies": { "debug": "*" }, "optionalPeers": ["debug"] }, "sha512-y5rN/uOsadFT/JfYwhxRS5R7Qce+g3zG97+JrtFZlC9klX/W5hD7iiLzScI4nZqUS7DNUdhPgw4xI8W2LuXlUw=="], + + "form-data": ["form-data@4.0.6", "", { "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", "es-set-tostringtag": "^2.1.0", "hasown": "^2.0.4", "mime-types": "^2.1.35" } }, "sha512-vKatAh4SlVfgbv+YtmhiRjhEMJsYpsG1Y2rMQtR+SVSbytsSD1YGzDIcrAJmdFec88u/+VoGmxnl+80gL1tRCQ=="], + + "formik": ["formik@2.4.9", "", { "dependencies": { "@types/hoist-non-react-statics": "^3.3.1", "deepmerge": "^2.1.1", "hoist-non-react-statics": "^3.3.0", "lodash": "^4.17.21", "lodash-es": "^4.17.21", "react-fast-compare": "^2.0.1", "tiny-warning": "^1.0.2", "tslib": "^2.0.0" }, "peerDependencies": { "react": ">=16.8.0" } }, "sha512-5nI94BMnlFDdQRBY4Sz39WkhxajZJ57Fzs8wVbtsQlm5ScKIR1QLYqv/ultBnobObtlUyxpxoLodpixrsf36Og=="], + + "fsevents": ["fsevents@2.3.3", "", { "os": "darwin" }, "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw=="], + + "function-bind": ["function-bind@1.1.2", "", {}, "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA=="], + + "fuse.js": ["fuse.js@7.5.0", "", {}, "sha512-sQtrEfA+ez/3G0cCZecF70oqpCRttCexYUG4mUrtWL49ULUzUyxokt5kyqwtKzj1270RaKih+hcP3qLcumccow=="], + + "gensync": ["gensync@1.0.0-beta.2", "", {}, "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg=="], + + "get-intrinsic": ["get-intrinsic@1.3.0", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.2", "es-define-property": "^1.0.1", "es-errors": "^1.3.0", "es-object-atoms": "^1.1.1", "function-bind": "^1.1.2", "get-proto": "^1.0.1", "gopd": "^1.2.0", "has-symbols": "^1.1.0", "hasown": "^2.0.2", "math-intrinsics": "^1.1.0" } }, "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ=="], + + "get-proto": ["get-proto@1.0.1", "", { "dependencies": { "dunder-proto": "^1.0.1", "es-object-atoms": "^1.0.0" } }, "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g=="], + + "goober": ["goober@2.1.19", "", { "peerDependencies": { "csstype": "^3.0.10" } }, "sha512-U7veizMqxyKlM58+Z5j2ngJBH/r9siDmxpvNxSw0PylF6WQvrASJEZrxh1hidRBJc2jqoBVSyOban5u8m+6Rxg=="], + + "gopd": ["gopd@1.2.0", "", {}, "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg=="], + + "graceful-fs": ["graceful-fs@4.2.11", "", {}, "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ=="], + + "h3": ["h3@2.0.1-rc.32", "", { "dependencies": { "rou3": "^0.9.2", "srvx": "^1.0.5" }, "peerDependencies": { "crossws": "^0.4.12", "ocache": ">=0.3.0" }, "optionalPeers": ["crossws", "ocache"], "bin": { "h3": "./bin/h3.mjs" } }, "sha512-Epg1E85L8yIKd9UeAQAVdm6QVrnHbppMsQ641EjpNi4c0IlAg+PJlwp4Xw03Z1loRXPQaH9k64gJT5qDELqm+g=="], + + "h3-v2": ["h3@2.0.1-rc.20", "", { "dependencies": { "rou3": "^0.8.1", "srvx": "^0.11.13" }, "peerDependencies": { "crossws": "^0.4.1" }, "optionalPeers": ["crossws"], "bin": { "h3": "bin/h3.mjs" } }, "sha512-28ljodXuUp0fZovdiSRq4G9OgrxCztrJe5VdYzXAB7ueRvI7pIUqLU14Xi3XqdYJ/khXjfpUOOD2EQa6CmBgsg=="], + + "has-symbols": ["has-symbols@1.1.0", "", {}, "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ=="], + + "has-tostringtag": ["has-tostringtag@1.0.2", "", { "dependencies": { "has-symbols": "^1.0.3" } }, "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw=="], + + "hasown": ["hasown@2.0.4", "", { "dependencies": { "function-bind": "^1.1.2" } }, "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A=="], + + "hoist-non-react-statics": ["hoist-non-react-statics@3.3.2", "", { "dependencies": { "react-is": "^16.7.0" } }, "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw=="], + + "hookable": ["hookable@6.1.2", "", {}, "sha512-+abwxtiEA52GCVIsQqut3S/uKTbUwYIp4Pe/vv+6py5XiXBCqMZHg6pA6Y5qhgLSEys0/cYuPbO0z1QFj5ZCmg=="], + + "https-proxy-agent": ["https-proxy-agent@5.0.1", "", { "dependencies": { "agent-base": "6", "debug": "4" } }, "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA=="], + + "httpxy": ["httpxy@0.5.5", "", {}, "sha512-uDjmnPyp1q4Sgzf3w+J/Fc6UqcCEj0x4Wjp7OqK5dGhNeDgpyrAmnS6ey8QWrX3SWDon2DMKf9sBa5X9+CVyMA=="], + + "isbot": ["isbot@5.2.2", "", {}, "sha512-iQcBXcd+Rv/pkubRyGh2utW2j1oPG5hZY6TUhVPpqK4G+o3IbxpJNx04hgksjc/N7GK5pEorUxDeg31cFgEk/w=="], + + "jiti": ["jiti@2.7.0", "", { "bin": { "jiti": "lib/jiti-cli.mjs" } }, "sha512-AC/7JofJvZGrrneWNaEnJeOLUx+JlGt7tNa0wZiRPT4MY1wmfKjt2+6O2p2uz2+skll8OZZmJMNqeke7kKbNgQ=="], + + "js-tokens": ["js-tokens@4.0.0", "", {}, "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="], + + "js-yaml": ["js-yaml@4.3.2", "", { "dependencies": { "argparse": "^2.0.1" }, "bin": { "js-yaml": "bin/js-yaml.js" } }, "sha512-SFNOvSJ+Dgf/9An904Yx+CgSlIPCkIpao4qo51lpee25TIRejdH3rhR4EZMGoNx3/TP3O+wzWuiTFl4sqbltzA=="], + + "jsesc": ["jsesc@3.1.0", "", { "bin": { "jsesc": "bin/jsesc" } }, "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA=="], + + "json5": ["json5@2.2.3", "", { "bin": { "json5": "lib/cli.js" } }, "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg=="], + + "jwt-decode": ["jwt-decode@4.0.0", "", {}, "sha512-+KJGIyHgkGuIq3IEBNftfhW/LfWhXUIY6OmyVWjliu5KH1y0fw7VQ8YndE2O4qZdMSd9SqbnC8GOcZEy0Om7sA=="], + + "kleur": ["kleur@4.1.5", "", {}, "sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ=="], + + "launch-editor": ["launch-editor@2.14.1", "", { "dependencies": { "picocolors": "^1.1.1", "shell-quote": "^1.8.4" } }, "sha512-QWBrQsMpH7gPr965dsKD/3cKWiNoTjpATQf++Xq63N6sKRGMwlVXz41O1IZTMfZQgBctD/K5Zt06+/I6pP6+HA=="], + + "lightningcss": ["lightningcss@1.33.0", "", { "dependencies": { "detect-libc": "^2.0.3" }, "optionalDependencies": { "lightningcss-android-arm64": "1.33.0", "lightningcss-darwin-arm64": "1.33.0", "lightningcss-darwin-x64": "1.33.0", "lightningcss-freebsd-x64": "1.33.0", "lightningcss-linux-arm-gnueabihf": "1.33.0", "lightningcss-linux-arm64-gnu": "1.33.0", "lightningcss-linux-arm64-musl": "1.33.0", "lightningcss-linux-x64-gnu": "1.33.0", "lightningcss-linux-x64-musl": "1.33.0", "lightningcss-win32-arm64-msvc": "1.33.0", "lightningcss-win32-x64-msvc": "1.33.0" } }, "sha512-WkUDrojuJs0xkgGf2udWxa3yGBRxPtxUkB79i6aCZLRgc7PM8fZe9TosfPDcvEpQZbuFASnHYmRLBLUbmLOIIA=="], + + "lightningcss-android-arm64": ["lightningcss-android-arm64@1.33.0", "", { "os": "android", "cpu": "arm64" }, "sha512-gEpRTalKdosp4Bb8qWtc2iOgE5SeIHlpS1up9bFq2wAyYhl1UdTObYiHe98zEM9SQvSoqQZ1IQD0JNpg3Ml5pg=="], + + "lightningcss-darwin-arm64": ["lightningcss-darwin-arm64@1.33.0", "", { "os": "darwin", "cpu": "arm64" }, "sha512-Sciaz8eenNTKn9b3t7+xr0ipTp9YxKQY4npwQ3mrRuL0BAVHBLyZxofhaKBAVtzmtRZ/zTyo0/to4B1uWG/Djg=="], + + "lightningcss-darwin-x64": ["lightningcss-darwin-x64@1.33.0", "", { "os": "darwin", "cpu": "x64" }, "sha512-Z5UPAxzrjlWNNyGy6i65cJzzvgJ5D3T6wMvs+gWpY9d7qRhANrxqAp6LhxIgZhWEw18RfJTGcRxjuLIBr+m8XQ=="], + + "lightningcss-freebsd-x64": ["lightningcss-freebsd-x64@1.33.0", "", { "os": "freebsd", "cpu": "x64" }, "sha512-QQM/Ti/hQajJwCY+RiWuCZ9sdtI/XQk7nDK5vC8kkdwixezOlDgvDx7+RT+QjK6FcFT4MpsuoBnHIo/O3StRRg=="], + + "lightningcss-linux-arm-gnueabihf": ["lightningcss-linux-arm-gnueabihf@1.33.0", "", { "os": "linux", "cpu": "arm" }, "sha512-N7FVBe6iS24MlM6R/4RBTxGhQheZGs7tiQ9U32UtF75NzP5Q7xWPRqLBCKxlRQRk3rY1jCIPLzx7WzOhuUIRLQ=="], + + "lightningcss-linux-arm64-gnu": ["lightningcss-linux-arm64-gnu@1.33.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-j2v/itmy4HlNxlc6voKXYgBqNi0Ng2LShg4z7GufpEgs05P+2suBVyi9I6YHq5uoVFx9ETin3eCEhLVyXGQnKg=="], + + "lightningcss-linux-arm64-musl": ["lightningcss-linux-arm64-musl@1.33.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-yiO5ROMuYQgXbC60yjZU5CYSFZGKXL0HFATXt9mHJn1+zW55oCtMI9NfcVhYLMFDL7gV7oBPon/EmMMGg2OvtQ=="], + + "lightningcss-linux-x64-gnu": ["lightningcss-linux-x64-gnu@1.33.0", "", { "os": "linux", "cpu": "x64" }, "sha512-ar+Ju7LmcN0Jo4FpL4hpFybwNG9/3A/Br5KW2n2jyODg3MEZXaDYADdemoNS+BDNfMgKvylJLj4S5tyRActuAg=="], + + "lightningcss-linux-x64-musl": ["lightningcss-linux-x64-musl@1.33.0", "", { "os": "linux", "cpu": "x64" }, "sha512-RYiYbkokw0trfKqqzfF55lginwEPrD3OJDfTuJzFs1MK6iFnDenaz1fqLLtX4ITG3OktJQXOeTaw1awrBAlZPw=="], + + "lightningcss-win32-arm64-msvc": ["lightningcss-win32-arm64-msvc@1.33.0", "", { "os": "win32", "cpu": "arm64" }, "sha512-1K+MPfLSFVpphzpdbfkhlWk6wBrTObBzS2T6db10PNOZgR9GoVsAWzwNyuhUYYbTp23j+4RrncfujZ4uAzXvwA=="], + + "lightningcss-win32-x64-msvc": ["lightningcss-win32-x64-msvc@1.33.0", "", { "os": "win32", "cpu": "x64" }, "sha512-OlEICDx/Xl0FqSp4bry8zFnCvGpig3Gl4gCquvYwHuqJKEC1+n9NgDniFvqHGmMv1ZkqDJrDqKKSykTDX+ehuA=="], + + "lodash": ["lodash@4.18.1", "", {}, "sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q=="], + + "lodash-es": ["lodash-es@4.18.1", "", {}, "sha512-J8xewKD/Gk22OZbhpOVSwcs60zhd95ESDwezOFuA3/099925PdHJ7OFHNTGtajL3AlZkykD32HykiMo+BIBI8A=="], + + "lru-cache": ["lru-cache@5.1.1", "", { "dependencies": { "yallist": "^3.0.2" } }, "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w=="], + + "lucide-react": ["lucide-react@0.400.0", "", { "peerDependencies": { "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, "sha512-rpp7pFHh3Xd93KHixNgB0SqThMHpYNzsGUu69UaQbSZ75Q/J3m5t6EhKyMT3m4w2WOxmJ2mY0tD3vebnXqQryQ=="], + + "magic-string": ["magic-string@0.30.21", "", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.5" } }, "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ=="], + + "math-intrinsics": ["math-intrinsics@1.1.0", "", {}, "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g=="], + + "mime-db": ["mime-db@1.52.0", "", {}, "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg=="], + + "mime-types": ["mime-types@2.1.35", "", { "dependencies": { "mime-db": "1.52.0" } }, "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw=="], + + "miniflare": ["miniflare@5.20260930.0-alpha", "", { "dependencies": { "@cspotcode/source-map-support": "0.8.1", "sharp": "0.35.4", "undici": "7.29.1", "workerd": "1.20260930.2", "ws": "8.21.0", "youch": "4.1.0-beta.10" } }, "sha512-vZljfRtOEeynbhJtuvYsnCU8t6zF5wIUm9ql4YFHB7zvYw2+F2tpT0BzXjzaa++eiUIml1gsODCf02qShBmJdg=="], + + "ms": ["ms@2.1.3", "", {}, "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="], + + "nanoid": ["nanoid@3.3.19", "", { "bin": { "nanoid": "bin/nanoid.cjs" } }, "sha512-Y2tUNy4ouw6tq5oDSKeQYGOyhkUBhNOcGV/02KC+6kd9eDGqdZd++mjMiIDilrBYvjEnCYvVtsuHCuP+okSfug=="], + + "nf3": ["nf3@0.3.24", "", {}, "sha512-HxLK4bo+5jNsEETZp4w3tJblHOA9MCBY14IN9nZJJV8JDxt9yNIYxuBuLMjTAR5GFa3HL61+8VQDUrXv3/C8fw=="], + + "nitro": ["nitro-nightly@3.0.1-20260928-103646-f72e2ba6", "", { "dependencies": { "consola": "^3.4.2", "crossws": "^0.4.12", "db0": "^0.4.1", "env-runner": "^0.2.3", "h3": "^2.0.1-rc.32", "hookable": "^6.1.2", "nf3": "^0.3.24", "ocache": "^0.3.0", "rolldown": "^1.2.9", "rou3": "^0.9.2", "srvx": "^1.0.5", "unenv": "^2.0.0-rc.24", "unstorage": "^2.0.0-alpha.10" }, "bin": { "nitro": "dist/cli/index.mjs" } }, "sha512-TR4+OY8uM6w9VOU9KePWb/6pWwgsRpUdNZicn87QoxxgplPAE71X9qy1pkBVmHwDEye929o3KCCziOhDhNpu2A=="], + + "node-releases": ["node-releases@2.0.57", "", {}, "sha512-kQK9LGGFiHtrWiNhZtA7Qbw17AQz+dmsEKODRIVTXA9+e5MS/2gZEBhYJt13GrAz5/IOZKddH/0Z3TP/Zgo+yw=="], + + "obug": ["obug@2.2.1", "", {}, "sha512-XrsrhT5sybtKI6wakr2SPOlGZWWYbUXZ7a0jT8/QOeAPau+1X/bSegNe5YR75oJmEZQbKningirmGOEJCIk61Q=="], + + "ocache": ["ocache@0.3.0", "", {}, "sha512-RS/9P0zeBb0gDJmadGERLH8lZNXK7xbufTDhclkXGvFGTsj0G4M5/cLk+mizcERH29mLXNnocfB5wjcK70wGJg=="], + + "path-to-regexp": ["path-to-regexp@6.3.0", "", {}, "sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ=="], + + "pathe": ["pathe@2.0.3", "", {}, "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w=="], + + "picocolors": ["picocolors@1.1.1", "", {}, "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA=="], + + "picomatch": ["picomatch@4.0.7", "", {}, "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA=="], + + "postcss": ["postcss@8.5.28", "", { "dependencies": { "nanoid": "^3.3.18", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" } }, "sha512-RRuzqDtt5Y9h3quz5hWhK+TPnsmVs6WwSU6LkJMeY4HstUEDuYTG8UJSdawMRzmzAtV+KEoG8N3Qg2qLy5vM/A=="], + + "prettier": ["prettier@3.9.9", "", { "bin": { "prettier": "bin/prettier.cjs" } }, "sha512-Z/CJHIkdujO/OtN7nXUii0Rf3VT5SRuhjBA82Xvu2XhBUgX3nhP67T0LHceBdQLex7OOFGTox+Q5Yg8Jk2Qivg=="], + + "property-expr": ["property-expr@2.0.6", "", {}, "sha512-SVtmxhRE/CGkn3eZY1T6pC8Nln6Fr/lu1mKSgRud0eC73whjGfoAogbn78LkD8aFL0zz3bAFerKSnOl7NlErBA=="], + + "proxy-from-env": ["proxy-from-env@2.1.0", "", {}, "sha512-cJ+oHTW1VAEa8cJslgmUZrc+sjRKgAKl3Zyse6+PV38hZe/V6Z14TbCuXcan9F9ghlz4QrFr2c92TNF82UkYHA=="], + + "react": ["react@19.3.0", "", {}, "sha512-E8LUcbtBWt20bbl2YoHfx4ZDBdxVTfOKtCZn9cDSJ4l6/nuoApcpIBcj47t2wZoVX8g2ZHuMHbiShgCR1T5Sog=="], + + "react-dom": ["react-dom@19.3.0", "", { "dependencies": { "scheduler": "^0.28.0" }, "peerDependencies": { "react": "^19.3.0" } }, "sha512-JDk8dgif51OjFoDE70+OT9ICyYr+69HlmihNwp1+Nsfbna3t5sIiCa9ZJktDmQ4/1b/rn26hIAR2uYXDMr5r0Q=="], + + "react-fast-compare": ["react-fast-compare@2.0.4", "", {}, "sha512-suNP+J1VU1MWFKcyt7RtjiSWUjvidmQSlqu+eHslq+342xCbGTYmC0mEhPCOHxlW0CywylOC1u2DFAT+bv4dBw=="], + + "react-is": ["react-is@16.13.1", "", {}, "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="], + + "readdirp": ["readdirp@5.1.1", "", {}, "sha512-Kko+Y5XQ6fM+Ce3dq3m9YGxnacYZYl9cA1wZjaF3Vbry2L3i1qVg8+CAgNPsXRArPMUMCaOR7oa9Nqntc43JKA=="], + + "remove-accents": ["remove-accents@0.5.0", "", {}, "sha512-8g3/Otx1eJaVD12e31UbJj1YzdtVvzH85HV7t+9MJYk/u3XmkOUJ5Ys9wQrf9PCPK8+xn4ymzqYCiZl6QWKn+A=="], + + "rolldown": ["rolldown@1.2.12", "", { "dependencies": { "@oxc-project/types": "=0.152.0", "@rolldown/pluginutils": "^1.0.0" }, "optionalDependencies": { "@rolldown/binding-android-arm-eabi": "1.2.12", "@rolldown/binding-android-arm64": "1.2.12", "@rolldown/binding-darwin-arm64": "1.2.12", "@rolldown/binding-darwin-x64": "1.2.12", "@rolldown/binding-freebsd-x64": "1.2.12", "@rolldown/binding-linux-arm-gnueabihf": "1.2.12", "@rolldown/binding-linux-arm64-gnu": "1.2.12", "@rolldown/binding-linux-arm64-musl": "1.2.12", "@rolldown/binding-linux-ppc64-gnu": "1.2.12", "@rolldown/binding-linux-s390x-gnu": "1.2.12", "@rolldown/binding-linux-x64-gnu": "1.2.12", "@rolldown/binding-linux-x64-musl": "1.2.12", "@rolldown/binding-openharmony-arm64": "1.2.12", "@rolldown/binding-win32-arm64-msvc": "1.2.12", "@rolldown/binding-win32-x64-msvc": "1.2.12" }, "bin": { "rolldown": "./bin/cli.mjs" } }, "sha512-8wafseiaG80xmXSfqidUNqZcylTlhmPZZt+za2m+js2sFZ8dTNlhIOV2WcbIPx2hgwPBJpEUGFAMZ9bgBBLTSQ=="], + + "rou3": ["rou3@0.9.2", "", {}, "sha512-3SOzvaAg8rkHrXtRjpCvCvbyO5to9oOO27Z/XqHEYXfMRVSw/qMIVdmaOk9W2lcRLtR6dlqTjo9hDeJk70QBYQ=="], + + "scheduler": ["scheduler@0.28.0", "", {}, "sha512-juorfCmIkIw8tT+p5BXSm6PJjQF/ycEYmKyzURCIt/RaZIhL+PulbQ9Yu2z1HdOJDdqDTlxA1+xKBmHXJsczAw=="], + + "semver": ["semver@6.3.1", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="], + + "seroval": ["seroval@1.6.8", "", {}, "sha512-HlSgSAkTk4EqHcje1ptJjfZi1YDv5KbhVJ/d3P7T/nAXua2VmDu+AKDX5VTdFfZf48nDkWB2TKYt0DrCSa+3wg=="], + + "seroval-plugins": ["seroval-plugins@1.6.8", "", { "peerDependencies": { "seroval": "^1.0" } }, "sha512-N7mWAMydj89EnYTHtRpS3LBrAz3J9O6oVrqpuXuvlAHfAUG8WEKqtbAd7SBiJNY5NfCAFhSdyAh7wI4Shjqy4g=="], + + "sharp": ["sharp@0.35.4", "", { "dependencies": { "@img/colour": "^1.1.0", "detect-libc": "^2.1.2", "semver": "^7.8.5" }, "optionalDependencies": { "@img/sharp-darwin-arm64": "0.35.4", "@img/sharp-darwin-x64": "0.35.4", "@img/sharp-freebsd-wasm32": "0.35.4", "@img/sharp-libvips-darwin-arm64": "1.3.3", "@img/sharp-libvips-darwin-x64": "1.3.3", "@img/sharp-libvips-linux-arm": "1.3.3", "@img/sharp-libvips-linux-arm64": "1.3.3", "@img/sharp-libvips-linux-ppc64": "1.3.3", "@img/sharp-libvips-linux-riscv64": "1.3.3", "@img/sharp-libvips-linux-s390x": "1.3.3", "@img/sharp-libvips-linux-x64": "1.3.3", "@img/sharp-libvips-linuxmusl-arm64": "1.3.3", "@img/sharp-libvips-linuxmusl-x64": "1.3.3", "@img/sharp-linux-arm": "0.35.4", "@img/sharp-linux-arm64": "0.35.4", "@img/sharp-linux-ppc64": "0.35.4", "@img/sharp-linux-riscv64": "0.35.4", "@img/sharp-linux-s390x": "0.35.4", "@img/sharp-linux-x64": "0.35.4", "@img/sharp-linuxmusl-arm64": "0.35.4", "@img/sharp-linuxmusl-x64": "0.35.4", "@img/sharp-webcontainers-wasm32": "0.35.4", "@img/sharp-win32-arm64": "0.35.4", "@img/sharp-win32-ia32": "0.35.4", "@img/sharp-win32-x64": "0.35.4" }, "peerDependencies": { "@types/node": "*" }, "optionalPeers": ["@types/node"] }, "sha512-n++8XWcj+jCOr2IOl7h8LbKnGBDY4aPbmprMONBNFdn0ImXqpGVv5zliDs0V9HbmbCQLpbuo2ej9rAoOQTvMDA=="], + + "shell-quote": ["shell-quote@1.11.0", "", {}, "sha512-JdxDPD0DBTyu08pq0kPC0xSNet/qsU07qT6IsX1AS8oO2ICNRY4ldNa8OAI6PuwAH8tG3lxEhbqmyp4Dw4036g=="], + + "siginfo": ["siginfo@2.0.0", "", {}, "sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g=="], + + "solid-js": ["solid-js@1.9.15", "", { "dependencies": { "csstype": "^3.1.0", "seroval": "~1.5.4", "seroval-plugins": "~1.5.4" } }, "sha512-EeiY2xfpZJqPLjXspVEKjAII4yv8NyG//NxZ3IpOFHdUNnnTyL0uJOeS9LWGvA7cFCz5y94cjFwYlmw5Luncsg=="], + + "solid-presence": ["solid-presence@0.2.0", "", { "dependencies": { "@corvu/utils": "~0.4.2" }, "peerDependencies": { "solid-js": "^1.8" } }, "sha512-YM92o+jvpzX3XGaD4rLYmq/Kc2ZVh47GSCLEufHBFQQIurvZTs8SoGJxO8BJGNDxBKdcS8F3dYhW1SDXp4BNjA=="], + + "solid-prevent-scroll": ["solid-prevent-scroll@0.1.11", "", { "dependencies": { "@corvu/utils": "~0.4.2" }, "peerDependencies": { "solid-js": "^1.8" } }, "sha512-2PComVCDHaQN/5t7ogEqUYeHasritZKXZ8Sb/VLkl0Web8o9YhEwOo8LSujJEahvMlYCNyKt0zRJeHldOAeWZg=="], + + "solid-transition-group": ["solid-transition-group@0.2.3", "", { "dependencies": { "@solid-primitives/refs": "^1.0.5", "@solid-primitives/transition-group": "^1.0.2" }, "peerDependencies": { "solid-js": "^1.6.12" } }, "sha512-iB72c9N5Kz9ykRqIXl0lQohOau4t0dhel9kjwFvx81UZJbVwaChMuBuyhiZmK24b8aKEK0w3uFM96ZxzcyZGdg=="], + + "source-map": ["source-map@0.7.6", "", {}, "sha512-i5uvt8C3ikiWeNZSVZNWcfZPItFQOsYTUAOkcUPGd8DqDy1uOUikjt5dG+uRlwyvR108Fb9DOd4GvXfT0N2/uQ=="], + + "source-map-js": ["source-map-js@1.2.2", "", {}, "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw=="], + + "srvx": ["srvx@1.0.5", "", { "bin": { "srvx": "./bin/srvx.mjs" } }, "sha512-KvSKRpgPG/oaq3cyT614OQ2bAa7DynuGamivCZeoZzIUULOdbQz6wUtnnVuC4+DCx2Zglzo8v5gBYmWIWYhDxA=="], + + "stackback": ["stackback@0.0.2", "", {}, "sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw=="], + + "std-env": ["std-env@4.3.0", "", {}, "sha512-OtU/EgQ1kIm5KwqQpBC6ZEMXrZRui11w8zgfTWp8cdO9B8OaPsbA8bTHO2P+HNo1VlUTGMVBwPhydu6poeXiag=="], + + "superjson": ["superjson@2.2.6", "", { "dependencies": { "copy-anything": "^4" } }, "sha512-H+ue8Zo4vJmV2nRjpx86P35lzwDT3nItnIsocgumgr0hHMQ+ZGq5vrERg9kJBo5AWGmxZDhzDo+WVIJqkB0cGA=="], + + "supports-color": ["supports-color@10.2.2", "", {}, "sha512-SS+jx45GF1QjgEXQx4NJZV9ImqmO2NPz5FNsIHrsDjh2YsHnawpan7SNQ1o8NuhrbHZy9AZhIoCUiCeaW/C80g=="], + + "tailwind-merge": ["tailwind-merge@3.7.0", "", {}, "sha512-XPPUyAc+cvspz3lHTcR/QgPfW2A0lv/xQNIjX3HGhLR+Nq2lHaLq5MtTesHn8GUr3W3DguT2KT5x3NVgRtYwmA=="], + + "tailwindcss": ["tailwindcss@4.3.3", "", {}, "sha512-gOhV3P7ufE62QDGg1zVaTgCR+EtPv92k2nIhVcVKcLmxT1sUBsQGhnZj175j+MqRt4zLF7ic+sCYjfhxMxj7YQ=="], + + "tapable": ["tapable@2.3.3", "", {}, "sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A=="], + + "tiny-case": ["tiny-case@1.0.3", "", {}, "sha512-Eet/eeMhkO6TX8mnUteS9zgPbUMQa4I6Kkp5ORiBD5476/m+PIRiumP5tmh5ioJpH7k51Kehawy2UDfsnxxY8Q=="], + + "tiny-warning": ["tiny-warning@1.0.3", "", {}, "sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA=="], + + "tinybench": ["tinybench@2.9.0", "", {}, "sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg=="], + + "tinyexec": ["tinyexec@1.3.1", "", {}, "sha512-GCvB3aoys96IuDFBMcTB46JOR6mdMtAToqwiW8JlWhsoh1mhHi/xn9ss/Dg7N555GiJyEt2qzoG/NHCwM6h1EA=="], + + "tinyglobby": ["tinyglobby@0.2.17", "", { "dependencies": { "fdir": "^6.5.0", "picomatch": "^4.0.4" } }, "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g=="], + + "tinyrainbow": ["tinyrainbow@3.2.0", "", {}, "sha512-LgO3D9yZJjApUiuUfl9iFAwrtaX4+lok3wJIqttGoKCHlWUqHqbQpnxCf82L8FjgKsh4iGo78hqJwgL8F6To2A=="], + + "toposort": ["toposort@2.0.2", "", {}, "sha512-0a5EOkAUp8D4moMi2W8ZF8jcga7BgZd91O/yabJCFY8az+XSzeGyTKs0Aoo897iV1Nj6guFq8orWDS96z91oGg=="], + + "tslib": ["tslib@2.8.1", "", {}, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="], + + "type-fest": ["type-fest@2.19.0", "", {}, "sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA=="], + + "typescript": ["typescript@5.9.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw=="], + + "ufo": ["ufo@1.6.4", "", {}, "sha512-JFNbkD1Svwe0KvGi8GOeLcP4kAWQ609twvCdcHxq1oSL8svv39ZuSvajcD8B+5D0eL4+s1Is2D/O6KN3qcTeRA=="], + + "undici": ["undici@7.29.1", "", {}, "sha512-RYONW2MeafgYlkVOKYKkA/Ag7BmXqgIWCa8t1m0JcxrQg9pI9lEqRhAOruOBCbAohOa/gkCF+iPi9hrgvTzu6Q=="], + + "undici-types": ["undici-types@6.21.0", "", {}, "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ=="], + + "unenv": ["unenv@2.0.0-rc.24", "", { "dependencies": { "pathe": "^2.0.3" } }, "sha512-i7qRCmY42zmCwnYlh9H2SvLEypEFGye5iRmEMKjcGi7zk9UquigRjFtTLz0TYqr0ZGLZhaMHl/foy1bZR+Cwlw=="], + + "unplugin": ["unplugin@3.4.0", "", { "dependencies": { "@jridgewell/remapping": "^2.3.5", "picomatch": "^4.0.7", "webpack-virtual-modules": "^0.6.2" }, "peerDependencies": { "@farmfe/core": "*", "@rsbuild/core": "*", "@rspack/core": "*", "bun-types-no-globals": "*", "esbuild": "*", "rolldown": "*", "rollup": "*", "unloader": "*", "vite": "*", "webpack": "*" }, "optionalPeers": ["@farmfe/core", "@rsbuild/core", "@rspack/core", "bun-types-no-globals", "esbuild", "rolldown", "rollup", "unloader", "vite", "webpack"] }, "sha512-9skdIFlCsPdFV7wUfZxNsFInlW+7nJmGu2gkTu0OUhF56aXGsHab9x52/QhdJ4lC7ZDPWTxbiC4ANqVlsuaW3w=="], + + "unstorage": ["unstorage@2.0.0-alpha.10", "", {}, "sha512-6h1veZp8gnp4dGllf0tDijoXxDYymJu251IpKKkrSVH+QHL6tXFbwG85KM+CBHSgpkkgtPuIiZ9oLCLP5+1Evw=="], + + "update-browserslist-db": ["update-browserslist-db@1.3.3", "", { "dependencies": { "escalade": "^3.2.0", "picocolors": "^1.1.1" }, "peerDependencies": { "browserslist": ">= 4.21.0" }, "bin": { "update-browserslist-db": "cli.js" } }, "sha512-pJ2sYawQS0R/WI928Gj5GlPhTGzbMelq0+4INtSYNDV9ErKJcX6xjGWkoG/VnB3dpUm00zALaqkrUD77pO5TDQ=="], + + "use-sync-external-store": ["use-sync-external-store@1.7.0", "", { "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, "sha512-6L+EeigHMQhdaIPNIFUKwfWJSwWFQ8gJbJ2DLOs5sDIegTwR9fRxvnM3uciHKjIZhFz+KAv2emhWMRvDmMcY8A=="], + + "vite": ["vite@8.3.1", "", { "dependencies": { "lightningcss": "^1.33.0", "picomatch": "^4.0.7", "postcss": "^8.5.28", "rolldown": "~1.2.9", "tinyglobby": "^0.2.17" }, "optionalDependencies": { "fsevents": "~2.3.3" }, "peerDependencies": { "@types/node": "^20.19.0 || >=22.12.0", "@vitejs/devtools": "^0.7.1", "esbuild": "^0.27.0 || ^0.28.0", "jiti": ">=1.21.0", "less": "^4.0.0", "sass": "^1.70.0", "sass-embedded": "^1.70.0", "stylus": ">=0.54.8", "sugarss": "^5.0.0", "terser": "^5.16.0", "tsx": "^4.8.1", "yaml": "^2.4.2" }, "optionalPeers": ["@types/node", "@vitejs/devtools", "esbuild", "jiti", "less", "sass", "sass-embedded", "stylus", "sugarss", "terser", "tsx", "yaml"], "bin": { "vite": "bin/vite.js" } }, "sha512-/bvH9E9tmCXRGp2uXY3WbOldqpTwFkbha/8ANaEQ6VkxhH60KyqLwgZq6lG2y+4uT55x9+9eUHMpQ7uGnOCKjA=="], + + "vitefu": ["vitefu@1.1.3", "", { "peerDependencies": { "vite": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0" }, "optionalPeers": ["vite"] }, "sha512-ub4okH7Z5KLjb6hDyjqrGXqWtWvoYdU3IGm/NorpgHncKoLTCfRIbvlhBm7r0YstIaQRYlp4yEbFqDcKSzXSSg=="], + + "vitest": ["vitest@4.1.11", "", { "dependencies": { "@vitest/expect": "4.1.11", "@vitest/mocker": "4.1.11", "@vitest/pretty-format": "4.1.11", "@vitest/runner": "4.1.11", "@vitest/snapshot": "4.1.11", "@vitest/spy": "4.1.11", "@vitest/utils": "4.1.11", "es-module-lexer": "^2.0.0", "expect-type": "^1.3.0", "magic-string": "^0.30.21", "obug": "^2.1.1", "pathe": "^2.0.3", "picomatch": "^4.0.3", "std-env": "^4.0.0-rc.1", "tinybench": "^2.9.0", "tinyexec": "^1.0.2", "tinyglobby": "^0.2.15", "tinyrainbow": "^3.1.0", "vite": "^6.0.0 || ^7.0.0 || ^8.0.0", "why-is-node-running": "^2.3.0" }, "peerDependencies": { "@edge-runtime/vm": "*", "@opentelemetry/api": "^1.9.0", "@types/node": "^20.0.0 || ^22.0.0 || >=24.0.0", "@vitest/browser-playwright": "4.1.11", "@vitest/browser-preview": "4.1.11", "@vitest/browser-webdriverio": "4.1.11", "@vitest/coverage-istanbul": "4.1.11", "@vitest/coverage-v8": "4.1.11", "@vitest/ui": "4.1.11", "happy-dom": "*", "jsdom": "*" }, "optionalPeers": ["@edge-runtime/vm", "@opentelemetry/api", "@types/node", "@vitest/browser-playwright", "@vitest/browser-preview", "@vitest/browser-webdriverio", "@vitest/coverage-istanbul", "@vitest/coverage-v8", "@vitest/ui", "happy-dom", "jsdom"], "bin": { "vitest": "./vitest.mjs" } }, "sha512-fhACrNXUidIbGSBr5FlbuBkO7VWC1ZyLl0DO4CU2DrQoAPxX84Ysxs+HeGQpii5lZWV1Q4gBZTTu49mF+A6Edw=="], + + "webpack-virtual-modules": ["webpack-virtual-modules@0.6.2", "", {}, "sha512-66/V2i5hQanC51vBQKPH4aI8NMAcBW59FVBs+rC7eGHupMyfn34q7rZIE+ETlJ+XTevqfUhVVBgSUNSW2flEUQ=="], + + "why-is-node-running": ["why-is-node-running@2.3.0", "", { "dependencies": { "siginfo": "^2.0.0", "stackback": "0.0.2" }, "bin": { "why-is-node-running": "cli.js" } }, "sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w=="], + + "workerd": ["workerd@1.20260930.2", "", { "optionalDependencies": { "@cloudflare/workerd-darwin-64": "1.20260930.2", "@cloudflare/workerd-darwin-arm64": "1.20260930.2", "@cloudflare/workerd-linux-64": "1.20260930.2", "@cloudflare/workerd-linux-arm64": "1.20260930.2", "@cloudflare/workerd-windows-64": "1.20260930.2" }, "bin": { "workerd": "bin/workerd" } }, "sha512-k1lQzEiGyCDqaRsR5+o9PBT5wVU5omtas6hXx3spbEHHMFo8a7tkAixVCMsWFeiT7xhrmg21Hd6a9jLNrkcUMg=="], + + "wrangler": ["wrangler@4.145.0", "", { "dependencies": { "@cloudflare/kv-asset-handler": "0.5.0", "@cloudflare/unenv-preset": "2.16.2", "blake3-wasm": "2.1.5", "esbuild": "0.28.1", "miniflare": "5.20260930.0-alpha", "path-to-regexp": "6.3.0", "unenv": "2.0.0-rc.24", "workerd": "1.20260930.2" }, "optionalDependencies": { "fsevents": "2.3.3" }, "peerDependencies": { "@cloudflare/workers-types": "^5.20260930.2" }, "optionalPeers": ["@cloudflare/workers-types"], "bin": { "wrangler": "bin/wrangler.js", "wrangler2": "bin/wrangler.js", "cf-wrangler": "bin/cf-wrangler.js" } }, "sha512-TdO9l7RNqM2Kb5/AynhlRPF9WPhaI0W4Gcpq2FkyU1iZ+xPW25sfV8Yc48PsI1GsNEFOfdh2RTOIpW8U22AqHw=="], + + "ws": ["ws@8.21.0", "", { "peerDependencies": { "bufferutil": "^4.0.1", "utf-8-validate": ">=5.0.2" }, "optionalPeers": ["bufferutil", "utf-8-validate"] }, "sha512-Vsp28b7DRcimFQvrqu2Wek3z1iYxDCWqHYB8Qsnk/S4RfaCQzPGPyBNuVjJV3cd6UiKtUtp6sNM77gWvzcCH+g=="], + + "xmlbuilder2": ["xmlbuilder2@4.0.3", "", { "dependencies": { "@oozcitak/dom": "^2.0.2", "@oozcitak/infra": "^2.0.2", "@oozcitak/util": "^10.0.0", "js-yaml": "^4.1.1" } }, "sha512-bx8Q1STctnNaaDymWnkfQLKofs0mGNN7rLLapJlGuV3VlvegD7Ls4ggMjE3aUSWItCCzU0PEv45lI87iSigiCA=="], + + "yallist": ["yallist@3.1.1", "", {}, "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g=="], + + "youch": ["youch@4.1.0-beta.10", "", { "dependencies": { "@poppinss/colors": "^4.1.5", "@poppinss/dumper": "^0.6.4", "@speed-highlight/core": "^1.2.7", "cookie": "^1.0.2", "youch-core": "^0.3.3" } }, "sha512-rLfVLB4FgQneDr0dv1oddCVZmKjcJ6yX6mS4pU82Mq/Dt9a3cLZQ62pDBL4AUO+uVrCvtWz3ZFUL2HFAFJ/BXQ=="], + + "youch-core": ["youch-core@0.3.3", "", { "dependencies": { "@poppinss/exception": "^1.2.2", "error-stack-parser-es": "^1.0.5" } }, "sha512-ho7XuGjLaJ2hWHoK8yFnsUGy2Y5uDpqSTq1FkHLK4/oqKtyUU1AFbOOxY4IpC9f0fTLjwYbslUz0Po5BpD1wrA=="], + + "yup": ["yup@1.7.1", "", { "dependencies": { "property-expr": "^2.0.5", "tiny-case": "^1.0.3", "toposort": "^2.0.2", "type-fest": "^2.19.0" } }, "sha512-GKHFX2nXul2/4Dtfxhozv701jLQHdf6J34YDh2cEkpqoo8le5Mg6/LrdseVLrFarmFygZTlfIhHx/QKfb/QWXw=="], + + "zod": ["zod@4.6.5", "", {}, "sha512-v5l/aFXZQeai4awLbOpSoHecE9UiMrnfx75tEXLjNonXVARxQ5mOeipTjROUchszUNCqnE+hqAMujRsRHsut2Q=="], + + "zustand": ["zustand@5.0.15", "", { "peerDependencies": { "@types/react": ">=18.0.0", "immer": ">=9.0.6", "react": ">=18.0.0", "use-sync-external-store": ">=1.2.0" }, "optionalPeers": ["@types/react", "immer", "react", "use-sync-external-store"] }, "sha512-MpSEjRiBkA9crSYeOUH32rJC7SVqAbm0Fqcqge/bUi2PPoLcBWKOsG+C8mevmpr8TwXHBVkChbbJiyvkE+i/3A=="], + + "@cspotcode/source-map-support/@jridgewell/trace-mapping": ["@jridgewell/trace-mapping@0.3.9", "", { "dependencies": { "@jridgewell/resolve-uri": "^3.0.3", "@jridgewell/sourcemap-codec": "^1.4.10" } }, "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ=="], + + "@tailwindcss/node/lightningcss": ["lightningcss@1.32.0", "", { "dependencies": { "detect-libc": "^2.0.3" }, "optionalDependencies": { "lightningcss-android-arm64": "1.32.0", "lightningcss-darwin-arm64": "1.32.0", "lightningcss-darwin-x64": "1.32.0", "lightningcss-freebsd-x64": "1.32.0", "lightningcss-linux-arm-gnueabihf": "1.32.0", "lightningcss-linux-arm64-gnu": "1.32.0", "lightningcss-linux-arm64-musl": "1.32.0", "lightningcss-linux-x64-gnu": "1.32.0", "lightningcss-linux-x64-musl": "1.32.0", "lightningcss-win32-arm64-msvc": "1.32.0", "lightningcss-win32-x64-msvc": "1.32.0" } }, "sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ=="], + + "@tailwindcss/oxide-wasm32-wasi/@emnapi/core": ["@emnapi/core@1.11.3", "", { "dependencies": { "@emnapi/wasi-threads": "1.2.3", "tslib": "^2.4.0" }, "bundled": true }, "sha512-zLpS5asjEb7lq8jYLq37N6XKaE41DIexlY1rF/z4/tIl3wo13Sqm28fRyfIsKZD+NZ8mM5RoKkpW/rBcuoSZSg=="], + + "@tailwindcss/oxide-wasm32-wasi/@emnapi/runtime": ["@emnapi/runtime@1.11.3", "", { "dependencies": { "tslib": "^2.4.0" }, "bundled": true }, "sha512-Xz4Tpyki7XyrpbUK1jR1AhdAdaXyhhY4lZ3neLodmhpuWfy2PAQN5B46sAiU4liOXGLkHypn/qU+jvfWSCYYLA=="], + + "@tailwindcss/oxide-wasm32-wasi/@emnapi/wasi-threads": ["@emnapi/wasi-threads@1.2.3", "", { "dependencies": { "tslib": "^2.4.0" }, "bundled": true }, "sha512-ELEBe8PsLvvJ6QMr0zLt8ffvOHW/dc1m3CEzNMg7aJUv3bMaoDtw2TXyDAwkYBuroxxuHEwhRTLJSe5sya547g=="], + + "@tailwindcss/oxide-wasm32-wasi/@napi-rs/wasm-runtime": ["@napi-rs/wasm-runtime@1.2.4", "", { "dependencies": { "@tybys/wasm-util": "^0.10.3" }, "peerDependencies": { "@emnapi/core": "^1.7.1 || ^2.0.0-alpha.4", "@emnapi/runtime": "^1.7.1 || ^2.0.0-alpha.4" }, "bundled": true }, "sha512-AJxoUD2/15ESHbvpcyjU274nsAPLuOtPHCk0vKJM5pj//Fg/B1FXNWjPnXTT9PymCYYiHo4zPj0ZomXBKhoy7g=="], + + "@tailwindcss/oxide-wasm32-wasi/@tybys/wasm-util": ["@tybys/wasm-util@0.10.4", "", { "dependencies": { "tslib": "^2.4.0" }, "bundled": true }, "sha512-W3c4gRigFS0T/Ma4qIYF3GDAc5AQdHb1yL5znJT1Zv1YaD9Kitx656wBjvr19qbiosmZT8lWDM5BEMynUqX65A=="], + + "@tailwindcss/oxide-wasm32-wasi/tslib": ["tslib@2.8.1", "", { "bundled": true }, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="], + + "@tanstack/devtools/@tanstack/devtools-client": ["@tanstack/devtools-client@0.0.8", "", { "dependencies": { "@tanstack/devtools-event-client": "^0.5.0" } }, "sha512-cG3iZkGWCwN330bLBKa8+9r4Of2AXNoz2zUqcsy/4XsD3105ghVBx78cGyvJj9fSclNomPxoqAnDGXXhg1WLvA=="], + + "@tanstack/devtools/@tanstack/devtools-event-bus": ["@tanstack/devtools-event-bus@0.4.3", "", { "dependencies": { "ws": "^8.18.3" } }, "sha512-NeegBt5/n2E5q4DbrXHqECBq42+kDi6JBOp8/+RNqkIE+P4hJpbM36kGyjnGQFMWOoku31qhMyX9/48VuTTdmg=="], + + "@tanstack/devtools-event-bus/ws": ["ws@8.22.0", "", { "peerDependencies": { "bufferutil": "^4.0.1", "utf-8-validate": ">=5.0.2" }, "optionalPeers": ["bufferutil", "utf-8-validate"] }, "sha512-Ydggc987+RO0AnWtZ/7Wq9FtNvcrL1b/RO0ud9mWjUPgDrsAAwQSF51sm2hm1XofbU/4jkpGEsLFsZZxU+1DOg=="], + + "@tanstack/start-plugin-core/srvx": ["srvx@0.11.22", "", { "bin": { "srvx": "bin/srvx.mjs" } }, "sha512-LqZxxBDMKuMAZzFzJnDCkFOrs9MZQZr0LvHiO/SuSZVdQaXD7xQ5UWTUxheJrQPve1qk9MG2B/yttUvJxw8egQ=="], + + "h3-v2/rou3": ["rou3@0.8.1", "", {}, "sha512-ePa+XGk00/3HuCqrEnK3LxJW7I0SdNg6EFzKUJG73hMAdDcOUC/i/aSz7LSDwLrGr33kal/rqOGydzwl6U7zBA=="], + + "h3-v2/srvx": ["srvx@0.11.22", "", { "bin": { "srvx": "bin/srvx.mjs" } }, "sha512-LqZxxBDMKuMAZzFzJnDCkFOrs9MZQZr0LvHiO/SuSZVdQaXD7xQ5UWTUxheJrQPve1qk9MG2B/yttUvJxw8egQ=="], + + "sharp/semver": ["semver@7.8.5", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA=="], + + "solid-js/seroval": ["seroval@1.5.6", "", {}, "sha512-rVQVWjjSvlINzaQPZH5JFqsqEsIWdTxY3iJZCnTL/5gQbXIRooVZKI60tVCkOVfzcRPejboxO2t0P89dg5mQaA=="], + + "solid-js/seroval-plugins": ["seroval-plugins@1.5.6", "", { "peerDependencies": { "seroval": "^1.0" } }, "sha512-HXuLAX2pu/UByPpaeo/TaMfvMIi+1QqIoPJYCcAtU8QkVNwgR6MPlGuCQTErV1JwraaMbYaWVIBX7mppzGLATQ=="], + + "@tailwindcss/node/lightningcss/lightningcss-android-arm64": ["lightningcss-android-arm64@1.32.0", "", { "os": "android", "cpu": "arm64" }, "sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg=="], + + "@tailwindcss/node/lightningcss/lightningcss-darwin-arm64": ["lightningcss-darwin-arm64@1.32.0", "", { "os": "darwin", "cpu": "arm64" }, "sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ=="], + + "@tailwindcss/node/lightningcss/lightningcss-darwin-x64": ["lightningcss-darwin-x64@1.32.0", "", { "os": "darwin", "cpu": "x64" }, "sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w=="], + + "@tailwindcss/node/lightningcss/lightningcss-freebsd-x64": ["lightningcss-freebsd-x64@1.32.0", "", { "os": "freebsd", "cpu": "x64" }, "sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig=="], + + "@tailwindcss/node/lightningcss/lightningcss-linux-arm-gnueabihf": ["lightningcss-linux-arm-gnueabihf@1.32.0", "", { "os": "linux", "cpu": "arm" }, "sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw=="], + + "@tailwindcss/node/lightningcss/lightningcss-linux-arm64-gnu": ["lightningcss-linux-arm64-gnu@1.32.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ=="], + + "@tailwindcss/node/lightningcss/lightningcss-linux-arm64-musl": ["lightningcss-linux-arm64-musl@1.32.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg=="], + + "@tailwindcss/node/lightningcss/lightningcss-linux-x64-gnu": ["lightningcss-linux-x64-gnu@1.32.0", "", { "os": "linux", "cpu": "x64" }, "sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA=="], + + "@tailwindcss/node/lightningcss/lightningcss-linux-x64-musl": ["lightningcss-linux-x64-musl@1.32.0", "", { "os": "linux", "cpu": "x64" }, "sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg=="], + + "@tailwindcss/node/lightningcss/lightningcss-win32-arm64-msvc": ["lightningcss-win32-arm64-msvc@1.32.0", "", { "os": "win32", "cpu": "arm64" }, "sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw=="], + + "@tailwindcss/node/lightningcss/lightningcss-win32-x64-msvc": ["lightningcss-win32-x64-msvc@1.32.0", "", { "os": "win32", "cpu": "x64" }, "sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q=="], + + "@tanstack/devtools/@tanstack/devtools-client/@tanstack/devtools-event-client": ["@tanstack/devtools-event-client@0.5.0", "", { "bin": { "intent": "./bin/intent.js" } }, "sha512-H+OH3zC6Vhu/K0NaVfQKknEKawc/+2PT+D3SB3Ox0V8SiMlTo0abbmH2rH0721R2aNYbjdMXA1oENOd8E2UVoA=="], + + "@tanstack/devtools/@tanstack/devtools-event-bus/ws": ["ws@8.22.0", "", { "peerDependencies": { "bufferutil": "^4.0.1", "utf-8-validate": ">=5.0.2" }, "optionalPeers": ["bufferutil", "utf-8-validate"] }, "sha512-Ydggc987+RO0AnWtZ/7Wq9FtNvcrL1b/RO0ud9mWjUPgDrsAAwQSF51sm2hm1XofbU/4jkpGEsLFsZZxU+1DOg=="], + } +} diff --git a/apps/superadmin-ui/package.json b/apps/superadmin-ui/package.json new file mode 100644 index 0000000..3df653a --- /dev/null +++ b/apps/superadmin-ui/package.json @@ -0,0 +1,54 @@ +{ + "name": "superadmin-ui", + "private": true, + "type": "module", + "scripts": { + "dev": "vite dev", + "build": "vite build", + "preview": "npm run build && wrangler dev", + "typecheck": "tsc --noEmit", + "deploy": "npm run build && wrangler deploy", + "cf-typegen": "wrangler types" + }, + "dependencies": { + "@tailwindcss/vite": "^4.1.18", + "@tanstack/react-devtools": "^0.10.2", + "@tanstack/react-query": "^5.100.0", + "@tanstack/react-query-devtools": "^5.100.0", + "@tanstack/react-router": "^1.167.0", + "@tanstack/react-router-devtools": "^1.166.0", + "@tanstack/react-router-ssr-query": "^1.166.0", + "@tanstack/react-start": "^1.167.0", + "@tanstack/router-plugin": "^1.167.0", + "@trpc/client": "^11.17.0", + "@trpc/react-query": "^11.17.0", + "@trpc/server": "^11.17.0", + "axios": "^1.16.0", + "class-variance-authority": "^0.7.1", + "clsx": "^2.1.1", + "dayjs": "^1.11.20", + "formik": "^2.4.9", + "fuse.js": "^7.3.0", + "jwt-decode": "^4.0.0", + "lucide-react": "^0.400.0", + "nitro": "npm:nitro-nightly@latest", + "react": "^19.0.0", + "react-dom": "^19.0.0", + "tailwind-merge": "^3.5.0", + "tailwindcss": "^4.1.18", + "yup": "^1.7.1", + "zustand": "^5.0.13" + }, + "devDependencies": { + "@cloudflare/vite-plugin": "^1.36.3", + "@tanstack/devtools-vite": "^0.6.0", + "@types/node": "^22.10.2", + "@types/react": "^19.0.0", + "@types/react-dom": "^19.0.0", + "@vitejs/plugin-react": "^6.0.1", + "typescript": "^5.8.3", + "vite": "^8.0.0", + "vitest": "^4.1.5", + "wrangler": "^4.90.0" + } +} diff --git a/apps/superadmin-ui/public/favicon.png b/apps/superadmin-ui/public/favicon.png new file mode 100644 index 0000000..83f0a8c Binary files /dev/null and b/apps/superadmin-ui/public/favicon.png differ diff --git a/apps/superadmin-ui/public/freshyo-logo.png b/apps/superadmin-ui/public/freshyo-logo.png new file mode 100644 index 0000000..83f0a8c Binary files /dev/null and b/apps/superadmin-ui/public/freshyo-logo.png differ diff --git a/apps/superadmin-ui/public/logo192.png b/apps/superadmin-ui/public/logo192.png new file mode 100644 index 0000000..c1c782e Binary files /dev/null and b/apps/superadmin-ui/public/logo192.png differ diff --git a/apps/superadmin-ui/public/logo512.png b/apps/superadmin-ui/public/logo512.png new file mode 100644 index 0000000..2053b8b Binary files /dev/null and b/apps/superadmin-ui/public/logo512.png differ diff --git a/apps/superadmin-ui/public/manifest.json b/apps/superadmin-ui/public/manifest.json new file mode 100644 index 0000000..a3831d6 --- /dev/null +++ b/apps/superadmin-ui/public/manifest.json @@ -0,0 +1,25 @@ +{ + "short_name": "Freshyo", + "name": "Freshyo", + "icons": [ + { + "src": "favicon.png", + "sizes": "64x64 32x32 24x24 16x16", + "type": "image/png" + }, + { + "src": "logo192.png", + "type": "image/png", + "sizes": "192x192" + }, + { + "src": "logo512.png", + "type": "image/png", + "sizes": "512x512" + } + ], + "start_url": ".", + "display": "standalone", + "theme_color": "#0033CC", + "background_color": "#ffffff" +} diff --git a/apps/superadmin-ui/public/robots.txt b/apps/superadmin-ui/public/robots.txt new file mode 100644 index 0000000..e9e57dc --- /dev/null +++ b/apps/superadmin-ui/public/robots.txt @@ -0,0 +1,3 @@ +# https://www.robotstxt.org/robotstxt.html +User-agent: * +Disallow: diff --git a/apps/superadmin-ui/src/client.tsx b/apps/superadmin-ui/src/client.tsx new file mode 100644 index 0000000..e5ac4b1 --- /dev/null +++ b/apps/superadmin-ui/src/client.tsx @@ -0,0 +1,4 @@ +import { hydrateRoot } from 'react-dom/client' +import { StartClient } from '@tanstack/react-start/client' + +hydrateRoot(document, ) diff --git a/apps/superadmin-ui/src/components/AppShell.tsx b/apps/superadmin-ui/src/components/AppShell.tsx new file mode 100644 index 0000000..aa221fe --- /dev/null +++ b/apps/superadmin-ui/src/components/AppShell.tsx @@ -0,0 +1,85 @@ +import React, { useState } from 'react' +import { Link } from '@tanstack/react-router' +import { LayoutDashboard, Send, Settings2, Menu, X, LogOut } from 'lucide-react' +import { useAuth } from '../lib/auth-context' + +const NAV = [ + { to: '/dashboard', label: 'Dashboard', icon: LayoutDashboard }, + { to: '/send-notifications', label: 'Send Admin Notifications', icon: Send }, + { to: '/constants', label: 'App Constants', icon: Settings2 }, +] as const + +export function AppShell({ children }: { children: React.ReactNode }) { + const [open, setOpen] = useState(false) + const { staff, logout } = useAuth() + + return ( +
+
+
+ + + Freshyo Superadmin + +
+ +
+ {staff?.name && ( + {staff.name} + )} + +
+
+ +
+ + + {open && ( +
setOpen(false)} + /> + )} + +
{children}
+
+
+ ) +} + +export default AppShell diff --git a/apps/superadmin-ui/src/components/ProtectedRoute.tsx b/apps/superadmin-ui/src/components/ProtectedRoute.tsx new file mode 100644 index 0000000..8022741 --- /dev/null +++ b/apps/superadmin-ui/src/components/ProtectedRoute.tsx @@ -0,0 +1,29 @@ +import React, { useEffect } from 'react' +import { useAuth } from '../lib/auth-context' +import { useNavigate, useLocation } from '@tanstack/react-router' + +export function ProtectedRoute({ children }: { children: React.ReactNode }) { + const { isAuthenticated, isLoading } = useAuth() + const navigate = useNavigate() + const location = useLocation() + + useEffect(() => { + if (isLoading) return + if (isAuthenticated) return + + sessionStorage.setItem('auth_redirect', location.pathname) + navigate({ to: '/login', search: { redirect: location.pathname } }) + }, [isAuthenticated, isLoading]) + + if (isLoading) { + return ( +
+
+
+ ) + } + + if (!isAuthenticated) return null + + return <>{children} +} diff --git a/apps/superadmin-ui/src/lib/auth-context.tsx b/apps/superadmin-ui/src/lib/auth-context.tsx new file mode 100644 index 0000000..50b96ec --- /dev/null +++ b/apps/superadmin-ui/src/lib/auth-context.tsx @@ -0,0 +1,103 @@ +import React, { createContext, useContext, useState, useEffect, useCallback } from 'react' +import { trpc } from './trpc-client' +import { useNavigate } from '@tanstack/react-router' + +interface Staff { + id: number + name: string +} + +interface AuthState { + staff: Staff | null + isAuthenticated: boolean + isLoading: boolean + token: string | null +} + +interface AuthContextType extends AuthState { + login: (name: string, password: string) => Promise + logout: () => void + isLoggingIn: boolean + loginError: string | null +} + +const AuthContext = createContext(undefined) + +export function AuthProvider({ children }: { children: React.ReactNode }) { + const [state, setState] = useState({ + staff: null, + isAuthenticated: false, + isLoading: true, + token: null, + }) + const [loginError, setLoginError] = useState(null) + const navigate = useNavigate() + const loginMutation = trpc.admin.staffUser.login.useMutation() + + useEffect(() => { + const storedToken = localStorage.getItem('auth_token') + if (storedToken) { + setState((prev) => ({ + ...prev, + token: storedToken, + isAuthenticated: true, + isLoading: false, + })) + } else { + setState((prev) => ({ ...prev, isLoading: false })) + } + }, []) + + const login = useCallback( + async (name: string, password: string) => { + setLoginError(null) + try { + const data = await loginMutation.mutateAsync({ name, password }) + localStorage.setItem('auth_token', data.token) + setState({ + staff: data.staff, + token: data.token, + isAuthenticated: true, + isLoading: false, + }) + } catch (error) { + setLoginError((error as Error).message || 'Login failed') + throw error + } + }, + [loginMutation] + ) + + const logout = useCallback(() => { + localStorage.removeItem('auth_token') + setState({ + staff: null, + token: null, + isAuthenticated: false, + isLoading: false, + }) + navigate({ to: '/login' }) + }, [navigate]) + + return ( + + {children} + + ) +} + +export function useAuth() { + const context = useContext(AuthContext) + if (!context) { + throw new Error('useAuth must be used within AuthProvider') + } + return context +} diff --git a/apps/superadmin-ui/src/lib/query-client.ts b/apps/superadmin-ui/src/lib/query-client.ts new file mode 100644 index 0000000..e9e104d --- /dev/null +++ b/apps/superadmin-ui/src/lib/query-client.ts @@ -0,0 +1,23 @@ +import { QueryClient } from '@tanstack/react-query' + +// Module-level singleton — shared across SSR hydration, tRPC, and all +// components so mutations/invalidations hit the same cache. +let queryClient: QueryClient | undefined + +export function getQueryClient() { + if (!queryClient) { + queryClient = new QueryClient({ + defaultOptions: { + queries: { + staleTime: 30 * 1000, + retry: 2, + refetchOnWindowFocus: false, + // Refetch when a screen remounts (navigating back to it) even within + // staleTime — the web equivalent of native useMarkDataFetchers. + refetchOnMount: 'always', + }, + }, + }) + } + return queryClient +} diff --git a/apps/superadmin-ui/src/lib/trpc-client.ts b/apps/superadmin-ui/src/lib/trpc-client.ts new file mode 100644 index 0000000..68f011c --- /dev/null +++ b/apps/superadmin-ui/src/lib/trpc-client.ts @@ -0,0 +1,33 @@ +import { createTRPCReact } from '@trpc/react-query' +import { createTRPCClient, httpBatchLink } from '@trpc/client' +import type { AppRouter } from '@backend/trpc/router' +import { BASE_API_URL as DEFAULT_API_URL } from '@packages/shared' + +// const BASE_API_URL = 'http://192.168.100.126:8787' +export const BASE_API_URL = + (import.meta.env?.VITE_API_URL as string | undefined) || DEFAULT_API_URL + +export const trpc = createTRPCReact() + +export function getTrpcClient() { + return createTRPCClient({ + links: [ + httpBatchLink({ + url: `${BASE_API_URL}/api/trpc`, + headers: async () => { + try { + const token = localStorage.getItem('auth_token') + const headers: Record = { + 'caller-interface': 'web', + } + if (token) { + headers.Authorization = `Bearer ${token}` + } + return headers + } catch {} + return { 'caller-interface': 'web' } + }, + }), + ], + }) +} diff --git a/apps/superadmin-ui/src/routeTree.gen.ts b/apps/superadmin-ui/src/routeTree.gen.ts new file mode 100644 index 0000000..70804ec --- /dev/null +++ b/apps/superadmin-ui/src/routeTree.gen.ts @@ -0,0 +1,147 @@ +/* eslint-disable */ + +// @ts-nocheck + +// noinspection JSUnusedGlobalSymbols + +// This file was automatically generated by TanStack Router. +// You should NOT make any changes in this file as it will be overwritten. +// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified. + +import { Route as rootRouteImport } from './routes/__root' +import { Route as IndexRouteImport } from './routes/index' +import { Route as ConstantsRouteImport } from './routes/constants' +import { Route as DashboardRouteImport } from './routes/dashboard' +import { Route as LoginRouteImport } from './routes/login' +import { Route as SendNotificationsRouteImport } from './routes/send-notifications' + +const IndexRoute = IndexRouteImport.update({ + id: '/', + path: '/', + getParentRoute: () => rootRouteImport, +} as any) +const ConstantsRoute = ConstantsRouteImport.update({ + id: '/constants', + path: '/constants', + getParentRoute: () => rootRouteImport, +} as any) +const DashboardRoute = DashboardRouteImport.update({ + id: '/dashboard', + path: '/dashboard', + getParentRoute: () => rootRouteImport, +} as any) +const LoginRoute = LoginRouteImport.update({ + id: '/login', + path: '/login', + getParentRoute: () => rootRouteImport, +} as any) +const SendNotificationsRoute = SendNotificationsRouteImport.update({ + id: '/send-notifications', + path: '/send-notifications', + getParentRoute: () => rootRouteImport, +} as any) + +export interface FileRoutesByFullPath { + '/': typeof IndexRoute + '/constants': typeof ConstantsRoute + '/dashboard': typeof DashboardRoute + '/login': typeof LoginRoute + '/send-notifications': typeof SendNotificationsRoute +} +export interface FileRoutesByTo { + '/': typeof IndexRoute + '/constants': typeof ConstantsRoute + '/dashboard': typeof DashboardRoute + '/login': typeof LoginRoute + '/send-notifications': typeof SendNotificationsRoute +} +export interface FileRoutesById { + __root__: typeof rootRouteImport + '/': typeof IndexRoute + '/constants': typeof ConstantsRoute + '/dashboard': typeof DashboardRoute + '/login': typeof LoginRoute + '/send-notifications': typeof SendNotificationsRoute +} +export interface FileRouteTypes { + fileRoutesByFullPath: FileRoutesByFullPath + fullPaths: + '/' | '/constants' | '/dashboard' | '/login' | '/send-notifications' + fileRoutesByTo: FileRoutesByTo + to: '/' | '/constants' | '/dashboard' | '/login' | '/send-notifications' + id: + | '__root__' + | '/' + | '/constants' + | '/dashboard' + | '/login' + | '/send-notifications' + fileRoutesById: FileRoutesById +} +export interface RootRouteChildren { + IndexRoute: typeof IndexRoute + ConstantsRoute: typeof ConstantsRoute + DashboardRoute: typeof DashboardRoute + LoginRoute: typeof LoginRoute + SendNotificationsRoute: typeof SendNotificationsRoute +} + +declare module '@tanstack/react-router' { + interface FileRoutesByPath { + '/': { + id: '/' + path: '/' + fullPath: '/' + preLoaderRoute: typeof IndexRouteImport + parentRoute: typeof rootRouteImport + } + '/constants': { + id: '/constants' + path: '/constants' + fullPath: '/constants' + preLoaderRoute: typeof ConstantsRouteImport + parentRoute: typeof rootRouteImport + } + '/dashboard': { + id: '/dashboard' + path: '/dashboard' + fullPath: '/dashboard' + preLoaderRoute: typeof DashboardRouteImport + parentRoute: typeof rootRouteImport + } + '/login': { + id: '/login' + path: '/login' + fullPath: '/login' + preLoaderRoute: typeof LoginRouteImport + parentRoute: typeof rootRouteImport + } + '/send-notifications': { + id: '/send-notifications' + path: '/send-notifications' + fullPath: '/send-notifications' + preLoaderRoute: typeof SendNotificationsRouteImport + parentRoute: typeof rootRouteImport + } + } +} + +const rootRouteChildren: RootRouteChildren = { + IndexRoute: IndexRoute, + ConstantsRoute: ConstantsRoute, + DashboardRoute: DashboardRoute, + LoginRoute: LoginRoute, + SendNotificationsRoute: SendNotificationsRoute, +} +export const routeTree = rootRouteImport + ._addFileChildren(rootRouteChildren) + ._addFileTypes() + +import type { getRouter } from './router.tsx' +import type { createStart } from '@tanstack/react-start' +declare module '@tanstack/react-start' { + interface Register { + ssr: true + router: Awaited> + } +} diff --git a/apps/superadmin-ui/src/router.tsx b/apps/superadmin-ui/src/router.tsx new file mode 100644 index 0000000..e7b1c4d --- /dev/null +++ b/apps/superadmin-ui/src/router.tsx @@ -0,0 +1,19 @@ +import { createRouter as createTanStackRouter } from '@tanstack/react-router' +import { routeTree } from './routeTree.gen' + +export function getRouter() { + const router = createTanStackRouter({ + routeTree, + scrollRestoration: true, + defaultPreload: 'intent', + defaultPreloadStaleTime: 0, + }) + + return router +} + +declare module '@tanstack/react-router' { + interface Register { + router: ReturnType + } +} diff --git a/apps/superadmin-ui/src/routes/__root.tsx b/apps/superadmin-ui/src/routes/__root.tsx new file mode 100644 index 0000000..a54d36e --- /dev/null +++ b/apps/superadmin-ui/src/routes/__root.tsx @@ -0,0 +1,60 @@ +import { HeadContent, Scripts, createRootRoute } from '@tanstack/react-router' +import { TanStackRouterDevtoolsPanel } from '@tanstack/react-router-devtools' +import { TanStackDevtools } from '@tanstack/react-devtools' +import { QueryClientProvider } from '@tanstack/react-query' +import { ReactQueryDevtools } from '@tanstack/react-query-devtools' +import { trpc, getTrpcClient } from '../lib/trpc-client' +import { getQueryClient } from '../lib/query-client' +import { AuthProvider } from '../lib/auth-context' +import appCss from '../styles.css?url' + +const queryClient = getQueryClient() +const trpcClient = getTrpcClient() + +export const Route = createRootRoute({ + head: () => ({ + meta: [ + { charSet: 'utf-8' }, + { + name: 'viewport', + content: 'width=device-width, initial-scale=1', + }, + { title: 'Freshyo Superadmin' }, + ], + links: [ + { rel: 'stylesheet', href: appCss }, + { rel: 'icon', type: 'image/png', href: '/favicon.png' }, + ], + }), + shellComponent: RootDocument, +}) + +function RootDocument({ children }: { children: React.ReactNode }) { + return ( + + + + + + + + +
{children}
+ +
+
+
+ , + }, + ]} + /> + + + + ) +} diff --git a/apps/superadmin-ui/src/routes/constants.tsx b/apps/superadmin-ui/src/routes/constants.tsx new file mode 100644 index 0000000..e8bdfe5 --- /dev/null +++ b/apps/superadmin-ui/src/routes/constants.tsx @@ -0,0 +1,279 @@ +import { createFileRoute } from '@tanstack/react-router' +import React from 'react' +import { Formik } from 'formik' +import { AppContainer, Checkbox, MyButton, p as MyText, pInput as PInput } from 'web-components' +import { ChevronRight, ListOrdered, Pencil } from 'lucide-react' +import { trpc } from '../lib/trpc-client' +import { ProtectedRoute } from '../components/ProtectedRoute' +import { AppShell } from '../components/AppShell' + +type ConstantFormData = Record + +const CONST_LABELS: Record = { + minRegularOrderValue: 'Minimum Regular Order Value', + freeDeliveryThreshold: 'Free Delivery Threshold', + deliveryCharge: 'Delivery Charge', + flashFreeDeliveryThreshold: 'Flash Free Delivery Threshold', + flashDeliveryCharge: 'Flash Delivery Charge', + platformFeePercent: 'Platform Fee Percent', + taxRate: 'Tax Rate', + minOrderAmountForCoupon: 'Minimum Order Amount for Coupon', + maxCouponDiscount: 'Maximum Coupon Discount', + flashDeliverySlotId: 'Flash Delivery Slot ID', + readableOrderId: 'Readable Order ID', + versionNum: 'Version Number', + playStoreUrl: 'Play Store URL', + appStoreUrl: 'App Store URL', + popularItems: 'Popular Items', + allItemsOrder: 'All Items Order', + isFlashDeliveryEnabled: 'Enable Flash Delivery', + supportMobile: 'Support Mobile', + supportEmail: 'Support Email', + internalAppVersion: 'Internal App Version', +} + +const CONST_VISIBILITY: Record = { + minRegularOrderValue: true, + freeDeliveryThreshold: true, + deliveryCharge: true, + flashFreeDeliveryThreshold: true, + flashDeliveryCharge: true, + platformFeePercent: true, + taxRate: false, + minOrderAmountForCoupon: true, + maxCouponDiscount: false, + flashDeliverySlotId: true, + readableOrderId: false, + versionNum: true, + playStoreUrl: true, + appStoreUrl: true, + popularItems: true, + allItemsOrder: true, + isFlashDeliveryEnabled: true, + supportMobile: true, + supportEmail: true, + internalAppVersion: true, + tester: false, +} + +interface ConstantInputProps { + constantKey: string + value: any + setFieldValue: (field: string, value: any) => void +} + +const ConstantInput: React.FC = ({ constantKey, value, setFieldValue }) => { + const fieldName = constantKey + + if (constantKey === 'popularItems') { + return ( +
+ + {CONST_LABELS[constantKey] || constantKey} + + +
+ ) + } + + if (constantKey === 'allItemsOrder') { + return ( +
+ + {CONST_LABELS[constantKey] || constantKey} + + +
+ ) + } + + if (typeof value === 'boolean') { + return ( +
+ + {CONST_LABELS[constantKey] || constantKey} + +
+ setFieldValue(fieldName, !value)} + size={28} + /> + {value ? 'Enabled' : 'Disabled'} +
+
+ ) + } + + if (typeof value === 'number') { + return ( + { + const numValue = parseFloat(e.target.value) + setFieldValue(fieldName, isNaN(numValue) ? 0 : numValue) + }} + placeholder="Enter number" + /> + ) + } + + if (Array.isArray(value)) { + return ( + { + const arrayValue = e.target.value + .split(',') + .map((s) => s.trim()) + .filter((s) => s.length > 0) + setFieldValue(fieldName, arrayValue) + }} + placeholder="Enter comma separated values" + /> + ) + } + + return ( + setFieldValue(fieldName, e.target.value)} + placeholder="Enter value" + /> + ) +} + +function CustomizeApp() { + const { data: constants, isLoading: isLoadingConstants, refetch } = trpc.admin.const.getConstants.useQuery() + const { mutate: updateConstants, isPending: isUpdating } = trpc.admin.const.updateConstants.useMutation() + + const handleSubmit = (values: ConstantFormData) => { + const changedConstants = (constants || []) + .filter((constant) => { + const nextValue = values[constant.key] + return JSON.stringify(nextValue) !== JSON.stringify(constant.value) + }) + .map((constant) => ({ + key: constant.key, + value: values[constant.key], + })) + + if (changedConstants.length === 0) { + window.alert('No Changes\n\nNo constants were modified.') + return + } + + updateConstants( + { constants: changedConstants }, + { + onSuccess: (response) => { + window.alert(`Success\n\nUpdated ${response.updatedCount} constants successfully.`) + refetch() + }, + onError: (error) => { + window.alert('Error\n\nFailed to update constants. Please try again.') + console.error('Update constants error:', error) + }, + } + ) + } + + if (isLoadingConstants) { + return ( +
+ Loading constants... +
+ ) + } + + if (!constants) { + return ( +
+ Failed to load constants +
+ ) + } + + const initialValues: ConstantFormData = constants.reduce((acc, constant) => { + acc[constant.key] = constant.value ?? '' + return acc + }, {} as ConstantFormData) + + return ( + +
+ + Customize App Constants + + + Modify application constants. Changes will take effect immediately. + + + + {({ handleSubmit, values, setFieldValue }) => ( +
+ {constants.map((constant) => { + if (!CONST_VISIBILITY[constant.key]) { + return null + } + + return ( +
+ +
+ ) + })} + + + {isUpdating ? 'Updating...' : 'Save Changes'} + +
+ )} +
+
+
+ ) +} + +export const Route = createFileRoute('/constants')({ + component: () => ( + + + + + + ), +}) diff --git a/apps/superadmin-ui/src/routes/dashboard.tsx b/apps/superadmin-ui/src/routes/dashboard.tsx new file mode 100644 index 0000000..bf7b0c3 --- /dev/null +++ b/apps/superadmin-ui/src/routes/dashboard.tsx @@ -0,0 +1,64 @@ +import { createFileRoute, Link } from '@tanstack/react-router' +import { AppContainer, p as MyText } from 'web-components' +import { Send, Settings2, ChevronRight } from 'lucide-react' +import { ProtectedRoute } from '../components/ProtectedRoute' +import { AppShell } from '../components/AppShell' + +export const Route = createFileRoute('/dashboard')({ + component: () => ( + + + + + + ), +}) + +const CARDS = [ + { + to: '/send-notifications', + title: 'Send Admin Notifications', + description: 'Push a message to every admin device.', + icon: Send, + }, + { + to: '/constants', + title: 'App Constants', + description: 'Tune delivery thresholds, charges and app config.', + icon: Settings2, + }, +] as const + +function Dashboard() { + return ( + +
+ Dashboard + + Manage the Freshyo platform. + + +
+ {CARDS.map(({ to, title, description, icon: Icon }) => ( + +
+
+ +
+
+ {title} + {description} +
+
+ + + ))} +
+
+
+ ) +} diff --git a/apps/superadmin-ui/src/routes/index.tsx b/apps/superadmin-ui/src/routes/index.tsx new file mode 100644 index 0000000..df88295 --- /dev/null +++ b/apps/superadmin-ui/src/routes/index.tsx @@ -0,0 +1,7 @@ +import { createFileRoute, redirect } from '@tanstack/react-router' + +export const Route = createFileRoute('/')({ + loader: () => { + throw redirect({ to: '/dashboard' }) + }, +}) diff --git a/apps/superadmin-ui/src/routes/login.tsx b/apps/superadmin-ui/src/routes/login.tsx new file mode 100644 index 0000000..d42127b --- /dev/null +++ b/apps/superadmin-ui/src/routes/login.tsx @@ -0,0 +1,132 @@ +import { createFileRoute, useNavigate } from '@tanstack/react-router' +import { useState, useEffect } from 'react' +import { useAuth } from '../lib/auth-context' +import { MyButton, pInput as PInput } from 'web-components' + +export const Route = createFileRoute('/login')({ component: LoginPage }) + +function LoginPage() { + const { login, isLoggingIn, loginError, isAuthenticated, isLoading } = useAuth() + const navigate = useNavigate() + const [name, setName] = useState('') + const [password, setPassword] = useState('') + + useEffect(() => { + if (!isLoading && isAuthenticated) { + navigate({ to: '/dashboard' }) + } + }, [isAuthenticated, isLoading, navigate]) + + const handleSubmit = async (e: React.FormEvent) => { + e.preventDefault() + if (!name.trim() || !password.trim()) return + try { + await login(name.trim(), password) + navigate({ to: '/dashboard' }) + } catch { + // error surfaced via loginError + } + } + + return ( +
+ {/* Brand panel — desktop only */} +
+
+
+ Freshyo logo +
+
+

+ Freshyo +

+

+ Superadmin +

+
+
+ +
+

+ Control the Freshyo experience +

+

+ Manage application constants and system configuration from one place. +

+
+ +

+ Freshyo © {new Date().getFullYear()} +

+
+ + {/* Form panel */} +
+
+
+
+ Freshyo logo +
+

+ Freshyo +

+
+ +

+ Superadmin Access +

+

Sign in to continue

+

+ Enter your staff name and password to manage app constants +

+ +
+
+ setName(e.target.value)} + className="bg-gray-50" + /> + + setPassword(e.target.value)} + className="bg-gray-50" + /> + + {loginError && ( +

{loginError}

+ )} + + + {isLoggingIn ? 'Logging in...' : 'Login'} + + +
+
+
+
+ ) +} diff --git a/apps/superadmin-ui/src/routes/send-notifications.tsx b/apps/superadmin-ui/src/routes/send-notifications.tsx new file mode 100644 index 0000000..402d00f --- /dev/null +++ b/apps/superadmin-ui/src/routes/send-notifications.tsx @@ -0,0 +1,102 @@ +import { createFileRoute } from '@tanstack/react-router' +import React, { useState } from 'react' +import { AppContainer, MyButton, p as MyText, pInput as PInput } from 'web-components' +import { Send } from 'lucide-react' +import { trpc } from '../lib/trpc-client' +import { ProtectedRoute } from '../components/ProtectedRoute' +import { AppShell } from '../components/AppShell' + +export const Route = createFileRoute('/send-notifications')({ + component: () => ( + + + + + + ), +}) + +function SendAdminNotifications() { + const [title, setTitle] = useState('') + const [text, setText] = useState('') + const [imageUrl, setImageUrl] = useState('') + + const { mutate, isPending } = trpc.admin.staffUser.sendAdminNotification.useMutation({ + onSuccess: (response) => { + window.alert(`Success\n\n${response.message}`) + setTitle('') + setText('') + setImageUrl('') + }, + onError: (error) => { + window.alert(`Error\n\n${error.message || 'Failed to send notification'}`) + }, + }) + + const handleSubmit = (e: React.FormEvent) => { + e.preventDefault() + if (!title.trim() || !text.trim()) { + window.alert('Title and message are required') + return + } + mutate({ + title: title.trim(), + text: text.trim(), + ...(imageUrl.trim() ? { imageUrl: imageUrl.trim() } : {}), + }) + } + + return ( + +
+ + Send Admin Notifications + + + This push notification is delivered to every admin device. + + +
+
+ setTitle(e.target.value)} + /> + +
+ Message +