@or-sdk/flows 0.27.0-beta.427.0 → 0.27.1-beta.531.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/src/types.ts CHANGED
@@ -18,17 +18,14 @@ export type FlowsConfig = {
18
18
  accountId?: string;
19
19
 
20
20
  /**
21
- * Url of OneReach DataHub2 api
21
+ * Url of OneReach DataHub api
22
22
  */
23
- dataHub2Url?: string;
23
+ dataHubUrl?: string;
24
+
24
25
  /**
25
26
  * Url of OneReach Deployer api
26
27
  */
27
28
  deployerUrl?: string;
28
- /**
29
- * Url of OneReach SDK api
30
- */
31
- sdkApiUrl?: string;
32
29
  };
33
30
 
34
31
  export type FlowListResponse = {
@@ -38,29 +35,12 @@ export type FlowListResponse = {
38
35
  };
39
36
 
40
37
  export type ListFlowsParams = {
41
- includeDeleted?: boolean;
42
- includeExisting?: boolean;
43
- projection?: string[];
44
- query?: {[key: string]: any;};
45
- sandbox?: boolean;
46
- limit?: number;
47
- offset?: number;
38
+ includeDeleted: boolean;
39
+ includeExisting: boolean;
40
+ projection: string[];
48
41
  };
49
42
 
50
43
  export type StepTemplateToDelete = {
51
44
  id: string;
52
45
  [key: string]: unknown;
53
46
  };
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
- };
package/tsconfig.dev.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "extends": "./tsconfig.esm.json",
3
3
  "compilerOptions": {
4
- "outDir": "./dist/types",
4
+ "declarationDir": "./dist/types",
5
5
  "rootDir": "./src",
6
- "declaration": true,
6
+ "declaration": true
7
7
  }
8
8
  }
package/tsconfig.esm.json CHANGED
@@ -1,9 +1,12 @@
1
1
  {
2
2
  "extends": "../../tsconfig.json",
3
3
  "compilerOptions": {
4
+ "outDir": "./dist/esm",
5
+ "declarationDir": "./dist/types",
4
6
  "module": "ES6",
5
7
  "target": "es6",
6
- "outDir": "./dist/esm/",
7
- "rootDir": "./src"
8
+ "rootDir": "./src",
9
+ "declaration": true,
10
+ "declarationMap": true
8
11
  }
9
- }
12
+ }
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "extends": "../../tsconfig.json",
3
3
  "compilerOptions": {
4
- "outDir": "./dist/types/",
4
+ "outDir": "./dist/types",
5
5
  "rootDir": "./src",
6
6
  "declaration": true,
7
+ "declarationMap": true,
7
8
  "emitDeclarationOnly": true
8
9
  }
9
10
  }