@camunda/camunda-api-zod-schemas 0.0.49 → 0.0.51
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.9/authorization.d.ts +5 -84
- package/dist/8.9/authorization.js +2 -11
- package/dist/8.9/group-role.d.ts +1 -1
- package/dist/8.9/group-role.js +1 -1
- package/dist/8.9/group.d.ts +4 -2
- package/dist/8.9/group.js +1 -1
- package/dist/8.9/index.d.ts +18 -18
- package/dist/8.9/index.js +1 -2
- package/dist/8.9/role.d.ts +6 -6
- package/dist/8.9/tenant.d.ts +2 -2
- package/dist/8.9.js +1 -2
- package/package.json +1 -1
|
@@ -77,85 +77,6 @@ declare const ownerTypeSchema: z.ZodEnum<{
|
|
|
77
77
|
}>;
|
|
78
78
|
type OwnerType = z.infer<typeof ownerTypeSchema>;
|
|
79
79
|
declare const authorizationSchema: z.ZodObject<{
|
|
80
|
-
ownerId: z.ZodString;
|
|
81
|
-
ownerType: z.ZodEnum<{
|
|
82
|
-
UNSPECIFIED: "UNSPECIFIED";
|
|
83
|
-
MAPPING_RULE: "MAPPING_RULE";
|
|
84
|
-
GROUP: "GROUP";
|
|
85
|
-
USER: "USER";
|
|
86
|
-
ROLE: "ROLE";
|
|
87
|
-
CLIENT: "CLIENT";
|
|
88
|
-
}>;
|
|
89
|
-
resourceType: z.ZodEnum<{
|
|
90
|
-
USER_TASK: "USER_TASK";
|
|
91
|
-
AUTHORIZATION: "AUTHORIZATION";
|
|
92
|
-
MAPPING_RULE: "MAPPING_RULE";
|
|
93
|
-
MESSAGE: "MESSAGE";
|
|
94
|
-
BATCH: "BATCH";
|
|
95
|
-
SYSTEM: "SYSTEM";
|
|
96
|
-
TENANT: "TENANT";
|
|
97
|
-
RESOURCE: "RESOURCE";
|
|
98
|
-
PROCESS_DEFINITION: "PROCESS_DEFINITION";
|
|
99
|
-
DECISION_REQUIREMENTS_DEFINITION: "DECISION_REQUIREMENTS_DEFINITION";
|
|
100
|
-
DECISION_DEFINITION: "DECISION_DEFINITION";
|
|
101
|
-
GROUP: "GROUP";
|
|
102
|
-
USER: "USER";
|
|
103
|
-
ROLE: "ROLE";
|
|
104
|
-
AUDIT_LOG: "AUDIT_LOG";
|
|
105
|
-
CLUSTER_VARIABLE: "CLUSTER_VARIABLE";
|
|
106
|
-
COMPONENT: "COMPONENT";
|
|
107
|
-
DOCUMENT: "DOCUMENT";
|
|
108
|
-
EXPRESSION: "EXPRESSION";
|
|
109
|
-
GLOBAL_LISTENER: "GLOBAL_LISTENER";
|
|
110
|
-
}>;
|
|
111
|
-
resourceId: z.ZodString;
|
|
112
|
-
permissionTypes: z.ZodArray<z.ZodEnum<{
|
|
113
|
-
ACCESS: "ACCESS";
|
|
114
|
-
CREATE: "CREATE";
|
|
115
|
-
CREATE_BATCH_OPERATION_CANCEL_PROCESS_INSTANCE: "CREATE_BATCH_OPERATION_CANCEL_PROCESS_INSTANCE";
|
|
116
|
-
CREATE_BATCH_OPERATION_DELETE_PROCESS_INSTANCE: "CREATE_BATCH_OPERATION_DELETE_PROCESS_INSTANCE";
|
|
117
|
-
CREATE_BATCH_OPERATION_MIGRATE_PROCESS_INSTANCE: "CREATE_BATCH_OPERATION_MIGRATE_PROCESS_INSTANCE";
|
|
118
|
-
CREATE_BATCH_OPERATION_MODIFY_PROCESS_INSTANCE: "CREATE_BATCH_OPERATION_MODIFY_PROCESS_INSTANCE";
|
|
119
|
-
CREATE_BATCH_OPERATION_RESOLVE_INCIDENT: "CREATE_BATCH_OPERATION_RESOLVE_INCIDENT";
|
|
120
|
-
CREATE_BATCH_OPERATION_DELETE_DECISION_INSTANCE: "CREATE_BATCH_OPERATION_DELETE_DECISION_INSTANCE";
|
|
121
|
-
CREATE_BATCH_OPERATION_DELETE_DECISION_DEFINITION: "CREATE_BATCH_OPERATION_DELETE_DECISION_DEFINITION";
|
|
122
|
-
CREATE_BATCH_OPERATION_DELETE_PROCESS_DEFINITION: "CREATE_BATCH_OPERATION_DELETE_PROCESS_DEFINITION";
|
|
123
|
-
CREATE_PROCESS_INSTANCE: "CREATE_PROCESS_INSTANCE";
|
|
124
|
-
CREATE_DECISION_INSTANCE: "CREATE_DECISION_INSTANCE";
|
|
125
|
-
READ: "READ";
|
|
126
|
-
READ_PROCESS_INSTANCE: "READ_PROCESS_INSTANCE";
|
|
127
|
-
READ_USER_TASK: "READ_USER_TASK";
|
|
128
|
-
READ_DECISION_INSTANCE: "READ_DECISION_INSTANCE";
|
|
129
|
-
READ_PROCESS_DEFINITION: "READ_PROCESS_DEFINITION";
|
|
130
|
-
READ_DECISION_DEFINITION: "READ_DECISION_DEFINITION";
|
|
131
|
-
UPDATE: "UPDATE";
|
|
132
|
-
UPDATE_PROCESS_INSTANCE: "UPDATE_PROCESS_INSTANCE";
|
|
133
|
-
UPDATE_USER_TASK: "UPDATE_USER_TASK";
|
|
134
|
-
DELETE: "DELETE";
|
|
135
|
-
DELETE_PROCESS: "DELETE_PROCESS";
|
|
136
|
-
DELETE_DRD: "DELETE_DRD";
|
|
137
|
-
DELETE_FORM: "DELETE_FORM";
|
|
138
|
-
DELETE_RESOURCE: "DELETE_RESOURCE";
|
|
139
|
-
DELETE_PROCESS_INSTANCE: "DELETE_PROCESS_INSTANCE";
|
|
140
|
-
DELETE_DECISION_INSTANCE: "DELETE_DECISION_INSTANCE";
|
|
141
|
-
CANCEL_PROCESS_INSTANCE: "CANCEL_PROCESS_INSTANCE";
|
|
142
|
-
MODIFY_PROCESS_INSTANCE: "MODIFY_PROCESS_INSTANCE";
|
|
143
|
-
CLAIM: "CLAIM";
|
|
144
|
-
COMPLETE: "COMPLETE";
|
|
145
|
-
CREATE_TASK_LISTENER: "CREATE_TASK_LISTENER";
|
|
146
|
-
READ_JOB_METRIC: "READ_JOB_METRIC";
|
|
147
|
-
READ_TASK_LISTENER: "READ_TASK_LISTENER";
|
|
148
|
-
READ_USAGE_METRIC: "READ_USAGE_METRIC";
|
|
149
|
-
UPDATE_TASK_LISTENER: "UPDATE_TASK_LISTENER";
|
|
150
|
-
DELETE_TASK_LISTENER: "DELETE_TASK_LISTENER";
|
|
151
|
-
EVALUATE: "EVALUATE";
|
|
152
|
-
CLAIM_USER_TASK: "CLAIM_USER_TASK";
|
|
153
|
-
COMPLETE_USER_TASK: "COMPLETE_USER_TASK";
|
|
154
|
-
}>>;
|
|
155
|
-
authorizationKey: z.ZodString;
|
|
156
|
-
}, z.core.$strip>;
|
|
157
|
-
type Authorization = z.infer<typeof authorizationSchema>;
|
|
158
|
-
declare const authorizationResultSchema: z.ZodObject<{
|
|
159
80
|
ownerId: z.ZodString;
|
|
160
81
|
ownerType: z.ZodEnum<{
|
|
161
82
|
UNSPECIFIED: "UNSPECIFIED";
|
|
@@ -234,7 +155,7 @@ declare const authorizationResultSchema: z.ZodObject<{
|
|
|
234
155
|
}>>;
|
|
235
156
|
authorizationKey: z.ZodString;
|
|
236
157
|
}, z.core.$strip>;
|
|
237
|
-
type
|
|
158
|
+
type Authorization = z.infer<typeof authorizationSchema>;
|
|
238
159
|
declare const createAuthorizationRequestBodySchema: z.ZodObject<{
|
|
239
160
|
ownerType: z.ZodEnum<{
|
|
240
161
|
UNSPECIFIED: "UNSPECIFIED";
|
|
@@ -267,7 +188,7 @@ declare const createAuthorizationRequestBodySchema: z.ZodObject<{
|
|
|
267
188
|
GLOBAL_LISTENER: "GLOBAL_LISTENER";
|
|
268
189
|
}>;
|
|
269
190
|
ownerId: z.ZodString;
|
|
270
|
-
resourceId: z.ZodString
|
|
191
|
+
resourceId: z.ZodNullable<z.ZodString>;
|
|
271
192
|
permissionTypes: z.ZodArray<z.ZodEnum<{
|
|
272
193
|
ACCESS: "ACCESS";
|
|
273
194
|
CREATE: "CREATE";
|
|
@@ -349,7 +270,7 @@ declare const updateAuthorizationRequestBodySchema: z.ZodObject<{
|
|
|
349
270
|
GLOBAL_LISTENER: "GLOBAL_LISTENER";
|
|
350
271
|
}>>;
|
|
351
272
|
ownerId: z.ZodOptional<z.ZodString>;
|
|
352
|
-
resourceId: z.ZodOptional<z.ZodString
|
|
273
|
+
resourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
353
274
|
permissionTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
354
275
|
ACCESS: "ACCESS";
|
|
355
276
|
CREATE: "CREATE";
|
|
@@ -559,5 +480,5 @@ declare const deleteAuthorization: Endpoint<{
|
|
|
559
480
|
authorizationKey: string;
|
|
560
481
|
}>;
|
|
561
482
|
declare const queryAuthorizations: Endpoint;
|
|
562
|
-
export { permissionTypeSchema, resourceTypeSchema, ownerTypeSchema, authorizationSchema,
|
|
563
|
-
export type { PermissionType, ResourceType, OwnerType, Authorization,
|
|
483
|
+
export { permissionTypeSchema, resourceTypeSchema, ownerTypeSchema, authorizationSchema, createAuthorizationRequestBodySchema, createAuthorizationResponseBodySchema, updateAuthorizationRequestBodySchema, getAuthorizationResponseBodySchema, queryAuthorizationsRequestBodySchema, queryAuthorizationsResponseBodySchema, createAuthorization, updateAuthorization, getAuthorization, deleteAuthorization, queryAuthorizations, };
|
|
484
|
+
export type { PermissionType, ResourceType, OwnerType, Authorization, CreateAuthorizationRequestBody, CreateAuthorizationResponseBody, UpdateAuthorizationRequestBody, GetAuthorizationResponseBody, QueryAuthorizationsRequestBody, QueryAuthorizationsResponseBody, };
|
|
@@ -67,14 +67,6 @@ const resourceTypeSchema = z.enum([
|
|
|
67
67
|
]);
|
|
68
68
|
const ownerTypeSchema = z.enum(["USER", "CLIENT", "ROLE", "GROUP", "MAPPING_RULE", "UNSPECIFIED"]);
|
|
69
69
|
const authorizationSchema = z.object({
|
|
70
|
-
ownerId: z.string(),
|
|
71
|
-
ownerType: ownerTypeSchema,
|
|
72
|
-
resourceType: resourceTypeSchema,
|
|
73
|
-
resourceId: z.string(),
|
|
74
|
-
permissionTypes: z.array(permissionTypeSchema),
|
|
75
|
-
authorizationKey: z.string()
|
|
76
|
-
});
|
|
77
|
-
const authorizationResultSchema = z.object({
|
|
78
70
|
ownerId: z.string(),
|
|
79
71
|
ownerType: ownerTypeSchema,
|
|
80
72
|
resourceType: resourceTypeSchema,
|
|
@@ -105,8 +97,8 @@ const queryAuthorizationsRequestBodySchema = getQueryRequestBodySchema({
|
|
|
105
97
|
}).shape
|
|
106
98
|
}).partial()
|
|
107
99
|
});
|
|
108
|
-
const getAuthorizationResponseBodySchema =
|
|
109
|
-
const queryAuthorizationsResponseBodySchema = getQueryResponseBodySchema(
|
|
100
|
+
const getAuthorizationResponseBodySchema = authorizationSchema;
|
|
101
|
+
const queryAuthorizationsResponseBodySchema = getQueryResponseBodySchema(authorizationSchema);
|
|
110
102
|
const createAuthorization = {
|
|
111
103
|
method: "POST",
|
|
112
104
|
getUrl: () => `/${API_VERSION}/authorizations`
|
|
@@ -128,7 +120,6 @@ const queryAuthorizations = {
|
|
|
128
120
|
getUrl: () => `/${API_VERSION}/authorizations/search`
|
|
129
121
|
};
|
|
130
122
|
export {
|
|
131
|
-
authorizationResultSchema,
|
|
132
123
|
authorizationSchema,
|
|
133
124
|
createAuthorization,
|
|
134
125
|
createAuthorizationRequestBodySchema,
|
package/dist/8.9/group-role.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ type Group = z.infer<typeof groupSchema>;
|
|
|
8
8
|
declare const roleSchema: z.ZodObject<{
|
|
9
9
|
roleId: z.ZodString;
|
|
10
10
|
name: z.ZodString;
|
|
11
|
-
description: z.ZodString
|
|
11
|
+
description: z.ZodNullable<z.ZodString>;
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
type Role = z.infer<typeof roleSchema>;
|
|
14
14
|
export { groupSchema, roleSchema };
|
package/dist/8.9/group-role.js
CHANGED
package/dist/8.9/group.d.ts
CHANGED
|
@@ -145,11 +145,13 @@ declare const queryRolesByGroupRequestBodySchema: z.ZodObject<{
|
|
|
145
145
|
}, z.core.$strip>;
|
|
146
146
|
type QueryRolesByGroupRequestBody = z.infer<typeof queryRolesByGroupRequestBodySchema>;
|
|
147
147
|
declare const queryRolesByGroupResponseBodySchema: z.ZodType<import('./common').QueryResponseBody<{
|
|
148
|
-
name: string;
|
|
149
148
|
roleId: string;
|
|
150
|
-
}>, unknown, z.core.$ZodTypeInternals<import('./common').QueryResponseBody<{
|
|
151
149
|
name: string;
|
|
150
|
+
description: string | null;
|
|
151
|
+
}>, unknown, z.core.$ZodTypeInternals<import('./common').QueryResponseBody<{
|
|
152
152
|
roleId: string;
|
|
153
|
+
name: string;
|
|
154
|
+
description: string | null;
|
|
153
155
|
}>, unknown>>;
|
|
154
156
|
type QueryRolesByGroupResponseBody = z.infer<typeof queryRolesByGroupResponseBodySchema>;
|
|
155
157
|
declare const queryRolesByGroup: Endpoint<Pick<Group, 'groupId'>>;
|
package/dist/8.9/group.js
CHANGED
|
@@ -87,7 +87,7 @@ const queryRolesByGroupRequestBodySchema = getQueryRequestBodySchema({
|
|
|
87
87
|
name: z.string()
|
|
88
88
|
}).partial()
|
|
89
89
|
});
|
|
90
|
-
const queryRolesByGroupResponseBodySchema = getQueryResponseBodySchema(roleSchema
|
|
90
|
+
const queryRolesByGroupResponseBodySchema = getQueryResponseBodySchema(roleSchema);
|
|
91
91
|
const queryRolesByGroup = {
|
|
92
92
|
method: "POST",
|
|
93
93
|
getUrl(params) {
|
package/dist/8.9/index.d.ts
CHANGED
|
@@ -786,61 +786,61 @@ declare const endpoints: {
|
|
|
786
786
|
readonly getRole: import('./common').Endpoint<Pick<{
|
|
787
787
|
roleId: string;
|
|
788
788
|
name: string;
|
|
789
|
-
description: string;
|
|
789
|
+
description: string | null;
|
|
790
790
|
}, "roleId">>;
|
|
791
791
|
readonly updateRole: import('./common').Endpoint<Pick<{
|
|
792
792
|
roleId: string;
|
|
793
793
|
name: string;
|
|
794
|
-
description: string;
|
|
794
|
+
description: string | null;
|
|
795
795
|
}, "roleId">>;
|
|
796
796
|
readonly deleteRole: import('./common').Endpoint<Pick<{
|
|
797
797
|
roleId: string;
|
|
798
798
|
name: string;
|
|
799
|
-
description: string;
|
|
799
|
+
description: string | null;
|
|
800
800
|
}, "roleId">>;
|
|
801
801
|
readonly queryRoles: import('./common').Endpoint<undefined>;
|
|
802
802
|
readonly queryUsersByRole: import('./common').Endpoint<Pick<{
|
|
803
803
|
roleId: string;
|
|
804
804
|
name: string;
|
|
805
|
-
description: string;
|
|
805
|
+
description: string | null;
|
|
806
806
|
}, "roleId">>;
|
|
807
807
|
readonly queryClientsByRole: import('./common').Endpoint<Pick<{
|
|
808
808
|
roleId: string;
|
|
809
809
|
name: string;
|
|
810
|
-
description: string;
|
|
810
|
+
description: string | null;
|
|
811
811
|
}, "roleId">>;
|
|
812
812
|
readonly assignUserToRole: import('./common').Endpoint<Pick<{
|
|
813
813
|
roleId: string;
|
|
814
814
|
name: string;
|
|
815
|
-
description: string;
|
|
815
|
+
description: string | null;
|
|
816
816
|
}, "roleId"> & {
|
|
817
817
|
username: string;
|
|
818
818
|
}>;
|
|
819
819
|
readonly unassignUserFromRole: import('./common').Endpoint<Pick<{
|
|
820
820
|
roleId: string;
|
|
821
821
|
name: string;
|
|
822
|
-
description: string;
|
|
822
|
+
description: string | null;
|
|
823
823
|
}, "roleId"> & {
|
|
824
824
|
username: string;
|
|
825
825
|
}>;
|
|
826
826
|
readonly assignClientToRole: import('./common').Endpoint<Pick<{
|
|
827
827
|
roleId: string;
|
|
828
828
|
name: string;
|
|
829
|
-
description: string;
|
|
829
|
+
description: string | null;
|
|
830
830
|
}, "roleId"> & {
|
|
831
831
|
clientId: string;
|
|
832
832
|
}>;
|
|
833
833
|
readonly unassignClientFromRole: import('./common').Endpoint<Pick<{
|
|
834
834
|
roleId: string;
|
|
835
835
|
name: string;
|
|
836
|
-
description: string;
|
|
836
|
+
description: string | null;
|
|
837
837
|
}, "roleId"> & {
|
|
838
838
|
clientId: string;
|
|
839
839
|
}>;
|
|
840
840
|
readonly assignGroupToRole: import('./common').Endpoint<Pick<{
|
|
841
841
|
roleId: string;
|
|
842
842
|
name: string;
|
|
843
|
-
description: string;
|
|
843
|
+
description: string | null;
|
|
844
844
|
}, "roleId"> & Pick<{
|
|
845
845
|
groupId: string;
|
|
846
846
|
name: string;
|
|
@@ -849,7 +849,7 @@ declare const endpoints: {
|
|
|
849
849
|
readonly unassignGroupFromRole: import('./common').Endpoint<Pick<{
|
|
850
850
|
roleId: string;
|
|
851
851
|
name: string;
|
|
852
|
-
description: string;
|
|
852
|
+
description: string | null;
|
|
853
853
|
}, "roleId"> & Pick<{
|
|
854
854
|
groupId: string;
|
|
855
855
|
name: string;
|
|
@@ -858,12 +858,12 @@ declare const endpoints: {
|
|
|
858
858
|
readonly queryGroupsByRole: import('./common').Endpoint<Pick<{
|
|
859
859
|
roleId: string;
|
|
860
860
|
name: string;
|
|
861
|
-
description: string;
|
|
861
|
+
description: string | null;
|
|
862
862
|
}, "roleId">>;
|
|
863
863
|
readonly assignMappingToRole: import('./common').Endpoint<Pick<{
|
|
864
864
|
roleId: string;
|
|
865
865
|
name: string;
|
|
866
|
-
description: string;
|
|
866
|
+
description: string | null;
|
|
867
867
|
}, "roleId"> & Pick<{
|
|
868
868
|
mappingRuleId: string;
|
|
869
869
|
claimName: string;
|
|
@@ -873,7 +873,7 @@ declare const endpoints: {
|
|
|
873
873
|
readonly unassignMappingFromRole: import('./common').Endpoint<Pick<{
|
|
874
874
|
roleId: string;
|
|
875
875
|
name: string;
|
|
876
|
-
description: string;
|
|
876
|
+
description: string | null;
|
|
877
877
|
}, "roleId"> & Pick<{
|
|
878
878
|
mappingRuleId: string;
|
|
879
879
|
claimName: string;
|
|
@@ -883,7 +883,7 @@ declare const endpoints: {
|
|
|
883
883
|
readonly queryMappingRulesByRole: import('./common').Endpoint<Pick<{
|
|
884
884
|
roleId: string;
|
|
885
885
|
name: string;
|
|
886
|
-
description: string;
|
|
886
|
+
description: string | null;
|
|
887
887
|
}, "roleId">>;
|
|
888
888
|
readonly broadcastSignal: import('./common').Endpoint<undefined>;
|
|
889
889
|
readonly createTenant: import('./common').Endpoint<undefined>;
|
|
@@ -1001,7 +1001,7 @@ declare const endpoints: {
|
|
|
1001
1001
|
}, "tenantId"> & Pick<{
|
|
1002
1002
|
roleId: string;
|
|
1003
1003
|
name: string;
|
|
1004
|
-
description: string;
|
|
1004
|
+
description: string | null;
|
|
1005
1005
|
}, "roleId">>;
|
|
1006
1006
|
readonly unassignRoleFromTenant: import('./common').Endpoint<Pick<{
|
|
1007
1007
|
tenantId: string;
|
|
@@ -1010,7 +1010,7 @@ declare const endpoints: {
|
|
|
1010
1010
|
}, "tenantId"> & Pick<{
|
|
1011
1011
|
roleId: string;
|
|
1012
1012
|
name: string;
|
|
1013
|
-
description: string;
|
|
1013
|
+
description: string | null;
|
|
1014
1014
|
}, "roleId">>;
|
|
1015
1015
|
readonly createUser: import('./common').Endpoint<undefined>;
|
|
1016
1016
|
readonly queryUsers: import('./common').Endpoint<undefined>;
|
|
@@ -1140,7 +1140,7 @@ export { deleteProcessInstanceRequestBodySchema, modifyProcessInstanceRequestBod
|
|
|
1140
1140
|
export { getIncidentProcessInstanceStatisticsByErrorRequestBodySchema, getIncidentProcessInstanceStatisticsByErrorResponseBodySchema, incidentProcessInstanceStatisticsByErrorSchema, getIncidentProcessInstanceStatisticsByDefinitionRequestBodySchema, getIncidentProcessInstanceStatisticsByDefinitionResponseBodySchema, incidentProcessInstanceStatisticsByDefinitionSchema, type IncidentProcessInstanceStatisticsByError, type GetIncidentProcessInstanceStatisticsByErrorRequestBody, type GetIncidentProcessInstanceStatisticsByErrorResponseBody, type IncidentProcessInstanceStatisticsByDefinition, type GetIncidentProcessInstanceStatisticsByDefinitionRequestBody, type GetIncidentProcessInstanceStatisticsByDefinitionResponseBody, } from './incident-statistics';
|
|
1141
1141
|
export { currentUserSchema, getCurrentUser, type CurrentUser } from './authentication';
|
|
1142
1142
|
export { activityTypeSchema, queryActivatableActivitiesRequestBodySchema, queryActivatableActivitiesResponseBodySchema, activateActivityWithinAdHocSubProcessRequestBodySchema, activateActivityWithinAdHocSubProcessResponseBodySchema, type ActivityType, type QueryActivatableActivitiesRequestBody, type ActivatableActivity, type QueryActivatableActivitiesResponseBody, type ActivateActivityWithinAdHocSubProcessRequestBody, type ActivateActivityWithinAdHocSubProcessResponseBody, } from './ad-hoc-sub-process';
|
|
1143
|
-
export { permissionTypeSchema, resourceTypeSchema, ownerTypeSchema,
|
|
1143
|
+
export { permissionTypeSchema, resourceTypeSchema, ownerTypeSchema, createAuthorizationRequestBodySchema, createAuthorizationResponseBodySchema, updateAuthorizationRequestBodySchema, getAuthorizationResponseBodySchema, queryAuthorizationsRequestBodySchema, queryAuthorizationsResponseBodySchema, authorizationSchema, type Authorization, type PermissionType, type ResourceType, type OwnerType, type CreateAuthorizationResponseBody, type GetAuthorizationResponseBody, type QueryAuthorizationsRequestBody, type QueryAuthorizationsResponseBody, type CreateAuthorizationRequestBody, type UpdateAuthorizationRequestBody, } from './authorization';
|
|
1144
1144
|
export { batchOperationTypeSchema, batchOperationStateSchema, batchOperationItemStateSchema, batchOperationSchema, batchOperationItemSchema, queryBatchOperationsRequestBodySchema, queryBatchOperationsResponseBodySchema, queryBatchOperationItemsRequestBodySchema, queryBatchOperationItemsResponseBodySchema, type BatchOperationType, type BatchOperationState, type BatchOperationItemState, type BatchOperation, type BatchOperationItem, type QueryBatchOperationsRequestBody, type QueryBatchOperationsResponseBody, type QueryBatchOperationItemsRequestBody, type QueryBatchOperationItemsResponseBody, } from './batch-operation';
|
|
1145
1145
|
export { pinClockRequestBodySchema, type PinClockRequestBody } from './clock';
|
|
1146
1146
|
export { partitionRoleSchema, partitionHealthSchema, partitionSchema, brokerInfoSchema, getTopologyResponseBodySchema, type PartitionRole, type PartitionHealth, type Partition, type BrokerInfo, type GetTopologyResponseBody, } from './cluster';
|
package/dist/8.9/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { currentUserSchema, getCurrentUser } from "./authentication.js";
|
|
2
2
|
import { activateActivityWithinAdHocSubProcessRequestBodySchema, activateActivityWithinAdHocSubProcessResponseBodySchema, activityTypeSchema, queryActivatableActivitiesRequestBodySchema, queryActivatableActivitiesResponseBodySchema } from "./ad-hoc-sub-process.js";
|
|
3
|
-
import {
|
|
3
|
+
import { authorizationSchema, createAuthorizationRequestBodySchema, createAuthorizationResponseBodySchema, getAuthorizationResponseBodySchema, ownerTypeSchema, permissionTypeSchema, queryAuthorizationsRequestBodySchema, queryAuthorizationsResponseBodySchema, resourceTypeSchema, updateAuthorizationRequestBodySchema } from "./authorization.js";
|
|
4
4
|
import { batchOperationItemSchema, batchOperationItemStateSchema, batchOperationSchema, batchOperationStateSchema, batchOperationTypeSchema, queryBatchOperationItemsRequestBodySchema, queryBatchOperationItemsResponseBodySchema, queryBatchOperationsRequestBodySchema, queryBatchOperationsResponseBodySchema } from "./batch-operation.js";
|
|
5
5
|
import { pinClockRequestBodySchema } from "./clock.js";
|
|
6
6
|
import { brokerInfoSchema, getTopologyResponseBodySchema, partitionHealthSchema, partitionRoleSchema, partitionSchema } from "./cluster.js";
|
|
@@ -52,7 +52,6 @@ export {
|
|
|
52
52
|
auditLogResultSchema,
|
|
53
53
|
auditLogSchema,
|
|
54
54
|
auditLogSortFieldEnum,
|
|
55
|
-
authorizationResultSchema,
|
|
56
55
|
authorizationSchema,
|
|
57
56
|
batchOperationCreatedResultSchema,
|
|
58
57
|
batchOperationItemSchema,
|
package/dist/8.9/role.d.ts
CHANGED
|
@@ -5,24 +5,24 @@ import { MappingRule } from './mapping-rule';
|
|
|
5
5
|
declare const createRoleRequestBodySchema: z.ZodObject<{
|
|
6
6
|
roleId: z.ZodString;
|
|
7
7
|
name: z.ZodString;
|
|
8
|
-
description: z.ZodString
|
|
8
|
+
description: z.ZodNullable<z.ZodString>;
|
|
9
9
|
}, z.core.$strip>;
|
|
10
10
|
type CreateRoleRequestBody = z.infer<typeof createRoleRequestBodySchema>;
|
|
11
11
|
declare const createRoleResponseBodySchema: z.ZodObject<{
|
|
12
12
|
roleId: z.ZodString;
|
|
13
13
|
name: z.ZodString;
|
|
14
|
-
description: z.ZodString
|
|
14
|
+
description: z.ZodNullable<z.ZodString>;
|
|
15
15
|
}, z.core.$strip>;
|
|
16
16
|
type CreateRoleResponseBody = z.infer<typeof createRoleResponseBodySchema>;
|
|
17
17
|
declare const updateRoleRequestBodySchema: z.ZodObject<{
|
|
18
|
-
description: z.ZodString
|
|
18
|
+
description: z.ZodNullable<z.ZodString>;
|
|
19
19
|
name: z.ZodString;
|
|
20
20
|
}, z.core.$strip>;
|
|
21
21
|
type UpdateRoleRequestBody = z.infer<typeof updateRoleRequestBodySchema>;
|
|
22
22
|
declare const updateRoleResponseBodySchema: z.ZodObject<{
|
|
23
23
|
roleId: z.ZodString;
|
|
24
24
|
name: z.ZodString;
|
|
25
|
-
description: z.ZodString
|
|
25
|
+
description: z.ZodNullable<z.ZodString>;
|
|
26
26
|
}, z.core.$strip>;
|
|
27
27
|
type UpdateRoleResponseBody = z.infer<typeof updateRoleResponseBodySchema>;
|
|
28
28
|
declare const queryRolesRequestBodySchema: z.ZodObject<{
|
|
@@ -51,11 +51,11 @@ type QueryRolesRequestBody = z.infer<typeof queryRolesRequestBodySchema>;
|
|
|
51
51
|
declare const queryRolesResponseBodySchema: z.ZodType<import('./common').QueryResponseBody<{
|
|
52
52
|
roleId: string;
|
|
53
53
|
name: string;
|
|
54
|
-
description: string;
|
|
54
|
+
description: string | null;
|
|
55
55
|
}>, unknown, z.core.$ZodTypeInternals<import('./common').QueryResponseBody<{
|
|
56
56
|
roleId: string;
|
|
57
57
|
name: string;
|
|
58
|
-
description: string;
|
|
58
|
+
description: string | null;
|
|
59
59
|
}>, unknown>>;
|
|
60
60
|
type QueryRolesResponseBody = z.infer<typeof queryRolesResponseBodySchema>;
|
|
61
61
|
declare const queryUsersByRoleRequestBodySchema: z.ZodObject<{
|
package/dist/8.9/tenant.d.ts
CHANGED
|
@@ -175,11 +175,11 @@ type QueryRolesByTenantRequestBody = z.infer<typeof queryRolesByTenantRequestBod
|
|
|
175
175
|
declare const queryRolesByTenantResponseBodySchema: z.ZodType<import('./common').QueryResponseBody<{
|
|
176
176
|
roleId: string;
|
|
177
177
|
name: string;
|
|
178
|
-
description: string;
|
|
178
|
+
description: string | null;
|
|
179
179
|
}>, unknown, z.core.$ZodTypeInternals<import('./common').QueryResponseBody<{
|
|
180
180
|
roleId: string;
|
|
181
181
|
name: string;
|
|
182
|
-
description: string;
|
|
182
|
+
description: string | null;
|
|
183
183
|
}>, unknown>>;
|
|
184
184
|
type QueryRolesByTenantResponseBody = z.infer<typeof queryRolesByTenantResponseBodySchema>;
|
|
185
185
|
declare const queryMappingRulesByTenantRequestBodySchema: z.ZodObject<{
|
package/dist/8.9.js
CHANGED
|
@@ -3,7 +3,7 @@ import { currentUserSchema } from "./8.9/authentication.js";
|
|
|
3
3
|
import { activateAdHocSubProcessActivities } from "./8.9/ad-hoc-sub-process.js";
|
|
4
4
|
import { activateActivityWithinAdHocSubProcessRequestBodySchema, activateActivityWithinAdHocSubProcessResponseBodySchema, activityTypeSchema, queryActivatableActivitiesRequestBodySchema, queryActivatableActivitiesResponseBodySchema } from "./8.9/ad-hoc-sub-process.js";
|
|
5
5
|
import { queryAuthorizations, deleteAuthorization, getAuthorization, updateAuthorization, createAuthorization } from "./8.9/authorization.js";
|
|
6
|
-
import {
|
|
6
|
+
import { authorizationSchema, createAuthorizationRequestBodySchema, createAuthorizationResponseBodySchema, getAuthorizationResponseBodySchema, ownerTypeSchema, permissionTypeSchema, queryAuthorizationsRequestBodySchema, queryAuthorizationsResponseBodySchema, resourceTypeSchema, updateAuthorizationRequestBodySchema } from "./8.9/authorization.js";
|
|
7
7
|
import { queryBatchOperationItems, resumeBatchOperation, suspendBatchOperation, cancelBatchOperation, queryBatchOperations, getBatchOperation } from "./8.9/batch-operation.js";
|
|
8
8
|
import { batchOperationItemSchema, batchOperationItemStateSchema, batchOperationSchema, batchOperationStateSchema, batchOperationTypeSchema, queryBatchOperationItemsRequestBodySchema, queryBatchOperationItemsResponseBodySchema, queryBatchOperationsRequestBodySchema, queryBatchOperationsResponseBodySchema } from "./8.9/batch-operation.js";
|
|
9
9
|
import { resetClock, pinClock } from "./8.9/clock.js";
|
|
@@ -255,7 +255,6 @@ export {
|
|
|
255
255
|
auditLogResultSchema,
|
|
256
256
|
auditLogSchema,
|
|
257
257
|
auditLogSortFieldEnum,
|
|
258
|
-
authorizationResultSchema,
|
|
259
258
|
authorizationSchema,
|
|
260
259
|
batchOperationCreatedResultSchema,
|
|
261
260
|
batchOperationItemSchema,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camunda/camunda-api-zod-schemas",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.51",
|
|
4
4
|
"license": "LicenseRef-Camunda-1.0",
|
|
5
5
|
"description": "Zod schemas and TypeScript types for Camunda 8 unified API",
|
|
6
6
|
"author": "Vinicius Goulart <vinicius.goulart@camunda.com>",
|