@livechat/developer-studio-api 3.1.58 → 3.1.59
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 +7 -7
- package/dist/index.d.ts +7 -7
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -400,6 +400,7 @@ interface GetTextPlatformDashboardReportParams {
|
|
|
400
400
|
interface WorkflowsDto {
|
|
401
401
|
id: string;
|
|
402
402
|
version: number;
|
|
403
|
+
name: string;
|
|
403
404
|
description: string;
|
|
404
405
|
active: boolean;
|
|
405
406
|
trigger_type: WorkflowTriggerType;
|
|
@@ -409,15 +410,15 @@ interface WorkflowsDto {
|
|
|
409
410
|
interface WorkflowDto {
|
|
410
411
|
id: string;
|
|
411
412
|
version: number;
|
|
412
|
-
name
|
|
413
|
+
name: string;
|
|
413
414
|
description: string;
|
|
414
415
|
active: boolean;
|
|
415
416
|
created_at: string;
|
|
416
417
|
updated_at: string;
|
|
417
418
|
created_by: string;
|
|
418
419
|
tags: string[];
|
|
419
|
-
trigger: WorkflowTriggerDto;
|
|
420
420
|
definition: WorkflowDefinitionDto;
|
|
421
|
+
trigger?: WorkflowTriggerDto;
|
|
421
422
|
}
|
|
422
423
|
type WorkflowTriggerType = "manual_only" | "recurring" | "one_time" | "webhook";
|
|
423
424
|
type WorkflowTriggerDto = {
|
|
@@ -517,9 +518,9 @@ interface WorkflowDefinitionsQueryParams {
|
|
|
517
518
|
};
|
|
518
519
|
}
|
|
519
520
|
interface UpsertWorkflowPayload {
|
|
520
|
-
name
|
|
521
|
+
name: string;
|
|
521
522
|
description: string;
|
|
522
|
-
trigger
|
|
523
|
+
trigger?: WorkflowTriggerDto;
|
|
523
524
|
definition: WorkflowDefinitionDto;
|
|
524
525
|
}
|
|
525
526
|
interface WorkflowExecution {
|
|
@@ -542,10 +543,9 @@ type Credential = {
|
|
|
542
543
|
description: string;
|
|
543
544
|
provider: string;
|
|
544
545
|
} & ({
|
|
545
|
-
type: "
|
|
546
|
+
type: "api_key";
|
|
546
547
|
data: {
|
|
547
|
-
|
|
548
|
-
value: string;
|
|
548
|
+
api_key: string;
|
|
549
549
|
};
|
|
550
550
|
} | {
|
|
551
551
|
type: "basic_auth";
|
package/dist/index.d.ts
CHANGED
|
@@ -400,6 +400,7 @@ interface GetTextPlatformDashboardReportParams {
|
|
|
400
400
|
interface WorkflowsDto {
|
|
401
401
|
id: string;
|
|
402
402
|
version: number;
|
|
403
|
+
name: string;
|
|
403
404
|
description: string;
|
|
404
405
|
active: boolean;
|
|
405
406
|
trigger_type: WorkflowTriggerType;
|
|
@@ -409,15 +410,15 @@ interface WorkflowsDto {
|
|
|
409
410
|
interface WorkflowDto {
|
|
410
411
|
id: string;
|
|
411
412
|
version: number;
|
|
412
|
-
name
|
|
413
|
+
name: string;
|
|
413
414
|
description: string;
|
|
414
415
|
active: boolean;
|
|
415
416
|
created_at: string;
|
|
416
417
|
updated_at: string;
|
|
417
418
|
created_by: string;
|
|
418
419
|
tags: string[];
|
|
419
|
-
trigger: WorkflowTriggerDto;
|
|
420
420
|
definition: WorkflowDefinitionDto;
|
|
421
|
+
trigger?: WorkflowTriggerDto;
|
|
421
422
|
}
|
|
422
423
|
type WorkflowTriggerType = "manual_only" | "recurring" | "one_time" | "webhook";
|
|
423
424
|
type WorkflowTriggerDto = {
|
|
@@ -517,9 +518,9 @@ interface WorkflowDefinitionsQueryParams {
|
|
|
517
518
|
};
|
|
518
519
|
}
|
|
519
520
|
interface UpsertWorkflowPayload {
|
|
520
|
-
name
|
|
521
|
+
name: string;
|
|
521
522
|
description: string;
|
|
522
|
-
trigger
|
|
523
|
+
trigger?: WorkflowTriggerDto;
|
|
523
524
|
definition: WorkflowDefinitionDto;
|
|
524
525
|
}
|
|
525
526
|
interface WorkflowExecution {
|
|
@@ -542,10 +543,9 @@ type Credential = {
|
|
|
542
543
|
description: string;
|
|
543
544
|
provider: string;
|
|
544
545
|
} & ({
|
|
545
|
-
type: "
|
|
546
|
+
type: "api_key";
|
|
546
547
|
data: {
|
|
547
|
-
|
|
548
|
-
value: string;
|
|
548
|
+
api_key: string;
|
|
549
549
|
};
|
|
550
550
|
} | {
|
|
551
551
|
type: "basic_auth";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@livechat/developer-studio-api",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.59",
|
|
4
4
|
"description": "This project is API for LiveChat Developer Studio.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"tsup": "^7.1.0",
|
|
22
22
|
"typescript": "^5.1.6",
|
|
23
23
|
"eslint-config-custom": "0.0.8",
|
|
24
|
-
"
|
|
25
|
-
"
|
|
24
|
+
"utils": "0.0.4",
|
|
25
|
+
"tsconfig": "0.0.1"
|
|
26
26
|
},
|
|
27
27
|
"scripts": {
|
|
28
28
|
"build": "tsup",
|