@camunda/camunda-api-zod-schemas 0.0.79 → 0.0.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/8.10/ad-hoc-sub-process.d.ts +6 -4
- package/dist/8.10/agent-instance.d.ts +22 -11
- package/dist/8.10/audit-log.d.ts +10 -5
- package/dist/8.10/authentication.d.ts +4 -2
- package/dist/8.10/authorization.d.ts +26 -12
- package/dist/8.10/batch-operation.d.ts +32 -15
- package/dist/8.10/clock.d.ts +8 -3
- package/dist/8.10/cluster-variable.d.ts +55 -29
- package/dist/8.10/cluster.d.ts +4 -2
- package/dist/8.10/decision-definition.d.ts +20 -9
- package/dist/8.10/decision-instance.d.ts +31 -4
- package/dist/8.10/decision-requirements.d.ts +26 -4
- package/dist/8.10/document.d.ts +36 -22
- package/dist/8.10/element-instance-inspection.d.ts +4 -2
- package/dist/8.10/element-instance.d.ts +61 -5
- package/dist/8.10/global-task-listener.d.ts +26 -12
- package/dist/8.10/group.d.ts +130 -25
- package/dist/8.10/incident-statistics.d.ts +8 -3
- package/dist/8.10/incident.d.ts +40 -4
- package/dist/8.10/index.d.ts +1719 -1188
- package/dist/8.10/job.d.ts +132 -7
- package/dist/8.10/license.d.ts +4 -2
- package/dist/8.10/mapping-rule.d.ts +35 -6
- package/dist/8.10/message-subscriptions.d.ts +8 -3
- package/dist/8.10/message.d.ts +8 -3
- package/dist/8.10/process-definition.d.ts +55 -8
- package/dist/8.10/process-instance-commands.d.ts +42 -4
- package/dist/8.10/process-instance.d.ts +200 -17
- package/dist/8.10/resource.d.ts +22 -11
- package/dist/8.10/role.d.ts +155 -28
- package/dist/8.10/signal.d.ts +4 -2
- package/dist/8.10/system-configuration.d.ts +4 -2
- package/dist/8.10/tenant.d.ts +186 -32
- package/dist/8.10/usage-metrics.d.ts +4 -2
- package/dist/8.10/user-task-audit-log.d.ts +6 -4
- package/dist/8.10/user-task.d.ts +246 -12
- package/dist/8.10/user.d.ts +32 -6
- package/dist/8.10/variable.d.ts +19 -5
- package/dist/8.8/ad-hoc-sub-process.d.ts +10 -5
- package/dist/8.8/authentication.d.ts +4 -2
- package/dist/8.8/authorization.d.ts +26 -12
- package/dist/8.8/batch-operation.d.ts +32 -15
- package/dist/8.8/clock.d.ts +8 -3
- package/dist/8.8/cluster.d.ts +4 -2
- package/dist/8.8/decision-definition.d.ts +20 -9
- package/dist/8.8/decision-instance.d.ts +25 -3
- package/dist/8.8/decision-requirements.d.ts +26 -4
- package/dist/8.8/document.d.ts +36 -22
- package/dist/8.8/element-instance.d.ts +58 -5
- package/dist/8.8/group.d.ts +130 -25
- package/dist/8.8/incident.d.ts +38 -4
- package/dist/8.8/index.d.ts +1480 -1033
- package/dist/8.8/job.d.ts +112 -7
- package/dist/8.8/license.d.ts +4 -2
- package/dist/8.8/mapping-rule.d.ts +35 -6
- package/dist/8.8/message-subscriptions.d.ts +8 -3
- package/dist/8.8/message.d.ts +8 -3
- package/dist/8.8/process-definition.d.ts +55 -8
- package/dist/8.8/process-instance.d.ts +154 -15
- package/dist/8.8/resource.d.ts +22 -11
- package/dist/8.8/role.d.ts +155 -28
- package/dist/8.8/signal.d.ts +4 -2
- package/dist/8.8/tenant.d.ts +204 -32
- package/dist/8.8/usage-metrics.d.ts +4 -2
- package/dist/8.8/user-task.d.ts +222 -12
- package/dist/8.8/user.d.ts +32 -6
- package/dist/8.8/variable.d.ts +18 -5
- package/dist/8.9/ad-hoc-sub-process.d.ts +6 -4
- package/dist/8.9/audit-log.d.ts +10 -5
- package/dist/8.9/authentication.d.ts +4 -2
- package/dist/8.9/authorization.d.ts +26 -12
- package/dist/8.9/batch-operation.d.ts +32 -15
- package/dist/8.9/clock.d.ts +8 -3
- package/dist/8.9/cluster-variable.d.ts +55 -29
- package/dist/8.9/cluster.d.ts +4 -2
- package/dist/8.9/decision-definition.d.ts +20 -9
- package/dist/8.9/decision-instance.d.ts +26 -3
- package/dist/8.9/decision-requirements.d.ts +26 -4
- package/dist/8.9/document.d.ts +36 -22
- package/dist/8.9/element-instance.d.ts +61 -5
- package/dist/8.9/global-task-listener.d.ts +26 -12
- package/dist/8.9/group.d.ts +130 -25
- package/dist/8.9/incident-statistics.d.ts +8 -3
- package/dist/8.9/incident.d.ts +40 -4
- package/dist/8.9/index.d.ts +1638 -1134
- package/dist/8.9/job.d.ts +128 -7
- package/dist/8.9/license.d.ts +4 -2
- package/dist/8.9/mapping-rule.d.ts +35 -6
- package/dist/8.9/message-subscriptions.d.ts +8 -3
- package/dist/8.9/message.d.ts +8 -3
- package/dist/8.9/process-definition.d.ts +55 -8
- package/dist/8.9/process-instance-commands.d.ts +40 -4
- package/dist/8.9/process-instance.d.ts +168 -15
- package/dist/8.9/resource.d.ts +22 -11
- package/dist/8.9/role.d.ts +155 -28
- package/dist/8.9/signal.d.ts +4 -2
- package/dist/8.9/tenant.d.ts +186 -32
- package/dist/8.9/usage-metrics.d.ts +4 -2
- package/dist/8.9/user-task-audit-log.d.ts +6 -4
- package/dist/8.9/user-task.d.ts +238 -12
- package/dist/8.9/user.d.ts +32 -6
- package/dist/8.9/variable.d.ts +19 -5
- package/package.json +1 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { Endpoint } from './common';
|
|
3
2
|
declare const activityTypeSchema: z.ZodEnum<{
|
|
4
3
|
UNSPECIFIED: "UNSPECIFIED";
|
|
5
4
|
PROCESS: "PROCESS";
|
|
@@ -88,8 +87,11 @@ declare const activateActivityWithinAdHocSubProcessRequestBodySchema: z.ZodObjec
|
|
|
88
87
|
type ActivateActivityWithinAdHocSubProcessRequestBody = z.infer<typeof activateActivityWithinAdHocSubProcessRequestBodySchema>;
|
|
89
88
|
declare const activateActivityWithinAdHocSubProcessResponseBodySchema: z.ZodVoid;
|
|
90
89
|
type ActivateActivityWithinAdHocSubProcessResponseBody = z.infer<typeof activateActivityWithinAdHocSubProcessResponseBodySchema>;
|
|
91
|
-
declare const activateAdHocSubProcessActivities:
|
|
92
|
-
|
|
93
|
-
}
|
|
90
|
+
declare const activateAdHocSubProcessActivities: {
|
|
91
|
+
readonly method: "POST";
|
|
92
|
+
readonly getUrl: ({ adHocSubProcessInstanceKey }: {
|
|
93
|
+
adHocSubProcessInstanceKey: string;
|
|
94
|
+
}) => `/v2/element-instances/ad-hoc-activities/${string}/activation`;
|
|
95
|
+
};
|
|
94
96
|
export { activityTypeSchema, queryActivatableActivitiesRequestBodySchema, queryActivatableActivitiesResponseBodySchema, activateActivityWithinAdHocSubProcessRequestBodySchema, activateActivityWithinAdHocSubProcessResponseBodySchema, activateAdHocSubProcessActivities, };
|
|
95
97
|
export type { ActivityType, QueryActivatableActivitiesRequestBody, ActivatableActivity, QueryActivatableActivitiesResponseBody, ActivateActivityWithinAdHocSubProcessRequestBody, ActivateActivityWithinAdHocSubProcessResponseBody, };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { Endpoint } from './common';
|
|
3
2
|
declare const agentInstanceStatusSchema: z.ZodEnum<{
|
|
4
3
|
UNKNOWN: "UNKNOWN";
|
|
5
4
|
COMPLETED: "COMPLETED";
|
|
@@ -1032,15 +1031,27 @@ declare const queryAgentInstanceHistoryResponseBodySchema: z.ZodType<import('./c
|
|
|
1032
1031
|
producedAt: string;
|
|
1033
1032
|
}>, unknown>>;
|
|
1034
1033
|
type QueryAgentInstanceHistoryResponseBody = z.infer<typeof queryAgentInstanceHistoryResponseBodySchema>;
|
|
1035
|
-
declare const getAgentInstance:
|
|
1036
|
-
|
|
1037
|
-
}
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
}
|
|
1034
|
+
declare const getAgentInstance: {
|
|
1035
|
+
readonly method: "GET";
|
|
1036
|
+
readonly getUrl: ({ agentInstanceKey }: {
|
|
1037
|
+
agentInstanceKey: string;
|
|
1038
|
+
}) => `/v2/agent-instances/${string}`;
|
|
1039
|
+
};
|
|
1040
|
+
declare const queryAgentInstances: {
|
|
1041
|
+
readonly method: "POST";
|
|
1042
|
+
readonly getUrl: () => "/v2/agent-instances/search";
|
|
1043
|
+
};
|
|
1044
|
+
declare const createAgentInstanceHistoryItem: {
|
|
1045
|
+
readonly method: "POST";
|
|
1046
|
+
readonly getUrl: ({ agentInstanceKey }: {
|
|
1047
|
+
agentInstanceKey: string;
|
|
1048
|
+
}) => `/v2/agent-instances/${string}/history`;
|
|
1049
|
+
};
|
|
1050
|
+
declare const queryAgentInstanceHistory: {
|
|
1051
|
+
readonly method: "POST";
|
|
1052
|
+
readonly getUrl: ({ agentInstanceKey }: {
|
|
1053
|
+
agentInstanceKey: string;
|
|
1054
|
+
}) => `/v2/agent-instances/${string}/history/search`;
|
|
1055
|
+
};
|
|
1045
1056
|
export { agentInstanceStatusSchema, agentInstanceDefinitionSchema, agentInstanceMetricsSchema, agentInstanceLimitsSchema, agentToolSchema, agentInstanceSchema, agentInstanceFilterSchema, queryAgentInstancesRequestBodySchema, queryAgentInstancesResponseBodySchema, getAgentInstanceResponseBodySchema, agentInstanceHistoryRoleSchema, agentInstanceHistoryCommitStatusSchema, agentInstanceTextContentSchema, agentInstanceDocumentContentSchema, agentInstanceObjectContentSchema, agentInstanceMessageContentSchema, agentInstanceToolCallSchema, agentInstanceHistoryItemMetricsSchema, agentInstanceHistoryItemSchema, agentInstanceHistoryFilterSchema, createAgentInstanceHistoryItemRequestBodySchema, createAgentInstanceHistoryItemResponseBodySchema, queryAgentInstanceHistoryRequestBodySchema, queryAgentInstanceHistoryResponseBodySchema, getAgentInstance, queryAgentInstances, createAgentInstanceHistoryItem, queryAgentInstanceHistory, };
|
|
1046
1057
|
export type { AgentInstanceStatus, AgentInstanceDefinition, AgentInstanceMetrics, AgentInstanceLimits, AgentTool, AgentInstance, AgentInstanceFilter, QueryAgentInstancesRequestBody, QueryAgentInstancesResponseBody, GetAgentInstanceResponseBody, AgentInstanceHistoryRole, AgentInstanceHistoryCommitStatus, AgentInstanceTextContent, AgentInstanceDocumentContent, AgentInstanceObjectContent, AgentInstanceMessageContent, AgentInstanceToolCall, AgentInstanceHistoryItemMetrics, AgentInstanceHistoryItem, AgentInstanceHistoryFilter, CreateAgentInstanceHistoryItemRequestBody, CreateAgentInstanceHistoryItemResponseBody, QueryAgentInstanceHistoryRequestBody, QueryAgentInstanceHistoryResponseBody, };
|
package/dist/8.10/audit-log.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { Endpoint } from './common';
|
|
3
2
|
declare const auditLogEntityTypeSchema: z.ZodEnum<{
|
|
4
3
|
USER_TASK: "USER_TASK";
|
|
5
4
|
AUTHORIZATION: "AUTHORIZATION";
|
|
@@ -1209,10 +1208,16 @@ declare const queryAuditLogsResponseBodySchema: z.ZodType<import('./common').Que
|
|
|
1209
1208
|
inboundChannelToolName: string | null;
|
|
1210
1209
|
}>, unknown>>;
|
|
1211
1210
|
type QueryAuditLogsResponseBody = z.infer<typeof queryAuditLogsResponseBodySchema>;
|
|
1212
|
-
declare const queryAuditLogs:
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
}
|
|
1211
|
+
declare const queryAuditLogs: {
|
|
1212
|
+
readonly method: "POST";
|
|
1213
|
+
readonly getUrl: () => "/v2/audit-logs/search";
|
|
1214
|
+
};
|
|
1215
|
+
declare const getAuditLog: {
|
|
1216
|
+
readonly method: "GET";
|
|
1217
|
+
readonly getUrl: ({ auditLogKey }: {
|
|
1218
|
+
auditLogKey: string;
|
|
1219
|
+
}) => `/v2/audit-logs/${string}`;
|
|
1220
|
+
};
|
|
1216
1221
|
declare const getAuditLogResponseBodySchema: z.ZodObject<{
|
|
1217
1222
|
auditLogKey: z.ZodString;
|
|
1218
1223
|
entityKey: z.ZodString;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { Endpoint } from './common';
|
|
3
2
|
declare const currentUserSchema: z.ZodObject<{
|
|
4
3
|
username: z.ZodString;
|
|
5
4
|
displayName: z.ZodString;
|
|
@@ -17,6 +16,9 @@ declare const currentUserSchema: z.ZodObject<{
|
|
|
17
16
|
canLogout: z.ZodBoolean;
|
|
18
17
|
}, z.core.$strip>;
|
|
19
18
|
type CurrentUser = z.infer<typeof currentUserSchema>;
|
|
20
|
-
declare const getCurrentUser:
|
|
19
|
+
declare const getCurrentUser: {
|
|
20
|
+
readonly method: "GET";
|
|
21
|
+
readonly getUrl: () => "/v2/authentication/me";
|
|
22
|
+
};
|
|
21
23
|
export { currentUserSchema, getCurrentUser };
|
|
22
24
|
export type { CurrentUser };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { Endpoint } from './common';
|
|
3
2
|
declare const permissionTypeSchema: z.ZodEnum<{
|
|
4
3
|
ACCESS: "ACCESS";
|
|
5
4
|
CREATE: "CREATE";
|
|
@@ -469,16 +468,31 @@ declare const queryAuthorizationsResponseBodySchema: z.ZodType<import('./common'
|
|
|
469
468
|
authorizationKey: string;
|
|
470
469
|
}>, unknown>>;
|
|
471
470
|
type QueryAuthorizationsResponseBody = z.infer<typeof queryAuthorizationsResponseBodySchema>;
|
|
472
|
-
declare const createAuthorization:
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
}
|
|
476
|
-
declare const
|
|
477
|
-
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
}
|
|
482
|
-
declare const
|
|
471
|
+
declare const createAuthorization: {
|
|
472
|
+
readonly method: "POST";
|
|
473
|
+
readonly getUrl: () => "/v2/authorizations";
|
|
474
|
+
};
|
|
475
|
+
declare const updateAuthorization: {
|
|
476
|
+
readonly method: "PUT";
|
|
477
|
+
readonly getUrl: ({ authorizationKey }: {
|
|
478
|
+
authorizationKey: string;
|
|
479
|
+
}) => `/v2/authorizations/${string}`;
|
|
480
|
+
};
|
|
481
|
+
declare const getAuthorization: {
|
|
482
|
+
readonly method: "GET";
|
|
483
|
+
readonly getUrl: ({ authorizationKey }: {
|
|
484
|
+
authorizationKey: string;
|
|
485
|
+
}) => `/v2/authorizations/${string}`;
|
|
486
|
+
};
|
|
487
|
+
declare const deleteAuthorization: {
|
|
488
|
+
readonly method: "DELETE";
|
|
489
|
+
readonly getUrl: ({ authorizationKey }: {
|
|
490
|
+
authorizationKey: string;
|
|
491
|
+
}) => `/v2/authorizations/${string}`;
|
|
492
|
+
};
|
|
493
|
+
declare const queryAuthorizations: {
|
|
494
|
+
readonly method: "POST";
|
|
495
|
+
readonly getUrl: () => "/v2/authorizations/search";
|
|
496
|
+
};
|
|
483
497
|
export { permissionTypeSchema, resourceTypeSchema, ownerTypeSchema, authorizationSchema, createAuthorizationRequestBodySchema, createAuthorizationResponseBodySchema, updateAuthorizationRequestBodySchema, getAuthorizationResponseBodySchema, queryAuthorizationsRequestBodySchema, queryAuthorizationsResponseBodySchema, createAuthorization, updateAuthorization, getAuthorization, deleteAuthorization, queryAuthorizations, };
|
|
484
498
|
export type { PermissionType, ResourceType, OwnerType, Authorization, CreateAuthorizationRequestBody, CreateAuthorizationResponseBody, UpdateAuthorizationRequestBody, GetAuthorizationResponseBody, QueryAuthorizationsRequestBody, QueryAuthorizationsResponseBody, };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { Endpoint } from './common';
|
|
3
2
|
declare const batchOperationTypeSchema: z.ZodEnum<{
|
|
4
3
|
DELETE_PROCESS_INSTANCE: "DELETE_PROCESS_INSTANCE";
|
|
5
4
|
DELETE_DECISION_INSTANCE: "DELETE_DECISION_INSTANCE";
|
|
@@ -456,19 +455,37 @@ declare const queryBatchOperationItemsResponseBodySchema: z.ZodType<import('./co
|
|
|
456
455
|
operationType: "DELETE_PROCESS_INSTANCE" | "DELETE_DECISION_INSTANCE" | "CANCEL_PROCESS_INSTANCE" | "RESOLVE_INCIDENT" | "MIGRATE_PROCESS_INSTANCE" | "MODIFY_PROCESS_INSTANCE" | "DELETE_DECISION_DEFINITION" | "DELETE_PROCESS_DEFINITION" | "ADD_VARIABLE" | "UPDATE_VARIABLE";
|
|
457
456
|
}>, unknown>>;
|
|
458
457
|
type QueryBatchOperationItemsResponseBody = z.infer<typeof queryBatchOperationItemsResponseBodySchema>;
|
|
459
|
-
declare const getBatchOperation:
|
|
460
|
-
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
}
|
|
469
|
-
declare const
|
|
470
|
-
|
|
471
|
-
}
|
|
472
|
-
|
|
458
|
+
declare const getBatchOperation: {
|
|
459
|
+
readonly method: "GET";
|
|
460
|
+
readonly getUrl: ({ batchOperationKey }: {
|
|
461
|
+
batchOperationKey: string;
|
|
462
|
+
}) => `/v2/batch-operations/${string}`;
|
|
463
|
+
};
|
|
464
|
+
declare const queryBatchOperations: {
|
|
465
|
+
readonly method: "POST";
|
|
466
|
+
readonly getUrl: () => "/v2/batch-operations/search";
|
|
467
|
+
};
|
|
468
|
+
declare const cancelBatchOperation: {
|
|
469
|
+
readonly method: "POST";
|
|
470
|
+
readonly getUrl: ({ batchOperationKey }: {
|
|
471
|
+
batchOperationKey: string;
|
|
472
|
+
}) => `/v2/batch-operations/${string}/cancellation`;
|
|
473
|
+
};
|
|
474
|
+
declare const suspendBatchOperation: {
|
|
475
|
+
readonly method: "POST";
|
|
476
|
+
readonly getUrl: ({ batchOperationKey }: {
|
|
477
|
+
batchOperationKey: string;
|
|
478
|
+
}) => `/v2/batch-operations/${string}/suspension`;
|
|
479
|
+
};
|
|
480
|
+
declare const resumeBatchOperation: {
|
|
481
|
+
readonly method: "POST";
|
|
482
|
+
readonly getUrl: ({ batchOperationKey }: {
|
|
483
|
+
batchOperationKey: string;
|
|
484
|
+
}) => `/v2/batch-operations/${string}/resumption`;
|
|
485
|
+
};
|
|
486
|
+
declare const queryBatchOperationItems: {
|
|
487
|
+
readonly method: "POST";
|
|
488
|
+
readonly getUrl: () => "/v2/batch-operation-items/search";
|
|
489
|
+
};
|
|
473
490
|
export { batchOperationTypeSchema, batchOperationStateSchema, batchOperationItemStateSchema, batchOperationErrorTypeSchema, batchOperationErrorSchema, batchOperationSchema, batchOperationItemSchema, queryBatchOperationsRequestBodySchema, queryBatchOperationsResponseBodySchema, queryBatchOperationItemsRequestBodySchema, queryBatchOperationItemsResponseBodySchema, getBatchOperation, queryBatchOperations, cancelBatchOperation, suspendBatchOperation, resumeBatchOperation, queryBatchOperationItems, };
|
|
474
491
|
export type { BatchOperationType, BatchOperationState, BatchOperationItemState, BatchOperationErrorType, BatchOperationError, BatchOperation, BatchOperationItem, QueryBatchOperationsRequestBody, QueryBatchOperationsResponseBody, QueryBatchOperationItemsRequestBody, QueryBatchOperationItemsResponseBody, };
|
package/dist/8.10/clock.d.ts
CHANGED
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { Endpoint } from './common';
|
|
3
2
|
declare const pinClockRequestBodySchema: z.ZodObject<{
|
|
4
3
|
timestamp: z.ZodNumber;
|
|
5
4
|
}, z.core.$strip>;
|
|
6
5
|
type PinClockRequestBody = z.infer<typeof pinClockRequestBodySchema>;
|
|
7
|
-
declare const pinClock:
|
|
8
|
-
|
|
6
|
+
declare const pinClock: {
|
|
7
|
+
readonly method: "PUT";
|
|
8
|
+
readonly getUrl: () => "/v2/clock";
|
|
9
|
+
};
|
|
10
|
+
declare const resetClock: {
|
|
11
|
+
readonly method: "POST";
|
|
12
|
+
readonly getUrl: () => "/v2/clock/reset";
|
|
13
|
+
};
|
|
9
14
|
export { pinClockRequestBodySchema, pinClock, resetClock };
|
|
10
15
|
export type { PinClockRequestBody };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { Endpoint } from './common';
|
|
3
2
|
declare const clusterVariableScopeSchema: z.ZodEnum<{
|
|
4
3
|
TENANT: "TENANT";
|
|
5
4
|
GLOBAL: "GLOBAL";
|
|
@@ -120,33 +119,60 @@ declare const queryClusterVariablesResponseBodySchema: z.ZodType<import('./commo
|
|
|
120
119
|
isTruncated: boolean;
|
|
121
120
|
}>, unknown>>;
|
|
122
121
|
type QueryClusterVariablesResponseBody = z.infer<typeof queryClusterVariablesResponseBodySchema>;
|
|
123
|
-
declare const searchClusterVariables:
|
|
124
|
-
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
}
|
|
133
|
-
declare const
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
}
|
|
122
|
+
declare const searchClusterVariables: {
|
|
123
|
+
readonly method: "POST";
|
|
124
|
+
readonly getUrl: ({ truncateValues }?: {
|
|
125
|
+
truncateValues?: boolean;
|
|
126
|
+
} | undefined) => `/v2/cluster-variables/search${string}`;
|
|
127
|
+
};
|
|
128
|
+
declare const createGlobalClusterVariable: {
|
|
129
|
+
readonly method: "POST";
|
|
130
|
+
readonly getUrl: () => "/v2/cluster-variables/global";
|
|
131
|
+
};
|
|
132
|
+
declare const createTenantClusterVariable: {
|
|
133
|
+
readonly method: "POST";
|
|
134
|
+
readonly getUrl: ({ tenantId }: {
|
|
135
|
+
tenantId: string;
|
|
136
|
+
}) => `/v2/cluster-variables/tenants/${string}`;
|
|
137
|
+
};
|
|
138
|
+
declare const getGlobalClusterVariable: {
|
|
139
|
+
readonly method: "GET";
|
|
140
|
+
readonly getUrl: ({ name }: {
|
|
141
|
+
name: string;
|
|
142
|
+
}) => `/v2/cluster-variables/global/${string}`;
|
|
143
|
+
};
|
|
144
|
+
declare const getTenantClusterVariable: {
|
|
145
|
+
readonly method: "GET";
|
|
146
|
+
readonly getUrl: ({ tenantId, name }: {
|
|
147
|
+
tenantId: string;
|
|
148
|
+
name: string;
|
|
149
|
+
}) => `/v2/cluster-variables/tenants/${string}/${string}`;
|
|
150
|
+
};
|
|
151
|
+
declare const updateGlobalClusterVariable: {
|
|
152
|
+
readonly method: "PUT";
|
|
153
|
+
readonly getUrl: ({ name }: {
|
|
154
|
+
name: string;
|
|
155
|
+
}) => `/v2/cluster-variables/global/${string}`;
|
|
156
|
+
};
|
|
157
|
+
declare const updateTenantClusterVariable: {
|
|
158
|
+
readonly method: "PUT";
|
|
159
|
+
readonly getUrl: ({ tenantId, name }: {
|
|
160
|
+
tenantId: string;
|
|
161
|
+
name: string;
|
|
162
|
+
}) => `/v2/cluster-variables/tenants/${string}/${string}`;
|
|
163
|
+
};
|
|
164
|
+
declare const deleteGlobalClusterVariable: {
|
|
165
|
+
readonly method: "DELETE";
|
|
166
|
+
readonly getUrl: ({ name }: {
|
|
167
|
+
name: string;
|
|
168
|
+
}) => `/v2/cluster-variables/global/${string}`;
|
|
169
|
+
};
|
|
170
|
+
declare const deleteTenantClusterVariable: {
|
|
171
|
+
readonly method: "DELETE";
|
|
172
|
+
readonly getUrl: ({ tenantId, name }: {
|
|
173
|
+
tenantId: string;
|
|
174
|
+
name: string;
|
|
175
|
+
}) => `/v2/cluster-variables/tenants/${string}/${string}`;
|
|
176
|
+
};
|
|
151
177
|
export { clusterVariableScopeSchema, clusterVariableSchema, clusterVariableSearchResultSchema, createClusterVariableRequestBodySchema, updateClusterVariableRequestBodySchema, queryClusterVariablesRequestBodySchema, queryClusterVariablesResponseBodySchema, searchClusterVariables, createGlobalClusterVariable, createTenantClusterVariable, getGlobalClusterVariable, getTenantClusterVariable, updateGlobalClusterVariable, updateTenantClusterVariable, deleteGlobalClusterVariable, deleteTenantClusterVariable, };
|
|
152
178
|
export type { ClusterVariableScope, ClusterVariable, ClusterVariableSearchResult, CreateClusterVariableRequestBody, UpdateClusterVariableRequestBody, QueryClusterVariablesRequestBody, QueryClusterVariablesResponseBody, };
|
package/dist/8.10/cluster.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { Endpoint } from './common';
|
|
3
2
|
declare const partitionRoleSchema: z.ZodEnum<{
|
|
4
3
|
leader: "leader";
|
|
5
4
|
follower: "follower";
|
|
@@ -74,6 +73,9 @@ declare const getTopologyResponseBodySchema: z.ZodObject<{
|
|
|
74
73
|
lastCompletedChangeId: z.ZodNullable<z.ZodString>;
|
|
75
74
|
}, z.core.$strip>;
|
|
76
75
|
type GetTopologyResponseBody = z.infer<typeof getTopologyResponseBodySchema>;
|
|
77
|
-
declare const getTopology:
|
|
76
|
+
declare const getTopology: {
|
|
77
|
+
readonly method: "GET";
|
|
78
|
+
readonly getUrl: () => "/v2/topology";
|
|
79
|
+
};
|
|
78
80
|
export { partitionRoleSchema, partitionHealthSchema, partitionSchema, brokerInfoSchema, getTopologyResponseBodySchema, getTopology, };
|
|
79
81
|
export type { PartitionRole, PartitionHealth, Partition, BrokerInfo, GetTopologyResponseBody };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { Endpoint } from './common';
|
|
3
2
|
declare const decisionDefinitionSchema: z.ZodObject<{
|
|
4
3
|
decisionDefinitionId: z.ZodString;
|
|
5
4
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -173,13 +172,25 @@ declare const evaluateDecisionResponseBodySchema: z.ZodObject<{
|
|
|
173
172
|
}, z.core.$strip>>;
|
|
174
173
|
}, z.core.$strip>;
|
|
175
174
|
type EvaluateDecisionResponseBody = z.infer<typeof evaluateDecisionResponseBodySchema>;
|
|
176
|
-
declare const queryDecisionDefinitions:
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
}
|
|
180
|
-
declare const
|
|
181
|
-
|
|
182
|
-
}
|
|
183
|
-
|
|
175
|
+
declare const queryDecisionDefinitions: {
|
|
176
|
+
readonly method: "POST";
|
|
177
|
+
readonly getUrl: () => "/v2/decision-definitions/search";
|
|
178
|
+
};
|
|
179
|
+
declare const getDecisionDefinition: {
|
|
180
|
+
readonly method: "GET";
|
|
181
|
+
readonly getUrl: ({ decisionDefinitionKey }: {
|
|
182
|
+
decisionDefinitionKey: string;
|
|
183
|
+
}) => `/v2/decision-definitions/${string}`;
|
|
184
|
+
};
|
|
185
|
+
declare const getDecisionDefinitionXml: {
|
|
186
|
+
readonly method: "GET";
|
|
187
|
+
readonly getUrl: ({ decisionDefinitionKey }: {
|
|
188
|
+
decisionDefinitionKey: string;
|
|
189
|
+
}) => `/v2/decision-definitions/${string}/xml`;
|
|
190
|
+
};
|
|
191
|
+
declare const evaluateDecision: {
|
|
192
|
+
readonly method: "POST";
|
|
193
|
+
readonly getUrl: () => "/v2/decision-definitions/evaluation";
|
|
194
|
+
};
|
|
184
195
|
export { decisionDefinitionSchema, queryDecisionDefinitionsRequestBodySchema, queryDecisionDefinitionsResponseBodySchema, getDecisionDefinitionXmlResponseBodySchema, evaluatedDecisionInputItemSchema, evaluatedDecisionOutputItemSchema, matchedDecisionRuleItemSchema, evaluatedDecisionResultSchema, evaluateDecisionRequestBodySchema, evaluateDecisionResponseBodySchema, queryDecisionDefinitions, getDecisionDefinition, getDecisionDefinitionXml, evaluateDecision, };
|
|
185
196
|
export type { DecisionDefinition, QueryDecisionDefinitionsRequestBody, QueryDecisionDefinitionsResponseBody, GetDecisionDefinitionXmlResponseBody, EvaluatedDecisionInputItem, EvaluatedDecisionOutputItem, MatchedDecisionRuleItem, EvaluatedDecisionResult, EvaluateDecisionRequestBody, EvaluateDecisionResponseBody, };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { Endpoint } from './common';
|
|
3
2
|
declare const decisionDefinitionTypeSchema: z.ZodEnum<{
|
|
4
3
|
UNSPECIFIED: "UNSPECIFIED";
|
|
5
4
|
UNKNOWN: "UNKNOWN";
|
|
@@ -370,8 +369,33 @@ declare const getDecisionInstanceResponseBodySchema: z.ZodObject<{
|
|
|
370
369
|
}, z.core.$strip>>;
|
|
371
370
|
}, z.core.$strip>;
|
|
372
371
|
type GetDecisionInstanceResponseBody = z.infer<typeof getDecisionInstanceResponseBodySchema>;
|
|
373
|
-
declare const queryDecisionInstances:
|
|
374
|
-
|
|
372
|
+
declare const queryDecisionInstances: {
|
|
373
|
+
readonly method: "POST";
|
|
374
|
+
readonly getUrl: () => "/v2/decision-instances/search";
|
|
375
|
+
};
|
|
376
|
+
declare const getDecisionInstance: {
|
|
377
|
+
readonly method: "GET";
|
|
378
|
+
readonly getUrl: ({ decisionEvaluationInstanceKey }: Pick<{
|
|
379
|
+
decisionEvaluationInstanceKey: string;
|
|
380
|
+
state: "UNSPECIFIED" | "UNKNOWN" | "FAILED" | "EVALUATED";
|
|
381
|
+
evaluationDate: string;
|
|
382
|
+
evaluationFailure: string | null;
|
|
383
|
+
decisionDefinitionId: string;
|
|
384
|
+
decisionDefinitionName: string;
|
|
385
|
+
decisionDefinitionVersion: number;
|
|
386
|
+
decisionDefinitionType: "UNSPECIFIED" | "UNKNOWN" | "DECISION_TABLE" | "LITERAL_EXPRESSION";
|
|
387
|
+
result: string;
|
|
388
|
+
tenantId: string;
|
|
389
|
+
decisionEvaluationKey: string;
|
|
390
|
+
processDefinitionKey: string;
|
|
391
|
+
processInstanceKey: string;
|
|
392
|
+
rootProcessInstanceKey: string | null;
|
|
393
|
+
decisionDefinitionKey: string;
|
|
394
|
+
elementInstanceKey: string;
|
|
395
|
+
rootDecisionDefinitionKey: string;
|
|
396
|
+
businessId: string | null;
|
|
397
|
+
}, "decisionEvaluationInstanceKey">) => `/v2/decision-instances/${string}`;
|
|
398
|
+
};
|
|
375
399
|
declare const createDecisionInstancesDeletionBatchOperationRequestBodySchema: z.ZodObject<{
|
|
376
400
|
filter: z.ZodObject<{
|
|
377
401
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
@@ -493,6 +517,9 @@ declare const createDecisionInstancesDeletionBatchOperationResponseBodySchema: z
|
|
|
493
517
|
}>;
|
|
494
518
|
}, z.core.$strip>;
|
|
495
519
|
type CreateDecisionInstancesDeletionBatchOperationResponseBody = z.infer<typeof createDecisionInstancesDeletionBatchOperationResponseBodySchema>;
|
|
496
|
-
declare const createDecisionInstancesDeletionBatchOperation:
|
|
520
|
+
declare const createDecisionInstancesDeletionBatchOperation: {
|
|
521
|
+
readonly method: "POST";
|
|
522
|
+
readonly getUrl: () => "/v2/decision-instances/deletion";
|
|
523
|
+
};
|
|
497
524
|
export { decisionDefinitionTypeSchema, decisionInstanceStateSchema, decisionInstanceSchema, queryDecisionInstancesFilterSchema, queryDecisionInstancesRequestBodySchema, queryDecisionInstancesResponseBodySchema, getDecisionInstanceResponseBodySchema, queryDecisionInstances, getDecisionInstance, createDecisionInstancesDeletionBatchOperationRequestBodySchema, createDecisionInstancesDeletionBatchOperationResponseBodySchema, createDecisionInstancesDeletionBatchOperation, };
|
|
498
525
|
export type { DecisionDefinitionType, DecisionInstanceState, DecisionInstance, QueryDecisionInstancesFilter, QueryDecisionInstancesRequestBody, QueryDecisionInstancesResponseBody, GetDecisionInstanceResponseBody, CreateDecisionInstancesDeletionBatchOperationRequestBody, CreateDecisionInstancesDeletionBatchOperationResponseBody, };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { Endpoint } from './common';
|
|
3
2
|
declare const decisionRequirementsSchema: z.ZodObject<{
|
|
4
3
|
decisionRequirementsName: z.ZodString;
|
|
5
4
|
version: z.ZodNumber;
|
|
@@ -57,8 +56,31 @@ declare const queryDecisionRequirementsResponseBodySchema: z.ZodType<import('./c
|
|
|
57
56
|
type QueryDecisionRequirementsResponseBody = z.infer<typeof queryDecisionRequirementsResponseBodySchema>;
|
|
58
57
|
declare const getDecisionRequirementsXmlResponseBodySchema: z.ZodString;
|
|
59
58
|
type GetDecisionRequirementsXmlResponseBody = z.infer<typeof getDecisionRequirementsXmlResponseBodySchema>;
|
|
60
|
-
declare const queryDecisionRequirements:
|
|
61
|
-
|
|
62
|
-
|
|
59
|
+
declare const queryDecisionRequirements: {
|
|
60
|
+
readonly method: "POST";
|
|
61
|
+
readonly getUrl: () => "/v2/decision-requirements/search";
|
|
62
|
+
};
|
|
63
|
+
declare const getDecisionRequirements: {
|
|
64
|
+
readonly method: "GET";
|
|
65
|
+
readonly getUrl: ({ decisionRequirementsKey }: Pick<{
|
|
66
|
+
decisionRequirementsName: string;
|
|
67
|
+
version: number;
|
|
68
|
+
decisionRequirementsId: string;
|
|
69
|
+
resourceName: string;
|
|
70
|
+
tenantId: string;
|
|
71
|
+
decisionRequirementsKey: string;
|
|
72
|
+
}, "decisionRequirementsKey">) => `/v2/decision-requirements/${string}`;
|
|
73
|
+
};
|
|
74
|
+
declare const getDecisionRequirementsXml: {
|
|
75
|
+
readonly method: "GET";
|
|
76
|
+
readonly getUrl: ({ decisionRequirementsKey }: Pick<{
|
|
77
|
+
decisionRequirementsName: string;
|
|
78
|
+
version: number;
|
|
79
|
+
decisionRequirementsId: string;
|
|
80
|
+
resourceName: string;
|
|
81
|
+
tenantId: string;
|
|
82
|
+
decisionRequirementsKey: string;
|
|
83
|
+
}, "decisionRequirementsKey">) => `/v2/decision-requirements/${string}/xml`;
|
|
84
|
+
};
|
|
63
85
|
export { decisionRequirementsSchema, queryDecisionRequirementsRequestBodySchema, queryDecisionRequirementsResponseBodySchema, getDecisionRequirementsXmlResponseBodySchema, queryDecisionRequirements, getDecisionRequirements, getDecisionRequirementsXml, };
|
|
64
86
|
export type { DecisionRequirements, QueryDecisionRequirementsRequestBody, QueryDecisionRequirementsResponseBody, GetDecisionRequirementsXmlResponseBody, };
|
package/dist/8.10/document.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { Endpoint } from './common';
|
|
3
2
|
declare const documentMetadataSchema: z.ZodObject<{
|
|
4
3
|
contentType: z.ZodString;
|
|
5
4
|
fileName: z.ZodString;
|
|
@@ -68,26 +67,41 @@ declare const documentLinkSchema: z.ZodObject<{
|
|
|
68
67
|
type DocumentLink = z.infer<typeof documentLinkSchema>;
|
|
69
68
|
declare const getDocumentResponseBodySchema: z.ZodString;
|
|
70
69
|
type GetDocumentResponseBody = z.infer<typeof getDocumentResponseBodySchema>;
|
|
71
|
-
declare const createDocument:
|
|
72
|
-
|
|
73
|
-
documentId:
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
}
|
|
78
|
-
declare const
|
|
79
|
-
|
|
80
|
-
storeId?:
|
|
81
|
-
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
}
|
|
70
|
+
declare const createDocument: {
|
|
71
|
+
readonly method: "POST";
|
|
72
|
+
readonly getUrl: ({ storeId, documentId }: {
|
|
73
|
+
storeId?: string;
|
|
74
|
+
documentId: string;
|
|
75
|
+
}) => `/v2/documents${string}`;
|
|
76
|
+
};
|
|
77
|
+
declare const createDocuments: {
|
|
78
|
+
readonly method: "POST";
|
|
79
|
+
readonly getUrl: ({ storeId }?: {
|
|
80
|
+
storeId?: string;
|
|
81
|
+
} | undefined) => `/v2/documents/batch${string}`;
|
|
82
|
+
};
|
|
83
|
+
declare const getDocument: {
|
|
84
|
+
readonly method: "GET";
|
|
85
|
+
readonly getUrl: ({ documentId, storeId, contentHash }: {
|
|
86
|
+
documentId: string;
|
|
87
|
+
storeId?: string;
|
|
88
|
+
contentHash?: string;
|
|
89
|
+
}) => `/v2/documents/${string}${string}`;
|
|
90
|
+
};
|
|
91
|
+
declare const deleteDocument: {
|
|
92
|
+
readonly method: "DELETE";
|
|
93
|
+
readonly getUrl: ({ documentId, storeId }: {
|
|
94
|
+
documentId: string;
|
|
95
|
+
storeId?: string;
|
|
96
|
+
}) => `/v2/documents/${string}${string}`;
|
|
97
|
+
};
|
|
98
|
+
declare const createDocumentLink: {
|
|
99
|
+
readonly method: "POST";
|
|
100
|
+
readonly getUrl: ({ documentId, storeId, contentHash }: {
|
|
101
|
+
documentId: string;
|
|
102
|
+
storeId?: string;
|
|
103
|
+
contentHash?: string;
|
|
104
|
+
}) => `/v2/documents/${string}/links${string}`;
|
|
105
|
+
};
|
|
92
106
|
export { documentMetadataSchema, documentReferenceSchema, documentCreationFailureDetailSchema, createDocumentsResponseBodySchema, documentLinkRequestBodySchema, documentLinkSchema, getDocumentResponseBodySchema, createDocument, createDocuments, getDocument, deleteDocument, createDocumentLink, };
|
|
93
107
|
export type { DocumentMetadata, DocumentReference, DocumentCreationFailureDetail, CreateDocumentsResponseBody, DocumentLinkRequestBody, DocumentLink, GetDocumentResponseBody, };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { Endpoint } from './common';
|
|
3
2
|
declare const waitStateTypeSchema: z.ZodEnum<{
|
|
4
3
|
USER_TASK: "USER_TASK";
|
|
5
4
|
MESSAGE: "MESSAGE";
|
|
@@ -571,6 +570,9 @@ declare const queryElementInstanceInspectionResponseBodySchema: z.ZodType<import
|
|
|
571
570
|
};
|
|
572
571
|
}>, unknown>>;
|
|
573
572
|
type QueryElementInstanceInspectionResponseBody = z.infer<typeof queryElementInstanceInspectionResponseBodySchema>;
|
|
574
|
-
declare const queryElementInstanceInspection:
|
|
573
|
+
declare const queryElementInstanceInspection: {
|
|
574
|
+
readonly method: "POST";
|
|
575
|
+
readonly getUrl: () => "/v2/element-instances/wait-states/search";
|
|
576
|
+
};
|
|
575
577
|
export { waitStateTypeSchema, waitStateElementTypeSchema, waitStateDetailsSchema, jobWaitStateDetailsSchema, messageWaitStateDetailsSchema, userTaskWaitStateDetailsSchema, timerWaitStateDetailsSchema, signalWaitStateDetailsSchema, conditionWaitStateDetailsSchema, elementInstanceInspectionSchema, queryElementInstanceInspectionRequestBodySchema, queryElementInstanceInspectionResponseBodySchema, queryElementInstanceInspection, };
|
|
576
578
|
export type { WaitStateType, WaitStateElementType, WaitStateDetails, JobWaitStateDetails, MessageWaitStateDetails, UserTaskWaitStateDetails, TimerWaitStateDetails, SignalWaitStateDetails, ConditionWaitStateDetails, ElementInstanceInspection, QueryElementInstanceInspectionRequestBody, QueryElementInstanceInspectionResponseBody, };
|