@lssm/example.integration-hub 0.0.0-canary-20251217060804 → 0.0.0-canary-20251217062139
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.contracts.d.ts +27 -27
- package/dist/connection/connection.contracts.js +1 -1
- package/dist/connection/connection.enum.d.ts +2 -2
- package/dist/connection/connection.enum.js +1 -1
- package/dist/connection/connection.schema.d.ts +16 -16
- package/dist/connection/connection.schema.js +1 -1
- package/dist/docs/integration-hub.docblock.js +1 -1
- package/dist/events.d.ts +43 -43
- package/dist/events.js +1 -1
- package/dist/index.d.ts +0 -3
- package/dist/integration/integration.contracts.d.ts +25 -25
- package/dist/integration/integration.contracts.js +1 -1
- package/dist/integration/integration.enum.d.ts +2 -2
- package/dist/integration/integration.enum.js +1 -1
- package/dist/integration/integration.schema.d.ts +16 -16
- package/dist/integration/integration.schema.js +1 -1
- package/dist/libs/contracts/dist/capabilities/openbanking.js +1 -0
- package/dist/libs/contracts/dist/client/index.js +1 -0
- package/dist/libs/contracts/dist/client/react/feature-render.js +1 -0
- package/dist/libs/contracts/dist/client/react/form-render.js +1 -0
- package/dist/libs/contracts/dist/client/react/index.js +1 -0
- package/dist/libs/contracts/dist/contract-registry/index.js +1 -0
- package/dist/libs/contracts/dist/contract-registry/schemas.js +1 -0
- package/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js +76 -0
- package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +350 -0
- package/dist/libs/contracts/dist/docs/index.js +1 -0
- package/dist/libs/contracts/dist/docs/presentations.js +1 -0
- package/dist/libs/contracts/dist/docs/registry.js +1 -0
- package/dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +383 -0
- package/dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +68 -0
- package/dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +140 -0
- package/dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +86 -0
- package/dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +1 -0
- package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +58 -0
- package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +38 -0
- package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +213 -0
- package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +289 -0
- package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +1 -0
- package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +1 -0
- package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +262 -0
- package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +1 -0
- package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +57 -0
- package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +63 -0
- package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +36 -0
- package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +1 -0
- package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +20 -0
- package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +65 -0
- package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +1 -0
- package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +41 -0
- package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +122 -0
- package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +1 -0
- package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +68 -0
- package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +1 -0
- package/dist/libs/contracts/dist/events.js +1 -0
- package/dist/libs/contracts/dist/experiments/evaluator.js +1 -0
- package/dist/libs/contracts/dist/index.js +1 -0
- package/dist/libs/contracts/dist/install.js +1 -0
- package/dist/libs/contracts/dist/integrations/contracts.js +1 -0
- package/dist/libs/contracts/dist/integrations/index.js +1 -0
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +1 -0
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +1 -0
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/index.js +1 -0
- package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +1 -0
- package/dist/libs/contracts/dist/integrations/openbanking/models.js +1 -0
- package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/gmail.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/google-calendar.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/index.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/mistral.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/postmark.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/powens.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/qdrant.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/registry.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/stripe.js +1 -0
- package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js +1 -0
- package/dist/libs/contracts/dist/jsonschema.js +1 -0
- package/dist/libs/contracts/dist/knowledge/contracts.js +1 -0
- package/dist/libs/contracts/dist/knowledge/index.js +1 -0
- package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js +1 -0
- package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js +1 -0
- package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js +1 -0
- package/dist/libs/contracts/dist/knowledge/spaces/index.js +1 -0
- package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js +1 -0
- package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js +1 -0
- package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js +1 -0
- package/dist/libs/contracts/dist/llm/exporters.js +1 -0
- package/dist/libs/contracts/dist/llm/index.js +1 -0
- package/dist/libs/contracts/dist/llm/prompts.js +1 -0
- package/dist/libs/contracts/dist/onboarding-base.js +1 -0
- package/dist/libs/contracts/dist/openapi.js +1 -0
- package/dist/libs/contracts/dist/ownership.js +1 -0
- package/dist/libs/contracts/dist/presentations.js +1 -0
- package/dist/libs/contracts/dist/presentations.v2.js +1 -0
- package/dist/libs/contracts/dist/prompt.js +1 -0
- package/dist/libs/contracts/dist/promptRegistry.js +1 -0
- package/dist/libs/contracts/dist/regenerator/index.js +1 -0
- package/dist/libs/contracts/dist/regenerator/service.js +1 -0
- package/dist/libs/contracts/dist/registry.js +1 -0
- package/dist/libs/contracts/dist/resources.js +1 -0
- package/dist/libs/contracts/dist/schema/dist/EnumType.js +1 -0
- package/dist/libs/contracts/dist/schema/dist/FieldType.js +1 -0
- package/dist/libs/contracts/dist/schema/dist/ScalarTypeEnum.js +1 -0
- package/dist/libs/contracts/dist/schema/dist/SchemaModel.js +1 -0
- package/dist/libs/contracts/dist/schema/dist/entity/defineEntity.js +1 -0
- package/dist/libs/contracts/dist/schema/dist/entity/index.js +1 -0
- package/dist/libs/contracts/dist/schema/dist/entity/types.js +1 -0
- package/dist/libs/contracts/dist/schema/dist/index.js +1 -0
- package/dist/libs/contracts/dist/server/graphql-pothos.js +1 -0
- package/dist/libs/contracts/dist/server/index.js +1 -0
- package/dist/libs/contracts/dist/server/mcp/createMcpServer.js +1 -0
- package/dist/libs/contracts/dist/server/mcp/registerPresentations.js +1 -0
- package/dist/libs/contracts/dist/server/mcp/registerPrompts.js +1 -0
- package/dist/libs/contracts/dist/server/mcp/registerResources.js +1 -0
- package/dist/libs/contracts/dist/server/mcp/registerTools.js +1 -0
- package/dist/libs/contracts/dist/server/provider-mcp.js +1 -0
- package/dist/libs/contracts/dist/server/rest-elysia.js +1 -0
- package/dist/libs/contracts/dist/server/rest-express.js +1 -0
- package/dist/libs/contracts/dist/server/rest-generic.js +1 -0
- package/dist/libs/contracts/dist/server/rest-next-app.js +1 -0
- package/dist/libs/contracts/dist/server/rest-next-pages.js +1 -0
- package/dist/libs/contracts/dist/spec.js +1 -0
- package/dist/libs/contracts/dist/telemetry/index.js +1 -0
- package/dist/libs/contracts/dist/telemetry/tracker.js +1 -0
- package/dist/libs/contracts/dist/tests/index.js +1 -0
- package/dist/libs/contracts/dist/tests/runner.js +1 -0
- package/dist/libs/contracts/dist/workflow/index.js +1 -0
- package/dist/libs/contracts/dist/workflow/runner.js +1 -0
- package/dist/libs/schema/dist/EnumType.js +1 -0
- package/dist/libs/schema/dist/FieldType.js +1 -0
- package/dist/libs/schema/dist/ScalarTypeEnum.js +1 -0
- package/dist/libs/schema/dist/SchemaModel.js +1 -0
- package/dist/libs/schema/dist/entity/defineEntity.js +1 -0
- package/dist/libs/schema/dist/entity/index.js +1 -0
- package/dist/libs/schema/dist/entity/types.js +1 -0
- package/dist/libs/schema/dist/index.js +1 -0
- package/dist/sync/sync.contracts.d.ts +126 -126
- package/dist/sync/sync.contracts.js +1 -1
- package/dist/sync/sync.enum.d.ts +4 -4
- package/dist/sync/sync.enum.js +1 -1
- package/dist/sync/sync.schema.d.ts +85 -85
- package/dist/sync/sync.schema.js +1 -1
- package/package.json +12 -12
|
@@ -1,107 +1,107 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema247 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/sync/sync.schema.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* A field mapping configuration.
|
|
6
6
|
*/
|
|
7
|
-
declare const FieldMappingModel:
|
|
7
|
+
declare const FieldMappingModel: _lssm_lib_schema247.SchemaModel<{
|
|
8
8
|
id: {
|
|
9
|
-
type:
|
|
9
|
+
type: _lssm_lib_schema247.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
sourceField: {
|
|
13
|
-
type:
|
|
13
|
+
type: _lssm_lib_schema247.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
targetField: {
|
|
17
|
-
type:
|
|
17
|
+
type: _lssm_lib_schema247.FieldType<string, string>;
|
|
18
18
|
isOptional: false;
|
|
19
19
|
};
|
|
20
20
|
mappingType: {
|
|
21
|
-
type:
|
|
21
|
+
type: _lssm_lib_schema247.EnumType<[string, string, string, string, string]>;
|
|
22
22
|
isOptional: false;
|
|
23
23
|
};
|
|
24
24
|
transformExpression: {
|
|
25
|
-
type:
|
|
25
|
+
type: _lssm_lib_schema247.FieldType<string, string>;
|
|
26
26
|
isOptional: true;
|
|
27
27
|
};
|
|
28
28
|
isRequired: {
|
|
29
|
-
type:
|
|
29
|
+
type: _lssm_lib_schema247.FieldType<boolean, boolean>;
|
|
30
30
|
isOptional: false;
|
|
31
31
|
};
|
|
32
32
|
}>;
|
|
33
33
|
/**
|
|
34
34
|
* A sync configuration.
|
|
35
35
|
*/
|
|
36
|
-
declare const SyncConfigModel:
|
|
36
|
+
declare const SyncConfigModel: _lssm_lib_schema247.SchemaModel<{
|
|
37
37
|
id: {
|
|
38
|
-
type:
|
|
38
|
+
type: _lssm_lib_schema247.FieldType<string, string>;
|
|
39
39
|
isOptional: false;
|
|
40
40
|
};
|
|
41
41
|
integrationId: {
|
|
42
|
-
type:
|
|
42
|
+
type: _lssm_lib_schema247.FieldType<string, string>;
|
|
43
43
|
isOptional: false;
|
|
44
44
|
};
|
|
45
45
|
connectionId: {
|
|
46
|
-
type:
|
|
46
|
+
type: _lssm_lib_schema247.FieldType<string, string>;
|
|
47
47
|
isOptional: false;
|
|
48
48
|
};
|
|
49
49
|
name: {
|
|
50
|
-
type:
|
|
50
|
+
type: _lssm_lib_schema247.FieldType<string, string>;
|
|
51
51
|
isOptional: false;
|
|
52
52
|
};
|
|
53
53
|
direction: {
|
|
54
|
-
type:
|
|
54
|
+
type: _lssm_lib_schema247.EnumType<[string, string, string]>;
|
|
55
55
|
isOptional: false;
|
|
56
56
|
};
|
|
57
57
|
sourceObject: {
|
|
58
|
-
type:
|
|
58
|
+
type: _lssm_lib_schema247.FieldType<string, string>;
|
|
59
59
|
isOptional: false;
|
|
60
60
|
};
|
|
61
61
|
targetObject: {
|
|
62
|
-
type:
|
|
62
|
+
type: _lssm_lib_schema247.FieldType<string, string>;
|
|
63
63
|
isOptional: false;
|
|
64
64
|
};
|
|
65
65
|
scheduleEnabled: {
|
|
66
|
-
type:
|
|
66
|
+
type: _lssm_lib_schema247.FieldType<boolean, boolean>;
|
|
67
67
|
isOptional: false;
|
|
68
68
|
};
|
|
69
69
|
scheduleCron: {
|
|
70
|
-
type:
|
|
70
|
+
type: _lssm_lib_schema247.FieldType<string, string>;
|
|
71
71
|
isOptional: true;
|
|
72
72
|
};
|
|
73
73
|
isActive: {
|
|
74
|
-
type:
|
|
74
|
+
type: _lssm_lib_schema247.FieldType<boolean, boolean>;
|
|
75
75
|
isOptional: false;
|
|
76
76
|
};
|
|
77
77
|
lastSyncAt: {
|
|
78
|
-
type:
|
|
78
|
+
type: _lssm_lib_schema247.FieldType<Date, string>;
|
|
79
79
|
isOptional: true;
|
|
80
80
|
};
|
|
81
81
|
fieldMappings: {
|
|
82
|
-
type:
|
|
82
|
+
type: _lssm_lib_schema247.SchemaModel<{
|
|
83
83
|
id: {
|
|
84
|
-
type:
|
|
84
|
+
type: _lssm_lib_schema247.FieldType<string, string>;
|
|
85
85
|
isOptional: false;
|
|
86
86
|
};
|
|
87
87
|
sourceField: {
|
|
88
|
-
type:
|
|
88
|
+
type: _lssm_lib_schema247.FieldType<string, string>;
|
|
89
89
|
isOptional: false;
|
|
90
90
|
};
|
|
91
91
|
targetField: {
|
|
92
|
-
type:
|
|
92
|
+
type: _lssm_lib_schema247.FieldType<string, string>;
|
|
93
93
|
isOptional: false;
|
|
94
94
|
};
|
|
95
95
|
mappingType: {
|
|
96
|
-
type:
|
|
96
|
+
type: _lssm_lib_schema247.EnumType<[string, string, string, string, string]>;
|
|
97
97
|
isOptional: false;
|
|
98
98
|
};
|
|
99
99
|
transformExpression: {
|
|
100
|
-
type:
|
|
100
|
+
type: _lssm_lib_schema247.FieldType<string, string>;
|
|
101
101
|
isOptional: true;
|
|
102
102
|
};
|
|
103
103
|
isRequired: {
|
|
104
|
-
type:
|
|
104
|
+
type: _lssm_lib_schema247.FieldType<boolean, boolean>;
|
|
105
105
|
isOptional: false;
|
|
106
106
|
};
|
|
107
107
|
}>;
|
|
@@ -112,174 +112,174 @@ declare const SyncConfigModel: _lssm_lib_schema209.SchemaModel<{
|
|
|
112
112
|
/**
|
|
113
113
|
* A sync run.
|
|
114
114
|
*/
|
|
115
|
-
declare const SyncRunModel:
|
|
115
|
+
declare const SyncRunModel: _lssm_lib_schema247.SchemaModel<{
|
|
116
116
|
id: {
|
|
117
|
-
type:
|
|
117
|
+
type: _lssm_lib_schema247.FieldType<string, string>;
|
|
118
118
|
isOptional: false;
|
|
119
119
|
};
|
|
120
120
|
syncConfigId: {
|
|
121
|
-
type:
|
|
121
|
+
type: _lssm_lib_schema247.FieldType<string, string>;
|
|
122
122
|
isOptional: false;
|
|
123
123
|
};
|
|
124
124
|
status: {
|
|
125
|
-
type:
|
|
125
|
+
type: _lssm_lib_schema247.EnumType<[string, string, string, string, string]>;
|
|
126
126
|
isOptional: false;
|
|
127
127
|
};
|
|
128
128
|
direction: {
|
|
129
|
-
type:
|
|
129
|
+
type: _lssm_lib_schema247.EnumType<[string, string, string]>;
|
|
130
130
|
isOptional: false;
|
|
131
131
|
};
|
|
132
132
|
trigger: {
|
|
133
|
-
type:
|
|
133
|
+
type: _lssm_lib_schema247.FieldType<string, string>;
|
|
134
134
|
isOptional: false;
|
|
135
135
|
};
|
|
136
136
|
recordsProcessed: {
|
|
137
|
-
type:
|
|
137
|
+
type: _lssm_lib_schema247.FieldType<number, number>;
|
|
138
138
|
isOptional: false;
|
|
139
139
|
};
|
|
140
140
|
recordsCreated: {
|
|
141
|
-
type:
|
|
141
|
+
type: _lssm_lib_schema247.FieldType<number, number>;
|
|
142
142
|
isOptional: false;
|
|
143
143
|
};
|
|
144
144
|
recordsUpdated: {
|
|
145
|
-
type:
|
|
145
|
+
type: _lssm_lib_schema247.FieldType<number, number>;
|
|
146
146
|
isOptional: false;
|
|
147
147
|
};
|
|
148
148
|
recordsFailed: {
|
|
149
|
-
type:
|
|
149
|
+
type: _lssm_lib_schema247.FieldType<number, number>;
|
|
150
150
|
isOptional: false;
|
|
151
151
|
};
|
|
152
152
|
errorMessage: {
|
|
153
|
-
type:
|
|
153
|
+
type: _lssm_lib_schema247.FieldType<string, string>;
|
|
154
154
|
isOptional: true;
|
|
155
155
|
};
|
|
156
156
|
startedAt: {
|
|
157
|
-
type:
|
|
157
|
+
type: _lssm_lib_schema247.FieldType<Date, string>;
|
|
158
158
|
isOptional: true;
|
|
159
159
|
};
|
|
160
160
|
completedAt: {
|
|
161
|
-
type:
|
|
161
|
+
type: _lssm_lib_schema247.FieldType<Date, string>;
|
|
162
162
|
isOptional: true;
|
|
163
163
|
};
|
|
164
164
|
createdAt: {
|
|
165
|
-
type:
|
|
165
|
+
type: _lssm_lib_schema247.FieldType<Date, string>;
|
|
166
166
|
isOptional: false;
|
|
167
167
|
};
|
|
168
168
|
}>;
|
|
169
169
|
/**
|
|
170
170
|
* Input for creating a sync config.
|
|
171
171
|
*/
|
|
172
|
-
declare const CreateSyncConfigInputModel:
|
|
172
|
+
declare const CreateSyncConfigInputModel: _lssm_lib_schema247.SchemaModel<{
|
|
173
173
|
integrationId: {
|
|
174
|
-
type:
|
|
174
|
+
type: _lssm_lib_schema247.FieldType<string, string>;
|
|
175
175
|
isOptional: false;
|
|
176
176
|
};
|
|
177
177
|
connectionId: {
|
|
178
|
-
type:
|
|
178
|
+
type: _lssm_lib_schema247.FieldType<string, string>;
|
|
179
179
|
isOptional: false;
|
|
180
180
|
};
|
|
181
181
|
name: {
|
|
182
|
-
type:
|
|
182
|
+
type: _lssm_lib_schema247.FieldType<string, string>;
|
|
183
183
|
isOptional: false;
|
|
184
184
|
};
|
|
185
185
|
direction: {
|
|
186
|
-
type:
|
|
186
|
+
type: _lssm_lib_schema247.EnumType<[string, string, string]>;
|
|
187
187
|
isOptional: false;
|
|
188
188
|
};
|
|
189
189
|
sourceObject: {
|
|
190
|
-
type:
|
|
190
|
+
type: _lssm_lib_schema247.FieldType<string, string>;
|
|
191
191
|
isOptional: false;
|
|
192
192
|
};
|
|
193
193
|
targetObject: {
|
|
194
|
-
type:
|
|
194
|
+
type: _lssm_lib_schema247.FieldType<string, string>;
|
|
195
195
|
isOptional: false;
|
|
196
196
|
};
|
|
197
197
|
scheduleEnabled: {
|
|
198
|
-
type:
|
|
198
|
+
type: _lssm_lib_schema247.FieldType<boolean, boolean>;
|
|
199
199
|
isOptional: true;
|
|
200
200
|
};
|
|
201
201
|
scheduleCron: {
|
|
202
|
-
type:
|
|
202
|
+
type: _lssm_lib_schema247.FieldType<string, string>;
|
|
203
203
|
isOptional: true;
|
|
204
204
|
};
|
|
205
205
|
}>;
|
|
206
206
|
/**
|
|
207
207
|
* Input for adding a field mapping.
|
|
208
208
|
*/
|
|
209
|
-
declare const AddFieldMappingInputModel:
|
|
209
|
+
declare const AddFieldMappingInputModel: _lssm_lib_schema247.SchemaModel<{
|
|
210
210
|
syncConfigId: {
|
|
211
|
-
type:
|
|
211
|
+
type: _lssm_lib_schema247.FieldType<string, string>;
|
|
212
212
|
isOptional: false;
|
|
213
213
|
};
|
|
214
214
|
sourceField: {
|
|
215
|
-
type:
|
|
215
|
+
type: _lssm_lib_schema247.FieldType<string, string>;
|
|
216
216
|
isOptional: false;
|
|
217
217
|
};
|
|
218
218
|
targetField: {
|
|
219
|
-
type:
|
|
219
|
+
type: _lssm_lib_schema247.FieldType<string, string>;
|
|
220
220
|
isOptional: false;
|
|
221
221
|
};
|
|
222
222
|
mappingType: {
|
|
223
|
-
type:
|
|
223
|
+
type: _lssm_lib_schema247.EnumType<[string, string, string, string, string]>;
|
|
224
224
|
isOptional: false;
|
|
225
225
|
};
|
|
226
226
|
transformExpression: {
|
|
227
|
-
type:
|
|
227
|
+
type: _lssm_lib_schema247.FieldType<string, string>;
|
|
228
228
|
isOptional: true;
|
|
229
229
|
};
|
|
230
230
|
lookupConfig: {
|
|
231
|
-
type:
|
|
231
|
+
type: _lssm_lib_schema247.FieldType<unknown, unknown>;
|
|
232
232
|
isOptional: true;
|
|
233
233
|
};
|
|
234
234
|
constantValue: {
|
|
235
|
-
type:
|
|
235
|
+
type: _lssm_lib_schema247.FieldType<unknown, unknown>;
|
|
236
236
|
isOptional: true;
|
|
237
237
|
};
|
|
238
238
|
isRequired: {
|
|
239
|
-
type:
|
|
239
|
+
type: _lssm_lib_schema247.FieldType<boolean, boolean>;
|
|
240
240
|
isOptional: true;
|
|
241
241
|
};
|
|
242
242
|
defaultValue: {
|
|
243
|
-
type:
|
|
243
|
+
type: _lssm_lib_schema247.FieldType<unknown, unknown>;
|
|
244
244
|
isOptional: true;
|
|
245
245
|
};
|
|
246
246
|
}>;
|
|
247
247
|
/**
|
|
248
248
|
* Input for triggering a sync.
|
|
249
249
|
*/
|
|
250
|
-
declare const TriggerSyncInputModel:
|
|
250
|
+
declare const TriggerSyncInputModel: _lssm_lib_schema247.SchemaModel<{
|
|
251
251
|
syncConfigId: {
|
|
252
|
-
type:
|
|
252
|
+
type: _lssm_lib_schema247.FieldType<string, string>;
|
|
253
253
|
isOptional: false;
|
|
254
254
|
};
|
|
255
255
|
direction: {
|
|
256
|
-
type:
|
|
256
|
+
type: _lssm_lib_schema247.EnumType<[string, string, string]>;
|
|
257
257
|
isOptional: true;
|
|
258
258
|
};
|
|
259
259
|
fullSync: {
|
|
260
|
-
type:
|
|
260
|
+
type: _lssm_lib_schema247.FieldType<boolean, boolean>;
|
|
261
261
|
isOptional: true;
|
|
262
262
|
};
|
|
263
263
|
}>;
|
|
264
264
|
/**
|
|
265
265
|
* Input for listing sync runs.
|
|
266
266
|
*/
|
|
267
|
-
declare const ListSyncRunsInputModel:
|
|
267
|
+
declare const ListSyncRunsInputModel: _lssm_lib_schema247.SchemaModel<{
|
|
268
268
|
syncConfigId: {
|
|
269
|
-
type:
|
|
269
|
+
type: _lssm_lib_schema247.FieldType<string, string>;
|
|
270
270
|
isOptional: false;
|
|
271
271
|
};
|
|
272
272
|
status: {
|
|
273
|
-
type:
|
|
273
|
+
type: _lssm_lib_schema247.EnumType<[string, string, string, string, string]>;
|
|
274
274
|
isOptional: true;
|
|
275
275
|
};
|
|
276
276
|
limit: {
|
|
277
|
-
type:
|
|
277
|
+
type: _lssm_lib_schema247.FieldType<number, number>;
|
|
278
278
|
isOptional: true;
|
|
279
279
|
defaultValue: number;
|
|
280
280
|
};
|
|
281
281
|
offset: {
|
|
282
|
-
type:
|
|
282
|
+
type: _lssm_lib_schema247.FieldType<number, number>;
|
|
283
283
|
isOptional: true;
|
|
284
284
|
defaultValue: number;
|
|
285
285
|
};
|
|
@@ -287,59 +287,59 @@ declare const ListSyncRunsInputModel: _lssm_lib_schema209.SchemaModel<{
|
|
|
287
287
|
/**
|
|
288
288
|
* Output for listing sync runs.
|
|
289
289
|
*/
|
|
290
|
-
declare const ListSyncRunsOutputModel:
|
|
290
|
+
declare const ListSyncRunsOutputModel: _lssm_lib_schema247.SchemaModel<{
|
|
291
291
|
runs: {
|
|
292
|
-
type:
|
|
292
|
+
type: _lssm_lib_schema247.SchemaModel<{
|
|
293
293
|
id: {
|
|
294
|
-
type:
|
|
294
|
+
type: _lssm_lib_schema247.FieldType<string, string>;
|
|
295
295
|
isOptional: false;
|
|
296
296
|
};
|
|
297
297
|
syncConfigId: {
|
|
298
|
-
type:
|
|
298
|
+
type: _lssm_lib_schema247.FieldType<string, string>;
|
|
299
299
|
isOptional: false;
|
|
300
300
|
};
|
|
301
301
|
status: {
|
|
302
|
-
type:
|
|
302
|
+
type: _lssm_lib_schema247.EnumType<[string, string, string, string, string]>;
|
|
303
303
|
isOptional: false;
|
|
304
304
|
};
|
|
305
305
|
direction: {
|
|
306
|
-
type:
|
|
306
|
+
type: _lssm_lib_schema247.EnumType<[string, string, string]>;
|
|
307
307
|
isOptional: false;
|
|
308
308
|
};
|
|
309
309
|
trigger: {
|
|
310
|
-
type:
|
|
310
|
+
type: _lssm_lib_schema247.FieldType<string, string>;
|
|
311
311
|
isOptional: false;
|
|
312
312
|
};
|
|
313
313
|
recordsProcessed: {
|
|
314
|
-
type:
|
|
314
|
+
type: _lssm_lib_schema247.FieldType<number, number>;
|
|
315
315
|
isOptional: false;
|
|
316
316
|
};
|
|
317
317
|
recordsCreated: {
|
|
318
|
-
type:
|
|
318
|
+
type: _lssm_lib_schema247.FieldType<number, number>;
|
|
319
319
|
isOptional: false;
|
|
320
320
|
};
|
|
321
321
|
recordsUpdated: {
|
|
322
|
-
type:
|
|
322
|
+
type: _lssm_lib_schema247.FieldType<number, number>;
|
|
323
323
|
isOptional: false;
|
|
324
324
|
};
|
|
325
325
|
recordsFailed: {
|
|
326
|
-
type:
|
|
326
|
+
type: _lssm_lib_schema247.FieldType<number, number>;
|
|
327
327
|
isOptional: false;
|
|
328
328
|
};
|
|
329
329
|
errorMessage: {
|
|
330
|
-
type:
|
|
330
|
+
type: _lssm_lib_schema247.FieldType<string, string>;
|
|
331
331
|
isOptional: true;
|
|
332
332
|
};
|
|
333
333
|
startedAt: {
|
|
334
|
-
type:
|
|
334
|
+
type: _lssm_lib_schema247.FieldType<Date, string>;
|
|
335
335
|
isOptional: true;
|
|
336
336
|
};
|
|
337
337
|
completedAt: {
|
|
338
|
-
type:
|
|
338
|
+
type: _lssm_lib_schema247.FieldType<Date, string>;
|
|
339
339
|
isOptional: true;
|
|
340
340
|
};
|
|
341
341
|
createdAt: {
|
|
342
|
-
type:
|
|
342
|
+
type: _lssm_lib_schema247.FieldType<Date, string>;
|
|
343
343
|
isOptional: false;
|
|
344
344
|
};
|
|
345
345
|
}>;
|
|
@@ -347,7 +347,7 @@ declare const ListSyncRunsOutputModel: _lssm_lib_schema209.SchemaModel<{
|
|
|
347
347
|
isOptional: false;
|
|
348
348
|
};
|
|
349
349
|
total: {
|
|
350
|
-
type:
|
|
350
|
+
type: _lssm_lib_schema247.FieldType<number, number>;
|
|
351
351
|
isOptional: false;
|
|
352
352
|
};
|
|
353
353
|
}>;
|
package/dist/sync/sync.schema.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{l as e}from"../libs/schema/dist/ScalarTypeEnum.js";import{n as t}from"../libs/schema/dist/SchemaModel.js";import"../libs/schema/dist/index.js";import{MappingTypeEnum as n,SyncDirectionEnum as r,SyncStatusEnum as i}from"./sync.enum.js";const a=t({name:`FieldMappingModel`,fields:{id:{type:e.String_unsecure(),isOptional:!1},sourceField:{type:e.String_unsecure(),isOptional:!1},targetField:{type:e.String_unsecure(),isOptional:!1},mappingType:{type:n,isOptional:!1},transformExpression:{type:e.String_unsecure(),isOptional:!0},isRequired:{type:e.Boolean(),isOptional:!1}}}),o=t({name:`SyncConfigModel`,fields:{id:{type:e.String_unsecure(),isOptional:!1},integrationId:{type:e.String_unsecure(),isOptional:!1},connectionId:{type:e.String_unsecure(),isOptional:!1},name:{type:e.String_unsecure(),isOptional:!1},direction:{type:r,isOptional:!1},sourceObject:{type:e.String_unsecure(),isOptional:!1},targetObject:{type:e.String_unsecure(),isOptional:!1},scheduleEnabled:{type:e.Boolean(),isOptional:!1},scheduleCron:{type:e.String_unsecure(),isOptional:!0},isActive:{type:e.Boolean(),isOptional:!1},lastSyncAt:{type:e.DateTime(),isOptional:!0},fieldMappings:{type:a,isArray:!0,isOptional:!0}}}),s=t({name:`SyncRunModel`,fields:{id:{type:e.String_unsecure(),isOptional:!1},syncConfigId:{type:e.String_unsecure(),isOptional:!1},status:{type:i,isOptional:!1},direction:{type:r,isOptional:!1},trigger:{type:e.String_unsecure(),isOptional:!1},recordsProcessed:{type:e.Int_unsecure(),isOptional:!1},recordsCreated:{type:e.Int_unsecure(),isOptional:!1},recordsUpdated:{type:e.Int_unsecure(),isOptional:!1},recordsFailed:{type:e.Int_unsecure(),isOptional:!1},errorMessage:{type:e.String_unsecure(),isOptional:!0},startedAt:{type:e.DateTime(),isOptional:!0},completedAt:{type:e.DateTime(),isOptional:!0},createdAt:{type:e.DateTime(),isOptional:!1}}}),c=t({name:`CreateSyncConfigInput`,fields:{integrationId:{type:e.String_unsecure(),isOptional:!1},connectionId:{type:e.String_unsecure(),isOptional:!1},name:{type:e.NonEmptyString(),isOptional:!1},direction:{type:r,isOptional:!1},sourceObject:{type:e.NonEmptyString(),isOptional:!1},targetObject:{type:e.NonEmptyString(),isOptional:!1},scheduleEnabled:{type:e.Boolean(),isOptional:!0},scheduleCron:{type:e.String_unsecure(),isOptional:!0}}}),l=t({name:`AddFieldMappingInput`,fields:{syncConfigId:{type:e.String_unsecure(),isOptional:!1},sourceField:{type:e.NonEmptyString(),isOptional:!1},targetField:{type:e.NonEmptyString(),isOptional:!1},mappingType:{type:n,isOptional:!1},transformExpression:{type:e.String_unsecure(),isOptional:!0},lookupConfig:{type:e.JSON(),isOptional:!0},constantValue:{type:e.JSON(),isOptional:!0},isRequired:{type:e.Boolean(),isOptional:!0},defaultValue:{type:e.JSON(),isOptional:!0}}}),u=t({name:`TriggerSyncInput`,fields:{syncConfigId:{type:e.String_unsecure(),isOptional:!1},direction:{type:r,isOptional:!0},fullSync:{type:e.Boolean(),isOptional:!0}}}),d=t({name:`ListSyncRunsInput`,fields:{syncConfigId:{type:e.String_unsecure(),isOptional:!1},status:{type:i,isOptional:!0},limit:{type:e.Int_unsecure(),isOptional:!0,defaultValue:20},offset:{type:e.Int_unsecure(),isOptional:!0,defaultValue:0}}}),f=t({name:`ListSyncRunsOutput`,fields:{runs:{type:s,isArray:!0,isOptional:!1},total:{type:e.Int_unsecure(),isOptional:!1}}});export{l as AddFieldMappingInputModel,c as CreateSyncConfigInputModel,a as FieldMappingModel,d as ListSyncRunsInputModel,f as ListSyncRunsOutputModel,o as SyncConfigModel,s as SyncRunModel,u as TriggerSyncInputModel};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lssm/example.integration-hub",
|
|
3
|
-
"version": "0.0.0-canary-
|
|
3
|
+
"version": "0.0.0-canary-20251217062139",
|
|
4
4
|
"description": "Integration Hub example with sync engine and field mappings for ContractSpec",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -18,20 +18,20 @@
|
|
|
18
18
|
"lint:check": "eslint src"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@lssm/lib.schema": "0.0.0-canary-
|
|
22
|
-
"@lssm/lib.contracts": "0.0.0-canary-
|
|
23
|
-
"@lssm/lib.bus": "0.0.0-canary-
|
|
24
|
-
"@lssm/lib.identity-rbac": "0.0.0-canary-
|
|
25
|
-
"@lssm/lib.files": "0.0.0-canary-
|
|
26
|
-
"@lssm/lib.feature-flags": "0.0.0-canary-
|
|
27
|
-
"@lssm/lib.jobs": "0.0.0-canary-
|
|
28
|
-
"@lssm/module.audit-trail": "0.0.0-canary-
|
|
29
|
-
"@lssm/module.notifications": "0.0.0-canary-
|
|
21
|
+
"@lssm/lib.schema": "0.0.0-canary-20251217062139",
|
|
22
|
+
"@lssm/lib.contracts": "0.0.0-canary-20251217062139",
|
|
23
|
+
"@lssm/lib.bus": "0.0.0-canary-20251217062139",
|
|
24
|
+
"@lssm/lib.identity-rbac": "0.0.0-canary-20251217062139",
|
|
25
|
+
"@lssm/lib.files": "0.0.0-canary-20251217062139",
|
|
26
|
+
"@lssm/lib.feature-flags": "0.0.0-canary-20251217062139",
|
|
27
|
+
"@lssm/lib.jobs": "0.0.0-canary-20251217062139",
|
|
28
|
+
"@lssm/module.audit-trail": "0.0.0-canary-20251217062139",
|
|
29
|
+
"@lssm/module.notifications": "0.0.0-canary-20251217062139",
|
|
30
30
|
"zod": "^4.1.13"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@lssm/tool.typescript": "0.0.0-canary-
|
|
34
|
-
"@lssm/tool.tsdown": "0.0.0-canary-
|
|
33
|
+
"@lssm/tool.typescript": "0.0.0-canary-20251217062139",
|
|
34
|
+
"@lssm/tool.tsdown": "0.0.0-canary-20251217062139",
|
|
35
35
|
"typescript": "^5.9.3"
|
|
36
36
|
},
|
|
37
37
|
"exports": {
|