@salsita-ai/contracts 0.50.0-develop.1162eef277 → 0.50.0-develop.12744a81f2

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.
Files changed (141) hide show
  1. package/README.md +14 -3
  2. package/dist/api/cli-access.d.ts +60 -0
  3. package/dist/api/cli-access.js +1 -0
  4. package/dist/api/cli-login-approval.d.ts +15 -0
  5. package/dist/api/cli-login-approval.js +1 -0
  6. package/dist/api/cli-sign-in.d.ts +23 -0
  7. package/dist/api/cli-sign-in.js +1 -0
  8. package/dist/api/index.d.ts +6 -0
  9. package/dist/api/index.js +1 -1
  10. package/dist/api/session-token.d.ts +1 -1
  11. package/dist/api/studio-session.d.ts +104 -0
  12. package/dist/api/studio-session.js +1 -0
  13. package/dist/api/workspace-creation-options.d.ts +19 -0
  14. package/dist/api/workspace-creation-options.js +1 -0
  15. package/dist/api/workspace-creation.d.ts +19 -0
  16. package/dist/api/workspace-creation.js +1 -0
  17. package/dist/assistant/ban-tool.d.ts +17 -0
  18. package/dist/assistant/ban-tool.js +1 -0
  19. package/dist/assistant/deployment-assistant.d.ts +154 -0
  20. package/dist/assistant/deployment-assistant.js +1 -1
  21. package/dist/assistant/graphql-tools.d.ts +18 -3
  22. package/dist/assistant/graphql-tools.js +1 -1
  23. package/dist/assistant/image-reference.d.ts +10 -0
  24. package/dist/assistant/image-reference.js +1 -0
  25. package/dist/assistant/index.d.ts +9 -4
  26. package/dist/assistant/index.js +1 -1
  27. package/dist/assistant/message-metadata.d.ts +138 -1
  28. package/dist/assistant/message-metadata.js +1 -1
  29. package/dist/assistant/speech-text.d.ts +15 -0
  30. package/dist/assistant/speech-text.js +1 -0
  31. package/dist/assistant/transcript-event.d.ts +25 -0
  32. package/dist/assistant/transcript-event.js +1 -0
  33. package/dist/assistant/voice-recording.d.ts +13 -0
  34. package/dist/assistant/voice-recording.js +1 -0
  35. package/dist/chat/api.d.ts +0 -41
  36. package/dist/chat/api.js +1 -1
  37. package/dist/chat/completions/types.d.ts +0 -3
  38. package/dist/chat/completions/types.js +1 -1
  39. package/dist/chat/functions/process.d.ts +1 -2
  40. package/dist/chat/functions/process.js +1 -1
  41. package/dist/chat/index.d.ts +3 -6
  42. package/dist/chat/index.js +1 -1
  43. package/dist/domain/account-status.d.ts +6 -0
  44. package/dist/domain/account-status.js +1 -0
  45. package/dist/domain/deployments/activations/environment-activation-kind.d.ts +11 -0
  46. package/dist/domain/deployments/activations/environment-activation-kind.js +1 -0
  47. package/dist/domain/deployments/activations/index.d.ts +2 -0
  48. package/dist/domain/deployments/activations/index.js +1 -0
  49. package/dist/domain/deployments/activations/production-rollback-state.d.ts +14 -0
  50. package/dist/domain/deployments/activations/production-rollback-state.js +1 -0
  51. package/dist/domain/deployments/api-tokens/index.d.ts +1 -0
  52. package/dist/domain/deployments/api-tokens/index.js +1 -0
  53. package/dist/domain/deployments/api-tokens/limits.d.ts +16 -0
  54. package/dist/domain/deployments/api-tokens/limits.js +1 -0
  55. package/dist/domain/deployments/assistant-limit-domain.d.ts +13 -0
  56. package/dist/domain/deployments/assistant-limit-domain.js +1 -0
  57. package/dist/domain/deployments/custom-domains/custom-domain.d.ts +40 -0
  58. package/dist/domain/deployments/custom-domains/custom-domain.js +1 -0
  59. package/dist/domain/deployments/custom-domains/index.d.ts +1 -0
  60. package/dist/domain/deployments/custom-domains/index.js +1 -0
  61. package/dist/domain/deployments/customer-domain.d.ts +2 -0
  62. package/dist/domain/deployments/deployment-build-domain.d.ts +18 -0
  63. package/dist/domain/deployments/deployment-domain.d.ts +2 -0
  64. package/dist/domain/deployments/environment-domain.d.ts +3 -0
  65. package/dist/domain/deployments/index.d.ts +9 -1
  66. package/dist/domain/deployments/index.js +1 -1
  67. package/dist/domain/deployments/oauth-connection-domain.d.ts +0 -7
  68. package/dist/domain/deployments/oauth-connection-domain.js +1 -1
  69. package/dist/domain/deployments/previews/index.d.ts +2 -0
  70. package/dist/domain/deployments/previews/index.js +1 -0
  71. package/dist/domain/deployments/previews/preview-limits.d.ts +5 -0
  72. package/dist/domain/deployments/previews/preview-limits.js +1 -0
  73. package/dist/domain/deployments/previews/preview-name.d.ts +23 -0
  74. package/dist/domain/deployments/previews/preview-name.js +1 -0
  75. package/dist/domain/deployments/project-domain.d.ts +6 -3
  76. package/dist/domain/deployments/sdk-builder-environment-domain.d.ts +20 -0
  77. package/dist/domain/deployments/sdk-builder-environment-domain.js +1 -0
  78. package/dist/domain/deployments/sdk-builder-project-domain.d.ts +22 -0
  79. package/dist/domain/deployments/sdk-builder-project-domain.js +1 -0
  80. package/dist/domain/deployments/sdk-builder-setup-domain.d.ts +5 -4
  81. package/dist/domain/deployments/teardowns/index.d.ts +1 -0
  82. package/dist/domain/deployments/teardowns/index.js +1 -0
  83. package/dist/domain/deployments/teardowns/teardown-status.d.ts +23 -0
  84. package/dist/domain/deployments/teardowns/teardown-status.js +1 -0
  85. package/dist/domain/index.d.ts +6 -0
  86. package/dist/domain/index.js +1 -1
  87. package/dist/domain/password-policy.d.ts +22 -0
  88. package/dist/domain/password-policy.js +1 -0
  89. package/dist/domain/product-configurations/analytics/configuration-chart-definition.d.ts +798 -0
  90. package/dist/domain/product-configurations/analytics/configuration-chart-definition.js +1 -0
  91. package/dist/domain/product-configurations/analytics/index.d.ts +1 -0
  92. package/dist/domain/product-configurations/analytics/index.js +1 -0
  93. package/dist/domain/product-configurations/configuration-insight-field.d.ts +54 -0
  94. package/dist/domain/product-configurations/configuration-insight-field.js +1 -0
  95. package/dist/domain/product-configurations/configuration-insight-status.d.ts +4 -0
  96. package/dist/domain/product-configurations/configuration-insight-status.js +1 -0
  97. package/dist/domain/product-configurations/configuration-insight-value.d.ts +114 -0
  98. package/dist/domain/product-configurations/configuration-insight-value.js +1 -0
  99. package/dist/domain/product-configurations/configurations-domain.d.ts +2 -7
  100. package/dist/domain/product-configurations/configurations-domain.js +1 -1
  101. package/dist/domain/product-configurations/index.d.ts +5 -1
  102. package/dist/domain/product-configurations/index.js +1 -1
  103. package/dist/domain/workspace-invitation-role.d.ts +7 -0
  104. package/dist/domain/workspace-invitation-role.js +1 -0
  105. package/dist/domain/workspace-invitation.d.ts +7 -0
  106. package/dist/domain/workspace-invitation.js +1 -0
  107. package/dist/domain/workspace-lifecycle/disabled-workspace-status.d.ts +7 -0
  108. package/dist/domain/workspace-lifecycle/disabled-workspace-status.js +1 -0
  109. package/dist/domain/workspace-lifecycle/index.d.ts +3 -0
  110. package/dist/domain/workspace-lifecycle/index.js +1 -0
  111. package/dist/domain/workspace-lifecycle/workspace-disabled-message.d.ts +6 -0
  112. package/dist/domain/workspace-lifecycle/workspace-disabled-message.js +1 -0
  113. package/dist/domain/workspace-lifecycle/workspace-status.d.ts +13 -0
  114. package/dist/domain/workspace-lifecycle/workspace-status.js +1 -0
  115. package/dist/domain/workspace-membership-status.d.ts +6 -0
  116. package/dist/domain/workspace-membership-status.js +1 -0
  117. package/dist/webhook/implementation/backend-data-response.d.ts +3 -0
  118. package/dist/webhook/implementation/backend-data-response.js +1 -0
  119. package/dist/webhook/implementation/configuration-insights-payload.d.ts +41 -0
  120. package/dist/webhook/implementation/configuration-insights-payload.js +1 -0
  121. package/dist/webhook/implementation/configuration-insights-response.d.ts +184 -0
  122. package/dist/webhook/implementation/configuration-insights-response.js +1 -0
  123. package/dist/webhook/implementation/index.d.ts +3 -2
  124. package/dist/webhook/implementation/index.js +1 -1
  125. package/dist/webhook/implementation/webhook-api-types.d.ts +188 -6
  126. package/dist/webhook/implementation/webhook-api-types.js +1 -1
  127. package/dist/webhook/implementation/webhook-routing.d.ts +3 -6
  128. package/dist/webhook/implementation/webhook-routing.js +1 -1
  129. package/dist/webhook/implementation/webhook-tunnel-types.d.ts +9 -0
  130. package/dist/webhook/implementation/webhook-tunnel-types.js +1 -1
  131. package/package.json +5 -6
  132. package/dist/assistant/browser-details-tool.d.ts +0 -16
  133. package/dist/assistant/browser-details-tool.js +0 -1
  134. package/dist/chat/completions/messages.d.ts +0 -3
  135. package/dist/chat/completions/messages.js +0 -1
  136. package/dist/chat/functions/augmentations.d.ts +0 -3
  137. package/dist/chat/functions/augmentations.js +0 -1
  138. package/dist/chat/functions/create.d.ts +0 -5
  139. package/dist/chat/functions/create.js +0 -1
  140. package/dist/webhook/implementation/webhook-client.d.ts +0 -86
  141. package/dist/webhook/implementation/webhook-client.js +0 -1
@@ -0,0 +1,798 @@
1
+ import { z } from 'zod';
2
+ /** A saved, bounded analysis of one latest finalization per configurator configuration; expressions retain their exact definition. */
3
+ export declare const ConfigurationChartDefinition: z.ZodEffects<z.ZodObject<{
4
+ measure: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
5
+ kind: z.ZodLiteral<"count">;
6
+ }, "strip", z.ZodTypeAny, {
7
+ kind: "count";
8
+ }, {
9
+ kind: "count";
10
+ }>, z.ZodObject<{
11
+ kind: z.ZodLiteral<"numeric">;
12
+ source: z.ZodUnion<[z.ZodEnum<["revisionCount", "timeToFinalizeHours"]>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
13
+ id: z.ZodString;
14
+ label: z.ZodString;
15
+ description: z.ZodString;
16
+ expression: z.ZodString;
17
+ version: z.ZodString;
18
+ type: z.ZodEnum<["number", "category", "boolean"]>;
19
+ unit: z.ZodOptional<z.ZodString>;
20
+ currency: z.ZodOptional<z.ZodString>;
21
+ taxBasis: z.ZodOptional<z.ZodEnum<["inclusive", "exclusive", "unspecified"]>>;
22
+ }, "strip", z.ZodTypeAny, {
23
+ id: string;
24
+ label: string;
25
+ description: string;
26
+ expression: string;
27
+ version: string;
28
+ type: "boolean" | "category" | "number";
29
+ unit?: string | undefined;
30
+ currency?: string | undefined;
31
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
32
+ }, {
33
+ id: string;
34
+ label: string;
35
+ description: string;
36
+ expression: string;
37
+ version: string;
38
+ type: "boolean" | "category" | "number";
39
+ unit?: string | undefined;
40
+ currency?: string | undefined;
41
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
42
+ }>, {
43
+ id: string;
44
+ label: string;
45
+ description: string;
46
+ expression: string;
47
+ version: string;
48
+ type: "boolean" | "category" | "number";
49
+ unit?: string | undefined;
50
+ currency?: string | undefined;
51
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
52
+ }, {
53
+ id: string;
54
+ label: string;
55
+ description: string;
56
+ expression: string;
57
+ version: string;
58
+ type: "boolean" | "category" | "number";
59
+ unit?: string | undefined;
60
+ currency?: string | undefined;
61
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
62
+ }>, {
63
+ id: string;
64
+ label: string;
65
+ description: string;
66
+ expression: string;
67
+ version: string;
68
+ type: "boolean" | "category" | "number";
69
+ unit?: string | undefined;
70
+ currency?: string | undefined;
71
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
72
+ }, {
73
+ id: string;
74
+ label: string;
75
+ description: string;
76
+ expression: string;
77
+ version: string;
78
+ type: "boolean" | "category" | "number";
79
+ unit?: string | undefined;
80
+ currency?: string | undefined;
81
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
82
+ }>]>;
83
+ aggregate: z.ZodEnum<["sum", "average", "median", "min", "max"]>;
84
+ }, "strip", z.ZodTypeAny, {
85
+ kind: "numeric";
86
+ source: "revisionCount" | "timeToFinalizeHours" | {
87
+ id: string;
88
+ label: string;
89
+ description: string;
90
+ expression: string;
91
+ version: string;
92
+ type: "boolean" | "category" | "number";
93
+ unit?: string | undefined;
94
+ currency?: string | undefined;
95
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
96
+ };
97
+ aggregate: "average" | "max" | "median" | "min" | "sum";
98
+ }, {
99
+ kind: "numeric";
100
+ source: "revisionCount" | "timeToFinalizeHours" | {
101
+ id: string;
102
+ label: string;
103
+ description: string;
104
+ expression: string;
105
+ version: string;
106
+ type: "boolean" | "category" | "number";
107
+ unit?: string | undefined;
108
+ currency?: string | undefined;
109
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
110
+ };
111
+ aggregate: "average" | "max" | "median" | "min" | "sum";
112
+ }>]>;
113
+ group: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
114
+ kind: z.ZodLiteral<"none">;
115
+ }, "strip", z.ZodTypeAny, {
116
+ kind: "none";
117
+ }, {
118
+ kind: "none";
119
+ }>, z.ZodObject<{
120
+ kind: z.ZodLiteral<"time">;
121
+ interval: z.ZodEnum<["day", "week", "month"]>;
122
+ }, "strip", z.ZodTypeAny, {
123
+ kind: "time";
124
+ interval: "day" | "month" | "week";
125
+ }, {
126
+ kind: "time";
127
+ interval: "day" | "month" | "week";
128
+ }>, z.ZodObject<{
129
+ kind: z.ZodLiteral<"entityType">;
130
+ }, "strip", z.ZodTypeAny, {
131
+ kind: "entityType";
132
+ }, {
133
+ kind: "entityType";
134
+ }>, z.ZodObject<{
135
+ kind: z.ZodLiteral<"field">;
136
+ field: z.ZodEffects<z.ZodEffects<z.ZodObject<{
137
+ id: z.ZodString;
138
+ label: z.ZodString;
139
+ description: z.ZodString;
140
+ expression: z.ZodString;
141
+ version: z.ZodString;
142
+ type: z.ZodEnum<["number", "category", "boolean"]>;
143
+ unit: z.ZodOptional<z.ZodString>;
144
+ currency: z.ZodOptional<z.ZodString>;
145
+ taxBasis: z.ZodOptional<z.ZodEnum<["inclusive", "exclusive", "unspecified"]>>;
146
+ }, "strip", z.ZodTypeAny, {
147
+ id: string;
148
+ label: string;
149
+ description: string;
150
+ expression: string;
151
+ version: string;
152
+ type: "boolean" | "category" | "number";
153
+ unit?: string | undefined;
154
+ currency?: string | undefined;
155
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
156
+ }, {
157
+ id: string;
158
+ label: string;
159
+ description: string;
160
+ expression: string;
161
+ version: string;
162
+ type: "boolean" | "category" | "number";
163
+ unit?: string | undefined;
164
+ currency?: string | undefined;
165
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
166
+ }>, {
167
+ id: string;
168
+ label: string;
169
+ description: string;
170
+ expression: string;
171
+ version: string;
172
+ type: "boolean" | "category" | "number";
173
+ unit?: string | undefined;
174
+ currency?: string | undefined;
175
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
176
+ }, {
177
+ id: string;
178
+ label: string;
179
+ description: string;
180
+ expression: string;
181
+ version: string;
182
+ type: "boolean" | "category" | "number";
183
+ unit?: string | undefined;
184
+ currency?: string | undefined;
185
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
186
+ }>, {
187
+ id: string;
188
+ label: string;
189
+ description: string;
190
+ expression: string;
191
+ version: string;
192
+ type: "boolean" | "category" | "number";
193
+ unit?: string | undefined;
194
+ currency?: string | undefined;
195
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
196
+ }, {
197
+ id: string;
198
+ label: string;
199
+ description: string;
200
+ expression: string;
201
+ version: string;
202
+ type: "boolean" | "category" | "number";
203
+ unit?: string | undefined;
204
+ currency?: string | undefined;
205
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
206
+ }>;
207
+ }, "strip", z.ZodTypeAny, {
208
+ kind: "field";
209
+ field: {
210
+ id: string;
211
+ label: string;
212
+ description: string;
213
+ expression: string;
214
+ version: string;
215
+ type: "boolean" | "category" | "number";
216
+ unit?: string | undefined;
217
+ currency?: string | undefined;
218
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
219
+ };
220
+ }, {
221
+ kind: "field";
222
+ field: {
223
+ id: string;
224
+ label: string;
225
+ description: string;
226
+ expression: string;
227
+ version: string;
228
+ type: "boolean" | "category" | "number";
229
+ unit?: string | undefined;
230
+ currency?: string | undefined;
231
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
232
+ };
233
+ }>, z.ZodObject<{
234
+ kind: z.ZodLiteral<"histogram">;
235
+ source: z.ZodUnion<[z.ZodEnum<["revisionCount", "timeToFinalizeHours"]>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
236
+ id: z.ZodString;
237
+ label: z.ZodString;
238
+ description: z.ZodString;
239
+ expression: z.ZodString;
240
+ version: z.ZodString;
241
+ type: z.ZodEnum<["number", "category", "boolean"]>;
242
+ unit: z.ZodOptional<z.ZodString>;
243
+ currency: z.ZodOptional<z.ZodString>;
244
+ taxBasis: z.ZodOptional<z.ZodEnum<["inclusive", "exclusive", "unspecified"]>>;
245
+ }, "strip", z.ZodTypeAny, {
246
+ id: string;
247
+ label: string;
248
+ description: string;
249
+ expression: string;
250
+ version: string;
251
+ type: "boolean" | "category" | "number";
252
+ unit?: string | undefined;
253
+ currency?: string | undefined;
254
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
255
+ }, {
256
+ id: string;
257
+ label: string;
258
+ description: string;
259
+ expression: string;
260
+ version: string;
261
+ type: "boolean" | "category" | "number";
262
+ unit?: string | undefined;
263
+ currency?: string | undefined;
264
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
265
+ }>, {
266
+ id: string;
267
+ label: string;
268
+ description: string;
269
+ expression: string;
270
+ version: string;
271
+ type: "boolean" | "category" | "number";
272
+ unit?: string | undefined;
273
+ currency?: string | undefined;
274
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
275
+ }, {
276
+ id: string;
277
+ label: string;
278
+ description: string;
279
+ expression: string;
280
+ version: string;
281
+ type: "boolean" | "category" | "number";
282
+ unit?: string | undefined;
283
+ currency?: string | undefined;
284
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
285
+ }>, {
286
+ id: string;
287
+ label: string;
288
+ description: string;
289
+ expression: string;
290
+ version: string;
291
+ type: "boolean" | "category" | "number";
292
+ unit?: string | undefined;
293
+ currency?: string | undefined;
294
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
295
+ }, {
296
+ id: string;
297
+ label: string;
298
+ description: string;
299
+ expression: string;
300
+ version: string;
301
+ type: "boolean" | "category" | "number";
302
+ unit?: string | undefined;
303
+ currency?: string | undefined;
304
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
305
+ }>]>;
306
+ bins: z.ZodUnion<[z.ZodLiteral<5>, z.ZodLiteral<10>, z.ZodLiteral<20>]>;
307
+ }, "strip", z.ZodTypeAny, {
308
+ kind: "histogram";
309
+ source: "revisionCount" | "timeToFinalizeHours" | {
310
+ id: string;
311
+ label: string;
312
+ description: string;
313
+ expression: string;
314
+ version: string;
315
+ type: "boolean" | "category" | "number";
316
+ unit?: string | undefined;
317
+ currency?: string | undefined;
318
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
319
+ };
320
+ bins: 5 | 10 | 20;
321
+ }, {
322
+ kind: "histogram";
323
+ source: "revisionCount" | "timeToFinalizeHours" | {
324
+ id: string;
325
+ label: string;
326
+ description: string;
327
+ expression: string;
328
+ version: string;
329
+ type: "boolean" | "category" | "number";
330
+ unit?: string | undefined;
331
+ currency?: string | undefined;
332
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
333
+ };
334
+ bins: 5 | 10 | 20;
335
+ }>]>;
336
+ visualization: z.ZodEnum<["bar", "line", "donut", "number", "table"]>;
337
+ range: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
338
+ kind: z.ZodLiteral<"all">;
339
+ }, "strip", z.ZodTypeAny, {
340
+ kind: "all";
341
+ }, {
342
+ kind: "all";
343
+ }>, z.ZodObject<{
344
+ kind: z.ZodLiteral<"relative">;
345
+ days: z.ZodUnion<[z.ZodLiteral<7>, z.ZodLiteral<30>, z.ZodLiteral<90>, z.ZodLiteral<365>]>;
346
+ }, "strip", z.ZodTypeAny, {
347
+ kind: "relative";
348
+ days: 7 | 30 | 90 | 365;
349
+ }, {
350
+ kind: "relative";
351
+ days: 7 | 30 | 90 | 365;
352
+ }>, z.ZodObject<{
353
+ kind: z.ZodLiteral<"custom">;
354
+ from: z.ZodEffects<z.ZodString, string, string>;
355
+ to: z.ZodEffects<z.ZodString, string, string>;
356
+ }, "strip", z.ZodTypeAny, {
357
+ kind: "custom";
358
+ from: string;
359
+ to: string;
360
+ }, {
361
+ kind: "custom";
362
+ from: string;
363
+ to: string;
364
+ }>]>;
365
+ rootEntityType: z.ZodNullable<z.ZodString>;
366
+ filters: z.ZodArray<z.ZodEffects<z.ZodObject<{
367
+ field: z.ZodEffects<z.ZodObject<{
368
+ id: z.ZodString;
369
+ label: z.ZodString;
370
+ description: z.ZodString;
371
+ expression: z.ZodString;
372
+ version: z.ZodString;
373
+ type: z.ZodEnum<["number", "category", "boolean"]>;
374
+ unit: z.ZodOptional<z.ZodString>;
375
+ currency: z.ZodOptional<z.ZodString>;
376
+ taxBasis: z.ZodOptional<z.ZodEnum<["inclusive", "exclusive", "unspecified"]>>;
377
+ }, "strip", z.ZodTypeAny, {
378
+ id: string;
379
+ label: string;
380
+ description: string;
381
+ expression: string;
382
+ version: string;
383
+ type: "boolean" | "category" | "number";
384
+ unit?: string | undefined;
385
+ currency?: string | undefined;
386
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
387
+ }, {
388
+ id: string;
389
+ label: string;
390
+ description: string;
391
+ expression: string;
392
+ version: string;
393
+ type: "boolean" | "category" | "number";
394
+ unit?: string | undefined;
395
+ currency?: string | undefined;
396
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
397
+ }>, {
398
+ id: string;
399
+ label: string;
400
+ description: string;
401
+ expression: string;
402
+ version: string;
403
+ type: "boolean" | "category" | "number";
404
+ unit?: string | undefined;
405
+ currency?: string | undefined;
406
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
407
+ }, {
408
+ id: string;
409
+ label: string;
410
+ description: string;
411
+ expression: string;
412
+ version: string;
413
+ type: "boolean" | "category" | "number";
414
+ unit?: string | undefined;
415
+ currency?: string | undefined;
416
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
417
+ }>;
418
+ operator: z.ZodEnum<["eq", "ne", "gt", "gte", "lt", "lte", "missing"]>;
419
+ value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
420
+ }, "strip", z.ZodTypeAny, {
421
+ field: {
422
+ id: string;
423
+ label: string;
424
+ description: string;
425
+ expression: string;
426
+ version: string;
427
+ type: "boolean" | "category" | "number";
428
+ unit?: string | undefined;
429
+ currency?: string | undefined;
430
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
431
+ };
432
+ operator: "eq" | "gt" | "gte" | "lt" | "lte" | "missing" | "ne";
433
+ value: string | number | boolean | null;
434
+ }, {
435
+ field: {
436
+ id: string;
437
+ label: string;
438
+ description: string;
439
+ expression: string;
440
+ version: string;
441
+ type: "boolean" | "category" | "number";
442
+ unit?: string | undefined;
443
+ currency?: string | undefined;
444
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
445
+ };
446
+ operator: "eq" | "gt" | "gte" | "lt" | "lte" | "missing" | "ne";
447
+ value: string | number | boolean | null;
448
+ }>, {
449
+ field: {
450
+ id: string;
451
+ label: string;
452
+ description: string;
453
+ expression: string;
454
+ version: string;
455
+ type: "boolean" | "category" | "number";
456
+ unit?: string | undefined;
457
+ currency?: string | undefined;
458
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
459
+ };
460
+ operator: "eq" | "gt" | "gte" | "lt" | "lte" | "missing" | "ne";
461
+ value: string | number | boolean | null;
462
+ }, {
463
+ field: {
464
+ id: string;
465
+ label: string;
466
+ description: string;
467
+ expression: string;
468
+ version: string;
469
+ type: "boolean" | "category" | "number";
470
+ unit?: string | undefined;
471
+ currency?: string | undefined;
472
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
473
+ };
474
+ operator: "eq" | "gt" | "gte" | "lt" | "lte" | "missing" | "ne";
475
+ value: string | number | boolean | null;
476
+ }>, "many">;
477
+ }, "strip", z.ZodTypeAny, {
478
+ measure: {
479
+ kind: "count";
480
+ } | {
481
+ kind: "numeric";
482
+ source: "revisionCount" | "timeToFinalizeHours" | {
483
+ id: string;
484
+ label: string;
485
+ description: string;
486
+ expression: string;
487
+ version: string;
488
+ type: "boolean" | "category" | "number";
489
+ unit?: string | undefined;
490
+ currency?: string | undefined;
491
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
492
+ };
493
+ aggregate: "average" | "max" | "median" | "min" | "sum";
494
+ };
495
+ group: {
496
+ kind: "none";
497
+ } | {
498
+ kind: "time";
499
+ interval: "day" | "month" | "week";
500
+ } | {
501
+ kind: "entityType";
502
+ } | {
503
+ kind: "field";
504
+ field: {
505
+ id: string;
506
+ label: string;
507
+ description: string;
508
+ expression: string;
509
+ version: string;
510
+ type: "boolean" | "category" | "number";
511
+ unit?: string | undefined;
512
+ currency?: string | undefined;
513
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
514
+ };
515
+ } | {
516
+ kind: "histogram";
517
+ source: "revisionCount" | "timeToFinalizeHours" | {
518
+ id: string;
519
+ label: string;
520
+ description: string;
521
+ expression: string;
522
+ version: string;
523
+ type: "boolean" | "category" | "number";
524
+ unit?: string | undefined;
525
+ currency?: string | undefined;
526
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
527
+ };
528
+ bins: 5 | 10 | 20;
529
+ };
530
+ visualization: "bar" | "donut" | "line" | "number" | "table";
531
+ range: {
532
+ kind: "all";
533
+ } | {
534
+ kind: "relative";
535
+ days: 7 | 30 | 90 | 365;
536
+ } | {
537
+ kind: "custom";
538
+ from: string;
539
+ to: string;
540
+ };
541
+ rootEntityType: string | null;
542
+ filters: {
543
+ field: {
544
+ id: string;
545
+ label: string;
546
+ description: string;
547
+ expression: string;
548
+ version: string;
549
+ type: "boolean" | "category" | "number";
550
+ unit?: string | undefined;
551
+ currency?: string | undefined;
552
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
553
+ };
554
+ operator: "eq" | "gt" | "gte" | "lt" | "lte" | "missing" | "ne";
555
+ value: string | number | boolean | null;
556
+ }[];
557
+ }, {
558
+ measure: {
559
+ kind: "count";
560
+ } | {
561
+ kind: "numeric";
562
+ source: "revisionCount" | "timeToFinalizeHours" | {
563
+ id: string;
564
+ label: string;
565
+ description: string;
566
+ expression: string;
567
+ version: string;
568
+ type: "boolean" | "category" | "number";
569
+ unit?: string | undefined;
570
+ currency?: string | undefined;
571
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
572
+ };
573
+ aggregate: "average" | "max" | "median" | "min" | "sum";
574
+ };
575
+ group: {
576
+ kind: "none";
577
+ } | {
578
+ kind: "time";
579
+ interval: "day" | "month" | "week";
580
+ } | {
581
+ kind: "entityType";
582
+ } | {
583
+ kind: "field";
584
+ field: {
585
+ id: string;
586
+ label: string;
587
+ description: string;
588
+ expression: string;
589
+ version: string;
590
+ type: "boolean" | "category" | "number";
591
+ unit?: string | undefined;
592
+ currency?: string | undefined;
593
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
594
+ };
595
+ } | {
596
+ kind: "histogram";
597
+ source: "revisionCount" | "timeToFinalizeHours" | {
598
+ id: string;
599
+ label: string;
600
+ description: string;
601
+ expression: string;
602
+ version: string;
603
+ type: "boolean" | "category" | "number";
604
+ unit?: string | undefined;
605
+ currency?: string | undefined;
606
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
607
+ };
608
+ bins: 5 | 10 | 20;
609
+ };
610
+ visualization: "bar" | "donut" | "line" | "number" | "table";
611
+ range: {
612
+ kind: "all";
613
+ } | {
614
+ kind: "relative";
615
+ days: 7 | 30 | 90 | 365;
616
+ } | {
617
+ kind: "custom";
618
+ from: string;
619
+ to: string;
620
+ };
621
+ rootEntityType: string | null;
622
+ filters: {
623
+ field: {
624
+ id: string;
625
+ label: string;
626
+ description: string;
627
+ expression: string;
628
+ version: string;
629
+ type: "boolean" | "category" | "number";
630
+ unit?: string | undefined;
631
+ currency?: string | undefined;
632
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
633
+ };
634
+ operator: "eq" | "gt" | "gte" | "lt" | "lte" | "missing" | "ne";
635
+ value: string | number | boolean | null;
636
+ }[];
637
+ }>, {
638
+ measure: {
639
+ kind: "count";
640
+ } | {
641
+ kind: "numeric";
642
+ source: "revisionCount" | "timeToFinalizeHours" | {
643
+ id: string;
644
+ label: string;
645
+ description: string;
646
+ expression: string;
647
+ version: string;
648
+ type: "boolean" | "category" | "number";
649
+ unit?: string | undefined;
650
+ currency?: string | undefined;
651
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
652
+ };
653
+ aggregate: "average" | "max" | "median" | "min" | "sum";
654
+ };
655
+ group: {
656
+ kind: "none";
657
+ } | {
658
+ kind: "time";
659
+ interval: "day" | "month" | "week";
660
+ } | {
661
+ kind: "entityType";
662
+ } | {
663
+ kind: "field";
664
+ field: {
665
+ id: string;
666
+ label: string;
667
+ description: string;
668
+ expression: string;
669
+ version: string;
670
+ type: "boolean" | "category" | "number";
671
+ unit?: string | undefined;
672
+ currency?: string | undefined;
673
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
674
+ };
675
+ } | {
676
+ kind: "histogram";
677
+ source: "revisionCount" | "timeToFinalizeHours" | {
678
+ id: string;
679
+ label: string;
680
+ description: string;
681
+ expression: string;
682
+ version: string;
683
+ type: "boolean" | "category" | "number";
684
+ unit?: string | undefined;
685
+ currency?: string | undefined;
686
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
687
+ };
688
+ bins: 5 | 10 | 20;
689
+ };
690
+ visualization: "bar" | "donut" | "line" | "number" | "table";
691
+ range: {
692
+ kind: "all";
693
+ } | {
694
+ kind: "relative";
695
+ days: 7 | 30 | 90 | 365;
696
+ } | {
697
+ kind: "custom";
698
+ from: string;
699
+ to: string;
700
+ };
701
+ rootEntityType: string | null;
702
+ filters: {
703
+ field: {
704
+ id: string;
705
+ label: string;
706
+ description: string;
707
+ expression: string;
708
+ version: string;
709
+ type: "boolean" | "category" | "number";
710
+ unit?: string | undefined;
711
+ currency?: string | undefined;
712
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
713
+ };
714
+ operator: "eq" | "gt" | "gte" | "lt" | "lte" | "missing" | "ne";
715
+ value: string | number | boolean | null;
716
+ }[];
717
+ }, {
718
+ measure: {
719
+ kind: "count";
720
+ } | {
721
+ kind: "numeric";
722
+ source: "revisionCount" | "timeToFinalizeHours" | {
723
+ id: string;
724
+ label: string;
725
+ description: string;
726
+ expression: string;
727
+ version: string;
728
+ type: "boolean" | "category" | "number";
729
+ unit?: string | undefined;
730
+ currency?: string | undefined;
731
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
732
+ };
733
+ aggregate: "average" | "max" | "median" | "min" | "sum";
734
+ };
735
+ group: {
736
+ kind: "none";
737
+ } | {
738
+ kind: "time";
739
+ interval: "day" | "month" | "week";
740
+ } | {
741
+ kind: "entityType";
742
+ } | {
743
+ kind: "field";
744
+ field: {
745
+ id: string;
746
+ label: string;
747
+ description: string;
748
+ expression: string;
749
+ version: string;
750
+ type: "boolean" | "category" | "number";
751
+ unit?: string | undefined;
752
+ currency?: string | undefined;
753
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
754
+ };
755
+ } | {
756
+ kind: "histogram";
757
+ source: "revisionCount" | "timeToFinalizeHours" | {
758
+ id: string;
759
+ label: string;
760
+ description: string;
761
+ expression: string;
762
+ version: string;
763
+ type: "boolean" | "category" | "number";
764
+ unit?: string | undefined;
765
+ currency?: string | undefined;
766
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
767
+ };
768
+ bins: 5 | 10 | 20;
769
+ };
770
+ visualization: "bar" | "donut" | "line" | "number" | "table";
771
+ range: {
772
+ kind: "all";
773
+ } | {
774
+ kind: "relative";
775
+ days: 7 | 30 | 90 | 365;
776
+ } | {
777
+ kind: "custom";
778
+ from: string;
779
+ to: string;
780
+ };
781
+ rootEntityType: string | null;
782
+ filters: {
783
+ field: {
784
+ id: string;
785
+ label: string;
786
+ description: string;
787
+ expression: string;
788
+ version: string;
789
+ type: "boolean" | "category" | "number";
790
+ unit?: string | undefined;
791
+ currency?: string | undefined;
792
+ taxBasis?: "exclusive" | "inclusive" | "unspecified" | undefined;
793
+ };
794
+ operator: "eq" | "gt" | "gte" | "lt" | "lte" | "missing" | "ne";
795
+ value: string | number | boolean | null;
796
+ }[];
797
+ }>;
798
+ export type ConfigurationChartDefinition = z.infer<typeof ConfigurationChartDefinition>;