sasvi.types
Typed aliases for the sasvi SDK.
This module exports two kinds of types:
-
Literal/Enum aliases for closed-set strings used across the SDK (workflow states, disposition codes, sheet types, geo relations, etc.). These are the recommended way to type your code instead of bare
str::from sasvi.types import SheetType, ProductivityCode
def disposition(code: ProductivityCode) -> None: ...
The aliases describe what the API spec lists, and a tenant can be ahead of the spec. A value read from a response can therefore be a string outside the
Literalat runtime: the SDK passes it through unchanged and logs it once at WARNING instead of failing the whole response. Give everymatchorifchain over such a value a default branch. -
Sub-modules of generated wire types and models (
alerts,datahub,sand,workflows,files,folders,transport). Each exposes theUNSETsentinel and the other generated openapi helpers (Response,File) for advanced callers that need to construct wire payloads by hand.alerts,datahub,sandandworkflowsalso export every generated model of their service, and a model is imported the first time it is named::from sasvi.types.sand import SearchRequest
In
datahub,Fileis the upload payload, and the generated model that describes a stored file isFileModel. Prefer the curated types in the parentsasvinamespace whenever possible.
WorkflowState
Canonical workflow-instance state codes.
Note: the upstream service may emit "CANCELLED" (British spelling); the SDK
normalizes to "CANCELED" at the boundary.
WorkflowListView
Client-side filter applied to WorkflowsService.list.
WorkflowVariableType
Declared data types of a workflow process variable.
Mirrors the generated VariableRepType set.
WorkflowClientApplication
Values of the VI-Client-Application header sent by batch task claims.
ProductivityCode
Productivity rating values returned by VI scenario disposition workflows.
AlertActionType
Common alert-action verbs accepted by Alert.perform_action.
The actual catalog is tenant-configurable; pass any string at the type level if your tenant defines additional actions.
SheetType
Discriminator between insight sheets (NOTESHEET) and workspaces.
EntityTypeMode
Whether a document's entity type is externally sourced or VI-managed.
CommentCategory
Document comment categories. Default is GENERAL.
BulkUpsertMode
Bulk upsert mode. masked activates restricted and PII handling.
FieldValue
Type alias for any value stored in a VI document field.
ActionType
Data Hub action-history entry types.
Accepted by document.history.actions(action_type=...) and the
relationship-link actions(...) readers, one value or a sequence of values.
Mirrors the closed set the Data Hub spec declares for actionType.
VersionOperation
Operation recorded on a document or link version-history entry.
QueryLanguage
Query-language discriminator for Q.text(language=...).
SearchMode
SAND text-query mode for Q.text(modes=...), Q.safe_text and Search.text.
GeoRelation
Spatial relationship operator for geo-shape filters.
FacetMode
Facet computation mode.
SortDirection
Sort direction for ordered list/search results.
DateAccuracy
Date-range accuracy bucket for F.date(...) filters.
ReferenceLookupKey
Key used by ReferenceListRecord.to_lookup / validate_values.
ReferenceCodeStrategy
Strategy for synthesizing a reference-list item code from a label.
ConfigComponent
Configuration sub-system identifier for export/import bundles.
IndexingTaskType
Task types of a Data Hub SEARCH_INDEX_LOADER job.
LOAD_DOCUMENT indexes one entity type, LOAD_LINK one relationship type
(scoped by its fromObjectName), LOAD_TRANSACTION one transaction type.
DELETE_INDEX is listed for completeness; the SDK never builds it.
IndexingMode
How an IndexingRequest selects what to index.
full re-indexes everything, incremental indexes changes since a
timestamp, scoped indexes only the listed entity, relationship and
transaction types.
IndexAdminOperation
Operation names accepted by SAND POST /admin/operations.
AsyncJobStatus
Lifecycle states of a Data Hub async job (JobStatus in the spec).