@alvera-ai/platform-sdk 0.2.3 → 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 +359 -7
- package/dist/cli.js.map +1 -1
- package/dist/client.d.ts +194 -3
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +170 -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 +337 -123
- package/dist/generated/sdk.gen.d.ts.map +1 -1
- package/dist/generated/sdk.gen.js +1067 -260
- package/dist/generated/sdk.gen.js.map +1 -1
- package/dist/generated/types.gen.d.ts +6265 -610
- package/dist/generated/types.gen.d.ts.map +1 -1
- package/dist/generated/valibot.gen.d.ts +27047 -8186
- package/dist/generated/valibot.gen.d.ts.map +1 -1
- package/dist/generated/valibot.gen.js +3847 -445
- 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, 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,49 +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)
|
|
561
|
+
* List connected apps
|
|
87
562
|
*
|
|
88
|
-
*
|
|
89
|
-
|
|
563
|
+
* Returns a paginated list of connected apps for the authenticated tenant.
|
|
564
|
+
*/
|
|
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',
|
|
575
|
+
...options
|
|
576
|
+
});
|
|
577
|
+
/**
|
|
578
|
+
* Create a connected app
|
|
90
579
|
*
|
|
91
|
-
*
|
|
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
|
|
92
600
|
*
|
|
601
|
+
* Deletes an AI agent. Returns 409 if the agent is attached to a workflow.
|
|
93
602
|
*/
|
|
94
|
-
export const
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
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}',
|
|
99
613
|
...options
|
|
100
614
|
});
|
|
101
615
|
/**
|
|
102
|
-
*
|
|
616
|
+
* Get an AI agent
|
|
103
617
|
*
|
|
104
|
-
* Returns a
|
|
618
|
+
* Returns a single AI agent by ID.
|
|
105
619
|
*/
|
|
106
|
-
export const
|
|
107
|
-
|
|
108
|
-
|
|
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),
|
|
109
628
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
110
|
-
url: '/api/v1/tenants/{tenant_slug}/
|
|
629
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/ai-agents/{id}',
|
|
111
630
|
...options
|
|
112
631
|
});
|
|
113
632
|
/**
|
|
114
|
-
*
|
|
633
|
+
* Replace an AI agent
|
|
115
634
|
*
|
|
116
|
-
*
|
|
635
|
+
* Replaces an AI agent with the full resource body. PUT semantics — all required fields must be present.
|
|
117
636
|
*/
|
|
118
|
-
export const
|
|
119
|
-
|
|
120
|
-
|
|
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),
|
|
121
645
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
122
|
-
url: '/api/v1/tenants/{tenant_slug}/
|
|
646
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/ai-agents/{id}',
|
|
123
647
|
...options,
|
|
124
648
|
headers: {
|
|
125
649
|
'Content-Type': 'application/json',
|
|
@@ -127,15 +651,20 @@ export const platformApiActionStatusUpdaterControllerCreate = (options) => (opti
|
|
|
127
651
|
}
|
|
128
652
|
});
|
|
129
653
|
/**
|
|
130
|
-
*
|
|
654
|
+
* Trigger a manual run of a Data Activation Client
|
|
131
655
|
*
|
|
132
|
-
*
|
|
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.
|
|
133
657
|
*/
|
|
134
|
-
export const
|
|
135
|
-
|
|
136
|
-
|
|
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),
|
|
137
666
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
138
|
-
url: '/api/v1/tenants/{tenant_slug}/
|
|
667
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/data-activation-clients/{slug}/run-manually',
|
|
139
668
|
...options,
|
|
140
669
|
headers: {
|
|
141
670
|
'Content-Type': 'application/json',
|
|
@@ -143,15 +672,37 @@ export const platformApiActionStatusUpdaterControllerUpdate = (options) => (opti
|
|
|
143
672
|
}
|
|
144
673
|
});
|
|
145
674
|
/**
|
|
146
|
-
*
|
|
675
|
+
* List data sources
|
|
147
676
|
*
|
|
148
|
-
*
|
|
677
|
+
* Returns a paginated list of data sources for the authenticated tenant.
|
|
149
678
|
*/
|
|
150
|
-
export const
|
|
151
|
-
|
|
152
|
-
|
|
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),
|
|
153
687
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
154
|
-
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',
|
|
155
706
|
...options,
|
|
156
707
|
headers: {
|
|
157
708
|
'Content-Type': 'application/json',
|
|
@@ -159,25 +710,91 @@ export const platformApiWorkflowControllerExecute = (options) => (options.client
|
|
|
159
710
|
}
|
|
160
711
|
});
|
|
161
712
|
/**
|
|
162
|
-
*
|
|
713
|
+
* Ingest previously uploaded file
|
|
163
714
|
*
|
|
164
|
-
*
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
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
|
|
168
735
|
*
|
|
169
|
-
*
|
|
170
|
-
|
|
171
|
-
|
|
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
|
|
172
751
|
*
|
|
173
|
-
*
|
|
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
|
|
174
768
|
*
|
|
769
|
+
* Returns a single contract by datalake-scoped slug.
|
|
175
770
|
*/
|
|
176
|
-
export const
|
|
177
|
-
|
|
178
|
-
|
|
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),
|
|
179
779
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
180
|
-
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}',
|
|
181
798
|
...options,
|
|
182
799
|
headers: {
|
|
183
800
|
'Content-Type': 'application/json',
|
|
@@ -185,20 +802,54 @@ export const platformApiConnectedAppControllerResolvePage = (options) => (option
|
|
|
185
802
|
}
|
|
186
803
|
});
|
|
187
804
|
/**
|
|
188
|
-
*
|
|
805
|
+
* Get datalake domain metadata
|
|
189
806
|
*
|
|
190
|
-
*
|
|
191
|
-
|
|
192
|
-
|
|
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
|
|
193
823
|
*
|
|
194
|
-
*
|
|
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
|
|
195
840
|
*
|
|
841
|
+
* Creates a new AI agent for the authenticated tenant.
|
|
196
842
|
*/
|
|
197
|
-
export const
|
|
198
|
-
|
|
199
|
-
|
|
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),
|
|
200
851
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
201
|
-
url: '/api/v1/tenants/{tenant_slug}/
|
|
852
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/ai-agents',
|
|
202
853
|
...options,
|
|
203
854
|
headers: {
|
|
204
855
|
'Content-Type': 'application/json',
|
|
@@ -206,15 +857,20 @@ export const platformApiConnectedAppControllerUpdatePage = (options) => (options
|
|
|
206
857
|
}
|
|
207
858
|
});
|
|
208
859
|
/**
|
|
209
|
-
*
|
|
860
|
+
* Replace an action status updater
|
|
210
861
|
*
|
|
211
|
-
*
|
|
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',
|
|
@@ -222,15 +878,20 @@ export const platformApiDataActivationClientControllerIngest = (options) => (opt
|
|
|
222
878
|
}
|
|
223
879
|
});
|
|
224
880
|
/**
|
|
225
|
-
* Ingest
|
|
881
|
+
* Ingest JSON data
|
|
226
882
|
*
|
|
227
|
-
*
|
|
883
|
+
* Ingest a single JSON record for processing through the data activation pipeline
|
|
228
884
|
*/
|
|
229
|
-
export const
|
|
230
|
-
|
|
231
|
-
|
|
885
|
+
export const platformApiDataActivationClientControllerIngest = (options) => (options.client ?? client).post({
|
|
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),
|
|
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,27 +899,35 @@ export const platformApiDataActivationClientControllerIngestFile = (options) =>
|
|
|
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),
|
|
248
913
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
249
|
-
url: '/api/v1/tenants/{tenant_slug}/
|
|
914
|
+
url: '/api/v1/tenants/{tenant_slug}/agentic-workflows/{workflow_slug}/batch-logs/{id}/refresh',
|
|
250
915
|
...options
|
|
251
916
|
});
|
|
252
917
|
/**
|
|
253
|
-
*
|
|
918
|
+
* Run workflow for matching records
|
|
254
919
|
*
|
|
255
|
-
* Creates
|
|
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.
|
|
256
921
|
*/
|
|
257
|
-
export const
|
|
258
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
259
|
-
|
|
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),
|
|
260
929
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
261
|
-
url: '/api/v1/tenants/{tenant_slug}/
|
|
930
|
+
url: '/api/v1/tenants/{tenant_slug}/agentic-workflows/{workflow_slug}/run-workflow',
|
|
262
931
|
...options,
|
|
263
932
|
headers: {
|
|
264
933
|
'Content-Type': 'application/json',
|
|
@@ -266,67 +935,75 @@ export const platformApiDatalakeControllerCreate = (options) => (options.client
|
|
|
266
935
|
}
|
|
267
936
|
});
|
|
268
937
|
/**
|
|
269
|
-
*
|
|
938
|
+
* Delete an agentic workflow
|
|
270
939
|
*
|
|
271
|
-
*
|
|
940
|
+
* Deletes a workflow and all associated actions, context datasets, and AI agent attachments.
|
|
272
941
|
*/
|
|
273
|
-
export const
|
|
274
|
-
|
|
275
|
-
|
|
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),
|
|
276
950
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
277
|
-
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/
|
|
951
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/agentic-workflows/{id}',
|
|
278
952
|
...options
|
|
279
953
|
});
|
|
280
954
|
/**
|
|
281
|
-
*
|
|
282
|
-
*
|
|
283
|
-
* Creates a new AI agent for the authenticated tenant.
|
|
284
|
-
*/
|
|
285
|
-
export const platformApiAiAgentControllerCreate = (options) => (options.client ?? client).post({
|
|
286
|
-
requestValidator: async (data) => await v.parseAsync(vPlatformApiAiAgentControllerCreateData, data),
|
|
287
|
-
responseValidator: async (data) => await v.parseAsync(vPlatformApiAiAgentControllerCreateResponse, data),
|
|
288
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
289
|
-
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/ai-agents',
|
|
290
|
-
...options,
|
|
291
|
-
headers: {
|
|
292
|
-
'Content-Type': 'application/json',
|
|
293
|
-
...options.headers
|
|
294
|
-
}
|
|
295
|
-
});
|
|
296
|
-
/**
|
|
297
|
-
* Delete an AI agent
|
|
955
|
+
* Get an agentic workflow
|
|
298
956
|
*
|
|
299
|
-
*
|
|
957
|
+
* Returns a single workflow by ID with nested AI agents.
|
|
300
958
|
*/
|
|
301
|
-
export const
|
|
302
|
-
|
|
303
|
-
|
|
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),
|
|
304
967
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
305
|
-
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/
|
|
968
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/agentic-workflows/{id}',
|
|
306
969
|
...options
|
|
307
970
|
});
|
|
308
971
|
/**
|
|
309
|
-
*
|
|
972
|
+
* Replace an agentic workflow
|
|
310
973
|
*
|
|
311
|
-
*
|
|
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.
|
|
312
975
|
*/
|
|
313
|
-
export const
|
|
314
|
-
|
|
315
|
-
|
|
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),
|
|
316
984
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
317
|
-
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/
|
|
318
|
-
...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
|
+
}
|
|
319
991
|
});
|
|
320
992
|
/**
|
|
321
|
-
* Replace
|
|
993
|
+
* Replace a data source
|
|
322
994
|
*
|
|
323
|
-
* Replaces
|
|
995
|
+
* Replaces a data source with the full resource body. PUT semantics — all required fields must be present.
|
|
324
996
|
*/
|
|
325
|
-
export const
|
|
326
|
-
|
|
327
|
-
|
|
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),
|
|
328
1005
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
329
|
-
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/
|
|
1006
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/data-sources/{id}',
|
|
330
1007
|
...options,
|
|
331
1008
|
headers: {
|
|
332
1009
|
'Content-Type': 'application/json',
|
|
@@ -334,27 +1011,54 @@ export const platformApiAiAgentControllerUpdate = (options) => (options.client ?
|
|
|
334
1011
|
}
|
|
335
1012
|
});
|
|
336
1013
|
/**
|
|
337
|
-
*
|
|
1014
|
+
* Show a single DAC processing log
|
|
338
1015
|
*
|
|
339
|
-
* Returns a
|
|
1016
|
+
* Returns a single `DataActivationLog` row scoped to this DAC. Returns 404 if the id belongs to a different client.
|
|
340
1017
|
*/
|
|
341
|
-
export const
|
|
342
|
-
|
|
343
|
-
|
|
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),
|
|
344
1026
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
345
|
-
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}',
|
|
346
1028
|
...options
|
|
347
1029
|
});
|
|
348
1030
|
/**
|
|
349
|
-
*
|
|
1031
|
+
* List datalakes
|
|
350
1032
|
*
|
|
351
|
-
*
|
|
1033
|
+
* Returns a paginated list of datalakes for the authenticated tenant.
|
|
352
1034
|
*/
|
|
353
|
-
export const
|
|
354
|
-
|
|
355
|
-
|
|
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),
|
|
356
1043
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
357
|
-
url: '/api/v1/tenants/{tenant_slug}/datalakes
|
|
1044
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes',
|
|
1045
|
+
...options
|
|
1046
|
+
});
|
|
1047
|
+
/**
|
|
1048
|
+
* Create a datalake
|
|
1049
|
+
*
|
|
1050
|
+
* Creates a new datalake for the authenticated tenant.
|
|
1051
|
+
*/
|
|
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),
|
|
1060
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
1061
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes',
|
|
358
1062
|
...options,
|
|
359
1063
|
headers: {
|
|
360
1064
|
'Content-Type': 'application/json',
|
|
@@ -362,27 +1066,40 @@ export const platformApiConnectedAppMgmtControllerCreate = (options) => (options
|
|
|
362
1066
|
}
|
|
363
1067
|
});
|
|
364
1068
|
/**
|
|
365
|
-
*
|
|
1069
|
+
* Create datalake upload link
|
|
366
1070
|
*
|
|
367
|
-
* Returns a
|
|
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}/
|
|
374
|
-
...options
|
|
1082
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/upload-link',
|
|
1083
|
+
...options,
|
|
1084
|
+
headers: {
|
|
1085
|
+
'Content-Type': 'application/json',
|
|
1086
|
+
...options.headers
|
|
1087
|
+
}
|
|
375
1088
|
});
|
|
376
1089
|
/**
|
|
377
|
-
*
|
|
1090
|
+
* Execute an individual action for a dataset record
|
|
378
1091
|
*
|
|
379
|
-
*
|
|
1092
|
+
* Executes a single workflow action identified by decision_key for the given dataset record, bypassing filter and decision evaluation
|
|
380
1093
|
*/
|
|
381
|
-
export const
|
|
382
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
383
|
-
|
|
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),
|
|
384
1101
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
385
|
-
url: '/api/v1/tenants/{tenant_slug}/
|
|
1102
|
+
url: '/api/v1/tenants/{tenant_slug}/agentic-workflows/{workflow_slug}/execute',
|
|
386
1103
|
...options,
|
|
387
1104
|
headers: {
|
|
388
1105
|
'Content-Type': 'application/json',
|
|
@@ -390,55 +1107,70 @@ export const platformApiConnectedAppMgmtControllerUpdate = (options) => (options
|
|
|
390
1107
|
}
|
|
391
1108
|
});
|
|
392
1109
|
/**
|
|
393
|
-
*
|
|
1110
|
+
* Get a batch run log
|
|
394
1111
|
*
|
|
395
|
-
*
|
|
1112
|
+
* Returns a single batch-level workflow run log with merged artifacts.
|
|
396
1113
|
*/
|
|
397
|
-
export const
|
|
398
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
399
|
-
|
|
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),
|
|
400
1121
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
401
|
-
url: '/api/v1/tenants/{tenant_slug}/
|
|
1122
|
+
url: '/api/v1/tenants/{tenant_slug}/agentic-workflows/{workflow_slug}/batch-logs/{id}',
|
|
402
1123
|
...options
|
|
403
1124
|
});
|
|
404
1125
|
/**
|
|
405
|
-
*
|
|
1126
|
+
* Get contract field metadata
|
|
406
1127
|
*
|
|
407
|
-
* 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.
|
|
408
1129
|
*/
|
|
409
|
-
export const
|
|
410
|
-
|
|
411
|
-
|
|
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),
|
|
412
1138
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
413
|
-
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/
|
|
1139
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/interoperability-contracts/{slug}/metadata',
|
|
414
1140
|
...options
|
|
415
1141
|
});
|
|
416
1142
|
/**
|
|
417
|
-
*
|
|
1143
|
+
* List interoperability contracts
|
|
418
1144
|
*
|
|
419
|
-
*
|
|
1145
|
+
* Returns a paginated list of contracts scoped to the datalake.
|
|
420
1146
|
*/
|
|
421
|
-
export const
|
|
422
|
-
|
|
423
|
-
|
|
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),
|
|
424
1155
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
425
|
-
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/
|
|
426
|
-
...options
|
|
427
|
-
headers: {
|
|
428
|
-
'Content-Type': 'application/json',
|
|
429
|
-
...options.headers
|
|
430
|
-
}
|
|
1156
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/interoperability-contracts',
|
|
1157
|
+
...options
|
|
431
1158
|
});
|
|
432
1159
|
/**
|
|
433
|
-
*
|
|
1160
|
+
* Create an interoperability contract
|
|
434
1161
|
*
|
|
435
|
-
*
|
|
1162
|
+
* Creates a new contract. `slug` is auto-generated from `name` on insert.
|
|
436
1163
|
*/
|
|
437
|
-
export const
|
|
438
|
-
|
|
439
|
-
|
|
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),
|
|
440
1172
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
441
|
-
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/
|
|
1173
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/interoperability-contracts',
|
|
442
1174
|
...options,
|
|
443
1175
|
headers: {
|
|
444
1176
|
'Content-Type': 'application/json',
|
|
@@ -451,7 +1183,12 @@ export const platformApiDataSourceControllerUpdate = (options) => (options.clien
|
|
|
451
1183
|
* Returns a paginated list of generic tables for the datalake (custom tables + system tables for the data domain).
|
|
452
1184
|
*/
|
|
453
1185
|
export const platformApiGenericTableControllerIndex = (options) => (options.client ?? client).get({
|
|
454
|
-
|
|
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),
|
|
455
1192
|
responseValidator: async (data) => await v.parseAsync(vPlatformApiGenericTableControllerIndexResponse, data),
|
|
456
1193
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
457
1194
|
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/generic-tables',
|
|
@@ -463,7 +1200,12 @@ export const platformApiGenericTableControllerIndex = (options) => (options.clie
|
|
|
463
1200
|
* Creates a new custom generic table within the datalake.
|
|
464
1201
|
*/
|
|
465
1202
|
export const platformApiGenericTableControllerCreate = (options) => (options.client ?? client).post({
|
|
466
|
-
|
|
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),
|
|
467
1209
|
responseValidator: async (data) => await v.parseAsync(vPlatformApiGenericTableControllerCreateResponse, data),
|
|
468
1210
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
469
1211
|
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/generic-tables',
|
|
@@ -474,47 +1216,40 @@ export const platformApiGenericTableControllerCreate = (options) => (options.cli
|
|
|
474
1216
|
}
|
|
475
1217
|
});
|
|
476
1218
|
/**
|
|
477
|
-
*
|
|
478
|
-
*
|
|
479
|
-
* Verify a subject's identity against their master record using fuzzy matching.
|
|
480
|
-
*
|
|
481
|
-
* Supports verification by:
|
|
482
|
-
* - **family_name** — Jaro distance >= 0.85
|
|
483
|
-
* - **given_name** — Jaro distance >= 0.80
|
|
484
|
-
* - **birth_date** — Fuzzy component matching >= 0.80
|
|
485
|
-
* - **identifiers** — Exact (system, value) match
|
|
1219
|
+
* List accessible tenants
|
|
486
1220
|
*
|
|
487
|
-
*
|
|
1221
|
+
* Returns a paginated list of tenants accessible to the authenticated identity.
|
|
488
1222
|
*
|
|
489
|
-
* **
|
|
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.
|
|
490
1225
|
*
|
|
491
1226
|
*/
|
|
492
|
-
export const
|
|
493
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
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
|
|
502
1237
|
});
|
|
503
1238
|
/**
|
|
504
|
-
*
|
|
1239
|
+
* Get schema metadata for a specific dataset type
|
|
505
1240
|
*
|
|
506
|
-
* 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.
|
|
507
1242
|
*/
|
|
508
|
-
export const
|
|
509
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
510
|
-
|
|
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),
|
|
511
1250
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
512
|
-
url: '/api/v1/
|
|
513
|
-
...options
|
|
514
|
-
headers: {
|
|
515
|
-
'Content-Type': 'application/json',
|
|
516
|
-
...options.headers
|
|
517
|
-
}
|
|
1251
|
+
url: '/api/v1/datasets/{dataset_type}/metadata',
|
|
1252
|
+
...options
|
|
518
1253
|
});
|
|
519
1254
|
/**
|
|
520
1255
|
* Get a datalake
|
|
@@ -522,74 +1257,146 @@ export const platformApiDatalakeControllerCreateUploadLink = (options) => (optio
|
|
|
522
1257
|
* Returns a single datalake by ID (non-sensitive metadata only).
|
|
523
1258
|
*/
|
|
524
1259
|
export const platformApiDatalakeControllerShow = (options) => (options.client ?? client).get({
|
|
525
|
-
|
|
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),
|
|
526
1266
|
responseValidator: async (data) => await v.parseAsync(vPlatformApiDatalakeControllerShowResponse, data),
|
|
527
1267
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
528
1268
|
url: '/api/v1/tenants/{tenant_slug}/datalakes/{id}',
|
|
529
1269
|
...options
|
|
530
1270
|
});
|
|
531
1271
|
/**
|
|
532
|
-
*
|
|
1272
|
+
* Download execution context
|
|
533
1273
|
*
|
|
534
|
-
* Returns a
|
|
1274
|
+
* Returns a presigned URL for downloading the execution context JSON from R2.
|
|
535
1275
|
*/
|
|
536
|
-
export const
|
|
537
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
538
|
-
|
|
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),
|
|
539
1283
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
540
|
-
url: '/api/v1/tenants/{tenant_slug}/
|
|
1284
|
+
url: '/api/v1/tenants/{tenant_slug}/agentic-workflows/{workflow_slug}/workflow-logs/{id}/download',
|
|
541
1285
|
...options
|
|
542
1286
|
});
|
|
543
1287
|
/**
|
|
544
|
-
*
|
|
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).
|
|
545
1300
|
*
|
|
546
|
-
* Creates a new tool for the authenticated tenant.
|
|
547
1301
|
*/
|
|
548
|
-
export const
|
|
549
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
550
|
-
|
|
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),
|
|
551
1326
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
552
|
-
url: '/api/v1/tenants/{tenant_slug}/
|
|
553
|
-
...options
|
|
554
|
-
headers: {
|
|
555
|
-
'Content-Type': 'application/json',
|
|
556
|
-
...options.headers
|
|
557
|
-
}
|
|
1327
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/data-activation-clients/{slug}',
|
|
1328
|
+
...options
|
|
558
1329
|
});
|
|
559
1330
|
/**
|
|
560
|
-
*
|
|
1331
|
+
* Get a data activation client
|
|
561
1332
|
*
|
|
562
|
-
*
|
|
1333
|
+
* Returns a single DAC by datalake-scoped slug.
|
|
563
1334
|
*/
|
|
564
|
-
export const
|
|
565
|
-
|
|
566
|
-
|
|
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),
|
|
567
1343
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
568
|
-
url: '/api/v1/tenants/{tenant_slug}/
|
|
1344
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/data-activation-clients/{slug}',
|
|
569
1345
|
...options
|
|
570
1346
|
});
|
|
571
1347
|
/**
|
|
572
|
-
*
|
|
1348
|
+
* Replace a data activation client
|
|
573
1349
|
*
|
|
574
|
-
*
|
|
1350
|
+
* Replaces a DAC with the full resource body. PUT semantics — all required fields must be present. `slug` is immutable.
|
|
575
1351
|
*/
|
|
576
|
-
export const
|
|
577
|
-
|
|
578
|
-
|
|
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),
|
|
579
1360
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
580
|
-
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',
|
|
581
1383
|
...options
|
|
582
1384
|
});
|
|
583
1385
|
/**
|
|
584
|
-
*
|
|
1386
|
+
* Create a tool
|
|
585
1387
|
*
|
|
586
|
-
*
|
|
1388
|
+
* Creates a new tool for the authenticated tenant.
|
|
587
1389
|
*/
|
|
588
|
-
export const
|
|
589
|
-
|
|
590
|
-
|
|
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),
|
|
591
1398
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
592
|
-
url: '/api/v1/tenants/{tenant_slug}/tools
|
|
1399
|
+
url: '/api/v1/tenants/{tenant_slug}/tools',
|
|
593
1400
|
...options,
|
|
594
1401
|
headers: {
|
|
595
1402
|
'Content-Type': 'application/json',
|