@epilot/automation-client 2.5.4 → 2.5.6
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/openapi.d.ts +200 -0
- package/dist/openapi.json +19 -0
- package/package.json +1 -1
- package/package-lock.json +0 -19937
package/dist/openapi.d.ts
CHANGED
|
@@ -490,6 +490,20 @@ declare namespace Components {
|
|
|
490
490
|
* Flag indicating whether the action was created automatically or manually
|
|
491
491
|
*/
|
|
492
492
|
created_automatically?: boolean;
|
|
493
|
+
reason?: {
|
|
494
|
+
/**
|
|
495
|
+
* Why the action has to be skipped/failed
|
|
496
|
+
* example:
|
|
497
|
+
* There are no registered portal users for the given emails, hence skipping the action
|
|
498
|
+
*/
|
|
499
|
+
message?: string;
|
|
500
|
+
/**
|
|
501
|
+
* Extra metadata about the skipping reason - such as a certain condition not met, etc.
|
|
502
|
+
*/
|
|
503
|
+
payload?: {
|
|
504
|
+
[name: string]: any;
|
|
505
|
+
};
|
|
506
|
+
};
|
|
493
507
|
execution_status?: ExecutionStatus;
|
|
494
508
|
started_at?: string;
|
|
495
509
|
updated_at?: string;
|
|
@@ -527,6 +541,20 @@ declare namespace Components {
|
|
|
527
541
|
* Flag indicating whether the action was created automatically or manually
|
|
528
542
|
*/
|
|
529
543
|
created_automatically?: boolean;
|
|
544
|
+
reason?: {
|
|
545
|
+
/**
|
|
546
|
+
* Why the action has to be skipped/failed
|
|
547
|
+
* example:
|
|
548
|
+
* There are no registered portal users for the given emails, hence skipping the action
|
|
549
|
+
*/
|
|
550
|
+
message?: string;
|
|
551
|
+
/**
|
|
552
|
+
* Extra metadata about the skipping reason - such as a certain condition not met, etc.
|
|
553
|
+
*/
|
|
554
|
+
payload?: {
|
|
555
|
+
[name: string]: any;
|
|
556
|
+
};
|
|
557
|
+
};
|
|
530
558
|
}
|
|
531
559
|
export interface AutomationActionExecutionState {
|
|
532
560
|
execution_status?: ExecutionStatus;
|
|
@@ -653,6 +681,10 @@ declare namespace Components {
|
|
|
653
681
|
* 123
|
|
654
682
|
*/
|
|
655
683
|
org_id?: string;
|
|
684
|
+
/**
|
|
685
|
+
* Determines if the flow is a system generated flow
|
|
686
|
+
*/
|
|
687
|
+
system_flow?: boolean;
|
|
656
688
|
}
|
|
657
689
|
/**
|
|
658
690
|
* example:
|
|
@@ -684,6 +716,20 @@ declare namespace Components {
|
|
|
684
716
|
* Flag indicating whether the action was created automatically or manually
|
|
685
717
|
*/
|
|
686
718
|
created_automatically?: boolean;
|
|
719
|
+
reason?: {
|
|
720
|
+
/**
|
|
721
|
+
* Why the action has to be skipped/failed
|
|
722
|
+
* example:
|
|
723
|
+
* There are no registered portal users for the given emails, hence skipping the action
|
|
724
|
+
*/
|
|
725
|
+
message?: string;
|
|
726
|
+
/**
|
|
727
|
+
* Extra metadata about the skipping reason - such as a certain condition not met, etc.
|
|
728
|
+
*/
|
|
729
|
+
payload?: {
|
|
730
|
+
[name: string]: any;
|
|
731
|
+
};
|
|
732
|
+
};
|
|
687
733
|
execution_status?: ExecutionStatus;
|
|
688
734
|
started_at?: string;
|
|
689
735
|
updated_at?: string;
|
|
@@ -722,6 +768,20 @@ declare namespace Components {
|
|
|
722
768
|
* Flag indicating whether the action was created automatically or manually
|
|
723
769
|
*/
|
|
724
770
|
created_automatically?: boolean;
|
|
771
|
+
reason?: {
|
|
772
|
+
/**
|
|
773
|
+
* Why the action has to be skipped/failed
|
|
774
|
+
* example:
|
|
775
|
+
* There are no registered portal users for the given emails, hence skipping the action
|
|
776
|
+
*/
|
|
777
|
+
message?: string;
|
|
778
|
+
/**
|
|
779
|
+
* Extra metadata about the skipping reason - such as a certain condition not met, etc.
|
|
780
|
+
*/
|
|
781
|
+
payload?: {
|
|
782
|
+
[name: string]: any;
|
|
783
|
+
};
|
|
784
|
+
};
|
|
725
785
|
}
|
|
726
786
|
export interface CartCheckoutConfig {
|
|
727
787
|
/**
|
|
@@ -797,6 +857,20 @@ declare namespace Components {
|
|
|
797
857
|
* Flag indicating whether the action was created automatically or manually
|
|
798
858
|
*/
|
|
799
859
|
created_automatically?: boolean;
|
|
860
|
+
reason?: {
|
|
861
|
+
/**
|
|
862
|
+
* Why the action has to be skipped/failed
|
|
863
|
+
* example:
|
|
864
|
+
* There are no registered portal users for the given emails, hence skipping the action
|
|
865
|
+
*/
|
|
866
|
+
message?: string;
|
|
867
|
+
/**
|
|
868
|
+
* Extra metadata about the skipping reason - such as a certain condition not met, etc.
|
|
869
|
+
*/
|
|
870
|
+
payload?: {
|
|
871
|
+
[name: string]: any;
|
|
872
|
+
};
|
|
873
|
+
};
|
|
800
874
|
execution_status?: ExecutionStatus;
|
|
801
875
|
started_at?: string;
|
|
802
876
|
updated_at?: string;
|
|
@@ -850,6 +924,20 @@ declare namespace Components {
|
|
|
850
924
|
* Flag indicating whether the action was created automatically or manually
|
|
851
925
|
*/
|
|
852
926
|
created_automatically?: boolean;
|
|
927
|
+
reason?: {
|
|
928
|
+
/**
|
|
929
|
+
* Why the action has to be skipped/failed
|
|
930
|
+
* example:
|
|
931
|
+
* There are no registered portal users for the given emails, hence skipping the action
|
|
932
|
+
*/
|
|
933
|
+
message?: string;
|
|
934
|
+
/**
|
|
935
|
+
* Extra metadata about the skipping reason - such as a certain condition not met, etc.
|
|
936
|
+
*/
|
|
937
|
+
payload?: {
|
|
938
|
+
[name: string]: any;
|
|
939
|
+
};
|
|
940
|
+
};
|
|
853
941
|
}
|
|
854
942
|
export interface CreateDocumentConfig {
|
|
855
943
|
template_id?: string;
|
|
@@ -1131,6 +1219,20 @@ declare namespace Components {
|
|
|
1131
1219
|
* Flag indicating whether the action was created automatically or manually
|
|
1132
1220
|
*/
|
|
1133
1221
|
created_automatically?: boolean;
|
|
1222
|
+
reason?: {
|
|
1223
|
+
/**
|
|
1224
|
+
* Why the action has to be skipped/failed
|
|
1225
|
+
* example:
|
|
1226
|
+
* There are no registered portal users for the given emails, hence skipping the action
|
|
1227
|
+
*/
|
|
1228
|
+
message?: string;
|
|
1229
|
+
/**
|
|
1230
|
+
* Extra metadata about the skipping reason - such as a certain condition not met, etc.
|
|
1231
|
+
*/
|
|
1232
|
+
payload?: {
|
|
1233
|
+
[name: string]: any;
|
|
1234
|
+
};
|
|
1235
|
+
};
|
|
1134
1236
|
execution_status?: ExecutionStatus;
|
|
1135
1237
|
started_at?: string;
|
|
1136
1238
|
updated_at?: string;
|
|
@@ -1286,6 +1388,20 @@ declare namespace Components {
|
|
|
1286
1388
|
* Flag indicating whether the action was created automatically or manually
|
|
1287
1389
|
*/
|
|
1288
1390
|
created_automatically?: boolean;
|
|
1391
|
+
reason?: {
|
|
1392
|
+
/**
|
|
1393
|
+
* Why the action has to be skipped/failed
|
|
1394
|
+
* example:
|
|
1395
|
+
* There are no registered portal users for the given emails, hence skipping the action
|
|
1396
|
+
*/
|
|
1397
|
+
message?: string;
|
|
1398
|
+
/**
|
|
1399
|
+
* Extra metadata about the skipping reason - such as a certain condition not met, etc.
|
|
1400
|
+
*/
|
|
1401
|
+
payload?: {
|
|
1402
|
+
[name: string]: any;
|
|
1403
|
+
};
|
|
1404
|
+
};
|
|
1289
1405
|
}
|
|
1290
1406
|
export interface MapEntityConfig {
|
|
1291
1407
|
mapping_config?: MappingConfigRef;
|
|
@@ -1494,6 +1610,20 @@ declare namespace Components {
|
|
|
1494
1610
|
* Flag indicating whether the action was created automatically or manually
|
|
1495
1611
|
*/
|
|
1496
1612
|
created_automatically?: boolean;
|
|
1613
|
+
reason?: {
|
|
1614
|
+
/**
|
|
1615
|
+
* Why the action has to be skipped/failed
|
|
1616
|
+
* example:
|
|
1617
|
+
* There are no registered portal users for the given emails, hence skipping the action
|
|
1618
|
+
*/
|
|
1619
|
+
message?: string;
|
|
1620
|
+
/**
|
|
1621
|
+
* Extra metadata about the skipping reason - such as a certain condition not met, etc.
|
|
1622
|
+
*/
|
|
1623
|
+
payload?: {
|
|
1624
|
+
[name: string]: any;
|
|
1625
|
+
};
|
|
1626
|
+
};
|
|
1497
1627
|
execution_status?: ExecutionStatus;
|
|
1498
1628
|
started_at?: string;
|
|
1499
1629
|
updated_at?: string;
|
|
@@ -1541,6 +1671,20 @@ declare namespace Components {
|
|
|
1541
1671
|
* Flag indicating whether the action was created automatically or manually
|
|
1542
1672
|
*/
|
|
1543
1673
|
created_automatically?: boolean;
|
|
1674
|
+
reason?: {
|
|
1675
|
+
/**
|
|
1676
|
+
* Why the action has to be skipped/failed
|
|
1677
|
+
* example:
|
|
1678
|
+
* There are no registered portal users for the given emails, hence skipping the action
|
|
1679
|
+
*/
|
|
1680
|
+
message?: string;
|
|
1681
|
+
/**
|
|
1682
|
+
* Extra metadata about the skipping reason - such as a certain condition not met, etc.
|
|
1683
|
+
*/
|
|
1684
|
+
payload?: {
|
|
1685
|
+
[name: string]: any;
|
|
1686
|
+
};
|
|
1687
|
+
};
|
|
1544
1688
|
}
|
|
1545
1689
|
export interface SendEmailConfig {
|
|
1546
1690
|
email_template_id?: string;
|
|
@@ -1716,6 +1860,20 @@ declare namespace Components {
|
|
|
1716
1860
|
* Flag indicating whether the action was created automatically or manually
|
|
1717
1861
|
*/
|
|
1718
1862
|
created_automatically?: boolean;
|
|
1863
|
+
reason?: {
|
|
1864
|
+
/**
|
|
1865
|
+
* Why the action has to be skipped/failed
|
|
1866
|
+
* example:
|
|
1867
|
+
* There are no registered portal users for the given emails, hence skipping the action
|
|
1868
|
+
*/
|
|
1869
|
+
message?: string;
|
|
1870
|
+
/**
|
|
1871
|
+
* Extra metadata about the skipping reason - such as a certain condition not met, etc.
|
|
1872
|
+
*/
|
|
1873
|
+
payload?: {
|
|
1874
|
+
[name: string]: any;
|
|
1875
|
+
};
|
|
1876
|
+
};
|
|
1719
1877
|
execution_status?: ExecutionStatus;
|
|
1720
1878
|
started_at?: string;
|
|
1721
1879
|
updated_at?: string;
|
|
@@ -1766,6 +1924,20 @@ declare namespace Components {
|
|
|
1766
1924
|
* Flag indicating whether the action was created automatically or manually
|
|
1767
1925
|
*/
|
|
1768
1926
|
created_automatically?: boolean;
|
|
1927
|
+
reason?: {
|
|
1928
|
+
/**
|
|
1929
|
+
* Why the action has to be skipped/failed
|
|
1930
|
+
* example:
|
|
1931
|
+
* There are no registered portal users for the given emails, hence skipping the action
|
|
1932
|
+
*/
|
|
1933
|
+
message?: string;
|
|
1934
|
+
/**
|
|
1935
|
+
* Extra metadata about the skipping reason - such as a certain condition not met, etc.
|
|
1936
|
+
*/
|
|
1937
|
+
payload?: {
|
|
1938
|
+
[name: string]: any;
|
|
1939
|
+
};
|
|
1940
|
+
};
|
|
1769
1941
|
}
|
|
1770
1942
|
export interface TriggerWebhookConfig {
|
|
1771
1943
|
entity_sources?: string[];
|
|
@@ -1793,6 +1965,20 @@ declare namespace Components {
|
|
|
1793
1965
|
* Flag indicating whether the action was created automatically or manually
|
|
1794
1966
|
*/
|
|
1795
1967
|
created_automatically?: boolean;
|
|
1968
|
+
reason?: {
|
|
1969
|
+
/**
|
|
1970
|
+
* Why the action has to be skipped/failed
|
|
1971
|
+
* example:
|
|
1972
|
+
* There are no registered portal users for the given emails, hence skipping the action
|
|
1973
|
+
*/
|
|
1974
|
+
message?: string;
|
|
1975
|
+
/**
|
|
1976
|
+
* Extra metadata about the skipping reason - such as a certain condition not met, etc.
|
|
1977
|
+
*/
|
|
1978
|
+
payload?: {
|
|
1979
|
+
[name: string]: any;
|
|
1980
|
+
};
|
|
1981
|
+
};
|
|
1796
1982
|
execution_status?: ExecutionStatus;
|
|
1797
1983
|
started_at?: string;
|
|
1798
1984
|
updated_at?: string;
|
|
@@ -1862,6 +2048,20 @@ declare namespace Components {
|
|
|
1862
2048
|
* Flag indicating whether the action was created automatically or manually
|
|
1863
2049
|
*/
|
|
1864
2050
|
created_automatically?: boolean;
|
|
2051
|
+
reason?: {
|
|
2052
|
+
/**
|
|
2053
|
+
* Why the action has to be skipped/failed
|
|
2054
|
+
* example:
|
|
2055
|
+
* There are no registered portal users for the given emails, hence skipping the action
|
|
2056
|
+
*/
|
|
2057
|
+
message?: string;
|
|
2058
|
+
/**
|
|
2059
|
+
* Extra metadata about the skipping reason - such as a certain condition not met, etc.
|
|
2060
|
+
*/
|
|
2061
|
+
payload?: {
|
|
2062
|
+
[name: string]: any;
|
|
2063
|
+
};
|
|
2064
|
+
};
|
|
1865
2065
|
}
|
|
1866
2066
|
/**
|
|
1867
2067
|
* example:
|
package/dist/openapi.json
CHANGED
|
@@ -494,6 +494,10 @@
|
|
|
494
494
|
"example": "123",
|
|
495
495
|
"description": "Organization the automation flow belongs to",
|
|
496
496
|
"readOnly": true
|
|
497
|
+
},
|
|
498
|
+
"system_flow": {
|
|
499
|
+
"type": "boolean",
|
|
500
|
+
"description": "Determines if the flow is a system generated flow"
|
|
497
501
|
}
|
|
498
502
|
},
|
|
499
503
|
"required": [
|
|
@@ -621,6 +625,21 @@
|
|
|
621
625
|
"created_automatically": {
|
|
622
626
|
"description": "Flag indicating whether the action was created automatically or manually",
|
|
623
627
|
"type": "boolean"
|
|
628
|
+
},
|
|
629
|
+
"reason": {
|
|
630
|
+
"type": "object",
|
|
631
|
+
"properties": {
|
|
632
|
+
"message": {
|
|
633
|
+
"type": "string",
|
|
634
|
+
"description": "Why the action has to be skipped/failed",
|
|
635
|
+
"example": "There are no registered portal users for the given emails, hence skipping the action"
|
|
636
|
+
},
|
|
637
|
+
"payload": {
|
|
638
|
+
"type": "object",
|
|
639
|
+
"additionalProperties": true,
|
|
640
|
+
"description": "Extra metadata about the skipping reason - such as a certain condition not met, etc."
|
|
641
|
+
}
|
|
642
|
+
}
|
|
624
643
|
}
|
|
625
644
|
}
|
|
626
645
|
},
|