@lssm/lib.contracts 1.43.2 → 1.43.4
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/README.md +5 -0
- package/dist/app-config/lifecycle-contracts.d.ts +54 -54
- package/dist/contract-registry/schemas.d.ts +6 -6
- package/dist/integrations/providers/impls/stripe-payments.js +1 -1
- package/dist/knowledge/operations.d.ts +66 -66
- package/dist/regenerator/service.js +3 -2
- package/dist/workspace-config/contractsrc-schema.d.ts +74 -74
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# @lssm/lib.contracts
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/@lssm/lib.contracts)
|
|
4
|
+
[](https://www.npmjs.com/package/@lssm/lib.contracts)
|
|
5
|
+
[](https://deepwiki.com/lssm-tech/contractspec)
|
|
6
|
+
|
|
7
|
+
|
|
3
8
|
Website: https://contractspec.io/
|
|
4
9
|
|
|
5
10
|
|
|
@@ -3,50 +3,50 @@ import { OperationSpec } from "../operations/operation.js";
|
|
|
3
3
|
import { OperationSpecRegistry } from "../operations/registry.js";
|
|
4
4
|
import "../operations/index.js";
|
|
5
5
|
import "../index.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as _lssm_lib_schema203 from "@lssm/lib.schema";
|
|
7
7
|
import { SchemaModel } from "@lssm/lib.schema";
|
|
8
8
|
|
|
9
9
|
//#region src/app-config/lifecycle-contracts.d.ts
|
|
10
10
|
declare const CreateTenantConfigDraftCommand: OperationSpec<SchemaModel<{
|
|
11
11
|
tenantId: {
|
|
12
|
-
type:
|
|
12
|
+
type: _lssm_lib_schema203.FieldType<string, string>;
|
|
13
13
|
isOptional: false;
|
|
14
14
|
};
|
|
15
15
|
appId: {
|
|
16
|
-
type:
|
|
16
|
+
type: _lssm_lib_schema203.FieldType<string, string>;
|
|
17
17
|
isOptional: false;
|
|
18
18
|
};
|
|
19
19
|
blueprintName: {
|
|
20
|
-
type:
|
|
20
|
+
type: _lssm_lib_schema203.FieldType<string, string>;
|
|
21
21
|
isOptional: false;
|
|
22
22
|
};
|
|
23
23
|
blueprintVersion: {
|
|
24
|
-
type:
|
|
24
|
+
type: _lssm_lib_schema203.FieldType<number, number>;
|
|
25
25
|
isOptional: false;
|
|
26
26
|
};
|
|
27
27
|
environment: {
|
|
28
|
-
type:
|
|
28
|
+
type: _lssm_lib_schema203.FieldType<string, string>;
|
|
29
29
|
isOptional: true;
|
|
30
30
|
};
|
|
31
31
|
fromVersion: {
|
|
32
|
-
type:
|
|
32
|
+
type: _lssm_lib_schema203.FieldType<number, number>;
|
|
33
33
|
isOptional: true;
|
|
34
34
|
};
|
|
35
35
|
createdBy: {
|
|
36
|
-
type:
|
|
36
|
+
type: _lssm_lib_schema203.FieldType<string, string>;
|
|
37
37
|
isOptional: false;
|
|
38
38
|
};
|
|
39
39
|
}>, SchemaModel<{
|
|
40
40
|
version: {
|
|
41
|
-
type:
|
|
41
|
+
type: _lssm_lib_schema203.FieldType<number, number>;
|
|
42
42
|
isOptional: false;
|
|
43
43
|
};
|
|
44
44
|
status: {
|
|
45
|
-
type:
|
|
45
|
+
type: _lssm_lib_schema203.FieldType<string, string>;
|
|
46
46
|
isOptional: false;
|
|
47
47
|
};
|
|
48
48
|
createdAt: {
|
|
49
|
-
type:
|
|
49
|
+
type: _lssm_lib_schema203.FieldType<Date, string>;
|
|
50
50
|
isOptional: false;
|
|
51
51
|
};
|
|
52
52
|
}>, {
|
|
@@ -55,32 +55,32 @@ declare const CreateTenantConfigDraftCommand: OperationSpec<SchemaModel<{
|
|
|
55
55
|
}[]>;
|
|
56
56
|
declare const PromoteTenantConfigToPreviewCommand: OperationSpec<SchemaModel<{
|
|
57
57
|
tenantId: {
|
|
58
|
-
type:
|
|
58
|
+
type: _lssm_lib_schema203.FieldType<string, string>;
|
|
59
59
|
isOptional: false;
|
|
60
60
|
};
|
|
61
61
|
appId: {
|
|
62
|
-
type:
|
|
62
|
+
type: _lssm_lib_schema203.FieldType<string, string>;
|
|
63
63
|
isOptional: false;
|
|
64
64
|
};
|
|
65
65
|
version: {
|
|
66
|
-
type:
|
|
66
|
+
type: _lssm_lib_schema203.FieldType<number, number>;
|
|
67
67
|
isOptional: false;
|
|
68
68
|
};
|
|
69
69
|
promotedBy: {
|
|
70
|
-
type:
|
|
70
|
+
type: _lssm_lib_schema203.FieldType<string, string>;
|
|
71
71
|
isOptional: false;
|
|
72
72
|
};
|
|
73
73
|
}>, SchemaModel<{
|
|
74
74
|
version: {
|
|
75
|
-
type:
|
|
75
|
+
type: _lssm_lib_schema203.FieldType<number, number>;
|
|
76
76
|
isOptional: false;
|
|
77
77
|
};
|
|
78
78
|
status: {
|
|
79
|
-
type:
|
|
79
|
+
type: _lssm_lib_schema203.FieldType<string, string>;
|
|
80
80
|
isOptional: false;
|
|
81
81
|
};
|
|
82
82
|
warnings: {
|
|
83
|
-
type:
|
|
83
|
+
type: _lssm_lib_schema203.FieldType<string, string>;
|
|
84
84
|
isOptional: true;
|
|
85
85
|
isArray: true;
|
|
86
86
|
};
|
|
@@ -90,44 +90,44 @@ declare const PromoteTenantConfigToPreviewCommand: OperationSpec<SchemaModel<{
|
|
|
90
90
|
}[]>;
|
|
91
91
|
declare const PublishTenantConfigCommand: OperationSpec<SchemaModel<{
|
|
92
92
|
tenantId: {
|
|
93
|
-
type:
|
|
93
|
+
type: _lssm_lib_schema203.FieldType<string, string>;
|
|
94
94
|
isOptional: false;
|
|
95
95
|
};
|
|
96
96
|
appId: {
|
|
97
|
-
type:
|
|
97
|
+
type: _lssm_lib_schema203.FieldType<string, string>;
|
|
98
98
|
isOptional: false;
|
|
99
99
|
};
|
|
100
100
|
version: {
|
|
101
|
-
type:
|
|
101
|
+
type: _lssm_lib_schema203.FieldType<number, number>;
|
|
102
102
|
isOptional: false;
|
|
103
103
|
};
|
|
104
104
|
environment: {
|
|
105
|
-
type:
|
|
105
|
+
type: _lssm_lib_schema203.FieldType<string, string>;
|
|
106
106
|
isOptional: true;
|
|
107
107
|
};
|
|
108
108
|
publishedBy: {
|
|
109
|
-
type:
|
|
109
|
+
type: _lssm_lib_schema203.FieldType<string, string>;
|
|
110
110
|
isOptional: false;
|
|
111
111
|
};
|
|
112
112
|
changeSummary: {
|
|
113
|
-
type:
|
|
113
|
+
type: _lssm_lib_schema203.FieldType<string, string>;
|
|
114
114
|
isOptional: true;
|
|
115
115
|
};
|
|
116
116
|
}>, SchemaModel<{
|
|
117
117
|
version: {
|
|
118
|
-
type:
|
|
118
|
+
type: _lssm_lib_schema203.FieldType<number, number>;
|
|
119
119
|
isOptional: false;
|
|
120
120
|
};
|
|
121
121
|
status: {
|
|
122
|
-
type:
|
|
122
|
+
type: _lssm_lib_schema203.FieldType<string, string>;
|
|
123
123
|
isOptional: false;
|
|
124
124
|
};
|
|
125
125
|
previousVersion: {
|
|
126
|
-
type:
|
|
126
|
+
type: _lssm_lib_schema203.FieldType<number, number>;
|
|
127
127
|
isOptional: true;
|
|
128
128
|
};
|
|
129
129
|
publishedAt: {
|
|
130
|
-
type:
|
|
130
|
+
type: _lssm_lib_schema203.FieldType<Date, string>;
|
|
131
131
|
isOptional: false;
|
|
132
132
|
};
|
|
133
133
|
}>, {
|
|
@@ -136,40 +136,40 @@ declare const PublishTenantConfigCommand: OperationSpec<SchemaModel<{
|
|
|
136
136
|
}[]>;
|
|
137
137
|
declare const RollbackTenantConfigCommand: OperationSpec<SchemaModel<{
|
|
138
138
|
tenantId: {
|
|
139
|
-
type:
|
|
139
|
+
type: _lssm_lib_schema203.FieldType<string, string>;
|
|
140
140
|
isOptional: false;
|
|
141
141
|
};
|
|
142
142
|
appId: {
|
|
143
|
-
type:
|
|
143
|
+
type: _lssm_lib_schema203.FieldType<string, string>;
|
|
144
144
|
isOptional: false;
|
|
145
145
|
};
|
|
146
146
|
toVersion: {
|
|
147
|
-
type:
|
|
147
|
+
type: _lssm_lib_schema203.FieldType<number, number>;
|
|
148
148
|
isOptional: false;
|
|
149
149
|
};
|
|
150
150
|
environment: {
|
|
151
|
-
type:
|
|
151
|
+
type: _lssm_lib_schema203.FieldType<string, string>;
|
|
152
152
|
isOptional: true;
|
|
153
153
|
};
|
|
154
154
|
rolledBackBy: {
|
|
155
|
-
type:
|
|
155
|
+
type: _lssm_lib_schema203.FieldType<string, string>;
|
|
156
156
|
isOptional: false;
|
|
157
157
|
};
|
|
158
158
|
reason: {
|
|
159
|
-
type:
|
|
159
|
+
type: _lssm_lib_schema203.FieldType<string, string>;
|
|
160
160
|
isOptional: false;
|
|
161
161
|
};
|
|
162
162
|
}>, SchemaModel<{
|
|
163
163
|
newVersion: {
|
|
164
|
-
type:
|
|
164
|
+
type: _lssm_lib_schema203.FieldType<number, number>;
|
|
165
165
|
isOptional: false;
|
|
166
166
|
};
|
|
167
167
|
status: {
|
|
168
|
-
type:
|
|
168
|
+
type: _lssm_lib_schema203.FieldType<string, string>;
|
|
169
169
|
isOptional: false;
|
|
170
170
|
};
|
|
171
171
|
rolledBackFrom: {
|
|
172
|
-
type:
|
|
172
|
+
type: _lssm_lib_schema203.FieldType<number, number>;
|
|
173
173
|
isOptional: false;
|
|
174
174
|
};
|
|
175
175
|
}>, {
|
|
@@ -178,22 +178,22 @@ declare const RollbackTenantConfigCommand: OperationSpec<SchemaModel<{
|
|
|
178
178
|
}[]>;
|
|
179
179
|
declare const ListTenantConfigVersionsQuery: OperationSpec<SchemaModel<{
|
|
180
180
|
tenantId: {
|
|
181
|
-
type:
|
|
181
|
+
type: _lssm_lib_schema203.FieldType<string, string>;
|
|
182
182
|
isOptional: false;
|
|
183
183
|
};
|
|
184
184
|
appId: {
|
|
185
|
-
type:
|
|
185
|
+
type: _lssm_lib_schema203.FieldType<string, string>;
|
|
186
186
|
isOptional: false;
|
|
187
187
|
};
|
|
188
188
|
}>, SchemaModel<{
|
|
189
189
|
versions: {
|
|
190
190
|
type: SchemaModel<{
|
|
191
191
|
meta: {
|
|
192
|
-
type:
|
|
192
|
+
type: _lssm_lib_schema203.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
193
193
|
isOptional: false;
|
|
194
194
|
};
|
|
195
195
|
config: {
|
|
196
|
-
type:
|
|
196
|
+
type: _lssm_lib_schema203.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
197
197
|
isOptional: false;
|
|
198
198
|
};
|
|
199
199
|
}>;
|
|
@@ -203,35 +203,35 @@ declare const ListTenantConfigVersionsQuery: OperationSpec<SchemaModel<{
|
|
|
203
203
|
transitions: {
|
|
204
204
|
type: SchemaModel<{
|
|
205
205
|
tenantId: {
|
|
206
|
-
type:
|
|
206
|
+
type: _lssm_lib_schema203.FieldType<string, string>;
|
|
207
207
|
isOptional: false;
|
|
208
208
|
};
|
|
209
209
|
appId: {
|
|
210
|
-
type:
|
|
210
|
+
type: _lssm_lib_schema203.FieldType<string, string>;
|
|
211
211
|
isOptional: false;
|
|
212
212
|
};
|
|
213
213
|
fromStatus: {
|
|
214
|
-
type:
|
|
214
|
+
type: _lssm_lib_schema203.FieldType<string, string>;
|
|
215
215
|
isOptional: false;
|
|
216
216
|
};
|
|
217
217
|
toStatus: {
|
|
218
|
-
type:
|
|
218
|
+
type: _lssm_lib_schema203.FieldType<string, string>;
|
|
219
219
|
isOptional: false;
|
|
220
220
|
};
|
|
221
221
|
version: {
|
|
222
|
-
type:
|
|
222
|
+
type: _lssm_lib_schema203.FieldType<number, number>;
|
|
223
223
|
isOptional: false;
|
|
224
224
|
};
|
|
225
225
|
timestamp: {
|
|
226
|
-
type:
|
|
226
|
+
type: _lssm_lib_schema203.FieldType<Date, string>;
|
|
227
227
|
isOptional: false;
|
|
228
228
|
};
|
|
229
229
|
actor: {
|
|
230
|
-
type:
|
|
230
|
+
type: _lssm_lib_schema203.FieldType<string, string>;
|
|
231
231
|
isOptional: false;
|
|
232
232
|
};
|
|
233
233
|
reason: {
|
|
234
|
-
type:
|
|
234
|
+
type: _lssm_lib_schema203.FieldType<string, string>;
|
|
235
235
|
isOptional: true;
|
|
236
236
|
};
|
|
237
237
|
}>;
|
|
@@ -241,26 +241,26 @@ declare const ListTenantConfigVersionsQuery: OperationSpec<SchemaModel<{
|
|
|
241
241
|
}>, undefined>;
|
|
242
242
|
declare const GetTenantConfigVersionQuery: OperationSpec<SchemaModel<{
|
|
243
243
|
tenantId: {
|
|
244
|
-
type:
|
|
244
|
+
type: _lssm_lib_schema203.FieldType<string, string>;
|
|
245
245
|
isOptional: false;
|
|
246
246
|
};
|
|
247
247
|
appId: {
|
|
248
|
-
type:
|
|
248
|
+
type: _lssm_lib_schema203.FieldType<string, string>;
|
|
249
249
|
isOptional: false;
|
|
250
250
|
};
|
|
251
251
|
version: {
|
|
252
|
-
type:
|
|
252
|
+
type: _lssm_lib_schema203.FieldType<number, number>;
|
|
253
253
|
isOptional: false;
|
|
254
254
|
};
|
|
255
255
|
}>, SchemaModel<{
|
|
256
256
|
version: {
|
|
257
257
|
type: SchemaModel<{
|
|
258
258
|
meta: {
|
|
259
|
-
type:
|
|
259
|
+
type: _lssm_lib_schema203.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
260
260
|
isOptional: false;
|
|
261
261
|
};
|
|
262
262
|
config: {
|
|
263
|
-
type:
|
|
263
|
+
type: _lssm_lib_schema203.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
264
264
|
isOptional: false;
|
|
265
265
|
};
|
|
266
266
|
}>;
|
|
@@ -46,12 +46,12 @@ declare const ContractRegistryItemSchema: z.ZodObject<{
|
|
|
46
46
|
description: z.ZodString;
|
|
47
47
|
meta: z.ZodObject<{
|
|
48
48
|
stability: z.ZodEnum<{
|
|
49
|
-
deprecated: "deprecated";
|
|
50
|
-
idea: "idea";
|
|
51
|
-
in_creation: "in_creation";
|
|
52
49
|
experimental: "experimental";
|
|
53
50
|
beta: "beta";
|
|
54
51
|
stable: "stable";
|
|
52
|
+
deprecated: "deprecated";
|
|
53
|
+
idea: "idea";
|
|
54
|
+
in_creation: "in_creation";
|
|
55
55
|
}>;
|
|
56
56
|
owners: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
57
57
|
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
@@ -95,12 +95,12 @@ declare const ContractRegistryManifestSchema: z.ZodObject<{
|
|
|
95
95
|
description: z.ZodString;
|
|
96
96
|
meta: z.ZodObject<{
|
|
97
97
|
stability: z.ZodEnum<{
|
|
98
|
-
deprecated: "deprecated";
|
|
99
|
-
idea: "idea";
|
|
100
|
-
in_creation: "in_creation";
|
|
101
98
|
experimental: "experimental";
|
|
102
99
|
beta: "beta";
|
|
103
100
|
stable: "stable";
|
|
101
|
+
deprecated: "deprecated";
|
|
102
|
+
idea: "idea";
|
|
103
|
+
in_creation: "in_creation";
|
|
104
104
|
}>;
|
|
105
105
|
owners: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
106
106
|
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
@@ -2,47 +2,47 @@ import { AnyOperationSpec, OperationSpec } from "../operations/operation.js";
|
|
|
2
2
|
import { OperationSpecRegistry } from "../operations/registry.js";
|
|
3
3
|
import "../operations/index.js";
|
|
4
4
|
import "../index.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as _lssm_lib_schema256 from "@lssm/lib.schema";
|
|
6
6
|
import { SchemaModel } from "@lssm/lib.schema";
|
|
7
7
|
|
|
8
8
|
//#region src/knowledge/operations.d.ts
|
|
9
9
|
declare const CreateKnowledgeSource: OperationSpec<SchemaModel<{
|
|
10
10
|
tenantId: {
|
|
11
|
-
type:
|
|
11
|
+
type: _lssm_lib_schema256.FieldType<string, string>;
|
|
12
12
|
isOptional: false;
|
|
13
13
|
};
|
|
14
14
|
spaceKey: {
|
|
15
|
-
type:
|
|
15
|
+
type: _lssm_lib_schema256.FieldType<string, string>;
|
|
16
16
|
isOptional: false;
|
|
17
17
|
};
|
|
18
18
|
spaceVersion: {
|
|
19
|
-
type:
|
|
19
|
+
type: _lssm_lib_schema256.FieldType<number, number>;
|
|
20
20
|
isOptional: false;
|
|
21
21
|
};
|
|
22
22
|
label: {
|
|
23
|
-
type:
|
|
23
|
+
type: _lssm_lib_schema256.FieldType<string, string>;
|
|
24
24
|
isOptional: false;
|
|
25
25
|
};
|
|
26
26
|
sourceType: {
|
|
27
|
-
type:
|
|
27
|
+
type: _lssm_lib_schema256.FieldType<string, string>;
|
|
28
28
|
isOptional: false;
|
|
29
29
|
};
|
|
30
30
|
config: {
|
|
31
|
-
type:
|
|
31
|
+
type: _lssm_lib_schema256.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
32
32
|
isOptional: false;
|
|
33
33
|
};
|
|
34
34
|
syncSchedule: {
|
|
35
35
|
type: SchemaModel<{
|
|
36
36
|
enabled: {
|
|
37
|
-
type:
|
|
37
|
+
type: _lssm_lib_schema256.FieldType<boolean, boolean>;
|
|
38
38
|
isOptional: false;
|
|
39
39
|
};
|
|
40
40
|
cron: {
|
|
41
|
-
type:
|
|
41
|
+
type: _lssm_lib_schema256.FieldType<string, string>;
|
|
42
42
|
isOptional: true;
|
|
43
43
|
};
|
|
44
44
|
intervalMs: {
|
|
45
|
-
type:
|
|
45
|
+
type: _lssm_lib_schema256.FieldType<number, number>;
|
|
46
46
|
isOptional: true;
|
|
47
47
|
};
|
|
48
48
|
}>;
|
|
@@ -50,92 +50,92 @@ declare const CreateKnowledgeSource: OperationSpec<SchemaModel<{
|
|
|
50
50
|
};
|
|
51
51
|
}>, SchemaModel<{
|
|
52
52
|
id: {
|
|
53
|
-
type:
|
|
53
|
+
type: _lssm_lib_schema256.FieldType<string, string>;
|
|
54
54
|
isOptional: false;
|
|
55
55
|
};
|
|
56
56
|
tenantId: {
|
|
57
|
-
type:
|
|
57
|
+
type: _lssm_lib_schema256.FieldType<string, string>;
|
|
58
58
|
isOptional: false;
|
|
59
59
|
};
|
|
60
60
|
spaceKey: {
|
|
61
|
-
type:
|
|
61
|
+
type: _lssm_lib_schema256.FieldType<string, string>;
|
|
62
62
|
isOptional: false;
|
|
63
63
|
};
|
|
64
64
|
spaceVersion: {
|
|
65
|
-
type:
|
|
65
|
+
type: _lssm_lib_schema256.FieldType<number, number>;
|
|
66
66
|
isOptional: false;
|
|
67
67
|
};
|
|
68
68
|
label: {
|
|
69
|
-
type:
|
|
69
|
+
type: _lssm_lib_schema256.FieldType<string, string>;
|
|
70
70
|
isOptional: false;
|
|
71
71
|
};
|
|
72
72
|
sourceType: {
|
|
73
|
-
type:
|
|
73
|
+
type: _lssm_lib_schema256.FieldType<string, string>;
|
|
74
74
|
isOptional: false;
|
|
75
75
|
};
|
|
76
76
|
syncSchedule: {
|
|
77
77
|
type: SchemaModel<{
|
|
78
78
|
enabled: {
|
|
79
|
-
type:
|
|
79
|
+
type: _lssm_lib_schema256.FieldType<boolean, boolean>;
|
|
80
80
|
isOptional: false;
|
|
81
81
|
};
|
|
82
82
|
cron: {
|
|
83
|
-
type:
|
|
83
|
+
type: _lssm_lib_schema256.FieldType<string, string>;
|
|
84
84
|
isOptional: true;
|
|
85
85
|
};
|
|
86
86
|
intervalMs: {
|
|
87
|
-
type:
|
|
87
|
+
type: _lssm_lib_schema256.FieldType<number, number>;
|
|
88
88
|
isOptional: true;
|
|
89
89
|
};
|
|
90
90
|
}>;
|
|
91
91
|
isOptional: true;
|
|
92
92
|
};
|
|
93
93
|
lastSyncStatus: {
|
|
94
|
-
type:
|
|
94
|
+
type: _lssm_lib_schema256.FieldType<string, string>;
|
|
95
95
|
isOptional: true;
|
|
96
96
|
};
|
|
97
97
|
lastSyncAt: {
|
|
98
|
-
type:
|
|
98
|
+
type: _lssm_lib_schema256.FieldType<Date, string>;
|
|
99
99
|
isOptional: true;
|
|
100
100
|
};
|
|
101
101
|
itemsProcessed: {
|
|
102
|
-
type:
|
|
102
|
+
type: _lssm_lib_schema256.FieldType<number, number>;
|
|
103
103
|
isOptional: true;
|
|
104
104
|
};
|
|
105
105
|
createdAt: {
|
|
106
|
-
type:
|
|
106
|
+
type: _lssm_lib_schema256.FieldType<Date, string>;
|
|
107
107
|
isOptional: true;
|
|
108
108
|
};
|
|
109
109
|
updatedAt: {
|
|
110
|
-
type:
|
|
110
|
+
type: _lssm_lib_schema256.FieldType<Date, string>;
|
|
111
111
|
isOptional: true;
|
|
112
112
|
};
|
|
113
113
|
}>, undefined>;
|
|
114
114
|
declare const UpdateKnowledgeSource: OperationSpec<SchemaModel<{
|
|
115
115
|
sourceId: {
|
|
116
|
-
type:
|
|
116
|
+
type: _lssm_lib_schema256.FieldType<string, string>;
|
|
117
117
|
isOptional: false;
|
|
118
118
|
};
|
|
119
119
|
label: {
|
|
120
|
-
type:
|
|
120
|
+
type: _lssm_lib_schema256.FieldType<string, string>;
|
|
121
121
|
isOptional: true;
|
|
122
122
|
};
|
|
123
123
|
config: {
|
|
124
|
-
type:
|
|
124
|
+
type: _lssm_lib_schema256.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
125
125
|
isOptional: true;
|
|
126
126
|
};
|
|
127
127
|
syncSchedule: {
|
|
128
128
|
type: SchemaModel<{
|
|
129
129
|
enabled: {
|
|
130
|
-
type:
|
|
130
|
+
type: _lssm_lib_schema256.FieldType<boolean, boolean>;
|
|
131
131
|
isOptional: false;
|
|
132
132
|
};
|
|
133
133
|
cron: {
|
|
134
|
-
type:
|
|
134
|
+
type: _lssm_lib_schema256.FieldType<string, string>;
|
|
135
135
|
isOptional: true;
|
|
136
136
|
};
|
|
137
137
|
intervalMs: {
|
|
138
|
-
type:
|
|
138
|
+
type: _lssm_lib_schema256.FieldType<number, number>;
|
|
139
139
|
isOptional: true;
|
|
140
140
|
};
|
|
141
141
|
}>;
|
|
@@ -143,149 +143,149 @@ declare const UpdateKnowledgeSource: OperationSpec<SchemaModel<{
|
|
|
143
143
|
};
|
|
144
144
|
}>, SchemaModel<{
|
|
145
145
|
id: {
|
|
146
|
-
type:
|
|
146
|
+
type: _lssm_lib_schema256.FieldType<string, string>;
|
|
147
147
|
isOptional: false;
|
|
148
148
|
};
|
|
149
149
|
tenantId: {
|
|
150
|
-
type:
|
|
150
|
+
type: _lssm_lib_schema256.FieldType<string, string>;
|
|
151
151
|
isOptional: false;
|
|
152
152
|
};
|
|
153
153
|
spaceKey: {
|
|
154
|
-
type:
|
|
154
|
+
type: _lssm_lib_schema256.FieldType<string, string>;
|
|
155
155
|
isOptional: false;
|
|
156
156
|
};
|
|
157
157
|
spaceVersion: {
|
|
158
|
-
type:
|
|
158
|
+
type: _lssm_lib_schema256.FieldType<number, number>;
|
|
159
159
|
isOptional: false;
|
|
160
160
|
};
|
|
161
161
|
label: {
|
|
162
|
-
type:
|
|
162
|
+
type: _lssm_lib_schema256.FieldType<string, string>;
|
|
163
163
|
isOptional: false;
|
|
164
164
|
};
|
|
165
165
|
sourceType: {
|
|
166
|
-
type:
|
|
166
|
+
type: _lssm_lib_schema256.FieldType<string, string>;
|
|
167
167
|
isOptional: false;
|
|
168
168
|
};
|
|
169
169
|
syncSchedule: {
|
|
170
170
|
type: SchemaModel<{
|
|
171
171
|
enabled: {
|
|
172
|
-
type:
|
|
172
|
+
type: _lssm_lib_schema256.FieldType<boolean, boolean>;
|
|
173
173
|
isOptional: false;
|
|
174
174
|
};
|
|
175
175
|
cron: {
|
|
176
|
-
type:
|
|
176
|
+
type: _lssm_lib_schema256.FieldType<string, string>;
|
|
177
177
|
isOptional: true;
|
|
178
178
|
};
|
|
179
179
|
intervalMs: {
|
|
180
|
-
type:
|
|
180
|
+
type: _lssm_lib_schema256.FieldType<number, number>;
|
|
181
181
|
isOptional: true;
|
|
182
182
|
};
|
|
183
183
|
}>;
|
|
184
184
|
isOptional: true;
|
|
185
185
|
};
|
|
186
186
|
lastSyncStatus: {
|
|
187
|
-
type:
|
|
187
|
+
type: _lssm_lib_schema256.FieldType<string, string>;
|
|
188
188
|
isOptional: true;
|
|
189
189
|
};
|
|
190
190
|
lastSyncAt: {
|
|
191
|
-
type:
|
|
191
|
+
type: _lssm_lib_schema256.FieldType<Date, string>;
|
|
192
192
|
isOptional: true;
|
|
193
193
|
};
|
|
194
194
|
itemsProcessed: {
|
|
195
|
-
type:
|
|
195
|
+
type: _lssm_lib_schema256.FieldType<number, number>;
|
|
196
196
|
isOptional: true;
|
|
197
197
|
};
|
|
198
198
|
createdAt: {
|
|
199
|
-
type:
|
|
199
|
+
type: _lssm_lib_schema256.FieldType<Date, string>;
|
|
200
200
|
isOptional: true;
|
|
201
201
|
};
|
|
202
202
|
updatedAt: {
|
|
203
|
-
type:
|
|
203
|
+
type: _lssm_lib_schema256.FieldType<Date, string>;
|
|
204
204
|
isOptional: true;
|
|
205
205
|
};
|
|
206
206
|
}>, undefined>;
|
|
207
207
|
declare const DeleteKnowledgeSource: OperationSpec<SchemaModel<{
|
|
208
208
|
sourceId: {
|
|
209
|
-
type:
|
|
209
|
+
type: _lssm_lib_schema256.FieldType<string, string>;
|
|
210
210
|
isOptional: false;
|
|
211
211
|
};
|
|
212
212
|
}>, SchemaModel<{
|
|
213
213
|
success: {
|
|
214
|
-
type:
|
|
214
|
+
type: _lssm_lib_schema256.FieldType<boolean, boolean>;
|
|
215
215
|
isOptional: false;
|
|
216
216
|
};
|
|
217
217
|
}>, undefined>;
|
|
218
218
|
declare const ListKnowledgeSources: OperationSpec<SchemaModel<{
|
|
219
219
|
tenantId: {
|
|
220
|
-
type:
|
|
220
|
+
type: _lssm_lib_schema256.FieldType<string, string>;
|
|
221
221
|
isOptional: false;
|
|
222
222
|
};
|
|
223
223
|
spaceKey: {
|
|
224
|
-
type:
|
|
224
|
+
type: _lssm_lib_schema256.FieldType<string, string>;
|
|
225
225
|
isOptional: true;
|
|
226
226
|
};
|
|
227
227
|
}>, SchemaModel<{
|
|
228
228
|
sources: {
|
|
229
229
|
type: SchemaModel<{
|
|
230
230
|
id: {
|
|
231
|
-
type:
|
|
231
|
+
type: _lssm_lib_schema256.FieldType<string, string>;
|
|
232
232
|
isOptional: false;
|
|
233
233
|
};
|
|
234
234
|
tenantId: {
|
|
235
|
-
type:
|
|
235
|
+
type: _lssm_lib_schema256.FieldType<string, string>;
|
|
236
236
|
isOptional: false;
|
|
237
237
|
};
|
|
238
238
|
spaceKey: {
|
|
239
|
-
type:
|
|
239
|
+
type: _lssm_lib_schema256.FieldType<string, string>;
|
|
240
240
|
isOptional: false;
|
|
241
241
|
};
|
|
242
242
|
spaceVersion: {
|
|
243
|
-
type:
|
|
243
|
+
type: _lssm_lib_schema256.FieldType<number, number>;
|
|
244
244
|
isOptional: false;
|
|
245
245
|
};
|
|
246
246
|
label: {
|
|
247
|
-
type:
|
|
247
|
+
type: _lssm_lib_schema256.FieldType<string, string>;
|
|
248
248
|
isOptional: false;
|
|
249
249
|
};
|
|
250
250
|
sourceType: {
|
|
251
|
-
type:
|
|
251
|
+
type: _lssm_lib_schema256.FieldType<string, string>;
|
|
252
252
|
isOptional: false;
|
|
253
253
|
};
|
|
254
254
|
syncSchedule: {
|
|
255
255
|
type: SchemaModel<{
|
|
256
256
|
enabled: {
|
|
257
|
-
type:
|
|
257
|
+
type: _lssm_lib_schema256.FieldType<boolean, boolean>;
|
|
258
258
|
isOptional: false;
|
|
259
259
|
};
|
|
260
260
|
cron: {
|
|
261
|
-
type:
|
|
261
|
+
type: _lssm_lib_schema256.FieldType<string, string>;
|
|
262
262
|
isOptional: true;
|
|
263
263
|
};
|
|
264
264
|
intervalMs: {
|
|
265
|
-
type:
|
|
265
|
+
type: _lssm_lib_schema256.FieldType<number, number>;
|
|
266
266
|
isOptional: true;
|
|
267
267
|
};
|
|
268
268
|
}>;
|
|
269
269
|
isOptional: true;
|
|
270
270
|
};
|
|
271
271
|
lastSyncStatus: {
|
|
272
|
-
type:
|
|
272
|
+
type: _lssm_lib_schema256.FieldType<string, string>;
|
|
273
273
|
isOptional: true;
|
|
274
274
|
};
|
|
275
275
|
lastSyncAt: {
|
|
276
|
-
type:
|
|
276
|
+
type: _lssm_lib_schema256.FieldType<Date, string>;
|
|
277
277
|
isOptional: true;
|
|
278
278
|
};
|
|
279
279
|
itemsProcessed: {
|
|
280
|
-
type:
|
|
280
|
+
type: _lssm_lib_schema256.FieldType<number, number>;
|
|
281
281
|
isOptional: true;
|
|
282
282
|
};
|
|
283
283
|
createdAt: {
|
|
284
|
-
type:
|
|
284
|
+
type: _lssm_lib_schema256.FieldType<Date, string>;
|
|
285
285
|
isOptional: true;
|
|
286
286
|
};
|
|
287
287
|
updatedAt: {
|
|
288
|
-
type:
|
|
288
|
+
type: _lssm_lib_schema256.FieldType<Date, string>;
|
|
289
289
|
isOptional: true;
|
|
290
290
|
};
|
|
291
291
|
}>;
|
|
@@ -295,20 +295,20 @@ declare const ListKnowledgeSources: OperationSpec<SchemaModel<{
|
|
|
295
295
|
}>, undefined>;
|
|
296
296
|
declare const TriggerKnowledgeSourceSync: OperationSpec<SchemaModel<{
|
|
297
297
|
sourceId: {
|
|
298
|
-
type:
|
|
298
|
+
type: _lssm_lib_schema256.FieldType<string, string>;
|
|
299
299
|
isOptional: false;
|
|
300
300
|
};
|
|
301
301
|
}>, SchemaModel<{
|
|
302
302
|
success: {
|
|
303
|
-
type:
|
|
303
|
+
type: _lssm_lib_schema256.FieldType<boolean, boolean>;
|
|
304
304
|
isOptional: false;
|
|
305
305
|
};
|
|
306
306
|
itemsProcessed: {
|
|
307
|
-
type:
|
|
307
|
+
type: _lssm_lib_schema256.FieldType<number, number>;
|
|
308
308
|
isOptional: true;
|
|
309
309
|
};
|
|
310
310
|
error: {
|
|
311
|
-
type:
|
|
311
|
+
type: _lssm_lib_schema256.FieldType<string, string>;
|
|
312
312
|
isOptional: true;
|
|
313
313
|
};
|
|
314
314
|
}>, undefined>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { behaviorToEnvelope, errorToEnvelope, telemetryToEnvelope } from "./utils.js";
|
|
2
|
-
import { setTimeout } from "node:timers/promises";
|
|
3
2
|
|
|
4
3
|
//#region src/regenerator/service.ts
|
|
4
|
+
/** Cross-platform delay that works in browser and Node.js */
|
|
5
|
+
const delay = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
|
|
5
6
|
const DEFAULT_POLL_INTERVAL = 6e4;
|
|
6
7
|
const DEFAULT_BATCH_DURATION = 5 * 6e4;
|
|
7
8
|
var RegeneratorService = class {
|
|
@@ -83,7 +84,7 @@ var RegeneratorService = class {
|
|
|
83
84
|
for (const proposal of proposals) {
|
|
84
85
|
if (proposal.signalIds.length === 0) continue;
|
|
85
86
|
await this.options.sink.submit(context, proposal);
|
|
86
|
-
if (proposals.length > 10) await
|
|
87
|
+
if (proposals.length > 10) await delay(0);
|
|
87
88
|
}
|
|
88
89
|
}
|
|
89
90
|
};
|
|
@@ -29,14 +29,14 @@ declare const OpenApiSourceConfigSchema: z$1.ZodObject<{
|
|
|
29
29
|
include: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
30
30
|
prefix: z$1.ZodOptional<z$1.ZodString>;
|
|
31
31
|
defaultStability: z$1.ZodOptional<z$1.ZodEnum<{
|
|
32
|
-
deprecated: "deprecated";
|
|
33
32
|
experimental: "experimental";
|
|
34
33
|
beta: "beta";
|
|
35
34
|
stable: "stable";
|
|
35
|
+
deprecated: "deprecated";
|
|
36
36
|
}>>;
|
|
37
37
|
defaultAuth: z$1.ZodOptional<z$1.ZodEnum<{
|
|
38
|
-
user: "user";
|
|
39
38
|
anonymous: "anonymous";
|
|
39
|
+
user: "user";
|
|
40
40
|
admin: "admin";
|
|
41
41
|
}>>;
|
|
42
42
|
defaultOwners: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
@@ -79,14 +79,14 @@ declare const OpenApiConfigSchema: z$1.ZodObject<{
|
|
|
79
79
|
include: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
80
80
|
prefix: z$1.ZodOptional<z$1.ZodString>;
|
|
81
81
|
defaultStability: z$1.ZodOptional<z$1.ZodEnum<{
|
|
82
|
-
deprecated: "deprecated";
|
|
83
82
|
experimental: "experimental";
|
|
84
83
|
beta: "beta";
|
|
85
84
|
stable: "stable";
|
|
85
|
+
deprecated: "deprecated";
|
|
86
86
|
}>>;
|
|
87
87
|
defaultAuth: z$1.ZodOptional<z$1.ZodEnum<{
|
|
88
|
-
user: "user";
|
|
89
88
|
anonymous: "anonymous";
|
|
89
|
+
user: "user";
|
|
90
90
|
admin: "admin";
|
|
91
91
|
}>>;
|
|
92
92
|
defaultOwners: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
@@ -298,16 +298,14 @@ declare const FormatterConfigSchema: z$1.ZodObject<{
|
|
|
298
298
|
* Rule severity levels (inspired by ESLint).
|
|
299
299
|
*/
|
|
300
300
|
declare const RuleSeveritySchema: z$1.ZodEnum<{
|
|
301
|
-
error: "error";
|
|
302
301
|
off: "off";
|
|
303
302
|
warn: "warn";
|
|
303
|
+
error: "error";
|
|
304
304
|
}>;
|
|
305
305
|
/**
|
|
306
306
|
* Contract kinds for per-kind rule overrides.
|
|
307
307
|
*/
|
|
308
308
|
declare const SpecKindSchema: z$1.ZodEnum<{
|
|
309
|
-
telemetry: "telemetry";
|
|
310
|
-
"app-config": "app-config";
|
|
311
309
|
operation: "operation";
|
|
312
310
|
event: "event";
|
|
313
311
|
presentation: "presentation";
|
|
@@ -315,71 +313,73 @@ declare const SpecKindSchema: z$1.ZodEnum<{
|
|
|
315
313
|
workflow: "workflow";
|
|
316
314
|
"data-view": "data-view";
|
|
317
315
|
migration: "migration";
|
|
316
|
+
telemetry: "telemetry";
|
|
318
317
|
experiment: "experiment";
|
|
318
|
+
"app-config": "app-config";
|
|
319
319
|
}>;
|
|
320
320
|
/**
|
|
321
321
|
* Available lint rules with their severity.
|
|
322
322
|
*/
|
|
323
323
|
declare const LintRulesSchema: z$1.ZodObject<{
|
|
324
324
|
'require-acceptance': z$1.ZodOptional<z$1.ZodEnum<{
|
|
325
|
-
error: "error";
|
|
326
325
|
off: "off";
|
|
327
326
|
warn: "warn";
|
|
327
|
+
error: "error";
|
|
328
328
|
}>>;
|
|
329
329
|
'require-examples': z$1.ZodOptional<z$1.ZodEnum<{
|
|
330
|
-
error: "error";
|
|
331
330
|
off: "off";
|
|
332
331
|
warn: "warn";
|
|
332
|
+
error: "error";
|
|
333
333
|
}>>;
|
|
334
334
|
'require-stability': z$1.ZodOptional<z$1.ZodEnum<{
|
|
335
|
-
error: "error";
|
|
336
335
|
off: "off";
|
|
337
336
|
warn: "warn";
|
|
337
|
+
error: "error";
|
|
338
338
|
}>>;
|
|
339
339
|
'require-owners-format': z$1.ZodOptional<z$1.ZodEnum<{
|
|
340
|
-
error: "error";
|
|
341
340
|
off: "off";
|
|
342
341
|
warn: "warn";
|
|
342
|
+
error: "error";
|
|
343
343
|
}>>;
|
|
344
344
|
'event-past-tense': z$1.ZodOptional<z$1.ZodEnum<{
|
|
345
|
-
error: "error";
|
|
346
345
|
off: "off";
|
|
347
346
|
warn: "warn";
|
|
347
|
+
error: "error";
|
|
348
348
|
}>>;
|
|
349
349
|
'no-todo': z$1.ZodOptional<z$1.ZodEnum<{
|
|
350
|
-
error: "error";
|
|
351
350
|
off: "off";
|
|
352
351
|
warn: "warn";
|
|
352
|
+
error: "error";
|
|
353
353
|
}>>;
|
|
354
354
|
'workflow-transitions': z$1.ZodOptional<z$1.ZodEnum<{
|
|
355
|
-
error: "error";
|
|
356
355
|
off: "off";
|
|
357
356
|
warn: "warn";
|
|
357
|
+
error: "error";
|
|
358
358
|
}>>;
|
|
359
359
|
'telemetry-privacy': z$1.ZodOptional<z$1.ZodEnum<{
|
|
360
|
-
error: "error";
|
|
361
360
|
off: "off";
|
|
362
361
|
warn: "warn";
|
|
362
|
+
error: "error";
|
|
363
363
|
}>>;
|
|
364
364
|
'experiment-allocation': z$1.ZodOptional<z$1.ZodEnum<{
|
|
365
|
-
error: "error";
|
|
366
365
|
off: "off";
|
|
367
366
|
warn: "warn";
|
|
367
|
+
error: "error";
|
|
368
368
|
}>>;
|
|
369
369
|
'app-config-appid': z$1.ZodOptional<z$1.ZodEnum<{
|
|
370
|
-
error: "error";
|
|
371
370
|
off: "off";
|
|
372
371
|
warn: "warn";
|
|
372
|
+
error: "error";
|
|
373
373
|
}>>;
|
|
374
374
|
'app-config-capabilities': z$1.ZodOptional<z$1.ZodEnum<{
|
|
375
|
-
error: "error";
|
|
376
375
|
off: "off";
|
|
377
376
|
warn: "warn";
|
|
377
|
+
error: "error";
|
|
378
378
|
}>>;
|
|
379
379
|
'data-view-fields': z$1.ZodOptional<z$1.ZodEnum<{
|
|
380
|
-
error: "error";
|
|
381
380
|
off: "off";
|
|
382
381
|
warn: "warn";
|
|
382
|
+
error: "error";
|
|
383
383
|
}>>;
|
|
384
384
|
}, z$1.core.$strip>;
|
|
385
385
|
/**
|
|
@@ -388,69 +388,67 @@ declare const LintRulesSchema: z$1.ZodObject<{
|
|
|
388
388
|
declare const RulesConfigSchema: z$1.ZodObject<{
|
|
389
389
|
defaults: z$1.ZodOptional<z$1.ZodObject<{
|
|
390
390
|
'require-acceptance': z$1.ZodOptional<z$1.ZodEnum<{
|
|
391
|
-
error: "error";
|
|
392
391
|
off: "off";
|
|
393
392
|
warn: "warn";
|
|
393
|
+
error: "error";
|
|
394
394
|
}>>;
|
|
395
395
|
'require-examples': z$1.ZodOptional<z$1.ZodEnum<{
|
|
396
|
-
error: "error";
|
|
397
396
|
off: "off";
|
|
398
397
|
warn: "warn";
|
|
398
|
+
error: "error";
|
|
399
399
|
}>>;
|
|
400
400
|
'require-stability': z$1.ZodOptional<z$1.ZodEnum<{
|
|
401
|
-
error: "error";
|
|
402
401
|
off: "off";
|
|
403
402
|
warn: "warn";
|
|
403
|
+
error: "error";
|
|
404
404
|
}>>;
|
|
405
405
|
'require-owners-format': z$1.ZodOptional<z$1.ZodEnum<{
|
|
406
|
-
error: "error";
|
|
407
406
|
off: "off";
|
|
408
407
|
warn: "warn";
|
|
408
|
+
error: "error";
|
|
409
409
|
}>>;
|
|
410
410
|
'event-past-tense': z$1.ZodOptional<z$1.ZodEnum<{
|
|
411
|
-
error: "error";
|
|
412
411
|
off: "off";
|
|
413
412
|
warn: "warn";
|
|
413
|
+
error: "error";
|
|
414
414
|
}>>;
|
|
415
415
|
'no-todo': z$1.ZodOptional<z$1.ZodEnum<{
|
|
416
|
-
error: "error";
|
|
417
416
|
off: "off";
|
|
418
417
|
warn: "warn";
|
|
418
|
+
error: "error";
|
|
419
419
|
}>>;
|
|
420
420
|
'workflow-transitions': z$1.ZodOptional<z$1.ZodEnum<{
|
|
421
|
-
error: "error";
|
|
422
421
|
off: "off";
|
|
423
422
|
warn: "warn";
|
|
423
|
+
error: "error";
|
|
424
424
|
}>>;
|
|
425
425
|
'telemetry-privacy': z$1.ZodOptional<z$1.ZodEnum<{
|
|
426
|
-
error: "error";
|
|
427
426
|
off: "off";
|
|
428
427
|
warn: "warn";
|
|
428
|
+
error: "error";
|
|
429
429
|
}>>;
|
|
430
430
|
'experiment-allocation': z$1.ZodOptional<z$1.ZodEnum<{
|
|
431
|
-
error: "error";
|
|
432
431
|
off: "off";
|
|
433
432
|
warn: "warn";
|
|
433
|
+
error: "error";
|
|
434
434
|
}>>;
|
|
435
435
|
'app-config-appid': z$1.ZodOptional<z$1.ZodEnum<{
|
|
436
|
-
error: "error";
|
|
437
436
|
off: "off";
|
|
438
437
|
warn: "warn";
|
|
438
|
+
error: "error";
|
|
439
439
|
}>>;
|
|
440
440
|
'app-config-capabilities': z$1.ZodOptional<z$1.ZodEnum<{
|
|
441
|
-
error: "error";
|
|
442
441
|
off: "off";
|
|
443
442
|
warn: "warn";
|
|
443
|
+
error: "error";
|
|
444
444
|
}>>;
|
|
445
445
|
'data-view-fields': z$1.ZodOptional<z$1.ZodEnum<{
|
|
446
|
-
error: "error";
|
|
447
446
|
off: "off";
|
|
448
447
|
warn: "warn";
|
|
448
|
+
error: "error";
|
|
449
449
|
}>>;
|
|
450
450
|
}, z$1.core.$strip>>;
|
|
451
451
|
overrides: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
|
|
452
|
-
telemetry: "telemetry";
|
|
453
|
-
"app-config": "app-config";
|
|
454
452
|
operation: "operation";
|
|
455
453
|
event: "event";
|
|
456
454
|
presentation: "presentation";
|
|
@@ -458,67 +456,69 @@ declare const RulesConfigSchema: z$1.ZodObject<{
|
|
|
458
456
|
workflow: "workflow";
|
|
459
457
|
"data-view": "data-view";
|
|
460
458
|
migration: "migration";
|
|
459
|
+
telemetry: "telemetry";
|
|
461
460
|
experiment: "experiment";
|
|
461
|
+
"app-config": "app-config";
|
|
462
462
|
}>, z$1.ZodObject<{
|
|
463
463
|
'require-acceptance': z$1.ZodOptional<z$1.ZodEnum<{
|
|
464
|
-
error: "error";
|
|
465
464
|
off: "off";
|
|
466
465
|
warn: "warn";
|
|
466
|
+
error: "error";
|
|
467
467
|
}>>;
|
|
468
468
|
'require-examples': z$1.ZodOptional<z$1.ZodEnum<{
|
|
469
|
-
error: "error";
|
|
470
469
|
off: "off";
|
|
471
470
|
warn: "warn";
|
|
471
|
+
error: "error";
|
|
472
472
|
}>>;
|
|
473
473
|
'require-stability': z$1.ZodOptional<z$1.ZodEnum<{
|
|
474
|
-
error: "error";
|
|
475
474
|
off: "off";
|
|
476
475
|
warn: "warn";
|
|
476
|
+
error: "error";
|
|
477
477
|
}>>;
|
|
478
478
|
'require-owners-format': z$1.ZodOptional<z$1.ZodEnum<{
|
|
479
|
-
error: "error";
|
|
480
479
|
off: "off";
|
|
481
480
|
warn: "warn";
|
|
481
|
+
error: "error";
|
|
482
482
|
}>>;
|
|
483
483
|
'event-past-tense': z$1.ZodOptional<z$1.ZodEnum<{
|
|
484
|
-
error: "error";
|
|
485
484
|
off: "off";
|
|
486
485
|
warn: "warn";
|
|
486
|
+
error: "error";
|
|
487
487
|
}>>;
|
|
488
488
|
'no-todo': z$1.ZodOptional<z$1.ZodEnum<{
|
|
489
|
-
error: "error";
|
|
490
489
|
off: "off";
|
|
491
490
|
warn: "warn";
|
|
491
|
+
error: "error";
|
|
492
492
|
}>>;
|
|
493
493
|
'workflow-transitions': z$1.ZodOptional<z$1.ZodEnum<{
|
|
494
|
-
error: "error";
|
|
495
494
|
off: "off";
|
|
496
495
|
warn: "warn";
|
|
496
|
+
error: "error";
|
|
497
497
|
}>>;
|
|
498
498
|
'telemetry-privacy': z$1.ZodOptional<z$1.ZodEnum<{
|
|
499
|
-
error: "error";
|
|
500
499
|
off: "off";
|
|
501
500
|
warn: "warn";
|
|
501
|
+
error: "error";
|
|
502
502
|
}>>;
|
|
503
503
|
'experiment-allocation': z$1.ZodOptional<z$1.ZodEnum<{
|
|
504
|
-
error: "error";
|
|
505
504
|
off: "off";
|
|
506
505
|
warn: "warn";
|
|
506
|
+
error: "error";
|
|
507
507
|
}>>;
|
|
508
508
|
'app-config-appid': z$1.ZodOptional<z$1.ZodEnum<{
|
|
509
|
-
error: "error";
|
|
510
509
|
off: "off";
|
|
511
510
|
warn: "warn";
|
|
511
|
+
error: "error";
|
|
512
512
|
}>>;
|
|
513
513
|
'app-config-capabilities': z$1.ZodOptional<z$1.ZodEnum<{
|
|
514
|
-
error: "error";
|
|
515
514
|
off: "off";
|
|
516
515
|
warn: "warn";
|
|
516
|
+
error: "error";
|
|
517
517
|
}>>;
|
|
518
518
|
'data-view-fields': z$1.ZodOptional<z$1.ZodEnum<{
|
|
519
|
-
error: "error";
|
|
520
519
|
off: "off";
|
|
521
520
|
warn: "warn";
|
|
521
|
+
error: "error";
|
|
522
522
|
}>>;
|
|
523
523
|
}, z$1.core.$strip>>>;
|
|
524
524
|
}, z$1.core.$strip>;
|
|
@@ -534,9 +534,9 @@ declare const ContractsrcSchema: z$1.ZodObject<{
|
|
|
534
534
|
}>>;
|
|
535
535
|
aiModel: z$1.ZodOptional<z$1.ZodString>;
|
|
536
536
|
agentMode: z$1.ZodDefault<z$1.ZodEnum<{
|
|
537
|
-
"claude-code": "claude-code";
|
|
538
537
|
simple: "simple";
|
|
539
538
|
cursor: "cursor";
|
|
539
|
+
"claude-code": "claude-code";
|
|
540
540
|
"openai-codex": "openai-codex";
|
|
541
541
|
}>>;
|
|
542
542
|
customEndpoint: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodURL>>;
|
|
@@ -609,14 +609,14 @@ declare const ContractsrcSchema: z$1.ZodObject<{
|
|
|
609
609
|
include: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
610
610
|
prefix: z$1.ZodOptional<z$1.ZodString>;
|
|
611
611
|
defaultStability: z$1.ZodOptional<z$1.ZodEnum<{
|
|
612
|
-
deprecated: "deprecated";
|
|
613
612
|
experimental: "experimental";
|
|
614
613
|
beta: "beta";
|
|
615
614
|
stable: "stable";
|
|
615
|
+
deprecated: "deprecated";
|
|
616
616
|
}>>;
|
|
617
617
|
defaultAuth: z$1.ZodOptional<z$1.ZodEnum<{
|
|
618
|
-
user: "user";
|
|
619
618
|
anonymous: "anonymous";
|
|
619
|
+
user: "user";
|
|
620
620
|
admin: "admin";
|
|
621
621
|
}>>;
|
|
622
622
|
defaultOwners: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
@@ -680,69 +680,67 @@ declare const ContractsrcSchema: z$1.ZodObject<{
|
|
|
680
680
|
rules: z$1.ZodOptional<z$1.ZodObject<{
|
|
681
681
|
defaults: z$1.ZodOptional<z$1.ZodObject<{
|
|
682
682
|
'require-acceptance': z$1.ZodOptional<z$1.ZodEnum<{
|
|
683
|
-
error: "error";
|
|
684
683
|
off: "off";
|
|
685
684
|
warn: "warn";
|
|
685
|
+
error: "error";
|
|
686
686
|
}>>;
|
|
687
687
|
'require-examples': z$1.ZodOptional<z$1.ZodEnum<{
|
|
688
|
-
error: "error";
|
|
689
688
|
off: "off";
|
|
690
689
|
warn: "warn";
|
|
690
|
+
error: "error";
|
|
691
691
|
}>>;
|
|
692
692
|
'require-stability': z$1.ZodOptional<z$1.ZodEnum<{
|
|
693
|
-
error: "error";
|
|
694
693
|
off: "off";
|
|
695
694
|
warn: "warn";
|
|
695
|
+
error: "error";
|
|
696
696
|
}>>;
|
|
697
697
|
'require-owners-format': z$1.ZodOptional<z$1.ZodEnum<{
|
|
698
|
-
error: "error";
|
|
699
698
|
off: "off";
|
|
700
699
|
warn: "warn";
|
|
700
|
+
error: "error";
|
|
701
701
|
}>>;
|
|
702
702
|
'event-past-tense': z$1.ZodOptional<z$1.ZodEnum<{
|
|
703
|
-
error: "error";
|
|
704
703
|
off: "off";
|
|
705
704
|
warn: "warn";
|
|
705
|
+
error: "error";
|
|
706
706
|
}>>;
|
|
707
707
|
'no-todo': z$1.ZodOptional<z$1.ZodEnum<{
|
|
708
|
-
error: "error";
|
|
709
708
|
off: "off";
|
|
710
709
|
warn: "warn";
|
|
710
|
+
error: "error";
|
|
711
711
|
}>>;
|
|
712
712
|
'workflow-transitions': z$1.ZodOptional<z$1.ZodEnum<{
|
|
713
|
-
error: "error";
|
|
714
713
|
off: "off";
|
|
715
714
|
warn: "warn";
|
|
715
|
+
error: "error";
|
|
716
716
|
}>>;
|
|
717
717
|
'telemetry-privacy': z$1.ZodOptional<z$1.ZodEnum<{
|
|
718
|
-
error: "error";
|
|
719
718
|
off: "off";
|
|
720
719
|
warn: "warn";
|
|
720
|
+
error: "error";
|
|
721
721
|
}>>;
|
|
722
722
|
'experiment-allocation': z$1.ZodOptional<z$1.ZodEnum<{
|
|
723
|
-
error: "error";
|
|
724
723
|
off: "off";
|
|
725
724
|
warn: "warn";
|
|
725
|
+
error: "error";
|
|
726
726
|
}>>;
|
|
727
727
|
'app-config-appid': z$1.ZodOptional<z$1.ZodEnum<{
|
|
728
|
-
error: "error";
|
|
729
728
|
off: "off";
|
|
730
729
|
warn: "warn";
|
|
730
|
+
error: "error";
|
|
731
731
|
}>>;
|
|
732
732
|
'app-config-capabilities': z$1.ZodOptional<z$1.ZodEnum<{
|
|
733
|
-
error: "error";
|
|
734
733
|
off: "off";
|
|
735
734
|
warn: "warn";
|
|
735
|
+
error: "error";
|
|
736
736
|
}>>;
|
|
737
737
|
'data-view-fields': z$1.ZodOptional<z$1.ZodEnum<{
|
|
738
|
-
error: "error";
|
|
739
738
|
off: "off";
|
|
740
739
|
warn: "warn";
|
|
740
|
+
error: "error";
|
|
741
741
|
}>>;
|
|
742
742
|
}, z$1.core.$strip>>;
|
|
743
743
|
overrides: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
|
|
744
|
-
telemetry: "telemetry";
|
|
745
|
-
"app-config": "app-config";
|
|
746
744
|
operation: "operation";
|
|
747
745
|
event: "event";
|
|
748
746
|
presentation: "presentation";
|
|
@@ -750,67 +748,69 @@ declare const ContractsrcSchema: z$1.ZodObject<{
|
|
|
750
748
|
workflow: "workflow";
|
|
751
749
|
"data-view": "data-view";
|
|
752
750
|
migration: "migration";
|
|
751
|
+
telemetry: "telemetry";
|
|
753
752
|
experiment: "experiment";
|
|
753
|
+
"app-config": "app-config";
|
|
754
754
|
}>, z$1.ZodObject<{
|
|
755
755
|
'require-acceptance': z$1.ZodOptional<z$1.ZodEnum<{
|
|
756
|
-
error: "error";
|
|
757
756
|
off: "off";
|
|
758
757
|
warn: "warn";
|
|
758
|
+
error: "error";
|
|
759
759
|
}>>;
|
|
760
760
|
'require-examples': z$1.ZodOptional<z$1.ZodEnum<{
|
|
761
|
-
error: "error";
|
|
762
761
|
off: "off";
|
|
763
762
|
warn: "warn";
|
|
763
|
+
error: "error";
|
|
764
764
|
}>>;
|
|
765
765
|
'require-stability': z$1.ZodOptional<z$1.ZodEnum<{
|
|
766
|
-
error: "error";
|
|
767
766
|
off: "off";
|
|
768
767
|
warn: "warn";
|
|
768
|
+
error: "error";
|
|
769
769
|
}>>;
|
|
770
770
|
'require-owners-format': z$1.ZodOptional<z$1.ZodEnum<{
|
|
771
|
-
error: "error";
|
|
772
771
|
off: "off";
|
|
773
772
|
warn: "warn";
|
|
773
|
+
error: "error";
|
|
774
774
|
}>>;
|
|
775
775
|
'event-past-tense': z$1.ZodOptional<z$1.ZodEnum<{
|
|
776
|
-
error: "error";
|
|
777
776
|
off: "off";
|
|
778
777
|
warn: "warn";
|
|
778
|
+
error: "error";
|
|
779
779
|
}>>;
|
|
780
780
|
'no-todo': z$1.ZodOptional<z$1.ZodEnum<{
|
|
781
|
-
error: "error";
|
|
782
781
|
off: "off";
|
|
783
782
|
warn: "warn";
|
|
783
|
+
error: "error";
|
|
784
784
|
}>>;
|
|
785
785
|
'workflow-transitions': z$1.ZodOptional<z$1.ZodEnum<{
|
|
786
|
-
error: "error";
|
|
787
786
|
off: "off";
|
|
788
787
|
warn: "warn";
|
|
788
|
+
error: "error";
|
|
789
789
|
}>>;
|
|
790
790
|
'telemetry-privacy': z$1.ZodOptional<z$1.ZodEnum<{
|
|
791
|
-
error: "error";
|
|
792
791
|
off: "off";
|
|
793
792
|
warn: "warn";
|
|
793
|
+
error: "error";
|
|
794
794
|
}>>;
|
|
795
795
|
'experiment-allocation': z$1.ZodOptional<z$1.ZodEnum<{
|
|
796
|
-
error: "error";
|
|
797
796
|
off: "off";
|
|
798
797
|
warn: "warn";
|
|
798
|
+
error: "error";
|
|
799
799
|
}>>;
|
|
800
800
|
'app-config-appid': z$1.ZodOptional<z$1.ZodEnum<{
|
|
801
|
-
error: "error";
|
|
802
801
|
off: "off";
|
|
803
802
|
warn: "warn";
|
|
803
|
+
error: "error";
|
|
804
804
|
}>>;
|
|
805
805
|
'app-config-capabilities': z$1.ZodOptional<z$1.ZodEnum<{
|
|
806
|
-
error: "error";
|
|
807
806
|
off: "off";
|
|
808
807
|
warn: "warn";
|
|
808
|
+
error: "error";
|
|
809
809
|
}>>;
|
|
810
810
|
'data-view-fields': z$1.ZodOptional<z$1.ZodEnum<{
|
|
811
|
-
error: "error";
|
|
812
811
|
off: "off";
|
|
813
812
|
warn: "warn";
|
|
813
|
+
error: "error";
|
|
814
814
|
}>>;
|
|
815
815
|
}, z$1.core.$strip>>>;
|
|
816
816
|
}, z$1.core.$strip>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lssm/lib.contracts",
|
|
3
|
-
"version": "1.43.
|
|
3
|
+
"version": "1.43.4",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"publish:pkg": "bun publish --tolerate-republish --ignore-scripts --verbose",
|
|
6
6
|
"publish:pkg:canary": "bun publish:pkg --tag canary",
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"test": "bun run"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@lssm/tool.tsdown": "1.43.
|
|
20
|
-
"@lssm/tool.typescript": "1.43.
|
|
19
|
+
"@lssm/tool.tsdown": "1.43.3",
|
|
20
|
+
"@lssm/tool.typescript": "1.43.3",
|
|
21
21
|
"@types/express": "^5.0.3",
|
|
22
22
|
"@types/turndown": "^5.0.6",
|
|
23
23
|
"tsdown": "^0.18.3",
|
|
@@ -35,15 +35,15 @@
|
|
|
35
35
|
"@elevenlabs/elevenlabs-js": "^2.27.0",
|
|
36
36
|
"@google-cloud/secret-manager": "^6.1.1",
|
|
37
37
|
"@google-cloud/storage": "^7.18.0",
|
|
38
|
-
"@lssm/lib.logger": "1.43.
|
|
39
|
-
"@lssm/lib.schema": "1.43.
|
|
38
|
+
"@lssm/lib.logger": "1.43.3",
|
|
39
|
+
"@lssm/lib.schema": "1.43.3",
|
|
40
40
|
"@mistralai/mistralai": "^1.11.0",
|
|
41
41
|
"@modelcontextprotocol/sdk": "^1.24.3",
|
|
42
42
|
"@qdrant/js-client-rest": "^1.16.2",
|
|
43
43
|
"googleapis": "^169.0.0",
|
|
44
44
|
"mcp-handler": "^1.0.4",
|
|
45
45
|
"postmark": "^4.0.4",
|
|
46
|
-
"stripe": "^
|
|
46
|
+
"stripe": "^20.1.0",
|
|
47
47
|
"turndown": "^7.2.2",
|
|
48
48
|
"twilio": "^5.10.7",
|
|
49
49
|
"zod": "^4.1.13"
|