@lightdash/common 0.2040.0 → 0.2041.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 (42) hide show
  1. package/dist/cjs/ee/AiAgent/schemas/customMetrics.d.ts +1 -1
  2. package/dist/cjs/ee/AiAgent/schemas/customMetrics.d.ts.map +1 -1
  3. package/dist/cjs/ee/AiAgent/schemas/customMetrics.js +12 -12
  4. package/dist/cjs/ee/AiAgent/schemas/customMetrics.js.map +1 -1
  5. package/dist/cjs/ee/AiAgent/schemas/index.d.ts +312 -0
  6. package/dist/cjs/ee/AiAgent/schemas/index.d.ts.map +1 -1
  7. package/dist/cjs/ee/AiAgent/schemas/tools/toolProposeChange.d.ts +323 -2
  8. package/dist/cjs/ee/AiAgent/schemas/tools/toolProposeChange.d.ts.map +1 -1
  9. package/dist/cjs/ee/AiAgent/schemas/tools/toolProposeChange.js +21 -5
  10. package/dist/cjs/ee/AiAgent/schemas/tools/toolProposeChange.js.map +1 -1
  11. package/dist/cjs/types/changeset.d.ts +16 -4
  12. package/dist/cjs/types/changeset.d.ts.map +1 -1
  13. package/dist/cjs/types/changeset.js +7 -3
  14. package/dist/cjs/types/changeset.js.map +1 -1
  15. package/dist/cjs/utils/changeset.js +1 -1
  16. package/dist/cjs/utils/changeset.js.map +1 -1
  17. package/dist/esm/ee/AiAgent/schemas/customMetrics.d.ts +1 -1
  18. package/dist/esm/ee/AiAgent/schemas/customMetrics.d.ts.map +1 -1
  19. package/dist/esm/ee/AiAgent/schemas/customMetrics.js +12 -12
  20. package/dist/esm/ee/AiAgent/schemas/customMetrics.js.map +1 -1
  21. package/dist/esm/ee/AiAgent/schemas/index.d.ts +312 -0
  22. package/dist/esm/ee/AiAgent/schemas/index.d.ts.map +1 -1
  23. package/dist/esm/ee/AiAgent/schemas/tools/toolProposeChange.d.ts +323 -2
  24. package/dist/esm/ee/AiAgent/schemas/tools/toolProposeChange.d.ts.map +1 -1
  25. package/dist/esm/ee/AiAgent/schemas/tools/toolProposeChange.js +21 -5
  26. package/dist/esm/ee/AiAgent/schemas/tools/toolProposeChange.js.map +1 -1
  27. package/dist/esm/types/changeset.d.ts +16 -4
  28. package/dist/esm/types/changeset.d.ts.map +1 -1
  29. package/dist/esm/types/changeset.js +7 -3
  30. package/dist/esm/types/changeset.js.map +1 -1
  31. package/dist/esm/utils/changeset.js +1 -1
  32. package/dist/esm/utils/changeset.js.map +1 -1
  33. package/dist/tsconfig.types.tsbuildinfo +1 -1
  34. package/dist/types/ee/AiAgent/schemas/customMetrics.d.ts +1 -1
  35. package/dist/types/ee/AiAgent/schemas/customMetrics.d.ts.map +1 -1
  36. package/dist/types/ee/AiAgent/schemas/index.d.ts +312 -0
  37. package/dist/types/ee/AiAgent/schemas/index.d.ts.map +1 -1
  38. package/dist/types/ee/AiAgent/schemas/tools/toolProposeChange.d.ts +323 -2
  39. package/dist/types/ee/AiAgent/schemas/tools/toolProposeChange.d.ts.map +1 -1
  40. package/dist/types/types/changeset.d.ts +16 -4
  41. package/dist/types/types/changeset.d.ts.map +1 -1
  42. package/package.json +1 -1
@@ -6904,6 +6904,15 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
6904
6904
  }, {
6905
6905
  value: string;
6906
6906
  op: "replace";
6907
+ }>, z.ZodObject<{
6908
+ op: z.ZodLiteral<"add">;
6909
+ value: z.ZodString;
6910
+ }, "strip", z.ZodTypeAny, {
6911
+ value: string;
6912
+ op: "add";
6913
+ }, {
6914
+ value: string;
6915
+ op: "add";
6907
6916
  }>]>>;
6908
6917
  label: z.ZodNullable<z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
6909
6918
  op: z.ZodLiteral<"replace">;
@@ -6914,24 +6923,45 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
6914
6923
  }, {
6915
6924
  value: string;
6916
6925
  op: "replace";
6926
+ }>, z.ZodObject<{
6927
+ op: z.ZodLiteral<"add">;
6928
+ value: z.ZodString;
6929
+ }, "strip", z.ZodTypeAny, {
6930
+ value: string;
6931
+ op: "add";
6932
+ }, {
6933
+ value: string;
6934
+ op: "add";
6917
6935
  }>]>>;
6918
6936
  }, "strip", z.ZodTypeAny, {
6919
6937
  label: {
6920
6938
  value: string;
6921
6939
  op: "replace";
6940
+ } | {
6941
+ value: string;
6942
+ op: "add";
6922
6943
  } | null;
6923
6944
  description: {
6924
6945
  value: string;
6925
6946
  op: "replace";
6947
+ } | {
6948
+ value: string;
6949
+ op: "add";
6926
6950
  } | null;
6927
6951
  }, {
6928
6952
  label: {
6929
6953
  value: string;
6930
6954
  op: "replace";
6955
+ } | {
6956
+ value: string;
6957
+ op: "add";
6931
6958
  } | null;
6932
6959
  description: {
6933
6960
  value: string;
6934
6961
  op: "replace";
6962
+ } | {
6963
+ value: string;
6964
+ op: "add";
6935
6965
  } | null;
6936
6966
  }>;
6937
6967
  }, "strip", z.ZodTypeAny, {
@@ -6940,10 +6970,16 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
6940
6970
  label: {
6941
6971
  value: string;
6942
6972
  op: "replace";
6973
+ } | {
6974
+ value: string;
6975
+ op: "add";
6943
6976
  } | null;
6944
6977
  description: {
6945
6978
  value: string;
6946
6979
  op: "replace";
6980
+ } | {
6981
+ value: string;
6982
+ op: "add";
6947
6983
  } | null;
6948
6984
  };
6949
6985
  }, {
@@ -6952,10 +6988,16 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
6952
6988
  label: {
6953
6989
  value: string;
6954
6990
  op: "replace";
6991
+ } | {
6992
+ value: string;
6993
+ op: "add";
6955
6994
  } | null;
6956
6995
  description: {
6957
6996
  value: string;
6958
6997
  op: "replace";
6998
+ } | {
6999
+ value: string;
7000
+ op: "add";
6959
7001
  } | null;
6960
7002
  };
6961
7003
  }>]>;
@@ -6966,10 +7008,16 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
6966
7008
  label: {
6967
7009
  value: string;
6968
7010
  op: "replace";
7011
+ } | {
7012
+ value: string;
7013
+ op: "add";
6969
7014
  } | null;
6970
7015
  description: {
6971
7016
  value: string;
6972
7017
  op: "replace";
7018
+ } | {
7019
+ value: string;
7020
+ op: "add";
6973
7021
  } | null;
6974
7022
  };
6975
7023
  };
@@ -6981,10 +7029,16 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
6981
7029
  label: {
6982
7030
  value: string;
6983
7031
  op: "replace";
7032
+ } | {
7033
+ value: string;
7034
+ op: "add";
6984
7035
  } | null;
6985
7036
  description: {
6986
7037
  value: string;
6987
7038
  op: "replace";
7039
+ } | {
7040
+ value: string;
7041
+ op: "add";
6988
7042
  } | null;
6989
7043
  };
6990
7044
  };
@@ -7004,6 +7058,15 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
7004
7058
  }, {
7005
7059
  value: string;
7006
7060
  op: "replace";
7061
+ }>, z.ZodObject<{
7062
+ op: z.ZodLiteral<"add">;
7063
+ value: z.ZodString;
7064
+ }, "strip", z.ZodTypeAny, {
7065
+ value: string;
7066
+ op: "add";
7067
+ }, {
7068
+ value: string;
7069
+ op: "add";
7007
7070
  }>]>>;
7008
7071
  description: z.ZodNullable<z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
7009
7072
  op: z.ZodLiteral<"replace">;
@@ -7014,24 +7077,45 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
7014
7077
  }, {
7015
7078
  value: string;
7016
7079
  op: "replace";
7080
+ }>, z.ZodObject<{
7081
+ op: z.ZodLiteral<"add">;
7082
+ value: z.ZodString;
7083
+ }, "strip", z.ZodTypeAny, {
7084
+ value: string;
7085
+ op: "add";
7086
+ }, {
7087
+ value: string;
7088
+ op: "add";
7017
7089
  }>]>>;
7018
7090
  }, "strip", z.ZodTypeAny, {
7019
7091
  label: {
7020
7092
  value: string;
7021
7093
  op: "replace";
7094
+ } | {
7095
+ value: string;
7096
+ op: "add";
7022
7097
  } | null;
7023
7098
  description: {
7024
7099
  value: string;
7025
7100
  op: "replace";
7101
+ } | {
7102
+ value: string;
7103
+ op: "add";
7026
7104
  } | null;
7027
7105
  }, {
7028
7106
  label: {
7029
7107
  value: string;
7030
7108
  op: "replace";
7109
+ } | {
7110
+ value: string;
7111
+ op: "add";
7031
7112
  } | null;
7032
7113
  description: {
7033
7114
  value: string;
7034
7115
  op: "replace";
7116
+ } | {
7117
+ value: string;
7118
+ op: "add";
7035
7119
  } | null;
7036
7120
  }>;
7037
7121
  }, "strip", z.ZodTypeAny, {
@@ -7040,10 +7124,16 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
7040
7124
  label: {
7041
7125
  value: string;
7042
7126
  op: "replace";
7127
+ } | {
7128
+ value: string;
7129
+ op: "add";
7043
7130
  } | null;
7044
7131
  description: {
7045
7132
  value: string;
7046
7133
  op: "replace";
7134
+ } | {
7135
+ value: string;
7136
+ op: "add";
7047
7137
  } | null;
7048
7138
  };
7049
7139
  }, {
@@ -7052,10 +7142,16 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
7052
7142
  label: {
7053
7143
  value: string;
7054
7144
  op: "replace";
7145
+ } | {
7146
+ value: string;
7147
+ op: "add";
7055
7148
  } | null;
7056
7149
  description: {
7057
7150
  value: string;
7058
7151
  op: "replace";
7152
+ } | {
7153
+ value: string;
7154
+ op: "add";
7059
7155
  } | null;
7060
7156
  };
7061
7157
  }>]>;
@@ -7067,10 +7163,16 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
7067
7163
  label: {
7068
7164
  value: string;
7069
7165
  op: "replace";
7166
+ } | {
7167
+ value: string;
7168
+ op: "add";
7070
7169
  } | null;
7071
7170
  description: {
7072
7171
  value: string;
7073
7172
  op: "replace";
7173
+ } | {
7174
+ value: string;
7175
+ op: "add";
7074
7176
  } | null;
7075
7177
  };
7076
7178
  };
@@ -7083,10 +7185,16 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
7083
7185
  label: {
7084
7186
  value: string;
7085
7187
  op: "replace";
7188
+ } | {
7189
+ value: string;
7190
+ op: "add";
7086
7191
  } | null;
7087
7192
  description: {
7088
7193
  value: string;
7089
7194
  op: "replace";
7195
+ } | {
7196
+ value: string;
7197
+ op: "add";
7090
7198
  } | null;
7091
7199
  };
7092
7200
  };
@@ -7095,6 +7203,72 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
7095
7203
  entityType: z.ZodLiteral<"metric">;
7096
7204
  fieldId: z.ZodString;
7097
7205
  value: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
7206
+ type: z.ZodLiteral<"create">;
7207
+ value: z.ZodDiscriminatedUnion<"entityType", [z.ZodObject<{
7208
+ entityType: z.ZodLiteral<"metric">;
7209
+ metric: z.ZodObject<{
7210
+ name: z.ZodString;
7211
+ label: z.ZodString;
7212
+ baseDimensionName: z.ZodString;
7213
+ table: z.ZodString;
7214
+ type: z.ZodEnum<[import("../../..").MetricType.AVERAGE, import("../../..").MetricType.COUNT, import("../../..").MetricType.COUNT_DISTINCT, import("../../..").MetricType.MAX, import("../../..").MetricType.MIN, import("../../..").MetricType.SUM, import("../../..").MetricType.PERCENTILE, import("../../..").MetricType.MEDIAN]>;
7215
+ }, "strip", z.ZodTypeAny, {
7216
+ name: string;
7217
+ label: string;
7218
+ table: string;
7219
+ type: import("../../..").MetricType.PERCENTILE | import("../../..").MetricType.AVERAGE | import("../../..").MetricType.COUNT | import("../../..").MetricType.COUNT_DISTINCT | import("../../..").MetricType.SUM | import("../../..").MetricType.MIN | import("../../..").MetricType.MAX | import("../../..").MetricType.MEDIAN;
7220
+ baseDimensionName: string;
7221
+ }, {
7222
+ name: string;
7223
+ label: string;
7224
+ table: string;
7225
+ type: import("../../..").MetricType.PERCENTILE | import("../../..").MetricType.AVERAGE | import("../../..").MetricType.COUNT | import("../../..").MetricType.COUNT_DISTINCT | import("../../..").MetricType.SUM | import("../../..").MetricType.MIN | import("../../..").MetricType.MAX | import("../../..").MetricType.MEDIAN;
7226
+ baseDimensionName: string;
7227
+ }>;
7228
+ }, "strip", z.ZodTypeAny, {
7229
+ metric: {
7230
+ name: string;
7231
+ label: string;
7232
+ table: string;
7233
+ type: import("../../..").MetricType.PERCENTILE | import("../../..").MetricType.AVERAGE | import("../../..").MetricType.COUNT | import("../../..").MetricType.COUNT_DISTINCT | import("../../..").MetricType.SUM | import("../../..").MetricType.MIN | import("../../..").MetricType.MAX | import("../../..").MetricType.MEDIAN;
7234
+ baseDimensionName: string;
7235
+ };
7236
+ entityType: "metric";
7237
+ }, {
7238
+ metric: {
7239
+ name: string;
7240
+ label: string;
7241
+ table: string;
7242
+ type: import("../../..").MetricType.PERCENTILE | import("../../..").MetricType.AVERAGE | import("../../..").MetricType.COUNT | import("../../..").MetricType.COUNT_DISTINCT | import("../../..").MetricType.SUM | import("../../..").MetricType.MIN | import("../../..").MetricType.MAX | import("../../..").MetricType.MEDIAN;
7243
+ baseDimensionName: string;
7244
+ };
7245
+ entityType: "metric";
7246
+ }>]>;
7247
+ }, "strip", z.ZodTypeAny, {
7248
+ value: {
7249
+ metric: {
7250
+ name: string;
7251
+ label: string;
7252
+ table: string;
7253
+ type: import("../../..").MetricType.PERCENTILE | import("../../..").MetricType.AVERAGE | import("../../..").MetricType.COUNT | import("../../..").MetricType.COUNT_DISTINCT | import("../../..").MetricType.SUM | import("../../..").MetricType.MIN | import("../../..").MetricType.MAX | import("../../..").MetricType.MEDIAN;
7254
+ baseDimensionName: string;
7255
+ };
7256
+ entityType: "metric";
7257
+ };
7258
+ type: "create";
7259
+ }, {
7260
+ value: {
7261
+ metric: {
7262
+ name: string;
7263
+ label: string;
7264
+ table: string;
7265
+ type: import("../../..").MetricType.PERCENTILE | import("../../..").MetricType.AVERAGE | import("../../..").MetricType.COUNT | import("../../..").MetricType.COUNT_DISTINCT | import("../../..").MetricType.SUM | import("../../..").MetricType.MIN | import("../../..").MetricType.MAX | import("../../..").MetricType.MEDIAN;
7266
+ baseDimensionName: string;
7267
+ };
7268
+ entityType: "metric";
7269
+ };
7270
+ type: "create";
7271
+ }>, z.ZodObject<{
7098
7272
  type: z.ZodLiteral<"update">;
7099
7273
  patch: z.ZodObject<{
7100
7274
  label: z.ZodNullable<z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
@@ -7106,6 +7280,15 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
7106
7280
  }, {
7107
7281
  value: string;
7108
7282
  op: "replace";
7283
+ }>, z.ZodObject<{
7284
+ op: z.ZodLiteral<"add">;
7285
+ value: z.ZodString;
7286
+ }, "strip", z.ZodTypeAny, {
7287
+ value: string;
7288
+ op: "add";
7289
+ }, {
7290
+ value: string;
7291
+ op: "add";
7109
7292
  }>]>>;
7110
7293
  description: z.ZodNullable<z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
7111
7294
  op: z.ZodLiteral<"replace">;
@@ -7116,24 +7299,45 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
7116
7299
  }, {
7117
7300
  value: string;
7118
7301
  op: "replace";
7302
+ }>, z.ZodObject<{
7303
+ op: z.ZodLiteral<"add">;
7304
+ value: z.ZodString;
7305
+ }, "strip", z.ZodTypeAny, {
7306
+ value: string;
7307
+ op: "add";
7308
+ }, {
7309
+ value: string;
7310
+ op: "add";
7119
7311
  }>]>>;
7120
7312
  }, "strip", z.ZodTypeAny, {
7121
7313
  label: {
7122
7314
  value: string;
7123
7315
  op: "replace";
7316
+ } | {
7317
+ value: string;
7318
+ op: "add";
7124
7319
  } | null;
7125
7320
  description: {
7126
7321
  value: string;
7127
7322
  op: "replace";
7323
+ } | {
7324
+ value: string;
7325
+ op: "add";
7128
7326
  } | null;
7129
7327
  }, {
7130
7328
  label: {
7131
7329
  value: string;
7132
7330
  op: "replace";
7331
+ } | {
7332
+ value: string;
7333
+ op: "add";
7133
7334
  } | null;
7134
7335
  description: {
7135
7336
  value: string;
7136
7337
  op: "replace";
7338
+ } | {
7339
+ value: string;
7340
+ op: "add";
7137
7341
  } | null;
7138
7342
  }>;
7139
7343
  }, "strip", z.ZodTypeAny, {
@@ -7142,10 +7346,16 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
7142
7346
  label: {
7143
7347
  value: string;
7144
7348
  op: "replace";
7349
+ } | {
7350
+ value: string;
7351
+ op: "add";
7145
7352
  } | null;
7146
7353
  description: {
7147
7354
  value: string;
7148
7355
  op: "replace";
7356
+ } | {
7357
+ value: string;
7358
+ op: "add";
7149
7359
  } | null;
7150
7360
  };
7151
7361
  }, {
@@ -7154,25 +7364,49 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
7154
7364
  label: {
7155
7365
  value: string;
7156
7366
  op: "replace";
7367
+ } | {
7368
+ value: string;
7369
+ op: "add";
7157
7370
  } | null;
7158
7371
  description: {
7159
7372
  value: string;
7160
7373
  op: "replace";
7374
+ } | {
7375
+ value: string;
7376
+ op: "add";
7161
7377
  } | null;
7162
7378
  };
7163
7379
  }>]>;
7164
7380
  }, "strip", z.ZodTypeAny, {
7165
7381
  fieldId: string;
7166
7382
  value: {
7383
+ value: {
7384
+ metric: {
7385
+ name: string;
7386
+ label: string;
7387
+ table: string;
7388
+ type: import("../../..").MetricType.PERCENTILE | import("../../..").MetricType.AVERAGE | import("../../..").MetricType.COUNT | import("../../..").MetricType.COUNT_DISTINCT | import("../../..").MetricType.SUM | import("../../..").MetricType.MIN | import("../../..").MetricType.MAX | import("../../..").MetricType.MEDIAN;
7389
+ baseDimensionName: string;
7390
+ };
7391
+ entityType: "metric";
7392
+ };
7393
+ type: "create";
7394
+ } | {
7167
7395
  type: "update";
7168
7396
  patch: {
7169
7397
  label: {
7170
7398
  value: string;
7171
7399
  op: "replace";
7400
+ } | {
7401
+ value: string;
7402
+ op: "add";
7172
7403
  } | null;
7173
7404
  description: {
7174
7405
  value: string;
7175
7406
  op: "replace";
7407
+ } | {
7408
+ value: string;
7409
+ op: "add";
7176
7410
  } | null;
7177
7411
  };
7178
7412
  };
@@ -7180,15 +7414,33 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
7180
7414
  }, {
7181
7415
  fieldId: string;
7182
7416
  value: {
7417
+ value: {
7418
+ metric: {
7419
+ name: string;
7420
+ label: string;
7421
+ table: string;
7422
+ type: import("../../..").MetricType.PERCENTILE | import("../../..").MetricType.AVERAGE | import("../../..").MetricType.COUNT | import("../../..").MetricType.COUNT_DISTINCT | import("../../..").MetricType.SUM | import("../../..").MetricType.MIN | import("../../..").MetricType.MAX | import("../../..").MetricType.MEDIAN;
7423
+ baseDimensionName: string;
7424
+ };
7425
+ entityType: "metric";
7426
+ };
7427
+ type: "create";
7428
+ } | {
7183
7429
  type: "update";
7184
7430
  patch: {
7185
7431
  label: {
7186
7432
  value: string;
7187
7433
  op: "replace";
7434
+ } | {
7435
+ value: string;
7436
+ op: "add";
7188
7437
  } | null;
7189
7438
  description: {
7190
7439
  value: string;
7191
7440
  op: "replace";
7441
+ } | {
7442
+ value: string;
7443
+ op: "add";
7192
7444
  } | null;
7193
7445
  };
7194
7446
  };
@@ -7205,10 +7457,16 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
7205
7457
  label: {
7206
7458
  value: string;
7207
7459
  op: "replace";
7460
+ } | {
7461
+ value: string;
7462
+ op: "add";
7208
7463
  } | null;
7209
7464
  description: {
7210
7465
  value: string;
7211
7466
  op: "replace";
7467
+ } | {
7468
+ value: string;
7469
+ op: "add";
7212
7470
  } | null;
7213
7471
  };
7214
7472
  };
@@ -7221,10 +7479,16 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
7221
7479
  label: {
7222
7480
  value: string;
7223
7481
  op: "replace";
7482
+ } | {
7483
+ value: string;
7484
+ op: "add";
7224
7485
  } | null;
7225
7486
  description: {
7226
7487
  value: string;
7227
7488
  op: "replace";
7489
+ } | {
7490
+ value: string;
7491
+ op: "add";
7228
7492
  } | null;
7229
7493
  };
7230
7494
  };
@@ -7232,15 +7496,33 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
7232
7496
  } | {
7233
7497
  fieldId: string;
7234
7498
  value: {
7499
+ value: {
7500
+ metric: {
7501
+ name: string;
7502
+ label: string;
7503
+ table: string;
7504
+ type: import("../../..").MetricType.PERCENTILE | import("../../..").MetricType.AVERAGE | import("../../..").MetricType.COUNT | import("../../..").MetricType.COUNT_DISTINCT | import("../../..").MetricType.SUM | import("../../..").MetricType.MIN | import("../../..").MetricType.MAX | import("../../..").MetricType.MEDIAN;
7505
+ baseDimensionName: string;
7506
+ };
7507
+ entityType: "metric";
7508
+ };
7509
+ type: "create";
7510
+ } | {
7235
7511
  type: "update";
7236
7512
  patch: {
7237
7513
  label: {
7238
7514
  value: string;
7239
7515
  op: "replace";
7516
+ } | {
7517
+ value: string;
7518
+ op: "add";
7240
7519
  } | null;
7241
7520
  description: {
7242
7521
  value: string;
7243
7522
  op: "replace";
7523
+ } | {
7524
+ value: string;
7525
+ op: "add";
7244
7526
  } | null;
7245
7527
  };
7246
7528
  };
@@ -7257,10 +7539,16 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
7257
7539
  label: {
7258
7540
  value: string;
7259
7541
  op: "replace";
7542
+ } | {
7543
+ value: string;
7544
+ op: "add";
7260
7545
  } | null;
7261
7546
  description: {
7262
7547
  value: string;
7263
7548
  op: "replace";
7549
+ } | {
7550
+ value: string;
7551
+ op: "add";
7264
7552
  } | null;
7265
7553
  };
7266
7554
  };
@@ -7273,10 +7561,16 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
7273
7561
  label: {
7274
7562
  value: string;
7275
7563
  op: "replace";
7564
+ } | {
7565
+ value: string;
7566
+ op: "add";
7276
7567
  } | null;
7277
7568
  description: {
7278
7569
  value: string;
7279
7570
  op: "replace";
7571
+ } | {
7572
+ value: string;
7573
+ op: "add";
7280
7574
  } | null;
7281
7575
  };
7282
7576
  };
@@ -7284,15 +7578,33 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
7284
7578
  } | {
7285
7579
  fieldId: string;
7286
7580
  value: {
7581
+ value: {
7582
+ metric: {
7583
+ name: string;
7584
+ label: string;
7585
+ table: string;
7586
+ type: import("../../..").MetricType.PERCENTILE | import("../../..").MetricType.AVERAGE | import("../../..").MetricType.COUNT | import("../../..").MetricType.COUNT_DISTINCT | import("../../..").MetricType.SUM | import("../../..").MetricType.MIN | import("../../..").MetricType.MAX | import("../../..").MetricType.MEDIAN;
7587
+ baseDimensionName: string;
7588
+ };
7589
+ entityType: "metric";
7590
+ };
7591
+ type: "create";
7592
+ } | {
7287
7593
  type: "update";
7288
7594
  patch: {
7289
7595
  label: {
7290
7596
  value: string;
7291
7597
  op: "replace";
7598
+ } | {
7599
+ value: string;
7600
+ op: "add";
7292
7601
  } | null;
7293
7602
  description: {
7294
7603
  value: string;
7295
7604
  op: "replace";
7605
+ } | {
7606
+ value: string;
7607
+ op: "add";
7296
7608
  } | null;
7297
7609
  };
7298
7610
  };