@vertesia/common 1.5.0-dev.20260804.124748Z → 1.5.0-dev.20260807.073259Z

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 (179) hide show
  1. package/lib/Progress.d.ts.map +1 -1
  2. package/lib/Progress.js.map +1 -1
  3. package/lib/access-control-values.d.ts +2 -2
  4. package/lib/access-control-values.d.ts.map +1 -1
  5. package/lib/account-values.d.ts +1 -1
  6. package/lib/account-values.d.ts.map +1 -1
  7. package/lib/api-schemas/access-control.d.ts +19 -19
  8. package/lib/api-schemas/adapter.d.ts +1 -0
  9. package/lib/api-schemas/adapter.d.ts.map +1 -1
  10. package/lib/api-schemas/adapter.js +1 -1
  11. package/lib/api-schemas/adapter.js.map +1 -1
  12. package/lib/api-schemas/agent-runs.d.ts +660 -515
  13. package/lib/api-schemas/agent-runs.d.ts.map +1 -1
  14. package/lib/api-schemas/agent-runs.js +11 -2
  15. package/lib/api-schemas/agent-runs.js.map +1 -1
  16. package/lib/api-schemas/analytics.d.ts +12 -12
  17. package/lib/api-schemas/apikey.d.ts +10 -10
  18. package/lib/api-schemas/app-lifecycle.d.ts +186 -152
  19. package/lib/api-schemas/app-lifecycle.d.ts.map +1 -1
  20. package/lib/api-schemas/app-lifecycle.js +51 -0
  21. package/lib/api-schemas/app-lifecycle.js.map +1 -1
  22. package/lib/api-schemas/app-runtime.d.ts +4493 -2122
  23. package/lib/api-schemas/app-runtime.d.ts.map +1 -1
  24. package/lib/api-schemas/app-runtime.js +93 -1
  25. package/lib/api-schemas/app-runtime.js.map +1 -1
  26. package/lib/api-schemas/apps.d.ts +43 -19
  27. package/lib/api-schemas/apps.d.ts.map +1 -1
  28. package/lib/api-schemas/apps.js +63 -3
  29. package/lib/api-schemas/apps.js.map +1 -1
  30. package/lib/api-schemas/audit-trail.d.ts +129 -129
  31. package/lib/api-schemas/bulk-operation.d.ts +10 -10
  32. package/lib/api-schemas/content.d.ts +542 -398
  33. package/lib/api-schemas/content.d.ts.map +1 -1
  34. package/lib/api-schemas/content.js +12 -0
  35. package/lib/api-schemas/content.js.map +1 -1
  36. package/lib/api-schemas/cost-analytics.d.ts +12 -12
  37. package/lib/api-schemas/dashboard.d.ts +10 -10
  38. package/lib/api-schemas/data-store.d.ts +556 -556
  39. package/lib/api-schemas/document-processing.d.ts +280 -196
  40. package/lib/api-schemas/document-processing.d.ts.map +1 -1
  41. package/lib/api-schemas/embeddings.d.ts +12 -12
  42. package/lib/api-schemas/environment.d.ts +20 -18
  43. package/lib/api-schemas/environment.d.ts.map +1 -1
  44. package/lib/api-schemas/events.d.ts +988 -698
  45. package/lib/api-schemas/events.d.ts.map +1 -1
  46. package/lib/api-schemas/events.js +59 -3
  47. package/lib/api-schemas/events.js.map +1 -1
  48. package/lib/api-schemas/files.d.ts +1 -1
  49. package/lib/api-schemas/group.d.ts +3 -3
  50. package/lib/api-schemas/indexing.d.ts +3 -3
  51. package/lib/api-schemas/integrations.d.ts +4 -4
  52. package/lib/api-schemas/interaction.d.ts +3894 -2752
  53. package/lib/api-schemas/interaction.d.ts.map +1 -1
  54. package/lib/api-schemas/interaction.js +6 -0
  55. package/lib/api-schemas/interaction.js.map +1 -1
  56. package/lib/api-schemas/invites.d.ts +9 -9
  57. package/lib/api-schemas/oauth-server.d.ts +36 -36
  58. package/lib/api-schemas/parameters.js.map +1 -1
  59. package/lib/api-schemas/process.d.ts +47 -47
  60. package/lib/api-schemas/project-configuration.d.ts +944 -664
  61. package/lib/api-schemas/project-configuration.d.ts.map +1 -1
  62. package/lib/api-schemas/project.d.ts +1403 -983
  63. package/lib/api-schemas/project.d.ts.map +1 -1
  64. package/lib/api-schemas/registry.d.ts +19119 -13557
  65. package/lib/api-schemas/registry.d.ts.map +1 -1
  66. package/lib/api-schemas/registry.js +170 -18
  67. package/lib/api-schemas/registry.js.map +1 -1
  68. package/lib/api-schemas/secrets.d.ts +4 -4
  69. package/lib/api-schemas/store.d.ts +4624 -3224
  70. package/lib/api-schemas/store.d.ts.map +1 -1
  71. package/lib/api-schemas/sts.d.ts +46 -36
  72. package/lib/api-schemas/sts.d.ts.map +1 -1
  73. package/lib/api-schemas/sts.js +11 -0
  74. package/lib/api-schemas/sts.js.map +1 -1
  75. package/lib/api-schemas/task.d.ts +30 -30
  76. package/lib/api-schemas/tools.d.ts +9 -9
  77. package/lib/api-schemas/user.d.ts +6 -6
  78. package/lib/api-schemas/view-execution.d.ts +626 -570
  79. package/lib/api-schemas/view-execution.d.ts.map +1 -1
  80. package/lib/api-schemas/views.d.ts +1293 -1125
  81. package/lib/api-schemas/views.d.ts.map +1 -1
  82. package/lib/api-schemas/workflow-runs.d.ts +325 -268
  83. package/lib/api-schemas/workflow-runs.d.ts.map +1 -1
  84. package/lib/apps.d.ts +38 -24
  85. package/lib/apps.d.ts.map +1 -1
  86. package/lib/apps.js +4 -0
  87. package/lib/apps.js.map +1 -1
  88. package/lib/audit-trail.d.ts +3 -3
  89. package/lib/audit-trail.d.ts.map +1 -1
  90. package/lib/data-platform.d.ts +31 -31
  91. package/lib/data-platform.d.ts.map +1 -1
  92. package/lib/environment.d.ts +3 -3
  93. package/lib/index.d.ts +1 -0
  94. package/lib/index.d.ts.map +1 -1
  95. package/lib/index.js +1 -0
  96. package/lib/index.js.map +1 -1
  97. package/lib/platform-event-validation.d.ts.map +1 -1
  98. package/lib/platform-event-validation.js +15 -2
  99. package/lib/platform-event-validation.js.map +1 -1
  100. package/lib/platform-event.d.ts +31 -3
  101. package/lib/platform-event.d.ts.map +1 -1
  102. package/lib/platform-event.js.map +1 -1
  103. package/lib/project.d.ts +1 -1
  104. package/lib/schema-for-extraction.js.map +1 -1
  105. package/lib/store/agent-approval.d.ts +1 -1
  106. package/lib/store/agent-approval.d.ts.map +1 -1
  107. package/lib/store/intake-policy-schema.generated.d.ts.map +1 -1
  108. package/lib/store/intake-policy-schema.generated.js +36 -0
  109. package/lib/store/intake-policy-schema.generated.js.map +1 -1
  110. package/lib/store/process-schema.d.ts +1 -1
  111. package/lib/store/process-schema.d.ts.map +1 -1
  112. package/lib/store/process-validation.js.map +1 -1
  113. package/lib/store/schedule.d.ts +6 -6
  114. package/lib/store/schedule.d.ts.map +1 -1
  115. package/lib/store/store.d.ts +3 -3
  116. package/lib/store/store.d.ts.map +1 -1
  117. package/lib/store/workflow.d.ts +6 -0
  118. package/lib/store/workflow.d.ts.map +1 -1
  119. package/lib/store/workflow.js +8 -0
  120. package/lib/store/workflow.js.map +1 -1
  121. package/lib/sts-errors.d.ts +7 -0
  122. package/lib/sts-errors.d.ts.map +1 -0
  123. package/lib/sts-errors.js +11 -0
  124. package/lib/sts-errors.js.map +1 -0
  125. package/lib/sts-token-types.d.ts +2 -1
  126. package/lib/sts-token-types.d.ts.map +1 -1
  127. package/lib/sts-token-types.js.map +1 -1
  128. package/lib/user.d.ts +1 -1
  129. package/lib/user.d.ts.map +1 -1
  130. package/lib/user.js +1 -1
  131. package/lib/user.js.map +1 -1
  132. package/lib/versions.d.ts +10 -0
  133. package/lib/versions.d.ts.map +1 -1
  134. package/lib/versions.js +10 -0
  135. package/lib/versions.js.map +1 -1
  136. package/lib/vertesia-common.js +3 -3
  137. package/lib/vertesia-common.js.map +1 -1
  138. package/lib/view-configuration-validation.js.map +1 -1
  139. package/lib/view-query-validation.js.map +1 -1
  140. package/lib/view-validation-helpers.d.ts +1 -1
  141. package/lib/view-validation-helpers.d.ts.map +1 -1
  142. package/lib/views-schema.d.ts +51 -51
  143. package/lib/views-schema.d.ts.map +1 -1
  144. package/lib/views-validation.js.map +1 -1
  145. package/lib/views.d.ts +2 -2
  146. package/lib/views.d.ts.map +1 -1
  147. package/lib/workflow-analytics.d.ts +10 -3
  148. package/lib/workflow-analytics.d.ts.map +1 -1
  149. package/package.json +4 -4
  150. package/src/api-schemas/adapter.ts +1 -1
  151. package/src/api-schemas/agent-runs.ts +12 -2
  152. package/src/api-schemas/api-discriminators.test.ts +84 -0
  153. package/src/api-schemas/app-delete-summary.contract.test.ts +67 -0
  154. package/src/api-schemas/app-lifecycle.ts +59 -0
  155. package/src/api-schemas/app-runtime.ts +103 -0
  156. package/src/api-schemas/apps.ts +72 -3
  157. package/src/api-schemas/content.ts +13 -0
  158. package/src/api-schemas/events.ts +63 -3
  159. package/src/api-schemas/interaction.contract.test.ts +27 -0
  160. package/src/api-schemas/interaction.ts +7 -0
  161. package/src/api-schemas/mcp-api-key.contract.test.ts +86 -0
  162. package/src/api-schemas/registry.ts +200 -18
  163. package/src/api-schemas/store.contract.test.ts +21 -0
  164. package/src/api-schemas/sts.contract.test.ts +33 -1
  165. package/src/api-schemas/sts.ts +13 -0
  166. package/src/apps.test.ts +82 -0
  167. package/src/apps.ts +50 -16
  168. package/src/index.ts +1 -0
  169. package/src/platform-event-validation.test.ts +26 -0
  170. package/src/platform-event-validation.ts +15 -2
  171. package/src/platform-event.ts +43 -0
  172. package/src/store/intake-policy-schema.generated.ts +36 -0
  173. package/src/store/workflow.ts +9 -0
  174. package/src/sts-errors.ts +13 -0
  175. package/src/sts-token-types.ts +2 -0
  176. package/src/user.ts +1 -1
  177. package/src/versions.test.ts +13 -0
  178. package/src/versions.ts +12 -0
  179. package/src/workflow-analytics.ts +10 -3
@@ -5,31 +5,31 @@ export declare const AuditMeterSchema: z.ZodObject<{
5
5
  quantity: z.ZodNumber;
6
6
  }, z.core.$strict>;
7
7
  export declare const KnownAuditActionSchema: z.ZodEnum<{
8
- create: "create";
9
- update: "update";
10
- delete: "delete";
11
- bulk_create: "bulk_create";
8
+ attach: "attach";
12
9
  bulk_change_type: "bulk_change_type";
13
- bulk_update: "bulk_update";
10
+ bulk_create: "bulk_create";
14
11
  bulk_delete: "bulk_delete";
15
- attach: "attach";
16
- detach: "detach";
12
+ bulk_update: "bulk_update";
13
+ create: "create";
17
14
  credentials_fill: "credentials_fill";
18
15
  credentials_totp_generation: "credentials_totp_generation";
19
- publish: "publish";
20
- unpublish: "unpublish";
21
- inference: "inference";
16
+ delete: "delete";
17
+ detach: "detach";
18
+ document_processed: "document_processed";
22
19
  embedding: "embedding";
23
20
  image_generation: "image_generation";
24
- document_processed: "document_processed";
21
+ inference: "inference";
22
+ publish: "publish";
23
+ unpublish: "unpublish";
24
+ update: "update";
25
25
  }>;
26
26
  export declare const EventCategorySchema: z.ZodEnum<{
27
- system: "system";
28
- content: "content";
29
27
  billing: "billing";
28
+ content: "content";
30
29
  external: "external";
31
- workflow: "workflow";
32
30
  security: "security";
31
+ system: "system";
32
+ workflow: "workflow";
33
33
  }>;
34
34
  export declare const AuditAggregationDimensionMapSchema: z.ZodObject<{
35
35
  time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -45,58 +45,58 @@ export declare const AuditAggregationDimensionMapSchema: z.ZodObject<{
45
45
  model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
46
  }, z.core.$strict>;
47
47
  export declare const AuditAggregationDistinctFieldSchema: z.ZodEnum<{
48
- resource_id: "resource_id";
49
48
  request_id: "request_id";
49
+ resource_id: "resource_id";
50
50
  }>;
51
51
  export declare const AuditAggregationOperationSchema: z.ZodEnum<{
52
+ average_meter: "average_meter";
52
53
  count: "count";
53
54
  count_distinct: "count_distinct";
54
55
  sum_meter: "sum_meter";
55
- average_meter: "average_meter";
56
56
  }>;
57
57
  export declare const AuditAggregationResolutionSchema: z.ZodEnum<{
58
- hour: "hour";
59
58
  day: "day";
60
- week: "week";
59
+ hour: "hour";
61
60
  month: "month";
61
+ week: "week";
62
62
  }>;
63
63
  export declare const AuditAggregationDimensionSchema: z.ZodEnum<{
64
- resource_type: "resource_type";
65
- model: "model";
66
- event_category: "event_category";
67
64
  action: "action";
68
- project_id: "project_id";
69
- provider: "provider";
70
- time: "time";
71
65
  "details.pipeline": "details.pipeline";
66
+ "details.rule_id": "details.rule_id";
72
67
  "details.verdict": "details.verdict";
73
68
  "details.workflow_type": "details.workflow_type";
74
- "details.rule_id": "details.rule_id";
69
+ event_category: "event_category";
70
+ model: "model";
71
+ project_id: "project_id";
72
+ provider: "provider";
73
+ resource_type: "resource_type";
74
+ time: "time";
75
75
  }>;
76
76
  export declare const AuditAggregationDetailFieldSchema: z.ZodEnum<{
77
77
  pipeline: "pipeline";
78
+ rule_id: "rule_id";
78
79
  verdict: "verdict";
79
80
  workflow_type: "workflow_type";
80
- rule_id: "rule_id";
81
81
  }>;
82
82
  export declare const AuditActionSchema: z.ZodUnion<readonly [z.ZodEnum<{
83
- create: "create";
84
- update: "update";
85
- delete: "delete";
86
- bulk_create: "bulk_create";
83
+ attach: "attach";
87
84
  bulk_change_type: "bulk_change_type";
88
- bulk_update: "bulk_update";
85
+ bulk_create: "bulk_create";
89
86
  bulk_delete: "bulk_delete";
90
- attach: "attach";
91
- detach: "detach";
87
+ bulk_update: "bulk_update";
88
+ create: "create";
92
89
  credentials_fill: "credentials_fill";
93
90
  credentials_totp_generation: "credentials_totp_generation";
94
- publish: "publish";
95
- unpublish: "unpublish";
96
- inference: "inference";
91
+ delete: "delete";
92
+ detach: "detach";
93
+ document_processed: "document_processed";
97
94
  embedding: "embedding";
98
95
  image_generation: "image_generation";
99
- document_processed: "document_processed";
96
+ inference: "inference";
97
+ publish: "publish";
98
+ unpublish: "unpublish";
99
+ update: "update";
100
100
  }>, z.ZodString]>;
101
101
  export declare const AuditAggregationRowSchema: z.ZodObject<{
102
102
  dimensions: z.ZodObject<{
@@ -117,45 +117,45 @@ export declare const AuditAggregationRowSchema: z.ZodObject<{
117
117
  export declare const AuditAggregationMetricSchema: z.ZodObject<{
118
118
  id: z.ZodString;
119
119
  operation: z.ZodEnum<{
120
+ average_meter: "average_meter";
120
121
  count: "count";
121
122
  count_distinct: "count_distinct";
122
123
  sum_meter: "sum_meter";
123
- average_meter: "average_meter";
124
124
  }>;
125
125
  field: z.ZodOptional<z.ZodEnum<{
126
- resource_id: "resource_id";
127
126
  request_id: "request_id";
127
+ resource_id: "resource_id";
128
128
  }>>;
129
129
  meterCategory: z.ZodOptional<z.ZodString>;
130
130
  meterType: z.ZodOptional<z.ZodString>;
131
131
  }, z.core.$strict>;
132
132
  export declare const AuditAggregationGroupSchema: z.ZodObject<{
133
133
  dimension: z.ZodEnum<{
134
- resource_type: "resource_type";
135
- model: "model";
136
- event_category: "event_category";
137
134
  action: "action";
138
- project_id: "project_id";
139
- provider: "provider";
140
- time: "time";
141
135
  "details.pipeline": "details.pipeline";
136
+ "details.rule_id": "details.rule_id";
142
137
  "details.verdict": "details.verdict";
143
138
  "details.workflow_type": "details.workflow_type";
144
- "details.rule_id": "details.rule_id";
139
+ event_category: "event_category";
140
+ model: "model";
141
+ project_id: "project_id";
142
+ provider: "provider";
143
+ resource_type: "resource_type";
144
+ time: "time";
145
145
  }>;
146
146
  resolution: z.ZodOptional<z.ZodEnum<{
147
- hour: "hour";
148
147
  day: "day";
149
- week: "week";
148
+ hour: "hour";
150
149
  month: "month";
150
+ week: "week";
151
151
  }>>;
152
152
  }, z.core.$strict>;
153
153
  export declare const AuditAggregationDetailFilterSchema: z.ZodObject<{
154
154
  field: z.ZodEnum<{
155
155
  pipeline: "pipeline";
156
+ rule_id: "rule_id";
156
157
  verdict: "verdict";
157
158
  workflow_type: "workflow_type";
158
- rule_id: "rule_id";
159
159
  }>;
160
160
  values: z.ZodArray<z.ZodString>;
161
161
  }, z.core.$strict>;
@@ -163,12 +163,12 @@ export declare const AuditTrailEventSchema: z.ZodObject<{
163
163
  event_type: z.ZodLiteral<"audit">;
164
164
  event_id: z.ZodOptional<z.ZodString>;
165
165
  event_category: z.ZodOptional<z.ZodEnum<{
166
- system: "system";
167
- content: "content";
168
166
  billing: "billing";
167
+ content: "content";
169
168
  external: "external";
170
- workflow: "workflow";
171
169
  security: "security";
170
+ system: "system";
171
+ workflow: "workflow";
172
172
  }>>;
173
173
  source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
174
174
  root_event_id: z.ZodOptional<z.ZodString>;
@@ -179,23 +179,23 @@ export declare const AuditTrailEventSchema: z.ZodObject<{
179
179
  replay_root_event_id: z.ZodOptional<z.ZodString>;
180
180
  replayed_by: z.ZodOptional<z.ZodString>;
181
181
  action: z.ZodUnion<readonly [z.ZodEnum<{
182
- create: "create";
183
- update: "update";
184
- delete: "delete";
185
- bulk_create: "bulk_create";
182
+ attach: "attach";
186
183
  bulk_change_type: "bulk_change_type";
187
- bulk_update: "bulk_update";
184
+ bulk_create: "bulk_create";
188
185
  bulk_delete: "bulk_delete";
189
- attach: "attach";
190
- detach: "detach";
186
+ bulk_update: "bulk_update";
187
+ create: "create";
191
188
  credentials_fill: "credentials_fill";
192
189
  credentials_totp_generation: "credentials_totp_generation";
193
- publish: "publish";
194
- unpublish: "unpublish";
195
- inference: "inference";
190
+ delete: "delete";
191
+ detach: "detach";
192
+ document_processed: "document_processed";
196
193
  embedding: "embedding";
197
194
  image_generation: "image_generation";
198
- document_processed: "document_processed";
195
+ inference: "inference";
196
+ publish: "publish";
197
+ unpublish: "unpublish";
198
+ update: "update";
199
199
  }>, z.ZodString]>;
200
200
  resource_type: z.ZodString;
201
201
  resource_id: z.ZodString;
@@ -242,41 +242,41 @@ export declare const AuditAggregationResponseSchema: z.ZodObject<{
242
242
  }, z.core.$strict>;
243
243
  export declare const AuditAggregationFilterSchema: z.ZodObject<{
244
244
  actions: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
245
- create: "create";
246
- update: "update";
247
- delete: "delete";
248
- bulk_create: "bulk_create";
245
+ attach: "attach";
249
246
  bulk_change_type: "bulk_change_type";
250
- bulk_update: "bulk_update";
247
+ bulk_create: "bulk_create";
251
248
  bulk_delete: "bulk_delete";
252
- attach: "attach";
253
- detach: "detach";
249
+ bulk_update: "bulk_update";
250
+ create: "create";
254
251
  credentials_fill: "credentials_fill";
255
252
  credentials_totp_generation: "credentials_totp_generation";
256
- publish: "publish";
257
- unpublish: "unpublish";
258
- inference: "inference";
253
+ delete: "delete";
254
+ detach: "detach";
255
+ document_processed: "document_processed";
259
256
  embedding: "embedding";
260
257
  image_generation: "image_generation";
261
- document_processed: "document_processed";
258
+ inference: "inference";
259
+ publish: "publish";
260
+ unpublish: "unpublish";
261
+ update: "update";
262
262
  }>, z.ZodString]>>>;
263
263
  resourceTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
264
264
  eventCategories: z.ZodOptional<z.ZodArray<z.ZodEnum<{
265
- system: "system";
266
- content: "content";
267
265
  billing: "billing";
266
+ content: "content";
268
267
  external: "external";
269
- workflow: "workflow";
270
268
  security: "security";
269
+ system: "system";
270
+ workflow: "workflow";
271
271
  }>>>;
272
272
  providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
273
273
  success: z.ZodOptional<z.ZodBoolean>;
274
274
  details: z.ZodOptional<z.ZodArray<z.ZodObject<{
275
275
  field: z.ZodEnum<{
276
276
  pipeline: "pipeline";
277
+ rule_id: "rule_id";
277
278
  verdict: "verdict";
278
279
  workflow_type: "workflow_type";
279
- rule_id: "rule_id";
280
280
  }>;
281
281
  values: z.ZodArray<z.ZodString>;
282
282
  }, z.core.$strict>>>;
@@ -286,12 +286,12 @@ export declare const AuditTrailResponseSchema: z.ZodObject<{
286
286
  event_type: z.ZodLiteral<"audit">;
287
287
  event_id: z.ZodOptional<z.ZodString>;
288
288
  event_category: z.ZodOptional<z.ZodEnum<{
289
- system: "system";
290
- content: "content";
291
289
  billing: "billing";
290
+ content: "content";
292
291
  external: "external";
293
- workflow: "workflow";
294
292
  security: "security";
293
+ system: "system";
294
+ workflow: "workflow";
295
295
  }>>;
296
296
  source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
297
297
  root_event_id: z.ZodOptional<z.ZodString>;
@@ -302,23 +302,23 @@ export declare const AuditTrailResponseSchema: z.ZodObject<{
302
302
  replay_root_event_id: z.ZodOptional<z.ZodString>;
303
303
  replayed_by: z.ZodOptional<z.ZodString>;
304
304
  action: z.ZodUnion<readonly [z.ZodEnum<{
305
- create: "create";
306
- update: "update";
307
- delete: "delete";
308
- bulk_create: "bulk_create";
305
+ attach: "attach";
309
306
  bulk_change_type: "bulk_change_type";
310
- bulk_update: "bulk_update";
307
+ bulk_create: "bulk_create";
311
308
  bulk_delete: "bulk_delete";
312
- attach: "attach";
313
- detach: "detach";
309
+ bulk_update: "bulk_update";
310
+ create: "create";
314
311
  credentials_fill: "credentials_fill";
315
312
  credentials_totp_generation: "credentials_totp_generation";
316
- publish: "publish";
317
- unpublish: "unpublish";
318
- inference: "inference";
313
+ delete: "delete";
314
+ detach: "detach";
315
+ document_processed: "document_processed";
319
316
  embedding: "embedding";
320
317
  image_generation: "image_generation";
321
- document_processed: "document_processed";
318
+ inference: "inference";
319
+ publish: "publish";
320
+ unpublish: "unpublish";
321
+ update: "update";
322
322
  }>, z.ZodString]>;
323
323
  resource_type: z.ZodString;
324
324
  resource_id: z.ZodString;
@@ -353,77 +353,77 @@ export declare const AuditAggregationQuerySchema: z.ZodObject<{
353
353
  to: z.ZodOptional<z.ZodString>;
354
354
  filter: z.ZodOptional<z.ZodObject<{
355
355
  actions: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
356
- create: "create";
357
- update: "update";
358
- delete: "delete";
359
- bulk_create: "bulk_create";
356
+ attach: "attach";
360
357
  bulk_change_type: "bulk_change_type";
361
- bulk_update: "bulk_update";
358
+ bulk_create: "bulk_create";
362
359
  bulk_delete: "bulk_delete";
363
- attach: "attach";
364
- detach: "detach";
360
+ bulk_update: "bulk_update";
361
+ create: "create";
365
362
  credentials_fill: "credentials_fill";
366
363
  credentials_totp_generation: "credentials_totp_generation";
367
- publish: "publish";
368
- unpublish: "unpublish";
369
- inference: "inference";
364
+ delete: "delete";
365
+ detach: "detach";
366
+ document_processed: "document_processed";
370
367
  embedding: "embedding";
371
368
  image_generation: "image_generation";
372
- document_processed: "document_processed";
369
+ inference: "inference";
370
+ publish: "publish";
371
+ unpublish: "unpublish";
372
+ update: "update";
373
373
  }>, z.ZodString]>>>;
374
374
  resourceTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
375
375
  eventCategories: z.ZodOptional<z.ZodArray<z.ZodEnum<{
376
- system: "system";
377
- content: "content";
378
376
  billing: "billing";
377
+ content: "content";
379
378
  external: "external";
380
- workflow: "workflow";
381
379
  security: "security";
380
+ system: "system";
381
+ workflow: "workflow";
382
382
  }>>>;
383
383
  providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
384
384
  success: z.ZodOptional<z.ZodBoolean>;
385
385
  details: z.ZodOptional<z.ZodArray<z.ZodObject<{
386
386
  field: z.ZodEnum<{
387
387
  pipeline: "pipeline";
388
+ rule_id: "rule_id";
388
389
  verdict: "verdict";
389
390
  workflow_type: "workflow_type";
390
- rule_id: "rule_id";
391
391
  }>;
392
392
  values: z.ZodArray<z.ZodString>;
393
393
  }, z.core.$strict>>>;
394
394
  }, z.core.$strict>>;
395
395
  groupBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
396
396
  dimension: z.ZodEnum<{
397
- resource_type: "resource_type";
398
- model: "model";
399
- event_category: "event_category";
400
397
  action: "action";
401
- project_id: "project_id";
402
- provider: "provider";
403
- time: "time";
404
398
  "details.pipeline": "details.pipeline";
399
+ "details.rule_id": "details.rule_id";
405
400
  "details.verdict": "details.verdict";
406
401
  "details.workflow_type": "details.workflow_type";
407
- "details.rule_id": "details.rule_id";
402
+ event_category: "event_category";
403
+ model: "model";
404
+ project_id: "project_id";
405
+ provider: "provider";
406
+ resource_type: "resource_type";
407
+ time: "time";
408
408
  }>;
409
409
  resolution: z.ZodOptional<z.ZodEnum<{
410
- hour: "hour";
411
410
  day: "day";
412
- week: "week";
411
+ hour: "hour";
413
412
  month: "month";
413
+ week: "week";
414
414
  }>>;
415
415
  }, z.core.$strict>>>;
416
416
  metrics: z.ZodArray<z.ZodObject<{
417
417
  id: z.ZodString;
418
418
  operation: z.ZodEnum<{
419
+ average_meter: "average_meter";
419
420
  count: "count";
420
421
  count_distinct: "count_distinct";
421
422
  sum_meter: "sum_meter";
422
- average_meter: "average_meter";
423
423
  }>;
424
424
  field: z.ZodOptional<z.ZodEnum<{
425
- resource_id: "resource_id";
426
425
  request_id: "request_id";
426
+ resource_id: "resource_id";
427
427
  }>>;
428
428
  meterCategory: z.ZodOptional<z.ZodString>;
429
429
  meterType: z.ZodOptional<z.ZodString>;
@@ -432,23 +432,23 @@ export declare const AuditAggregationQuerySchema: z.ZodObject<{
432
432
  }, z.core.$strict>;
433
433
  export declare const AuditTrailQuerySchema: z.ZodObject<{
434
434
  actions: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
435
- create: "create";
436
- update: "update";
437
- delete: "delete";
438
- bulk_create: "bulk_create";
435
+ attach: "attach";
439
436
  bulk_change_type: "bulk_change_type";
440
- bulk_update: "bulk_update";
437
+ bulk_create: "bulk_create";
441
438
  bulk_delete: "bulk_delete";
442
- attach: "attach";
443
- detach: "detach";
439
+ bulk_update: "bulk_update";
440
+ create: "create";
444
441
  credentials_fill: "credentials_fill";
445
442
  credentials_totp_generation: "credentials_totp_generation";
446
- publish: "publish";
447
- unpublish: "unpublish";
448
- inference: "inference";
443
+ delete: "delete";
444
+ detach: "detach";
445
+ document_processed: "document_processed";
449
446
  embedding: "embedding";
450
447
  image_generation: "image_generation";
451
- document_processed: "document_processed";
448
+ inference: "inference";
449
+ publish: "publish";
450
+ unpublish: "unpublish";
451
+ update: "update";
452
452
  }>, z.ZodString]>>>;
453
453
  resourceTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
454
454
  resourceId: z.ZodOptional<z.ZodString>;
@@ -2,8 +2,8 @@ import { z } from 'zod';
2
2
  export declare const BulkObjectDeleteResultSchema: z.ZodObject<{
3
3
  operation: z.ZodLiteral<"delete">;
4
4
  status: z.ZodEnum<{
5
- failed: "failed";
6
5
  completed: "completed";
6
+ failed: "failed";
7
7
  in_progress: "in_progress";
8
8
  }>;
9
9
  deleted: z.ZodNumber;
@@ -12,8 +12,8 @@ export declare const BulkObjectDeleteResultSchema: z.ZodObject<{
12
12
  export declare const BulkObjectUpdateResultSchema: z.ZodObject<{
13
13
  operation: z.ZodLiteral<"update">;
14
14
  status: z.ZodEnum<{
15
- failed: "failed";
16
15
  completed: "completed";
16
+ failed: "failed";
17
17
  in_progress: "in_progress";
18
18
  }>;
19
19
  updated: z.ZodNumber;
@@ -22,8 +22,8 @@ export declare const BulkObjectUpdateResultSchema: z.ZodObject<{
22
22
  export declare const BulkObjectCreateResultSchema: z.ZodObject<{
23
23
  operation: z.ZodLiteral<"create">;
24
24
  status: z.ZodEnum<{
25
- failed: "failed";
26
25
  completed: "completed";
26
+ failed: "failed";
27
27
  in_progress: "in_progress";
28
28
  }>;
29
29
  created: z.ZodNumber;
@@ -41,18 +41,18 @@ export declare const BulkObjectCreateResultSchema: z.ZodObject<{
41
41
  export declare const BulkOperationResultSchema: z.ZodObject<{
42
42
  operation: z.ZodLiteral<"generic">;
43
43
  status: z.ZodEnum<{
44
- failed: "failed";
45
44
  completed: "completed";
45
+ failed: "failed";
46
46
  in_progress: "in_progress";
47
47
  }>;
48
48
  }, z.core.$strict>;
49
49
  export declare const BulkOperationPayloadSchema: z.ZodObject<{
50
50
  name: z.ZodEnum<{
51
+ change_type: "change_type";
51
52
  create: "create";
52
- update: "update";
53
53
  delete: "delete";
54
- change_type: "change_type";
55
54
  start_workflow: "start_workflow";
55
+ update: "update";
56
56
  }>;
57
57
  ids: z.ZodArray<z.ZodString>;
58
58
  params: z.ZodObject<{}, z.core.$loose>;
@@ -60,15 +60,15 @@ export declare const BulkOperationPayloadSchema: z.ZodObject<{
60
60
  export declare const BulkOperationResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
61
61
  operation: z.ZodLiteral<"generic">;
62
62
  status: z.ZodEnum<{
63
- failed: "failed";
64
63
  completed: "completed";
64
+ failed: "failed";
65
65
  in_progress: "in_progress";
66
66
  }>;
67
67
  }, z.core.$strict>, z.ZodObject<{
68
68
  operation: z.ZodLiteral<"create">;
69
69
  status: z.ZodEnum<{
70
- failed: "failed";
71
70
  completed: "completed";
71
+ failed: "failed";
72
72
  in_progress: "in_progress";
73
73
  }>;
74
74
  created: z.ZodNumber;
@@ -85,8 +85,8 @@ export declare const BulkOperationResponseSchema: z.ZodDiscriminatedUnion<[z.Zod
85
85
  }, z.core.$strict>, z.ZodObject<{
86
86
  operation: z.ZodLiteral<"update">;
87
87
  status: z.ZodEnum<{
88
- failed: "failed";
89
88
  completed: "completed";
89
+ failed: "failed";
90
90
  in_progress: "in_progress";
91
91
  }>;
92
92
  updated: z.ZodNumber;
@@ -94,8 +94,8 @@ export declare const BulkOperationResponseSchema: z.ZodDiscriminatedUnion<[z.Zod
94
94
  }, z.core.$strict>, z.ZodObject<{
95
95
  operation: z.ZodLiteral<"delete">;
96
96
  status: z.ZodEnum<{
97
- failed: "failed";
98
97
  completed: "completed";
98
+ failed: "failed";
99
99
  in_progress: "in_progress";
100
100
  }>;
101
101
  deleted: z.ZodNumber;