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