@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,356 +1,351 @@
|
|
|
1
|
-
import * as _contractspec_lib_schema0 from "@contractspec/lib.schema";
|
|
2
|
-
|
|
3
|
-
//#region src/sync/sync.schema.d.ts
|
|
4
1
|
/**
|
|
5
2
|
* A field mapping configuration.
|
|
6
3
|
*/
|
|
7
|
-
declare const FieldMappingModel:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
4
|
+
export declare const FieldMappingModel: import("@contractspec/lib.schema").SchemaModel<{
|
|
5
|
+
id: {
|
|
6
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
7
|
+
isOptional: false;
|
|
8
|
+
};
|
|
9
|
+
sourceField: {
|
|
10
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
11
|
+
isOptional: false;
|
|
12
|
+
};
|
|
13
|
+
targetField: {
|
|
14
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
15
|
+
isOptional: false;
|
|
16
|
+
};
|
|
17
|
+
mappingType: {
|
|
18
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string]>;
|
|
19
|
+
isOptional: false;
|
|
20
|
+
};
|
|
21
|
+
transformExpression: {
|
|
22
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
23
|
+
isOptional: true;
|
|
24
|
+
};
|
|
25
|
+
isRequired: {
|
|
26
|
+
type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
|
|
27
|
+
isOptional: false;
|
|
28
|
+
};
|
|
32
29
|
}>;
|
|
33
30
|
/**
|
|
34
31
|
* A sync configuration.
|
|
35
32
|
*/
|
|
36
|
-
declare const SyncConfigModel:
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
33
|
+
export declare const SyncConfigModel: import("@contractspec/lib.schema").SchemaModel<{
|
|
34
|
+
id: {
|
|
35
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
36
|
+
isOptional: false;
|
|
37
|
+
};
|
|
38
|
+
integrationId: {
|
|
39
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
40
|
+
isOptional: false;
|
|
41
|
+
};
|
|
42
|
+
connectionId: {
|
|
43
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
44
|
+
isOptional: false;
|
|
45
|
+
};
|
|
46
|
+
name: {
|
|
47
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
48
|
+
isOptional: false;
|
|
49
|
+
};
|
|
50
|
+
direction: {
|
|
51
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string]>;
|
|
52
|
+
isOptional: false;
|
|
53
|
+
};
|
|
54
|
+
sourceObject: {
|
|
55
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
56
|
+
isOptional: false;
|
|
57
|
+
};
|
|
58
|
+
targetObject: {
|
|
59
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
60
|
+
isOptional: false;
|
|
61
|
+
};
|
|
62
|
+
scheduleEnabled: {
|
|
63
|
+
type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
|
|
64
|
+
isOptional: false;
|
|
65
|
+
};
|
|
66
|
+
scheduleCron: {
|
|
67
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
68
|
+
isOptional: true;
|
|
69
|
+
};
|
|
70
|
+
isActive: {
|
|
71
|
+
type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
|
|
72
|
+
isOptional: false;
|
|
73
|
+
};
|
|
74
|
+
lastSyncAt: {
|
|
75
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
76
|
+
isOptional: true;
|
|
77
|
+
};
|
|
78
|
+
fieldMappings: {
|
|
79
|
+
type: import("@contractspec/lib.schema").SchemaModel<{
|
|
80
|
+
id: {
|
|
81
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
82
|
+
isOptional: false;
|
|
83
|
+
};
|
|
84
|
+
sourceField: {
|
|
85
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
86
|
+
isOptional: false;
|
|
87
|
+
};
|
|
88
|
+
targetField: {
|
|
89
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
90
|
+
isOptional: false;
|
|
91
|
+
};
|
|
92
|
+
mappingType: {
|
|
93
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string]>;
|
|
94
|
+
isOptional: false;
|
|
95
|
+
};
|
|
96
|
+
transformExpression: {
|
|
97
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
98
|
+
isOptional: true;
|
|
99
|
+
};
|
|
100
|
+
isRequired: {
|
|
101
|
+
type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
|
|
102
|
+
isOptional: false;
|
|
103
|
+
};
|
|
104
|
+
}>;
|
|
105
|
+
isArray: true;
|
|
101
106
|
isOptional: true;
|
|
102
|
-
|
|
103
|
-
isRequired: {
|
|
104
|
-
type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
|
|
105
|
-
isOptional: false;
|
|
106
|
-
};
|
|
107
|
-
}>;
|
|
108
|
-
isArray: true;
|
|
109
|
-
isOptional: true;
|
|
110
|
-
};
|
|
107
|
+
};
|
|
111
108
|
}>;
|
|
112
109
|
/**
|
|
113
110
|
* A sync run.
|
|
114
111
|
*/
|
|
115
|
-
declare const SyncRunModel:
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
112
|
+
export declare const SyncRunModel: import("@contractspec/lib.schema").SchemaModel<{
|
|
113
|
+
id: {
|
|
114
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
115
|
+
isOptional: false;
|
|
116
|
+
};
|
|
117
|
+
syncConfigId: {
|
|
118
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
119
|
+
isOptional: false;
|
|
120
|
+
};
|
|
121
|
+
status: {
|
|
122
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string]>;
|
|
123
|
+
isOptional: false;
|
|
124
|
+
};
|
|
125
|
+
direction: {
|
|
126
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string]>;
|
|
127
|
+
isOptional: false;
|
|
128
|
+
};
|
|
129
|
+
trigger: {
|
|
130
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
131
|
+
isOptional: false;
|
|
132
|
+
};
|
|
133
|
+
recordsProcessed: {
|
|
134
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
135
|
+
isOptional: false;
|
|
136
|
+
};
|
|
137
|
+
recordsCreated: {
|
|
138
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
139
|
+
isOptional: false;
|
|
140
|
+
};
|
|
141
|
+
recordsUpdated: {
|
|
142
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
143
|
+
isOptional: false;
|
|
144
|
+
};
|
|
145
|
+
recordsFailed: {
|
|
146
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
147
|
+
isOptional: false;
|
|
148
|
+
};
|
|
149
|
+
errorMessage: {
|
|
150
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
151
|
+
isOptional: true;
|
|
152
|
+
};
|
|
153
|
+
startedAt: {
|
|
154
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
155
|
+
isOptional: true;
|
|
156
|
+
};
|
|
157
|
+
completedAt: {
|
|
158
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
159
|
+
isOptional: true;
|
|
160
|
+
};
|
|
161
|
+
createdAt: {
|
|
162
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
163
|
+
isOptional: false;
|
|
164
|
+
};
|
|
168
165
|
}>;
|
|
169
166
|
/**
|
|
170
167
|
* Input for creating a sync config.
|
|
171
168
|
*/
|
|
172
|
-
declare const CreateSyncConfigInputModel:
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
169
|
+
export declare const CreateSyncConfigInputModel: import("@contractspec/lib.schema").SchemaModel<{
|
|
170
|
+
integrationId: {
|
|
171
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
172
|
+
isOptional: false;
|
|
173
|
+
};
|
|
174
|
+
connectionId: {
|
|
175
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
176
|
+
isOptional: false;
|
|
177
|
+
};
|
|
178
|
+
name: {
|
|
179
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
180
|
+
isOptional: false;
|
|
181
|
+
};
|
|
182
|
+
direction: {
|
|
183
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string]>;
|
|
184
|
+
isOptional: false;
|
|
185
|
+
};
|
|
186
|
+
sourceObject: {
|
|
187
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
188
|
+
isOptional: false;
|
|
189
|
+
};
|
|
190
|
+
targetObject: {
|
|
191
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
192
|
+
isOptional: false;
|
|
193
|
+
};
|
|
194
|
+
scheduleEnabled: {
|
|
195
|
+
type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
|
|
196
|
+
isOptional: true;
|
|
197
|
+
};
|
|
198
|
+
scheduleCron: {
|
|
199
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
200
|
+
isOptional: true;
|
|
201
|
+
};
|
|
205
202
|
}>;
|
|
206
203
|
/**
|
|
207
204
|
* Input for adding a field mapping.
|
|
208
205
|
*/
|
|
209
|
-
declare const AddFieldMappingInputModel:
|
|
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
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
206
|
+
export declare const AddFieldMappingInputModel: import("@contractspec/lib.schema").SchemaModel<{
|
|
207
|
+
syncConfigId: {
|
|
208
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
209
|
+
isOptional: false;
|
|
210
|
+
};
|
|
211
|
+
sourceField: {
|
|
212
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
213
|
+
isOptional: false;
|
|
214
|
+
};
|
|
215
|
+
targetField: {
|
|
216
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
217
|
+
isOptional: false;
|
|
218
|
+
};
|
|
219
|
+
mappingType: {
|
|
220
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string]>;
|
|
221
|
+
isOptional: false;
|
|
222
|
+
};
|
|
223
|
+
transformExpression: {
|
|
224
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
225
|
+
isOptional: true;
|
|
226
|
+
};
|
|
227
|
+
lookupConfig: {
|
|
228
|
+
type: import("@contractspec/lib.schema").FieldType<unknown, unknown>;
|
|
229
|
+
isOptional: true;
|
|
230
|
+
};
|
|
231
|
+
constantValue: {
|
|
232
|
+
type: import("@contractspec/lib.schema").FieldType<unknown, unknown>;
|
|
233
|
+
isOptional: true;
|
|
234
|
+
};
|
|
235
|
+
isRequired: {
|
|
236
|
+
type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
|
|
237
|
+
isOptional: true;
|
|
238
|
+
};
|
|
239
|
+
defaultValue: {
|
|
240
|
+
type: import("@contractspec/lib.schema").FieldType<unknown, unknown>;
|
|
241
|
+
isOptional: true;
|
|
242
|
+
};
|
|
246
243
|
}>;
|
|
247
244
|
/**
|
|
248
245
|
* Input for triggering a sync.
|
|
249
246
|
*/
|
|
250
|
-
declare const TriggerSyncInputModel:
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
247
|
+
export declare const TriggerSyncInputModel: import("@contractspec/lib.schema").SchemaModel<{
|
|
248
|
+
syncConfigId: {
|
|
249
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
250
|
+
isOptional: false;
|
|
251
|
+
};
|
|
252
|
+
direction: {
|
|
253
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string]>;
|
|
254
|
+
isOptional: true;
|
|
255
|
+
};
|
|
256
|
+
fullSync: {
|
|
257
|
+
type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
|
|
258
|
+
isOptional: true;
|
|
259
|
+
};
|
|
263
260
|
}>;
|
|
264
261
|
/**
|
|
265
262
|
* Input for listing sync runs.
|
|
266
263
|
*/
|
|
267
|
-
declare const ListSyncRunsInputModel:
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
264
|
+
export declare const ListSyncRunsInputModel: import("@contractspec/lib.schema").SchemaModel<{
|
|
265
|
+
syncConfigId: {
|
|
266
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
267
|
+
isOptional: false;
|
|
268
|
+
};
|
|
269
|
+
status: {
|
|
270
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string]>;
|
|
271
|
+
isOptional: true;
|
|
272
|
+
};
|
|
273
|
+
limit: {
|
|
274
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
275
|
+
isOptional: true;
|
|
276
|
+
defaultValue: number;
|
|
277
|
+
};
|
|
278
|
+
offset: {
|
|
279
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
280
|
+
isOptional: true;
|
|
281
|
+
defaultValue: number;
|
|
282
|
+
};
|
|
286
283
|
}>;
|
|
287
284
|
/**
|
|
288
285
|
* Output for listing sync runs.
|
|
289
286
|
*/
|
|
290
|
-
declare const ListSyncRunsOutputModel:
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
287
|
+
export declare const ListSyncRunsOutputModel: import("@contractspec/lib.schema").SchemaModel<{
|
|
288
|
+
runs: {
|
|
289
|
+
type: import("@contractspec/lib.schema").SchemaModel<{
|
|
290
|
+
id: {
|
|
291
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
292
|
+
isOptional: false;
|
|
293
|
+
};
|
|
294
|
+
syncConfigId: {
|
|
295
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
296
|
+
isOptional: false;
|
|
297
|
+
};
|
|
298
|
+
status: {
|
|
299
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string]>;
|
|
300
|
+
isOptional: false;
|
|
301
|
+
};
|
|
302
|
+
direction: {
|
|
303
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string]>;
|
|
304
|
+
isOptional: false;
|
|
305
|
+
};
|
|
306
|
+
trigger: {
|
|
307
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
308
|
+
isOptional: false;
|
|
309
|
+
};
|
|
310
|
+
recordsProcessed: {
|
|
311
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
312
|
+
isOptional: false;
|
|
313
|
+
};
|
|
314
|
+
recordsCreated: {
|
|
315
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
316
|
+
isOptional: false;
|
|
317
|
+
};
|
|
318
|
+
recordsUpdated: {
|
|
319
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
320
|
+
isOptional: false;
|
|
321
|
+
};
|
|
322
|
+
recordsFailed: {
|
|
323
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
324
|
+
isOptional: false;
|
|
325
|
+
};
|
|
326
|
+
errorMessage: {
|
|
327
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
328
|
+
isOptional: true;
|
|
329
|
+
};
|
|
330
|
+
startedAt: {
|
|
331
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
332
|
+
isOptional: true;
|
|
333
|
+
};
|
|
334
|
+
completedAt: {
|
|
335
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
336
|
+
isOptional: true;
|
|
337
|
+
};
|
|
338
|
+
createdAt: {
|
|
339
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
340
|
+
isOptional: false;
|
|
341
|
+
};
|
|
342
|
+
}>;
|
|
343
|
+
isArray: true;
|
|
344
|
+
isOptional: false;
|
|
345
|
+
};
|
|
346
|
+
total: {
|
|
347
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
348
|
+
isOptional: false;
|
|
349
|
+
};
|
|
353
350
|
}>;
|
|
354
|
-
//#endregion
|
|
355
|
-
export { AddFieldMappingInputModel, CreateSyncConfigInputModel, FieldMappingModel, ListSyncRunsInputModel, ListSyncRunsOutputModel, SyncConfigModel, SyncRunModel, TriggerSyncInputModel };
|
|
356
351
|
//# sourceMappingURL=sync.schema.d.ts.map
|