@dx-do/client 6.1.0 → 6.2.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 (52) hide show
  1. package/dist/index.cjs.js +788 -458
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +752 -459
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/src/lib/model/datastore/audit/query.d.ts +5 -0
  6. package/dist/src/lib/model/datastore/audit/query.d.ts.map +1 -1
  7. package/dist/src/lib/model/datastore/audit/record.d.ts +5 -0
  8. package/dist/src/lib/model/datastore/audit/record.d.ts.map +1 -1
  9. package/dist/src/lib/model/datastore/audit/response.d.ts +6 -0
  10. package/dist/src/lib/model/datastore/audit/response.d.ts.map +1 -1
  11. package/dist/src/lib/model/datastore/blobstorage/file-envelope.d.ts +24 -0
  12. package/dist/src/lib/model/datastore/blobstorage/file-envelope.d.ts.map +1 -0
  13. package/dist/src/lib/model/datastore/blobstorage/filters.d.ts +3 -0
  14. package/dist/src/lib/model/datastore/blobstorage/filters.d.ts.map +1 -1
  15. package/dist/src/lib/model/datastore/blobstorage/index.d.ts +1 -0
  16. package/dist/src/lib/model/datastore/blobstorage/index.d.ts.map +1 -1
  17. package/dist/src/lib/model/datastore/blobstorage/query.d.ts +4 -0
  18. package/dist/src/lib/model/datastore/blobstorage/query.d.ts.map +1 -1
  19. package/dist/src/lib/model/datastore/blobstorage/response.d.ts +2 -0
  20. package/dist/src/lib/model/datastore/blobstorage/response.d.ts.map +1 -1
  21. package/dist/src/lib/model/datastore/features/feature.d.ts +2 -0
  22. package/dist/src/lib/model/datastore/features/feature.d.ts.map +1 -1
  23. package/dist/src/lib/model/datastore/features/query.d.ts +5 -0
  24. package/dist/src/lib/model/datastore/features/query.d.ts.map +1 -1
  25. package/dist/src/lib/model/datastore/features/response.d.ts +1 -0
  26. package/dist/src/lib/model/datastore/features/response.d.ts.map +1 -1
  27. package/dist/src/lib/model/datastore/index.d.ts +1 -0
  28. package/dist/src/lib/model/datastore/index.d.ts.map +1 -1
  29. package/dist/src/lib/model/datastore/nass/store.d.ts +30 -34
  30. package/dist/src/lib/model/datastore/nass/store.d.ts.map +1 -1
  31. package/dist/src/lib/model/datastore/states/filters.d.ts +12 -0
  32. package/dist/src/lib/model/datastore/states/filters.d.ts.map +1 -1
  33. package/dist/src/lib/model/datastore/states/query.d.ts +5 -0
  34. package/dist/src/lib/model/datastore/states/query.d.ts.map +1 -1
  35. package/dist/src/lib/model/datastore/states/response.d.ts +1 -0
  36. package/dist/src/lib/model/datastore/states/response.d.ts.map +1 -1
  37. package/dist/src/lib/model/datastore/tokens/query.d.ts +7 -0
  38. package/dist/src/lib/model/datastore/tokens/query.d.ts.map +1 -1
  39. package/dist/src/lib/model/datastore/tokens/response.d.ts +1 -0
  40. package/dist/src/lib/model/datastore/tokens/response.d.ts.map +1 -1
  41. package/dist/src/lib/model/datastore/views/filters.d.ts +7 -0
  42. package/dist/src/lib/model/datastore/views/filters.d.ts.map +1 -1
  43. package/dist/src/lib/model/datastore/views/query.d.ts +2 -0
  44. package/dist/src/lib/model/datastore/views/query.d.ts.map +1 -1
  45. package/dist/src/lib/model/datastore/views/response.d.ts.map +1 -1
  46. package/dist/src/lib/model/log/ingest.d.ts +15 -4
  47. package/dist/src/lib/model/log/ingest.d.ts.map +1 -1
  48. package/dist/src/lib/services/datastore/datastore-nass.service.d.ts +6 -0
  49. package/dist/src/lib/services/datastore/datastore-nass.service.d.ts.map +1 -1
  50. package/dist/src/lib/services/logs.service.d.ts +28 -7
  51. package/dist/src/lib/services/logs.service.d.ts.map +1 -1
  52. package/package.json +1 -1
package/dist/index.esm.js CHANGED
@@ -26989,68 +26989,80 @@ var DashboardSearch;
26989
26989
  })(DashboardSearch || (DashboardSearch = {}));
26990
26990
 
26991
26991
  const VertexStateFilterLazy = z.lazy(() => VertexStateFilterSchema);
26992
+ /** Matches every vertex state. */
26992
26993
  const VertexStateAllFilterSchema = z.looseObject({
26993
- op: z.literal('ALL'),
26994
+ op: z.literal('ALL').describe('Match all vertex states'),
26994
26995
  });
26996
+ /** Logical AND of nested vertex-state filters. */
26995
26997
  const VertexStateAndFilterSchema = z.looseObject({
26996
- op: z.literal('AND'),
26997
- input: z.array(VertexStateFilterLazy).optional(),
26998
+ op: z.literal('AND').describe('Logical AND of nested filters'),
26999
+ input: z.array(VertexStateFilterLazy).optional().describe('Child filters to AND together'),
26998
27000
  });
27001
+ /** Logical OR of nested vertex-state filters. */
26999
27002
  const VertexStateOrFilterSchema = z.looseObject({
27000
- op: z.literal('OR'),
27001
- input: z.array(VertexStateFilterLazy).optional(),
27003
+ op: z.literal('OR').describe('Logical OR of nested filters'),
27004
+ input: z.array(VertexStateFilterLazy).optional().describe('Child filters to OR together'),
27002
27005
  });
27006
+ /** Restricts to states belonging to the given alerts. */
27003
27007
  const VertexStateAlertFilterSchema = z.looseObject({
27004
- op: z.literal('ALERT'),
27005
- input: VertexStateFilterLazy.optional(),
27006
- not: z.boolean().optional(),
27007
- alertId: z.array(z.number()).optional(),
27008
- alertExternalId: z.array(z.string()).optional(),
27008
+ op: z.literal('ALERT').describe('Match states by alert'),
27009
+ input: VertexStateFilterLazy.optional().describe('Nested filter to apply before this predicate'),
27010
+ not: z.boolean().optional().describe('Negate the predicate when true'),
27011
+ alertId: z.array(z.number()).optional().describe('Internal alert IDs to match'),
27012
+ alertExternalId: z.array(z.string()).optional().describe('External alert IDs to match'),
27009
27013
  });
27014
+ /** Restricts to states belonging to the given metrics. */
27010
27015
  const VertexStateMetricFilterSchema = z.looseObject({
27011
- op: z.literal('METRIC'),
27012
- input: VertexStateFilterLazy.optional(),
27013
- not: z.boolean().optional(),
27014
- metricId: z.array(z.number()).optional(),
27015
- metricExternalId: z.array(z.string()).optional(),
27016
+ op: z.literal('METRIC').describe('Match states by metric'),
27017
+ input: VertexStateFilterLazy.optional().describe('Nested filter to apply before this predicate'),
27018
+ not: z.boolean().optional().describe('Negate the predicate when true'),
27019
+ metricId: z.array(z.number()).optional().describe('Internal metric IDs to match'),
27020
+ metricExternalId: z.array(z.string()).optional().describe('External metric IDs to match'),
27016
27021
  });
27022
+ /** Restricts to the given state status values. */
27017
27023
  const VertexStateStateFilterSchema = z.looseObject({
27018
- op: z.literal('STATE'),
27019
- input: VertexStateFilterLazy.optional(),
27020
- not: z.boolean().optional(),
27021
- state: z.array(z.number()).optional(),
27024
+ op: z.literal('STATE').describe('Match by state status value'),
27025
+ input: VertexStateFilterLazy.optional().describe('Nested filter to apply before this predicate'),
27026
+ not: z.boolean().optional().describe('Negate the predicate when true'),
27027
+ state: z.array(z.number()).optional().describe('State status codes to match'),
27022
27028
  });
27029
+ /** Restricts to states on the given vertices. */
27023
27030
  const VertexStateVertexIdFilterSchema = z.looseObject({
27024
- op: z.literal('VERTEX_ID'),
27025
- input: VertexStateFilterLazy.optional(),
27026
- not: z.boolean().optional(),
27027
- vertexId: z.array(z.number()).optional(),
27031
+ op: z.literal('VERTEX_ID').describe('Match states by owning vertex ID'),
27032
+ input: VertexStateFilterLazy.optional().describe('Nested filter to apply before this predicate'),
27033
+ not: z.boolean().optional().describe('Negate the predicate when true'),
27034
+ vertexId: z.array(z.number()).optional().describe('Vertex IDs to match'),
27028
27035
  });
27036
+ /** Restricts to states in the given namespaces. */
27029
27037
  const VertexStateNamespaceFilterSchema = z.looseObject({
27030
- op: z.literal('NAMESPACE'),
27031
- input: VertexStateFilterLazy.optional(),
27032
- not: z.boolean().optional(),
27033
- namespaces: z.array(z.string()).optional(),
27038
+ op: z.literal('NAMESPACE').describe('Match states by namespace'),
27039
+ input: VertexStateFilterLazy.optional().describe('Nested filter to apply before this predicate'),
27040
+ not: z.boolean().optional().describe('Negate the predicate when true'),
27041
+ namespaces: z.array(z.string()).optional().describe('Namespaces to match'),
27034
27042
  });
27043
+ /** Restricts to states produced by the given management modules. */
27035
27044
  const VertexStateManagementModuleFilterSchema = z.looseObject({
27036
- op: z.literal('MANAGEMENT_MODULE'),
27037
- input: VertexStateFilterLazy.optional(),
27038
- not: z.boolean().optional(),
27039
- moduleNames: z.array(z.string()).optional(),
27045
+ op: z.literal('MANAGEMENT_MODULE').describe('Match states by management module'),
27046
+ input: VertexStateFilterLazy.optional().describe('Nested filter to apply before this predicate'),
27047
+ not: z.boolean().optional().describe('Negate the predicate when true'),
27048
+ moduleNames: z.array(z.string()).optional().describe('Management module names to match'),
27040
27049
  });
27050
+ /** Discards the matched set (keeps only side-effect analytics from the nested filter). */
27041
27051
  const VertexStateEmptyFilterSchema = z.looseObject({
27042
- op: z.literal('EMPTY'),
27043
- input: VertexStateFilterLazy.optional(),
27052
+ op: z.literal('EMPTY').describe('Discard matched states, keeping only nested-filter analytics'),
27053
+ input: VertexStateFilterLazy.optional().describe('Nested filter whose analytics to retain'),
27044
27054
  });
27045
27055
  const VertexGroupSchema = z.looseObject({
27046
- groupName: z.string(),
27047
- vertexIds: z.array(z.number()).optional(),
27056
+ groupName: z.string().describe('Name of the vertex group'),
27057
+ vertexIds: z.array(z.number()).optional().describe('Vertex IDs belonging to the group'),
27048
27058
  });
27059
+ /** Rolls matched states up into per-group status counts. */
27049
27060
  const VertexStateCollectVertexGroupStatusFilterSchema = z.looseObject({
27050
- op: z.literal('COLLECT_GROUPS'),
27051
- input: VertexStateFilterLazy.optional(),
27052
- groups: z.array(VertexGroupSchema).optional(),
27061
+ op: z.literal('COLLECT_GROUPS').describe('Aggregate matched states into per-group status counts'),
27062
+ input: VertexStateFilterLazy.optional().describe('Nested filter selecting the states to aggregate'),
27063
+ groups: z.array(VertexGroupSchema).optional().describe('Vertex groups to tally status for'),
27053
27064
  });
27065
+ /** Discriminated union of all vertex-state filter operators, keyed by `op`. */
27054
27066
  const VertexStateFilterSchema = z.discriminatedUnion('op', [
27055
27067
  VertexStateAllFilterSchema,
27056
27068
  VertexStateAndFilterSchema,
@@ -29108,6 +29120,67 @@ function decodeMetricTypeBits(n) {
29108
29120
  return { matched, residual: working >>> 0 };
29109
29121
  }
29110
29122
 
29123
+ /**
29124
+ * Wire format for `POST /nass/metricValue/store`.
29125
+ *
29126
+ * Each datapoint in `values` is a positional tuple. Two variants are supported,
29127
+ * discriminated by the type of the **second** element:
29128
+ *
29129
+ * Regular / String metric (7 elements, `interval` optional):
29130
+ * `[id, time, min|null, max|null, value, count, interval?]`
29131
+ * - String metrics: set `min` and `max` to `null`.
29132
+ * - `interval` defaults to 15 seconds when omitted.
29133
+ *
29134
+ * Extension metric (variable length):
29135
+ * `[id, extensionId, time, interval, ...values]`
29136
+ * - `interval` is required for extensions.
29137
+ * - trailing values may be any mix of number, string, or null.
29138
+ *
29139
+ * The two tuple shapes are unambiguous because index `1` is a `number` (`time`)
29140
+ * for regular datapoints and a `string` (`extensionId`) for extension ones.
29141
+ */
29142
+ const NassRegularDatapointSchema = z
29143
+ .tuple([
29144
+ z.string().describe('Registered metric ID (from the metadata registration response)'),
29145
+ z.number().describe('Sample time in seconds since epoch'),
29146
+ z.number().nullable().describe('Minimum over the interval; `null` for string metrics'),
29147
+ z.number().nullable().describe('Maximum over the interval; `null` for string metrics'),
29148
+ z.union([z.number(), z.string()]).describe('Sample value — numeric, or string for string metrics'),
29149
+ z.number().describe('Number of raw samples aggregated into this datapoint'),
29150
+ z.number().optional().describe('Aggregation interval in seconds; defaults to 15 when omitted'),
29151
+ ])
29152
+ .describe('Regular/string metric datapoint: [id, time, min, max, value, count, interval?]');
29153
+ const NassExtensionDatapointSchema = z
29154
+ .tuple([
29155
+ z.string().describe('Registered metric ID'),
29156
+ z.string().describe('Extension ID identifying the extension metric variant'),
29157
+ z.number().describe('Sample time in seconds since epoch'),
29158
+ z.number().describe('Aggregation interval in seconds (required for extensions)'),
29159
+ ], z
29160
+ .union([z.number(), z.string(), z.null()])
29161
+ .describe('Extension value element — number, string, or null'))
29162
+ .describe('Extension metric datapoint: [id, extensionId, time, interval, ...values]');
29163
+ const NassDatapointSchema = z
29164
+ .union([NassRegularDatapointSchema, NassExtensionDatapointSchema])
29165
+ .describe('A single metric datapoint — regular/string or extension variant');
29166
+ const NassStoreRequestSchema = z.looseObject({
29167
+ values: z.array(NassDatapointSchema).describe('Datapoints to store, one tuple per sample'),
29168
+ });
29169
+ const NassStoreResponseSchema = z.looseObject({
29170
+ metricForwardFailures: z
29171
+ .number()
29172
+ .optional()
29173
+ .describe('Count of datapoints that failed downstream forwarding (present only when > 0)'),
29174
+ metricStringsClamped: z
29175
+ .number()
29176
+ .optional()
29177
+ .describe('Count of string metric values clamped to the server-side length limit'),
29178
+ metricExtensionsClamped: z
29179
+ .number()
29180
+ .optional()
29181
+ .describe('Count of extension metric values clamped to the server-side limit'),
29182
+ });
29183
+
29111
29184
  /**
29112
29185
  * Numeric comparison operators for the `NUMERIC` predicate.
29113
29186
  * - `EQ` — equal
@@ -30071,6 +30144,178 @@ const QueryRequestSchema = z.looseObject({
30071
30144
 
30072
30145
  const QueryResultSchema = z.array(z.unknown());
30073
30146
 
30147
+ /**
30148
+ * Self-describing envelope stored as the blob body by `dx-do blob store`.
30149
+ *
30150
+ * Because `fetchBlob` returns only a blob's content (not its attributes) and
30151
+ * blob queries cannot filter by id, the metadata required to restore a file
30152
+ * travels inside the body itself. `dx-do blob fetch` keys off the `dxdoFile`
30153
+ * marker to decide whether to write a file back to disk or print the content.
30154
+ * The same metadata (minus `data`) is also mirrored into queryable blob
30155
+ * attributes so `blob list-blobs` / `blob query` can find file-blobs.
30156
+ */
30157
+ const BlobFileEnvelopeSchema = z.looseObject({
30158
+ dxdoFile: z
30159
+ .literal(1)
30160
+ .describe('Envelope format marker identifying a blob stored from a local file'),
30161
+ name: z
30162
+ .string()
30163
+ .describe('Original file basename, used to restore the file with its name'),
30164
+ md5: z.string().describe('MD5 hex digest of the original file bytes'),
30165
+ size: z.number().describe('Original file size in bytes'),
30166
+ mtime: z.string().describe('Source file last-modified time, ISO 8601'),
30167
+ sourcePath: z
30168
+ .string()
30169
+ .describe('Absolute local path the file was stored from'),
30170
+ mimeType: z
30171
+ .string()
30172
+ .describe('MIME type guessed from the file extension (application/octet-stream fallback)'),
30173
+ encoding: z.literal('base64').describe('Encoding of the `data` field'),
30174
+ data: z.string().describe('Base64-encoded original file bytes'),
30175
+ });
30176
+
30177
+ const BlobAttributeExpressionSchema = z.looseObject({
30178
+ name: z.string().describe('Attribute name to match against'),
30179
+ values: z.array(z.string()).optional().describe('Accepted values (set membership)'),
30180
+ });
30181
+ /** Matches every blob in the schema. */
30182
+ const BlobAllFilterSchema = z.looseObject({
30183
+ op: z.literal('ALL').describe('Match all blobs in the schema'),
30184
+ });
30185
+ /** Matches blobs whose attributes satisfy the given expressions (AND-ed). */
30186
+ const BlobAttributeFilterSchema = z.looseObject({
30187
+ op: z.literal('ATTRIBUTE').describe('Match blobs by attribute expressions'),
30188
+ expressions: z
30189
+ .array(BlobAttributeExpressionSchema)
30190
+ .optional()
30191
+ .describe('Attribute predicates; all must match'),
30192
+ });
30193
+ /** Discriminated union of blob filter operators, keyed by `op`. */
30194
+ const BlobFilterSchema = z.discriminatedUnion('op', [
30195
+ BlobAllFilterSchema,
30196
+ BlobAttributeFilterSchema,
30197
+ ]);
30198
+
30199
+ /** Indexed attributes attached to a blob (string→scalar map). */
30200
+ const BlobAttributesSchema = z
30201
+ .record(z.string(), z.union([z.string(), z.number(), z.boolean()]))
30202
+ .describe('Indexed, queryable attributes attached to the blob (scalar values)');
30203
+ /** Query params used by `POST /blobstorage/blob` and `DELETE /blobstorage/blob`. */
30204
+ const BlobStoreParamsSchema = z.looseObject({
30205
+ schema: z.string().describe('Blob schema (collection) name'),
30206
+ id: z.string().describe('Blob ID, unique within the schema'),
30207
+ ttl: z
30208
+ .union([z.string(), z.number()])
30209
+ .optional()
30210
+ .describe('Time-to-live: a relative duration in milliseconds (number), or an absolute ISO-8601 expiry timestamp (string)'),
30211
+ });
30212
+ const BlobBulkItemSchema = z.looseObject({
30213
+ schema: z.string().describe('Blob schema (collection) name'),
30214
+ id: z.string().describe('Blob ID, unique within the schema'),
30215
+ ttl: z
30216
+ .union([z.string(), z.number()])
30217
+ .describe('Time-to-live: a relative duration in milliseconds (number), or an absolute ISO-8601 expiry timestamp (string)'),
30218
+ data: z.string().describe('Blob payload (string-encoded)'),
30219
+ attributes: BlobAttributesSchema.optional().describe('Indexed attributes for querying'),
30220
+ });
30221
+ const BlobBulkStoreRequestSchema = z.looseObject({
30222
+ blobs: z.array(BlobBulkItemSchema).describe('Blobs to store in one batch'),
30223
+ });
30224
+ const BlobFetchParamsSchema = z.looseObject({
30225
+ schema: z.string().describe('Blob schema (collection) name'),
30226
+ id: z.string().describe('Blob ID to fetch'),
30227
+ version: z.number().optional().describe('Specific version to fetch; defaults to latest'),
30228
+ });
30229
+ const BlobQueryRequestSchema = z.looseObject({
30230
+ schema: z.string().describe('Blob schema (collection) to query'),
30231
+ filter: BlobFilterSchema.optional().describe('Attribute filter; omit to match all blobs'),
30232
+ includeData: z.boolean().optional().describe('Include each blob’s payload in the response'),
30233
+ includeProfile: z.boolean().optional().describe('Include profiling/diagnostic info in the response'),
30234
+ });
30235
+ const BlobDeleteParamsSchema = z.looseObject({
30236
+ schema: z.string().describe('Blob schema (collection) name'),
30237
+ id: z.string().describe('Blob ID to delete'),
30238
+ });
30239
+ const BlobBulkDeleteEntrySchema = z.looseObject({
30240
+ schema: z.string().describe('Blob schema (collection) name'),
30241
+ id: z.string().describe('Blob ID to delete'),
30242
+ });
30243
+ const BlobBulkDeleteRequestSchema = z.looseObject({
30244
+ blobs: z.array(BlobBulkDeleteEntrySchema).describe('Blobs to delete in one batch'),
30245
+ });
30246
+ /** Schema-list request takes no parameters. */
30247
+ const BlobSchemaListRequestSchema = z.looseObject({});
30248
+ /** Async command to delete an entire blob schema and all its blobs. */
30249
+ const BlobAsyncDeleteSchemaCommandSchema = z.looseObject({
30250
+ op: z.literal('DELETE_SCHEMA').describe('Delete an entire blob schema'),
30251
+ schema: z.string().describe('Blob schema (collection) to delete'),
30252
+ });
30253
+ /** Discriminated union of async blob commands, keyed by `op`. */
30254
+ const BlobAsyncCommandSchema = z.discriminatedUnion('op', [
30255
+ BlobAsyncDeleteSchemaCommandSchema,
30256
+ ]);
30257
+ const BlobExecuteAsyncRequestSchema = z.looseObject({
30258
+ commands: z.array(BlobAsyncCommandSchema).describe('Async commands to enqueue'),
30259
+ });
30260
+ const BlobAsyncResultRequestSchema = z.looseObject({
30261
+ correlationKey: z.string().describe('Correlation key returned by the execute-async call'),
30262
+ });
30263
+
30264
+ const BlobMetadataSchema = z.looseObject({
30265
+ schema: z.string().optional().describe('Blob schema (collection) name'),
30266
+ id: z.string().optional().describe('Blob ID'),
30267
+ ttl: z.string().optional().describe('Remaining time-to-live'),
30268
+ attributes: BlobAttributesSchema.optional().describe('Indexed attributes attached to the blob'),
30269
+ version: z.number().optional().describe('Stored version number'),
30270
+ data: z.string().optional().describe('Blob payload (present only when data was requested)'),
30271
+ });
30272
+ /** Store response — metadata for the persisted blob. */
30273
+ const BlobStoreResponseSchema = BlobMetadataSchema;
30274
+ const BlobBulkStoreResponseSchema = z.looseObject({
30275
+ blobs: z.array(BlobMetadataSchema).optional().describe('Successfully stored blobs'),
30276
+ failed: z.array(BlobMetadataSchema).optional().describe('Blobs that failed to store'),
30277
+ });
30278
+ const BlobQueryResponseSchema = z.looseObject({
30279
+ blobs: z.array(BlobMetadataSchema).optional().describe('Blobs matching the query'),
30280
+ });
30281
+ const BlobDeleteResponseSchema = z.looseObject({
30282
+ blob: BlobMetadataSchema.optional().describe('Metadata of the deleted blob'),
30283
+ });
30284
+ const BlobBulkDeleteResponseSchema = z.looseObject({
30285
+ deletedBlobs: z.array(BlobMetadataSchema).optional().describe('Blobs that were deleted'),
30286
+ });
30287
+ const BlobSchemaItemSchema = z.looseObject({
30288
+ name: z.string().optional().describe('Blob schema (collection) name'),
30289
+ });
30290
+ const BlobSchemaListResponseSchema = z.looseObject({
30291
+ schemas: z.array(BlobSchemaItemSchema).optional().describe('Available blob schemas'),
30292
+ });
30293
+ const BlobExecuteAsyncResponseSchema = z.looseObject({
30294
+ correlationKey: z.string().optional().describe('Key to poll for the async operation result'),
30295
+ });
30296
+ /** Lifecycle state of an async blob operation. */
30297
+ const BlobAsyncResultStateSchema = z
30298
+ .enum(['PENDING', 'RUNNING', 'FINISHED', 'FAILED'])
30299
+ .describe('Async operation state (PENDING, RUNNING, FINISHED, FAILED)');
30300
+ const BlobDeleteSchemaResultSchema = z.looseObject({
30301
+ schema: z.string().optional().describe('Schema that was deleted'),
30302
+ deletedBlobs: z.number().optional().describe('Number of blobs removed with the schema'),
30303
+ });
30304
+ const BlobAsyncResultEntrySchema = z.looseObject({
30305
+ op: z.string().optional().describe('The async command this result corresponds to'),
30306
+ deletedSchema: BlobDeleteSchemaResultSchema.optional().describe('Result detail for a DELETE_SCHEMA command'),
30307
+ });
30308
+ const BlobAsyncResultResponseSchema = z.looseObject({
30309
+ correlationKey: z.string().optional().describe('Correlation key being polled'),
30310
+ state: z.string().optional().describe('Overall operation state (see BlobAsyncResultState)'),
30311
+ numberOfDone: z.number().optional().describe('Count of commands completed so far'),
30312
+ numberOfRemaining: z.number().optional().describe('Count of commands still pending'),
30313
+ results: z
30314
+ .record(z.string(), BlobAsyncResultEntrySchema)
30315
+ .optional()
30316
+ .describe('Per-command results keyed by command identifier'),
30317
+ });
30318
+
30074
30319
  const DATASTORE_SCHEMA_TYPES = [
30075
30320
  'tas',
30076
30321
  'nassql',
@@ -45515,6 +45760,49 @@ const inventorySearchRequestBodyExample = {
45515
45760
  refreshView: false,
45516
45761
  };
45517
45762
 
45763
+ var LogIngest;
45764
+ (function (LogIngest) {
45765
+ LogIngest.LogIngestOptionsSchema = z.looseObject({
45766
+ logtype: z
45767
+ .string()
45768
+ .optional()
45769
+ .describe("Log type — matched against the tenant's configured log types (default: `\"generic\"`)"),
45770
+ host: z
45771
+ .string()
45772
+ .optional()
45773
+ .describe('Host name (default: auto-detected via `os.hostname()`)'),
45774
+ message: z.string().describe('Log message text'),
45775
+ timestamp: z
45776
+ .string()
45777
+ .optional()
45778
+ .describe('ISO 8601 timestamp (default: now)'),
45779
+ agentName: z
45780
+ .string()
45781
+ .optional()
45782
+ .describe('Agent name sent as `__agent_name` (default: `"Logs Collector"`)'),
45783
+ agentInstance: z
45784
+ .string()
45785
+ .optional()
45786
+ .describe('Agent instance identifier sent as `__agent_instance` (default: `"dx-do"`)'),
45787
+ containerId: z
45788
+ .string()
45789
+ .optional()
45790
+ .describe('Container ID for the log entry (default: same as host)'),
45791
+ containerName: z
45792
+ .string()
45793
+ .optional()
45794
+ .describe('Container name for the log entry (default: same as agentInstance)'),
45795
+ file: z
45796
+ .string()
45797
+ .optional()
45798
+ .describe('Source file label (default: `"dx-do.cli"`)'),
45799
+ ip: z
45800
+ .string()
45801
+ .optional()
45802
+ .describe('Source IP address (default: first non-loopback IPv4, falls back to `"127.0.0.1"`)'),
45803
+ });
45804
+ })(LogIngest || (LogIngest = {}));
45805
+
45518
45806
  var LogQuery;
45519
45807
  (function (LogQuery) {
45520
45808
  LogQuery.ValidFieldConditions = [
@@ -73424,55 +73712,70 @@ class LogsService {
73424
73712
  queryLogs(logQueryBody) {
73425
73713
  return this.dxSaasService.oiPost('oi/loganalytics/v1/api/logs/filter', logQueryBody);
73426
73714
  }
73427
- /** Ingests a single log entry into the log gateway. */
73428
- ingestLog(entry) {
73429
- return this.ingestLogs([entry]);
73430
- }
73431
73715
  /**
73432
- * Builds the enriched payload array that will be sent to the uim_logs endpoint.
73433
- * Exposed so callers can inspect the payload without sending (e.g. dry-run).
73716
+ * Builds the enriched payload object for a single log entry.
73717
+ *
73718
+ * @remarks `options` is validated against
73719
+ * {@link LogIngest.LogIngestOptionsSchema} before the payload is assembled.
73720
+ * @param options - Known log entry fields (`message` required; the rest
73721
+ * optional with sensible defaults).
73722
+ * @param additionalFields - Arbitrary extra fields to include in the indexed document.
73723
+ * @returns The payload object ready to POST to the uim_logs ingestion endpoint.
73724
+ * @throws ZodError if `options` fails schema validation.
73434
73725
  */
73435
- buildLogPayload(entries) {
73726
+ buildLogPayload(options, additionalFields) {
73727
+ LogIngest.LogIngestOptionsSchema.parse(options);
73436
73728
  const cohortId = this.dxSaasService.dxdoConfiguration.dxConfiguration.cohortId;
73437
73729
  const tenantIdUpper = cohortId.toUpperCase();
73438
- const now = new Date().toISOString();
73439
- return entries.map((e) => {
73440
- const host = e.host ?? hostname();
73441
- const logtype = e.logtype;
73442
- const ip = e.ip ?? detectIPv4();
73443
- const agentInstance = e.agentInstance ?? 'dx-do';
73444
- const agentName = e.agentName ?? 'Logs Collector';
73445
- const containerId = e.containerId ?? host;
73446
- const containerName = e.containerName ?? agentInstance;
73447
- const file = e.file ?? 'dx-do.cli';
73448
- const tag = `${logtype} logs`;
73449
- // temp_fields must have exactly 9 space-separated components before the message
73450
- // is appended by the SaaS filter (agentbase_msg = temp_fields + " " + message).
73451
- // The Kafka consumer parses positionally: [0]=tenant [1]=logtype [2]=host
73452
- // [3]=container_id [4]=container_name [5]=ip [6-7]=tags [8]=source_file [9+]=message.
73453
- const temp_fields = `${tenantIdUpper} ${logtype} ${host} ${containerId} ${containerName} ${ip} ${tag} ${file}`;
73454
- return {
73455
- '@timestamp': now,
73456
- // logtype must be top-level: the SaaS filter does `update => ["type", "%{logtype}"]`
73457
- // which drives Kafka consumer index routing — without it type stays as "ingestionapi"
73458
- logtype,
73459
- message: e.message ?? '',
73460
- host: { name: host, hostname: host },
73461
- tenant_id: tenantIdUpper,
73462
- temp_fields,
73463
- tags: [tag],
73464
- __agent_name: agentName,
73465
- __agent_instance: agentInstance,
73466
- container_id: containerId,
73467
- container_name: containerName,
73468
- ...Object.fromEntries(Object.entries(e).filter(([k]) => !['logtype', 'message', 'host', 'timestamp', 'ip',
73469
- 'agentInstance', 'agentName', 'containerId', 'containerName', 'file'].includes(k))),
73470
- };
73471
- });
73730
+ const logtype = options.logtype ?? 'generic';
73731
+ const host = options.host ?? hostname();
73732
+ const ip = options.ip ?? detectIPv4();
73733
+ const agentInstance = options.agentInstance ?? 'dx-do';
73734
+ const agentName = options.agentName ?? 'Logs Collector';
73735
+ const containerId = options.containerId ?? host;
73736
+ const containerName = options.containerName ?? agentInstance;
73737
+ const file = options.file ?? 'dx-do.cli';
73738
+ const tag = `${logtype} logs`;
73739
+ // temp_fields must have exactly 9 space-separated components before the message
73740
+ // is appended by the SaaS filter (agentbase_msg = temp_fields + " " + message).
73741
+ // The Kafka consumer parses positionally: [0]=tenant [1]=logtype [2]=host
73742
+ // [3]=container_id [4]=container_name [5]=ip [6-7]=tags [8]=source_file [9+]=message.
73743
+ const temp_fields = `${tenantIdUpper} ${logtype} ${host} ${containerId} ${containerName} ${ip} ${tag} ${file}`;
73744
+ return {
73745
+ '@timestamp': options.timestamp ?? new Date().toISOString(),
73746
+ // logtype must be top-level: the SaaS filter does `update => ["type", "%{logtype}"]`
73747
+ // which drives Kafka consumer index routing — without it type stays as "ingestionapi"
73748
+ logtype,
73749
+ message: options.message,
73750
+ host: { name: host, hostname: host },
73751
+ tenant_id: tenantIdUpper,
73752
+ temp_fields,
73753
+ tags: [tag],
73754
+ __agent_name: agentName,
73755
+ __agent_instance: agentInstance,
73756
+ container_id: containerId,
73757
+ container_name: containerName,
73758
+ ...additionalFields,
73759
+ };
73760
+ }
73761
+ /**
73762
+ * Ingests a single log entry into the log gateway.
73763
+ *
73764
+ * @remarks The gateway returns an opaque ingestion acknowledgement with no
73765
+ * stable schema, so the response is intentionally typed `unknown` and not
73766
+ * validated. `options` is validated by {@link buildLogPayload}.
73767
+ */
73768
+ ingestLog(options, additionalFields) {
73769
+ return this.dxSaasService.logPost('mdo/v2/aoanalytics/ingestion/uim_logs', [this.buildLogPayload(options, additionalFields)]);
73472
73770
  }
73473
- /** Ingests a batch of log entries into the log gateway. */
73771
+ /**
73772
+ * Ingests a batch of log entries into the log gateway.
73773
+ *
73774
+ * @remarks Each entry's `options` is validated by {@link buildLogPayload}.
73775
+ * The gateway response is an opaque ack (typed `unknown`, not validated).
73776
+ */
73474
73777
  ingestLogs(entries) {
73475
- return this.dxSaasService.logPost('mdo/v2/aoanalytics/ingestion/uim_logs', this.buildLogPayload(entries));
73778
+ return this.dxSaasService.logPost('mdo/v2/aoanalytics/ingestion/uim_logs', entries.map((e) => this.buildLogPayload(e.options, e.additionalFields)));
73476
73779
  }
73477
73780
  }
73478
73781
 
@@ -75399,70 +75702,107 @@ class SituationService {
75399
75702
  }
75400
75703
  }
75401
75704
 
75705
+ /**
75706
+ * A single audit event as submitted to the audit store (`POST /audit/store`).
75707
+ * `eventTime`, `serviceId`, `resource`, `action`, and `result` are the required
75708
+ * core of an event; the remaining fields enrich it with actor and origin context.
75709
+ */
75402
75710
  const AuditRecordSchema = z.looseObject({
75403
- userName: z.string().optional(),
75404
- userFirstName: z.string().optional(),
75405
- userLastName: z.string().optional(),
75406
- userEmailAddr: z.string().optional(),
75407
- token: z.string().optional(),
75408
- eventTime: z.string(),
75409
- dsTenantId: z.string().optional(),
75410
- dxiTenantId: z.string().optional(),
75411
- cohortId: z.string().optional(),
75412
- serviceId: z.string(),
75413
- serviceInstanceId: z.string().optional(),
75414
- componentName: z.string().optional(),
75415
- clientIp: z.string().optional(),
75416
- clientHostName: z.string().optional(),
75417
- resource: z.string(),
75418
- action: z.string(),
75419
- result: z.string(),
75420
- oldValue: z.unknown().optional(),
75421
- newValue: z.unknown().optional(),
75422
- eventId: z.string().optional(),
75423
- additionalInfo: z.unknown().optional(),
75711
+ userName: z.string().optional().describe('Login/user name of the actor who performed the action'),
75712
+ userFirstName: z.string().optional().describe('Actor first name'),
75713
+ userLastName: z.string().optional().describe('Actor last name'),
75714
+ userEmailAddr: z.string().optional().describe('Actor email address'),
75715
+ token: z
75716
+ .string()
75717
+ .optional()
75718
+ .describe('Auth token associated with the actor, when the action was token-driven'),
75719
+ eventTime: z.string().describe('Time the audited event occurred (ISO 8601 or epoch string)'),
75720
+ dsTenantId: z.string().optional().describe('DataStore tenant ID the event belongs to'),
75721
+ dxiTenantId: z.string().optional().describe('DXI tenant ID the event belongs to'),
75722
+ cohortId: z.string().optional().describe('Cohort (tenant cohort) identifier'),
75723
+ serviceId: z.string().describe('ID of the service that emitted the audit event'),
75724
+ serviceInstanceId: z.string().optional().describe('Instance ID of the emitting service'),
75725
+ componentName: z.string().optional().describe('Component within the service that produced the event'),
75726
+ clientIp: z.string().optional().describe('Source IP address of the client that triggered the action'),
75727
+ clientHostName: z
75728
+ .string()
75729
+ .optional()
75730
+ .describe('Source host name of the client that triggered the action'),
75731
+ resource: z.string().describe('The resource that was acted upon (e.g. entity, config key, path)'),
75732
+ action: z.string().describe('The action performed on the resource (e.g. CREATE, UPDATE, DELETE)'),
75733
+ result: z.string().describe('Outcome of the action (e.g. SUCCESS, FAILURE)'),
75734
+ oldValue: z.unknown().optional().describe('Prior value of the resource before the action (for changes)'),
75735
+ newValue: z.unknown().optional().describe('New value of the resource after the action (for changes)'),
75736
+ eventId: z.string().optional().describe('Unique identifier assigned to this audit event'),
75737
+ additionalInfo: z.unknown().optional().describe('Free-form supplementary context attached to the event'),
75424
75738
  });
75425
75739
 
75426
75740
  const DateTimeSchema = z.custom((val) => DateTime.isDateTime(val));
75741
+ /**
75742
+ * Request body for an audit-log query (`POST /audit/query`). The event-time
75743
+ * window is required; the remaining fields narrow the result set and page it.
75744
+ */
75427
75745
  const AuditQueryRequestSchema = z.object({
75428
- fromEventTime: DateTimeSchema,
75429
- toEventTime: DateTimeSchema,
75430
- userName: z.string().optional(),
75431
- serviceId: z.string().optional(),
75432
- action: z.string().optional(),
75433
- result: z.string().optional(),
75434
- from: z.number().int().optional(),
75435
- size: z.number().int().optional(),
75746
+ fromEventTime: DateTimeSchema.describe('Inclusive start of the event-time window to search'),
75747
+ toEventTime: DateTimeSchema.describe('Inclusive end of the event-time window to search'),
75748
+ userName: z.string().optional().describe('Filter to audit events performed by this user name'),
75749
+ serviceId: z.string().optional().describe('Filter to audit events emitted by this service ID'),
75750
+ action: z
75751
+ .string()
75752
+ .optional()
75753
+ .describe('Filter to a specific audited action (e.g. CREATE, UPDATE, DELETE)'),
75754
+ result: z
75755
+ .string()
75756
+ .optional()
75757
+ .describe('Filter by outcome of the audited action (e.g. SUCCESS, FAILURE)'),
75758
+ from: z
75759
+ .number()
75760
+ .int()
75761
+ .optional()
75762
+ .describe('Zero-based offset of the first result to return (pagination)'),
75763
+ size: z.number().int().optional().describe('Maximum number of records to return (page size)'),
75436
75764
  });
75765
+ /** Cross-tenant variant of {@link AuditQueryRequestSchema} that adds a tenant filter. */
75437
75766
  AuditQueryRequestSchema.extend({
75438
- tenantId: z.string().optional(),
75767
+ tenantId: z
75768
+ .string()
75769
+ .optional()
75770
+ .describe('Restrict a cross-tenant (global) query to a single tenant ID'),
75439
75771
  });
75440
75772
 
75773
+ /** Store acknowledgement — the audit store returns an empty object on success. */
75441
75774
  const AuditStoreResponseSchema = z.looseObject({}).optional();
75775
+ /**
75776
+ * An audit record as returned from the query endpoint (Elasticsearch-shaped).
75777
+ * Distinct from {@link AuditRecordSchema}: every field is optional and the
75778
+ * actor email is keyed `userEmailAddress` (vs `userEmailAddr` on store).
75779
+ */
75442
75780
  const AuditRecordEsSchema = z.looseObject({
75443
- userName: z.string().optional(),
75444
- eventTime: z.string().optional(),
75445
- serverTime: z.string().optional(),
75446
- dsTenantId: z.string().optional(),
75447
- dxiTenantId: z.string().optional(),
75448
- serviceId: z.string().optional(),
75449
- serviceInstanceId: z.string().optional(),
75450
- componentName: z.string().optional(),
75451
- clientIp: z.string().optional(),
75452
- clientHostName: z.string().optional(),
75453
- resource: z.string().optional(),
75454
- action: z.string().optional(),
75455
- result: z.string().optional(),
75456
- oldValue: z.unknown().optional(),
75457
- newValue: z.unknown().optional(),
75458
- additionalInfo: z.unknown().optional(),
75459
- eventId: z.string().optional(),
75460
- userFirstName: z.string().optional(),
75461
- userMiddleName: z.string().optional(),
75462
- userLastName: z.string().optional(),
75463
- userEmailAddress: z.string().optional(),
75781
+ userName: z.string().optional().describe('Login/user name of the actor'),
75782
+ eventTime: z.string().optional().describe('Time the event occurred'),
75783
+ serverTime: z.string().optional().describe('Time the event was recorded server-side'),
75784
+ dsTenantId: z.string().optional().describe('DataStore tenant ID'),
75785
+ dxiTenantId: z.string().optional().describe('DXI tenant ID'),
75786
+ serviceId: z.string().optional().describe('ID of the service that emitted the event'),
75787
+ serviceInstanceId: z.string().optional().describe('Instance ID of the emitting service'),
75788
+ componentName: z.string().optional().describe('Component within the service'),
75789
+ clientIp: z.string().optional().describe('Source IP of the client'),
75790
+ clientHostName: z.string().optional().describe('Source host name of the client'),
75791
+ resource: z.string().optional().describe('Resource that was acted upon'),
75792
+ action: z.string().optional().describe('Action performed on the resource'),
75793
+ result: z.string().optional().describe('Outcome of the action'),
75794
+ oldValue: z.unknown().optional().describe('Prior value before the action'),
75795
+ newValue: z.unknown().optional().describe('New value after the action'),
75796
+ additionalInfo: z.unknown().optional().describe('Free-form supplementary context'),
75797
+ eventId: z.string().optional().describe('Unique identifier of the audit event'),
75798
+ userFirstName: z.string().optional().describe('Actor first name'),
75799
+ userMiddleName: z.string().optional().describe('Actor middle name'),
75800
+ userLastName: z.string().optional().describe('Actor last name'),
75801
+ userEmailAddress: z.string().optional().describe('Actor email address'),
75464
75802
  });
75465
- const AuditQueryResponseSchema = z.array(AuditRecordEsSchema);
75803
+ const AuditQueryResponseSchema = z
75804
+ .array(AuditRecordEsSchema)
75805
+ .describe('Audit records matching the query');
75466
75806
 
75467
75807
  /**
75468
75808
  * Service for the DX SaaS DataStore audit API (`/audit/...`).
@@ -75537,32 +75877,42 @@ class DataStoreAuditService {
75537
75877
  }
75538
75878
 
75539
75879
  const ViewFilterLazy = z.lazy(() => ViewFilterSchema);
75880
+ /** Matches every view. */
75540
75881
  const ViewAllFilterSchema = z.looseObject({
75541
- op: z.literal('ALL'),
75882
+ op: z.literal('ALL').describe('Match all views'),
75542
75883
  });
75884
+ /** Matches views by ID. */
75543
75885
  const ViewIdFilterSchema = z.looseObject({
75544
- op: z.literal('ID'),
75545
- ids: z.array(z.string()).optional(),
75886
+ op: z.literal('ID').describe('Match views by ID'),
75887
+ ids: z.array(z.string()).optional().describe('View IDs to match'),
75546
75888
  });
75889
+ /** Matches only active views. */
75547
75890
  const ViewActiveFilterSchema = z.looseObject({
75548
- op: z.literal('ACTIVE'),
75891
+ op: z.literal('ACTIVE').describe('Match only active views'),
75549
75892
  });
75550
75893
  const ViewAttributeExpressionSchema = z.looseObject({
75551
- name: z.string().optional(),
75552
- values: z.array(z.string()).optional(),
75894
+ name: z.string().optional().describe('Attribute name to match against'),
75895
+ values: z.array(z.string()).optional().describe('Accepted values (set membership)'),
75553
75896
  });
75897
+ /** Matches views whose attributes satisfy the given expressions (AND-ed). */
75554
75898
  const ViewAttributeFilterSchema = z.looseObject({
75555
- op: z.literal('ATTRIBUTE'),
75556
- expressions: z.array(ViewAttributeExpressionSchema).optional(),
75899
+ op: z.literal('ATTRIBUTE').describe('Match views by attribute expressions'),
75900
+ expressions: z
75901
+ .array(ViewAttributeExpressionSchema)
75902
+ .optional()
75903
+ .describe('Attribute predicates; all must match'),
75557
75904
  });
75905
+ /** Logical AND of nested view filters. */
75558
75906
  const ViewAndFilterSchema = z.looseObject({
75559
- op: z.literal('AND'),
75560
- input: z.array(ViewFilterLazy).optional(),
75907
+ op: z.literal('AND').describe('Logical AND of nested filters'),
75908
+ input: z.array(ViewFilterLazy).optional().describe('Child filters to AND together'),
75561
75909
  });
75910
+ /** Logical OR of nested view filters. */
75562
75911
  const ViewOrFilterSchema = z.looseObject({
75563
- op: z.literal('OR'),
75564
- input: z.array(ViewFilterLazy).optional(),
75912
+ op: z.literal('OR').describe('Logical OR of nested filters'),
75913
+ input: z.array(ViewFilterLazy).optional().describe('Child filters to OR together'),
75565
75914
  });
75915
+ /** Discriminated union of all view filter operators, keyed by `op`. */
75566
75916
  const ViewFilterSchema = z.discriminatedUnion('op', [
75567
75917
  ViewAllFilterSchema,
75568
75918
  ViewIdFilterSchema,
@@ -75572,65 +75922,77 @@ const ViewFilterSchema = z.discriminatedUnion('op', [
75572
75922
  ViewOrFilterSchema,
75573
75923
  ]);
75574
75924
 
75575
- const ViewAccessRoleSchema = z.enum(['read-only', 'read-write']);
75925
+ /** Access role granted to a user or group on a view. */
75926
+ const ViewAccessRoleSchema = z
75927
+ .enum(['read-only', 'read-write'])
75928
+ .describe('Access level granted on a view');
75576
75929
  const ViewAccessEntrySchema = z.looseObject({
75577
- name: z.string(),
75578
- role: ViewAccessRoleSchema.optional(),
75930
+ name: z.string().describe('User or group name being granted access'),
75931
+ role: ViewAccessRoleSchema.optional().describe('Granted role; defaults to read-only'),
75579
75932
  });
75580
75933
  const ViewAccessSchema = z.looseObject({
75581
- users: z.array(ViewAccessEntrySchema).optional(),
75582
- groups: z.array(ViewAccessEntrySchema).optional(),
75934
+ users: z.array(ViewAccessEntrySchema).optional().describe('Per-user access grants'),
75935
+ groups: z.array(ViewAccessEntrySchema).optional().describe('Per-group access grants'),
75583
75936
  });
75584
75937
  const ViewTasSpecSchema = z.looseObject({
75585
- filter: TasFilterSchema.optional(),
75938
+ filter: TasFilterSchema.optional().describe('TAS filter scoping the topology this view exposes'),
75586
75939
  });
75587
75940
  const ViewNassSpecSchema = z.looseObject({
75588
- filter: z.unknown().optional(),
75941
+ filter: z.unknown().optional().describe('NASS filter scoping the metrics this view exposes'),
75589
75942
  });
75590
75943
  const ViewSpecsSchema = z.looseObject({
75591
- tas: ViewTasSpecSchema.optional(),
75592
- nass: ViewNassSpecSchema.optional(),
75944
+ tas: ViewTasSpecSchema.optional().describe('Topology (TAS) scoping for the view'),
75945
+ nass: ViewNassSpecSchema.optional().describe('Metrics (NASS) scoping for the view'),
75593
75946
  });
75594
- const ViewOwnerSchema = z.enum(['APM', 'DP', 'OI']);
75947
+ /** Product that owns the view. */
75948
+ const ViewOwnerSchema = z
75949
+ .enum(['APM', 'DP', 'OI'])
75950
+ .describe('Owning product (APM, DP, OI)');
75595
75951
  const ViewAttributesSchema = z.looseObject({
75596
- label: z.string().optional(),
75597
- description: z.string().optional(),
75598
- owner: ViewOwnerSchema.optional(),
75952
+ label: z.string().optional().describe('Human-readable view label'),
75953
+ description: z.string().optional().describe('View description'),
75954
+ owner: ViewOwnerSchema.optional().describe('Owning product'),
75599
75955
  });
75600
75956
  const ViewBodySchema = z.looseObject({
75601
- access: ViewAccessSchema.optional(),
75602
- views: ViewSpecsSchema.optional(),
75603
- attributes: ViewAttributesSchema.optional(),
75957
+ access: ViewAccessSchema.optional().describe('Access grants for the view'),
75958
+ views: ViewSpecsSchema.optional().describe('TAS/NASS scoping specs for the view'),
75959
+ attributes: ViewAttributesSchema.optional().describe('View metadata (label, description, owner)'),
75604
75960
  });
75605
75961
  const SetDefaultViewRequestSchema = z.looseObject({
75606
- userName: z.string(),
75607
- defaultViews: z.union([z.string(), z.array(z.string())]).optional(),
75962
+ userName: z.string().describe('User whose default view(s) are being set'),
75963
+ defaultViews: z
75964
+ .union([z.string(), z.array(z.string())])
75965
+ .optional()
75966
+ .describe('View ID, or list of view IDs, to set as the user default'),
75608
75967
  });
75609
75968
  const ViewSearchRequestSchema = z.looseObject({
75610
- user: z.string(),
75611
- groups: z.array(z.string()).optional(),
75612
- minimalRules: z.unknown().optional(),
75613
- viewId: z.string().optional(),
75969
+ user: z.string().describe('User to resolve accessible views for'),
75970
+ groups: z.array(z.string()).optional().describe('Groups the user belongs to (widen access resolution)'),
75971
+ minimalRules: z.unknown().optional().describe('Optional minimal-rules payload for access resolution'),
75972
+ viewId: z.string().optional().describe('Restrict the search to a single view ID'),
75614
75973
  });
75615
75974
  const ViewQueryRequestSchema = z.looseObject({
75616
- filter: ViewFilterSchema.optional(),
75975
+ filter: ViewFilterSchema.optional().describe('Filter selecting which views to return; omit for all'),
75617
75976
  });
75618
75977
 
75619
75978
  const ViewResponseSchema = z.looseObject({
75620
- viewId: z.string().optional(),
75621
- access: ViewAccessSchema.optional(),
75622
- views: ViewSpecsSchema.optional(),
75623
- attributes: ViewAttributesSchema.optional(),
75979
+ viewId: z.string().optional().describe('Server-assigned view identifier'),
75980
+ access: ViewAccessSchema.optional().describe('Access grants on the view'),
75981
+ views: ViewSpecsSchema.optional().describe('TAS/NASS scoping specs of the view'),
75982
+ attributes: ViewAttributesSchema.optional().describe('View metadata (label, description, owner)'),
75624
75983
  });
75625
- const ViewListResponseSchema = z.array(ViewResponseSchema);
75984
+ const ViewListResponseSchema = z
75985
+ .array(ViewResponseSchema)
75986
+ .describe('All views returned by a list call');
75626
75987
  const ViewQueryResponseSchema = z.looseObject({
75627
- views: z.array(ViewResponseSchema).optional(),
75988
+ views: z.array(ViewResponseSchema).optional().describe('Views matching the query filter'),
75628
75989
  });
75629
75990
  const DefaultViewsResponseSchema = z.looseObject({
75630
- userName: z.string().optional(),
75991
+ userName: z.string().optional().describe('User the defaults belong to'),
75631
75992
  defaultViews: z
75632
75993
  .union([z.string(), z.array(z.string())])
75633
- .optional(),
75994
+ .optional()
75995
+ .describe("The user's default view ID, or list of IDs"),
75634
75996
  });
75635
75997
 
75636
75998
  /**
@@ -75767,129 +76129,6 @@ class DataStoreAuthViewsService {
75767
76129
  }
75768
76130
  }
75769
76131
 
75770
- const BlobAttributeExpressionSchema = z.looseObject({
75771
- name: z.string(),
75772
- values: z.array(z.string()).optional(),
75773
- });
75774
- const BlobAllFilterSchema = z.looseObject({
75775
- op: z.literal('ALL'),
75776
- });
75777
- const BlobAttributeFilterSchema = z.looseObject({
75778
- op: z.literal('ATTRIBUTE'),
75779
- expressions: z.array(BlobAttributeExpressionSchema).optional(),
75780
- });
75781
- const BlobFilterSchema = z.discriminatedUnion('op', [
75782
- BlobAllFilterSchema,
75783
- BlobAttributeFilterSchema,
75784
- ]);
75785
-
75786
- const BlobAttributesSchema = z.record(z.string(), z.union([z.string(), z.number(), z.boolean()]));
75787
- /** Query params used by `POST /blobstorage/blob` and `DELETE /blobstorage/blob`. */
75788
- z.looseObject({
75789
- schema: z.string(),
75790
- id: z.string(),
75791
- ttl: z.union([z.string(), z.number()]).optional(),
75792
- });
75793
- const BlobBulkItemSchema = z.looseObject({
75794
- schema: z.string(),
75795
- id: z.string(),
75796
- ttl: z.union([z.string(), z.number()]),
75797
- data: z.string(),
75798
- attributes: BlobAttributesSchema.optional(),
75799
- });
75800
- const BlobBulkStoreRequestSchema = z.looseObject({
75801
- blobs: z.array(BlobBulkItemSchema),
75802
- });
75803
- z.looseObject({
75804
- schema: z.string(),
75805
- id: z.string(),
75806
- version: z.number().optional(),
75807
- });
75808
- const BlobQueryRequestSchema = z.looseObject({
75809
- schema: z.string(),
75810
- filter: BlobFilterSchema.optional(),
75811
- includeData: z.boolean().optional(),
75812
- includeProfile: z.boolean().optional(),
75813
- });
75814
- z.looseObject({
75815
- schema: z.string(),
75816
- id: z.string(),
75817
- });
75818
- const BlobBulkDeleteEntrySchema = z.looseObject({
75819
- schema: z.string(),
75820
- id: z.string(),
75821
- });
75822
- const BlobBulkDeleteRequestSchema = z.looseObject({
75823
- blobs: z.array(BlobBulkDeleteEntrySchema),
75824
- });
75825
- z.looseObject({});
75826
- const BlobAsyncDeleteSchemaCommandSchema = z.looseObject({
75827
- op: z.literal('DELETE_SCHEMA'),
75828
- schema: z.string(),
75829
- });
75830
- const BlobAsyncCommandSchema = z.discriminatedUnion('op', [
75831
- BlobAsyncDeleteSchemaCommandSchema,
75832
- ]);
75833
- const BlobExecuteAsyncRequestSchema = z.looseObject({
75834
- commands: z.array(BlobAsyncCommandSchema),
75835
- });
75836
- const BlobAsyncResultRequestSchema = z.looseObject({
75837
- correlationKey: z.string(),
75838
- });
75839
-
75840
- const BlobMetadataSchema = z.looseObject({
75841
- schema: z.string().optional(),
75842
- id: z.string().optional(),
75843
- ttl: z.string().optional(),
75844
- attributes: BlobAttributesSchema.optional(),
75845
- version: z.number().optional(),
75846
- data: z.string().optional(),
75847
- });
75848
- const BlobStoreResponseSchema = BlobMetadataSchema;
75849
- const BlobBulkStoreResponseSchema = z.looseObject({
75850
- blobs: z.array(BlobMetadataSchema).optional(),
75851
- failed: z.array(BlobMetadataSchema).optional(),
75852
- });
75853
- const BlobQueryResponseSchema = z.looseObject({
75854
- blobs: z.array(BlobMetadataSchema).optional(),
75855
- });
75856
- const BlobDeleteResponseSchema = z.looseObject({
75857
- blob: BlobMetadataSchema.optional(),
75858
- });
75859
- const BlobBulkDeleteResponseSchema = z.looseObject({
75860
- deletedBlobs: z.array(BlobMetadataSchema).optional(),
75861
- });
75862
- const BlobSchemaItemSchema = z.looseObject({
75863
- name: z.string().optional(),
75864
- });
75865
- const BlobSchemaListResponseSchema = z.looseObject({
75866
- schemas: z.array(BlobSchemaItemSchema).optional(),
75867
- });
75868
- const BlobExecuteAsyncResponseSchema = z.looseObject({
75869
- correlationKey: z.string().optional(),
75870
- });
75871
- z.enum([
75872
- 'PENDING',
75873
- 'RUNNING',
75874
- 'FINISHED',
75875
- 'FAILED',
75876
- ]);
75877
- const BlobDeleteSchemaResultSchema = z.looseObject({
75878
- schema: z.string().optional(),
75879
- deletedBlobs: z.number().optional(),
75880
- });
75881
- const BlobAsyncResultEntrySchema = z.looseObject({
75882
- op: z.string().optional(),
75883
- deletedSchema: BlobDeleteSchemaResultSchema.optional(),
75884
- });
75885
- const BlobAsyncResultResponseSchema = z.looseObject({
75886
- correlationKey: z.string().optional(),
75887
- state: z.string().optional(),
75888
- numberOfDone: z.number().optional(),
75889
- numberOfRemaining: z.number().optional(),
75890
- results: z.record(z.string(), BlobAsyncResultEntrySchema).optional(),
75891
- });
75892
-
75893
76132
  /**
75894
76133
  * Service for the DX SaaS DataStore blob storage API
75895
76134
  * (`/blobstorage/...`).
@@ -76049,87 +76288,95 @@ class DataStoreBlobStorageService {
76049
76288
  }
76050
76289
  }
76051
76290
 
76052
- const FeatureFieldTypeSchema = z.enum([
76053
- 'TEXT',
76054
- 'NUMBER',
76055
- 'LOOKUP',
76056
- 'DATETIME',
76057
- ]);
76291
+ /** Editor type for a feature field. */
76292
+ const FeatureFieldTypeSchema = z
76293
+ .enum(['TEXT', 'NUMBER', 'LOOKUP', 'DATETIME'])
76294
+ .describe('Field value type / editor (TEXT, NUMBER, LOOKUP, DATETIME)');
76058
76295
  const FeatureFieldSchema = z.looseObject({
76059
- id: z.string(),
76060
- name: z.string().optional(),
76061
- type: FeatureFieldTypeSchema.optional(),
76296
+ id: z.string().describe('Stable field identifier'),
76297
+ name: z.string().optional().describe('Human-readable field label'),
76298
+ type: FeatureFieldTypeSchema.optional().describe('Field value type; defaults to TEXT'),
76062
76299
  });
76063
- const FeatureFilterTemplateTypeSchema = z.enum([
76064
- 'TAS',
76065
- 'NASS',
76066
- 'ES',
76067
- 'REST',
76068
- ]);
76300
+ /** Backing datasource type a feature filter template targets. */
76301
+ const FeatureFilterTemplateTypeSchema = z
76302
+ .enum(['TAS', 'NASS', 'ES', 'REST'])
76303
+ .describe('Datasource the template queries (TAS, NASS, ES, REST)');
76069
76304
  const FeatureFilterTemplateSchema = z.looseObject({
76070
- type: FeatureFilterTemplateTypeSchema.optional(),
76071
- filter: z.unknown().optional(),
76072
- indexPattern: z.string().optional(),
76073
- query: z.unknown().optional(),
76305
+ type: FeatureFilterTemplateTypeSchema.optional().describe('Datasource type this template targets'),
76306
+ filter: z.unknown().optional().describe('Datasource-specific filter payload'),
76307
+ indexPattern: z.string().optional().describe('ES index pattern, when type is ES'),
76308
+ query: z.unknown().optional().describe('Raw query payload passed through to the datasource'),
76074
76309
  });
76075
76310
  const FeatureDatascopeLazy = z.lazy(() => FeatureDatascopeSchema);
76076
76311
  const FeatureDatascopeSchema = z.looseObject({
76077
- id: z.string(),
76078
- datascopeItemName: z.string().optional(),
76079
- datasourceType: FeatureFilterTemplateTypeSchema.optional(),
76080
- url: z.string().optional(),
76081
- fields: z.array(FeatureFieldSchema).optional(),
76082
- filterTemplate: FeatureFilterTemplateSchema.optional(),
76083
- children: z.array(FeatureDatascopeLazy).optional(),
76312
+ id: z.string().describe('Stable datascope identifier'),
76313
+ datascopeItemName: z.string().optional().describe('Human-readable datascope name'),
76314
+ datasourceType: FeatureFilterTemplateTypeSchema.optional().describe('Datasource backing this datascope'),
76315
+ url: z.string().optional().describe('Endpoint URL for REST-backed datascopes'),
76316
+ fields: z.array(FeatureFieldSchema).optional().describe('Fields exposed by this datascope'),
76317
+ filterTemplate: FeatureFilterTemplateSchema.optional().describe('Default filter template for this datascope'),
76318
+ children: z.array(FeatureDatascopeLazy).optional().describe('Nested child datascopes (recursive tree)'),
76084
76319
  });
76085
76320
  const FeatureAttributesSchema = z
76086
76321
  .looseObject({
76087
- name: z.string().optional(),
76088
- description: z.string().optional(),
76089
- sort: z.number().optional(),
76090
- global: z.boolean().optional(),
76091
- path: z.string().optional(),
76092
- _UPDATED_AT: z.number().optional(),
76093
- _UPDATED_BY: z.string().optional(),
76322
+ name: z.string().optional().describe('Feature display name'),
76323
+ description: z.string().optional().describe('Feature description'),
76324
+ sort: z.number().optional().describe('Sort order among sibling features'),
76325
+ global: z.boolean().optional().describe('Whether the feature is global (visible across the tenant)'),
76326
+ path: z.string().optional().describe('Materialized tree path of the feature node'),
76327
+ _UPDATED_AT: z.number().optional().describe('Last-modified timestamp (epoch ms)'),
76328
+ _UPDATED_BY: z.string().optional().describe('User who last modified the feature'),
76094
76329
  })
76095
76330
  .catchall(z.unknown());
76096
76331
  const FeatureNodeLazy = z.lazy(() => FeatureNodeSchema);
76097
76332
  const FeatureNodeSchema = z.looseObject({
76098
- id: z.string(),
76099
- disabled: z.boolean().optional(),
76100
- lastModificationTimestamp: z.number().optional(),
76101
- attributes: FeatureAttributesSchema.optional(),
76102
- apis: z.array(z.string()).optional(),
76103
- children: z.array(FeatureNodeLazy).optional(),
76104
- datascopes: z.array(FeatureDatascopeSchema).optional(),
76333
+ id: z.string().describe('Stable feature node identifier'),
76334
+ disabled: z.boolean().optional().describe('Whether the feature node is disabled'),
76335
+ lastModificationTimestamp: z.number().optional().describe('Last modification time (epoch ms)'),
76336
+ attributes: FeatureAttributesSchema.optional().describe('Feature metadata attributes'),
76337
+ apis: z.array(z.string()).optional().describe('API identifiers this feature exposes'),
76338
+ children: z.array(FeatureNodeLazy).optional().describe('Nested child feature nodes (recursive tree)'),
76339
+ datascopes: z.array(FeatureDatascopeSchema).optional().describe('Datascopes attached to this feature node'),
76105
76340
  });
76106
76341
 
76342
+ /** Store request — a full {@link FeatureNodeSchema} tree to upsert. */
76107
76343
  const FeatureStoreRequestSchema = FeatureNodeSchema;
76108
76344
  const FeatureDeleteRequestSchema = z.looseObject({
76109
- ids: z.array(z.string()),
76345
+ ids: z.array(z.string()).describe('Feature node IDs to delete'),
76110
76346
  });
76111
76347
  z.looseObject({
76112
- op: z.literal('ID'),
76113
- ids: z.array(z.string()).optional(),
76348
+ op: z.literal('ID').describe('Filter operator — selects feature nodes by ID'),
76349
+ ids: z.array(z.string()).optional().describe('Feature node IDs to match'),
76114
76350
  });
76351
+ /**
76352
+ * Feature query filter. `op` names the operator; the AND-ed second half carries
76353
+ * the operands (`ids` for an ID filter, `input` for composite operators).
76354
+ */
76115
76355
  const FeatureFilterSchema = z
76116
76356
  .looseObject({
76117
- op: z.string(),
76357
+ op: z.string().describe('Filter operator (e.g. ID, AND, OR)'),
76118
76358
  })
76119
76359
  .and(z
76120
76360
  .looseObject({
76121
- ids: z.array(z.string()).optional(),
76122
- input: z.array(z.unknown()).optional(),
76361
+ ids: z.array(z.string()).optional().describe('Feature node IDs (for ID filters)'),
76362
+ input: z.array(z.unknown()).optional().describe('Nested operand filters (for composite operators)'),
76123
76363
  })
76124
76364
  .partial());
76125
76365
  const FeatureQueryRequestSchema = z.looseObject({
76126
- filter: FeatureFilterSchema.optional(),
76366
+ filter: FeatureFilterSchema.optional().describe('Filter selecting which feature nodes to return; omit for all'),
76127
76367
  });
76128
- const FeatureToggleListSchema = z.array(z.string());
76368
+ const FeatureToggleListSchema = z
76369
+ .array(z.string())
76370
+ .describe('List of feature toggle identifiers');
76129
76371
 
76372
+ /** Store response — the persisted {@link FeatureNodeSchema} tree. */
76130
76373
  const FeatureStoreResponseSchema = FeatureNodeSchema;
76131
- const FeatureListResponseSchema = z.array(FeatureNodeSchema);
76132
- const FeatureToggleListResponseSchema = z.array(z.string());
76374
+ const FeatureListResponseSchema = z
76375
+ .array(FeatureNodeSchema)
76376
+ .describe('Feature nodes matching the query');
76377
+ const FeatureToggleListResponseSchema = z
76378
+ .array(z.string())
76379
+ .describe('Enabled feature toggle identifiers');
76133
76380
 
76134
76381
  /**
76135
76382
  * Service for the DX SaaS DataStore features API (`/features/...`).
@@ -76434,98 +76681,105 @@ class DataStoreNASSQLService {
76434
76681
  }
76435
76682
  }
76436
76683
 
76437
- const VertexStateProjectionSchema = z.enum([
76438
- 'DETAILED',
76439
- 'BRIEF',
76440
- 'EXTRA_IDS',
76441
- ]);
76684
+ /** Projection level controlling how much detail each returned state carries. */
76685
+ const VertexStateProjectionSchema = z
76686
+ .enum(['DETAILED', 'BRIEF', 'EXTRA_IDS'])
76687
+ .describe('Response detail level (DETAILED, BRIEF, EXTRA_IDS)');
76688
+ /** External-ID coordinates identifying a state by vertex/alert/metric. */
76442
76689
  const VertexStateExternalIdInputSchema = z.looseObject({
76443
- vertexId: z.number().optional(),
76444
- vertexExternalId: z.string().optional(),
76445
- alert: z.string().optional(),
76446
- alertExternalId: z.string().optional(),
76447
- metric: z.string().optional(),
76448
- metricExternalId: z.string().optional(),
76690
+ vertexId: z.number().optional().describe('Internal vertex ID'),
76691
+ vertexExternalId: z.string().optional().describe('External vertex ID'),
76692
+ alert: z.string().optional().describe('Alert identifier'),
76693
+ alertExternalId: z.string().optional().describe('External alert identifier'),
76694
+ metric: z.string().optional().describe('Metric identifier'),
76695
+ metricExternalId: z.string().optional().describe('External metric identifier'),
76449
76696
  });
76697
+ /** A single state to store. Identify the target by internal IDs or external coordinates. */
76450
76698
  const VertexStateInputSchema = z.looseObject({
76451
- stateExternalId: VertexStateExternalIdInputSchema.optional(),
76452
- vertexId: z.number().optional(),
76453
- alertId: z.number().optional(),
76454
- metricId: z.number().optional(),
76455
- startTime: z.number().optional(),
76456
- endTime: z.number().optional(),
76457
- status: z.number().optional(),
76458
- data: z.unknown().optional(),
76699
+ stateExternalId: VertexStateExternalIdInputSchema.optional().describe('External coordinates of the state'),
76700
+ vertexId: z.number().optional().describe('Internal vertex ID the state belongs to'),
76701
+ alertId: z.number().optional().describe('Internal alert ID the state belongs to'),
76702
+ metricId: z.number().optional().describe('Internal metric ID the state belongs to'),
76703
+ startTime: z.number().optional().describe('State start time (epoch ms)'),
76704
+ endTime: z.number().optional().describe('State end time (epoch ms)'),
76705
+ status: z.number().optional().describe('State status code'),
76706
+ data: z.unknown().optional().describe('Opaque state payload'),
76459
76707
  });
76460
76708
  const VertexStateStoreRequestSchema = z.looseObject({
76461
- states: z.array(VertexStateInputSchema),
76709
+ states: z.array(VertexStateInputSchema).describe('States to store'),
76462
76710
  });
76463
76711
  const VertexStateFetchRequestSchema = z.looseObject({
76464
- filter: VertexStateFilterSchema.optional(),
76465
- time: z.number().optional(),
76466
- projection: VertexStateProjectionSchema.optional(),
76467
- flushCacheBeforeQuery: z.boolean().optional(),
76468
- version: z.string().nullable().optional(),
76469
- includeAllTouchedVertexStates: z.boolean().optional(),
76712
+ filter: VertexStateFilterSchema.optional().describe('Filter selecting which states to fetch'),
76713
+ time: z.number().optional().describe('Point in time to evaluate state at (epoch ms); default now'),
76714
+ projection: VertexStateProjectionSchema.optional().describe('Response detail level'),
76715
+ flushCacheBeforeQuery: z.boolean().optional().describe('Force a cache flush before evaluating (slower, freshest)'),
76716
+ version: z.string().nullable().optional().describe('Client-held version for delta fetches; null for a full fetch'),
76717
+ includeAllTouchedVertexStates: z
76718
+ .boolean()
76719
+ .optional()
76720
+ .describe('Include states for every vertex touched, not just those matching the filter'),
76470
76721
  });
76722
+ /** Down-sampling settings for range queries that would otherwise return too many points. */
76471
76723
  const VertexStateClampSettingSchema = z.looseObject({
76472
- clampThreshold: z.number().optional(),
76473
- bucketCount: z.number().optional(),
76474
- bucketSize: z.number().optional(),
76724
+ clampThreshold: z.number().optional().describe('Point count above which clamping/bucketing kicks in'),
76725
+ bucketCount: z.number().optional().describe('Number of buckets to down-sample into'),
76726
+ bucketSize: z.number().optional().describe('Bucket width in ms (alternative to bucketCount)'),
76475
76727
  });
76476
76728
  const VertexStateRangeRequestSchema = z.looseObject({
76477
- filter: VertexStateFilterSchema.optional(),
76478
- startTime: z.number().optional(),
76479
- endTime: z.number().optional(),
76480
- projection: VertexStateProjectionSchema.optional(),
76481
- viewPortStart: z.number().optional(),
76482
- viewPortEnd: z.number().optional(),
76483
- clampSetting: VertexStateClampSettingSchema.optional(),
76484
- flushCacheBeforeQuery: z.boolean().optional(),
76729
+ filter: VertexStateFilterSchema.optional().describe('Filter selecting which states to fetch'),
76730
+ startTime: z.number().optional().describe('Inclusive start of the time range (epoch ms)'),
76731
+ endTime: z.number().optional().describe('Inclusive end of the time range (epoch ms)'),
76732
+ projection: VertexStateProjectionSchema.optional().describe('Response detail level'),
76733
+ viewPortStart: z.number().optional().describe('Visible viewport start (epoch ms), for clamp bucketing'),
76734
+ viewPortEnd: z.number().optional().describe('Visible viewport end (epoch ms), for clamp bucketing'),
76735
+ clampSetting: VertexStateClampSettingSchema.optional().describe('Down-sampling settings for large ranges'),
76736
+ flushCacheBeforeQuery: z.boolean().optional().describe('Force a cache flush before evaluating'),
76485
76737
  });
76738
+ /** Republish reuses the fetch request shape — same filter/projection options. */
76486
76739
  const VertexStateRepublishRequestSchema = VertexStateFetchRequestSchema;
76487
76740
 
76488
76741
  const VertexStateExternalIdResponseSchema = z.looseObject({
76489
- vertexId: z.number().optional(),
76490
- vertexExternalId: z.string().optional(),
76491
- alert: z.string().optional(),
76492
- alertExternalId: z.string().optional(),
76493
- metric: z.string().optional(),
76494
- metricExternalId: z.string().optional(),
76742
+ vertexId: z.number().optional().describe('Internal vertex ID'),
76743
+ vertexExternalId: z.string().optional().describe('External vertex ID'),
76744
+ alert: z.string().optional().describe('Alert identifier'),
76745
+ alertExternalId: z.string().optional().describe('External alert identifier'),
76746
+ metric: z.string().optional().describe('Metric identifier'),
76747
+ metricExternalId: z.string().optional().describe('External metric identifier'),
76495
76748
  });
76496
76749
  const VertexStateResponseItemSchema = z.looseObject({
76497
- vertexId: z.number().optional(),
76498
- alertId: z.number().optional(),
76499
- metricId: z.number().optional(),
76500
- stateExternalId: VertexStateExternalIdResponseSchema.optional(),
76501
- status: z.number().optional(),
76502
- data: z.unknown().optional(),
76503
- startTime: z.number().optional(),
76504
- endTime: z.number().optional(),
76750
+ vertexId: z.number().optional().describe('Internal vertex ID the state belongs to'),
76751
+ alertId: z.number().optional().describe('Internal alert ID the state belongs to'),
76752
+ metricId: z.number().optional().describe('Internal metric ID the state belongs to'),
76753
+ stateExternalId: VertexStateExternalIdResponseSchema.optional().describe('External coordinates of the state'),
76754
+ status: z.number().optional().describe('State status code'),
76755
+ data: z.unknown().optional().describe('Opaque state payload'),
76756
+ startTime: z.number().optional().describe('State start time (epoch ms)'),
76757
+ endTime: z.number().optional().describe('State end time (epoch ms)'),
76505
76758
  });
76759
+ /** Per-group alert rollup produced by a COLLECT_GROUPS filter. */
76506
76760
  const VertexStateGroupResultSchema = z.looseObject({
76507
- groupName: z.string().optional(),
76508
- alerts: z.number().optional(),
76509
- cautionAlerts: z.number().optional(),
76510
- dangerAlert: z.number().optional(),
76761
+ groupName: z.string().optional().describe('Name of the vertex group'),
76762
+ alerts: z.number().optional().describe('Total alerting states in the group'),
76763
+ cautionAlerts: z.number().optional().describe('States at caution severity'),
76764
+ dangerAlert: z.number().optional().describe('States at danger severity'),
76511
76765
  });
76512
76766
  const VertexStateAnalyticResultSchema = z.looseObject({
76513
- t: z.string().optional(),
76514
- groups: z.array(VertexStateGroupResultSchema).optional(),
76767
+ t: z.string().optional().describe('Analytic type/tag identifier'),
76768
+ groups: z.array(VertexStateGroupResultSchema).optional().describe('Per-group status rollups'),
76515
76769
  });
76516
76770
  const VertexStateStoreResponseSchema = z.looseObject({
76517
- updated: z.number().optional(),
76518
- errors: z.number().optional(),
76519
- mappingErrors: z.number().optional(),
76771
+ updated: z.number().optional().describe('Number of states successfully stored/updated'),
76772
+ errors: z.number().optional().describe('Number of states that failed to store'),
76773
+ mappingErrors: z.number().optional().describe('Number of states whose external IDs could not be resolved'),
76520
76774
  });
76521
76775
  const VertexStateFetchResponseSchema = z.looseObject({
76522
- states: z.array(VertexStateResponseItemSchema).optional(),
76523
- analyticResult: z.array(VertexStateAnalyticResultSchema).optional(),
76524
- version: z.string().optional(),
76776
+ states: z.array(VertexStateResponseItemSchema).optional().describe('Matched states'),
76777
+ analyticResult: z.array(VertexStateAnalyticResultSchema).optional().describe('Group/status analytics, if requested'),
76778
+ version: z.string().optional().describe('Server version token to pass back for the next delta fetch'),
76525
76779
  });
76526
76780
  const VertexStateRangeResponseSchema = z.looseObject({
76527
- states: z.array(VertexStateResponseItemSchema).optional(),
76528
- analyticResult: z.array(VertexStateAnalyticResultSchema).optional(),
76781
+ states: z.array(VertexStateResponseItemSchema).optional().describe('Matched states across the time range'),
76782
+ analyticResult: z.array(VertexStateAnalyticResultSchema).optional().describe('Group/status analytics, if requested'),
76529
76783
  });
76530
76784
 
76531
76785
  /**
@@ -76829,33 +77083,51 @@ class DataStoreTASService {
76829
77083
  }
76830
77084
  }
76831
77085
 
77086
+ /** Free-form string→string metadata attached to a token (values may be null). */
76832
77087
  const TokenMetadataSchema = z
76833
77088
  .record(z.string(), z.union([z.string(), z.null()]))
76834
- .optional();
77089
+ .optional()
77090
+ .describe('Arbitrary string metadata stored with the token (values may be null)');
77091
+ /** Session validation takes no body — the session cookie/header carries identity. */
76835
77092
  const SessionValidateRequestSchema = z.looseObject({});
77093
+ /** Token verification takes no body — the token is supplied via header. */
76836
77094
  const TokenVerifyRequestSchema = z.looseObject({});
76837
77095
  const TokenGetAndVerifyRequestSchema = z.looseObject({
76838
- tokenId: z.string(),
77096
+ tokenId: z.string().describe('ID of the token to fetch and verify'),
76839
77097
  });
77098
+ /**
77099
+ * Paged token listing. `query` (free-text) and `filter` (structured) are
77100
+ * mutually exclusive — supplying both is rejected by the refinement.
77101
+ */
76840
77102
  const TokenQueryRequestSchema = z
76841
77103
  .looseObject({
76842
- pageSize: z.number().optional(),
76843
- seekTokenId: z.string().optional(),
76844
- query: z.string().optional(),
76845
- filter: z.unknown().optional(),
77104
+ pageSize: z.number().optional().describe('Maximum number of tokens per page'),
77105
+ seekTokenId: z.string().optional().describe('Cursor — return tokens after this token ID'),
77106
+ query: z.string().optional().describe('Free-text search (mutually exclusive with `filter`)'),
77107
+ filter: z.unknown().optional().describe('Structured filter (mutually exclusive with `query`)'),
76846
77108
  })
76847
77109
  .refine((value) => !(value.query !== undefined && value.filter !== undefined), {
76848
77110
  message: '`query` and `filter` are mutually exclusive on /tenants/token/query',
76849
77111
  });
76850
- const ttlField = z.number().optional();
77112
+ const ttlField = z
77113
+ .number()
77114
+ .optional()
77115
+ .describe('Token lifetime in seconds; omit for the server default');
76851
77116
  const CreateUserTokenRequestSchema = z.looseObject({
76852
77117
  ttl: ttlField,
76853
- dynamicExpire: z.boolean().optional(),
77118
+ dynamicExpire: z
77119
+ .boolean()
77120
+ .optional()
77121
+ .describe('When true, sliding expiry — each use extends the token lifetime'),
76854
77122
  metadata: TokenMetadataSchema,
76855
77123
  });
76856
77124
  const UpdateUserTokenRequestSchema = z.looseObject({
76857
- tokenId: z.string(),
76858
- dynamicExpireTime: z.number().nullable().optional(),
77125
+ tokenId: z.string().describe('ID of the token to update'),
77126
+ dynamicExpireTime: z
77127
+ .number()
77128
+ .nullable()
77129
+ .optional()
77130
+ .describe('New sliding-expiry window in seconds; null clears it'),
76859
77131
  metadata: TokenMetadataSchema,
76860
77132
  });
76861
77133
  const CreateAgentTokenRequestSchema = z.looseObject({
@@ -76863,73 +77135,82 @@ const CreateAgentTokenRequestSchema = z.looseObject({
76863
77135
  metadata: TokenMetadataSchema,
76864
77136
  });
76865
77137
  const UpdateAgentTokenRequestSchema = z.looseObject({
76866
- tokenId: z.string(),
77138
+ tokenId: z.string().describe('ID of the agent token to update'),
76867
77139
  metadata: TokenMetadataSchema,
76868
77140
  });
76869
77141
  const CreateTenantTokenRequestSchema = z.looseObject({
76870
- tenantId: z.number().optional(),
77142
+ tenantId: z.number().optional().describe('Numeric tenant ID the token is scoped to'),
76871
77143
  ttl: ttlField,
76872
77144
  metadata: TokenMetadataSchema,
76873
77145
  });
76874
77146
  const UpdateTenantTokenRequestSchema = z.looseObject({
76875
- tokenId: z.string(),
76876
- dynamicExpireTime: z.number().nullable().optional(),
77147
+ tokenId: z.string().describe('ID of the tenant token to update'),
77148
+ dynamicExpireTime: z
77149
+ .number()
77150
+ .nullable()
77151
+ .optional()
77152
+ .describe('New sliding-expiry window in seconds; null clears it'),
76877
77153
  metadata: TokenMetadataSchema,
76878
77154
  });
76879
77155
  const CreateInternalTokenRequestSchema = z.looseObject({
76880
- product: z.string(),
77156
+ product: z.string().describe('Product the internal token is issued for'),
76881
77157
  ttl: ttlField,
76882
77158
  metadata: TokenMetadataSchema,
76883
77159
  });
76884
77160
  const RevokeTokenRequestSchema = z.looseObject({
76885
- revokeToken: z.string(),
76886
- delete: z.boolean().optional(),
77161
+ revokeToken: z.string().describe('The token (or token ID) to revoke'),
77162
+ delete: z.boolean().optional().describe('When true, also delete the token rather than only revoking it'),
76887
77163
  });
76888
77164
  const CancelRevokeRequestSchema = z.looseObject({
76889
- revokeToken: z.string(),
77165
+ revokeToken: z.string().describe('The token (or token ID) whose pending revocation to cancel'),
76890
77166
  });
76891
77167
  const DeleteTokenRequestSchema = z.looseObject({
76892
- tokenId: z.string(),
77168
+ tokenId: z.string().describe('ID of the token to delete'),
76893
77169
  });
76894
77170
  const ImportTokenRequestSchema = z.looseObject({
76895
- token: z.string(),
77171
+ token: z.string().describe('Raw token string to import into the store'),
76896
77172
  });
76897
77173
 
76898
77174
  const SessionValidateResponseSchema = z.looseObject({
76899
- tenantId: z.number().optional(),
76900
- userId: z.string().optional(),
76901
- externalTenantId: z.string().optional(),
76902
- cohort: z.string().optional(),
76903
- role: z.string().optional(),
76904
- authToken: z.string().optional(),
76905
- groups: z.array(z.string()).nullable().optional(),
77175
+ tenantId: z.number().optional().describe('Numeric tenant ID resolved from the session'),
77176
+ userId: z.string().optional().describe('User ID resolved from the session'),
77177
+ externalTenantId: z.string().optional().describe('External (customer-facing) tenant identifier'),
77178
+ cohort: z.string().optional().describe('Cohort the tenant belongs to'),
77179
+ role: z.string().optional().describe("User's role within the tenant"),
77180
+ authToken: z.string().optional().describe('Auth token minted for the validated session'),
77181
+ groups: z.array(z.string()).nullable().optional().describe('Groups the user belongs to'),
76906
77182
  });
76907
77183
  const TokenDetailsSchema = z.looseObject({
76908
- id: z.string().optional(),
76909
- prefix: z.string().optional(),
76910
- revoked: z.boolean().optional(),
76911
- internal: z.boolean().optional(),
76912
- agent: z.boolean().optional(),
76913
- createdAt: z.number().optional(),
76914
- expireAt: z.number().optional(),
76915
- tenantId: z.number().optional(),
76916
- user: z.string().nullable().optional(),
76917
- dynamicExpire: z.boolean().optional(),
76918
- metadata: z.record(z.string(), z.unknown()).nullable().optional(),
77184
+ id: z.string().optional().describe('Token ID'),
77185
+ prefix: z.string().optional().describe('Non-secret token prefix (safe to display)'),
77186
+ revoked: z.boolean().optional().describe('Whether the token has been revoked'),
77187
+ internal: z.boolean().optional().describe('Whether this is an internal (product) token'),
77188
+ agent: z.boolean().optional().describe('Whether this is an agent token'),
77189
+ createdAt: z.number().optional().describe('Creation time (epoch ms)'),
77190
+ expireAt: z.number().optional().describe('Expiry time (epoch ms)'),
77191
+ tenantId: z.number().optional().describe('Numeric tenant ID the token is scoped to'),
77192
+ user: z.string().nullable().optional().describe('User the token belongs to, if any'),
77193
+ dynamicExpire: z.boolean().optional().describe('Whether the token uses sliding expiry'),
77194
+ metadata: z
77195
+ .record(z.string(), z.unknown())
77196
+ .nullable()
77197
+ .optional()
77198
+ .describe('Arbitrary metadata stored with the token'),
76919
77199
  });
76920
77200
  const TokenQueryResponseSchema = z.looseObject({
76921
- items: z.array(TokenDetailsSchema).optional(),
76922
- nextPage: z.boolean().optional(),
77201
+ items: z.array(TokenDetailsSchema).optional().describe('Tokens on this page'),
77202
+ nextPage: z.boolean().optional().describe('Whether more pages remain (seek with the last token ID)'),
76923
77203
  });
76924
77204
  const TokenCreateResponseSchema = z.looseObject({
76925
- token: z.string().optional(),
77205
+ token: z.string().optional().describe('The newly minted token string'),
76926
77206
  });
77207
+ /** Public-key response — an opaque JWK-style object; fields vary by key type. */
76927
77208
  const PublicKeyJsonResponseSchema = z.looseObject({});
76928
77209
  const RevokeTokensResponseSchema = z.looseObject({
76929
- revokedTokens: z.array(z.string()).optional(),
77210
+ revokedTokens: z.array(z.string()).optional().describe('IDs of the tokens that were revoked'),
76930
77211
  });
76931
77212
  const DeleteTokensResponseSchema = z.looseObject({
76932
- deletedTokens: z.array(z.string()).optional(),
77213
+ deletedTokens: z.array(z.string()).optional().describe('IDs of the tokens that were deleted'),
76933
77214
  });
76934
77215
 
76935
77216
  /**
@@ -77189,10 +77470,22 @@ class DataStoreNASSService {
77189
77470
  * @param values - Array of {@link NassDatapoint} tuples. Each tuple must
77190
77471
  * begin with a registered metric ID obtained from
77191
77472
  * {@link DataStoreMetricsMetadataService.registerMetric}.
77473
+ *
77474
+ * @remarks The request is validated against {@link NassStoreRequestSchema}.
77475
+ * If the response fails schema validation, a warning is logged but the raw
77476
+ * API response is still returned.
77477
+ *
77478
+ * @throws ZodError if any datapoint fails schema validation.
77192
77479
  */
77193
77480
  async storeMetricValues(values) {
77194
77481
  const body = { values };
77195
- return this.dxSaasService.tenantPost('nass/metricValue/store', body);
77482
+ NassStoreRequestSchema.parse(body);
77483
+ const raw = await this.dxSaasService.tenantPost('nass/metricValue/store', body);
77484
+ const result = NassStoreResponseSchema.safeParse(raw);
77485
+ if (!result.success) {
77486
+ this.log.warn('NassStoreResponse validation warning:', result.error.message);
77487
+ }
77488
+ return raw;
77196
77489
  }
77197
77490
  }
77198
77491
 
@@ -77261,5 +77554,5 @@ function createServiceMonolith(dxDoConfiguration, log = new NullSimpleLog()) {
77261
77554
  };
77262
77555
  }
77263
77556
 
77264
- export { AXAActivities, AccService, AgentService, AgentTrace, AlarmEnrichment, AlarmEnrichmentFilter, AlarmService, AlertDefinitionResponse, AlertResponse, AlertResponseV2, AlertService, AlignmentSchema, ApmUniverseService, AsmService, AttributeExpressionComparatorSchema, AttributeExpressionOperatorSchema, AttributeExpressionSchema, AttributeFilterOperator, AttributeNameAllSpecifierSchema, AttributeNameAndSpecifierSchema, AttributeNameAnyNumericSpecifierSchema, AttributeNameAttributeSpecifierSchema, AttributeNameChildrenSpecifierSchema, AttributeNameExactSpecifierSchema, AttributeNameFolderSpecifierSchema, AttributeNameNoneSpecifierSchema, AttributeNameNotSpecifierSchema, AttributeNameOperatorSpecifierSchema, AttributeNameOrSpecifierSchema, AttributeNameRegExSpecifierSchema, AttributeNameSpecifierSchema, AttributeNameTypeSpecifierSchema, AttributeService, AttributeValueAsFieldSchema, AuthorizationService, AxaService, BlobService, CalendarIntervalSchema, ChannelService, DEFAULT_EXPERIENCE_REQUEST_BODY, DXChannel, DashboardPermissionsUpdateRequest, DashboardSearch, DashboardService, DataStoreAuditService, DataStoreAuthViewsService, DataStoreBlobStorageService, DataStoreFeaturesService, DataStoreMetricsMetadataService, DataStoreNASSQLService, DataStoreNASSService, DataStoreStatesService, DataStoreTASService, DataStoreTokensService, DxSaasService, DxoiService, EdgeNumericIdSchema, EventService, ExperienceService, FillModeSchema, FilterOperation, FolderNameAllSpecifierSchema, FolderNameAndSpecifierSchema, FolderNameChildrenSpecifierSchema, FolderNameExactSpecifierSchema, FolderNameNoneSpecifierSchema, FolderNameNotSpecifierSchema, FolderNameOrSpecifierSchema, FolderNameRegExSpecifierSchema, FolderNameSpecifierSchema, GraphResponse, GraphService, Inventory, InventoryAttributes, InventoryService, JoinTypeSchema, JsExtensionService, LogQuery, LogsService, METRIC_TYPE_ENUM, METRIC_TYPE_ENUM_NAMES, METRIC_TYPE_REGION, MServe, ManagementModuleIdSchema, ManagementModuleService, MatchType, MetadataMetricQueryResponseV2Schema, MetadataMetricQuerySchema, MetricAttributeSchema, MetricBatchService, MetricFolderSchema, MetricGroupingService, MetricRegisterRequestSchema, MetricRegisterResponseSchema, MetricRegisterSchema, MetricRegisterSourceSchema, MetricTypeEnumNameSchema, NASS, NASSService, NassValueTypeSchema, NotificationService, NumericOperatorSchema, O2NotificationService, O2UniverseService, OIAlarm, OIService, OperatorSchema, PerspectiveService, PlatformAlertService, PlatformFilters, PlatformManagementModuleService, PlatformMetricGroupingService, QuantileMethodSchema, QueryAllSpecifierSchema, QueryAndSpecifierSchema, QueryAttributeExpressionSchema, QueryAttributeSpecifierSchema, QueryColumnTypeSpecSchema, QueryFilterPredicateSpecSchema, QueryFunctionSpecSchema, QueryHintForceRangeSchema, QueryHintSchema, QueryIdSpecifierSchema, QueryMetricGroupSpecifierSchema, QueryMetricIdSchema, QueryNoneSpecifierSchema, QueryNotSpecifierSchema, QueryOrSpecifierSchema, QueryRangeSpecSchema, QueryRequestSchema, QueryResultSchema, QuerySpecSpecifierSchema, QuerySpecifierSchema, SQLService, ServiceFilterSpecifierSchema, ServiceService, SessionService, SimpleHTTPError, SituationLifecycle, SituationService, Situations, SourceNameAllSpecifierSchema, SourceNameAndSpecifierSchema, SourceNameExactSpecifierSchema, SourceNameNoneSpecifierSchema, SourceNameNotSpecifierSchema, SourceNameOrSpecifierSchema, SourceNamePartOperatorSpecifierSchema, SourceNameRegExSpecifierSchema, SourceNameSpecifierSchema, TAS, TASGraph, TASService, TasAddFlowsFilterSchema, TasAddTransitioningEdgesFilterSchema, TasAddWireContextFilterSchema, TasAddWiresFilterSchema, TasAllFilterSchema, TasAnalyticBaseSchema, TasAnalyticResultSchema, TasAndFilterSchema, TasAttributeAlertStatisticsSchema, TasAttributeFilterModeSchema, TasAttributeFilterSchema, TasAttributeNameSchema, TasAttributeTypeSchema, TasCollectAttributeNamesFilterSchema, TasCollectAttributeNamesResultSchema, TasCollectAttributeResultSchema, TasCollectAttributesFilterSchema, TasCollectCardInfoFilterSchema, TasCollectCardInfoResultSchema, TasCollectCardInfoTierSchema, TasCollectCountsFilterSchema, TasCollectCountsResultSchema, TasCollectExperienceAttributesFilterSchema, TasCollectExperienceSelectorSchema, TasCollectGroupingInfoFilterSchema, TasCollectGroupingInfoResultSchema, TasCollectVertexIdFilterSchema, TasCoverageFilterSchema, TasEdgeSchema, TasEmptyFilterSchema, TasExternalIdSchema, TasFilterSchema, TasFollowPathFilterSchema, TasFollowPathFlowFilterSchema, TasFollowPathTypeSchema, TasGraphSchema, TasGroupingAlertStatisticsSchema, TasGroupingInfoSchema, TasGroupingItemSchema, TasJoinFilterSchema, TasJoinTypeSchema, TasLayerFilterSchema, TasLegacyFilterSchema, TasLuceneFilterSchema, TasNotFilterSchema, TasOrFilterSchema, TasOrderSchema, TasProjectionFilterSchema, TasQuerySchema, TasServiceFilterSchema, TasStatusFilterSchema, TasStoreChangeSchema, TasStoreGraphInputSchema, TasStoreGraphResponseSchema, TasTakeEdgesFilterSchema, TasTakeFlowsFilterSchema, TasTakeVerticesFilterSchema, TasTraverseFilterSchema, TasVariableFilterSchema, TasVariableSchema, TasVertexIdFilterSchema, TasVertexSchema, TasViewSchema, Trace, TraversalEdgeFilterSchema, TraversalVertexFilterSchema, TraverseCollectSchema, TraverseDirectionSchema, TraverseSchema, VertexMappingConfigurationModule, VertexService, VertexStateExternalIdSchema, VertexStateNumericIdSchema, VertexStateSchema, VertexStatusChanges, ags, agsresponse, apiTokenCreate, apiTokenDelete, apiTokenGet, apiTokenList, apiTokenUpdate, checkGet, composeMetricTypeBits, contactActivate, contactDelete, contactTestSend, contactsBlockDelete, contactsBlockPut, contactsConfirm, contactsCreate, contactsGet, contactsGetDetail, contactsReplaceNotificationsWith, contactsRequestConfirmationCode, contactsUpdate, convertLegacyConfiguration, createPostmanRequest, createServiceMonolith, decodeMetricTypeBits, escapeRegExp, example, excludedAttributes, folderAccessGet, folderDelete, folderGet, folderPost, folderUpdate, foldersList, getDataStoreSchema, getUserTokenSub, getUserTokenTid, getVertexAttributeValue, getVertexAttributeValueOrNull, hasVertexAttribute, inventorizePreview, inventorizeResponse, inventorySearchRequestBodyExample, inventorySearchResponseBody, isDataStoreSchemaType, isTenantToken, isUserToken, listDataStoreSchemaOps, locationsCreate, locationsDelete, locationsGet, locationsGetAll, locationsGetByType, locationsLeafGetFilter, locationsPost, logGet, logGetEvent, maintenanceDelete, maintenanceDeleteWindows, maintenanceGet, maintenanceGetDetail, maintenanceGetWindows, maintenanceGetWindowsDetail, maintenanceUpdateWindowsDetail, maintenancesCreate, maintenancesImmediateDelete, maintenancesImmediatePut, maintenancesPostWindows, maintenancesUpdate, messageGet, messagesList, monitorActivate, monitorCreate, monitorDeactivate, monitorDelete, monitorGet, monitorGetAll, monitorUpdate, oauthClientTokensCreate, oauthClientTokensDelete, oauthClientTokensGet, oauthClientTokensList, oauthClientTokensUpdate, oauthCreateToken, oauthGetRefreshTokenList, oauthGetTokenList, oauthRefreshTokenDeleteId, oauthTokenCognateDelete, oauthTokenCognateDeleteCurrent, oauthTokenDelete, oauthTokenDeleteCurrent, parseFilter, sampleServiceDetailRequestBody, searchUniverse, serviceDetailResponseBody, settingsGet, settingsGetDetail, settingsUpdate, stationDelete, stationsAgentType, stationsCreate, stationsDeleteMaintenance, stationsGet, stationsGetAgents, stationsLatest, stationsList, stationsOnpremiseConnected, stationsOnpremiseConnectedAll, stationsOnpremiseList, stationsPutMaintenance, stationsUpdate, statistic, summarizeDataStoreSchema, tagsGetAll, timezonesList, userBlockDelete, userBlockPut, userDelete, userGet, userLockDelete, userPut, userSubaccountsGet, userSubaccountsPost, verifyAndDumpLegacyConfiguration, verifyAndDumpVersion3Configuration, verifyAndDumpVersion4Configuration, vertexMatchesFilters };
77557
+ export { AXAActivities, AccService, AgentService, AgentTrace, AlarmEnrichment, AlarmEnrichmentFilter, AlarmService, AlertDefinitionResponse, AlertResponse, AlertResponseV2, AlertService, AlignmentSchema, ApmUniverseService, AsmService, AttributeExpressionComparatorSchema, AttributeExpressionOperatorSchema, AttributeExpressionSchema, AttributeFilterOperator, AttributeNameAllSpecifierSchema, AttributeNameAndSpecifierSchema, AttributeNameAnyNumericSpecifierSchema, AttributeNameAttributeSpecifierSchema, AttributeNameChildrenSpecifierSchema, AttributeNameExactSpecifierSchema, AttributeNameFolderSpecifierSchema, AttributeNameNoneSpecifierSchema, AttributeNameNotSpecifierSchema, AttributeNameOperatorSpecifierSchema, AttributeNameOrSpecifierSchema, AttributeNameRegExSpecifierSchema, AttributeNameSpecifierSchema, AttributeNameTypeSpecifierSchema, AttributeService, AttributeValueAsFieldSchema, AuthorizationService, AxaService, BlobAllFilterSchema, BlobAsyncCommandSchema, BlobAsyncDeleteSchemaCommandSchema, BlobAsyncResultEntrySchema, BlobAsyncResultRequestSchema, BlobAsyncResultResponseSchema, BlobAsyncResultStateSchema, BlobAttributeExpressionSchema, BlobAttributeFilterSchema, BlobAttributesSchema, BlobBulkDeleteEntrySchema, BlobBulkDeleteRequestSchema, BlobBulkDeleteResponseSchema, BlobBulkItemSchema, BlobBulkStoreRequestSchema, BlobBulkStoreResponseSchema, BlobDeleteParamsSchema, BlobDeleteResponseSchema, BlobDeleteSchemaResultSchema, BlobExecuteAsyncRequestSchema, BlobExecuteAsyncResponseSchema, BlobFetchParamsSchema, BlobFileEnvelopeSchema, BlobFilterSchema, BlobMetadataSchema, BlobQueryRequestSchema, BlobQueryResponseSchema, BlobSchemaItemSchema, BlobSchemaListRequestSchema, BlobSchemaListResponseSchema, BlobService, BlobStoreParamsSchema, BlobStoreResponseSchema, CalendarIntervalSchema, ChannelService, DEFAULT_EXPERIENCE_REQUEST_BODY, DXChannel, DashboardPermissionsUpdateRequest, DashboardSearch, DashboardService, DataStoreAuditService, DataStoreAuthViewsService, DataStoreBlobStorageService, DataStoreFeaturesService, DataStoreMetricsMetadataService, DataStoreNASSQLService, DataStoreNASSService, DataStoreStatesService, DataStoreTASService, DataStoreTokensService, DxSaasService, DxoiService, EdgeNumericIdSchema, EventService, ExperienceService, FillModeSchema, FilterOperation, FolderNameAllSpecifierSchema, FolderNameAndSpecifierSchema, FolderNameChildrenSpecifierSchema, FolderNameExactSpecifierSchema, FolderNameNoneSpecifierSchema, FolderNameNotSpecifierSchema, FolderNameOrSpecifierSchema, FolderNameRegExSpecifierSchema, FolderNameSpecifierSchema, GraphResponse, GraphService, Inventory, InventoryAttributes, InventoryService, JoinTypeSchema, JsExtensionService, LogIngest, LogQuery, LogsService, METRIC_TYPE_ENUM, METRIC_TYPE_ENUM_NAMES, METRIC_TYPE_REGION, MServe, ManagementModuleIdSchema, ManagementModuleService, MatchType, MetadataMetricQueryResponseV2Schema, MetadataMetricQuerySchema, MetricAttributeSchema, MetricBatchService, MetricFolderSchema, MetricGroupingService, MetricRegisterRequestSchema, MetricRegisterResponseSchema, MetricRegisterSchema, MetricRegisterSourceSchema, MetricTypeEnumNameSchema, NASS, NASSService, NassDatapointSchema, NassExtensionDatapointSchema, NassRegularDatapointSchema, NassStoreRequestSchema, NassStoreResponseSchema, NassValueTypeSchema, NotificationService, NumericOperatorSchema, O2NotificationService, O2UniverseService, OIAlarm, OIService, OperatorSchema, PerspectiveService, PlatformAlertService, PlatformFilters, PlatformManagementModuleService, PlatformMetricGroupingService, QuantileMethodSchema, QueryAllSpecifierSchema, QueryAndSpecifierSchema, QueryAttributeExpressionSchema, QueryAttributeSpecifierSchema, QueryColumnTypeSpecSchema, QueryFilterPredicateSpecSchema, QueryFunctionSpecSchema, QueryHintForceRangeSchema, QueryHintSchema, QueryIdSpecifierSchema, QueryMetricGroupSpecifierSchema, QueryMetricIdSchema, QueryNoneSpecifierSchema, QueryNotSpecifierSchema, QueryOrSpecifierSchema, QueryRangeSpecSchema, QueryRequestSchema, QueryResultSchema, QuerySpecSpecifierSchema, QuerySpecifierSchema, SQLService, ServiceFilterSpecifierSchema, ServiceService, SessionService, SimpleHTTPError, SituationLifecycle, SituationService, Situations, SourceNameAllSpecifierSchema, SourceNameAndSpecifierSchema, SourceNameExactSpecifierSchema, SourceNameNoneSpecifierSchema, SourceNameNotSpecifierSchema, SourceNameOrSpecifierSchema, SourceNamePartOperatorSpecifierSchema, SourceNameRegExSpecifierSchema, SourceNameSpecifierSchema, TAS, TASGraph, TASService, TasAddFlowsFilterSchema, TasAddTransitioningEdgesFilterSchema, TasAddWireContextFilterSchema, TasAddWiresFilterSchema, TasAllFilterSchema, TasAnalyticBaseSchema, TasAnalyticResultSchema, TasAndFilterSchema, TasAttributeAlertStatisticsSchema, TasAttributeFilterModeSchema, TasAttributeFilterSchema, TasAttributeNameSchema, TasAttributeTypeSchema, TasCollectAttributeNamesFilterSchema, TasCollectAttributeNamesResultSchema, TasCollectAttributeResultSchema, TasCollectAttributesFilterSchema, TasCollectCardInfoFilterSchema, TasCollectCardInfoResultSchema, TasCollectCardInfoTierSchema, TasCollectCountsFilterSchema, TasCollectCountsResultSchema, TasCollectExperienceAttributesFilterSchema, TasCollectExperienceSelectorSchema, TasCollectGroupingInfoFilterSchema, TasCollectGroupingInfoResultSchema, TasCollectVertexIdFilterSchema, TasCoverageFilterSchema, TasEdgeSchema, TasEmptyFilterSchema, TasExternalIdSchema, TasFilterSchema, TasFollowPathFilterSchema, TasFollowPathFlowFilterSchema, TasFollowPathTypeSchema, TasGraphSchema, TasGroupingAlertStatisticsSchema, TasGroupingInfoSchema, TasGroupingItemSchema, TasJoinFilterSchema, TasJoinTypeSchema, TasLayerFilterSchema, TasLegacyFilterSchema, TasLuceneFilterSchema, TasNotFilterSchema, TasOrFilterSchema, TasOrderSchema, TasProjectionFilterSchema, TasQuerySchema, TasServiceFilterSchema, TasStatusFilterSchema, TasStoreChangeSchema, TasStoreGraphInputSchema, TasStoreGraphResponseSchema, TasTakeEdgesFilterSchema, TasTakeFlowsFilterSchema, TasTakeVerticesFilterSchema, TasTraverseFilterSchema, TasVariableFilterSchema, TasVariableSchema, TasVertexIdFilterSchema, TasVertexSchema, TasViewSchema, Trace, TraversalEdgeFilterSchema, TraversalVertexFilterSchema, TraverseCollectSchema, TraverseDirectionSchema, TraverseSchema, VertexMappingConfigurationModule, VertexService, VertexStateExternalIdSchema, VertexStateNumericIdSchema, VertexStateSchema, VertexStatusChanges, ags, agsresponse, apiTokenCreate, apiTokenDelete, apiTokenGet, apiTokenList, apiTokenUpdate, checkGet, composeMetricTypeBits, contactActivate, contactDelete, contactTestSend, contactsBlockDelete, contactsBlockPut, contactsConfirm, contactsCreate, contactsGet, contactsGetDetail, contactsReplaceNotificationsWith, contactsRequestConfirmationCode, contactsUpdate, convertLegacyConfiguration, createPostmanRequest, createServiceMonolith, decodeMetricTypeBits, escapeRegExp, example, excludedAttributes, folderAccessGet, folderDelete, folderGet, folderPost, folderUpdate, foldersList, getDataStoreSchema, getUserTokenSub, getUserTokenTid, getVertexAttributeValue, getVertexAttributeValueOrNull, hasVertexAttribute, inventorizePreview, inventorizeResponse, inventorySearchRequestBodyExample, inventorySearchResponseBody, isDataStoreSchemaType, isTenantToken, isUserToken, listDataStoreSchemaOps, locationsCreate, locationsDelete, locationsGet, locationsGetAll, locationsGetByType, locationsLeafGetFilter, locationsPost, logGet, logGetEvent, maintenanceDelete, maintenanceDeleteWindows, maintenanceGet, maintenanceGetDetail, maintenanceGetWindows, maintenanceGetWindowsDetail, maintenanceUpdateWindowsDetail, maintenancesCreate, maintenancesImmediateDelete, maintenancesImmediatePut, maintenancesPostWindows, maintenancesUpdate, messageGet, messagesList, monitorActivate, monitorCreate, monitorDeactivate, monitorDelete, monitorGet, monitorGetAll, monitorUpdate, oauthClientTokensCreate, oauthClientTokensDelete, oauthClientTokensGet, oauthClientTokensList, oauthClientTokensUpdate, oauthCreateToken, oauthGetRefreshTokenList, oauthGetTokenList, oauthRefreshTokenDeleteId, oauthTokenCognateDelete, oauthTokenCognateDeleteCurrent, oauthTokenDelete, oauthTokenDeleteCurrent, parseFilter, sampleServiceDetailRequestBody, searchUniverse, serviceDetailResponseBody, settingsGet, settingsGetDetail, settingsUpdate, stationDelete, stationsAgentType, stationsCreate, stationsDeleteMaintenance, stationsGet, stationsGetAgents, stationsLatest, stationsList, stationsOnpremiseConnected, stationsOnpremiseConnectedAll, stationsOnpremiseList, stationsPutMaintenance, stationsUpdate, statistic, summarizeDataStoreSchema, tagsGetAll, timezonesList, userBlockDelete, userBlockPut, userDelete, userGet, userLockDelete, userPut, userSubaccountsGet, userSubaccountsPost, verifyAndDumpLegacyConfiguration, verifyAndDumpVersion3Configuration, verifyAndDumpVersion4Configuration, vertexMatchesFilters };
77265
77558
  //# sourceMappingURL=index.esm.js.map