@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.
- package/README.md +20 -44
- package/auto-enable.ts +10 -5
- package/dist/browser/index.browser.js +2 -2
- package/dist/browser/index.browser.js.map +4 -4
- package/dist/cjs/index.node.cjs +2874 -5915
- package/dist/cjs/index.node.js.map +47 -116
- package/dist/cloud/auth-service-types.d.ts +8 -0
- package/dist/cloud/auth-service-types.d.ts.map +1 -0
- package/dist/cloud/auth-service-types.js +36 -0
- package/dist/cloud/auth-service-types.js.map +10 -0
- package/dist/cloud/auth.js +4 -51
- package/dist/cloud/auth.js.map +4 -4
- package/dist/cloud/base-url.d.ts +6 -2
- package/dist/cloud/base-url.d.ts.map +1 -1
- package/dist/cloud/base-url.js +3 -51
- package/dist/cloud/base-url.js.map +3 -3
- package/dist/cloud/bridge-client.d.ts +3 -3
- package/dist/cloud/bridge-client.d.ts.map +1 -1
- package/dist/cloud/bridge-client.js +3 -51
- package/dist/cloud/bridge-client.js.map +3 -3
- package/dist/cloud/clack-observer.d.ts +35 -0
- package/dist/cloud/clack-observer.d.ts.map +1 -0
- package/dist/cloud/clack-observer.js +143 -0
- package/dist/cloud/clack-observer.js.map +10 -0
- package/dist/cloud/cloud-manager.js +45 -92
- package/dist/cloud/cloud-manager.js.map +6 -6
- package/dist/cloud/cloud-wallet.js +2 -4835
- package/dist/cloud/cloud-wallet.js.map +3 -82
- package/dist/cloud/duffel-client.d.ts +181 -0
- package/dist/cloud/duffel-client.d.ts.map +1 -0
- package/dist/cloud/duffel-client.js +506 -0
- package/dist/cloud/duffel-client.js.map +11 -0
- package/dist/cloud/index.d.ts +6 -0
- package/dist/cloud/index.d.ts.map +1 -1
- package/dist/cloud/index.js +1782 -1
- package/dist/cloud/index.js.map +18 -3
- package/dist/cloud/lifeops-schedule-sync-client.d.ts +43 -0
- package/dist/cloud/lifeops-schedule-sync-client.d.ts.map +1 -0
- package/dist/cloud/lifeops-schedule-sync-client.js +180 -0
- package/dist/cloud/lifeops-schedule-sync-client.js.map +11 -0
- package/dist/cloud/lifeops-schedule-sync-contracts.d.ts +89 -0
- package/dist/cloud/lifeops-schedule-sync-contracts.d.ts.map +1 -0
- package/dist/cloud/lifeops-schedule-sync-contracts.js +39 -0
- package/dist/cloud/lifeops-schedule-sync-contracts.js.map +10 -0
- package/dist/cloud/managed-payment-clients.d.ts +166 -0
- package/dist/cloud/managed-payment-clients.d.ts.map +1 -0
- package/dist/cloud/managed-payment-clients.js +238 -0
- package/dist/cloud/managed-payment-clients.js.map +11 -0
- package/dist/cloud/null-observer.d.ts +35 -0
- package/dist/cloud/null-observer.d.ts.map +1 -0
- package/dist/cloud/null-observer.js +45 -0
- package/dist/cloud/null-observer.js.map +10 -0
- package/dist/cloud/setup-observer.d.ts +98 -0
- package/dist/cloud/setup-observer.d.ts.map +1 -0
- package/dist/cloud/setup-observer.js +2 -0
- package/dist/cloud/setup-observer.js.map +9 -0
- package/dist/cloud/validate-url.d.ts.map +1 -1
- package/dist/cloud/validate-url.js +2 -1
- package/dist/cloud/validate-url.js.map +3 -3
- package/dist/cloud/x402-payment-handler.d.ts +85 -0
- package/dist/cloud/x402-payment-handler.d.ts.map +1 -0
- package/dist/cloud/x402-payment-handler.js +119 -0
- package/dist/cloud/x402-payment-handler.js.map +10 -0
- package/dist/cloud-setup.d.ts +36 -0
- package/dist/cloud-setup.d.ts.map +1 -0
- package/dist/{onboarding.js → cloud-setup.js} +139 -139
- package/dist/cloud-setup.js.map +14 -0
- package/dist/cloud-voice-catalog.d.ts +65 -0
- package/dist/cloud-voice-catalog.d.ts.map +1 -0
- package/dist/cloud-voice-catalog.js +278 -0
- package/dist/cloud-voice-catalog.js.map +12 -0
- package/dist/index.browser.d.ts +11 -0
- package/dist/index.browser.d.ts.map +1 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5416 -8405
- package/dist/index.js.map +48 -116
- package/dist/index.node.d.ts +8 -1
- package/dist/index.node.d.ts.map +1 -1
- package/dist/init.js +17 -4
- package/dist/init.js.map +4 -4
- package/dist/lib/cloud-connection.d.ts +0 -1
- package/dist/lib/cloud-connection.d.ts.map +1 -1
- package/dist/lib/cloud-connection.js +14 -91
- package/dist/lib/cloud-connection.js.map +7 -7
- package/dist/lib/cloud-secrets.d.ts +5 -18
- package/dist/lib/cloud-secrets.d.ts.map +1 -1
- package/dist/lib/cloud-secrets.js +8 -36
- package/dist/lib/cloud-secrets.js.map +3 -3
- package/dist/lib/config-like.d.ts +1 -1
- package/dist/lib/config-like.d.ts.map +1 -1
- package/dist/lib/config-like.js +3 -3
- package/dist/lib/config-like.js.map +3 -3
- package/dist/lib/credential-type-map.d.ts +1 -1
- package/dist/lib/credential-type-map.js.map +1 -1
- package/dist/lib/http.d.ts +0 -11
- package/dist/lib/http.d.ts.map +1 -1
- package/dist/lib/http.js.map +2 -2
- package/dist/lib/server-cloud-tts.d.ts +12 -25
- package/dist/lib/server-cloud-tts.d.ts.map +1 -1
- package/dist/lib/server-cloud-tts.js +31 -329
- package/dist/lib/server-cloud-tts.js.map +4 -7
- package/dist/lib/tts-debug.d.ts +5 -3
- package/dist/lib/tts-debug.d.ts.map +1 -1
- package/dist/lib/tts-debug.js +1 -34
- package/dist/lib/tts-debug.js.map +3 -4
- package/dist/models/embeddings.d.ts.map +1 -1
- package/dist/models/embeddings.js +79 -69
- package/dist/models/embeddings.js.map +6 -6
- package/dist/models/image.d.ts.map +1 -1
- package/dist/models/image.js +42 -15
- package/dist/models/image.js.map +6 -6
- package/dist/models/index.js +676 -166
- package/dist/models/index.js.map +11 -12
- package/dist/models/research.d.ts.map +1 -1
- package/dist/models/research.js +24 -7
- package/dist/models/research.js.map +6 -6
- package/dist/models/speech.d.ts +61 -3
- package/dist/models/speech.d.ts.map +1 -1
- package/dist/models/speech.js +173 -17
- package/dist/models/speech.js.map +5 -5
- package/dist/models/text.d.ts +106 -1
- package/dist/models/text.d.ts.map +1 -1
- package/dist/models/text.js +452 -82
- package/dist/models/text.js.map +7 -8
- package/dist/models/tokenization.d.ts.map +1 -1
- package/dist/models/tokenization.js.map +2 -2
- package/dist/models/transcription.d.ts.map +1 -1
- package/dist/models/transcription.js +20 -6
- package/dist/models/transcription.js.map +5 -5
- package/dist/node/index.node.js +2828 -5838
- package/dist/node/index.node.js.map +47 -116
- package/dist/plugin.d.ts.map +1 -1
- package/dist/plugin.js +376 -5050
- package/dist/plugin.js.map +16 -92
- package/dist/providers/openai.js +11 -2
- package/dist/providers/openai.js.map +3 -3
- package/dist/register-routes.js +376 -5050
- package/dist/register-routes.js.map +16 -92
- package/dist/routes/cloud-billing-routes.d.ts.map +1 -1
- package/dist/routes/cloud-billing-routes.js +17 -60
- package/dist/routes/cloud-billing-routes.js.map +8 -7
- package/dist/routes/cloud-coding-container-routes.d.ts +8 -0
- package/dist/routes/cloud-coding-container-routes.d.ts.map +1 -0
- package/dist/routes/cloud-coding-container-routes.js +214 -0
- package/dist/routes/cloud-coding-container-routes.js.map +11 -0
- package/dist/routes/cloud-compat-routes.d.ts.map +1 -1
- package/dist/routes/cloud-compat-routes.js +17 -60
- package/dist/routes/cloud-compat-routes.js.map +8 -7
- package/dist/routes/cloud-features-routes.js +2 -2
- package/dist/routes/cloud-features-routes.js.map +4 -4
- package/dist/routes/cloud-relay-routes.d.ts +2 -1
- package/dist/routes/cloud-relay-routes.d.ts.map +1 -1
- package/dist/routes/cloud-relay-routes.js +84 -2
- package/dist/routes/cloud-relay-routes.js.map +5 -4
- package/dist/routes/cloud-routes-autonomous.d.ts +3 -4
- package/dist/routes/cloud-routes-autonomous.d.ts.map +1 -1
- package/dist/routes/cloud-routes-autonomous.js +11 -4893
- package/dist/routes/cloud-routes-autonomous.js.map +8 -87
- package/dist/routes/cloud-routes.d.ts +2 -2
- package/dist/routes/cloud-routes.d.ts.map +1 -1
- package/dist/routes/cloud-routes.js +343 -5058
- package/dist/routes/cloud-routes.js.map +13 -90
- package/dist/routes/cloud-status-routes-autonomous.d.ts +1 -2
- package/dist/routes/cloud-status-routes-autonomous.d.ts.map +1 -1
- package/dist/routes/cloud-status-routes-autonomous.js +4 -51
- package/dist/routes/cloud-status-routes-autonomous.js.map +5 -5
- package/dist/routes/cloud-status-routes.js +14 -90
- package/dist/routes/cloud-status-routes.js.map +7 -7
- package/dist/routes/home-remote-runner-access-url.d.ts +16 -0
- package/dist/routes/home-remote-runner-access-url.d.ts.map +1 -0
- package/dist/routes/home-remote-runner-access-url.js +91 -0
- package/dist/routes/home-remote-runner-access-url.js.map +10 -0
- package/dist/routes/travel-provider-relay-routes.d.ts +9 -0
- package/dist/routes/travel-provider-relay-routes.d.ts.map +1 -0
- package/dist/routes/travel-provider-relay-routes.js +358 -0
- package/dist/routes/travel-provider-relay-routes.js.map +14 -0
- package/dist/services/cloud-auth.d.ts +1 -1
- package/dist/services/cloud-auth.d.ts.map +1 -1
- package/dist/services/cloud-auth.js +7 -2
- package/dist/services/cloud-auth.js.map +4 -4
- package/dist/services/cloud-backup.js.map +2 -2
- package/dist/services/cloud-bootstrap.d.ts.map +1 -1
- package/dist/services/cloud-bootstrap.js.map +2 -2
- package/dist/services/cloud-bridge.js.map +3 -3
- package/dist/services/cloud-container.d.ts +5 -1
- package/dist/services/cloud-container.d.ts.map +1 -1
- package/dist/services/cloud-container.js +52 -1
- package/dist/services/cloud-container.js.map +4 -4
- package/dist/services/cloud-credential-provider.js.map +2 -2
- package/dist/services/cloud-model-registry.js.map +2 -2
- package/dist/types/cloud.d.ts +1 -0
- package/dist/types/cloud.d.ts.map +1 -1
- package/dist/types/cloud.js.map +2 -2
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/utils/cloud-sdk/client.d.ts.map +1 -1
- package/dist/utils/cloud-sdk/client.js +136 -4
- package/dist/utils/cloud-sdk/client.js.map +5 -5
- package/dist/utils/cloud-sdk/http.js.map +1 -1
- package/dist/utils/cloud-sdk/public-routes.d.ts +186 -0
- package/dist/utils/cloud-sdk/public-routes.d.ts.map +1 -1
- package/dist/utils/cloud-sdk/public-routes.js +99 -1
- package/dist/utils/cloud-sdk/public-routes.js.map +3 -3
- package/dist/utils/cloud-sdk/types.d.ts +0 -2
- package/dist/utils/cloud-sdk/types.d.ts.map +1 -1
- package/dist/utils/cloud-sdk/types.js.map +1 -1
- package/dist/utils/config.d.ts +10 -1
- package/dist/utils/config.d.ts.map +1 -1
- package/dist/utils/config.js +12 -2
- package/dist/utils/config.js.map +3 -3
- package/dist/utils/events.d.ts +23 -2
- package/dist/utils/events.d.ts.map +1 -1
- package/dist/utils/events.js +5 -3
- package/dist/utils/events.js.map +3 -3
- package/dist/utils/sdk-client.d.ts.map +1 -1
- package/dist/utils/sdk-client.js +17 -4
- package/dist/utils/sdk-client.js.map +4 -4
- package/dist/utils/waifu-metering.d.ts +108 -0
- package/dist/utils/waifu-metering.d.ts.map +1 -0
- package/dist/utils/waifu-metering.js +166 -0
- package/dist/utils/waifu-metering.js.map +10 -0
- package/package.json +51 -22
- package/src/cloud/auth-service-types.ts +24 -0
- package/src/cloud/base-url.ts +6 -62
- package/src/cloud/clack-observer.ts +189 -0
- package/src/cloud/duffel-client.ts +847 -0
- package/src/cloud/index.ts +10 -0
- package/src/cloud/lifeops-schedule-sync-client.ts +245 -0
- package/src/cloud/lifeops-schedule-sync-contracts.ts +124 -0
- package/src/cloud/managed-payment-clients.ts +374 -0
- package/src/cloud/null-observer.ts +45 -0
- package/src/cloud/setup-observer.ts +125 -0
- package/src/cloud/validate-url.ts +7 -1
- package/src/cloud/x402-payment-handler.ts +215 -0
- package/src/cloud-setup.ts +531 -0
- package/src/cloud-voice-catalog.test.ts +254 -0
- package/src/cloud-voice-catalog.ts +246 -0
- package/src/index.browser.ts +29 -0
- package/src/index.node.ts +31 -1
- package/src/index.ts +76 -4
- package/src/lib/cloud-connection.ts +2 -4
- package/src/lib/cloud-secrets.ts +10 -54
- package/src/lib/config-like.ts +1 -1
- package/src/lib/credential-type-map.ts +2 -2
- package/src/lib/http.ts +0 -17
- package/src/lib/server-cloud-tts.ts +33 -341
- package/src/lib/tts-debug.ts +5 -34
- package/src/models/embeddings.ts +140 -76
- package/src/models/image.ts +29 -14
- package/src/models/research.ts +11 -1
- package/src/models/speech.ts +269 -23
- package/src/models/text.ts +704 -110
- package/src/models/tokenization.ts +2 -2
- package/src/models/transcription.ts +7 -3
- package/src/plugin.ts +38 -0
- package/src/routes/cloud-billing-routes.ts +4 -14
- package/src/routes/cloud-coding-container-routes.ts +198 -0
- package/src/routes/cloud-compat-routes.ts +4 -14
- package/src/routes/cloud-features-routes.ts +1 -1
- package/src/routes/cloud-relay-routes.ts +47 -1
- package/src/routes/cloud-routes-autonomous.ts +7 -10
- package/src/routes/cloud-routes.ts +68 -7
- package/src/routes/cloud-status-routes-autonomous.ts +6 -2
- package/src/routes/home-remote-runner-access-url.ts +83 -0
- package/src/routes/travel-provider-relay-routes.ts +193 -0
- package/src/services/cloud-auth.ts +9 -2
- package/src/services/cloud-bootstrap.ts +1 -3
- package/src/services/cloud-bridge.ts +1 -1
- package/src/services/cloud-container.ts +93 -0
- package/src/services/cloud-credential-provider.ts +1 -1
- package/src/services/cloud-model-registry.ts +1 -1
- package/src/types/cloud.ts +22 -0
- package/src/types/index.ts +19 -0
- package/src/utils/cloud-sdk/client.ts +42 -3
- package/src/utils/cloud-sdk/public-routes.ts +168 -0
- package/src/utils/cloud-sdk/types.ts +0 -2
- package/src/utils/config.ts +20 -1
- package/src/utils/events.ts +30 -2
- package/src/utils/sdk-client.ts +5 -1
- package/src/utils/waifu-metering.ts +302 -0
- package/dist/onboarding.d.ts +0 -35
- package/dist/onboarding.d.ts.map +0 -1
- package/dist/onboarding.js.map +0 -14
- package/src/onboarding.ts +0 -396
|
@@ -233,6 +233,7 @@ var ELIZA_CLOUD_PUBLIC_ENDPOINTS = {
|
|
|
233
233
|
"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" },
|
|
234
234
|
"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" },
|
|
235
235
|
"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" },
|
|
236
|
+
"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" },
|
|
236
237
|
"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" },
|
|
237
238
|
"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" },
|
|
238
239
|
"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" },
|
|
@@ -277,10 +278,12 @@ var ELIZA_CLOUD_PUBLIC_ENDPOINTS = {
|
|
|
277
278
|
"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" },
|
|
278
279
|
"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" },
|
|
279
280
|
"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" },
|
|
281
|
+
"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" },
|
|
280
282
|
"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" },
|
|
281
283
|
"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" },
|
|
282
284
|
"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" },
|
|
283
285
|
"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" },
|
|
286
|
+
"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" },
|
|
284
287
|
"GET /api/v1/affiliates": { method: "GET", path: "/api/v1/affiliates", methodName: "getApiV1Affiliates", responseMode: "json", pathParams: [], catchAllPathParams: [], file: "apps/api/v1/affiliates/route.ts" },
|
|
285
288
|
"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" },
|
|
286
289
|
"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" },
|
|
@@ -411,6 +414,8 @@ var ELIZA_CLOUD_PUBLIC_ENDPOINTS = {
|
|
|
411
414
|
"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" },
|
|
412
415
|
"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" },
|
|
413
416
|
"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" },
|
|
417
|
+
"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" },
|
|
418
|
+
"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" },
|
|
414
419
|
"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" },
|
|
415
420
|
"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" },
|
|
416
421
|
"GET /api/v1/redemptions": { method: "GET", path: "/api/v1/redemptions", methodName: "getApiV1Redemptions", responseMode: "json", pathParams: [], catchAllPathParams: [], file: "apps/api/v1/redemptions/route.ts" },
|
|
@@ -450,6 +455,7 @@ var ELIZA_CLOUD_PUBLIC_ENDPOINTS = {
|
|
|
450
455
|
"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" },
|
|
451
456
|
"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" },
|
|
452
457
|
"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" },
|
|
458
|
+
"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" },
|
|
453
459
|
"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" },
|
|
454
460
|
"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" },
|
|
455
461
|
"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" },
|
|
@@ -470,6 +476,7 @@ var ELIZA_CLOUD_PUBLIC_ENDPOINTS = {
|
|
|
470
476
|
"POST /api/elevenlabs/tts": { method: "POST", path: "/api/elevenlabs/tts", methodName: "postApiElevenlabsTts", responseMode: "binary", pathParams: [], catchAllPathParams: [], file: "apps/api/elevenlabs/tts/route.ts" },
|
|
471
477
|
"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" },
|
|
472
478
|
"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" },
|
|
479
|
+
"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" },
|
|
473
480
|
"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" },
|
|
474
481
|
"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" },
|
|
475
482
|
"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" },
|
|
@@ -523,6 +530,9 @@ var ELIZA_CLOUD_PUBLIC_ENDPOINTS = {
|
|
|
523
530
|
"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" },
|
|
524
531
|
"POST /api/v1/chat": { method: "POST", path: "/api/v1/chat", methodName: "postApiV1Chat", responseMode: "json", pathParams: [], catchAllPathParams: [], file: "apps/api/v1/chat/route.ts" },
|
|
525
532
|
"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" },
|
|
533
|
+
"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" },
|
|
534
|
+
"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" },
|
|
535
|
+
"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" },
|
|
526
536
|
"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" },
|
|
527
537
|
"POST /api/v1/containers": { method: "POST", path: "/api/v1/containers", methodName: "postApiV1Containers", responseMode: "json", pathParams: [], catchAllPathParams: [], file: "apps/api/v1/containers/route.ts" },
|
|
528
538
|
"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" },
|
|
@@ -580,6 +590,9 @@ var ELIZA_CLOUD_PUBLIC_ENDPOINTS = {
|
|
|
580
590
|
"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" },
|
|
581
591
|
"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" },
|
|
582
592
|
"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" },
|
|
593
|
+
"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" },
|
|
594
|
+
"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" },
|
|
595
|
+
"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" },
|
|
583
596
|
"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" },
|
|
584
597
|
"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" },
|
|
585
598
|
"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" },
|
|
@@ -597,6 +610,7 @@ var ELIZA_CLOUD_PUBLIC_ENDPOINTS = {
|
|
|
597
610
|
"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" },
|
|
598
611
|
"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" },
|
|
599
612
|
"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" },
|
|
613
|
+
"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" },
|
|
600
614
|
"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" },
|
|
601
615
|
"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" },
|
|
602
616
|
"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" },
|
|
@@ -702,6 +716,9 @@ class ElizaCloudPublicRoutesClient {
|
|
|
702
716
|
deleteApiV1AdvertisingCampaignsById(options) {
|
|
703
717
|
return this.call("DELETE /api/v1/advertising/campaigns/{id}", options);
|
|
704
718
|
}
|
|
719
|
+
deleteApiV1AdvertisingCreativesById(options) {
|
|
720
|
+
return this.call("DELETE /api/v1/advertising/creatives/{id}", options);
|
|
721
|
+
}
|
|
705
722
|
deleteApiV1AgentsByAgentIdPublish(options) {
|
|
706
723
|
return this.call("DELETE /api/v1/agents/{agentId}/publish", options);
|
|
707
724
|
}
|
|
@@ -834,6 +851,9 @@ class ElizaCloudPublicRoutesClient {
|
|
|
834
851
|
getApiV1AdvertisingAccountsById(options) {
|
|
835
852
|
return this.call("GET /api/v1/advertising/accounts/{id}", options);
|
|
836
853
|
}
|
|
854
|
+
getApiV1AdvertisingAccountsByIdMedia(options) {
|
|
855
|
+
return this.call("GET /api/v1/advertising/accounts/{id}/media", options);
|
|
856
|
+
}
|
|
837
857
|
getApiV1AdvertisingCampaigns(options = {}) {
|
|
838
858
|
return this.call("GET /api/v1/advertising/campaigns", options);
|
|
839
859
|
}
|
|
@@ -846,6 +866,9 @@ class ElizaCloudPublicRoutesClient {
|
|
|
846
866
|
getApiV1AdvertisingCampaignsByIdCreatives(options) {
|
|
847
867
|
return this.call("GET /api/v1/advertising/campaigns/{id}/creatives", options);
|
|
848
868
|
}
|
|
869
|
+
getApiV1AdvertisingCreativesById(options) {
|
|
870
|
+
return this.call("GET /api/v1/advertising/creatives/{id}", options);
|
|
871
|
+
}
|
|
849
872
|
getApiV1Affiliates(options = {}) {
|
|
850
873
|
return this.call("GET /api/v1/affiliates", options);
|
|
851
874
|
}
|
|
@@ -1236,6 +1259,12 @@ class ElizaCloudPublicRoutesClient {
|
|
|
1236
1259
|
getApiV1OauthTokenByPlatform(options) {
|
|
1237
1260
|
return this.call("GET /api/v1/oauth/token/{platform}", options);
|
|
1238
1261
|
}
|
|
1262
|
+
getApiV1PaymentRequests(options = {}) {
|
|
1263
|
+
return this.call("GET /api/v1/payment-requests", options);
|
|
1264
|
+
}
|
|
1265
|
+
getApiV1PaymentRequestsById(options) {
|
|
1266
|
+
return this.call("GET /api/v1/payment-requests/{id}", options);
|
|
1267
|
+
}
|
|
1239
1268
|
getApiV1PricingSummary(options = {}) {
|
|
1240
1269
|
return this.call("GET /api/v1/pricing/summary", options);
|
|
1241
1270
|
}
|
|
@@ -1353,6 +1382,9 @@ class ElizaCloudPublicRoutesClient {
|
|
|
1353
1382
|
patchApiV1AdvertisingCampaignsById(options) {
|
|
1354
1383
|
return this.call("PATCH /api/v1/advertising/campaigns/{id}", options);
|
|
1355
1384
|
}
|
|
1385
|
+
patchApiV1AdvertisingCreativesById(options) {
|
|
1386
|
+
return this.call("PATCH /api/v1/advertising/creatives/{id}", options);
|
|
1387
|
+
}
|
|
1356
1388
|
patchApiV1ApiKeysById(options) {
|
|
1357
1389
|
return this.call("PATCH /api/v1/api-keys/{id}", options);
|
|
1358
1390
|
}
|
|
@@ -1413,6 +1445,9 @@ class ElizaCloudPublicRoutesClient {
|
|
|
1413
1445
|
postApiV1AdvertisingAccounts(options = {}) {
|
|
1414
1446
|
return this.call("POST /api/v1/advertising/accounts", options);
|
|
1415
1447
|
}
|
|
1448
|
+
postApiV1AdvertisingAccountsByIdMedia(options) {
|
|
1449
|
+
return this.call("POST /api/v1/advertising/accounts/{id}/media", options);
|
|
1450
|
+
}
|
|
1416
1451
|
postApiV1AdvertisingAccountsDiscover(options = {}) {
|
|
1417
1452
|
return this.call("POST /api/v1/advertising/accounts/discover", options);
|
|
1418
1453
|
}
|
|
@@ -1572,6 +1607,15 @@ class ElizaCloudPublicRoutesClient {
|
|
|
1572
1607
|
postApiV1ChatCompletions(options = {}) {
|
|
1573
1608
|
return this.call("POST /api/v1/chat/completions", options);
|
|
1574
1609
|
}
|
|
1610
|
+
postApiV1CodingContainers(options = {}) {
|
|
1611
|
+
return this.call("POST /api/v1/coding-containers", options);
|
|
1612
|
+
}
|
|
1613
|
+
postApiV1CodingContainersByContainerIdSync(options) {
|
|
1614
|
+
return this.call("POST /api/v1/coding-containers/{containerId}/sync", options);
|
|
1615
|
+
}
|
|
1616
|
+
postApiV1CodingContainersPromotions(options = {}) {
|
|
1617
|
+
return this.call("POST /api/v1/coding-containers/promotions", options);
|
|
1618
|
+
}
|
|
1575
1619
|
postApiV1ConnectionsByPlatform(options) {
|
|
1576
1620
|
return this.call("POST /api/v1/connections/{platform}", options);
|
|
1577
1621
|
}
|
|
@@ -1743,6 +1787,15 @@ class ElizaCloudPublicRoutesClient {
|
|
|
1743
1787
|
postApiV1OauthInitiate(options = {}) {
|
|
1744
1788
|
return this.call("POST /api/v1/oauth/initiate", options);
|
|
1745
1789
|
}
|
|
1790
|
+
postApiV1PaymentRequests(options = {}) {
|
|
1791
|
+
return this.call("POST /api/v1/payment-requests", options);
|
|
1792
|
+
}
|
|
1793
|
+
postApiV1PaymentRequestsByIdCancel(options) {
|
|
1794
|
+
return this.call("POST /api/v1/payment-requests/{id}/cancel", options);
|
|
1795
|
+
}
|
|
1796
|
+
postApiV1PaymentRequestsByIdExpire(options) {
|
|
1797
|
+
return this.call("POST /api/v1/payment-requests/{id}/expire", options);
|
|
1798
|
+
}
|
|
1746
1799
|
postApiV1ProxyBirdeyeByPath(options) {
|
|
1747
1800
|
return this.call("POST /api/v1/proxy/birdeye/{path}", options);
|
|
1748
1801
|
}
|
|
@@ -1794,6 +1847,9 @@ class ElizaCloudPublicRoutesClient {
|
|
|
1794
1847
|
postApiV1StewardTenants(options = {}) {
|
|
1795
1848
|
return this.call("POST /api/v1/steward/tenants", options);
|
|
1796
1849
|
}
|
|
1850
|
+
postApiV1StripeCheckout(options = {}) {
|
|
1851
|
+
return this.call("POST /api/v1/stripe/checkout", options);
|
|
1852
|
+
}
|
|
1797
1853
|
postApiV1TelegramConnect(options = {}) {
|
|
1798
1854
|
return this.call("POST /api/v1/telegram/connect", options);
|
|
1799
1855
|
}
|
|
@@ -1932,6 +1988,9 @@ class ElizaCloudPublicRoutesClient {
|
|
|
1932
1988
|
deleteApiV1AdvertisingCampaignsByIdRaw(options) {
|
|
1933
1989
|
return this.callRaw("DELETE /api/v1/advertising/campaigns/{id}", options);
|
|
1934
1990
|
}
|
|
1991
|
+
deleteApiV1AdvertisingCreativesByIdRaw(options) {
|
|
1992
|
+
return this.callRaw("DELETE /api/v1/advertising/creatives/{id}", options);
|
|
1993
|
+
}
|
|
1935
1994
|
deleteApiV1AgentsByAgentIdPublishRaw(options) {
|
|
1936
1995
|
return this.callRaw("DELETE /api/v1/agents/{agentId}/publish", options);
|
|
1937
1996
|
}
|
|
@@ -2064,6 +2123,9 @@ class ElizaCloudPublicRoutesClient {
|
|
|
2064
2123
|
getApiV1AdvertisingAccountsByIdRaw(options) {
|
|
2065
2124
|
return this.callRaw("GET /api/v1/advertising/accounts/{id}", options);
|
|
2066
2125
|
}
|
|
2126
|
+
getApiV1AdvertisingAccountsByIdMediaRaw(options) {
|
|
2127
|
+
return this.callRaw("GET /api/v1/advertising/accounts/{id}/media", options);
|
|
2128
|
+
}
|
|
2067
2129
|
getApiV1AdvertisingCampaignsRaw(options = {}) {
|
|
2068
2130
|
return this.callRaw("GET /api/v1/advertising/campaigns", options);
|
|
2069
2131
|
}
|
|
@@ -2076,6 +2138,9 @@ class ElizaCloudPublicRoutesClient {
|
|
|
2076
2138
|
getApiV1AdvertisingCampaignsByIdCreativesRaw(options) {
|
|
2077
2139
|
return this.callRaw("GET /api/v1/advertising/campaigns/{id}/creatives", options);
|
|
2078
2140
|
}
|
|
2141
|
+
getApiV1AdvertisingCreativesByIdRaw(options) {
|
|
2142
|
+
return this.callRaw("GET /api/v1/advertising/creatives/{id}", options);
|
|
2143
|
+
}
|
|
2079
2144
|
getApiV1AffiliatesRaw(options = {}) {
|
|
2080
2145
|
return this.callRaw("GET /api/v1/affiliates", options);
|
|
2081
2146
|
}
|
|
@@ -2466,6 +2531,12 @@ class ElizaCloudPublicRoutesClient {
|
|
|
2466
2531
|
getApiV1OauthTokenByPlatformRaw(options) {
|
|
2467
2532
|
return this.callRaw("GET /api/v1/oauth/token/{platform}", options);
|
|
2468
2533
|
}
|
|
2534
|
+
getApiV1PaymentRequestsRaw(options = {}) {
|
|
2535
|
+
return this.callRaw("GET /api/v1/payment-requests", options);
|
|
2536
|
+
}
|
|
2537
|
+
getApiV1PaymentRequestsByIdRaw(options) {
|
|
2538
|
+
return this.callRaw("GET /api/v1/payment-requests/{id}", options);
|
|
2539
|
+
}
|
|
2469
2540
|
getApiV1PricingSummaryRaw(options = {}) {
|
|
2470
2541
|
return this.callRaw("GET /api/v1/pricing/summary", options);
|
|
2471
2542
|
}
|
|
@@ -2583,6 +2654,9 @@ class ElizaCloudPublicRoutesClient {
|
|
|
2583
2654
|
patchApiV1AdvertisingCampaignsByIdRaw(options) {
|
|
2584
2655
|
return this.callRaw("PATCH /api/v1/advertising/campaigns/{id}", options);
|
|
2585
2656
|
}
|
|
2657
|
+
patchApiV1AdvertisingCreativesByIdRaw(options) {
|
|
2658
|
+
return this.callRaw("PATCH /api/v1/advertising/creatives/{id}", options);
|
|
2659
|
+
}
|
|
2586
2660
|
patchApiV1ApiKeysByIdRaw(options) {
|
|
2587
2661
|
return this.callRaw("PATCH /api/v1/api-keys/{id}", options);
|
|
2588
2662
|
}
|
|
@@ -2643,6 +2717,9 @@ class ElizaCloudPublicRoutesClient {
|
|
|
2643
2717
|
postApiV1AdvertisingAccountsRaw(options = {}) {
|
|
2644
2718
|
return this.callRaw("POST /api/v1/advertising/accounts", options);
|
|
2645
2719
|
}
|
|
2720
|
+
postApiV1AdvertisingAccountsByIdMediaRaw(options) {
|
|
2721
|
+
return this.callRaw("POST /api/v1/advertising/accounts/{id}/media", options);
|
|
2722
|
+
}
|
|
2646
2723
|
postApiV1AdvertisingAccountsDiscoverRaw(options = {}) {
|
|
2647
2724
|
return this.callRaw("POST /api/v1/advertising/accounts/discover", options);
|
|
2648
2725
|
}
|
|
@@ -2802,6 +2879,15 @@ class ElizaCloudPublicRoutesClient {
|
|
|
2802
2879
|
postApiV1ChatCompletionsRaw(options = {}) {
|
|
2803
2880
|
return this.callRaw("POST /api/v1/chat/completions", options);
|
|
2804
2881
|
}
|
|
2882
|
+
postApiV1CodingContainersRaw(options = {}) {
|
|
2883
|
+
return this.callRaw("POST /api/v1/coding-containers", options);
|
|
2884
|
+
}
|
|
2885
|
+
postApiV1CodingContainersByContainerIdSyncRaw(options) {
|
|
2886
|
+
return this.callRaw("POST /api/v1/coding-containers/{containerId}/sync", options);
|
|
2887
|
+
}
|
|
2888
|
+
postApiV1CodingContainersPromotionsRaw(options = {}) {
|
|
2889
|
+
return this.callRaw("POST /api/v1/coding-containers/promotions", options);
|
|
2890
|
+
}
|
|
2805
2891
|
postApiV1ConnectionsByPlatformRaw(options) {
|
|
2806
2892
|
return this.callRaw("POST /api/v1/connections/{platform}", options);
|
|
2807
2893
|
}
|
|
@@ -2973,6 +3059,15 @@ class ElizaCloudPublicRoutesClient {
|
|
|
2973
3059
|
postApiV1OauthInitiateRaw(options = {}) {
|
|
2974
3060
|
return this.callRaw("POST /api/v1/oauth/initiate", options);
|
|
2975
3061
|
}
|
|
3062
|
+
postApiV1PaymentRequestsRaw(options = {}) {
|
|
3063
|
+
return this.callRaw("POST /api/v1/payment-requests", options);
|
|
3064
|
+
}
|
|
3065
|
+
postApiV1PaymentRequestsByIdCancelRaw(options) {
|
|
3066
|
+
return this.callRaw("POST /api/v1/payment-requests/{id}/cancel", options);
|
|
3067
|
+
}
|
|
3068
|
+
postApiV1PaymentRequestsByIdExpireRaw(options) {
|
|
3069
|
+
return this.callRaw("POST /api/v1/payment-requests/{id}/expire", options);
|
|
3070
|
+
}
|
|
2976
3071
|
postApiV1ProxyBirdeyeByPathRaw(options) {
|
|
2977
3072
|
return this.callRaw("POST /api/v1/proxy/birdeye/{path}", options);
|
|
2978
3073
|
}
|
|
@@ -3024,6 +3119,9 @@ class ElizaCloudPublicRoutesClient {
|
|
|
3024
3119
|
postApiV1StewardTenantsRaw(options = {}) {
|
|
3025
3120
|
return this.callRaw("POST /api/v1/steward/tenants", options);
|
|
3026
3121
|
}
|
|
3122
|
+
postApiV1StripeCheckoutRaw(options = {}) {
|
|
3123
|
+
return this.callRaw("POST /api/v1/stripe/checkout", options);
|
|
3124
|
+
}
|
|
3027
3125
|
postApiV1TelegramConnectRaw(options = {}) {
|
|
3028
3126
|
return this.callRaw("POST /api/v1/telegram/connect", options);
|
|
3029
3127
|
}
|
|
@@ -3164,7 +3262,40 @@ function normalizeBaseUrl2(value, fallback) {
|
|
|
3164
3262
|
return trimTrailingSlash2(trimmed && trimmed.length > 0 ? trimmed : fallback);
|
|
3165
3263
|
}
|
|
3166
3264
|
function apiOriginFromApiBaseUrl(value) {
|
|
3167
|
-
return value.
|
|
3265
|
+
return new URL(value).origin;
|
|
3266
|
+
}
|
|
3267
|
+
function normalizeCloudApiBaseUrl(value, fallback) {
|
|
3268
|
+
const baseUrl = normalizeBaseUrl2(value, fallback);
|
|
3269
|
+
let url;
|
|
3270
|
+
try {
|
|
3271
|
+
url = new URL(baseUrl);
|
|
3272
|
+
} catch {
|
|
3273
|
+
throw new Error(`Invalid Eliza Cloud API base URL: ${baseUrl}`);
|
|
3274
|
+
}
|
|
3275
|
+
if (url.protocol !== "http:" && url.protocol !== "https:") {
|
|
3276
|
+
throw new Error(`Invalid Eliza Cloud API base URL protocol: ${baseUrl}`);
|
|
3277
|
+
}
|
|
3278
|
+
if (url.search || url.hash) {
|
|
3279
|
+
throw new Error(`Eliza Cloud API base URL must not include query or hash: ${baseUrl}`);
|
|
3280
|
+
}
|
|
3281
|
+
const pathname = trimTrailingSlash2(url.pathname);
|
|
3282
|
+
if (!pathname || pathname === "/") {
|
|
3283
|
+
url.pathname = "/api/v1";
|
|
3284
|
+
} else if (pathname === "/api/v1") {
|
|
3285
|
+
url.pathname = "/api/v1";
|
|
3286
|
+
} else {
|
|
3287
|
+
throw new Error(`Eliza Cloud API base URL must be an origin or end at /api/v1: ${baseUrl}`);
|
|
3288
|
+
}
|
|
3289
|
+
return trimTrailingSlash2(url.toString());
|
|
3290
|
+
}
|
|
3291
|
+
function browserBaseUrlForCliLogin(baseUrl) {
|
|
3292
|
+
try {
|
|
3293
|
+
const url = new URL(baseUrl);
|
|
3294
|
+
if (url.hostname.toLowerCase() === "api.elizacloud.ai") {
|
|
3295
|
+
return DEFAULT_ELIZA_CLOUD_BASE_URL;
|
|
3296
|
+
}
|
|
3297
|
+
} catch {}
|
|
3298
|
+
return baseUrl;
|
|
3168
3299
|
}
|
|
3169
3300
|
function encodePathParam(value) {
|
|
3170
3301
|
return encodeURIComponent(String(value));
|
|
@@ -3195,7 +3326,7 @@ class ElizaCloudClient {
|
|
|
3195
3326
|
apiBaseUrl;
|
|
3196
3327
|
constructor(options = {}) {
|
|
3197
3328
|
this.baseUrl = normalizeBaseUrl2(options.baseUrl, DEFAULT_ELIZA_CLOUD_BASE_URL);
|
|
3198
|
-
this.apiBaseUrl =
|
|
3329
|
+
this.apiBaseUrl = normalizeCloudApiBaseUrl(options.apiBaseUrl, options.baseUrl ? `${this.baseUrl}/api/v1` : DEFAULT_ELIZA_CLOUD_API_BASE_URL);
|
|
3199
3330
|
const apiOrigin = options.apiBaseUrl ? apiOriginFromApiBaseUrl(this.apiBaseUrl) : options.baseUrl ? this.baseUrl : DEFAULT_ELIZA_CLOUD_API_ORIGIN;
|
|
3200
3331
|
this.http = new ElizaCloudHttpClient({
|
|
3201
3332
|
...options,
|
|
@@ -3232,7 +3363,8 @@ class ElizaCloudClient {
|
|
|
3232
3363
|
startCliLogin(options = {}) {
|
|
3233
3364
|
const sessionId = options.sessionId ?? getCryptoRandomUuid();
|
|
3234
3365
|
const query = options.returnTo ? `?returnTo=${encodeURIComponent(options.returnTo)}` : "";
|
|
3235
|
-
const
|
|
3366
|
+
const browserBaseUrl = browserBaseUrlForCliLogin(this.baseUrl);
|
|
3367
|
+
const browserUrl = `${browserBaseUrl}/auth/cli-login?session=${encodeURIComponent(sessionId)}${query}`;
|
|
3236
3368
|
return this.request("POST", "/api/auth/cli-session", {
|
|
3237
3369
|
json: { sessionId },
|
|
3238
3370
|
skipAuth: true
|
|
@@ -3558,4 +3690,4 @@ export {
|
|
|
3558
3690
|
ElizaCloudClient
|
|
3559
3691
|
};
|
|
3560
3692
|
|
|
3561
|
-
//# debugId=
|
|
3693
|
+
//# debugId=D01759B0AE8FF6CC64756E2164756E21
|