@knowledge-stack/ksapi 1.101.2 → 1.103.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/.openapi-generator/FILES +60 -4
- package/README.md +41 -4
- package/dist/apis/ApiConnectionsApi.d.ts +225 -0
- package/dist/apis/ApiConnectionsApi.js +322 -0
- package/dist/apis/AuditEventsApi.d.ts +57 -1
- package/dist/apis/AuditEventsApi.js +65 -0
- package/dist/apis/AuthApi.d.ts +5 -5
- package/dist/apis/AuthApi.js +3 -2
- package/dist/apis/DocumentVersionsApi.d.ts +26 -5
- package/dist/apis/DocumentVersionsApi.js +23 -2
- package/dist/apis/DocumentsApi.d.ts +22 -1
- package/dist/apis/DocumentsApi.js +21 -0
- package/dist/apis/FeedbackApi.d.ts +19 -1
- package/dist/apis/FeedbackApi.js +18 -0
- package/dist/apis/FoldersApi.d.ts +31 -13
- package/dist/apis/FoldersApi.js +22 -4
- package/dist/apis/InvitesApi.d.ts +29 -5
- package/dist/apis/InvitesApi.js +26 -2
- package/dist/apis/PathPartsApi.d.ts +57 -1
- package/dist/apis/PathPartsApi.js +68 -0
- package/dist/apis/TagsApi.d.ts +22 -1
- package/dist/apis/TagsApi.js +21 -0
- package/dist/apis/TenantGroupsApi.d.ts +43 -1
- package/dist/apis/TenantGroupsApi.js +42 -0
- package/dist/apis/TenantsApi.d.ts +16 -1
- package/dist/apis/TenantsApi.js +15 -0
- package/dist/apis/ThreadMessagesApi.d.ts +7 -1
- package/dist/apis/ThreadMessagesApi.js +6 -0
- package/dist/apis/ThreadsApi.d.ts +22 -1
- package/dist/apis/ThreadsApi.js +21 -0
- package/dist/apis/TrashApi.d.ts +28 -1
- package/dist/apis/TrashApi.js +27 -0
- package/dist/apis/UserPermissionsApi.d.ts +10 -1
- package/dist/apis/UserPermissionsApi.js +9 -0
- package/dist/apis/WorkflowDefinitionsApi.d.ts +81 -1
- package/dist/apis/WorkflowDefinitionsApi.js +93 -0
- package/dist/apis/WorkflowRunsApi.d.ts +119 -1
- package/dist/apis/WorkflowRunsApi.js +136 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/ApiConnectionsApi.d.ts +225 -0
- package/dist/esm/apis/ApiConnectionsApi.js +285 -0
- package/dist/esm/apis/AuditEventsApi.d.ts +57 -1
- package/dist/esm/apis/AuditEventsApi.js +65 -0
- package/dist/esm/apis/AuthApi.d.ts +5 -5
- package/dist/esm/apis/AuthApi.js +4 -3
- package/dist/esm/apis/DocumentVersionsApi.d.ts +26 -5
- package/dist/esm/apis/DocumentVersionsApi.js +23 -2
- package/dist/esm/apis/DocumentsApi.d.ts +22 -1
- package/dist/esm/apis/DocumentsApi.js +21 -0
- package/dist/esm/apis/FeedbackApi.d.ts +19 -1
- package/dist/esm/apis/FeedbackApi.js +18 -0
- package/dist/esm/apis/FoldersApi.d.ts +31 -13
- package/dist/esm/apis/FoldersApi.js +23 -5
- package/dist/esm/apis/InvitesApi.d.ts +29 -5
- package/dist/esm/apis/InvitesApi.js +26 -2
- package/dist/esm/apis/PathPartsApi.d.ts +57 -1
- package/dist/esm/apis/PathPartsApi.js +69 -1
- package/dist/esm/apis/TagsApi.d.ts +22 -1
- package/dist/esm/apis/TagsApi.js +21 -0
- package/dist/esm/apis/TenantGroupsApi.d.ts +43 -1
- package/dist/esm/apis/TenantGroupsApi.js +42 -0
- package/dist/esm/apis/TenantsApi.d.ts +16 -1
- package/dist/esm/apis/TenantsApi.js +15 -0
- package/dist/esm/apis/ThreadMessagesApi.d.ts +7 -1
- package/dist/esm/apis/ThreadMessagesApi.js +6 -0
- package/dist/esm/apis/ThreadsApi.d.ts +22 -1
- package/dist/esm/apis/ThreadsApi.js +21 -0
- package/dist/esm/apis/TrashApi.d.ts +28 -1
- package/dist/esm/apis/TrashApi.js +27 -0
- package/dist/esm/apis/UserPermissionsApi.d.ts +10 -1
- package/dist/esm/apis/UserPermissionsApi.js +9 -0
- package/dist/esm/apis/WorkflowDefinitionsApi.d.ts +81 -1
- package/dist/esm/apis/WorkflowDefinitionsApi.js +94 -1
- package/dist/esm/apis/WorkflowRunsApi.d.ts +119 -1
- package/dist/esm/apis/WorkflowRunsApi.js +137 -1
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/AcceptDisclaimerRequest.d.ts +47 -0
- package/dist/esm/models/AcceptDisclaimerRequest.js +44 -0
- package/dist/esm/models/ApiAuthConfig.d.ts +56 -0
- package/dist/esm/models/ApiAuthConfig.js +55 -0
- package/dist/esm/models/ApiConnectionRequestRequest.d.ts +75 -0
- package/dist/esm/models/ApiConnectionRequestRequest.js +59 -0
- package/dist/esm/models/ApiConnectionRequestResponse.d.ts +73 -0
- package/dist/esm/models/ApiConnectionRequestResponse.js +60 -0
- package/dist/esm/models/ApiConnectionResponse.d.ts +163 -0
- package/dist/esm/models/ApiConnectionResponse.js +118 -0
- package/dist/esm/models/ApiKeyResponse.d.ts +12 -0
- package/dist/esm/models/ApiKeyResponse.js +8 -0
- package/dist/esm/models/CreateApiConnectionRequest.d.ts +85 -0
- package/dist/esm/models/CreateApiConnectionRequest.js +76 -0
- package/dist/esm/models/CreateApiKeyRequest.d.ts +6 -0
- package/dist/esm/models/CreateApiKeyRequest.js +2 -0
- package/dist/esm/models/CreateApiKeyResponse.d.ts +6 -0
- package/dist/esm/models/CreateApiKeyResponse.js +4 -0
- package/dist/esm/models/CreateWorkflowDefinitionRequest.d.ts +6 -0
- package/dist/esm/models/CreateWorkflowDefinitionRequest.js +2 -0
- package/dist/esm/models/DataSourceQueryRequest.d.ts +9 -0
- package/dist/esm/models/DataSourceQueryRequest.js +6 -0
- package/dist/esm/models/DataSourceQueryResponse.d.ts +10 -0
- package/dist/esm/models/DataSourceQueryResponse.js +2 -0
- package/dist/esm/models/DataSourceResponse.d.ts +7 -0
- package/dist/esm/models/DataSourceResponse.js +3 -0
- package/dist/esm/models/DocumentResponse.d.ts +2 -2
- package/dist/esm/models/DocumentResponse.js +1 -3
- package/dist/esm/models/DocumentVersionOrder.d.ts +25 -0
- package/dist/esm/models/DocumentVersionOrder.js +43 -0
- package/dist/esm/models/ErrorResponse.d.ts +59 -0
- package/dist/esm/models/ErrorResponse.js +50 -0
- package/dist/esm/models/FeedbackOrder.d.ts +24 -0
- package/dist/esm/models/FeedbackOrder.js +42 -0
- package/dist/esm/models/FolderResponse.d.ts +7 -0
- package/dist/esm/models/FolderResponse.js +3 -0
- package/dist/esm/models/{FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponse.d.ts → FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponseOrApiConnectionResponse.d.ts} +9 -6
- package/dist/esm/models/{FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponse.js → FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponseOrApiConnectionResponse.js} +11 -6
- package/dist/esm/models/GroupMemberOrder.d.ts +25 -0
- package/dist/esm/models/GroupMemberOrder.js +43 -0
- package/dist/esm/models/GroupPermissionOrder.d.ts +25 -0
- package/dist/esm/models/GroupPermissionOrder.js +43 -0
- package/dist/esm/models/InstantiateWorkflowTemplateRequest.d.ts +55 -0
- package/dist/esm/models/InstantiateWorkflowTemplateRequest.js +50 -0
- package/dist/esm/models/InviteOrder.d.ts +25 -0
- package/dist/esm/models/InviteOrder.js +43 -0
- package/dist/esm/models/InviteResponse.d.ts +6 -0
- package/dist/esm/models/InviteResponse.js +2 -0
- package/dist/esm/models/NetworkClass.d.ts +28 -0
- package/dist/esm/models/NetworkClass.js +46 -0
- package/dist/{models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseDiscriminator.d.ts → esm/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseApiConnectionResponseDiscriminator.d.ts} +16 -16
- package/dist/esm/models/{PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseDiscriminator.js → PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseApiConnectionResponseDiscriminator.js} +12 -12
- package/dist/esm/models/PartType.d.ts +1 -0
- package/dist/esm/models/PartType.js +2 -1
- package/dist/esm/models/ReferenceType.d.ts +1 -0
- package/dist/esm/models/ReferenceType.js +1 -0
- package/dist/esm/models/SearchablePartType.d.ts +1 -0
- package/dist/esm/models/SearchablePartType.js +2 -1
- package/dist/esm/models/SortDirection.d.ts +25 -0
- package/dist/esm/models/SortDirection.js +43 -0
- package/dist/esm/models/TagOrder.d.ts +25 -0
- package/dist/esm/models/TagOrder.js +43 -0
- package/dist/esm/models/TenantGroupOrder.d.ts +25 -0
- package/dist/esm/models/TenantGroupOrder.js +43 -0
- package/dist/esm/models/TenantUserOrder.d.ts +26 -0
- package/dist/esm/models/TenantUserOrder.js +44 -0
- package/dist/esm/models/ThreadOrder.d.ts +25 -0
- package/dist/esm/models/ThreadOrder.js +43 -0
- package/dist/esm/models/ThreadResponse.d.ts +7 -0
- package/dist/esm/models/ThreadResponse.js +3 -0
- package/dist/esm/models/TransferOwnerRequest.d.ts +47 -0
- package/dist/esm/models/TransferOwnerRequest.js +44 -0
- package/dist/esm/models/TransferOwnerResponse.d.ts +53 -0
- package/dist/esm/models/TransferOwnerResponse.js +48 -0
- package/dist/esm/models/TrashItemResponse.d.ts +7 -0
- package/dist/esm/models/TrashItemResponse.js +3 -0
- package/dist/esm/models/UpdateApiConnectionRequest.d.ts +73 -0
- package/dist/esm/models/UpdateApiConnectionRequest.js +59 -0
- package/dist/esm/models/UserPermissionOrder.d.ts +25 -0
- package/dist/esm/models/UserPermissionOrder.js +43 -0
- package/dist/esm/models/WorkflowAdoptionStats.d.ts +63 -0
- package/dist/esm/models/WorkflowAdoptionStats.js +52 -0
- package/dist/esm/models/WorkflowDefinitionOrder.d.ts +25 -0
- package/dist/esm/models/WorkflowDefinitionOrder.js +43 -0
- package/dist/esm/models/WorkflowDefinitionResponse.d.ts +25 -0
- package/dist/esm/models/WorkflowDefinitionResponse.js +13 -0
- package/dist/esm/models/WorkflowRunOrder.d.ts +26 -0
- package/dist/esm/models/WorkflowRunOrder.js +44 -0
- package/dist/esm/models/WorkflowRunResponse.d.ts +6 -0
- package/dist/esm/models/WorkflowRunResponse.js +2 -0
- package/dist/esm/models/WorkflowRunSummaryResponse.d.ts +111 -0
- package/dist/esm/models/WorkflowRunSummaryResponse.js +81 -0
- package/dist/esm/models/index.d.ts +29 -2
- package/dist/esm/models/index.js +29 -2
- package/dist/models/AcceptDisclaimerRequest.d.ts +47 -0
- package/dist/models/AcceptDisclaimerRequest.js +52 -0
- package/dist/models/ApiAuthConfig.d.ts +56 -0
- package/dist/models/ApiAuthConfig.js +63 -0
- package/dist/models/ApiConnectionRequestRequest.d.ts +75 -0
- package/dist/models/ApiConnectionRequestRequest.js +67 -0
- package/dist/models/ApiConnectionRequestResponse.d.ts +73 -0
- package/dist/models/ApiConnectionRequestResponse.js +68 -0
- package/dist/models/ApiConnectionResponse.d.ts +163 -0
- package/dist/models/ApiConnectionResponse.js +126 -0
- package/dist/models/ApiKeyResponse.d.ts +12 -0
- package/dist/models/ApiKeyResponse.js +8 -0
- package/dist/models/CreateApiConnectionRequest.d.ts +85 -0
- package/dist/models/CreateApiConnectionRequest.js +84 -0
- package/dist/models/CreateApiKeyRequest.d.ts +6 -0
- package/dist/models/CreateApiKeyRequest.js +2 -0
- package/dist/models/CreateApiKeyResponse.d.ts +6 -0
- package/dist/models/CreateApiKeyResponse.js +4 -0
- package/dist/models/CreateWorkflowDefinitionRequest.d.ts +6 -0
- package/dist/models/CreateWorkflowDefinitionRequest.js +2 -0
- package/dist/models/DataSourceQueryRequest.d.ts +9 -0
- package/dist/models/DataSourceQueryRequest.js +6 -0
- package/dist/models/DataSourceQueryResponse.d.ts +10 -0
- package/dist/models/DataSourceQueryResponse.js +2 -0
- package/dist/models/DataSourceResponse.d.ts +7 -0
- package/dist/models/DataSourceResponse.js +3 -0
- package/dist/models/DocumentResponse.d.ts +2 -2
- package/dist/models/DocumentResponse.js +1 -3
- package/dist/models/DocumentVersionOrder.d.ts +25 -0
- package/dist/models/DocumentVersionOrder.js +51 -0
- package/dist/models/ErrorResponse.d.ts +59 -0
- package/dist/models/ErrorResponse.js +58 -0
- package/dist/models/FeedbackOrder.d.ts +24 -0
- package/dist/models/FeedbackOrder.js +50 -0
- package/dist/models/FolderResponse.d.ts +7 -0
- package/dist/models/FolderResponse.js +3 -0
- package/dist/models/{FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponse.d.ts → FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponseOrApiConnectionResponse.d.ts} +9 -6
- package/dist/models/{FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponse.js → FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponseOrApiConnectionResponse.js} +15 -10
- package/dist/models/GroupMemberOrder.d.ts +25 -0
- package/dist/models/GroupMemberOrder.js +51 -0
- package/dist/models/GroupPermissionOrder.d.ts +25 -0
- package/dist/models/GroupPermissionOrder.js +51 -0
- package/dist/models/InstantiateWorkflowTemplateRequest.d.ts +55 -0
- package/dist/models/InstantiateWorkflowTemplateRequest.js +58 -0
- package/dist/models/InviteOrder.d.ts +25 -0
- package/dist/models/InviteOrder.js +51 -0
- package/dist/models/InviteResponse.d.ts +6 -0
- package/dist/models/InviteResponse.js +2 -0
- package/dist/models/NetworkClass.d.ts +28 -0
- package/dist/models/NetworkClass.js +54 -0
- package/dist/{esm/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseDiscriminator.d.ts → models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseApiConnectionResponseDiscriminator.d.ts} +16 -16
- package/dist/models/{PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseDiscriminator.js → PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseApiConnectionResponseDiscriminator.js} +18 -18
- package/dist/models/PartType.d.ts +1 -0
- package/dist/models/PartType.js +2 -1
- package/dist/models/ReferenceType.d.ts +1 -0
- package/dist/models/ReferenceType.js +1 -0
- package/dist/models/SearchablePartType.d.ts +1 -0
- package/dist/models/SearchablePartType.js +2 -1
- package/dist/models/SortDirection.d.ts +25 -0
- package/dist/models/SortDirection.js +51 -0
- package/dist/models/TagOrder.d.ts +25 -0
- package/dist/models/TagOrder.js +51 -0
- package/dist/models/TenantGroupOrder.d.ts +25 -0
- package/dist/models/TenantGroupOrder.js +51 -0
- package/dist/models/TenantUserOrder.d.ts +26 -0
- package/dist/models/TenantUserOrder.js +52 -0
- package/dist/models/ThreadOrder.d.ts +25 -0
- package/dist/models/ThreadOrder.js +51 -0
- package/dist/models/ThreadResponse.d.ts +7 -0
- package/dist/models/ThreadResponse.js +3 -0
- package/dist/models/TransferOwnerRequest.d.ts +47 -0
- package/dist/models/TransferOwnerRequest.js +52 -0
- package/dist/models/TransferOwnerResponse.d.ts +53 -0
- package/dist/models/TransferOwnerResponse.js +56 -0
- package/dist/models/TrashItemResponse.d.ts +7 -0
- package/dist/models/TrashItemResponse.js +3 -0
- package/dist/models/UpdateApiConnectionRequest.d.ts +73 -0
- package/dist/models/UpdateApiConnectionRequest.js +67 -0
- package/dist/models/UserPermissionOrder.d.ts +25 -0
- package/dist/models/UserPermissionOrder.js +51 -0
- package/dist/models/WorkflowAdoptionStats.d.ts +63 -0
- package/dist/models/WorkflowAdoptionStats.js +60 -0
- package/dist/models/WorkflowDefinitionOrder.d.ts +25 -0
- package/dist/models/WorkflowDefinitionOrder.js +51 -0
- package/dist/models/WorkflowDefinitionResponse.d.ts +25 -0
- package/dist/models/WorkflowDefinitionResponse.js +13 -0
- package/dist/models/WorkflowRunOrder.d.ts +26 -0
- package/dist/models/WorkflowRunOrder.js +52 -0
- package/dist/models/WorkflowRunResponse.d.ts +6 -0
- package/dist/models/WorkflowRunResponse.js +2 -0
- package/dist/models/WorkflowRunSummaryResponse.d.ts +111 -0
- package/dist/models/WorkflowRunSummaryResponse.js +89 -0
- package/dist/models/index.d.ts +29 -2
- package/dist/models/index.js +29 -2
- package/docs/AcceptDisclaimerRequest.md +35 -0
- package/docs/AgentApi.md +2 -0
- package/docs/ApiAuthConfig.md +37 -0
- package/docs/ApiConnectionRequestRequest.md +43 -0
- package/docs/ApiConnectionRequestResponse.md +43 -0
- package/docs/ApiConnectionResponse.md +69 -0
- package/docs/ApiConnectionsApi.md +397 -0
- package/docs/ApiKeyResponse.md +4 -0
- package/docs/ApiKeysApi.md +4 -0
- package/docs/AuditEventsApi.md +96 -1
- package/docs/AuthApi.md +20 -2
- package/docs/ChunkLineagesApi.md +3 -0
- package/docs/ChunksApi.md +10 -1
- package/docs/CreateApiConnectionRequest.md +47 -0
- package/docs/CreateApiKeyRequest.md +2 -0
- package/docs/CreateApiKeyResponse.md +2 -0
- package/docs/CreateWorkflowDefinitionRequest.md +2 -0
- package/docs/DataSourceQueryRequest.md +3 -1
- package/docs/DataSourceQueryResponse.md +3 -1
- package/docs/DataSourceResponse.md +2 -0
- package/docs/DataSourcesApi.md +7 -0
- package/docs/DefaultApi.md +2 -0
- package/docs/DocumentCheckoutApi.md +3 -0
- package/docs/DocumentVersionOrder.md +33 -0
- package/docs/DocumentVersionsApi.md +33 -2
- package/docs/DocumentsApi.md +30 -1
- package/docs/ErrorResponse.md +39 -0
- package/docs/FeaturesApi.md +1 -0
- package/docs/FeedbackApi.md +22 -1
- package/docs/FeedbackOrder.md +33 -0
- package/docs/FolderResponse.md +2 -0
- package/docs/{FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponse.md → FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponseOrApiConnectionResponse.md} +24 -6
- package/docs/FoldersApi.md +33 -7
- package/docs/GroupMemberOrder.md +33 -0
- package/docs/GroupPermissionOrder.md +33 -0
- package/docs/InstantiateWorkflowTemplateRequest.md +37 -0
- package/docs/InviteOrder.md +33 -0
- package/docs/InviteResponse.md +2 -0
- package/docs/InvitesApi.md +31 -2
- package/docs/MemoryApi.md +5 -0
- package/docs/NetworkClass.md +33 -0
- package/docs/{PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseDiscriminator.md → PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseApiConnectionResponseDiscriminator.md} +5 -5
- package/docs/PathPartApprovalsApi.md +2 -0
- package/docs/PathPartsApi.md +105 -1
- package/docs/PublicApi.md +1 -0
- package/docs/SectionsApi.md +6 -0
- package/docs/SortDirection.md +33 -0
- package/docs/SubscriptionsApi.md +2 -0
- package/docs/TagOrder.md +33 -0
- package/docs/TagsApi.md +27 -1
- package/docs/TenantGroupOrder.md +33 -0
- package/docs/TenantGroupsApi.md +58 -3
- package/docs/TenantUserOrder.md +33 -0
- package/docs/TenantsApi.md +28 -1
- package/docs/ThreadMessagesApi.md +10 -1
- package/docs/ThreadOrder.md +33 -0
- package/docs/ThreadResponse.md +2 -0
- package/docs/ThreadsApi.md +29 -1
- package/docs/TransferOwnerRequest.md +35 -0
- package/docs/TransferOwnerResponse.md +36 -0
- package/docs/TrashApi.md +31 -1
- package/docs/TrashItemResponse.md +2 -0
- package/docs/UpdateApiConnectionRequest.md +43 -0
- package/docs/UserPermissionOrder.md +33 -0
- package/docs/UserPermissionsApi.md +14 -1
- package/docs/UsersApi.md +5 -0
- package/docs/WorkflowAdoptionStats.md +39 -0
- package/docs/WorkflowDefinitionOrder.md +33 -0
- package/docs/WorkflowDefinitionResponse.md +8 -0
- package/docs/WorkflowDefinitionsApi.md +128 -2
- package/docs/WorkflowMemoryApi.md +5 -0
- package/docs/WorkflowRunOrder.md +33 -0
- package/docs/WorkflowRunResponse.md +2 -0
- package/docs/WorkflowRunSummaryResponse.md +53 -0
- package/docs/WorkflowRunsApi.md +203 -0
- package/docs/WorkflowsApi.md +5 -0
- package/package.json +1 -1
- package/src/apis/AgentApi.ts +3 -0
- package/src/apis/ApiConnectionsApi.ts +516 -0
- package/src/apis/ApiKeysApi.ts +3 -0
- package/src/apis/AuditEventsApi.ts +127 -0
- package/src/apis/AuthApi.ts +10 -6
- package/src/apis/ChunkLineagesApi.ts +3 -0
- package/src/apis/ChunksApi.ts +3 -0
- package/src/apis/DataSourcesApi.ts +3 -0
- package/src/apis/DefaultApi.ts +3 -0
- package/src/apis/DocumentCheckoutApi.ts +3 -0
- package/src/apis/DocumentVersionsApi.ts +62 -4
- package/src/apis/DocumentsApi.ts +58 -0
- package/src/apis/FeaturesApi.ts +3 -0
- package/src/apis/FeedbackApi.ts +51 -0
- package/src/apis/FoldersApi.ts +65 -17
- package/src/apis/InvitesApi.ts +72 -4
- package/src/apis/MemoryApi.ts +3 -0
- package/src/apis/PathPartApprovalsApi.ts +3 -0
- package/src/apis/PathPartsApi.ts +143 -0
- package/src/apis/PublicApi.ts +3 -0
- package/src/apis/SectionsApi.ts +3 -0
- package/src/apis/SubscriptionsApi.ts +3 -0
- package/src/apis/TagsApi.ts +58 -0
- package/src/apis/TenantGroupsApi.ts +116 -0
- package/src/apis/TenantsApi.ts +47 -0
- package/src/apis/ThreadMessagesApi.ts +23 -0
- package/src/apis/ThreadsApi.ts +58 -0
- package/src/apis/TrashApi.ts +75 -0
- package/src/apis/UserPermissionsApi.ts +33 -0
- package/src/apis/UsersApi.ts +3 -0
- package/src/apis/WorkflowDefinitionsApi.ts +206 -0
- package/src/apis/WorkflowMemoryApi.ts +3 -0
- package/src/apis/WorkflowRunsApi.ts +274 -0
- package/src/apis/WorkflowsApi.ts +3 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AcceptDisclaimerRequest.ts +83 -0
- package/src/models/ApiAuthConfig.ts +101 -0
- package/src/models/ApiConnectionRequestRequest.ts +121 -0
- package/src/models/ApiConnectionRequestResponse.ts +119 -0
- package/src/models/ApiConnectionResponse.ts +276 -0
- package/src/models/ApiKeyResponse.ts +18 -0
- package/src/models/CreateApiConnectionRequest.ts +161 -0
- package/src/models/CreateApiKeyRequest.ts +8 -0
- package/src/models/CreateApiKeyResponse.ts +9 -0
- package/src/models/CreateWorkflowDefinitionRequest.ts +8 -0
- package/src/models/DataSourceQueryRequest.ts +15 -0
- package/src/models/DataSourceQueryResponse.ts +12 -0
- package/src/models/DataSourceResponse.ts +15 -0
- package/src/models/DocumentResponse.ts +3 -4
- package/src/models/DocumentVersionOrder.ts +53 -0
- package/src/models/ErrorResponse.ts +100 -0
- package/src/models/FeedbackOrder.ts +52 -0
- package/src/models/FolderResponse.ts +15 -0
- package/src/models/{FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponse.ts → FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponseOrApiConnectionResponse.ts} +19 -8
- package/src/models/GroupMemberOrder.ts +53 -0
- package/src/models/GroupPermissionOrder.ts +53 -0
- package/src/models/InstantiateWorkflowTemplateRequest.ts +96 -0
- package/src/models/InviteOrder.ts +53 -0
- package/src/models/InviteResponse.ts +8 -0
- package/src/models/NetworkClass.ts +56 -0
- package/src/models/{PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseDiscriminator.ts → PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseApiConnectionResponseDiscriminator.ts} +25 -25
- package/src/models/PartType.ts +2 -1
- package/src/models/ReferenceType.ts +1 -0
- package/src/models/SearchablePartType.ts +2 -1
- package/src/models/SortDirection.ts +53 -0
- package/src/models/TagOrder.ts +53 -0
- package/src/models/TenantGroupOrder.ts +53 -0
- package/src/models/TenantUserOrder.ts +54 -0
- package/src/models/ThreadOrder.ts +53 -0
- package/src/models/ThreadResponse.ts +16 -0
- package/src/models/TransferOwnerRequest.ts +83 -0
- package/src/models/TransferOwnerResponse.ts +92 -0
- package/src/models/TrashItemResponse.ts +15 -0
- package/src/models/UpdateApiConnectionRequest.ts +137 -0
- package/src/models/UserPermissionOrder.ts +53 -0
- package/src/models/WorkflowAdoptionStats.ts +105 -0
- package/src/models/WorkflowDefinitionOrder.ts +53 -0
- package/src/models/WorkflowDefinitionResponse.ts +41 -0
- package/src/models/WorkflowRunOrder.ts +54 -0
- package/src/models/WorkflowRunResponse.ts +8 -0
- package/src/models/WorkflowRunSummaryResponse.ts +179 -0
- package/src/models/index.ts +29 -2
|
@@ -179,12 +179,33 @@ export class ThreadsApi extends runtime.BaseAPI {
|
|
|
179
179
|
if (requestParameters['parentPathPartId'] != null) {
|
|
180
180
|
queryParameters['parent_path_part_id'] = requestParameters['parentPathPartId'];
|
|
181
181
|
}
|
|
182
|
+
if (requestParameters['sortBy'] != null) {
|
|
183
|
+
queryParameters['sort_by'] = requestParameters['sortBy'];
|
|
184
|
+
}
|
|
185
|
+
if (requestParameters['sortDir'] != null) {
|
|
186
|
+
queryParameters['sort_dir'] = requestParameters['sortDir'];
|
|
187
|
+
}
|
|
188
|
+
if (requestParameters['titleLike'] != null) {
|
|
189
|
+
queryParameters['title_like'] = requestParameters['titleLike'];
|
|
190
|
+
}
|
|
182
191
|
if (requestParameters['limit'] != null) {
|
|
183
192
|
queryParameters['limit'] = requestParameters['limit'];
|
|
184
193
|
}
|
|
185
194
|
if (requestParameters['offset'] != null) {
|
|
186
195
|
queryParameters['offset'] = requestParameters['offset'];
|
|
187
196
|
}
|
|
197
|
+
if (requestParameters['createdAfter'] != null) {
|
|
198
|
+
queryParameters['created_after'] = requestParameters['createdAfter'].toISOString();
|
|
199
|
+
}
|
|
200
|
+
if (requestParameters['createdBefore'] != null) {
|
|
201
|
+
queryParameters['created_before'] = requestParameters['createdBefore'].toISOString();
|
|
202
|
+
}
|
|
203
|
+
if (requestParameters['updatedAfter'] != null) {
|
|
204
|
+
queryParameters['updated_after'] = requestParameters['updatedAfter'].toISOString();
|
|
205
|
+
}
|
|
206
|
+
if (requestParameters['updatedBefore'] != null) {
|
|
207
|
+
queryParameters['updated_before'] = requestParameters['updatedBefore'].toISOString();
|
|
208
|
+
}
|
|
188
209
|
const headerParameters = {};
|
|
189
210
|
if (this.configuration && this.configuration.accessToken) {
|
|
190
211
|
const token = this.configuration.accessToken;
|
|
@@ -10,10 +10,19 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { PaginatedResponseTrashItemResponse } from '../models/index';
|
|
13
|
+
import type { PaginatedResponseTrashItemResponse, PartType, PathOrder, SortDirection } from '../models/index';
|
|
14
14
|
export interface ListTrashRequest {
|
|
15
|
+
sortOrder?: PathOrder;
|
|
16
|
+
sortDir?: SortDirection;
|
|
17
|
+
deletedBy?: string | null;
|
|
18
|
+
partType?: Array<PartType> | null;
|
|
19
|
+
ownerId?: string | null;
|
|
15
20
|
limit?: number;
|
|
16
21
|
offset?: number;
|
|
22
|
+
createdAfter?: Date | null;
|
|
23
|
+
createdBefore?: Date | null;
|
|
24
|
+
updatedAfter?: Date | null;
|
|
25
|
+
updatedBefore?: Date | null;
|
|
17
26
|
}
|
|
18
27
|
export interface PermanentlyDeleteTrashItemRequest {
|
|
19
28
|
pathPartId: string;
|
|
@@ -30,8 +39,17 @@ export interface RestoreTrashItemRequest {
|
|
|
30
39
|
export interface TrashApiInterface {
|
|
31
40
|
/**
|
|
32
41
|
* Creates request options for listTrash without sending the request
|
|
42
|
+
* @param {PathOrder} [sortOrder] Sort order (default: LOGICAL = deletion recency)
|
|
43
|
+
* @param {SortDirection} [sortDir] Sort direction; overrides the column\'s natural default
|
|
44
|
+
* @param {string} [deletedBy] Filter to items deleted by this user
|
|
45
|
+
* @param {Array<PartType>} [partType] Filter to these path-part types (folders, documents, ...)
|
|
46
|
+
* @param {string} [ownerId] Filter to items owned (created) by this user
|
|
33
47
|
* @param {number} [limit] Number of items per page
|
|
34
48
|
* @param {number} [offset] Number of items to skip
|
|
49
|
+
* @param {Date} [createdAfter] Only items created at or after this timestamp (inclusive)
|
|
50
|
+
* @param {Date} [createdBefore] Only items created strictly before this timestamp
|
|
51
|
+
* @param {Date} [updatedAfter] Only items updated at or after this timestamp (inclusive)
|
|
52
|
+
* @param {Date} [updatedBefore] Only items updated strictly before this timestamp
|
|
35
53
|
* @throws {RequiredError}
|
|
36
54
|
* @memberof TrashApiInterface
|
|
37
55
|
*/
|
|
@@ -39,8 +57,17 @@ export interface TrashApiInterface {
|
|
|
39
57
|
/**
|
|
40
58
|
* List top-level trash items visible to the caller.
|
|
41
59
|
* @summary List Trash Handler
|
|
60
|
+
* @param {PathOrder} [sortOrder] Sort order (default: LOGICAL = deletion recency)
|
|
61
|
+
* @param {SortDirection} [sortDir] Sort direction; overrides the column\'s natural default
|
|
62
|
+
* @param {string} [deletedBy] Filter to items deleted by this user
|
|
63
|
+
* @param {Array<PartType>} [partType] Filter to these path-part types (folders, documents, ...)
|
|
64
|
+
* @param {string} [ownerId] Filter to items owned (created) by this user
|
|
42
65
|
* @param {number} [limit] Number of items per page
|
|
43
66
|
* @param {number} [offset] Number of items to skip
|
|
67
|
+
* @param {Date} [createdAfter] Only items created at or after this timestamp (inclusive)
|
|
68
|
+
* @param {Date} [createdBefore] Only items created strictly before this timestamp
|
|
69
|
+
* @param {Date} [updatedAfter] Only items updated at or after this timestamp (inclusive)
|
|
70
|
+
* @param {Date} [updatedBefore] Only items updated strictly before this timestamp
|
|
44
71
|
* @param {*} [options] Override http request option.
|
|
45
72
|
* @throws {RequiredError}
|
|
46
73
|
* @memberof TrashApiInterface
|
|
@@ -32,12 +32,39 @@ export class TrashApi extends runtime.BaseAPI {
|
|
|
32
32
|
listTrashRequestOpts(requestParameters) {
|
|
33
33
|
return __awaiter(this, void 0, void 0, function* () {
|
|
34
34
|
const queryParameters = {};
|
|
35
|
+
if (requestParameters['sortOrder'] != null) {
|
|
36
|
+
queryParameters['sort_order'] = requestParameters['sortOrder'];
|
|
37
|
+
}
|
|
38
|
+
if (requestParameters['sortDir'] != null) {
|
|
39
|
+
queryParameters['sort_dir'] = requestParameters['sortDir'];
|
|
40
|
+
}
|
|
41
|
+
if (requestParameters['deletedBy'] != null) {
|
|
42
|
+
queryParameters['deleted_by'] = requestParameters['deletedBy'];
|
|
43
|
+
}
|
|
44
|
+
if (requestParameters['partType'] != null) {
|
|
45
|
+
queryParameters['part_type'] = requestParameters['partType'];
|
|
46
|
+
}
|
|
47
|
+
if (requestParameters['ownerId'] != null) {
|
|
48
|
+
queryParameters['owner_id'] = requestParameters['ownerId'];
|
|
49
|
+
}
|
|
35
50
|
if (requestParameters['limit'] != null) {
|
|
36
51
|
queryParameters['limit'] = requestParameters['limit'];
|
|
37
52
|
}
|
|
38
53
|
if (requestParameters['offset'] != null) {
|
|
39
54
|
queryParameters['offset'] = requestParameters['offset'];
|
|
40
55
|
}
|
|
56
|
+
if (requestParameters['createdAfter'] != null) {
|
|
57
|
+
queryParameters['created_after'] = requestParameters['createdAfter'].toISOString();
|
|
58
|
+
}
|
|
59
|
+
if (requestParameters['createdBefore'] != null) {
|
|
60
|
+
queryParameters['created_before'] = requestParameters['createdBefore'].toISOString();
|
|
61
|
+
}
|
|
62
|
+
if (requestParameters['updatedAfter'] != null) {
|
|
63
|
+
queryParameters['updated_after'] = requestParameters['updatedAfter'].toISOString();
|
|
64
|
+
}
|
|
65
|
+
if (requestParameters['updatedBefore'] != null) {
|
|
66
|
+
queryParameters['updated_before'] = requestParameters['updatedBefore'].toISOString();
|
|
67
|
+
}
|
|
41
68
|
const headerParameters = {};
|
|
42
69
|
if (this.configuration && this.configuration.accessToken) {
|
|
43
70
|
const token = this.configuration.accessToken;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { CreatePermissionRequest, PaginatedResponsePermissionResponse, PermissionResponse, UpdatePermissionRequest } from '../models/index';
|
|
13
|
+
import type { CreatePermissionRequest, PaginatedResponsePermissionResponse, PermissionCapability, PermissionResponse, SortDirection, UpdatePermissionRequest, UserPermissionOrder } from '../models/index';
|
|
14
14
|
export interface CreateUserPermissionRequest {
|
|
15
15
|
createPermissionRequest: CreatePermissionRequest;
|
|
16
16
|
}
|
|
@@ -21,6 +21,9 @@ export interface DeleteUserPermissionRequest {
|
|
|
21
21
|
export interface ListUserPermissionsRequest {
|
|
22
22
|
tenantId: string;
|
|
23
23
|
userId: string;
|
|
24
|
+
sortBy?: UserPermissionOrder;
|
|
25
|
+
sortDir?: SortDirection;
|
|
26
|
+
capability?: PermissionCapability;
|
|
24
27
|
limit?: number;
|
|
25
28
|
offset?: number;
|
|
26
29
|
}
|
|
@@ -84,6 +87,9 @@ export interface UserPermissionsApiInterface {
|
|
|
84
87
|
* Creates request options for listUserPermissions without sending the request
|
|
85
88
|
* @param {string} tenantId Tenant ID to list permissions for
|
|
86
89
|
* @param {string} userId User ID to list permissions for
|
|
90
|
+
* @param {UserPermissionOrder} [sortBy] Field to sort permissions by (default: CREATED_AT)
|
|
91
|
+
* @param {SortDirection} [sortDir] Sort direction; overrides the field\'s natural default
|
|
92
|
+
* @param {PermissionCapability} [capability] Filter to a single capability level
|
|
87
93
|
* @param {number} [limit] Number of items per page
|
|
88
94
|
* @param {number} [offset] Number of items to skip
|
|
89
95
|
* @throws {RequiredError}
|
|
@@ -95,6 +101,9 @@ export interface UserPermissionsApiInterface {
|
|
|
95
101
|
* @summary List User Permissions Handler
|
|
96
102
|
* @param {string} tenantId Tenant ID to list permissions for
|
|
97
103
|
* @param {string} userId User ID to list permissions for
|
|
104
|
+
* @param {UserPermissionOrder} [sortBy] Field to sort permissions by (default: CREATED_AT)
|
|
105
|
+
* @param {SortDirection} [sortDir] Sort direction; overrides the field\'s natural default
|
|
106
|
+
* @param {PermissionCapability} [capability] Filter to a single capability level
|
|
98
107
|
* @param {number} [limit] Number of items per page
|
|
99
108
|
* @param {number} [offset] Number of items to skip
|
|
100
109
|
* @param {*} [options] Override http request option.
|
|
@@ -146,6 +146,15 @@ export class UserPermissionsApi extends runtime.BaseAPI {
|
|
|
146
146
|
if (requestParameters['userId'] != null) {
|
|
147
147
|
queryParameters['user_id'] = requestParameters['userId'];
|
|
148
148
|
}
|
|
149
|
+
if (requestParameters['sortBy'] != null) {
|
|
150
|
+
queryParameters['sort_by'] = requestParameters['sortBy'];
|
|
151
|
+
}
|
|
152
|
+
if (requestParameters['sortDir'] != null) {
|
|
153
|
+
queryParameters['sort_dir'] = requestParameters['sortDir'];
|
|
154
|
+
}
|
|
155
|
+
if (requestParameters['capability'] != null) {
|
|
156
|
+
queryParameters['capability'] = requestParameters['capability'];
|
|
157
|
+
}
|
|
149
158
|
if (requestParameters['limit'] != null) {
|
|
150
159
|
queryParameters['limit'] = requestParameters['limit'];
|
|
151
160
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { CreateWorkflowDefinitionRequest, PaginatedResponseWorkflowDefinitionResponse, PaginatedResponseWorkflowRunResponse, UpdateWorkflowDefinitionRequest, WorkflowDefinitionResponse, WorkflowRunResponse } from '../models/index';
|
|
13
|
+
import type { CreateWorkflowDefinitionRequest, InstantiateWorkflowTemplateRequest, PaginatedResponseWorkflowDefinitionResponse, PaginatedResponseWorkflowRunResponse, SortDirection, UpdateWorkflowDefinitionRequest, WorkflowDefinitionOrder, WorkflowDefinitionResponse, WorkflowRunOrder, WorkflowRunResponse } from '../models/index';
|
|
14
14
|
export interface CreateWorkflowDefinitionOperationRequest {
|
|
15
15
|
createWorkflowDefinitionRequest: CreateWorkflowDefinitionRequest;
|
|
16
16
|
}
|
|
@@ -26,14 +26,32 @@ export interface DeleteWorkflowDefinitionRequest {
|
|
|
26
26
|
export interface GetWorkflowDefinitionRequest {
|
|
27
27
|
definitionId: string;
|
|
28
28
|
}
|
|
29
|
+
export interface InstantiateWorkflowTemplateOperationRequest {
|
|
30
|
+
templateId: string;
|
|
31
|
+
instantiateWorkflowTemplateRequest: InstantiateWorkflowTemplateRequest;
|
|
32
|
+
}
|
|
29
33
|
export interface ListWorkflowDefinitionsRequest {
|
|
34
|
+
mine?: boolean;
|
|
35
|
+
sortBy?: WorkflowDefinitionOrder;
|
|
36
|
+
sortDir?: SortDirection;
|
|
37
|
+
isTemplate?: boolean;
|
|
30
38
|
limit?: number;
|
|
31
39
|
offset?: number;
|
|
40
|
+
createdAfter?: Date | null;
|
|
41
|
+
createdBefore?: Date | null;
|
|
42
|
+
updatedAfter?: Date | null;
|
|
43
|
+
updatedBefore?: Date | null;
|
|
32
44
|
}
|
|
33
45
|
export interface ListWorkflowRunsRequest {
|
|
34
46
|
definitionId: string;
|
|
47
|
+
sortBy?: WorkflowRunOrder;
|
|
48
|
+
sortDir?: SortDirection;
|
|
35
49
|
limit?: number;
|
|
36
50
|
offset?: number;
|
|
51
|
+
createdAfter?: Date | null;
|
|
52
|
+
createdBefore?: Date | null;
|
|
53
|
+
updatedAfter?: Date | null;
|
|
54
|
+
updatedBefore?: Date | null;
|
|
37
55
|
}
|
|
38
56
|
export interface UpdateWorkflowDefinitionOperationRequest {
|
|
39
57
|
definitionId: string;
|
|
@@ -133,10 +151,40 @@ export interface WorkflowDefinitionsApiInterface {
|
|
|
133
151
|
* Get Workflow Definition Handler
|
|
134
152
|
*/
|
|
135
153
|
getWorkflowDefinition(requestParameters: GetWorkflowDefinitionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowDefinitionResponse>;
|
|
154
|
+
/**
|
|
155
|
+
* Creates request options for instantiateWorkflowTemplate without sending the request
|
|
156
|
+
* @param {string} templateId
|
|
157
|
+
* @param {InstantiateWorkflowTemplateRequest} instantiateWorkflowTemplateRequest
|
|
158
|
+
* @throws {RequiredError}
|
|
159
|
+
* @memberof WorkflowDefinitionsApiInterface
|
|
160
|
+
*/
|
|
161
|
+
instantiateWorkflowTemplateRequestOpts(requestParameters: InstantiateWorkflowTemplateOperationRequest): Promise<runtime.RequestOpts>;
|
|
162
|
+
/**
|
|
163
|
+
*
|
|
164
|
+
* @summary Instantiate Workflow Template Handler
|
|
165
|
+
* @param {string} templateId
|
|
166
|
+
* @param {InstantiateWorkflowTemplateRequest} instantiateWorkflowTemplateRequest
|
|
167
|
+
* @param {*} [options] Override http request option.
|
|
168
|
+
* @throws {RequiredError}
|
|
169
|
+
* @memberof WorkflowDefinitionsApiInterface
|
|
170
|
+
*/
|
|
171
|
+
instantiateWorkflowTemplateRaw(requestParameters: InstantiateWorkflowTemplateOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowDefinitionResponse>>;
|
|
172
|
+
/**
|
|
173
|
+
* Instantiate Workflow Template Handler
|
|
174
|
+
*/
|
|
175
|
+
instantiateWorkflowTemplate(requestParameters: InstantiateWorkflowTemplateOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowDefinitionResponse>;
|
|
136
176
|
/**
|
|
137
177
|
* Creates request options for listWorkflowDefinitions without sending the request
|
|
178
|
+
* @param {boolean} [mine] Only definitions the caller created (owner).
|
|
179
|
+
* @param {WorkflowDefinitionOrder} [sortBy] Field to sort definitions by (default: CREATED_AT)
|
|
180
|
+
* @param {SortDirection} [sortDir] Sort direction; overrides the field\'s natural default
|
|
181
|
+
* @param {boolean} [isTemplate]
|
|
138
182
|
* @param {number} [limit] Number of items per page
|
|
139
183
|
* @param {number} [offset] Number of items to skip
|
|
184
|
+
* @param {Date} [createdAfter] Only items created at or after this timestamp (inclusive)
|
|
185
|
+
* @param {Date} [createdBefore] Only items created strictly before this timestamp
|
|
186
|
+
* @param {Date} [updatedAfter] Only items updated at or after this timestamp (inclusive)
|
|
187
|
+
* @param {Date} [updatedBefore] Only items updated strictly before this timestamp
|
|
140
188
|
* @throws {RequiredError}
|
|
141
189
|
* @memberof WorkflowDefinitionsApiInterface
|
|
142
190
|
*/
|
|
@@ -144,8 +192,16 @@ export interface WorkflowDefinitionsApiInterface {
|
|
|
144
192
|
/**
|
|
145
193
|
*
|
|
146
194
|
* @summary List Workflow Definitions Handler
|
|
195
|
+
* @param {boolean} [mine] Only definitions the caller created (owner).
|
|
196
|
+
* @param {WorkflowDefinitionOrder} [sortBy] Field to sort definitions by (default: CREATED_AT)
|
|
197
|
+
* @param {SortDirection} [sortDir] Sort direction; overrides the field\'s natural default
|
|
198
|
+
* @param {boolean} [isTemplate]
|
|
147
199
|
* @param {number} [limit] Number of items per page
|
|
148
200
|
* @param {number} [offset] Number of items to skip
|
|
201
|
+
* @param {Date} [createdAfter] Only items created at or after this timestamp (inclusive)
|
|
202
|
+
* @param {Date} [createdBefore] Only items created strictly before this timestamp
|
|
203
|
+
* @param {Date} [updatedAfter] Only items updated at or after this timestamp (inclusive)
|
|
204
|
+
* @param {Date} [updatedBefore] Only items updated strictly before this timestamp
|
|
149
205
|
* @param {*} [options] Override http request option.
|
|
150
206
|
* @throws {RequiredError}
|
|
151
207
|
* @memberof WorkflowDefinitionsApiInterface
|
|
@@ -158,8 +214,14 @@ export interface WorkflowDefinitionsApiInterface {
|
|
|
158
214
|
/**
|
|
159
215
|
* Creates request options for listWorkflowRuns without sending the request
|
|
160
216
|
* @param {string} definitionId
|
|
217
|
+
* @param {WorkflowRunOrder} [sortBy] Field to sort runs by (default: STARTED_AT)
|
|
218
|
+
* @param {SortDirection} [sortDir] Sort direction; overrides the field\'s natural default
|
|
161
219
|
* @param {number} [limit] Number of items per page
|
|
162
220
|
* @param {number} [offset] Number of items to skip
|
|
221
|
+
* @param {Date} [createdAfter] Only items created at or after this timestamp (inclusive)
|
|
222
|
+
* @param {Date} [createdBefore] Only items created strictly before this timestamp
|
|
223
|
+
* @param {Date} [updatedAfter] Only items updated at or after this timestamp (inclusive)
|
|
224
|
+
* @param {Date} [updatedBefore] Only items updated strictly before this timestamp
|
|
163
225
|
* @throws {RequiredError}
|
|
164
226
|
* @memberof WorkflowDefinitionsApiInterface
|
|
165
227
|
*/
|
|
@@ -168,8 +230,14 @@ export interface WorkflowDefinitionsApiInterface {
|
|
|
168
230
|
*
|
|
169
231
|
* @summary List Workflow Runs Handler
|
|
170
232
|
* @param {string} definitionId
|
|
233
|
+
* @param {WorkflowRunOrder} [sortBy] Field to sort runs by (default: STARTED_AT)
|
|
234
|
+
* @param {SortDirection} [sortDir] Sort direction; overrides the field\'s natural default
|
|
171
235
|
* @param {number} [limit] Number of items per page
|
|
172
236
|
* @param {number} [offset] Number of items to skip
|
|
237
|
+
* @param {Date} [createdAfter] Only items created at or after this timestamp (inclusive)
|
|
238
|
+
* @param {Date} [createdBefore] Only items created strictly before this timestamp
|
|
239
|
+
* @param {Date} [updatedAfter] Only items updated at or after this timestamp (inclusive)
|
|
240
|
+
* @param {Date} [updatedBefore] Only items updated strictly before this timestamp
|
|
173
241
|
* @param {*} [options] Override http request option.
|
|
174
242
|
* @throws {RequiredError}
|
|
175
243
|
* @memberof WorkflowDefinitionsApiInterface
|
|
@@ -257,6 +325,18 @@ export declare class WorkflowDefinitionsApi extends runtime.BaseAPI implements W
|
|
|
257
325
|
* Get Workflow Definition Handler
|
|
258
326
|
*/
|
|
259
327
|
getWorkflowDefinition(requestParameters: GetWorkflowDefinitionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowDefinitionResponse>;
|
|
328
|
+
/**
|
|
329
|
+
* Creates request options for instantiateWorkflowTemplate without sending the request
|
|
330
|
+
*/
|
|
331
|
+
instantiateWorkflowTemplateRequestOpts(requestParameters: InstantiateWorkflowTemplateOperationRequest): Promise<runtime.RequestOpts>;
|
|
332
|
+
/**
|
|
333
|
+
* Instantiate Workflow Template Handler
|
|
334
|
+
*/
|
|
335
|
+
instantiateWorkflowTemplateRaw(requestParameters: InstantiateWorkflowTemplateOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowDefinitionResponse>>;
|
|
336
|
+
/**
|
|
337
|
+
* Instantiate Workflow Template Handler
|
|
338
|
+
*/
|
|
339
|
+
instantiateWorkflowTemplate(requestParameters: InstantiateWorkflowTemplateOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowDefinitionResponse>;
|
|
260
340
|
/**
|
|
261
341
|
* Creates request options for listWorkflowDefinitions without sending the request
|
|
262
342
|
*/
|
|
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
-
import { CreateWorkflowDefinitionRequestToJSON, PaginatedResponseWorkflowDefinitionResponseFromJSON, PaginatedResponseWorkflowRunResponseFromJSON, UpdateWorkflowDefinitionRequestToJSON, WorkflowDefinitionResponseFromJSON, WorkflowRunResponseFromJSON, } from '../models/index';
|
|
24
|
+
import { CreateWorkflowDefinitionRequestToJSON, InstantiateWorkflowTemplateRequestToJSON, PaginatedResponseWorkflowDefinitionResponseFromJSON, PaginatedResponseWorkflowRunResponseFromJSON, UpdateWorkflowDefinitionRequestToJSON, WorkflowDefinitionResponseFromJSON, WorkflowRunResponseFromJSON, } from '../models/index';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -239,18 +239,93 @@ export class WorkflowDefinitionsApi extends runtime.BaseAPI {
|
|
|
239
239
|
return yield response.value();
|
|
240
240
|
});
|
|
241
241
|
}
|
|
242
|
+
/**
|
|
243
|
+
* Creates request options for instantiateWorkflowTemplate without sending the request
|
|
244
|
+
*/
|
|
245
|
+
instantiateWorkflowTemplateRequestOpts(requestParameters) {
|
|
246
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
247
|
+
if (requestParameters['templateId'] == null) {
|
|
248
|
+
throw new runtime.RequiredError('templateId', 'Required parameter "templateId" was null or undefined when calling instantiateWorkflowTemplate().');
|
|
249
|
+
}
|
|
250
|
+
if (requestParameters['instantiateWorkflowTemplateRequest'] == null) {
|
|
251
|
+
throw new runtime.RequiredError('instantiateWorkflowTemplateRequest', 'Required parameter "instantiateWorkflowTemplateRequest" was null or undefined when calling instantiateWorkflowTemplate().');
|
|
252
|
+
}
|
|
253
|
+
const queryParameters = {};
|
|
254
|
+
const headerParameters = {};
|
|
255
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
256
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
257
|
+
const token = this.configuration.accessToken;
|
|
258
|
+
const tokenString = yield token("bearerAuth", []);
|
|
259
|
+
if (tokenString) {
|
|
260
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
let urlPath = `/v1/workflow-definitions/{template_id}/instantiate`;
|
|
264
|
+
urlPath = urlPath.replace(`{${"template_id"}}`, encodeURIComponent(String(requestParameters['templateId'])));
|
|
265
|
+
return {
|
|
266
|
+
path: urlPath,
|
|
267
|
+
method: 'POST',
|
|
268
|
+
headers: headerParameters,
|
|
269
|
+
query: queryParameters,
|
|
270
|
+
body: InstantiateWorkflowTemplateRequestToJSON(requestParameters['instantiateWorkflowTemplateRequest']),
|
|
271
|
+
};
|
|
272
|
+
});
|
|
273
|
+
}
|
|
274
|
+
/**
|
|
275
|
+
* Instantiate Workflow Template Handler
|
|
276
|
+
*/
|
|
277
|
+
instantiateWorkflowTemplateRaw(requestParameters, initOverrides) {
|
|
278
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
279
|
+
const requestOptions = yield this.instantiateWorkflowTemplateRequestOpts(requestParameters);
|
|
280
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
281
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => WorkflowDefinitionResponseFromJSON(jsonValue));
|
|
282
|
+
});
|
|
283
|
+
}
|
|
284
|
+
/**
|
|
285
|
+
* Instantiate Workflow Template Handler
|
|
286
|
+
*/
|
|
287
|
+
instantiateWorkflowTemplate(requestParameters, initOverrides) {
|
|
288
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
289
|
+
const response = yield this.instantiateWorkflowTemplateRaw(requestParameters, initOverrides);
|
|
290
|
+
return yield response.value();
|
|
291
|
+
});
|
|
292
|
+
}
|
|
242
293
|
/**
|
|
243
294
|
* Creates request options for listWorkflowDefinitions without sending the request
|
|
244
295
|
*/
|
|
245
296
|
listWorkflowDefinitionsRequestOpts(requestParameters) {
|
|
246
297
|
return __awaiter(this, void 0, void 0, function* () {
|
|
247
298
|
const queryParameters = {};
|
|
299
|
+
if (requestParameters['mine'] != null) {
|
|
300
|
+
queryParameters['mine'] = requestParameters['mine'];
|
|
301
|
+
}
|
|
302
|
+
if (requestParameters['sortBy'] != null) {
|
|
303
|
+
queryParameters['sort_by'] = requestParameters['sortBy'];
|
|
304
|
+
}
|
|
305
|
+
if (requestParameters['sortDir'] != null) {
|
|
306
|
+
queryParameters['sort_dir'] = requestParameters['sortDir'];
|
|
307
|
+
}
|
|
308
|
+
if (requestParameters['isTemplate'] != null) {
|
|
309
|
+
queryParameters['is_template'] = requestParameters['isTemplate'];
|
|
310
|
+
}
|
|
248
311
|
if (requestParameters['limit'] != null) {
|
|
249
312
|
queryParameters['limit'] = requestParameters['limit'];
|
|
250
313
|
}
|
|
251
314
|
if (requestParameters['offset'] != null) {
|
|
252
315
|
queryParameters['offset'] = requestParameters['offset'];
|
|
253
316
|
}
|
|
317
|
+
if (requestParameters['createdAfter'] != null) {
|
|
318
|
+
queryParameters['created_after'] = requestParameters['createdAfter'].toISOString();
|
|
319
|
+
}
|
|
320
|
+
if (requestParameters['createdBefore'] != null) {
|
|
321
|
+
queryParameters['created_before'] = requestParameters['createdBefore'].toISOString();
|
|
322
|
+
}
|
|
323
|
+
if (requestParameters['updatedAfter'] != null) {
|
|
324
|
+
queryParameters['updated_after'] = requestParameters['updatedAfter'].toISOString();
|
|
325
|
+
}
|
|
326
|
+
if (requestParameters['updatedBefore'] != null) {
|
|
327
|
+
queryParameters['updated_before'] = requestParameters['updatedBefore'].toISOString();
|
|
328
|
+
}
|
|
254
329
|
const headerParameters = {};
|
|
255
330
|
if (this.configuration && this.configuration.accessToken) {
|
|
256
331
|
const token = this.configuration.accessToken;
|
|
@@ -296,12 +371,30 @@ export class WorkflowDefinitionsApi extends runtime.BaseAPI {
|
|
|
296
371
|
throw new runtime.RequiredError('definitionId', 'Required parameter "definitionId" was null or undefined when calling listWorkflowRuns().');
|
|
297
372
|
}
|
|
298
373
|
const queryParameters = {};
|
|
374
|
+
if (requestParameters['sortBy'] != null) {
|
|
375
|
+
queryParameters['sort_by'] = requestParameters['sortBy'];
|
|
376
|
+
}
|
|
377
|
+
if (requestParameters['sortDir'] != null) {
|
|
378
|
+
queryParameters['sort_dir'] = requestParameters['sortDir'];
|
|
379
|
+
}
|
|
299
380
|
if (requestParameters['limit'] != null) {
|
|
300
381
|
queryParameters['limit'] = requestParameters['limit'];
|
|
301
382
|
}
|
|
302
383
|
if (requestParameters['offset'] != null) {
|
|
303
384
|
queryParameters['offset'] = requestParameters['offset'];
|
|
304
385
|
}
|
|
386
|
+
if (requestParameters['createdAfter'] != null) {
|
|
387
|
+
queryParameters['created_after'] = requestParameters['createdAfter'].toISOString();
|
|
388
|
+
}
|
|
389
|
+
if (requestParameters['createdBefore'] != null) {
|
|
390
|
+
queryParameters['created_before'] = requestParameters['createdBefore'].toISOString();
|
|
391
|
+
}
|
|
392
|
+
if (requestParameters['updatedAfter'] != null) {
|
|
393
|
+
queryParameters['updated_after'] = requestParameters['updatedAfter'].toISOString();
|
|
394
|
+
}
|
|
395
|
+
if (requestParameters['updatedBefore'] != null) {
|
|
396
|
+
queryParameters['updated_before'] = requestParameters['updatedBefore'].toISOString();
|
|
397
|
+
}
|
|
305
398
|
const headerParameters = {};
|
|
306
399
|
if (this.configuration && this.configuration.accessToken) {
|
|
307
400
|
const token = this.configuration.accessToken;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { CloneWorkflowRunRequest, SetWorkflowRunApprovalRequest, UpdateWorkflowRunRequest, WorkflowCallbackResponse, WorkflowRunCallbackRequest, WorkflowRunResponse } from '../models/index';
|
|
13
|
+
import type { CloneWorkflowRunRequest, PaginatedResponseWorkflowRunResponse, SetWorkflowRunApprovalRequest, SortDirection, UpdateWorkflowRunRequest, WorkflowCallbackResponse, WorkflowExecutionState, WorkflowRunCallbackRequest, WorkflowRunOrder, WorkflowRunResponse, WorkflowRunSummaryResponse } from '../models/index';
|
|
14
14
|
export interface CloneWorkflowRunOperationRequest {
|
|
15
15
|
runId: string;
|
|
16
16
|
cloneWorkflowRunRequest: CloneWorkflowRunRequest;
|
|
@@ -21,6 +21,26 @@ export interface DeleteWorkflowRunRequest {
|
|
|
21
21
|
export interface GetWorkflowRunRequest {
|
|
22
22
|
runId: string;
|
|
23
23
|
}
|
|
24
|
+
export interface GetWorkflowRunsSummaryRequest {
|
|
25
|
+
since?: Date | null;
|
|
26
|
+
until?: Date | null;
|
|
27
|
+
definitionId?: string | null;
|
|
28
|
+
}
|
|
29
|
+
export interface ListWorkflowRunsForTenantRequest {
|
|
30
|
+
state?: Array<WorkflowExecutionState> | null;
|
|
31
|
+
mine?: boolean;
|
|
32
|
+
pendingApprovalForMe?: boolean;
|
|
33
|
+
definitionId?: string | null;
|
|
34
|
+
ownerId?: string | null;
|
|
35
|
+
sortBy?: WorkflowRunOrder;
|
|
36
|
+
sortDir?: SortDirection;
|
|
37
|
+
limit?: number;
|
|
38
|
+
offset?: number;
|
|
39
|
+
createdAfter?: Date | null;
|
|
40
|
+
createdBefore?: Date | null;
|
|
41
|
+
updatedAfter?: Date | null;
|
|
42
|
+
updatedBefore?: Date | null;
|
|
43
|
+
}
|
|
24
44
|
export interface RetryWorkflowRunRequest {
|
|
25
45
|
runId: string;
|
|
26
46
|
}
|
|
@@ -112,6 +132,76 @@ export interface WorkflowRunsApiInterface {
|
|
|
112
132
|
* Get Workflow Run Handler
|
|
113
133
|
*/
|
|
114
134
|
getWorkflowRun(requestParameters: GetWorkflowRunRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowRunResponse>;
|
|
135
|
+
/**
|
|
136
|
+
* Creates request options for getWorkflowRunsSummary without sending the request
|
|
137
|
+
* @param {Date} [since] Window start (inclusive). Defaults to 7 days ago.
|
|
138
|
+
* @param {Date} [until] Window end (inclusive). Defaults to open-ended.
|
|
139
|
+
* @param {string} [definitionId] Scope all numbers to one workflow (requires read).
|
|
140
|
+
* @throws {RequiredError}
|
|
141
|
+
* @memberof WorkflowRunsApiInterface
|
|
142
|
+
*/
|
|
143
|
+
getWorkflowRunsSummaryRequestOpts(requestParameters: GetWorkflowRunsSummaryRequest): Promise<runtime.RequestOpts>;
|
|
144
|
+
/**
|
|
145
|
+
* Aggregate workflow-runs health, read-gated and permission-scoped. Numbers cover only runs under workflows the caller can read (OWNER/ADMIN ⇒ tenant-wide). Windowed metrics default to the last 7 days; the approval backlog and active-definition count are point-in-time.
|
|
146
|
+
* @summary Get Workflow Runs Summary Handler
|
|
147
|
+
* @param {Date} [since] Window start (inclusive). Defaults to 7 days ago.
|
|
148
|
+
* @param {Date} [until] Window end (inclusive). Defaults to open-ended.
|
|
149
|
+
* @param {string} [definitionId] Scope all numbers to one workflow (requires read).
|
|
150
|
+
* @param {*} [options] Override http request option.
|
|
151
|
+
* @throws {RequiredError}
|
|
152
|
+
* @memberof WorkflowRunsApiInterface
|
|
153
|
+
*/
|
|
154
|
+
getWorkflowRunsSummaryRaw(requestParameters: GetWorkflowRunsSummaryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowRunSummaryResponse>>;
|
|
155
|
+
/**
|
|
156
|
+
* Aggregate workflow-runs health, read-gated and permission-scoped. Numbers cover only runs under workflows the caller can read (OWNER/ADMIN ⇒ tenant-wide). Windowed metrics default to the last 7 days; the approval backlog and active-definition count are point-in-time.
|
|
157
|
+
* Get Workflow Runs Summary Handler
|
|
158
|
+
*/
|
|
159
|
+
getWorkflowRunsSummary(requestParameters: GetWorkflowRunsSummaryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowRunSummaryResponse>;
|
|
160
|
+
/**
|
|
161
|
+
* Creates request options for listWorkflowRunsForTenant without sending the request
|
|
162
|
+
* @param {Array<WorkflowExecutionState>} [state] Keep only runs in these execution states (repeatable).
|
|
163
|
+
* @param {boolean} [mine] Only runs the caller created (owner). Overrides owner_id.
|
|
164
|
+
* @param {boolean} [pendingApprovalForMe] Only runs pending approval that the caller may approve.
|
|
165
|
+
* @param {string} [definitionId] Only runs under this workflow definition.
|
|
166
|
+
* @param {string} [ownerId] Only runs created by this user.
|
|
167
|
+
* @param {WorkflowRunOrder} [sortBy] Field to sort runs by (default: STARTED_AT)
|
|
168
|
+
* @param {SortDirection} [sortDir] Sort direction; overrides the field\'s natural default
|
|
169
|
+
* @param {number} [limit] Number of items per page
|
|
170
|
+
* @param {number} [offset] Number of items to skip
|
|
171
|
+
* @param {Date} [createdAfter] Only items created at or after this timestamp (inclusive)
|
|
172
|
+
* @param {Date} [createdBefore] Only items created strictly before this timestamp
|
|
173
|
+
* @param {Date} [updatedAfter] Only items updated at or after this timestamp (inclusive)
|
|
174
|
+
* @param {Date} [updatedBefore] Only items updated strictly before this timestamp
|
|
175
|
+
* @throws {RequiredError}
|
|
176
|
+
* @memberof WorkflowRunsApiInterface
|
|
177
|
+
*/
|
|
178
|
+
listWorkflowRunsForTenantRequestOpts(requestParameters: ListWorkflowRunsForTenantRequest): Promise<runtime.RequestOpts>;
|
|
179
|
+
/**
|
|
180
|
+
* List runs across every workflow in the tenant, permission-scoped. The single spine behind the dashboard worklists — the FE composes its tabs from preset filters (``mine`` + ``state``, ``pending_approval_for_me``). Visibility follows the same model as the per-definition list: OWNER/ADMIN see all; a USER sees runs under workflows they can read.
|
|
181
|
+
* @summary List Workflow Runs For Tenant Handler
|
|
182
|
+
* @param {Array<WorkflowExecutionState>} [state] Keep only runs in these execution states (repeatable).
|
|
183
|
+
* @param {boolean} [mine] Only runs the caller created (owner). Overrides owner_id.
|
|
184
|
+
* @param {boolean} [pendingApprovalForMe] Only runs pending approval that the caller may approve.
|
|
185
|
+
* @param {string} [definitionId] Only runs under this workflow definition.
|
|
186
|
+
* @param {string} [ownerId] Only runs created by this user.
|
|
187
|
+
* @param {WorkflowRunOrder} [sortBy] Field to sort runs by (default: STARTED_AT)
|
|
188
|
+
* @param {SortDirection} [sortDir] Sort direction; overrides the field\'s natural default
|
|
189
|
+
* @param {number} [limit] Number of items per page
|
|
190
|
+
* @param {number} [offset] Number of items to skip
|
|
191
|
+
* @param {Date} [createdAfter] Only items created at or after this timestamp (inclusive)
|
|
192
|
+
* @param {Date} [createdBefore] Only items created strictly before this timestamp
|
|
193
|
+
* @param {Date} [updatedAfter] Only items updated at or after this timestamp (inclusive)
|
|
194
|
+
* @param {Date} [updatedBefore] Only items updated strictly before this timestamp
|
|
195
|
+
* @param {*} [options] Override http request option.
|
|
196
|
+
* @throws {RequiredError}
|
|
197
|
+
* @memberof WorkflowRunsApiInterface
|
|
198
|
+
*/
|
|
199
|
+
listWorkflowRunsForTenantRaw(requestParameters: ListWorkflowRunsForTenantRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedResponseWorkflowRunResponse>>;
|
|
200
|
+
/**
|
|
201
|
+
* List runs across every workflow in the tenant, permission-scoped. The single spine behind the dashboard worklists — the FE composes its tabs from preset filters (``mine`` + ``state``, ``pending_approval_for_me``). Visibility follows the same model as the per-definition list: OWNER/ADMIN see all; a USER sees runs under workflows they can read.
|
|
202
|
+
* List Workflow Runs For Tenant Handler
|
|
203
|
+
*/
|
|
204
|
+
listWorkflowRunsForTenant(requestParameters: ListWorkflowRunsForTenantRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseWorkflowRunResponse>;
|
|
115
205
|
/**
|
|
116
206
|
* Creates request options for retryWorkflowRun without sending the request
|
|
117
207
|
* @param {string} runId
|
|
@@ -287,6 +377,34 @@ export declare class WorkflowRunsApi extends runtime.BaseAPI implements Workflow
|
|
|
287
377
|
* Get Workflow Run Handler
|
|
288
378
|
*/
|
|
289
379
|
getWorkflowRun(requestParameters: GetWorkflowRunRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowRunResponse>;
|
|
380
|
+
/**
|
|
381
|
+
* Creates request options for getWorkflowRunsSummary without sending the request
|
|
382
|
+
*/
|
|
383
|
+
getWorkflowRunsSummaryRequestOpts(requestParameters: GetWorkflowRunsSummaryRequest): Promise<runtime.RequestOpts>;
|
|
384
|
+
/**
|
|
385
|
+
* Aggregate workflow-runs health, read-gated and permission-scoped. Numbers cover only runs under workflows the caller can read (OWNER/ADMIN ⇒ tenant-wide). Windowed metrics default to the last 7 days; the approval backlog and active-definition count are point-in-time.
|
|
386
|
+
* Get Workflow Runs Summary Handler
|
|
387
|
+
*/
|
|
388
|
+
getWorkflowRunsSummaryRaw(requestParameters: GetWorkflowRunsSummaryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowRunSummaryResponse>>;
|
|
389
|
+
/**
|
|
390
|
+
* Aggregate workflow-runs health, read-gated and permission-scoped. Numbers cover only runs under workflows the caller can read (OWNER/ADMIN ⇒ tenant-wide). Windowed metrics default to the last 7 days; the approval backlog and active-definition count are point-in-time.
|
|
391
|
+
* Get Workflow Runs Summary Handler
|
|
392
|
+
*/
|
|
393
|
+
getWorkflowRunsSummary(requestParameters?: GetWorkflowRunsSummaryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowRunSummaryResponse>;
|
|
394
|
+
/**
|
|
395
|
+
* Creates request options for listWorkflowRunsForTenant without sending the request
|
|
396
|
+
*/
|
|
397
|
+
listWorkflowRunsForTenantRequestOpts(requestParameters: ListWorkflowRunsForTenantRequest): Promise<runtime.RequestOpts>;
|
|
398
|
+
/**
|
|
399
|
+
* List runs across every workflow in the tenant, permission-scoped. The single spine behind the dashboard worklists — the FE composes its tabs from preset filters (``mine`` + ``state``, ``pending_approval_for_me``). Visibility follows the same model as the per-definition list: OWNER/ADMIN see all; a USER sees runs under workflows they can read.
|
|
400
|
+
* List Workflow Runs For Tenant Handler
|
|
401
|
+
*/
|
|
402
|
+
listWorkflowRunsForTenantRaw(requestParameters: ListWorkflowRunsForTenantRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedResponseWorkflowRunResponse>>;
|
|
403
|
+
/**
|
|
404
|
+
* List runs across every workflow in the tenant, permission-scoped. The single spine behind the dashboard worklists — the FE composes its tabs from preset filters (``mine`` + ``state``, ``pending_approval_for_me``). Visibility follows the same model as the per-definition list: OWNER/ADMIN see all; a USER sees runs under workflows they can read.
|
|
405
|
+
* List Workflow Runs For Tenant Handler
|
|
406
|
+
*/
|
|
407
|
+
listWorkflowRunsForTenant(requestParameters?: ListWorkflowRunsForTenantRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseWorkflowRunResponse>;
|
|
290
408
|
/**
|
|
291
409
|
* Creates request options for retryWorkflowRun without sending the request
|
|
292
410
|
*/
|