@centrali-io/centrali-sdk 9.5.1 → 9.6.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.
package/README.md CHANGED
@@ -14,6 +14,23 @@ Official Node.js SDK for Centrali - Build modern web applications without managi
14
14
  npm install @centrali-io/centrali-sdk
15
15
  ```
16
16
 
17
+ ## Validation collection slugs
18
+
19
+ Use `recordSlug` to filter validation suggestions:
20
+
21
+ ```typescript
22
+ await client.validation.listSuggestions({ recordSlug: 'orders', status: 'pending' });
23
+ await client.validation.getSummary('orders');
24
+ await client.validation.triggerScan('orders');
25
+ ```
26
+
27
+ `structureSlug` remains accepted as a legacy alias. When both names are supplied,
28
+ nonempty values must match; conflicting aliases are rejected asynchronously. Empty
29
+ list/summary filters are treated as omitted for backward compatibility. The SDK sends both names for
30
+ canonical filters, scan requests, and summaries so filtering also works on older
31
+ servers. Pending-count responses include both names on updated servers;
32
+ `recordSlug` is optional in the SDK response type because older servers omit it.
33
+
17
34
  ## Quick Start
18
35
 
19
36
  ```typescript
@@ -834,6 +851,38 @@ Compute functions have **no built-in environment variables or secrets field**. T
834
851
 
835
852
  See [Orchestrations](#orchestrations) for encrypted params usage.
836
853
 
854
+ #### Trigger health
855
+
856
+ Health reads work for every trigger type; HTTP request acceptance and recorded
857
+ execution success are independent metrics:
858
+
859
+ ```typescript
860
+ const health = await centrali.triggers.health(7); // 7 or 30 calendar days
861
+ console.log(health.data.data); // per-trigger summaries
862
+ console.log(health.data.meta.unattributedRequests); // unknown trigger paths / lookup failures
863
+
864
+ const trend = await centrali.triggers.healthTrend('trigger-uuid', 7);
865
+ console.log(trend.data.trigger);
866
+ console.log(trend.data.data); // daily buckets
867
+ console.log(trend.data.summary.requestAcceptanceRate); // accepted / received; null without observations
868
+ console.log(trend.data.summary.executionSuccessRate); // successful recorded runs / totalRuns
869
+ ```
870
+
871
+ These methods use a typed HTTP-body transport (the same Axios client and authentication
872
+ interceptors) and wrap the **complete controller envelope** in `data`. They bypass
873
+ legacy envelope normalization without changing it for other SDK methods.
874
+ The list's rows are `health.data.data`; its metadata is `health.data.meta`.
875
+ Trend summary is `trend.data.summary`, alongside its daily `data` array.
876
+
877
+ Request counts cover completed HTTP-trigger decisions and refresh about every five
878
+ minutes. Redis buffers may undercount after failures, restarts, TTL expiry, or capacity
879
+ limits; uncertain Redis increments can also be replayed on reconnect. Rates are
880
+ approximate during interruptions; in-flight requests and interrupted decisions are unavailable. Counts start
881
+ at tracking rollout, with no historical log backfill. Non-HTTP triggers have no
882
+ HTTP-controller request observations. `successRate` is a deprecated execution-only
883
+ alias retained through at least 2027-04-27; use `executionSuccessRate` and check
884
+ `totalRuns` before interpreting execution health. Health read failures propagate.
885
+
837
886
  #### Invoking Triggers
838
887
 
839
888
  Trigger invocation is **asynchronous** — it returns a job ID, not the execution result. Use the function runs API to poll for the result.
@@ -852,8 +901,36 @@ const latestRun = runs.data.data[0];
852
901
  console.log('Status:', latestRun.status); // pending | running | completed | failure | timeout
853
902
  console.log('Result:', latestRun.runData); // execution output (once completed)
854
903
  console.log('Error:', latestRun.errorMessage); // error details (if failed)
904
+
905
+ // Invoke an HTTP trigger by its stable path. Signature settings should match
906
+ // the trigger's metadata; the signing secret remains caller-supplied.
907
+ const queued = await centrali.triggers.invokeHttpTrigger('order-created', {
908
+ orderId: 'order-123'
909
+ }, {
910
+ signingSecret: process.env.ORDER_TRIGGER_SECRET,
911
+ signatureHeaderName: 'x-signature',
912
+ hmacAlgorithm: 'sha256',
913
+ hmacEncoding: 'base64',
914
+ secretEncoding: 'raw'
915
+ });
916
+ console.log(queued.data.status); // queued
855
917
  ```
856
918
 
919
+ **HTTP-trigger signing compatibility:** With `secretEncoding: 'prefixed-base64'`,
920
+ the SDK now derives the signing key by decoding the full remainder after the
921
+ first underscore, matching the rule already documented in
922
+ [Signature Verification](#signature-verification).
923
+
924
+ SDK releases before this change truncated the secret body at the second
925
+ underscore when signing HTTP-trigger invocations. This affects only secrets
926
+ whose body contains an underscore (two or more underscores in the whole secret).
927
+ For these secrets, if the body begins with an underscore, an older SDK rejects
928
+ the secret locally with a malformed-secret error before sending a signed request;
929
+ otherwise, it produces a signature that an updated server rejects.
930
+ Upgrade the SDK so signer and verifier agree.
931
+ Auto-generated HTTP-trigger secrets use standard base64, whose alphabet contains
932
+ no underscore, and are unaffected.
933
+
857
934
  #### Function Runs (Execution History)
858
935
 
859
936
  Query execution history for debugging and observability. Access via
@@ -997,8 +1074,8 @@ const summary = await centrali.validation.getSummary();
997
1074
  console.log('Pending:', summary.data.pending);
998
1075
  console.log('By type:', summary.data.byIssueType);
999
1076
 
1000
- // Get pending count for a structure
1001
- const count = await centrali.validation.getPendingCount('structure-uuid');
1077
+ // Get pending count for a collection by slug (not its UUID)
1078
+ const count = await centrali.validation.getPendingCount('orders');
1002
1079
  console.log('Pending issues:', count.data.pendingCount);
1003
1080
  ```
1004
1081
 
@@ -1006,6 +1083,7 @@ console.log('Pending issues:', count.data.pendingCount);
1006
1083
 
1007
1084
  | Type | Description |
1008
1085
  |------|-------------|
1086
+ | `type` | Schema type mismatch |
1009
1087
  | `format` | Format validation (email, phone, URL patterns) |
1010
1088
  | `typo` | Spelling mistakes in text fields |
1011
1089
  | `duplicate` | Duplicate records detected |
@@ -1360,17 +1438,35 @@ console.log(product.data.price);
1360
1438
 
1361
1439
  ## Error Handling
1362
1440
 
1441
+ HTTP response failures throw `CentraliError` with the numeric `status` received from
1442
+ that response, including initial token acquisition, refresh failures, publishable-key
1443
+ requests, the internal realtime token provider, and `fetchServiceAccountToken()`.
1444
+ Realtime subscription callbacks continue to use their `RealtimeError` event shape. If token
1445
+ refresh fails after a resource response, the original resource status is preserved.
1446
+ Network failures without an HTTP response have an undefined `status`.
1447
+
1448
+ Read `status`, `statusText`, `code`, and `body` directly from the error. The SDK does
1449
+ not expose Axios's `error.response` shape. Existing error messages remain available;
1450
+ use `status` instead of parsing the message. The SDK preserves the received status;
1451
+ it does not reinterpret the server's authorization decision.
1452
+
1363
1453
  ```typescript
1454
+ import { CentraliError } from '@centrali-io/centrali-sdk';
1455
+
1364
1456
  try {
1365
1457
  const record = await centrali.createRecord('Product', productData);
1366
1458
  console.log('Success:', record);
1367
1459
  } catch (error) {
1368
- if (error.response?.status === 400) {
1369
- console.error('Validation error:', error.response.data);
1370
- } else if (error.response?.status === 401) {
1371
- console.error('Authentication failed');
1460
+ if (error instanceof CentraliError) {
1461
+ if (error.status === 400) {
1462
+ console.error('Validation error:', error.body);
1463
+ } else if (error.status === 401 || error.status === 403) {
1464
+ console.error('Authorization failed:', error.status, error.message);
1465
+ } else {
1466
+ console.error('Request failed:', error.status, error.code, error.message);
1467
+ }
1372
1468
  } else {
1373
- console.error('Error:', error.message);
1469
+ throw error;
1374
1470
  }
1375
1471
  }
1376
1472
  ```
package/dist/index.d.ts CHANGED
@@ -104,6 +104,10 @@ declare function getFunctionTriggerResumeApiPath(workspaceId: string, triggerId:
104
104
  * Generate Endpoint trigger invocation API URL PATH.
105
105
  */
106
106
  declare function getEndpointApiPath(workspaceId: string, path: string): string;
107
+ /**
108
+ * Generate HTTP trigger invocation API URL PATH.
109
+ */
110
+ declare function getHttpTriggerApiPath(workspaceId: string, path: string): string;
107
111
  /**
108
112
  * Generate Saved Queries base API URL PATH for workspace-level operations.
109
113
  *
@@ -1418,6 +1422,46 @@ interface InvokeEndpointOptions {
1418
1422
  /** Query string parameters. */
1419
1423
  query?: Record<string, string>;
1420
1424
  }
1425
+ /**
1426
+ * Options for invoking an asynchronous HTTP trigger.
1427
+ *
1428
+ * Signature options mirror the HTTP trigger's signature metadata. When
1429
+ * `signingSecret` is omitted, the request is sent unsigned.
1430
+ */
1431
+ interface InvokeHttpTriggerOptions {
1432
+ /** Additional request headers. Signature-related headers generated by the SDK take precedence. */
1433
+ headers?: Record<string, string>;
1434
+ /** HMAC signing secret. Omit for a trigger with signature validation disabled. */
1435
+ signingSecret?: string;
1436
+ /** Header that receives the generated signature. Required when signing. */
1437
+ signatureHeaderName?: string;
1438
+ /** Optional header carrying the signature/message ID. */
1439
+ signatureIdHeaderName?: string;
1440
+ /** Optional header carrying the Unix timestamp. */
1441
+ timestampHeaderName?: string;
1442
+ /** Indicates that the timestamp is embedded in the signature header (for example, Stripe). */
1443
+ timestampExtractionPattern?: string;
1444
+ /** Template for the signature header value. Supports `{sig}` and `{ts}` placeholders. */
1445
+ signatureHeaderTemplate?: string;
1446
+ /** HMAC algorithm (default: `sha256`). */
1447
+ hmacAlgorithm?: string;
1448
+ /** Digest encoding (default: `base64`). */
1449
+ hmacEncoding?: 'base64' | 'base64url' | 'hex';
1450
+ /** Encoding used to decode a prefixed secret (default: `base64`). */
1451
+ encoding?: 'base64' | 'base64url' | 'hex';
1452
+ /** Secret handling used by the server validator (default: `raw`). */
1453
+ secretEncoding?: 'raw' | 'prefixed-base64';
1454
+ /** Payload canonicalization used by the server validator (default: `default`). */
1455
+ payloadFormat?: 'default' | 'slack';
1456
+ /** Unix timestamp override. Intended for deterministic tests; defaults to the current time. */
1457
+ timestamp?: number;
1458
+ /** Signature/message ID override; otherwise one is generated when required. */
1459
+ sigId?: string;
1460
+ }
1461
+ /** Response returned after an HTTP trigger request is accepted for async execution. */
1462
+ interface HttpTriggerInvokeResponse {
1463
+ status: 'queued';
1464
+ }
1421
1465
  /**
1422
1466
  * Response from a synchronous compute endpoint invocation.
1423
1467
  */
@@ -1480,6 +1524,56 @@ interface TriggerWithHealth extends FunctionTrigger {
1480
1524
  health: TriggerHealthMetrics;
1481
1525
  healthStatus: TriggerHealthStatus;
1482
1526
  }
1527
+ /** HTTP request health recorded since tracking rollout; no historical backfill. */
1528
+ interface TriggerRequestHealth {
1529
+ receivedCount: number;
1530
+ acceptedCount: number;
1531
+ rejectedCount: number;
1532
+ requestAcceptanceRate: number | null;
1533
+ rejectionReasonBreakdown: Record<string, number>;
1534
+ }
1535
+ interface TriggerHealthSummary extends TriggerRequestHealth {
1536
+ triggerId: string;
1537
+ triggerName: string;
1538
+ executionType: string;
1539
+ enabled: boolean;
1540
+ totalRuns: number;
1541
+ successCount: number;
1542
+ failureCount: number;
1543
+ executionSuccessRate: number;
1544
+ /** @deprecated Use executionSuccessRate. Retained through at least 2027-04-27. */
1545
+ successRate: number;
1546
+ failureRate: number;
1547
+ avgDurationMs: number;
1548
+ lastRunAt: string | null;
1549
+ attentionNeeded: boolean;
1550
+ trendDirection: 'increasing' | 'decreasing' | 'stable';
1551
+ }
1552
+ interface TriggerHealthList {
1553
+ data: TriggerHealthSummary[];
1554
+ meta: {
1555
+ period: number;
1556
+ totalTriggers: number;
1557
+ attentionCount: number;
1558
+ unattributedRequests: TriggerRequestHealth;
1559
+ };
1560
+ }
1561
+ interface TriggerHealthTrend {
1562
+ trigger: {
1563
+ id: string;
1564
+ name: string;
1565
+ executionType: string;
1566
+ };
1567
+ data: Array<TriggerRequestHealth & {
1568
+ date: string;
1569
+ successCount: number;
1570
+ failureCount: number;
1571
+ totalRuns: number;
1572
+ failureRate: number;
1573
+ avgDurationMs: number;
1574
+ }>;
1575
+ summary: TriggerRequestHealth & Pick<TriggerHealthSummary, 'totalRuns' | 'executionSuccessRate' | 'successRate' | 'failureRate' | 'avgDurationMs' | 'attentionNeeded' | 'trendDirection'>;
1576
+ }
1483
1577
 
1484
1578
  /**
1485
1579
  * Orchestration trigger types.
@@ -2787,7 +2881,9 @@ interface ValidationSuggestion {
2787
2881
  * Options for listing validation suggestions.
2788
2882
  */
2789
2883
  interface ListValidationSuggestionsOptions {
2790
- /** Filter by structure slug (recordSlug) */
2884
+ /** Filter by collection slug. Empty aliases are omitted; nonempty aliases must match. */
2885
+ recordSlug?: string;
2886
+ /** Legacy alias for recordSlug. */
2791
2887
  structureSlug?: string;
2792
2888
  /** Filter by record ID */
2793
2889
  recordId?: string;
@@ -2887,6 +2983,14 @@ interface BulkOperationResult {
2887
2983
  /** Status message */
2888
2984
  message: string;
2889
2985
  }
2986
+ /** Pending validation suggestions for a collection. */
2987
+ interface ValidationPendingCount {
2988
+ /** Collection slug. Absent on older servers. */
2989
+ recordSlug?: string;
2990
+ /** Legacy alias for the collection slug. */
2991
+ structureSlug: string;
2992
+ pendingCount: number;
2993
+ }
2890
2994
 
2891
2995
  type WebhookDeliveryStatus = 'success' | 'failed' | 'retrying' | 'filtered';
2892
2996
  /**
@@ -3449,11 +3553,9 @@ declare class OrchestrationsManager {
3449
3553
  }
3450
3554
 
3451
3555
  /**
3452
- * TriggersManager provides methods for working with on-demand function triggers.
3453
- * Access via `client.triggers`.
3454
- *
3455
- * Note: This manager only works with on-demand triggers. Scheduled, event-driven,
3456
- * and webhook triggers are managed through other mechanisms.
3556
+ * TriggersManager provides trigger management, invocation, and health reads.
3557
+ * Access via `client.triggers`. Health reads cover every trigger type; HTTP
3558
+ * request metrics apply only to traffic reaching the HTTP trigger controller.
3457
3559
  *
3458
3560
  * Usage:
3459
3561
  * ```ts
@@ -3473,9 +3575,13 @@ declare class OrchestrationsManager {
3473
3575
  * ```
3474
3576
  */
3475
3577
  declare class TriggersManager {
3578
+ private readonly requestBody?;
3476
3579
  private requestFn;
3477
3580
  private workspaceId;
3478
- constructor(workspaceId: string, requestFn: <T>(method: Method, path: string, data?: any, queryParams?: Record<string, any>) => Promise<ApiResponse<T>>);
3581
+ constructor(workspaceId: string, requestFn: <T>(method: Method, path: string, data?: any, queryParams?: Record<string, any>, config?: AxiosRequestConfig) => Promise<ApiResponse<T>>, requestBody?: (<T>(method: Method, path: string, data?: any, queryParams?: Record<string, any>) => Promise<T>) | undefined);
3582
+ /** Request acceptance and execution success are independent metrics. */
3583
+ health(period?: 7 | 30): Promise<ApiResponse<TriggerHealthList>>;
3584
+ healthTrend(triggerId: string, period?: 7 | 30): Promise<ApiResponse<TriggerHealthTrend>>;
3479
3585
  /**
3480
3586
  * Invoke an on-demand trigger by ID.
3481
3587
  *
@@ -3699,6 +3805,15 @@ declare class TriggersManager {
3699
3805
  * ```
3700
3806
  */
3701
3807
  invokeEndpoint<T = any>(endpointPath: string, options?: InvokeEndpointOptions): Promise<ApiResponse<T>>;
3808
+ /**
3809
+ * Invoke an asynchronous HTTP trigger by its stable path.
3810
+ *
3811
+ * The JSON body is serialized before signing so the bytes transmitted by
3812
+ * Axios are exactly the bytes used to compute the HMAC. Signature options
3813
+ * mirror the server validator's trigger metadata. Omit `signingSecret` for
3814
+ * an unsigned trigger.
3815
+ */
3816
+ invokeHttpTrigger(triggerPath: string, payload: unknown, options?: InvokeHttpTriggerOptions): Promise<ApiResponse<HttpTriggerInvokeResponse>>;
3702
3817
  }
3703
3818
 
3704
3819
  /**
@@ -4463,7 +4578,7 @@ declare class ValidationManager {
4463
4578
  /**
4464
4579
  * Trigger a batch validation scan on a structure.
4465
4580
  *
4466
- * @param structureSlug - The structure's slug to scan
4581
+ * @param recordSlug - The collection slug to scan
4467
4582
  * @param options - Optional scan configuration
4468
4583
  * @returns The batch scan result with batchId for tracking
4469
4584
  *
@@ -4474,7 +4589,7 @@ declare class ValidationManager {
4474
4589
  * console.log('Records to scan:', batch.data.total);
4475
4590
  * ```
4476
4591
  */
4477
- triggerScan(structureSlug: string, options?: TriggerScanOptions): Promise<ApiResponse<BatchScanResult>>;
4592
+ triggerScan(recordSlug: string, options?: TriggerScanOptions): Promise<ApiResponse<BatchScanResult>>;
4478
4593
  /**
4479
4594
  * Get the status of a batch validation scan.
4480
4595
  *
@@ -4585,7 +4700,7 @@ declare class ValidationManager {
4585
4700
  /**
4586
4701
  * Get validation summary statistics.
4587
4702
  *
4588
- * @param structureId - Optional structure ID to filter summary
4703
+ * @param recordSlug - Optional collection slug to filter summary
4589
4704
  * @returns Summary of suggestions by status and type
4590
4705
  *
4591
4706
  * @example
@@ -4595,17 +4710,14 @@ declare class ValidationManager {
4595
4710
  * console.log('By type:', summary.data.byIssueType);
4596
4711
  * ```
4597
4712
  */
4598
- getSummary(structureSlug?: string): Promise<ApiResponse<ValidationSummary>>;
4713
+ getSummary(recordSlug?: string): Promise<ApiResponse<ValidationSummary>>;
4599
4714
  /**
4600
4715
  * Get the count of pending suggestions for a structure.
4601
4716
  *
4602
- * @param structureSlug - The structure slug (recordSlug)
4717
+ * @param recordSlug - The collection slug
4603
4718
  * @returns Object with pending count
4604
4719
  */
4605
- getPendingCount(structureSlug: string): Promise<ApiResponse<{
4606
- structureSlug: string;
4607
- pendingCount: number;
4608
- }>>;
4720
+ getPendingCount(recordSlug: string): Promise<ApiResponse<ValidationPendingCount>>;
4609
4721
  }
4610
4722
 
4611
4723
  /**
@@ -6370,9 +6482,8 @@ declare class CentraliSDK {
6370
6482
  * own deprecation telemetry.
6371
6483
  */
6372
6484
  private requestWithDeprecationHeader;
6373
- /**
6374
- * Perform an HTTP request.
6375
- */
6485
+ /** Return the typed HTTP body without applying legacy envelope normalization. */
6486
+ private requestBody;
6376
6487
  private request;
6377
6488
  /** Create a new record in a given recordSlug. */
6378
6489
  createRecord<T = any>(recordSlug: string, record: Record<string, any>, options?: RecordTtlOptions): Promise<ApiResponse<T>>;
@@ -6711,4 +6822,4 @@ declare class CentraliSDK {
6711
6822
  checkAuthorization(options: CheckAuthorizationOptions): Promise<ApiResponse<AuthorizationResult>>;
6712
6823
  }
6713
6824
 
6714
- export { type AcceptSuggestionResult, type AddAllowedDomainOptions, type AlertComparisonOp, type AlertCondition, type AlertDefinition, AlertDefinitionsManager, type AlertRecipient, type AllowedDomain, type AllowedDomainsListResponse, AllowedDomainsManager, type AnomalyAnalysisResult, type AnomalyDetectionData, type AnomalyEventType, type AnomalyInsight, type AnomalyInsightData, AnomalyInsightsManager, type ApiResponse, type ArrayPropertyDefinition, AuditLogManager, type AuthorizationResult, type BasePropertyDefinition, type BatchScanResult, type BatchScanStatus, type BooleanPropertyDefinition, type BulkOperationResult, CANONICAL_OPERATORS, type CanonicalOperator, CentraliError, CentraliSDK, type CentraliSDKOptions, type CheckAuthorizationOptions, CollectionsManager, type ComputeEventType, type ComputeFunction, ComputeFunctionsManager, type ComputeJobStatus, type ComputeJobStatusResponse, type ConditionOperator, type CreateAlertDefinitionInput, type CreateComputeFunctionInput, type CreateOrchestrationInput, type CreateSmartQueryInput, type CreateStructureInput, type CreateSubscriberInput, type CreateTriggerInput, type CreateWebhookSubscriptionInput, type DateTimePropertyDefinition, type DateWindowOption, type DeleteRecordOptions, type EndpointResponse, type EventLogSourceTable, type EventLogSubscribeOptions, type ExecuteSavedQueryValues, type ExecuteSmartQueryOptions, type ExpandOptions, type FieldCondition, type FieldConditionMap, type FileMetadata, FilesManager, type FilterOperators, type FilterValue, type FunctionMemoryUsage, type FunctionRun, type FunctionRunError, type FunctionRunExecutionSource, type FunctionRunStatus, FunctionRunsManager, type FunctionTrigger, type GetRecordOptions, type IncludeClause, type InsightSeverity, type InsightStatus, type InsightType, type InsightsSummary, type InvokeEndpointOptions, type InvokeTriggerOptions, JOINS_MAX_LENGTH, type JoinClause, type JoinType, type LegacyTranslateOptions, type LegacyTranslateResult, type LegacyTranslateWarning, type ListAlertDefinitionsOptions, type ListAllTriggersOptions, type ListCollectionsOptions, type ListComputeFunctionsOptions, type ListFunctionRunsOptions, type ListInsightsOptions, type ListOrchestrationRunsOptions, type ListOrchestrationsOptions, type ListSmartQueryOptions, type ListStructuresOptions, type ListValidationSuggestionsOptions, type ListWebhookDeliveriesOptions, type NumberPropertyDefinition, OPERATOR_METADATA, type ObjectPropertyDefinition, type OperatorMeta, type OperatorTypeApplicability, type OperatorValueShape, type Orchestration, type OrchestrationCaseEvaluation, type OrchestrationCondition, type OrchestrationConditionEvaluation, type OrchestrationDecisionCase, type OrchestrationDecisionResult, type OrchestrationDelayConfig, type OrchestrationEventType, type OrchestrationFailureReason, type OrchestrationOnFailure, type OrchestrationOnSuccess, type OrchestrationRetryConfig, type OrchestrationRun, type OrchestrationRunStatus, type OrchestrationRunStep, OrchestrationRunsManager, type OrchestrationScheduleType, type OrchestrationStatus, type OrchestrationStep, type OrchestrationStepError, type OrchestrationStepStatus, type OrchestrationStepType, type OrchestrationTrigger, type OrchestrationTriggerMetadata, type OrchestrationTriggerType, OrchestrationsManager, type PageClause, type PaginatedResponse, type ParsedUrlQuery, type PropertyDefinition, type PropertyType, type PublishToSubscriberInput, type PublishToSubscriberResult, type PublishWebhookEventInput, type PublishWebhookEventResult, type QueryDefinition, type QueryError, type QueryErrorCode, type QueryExecutionMode, type QueryHttpError, type QueryHttpErrorCode, QueryManager, type QueryRecordOptions, type QueryResult, type QueryResultMeta, type QueryValidateOptions, type QueryVariableDefinition, RECORDS_PAGE_DEFAULT_LIMIT, RECORDS_PAGE_MAX_LIMIT, type RealtimeAnomalyDetectionEvent, type RealtimeAnomalyInsightEvent, type RealtimeCloseEvent, type RealtimeError, type RealtimeEvent, type RealtimeEventLogEntry, type RealtimeEventType, type RealtimeFunctionRunEvent, RealtimeManager, type RealtimeOrchestrationRunEvent, type RealtimeRecordEvent, type RealtimeSubscribeOptions, type RealtimeSubscription, type RealtimeValidationBatchEvent, type RealtimeValidationSuggestionEvent, type RecordEventType, RecordEvents, type RecordTtlOptions, RecordsManager, type ReferencePropertyDefinition, type ResourceCategory, type SavedQueryDefinition, type SavedQueryScalarBinding, type ScalarValue, type SchemaDiscoveryMode, type SelectClause, SmartQueriesManager, type SmartQuery, type SmartQueryDefinition, type SmartQueryExecuteResult, type SmartQueryFieldCondition, type SmartQueryJoin, type SmartQuerySort, type SmartQueryWhereClause, type SortClause, type StepEncryptedParam, type StringPropertyDefinition, type Structure, StructuresManager, type Subscriber, SubscribersManager, type TestComputeFunctionInput, type TestComputeFunctionResult, type TestSmartQueryInput, type TextSearchClause, type TriggerExecutionType, type TriggerHealthMetrics, type TriggerHealthStatus, type TriggerInvokeResponse, type TriggerOrchestrationRunOptions, type TriggerScanOptions, type TriggerWithHealth, TriggersManager, type UpdateAlertDefinitionInput, type UpdateComputeFunctionInput, type UpdateOrchestrationInput, type UpdateSmartQueryInput, type UpdateStructureInput, type UpdateSubscriberInput, type UpdateTriggerInput, type UpdateWebhookSubscriptionInput, type UrlParserOptions, type ValidateStructureInput, type ValidationBatchData, type ValidationEventType, type ValidationIssueType, ValidationManager, type ValidationResult, type ValidationSuggestion, type ValidationSuggestionData, type ValidationSuggestionStatus, type ValidationSummary, type VariableType, type WaitForScanOptions, type WebhookCancelResponse, type WebhookDeliveriesListMeta, type WebhookDelivery, type WebhookDeliveryStatus, type WebhookDeliverySummary, type WebhookEventName, type WebhookPayloadVersions, type WebhookPublishDelivery, type WebhookReplayResponse, type WebhookSubscription, WebhookSubscriptionsManager, type WhereExpression, fetchClientToken, getAlertDefinitionByIdApiPath, getAlertDefinitionsApiPath, getAllowedDomainsApiPath, getAnomalyAnalysisTriggerApiPath, getAnomalyInsightAcknowledgeApiPath, getAnomalyInsightDismissApiPath, getAnomalyInsightsApiPath, getAnomalyInsightsBulkAcknowledgeApiPath, getAnomalyInsightsSummaryApiPath, getApiUrl, getAuthUrl, getCollectionBySlugApiPath, getCollectionInsightsApiPath, getCollectionValidateApiPath, getCollectionsApiPath, getComputeFunctionTestApiPath, getComputeFunctionsApiPath, getComputeJobStatusApiPath, getEndpointApiPath, getFileUploadApiPath, getFilesCanonicalApiPath, getFunctionRunsApiPath, getFunctionRunsByFunctionApiPath, getFunctionRunsByTriggerApiPath, getFunctionTriggerExecuteApiPath, getFunctionTriggerPauseApiPath, getFunctionTriggerResumeApiPath, getFunctionTriggersApiPath, getOrchestrationRunStepsApiPath, getOrchestrationRunsApiPath, getOrchestrationRunsCanonicalApiPath, getOrchestrationsApiPath, getRealtimeUrl, getRecordApiPath, getSavedQueryCanonicalByIdPath, getSavedQueryCanonicalCollectionPath, getSavedQueryCanonicalExecutePath, getSavedQueryCanonicalTestPath, getSmartQueriesApiPath, getSmartQueriesStructureApiPath, getSmartQueryByNameApiPath, getSmartQueryExecuteApiPath, getSmartQueryTestApiPath, getStructureBySlugApiPath, getStructureInsightsApiPath, getStructureValidateApiPath, getStructuresApiPath, getSubscriberPublishApiPath, getSubscriberSubscriptionsApiPath, getSubscribersApiPath, getValidationBulkAcceptApiPath, getValidationBulkRejectApiPath, getValidationPendingCountApiPath, getValidationRecordSuggestionsApiPath, getValidationScanApiPath, getValidationSuggestionAcceptApiPath, getValidationSuggestionRejectApiPath, getValidationSuggestionsApiPath, getValidationSummaryApiPath, getWebhookDeliveryCancelApiPath, getWebhookDeliveryRetryApiPath, getWebhookPayloadVersionsApiPath, getWebhookPublishApiPath, getWebhookSubscriptionDeliveriesApiPath, getWebhookSubscriptionRotateSecretApiPath, getWebhookSubscriptionsApiPath, isCentraliError, operatorsForFieldType };
6825
+ export { type AcceptSuggestionResult, type AddAllowedDomainOptions, type AlertComparisonOp, type AlertCondition, type AlertDefinition, AlertDefinitionsManager, type AlertRecipient, type AllowedDomain, type AllowedDomainsListResponse, AllowedDomainsManager, type AnomalyAnalysisResult, type AnomalyDetectionData, type AnomalyEventType, type AnomalyInsight, type AnomalyInsightData, AnomalyInsightsManager, type ApiResponse, type ArrayPropertyDefinition, AuditLogManager, type AuthorizationResult, type BasePropertyDefinition, type BatchScanResult, type BatchScanStatus, type BooleanPropertyDefinition, type BulkOperationResult, CANONICAL_OPERATORS, type CanonicalOperator, CentraliError, CentraliSDK, type CentraliSDKOptions, type CheckAuthorizationOptions, CollectionsManager, type ComputeEventType, type ComputeFunction, ComputeFunctionsManager, type ComputeJobStatus, type ComputeJobStatusResponse, type ConditionOperator, type CreateAlertDefinitionInput, type CreateComputeFunctionInput, type CreateOrchestrationInput, type CreateSmartQueryInput, type CreateStructureInput, type CreateSubscriberInput, type CreateTriggerInput, type CreateWebhookSubscriptionInput, type DateTimePropertyDefinition, type DateWindowOption, type DeleteRecordOptions, type EndpointResponse, type EventLogSourceTable, type EventLogSubscribeOptions, type ExecuteSavedQueryValues, type ExecuteSmartQueryOptions, type ExpandOptions, type FieldCondition, type FieldConditionMap, type FileMetadata, FilesManager, type FilterOperators, type FilterValue, type FunctionMemoryUsage, type FunctionRun, type FunctionRunError, type FunctionRunExecutionSource, type FunctionRunStatus, FunctionRunsManager, type FunctionTrigger, type GetRecordOptions, type HttpTriggerInvokeResponse, type IncludeClause, type InsightSeverity, type InsightStatus, type InsightType, type InsightsSummary, type InvokeEndpointOptions, type InvokeHttpTriggerOptions, type InvokeTriggerOptions, JOINS_MAX_LENGTH, type JoinClause, type JoinType, type LegacyTranslateOptions, type LegacyTranslateResult, type LegacyTranslateWarning, type ListAlertDefinitionsOptions, type ListAllTriggersOptions, type ListCollectionsOptions, type ListComputeFunctionsOptions, type ListFunctionRunsOptions, type ListInsightsOptions, type ListOrchestrationRunsOptions, type ListOrchestrationsOptions, type ListSmartQueryOptions, type ListStructuresOptions, type ListValidationSuggestionsOptions, type ListWebhookDeliveriesOptions, type NumberPropertyDefinition, OPERATOR_METADATA, type ObjectPropertyDefinition, type OperatorMeta, type OperatorTypeApplicability, type OperatorValueShape, type Orchestration, type OrchestrationCaseEvaluation, type OrchestrationCondition, type OrchestrationConditionEvaluation, type OrchestrationDecisionCase, type OrchestrationDecisionResult, type OrchestrationDelayConfig, type OrchestrationEventType, type OrchestrationFailureReason, type OrchestrationOnFailure, type OrchestrationOnSuccess, type OrchestrationRetryConfig, type OrchestrationRun, type OrchestrationRunStatus, type OrchestrationRunStep, OrchestrationRunsManager, type OrchestrationScheduleType, type OrchestrationStatus, type OrchestrationStep, type OrchestrationStepError, type OrchestrationStepStatus, type OrchestrationStepType, type OrchestrationTrigger, type OrchestrationTriggerMetadata, type OrchestrationTriggerType, OrchestrationsManager, type PageClause, type PaginatedResponse, type ParsedUrlQuery, type PropertyDefinition, type PropertyType, type PublishToSubscriberInput, type PublishToSubscriberResult, type PublishWebhookEventInput, type PublishWebhookEventResult, type QueryDefinition, type QueryError, type QueryErrorCode, type QueryExecutionMode, type QueryHttpError, type QueryHttpErrorCode, QueryManager, type QueryRecordOptions, type QueryResult, type QueryResultMeta, type QueryValidateOptions, type QueryVariableDefinition, RECORDS_PAGE_DEFAULT_LIMIT, RECORDS_PAGE_MAX_LIMIT, type RealtimeAnomalyDetectionEvent, type RealtimeAnomalyInsightEvent, type RealtimeCloseEvent, type RealtimeError, type RealtimeEvent, type RealtimeEventLogEntry, type RealtimeEventType, type RealtimeFunctionRunEvent, RealtimeManager, type RealtimeOrchestrationRunEvent, type RealtimeRecordEvent, type RealtimeSubscribeOptions, type RealtimeSubscription, type RealtimeValidationBatchEvent, type RealtimeValidationSuggestionEvent, type RecordEventType, RecordEvents, type RecordTtlOptions, RecordsManager, type ReferencePropertyDefinition, type ResourceCategory, type SavedQueryDefinition, type SavedQueryScalarBinding, type ScalarValue, type SchemaDiscoveryMode, type SelectClause, SmartQueriesManager, type SmartQuery, type SmartQueryDefinition, type SmartQueryExecuteResult, type SmartQueryFieldCondition, type SmartQueryJoin, type SmartQuerySort, type SmartQueryWhereClause, type SortClause, type StepEncryptedParam, type StringPropertyDefinition, type Structure, StructuresManager, type Subscriber, SubscribersManager, type TestComputeFunctionInput, type TestComputeFunctionResult, type TestSmartQueryInput, type TextSearchClause, type TriggerExecutionType, type TriggerHealthList, type TriggerHealthMetrics, type TriggerHealthStatus, type TriggerHealthSummary, type TriggerHealthTrend, type TriggerInvokeResponse, type TriggerOrchestrationRunOptions, type TriggerRequestHealth, type TriggerScanOptions, type TriggerWithHealth, TriggersManager, type UpdateAlertDefinitionInput, type UpdateComputeFunctionInput, type UpdateOrchestrationInput, type UpdateSmartQueryInput, type UpdateStructureInput, type UpdateSubscriberInput, type UpdateTriggerInput, type UpdateWebhookSubscriptionInput, type UrlParserOptions, type ValidateStructureInput, type ValidationBatchData, type ValidationEventType, type ValidationIssueType, ValidationManager, type ValidationPendingCount, type ValidationResult, type ValidationSuggestion, type ValidationSuggestionData, type ValidationSuggestionStatus, type ValidationSummary, type VariableType, type WaitForScanOptions, type WebhookCancelResponse, type WebhookDeliveriesListMeta, type WebhookDelivery, type WebhookDeliveryStatus, type WebhookDeliverySummary, type WebhookEventName, type WebhookPayloadVersions, type WebhookPublishDelivery, type WebhookReplayResponse, type WebhookSubscription, WebhookSubscriptionsManager, type WhereExpression, fetchClientToken, getAlertDefinitionByIdApiPath, getAlertDefinitionsApiPath, getAllowedDomainsApiPath, getAnomalyAnalysisTriggerApiPath, getAnomalyInsightAcknowledgeApiPath, getAnomalyInsightDismissApiPath, getAnomalyInsightsApiPath, getAnomalyInsightsBulkAcknowledgeApiPath, getAnomalyInsightsSummaryApiPath, getApiUrl, getAuthUrl, getCollectionBySlugApiPath, getCollectionInsightsApiPath, getCollectionValidateApiPath, getCollectionsApiPath, getComputeFunctionTestApiPath, getComputeFunctionsApiPath, getComputeJobStatusApiPath, getEndpointApiPath, getFileUploadApiPath, getFilesCanonicalApiPath, getFunctionRunsApiPath, getFunctionRunsByFunctionApiPath, getFunctionRunsByTriggerApiPath, getFunctionTriggerExecuteApiPath, getFunctionTriggerPauseApiPath, getFunctionTriggerResumeApiPath, getFunctionTriggersApiPath, getHttpTriggerApiPath, getOrchestrationRunStepsApiPath, getOrchestrationRunsApiPath, getOrchestrationRunsCanonicalApiPath, getOrchestrationsApiPath, getRealtimeUrl, getRecordApiPath, getSavedQueryCanonicalByIdPath, getSavedQueryCanonicalCollectionPath, getSavedQueryCanonicalExecutePath, getSavedQueryCanonicalTestPath, getSmartQueriesApiPath, getSmartQueriesStructureApiPath, getSmartQueryByNameApiPath, getSmartQueryExecuteApiPath, getSmartQueryTestApiPath, getStructureBySlugApiPath, getStructureInsightsApiPath, getStructureValidateApiPath, getStructuresApiPath, getSubscriberPublishApiPath, getSubscriberSubscriptionsApiPath, getSubscribersApiPath, getValidationBulkAcceptApiPath, getValidationBulkRejectApiPath, getValidationPendingCountApiPath, getValidationRecordSuggestionsApiPath, getValidationScanApiPath, getValidationSuggestionAcceptApiPath, getValidationSuggestionRejectApiPath, getValidationSuggestionsApiPath, getValidationSummaryApiPath, getWebhookDeliveryCancelApiPath, getWebhookDeliveryRetryApiPath, getWebhookPayloadVersionsApiPath, getWebhookPublishApiPath, getWebhookSubscriptionDeliveriesApiPath, getWebhookSubscriptionRotateSecretApiPath, getWebhookSubscriptionsApiPath, isCentraliError, operatorsForFieldType };