@lssm/example.integration-hub 0.0.0-canary-20251223014602 → 0.0.0-canary-20251223021521
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/integration/integration.contracts.d.ts +24 -24
- package/dist/integration/integration.enum.d.ts +2 -2
- package/dist/integration/integration.enum.d.ts.map +1 -1
- package/dist/integration/integration.schema.d.ts +16 -16
- package/dist/sync/sync.contracts.d.ts +125 -125
- package/dist/sync/sync.enum.d.ts +4 -4
- package/package.json +12 -12
|
@@ -1,95 +1,95 @@
|
|
|
1
1
|
import * as _lssm_lib_contracts9 from "@lssm/lib.contracts";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _lssm_lib_schema82 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_schema82.SchemaModel<{
|
|
9
9
|
name: {
|
|
10
|
-
type:
|
|
10
|
+
type: _lssm_lib_schema82.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
slug: {
|
|
14
|
-
type:
|
|
14
|
+
type: _lssm_lib_schema82.FieldType<string, string>;
|
|
15
15
|
isOptional: false;
|
|
16
16
|
};
|
|
17
17
|
description: {
|
|
18
|
-
type:
|
|
18
|
+
type: _lssm_lib_schema82.FieldType<string, string>;
|
|
19
19
|
isOptional: true;
|
|
20
20
|
};
|
|
21
21
|
provider: {
|
|
22
|
-
type:
|
|
22
|
+
type: _lssm_lib_schema82.FieldType<string, string>;
|
|
23
23
|
isOptional: false;
|
|
24
24
|
};
|
|
25
25
|
config: {
|
|
26
|
-
type:
|
|
26
|
+
type: _lssm_lib_schema82.FieldType<unknown, unknown>;
|
|
27
27
|
isOptional: true;
|
|
28
28
|
};
|
|
29
29
|
featureFlagKey: {
|
|
30
|
-
type:
|
|
30
|
+
type: _lssm_lib_schema82.FieldType<string, string>;
|
|
31
31
|
isOptional: true;
|
|
32
32
|
};
|
|
33
|
-
}>,
|
|
33
|
+
}>, _lssm_lib_schema82.SchemaModel<{
|
|
34
34
|
id: {
|
|
35
|
-
type:
|
|
35
|
+
type: _lssm_lib_schema82.FieldType<string, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
name: {
|
|
39
|
-
type:
|
|
39
|
+
type: _lssm_lib_schema82.FieldType<string, string>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
slug: {
|
|
43
|
-
type:
|
|
43
|
+
type: _lssm_lib_schema82.FieldType<string, string>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
description: {
|
|
47
|
-
type:
|
|
47
|
+
type: _lssm_lib_schema82.FieldType<string, string>;
|
|
48
48
|
isOptional: true;
|
|
49
49
|
};
|
|
50
50
|
provider: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema82.FieldType<string, string>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
status: {
|
|
55
|
-
type:
|
|
55
|
+
type: _lssm_lib_schema82.EnumType<[string, string, string, string, string]>;
|
|
56
56
|
isOptional: false;
|
|
57
57
|
};
|
|
58
58
|
createdAt: {
|
|
59
|
-
type:
|
|
59
|
+
type: _lssm_lib_schema82.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_schema82.SchemaModel<{
|
|
67
67
|
id: {
|
|
68
|
-
type:
|
|
68
|
+
type: _lssm_lib_schema82.FieldType<string, string>;
|
|
69
69
|
isOptional: false;
|
|
70
70
|
};
|
|
71
71
|
name: {
|
|
72
|
-
type:
|
|
72
|
+
type: _lssm_lib_schema82.FieldType<string, string>;
|
|
73
73
|
isOptional: false;
|
|
74
74
|
};
|
|
75
75
|
slug: {
|
|
76
|
-
type:
|
|
76
|
+
type: _lssm_lib_schema82.FieldType<string, string>;
|
|
77
77
|
isOptional: false;
|
|
78
78
|
};
|
|
79
79
|
description: {
|
|
80
|
-
type:
|
|
80
|
+
type: _lssm_lib_schema82.FieldType<string, string>;
|
|
81
81
|
isOptional: true;
|
|
82
82
|
};
|
|
83
83
|
provider: {
|
|
84
|
-
type:
|
|
84
|
+
type: _lssm_lib_schema82.FieldType<string, string>;
|
|
85
85
|
isOptional: false;
|
|
86
86
|
};
|
|
87
87
|
status: {
|
|
88
|
-
type:
|
|
88
|
+
type: _lssm_lib_schema82.EnumType<[string, string, string, string, string]>;
|
|
89
89
|
isOptional: false;
|
|
90
90
|
};
|
|
91
91
|
createdAt: {
|
|
92
|
-
type:
|
|
92
|
+
type: _lssm_lib_schema82.FieldType<Date, string>;
|
|
93
93
|
isOptional: false;
|
|
94
94
|
};
|
|
95
95
|
}>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema81 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/integration/integration.enum.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Integration status enum.
|
|
6
6
|
*/
|
|
7
|
-
declare const IntegrationStatusEnum:
|
|
7
|
+
declare const IntegrationStatusEnum: _lssm_lib_schema81.EnumType<[string, string, string, string, string]>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { IntegrationStatusEnum };
|
|
10
10
|
//# sourceMappingURL=integration.enum.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integration.enum.d.ts","names":[],"sources":["../../src/integration/integration.enum.ts"],"sourcesContent":[],"mappings":";;;;;;AAKa,cAAA,qBAMX,EAAA,
|
|
1
|
+
{"version":3,"file":"integration.enum.d.ts","names":[],"sources":["../../src/integration/integration.enum.ts"],"sourcesContent":[],"mappings":";;;;;;AAKa,cAAA,qBAMX,EAAA,kBAAA,CANgC,QAAA,CAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,CAAA,CAAA"}
|
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema105 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_schema105.SchemaModel<{
|
|
8
8
|
id: {
|
|
9
|
-
type:
|
|
9
|
+
type: _lssm_lib_schema105.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
name: {
|
|
13
|
-
type:
|
|
13
|
+
type: _lssm_lib_schema105.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
slug: {
|
|
17
|
-
type:
|
|
17
|
+
type: _lssm_lib_schema105.FieldType<string, string>;
|
|
18
18
|
isOptional: false;
|
|
19
19
|
};
|
|
20
20
|
description: {
|
|
21
|
-
type:
|
|
21
|
+
type: _lssm_lib_schema105.FieldType<string, string>;
|
|
22
22
|
isOptional: true;
|
|
23
23
|
};
|
|
24
24
|
provider: {
|
|
25
|
-
type:
|
|
25
|
+
type: _lssm_lib_schema105.FieldType<string, string>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
status: {
|
|
29
|
-
type:
|
|
29
|
+
type: _lssm_lib_schema105.EnumType<[string, string, string, string, string]>;
|
|
30
30
|
isOptional: false;
|
|
31
31
|
};
|
|
32
32
|
createdAt: {
|
|
33
|
-
type:
|
|
33
|
+
type: _lssm_lib_schema105.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_schema105.SchemaModel<{
|
|
41
41
|
name: {
|
|
42
|
-
type:
|
|
42
|
+
type: _lssm_lib_schema105.FieldType<string, string>;
|
|
43
43
|
isOptional: false;
|
|
44
44
|
};
|
|
45
45
|
slug: {
|
|
46
|
-
type:
|
|
46
|
+
type: _lssm_lib_schema105.FieldType<string, string>;
|
|
47
47
|
isOptional: false;
|
|
48
48
|
};
|
|
49
49
|
description: {
|
|
50
|
-
type:
|
|
50
|
+
type: _lssm_lib_schema105.FieldType<string, string>;
|
|
51
51
|
isOptional: true;
|
|
52
52
|
};
|
|
53
53
|
provider: {
|
|
54
|
-
type:
|
|
54
|
+
type: _lssm_lib_schema105.FieldType<string, string>;
|
|
55
55
|
isOptional: false;
|
|
56
56
|
};
|
|
57
57
|
config: {
|
|
58
|
-
type:
|
|
58
|
+
type: _lssm_lib_schema105.FieldType<unknown, unknown>;
|
|
59
59
|
isOptional: true;
|
|
60
60
|
};
|
|
61
61
|
featureFlagKey: {
|
|
62
|
-
type:
|
|
62
|
+
type: _lssm_lib_schema105.FieldType<string, string>;
|
|
63
63
|
isOptional: true;
|
|
64
64
|
};
|
|
65
65
|
}>;
|
|
@@ -1,112 +1,112 @@
|
|
|
1
1
|
import * as _lssm_lib_contracts10 from "@lssm/lib.contracts";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _lssm_lib_schema123 from "@lssm/lib.schema";
|
|
3
3
|
|
|
4
4
|
//#region src/sync/sync.contracts.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Create a sync configuration.
|
|
7
7
|
*/
|
|
8
|
-
declare const CreateSyncConfigContract: _lssm_lib_contracts10.OperationSpec<
|
|
8
|
+
declare const CreateSyncConfigContract: _lssm_lib_contracts10.OperationSpec<_lssm_lib_schema123.SchemaModel<{
|
|
9
9
|
integrationId: {
|
|
10
|
-
type:
|
|
10
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
connectionId: {
|
|
14
|
-
type:
|
|
14
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
15
15
|
isOptional: false;
|
|
16
16
|
};
|
|
17
17
|
name: {
|
|
18
|
-
type:
|
|
18
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
19
19
|
isOptional: false;
|
|
20
20
|
};
|
|
21
21
|
direction: {
|
|
22
|
-
type:
|
|
22
|
+
type: _lssm_lib_schema123.EnumType<[string, string, string]>;
|
|
23
23
|
isOptional: false;
|
|
24
24
|
};
|
|
25
25
|
sourceObject: {
|
|
26
|
-
type:
|
|
26
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
27
27
|
isOptional: false;
|
|
28
28
|
};
|
|
29
29
|
targetObject: {
|
|
30
|
-
type:
|
|
30
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
31
31
|
isOptional: false;
|
|
32
32
|
};
|
|
33
33
|
scheduleEnabled: {
|
|
34
|
-
type:
|
|
34
|
+
type: _lssm_lib_schema123.FieldType<boolean, boolean>;
|
|
35
35
|
isOptional: true;
|
|
36
36
|
};
|
|
37
37
|
scheduleCron: {
|
|
38
|
-
type:
|
|
38
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
39
39
|
isOptional: true;
|
|
40
40
|
};
|
|
41
|
-
}>,
|
|
41
|
+
}>, _lssm_lib_schema123.SchemaModel<{
|
|
42
42
|
id: {
|
|
43
|
-
type:
|
|
43
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
integrationId: {
|
|
47
|
-
type:
|
|
47
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
connectionId: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
name: {
|
|
55
|
-
type:
|
|
55
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
56
56
|
isOptional: false;
|
|
57
57
|
};
|
|
58
58
|
direction: {
|
|
59
|
-
type:
|
|
59
|
+
type: _lssm_lib_schema123.EnumType<[string, string, string]>;
|
|
60
60
|
isOptional: false;
|
|
61
61
|
};
|
|
62
62
|
sourceObject: {
|
|
63
|
-
type:
|
|
63
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
64
64
|
isOptional: false;
|
|
65
65
|
};
|
|
66
66
|
targetObject: {
|
|
67
|
-
type:
|
|
67
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
68
68
|
isOptional: false;
|
|
69
69
|
};
|
|
70
70
|
scheduleEnabled: {
|
|
71
|
-
type:
|
|
71
|
+
type: _lssm_lib_schema123.FieldType<boolean, boolean>;
|
|
72
72
|
isOptional: false;
|
|
73
73
|
};
|
|
74
74
|
scheduleCron: {
|
|
75
|
-
type:
|
|
75
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
76
76
|
isOptional: true;
|
|
77
77
|
};
|
|
78
78
|
isActive: {
|
|
79
|
-
type:
|
|
79
|
+
type: _lssm_lib_schema123.FieldType<boolean, boolean>;
|
|
80
80
|
isOptional: false;
|
|
81
81
|
};
|
|
82
82
|
lastSyncAt: {
|
|
83
|
-
type:
|
|
83
|
+
type: _lssm_lib_schema123.FieldType<Date, string>;
|
|
84
84
|
isOptional: true;
|
|
85
85
|
};
|
|
86
86
|
fieldMappings: {
|
|
87
|
-
type:
|
|
87
|
+
type: _lssm_lib_schema123.SchemaModel<{
|
|
88
88
|
id: {
|
|
89
|
-
type:
|
|
89
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
90
90
|
isOptional: false;
|
|
91
91
|
};
|
|
92
92
|
sourceField: {
|
|
93
|
-
type:
|
|
93
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
94
94
|
isOptional: false;
|
|
95
95
|
};
|
|
96
96
|
targetField: {
|
|
97
|
-
type:
|
|
97
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
98
98
|
isOptional: false;
|
|
99
99
|
};
|
|
100
100
|
mappingType: {
|
|
101
|
-
type:
|
|
101
|
+
type: _lssm_lib_schema123.EnumType<[string, string, string, string, string]>;
|
|
102
102
|
isOptional: false;
|
|
103
103
|
};
|
|
104
104
|
transformExpression: {
|
|
105
|
-
type:
|
|
105
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
106
106
|
isOptional: true;
|
|
107
107
|
};
|
|
108
108
|
isRequired: {
|
|
109
|
-
type:
|
|
109
|
+
type: _lssm_lib_schema123.FieldType<boolean, boolean>;
|
|
110
110
|
isOptional: false;
|
|
111
111
|
};
|
|
112
112
|
}>;
|
|
@@ -117,75 +117,75 @@ declare const CreateSyncConfigContract: _lssm_lib_contracts10.OperationSpec<_lss
|
|
|
117
117
|
name: string;
|
|
118
118
|
version: number;
|
|
119
119
|
when: string;
|
|
120
|
-
payload:
|
|
120
|
+
payload: _lssm_lib_schema123.SchemaModel<{
|
|
121
121
|
id: {
|
|
122
|
-
type:
|
|
122
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
123
123
|
isOptional: false;
|
|
124
124
|
};
|
|
125
125
|
integrationId: {
|
|
126
|
-
type:
|
|
126
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
127
127
|
isOptional: false;
|
|
128
128
|
};
|
|
129
129
|
connectionId: {
|
|
130
|
-
type:
|
|
130
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
131
131
|
isOptional: false;
|
|
132
132
|
};
|
|
133
133
|
name: {
|
|
134
|
-
type:
|
|
134
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
135
135
|
isOptional: false;
|
|
136
136
|
};
|
|
137
137
|
direction: {
|
|
138
|
-
type:
|
|
138
|
+
type: _lssm_lib_schema123.EnumType<[string, string, string]>;
|
|
139
139
|
isOptional: false;
|
|
140
140
|
};
|
|
141
141
|
sourceObject: {
|
|
142
|
-
type:
|
|
142
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
143
143
|
isOptional: false;
|
|
144
144
|
};
|
|
145
145
|
targetObject: {
|
|
146
|
-
type:
|
|
146
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
147
147
|
isOptional: false;
|
|
148
148
|
};
|
|
149
149
|
scheduleEnabled: {
|
|
150
|
-
type:
|
|
150
|
+
type: _lssm_lib_schema123.FieldType<boolean, boolean>;
|
|
151
151
|
isOptional: false;
|
|
152
152
|
};
|
|
153
153
|
scheduleCron: {
|
|
154
|
-
type:
|
|
154
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
155
155
|
isOptional: true;
|
|
156
156
|
};
|
|
157
157
|
isActive: {
|
|
158
|
-
type:
|
|
158
|
+
type: _lssm_lib_schema123.FieldType<boolean, boolean>;
|
|
159
159
|
isOptional: false;
|
|
160
160
|
};
|
|
161
161
|
lastSyncAt: {
|
|
162
|
-
type:
|
|
162
|
+
type: _lssm_lib_schema123.FieldType<Date, string>;
|
|
163
163
|
isOptional: true;
|
|
164
164
|
};
|
|
165
165
|
fieldMappings: {
|
|
166
|
-
type:
|
|
166
|
+
type: _lssm_lib_schema123.SchemaModel<{
|
|
167
167
|
id: {
|
|
168
|
-
type:
|
|
168
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
169
169
|
isOptional: false;
|
|
170
170
|
};
|
|
171
171
|
sourceField: {
|
|
172
|
-
type:
|
|
172
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
173
173
|
isOptional: false;
|
|
174
174
|
};
|
|
175
175
|
targetField: {
|
|
176
|
-
type:
|
|
176
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
177
177
|
isOptional: false;
|
|
178
178
|
};
|
|
179
179
|
mappingType: {
|
|
180
|
-
type:
|
|
180
|
+
type: _lssm_lib_schema123.EnumType<[string, string, string, string, string]>;
|
|
181
181
|
isOptional: false;
|
|
182
182
|
};
|
|
183
183
|
transformExpression: {
|
|
184
|
-
type:
|
|
184
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
185
185
|
isOptional: true;
|
|
186
186
|
};
|
|
187
187
|
isRequired: {
|
|
188
|
-
type:
|
|
188
|
+
type: _lssm_lib_schema123.FieldType<boolean, boolean>;
|
|
189
189
|
isOptional: false;
|
|
190
190
|
};
|
|
191
191
|
}>;
|
|
@@ -197,95 +197,95 @@ declare const CreateSyncConfigContract: _lssm_lib_contracts10.OperationSpec<_lss
|
|
|
197
197
|
/**
|
|
198
198
|
* Add a field mapping to a sync config.
|
|
199
199
|
*/
|
|
200
|
-
declare const AddFieldMappingContract: _lssm_lib_contracts10.OperationSpec<
|
|
200
|
+
declare const AddFieldMappingContract: _lssm_lib_contracts10.OperationSpec<_lssm_lib_schema123.SchemaModel<{
|
|
201
201
|
syncConfigId: {
|
|
202
|
-
type:
|
|
202
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
203
203
|
isOptional: false;
|
|
204
204
|
};
|
|
205
205
|
sourceField: {
|
|
206
|
-
type:
|
|
206
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
207
207
|
isOptional: false;
|
|
208
208
|
};
|
|
209
209
|
targetField: {
|
|
210
|
-
type:
|
|
210
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
211
211
|
isOptional: false;
|
|
212
212
|
};
|
|
213
213
|
mappingType: {
|
|
214
|
-
type:
|
|
214
|
+
type: _lssm_lib_schema123.EnumType<[string, string, string, string, string]>;
|
|
215
215
|
isOptional: false;
|
|
216
216
|
};
|
|
217
217
|
transformExpression: {
|
|
218
|
-
type:
|
|
218
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
219
219
|
isOptional: true;
|
|
220
220
|
};
|
|
221
221
|
lookupConfig: {
|
|
222
|
-
type:
|
|
222
|
+
type: _lssm_lib_schema123.FieldType<unknown, unknown>;
|
|
223
223
|
isOptional: true;
|
|
224
224
|
};
|
|
225
225
|
constantValue: {
|
|
226
|
-
type:
|
|
226
|
+
type: _lssm_lib_schema123.FieldType<unknown, unknown>;
|
|
227
227
|
isOptional: true;
|
|
228
228
|
};
|
|
229
229
|
isRequired: {
|
|
230
|
-
type:
|
|
230
|
+
type: _lssm_lib_schema123.FieldType<boolean, boolean>;
|
|
231
231
|
isOptional: true;
|
|
232
232
|
};
|
|
233
233
|
defaultValue: {
|
|
234
|
-
type:
|
|
234
|
+
type: _lssm_lib_schema123.FieldType<unknown, unknown>;
|
|
235
235
|
isOptional: true;
|
|
236
236
|
};
|
|
237
|
-
}>,
|
|
237
|
+
}>, _lssm_lib_schema123.SchemaModel<{
|
|
238
238
|
id: {
|
|
239
|
-
type:
|
|
239
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
240
240
|
isOptional: false;
|
|
241
241
|
};
|
|
242
242
|
sourceField: {
|
|
243
|
-
type:
|
|
243
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
244
244
|
isOptional: false;
|
|
245
245
|
};
|
|
246
246
|
targetField: {
|
|
247
|
-
type:
|
|
247
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
248
248
|
isOptional: false;
|
|
249
249
|
};
|
|
250
250
|
mappingType: {
|
|
251
|
-
type:
|
|
251
|
+
type: _lssm_lib_schema123.EnumType<[string, string, string, string, string]>;
|
|
252
252
|
isOptional: false;
|
|
253
253
|
};
|
|
254
254
|
transformExpression: {
|
|
255
|
-
type:
|
|
255
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
256
256
|
isOptional: true;
|
|
257
257
|
};
|
|
258
258
|
isRequired: {
|
|
259
|
-
type:
|
|
259
|
+
type: _lssm_lib_schema123.FieldType<boolean, boolean>;
|
|
260
260
|
isOptional: false;
|
|
261
261
|
};
|
|
262
262
|
}>, {
|
|
263
263
|
name: string;
|
|
264
264
|
version: number;
|
|
265
265
|
when: string;
|
|
266
|
-
payload:
|
|
266
|
+
payload: _lssm_lib_schema123.SchemaModel<{
|
|
267
267
|
id: {
|
|
268
|
-
type:
|
|
268
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
269
269
|
isOptional: false;
|
|
270
270
|
};
|
|
271
271
|
sourceField: {
|
|
272
|
-
type:
|
|
272
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
273
273
|
isOptional: false;
|
|
274
274
|
};
|
|
275
275
|
targetField: {
|
|
276
|
-
type:
|
|
276
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
277
277
|
isOptional: false;
|
|
278
278
|
};
|
|
279
279
|
mappingType: {
|
|
280
|
-
type:
|
|
280
|
+
type: _lssm_lib_schema123.EnumType<[string, string, string, string, string]>;
|
|
281
281
|
isOptional: false;
|
|
282
282
|
};
|
|
283
283
|
transformExpression: {
|
|
284
|
-
type:
|
|
284
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
285
285
|
isOptional: true;
|
|
286
286
|
};
|
|
287
287
|
isRequired: {
|
|
288
|
-
type:
|
|
288
|
+
type: _lssm_lib_schema123.FieldType<boolean, boolean>;
|
|
289
289
|
isOptional: false;
|
|
290
290
|
};
|
|
291
291
|
}>;
|
|
@@ -293,127 +293,127 @@ declare const AddFieldMappingContract: _lssm_lib_contracts10.OperationSpec<_lssm
|
|
|
293
293
|
/**
|
|
294
294
|
* Trigger a manual sync.
|
|
295
295
|
*/
|
|
296
|
-
declare const TriggerSyncContract: _lssm_lib_contracts10.OperationSpec<
|
|
296
|
+
declare const TriggerSyncContract: _lssm_lib_contracts10.OperationSpec<_lssm_lib_schema123.SchemaModel<{
|
|
297
297
|
syncConfigId: {
|
|
298
|
-
type:
|
|
298
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
299
299
|
isOptional: false;
|
|
300
300
|
};
|
|
301
301
|
direction: {
|
|
302
|
-
type:
|
|
302
|
+
type: _lssm_lib_schema123.EnumType<[string, string, string]>;
|
|
303
303
|
isOptional: true;
|
|
304
304
|
};
|
|
305
305
|
fullSync: {
|
|
306
|
-
type:
|
|
306
|
+
type: _lssm_lib_schema123.FieldType<boolean, boolean>;
|
|
307
307
|
isOptional: true;
|
|
308
308
|
};
|
|
309
|
-
}>,
|
|
309
|
+
}>, _lssm_lib_schema123.SchemaModel<{
|
|
310
310
|
id: {
|
|
311
|
-
type:
|
|
311
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
312
312
|
isOptional: false;
|
|
313
313
|
};
|
|
314
314
|
syncConfigId: {
|
|
315
|
-
type:
|
|
315
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
316
316
|
isOptional: false;
|
|
317
317
|
};
|
|
318
318
|
status: {
|
|
319
|
-
type:
|
|
319
|
+
type: _lssm_lib_schema123.EnumType<[string, string, string, string, string]>;
|
|
320
320
|
isOptional: false;
|
|
321
321
|
};
|
|
322
322
|
direction: {
|
|
323
|
-
type:
|
|
323
|
+
type: _lssm_lib_schema123.EnumType<[string, string, string]>;
|
|
324
324
|
isOptional: false;
|
|
325
325
|
};
|
|
326
326
|
trigger: {
|
|
327
|
-
type:
|
|
327
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
328
328
|
isOptional: false;
|
|
329
329
|
};
|
|
330
330
|
recordsProcessed: {
|
|
331
|
-
type:
|
|
331
|
+
type: _lssm_lib_schema123.FieldType<number, number>;
|
|
332
332
|
isOptional: false;
|
|
333
333
|
};
|
|
334
334
|
recordsCreated: {
|
|
335
|
-
type:
|
|
335
|
+
type: _lssm_lib_schema123.FieldType<number, number>;
|
|
336
336
|
isOptional: false;
|
|
337
337
|
};
|
|
338
338
|
recordsUpdated: {
|
|
339
|
-
type:
|
|
339
|
+
type: _lssm_lib_schema123.FieldType<number, number>;
|
|
340
340
|
isOptional: false;
|
|
341
341
|
};
|
|
342
342
|
recordsFailed: {
|
|
343
|
-
type:
|
|
343
|
+
type: _lssm_lib_schema123.FieldType<number, number>;
|
|
344
344
|
isOptional: false;
|
|
345
345
|
};
|
|
346
346
|
errorMessage: {
|
|
347
|
-
type:
|
|
347
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
348
348
|
isOptional: true;
|
|
349
349
|
};
|
|
350
350
|
startedAt: {
|
|
351
|
-
type:
|
|
351
|
+
type: _lssm_lib_schema123.FieldType<Date, string>;
|
|
352
352
|
isOptional: true;
|
|
353
353
|
};
|
|
354
354
|
completedAt: {
|
|
355
|
-
type:
|
|
355
|
+
type: _lssm_lib_schema123.FieldType<Date, string>;
|
|
356
356
|
isOptional: true;
|
|
357
357
|
};
|
|
358
358
|
createdAt: {
|
|
359
|
-
type:
|
|
359
|
+
type: _lssm_lib_schema123.FieldType<Date, string>;
|
|
360
360
|
isOptional: false;
|
|
361
361
|
};
|
|
362
362
|
}>, {
|
|
363
363
|
name: string;
|
|
364
364
|
version: number;
|
|
365
365
|
when: string;
|
|
366
|
-
payload:
|
|
366
|
+
payload: _lssm_lib_schema123.SchemaModel<{
|
|
367
367
|
id: {
|
|
368
|
-
type:
|
|
368
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
369
369
|
isOptional: false;
|
|
370
370
|
};
|
|
371
371
|
syncConfigId: {
|
|
372
|
-
type:
|
|
372
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
373
373
|
isOptional: false;
|
|
374
374
|
};
|
|
375
375
|
status: {
|
|
376
|
-
type:
|
|
376
|
+
type: _lssm_lib_schema123.EnumType<[string, string, string, string, string]>;
|
|
377
377
|
isOptional: false;
|
|
378
378
|
};
|
|
379
379
|
direction: {
|
|
380
|
-
type:
|
|
380
|
+
type: _lssm_lib_schema123.EnumType<[string, string, string]>;
|
|
381
381
|
isOptional: false;
|
|
382
382
|
};
|
|
383
383
|
trigger: {
|
|
384
|
-
type:
|
|
384
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
385
385
|
isOptional: false;
|
|
386
386
|
};
|
|
387
387
|
recordsProcessed: {
|
|
388
|
-
type:
|
|
388
|
+
type: _lssm_lib_schema123.FieldType<number, number>;
|
|
389
389
|
isOptional: false;
|
|
390
390
|
};
|
|
391
391
|
recordsCreated: {
|
|
392
|
-
type:
|
|
392
|
+
type: _lssm_lib_schema123.FieldType<number, number>;
|
|
393
393
|
isOptional: false;
|
|
394
394
|
};
|
|
395
395
|
recordsUpdated: {
|
|
396
|
-
type:
|
|
396
|
+
type: _lssm_lib_schema123.FieldType<number, number>;
|
|
397
397
|
isOptional: false;
|
|
398
398
|
};
|
|
399
399
|
recordsFailed: {
|
|
400
|
-
type:
|
|
400
|
+
type: _lssm_lib_schema123.FieldType<number, number>;
|
|
401
401
|
isOptional: false;
|
|
402
402
|
};
|
|
403
403
|
errorMessage: {
|
|
404
|
-
type:
|
|
404
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
405
405
|
isOptional: true;
|
|
406
406
|
};
|
|
407
407
|
startedAt: {
|
|
408
|
-
type:
|
|
408
|
+
type: _lssm_lib_schema123.FieldType<Date, string>;
|
|
409
409
|
isOptional: true;
|
|
410
410
|
};
|
|
411
411
|
completedAt: {
|
|
412
|
-
type:
|
|
412
|
+
type: _lssm_lib_schema123.FieldType<Date, string>;
|
|
413
413
|
isOptional: true;
|
|
414
414
|
};
|
|
415
415
|
createdAt: {
|
|
416
|
-
type:
|
|
416
|
+
type: _lssm_lib_schema123.FieldType<Date, string>;
|
|
417
417
|
isOptional: false;
|
|
418
418
|
};
|
|
419
419
|
}>;
|
|
@@ -421,78 +421,78 @@ declare const TriggerSyncContract: _lssm_lib_contracts10.OperationSpec<_lssm_lib
|
|
|
421
421
|
/**
|
|
422
422
|
* List sync run history.
|
|
423
423
|
*/
|
|
424
|
-
declare const ListSyncRunsContract: _lssm_lib_contracts10.OperationSpec<
|
|
424
|
+
declare const ListSyncRunsContract: _lssm_lib_contracts10.OperationSpec<_lssm_lib_schema123.SchemaModel<{
|
|
425
425
|
syncConfigId: {
|
|
426
|
-
type:
|
|
426
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
427
427
|
isOptional: false;
|
|
428
428
|
};
|
|
429
429
|
status: {
|
|
430
|
-
type:
|
|
430
|
+
type: _lssm_lib_schema123.EnumType<[string, string, string, string, string]>;
|
|
431
431
|
isOptional: true;
|
|
432
432
|
};
|
|
433
433
|
limit: {
|
|
434
|
-
type:
|
|
434
|
+
type: _lssm_lib_schema123.FieldType<number, number>;
|
|
435
435
|
isOptional: true;
|
|
436
436
|
defaultValue: number;
|
|
437
437
|
};
|
|
438
438
|
offset: {
|
|
439
|
-
type:
|
|
439
|
+
type: _lssm_lib_schema123.FieldType<number, number>;
|
|
440
440
|
isOptional: true;
|
|
441
441
|
defaultValue: number;
|
|
442
442
|
};
|
|
443
|
-
}>,
|
|
443
|
+
}>, _lssm_lib_schema123.SchemaModel<{
|
|
444
444
|
runs: {
|
|
445
|
-
type:
|
|
445
|
+
type: _lssm_lib_schema123.SchemaModel<{
|
|
446
446
|
id: {
|
|
447
|
-
type:
|
|
447
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
448
448
|
isOptional: false;
|
|
449
449
|
};
|
|
450
450
|
syncConfigId: {
|
|
451
|
-
type:
|
|
451
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
452
452
|
isOptional: false;
|
|
453
453
|
};
|
|
454
454
|
status: {
|
|
455
|
-
type:
|
|
455
|
+
type: _lssm_lib_schema123.EnumType<[string, string, string, string, string]>;
|
|
456
456
|
isOptional: false;
|
|
457
457
|
};
|
|
458
458
|
direction: {
|
|
459
|
-
type:
|
|
459
|
+
type: _lssm_lib_schema123.EnumType<[string, string, string]>;
|
|
460
460
|
isOptional: false;
|
|
461
461
|
};
|
|
462
462
|
trigger: {
|
|
463
|
-
type:
|
|
463
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
464
464
|
isOptional: false;
|
|
465
465
|
};
|
|
466
466
|
recordsProcessed: {
|
|
467
|
-
type:
|
|
467
|
+
type: _lssm_lib_schema123.FieldType<number, number>;
|
|
468
468
|
isOptional: false;
|
|
469
469
|
};
|
|
470
470
|
recordsCreated: {
|
|
471
|
-
type:
|
|
471
|
+
type: _lssm_lib_schema123.FieldType<number, number>;
|
|
472
472
|
isOptional: false;
|
|
473
473
|
};
|
|
474
474
|
recordsUpdated: {
|
|
475
|
-
type:
|
|
475
|
+
type: _lssm_lib_schema123.FieldType<number, number>;
|
|
476
476
|
isOptional: false;
|
|
477
477
|
};
|
|
478
478
|
recordsFailed: {
|
|
479
|
-
type:
|
|
479
|
+
type: _lssm_lib_schema123.FieldType<number, number>;
|
|
480
480
|
isOptional: false;
|
|
481
481
|
};
|
|
482
482
|
errorMessage: {
|
|
483
|
-
type:
|
|
483
|
+
type: _lssm_lib_schema123.FieldType<string, string>;
|
|
484
484
|
isOptional: true;
|
|
485
485
|
};
|
|
486
486
|
startedAt: {
|
|
487
|
-
type:
|
|
487
|
+
type: _lssm_lib_schema123.FieldType<Date, string>;
|
|
488
488
|
isOptional: true;
|
|
489
489
|
};
|
|
490
490
|
completedAt: {
|
|
491
|
-
type:
|
|
491
|
+
type: _lssm_lib_schema123.FieldType<Date, string>;
|
|
492
492
|
isOptional: true;
|
|
493
493
|
};
|
|
494
494
|
createdAt: {
|
|
495
|
-
type:
|
|
495
|
+
type: _lssm_lib_schema123.FieldType<Date, string>;
|
|
496
496
|
isOptional: false;
|
|
497
497
|
};
|
|
498
498
|
}>;
|
|
@@ -500,7 +500,7 @@ declare const ListSyncRunsContract: _lssm_lib_contracts10.OperationSpec<_lssm_li
|
|
|
500
500
|
isOptional: false;
|
|
501
501
|
};
|
|
502
502
|
total: {
|
|
503
|
-
type:
|
|
503
|
+
type: _lssm_lib_schema123.FieldType<number, number>;
|
|
504
504
|
isOptional: false;
|
|
505
505
|
};
|
|
506
506
|
}>, undefined>;
|
package/dist/sync/sync.enum.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema120 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_schema120.EnumType<[string, string, string]>;
|
|
8
8
|
/**
|
|
9
9
|
* Sync status enum.
|
|
10
10
|
*/
|
|
11
|
-
declare const SyncStatusEnum:
|
|
11
|
+
declare const SyncStatusEnum: _lssm_lib_schema120.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_schema120.EnumType<[string, string, string, string, string]>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { MappingTypeEnum, SyncDirectionEnum, SyncStatusEnum };
|
|
18
18
|
//# sourceMappingURL=sync.enum.d.ts.map
|
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-20251223021521",
|
|
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-20251223021521",
|
|
22
|
+
"@lssm/lib.contracts": "0.0.0-canary-20251223021521",
|
|
23
|
+
"@lssm/lib.bus": "0.0.0-canary-20251223021521",
|
|
24
|
+
"@lssm/lib.identity-rbac": "0.0.0-canary-20251223021521",
|
|
25
|
+
"@lssm/lib.files": "0.0.0-canary-20251223021521",
|
|
26
|
+
"@lssm/lib.feature-flags": "0.0.0-canary-20251223021521",
|
|
27
|
+
"@lssm/lib.jobs": "0.0.0-canary-20251223021521",
|
|
28
|
+
"@lssm/module.audit-trail": "0.0.0-canary-20251223021521",
|
|
29
|
+
"@lssm/module.notifications": "0.0.0-canary-20251223021521",
|
|
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-20251223021521",
|
|
34
|
+
"@lssm/tool.tsdown": "0.0.0-canary-20251223021521",
|
|
35
35
|
"typescript": "^5.9.3"
|
|
36
36
|
},
|
|
37
37
|
"exports": {
|