lemma-sdk 0.2.38 → 0.2.41
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 +15 -4
- package/dist/browser/lemma-client.js +339 -106
- package/dist/client.d.ts +2 -0
- package/dist/client.js +3 -0
- package/dist/index.d.ts +2 -1
- package/dist/namespaces/pod-members.d.ts +5 -3
- package/dist/namespaces/pod-members.js +12 -6
- package/dist/namespaces/resources.d.ts +21 -5
- package/dist/namespaces/schedules.d.ts +22 -0
- package/dist/namespaces/schedules.js +24 -0
- package/dist/namespaces/workflows.d.ts +4 -5
- package/dist/namespaces/workflows.js +1 -4
- package/dist/openapi_client/index.d.ts +31 -26
- package/dist/openapi_client/index.js +8 -7
- 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 +1 -0
- package/dist/openapi_client/models/CreateAgentRequest.d.ts +3 -2
- package/dist/openapi_client/models/CreateConversationRequest.d.ts +1 -0
- package/dist/openapi_client/models/CreateDeskRequest.d.ts +1 -0
- package/dist/openapi_client/models/CreateFolderRequest.d.ts +2 -0
- 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 +15 -0
- package/dist/openapi_client/models/CreateTableRequest.d.ts +1 -0
- package/dist/openapi_client/models/DatastoreFileUploadRequest.d.ts +1 -0
- package/dist/openapi_client/models/DeskResponse.d.ts +2 -0
- package/dist/openapi_client/models/FileResponse.d.ts +2 -0
- package/dist/openapi_client/models/FlowResponse.d.ts +4 -2
- package/dist/openapi_client/models/FlowRunEntity.d.ts +5 -4
- package/dist/openapi_client/models/FormNodeConfig.d.ts +8 -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/PodConfigResponse.d.ts +0 -2
- package/dist/openapi_client/models/PodMemberAddRequest.d.ts +1 -0
- package/dist/openapi_client/models/PodMemberDetailResponse.d.ts +3 -0
- package/dist/openapi_client/models/PodMemberResponse.d.ts +3 -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/ScheduleListResponse.d.ts +9 -0
- package/dist/openapi_client/models/{TriggerResponse.d.ts → ScheduleResponse.d.ts} +10 -4
- package/dist/openapi_client/models/{TriggerType.d.ts → ScheduleType.d.ts} +2 -2
- package/dist/openapi_client/models/ScheduleType.js +13 -0
- package/dist/openapi_client/models/ScheduledFlowStartInput.d.ts +1 -1
- package/dist/openapi_client/models/ScheduledFlowStartOutput.d.ts +1 -1
- package/dist/openapi_client/models/SendMessageRequest.d.ts +1 -2
- 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/TableResponse.d.ts +2 -0
- package/dist/openapi_client/models/UpdateAgentRequest.d.ts +3 -2
- package/dist/openapi_client/models/UpdateConversationRequest.d.ts +1 -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 +12 -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/UsageLimitsResponse.d.ts +11 -0
- package/dist/openapi_client/models/UsageListResponse.d.ts +10 -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/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 +4 -3
- package/dist/openapi_client/models/WorkflowMode.d.ts +7 -0
- package/dist/openapi_client/models/WorkflowMode.js +12 -0
- package/dist/openapi_client/models/WorkflowRunWaitAssignment.d.ts +6 -0
- package/dist/openapi_client/models/WorkflowRunWaitAssignment.js +1 -0
- package/dist/openapi_client/models/WorkflowRunWaitAssignmentListResponse.d.ts +6 -0
- package/dist/openapi_client/models/WorkflowRunWaitAssignmentListResponse.js +1 -0
- package/dist/openapi_client/models/WorkflowRunWaitEntity.d.ts +20 -0
- package/dist/openapi_client/models/WorkflowRunWaitEntity.js +1 -0
- package/dist/openapi_client/models/WorkflowRunWaitStatus.d.ts +6 -0
- package/dist/openapi_client/models/WorkflowRunWaitStatus.js +11 -0
- package/dist/openapi_client/models/WorkflowRunWaitType.d.ts +7 -0
- package/dist/openapi_client/models/WorkflowRunWaitType.js +12 -0
- package/dist/openapi_client/models/WorkflowUpdateRequest.d.ts +4 -3
- package/dist/openapi_client/models/update.d.ts +2 -0
- 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 +10 -10
- package/dist/openapi_client/services/FilesService.js +10 -10
- 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 +35 -7
- package/dist/openapi_client/services/PodMembersService.js +81 -13
- package/dist/openapi_client/services/PodRolesService.d.ts +29 -0
- package/dist/openapi_client/services/PodRolesService.js +63 -0
- package/dist/openapi_client/services/SchedulesService.d.ts +59 -0
- package/dist/openapi_client/services/SchedulesService.js +125 -0
- package/dist/openapi_client/services/WebhooksService.d.ts +4 -4
- package/dist/openapi_client/services/WebhooksService.js +6 -6
- package/dist/openapi_client/services/WorkflowsService.d.ts +12 -33
- package/dist/openapi_client/services/WorkflowsService.js +26 -69
- package/dist/react/AuthGuard.js +1 -1
- package/dist/react/index.d.ts +11 -1
- package/dist/react/index.js +5 -0
- package/dist/react/useAssistantController.d.ts +8 -4
- package/dist/react/useAssistantController.js +9 -6
- package/dist/react/useAssistantSession.d.ts +3 -0
- package/dist/react/useAssistantSession.js +6 -2
- package/dist/react/useConversationMessages.d.ts +2 -1
- package/dist/react/useConversationMessages.js +2 -1
- package/dist/react/useCreateSchedule.d.ts +17 -0
- package/dist/react/useCreateSchedule.js +45 -0
- package/dist/react/useDeleteSchedule.d.ts +19 -0
- package/dist/react/useDeleteSchedule.js +49 -0
- package/dist/react/usePodAccess.js +1 -1
- package/dist/react/useSchedules.d.ts +30 -0
- package/dist/react/useSchedules.js +123 -0
- package/dist/react/useUpdateSchedule.d.ts +20 -0
- package/dist/react/useUpdateSchedule.js +49 -0
- package/dist/react/useWorkflowRun.js +1 -1
- package/dist/react/useWorkflowRunWaitAssignments.d.ts +26 -0
- package/dist/react/useWorkflowRunWaitAssignments.js +102 -0
- package/dist/react/useWorkflowStart.js +1 -1
- package/dist/types.d.ts +3 -1
- 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/CreateTriggerRequest.d.ts +0 -13
- package/dist/openapi_client/models/FileInfo.d.ts +0 -14
- package/dist/openapi_client/models/FileInfo.js +0 -8
- package/dist/openapi_client/models/FileUploadResponse.d.ts +0 -6
- package/dist/openapi_client/models/FlowInstallResponse.d.ts +0 -15
- package/dist/openapi_client/models/GrantPermissionRequest.d.ts +0 -6
- package/dist/openapi_client/models/PodFlowConfigItem.d.ts +0 -7
- 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/models/TriggerListResponse.d.ts +0 -9
- package/dist/openapi_client/models/TriggerType.js +0 -13
- package/dist/openapi_client/models/UpdateTriggerRequest.d.ts +0 -9
- package/dist/openapi_client/models/WorkflowInstallListResponse.d.ts +0 -4
- package/dist/openapi_client/models/WorkflowInstallMode.d.ts +0 -7
- package/dist/openapi_client/models/WorkflowInstallMode.js +0 -12
- package/dist/openapi_client/models/WorkflowInstallRequest.d.ts +0 -11
- package/dist/openapi_client/models/WorkflowTimeInstallConfig.d.ts +0 -19
- 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/services/TriggersService.d.ts +0 -53
- package/dist/openapi_client/services/TriggersService.js +0 -109
- /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/{CreateTriggerRequest.js → BillingInvoiceResponse.js} +0 -0
- /package/dist/openapi_client/models/{FileUploadResponse.js → CreateInvoicePaymentUrlRequest.js} +0 -0
- /package/dist/openapi_client/models/{FlowInstallResponse.js → CreateInvoicePaymentUrlResponse.js} +0 -0
- /package/dist/openapi_client/models/{GrantPermissionRequest.js → CreateScheduleRequest.js} +0 -0
- /package/dist/openapi_client/models/{PodFlowConfigItem.js → FunctionTableAccessEntry.js} +0 -0
- /package/dist/openapi_client/models/{PodPermissionsResponse.js → PodRoleCreateRequest.js} +0 -0
- /package/dist/openapi_client/models/{ResourceFileListResponse.js → PodRoleListResponse.js} +0 -0
- /package/dist/openapi_client/models/{ResourcePermissionListResponse.js → PodRoleResponse.js} +0 -0
- /package/dist/openapi_client/models/{ResourcePermissionResponse.js → ScheduleListResponse.js} +0 -0
- /package/dist/openapi_client/models/{SetVisibilityRequest.js → ScheduleResponse.js} +0 -0
- /package/dist/openapi_client/models/{TriggerListResponse.js → StartTeamBillingRequest.js} +0 -0
- /package/dist/openapi_client/models/{TriggerResponse.js → SubscriptionResponse.js} +0 -0
- /package/dist/openapi_client/models/{UpdateTriggerRequest.js → TableAccessEntry.js} +0 -0
- /package/dist/openapi_client/models/{WorkflowInstallListResponse.js → UpdateScheduleRequest.js} +0 -0
- /package/dist/openapi_client/models/{WorkflowInstallRequest.js → UsageLimitScopeResponse.js} +0 -0
- /package/dist/openapi_client/models/{WorkflowTimeInstallConfig.js → UsageLimitsResponse.js} +0 -0
- /package/dist/openapi_client/models/{app__modules__agent__domain__value_objects__TableAccessEntry.js → UsageListResponse.js} +0 -0
- /package/dist/openapi_client/models/{app__modules__function__api__schemas__function_schemas__TableAccessEntry.js → UsageStatsBucketResponse.js} +0 -0
|
@@ -10,7 +10,9 @@ export declare class PodMembersNamespace {
|
|
|
10
10
|
cursor?: string;
|
|
11
11
|
}): Promise<import("../types.js").PodMemberListResponse>;
|
|
12
12
|
add(podId: string, payload: PodMemberAddRequest): Promise<import("../types.js").PodMemberResponse>;
|
|
13
|
-
get(podId: string,
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
get(podId: string, podMemberId: string): Promise<import("../types.js").PodMemberDetailResponse>;
|
|
14
|
+
lookupByEmail(podId: string, email: string): Promise<import("../types.js").PodMemberDetailResponse>;
|
|
15
|
+
lookupByUserId(podId: string, userId: string): Promise<import("../types.js").PodMemberDetailResponse>;
|
|
16
|
+
updateRole(podId: string, podMemberId: string, role: PodRole): Promise<import("../types.js").PodMemberResponse>;
|
|
17
|
+
remove(podId: string, podMemberId: string): Promise<void>;
|
|
16
18
|
}
|
|
@@ -10,13 +10,19 @@ export class PodMembersNamespace {
|
|
|
10
10
|
add(podId, payload) {
|
|
11
11
|
return this.client.request(() => PodMembersService.podMemberAdd(podId, payload));
|
|
12
12
|
}
|
|
13
|
-
get(podId,
|
|
14
|
-
return this.client.request(() => PodMembersService.podMemberGet(podId,
|
|
13
|
+
get(podId, podMemberId) {
|
|
14
|
+
return this.client.request(() => PodMembersService.podMemberGet(podId, podMemberId));
|
|
15
15
|
}
|
|
16
|
-
|
|
17
|
-
return this.client.request(() => PodMembersService.
|
|
16
|
+
lookupByEmail(podId, email) {
|
|
17
|
+
return this.client.request(() => PodMembersService.podMemberLookupByEmail(podId, email));
|
|
18
18
|
}
|
|
19
|
-
|
|
20
|
-
return this.client.request(() => PodMembersService.
|
|
19
|
+
lookupByUserId(podId, userId) {
|
|
20
|
+
return this.client.request(() => PodMembersService.podMemberLookupByUserId(podId, userId));
|
|
21
|
+
}
|
|
22
|
+
updateRole(podId, podMemberId, role) {
|
|
23
|
+
return this.client.request(() => PodMembersService.podMemberUpdateRole(podId, podMemberId, { role }));
|
|
24
|
+
}
|
|
25
|
+
remove(podId, podMemberId) {
|
|
26
|
+
return this.client.request(() => PodMembersService.podMemberRemove(podId, podMemberId));
|
|
21
27
|
}
|
|
22
28
|
}
|
|
@@ -1,8 +1,24 @@
|
|
|
1
1
|
import type { HttpClient } from "../http.js";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
export type ResourceType = "pod" | "conversation" | (string & {});
|
|
3
|
+
export interface ResourceFileInfo {
|
|
4
|
+
created?: string | null;
|
|
5
|
+
last_modified?: string | null;
|
|
6
|
+
name: string;
|
|
7
|
+
path: string;
|
|
8
|
+
size?: number | null;
|
|
9
|
+
type: "file" | "directory" | (string & {});
|
|
10
|
+
}
|
|
11
|
+
export interface ResourceFileListResponse {
|
|
12
|
+
items: ResourceFileInfo[];
|
|
13
|
+
limit: number;
|
|
14
|
+
next_page_token?: string | null;
|
|
15
|
+
}
|
|
16
|
+
export interface ResourceFileUploadResponse {
|
|
17
|
+
file_name: string;
|
|
18
|
+
message: string;
|
|
19
|
+
path: string;
|
|
20
|
+
success: boolean;
|
|
21
|
+
}
|
|
6
22
|
export declare class ResourcesNamespace {
|
|
7
23
|
private readonly http;
|
|
8
24
|
constructor(http: HttpClient);
|
|
@@ -14,7 +30,7 @@ export declare class ResourcesNamespace {
|
|
|
14
30
|
upload(resourceType: ResourceType, resourceId: string, file: Blob, options?: {
|
|
15
31
|
path?: string;
|
|
16
32
|
name?: string;
|
|
17
|
-
}): Promise<
|
|
33
|
+
}): Promise<ResourceFileUploadResponse>;
|
|
18
34
|
delete(resourceType: ResourceType, resourceId: string, filePath: string): Promise<Record<string, unknown>>;
|
|
19
35
|
download(resourceType: ResourceType, resourceId: string, filePath: string): Promise<Blob>;
|
|
20
36
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { GeneratedClientAdapter } from "../generated.js";
|
|
2
|
+
import type { CreateScheduleRequest } from "../openapi_client/models/CreateScheduleRequest.js";
|
|
3
|
+
import type { ScheduleType } from "../openapi_client/models/ScheduleType.js";
|
|
4
|
+
import type { UpdateScheduleRequest } from "../openapi_client/models/UpdateScheduleRequest.js";
|
|
5
|
+
export interface ScheduleListOptions {
|
|
6
|
+
scheduleType?: ScheduleType | null;
|
|
7
|
+
isActive?: boolean | null;
|
|
8
|
+
agentName?: string | null;
|
|
9
|
+
workflowName?: string | null;
|
|
10
|
+
limit?: number;
|
|
11
|
+
pageToken?: string | null;
|
|
12
|
+
}
|
|
13
|
+
export declare class SchedulesNamespace {
|
|
14
|
+
private readonly client;
|
|
15
|
+
private readonly podId;
|
|
16
|
+
constructor(client: GeneratedClientAdapter, podId: () => string);
|
|
17
|
+
list(options?: ScheduleListOptions): Promise<import("../types.js").ScheduleListResponse>;
|
|
18
|
+
create(payload: CreateScheduleRequest): Promise<import("../types.js").ScheduleResponse>;
|
|
19
|
+
get(scheduleId: string): Promise<import("../types.js").ScheduleResponse>;
|
|
20
|
+
update(scheduleId: string, payload: UpdateScheduleRequest): Promise<import("../types.js").ScheduleResponse>;
|
|
21
|
+
delete(scheduleId: string): Promise<void>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { SchedulesService } from "../openapi_client/services/SchedulesService.js";
|
|
2
|
+
export class SchedulesNamespace {
|
|
3
|
+
client;
|
|
4
|
+
podId;
|
|
5
|
+
constructor(client, podId) {
|
|
6
|
+
this.client = client;
|
|
7
|
+
this.podId = podId;
|
|
8
|
+
}
|
|
9
|
+
list(options = {}) {
|
|
10
|
+
return this.client.request(() => SchedulesService.scheduleList(this.podId(), options.scheduleType, options.isActive, options.agentName, options.workflowName, options.limit ?? 100, options.pageToken));
|
|
11
|
+
}
|
|
12
|
+
create(payload) {
|
|
13
|
+
return this.client.request(() => SchedulesService.scheduleCreate(this.podId(), payload));
|
|
14
|
+
}
|
|
15
|
+
get(scheduleId) {
|
|
16
|
+
return this.client.request(() => SchedulesService.scheduleGet(this.podId(), scheduleId));
|
|
17
|
+
}
|
|
18
|
+
update(scheduleId, payload) {
|
|
19
|
+
return this.client.request(() => SchedulesService.scheduleUpdate(this.podId(), scheduleId, payload));
|
|
20
|
+
}
|
|
21
|
+
delete(scheduleId) {
|
|
22
|
+
return this.client.request(() => SchedulesService.scheduleDelete(this.podId(), scheduleId));
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -2,7 +2,6 @@ import type { GeneratedClientAdapter } from "../generated.js";
|
|
|
2
2
|
import { type HttpClient } from "../http.js";
|
|
3
3
|
import type { WorkflowCreateRequest } from "../openapi_client/models/WorkflowCreateRequest.js";
|
|
4
4
|
import type { WorkflowGraphUpdateRequest } from "../openapi_client/models/WorkflowGraphUpdateRequest.js";
|
|
5
|
-
import type { WorkflowInstallRequest } from "../openapi_client/models/WorkflowInstallRequest.js";
|
|
6
5
|
import type { WorkflowUpdateRequest } from "../openapi_client/models/WorkflowUpdateRequest.js";
|
|
7
6
|
import type { WorkflowRunInputs } from "../types.js";
|
|
8
7
|
export declare class WorkflowsNamespace {
|
|
@@ -22,10 +21,6 @@ export declare class WorkflowsNamespace {
|
|
|
22
21
|
readonly graph: {
|
|
23
22
|
update: (workflowName: string, graph: WorkflowGraphUpdateRequest) => Promise<import("../types.js").FlowResponse>;
|
|
24
23
|
};
|
|
25
|
-
readonly installs: {
|
|
26
|
-
create: (workflowName: string, payload?: WorkflowInstallRequest) => Promise<import("../types.js").FlowInstallResponse>;
|
|
27
|
-
delete: (workflowName: string, installId: string) => Promise<void>;
|
|
28
|
-
};
|
|
29
24
|
private postRunAction;
|
|
30
25
|
readonly runs: {
|
|
31
26
|
start: (workflowName: string, inputs?: WorkflowRunInputs) => Promise<import("../types.js").FlowRunEntity>;
|
|
@@ -33,6 +28,10 @@ export declare class WorkflowsNamespace {
|
|
|
33
28
|
limit?: number;
|
|
34
29
|
pageToken?: string;
|
|
35
30
|
}) => Promise<import("../types.js").WorkflowRunListResponse>;
|
|
31
|
+
waitingAssignedToMe: (options?: {
|
|
32
|
+
limit?: number;
|
|
33
|
+
pageToken?: string;
|
|
34
|
+
}) => Promise<import("../types.js").WorkflowRunWaitAssignmentListResponse>;
|
|
36
35
|
get: (runId: string, podId?: string) => Promise<import("../types.js").FlowRunEntity>;
|
|
37
36
|
resume: (runId: string, inputs?: WorkflowRunInputs, podId?: string) => Promise<import("../types.js").FlowRunEntity>;
|
|
38
37
|
visualize: (runId: string, podId?: string) => Promise<string>;
|
|
@@ -30,10 +30,6 @@ export class WorkflowsNamespace {
|
|
|
30
30
|
graph = {
|
|
31
31
|
update: (workflowName, graph) => this.client.request(() => WorkflowsService.workflowGraphUpdate(this.podId(), workflowName, graph)),
|
|
32
32
|
};
|
|
33
|
-
installs = {
|
|
34
|
-
create: (workflowName, payload = {}) => this.client.request(() => WorkflowsService.workflowInstallCreate(this.podId(), workflowName, payload)),
|
|
35
|
-
delete: (workflowName, installId) => this.client.request(() => WorkflowsService.workflowInstallDelete(this.podId(), workflowName, installId)),
|
|
36
|
-
};
|
|
37
33
|
async postRunAction(runId, action, podId) {
|
|
38
34
|
const encodedPodId = encodeURIComponent(podId);
|
|
39
35
|
const encodedRunId = encodeURIComponent(runId);
|
|
@@ -50,6 +46,7 @@ export class WorkflowsNamespace {
|
|
|
50
46
|
runs = {
|
|
51
47
|
start: (workflowName, inputs = {}) => this.client.request(() => WorkflowsService.workflowStart(this.podId(), workflowName, inputs)),
|
|
52
48
|
list: (workflowName, options = {}) => this.client.request(() => WorkflowsService.workflowRunList(this.podId(), workflowName, options.limit ?? 100, options.pageToken)),
|
|
49
|
+
waitingAssignedToMe: (options = {}) => this.client.request(() => WorkflowsService.workflowRunWaitingAssignedToMe(this.podId(), options.limit ?? 100, options.pageToken)),
|
|
53
50
|
get: (runId, podId = this.podId()) => this.client.request(() => WorkflowsService.workflowRunGet(podId, runId)),
|
|
54
51
|
resume: (runId, inputs = {}, podId = this.podId()) => this.client.request(() => WorkflowsService.workflowRunResume(podId, runId, inputs)),
|
|
55
52
|
visualize: (runId, podId = this.podId()) => this.client.request(() => WorkflowsService.workflowRunVisualize(podId, runId)),
|
|
@@ -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';
|
|
@@ -46,10 +47,12 @@ export type { CreateConversationRequest } from './models/CreateConversationReque
|
|
|
46
47
|
export type { CreateDeskRequest } from './models/CreateDeskRequest.js';
|
|
47
48
|
export type { CreateFolderRequest } from './models/CreateFolderRequest.js';
|
|
48
49
|
export type { CreateFunctionRequest } from './models/CreateFunctionRequest.js';
|
|
50
|
+
export type { CreateInvoicePaymentUrlRequest } from './models/CreateInvoicePaymentUrlRequest.js';
|
|
51
|
+
export type { CreateInvoicePaymentUrlResponse } from './models/CreateInvoicePaymentUrlResponse.js';
|
|
49
52
|
export type { CreateRecordRequest } from './models/CreateRecordRequest.js';
|
|
53
|
+
export type { CreateScheduleRequest } from './models/CreateScheduleRequest.js';
|
|
50
54
|
export type { CreateSurfaceRequest } from './models/CreateSurfaceRequest.js';
|
|
51
55
|
export type { CreateTableRequest } from './models/CreateTableRequest.js';
|
|
52
|
-
export type { CreateTriggerRequest } from './models/CreateTriggerRequest.js';
|
|
53
56
|
export { CredentialTypes } from './models/CredentialTypes.js';
|
|
54
57
|
export { DatastoreDataType } from './models/DatastoreDataType.js';
|
|
55
58
|
export type { DatastoreFileUploadRequest } from './models/DatastoreFileUploadRequest.js';
|
|
@@ -83,7 +86,6 @@ export type { EventWorkflowStartOutput } from './models/EventWorkflowStartOutput
|
|
|
83
86
|
export type { ExecuteFunctionRequest } from './models/ExecuteFunctionRequest.js';
|
|
84
87
|
export type { ExpressionInputBinding } from './models/ExpressionInputBinding.js';
|
|
85
88
|
export { FeedbackCategory } from './models/FeedbackCategory.js';
|
|
86
|
-
export { FileInfo } from './models/FileInfo.js';
|
|
87
89
|
export type { FileListResponse } from './models/FileListResponse.js';
|
|
88
90
|
export { FileNamespace } from './models/FileNamespace.js';
|
|
89
91
|
export type { FileResponse } from './models/FileResponse.js';
|
|
@@ -91,8 +93,6 @@ export type { FileSearchRequest } from './models/FileSearchRequest.js';
|
|
|
91
93
|
export type { FileSearchResponse } from './models/FileSearchResponse.js';
|
|
92
94
|
export type { FileSearchResultSchema } from './models/FileSearchResultSchema.js';
|
|
93
95
|
export { FileSearchScopeMode } from './models/FileSearchScopeMode.js';
|
|
94
|
-
export type { FileUploadResponse } from './models/FileUploadResponse.js';
|
|
95
|
-
export type { FlowInstallResponse } from './models/FlowInstallResponse.js';
|
|
96
96
|
export type { FlowResponse } from './models/FlowResponse.js';
|
|
97
97
|
export type { FlowRunEntity } from './models/FlowRunEntity.js';
|
|
98
98
|
export { FlowRunStatus } from './models/FlowRunStatus.js';
|
|
@@ -110,10 +110,10 @@ export type { FunctionRunListResponse } from './models/FunctionRunListResponse.j
|
|
|
110
110
|
export type { FunctionRunResponse } from './models/FunctionRunResponse.js';
|
|
111
111
|
export { FunctionRunStatus } from './models/FunctionRunStatus.js';
|
|
112
112
|
export { FunctionStatus } from './models/FunctionStatus.js';
|
|
113
|
+
export type { FunctionTableAccessEntry } from './models/FunctionTableAccessEntry.js';
|
|
113
114
|
export { FunctionType } from './models/FunctionType.js';
|
|
114
115
|
export type { GmailSurfaceConfig } from './models/GmailSurfaceConfig.js';
|
|
115
116
|
export type { GmailSurfaceConfigInput } from './models/GmailSurfaceConfigInput.js';
|
|
116
|
-
export type { GrantPermissionRequest } from './models/GrantPermissionRequest.js';
|
|
117
117
|
export { HarnessKind } from './models/HarnessKind.js';
|
|
118
118
|
export type { HTTPValidationError } from './models/HTTPValidationError.js';
|
|
119
119
|
export type { IconUploadRequest } from './models/IconUploadRequest.js';
|
|
@@ -158,7 +158,6 @@ export type { PodAppConfigItem } from './models/PodAppConfigItem.js';
|
|
|
158
158
|
export { PodAppMode } from './models/PodAppMode.js';
|
|
159
159
|
export type { PodConfigResponse } from './models/PodConfigResponse.js';
|
|
160
160
|
export type { PodCreateRequest } from './models/PodCreateRequest.js';
|
|
161
|
-
export type { PodFlowConfigItem } from './models/PodFlowConfigItem.js';
|
|
162
161
|
export type { PodJoinRequestApproveRequest } from './models/PodJoinRequestApproveRequest.js';
|
|
163
162
|
export type { PodJoinRequestCreateResponse } from './models/PodJoinRequestCreateResponse.js';
|
|
164
163
|
export type { PodJoinRequestListResponse } from './models/PodJoinRequestListResponse.js';
|
|
@@ -169,36 +168,38 @@ export type { PodMemberDetailResponse } from './models/PodMemberDetailResponse.j
|
|
|
169
168
|
export type { PodMemberListResponse } from './models/PodMemberListResponse.js';
|
|
170
169
|
export type { PodMemberResponse } from './models/PodMemberResponse.js';
|
|
171
170
|
export type { PodMemberUpdateRoleRequest } from './models/PodMemberUpdateRoleRequest.js';
|
|
172
|
-
export type { PodPermissionsResponse } from './models/PodPermissionsResponse.js';
|
|
173
171
|
export type { PodResponse } from './models/PodResponse.js';
|
|
174
172
|
export { PodRole } from './models/PodRole.js';
|
|
173
|
+
export type { PodRoleCreateRequest } from './models/PodRoleCreateRequest.js';
|
|
174
|
+
export type { PodRoleListResponse } from './models/PodRoleListResponse.js';
|
|
175
|
+
export type { PodRoleResponse } from './models/PodRoleResponse.js';
|
|
175
176
|
export type { PodUpdateRequest } from './models/PodUpdateRequest.js';
|
|
176
177
|
export type { RecentUsageResponse } from './models/RecentUsageResponse.js';
|
|
177
178
|
export type { RecordListResponse } from './models/RecordListResponse.js';
|
|
178
179
|
export type { RecordResponse } from './models/RecordResponse.js';
|
|
179
180
|
export type { ReportFeedbackRequest } from './models/ReportFeedbackRequest.js';
|
|
180
181
|
export type { ReportFeedbackResponse } from './models/ReportFeedbackResponse.js';
|
|
181
|
-
export type { ResourceFileListResponse } from './models/ResourceFileListResponse.js';
|
|
182
|
-
export type { ResourcePermissionListResponse } from './models/ResourcePermissionListResponse.js';
|
|
183
|
-
export type { ResourcePermissionResponse } from './models/ResourcePermissionResponse.js';
|
|
184
|
-
export { ResourceType } from './models/ResourceType.js';
|
|
185
182
|
export type { ScheduledFlowStartInput } from './models/ScheduledFlowStartInput.js';
|
|
186
183
|
export type { ScheduledFlowStartOutput } from './models/ScheduledFlowStartOutput.js';
|
|
187
184
|
export { ScheduledFlowStartType } from './models/ScheduledFlowStartType.js';
|
|
188
185
|
export type { ScheduledWorkflowStartInput } from './models/ScheduledWorkflowStartInput.js';
|
|
189
186
|
export type { ScheduledWorkflowStartOutput } from './models/ScheduledWorkflowStartOutput.js';
|
|
187
|
+
export type { ScheduleListResponse } from './models/ScheduleListResponse.js';
|
|
188
|
+
export type { ScheduleResponse } from './models/ScheduleResponse.js';
|
|
189
|
+
export { ScheduleType } from './models/ScheduleType.js';
|
|
190
190
|
export { SearchMethod } from './models/SearchMethod.js';
|
|
191
191
|
export type { SearchResult } from './models/SearchResult.js';
|
|
192
192
|
export type { SeatInfoResponse } from './models/SeatInfoResponse.js';
|
|
193
193
|
export type { SendMessageRequest } from './models/SendMessageRequest.js';
|
|
194
|
-
export type { SetVisibilityRequest } from './models/SetVisibilityRequest.js';
|
|
195
194
|
export type { SlackCredentialsInput } from './models/SlackCredentialsInput.js';
|
|
196
195
|
export type { SlackSurfaceConfig } from './models/SlackSurfaceConfig.js';
|
|
197
196
|
export type { SlackSurfaceConfigInput } from './models/SlackSurfaceConfigInput.js';
|
|
198
197
|
export type { StackFrame } from './models/StackFrame.js';
|
|
199
198
|
export type { StartSubscriptionRequest } from './models/StartSubscriptionRequest.js';
|
|
200
199
|
export type { StartSubscriptionResponse } from './models/StartSubscriptionResponse.js';
|
|
200
|
+
export type { StartTeamBillingRequest } from './models/StartTeamBillingRequest.js';
|
|
201
201
|
export type { StepExecution } from './models/StepExecution.js';
|
|
202
|
+
export type { SubscriptionResponse } from './models/SubscriptionResponse.js';
|
|
202
203
|
export { SubscriptionStatus } from './models/SubscriptionStatus.js';
|
|
203
204
|
export type { SubscriptionStatusResponse } from './models/SubscriptionStatusResponse.js';
|
|
204
205
|
export type { SubscriptionWithPlanResponse } from './models/SubscriptionWithPlanResponse.js';
|
|
@@ -213,6 +214,7 @@ export { SurfaceSetupMode } from './models/SurfaceSetupMode.js';
|
|
|
213
214
|
export { SurfaceSetupPhase } from './models/SurfaceSetupPhase.js';
|
|
214
215
|
export type { SurfaceSetupStep } from './models/SurfaceSetupStep.js';
|
|
215
216
|
export { SurfaceWebhookMode } from './models/SurfaceWebhookMode.js';
|
|
217
|
+
export type { TableAccessEntry } from './models/TableAccessEntry.js';
|
|
216
218
|
export { TableAccessMode } from './models/TableAccessMode.js';
|
|
217
219
|
export type { TableListResponse } from './models/TableListResponse.js';
|
|
218
220
|
export type { TableResponse } from './models/TableResponse.js';
|
|
@@ -227,9 +229,6 @@ export type { ThinkingContent } from './models/ThinkingContent.js';
|
|
|
227
229
|
export type { ToggleSurfaceRequest } from './models/ToggleSurfaceRequest.js';
|
|
228
230
|
export type { ToolCallContent } from './models/ToolCallContent.js';
|
|
229
231
|
export type { ToolReturnContent } from './models/ToolReturnContent.js';
|
|
230
|
-
export type { TriggerListResponse } from './models/TriggerListResponse.js';
|
|
231
|
-
export type { TriggerResponse } from './models/TriggerResponse.js';
|
|
232
|
-
export { TriggerType } from './models/TriggerType.js';
|
|
233
232
|
export type { update } from './models/update.js';
|
|
234
233
|
export type { UpdateAgentRequest } from './models/UpdateAgentRequest.js';
|
|
235
234
|
export type { UpdateConversationRequest } from './models/UpdateConversationRequest.js';
|
|
@@ -237,10 +236,15 @@ export type { UpdateDeskRequest } from './models/UpdateDeskRequest.js';
|
|
|
237
236
|
export type { UpdateFunctionRequest } from './models/UpdateFunctionRequest.js';
|
|
238
237
|
export type { UpdateMemberRoleRequest } from './models/UpdateMemberRoleRequest.js';
|
|
239
238
|
export type { UpdateRecordRequest } from './models/UpdateRecordRequest.js';
|
|
239
|
+
export type { UpdateScheduleRequest } from './models/UpdateScheduleRequest.js';
|
|
240
240
|
export type { UpdateSurfaceRequest } from './models/UpdateSurfaceRequest.js';
|
|
241
241
|
export type { UpdateTableRequest } from './models/UpdateTableRequest.js';
|
|
242
|
-
export type {
|
|
242
|
+
export type { UsageLimitScopeResponse } from './models/UsageLimitScopeResponse.js';
|
|
243
|
+
export type { UsageLimitsResponse } from './models/UsageLimitsResponse.js';
|
|
244
|
+
export type { UsageListResponse } from './models/UsageListResponse.js';
|
|
243
245
|
export type { UsageRecordResponse } from './models/UsageRecordResponse.js';
|
|
246
|
+
export type { UsageStatsBucketResponse } from './models/UsageStatsBucketResponse.js';
|
|
247
|
+
export type { UsageStatsResponse } from './models/UsageStatsResponse.js';
|
|
244
248
|
export type { UsageSummaryResponse } from './models/UsageSummaryResponse.js';
|
|
245
249
|
export type { UserProfileRequest } from './models/UserProfileRequest.js';
|
|
246
250
|
export type { UserResponse } from './models/UserResponse.js';
|
|
@@ -259,22 +263,22 @@ export type { WhatsAppSurfaceConfigInput } from './models/WhatsAppSurfaceConfigI
|
|
|
259
263
|
export type { WorkflowCreateRequest } from './models/WorkflowCreateRequest.js';
|
|
260
264
|
export type { WorkflowEdge } from './models/WorkflowEdge.js';
|
|
261
265
|
export type { WorkflowGraphUpdateRequest } from './models/WorkflowGraphUpdateRequest.js';
|
|
262
|
-
export type { WorkflowInstallListResponse } from './models/WorkflowInstallListResponse.js';
|
|
263
|
-
export { WorkflowInstallMode } from './models/WorkflowInstallMode.js';
|
|
264
|
-
export type { WorkflowInstallRequest } from './models/WorkflowInstallRequest.js';
|
|
265
266
|
export type { WorkflowListResponse } from './models/WorkflowListResponse.js';
|
|
267
|
+
export { WorkflowMode } from './models/WorkflowMode.js';
|
|
266
268
|
export type { WorkflowRunListResponse } from './models/WorkflowRunListResponse.js';
|
|
267
|
-
export type {
|
|
269
|
+
export type { WorkflowRunWaitAssignment } from './models/WorkflowRunWaitAssignment.js';
|
|
270
|
+
export type { WorkflowRunWaitAssignmentListResponse } from './models/WorkflowRunWaitAssignmentListResponse.js';
|
|
271
|
+
export type { WorkflowRunWaitEntity } from './models/WorkflowRunWaitEntity.js';
|
|
272
|
+
export { WorkflowRunWaitStatus } from './models/WorkflowRunWaitStatus.js';
|
|
273
|
+
export { WorkflowRunWaitType } from './models/WorkflowRunWaitType.js';
|
|
268
274
|
export type { WorkflowUpdateRequest } from './models/WorkflowUpdateRequest.js';
|
|
269
275
|
export { AgentConversationsService } from './services/AgentConversationsService.js';
|
|
270
|
-
export { AgentFilesService } from './services/AgentFilesService.js';
|
|
271
276
|
export { AgentsService } from './services/AgentsService.js';
|
|
272
277
|
export { AgentSurfacesService } from './services/AgentSurfacesService.js';
|
|
273
278
|
export { AgentSurfacesIngressService } from './services/AgentSurfacesIngressService.js';
|
|
274
279
|
export { AgentToolsService } from './services/AgentToolsService.js';
|
|
275
280
|
export { ApplicationsService } from './services/ApplicationsService.js';
|
|
276
281
|
export { AuthService } from './services/AuthService.js';
|
|
277
|
-
export { AuthorizationService } from './services/AuthorizationService.js';
|
|
278
282
|
export { BillingSubscriptionsService } from './services/BillingSubscriptionsService.js';
|
|
279
283
|
export { BillingUsageService } from './services/BillingUsageService.js';
|
|
280
284
|
export { BillingWebhooksService } from './services/BillingWebhooksService.js';
|
|
@@ -287,11 +291,12 @@ export { IntegrationsService } from './services/IntegrationsService.js';
|
|
|
287
291
|
export { OrganizationsService } from './services/OrganizationsService.js';
|
|
288
292
|
export { PodJoinRequestsService } from './services/PodJoinRequestsService.js';
|
|
289
293
|
export { PodMembersService } from './services/PodMembersService.js';
|
|
294
|
+
export { PodRolesService } from './services/PodRolesService.js';
|
|
290
295
|
export { PodsService } from './services/PodsService.js';
|
|
291
296
|
export { QueryService } from './services/QueryService.js';
|
|
292
297
|
export { RecordsService } from './services/RecordsService.js';
|
|
298
|
+
export { SchedulesService } from './services/SchedulesService.js';
|
|
293
299
|
export { TablesService } from './services/TablesService.js';
|
|
294
|
-
export { TriggersService } from './services/TriggersService.js';
|
|
295
300
|
export { UsersService } from './services/UsersService.js';
|
|
296
301
|
export { WebhooksService } from './services/WebhooksService.js';
|
|
297
302
|
export { WorkflowsService } from './services/WorkflowsService.js';
|
|
@@ -10,12 +10,13 @@ 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';
|
|
13
15
|
export { CredentialTypes } from './models/CredentialTypes.js';
|
|
14
16
|
export { DatastoreDataType } from './models/DatastoreDataType.js';
|
|
15
17
|
export { DatastoreOperation } from './models/DatastoreOperation.js';
|
|
16
18
|
export { DeskStatus } from './models/DeskStatus.js';
|
|
17
19
|
export { FeedbackCategory } from './models/FeedbackCategory.js';
|
|
18
|
-
export { FileInfo } from './models/FileInfo.js';
|
|
19
20
|
export { FileNamespace } from './models/FileNamespace.js';
|
|
20
21
|
export { FileSearchScopeMode } from './models/FileSearchScopeMode.js';
|
|
21
22
|
export { FlowRunStatus } from './models/FlowRunStatus.js';
|
|
@@ -28,8 +29,8 @@ export { OrganizationRole } from './models/OrganizationRole.js';
|
|
|
28
29
|
export { PodAppMode } from './models/PodAppMode.js';
|
|
29
30
|
export { PodJoinRequestStatus } from './models/PodJoinRequestStatus.js';
|
|
30
31
|
export { PodRole } from './models/PodRole.js';
|
|
31
|
-
export { ResourceType } from './models/ResourceType.js';
|
|
32
32
|
export { ScheduledFlowStartType } from './models/ScheduledFlowStartType.js';
|
|
33
|
+
export { ScheduleType } from './models/ScheduleType.js';
|
|
33
34
|
export { SearchMethod } from './models/SearchMethod.js';
|
|
34
35
|
export { SubscriptionStatus } from './models/SubscriptionStatus.js';
|
|
35
36
|
export { SurfaceCredentialMode } from './models/SurfaceCredentialMode.js';
|
|
@@ -40,17 +41,16 @@ export { SurfaceSetupMode } from './models/SurfaceSetupMode.js';
|
|
|
40
41
|
export { SurfaceSetupPhase } from './models/SurfaceSetupPhase.js';
|
|
41
42
|
export { SurfaceWebhookMode } from './models/SurfaceWebhookMode.js';
|
|
42
43
|
export { TableAccessMode } from './models/TableAccessMode.js';
|
|
43
|
-
export {
|
|
44
|
-
export {
|
|
44
|
+
export { WorkflowMode } from './models/WorkflowMode.js';
|
|
45
|
+
export { WorkflowRunWaitStatus } from './models/WorkflowRunWaitStatus.js';
|
|
46
|
+
export { WorkflowRunWaitType } from './models/WorkflowRunWaitType.js';
|
|
45
47
|
export { AgentConversationsService } from './services/AgentConversationsService.js';
|
|
46
|
-
export { AgentFilesService } from './services/AgentFilesService.js';
|
|
47
48
|
export { AgentsService } from './services/AgentsService.js';
|
|
48
49
|
export { AgentSurfacesService } from './services/AgentSurfacesService.js';
|
|
49
50
|
export { AgentSurfacesIngressService } from './services/AgentSurfacesIngressService.js';
|
|
50
51
|
export { AgentToolsService } from './services/AgentToolsService.js';
|
|
51
52
|
export { ApplicationsService } from './services/ApplicationsService.js';
|
|
52
53
|
export { AuthService } from './services/AuthService.js';
|
|
53
|
-
export { AuthorizationService } from './services/AuthorizationService.js';
|
|
54
54
|
export { BillingSubscriptionsService } from './services/BillingSubscriptionsService.js';
|
|
55
55
|
export { BillingUsageService } from './services/BillingUsageService.js';
|
|
56
56
|
export { BillingWebhooksService } from './services/BillingWebhooksService.js';
|
|
@@ -63,11 +63,12 @@ export { IntegrationsService } from './services/IntegrationsService.js';
|
|
|
63
63
|
export { OrganizationsService } from './services/OrganizationsService.js';
|
|
64
64
|
export { PodJoinRequestsService } from './services/PodJoinRequestsService.js';
|
|
65
65
|
export { PodMembersService } from './services/PodMembersService.js';
|
|
66
|
+
export { PodRolesService } from './services/PodRolesService.js';
|
|
66
67
|
export { PodsService } from './services/PodsService.js';
|
|
67
68
|
export { QueryService } from './services/QueryService.js';
|
|
68
69
|
export { RecordsService } from './services/RecordsService.js';
|
|
70
|
+
export { SchedulesService } from './services/SchedulesService.js';
|
|
69
71
|
export { TablesService } from './services/TablesService.js';
|
|
70
|
-
export { TriggersService } from './services/TriggersService.js';
|
|
71
72
|
export { UsersService } from './services/UsersService.js';
|
|
72
73
|
export { WebhooksService } from './services/WebhooksService.js';
|
|
73
74
|
export { WorkflowsService } from './services/WorkflowsService.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,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
|
};
|