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