@elizaos/plugin-elizacloud 2.0.0-beta.1 → 2.0.11-beta.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (285) hide show
  1. package/README.md +20 -44
  2. package/auto-enable.ts +10 -5
  3. package/dist/browser/index.browser.js +2 -2
  4. package/dist/browser/index.browser.js.map +4 -4
  5. package/dist/cjs/index.node.cjs +2874 -5915
  6. package/dist/cjs/index.node.js.map +47 -116
  7. package/dist/cloud/auth-service-types.d.ts +8 -0
  8. package/dist/cloud/auth-service-types.d.ts.map +1 -0
  9. package/dist/cloud/auth-service-types.js +36 -0
  10. package/dist/cloud/auth-service-types.js.map +10 -0
  11. package/dist/cloud/auth.js +4 -51
  12. package/dist/cloud/auth.js.map +4 -4
  13. package/dist/cloud/base-url.d.ts +6 -2
  14. package/dist/cloud/base-url.d.ts.map +1 -1
  15. package/dist/cloud/base-url.js +3 -51
  16. package/dist/cloud/base-url.js.map +3 -3
  17. package/dist/cloud/bridge-client.d.ts +3 -3
  18. package/dist/cloud/bridge-client.d.ts.map +1 -1
  19. package/dist/cloud/bridge-client.js +3 -51
  20. package/dist/cloud/bridge-client.js.map +3 -3
  21. package/dist/cloud/clack-observer.d.ts +35 -0
  22. package/dist/cloud/clack-observer.d.ts.map +1 -0
  23. package/dist/cloud/clack-observer.js +143 -0
  24. package/dist/cloud/clack-observer.js.map +10 -0
  25. package/dist/cloud/cloud-manager.js +45 -92
  26. package/dist/cloud/cloud-manager.js.map +6 -6
  27. package/dist/cloud/cloud-wallet.js +2 -4835
  28. package/dist/cloud/cloud-wallet.js.map +3 -82
  29. package/dist/cloud/duffel-client.d.ts +181 -0
  30. package/dist/cloud/duffel-client.d.ts.map +1 -0
  31. package/dist/cloud/duffel-client.js +506 -0
  32. package/dist/cloud/duffel-client.js.map +11 -0
  33. package/dist/cloud/index.d.ts +6 -0
  34. package/dist/cloud/index.d.ts.map +1 -1
  35. package/dist/cloud/index.js +1782 -1
  36. package/dist/cloud/index.js.map +18 -3
  37. package/dist/cloud/lifeops-schedule-sync-client.d.ts +43 -0
  38. package/dist/cloud/lifeops-schedule-sync-client.d.ts.map +1 -0
  39. package/dist/cloud/lifeops-schedule-sync-client.js +180 -0
  40. package/dist/cloud/lifeops-schedule-sync-client.js.map +11 -0
  41. package/dist/cloud/lifeops-schedule-sync-contracts.d.ts +89 -0
  42. package/dist/cloud/lifeops-schedule-sync-contracts.d.ts.map +1 -0
  43. package/dist/cloud/lifeops-schedule-sync-contracts.js +39 -0
  44. package/dist/cloud/lifeops-schedule-sync-contracts.js.map +10 -0
  45. package/dist/cloud/managed-payment-clients.d.ts +166 -0
  46. package/dist/cloud/managed-payment-clients.d.ts.map +1 -0
  47. package/dist/cloud/managed-payment-clients.js +238 -0
  48. package/dist/cloud/managed-payment-clients.js.map +11 -0
  49. package/dist/cloud/null-observer.d.ts +35 -0
  50. package/dist/cloud/null-observer.d.ts.map +1 -0
  51. package/dist/cloud/null-observer.js +45 -0
  52. package/dist/cloud/null-observer.js.map +10 -0
  53. package/dist/cloud/setup-observer.d.ts +98 -0
  54. package/dist/cloud/setup-observer.d.ts.map +1 -0
  55. package/dist/cloud/setup-observer.js +2 -0
  56. package/dist/cloud/setup-observer.js.map +9 -0
  57. package/dist/cloud/validate-url.d.ts.map +1 -1
  58. package/dist/cloud/validate-url.js +2 -1
  59. package/dist/cloud/validate-url.js.map +3 -3
  60. package/dist/cloud/x402-payment-handler.d.ts +85 -0
  61. package/dist/cloud/x402-payment-handler.d.ts.map +1 -0
  62. package/dist/cloud/x402-payment-handler.js +119 -0
  63. package/dist/cloud/x402-payment-handler.js.map +10 -0
  64. package/dist/cloud-setup.d.ts +36 -0
  65. package/dist/cloud-setup.d.ts.map +1 -0
  66. package/dist/{onboarding.js → cloud-setup.js} +139 -139
  67. package/dist/cloud-setup.js.map +14 -0
  68. package/dist/cloud-voice-catalog.d.ts +65 -0
  69. package/dist/cloud-voice-catalog.d.ts.map +1 -0
  70. package/dist/cloud-voice-catalog.js +278 -0
  71. package/dist/cloud-voice-catalog.js.map +12 -0
  72. package/dist/index.browser.d.ts +11 -0
  73. package/dist/index.browser.d.ts.map +1 -1
  74. package/dist/index.d.ts +7 -1
  75. package/dist/index.d.ts.map +1 -1
  76. package/dist/index.js +5416 -8405
  77. package/dist/index.js.map +48 -116
  78. package/dist/index.node.d.ts +8 -1
  79. package/dist/index.node.d.ts.map +1 -1
  80. package/dist/init.js +17 -4
  81. package/dist/init.js.map +4 -4
  82. package/dist/lib/cloud-connection.d.ts +0 -1
  83. package/dist/lib/cloud-connection.d.ts.map +1 -1
  84. package/dist/lib/cloud-connection.js +14 -91
  85. package/dist/lib/cloud-connection.js.map +7 -7
  86. package/dist/lib/cloud-secrets.d.ts +5 -18
  87. package/dist/lib/cloud-secrets.d.ts.map +1 -1
  88. package/dist/lib/cloud-secrets.js +8 -36
  89. package/dist/lib/cloud-secrets.js.map +3 -3
  90. package/dist/lib/config-like.d.ts +1 -1
  91. package/dist/lib/config-like.d.ts.map +1 -1
  92. package/dist/lib/config-like.js +3 -3
  93. package/dist/lib/config-like.js.map +3 -3
  94. package/dist/lib/credential-type-map.d.ts +1 -1
  95. package/dist/lib/credential-type-map.js.map +1 -1
  96. package/dist/lib/http.d.ts +0 -11
  97. package/dist/lib/http.d.ts.map +1 -1
  98. package/dist/lib/http.js.map +2 -2
  99. package/dist/lib/server-cloud-tts.d.ts +12 -25
  100. package/dist/lib/server-cloud-tts.d.ts.map +1 -1
  101. package/dist/lib/server-cloud-tts.js +31 -329
  102. package/dist/lib/server-cloud-tts.js.map +4 -7
  103. package/dist/lib/tts-debug.d.ts +5 -3
  104. package/dist/lib/tts-debug.d.ts.map +1 -1
  105. package/dist/lib/tts-debug.js +1 -34
  106. package/dist/lib/tts-debug.js.map +3 -4
  107. package/dist/models/embeddings.d.ts.map +1 -1
  108. package/dist/models/embeddings.js +79 -69
  109. package/dist/models/embeddings.js.map +6 -6
  110. package/dist/models/image.d.ts.map +1 -1
  111. package/dist/models/image.js +42 -15
  112. package/dist/models/image.js.map +6 -6
  113. package/dist/models/index.js +676 -166
  114. package/dist/models/index.js.map +11 -12
  115. package/dist/models/research.d.ts.map +1 -1
  116. package/dist/models/research.js +24 -7
  117. package/dist/models/research.js.map +6 -6
  118. package/dist/models/speech.d.ts +61 -3
  119. package/dist/models/speech.d.ts.map +1 -1
  120. package/dist/models/speech.js +173 -17
  121. package/dist/models/speech.js.map +5 -5
  122. package/dist/models/text.d.ts +106 -1
  123. package/dist/models/text.d.ts.map +1 -1
  124. package/dist/models/text.js +452 -82
  125. package/dist/models/text.js.map +7 -8
  126. package/dist/models/tokenization.d.ts.map +1 -1
  127. package/dist/models/tokenization.js.map +2 -2
  128. package/dist/models/transcription.d.ts.map +1 -1
  129. package/dist/models/transcription.js +20 -6
  130. package/dist/models/transcription.js.map +5 -5
  131. package/dist/node/index.node.js +2828 -5838
  132. package/dist/node/index.node.js.map +47 -116
  133. package/dist/plugin.d.ts.map +1 -1
  134. package/dist/plugin.js +376 -5050
  135. package/dist/plugin.js.map +16 -92
  136. package/dist/providers/openai.js +11 -2
  137. package/dist/providers/openai.js.map +3 -3
  138. package/dist/register-routes.js +376 -5050
  139. package/dist/register-routes.js.map +16 -92
  140. package/dist/routes/cloud-billing-routes.d.ts.map +1 -1
  141. package/dist/routes/cloud-billing-routes.js +17 -60
  142. package/dist/routes/cloud-billing-routes.js.map +8 -7
  143. package/dist/routes/cloud-coding-container-routes.d.ts +8 -0
  144. package/dist/routes/cloud-coding-container-routes.d.ts.map +1 -0
  145. package/dist/routes/cloud-coding-container-routes.js +214 -0
  146. package/dist/routes/cloud-coding-container-routes.js.map +11 -0
  147. package/dist/routes/cloud-compat-routes.d.ts.map +1 -1
  148. package/dist/routes/cloud-compat-routes.js +17 -60
  149. package/dist/routes/cloud-compat-routes.js.map +8 -7
  150. package/dist/routes/cloud-features-routes.js +2 -2
  151. package/dist/routes/cloud-features-routes.js.map +4 -4
  152. package/dist/routes/cloud-relay-routes.d.ts +2 -1
  153. package/dist/routes/cloud-relay-routes.d.ts.map +1 -1
  154. package/dist/routes/cloud-relay-routes.js +84 -2
  155. package/dist/routes/cloud-relay-routes.js.map +5 -4
  156. package/dist/routes/cloud-routes-autonomous.d.ts +3 -4
  157. package/dist/routes/cloud-routes-autonomous.d.ts.map +1 -1
  158. package/dist/routes/cloud-routes-autonomous.js +11 -4893
  159. package/dist/routes/cloud-routes-autonomous.js.map +8 -87
  160. package/dist/routes/cloud-routes.d.ts +2 -2
  161. package/dist/routes/cloud-routes.d.ts.map +1 -1
  162. package/dist/routes/cloud-routes.js +343 -5058
  163. package/dist/routes/cloud-routes.js.map +13 -90
  164. package/dist/routes/cloud-status-routes-autonomous.d.ts +1 -2
  165. package/dist/routes/cloud-status-routes-autonomous.d.ts.map +1 -1
  166. package/dist/routes/cloud-status-routes-autonomous.js +4 -51
  167. package/dist/routes/cloud-status-routes-autonomous.js.map +5 -5
  168. package/dist/routes/cloud-status-routes.js +14 -90
  169. package/dist/routes/cloud-status-routes.js.map +7 -7
  170. package/dist/routes/home-remote-runner-access-url.d.ts +16 -0
  171. package/dist/routes/home-remote-runner-access-url.d.ts.map +1 -0
  172. package/dist/routes/home-remote-runner-access-url.js +91 -0
  173. package/dist/routes/home-remote-runner-access-url.js.map +10 -0
  174. package/dist/routes/travel-provider-relay-routes.d.ts +9 -0
  175. package/dist/routes/travel-provider-relay-routes.d.ts.map +1 -0
  176. package/dist/routes/travel-provider-relay-routes.js +358 -0
  177. package/dist/routes/travel-provider-relay-routes.js.map +14 -0
  178. package/dist/services/cloud-auth.d.ts +1 -1
  179. package/dist/services/cloud-auth.d.ts.map +1 -1
  180. package/dist/services/cloud-auth.js +7 -2
  181. package/dist/services/cloud-auth.js.map +4 -4
  182. package/dist/services/cloud-backup.js.map +2 -2
  183. package/dist/services/cloud-bootstrap.d.ts.map +1 -1
  184. package/dist/services/cloud-bootstrap.js.map +2 -2
  185. package/dist/services/cloud-bridge.js.map +3 -3
  186. package/dist/services/cloud-container.d.ts +5 -1
  187. package/dist/services/cloud-container.d.ts.map +1 -1
  188. package/dist/services/cloud-container.js +52 -1
  189. package/dist/services/cloud-container.js.map +4 -4
  190. package/dist/services/cloud-credential-provider.js.map +2 -2
  191. package/dist/services/cloud-model-registry.js.map +2 -2
  192. package/dist/types/cloud.d.ts +1 -0
  193. package/dist/types/cloud.d.ts.map +1 -1
  194. package/dist/types/cloud.js.map +2 -2
  195. package/dist/types/index.d.ts +1 -1
  196. package/dist/types/index.d.ts.map +1 -1
  197. package/dist/utils/cloud-sdk/client.d.ts.map +1 -1
  198. package/dist/utils/cloud-sdk/client.js +136 -4
  199. package/dist/utils/cloud-sdk/client.js.map +5 -5
  200. package/dist/utils/cloud-sdk/http.js.map +1 -1
  201. package/dist/utils/cloud-sdk/public-routes.d.ts +186 -0
  202. package/dist/utils/cloud-sdk/public-routes.d.ts.map +1 -1
  203. package/dist/utils/cloud-sdk/public-routes.js +99 -1
  204. package/dist/utils/cloud-sdk/public-routes.js.map +3 -3
  205. package/dist/utils/cloud-sdk/types.d.ts +0 -2
  206. package/dist/utils/cloud-sdk/types.d.ts.map +1 -1
  207. package/dist/utils/cloud-sdk/types.js.map +1 -1
  208. package/dist/utils/config.d.ts +10 -1
  209. package/dist/utils/config.d.ts.map +1 -1
  210. package/dist/utils/config.js +12 -2
  211. package/dist/utils/config.js.map +3 -3
  212. package/dist/utils/events.d.ts +23 -2
  213. package/dist/utils/events.d.ts.map +1 -1
  214. package/dist/utils/events.js +5 -3
  215. package/dist/utils/events.js.map +3 -3
  216. package/dist/utils/sdk-client.d.ts.map +1 -1
  217. package/dist/utils/sdk-client.js +17 -4
  218. package/dist/utils/sdk-client.js.map +4 -4
  219. package/dist/utils/waifu-metering.d.ts +108 -0
  220. package/dist/utils/waifu-metering.d.ts.map +1 -0
  221. package/dist/utils/waifu-metering.js +166 -0
  222. package/dist/utils/waifu-metering.js.map +10 -0
  223. package/package.json +51 -22
  224. package/src/cloud/auth-service-types.ts +24 -0
  225. package/src/cloud/base-url.ts +6 -62
  226. package/src/cloud/clack-observer.ts +189 -0
  227. package/src/cloud/duffel-client.ts +847 -0
  228. package/src/cloud/index.ts +10 -0
  229. package/src/cloud/lifeops-schedule-sync-client.ts +245 -0
  230. package/src/cloud/lifeops-schedule-sync-contracts.ts +124 -0
  231. package/src/cloud/managed-payment-clients.ts +374 -0
  232. package/src/cloud/null-observer.ts +45 -0
  233. package/src/cloud/setup-observer.ts +125 -0
  234. package/src/cloud/validate-url.ts +7 -1
  235. package/src/cloud/x402-payment-handler.ts +215 -0
  236. package/src/cloud-setup.ts +531 -0
  237. package/src/cloud-voice-catalog.test.ts +254 -0
  238. package/src/cloud-voice-catalog.ts +246 -0
  239. package/src/index.browser.ts +29 -0
  240. package/src/index.node.ts +31 -1
  241. package/src/index.ts +76 -4
  242. package/src/lib/cloud-connection.ts +2 -4
  243. package/src/lib/cloud-secrets.ts +10 -54
  244. package/src/lib/config-like.ts +1 -1
  245. package/src/lib/credential-type-map.ts +2 -2
  246. package/src/lib/http.ts +0 -17
  247. package/src/lib/server-cloud-tts.ts +33 -341
  248. package/src/lib/tts-debug.ts +5 -34
  249. package/src/models/embeddings.ts +140 -76
  250. package/src/models/image.ts +29 -14
  251. package/src/models/research.ts +11 -1
  252. package/src/models/speech.ts +269 -23
  253. package/src/models/text.ts +704 -110
  254. package/src/models/tokenization.ts +2 -2
  255. package/src/models/transcription.ts +7 -3
  256. package/src/plugin.ts +38 -0
  257. package/src/routes/cloud-billing-routes.ts +4 -14
  258. package/src/routes/cloud-coding-container-routes.ts +198 -0
  259. package/src/routes/cloud-compat-routes.ts +4 -14
  260. package/src/routes/cloud-features-routes.ts +1 -1
  261. package/src/routes/cloud-relay-routes.ts +47 -1
  262. package/src/routes/cloud-routes-autonomous.ts +7 -10
  263. package/src/routes/cloud-routes.ts +68 -7
  264. package/src/routes/cloud-status-routes-autonomous.ts +6 -2
  265. package/src/routes/home-remote-runner-access-url.ts +83 -0
  266. package/src/routes/travel-provider-relay-routes.ts +193 -0
  267. package/src/services/cloud-auth.ts +9 -2
  268. package/src/services/cloud-bootstrap.ts +1 -3
  269. package/src/services/cloud-bridge.ts +1 -1
  270. package/src/services/cloud-container.ts +93 -0
  271. package/src/services/cloud-credential-provider.ts +1 -1
  272. package/src/services/cloud-model-registry.ts +1 -1
  273. package/src/types/cloud.ts +22 -0
  274. package/src/types/index.ts +19 -0
  275. package/src/utils/cloud-sdk/client.ts +42 -3
  276. package/src/utils/cloud-sdk/public-routes.ts +168 -0
  277. package/src/utils/cloud-sdk/types.ts +0 -2
  278. package/src/utils/config.ts +20 -1
  279. package/src/utils/events.ts +30 -2
  280. package/src/utils/sdk-client.ts +5 -1
  281. package/src/utils/waifu-metering.ts +302 -0
  282. package/dist/onboarding.d.ts +0 -35
  283. package/dist/onboarding.d.ts.map +0 -1
  284. package/dist/onboarding.js.map +0 -14
  285. package/src/onboarding.ts +0 -396
@@ -9,6 +9,7 @@ export const ELIZA_CLOUD_PUBLIC_ENDPOINTS = {
9
9
  "DELETE /api/elevenlabs/voices/{id}": { method: "DELETE", path: "/api/elevenlabs/voices/{id}", methodName: "deleteApiElevenlabsVoicesById", responseMode: "json", pathParams: ["id"], catchAllPathParams: [], file: "apps/api/elevenlabs/voices/[id]/route.ts" },
10
10
  "DELETE /api/v1/advertising/accounts/{id}": { method: "DELETE", path: "/api/v1/advertising/accounts/{id}", methodName: "deleteApiV1AdvertisingAccountsById", responseMode: "json", pathParams: ["id"], catchAllPathParams: [], file: "apps/api/v1/advertising/accounts/[id]/route.ts" },
11
11
  "DELETE /api/v1/advertising/campaigns/{id}": { method: "DELETE", path: "/api/v1/advertising/campaigns/{id}", methodName: "deleteApiV1AdvertisingCampaignsById", responseMode: "json", pathParams: ["id"], catchAllPathParams: [], file: "apps/api/v1/advertising/campaigns/[id]/route.ts" },
12
+ "DELETE /api/v1/advertising/creatives/{id}": { method: "DELETE", path: "/api/v1/advertising/creatives/{id}", methodName: "deleteApiV1AdvertisingCreativesById", responseMode: "json", pathParams: ["id"], catchAllPathParams: [], file: "apps/api/v1/advertising/creatives/[id]/route.ts" },
12
13
  "DELETE /api/v1/agents/{agentId}/publish": { method: "DELETE", path: "/api/v1/agents/{agentId}/publish", methodName: "deleteApiV1AgentsByAgentIdPublish", responseMode: "json", pathParams: ["agentId"], catchAllPathParams: [], file: "apps/api/v1/agents/[agentId]/publish/route.ts" },
13
14
  "DELETE /api/v1/agents/{agentId}/workflows/{workflowId}": { method: "DELETE", path: "/api/v1/agents/{agentId}/workflows/{workflowId}", methodName: "deleteApiV1AgentsByAgentIdWorkflowsByWorkflowId", responseMode: "json", pathParams: ["agentId", "workflowId"], catchAllPathParams: [], file: "apps/api/v1/agents/[agentId]/workflows/[workflowId]/route.ts" },
14
15
  "DELETE /api/v1/api-keys/{id}": { method: "DELETE", path: "/api/v1/api-keys/{id}", methodName: "deleteApiV1ApiKeysById", responseMode: "json", pathParams: ["id"], catchAllPathParams: [], file: "apps/api/v1/api-keys/[id]/route.ts" },
@@ -53,10 +54,12 @@ export const ELIZA_CLOUD_PUBLIC_ENDPOINTS = {
53
54
  "GET /api/elevenlabs/voices/verify/{id}": { method: "GET", path: "/api/elevenlabs/voices/verify/{id}", methodName: "getApiElevenlabsVoicesVerifyById", responseMode: "json", pathParams: ["id"], catchAllPathParams: [], file: "apps/api/elevenlabs/voices/verify/[id]/route.ts" },
54
55
  "GET /api/v1/advertising/accounts": { method: "GET", path: "/api/v1/advertising/accounts", methodName: "getApiV1AdvertisingAccounts", responseMode: "json", pathParams: [], catchAllPathParams: [], file: "apps/api/v1/advertising/accounts/route.ts" },
55
56
  "GET /api/v1/advertising/accounts/{id}": { method: "GET", path: "/api/v1/advertising/accounts/{id}", methodName: "getApiV1AdvertisingAccountsById", responseMode: "json", pathParams: ["id"], catchAllPathParams: [], file: "apps/api/v1/advertising/accounts/[id]/route.ts" },
57
+ "GET /api/v1/advertising/accounts/{id}/media": { method: "GET", path: "/api/v1/advertising/accounts/{id}/media", methodName: "getApiV1AdvertisingAccountsByIdMedia", responseMode: "json", pathParams: ["id"], catchAllPathParams: [], file: "apps/api/v1/advertising/accounts/[id]/media/route.ts" },
56
58
  "GET /api/v1/advertising/campaigns": { method: "GET", path: "/api/v1/advertising/campaigns", methodName: "getApiV1AdvertisingCampaigns", responseMode: "json", pathParams: [], catchAllPathParams: [], file: "apps/api/v1/advertising/campaigns/route.ts" },
57
59
  "GET /api/v1/advertising/campaigns/{id}": { method: "GET", path: "/api/v1/advertising/campaigns/{id}", methodName: "getApiV1AdvertisingCampaignsById", responseMode: "json", pathParams: ["id"], catchAllPathParams: [], file: "apps/api/v1/advertising/campaigns/[id]/route.ts" },
58
60
  "GET /api/v1/advertising/campaigns/{id}/analytics": { method: "GET", path: "/api/v1/advertising/campaigns/{id}/analytics", methodName: "getApiV1AdvertisingCampaignsByIdAnalytics", responseMode: "json", pathParams: ["id"], catchAllPathParams: [], file: "apps/api/v1/advertising/campaigns/[id]/analytics/route.ts" },
59
61
  "GET /api/v1/advertising/campaigns/{id}/creatives": { method: "GET", path: "/api/v1/advertising/campaigns/{id}/creatives", methodName: "getApiV1AdvertisingCampaignsByIdCreatives", responseMode: "json", pathParams: ["id"], catchAllPathParams: [], file: "apps/api/v1/advertising/campaigns/[id]/creatives/route.ts" },
62
+ "GET /api/v1/advertising/creatives/{id}": { method: "GET", path: "/api/v1/advertising/creatives/{id}", methodName: "getApiV1AdvertisingCreativesById", responseMode: "json", pathParams: ["id"], catchAllPathParams: [], file: "apps/api/v1/advertising/creatives/[id]/route.ts" },
60
63
  "GET /api/v1/affiliates": { method: "GET", path: "/api/v1/affiliates", methodName: "getApiV1Affiliates", responseMode: "json", pathParams: [], catchAllPathParams: [], file: "apps/api/v1/affiliates/route.ts" },
61
64
  "GET /api/v1/agents/{agentId}": { method: "GET", path: "/api/v1/agents/{agentId}", methodName: "getApiV1AgentsByAgentId", responseMode: "json", pathParams: ["agentId"], catchAllPathParams: [], file: "apps/api/v1/agents/[agentId]/route.ts" },
62
65
  "GET /api/v1/agents/{agentId}/logs": { method: "GET", path: "/api/v1/agents/{agentId}/logs", methodName: "getApiV1AgentsByAgentIdLogs", responseMode: "json", pathParams: ["agentId"], catchAllPathParams: [], file: "apps/api/v1/agents/[agentId]/logs/route.ts" },
@@ -187,6 +190,8 @@ export const ELIZA_CLOUD_PUBLIC_ENDPOINTS = {
187
190
  "GET /api/v1/oauth/providers": { method: "GET", path: "/api/v1/oauth/providers", methodName: "getApiV1OauthProviders", responseMode: "json", pathParams: [], catchAllPathParams: [], file: "apps/api/v1/oauth/providers/route.ts" },
188
191
  "GET /api/v1/oauth/status": { method: "GET", path: "/api/v1/oauth/status", methodName: "getApiV1OauthStatus", responseMode: "json", pathParams: [], catchAllPathParams: [], file: "apps/api/v1/oauth/status/route.ts" },
189
192
  "GET /api/v1/oauth/token/{platform}": { method: "GET", path: "/api/v1/oauth/token/{platform}", methodName: "getApiV1OauthTokenByPlatform", responseMode: "json", pathParams: ["platform"], catchAllPathParams: [], file: "apps/api/v1/oauth/token/[platform]/route.ts" },
193
+ "GET /api/v1/payment-requests": { method: "GET", path: "/api/v1/payment-requests", methodName: "getApiV1PaymentRequests", responseMode: "json", pathParams: [], catchAllPathParams: [], file: "apps/api/v1/payment-requests/route.ts" },
194
+ "GET /api/v1/payment-requests/{id}": { method: "GET", path: "/api/v1/payment-requests/{id}", methodName: "getApiV1PaymentRequestsById", responseMode: "json", pathParams: ["id"], catchAllPathParams: [], file: "apps/api/v1/payment-requests/[id]/route.ts" },
190
195
  "GET /api/v1/pricing/summary": { method: "GET", path: "/api/v1/pricing/summary", methodName: "getApiV1PricingSummary", responseMode: "json", pathParams: [], catchAllPathParams: [], file: "apps/api/v1/pricing/summary/route.ts" },
191
196
  "GET /api/v1/proxy/birdeye/{path}": { method: "GET", path: "/api/v1/proxy/birdeye/{path}", methodName: "getApiV1ProxyBirdeyeByPath", responseMode: "json", pathParams: ["path"], catchAllPathParams: ["path"], file: "apps/api/v1/proxy/birdeye/[...path]/route.ts" },
192
197
  "GET /api/v1/redemptions": { method: "GET", path: "/api/v1/redemptions", methodName: "getApiV1Redemptions", responseMode: "json", pathParams: [], catchAllPathParams: [], file: "apps/api/v1/redemptions/route.ts" },
@@ -226,6 +231,7 @@ export const ELIZA_CLOUD_PUBLIC_ENDPOINTS = {
226
231
  "GET /api/v1/x402/requests/{id}": { method: "GET", path: "/api/v1/x402/requests/{id}", methodName: "getApiV1X402RequestsById", responseMode: "json", pathParams: ["id"], catchAllPathParams: [], file: "apps/api/v1/x402/requests/[id]/route.ts" },
227
232
  "PATCH /api/elevenlabs/voices/{id}": { method: "PATCH", path: "/api/elevenlabs/voices/{id}", methodName: "patchApiElevenlabsVoicesById", responseMode: "json", pathParams: ["id"], catchAllPathParams: [], file: "apps/api/elevenlabs/voices/[id]/route.ts" },
228
233
  "PATCH /api/v1/advertising/campaigns/{id}": { method: "PATCH", path: "/api/v1/advertising/campaigns/{id}", methodName: "patchApiV1AdvertisingCampaignsById", responseMode: "json", pathParams: ["id"], catchAllPathParams: [], file: "apps/api/v1/advertising/campaigns/[id]/route.ts" },
234
+ "PATCH /api/v1/advertising/creatives/{id}": { method: "PATCH", path: "/api/v1/advertising/creatives/{id}", methodName: "patchApiV1AdvertisingCreativesById", responseMode: "json", pathParams: ["id"], catchAllPathParams: [], file: "apps/api/v1/advertising/creatives/[id]/route.ts" },
229
235
  "PATCH /api/v1/api-keys/{id}": { method: "PATCH", path: "/api/v1/api-keys/{id}", methodName: "patchApiV1ApiKeysById", responseMode: "json", pathParams: ["id"], catchAllPathParams: [], file: "apps/api/v1/api-keys/[id]/route.ts" },
230
236
  "PATCH /api/v1/apps/{id}": { method: "PATCH", path: "/api/v1/apps/{id}", methodName: "patchApiV1AppsById", responseMode: "json", pathParams: ["id"], catchAllPathParams: [], file: "apps/api/v1/apps/[id]/route.ts" },
231
237
  "PATCH /api/v1/apps/{id}/domains/{domain}/dns/{recordId}": { method: "PATCH", path: "/api/v1/apps/{id}/domains/{domain}/dns/{recordId}", methodName: "patchApiV1AppsByIdDomainsByDomainDnsByRecordId", responseMode: "json", pathParams: ["id", "domain", "recordId"], catchAllPathParams: [], file: "apps/api/v1/apps/[id]/domains/[domain]/dns/[recordId]/route.ts" },
@@ -246,6 +252,7 @@ export const ELIZA_CLOUD_PUBLIC_ENDPOINTS = {
246
252
  "POST /api/elevenlabs/tts": { method: "POST", path: "/api/elevenlabs/tts", methodName: "postApiElevenlabsTts", responseMode: "binary", pathParams: [], catchAllPathParams: [], file: "apps/api/elevenlabs/tts/route.ts" },
247
253
  "POST /api/elevenlabs/voices/clone": { method: "POST", path: "/api/elevenlabs/voices/clone", methodName: "postApiElevenlabsVoicesClone", responseMode: "json", pathParams: [], catchAllPathParams: [], file: "apps/api/elevenlabs/voices/clone/route.ts" },
248
254
  "POST /api/v1/advertising/accounts": { method: "POST", path: "/api/v1/advertising/accounts", methodName: "postApiV1AdvertisingAccounts", responseMode: "json", pathParams: [], catchAllPathParams: [], file: "apps/api/v1/advertising/accounts/route.ts" },
255
+ "POST /api/v1/advertising/accounts/{id}/media": { method: "POST", path: "/api/v1/advertising/accounts/{id}/media", methodName: "postApiV1AdvertisingAccountsByIdMedia", responseMode: "json", pathParams: ["id"], catchAllPathParams: [], file: "apps/api/v1/advertising/accounts/[id]/media/route.ts" },
249
256
  "POST /api/v1/advertising/accounts/discover": { method: "POST", path: "/api/v1/advertising/accounts/discover", methodName: "postApiV1AdvertisingAccountsDiscover", responseMode: "json", pathParams: [], catchAllPathParams: [], file: "apps/api/v1/advertising/accounts/discover/route.ts" },
250
257
  "POST /api/v1/advertising/campaigns": { method: "POST", path: "/api/v1/advertising/campaigns", methodName: "postApiV1AdvertisingCampaigns", responseMode: "json", pathParams: [], catchAllPathParams: [], file: "apps/api/v1/advertising/campaigns/route.ts" },
251
258
  "POST /api/v1/advertising/campaigns/{id}/creatives": { method: "POST", path: "/api/v1/advertising/campaigns/{id}/creatives", methodName: "postApiV1AdvertisingCampaignsByIdCreatives", responseMode: "json", pathParams: ["id"], catchAllPathParams: [], file: "apps/api/v1/advertising/campaigns/[id]/creatives/route.ts" },
@@ -299,6 +306,9 @@ export const ELIZA_CLOUD_PUBLIC_ENDPOINTS = {
299
306
  "POST /api/v1/browser/sessions/{id}/navigate": { method: "POST", path: "/api/v1/browser/sessions/{id}/navigate", methodName: "postApiV1BrowserSessionsByIdNavigate", responseMode: "json", pathParams: ["id"], catchAllPathParams: [], file: "apps/api/v1/browser/sessions/[id]/navigate/route.ts" },
300
307
  "POST /api/v1/chat": { method: "POST", path: "/api/v1/chat", methodName: "postApiV1Chat", responseMode: "json", pathParams: [], catchAllPathParams: [], file: "apps/api/v1/chat/route.ts" },
301
308
  "POST /api/v1/chat/completions": { method: "POST", path: "/api/v1/chat/completions", methodName: "postApiV1ChatCompletions", responseMode: "mixed", pathParams: [], catchAllPathParams: [], file: "apps/api/v1/chat/completions/route.ts" },
309
+ "POST /api/v1/coding-containers": { method: "POST", path: "/api/v1/coding-containers", methodName: "postApiV1CodingContainers", responseMode: "json", pathParams: [], catchAllPathParams: [], file: "apps/api/v1/coding-containers/route.ts" },
310
+ "POST /api/v1/coding-containers/{containerId}/sync": { method: "POST", path: "/api/v1/coding-containers/{containerId}/sync", methodName: "postApiV1CodingContainersByContainerIdSync", responseMode: "json", pathParams: ["containerId"], catchAllPathParams: [], file: "apps/api/v1/coding-containers/[containerId]/sync/route.ts" },
311
+ "POST /api/v1/coding-containers/promotions": { method: "POST", path: "/api/v1/coding-containers/promotions", methodName: "postApiV1CodingContainersPromotions", responseMode: "json", pathParams: [], catchAllPathParams: [], file: "apps/api/v1/coding-containers/promotions/route.ts" },
302
312
  "POST /api/v1/connections/{platform}": { method: "POST", path: "/api/v1/connections/{platform}", methodName: "postApiV1ConnectionsByPlatform", responseMode: "json", pathParams: ["platform"], catchAllPathParams: [], file: "apps/api/v1/connections/[platform]/route.ts" },
303
313
  "POST /api/v1/containers": { method: "POST", path: "/api/v1/containers", methodName: "postApiV1Containers", responseMode: "json", pathParams: [], catchAllPathParams: [], file: "apps/api/v1/containers/route.ts" },
304
314
  "POST /api/v1/containers/credentials": { method: "POST", path: "/api/v1/containers/credentials", methodName: "postApiV1ContainersCredentials", responseMode: "json", pathParams: [], catchAllPathParams: [], file: "apps/api/v1/containers/credentials/route.ts" },
@@ -356,6 +366,9 @@ export const ELIZA_CLOUD_PUBLIC_ENDPOINTS = {
356
366
  "POST /api/v1/oauth/{platform}/initiate": { method: "POST", path: "/api/v1/oauth/{platform}/initiate", methodName: "postApiV1OauthByPlatformInitiate", responseMode: "json", pathParams: ["platform"], catchAllPathParams: [], file: "apps/api/v1/oauth/[platform]/initiate/route.ts" },
357
367
  "POST /api/v1/oauth/connect": { method: "POST", path: "/api/v1/oauth/connect", methodName: "postApiV1OauthConnect", responseMode: "json", pathParams: [], catchAllPathParams: [], file: "apps/api/v1/oauth/connect/route.ts" },
358
368
  "POST /api/v1/oauth/initiate": { method: "POST", path: "/api/v1/oauth/initiate", methodName: "postApiV1OauthInitiate", responseMode: "json", pathParams: [], catchAllPathParams: [], file: "apps/api/v1/oauth/initiate/route.ts" },
369
+ "POST /api/v1/payment-requests": { method: "POST", path: "/api/v1/payment-requests", methodName: "postApiV1PaymentRequests", responseMode: "json", pathParams: [], catchAllPathParams: [], file: "apps/api/v1/payment-requests/route.ts" },
370
+ "POST /api/v1/payment-requests/{id}/cancel": { method: "POST", path: "/api/v1/payment-requests/{id}/cancel", methodName: "postApiV1PaymentRequestsByIdCancel", responseMode: "json", pathParams: ["id"], catchAllPathParams: [], file: "apps/api/v1/payment-requests/[id]/cancel/route.ts" },
371
+ "POST /api/v1/payment-requests/{id}/expire": { method: "POST", path: "/api/v1/payment-requests/{id}/expire", methodName: "postApiV1PaymentRequestsByIdExpire", responseMode: "json", pathParams: ["id"], catchAllPathParams: [], file: "apps/api/v1/payment-requests/[id]/expire/route.ts" },
359
372
  "POST /api/v1/proxy/birdeye/{path}": { method: "POST", path: "/api/v1/proxy/birdeye/{path}", methodName: "postApiV1ProxyBirdeyeByPath", responseMode: "json", pathParams: ["path"], catchAllPathParams: ["path"], file: "apps/api/v1/proxy/birdeye/[...path]/route.ts" },
360
373
  "POST /api/v1/proxy/evm-rpc/{chain}": { method: "POST", path: "/api/v1/proxy/evm-rpc/{chain}", methodName: "postApiV1ProxyEvmRpcByChain", responseMode: "json", pathParams: ["chain"], catchAllPathParams: [], file: "apps/api/v1/proxy/evm-rpc/[chain]/route.ts" },
361
374
  "POST /api/v1/proxy/solana-rpc": { method: "POST", path: "/api/v1/proxy/solana-rpc", methodName: "postApiV1ProxySolanaRpc", responseMode: "json", pathParams: [], catchAllPathParams: [], file: "apps/api/v1/proxy/solana-rpc/route.ts" },
@@ -373,6 +386,7 @@ export const ELIZA_CLOUD_PUBLIC_ENDPOINTS = {
373
386
  "POST /api/v1/sensitive-requests/{id}/submit": { method: "POST", path: "/api/v1/sensitive-requests/{id}/submit", methodName: "postApiV1SensitiveRequestsByIdSubmit", responseMode: "json", pathParams: ["id"], catchAllPathParams: [], file: "apps/api/v1/sensitive-requests/[id]/submit/route.ts" },
374
387
  "POST /api/v1/solana/rpc": { method: "POST", path: "/api/v1/solana/rpc", methodName: "postApiV1SolanaRpc", responseMode: "json", pathParams: [], catchAllPathParams: [], file: "apps/api/v1/solana/rpc/route.ts" },
375
388
  "POST /api/v1/steward/tenants": { method: "POST", path: "/api/v1/steward/tenants", methodName: "postApiV1StewardTenants", responseMode: "json", pathParams: [], catchAllPathParams: [], file: "apps/api/v1/steward/tenants/route.ts" },
389
+ "POST /api/v1/stripe/checkout": { method: "POST", path: "/api/v1/stripe/checkout", methodName: "postApiV1StripeCheckout", responseMode: "json", pathParams: [], catchAllPathParams: [], file: "apps/api/v1/stripe/checkout/route.ts" },
376
390
  "POST /api/v1/telegram/connect": { method: "POST", path: "/api/v1/telegram/connect", methodName: "postApiV1TelegramConnect", responseMode: "json", pathParams: [], catchAllPathParams: [], file: "apps/api/v1/telegram/connect/route.ts" },
377
391
  "POST /api/v1/telegram/scan-chats": { method: "POST", path: "/api/v1/telegram/scan-chats", methodName: "postApiV1TelegramScanChats", responseMode: "json", pathParams: [], catchAllPathParams: [], file: "apps/api/v1/telegram/scan-chats/route.ts" },
378
392
  "POST /api/v1/topup/10": { method: "POST", path: "/api/v1/topup/10", methodName: "postApiV1Topup10", responseMode: "json", pathParams: [], catchAllPathParams: [], file: "apps/api/v1/topup/10/route.ts" },
@@ -441,6 +455,7 @@ export interface PublicRoutePathParams {
441
455
  "DELETE /api/elevenlabs/voices/{id}": { "id": string | number };
442
456
  "DELETE /api/v1/advertising/accounts/{id}": { "id": string | number };
443
457
  "DELETE /api/v1/advertising/campaigns/{id}": { "id": string | number };
458
+ "DELETE /api/v1/advertising/creatives/{id}": { "id": string | number };
444
459
  "DELETE /api/v1/agents/{agentId}/publish": { "agentId": string | number };
445
460
  "DELETE /api/v1/agents/{agentId}/workflows/{workflowId}": { "agentId": string | number; "workflowId": string | number };
446
461
  "DELETE /api/v1/api-keys/{id}": { "id": string | number };
@@ -485,10 +500,12 @@ export interface PublicRoutePathParams {
485
500
  "GET /api/elevenlabs/voices/verify/{id}": { "id": string | number };
486
501
  "GET /api/v1/advertising/accounts": Record<never, never>;
487
502
  "GET /api/v1/advertising/accounts/{id}": { "id": string | number };
503
+ "GET /api/v1/advertising/accounts/{id}/media": { "id": string | number };
488
504
  "GET /api/v1/advertising/campaigns": Record<never, never>;
489
505
  "GET /api/v1/advertising/campaigns/{id}": { "id": string | number };
490
506
  "GET /api/v1/advertising/campaigns/{id}/analytics": { "id": string | number };
491
507
  "GET /api/v1/advertising/campaigns/{id}/creatives": { "id": string | number };
508
+ "GET /api/v1/advertising/creatives/{id}": { "id": string | number };
492
509
  "GET /api/v1/affiliates": Record<never, never>;
493
510
  "GET /api/v1/agents/{agentId}": { "agentId": string | number };
494
511
  "GET /api/v1/agents/{agentId}/logs": { "agentId": string | number };
@@ -619,6 +636,8 @@ export interface PublicRoutePathParams {
619
636
  "GET /api/v1/oauth/providers": Record<never, never>;
620
637
  "GET /api/v1/oauth/status": Record<never, never>;
621
638
  "GET /api/v1/oauth/token/{platform}": { "platform": string | number };
639
+ "GET /api/v1/payment-requests": Record<never, never>;
640
+ "GET /api/v1/payment-requests/{id}": { "id": string | number };
622
641
  "GET /api/v1/pricing/summary": Record<never, never>;
623
642
  "GET /api/v1/proxy/birdeye/{path}": { "path": string | number | readonly (string | number)[] };
624
643
  "GET /api/v1/redemptions": Record<never, never>;
@@ -658,6 +677,7 @@ export interface PublicRoutePathParams {
658
677
  "GET /api/v1/x402/requests/{id}": { "id": string | number };
659
678
  "PATCH /api/elevenlabs/voices/{id}": { "id": string | number };
660
679
  "PATCH /api/v1/advertising/campaigns/{id}": { "id": string | number };
680
+ "PATCH /api/v1/advertising/creatives/{id}": { "id": string | number };
661
681
  "PATCH /api/v1/api-keys/{id}": { "id": string | number };
662
682
  "PATCH /api/v1/apps/{id}": { "id": string | number };
663
683
  "PATCH /api/v1/apps/{id}/domains/{domain}/dns/{recordId}": { "id": string | number; "domain": string | number; "recordId": string | number };
@@ -678,6 +698,7 @@ export interface PublicRoutePathParams {
678
698
  "POST /api/elevenlabs/tts": Record<never, never>;
679
699
  "POST /api/elevenlabs/voices/clone": Record<never, never>;
680
700
  "POST /api/v1/advertising/accounts": Record<never, never>;
701
+ "POST /api/v1/advertising/accounts/{id}/media": { "id": string | number };
681
702
  "POST /api/v1/advertising/accounts/discover": Record<never, never>;
682
703
  "POST /api/v1/advertising/campaigns": Record<never, never>;
683
704
  "POST /api/v1/advertising/campaigns/{id}/creatives": { "id": string | number };
@@ -731,6 +752,9 @@ export interface PublicRoutePathParams {
731
752
  "POST /api/v1/browser/sessions/{id}/navigate": { "id": string | number };
732
753
  "POST /api/v1/chat": Record<never, never>;
733
754
  "POST /api/v1/chat/completions": Record<never, never>;
755
+ "POST /api/v1/coding-containers": Record<never, never>;
756
+ "POST /api/v1/coding-containers/{containerId}/sync": { "containerId": string | number };
757
+ "POST /api/v1/coding-containers/promotions": Record<never, never>;
734
758
  "POST /api/v1/connections/{platform}": { "platform": string | number };
735
759
  "POST /api/v1/containers": Record<never, never>;
736
760
  "POST /api/v1/containers/credentials": Record<never, never>;
@@ -788,6 +812,9 @@ export interface PublicRoutePathParams {
788
812
  "POST /api/v1/oauth/{platform}/initiate": { "platform": string | number };
789
813
  "POST /api/v1/oauth/connect": Record<never, never>;
790
814
  "POST /api/v1/oauth/initiate": Record<never, never>;
815
+ "POST /api/v1/payment-requests": Record<never, never>;
816
+ "POST /api/v1/payment-requests/{id}/cancel": { "id": string | number };
817
+ "POST /api/v1/payment-requests/{id}/expire": { "id": string | number };
791
818
  "POST /api/v1/proxy/birdeye/{path}": { "path": string | number | readonly (string | number)[] };
792
819
  "POST /api/v1/proxy/evm-rpc/{chain}": { "chain": string | number };
793
820
  "POST /api/v1/proxy/solana-rpc": Record<never, never>;
@@ -805,6 +832,7 @@ export interface PublicRoutePathParams {
805
832
  "POST /api/v1/sensitive-requests/{id}/submit": { "id": string | number };
806
833
  "POST /api/v1/solana/rpc": Record<never, never>;
807
834
  "POST /api/v1/steward/tenants": Record<never, never>;
835
+ "POST /api/v1/stripe/checkout": Record<never, never>;
808
836
  "POST /api/v1/telegram/connect": Record<never, never>;
809
837
  "POST /api/v1/telegram/scan-chats": Record<never, never>;
810
838
  "POST /api/v1/topup/10": Record<never, never>;
@@ -986,6 +1014,12 @@ export class ElizaCloudPublicRoutesClient {
986
1014
  return this.call<"DELETE /api/v1/advertising/campaigns/{id}", TResponse>("DELETE /api/v1/advertising/campaigns/{id}", options);
987
1015
  }
988
1016
 
1017
+ deleteApiV1AdvertisingCreativesById<TResponse = unknown>(
1018
+ options: PublicRouteCallOptions<"DELETE /api/v1/advertising/creatives/{id}">
1019
+ ): Promise<TResponse> {
1020
+ return this.call<"DELETE /api/v1/advertising/creatives/{id}", TResponse>("DELETE /api/v1/advertising/creatives/{id}", options);
1021
+ }
1022
+
989
1023
  deleteApiV1AgentsByAgentIdPublish<TResponse = unknown>(
990
1024
  options: PublicRouteCallOptions<"DELETE /api/v1/agents/{agentId}/publish">
991
1025
  ): Promise<TResponse> {
@@ -1250,6 +1284,12 @@ export class ElizaCloudPublicRoutesClient {
1250
1284
  return this.call<"GET /api/v1/advertising/accounts/{id}", TResponse>("GET /api/v1/advertising/accounts/{id}", options);
1251
1285
  }
1252
1286
 
1287
+ getApiV1AdvertisingAccountsByIdMedia<TResponse = unknown>(
1288
+ options: PublicRouteCallOptions<"GET /api/v1/advertising/accounts/{id}/media">
1289
+ ): Promise<TResponse> {
1290
+ return this.call<"GET /api/v1/advertising/accounts/{id}/media", TResponse>("GET /api/v1/advertising/accounts/{id}/media", options);
1291
+ }
1292
+
1253
1293
  getApiV1AdvertisingCampaigns<TResponse = unknown>(
1254
1294
  options: PublicRouteCallOptions<"GET /api/v1/advertising/campaigns"> = {}
1255
1295
  ): Promise<TResponse> {
@@ -1274,6 +1314,12 @@ export class ElizaCloudPublicRoutesClient {
1274
1314
  return this.call<"GET /api/v1/advertising/campaigns/{id}/creatives", TResponse>("GET /api/v1/advertising/campaigns/{id}/creatives", options);
1275
1315
  }
1276
1316
 
1317
+ getApiV1AdvertisingCreativesById<TResponse = unknown>(
1318
+ options: PublicRouteCallOptions<"GET /api/v1/advertising/creatives/{id}">
1319
+ ): Promise<TResponse> {
1320
+ return this.call<"GET /api/v1/advertising/creatives/{id}", TResponse>("GET /api/v1/advertising/creatives/{id}", options);
1321
+ }
1322
+
1277
1323
  getApiV1Affiliates<TResponse = unknown>(
1278
1324
  options: PublicRouteCallOptions<"GET /api/v1/affiliates"> = {}
1279
1325
  ): Promise<TResponse> {
@@ -2054,6 +2100,18 @@ export class ElizaCloudPublicRoutesClient {
2054
2100
  return this.call<"GET /api/v1/oauth/token/{platform}", TResponse>("GET /api/v1/oauth/token/{platform}", options);
2055
2101
  }
2056
2102
 
2103
+ getApiV1PaymentRequests<TResponse = unknown>(
2104
+ options: PublicRouteCallOptions<"GET /api/v1/payment-requests"> = {}
2105
+ ): Promise<TResponse> {
2106
+ return this.call<"GET /api/v1/payment-requests", TResponse>("GET /api/v1/payment-requests", options);
2107
+ }
2108
+
2109
+ getApiV1PaymentRequestsById<TResponse = unknown>(
2110
+ options: PublicRouteCallOptions<"GET /api/v1/payment-requests/{id}">
2111
+ ): Promise<TResponse> {
2112
+ return this.call<"GET /api/v1/payment-requests/{id}", TResponse>("GET /api/v1/payment-requests/{id}", options);
2113
+ }
2114
+
2057
2115
  getApiV1PricingSummary<TResponse = unknown>(
2058
2116
  options: PublicRouteCallOptions<"GET /api/v1/pricing/summary"> = {}
2059
2117
  ): Promise<TResponse> {
@@ -2288,6 +2346,12 @@ export class ElizaCloudPublicRoutesClient {
2288
2346
  return this.call<"PATCH /api/v1/advertising/campaigns/{id}", TResponse>("PATCH /api/v1/advertising/campaigns/{id}", options);
2289
2347
  }
2290
2348
 
2349
+ patchApiV1AdvertisingCreativesById<TResponse = unknown>(
2350
+ options: PublicRouteCallOptions<"PATCH /api/v1/advertising/creatives/{id}">
2351
+ ): Promise<TResponse> {
2352
+ return this.call<"PATCH /api/v1/advertising/creatives/{id}", TResponse>("PATCH /api/v1/advertising/creatives/{id}", options);
2353
+ }
2354
+
2291
2355
  patchApiV1ApiKeysById<TResponse = unknown>(
2292
2356
  options: PublicRouteCallOptions<"PATCH /api/v1/api-keys/{id}">
2293
2357
  ): Promise<TResponse> {
@@ -2408,6 +2472,12 @@ export class ElizaCloudPublicRoutesClient {
2408
2472
  return this.call<"POST /api/v1/advertising/accounts", TResponse>("POST /api/v1/advertising/accounts", options);
2409
2473
  }
2410
2474
 
2475
+ postApiV1AdvertisingAccountsByIdMedia<TResponse = unknown>(
2476
+ options: PublicRouteCallOptions<"POST /api/v1/advertising/accounts/{id}/media">
2477
+ ): Promise<TResponse> {
2478
+ return this.call<"POST /api/v1/advertising/accounts/{id}/media", TResponse>("POST /api/v1/advertising/accounts/{id}/media", options);
2479
+ }
2480
+
2411
2481
  postApiV1AdvertisingAccountsDiscover<TResponse = unknown>(
2412
2482
  options: PublicRouteCallOptions<"POST /api/v1/advertising/accounts/discover"> = {}
2413
2483
  ): Promise<TResponse> {
@@ -2726,6 +2796,24 @@ export class ElizaCloudPublicRoutesClient {
2726
2796
  return this.call<"POST /api/v1/chat/completions", TResponse>("POST /api/v1/chat/completions", options);
2727
2797
  }
2728
2798
 
2799
+ postApiV1CodingContainers<TResponse = unknown>(
2800
+ options: PublicRouteCallOptions<"POST /api/v1/coding-containers"> = {}
2801
+ ): Promise<TResponse> {
2802
+ return this.call<"POST /api/v1/coding-containers", TResponse>("POST /api/v1/coding-containers", options);
2803
+ }
2804
+
2805
+ postApiV1CodingContainersByContainerIdSync<TResponse = unknown>(
2806
+ options: PublicRouteCallOptions<"POST /api/v1/coding-containers/{containerId}/sync">
2807
+ ): Promise<TResponse> {
2808
+ return this.call<"POST /api/v1/coding-containers/{containerId}/sync", TResponse>("POST /api/v1/coding-containers/{containerId}/sync", options);
2809
+ }
2810
+
2811
+ postApiV1CodingContainersPromotions<TResponse = unknown>(
2812
+ options: PublicRouteCallOptions<"POST /api/v1/coding-containers/promotions"> = {}
2813
+ ): Promise<TResponse> {
2814
+ return this.call<"POST /api/v1/coding-containers/promotions", TResponse>("POST /api/v1/coding-containers/promotions", options);
2815
+ }
2816
+
2729
2817
  postApiV1ConnectionsByPlatform<TResponse = unknown>(
2730
2818
  options: PublicRouteCallOptions<"POST /api/v1/connections/{platform}">
2731
2819
  ): Promise<TResponse> {
@@ -3068,6 +3156,24 @@ export class ElizaCloudPublicRoutesClient {
3068
3156
  return this.call<"POST /api/v1/oauth/initiate", TResponse>("POST /api/v1/oauth/initiate", options);
3069
3157
  }
3070
3158
 
3159
+ postApiV1PaymentRequests<TResponse = unknown>(
3160
+ options: PublicRouteCallOptions<"POST /api/v1/payment-requests"> = {}
3161
+ ): Promise<TResponse> {
3162
+ return this.call<"POST /api/v1/payment-requests", TResponse>("POST /api/v1/payment-requests", options);
3163
+ }
3164
+
3165
+ postApiV1PaymentRequestsByIdCancel<TResponse = unknown>(
3166
+ options: PublicRouteCallOptions<"POST /api/v1/payment-requests/{id}/cancel">
3167
+ ): Promise<TResponse> {
3168
+ return this.call<"POST /api/v1/payment-requests/{id}/cancel", TResponse>("POST /api/v1/payment-requests/{id}/cancel", options);
3169
+ }
3170
+
3171
+ postApiV1PaymentRequestsByIdExpire<TResponse = unknown>(
3172
+ options: PublicRouteCallOptions<"POST /api/v1/payment-requests/{id}/expire">
3173
+ ): Promise<TResponse> {
3174
+ return this.call<"POST /api/v1/payment-requests/{id}/expire", TResponse>("POST /api/v1/payment-requests/{id}/expire", options);
3175
+ }
3176
+
3071
3177
  postApiV1ProxyBirdeyeByPath<TResponse = unknown>(
3072
3178
  options: PublicRouteCallOptions<"POST /api/v1/proxy/birdeye/{path}">
3073
3179
  ): Promise<TResponse> {
@@ -3170,6 +3276,12 @@ export class ElizaCloudPublicRoutesClient {
3170
3276
  return this.call<"POST /api/v1/steward/tenants", TResponse>("POST /api/v1/steward/tenants", options);
3171
3277
  }
3172
3278
 
3279
+ postApiV1StripeCheckout<TResponse = unknown>(
3280
+ options: PublicRouteCallOptions<"POST /api/v1/stripe/checkout"> = {}
3281
+ ): Promise<TResponse> {
3282
+ return this.call<"POST /api/v1/stripe/checkout", TResponse>("POST /api/v1/stripe/checkout", options);
3283
+ }
3284
+
3173
3285
  postApiV1TelegramConnect<TResponse = unknown>(
3174
3286
  options: PublicRouteCallOptions<"POST /api/v1/telegram/connect"> = {}
3175
3287
  ): Promise<TResponse> {
@@ -3440,6 +3552,10 @@ export class ElizaCloudPublicRoutesClient {
3440
3552
  return this.callRaw("DELETE /api/v1/advertising/campaigns/{id}", options);
3441
3553
  }
3442
3554
 
3555
+ deleteApiV1AdvertisingCreativesByIdRaw(options: PublicRouteCallOptions<"DELETE /api/v1/advertising/creatives/{id}">): Promise<Response> {
3556
+ return this.callRaw("DELETE /api/v1/advertising/creatives/{id}", options);
3557
+ }
3558
+
3443
3559
  deleteApiV1AgentsByAgentIdPublishRaw(options: PublicRouteCallOptions<"DELETE /api/v1/agents/{agentId}/publish">): Promise<Response> {
3444
3560
  return this.callRaw("DELETE /api/v1/agents/{agentId}/publish", options);
3445
3561
  }
@@ -3616,6 +3732,10 @@ export class ElizaCloudPublicRoutesClient {
3616
3732
  return this.callRaw("GET /api/v1/advertising/accounts/{id}", options);
3617
3733
  }
3618
3734
 
3735
+ getApiV1AdvertisingAccountsByIdMediaRaw(options: PublicRouteCallOptions<"GET /api/v1/advertising/accounts/{id}/media">): Promise<Response> {
3736
+ return this.callRaw("GET /api/v1/advertising/accounts/{id}/media", options);
3737
+ }
3738
+
3619
3739
  getApiV1AdvertisingCampaignsRaw(options: PublicRouteCallOptions<"GET /api/v1/advertising/campaigns"> = {}): Promise<Response> {
3620
3740
  return this.callRaw("GET /api/v1/advertising/campaigns", options);
3621
3741
  }
@@ -3632,6 +3752,10 @@ export class ElizaCloudPublicRoutesClient {
3632
3752
  return this.callRaw("GET /api/v1/advertising/campaigns/{id}/creatives", options);
3633
3753
  }
3634
3754
 
3755
+ getApiV1AdvertisingCreativesByIdRaw(options: PublicRouteCallOptions<"GET /api/v1/advertising/creatives/{id}">): Promise<Response> {
3756
+ return this.callRaw("GET /api/v1/advertising/creatives/{id}", options);
3757
+ }
3758
+
3635
3759
  getApiV1AffiliatesRaw(options: PublicRouteCallOptions<"GET /api/v1/affiliates"> = {}): Promise<Response> {
3636
3760
  return this.callRaw("GET /api/v1/affiliates", options);
3637
3761
  }
@@ -4152,6 +4276,14 @@ export class ElizaCloudPublicRoutesClient {
4152
4276
  return this.callRaw("GET /api/v1/oauth/token/{platform}", options);
4153
4277
  }
4154
4278
 
4279
+ getApiV1PaymentRequestsRaw(options: PublicRouteCallOptions<"GET /api/v1/payment-requests"> = {}): Promise<Response> {
4280
+ return this.callRaw("GET /api/v1/payment-requests", options);
4281
+ }
4282
+
4283
+ getApiV1PaymentRequestsByIdRaw(options: PublicRouteCallOptions<"GET /api/v1/payment-requests/{id}">): Promise<Response> {
4284
+ return this.callRaw("GET /api/v1/payment-requests/{id}", options);
4285
+ }
4286
+
4155
4287
  getApiV1PricingSummaryRaw(options: PublicRouteCallOptions<"GET /api/v1/pricing/summary"> = {}): Promise<Response> {
4156
4288
  return this.callRaw("GET /api/v1/pricing/summary", options);
4157
4289
  }
@@ -4308,6 +4440,10 @@ export class ElizaCloudPublicRoutesClient {
4308
4440
  return this.callRaw("PATCH /api/v1/advertising/campaigns/{id}", options);
4309
4441
  }
4310
4442
 
4443
+ patchApiV1AdvertisingCreativesByIdRaw(options: PublicRouteCallOptions<"PATCH /api/v1/advertising/creatives/{id}">): Promise<Response> {
4444
+ return this.callRaw("PATCH /api/v1/advertising/creatives/{id}", options);
4445
+ }
4446
+
4311
4447
  patchApiV1ApiKeysByIdRaw(options: PublicRouteCallOptions<"PATCH /api/v1/api-keys/{id}">): Promise<Response> {
4312
4448
  return this.callRaw("PATCH /api/v1/api-keys/{id}", options);
4313
4449
  }
@@ -4388,6 +4524,10 @@ export class ElizaCloudPublicRoutesClient {
4388
4524
  return this.callRaw("POST /api/v1/advertising/accounts", options);
4389
4525
  }
4390
4526
 
4527
+ postApiV1AdvertisingAccountsByIdMediaRaw(options: PublicRouteCallOptions<"POST /api/v1/advertising/accounts/{id}/media">): Promise<Response> {
4528
+ return this.callRaw("POST /api/v1/advertising/accounts/{id}/media", options);
4529
+ }
4530
+
4391
4531
  postApiV1AdvertisingAccountsDiscoverRaw(options: PublicRouteCallOptions<"POST /api/v1/advertising/accounts/discover"> = {}): Promise<Response> {
4392
4532
  return this.callRaw("POST /api/v1/advertising/accounts/discover", options);
4393
4533
  }
@@ -4600,6 +4740,18 @@ export class ElizaCloudPublicRoutesClient {
4600
4740
  return this.callRaw("POST /api/v1/chat/completions", options);
4601
4741
  }
4602
4742
 
4743
+ postApiV1CodingContainersRaw(options: PublicRouteCallOptions<"POST /api/v1/coding-containers"> = {}): Promise<Response> {
4744
+ return this.callRaw("POST /api/v1/coding-containers", options);
4745
+ }
4746
+
4747
+ postApiV1CodingContainersByContainerIdSyncRaw(options: PublicRouteCallOptions<"POST /api/v1/coding-containers/{containerId}/sync">): Promise<Response> {
4748
+ return this.callRaw("POST /api/v1/coding-containers/{containerId}/sync", options);
4749
+ }
4750
+
4751
+ postApiV1CodingContainersPromotionsRaw(options: PublicRouteCallOptions<"POST /api/v1/coding-containers/promotions"> = {}): Promise<Response> {
4752
+ return this.callRaw("POST /api/v1/coding-containers/promotions", options);
4753
+ }
4754
+
4603
4755
  postApiV1ConnectionsByPlatformRaw(options: PublicRouteCallOptions<"POST /api/v1/connections/{platform}">): Promise<Response> {
4604
4756
  return this.callRaw("POST /api/v1/connections/{platform}", options);
4605
4757
  }
@@ -4828,6 +4980,18 @@ export class ElizaCloudPublicRoutesClient {
4828
4980
  return this.callRaw("POST /api/v1/oauth/initiate", options);
4829
4981
  }
4830
4982
 
4983
+ postApiV1PaymentRequestsRaw(options: PublicRouteCallOptions<"POST /api/v1/payment-requests"> = {}): Promise<Response> {
4984
+ return this.callRaw("POST /api/v1/payment-requests", options);
4985
+ }
4986
+
4987
+ postApiV1PaymentRequestsByIdCancelRaw(options: PublicRouteCallOptions<"POST /api/v1/payment-requests/{id}/cancel">): Promise<Response> {
4988
+ return this.callRaw("POST /api/v1/payment-requests/{id}/cancel", options);
4989
+ }
4990
+
4991
+ postApiV1PaymentRequestsByIdExpireRaw(options: PublicRouteCallOptions<"POST /api/v1/payment-requests/{id}/expire">): Promise<Response> {
4992
+ return this.callRaw("POST /api/v1/payment-requests/{id}/expire", options);
4993
+ }
4994
+
4831
4995
  postApiV1ProxyBirdeyeByPathRaw(options: PublicRouteCallOptions<"POST /api/v1/proxy/birdeye/{path}">): Promise<Response> {
4832
4996
  return this.callRaw("POST /api/v1/proxy/birdeye/{path}", options);
4833
4997
  }
@@ -4896,6 +5060,10 @@ export class ElizaCloudPublicRoutesClient {
4896
5060
  return this.callRaw("POST /api/v1/steward/tenants", options);
4897
5061
  }
4898
5062
 
5063
+ postApiV1StripeCheckoutRaw(options: PublicRouteCallOptions<"POST /api/v1/stripe/checkout"> = {}): Promise<Response> {
5064
+ return this.callRaw("POST /api/v1/stripe/checkout", options);
5065
+ }
5066
+
4899
5067
  postApiV1TelegramConnectRaw(options: PublicRouteCallOptions<"POST /api/v1/telegram/connect"> = {}): Promise<Response> {
4900
5068
  return this.callRaw("POST /api/v1/telegram/connect", options);
4901
5069
  }
@@ -739,7 +739,6 @@ export interface ApiKeySummary {
739
739
  description?: string | null;
740
740
  key_prefix: string;
741
741
  created_at: string;
742
- permissions?: string[];
743
742
  rate_limit?: number | null;
744
743
  expires_at?: string | null;
745
744
  }
@@ -747,7 +746,6 @@ export interface ApiKeySummary {
747
746
  export interface ApiKeyCreateRequest {
748
747
  name: string;
749
748
  description?: string;
750
- permissions?: string[];
751
749
  rate_limit?: number;
752
750
  expires_at?: string | null;
753
751
  }
@@ -2,7 +2,7 @@ import type { IAgentRuntime } from "@elizaos/core";
2
2
  import { logger } from "@elizaos/core";
3
3
  import { DEFAULT_ELIZA_CLOUD_TEXT_MODEL } from "@elizaos/core";
4
4
 
5
- export const DEFAULT_ELIZA_CLOUD_LARGE_MODEL = "deepseek/deepseek-v4-pro";
5
+ export const DEFAULT_ELIZA_CLOUD_LARGE_MODEL = "zai-glm-4.7";
6
6
 
7
7
  function getEnvValue(key: string): string | undefined {
8
8
  if (typeof process === "undefined") {
@@ -172,3 +172,22 @@ export function getExperimentalTelemetry(runtime: IAgentRuntime): boolean {
172
172
  const setting = getSetting(runtime, "ELIZAOS_CLOUD_EXPERIMENTAL_TELEMETRY", "false");
173
173
  return String(setting).toLowerCase() === "true";
174
174
  }
175
+
176
+ /**
177
+ * Resolve a client-side timeout (ms) for a cloud model round-trip from `envKey`,
178
+ * falling back to `defaultMs`. `0`/negative/non-numeric → undefined (opt out).
179
+ *
180
+ * cloud-sdk applies NO default timeout (a fetch with no signal hangs until the
181
+ * platform default), so turn-blocking calls (TTS/STT in a voice turn, deep
182
+ * research) need an explicit ceiling or a stalled gateway hangs the turn.
183
+ */
184
+ export function resolveCloudTimeoutMs(
185
+ envKey: string,
186
+ defaultMs: number
187
+ ): number | undefined {
188
+ const raw = typeof process !== "undefined" ? process.env[envKey] : undefined;
189
+ if (raw === undefined || raw.trim() === "") return defaultMs;
190
+ const parsed = Number.parseInt(raw, 10);
191
+ if (!Number.isFinite(parsed)) return defaultMs;
192
+ return parsed <= 0 ? undefined : parsed;
193
+ }
@@ -6,6 +6,29 @@ import {
6
6
  } from "@elizaos/core";
7
7
  import type { LanguageModelUsage } from "ai";
8
8
 
9
+ /**
10
+ * Extra metadata that rides along with a {@link ModelEventPayload} so that
11
+ * downstream consumers (e.g. the waifu metering bridge) can attribute spend
12
+ * to a concrete model id and, when the cloud surfaces it, the authoritative
13
+ * post-markup USD cost it just debited from the org's credit balance.
14
+ *
15
+ * These are additive fields layered onto the standard payload — the core
16
+ * {@link ModelEventPayload} shape is unchanged for every other listener.
17
+ */
18
+ export interface ModelUsageEventMeta {
19
+ /** Resolved provider model id, e.g. "anthropic/claude-opus-4.7". */
20
+ modelName?: string;
21
+ /**
22
+ * Authoritative USD cost the metered gateway charged for this call, when
23
+ * available (e.g. from a `usage.cost_usd` field or `X-Eliza-Cost-Usd`
24
+ * response header). Undefined when the cloud does not surface it; consumers
25
+ * then fall back to a token-based estimate.
26
+ */
27
+ costUsd?: number;
28
+ }
29
+
30
+ export type ModelUsageEventPayload = ModelEventPayload & ModelUsageEventMeta;
31
+
9
32
  export function emitModelUsageEvent(
10
33
  runtime: IAgentRuntime,
11
34
  type: ModelTypeName,
@@ -14,7 +37,8 @@ export function emitModelUsageEvent(
14
37
  inputTokens?: number;
15
38
  outputTokens?: number;
16
39
  totalTokens?: number;
17
- }
40
+ },
41
+ meta: ModelUsageEventMeta = {}
18
42
  ) {
19
43
  const inputTokens = Number(usage.inputTokens || 0);
20
44
  const outputTokens = Number(usage.outputTokens || 0);
@@ -22,7 +46,7 @@ export function emitModelUsageEvent(
22
46
  usage.totalTokens != null ? usage.totalTokens : inputTokens + outputTokens
23
47
  );
24
48
 
25
- const payload: ModelEventPayload = {
49
+ const payload: ModelUsageEventPayload = {
26
50
  runtime,
27
51
  source: "elizacloud",
28
52
  type,
@@ -31,6 +55,10 @@ export function emitModelUsageEvent(
31
55
  completion: outputTokens,
32
56
  total: totalTokens,
33
57
  },
58
+ ...(meta.modelName ? { modelName: meta.modelName } : {}),
59
+ ...(typeof meta.costUsd === "number" && Number.isFinite(meta.costUsd)
60
+ ? { costUsd: meta.costUsd }
61
+ : {}),
34
62
  };
35
63
 
36
64
  runtime.emitEvent(EventType.MODEL_USED, payload);
@@ -24,7 +24,11 @@ function apiKeyForRuntime(runtime: IAgentRuntime, embedding = false): string | u
24
24
 
25
25
  export function createCloudApiClient(runtime: IAgentRuntime, embedding = false): CloudApiClient {
26
26
  const baseUrl = embedding ? getEmbeddingBaseURL(runtime) : getBaseURL(runtime);
27
- return new CloudApiClient(trimTrailingSlash(baseUrl), apiKeyForRuntime(runtime, embedding));
27
+ return new ElizaCloudClient({
28
+ apiBaseUrl: trimTrailingSlash(baseUrl),
29
+ baseUrl: apiBaseToSiteBaseUrl(baseUrl),
30
+ apiKey: apiKeyForRuntime(runtime, embedding),
31
+ }).v1;
28
32
  }
29
33
 
30
34
  export function createElizaCloudClient(runtime: IAgentRuntime): ElizaCloudClient {