arky-sdk 0.7.61 → 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 +59 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +48 -48
- package/dist/index.d.ts +48 -48
- package/dist/index.js +59 -7
- 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",
|
|
@@ -2815,10 +2815,40 @@ async function createAdmin(config) {
|
|
|
2815
2815
|
platform: platformApi,
|
|
2816
2816
|
shipping: createShippingApi(apiConfig),
|
|
2817
2817
|
cms: {
|
|
2818
|
-
node:
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2818
|
+
node: {
|
|
2819
|
+
create: cmsApi.createNode,
|
|
2820
|
+
update: cmsApi.updateNode,
|
|
2821
|
+
delete: cmsApi.deleteNode,
|
|
2822
|
+
get: cmsApi.getNode,
|
|
2823
|
+
find: cmsApi.getNodes,
|
|
2824
|
+
getChildren: cmsApi.getNodeChildren
|
|
2825
|
+
},
|
|
2826
|
+
form: {
|
|
2827
|
+
create: formApi.createForm,
|
|
2828
|
+
update: formApi.updateForm,
|
|
2829
|
+
delete: formApi.deleteForm,
|
|
2830
|
+
get: formApi.getForm,
|
|
2831
|
+
find: formApi.getForms,
|
|
2832
|
+
submit: formApi.submit,
|
|
2833
|
+
getSubmissions: formApi.getSubmissions,
|
|
2834
|
+
getSubmission: formApi.getSubmission,
|
|
2835
|
+
updateSubmission: formApi.updateSubmission
|
|
2836
|
+
},
|
|
2837
|
+
taxonomy: {
|
|
2838
|
+
create: taxonomyApi.createTaxonomy,
|
|
2839
|
+
update: taxonomyApi.updateTaxonomy,
|
|
2840
|
+
delete: taxonomyApi.deleteTaxonomy,
|
|
2841
|
+
get: taxonomyApi.getTaxonomy,
|
|
2842
|
+
find: taxonomyApi.getTaxonomies,
|
|
2843
|
+
getChildren: taxonomyApi.getTaxonomyChildren
|
|
2844
|
+
},
|
|
2845
|
+
emailTemplate: {
|
|
2846
|
+
create: emailTemplateApi.createEmailTemplate,
|
|
2847
|
+
update: emailTemplateApi.updateEmailTemplate,
|
|
2848
|
+
delete: emailTemplateApi.deleteEmailTemplate,
|
|
2849
|
+
get: emailTemplateApi.getEmailTemplate,
|
|
2850
|
+
find: emailTemplateApi.getEmailTemplates
|
|
2851
|
+
}
|
|
2822
2852
|
},
|
|
2823
2853
|
eshop: {
|
|
2824
2854
|
product: {
|
|
@@ -2891,8 +2921,30 @@ async function createAdmin(config) {
|
|
|
2891
2921
|
reaction: reactionApi
|
|
2892
2922
|
},
|
|
2893
2923
|
automation: {
|
|
2894
|
-
agent:
|
|
2895
|
-
|
|
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
|
+
}
|
|
2896
2948
|
},
|
|
2897
2949
|
analytics: {
|
|
2898
2950
|
track
|