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