@or-sdk/flows 0.26.1 → 0.27.0-beta.427.0
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/cjs/Flows.js +361 -158
- package/dist/cjs/Flows.js.map +1 -1
- package/dist/cjs/constants.js +2 -3
- package/dist/cjs/constants.js.map +1 -1
- package/dist/esm/Flows.js +276 -123
- package/dist/esm/Flows.js.map +1 -1
- package/dist/esm/constants.js +1 -8
- package/dist/esm/constants.js.map +1 -1
- package/dist/types/Flows.d.ts +91 -15
- package/dist/types/constants.d.ts +1 -2
- package/dist/types/types.d.ts +22 -4
- package/package.json +8 -7
- package/src/Flows.ts +432 -147
- package/src/constants.ts +1 -8
- package/src/types.ts +26 -6
package/src/types.ts
CHANGED
|
@@ -18,14 +18,17 @@ export type FlowsConfig = {
|
|
|
18
18
|
accountId?: string;
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
|
-
* Url of OneReach
|
|
21
|
+
* Url of OneReach DataHub2 api
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
dataHub2Url?: string;
|
|
25
24
|
/**
|
|
26
25
|
* Url of OneReach Deployer api
|
|
27
26
|
*/
|
|
28
27
|
deployerUrl?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Url of OneReach SDK api
|
|
30
|
+
*/
|
|
31
|
+
sdkApiUrl?: string;
|
|
29
32
|
};
|
|
30
33
|
|
|
31
34
|
export type FlowListResponse = {
|
|
@@ -35,12 +38,29 @@ export type FlowListResponse = {
|
|
|
35
38
|
};
|
|
36
39
|
|
|
37
40
|
export type ListFlowsParams = {
|
|
38
|
-
includeDeleted
|
|
39
|
-
includeExisting
|
|
40
|
-
projection
|
|
41
|
+
includeDeleted?: boolean;
|
|
42
|
+
includeExisting?: boolean;
|
|
43
|
+
projection?: string[];
|
|
44
|
+
query?: {[key: string]: any;};
|
|
45
|
+
sandbox?: boolean;
|
|
46
|
+
limit?: number;
|
|
47
|
+
offset?: number;
|
|
41
48
|
};
|
|
42
49
|
|
|
43
50
|
export type StepTemplateToDelete = {
|
|
44
51
|
id: string;
|
|
45
52
|
[key: string]: unknown;
|
|
46
53
|
};
|
|
54
|
+
|
|
55
|
+
export type DeactivageFlowParams = {
|
|
56
|
+
id: string;
|
|
57
|
+
data: {
|
|
58
|
+
deploy: {
|
|
59
|
+
role: string;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
export type ActivateFlowParams = DeactivageFlowParams & {
|
|
65
|
+
interactiveDebug?: boolean;
|
|
66
|
+
};
|