lemma-sdk 0.2.40 → 0.2.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -3
- package/dist/browser/lemma-client.js +95 -68
- package/dist/index.d.ts +1 -1
- package/dist/namespaces/conversations.d.ts +6 -0
- package/dist/namespaces/conversations.js +2 -0
- package/dist/namespaces/files.js +12 -21
- package/dist/namespaces/resources.d.ts +21 -5
- package/dist/openapi_client/index.d.ts +21 -15
- package/dist/openapi_client/index.js +5 -5
- package/dist/openapi_client/models/AgentResponse.d.ts +3 -2
- package/dist/openapi_client/models/BillingHistoryResponse.d.ts +8 -0
- package/dist/openapi_client/models/BillingInvoiceResponse.d.ts +29 -0
- package/dist/openapi_client/models/BillingInvoiceStatus.d.ts +10 -0
- package/dist/openapi_client/models/BillingInvoiceStatus.js +15 -0
- package/dist/openapi_client/models/BillingScope.d.ts +7 -0
- package/dist/openapi_client/models/BillingScope.js +12 -0
- package/dist/openapi_client/models/ConversationResponse.d.ts +6 -0
- package/dist/openapi_client/models/ConversationStatus.d.ts +11 -0
- package/dist/openapi_client/models/ConversationStatus.js +16 -0
- package/dist/openapi_client/models/ConversationType.d.ts +7 -0
- package/dist/openapi_client/models/ConversationType.js +12 -0
- package/dist/openapi_client/models/CreateAgentRequest.d.ts +3 -2
- package/dist/openapi_client/models/CreateConversationRequest.d.ts +4 -0
- package/dist/openapi_client/models/CreateDeskRequest.d.ts +1 -0
- package/dist/openapi_client/models/CreateFolderRequest.d.ts +1 -2
- package/dist/openapi_client/models/CreateFunctionRequest.d.ts +9 -4
- package/dist/openapi_client/models/CreateInvoicePaymentUrlRequest.d.ts +7 -0
- package/dist/openapi_client/models/CreateInvoicePaymentUrlResponse.d.ts +8 -0
- package/dist/openapi_client/models/CreateScheduleRequest.d.ts +1 -0
- package/dist/openapi_client/models/CreateTableRequest.d.ts +1 -0
- package/dist/openapi_client/models/DatastoreFileUploadRequest.d.ts +1 -2
- package/dist/openapi_client/models/DeskResponse.d.ts +2 -0
- package/dist/openapi_client/models/FileResponse.d.ts +2 -2
- package/dist/openapi_client/models/FlowResponse.d.ts +2 -0
- package/dist/openapi_client/models/FunctionResponse.d.ts +13 -2
- package/dist/openapi_client/models/{app__modules__function__api__schemas__function_schemas__TableAccessEntry.d.ts → FunctionTableAccessEntry.d.ts} +1 -1
- package/dist/openapi_client/models/PodMemberAddRequest.d.ts +1 -0
- package/dist/openapi_client/models/PodMemberDetailResponse.d.ts +1 -0
- package/dist/openapi_client/models/PodMemberResponse.d.ts +1 -0
- package/dist/openapi_client/models/PodMemberUpdateRoleRequest.d.ts +2 -1
- package/dist/openapi_client/models/PodRoleCreateRequest.d.ts +6 -0
- package/dist/openapi_client/models/PodRoleListResponse.d.ts +7 -0
- package/dist/openapi_client/models/PodRoleResponse.d.ts +11 -0
- package/dist/openapi_client/models/ScheduleResponse.d.ts +2 -0
- package/dist/openapi_client/models/SendMessageRequest.d.ts +1 -0
- package/dist/openapi_client/models/StartSubscriptionResponse.d.ts +3 -1
- package/dist/openapi_client/models/StartTeamBillingRequest.d.ts +6 -0
- package/dist/openapi_client/models/SubscriptionResponse.d.ts +22 -0
- package/dist/openapi_client/models/SubscriptionWithPlanResponse.d.ts +4 -1
- package/dist/openapi_client/models/{app__modules__agent__domain__value_objects__TableAccessEntry.d.ts → TableAccessEntry.d.ts} +1 -1
- package/dist/openapi_client/models/TableAccessEntry.js +1 -0
- package/dist/openapi_client/models/TableResponse.d.ts +2 -0
- package/dist/openapi_client/models/UpdateAgentRequest.d.ts +3 -2
- package/dist/openapi_client/models/UpdateConversationRequest.d.ts +2 -0
- package/dist/openapi_client/models/UpdateDeskRequest.d.ts +2 -0
- package/dist/openapi_client/models/UpdateFunctionRequest.d.ts +6 -2
- package/dist/openapi_client/models/UpdateScheduleRequest.d.ts +1 -0
- package/dist/openapi_client/models/UpdateTableRequest.d.ts +2 -1
- package/dist/openapi_client/models/UsageLimitScopeResponse.d.ts +10 -0
- package/dist/openapi_client/models/UsageLimitScopeResponse.js +1 -0
- package/dist/openapi_client/models/UsageLimitsResponse.d.ts +11 -0
- package/dist/openapi_client/models/UsageLimitsResponse.js +1 -0
- package/dist/openapi_client/models/UsageListResponse.d.ts +10 -0
- package/dist/openapi_client/models/UsageListResponse.js +1 -0
- package/dist/openapi_client/models/UsageRecordResponse.d.ts +12 -4
- package/dist/openapi_client/models/UsageStatsBucketResponse.d.ts +12 -0
- package/dist/openapi_client/models/UsageStatsBucketResponse.js +1 -0
- package/dist/openapi_client/models/UsageStatsResponse.d.ts +12 -0
- package/dist/openapi_client/models/UsageStatsResponse.js +1 -0
- package/dist/openapi_client/models/UsageSummaryResponse.d.ts +3 -0
- package/dist/openapi_client/models/WorkflowCreateRequest.d.ts +1 -0
- package/dist/openapi_client/models/WorkflowUpdateRequest.d.ts +1 -0
- package/dist/openapi_client/models/update.d.ts +1 -2
- package/dist/openapi_client/services/AgentConversationsService.d.ts +5 -1
- package/dist/openapi_client/services/AgentConversationsService.js +5 -1
- package/dist/openapi_client/services/BillingSubscriptionsService.d.ts +80 -20
- package/dist/openapi_client/services/BillingSubscriptionsService.js +164 -27
- package/dist/openapi_client/services/BillingUsageService.d.ts +89 -5
- package/dist/openapi_client/services/BillingUsageService.js +186 -6
- package/dist/openapi_client/services/DesksService.d.ts +21 -4
- package/dist/openapi_client/services/DesksService.js +44 -2
- package/dist/openapi_client/services/FilesService.d.ts +11 -20
- package/dist/openapi_client/services/FilesService.js +11 -28
- package/dist/openapi_client/services/FunctionsService.d.ts +2 -2
- package/dist/openapi_client/services/FunctionsService.js +2 -2
- package/dist/openapi_client/services/PodMembersService.d.ts +10 -0
- package/dist/openapi_client/services/PodMembersService.js +24 -0
- package/dist/openapi_client/services/PodRolesService.d.ts +29 -0
- package/dist/openapi_client/services/PodRolesService.js +63 -0
- package/dist/react/AuthGuard.d.ts +0 -15
- package/dist/react/AuthGuard.js +128 -167
- package/dist/react/index.d.ts +1 -1
- package/dist/react/useAssistantController.d.ts +8 -4
- package/dist/react/useAssistantController.js +9 -6
- package/dist/react/useAssistantSession.d.ts +9 -0
- package/dist/react/useAssistantSession.js +10 -2
- package/dist/react/useConversationMessages.d.ts +2 -1
- package/dist/react/useConversationMessages.js +2 -1
- package/dist/react/useConversations.d.ts +7 -1
- package/dist/react/useConversations.js +10 -4
- package/dist/types.d.ts +2 -2
- package/package.json +1 -1
- package/dist/openapi_client/models/Body_upload_file_files__resource_type___resource_id__upload_post.d.ts +0 -3
- package/dist/openapi_client/models/FileInfo.d.ts +0 -14
- package/dist/openapi_client/models/FileInfo.js +0 -8
- package/dist/openapi_client/models/FileNamespace.d.ts +0 -4
- package/dist/openapi_client/models/FileNamespace.js +0 -9
- package/dist/openapi_client/models/FileUploadResponse.d.ts +0 -6
- package/dist/openapi_client/models/GrantPermissionRequest.d.ts +0 -6
- package/dist/openapi_client/models/PodPermissionsResponse.d.ts +0 -4
- package/dist/openapi_client/models/ResourceFileListResponse.d.ts +0 -6
- package/dist/openapi_client/models/ResourcePermissionListResponse.d.ts +0 -4
- package/dist/openapi_client/models/ResourcePermissionResponse.d.ts +0 -12
- package/dist/openapi_client/models/ResourceType.d.ts +0 -4
- package/dist/openapi_client/models/ResourceType.js +0 -9
- package/dist/openapi_client/models/SetVisibilityRequest.d.ts +0 -3
- package/dist/openapi_client/services/AgentFilesService.d.ts +0 -46
- package/dist/openapi_client/services/AgentFilesService.js +0 -103
- package/dist/openapi_client/services/AuthorizationService.d.ts +0 -58
- package/dist/openapi_client/services/AuthorizationService.js +0 -122
- /package/dist/openapi_client/models/{Body_upload_file_files__resource_type___resource_id__upload_post.js → BillingHistoryResponse.js} +0 -0
- /package/dist/openapi_client/models/{FileUploadResponse.js → BillingInvoiceResponse.js} +0 -0
- /package/dist/openapi_client/models/{GrantPermissionRequest.js → CreateInvoicePaymentUrlRequest.js} +0 -0
- /package/dist/openapi_client/models/{PodPermissionsResponse.js → CreateInvoicePaymentUrlResponse.js} +0 -0
- /package/dist/openapi_client/models/{ResourceFileListResponse.js → FunctionTableAccessEntry.js} +0 -0
- /package/dist/openapi_client/models/{ResourcePermissionListResponse.js → PodRoleCreateRequest.js} +0 -0
- /package/dist/openapi_client/models/{ResourcePermissionResponse.js → PodRoleListResponse.js} +0 -0
- /package/dist/openapi_client/models/{SetVisibilityRequest.js → PodRoleResponse.js} +0 -0
- /package/dist/openapi_client/models/{app__modules__agent__domain__value_objects__TableAccessEntry.js → StartTeamBillingRequest.js} +0 -0
- /package/dist/openapi_client/models/{app__modules__function__api__schemas__function_schemas__TableAccessEntry.js → SubscriptionResponse.js} +0 -0
|
@@ -19,8 +19,6 @@ export type { AgentSurfaceResponse } from './models/AgentSurfaceResponse.js';
|
|
|
19
19
|
export { AgentSurfaceStatus } from './models/AgentSurfaceStatus.js';
|
|
20
20
|
export { AgentToolset } from './models/AgentToolset.js';
|
|
21
21
|
export type { ApiKeyCredentialsResponseSchema } from './models/ApiKeyCredentialsResponseSchema.js';
|
|
22
|
-
export type { app__modules__agent__domain__value_objects__TableAccessEntry } from './models/app__modules__agent__domain__value_objects__TableAccessEntry.js';
|
|
23
|
-
export type { app__modules__function__api__schemas__function_schemas__TableAccessEntry } from './models/app__modules__function__api__schemas__function_schemas__TableAccessEntry.js';
|
|
24
22
|
export type { ApplicationAccessConfig } from './models/ApplicationAccessConfig.js';
|
|
25
23
|
export type { ApplicationDetailResponseSchema } from './models/ApplicationDetailResponseSchema.js';
|
|
26
24
|
export type { ApplicationListResponseSchema } from './models/ApplicationListResponseSchema.js';
|
|
@@ -28,8 +26,11 @@ export { ApplicationMode } from './models/ApplicationMode.js';
|
|
|
28
26
|
export type { ApplicationResponseSchema } from './models/ApplicationResponseSchema.js';
|
|
29
27
|
export type { AppTriggerListResponseSchema } from './models/AppTriggerListResponseSchema.js';
|
|
30
28
|
export type { AppTriggerResponseSchema } from './models/AppTriggerResponseSchema.js';
|
|
29
|
+
export type { BillingHistoryResponse } from './models/BillingHistoryResponse.js';
|
|
31
30
|
export { BillingInterval } from './models/BillingInterval.js';
|
|
32
|
-
export type {
|
|
31
|
+
export type { BillingInvoiceResponse } from './models/BillingInvoiceResponse.js';
|
|
32
|
+
export { BillingInvoiceStatus } from './models/BillingInvoiceStatus.js';
|
|
33
|
+
export { BillingScope } from './models/BillingScope.js';
|
|
33
34
|
export type { BulkCreateRecordsRequest } from './models/BulkCreateRecordsRequest.js';
|
|
34
35
|
export type { BulkDeleteRecordsRequest } from './models/BulkDeleteRecordsRequest.js';
|
|
35
36
|
export type { BulkUpdateRecordsRequest } from './models/BulkUpdateRecordsRequest.js';
|
|
@@ -39,6 +40,8 @@ export type { ConnectRequestInitiateSchema } from './models/ConnectRequestInitia
|
|
|
39
40
|
export type { ConnectRequestResponseSchema } from './models/ConnectRequestResponseSchema.js';
|
|
40
41
|
export type { ConversationListResponse } from './models/ConversationListResponse.js';
|
|
41
42
|
export type { ConversationResponse } from './models/ConversationResponse.js';
|
|
43
|
+
export { ConversationStatus } from './models/ConversationStatus.js';
|
|
44
|
+
export { ConversationType } from './models/ConversationType.js';
|
|
42
45
|
export type { ConvertedArtifactResponse } from './models/ConvertedArtifactResponse.js';
|
|
43
46
|
export type { ConvertedFileResponse } from './models/ConvertedFileResponse.js';
|
|
44
47
|
export type { CreateAgentRequest } from './models/CreateAgentRequest.js';
|
|
@@ -46,6 +49,8 @@ export type { CreateConversationRequest } from './models/CreateConversationReque
|
|
|
46
49
|
export type { CreateDeskRequest } from './models/CreateDeskRequest.js';
|
|
47
50
|
export type { CreateFolderRequest } from './models/CreateFolderRequest.js';
|
|
48
51
|
export type { CreateFunctionRequest } from './models/CreateFunctionRequest.js';
|
|
52
|
+
export type { CreateInvoicePaymentUrlRequest } from './models/CreateInvoicePaymentUrlRequest.js';
|
|
53
|
+
export type { CreateInvoicePaymentUrlResponse } from './models/CreateInvoicePaymentUrlResponse.js';
|
|
49
54
|
export type { CreateRecordRequest } from './models/CreateRecordRequest.js';
|
|
50
55
|
export type { CreateScheduleRequest } from './models/CreateScheduleRequest.js';
|
|
51
56
|
export type { CreateSurfaceRequest } from './models/CreateSurfaceRequest.js';
|
|
@@ -83,15 +88,12 @@ export type { EventWorkflowStartOutput } from './models/EventWorkflowStartOutput
|
|
|
83
88
|
export type { ExecuteFunctionRequest } from './models/ExecuteFunctionRequest.js';
|
|
84
89
|
export type { ExpressionInputBinding } from './models/ExpressionInputBinding.js';
|
|
85
90
|
export { FeedbackCategory } from './models/FeedbackCategory.js';
|
|
86
|
-
export { FileInfo } from './models/FileInfo.js';
|
|
87
91
|
export type { FileListResponse } from './models/FileListResponse.js';
|
|
88
|
-
export { FileNamespace } from './models/FileNamespace.js';
|
|
89
92
|
export type { FileResponse } from './models/FileResponse.js';
|
|
90
93
|
export type { FileSearchRequest } from './models/FileSearchRequest.js';
|
|
91
94
|
export type { FileSearchResponse } from './models/FileSearchResponse.js';
|
|
92
95
|
export type { FileSearchResultSchema } from './models/FileSearchResultSchema.js';
|
|
93
96
|
export { FileSearchScopeMode } from './models/FileSearchScopeMode.js';
|
|
94
|
-
export type { FileUploadResponse } from './models/FileUploadResponse.js';
|
|
95
97
|
export type { FlowResponse } from './models/FlowResponse.js';
|
|
96
98
|
export type { FlowRunEntity } from './models/FlowRunEntity.js';
|
|
97
99
|
export { FlowRunStatus } from './models/FlowRunStatus.js';
|
|
@@ -109,10 +111,10 @@ export type { FunctionRunListResponse } from './models/FunctionRunListResponse.j
|
|
|
109
111
|
export type { FunctionRunResponse } from './models/FunctionRunResponse.js';
|
|
110
112
|
export { FunctionRunStatus } from './models/FunctionRunStatus.js';
|
|
111
113
|
export { FunctionStatus } from './models/FunctionStatus.js';
|
|
114
|
+
export type { FunctionTableAccessEntry } from './models/FunctionTableAccessEntry.js';
|
|
112
115
|
export { FunctionType } from './models/FunctionType.js';
|
|
113
116
|
export type { GmailSurfaceConfig } from './models/GmailSurfaceConfig.js';
|
|
114
117
|
export type { GmailSurfaceConfigInput } from './models/GmailSurfaceConfigInput.js';
|
|
115
|
-
export type { GrantPermissionRequest } from './models/GrantPermissionRequest.js';
|
|
116
118
|
export { HarnessKind } from './models/HarnessKind.js';
|
|
117
119
|
export type { HTTPValidationError } from './models/HTTPValidationError.js';
|
|
118
120
|
export type { IconUploadRequest } from './models/IconUploadRequest.js';
|
|
@@ -167,19 +169,17 @@ export type { PodMemberDetailResponse } from './models/PodMemberDetailResponse.j
|
|
|
167
169
|
export type { PodMemberListResponse } from './models/PodMemberListResponse.js';
|
|
168
170
|
export type { PodMemberResponse } from './models/PodMemberResponse.js';
|
|
169
171
|
export type { PodMemberUpdateRoleRequest } from './models/PodMemberUpdateRoleRequest.js';
|
|
170
|
-
export type { PodPermissionsResponse } from './models/PodPermissionsResponse.js';
|
|
171
172
|
export type { PodResponse } from './models/PodResponse.js';
|
|
172
173
|
export { PodRole } from './models/PodRole.js';
|
|
174
|
+
export type { PodRoleCreateRequest } from './models/PodRoleCreateRequest.js';
|
|
175
|
+
export type { PodRoleListResponse } from './models/PodRoleListResponse.js';
|
|
176
|
+
export type { PodRoleResponse } from './models/PodRoleResponse.js';
|
|
173
177
|
export type { PodUpdateRequest } from './models/PodUpdateRequest.js';
|
|
174
178
|
export type { RecentUsageResponse } from './models/RecentUsageResponse.js';
|
|
175
179
|
export type { RecordListResponse } from './models/RecordListResponse.js';
|
|
176
180
|
export type { RecordResponse } from './models/RecordResponse.js';
|
|
177
181
|
export type { ReportFeedbackRequest } from './models/ReportFeedbackRequest.js';
|
|
178
182
|
export type { ReportFeedbackResponse } from './models/ReportFeedbackResponse.js';
|
|
179
|
-
export type { ResourceFileListResponse } from './models/ResourceFileListResponse.js';
|
|
180
|
-
export type { ResourcePermissionListResponse } from './models/ResourcePermissionListResponse.js';
|
|
181
|
-
export type { ResourcePermissionResponse } from './models/ResourcePermissionResponse.js';
|
|
182
|
-
export { ResourceType } from './models/ResourceType.js';
|
|
183
183
|
export type { ScheduledFlowStartInput } from './models/ScheduledFlowStartInput.js';
|
|
184
184
|
export type { ScheduledFlowStartOutput } from './models/ScheduledFlowStartOutput.js';
|
|
185
185
|
export { ScheduledFlowStartType } from './models/ScheduledFlowStartType.js';
|
|
@@ -192,14 +192,15 @@ export { SearchMethod } from './models/SearchMethod.js';
|
|
|
192
192
|
export type { SearchResult } from './models/SearchResult.js';
|
|
193
193
|
export type { SeatInfoResponse } from './models/SeatInfoResponse.js';
|
|
194
194
|
export type { SendMessageRequest } from './models/SendMessageRequest.js';
|
|
195
|
-
export type { SetVisibilityRequest } from './models/SetVisibilityRequest.js';
|
|
196
195
|
export type { SlackCredentialsInput } from './models/SlackCredentialsInput.js';
|
|
197
196
|
export type { SlackSurfaceConfig } from './models/SlackSurfaceConfig.js';
|
|
198
197
|
export type { SlackSurfaceConfigInput } from './models/SlackSurfaceConfigInput.js';
|
|
199
198
|
export type { StackFrame } from './models/StackFrame.js';
|
|
200
199
|
export type { StartSubscriptionRequest } from './models/StartSubscriptionRequest.js';
|
|
201
200
|
export type { StartSubscriptionResponse } from './models/StartSubscriptionResponse.js';
|
|
201
|
+
export type { StartTeamBillingRequest } from './models/StartTeamBillingRequest.js';
|
|
202
202
|
export type { StepExecution } from './models/StepExecution.js';
|
|
203
|
+
export type { SubscriptionResponse } from './models/SubscriptionResponse.js';
|
|
203
204
|
export { SubscriptionStatus } from './models/SubscriptionStatus.js';
|
|
204
205
|
export type { SubscriptionStatusResponse } from './models/SubscriptionStatusResponse.js';
|
|
205
206
|
export type { SubscriptionWithPlanResponse } from './models/SubscriptionWithPlanResponse.js';
|
|
@@ -214,6 +215,7 @@ export { SurfaceSetupMode } from './models/SurfaceSetupMode.js';
|
|
|
214
215
|
export { SurfaceSetupPhase } from './models/SurfaceSetupPhase.js';
|
|
215
216
|
export type { SurfaceSetupStep } from './models/SurfaceSetupStep.js';
|
|
216
217
|
export { SurfaceWebhookMode } from './models/SurfaceWebhookMode.js';
|
|
218
|
+
export type { TableAccessEntry } from './models/TableAccessEntry.js';
|
|
217
219
|
export { TableAccessMode } from './models/TableAccessMode.js';
|
|
218
220
|
export type { TableListResponse } from './models/TableListResponse.js';
|
|
219
221
|
export type { TableResponse } from './models/TableResponse.js';
|
|
@@ -238,7 +240,12 @@ export type { UpdateRecordRequest } from './models/UpdateRecordRequest.js';
|
|
|
238
240
|
export type { UpdateScheduleRequest } from './models/UpdateScheduleRequest.js';
|
|
239
241
|
export type { UpdateSurfaceRequest } from './models/UpdateSurfaceRequest.js';
|
|
240
242
|
export type { UpdateTableRequest } from './models/UpdateTableRequest.js';
|
|
243
|
+
export type { UsageLimitScopeResponse } from './models/UsageLimitScopeResponse.js';
|
|
244
|
+
export type { UsageLimitsResponse } from './models/UsageLimitsResponse.js';
|
|
245
|
+
export type { UsageListResponse } from './models/UsageListResponse.js';
|
|
241
246
|
export type { UsageRecordResponse } from './models/UsageRecordResponse.js';
|
|
247
|
+
export type { UsageStatsBucketResponse } from './models/UsageStatsBucketResponse.js';
|
|
248
|
+
export type { UsageStatsResponse } from './models/UsageStatsResponse.js';
|
|
242
249
|
export type { UsageSummaryResponse } from './models/UsageSummaryResponse.js';
|
|
243
250
|
export type { UserProfileRequest } from './models/UserProfileRequest.js';
|
|
244
251
|
export type { UserResponse } from './models/UserResponse.js';
|
|
@@ -267,14 +274,12 @@ export { WorkflowRunWaitStatus } from './models/WorkflowRunWaitStatus.js';
|
|
|
267
274
|
export { WorkflowRunWaitType } from './models/WorkflowRunWaitType.js';
|
|
268
275
|
export type { WorkflowUpdateRequest } from './models/WorkflowUpdateRequest.js';
|
|
269
276
|
export { AgentConversationsService } from './services/AgentConversationsService.js';
|
|
270
|
-
export { AgentFilesService } from './services/AgentFilesService.js';
|
|
271
277
|
export { AgentsService } from './services/AgentsService.js';
|
|
272
278
|
export { AgentSurfacesService } from './services/AgentSurfacesService.js';
|
|
273
279
|
export { AgentSurfacesIngressService } from './services/AgentSurfacesIngressService.js';
|
|
274
280
|
export { AgentToolsService } from './services/AgentToolsService.js';
|
|
275
281
|
export { ApplicationsService } from './services/ApplicationsService.js';
|
|
276
282
|
export { AuthService } from './services/AuthService.js';
|
|
277
|
-
export { AuthorizationService } from './services/AuthorizationService.js';
|
|
278
283
|
export { BillingSubscriptionsService } from './services/BillingSubscriptionsService.js';
|
|
279
284
|
export { BillingUsageService } from './services/BillingUsageService.js';
|
|
280
285
|
export { BillingWebhooksService } from './services/BillingWebhooksService.js';
|
|
@@ -287,6 +292,7 @@ export { IntegrationsService } from './services/IntegrationsService.js';
|
|
|
287
292
|
export { OrganizationsService } from './services/OrganizationsService.js';
|
|
288
293
|
export { PodJoinRequestsService } from './services/PodJoinRequestsService.js';
|
|
289
294
|
export { PodMembersService } from './services/PodMembersService.js';
|
|
295
|
+
export { PodRolesService } from './services/PodRolesService.js';
|
|
290
296
|
export { PodsService } from './services/PodsService.js';
|
|
291
297
|
export { QueryService } from './services/QueryService.js';
|
|
292
298
|
export { RecordsService } from './services/RecordsService.js';
|
|
@@ -10,13 +10,15 @@ export { AgentSurfaceStatus } from './models/AgentSurfaceStatus.js';
|
|
|
10
10
|
export { AgentToolset } from './models/AgentToolset.js';
|
|
11
11
|
export { ApplicationMode } from './models/ApplicationMode.js';
|
|
12
12
|
export { BillingInterval } from './models/BillingInterval.js';
|
|
13
|
+
export { BillingInvoiceStatus } from './models/BillingInvoiceStatus.js';
|
|
14
|
+
export { BillingScope } from './models/BillingScope.js';
|
|
15
|
+
export { ConversationStatus } from './models/ConversationStatus.js';
|
|
16
|
+
export { ConversationType } from './models/ConversationType.js';
|
|
13
17
|
export { CredentialTypes } from './models/CredentialTypes.js';
|
|
14
18
|
export { DatastoreDataType } from './models/DatastoreDataType.js';
|
|
15
19
|
export { DatastoreOperation } from './models/DatastoreOperation.js';
|
|
16
20
|
export { DeskStatus } from './models/DeskStatus.js';
|
|
17
21
|
export { FeedbackCategory } from './models/FeedbackCategory.js';
|
|
18
|
-
export { FileInfo } from './models/FileInfo.js';
|
|
19
|
-
export { FileNamespace } from './models/FileNamespace.js';
|
|
20
22
|
export { FileSearchScopeMode } from './models/FileSearchScopeMode.js';
|
|
21
23
|
export { FlowRunStatus } from './models/FlowRunStatus.js';
|
|
22
24
|
export { FunctionRunStatus } from './models/FunctionRunStatus.js';
|
|
@@ -28,7 +30,6 @@ export { OrganizationRole } from './models/OrganizationRole.js';
|
|
|
28
30
|
export { PodAppMode } from './models/PodAppMode.js';
|
|
29
31
|
export { PodJoinRequestStatus } from './models/PodJoinRequestStatus.js';
|
|
30
32
|
export { PodRole } from './models/PodRole.js';
|
|
31
|
-
export { ResourceType } from './models/ResourceType.js';
|
|
32
33
|
export { ScheduledFlowStartType } from './models/ScheduledFlowStartType.js';
|
|
33
34
|
export { ScheduleType } from './models/ScheduleType.js';
|
|
34
35
|
export { SearchMethod } from './models/SearchMethod.js';
|
|
@@ -45,14 +46,12 @@ export { WorkflowMode } from './models/WorkflowMode.js';
|
|
|
45
46
|
export { WorkflowRunWaitStatus } from './models/WorkflowRunWaitStatus.js';
|
|
46
47
|
export { WorkflowRunWaitType } from './models/WorkflowRunWaitType.js';
|
|
47
48
|
export { AgentConversationsService } from './services/AgentConversationsService.js';
|
|
48
|
-
export { AgentFilesService } from './services/AgentFilesService.js';
|
|
49
49
|
export { AgentsService } from './services/AgentsService.js';
|
|
50
50
|
export { AgentSurfacesService } from './services/AgentSurfacesService.js';
|
|
51
51
|
export { AgentSurfacesIngressService } from './services/AgentSurfacesIngressService.js';
|
|
52
52
|
export { AgentToolsService } from './services/AgentToolsService.js';
|
|
53
53
|
export { ApplicationsService } from './services/ApplicationsService.js';
|
|
54
54
|
export { AuthService } from './services/AuthService.js';
|
|
55
|
-
export { AuthorizationService } from './services/AuthorizationService.js';
|
|
56
55
|
export { BillingSubscriptionsService } from './services/BillingSubscriptionsService.js';
|
|
57
56
|
export { BillingUsageService } from './services/BillingUsageService.js';
|
|
58
57
|
export { BillingWebhooksService } from './services/BillingWebhooksService.js';
|
|
@@ -65,6 +64,7 @@ export { IntegrationsService } from './services/IntegrationsService.js';
|
|
|
65
64
|
export { OrganizationsService } from './services/OrganizationsService.js';
|
|
66
65
|
export { PodJoinRequestsService } from './services/PodJoinRequestsService.js';
|
|
67
66
|
export { PodMembersService } from './services/PodMembersService.js';
|
|
67
|
+
export { PodRolesService } from './services/PodRolesService.js';
|
|
68
68
|
export { PodsService } from './services/PodsService.js';
|
|
69
69
|
export { QueryService } from './services/QueryService.js';
|
|
70
70
|
export { RecordsService } from './services/RecordsService.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { AgentModelName } from './AgentModelName.js';
|
|
2
2
|
import type { AgentToolset } from './AgentToolset.js';
|
|
3
|
-
import type { app__modules__agent__domain__value_objects__TableAccessEntry } from './app__modules__agent__domain__value_objects__TableAccessEntry.js';
|
|
4
3
|
import type { ApplicationAccessConfig } from './ApplicationAccessConfig.js';
|
|
5
4
|
import type { HarnessKind } from './HarnessKind.js';
|
|
5
|
+
import type { TableAccessEntry } from './TableAccessEntry.js';
|
|
6
6
|
export type AgentResponse = {
|
|
7
7
|
accessible_applications?: Array<ApplicationAccessConfig>;
|
|
8
8
|
accessible_folders?: Array<string>;
|
|
9
|
-
accessible_tables?: Array<
|
|
9
|
+
accessible_tables?: Array<TableAccessEntry>;
|
|
10
10
|
agent_names?: Array<string>;
|
|
11
11
|
created_at: string;
|
|
12
12
|
description?: (string | null);
|
|
@@ -25,4 +25,5 @@ export type AgentResponse = {
|
|
|
25
25
|
updated_at: string;
|
|
26
26
|
user_id: string;
|
|
27
27
|
visibility?: string;
|
|
28
|
+
visibility_roles?: Array<string>;
|
|
28
29
|
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { BillingInvoiceStatus } from './BillingInvoiceStatus.js';
|
|
2
|
+
import type { BillingScope } from './BillingScope.js';
|
|
3
|
+
/**
|
|
4
|
+
* Response schema for a billing invoice.
|
|
5
|
+
*/
|
|
6
|
+
export type BillingInvoiceResponse = {
|
|
7
|
+
amount_cents: number;
|
|
8
|
+
billing_scope: BillingScope;
|
|
9
|
+
checkout_url: (string | null);
|
|
10
|
+
created_at: string;
|
|
11
|
+
currency: string;
|
|
12
|
+
dodo_payment_id: (string | null);
|
|
13
|
+
due_at: (string | null);
|
|
14
|
+
id: string;
|
|
15
|
+
llm_credit_cents: number;
|
|
16
|
+
llm_overage_cents: number;
|
|
17
|
+
metadata: Record<string, any>;
|
|
18
|
+
organization_id: (string | null);
|
|
19
|
+
paid_at: (string | null);
|
|
20
|
+
period_end: string;
|
|
21
|
+
period_start: string;
|
|
22
|
+
plan_id: string;
|
|
23
|
+
seat_count: number;
|
|
24
|
+
status: BillingInvoiceStatus;
|
|
25
|
+
subscription_id: (string | null);
|
|
26
|
+
total_cents: number;
|
|
27
|
+
updated_at: string;
|
|
28
|
+
user_id: (string | null);
|
|
29
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* Billing invoice status enum.
|
|
7
|
+
*/
|
|
8
|
+
export var BillingInvoiceStatus;
|
|
9
|
+
(function (BillingInvoiceStatus) {
|
|
10
|
+
BillingInvoiceStatus["DRAFT"] = "draft";
|
|
11
|
+
BillingInvoiceStatus["UNPAID"] = "unpaid";
|
|
12
|
+
BillingInvoiceStatus["PAID"] = "paid";
|
|
13
|
+
BillingInvoiceStatus["FAILED"] = "failed";
|
|
14
|
+
BillingInvoiceStatus["VOID"] = "void";
|
|
15
|
+
})(BillingInvoiceStatus || (BillingInvoiceStatus = {}));
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* Billing owner scope enum.
|
|
7
|
+
*/
|
|
8
|
+
export var BillingScope;
|
|
9
|
+
(function (BillingScope) {
|
|
10
|
+
BillingScope["PERSONAL"] = "personal";
|
|
11
|
+
BillingScope["ORGANIZATION"] = "organization";
|
|
12
|
+
})(BillingScope || (BillingScope = {}));
|
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
import type { AgentModelName } from './AgentModelName.js';
|
|
2
|
+
import type { ConversationStatus } from './ConversationStatus.js';
|
|
3
|
+
import type { ConversationType } from './ConversationType.js';
|
|
2
4
|
export type ConversationResponse = {
|
|
3
5
|
agent_id?: (string | null);
|
|
4
6
|
created_at: string;
|
|
5
7
|
id: string;
|
|
8
|
+
instructions?: (string | null);
|
|
6
9
|
metadata?: (Record<string, any> | null);
|
|
7
10
|
model_name?: (AgentModelName | null);
|
|
8
11
|
organization_id?: (string | null);
|
|
12
|
+
output?: null;
|
|
9
13
|
parent_id?: (string | null);
|
|
10
14
|
pod_id: string;
|
|
15
|
+
status?: (ConversationStatus | null);
|
|
11
16
|
title?: (string | null);
|
|
17
|
+
type?: ConversationType;
|
|
12
18
|
updated_at: string;
|
|
13
19
|
user_id: string;
|
|
14
20
|
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* User-visible lifecycle for a conversation.
|
|
7
|
+
*/
|
|
8
|
+
export var ConversationStatus;
|
|
9
|
+
(function (ConversationStatus) {
|
|
10
|
+
ConversationStatus["RUNNING"] = "RUNNING";
|
|
11
|
+
ConversationStatus["STOP_REQUESTED"] = "STOP_REQUESTED";
|
|
12
|
+
ConversationStatus["WAITING"] = "WAITING";
|
|
13
|
+
ConversationStatus["COMPLETED"] = "COMPLETED";
|
|
14
|
+
ConversationStatus["FAILED"] = "FAILED";
|
|
15
|
+
ConversationStatus["STOPPED"] = "STOPPED";
|
|
16
|
+
})(ConversationStatus || (ConversationStatus = {}));
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* User-visible conversation behavior.
|
|
7
|
+
*/
|
|
8
|
+
export var ConversationType;
|
|
9
|
+
(function (ConversationType) {
|
|
10
|
+
ConversationType["CHAT"] = "CHAT";
|
|
11
|
+
ConversationType["TASK"] = "TASK";
|
|
12
|
+
})(ConversationType || (ConversationType = {}));
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { AgentModelName } from './AgentModelName.js';
|
|
2
2
|
import type { AgentToolset } from './AgentToolset.js';
|
|
3
|
-
import type { app__modules__agent__domain__value_objects__TableAccessEntry } from './app__modules__agent__domain__value_objects__TableAccessEntry.js';
|
|
4
3
|
import type { ApplicationAccessConfig } from './ApplicationAccessConfig.js';
|
|
5
4
|
import type { HarnessKind } from './HarnessKind.js';
|
|
5
|
+
import type { TableAccessEntry } from './TableAccessEntry.js';
|
|
6
6
|
export type CreateAgentRequest = {
|
|
7
7
|
accessible_applications?: Array<ApplicationAccessConfig>;
|
|
8
8
|
accessible_folders?: Array<string>;
|
|
9
|
-
accessible_tables?: Array<
|
|
9
|
+
accessible_tables?: Array<TableAccessEntry>;
|
|
10
10
|
agent_names?: Array<string>;
|
|
11
11
|
description?: (string | null);
|
|
12
12
|
function_names?: Array<string>;
|
|
@@ -19,4 +19,5 @@ export type CreateAgentRequest = {
|
|
|
19
19
|
name: string;
|
|
20
20
|
output_schema?: (Record<string, any> | null);
|
|
21
21
|
toolsets?: Array<AgentToolset>;
|
|
22
|
+
visibility_roles?: (Array<string> | null);
|
|
22
23
|
};
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import type { AgentModelName } from './AgentModelName.js';
|
|
2
|
+
import type { ConversationType } from './ConversationType.js';
|
|
2
3
|
export type CreateConversationRequest = {
|
|
3
4
|
agent_name?: (string | null);
|
|
5
|
+
instructions?: (string | null);
|
|
6
|
+
metadata?: (Record<string, any> | null);
|
|
4
7
|
model_name?: (AgentModelName | null);
|
|
5
8
|
parent_id?: (string | null);
|
|
6
9
|
title?: (string | null);
|
|
10
|
+
type?: ConversationType;
|
|
7
11
|
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import type { FileNamespace } from './FileNamespace.js';
|
|
2
1
|
export type CreateFolderRequest = {
|
|
3
2
|
description?: (string | null);
|
|
4
3
|
name?: (string | null);
|
|
5
|
-
namespace?: (FileNamespace | null);
|
|
6
4
|
parent_id?: (string | null);
|
|
7
5
|
path?: (string | null);
|
|
6
|
+
visibility_roles?: (Array<string> | null);
|
|
8
7
|
};
|
|
@@ -1,20 +1,25 @@
|
|
|
1
|
-
import type { app__modules__function__api__schemas__function_schemas__TableAccessEntry } from './app__modules__function__api__schemas__function_schemas__TableAccessEntry.js';
|
|
2
1
|
import type { ApplicationAccessConfig } from './ApplicationAccessConfig.js';
|
|
2
|
+
import type { FunctionTableAccessEntry } from './FunctionTableAccessEntry.js';
|
|
3
3
|
import type { FunctionType } from './FunctionType.js';
|
|
4
4
|
/**
|
|
5
5
|
* Request to create a function.
|
|
6
|
+
*
|
|
7
|
+
* Input and output schemas are derived from the submitted code and returned
|
|
8
|
+
* on the function response. They are not accepted in create requests.
|
|
6
9
|
*/
|
|
7
10
|
export type CreateFunctionRequest = {
|
|
8
11
|
accessible_applications?: Array<ApplicationAccessConfig>;
|
|
9
12
|
accessible_folders?: Array<string>;
|
|
10
|
-
accessible_tables?: Array<
|
|
13
|
+
accessible_tables?: Array<FunctionTableAccessEntry>;
|
|
14
|
+
/**
|
|
15
|
+
* Python source for the function. When provided, the platform analyzes the code and populates input_schema, output_schema, and config_schema on the returned function.
|
|
16
|
+
*/
|
|
11
17
|
code?: (string | null);
|
|
12
18
|
config?: (Record<string, any> | null);
|
|
13
19
|
config_schema?: (Record<string, any> | null);
|
|
14
20
|
description?: (string | null);
|
|
15
21
|
icon_url?: (string | null);
|
|
16
|
-
input_schema?: Record<string, any>;
|
|
17
22
|
name: string;
|
|
18
|
-
output_schema?: Record<string, any>;
|
|
19
23
|
type?: FunctionType;
|
|
24
|
+
visibility_roles?: (Array<string> | null);
|
|
20
25
|
};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import type { FileNamespace } from './FileNamespace.js';
|
|
2
1
|
export type DatastoreFileUploadRequest = {
|
|
3
2
|
data: string;
|
|
4
3
|
description?: (string | null);
|
|
5
4
|
directory_path?: string;
|
|
6
5
|
name?: (string | null);
|
|
7
|
-
namespace?: (FileNamespace | null);
|
|
8
6
|
search_enabled?: boolean;
|
|
7
|
+
visibility_roles?: (string | null);
|
|
9
8
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { FileNamespace } from './FileNamespace.js';
|
|
2
1
|
export type FileResponse = {
|
|
3
2
|
created_at: string;
|
|
4
3
|
description: (string | null);
|
|
@@ -9,7 +8,6 @@ export type FileResponse = {
|
|
|
9
8
|
metadata?: (Record<string, any> | null);
|
|
10
9
|
mime_type?: (string | null);
|
|
11
10
|
name: string;
|
|
12
|
-
namespace?: FileNamespace;
|
|
13
11
|
owner_user_id?: (string | null);
|
|
14
12
|
path: string;
|
|
15
13
|
pod_id: string;
|
|
@@ -17,4 +15,6 @@ export type FileResponse = {
|
|
|
17
15
|
size_bytes?: number;
|
|
18
16
|
status: string;
|
|
19
17
|
updated_at: string;
|
|
18
|
+
visibility?: string;
|
|
19
|
+
visibility_roles?: Array<string>;
|
|
20
20
|
};
|
|
@@ -24,4 +24,6 @@ export type FlowResponse = {
|
|
|
24
24
|
pod_id: string;
|
|
25
25
|
start?: ((ManualWorkflowStartOutput | ScheduledWorkflowStartOutput | EventWorkflowStartOutput | DataStoreWorkflowStartOutput) | null);
|
|
26
26
|
updated_at?: (string | null);
|
|
27
|
+
visibility?: string;
|
|
28
|
+
visibility_roles?: Array<string>;
|
|
27
29
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { app__modules__function__api__schemas__function_schemas__TableAccessEntry } from './app__modules__function__api__schemas__function_schemas__TableAccessEntry.js';
|
|
2
1
|
import type { ApplicationAccessConfig } from './ApplicationAccessConfig.js';
|
|
3
2
|
import type { FunctionStatus } from './FunctionStatus.js';
|
|
3
|
+
import type { FunctionTableAccessEntry } from './FunctionTableAccessEntry.js';
|
|
4
4
|
import type { FunctionType } from './FunctionType.js';
|
|
5
5
|
/**
|
|
6
6
|
* Function response.
|
|
@@ -8,21 +8,32 @@ import type { FunctionType } from './FunctionType.js';
|
|
|
8
8
|
export type FunctionResponse = {
|
|
9
9
|
accessible_applications: Array<ApplicationAccessConfig>;
|
|
10
10
|
accessible_folders: Array<string>;
|
|
11
|
-
accessible_tables: Array<
|
|
11
|
+
accessible_tables: Array<FunctionTableAccessEntry>;
|
|
12
12
|
code?: (string | null);
|
|
13
13
|
code_path?: (string | null);
|
|
14
14
|
config?: (Record<string, any> | null);
|
|
15
|
+
/**
|
|
16
|
+
* Optional configuration schema derived from the function code.
|
|
17
|
+
*/
|
|
15
18
|
config_schema?: (Record<string, any> | null);
|
|
16
19
|
created_at: any;
|
|
17
20
|
description?: (string | null);
|
|
18
21
|
icon_url?: (string | null);
|
|
19
22
|
id: string;
|
|
23
|
+
/**
|
|
24
|
+
* Input JSON schema derived from the function code.
|
|
25
|
+
*/
|
|
20
26
|
input_schema: Record<string, any>;
|
|
21
27
|
name: string;
|
|
28
|
+
/**
|
|
29
|
+
* Output JSON schema derived from the function code.
|
|
30
|
+
*/
|
|
22
31
|
output_schema: Record<string, any>;
|
|
23
32
|
pod_id: string;
|
|
24
33
|
status: FunctionStatus;
|
|
25
34
|
type: FunctionType;
|
|
26
35
|
updated_at: any;
|
|
27
36
|
user_id: string;
|
|
37
|
+
visibility?: string;
|
|
38
|
+
visibility_roles?: Array<string>;
|
|
28
39
|
};
|