@contractspec/example.integration-hub 0.0.0-canary-20260113173657 → 0.0.0-canary-20260114030712
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.enum.d.ts.map +1 -1
- package/dist/connection/connection.operation.d.ts +27 -27
- package/dist/connection/connection.operation.d.ts.map +1 -1
- package/dist/connection/connection.presentation.d.ts +3 -3
- package/dist/connection/connection.presentation.d.ts.map +1 -1
- package/dist/connection/connection.schema.d.ts +16 -16
- package/dist/connection/connection.schema.d.ts.map +1 -1
- package/dist/events.d.ts +43 -43
- package/dist/events.d.ts.map +1 -1
- package/dist/integration/integration.enum.d.ts +2 -2
- package/dist/integration/integration.operations.d.ts +2 -2
- package/dist/integration/integration.presentation.d.ts +4 -4
- package/dist/integration-hub.capability.d.ts +4 -4
- package/dist/integration-hub.capability.d.ts.map +1 -1
- package/dist/integration-hub.feature.d.ts +2 -2
- package/dist/integration-hub.feature.d.ts.map +1 -1
- package/dist/sync/sync.operations.d.ts +5 -5
- package/dist/sync/sync.presentation.d.ts +7 -7
- package/dist/tests/operations.test-spec.d.ts +4 -4
- package/package.json +8 -8
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema290 from "@contractspec/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: _contractspec_lib_schema290.EnumType<[string, string, string, string, string]>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { ConnectionStatusEnum };
|
|
10
10
|
//# sourceMappingURL=connection.enum.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connection.enum.d.ts","names":[],"sources":["../../src/connection/connection.enum.ts"],"sourcesContent":[],"mappings":";;;;;;AAKa,cAAA,oBAMX,EAAA,
|
|
1
|
+
{"version":3,"file":"connection.enum.d.ts","names":[],"sources":["../../src/connection/connection.enum.ts"],"sourcesContent":[],"mappings":";;;;;;AAKa,cAAA,oBAMX,EAAA,2BAAA,CAN+B,QAAA,CAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,CAAA,CAAA"}
|
|
@@ -1,103 +1,103 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts29 from "@contractspec/lib.contracts";
|
|
2
|
+
import * as _contractspec_lib_schema306 from "@contractspec/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:
|
|
8
|
+
declare const CreateConnectionContract: _contractspec_lib_contracts29.OperationSpec<_contractspec_lib_schema306.SchemaModel<{
|
|
9
9
|
integrationId: {
|
|
10
|
-
type:
|
|
10
|
+
type: _contractspec_lib_schema306.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
name: {
|
|
14
|
-
type:
|
|
14
|
+
type: _contractspec_lib_schema306.FieldType<string, string>;
|
|
15
15
|
isOptional: false;
|
|
16
16
|
};
|
|
17
17
|
authType: {
|
|
18
|
-
type:
|
|
18
|
+
type: _contractspec_lib_schema306.FieldType<string, string>;
|
|
19
19
|
isOptional: false;
|
|
20
20
|
};
|
|
21
21
|
credentials: {
|
|
22
|
-
type:
|
|
22
|
+
type: _contractspec_lib_schema306.FieldType<unknown, unknown>;
|
|
23
23
|
isOptional: true;
|
|
24
24
|
};
|
|
25
|
-
}>,
|
|
25
|
+
}>, _contractspec_lib_schema306.SchemaModel<{
|
|
26
26
|
id: {
|
|
27
|
-
type:
|
|
27
|
+
type: _contractspec_lib_schema306.FieldType<string, string>;
|
|
28
28
|
isOptional: false;
|
|
29
29
|
};
|
|
30
30
|
integrationId: {
|
|
31
|
-
type:
|
|
31
|
+
type: _contractspec_lib_schema306.FieldType<string, string>;
|
|
32
32
|
isOptional: false;
|
|
33
33
|
};
|
|
34
34
|
name: {
|
|
35
|
-
type:
|
|
35
|
+
type: _contractspec_lib_schema306.FieldType<string, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
status: {
|
|
39
|
-
type:
|
|
39
|
+
type: _contractspec_lib_schema306.EnumType<[string, string, string, string, string]>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
authType: {
|
|
43
|
-
type:
|
|
43
|
+
type: _contractspec_lib_schema306.FieldType<string, string>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
externalAccountName: {
|
|
47
|
-
type:
|
|
47
|
+
type: _contractspec_lib_schema306.FieldType<string, string>;
|
|
48
48
|
isOptional: true;
|
|
49
49
|
};
|
|
50
50
|
connectedAt: {
|
|
51
|
-
type:
|
|
51
|
+
type: _contractspec_lib_schema306.FieldType<Date, string>;
|
|
52
52
|
isOptional: true;
|
|
53
53
|
};
|
|
54
54
|
lastHealthCheck: {
|
|
55
|
-
type:
|
|
55
|
+
type: _contractspec_lib_schema306.FieldType<Date, string>;
|
|
56
56
|
isOptional: true;
|
|
57
57
|
};
|
|
58
58
|
healthStatus: {
|
|
59
|
-
type:
|
|
59
|
+
type: _contractspec_lib_schema306.FieldType<string, string>;
|
|
60
60
|
isOptional: true;
|
|
61
61
|
};
|
|
62
62
|
}>, {
|
|
63
63
|
key: string;
|
|
64
64
|
version: string;
|
|
65
65
|
when: string;
|
|
66
|
-
payload:
|
|
66
|
+
payload: _contractspec_lib_schema306.SchemaModel<{
|
|
67
67
|
id: {
|
|
68
|
-
type:
|
|
68
|
+
type: _contractspec_lib_schema306.FieldType<string, string>;
|
|
69
69
|
isOptional: false;
|
|
70
70
|
};
|
|
71
71
|
integrationId: {
|
|
72
|
-
type:
|
|
72
|
+
type: _contractspec_lib_schema306.FieldType<string, string>;
|
|
73
73
|
isOptional: false;
|
|
74
74
|
};
|
|
75
75
|
name: {
|
|
76
|
-
type:
|
|
76
|
+
type: _contractspec_lib_schema306.FieldType<string, string>;
|
|
77
77
|
isOptional: false;
|
|
78
78
|
};
|
|
79
79
|
status: {
|
|
80
|
-
type:
|
|
80
|
+
type: _contractspec_lib_schema306.EnumType<[string, string, string, string, string]>;
|
|
81
81
|
isOptional: false;
|
|
82
82
|
};
|
|
83
83
|
authType: {
|
|
84
|
-
type:
|
|
84
|
+
type: _contractspec_lib_schema306.FieldType<string, string>;
|
|
85
85
|
isOptional: false;
|
|
86
86
|
};
|
|
87
87
|
externalAccountName: {
|
|
88
|
-
type:
|
|
88
|
+
type: _contractspec_lib_schema306.FieldType<string, string>;
|
|
89
89
|
isOptional: true;
|
|
90
90
|
};
|
|
91
91
|
connectedAt: {
|
|
92
|
-
type:
|
|
92
|
+
type: _contractspec_lib_schema306.FieldType<Date, string>;
|
|
93
93
|
isOptional: true;
|
|
94
94
|
};
|
|
95
95
|
lastHealthCheck: {
|
|
96
|
-
type:
|
|
96
|
+
type: _contractspec_lib_schema306.FieldType<Date, string>;
|
|
97
97
|
isOptional: true;
|
|
98
98
|
};
|
|
99
99
|
healthStatus: {
|
|
100
|
-
type:
|
|
100
|
+
type: _contractspec_lib_schema306.FieldType<string, string>;
|
|
101
101
|
isOptional: true;
|
|
102
102
|
};
|
|
103
103
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connection.operation.d.ts","names":[],"sources":["../../src/connection/connection.operation.ts"],"sourcesContent":[],"mappings":";;;;;;;cAWa,
|
|
1
|
+
{"version":3,"file":"connection.operation.d.ts","names":[],"sources":["../../src/connection/connection.operation.ts"],"sourcesContent":[],"mappings":";;;;;;;cAWa,wDAAwB,0CAAA;EAAxB,aAAA,EAAA;IAiDX,IAAA,EAAA,2BAAA,CAAA,SAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;+CAjDmC,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;;;;;;UAAA,2BAAA,CAAA;;;;;;;;;;;;8CAAA,CAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,CAAA,CAAA;IAAA,UAAA,EAAA,KAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts30 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/connection/connection.presentation.d.ts
|
|
4
|
-
declare const ConnectionListPresentation:
|
|
5
|
-
declare const ConnectionSetupPresentation:
|
|
4
|
+
declare const ConnectionListPresentation: _contractspec_lib_contracts30.PresentationSpec;
|
|
5
|
+
declare const ConnectionSetupPresentation: _contractspec_lib_contracts30.PresentationSpec;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { ConnectionListPresentation, ConnectionSetupPresentation };
|
|
8
8
|
//# sourceMappingURL=connection.presentation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connection.presentation.d.ts","names":[],"sources":["../../src/connection/connection.presentation.ts"],"sourcesContent":[],"mappings":";;;cAGa,4BAuBX,
|
|
1
|
+
{"version":3,"file":"connection.presentation.d.ts","names":[],"sources":["../../src/connection/connection.presentation.ts"],"sourcesContent":[],"mappings":";;;cAGa,4BAuBX,6BAAA,CAvBqC;cAyB1B,6BAuBX,6BAAA,CAvBsC"}
|
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema291 from "@contractspec/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: _contractspec_lib_schema291.SchemaModel<{
|
|
8
8
|
id: {
|
|
9
|
-
type:
|
|
9
|
+
type: _contractspec_lib_schema291.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
integrationId: {
|
|
13
|
-
type:
|
|
13
|
+
type: _contractspec_lib_schema291.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
name: {
|
|
17
|
-
type:
|
|
17
|
+
type: _contractspec_lib_schema291.FieldType<string, string>;
|
|
18
18
|
isOptional: false;
|
|
19
19
|
};
|
|
20
20
|
status: {
|
|
21
|
-
type:
|
|
21
|
+
type: _contractspec_lib_schema291.EnumType<[string, string, string, string, string]>;
|
|
22
22
|
isOptional: false;
|
|
23
23
|
};
|
|
24
24
|
authType: {
|
|
25
|
-
type:
|
|
25
|
+
type: _contractspec_lib_schema291.FieldType<string, string>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
externalAccountName: {
|
|
29
|
-
type:
|
|
29
|
+
type: _contractspec_lib_schema291.FieldType<string, string>;
|
|
30
30
|
isOptional: true;
|
|
31
31
|
};
|
|
32
32
|
connectedAt: {
|
|
33
|
-
type:
|
|
33
|
+
type: _contractspec_lib_schema291.FieldType<Date, string>;
|
|
34
34
|
isOptional: true;
|
|
35
35
|
};
|
|
36
36
|
lastHealthCheck: {
|
|
37
|
-
type:
|
|
37
|
+
type: _contractspec_lib_schema291.FieldType<Date, string>;
|
|
38
38
|
isOptional: true;
|
|
39
39
|
};
|
|
40
40
|
healthStatus: {
|
|
41
|
-
type:
|
|
41
|
+
type: _contractspec_lib_schema291.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: _contractspec_lib_schema291.SchemaModel<{
|
|
49
49
|
integrationId: {
|
|
50
|
-
type:
|
|
50
|
+
type: _contractspec_lib_schema291.FieldType<string, string>;
|
|
51
51
|
isOptional: false;
|
|
52
52
|
};
|
|
53
53
|
name: {
|
|
54
|
-
type:
|
|
54
|
+
type: _contractspec_lib_schema291.FieldType<string, string>;
|
|
55
55
|
isOptional: false;
|
|
56
56
|
};
|
|
57
57
|
authType: {
|
|
58
|
-
type:
|
|
58
|
+
type: _contractspec_lib_schema291.FieldType<string, string>;
|
|
59
59
|
isOptional: false;
|
|
60
60
|
};
|
|
61
61
|
credentials: {
|
|
62
|
-
type:
|
|
62
|
+
type: _contractspec_lib_schema291.FieldType<unknown, unknown>;
|
|
63
63
|
isOptional: true;
|
|
64
64
|
};
|
|
65
65
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connection.schema.d.ts","names":[],"sources":["../../src/connection/connection.schema.ts"],"sourcesContent":[],"mappings":";;;;;;AAMa,cAAA,eAmBX,
|
|
1
|
+
{"version":3,"file":"connection.schema.d.ts","names":[],"sources":["../../src/connection/connection.schema.ts"],"sourcesContent":[],"mappings":";;;;;;AAMa,cAAA,eAmBX,8BAnB0B,WAmB1B,CAAA;EAAA,EAAA,EAAA;UAAA,2BAAA,CAAA;;;;;;;;;;;EAnB0B,MAAA,EAAA;IAwBf,IAAA,sCAWX,CAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,CAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;EAXqC,CAAA;;;;;;;;;;;;;;;;;;;;;cAA1B,wDAA0B;;UAWrC,2BAAA,CAAA"}
|
package/dist/events.d.ts
CHANGED
|
@@ -1,150 +1,150 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
|
|
2
|
+
import * as _contractspec_lib_schema0 from "@contractspec/lib.schema";
|
|
3
3
|
|
|
4
4
|
//#region src/events.d.ts
|
|
5
|
-
declare const IntegrationCreatedEvent:
|
|
5
|
+
declare const IntegrationCreatedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
6
6
|
integrationId: {
|
|
7
|
-
type:
|
|
7
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
8
8
|
isOptional: false;
|
|
9
9
|
};
|
|
10
10
|
type: {
|
|
11
|
-
type:
|
|
11
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
12
12
|
isOptional: false;
|
|
13
13
|
};
|
|
14
14
|
createdAt: {
|
|
15
|
-
type:
|
|
15
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
16
16
|
isOptional: false;
|
|
17
17
|
};
|
|
18
18
|
}>>;
|
|
19
|
-
declare const ConnectionCreatedEvent:
|
|
19
|
+
declare const ConnectionCreatedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
20
20
|
connectionId: {
|
|
21
|
-
type:
|
|
21
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
22
22
|
isOptional: false;
|
|
23
23
|
};
|
|
24
24
|
integrationId: {
|
|
25
|
-
type:
|
|
25
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
status: {
|
|
29
|
-
type:
|
|
29
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
30
30
|
isOptional: false;
|
|
31
31
|
};
|
|
32
32
|
createdAt: {
|
|
33
|
-
type:
|
|
33
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
34
34
|
isOptional: false;
|
|
35
35
|
};
|
|
36
36
|
}>>;
|
|
37
|
-
declare const ConnectionStatusChangedEvent:
|
|
37
|
+
declare const ConnectionStatusChangedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
38
38
|
connectionId: {
|
|
39
|
-
type:
|
|
39
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
previousStatus: {
|
|
43
|
-
type:
|
|
43
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
newStatus: {
|
|
47
|
-
type:
|
|
47
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
changedAt: {
|
|
51
|
-
type:
|
|
51
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
}>>;
|
|
55
|
-
declare const SyncConfigCreatedEvent:
|
|
55
|
+
declare const SyncConfigCreatedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
56
56
|
syncConfigId: {
|
|
57
|
-
type:
|
|
57
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
58
58
|
isOptional: false;
|
|
59
59
|
};
|
|
60
60
|
connectionId: {
|
|
61
|
-
type:
|
|
61
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
62
62
|
isOptional: false;
|
|
63
63
|
};
|
|
64
64
|
createdAt: {
|
|
65
|
-
type:
|
|
65
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
66
66
|
isOptional: false;
|
|
67
67
|
};
|
|
68
68
|
}>>;
|
|
69
|
-
declare const SyncStartedEvent:
|
|
69
|
+
declare const SyncStartedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
70
70
|
syncRunId: {
|
|
71
|
-
type:
|
|
71
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
72
72
|
isOptional: false;
|
|
73
73
|
};
|
|
74
74
|
syncConfigId: {
|
|
75
|
-
type:
|
|
75
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
76
76
|
isOptional: false;
|
|
77
77
|
};
|
|
78
78
|
startedAt: {
|
|
79
|
-
type:
|
|
79
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
80
80
|
isOptional: false;
|
|
81
81
|
};
|
|
82
82
|
}>>;
|
|
83
|
-
declare const SyncCompletedEvent:
|
|
83
|
+
declare const SyncCompletedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
84
84
|
syncRunId: {
|
|
85
|
-
type:
|
|
85
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
86
86
|
isOptional: false;
|
|
87
87
|
};
|
|
88
88
|
syncConfigId: {
|
|
89
|
-
type:
|
|
89
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
90
90
|
isOptional: false;
|
|
91
91
|
};
|
|
92
92
|
recordsProcessed: {
|
|
93
|
-
type:
|
|
93
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
94
94
|
isOptional: false;
|
|
95
95
|
};
|
|
96
96
|
completedAt: {
|
|
97
|
-
type:
|
|
97
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
98
98
|
isOptional: false;
|
|
99
99
|
};
|
|
100
100
|
}>>;
|
|
101
|
-
declare const SyncFailedEvent:
|
|
101
|
+
declare const SyncFailedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
102
102
|
syncRunId: {
|
|
103
|
-
type:
|
|
103
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
104
104
|
isOptional: false;
|
|
105
105
|
};
|
|
106
106
|
syncConfigId: {
|
|
107
|
-
type:
|
|
107
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
108
108
|
isOptional: false;
|
|
109
109
|
};
|
|
110
110
|
error: {
|
|
111
|
-
type:
|
|
111
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
112
112
|
isOptional: false;
|
|
113
113
|
};
|
|
114
114
|
failedAt: {
|
|
115
|
-
type:
|
|
115
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
116
116
|
isOptional: false;
|
|
117
117
|
};
|
|
118
118
|
}>>;
|
|
119
|
-
declare const RecordSyncedEvent:
|
|
119
|
+
declare const RecordSyncedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
120
120
|
syncRunId: {
|
|
121
|
-
type:
|
|
121
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
122
122
|
isOptional: false;
|
|
123
123
|
};
|
|
124
124
|
recordId: {
|
|
125
|
-
type:
|
|
125
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
126
126
|
isOptional: false;
|
|
127
127
|
};
|
|
128
128
|
sourceId: {
|
|
129
|
-
type:
|
|
129
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
130
130
|
isOptional: false;
|
|
131
131
|
};
|
|
132
132
|
targetId: {
|
|
133
|
-
type:
|
|
133
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
134
134
|
isOptional: false;
|
|
135
135
|
};
|
|
136
136
|
}>>;
|
|
137
|
-
declare const FieldMappingAddedEvent:
|
|
137
|
+
declare const FieldMappingAddedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
138
138
|
syncConfigId: {
|
|
139
|
-
type:
|
|
139
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
140
140
|
isOptional: false;
|
|
141
141
|
};
|
|
142
142
|
sourceField: {
|
|
143
|
-
type:
|
|
143
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
144
144
|
isOptional: false;
|
|
145
145
|
};
|
|
146
146
|
targetField: {
|
|
147
|
-
type:
|
|
147
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
148
148
|
isOptional: false;
|
|
149
149
|
};
|
|
150
150
|
}>>;
|
package/dist/events.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","names":[],"sources":["../src/events.ts"],"sourcesContent":[],"mappings":";;;;cAiBa,yBAAuB,
|
|
1
|
+
{"version":3,"file":"events.d.ts","names":[],"sources":["../src/events.ts"],"sourcesContent":[],"mappings":";;;;cAiBa,yBAAuB,4BAAA,CAAA,oCAAA;;UAUlC,yBAAA,CAAA;;EAVW,CAAA;EAUX,IAAA,EAAA;;;;;IAVkC,IAAA,qCAAA,KAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EA2BvB,CAAA;CAUX,CAAA,CAAA;cAVW,wBAAsB,4BAAA,CAAA,oCAAA;;UAUjC,yBAAA,CAAA;;;EAViC,aAAA,EAAA;IAAA,IAAA,qCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IA0BtB,UAAA,EAAA,KAAA;EAUX,CAAA;;;;;;IAVuC,IAAA,qCAAA,KAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAuB5B,CAAA;CAUX,CAAA,CAAA;cAjCW,8BAA4B,4BAAA,CAAA,oCAAA;;UAUvC,yBAAA,CAAA;;EAaiC,CAAA;EAAA,cAAA,EAAA;IAuBtB,IAAA,qCAUX,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;EAV2B,CAAA;EAAA,SAAA,EAAA;IA0BhB,IAAA,qCAUX,KAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;cA3DW,wBAAsB,4BAAA,CAAA,oCAAA;;UAUjC,yBAAA,CAAA,SAuC6B,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAAA,CAAA;EAuBlB,YAAA,EAAA;IAUX,IAAA,qCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;EAV0B,CAAA;CAAA,CAAA,CAAA;AAuBf,cAxEA,gBAkFX,EAlF2B,4BAAA,CAAA,SAkF3B,2BAlF2B,WAkF3B,CAAA;EAAA,SAAA,EAAA;UAxEA,yBAAA,CAAA;;;;IA8D4B,IAAA,qCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAsBjB,CAAA;EAUX,SAAA,EAAA;;;;CAViC,CAAA,CAAA;AAAA,cApEtB,kBAoEsB,EApEJ,4BAAA,CAAA,SAoEI,2BApEJ,WAoEI,CAAA;;UA1DjC,yBAAA,CAAA;;;;;;;;;;;;;;;;cAaW,iBAAe,4BAAA,CAAA,oCAAA;;UAU1B,yBAAA,CAAA;;;;;;;;;;;;;;;;cAaW,mBAAiB,4BAAA,CAAA,oCAAA;;UAU5B,yBAAA,CAAA;;;;;;;;;;;;;;;;cAYW,wBAAsB,4BAAA,CAAA,oCAAA;;UAUjC,yBAAA,CAAA"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema40 from "@contractspec/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: _contractspec_lib_schema40.EnumType<[string, string, string, string, string]>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { IntegrationStatusEnum };
|
|
10
10
|
//# sourceMappingURL=integration.enum.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts8 from "@contractspec/lib.contracts";
|
|
2
2
|
import * as _contractspec_lib_schema41 from "@contractspec/lib.schema";
|
|
3
3
|
|
|
4
4
|
//#region src/integration/integration.operations.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Create a new integration.
|
|
7
7
|
*/
|
|
8
|
-
declare const CreateIntegrationContract:
|
|
8
|
+
declare const CreateIntegrationContract: _contractspec_lib_contracts8.OperationSpec<_contractspec_lib_schema41.SchemaModel<{
|
|
9
9
|
name: {
|
|
10
10
|
type: _contractspec_lib_schema41.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts9 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/integration/integration.presentation.d.ts
|
|
4
|
-
declare const IntegrationListPresentation:
|
|
5
|
-
declare const IntegrationDetailPresentation:
|
|
6
|
-
declare const IntegrationHealthPresentation:
|
|
4
|
+
declare const IntegrationListPresentation: _contractspec_lib_contracts9.PresentationSpec;
|
|
5
|
+
declare const IntegrationDetailPresentation: _contractspec_lib_contracts9.PresentationSpec;
|
|
6
|
+
declare const IntegrationHealthPresentation: _contractspec_lib_contracts9.PresentationSpec;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { IntegrationDetailPresentation, IntegrationHealthPresentation, IntegrationListPresentation };
|
|
9
9
|
//# sourceMappingURL=integration.presentation.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts25 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/integration-hub.capability.d.ts
|
|
4
|
-
declare const IntegrationCapability:
|
|
5
|
-
declare const SyncCapability:
|
|
6
|
-
declare const EtlCapability:
|
|
4
|
+
declare const IntegrationCapability: _contractspec_lib_contracts25.CapabilitySpec;
|
|
5
|
+
declare const SyncCapability: _contractspec_lib_contracts25.CapabilitySpec;
|
|
6
|
+
declare const EtlCapability: _contractspec_lib_contracts25.CapabilitySpec;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { EtlCapability, IntegrationCapability, SyncCapability };
|
|
9
9
|
//# sourceMappingURL=integration-hub.capability.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integration-hub.capability.d.ts","names":[],"sources":["../src/integration-hub.capability.ts"],"sourcesContent":[],"mappings":";;;cAEa,uBAUX,
|
|
1
|
+
{"version":3,"file":"integration-hub.capability.d.ts","names":[],"sources":["../src/integration-hub.capability.ts"],"sourcesContent":[],"mappings":";;;cAEa,uBAUX,6BAAA,CAVgC;cAYrB,gBAUX,6BAAA,CAVyB;cAYd,eAUX,6BAAA,CAVwB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts28 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/integration-hub.feature.d.ts
|
|
4
|
-
declare const IntegrationHubFeature:
|
|
4
|
+
declare const IntegrationHubFeature: _contractspec_lib_contracts28.FeatureModuleSpec;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { IntegrationHubFeature };
|
|
7
7
|
//# sourceMappingURL=integration-hub.feature.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integration-hub.feature.d.ts","names":[],"sources":["../src/integration-hub.feature.ts"],"sourcesContent":[],"mappings":";;;cAKa,uBAmHX,
|
|
1
|
+
{"version":3,"file":"integration-hub.feature.d.ts","names":[],"sources":["../src/integration-hub.feature.ts"],"sourcesContent":[],"mappings":";;;cAKa,uBAmHX,6BAAA,CAnHgC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts18 from "@contractspec/lib.contracts";
|
|
2
2
|
import * as _contractspec_lib_schema82 from "@contractspec/lib.schema";
|
|
3
3
|
|
|
4
4
|
//#region src/sync/sync.operations.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Create a sync configuration.
|
|
7
7
|
*/
|
|
8
|
-
declare const CreateSyncConfigContract:
|
|
8
|
+
declare const CreateSyncConfigContract: _contractspec_lib_contracts18.OperationSpec<_contractspec_lib_schema82.SchemaModel<{
|
|
9
9
|
integrationId: {
|
|
10
10
|
type: _contractspec_lib_schema82.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
@@ -197,7 +197,7 @@ declare const CreateSyncConfigContract: _contractspec_lib_contracts16.OperationS
|
|
|
197
197
|
/**
|
|
198
198
|
* Add a field mapping to a sync config.
|
|
199
199
|
*/
|
|
200
|
-
declare const AddFieldMappingContract:
|
|
200
|
+
declare const AddFieldMappingContract: _contractspec_lib_contracts18.OperationSpec<_contractspec_lib_schema82.SchemaModel<{
|
|
201
201
|
syncConfigId: {
|
|
202
202
|
type: _contractspec_lib_schema82.FieldType<string, string>;
|
|
203
203
|
isOptional: false;
|
|
@@ -293,7 +293,7 @@ declare const AddFieldMappingContract: _contractspec_lib_contracts16.OperationSp
|
|
|
293
293
|
/**
|
|
294
294
|
* Trigger a manual sync.
|
|
295
295
|
*/
|
|
296
|
-
declare const TriggerSyncContract:
|
|
296
|
+
declare const TriggerSyncContract: _contractspec_lib_contracts18.OperationSpec<_contractspec_lib_schema82.SchemaModel<{
|
|
297
297
|
syncConfigId: {
|
|
298
298
|
type: _contractspec_lib_schema82.FieldType<string, string>;
|
|
299
299
|
isOptional: false;
|
|
@@ -421,7 +421,7 @@ declare const TriggerSyncContract: _contractspec_lib_contracts16.OperationSpec<_
|
|
|
421
421
|
/**
|
|
422
422
|
* List sync run history.
|
|
423
423
|
*/
|
|
424
|
-
declare const ListSyncRunsContract:
|
|
424
|
+
declare const ListSyncRunsContract: _contractspec_lib_contracts18.OperationSpec<_contractspec_lib_schema82.SchemaModel<{
|
|
425
425
|
syncConfigId: {
|
|
426
426
|
type: _contractspec_lib_schema82.FieldType<string, string>;
|
|
427
427
|
isOptional: false;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts12 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/sync/sync.presentation.d.ts
|
|
4
|
-
declare const SyncConfigListPresentation:
|
|
5
|
-
declare const SyncConfigEditorPresentation:
|
|
6
|
-
declare const FieldMappingEditorPresentation:
|
|
7
|
-
declare const SyncRunListPresentation:
|
|
8
|
-
declare const SyncRunDetailPresentation:
|
|
9
|
-
declare const SyncActivityPresentation:
|
|
4
|
+
declare const SyncConfigListPresentation: _contractspec_lib_contracts12.PresentationSpec;
|
|
5
|
+
declare const SyncConfigEditorPresentation: _contractspec_lib_contracts12.PresentationSpec;
|
|
6
|
+
declare const FieldMappingEditorPresentation: _contractspec_lib_contracts12.PresentationSpec;
|
|
7
|
+
declare const SyncRunListPresentation: _contractspec_lib_contracts12.PresentationSpec;
|
|
8
|
+
declare const SyncRunDetailPresentation: _contractspec_lib_contracts12.PresentationSpec;
|
|
9
|
+
declare const SyncActivityPresentation: _contractspec_lib_contracts12.PresentationSpec;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { FieldMappingEditorPresentation, SyncActivityPresentation, SyncConfigEditorPresentation, SyncConfigListPresentation, SyncRunDetailPresentation, SyncRunListPresentation };
|
|
12
12
|
//# sourceMappingURL=sync.presentation.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts22 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/tests/operations.test-spec.d.ts
|
|
4
|
-
declare const SyncConfigCreateTest:
|
|
5
|
-
declare const FieldMappingAddTest:
|
|
6
|
-
declare const SyncRunListTest:
|
|
4
|
+
declare const SyncConfigCreateTest: _contractspec_lib_contracts22.TestSpec;
|
|
5
|
+
declare const FieldMappingAddTest: _contractspec_lib_contracts22.TestSpec;
|
|
6
|
+
declare const SyncRunListTest: _contractspec_lib_contracts22.TestSpec;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { FieldMappingAddTest, SyncConfigCreateTest, SyncRunListTest };
|
|
9
9
|
//# sourceMappingURL=operations.test-spec.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/example.integration-hub",
|
|
3
|
-
"version": "0.0.0-canary-
|
|
3
|
+
"version": "0.0.0-canary-20260114030712",
|
|
4
4
|
"description": "Integration Hub example with sync engine and field mappings for ContractSpec",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"type": "module",
|
|
@@ -17,17 +17,17 @@
|
|
|
17
17
|
"lint:check": "eslint src"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@contractspec/lib.schema": "0.0.0-canary-
|
|
21
|
-
"@contractspec/lib.contracts": "0.0.0-canary-
|
|
22
|
-
"@contractspec/lib.example-shared-ui": "0.0.0-canary-
|
|
23
|
-
"@contractspec/lib.design-system": "0.0.0-canary-
|
|
24
|
-
"@contractspec/lib.runtime-sandbox": "0.0.0-canary-
|
|
20
|
+
"@contractspec/lib.schema": "0.0.0-canary-20260114030712",
|
|
21
|
+
"@contractspec/lib.contracts": "0.0.0-canary-20260114030712",
|
|
22
|
+
"@contractspec/lib.example-shared-ui": "0.0.0-canary-20260114030712",
|
|
23
|
+
"@contractspec/lib.design-system": "0.0.0-canary-20260114030712",
|
|
24
|
+
"@contractspec/lib.runtime-sandbox": "0.0.0-canary-20260114030712",
|
|
25
25
|
"react": "19.2.3",
|
|
26
26
|
"react-dom": "19.2.3"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@contractspec/tool.typescript": "0.0.0-canary-
|
|
30
|
-
"@contractspec/tool.tsdown": "0.0.0-canary-
|
|
29
|
+
"@contractspec/tool.typescript": "0.0.0-canary-20260114030712",
|
|
30
|
+
"@contractspec/tool.tsdown": "0.0.0-canary-20260114030712",
|
|
31
31
|
"typescript": "^5.9.3",
|
|
32
32
|
"@types/react": "^19.2.8",
|
|
33
33
|
"@types/react-dom": "^19.2.2"
|