@alvera-ai/platform-sdk 0.2.4 → 0.2.5
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/dist/cli.js +347 -7
- package/dist/cli.js.map +1 -1
- package/dist/client.d.ts +187 -3
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +167 -6
- package/dist/client.js.map +1 -1
- package/dist/generated/client/client.gen.d.ts.map +1 -1
- package/dist/generated/client/client.gen.js +3 -3
- package/dist/generated/client/client.gen.js.map +1 -1
- package/dist/generated/client/types.gen.d.ts +1 -1
- package/dist/generated/client/utils.gen.js +1 -1
- package/dist/generated/client/utils.gen.js.map +1 -1
- package/dist/generated/core/pathSerializer.gen.d.ts +1 -1
- package/dist/generated/core/pathSerializer.gen.d.ts.map +1 -1
- package/dist/generated/core/serverSentEvents.gen.d.ts +1 -1
- package/dist/generated/core/serverSentEvents.gen.d.ts.map +1 -1
- package/dist/generated/core/serverSentEvents.gen.js +3 -4
- package/dist/generated/core/serverSentEvents.gen.js.map +1 -1
- package/dist/generated/core/types.gen.d.ts +1 -1
- package/dist/generated/core/utils.gen.js +1 -1
- package/dist/generated/core/utils.gen.js.map +1 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/index.js +1 -1
- package/dist/generated/index.js.map +1 -1
- package/dist/generated/sdk.gen.d.ts +334 -130
- package/dist/generated/sdk.gen.d.ts.map +1 -1
- package/dist/generated/sdk.gen.js +1065 -274
- package/dist/generated/sdk.gen.js.map +1 -1
- package/dist/generated/types.gen.d.ts +6317 -705
- package/dist/generated/types.gen.d.ts.map +1 -1
- package/dist/generated/valibot.gen.d.ts +26911 -8100
- package/dist/generated/valibot.gen.d.ts.map +1 -1
- package/dist/generated/valibot.gen.js +3810 -429
- package/dist/generated/valibot.gen.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,7 +1,287 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
import * as v from 'valibot';
|
|
3
3
|
import { client } from './client.gen.js';
|
|
4
|
-
import { vPlatformApiActionStatusUpdaterControllerCreateData, vPlatformApiActionStatusUpdaterControllerCreateResponse, vPlatformApiActionStatusUpdaterControllerIndexData, vPlatformApiActionStatusUpdaterControllerIndexResponse, vPlatformApiActionStatusUpdaterControllerUpdateData, vPlatformApiActionStatusUpdaterControllerUpdateResponse, vPlatformApiAiAgentControllerCreateData, vPlatformApiAiAgentControllerCreateResponse, vPlatformApiAiAgentControllerDeleteData, vPlatformApiAiAgentControllerDeleteResponse, vPlatformApiAiAgentControllerIndexData, vPlatformApiAiAgentControllerIndexResponse, vPlatformApiAiAgentControllerShowData, vPlatformApiAiAgentControllerShowResponse, vPlatformApiAiAgentControllerUpdateData, vPlatformApiAiAgentControllerUpdateResponse, vPlatformApiConnectedAppControllerResolvePageData, vPlatformApiConnectedAppControllerResolvePageResponse, vPlatformApiConnectedAppControllerUpdatePageData, vPlatformApiConnectedAppControllerUpdatePageResponse, vPlatformApiConnectedAppMgmtControllerCreateData, vPlatformApiConnectedAppMgmtControllerCreateResponse, vPlatformApiConnectedAppMgmtControllerIndexData, vPlatformApiConnectedAppMgmtControllerIndexResponse, vPlatformApiConnectedAppMgmtControllerShowData, vPlatformApiConnectedAppMgmtControllerShowResponse, vPlatformApiConnectedAppMgmtControllerSyncRoutesData, vPlatformApiConnectedAppMgmtControllerSyncRoutesResponse, vPlatformApiConnectedAppMgmtControllerUpdateData, vPlatformApiConnectedAppMgmtControllerUpdateResponse, vPlatformApiDataActivationClientControllerIngestData, vPlatformApiDataActivationClientControllerIngestFileData, vPlatformApiDataActivationClientControllerIngestFileResponse, vPlatformApiDataActivationClientControllerIngestResponse, vPlatformApiDatalakeControllerCreateData, vPlatformApiDatalakeControllerCreateResponse, vPlatformApiDatalakeControllerCreateUploadLinkData, vPlatformApiDatalakeControllerCreateUploadLinkResponse, vPlatformApiDatalakeControllerIndexData, vPlatformApiDatalakeControllerIndexResponse, vPlatformApiDatalakeControllerShowData, vPlatformApiDatalakeControllerShowResponse, vPlatformApiDatasetControllerSearchData, vPlatformApiDatasetControllerSearchResponse, vPlatformApiDataSourceControllerCreateData, vPlatformApiDataSourceControllerCreateResponse, vPlatformApiDataSourceControllerIndexData, vPlatformApiDataSourceControllerIndexResponse, vPlatformApiDataSourceControllerUpdateData, vPlatformApiDataSourceControllerUpdateResponse, vPlatformApiGenericTableControllerCreateData, vPlatformApiGenericTableControllerCreateResponse, vPlatformApiGenericTableControllerIndexData, vPlatformApiGenericTableControllerIndexResponse, vPlatformApiMdmControllerVerifyData, vPlatformApiMdmControllerVerifyResponse, vPlatformApiPingControllerPingData, vPlatformApiPingControllerPingResponse, vPlatformApiSessionControllerCreateData, vPlatformApiSessionControllerCreateResponse, vPlatformApiSessionControllerDeleteData, vPlatformApiSessionControllerVerifyData, vPlatformApiSessionControllerVerifyResponse, vPlatformApiTenantControllerIndexData, vPlatformApiTenantControllerIndexResponse, vPlatformApiToolControllerCreateData, vPlatformApiToolControllerCreateResponse, vPlatformApiToolControllerDeleteData, vPlatformApiToolControllerDeleteResponse, vPlatformApiToolControllerIndexData, vPlatformApiToolControllerIndexResponse, vPlatformApiToolControllerShowData, vPlatformApiToolControllerShowResponse, vPlatformApiToolControllerUpdateData, vPlatformApiToolControllerUpdateResponse, vPlatformApiWorkflowControllerExecuteData, vPlatformApiWorkflowControllerExecuteResponse } from './valibot.gen.js';
|
|
4
|
+
import { vPlatformApiActionStatusUpdaterControllerCreateBody, vPlatformApiActionStatusUpdaterControllerCreatePath, vPlatformApiActionStatusUpdaterControllerCreateQuery, vPlatformApiActionStatusUpdaterControllerCreateResponse, vPlatformApiActionStatusUpdaterControllerIndexPath, vPlatformApiActionStatusUpdaterControllerIndexQuery, vPlatformApiActionStatusUpdaterControllerIndexResponse, vPlatformApiActionStatusUpdaterControllerUpdateBody, vPlatformApiActionStatusUpdaterControllerUpdatePath, vPlatformApiActionStatusUpdaterControllerUpdateQuery, vPlatformApiActionStatusUpdaterControllerUpdateResponse, vPlatformApiAgenticWorkflowControllerCreateBody, vPlatformApiAgenticWorkflowControllerCreatePath, vPlatformApiAgenticWorkflowControllerCreateQuery, vPlatformApiAgenticWorkflowControllerCreateResponse, vPlatformApiAgenticWorkflowControllerDeletePath, vPlatformApiAgenticWorkflowControllerDeleteQuery, vPlatformApiAgenticWorkflowControllerDeleteResponse, vPlatformApiAgenticWorkflowControllerIndexPath, vPlatformApiAgenticWorkflowControllerIndexQuery, vPlatformApiAgenticWorkflowControllerIndexResponse, vPlatformApiAgenticWorkflowControllerMetadataPath, vPlatformApiAgenticWorkflowControllerMetadataQuery, vPlatformApiAgenticWorkflowControllerMetadataResponse, vPlatformApiAgenticWorkflowControllerShowPath, vPlatformApiAgenticWorkflowControllerShowQuery, vPlatformApiAgenticWorkflowControllerShowResponse, vPlatformApiAgenticWorkflowControllerUpdateBody, vPlatformApiAgenticWorkflowControllerUpdatePath, vPlatformApiAgenticWorkflowControllerUpdateQuery, vPlatformApiAgenticWorkflowControllerUpdateResponse, vPlatformApiAgenticWorkflowOperationsControllerBatchLogRefreshPath, vPlatformApiAgenticWorkflowOperationsControllerBatchLogRefreshResponse, vPlatformApiAgenticWorkflowOperationsControllerBatchLogShowPath, vPlatformApiAgenticWorkflowOperationsControllerBatchLogShowResponse, vPlatformApiAgenticWorkflowOperationsControllerBatchLogsIndexPath, vPlatformApiAgenticWorkflowOperationsControllerBatchLogsIndexQuery, vPlatformApiAgenticWorkflowOperationsControllerBatchLogsIndexResponse, vPlatformApiAgenticWorkflowOperationsControllerBatchLogStartPath, vPlatformApiAgenticWorkflowOperationsControllerBatchLogStartResponse, vPlatformApiAgenticWorkflowOperationsControllerBatchLogStopPath, vPlatformApiAgenticWorkflowOperationsControllerBatchLogStopResponse, vPlatformApiAgenticWorkflowOperationsControllerExecuteBody, vPlatformApiAgenticWorkflowOperationsControllerExecutePath, vPlatformApiAgenticWorkflowOperationsControllerExecuteResponse, vPlatformApiAgenticWorkflowOperationsControllerRunWorkflowBody, vPlatformApiAgenticWorkflowOperationsControllerRunWorkflowPath, vPlatformApiAgenticWorkflowOperationsControllerRunWorkflowResponse, vPlatformApiAgenticWorkflowOperationsControllerWorkflowLogDownloadPath, vPlatformApiAgenticWorkflowOperationsControllerWorkflowLogDownloadResponse, vPlatformApiAgenticWorkflowOperationsControllerWorkflowLogShowPath, vPlatformApiAgenticWorkflowOperationsControllerWorkflowLogShowResponse, vPlatformApiAgenticWorkflowOperationsControllerWorkflowLogsIndexPath, vPlatformApiAgenticWorkflowOperationsControllerWorkflowLogsIndexQuery, vPlatformApiAgenticWorkflowOperationsControllerWorkflowLogsIndexResponse, vPlatformApiAiAgentControllerCreateBody, vPlatformApiAiAgentControllerCreatePath, vPlatformApiAiAgentControllerCreateQuery, vPlatformApiAiAgentControllerCreateResponse, vPlatformApiAiAgentControllerDeletePath, vPlatformApiAiAgentControllerDeleteQuery, vPlatformApiAiAgentControllerDeleteResponse, vPlatformApiAiAgentControllerIndexPath, vPlatformApiAiAgentControllerIndexQuery, vPlatformApiAiAgentControllerIndexResponse, vPlatformApiAiAgentControllerShowPath, vPlatformApiAiAgentControllerShowQuery, vPlatformApiAiAgentControllerShowResponse, vPlatformApiAiAgentControllerUpdateBody, vPlatformApiAiAgentControllerUpdatePath, vPlatformApiAiAgentControllerUpdateQuery, vPlatformApiAiAgentControllerUpdateResponse, vPlatformApiConnectedAppControllerResolvePageBody, vPlatformApiConnectedAppControllerResolvePagePath, vPlatformApiConnectedAppControllerResolvePageResponse, vPlatformApiConnectedAppControllerUpdatePageBody, vPlatformApiConnectedAppControllerUpdatePagePath, vPlatformApiConnectedAppControllerUpdatePageResponse, vPlatformApiConnectedAppMgmtControllerCreateBody, vPlatformApiConnectedAppMgmtControllerCreatePath, vPlatformApiConnectedAppMgmtControllerCreateQuery, vPlatformApiConnectedAppMgmtControllerCreateResponse, vPlatformApiConnectedAppMgmtControllerIndexPath, vPlatformApiConnectedAppMgmtControllerIndexQuery, vPlatformApiConnectedAppMgmtControllerIndexResponse, vPlatformApiConnectedAppMgmtControllerShowPath, vPlatformApiConnectedAppMgmtControllerShowQuery, vPlatformApiConnectedAppMgmtControllerShowResponse, vPlatformApiConnectedAppMgmtControllerSyncRoutesPath, vPlatformApiConnectedAppMgmtControllerSyncRoutesQuery, vPlatformApiConnectedAppMgmtControllerSyncRoutesResponse, vPlatformApiConnectedAppMgmtControllerUpdateBody, vPlatformApiConnectedAppMgmtControllerUpdatePath, vPlatformApiConnectedAppMgmtControllerUpdateQuery, vPlatformApiConnectedAppMgmtControllerUpdateResponse, vPlatformApiDataActivationClientControllerCreateBody, vPlatformApiDataActivationClientControllerCreatePath, vPlatformApiDataActivationClientControllerCreateQuery, vPlatformApiDataActivationClientControllerCreateResponse, vPlatformApiDataActivationClientControllerDeletePath, vPlatformApiDataActivationClientControllerDeleteQuery, vPlatformApiDataActivationClientControllerDeleteResponse, vPlatformApiDataActivationClientControllerIndexPath, vPlatformApiDataActivationClientControllerIndexQuery, vPlatformApiDataActivationClientControllerIndexResponse, vPlatformApiDataActivationClientControllerIngestBody, vPlatformApiDataActivationClientControllerIngestFileBody, vPlatformApiDataActivationClientControllerIngestFilePath, vPlatformApiDataActivationClientControllerIngestFileQuery, vPlatformApiDataActivationClientControllerIngestFileResponse, vPlatformApiDataActivationClientControllerIngestPath, vPlatformApiDataActivationClientControllerIngestQuery, vPlatformApiDataActivationClientControllerIngestResponse, vPlatformApiDataActivationClientControllerLogDownloadPath, vPlatformApiDataActivationClientControllerLogDownloadQuery, vPlatformApiDataActivationClientControllerLogDownloadResponse, vPlatformApiDataActivationClientControllerLogShowPath, vPlatformApiDataActivationClientControllerLogShowQuery, vPlatformApiDataActivationClientControllerLogShowResponse, vPlatformApiDataActivationClientControllerLogsIndexPath, vPlatformApiDataActivationClientControllerLogsIndexQuery, vPlatformApiDataActivationClientControllerLogsIndexResponse, vPlatformApiDataActivationClientControllerMetadataPath, vPlatformApiDataActivationClientControllerMetadataQuery, vPlatformApiDataActivationClientControllerMetadataResponse, vPlatformApiDataActivationClientControllerRunManuallyBody, vPlatformApiDataActivationClientControllerRunManuallyPath, vPlatformApiDataActivationClientControllerRunManuallyQuery, vPlatformApiDataActivationClientControllerRunManuallyResponse, vPlatformApiDataActivationClientControllerShowPath, vPlatformApiDataActivationClientControllerShowQuery, vPlatformApiDataActivationClientControllerShowResponse, vPlatformApiDataActivationClientControllerUpdateBody, vPlatformApiDataActivationClientControllerUpdatePath, vPlatformApiDataActivationClientControllerUpdateQuery, vPlatformApiDataActivationClientControllerUpdateResponse, vPlatformApiDatalakeControllerCreateBody, vPlatformApiDatalakeControllerCreatePath, vPlatformApiDatalakeControllerCreateQuery, vPlatformApiDatalakeControllerCreateResponse, vPlatformApiDatalakeControllerCreateUploadLinkBody, vPlatformApiDatalakeControllerCreateUploadLinkPath, vPlatformApiDatalakeControllerCreateUploadLinkQuery, vPlatformApiDatalakeControllerCreateUploadLinkResponse, vPlatformApiDatalakeControllerIndexPath, vPlatformApiDatalakeControllerIndexQuery, vPlatformApiDatalakeControllerIndexResponse, vPlatformApiDatalakeControllerMetadataPath, vPlatformApiDatalakeControllerMetadataQuery, vPlatformApiDatalakeControllerMetadataResponse, vPlatformApiDatalakeControllerShowPath, vPlatformApiDatalakeControllerShowQuery, vPlatformApiDatalakeControllerShowResponse, vPlatformApiDatasetControllerDatasetMetadataPath, vPlatformApiDatasetControllerDatasetMetadataQuery, vPlatformApiDatasetControllerDatasetMetadataResponse, vPlatformApiDatasetControllerSearchPath, vPlatformApiDatasetControllerSearchQuery, vPlatformApiDatasetControllerSearchResponse, vPlatformApiDataSourceControllerCreateBody, vPlatformApiDataSourceControllerCreatePath, vPlatformApiDataSourceControllerCreateQuery, vPlatformApiDataSourceControllerCreateResponse, vPlatformApiDataSourceControllerIndexPath, vPlatformApiDataSourceControllerIndexQuery, vPlatformApiDataSourceControllerIndexResponse, vPlatformApiDataSourceControllerUpdateBody, vPlatformApiDataSourceControllerUpdatePath, vPlatformApiDataSourceControllerUpdateQuery, vPlatformApiDataSourceControllerUpdateResponse, vPlatformApiGenericTableControllerCreateBody, vPlatformApiGenericTableControllerCreatePath, vPlatformApiGenericTableControllerCreateQuery, vPlatformApiGenericTableControllerCreateResponse, vPlatformApiGenericTableControllerIndexPath, vPlatformApiGenericTableControllerIndexQuery, vPlatformApiGenericTableControllerIndexResponse, vPlatformApiInteroperabilityContractControllerCreateBody, vPlatformApiInteroperabilityContractControllerCreatePath, vPlatformApiInteroperabilityContractControllerCreateQuery, vPlatformApiInteroperabilityContractControllerCreateResponse, vPlatformApiInteroperabilityContractControllerDeletePath, vPlatformApiInteroperabilityContractControllerDeleteQuery, vPlatformApiInteroperabilityContractControllerDeleteResponse, vPlatformApiInteroperabilityContractControllerIndexPath, vPlatformApiInteroperabilityContractControllerIndexQuery, vPlatformApiInteroperabilityContractControllerIndexResponse, vPlatformApiInteroperabilityContractControllerMetadataPath, vPlatformApiInteroperabilityContractControllerMetadataQuery, vPlatformApiInteroperabilityContractControllerMetadataResponse, vPlatformApiInteroperabilityContractControllerRunBody, vPlatformApiInteroperabilityContractControllerRunPath, vPlatformApiInteroperabilityContractControllerRunQuery, vPlatformApiInteroperabilityContractControllerRunResponse, vPlatformApiInteroperabilityContractControllerShowPath, vPlatformApiInteroperabilityContractControllerShowQuery, vPlatformApiInteroperabilityContractControllerShowResponse, vPlatformApiInteroperabilityContractControllerUpdateBody, vPlatformApiInteroperabilityContractControllerUpdatePath, vPlatformApiInteroperabilityContractControllerUpdateQuery, vPlatformApiInteroperabilityContractControllerUpdateResponse, vPlatformApiMdmControllerVerifyBody, vPlatformApiMdmControllerVerifyPath, vPlatformApiMdmControllerVerifyResponse, vPlatformApiPingControllerPingResponse, vPlatformApiSessionControllerCreateBody, vPlatformApiSessionControllerCreateResponse, vPlatformApiSessionControllerVerifyResponse, vPlatformApiTenantControllerIndexQuery, vPlatformApiTenantControllerIndexResponse, vPlatformApiToolControllerCreateBody, vPlatformApiToolControllerCreatePath, vPlatformApiToolControllerCreateQuery, vPlatformApiToolControllerCreateResponse, vPlatformApiToolControllerDeletePath, vPlatformApiToolControllerDeleteQuery, vPlatformApiToolControllerDeleteResponse, vPlatformApiToolControllerIndexPath, vPlatformApiToolControllerIndexQuery, vPlatformApiToolControllerIndexResponse, vPlatformApiToolControllerShowPath, vPlatformApiToolControllerShowQuery, vPlatformApiToolControllerShowResponse, vPlatformApiToolControllerUpdateBody, vPlatformApiToolControllerUpdatePath, vPlatformApiToolControllerUpdateQuery, vPlatformApiToolControllerUpdateResponse } from './valibot.gen.js';
|
|
5
|
+
/**
|
|
6
|
+
* Resolve a short URL token to a page
|
|
7
|
+
*
|
|
8
|
+
* Given a connected app slug and a Puid short URL token, resolves the token to
|
|
9
|
+
* the pre-stored route path and MDM subject ID. The Cloudflare app calls this
|
|
10
|
+
* endpoint when a customer clicks a short URL, forwarding the original client
|
|
11
|
+
* headers (user-agent, IP, country) in the request body.
|
|
12
|
+
*
|
|
13
|
+
* When the page token is linked to a message (via workflow action execution),
|
|
14
|
+
* the regulated message details (raw body, channel, status) are included in
|
|
15
|
+
* the response.
|
|
16
|
+
*
|
|
17
|
+
* **Requires X-API-Key authentication.**
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export const platformApiConnectedAppControllerResolvePage = (options) => (options.client ?? client).post({
|
|
21
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
22
|
+
body: vPlatformApiConnectedAppControllerResolvePageBody,
|
|
23
|
+
path: vPlatformApiConnectedAppControllerResolvePagePath,
|
|
24
|
+
query: v.optional(v.never())
|
|
25
|
+
}), data),
|
|
26
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiConnectedAppControllerResolvePageResponse, data),
|
|
27
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
28
|
+
url: '/api/v1/tenants/{tenant_slug}/connected-apps/{slug}/resolve-page',
|
|
29
|
+
...options,
|
|
30
|
+
headers: {
|
|
31
|
+
'Content-Type': 'application/json',
|
|
32
|
+
...options.headers
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
/**
|
|
36
|
+
* Run a contract against a payload (sandbox)
|
|
37
|
+
*
|
|
38
|
+
* Runs the contract's `filter → transform → mdm_input` pipeline against the supplied JSON row. Stateless — no DB writes. Use for template authoring/testing.
|
|
39
|
+
*/
|
|
40
|
+
export const platformApiInteroperabilityContractControllerRun = (options) => (options.client ?? client).post({
|
|
41
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
42
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
43
|
+
body: vPlatformApiInteroperabilityContractControllerRunBody,
|
|
44
|
+
path: vPlatformApiInteroperabilityContractControllerRunPath,
|
|
45
|
+
query: v.optional(vPlatformApiInteroperabilityContractControllerRunQuery)
|
|
46
|
+
}), data),
|
|
47
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiInteroperabilityContractControllerRunResponse, data),
|
|
48
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
49
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/interoperability-contracts/{slug}/run',
|
|
50
|
+
...options,
|
|
51
|
+
headers: {
|
|
52
|
+
'Content-Type': 'application/json',
|
|
53
|
+
...options.headers
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
/**
|
|
57
|
+
* List action status updaters
|
|
58
|
+
*
|
|
59
|
+
* Returns a paginated list of action status updaters for the authenticated tenant.
|
|
60
|
+
*/
|
|
61
|
+
export const platformApiActionStatusUpdaterControllerIndex = (options) => (options.client ?? client).get({
|
|
62
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
63
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
64
|
+
body: v.optional(v.never()),
|
|
65
|
+
path: vPlatformApiActionStatusUpdaterControllerIndexPath,
|
|
66
|
+
query: v.optional(vPlatformApiActionStatusUpdaterControllerIndexQuery)
|
|
67
|
+
}), data),
|
|
68
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiActionStatusUpdaterControllerIndexResponse, data),
|
|
69
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
70
|
+
url: '/api/v1/tenants/{tenant_slug}/action-status-updaters',
|
|
71
|
+
...options
|
|
72
|
+
});
|
|
73
|
+
/**
|
|
74
|
+
* Create an action status updater
|
|
75
|
+
*
|
|
76
|
+
* Creates a new action status updater for the authenticated tenant.
|
|
77
|
+
*/
|
|
78
|
+
export const platformApiActionStatusUpdaterControllerCreate = (options) => (options.client ?? client).post({
|
|
79
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
80
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
81
|
+
body: v.optional(vPlatformApiActionStatusUpdaterControllerCreateBody),
|
|
82
|
+
path: vPlatformApiActionStatusUpdaterControllerCreatePath,
|
|
83
|
+
query: v.optional(vPlatformApiActionStatusUpdaterControllerCreateQuery)
|
|
84
|
+
}), data),
|
|
85
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiActionStatusUpdaterControllerCreateResponse, data),
|
|
86
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
87
|
+
url: '/api/v1/tenants/{tenant_slug}/action-status-updaters',
|
|
88
|
+
...options,
|
|
89
|
+
headers: {
|
|
90
|
+
'Content-Type': 'application/json',
|
|
91
|
+
...options.headers
|
|
92
|
+
}
|
|
93
|
+
});
|
|
94
|
+
/**
|
|
95
|
+
* List batch run logs
|
|
96
|
+
*
|
|
97
|
+
* Returns a paginated list of batch-level workflow run logs.
|
|
98
|
+
*/
|
|
99
|
+
export const platformApiAgenticWorkflowOperationsControllerBatchLogsIndex = (options) => (options.client ?? client).get({
|
|
100
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
101
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
102
|
+
body: v.optional(v.never()),
|
|
103
|
+
path: vPlatformApiAgenticWorkflowOperationsControllerBatchLogsIndexPath,
|
|
104
|
+
query: v.optional(vPlatformApiAgenticWorkflowOperationsControllerBatchLogsIndexQuery)
|
|
105
|
+
}), data),
|
|
106
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiAgenticWorkflowOperationsControllerBatchLogsIndexResponse, data),
|
|
107
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
108
|
+
url: '/api/v1/tenants/{tenant_slug}/agentic-workflows/{workflow_slug}/batch-logs',
|
|
109
|
+
...options
|
|
110
|
+
});
|
|
111
|
+
/**
|
|
112
|
+
* Search a dataset
|
|
113
|
+
*
|
|
114
|
+
* Search a dataset by type with Flop-based pagination and filtering. The dataset parameter is the dataset type atom (e.g. patient, member, appointment).
|
|
115
|
+
*/
|
|
116
|
+
export const platformApiDatasetControllerSearch = (options) => (options.client ?? client).get({
|
|
117
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
118
|
+
body: v.optional(v.never()),
|
|
119
|
+
path: vPlatformApiDatasetControllerSearchPath,
|
|
120
|
+
query: v.optional(vPlatformApiDatasetControllerSearchQuery)
|
|
121
|
+
}), data),
|
|
122
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiDatasetControllerSearchResponse, data),
|
|
123
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
124
|
+
url: '/api/v1/datasets/{dataset}/search',
|
|
125
|
+
...options
|
|
126
|
+
});
|
|
127
|
+
/**
|
|
128
|
+
* List workflow execution logs
|
|
129
|
+
*
|
|
130
|
+
* Returns a paginated list of per-event execution logs for a workflow.
|
|
131
|
+
*/
|
|
132
|
+
export const platformApiAgenticWorkflowOperationsControllerWorkflowLogsIndex = (options) => (options.client ?? client).get({
|
|
133
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
134
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
135
|
+
body: v.optional(v.never()),
|
|
136
|
+
path: vPlatformApiAgenticWorkflowOperationsControllerWorkflowLogsIndexPath,
|
|
137
|
+
query: v.optional(vPlatformApiAgenticWorkflowOperationsControllerWorkflowLogsIndexQuery)
|
|
138
|
+
}), data),
|
|
139
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiAgenticWorkflowOperationsControllerWorkflowLogsIndexResponse, data),
|
|
140
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
141
|
+
url: '/api/v1/tenants/{tenant_slug}/agentic-workflows/{workflow_slug}/workflow-logs',
|
|
142
|
+
...options
|
|
143
|
+
});
|
|
144
|
+
/**
|
|
145
|
+
* Get a presigned download URL for a DAC log's merged NDJSON output
|
|
146
|
+
*
|
|
147
|
+
* Resolves `output_files[0]` on the log row (the merged NDJSON URI written by `BatchMergeWorker`) to a short-lived presigned URL. Returns 422 if the log hasn't merged yet (no `output_files`), 404 if the id is unknown or belongs to another client.
|
|
148
|
+
*/
|
|
149
|
+
export const platformApiDataActivationClientControllerLogDownload = (options) => (options.client ?? client).get({
|
|
150
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
151
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
152
|
+
body: v.optional(v.never()),
|
|
153
|
+
path: vPlatformApiDataActivationClientControllerLogDownloadPath,
|
|
154
|
+
query: v.optional(vPlatformApiDataActivationClientControllerLogDownloadQuery)
|
|
155
|
+
}), data),
|
|
156
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiDataActivationClientControllerLogDownloadResponse, data),
|
|
157
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
158
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/data-activation-clients/{slug}/logs/{id}/download',
|
|
159
|
+
...options
|
|
160
|
+
});
|
|
161
|
+
/**
|
|
162
|
+
* Get a connected app
|
|
163
|
+
*
|
|
164
|
+
* Returns a single connected app by ID.
|
|
165
|
+
*/
|
|
166
|
+
export const platformApiConnectedAppMgmtControllerShow = (options) => (options.client ?? client).get({
|
|
167
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
168
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
169
|
+
body: v.optional(v.never()),
|
|
170
|
+
path: vPlatformApiConnectedAppMgmtControllerShowPath,
|
|
171
|
+
query: v.optional(vPlatformApiConnectedAppMgmtControllerShowQuery)
|
|
172
|
+
}), data),
|
|
173
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiConnectedAppMgmtControllerShowResponse, data),
|
|
174
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
175
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/connected-apps/{id}',
|
|
176
|
+
...options
|
|
177
|
+
});
|
|
178
|
+
/**
|
|
179
|
+
* Replace a connected app
|
|
180
|
+
*
|
|
181
|
+
* Replaces a connected app with the full resource body. PUT semantics — all required fields must be present.
|
|
182
|
+
*/
|
|
183
|
+
export const platformApiConnectedAppMgmtControllerUpdate = (options) => (options.client ?? client).put({
|
|
184
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
185
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
186
|
+
body: v.optional(vPlatformApiConnectedAppMgmtControllerUpdateBody),
|
|
187
|
+
path: vPlatformApiConnectedAppMgmtControllerUpdatePath,
|
|
188
|
+
query: v.optional(vPlatformApiConnectedAppMgmtControllerUpdateQuery)
|
|
189
|
+
}), data),
|
|
190
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiConnectedAppMgmtControllerUpdateResponse, data),
|
|
191
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
192
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/connected-apps/{id}',
|
|
193
|
+
...options,
|
|
194
|
+
headers: {
|
|
195
|
+
'Content-Type': 'application/json',
|
|
196
|
+
...options.headers
|
|
197
|
+
}
|
|
198
|
+
});
|
|
199
|
+
/**
|
|
200
|
+
* Verify subject identity
|
|
201
|
+
*
|
|
202
|
+
* Verify a subject's identity against their master record using fuzzy matching.
|
|
203
|
+
*
|
|
204
|
+
* Supports verification by:
|
|
205
|
+
* - **family_name** — Jaro distance >= 0.85
|
|
206
|
+
* - **given_name** — Jaro distance >= 0.80
|
|
207
|
+
* - **birth_date** — Fuzzy component matching >= 0.80
|
|
208
|
+
* - **identifiers** — Exact (system, value) match
|
|
209
|
+
*
|
|
210
|
+
* At least one verification field is required.
|
|
211
|
+
*
|
|
212
|
+
* **Requires X-API-Key authentication.**
|
|
213
|
+
*
|
|
214
|
+
*/
|
|
215
|
+
export const platformApiMdmControllerVerify = (options) => (options.client ?? client).post({
|
|
216
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
217
|
+
body: vPlatformApiMdmControllerVerifyBody,
|
|
218
|
+
path: vPlatformApiMdmControllerVerifyPath,
|
|
219
|
+
query: v.optional(v.never())
|
|
220
|
+
}), data),
|
|
221
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiMdmControllerVerifyResponse, data),
|
|
222
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
223
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/mdm/verify',
|
|
224
|
+
...options,
|
|
225
|
+
headers: {
|
|
226
|
+
'Content-Type': 'application/json',
|
|
227
|
+
...options.headers
|
|
228
|
+
}
|
|
229
|
+
});
|
|
230
|
+
/**
|
|
231
|
+
* List data activation clients
|
|
232
|
+
*
|
|
233
|
+
* Returns a paginated list of DACs for the datalake in the path.
|
|
234
|
+
*/
|
|
235
|
+
export const platformApiDataActivationClientControllerIndex = (options) => (options.client ?? client).get({
|
|
236
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
237
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
238
|
+
body: v.optional(v.never()),
|
|
239
|
+
path: vPlatformApiDataActivationClientControllerIndexPath,
|
|
240
|
+
query: v.optional(vPlatformApiDataActivationClientControllerIndexQuery)
|
|
241
|
+
}), data),
|
|
242
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiDataActivationClientControllerIndexResponse, data),
|
|
243
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
244
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/data-activation-clients',
|
|
245
|
+
...options
|
|
246
|
+
});
|
|
247
|
+
/**
|
|
248
|
+
* Create a data activation client
|
|
249
|
+
*
|
|
250
|
+
* Creates a new DAC. `slug` is auto-generated from `name`. `tool_call` is a polymorphic object whose shape depends on the `tool_call_type` discriminator — see `tool_call_type` enum for valid variants (RESTCall, SQLQueryCall, SFTPCall, SharePointExcelCall, AWSLambdaCall, ManualUploadCall, S3Call).
|
|
251
|
+
*/
|
|
252
|
+
export const platformApiDataActivationClientControllerCreate = (options) => (options.client ?? client).post({
|
|
253
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
254
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
255
|
+
body: v.optional(vPlatformApiDataActivationClientControllerCreateBody),
|
|
256
|
+
path: vPlatformApiDataActivationClientControllerCreatePath,
|
|
257
|
+
query: v.optional(vPlatformApiDataActivationClientControllerCreateQuery)
|
|
258
|
+
}), data),
|
|
259
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiDataActivationClientControllerCreateResponse, data),
|
|
260
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
261
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/data-activation-clients',
|
|
262
|
+
...options,
|
|
263
|
+
headers: {
|
|
264
|
+
'Content-Type': 'application/json',
|
|
265
|
+
...options.headers
|
|
266
|
+
}
|
|
267
|
+
});
|
|
268
|
+
/**
|
|
269
|
+
* Sync routes
|
|
270
|
+
*
|
|
271
|
+
* Enqueues a background job to fetch routes from the connected app's `/.well-known/routes.json` endpoint and update the stored routes.
|
|
272
|
+
*/
|
|
273
|
+
export const platformApiConnectedAppMgmtControllerSyncRoutes = (options) => (options.client ?? client).post({
|
|
274
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
275
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
276
|
+
body: v.optional(v.never()),
|
|
277
|
+
path: vPlatformApiConnectedAppMgmtControllerSyncRoutesPath,
|
|
278
|
+
query: v.optional(vPlatformApiConnectedAppMgmtControllerSyncRoutesQuery)
|
|
279
|
+
}), data),
|
|
280
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiConnectedAppMgmtControllerSyncRoutesResponse, data),
|
|
281
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
282
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/connected-apps/{id}/sync-routes',
|
|
283
|
+
...options
|
|
284
|
+
});
|
|
5
285
|
/**
|
|
6
286
|
* Health check
|
|
7
287
|
*
|
|
@@ -14,21 +294,214 @@ import { vPlatformApiActionStatusUpdaterControllerCreateData, vPlatformApiAction
|
|
|
14
294
|
*
|
|
15
295
|
*/
|
|
16
296
|
export const platformApiPingControllerPing = (options) => (options?.client ?? client).get({
|
|
17
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
297
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
298
|
+
body: v.optional(v.never()),
|
|
299
|
+
path: v.optional(v.never()),
|
|
300
|
+
query: v.optional(v.never())
|
|
301
|
+
}), data),
|
|
18
302
|
responseValidator: async (data) => await v.parseAsync(vPlatformApiPingControllerPingResponse, data),
|
|
19
303
|
url: '/api/ping',
|
|
20
304
|
...options
|
|
21
305
|
});
|
|
22
306
|
/**
|
|
23
|
-
*
|
|
307
|
+
* Get workflow metadata
|
|
24
308
|
*
|
|
25
|
-
*
|
|
309
|
+
* Returns a markdown document describing the workflow's variable pipeline — available variables at each node (event dataset, MDM, context datasets, enrichment, filter, decision, actions).
|
|
26
310
|
*/
|
|
27
|
-
export const
|
|
28
|
-
|
|
29
|
-
|
|
311
|
+
export const platformApiAgenticWorkflowControllerMetadata = (options) => (options.client ?? client).get({
|
|
312
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
313
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
314
|
+
body: v.optional(v.never()),
|
|
315
|
+
path: vPlatformApiAgenticWorkflowControllerMetadataPath,
|
|
316
|
+
query: v.optional(vPlatformApiAgenticWorkflowControllerMetadataQuery)
|
|
317
|
+
}), data),
|
|
318
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiAgenticWorkflowControllerMetadataResponse, data),
|
|
30
319
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
31
|
-
url: '/api/v1/
|
|
320
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/agentic-workflows/{id}/metadata',
|
|
321
|
+
...options
|
|
322
|
+
});
|
|
323
|
+
/**
|
|
324
|
+
* Delete a tool
|
|
325
|
+
*
|
|
326
|
+
* Deletes a tool. Returns 409 if the tool is referenced by another resource.
|
|
327
|
+
*/
|
|
328
|
+
export const platformApiToolControllerDelete = (options) => (options.client ?? client).delete({
|
|
329
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
330
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
331
|
+
body: v.optional(v.never()),
|
|
332
|
+
path: vPlatformApiToolControllerDeletePath,
|
|
333
|
+
query: v.optional(vPlatformApiToolControllerDeleteQuery)
|
|
334
|
+
}), data),
|
|
335
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiToolControllerDeleteResponse, data),
|
|
336
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
337
|
+
url: '/api/v1/tenants/{tenant_slug}/tools/{id}',
|
|
338
|
+
...options
|
|
339
|
+
});
|
|
340
|
+
/**
|
|
341
|
+
* Get a tool
|
|
342
|
+
*
|
|
343
|
+
* Returns a single tool by ID.
|
|
344
|
+
*/
|
|
345
|
+
export const platformApiToolControllerShow = (options) => (options.client ?? client).get({
|
|
346
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
347
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
348
|
+
body: v.optional(v.never()),
|
|
349
|
+
path: vPlatformApiToolControllerShowPath,
|
|
350
|
+
query: v.optional(vPlatformApiToolControllerShowQuery)
|
|
351
|
+
}), data),
|
|
352
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiToolControllerShowResponse, data),
|
|
353
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
354
|
+
url: '/api/v1/tenants/{tenant_slug}/tools/{id}',
|
|
355
|
+
...options
|
|
356
|
+
});
|
|
357
|
+
/**
|
|
358
|
+
* Replace a tool
|
|
359
|
+
*
|
|
360
|
+
* Replaces a tool with the full resource body. PUT semantics — all required fields must be present.
|
|
361
|
+
*/
|
|
362
|
+
export const platformApiToolControllerUpdate = (options) => (options.client ?? client).put({
|
|
363
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
364
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
365
|
+
body: v.optional(vPlatformApiToolControllerUpdateBody),
|
|
366
|
+
path: vPlatformApiToolControllerUpdatePath,
|
|
367
|
+
query: v.optional(vPlatformApiToolControllerUpdateQuery)
|
|
368
|
+
}), data),
|
|
369
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiToolControllerUpdateResponse, data),
|
|
370
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
371
|
+
url: '/api/v1/tenants/{tenant_slug}/tools/{id}',
|
|
372
|
+
...options,
|
|
373
|
+
headers: {
|
|
374
|
+
'Content-Type': 'application/json',
|
|
375
|
+
...options.headers
|
|
376
|
+
}
|
|
377
|
+
});
|
|
378
|
+
/**
|
|
379
|
+
* List processing logs for a Data Activation Client
|
|
380
|
+
*
|
|
381
|
+
* Returns a Flop-paginated list of `DataActivationLog` rows for this DAC. One log per `(batch_id, dataset_table)` — a single run produces multiple log rows, one per dataset table the DAC writes into. Filter or group client-side on `batch_id` to reconstruct a batch-level view.
|
|
382
|
+
*/
|
|
383
|
+
export const platformApiDataActivationClientControllerLogsIndex = (options) => (options.client ?? client).get({
|
|
384
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
385
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
386
|
+
body: v.optional(v.never()),
|
|
387
|
+
path: vPlatformApiDataActivationClientControllerLogsIndexPath,
|
|
388
|
+
query: v.optional(vPlatformApiDataActivationClientControllerLogsIndexQuery)
|
|
389
|
+
}), data),
|
|
390
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiDataActivationClientControllerLogsIndexResponse, data),
|
|
391
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
392
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/data-activation-clients/{slug}/logs',
|
|
393
|
+
...options
|
|
394
|
+
});
|
|
395
|
+
/**
|
|
396
|
+
* Stop refresh polling for a batch run log
|
|
397
|
+
*
|
|
398
|
+
* Deletes the DynamicCron job that polls this batch. The batch log is NOT deleted.
|
|
399
|
+
*/
|
|
400
|
+
export const platformApiAgenticWorkflowOperationsControllerBatchLogStop = (options) => (options.client ?? client).post({
|
|
401
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
402
|
+
body: v.optional(v.never()),
|
|
403
|
+
path: vPlatformApiAgenticWorkflowOperationsControllerBatchLogStopPath,
|
|
404
|
+
query: v.optional(v.never())
|
|
405
|
+
}), data),
|
|
406
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiAgenticWorkflowOperationsControllerBatchLogStopResponse, data),
|
|
407
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
408
|
+
url: '/api/v1/tenants/{tenant_slug}/agentic-workflows/{workflow_slug}/batch-logs/{id}/stop',
|
|
409
|
+
...options
|
|
410
|
+
});
|
|
411
|
+
/**
|
|
412
|
+
* Get DAC dataset metadata
|
|
413
|
+
*
|
|
414
|
+
* Returns a markdown document describing the fields of each dataset connected to this data activation client via its interoperability contracts.
|
|
415
|
+
*/
|
|
416
|
+
export const platformApiDataActivationClientControllerMetadata = (options) => (options.client ?? client).get({
|
|
417
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
418
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
419
|
+
body: v.optional(v.never()),
|
|
420
|
+
path: vPlatformApiDataActivationClientControllerMetadataPath,
|
|
421
|
+
query: v.optional(vPlatformApiDataActivationClientControllerMetadataQuery)
|
|
422
|
+
}), data),
|
|
423
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiDataActivationClientControllerMetadataResponse, data),
|
|
424
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
425
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/data-activation-clients/{slug}/metadata',
|
|
426
|
+
...options
|
|
427
|
+
});
|
|
428
|
+
/**
|
|
429
|
+
* List agentic workflows
|
|
430
|
+
*
|
|
431
|
+
* Returns a paginated list of workflows for a datalake.
|
|
432
|
+
*/
|
|
433
|
+
export const platformApiAgenticWorkflowControllerIndex = (options) => (options.client ?? client).get({
|
|
434
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
435
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
436
|
+
body: v.optional(v.never()),
|
|
437
|
+
path: vPlatformApiAgenticWorkflowControllerIndexPath,
|
|
438
|
+
query: v.optional(vPlatformApiAgenticWorkflowControllerIndexQuery)
|
|
439
|
+
}), data),
|
|
440
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiAgenticWorkflowControllerIndexResponse, data),
|
|
441
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
442
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/agentic-workflows',
|
|
443
|
+
...options
|
|
444
|
+
});
|
|
445
|
+
/**
|
|
446
|
+
* Create an agentic workflow
|
|
447
|
+
*
|
|
448
|
+
* Creates a new workflow. Attach AI agents via the `ai_agents` array.
|
|
449
|
+
*/
|
|
450
|
+
export const platformApiAgenticWorkflowControllerCreate = (options) => (options.client ?? client).post({
|
|
451
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
452
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
453
|
+
body: v.optional(vPlatformApiAgenticWorkflowControllerCreateBody),
|
|
454
|
+
path: vPlatformApiAgenticWorkflowControllerCreatePath,
|
|
455
|
+
query: v.optional(vPlatformApiAgenticWorkflowControllerCreateQuery)
|
|
456
|
+
}), data),
|
|
457
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiAgenticWorkflowControllerCreateResponse, data),
|
|
458
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
459
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/agentic-workflows',
|
|
460
|
+
...options,
|
|
461
|
+
headers: {
|
|
462
|
+
'Content-Type': 'application/json',
|
|
463
|
+
...options.headers
|
|
464
|
+
}
|
|
465
|
+
});
|
|
466
|
+
/**
|
|
467
|
+
* Update message tracking fields for a page
|
|
468
|
+
*
|
|
469
|
+
* Updates tracking timestamps (opened_at, form_submitted_at) on the message
|
|
470
|
+
* linked to a page token. Called by the connected app when a user opens a page
|
|
471
|
+
* or submits a form.
|
|
472
|
+
*
|
|
473
|
+
* **Requires X-API-Key authentication.**
|
|
474
|
+
*
|
|
475
|
+
*/
|
|
476
|
+
export const platformApiConnectedAppControllerUpdatePage = (options) => (options.client ?? client).put({
|
|
477
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
478
|
+
body: vPlatformApiConnectedAppControllerUpdatePageBody,
|
|
479
|
+
path: vPlatformApiConnectedAppControllerUpdatePagePath,
|
|
480
|
+
query: v.optional(v.never())
|
|
481
|
+
}), data),
|
|
482
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiConnectedAppControllerUpdatePageResponse, data),
|
|
483
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
484
|
+
url: '/api/v1/tenants/{tenant_slug}/connected-apps/{slug}/update-message-tracking',
|
|
485
|
+
...options,
|
|
486
|
+
headers: {
|
|
487
|
+
'Content-Type': 'application/json',
|
|
488
|
+
...options.headers
|
|
489
|
+
}
|
|
490
|
+
});
|
|
491
|
+
/**
|
|
492
|
+
* Start or restart refresh polling for a batch run log
|
|
493
|
+
*
|
|
494
|
+
* Creates a DynamicCron job to poll this batch. Idempotent — if cron already exists, it's a no-op.
|
|
495
|
+
*/
|
|
496
|
+
export const platformApiAgenticWorkflowOperationsControllerBatchLogStart = (options) => (options.client ?? client).post({
|
|
497
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
498
|
+
body: v.optional(v.never()),
|
|
499
|
+
path: vPlatformApiAgenticWorkflowOperationsControllerBatchLogStartPath,
|
|
500
|
+
query: v.optional(v.never())
|
|
501
|
+
}), data),
|
|
502
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiAgenticWorkflowOperationsControllerBatchLogStartResponse, data),
|
|
503
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
504
|
+
url: '/api/v1/tenants/{tenant_slug}/agentic-workflows/{workflow_slug}/batch-logs/{id}/start',
|
|
32
505
|
...options
|
|
33
506
|
});
|
|
34
507
|
/**
|
|
@@ -43,7 +516,11 @@ export const platformApiDatasetControllerSearch = (options) => (options.client ?
|
|
|
43
516
|
*
|
|
44
517
|
*/
|
|
45
518
|
export const platformApiSessionControllerDelete = (options) => (options?.client ?? client).delete({
|
|
46
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
519
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
520
|
+
body: v.optional(v.never()),
|
|
521
|
+
path: v.optional(v.never()),
|
|
522
|
+
query: v.optional(v.never())
|
|
523
|
+
}), data),
|
|
47
524
|
security: [{ scheme: 'bearer', type: 'http' }],
|
|
48
525
|
url: '/api/v1/sessions',
|
|
49
526
|
...options
|
|
@@ -67,7 +544,11 @@ export const platformApiSessionControllerDelete = (options) => (options?.client
|
|
|
67
544
|
*
|
|
68
545
|
*/
|
|
69
546
|
export const platformApiSessionControllerCreate = (options) => (options.client ?? client).post({
|
|
70
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
547
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
548
|
+
body: vPlatformApiSessionControllerCreateBody,
|
|
549
|
+
path: v.optional(v.never()),
|
|
550
|
+
query: v.optional(v.never())
|
|
551
|
+
}), data),
|
|
71
552
|
responseValidator: async (data) => await v.parseAsync(vPlatformApiSessionControllerCreateResponse, data),
|
|
72
553
|
url: '/api/v1/sessions',
|
|
73
554
|
...options,
|
|
@@ -77,65 +558,92 @@ export const platformApiSessionControllerCreate = (options) => (options.client ?
|
|
|
77
558
|
}
|
|
78
559
|
});
|
|
79
560
|
/**
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
* Returns the current session's tenant, role, and identity information.
|
|
83
|
-
*
|
|
84
|
-
* Works with both authentication methods:
|
|
85
|
-
* - `X-API-Key` header (M2M)
|
|
86
|
-
* - `Authorization: Bearer <session_token>` (human sessions)
|
|
87
|
-
*
|
|
88
|
-
* Use this as a "who am I" endpoint to confirm credentials are valid and
|
|
89
|
-
* inspect the resolved tenant, role, and identity.
|
|
90
|
-
*
|
|
91
|
-
* **Requires authentication** (X-API-Key or Bearer token).
|
|
561
|
+
* List connected apps
|
|
92
562
|
*
|
|
563
|
+
* Returns a paginated list of connected apps for the authenticated tenant.
|
|
93
564
|
*/
|
|
94
|
-
export const
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
565
|
+
export const platformApiConnectedAppMgmtControllerIndex = (options) => (options.client ?? client).get({
|
|
566
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
567
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
568
|
+
body: v.optional(v.never()),
|
|
569
|
+
path: vPlatformApiConnectedAppMgmtControllerIndexPath,
|
|
570
|
+
query: v.optional(vPlatformApiConnectedAppMgmtControllerIndexQuery)
|
|
571
|
+
}), data),
|
|
572
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiConnectedAppMgmtControllerIndexResponse, data),
|
|
573
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
574
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/connected-apps',
|
|
99
575
|
...options
|
|
100
576
|
});
|
|
101
577
|
/**
|
|
102
|
-
*
|
|
103
|
-
*
|
|
104
|
-
* Returns a paginated list of tenants accessible to the authenticated identity.
|
|
578
|
+
* Create a connected app
|
|
105
579
|
*
|
|
106
|
-
*
|
|
107
|
-
|
|
580
|
+
* Creates a new connected app with automatic API key provisioning.
|
|
581
|
+
*/
|
|
582
|
+
export const platformApiConnectedAppMgmtControllerCreate = (options) => (options.client ?? client).post({
|
|
583
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
584
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
585
|
+
body: v.optional(vPlatformApiConnectedAppMgmtControllerCreateBody),
|
|
586
|
+
path: vPlatformApiConnectedAppMgmtControllerCreatePath,
|
|
587
|
+
query: v.optional(vPlatformApiConnectedAppMgmtControllerCreateQuery)
|
|
588
|
+
}), data),
|
|
589
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiConnectedAppMgmtControllerCreateResponse, data),
|
|
590
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
591
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/connected-apps',
|
|
592
|
+
...options,
|
|
593
|
+
headers: {
|
|
594
|
+
'Content-Type': 'application/json',
|
|
595
|
+
...options.headers
|
|
596
|
+
}
|
|
597
|
+
});
|
|
598
|
+
/**
|
|
599
|
+
* Delete an AI agent
|
|
108
600
|
*
|
|
601
|
+
* Deletes an AI agent. Returns 409 if the agent is attached to a workflow.
|
|
109
602
|
*/
|
|
110
|
-
export const
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
603
|
+
export const platformApiAiAgentControllerDelete = (options) => (options.client ?? client).delete({
|
|
604
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
605
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
606
|
+
body: v.optional(v.never()),
|
|
607
|
+
path: vPlatformApiAiAgentControllerDeletePath,
|
|
608
|
+
query: v.optional(vPlatformApiAiAgentControllerDeleteQuery)
|
|
609
|
+
}), data),
|
|
610
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiAiAgentControllerDeleteResponse, data),
|
|
611
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
612
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/ai-agents/{id}',
|
|
115
613
|
...options
|
|
116
614
|
});
|
|
117
615
|
/**
|
|
118
|
-
*
|
|
616
|
+
* Get an AI agent
|
|
119
617
|
*
|
|
120
|
-
* Returns a
|
|
618
|
+
* Returns a single AI agent by ID.
|
|
121
619
|
*/
|
|
122
|
-
export const
|
|
123
|
-
|
|
124
|
-
|
|
620
|
+
export const platformApiAiAgentControllerShow = (options) => (options.client ?? client).get({
|
|
621
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
622
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
623
|
+
body: v.optional(v.never()),
|
|
624
|
+
path: vPlatformApiAiAgentControllerShowPath,
|
|
625
|
+
query: v.optional(vPlatformApiAiAgentControllerShowQuery)
|
|
626
|
+
}), data),
|
|
627
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiAiAgentControllerShowResponse, data),
|
|
125
628
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
126
|
-
url: '/api/v1/tenants/{tenant_slug}/
|
|
629
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/ai-agents/{id}',
|
|
127
630
|
...options
|
|
128
631
|
});
|
|
129
632
|
/**
|
|
130
|
-
*
|
|
633
|
+
* Replace an AI agent
|
|
131
634
|
*
|
|
132
|
-
*
|
|
635
|
+
* Replaces an AI agent with the full resource body. PUT semantics — all required fields must be present.
|
|
133
636
|
*/
|
|
134
|
-
export const
|
|
135
|
-
|
|
136
|
-
|
|
637
|
+
export const platformApiAiAgentControllerUpdate = (options) => (options.client ?? client).put({
|
|
638
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
639
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
640
|
+
body: v.optional(vPlatformApiAiAgentControllerUpdateBody),
|
|
641
|
+
path: vPlatformApiAiAgentControllerUpdatePath,
|
|
642
|
+
query: v.optional(vPlatformApiAiAgentControllerUpdateQuery)
|
|
643
|
+
}), data),
|
|
644
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiAiAgentControllerUpdateResponse, data),
|
|
137
645
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
138
|
-
url: '/api/v1/tenants/{tenant_slug}/
|
|
646
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/ai-agents/{id}',
|
|
139
647
|
...options,
|
|
140
648
|
headers: {
|
|
141
649
|
'Content-Type': 'application/json',
|
|
@@ -143,15 +651,20 @@ export const platformApiActionStatusUpdaterControllerCreate = (options) => (opti
|
|
|
143
651
|
}
|
|
144
652
|
});
|
|
145
653
|
/**
|
|
146
|
-
*
|
|
654
|
+
* Trigger a manual run of a Data Activation Client
|
|
147
655
|
*
|
|
148
|
-
*
|
|
656
|
+
* Enqueues a one-off fetch/ingest pipeline run. Empty body or omitted `tool_call` runs with the DAC's persisted `tool_call`. Supplying a `tool_call` map applies a one-shot polymorphic override for this run only — the persisted DAC record is not modified.
|
|
149
657
|
*/
|
|
150
|
-
export const
|
|
151
|
-
|
|
152
|
-
|
|
658
|
+
export const platformApiDataActivationClientControllerRunManually = (options) => (options.client ?? client).post({
|
|
659
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
660
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
661
|
+
body: v.optional(vPlatformApiDataActivationClientControllerRunManuallyBody),
|
|
662
|
+
path: vPlatformApiDataActivationClientControllerRunManuallyPath,
|
|
663
|
+
query: v.optional(vPlatformApiDataActivationClientControllerRunManuallyQuery)
|
|
664
|
+
}), data),
|
|
665
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiDataActivationClientControllerRunManuallyResponse, data),
|
|
153
666
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
154
|
-
url: '/api/v1/tenants/{tenant_slug}/
|
|
667
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/data-activation-clients/{slug}/run-manually',
|
|
155
668
|
...options,
|
|
156
669
|
headers: {
|
|
157
670
|
'Content-Type': 'application/json',
|
|
@@ -159,15 +672,37 @@ export const platformApiActionStatusUpdaterControllerUpdate = (options) => (opti
|
|
|
159
672
|
}
|
|
160
673
|
});
|
|
161
674
|
/**
|
|
162
|
-
*
|
|
675
|
+
* List data sources
|
|
163
676
|
*
|
|
164
|
-
*
|
|
677
|
+
* Returns a paginated list of data sources for the authenticated tenant.
|
|
165
678
|
*/
|
|
166
|
-
export const
|
|
167
|
-
|
|
168
|
-
|
|
679
|
+
export const platformApiDataSourceControllerIndex = (options) => (options.client ?? client).get({
|
|
680
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
681
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
682
|
+
body: v.optional(v.never()),
|
|
683
|
+
path: vPlatformApiDataSourceControllerIndexPath,
|
|
684
|
+
query: v.optional(vPlatformApiDataSourceControllerIndexQuery)
|
|
685
|
+
}), data),
|
|
686
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiDataSourceControllerIndexResponse, data),
|
|
169
687
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
170
|
-
url: '/api/v1/tenants/{tenant_slug}/
|
|
688
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/data-sources',
|
|
689
|
+
...options
|
|
690
|
+
});
|
|
691
|
+
/**
|
|
692
|
+
* Create a data source
|
|
693
|
+
*
|
|
694
|
+
* Creates a new data source for the authenticated tenant.
|
|
695
|
+
*/
|
|
696
|
+
export const platformApiDataSourceControllerCreate = (options) => (options.client ?? client).post({
|
|
697
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
698
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
699
|
+
body: v.optional(vPlatformApiDataSourceControllerCreateBody),
|
|
700
|
+
path: vPlatformApiDataSourceControllerCreatePath,
|
|
701
|
+
query: v.optional(vPlatformApiDataSourceControllerCreateQuery)
|
|
702
|
+
}), data),
|
|
703
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiDataSourceControllerCreateResponse, data),
|
|
704
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
705
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/data-sources',
|
|
171
706
|
...options,
|
|
172
707
|
headers: {
|
|
173
708
|
'Content-Type': 'application/json',
|
|
@@ -175,25 +710,91 @@ export const platformApiWorkflowControllerExecute = (options) => (options.client
|
|
|
175
710
|
}
|
|
176
711
|
});
|
|
177
712
|
/**
|
|
178
|
-
*
|
|
713
|
+
* Ingest previously uploaded file
|
|
179
714
|
*
|
|
180
|
-
*
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
715
|
+
* Ingests a file that was uploaded via a presigned URL obtained from the datalake upload-link endpoint. The key must belong to this client's datalake prefix (`uploads/<datalake_id>/...`).
|
|
716
|
+
*/
|
|
717
|
+
export const platformApiDataActivationClientControllerIngestFile = (options) => (options.client ?? client).post({
|
|
718
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
719
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
720
|
+
body: vPlatformApiDataActivationClientControllerIngestFileBody,
|
|
721
|
+
path: vPlatformApiDataActivationClientControllerIngestFilePath,
|
|
722
|
+
query: v.optional(vPlatformApiDataActivationClientControllerIngestFileQuery)
|
|
723
|
+
}), data),
|
|
724
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiDataActivationClientControllerIngestFileResponse, data),
|
|
725
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
726
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/data-activation-clients/{slug}/ingest-file',
|
|
727
|
+
...options,
|
|
728
|
+
headers: {
|
|
729
|
+
'Content-Type': 'application/json',
|
|
730
|
+
...options.headers
|
|
731
|
+
}
|
|
732
|
+
});
|
|
733
|
+
/**
|
|
734
|
+
* Get a workflow execution log
|
|
184
735
|
*
|
|
185
|
-
*
|
|
186
|
-
|
|
187
|
-
|
|
736
|
+
* Returns a single execution log with action execution details.
|
|
737
|
+
*/
|
|
738
|
+
export const platformApiAgenticWorkflowOperationsControllerWorkflowLogShow = (options) => (options.client ?? client).get({
|
|
739
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
740
|
+
body: v.optional(v.never()),
|
|
741
|
+
path: vPlatformApiAgenticWorkflowOperationsControllerWorkflowLogShowPath,
|
|
742
|
+
query: v.optional(v.never())
|
|
743
|
+
}), data),
|
|
744
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiAgenticWorkflowOperationsControllerWorkflowLogShowResponse, data),
|
|
745
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
746
|
+
url: '/api/v1/tenants/{tenant_slug}/agentic-workflows/{workflow_slug}/workflow-logs/{id}',
|
|
747
|
+
...options
|
|
748
|
+
});
|
|
749
|
+
/**
|
|
750
|
+
* Delete an interoperability contract
|
|
188
751
|
*
|
|
189
|
-
*
|
|
752
|
+
* Deletes a contract. Protected types (`:system`, `:identity`) are rejected with 422. DAC mappings to this contract are removed via DB cascade.
|
|
753
|
+
*/
|
|
754
|
+
export const platformApiInteroperabilityContractControllerDelete = (options) => (options.client ?? client).delete({
|
|
755
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
756
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
757
|
+
body: v.optional(v.never()),
|
|
758
|
+
path: vPlatformApiInteroperabilityContractControllerDeletePath,
|
|
759
|
+
query: v.optional(vPlatformApiInteroperabilityContractControllerDeleteQuery)
|
|
760
|
+
}), data),
|
|
761
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiInteroperabilityContractControllerDeleteResponse, data),
|
|
762
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
763
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/interoperability-contracts/{slug}',
|
|
764
|
+
...options
|
|
765
|
+
});
|
|
766
|
+
/**
|
|
767
|
+
* Get an interoperability contract
|
|
190
768
|
*
|
|
769
|
+
* Returns a single contract by datalake-scoped slug.
|
|
191
770
|
*/
|
|
192
|
-
export const
|
|
193
|
-
|
|
194
|
-
|
|
771
|
+
export const platformApiInteroperabilityContractControllerShow = (options) => (options.client ?? client).get({
|
|
772
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
773
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
774
|
+
body: v.optional(v.never()),
|
|
775
|
+
path: vPlatformApiInteroperabilityContractControllerShowPath,
|
|
776
|
+
query: v.optional(vPlatformApiInteroperabilityContractControllerShowQuery)
|
|
777
|
+
}), data),
|
|
778
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiInteroperabilityContractControllerShowResponse, data),
|
|
195
779
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
196
|
-
url: '/api/v1/tenants/{tenant_slug}/
|
|
780
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/interoperability-contracts/{slug}',
|
|
781
|
+
...options
|
|
782
|
+
});
|
|
783
|
+
/**
|
|
784
|
+
* Replace an interoperability contract
|
|
785
|
+
*
|
|
786
|
+
* Replaces a contract with the full resource body. PUT semantics — all required fields must be present. `slug` is immutable.
|
|
787
|
+
*/
|
|
788
|
+
export const platformApiInteroperabilityContractControllerUpdate = (options) => (options.client ?? client).put({
|
|
789
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
790
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
791
|
+
body: v.optional(vPlatformApiInteroperabilityContractControllerUpdateBody),
|
|
792
|
+
path: vPlatformApiInteroperabilityContractControllerUpdatePath,
|
|
793
|
+
query: v.optional(vPlatformApiInteroperabilityContractControllerUpdateQuery)
|
|
794
|
+
}), data),
|
|
795
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiInteroperabilityContractControllerUpdateResponse, data),
|
|
796
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
797
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/interoperability-contracts/{slug}',
|
|
197
798
|
...options,
|
|
198
799
|
headers: {
|
|
199
800
|
'Content-Type': 'application/json',
|
|
@@ -201,20 +802,75 @@ export const platformApiConnectedAppControllerResolvePage = (options) => (option
|
|
|
201
802
|
}
|
|
202
803
|
});
|
|
203
804
|
/**
|
|
204
|
-
*
|
|
805
|
+
* Get datalake domain metadata
|
|
205
806
|
*
|
|
206
|
-
*
|
|
207
|
-
|
|
208
|
-
|
|
807
|
+
* Returns a markdown document describing the datalake's data domain — its available standard resources and capabilities.
|
|
808
|
+
*/
|
|
809
|
+
export const platformApiDatalakeControllerMetadata = (options) => (options.client ?? client).get({
|
|
810
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
811
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
812
|
+
body: v.optional(v.never()),
|
|
813
|
+
path: vPlatformApiDatalakeControllerMetadataPath,
|
|
814
|
+
query: v.optional(vPlatformApiDatalakeControllerMetadataQuery)
|
|
815
|
+
}), data),
|
|
816
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiDatalakeControllerMetadataResponse, data),
|
|
817
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
818
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/metadata',
|
|
819
|
+
...options
|
|
820
|
+
});
|
|
821
|
+
/**
|
|
822
|
+
* List AI agents
|
|
209
823
|
*
|
|
210
|
-
*
|
|
824
|
+
* Returns a paginated list of AI agents for the authenticated tenant.
|
|
825
|
+
*/
|
|
826
|
+
export const platformApiAiAgentControllerIndex = (options) => (options.client ?? client).get({
|
|
827
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
828
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
829
|
+
body: v.optional(v.never()),
|
|
830
|
+
path: vPlatformApiAiAgentControllerIndexPath,
|
|
831
|
+
query: v.optional(vPlatformApiAiAgentControllerIndexQuery)
|
|
832
|
+
}), data),
|
|
833
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiAiAgentControllerIndexResponse, data),
|
|
834
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
835
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/ai-agents',
|
|
836
|
+
...options
|
|
837
|
+
});
|
|
838
|
+
/**
|
|
839
|
+
* Create an AI agent
|
|
211
840
|
*
|
|
841
|
+
* Creates a new AI agent for the authenticated tenant.
|
|
842
|
+
*/
|
|
843
|
+
export const platformApiAiAgentControllerCreate = (options) => (options.client ?? client).post({
|
|
844
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
845
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
846
|
+
body: v.optional(vPlatformApiAiAgentControllerCreateBody),
|
|
847
|
+
path: vPlatformApiAiAgentControllerCreatePath,
|
|
848
|
+
query: v.optional(vPlatformApiAiAgentControllerCreateQuery)
|
|
849
|
+
}), data),
|
|
850
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiAiAgentControllerCreateResponse, data),
|
|
851
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
852
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/ai-agents',
|
|
853
|
+
...options,
|
|
854
|
+
headers: {
|
|
855
|
+
'Content-Type': 'application/json',
|
|
856
|
+
...options.headers
|
|
857
|
+
}
|
|
858
|
+
});
|
|
859
|
+
/**
|
|
860
|
+
* Replace an action status updater
|
|
861
|
+
*
|
|
862
|
+
* Replaces an action status updater with the full resource body. PUT semantics — all required fields must be present.
|
|
212
863
|
*/
|
|
213
|
-
export const
|
|
214
|
-
|
|
215
|
-
|
|
864
|
+
export const platformApiActionStatusUpdaterControllerUpdate = (options) => (options.client ?? client).put({
|
|
865
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
866
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
867
|
+
body: v.optional(vPlatformApiActionStatusUpdaterControllerUpdateBody),
|
|
868
|
+
path: vPlatformApiActionStatusUpdaterControllerUpdatePath,
|
|
869
|
+
query: v.optional(vPlatformApiActionStatusUpdaterControllerUpdateQuery)
|
|
870
|
+
}), data),
|
|
871
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiActionStatusUpdaterControllerUpdateResponse, data),
|
|
216
872
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
217
|
-
url: '/api/v1/tenants/{tenant_slug}/
|
|
873
|
+
url: '/api/v1/tenants/{tenant_slug}/action-status-updaters/{id}',
|
|
218
874
|
...options,
|
|
219
875
|
headers: {
|
|
220
876
|
'Content-Type': 'application/json',
|
|
@@ -227,10 +883,15 @@ export const platformApiConnectedAppControllerUpdatePage = (options) => (options
|
|
|
227
883
|
* Ingest a single JSON record for processing through the data activation pipeline
|
|
228
884
|
*/
|
|
229
885
|
export const platformApiDataActivationClientControllerIngest = (options) => (options.client ?? client).post({
|
|
230
|
-
|
|
886
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
887
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
888
|
+
body: vPlatformApiDataActivationClientControllerIngestBody,
|
|
889
|
+
path: vPlatformApiDataActivationClientControllerIngestPath,
|
|
890
|
+
query: v.optional(vPlatformApiDataActivationClientControllerIngestQuery)
|
|
891
|
+
}), data),
|
|
231
892
|
responseValidator: async (data) => await v.parseAsync(vPlatformApiDataActivationClientControllerIngestResponse, data),
|
|
232
893
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
233
|
-
url: '/api/v1/tenants/{tenant_slug}/data-activation-clients/{slug}/ingest',
|
|
894
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/data-activation-clients/{slug}/ingest',
|
|
234
895
|
...options,
|
|
235
896
|
headers: {
|
|
236
897
|
'Content-Type': 'application/json',
|
|
@@ -238,15 +899,35 @@ export const platformApiDataActivationClientControllerIngest = (options) => (opt
|
|
|
238
899
|
}
|
|
239
900
|
});
|
|
240
901
|
/**
|
|
241
|
-
*
|
|
902
|
+
* Force-refresh a batch run log
|
|
242
903
|
*
|
|
243
|
-
*
|
|
904
|
+
* Triggers an immediate refresh of the batch run log metrics and merged artifacts.
|
|
244
905
|
*/
|
|
245
|
-
export const
|
|
246
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
247
|
-
|
|
906
|
+
export const platformApiAgenticWorkflowOperationsControllerBatchLogRefresh = (options) => (options.client ?? client).post({
|
|
907
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
908
|
+
body: v.optional(v.never()),
|
|
909
|
+
path: vPlatformApiAgenticWorkflowOperationsControllerBatchLogRefreshPath,
|
|
910
|
+
query: v.optional(v.never())
|
|
911
|
+
}), data),
|
|
912
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiAgenticWorkflowOperationsControllerBatchLogRefreshResponse, data),
|
|
913
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
914
|
+
url: '/api/v1/tenants/{tenant_slug}/agentic-workflows/{workflow_slug}/batch-logs/{id}/refresh',
|
|
915
|
+
...options
|
|
916
|
+
});
|
|
917
|
+
/**
|
|
918
|
+
* Run workflow for matching records
|
|
919
|
+
*
|
|
920
|
+
* Executes the workflow for all dataset records matching the SQL WHERE clause. Creates sampled events and enqueues run_workflow jobs. Returns the batch ID and enqueued count. A WorkflowRunLog is created to track batch-level progress, polled by a daily DynamicCron.
|
|
921
|
+
*/
|
|
922
|
+
export const platformApiAgenticWorkflowOperationsControllerRunWorkflow = (options) => (options.client ?? client).post({
|
|
923
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
924
|
+
body: vPlatformApiAgenticWorkflowOperationsControllerRunWorkflowBody,
|
|
925
|
+
path: vPlatformApiAgenticWorkflowOperationsControllerRunWorkflowPath,
|
|
926
|
+
query: v.optional(v.never())
|
|
927
|
+
}), data),
|
|
928
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiAgenticWorkflowOperationsControllerRunWorkflowResponse, data),
|
|
248
929
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
249
|
-
url: '/api/v1/tenants/{tenant_slug}/
|
|
930
|
+
url: '/api/v1/tenants/{tenant_slug}/agentic-workflows/{workflow_slug}/run-workflow',
|
|
250
931
|
...options,
|
|
251
932
|
headers: {
|
|
252
933
|
'Content-Type': 'application/json',
|
|
@@ -254,55 +935,75 @@ export const platformApiDataActivationClientControllerIngestFile = (options) =>
|
|
|
254
935
|
}
|
|
255
936
|
});
|
|
256
937
|
/**
|
|
257
|
-
*
|
|
938
|
+
* Delete an agentic workflow
|
|
258
939
|
*
|
|
259
|
-
*
|
|
940
|
+
* Deletes a workflow and all associated actions, context datasets, and AI agent attachments.
|
|
260
941
|
*/
|
|
261
|
-
export const
|
|
262
|
-
|
|
263
|
-
|
|
942
|
+
export const platformApiAgenticWorkflowControllerDelete = (options) => (options.client ?? client).delete({
|
|
943
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
944
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
945
|
+
body: v.optional(v.never()),
|
|
946
|
+
path: vPlatformApiAgenticWorkflowControllerDeletePath,
|
|
947
|
+
query: v.optional(vPlatformApiAgenticWorkflowControllerDeleteQuery)
|
|
948
|
+
}), data),
|
|
949
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiAgenticWorkflowControllerDeleteResponse, data),
|
|
264
950
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
265
|
-
url: '/api/v1/tenants/{tenant_slug}/datalakes',
|
|
951
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/agentic-workflows/{id}',
|
|
266
952
|
...options
|
|
267
953
|
});
|
|
268
954
|
/**
|
|
269
|
-
*
|
|
955
|
+
* Get an agentic workflow
|
|
270
956
|
*
|
|
271
|
-
*
|
|
957
|
+
* Returns a single workflow by ID with nested AI agents.
|
|
272
958
|
*/
|
|
273
|
-
export const
|
|
274
|
-
|
|
275
|
-
|
|
959
|
+
export const platformApiAgenticWorkflowControllerShow = (options) => (options.client ?? client).get({
|
|
960
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
961
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
962
|
+
body: v.optional(v.never()),
|
|
963
|
+
path: vPlatformApiAgenticWorkflowControllerShowPath,
|
|
964
|
+
query: v.optional(vPlatformApiAgenticWorkflowControllerShowQuery)
|
|
965
|
+
}), data),
|
|
966
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiAgenticWorkflowControllerShowResponse, data),
|
|
276
967
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
277
|
-
url: '/api/v1/tenants/{tenant_slug}/datalakes',
|
|
278
|
-
...options
|
|
279
|
-
headers: {
|
|
280
|
-
'Content-Type': 'application/json',
|
|
281
|
-
...options.headers
|
|
282
|
-
}
|
|
968
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/agentic-workflows/{id}',
|
|
969
|
+
...options
|
|
283
970
|
});
|
|
284
971
|
/**
|
|
285
|
-
*
|
|
972
|
+
* Replace an agentic workflow
|
|
286
973
|
*
|
|
287
|
-
*
|
|
974
|
+
* Replaces a workflow with the full resource body. PUT semantics — all required fields must be present. The `ai_agents` array replaces the current set of attached agents transactionally.
|
|
288
975
|
*/
|
|
289
|
-
export const
|
|
290
|
-
|
|
291
|
-
|
|
976
|
+
export const platformApiAgenticWorkflowControllerUpdate = (options) => (options.client ?? client).put({
|
|
977
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
978
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
979
|
+
body: v.optional(vPlatformApiAgenticWorkflowControllerUpdateBody),
|
|
980
|
+
path: vPlatformApiAgenticWorkflowControllerUpdatePath,
|
|
981
|
+
query: v.optional(vPlatformApiAgenticWorkflowControllerUpdateQuery)
|
|
982
|
+
}), data),
|
|
983
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiAgenticWorkflowControllerUpdateResponse, data),
|
|
292
984
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
293
|
-
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/
|
|
294
|
-
...options
|
|
985
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/agentic-workflows/{id}',
|
|
986
|
+
...options,
|
|
987
|
+
headers: {
|
|
988
|
+
'Content-Type': 'application/json',
|
|
989
|
+
...options.headers
|
|
990
|
+
}
|
|
295
991
|
});
|
|
296
992
|
/**
|
|
297
|
-
*
|
|
993
|
+
* Replace a data source
|
|
298
994
|
*
|
|
299
|
-
*
|
|
995
|
+
* Replaces a data source with the full resource body. PUT semantics — all required fields must be present.
|
|
300
996
|
*/
|
|
301
|
-
export const
|
|
302
|
-
|
|
303
|
-
|
|
997
|
+
export const platformApiDataSourceControllerUpdate = (options) => (options.client ?? client).put({
|
|
998
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
999
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
1000
|
+
body: v.optional(vPlatformApiDataSourceControllerUpdateBody),
|
|
1001
|
+
path: vPlatformApiDataSourceControllerUpdatePath,
|
|
1002
|
+
query: v.optional(vPlatformApiDataSourceControllerUpdateQuery)
|
|
1003
|
+
}), data),
|
|
1004
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiDataSourceControllerUpdateResponse, data),
|
|
304
1005
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
305
|
-
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/
|
|
1006
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/data-sources/{id}',
|
|
306
1007
|
...options,
|
|
307
1008
|
headers: {
|
|
308
1009
|
'Content-Type': 'application/json',
|
|
@@ -310,39 +1011,54 @@ export const platformApiAiAgentControllerCreate = (options) => (options.client ?
|
|
|
310
1011
|
}
|
|
311
1012
|
});
|
|
312
1013
|
/**
|
|
313
|
-
*
|
|
1014
|
+
* Show a single DAC processing log
|
|
314
1015
|
*
|
|
315
|
-
*
|
|
1016
|
+
* Returns a single `DataActivationLog` row scoped to this DAC. Returns 404 if the id belongs to a different client.
|
|
316
1017
|
*/
|
|
317
|
-
export const
|
|
318
|
-
|
|
319
|
-
|
|
1018
|
+
export const platformApiDataActivationClientControllerLogShow = (options) => (options.client ?? client).get({
|
|
1019
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
1020
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
1021
|
+
body: v.optional(v.never()),
|
|
1022
|
+
path: vPlatformApiDataActivationClientControllerLogShowPath,
|
|
1023
|
+
query: v.optional(vPlatformApiDataActivationClientControllerLogShowQuery)
|
|
1024
|
+
}), data),
|
|
1025
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiDataActivationClientControllerLogShowResponse, data),
|
|
320
1026
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
321
|
-
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/
|
|
1027
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/data-activation-clients/{slug}/logs/{id}',
|
|
322
1028
|
...options
|
|
323
1029
|
});
|
|
324
1030
|
/**
|
|
325
|
-
*
|
|
1031
|
+
* List datalakes
|
|
326
1032
|
*
|
|
327
|
-
* Returns a
|
|
1033
|
+
* Returns a paginated list of datalakes for the authenticated tenant.
|
|
328
1034
|
*/
|
|
329
|
-
export const
|
|
330
|
-
|
|
331
|
-
|
|
1035
|
+
export const platformApiDatalakeControllerIndex = (options) => (options.client ?? client).get({
|
|
1036
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
1037
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
1038
|
+
body: v.optional(v.never()),
|
|
1039
|
+
path: vPlatformApiDatalakeControllerIndexPath,
|
|
1040
|
+
query: v.optional(vPlatformApiDatalakeControllerIndexQuery)
|
|
1041
|
+
}), data),
|
|
1042
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiDatalakeControllerIndexResponse, data),
|
|
332
1043
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
333
|
-
url: '/api/v1/tenants/{tenant_slug}/datalakes
|
|
1044
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes',
|
|
334
1045
|
...options
|
|
335
1046
|
});
|
|
336
1047
|
/**
|
|
337
|
-
*
|
|
1048
|
+
* Create a datalake
|
|
338
1049
|
*
|
|
339
|
-
*
|
|
1050
|
+
* Creates a new datalake for the authenticated tenant.
|
|
340
1051
|
*/
|
|
341
|
-
export const
|
|
342
|
-
|
|
343
|
-
|
|
1052
|
+
export const platformApiDatalakeControllerCreate = (options) => (options.client ?? client).post({
|
|
1053
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
1054
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
1055
|
+
body: v.optional(vPlatformApiDatalakeControllerCreateBody),
|
|
1056
|
+
path: vPlatformApiDatalakeControllerCreatePath,
|
|
1057
|
+
query: v.optional(vPlatformApiDatalakeControllerCreateQuery)
|
|
1058
|
+
}), data),
|
|
1059
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiDatalakeControllerCreateResponse, data),
|
|
344
1060
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
345
|
-
url: '/api/v1/tenants/{tenant_slug}/datalakes
|
|
1061
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes',
|
|
346
1062
|
...options,
|
|
347
1063
|
headers: {
|
|
348
1064
|
'Content-Type': 'application/json',
|
|
@@ -350,27 +1066,20 @@ export const platformApiAiAgentControllerUpdate = (options) => (options.client ?
|
|
|
350
1066
|
}
|
|
351
1067
|
});
|
|
352
1068
|
/**
|
|
353
|
-
*
|
|
354
|
-
*
|
|
355
|
-
* Returns a paginated list of connected apps for the authenticated tenant.
|
|
356
|
-
*/
|
|
357
|
-
export const platformApiConnectedAppMgmtControllerIndex = (options) => (options.client ?? client).get({
|
|
358
|
-
requestValidator: async (data) => await v.parseAsync(vPlatformApiConnectedAppMgmtControllerIndexData, data),
|
|
359
|
-
responseValidator: async (data) => await v.parseAsync(vPlatformApiConnectedAppMgmtControllerIndexResponse, data),
|
|
360
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
361
|
-
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/connected-apps',
|
|
362
|
-
...options
|
|
363
|
-
});
|
|
364
|
-
/**
|
|
365
|
-
* Create a connected app
|
|
1069
|
+
* Create datalake upload link
|
|
366
1070
|
*
|
|
367
|
-
*
|
|
1071
|
+
* Returns a presigned PUT URL for uploading a file (NDJSON or CSV) directly to the datalake's regulated cloud storage. The returned key lives under `uploads/<datalake_id>/` and can be passed to downstream endpoints (e.g. data activation client ingest-file) that accept a pre-uploaded storage key.
|
|
368
1072
|
*/
|
|
369
|
-
export const
|
|
370
|
-
|
|
371
|
-
|
|
1073
|
+
export const platformApiDatalakeControllerCreateUploadLink = (options) => (options.client ?? client).post({
|
|
1074
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
1075
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
1076
|
+
body: vPlatformApiDatalakeControllerCreateUploadLinkBody,
|
|
1077
|
+
path: vPlatformApiDatalakeControllerCreateUploadLinkPath,
|
|
1078
|
+
query: v.optional(vPlatformApiDatalakeControllerCreateUploadLinkQuery)
|
|
1079
|
+
}), data),
|
|
1080
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiDatalakeControllerCreateUploadLinkResponse, data),
|
|
372
1081
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
373
|
-
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/
|
|
1082
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/upload-link',
|
|
374
1083
|
...options,
|
|
375
1084
|
headers: {
|
|
376
1085
|
'Content-Type': 'application/json',
|
|
@@ -378,27 +1087,19 @@ export const platformApiConnectedAppMgmtControllerCreate = (options) => (options
|
|
|
378
1087
|
}
|
|
379
1088
|
});
|
|
380
1089
|
/**
|
|
381
|
-
*
|
|
382
|
-
*
|
|
383
|
-
* Returns a single connected app by ID.
|
|
384
|
-
*/
|
|
385
|
-
export const platformApiConnectedAppMgmtControllerShow = (options) => (options.client ?? client).get({
|
|
386
|
-
requestValidator: async (data) => await v.parseAsync(vPlatformApiConnectedAppMgmtControllerShowData, data),
|
|
387
|
-
responseValidator: async (data) => await v.parseAsync(vPlatformApiConnectedAppMgmtControllerShowResponse, data),
|
|
388
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
389
|
-
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/connected-apps/{id}',
|
|
390
|
-
...options
|
|
391
|
-
});
|
|
392
|
-
/**
|
|
393
|
-
* Replace a connected app
|
|
1090
|
+
* Execute an individual action for a dataset record
|
|
394
1091
|
*
|
|
395
|
-
*
|
|
1092
|
+
* Executes a single workflow action identified by decision_key for the given dataset record, bypassing filter and decision evaluation
|
|
396
1093
|
*/
|
|
397
|
-
export const
|
|
398
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
399
|
-
|
|
1094
|
+
export const platformApiAgenticWorkflowOperationsControllerExecute = (options) => (options.client ?? client).post({
|
|
1095
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
1096
|
+
body: vPlatformApiAgenticWorkflowOperationsControllerExecuteBody,
|
|
1097
|
+
path: vPlatformApiAgenticWorkflowOperationsControllerExecutePath,
|
|
1098
|
+
query: v.optional(v.never())
|
|
1099
|
+
}), data),
|
|
1100
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiAgenticWorkflowOperationsControllerExecuteResponse, data),
|
|
400
1101
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
401
|
-
url: '/api/v1/tenants/{tenant_slug}/
|
|
1102
|
+
url: '/api/v1/tenants/{tenant_slug}/agentic-workflows/{workflow_slug}/execute',
|
|
402
1103
|
...options,
|
|
403
1104
|
headers: {
|
|
404
1105
|
'Content-Type': 'application/json',
|
|
@@ -406,55 +1107,70 @@ export const platformApiConnectedAppMgmtControllerUpdate = (options) => (options
|
|
|
406
1107
|
}
|
|
407
1108
|
});
|
|
408
1109
|
/**
|
|
409
|
-
*
|
|
1110
|
+
* Get a batch run log
|
|
410
1111
|
*
|
|
411
|
-
*
|
|
1112
|
+
* Returns a single batch-level workflow run log with merged artifacts.
|
|
412
1113
|
*/
|
|
413
|
-
export const
|
|
414
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
415
|
-
|
|
1114
|
+
export const platformApiAgenticWorkflowOperationsControllerBatchLogShow = (options) => (options.client ?? client).get({
|
|
1115
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
1116
|
+
body: v.optional(v.never()),
|
|
1117
|
+
path: vPlatformApiAgenticWorkflowOperationsControllerBatchLogShowPath,
|
|
1118
|
+
query: v.optional(v.never())
|
|
1119
|
+
}), data),
|
|
1120
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiAgenticWorkflowOperationsControllerBatchLogShowResponse, data),
|
|
416
1121
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
417
|
-
url: '/api/v1/tenants/{tenant_slug}/
|
|
1122
|
+
url: '/api/v1/tenants/{tenant_slug}/agentic-workflows/{workflow_slug}/batch-logs/{id}',
|
|
418
1123
|
...options
|
|
419
1124
|
});
|
|
420
1125
|
/**
|
|
421
|
-
*
|
|
1126
|
+
* Get contract field metadata
|
|
422
1127
|
*
|
|
423
|
-
* Returns a
|
|
1128
|
+
* Returns a markdown document describing the fields of the contract's target resource type. Combines `@moduledoc` (resource description) and `@typedoc` (field definitions) from the schema.
|
|
424
1129
|
*/
|
|
425
|
-
export const
|
|
426
|
-
|
|
427
|
-
|
|
1130
|
+
export const platformApiInteroperabilityContractControllerMetadata = (options) => (options.client ?? client).get({
|
|
1131
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
1132
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
1133
|
+
body: v.optional(v.never()),
|
|
1134
|
+
path: vPlatformApiInteroperabilityContractControllerMetadataPath,
|
|
1135
|
+
query: v.optional(vPlatformApiInteroperabilityContractControllerMetadataQuery)
|
|
1136
|
+
}), data),
|
|
1137
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiInteroperabilityContractControllerMetadataResponse, data),
|
|
428
1138
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
429
|
-
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/
|
|
1139
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/interoperability-contracts/{slug}/metadata',
|
|
430
1140
|
...options
|
|
431
1141
|
});
|
|
432
1142
|
/**
|
|
433
|
-
*
|
|
1143
|
+
* List interoperability contracts
|
|
434
1144
|
*
|
|
435
|
-
*
|
|
1145
|
+
* Returns a paginated list of contracts scoped to the datalake.
|
|
436
1146
|
*/
|
|
437
|
-
export const
|
|
438
|
-
|
|
439
|
-
|
|
1147
|
+
export const platformApiInteroperabilityContractControllerIndex = (options) => (options.client ?? client).get({
|
|
1148
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
1149
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
1150
|
+
body: v.optional(v.never()),
|
|
1151
|
+
path: vPlatformApiInteroperabilityContractControllerIndexPath,
|
|
1152
|
+
query: v.optional(vPlatformApiInteroperabilityContractControllerIndexQuery)
|
|
1153
|
+
}), data),
|
|
1154
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiInteroperabilityContractControllerIndexResponse, data),
|
|
440
1155
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
441
|
-
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/
|
|
442
|
-
...options
|
|
443
|
-
headers: {
|
|
444
|
-
'Content-Type': 'application/json',
|
|
445
|
-
...options.headers
|
|
446
|
-
}
|
|
1156
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/interoperability-contracts',
|
|
1157
|
+
...options
|
|
447
1158
|
});
|
|
448
1159
|
/**
|
|
449
|
-
*
|
|
1160
|
+
* Create an interoperability contract
|
|
450
1161
|
*
|
|
451
|
-
*
|
|
1162
|
+
* Creates a new contract. `slug` is auto-generated from `name` on insert.
|
|
452
1163
|
*/
|
|
453
|
-
export const
|
|
454
|
-
|
|
455
|
-
|
|
1164
|
+
export const platformApiInteroperabilityContractControllerCreate = (options) => (options.client ?? client).post({
|
|
1165
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
1166
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
1167
|
+
body: v.optional(vPlatformApiInteroperabilityContractControllerCreateBody),
|
|
1168
|
+
path: vPlatformApiInteroperabilityContractControllerCreatePath,
|
|
1169
|
+
query: v.optional(vPlatformApiInteroperabilityContractControllerCreateQuery)
|
|
1170
|
+
}), data),
|
|
1171
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiInteroperabilityContractControllerCreateResponse, data),
|
|
456
1172
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
457
|
-
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/
|
|
1173
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/interoperability-contracts',
|
|
458
1174
|
...options,
|
|
459
1175
|
headers: {
|
|
460
1176
|
'Content-Type': 'application/json',
|
|
@@ -467,7 +1183,12 @@ export const platformApiDataSourceControllerUpdate = (options) => (options.clien
|
|
|
467
1183
|
* Returns a paginated list of generic tables for the datalake (custom tables + system tables for the data domain).
|
|
468
1184
|
*/
|
|
469
1185
|
export const platformApiGenericTableControllerIndex = (options) => (options.client ?? client).get({
|
|
470
|
-
|
|
1186
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
1187
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
1188
|
+
body: v.optional(v.never()),
|
|
1189
|
+
path: vPlatformApiGenericTableControllerIndexPath,
|
|
1190
|
+
query: v.optional(vPlatformApiGenericTableControllerIndexQuery)
|
|
1191
|
+
}), data),
|
|
471
1192
|
responseValidator: async (data) => await v.parseAsync(vPlatformApiGenericTableControllerIndexResponse, data),
|
|
472
1193
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
473
1194
|
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/generic-tables',
|
|
@@ -479,7 +1200,12 @@ export const platformApiGenericTableControllerIndex = (options) => (options.clie
|
|
|
479
1200
|
* Creates a new custom generic table within the datalake.
|
|
480
1201
|
*/
|
|
481
1202
|
export const platformApiGenericTableControllerCreate = (options) => (options.client ?? client).post({
|
|
482
|
-
|
|
1203
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
1204
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
1205
|
+
body: v.optional(vPlatformApiGenericTableControllerCreateBody),
|
|
1206
|
+
path: vPlatformApiGenericTableControllerCreatePath,
|
|
1207
|
+
query: v.optional(vPlatformApiGenericTableControllerCreateQuery)
|
|
1208
|
+
}), data),
|
|
483
1209
|
responseValidator: async (data) => await v.parseAsync(vPlatformApiGenericTableControllerCreateResponse, data),
|
|
484
1210
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
485
1211
|
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/generic-tables',
|
|
@@ -490,47 +1216,40 @@ export const platformApiGenericTableControllerCreate = (options) => (options.cli
|
|
|
490
1216
|
}
|
|
491
1217
|
});
|
|
492
1218
|
/**
|
|
493
|
-
*
|
|
494
|
-
*
|
|
495
|
-
* Verify a subject's identity against their master record using fuzzy matching.
|
|
496
|
-
*
|
|
497
|
-
* Supports verification by:
|
|
498
|
-
* - **family_name** — Jaro distance >= 0.85
|
|
499
|
-
* - **given_name** — Jaro distance >= 0.80
|
|
500
|
-
* - **birth_date** — Fuzzy component matching >= 0.80
|
|
501
|
-
* - **identifiers** — Exact (system, value) match
|
|
1219
|
+
* List accessible tenants
|
|
502
1220
|
*
|
|
503
|
-
*
|
|
1221
|
+
* Returns a paginated list of tenants accessible to the authenticated identity.
|
|
504
1222
|
*
|
|
505
|
-
* **
|
|
1223
|
+
* - **Bearer token**: returns all tenants the user has membership in.
|
|
1224
|
+
* - **X-API-Key**: returns the single tenant the API key is scoped to.
|
|
506
1225
|
*
|
|
507
1226
|
*/
|
|
508
|
-
export const
|
|
509
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
1227
|
+
export const platformApiTenantControllerIndex = (options) => (options?.client ?? client).get({
|
|
1228
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
1229
|
+
body: v.optional(v.never()),
|
|
1230
|
+
path: v.optional(v.never()),
|
|
1231
|
+
query: v.optional(vPlatformApiTenantControllerIndexQuery)
|
|
1232
|
+
}), data),
|
|
1233
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiTenantControllerIndexResponse, data),
|
|
1234
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1235
|
+
url: '/api/v1/tenants',
|
|
1236
|
+
...options
|
|
518
1237
|
});
|
|
519
1238
|
/**
|
|
520
|
-
*
|
|
1239
|
+
* Get schema metadata for a specific dataset type
|
|
521
1240
|
*
|
|
522
|
-
* Returns a
|
|
1241
|
+
* Returns a markdown document describing the fields available on a dataset type. For standard datasets (patient, appointment, etc.) returns the schema moduledoc. For generic tables, pass the generic_table_id query parameter.
|
|
523
1242
|
*/
|
|
524
|
-
export const
|
|
525
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
526
|
-
|
|
1243
|
+
export const platformApiDatasetControllerDatasetMetadata = (options) => (options.client ?? client).get({
|
|
1244
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
1245
|
+
body: v.optional(v.never()),
|
|
1246
|
+
path: vPlatformApiDatasetControllerDatasetMetadataPath,
|
|
1247
|
+
query: v.optional(vPlatformApiDatasetControllerDatasetMetadataQuery)
|
|
1248
|
+
}), data),
|
|
1249
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiDatasetControllerDatasetMetadataResponse, data),
|
|
527
1250
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
528
|
-
url: '/api/v1/
|
|
529
|
-
...options
|
|
530
|
-
headers: {
|
|
531
|
-
'Content-Type': 'application/json',
|
|
532
|
-
...options.headers
|
|
533
|
-
}
|
|
1251
|
+
url: '/api/v1/datasets/{dataset_type}/metadata',
|
|
1252
|
+
...options
|
|
534
1253
|
});
|
|
535
1254
|
/**
|
|
536
1255
|
* Get a datalake
|
|
@@ -538,74 +1257,146 @@ export const platformApiDatalakeControllerCreateUploadLink = (options) => (optio
|
|
|
538
1257
|
* Returns a single datalake by ID (non-sensitive metadata only).
|
|
539
1258
|
*/
|
|
540
1259
|
export const platformApiDatalakeControllerShow = (options) => (options.client ?? client).get({
|
|
541
|
-
|
|
1260
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
1261
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
1262
|
+
body: v.optional(v.never()),
|
|
1263
|
+
path: vPlatformApiDatalakeControllerShowPath,
|
|
1264
|
+
query: v.optional(vPlatformApiDatalakeControllerShowQuery)
|
|
1265
|
+
}), data),
|
|
542
1266
|
responseValidator: async (data) => await v.parseAsync(vPlatformApiDatalakeControllerShowResponse, data),
|
|
543
1267
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
544
1268
|
url: '/api/v1/tenants/{tenant_slug}/datalakes/{id}',
|
|
545
1269
|
...options
|
|
546
1270
|
});
|
|
547
1271
|
/**
|
|
548
|
-
*
|
|
1272
|
+
* Download execution context
|
|
549
1273
|
*
|
|
550
|
-
* Returns a
|
|
1274
|
+
* Returns a presigned URL for downloading the execution context JSON from R2.
|
|
551
1275
|
*/
|
|
552
|
-
export const
|
|
553
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
554
|
-
|
|
1276
|
+
export const platformApiAgenticWorkflowOperationsControllerWorkflowLogDownload = (options) => (options.client ?? client).get({
|
|
1277
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
1278
|
+
body: v.optional(v.never()),
|
|
1279
|
+
path: vPlatformApiAgenticWorkflowOperationsControllerWorkflowLogDownloadPath,
|
|
1280
|
+
query: v.optional(v.never())
|
|
1281
|
+
}), data),
|
|
1282
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiAgenticWorkflowOperationsControllerWorkflowLogDownloadResponse, data),
|
|
555
1283
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
556
|
-
url: '/api/v1/tenants/{tenant_slug}/
|
|
1284
|
+
url: '/api/v1/tenants/{tenant_slug}/agentic-workflows/{workflow_slug}/workflow-logs/{id}/download',
|
|
557
1285
|
...options
|
|
558
1286
|
});
|
|
559
1287
|
/**
|
|
560
|
-
*
|
|
1288
|
+
* Verify current session
|
|
1289
|
+
*
|
|
1290
|
+
* Returns the current session's tenant, role, and identity information.
|
|
1291
|
+
*
|
|
1292
|
+
* Works with both authentication methods:
|
|
1293
|
+
* - `X-API-Key` header (M2M)
|
|
1294
|
+
* - `Authorization: Bearer <session_token>` (human sessions)
|
|
1295
|
+
*
|
|
1296
|
+
* Use this as a "who am I" endpoint to confirm credentials are valid and
|
|
1297
|
+
* inspect the resolved tenant, role, and identity.
|
|
1298
|
+
*
|
|
1299
|
+
* **Requires authentication** (X-API-Key or Bearer token).
|
|
561
1300
|
*
|
|
562
|
-
* Creates a new tool for the authenticated tenant.
|
|
563
1301
|
*/
|
|
564
|
-
export const
|
|
565
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
566
|
-
|
|
1302
|
+
export const platformApiSessionControllerVerify = (options) => (options?.client ?? client).get({
|
|
1303
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
1304
|
+
body: v.optional(v.never()),
|
|
1305
|
+
path: v.optional(v.never()),
|
|
1306
|
+
query: v.optional(v.never())
|
|
1307
|
+
}), data),
|
|
1308
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiSessionControllerVerifyResponse, data),
|
|
1309
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1310
|
+
url: '/api/v1/sessions/verify',
|
|
1311
|
+
...options
|
|
1312
|
+
});
|
|
1313
|
+
/**
|
|
1314
|
+
* Delete a data activation client
|
|
1315
|
+
*
|
|
1316
|
+
* Deletes a DAC. Returns 422 if the DAC is a platform default (is_default=true). Returns 409 if referenced by other resources.
|
|
1317
|
+
*/
|
|
1318
|
+
export const platformApiDataActivationClientControllerDelete = (options) => (options.client ?? client).delete({
|
|
1319
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
1320
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
1321
|
+
body: v.optional(v.never()),
|
|
1322
|
+
path: vPlatformApiDataActivationClientControllerDeletePath,
|
|
1323
|
+
query: v.optional(vPlatformApiDataActivationClientControllerDeleteQuery)
|
|
1324
|
+
}), data),
|
|
1325
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiDataActivationClientControllerDeleteResponse, data),
|
|
567
1326
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
568
|
-
url: '/api/v1/tenants/{tenant_slug}/
|
|
569
|
-
...options
|
|
570
|
-
headers: {
|
|
571
|
-
'Content-Type': 'application/json',
|
|
572
|
-
...options.headers
|
|
573
|
-
}
|
|
1327
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/data-activation-clients/{slug}',
|
|
1328
|
+
...options
|
|
574
1329
|
});
|
|
575
1330
|
/**
|
|
576
|
-
*
|
|
1331
|
+
* Get a data activation client
|
|
577
1332
|
*
|
|
578
|
-
*
|
|
1333
|
+
* Returns a single DAC by datalake-scoped slug.
|
|
579
1334
|
*/
|
|
580
|
-
export const
|
|
581
|
-
|
|
582
|
-
|
|
1335
|
+
export const platformApiDataActivationClientControllerShow = (options) => (options.client ?? client).get({
|
|
1336
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
1337
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
1338
|
+
body: v.optional(v.never()),
|
|
1339
|
+
path: vPlatformApiDataActivationClientControllerShowPath,
|
|
1340
|
+
query: v.optional(vPlatformApiDataActivationClientControllerShowQuery)
|
|
1341
|
+
}), data),
|
|
1342
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiDataActivationClientControllerShowResponse, data),
|
|
583
1343
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
584
|
-
url: '/api/v1/tenants/{tenant_slug}/
|
|
1344
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/data-activation-clients/{slug}',
|
|
585
1345
|
...options
|
|
586
1346
|
});
|
|
587
1347
|
/**
|
|
588
|
-
*
|
|
1348
|
+
* Replace a data activation client
|
|
589
1349
|
*
|
|
590
|
-
*
|
|
1350
|
+
* Replaces a DAC with the full resource body. PUT semantics — all required fields must be present. `slug` is immutable.
|
|
591
1351
|
*/
|
|
592
|
-
export const
|
|
593
|
-
|
|
594
|
-
|
|
1352
|
+
export const platformApiDataActivationClientControllerUpdate = (options) => (options.client ?? client).put({
|
|
1353
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
1354
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
1355
|
+
body: v.optional(vPlatformApiDataActivationClientControllerUpdateBody),
|
|
1356
|
+
path: vPlatformApiDataActivationClientControllerUpdatePath,
|
|
1357
|
+
query: v.optional(vPlatformApiDataActivationClientControllerUpdateQuery)
|
|
1358
|
+
}), data),
|
|
1359
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiDataActivationClientControllerUpdateResponse, data),
|
|
595
1360
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
596
|
-
url: '/api/v1/tenants/{tenant_slug}/
|
|
1361
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/data-activation-clients/{slug}',
|
|
1362
|
+
...options,
|
|
1363
|
+
headers: {
|
|
1364
|
+
'Content-Type': 'application/json',
|
|
1365
|
+
...options.headers
|
|
1366
|
+
}
|
|
1367
|
+
});
|
|
1368
|
+
/**
|
|
1369
|
+
* List tools
|
|
1370
|
+
*
|
|
1371
|
+
* Returns a paginated list of tools for the authenticated tenant.
|
|
1372
|
+
*/
|
|
1373
|
+
export const platformApiToolControllerIndex = (options) => (options.client ?? client).get({
|
|
1374
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
1375
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
1376
|
+
body: v.optional(v.never()),
|
|
1377
|
+
path: vPlatformApiToolControllerIndexPath,
|
|
1378
|
+
query: v.optional(vPlatformApiToolControllerIndexQuery)
|
|
1379
|
+
}), data),
|
|
1380
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiToolControllerIndexResponse, data),
|
|
1381
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
1382
|
+
url: '/api/v1/tenants/{tenant_slug}/tools',
|
|
597
1383
|
...options
|
|
598
1384
|
});
|
|
599
1385
|
/**
|
|
600
|
-
*
|
|
1386
|
+
* Create a tool
|
|
601
1387
|
*
|
|
602
|
-
*
|
|
1388
|
+
* Creates a new tool for the authenticated tenant.
|
|
603
1389
|
*/
|
|
604
|
-
export const
|
|
605
|
-
|
|
606
|
-
|
|
1390
|
+
export const platformApiToolControllerCreate = (options) => (options.client ?? client).post({
|
|
1391
|
+
querySerializer: { parameters: { filters: { array: { style: 'deepObject' } } } },
|
|
1392
|
+
requestValidator: async (data) => await v.parseAsync(v.object({
|
|
1393
|
+
body: v.optional(vPlatformApiToolControllerCreateBody),
|
|
1394
|
+
path: vPlatformApiToolControllerCreatePath,
|
|
1395
|
+
query: v.optional(vPlatformApiToolControllerCreateQuery)
|
|
1396
|
+
}), data),
|
|
1397
|
+
responseValidator: async (data) => await v.parseAsync(vPlatformApiToolControllerCreateResponse, data),
|
|
607
1398
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
608
|
-
url: '/api/v1/tenants/{tenant_slug}/tools
|
|
1399
|
+
url: '/api/v1/tenants/{tenant_slug}/tools',
|
|
609
1400
|
...options,
|
|
610
1401
|
headers: {
|
|
611
1402
|
'Content-Type': 'application/json',
|