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.
Files changed (130) hide show
  1. package/README.md +10 -3
  2. package/dist/browser/lemma-client.js +95 -68
  3. package/dist/index.d.ts +1 -1
  4. package/dist/namespaces/conversations.d.ts +6 -0
  5. package/dist/namespaces/conversations.js +2 -0
  6. package/dist/namespaces/files.js +12 -21
  7. package/dist/namespaces/resources.d.ts +21 -5
  8. package/dist/openapi_client/index.d.ts +21 -15
  9. package/dist/openapi_client/index.js +5 -5
  10. package/dist/openapi_client/models/AgentResponse.d.ts +3 -2
  11. package/dist/openapi_client/models/BillingHistoryResponse.d.ts +8 -0
  12. package/dist/openapi_client/models/BillingInvoiceResponse.d.ts +29 -0
  13. package/dist/openapi_client/models/BillingInvoiceStatus.d.ts +10 -0
  14. package/dist/openapi_client/models/BillingInvoiceStatus.js +15 -0
  15. package/dist/openapi_client/models/BillingScope.d.ts +7 -0
  16. package/dist/openapi_client/models/BillingScope.js +12 -0
  17. package/dist/openapi_client/models/ConversationResponse.d.ts +6 -0
  18. package/dist/openapi_client/models/ConversationStatus.d.ts +11 -0
  19. package/dist/openapi_client/models/ConversationStatus.js +16 -0
  20. package/dist/openapi_client/models/ConversationType.d.ts +7 -0
  21. package/dist/openapi_client/models/ConversationType.js +12 -0
  22. package/dist/openapi_client/models/CreateAgentRequest.d.ts +3 -2
  23. package/dist/openapi_client/models/CreateConversationRequest.d.ts +4 -0
  24. package/dist/openapi_client/models/CreateDeskRequest.d.ts +1 -0
  25. package/dist/openapi_client/models/CreateFolderRequest.d.ts +1 -2
  26. package/dist/openapi_client/models/CreateFunctionRequest.d.ts +9 -4
  27. package/dist/openapi_client/models/CreateInvoicePaymentUrlRequest.d.ts +7 -0
  28. package/dist/openapi_client/models/CreateInvoicePaymentUrlResponse.d.ts +8 -0
  29. package/dist/openapi_client/models/CreateScheduleRequest.d.ts +1 -0
  30. package/dist/openapi_client/models/CreateTableRequest.d.ts +1 -0
  31. package/dist/openapi_client/models/DatastoreFileUploadRequest.d.ts +1 -2
  32. package/dist/openapi_client/models/DeskResponse.d.ts +2 -0
  33. package/dist/openapi_client/models/FileResponse.d.ts +2 -2
  34. package/dist/openapi_client/models/FlowResponse.d.ts +2 -0
  35. package/dist/openapi_client/models/FunctionResponse.d.ts +13 -2
  36. package/dist/openapi_client/models/{app__modules__function__api__schemas__function_schemas__TableAccessEntry.d.ts → FunctionTableAccessEntry.d.ts} +1 -1
  37. package/dist/openapi_client/models/PodMemberAddRequest.d.ts +1 -0
  38. package/dist/openapi_client/models/PodMemberDetailResponse.d.ts +1 -0
  39. package/dist/openapi_client/models/PodMemberResponse.d.ts +1 -0
  40. package/dist/openapi_client/models/PodMemberUpdateRoleRequest.d.ts +2 -1
  41. package/dist/openapi_client/models/PodRoleCreateRequest.d.ts +6 -0
  42. package/dist/openapi_client/models/PodRoleListResponse.d.ts +7 -0
  43. package/dist/openapi_client/models/PodRoleResponse.d.ts +11 -0
  44. package/dist/openapi_client/models/ScheduleResponse.d.ts +2 -0
  45. package/dist/openapi_client/models/SendMessageRequest.d.ts +1 -0
  46. package/dist/openapi_client/models/StartSubscriptionResponse.d.ts +3 -1
  47. package/dist/openapi_client/models/StartTeamBillingRequest.d.ts +6 -0
  48. package/dist/openapi_client/models/SubscriptionResponse.d.ts +22 -0
  49. package/dist/openapi_client/models/SubscriptionWithPlanResponse.d.ts +4 -1
  50. package/dist/openapi_client/models/{app__modules__agent__domain__value_objects__TableAccessEntry.d.ts → TableAccessEntry.d.ts} +1 -1
  51. package/dist/openapi_client/models/TableAccessEntry.js +1 -0
  52. package/dist/openapi_client/models/TableResponse.d.ts +2 -0
  53. package/dist/openapi_client/models/UpdateAgentRequest.d.ts +3 -2
  54. package/dist/openapi_client/models/UpdateConversationRequest.d.ts +2 -0
  55. package/dist/openapi_client/models/UpdateDeskRequest.d.ts +2 -0
  56. package/dist/openapi_client/models/UpdateFunctionRequest.d.ts +6 -2
  57. package/dist/openapi_client/models/UpdateScheduleRequest.d.ts +1 -0
  58. package/dist/openapi_client/models/UpdateTableRequest.d.ts +2 -1
  59. package/dist/openapi_client/models/UsageLimitScopeResponse.d.ts +10 -0
  60. package/dist/openapi_client/models/UsageLimitScopeResponse.js +1 -0
  61. package/dist/openapi_client/models/UsageLimitsResponse.d.ts +11 -0
  62. package/dist/openapi_client/models/UsageLimitsResponse.js +1 -0
  63. package/dist/openapi_client/models/UsageListResponse.d.ts +10 -0
  64. package/dist/openapi_client/models/UsageListResponse.js +1 -0
  65. package/dist/openapi_client/models/UsageRecordResponse.d.ts +12 -4
  66. package/dist/openapi_client/models/UsageStatsBucketResponse.d.ts +12 -0
  67. package/dist/openapi_client/models/UsageStatsBucketResponse.js +1 -0
  68. package/dist/openapi_client/models/UsageStatsResponse.d.ts +12 -0
  69. package/dist/openapi_client/models/UsageStatsResponse.js +1 -0
  70. package/dist/openapi_client/models/UsageSummaryResponse.d.ts +3 -0
  71. package/dist/openapi_client/models/WorkflowCreateRequest.d.ts +1 -0
  72. package/dist/openapi_client/models/WorkflowUpdateRequest.d.ts +1 -0
  73. package/dist/openapi_client/models/update.d.ts +1 -2
  74. package/dist/openapi_client/services/AgentConversationsService.d.ts +5 -1
  75. package/dist/openapi_client/services/AgentConversationsService.js +5 -1
  76. package/dist/openapi_client/services/BillingSubscriptionsService.d.ts +80 -20
  77. package/dist/openapi_client/services/BillingSubscriptionsService.js +164 -27
  78. package/dist/openapi_client/services/BillingUsageService.d.ts +89 -5
  79. package/dist/openapi_client/services/BillingUsageService.js +186 -6
  80. package/dist/openapi_client/services/DesksService.d.ts +21 -4
  81. package/dist/openapi_client/services/DesksService.js +44 -2
  82. package/dist/openapi_client/services/FilesService.d.ts +11 -20
  83. package/dist/openapi_client/services/FilesService.js +11 -28
  84. package/dist/openapi_client/services/FunctionsService.d.ts +2 -2
  85. package/dist/openapi_client/services/FunctionsService.js +2 -2
  86. package/dist/openapi_client/services/PodMembersService.d.ts +10 -0
  87. package/dist/openapi_client/services/PodMembersService.js +24 -0
  88. package/dist/openapi_client/services/PodRolesService.d.ts +29 -0
  89. package/dist/openapi_client/services/PodRolesService.js +63 -0
  90. package/dist/react/AuthGuard.d.ts +0 -15
  91. package/dist/react/AuthGuard.js +128 -167
  92. package/dist/react/index.d.ts +1 -1
  93. package/dist/react/useAssistantController.d.ts +8 -4
  94. package/dist/react/useAssistantController.js +9 -6
  95. package/dist/react/useAssistantSession.d.ts +9 -0
  96. package/dist/react/useAssistantSession.js +10 -2
  97. package/dist/react/useConversationMessages.d.ts +2 -1
  98. package/dist/react/useConversationMessages.js +2 -1
  99. package/dist/react/useConversations.d.ts +7 -1
  100. package/dist/react/useConversations.js +10 -4
  101. package/dist/types.d.ts +2 -2
  102. package/package.json +1 -1
  103. package/dist/openapi_client/models/Body_upload_file_files__resource_type___resource_id__upload_post.d.ts +0 -3
  104. package/dist/openapi_client/models/FileInfo.d.ts +0 -14
  105. package/dist/openapi_client/models/FileInfo.js +0 -8
  106. package/dist/openapi_client/models/FileNamespace.d.ts +0 -4
  107. package/dist/openapi_client/models/FileNamespace.js +0 -9
  108. package/dist/openapi_client/models/FileUploadResponse.d.ts +0 -6
  109. package/dist/openapi_client/models/GrantPermissionRequest.d.ts +0 -6
  110. package/dist/openapi_client/models/PodPermissionsResponse.d.ts +0 -4
  111. package/dist/openapi_client/models/ResourceFileListResponse.d.ts +0 -6
  112. package/dist/openapi_client/models/ResourcePermissionListResponse.d.ts +0 -4
  113. package/dist/openapi_client/models/ResourcePermissionResponse.d.ts +0 -12
  114. package/dist/openapi_client/models/ResourceType.d.ts +0 -4
  115. package/dist/openapi_client/models/ResourceType.js +0 -9
  116. package/dist/openapi_client/models/SetVisibilityRequest.d.ts +0 -3
  117. package/dist/openapi_client/services/AgentFilesService.d.ts +0 -46
  118. package/dist/openapi_client/services/AgentFilesService.js +0 -103
  119. package/dist/openapi_client/services/AuthorizationService.d.ts +0 -58
  120. package/dist/openapi_client/services/AuthorizationService.js +0 -122
  121. /package/dist/openapi_client/models/{Body_upload_file_files__resource_type___resource_id__upload_post.js → BillingHistoryResponse.js} +0 -0
  122. /package/dist/openapi_client/models/{FileUploadResponse.js → BillingInvoiceResponse.js} +0 -0
  123. /package/dist/openapi_client/models/{GrantPermissionRequest.js → CreateInvoicePaymentUrlRequest.js} +0 -0
  124. /package/dist/openapi_client/models/{PodPermissionsResponse.js → CreateInvoicePaymentUrlResponse.js} +0 -0
  125. /package/dist/openapi_client/models/{ResourceFileListResponse.js → FunctionTableAccessEntry.js} +0 -0
  126. /package/dist/openapi_client/models/{ResourcePermissionListResponse.js → PodRoleCreateRequest.js} +0 -0
  127. /package/dist/openapi_client/models/{ResourcePermissionResponse.js → PodRoleListResponse.js} +0 -0
  128. /package/dist/openapi_client/models/{SetVisibilityRequest.js → PodRoleResponse.js} +0 -0
  129. /package/dist/openapi_client/models/{app__modules__agent__domain__value_objects__TableAccessEntry.js → StartTeamBillingRequest.js} +0 -0
  130. /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 { Body_upload_file_files__resource_type___resource_id__upload_post } from './models/Body_upload_file_files__resource_type___resource_id__upload_post.js';
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<app__modules__agent__domain__value_objects__TableAccessEntry>;
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,8 @@
1
+ import type { BillingInvoiceResponse } from './BillingInvoiceResponse.js';
2
+ /**
3
+ * Response schema for billing invoice history.
4
+ */
5
+ export type BillingHistoryResponse = {
6
+ items: Array<BillingInvoiceResponse>;
7
+ next_page_token?: (string | null);
8
+ };
@@ -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,10 @@
1
+ /**
2
+ * Billing invoice status enum.
3
+ */
4
+ export declare enum BillingInvoiceStatus {
5
+ DRAFT = "draft",
6
+ UNPAID = "unpaid",
7
+ PAID = "paid",
8
+ FAILED = "failed",
9
+ VOID = "void"
10
+ }
@@ -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,7 @@
1
+ /**
2
+ * Billing owner scope enum.
3
+ */
4
+ export declare enum BillingScope {
5
+ PERSONAL = "personal",
6
+ ORGANIZATION = "organization"
7
+ }
@@ -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,11 @@
1
+ /**
2
+ * User-visible lifecycle for a conversation.
3
+ */
4
+ export declare enum ConversationStatus {
5
+ RUNNING = "RUNNING",
6
+ STOP_REQUESTED = "STOP_REQUESTED",
7
+ WAITING = "WAITING",
8
+ COMPLETED = "COMPLETED",
9
+ FAILED = "FAILED",
10
+ STOPPED = "STOPPED"
11
+ }
@@ -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,7 @@
1
+ /**
2
+ * User-visible conversation behavior.
3
+ */
4
+ export declare enum ConversationType {
5
+ CHAT = "CHAT",
6
+ TASK = "TASK"
7
+ }
@@ -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<app__modules__agent__domain__value_objects__TableAccessEntry>;
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
  };
@@ -2,4 +2,5 @@ export type CreateDeskRequest = {
2
2
  description?: (string | null);
3
3
  name: string;
4
4
  public_slug?: (string | null);
5
+ visibility_roles?: (Array<string> | null);
5
6
  };
@@ -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<app__modules__function__api__schemas__function_schemas__TableAccessEntry>;
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
  };
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Request to generate a payment URL for an invoice.
3
+ */
4
+ export type CreateInvoicePaymentUrlRequest = {
5
+ cancel_url: string;
6
+ success_url: string;
7
+ };
@@ -0,0 +1,8 @@
1
+ import type { BillingInvoiceResponse } from './BillingInvoiceResponse.js';
2
+ /**
3
+ * Response with invoice payment checkout URL.
4
+ */
5
+ export type CreateInvoicePaymentUrlResponse = {
6
+ checkout_url: string;
7
+ invoice: BillingInvoiceResponse;
8
+ };
@@ -10,5 +10,6 @@ export type CreateScheduleRequest = {
10
10
  filter_instruction?: (string | null);
11
11
  filter_output_schema?: (Record<string, any> | null);
12
12
  schedule_type: ScheduleType;
13
+ visibility_roles?: (Array<string> | null);
13
14
  workflow_name?: (string | null);
14
15
  };
@@ -23,4 +23,5 @@ export type CreateTableRequest = {
23
23
  * Primary key column name. If not `id`, it must also be declared in `columns`.
24
24
  */
25
25
  primary_key_column?: string;
26
+ visibility_roles?: (Array<string> | null);
26
27
  };
@@ -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
  };
@@ -12,4 +12,6 @@ export type DeskResponse = {
12
12
  updated_at: any;
13
13
  readonly url: string;
14
14
  user_id: string;
15
+ visibility?: string;
16
+ visibility_roles?: Array<string>;
15
17
  };
@@ -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<app__modules__function__api__schemas__function_schemas__TableAccessEntry>;
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
  };
@@ -1,5 +1,5 @@
1
1
  import type { TableAccessMode } from './TableAccessMode.js';
2
- export type app__modules__function__api__schemas__function_schemas__TableAccessEntry = {
2
+ export type FunctionTableAccessEntry = {
3
3
  mode?: TableAccessMode;
4
4
  table_name: string;
5
5
  };
@@ -5,4 +5,5 @@ import type { PodRole } from './PodRole.js';
5
5
  export type PodMemberAddRequest = {
6
6
  organization_member_id: string;
7
7
  role: PodRole;
8
+ roles?: (Array<string> | null);
8
9
  };
@@ -8,6 +8,7 @@ export type PodMemberDetailResponse = {
8
8
  email: string;
9
9
  pod_member_id: string;
10
10
  role: PodRole;
11
+ roles?: Array<string>;
11
12
  updated_at: string;
12
13
  user?: (UserResponse | null);
13
14
  user_email: string;
@@ -7,6 +7,7 @@ export type PodMemberResponse = {
7
7
  email: string;
8
8
  pod_member_id: string;
9
9
  role: PodRole;
10
+ roles?: Array<string>;
10
11
  updated_at: string;
11
12
  user_email: string;
12
13
  user_id: string;
@@ -3,5 +3,6 @@ import type { PodRole } from './PodRole.js';
3
3
  * Pod member role update request schema.
4
4
  */
5
5
  export type PodMemberUpdateRoleRequest = {
6
- role: PodRole;
6
+ role?: (PodRole | null);
7
+ roles?: (Array<string> | null);
7
8
  };