@livechat/developer-studio-api 3.1.48 → 3.1.49
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.d.mts +9 -3
- package/dist/index.d.ts +9 -3
- package/dist/index.js +6 -2
- package/dist/index.mjs +6 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -5914,11 +5914,17 @@ declare const api: {
|
|
|
5914
5914
|
workflows: {
|
|
5915
5915
|
getWorkflows(authorization?: PlatformClientAuthorization | undefined): Promise<WorkflowsDto[]>;
|
|
5916
5916
|
getWorkflow(payload: GetWorkflowPayload, authorization?: PlatformClientAuthorization | undefined): Promise<WorkflowDto>;
|
|
5917
|
-
createWorkflow(payload: UpsertWorkflowPayload
|
|
5918
|
-
|
|
5917
|
+
createWorkflow(payload: UpsertWorkflowPayload & {
|
|
5918
|
+
third_party_headers: Record<string, string[]>;
|
|
5919
|
+
}, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
|
|
5920
|
+
updateWorkflow(payload: UpsertWorkflowPayload & {
|
|
5921
|
+
third_party_headers: Record<string, string[]>;
|
|
5922
|
+
}, authorization?: PlatformClientAuthorization | undefined): Promise<{
|
|
5919
5923
|
version: number;
|
|
5920
5924
|
}>;
|
|
5921
|
-
deleteWorkflow(payload: GetWorkflowPayload
|
|
5925
|
+
deleteWorkflow(payload: GetWorkflowPayload & {
|
|
5926
|
+
third_party_headers: Record<string, string[]>;
|
|
5927
|
+
}, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
|
|
5922
5928
|
executeWorkflow(payload: {
|
|
5923
5929
|
name: string;
|
|
5924
5930
|
input: unknown;
|
package/dist/index.d.ts
CHANGED
|
@@ -5914,11 +5914,17 @@ declare const api: {
|
|
|
5914
5914
|
workflows: {
|
|
5915
5915
|
getWorkflows(authorization?: PlatformClientAuthorization | undefined): Promise<WorkflowsDto[]>;
|
|
5916
5916
|
getWorkflow(payload: GetWorkflowPayload, authorization?: PlatformClientAuthorization | undefined): Promise<WorkflowDto>;
|
|
5917
|
-
createWorkflow(payload: UpsertWorkflowPayload
|
|
5918
|
-
|
|
5917
|
+
createWorkflow(payload: UpsertWorkflowPayload & {
|
|
5918
|
+
third_party_headers: Record<string, string[]>;
|
|
5919
|
+
}, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
|
|
5920
|
+
updateWorkflow(payload: UpsertWorkflowPayload & {
|
|
5921
|
+
third_party_headers: Record<string, string[]>;
|
|
5922
|
+
}, authorization?: PlatformClientAuthorization | undefined): Promise<{
|
|
5919
5923
|
version: number;
|
|
5920
5924
|
}>;
|
|
5921
|
-
deleteWorkflow(payload: GetWorkflowPayload
|
|
5925
|
+
deleteWorkflow(payload: GetWorkflowPayload & {
|
|
5926
|
+
third_party_headers: Record<string, string[]>;
|
|
5927
|
+
}, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
|
|
5922
5928
|
executeWorkflow(payload: {
|
|
5923
5929
|
name: string;
|
|
5924
5930
|
input: unknown;
|
package/dist/index.js
CHANGED
|
@@ -2160,9 +2160,13 @@ var textPlatformWorkflowsApi = {
|
|
|
2160
2160
|
return __async(this, null, function* () {
|
|
2161
2161
|
yield textClientInstance.delete(
|
|
2162
2162
|
`/workflow_platform/workflows/${encodeURIComponent(payload.name)}`,
|
|
2163
|
-
__spreadValues({}, getTextClientConfig(__spreadProps(__spreadValues({}, authorization), {
|
|
2163
|
+
__spreadProps(__spreadValues({}, getTextClientConfig(__spreadProps(__spreadValues({}, authorization), {
|
|
2164
2164
|
ensureAuthorizationToken: true
|
|
2165
|
-
})))
|
|
2165
|
+
}))), {
|
|
2166
|
+
data: {
|
|
2167
|
+
third_party_headers: payload.third_party_headers
|
|
2168
|
+
}
|
|
2169
|
+
})
|
|
2166
2170
|
);
|
|
2167
2171
|
});
|
|
2168
2172
|
},
|
package/dist/index.mjs
CHANGED
|
@@ -2007,9 +2007,13 @@ var textPlatformWorkflowsApi = {
|
|
|
2007
2007
|
return __async(this, null, function* () {
|
|
2008
2008
|
yield textClientInstance.delete(
|
|
2009
2009
|
`/workflow_platform/workflows/${encodeURIComponent(payload.name)}`,
|
|
2010
|
-
__spreadValues({}, getTextClientConfig(__spreadProps(__spreadValues({}, authorization), {
|
|
2010
|
+
__spreadProps(__spreadValues({}, getTextClientConfig(__spreadProps(__spreadValues({}, authorization), {
|
|
2011
2011
|
ensureAuthorizationToken: true
|
|
2012
|
-
})))
|
|
2012
|
+
}))), {
|
|
2013
|
+
data: {
|
|
2014
|
+
third_party_headers: payload.third_party_headers
|
|
2015
|
+
}
|
|
2016
|
+
})
|
|
2013
2017
|
);
|
|
2014
2018
|
});
|
|
2015
2019
|
},
|