@hewnventures/levrops-sdk 1.15.36 → 1.15.61
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/dist/generated/core/OpenAPI.js +1 -1
- package/dist/generated/core/OpenAPI.js.map +1 -1
- package/dist/generated/index.d.ts +46 -5
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/index.js +0 -1
- package/dist/generated/index.js.map +1 -1
- package/dist/generated/models/ActivitySession.d.ts +50 -0
- package/dist/generated/models/ActivitySession.d.ts.map +1 -0
- package/dist/generated/models/ActivitySession.js +2 -0
- package/dist/generated/models/ActivitySession.js.map +1 -0
- package/dist/generated/models/ActivitySessionPartial.d.ts +39 -0
- package/dist/generated/models/ActivitySessionPartial.d.ts.map +1 -0
- package/dist/generated/models/ActivitySessionPartial.js +2 -0
- package/dist/generated/models/ActivitySessionPartial.js.map +1 -0
- package/dist/generated/models/ActivitySessionWrite.d.ts +30 -0
- package/dist/generated/models/ActivitySessionWrite.d.ts.map +1 -0
- package/dist/generated/models/ActivitySessionWrite.js +2 -0
- package/dist/generated/models/ActivitySessionWrite.js.map +1 -0
- package/dist/generated/models/AnalysisStatusEnum.d.ts +2 -1
- package/dist/generated/models/AnalysisStatusEnum.d.ts.map +1 -1
- package/dist/generated/models/ArtifactClusterDetail.d.ts +10 -0
- package/dist/generated/models/ArtifactClusterDetail.d.ts.map +1 -0
- package/dist/generated/models/ArtifactClusterDetail.js +2 -0
- package/dist/generated/models/ArtifactClusterDetail.js.map +1 -0
- package/dist/generated/models/AssistantMediaAsset.d.ts +28 -0
- package/dist/generated/models/AssistantMediaAsset.d.ts.map +1 -0
- package/dist/generated/models/AssistantMediaAsset.js +2 -0
- package/dist/generated/models/AssistantMediaAsset.js.map +1 -0
- package/dist/generated/models/AssistantMediaAssetGenerate.d.ts +13 -0
- package/dist/generated/models/AssistantMediaAssetGenerate.d.ts.map +1 -0
- package/dist/generated/models/AssistantMediaAssetGenerate.js +2 -0
- package/dist/generated/models/AssistantMediaAssetGenerate.js.map +1 -0
- package/dist/generated/models/AssistantMediaAssetGenerateKindEnum.d.ts +9 -0
- package/dist/generated/models/AssistantMediaAssetGenerateKindEnum.d.ts.map +1 -0
- package/dist/generated/models/AssistantMediaAssetGenerateKindEnum.js +2 -0
- package/dist/generated/models/AssistantMediaAssetGenerateKindEnum.js.map +1 -0
- package/dist/generated/models/AssistantMediaAssetGenerateOwnerTypeEnum.d.ts +6 -0
- package/dist/generated/models/AssistantMediaAssetGenerateOwnerTypeEnum.d.ts.map +1 -0
- package/dist/generated/models/AssistantMediaAssetGenerateOwnerTypeEnum.js +2 -0
- package/dist/generated/models/AssistantMediaAssetGenerateOwnerTypeEnum.js.map +1 -0
- package/dist/generated/models/AssistantMediaAssetKindEnum.d.ts +9 -0
- package/dist/generated/models/AssistantMediaAssetKindEnum.d.ts.map +1 -0
- package/dist/generated/models/AssistantMediaAssetKindEnum.js +2 -0
- package/dist/generated/models/AssistantMediaAssetKindEnum.js.map +1 -0
- package/dist/generated/models/AssistantMediaAssetOwnerTypeEnum.d.ts +6 -0
- package/dist/generated/models/AssistantMediaAssetOwnerTypeEnum.d.ts.map +1 -0
- package/dist/generated/models/AssistantMediaAssetOwnerTypeEnum.js +2 -0
- package/dist/generated/models/AssistantMediaAssetOwnerTypeEnum.js.map +1 -0
- package/dist/generated/models/AssistantMediaAssetStatusEnum.d.ts +7 -0
- package/dist/generated/models/AssistantMediaAssetStatusEnum.d.ts.map +1 -0
- package/dist/generated/models/AssistantMediaAssetStatusEnum.js +2 -0
- package/dist/generated/models/AssistantMediaAssetStatusEnum.js.map +1 -0
- package/dist/generated/models/AssistantPersona.d.ts +39 -0
- package/dist/generated/models/AssistantPersona.d.ts.map +1 -0
- package/dist/generated/models/AssistantPersona.js +2 -0
- package/dist/generated/models/AssistantPersona.js.map +1 -0
- package/dist/generated/models/AssistantTeam.d.ts +18 -0
- package/dist/generated/models/AssistantTeam.d.ts.map +1 -0
- package/dist/generated/models/AssistantTeam.js +2 -0
- package/dist/generated/models/AssistantTeam.js.map +1 -0
- package/dist/generated/models/AssistantTeamList.d.ts +16 -0
- package/dist/generated/models/AssistantTeamList.d.ts.map +1 -0
- package/dist/generated/models/AssistantTeamList.js +2 -0
- package/dist/generated/models/AssistantTeamList.js.map +1 -0
- package/dist/generated/models/Campaign.d.ts +3 -0
- package/dist/generated/models/Campaign.d.ts.map +1 -1
- package/dist/generated/models/ChannelDeliveryNested.d.ts +3 -1
- package/dist/generated/models/ChannelDeliveryNested.d.ts.map +1 -1
- package/dist/generated/models/ConstellationEvent.d.ts +14 -0
- package/dist/generated/models/ConstellationEvent.d.ts.map +1 -0
- package/dist/generated/models/ConstellationEvent.js +2 -0
- package/dist/generated/models/ConstellationEvent.js.map +1 -0
- package/dist/generated/models/DeliveryStatusEnum.d.ts +4 -2
- package/dist/generated/models/DeliveryStatusEnum.d.ts.map +1 -1
- package/dist/generated/models/DeploymentStatusEnum.d.ts +9 -0
- package/dist/generated/models/DeploymentStatusEnum.d.ts.map +1 -0
- package/dist/generated/models/DeploymentStatusEnum.js +2 -0
- package/dist/generated/models/DeploymentStatusEnum.js.map +1 -0
- package/dist/generated/models/DesignArtifact.d.ts +2 -2
- package/dist/generated/models/DesignArtifact.d.ts.map +1 -1
- package/dist/generated/models/DesignArtifactKindEnum.d.ts +6 -0
- package/dist/generated/models/DesignArtifactKindEnum.d.ts.map +1 -0
- package/dist/generated/models/DesignArtifactKindEnum.js +2 -0
- package/dist/generated/models/DesignArtifactKindEnum.js.map +1 -0
- package/dist/generated/models/DomainBinding.d.ts +22 -0
- package/dist/generated/models/DomainBinding.d.ts.map +1 -0
- package/dist/generated/models/DomainBinding.js +2 -0
- package/dist/generated/models/DomainBinding.js.map +1 -0
- package/dist/generated/models/DomainBindingStatusEnum.d.ts +6 -0
- package/dist/generated/models/DomainBindingStatusEnum.d.ts.map +1 -0
- package/dist/generated/models/DomainBindingStatusEnum.js +2 -0
- package/dist/generated/models/DomainBindingStatusEnum.js.map +1 -0
- package/dist/generated/models/EventTypeEnum.d.ts +12 -0
- package/dist/generated/models/EventTypeEnum.d.ts.map +1 -0
- package/dist/generated/models/EventTypeEnum.js +2 -0
- package/dist/generated/models/EventTypeEnum.js.map +1 -0
- package/dist/generated/models/IdentityIngestionFile.d.ts +65 -0
- package/dist/generated/models/IdentityIngestionFile.d.ts.map +1 -1
- package/dist/generated/models/ModeEnum.d.ts +8 -0
- package/dist/generated/models/ModeEnum.d.ts.map +1 -0
- package/dist/generated/models/ModeEnum.js +2 -0
- package/dist/generated/models/ModeEnum.js.map +1 -0
- package/dist/generated/models/OcrStatusEnum.d.ts +8 -0
- package/dist/generated/models/OcrStatusEnum.d.ts.map +1 -0
- package/dist/generated/models/OcrStatusEnum.js +2 -0
- package/dist/generated/models/OcrStatusEnum.js.map +1 -0
- package/dist/generated/models/OpsIngestionFile.d.ts +65 -0
- package/dist/generated/models/OpsIngestionFile.d.ts.map +1 -1
- package/dist/generated/models/PatchedActivitySessionPartial.d.ts +39 -0
- package/dist/generated/models/PatchedActivitySessionPartial.d.ts.map +1 -0
- package/dist/generated/models/PatchedActivitySessionPartial.js +2 -0
- package/dist/generated/models/PatchedActivitySessionPartial.js.map +1 -0
- package/dist/generated/models/PatchedAssistantPersona.d.ts +39 -0
- package/dist/generated/models/PatchedAssistantPersona.d.ts.map +1 -0
- package/dist/generated/models/PatchedAssistantPersona.js +2 -0
- package/dist/generated/models/PatchedAssistantPersona.js.map +1 -0
- package/dist/generated/models/PatchedAssistantTeam.d.ts +18 -0
- package/dist/generated/models/PatchedAssistantTeam.d.ts.map +1 -0
- package/dist/generated/models/PatchedAssistantTeam.js +2 -0
- package/dist/generated/models/PatchedAssistantTeam.js.map +1 -0
- package/dist/generated/models/PatchedCampaign.d.ts +3 -0
- package/dist/generated/models/PatchedCampaign.d.ts.map +1 -1
- package/dist/generated/models/PatchedDesignArtifact.d.ts +2 -2
- package/dist/generated/models/PatchedDesignArtifact.d.ts.map +1 -1
- package/dist/generated/models/PatchedIdentityIngestionFile.d.ts +65 -0
- package/dist/generated/models/PatchedIdentityIngestionFile.d.ts.map +1 -1
- package/dist/generated/models/PatchedOpsIngestionFile.d.ts +65 -0
- package/dist/generated/models/PatchedOpsIngestionFile.d.ts.map +1 -1
- package/dist/generated/models/PatchedPublishHandoff.d.ts +2 -2
- package/dist/generated/models/PatchedSurfaceConfigVarCreate.d.ts +22 -0
- package/dist/generated/models/PatchedSurfaceConfigVarCreate.d.ts.map +1 -0
- package/dist/generated/models/PatchedSurfaceConfigVarCreate.js +2 -0
- package/dist/generated/models/PatchedSurfaceConfigVarCreate.js.map +1 -0
- package/dist/generated/models/PlatformD77Enum.d.ts +10 -0
- package/dist/generated/models/PlatformD77Enum.d.ts.map +1 -0
- package/dist/generated/models/PlatformD77Enum.js +2 -0
- package/dist/generated/models/PlatformD77Enum.js.map +1 -0
- package/dist/generated/models/PublishHandoff.d.ts +2 -2
- package/dist/generated/models/PublishHandoffCreate.d.ts +2 -2
- package/dist/generated/models/ReasonEnum.d.ts +7 -0
- package/dist/generated/models/ReasonEnum.d.ts.map +1 -0
- package/dist/generated/models/ReasonEnum.js +2 -0
- package/dist/generated/models/ReasonEnum.js.map +1 -0
- package/dist/generated/models/ScopeEnum.d.ts +6 -0
- package/dist/generated/models/ScopeEnum.d.ts.map +1 -0
- package/dist/generated/models/ScopeEnum.js +2 -0
- package/dist/generated/models/ScopeEnum.js.map +1 -0
- package/dist/generated/models/Status352Enum.d.ts +7 -0
- package/dist/generated/models/Status352Enum.d.ts.map +1 -0
- package/dist/generated/models/Status352Enum.js +2 -0
- package/dist/generated/models/Status352Enum.js.map +1 -0
- package/dist/generated/models/SurfaceConfigVarCreate.d.ts +22 -0
- package/dist/generated/models/SurfaceConfigVarCreate.d.ts.map +1 -0
- package/dist/generated/models/SurfaceConfigVarCreate.js +2 -0
- package/dist/generated/models/SurfaceConfigVarCreate.js.map +1 -0
- package/dist/generated/models/SurfaceDomain.d.ts +23 -0
- package/dist/generated/models/SurfaceDomain.d.ts.map +1 -0
- package/dist/generated/models/SurfaceDomain.js +2 -0
- package/dist/generated/models/SurfaceDomain.js.map +1 -0
- package/dist/generated/models/SurfaceDomainKindEnum.d.ts +6 -0
- package/dist/generated/models/SurfaceDomainKindEnum.d.ts.map +1 -0
- package/dist/generated/models/SurfaceDomainKindEnum.js +2 -0
- package/dist/generated/models/SurfaceDomainKindEnum.js.map +1 -0
- package/dist/generated/models/SurfaceVersion.d.ts +32 -0
- package/dist/generated/models/SurfaceVersion.d.ts.map +1 -0
- package/dist/generated/models/SurfaceVersion.js +2 -0
- package/dist/generated/models/SurfaceVersion.js.map +1 -0
- package/dist/generated/models/SurfaceVersionArtifact.d.ts +28 -0
- package/dist/generated/models/SurfaceVersionArtifact.d.ts.map +1 -0
- package/dist/generated/models/SurfaceVersionArtifact.js +2 -0
- package/dist/generated/models/SurfaceVersionArtifact.js.map +1 -0
- package/dist/generated/models/SurfaceVersionArtifactKindEnum.d.ts +9 -0
- package/dist/generated/models/SurfaceVersionArtifactKindEnum.d.ts.map +1 -0
- package/dist/generated/models/SurfaceVersionArtifactKindEnum.js +2 -0
- package/dist/generated/models/SurfaceVersionArtifactKindEnum.js.map +1 -0
- package/dist/generated/models/SurfaceVersionArtifactProviderEnum.d.ts +8 -0
- package/dist/generated/models/SurfaceVersionArtifactProviderEnum.d.ts.map +1 -0
- package/dist/generated/models/SurfaceVersionArtifactProviderEnum.js +2 -0
- package/dist/generated/models/SurfaceVersionArtifactProviderEnum.js.map +1 -0
- package/dist/generated/models/SurfaceVersionCreate.d.ts +15 -0
- package/dist/generated/models/SurfaceVersionCreate.d.ts.map +1 -0
- package/dist/generated/models/SurfaceVersionCreate.js +2 -0
- package/dist/generated/models/SurfaceVersionCreate.js.map +1 -0
- package/dist/generated/models/SurfaceVersionStatusEnum.d.ts +11 -0
- package/dist/generated/models/SurfaceVersionStatusEnum.d.ts.map +1 -0
- package/dist/generated/models/SurfaceVersionStatusEnum.js +2 -0
- package/dist/generated/models/SurfaceVersionStatusEnum.js.map +1 -0
- package/dist/generated/models/TranscriptionStatusEnum.d.ts +8 -0
- package/dist/generated/models/TranscriptionStatusEnum.d.ts.map +1 -0
- package/dist/generated/models/TranscriptionStatusEnum.js +2 -0
- package/dist/generated/models/TranscriptionStatusEnum.js.map +1 -0
- package/dist/generated/models/VersionLaunchRun.d.ts +35 -0
- package/dist/generated/models/VersionLaunchRun.d.ts.map +1 -0
- package/dist/generated/models/VersionLaunchRun.js +2 -0
- package/dist/generated/models/VersionLaunchRun.js.map +1 -0
- package/dist/generated/models/VersionLaunchRunCreate.d.ts +9 -0
- package/dist/generated/models/VersionLaunchRunCreate.d.ts.map +1 -0
- package/dist/generated/models/VersionLaunchRunCreate.js +2 -0
- package/dist/generated/models/VersionLaunchRunCreate.js.map +1 -0
- package/dist/generated/models/VersionLaunchRunStatusEnum.d.ts +8 -0
- package/dist/generated/models/VersionLaunchRunStatusEnum.d.ts.map +1 -0
- package/dist/generated/models/VersionLaunchRunStatusEnum.js +2 -0
- package/dist/generated/models/VersionLaunchRunStatusEnum.js.map +1 -0
- package/dist/generated/models/VersionLaunchStep.d.ts +15 -0
- package/dist/generated/models/VersionLaunchStep.d.ts.map +1 -0
- package/dist/generated/models/VersionLaunchStep.js +2 -0
- package/dist/generated/models/VersionLaunchStep.js.map +1 -0
- package/dist/generated/models/VersionLaunchStepStatusEnum.d.ts +9 -0
- package/dist/generated/models/VersionLaunchStepStatusEnum.d.ts.map +1 -0
- package/dist/generated/models/VersionLaunchStepStatusEnum.js +2 -0
- package/dist/generated/models/VersionLaunchStepStatusEnum.js.map +1 -0
- package/dist/generated/models/VisibilityEnum.d.ts +7 -0
- package/dist/generated/models/VisibilityEnum.d.ts.map +1 -0
- package/dist/generated/models/VisibilityEnum.js +2 -0
- package/dist/generated/models/VisibilityEnum.js.map +1 -0
- package/dist/generated/services/ApiService.d.ts +2073 -361
- package/dist/generated/services/ApiService.d.ts.map +1 -1
- package/dist/generated/services/ApiService.js +6450 -3955
- package/dist/generated/services/ApiService.js.map +1 -1
- package/package.json +2 -2
- package/dist/generated/models/FirecrawlConfigResponse.d.ts +0 -22
- package/dist/generated/models/FirecrawlConfigResponse.d.ts.map +0 -1
- package/dist/generated/models/FirecrawlConfigResponse.js +0 -2
- package/dist/generated/models/FirecrawlConfigResponse.js.map +0 -1
- package/dist/generated/models/FirecrawlConfigUpdate.d.ts +0 -18
- package/dist/generated/models/FirecrawlConfigUpdate.d.ts.map +0 -1
- package/dist/generated/models/FirecrawlConfigUpdate.js +0 -2
- package/dist/generated/models/FirecrawlConfigUpdate.js.map +0 -1
- package/dist/generated/models/KindEnum.d.ts +0 -6
- package/dist/generated/models/KindEnum.d.ts.map +0 -1
- package/dist/generated/models/KindEnum.js +0 -2
- package/dist/generated/models/KindEnum.js.map +0 -1
- package/dist/generated/models/Platform547Enum.d.ts +0 -6
- package/dist/generated/models/Platform547Enum.d.ts.map +0 -1
- package/dist/generated/models/Platform547Enum.js +0 -2
- package/dist/generated/models/Platform547Enum.js.map +0 -1
- package/dist/generated/services/OpsService.d.ts +0 -77
- package/dist/generated/services/OpsService.d.ts.map +0 -1
- package/dist/generated/services/OpsService.js +0 -54
- package/dist/generated/services/OpsService.js.map +0 -1
|
@@ -1,5 +1,14 @@
|
|
|
1
|
+
import type { ActivitySession } from '../models/ActivitySession';
|
|
2
|
+
import type { ActivitySessionPartial } from '../models/ActivitySessionPartial';
|
|
3
|
+
import type { ActivitySessionWrite } from '../models/ActivitySessionWrite';
|
|
1
4
|
import type { AlertDefinition } from '../models/AlertDefinition';
|
|
5
|
+
import type { ArtifactClusterDetail } from '../models/ArtifactClusterDetail';
|
|
2
6
|
import type { Asset } from '../models/Asset';
|
|
7
|
+
import type { AssistantMediaAsset } from '../models/AssistantMediaAsset';
|
|
8
|
+
import type { AssistantMediaAssetGenerate } from '../models/AssistantMediaAssetGenerate';
|
|
9
|
+
import type { AssistantPersona } from '../models/AssistantPersona';
|
|
10
|
+
import type { AssistantTeam } from '../models/AssistantTeam';
|
|
11
|
+
import type { AssistantTeamList } from '../models/AssistantTeamList';
|
|
3
12
|
import type { BrandGuide } from '../models/BrandGuide';
|
|
4
13
|
import type { BrandVoiceProfile } from '../models/BrandVoiceProfile';
|
|
5
14
|
import type { Campaign } from '../models/Campaign';
|
|
@@ -8,6 +17,7 @@ import type { CampaignSuggestion } from '../models/CampaignSuggestion';
|
|
|
8
17
|
import type { Channel } from '../models/Channel';
|
|
9
18
|
import type { ConceptLabSession } from '../models/ConceptLabSession';
|
|
10
19
|
import type { ConceptLabSessionCreate } from '../models/ConceptLabSessionCreate';
|
|
20
|
+
import type { ConstellationEvent } from '../models/ConstellationEvent';
|
|
11
21
|
import type { ContentAsset } from '../models/ContentAsset';
|
|
12
22
|
import type { ContentGenerationRun } from '../models/ContentGenerationRun';
|
|
13
23
|
import type { ContentTask } from '../models/ContentTask';
|
|
@@ -17,6 +27,7 @@ import type { CustomerMembership } from '../models/CustomerMembership';
|
|
|
17
27
|
import type { DesignArtifact } from '../models/DesignArtifact';
|
|
18
28
|
import type { DesignProject } from '../models/DesignProject';
|
|
19
29
|
import type { DesignSystemProfile } from '../models/DesignSystemProfile';
|
|
30
|
+
import type { DomainBinding } from '../models/DomainBinding';
|
|
20
31
|
import type { EditorialCalendar } from '../models/EditorialCalendar';
|
|
21
32
|
import type { Environment } from '../models/Environment';
|
|
22
33
|
import type { IdentityIngestionFile } from '../models/IdentityIngestionFile';
|
|
@@ -31,8 +42,11 @@ import type { LayoutSectionTemplate } from '../models/LayoutSectionTemplate';
|
|
|
31
42
|
import type { MomentumOutcome } from '../models/MomentumOutcome';
|
|
32
43
|
import type { OpsIngestionFile } from '../models/OpsIngestionFile';
|
|
33
44
|
import type { Order } from '../models/Order';
|
|
45
|
+
import type { PatchedActivitySessionPartial } from '../models/PatchedActivitySessionPartial';
|
|
34
46
|
import type { PatchedAlertDefinition } from '../models/PatchedAlertDefinition';
|
|
35
47
|
import type { PatchedAsset } from '../models/PatchedAsset';
|
|
48
|
+
import type { PatchedAssistantPersona } from '../models/PatchedAssistantPersona';
|
|
49
|
+
import type { PatchedAssistantTeam } from '../models/PatchedAssistantTeam';
|
|
36
50
|
import type { PatchedBrandGuide } from '../models/PatchedBrandGuide';
|
|
37
51
|
import type { PatchedBrandVoiceProfile } from '../models/PatchedBrandVoiceProfile';
|
|
38
52
|
import type { PatchedCampaign } from '../models/PatchedCampaign';
|
|
@@ -72,6 +86,7 @@ import type { PatchedPublishTarget } from '../models/PatchedPublishTarget';
|
|
|
72
86
|
import type { PatchedResearchSubmission } from '../models/PatchedResearchSubmission';
|
|
73
87
|
import type { PatchedRhythm } from '../models/PatchedRhythm';
|
|
74
88
|
import type { PatchedRole } from '../models/PatchedRole';
|
|
89
|
+
import type { PatchedSurfaceConfigVarCreate } from '../models/PatchedSurfaceConfigVarCreate';
|
|
75
90
|
import type { PatchedTaskInstance } from '../models/PatchedTaskInstance';
|
|
76
91
|
import type { PatchedTaskTemplate } from '../models/PatchedTaskTemplate';
|
|
77
92
|
import type { PatchedTenant } from '../models/PatchedTenant';
|
|
@@ -97,6 +112,11 @@ import type { ResearchSubmissionDetail } from '../models/ResearchSubmissionDetai
|
|
|
97
112
|
import type { Rhythm } from '../models/Rhythm';
|
|
98
113
|
import type { Role } from '../models/Role';
|
|
99
114
|
import type { RoleDetail } from '../models/RoleDetail';
|
|
115
|
+
import type { SurfaceConfigVarCreate } from '../models/SurfaceConfigVarCreate';
|
|
116
|
+
import type { SurfaceDomain } from '../models/SurfaceDomain';
|
|
117
|
+
import type { SurfaceVersion } from '../models/SurfaceVersion';
|
|
118
|
+
import type { SurfaceVersionArtifact } from '../models/SurfaceVersionArtifact';
|
|
119
|
+
import type { SurfaceVersionCreate } from '../models/SurfaceVersionCreate';
|
|
100
120
|
import type { TaskInstance } from '../models/TaskInstance';
|
|
101
121
|
import type { TaskTemplate } from '../models/TaskTemplate';
|
|
102
122
|
import type { Tenant } from '../models/Tenant';
|
|
@@ -108,8 +128,90 @@ import type { TenantUser } from '../models/TenantUser';
|
|
|
108
128
|
import type { UserRoleAssignment } from '../models/UserRoleAssignment';
|
|
109
129
|
import type { UserRoleAssignmentCreate } from '../models/UserRoleAssignmentCreate';
|
|
110
130
|
import type { UserWithRoles } from '../models/UserWithRoles';
|
|
131
|
+
import type { VersionLaunchRun } from '../models/VersionLaunchRun';
|
|
132
|
+
import type { VersionLaunchRunCreate } from '../models/VersionLaunchRunCreate';
|
|
111
133
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
112
134
|
export declare class ApiService {
|
|
135
|
+
/**
|
|
136
|
+
* ViewSet for ActivitySession: list, create, retrieve, partial_update, destroy, metrics.
|
|
137
|
+
*
|
|
138
|
+
* Tenant-scoped: require_tenant_schema is enforced by TenantModelViewSet.
|
|
139
|
+
* @returns ActivitySession
|
|
140
|
+
* @throws ApiError
|
|
141
|
+
*/
|
|
142
|
+
static apiV1ActivitiesSessionsList(): CancelablePromise<Array<ActivitySession>>;
|
|
143
|
+
/**
|
|
144
|
+
* ViewSet for ActivitySession: list, create, retrieve, partial_update, destroy, metrics.
|
|
145
|
+
*
|
|
146
|
+
* Tenant-scoped: require_tenant_schema is enforced by TenantModelViewSet.
|
|
147
|
+
* @returns ActivitySessionWrite
|
|
148
|
+
* @throws ApiError
|
|
149
|
+
*/
|
|
150
|
+
static apiV1ActivitiesSessionsCreate({ requestBody, }: {
|
|
151
|
+
requestBody: ActivitySessionWrite;
|
|
152
|
+
}): CancelablePromise<ActivitySessionWrite>;
|
|
153
|
+
/**
|
|
154
|
+
* ViewSet for ActivitySession: list, create, retrieve, partial_update, destroy, metrics.
|
|
155
|
+
*
|
|
156
|
+
* Tenant-scoped: require_tenant_schema is enforced by TenantModelViewSet.
|
|
157
|
+
* @returns ActivitySession
|
|
158
|
+
* @throws ApiError
|
|
159
|
+
*/
|
|
160
|
+
static apiV1ActivitiesSessionsRetrieve({ id, }: {
|
|
161
|
+
/**
|
|
162
|
+
* A unique integer value identifying this activity session.
|
|
163
|
+
*/
|
|
164
|
+
id: number;
|
|
165
|
+
}): CancelablePromise<ActivitySession>;
|
|
166
|
+
/**
|
|
167
|
+
* ViewSet for ActivitySession: list, create, retrieve, partial_update, destroy, metrics.
|
|
168
|
+
*
|
|
169
|
+
* Tenant-scoped: require_tenant_schema is enforced by TenantModelViewSet.
|
|
170
|
+
* @returns ActivitySessionPartial
|
|
171
|
+
* @throws ApiError
|
|
172
|
+
*/
|
|
173
|
+
static apiV1ActivitiesSessionsUpdate({ id, requestBody, }: {
|
|
174
|
+
/**
|
|
175
|
+
* A unique integer value identifying this activity session.
|
|
176
|
+
*/
|
|
177
|
+
id: number;
|
|
178
|
+
requestBody?: ActivitySessionPartial;
|
|
179
|
+
}): CancelablePromise<ActivitySessionPartial>;
|
|
180
|
+
/**
|
|
181
|
+
* ViewSet for ActivitySession: list, create, retrieve, partial_update, destroy, metrics.
|
|
182
|
+
*
|
|
183
|
+
* Tenant-scoped: require_tenant_schema is enforced by TenantModelViewSet.
|
|
184
|
+
* @returns ActivitySessionPartial
|
|
185
|
+
* @throws ApiError
|
|
186
|
+
*/
|
|
187
|
+
static apiV1ActivitiesSessionsPartialUpdate({ id, requestBody, }: {
|
|
188
|
+
/**
|
|
189
|
+
* A unique integer value identifying this activity session.
|
|
190
|
+
*/
|
|
191
|
+
id: number;
|
|
192
|
+
requestBody?: PatchedActivitySessionPartial;
|
|
193
|
+
}): CancelablePromise<ActivitySessionPartial>;
|
|
194
|
+
/**
|
|
195
|
+
* ViewSet for ActivitySession: list, create, retrieve, partial_update, destroy, metrics.
|
|
196
|
+
*
|
|
197
|
+
* Tenant-scoped: require_tenant_schema is enforced by TenantModelViewSet.
|
|
198
|
+
* @returns void
|
|
199
|
+
* @throws ApiError
|
|
200
|
+
*/
|
|
201
|
+
static apiV1ActivitiesSessionsDestroy({ id, }: {
|
|
202
|
+
/**
|
|
203
|
+
* A unique integer value identifying this activity session.
|
|
204
|
+
*/
|
|
205
|
+
id: number;
|
|
206
|
+
}): CancelablePromise<void>;
|
|
207
|
+
/**
|
|
208
|
+
* Return aggregate metrics for activity sessions in the given time window.
|
|
209
|
+
*
|
|
210
|
+
* Query params: from, to (ISO datetime), activity_type (optional filter).
|
|
211
|
+
* @returns ActivitySession
|
|
212
|
+
* @throws ApiError
|
|
213
|
+
*/
|
|
214
|
+
static apiV1ActivitiesSessionsMetricsRetrieve(): CancelablePromise<ActivitySession>;
|
|
113
215
|
/**
|
|
114
216
|
* List all feature flags with their definitions and current state.
|
|
115
217
|
*
|
|
@@ -555,252 +657,659 @@ export declare class ApiService {
|
|
|
555
657
|
id: number;
|
|
556
658
|
}): CancelablePromise<void>;
|
|
557
659
|
/**
|
|
558
|
-
*
|
|
660
|
+
* Read-only viewset for artifact clusters (GET /api/v1/artifact-clusters/{id}).
|
|
661
|
+
* Returns cluster_id, artifacts (with similarity_score), cluster_summary, themes.
|
|
662
|
+
* @returns ArtifactClusterDetail
|
|
559
663
|
* @throws ApiError
|
|
560
664
|
*/
|
|
561
|
-
static
|
|
665
|
+
static apiV1ArtifactClustersList(): CancelablePromise<Array<ArtifactClusterDetail>>;
|
|
562
666
|
/**
|
|
563
|
-
*
|
|
564
|
-
*
|
|
667
|
+
* Read-only viewset for artifact clusters (GET /api/v1/artifact-clusters/{id}).
|
|
668
|
+
* Returns cluster_id, artifacts (with similarity_score), cluster_summary, themes.
|
|
669
|
+
* @returns ArtifactClusterDetail
|
|
565
670
|
* @throws ApiError
|
|
566
671
|
*/
|
|
567
|
-
static
|
|
672
|
+
static apiV1ArtifactClustersRetrieve({ id, }: {
|
|
673
|
+
/**
|
|
674
|
+
* A unique integer value identifying this artifact cluster.
|
|
675
|
+
*/
|
|
676
|
+
id: number;
|
|
677
|
+
}): CancelablePromise<ArtifactClusterDetail>;
|
|
568
678
|
/**
|
|
569
|
-
*
|
|
679
|
+
* Artifact Intelligence: retrieve analysis and context for artifacts (DesignArtifact).
|
|
680
|
+
* GET /api/v1/artifacts/{id}/analysis/ and GET /api/v1/artifacts/{id}/context/
|
|
681
|
+
* @returns DesignArtifact
|
|
570
682
|
* @throws ApiError
|
|
571
683
|
*/
|
|
572
|
-
static
|
|
684
|
+
static apiV1ArtifactsList(): CancelablePromise<Array<DesignArtifact>>;
|
|
573
685
|
/**
|
|
574
|
-
*
|
|
686
|
+
* Artifact Intelligence: retrieve analysis and context for artifacts (DesignArtifact).
|
|
687
|
+
* GET /api/v1/artifacts/{id}/analysis/ and GET /api/v1/artifacts/{id}/context/
|
|
688
|
+
* @returns DesignArtifact
|
|
575
689
|
* @throws ApiError
|
|
576
690
|
*/
|
|
577
|
-
static
|
|
691
|
+
static apiV1ArtifactsCreate({ requestBody, }: {
|
|
692
|
+
requestBody: DesignArtifact;
|
|
693
|
+
}): CancelablePromise<DesignArtifact>;
|
|
578
694
|
/**
|
|
695
|
+
* Product API: revision-scoped read + minimal producer (POST) for creative_semantic_metadata.
|
|
696
|
+
*
|
|
697
|
+
* Consumers (e.g. Bloom) should prefer this over the raw MCP document route.
|
|
698
|
+
*
|
|
699
|
+
* GET /api/v1/artifacts/{artifactId}/revisions/{artifactRevisionId}/creative-semantic-metadata/
|
|
700
|
+
* POST same — body ``{"design_artifact_id": <int>, "truth_substrate_version": "<optional>"}``
|
|
579
701
|
* @returns any No response body
|
|
580
702
|
* @throws ApiError
|
|
581
703
|
*/
|
|
582
|
-
static
|
|
704
|
+
static apiV1ArtifactsRevisionsCreativeSemanticMetadataRetrieve({ artifactId, artifactRevisionId, }: {
|
|
705
|
+
artifactId: string;
|
|
706
|
+
artifactRevisionId: string;
|
|
707
|
+
}): CancelablePromise<any>;
|
|
583
708
|
/**
|
|
709
|
+
* Product API: revision-scoped read + minimal producer (POST) for creative_semantic_metadata.
|
|
710
|
+
*
|
|
711
|
+
* Consumers (e.g. Bloom) should prefer this over the raw MCP document route.
|
|
712
|
+
*
|
|
713
|
+
* GET /api/v1/artifacts/{artifactId}/revisions/{artifactRevisionId}/creative-semantic-metadata/
|
|
714
|
+
* POST same — body ``{"design_artifact_id": <int>, "truth_substrate_version": "<optional>"}``
|
|
584
715
|
* @returns any No response body
|
|
585
716
|
* @throws ApiError
|
|
586
717
|
*/
|
|
587
|
-
static
|
|
718
|
+
static apiV1ArtifactsRevisionsCreativeSemanticMetadataCreate({ artifactId, artifactRevisionId, }: {
|
|
719
|
+
artifactId: string;
|
|
720
|
+
artifactRevisionId: string;
|
|
721
|
+
}): CancelablePromise<any>;
|
|
588
722
|
/**
|
|
723
|
+
* GET …/creative-semantic-metadata/interpretations/ — list interpretation profiles for a revision.
|
|
589
724
|
* @returns any No response body
|
|
590
725
|
* @throws ApiError
|
|
591
726
|
*/
|
|
592
|
-
static
|
|
727
|
+
static apiV1ArtifactsRevisionsCreativeSemanticMetadataInterpretationsRetrieve({ artifactId, artifactRevisionId, }: {
|
|
728
|
+
artifactId: string;
|
|
729
|
+
artifactRevisionId: string;
|
|
730
|
+
}): CancelablePromise<any>;
|
|
593
731
|
/**
|
|
732
|
+
* GET/POST …/creative-semantic-metadata/interpretations/{interpretation_profile_id}/
|
|
733
|
+
*
|
|
734
|
+
* POST runs the minimal conditioned stub producer (requires base CSM row).
|
|
594
735
|
* @returns any No response body
|
|
595
736
|
* @throws ApiError
|
|
596
737
|
*/
|
|
597
|
-
static
|
|
738
|
+
static apiV1ArtifactsRevisionsCreativeSemanticMetadataInterpretationsRetrieve2({ artifactId, artifactRevisionId, interpretationProfileId, }: {
|
|
739
|
+
artifactId: string;
|
|
740
|
+
artifactRevisionId: string;
|
|
741
|
+
interpretationProfileId: string;
|
|
742
|
+
}): CancelablePromise<any>;
|
|
598
743
|
/**
|
|
599
|
-
*
|
|
744
|
+
* GET/POST …/creative-semantic-metadata/interpretations/{interpretation_profile_id}/
|
|
600
745
|
*
|
|
601
|
-
*
|
|
602
|
-
* - User lookup happens in PUBLIC schema (core_user lives in public)
|
|
603
|
-
* - RBAC resolution happens in TENANT schema (tenant context set by middleware)
|
|
604
|
-
* - Schema is explicitly managed to prevent leakage
|
|
605
|
-
*
|
|
606
|
-
* Returns a stable response shape that never omits top-level keys.
|
|
746
|
+
* POST runs the minimal conditioned stub producer (requires base CSM row).
|
|
607
747
|
* @returns any No response body
|
|
608
748
|
* @throws ApiError
|
|
609
749
|
*/
|
|
610
|
-
static
|
|
750
|
+
static apiV1ArtifactsRevisionsCreativeSemanticMetadataInterpretationsCreate({ artifactId, artifactRevisionId, interpretationProfileId, }: {
|
|
751
|
+
artifactId: string;
|
|
752
|
+
artifactRevisionId: string;
|
|
753
|
+
interpretationProfileId: string;
|
|
754
|
+
}): CancelablePromise<any>;
|
|
611
755
|
/**
|
|
612
|
-
*
|
|
613
|
-
*
|
|
756
|
+
* Artifact Intelligence: retrieve analysis and context for artifacts (DesignArtifact).
|
|
757
|
+
* GET /api/v1/artifacts/{id}/analysis/ and GET /api/v1/artifacts/{id}/context/
|
|
758
|
+
* @returns DesignArtifact
|
|
614
759
|
* @throws ApiError
|
|
615
760
|
*/
|
|
616
|
-
static
|
|
761
|
+
static apiV1ArtifactsRetrieve({ id, }: {
|
|
762
|
+
/**
|
|
763
|
+
* A unique integer value identifying this design artifact.
|
|
764
|
+
*/
|
|
765
|
+
id: number;
|
|
766
|
+
}): CancelablePromise<DesignArtifact>;
|
|
617
767
|
/**
|
|
618
|
-
*
|
|
768
|
+
* Artifact Intelligence: retrieve analysis and context for artifacts (DesignArtifact).
|
|
769
|
+
* GET /api/v1/artifacts/{id}/analysis/ and GET /api/v1/artifacts/{id}/context/
|
|
770
|
+
* @returns DesignArtifact
|
|
619
771
|
* @throws ApiError
|
|
620
772
|
*/
|
|
621
|
-
static
|
|
773
|
+
static apiV1ArtifactsUpdate({ id, requestBody, }: {
|
|
774
|
+
/**
|
|
775
|
+
* A unique integer value identifying this design artifact.
|
|
776
|
+
*/
|
|
777
|
+
id: number;
|
|
778
|
+
requestBody: DesignArtifact;
|
|
779
|
+
}): CancelablePromise<DesignArtifact>;
|
|
622
780
|
/**
|
|
623
|
-
*
|
|
781
|
+
* Artifact Intelligence: retrieve analysis and context for artifacts (DesignArtifact).
|
|
782
|
+
* GET /api/v1/artifacts/{id}/analysis/ and GET /api/v1/artifacts/{id}/context/
|
|
783
|
+
* @returns DesignArtifact
|
|
624
784
|
* @throws ApiError
|
|
625
785
|
*/
|
|
626
|
-
static
|
|
786
|
+
static apiV1ArtifactsPartialUpdate({ id, requestBody, }: {
|
|
787
|
+
/**
|
|
788
|
+
* A unique integer value identifying this design artifact.
|
|
789
|
+
*/
|
|
790
|
+
id: number;
|
|
791
|
+
requestBody?: PatchedDesignArtifact;
|
|
792
|
+
}): CancelablePromise<DesignArtifact>;
|
|
627
793
|
/**
|
|
628
|
-
*
|
|
794
|
+
* Artifact Intelligence: retrieve analysis and context for artifacts (DesignArtifact).
|
|
795
|
+
* GET /api/v1/artifacts/{id}/analysis/ and GET /api/v1/artifacts/{id}/context/
|
|
796
|
+
* @returns void
|
|
629
797
|
* @throws ApiError
|
|
630
798
|
*/
|
|
631
|
-
static
|
|
799
|
+
static apiV1ArtifactsDestroy({ id, }: {
|
|
800
|
+
/**
|
|
801
|
+
* A unique integer value identifying this design artifact.
|
|
802
|
+
*/
|
|
803
|
+
id: number;
|
|
804
|
+
}): CancelablePromise<void>;
|
|
632
805
|
/**
|
|
633
|
-
*
|
|
806
|
+
* Return artifact analysis (extracted_text, analysis summary, themes, keywords).
|
|
807
|
+
* @returns DesignArtifact
|
|
634
808
|
* @throws ApiError
|
|
635
809
|
*/
|
|
636
|
-
static
|
|
810
|
+
static apiV1ArtifactsAnalysisRetrieve({ id, }: {
|
|
811
|
+
/**
|
|
812
|
+
* A unique integer value identifying this design artifact.
|
|
813
|
+
*/
|
|
814
|
+
id: number;
|
|
815
|
+
}): CancelablePromise<DesignArtifact>;
|
|
637
816
|
/**
|
|
638
|
-
*
|
|
817
|
+
* Return artifact context for AI assistants: analysis + similar artifacts (by embedding).
|
|
818
|
+
* @returns DesignArtifact
|
|
639
819
|
* @throws ApiError
|
|
640
820
|
*/
|
|
641
|
-
static
|
|
821
|
+
static apiV1ArtifactsContextRetrieve({ id, }: {
|
|
822
|
+
/**
|
|
823
|
+
* A unique integer value identifying this design artifact.
|
|
824
|
+
*/
|
|
825
|
+
id: number;
|
|
826
|
+
}): CancelablePromise<DesignArtifact>;
|
|
642
827
|
/**
|
|
643
|
-
*
|
|
828
|
+
* Return artifacts semantically similar to this artifact (vector similarity on embeddings).
|
|
829
|
+
* @returns DesignArtifact
|
|
644
830
|
* @throws ApiError
|
|
645
831
|
*/
|
|
646
|
-
static
|
|
832
|
+
static apiV1ArtifactsSimilarRetrieve({ id, }: {
|
|
833
|
+
/**
|
|
834
|
+
* A unique integer value identifying this design artifact.
|
|
835
|
+
*/
|
|
836
|
+
id: number;
|
|
837
|
+
}): CancelablePromise<DesignArtifact>;
|
|
647
838
|
/**
|
|
648
|
-
*
|
|
839
|
+
* GET /api/v1/assistant-media-assets/?owner_type=...&owner_id=...
|
|
840
|
+
* GET /api/v1/assistant-media-assets/{id}/
|
|
841
|
+
* POST /api/v1/assistant-media-assets/generate/ -> { asset_id, status: "queued" }
|
|
842
|
+
* POST /api/v1/assistant-media-assets/{id}/retry/
|
|
843
|
+
* @returns AssistantMediaAsset
|
|
649
844
|
* @throws ApiError
|
|
650
845
|
*/
|
|
651
|
-
static
|
|
846
|
+
static apiV1AssistantMediaAssetsList(): CancelablePromise<Array<AssistantMediaAsset>>;
|
|
652
847
|
/**
|
|
653
|
-
*
|
|
848
|
+
* Disable direct create; use generate action.
|
|
849
|
+
* @returns AssistantMediaAsset
|
|
654
850
|
* @throws ApiError
|
|
655
851
|
*/
|
|
656
|
-
static
|
|
852
|
+
static apiV1AssistantMediaAssetsCreate({ requestBody, }: {
|
|
853
|
+
requestBody?: AssistantMediaAsset;
|
|
854
|
+
}): CancelablePromise<AssistantMediaAsset>;
|
|
657
855
|
/**
|
|
658
|
-
*
|
|
856
|
+
* GET /api/v1/assistant-media-assets/?owner_type=...&owner_id=...
|
|
857
|
+
* GET /api/v1/assistant-media-assets/{id}/
|
|
858
|
+
* POST /api/v1/assistant-media-assets/generate/ -> { asset_id, status: "queued" }
|
|
859
|
+
* POST /api/v1/assistant-media-assets/{id}/retry/
|
|
860
|
+
* @returns AssistantMediaAsset
|
|
659
861
|
* @throws ApiError
|
|
660
862
|
*/
|
|
661
|
-
static
|
|
863
|
+
static apiV1AssistantMediaAssetsRetrieve({ id, }: {
|
|
864
|
+
id: string;
|
|
865
|
+
}): CancelablePromise<AssistantMediaAsset>;
|
|
662
866
|
/**
|
|
663
|
-
*
|
|
867
|
+
* Re-queue a failed asset for generation.
|
|
868
|
+
* @returns AssistantMediaAsset
|
|
664
869
|
* @throws ApiError
|
|
665
870
|
*/
|
|
666
|
-
static
|
|
871
|
+
static apiV1AssistantMediaAssetsRetryCreate({ id, requestBody, }: {
|
|
872
|
+
id: string;
|
|
873
|
+
requestBody?: AssistantMediaAsset;
|
|
874
|
+
}): CancelablePromise<AssistantMediaAsset>;
|
|
667
875
|
/**
|
|
668
|
-
*
|
|
876
|
+
* Create asset in queued state and enqueue Celery task.
|
|
877
|
+
* @returns AssistantMediaAssetGenerate
|
|
669
878
|
* @throws ApiError
|
|
670
879
|
*/
|
|
671
|
-
static
|
|
880
|
+
static apiV1AssistantMediaAssetsGenerateCreate({ requestBody, }: {
|
|
881
|
+
requestBody: AssistantMediaAssetGenerate;
|
|
882
|
+
}): CancelablePromise<AssistantMediaAssetGenerate>;
|
|
672
883
|
/**
|
|
673
|
-
*
|
|
884
|
+
* PATCH/DELETE /api/v1/assistant-personas/{id}/
|
|
885
|
+
* No list/create at this level; create via team nested action.
|
|
886
|
+
* @returns AssistantPersona
|
|
674
887
|
* @throws ApiError
|
|
675
888
|
*/
|
|
676
|
-
static
|
|
677
|
-
requestBody: Order;
|
|
678
|
-
}): CancelablePromise<Order>;
|
|
889
|
+
static apiV1AssistantPersonasList(): CancelablePromise<Array<AssistantPersona>>;
|
|
679
890
|
/**
|
|
680
|
-
*
|
|
891
|
+
* PATCH/DELETE /api/v1/assistant-personas/{id}/
|
|
892
|
+
* No list/create at this level; create via team nested action.
|
|
893
|
+
* @returns AssistantPersona
|
|
681
894
|
* @throws ApiError
|
|
682
895
|
*/
|
|
683
|
-
static
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
*/
|
|
687
|
-
id: number;
|
|
688
|
-
}): CancelablePromise<Order>;
|
|
896
|
+
static apiV1AssistantPersonasRetrieve({ id, }: {
|
|
897
|
+
id: string;
|
|
898
|
+
}): CancelablePromise<AssistantPersona>;
|
|
689
899
|
/**
|
|
690
|
-
*
|
|
900
|
+
* PATCH/DELETE /api/v1/assistant-personas/{id}/
|
|
901
|
+
* No list/create at this level; create via team nested action.
|
|
902
|
+
* @returns AssistantPersona
|
|
691
903
|
* @throws ApiError
|
|
692
904
|
*/
|
|
693
|
-
static
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
id: number;
|
|
698
|
-
requestBody: Order;
|
|
699
|
-
}): CancelablePromise<Order>;
|
|
905
|
+
static apiV1AssistantPersonasPartialUpdate({ id, requestBody, }: {
|
|
906
|
+
id: string;
|
|
907
|
+
requestBody?: PatchedAssistantPersona;
|
|
908
|
+
}): CancelablePromise<AssistantPersona>;
|
|
700
909
|
/**
|
|
701
|
-
*
|
|
910
|
+
* PATCH/DELETE /api/v1/assistant-personas/{id}/
|
|
911
|
+
* No list/create at this level; create via team nested action.
|
|
912
|
+
* @returns void
|
|
702
913
|
* @throws ApiError
|
|
703
914
|
*/
|
|
704
|
-
static
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
*/
|
|
708
|
-
id: number;
|
|
709
|
-
requestBody?: PatchedOrder;
|
|
710
|
-
}): CancelablePromise<Order>;
|
|
915
|
+
static apiV1AssistantPersonasDestroy({ id, }: {
|
|
916
|
+
id: string;
|
|
917
|
+
}): CancelablePromise<void>;
|
|
711
918
|
/**
|
|
712
|
-
*
|
|
919
|
+
* GET /api/v1/assistant-team-bindings/?conversation_id=<uuid>&property_id=<id>?&expand=team,persona,media
|
|
920
|
+
* PUT /api/v1/assistant-team-bindings/ body: { conversation_id, team_id, active_persona_id?, property_id? }
|
|
921
|
+
* @returns any No response body
|
|
713
922
|
* @throws ApiError
|
|
714
923
|
*/
|
|
715
|
-
static
|
|
716
|
-
/**
|
|
717
|
-
* A unique integer value identifying this order.
|
|
718
|
-
*/
|
|
719
|
-
id: number;
|
|
720
|
-
}): CancelablePromise<void>;
|
|
924
|
+
static apiV1AssistantTeamBindingsRetrieve(): CancelablePromise<any>;
|
|
721
925
|
/**
|
|
722
|
-
*
|
|
926
|
+
* GET /api/v1/assistant-team-bindings/?conversation_id=<uuid>&property_id=<id>?&expand=team,persona,media
|
|
927
|
+
* PUT /api/v1/assistant-team-bindings/ body: { conversation_id, team_id, active_persona_id?, property_id? }
|
|
928
|
+
* @returns any No response body
|
|
723
929
|
* @throws ApiError
|
|
724
930
|
*/
|
|
725
|
-
static
|
|
931
|
+
static apiV1AssistantTeamBindingsUpdate(): CancelablePromise<any>;
|
|
726
932
|
/**
|
|
727
|
-
*
|
|
933
|
+
* GET/POST /api/v1/assistant-teams/
|
|
934
|
+
* GET/PATCH/DELETE /api/v1/assistant-teams/{id}/
|
|
935
|
+
* @returns AssistantTeamList
|
|
728
936
|
* @throws ApiError
|
|
729
937
|
*/
|
|
730
|
-
static
|
|
731
|
-
requestBody: Product;
|
|
732
|
-
}): CancelablePromise<Product>;
|
|
938
|
+
static apiV1AssistantTeamsList(): CancelablePromise<Array<AssistantTeamList>>;
|
|
733
939
|
/**
|
|
734
|
-
*
|
|
940
|
+
* GET/POST /api/v1/assistant-teams/
|
|
941
|
+
* GET/PATCH/DELETE /api/v1/assistant-teams/{id}/
|
|
942
|
+
* @returns AssistantTeam
|
|
735
943
|
* @throws ApiError
|
|
736
944
|
*/
|
|
737
|
-
static
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
*/
|
|
741
|
-
id: number;
|
|
742
|
-
}): CancelablePromise<Product>;
|
|
945
|
+
static apiV1AssistantTeamsCreate({ requestBody, }: {
|
|
946
|
+
requestBody: AssistantTeam;
|
|
947
|
+
}): CancelablePromise<AssistantTeam>;
|
|
743
948
|
/**
|
|
744
|
-
*
|
|
949
|
+
* GET/POST /api/v1/assistant-teams/
|
|
950
|
+
* GET/PATCH/DELETE /api/v1/assistant-teams/{id}/
|
|
951
|
+
* @returns AssistantTeam
|
|
745
952
|
* @throws ApiError
|
|
746
953
|
*/
|
|
747
|
-
static
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
*/
|
|
751
|
-
id: number;
|
|
752
|
-
requestBody: Product;
|
|
753
|
-
}): CancelablePromise<Product>;
|
|
954
|
+
static apiV1AssistantTeamsRetrieve({ id, }: {
|
|
955
|
+
id: string;
|
|
956
|
+
}): CancelablePromise<AssistantTeam>;
|
|
754
957
|
/**
|
|
755
|
-
*
|
|
958
|
+
* GET/POST /api/v1/assistant-teams/
|
|
959
|
+
* GET/PATCH/DELETE /api/v1/assistant-teams/{id}/
|
|
960
|
+
* @returns AssistantTeam
|
|
756
961
|
* @throws ApiError
|
|
757
962
|
*/
|
|
758
|
-
static
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
963
|
+
static apiV1AssistantTeamsUpdate({ id, requestBody, }: {
|
|
964
|
+
id: string;
|
|
965
|
+
requestBody: AssistantTeam;
|
|
966
|
+
}): CancelablePromise<AssistantTeam>;
|
|
967
|
+
/**
|
|
968
|
+
* GET/POST /api/v1/assistant-teams/
|
|
969
|
+
* GET/PATCH/DELETE /api/v1/assistant-teams/{id}/
|
|
970
|
+
* @returns AssistantTeam
|
|
971
|
+
* @throws ApiError
|
|
972
|
+
*/
|
|
973
|
+
static apiV1AssistantTeamsPartialUpdate({ id, requestBody, }: {
|
|
974
|
+
id: string;
|
|
975
|
+
requestBody?: PatchedAssistantTeam;
|
|
976
|
+
}): CancelablePromise<AssistantTeam>;
|
|
765
977
|
/**
|
|
978
|
+
* GET/POST /api/v1/assistant-teams/
|
|
979
|
+
* GET/PATCH/DELETE /api/v1/assistant-teams/{id}/
|
|
766
980
|
* @returns void
|
|
767
981
|
* @throws ApiError
|
|
768
982
|
*/
|
|
769
|
-
static
|
|
770
|
-
|
|
771
|
-
* A unique integer value identifying this product.
|
|
772
|
-
*/
|
|
773
|
-
id: number;
|
|
983
|
+
static apiV1AssistantTeamsDestroy({ id, }: {
|
|
984
|
+
id: string;
|
|
774
985
|
}): CancelablePromise<void>;
|
|
775
986
|
/**
|
|
776
|
-
*
|
|
777
|
-
* @returns
|
|
987
|
+
* POST /api/v1/assistant-teams/{id}/personas/
|
|
988
|
+
* @returns AssistantTeam
|
|
778
989
|
* @throws ApiError
|
|
779
990
|
*/
|
|
780
|
-
static
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
id: number;
|
|
785
|
-
requestBody: Product;
|
|
786
|
-
}): CancelablePromise<Product>;
|
|
991
|
+
static apiV1AssistantTeamsPersonasCreate({ id, requestBody, }: {
|
|
992
|
+
id: string;
|
|
993
|
+
requestBody: AssistantTeam;
|
|
994
|
+
}): CancelablePromise<AssistantTeam>;
|
|
787
995
|
/**
|
|
788
|
-
*
|
|
789
|
-
* @returns
|
|
996
|
+
* POST /api/v1/assistant-teams/{id}/personas/from-preset/ body: { preset_id }
|
|
997
|
+
* @returns AssistantTeam
|
|
790
998
|
* @throws ApiError
|
|
791
999
|
*/
|
|
792
|
-
static
|
|
793
|
-
|
|
794
|
-
|
|
1000
|
+
static apiV1AssistantTeamsPersonasFromPresetCreate({ id, requestBody, }: {
|
|
1001
|
+
id: string;
|
|
1002
|
+
requestBody: AssistantTeam;
|
|
1003
|
+
}): CancelablePromise<AssistantTeam>;
|
|
795
1004
|
/**
|
|
796
|
-
*
|
|
797
|
-
*
|
|
798
|
-
* Tenant-scoped: All queries occur within tenant schema.
|
|
799
|
-
* RBAC: Enforces concept_lab.session.* permissions.
|
|
800
|
-
* @returns ConceptLabSession
|
|
1005
|
+
* GET /api/v1/assistant-teams/presets/?property_id=...
|
|
1006
|
+
* @returns any No response body
|
|
801
1007
|
* @throws ApiError
|
|
802
1008
|
*/
|
|
803
|
-
static
|
|
1009
|
+
static apiV1AssistantTeamsPresetsRetrieve(): CancelablePromise<any>;
|
|
1010
|
+
/**
|
|
1011
|
+
* POST /api/v1/audio/generations/
|
|
1012
|
+
* @returns any No response body
|
|
1013
|
+
* @throws ApiError
|
|
1014
|
+
*/
|
|
1015
|
+
static apiV1AudioGenerationsCreate(): CancelablePromise<any>;
|
|
1016
|
+
/**
|
|
1017
|
+
* GET /api/v1/audio/generations/{id}/
|
|
1018
|
+
* @returns any No response body
|
|
1019
|
+
* @throws ApiError
|
|
1020
|
+
*/
|
|
1021
|
+
static apiV1AudioGenerationsRetrieve({ id, }: {
|
|
1022
|
+
id: string;
|
|
1023
|
+
}): CancelablePromise<any>;
|
|
1024
|
+
/**
|
|
1025
|
+
* POST /api/v1/audio/generations/{id}/regenerate/
|
|
1026
|
+
* @returns any No response body
|
|
1027
|
+
* @throws ApiError
|
|
1028
|
+
*/
|
|
1029
|
+
static apiV1AudioGenerationsRegenerateCreate({ id, }: {
|
|
1030
|
+
id: string;
|
|
1031
|
+
}): CancelablePromise<any>;
|
|
1032
|
+
/**
|
|
1033
|
+
* @returns any No response body
|
|
1034
|
+
* @throws ApiError
|
|
1035
|
+
*/
|
|
1036
|
+
static apiV1AuthBootstrapCreate(): CancelablePromise<any>;
|
|
1037
|
+
/**
|
|
1038
|
+
* Change password for authenticated user.
|
|
1039
|
+
* @returns any No response body
|
|
1040
|
+
* @throws ApiError
|
|
1041
|
+
*/
|
|
1042
|
+
static apiV1AuthChangePasswordCreate(): CancelablePromise<any>;
|
|
1043
|
+
/**
|
|
1044
|
+
* Idempotent enrollment: get_or_create user, ensure tenant membership and property enrollment, return tokens.
|
|
1045
|
+
* @returns any No response body
|
|
1046
|
+
* @throws ApiError
|
|
1047
|
+
*/
|
|
1048
|
+
static apiV1AuthEnrollCreate(): CancelablePromise<any>;
|
|
1049
|
+
/**
|
|
1050
|
+
* @returns any No response body
|
|
1051
|
+
* @throws ApiError
|
|
1052
|
+
*/
|
|
1053
|
+
static apiV1AuthInviteCreate(): CancelablePromise<any>;
|
|
1054
|
+
/**
|
|
1055
|
+
* @returns any No response body
|
|
1056
|
+
* @throws ApiError
|
|
1057
|
+
*/
|
|
1058
|
+
static apiV1AuthInviteAcceptCreate(): CancelablePromise<any>;
|
|
1059
|
+
/**
|
|
1060
|
+
* @returns any No response body
|
|
1061
|
+
* @throws ApiError
|
|
1062
|
+
*/
|
|
1063
|
+
static apiV1AuthLoginCreate(): CancelablePromise<any>;
|
|
1064
|
+
/**
|
|
1065
|
+
* @returns any No response body
|
|
1066
|
+
* @throws ApiError
|
|
1067
|
+
*/
|
|
1068
|
+
static apiV1AuthLoginCreate2(): CancelablePromise<any>;
|
|
1069
|
+
/**
|
|
1070
|
+
* @returns any No response body
|
|
1071
|
+
* @throws ApiError
|
|
1072
|
+
*/
|
|
1073
|
+
static apiV1AuthLogoutCreate(): CancelablePromise<any>;
|
|
1074
|
+
/**
|
|
1075
|
+
* @returns any No response body
|
|
1076
|
+
* @throws ApiError
|
|
1077
|
+
*/
|
|
1078
|
+
static apiV1AuthLogoutCreate2(): CancelablePromise<any>;
|
|
1079
|
+
/**
|
|
1080
|
+
* Get comprehensive user profile with tenant-contextual RBAC resolution.
|
|
1081
|
+
*
|
|
1082
|
+
* NOTE: /api/v1/auth/me/ is tenant-contextual, not a pure-public auth endpoint.
|
|
1083
|
+
* - User lookup happens in PUBLIC schema (core_user lives in public)
|
|
1084
|
+
* - RBAC resolution happens in TENANT schema (tenant context set by middleware)
|
|
1085
|
+
* - Schema is explicitly managed to prevent leakage
|
|
1086
|
+
*
|
|
1087
|
+
* Returns a stable response shape that never omits top-level keys.
|
|
1088
|
+
* @returns any No response body
|
|
1089
|
+
* @throws ApiError
|
|
1090
|
+
*/
|
|
1091
|
+
static apiV1AuthMeRetrieve(): CancelablePromise<any>;
|
|
1092
|
+
/**
|
|
1093
|
+
* Update current user profile.
|
|
1094
|
+
* @returns any No response body
|
|
1095
|
+
* @throws ApiError
|
|
1096
|
+
*/
|
|
1097
|
+
static apiV1AuthMePartialUpdate(): CancelablePromise<any>;
|
|
1098
|
+
/**
|
|
1099
|
+
* @returns any No response body
|
|
1100
|
+
* @throws ApiError
|
|
1101
|
+
*/
|
|
1102
|
+
static apiV1AuthPasswordResetConfirmCreate(): CancelablePromise<any>;
|
|
1103
|
+
/**
|
|
1104
|
+
* @returns any No response body
|
|
1105
|
+
* @throws ApiError
|
|
1106
|
+
*/
|
|
1107
|
+
static apiV1AuthPasswordResetRequestCreate(): CancelablePromise<any>;
|
|
1108
|
+
/**
|
|
1109
|
+
* @returns any No response body
|
|
1110
|
+
* @throws ApiError
|
|
1111
|
+
*/
|
|
1112
|
+
static apiV1AuthPasswordResetCreate(): CancelablePromise<any>;
|
|
1113
|
+
/**
|
|
1114
|
+
* @returns any No response body
|
|
1115
|
+
* @throws ApiError
|
|
1116
|
+
*/
|
|
1117
|
+
static apiV1AuthPasswordResetConfirmCreate2(): CancelablePromise<any>;
|
|
1118
|
+
/**
|
|
1119
|
+
* @returns any No response body
|
|
1120
|
+
* @throws ApiError
|
|
1121
|
+
*/
|
|
1122
|
+
static apiV1AuthRefreshCreate(): CancelablePromise<any>;
|
|
1123
|
+
/**
|
|
1124
|
+
* @returns any No response body
|
|
1125
|
+
* @throws ApiError
|
|
1126
|
+
*/
|
|
1127
|
+
static apiV1AuthRefreshCreate2(): CancelablePromise<any>;
|
|
1128
|
+
/**
|
|
1129
|
+
* @returns any No response body
|
|
1130
|
+
* @throws ApiError
|
|
1131
|
+
*/
|
|
1132
|
+
static apiV1AuthRegisterCreate(): CancelablePromise<any>;
|
|
1133
|
+
/**
|
|
1134
|
+
* @returns any No response body
|
|
1135
|
+
* @throws ApiError
|
|
1136
|
+
*/
|
|
1137
|
+
static apiV1AuthSsoExchangeCreate(): CancelablePromise<any>;
|
|
1138
|
+
/**
|
|
1139
|
+
* @returns any No response body
|
|
1140
|
+
* @throws ApiError
|
|
1141
|
+
*/
|
|
1142
|
+
static apiV1AuthSsoInitiateCreate(): CancelablePromise<any>;
|
|
1143
|
+
/**
|
|
1144
|
+
* @returns any No response body
|
|
1145
|
+
* @throws ApiError
|
|
1146
|
+
*/
|
|
1147
|
+
static apiV1AuthSwitchCreate(): CancelablePromise<any>;
|
|
1148
|
+
/**
|
|
1149
|
+
* POST /api/v1/behavior/orbit-event/
|
|
1150
|
+
*
|
|
1151
|
+
* Create a single orbit event. Tenant- and property-scoped; optional user.
|
|
1152
|
+
* @returns any No response body
|
|
1153
|
+
* @throws ApiError
|
|
1154
|
+
*/
|
|
1155
|
+
static apiV1BehaviorOrbitEventCreate(): CancelablePromise<any>;
|
|
1156
|
+
/**
|
|
1157
|
+
* GET /api/v1/behavior/steering-hints/
|
|
1158
|
+
*
|
|
1159
|
+
* Return deterministic steering hints from aggregates (BehaviorProfile / PathOutcome).
|
|
1160
|
+
* MVP: may return empty or minimal hints; later derived from path outcomes and habit scores.
|
|
1161
|
+
* @returns any No response body
|
|
1162
|
+
* @throws ApiError
|
|
1163
|
+
*/
|
|
1164
|
+
static apiV1BehaviorSteeringHintsRetrieve(): CancelablePromise<any>;
|
|
1165
|
+
/**
|
|
1166
|
+
* POST /api/v1/chat/constellation-development
|
|
1167
|
+
*
|
|
1168
|
+
* Creates a new conversation with an auto-generated opening message so the user
|
|
1169
|
+
* never sees a blank chat. Used when the user chooses "Develop in Chat" from
|
|
1170
|
+
* a constellation awakening. Chat remains optional; users can keep exploring
|
|
1171
|
+
* without entering chat.
|
|
1172
|
+
* @returns any No response body
|
|
1173
|
+
* @throws ApiError
|
|
1174
|
+
*/
|
|
1175
|
+
static apiV1ChatConstellationDevelopmentCreate(): CancelablePromise<any>;
|
|
1176
|
+
/**
|
|
1177
|
+
* @returns Order
|
|
1178
|
+
* @throws ApiError
|
|
1179
|
+
*/
|
|
1180
|
+
static apiV1CommerceOrdersList(): CancelablePromise<Array<Order>>;
|
|
1181
|
+
/**
|
|
1182
|
+
* @returns Order
|
|
1183
|
+
* @throws ApiError
|
|
1184
|
+
*/
|
|
1185
|
+
static apiV1CommerceOrdersCreate({ requestBody, }: {
|
|
1186
|
+
requestBody: Order;
|
|
1187
|
+
}): CancelablePromise<Order>;
|
|
1188
|
+
/**
|
|
1189
|
+
* @returns Order
|
|
1190
|
+
* @throws ApiError
|
|
1191
|
+
*/
|
|
1192
|
+
static apiV1CommerceOrdersRetrieve({ id, }: {
|
|
1193
|
+
/**
|
|
1194
|
+
* A unique integer value identifying this order.
|
|
1195
|
+
*/
|
|
1196
|
+
id: number;
|
|
1197
|
+
}): CancelablePromise<Order>;
|
|
1198
|
+
/**
|
|
1199
|
+
* @returns Order
|
|
1200
|
+
* @throws ApiError
|
|
1201
|
+
*/
|
|
1202
|
+
static apiV1CommerceOrdersUpdate({ id, requestBody, }: {
|
|
1203
|
+
/**
|
|
1204
|
+
* A unique integer value identifying this order.
|
|
1205
|
+
*/
|
|
1206
|
+
id: number;
|
|
1207
|
+
requestBody: Order;
|
|
1208
|
+
}): CancelablePromise<Order>;
|
|
1209
|
+
/**
|
|
1210
|
+
* @returns Order
|
|
1211
|
+
* @throws ApiError
|
|
1212
|
+
*/
|
|
1213
|
+
static apiV1CommerceOrdersPartialUpdate({ id, requestBody, }: {
|
|
1214
|
+
/**
|
|
1215
|
+
* A unique integer value identifying this order.
|
|
1216
|
+
*/
|
|
1217
|
+
id: number;
|
|
1218
|
+
requestBody?: PatchedOrder;
|
|
1219
|
+
}): CancelablePromise<Order>;
|
|
1220
|
+
/**
|
|
1221
|
+
* @returns void
|
|
1222
|
+
* @throws ApiError
|
|
1223
|
+
*/
|
|
1224
|
+
static apiV1CommerceOrdersDestroy({ id, }: {
|
|
1225
|
+
/**
|
|
1226
|
+
* A unique integer value identifying this order.
|
|
1227
|
+
*/
|
|
1228
|
+
id: number;
|
|
1229
|
+
}): CancelablePromise<void>;
|
|
1230
|
+
/**
|
|
1231
|
+
* @returns Product
|
|
1232
|
+
* @throws ApiError
|
|
1233
|
+
*/
|
|
1234
|
+
static apiV1CommerceProductsList(): CancelablePromise<Array<Product>>;
|
|
1235
|
+
/**
|
|
1236
|
+
* @returns Product
|
|
1237
|
+
* @throws ApiError
|
|
1238
|
+
*/
|
|
1239
|
+
static apiV1CommerceProductsCreate({ requestBody, }: {
|
|
1240
|
+
requestBody: Product;
|
|
1241
|
+
}): CancelablePromise<Product>;
|
|
1242
|
+
/**
|
|
1243
|
+
* @returns Product
|
|
1244
|
+
* @throws ApiError
|
|
1245
|
+
*/
|
|
1246
|
+
static apiV1CommerceProductsRetrieve({ id, }: {
|
|
1247
|
+
/**
|
|
1248
|
+
* A unique integer value identifying this product.
|
|
1249
|
+
*/
|
|
1250
|
+
id: number;
|
|
1251
|
+
}): CancelablePromise<Product>;
|
|
1252
|
+
/**
|
|
1253
|
+
* @returns Product
|
|
1254
|
+
* @throws ApiError
|
|
1255
|
+
*/
|
|
1256
|
+
static apiV1CommerceProductsUpdate({ id, requestBody, }: {
|
|
1257
|
+
/**
|
|
1258
|
+
* A unique integer value identifying this product.
|
|
1259
|
+
*/
|
|
1260
|
+
id: number;
|
|
1261
|
+
requestBody: Product;
|
|
1262
|
+
}): CancelablePromise<Product>;
|
|
1263
|
+
/**
|
|
1264
|
+
* @returns Product
|
|
1265
|
+
* @throws ApiError
|
|
1266
|
+
*/
|
|
1267
|
+
static apiV1CommerceProductsPartialUpdate({ id, requestBody, }: {
|
|
1268
|
+
/**
|
|
1269
|
+
* A unique integer value identifying this product.
|
|
1270
|
+
*/
|
|
1271
|
+
id: number;
|
|
1272
|
+
requestBody?: PatchedProduct;
|
|
1273
|
+
}): CancelablePromise<Product>;
|
|
1274
|
+
/**
|
|
1275
|
+
* @returns void
|
|
1276
|
+
* @throws ApiError
|
|
1277
|
+
*/
|
|
1278
|
+
static apiV1CommerceProductsDestroy({ id, }: {
|
|
1279
|
+
/**
|
|
1280
|
+
* A unique integer value identifying this product.
|
|
1281
|
+
*/
|
|
1282
|
+
id: number;
|
|
1283
|
+
}): CancelablePromise<void>;
|
|
1284
|
+
/**
|
|
1285
|
+
* Sync this product to Sanity.
|
|
1286
|
+
* @returns Product
|
|
1287
|
+
* @throws ApiError
|
|
1288
|
+
*/
|
|
1289
|
+
static apiV1CommerceProductsSyncToSanityCreate({ id, requestBody, }: {
|
|
1290
|
+
/**
|
|
1291
|
+
* A unique integer value identifying this product.
|
|
1292
|
+
*/
|
|
1293
|
+
id: number;
|
|
1294
|
+
requestBody: Product;
|
|
1295
|
+
}): CancelablePromise<Product>;
|
|
1296
|
+
/**
|
|
1297
|
+
* Sync all products for the current property to Sanity.
|
|
1298
|
+
* @returns Product
|
|
1299
|
+
* @throws ApiError
|
|
1300
|
+
*/
|
|
1301
|
+
static apiV1CommerceProductsSyncAllToSanityCreate({ requestBody, }: {
|
|
1302
|
+
requestBody: Product;
|
|
1303
|
+
}): CancelablePromise<Product>;
|
|
1304
|
+
/**
|
|
1305
|
+
* ViewSet for ConceptLabSession.
|
|
1306
|
+
*
|
|
1307
|
+
* Tenant-scoped: All queries occur within tenant schema.
|
|
1308
|
+
* RBAC: Enforces concept_lab.session.* permissions.
|
|
1309
|
+
* @returns ConceptLabSession
|
|
1310
|
+
* @throws ApiError
|
|
1311
|
+
*/
|
|
1312
|
+
static apiV1ConceptLabSessionsList(): CancelablePromise<Array<ConceptLabSession>>;
|
|
804
1313
|
/**
|
|
805
1314
|
* ViewSet for ConceptLabSession.
|
|
806
1315
|
*
|
|
@@ -915,6 +1424,150 @@ export declare class ApiService {
|
|
|
915
1424
|
id: string;
|
|
916
1425
|
requestBody?: PatchedConceptLabSession;
|
|
917
1426
|
}): CancelablePromise<ConceptLabSession>;
|
|
1427
|
+
/**
|
|
1428
|
+
* POST-only endpoint for constellation behavior events.
|
|
1429
|
+
* Accepts event_type, session_id, optional related_atom_ids, related_cluster_id, metadata.
|
|
1430
|
+
* user_id is set from request.user when authenticated.
|
|
1431
|
+
* After saving, runs pattern detection on recent session events and stores results.
|
|
1432
|
+
* @returns ConstellationEvent
|
|
1433
|
+
* @throws ApiError
|
|
1434
|
+
*/
|
|
1435
|
+
static apiV1ConstellationEventsCreate({ requestBody, }: {
|
|
1436
|
+
requestBody: ConstellationEvent;
|
|
1437
|
+
}): CancelablePromise<ConstellationEvent>;
|
|
1438
|
+
/**
|
|
1439
|
+
* GET /api/v1/constellation/latent-atoms
|
|
1440
|
+
*
|
|
1441
|
+
* Returns candidate ghost atoms for a cluster or sketch. Query params:
|
|
1442
|
+
* - session_id (required)
|
|
1443
|
+
* - cluster_id (optional): scope suggestions to this cluster
|
|
1444
|
+
*
|
|
1445
|
+
* Max 3 suggestions per cluster; confidence threshold applied. Chord suggestions
|
|
1446
|
+
* use music theory only; lyric expansion may use LLM with minimal context.
|
|
1447
|
+
* @returns any No response body
|
|
1448
|
+
* @throws ApiError
|
|
1449
|
+
*/
|
|
1450
|
+
static apiV1ConstellationLatentAtomsRetrieve(): CancelablePromise<any>;
|
|
1451
|
+
/**
|
|
1452
|
+
* GET list of AgentSuggestions for a session (constellation awakening UI).
|
|
1453
|
+
* Query params: session_id (required). Returns latest 5, read-only.
|
|
1454
|
+
* @returns any No response body
|
|
1455
|
+
* @throws ApiError
|
|
1456
|
+
*/
|
|
1457
|
+
static apiV1ConstellationSuggestionsRetrieve(): CancelablePromise<any>;
|
|
1458
|
+
/**
|
|
1459
|
+
* GET/POST /api/v1/conversations/ (canonical) or /api/v1/studioops/conversations/ (deprecated).
|
|
1460
|
+
* List or create conversations. Cursor pagination: limit, cursor (optional).
|
|
1461
|
+
* @returns any No response body
|
|
1462
|
+
* @throws ApiError
|
|
1463
|
+
*/
|
|
1464
|
+
static apiV1ConversationsRetrieve(): CancelablePromise<any>;
|
|
1465
|
+
/**
|
|
1466
|
+
* GET/POST /api/v1/conversations/ (canonical) or /api/v1/studioops/conversations/ (deprecated).
|
|
1467
|
+
* List or create conversations. Cursor pagination: limit, cursor (optional).
|
|
1468
|
+
* @returns any No response body
|
|
1469
|
+
* @throws ApiError
|
|
1470
|
+
*/
|
|
1471
|
+
static apiV1ConversationsCreate(): CancelablePromise<any>;
|
|
1472
|
+
/**
|
|
1473
|
+
* GET/PATCH /api/v1/conversations/{id}/ (canonical) or .../studioops/conversations/{id}/ (deprecated).
|
|
1474
|
+
* Returns 404 if conversation not owned by effective user in active property.
|
|
1475
|
+
* @returns any No response body
|
|
1476
|
+
* @throws ApiError
|
|
1477
|
+
*/
|
|
1478
|
+
static apiV1ConversationsRetrieve2({ id, }: {
|
|
1479
|
+
id: string;
|
|
1480
|
+
}): CancelablePromise<any>;
|
|
1481
|
+
/**
|
|
1482
|
+
* PATCH /api/v1/studioops/conversations/{id}/
|
|
1483
|
+
* Update title and/or metadata only. Property, created_by, cluster_id are immutable.
|
|
1484
|
+
* Returns 404 if conversation not owned by effective user in active property.
|
|
1485
|
+
* @returns any No response body
|
|
1486
|
+
* @throws ApiError
|
|
1487
|
+
*/
|
|
1488
|
+
static apiV1ConversationsPartialUpdate({ id, }: {
|
|
1489
|
+
id: string;
|
|
1490
|
+
}): CancelablePromise<any>;
|
|
1491
|
+
/**
|
|
1492
|
+
* GET/POST /api/v1/conversations/{id}/messages/ (canonical) or .../studioops/... (deprecated).
|
|
1493
|
+
* Security: conversation is resolved first with property+user scope (and feature-flag check).
|
|
1494
|
+
* If not found (other user's conversation or invalid id): 404. Never return an empty list
|
|
1495
|
+
* for a non-owned conversation to avoid leaking existence.
|
|
1496
|
+
* @returns any No response body
|
|
1497
|
+
* @throws ApiError
|
|
1498
|
+
*/
|
|
1499
|
+
static apiV1ConversationsMessagesRetrieve({ id, }: {
|
|
1500
|
+
id: string;
|
|
1501
|
+
}): CancelablePromise<any>;
|
|
1502
|
+
/**
|
|
1503
|
+
* GET/POST /api/v1/conversations/{id}/messages/ (canonical) or .../studioops/... (deprecated).
|
|
1504
|
+
* Security: conversation is resolved first with property+user scope (and feature-flag check).
|
|
1505
|
+
* If not found (other user's conversation or invalid id): 404. Never return an empty list
|
|
1506
|
+
* for a non-owned conversation to avoid leaking existence.
|
|
1507
|
+
* @returns any No response body
|
|
1508
|
+
* @throws ApiError
|
|
1509
|
+
*/
|
|
1510
|
+
static apiV1ConversationsMessagesCreate({ id, }: {
|
|
1511
|
+
id: string;
|
|
1512
|
+
}): CancelablePromise<any>;
|
|
1513
|
+
/**
|
|
1514
|
+
* DELETE /api/v1/conversations/{id}/messages/{message_id}/ (canonical) or .../studioops/... (deprecated).
|
|
1515
|
+
* Soft-delete a message (iOS-style). Sets deleted_at and optionally deleted_by.
|
|
1516
|
+
* 404 if message not in conversation/property/tenant scope. Returns 204 No Content.
|
|
1517
|
+
* @returns void
|
|
1518
|
+
* @throws ApiError
|
|
1519
|
+
*/
|
|
1520
|
+
static apiV1ConversationsMessagesDestroy({ id, messageId, }: {
|
|
1521
|
+
id: string;
|
|
1522
|
+
messageId: string;
|
|
1523
|
+
}): CancelablePromise<void>;
|
|
1524
|
+
/**
|
|
1525
|
+
* POST /api/v1/conversations/{id}/messages/{message_id}/render-audio/ (canonical) or .../studioops/... (deprecated).
|
|
1526
|
+
* Resolve conversation + message via property + user scoping. 404 if not owned or flag disabled.
|
|
1527
|
+
* Sets audio.status = "queued" and enqueues voice rendering task. Optional ?force=1 to regenerate.
|
|
1528
|
+
* Returns 202 Accepted with updated message.
|
|
1529
|
+
* @returns any No response body
|
|
1530
|
+
* @throws ApiError
|
|
1531
|
+
*/
|
|
1532
|
+
static apiV1ConversationsMessagesRenderAudioCreate({ id, messageId, }: {
|
|
1533
|
+
id: string;
|
|
1534
|
+
messageId: string;
|
|
1535
|
+
}): CancelablePromise<any>;
|
|
1536
|
+
/**
|
|
1537
|
+
* Read-only constellation query: given a focused node (CreativeAssetLink id), return
|
|
1538
|
+
* ranked related owned nodes and reference atoms with score bands and reasons.
|
|
1539
|
+
*
|
|
1540
|
+
* GET /api/v1/creative-graph/constellations/{node_id}/?mode=develop|stranger
|
|
1541
|
+
* Query: mode (optional, default develop).
|
|
1542
|
+
* Response (200): ConstellationQueryResult (focused_node, related_owned_nodes,
|
|
1543
|
+
* related_reference_atoms, edges with score/band/reasons, mode, optional summary).
|
|
1544
|
+
*
|
|
1545
|
+
* Tenant-aware (X-Tenant); property-aware (X-Property or property context required).
|
|
1546
|
+
* Does not replace existing StudioOps artifact or chat APIs.
|
|
1547
|
+
* @returns any No response body
|
|
1548
|
+
* @throws ApiError
|
|
1549
|
+
*/
|
|
1550
|
+
static apiV1CreativeGraphConstellationsRetrieve({ nodeId, }: {
|
|
1551
|
+
nodeId: string;
|
|
1552
|
+
}): CancelablePromise<any>;
|
|
1553
|
+
/**
|
|
1554
|
+
* POST /api/v1/creative/team_review/
|
|
1555
|
+
*
|
|
1556
|
+
* Creates a Creative Team Review report. Requires webmcp_tools_enabled.
|
|
1557
|
+
* @returns any No response body
|
|
1558
|
+
* @throws ApiError
|
|
1559
|
+
*/
|
|
1560
|
+
static apiV1CreativeTeamReviewCreate(): CancelablePromise<any>;
|
|
1561
|
+
/**
|
|
1562
|
+
* GET /api/v1/creative/team_review/{id}/
|
|
1563
|
+
*
|
|
1564
|
+
* Returns a stored Creative Team Review report by ID.
|
|
1565
|
+
* @returns any No response body
|
|
1566
|
+
* @throws ApiError
|
|
1567
|
+
*/
|
|
1568
|
+
static apiV1CreativeTeamReviewRetrieve({ reportId, }: {
|
|
1569
|
+
reportId: string;
|
|
1570
|
+
}): CancelablePromise<any>;
|
|
918
1571
|
/**
|
|
919
1572
|
* ViewSet for CRM Accounts (crm-accounts-v1).
|
|
920
1573
|
*
|
|
@@ -1320,6 +1973,14 @@ export declare class ApiService {
|
|
|
1320
1973
|
static apiV1CrmPeopleTimelineRetrieve({ id, }: {
|
|
1321
1974
|
id: number;
|
|
1322
1975
|
}): CancelablePromise<PeopleList>;
|
|
1976
|
+
/**
|
|
1977
|
+
* GET /api/v1/debug/api-key-check/
|
|
1978
|
+
* Debug-only: returns whether the request's Bearer token is a recognized API key.
|
|
1979
|
+
* Gated by DEBUG or API_AUTH_DEBUG=1. Does NOT return the key or any DB ids.
|
|
1980
|
+
* @returns any No response body
|
|
1981
|
+
* @throws ApiError
|
|
1982
|
+
*/
|
|
1983
|
+
static apiV1DebugApiKeyCheckRetrieve(): CancelablePromise<any>;
|
|
1323
1984
|
/**
|
|
1324
1985
|
* ViewSet for managing Design Artifacts.
|
|
1325
1986
|
* @returns DesignArtifact
|
|
@@ -2308,6 +2969,33 @@ export declare class ApiService {
|
|
|
2308
2969
|
id: number;
|
|
2309
2970
|
requestBody: Campaign;
|
|
2310
2971
|
}): CancelablePromise<Campaign>;
|
|
2972
|
+
/**
|
|
2973
|
+
* GET/PUT Campaign media keyword fields.
|
|
2974
|
+
* GET returns media_keywords, media_negative_keywords, media_style_keywords.
|
|
2975
|
+
* PUT accepts same fields and merges into campaign.metadata.
|
|
2976
|
+
* @returns Campaign
|
|
2977
|
+
* @throws ApiError
|
|
2978
|
+
*/
|
|
2979
|
+
static apiV1EditorialCampaignsMediaKeywordsRetrieve({ id, }: {
|
|
2980
|
+
/**
|
|
2981
|
+
* A unique integer value identifying this campaign.
|
|
2982
|
+
*/
|
|
2983
|
+
id: number;
|
|
2984
|
+
}): CancelablePromise<Campaign>;
|
|
2985
|
+
/**
|
|
2986
|
+
* GET/PUT Campaign media keyword fields.
|
|
2987
|
+
* GET returns media_keywords, media_negative_keywords, media_style_keywords.
|
|
2988
|
+
* PUT accepts same fields and merges into campaign.metadata.
|
|
2989
|
+
* @returns Campaign
|
|
2990
|
+
* @throws ApiError
|
|
2991
|
+
*/
|
|
2992
|
+
static apiV1EditorialCampaignsMediaKeywordsUpdate({ id, requestBody, }: {
|
|
2993
|
+
/**
|
|
2994
|
+
* A unique integer value identifying this campaign.
|
|
2995
|
+
*/
|
|
2996
|
+
id: number;
|
|
2997
|
+
requestBody: Campaign;
|
|
2998
|
+
}): CancelablePromise<Campaign>;
|
|
2311
2999
|
/**
|
|
2312
3000
|
* Remove assets from a campaign.
|
|
2313
3001
|
* @returns Campaign
|
|
@@ -2495,148 +3183,254 @@ export declare class ApiService {
|
|
|
2495
3183
|
* @returns Channel
|
|
2496
3184
|
* @throws ApiError
|
|
2497
3185
|
*/
|
|
2498
|
-
static apiV1EditorialChannelsPartialUpdate({ id, requestBody, }: {
|
|
3186
|
+
static apiV1EditorialChannelsPartialUpdate({ id, requestBody, }: {
|
|
3187
|
+
/**
|
|
3188
|
+
* A unique integer value identifying this channel.
|
|
3189
|
+
*/
|
|
3190
|
+
id: number;
|
|
3191
|
+
requestBody?: PatchedChannel;
|
|
3192
|
+
}): CancelablePromise<Channel>;
|
|
3193
|
+
/**
|
|
3194
|
+
* Base ModelViewSet for tenant-scoped models.
|
|
3195
|
+
*
|
|
3196
|
+
* This ViewSet ensures that:
|
|
3197
|
+
* 1. request.tenant exists
|
|
3198
|
+
* 2. connection.schema_name matches tenant.schema_name before any queryset evaluation
|
|
3199
|
+
*
|
|
3200
|
+
* Use this for all viewsets that query tenant-scoped models:
|
|
3201
|
+
* - CRM models (TenantContact, etc.)
|
|
3202
|
+
* - Editorial models (ContentAsset, etc.)
|
|
3203
|
+
* - Integrations models (Integration, etc.)
|
|
3204
|
+
* - Org models (Property, etc.)
|
|
3205
|
+
*
|
|
3206
|
+
* Example:
|
|
3207
|
+
* class TenantContactViewSet(TenantModelViewSet):
|
|
3208
|
+
* queryset = TenantContact.objects.all()
|
|
3209
|
+
* serializer_class = TenantContactSerializer
|
|
3210
|
+
* @returns void
|
|
3211
|
+
* @throws ApiError
|
|
3212
|
+
*/
|
|
3213
|
+
static apiV1EditorialChannelsDestroy({ id, }: {
|
|
3214
|
+
/**
|
|
3215
|
+
* A unique integer value identifying this channel.
|
|
3216
|
+
*/
|
|
3217
|
+
id: number;
|
|
3218
|
+
}): CancelablePromise<void>;
|
|
3219
|
+
/**
|
|
3220
|
+
* Return integration availability per channel type for a property.
|
|
3221
|
+
*
|
|
3222
|
+
* Uses the SSOT resolver; same logic as publish/export. Query param: property=<id>.
|
|
3223
|
+
* @returns Channel
|
|
3224
|
+
* @throws ApiError
|
|
3225
|
+
*/
|
|
3226
|
+
static apiV1EditorialChannelsIntegrationStatusRetrieve(): CancelablePromise<Channel>;
|
|
3227
|
+
/**
|
|
3228
|
+
* Link an Integration to a channel. Creates Channel if missing.
|
|
3229
|
+
*
|
|
3230
|
+
* Body: { "property": <id>, "platform": "sanity"|"klaviyo"|"instagram"|..., "integration_id": <id> }
|
|
3231
|
+
* @returns Channel
|
|
3232
|
+
* @throws ApiError
|
|
3233
|
+
*/
|
|
3234
|
+
static apiV1EditorialChannelsLinkIntegrationCreate({ requestBody, }: {
|
|
3235
|
+
requestBody: Channel;
|
|
3236
|
+
}): CancelablePromise<Channel>;
|
|
3237
|
+
/**
|
|
3238
|
+
* Mixin for ContentUnitViewSet to add delegated scheduling actions.
|
|
3239
|
+
* @returns ContentUnit
|
|
3240
|
+
* @throws ApiError
|
|
3241
|
+
*/
|
|
3242
|
+
static apiV1EditorialContentUnitsList(): CancelablePromise<Array<ContentUnit>>;
|
|
3243
|
+
/**
|
|
3244
|
+
* Mixin for ContentUnitViewSet to add delegated scheduling actions.
|
|
3245
|
+
* @returns ContentUnit
|
|
3246
|
+
* @throws ApiError
|
|
3247
|
+
*/
|
|
3248
|
+
static apiV1EditorialContentUnitsCreate({ requestBody, }: {
|
|
3249
|
+
requestBody: ContentUnit;
|
|
3250
|
+
}): CancelablePromise<ContentUnit>;
|
|
3251
|
+
/**
|
|
3252
|
+
* Mixin for ContentUnitViewSet to add delegated scheduling actions.
|
|
3253
|
+
* @returns ContentUnit
|
|
3254
|
+
* @throws ApiError
|
|
3255
|
+
*/
|
|
3256
|
+
static apiV1EditorialContentUnitsRetrieve({ id, }: {
|
|
3257
|
+
/**
|
|
3258
|
+
* A unique integer value identifying this content unit.
|
|
3259
|
+
*/
|
|
3260
|
+
id: number;
|
|
3261
|
+
}): CancelablePromise<ContentUnit>;
|
|
3262
|
+
/**
|
|
3263
|
+
* Mixin for ContentUnitViewSet to add delegated scheduling actions.
|
|
3264
|
+
* @returns ContentUnit
|
|
3265
|
+
* @throws ApiError
|
|
3266
|
+
*/
|
|
3267
|
+
static apiV1EditorialContentUnitsUpdate({ id, requestBody, }: {
|
|
3268
|
+
/**
|
|
3269
|
+
* A unique integer value identifying this content unit.
|
|
3270
|
+
*/
|
|
3271
|
+
id: number;
|
|
3272
|
+
requestBody: ContentUnit;
|
|
3273
|
+
}): CancelablePromise<ContentUnit>;
|
|
3274
|
+
/**
|
|
3275
|
+
* Mixin for ContentUnitViewSet to add delegated scheduling actions.
|
|
3276
|
+
* @returns ContentUnit
|
|
3277
|
+
* @throws ApiError
|
|
3278
|
+
*/
|
|
3279
|
+
static apiV1EditorialContentUnitsPartialUpdate({ id, requestBody, }: {
|
|
3280
|
+
/**
|
|
3281
|
+
* A unique integer value identifying this content unit.
|
|
3282
|
+
*/
|
|
3283
|
+
id: number;
|
|
3284
|
+
requestBody?: PatchedContentUnit;
|
|
3285
|
+
}): CancelablePromise<ContentUnit>;
|
|
3286
|
+
/**
|
|
3287
|
+
* Mixin for ContentUnitViewSet to add delegated scheduling actions.
|
|
3288
|
+
* @returns void
|
|
3289
|
+
* @throws ApiError
|
|
3290
|
+
*/
|
|
3291
|
+
static apiV1EditorialContentUnitsDestroy({ id, }: {
|
|
3292
|
+
/**
|
|
3293
|
+
* A unique integer value identifying this content unit.
|
|
3294
|
+
*/
|
|
3295
|
+
id: number;
|
|
3296
|
+
}): CancelablePromise<void>;
|
|
3297
|
+
/**
|
|
3298
|
+
* Get delivery status and destination ids for a content unit.
|
|
3299
|
+
* GET /api/v1/editorial/content-units/{id}/delivery-status/
|
|
3300
|
+
* Optional query: ?channel_type=instagram
|
|
3301
|
+
* @returns ContentUnit
|
|
3302
|
+
* @throws ApiError
|
|
3303
|
+
*/
|
|
3304
|
+
static apiV1EditorialContentUnitsDeliveryStatusRetrieve({ id, }: {
|
|
3305
|
+
/**
|
|
3306
|
+
* A unique integer value identifying this content unit.
|
|
3307
|
+
*/
|
|
3308
|
+
id: number;
|
|
3309
|
+
}): CancelablePromise<ContentUnit>;
|
|
3310
|
+
/**
|
|
3311
|
+
* GET computed effective keywords for this content unit.
|
|
3312
|
+
* Returns effective_keywords, effective_negative_keywords, and last_fetch (from most recent MediaFetchRun).
|
|
3313
|
+
* @returns ContentUnit
|
|
3314
|
+
* @throws ApiError
|
|
3315
|
+
*/
|
|
3316
|
+
static apiV1EditorialContentUnitsEffectiveMediaKeywordsRetrieve({ id, }: {
|
|
2499
3317
|
/**
|
|
2500
|
-
* A unique integer value identifying this
|
|
3318
|
+
* A unique integer value identifying this content unit.
|
|
2501
3319
|
*/
|
|
2502
3320
|
id: number;
|
|
2503
|
-
|
|
2504
|
-
}): CancelablePromise<Channel>;
|
|
3321
|
+
}): CancelablePromise<ContentUnit>;
|
|
2505
3322
|
/**
|
|
2506
|
-
*
|
|
2507
|
-
*
|
|
2508
|
-
* This ViewSet ensures that:
|
|
2509
|
-
* 1. request.tenant exists
|
|
2510
|
-
* 2. connection.schema_name matches tenant.schema_name before any queryset evaluation
|
|
2511
|
-
*
|
|
2512
|
-
* Use this for all viewsets that query tenant-scoped models:
|
|
2513
|
-
* - CRM models (TenantContact, etc.)
|
|
2514
|
-
* - Editorial models (ContentAsset, etc.)
|
|
2515
|
-
* - Integrations models (Integration, etc.)
|
|
2516
|
-
* - Org models (Property, etc.)
|
|
3323
|
+
* Get all image assets for this channel delivery.
|
|
2517
3324
|
*
|
|
2518
|
-
*
|
|
2519
|
-
*
|
|
2520
|
-
* queryset = TenantContact.objects.all()
|
|
2521
|
-
* serializer_class = TenantContactSerializer
|
|
2522
|
-
* @returns void
|
|
3325
|
+
* Returns list of image assets (suggested + selected/locked).
|
|
3326
|
+
* @returns ContentUnit
|
|
2523
3327
|
* @throws ApiError
|
|
2524
3328
|
*/
|
|
2525
|
-
static
|
|
3329
|
+
static apiV1EditorialContentUnitsImagesRetrieve({ id, }: {
|
|
2526
3330
|
/**
|
|
2527
|
-
* A unique integer value identifying this
|
|
3331
|
+
* A unique integer value identifying this content unit.
|
|
2528
3332
|
*/
|
|
2529
3333
|
id: number;
|
|
2530
|
-
}): CancelablePromise<
|
|
3334
|
+
}): CancelablePromise<ContentUnit>;
|
|
2531
3335
|
/**
|
|
2532
|
-
*
|
|
3336
|
+
* Lock an image asset for this channel delivery.
|
|
2533
3337
|
*
|
|
2534
|
-
*
|
|
2535
|
-
*
|
|
3338
|
+
* Sets the specified asset to "locked" status, unselects others,
|
|
3339
|
+
* and prevents regeneration from overwriting it.
|
|
3340
|
+
* @returns ContentUnit
|
|
2536
3341
|
* @throws ApiError
|
|
2537
3342
|
*/
|
|
2538
|
-
static
|
|
3343
|
+
static apiV1EditorialContentUnitsImagesLockCreate({ id, imageId, requestBody, }: {
|
|
3344
|
+
/**
|
|
3345
|
+
* A unique integer value identifying this content unit.
|
|
3346
|
+
*/
|
|
3347
|
+
id: number;
|
|
3348
|
+
imageId: string;
|
|
3349
|
+
requestBody: ContentUnit;
|
|
3350
|
+
}): CancelablePromise<ContentUnit>;
|
|
2539
3351
|
/**
|
|
2540
|
-
*
|
|
3352
|
+
* Reject an image asset.
|
|
2541
3353
|
*
|
|
2542
|
-
*
|
|
2543
|
-
* @returns
|
|
3354
|
+
* Sets the specified asset to "rejected" status.
|
|
3355
|
+
* @returns ContentUnit
|
|
2544
3356
|
* @throws ApiError
|
|
2545
3357
|
*/
|
|
2546
|
-
static
|
|
2547
|
-
|
|
2548
|
-
|
|
3358
|
+
static apiV1EditorialContentUnitsImagesRejectCreate({ id, imageId, requestBody, }: {
|
|
3359
|
+
/**
|
|
3360
|
+
* A unique integer value identifying this content unit.
|
|
3361
|
+
*/
|
|
3362
|
+
id: number;
|
|
3363
|
+
imageId: string;
|
|
3364
|
+
requestBody: ContentUnit;
|
|
3365
|
+
}): CancelablePromise<ContentUnit>;
|
|
2549
3366
|
/**
|
|
2550
|
-
*
|
|
2551
|
-
*
|
|
2552
|
-
* This ViewSet ensures that:
|
|
2553
|
-
* 1. request.tenant exists
|
|
2554
|
-
* 2. connection.schema_name matches tenant.schema_name before any queryset evaluation
|
|
2555
|
-
*
|
|
2556
|
-
* Use this for all viewsets that query tenant-scoped models:
|
|
2557
|
-
* - CRM models (TenantContact, etc.)
|
|
2558
|
-
* - Editorial models (ContentAsset, etc.)
|
|
2559
|
-
* - Integrations models (Integration, etc.)
|
|
2560
|
-
* - Org models (Property, etc.)
|
|
3367
|
+
* Select an image asset for this channel delivery.
|
|
2561
3368
|
*
|
|
2562
|
-
*
|
|
2563
|
-
*
|
|
2564
|
-
* queryset = TenantContact.objects.all()
|
|
2565
|
-
* serializer_class = TenantContactSerializer
|
|
3369
|
+
* Sets the specified asset to "selected" status and unselects others.
|
|
3370
|
+
* Fails if another asset is locked.
|
|
2566
3371
|
* @returns ContentUnit
|
|
2567
3372
|
* @throws ApiError
|
|
2568
3373
|
*/
|
|
2569
|
-
static
|
|
3374
|
+
static apiV1EditorialContentUnitsImagesSelectCreate({ id, imageId, requestBody, }: {
|
|
3375
|
+
/**
|
|
3376
|
+
* A unique integer value identifying this content unit.
|
|
3377
|
+
*/
|
|
3378
|
+
id: number;
|
|
3379
|
+
imageId: string;
|
|
3380
|
+
requestBody: ContentUnit;
|
|
3381
|
+
}): CancelablePromise<ContentUnit>;
|
|
2570
3382
|
/**
|
|
2571
|
-
*
|
|
2572
|
-
*
|
|
2573
|
-
* This ViewSet ensures that:
|
|
2574
|
-
* 1. request.tenant exists
|
|
2575
|
-
* 2. connection.schema_name matches tenant.schema_name before any queryset evaluation
|
|
3383
|
+
* Regenerate images for this channel delivery.
|
|
2576
3384
|
*
|
|
2577
|
-
*
|
|
2578
|
-
* - CRM models (TenantContact, etc.)
|
|
2579
|
-
* - Editorial models (ContentAsset, etc.)
|
|
2580
|
-
* - Integrations models (Integration, etc.)
|
|
2581
|
-
* - Org models (Property, etc.)
|
|
3385
|
+
* Body: { "force": true } (optional, default false)
|
|
2582
3386
|
*
|
|
2583
|
-
*
|
|
2584
|
-
* class TenantContactViewSet(TenantModelViewSet):
|
|
2585
|
-
* queryset = TenantContact.objects.all()
|
|
2586
|
-
* serializer_class = TenantContactSerializer
|
|
3387
|
+
* Enqueues autofill_channel_delivery_images task with force flag.
|
|
2587
3388
|
* @returns ContentUnit
|
|
2588
3389
|
* @throws ApiError
|
|
2589
3390
|
*/
|
|
2590
|
-
static
|
|
3391
|
+
static apiV1EditorialContentUnitsImagesRegenerateCreate({ id, requestBody, }: {
|
|
3392
|
+
/**
|
|
3393
|
+
* A unique integer value identifying this content unit.
|
|
3394
|
+
*/
|
|
3395
|
+
id: number;
|
|
2591
3396
|
requestBody: ContentUnit;
|
|
2592
3397
|
}): CancelablePromise<ContentUnit>;
|
|
2593
3398
|
/**
|
|
2594
|
-
*
|
|
2595
|
-
*
|
|
2596
|
-
*
|
|
2597
|
-
*
|
|
2598
|
-
* 2. connection.schema_name matches tenant.schema_name before any queryset evaluation
|
|
2599
|
-
*
|
|
2600
|
-
* Use this for all viewsets that query tenant-scoped models:
|
|
2601
|
-
* - CRM models (TenantContact, etc.)
|
|
2602
|
-
* - Editorial models (ContentAsset, etc.)
|
|
2603
|
-
* - Integrations models (Integration, etc.)
|
|
2604
|
-
* - Org models (Property, etc.)
|
|
2605
|
-
*
|
|
2606
|
-
* Example:
|
|
2607
|
-
* class TenantContactViewSet(TenantModelViewSet):
|
|
2608
|
-
* queryset = TenantContact.objects.all()
|
|
2609
|
-
* serializer_class = TenantContactSerializer
|
|
3399
|
+
* Mark this content unit as published (manual override). Creates a delivery record with
|
|
3400
|
+
* status=published_manual and channel_published_at=now. Use when user posts manually
|
|
3401
|
+
* (e.g. from Kanban drag to Live).
|
|
3402
|
+
* POST /api/v1/editorial/content-units/{id}/manual-publish/
|
|
2610
3403
|
* @returns ContentUnit
|
|
2611
3404
|
* @throws ApiError
|
|
2612
3405
|
*/
|
|
2613
|
-
static
|
|
3406
|
+
static apiV1EditorialContentUnitsManualPublishCreate({ id, requestBody, }: {
|
|
2614
3407
|
/**
|
|
2615
3408
|
* A unique integer value identifying this content unit.
|
|
2616
3409
|
*/
|
|
2617
3410
|
id: number;
|
|
3411
|
+
requestBody: ContentUnit;
|
|
2618
3412
|
}): CancelablePromise<ContentUnit>;
|
|
2619
3413
|
/**
|
|
2620
|
-
*
|
|
2621
|
-
*
|
|
2622
|
-
*
|
|
2623
|
-
* 1. request.tenant exists
|
|
2624
|
-
* 2. connection.schema_name matches tenant.schema_name before any queryset evaluation
|
|
2625
|
-
*
|
|
2626
|
-
* Use this for all viewsets that query tenant-scoped models:
|
|
2627
|
-
* - CRM models (TenantContact, etc.)
|
|
2628
|
-
* - Editorial models (ContentAsset, etc.)
|
|
2629
|
-
* - Integrations models (Integration, etc.)
|
|
2630
|
-
* - Org models (Property, etc.)
|
|
2631
|
-
*
|
|
2632
|
-
* Example:
|
|
2633
|
-
* class TenantContactViewSet(TenantModelViewSet):
|
|
2634
|
-
* queryset = TenantContact.objects.all()
|
|
2635
|
-
* serializer_class = TenantContactSerializer
|
|
3414
|
+
* GET/PUT ContentUnit media keyword fields.
|
|
3415
|
+
* GET returns media_keywords, media_negative_keywords, media_keywords_mode.
|
|
3416
|
+
* PUT accepts same fields and merges into content_unit.metadata.
|
|
2636
3417
|
* @returns ContentUnit
|
|
2637
3418
|
* @throws ApiError
|
|
2638
3419
|
*/
|
|
2639
|
-
static
|
|
3420
|
+
static apiV1EditorialContentUnitsMediaKeywordsRetrieve({ id, }: {
|
|
3421
|
+
/**
|
|
3422
|
+
* A unique integer value identifying this content unit.
|
|
3423
|
+
*/
|
|
3424
|
+
id: number;
|
|
3425
|
+
}): CancelablePromise<ContentUnit>;
|
|
3426
|
+
/**
|
|
3427
|
+
* GET/PUT ContentUnit media keyword fields.
|
|
3428
|
+
* GET returns media_keywords, media_negative_keywords, media_keywords_mode.
|
|
3429
|
+
* PUT accepts same fields and merges into content_unit.metadata.
|
|
3430
|
+
* @returns ContentUnit
|
|
3431
|
+
* @throws ApiError
|
|
3432
|
+
*/
|
|
3433
|
+
static apiV1EditorialContentUnitsMediaKeywordsUpdate({ id, requestBody, }: {
|
|
2640
3434
|
/**
|
|
2641
3435
|
* A unique integer value identifying this content unit.
|
|
2642
3436
|
*/
|
|
@@ -2644,58 +3438,41 @@ export declare class ApiService {
|
|
|
2644
3438
|
requestBody: ContentUnit;
|
|
2645
3439
|
}): CancelablePromise<ContentUnit>;
|
|
2646
3440
|
/**
|
|
2647
|
-
*
|
|
3441
|
+
* Run full media fetch pipeline: compute keywords → search → attach → Sanity upload → Klaviyo update.
|
|
2648
3442
|
*
|
|
2649
|
-
*
|
|
2650
|
-
* 1. request.tenant exists
|
|
2651
|
-
* 2. connection.schema_name matches tenant.schema_name before any queryset evaluation
|
|
3443
|
+
* POST /api/v1/editorial/content-units/{id}/media/fetch/
|
|
2652
3444
|
*
|
|
2653
|
-
*
|
|
2654
|
-
*
|
|
2655
|
-
* - Editorial models (ContentAsset, etc.)
|
|
2656
|
-
* - Integrations models (Integration, etc.)
|
|
2657
|
-
* - Org models (Property, etc.)
|
|
3445
|
+
* Body (optional):
|
|
3446
|
+
* { "preferred_media_type": "image" | "video" }
|
|
2658
3447
|
*
|
|
2659
|
-
*
|
|
2660
|
-
*
|
|
2661
|
-
*
|
|
2662
|
-
*
|
|
3448
|
+
* Returns:
|
|
3449
|
+
* { content_unit_id, effective_keywords, effective_negative_keywords, query_used,
|
|
3450
|
+
* result_count, candidates, selected_pexels_id, sanity_status, klaviyo_status,
|
|
3451
|
+
* media_fetch_run_id, ran_at }
|
|
2663
3452
|
* @returns ContentUnit
|
|
2664
3453
|
* @throws ApiError
|
|
2665
3454
|
*/
|
|
2666
|
-
static
|
|
3455
|
+
static apiV1EditorialContentUnitsMediaFetchCreate({ id, requestBody, }: {
|
|
2667
3456
|
/**
|
|
2668
3457
|
* A unique integer value identifying this content unit.
|
|
2669
3458
|
*/
|
|
2670
3459
|
id: number;
|
|
2671
|
-
requestBody
|
|
3460
|
+
requestBody: ContentUnit;
|
|
2672
3461
|
}): CancelablePromise<ContentUnit>;
|
|
2673
3462
|
/**
|
|
2674
|
-
*
|
|
2675
|
-
*
|
|
2676
|
-
*
|
|
2677
|
-
*
|
|
2678
|
-
* 2. connection.schema_name matches tenant.schema_name before any queryset evaluation
|
|
2679
|
-
*
|
|
2680
|
-
* Use this for all viewsets that query tenant-scoped models:
|
|
2681
|
-
* - CRM models (TenantContact, etc.)
|
|
2682
|
-
* - Editorial models (ContentAsset, etc.)
|
|
2683
|
-
* - Integrations models (Integration, etc.)
|
|
2684
|
-
* - Org models (Property, etc.)
|
|
2685
|
-
*
|
|
2686
|
-
* Example:
|
|
2687
|
-
* class TenantContactViewSet(TenantModelViewSet):
|
|
2688
|
-
* queryset = TenantContact.objects.all()
|
|
2689
|
-
* serializer_class = TenantContactSerializer
|
|
2690
|
-
* @returns void
|
|
3463
|
+
* Kanban move: set target status and optionally create delivery / manual publish.
|
|
3464
|
+
* POST /api/v1/editorial/content-units/{id}/move/
|
|
3465
|
+
* Body: { "target_status": "scheduled" | "live", "intended_publish_at": "<ISO>" (required if target_status=scheduled), "channel_type": "<channel>" (optional; default unit.channel_type) }
|
|
3466
|
+
* @returns ContentUnit
|
|
2691
3467
|
* @throws ApiError
|
|
2692
3468
|
*/
|
|
2693
|
-
static
|
|
3469
|
+
static apiV1EditorialContentUnitsMoveCreate({ id, requestBody, }: {
|
|
2694
3470
|
/**
|
|
2695
3471
|
* A unique integer value identifying this content unit.
|
|
2696
3472
|
*/
|
|
2697
3473
|
id: number;
|
|
2698
|
-
|
|
3474
|
+
requestBody: ContentUnit;
|
|
3475
|
+
}): CancelablePromise<ContentUnit>;
|
|
2699
3476
|
/**
|
|
2700
3477
|
* Attach a selected Pexels image as an Asset to this content unit.
|
|
2701
3478
|
*
|
|
@@ -2704,7 +3481,8 @@ export declare class ApiService {
|
|
|
2704
3481
|
* Body:
|
|
2705
3482
|
* {
|
|
2706
3483
|
* "pexels_id": "...",
|
|
2707
|
-
* "image_url": "...",
|
|
3484
|
+
* "image_url": "..." (required for image; optional for video as thumbnail),
|
|
3485
|
+
* "video_url": "..." (optional; when present creates a video asset),
|
|
2708
3486
|
* "photographer": "...",
|
|
2709
3487
|
* "photographer_url": "...",
|
|
2710
3488
|
* "source_url": "...",
|
|
@@ -2730,13 +3508,18 @@ export declare class ApiService {
|
|
|
2730
3508
|
* POST /api/v1/editorial/content-units/{id}/pexels_candidates/
|
|
2731
3509
|
*
|
|
2732
3510
|
* Body (optional):
|
|
2733
|
-
* {
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
3511
|
+
* {
|
|
3512
|
+
* "queries": ["q1", "q2", "q3"],
|
|
3513
|
+
* "orientation": "square|portrait|landscape",
|
|
3514
|
+
* "preferred_media_type": "image" | "video",
|
|
3515
|
+
* "page": int (1-based; use > 1 for remix/different results)
|
|
3516
|
+
* }
|
|
3517
|
+
*
|
|
3518
|
+
* Returns:
|
|
3519
|
+
* { "content_unit_id": int, "queries_used": [...], "candidates": [...] }
|
|
3520
|
+
* @returns ContentUnit
|
|
3521
|
+
* @throws ApiError
|
|
3522
|
+
*/
|
|
2740
3523
|
static apiV1EditorialContentUnitsPexelsCandidatesCreate({ id, requestBody, }: {
|
|
2741
3524
|
/**
|
|
2742
3525
|
* A unique integer value identifying this content unit.
|
|
@@ -2760,7 +3543,7 @@ export declare class ApiService {
|
|
|
2760
3543
|
requestBody: ContentUnit;
|
|
2761
3544
|
}): CancelablePromise<ContentUnit>;
|
|
2762
3545
|
/**
|
|
2763
|
-
* Regenerate content for this content unit using AI.
|
|
3546
|
+
* Regenerate content for this content unit using AI (async).
|
|
2764
3547
|
*
|
|
2765
3548
|
* POST /api/v1/editorial/content-units/{id}/regenerate/
|
|
2766
3549
|
*
|
|
@@ -2768,7 +3551,9 @@ export declare class ApiService {
|
|
|
2768
3551
|
* { "regenerate_image": true } # Whether to also regenerate the image
|
|
2769
3552
|
*
|
|
2770
3553
|
* Returns:
|
|
2771
|
-
*
|
|
3554
|
+
* 202 Accepted with ContentUnit (status=generating). Poll GET unit until
|
|
3555
|
+
* status is drafting or failed; on failure check metadata.last_error and
|
|
3556
|
+
* metadata.error_code.
|
|
2772
3557
|
* @returns ContentUnit
|
|
2773
3558
|
* @throws ApiError
|
|
2774
3559
|
*/
|
|
@@ -2779,6 +3564,27 @@ export declare class ApiService {
|
|
|
2779
3564
|
id: number;
|
|
2780
3565
|
requestBody: ContentUnit;
|
|
2781
3566
|
}): CancelablePromise<ContentUnit>;
|
|
3567
|
+
/**
|
|
3568
|
+
* Reschedule content to a new time in the channel.
|
|
3569
|
+
*
|
|
3570
|
+
* POST /api/v1/editorial/content-units/{id}/reschedule/
|
|
3571
|
+
*
|
|
3572
|
+
* Body:
|
|
3573
|
+
* - channel_type: Channel to reschedule in
|
|
3574
|
+
* - new_intended_publish_at: New publish time
|
|
3575
|
+
*
|
|
3576
|
+
* Updates the scheduled time in the channel's native scheduler.
|
|
3577
|
+
* Does NOT create duplicate posts.
|
|
3578
|
+
* @returns ContentUnit
|
|
3579
|
+
* @throws ApiError
|
|
3580
|
+
*/
|
|
3581
|
+
static apiV1EditorialContentUnitsRescheduleCreate({ id, requestBody, }: {
|
|
3582
|
+
/**
|
|
3583
|
+
* A unique integer value identifying this content unit.
|
|
3584
|
+
*/
|
|
3585
|
+
id: number;
|
|
3586
|
+
requestBody: ContentUnit;
|
|
3587
|
+
}): CancelablePromise<ContentUnit>;
|
|
2782
3588
|
/**
|
|
2783
3589
|
* Update publish_at for content unit.
|
|
2784
3590
|
* @returns ContentUnit
|
|
@@ -2791,6 +3597,60 @@ export declare class ApiService {
|
|
|
2791
3597
|
id: number;
|
|
2792
3598
|
requestBody?: PatchedContentUnit;
|
|
2793
3599
|
}): CancelablePromise<ContentUnit>;
|
|
3600
|
+
/**
|
|
3601
|
+
* Retry scheduling (idempotent). Uses existing intended_publish_at for this channel.
|
|
3602
|
+
* POST /api/v1/editorial/content-units/{id}/schedule/retry/
|
|
3603
|
+
* Body: { "channel_type": "instagram" | "facebook" | "sanity" | "klaviyo" }
|
|
3604
|
+
* Response: same as schedule endpoint.
|
|
3605
|
+
* @returns ContentUnit
|
|
3606
|
+
* @throws ApiError
|
|
3607
|
+
*/
|
|
3608
|
+
static apiV1EditorialContentUnitsScheduleRetryCreate({ id, requestBody, }: {
|
|
3609
|
+
/**
|
|
3610
|
+
* A unique integer value identifying this content unit.
|
|
3611
|
+
*/
|
|
3612
|
+
id: number;
|
|
3613
|
+
requestBody: ContentUnit;
|
|
3614
|
+
}): CancelablePromise<ContentUnit>;
|
|
3615
|
+
/**
|
|
3616
|
+
* Get the canonical scheduling status for a content unit.
|
|
3617
|
+
*
|
|
3618
|
+
* Returns:
|
|
3619
|
+
* - Rollup status (computed from all channel deliveries)
|
|
3620
|
+
* - Per-channel counts and statuses
|
|
3621
|
+
* - Canonical timestamps (min/max scheduled, first/last published)
|
|
3622
|
+
* - "modified_in_channel" flags per delivery
|
|
3623
|
+
*
|
|
3624
|
+
* This endpoint uses the canonical rollup logic to ensure UI and API don't drift.
|
|
3625
|
+
* @returns ContentUnit
|
|
3626
|
+
* @throws ApiError
|
|
3627
|
+
*/
|
|
3628
|
+
static apiV1EditorialContentUnitsSchedulingStatusRetrieve({ id, }: {
|
|
3629
|
+
/**
|
|
3630
|
+
* A unique integer value identifying this content unit.
|
|
3631
|
+
*/
|
|
3632
|
+
id: number;
|
|
3633
|
+
}): CancelablePromise<ContentUnit>;
|
|
3634
|
+
/**
|
|
3635
|
+
* Unschedule content from a channel.
|
|
3636
|
+
*
|
|
3637
|
+
* POST /api/v1/editorial/content-units/{id}/unschedule/
|
|
3638
|
+
*
|
|
3639
|
+
* Body:
|
|
3640
|
+
* - channel_type: Channel to unschedule from
|
|
3641
|
+
*
|
|
3642
|
+
* Removes the scheduled content from the channel's native scheduler.
|
|
3643
|
+
* Does NOT delete the content unit in LevrOps.
|
|
3644
|
+
* @returns ContentUnit
|
|
3645
|
+
* @throws ApiError
|
|
3646
|
+
*/
|
|
3647
|
+
static apiV1EditorialContentUnitsUnscheduleCreate({ id, requestBody, }: {
|
|
3648
|
+
/**
|
|
3649
|
+
* A unique integer value identifying this content unit.
|
|
3650
|
+
*/
|
|
3651
|
+
id: number;
|
|
3652
|
+
requestBody: ContentUnit;
|
|
3653
|
+
}): CancelablePromise<ContentUnit>;
|
|
2794
3654
|
/**
|
|
2795
3655
|
* ViewSet for managing assets (images, videos, documents).
|
|
2796
3656
|
*
|
|
@@ -2864,16 +3724,33 @@ export declare class ApiService {
|
|
|
2864
3724
|
id: number;
|
|
2865
3725
|
}): CancelablePromise<void>;
|
|
2866
3726
|
/**
|
|
2867
|
-
* Associate an asset with one or more content units.
|
|
3727
|
+
* Associate an asset with one or more content units.
|
|
3728
|
+
*
|
|
3729
|
+
* POST /api/v1/editorial/assets/{id}/associate/
|
|
3730
|
+
*
|
|
3731
|
+
* Body:
|
|
3732
|
+
* - content_unit_ids: List of content unit IDs
|
|
3733
|
+
* @returns Asset
|
|
3734
|
+
* @throws ApiError
|
|
3735
|
+
*/
|
|
3736
|
+
static apiV1EditorialMediaAssetsAssociateCreate({ id, requestBody, }: {
|
|
3737
|
+
/**
|
|
3738
|
+
* A unique integer value identifying this asset.
|
|
3739
|
+
*/
|
|
3740
|
+
id: number;
|
|
3741
|
+
requestBody: Asset;
|
|
3742
|
+
}): CancelablePromise<Asset>;
|
|
3743
|
+
/**
|
|
3744
|
+
* Remove this asset from one or more content units (detach).
|
|
2868
3745
|
*
|
|
2869
|
-
* POST /api/v1/editorial/assets/{id}/
|
|
3746
|
+
* POST /api/v1/editorial/media-assets/{id}/disassociate/
|
|
2870
3747
|
*
|
|
2871
3748
|
* Body:
|
|
2872
|
-
* - content_unit_ids: List of content unit IDs
|
|
3749
|
+
* - content_unit_ids: List of content unit IDs to remove this asset from
|
|
2873
3750
|
* @returns Asset
|
|
2874
3751
|
* @throws ApiError
|
|
2875
3752
|
*/
|
|
2876
|
-
static
|
|
3753
|
+
static apiV1EditorialMediaAssetsDisassociateCreate({ id, requestBody, }: {
|
|
2877
3754
|
/**
|
|
2878
3755
|
* A unique integer value identifying this asset.
|
|
2879
3756
|
*/
|
|
@@ -3289,28 +4166,9 @@ export declare class ApiService {
|
|
|
3289
4166
|
* @returns any No response body
|
|
3290
4167
|
* @throws ApiError
|
|
3291
4168
|
*/
|
|
3292
|
-
static apiV1ExpressionSurfacesRetrieve({
|
|
3293
|
-
|
|
4169
|
+
static apiV1ExpressionSurfacesRetrieve({ slug, }: {
|
|
4170
|
+
slug: string;
|
|
3294
4171
|
}): CancelablePromise<any>;
|
|
3295
|
-
/**
|
|
3296
|
-
* Hard-delete a surface that was created by the Launch wizard and is still in-progress.
|
|
3297
|
-
*
|
|
3298
|
-
* DELETE /api/v1/expression/surfaces/{surface_id}/
|
|
3299
|
-
*
|
|
3300
|
-
* Allowed only when:
|
|
3301
|
-
* - Surface exists and belongs to tenant.
|
|
3302
|
-
* - No launch run for this surface has status COMPLETE (successfully launched surfaces
|
|
3303
|
-
* follow lifecycle rules and cannot be hard-deleted here).
|
|
3304
|
-
* - User has org.write (tenant_admin or equivalent).
|
|
3305
|
-
*
|
|
3306
|
-
* If a launch run is currently RUNNING (or QUEUED), the run is marked CANCELLED then
|
|
3307
|
-
* the surface is deleted.
|
|
3308
|
-
* @returns void
|
|
3309
|
-
* @throws ApiError
|
|
3310
|
-
*/
|
|
3311
|
-
static apiV1ExpressionSurfacesDestroy({ surfaceId, }: {
|
|
3312
|
-
surfaceId: string;
|
|
3313
|
-
}): CancelablePromise<void>;
|
|
3314
4172
|
/**
|
|
3315
4173
|
* Return Identity Studio snapshot with aggregated data.
|
|
3316
4174
|
*
|
|
@@ -3319,60 +4177,60 @@ export declare class ApiService {
|
|
|
3319
4177
|
* @returns any No response body
|
|
3320
4178
|
* @throws ApiError
|
|
3321
4179
|
*/
|
|
3322
|
-
static apiV1ExpressionSurfacesIdentityRetrieve({
|
|
3323
|
-
|
|
4180
|
+
static apiV1ExpressionSurfacesIdentityRetrieve({ slug, }: {
|
|
4181
|
+
slug: string;
|
|
3324
4182
|
}): CancelablePromise<any>;
|
|
3325
4183
|
/**
|
|
3326
4184
|
* Create or update surface-specific design system override.
|
|
3327
4185
|
* @returns any No response body
|
|
3328
4186
|
* @throws ApiError
|
|
3329
4187
|
*/
|
|
3330
|
-
static apiV1ExpressionSurfacesIdentityUpdate({
|
|
3331
|
-
|
|
4188
|
+
static apiV1ExpressionSurfacesIdentityUpdate({ slug, }: {
|
|
4189
|
+
slug: string;
|
|
3332
4190
|
}): CancelablePromise<any>;
|
|
3333
4191
|
/**
|
|
3334
4192
|
* @returns any No response body
|
|
3335
4193
|
* @throws ApiError
|
|
3336
4194
|
*/
|
|
3337
|
-
static apiV1ExpressionSurfacesIdentityAssignCreate({
|
|
3338
|
-
|
|
4195
|
+
static apiV1ExpressionSurfacesIdentityAssignCreate({ slug, }: {
|
|
4196
|
+
slug: string;
|
|
3339
4197
|
}): CancelablePromise<any>;
|
|
3340
4198
|
/**
|
|
3341
4199
|
* @returns any No response body
|
|
3342
4200
|
* @throws ApiError
|
|
3343
4201
|
*/
|
|
3344
|
-
static apiV1ExpressionSurfacesIdentityAvailableProfilesRetrieve({
|
|
3345
|
-
|
|
4202
|
+
static apiV1ExpressionSurfacesIdentityAvailableProfilesRetrieve({ slug, }: {
|
|
4203
|
+
slug: string;
|
|
3346
4204
|
}): CancelablePromise<any>;
|
|
3347
4205
|
/**
|
|
3348
4206
|
* @returns any No response body
|
|
3349
4207
|
* @throws ApiError
|
|
3350
4208
|
*/
|
|
3351
|
-
static apiV1ExpressionSurfacesIdentityDetachCreate({
|
|
3352
|
-
|
|
4209
|
+
static apiV1ExpressionSurfacesIdentityDetachCreate({ slug, }: {
|
|
4210
|
+
slug: string;
|
|
3353
4211
|
}): CancelablePromise<any>;
|
|
3354
4212
|
/**
|
|
3355
4213
|
* @returns any No response body
|
|
3356
4214
|
* @throws ApiError
|
|
3357
4215
|
*/
|
|
3358
|
-
static apiV1ExpressionSurfacesIdentityForkCreate({
|
|
3359
|
-
|
|
4216
|
+
static apiV1ExpressionSurfacesIdentityForkCreate({ slug, }: {
|
|
4217
|
+
slug: string;
|
|
3360
4218
|
}): CancelablePromise<any>;
|
|
3361
4219
|
/**
|
|
3362
4220
|
* List ingestion files with defensive handling for missing table.
|
|
3363
4221
|
* @returns IdentityIngestionFile
|
|
3364
4222
|
* @throws ApiError
|
|
3365
4223
|
*/
|
|
3366
|
-
static apiV1ExpressionSurfacesIdentityIngestionFilesList({
|
|
3367
|
-
|
|
4224
|
+
static apiV1ExpressionSurfacesIdentityIngestionFilesList({ slug, }: {
|
|
4225
|
+
slug: string;
|
|
3368
4226
|
}): CancelablePromise<Array<IdentityIngestionFile>>;
|
|
3369
4227
|
/**
|
|
3370
4228
|
* Create ingestion file with defensive handling for missing table.
|
|
3371
4229
|
* @returns IdentityIngestionFile
|
|
3372
4230
|
* @throws ApiError
|
|
3373
4231
|
*/
|
|
3374
|
-
static apiV1ExpressionSurfacesIdentityIngestionFilesCreate({
|
|
3375
|
-
|
|
4232
|
+
static apiV1ExpressionSurfacesIdentityIngestionFilesCreate({ slug, requestBody, }: {
|
|
4233
|
+
slug: string;
|
|
3376
4234
|
requestBody?: IdentityIngestionFile;
|
|
3377
4235
|
}): CancelablePromise<IdentityIngestionFile>;
|
|
3378
4236
|
/**
|
|
@@ -3384,9 +4242,9 @@ export declare class ApiService {
|
|
|
3384
4242
|
* @returns IdentityIngestionFile
|
|
3385
4243
|
* @throws ApiError
|
|
3386
4244
|
*/
|
|
3387
|
-
static apiV1ExpressionSurfacesIdentityIngestionFilesRetrieve({ id,
|
|
4245
|
+
static apiV1ExpressionSurfacesIdentityIngestionFilesRetrieve({ id, slug, }: {
|
|
3388
4246
|
id: number;
|
|
3389
|
-
|
|
4247
|
+
slug: string;
|
|
3390
4248
|
}): CancelablePromise<IdentityIngestionFile>;
|
|
3391
4249
|
/**
|
|
3392
4250
|
* ViewSet for managing Identity ingestion files.
|
|
@@ -3397,9 +4255,9 @@ export declare class ApiService {
|
|
|
3397
4255
|
* @returns IdentityIngestionFile
|
|
3398
4256
|
* @throws ApiError
|
|
3399
4257
|
*/
|
|
3400
|
-
static apiV1ExpressionSurfacesIdentityIngestionFilesUpdate({ id,
|
|
4258
|
+
static apiV1ExpressionSurfacesIdentityIngestionFilesUpdate({ id, slug, requestBody, }: {
|
|
3401
4259
|
id: number;
|
|
3402
|
-
|
|
4260
|
+
slug: string;
|
|
3403
4261
|
requestBody?: IdentityIngestionFile;
|
|
3404
4262
|
}): CancelablePromise<IdentityIngestionFile>;
|
|
3405
4263
|
/**
|
|
@@ -3411,9 +4269,9 @@ export declare class ApiService {
|
|
|
3411
4269
|
* @returns IdentityIngestionFile
|
|
3412
4270
|
* @throws ApiError
|
|
3413
4271
|
*/
|
|
3414
|
-
static apiV1ExpressionSurfacesIdentityIngestionFilesPartialUpdate({ id,
|
|
4272
|
+
static apiV1ExpressionSurfacesIdentityIngestionFilesPartialUpdate({ id, slug, requestBody, }: {
|
|
3415
4273
|
id: number;
|
|
3416
|
-
|
|
4274
|
+
slug: string;
|
|
3417
4275
|
requestBody?: PatchedIdentityIngestionFile;
|
|
3418
4276
|
}): CancelablePromise<IdentityIngestionFile>;
|
|
3419
4277
|
/**
|
|
@@ -3425,9 +4283,9 @@ export declare class ApiService {
|
|
|
3425
4283
|
* @returns void
|
|
3426
4284
|
* @throws ApiError
|
|
3427
4285
|
*/
|
|
3428
|
-
static apiV1ExpressionSurfacesIdentityIngestionFilesDestroy({ id,
|
|
4286
|
+
static apiV1ExpressionSurfacesIdentityIngestionFilesDestroy({ id, slug, }: {
|
|
3429
4287
|
id: number;
|
|
3430
|
-
|
|
4288
|
+
slug: string;
|
|
3431
4289
|
}): CancelablePromise<void>;
|
|
3432
4290
|
/**
|
|
3433
4291
|
* Apply extracted design tokens from an ingestion file to the surface's design system.
|
|
@@ -3437,9 +4295,9 @@ export declare class ApiService {
|
|
|
3437
4295
|
* @returns IdentityIngestionFile
|
|
3438
4296
|
* @throws ApiError
|
|
3439
4297
|
*/
|
|
3440
|
-
static apiV1ExpressionSurfacesIdentityIngestionFilesApplyDesignTokensCreate({ id,
|
|
4298
|
+
static apiV1ExpressionSurfacesIdentityIngestionFilesApplyDesignTokensCreate({ id, slug, requestBody, }: {
|
|
3441
4299
|
id: number;
|
|
3442
|
-
|
|
4300
|
+
slug: string;
|
|
3443
4301
|
requestBody?: IdentityIngestionFile;
|
|
3444
4302
|
}): CancelablePromise<IdentityIngestionFile>;
|
|
3445
4303
|
/**
|
|
@@ -3455,20 +4313,21 @@ export declare class ApiService {
|
|
|
3455
4313
|
* @returns IdentityIngestionFile
|
|
3456
4314
|
* @throws ApiError
|
|
3457
4315
|
*/
|
|
3458
|
-
static apiV1ExpressionSurfacesIdentityIngestionFilesExtractDesignTokensCreate({ id,
|
|
4316
|
+
static apiV1ExpressionSurfacesIdentityIngestionFilesExtractDesignTokensCreate({ id, slug, requestBody, }: {
|
|
3459
4317
|
id: number;
|
|
3460
|
-
|
|
4318
|
+
slug: string;
|
|
3461
4319
|
requestBody?: IdentityIngestionFile;
|
|
3462
4320
|
}): CancelablePromise<IdentityIngestionFile>;
|
|
3463
4321
|
/**
|
|
3464
|
-
* Enqueue
|
|
3465
|
-
*
|
|
4322
|
+
* Enqueue analysis chain.
|
|
4323
|
+
* Audio: transcribe → analyze. URL/text/pdf/image: analyze_extracted_text (image re-runs OCR).
|
|
4324
|
+
* Returns 202 Accepted.
|
|
3466
4325
|
* @returns IdentityIngestionFile
|
|
3467
4326
|
* @throws ApiError
|
|
3468
4327
|
*/
|
|
3469
|
-
static apiV1ExpressionSurfacesIdentityIngestionFilesReanalyzeCreate({ id,
|
|
4328
|
+
static apiV1ExpressionSurfacesIdentityIngestionFilesReanalyzeCreate({ id, slug, requestBody, }: {
|
|
3470
4329
|
id: number;
|
|
3471
|
-
|
|
4330
|
+
slug: string;
|
|
3472
4331
|
requestBody?: IdentityIngestionFile;
|
|
3473
4332
|
}): CancelablePromise<IdentityIngestionFile>;
|
|
3474
4333
|
/**
|
|
@@ -3476,9 +4335,9 @@ export declare class ApiService {
|
|
|
3476
4335
|
* @returns IdentityIngestionFile
|
|
3477
4336
|
* @throws ApiError
|
|
3478
4337
|
*/
|
|
3479
|
-
static apiV1ExpressionSurfacesIdentityIngestionFilesReprocessCreate({ id,
|
|
4338
|
+
static apiV1ExpressionSurfacesIdentityIngestionFilesReprocessCreate({ id, slug, requestBody, }: {
|
|
3480
4339
|
id: number;
|
|
3481
|
-
|
|
4340
|
+
slug: string;
|
|
3482
4341
|
requestBody?: IdentityIngestionFile;
|
|
3483
4342
|
}): CancelablePromise<IdentityIngestionFile>;
|
|
3484
4343
|
/**
|
|
@@ -3486,88 +4345,88 @@ export declare class ApiService {
|
|
|
3486
4345
|
* @returns any No response body
|
|
3487
4346
|
* @throws ApiError
|
|
3488
4347
|
*/
|
|
3489
|
-
static apiV1ExpressionSurfacesStructureRetrieve({
|
|
3490
|
-
|
|
4348
|
+
static apiV1ExpressionSurfacesStructureRetrieve({ slug, }: {
|
|
4349
|
+
slug: string;
|
|
3491
4350
|
}): CancelablePromise<any>;
|
|
3492
4351
|
/**
|
|
3493
4352
|
* Create or update surface-specific layout profile override with structure definition.
|
|
3494
4353
|
* @returns any No response body
|
|
3495
4354
|
* @throws ApiError
|
|
3496
4355
|
*/
|
|
3497
|
-
static apiV1ExpressionSurfacesStructureUpdate({
|
|
3498
|
-
|
|
4356
|
+
static apiV1ExpressionSurfacesStructureUpdate({ slug, }: {
|
|
4357
|
+
slug: string;
|
|
3499
4358
|
}): CancelablePromise<any>;
|
|
3500
4359
|
/**
|
|
3501
4360
|
* @returns any No response body
|
|
3502
4361
|
* @throws ApiError
|
|
3503
4362
|
*/
|
|
3504
|
-
static apiV1ExpressionSurfacesStructureAssignCreate({
|
|
3505
|
-
|
|
4363
|
+
static apiV1ExpressionSurfacesStructureAssignCreate({ slug, }: {
|
|
4364
|
+
slug: string;
|
|
3506
4365
|
}): CancelablePromise<any>;
|
|
3507
4366
|
/**
|
|
3508
4367
|
* @returns any No response body
|
|
3509
4368
|
* @throws ApiError
|
|
3510
4369
|
*/
|
|
3511
|
-
static apiV1ExpressionSurfacesStructureAvailableProfilesRetrieve({
|
|
3512
|
-
|
|
4370
|
+
static apiV1ExpressionSurfacesStructureAvailableProfilesRetrieve({ slug, }: {
|
|
4371
|
+
slug: string;
|
|
3513
4372
|
}): CancelablePromise<any>;
|
|
3514
4373
|
/**
|
|
3515
4374
|
* @returns any No response body
|
|
3516
4375
|
* @throws ApiError
|
|
3517
4376
|
*/
|
|
3518
|
-
static apiV1ExpressionSurfacesStructureDetachCreate({
|
|
3519
|
-
|
|
4377
|
+
static apiV1ExpressionSurfacesStructureDetachCreate({ slug, }: {
|
|
4378
|
+
slug: string;
|
|
3520
4379
|
}): CancelablePromise<any>;
|
|
3521
4380
|
/**
|
|
3522
4381
|
* @returns any No response body
|
|
3523
4382
|
* @throws ApiError
|
|
3524
4383
|
*/
|
|
3525
|
-
static apiV1ExpressionSurfacesStructureForkCreate({
|
|
3526
|
-
|
|
4384
|
+
static apiV1ExpressionSurfacesStructureForkCreate({ slug, }: {
|
|
4385
|
+
slug: string;
|
|
3527
4386
|
}): CancelablePromise<any>;
|
|
3528
4387
|
/**
|
|
3529
4388
|
* Return current voice configuration for a surface.
|
|
3530
4389
|
* @returns any No response body
|
|
3531
4390
|
* @throws ApiError
|
|
3532
4391
|
*/
|
|
3533
|
-
static apiV1ExpressionSurfacesVoiceRetrieve({
|
|
3534
|
-
|
|
4392
|
+
static apiV1ExpressionSurfacesVoiceRetrieve({ slug, }: {
|
|
4393
|
+
slug: string;
|
|
3535
4394
|
}): CancelablePromise<any>;
|
|
3536
4395
|
/**
|
|
3537
4396
|
* Create or update surface-specific voice override.
|
|
3538
4397
|
* @returns any No response body
|
|
3539
4398
|
* @throws ApiError
|
|
3540
4399
|
*/
|
|
3541
|
-
static apiV1ExpressionSurfacesVoiceUpdate({
|
|
3542
|
-
|
|
4400
|
+
static apiV1ExpressionSurfacesVoiceUpdate({ slug, }: {
|
|
4401
|
+
slug: string;
|
|
3543
4402
|
}): CancelablePromise<any>;
|
|
3544
4403
|
/**
|
|
3545
4404
|
* @returns any No response body
|
|
3546
4405
|
* @throws ApiError
|
|
3547
4406
|
*/
|
|
3548
|
-
static apiV1ExpressionSurfacesVoiceAssignCreate({
|
|
3549
|
-
|
|
4407
|
+
static apiV1ExpressionSurfacesVoiceAssignCreate({ slug, }: {
|
|
4408
|
+
slug: string;
|
|
3550
4409
|
}): CancelablePromise<any>;
|
|
3551
4410
|
/**
|
|
3552
4411
|
* @returns any No response body
|
|
3553
4412
|
* @throws ApiError
|
|
3554
4413
|
*/
|
|
3555
|
-
static apiV1ExpressionSurfacesVoiceAvailableProfilesRetrieve({
|
|
3556
|
-
|
|
4414
|
+
static apiV1ExpressionSurfacesVoiceAvailableProfilesRetrieve({ slug, }: {
|
|
4415
|
+
slug: string;
|
|
3557
4416
|
}): CancelablePromise<any>;
|
|
3558
4417
|
/**
|
|
3559
4418
|
* @returns any No response body
|
|
3560
4419
|
* @throws ApiError
|
|
3561
4420
|
*/
|
|
3562
|
-
static apiV1ExpressionSurfacesVoiceDetachCreate({
|
|
3563
|
-
|
|
4421
|
+
static apiV1ExpressionSurfacesVoiceDetachCreate({ slug, }: {
|
|
4422
|
+
slug: string;
|
|
3564
4423
|
}): CancelablePromise<any>;
|
|
3565
4424
|
/**
|
|
3566
4425
|
* @returns any No response body
|
|
3567
4426
|
* @throws ApiError
|
|
3568
4427
|
*/
|
|
3569
|
-
static apiV1ExpressionSurfacesVoiceForkCreate({
|
|
3570
|
-
|
|
4428
|
+
static apiV1ExpressionSurfacesVoiceForkCreate({ slug, }: {
|
|
4429
|
+
slug: string;
|
|
3571
4430
|
}): CancelablePromise<any>;
|
|
3572
4431
|
/**
|
|
3573
4432
|
* Generate a page from Structure DSL.
|
|
@@ -3577,6 +4436,25 @@ export declare class ApiService {
|
|
|
3577
4436
|
static apiV1ExpressionSurfacesGeneratePageCreate({ surfaceId, }: {
|
|
3578
4437
|
surfaceId: string;
|
|
3579
4438
|
}): CancelablePromise<any>;
|
|
4439
|
+
/**
|
|
4440
|
+
* Hard-delete a surface that was created by the Launch wizard and is still in-progress.
|
|
4441
|
+
*
|
|
4442
|
+
* DELETE /api/v1/expression/surfaces/{surface_id}/
|
|
4443
|
+
*
|
|
4444
|
+
* Allowed only when:
|
|
4445
|
+
* - Surface exists and belongs to tenant.
|
|
4446
|
+
* - No launch run for this surface has status COMPLETE (successfully launched surfaces
|
|
4447
|
+
* follow lifecycle rules and cannot be hard-deleted here).
|
|
4448
|
+
* - User has org.write (tenant_admin or equivalent).
|
|
4449
|
+
*
|
|
4450
|
+
* If a launch run is currently RUNNING (or QUEUED), the run is marked CANCELLED then
|
|
4451
|
+
* the surface is deleted.
|
|
4452
|
+
* @returns void
|
|
4453
|
+
* @throws ApiError
|
|
4454
|
+
*/
|
|
4455
|
+
static apiV1ExpressionSurfacesDestroy({ surfaceId, }: {
|
|
4456
|
+
surfaceId: string;
|
|
4457
|
+
}): CancelablePromise<void>;
|
|
3580
4458
|
/**
|
|
3581
4459
|
* Get or update SurfaceBlueprint.
|
|
3582
4460
|
*
|
|
@@ -4723,6 +5601,24 @@ export declare class ApiService {
|
|
|
4723
5601
|
static apiV1McpBrandVoicePreviewGuidedCreate({ requestBody, }: {
|
|
4724
5602
|
requestBody: BrandVoiceProfile;
|
|
4725
5603
|
}): CancelablePromise<BrandVoiceProfile>;
|
|
5604
|
+
/**
|
|
5605
|
+
* LevrOps source-of-truth read/write for ``creative_semantic_metadata`` (contract JSON).
|
|
5606
|
+
*
|
|
5607
|
+
* GET: ``?artifact_id=<uuid>&artifact_revision_id=<uuid>`` returns the stored document.
|
|
5608
|
+
* PUT: body ``{"document": {...}}`` validates fail-closed and upserts by keys in the document.
|
|
5609
|
+
* @returns any No response body
|
|
5610
|
+
* @throws ApiError
|
|
5611
|
+
*/
|
|
5612
|
+
static apiV1McpCreativeSemanticMetadataRetrieve(): CancelablePromise<any>;
|
|
5613
|
+
/**
|
|
5614
|
+
* LevrOps source-of-truth read/write for ``creative_semantic_metadata`` (contract JSON).
|
|
5615
|
+
*
|
|
5616
|
+
* GET: ``?artifact_id=<uuid>&artifact_revision_id=<uuid>`` returns the stored document.
|
|
5617
|
+
* PUT: body ``{"document": {...}}`` validates fail-closed and upserts by keys in the document.
|
|
5618
|
+
* @returns any No response body
|
|
5619
|
+
* @throws ApiError
|
|
5620
|
+
*/
|
|
5621
|
+
static apiV1McpCreativeSemanticMetadataUpdate(): CancelablePromise<any>;
|
|
4726
5622
|
/**
|
|
4727
5623
|
* Return effective profiles for the specified property.
|
|
4728
5624
|
* @returns any No response body
|
|
@@ -5125,6 +6021,119 @@ export declare class ApiService {
|
|
|
5125
6021
|
static apiV1OpsBootstrapSyncRunsPartialUpdate({ runId, }: {
|
|
5126
6022
|
runId: number;
|
|
5127
6023
|
}): CancelablePromise<any>;
|
|
6024
|
+
/**
|
|
6025
|
+
* Trigger signal extraction for an asset link.
|
|
6026
|
+
*
|
|
6027
|
+
* POST /api/v1/ops/creative-whisperer/assets/{asset_link_id}/extract-signals/
|
|
6028
|
+
* Request: { "force": false }
|
|
6029
|
+
* Response (202): { "accepted": true, "asset_link_id": "...", "force": false, "task": { "id": "...", "name": "..." } }
|
|
6030
|
+
* @returns any No response body
|
|
6031
|
+
* @throws ApiError
|
|
6032
|
+
*/
|
|
6033
|
+
static apiV1OpsCreativeWhispererAssetsExtractSignalsCreate({ assetLinkId, }: {
|
|
6034
|
+
assetLinkId: string;
|
|
6035
|
+
}): CancelablePromise<any>;
|
|
6036
|
+
/**
|
|
6037
|
+
* Trigger resonance for a single asset link.
|
|
6038
|
+
*
|
|
6039
|
+
* POST /api/v1/ops/creative-whisperer/assets/{asset_link_id}/run-resonance/
|
|
6040
|
+
* Response (202): { "accepted": true, "asset_link_id": "...", "task": { "id": "...", "name": "..." } }
|
|
6041
|
+
* @returns any No response body
|
|
6042
|
+
* @throws ApiError
|
|
6043
|
+
*/
|
|
6044
|
+
static apiV1OpsCreativeWhispererAssetsRunResonanceCreate({ assetLinkId, }: {
|
|
6045
|
+
assetLinkId: string;
|
|
6046
|
+
}): CancelablePromise<any>;
|
|
6047
|
+
/**
|
|
6048
|
+
* Fetch extracted signals for an asset link.
|
|
6049
|
+
*
|
|
6050
|
+
* GET /api/v1/ops/creative-whisperer/assets/{asset_link_id}/signals/
|
|
6051
|
+
* Response (200): { "asset_link_id": "...", "signals": {...}, "meta": {...} }
|
|
6052
|
+
* @returns any No response body
|
|
6053
|
+
* @throws ApiError
|
|
6054
|
+
*/
|
|
6055
|
+
static apiV1OpsCreativeWhispererAssetsSignalsRetrieve({ assetLinkId, }: {
|
|
6056
|
+
assetLinkId: string;
|
|
6057
|
+
}): CancelablePromise<any>;
|
|
6058
|
+
/**
|
|
6059
|
+
* List recent clusters (optionally with whispers).
|
|
6060
|
+
*
|
|
6061
|
+
* GET /api/v1/ops/creative-whisperer/clusters/?recent=1
|
|
6062
|
+
* Response (200): { "clusters": [...] }
|
|
6063
|
+
* @returns any No response body
|
|
6064
|
+
* @throws ApiError
|
|
6065
|
+
*/
|
|
6066
|
+
static apiV1OpsCreativeWhispererClustersRetrieve(): CancelablePromise<any>;
|
|
6067
|
+
/**
|
|
6068
|
+
* Debug view for a cluster: members, signals, edges, scores.
|
|
6069
|
+
*
|
|
6070
|
+
* GET /api/v1/ops/creative-whisperer/clusters/{cluster_id}/debug/
|
|
6071
|
+
* Response (200): { cluster, members, edges }
|
|
6072
|
+
* @returns any No response body
|
|
6073
|
+
* @throws ApiError
|
|
6074
|
+
*/
|
|
6075
|
+
static apiV1OpsCreativeWhispererClustersDebugRetrieve({ clusterId, }: {
|
|
6076
|
+
clusterId: string;
|
|
6077
|
+
}): CancelablePromise<any>;
|
|
6078
|
+
/**
|
|
6079
|
+
* Trigger whisper generation for a cluster.
|
|
6080
|
+
*
|
|
6081
|
+
* POST /api/v1/ops/creative-whisperer/clusters/{cluster_id}/generate-whisper/
|
|
6082
|
+
* Request: { "force": false }
|
|
6083
|
+
* Response (202): { "accepted": true }
|
|
6084
|
+
* @returns any No response body
|
|
6085
|
+
* @throws ApiError
|
|
6086
|
+
*/
|
|
6087
|
+
static apiV1OpsCreativeWhispererClustersGenerateWhisperCreate({ clusterId, }: {
|
|
6088
|
+
clusterId: string;
|
|
6089
|
+
}): CancelablePromise<any>;
|
|
6090
|
+
/**
|
|
6091
|
+
* Fetch latest whisper for a cluster.
|
|
6092
|
+
*
|
|
6093
|
+
* GET /api/v1/ops/creative-whisperer/clusters/{cluster_id}/whispers/latest/
|
|
6094
|
+
* Response (200): { "cluster_id": "...", "whisper": { ... } }
|
|
6095
|
+
* @returns any No response body
|
|
6096
|
+
* @throws ApiError
|
|
6097
|
+
*/
|
|
6098
|
+
static apiV1OpsCreativeWhispererClustersWhispersLatestRetrieve({ clusterId, }: {
|
|
6099
|
+
clusterId: string;
|
|
6100
|
+
}): CancelablePromise<any>;
|
|
6101
|
+
/**
|
|
6102
|
+
* Replay Creative Whisperer pipeline for an ingestion file (operator-only).
|
|
6103
|
+
*
|
|
6104
|
+
* POST /api/v1/ops/creative-whisperer/ingestion/{ingestion_file_id}/replay/
|
|
6105
|
+
* Response (202): { "accepted": true }
|
|
6106
|
+
* @returns any No response body
|
|
6107
|
+
* @throws ApiError
|
|
6108
|
+
*/
|
|
6109
|
+
static apiV1OpsCreativeWhispererIngestionReplayCreate({ ingestionFileId, }: {
|
|
6110
|
+
ingestionFileId: number;
|
|
6111
|
+
}): CancelablePromise<any>;
|
|
6112
|
+
/**
|
|
6113
|
+
* Trigger resonance sweep for the current tenant.
|
|
6114
|
+
*
|
|
6115
|
+
* POST /api/v1/ops/creative-whisperer/resonance/sweep/
|
|
6116
|
+
* Response (202): { "accepted": true, "task": { "id": "...", "name": "..." } }
|
|
6117
|
+
* @returns any No response body
|
|
6118
|
+
* @throws ApiError
|
|
6119
|
+
*/
|
|
6120
|
+
static apiV1OpsCreativeWhispererResonanceSweepCreate(): CancelablePromise<any>;
|
|
6121
|
+
/**
|
|
6122
|
+
* Per-tenant Firecrawl configuration for enhanced URL fetching.
|
|
6123
|
+
* GET: returns config (api_key never returned, only has_api_key).
|
|
6124
|
+
* PUT: create or update config (api_key, enabled, allowlist_domains).
|
|
6125
|
+
* @returns any No response body
|
|
6126
|
+
* @throws ApiError
|
|
6127
|
+
*/
|
|
6128
|
+
static apiV1OpsFirecrawlConfigRetrieve(): CancelablePromise<any>;
|
|
6129
|
+
/**
|
|
6130
|
+
* Per-tenant Firecrawl configuration for enhanced URL fetching.
|
|
6131
|
+
* GET: returns config (api_key never returned, only has_api_key).
|
|
6132
|
+
* PUT: create or update config (api_key, enabled, allowlist_domains).
|
|
6133
|
+
* @returns any No response body
|
|
6134
|
+
* @throws ApiError
|
|
6135
|
+
*/
|
|
6136
|
+
static apiV1OpsFirecrawlConfigUpdate(): CancelablePromise<any>;
|
|
5128
6137
|
/**
|
|
5129
6138
|
* Return health rollup.
|
|
5130
6139
|
* @returns any No response body
|
|
@@ -5162,6 +6171,12 @@ export declare class ApiService {
|
|
|
5162
6171
|
* Reuses IdentityIngestionFile model; list/detail/create/PATCH title/reanalyze.
|
|
5163
6172
|
* Create: multipart (file + title?), JSON {kind:"text", title?, text}, JSON {kind:"url", title?, url}.
|
|
5164
6173
|
* Gate: staff / tenant-admin (ops.read / ops.write).
|
|
6174
|
+
*
|
|
6175
|
+
* List/retrieve scoping:
|
|
6176
|
+
* - Property: required. Resolved from request.property, PropertyApiKey.property, or X-Property header.
|
|
6177
|
+
* If no active property, returns empty list.
|
|
6178
|
+
* - User (StudioOps): when request has a real user (JWT/session) or X-Act-As-User-Id (API key only),
|
|
6179
|
+
* filter by uploaded_by so callers see only their own artifacts.
|
|
5165
6180
|
* @returns OpsIngestionFile
|
|
5166
6181
|
* @throws ApiError
|
|
5167
6182
|
*/
|
|
@@ -5171,6 +6186,12 @@ export declare class ApiService {
|
|
|
5171
6186
|
* Reuses IdentityIngestionFile model; list/detail/create/PATCH title/reanalyze.
|
|
5172
6187
|
* Create: multipart (file + title?), JSON {kind:"text", title?, text}, JSON {kind:"url", title?, url}.
|
|
5173
6188
|
* Gate: staff / tenant-admin (ops.read / ops.write).
|
|
6189
|
+
*
|
|
6190
|
+
* List/retrieve scoping:
|
|
6191
|
+
* - Property: required. Resolved from request.property, PropertyApiKey.property, or X-Property header.
|
|
6192
|
+
* If no active property, returns empty list.
|
|
6193
|
+
* - User (StudioOps): when request has a real user (JWT/session) or X-Act-As-User-Id (API key only),
|
|
6194
|
+
* filter by uploaded_by so callers see only their own artifacts.
|
|
5174
6195
|
* @returns OpsIngestionFile
|
|
5175
6196
|
* @throws ApiError
|
|
5176
6197
|
*/
|
|
@@ -5182,6 +6203,12 @@ export declare class ApiService {
|
|
|
5182
6203
|
* Reuses IdentityIngestionFile model; list/detail/create/PATCH title/reanalyze.
|
|
5183
6204
|
* Create: multipart (file + title?), JSON {kind:"text", title?, text}, JSON {kind:"url", title?, url}.
|
|
5184
6205
|
* Gate: staff / tenant-admin (ops.read / ops.write).
|
|
6206
|
+
*
|
|
6207
|
+
* List/retrieve scoping:
|
|
6208
|
+
* - Property: required. Resolved from request.property, PropertyApiKey.property, or X-Property header.
|
|
6209
|
+
* If no active property, returns empty list.
|
|
6210
|
+
* - User (StudioOps): when request has a real user (JWT/session) or X-Act-As-User-Id (API key only),
|
|
6211
|
+
* filter by uploaded_by so callers see only their own artifacts.
|
|
5185
6212
|
* @returns OpsIngestionFile
|
|
5186
6213
|
* @throws ApiError
|
|
5187
6214
|
*/
|
|
@@ -5193,6 +6220,12 @@ export declare class ApiService {
|
|
|
5193
6220
|
* Reuses IdentityIngestionFile model; list/detail/create/PATCH title/reanalyze.
|
|
5194
6221
|
* Create: multipart (file + title?), JSON {kind:"text", title?, text}, JSON {kind:"url", title?, url}.
|
|
5195
6222
|
* Gate: staff / tenant-admin (ops.read / ops.write).
|
|
6223
|
+
*
|
|
6224
|
+
* List/retrieve scoping:
|
|
6225
|
+
* - Property: required. Resolved from request.property, PropertyApiKey.property, or X-Property header.
|
|
6226
|
+
* If no active property, returns empty list.
|
|
6227
|
+
* - User (StudioOps): when request has a real user (JWT/session) or X-Act-As-User-Id (API key only),
|
|
6228
|
+
* filter by uploaded_by so callers see only their own artifacts.
|
|
5196
6229
|
* @returns OpsIngestionFile
|
|
5197
6230
|
* @throws ApiError
|
|
5198
6231
|
*/
|
|
@@ -5200,6 +6233,15 @@ export declare class ApiService {
|
|
|
5200
6233
|
id: number;
|
|
5201
6234
|
requestBody?: PatchedOpsIngestionFile;
|
|
5202
6235
|
}): CancelablePromise<OpsIngestionFile>;
|
|
6236
|
+
/**
|
|
6237
|
+
* Soft-delete (archive) any ingestion file. Sets archived_at and archived_by.
|
|
6238
|
+
* @returns OpsIngestionFile
|
|
6239
|
+
* @throws ApiError
|
|
6240
|
+
*/
|
|
6241
|
+
static apiV1OpsIngestionFilesArchiveCreate({ id, requestBody, }: {
|
|
6242
|
+
id: number;
|
|
6243
|
+
requestBody?: OpsIngestionFile;
|
|
6244
|
+
}): CancelablePromise<OpsIngestionFile>;
|
|
5203
6245
|
/**
|
|
5204
6246
|
* Archive a MANUAL item (manual_queue_status=archived).
|
|
5205
6247
|
* @returns OpsIngestionFile
|
|
@@ -5229,7 +6271,7 @@ export declare class ApiService {
|
|
|
5229
6271
|
requestBody?: OpsIngestionFile;
|
|
5230
6272
|
}): CancelablePromise<OpsIngestionFile>;
|
|
5231
6273
|
/**
|
|
5232
|
-
* Enqueue
|
|
6274
|
+
* Enqueue analysis chain. Audio: transcribe+analyze. URL/text/pdf: analyze_extracted_text. Returns 202.
|
|
5233
6275
|
* @returns OpsIngestionFile
|
|
5234
6276
|
* @throws ApiError
|
|
5235
6277
|
*/
|
|
@@ -5246,6 +6288,55 @@ export declare class ApiService {
|
|
|
5246
6288
|
static apiV1OpsIngestionFilesSimilarRetrieve({ id, }: {
|
|
5247
6289
|
id: number;
|
|
5248
6290
|
}): CancelablePromise<OpsIngestionFile>;
|
|
6291
|
+
/**
|
|
6292
|
+
* Restore an archived ingestion file.
|
|
6293
|
+
* @returns OpsIngestionFile
|
|
6294
|
+
* @throws ApiError
|
|
6295
|
+
*/
|
|
6296
|
+
static apiV1OpsIngestionFilesUnarchiveCreate({ id, requestBody, }: {
|
|
6297
|
+
id: number;
|
|
6298
|
+
requestBody?: OpsIngestionFile;
|
|
6299
|
+
}): CancelablePromise<OpsIngestionFile>;
|
|
6300
|
+
/**
|
|
6301
|
+
* Dedicated URL ingestion: create and reanalyze only.
|
|
6302
|
+
* POST /api/v1/ops/ingestion/urls/ — create with { url } (optional title, surface)
|
|
6303
|
+
* POST /api/v1/ops/ingestion/urls/<id>/reanalyze/ — re-run fetch + analysis (409 if running).
|
|
6304
|
+
* Same model and pipeline as file ingestion; ops.read / ops.write enforced.
|
|
6305
|
+
* @returns OpsIngestionFile
|
|
6306
|
+
* @throws ApiError
|
|
6307
|
+
*/
|
|
6308
|
+
static apiV1OpsIngestionUrlsList(): CancelablePromise<Array<OpsIngestionFile>>;
|
|
6309
|
+
/**
|
|
6310
|
+
* Dedicated URL ingestion: create and reanalyze only.
|
|
6311
|
+
* POST /api/v1/ops/ingestion/urls/ — create with { url } (optional title, surface)
|
|
6312
|
+
* POST /api/v1/ops/ingestion/urls/<id>/reanalyze/ — re-run fetch + analysis (409 if running).
|
|
6313
|
+
* Same model and pipeline as file ingestion; ops.read / ops.write enforced.
|
|
6314
|
+
* @returns OpsIngestionFile
|
|
6315
|
+
* @throws ApiError
|
|
6316
|
+
*/
|
|
6317
|
+
static apiV1OpsIngestionUrlsCreate({ requestBody, }: {
|
|
6318
|
+
requestBody?: OpsIngestionFile;
|
|
6319
|
+
}): CancelablePromise<OpsIngestionFile>;
|
|
6320
|
+
/**
|
|
6321
|
+
* Dedicated URL ingestion: create and reanalyze only.
|
|
6322
|
+
* POST /api/v1/ops/ingestion/urls/ — create with { url } (optional title, surface)
|
|
6323
|
+
* POST /api/v1/ops/ingestion/urls/<id>/reanalyze/ — re-run fetch + analysis (409 if running).
|
|
6324
|
+
* Same model and pipeline as file ingestion; ops.read / ops.write enforced.
|
|
6325
|
+
* @returns OpsIngestionFile
|
|
6326
|
+
* @throws ApiError
|
|
6327
|
+
*/
|
|
6328
|
+
static apiV1OpsIngestionUrlsRetrieve({ id, }: {
|
|
6329
|
+
id: number;
|
|
6330
|
+
}): CancelablePromise<OpsIngestionFile>;
|
|
6331
|
+
/**
|
|
6332
|
+
* Re-run fetch + analysis for this URL ingestion. Returns 409 if analysis already running.
|
|
6333
|
+
* @returns OpsIngestionFile
|
|
6334
|
+
* @throws ApiError
|
|
6335
|
+
*/
|
|
6336
|
+
static apiV1OpsIngestionUrlsReanalyzeCreate({ id, requestBody, }: {
|
|
6337
|
+
id: number;
|
|
6338
|
+
requestBody?: OpsIngestionFile;
|
|
6339
|
+
}): CancelablePromise<OpsIngestionFile>;
|
|
5249
6340
|
/**
|
|
5250
6341
|
* Internal-only view for viewing momentum outcomes.
|
|
5251
6342
|
*
|
|
@@ -5281,6 +6372,55 @@ export declare class ApiService {
|
|
|
5281
6372
|
* @throws ApiError
|
|
5282
6373
|
*/
|
|
5283
6374
|
static apiV1OpsMomentumOutcomesSummaryRetrieve(): CancelablePromise<MomentumOutcome>;
|
|
6375
|
+
/**
|
|
6376
|
+
* GET/PATCH /api/v1/ops/properties/{property_id}/email-branding/
|
|
6377
|
+
* Get or update property email branding (stored in metadata["email"]).
|
|
6378
|
+
* @returns any No response body
|
|
6379
|
+
* @throws ApiError
|
|
6380
|
+
*/
|
|
6381
|
+
static apiV1OpsPropertiesEmailBrandingRetrieve({ propertyId, }: {
|
|
6382
|
+
propertyId: number;
|
|
6383
|
+
}): CancelablePromise<any>;
|
|
6384
|
+
/**
|
|
6385
|
+
* GET/PATCH /api/v1/ops/properties/{property_id}/email-branding/
|
|
6386
|
+
* Get or update property email branding (stored in metadata["email"]).
|
|
6387
|
+
* @returns any No response body
|
|
6388
|
+
* @throws ApiError
|
|
6389
|
+
*/
|
|
6390
|
+
static apiV1OpsPropertiesEmailBrandingPartialUpdate({ propertyId, }: {
|
|
6391
|
+
propertyId: number;
|
|
6392
|
+
}): CancelablePromise<any>;
|
|
6393
|
+
/**
|
|
6394
|
+
* POST /api/v1/ops/properties/{property_id}/email-branding/preview-password-reset/
|
|
6395
|
+
* Returns subject + html for password reset email (no email sent).
|
|
6396
|
+
* @returns any No response body
|
|
6397
|
+
* @throws ApiError
|
|
6398
|
+
*/
|
|
6399
|
+
static apiV1OpsPropertiesEmailBrandingPreviewPasswordResetCreate({ propertyId, }: {
|
|
6400
|
+
propertyId: number;
|
|
6401
|
+
}): CancelablePromise<any>;
|
|
6402
|
+
/**
|
|
6403
|
+
* POST /api/v1/ops/properties/{property_id}/email-branding/send-test-password-reset/
|
|
6404
|
+
* Body: { "to_email": "admin@example.com" }. Sends a test password reset email (link is non-functional).
|
|
6405
|
+
* @returns any No response body
|
|
6406
|
+
* @throws ApiError
|
|
6407
|
+
*/
|
|
6408
|
+
static apiV1OpsPropertiesEmailBrandingSendTestPasswordResetCreate({ propertyId, }: {
|
|
6409
|
+
propertyId: number;
|
|
6410
|
+
}): CancelablePromise<any>;
|
|
6411
|
+
/**
|
|
6412
|
+
* Provision Sanity CMS for a property: create datasets, return receipt, enqueue seed if requested.
|
|
6413
|
+
*
|
|
6414
|
+
* POST /api/v1/ops/provision/sanity-property
|
|
6415
|
+
*
|
|
6416
|
+
* Request body: tenant_id (optional), property { slug, name, type, primary_domain },
|
|
6417
|
+
* environments, shopify { store_domain, connect_now }, seed { enabled, preset }.
|
|
6418
|
+
* Creates datasets via Sanity Management API; returns receipt; enqueues seed task when seed.enabled.
|
|
6419
|
+
* Property must exist in the current tenant (slug). See docs/features/generic-sanity-provisioning.md.
|
|
6420
|
+
* @returns any No response body
|
|
6421
|
+
* @throws ApiError
|
|
6422
|
+
*/
|
|
6423
|
+
static apiV1OpsProvisionSanityPropertyCreate(): CancelablePromise<any>;
|
|
5284
6424
|
/**
|
|
5285
6425
|
* Regenerate AI seed draft for a property's staging dataset only.
|
|
5286
6426
|
*
|
|
@@ -5576,12 +6716,38 @@ export declare class ApiService {
|
|
|
5576
6716
|
*/
|
|
5577
6717
|
id: number;
|
|
5578
6718
|
}): CancelablePromise<void>;
|
|
6719
|
+
/**
|
|
6720
|
+
* GET/PATCH /api/v1/ops/tenant/settings/ai/
|
|
6721
|
+
* Get or update tenant AI mode and optional model overrides.
|
|
6722
|
+
* @returns any No response body
|
|
6723
|
+
* @throws ApiError
|
|
6724
|
+
*/
|
|
6725
|
+
static apiV1OpsTenantSettingsAiRetrieve(): CancelablePromise<any>;
|
|
6726
|
+
/**
|
|
6727
|
+
* GET/PATCH /api/v1/ops/tenant/settings/ai/
|
|
6728
|
+
* Get or update tenant AI mode and optional model overrides.
|
|
6729
|
+
* @returns any No response body
|
|
6730
|
+
* @throws ApiError
|
|
6731
|
+
*/
|
|
6732
|
+
static apiV1OpsTenantSettingsAiPartialUpdate(): CancelablePromise<any>;
|
|
5579
6733
|
/**
|
|
5580
6734
|
* Return this week's operational summary.
|
|
5581
6735
|
* @returns any No response body
|
|
5582
6736
|
* @throws ApiError
|
|
5583
6737
|
*/
|
|
5584
|
-
static apiV1OpsThisWeekRetrieve(): CancelablePromise<any>;
|
|
6738
|
+
static apiV1OpsThisWeekRetrieve(): CancelablePromise<any>;
|
|
6739
|
+
/**
|
|
6740
|
+
* Trigger generation of a daily trend report for a surface.
|
|
6741
|
+
*
|
|
6742
|
+
* POST /api/v1/ops/trends/reports/generate/
|
|
6743
|
+
* Body: { "surface_slug": "heirloom-supply-store" }
|
|
6744
|
+
*
|
|
6745
|
+
* Enqueues a Celery task and returns 202 Accepted.
|
|
6746
|
+
* Requires daily_trend_report feature flag for the surface.
|
|
6747
|
+
* @returns any No response body
|
|
6748
|
+
* @throws ApiError
|
|
6749
|
+
*/
|
|
6750
|
+
static apiV1OpsTrendsReportsGenerateCreate(): CancelablePromise<any>;
|
|
5585
6751
|
/**
|
|
5586
6752
|
* ViewSet for managing properties.
|
|
5587
6753
|
*
|
|
@@ -6263,6 +7429,378 @@ export declare class ApiService {
|
|
|
6263
7429
|
* @throws ApiError
|
|
6264
7430
|
*/
|
|
6265
7431
|
static apiV1SettingsLlmPartialUpdate(): CancelablePromise<any>;
|
|
7432
|
+
/**
|
|
7433
|
+
* POST /api/v1/studioops/bloom-v2/model-assisted/chat-completion/
|
|
7434
|
+
*
|
|
7435
|
+
* Bounded JSON chat completion for Bloom V2 model-assisted interpretation.
|
|
7436
|
+
* Uses LevrOps central AI router (tenant keys / Vercel gateway per tenant ai_mode).
|
|
7437
|
+
*
|
|
7438
|
+
* Body: { "messages": [ {"role": "system"|"user"|"assistant", "content": "<str>"}, ... ], "model_key": "<optional registry key>" }
|
|
7439
|
+
* Response: { "content": "<assistant text>", "model_id": "<provider model id>", "usage": {...} }
|
|
7440
|
+
* @returns any No response body
|
|
7441
|
+
* @throws ApiError
|
|
7442
|
+
*/
|
|
7443
|
+
static apiV1StudioopsBloomV2ModelAssistedChatCompletionCreate(): CancelablePromise<any>;
|
|
7444
|
+
/**
|
|
7445
|
+
* POST /api/v1/studioops/bloom-v2/model-assisted/chat-completion/
|
|
7446
|
+
*
|
|
7447
|
+
* Bounded JSON chat completion for Bloom V2 model-assisted interpretation.
|
|
7448
|
+
* Uses LevrOps central AI router (tenant keys / Vercel gateway per tenant ai_mode).
|
|
7449
|
+
*
|
|
7450
|
+
* Body: { "messages": [ {"role": "system"|"user"|"assistant", "content": "<str>"}, ... ], "model_key": "<optional registry key>" }
|
|
7451
|
+
* Response: { "content": "<assistant text>", "model_id": "<provider model id>", "usage": {...} }
|
|
7452
|
+
* @returns any No response body
|
|
7453
|
+
* @throws ApiError
|
|
7454
|
+
*/
|
|
7455
|
+
static apiV1StudioopsBloomV2ModelAssistedChatCompletionCreate2(): CancelablePromise<any>;
|
|
7456
|
+
/**
|
|
7457
|
+
* GET/POST /api/v1/conversations/ (canonical) or /api/v1/studioops/conversations/ (deprecated).
|
|
7458
|
+
* List or create conversations. Cursor pagination: limit, cursor (optional).
|
|
7459
|
+
* @returns any No response body
|
|
7460
|
+
* @throws ApiError
|
|
7461
|
+
*/
|
|
7462
|
+
static apiV1StudioopsConversationsRetrieve(): CancelablePromise<any>;
|
|
7463
|
+
/**
|
|
7464
|
+
* GET/POST /api/v1/conversations/ (canonical) or /api/v1/studioops/conversations/ (deprecated).
|
|
7465
|
+
* List or create conversations. Cursor pagination: limit, cursor (optional).
|
|
7466
|
+
* @returns any No response body
|
|
7467
|
+
* @throws ApiError
|
|
7468
|
+
*/
|
|
7469
|
+
static apiV1StudioopsConversationsCreate(): CancelablePromise<any>;
|
|
7470
|
+
/**
|
|
7471
|
+
* GET/PATCH /api/v1/conversations/{id}/ (canonical) or .../studioops/conversations/{id}/ (deprecated).
|
|
7472
|
+
* Returns 404 if conversation not owned by effective user in active property.
|
|
7473
|
+
* @returns any No response body
|
|
7474
|
+
* @throws ApiError
|
|
7475
|
+
*/
|
|
7476
|
+
static apiV1StudioopsConversationsRetrieve2({ id, }: {
|
|
7477
|
+
id: string;
|
|
7478
|
+
}): CancelablePromise<any>;
|
|
7479
|
+
/**
|
|
7480
|
+
* PATCH /api/v1/studioops/conversations/{id}/
|
|
7481
|
+
* Update title and/or metadata only. Property, created_by, cluster_id are immutable.
|
|
7482
|
+
* Returns 404 if conversation not owned by effective user in active property.
|
|
7483
|
+
* @returns any No response body
|
|
7484
|
+
* @throws ApiError
|
|
7485
|
+
*/
|
|
7486
|
+
static apiV1StudioopsConversationsPartialUpdate({ id, }: {
|
|
7487
|
+
id: string;
|
|
7488
|
+
}): CancelablePromise<any>;
|
|
7489
|
+
/**
|
|
7490
|
+
* GET/POST /api/v1/conversations/{id}/messages/ (canonical) or .../studioops/... (deprecated).
|
|
7491
|
+
* Security: conversation is resolved first with property+user scope (and feature-flag check).
|
|
7492
|
+
* If not found (other user's conversation or invalid id): 404. Never return an empty list
|
|
7493
|
+
* for a non-owned conversation to avoid leaking existence.
|
|
7494
|
+
* @returns any No response body
|
|
7495
|
+
* @throws ApiError
|
|
7496
|
+
*/
|
|
7497
|
+
static apiV1StudioopsConversationsMessagesRetrieve({ id, }: {
|
|
7498
|
+
id: string;
|
|
7499
|
+
}): CancelablePromise<any>;
|
|
7500
|
+
/**
|
|
7501
|
+
* GET/POST /api/v1/conversations/{id}/messages/ (canonical) or .../studioops/... (deprecated).
|
|
7502
|
+
* Security: conversation is resolved first with property+user scope (and feature-flag check).
|
|
7503
|
+
* If not found (other user's conversation or invalid id): 404. Never return an empty list
|
|
7504
|
+
* for a non-owned conversation to avoid leaking existence.
|
|
7505
|
+
* @returns any No response body
|
|
7506
|
+
* @throws ApiError
|
|
7507
|
+
*/
|
|
7508
|
+
static apiV1StudioopsConversationsMessagesCreate({ id, }: {
|
|
7509
|
+
id: string;
|
|
7510
|
+
}): CancelablePromise<any>;
|
|
7511
|
+
/**
|
|
7512
|
+
* DELETE /api/v1/conversations/{id}/messages/{message_id}/ (canonical) or .../studioops/... (deprecated).
|
|
7513
|
+
* Soft-delete a message (iOS-style). Sets deleted_at and optionally deleted_by.
|
|
7514
|
+
* 404 if message not in conversation/property/tenant scope. Returns 204 No Content.
|
|
7515
|
+
* @returns void
|
|
7516
|
+
* @throws ApiError
|
|
7517
|
+
*/
|
|
7518
|
+
static apiV1StudioopsConversationsMessagesDestroy({ id, messageId, }: {
|
|
7519
|
+
id: string;
|
|
7520
|
+
messageId: string;
|
|
7521
|
+
}): CancelablePromise<void>;
|
|
7522
|
+
/**
|
|
7523
|
+
* POST /api/v1/conversations/{id}/messages/{message_id}/render-audio/ (canonical) or .../studioops/... (deprecated).
|
|
7524
|
+
* Resolve conversation + message via property + user scoping. 404 if not owned or flag disabled.
|
|
7525
|
+
* Sets audio.status = "queued" and enqueues voice rendering task. Optional ?force=1 to regenerate.
|
|
7526
|
+
* Returns 202 Accepted with updated message.
|
|
7527
|
+
* @returns any No response body
|
|
7528
|
+
* @throws ApiError
|
|
7529
|
+
*/
|
|
7530
|
+
static apiV1StudioopsConversationsMessagesRenderAudioCreate({ id, messageId, }: {
|
|
7531
|
+
id: string;
|
|
7532
|
+
messageId: string;
|
|
7533
|
+
}): CancelablePromise<any>;
|
|
7534
|
+
/**
|
|
7535
|
+
* ViewSet for listing and creating SurfaceVersions under a surface.
|
|
7536
|
+
* GET/POST /api/v1/surfaces/{surface_id}/versions/
|
|
7537
|
+
* GET /api/v1/surface-versions/{version_id}/
|
|
7538
|
+
* @returns SurfaceVersion
|
|
7539
|
+
* @throws ApiError
|
|
7540
|
+
*/
|
|
7541
|
+
static apiV1SurfaceVersionsList(): CancelablePromise<Array<SurfaceVersion>>;
|
|
7542
|
+
/**
|
|
7543
|
+
* ViewSet for listing and creating SurfaceVersions under a surface.
|
|
7544
|
+
* GET/POST /api/v1/surfaces/{surface_id}/versions/
|
|
7545
|
+
* GET /api/v1/surface-versions/{version_id}/
|
|
7546
|
+
* @returns SurfaceVersionCreate
|
|
7547
|
+
* @throws ApiError
|
|
7548
|
+
*/
|
|
7549
|
+
static apiV1SurfaceVersionsCreate({ requestBody, }: {
|
|
7550
|
+
requestBody?: SurfaceVersionCreate;
|
|
7551
|
+
}): CancelablePromise<SurfaceVersionCreate>;
|
|
7552
|
+
/**
|
|
7553
|
+
* ViewSet for listing and creating SurfaceVersions under a surface.
|
|
7554
|
+
* GET/POST /api/v1/surfaces/{surface_id}/versions/
|
|
7555
|
+
* GET /api/v1/surface-versions/{version_id}/
|
|
7556
|
+
* @returns SurfaceVersion
|
|
7557
|
+
* @throws ApiError
|
|
7558
|
+
*/
|
|
7559
|
+
static apiV1SurfaceVersionsRetrieve({ id, }: {
|
|
7560
|
+
/**
|
|
7561
|
+
* A UUID string identifying this surface version.
|
|
7562
|
+
*/
|
|
7563
|
+
id: string;
|
|
7564
|
+
}): CancelablePromise<SurfaceVersion>;
|
|
7565
|
+
/**
|
|
7566
|
+
* Promote version to LIVE. POST /api/v1/surface-versions/{id}/promote/
|
|
7567
|
+
* @returns SurfaceVersion
|
|
7568
|
+
* @throws ApiError
|
|
7569
|
+
*/
|
|
7570
|
+
static apiV1SurfaceVersionsPromoteCreate({ id, requestBody, }: {
|
|
7571
|
+
/**
|
|
7572
|
+
* A UUID string identifying this surface version.
|
|
7573
|
+
*/
|
|
7574
|
+
id: string;
|
|
7575
|
+
requestBody: SurfaceVersion;
|
|
7576
|
+
}): CancelablePromise<SurfaceVersion>;
|
|
7577
|
+
/**
|
|
7578
|
+
* Sync env vars to deployment project. POST /api/v1/surface-versions/{id}/sync-env/
|
|
7579
|
+
* @returns SurfaceVersion
|
|
7580
|
+
* @throws ApiError
|
|
7581
|
+
*/
|
|
7582
|
+
static apiV1SurfaceVersionsSyncEnvCreate({ id, requestBody, }: {
|
|
7583
|
+
/**
|
|
7584
|
+
* A UUID string identifying this surface version.
|
|
7585
|
+
*/
|
|
7586
|
+
id: string;
|
|
7587
|
+
requestBody: SurfaceVersion;
|
|
7588
|
+
}): CancelablePromise<SurfaceVersion>;
|
|
7589
|
+
/**
|
|
7590
|
+
* Read-only ViewSet for artifacts under a surface version.
|
|
7591
|
+
* GET /api/v1/surface-versions/{version_id}/artifacts/
|
|
7592
|
+
* GET /api/v1/surface-versions/{version_id}/artifacts/{artifact_id}/
|
|
7593
|
+
* @returns SurfaceVersionArtifact
|
|
7594
|
+
* @throws ApiError
|
|
7595
|
+
*/
|
|
7596
|
+
static apiV1SurfaceVersionsArtifactsList({ versionId, }: {
|
|
7597
|
+
versionId: string;
|
|
7598
|
+
}): CancelablePromise<Array<SurfaceVersionArtifact>>;
|
|
7599
|
+
/**
|
|
7600
|
+
* Read-only ViewSet for artifacts under a surface version.
|
|
7601
|
+
* GET /api/v1/surface-versions/{version_id}/artifacts/
|
|
7602
|
+
* GET /api/v1/surface-versions/{version_id}/artifacts/{artifact_id}/
|
|
7603
|
+
* @returns SurfaceVersionArtifact
|
|
7604
|
+
* @throws ApiError
|
|
7605
|
+
*/
|
|
7606
|
+
static apiV1SurfaceVersionsArtifactsRetrieve({ id, versionId, }: {
|
|
7607
|
+
/**
|
|
7608
|
+
* A UUID string identifying this surface version artifact.
|
|
7609
|
+
*/
|
|
7610
|
+
id: string;
|
|
7611
|
+
versionId: string;
|
|
7612
|
+
}): CancelablePromise<SurfaceVersionArtifact>;
|
|
7613
|
+
/**
|
|
7614
|
+
* ViewSet for launch runs under a surface version.
|
|
7615
|
+
* POST /api/v1/surface-versions/{version_id}/launch-runs/
|
|
7616
|
+
* GET /api/v1/surface-versions/{version_id}/launch-runs/
|
|
7617
|
+
* GET /api/v1/version-launch-runs/{run_id}/
|
|
7618
|
+
* POST /api/v1/version-launch-runs/{run_id}/retry/
|
|
7619
|
+
* @returns VersionLaunchRun
|
|
7620
|
+
* @throws ApiError
|
|
7621
|
+
*/
|
|
7622
|
+
static apiV1SurfaceVersionsLaunchRunsList({ versionId, }: {
|
|
7623
|
+
versionId: string;
|
|
7624
|
+
}): CancelablePromise<Array<VersionLaunchRun>>;
|
|
7625
|
+
/**
|
|
7626
|
+
* ViewSet for launch runs under a surface version.
|
|
7627
|
+
* POST /api/v1/surface-versions/{version_id}/launch-runs/
|
|
7628
|
+
* GET /api/v1/surface-versions/{version_id}/launch-runs/
|
|
7629
|
+
* GET /api/v1/version-launch-runs/{run_id}/
|
|
7630
|
+
* POST /api/v1/version-launch-runs/{run_id}/retry/
|
|
7631
|
+
* @returns VersionLaunchRunCreate
|
|
7632
|
+
* @throws ApiError
|
|
7633
|
+
*/
|
|
7634
|
+
static apiV1SurfaceVersionsLaunchRunsCreate({ versionId, requestBody, }: {
|
|
7635
|
+
versionId: string;
|
|
7636
|
+
requestBody: VersionLaunchRunCreate;
|
|
7637
|
+
}): CancelablePromise<VersionLaunchRunCreate>;
|
|
7638
|
+
/**
|
|
7639
|
+
* ViewSet for launch runs under a surface version.
|
|
7640
|
+
* POST /api/v1/surface-versions/{version_id}/launch-runs/
|
|
7641
|
+
* GET /api/v1/surface-versions/{version_id}/launch-runs/
|
|
7642
|
+
* GET /api/v1/version-launch-runs/{run_id}/
|
|
7643
|
+
* POST /api/v1/version-launch-runs/{run_id}/retry/
|
|
7644
|
+
* @returns VersionLaunchRun
|
|
7645
|
+
* @throws ApiError
|
|
7646
|
+
*/
|
|
7647
|
+
static apiV1SurfaceVersionsLaunchRunsRetrieve({ id, versionId, }: {
|
|
7648
|
+
/**
|
|
7649
|
+
* A UUID string identifying this version launch run.
|
|
7650
|
+
*/
|
|
7651
|
+
id: string;
|
|
7652
|
+
versionId: string;
|
|
7653
|
+
}): CancelablePromise<VersionLaunchRun>;
|
|
7654
|
+
/**
|
|
7655
|
+
* Create a new run as retry of a failed run.
|
|
7656
|
+
* @returns VersionLaunchRun
|
|
7657
|
+
* @throws ApiError
|
|
7658
|
+
*/
|
|
7659
|
+
static apiV1SurfaceVersionsLaunchRunsRetryCreate({ id, versionId, requestBody, }: {
|
|
7660
|
+
/**
|
|
7661
|
+
* A UUID string identifying this version launch run.
|
|
7662
|
+
*/
|
|
7663
|
+
id: string;
|
|
7664
|
+
versionId: string;
|
|
7665
|
+
requestBody: VersionLaunchRun;
|
|
7666
|
+
}): CancelablePromise<VersionLaunchRun>;
|
|
7667
|
+
/**
|
|
7668
|
+
* List/create/update config vars for a surface.
|
|
7669
|
+
* GET /api/v1/surfaces/{surface_id}/config-vars/ — values redacted
|
|
7670
|
+
* POST /api/v1/surfaces/{surface_id}/config-vars/ — create/update
|
|
7671
|
+
* @returns SurfaceConfigVarCreate
|
|
7672
|
+
* @throws ApiError
|
|
7673
|
+
*/
|
|
7674
|
+
static apiV1SurfacesConfigVarsList({ surfaceId, }: {
|
|
7675
|
+
surfaceId: number;
|
|
7676
|
+
}): CancelablePromise<Array<SurfaceConfigVarCreate>>;
|
|
7677
|
+
/**
|
|
7678
|
+
* List/create/update config vars for a surface.
|
|
7679
|
+
* GET /api/v1/surfaces/{surface_id}/config-vars/ — values redacted
|
|
7680
|
+
* POST /api/v1/surfaces/{surface_id}/config-vars/ — create/update
|
|
7681
|
+
* @returns SurfaceConfigVarCreate
|
|
7682
|
+
* @throws ApiError
|
|
7683
|
+
*/
|
|
7684
|
+
static apiV1SurfacesConfigVarsCreate({ surfaceId, requestBody, }: {
|
|
7685
|
+
surfaceId: number;
|
|
7686
|
+
requestBody: SurfaceConfigVarCreate;
|
|
7687
|
+
}): CancelablePromise<SurfaceConfigVarCreate>;
|
|
7688
|
+
/**
|
|
7689
|
+
* List/create/update config vars for a surface.
|
|
7690
|
+
* GET /api/v1/surfaces/{surface_id}/config-vars/ — values redacted
|
|
7691
|
+
* POST /api/v1/surfaces/{surface_id}/config-vars/ — create/update
|
|
7692
|
+
* @returns SurfaceConfigVarCreate
|
|
7693
|
+
* @throws ApiError
|
|
7694
|
+
*/
|
|
7695
|
+
static apiV1SurfacesConfigVarsRetrieve({ id, surfaceId, }: {
|
|
7696
|
+
/**
|
|
7697
|
+
* A UUID string identifying this surface config var.
|
|
7698
|
+
*/
|
|
7699
|
+
id: string;
|
|
7700
|
+
surfaceId: number;
|
|
7701
|
+
}): CancelablePromise<SurfaceConfigVarCreate>;
|
|
7702
|
+
/**
|
|
7703
|
+
* List/create/update config vars for a surface.
|
|
7704
|
+
* GET /api/v1/surfaces/{surface_id}/config-vars/ — values redacted
|
|
7705
|
+
* POST /api/v1/surfaces/{surface_id}/config-vars/ — create/update
|
|
7706
|
+
* @returns SurfaceConfigVarCreate
|
|
7707
|
+
* @throws ApiError
|
|
7708
|
+
*/
|
|
7709
|
+
static apiV1SurfacesConfigVarsUpdate({ id, surfaceId, requestBody, }: {
|
|
7710
|
+
/**
|
|
7711
|
+
* A UUID string identifying this surface config var.
|
|
7712
|
+
*/
|
|
7713
|
+
id: string;
|
|
7714
|
+
surfaceId: number;
|
|
7715
|
+
requestBody: SurfaceConfigVarCreate;
|
|
7716
|
+
}): CancelablePromise<SurfaceConfigVarCreate>;
|
|
7717
|
+
/**
|
|
7718
|
+
* List/create/update config vars for a surface.
|
|
7719
|
+
* GET /api/v1/surfaces/{surface_id}/config-vars/ — values redacted
|
|
7720
|
+
* POST /api/v1/surfaces/{surface_id}/config-vars/ — create/update
|
|
7721
|
+
* @returns SurfaceConfigVarCreate
|
|
7722
|
+
* @throws ApiError
|
|
7723
|
+
*/
|
|
7724
|
+
static apiV1SurfacesConfigVarsPartialUpdate({ id, surfaceId, requestBody, }: {
|
|
7725
|
+
/**
|
|
7726
|
+
* A UUID string identifying this surface config var.
|
|
7727
|
+
*/
|
|
7728
|
+
id: string;
|
|
7729
|
+
surfaceId: number;
|
|
7730
|
+
requestBody?: PatchedSurfaceConfigVarCreate;
|
|
7731
|
+
}): CancelablePromise<SurfaceConfigVarCreate>;
|
|
7732
|
+
/**
|
|
7733
|
+
* List DomainBindings (history) for a surface.
|
|
7734
|
+
* GET /api/v1/surfaces/{surface_id}/domain-bindings/
|
|
7735
|
+
* @returns DomainBinding
|
|
7736
|
+
* @throws ApiError
|
|
7737
|
+
*/
|
|
7738
|
+
static apiV1SurfacesDomainBindingsList({ surfaceId, }: {
|
|
7739
|
+
surfaceId: string;
|
|
7740
|
+
}): CancelablePromise<Array<DomainBinding>>;
|
|
7741
|
+
/**
|
|
7742
|
+
* List DomainBindings (history) for a surface.
|
|
7743
|
+
* GET /api/v1/surfaces/{surface_id}/domain-bindings/
|
|
7744
|
+
* @returns DomainBinding
|
|
7745
|
+
* @throws ApiError
|
|
7746
|
+
*/
|
|
7747
|
+
static apiV1SurfacesDomainBindingsRetrieve({ id, surfaceId, }: {
|
|
7748
|
+
/**
|
|
7749
|
+
* A UUID string identifying this domain binding.
|
|
7750
|
+
*/
|
|
7751
|
+
id: string;
|
|
7752
|
+
surfaceId: string;
|
|
7753
|
+
}): CancelablePromise<DomainBinding>;
|
|
7754
|
+
/**
|
|
7755
|
+
* List/create SurfaceDomains for a surface.
|
|
7756
|
+
* GET/POST /api/v1/surfaces/{surface_id}/domains/
|
|
7757
|
+
* @returns SurfaceDomain
|
|
7758
|
+
* @throws ApiError
|
|
7759
|
+
*/
|
|
7760
|
+
static apiV1SurfacesDomainsList({ surfaceId, }: {
|
|
7761
|
+
surfaceId: number;
|
|
7762
|
+
}): CancelablePromise<Array<SurfaceDomain>>;
|
|
7763
|
+
/**
|
|
7764
|
+
* List/create SurfaceDomains for a surface.
|
|
7765
|
+
* GET/POST /api/v1/surfaces/{surface_id}/domains/
|
|
7766
|
+
* @returns SurfaceDomain
|
|
7767
|
+
* @throws ApiError
|
|
7768
|
+
*/
|
|
7769
|
+
static apiV1SurfacesDomainsCreate({ surfaceId, requestBody, }: {
|
|
7770
|
+
surfaceId: number;
|
|
7771
|
+
requestBody: SurfaceDomain;
|
|
7772
|
+
}): CancelablePromise<SurfaceDomain>;
|
|
7773
|
+
/**
|
|
7774
|
+
* List/create SurfaceDomains for a surface.
|
|
7775
|
+
* GET/POST /api/v1/surfaces/{surface_id}/domains/
|
|
7776
|
+
* @returns SurfaceDomain
|
|
7777
|
+
* @throws ApiError
|
|
7778
|
+
*/
|
|
7779
|
+
static apiV1SurfacesDomainsRetrieve({ id, surfaceId, }: {
|
|
7780
|
+
/**
|
|
7781
|
+
* A UUID string identifying this surface domain.
|
|
7782
|
+
*/
|
|
7783
|
+
id: string;
|
|
7784
|
+
surfaceId: number;
|
|
7785
|
+
}): CancelablePromise<SurfaceDomain>;
|
|
7786
|
+
/**
|
|
7787
|
+
* Get live version for a surface (derived from ACTIVE DomainBinding).
|
|
7788
|
+
* GET /api/v1/surfaces/{surface_id}/live-version/
|
|
7789
|
+
* @returns any No response body
|
|
7790
|
+
* @throws ApiError
|
|
7791
|
+
*/
|
|
7792
|
+
static apiV1SurfacesLiveVersionRetrieve({ surfaceId, }: {
|
|
7793
|
+
surfaceId: number;
|
|
7794
|
+
}): CancelablePromise<any>;
|
|
7795
|
+
/**
|
|
7796
|
+
* Rollback surface domains to a previous version.
|
|
7797
|
+
* POST /api/v1/surfaces/{surface_id}/rollback/
|
|
7798
|
+
* @returns any No response body
|
|
7799
|
+
* @throws ApiError
|
|
7800
|
+
*/
|
|
7801
|
+
static apiV1SurfacesRollbackCreate({ surfaceId, }: {
|
|
7802
|
+
surfaceId: number;
|
|
7803
|
+
}): CancelablePromise<any>;
|
|
6266
7804
|
/**
|
|
6267
7805
|
* List trend reports for a surface.
|
|
6268
7806
|
* @returns any No response body
|
|
@@ -6280,6 +7818,67 @@ export declare class ApiService {
|
|
|
6280
7818
|
reportId: string;
|
|
6281
7819
|
surfaceId: string;
|
|
6282
7820
|
}): CancelablePromise<any>;
|
|
7821
|
+
/**
|
|
7822
|
+
* ViewSet for listing and creating SurfaceVersions under a surface.
|
|
7823
|
+
* GET/POST /api/v1/surfaces/{surface_id}/versions/
|
|
7824
|
+
* GET /api/v1/surface-versions/{version_id}/
|
|
7825
|
+
* @returns SurfaceVersion
|
|
7826
|
+
* @throws ApiError
|
|
7827
|
+
*/
|
|
7828
|
+
static apiV1SurfacesVersionsList({ surfaceId, }: {
|
|
7829
|
+
surfaceId: number;
|
|
7830
|
+
}): CancelablePromise<Array<SurfaceVersion>>;
|
|
7831
|
+
/**
|
|
7832
|
+
* ViewSet for listing and creating SurfaceVersions under a surface.
|
|
7833
|
+
* GET/POST /api/v1/surfaces/{surface_id}/versions/
|
|
7834
|
+
* GET /api/v1/surface-versions/{version_id}/
|
|
7835
|
+
* @returns SurfaceVersionCreate
|
|
7836
|
+
* @throws ApiError
|
|
7837
|
+
*/
|
|
7838
|
+
static apiV1SurfacesVersionsCreate({ surfaceId, requestBody, }: {
|
|
7839
|
+
surfaceId: number;
|
|
7840
|
+
requestBody?: SurfaceVersionCreate;
|
|
7841
|
+
}): CancelablePromise<SurfaceVersionCreate>;
|
|
7842
|
+
/**
|
|
7843
|
+
* ViewSet for listing and creating SurfaceVersions under a surface.
|
|
7844
|
+
* GET/POST /api/v1/surfaces/{surface_id}/versions/
|
|
7845
|
+
* GET /api/v1/surface-versions/{version_id}/
|
|
7846
|
+
* @returns SurfaceVersion
|
|
7847
|
+
* @throws ApiError
|
|
7848
|
+
*/
|
|
7849
|
+
static apiV1SurfacesVersionsRetrieve({ id, surfaceId, }: {
|
|
7850
|
+
/**
|
|
7851
|
+
* A UUID string identifying this surface version.
|
|
7852
|
+
*/
|
|
7853
|
+
id: string;
|
|
7854
|
+
surfaceId: number;
|
|
7855
|
+
}): CancelablePromise<SurfaceVersion>;
|
|
7856
|
+
/**
|
|
7857
|
+
* Promote version to LIVE. POST /api/v1/surface-versions/{id}/promote/
|
|
7858
|
+
* @returns SurfaceVersion
|
|
7859
|
+
* @throws ApiError
|
|
7860
|
+
*/
|
|
7861
|
+
static apiV1SurfacesVersionsPromoteCreate({ id, surfaceId, requestBody, }: {
|
|
7862
|
+
/**
|
|
7863
|
+
* A UUID string identifying this surface version.
|
|
7864
|
+
*/
|
|
7865
|
+
id: string;
|
|
7866
|
+
surfaceId: number;
|
|
7867
|
+
requestBody: SurfaceVersion;
|
|
7868
|
+
}): CancelablePromise<SurfaceVersion>;
|
|
7869
|
+
/**
|
|
7870
|
+
* Sync env vars to deployment project. POST /api/v1/surface-versions/{id}/sync-env/
|
|
7871
|
+
* @returns SurfaceVersion
|
|
7872
|
+
* @throws ApiError
|
|
7873
|
+
*/
|
|
7874
|
+
static apiV1SurfacesVersionsSyncEnvCreate({ id, surfaceId, requestBody, }: {
|
|
7875
|
+
/**
|
|
7876
|
+
* A UUID string identifying this surface version.
|
|
7877
|
+
*/
|
|
7878
|
+
id: string;
|
|
7879
|
+
surfaceId: number;
|
|
7880
|
+
requestBody: SurfaceVersion;
|
|
7881
|
+
}): CancelablePromise<SurfaceVersion>;
|
|
6283
7882
|
/**
|
|
6284
7883
|
* ViewSet for managing tenants.
|
|
6285
7884
|
*
|
|
@@ -6685,5 +8284,118 @@ export declare class ApiService {
|
|
|
6685
8284
|
id: number;
|
|
6686
8285
|
tenantSlug: string;
|
|
6687
8286
|
}): CancelablePromise<void>;
|
|
8287
|
+
/**
|
|
8288
|
+
* GET /api/v1/test/health/
|
|
8289
|
+
*
|
|
8290
|
+
* Returns 200 with { "test_mode": true } only when TEST_MODE=1.
|
|
8291
|
+
* Returns 404 otherwise. E2E can use this to detect test environment.
|
|
8292
|
+
* @returns any No response body
|
|
8293
|
+
* @throws ApiError
|
|
8294
|
+
*/
|
|
8295
|
+
static apiV1TestHealthRetrieve(): CancelablePromise<any>;
|
|
8296
|
+
/**
|
|
8297
|
+
* Simple read-only endpoint for test-mode health.
|
|
8298
|
+
* GET /api/v1/test/ping/ returns {"status": "ok", "test_mode": True}.
|
|
8299
|
+
* @returns any No response body
|
|
8300
|
+
* @throws ApiError
|
|
8301
|
+
*/
|
|
8302
|
+
static apiV1TestPingRetrieve(): CancelablePromise<any>;
|
|
8303
|
+
/**
|
|
8304
|
+
* POST /api/v1/test/reset/
|
|
8305
|
+
*
|
|
8306
|
+
* Resets test state (e.g. clears test data). Only when TEST_MODE=1.
|
|
8307
|
+
* E2E global setup calls this before seed.
|
|
8308
|
+
* @returns any No response body
|
|
8309
|
+
* @throws ApiError
|
|
8310
|
+
*/
|
|
8311
|
+
static apiV1TestResetCreate(): CancelablePromise<any>;
|
|
8312
|
+
/**
|
|
8313
|
+
* POST /api/v1/test/seed/
|
|
8314
|
+
*
|
|
8315
|
+
* Seeds test data (e.g. test tenant, test user, fixtures). Only when TEST_MODE=1.
|
|
8316
|
+
* E2E global setup calls this after reset.
|
|
8317
|
+
* @returns any No response body
|
|
8318
|
+
* @throws ApiError
|
|
8319
|
+
*/
|
|
8320
|
+
static apiV1TestSeedCreate(): CancelablePromise<any>;
|
|
8321
|
+
/**
|
|
8322
|
+
* POST /api/v1/test/wait/
|
|
8323
|
+
* Body: { "kind": "ingestion_file", "id": <id>, "timeout_ms": 60000 }.
|
|
8324
|
+
* Polls until status==ready or parsed_output_json.extracted_text present; returns 200 with state.
|
|
8325
|
+
* On timeout returns 408 with { ok: false, last_state, error }.
|
|
8326
|
+
* @returns any No response body
|
|
8327
|
+
* @throws ApiError
|
|
8328
|
+
*/
|
|
8329
|
+
static apiV1TestWaitCreate(): CancelablePromise<any>;
|
|
8330
|
+
/**
|
|
8331
|
+
* ViewSet for launch runs under a surface version.
|
|
8332
|
+
* POST /api/v1/surface-versions/{version_id}/launch-runs/
|
|
8333
|
+
* GET /api/v1/surface-versions/{version_id}/launch-runs/
|
|
8334
|
+
* GET /api/v1/version-launch-runs/{run_id}/
|
|
8335
|
+
* POST /api/v1/version-launch-runs/{run_id}/retry/
|
|
8336
|
+
* @returns VersionLaunchRun
|
|
8337
|
+
* @throws ApiError
|
|
8338
|
+
*/
|
|
8339
|
+
static apiV1VersionLaunchRunsList(): CancelablePromise<Array<VersionLaunchRun>>;
|
|
8340
|
+
/**
|
|
8341
|
+
* ViewSet for launch runs under a surface version.
|
|
8342
|
+
* POST /api/v1/surface-versions/{version_id}/launch-runs/
|
|
8343
|
+
* GET /api/v1/surface-versions/{version_id}/launch-runs/
|
|
8344
|
+
* GET /api/v1/version-launch-runs/{run_id}/
|
|
8345
|
+
* POST /api/v1/version-launch-runs/{run_id}/retry/
|
|
8346
|
+
* @returns VersionLaunchRunCreate
|
|
8347
|
+
* @throws ApiError
|
|
8348
|
+
*/
|
|
8349
|
+
static apiV1VersionLaunchRunsCreate({ requestBody, }: {
|
|
8350
|
+
requestBody: VersionLaunchRunCreate;
|
|
8351
|
+
}): CancelablePromise<VersionLaunchRunCreate>;
|
|
8352
|
+
/**
|
|
8353
|
+
* ViewSet for launch runs under a surface version.
|
|
8354
|
+
* POST /api/v1/surface-versions/{version_id}/launch-runs/
|
|
8355
|
+
* GET /api/v1/surface-versions/{version_id}/launch-runs/
|
|
8356
|
+
* GET /api/v1/version-launch-runs/{run_id}/
|
|
8357
|
+
* POST /api/v1/version-launch-runs/{run_id}/retry/
|
|
8358
|
+
* @returns VersionLaunchRun
|
|
8359
|
+
* @throws ApiError
|
|
8360
|
+
*/
|
|
8361
|
+
static apiV1VersionLaunchRunsRetrieve({ id, }: {
|
|
8362
|
+
/**
|
|
8363
|
+
* A UUID string identifying this version launch run.
|
|
8364
|
+
*/
|
|
8365
|
+
id: string;
|
|
8366
|
+
}): CancelablePromise<VersionLaunchRun>;
|
|
8367
|
+
/**
|
|
8368
|
+
* Create a new run as retry of a failed run.
|
|
8369
|
+
* @returns VersionLaunchRun
|
|
8370
|
+
* @throws ApiError
|
|
8371
|
+
*/
|
|
8372
|
+
static apiV1VersionLaunchRunsRetryCreate({ id, requestBody, }: {
|
|
8373
|
+
/**
|
|
8374
|
+
* A UUID string identifying this version launch run.
|
|
8375
|
+
*/
|
|
8376
|
+
id: string;
|
|
8377
|
+
requestBody: VersionLaunchRun;
|
|
8378
|
+
}): CancelablePromise<VersionLaunchRun>;
|
|
8379
|
+
/**
|
|
8380
|
+
* GET /api/v1/voice/messages/{message_id}/audio/?voice_persona=...
|
|
8381
|
+
* If ready: 302 redirect to audio URL.
|
|
8382
|
+
* If queued: { "status": "queued" }
|
|
8383
|
+
* If failed: { "status": "failed", "error_code": "..." }
|
|
8384
|
+
* @returns any No response body
|
|
8385
|
+
* @throws ApiError
|
|
8386
|
+
*/
|
|
8387
|
+
static apiV1VoiceMessagesAudioRetrieve({ messageId, }: {
|
|
8388
|
+
messageId: string;
|
|
8389
|
+
}): CancelablePromise<any>;
|
|
8390
|
+
/**
|
|
8391
|
+
* POST /api/v1/voice/messages/{message_id}/render/
|
|
8392
|
+
* Body: { "voice_persona"?: string, "force"?: boolean }
|
|
8393
|
+
* Returns: { "status": "queued|ready|failed", "url"?: string, "duration_ms"?: number }
|
|
8394
|
+
* @returns any No response body
|
|
8395
|
+
* @throws ApiError
|
|
8396
|
+
*/
|
|
8397
|
+
static apiV1VoiceMessagesRenderCreate({ messageId, }: {
|
|
8398
|
+
messageId: string;
|
|
8399
|
+
}): CancelablePromise<any>;
|
|
6688
8400
|
}
|
|
6689
8401
|
//# sourceMappingURL=ApiService.d.ts.map
|