arky-sdk 0.7.62 → 0.7.63
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/dist/index.cjs +25 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +22 -22
- package/dist/index.d.ts +22 -22
- package/dist/index.js +25 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2714,7 +2714,7 @@ function getFirstAvailableFCId(variant, quantity = 1) {
|
|
|
2714
2714
|
}
|
|
2715
2715
|
|
|
2716
2716
|
// src/index.ts
|
|
2717
|
-
var SDK_VERSION = "0.7.
|
|
2717
|
+
var SDK_VERSION = "0.7.63";
|
|
2718
2718
|
var SUPPORTED_FRAMEWORKS = [
|
|
2719
2719
|
"astro",
|
|
2720
2720
|
"react",
|
|
@@ -2921,8 +2921,30 @@ async function createAdmin(config) {
|
|
|
2921
2921
|
reaction: reactionApi
|
|
2922
2922
|
},
|
|
2923
2923
|
automation: {
|
|
2924
|
-
agent:
|
|
2925
|
-
|
|
2924
|
+
agent: {
|
|
2925
|
+
create: agentApi.createAgent,
|
|
2926
|
+
update: agentApi.updateAgent,
|
|
2927
|
+
delete: agentApi.deleteAgent,
|
|
2928
|
+
get: agentApi.getAgent,
|
|
2929
|
+
find: agentApi.getAgents,
|
|
2930
|
+
sendMessage: agentApi.sendMessage,
|
|
2931
|
+
getChats: agentApi.getChats,
|
|
2932
|
+
getChat: agentApi.getChat,
|
|
2933
|
+
updateChat: agentApi.updateChat,
|
|
2934
|
+
rateChat: agentApi.rateChat,
|
|
2935
|
+
getBusinessChats: agentApi.getBusinessChats,
|
|
2936
|
+
getChatMessages: agentApi.getChatMessages
|
|
2937
|
+
},
|
|
2938
|
+
workflow: {
|
|
2939
|
+
create: workflowApi.createWorkflow,
|
|
2940
|
+
update: workflowApi.updateWorkflow,
|
|
2941
|
+
delete: workflowApi.deleteWorkflow,
|
|
2942
|
+
get: workflowApi.getWorkflow,
|
|
2943
|
+
find: workflowApi.getWorkflows,
|
|
2944
|
+
trigger: workflowApi.triggerWorkflow,
|
|
2945
|
+
getExecutions: workflowApi.getWorkflowExecutions,
|
|
2946
|
+
getExecution: workflowApi.getWorkflowExecution
|
|
2947
|
+
}
|
|
2926
2948
|
},
|
|
2927
2949
|
analytics: {
|
|
2928
2950
|
track
|