Parcourir la source

docs: add VAPI integration docs, voices CSV, and order status API reference

- VAPI_docs.md: VAPI API steps for phone registration and assistant creation
- VAPI_initial_voices.csv: Initial Hungarian voice list for ai_voices table
- order_status_description.txt: ShopRenter order status API reference

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Fszontagh il y a 4 mois
Parent
commit
ae59bf8e6a
3 fichiers modifiés avec 140 ajouts et 0 suppressions
  1. 43 0
      docs/VAPI_docs.md
  2. 39 0
      docs/VAPI_initial_voices.csv
  3. 58 0
      docs/order_status_description.txt

Fichier diff supprimé car celui-ci est trop grand
+ 43 - 0
docs/VAPI_docs.md


+ 39 - 0
docs/VAPI_initial_voices.csv

@@ -0,0 +1,39 @@
+provider,provider_voice_id,url,gender,name,locale,is_enabled
+11labs,EXAVITQu4vr4xnSDxMaL,https://storage.smartbotics.ai/voices/EXAVITQu4vr4xnSDxMaL,female,Anna,hu,TRUE
+11labs,FGY2WhTYpPnrIDTdsKH5,https://storage.smartbotics.ai/voices/FGY2WhTYpPnrIDTdsKH5,female,Zsófia,hu,TRUE
+11labs,Xb7hH8MSUJpSbSDYk0k2,https://storage.smartbotics.ai/voices/Xb7hH8MSUJpSbSDYk0k2,female,Luca,hu,TRUE
+11labs,XrExE9yKIg1WjnnlVkGX,https://storage.smartbotics.ai/voices/XrExE9yKIg1WjnnlVkGX,female,Hanna,hu,TRUE
+11labs,cgSgspJ2msm6clMCkdW9,https://storage.smartbotics.ai/voices/cgSgspJ2msm6clMCkdW9,female,Nóra,hu,TRUE
+11labs,pFZP5JQG7iQjIQuC4Bku,https://storage.smartbotics.ai/voices/pFZP5JQG7iQjIQuC4Bku,female,Lili,hu,TRUE
+11labs,v3V1d2rk6528UrLKRuy8,https://storage.smartbotics.ai/voices/v3V1d2rk6528UrLKRuy8,female,Eszter,hu,TRUE
+11labs,7eVMgwCnXydb3CikjV7a,https://storage.smartbotics.ai/voices/7eVMgwCnXydb3CikjV7a,female,Réka,hu,TRUE
+11labs,flHkNRp1BlvT73UL6gyz,https://storage.smartbotics.ai/voices/flHkNRp1BlvT73UL6gyz,female,Petra,hu,TRUE
+11labs,xjlfQQ3ynqiEyRpArrT8,https://storage.smartbotics.ai/voices/xjlfQQ3ynqiEyRpArrT8,female,Dóra,hu,TRUE
+11labs,Da9VfudgKUvFOKayCiue,https://storage.smartbotics.ai/voices/Da9VfudgKUvFOKayCiue,female,Flóra,hu,TRUE
+11labs,k9KXsQFJqzAoomTCOrJB,https://storage.smartbotics.ai/voices/k9KXsQFJqzAoomTCOrJB,female,Orsolya,hu,TRUE
+11labs,McVZB9hVxVSk3Equu8EH,https://storage.smartbotics.ai/voices/McVZB9hVxVSk3Equu8EH,female,Ibolya,hu,TRUE
+11labs,RILOU7YmBhvwJGDGjNmP,https://storage.smartbotics.ai/voices/RILOU7YmBhvwJGDGjNmP,female,Kinga,hu,TRUE
+11labs,p2Wol3C7j3rHbfOrbL18,https://storage.smartbotics.ai/voices/p2Wol3C7j3rHbfOrbL18,female,Virág,hu,TRUE
+11labs,FIhWHKTvfI9sX1beLEJ8,https://storage.smartbotics.ai/voices/FIhWHKTvfI9sX1beLEJ8,female,Bíborka,hu,TRUE
+11labs,CwhRBWXzGAHq8TQ4Fs17,https://storage.smartbotics.ai/voices/CwhRBWXzGAHq8TQ4Fs17,male,Bence,hu,TRUE
+11labs,IKne3meq5aSn9XLyUdCD,https://storage.smartbotics.ai/voices/IKne3meq5aSn9XLyUdCD,male,Dávid,hu,TRUE
+11labs,JBFqnCBsd6RMkjVDRZzb,https://storage.smartbotics.ai/voices/JBFqnCBsd6RMkjVDRZzb,male,Máté,hu,TRUE
+11labs,N2lVS1w4EtoT3dr4eOWO,https://storage.smartbotics.ai/voices/N2lVS1w4EtoT3dr4eOWO,male,Levente,hu,TRUE
+11labs,SOYHLrjzK2X1ezoPC6cr,https://storage.smartbotics.ai/voices/SOYHLrjzK2X1ezoPC6cr,male,Ádám,hu,TRUE
+11labs,TX3LPaxmHKxFdv7VOQHJ,https://storage.smartbotics.ai/voices/TX3LPaxmHKxFdv7VOQHJ,male,Balázs,hu,TRUE
+11labs,bIHbv24MWmeRgasZH58o,https://storage.smartbotics.ai/voices/bIHbv24MWmeRgasZH58o,male,Zoltán,hu,TRUE
+11labs,cjVigY5qzO86Huf0OWal,https://storage.smartbotics.ai/voices/cjVigY5qzO86Huf0OWal,male,Gergő,hu,TRUE
+11labs,iP95p4xoKVk53GoZ742B,https://storage.smartbotics.ai/voices/iP95p4xoKVk53GoZ742B,male,Tamás,hu,TRUE
+11labs,nPczCjzI2devNBz1zQrb,https://storage.smartbotics.ai/voices/nPczCjzI2devNBz1zQrb,male,Péter,hu,TRUE
+11labs,onwK4e9ZLuTAKqWW03F9,https://storage.smartbotics.ai/voices/onwK4e9ZLuTAKqWW03F9,male,András,hu,TRUE
+11labs,pNInz6obpgDQGcFmaJgB,https://storage.smartbotics.ai/voices/pNInz6obpgDQGcFmaJgB,male,István,hu,TRUE
+11labs,pqHfZKP75CvOlQylNhV4,https://storage.smartbotics.ai/voices/pqHfZKP75CvOlQylNhV4,male,Attila,hu,TRUE
+11labs,AeRdCCKzvd23BpJoofzx,https://storage.smartbotics.ai/voices/AeRdCCKzvd23BpJoofzx,male,Csaba,hu,TRUE
+11labs,c6SfcYrb2t09NHXiT80T,https://storage.smartbotics.ai/voices/c6SfcYrb2t09NHXiT80T,male,Márk,hu,TRUE
+11labs,GVRiwBELe0czFUAJj0nX,https://storage.smartbotics.ai/voices/GVRiwBELe0czFUAJj0nX,male,Patrik,hu,TRUE
+11labs,DMyrgzQFny3JI1Y1paM5,https://storage.smartbotics.ai/voices/DMyrgzQFny3JI1Y1paM5,male,Kristóf,hu,TRUE
+11labs,8Ln42OXYupYsag45MAUy,https://storage.smartbotics.ai/voices/8Ln42OXYupYsag45MAUy,male,Gábor,hu,TRUE
+11labs,uju3wxzG5OhpWcoi3SMy,https://storage.smartbotics.ai/voices/uju3wxzG5OhpWcoi3SMy,male,Zsolt,hu,TRUE
+11labs,YXpFCvM1S3JbWEJhoskW,https://storage.smartbotics.ai/voices/YXpFCvM1S3JbWEJhoskW,male,Ferenc,hu,TRUE
+11labs,NOpBlnGInO9m6vDvFkFC,https://storage.smartbotics.ai/voices/NOpBlnGInO9m6vDvFkFC,male,László,hu,TRUE
+11labs,SAz9YHcvj6GT2YYXdXww,https://storage.smartbotics.ai/voices/SAz9YHcvj6GT2YYXdXww,neutral,Alex,hu,TRUE

+ 58 - 0
docs/order_status_description.txt

@@ -0,0 +1,58 @@
+curl --http1.0 "https://smartboticsapptest.api2.myshoprenter.hu/api/orderStatusDescriptions/b3JkZXJTdGF0dXNEZXNjcmlwdGlvbi1vcmRlcl9zdGF0dXNfaWQ9MSZsYW5ndWFnZV9pZD0x" --header "Accept: application/json" --header "Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiIyZDYyYTIwZDQwNjIwZjk1NTczZGVjNmEiLCJqdGkiOiI1ZDZkMzYxM2U3MmI5ZTMwNjNjNDJkYjVhNTk0YjgyZTdmYjJhZDVmYThlY2NkM2Q3NThiYzIzNmFlOTRlMjQ5ODYyNjFiNGY0ODdiNWFmMiIsImlhdCI6MTc2NDY2MjQwMS42MDAwMDEsIm5iZiI6MTc2NDY2MjQwMS42MDAwMDEsInNzb190b2tlbiI6bnVsbCwiZXhwIjoxNzY0NjY2MDA0LjU5NTkyMywic2NvcGVzIjpbImN1c3RvbWVyLmN1c3RvbWVyOnJlYWQiLCJjdXN0b21lci5jdXN0b21lcjp3cml0ZSIsIm9yZGVyLm9yZGVyOnJlYWQiLCJvcmRlci5vcmRlcjp3cml0ZSIsInByb2R1Y3QuY2F0ZWdvcnk6cmVhZCIsInByb2R1Y3QucHJvZHVjdDpyZWFkIiwicHJvZHVjdC5wcm9kdWN0OndyaXRlIiwic3RvcmUud2ViaG9vazpyZWFkIiwic3RvcmUud2ViaG9vazp3cml0ZSIsIm9yZGVyLnN0YXR1czpyZWFkIiwic3RvcmUuZG9tYWluOnJlYWQiLCJzdG9yZS5zZXR0aW5nOnJlYWQiXSwic2hvcE5hbWUiOiJzbWFydGJvdGljc2FwcHRlc3QiLCJyZWFsbSI6InNtYXJ0Ym90aWNzYXBwdGVzdCJ9.S6_B7OEM6Vh4kW6kuIwm-DkLCEwKyt5ZpRaBRxbfws6QATDSYq5BU6UFnkGd2QAqhyTno7buGsIkZdcHUtBgrbKVrN3AKPN-6QFCK5J7wUAA0yZje5qqEGqT4WxlJsQp8CkQKafyt5MR1iFOH526WekHrffL5pH8mhktNJJCwlBeaGwSuWDbDlgCd8vL1VZWKbgkXYIMW17DGub1g5h3MZvkOMpOS07jyNk6Sc3im7Qu1-28RBoKtO1TQNU_CVTbgZyy3_CR831x459Iwdv-e61xjEhzpInfw0ppCUA6g83Ece33qJIEqfYiNgZ8ruBslT2_hvG3Kf6F7QatdadpN6gPmTgkbbbDDVoOsyAdxxdP7-39RvetyX23xywilSNDm_vC3fZXEuii_dEnVpH4MZtZ1Pcgs3mqgnBOgxKC4XSPUXtBsFvieZK8xgk7SxGqxJ-yOg8LSNsgXPmSESArCtrTDTkxDisACKRtMm8Mxc24Ypn0AJxTiClnhEux_nTFVlqdDI_p_8shERu2SZhEwgkykFWNFOMeMSywMCZ5ZyEwVr6fX-NKKJhmj1QBTFNs33yj9IpXGjF-hx1a8W2Su1nAwOqeuf4UIlJ9oykvbNwoqsP6wXfOafQROIzQwaJQPnrMOfcQL4AFTE5QJgc7NegV2b0cxd-71VENmFzXOrA"
+
+Response:
+
+{
+  "href": "http://smartboticsapptest.api.myshoprenter.hu/orderStatusDescriptions/b3JkZXJTdGF0dXNEZXNjcmlwdGlvbi1vcmRlcl9zdGF0dXNfaWQ9MSZsYW5ndWFnZV9pZD0x",
+  "id": "b3JkZXJTdGF0dXNEZXNjcmlwdGlvbi1vcmRlcl9zdGF0dXNfaWQ9MSZsYW5ndWFnZV9pZD0x",
+  "name": "Függőben lévő",
+  "color": "#ff00ff",
+  "orderStatus": {
+    "href": "http://smartboticsapptest.api.myshoprenter.hu/orderStatuses/b3JkZXJTdGF0dXMtb3JkZXJfc3RhdHVzX2lkPTE="
+  },
+  "language": {
+    "href": "http://smartboticsapptest.api.myshoprenter.hu/languages/bGFuZ3VhZ2UtbGFuZ3VhZ2VfaWQ9MQ=="
+  }
+}
+
+
+
+orderStatus from an order:
+
+      },
+      "orderStatus": {
+        "href": "http://smartboticsapptest.api.myshoprenter.hu/orderStatuses/b3JkZXJTdGF0dXMtb3JkZXJfc3RhdHVzX2lkPTE="
+      },
+      
+      
+Where the id (b3JkZXJTdGF0dXMtb3JkZXJfc3RhdHVzX2lkPTE=)
+
+$ echo "b3JkZXJTdGF0dXMtb3JkZXJfc3RhdHVzX2lkPTE=" | base64 --decode
+$ orderStatus-order_status_id=1
+
+In the **orderStatusDescriptions**/b3JkZXJTdGF0dXNEZXNjcmlwdGlvbi1vcmRlcl9zdGF0dXNfaWQ9MSZsYW5ndWFnZV9pZD0x
+
+The id: 
+
+$ echo "b3JkZXJTdGF0dXNEZXNjcmlwdGlvbi1vcmRlcl9zdGF0dXNfaWQ9MSZsYW5ndWFnZV9pZD0x" | base64 --decode
+$ orderStatusDescription-order_status_id=1&language_id=1
+
+So we can get the status id from the orders using base64 
+First, get the base64 from the url from the order json:
+      },
+      "orderStatus": {
+        "href": "http://smartboticsapptest.api.myshoprenter.hu/orderStatuses/b3JkZXJTdGF0dXMtb3JkZXJfc3RhdHVzX2lkPTE="
+      },
+      
+b3JkZXJTdGF0dXMtb3JkZXJfc3RhdHVzX2lkPTE= -> orderStatus-order_status_id=1
+
+Then get the description, we need to modify the string from the orderStatus to description
+echo "orderStatusDescription-order_status_id=1&language_id=1" | base64 --encode 
+
+Then call the api:
+
+curl --http1.0 "https://smartboticsapptest.api2.myshoprenter.hu/api/orderStatusDescriptions/b3JkZXJTdGF0dXNEZXNjcmlwdGlvbi1vcmRlcl9zdGF0dXNfaWQ9MSZsYW5ndWFnZV9pZD0x" --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dv-e61xjEhzpInfw0ppCUA6g83Ece33qJIEqfYiNgZ8ruBslT2_hvG3Kf6F7QatdadpN6gPmTgkbbbDDVoOsyAdxxdP7-39RvetyX23xywilSNDm_vC3fZXEuii_dEnVpH4MZtZ1Pcgs3mqgnBOgxKC4XSPUXtBsFvieZK8xgk7SxGqxJ-yOg8LSNsgXPmSESArCtrTDTkxDisACKRtMm8Mxc24Ypn0AJxTiClnhEux_nTFVlqdDI_p_8shERu2SZhEwgkykFWNFOMeMSywMCZ5ZyEwVr6fX-NKKJhmj1QBTFNs33yj9IpXGjF-hx1a8W2Su1nAwOqeuf4UIlJ9oykvbNwoqsP6wXfOafQROIzQwaJQPnrMOfcQL4AFTE5QJgc7NegV2b0cxd-71VENmFzXOrA"
+
+
+
+Take care! The urls in all shoprenter responses using wrong url. Do not modify our already implemented shoprenter client, the implementation uses the good url. 

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff