@lssm/example.integration-hub 0.0.0-canary-20251223205220 → 0.0.0-canary-20251223213411
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/connection/connection.enum.d.ts +2 -2
- package/dist/connection/connection.operation.d.ts +26 -26
- package/dist/connection/connection.schema.d.ts +16 -16
- package/dist/integration/integration.contracts.d.ts +24 -24
- package/dist/integration/integration.schema.d.ts +16 -16
- package/dist/sync/sync.enum.d.ts +4 -4
- package/dist/sync/sync.enum.d.ts.map +1 -1
- package/dist/sync/sync.schema.d.ts +85 -85
- package/package.json +12 -12
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema68 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/connection/connection.enum.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Connection status enum.
|
|
6
6
|
*/
|
|
7
|
-
declare const ConnectionStatusEnum:
|
|
7
|
+
declare const ConnectionStatusEnum: _lssm_lib_schema68.EnumType<[string, string, string, string, string]>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { ConnectionStatusEnum };
|
|
10
10
|
//# sourceMappingURL=connection.enum.d.ts.map
|
|
@@ -1,103 +1,103 @@
|
|
|
1
1
|
import * as _lssm_lib_contracts8 from "@lssm/lib.contracts";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _lssm_lib_schema40 from "@lssm/lib.schema";
|
|
3
3
|
|
|
4
4
|
//#region src/connection/connection.operation.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Create a connection to an external system.
|
|
7
7
|
*/
|
|
8
|
-
declare const CreateConnectionContract: _lssm_lib_contracts8.OperationSpec<
|
|
8
|
+
declare const CreateConnectionContract: _lssm_lib_contracts8.OperationSpec<_lssm_lib_schema40.SchemaModel<{
|
|
9
9
|
integrationId: {
|
|
10
|
-
type:
|
|
10
|
+
type: _lssm_lib_schema40.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
name: {
|
|
14
|
-
type:
|
|
14
|
+
type: _lssm_lib_schema40.FieldType<string, string>;
|
|
15
15
|
isOptional: false;
|
|
16
16
|
};
|
|
17
17
|
authType: {
|
|
18
|
-
type:
|
|
18
|
+
type: _lssm_lib_schema40.FieldType<string, string>;
|
|
19
19
|
isOptional: false;
|
|
20
20
|
};
|
|
21
21
|
credentials: {
|
|
22
|
-
type:
|
|
22
|
+
type: _lssm_lib_schema40.FieldType<unknown, unknown>;
|
|
23
23
|
isOptional: true;
|
|
24
24
|
};
|
|
25
|
-
}>,
|
|
25
|
+
}>, _lssm_lib_schema40.SchemaModel<{
|
|
26
26
|
id: {
|
|
27
|
-
type:
|
|
27
|
+
type: _lssm_lib_schema40.FieldType<string, string>;
|
|
28
28
|
isOptional: false;
|
|
29
29
|
};
|
|
30
30
|
integrationId: {
|
|
31
|
-
type:
|
|
31
|
+
type: _lssm_lib_schema40.FieldType<string, string>;
|
|
32
32
|
isOptional: false;
|
|
33
33
|
};
|
|
34
34
|
name: {
|
|
35
|
-
type:
|
|
35
|
+
type: _lssm_lib_schema40.FieldType<string, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
status: {
|
|
39
|
-
type:
|
|
39
|
+
type: _lssm_lib_schema40.EnumType<[string, string, string, string, string]>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
authType: {
|
|
43
|
-
type:
|
|
43
|
+
type: _lssm_lib_schema40.FieldType<string, string>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
externalAccountName: {
|
|
47
|
-
type:
|
|
47
|
+
type: _lssm_lib_schema40.FieldType<string, string>;
|
|
48
48
|
isOptional: true;
|
|
49
49
|
};
|
|
50
50
|
connectedAt: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema40.FieldType<Date, string>;
|
|
52
52
|
isOptional: true;
|
|
53
53
|
};
|
|
54
54
|
lastHealthCheck: {
|
|
55
|
-
type:
|
|
55
|
+
type: _lssm_lib_schema40.FieldType<Date, string>;
|
|
56
56
|
isOptional: true;
|
|
57
57
|
};
|
|
58
58
|
healthStatus: {
|
|
59
|
-
type:
|
|
59
|
+
type: _lssm_lib_schema40.FieldType<string, string>;
|
|
60
60
|
isOptional: true;
|
|
61
61
|
};
|
|
62
62
|
}>, {
|
|
63
63
|
name: string;
|
|
64
64
|
version: number;
|
|
65
65
|
when: string;
|
|
66
|
-
payload:
|
|
66
|
+
payload: _lssm_lib_schema40.SchemaModel<{
|
|
67
67
|
id: {
|
|
68
|
-
type:
|
|
68
|
+
type: _lssm_lib_schema40.FieldType<string, string>;
|
|
69
69
|
isOptional: false;
|
|
70
70
|
};
|
|
71
71
|
integrationId: {
|
|
72
|
-
type:
|
|
72
|
+
type: _lssm_lib_schema40.FieldType<string, string>;
|
|
73
73
|
isOptional: false;
|
|
74
74
|
};
|
|
75
75
|
name: {
|
|
76
|
-
type:
|
|
76
|
+
type: _lssm_lib_schema40.FieldType<string, string>;
|
|
77
77
|
isOptional: false;
|
|
78
78
|
};
|
|
79
79
|
status: {
|
|
80
|
-
type:
|
|
80
|
+
type: _lssm_lib_schema40.EnumType<[string, string, string, string, string]>;
|
|
81
81
|
isOptional: false;
|
|
82
82
|
};
|
|
83
83
|
authType: {
|
|
84
|
-
type:
|
|
84
|
+
type: _lssm_lib_schema40.FieldType<string, string>;
|
|
85
85
|
isOptional: false;
|
|
86
86
|
};
|
|
87
87
|
externalAccountName: {
|
|
88
|
-
type:
|
|
88
|
+
type: _lssm_lib_schema40.FieldType<string, string>;
|
|
89
89
|
isOptional: true;
|
|
90
90
|
};
|
|
91
91
|
connectedAt: {
|
|
92
|
-
type:
|
|
92
|
+
type: _lssm_lib_schema40.FieldType<Date, string>;
|
|
93
93
|
isOptional: true;
|
|
94
94
|
};
|
|
95
95
|
lastHealthCheck: {
|
|
96
|
-
type:
|
|
96
|
+
type: _lssm_lib_schema40.FieldType<Date, string>;
|
|
97
97
|
isOptional: true;
|
|
98
98
|
};
|
|
99
99
|
healthStatus: {
|
|
100
|
-
type:
|
|
100
|
+
type: _lssm_lib_schema40.FieldType<string, string>;
|
|
101
101
|
isOptional: true;
|
|
102
102
|
};
|
|
103
103
|
}>;
|
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema153 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/connection/connection.schema.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* A connection to an external system.
|
|
6
6
|
*/
|
|
7
|
-
declare const ConnectionModel:
|
|
7
|
+
declare const ConnectionModel: _lssm_lib_schema153.SchemaModel<{
|
|
8
8
|
id: {
|
|
9
|
-
type:
|
|
9
|
+
type: _lssm_lib_schema153.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
integrationId: {
|
|
13
|
-
type:
|
|
13
|
+
type: _lssm_lib_schema153.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
name: {
|
|
17
|
-
type:
|
|
17
|
+
type: _lssm_lib_schema153.FieldType<string, string>;
|
|
18
18
|
isOptional: false;
|
|
19
19
|
};
|
|
20
20
|
status: {
|
|
21
|
-
type:
|
|
21
|
+
type: _lssm_lib_schema153.EnumType<[string, string, string, string, string]>;
|
|
22
22
|
isOptional: false;
|
|
23
23
|
};
|
|
24
24
|
authType: {
|
|
25
|
-
type:
|
|
25
|
+
type: _lssm_lib_schema153.FieldType<string, string>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
externalAccountName: {
|
|
29
|
-
type:
|
|
29
|
+
type: _lssm_lib_schema153.FieldType<string, string>;
|
|
30
30
|
isOptional: true;
|
|
31
31
|
};
|
|
32
32
|
connectedAt: {
|
|
33
|
-
type:
|
|
33
|
+
type: _lssm_lib_schema153.FieldType<Date, string>;
|
|
34
34
|
isOptional: true;
|
|
35
35
|
};
|
|
36
36
|
lastHealthCheck: {
|
|
37
|
-
type:
|
|
37
|
+
type: _lssm_lib_schema153.FieldType<Date, string>;
|
|
38
38
|
isOptional: true;
|
|
39
39
|
};
|
|
40
40
|
healthStatus: {
|
|
41
|
-
type:
|
|
41
|
+
type: _lssm_lib_schema153.FieldType<string, string>;
|
|
42
42
|
isOptional: true;
|
|
43
43
|
};
|
|
44
44
|
}>;
|
|
45
45
|
/**
|
|
46
46
|
* Input for creating a connection.
|
|
47
47
|
*/
|
|
48
|
-
declare const CreateConnectionInputModel:
|
|
48
|
+
declare const CreateConnectionInputModel: _lssm_lib_schema153.SchemaModel<{
|
|
49
49
|
integrationId: {
|
|
50
|
-
type:
|
|
50
|
+
type: _lssm_lib_schema153.FieldType<string, string>;
|
|
51
51
|
isOptional: false;
|
|
52
52
|
};
|
|
53
53
|
name: {
|
|
54
|
-
type:
|
|
54
|
+
type: _lssm_lib_schema153.FieldType<string, string>;
|
|
55
55
|
isOptional: false;
|
|
56
56
|
};
|
|
57
57
|
authType: {
|
|
58
|
-
type:
|
|
58
|
+
type: _lssm_lib_schema153.FieldType<string, string>;
|
|
59
59
|
isOptional: false;
|
|
60
60
|
};
|
|
61
61
|
credentials: {
|
|
62
|
-
type:
|
|
62
|
+
type: _lssm_lib_schema153.FieldType<unknown, unknown>;
|
|
63
63
|
isOptional: true;
|
|
64
64
|
};
|
|
65
65
|
}>;
|
|
@@ -1,95 +1,95 @@
|
|
|
1
1
|
import * as _lssm_lib_contracts9 from "@lssm/lib.contracts";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _lssm_lib_schema168 from "@lssm/lib.schema";
|
|
3
3
|
|
|
4
4
|
//#region src/integration/integration.contracts.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Create a new integration.
|
|
7
7
|
*/
|
|
8
|
-
declare const CreateIntegrationContract: _lssm_lib_contracts9.OperationSpec<
|
|
8
|
+
declare const CreateIntegrationContract: _lssm_lib_contracts9.OperationSpec<_lssm_lib_schema168.SchemaModel<{
|
|
9
9
|
name: {
|
|
10
|
-
type:
|
|
10
|
+
type: _lssm_lib_schema168.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
slug: {
|
|
14
|
-
type:
|
|
14
|
+
type: _lssm_lib_schema168.FieldType<string, string>;
|
|
15
15
|
isOptional: false;
|
|
16
16
|
};
|
|
17
17
|
description: {
|
|
18
|
-
type:
|
|
18
|
+
type: _lssm_lib_schema168.FieldType<string, string>;
|
|
19
19
|
isOptional: true;
|
|
20
20
|
};
|
|
21
21
|
provider: {
|
|
22
|
-
type:
|
|
22
|
+
type: _lssm_lib_schema168.FieldType<string, string>;
|
|
23
23
|
isOptional: false;
|
|
24
24
|
};
|
|
25
25
|
config: {
|
|
26
|
-
type:
|
|
26
|
+
type: _lssm_lib_schema168.FieldType<unknown, unknown>;
|
|
27
27
|
isOptional: true;
|
|
28
28
|
};
|
|
29
29
|
featureFlagKey: {
|
|
30
|
-
type:
|
|
30
|
+
type: _lssm_lib_schema168.FieldType<string, string>;
|
|
31
31
|
isOptional: true;
|
|
32
32
|
};
|
|
33
|
-
}>,
|
|
33
|
+
}>, _lssm_lib_schema168.SchemaModel<{
|
|
34
34
|
id: {
|
|
35
|
-
type:
|
|
35
|
+
type: _lssm_lib_schema168.FieldType<string, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
name: {
|
|
39
|
-
type:
|
|
39
|
+
type: _lssm_lib_schema168.FieldType<string, string>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
slug: {
|
|
43
|
-
type:
|
|
43
|
+
type: _lssm_lib_schema168.FieldType<string, string>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
description: {
|
|
47
|
-
type:
|
|
47
|
+
type: _lssm_lib_schema168.FieldType<string, string>;
|
|
48
48
|
isOptional: true;
|
|
49
49
|
};
|
|
50
50
|
provider: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema168.FieldType<string, string>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
status: {
|
|
55
|
-
type:
|
|
55
|
+
type: _lssm_lib_schema168.EnumType<[string, string, string, string, string]>;
|
|
56
56
|
isOptional: false;
|
|
57
57
|
};
|
|
58
58
|
createdAt: {
|
|
59
|
-
type:
|
|
59
|
+
type: _lssm_lib_schema168.FieldType<Date, string>;
|
|
60
60
|
isOptional: false;
|
|
61
61
|
};
|
|
62
62
|
}>, {
|
|
63
63
|
name: string;
|
|
64
64
|
version: number;
|
|
65
65
|
when: string;
|
|
66
|
-
payload:
|
|
66
|
+
payload: _lssm_lib_schema168.SchemaModel<{
|
|
67
67
|
id: {
|
|
68
|
-
type:
|
|
68
|
+
type: _lssm_lib_schema168.FieldType<string, string>;
|
|
69
69
|
isOptional: false;
|
|
70
70
|
};
|
|
71
71
|
name: {
|
|
72
|
-
type:
|
|
72
|
+
type: _lssm_lib_schema168.FieldType<string, string>;
|
|
73
73
|
isOptional: false;
|
|
74
74
|
};
|
|
75
75
|
slug: {
|
|
76
|
-
type:
|
|
76
|
+
type: _lssm_lib_schema168.FieldType<string, string>;
|
|
77
77
|
isOptional: false;
|
|
78
78
|
};
|
|
79
79
|
description: {
|
|
80
|
-
type:
|
|
80
|
+
type: _lssm_lib_schema168.FieldType<string, string>;
|
|
81
81
|
isOptional: true;
|
|
82
82
|
};
|
|
83
83
|
provider: {
|
|
84
|
-
type:
|
|
84
|
+
type: _lssm_lib_schema168.FieldType<string, string>;
|
|
85
85
|
isOptional: false;
|
|
86
86
|
};
|
|
87
87
|
status: {
|
|
88
|
-
type:
|
|
88
|
+
type: _lssm_lib_schema168.EnumType<[string, string, string, string, string]>;
|
|
89
89
|
isOptional: false;
|
|
90
90
|
};
|
|
91
91
|
createdAt: {
|
|
92
|
-
type:
|
|
92
|
+
type: _lssm_lib_schema168.FieldType<Date, string>;
|
|
93
93
|
isOptional: false;
|
|
94
94
|
};
|
|
95
95
|
}>;
|
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema191 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/integration/integration.schema.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* An integration with an external system.
|
|
6
6
|
*/
|
|
7
|
-
declare const IntegrationModel:
|
|
7
|
+
declare const IntegrationModel: _lssm_lib_schema191.SchemaModel<{
|
|
8
8
|
id: {
|
|
9
|
-
type:
|
|
9
|
+
type: _lssm_lib_schema191.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
name: {
|
|
13
|
-
type:
|
|
13
|
+
type: _lssm_lib_schema191.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
slug: {
|
|
17
|
-
type:
|
|
17
|
+
type: _lssm_lib_schema191.FieldType<string, string>;
|
|
18
18
|
isOptional: false;
|
|
19
19
|
};
|
|
20
20
|
description: {
|
|
21
|
-
type:
|
|
21
|
+
type: _lssm_lib_schema191.FieldType<string, string>;
|
|
22
22
|
isOptional: true;
|
|
23
23
|
};
|
|
24
24
|
provider: {
|
|
25
|
-
type:
|
|
25
|
+
type: _lssm_lib_schema191.FieldType<string, string>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
status: {
|
|
29
|
-
type:
|
|
29
|
+
type: _lssm_lib_schema191.EnumType<[string, string, string, string, string]>;
|
|
30
30
|
isOptional: false;
|
|
31
31
|
};
|
|
32
32
|
createdAt: {
|
|
33
|
-
type:
|
|
33
|
+
type: _lssm_lib_schema191.FieldType<Date, string>;
|
|
34
34
|
isOptional: false;
|
|
35
35
|
};
|
|
36
36
|
}>;
|
|
37
37
|
/**
|
|
38
38
|
* Input for creating an integration.
|
|
39
39
|
*/
|
|
40
|
-
declare const CreateIntegrationInputModel:
|
|
40
|
+
declare const CreateIntegrationInputModel: _lssm_lib_schema191.SchemaModel<{
|
|
41
41
|
name: {
|
|
42
|
-
type:
|
|
42
|
+
type: _lssm_lib_schema191.FieldType<string, string>;
|
|
43
43
|
isOptional: false;
|
|
44
44
|
};
|
|
45
45
|
slug: {
|
|
46
|
-
type:
|
|
46
|
+
type: _lssm_lib_schema191.FieldType<string, string>;
|
|
47
47
|
isOptional: false;
|
|
48
48
|
};
|
|
49
49
|
description: {
|
|
50
|
-
type:
|
|
50
|
+
type: _lssm_lib_schema191.FieldType<string, string>;
|
|
51
51
|
isOptional: true;
|
|
52
52
|
};
|
|
53
53
|
provider: {
|
|
54
|
-
type:
|
|
54
|
+
type: _lssm_lib_schema191.FieldType<string, string>;
|
|
55
55
|
isOptional: false;
|
|
56
56
|
};
|
|
57
57
|
config: {
|
|
58
|
-
type:
|
|
58
|
+
type: _lssm_lib_schema191.FieldType<unknown, unknown>;
|
|
59
59
|
isOptional: true;
|
|
60
60
|
};
|
|
61
61
|
featureFlagKey: {
|
|
62
|
-
type:
|
|
62
|
+
type: _lssm_lib_schema191.FieldType<string, string>;
|
|
63
63
|
isOptional: true;
|
|
64
64
|
};
|
|
65
65
|
}>;
|
package/dist/sync/sync.enum.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema65 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/sync/sync.enum.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Sync direction enum.
|
|
6
6
|
*/
|
|
7
|
-
declare const SyncDirectionEnum:
|
|
7
|
+
declare const SyncDirectionEnum: _lssm_lib_schema65.EnumType<[string, string, string]>;
|
|
8
8
|
/**
|
|
9
9
|
* Sync status enum.
|
|
10
10
|
*/
|
|
11
|
-
declare const SyncStatusEnum:
|
|
11
|
+
declare const SyncStatusEnum: _lssm_lib_schema65.EnumType<[string, string, string, string, string]>;
|
|
12
12
|
/**
|
|
13
13
|
* Mapping type enum.
|
|
14
14
|
*/
|
|
15
|
-
declare const MappingTypeEnum:
|
|
15
|
+
declare const MappingTypeEnum: _lssm_lib_schema65.EnumType<[string, string, string, string, string]>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { MappingTypeEnum, SyncDirectionEnum, SyncStatusEnum };
|
|
18
18
|
//# sourceMappingURL=sync.enum.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sync.enum.d.ts","names":[],"sources":["../../src/sync/sync.enum.ts"],"sourcesContent":[],"mappings":";;;;;;AAKa,cAAA,iBAIX,EAAA,
|
|
1
|
+
{"version":3,"file":"sync.enum.d.ts","names":[],"sources":["../../src/sync/sync.enum.ts"],"sourcesContent":[],"mappings":";;;;;;AAKa,cAAA,iBAIX,EAAA,kBAAA,CAJ4B,QAAA,CAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,CAAA,CAAA;AAS9B;AAWA;;cAXa,gBAMX,kBAAA,CANyB;;;;cAWd,iBAMX,kBAAA,CAN0B"}
|
|
@@ -1,107 +1,107 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema69 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/sync/sync.schema.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* A field mapping configuration.
|
|
6
6
|
*/
|
|
7
|
-
declare const FieldMappingModel:
|
|
7
|
+
declare const FieldMappingModel: _lssm_lib_schema69.SchemaModel<{
|
|
8
8
|
id: {
|
|
9
|
-
type:
|
|
9
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
sourceField: {
|
|
13
|
-
type:
|
|
13
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
targetField: {
|
|
17
|
-
type:
|
|
17
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
18
18
|
isOptional: false;
|
|
19
19
|
};
|
|
20
20
|
mappingType: {
|
|
21
|
-
type:
|
|
21
|
+
type: _lssm_lib_schema69.EnumType<[string, string, string, string, string]>;
|
|
22
22
|
isOptional: false;
|
|
23
23
|
};
|
|
24
24
|
transformExpression: {
|
|
25
|
-
type:
|
|
25
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
26
26
|
isOptional: true;
|
|
27
27
|
};
|
|
28
28
|
isRequired: {
|
|
29
|
-
type:
|
|
29
|
+
type: _lssm_lib_schema69.FieldType<boolean, boolean>;
|
|
30
30
|
isOptional: false;
|
|
31
31
|
};
|
|
32
32
|
}>;
|
|
33
33
|
/**
|
|
34
34
|
* A sync configuration.
|
|
35
35
|
*/
|
|
36
|
-
declare const SyncConfigModel:
|
|
36
|
+
declare const SyncConfigModel: _lssm_lib_schema69.SchemaModel<{
|
|
37
37
|
id: {
|
|
38
|
-
type:
|
|
38
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
39
39
|
isOptional: false;
|
|
40
40
|
};
|
|
41
41
|
integrationId: {
|
|
42
|
-
type:
|
|
42
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
43
43
|
isOptional: false;
|
|
44
44
|
};
|
|
45
45
|
connectionId: {
|
|
46
|
-
type:
|
|
46
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
47
47
|
isOptional: false;
|
|
48
48
|
};
|
|
49
49
|
name: {
|
|
50
|
-
type:
|
|
50
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
51
51
|
isOptional: false;
|
|
52
52
|
};
|
|
53
53
|
direction: {
|
|
54
|
-
type:
|
|
54
|
+
type: _lssm_lib_schema69.EnumType<[string, string, string]>;
|
|
55
55
|
isOptional: false;
|
|
56
56
|
};
|
|
57
57
|
sourceObject: {
|
|
58
|
-
type:
|
|
58
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
59
59
|
isOptional: false;
|
|
60
60
|
};
|
|
61
61
|
targetObject: {
|
|
62
|
-
type:
|
|
62
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
63
63
|
isOptional: false;
|
|
64
64
|
};
|
|
65
65
|
scheduleEnabled: {
|
|
66
|
-
type:
|
|
66
|
+
type: _lssm_lib_schema69.FieldType<boolean, boolean>;
|
|
67
67
|
isOptional: false;
|
|
68
68
|
};
|
|
69
69
|
scheduleCron: {
|
|
70
|
-
type:
|
|
70
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
71
71
|
isOptional: true;
|
|
72
72
|
};
|
|
73
73
|
isActive: {
|
|
74
|
-
type:
|
|
74
|
+
type: _lssm_lib_schema69.FieldType<boolean, boolean>;
|
|
75
75
|
isOptional: false;
|
|
76
76
|
};
|
|
77
77
|
lastSyncAt: {
|
|
78
|
-
type:
|
|
78
|
+
type: _lssm_lib_schema69.FieldType<Date, string>;
|
|
79
79
|
isOptional: true;
|
|
80
80
|
};
|
|
81
81
|
fieldMappings: {
|
|
82
|
-
type:
|
|
82
|
+
type: _lssm_lib_schema69.SchemaModel<{
|
|
83
83
|
id: {
|
|
84
|
-
type:
|
|
84
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
85
85
|
isOptional: false;
|
|
86
86
|
};
|
|
87
87
|
sourceField: {
|
|
88
|
-
type:
|
|
88
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
89
89
|
isOptional: false;
|
|
90
90
|
};
|
|
91
91
|
targetField: {
|
|
92
|
-
type:
|
|
92
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
93
93
|
isOptional: false;
|
|
94
94
|
};
|
|
95
95
|
mappingType: {
|
|
96
|
-
type:
|
|
96
|
+
type: _lssm_lib_schema69.EnumType<[string, string, string, string, string]>;
|
|
97
97
|
isOptional: false;
|
|
98
98
|
};
|
|
99
99
|
transformExpression: {
|
|
100
|
-
type:
|
|
100
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
101
101
|
isOptional: true;
|
|
102
102
|
};
|
|
103
103
|
isRequired: {
|
|
104
|
-
type:
|
|
104
|
+
type: _lssm_lib_schema69.FieldType<boolean, boolean>;
|
|
105
105
|
isOptional: false;
|
|
106
106
|
};
|
|
107
107
|
}>;
|
|
@@ -112,174 +112,174 @@ declare const SyncConfigModel: _lssm_lib_schema66.SchemaModel<{
|
|
|
112
112
|
/**
|
|
113
113
|
* A sync run.
|
|
114
114
|
*/
|
|
115
|
-
declare const SyncRunModel:
|
|
115
|
+
declare const SyncRunModel: _lssm_lib_schema69.SchemaModel<{
|
|
116
116
|
id: {
|
|
117
|
-
type:
|
|
117
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
118
118
|
isOptional: false;
|
|
119
119
|
};
|
|
120
120
|
syncConfigId: {
|
|
121
|
-
type:
|
|
121
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
122
122
|
isOptional: false;
|
|
123
123
|
};
|
|
124
124
|
status: {
|
|
125
|
-
type:
|
|
125
|
+
type: _lssm_lib_schema69.EnumType<[string, string, string, string, string]>;
|
|
126
126
|
isOptional: false;
|
|
127
127
|
};
|
|
128
128
|
direction: {
|
|
129
|
-
type:
|
|
129
|
+
type: _lssm_lib_schema69.EnumType<[string, string, string]>;
|
|
130
130
|
isOptional: false;
|
|
131
131
|
};
|
|
132
132
|
trigger: {
|
|
133
|
-
type:
|
|
133
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
134
134
|
isOptional: false;
|
|
135
135
|
};
|
|
136
136
|
recordsProcessed: {
|
|
137
|
-
type:
|
|
137
|
+
type: _lssm_lib_schema69.FieldType<number, number>;
|
|
138
138
|
isOptional: false;
|
|
139
139
|
};
|
|
140
140
|
recordsCreated: {
|
|
141
|
-
type:
|
|
141
|
+
type: _lssm_lib_schema69.FieldType<number, number>;
|
|
142
142
|
isOptional: false;
|
|
143
143
|
};
|
|
144
144
|
recordsUpdated: {
|
|
145
|
-
type:
|
|
145
|
+
type: _lssm_lib_schema69.FieldType<number, number>;
|
|
146
146
|
isOptional: false;
|
|
147
147
|
};
|
|
148
148
|
recordsFailed: {
|
|
149
|
-
type:
|
|
149
|
+
type: _lssm_lib_schema69.FieldType<number, number>;
|
|
150
150
|
isOptional: false;
|
|
151
151
|
};
|
|
152
152
|
errorMessage: {
|
|
153
|
-
type:
|
|
153
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
154
154
|
isOptional: true;
|
|
155
155
|
};
|
|
156
156
|
startedAt: {
|
|
157
|
-
type:
|
|
157
|
+
type: _lssm_lib_schema69.FieldType<Date, string>;
|
|
158
158
|
isOptional: true;
|
|
159
159
|
};
|
|
160
160
|
completedAt: {
|
|
161
|
-
type:
|
|
161
|
+
type: _lssm_lib_schema69.FieldType<Date, string>;
|
|
162
162
|
isOptional: true;
|
|
163
163
|
};
|
|
164
164
|
createdAt: {
|
|
165
|
-
type:
|
|
165
|
+
type: _lssm_lib_schema69.FieldType<Date, string>;
|
|
166
166
|
isOptional: false;
|
|
167
167
|
};
|
|
168
168
|
}>;
|
|
169
169
|
/**
|
|
170
170
|
* Input for creating a sync config.
|
|
171
171
|
*/
|
|
172
|
-
declare const CreateSyncConfigInputModel:
|
|
172
|
+
declare const CreateSyncConfigInputModel: _lssm_lib_schema69.SchemaModel<{
|
|
173
173
|
integrationId: {
|
|
174
|
-
type:
|
|
174
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
175
175
|
isOptional: false;
|
|
176
176
|
};
|
|
177
177
|
connectionId: {
|
|
178
|
-
type:
|
|
178
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
179
179
|
isOptional: false;
|
|
180
180
|
};
|
|
181
181
|
name: {
|
|
182
|
-
type:
|
|
182
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
183
183
|
isOptional: false;
|
|
184
184
|
};
|
|
185
185
|
direction: {
|
|
186
|
-
type:
|
|
186
|
+
type: _lssm_lib_schema69.EnumType<[string, string, string]>;
|
|
187
187
|
isOptional: false;
|
|
188
188
|
};
|
|
189
189
|
sourceObject: {
|
|
190
|
-
type:
|
|
190
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
191
191
|
isOptional: false;
|
|
192
192
|
};
|
|
193
193
|
targetObject: {
|
|
194
|
-
type:
|
|
194
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
195
195
|
isOptional: false;
|
|
196
196
|
};
|
|
197
197
|
scheduleEnabled: {
|
|
198
|
-
type:
|
|
198
|
+
type: _lssm_lib_schema69.FieldType<boolean, boolean>;
|
|
199
199
|
isOptional: true;
|
|
200
200
|
};
|
|
201
201
|
scheduleCron: {
|
|
202
|
-
type:
|
|
202
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
203
203
|
isOptional: true;
|
|
204
204
|
};
|
|
205
205
|
}>;
|
|
206
206
|
/**
|
|
207
207
|
* Input for adding a field mapping.
|
|
208
208
|
*/
|
|
209
|
-
declare const AddFieldMappingInputModel:
|
|
209
|
+
declare const AddFieldMappingInputModel: _lssm_lib_schema69.SchemaModel<{
|
|
210
210
|
syncConfigId: {
|
|
211
|
-
type:
|
|
211
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
212
212
|
isOptional: false;
|
|
213
213
|
};
|
|
214
214
|
sourceField: {
|
|
215
|
-
type:
|
|
215
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
216
216
|
isOptional: false;
|
|
217
217
|
};
|
|
218
218
|
targetField: {
|
|
219
|
-
type:
|
|
219
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
220
220
|
isOptional: false;
|
|
221
221
|
};
|
|
222
222
|
mappingType: {
|
|
223
|
-
type:
|
|
223
|
+
type: _lssm_lib_schema69.EnumType<[string, string, string, string, string]>;
|
|
224
224
|
isOptional: false;
|
|
225
225
|
};
|
|
226
226
|
transformExpression: {
|
|
227
|
-
type:
|
|
227
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
228
228
|
isOptional: true;
|
|
229
229
|
};
|
|
230
230
|
lookupConfig: {
|
|
231
|
-
type:
|
|
231
|
+
type: _lssm_lib_schema69.FieldType<unknown, unknown>;
|
|
232
232
|
isOptional: true;
|
|
233
233
|
};
|
|
234
234
|
constantValue: {
|
|
235
|
-
type:
|
|
235
|
+
type: _lssm_lib_schema69.FieldType<unknown, unknown>;
|
|
236
236
|
isOptional: true;
|
|
237
237
|
};
|
|
238
238
|
isRequired: {
|
|
239
|
-
type:
|
|
239
|
+
type: _lssm_lib_schema69.FieldType<boolean, boolean>;
|
|
240
240
|
isOptional: true;
|
|
241
241
|
};
|
|
242
242
|
defaultValue: {
|
|
243
|
-
type:
|
|
243
|
+
type: _lssm_lib_schema69.FieldType<unknown, unknown>;
|
|
244
244
|
isOptional: true;
|
|
245
245
|
};
|
|
246
246
|
}>;
|
|
247
247
|
/**
|
|
248
248
|
* Input for triggering a sync.
|
|
249
249
|
*/
|
|
250
|
-
declare const TriggerSyncInputModel:
|
|
250
|
+
declare const TriggerSyncInputModel: _lssm_lib_schema69.SchemaModel<{
|
|
251
251
|
syncConfigId: {
|
|
252
|
-
type:
|
|
252
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
253
253
|
isOptional: false;
|
|
254
254
|
};
|
|
255
255
|
direction: {
|
|
256
|
-
type:
|
|
256
|
+
type: _lssm_lib_schema69.EnumType<[string, string, string]>;
|
|
257
257
|
isOptional: true;
|
|
258
258
|
};
|
|
259
259
|
fullSync: {
|
|
260
|
-
type:
|
|
260
|
+
type: _lssm_lib_schema69.FieldType<boolean, boolean>;
|
|
261
261
|
isOptional: true;
|
|
262
262
|
};
|
|
263
263
|
}>;
|
|
264
264
|
/**
|
|
265
265
|
* Input for listing sync runs.
|
|
266
266
|
*/
|
|
267
|
-
declare const ListSyncRunsInputModel:
|
|
267
|
+
declare const ListSyncRunsInputModel: _lssm_lib_schema69.SchemaModel<{
|
|
268
268
|
syncConfigId: {
|
|
269
|
-
type:
|
|
269
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
270
270
|
isOptional: false;
|
|
271
271
|
};
|
|
272
272
|
status: {
|
|
273
|
-
type:
|
|
273
|
+
type: _lssm_lib_schema69.EnumType<[string, string, string, string, string]>;
|
|
274
274
|
isOptional: true;
|
|
275
275
|
};
|
|
276
276
|
limit: {
|
|
277
|
-
type:
|
|
277
|
+
type: _lssm_lib_schema69.FieldType<number, number>;
|
|
278
278
|
isOptional: true;
|
|
279
279
|
defaultValue: number;
|
|
280
280
|
};
|
|
281
281
|
offset: {
|
|
282
|
-
type:
|
|
282
|
+
type: _lssm_lib_schema69.FieldType<number, number>;
|
|
283
283
|
isOptional: true;
|
|
284
284
|
defaultValue: number;
|
|
285
285
|
};
|
|
@@ -287,59 +287,59 @@ declare const ListSyncRunsInputModel: _lssm_lib_schema66.SchemaModel<{
|
|
|
287
287
|
/**
|
|
288
288
|
* Output for listing sync runs.
|
|
289
289
|
*/
|
|
290
|
-
declare const ListSyncRunsOutputModel:
|
|
290
|
+
declare const ListSyncRunsOutputModel: _lssm_lib_schema69.SchemaModel<{
|
|
291
291
|
runs: {
|
|
292
|
-
type:
|
|
292
|
+
type: _lssm_lib_schema69.SchemaModel<{
|
|
293
293
|
id: {
|
|
294
|
-
type:
|
|
294
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
295
295
|
isOptional: false;
|
|
296
296
|
};
|
|
297
297
|
syncConfigId: {
|
|
298
|
-
type:
|
|
298
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
299
299
|
isOptional: false;
|
|
300
300
|
};
|
|
301
301
|
status: {
|
|
302
|
-
type:
|
|
302
|
+
type: _lssm_lib_schema69.EnumType<[string, string, string, string, string]>;
|
|
303
303
|
isOptional: false;
|
|
304
304
|
};
|
|
305
305
|
direction: {
|
|
306
|
-
type:
|
|
306
|
+
type: _lssm_lib_schema69.EnumType<[string, string, string]>;
|
|
307
307
|
isOptional: false;
|
|
308
308
|
};
|
|
309
309
|
trigger: {
|
|
310
|
-
type:
|
|
310
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
311
311
|
isOptional: false;
|
|
312
312
|
};
|
|
313
313
|
recordsProcessed: {
|
|
314
|
-
type:
|
|
314
|
+
type: _lssm_lib_schema69.FieldType<number, number>;
|
|
315
315
|
isOptional: false;
|
|
316
316
|
};
|
|
317
317
|
recordsCreated: {
|
|
318
|
-
type:
|
|
318
|
+
type: _lssm_lib_schema69.FieldType<number, number>;
|
|
319
319
|
isOptional: false;
|
|
320
320
|
};
|
|
321
321
|
recordsUpdated: {
|
|
322
|
-
type:
|
|
322
|
+
type: _lssm_lib_schema69.FieldType<number, number>;
|
|
323
323
|
isOptional: false;
|
|
324
324
|
};
|
|
325
325
|
recordsFailed: {
|
|
326
|
-
type:
|
|
326
|
+
type: _lssm_lib_schema69.FieldType<number, number>;
|
|
327
327
|
isOptional: false;
|
|
328
328
|
};
|
|
329
329
|
errorMessage: {
|
|
330
|
-
type:
|
|
330
|
+
type: _lssm_lib_schema69.FieldType<string, string>;
|
|
331
331
|
isOptional: true;
|
|
332
332
|
};
|
|
333
333
|
startedAt: {
|
|
334
|
-
type:
|
|
334
|
+
type: _lssm_lib_schema69.FieldType<Date, string>;
|
|
335
335
|
isOptional: true;
|
|
336
336
|
};
|
|
337
337
|
completedAt: {
|
|
338
|
-
type:
|
|
338
|
+
type: _lssm_lib_schema69.FieldType<Date, string>;
|
|
339
339
|
isOptional: true;
|
|
340
340
|
};
|
|
341
341
|
createdAt: {
|
|
342
|
-
type:
|
|
342
|
+
type: _lssm_lib_schema69.FieldType<Date, string>;
|
|
343
343
|
isOptional: false;
|
|
344
344
|
};
|
|
345
345
|
}>;
|
|
@@ -347,7 +347,7 @@ declare const ListSyncRunsOutputModel: _lssm_lib_schema66.SchemaModel<{
|
|
|
347
347
|
isOptional: false;
|
|
348
348
|
};
|
|
349
349
|
total: {
|
|
350
|
-
type:
|
|
350
|
+
type: _lssm_lib_schema69.FieldType<number, number>;
|
|
351
351
|
isOptional: false;
|
|
352
352
|
};
|
|
353
353
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lssm/example.integration-hub",
|
|
3
|
-
"version": "0.0.0-canary-
|
|
3
|
+
"version": "0.0.0-canary-20251223213411",
|
|
4
4
|
"description": "Integration Hub example with sync engine and field mappings for ContractSpec",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -18,20 +18,20 @@
|
|
|
18
18
|
"lint:check": "eslint src"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@lssm/lib.schema": "0.0.0-canary-
|
|
22
|
-
"@lssm/lib.contracts": "0.0.0-canary-
|
|
23
|
-
"@lssm/lib.bus": "0.0.0-canary-
|
|
24
|
-
"@lssm/lib.identity-rbac": "0.0.0-canary-
|
|
25
|
-
"@lssm/lib.files": "0.0.0-canary-
|
|
26
|
-
"@lssm/lib.feature-flags": "0.0.0-canary-
|
|
27
|
-
"@lssm/lib.jobs": "0.0.0-canary-
|
|
28
|
-
"@lssm/module.audit-trail": "0.0.0-canary-
|
|
29
|
-
"@lssm/module.notifications": "0.0.0-canary-
|
|
21
|
+
"@lssm/lib.schema": "0.0.0-canary-20251223213411",
|
|
22
|
+
"@lssm/lib.contracts": "0.0.0-canary-20251223213411",
|
|
23
|
+
"@lssm/lib.bus": "0.0.0-canary-20251223213411",
|
|
24
|
+
"@lssm/lib.identity-rbac": "0.0.0-canary-20251223213411",
|
|
25
|
+
"@lssm/lib.files": "0.0.0-canary-20251223213411",
|
|
26
|
+
"@lssm/lib.feature-flags": "0.0.0-canary-20251223213411",
|
|
27
|
+
"@lssm/lib.jobs": "0.0.0-canary-20251223213411",
|
|
28
|
+
"@lssm/module.audit-trail": "0.0.0-canary-20251223213411",
|
|
29
|
+
"@lssm/module.notifications": "0.0.0-canary-20251223213411",
|
|
30
30
|
"zod": "^4.1.13"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@lssm/tool.typescript": "0.0.0-canary-
|
|
34
|
-
"@lssm/tool.tsdown": "0.0.0-canary-
|
|
33
|
+
"@lssm/tool.typescript": "0.0.0-canary-20251223213411",
|
|
34
|
+
"@lssm/tool.tsdown": "0.0.0-canary-20251223213411",
|
|
35
35
|
"typescript": "^5.9.3"
|
|
36
36
|
},
|
|
37
37
|
"exports": {
|