lemma-sdk 0.2.44 → 0.2.46
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 +1 -1
- package/dist/assistant-events.d.ts +1 -0
- package/dist/assistant-events.js +37 -2
- package/dist/browser/lemma-client.js +312 -228
- package/dist/client.js +1 -1
- package/dist/config.d.ts +2 -2
- package/dist/config.js +2 -2
- package/dist/hey_client/client/client.gen.d.ts +2 -0
- package/dist/hey_client/client/client.gen.js +216 -0
- package/dist/hey_client/client/index.d.ts +10 -0
- package/dist/hey_client/client/index.js +6 -0
- package/dist/hey_client/client/types.gen.d.ts +120 -0
- package/dist/hey_client/client/types.gen.js +2 -0
- package/dist/hey_client/client/utils.gen.d.ts +37 -0
- package/dist/hey_client/client/utils.gen.js +228 -0
- package/dist/hey_client/client.gen.d.ts +12 -0
- package/dist/hey_client/client.gen.js +3 -0
- package/dist/hey_client/core/auth.gen.d.ts +25 -0
- package/dist/hey_client/core/auth.gen.js +14 -0
- package/dist/hey_client/core/bodySerializer.gen.d.ts +25 -0
- package/dist/hey_client/core/bodySerializer.gen.js +57 -0
- package/dist/hey_client/core/params.gen.d.ts +43 -0
- package/dist/hey_client/core/params.gen.js +100 -0
- package/dist/hey_client/core/pathSerializer.gen.d.ts +33 -0
- package/dist/hey_client/core/pathSerializer.gen.js +106 -0
- package/dist/hey_client/core/queryKeySerializer.gen.d.ts +18 -0
- package/dist/hey_client/core/queryKeySerializer.gen.js +92 -0
- package/dist/hey_client/core/serverSentEvents.gen.d.ts +71 -0
- package/dist/hey_client/core/serverSentEvents.gen.js +132 -0
- package/dist/hey_client/core/types.gen.d.ts +83 -0
- package/dist/hey_client/core/types.gen.js +2 -0
- package/dist/hey_client/core/utils.gen.d.ts +19 -0
- package/dist/hey_client/core/utils.gen.js +87 -0
- package/dist/hey_client/index.d.ts +2 -0
- package/dist/hey_client/index.js +2 -0
- package/dist/hey_client/sdk.gen.d.ts +1005 -0
- package/dist/hey_client/sdk.gen.js +1438 -0
- package/dist/hey_client/types.gen.d.ts +12992 -0
- package/dist/hey_client/types.gen.js +2 -0
- package/dist/namespaces/conversations.d.ts +2 -2
- package/dist/namespaces/files.d.ts +6 -24
- package/dist/namespaces/files.js +6 -16
- package/dist/namespaces/integrations.d.ts +2 -4
- package/dist/namespaces/integrations.js +6 -6
- package/dist/namespaces/pod-surfaces.d.ts +8 -3
- package/dist/namespaces/pod-surfaces.js +15 -6
- package/dist/namespaces/pods.d.ts +2 -3
- package/dist/namespaces/pods.js +1 -6
- package/dist/namespaces/records.d.ts +10 -16
- package/dist/namespaces/records.js +4 -33
- package/dist/namespaces/resource-access.d.ts +3 -3
- package/dist/namespaces/resource-access.js +6 -6
- package/dist/namespaces/schedules.d.ts +1 -0
- package/dist/namespaces/schedules.js +1 -1
- package/dist/namespaces/tables.d.ts +2 -2
- package/dist/namespaces/workflows.d.ts +12 -8
- package/dist/namespaces/workflows.js +9 -18
- package/dist/openapi_client/index.d.ts +23 -42
- package/dist/openapi_client/index.js +5 -11
- package/dist/openapi_client/models/AgentHarnessInfo.d.ts +2 -0
- package/dist/openapi_client/models/AgentNode.d.ts +1 -1
- package/dist/openapi_client/models/AgentNodeConfig.d.ts +1 -1
- package/dist/openapi_client/models/AgentResourcePermissionRequest.d.ts +1 -1
- package/dist/openapi_client/models/AgentResourcePermissionResponse.d.ts +1 -1
- package/dist/openapi_client/models/AgentRuntimeProfileResponse.d.ts +6 -0
- package/dist/openapi_client/models/AgentSurfaceResponse.d.ts +6 -17
- package/dist/openapi_client/models/AgentSurfaceStatus.d.ts +3 -1
- package/dist/openapi_client/models/AgentSurfaceStatus.js +2 -0
- package/dist/openapi_client/models/AgentToolset.d.ts +2 -1
- package/dist/openapi_client/models/AgentToolset.js +1 -0
- package/dist/openapi_client/models/AppTriggerResponseSchema.d.ts +2 -0
- package/dist/openapi_client/models/ApplicationSkillResponse.d.ts +6 -0
- package/dist/openapi_client/models/ApprovalDecisionResponse.d.ts +6 -0
- package/dist/openapi_client/models/AuthProvider.d.ts +4 -0
- package/dist/openapi_client/models/AuthProvider.js +9 -0
- package/dist/openapi_client/models/ConnectedAccountSummary.d.ts +7 -0
- package/dist/openapi_client/models/CreateFunctionRequest.d.ts +0 -1
- package/dist/openapi_client/models/CreateScheduleRequest.d.ts +4 -0
- package/dist/openapi_client/models/CreateSurfaceRequest.d.ts +3 -10
- package/dist/openapi_client/models/CreateUserDaemonRuntimeProfileRequest.d.ts +2 -0
- package/dist/openapi_client/models/DataStoreFlowStartInput.d.ts +1 -1
- package/dist/openapi_client/models/DataStoreFlowStartOutput.d.ts +1 -1
- package/dist/openapi_client/models/DatastoreCountResponse.d.ts +6 -0
- package/dist/openapi_client/models/DecisionNode.d.ts +2 -1
- package/dist/openapi_client/models/DecisionRule.d.ts +3 -0
- package/dist/openapi_client/models/EndNode.d.ts +1 -1
- package/dist/openapi_client/models/ExpressionInputBinding.d.ts +6 -2
- package/dist/openapi_client/models/FileListResponse.d.ts +1 -0
- package/dist/openapi_client/models/FileSearchResponse.d.ts +2 -2
- package/dist/openapi_client/models/FlowRunStatus.d.ts +5 -1
- package/dist/openapi_client/models/FlowRunStatus.js +5 -1
- package/dist/openapi_client/models/FormNode.d.ts +2 -1
- package/dist/openapi_client/models/FormNodeConfig.d.ts +1 -1
- package/dist/openapi_client/models/FunctionNode.d.ts +2 -1
- package/dist/openapi_client/models/FunctionResourcePermissionRequest.d.ts +1 -1
- package/dist/openapi_client/models/FunctionResourcePermissionResponse.d.ts +1 -1
- package/dist/openapi_client/models/InstalledAppSummary.d.ts +7 -0
- package/dist/openapi_client/models/IntegrationStatusResponse.d.ts +6 -0
- package/dist/openapi_client/models/LoopNode.d.ts +2 -1
- package/dist/openapi_client/models/LoopNodeConfig.d.ts +3 -3
- package/dist/openapi_client/models/MessageKind.d.ts +14 -0
- package/dist/openapi_client/models/MessageKind.js +19 -0
- package/dist/openapi_client/models/MessageResponse.d.ts +5 -6
- package/dist/openapi_client/models/PodMemberAddRequest.d.ts +1 -3
- package/dist/openapi_client/models/PodMemberDetailResponse.d.ts +0 -2
- package/dist/openapi_client/models/PodMemberResponse.d.ts +0 -2
- package/dist/openapi_client/models/PodMemberUpdateRoleRequest.d.ts +1 -3
- package/dist/openapi_client/models/PodRoleResourcePermissionRequest.d.ts +1 -1
- package/dist/openapi_client/models/PodRoleResourcePermissionResponse.d.ts +1 -1
- package/dist/openapi_client/models/ResourceAccessGrantResponse.d.ts +1 -1
- package/dist/openapi_client/models/ResourceAccessResponse.d.ts +1 -1
- package/dist/openapi_client/models/RuntimeProfileScope.d.ts +2 -1
- package/dist/openapi_client/models/RuntimeProfileScope.js +1 -0
- package/dist/openapi_client/models/ScheduleDetailResponse.d.ts +6 -0
- package/dist/openapi_client/models/ScheduleFireStatus.d.ts +8 -0
- package/dist/openapi_client/models/ScheduleFireStatus.js +13 -0
- package/dist/openapi_client/models/StepRecordResponse.d.ts +10 -0
- package/dist/openapi_client/models/StepStatus.d.ts +7 -0
- package/dist/openapi_client/models/StepStatus.js +12 -0
- package/dist/openapi_client/models/SurfaceBehaviorConfigInput.d.ts +4 -0
- package/dist/openapi_client/models/SurfaceChannelRouteInput.d.ts +6 -0
- package/dist/openapi_client/models/SurfaceChannelRouteResponse.d.ts +6 -0
- package/dist/openapi_client/models/SurfaceConfigResponse.d.ts +10 -0
- package/dist/openapi_client/models/SurfaceCredentialMode.d.ts +4 -0
- package/dist/openapi_client/models/SurfaceCredentialMode.js +9 -0
- package/dist/openapi_client/models/SurfaceIdentityConfigInput.d.ts +4 -0
- package/dist/openapi_client/models/SurfaceIdentityConfigResponse.d.ts +4 -0
- package/dist/openapi_client/models/SurfaceSetupStatusResponse.d.ts +10 -0
- package/dist/openapi_client/models/TableListResponse.d.ts +2 -0
- package/dist/openapi_client/models/ToggleSurfaceRequest.d.ts +1 -1
- package/dist/openapi_client/models/UpdateScheduleRequest.d.ts +1 -0
- package/dist/openapi_client/models/UpdateSurfaceChannelsRequest.d.ts +4 -0
- package/dist/openapi_client/models/UpdateSurfaceRequest.d.ts +4 -11
- package/dist/openapi_client/models/UpsertSurfaceRequest.d.ts +9 -0
- package/dist/openapi_client/models/UserProfileRequest.d.ts +1 -0
- package/dist/openapi_client/models/UserResponse.d.ts +1 -0
- package/dist/openapi_client/models/WaitUntilNode.d.ts +1 -1
- package/dist/openapi_client/models/WorkflowCreateRequest.d.ts +16 -0
- package/dist/openapi_client/models/WorkflowRunFormSubmitRequest.d.ts +13 -0
- package/dist/openapi_client/models/WorkflowRunResponse.d.ts +28 -0
- package/dist/openapi_client/models/WorkflowRunSummaryResponse.d.ts +2 -3
- package/dist/openapi_client/models/WorkflowRunWaitAssignment.d.ts +4 -4
- package/dist/openapi_client/models/{WorkflowRunWaitEntity.d.ts → WorkflowRunWaitResponse.d.ts} +4 -8
- package/dist/openapi_client/models/WorkflowRunWaitType.d.ts +1 -2
- package/dist/openapi_client/models/WorkflowRunWaitType.js +0 -1
- package/dist/openapi_client/models/WorkspaceAppAccessRequest.d.ts +0 -3
- package/dist/openapi_client/models/WorkspaceMeSandbox.d.ts +1 -4
- package/dist/openapi_client/services/AgentConversationsService.d.ts +5 -5
- package/dist/openapi_client/services/AgentConversationsService.js +3 -3
- package/dist/openapi_client/services/AgentSurfacesService.d.ts +39 -10
- package/dist/openapi_client/services/AgentSurfacesService.js +86 -20
- package/dist/openapi_client/services/ApplicationsService.d.ts +29 -19
- package/dist/openapi_client/services/ApplicationsService.js +63 -36
- package/dist/openapi_client/services/FilesService.d.ts +2 -3
- package/dist/openapi_client/services/FilesService.js +1 -1
- package/dist/openapi_client/services/FunctionsService.d.ts +1 -1
- package/dist/openapi_client/services/FunctionsService.js +1 -1
- package/dist/openapi_client/services/IntegrationsService.d.ts +12 -4
- package/dist/openapi_client/services/IntegrationsService.js +22 -4
- package/dist/openapi_client/services/PodResourceAccessService.d.ts +6 -6
- package/dist/openapi_client/services/PodResourceAccessService.js +12 -12
- package/dist/openapi_client/services/RecordsService.d.ts +22 -25
- package/dist/openapi_client/services/RecordsService.js +14 -18
- package/dist/openapi_client/services/SchedulesService.d.ts +2 -1
- package/dist/openapi_client/services/SchedulesService.js +3 -1
- package/dist/openapi_client/services/TablesService.d.ts +4 -5
- package/dist/openapi_client/services/TablesService.js +2 -2
- package/dist/openapi_client/services/WorkflowsService.d.ts +35 -26
- package/dist/openapi_client/services/WorkflowsService.js +57 -39
- package/dist/react/assistant-output.d.ts +6 -0
- package/dist/react/assistant-output.js +16 -0
- package/dist/react/useAddPodMember.js +1 -1
- package/dist/react/useAssistantController.d.ts +9 -1
- package/dist/react/useAssistantController.js +92 -251
- package/dist/react/useAssistantRuntime.js +6 -17
- package/dist/react/useAssistantSession.d.ts +5 -2
- package/dist/react/useAssistantSession.js +47 -7
- package/dist/react/useBulkRecords.d.ts +5 -5
- package/dist/react/useBulkRecords.js +5 -5
- package/dist/react/useConversationMessages.d.ts +2 -2
- package/dist/react/useConversationMessages.js +3 -5
- package/dist/react/useCreateFolder.d.ts +2 -4
- package/dist/react/useCreateFolder.js +2 -3
- package/dist/react/useCreateRecord.d.ts +2 -2
- package/dist/react/useCreateRecord.js +1 -1
- package/dist/react/useDeleteFile.d.ts +1 -4
- package/dist/react/useDeleteFile.js +3 -3
- package/dist/react/useDeleteRecord.d.ts +1 -2
- package/dist/react/useDeleteRecord.js +3 -3
- package/dist/react/useFile.d.ts +2 -4
- package/dist/react/useFile.js +3 -3
- package/dist/react/useFilePreview.d.ts +1 -4
- package/dist/react/useFilePreview.js +4 -5
- package/dist/react/useFileSearch.d.ts +5 -1
- package/dist/react/useFileSearch.js +6 -4
- package/dist/react/useFileTree.d.ts +2 -4
- package/dist/react/useFileTree.js +2 -3
- package/dist/react/useFiles.d.ts +2 -4
- package/dist/react/useFiles.js +3 -5
- package/dist/react/useFlowSession.d.ts +3 -1
- package/dist/react/useFlowSession.js +24 -17
- package/dist/react/useGlobalSearch.js +1 -1
- package/dist/react/useRecord.d.ts +2 -2
- package/dist/react/useRecord.js +1 -1
- package/dist/react/useRecordForm.d.ts +2 -2
- package/dist/react/useRecordForm.js +2 -2
- package/dist/react/useRecords.d.ts +1 -1
- package/dist/react/useRecords.js +2 -13
- package/dist/react/useReferencingRecords.d.ts +4 -6
- package/dist/react/useReferencingRecords.js +5 -5
- package/dist/react/useReverseRelatedRecords.d.ts +3 -4
- package/dist/react/useReverseRelatedRecords.js +6 -6
- package/dist/react/useUpdateFile.d.ts +2 -4
- package/dist/react/useUpdateFile.js +2 -3
- package/dist/react/useUpdateRecord.d.ts +2 -2
- package/dist/react/useUpdateRecord.js +1 -1
- package/dist/react/useUploadFile.d.ts +2 -4
- package/dist/react/useUploadFile.js +2 -3
- package/dist/react/useWorkflowResume.d.ts +1 -0
- package/dist/react/useWorkflowResume.js +10 -1
- package/dist/react/useWorkflowRun.js +1 -3
- package/dist/react/useWorkflowStart.js +11 -26
- package/dist/react/utils.js +2 -0
- package/dist/types.d.ts +15 -9
- package/package.json +7 -2
- package/dist/openapi_client/models/BillingHistoryResponse.d.ts +0 -8
- package/dist/openapi_client/models/BillingInterval.d.ts +0 -7
- package/dist/openapi_client/models/BillingInterval.js +0 -12
- package/dist/openapi_client/models/BillingInvoiceResponse.d.ts +0 -27
- package/dist/openapi_client/models/BillingInvoiceStatus.d.ts +0 -10
- package/dist/openapi_client/models/BillingInvoiceStatus.js +0 -15
- package/dist/openapi_client/models/CancelSubscriptionResponse.d.ts +0 -10
- package/dist/openapi_client/models/CreateInvoicePaymentUrlRequest.d.ts +0 -7
- package/dist/openapi_client/models/CreateInvoicePaymentUrlResponse.d.ts +0 -8
- package/dist/openapi_client/models/DatastoreMessageResponse.d.ts +0 -6
- package/dist/openapi_client/models/DeskServingConfigResponse.d.ts +0 -11
- package/dist/openapi_client/models/DeskServingConfigResponse.js +0 -8
- package/dist/openapi_client/models/FlowRunEntity.d.ts +0 -36
- package/dist/openapi_client/models/GmailSurfaceConfig.d.ts +0 -7
- package/dist/openapi_client/models/NotificationContent.d.ts +0 -4
- package/dist/openapi_client/models/OutlookSurfaceConfig.d.ts +0 -7
- package/dist/openapi_client/models/PlanListResponse.d.ts +0 -8
- package/dist/openapi_client/models/PlanResponse.d.ts +0 -18
- package/dist/openapi_client/models/PlanType.d.ts +0 -7
- package/dist/openapi_client/models/PlanType.js +0 -12
- package/dist/openapi_client/models/RecordResponse.d.ts +0 -9
- package/dist/openapi_client/models/SeatInfoResponse.d.ts +0 -10
- package/dist/openapi_client/models/SlackSurfaceConfig.d.ts +0 -7
- package/dist/openapi_client/models/StackFrame.d.ts +0 -11
- package/dist/openapi_client/models/StartSubscriptionRequest.d.ts +0 -14
- package/dist/openapi_client/models/StartSubscriptionResponse.d.ts +0 -9
- package/dist/openapi_client/models/StartTeamBillingRequest.d.ts +0 -6
- package/dist/openapi_client/models/StartTeamBillingRequest.js +0 -1
- package/dist/openapi_client/models/StepExecution.d.ts +0 -13
- package/dist/openapi_client/models/StepExecution.js +0 -1
- package/dist/openapi_client/models/SubscriptionResponse.d.ts +0 -22
- package/dist/openapi_client/models/SubscriptionResponse.js +0 -1
- package/dist/openapi_client/models/SubscriptionStatus.d.ts +0 -10
- package/dist/openapi_client/models/SubscriptionStatus.js +0 -15
- package/dist/openapi_client/models/SubscriptionStatusResponse.d.ts +0 -10
- package/dist/openapi_client/models/SubscriptionStatusResponse.js +0 -1
- package/dist/openapi_client/models/SubscriptionWithPlanResponse.d.ts +0 -22
- package/dist/openapi_client/models/SubscriptionWithPlanResponse.js +0 -1
- package/dist/openapi_client/models/SurfaceEventMode.d.ts +0 -6
- package/dist/openapi_client/models/SurfaceEventMode.js +0 -11
- package/dist/openapi_client/models/SurfaceMode.d.ts +0 -5
- package/dist/openapi_client/models/SurfaceMode.js +0 -10
- package/dist/openapi_client/models/SurfaceRoutingScope.d.ts +0 -4
- package/dist/openapi_client/models/SurfaceRoutingScope.js +0 -9
- package/dist/openapi_client/models/TeamsSurfaceConfig.d.ts +0 -7
- package/dist/openapi_client/models/TeamsSurfaceConfig.js +0 -1
- package/dist/openapi_client/models/TelegramSurfaceConfig.d.ts +0 -7
- package/dist/openapi_client/models/TelegramSurfaceConfig.js +0 -1
- package/dist/openapi_client/models/TextContent.d.ts +0 -4
- package/dist/openapi_client/models/TextContent.js +0 -1
- package/dist/openapi_client/models/ThinkingContent.d.ts +0 -4
- package/dist/openapi_client/models/ThinkingContent.js +0 -1
- package/dist/openapi_client/models/ToolCallContent.d.ts +0 -6
- package/dist/openapi_client/models/ToolCallContent.js +0 -1
- package/dist/openapi_client/models/ToolReturnContent.d.ts +0 -6
- package/dist/openapi_client/models/ToolReturnContent.js +0 -1
- package/dist/openapi_client/models/WhatsAppSurfaceConfig.d.ts +0 -7
- package/dist/openapi_client/models/WhatsAppSurfaceConfig.js +0 -1
- package/dist/openapi_client/models/WorkflowRunWaitEntity.js +0 -1
- package/dist/openapi_client/services/BillingSubscriptionsService.d.ts +0 -117
- package/dist/openapi_client/services/BillingSubscriptionsService.js +0 -230
- package/dist/openapi_client/services/BillingWebhooksService.d.ts +0 -12
- package/dist/openapi_client/services/BillingWebhooksService.js +0 -25
- package/dist/openapi_client/services/PublicDesksService.d.ts +0 -10
- package/dist/openapi_client/services/PublicDesksService.js +0 -15
- /package/dist/openapi_client/models/{BillingHistoryResponse.js → ApplicationSkillResponse.js} +0 -0
- /package/dist/openapi_client/models/{BillingInvoiceResponse.js → ApprovalDecisionResponse.js} +0 -0
- /package/dist/openapi_client/models/{CancelSubscriptionResponse.js → ConnectedAccountSummary.js} +0 -0
- /package/dist/openapi_client/models/{CreateInvoicePaymentUrlRequest.js → DatastoreCountResponse.js} +0 -0
- /package/dist/openapi_client/models/{CreateInvoicePaymentUrlResponse.js → InstalledAppSummary.js} +0 -0
- /package/dist/openapi_client/models/{DatastoreMessageResponse.js → IntegrationStatusResponse.js} +0 -0
- /package/dist/openapi_client/models/{FlowRunEntity.js → StepRecordResponse.js} +0 -0
- /package/dist/openapi_client/models/{GmailSurfaceConfig.js → SurfaceChannelRouteInput.js} +0 -0
- /package/dist/openapi_client/models/{NotificationContent.js → SurfaceChannelRouteResponse.js} +0 -0
- /package/dist/openapi_client/models/{OutlookSurfaceConfig.js → SurfaceConfigResponse.js} +0 -0
- /package/dist/openapi_client/models/{PlanListResponse.js → SurfaceIdentityConfigInput.js} +0 -0
- /package/dist/openapi_client/models/{PlanResponse.js → SurfaceIdentityConfigResponse.js} +0 -0
- /package/dist/openapi_client/models/{RecordResponse.js → SurfaceSetupStatusResponse.js} +0 -0
- /package/dist/openapi_client/models/{SeatInfoResponse.js → UpdateSurfaceChannelsRequest.js} +0 -0
- /package/dist/openapi_client/models/{SlackSurfaceConfig.js → UpsertSurfaceRequest.js} +0 -0
- /package/dist/openapi_client/models/{StackFrame.js → WorkflowRunFormSubmitRequest.js} +0 -0
- /package/dist/openapi_client/models/{StartSubscriptionRequest.js → WorkflowRunResponse.js} +0 -0
- /package/dist/openapi_client/models/{StartSubscriptionResponse.js → WorkflowRunWaitResponse.js} +0 -0
|
@@ -28,7 +28,7 @@ export class FunctionsService {
|
|
|
28
28
|
}
|
|
29
29
|
/**
|
|
30
30
|
* Create Function
|
|
31
|
-
* Create a new function in a pod. Do not send input_schema or
|
|
31
|
+
* Create a new function in a pod. Do not send input_schema, output_schema, or config_schema; the platform derives those schemas from the function code and returns them in the response.
|
|
32
32
|
* @param podId
|
|
33
33
|
* @param requestBody
|
|
34
34
|
* @returns FunctionActionResponse Successful Response
|
|
@@ -7,6 +7,7 @@ import type { AuthConfigListResponseSchema } from '../models/AuthConfigListRespo
|
|
|
7
7
|
import type { AuthConfigResponseSchema } from '../models/AuthConfigResponseSchema.js';
|
|
8
8
|
import type { ConnectRequestInitiateSchema } from '../models/ConnectRequestInitiateSchema.js';
|
|
9
9
|
import type { ConnectRequestResponseSchema } from '../models/ConnectRequestResponseSchema.js';
|
|
10
|
+
import type { IntegrationStatusResponse } from '../models/IntegrationStatusResponse.js';
|
|
10
11
|
import type { MessageResponseSchema } from '../models/MessageResponseSchema.js';
|
|
11
12
|
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
12
13
|
export declare class IntegrationsService {
|
|
@@ -74,7 +75,7 @@ export declare class IntegrationsService {
|
|
|
74
75
|
* @returns AuthConfigListResponseSchema Successful Response
|
|
75
76
|
* @throws ApiError
|
|
76
77
|
*/
|
|
77
|
-
static
|
|
78
|
+
static integrationAuthConfigList(organizationId: string, limit?: number, pageToken?: (string | null)): CancelablePromise<AuthConfigListResponseSchema>;
|
|
78
79
|
/**
|
|
79
80
|
* Create Auth Config
|
|
80
81
|
* @param organizationId
|
|
@@ -82,7 +83,7 @@ export declare class IntegrationsService {
|
|
|
82
83
|
* @returns AuthConfigResponseSchema Successful Response
|
|
83
84
|
* @throws ApiError
|
|
84
85
|
*/
|
|
85
|
-
static
|
|
86
|
+
static integrationAuthConfigCreate(organizationId: string, requestBody: AuthConfigCreateSchema): CancelablePromise<AuthConfigResponseSchema>;
|
|
86
87
|
/**
|
|
87
88
|
* Delete Auth Config
|
|
88
89
|
* @param organizationId
|
|
@@ -90,7 +91,7 @@ export declare class IntegrationsService {
|
|
|
90
91
|
* @returns boolean Successful Response
|
|
91
92
|
* @throws ApiError
|
|
92
93
|
*/
|
|
93
|
-
static
|
|
94
|
+
static integrationAuthConfigDelete(organizationId: string, authConfigName: string): CancelablePromise<Record<string, boolean>>;
|
|
94
95
|
/**
|
|
95
96
|
* Get Auth Config
|
|
96
97
|
* @param organizationId
|
|
@@ -98,7 +99,7 @@ export declare class IntegrationsService {
|
|
|
98
99
|
* @returns AuthConfigResponseSchema Successful Response
|
|
99
100
|
* @throws ApiError
|
|
100
101
|
*/
|
|
101
|
-
static
|
|
102
|
+
static integrationAuthConfigGet(organizationId: string, authConfigName: string): CancelablePromise<AuthConfigResponseSchema>;
|
|
102
103
|
/**
|
|
103
104
|
* Initiate Connect Request
|
|
104
105
|
* Initiate an OAuth connection request for an application
|
|
@@ -108,4 +109,11 @@ export declare class IntegrationsService {
|
|
|
108
109
|
* @throws ApiError
|
|
109
110
|
*/
|
|
110
111
|
static integrationConnectRequestCreate(organizationId: string, requestBody: ConnectRequestInitiateSchema): CancelablePromise<ConnectRequestResponseSchema>;
|
|
112
|
+
/**
|
|
113
|
+
* Get Integration Status
|
|
114
|
+
* @param organizationId
|
|
115
|
+
* @returns IntegrationStatusResponse Successful Response
|
|
116
|
+
* @throws ApiError
|
|
117
|
+
*/
|
|
118
|
+
static integrationStatusGet(organizationId: string): CancelablePromise<IntegrationStatusResponse>;
|
|
111
119
|
}
|
|
@@ -142,7 +142,7 @@ export class IntegrationsService {
|
|
|
142
142
|
* @returns AuthConfigListResponseSchema Successful Response
|
|
143
143
|
* @throws ApiError
|
|
144
144
|
*/
|
|
145
|
-
static
|
|
145
|
+
static integrationAuthConfigList(organizationId, limit = 100, pageToken) {
|
|
146
146
|
return __request(OpenAPI, {
|
|
147
147
|
method: 'GET',
|
|
148
148
|
url: '/organizations/{organization_id}/integrations/auth-configs',
|
|
@@ -165,7 +165,7 @@ export class IntegrationsService {
|
|
|
165
165
|
* @returns AuthConfigResponseSchema Successful Response
|
|
166
166
|
* @throws ApiError
|
|
167
167
|
*/
|
|
168
|
-
static
|
|
168
|
+
static integrationAuthConfigCreate(organizationId, requestBody) {
|
|
169
169
|
return __request(OpenAPI, {
|
|
170
170
|
method: 'POST',
|
|
171
171
|
url: '/organizations/{organization_id}/integrations/auth-configs',
|
|
@@ -186,7 +186,7 @@ export class IntegrationsService {
|
|
|
186
186
|
* @returns boolean Successful Response
|
|
187
187
|
* @throws ApiError
|
|
188
188
|
*/
|
|
189
|
-
static
|
|
189
|
+
static integrationAuthConfigDelete(organizationId, authConfigName) {
|
|
190
190
|
return __request(OpenAPI, {
|
|
191
191
|
method: 'DELETE',
|
|
192
192
|
url: '/organizations/{organization_id}/integrations/auth-configs/{auth_config_name}',
|
|
@@ -206,7 +206,7 @@ export class IntegrationsService {
|
|
|
206
206
|
* @returns AuthConfigResponseSchema Successful Response
|
|
207
207
|
* @throws ApiError
|
|
208
208
|
*/
|
|
209
|
-
static
|
|
209
|
+
static integrationAuthConfigGet(organizationId, authConfigName) {
|
|
210
210
|
return __request(OpenAPI, {
|
|
211
211
|
method: 'GET',
|
|
212
212
|
url: '/organizations/{organization_id}/integrations/auth-configs/{auth_config_name}',
|
|
@@ -241,4 +241,22 @@ export class IntegrationsService {
|
|
|
241
241
|
},
|
|
242
242
|
});
|
|
243
243
|
}
|
|
244
|
+
/**
|
|
245
|
+
* Get Integration Status
|
|
246
|
+
* @param organizationId
|
|
247
|
+
* @returns IntegrationStatusResponse Successful Response
|
|
248
|
+
* @throws ApiError
|
|
249
|
+
*/
|
|
250
|
+
static integrationStatusGet(organizationId) {
|
|
251
|
+
return __request(OpenAPI, {
|
|
252
|
+
method: 'GET',
|
|
253
|
+
url: '/organizations/{organization_id}/integrations/status',
|
|
254
|
+
path: {
|
|
255
|
+
'organization_id': organizationId,
|
|
256
|
+
},
|
|
257
|
+
errors: {
|
|
258
|
+
422: `Validation Error`,
|
|
259
|
+
},
|
|
260
|
+
});
|
|
261
|
+
}
|
|
244
262
|
}
|
|
@@ -7,32 +7,32 @@ export declare class PodResourceAccessService {
|
|
|
7
7
|
* Get Resource Access
|
|
8
8
|
* @param podId
|
|
9
9
|
* @param resourceType
|
|
10
|
-
* @param
|
|
10
|
+
* @param resourceName
|
|
11
11
|
* @returns ResourceAccessResponse Successful Response
|
|
12
12
|
* @throws ApiError
|
|
13
13
|
*/
|
|
14
|
-
static podResourceAccessGet(podId: string, resourceType: ResourceType,
|
|
14
|
+
static podResourceAccessGet(podId: string, resourceType: ResourceType, resourceName: string): CancelablePromise<ResourceAccessResponse>;
|
|
15
15
|
/**
|
|
16
16
|
* Delete Resource Access Grant
|
|
17
17
|
* @param podId
|
|
18
18
|
* @param resourceType
|
|
19
|
-
* @param
|
|
19
|
+
* @param resourceName
|
|
20
20
|
* @param granteeType
|
|
21
21
|
* @param granteeId
|
|
22
22
|
* @returns ResourceAccessResponse Successful Response
|
|
23
23
|
* @throws ApiError
|
|
24
24
|
*/
|
|
25
|
-
static podResourceAccessGrantDelete(podId: string, resourceType: ResourceType,
|
|
25
|
+
static podResourceAccessGrantDelete(podId: string, resourceType: ResourceType, resourceName: string, granteeType: string, granteeId: string): CancelablePromise<ResourceAccessResponse>;
|
|
26
26
|
/**
|
|
27
27
|
* Replace Resource Access Grant
|
|
28
28
|
* @param podId
|
|
29
29
|
* @param resourceType
|
|
30
|
-
* @param
|
|
30
|
+
* @param resourceName
|
|
31
31
|
* @param granteeType
|
|
32
32
|
* @param granteeId
|
|
33
33
|
* @param requestBody
|
|
34
34
|
* @returns ResourceAccessResponse Successful Response
|
|
35
35
|
* @throws ApiError
|
|
36
36
|
*/
|
|
37
|
-
static podResourceAccessGrantReplace(podId: string, resourceType: ResourceType,
|
|
37
|
+
static podResourceAccessGrantReplace(podId: string, resourceType: ResourceType, resourceName: string, granteeType: string, granteeId: string, requestBody: ResourceAccessGrantRequest): CancelablePromise<ResourceAccessResponse>;
|
|
38
38
|
}
|
|
@@ -5,18 +5,18 @@ export class PodResourceAccessService {
|
|
|
5
5
|
* Get Resource Access
|
|
6
6
|
* @param podId
|
|
7
7
|
* @param resourceType
|
|
8
|
-
* @param
|
|
8
|
+
* @param resourceName
|
|
9
9
|
* @returns ResourceAccessResponse Successful Response
|
|
10
10
|
* @throws ApiError
|
|
11
11
|
*/
|
|
12
|
-
static podResourceAccessGet(podId, resourceType,
|
|
12
|
+
static podResourceAccessGet(podId, resourceType, resourceName) {
|
|
13
13
|
return __request(OpenAPI, {
|
|
14
14
|
method: 'GET',
|
|
15
|
-
url: '/pods/{pod_id}/resources/{resource_type}/{
|
|
15
|
+
url: '/pods/{pod_id}/resources/{resource_type}/{resource_name}/access',
|
|
16
16
|
path: {
|
|
17
17
|
'pod_id': podId,
|
|
18
18
|
'resource_type': resourceType,
|
|
19
|
-
'
|
|
19
|
+
'resource_name': resourceName,
|
|
20
20
|
},
|
|
21
21
|
errors: {
|
|
22
22
|
422: `Validation Error`,
|
|
@@ -27,20 +27,20 @@ export class PodResourceAccessService {
|
|
|
27
27
|
* Delete Resource Access Grant
|
|
28
28
|
* @param podId
|
|
29
29
|
* @param resourceType
|
|
30
|
-
* @param
|
|
30
|
+
* @param resourceName
|
|
31
31
|
* @param granteeType
|
|
32
32
|
* @param granteeId
|
|
33
33
|
* @returns ResourceAccessResponse Successful Response
|
|
34
34
|
* @throws ApiError
|
|
35
35
|
*/
|
|
36
|
-
static podResourceAccessGrantDelete(podId, resourceType,
|
|
36
|
+
static podResourceAccessGrantDelete(podId, resourceType, resourceName, granteeType, granteeId) {
|
|
37
37
|
return __request(OpenAPI, {
|
|
38
38
|
method: 'DELETE',
|
|
39
|
-
url: '/pods/{pod_id}/resources/{resource_type}/{
|
|
39
|
+
url: '/pods/{pod_id}/resources/{resource_type}/{resource_name}/access/grantees/{grantee_type}/{grantee_id}',
|
|
40
40
|
path: {
|
|
41
41
|
'pod_id': podId,
|
|
42
42
|
'resource_type': resourceType,
|
|
43
|
-
'
|
|
43
|
+
'resource_name': resourceName,
|
|
44
44
|
'grantee_type': granteeType,
|
|
45
45
|
'grantee_id': granteeId,
|
|
46
46
|
},
|
|
@@ -53,21 +53,21 @@ export class PodResourceAccessService {
|
|
|
53
53
|
* Replace Resource Access Grant
|
|
54
54
|
* @param podId
|
|
55
55
|
* @param resourceType
|
|
56
|
-
* @param
|
|
56
|
+
* @param resourceName
|
|
57
57
|
* @param granteeType
|
|
58
58
|
* @param granteeId
|
|
59
59
|
* @param requestBody
|
|
60
60
|
* @returns ResourceAccessResponse Successful Response
|
|
61
61
|
* @throws ApiError
|
|
62
62
|
*/
|
|
63
|
-
static podResourceAccessGrantReplace(podId, resourceType,
|
|
63
|
+
static podResourceAccessGrantReplace(podId, resourceType, resourceName, granteeType, granteeId, requestBody) {
|
|
64
64
|
return __request(OpenAPI, {
|
|
65
65
|
method: 'PUT',
|
|
66
|
-
url: '/pods/{pod_id}/resources/{resource_type}/{
|
|
66
|
+
url: '/pods/{pod_id}/resources/{resource_type}/{resource_name}/access/grantees/{grantee_type}/{grantee_id}',
|
|
67
67
|
path: {
|
|
68
68
|
'pod_id': podId,
|
|
69
69
|
'resource_type': resourceType,
|
|
70
|
-
'
|
|
70
|
+
'resource_name': resourceName,
|
|
71
71
|
'grantee_type': granteeType,
|
|
72
72
|
'grantee_id': granteeId,
|
|
73
73
|
},
|
|
@@ -2,9 +2,8 @@ import type { BulkCreateRecordsRequest } from '../models/BulkCreateRecordsReques
|
|
|
2
2
|
import type { BulkDeleteRecordsRequest } from '../models/BulkDeleteRecordsRequest.js';
|
|
3
3
|
import type { BulkUpdateRecordsRequest } from '../models/BulkUpdateRecordsRequest.js';
|
|
4
4
|
import type { CreateRecordRequest } from '../models/CreateRecordRequest.js';
|
|
5
|
-
import type {
|
|
5
|
+
import type { DatastoreCountResponse } from '../models/DatastoreCountResponse.js';
|
|
6
6
|
import type { RecordListResponse } from '../models/RecordListResponse.js';
|
|
7
|
-
import type { RecordResponse } from '../models/RecordResponse.js';
|
|
8
7
|
import type { UpdateRecordRequest } from '../models/UpdateRecordRequest.js';
|
|
9
8
|
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
10
9
|
export declare class RecordsService {
|
|
@@ -15,84 +14,82 @@ export declare class RecordsService {
|
|
|
15
14
|
* @param tableName
|
|
16
15
|
* @param limit Max number of rows to return.
|
|
17
16
|
* @param offset Row offset for direct pagination.
|
|
18
|
-
* @param sortBy Optional column name to sort by.
|
|
19
|
-
* @param order Sort direction for `sort_by`: `asc` or `desc`.
|
|
20
17
|
* @param filter Optional repeated JSON filters for advanced comparisons. Each `filter` value must be a JSON object with shape `{"field":"<column_name>","op":"<operator>","value":<comparison_value>}`. Allowed operators are: `eq`, `ne`, `gt`, `gte`, `lt`, `lte`, `like`, `ilike`. Repeat the query parameter to combine multiple filters with AND semantics. Examples: `filter={"field":"amount","op":"gt","value":100}` and `filter={"field":"status","op":"eq","value":"OPEN"}`.
|
|
21
18
|
* @param sort Optional repeated JSON sort clauses. Each `sort` value must be a JSON object with shape `{"field":"<column_name>","direction":"<direction>"}`. Allowed directions are: `asc`, `desc`. Repeat the query parameter to provide multi-column sorting in priority order. Example: `sort={"field":"created_at","direction":"desc"}`.
|
|
22
19
|
* @param pageToken Opaque token from a previous response page.
|
|
23
20
|
* @returns RecordListResponse Successful Response
|
|
24
21
|
* @throws ApiError
|
|
25
22
|
*/
|
|
26
|
-
static recordList(podId: string, tableName: string, limit?: number, offset?: number,
|
|
23
|
+
static recordList(podId: string, tableName: string, limit?: number, offset?: number, filter?: (Array<string> | null), sort?: (Array<string> | null), pageToken?: (string | null)): CancelablePromise<RecordListResponse>;
|
|
27
24
|
/**
|
|
28
25
|
* Create Record
|
|
29
|
-
* Insert a record into a table. Reserved tables (`reserved_*`) are system-managed and cannot be mutated through record write endpoints.
|
|
26
|
+
* Insert a record into a table. Returns the created record object keyed by column name (no envelope). Reserved tables (`reserved_*`) are system-managed and cannot be mutated through record write endpoints.
|
|
30
27
|
* @param podId
|
|
31
28
|
* @param tableName
|
|
32
29
|
* @param requestBody
|
|
33
|
-
* @returns
|
|
30
|
+
* @returns any Successful Response
|
|
34
31
|
* @throws ApiError
|
|
35
32
|
*/
|
|
36
|
-
static recordCreate(podId: string, tableName: string, requestBody: CreateRecordRequest): CancelablePromise<
|
|
33
|
+
static recordCreate(podId: string, tableName: string, requestBody: CreateRecordRequest): CancelablePromise<Record<string, any>>;
|
|
37
34
|
/**
|
|
38
35
|
* Bulk Create
|
|
39
|
-
* Insert multiple records in one request.
|
|
36
|
+
* Insert multiple records in one request. Returns the affected-row count.
|
|
40
37
|
* @param podId
|
|
41
38
|
* @param tableName
|
|
42
39
|
* @param requestBody
|
|
43
|
-
* @returns
|
|
40
|
+
* @returns DatastoreCountResponse Successful Response
|
|
44
41
|
* @throws ApiError
|
|
45
42
|
*/
|
|
46
|
-
static recordBulkCreate(podId: string, tableName: string, requestBody: BulkCreateRecordsRequest): CancelablePromise<
|
|
43
|
+
static recordBulkCreate(podId: string, tableName: string, requestBody: BulkCreateRecordsRequest): CancelablePromise<DatastoreCountResponse>;
|
|
47
44
|
/**
|
|
48
45
|
* Bulk Delete
|
|
49
|
-
* Delete multiple records by primary key values.
|
|
46
|
+
* Delete multiple records by primary key values. Returns the affected-row count.
|
|
50
47
|
* @param podId
|
|
51
48
|
* @param tableName
|
|
52
49
|
* @param requestBody
|
|
53
|
-
* @returns
|
|
50
|
+
* @returns DatastoreCountResponse Successful Response
|
|
54
51
|
* @throws ApiError
|
|
55
52
|
*/
|
|
56
|
-
static recordBulkDelete(podId: string, tableName: string, requestBody: BulkDeleteRecordsRequest): CancelablePromise<
|
|
53
|
+
static recordBulkDelete(podId: string, tableName: string, requestBody: BulkDeleteRecordsRequest): CancelablePromise<DatastoreCountResponse>;
|
|
57
54
|
/**
|
|
58
55
|
* Bulk Update
|
|
59
|
-
* Update multiple records in one request (each item needs primary key).
|
|
56
|
+
* Update multiple records in one request (each item needs primary key). Returns the affected-row count.
|
|
60
57
|
* @param podId
|
|
61
58
|
* @param tableName
|
|
62
59
|
* @param requestBody
|
|
63
|
-
* @returns
|
|
60
|
+
* @returns DatastoreCountResponse Successful Response
|
|
64
61
|
* @throws ApiError
|
|
65
62
|
*/
|
|
66
|
-
static recordBulkUpdate(podId: string, tableName: string, requestBody: BulkUpdateRecordsRequest): CancelablePromise<
|
|
63
|
+
static recordBulkUpdate(podId: string, tableName: string, requestBody: BulkUpdateRecordsRequest): CancelablePromise<DatastoreCountResponse>;
|
|
67
64
|
/**
|
|
68
65
|
* Delete Record
|
|
69
66
|
* Delete a record by primary key.
|
|
70
67
|
* @param podId
|
|
71
68
|
* @param tableName
|
|
72
69
|
* @param recordId
|
|
73
|
-
* @returns
|
|
70
|
+
* @returns void
|
|
74
71
|
* @throws ApiError
|
|
75
72
|
*/
|
|
76
|
-
static recordDelete(podId: string, tableName: string, recordId: string): CancelablePromise<
|
|
73
|
+
static recordDelete(podId: string, tableName: string, recordId: string): CancelablePromise<void>;
|
|
77
74
|
/**
|
|
78
75
|
* Get Record
|
|
79
|
-
* Fetch one record by primary key value. The `record_id` path segment is the table's primary key value as stored in the table, not necessarily a UUID.
|
|
76
|
+
* Fetch one record by primary key value (returns the record object, no envelope). The `record_id` path segment is the table's primary key value as stored in the table, not necessarily a UUID.
|
|
80
77
|
* @param podId
|
|
81
78
|
* @param tableName
|
|
82
79
|
* @param recordId
|
|
83
|
-
* @returns
|
|
80
|
+
* @returns any Successful Response
|
|
84
81
|
* @throws ApiError
|
|
85
82
|
*/
|
|
86
|
-
static recordGet(podId: string, tableName: string, recordId: string): CancelablePromise<
|
|
83
|
+
static recordGet(podId: string, tableName: string, recordId: string): CancelablePromise<Record<string, any>>;
|
|
87
84
|
/**
|
|
88
85
|
* Update Record
|
|
89
|
-
* Patch a record by primary key.
|
|
86
|
+
* Patch a record by primary key. Returns the updated record object (no envelope).
|
|
90
87
|
* @param podId
|
|
91
88
|
* @param tableName
|
|
92
89
|
* @param recordId
|
|
93
90
|
* @param requestBody
|
|
94
|
-
* @returns
|
|
91
|
+
* @returns any Successful Response
|
|
95
92
|
* @throws ApiError
|
|
96
93
|
*/
|
|
97
|
-
static recordUpdate(podId: string, tableName: string, recordId: string, requestBody: UpdateRecordRequest): CancelablePromise<
|
|
94
|
+
static recordUpdate(podId: string, tableName: string, recordId: string, requestBody: UpdateRecordRequest): CancelablePromise<Record<string, any>>;
|
|
98
95
|
}
|
|
@@ -8,15 +8,13 @@ export class RecordsService {
|
|
|
8
8
|
* @param tableName
|
|
9
9
|
* @param limit Max number of rows to return.
|
|
10
10
|
* @param offset Row offset for direct pagination.
|
|
11
|
-
* @param sortBy Optional column name to sort by.
|
|
12
|
-
* @param order Sort direction for `sort_by`: `asc` or `desc`.
|
|
13
11
|
* @param filter Optional repeated JSON filters for advanced comparisons. Each `filter` value must be a JSON object with shape `{"field":"<column_name>","op":"<operator>","value":<comparison_value>}`. Allowed operators are: `eq`, `ne`, `gt`, `gte`, `lt`, `lte`, `like`, `ilike`. Repeat the query parameter to combine multiple filters with AND semantics. Examples: `filter={"field":"amount","op":"gt","value":100}` and `filter={"field":"status","op":"eq","value":"OPEN"}`.
|
|
14
12
|
* @param sort Optional repeated JSON sort clauses. Each `sort` value must be a JSON object with shape `{"field":"<column_name>","direction":"<direction>"}`. Allowed directions are: `asc`, `desc`. Repeat the query parameter to provide multi-column sorting in priority order. Example: `sort={"field":"created_at","direction":"desc"}`.
|
|
15
13
|
* @param pageToken Opaque token from a previous response page.
|
|
16
14
|
* @returns RecordListResponse Successful Response
|
|
17
15
|
* @throws ApiError
|
|
18
16
|
*/
|
|
19
|
-
static recordList(podId, tableName, limit = 20, offset,
|
|
17
|
+
static recordList(podId, tableName, limit = 20, offset, filter, sort, pageToken) {
|
|
20
18
|
return __request(OpenAPI, {
|
|
21
19
|
method: 'GET',
|
|
22
20
|
url: '/pods/{pod_id}/datastore/tables/{table_name}/records',
|
|
@@ -27,8 +25,6 @@ export class RecordsService {
|
|
|
27
25
|
query: {
|
|
28
26
|
'limit': limit,
|
|
29
27
|
'offset': offset,
|
|
30
|
-
'sort_by': sortBy,
|
|
31
|
-
'order': order,
|
|
32
28
|
'filter': filter,
|
|
33
29
|
'sort': sort,
|
|
34
30
|
'page_token': pageToken,
|
|
@@ -40,11 +36,11 @@ export class RecordsService {
|
|
|
40
36
|
}
|
|
41
37
|
/**
|
|
42
38
|
* Create Record
|
|
43
|
-
* Insert a record into a table. Reserved tables (`reserved_*`) are system-managed and cannot be mutated through record write endpoints.
|
|
39
|
+
* Insert a record into a table. Returns the created record object keyed by column name (no envelope). Reserved tables (`reserved_*`) are system-managed and cannot be mutated through record write endpoints.
|
|
44
40
|
* @param podId
|
|
45
41
|
* @param tableName
|
|
46
42
|
* @param requestBody
|
|
47
|
-
* @returns
|
|
43
|
+
* @returns any Successful Response
|
|
48
44
|
* @throws ApiError
|
|
49
45
|
*/
|
|
50
46
|
static recordCreate(podId, tableName, requestBody) {
|
|
@@ -64,11 +60,11 @@ export class RecordsService {
|
|
|
64
60
|
}
|
|
65
61
|
/**
|
|
66
62
|
* Bulk Create
|
|
67
|
-
* Insert multiple records in one request.
|
|
63
|
+
* Insert multiple records in one request. Returns the affected-row count.
|
|
68
64
|
* @param podId
|
|
69
65
|
* @param tableName
|
|
70
66
|
* @param requestBody
|
|
71
|
-
* @returns
|
|
67
|
+
* @returns DatastoreCountResponse Successful Response
|
|
72
68
|
* @throws ApiError
|
|
73
69
|
*/
|
|
74
70
|
static recordBulkCreate(podId, tableName, requestBody) {
|
|
@@ -88,11 +84,11 @@ export class RecordsService {
|
|
|
88
84
|
}
|
|
89
85
|
/**
|
|
90
86
|
* Bulk Delete
|
|
91
|
-
* Delete multiple records by primary key values.
|
|
87
|
+
* Delete multiple records by primary key values. Returns the affected-row count.
|
|
92
88
|
* @param podId
|
|
93
89
|
* @param tableName
|
|
94
90
|
* @param requestBody
|
|
95
|
-
* @returns
|
|
91
|
+
* @returns DatastoreCountResponse Successful Response
|
|
96
92
|
* @throws ApiError
|
|
97
93
|
*/
|
|
98
94
|
static recordBulkDelete(podId, tableName, requestBody) {
|
|
@@ -112,11 +108,11 @@ export class RecordsService {
|
|
|
112
108
|
}
|
|
113
109
|
/**
|
|
114
110
|
* Bulk Update
|
|
115
|
-
* Update multiple records in one request (each item needs primary key).
|
|
111
|
+
* Update multiple records in one request (each item needs primary key). Returns the affected-row count.
|
|
116
112
|
* @param podId
|
|
117
113
|
* @param tableName
|
|
118
114
|
* @param requestBody
|
|
119
|
-
* @returns
|
|
115
|
+
* @returns DatastoreCountResponse Successful Response
|
|
120
116
|
* @throws ApiError
|
|
121
117
|
*/
|
|
122
118
|
static recordBulkUpdate(podId, tableName, requestBody) {
|
|
@@ -140,7 +136,7 @@ export class RecordsService {
|
|
|
140
136
|
* @param podId
|
|
141
137
|
* @param tableName
|
|
142
138
|
* @param recordId
|
|
143
|
-
* @returns
|
|
139
|
+
* @returns void
|
|
144
140
|
* @throws ApiError
|
|
145
141
|
*/
|
|
146
142
|
static recordDelete(podId, tableName, recordId) {
|
|
@@ -159,11 +155,11 @@ export class RecordsService {
|
|
|
159
155
|
}
|
|
160
156
|
/**
|
|
161
157
|
* Get Record
|
|
162
|
-
* Fetch one record by primary key value. The `record_id` path segment is the table's primary key value as stored in the table, not necessarily a UUID.
|
|
158
|
+
* Fetch one record by primary key value (returns the record object, no envelope). The `record_id` path segment is the table's primary key value as stored in the table, not necessarily a UUID.
|
|
163
159
|
* @param podId
|
|
164
160
|
* @param tableName
|
|
165
161
|
* @param recordId
|
|
166
|
-
* @returns
|
|
162
|
+
* @returns any Successful Response
|
|
167
163
|
* @throws ApiError
|
|
168
164
|
*/
|
|
169
165
|
static recordGet(podId, tableName, recordId) {
|
|
@@ -182,12 +178,12 @@ export class RecordsService {
|
|
|
182
178
|
}
|
|
183
179
|
/**
|
|
184
180
|
* Update Record
|
|
185
|
-
* Patch a record by primary key.
|
|
181
|
+
* Patch a record by primary key. Returns the updated record object (no envelope).
|
|
186
182
|
* @param podId
|
|
187
183
|
* @param tableName
|
|
188
184
|
* @param recordId
|
|
189
185
|
* @param requestBody
|
|
190
|
-
* @returns
|
|
186
|
+
* @returns any Successful Response
|
|
191
187
|
* @throws ApiError
|
|
192
188
|
*/
|
|
193
189
|
static recordUpdate(podId, tableName, recordId, requestBody) {
|
|
@@ -13,12 +13,13 @@ export declare class SchedulesService {
|
|
|
13
13
|
* @param isActive
|
|
14
14
|
* @param agentName
|
|
15
15
|
* @param workflowName
|
|
16
|
+
* @param name
|
|
16
17
|
* @param limit
|
|
17
18
|
* @param pageToken
|
|
18
19
|
* @returns ScheduleListResponse Successful Response
|
|
19
20
|
* @throws ApiError
|
|
20
21
|
*/
|
|
21
|
-
static scheduleList(podId: string, scheduleType?: (ScheduleType | null), isActive?: (boolean | null), agentName?: (string | null), workflowName?: (string | null), limit?: number, pageToken?: (string | null)): CancelablePromise<ScheduleListResponse>;
|
|
22
|
+
static scheduleList(podId: string, scheduleType?: (ScheduleType | null), isActive?: (boolean | null), agentName?: (string | null), workflowName?: (string | null), name?: (string | null), limit?: number, pageToken?: (string | null)): CancelablePromise<ScheduleListResponse>;
|
|
22
23
|
/**
|
|
23
24
|
* Create Schedule
|
|
24
25
|
* Create a new pod schedule.
|
|
@@ -9,12 +9,13 @@ export class SchedulesService {
|
|
|
9
9
|
* @param isActive
|
|
10
10
|
* @param agentName
|
|
11
11
|
* @param workflowName
|
|
12
|
+
* @param name
|
|
12
13
|
* @param limit
|
|
13
14
|
* @param pageToken
|
|
14
15
|
* @returns ScheduleListResponse Successful Response
|
|
15
16
|
* @throws ApiError
|
|
16
17
|
*/
|
|
17
|
-
static scheduleList(podId, scheduleType, isActive, agentName, workflowName, limit = 100, pageToken) {
|
|
18
|
+
static scheduleList(podId, scheduleType, isActive, agentName, workflowName, name, limit = 100, pageToken) {
|
|
18
19
|
return __request(OpenAPI, {
|
|
19
20
|
method: 'GET',
|
|
20
21
|
url: '/pods/{pod_id}/schedules',
|
|
@@ -26,6 +27,7 @@ export class SchedulesService {
|
|
|
26
27
|
'is_active': isActive,
|
|
27
28
|
'agent_name': agentName,
|
|
28
29
|
'workflow_name': workflowName,
|
|
30
|
+
'name': name,
|
|
29
31
|
'limit': limit,
|
|
30
32
|
'page_token': pageToken,
|
|
31
33
|
},
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { AddColumnRequest } from '../models/AddColumnRequest.js';
|
|
2
2
|
import type { CreateTableRequest } from '../models/CreateTableRequest.js';
|
|
3
|
-
import type { DatastoreMessageResponse } from '../models/DatastoreMessageResponse.js';
|
|
4
3
|
import type { TableDetailResponse } from '../models/TableDetailResponse.js';
|
|
5
4
|
import type { TableListResponse } from '../models/TableListResponse.js';
|
|
6
5
|
import type { UpdateTableRequest } from '../models/UpdateTableRequest.js';
|
|
@@ -30,10 +29,10 @@ export declare class TablesService {
|
|
|
30
29
|
* Delete a table and all records in it.
|
|
31
30
|
* @param podId
|
|
32
31
|
* @param tableName
|
|
33
|
-
* @returns
|
|
32
|
+
* @returns void
|
|
34
33
|
* @throws ApiError
|
|
35
34
|
*/
|
|
36
|
-
static tableDelete(podId: string, tableName: string): CancelablePromise<
|
|
35
|
+
static tableDelete(podId: string, tableName: string): CancelablePromise<void>;
|
|
37
36
|
/**
|
|
38
37
|
* Get Table
|
|
39
38
|
* Get table schema metadata by table name.
|
|
@@ -69,8 +68,8 @@ export declare class TablesService {
|
|
|
69
68
|
* @param podId
|
|
70
69
|
* @param tableName
|
|
71
70
|
* @param columnName
|
|
72
|
-
* @returns
|
|
71
|
+
* @returns void
|
|
73
72
|
* @throws ApiError
|
|
74
73
|
*/
|
|
75
|
-
static tableColumnRemove(podId: string, tableName: string, columnName: string): CancelablePromise<
|
|
74
|
+
static tableColumnRemove(podId: string, tableName: string, columnName: string): CancelablePromise<void>;
|
|
76
75
|
}
|
|
@@ -53,7 +53,7 @@ export class TablesService {
|
|
|
53
53
|
* Delete a table and all records in it.
|
|
54
54
|
* @param podId
|
|
55
55
|
* @param tableName
|
|
56
|
-
* @returns
|
|
56
|
+
* @returns void
|
|
57
57
|
* @throws ApiError
|
|
58
58
|
*/
|
|
59
59
|
static tableDelete(podId, tableName) {
|
|
@@ -144,7 +144,7 @@ export class TablesService {
|
|
|
144
144
|
* @param podId
|
|
145
145
|
* @param tableName
|
|
146
146
|
* @param columnName
|
|
147
|
-
* @returns
|
|
147
|
+
* @returns void
|
|
148
148
|
* @throws ApiError
|
|
149
149
|
*/
|
|
150
150
|
static tableColumnRemove(podId, tableName, columnName) {
|