@transai/connector-runner-microsoft-office365-email 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +11 -0
  3. package/index.cjs +196 -0
  4. package/index.cjs.map +7 -0
  5. package/index.js +196 -0
  6. package/index.js.map +7 -0
  7. package/libs/connector-runner-microsoft-office365-email/src/index.d.ts +1 -0
  8. package/libs/connector-runner-microsoft-office365-email/src/lib/actions-handler.d.ts +8 -0
  9. package/libs/connector-runner-microsoft-office365-email/src/lib/connector-runner-microsoft-office365-email.d.ts +8 -0
  10. package/libs/connector-runner-microsoft-office365-email/src/lib/mail-processor.d.ts +11 -0
  11. package/libs/connector-runner-microsoft-office365-email/src/lib/types.d.ts +14 -0
  12. package/libs/connector-runtime-sdk/src/index.d.ts +3 -0
  13. package/libs/connector-runtime-sdk/src/lib/connector-runtime.d.ts +16 -0
  14. package/libs/connector-runtime-sdk/src/lib/connector-runtime.interface.d.ts +5 -0
  15. package/libs/connector-runtime-sdk/src/lib/sdk/index.d.ts +7 -0
  16. package/libs/connector-runtime-sdk/src/lib/sdk/logger.sdk.interface.d.ts +7 -0
  17. package/libs/connector-runtime-sdk/src/lib/sdk/offset-store.sdk.interface.d.ts +11 -0
  18. package/libs/connector-runtime-sdk/src/lib/sdk/processing.sdk.interface.d.ts +12 -0
  19. package/libs/connector-runtime-sdk/src/lib/sdk/receiver.sdk.interface.d.ts +14 -0
  20. package/libs/connector-runtime-sdk/src/lib/sdk/sdk.interface.d.ts +16 -0
  21. package/libs/connector-runtime-sdk/src/lib/sdk/sender.sdk.interface.d.ts +22 -0
  22. package/libs/connector-runtime-sdk/src/lib/sdk/templating.sdk.interface.d.ts +12 -0
  23. package/libs/logger/src/index.d.ts +1 -0
  24. package/libs/logger/src/lib/logger.d.ts +28 -0
  25. package/libs/microsoft-office365-mail-client/src/index.d.ts +3 -0
  26. package/libs/microsoft-office365-mail-client/src/lib/mail-client.d.ts +12 -0
  27. package/libs/microsoft-office365-mail-client/src/lib/mail-client.interface.d.ts +7 -0
  28. package/libs/microsoft-office365-mail-client/src/lib/office365-client.d.ts +16 -0
  29. package/libs/microsoft-office365-mail-client/src/lib/office365-mail-parser.d.ts +8 -0
  30. package/libs/microsoft-office365-mail-client/src/lib/office365-types.d.ts +73 -0
  31. package/libs/microsoft-office365-mail-client/src/lib/types.d.ts +46 -0
  32. package/libs/types/src/index.d.ts +7 -0
  33. package/libs/types/src/lib/cube-query-config.types.d.ts +20 -0
  34. package/libs/types/src/lib/file-action.types.d.ts +5 -0
  35. package/libs/types/src/lib/http-status-codes.enum.d.ts +63 -0
  36. package/libs/types/src/lib/management-api/action-definition.interface.d.ts +12 -0
  37. package/libs/types/src/lib/management-api/chart.interface.d.ts +9 -0
  38. package/libs/types/src/lib/management-api/connector/connector.interface.d.ts +140 -0
  39. package/libs/types/src/lib/management-api/connector/connectors.interface.d.ts +126 -0
  40. package/libs/types/src/lib/management-api/connector-orchestrator-config.interface.d.ts +14 -0
  41. package/libs/types/src/lib/management-api/cube-dataset.interface.d.ts +93 -0
  42. package/libs/types/src/lib/management-api/dashboard.interface.d.ts +35 -0
  43. package/libs/types/src/lib/management-api/dataset/collection.interface.d.ts +16 -0
  44. package/libs/types/src/lib/management-api/dataset/dataset-record.interface.d.ts +5 -0
  45. package/libs/types/src/lib/management-api/dataset/dataset.interface.d.ts +730 -0
  46. package/libs/types/src/lib/management-api/dataset/datasets.interface.d.ts +710 -0
  47. package/libs/types/src/lib/management-api/dataset/dimension.interface.d.ts +205 -0
  48. package/libs/types/src/lib/management-api/dataset/dimensions.interface.d.ts +186 -0
  49. package/libs/types/src/lib/management-api/dataset/filter-group.interface.d.ts +8 -0
  50. package/libs/types/src/lib/management-api/dataset/filter.interface.d.ts +34 -0
  51. package/libs/types/src/lib/management-api/dataset/filters.interface.d.ts +7 -0
  52. package/libs/types/src/lib/management-api/dataset/measure.interface.d.ts +65 -0
  53. package/libs/types/src/lib/management-api/dataset/measures.interface.d.ts +56 -0
  54. package/libs/types/src/lib/management-api/dataset/meta.interface.d.ts +9 -0
  55. package/libs/types/src/lib/management-api/dataset/pre-aggregate.interface.d.ts +69 -0
  56. package/libs/types/src/lib/management-api/dataset/pre-aggregations.interface.d.ts +54 -0
  57. package/libs/types/src/lib/management-api/dataset/relation.interface.d.ts +40 -0
  58. package/libs/types/src/lib/management-api/dataset/relations.interface.d.ts +36 -0
  59. package/libs/types/src/lib/management-api/dataset/segment.interface.d.ts +45 -0
  60. package/libs/types/src/lib/management-api/dataset/segments.interface.d.ts +43 -0
  61. package/libs/types/src/lib/management-api/dataset/switch.interface.d.ts +70 -0
  62. package/libs/types/src/lib/management-api/dataset/when-item.interface.d.ts +41 -0
  63. package/libs/types/src/lib/management-api/dataset/when-items.interface.d.ts +40 -0
  64. package/libs/types/src/lib/management-api/event-origin.interface.d.ts +22 -0
  65. package/libs/types/src/lib/management-api/index.d.ts +39 -0
  66. package/libs/types/src/lib/management-api/pagination/index.d.ts +1 -0
  67. package/libs/types/src/lib/management-api/pagination/paginated-response.interface.d.ts +17 -0
  68. package/libs/types/src/lib/management-api/semantic-trigger/index.d.ts +5 -0
  69. package/libs/types/src/lib/management-api/semantic-trigger/semantic-trigger-filter.interface.d.ts +20 -0
  70. package/libs/types/src/lib/management-api/semantic-trigger/semantic-trigger-filters.interface.d.ts +18 -0
  71. package/libs/types/src/lib/management-api/semantic-trigger/semantic-trigger-record.interface.d.ts +6 -0
  72. package/libs/types/src/lib/management-api/semantic-trigger/semantic-trigger.interface.d.ts +74 -0
  73. package/libs/types/src/lib/management-api/semantic-trigger/semantic-triggers.interface.d.ts +62 -0
  74. package/libs/types/src/lib/management-api/template-implementation-overrides.interface.d.ts +1152 -0
  75. package/libs/types/src/lib/management-api/template-implementation.interface.d.ts +2860 -0
  76. package/libs/types/src/lib/management-api/template.interface.d.ts +1191 -0
  77. package/libs/types/src/lib/management-api/tenant.interface.d.ts +8 -0
  78. package/libs/types/src/lib/management-api/type-enums.d.ts +85 -0
  79. package/libs/types/src/lib/management-api/workflow/action.interface.d.ts +85 -0
  80. package/libs/types/src/lib/management-api/workflow/index.d.ts +6 -0
  81. package/libs/types/src/lib/management-api/workflow/offset.interface.d.ts +16 -0
  82. package/libs/types/src/lib/management-api/workflow/trigger-types.interface.d.ts +5 -0
  83. package/libs/types/src/lib/management-api/workflow/workflow-definition.interface.d.ts +49 -0
  84. package/libs/types/src/lib/management-api/workflow/workflow-run.d.ts +65 -0
  85. package/libs/types/src/lib/management-api/workflow/workflow.drawing.d.ts +101 -0
  86. package/libs/types/src/lib/message.types.d.ts +59 -0
  87. package/libs/types/src/lib/response.types.d.ts +27 -0
  88. package/libs/types/src/lib/types.d.ts +115 -0
  89. package/package.json +7 -0
@@ -0,0 +1,1152 @@
1
+ import { z } from 'zod';
2
+ import { SemanticTriggersInterface, DatasetsInterface, ConnectorsInterface } from './index';
3
+ export declare const TemplateImplementationOverridesSchema: z.ZodObject<{
4
+ datasets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodObject<{
5
+ name: z.ZodString;
6
+ description: z.ZodString;
7
+ type: z.ZodNativeEnum<typeof import("./type-enums").DatasetTypeEnum>;
8
+ prefix: z.ZodString;
9
+ parent: z.ZodOptional<z.ZodString>;
10
+ sql: z.ZodOptional<z.ZodString>;
11
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>, z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
12
+ collection: z.ZodOptional<z.ZodObject<{
13
+ collection: z.ZodString;
14
+ filters: z.ZodOptional<z.ZodType<import("./index").FiltersInterface, z.ZodTypeDef, import("./index").FiltersInterface>>;
15
+ }, "strip", z.ZodTypeAny, {
16
+ filters?: import("./index").FiltersInterface;
17
+ collection?: string;
18
+ }, {
19
+ filters?: import("./index").FiltersInterface;
20
+ collection?: string;
21
+ }>>;
22
+ dimensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodObject<{
23
+ name: z.ZodString;
24
+ description: z.ZodString;
25
+ type: z.ZodNativeEnum<typeof import("./type-enums").DimensionTypesEnum>;
26
+ format: z.ZodOptional<z.ZodNativeEnum<typeof import("./type-enums").DimensionFormatsEnum>>;
27
+ explode: z.ZodOptional<z.ZodBoolean>;
28
+ index: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
29
+ switch: z.ZodOptional<z.ZodObject<{
30
+ when: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodIntersection<z.ZodEffects<z.ZodObject<{
31
+ sql: z.ZodOptional<z.ZodString>;
32
+ dimension: z.ZodOptional<z.ZodString>;
33
+ operator: z.ZodOptional<z.ZodNativeEnum<typeof import("./type-enums").FilterOperatorsEnum>>;
34
+ value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>, "many">]>>;
35
+ }, "strip", z.ZodTypeAny, {
36
+ value?: string | number | boolean | (string | number | boolean)[];
37
+ dimension?: string;
38
+ operator?: import("./type-enums").FilterOperatorsEnum;
39
+ sql?: string;
40
+ }, {
41
+ value?: string | number | boolean | (string | number | boolean)[];
42
+ dimension?: string;
43
+ operator?: import("./type-enums").FilterOperatorsEnum;
44
+ sql?: string;
45
+ }>, {
46
+ value?: string | number | boolean | (string | number | boolean)[];
47
+ dimension?: string;
48
+ operator?: import("./type-enums").FilterOperatorsEnum;
49
+ sql?: string;
50
+ }, {
51
+ value?: string | number | boolean | (string | number | boolean)[];
52
+ dimension?: string;
53
+ operator?: import("./type-enums").FilterOperatorsEnum;
54
+ sql?: string;
55
+ }>, z.ZodObject<{
56
+ label: z.ZodString;
57
+ description: z.ZodOptional<z.ZodString>;
58
+ }, "strip", z.ZodTypeAny, {
59
+ description?: string;
60
+ label?: string;
61
+ }, {
62
+ description?: string;
63
+ label?: string;
64
+ }>>, z.ZodLiteral<false>]>>;
65
+ else: z.ZodOptional<z.ZodString>;
66
+ segment: z.ZodOptional<z.ZodBoolean>;
67
+ }, "strip", z.ZodTypeAny, {
68
+ when?: Record<string, false | ({
69
+ value?: string | number | boolean | (string | number | boolean)[];
70
+ dimension?: string;
71
+ operator?: import("./type-enums").FilterOperatorsEnum;
72
+ sql?: string;
73
+ } & {
74
+ description?: string;
75
+ label?: string;
76
+ })>;
77
+ else?: string;
78
+ segment?: boolean;
79
+ }, {
80
+ when?: Record<string, false | ({
81
+ value?: string | number | boolean | (string | number | boolean)[];
82
+ dimension?: string;
83
+ operator?: import("./type-enums").FilterOperatorsEnum;
84
+ sql?: string;
85
+ } & {
86
+ description?: string;
87
+ label?: string;
88
+ })>;
89
+ else?: string;
90
+ segment?: boolean;
91
+ }>>;
92
+ field: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
93
+ sql: z.ZodOptional<z.ZodString>;
94
+ public: z.ZodOptional<z.ZodBoolean>;
95
+ primaryKey: z.ZodOptional<z.ZodBoolean>;
96
+ subQuery: z.ZodOptional<z.ZodBoolean>;
97
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>, z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
98
+ }, "strip", z.ZodTypeAny, {
99
+ type?: import("./type-enums").DimensionTypesEnum;
100
+ name?: string;
101
+ description?: string;
102
+ sql?: string;
103
+ format?: import("./type-enums").DimensionFormatsEnum;
104
+ explode?: boolean;
105
+ index?: string | boolean;
106
+ switch?: {
107
+ when?: Record<string, false | ({
108
+ value?: string | number | boolean | (string | number | boolean)[];
109
+ dimension?: string;
110
+ operator?: import("./type-enums").FilterOperatorsEnum;
111
+ sql?: string;
112
+ } & {
113
+ description?: string;
114
+ label?: string;
115
+ })>;
116
+ else?: string;
117
+ segment?: boolean;
118
+ };
119
+ field?: string | string[];
120
+ public?: boolean;
121
+ primaryKey?: boolean;
122
+ subQuery?: boolean;
123
+ meta?: Record<string, string | number | boolean | Record<string, Record<string, string>>>;
124
+ }, {
125
+ type?: import("./type-enums").DimensionTypesEnum;
126
+ name?: string;
127
+ description?: string;
128
+ sql?: string;
129
+ format?: import("./type-enums").DimensionFormatsEnum;
130
+ explode?: boolean;
131
+ index?: string | boolean;
132
+ switch?: {
133
+ when?: Record<string, false | ({
134
+ value?: string | number | boolean | (string | number | boolean)[];
135
+ dimension?: string;
136
+ operator?: import("./type-enums").FilterOperatorsEnum;
137
+ sql?: string;
138
+ } & {
139
+ description?: string;
140
+ label?: string;
141
+ })>;
142
+ else?: string;
143
+ segment?: boolean;
144
+ };
145
+ field?: string | string[];
146
+ public?: boolean;
147
+ primaryKey?: boolean;
148
+ subQuery?: boolean;
149
+ meta?: Record<string, string | number | boolean | Record<string, Record<string, string>>>;
150
+ }>, {
151
+ type?: import("./type-enums").DimensionTypesEnum;
152
+ name?: string;
153
+ description?: string;
154
+ sql?: string;
155
+ format?: import("./type-enums").DimensionFormatsEnum;
156
+ explode?: boolean;
157
+ index?: string | boolean;
158
+ switch?: {
159
+ when?: Record<string, false | ({
160
+ value?: string | number | boolean | (string | number | boolean)[];
161
+ dimension?: string;
162
+ operator?: import("./type-enums").FilterOperatorsEnum;
163
+ sql?: string;
164
+ } & {
165
+ description?: string;
166
+ label?: string;
167
+ })>;
168
+ else?: string;
169
+ segment?: boolean;
170
+ };
171
+ field?: string | string[];
172
+ public?: boolean;
173
+ primaryKey?: boolean;
174
+ subQuery?: boolean;
175
+ meta?: Record<string, string | number | boolean | Record<string, Record<string, string>>>;
176
+ }, {
177
+ type?: import("./type-enums").DimensionTypesEnum;
178
+ name?: string;
179
+ description?: string;
180
+ sql?: string;
181
+ format?: import("./type-enums").DimensionFormatsEnum;
182
+ explode?: boolean;
183
+ index?: string | boolean;
184
+ switch?: {
185
+ when?: Record<string, false | ({
186
+ value?: string | number | boolean | (string | number | boolean)[];
187
+ dimension?: string;
188
+ operator?: import("./type-enums").FilterOperatorsEnum;
189
+ sql?: string;
190
+ } & {
191
+ description?: string;
192
+ label?: string;
193
+ })>;
194
+ else?: string;
195
+ segment?: boolean;
196
+ };
197
+ field?: string | string[];
198
+ public?: boolean;
199
+ primaryKey?: boolean;
200
+ subQuery?: boolean;
201
+ meta?: Record<string, string | number | boolean | Record<string, Record<string, string>>>;
202
+ }>, z.ZodLiteral<false>]>>>;
203
+ segments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodIntersection<z.ZodEffects<z.ZodObject<{
204
+ sql: z.ZodOptional<z.ZodString>;
205
+ dimension: z.ZodOptional<z.ZodString>;
206
+ operator: z.ZodOptional<z.ZodNativeEnum<typeof import("./type-enums").FilterOperatorsEnum>>;
207
+ value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>, "many">]>>;
208
+ }, "strip", z.ZodTypeAny, {
209
+ value?: string | number | boolean | (string | number | boolean)[];
210
+ dimension?: string;
211
+ operator?: import("./type-enums").FilterOperatorsEnum;
212
+ sql?: string;
213
+ }, {
214
+ value?: string | number | boolean | (string | number | boolean)[];
215
+ dimension?: string;
216
+ operator?: import("./type-enums").FilterOperatorsEnum;
217
+ sql?: string;
218
+ }>, {
219
+ value?: string | number | boolean | (string | number | boolean)[];
220
+ dimension?: string;
221
+ operator?: import("./type-enums").FilterOperatorsEnum;
222
+ sql?: string;
223
+ }, {
224
+ value?: string | number | boolean | (string | number | boolean)[];
225
+ dimension?: string;
226
+ operator?: import("./type-enums").FilterOperatorsEnum;
227
+ sql?: string;
228
+ }>, z.ZodObject<{
229
+ name: z.ZodOptional<z.ZodString>;
230
+ description: z.ZodOptional<z.ZodString>;
231
+ public: z.ZodOptional<z.ZodBoolean>;
232
+ }, "strip", z.ZodTypeAny, {
233
+ name?: string;
234
+ description?: string;
235
+ public?: boolean;
236
+ }, {
237
+ name?: string;
238
+ description?: string;
239
+ public?: boolean;
240
+ }>>, z.ZodLiteral<false>]>>>;
241
+ relations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodObject<{
242
+ type: z.ZodNativeEnum<typeof import("./type-enums").RelationTypesEnum>;
243
+ dimension: z.ZodOptional<z.ZodString>;
244
+ targetDataset: z.ZodString;
245
+ targetDimension: z.ZodOptional<z.ZodString>;
246
+ sql: z.ZodOptional<z.ZodString>;
247
+ }, "strip", z.ZodTypeAny, {
248
+ type?: import("./type-enums").RelationTypesEnum;
249
+ dimension?: string;
250
+ sql?: string;
251
+ targetDataset?: string;
252
+ targetDimension?: string;
253
+ }, {
254
+ type?: import("./type-enums").RelationTypesEnum;
255
+ dimension?: string;
256
+ sql?: string;
257
+ targetDataset?: string;
258
+ targetDimension?: string;
259
+ }>, {
260
+ type?: import("./type-enums").RelationTypesEnum;
261
+ dimension?: string;
262
+ sql?: string;
263
+ targetDataset?: string;
264
+ targetDimension?: string;
265
+ }, {
266
+ type?: import("./type-enums").RelationTypesEnum;
267
+ dimension?: string;
268
+ sql?: string;
269
+ targetDataset?: string;
270
+ targetDimension?: string;
271
+ }>, z.ZodLiteral<false>]>>>;
272
+ measures: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodObject<{
273
+ name: z.ZodString;
274
+ description: z.ZodOptional<z.ZodString>;
275
+ type: z.ZodNativeEnum<typeof import("./type-enums").MeasureTypesEnum>;
276
+ format: z.ZodOptional<z.ZodNativeEnum<typeof import("./type-enums").MeasureFormatsEnum>>;
277
+ index: z.ZodOptional<z.ZodString>;
278
+ sql: z.ZodOptional<z.ZodString>;
279
+ dimension: z.ZodOptional<z.ZodString>;
280
+ public: z.ZodOptional<z.ZodBoolean>;
281
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>, z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
282
+ }, "strip", z.ZodTypeAny, {
283
+ type?: import("./type-enums").MeasureTypesEnum;
284
+ name?: string;
285
+ description?: string;
286
+ dimension?: string;
287
+ sql?: string;
288
+ format?: import("./type-enums").MeasureFormatsEnum;
289
+ index?: string;
290
+ public?: boolean;
291
+ meta?: Record<string, string | number | boolean | Record<string, Record<string, string>>>;
292
+ }, {
293
+ type?: import("./type-enums").MeasureTypesEnum;
294
+ name?: string;
295
+ description?: string;
296
+ dimension?: string;
297
+ sql?: string;
298
+ format?: import("./type-enums").MeasureFormatsEnum;
299
+ index?: string;
300
+ public?: boolean;
301
+ meta?: Record<string, string | number | boolean | Record<string, Record<string, string>>>;
302
+ }>, {
303
+ type?: import("./type-enums").MeasureTypesEnum;
304
+ name?: string;
305
+ description?: string;
306
+ dimension?: string;
307
+ sql?: string;
308
+ format?: import("./type-enums").MeasureFormatsEnum;
309
+ index?: string;
310
+ public?: boolean;
311
+ meta?: Record<string, string | number | boolean | Record<string, Record<string, string>>>;
312
+ }, {
313
+ type?: import("./type-enums").MeasureTypesEnum;
314
+ name?: string;
315
+ description?: string;
316
+ dimension?: string;
317
+ sql?: string;
318
+ format?: import("./type-enums").MeasureFormatsEnum;
319
+ index?: string;
320
+ public?: boolean;
321
+ meta?: Record<string, string | number | boolean | Record<string, Record<string, string>>>;
322
+ }>, z.ZodLiteral<false>]>>>;
323
+ preAggregations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
324
+ type: z.ZodOptional<z.ZodEnum<["rollup", "original_sql", "rollup_join"]>>;
325
+ measures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
326
+ dimensions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
327
+ segments: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
328
+ timeDimension: z.ZodOptional<z.ZodString>;
329
+ granularity: z.ZodOptional<z.ZodString>;
330
+ partitionGranularity: z.ZodOptional<z.ZodString>;
331
+ rollups: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
332
+ refreshKeySql: z.ZodOptional<z.ZodString>;
333
+ refreshKeyEvery: z.ZodOptional<z.ZodString>;
334
+ refreshKeyIncremental: z.ZodOptional<z.ZodBoolean>;
335
+ refreshKeyUpdateWindow: z.ZodOptional<z.ZodString>;
336
+ buildRangeStartSql: z.ZodOptional<z.ZodString>;
337
+ buildRangeEndSql: z.ZodOptional<z.ZodString>;
338
+ lambda: z.ZodOptional<z.ZodBoolean>;
339
+ }, "strip", z.ZodTypeAny, {
340
+ type?: "rollup" | "original_sql" | "rollup_join";
341
+ dimensions?: string[];
342
+ measures?: string[];
343
+ segments?: string[];
344
+ timeDimension?: string;
345
+ granularity?: string;
346
+ partitionGranularity?: string;
347
+ rollups?: string[];
348
+ refreshKeySql?: string;
349
+ refreshKeyEvery?: string;
350
+ refreshKeyIncremental?: boolean;
351
+ refreshKeyUpdateWindow?: string;
352
+ buildRangeStartSql?: string;
353
+ buildRangeEndSql?: string;
354
+ lambda?: boolean;
355
+ }, {
356
+ type?: "rollup" | "original_sql" | "rollup_join";
357
+ dimensions?: string[];
358
+ measures?: string[];
359
+ segments?: string[];
360
+ timeDimension?: string;
361
+ granularity?: string;
362
+ partitionGranularity?: string;
363
+ rollups?: string[];
364
+ refreshKeySql?: string;
365
+ refreshKeyEvery?: string;
366
+ refreshKeyIncremental?: boolean;
367
+ refreshKeyUpdateWindow?: string;
368
+ buildRangeStartSql?: string;
369
+ buildRangeEndSql?: string;
370
+ lambda?: boolean;
371
+ }>, z.ZodLiteral<false>]>>>;
372
+ }, "strip", z.ZodTypeAny, {
373
+ type?: import("./type-enums").DatasetTypeEnum;
374
+ name?: string;
375
+ description?: string;
376
+ dimensions?: Record<string, false | {
377
+ type?: import("./type-enums").DimensionTypesEnum;
378
+ name?: string;
379
+ description?: string;
380
+ sql?: string;
381
+ format?: import("./type-enums").DimensionFormatsEnum;
382
+ explode?: boolean;
383
+ index?: string | boolean;
384
+ switch?: {
385
+ when?: Record<string, false | ({
386
+ value?: string | number | boolean | (string | number | boolean)[];
387
+ dimension?: string;
388
+ operator?: import("./type-enums").FilterOperatorsEnum;
389
+ sql?: string;
390
+ } & {
391
+ description?: string;
392
+ label?: string;
393
+ })>;
394
+ else?: string;
395
+ segment?: boolean;
396
+ };
397
+ field?: string | string[];
398
+ public?: boolean;
399
+ primaryKey?: boolean;
400
+ subQuery?: boolean;
401
+ meta?: Record<string, string | number | boolean | Record<string, Record<string, string>>>;
402
+ }>;
403
+ sql?: string;
404
+ collection?: {
405
+ filters?: import("./index").FiltersInterface;
406
+ collection?: string;
407
+ };
408
+ meta?: Record<string, string | number | boolean | Record<string, Record<string, string>>>;
409
+ measures?: Record<string, false | {
410
+ type?: import("./type-enums").MeasureTypesEnum;
411
+ name?: string;
412
+ description?: string;
413
+ dimension?: string;
414
+ sql?: string;
415
+ format?: import("./type-enums").MeasureFormatsEnum;
416
+ index?: string;
417
+ public?: boolean;
418
+ meta?: Record<string, string | number | boolean | Record<string, Record<string, string>>>;
419
+ }>;
420
+ segments?: Record<string, false | ({
421
+ value?: string | number | boolean | (string | number | boolean)[];
422
+ dimension?: string;
423
+ operator?: import("./type-enums").FilterOperatorsEnum;
424
+ sql?: string;
425
+ } & {
426
+ name?: string;
427
+ description?: string;
428
+ public?: boolean;
429
+ })>;
430
+ prefix?: string;
431
+ parent?: string;
432
+ relations?: Record<string, false | {
433
+ type?: import("./type-enums").RelationTypesEnum;
434
+ dimension?: string;
435
+ sql?: string;
436
+ targetDataset?: string;
437
+ targetDimension?: string;
438
+ }>;
439
+ preAggregations?: Record<string, false | {
440
+ type?: "rollup" | "original_sql" | "rollup_join";
441
+ dimensions?: string[];
442
+ measures?: string[];
443
+ segments?: string[];
444
+ timeDimension?: string;
445
+ granularity?: string;
446
+ partitionGranularity?: string;
447
+ rollups?: string[];
448
+ refreshKeySql?: string;
449
+ refreshKeyEvery?: string;
450
+ refreshKeyIncremental?: boolean;
451
+ refreshKeyUpdateWindow?: string;
452
+ buildRangeStartSql?: string;
453
+ buildRangeEndSql?: string;
454
+ lambda?: boolean;
455
+ }>;
456
+ }, {
457
+ type?: import("./type-enums").DatasetTypeEnum;
458
+ name?: string;
459
+ description?: string;
460
+ dimensions?: Record<string, false | {
461
+ type?: import("./type-enums").DimensionTypesEnum;
462
+ name?: string;
463
+ description?: string;
464
+ sql?: string;
465
+ format?: import("./type-enums").DimensionFormatsEnum;
466
+ explode?: boolean;
467
+ index?: string | boolean;
468
+ switch?: {
469
+ when?: Record<string, false | ({
470
+ value?: string | number | boolean | (string | number | boolean)[];
471
+ dimension?: string;
472
+ operator?: import("./type-enums").FilterOperatorsEnum;
473
+ sql?: string;
474
+ } & {
475
+ description?: string;
476
+ label?: string;
477
+ })>;
478
+ else?: string;
479
+ segment?: boolean;
480
+ };
481
+ field?: string | string[];
482
+ public?: boolean;
483
+ primaryKey?: boolean;
484
+ subQuery?: boolean;
485
+ meta?: Record<string, string | number | boolean | Record<string, Record<string, string>>>;
486
+ }>;
487
+ sql?: string;
488
+ collection?: {
489
+ filters?: import("./index").FiltersInterface;
490
+ collection?: string;
491
+ };
492
+ meta?: Record<string, string | number | boolean | Record<string, Record<string, string>>>;
493
+ measures?: Record<string, false | {
494
+ type?: import("./type-enums").MeasureTypesEnum;
495
+ name?: string;
496
+ description?: string;
497
+ dimension?: string;
498
+ sql?: string;
499
+ format?: import("./type-enums").MeasureFormatsEnum;
500
+ index?: string;
501
+ public?: boolean;
502
+ meta?: Record<string, string | number | boolean | Record<string, Record<string, string>>>;
503
+ }>;
504
+ segments?: Record<string, false | ({
505
+ value?: string | number | boolean | (string | number | boolean)[];
506
+ dimension?: string;
507
+ operator?: import("./type-enums").FilterOperatorsEnum;
508
+ sql?: string;
509
+ } & {
510
+ name?: string;
511
+ description?: string;
512
+ public?: boolean;
513
+ })>;
514
+ prefix?: string;
515
+ parent?: string;
516
+ relations?: Record<string, false | {
517
+ type?: import("./type-enums").RelationTypesEnum;
518
+ dimension?: string;
519
+ sql?: string;
520
+ targetDataset?: string;
521
+ targetDimension?: string;
522
+ }>;
523
+ preAggregations?: Record<string, false | {
524
+ type?: "rollup" | "original_sql" | "rollup_join";
525
+ dimensions?: string[];
526
+ measures?: string[];
527
+ segments?: string[];
528
+ timeDimension?: string;
529
+ granularity?: string;
530
+ partitionGranularity?: string;
531
+ rollups?: string[];
532
+ refreshKeySql?: string;
533
+ refreshKeyEvery?: string;
534
+ refreshKeyIncremental?: boolean;
535
+ refreshKeyUpdateWindow?: string;
536
+ buildRangeStartSql?: string;
537
+ buildRangeEndSql?: string;
538
+ lambda?: boolean;
539
+ }>;
540
+ }>, {
541
+ type?: import("./type-enums").DatasetTypeEnum;
542
+ name?: string;
543
+ description?: string;
544
+ dimensions?: Record<string, false | {
545
+ type?: import("./type-enums").DimensionTypesEnum;
546
+ name?: string;
547
+ description?: string;
548
+ sql?: string;
549
+ format?: import("./type-enums").DimensionFormatsEnum;
550
+ explode?: boolean;
551
+ index?: string | boolean;
552
+ switch?: {
553
+ when?: Record<string, false | ({
554
+ value?: string | number | boolean | (string | number | boolean)[];
555
+ dimension?: string;
556
+ operator?: import("./type-enums").FilterOperatorsEnum;
557
+ sql?: string;
558
+ } & {
559
+ description?: string;
560
+ label?: string;
561
+ })>;
562
+ else?: string;
563
+ segment?: boolean;
564
+ };
565
+ field?: string | string[];
566
+ public?: boolean;
567
+ primaryKey?: boolean;
568
+ subQuery?: boolean;
569
+ meta?: Record<string, string | number | boolean | Record<string, Record<string, string>>>;
570
+ }>;
571
+ sql?: string;
572
+ collection?: {
573
+ filters?: import("./index").FiltersInterface;
574
+ collection?: string;
575
+ };
576
+ meta?: Record<string, string | number | boolean | Record<string, Record<string, string>>>;
577
+ measures?: Record<string, false | {
578
+ type?: import("./type-enums").MeasureTypesEnum;
579
+ name?: string;
580
+ description?: string;
581
+ dimension?: string;
582
+ sql?: string;
583
+ format?: import("./type-enums").MeasureFormatsEnum;
584
+ index?: string;
585
+ public?: boolean;
586
+ meta?: Record<string, string | number | boolean | Record<string, Record<string, string>>>;
587
+ }>;
588
+ segments?: Record<string, false | ({
589
+ value?: string | number | boolean | (string | number | boolean)[];
590
+ dimension?: string;
591
+ operator?: import("./type-enums").FilterOperatorsEnum;
592
+ sql?: string;
593
+ } & {
594
+ name?: string;
595
+ description?: string;
596
+ public?: boolean;
597
+ })>;
598
+ prefix?: string;
599
+ parent?: string;
600
+ relations?: Record<string, false | {
601
+ type?: import("./type-enums").RelationTypesEnum;
602
+ dimension?: string;
603
+ sql?: string;
604
+ targetDataset?: string;
605
+ targetDimension?: string;
606
+ }>;
607
+ preAggregations?: Record<string, false | {
608
+ type?: "rollup" | "original_sql" | "rollup_join";
609
+ dimensions?: string[];
610
+ measures?: string[];
611
+ segments?: string[];
612
+ timeDimension?: string;
613
+ granularity?: string;
614
+ partitionGranularity?: string;
615
+ rollups?: string[];
616
+ refreshKeySql?: string;
617
+ refreshKeyEvery?: string;
618
+ refreshKeyIncremental?: boolean;
619
+ refreshKeyUpdateWindow?: string;
620
+ buildRangeStartSql?: string;
621
+ buildRangeEndSql?: string;
622
+ lambda?: boolean;
623
+ }>;
624
+ }, {
625
+ type?: import("./type-enums").DatasetTypeEnum;
626
+ name?: string;
627
+ description?: string;
628
+ dimensions?: Record<string, false | {
629
+ type?: import("./type-enums").DimensionTypesEnum;
630
+ name?: string;
631
+ description?: string;
632
+ sql?: string;
633
+ format?: import("./type-enums").DimensionFormatsEnum;
634
+ explode?: boolean;
635
+ index?: string | boolean;
636
+ switch?: {
637
+ when?: Record<string, false | ({
638
+ value?: string | number | boolean | (string | number | boolean)[];
639
+ dimension?: string;
640
+ operator?: import("./type-enums").FilterOperatorsEnum;
641
+ sql?: string;
642
+ } & {
643
+ description?: string;
644
+ label?: string;
645
+ })>;
646
+ else?: string;
647
+ segment?: boolean;
648
+ };
649
+ field?: string | string[];
650
+ public?: boolean;
651
+ primaryKey?: boolean;
652
+ subQuery?: boolean;
653
+ meta?: Record<string, string | number | boolean | Record<string, Record<string, string>>>;
654
+ }>;
655
+ sql?: string;
656
+ collection?: {
657
+ filters?: import("./index").FiltersInterface;
658
+ collection?: string;
659
+ };
660
+ meta?: Record<string, string | number | boolean | Record<string, Record<string, string>>>;
661
+ measures?: Record<string, false | {
662
+ type?: import("./type-enums").MeasureTypesEnum;
663
+ name?: string;
664
+ description?: string;
665
+ dimension?: string;
666
+ sql?: string;
667
+ format?: import("./type-enums").MeasureFormatsEnum;
668
+ index?: string;
669
+ public?: boolean;
670
+ meta?: Record<string, string | number | boolean | Record<string, Record<string, string>>>;
671
+ }>;
672
+ segments?: Record<string, false | ({
673
+ value?: string | number | boolean | (string | number | boolean)[];
674
+ dimension?: string;
675
+ operator?: import("./type-enums").FilterOperatorsEnum;
676
+ sql?: string;
677
+ } & {
678
+ name?: string;
679
+ description?: string;
680
+ public?: boolean;
681
+ })>;
682
+ prefix?: string;
683
+ parent?: string;
684
+ relations?: Record<string, false | {
685
+ type?: import("./type-enums").RelationTypesEnum;
686
+ dimension?: string;
687
+ sql?: string;
688
+ targetDataset?: string;
689
+ targetDimension?: string;
690
+ }>;
691
+ preAggregations?: Record<string, false | {
692
+ type?: "rollup" | "original_sql" | "rollup_join";
693
+ dimensions?: string[];
694
+ measures?: string[];
695
+ segments?: string[];
696
+ timeDimension?: string;
697
+ granularity?: string;
698
+ partitionGranularity?: string;
699
+ rollups?: string[];
700
+ refreshKeySql?: string;
701
+ refreshKeyEvery?: string;
702
+ refreshKeyIncremental?: boolean;
703
+ refreshKeyUpdateWindow?: string;
704
+ buildRangeStartSql?: string;
705
+ buildRangeEndSql?: string;
706
+ lambda?: boolean;
707
+ }>;
708
+ }>, z.ZodBoolean]>>>;
709
+ semanticTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
710
+ name: z.ZodOptional<z.ZodString>;
711
+ description: z.ZodOptional<z.ZodString>;
712
+ eventType: z.ZodString;
713
+ dataset: z.ZodString;
714
+ dimensions: z.ZodArray<z.ZodString, "many">;
715
+ limit: z.ZodOptional<z.ZodNumber>;
716
+ filters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
717
+ dimension: z.ZodString;
718
+ operator: z.ZodNativeEnum<typeof import("./type-enums").SemanticTriggerFilterOperatorsEnum>;
719
+ values: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>, "many">]>;
720
+ }, "strip", z.ZodTypeAny, {
721
+ values?: string | number | boolean | (string | number | boolean)[];
722
+ dimension?: string;
723
+ operator?: import("./type-enums").SemanticTriggerFilterOperatorsEnum;
724
+ }, {
725
+ values?: string | number | boolean | (string | number | boolean)[];
726
+ dimension?: string;
727
+ operator?: import("./type-enums").SemanticTriggerFilterOperatorsEnum;
728
+ }>, z.ZodLiteral<false>]>>>;
729
+ cron: z.ZodOptional<z.ZodNullable<z.ZodString>>;
730
+ tz: z.ZodOptional<z.ZodNullable<z.ZodString>>;
731
+ incrementalField: z.ZodOptional<z.ZodString>;
732
+ ungrouped: z.ZodOptional<z.ZodBoolean>;
733
+ }, "strip", z.ZodTypeAny, {
734
+ name?: string;
735
+ description?: string;
736
+ eventType?: string;
737
+ dataset?: string;
738
+ dimensions?: string[];
739
+ limit?: number;
740
+ filters?: Record<string, false | {
741
+ values?: string | number | boolean | (string | number | boolean)[];
742
+ dimension?: string;
743
+ operator?: import("./type-enums").SemanticTriggerFilterOperatorsEnum;
744
+ }>;
745
+ cron?: string;
746
+ tz?: string;
747
+ incrementalField?: string;
748
+ ungrouped?: boolean;
749
+ }, {
750
+ name?: string;
751
+ description?: string;
752
+ eventType?: string;
753
+ dataset?: string;
754
+ dimensions?: string[];
755
+ limit?: number;
756
+ filters?: Record<string, false | {
757
+ values?: string | number | boolean | (string | number | boolean)[];
758
+ dimension?: string;
759
+ operator?: import("./type-enums").SemanticTriggerFilterOperatorsEnum;
760
+ }>;
761
+ cron?: string;
762
+ tz?: string;
763
+ incrementalField?: string;
764
+ ungrouped?: boolean;
765
+ }>, z.ZodBoolean]>>>;
766
+ connectors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
767
+ identifier: z.ZodString;
768
+ connectorType: z.ZodNativeEnum<typeof import("../types").ConfiguredConnectorTypes>;
769
+ name: z.ZodString;
770
+ location: z.ZodString;
771
+ config: z.ZodRecord<z.ZodString, z.ZodAny>;
772
+ enabled: z.ZodBoolean;
773
+ actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
774
+ identifier: z.ZodString;
775
+ version: z.ZodString;
776
+ name: z.ZodString;
777
+ description: z.ZodOptional<z.ZodString>;
778
+ config: z.ZodRecord<z.ZodString, z.ZodAny>;
779
+ inputParameters: z.ZodArray<z.ZodObject<{
780
+ name: z.ZodString;
781
+ type: z.ZodEnum<["string", "number", "boolean", "array"]>;
782
+ required: z.ZodOptional<z.ZodBoolean>;
783
+ items: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
784
+ }, "strip", z.ZodTypeAny, {
785
+ type?: "string" | "number" | "boolean" | "array";
786
+ name?: string;
787
+ required?: boolean;
788
+ items?: any[];
789
+ }, {
790
+ type?: "string" | "number" | "boolean" | "array";
791
+ name?: string;
792
+ required?: boolean;
793
+ items?: any[];
794
+ }>, "many">;
795
+ outputParameters: z.ZodAny;
796
+ mode: z.ZodOptional<z.ZodNativeEnum<typeof import("./type-enums").ConnectorOrigin>>;
797
+ createdAt: z.ZodOptional<z.ZodDate>;
798
+ updatedAt: z.ZodOptional<z.ZodDate>;
799
+ }, "strip", z.ZodTypeAny, {
800
+ mode?: import("./type-enums").ConnectorOrigin;
801
+ createdAt?: Date;
802
+ identifier?: string;
803
+ version?: string;
804
+ name?: string;
805
+ description?: string;
806
+ config?: Record<string, any>;
807
+ inputParameters?: {
808
+ type?: "string" | "number" | "boolean" | "array";
809
+ name?: string;
810
+ required?: boolean;
811
+ items?: any[];
812
+ }[];
813
+ outputParameters?: any;
814
+ updatedAt?: Date;
815
+ }, {
816
+ mode?: import("./type-enums").ConnectorOrigin;
817
+ createdAt?: Date;
818
+ identifier?: string;
819
+ version?: string;
820
+ name?: string;
821
+ description?: string;
822
+ config?: Record<string, any>;
823
+ inputParameters?: {
824
+ type?: "string" | "number" | "boolean" | "array";
825
+ name?: string;
826
+ required?: boolean;
827
+ items?: any[];
828
+ }[];
829
+ outputParameters?: any;
830
+ updatedAt?: Date;
831
+ }>, "many">>;
832
+ createdAt: z.ZodOptional<z.ZodDate>;
833
+ updatedAt: z.ZodOptional<z.ZodDate>;
834
+ }, "strip", z.ZodTypeAny, {
835
+ createdAt?: Date;
836
+ identifier?: string;
837
+ name?: string;
838
+ config?: Record<string, any>;
839
+ updatedAt?: Date;
840
+ connectorType?: import("../types").ConfiguredConnectorTypes;
841
+ location?: string;
842
+ enabled?: boolean;
843
+ actions?: {
844
+ mode?: import("./type-enums").ConnectorOrigin;
845
+ createdAt?: Date;
846
+ identifier?: string;
847
+ version?: string;
848
+ name?: string;
849
+ description?: string;
850
+ config?: Record<string, any>;
851
+ inputParameters?: {
852
+ type?: "string" | "number" | "boolean" | "array";
853
+ name?: string;
854
+ required?: boolean;
855
+ items?: any[];
856
+ }[];
857
+ outputParameters?: any;
858
+ updatedAt?: Date;
859
+ }[];
860
+ }, {
861
+ createdAt?: Date;
862
+ identifier?: string;
863
+ name?: string;
864
+ config?: Record<string, any>;
865
+ updatedAt?: Date;
866
+ connectorType?: import("../types").ConfiguredConnectorTypes;
867
+ location?: string;
868
+ enabled?: boolean;
869
+ actions?: {
870
+ mode?: import("./type-enums").ConnectorOrigin;
871
+ createdAt?: Date;
872
+ identifier?: string;
873
+ version?: string;
874
+ name?: string;
875
+ description?: string;
876
+ config?: Record<string, any>;
877
+ inputParameters?: {
878
+ type?: "string" | "number" | "boolean" | "array";
879
+ name?: string;
880
+ required?: boolean;
881
+ items?: any[];
882
+ }[];
883
+ outputParameters?: any;
884
+ updatedAt?: Date;
885
+ }[];
886
+ }>, z.ZodBoolean]>>>;
887
+ }, "strip", z.ZodTypeAny, {
888
+ datasets?: Record<string, boolean | {
889
+ type?: import("./type-enums").DatasetTypeEnum;
890
+ name?: string;
891
+ description?: string;
892
+ dimensions?: Record<string, false | {
893
+ type?: import("./type-enums").DimensionTypesEnum;
894
+ name?: string;
895
+ description?: string;
896
+ sql?: string;
897
+ format?: import("./type-enums").DimensionFormatsEnum;
898
+ explode?: boolean;
899
+ index?: string | boolean;
900
+ switch?: {
901
+ when?: Record<string, false | ({
902
+ value?: string | number | boolean | (string | number | boolean)[];
903
+ dimension?: string;
904
+ operator?: import("./type-enums").FilterOperatorsEnum;
905
+ sql?: string;
906
+ } & {
907
+ description?: string;
908
+ label?: string;
909
+ })>;
910
+ else?: string;
911
+ segment?: boolean;
912
+ };
913
+ field?: string | string[];
914
+ public?: boolean;
915
+ primaryKey?: boolean;
916
+ subQuery?: boolean;
917
+ meta?: Record<string, string | number | boolean | Record<string, Record<string, string>>>;
918
+ }>;
919
+ sql?: string;
920
+ collection?: {
921
+ filters?: import("./index").FiltersInterface;
922
+ collection?: string;
923
+ };
924
+ meta?: Record<string, string | number | boolean | Record<string, Record<string, string>>>;
925
+ measures?: Record<string, false | {
926
+ type?: import("./type-enums").MeasureTypesEnum;
927
+ name?: string;
928
+ description?: string;
929
+ dimension?: string;
930
+ sql?: string;
931
+ format?: import("./type-enums").MeasureFormatsEnum;
932
+ index?: string;
933
+ public?: boolean;
934
+ meta?: Record<string, string | number | boolean | Record<string, Record<string, string>>>;
935
+ }>;
936
+ segments?: Record<string, false | ({
937
+ value?: string | number | boolean | (string | number | boolean)[];
938
+ dimension?: string;
939
+ operator?: import("./type-enums").FilterOperatorsEnum;
940
+ sql?: string;
941
+ } & {
942
+ name?: string;
943
+ description?: string;
944
+ public?: boolean;
945
+ })>;
946
+ prefix?: string;
947
+ parent?: string;
948
+ relations?: Record<string, false | {
949
+ type?: import("./type-enums").RelationTypesEnum;
950
+ dimension?: string;
951
+ sql?: string;
952
+ targetDataset?: string;
953
+ targetDimension?: string;
954
+ }>;
955
+ preAggregations?: Record<string, false | {
956
+ type?: "rollup" | "original_sql" | "rollup_join";
957
+ dimensions?: string[];
958
+ measures?: string[];
959
+ segments?: string[];
960
+ timeDimension?: string;
961
+ granularity?: string;
962
+ partitionGranularity?: string;
963
+ rollups?: string[];
964
+ refreshKeySql?: string;
965
+ refreshKeyEvery?: string;
966
+ refreshKeyIncremental?: boolean;
967
+ refreshKeyUpdateWindow?: string;
968
+ buildRangeStartSql?: string;
969
+ buildRangeEndSql?: string;
970
+ lambda?: boolean;
971
+ }>;
972
+ }>;
973
+ semanticTriggers?: Record<string, boolean | {
974
+ name?: string;
975
+ description?: string;
976
+ eventType?: string;
977
+ dataset?: string;
978
+ dimensions?: string[];
979
+ limit?: number;
980
+ filters?: Record<string, false | {
981
+ values?: string | number | boolean | (string | number | boolean)[];
982
+ dimension?: string;
983
+ operator?: import("./type-enums").SemanticTriggerFilterOperatorsEnum;
984
+ }>;
985
+ cron?: string;
986
+ tz?: string;
987
+ incrementalField?: string;
988
+ ungrouped?: boolean;
989
+ }>;
990
+ connectors?: Record<string, boolean | {
991
+ createdAt?: Date;
992
+ identifier?: string;
993
+ name?: string;
994
+ config?: Record<string, any>;
995
+ updatedAt?: Date;
996
+ connectorType?: import("../types").ConfiguredConnectorTypes;
997
+ location?: string;
998
+ enabled?: boolean;
999
+ actions?: {
1000
+ mode?: import("./type-enums").ConnectorOrigin;
1001
+ createdAt?: Date;
1002
+ identifier?: string;
1003
+ version?: string;
1004
+ name?: string;
1005
+ description?: string;
1006
+ config?: Record<string, any>;
1007
+ inputParameters?: {
1008
+ type?: "string" | "number" | "boolean" | "array";
1009
+ name?: string;
1010
+ required?: boolean;
1011
+ items?: any[];
1012
+ }[];
1013
+ outputParameters?: any;
1014
+ updatedAt?: Date;
1015
+ }[];
1016
+ }>;
1017
+ }, {
1018
+ datasets?: Record<string, boolean | {
1019
+ type?: import("./type-enums").DatasetTypeEnum;
1020
+ name?: string;
1021
+ description?: string;
1022
+ dimensions?: Record<string, false | {
1023
+ type?: import("./type-enums").DimensionTypesEnum;
1024
+ name?: string;
1025
+ description?: string;
1026
+ sql?: string;
1027
+ format?: import("./type-enums").DimensionFormatsEnum;
1028
+ explode?: boolean;
1029
+ index?: string | boolean;
1030
+ switch?: {
1031
+ when?: Record<string, false | ({
1032
+ value?: string | number | boolean | (string | number | boolean)[];
1033
+ dimension?: string;
1034
+ operator?: import("./type-enums").FilterOperatorsEnum;
1035
+ sql?: string;
1036
+ } & {
1037
+ description?: string;
1038
+ label?: string;
1039
+ })>;
1040
+ else?: string;
1041
+ segment?: boolean;
1042
+ };
1043
+ field?: string | string[];
1044
+ public?: boolean;
1045
+ primaryKey?: boolean;
1046
+ subQuery?: boolean;
1047
+ meta?: Record<string, string | number | boolean | Record<string, Record<string, string>>>;
1048
+ }>;
1049
+ sql?: string;
1050
+ collection?: {
1051
+ filters?: import("./index").FiltersInterface;
1052
+ collection?: string;
1053
+ };
1054
+ meta?: Record<string, string | number | boolean | Record<string, Record<string, string>>>;
1055
+ measures?: Record<string, false | {
1056
+ type?: import("./type-enums").MeasureTypesEnum;
1057
+ name?: string;
1058
+ description?: string;
1059
+ dimension?: string;
1060
+ sql?: string;
1061
+ format?: import("./type-enums").MeasureFormatsEnum;
1062
+ index?: string;
1063
+ public?: boolean;
1064
+ meta?: Record<string, string | number | boolean | Record<string, Record<string, string>>>;
1065
+ }>;
1066
+ segments?: Record<string, false | ({
1067
+ value?: string | number | boolean | (string | number | boolean)[];
1068
+ dimension?: string;
1069
+ operator?: import("./type-enums").FilterOperatorsEnum;
1070
+ sql?: string;
1071
+ } & {
1072
+ name?: string;
1073
+ description?: string;
1074
+ public?: boolean;
1075
+ })>;
1076
+ prefix?: string;
1077
+ parent?: string;
1078
+ relations?: Record<string, false | {
1079
+ type?: import("./type-enums").RelationTypesEnum;
1080
+ dimension?: string;
1081
+ sql?: string;
1082
+ targetDataset?: string;
1083
+ targetDimension?: string;
1084
+ }>;
1085
+ preAggregations?: Record<string, false | {
1086
+ type?: "rollup" | "original_sql" | "rollup_join";
1087
+ dimensions?: string[];
1088
+ measures?: string[];
1089
+ segments?: string[];
1090
+ timeDimension?: string;
1091
+ granularity?: string;
1092
+ partitionGranularity?: string;
1093
+ rollups?: string[];
1094
+ refreshKeySql?: string;
1095
+ refreshKeyEvery?: string;
1096
+ refreshKeyIncremental?: boolean;
1097
+ refreshKeyUpdateWindow?: string;
1098
+ buildRangeStartSql?: string;
1099
+ buildRangeEndSql?: string;
1100
+ lambda?: boolean;
1101
+ }>;
1102
+ }>;
1103
+ semanticTriggers?: Record<string, boolean | {
1104
+ name?: string;
1105
+ description?: string;
1106
+ eventType?: string;
1107
+ dataset?: string;
1108
+ dimensions?: string[];
1109
+ limit?: number;
1110
+ filters?: Record<string, false | {
1111
+ values?: string | number | boolean | (string | number | boolean)[];
1112
+ dimension?: string;
1113
+ operator?: import("./type-enums").SemanticTriggerFilterOperatorsEnum;
1114
+ }>;
1115
+ cron?: string;
1116
+ tz?: string;
1117
+ incrementalField?: string;
1118
+ ungrouped?: boolean;
1119
+ }>;
1120
+ connectors?: Record<string, boolean | {
1121
+ createdAt?: Date;
1122
+ identifier?: string;
1123
+ name?: string;
1124
+ config?: Record<string, any>;
1125
+ updatedAt?: Date;
1126
+ connectorType?: import("../types").ConfiguredConnectorTypes;
1127
+ location?: string;
1128
+ enabled?: boolean;
1129
+ actions?: {
1130
+ mode?: import("./type-enums").ConnectorOrigin;
1131
+ createdAt?: Date;
1132
+ identifier?: string;
1133
+ version?: string;
1134
+ name?: string;
1135
+ description?: string;
1136
+ config?: Record<string, any>;
1137
+ inputParameters?: {
1138
+ type?: "string" | "number" | "boolean" | "array";
1139
+ name?: string;
1140
+ required?: boolean;
1141
+ items?: any[];
1142
+ }[];
1143
+ outputParameters?: any;
1144
+ updatedAt?: Date;
1145
+ }[];
1146
+ }>;
1147
+ }>;
1148
+ export interface TemplateImplementationOverridesInterface {
1149
+ datasets?: DatasetsInterface;
1150
+ semanticTriggers?: SemanticTriggersInterface;
1151
+ connectors?: ConnectorsInterface;
1152
+ }