Skip to content

Instantly share code, notes, and snippets.

@percimar
percimar / production_environment.txt
Last active November 5, 2025 06:38
Production Environment State for percimar/gh-actions-test
// Production Environment State
// Deployed on: Wed Nov 5 06:38:49 UTC 2025
// Release: release-2025-11-v3 (published by github-actions[bot])
Features in release:
---------------------
// Feature 1
// Feature 2
// Feature 3
@percimar
percimar / staging_environment.txt
Last active November 5, 2025 06:43
Staging Environment State for percimar/gh-actions-test
// Staging Environment State
// Last deployed on: Wed Nov 5 06:43:27 UTC 2025
// From tag: staging-2025-11-v3
// Repository: percimar/gh-actions-test
Features currently in staging:
--------------------------------
// Feature 1
// Feature 2
// Feature 3
@percimar
percimar / testing_environment.txt
Last active November 5, 2025 06:42
Testing Environment State for percimar/gh-actions-test
// Testing Environment State
// Last deployed on: Wed Nov 5 06:42:03 UTC 2025
// From tag: testing-2025-11-v3
// Repository: percimar/gh-actions-test
Features currently in testing:
--------------------------------
// Feature 1
// Feature 2
// Feature 3
[{"_id":"661fc1fb8b40d6915314b5b9","first_name":"Dhiljithe ","last_name":"Paravancheeri valiyakath ","phone":"30618216","country_code":"+974","email":"Jithuzjithz349@gmail.com","total_orders_amount":0,"number_of_orders":0,"title":"Mr.","birthDate":"1999-01-22T00:00:00.000Z","loyaltyCardStatus":"wallet_passes","loyaltyRegistrationAt":"2024-04-17T12:35:07.585Z","punchCardProgress":[{"_id":"661fc22453b89c5ca3ab129b","punchCard":{"_id":"65d7522da111f54337e9b324","achievements":[{"_id":"65d7523e3b49da8b32476eca","reward":{"benefit":"menu_item","menuItem":{"brandId":"654a100926816dae5c9253b0","menuId":"65d751f3d0c40af2991329c5","masterMenuItemId":"65e8223cce99a16336e3f956","nameEn":"Burger ","nameAr":"برجر","images":[],"eligibleMenuItemIds":["654a1f08f9b7ab44898b78e8","65e8223cce99a16336e3f956"]},"amount":100,"microsDiscountId":3000},"requirement":{"targetValue":5,"type":"menu_item","menuItem":{"masterMenuItemId":"65d7522da111f54337e9b324","nameEn":"Punch","image":"https://backend.enable.tech/images/Brand/burgeri_f
@percimar
percimar / scripts.md
Last active August 1, 2023 06:56
scripts for adara migration

Pre-migration

  1. save customerIds and codes
// get `_id`s and `code`s
JSON.stringify(
  db.customers
    .find({
@percimar
percimar / shop_5e
Last active March 23, 2023 15:31
D&D 5E Shop
[Armor]
Light Armor
Studded Leather 45 gp
Medium Armor
Chain Shirt 50 gp
Scale Mail 50 gp
Breastplate 400 gp
Half Plate 750 gp
Heavy Armor
Ring Mail 30 gp

Order Creation Sources

  1. POST /deliverect/pos/order/:companyId
    • Used by Deliverect when an order is created using their channel.
  2. POST /integration/order_payment
    • ?
  3. POST /order
    • Used by enable front-end when creating order through Call Center.
  4. POST /order/create/pos
  • Used by enable front-end when creating order through Orders dashboard.