lemma-sdk 0.2.44 → 0.2.45
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 +25 -0
- package/dist/browser/lemma-client.js +264 -152
- 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 +13004 -0
- package/dist/hey_client/types.gen.js +2 -0
- package/dist/namespaces/files.d.ts +6 -24
- package/dist/namespaces/files.js +6 -16
- package/dist/namespaces/integrations.js +4 -4
- 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 +7 -7
- 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 +20 -37
- package/dist/openapi_client/index.js +3 -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/ApplicationSkillResponse.d.ts +6 -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 +4 -1
- package/dist/openapi_client/models/FlowRunStatus.js +4 -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/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/AgentSurfacesService.d.ts +39 -10
- package/dist/openapi_client/services/AgentSurfacesService.js +86 -20
- package/dist/openapi_client/services/ApplicationsService.d.ts +10 -0
- package/dist/openapi_client/services/ApplicationsService.js +23 -0
- 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 +21 -22
- package/dist/openapi_client/services/RecordsService.js +13 -13
- 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/useAddPodMember.js +1 -1
- package/dist/react/useAssistantController.d.ts +1 -0
- package/dist/react/useAssistantController.js +5 -1
- package/dist/react/useAssistantSession.d.ts +1 -0
- package/dist/react/useAssistantSession.js +41 -0
- package/dist/react/useBulkRecords.d.ts +5 -5
- package/dist/react/useBulkRecords.js +5 -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/useReverseRelatedRecords.js +1 -1
- 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 +3 -3
- 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/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/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 → ConnectedAccountSummary.js} +0 -0
- /package/dist/openapi_client/models/{CancelSubscriptionResponse.js → DatastoreCountResponse.js} +0 -0
- /package/dist/openapi_client/models/{CreateInvoicePaymentUrlRequest.js → InstalledAppSummary.js} +0 -0
- /package/dist/openapi_client/models/{CreateInvoicePaymentUrlResponse.js → IntegrationStatusResponse.js} +0 -0
- /package/dist/openapi_client/models/{DatastoreMessageResponse.js → StepRecordResponse.js} +0 -0
- /package/dist/openapi_client/models/{FlowRunEntity.js → SurfaceChannelRouteInput.js} +0 -0
- /package/dist/openapi_client/models/{GmailSurfaceConfig.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
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ApplicationDetailResponseSchema } from '../models/ApplicationDetailResponseSchema.js';
|
|
2
2
|
import type { ApplicationListResponseSchema } from '../models/ApplicationListResponseSchema.js';
|
|
3
|
+
import type { ApplicationSkillResponse } from '../models/ApplicationSkillResponse.js';
|
|
3
4
|
import type { AppTriggerListResponseSchema } from '../models/AppTriggerListResponseSchema.js';
|
|
4
5
|
import type { AppTriggerResponseSchema } from '../models/AppTriggerResponseSchema.js';
|
|
5
6
|
import type { OperationDetail } from '../models/OperationDetail.js';
|
|
@@ -46,6 +47,15 @@ export declare class ApplicationsService {
|
|
|
46
47
|
* @throws ApiError
|
|
47
48
|
*/
|
|
48
49
|
static applicationGet(applicationId: string): CancelablePromise<ApplicationDetailResponseSchema>;
|
|
50
|
+
/**
|
|
51
|
+
* Get Application Skill
|
|
52
|
+
* Get the skill guide markdown for an application. Pass `provider=lemma` or `provider=composio` to get provider-specific instructions when the app supports both. Falls back to the generic doc if no provider-specific file exists. Returns 404 if no skill doc has been generated yet.
|
|
53
|
+
* @param applicationId
|
|
54
|
+
* @param provider Provider override: lemma or composio
|
|
55
|
+
* @returns ApplicationSkillResponse Successful Response
|
|
56
|
+
* @throws ApiError
|
|
57
|
+
*/
|
|
58
|
+
static applicationSkillGet(applicationId: string, provider?: (string | null)): CancelablePromise<ApplicationSkillResponse>;
|
|
49
59
|
/**
|
|
50
60
|
* Discover Application Operations
|
|
51
61
|
* @param organizationId
|
|
@@ -85,6 +85,29 @@ export class ApplicationsService {
|
|
|
85
85
|
},
|
|
86
86
|
});
|
|
87
87
|
}
|
|
88
|
+
/**
|
|
89
|
+
* Get Application Skill
|
|
90
|
+
* Get the skill guide markdown for an application. Pass `provider=lemma` or `provider=composio` to get provider-specific instructions when the app supports both. Falls back to the generic doc if no provider-specific file exists. Returns 404 if no skill doc has been generated yet.
|
|
91
|
+
* @param applicationId
|
|
92
|
+
* @param provider Provider override: lemma or composio
|
|
93
|
+
* @returns ApplicationSkillResponse Successful Response
|
|
94
|
+
* @throws ApiError
|
|
95
|
+
*/
|
|
96
|
+
static applicationSkillGet(applicationId, provider) {
|
|
97
|
+
return __request(OpenAPI, {
|
|
98
|
+
method: 'GET',
|
|
99
|
+
url: '/integrations/applications/{application_id}/skill',
|
|
100
|
+
path: {
|
|
101
|
+
'application_id': applicationId,
|
|
102
|
+
},
|
|
103
|
+
query: {
|
|
104
|
+
'provider': provider,
|
|
105
|
+
},
|
|
106
|
+
errors: {
|
|
107
|
+
422: `Validation Error`,
|
|
108
|
+
},
|
|
109
|
+
});
|
|
110
|
+
}
|
|
88
111
|
/**
|
|
89
112
|
* Discover Application Operations
|
|
90
113
|
* @param organizationId
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { ConvertedFileResponse } from '../models/ConvertedFileResponse.js';
|
|
2
2
|
import type { CreateFolderRequest } from '../models/CreateFolderRequest.js';
|
|
3
3
|
import type { DatastoreFileUploadRequest } from '../models/DatastoreFileUploadRequest.js';
|
|
4
|
-
import type { DatastoreMessageResponse } from '../models/DatastoreMessageResponse.js';
|
|
5
4
|
import type { DirectoryTreeResponse } from '../models/DirectoryTreeResponse.js';
|
|
6
5
|
import type { FileDetailResponse } from '../models/FileDetailResponse.js';
|
|
7
6
|
import type { FileListResponse } from '../models/FileListResponse.js';
|
|
@@ -32,10 +31,10 @@ export declare class FilesService {
|
|
|
32
31
|
* Delete File Or Folder
|
|
33
32
|
* @param podId
|
|
34
33
|
* @param path
|
|
35
|
-
* @returns
|
|
34
|
+
* @returns void
|
|
36
35
|
* @throws ApiError
|
|
37
36
|
*/
|
|
38
|
-
static fileDelete(podId: string, path: string): CancelablePromise<
|
|
37
|
+
static fileDelete(podId: string, path: string): CancelablePromise<void>;
|
|
39
38
|
/**
|
|
40
39
|
* Get File
|
|
41
40
|
* @param podId
|
|
@@ -23,7 +23,7 @@ export declare class FunctionsService {
|
|
|
23
23
|
static functionList(podId: string, limit?: number, pageToken?: (string | null)): CancelablePromise<FunctionListResponse>;
|
|
24
24
|
/**
|
|
25
25
|
* Create Function
|
|
26
|
-
* Create a new function in a pod. Do not send input_schema or
|
|
26
|
+
* 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.
|
|
27
27
|
* @param podId
|
|
28
28
|
* @param requestBody
|
|
29
29
|
* @returns FunctionActionResponse Successful Response
|
|
@@ -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 {
|
|
@@ -26,73 +25,73 @@ export declare class RecordsService {
|
|
|
26
25
|
static recordList(podId: string, tableName: string, limit?: number, offset?: number, sortBy?: (string | null), order?: string, filter?: (Array<string> | null), sort?: (Array<string> | null), pageToken?: (string | null)): CancelablePromise<RecordListResponse>;
|
|
27
26
|
/**
|
|
28
27
|
* Create Record
|
|
29
|
-
* Insert a record into a table. Reserved tables (`reserved_*`) are system-managed and cannot be mutated through record write endpoints.
|
|
28
|
+
* 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
29
|
* @param podId
|
|
31
30
|
* @param tableName
|
|
32
31
|
* @param requestBody
|
|
33
|
-
* @returns
|
|
32
|
+
* @returns any Successful Response
|
|
34
33
|
* @throws ApiError
|
|
35
34
|
*/
|
|
36
|
-
static recordCreate(podId: string, tableName: string, requestBody: CreateRecordRequest): CancelablePromise<
|
|
35
|
+
static recordCreate(podId: string, tableName: string, requestBody: CreateRecordRequest): CancelablePromise<Record<string, any>>;
|
|
37
36
|
/**
|
|
38
37
|
* Bulk Create
|
|
39
|
-
* Insert multiple records in one request.
|
|
38
|
+
* Insert multiple records in one request. Returns the affected-row count.
|
|
40
39
|
* @param podId
|
|
41
40
|
* @param tableName
|
|
42
41
|
* @param requestBody
|
|
43
|
-
* @returns
|
|
42
|
+
* @returns DatastoreCountResponse Successful Response
|
|
44
43
|
* @throws ApiError
|
|
45
44
|
*/
|
|
46
|
-
static recordBulkCreate(podId: string, tableName: string, requestBody: BulkCreateRecordsRequest): CancelablePromise<
|
|
45
|
+
static recordBulkCreate(podId: string, tableName: string, requestBody: BulkCreateRecordsRequest): CancelablePromise<DatastoreCountResponse>;
|
|
47
46
|
/**
|
|
48
47
|
* Bulk Delete
|
|
49
|
-
* Delete multiple records by primary key values.
|
|
48
|
+
* Delete multiple records by primary key values. Returns the affected-row count.
|
|
50
49
|
* @param podId
|
|
51
50
|
* @param tableName
|
|
52
51
|
* @param requestBody
|
|
53
|
-
* @returns
|
|
52
|
+
* @returns DatastoreCountResponse Successful Response
|
|
54
53
|
* @throws ApiError
|
|
55
54
|
*/
|
|
56
|
-
static recordBulkDelete(podId: string, tableName: string, requestBody: BulkDeleteRecordsRequest): CancelablePromise<
|
|
55
|
+
static recordBulkDelete(podId: string, tableName: string, requestBody: BulkDeleteRecordsRequest): CancelablePromise<DatastoreCountResponse>;
|
|
57
56
|
/**
|
|
58
57
|
* Bulk Update
|
|
59
|
-
* Update multiple records in one request (each item needs primary key).
|
|
58
|
+
* Update multiple records in one request (each item needs primary key). Returns the affected-row count.
|
|
60
59
|
* @param podId
|
|
61
60
|
* @param tableName
|
|
62
61
|
* @param requestBody
|
|
63
|
-
* @returns
|
|
62
|
+
* @returns DatastoreCountResponse Successful Response
|
|
64
63
|
* @throws ApiError
|
|
65
64
|
*/
|
|
66
|
-
static recordBulkUpdate(podId: string, tableName: string, requestBody: BulkUpdateRecordsRequest): CancelablePromise<
|
|
65
|
+
static recordBulkUpdate(podId: string, tableName: string, requestBody: BulkUpdateRecordsRequest): CancelablePromise<DatastoreCountResponse>;
|
|
67
66
|
/**
|
|
68
67
|
* Delete Record
|
|
69
68
|
* Delete a record by primary key.
|
|
70
69
|
* @param podId
|
|
71
70
|
* @param tableName
|
|
72
71
|
* @param recordId
|
|
73
|
-
* @returns
|
|
72
|
+
* @returns void
|
|
74
73
|
* @throws ApiError
|
|
75
74
|
*/
|
|
76
|
-
static recordDelete(podId: string, tableName: string, recordId: string): CancelablePromise<
|
|
75
|
+
static recordDelete(podId: string, tableName: string, recordId: string): CancelablePromise<void>;
|
|
77
76
|
/**
|
|
78
77
|
* 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.
|
|
78
|
+
* 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
79
|
* @param podId
|
|
81
80
|
* @param tableName
|
|
82
81
|
* @param recordId
|
|
83
|
-
* @returns
|
|
82
|
+
* @returns any Successful Response
|
|
84
83
|
* @throws ApiError
|
|
85
84
|
*/
|
|
86
|
-
static recordGet(podId: string, tableName: string, recordId: string): CancelablePromise<
|
|
85
|
+
static recordGet(podId: string, tableName: string, recordId: string): CancelablePromise<Record<string, any>>;
|
|
87
86
|
/**
|
|
88
87
|
* Update Record
|
|
89
|
-
* Patch a record by primary key.
|
|
88
|
+
* Patch a record by primary key. Returns the updated record object (no envelope).
|
|
90
89
|
* @param podId
|
|
91
90
|
* @param tableName
|
|
92
91
|
* @param recordId
|
|
93
92
|
* @param requestBody
|
|
94
|
-
* @returns
|
|
93
|
+
* @returns any Successful Response
|
|
95
94
|
* @throws ApiError
|
|
96
95
|
*/
|
|
97
|
-
static recordUpdate(podId: string, tableName: string, recordId: string, requestBody: UpdateRecordRequest): CancelablePromise<
|
|
96
|
+
static recordUpdate(podId: string, tableName: string, recordId: string, requestBody: UpdateRecordRequest): CancelablePromise<Record<string, any>>;
|
|
98
97
|
}
|
|
@@ -40,11 +40,11 @@ export class RecordsService {
|
|
|
40
40
|
}
|
|
41
41
|
/**
|
|
42
42
|
* Create Record
|
|
43
|
-
* Insert a record into a table. Reserved tables (`reserved_*`) are system-managed and cannot be mutated through record write endpoints.
|
|
43
|
+
* 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
44
|
* @param podId
|
|
45
45
|
* @param tableName
|
|
46
46
|
* @param requestBody
|
|
47
|
-
* @returns
|
|
47
|
+
* @returns any Successful Response
|
|
48
48
|
* @throws ApiError
|
|
49
49
|
*/
|
|
50
50
|
static recordCreate(podId, tableName, requestBody) {
|
|
@@ -64,11 +64,11 @@ export class RecordsService {
|
|
|
64
64
|
}
|
|
65
65
|
/**
|
|
66
66
|
* Bulk Create
|
|
67
|
-
* Insert multiple records in one request.
|
|
67
|
+
* Insert multiple records in one request. Returns the affected-row count.
|
|
68
68
|
* @param podId
|
|
69
69
|
* @param tableName
|
|
70
70
|
* @param requestBody
|
|
71
|
-
* @returns
|
|
71
|
+
* @returns DatastoreCountResponse Successful Response
|
|
72
72
|
* @throws ApiError
|
|
73
73
|
*/
|
|
74
74
|
static recordBulkCreate(podId, tableName, requestBody) {
|
|
@@ -88,11 +88,11 @@ export class RecordsService {
|
|
|
88
88
|
}
|
|
89
89
|
/**
|
|
90
90
|
* Bulk Delete
|
|
91
|
-
* Delete multiple records by primary key values.
|
|
91
|
+
* Delete multiple records by primary key values. Returns the affected-row count.
|
|
92
92
|
* @param podId
|
|
93
93
|
* @param tableName
|
|
94
94
|
* @param requestBody
|
|
95
|
-
* @returns
|
|
95
|
+
* @returns DatastoreCountResponse Successful Response
|
|
96
96
|
* @throws ApiError
|
|
97
97
|
*/
|
|
98
98
|
static recordBulkDelete(podId, tableName, requestBody) {
|
|
@@ -112,11 +112,11 @@ export class RecordsService {
|
|
|
112
112
|
}
|
|
113
113
|
/**
|
|
114
114
|
* Bulk Update
|
|
115
|
-
* Update multiple records in one request (each item needs primary key).
|
|
115
|
+
* Update multiple records in one request (each item needs primary key). Returns the affected-row count.
|
|
116
116
|
* @param podId
|
|
117
117
|
* @param tableName
|
|
118
118
|
* @param requestBody
|
|
119
|
-
* @returns
|
|
119
|
+
* @returns DatastoreCountResponse Successful Response
|
|
120
120
|
* @throws ApiError
|
|
121
121
|
*/
|
|
122
122
|
static recordBulkUpdate(podId, tableName, requestBody) {
|
|
@@ -140,7 +140,7 @@ export class RecordsService {
|
|
|
140
140
|
* @param podId
|
|
141
141
|
* @param tableName
|
|
142
142
|
* @param recordId
|
|
143
|
-
* @returns
|
|
143
|
+
* @returns void
|
|
144
144
|
* @throws ApiError
|
|
145
145
|
*/
|
|
146
146
|
static recordDelete(podId, tableName, recordId) {
|
|
@@ -159,11 +159,11 @@ export class RecordsService {
|
|
|
159
159
|
}
|
|
160
160
|
/**
|
|
161
161
|
* 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.
|
|
162
|
+
* 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
163
|
* @param podId
|
|
164
164
|
* @param tableName
|
|
165
165
|
* @param recordId
|
|
166
|
-
* @returns
|
|
166
|
+
* @returns any Successful Response
|
|
167
167
|
* @throws ApiError
|
|
168
168
|
*/
|
|
169
169
|
static recordGet(podId, tableName, recordId) {
|
|
@@ -182,12 +182,12 @@ export class RecordsService {
|
|
|
182
182
|
}
|
|
183
183
|
/**
|
|
184
184
|
* Update Record
|
|
185
|
-
* Patch a record by primary key.
|
|
185
|
+
* Patch a record by primary key. Returns the updated record object (no envelope).
|
|
186
186
|
* @param podId
|
|
187
187
|
* @param tableName
|
|
188
188
|
* @param recordId
|
|
189
189
|
* @param requestBody
|
|
190
|
-
* @returns
|
|
190
|
+
* @returns any Successful Response
|
|
191
191
|
* @throws ApiError
|
|
192
192
|
*/
|
|
193
193
|
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) {
|