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
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import type { RecentUsageResponse } from '../models/RecentUsageResponse.js';
|
|
2
|
+
import type { UsageLimitsResponse } from '../models/UsageLimitsResponse.js';
|
|
3
|
+
import type { UsageListResponse } from '../models/UsageListResponse.js';
|
|
4
|
+
import type { UsageStatsResponse } from '../models/UsageStatsResponse.js';
|
|
2
5
|
import type { UsageSummaryResponse } from '../models/UsageSummaryResponse.js';
|
|
3
6
|
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
4
7
|
export declare class BillingUsageService {
|
|
@@ -9,11 +12,43 @@ export declare class BillingUsageService {
|
|
|
9
12
|
* @param start
|
|
10
13
|
* @param end
|
|
11
14
|
* @param modelName
|
|
15
|
+
* @param podId
|
|
16
|
+
* @param userId
|
|
17
|
+
* @param agentId
|
|
18
|
+
* @param usageKind
|
|
19
|
+
* @param status
|
|
12
20
|
* @param days
|
|
21
|
+
* @param limit
|
|
13
22
|
* @returns UsageSummaryResponse Successful Response
|
|
14
23
|
* @throws ApiError
|
|
15
24
|
*/
|
|
16
|
-
static billingUsageOrganizationSummaryGet(organizationId: string, start?: (string | null), end?: (string | null), modelName?: (string | null), days?: number): CancelablePromise<UsageSummaryResponse>;
|
|
25
|
+
static billingUsageOrganizationSummaryGet(organizationId: string, start?: (string | null), end?: (string | null), modelName?: (string | null), podId?: (string | null), userId?: (string | null), agentId?: (string | null), usageKind?: (string | null), status?: (string | null), days?: number, limit?: number): CancelablePromise<UsageSummaryResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* List Organization Usage Events
|
|
28
|
+
* List usage events with optional filters.
|
|
29
|
+
* @param organizationId
|
|
30
|
+
* @param start
|
|
31
|
+
* @param end
|
|
32
|
+
* @param modelName
|
|
33
|
+
* @param podId
|
|
34
|
+
* @param userId
|
|
35
|
+
* @param agentId
|
|
36
|
+
* @param usageKind
|
|
37
|
+
* @param status
|
|
38
|
+
* @param days
|
|
39
|
+
* @param limit
|
|
40
|
+
* @returns UsageListResponse Successful Response
|
|
41
|
+
* @throws ApiError
|
|
42
|
+
*/
|
|
43
|
+
static billingUsageOrganizationEventsList(organizationId: string, start?: (string | null), end?: (string | null), modelName?: (string | null), podId?: (string | null), userId?: (string | null), agentId?: (string | null), usageKind?: (string | null), status?: (string | null), days?: number, limit?: number): CancelablePromise<UsageListResponse>;
|
|
44
|
+
/**
|
|
45
|
+
* Get Current Usage Limits
|
|
46
|
+
* Get current usage limits for the requesting user in an organization.
|
|
47
|
+
* @param organizationId
|
|
48
|
+
* @returns UsageLimitsResponse Successful Response
|
|
49
|
+
* @throws ApiError
|
|
50
|
+
*/
|
|
51
|
+
static billingUsageOrganizationLimitsGet(organizationId: string): CancelablePromise<UsageLimitsResponse>;
|
|
17
52
|
/**
|
|
18
53
|
* Get My Organization Usage Summary
|
|
19
54
|
* Get usage summary for the current user within an organization.
|
|
@@ -21,11 +56,17 @@ export declare class BillingUsageService {
|
|
|
21
56
|
* @param start
|
|
22
57
|
* @param end
|
|
23
58
|
* @param modelName
|
|
59
|
+
* @param podId
|
|
60
|
+
* @param userId
|
|
61
|
+
* @param agentId
|
|
62
|
+
* @param usageKind
|
|
63
|
+
* @param status
|
|
24
64
|
* @param days
|
|
65
|
+
* @param limit
|
|
25
66
|
* @returns UsageSummaryResponse Successful Response
|
|
26
67
|
* @throws ApiError
|
|
27
68
|
*/
|
|
28
|
-
static billingUsageOrganizationMeSummaryGet(organizationId: string, start?: (string | null), end?: (string | null), modelName?: (string | null), days?: number): CancelablePromise<UsageSummaryResponse>;
|
|
69
|
+
static billingUsageOrganizationMeSummaryGet(organizationId: string, start?: (string | null), end?: (string | null), modelName?: (string | null), podId?: (string | null), userId?: (string | null), agentId?: (string | null), usageKind?: (string | null), status?: (string | null), days?: number, limit?: number): CancelablePromise<UsageSummaryResponse>;
|
|
29
70
|
/**
|
|
30
71
|
* Get Pod Usage Summary
|
|
31
72
|
* Get usage summary for a specific pod within an organization.
|
|
@@ -33,12 +74,11 @@ export declare class BillingUsageService {
|
|
|
33
74
|
* @param podId
|
|
34
75
|
* @param start
|
|
35
76
|
* @param end
|
|
36
|
-
* @param modelName
|
|
37
77
|
* @param days
|
|
38
78
|
* @returns UsageSummaryResponse Successful Response
|
|
39
79
|
* @throws ApiError
|
|
40
80
|
*/
|
|
41
|
-
static billingUsageOrganizationPodSummaryGet(organizationId: string, podId: string, start?: (string | null), end?: (string | null),
|
|
81
|
+
static billingUsageOrganizationPodSummaryGet(organizationId: string, podId: string, start?: (string | null), end?: (string | null), days?: number): CancelablePromise<UsageSummaryResponse>;
|
|
42
82
|
/**
|
|
43
83
|
* Get Organization Recent Usage
|
|
44
84
|
* Get recent usage records for a specific organization.
|
|
@@ -46,9 +86,53 @@ export declare class BillingUsageService {
|
|
|
46
86
|
* @param start
|
|
47
87
|
* @param end
|
|
48
88
|
* @param modelName
|
|
89
|
+
* @param podId
|
|
90
|
+
* @param userId
|
|
91
|
+
* @param agentId
|
|
92
|
+
* @param usageKind
|
|
93
|
+
* @param status
|
|
49
94
|
* @param days
|
|
95
|
+
* @param limit
|
|
50
96
|
* @returns RecentUsageResponse Successful Response
|
|
51
97
|
* @throws ApiError
|
|
52
98
|
*/
|
|
53
|
-
static billingUsageOrganizationRecentGet(organizationId: string, start?: (string | null), end?: (string | null), modelName?: (string | null), days?: number): CancelablePromise<RecentUsageResponse>;
|
|
99
|
+
static billingUsageOrganizationRecentGet(organizationId: string, start?: (string | null), end?: (string | null), modelName?: (string | null), podId?: (string | null), userId?: (string | null), agentId?: (string | null), usageKind?: (string | null), status?: (string | null), days?: number, limit?: number): CancelablePromise<RecentUsageResponse>;
|
|
100
|
+
/**
|
|
101
|
+
* Get Organization Usage Stats
|
|
102
|
+
* Get bucketed usage stats with optional filters.
|
|
103
|
+
* @param organizationId
|
|
104
|
+
* @param start
|
|
105
|
+
* @param end
|
|
106
|
+
* @param modelName
|
|
107
|
+
* @param podId
|
|
108
|
+
* @param userId
|
|
109
|
+
* @param agentId
|
|
110
|
+
* @param usageKind
|
|
111
|
+
* @param status
|
|
112
|
+
* @param days
|
|
113
|
+
* @param limit
|
|
114
|
+
* @param granularity
|
|
115
|
+
* @param groupBy
|
|
116
|
+
* @returns UsageStatsResponse Successful Response
|
|
117
|
+
* @throws ApiError
|
|
118
|
+
*/
|
|
119
|
+
static billingUsageOrganizationStatsGet(organizationId: string, start?: (string | null), end?: (string | null), modelName?: (string | null), podId?: (string | null), userId?: (string | null), agentId?: (string | null), usageKind?: (string | null), status?: (string | null), days?: number, limit?: number, granularity?: string, groupBy?: (string | null)): CancelablePromise<UsageStatsResponse>;
|
|
120
|
+
/**
|
|
121
|
+
* Get Organization Usage Summary
|
|
122
|
+
* Get usage summary with optional filters.
|
|
123
|
+
* @param organizationId
|
|
124
|
+
* @param start
|
|
125
|
+
* @param end
|
|
126
|
+
* @param modelName
|
|
127
|
+
* @param podId
|
|
128
|
+
* @param userId
|
|
129
|
+
* @param agentId
|
|
130
|
+
* @param usageKind
|
|
131
|
+
* @param status
|
|
132
|
+
* @param days
|
|
133
|
+
* @param limit
|
|
134
|
+
* @returns UsageSummaryResponse Successful Response
|
|
135
|
+
* @throws ApiError
|
|
136
|
+
*/
|
|
137
|
+
static billingUsageOrganizationSummaryQuery(organizationId: string, start?: (string | null), end?: (string | null), modelName?: (string | null), podId?: (string | null), userId?: (string | null), agentId?: (string | null), usageKind?: (string | null), status?: (string | null), days?: number, limit?: number): CancelablePromise<UsageSummaryResponse>;
|
|
54
138
|
}
|
|
@@ -8,11 +8,17 @@ export class BillingUsageService {
|
|
|
8
8
|
* @param start
|
|
9
9
|
* @param end
|
|
10
10
|
* @param modelName
|
|
11
|
+
* @param podId
|
|
12
|
+
* @param userId
|
|
13
|
+
* @param agentId
|
|
14
|
+
* @param usageKind
|
|
15
|
+
* @param status
|
|
11
16
|
* @param days
|
|
17
|
+
* @param limit
|
|
12
18
|
* @returns UsageSummaryResponse Successful Response
|
|
13
19
|
* @throws ApiError
|
|
14
20
|
*/
|
|
15
|
-
static billingUsageOrganizationSummaryGet(organizationId, start, end, modelName, days = 30) {
|
|
21
|
+
static billingUsageOrganizationSummaryGet(organizationId, start, end, modelName, podId, userId, agentId, usageKind, status, days = 30, limit = 100) {
|
|
16
22
|
return __request(OpenAPI, {
|
|
17
23
|
method: 'GET',
|
|
18
24
|
url: '/billing/usage/organizations/{organization_id}',
|
|
@@ -23,7 +29,73 @@ export class BillingUsageService {
|
|
|
23
29
|
'start': start,
|
|
24
30
|
'end': end,
|
|
25
31
|
'model_name': modelName,
|
|
32
|
+
'pod_id': podId,
|
|
33
|
+
'user_id': userId,
|
|
34
|
+
'agent_id': agentId,
|
|
35
|
+
'usage_kind': usageKind,
|
|
36
|
+
'status': status,
|
|
26
37
|
'days': days,
|
|
38
|
+
'limit': limit,
|
|
39
|
+
},
|
|
40
|
+
errors: {
|
|
41
|
+
422: `Validation Error`,
|
|
42
|
+
},
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* List Organization Usage Events
|
|
47
|
+
* List usage events with optional filters.
|
|
48
|
+
* @param organizationId
|
|
49
|
+
* @param start
|
|
50
|
+
* @param end
|
|
51
|
+
* @param modelName
|
|
52
|
+
* @param podId
|
|
53
|
+
* @param userId
|
|
54
|
+
* @param agentId
|
|
55
|
+
* @param usageKind
|
|
56
|
+
* @param status
|
|
57
|
+
* @param days
|
|
58
|
+
* @param limit
|
|
59
|
+
* @returns UsageListResponse Successful Response
|
|
60
|
+
* @throws ApiError
|
|
61
|
+
*/
|
|
62
|
+
static billingUsageOrganizationEventsList(organizationId, start, end, modelName, podId, userId, agentId, usageKind, status, days = 30, limit = 100) {
|
|
63
|
+
return __request(OpenAPI, {
|
|
64
|
+
method: 'GET',
|
|
65
|
+
url: '/billing/usage/organizations/{organization_id}/events',
|
|
66
|
+
path: {
|
|
67
|
+
'organization_id': organizationId,
|
|
68
|
+
},
|
|
69
|
+
query: {
|
|
70
|
+
'start': start,
|
|
71
|
+
'end': end,
|
|
72
|
+
'model_name': modelName,
|
|
73
|
+
'pod_id': podId,
|
|
74
|
+
'user_id': userId,
|
|
75
|
+
'agent_id': agentId,
|
|
76
|
+
'usage_kind': usageKind,
|
|
77
|
+
'status': status,
|
|
78
|
+
'days': days,
|
|
79
|
+
'limit': limit,
|
|
80
|
+
},
|
|
81
|
+
errors: {
|
|
82
|
+
422: `Validation Error`,
|
|
83
|
+
},
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Get Current Usage Limits
|
|
88
|
+
* Get current usage limits for the requesting user in an organization.
|
|
89
|
+
* @param organizationId
|
|
90
|
+
* @returns UsageLimitsResponse Successful Response
|
|
91
|
+
* @throws ApiError
|
|
92
|
+
*/
|
|
93
|
+
static billingUsageOrganizationLimitsGet(organizationId) {
|
|
94
|
+
return __request(OpenAPI, {
|
|
95
|
+
method: 'GET',
|
|
96
|
+
url: '/billing/usage/organizations/{organization_id}/limits',
|
|
97
|
+
path: {
|
|
98
|
+
'organization_id': organizationId,
|
|
27
99
|
},
|
|
28
100
|
errors: {
|
|
29
101
|
422: `Validation Error`,
|
|
@@ -37,11 +109,17 @@ export class BillingUsageService {
|
|
|
37
109
|
* @param start
|
|
38
110
|
* @param end
|
|
39
111
|
* @param modelName
|
|
112
|
+
* @param podId
|
|
113
|
+
* @param userId
|
|
114
|
+
* @param agentId
|
|
115
|
+
* @param usageKind
|
|
116
|
+
* @param status
|
|
40
117
|
* @param days
|
|
118
|
+
* @param limit
|
|
41
119
|
* @returns UsageSummaryResponse Successful Response
|
|
42
120
|
* @throws ApiError
|
|
43
121
|
*/
|
|
44
|
-
static billingUsageOrganizationMeSummaryGet(organizationId, start, end, modelName, days = 30) {
|
|
122
|
+
static billingUsageOrganizationMeSummaryGet(organizationId, start, end, modelName, podId, userId, agentId, usageKind, status, days = 30, limit = 100) {
|
|
45
123
|
return __request(OpenAPI, {
|
|
46
124
|
method: 'GET',
|
|
47
125
|
url: '/billing/usage/organizations/{organization_id}/me',
|
|
@@ -52,7 +130,13 @@ export class BillingUsageService {
|
|
|
52
130
|
'start': start,
|
|
53
131
|
'end': end,
|
|
54
132
|
'model_name': modelName,
|
|
133
|
+
'pod_id': podId,
|
|
134
|
+
'user_id': userId,
|
|
135
|
+
'agent_id': agentId,
|
|
136
|
+
'usage_kind': usageKind,
|
|
137
|
+
'status': status,
|
|
55
138
|
'days': days,
|
|
139
|
+
'limit': limit,
|
|
56
140
|
},
|
|
57
141
|
errors: {
|
|
58
142
|
422: `Validation Error`,
|
|
@@ -66,12 +150,11 @@ export class BillingUsageService {
|
|
|
66
150
|
* @param podId
|
|
67
151
|
* @param start
|
|
68
152
|
* @param end
|
|
69
|
-
* @param modelName
|
|
70
153
|
* @param days
|
|
71
154
|
* @returns UsageSummaryResponse Successful Response
|
|
72
155
|
* @throws ApiError
|
|
73
156
|
*/
|
|
74
|
-
static billingUsageOrganizationPodSummaryGet(organizationId, podId, start, end,
|
|
157
|
+
static billingUsageOrganizationPodSummaryGet(organizationId, podId, start, end, days = 30) {
|
|
75
158
|
return __request(OpenAPI, {
|
|
76
159
|
method: 'GET',
|
|
77
160
|
url: '/billing/usage/organizations/{organization_id}/pods/{pod_id}',
|
|
@@ -82,7 +165,6 @@ export class BillingUsageService {
|
|
|
82
165
|
query: {
|
|
83
166
|
'start': start,
|
|
84
167
|
'end': end,
|
|
85
|
-
'model_name': modelName,
|
|
86
168
|
'days': days,
|
|
87
169
|
},
|
|
88
170
|
errors: {
|
|
@@ -97,11 +179,17 @@ export class BillingUsageService {
|
|
|
97
179
|
* @param start
|
|
98
180
|
* @param end
|
|
99
181
|
* @param modelName
|
|
182
|
+
* @param podId
|
|
183
|
+
* @param userId
|
|
184
|
+
* @param agentId
|
|
185
|
+
* @param usageKind
|
|
186
|
+
* @param status
|
|
100
187
|
* @param days
|
|
188
|
+
* @param limit
|
|
101
189
|
* @returns RecentUsageResponse Successful Response
|
|
102
190
|
* @throws ApiError
|
|
103
191
|
*/
|
|
104
|
-
static billingUsageOrganizationRecentGet(organizationId, start, end, modelName, days = 30) {
|
|
192
|
+
static billingUsageOrganizationRecentGet(organizationId, start, end, modelName, podId, userId, agentId, usageKind, status, days = 30, limit = 100) {
|
|
105
193
|
return __request(OpenAPI, {
|
|
106
194
|
method: 'GET',
|
|
107
195
|
url: '/billing/usage/organizations/{organization_id}/recent',
|
|
@@ -112,7 +200,99 @@ export class BillingUsageService {
|
|
|
112
200
|
'start': start,
|
|
113
201
|
'end': end,
|
|
114
202
|
'model_name': modelName,
|
|
203
|
+
'pod_id': podId,
|
|
204
|
+
'user_id': userId,
|
|
205
|
+
'agent_id': agentId,
|
|
206
|
+
'usage_kind': usageKind,
|
|
207
|
+
'status': status,
|
|
208
|
+
'days': days,
|
|
209
|
+
'limit': limit,
|
|
210
|
+
},
|
|
211
|
+
errors: {
|
|
212
|
+
422: `Validation Error`,
|
|
213
|
+
},
|
|
214
|
+
});
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* Get Organization Usage Stats
|
|
218
|
+
* Get bucketed usage stats with optional filters.
|
|
219
|
+
* @param organizationId
|
|
220
|
+
* @param start
|
|
221
|
+
* @param end
|
|
222
|
+
* @param modelName
|
|
223
|
+
* @param podId
|
|
224
|
+
* @param userId
|
|
225
|
+
* @param agentId
|
|
226
|
+
* @param usageKind
|
|
227
|
+
* @param status
|
|
228
|
+
* @param days
|
|
229
|
+
* @param limit
|
|
230
|
+
* @param granularity
|
|
231
|
+
* @param groupBy
|
|
232
|
+
* @returns UsageStatsResponse Successful Response
|
|
233
|
+
* @throws ApiError
|
|
234
|
+
*/
|
|
235
|
+
static billingUsageOrganizationStatsGet(organizationId, start, end, modelName, podId, userId, agentId, usageKind, status, days = 30, limit = 100, granularity = 'day', groupBy) {
|
|
236
|
+
return __request(OpenAPI, {
|
|
237
|
+
method: 'GET',
|
|
238
|
+
url: '/billing/usage/organizations/{organization_id}/stats',
|
|
239
|
+
path: {
|
|
240
|
+
'organization_id': organizationId,
|
|
241
|
+
},
|
|
242
|
+
query: {
|
|
243
|
+
'start': start,
|
|
244
|
+
'end': end,
|
|
245
|
+
'model_name': modelName,
|
|
246
|
+
'pod_id': podId,
|
|
247
|
+
'user_id': userId,
|
|
248
|
+
'agent_id': agentId,
|
|
249
|
+
'usage_kind': usageKind,
|
|
250
|
+
'status': status,
|
|
251
|
+
'days': days,
|
|
252
|
+
'limit': limit,
|
|
253
|
+
'granularity': granularity,
|
|
254
|
+
'group_by': groupBy,
|
|
255
|
+
},
|
|
256
|
+
errors: {
|
|
257
|
+
422: `Validation Error`,
|
|
258
|
+
},
|
|
259
|
+
});
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* Get Organization Usage Summary
|
|
263
|
+
* Get usage summary with optional filters.
|
|
264
|
+
* @param organizationId
|
|
265
|
+
* @param start
|
|
266
|
+
* @param end
|
|
267
|
+
* @param modelName
|
|
268
|
+
* @param podId
|
|
269
|
+
* @param userId
|
|
270
|
+
* @param agentId
|
|
271
|
+
* @param usageKind
|
|
272
|
+
* @param status
|
|
273
|
+
* @param days
|
|
274
|
+
* @param limit
|
|
275
|
+
* @returns UsageSummaryResponse Successful Response
|
|
276
|
+
* @throws ApiError
|
|
277
|
+
*/
|
|
278
|
+
static billingUsageOrganizationSummaryQuery(organizationId, start, end, modelName, podId, userId, agentId, usageKind, status, days = 30, limit = 100) {
|
|
279
|
+
return __request(OpenAPI, {
|
|
280
|
+
method: 'GET',
|
|
281
|
+
url: '/billing/usage/organizations/{organization_id}/summary',
|
|
282
|
+
path: {
|
|
283
|
+
'organization_id': organizationId,
|
|
284
|
+
},
|
|
285
|
+
query: {
|
|
286
|
+
'start': start,
|
|
287
|
+
'end': end,
|
|
288
|
+
'model_name': modelName,
|
|
289
|
+
'pod_id': podId,
|
|
290
|
+
'user_id': userId,
|
|
291
|
+
'agent_id': agentId,
|
|
292
|
+
'usage_kind': usageKind,
|
|
293
|
+
'status': status,
|
|
115
294
|
'days': days,
|
|
295
|
+
'limit': limit,
|
|
116
296
|
},
|
|
117
297
|
errors: {
|
|
118
298
|
422: `Validation Error`,
|
|
@@ -49,6 +49,23 @@ export declare class DesksService {
|
|
|
49
49
|
* @throws ApiError
|
|
50
50
|
*/
|
|
51
51
|
static deskUpdate(podId: string, deskName: string, requestBody: UpdateDeskRequest): CancelablePromise<DeskResponse>;
|
|
52
|
+
/**
|
|
53
|
+
* Get Desk Root Asset
|
|
54
|
+
* @param podId
|
|
55
|
+
* @param deskName
|
|
56
|
+
* @returns any Successful Response
|
|
57
|
+
* @throws ApiError
|
|
58
|
+
*/
|
|
59
|
+
static deskAssetRootGet(podId: string, deskName: string): CancelablePromise<any>;
|
|
60
|
+
/**
|
|
61
|
+
* Get Desk Asset
|
|
62
|
+
* @param podId
|
|
63
|
+
* @param deskName
|
|
64
|
+
* @param assetPath
|
|
65
|
+
* @returns any Successful Response
|
|
66
|
+
* @throws ApiError
|
|
67
|
+
*/
|
|
68
|
+
static deskAssetGet(podId: string, deskName: string, assetPath: string): CancelablePromise<any>;
|
|
52
69
|
/**
|
|
53
70
|
* Upload Desk Bundle
|
|
54
71
|
* @param podId
|
|
@@ -62,16 +79,16 @@ export declare class DesksService {
|
|
|
62
79
|
* Download Desk Dist Archive
|
|
63
80
|
* @param podId
|
|
64
81
|
* @param deskName
|
|
65
|
-
* @returns
|
|
82
|
+
* @returns binary Zip archive bytes
|
|
66
83
|
* @throws ApiError
|
|
67
84
|
*/
|
|
68
|
-
static deskDistArchiveGet(podId: string, deskName: string): CancelablePromise<
|
|
85
|
+
static deskDistArchiveGet(podId: string, deskName: string): CancelablePromise<Blob>;
|
|
69
86
|
/**
|
|
70
87
|
* Download Desk Source Archive
|
|
71
88
|
* @param podId
|
|
72
89
|
* @param deskName
|
|
73
|
-
* @returns
|
|
90
|
+
* @returns binary Zip archive bytes
|
|
74
91
|
* @throws ApiError
|
|
75
92
|
*/
|
|
76
|
-
static deskSourceArchiveGet(podId: string, deskName: string): CancelablePromise<
|
|
93
|
+
static deskSourceArchiveGet(podId: string, deskName: string): CancelablePromise<Blob>;
|
|
77
94
|
}
|
|
@@ -109,6 +109,48 @@ export class DesksService {
|
|
|
109
109
|
},
|
|
110
110
|
});
|
|
111
111
|
}
|
|
112
|
+
/**
|
|
113
|
+
* Get Desk Root Asset
|
|
114
|
+
* @param podId
|
|
115
|
+
* @param deskName
|
|
116
|
+
* @returns any Successful Response
|
|
117
|
+
* @throws ApiError
|
|
118
|
+
*/
|
|
119
|
+
static deskAssetRootGet(podId, deskName) {
|
|
120
|
+
return __request(OpenAPI, {
|
|
121
|
+
method: 'GET',
|
|
122
|
+
url: '/pods/{pod_id}/desks/{desk_name}/assets',
|
|
123
|
+
path: {
|
|
124
|
+
'pod_id': podId,
|
|
125
|
+
'desk_name': deskName,
|
|
126
|
+
},
|
|
127
|
+
errors: {
|
|
128
|
+
422: `Validation Error`,
|
|
129
|
+
},
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* Get Desk Asset
|
|
134
|
+
* @param podId
|
|
135
|
+
* @param deskName
|
|
136
|
+
* @param assetPath
|
|
137
|
+
* @returns any Successful Response
|
|
138
|
+
* @throws ApiError
|
|
139
|
+
*/
|
|
140
|
+
static deskAssetGet(podId, deskName, assetPath) {
|
|
141
|
+
return __request(OpenAPI, {
|
|
142
|
+
method: 'GET',
|
|
143
|
+
url: '/pods/{pod_id}/desks/{desk_name}/assets/{asset_path}',
|
|
144
|
+
path: {
|
|
145
|
+
'pod_id': podId,
|
|
146
|
+
'desk_name': deskName,
|
|
147
|
+
'asset_path': assetPath,
|
|
148
|
+
},
|
|
149
|
+
errors: {
|
|
150
|
+
422: `Validation Error`,
|
|
151
|
+
},
|
|
152
|
+
});
|
|
153
|
+
}
|
|
112
154
|
/**
|
|
113
155
|
* Upload Desk Bundle
|
|
114
156
|
* @param podId
|
|
@@ -136,7 +178,7 @@ export class DesksService {
|
|
|
136
178
|
* Download Desk Dist Archive
|
|
137
179
|
* @param podId
|
|
138
180
|
* @param deskName
|
|
139
|
-
* @returns
|
|
181
|
+
* @returns binary Zip archive bytes
|
|
140
182
|
* @throws ApiError
|
|
141
183
|
*/
|
|
142
184
|
static deskDistArchiveGet(podId, deskName) {
|
|
@@ -156,7 +198,7 @@ export class DesksService {
|
|
|
156
198
|
* Download Desk Source Archive
|
|
157
199
|
* @param podId
|
|
158
200
|
* @param deskName
|
|
159
|
-
* @returns
|
|
201
|
+
* @returns binary Zip archive bytes
|
|
160
202
|
* @throws ApiError
|
|
161
203
|
*/
|
|
162
204
|
static deskSourceArchiveGet(podId, deskName) {
|
|
@@ -21,7 +21,7 @@ export declare class FilesService {
|
|
|
21
21
|
* @returns FileListResponse Successful Response
|
|
22
22
|
* @throws ApiError
|
|
23
23
|
*/
|
|
24
|
-
static fileList(podId: string, directoryPath?: string, namespace?: FileNamespace, limit?: number, pageToken?: (string | null)): CancelablePromise<FileListResponse>;
|
|
24
|
+
static fileList(podId: string, directoryPath?: string, namespace?: (FileNamespace | null), limit?: number, pageToken?: (string | null)): CancelablePromise<FileListResponse>;
|
|
25
25
|
/**
|
|
26
26
|
* Upload File
|
|
27
27
|
* @param podId
|
|
@@ -38,7 +38,7 @@ export declare class FilesService {
|
|
|
38
38
|
* @returns DatastoreMessageResponse Successful Response
|
|
39
39
|
* @throws ApiError
|
|
40
40
|
*/
|
|
41
|
-
static fileDelete(podId: string, path: string, namespace?: FileNamespace): CancelablePromise<DatastoreMessageResponse>;
|
|
41
|
+
static fileDelete(podId: string, path: string, namespace?: (FileNamespace | null)): CancelablePromise<DatastoreMessageResponse>;
|
|
42
42
|
/**
|
|
43
43
|
* Get File
|
|
44
44
|
* @param podId
|
|
@@ -47,7 +47,7 @@ export declare class FilesService {
|
|
|
47
47
|
* @returns FileResponse Successful Response
|
|
48
48
|
* @throws ApiError
|
|
49
49
|
*/
|
|
50
|
-
static fileGet(podId: string, path: string, namespace?: FileNamespace): CancelablePromise<FileResponse>;
|
|
50
|
+
static fileGet(podId: string, path: string, namespace?: (FileNamespace | null)): CancelablePromise<FileResponse>;
|
|
51
51
|
/**
|
|
52
52
|
* Update File
|
|
53
53
|
* @param podId
|
|
@@ -64,35 +64,35 @@ export declare class FilesService {
|
|
|
64
64
|
* @returns ConvertedFileResponse Successful Response
|
|
65
65
|
* @throws ApiError
|
|
66
66
|
*/
|
|
67
|
-
static fileConvertedGet(podId: string, path: string, namespace?: FileNamespace): CancelablePromise<ConvertedFileResponse>;
|
|
67
|
+
static fileConvertedGet(podId: string, path: string, namespace?: (FileNamespace | null)): CancelablePromise<ConvertedFileResponse>;
|
|
68
68
|
/**
|
|
69
69
|
* Download Converted File Artifact
|
|
70
70
|
* @param podId
|
|
71
71
|
* @param path
|
|
72
72
|
* @param artifact
|
|
73
73
|
* @param namespace
|
|
74
|
-
* @returns
|
|
74
|
+
* @returns binary File bytes
|
|
75
75
|
* @throws ApiError
|
|
76
76
|
*/
|
|
77
|
-
static fileConvertedDownload(podId: string, path: string, artifact?: string, namespace?: FileNamespace): CancelablePromise<
|
|
77
|
+
static fileConvertedDownload(podId: string, path: string, artifact?: string, namespace?: (FileNamespace | null)): CancelablePromise<Blob>;
|
|
78
78
|
/**
|
|
79
79
|
* Render Converted File As HTML
|
|
80
80
|
* @param podId
|
|
81
81
|
* @param path
|
|
82
82
|
* @param namespace
|
|
83
|
-
* @returns
|
|
83
|
+
* @returns string Rendered HTML
|
|
84
84
|
* @throws ApiError
|
|
85
85
|
*/
|
|
86
|
-
static fileConvertedRender(podId: string, path: string, namespace?: FileNamespace): CancelablePromise<
|
|
86
|
+
static fileConvertedRender(podId: string, path: string, namespace?: (FileNamespace | null)): CancelablePromise<string>;
|
|
87
87
|
/**
|
|
88
88
|
* Download File
|
|
89
89
|
* @param podId
|
|
90
90
|
* @param path
|
|
91
91
|
* @param namespace
|
|
92
|
-
* @returns
|
|
92
|
+
* @returns binary File bytes
|
|
93
93
|
* @throws ApiError
|
|
94
94
|
*/
|
|
95
|
-
static fileDownload(podId: string, path: string, namespace?: FileNamespace): CancelablePromise<
|
|
95
|
+
static fileDownload(podId: string, path: string, namespace?: (FileNamespace | null)): CancelablePromise<Blob>;
|
|
96
96
|
/**
|
|
97
97
|
* Create Folder
|
|
98
98
|
* @param podId
|
|
@@ -12,7 +12,7 @@ export class FilesService {
|
|
|
12
12
|
* @returns FileListResponse Successful Response
|
|
13
13
|
* @throws ApiError
|
|
14
14
|
*/
|
|
15
|
-
static fileList(podId, directoryPath = '/', namespace
|
|
15
|
+
static fileList(podId, directoryPath = '/', namespace, limit = 100, pageToken) {
|
|
16
16
|
return __request(OpenAPI, {
|
|
17
17
|
method: 'GET',
|
|
18
18
|
url: '/pods/{pod_id}/datastore/files',
|
|
@@ -59,7 +59,7 @@ export class FilesService {
|
|
|
59
59
|
* @returns DatastoreMessageResponse Successful Response
|
|
60
60
|
* @throws ApiError
|
|
61
61
|
*/
|
|
62
|
-
static fileDelete(podId, path, namespace
|
|
62
|
+
static fileDelete(podId, path, namespace) {
|
|
63
63
|
return __request(OpenAPI, {
|
|
64
64
|
method: 'DELETE',
|
|
65
65
|
url: '/pods/{pod_id}/datastore/files/by-path',
|
|
@@ -83,7 +83,7 @@ export class FilesService {
|
|
|
83
83
|
* @returns FileResponse Successful Response
|
|
84
84
|
* @throws ApiError
|
|
85
85
|
*/
|
|
86
|
-
static fileGet(podId, path, namespace
|
|
86
|
+
static fileGet(podId, path, namespace) {
|
|
87
87
|
return __request(OpenAPI, {
|
|
88
88
|
method: 'GET',
|
|
89
89
|
url: '/pods/{pod_id}/datastore/files/by-path',
|
|
@@ -128,7 +128,7 @@ export class FilesService {
|
|
|
128
128
|
* @returns ConvertedFileResponse Successful Response
|
|
129
129
|
* @throws ApiError
|
|
130
130
|
*/
|
|
131
|
-
static fileConvertedGet(podId, path, namespace
|
|
131
|
+
static fileConvertedGet(podId, path, namespace) {
|
|
132
132
|
return __request(OpenAPI, {
|
|
133
133
|
method: 'GET',
|
|
134
134
|
url: '/pods/{pod_id}/datastore/files/converted/by-path',
|
|
@@ -150,10 +150,10 @@ export class FilesService {
|
|
|
150
150
|
* @param path
|
|
151
151
|
* @param artifact
|
|
152
152
|
* @param namespace
|
|
153
|
-
* @returns
|
|
153
|
+
* @returns binary File bytes
|
|
154
154
|
* @throws ApiError
|
|
155
155
|
*/
|
|
156
|
-
static fileConvertedDownload(podId, path, artifact = 'document.md', namespace
|
|
156
|
+
static fileConvertedDownload(podId, path, artifact = 'document.md', namespace) {
|
|
157
157
|
return __request(OpenAPI, {
|
|
158
158
|
method: 'GET',
|
|
159
159
|
url: '/pods/{pod_id}/datastore/files/converted/download',
|
|
@@ -175,10 +175,10 @@ export class FilesService {
|
|
|
175
175
|
* @param podId
|
|
176
176
|
* @param path
|
|
177
177
|
* @param namespace
|
|
178
|
-
* @returns
|
|
178
|
+
* @returns string Rendered HTML
|
|
179
179
|
* @throws ApiError
|
|
180
180
|
*/
|
|
181
|
-
static fileConvertedRender(podId, path, namespace
|
|
181
|
+
static fileConvertedRender(podId, path, namespace) {
|
|
182
182
|
return __request(OpenAPI, {
|
|
183
183
|
method: 'GET',
|
|
184
184
|
url: '/pods/{pod_id}/datastore/files/converted/render',
|
|
@@ -199,10 +199,10 @@ export class FilesService {
|
|
|
199
199
|
* @param podId
|
|
200
200
|
* @param path
|
|
201
201
|
* @param namespace
|
|
202
|
-
* @returns
|
|
202
|
+
* @returns binary File bytes
|
|
203
203
|
* @throws ApiError
|
|
204
204
|
*/
|
|
205
|
-
static fileDownload(podId, path, namespace
|
|
205
|
+
static fileDownload(podId, path, namespace) {
|
|
206
206
|
return __request(OpenAPI, {
|
|
207
207
|
method: 'GET',
|
|
208
208
|
url: '/pods/{pod_id}/datastore/files/download',
|
|
@@ -20,7 +20,7 @@ export declare class FunctionsService {
|
|
|
20
20
|
static functionList(podId: string, limit?: number, pageToken?: (string | null)): CancelablePromise<FunctionListResponse>;
|
|
21
21
|
/**
|
|
22
22
|
* Create Function
|
|
23
|
-
* Create a new function in a pod
|
|
23
|
+
* Create a new function in a pod. Do not send input_schema or output_schema; the platform derives those schemas from the function code and returns them in the response.
|
|
24
24
|
* @param podId
|
|
25
25
|
* @param requestBody
|
|
26
26
|
* @returns FunctionResponse Successful Response
|
|
@@ -47,7 +47,7 @@ export declare class FunctionsService {
|
|
|
47
47
|
static functionGet(podId: string, functionName: string): CancelablePromise<FunctionResponse>;
|
|
48
48
|
/**
|
|
49
49
|
* Update Function
|
|
50
|
-
* Update a function
|
|
50
|
+
* Update a function. When code is supplied, the platform re-derives the function input_schema and output_schema and returns the refreshed function.
|
|
51
51
|
* @param podId
|
|
52
52
|
* @param functionName
|
|
53
53
|
* @param requestBody
|