feat: implement manual user validation and user deletion flow

This commit is contained in:
Christian Vidal Wolf
2026-05-20 13:33:37 +02:00
parent 1d105e19ae
commit 47b9303202
22 changed files with 2613 additions and 93 deletions
+15
View File
@@ -3,6 +3,21 @@
# Users configure this via the Secrets panel in the AI Studio UI.
GEMINI_API_KEY="MY_GEMINI_API_KEY"
# Business Central OAuth client credentials
BC_TENANT_ID="MY_BC_TENANT_ID"
BC_CLIENT_ID="MY_BC_CLIENT_ID"
BC_CLIENT_SECRET="MY_BC_CLIENT_SECRET"
BC_COMPANY_ID="MY_BC_COMPANY_ID"
BC_WRITE_METHOD="PATCH"
BC_WRITE_URL_TEMPLATE="{{itemsUrl}}('{{itemNo}}')"
BC_WRITE_BODY_TEMPLATE='{"cpnpNo":"{{cpnpNo}}"}'
BC_ITEMS_WRITE_METHOD="PATCH"
BC_ITEMS_WRITE_URL_TEMPLATE="{{itemsUrl}}('{{itemNo}}')"
BC_ITEMS_WRITE_BODY_TEMPLATE=''
BC_UOM_WRITE_METHOD="PATCH"
BC_UOM_WRITE_URL_TEMPLATE="{{itemUnitsOfMeasureUrl}}('{{itemNo}}')"
BC_UOM_WRITE_BODY_TEMPLATE=''
# APP_URL: The URL where this applet is hosted.
# AI Studio automatically injects this at runtime with the Cloud Run service URL.
# Used for self-referential links, OAuth callbacks, and API endpoints.