@alvera-ai/platform-sdk 0.2.4 → 0.4.1
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 +82 -13
- package/dist/cli.js +424 -15
- package/dist/cli.js.map +1 -1
- package/dist/client.d.ts +190 -3
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +169 -7
- package/dist/client.js.map +1 -1
- package/dist/config.d.ts +5 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +21 -4
- package/dist/config.js.map +1 -1
- package/dist/environments.generated.d.ts +21 -0
- package/dist/environments.generated.d.ts.map +1 -0
- package/dist/environments.generated.js +8 -0
- package/dist/environments.generated.js.map +1 -0
- package/dist/generated/client/client.gen.d.ts.map +1 -1
- package/dist/generated/client/client.gen.js +3 -3
- package/dist/generated/client/client.gen.js.map +1 -1
- package/dist/generated/client/types.gen.d.ts +1 -1
- package/dist/generated/client/utils.gen.js +1 -1
- package/dist/generated/client/utils.gen.js.map +1 -1
- package/dist/generated/core/pathSerializer.gen.d.ts +1 -1
- package/dist/generated/core/pathSerializer.gen.d.ts.map +1 -1
- package/dist/generated/core/serverSentEvents.gen.d.ts +1 -1
- package/dist/generated/core/serverSentEvents.gen.d.ts.map +1 -1
- package/dist/generated/core/serverSentEvents.gen.js +3 -4
- package/dist/generated/core/serverSentEvents.gen.js.map +1 -1
- package/dist/generated/core/types.gen.d.ts +1 -1
- package/dist/generated/core/utils.gen.js +1 -1
- package/dist/generated/core/utils.gen.js.map +1 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/index.js +1 -1
- package/dist/generated/index.js.map +1 -1
- package/dist/generated/sdk.gen.d.ts +325 -121
- package/dist/generated/sdk.gen.d.ts.map +1 -1
- package/dist/generated/sdk.gen.js +1030 -263
- package/dist/generated/sdk.gen.js.map +1 -1
- package/dist/generated/types.gen.d.ts +8749 -3536
- package/dist/generated/types.gen.d.ts.map +1 -1
- package/dist/generated/valibot.gen.d.ts +31944 -11564
- package/dist/generated/valibot.gen.d.ts.map +1 -1
- package/dist/generated/valibot.gen.js +4888 -2247
- package/dist/generated/valibot.gen.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +9 -8
|
@@ -1,75 +1,90 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
import * as v from 'valibot';
|
|
3
3
|
import { client } from './client.gen.js';
|
|
4
|
-
import { vPlatformApiActionStatusUpdaterControllerCreateData, vPlatformApiActionStatusUpdaterControllerCreateResponse, vPlatformApiActionStatusUpdaterControllerIndexData, vPlatformApiActionStatusUpdaterControllerIndexResponse, vPlatformApiActionStatusUpdaterControllerUpdateData, vPlatformApiActionStatusUpdaterControllerUpdateResponse, vPlatformApiAiAgentControllerCreateData, vPlatformApiAiAgentControllerCreateResponse, vPlatformApiAiAgentControllerDeleteData, vPlatformApiAiAgentControllerDeleteResponse, vPlatformApiAiAgentControllerIndexData, vPlatformApiAiAgentControllerIndexResponse, vPlatformApiAiAgentControllerShowData, vPlatformApiAiAgentControllerShowResponse, vPlatformApiAiAgentControllerUpdateData, vPlatformApiAiAgentControllerUpdateResponse, vPlatformApiConnectedAppControllerResolvePageData, vPlatformApiConnectedAppControllerResolvePageResponse, vPlatformApiConnectedAppControllerUpdatePageData, vPlatformApiConnectedAppControllerUpdatePageResponse, vPlatformApiConnectedAppMgmtControllerCreateData, vPlatformApiConnectedAppMgmtControllerCreateResponse, vPlatformApiConnectedAppMgmtControllerIndexData, vPlatformApiConnectedAppMgmtControllerIndexResponse, vPlatformApiConnectedAppMgmtControllerShowData, vPlatformApiConnectedAppMgmtControllerShowResponse, vPlatformApiConnectedAppMgmtControllerSyncRoutesData, vPlatformApiConnectedAppMgmtControllerSyncRoutesResponse, vPlatformApiConnectedAppMgmtControllerUpdateData, vPlatformApiConnectedAppMgmtControllerUpdateResponse, vPlatformApiDataActivationClientControllerIngestData, vPlatformApiDataActivationClientControllerIngestFileData, vPlatformApiDataActivationClientControllerIngestFileResponse, vPlatformApiDataActivationClientControllerIngestResponse, vPlatformApiDatalakeControllerCreateData, vPlatformApiDatalakeControllerCreateResponse, vPlatformApiDatalakeControllerCreateUploadLinkData, vPlatformApiDatalakeControllerCreateUploadLinkResponse, vPlatformApiDatalakeControllerIndexData, vPlatformApiDatalakeControllerIndexResponse, vPlatformApiDatalakeControllerShowData, vPlatformApiDatalakeControllerShowResponse, vPlatformApiDatasetControllerSearchData, vPlatformApiDatasetControllerSearchResponse, vPlatformApiDataSourceControllerCreateData, vPlatformApiDataSourceControllerCreateResponse, vPlatformApiDataSourceControllerIndexData, vPlatformApiDataSourceControllerIndexResponse, vPlatformApiDataSourceControllerUpdateData, vPlatformApiDataSourceControllerUpdateResponse, vPlatformApiGenericTableControllerCreateData, vPlatformApiGenericTableControllerCreateResponse, vPlatformApiGenericTableControllerIndexData, vPlatformApiGenericTableControllerIndexResponse, vPlatformApiMdmControllerVerifyData, vPlatformApiMdmControllerVerifyResponse, vPlatformApiPingControllerPingData, vPlatformApiPingControllerPingResponse, vPlatformApiSessionControllerCreateData, vPlatformApiSessionControllerCreateResponse, vPlatformApiSessionControllerDeleteData, vPlatformApiSessionControllerVerifyData, vPlatformApiSessionControllerVerifyResponse, vPlatformApiTenantControllerIndexData, vPlatformApiTenantControllerIndexResponse, vPlatformApiToolControllerCreateData, vPlatformApiToolControllerCreateResponse, vPlatformApiToolControllerDeleteData, vPlatformApiToolControllerDeleteResponse, vPlatformApiToolControllerIndexData, vPlatformApiToolControllerIndexResponse, vPlatformApiToolControllerShowData, vPlatformApiToolControllerShowResponse, vPlatformApiToolControllerUpdateData, vPlatformApiToolControllerUpdateResponse, vPlatformApiWorkflowControllerExecuteData, vPlatformApiWorkflowControllerExecuteResponse } from './valibot.gen.js';
|
|
4
|
+
import { vPlatformApiActionStatusUpdaterControllerCreateBody, vPlatformApiActionStatusUpdaterControllerCreatePath, vPlatformApiActionStatusUpdaterControllerCreateQuery, vPlatformApiActionStatusUpdaterControllerCreateResponse, vPlatformApiActionStatusUpdaterControllerIndexPath, vPlatformApiActionStatusUpdaterControllerIndexQuery, vPlatformApiActionStatusUpdaterControllerIndexResponse, vPlatformApiActionStatusUpdaterControllerUpdateBody, vPlatformApiActionStatusUpdaterControllerUpdatePath, vPlatformApiActionStatusUpdaterControllerUpdateQuery, vPlatformApiActionStatusUpdaterControllerUpdateResponse, vPlatformApiAgenticWorkflowControllerCreateBody, vPlatformApiAgenticWorkflowControllerCreatePath, 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.js';
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* Public health check endpoint that returns:
|
|
9
|
-
* - Application version
|
|
10
|
-
* - Database connectivity status (SELECT 1 query)
|
|
11
|
-
* - Current timestamp
|
|
12
|
-
*
|
|
13
|
-
* **No authentication required.**
|
|
6
|
+
* List tools
|
|
14
7
|
*
|
|
8
|
+
* Returns a paginated list of tools for the authenticated tenant.
|
|
15
9
|
*/
|
|
16
|
-
export const
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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
20
|
...options
|
|
21
21
|
});
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Create a tool
|
|
24
24
|
*
|
|
25
|
-
*
|
|
25
|
+
* Creates a new tool for the authenticated tenant.
|
|
26
26
|
*/
|
|
27
|
-
export const
|
|
28
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
29
|
-
|
|
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),
|
|
30
34
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
31
|
-
url: '/api/v1/
|
|
32
|
-
...options
|
|
35
|
+
url: '/api/v1/tenants/{tenant_slug}/tools',
|
|
36
|
+
...options,
|
|
37
|
+
headers: {
|
|
38
|
+
'Content-Type': 'application/json',
|
|
39
|
+
...options.headers
|
|
40
|
+
}
|
|
33
41
|
});
|
|
34
42
|
/**
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
* Revokes the current Bearer session — deactivates the session and deletes
|
|
38
|
-
* the linked UserToken. The Bearer token becomes immediately invalid.
|
|
39
|
-
*
|
|
40
|
-
* Only works with `Authorization: Bearer <session_token>` (not X-API-Key).
|
|
41
|
-
*
|
|
42
|
-
* **Requires Bearer authentication.**
|
|
43
|
+
* Delete a data activation client
|
|
43
44
|
*
|
|
45
|
+
* Deletes a DAC. Returns 422 if the DAC is a platform default (is_default=true). Returns 409 if referenced by other resources.
|
|
44
46
|
*/
|
|
45
|
-
export const
|
|
46
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
47
|
-
|
|
48
|
-
|
|
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}',
|
|
49
56
|
...options
|
|
50
57
|
});
|
|
51
58
|
/**
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
* Exchange user credentials for a Bearer session token.
|
|
59
|
+
* Get a data activation client
|
|
55
60
|
*
|
|
56
|
-
*
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
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
|
|
67
76
|
*
|
|
77
|
+
* Replaces a DAC with the full resource body. PUT semantics — all required fields must be present. `slug` is immutable.
|
|
68
78
|
*/
|
|
69
|
-
export const
|
|
70
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
71
|
-
|
|
72
|
-
|
|
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}',
|
|
73
88
|
...options,
|
|
74
89
|
headers: {
|
|
75
90
|
'Content-Type': 'application/json',
|
|
@@ -92,12 +107,85 @@ export const platformApiSessionControllerCreate = (options) => (options.client ?
|
|
|
92
107
|
*
|
|
93
108
|
*/
|
|
94
109
|
export const platformApiSessionControllerVerify = (options) => (options?.client ?? client).get({
|
|
95
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
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),
|
|
96
115
|
responseValidator: async (data) => await v.parseAsync(vPlatformApiSessionControllerVerifyResponse, data),
|
|
97
116
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
98
117
|
url: '/api/v1/sessions/verify',
|
|
99
118
|
...options
|
|
100
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
|
+
});
|
|
101
189
|
/**
|
|
102
190
|
* List accessible tenants
|
|
103
191
|
*
|
|
@@ -108,34 +196,47 @@ export const platformApiSessionControllerVerify = (options) => (options?.client
|
|
|
108
196
|
*
|
|
109
197
|
*/
|
|
110
198
|
export const platformApiTenantControllerIndex = (options) => (options?.client ?? client).get({
|
|
111
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
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),
|
|
112
204
|
responseValidator: async (data) => await v.parseAsync(vPlatformApiTenantControllerIndexResponse, data),
|
|
113
205
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
114
206
|
url: '/api/v1/tenants',
|
|
115
207
|
...options
|
|
116
208
|
});
|
|
117
209
|
/**
|
|
118
|
-
* List
|
|
210
|
+
* List generic tables
|
|
119
211
|
*
|
|
120
|
-
* Returns a paginated list of
|
|
212
|
+
* Returns a paginated list of generic tables for the datalake (custom tables + system tables for the data domain).
|
|
121
213
|
*/
|
|
122
|
-
export const
|
|
123
|
-
|
|
124
|
-
|
|
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),
|
|
125
222
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
126
|
-
url: '/api/v1/tenants/{tenant_slug}/
|
|
223
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/generic-tables',
|
|
127
224
|
...options
|
|
128
225
|
});
|
|
129
226
|
/**
|
|
130
|
-
* Create
|
|
227
|
+
* Create a generic table
|
|
131
228
|
*
|
|
132
|
-
* Creates a new
|
|
229
|
+
* Creates a new custom generic table within the datalake.
|
|
133
230
|
*/
|
|
134
|
-
export const
|
|
135
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
136
|
-
|
|
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),
|
|
137
238
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
138
|
-
url: '/api/v1/tenants/{tenant_slug}/
|
|
239
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/generic-tables',
|
|
139
240
|
...options,
|
|
140
241
|
headers: {
|
|
141
242
|
'Content-Type': 'application/json',
|
|
@@ -143,31 +244,37 @@ export const platformApiActionStatusUpdaterControllerCreate = (options) => (opti
|
|
|
143
244
|
}
|
|
144
245
|
});
|
|
145
246
|
/**
|
|
146
|
-
*
|
|
247
|
+
* List interoperability contracts
|
|
147
248
|
*
|
|
148
|
-
*
|
|
249
|
+
* Returns a paginated list of contracts scoped to the datalake.
|
|
149
250
|
*/
|
|
150
|
-
export const
|
|
151
|
-
|
|
152
|
-
|
|
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),
|
|
153
259
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
154
|
-
url: '/api/v1/tenants/{tenant_slug}/
|
|
155
|
-
...options
|
|
156
|
-
headers: {
|
|
157
|
-
'Content-Type': 'application/json',
|
|
158
|
-
...options.headers
|
|
159
|
-
}
|
|
260
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/interoperability-contracts',
|
|
261
|
+
...options
|
|
160
262
|
});
|
|
161
263
|
/**
|
|
162
|
-
*
|
|
264
|
+
* Create an interoperability contract
|
|
163
265
|
*
|
|
164
|
-
*
|
|
266
|
+
* Creates a new contract. `slug` is auto-generated from `name` on insert.
|
|
165
267
|
*/
|
|
166
|
-
export const
|
|
167
|
-
|
|
168
|
-
|
|
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),
|
|
169
276
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
170
|
-
url: '/api/v1/tenants/{tenant_slug}/
|
|
277
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/interoperability-contracts',
|
|
171
278
|
...options,
|
|
172
279
|
headers: {
|
|
173
280
|
'Content-Type': 'application/json',
|
|
@@ -175,62 +282,52 @@ export const platformApiWorkflowControllerExecute = (options) => (options.client
|
|
|
175
282
|
}
|
|
176
283
|
});
|
|
177
284
|
/**
|
|
178
|
-
*
|
|
179
|
-
*
|
|
180
|
-
* Given a connected app slug and a Puid short URL token, resolves the token to
|
|
181
|
-
* the pre-stored route path and MDM subject ID. The Cloudflare app calls this
|
|
182
|
-
* endpoint when a customer clicks a short URL, forwarding the original client
|
|
183
|
-
* headers (user-agent, IP, country) in the request body.
|
|
184
|
-
*
|
|
185
|
-
* When the page token is linked to a message (via workflow action execution),
|
|
186
|
-
* the regulated message details (raw body, channel, status) are included in
|
|
187
|
-
* the response.
|
|
188
|
-
*
|
|
189
|
-
* **Requires X-API-Key authentication.**
|
|
285
|
+
* Get contract field metadata
|
|
190
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.
|
|
191
288
|
*/
|
|
192
|
-
export const
|
|
193
|
-
|
|
194
|
-
|
|
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),
|
|
195
297
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
196
|
-
url: '/api/v1/tenants/{tenant_slug}/
|
|
197
|
-
...options
|
|
198
|
-
headers: {
|
|
199
|
-
'Content-Type': 'application/json',
|
|
200
|
-
...options.headers
|
|
201
|
-
}
|
|
298
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/interoperability-contracts/{slug}/metadata',
|
|
299
|
+
...options
|
|
202
300
|
});
|
|
203
301
|
/**
|
|
204
|
-
*
|
|
205
|
-
*
|
|
206
|
-
* Updates tracking timestamps (opened_at, form_submitted_at) on the message
|
|
207
|
-
* linked to a page token. Called by the connected app when a user opens a page
|
|
208
|
-
* or submits a form.
|
|
209
|
-
*
|
|
210
|
-
* **Requires X-API-Key authentication.**
|
|
302
|
+
* Get a batch run log
|
|
211
303
|
*
|
|
304
|
+
* Returns a single batch-level workflow run log with merged artifacts.
|
|
212
305
|
*/
|
|
213
|
-
export const
|
|
214
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
215
|
-
|
|
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),
|
|
216
313
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
217
|
-
url: '/api/v1/tenants/{tenant_slug}/
|
|
218
|
-
...options
|
|
219
|
-
headers: {
|
|
220
|
-
'Content-Type': 'application/json',
|
|
221
|
-
...options.headers
|
|
222
|
-
}
|
|
314
|
+
url: '/api/v1/tenants/{tenant_slug}/agentic-workflows/{workflow_slug}/batch-logs/{id}',
|
|
315
|
+
...options
|
|
223
316
|
});
|
|
224
317
|
/**
|
|
225
|
-
*
|
|
318
|
+
* Execute an individual action for a dataset record
|
|
226
319
|
*
|
|
227
|
-
*
|
|
320
|
+
* Executes a single workflow action identified by decision_key for the given dataset record, bypassing filter and decision evaluation
|
|
228
321
|
*/
|
|
229
|
-
export const
|
|
230
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
231
|
-
|
|
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),
|
|
232
329
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
233
|
-
url: '/api/v1/tenants/{tenant_slug}/
|
|
330
|
+
url: '/api/v1/tenants/{tenant_slug}/agentic-workflows/{workflow_slug}/execute',
|
|
234
331
|
...options,
|
|
235
332
|
headers: {
|
|
236
333
|
'Content-Type': 'application/json',
|
|
@@ -238,15 +335,20 @@ export const platformApiDataActivationClientControllerIngest = (options) => (opt
|
|
|
238
335
|
}
|
|
239
336
|
});
|
|
240
337
|
/**
|
|
241
|
-
*
|
|
338
|
+
* Create datalake upload link
|
|
242
339
|
*
|
|
243
|
-
*
|
|
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.
|
|
244
341
|
*/
|
|
245
|
-
export const
|
|
246
|
-
|
|
247
|
-
|
|
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),
|
|
248
350
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
249
|
-
url: '/api/v1/tenants/{tenant_slug}/
|
|
351
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/upload-link',
|
|
250
352
|
...options,
|
|
251
353
|
headers: {
|
|
252
354
|
'Content-Type': 'application/json',
|
|
@@ -259,7 +361,12 @@ export const platformApiDataActivationClientControllerIngestFile = (options) =>
|
|
|
259
361
|
* Returns a paginated list of datalakes for the authenticated tenant.
|
|
260
362
|
*/
|
|
261
363
|
export const platformApiDatalakeControllerIndex = (options) => (options.client ?? client).get({
|
|
262
|
-
|
|
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),
|
|
263
370
|
responseValidator: async (data) => await v.parseAsync(vPlatformApiDatalakeControllerIndexResponse, data),
|
|
264
371
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
265
372
|
url: '/api/v1/tenants/{tenant_slug}/datalakes',
|
|
@@ -271,7 +378,12 @@ export const platformApiDatalakeControllerIndex = (options) => (options.client ?
|
|
|
271
378
|
* Creates a new datalake for the authenticated tenant.
|
|
272
379
|
*/
|
|
273
380
|
export const platformApiDatalakeControllerCreate = (options) => (options.client ?? client).post({
|
|
274
|
-
|
|
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),
|
|
275
387
|
responseValidator: async (data) => await v.parseAsync(vPlatformApiDatalakeControllerCreateResponse, data),
|
|
276
388
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
277
389
|
url: '/api/v1/tenants/{tenant_slug}/datalakes',
|
|
@@ -282,27 +394,36 @@ export const platformApiDatalakeControllerCreate = (options) => (options.client
|
|
|
282
394
|
}
|
|
283
395
|
});
|
|
284
396
|
/**
|
|
285
|
-
*
|
|
397
|
+
* Show a single DAC processing log
|
|
286
398
|
*
|
|
287
|
-
* Returns a
|
|
399
|
+
* Returns a single `DataActivationLog` row scoped to this DAC. Returns 404 if the id belongs to a different client.
|
|
288
400
|
*/
|
|
289
|
-
export const
|
|
290
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
291
|
-
|
|
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),
|
|
292
408
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
293
|
-
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/
|
|
409
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/data-activation-clients/{slug}/logs/{id}',
|
|
294
410
|
...options
|
|
295
411
|
});
|
|
296
412
|
/**
|
|
297
|
-
*
|
|
413
|
+
* Replace a data source
|
|
298
414
|
*
|
|
299
|
-
*
|
|
415
|
+
* Replaces a data source with the full resource body. PUT semantics — all required fields must be present.
|
|
300
416
|
*/
|
|
301
|
-
export const
|
|
302
|
-
|
|
303
|
-
|
|
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),
|
|
304
425
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
305
|
-
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/
|
|
426
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/data-sources/{id}',
|
|
306
427
|
...options,
|
|
307
428
|
headers: {
|
|
308
429
|
'Content-Type': 'application/json',
|
|
@@ -310,39 +431,51 @@ export const platformApiAiAgentControllerCreate = (options) => (options.client ?
|
|
|
310
431
|
}
|
|
311
432
|
});
|
|
312
433
|
/**
|
|
313
|
-
* Delete an
|
|
434
|
+
* Delete an agentic workflow
|
|
314
435
|
*
|
|
315
|
-
* Deletes
|
|
436
|
+
* Deletes a workflow and all associated actions, context datasets, and AI agent attachments.
|
|
316
437
|
*/
|
|
317
|
-
export const
|
|
318
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
319
|
-
|
|
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),
|
|
320
445
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
321
|
-
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/
|
|
446
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/agentic-workflows/{id}',
|
|
322
447
|
...options
|
|
323
448
|
});
|
|
324
449
|
/**
|
|
325
|
-
* Get an
|
|
450
|
+
* Get an agentic workflow
|
|
326
451
|
*
|
|
327
|
-
* Returns a single
|
|
452
|
+
* Returns a single workflow by ID with nested AI agents.
|
|
328
453
|
*/
|
|
329
|
-
export const
|
|
330
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
331
|
-
|
|
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),
|
|
332
461
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
333
|
-
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/
|
|
462
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/agentic-workflows/{id}',
|
|
334
463
|
...options
|
|
335
464
|
});
|
|
336
465
|
/**
|
|
337
|
-
* Replace an
|
|
466
|
+
* Replace an agentic workflow
|
|
338
467
|
*
|
|
339
|
-
* Replaces
|
|
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.
|
|
340
469
|
*/
|
|
341
|
-
export const
|
|
342
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
343
|
-
|
|
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),
|
|
344
477
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
345
|
-
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/
|
|
478
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/agentic-workflows/{id}',
|
|
346
479
|
...options,
|
|
347
480
|
headers: {
|
|
348
481
|
'Content-Type': 'application/json',
|
|
@@ -350,27 +483,19 @@ export const platformApiAiAgentControllerUpdate = (options) => (options.client ?
|
|
|
350
483
|
}
|
|
351
484
|
});
|
|
352
485
|
/**
|
|
353
|
-
*
|
|
354
|
-
*
|
|
355
|
-
* Returns a paginated list of connected apps for the authenticated tenant.
|
|
356
|
-
*/
|
|
357
|
-
export const platformApiConnectedAppMgmtControllerIndex = (options) => (options.client ?? client).get({
|
|
358
|
-
requestValidator: async (data) => await v.parseAsync(vPlatformApiConnectedAppMgmtControllerIndexData, data),
|
|
359
|
-
responseValidator: async (data) => await v.parseAsync(vPlatformApiConnectedAppMgmtControllerIndexResponse, data),
|
|
360
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
361
|
-
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/connected-apps',
|
|
362
|
-
...options
|
|
363
|
-
});
|
|
364
|
-
/**
|
|
365
|
-
* Create a connected app
|
|
486
|
+
* Run workflow for matching records
|
|
366
487
|
*
|
|
367
|
-
* Creates
|
|
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.
|
|
368
489
|
*/
|
|
369
|
-
export const
|
|
370
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
371
|
-
|
|
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),
|
|
372
497
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
373
|
-
url: '/api/v1/tenants/{tenant_slug}/
|
|
498
|
+
url: '/api/v1/tenants/{tenant_slug}/agentic-workflows/{workflow_slug}/run-workflow',
|
|
374
499
|
...options,
|
|
375
500
|
headers: {
|
|
376
501
|
'Content-Type': 'application/json',
|
|
@@ -378,27 +503,35 @@ export const platformApiConnectedAppMgmtControllerCreate = (options) => (options
|
|
|
378
503
|
}
|
|
379
504
|
});
|
|
380
505
|
/**
|
|
381
|
-
*
|
|
506
|
+
* Force-refresh a batch run log
|
|
382
507
|
*
|
|
383
|
-
*
|
|
508
|
+
* Triggers an immediate refresh of the batch run log metrics and merged artifacts.
|
|
384
509
|
*/
|
|
385
|
-
export const
|
|
386
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
387
|
-
|
|
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),
|
|
388
517
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
389
|
-
url: '/api/v1/tenants/{tenant_slug}/
|
|
518
|
+
url: '/api/v1/tenants/{tenant_slug}/agentic-workflows/{workflow_slug}/batch-logs/{id}/refresh',
|
|
390
519
|
...options
|
|
391
520
|
});
|
|
392
521
|
/**
|
|
393
|
-
*
|
|
522
|
+
* Ingest JSON data
|
|
394
523
|
*
|
|
395
|
-
*
|
|
524
|
+
* Ingest a single JSON record for processing through the data activation pipeline
|
|
396
525
|
*/
|
|
397
|
-
export const
|
|
398
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
399
|
-
|
|
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),
|
|
400
533
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
401
|
-
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/
|
|
534
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/data-activation-clients/{slug}/ingest',
|
|
402
535
|
...options,
|
|
403
536
|
headers: {
|
|
404
537
|
'Content-Type': 'application/json',
|
|
@@ -406,16 +539,170 @@ export const platformApiConnectedAppMgmtControllerUpdate = (options) => (options
|
|
|
406
539
|
}
|
|
407
540
|
});
|
|
408
541
|
/**
|
|
409
|
-
*
|
|
542
|
+
* Replace an action status updater
|
|
410
543
|
*
|
|
411
|
-
*
|
|
544
|
+
* Replaces an action status updater with the full resource body. PUT semantics — all required fields must be present.
|
|
412
545
|
*/
|
|
413
|
-
export const
|
|
414
|
-
|
|
415
|
-
|
|
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),
|
|
416
554
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
417
|
-
url: '/api/v1/tenants/{tenant_slug}/
|
|
418
|
-
...options
|
|
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
|
+
}
|
|
419
706
|
});
|
|
420
707
|
/**
|
|
421
708
|
* List data sources
|
|
@@ -423,7 +710,12 @@ export const platformApiConnectedAppMgmtControllerSyncRoutes = (options) => (opt
|
|
|
423
710
|
* Returns a paginated list of data sources for the authenticated tenant.
|
|
424
711
|
*/
|
|
425
712
|
export const platformApiDataSourceControllerIndex = (options) => (options.client ?? client).get({
|
|
426
|
-
|
|
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),
|
|
427
719
|
responseValidator: async (data) => await v.parseAsync(vPlatformApiDataSourceControllerIndexResponse, data),
|
|
428
720
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
429
721
|
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/data-sources',
|
|
@@ -435,7 +727,12 @@ export const platformApiDataSourceControllerIndex = (options) => (options.client
|
|
|
435
727
|
* Creates a new data source for the authenticated tenant.
|
|
436
728
|
*/
|
|
437
729
|
export const platformApiDataSourceControllerCreate = (options) => (options.client ?? client).post({
|
|
438
|
-
|
|
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),
|
|
439
736
|
responseValidator: async (data) => await v.parseAsync(vPlatformApiDataSourceControllerCreateResponse, data),
|
|
440
737
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
441
738
|
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/data-sources',
|
|
@@ -446,15 +743,19 @@ export const platformApiDataSourceControllerCreate = (options) => (options.clien
|
|
|
446
743
|
}
|
|
447
744
|
});
|
|
448
745
|
/**
|
|
449
|
-
*
|
|
746
|
+
* Trigger a manual run of a Data Activation Client
|
|
450
747
|
*
|
|
451
|
-
*
|
|
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.
|
|
452
749
|
*/
|
|
453
|
-
export const
|
|
454
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
455
|
-
|
|
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),
|
|
456
757
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
457
|
-
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/data-
|
|
758
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/data-activation-clients/{slug}/run-manually',
|
|
458
759
|
...options,
|
|
459
760
|
headers: {
|
|
460
761
|
'Content-Type': 'application/json',
|
|
@@ -462,27 +763,51 @@ export const platformApiDataSourceControllerUpdate = (options) => (options.clien
|
|
|
462
763
|
}
|
|
463
764
|
});
|
|
464
765
|
/**
|
|
465
|
-
*
|
|
766
|
+
* Delete an AI agent
|
|
466
767
|
*
|
|
467
|
-
*
|
|
768
|
+
* Deletes an AI agent. Returns 409 if the agent is attached to a workflow.
|
|
468
769
|
*/
|
|
469
|
-
export const
|
|
470
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
471
|
-
|
|
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),
|
|
472
777
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
473
|
-
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/
|
|
778
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/ai-agents/{id}',
|
|
474
779
|
...options
|
|
475
780
|
});
|
|
476
781
|
/**
|
|
477
|
-
*
|
|
782
|
+
* Get an AI agent
|
|
478
783
|
*
|
|
479
|
-
*
|
|
784
|
+
* Returns a single AI agent by ID.
|
|
480
785
|
*/
|
|
481
|
-
export const
|
|
482
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
483
|
-
|
|
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),
|
|
484
793
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
485
|
-
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/
|
|
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}',
|
|
486
811
|
...options,
|
|
487
812
|
headers: {
|
|
488
813
|
'Content-Type': 'application/json',
|
|
@@ -490,26 +815,36 @@ export const platformApiGenericTableControllerCreate = (options) => (options.cli
|
|
|
490
815
|
}
|
|
491
816
|
});
|
|
492
817
|
/**
|
|
493
|
-
*
|
|
494
|
-
*
|
|
495
|
-
* Verify a subject's identity against their master record using fuzzy matching.
|
|
496
|
-
*
|
|
497
|
-
* Supports verification by:
|
|
498
|
-
* - **family_name** — Jaro distance >= 0.85
|
|
499
|
-
* - **given_name** — Jaro distance >= 0.80
|
|
500
|
-
* - **birth_date** — Fuzzy component matching >= 0.80
|
|
501
|
-
* - **identifiers** — Exact (system, value) match
|
|
502
|
-
*
|
|
503
|
-
* At least one verification field is required.
|
|
818
|
+
* List connected apps
|
|
504
819
|
*
|
|
505
|
-
*
|
|
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
|
|
506
836
|
*
|
|
837
|
+
* Creates a new connected app with automatic API key provisioning.
|
|
507
838
|
*/
|
|
508
|
-
export const
|
|
509
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
510
|
-
|
|
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),
|
|
511
846
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
512
|
-
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/
|
|
847
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/connected-apps',
|
|
513
848
|
...options,
|
|
514
849
|
headers: {
|
|
515
850
|
'Content-Type': 'application/json',
|
|
@@ -517,15 +852,52 @@ export const platformApiMdmControllerVerify = (options) => (options.client ?? cl
|
|
|
517
852
|
}
|
|
518
853
|
});
|
|
519
854
|
/**
|
|
520
|
-
*
|
|
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.**
|
|
521
863
|
*
|
|
522
|
-
* 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.
|
|
523
864
|
*/
|
|
524
|
-
export const
|
|
525
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
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',
|
|
529
901
|
...options,
|
|
530
902
|
headers: {
|
|
531
903
|
'Content-Type': 'application/json',
|
|
@@ -533,52 +905,143 @@ export const platformApiDatalakeControllerCreateUploadLink = (options) => (optio
|
|
|
533
905
|
}
|
|
534
906
|
});
|
|
535
907
|
/**
|
|
536
|
-
*
|
|
908
|
+
* Start or restart refresh polling for a batch run log
|
|
537
909
|
*
|
|
538
|
-
*
|
|
910
|
+
* Creates a DynamicCron job to poll this batch. Idempotent — if cron already exists, it's a no-op.
|
|
539
911
|
*/
|
|
540
|
-
export const
|
|
541
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
542
|
-
|
|
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),
|
|
543
919
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
544
|
-
url: '/api/v1/tenants/{tenant_slug}/
|
|
920
|
+
url: '/api/v1/tenants/{tenant_slug}/agentic-workflows/{workflow_slug}/batch-logs/{id}/start',
|
|
545
921
|
...options
|
|
546
922
|
});
|
|
547
923
|
/**
|
|
548
|
-
*
|
|
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.**
|
|
549
931
|
*
|
|
550
|
-
* Returns a paginated list of tools for the authenticated tenant.
|
|
551
932
|
*/
|
|
552
|
-
export const
|
|
553
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
554
|
-
|
|
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),
|
|
555
940
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
556
|
-
url: '/api/v1/tenants/{tenant_slug}/
|
|
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',
|
|
557
963
|
...options
|
|
558
964
|
});
|
|
559
965
|
/**
|
|
560
|
-
* Create
|
|
966
|
+
* Create an agentic workflow
|
|
561
967
|
*
|
|
562
|
-
* Creates a new
|
|
968
|
+
* Creates a new workflow. Attach AI agents via the `ai_agents` array.
|
|
563
969
|
*/
|
|
564
|
-
export const
|
|
565
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
566
|
-
|
|
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),
|
|
567
977
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
568
|
-
url: '/api/v1/tenants/{tenant_slug}/
|
|
978
|
+
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/agentic-workflows',
|
|
569
979
|
...options,
|
|
570
980
|
headers: {
|
|
571
981
|
'Content-Type': 'application/json',
|
|
572
982
|
...options.headers
|
|
573
983
|
}
|
|
574
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
|
+
});
|
|
575
1034
|
/**
|
|
576
1035
|
* Delete a tool
|
|
577
1036
|
*
|
|
578
1037
|
* Deletes a tool. Returns 409 if the tool is referenced by another resource.
|
|
579
1038
|
*/
|
|
580
1039
|
export const platformApiToolControllerDelete = (options) => (options.client ?? client).delete({
|
|
581
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
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),
|
|
582
1045
|
responseValidator: async (data) => await v.parseAsync(vPlatformApiToolControllerDeleteResponse, data),
|
|
583
1046
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
584
1047
|
url: '/api/v1/tenants/{tenant_slug}/tools/{id}',
|
|
@@ -590,7 +1053,11 @@ export const platformApiToolControllerDelete = (options) => (options.client ?? c
|
|
|
590
1053
|
* Returns a single tool by ID.
|
|
591
1054
|
*/
|
|
592
1055
|
export const platformApiToolControllerShow = (options) => (options.client ?? client).get({
|
|
593
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
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),
|
|
594
1061
|
responseValidator: async (data) => await v.parseAsync(vPlatformApiToolControllerShowResponse, data),
|
|
595
1062
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
596
1063
|
url: '/api/v1/tenants/{tenant_slug}/tools/{id}',
|
|
@@ -602,7 +1069,11 @@ export const platformApiToolControllerShow = (options) => (options.client ?? cli
|
|
|
602
1069
|
* Replaces a tool with the full resource body. PUT semantics — all required fields must be present.
|
|
603
1070
|
*/
|
|
604
1071
|
export const platformApiToolControllerUpdate = (options) => (options.client ?? client).put({
|
|
605
|
-
requestValidator: async (data) => await v.parseAsync(
|
|
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),
|
|
606
1077
|
responseValidator: async (data) => await v.parseAsync(vPlatformApiToolControllerUpdateResponse, data),
|
|
607
1078
|
security: [{ name: 'X-API-Key', type: 'apiKey' }],
|
|
608
1079
|
url: '/api/v1/tenants/{tenant_slug}/tools/{id}',
|
|
@@ -612,4 +1083,300 @@ export const platformApiToolControllerUpdate = (options) => (options.client ?? c
|
|
|
612
1083
|
...options.headers
|
|
613
1084
|
}
|
|
614
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
|
+
});
|
|
615
1382
|
//# sourceMappingURL=sdk.gen.js.map
|