@camunda8/orchestration-cluster-api 8.9.0-alpha.21 → 8.9.0-alpha.23
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/CHANGELOG.md +34 -0
- package/README.md +120 -7
- package/dist/{chunk-2N2LUTZ2.js → chunk-KQ4UL2WX.js} +3 -3
- package/dist/chunk-KQ4UL2WX.js.map +1 -0
- package/dist/{chunk-Z5TE7HRA.js → chunk-W7A45XXW.js} +227 -114
- package/dist/chunk-W7A45XXW.js.map +1 -0
- package/dist/fp/index.cjs +222 -111
- package/dist/fp/index.cjs.map +1 -1
- package/dist/fp/index.d.cts +1 -1
- package/dist/fp/index.d.ts +1 -1
- package/dist/fp/index.js +2 -2
- package/dist/{index-ddM18uDQ.d.cts → index-kEPhHRPZ.d.cts} +50 -10
- package/dist/{index-BmDqK0O0.d.ts → index-ofViYvpy.d.ts} +50 -10
- package/dist/index.cjs +250 -139
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +31 -31
- package/dist/index.js.map +1 -1
- package/dist/logger.cjs +2 -2
- package/dist/logger.cjs.map +1 -1
- package/dist/logger.js +1 -1
- package/dist/threadWorkerEntry.cjs +2 -2
- package/dist/threadWorkerEntry.cjs.map +1 -1
- package/dist/threadWorkerEntry.js +2 -2
- package/dist/threadWorkerEntry.js.map +1 -1
- package/package.json +14 -23
- package/dist/chunk-2N2LUTZ2.js.map +0 -1
- package/dist/chunk-Z5TE7HRA.js.map +0 -1
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/loose.ts","../src/resultClient.ts","../src/gen/types.gen.ts","../src/index.ts"],"sourcesContent":["// Factory producing a client with all CamundaKey<T>-branded string types downgraded to plain string.\n// Purely a type-level transformation: runtime behavior identical to createCamundaClient.\n\nimport { createCamundaClient } from './gen/CamundaClient';\n\nimport type { CancelablePromise } from './gen/CamundaClient';\n\n// Detect a branded string of the form string & { readonly __brand: ... }\ntype IsBrandedKey<T> = T extends string & { readonly __brand: infer _B } ? true : false;\n\n// Transform function parameters & return types recursively.\n// We handle promises, arrays, readonly arrays, objects, and functions.\n// Note: We relax types only (brand -> string) so casting is safe.\nexport type Loose<T> =\n // Branded key -> plain string\n IsBrandedKey<T> extends true\n ? string\n : // Preserve cancelable promise wrapper while loosening inner payload\n T extends CancelablePromise<infer P>\n ? CancelablePromise<Loose<P>>\n : // Generic promise unwrap & rewrap\n T extends Promise<infer P>\n ? Promise<Loose<P>>\n : // Arrays\n T extends (infer U)[]\n ? Loose<U>[]\n : T extends ReadonlyArray<infer U>\n ? ReadonlyArray<Loose<U>>\n : // Functions\n T extends (...a: infer A) => infer R\n ? (...a: { [I in keyof A]: Loose<A[I]> }) => Loose<R>\n : // Objects (exclude primitives/Date/etc.)\n T extends object\n ? { [K in keyof T]: Loose<T[K]> }\n : // Fallback: leave as-is\n T;\n\n/**\n * Create a client where all branded key types are widened to string.\n * Use when integrating with external systems or when dynamic string keys are common and brand friction is unwanted.\n * For maximum type safety prefer the strict createCamundaClient.\n */\nexport function createCamundaClientLoose(\n ...args: Parameters<typeof createCamundaClient>\n): Loose<ReturnType<typeof createCamundaClient>> {\n const strict = createCamundaClient(...args);\n return strict as unknown as Loose<ReturnType<typeof createCamundaClient>>;\n}\n\nexport type CamundaClientLoose = ReturnType<typeof createCamundaClientLoose>;\n","// Functional-style wrapper that converts thrown errors into Result objects.\nimport { createCamundaClient, CamundaOptions, CamundaClient } from './gen/CamundaClient';\n\nexport type Result<T, E = unknown> = { ok: true; value: T } | { ok: false; error: E };\nexport const isOk = <T, E>(r: Result<T, E>): r is { ok: true; value: T } => r.ok;\nexport const isErr = <T, E>(r: Result<T, E>): r is { ok: false; error: E } => !r.ok;\n\n// Narrow utility: detect a thenable\nfunction isPromise(v: any): v is Promise<unknown> {\n return v && typeof v.then === 'function';\n}\n\n/**\n * @experimental This feature is under development and is not guaranteed to be fully tested or stable.\n * @description Factory returning a proxy that mirrors the CamundaClient surface but never throws.\n * All async returning methods (Promise or CancelablePromise) are wrapped into Promise<Result<..>>.\n * Synchronous utility methods (e.g. logger(), getConfig()) are passed through unchanged.\n * */\nexport function createCamundaResultClient(options?: CamundaOptions) {\n const base = createCamundaClient(options);\n\n const handler: ProxyHandler<any> = {\n get(_target, prop, _recv) {\n if (prop === 'inner') return base;\n const value = (base as any)[prop];\n if (typeof value !== 'function') return value;\n return (...args: any[]) => {\n try {\n const out = value.apply(base, args);\n if (isPromise(out)) {\n return out\n .then((v: any) => ({ ok: true, value: v }) as const)\n .catch((e: unknown) => ({ ok: false, error: e }) as const);\n }\n return Promise.resolve({ ok: true, value: out } as const);\n } catch (e) {\n return Promise.resolve({ ok: false, error: e } as const);\n }\n };\n },\n };\n\n return new Proxy({}, handler) as CamundaResultClient;\n}\n\n// Structural type describing the returned proxy (subset – only async operation methods mapped to Result).\n// We purposefully keep it simple; operation methods become (...args) => Promise<Result<Return>>.\nexport type CamundaResultClient = {\n inner: CamundaClient;\n} & {\n [K in keyof CamundaClient]: CamundaClient[K] extends (...a: infer A) => Promise<infer R>\n ? (...a: A) => Promise<Result<R>>\n : CamundaClient[K] extends (...a: infer A) => any\n ? (...a: A) => Promise<Result<ReturnType<CamundaClient[K]>>> | ReturnType<CamundaClient[K]>\n : CamundaClient[K];\n};\n","// This file is auto-generated by @hey-api/openapi-ts\n\nexport type CamundaKey< T extends string = string > = string & { readonly __brand: T };\n// branding-plugin patch: applied primitive branding\n\nexport type ClientOptions = {\n baseUrl: '{schema}://{host}:{port}/v2' | (string & {});\n};\n\n/**\n * Audit log item.\n */\nexport type AuditLogResult = {\n /**\n * The unique key of the audit log entry.\n */\n auditLogKey: AuditLogKey;\n entityKey: AuditLogEntityKey;\n entityType: AuditLogEntityTypeEnum;\n operationType: AuditLogOperationTypeEnum;\n /**\n * Key of the batch operation.\n */\n batchOperationKey: BatchOperationKey | null;\n /**\n * The type of batch operation performed, if this is part of a batch.\n */\n batchOperationType: BatchOperationTypeEnum | null;\n /**\n * The timestamp when the operation occurred.\n */\n timestamp: string;\n /**\n * The ID of the actor who performed the operation.\n */\n actorId: string | null;\n /**\n * The type of the actor who performed the operation.\n */\n actorType: AuditLogActorTypeEnum | null;\n /**\n * The element ID of the agent that performed the operation (e.g. ad-hoc subprocess element ID).\n */\n agentElementId: string | null;\n /**\n * The tenant ID of the audit log.\n */\n tenantId: TenantId | null;\n result: AuditLogResultEnum;\n category: AuditLogCategoryEnum;\n /**\n * The process definition ID.\n */\n processDefinitionId: ProcessDefinitionId | null;\n /**\n * The key of the process definition.\n */\n processDefinitionKey: ProcessDefinitionKey | null;\n /**\n * The key of the process instance.\n */\n processInstanceKey: ProcessInstanceKey | null;\n /**\n * The key of the root process instance. The root process instance is the top-level\n * ancestor in the process instance hierarchy. This field is only present for data\n * belonging to process instance hierarchies created in version 8.9 or later.\n *\n */\n rootProcessInstanceKey: ProcessInstanceKey | null;\n /**\n * The key of the element instance.\n */\n elementInstanceKey: ElementInstanceKey | null;\n /**\n * The key of the job.\n */\n jobKey: JobKey | null;\n /**\n * The key of the user task.\n */\n userTaskKey: UserTaskKey | null;\n /**\n * The decision requirements ID.\n */\n decisionRequirementsId: string | null;\n /**\n * The assigned key of the decision requirements.\n */\n decisionRequirementsKey: DecisionRequirementsKey | null;\n /**\n * The decision definition ID.\n */\n decisionDefinitionId: DecisionDefinitionId | null;\n /**\n * The key of the decision definition.\n */\n decisionDefinitionKey: DecisionDefinitionKey | null;\n /**\n * The key of the decision evaluation.\n */\n decisionEvaluationKey: DecisionEvaluationKey | null;\n /**\n * The key of the deployment.\n */\n deploymentKey: DeploymentKey | null;\n /**\n * The key of the form.\n */\n formKey: FormKey | null;\n /**\n * The system-assigned key for this resource.\n */\n resourceKey: ResourceKey | null;\n /**\n * The key of the related entity. The content depends on the operation type and entity type.\n * For example, for authorization operations, this will contain the ID of the owner (e.g., user or group) the authorization belongs to.\n *\n */\n relatedEntityKey: AuditLogEntityKey | null;\n /**\n * The type of the related entity. The content depends on the operation type and entity type.\n * For example, for authorization operations, this will contain the type of the owner (e.g., USER or GROUP) the authorization belongs to.\n *\n */\n relatedEntityType: AuditLogEntityTypeEnum | null;\n /**\n * Additional description of the entity affected by the operation.\n * For example, for variable operations, this will contain the variable name.\n *\n */\n entityDescription: string | null;\n};\n\nexport type AuditLogSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'actorId' | 'actorType' | 'auditLogKey' | 'batchOperationKey' | 'batchOperationType' | 'category' | 'decisionDefinitionId' | 'decisionDefinitionKey' | 'decisionEvaluationKey' | 'decisionRequirementsId' | 'decisionRequirementsKey' | 'elementInstanceKey' | 'entityKey' | 'entityType' | 'jobKey' | 'operationType' | 'processDefinitionId' | 'processDefinitionKey' | 'processInstanceKey' | 'result' | 'tenantId' | 'timestamp' | 'userTaskKey';\n order?: SortOrderEnum;\n};\n\n/**\n * Audit log search request.\n */\nexport type AuditLogSearchQueryRequest = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<AuditLogSearchQuerySortRequest>;\n /**\n * The audit log search filters.\n */\n filter?: AuditLogFilter;\n};\n\n/**\n * Audit log filter request\n */\nexport type AuditLogFilter = {\n /**\n * The audit log key search filter.\n */\n auditLogKey?: AuditLogKeyFilterProperty;\n /**\n * The process definition key search filter.\n */\n processDefinitionKey?: ProcessDefinitionKeyFilterProperty;\n /**\n * The process instance key search filter.\n */\n processInstanceKey?: ProcessInstanceKeyFilterProperty;\n /**\n * The element instance key search filter.\n */\n elementInstanceKey?: ElementInstanceKeyFilterProperty;\n /**\n * The operation type search filter.\n */\n operationType?: OperationTypeFilterProperty;\n /**\n * The result search filter.\n */\n result?: AuditLogResultFilterProperty;\n /**\n * The timestamp search filter.\n */\n timestamp?: DateTimeFilterProperty;\n /**\n * The actor ID search filter.\n */\n actorId?: StringFilterProperty;\n /**\n * The actor type search filter.\n */\n actorType?: AuditLogActorTypeFilterProperty;\n /**\n * The agent element ID search filter.\n */\n agentElementId?: StringFilterProperty;\n /**\n * The entity key search filter.\n */\n entityKey?: AuditLogEntityKeyFilterProperty;\n /**\n * The entity type search filter.\n */\n entityType?: EntityTypeFilterProperty;\n /**\n * The tenant ID search filter.\n */\n tenantId?: StringFilterProperty;\n /**\n * The category search filter.\n */\n category?: CategoryFilterProperty;\n /**\n * The deployment key search filter.\n */\n deploymentKey?: DeploymentKeyFilterProperty;\n /**\n * The form key search filter.\n */\n formKey?: FormKeyFilterProperty;\n /**\n * The resource key search filter.\n */\n resourceKey?: ResourceKeyFilterProperty;\n /**\n * The batch operation type search filter.\n */\n batchOperationType?: BatchOperationTypeFilterProperty;\n /**\n * The process definition ID search filter.\n */\n processDefinitionId?: StringFilterProperty;\n /**\n * The job key search filter.\n */\n jobKey?: JobKeyFilterProperty;\n /**\n * The user task key search filter.\n */\n userTaskKey?: BasicStringFilterProperty;\n /**\n * The decision requirements ID search filter.\n */\n decisionRequirementsId?: StringFilterProperty;\n /**\n * The decision requirements key search filter.\n */\n decisionRequirementsKey?: DecisionRequirementsKeyFilterProperty;\n /**\n * The decision definition ID search filter.\n */\n decisionDefinitionId?: StringFilterProperty;\n /**\n * The decision definition key search filter.\n */\n decisionDefinitionKey?: DecisionDefinitionKeyFilterProperty;\n /**\n * The decision evaluation key search filter.\n */\n decisionEvaluationKey?: DecisionEvaluationKeyFilterProperty;\n /**\n * The related entity key search filter.\n */\n relatedEntityKey?: AuditLogEntityKeyFilterProperty;\n /**\n * The related entity type search filter.\n */\n relatedEntityType?: EntityTypeFilterProperty;\n /**\n * The entity description filter.\n */\n entityDescription?: StringFilterProperty;\n};\n\n/**\n * Audit log search response.\n */\nexport type AuditLogSearchQueryResult = SearchQueryResponse & {\n /**\n * The matching audit logs.\n */\n items: Array<AuditLogResult>;\n};\n\n/**\n * System-generated entity key for an audit log entry.\n */\nexport type AuditLogEntityKey = CamundaKey<'AuditLogEntityKey'>;\n\n/**\n * The type of entity affected by the operation.\n */\nexport type AuditLogEntityTypeEnum = 'AUTHORIZATION' | 'BATCH' | 'DECISION' | 'GROUP' | 'INCIDENT' | 'JOB' | 'MAPPING_RULE' | 'PROCESS_INSTANCE' | 'RESOURCE' | 'ROLE' | 'TENANT' | 'USER' | 'USER_TASK' | 'VARIABLE' | 'CLIENT';\n\n/**\n * The type of operation performed.\n */\nexport type AuditLogOperationTypeEnum = 'ASSIGN' | 'CANCEL' | 'COMPLETE' | 'CREATE' | 'DELETE' | 'EVALUATE' | 'MIGRATE' | 'MODIFY' | 'RESOLVE' | 'RESUME' | 'SUSPEND' | 'UNASSIGN' | 'UNKNOWN' | 'UPDATE';\n\n/**\n * The type of actor who performed the operation.\n */\nexport type AuditLogActorTypeEnum = 'ANONYMOUS' | 'CLIENT' | 'UNKNOWN' | 'USER';\n\n/**\n * The result status of the operation.\n */\nexport type AuditLogResultEnum = 'FAIL' | 'SUCCESS';\n\n/**\n * The category of the audit log operation.\n */\nexport type AuditLogCategoryEnum = 'ADMIN' | 'DEPLOYED_RESOURCES' | 'USER_TASKS';\n\n/**\n * EntityKey property with full advanced search capabilities.\n */\nexport type AuditLogEntityKeyFilterProperty = AuditLogEntityKeyExactMatch | AdvancedAuditLogEntityKeyFilter;\n\n/**\n * Advanced filter\n *\n * Advanced entityKey filter.\n */\nexport type AdvancedAuditLogEntityKeyFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: AuditLogEntityKey;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: AuditLogEntityKey;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<AuditLogEntityKey>;\n /**\n * Checks if the property matches none of the provided values.\n */\n $notIn?: Array<AuditLogEntityKey>;\n};\n\n/**\n * AuditLogEntityTypeEnum property with full advanced search capabilities.\n */\nexport type EntityTypeFilterProperty = EntityTypeExactMatch | AdvancedEntityTypeFilter;\n\n/**\n * Advanced filter\n *\n * Advanced AuditLogEntityTypeEnum filter.\n */\nexport type AdvancedEntityTypeFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: AuditLogEntityTypeEnum;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: AuditLogEntityTypeEnum;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<AuditLogEntityTypeEnum>;\n $like?: LikeFilter;\n};\n\n/**\n * AuditLogOperationTypeEnum property with full advanced search capabilities.\n */\nexport type OperationTypeFilterProperty = OperationTypeExactMatch | AdvancedOperationTypeFilter;\n\n/**\n * Advanced filter\n *\n * Advanced AuditLogOperationTypeEnum filter.\n */\nexport type AdvancedOperationTypeFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: AuditLogOperationTypeEnum;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: AuditLogOperationTypeEnum;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<AuditLogOperationTypeEnum>;\n $like?: LikeFilter;\n};\n\n/**\n * AuditLogCategoryEnum property with full advanced search capabilities.\n */\nexport type CategoryFilterProperty = CategoryExactMatch | AdvancedCategoryFilter;\n\n/**\n * Advanced filter\n *\n * Advanced AuditLogCategoryEnum filter.\n */\nexport type AdvancedCategoryFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: AuditLogCategoryEnum;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: AuditLogCategoryEnum;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<AuditLogCategoryEnum>;\n $like?: LikeFilter;\n};\n\n/**\n * AuditLogResultEnum property with full advanced search capabilities.\n */\nexport type AuditLogResultFilterProperty = AuditLogResultExactMatch | AdvancedResultFilter;\n\n/**\n * Advanced filter\n *\n * Advanced AuditLogResultEnum filter.\n */\nexport type AdvancedResultFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: AuditLogResultEnum;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: AuditLogResultEnum;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<AuditLogResultEnum>;\n $like?: LikeFilter;\n};\n\n/**\n * AuditLogActorTypeEnum property with full advanced search capabilities.\n */\nexport type AuditLogActorTypeFilterProperty = AuditLogActorTypeExactMatch | AdvancedActorTypeFilter;\n\n/**\n * Advanced filter\n *\n * Advanced AuditLogActorTypeEnum filter.\n */\nexport type AdvancedActorTypeFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: AuditLogActorTypeEnum;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: AuditLogActorTypeEnum;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<AuditLogActorTypeEnum>;\n $like?: LikeFilter;\n};\n\nexport type CamundaUserResult = {\n /**\n * The username of the user.\n */\n username: Username | null;\n /**\n * The display name of the user.\n */\n displayName: string | null;\n /**\n * The email of the user.\n */\n email: string | null;\n /**\n * The web components the user is authorized to use.\n */\n authorizedComponents: Array<string>;\n /**\n * The tenants the user is a member of.\n */\n tenants: Array<TenantResult>;\n /**\n * The groups assigned to the user.\n */\n groups: Array<string>;\n /**\n * The roles assigned to the user.\n */\n roles: Array<string>;\n /**\n * The plan of the user.\n */\n salesPlanType: string | null;\n /**\n * The links to the components in the C8 stack.\n */\n c8Links: {\n [key: string]: string;\n };\n /**\n * Flag for understanding if the user is able to perform logout.\n */\n canLogout: boolean;\n};\n\nexport type AuthorizationIdBasedRequest = {\n /**\n * The ID of the owner of the permissions.\n */\n ownerId: string;\n ownerType: OwnerTypeEnum;\n /**\n * The ID of the resource to add permissions to.\n */\n resourceId: string;\n /**\n * The type of resource to add permissions to.\n */\n resourceType: ResourceTypeEnum;\n /**\n * The permission types to add.\n */\n permissionTypes: Array<PermissionTypeEnum>;\n};\n\nexport type AuthorizationPropertyBasedRequest = {\n /**\n * The ID of the owner of the permissions.\n */\n ownerId: string;\n ownerType: OwnerTypeEnum;\n /**\n * The name of the resource property on which this authorization is based.\n */\n resourcePropertyName: string;\n /**\n * The type of resource to add permissions to.\n */\n resourceType: ResourceTypeEnum;\n /**\n * The permission types to add.\n */\n permissionTypes: Array<PermissionTypeEnum>;\n};\n\n/**\n * Defines an authorization request.\n * Either an id-based or a property-based authorization can be provided.\n *\n */\nexport type AuthorizationRequest = AuthorizationIdBasedRequest | AuthorizationPropertyBasedRequest;\n\nexport type AuthorizationSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'ownerId' | 'ownerType' | 'resourceId' | 'resourcePropertyName' | 'resourceType';\n order?: SortOrderEnum;\n};\n\nexport type AuthorizationSearchQuery = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<AuthorizationSearchQuerySortRequest>;\n /**\n * The authorization search filters.\n */\n filter?: AuthorizationFilter;\n};\n\n/**\n * Authorization search filter.\n */\nexport type AuthorizationFilter = {\n /**\n * The ID of the owner of permissions.\n */\n ownerId?: string;\n ownerType?: OwnerTypeEnum;\n /**\n * The IDs of the resource to search permissions for.\n */\n resourceIds?: Array<string>;\n /**\n * The names of the resource properties to search permissions for.\n */\n resourcePropertyNames?: Array<string>;\n /**\n * The type of resource to search permissions for.\n */\n resourceType?: ResourceTypeEnum;\n};\n\nexport type AuthorizationResult = {\n /**\n * The ID of the owner of permissions.\n */\n ownerId: string;\n ownerType: OwnerTypeEnum;\n /**\n * The type of resource that the permissions relate to.\n */\n resourceType: ResourceTypeEnum;\n /**\n * ID of the resource the permission relates to (mutually exclusive with `resourcePropertyName`).\n */\n resourceId: string | null;\n /**\n * The name of the resource property the permission relates to (mutually exclusive with `resourceId`).\n */\n resourcePropertyName: string | null;\n /**\n * Specifies the types of the permissions.\n */\n permissionTypes: Array<PermissionTypeEnum>;\n /**\n * The key of the authorization.\n */\n authorizationKey: AuthorizationKey;\n};\n\nexport type AuthorizationSearchResult = SearchQueryResponse & {\n /**\n * The matching authorizations.\n */\n items: Array<AuthorizationResult>;\n};\n\nexport type AuthorizationCreateResult = {\n /**\n * The key of the created authorization.\n */\n authorizationKey: AuthorizationKey;\n};\n\n/**\n * Specifies the type of permissions.\n */\nexport type PermissionTypeEnum = 'ACCESS' | 'CANCEL_PROCESS_INSTANCE' | 'CLAIM' | 'CLAIM_USER_TASK' | 'COMPLETE' | 'COMPLETE_USER_TASK' | 'CREATE' | 'CREATE_BATCH_OPERATION_CANCEL_PROCESS_INSTANCE' | 'CREATE_BATCH_OPERATION_DELETE_DECISION_DEFINITION' | 'CREATE_BATCH_OPERATION_DELETE_DECISION_INSTANCE' | 'CREATE_BATCH_OPERATION_DELETE_PROCESS_DEFINITION' | 'CREATE_BATCH_OPERATION_DELETE_PROCESS_INSTANCE' | 'CREATE_BATCH_OPERATION_MIGRATE_PROCESS_INSTANCE' | 'CREATE_BATCH_OPERATION_MODIFY_PROCESS_INSTANCE' | 'CREATE_BATCH_OPERATION_RESOLVE_INCIDENT' | 'CREATE_DECISION_INSTANCE' | 'CREATE_PROCESS_INSTANCE' | 'CREATE_TASK_LISTENER' | 'DELETE' | 'DELETE_DECISION_INSTANCE' | 'DELETE_DRD' | 'DELETE_FORM' | 'DELETE_PROCESS' | 'DELETE_PROCESS_INSTANCE' | 'DELETE_RESOURCE' | 'DELETE_TASK_LISTENER' | 'EVALUATE' | 'MODIFY_PROCESS_INSTANCE' | 'READ' | 'READ_DECISION_DEFINITION' | 'READ_DECISION_INSTANCE' | 'READ_JOB_METRIC' | 'READ_PROCESS_DEFINITION' | 'READ_PROCESS_INSTANCE' | 'READ_USAGE_METRIC' | 'READ_USER_TASK' | 'READ_TASK_LISTENER' | 'UPDATE' | 'UPDATE_PROCESS_INSTANCE' | 'UPDATE_USER_TASK' | 'UPDATE_TASK_LISTENER';\n\n/**\n * The type of resource to add/remove permissions to/from.\n */\nexport type ResourceTypeEnum = 'AUDIT_LOG' | 'AUTHORIZATION' | 'BATCH' | 'CLUSTER_VARIABLE' | 'COMPONENT' | 'DECISION_DEFINITION' | 'DECISION_REQUIREMENTS_DEFINITION' | 'DOCUMENT' | 'EXPRESSION' | 'GLOBAL_LISTENER' | 'GROUP' | 'MAPPING_RULE' | 'MESSAGE' | 'PROCESS_DEFINITION' | 'RESOURCE' | 'ROLE' | 'SYSTEM' | 'TENANT' | 'USER' | 'USER_TASK';\n\n/**\n * The type of the owner of permissions.\n */\nexport type OwnerTypeEnum = 'USER' | 'CLIENT' | 'ROLE' | 'GROUP' | 'MAPPING_RULE' | 'UNSPECIFIED';\n\n/**\n * System-generated key for an authorization.\n */\nexport type AuthorizationKey = CamundaKey<'AuthorizationKey'>;\n\n/**\n * The created batch operation.\n */\nexport type BatchOperationCreatedResult = {\n /**\n * Key of the batch operation.\n */\n batchOperationKey: BatchOperationKey;\n batchOperationType: BatchOperationTypeEnum;\n};\n\nexport type BatchOperationSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'batchOperationKey' | 'operationType' | 'state' | 'startDate' | 'endDate' | 'actorType' | 'actorId';\n order?: SortOrderEnum;\n};\n\n/**\n * Batch operation search request.\n */\nexport type BatchOperationSearchQuery = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<BatchOperationSearchQuerySortRequest>;\n /**\n * The batch operation search filters.\n */\n filter?: BatchOperationFilter;\n};\n\n/**\n * Batch operation filter request.\n */\nexport type BatchOperationFilter = {\n /**\n * The key (or operate legacy ID) of the batch operation.\n */\n batchOperationKey?: BasicStringFilterProperty;\n /**\n * The type of the batch operation.\n */\n operationType?: BatchOperationTypeFilterProperty;\n /**\n * The state of the batch operation.\n */\n state?: BatchOperationStateFilterProperty;\n /**\n * The type of the actor who performed the operation.\n */\n actorType?: AuditLogActorTypeEnum;\n /**\n * The ID of the actor who performed the operation.\n */\n actorId?: StringFilterProperty;\n};\n\n/**\n * The batch operation search query result.\n */\nexport type BatchOperationSearchQueryResult = SearchQueryResponse & {\n /**\n * The matching batch operations.\n */\n items: Array<BatchOperationResponse>;\n};\n\nexport type BatchOperationResponse = {\n /**\n * Key or (Operate Legacy ID = UUID) of the batch operation.\n */\n batchOperationKey: BatchOperationKey;\n state: BatchOperationStateEnum;\n batchOperationType: BatchOperationTypeEnum;\n /**\n * The start date of the batch operation.\n * This is `null` if the batch operation has not yet started.\n *\n */\n startDate: string | null;\n /**\n * The end date of the batch operation.\n * This is `null` if the batch operation is still running.\n *\n */\n endDate: string | null;\n /**\n * The type of the actor who performed the operation.\n * This is `null` if the batch operation was created before 8.9,\n * or if the actor information is not available.\n *\n */\n actorType: AuditLogActorTypeEnum | null;\n /**\n * The ID of the actor who performed the operation. Available for batch operations created since 8.9.\n */\n actorId: string | null;\n /**\n * The total number of items contained in this batch operation.\n */\n operationsTotalCount: number;\n /**\n * The number of items which failed during execution of the batch operation. (e.g. because they are rejected by the Zeebe engine).\n */\n operationsFailedCount: number;\n /**\n * The number of successfully completed tasks.\n */\n operationsCompletedCount: number;\n /**\n * The errors that occurred per partition during the batch operation.\n */\n errors: Array<BatchOperationError>;\n};\n\nexport type BatchOperationError = {\n /**\n * The partition ID where the error occurred.\n */\n partitionId: number;\n /**\n * The type of the error that occurred during the batch operation.\n */\n type: 'QUERY_FAILED' | 'RESULT_BUFFER_SIZE_EXCEEDED';\n /**\n * The error message that occurred during the batch operation.\n */\n message: string;\n};\n\nexport type BatchOperationItemSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'batchOperationKey' | 'itemKey' | 'processInstanceKey' | 'processedDate' | 'state';\n order?: SortOrderEnum;\n};\n\n/**\n * Batch operation item search request.\n */\nexport type BatchOperationItemSearchQuery = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<BatchOperationItemSearchQuerySortRequest>;\n /**\n * The batch operation item search filters.\n */\n filter?: BatchOperationItemFilter;\n};\n\n/**\n * Batch operation item filter request.\n */\nexport type BatchOperationItemFilter = {\n /**\n * The key (or operate legacy ID) of the batch operation.\n */\n batchOperationKey?: BasicStringFilterProperty;\n /**\n * The key of the item, e.g. a process instance key.\n */\n itemKey?: BasicStringFilterProperty;\n /**\n * The process instance key of the processed item.\n */\n processInstanceKey?: ProcessInstanceKeyFilterProperty;\n /**\n * The state of the batch operation.\n */\n state?: BatchOperationItemStateFilterProperty;\n /**\n * The type of the batch operation.\n */\n operationType?: BatchOperationTypeFilterProperty;\n};\n\nexport type BatchOperationItemSearchQueryResult = SearchQueryResponse & {\n /**\n * The matching batch operation items.\n */\n items: Array<BatchOperationItemResponse>;\n};\n\nexport type BatchOperationItemResponse = {\n operationType: BatchOperationTypeEnum;\n /**\n * The key (or operate legacy ID) of the batch operation.\n */\n batchOperationKey: BatchOperationKey;\n /**\n * Key of the item, e.g. a process instance key.\n */\n itemKey: string;\n /**\n * the process instance key of the processed item.\n */\n processInstanceKey: ProcessInstanceKey;\n /**\n * The key of the root process instance. The root process instance is the top-level\n * ancestor in the process instance hierarchy. This field is only present for data\n * belonging to process instance hierarchies created in version 8.9 or later.\n *\n */\n rootProcessInstanceKey: ProcessInstanceKey | null;\n /**\n * State of the item.\n */\n state: 'ACTIVE' | 'COMPLETED' | 'SKIPPED' | 'CANCELED' | 'FAILED';\n /**\n * The date this item was processed.\n * This is `null` if the item has not yet been processed.\n *\n */\n processedDate: string | null;\n /**\n * The error message from the engine in case of a failed operation.\n */\n errorMessage: string | null;\n};\n\n/**\n * The decision instance filter that defines which decision instances should be deleted.\n */\nexport type DecisionInstanceDeletionBatchOperationRequest = {\n /**\n * The decision instance filter.\n */\n filter: DecisionInstanceFilter;\n operationReference?: OperationReference;\n};\n\n/**\n * The process instance filter that defines which process instances should be canceled.\n */\nexport type ProcessInstanceCancellationBatchOperationRequest = {\n /**\n * The process instance filter.\n */\n filter: ProcessInstanceFilter;\n operationReference?: OperationReference;\n};\n\n/**\n * The process instance filter that defines which process instances should have their incidents resolved.\n */\nexport type ProcessInstanceIncidentResolutionBatchOperationRequest = {\n /**\n * The process instance filter.\n */\n filter: ProcessInstanceFilter;\n operationReference?: OperationReference;\n};\n\n/**\n * The process instance filter that defines which process instances should be deleted.\n */\nexport type ProcessInstanceDeletionBatchOperationRequest = {\n /**\n * The process instance filter.\n */\n filter: ProcessInstanceFilter;\n operationReference?: OperationReference;\n};\n\nexport type ProcessInstanceMigrationBatchOperationRequest = {\n /**\n * The process instance filter.\n */\n filter: ProcessInstanceFilter;\n /**\n * The migration plan.\n */\n migrationPlan: ProcessInstanceMigrationBatchOperationPlan;\n operationReference?: OperationReference;\n};\n\n/**\n * The migration instructions describe how to migrate a process instance from one process definition to another.\n *\n */\nexport type ProcessInstanceMigrationBatchOperationPlan = {\n /**\n * The target process definition key.\n */\n targetProcessDefinitionKey: ProcessDefinitionKey;\n /**\n * The mapping instructions.\n */\n mappingInstructions: Array<MigrateProcessInstanceMappingInstruction>;\n};\n\n/**\n * The process instance filter to define on which process instances tokens should be moved,\n * and new element instances should be activated or terminated.\n *\n */\nexport type ProcessInstanceModificationBatchOperationRequest = {\n /**\n * The process instance filter.\n */\n filter: ProcessInstanceFilter;\n /**\n * Instructions for moving tokens between elements.\n */\n moveInstructions: Array<ProcessInstanceModificationMoveBatchOperationInstruction>;\n operationReference?: OperationReference;\n};\n\n/**\n * Instructions describing a move operation. This instruction will terminate all active\n * element instances at `sourceElementId` and activate a new element instance for each\n * terminated one at `targetElementId`. The new element instances are created in the parent\n * scope of the source element instances.\n *\n */\nexport type ProcessInstanceModificationMoveBatchOperationInstruction = {\n /**\n * The source element ID.\n */\n sourceElementId: ElementId;\n /**\n * The target element ID.\n */\n targetElementId: ElementId;\n};\n\n/**\n * The batch operation item state.\n */\nexport type BatchOperationItemStateEnum = 'ACTIVE' | 'COMPLETED' | 'CANCELED' | 'FAILED';\n\n/**\n * The batch operation state.\n */\nexport type BatchOperationStateEnum = 'ACTIVE' | 'CANCELED' | 'COMPLETED' | 'CREATED' | 'FAILED' | 'PARTIALLY_COMPLETED' | 'SUSPENDED';\n\n/**\n * The type of the batch operation.\n */\nexport type BatchOperationTypeEnum = 'ADD_VARIABLE' | 'CANCEL_PROCESS_INSTANCE' | 'DELETE_DECISION_DEFINITION' | 'DELETE_DECISION_INSTANCE' | 'DELETE_PROCESS_DEFINITION' | 'DELETE_PROCESS_INSTANCE' | 'MIGRATE_PROCESS_INSTANCE' | 'MODIFY_PROCESS_INSTANCE' | 'RESOLVE_INCIDENT' | 'UPDATE_VARIABLE';\n\n/**\n * BatchOperationTypeEnum property with full advanced search capabilities.\n */\nexport type BatchOperationTypeFilterProperty = BatchOperationTypeExactMatch | AdvancedBatchOperationTypeFilter;\n\n/**\n * Advanced filter\n *\n * Advanced BatchOperationTypeEnum filter.\n */\nexport type AdvancedBatchOperationTypeFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: BatchOperationTypeEnum;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: BatchOperationTypeEnum;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<BatchOperationTypeEnum>;\n $like?: LikeFilter;\n};\n\n/**\n * BatchOperationStateEnum property with full advanced search capabilities.\n */\nexport type BatchOperationStateFilterProperty = BatchOperationStateExactMatch | AdvancedBatchOperationStateFilter;\n\n/**\n * Advanced filter\n *\n * Advanced BatchOperationStateEnum filter.\n */\nexport type AdvancedBatchOperationStateFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: BatchOperationStateEnum;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: BatchOperationStateEnum;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<BatchOperationStateEnum>;\n $like?: LikeFilter;\n};\n\n/**\n * BatchOperationItemStateEnum property with full advanced search capabilities.\n */\nexport type BatchOperationItemStateFilterProperty = BatchOperationItemStateExactMatch | AdvancedBatchOperationItemStateFilter;\n\n/**\n * Advanced filter\n *\n * Advanced BatchOperationItemStateEnum filter.\n */\nexport type AdvancedBatchOperationItemStateFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: BatchOperationItemStateEnum;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: BatchOperationItemStateEnum;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<BatchOperationItemStateEnum>;\n $like?: LikeFilter;\n};\n\nexport type ClockPinRequest = {\n /**\n * The exact time in epoch milliseconds to which the clock should be pinned.\n */\n timestamp: number;\n};\n\n/**\n * The scope of a cluster variable.\n */\nexport type ClusterVariableScopeEnum = 'GLOBAL' | 'TENANT';\n\nexport type CreateClusterVariableRequest = {\n /**\n * The name of the cluster variable. Must be unique within its scope (global or tenant-specific).\n */\n name: string;\n /**\n * The value of the cluster variable. Can be any JSON object or primitive value. Will be serialized as a JSON string in responses.\n */\n value: {\n [key: string]: unknown;\n };\n};\n\nexport type UpdateClusterVariableRequest = {\n /**\n * The new value of the cluster variable. Can be any JSON object or primitive value. Will be serialized as a JSON string in responses.\n */\n value: {\n [key: string]: unknown;\n };\n};\n\nexport type ClusterVariableResult = ClusterVariableResultBase & {\n /**\n * Full value of this cluster variable.\n */\n value: string;\n};\n\n/**\n * Cluster variable search response item.\n */\nexport type ClusterVariableSearchResult = ClusterVariableResultBase & {\n /**\n * Value of this cluster variable. Can be truncated.\n */\n value: string;\n /**\n * Whether the value is truncated or not.\n */\n isTruncated: boolean;\n};\n\n/**\n * Cluster variable response item.\n */\nexport type ClusterVariableResultBase = {\n /**\n * The name of the cluster variable. Unique within its scope (global or tenant-specific).\n */\n name: string;\n scope: ClusterVariableScopeEnum;\n /**\n * Only provided if the cluster variable scope is TENANT. Null for global scope variables.\n */\n tenantId: string | null;\n};\n\n/**\n * Cluster variable search query request.\n */\nexport type ClusterVariableSearchQueryRequest = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<ClusterVariableSearchQuerySortRequest>;\n /**\n * The cluster variable search filters.\n */\n filter?: ClusterVariableSearchQueryFilterRequest;\n};\n\nexport type ClusterVariableSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'name' | 'value' | 'tenantId' | 'scope';\n order?: SortOrderEnum;\n};\n\n/**\n * Cluster variable filter request.\n */\nexport type ClusterVariableSearchQueryFilterRequest = {\n /**\n * Name of the cluster variable.\n */\n name?: StringFilterProperty;\n /**\n * The value of the cluster variable.\n */\n value?: StringFilterProperty;\n /**\n * The scope filter for cluster variables.\n */\n scope?: ClusterVariableScopeFilterProperty;\n /**\n * Tenant ID of this variable.\n */\n tenantId?: StringFilterProperty;\n /**\n * Filter cluster variables by truncation status of their stored values. When true, returns only variables whose stored values are truncated (i.e., the value exceeds the storage size limit and is truncated in storage). When false, returns only variables with non-truncated stored values. This filter is based on the underlying storage characteristic, not the response format.\n *\n */\n isTruncated?: boolean;\n};\n\n/**\n * ClusterVariableScopeEnum property with full advanced search capabilities.\n */\nexport type ClusterVariableScopeFilterProperty = ClusterVariableScopeExactMatch | AdvancedClusterVariableScopeFilter;\n\n/**\n * Advanced filter\n *\n * Advanced ClusterVariableScopeEnum filter.\n */\nexport type AdvancedClusterVariableScopeFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: ClusterVariableScopeEnum;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: ClusterVariableScopeEnum;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<ClusterVariableScopeEnum>;\n $like?: LikeFilter;\n};\n\n/**\n * Cluster variable search query response.\n */\nexport type ClusterVariableSearchQueryResult = SearchQueryResponse & {\n /**\n * The matching cluster variables.\n */\n items: Array<ClusterVariableSearchResult>;\n};\n\n/**\n * The response of a topology request.\n */\nexport type TopologyResponse = {\n /**\n * A list of brokers that are part of this cluster.\n */\n brokers: Array<BrokerInfo>;\n /**\n * The cluster Id.\n */\n clusterId: string | null;\n /**\n * The number of brokers in the cluster.\n */\n clusterSize: number;\n /**\n * The number of partitions are spread across the cluster.\n */\n partitionsCount: number;\n /**\n * The configured replication factor for this cluster.\n */\n replicationFactor: number;\n /**\n * The version of the Zeebe Gateway.\n */\n gatewayVersion: string;\n /**\n * ID of the last completed change\n */\n lastCompletedChangeId: string;\n};\n\n/**\n * Provides information on a broker node.\n */\nexport type BrokerInfo = {\n /**\n * The unique (within a cluster) node ID for the broker.\n */\n nodeId: number;\n /**\n * The hostname for reaching the broker.\n */\n host: string;\n /**\n * The port for reaching the broker.\n */\n port: number;\n /**\n * A list of partitions managed or replicated on this broker.\n */\n partitions: Array<Partition>;\n /**\n * The broker version.\n */\n version: string;\n};\n\n/**\n * Provides information on a partition within a broker node.\n */\nexport type Partition = {\n /**\n * The unique ID of this partition.\n */\n partitionId: number;\n /**\n * Describes the Raft role of the broker for a given partition.\n */\n role: 'leader' | 'follower' | 'inactive';\n /**\n * Describes the current health of the partition.\n */\n health: 'healthy' | 'unhealthy' | 'dead';\n};\n\nexport type ConditionalEvaluationInstruction = {\n /**\n * Used to evaluate root-level conditional start events for a tenant with the given ID.\n * This will only evaluate root-level conditional start events of process definitions which belong to the tenant.\n *\n */\n tenantId?: TenantId;\n /**\n * Used to evaluate root-level conditional start events of the process definition with the given key.\n *\n */\n processDefinitionKey?: ProcessDefinitionKey;\n /**\n * JSON object representing the variables to use for evaluation of the conditions and to pass to the process instances that have been triggered.\n *\n */\n variables: {\n [key: string]: unknown;\n };\n};\n\nexport type EvaluateConditionalResult = {\n /**\n * The unique key of the conditional evaluation operation.\n */\n conditionalEvaluationKey: ConditionalEvaluationKey;\n /**\n * The tenant ID of the conditional evaluation operation.\n */\n tenantId: TenantId;\n /**\n * List of process instances created. If no root-level conditional start events evaluated to true, the list will be empty.\n */\n processInstances: Array<ProcessInstanceReference>;\n};\n\n/**\n * System-generated key for a conditional evaluation.\n */\nexport type ConditionalEvaluationKey = CamundaKey<'ConditionalEvaluationKey'>;\n\nexport type ProcessInstanceReference = {\n /**\n * The key of the process definition.\n */\n processDefinitionKey: ProcessDefinitionKey;\n /**\n * The key of the created process instance.\n */\n processInstanceKey: ProcessInstanceKey;\n};\n\n/**\n * The start cursor in a search query result set.\n */\nexport type StartCursor = CamundaKey<'StartCursor'>;\n\n/**\n * The end cursor in a search query result set.\n */\nexport type EndCursor = CamundaKey<'EndCursor'>;\n\nexport type DecisionDefinitionSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'decisionDefinitionKey' | 'decisionDefinitionId' | 'name' | 'version' | 'decisionRequirementsId' | 'decisionRequirementsKey' | 'decisionRequirementsName' | 'decisionRequirementsVersion' | 'tenantId';\n order?: SortOrderEnum;\n};\n\nexport type DecisionDefinitionSearchQuery = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<DecisionDefinitionSearchQuerySortRequest>;\n /**\n * The decision definition search filters.\n */\n filter?: DecisionDefinitionFilter;\n};\n\n/**\n * Decision definition search filter.\n */\nexport type DecisionDefinitionFilter = {\n /**\n * The DMN ID of the decision definition.\n */\n decisionDefinitionId?: DecisionDefinitionId;\n /**\n * The DMN name of the decision definition.\n */\n name?: string;\n /**\n * Whether to only return the latest version of each decision definition.\n * When using this filter, pagination functionality is limited, you can only paginate forward using `after` and `limit`.\n * The response contains no `startCursor` in the `page`, and requests ignore the `from` and `before` in the `page`.\n *\n */\n isLatestVersion?: boolean;\n /**\n * The assigned version of the decision definition.\n */\n version?: number;\n /**\n * the DMN ID of the decision requirements graph that the decision definition is part of.\n */\n decisionRequirementsId?: string;\n /**\n * The tenant ID of the decision definition.\n */\n tenantId?: TenantId;\n /**\n * The assigned key, which acts as a unique identifier for this decision definition.\n */\n decisionDefinitionKey?: DecisionDefinitionKey;\n /**\n * The assigned key of the decision requirements graph that the decision definition is part of.\n */\n decisionRequirementsKey?: DecisionRequirementsKey;\n /**\n * The DMN name of the decision requirements that the decision definition is part of.\n */\n decisionRequirementsName?: string;\n /**\n * The assigned version of the decision requirements that the decision definition is part of.\n */\n decisionRequirementsVersion?: number;\n};\n\nexport type DecisionDefinitionSearchQueryResult = SearchQueryResponse & {\n /**\n * The matching decision definitions.\n */\n items: Array<DecisionDefinitionResult>;\n};\n\nexport type DecisionDefinitionResult = {\n /**\n * The DMN ID of the decision definition.\n */\n decisionDefinitionId: DecisionDefinitionId;\n /**\n * The assigned key, which acts as a unique identifier for this decision definition.\n */\n decisionDefinitionKey: DecisionDefinitionKey;\n /**\n * the DMN ID of the decision requirements graph that the decision definition is part of.\n */\n decisionRequirementsId: string;\n /**\n * The assigned key of the decision requirements graph that the decision definition is part of.\n */\n decisionRequirementsKey: DecisionRequirementsKey;\n /**\n * The DMN name of the decision requirements that the decision definition is part of.\n */\n decisionRequirementsName: string;\n /**\n * The assigned version of the decision requirements that the decision definition is part of.\n */\n decisionRequirementsVersion: number;\n /**\n * The DMN name of the decision definition.\n */\n name: string;\n /**\n * The tenant ID of the decision definition.\n */\n tenantId: TenantId;\n /**\n * The assigned version of the decision definition.\n */\n version: number;\n};\n\nexport type DecisionEvaluationInstruction = DecisionEvaluationById | DecisionEvaluationByKey;\n\n/**\n * Decision evaluation by ID\n */\nexport type DecisionEvaluationById = {\n /**\n * The ID of the decision to be evaluated.\n * When using the decision ID, the latest\n * deployed version of the decision is used.\n *\n */\n decisionDefinitionId: DecisionDefinitionId;\n /**\n * The decision evaluation variables as JSON document.\n */\n variables?: {\n [key: string]: unknown;\n };\n /**\n * The tenant ID of the decision.\n */\n tenantId?: TenantId;\n};\n\n/**\n * Decision evaluation by key\n */\nexport type DecisionEvaluationByKey = {\n decisionDefinitionKey: DecisionDefinitionKey;\n /**\n * The decision evaluation variables as JSON document.\n */\n variables?: {\n [key: string]: unknown;\n };\n /**\n * The tenant ID of the decision.\n */\n tenantId?: TenantId;\n};\n\nexport type EvaluateDecisionResult = {\n /**\n * The ID of the decision which was evaluated.\n */\n decisionDefinitionId: DecisionDefinitionId;\n /**\n * The unique key identifying the decision which was evaluated.\n */\n decisionDefinitionKey: DecisionDefinitionKey;\n /**\n * The name of the decision which was evaluated.\n */\n decisionDefinitionName: string;\n /**\n * The version of the decision which was evaluated.\n */\n decisionDefinitionVersion: number;\n /**\n * The unique key identifying this decision evaluation.\n */\n decisionEvaluationKey: DecisionEvaluationKey;\n /**\n * Deprecated, please refer to `decisionEvaluationKey`.\n *\n * @deprecated\n */\n decisionInstanceKey: DecisionInstanceKey;\n /**\n * The ID of the decision requirements graph that the decision which was evaluated is part of.\n */\n decisionRequirementsId: string;\n /**\n * The unique key identifying the decision requirements graph that the decision which was evaluated is part of.\n */\n decisionRequirementsKey: DecisionRequirementsKey;\n /**\n * Decisions that were evaluated within the requested decision evaluation.\n */\n evaluatedDecisions: Array<EvaluatedDecisionResult>;\n /**\n * The ID of the decision which failed during evaluation.\n */\n failedDecisionDefinitionId: DecisionDefinitionId | null;\n /**\n * Message describing why the decision which was evaluated failed.\n */\n failureMessage: string | null;\n /**\n * JSON document that will instantiate the result of the decision which was evaluated.\n *\n */\n output: string;\n /**\n * The tenant ID of the evaluated decision.\n */\n tenantId: TenantId;\n};\n\n/**\n * A decision that was evaluated.\n */\nexport type EvaluatedDecisionResult = {\n /**\n * The ID of the decision which was evaluated.\n */\n decisionDefinitionId: DecisionDefinitionId;\n /**\n * The name of the decision which was evaluated.\n */\n decisionDefinitionName: string;\n /**\n * The version of the decision which was evaluated.\n */\n decisionDefinitionVersion: number;\n /**\n * The type of the decision which was evaluated.\n */\n decisionDefinitionType: string;\n /**\n * JSON document that will instantiate the result of the decision which was evaluated.\n *\n */\n output: string;\n /**\n * The tenant ID of the evaluated decision.\n */\n tenantId: TenantId;\n /**\n * The decision rules that matched within this decision evaluation.\n */\n matchedRules: Array<MatchedDecisionRuleItem>;\n /**\n * The decision inputs that were evaluated within this decision evaluation.\n */\n evaluatedInputs: Array<EvaluatedDecisionInputItem>;\n /**\n * The unique key identifying the decision which was evaluate.\n */\n decisionDefinitionKey: DecisionDefinitionKey;\n /**\n * The unique key identifying this decision evaluation instance.\n */\n decisionEvaluationInstanceKey: DecisionEvaluationInstanceKey;\n};\n\nexport type DecisionInstanceSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'decisionDefinitionId' | 'decisionDefinitionKey' | 'decisionDefinitionName' | 'decisionDefinitionType' | 'decisionDefinitionVersion' | 'decisionEvaluationInstanceKey' | 'decisionEvaluationKey' | 'elementInstanceKey' | 'evaluationDate' | 'evaluationFailure' | 'processDefinitionKey' | 'processInstanceKey' | 'rootDecisionDefinitionKey' | 'state' | 'tenantId';\n order?: SortOrderEnum;\n};\n\nexport type DecisionInstanceSearchQuery = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<DecisionInstanceSearchQuerySortRequest>;\n /**\n * The decision instance search filters.\n */\n filter?: DecisionInstanceFilter;\n};\n\n/**\n * Decision instance search filter.\n */\nexport type DecisionInstanceFilter = {\n /**\n * The key of the decision evaluation instance.\n */\n decisionEvaluationInstanceKey?: DecisionEvaluationInstanceKeyFilterProperty;\n /**\n * The state of the decision instance.\n */\n state?: DecisionInstanceStateFilterProperty;\n /**\n * The evaluation failure of the decision instance.\n */\n evaluationFailure?: string;\n /**\n * The evaluation date of the decision instance.\n */\n evaluationDate?: DateTimeFilterProperty;\n /**\n * The ID of the DMN decision.\n */\n decisionDefinitionId?: DecisionDefinitionId;\n /**\n * The name of the DMN decision.\n */\n decisionDefinitionName?: string;\n /**\n * The version of the decision.\n */\n decisionDefinitionVersion?: number;\n decisionDefinitionType?: DecisionDefinitionTypeEnum;\n /**\n * The tenant ID of the decision instance.\n */\n tenantId?: TenantId;\n /**\n * The key of the parent decision evaluation. Note that this is not the identifier of an individual decision instance; the `decisionEvaluationInstanceKey` is the identifier for a decision instance.\n *\n */\n decisionEvaluationKey?: DecisionEvaluationKey;\n /**\n * The key of the process definition.\n */\n processDefinitionKey?: ProcessDefinitionKey;\n /**\n * The key of the process instance.\n */\n processInstanceKey?: ProcessInstanceKey;\n /**\n * The key of the decision.\n */\n decisionDefinitionKey?: DecisionDefinitionKeyFilterProperty;\n /**\n * The key of the element instance this decision instance is linked to.\n */\n elementInstanceKey?: ElementInstanceKeyFilterProperty;\n /**\n * The key of the root decision definition.\n */\n rootDecisionDefinitionKey?: DecisionDefinitionKeyFilterProperty;\n /**\n * The key of the decision requirements definition.\n */\n decisionRequirementsKey?: DecisionRequirementsKeyFilterProperty;\n};\n\nexport type DeleteDecisionInstanceRequest = {\n operationReference?: OperationReference;\n} | null;\n\nexport type DecisionInstanceSearchQueryResult = SearchQueryResponse & {\n /**\n * The matching decision instances.\n */\n items: Array<DecisionInstanceResult>;\n};\n\nexport type DecisionInstanceResult = {\n /**\n * The ID of the DMN decision.\n */\n decisionDefinitionId: DecisionDefinitionId;\n /**\n * The key of the decision.\n */\n decisionDefinitionKey: DecisionDefinitionKey;\n /**\n * The name of the DMN decision.\n */\n decisionDefinitionName: string;\n decisionDefinitionType: DecisionDefinitionTypeEnum;\n /**\n * The version of the decision.\n */\n decisionDefinitionVersion: number;\n decisionEvaluationInstanceKey: DecisionEvaluationInstanceKey;\n /**\n * The key of the decision evaluation where this instance was created.\n */\n decisionEvaluationKey: DecisionEvaluationKey;\n /**\n * The key of the element instance this decision instance is linked to.\n */\n elementInstanceKey: ElementInstanceKey | null;\n /**\n * The evaluation date of the decision instance.\n */\n evaluationDate: string;\n /**\n * The evaluation failure of the decision instance.\n */\n evaluationFailure: string | null;\n /**\n * The key of the process definition.\n */\n processDefinitionKey: ProcessDefinitionKey | null;\n /**\n * The key of the process instance.\n */\n processInstanceKey: ProcessInstanceKey | null;\n /**\n * The result of the decision instance.\n */\n result: string;\n /**\n * The key of the root decision definition.\n */\n rootDecisionDefinitionKey: DecisionDefinitionKey;\n /**\n * The key of the root process instance. The root process instance is the top-level\n * ancestor in the process instance hierarchy. This field is only present for data\n * belonging to process instance hierarchies created in version 8.9 or later.\n *\n */\n rootProcessInstanceKey: ProcessInstanceKey | null;\n state: DecisionInstanceStateEnum;\n /**\n * The tenant ID of the decision instance.\n */\n tenantId: TenantId;\n};\n\nexport type DecisionInstanceGetQueryResult = DecisionInstanceResult & {\n /**\n * The evaluated inputs of the decision instance.\n *\n */\n evaluatedInputs: Array<EvaluatedDecisionInputItem>;\n /**\n * The matched rules of the decision instance.\n *\n */\n matchedRules: Array<MatchedDecisionRuleItem>;\n};\n\n/**\n * A decision input that was evaluated within this decision evaluation.\n */\nexport type EvaluatedDecisionInputItem = {\n /**\n * The identifier of the decision input.\n */\n inputId: string;\n /**\n * The name of the decision input.\n */\n inputName: string;\n /**\n * The value of the decision input.\n */\n inputValue: string;\n};\n\n/**\n * The evaluated decision outputs.\n */\nexport type EvaluatedDecisionOutputItem = {\n /**\n * The ID of the evaluated decison output item.\n */\n outputId: string;\n /**\n * The name of the of the evaluated decison output item.\n */\n outputName: string;\n /**\n * The value of the evaluated decison output item.\n */\n outputValue: string;\n /**\n * The ID of the matched rule.\n */\n ruleId: string | null;\n /**\n * The index of the matched rule.\n */\n ruleIndex: number | null;\n};\n\n/**\n * A decision rule that matched within this decision evaluation.\n */\nexport type MatchedDecisionRuleItem = {\n /**\n * The ID of the matched rule.\n */\n ruleId: string;\n /**\n * The index of the matched rule.\n */\n ruleIndex: number;\n /**\n * The evaluated decision outputs.\n */\n evaluatedOutputs: Array<EvaluatedDecisionOutputItem>;\n};\n\n/**\n * The type of the decision. UNSPECIFIED is deprecated and should not be used anymore, for removal in 8.10\n */\nexport type DecisionDefinitionTypeEnum = 'DECISION_TABLE' | 'LITERAL_EXPRESSION' | /** @deprecated since 8.9.0 */ 'UNSPECIFIED' | 'UNKNOWN';\n\n/**\n * The state of the decision instance. UNSPECIFIED and UNKNOWN are deprecated and should not be used anymore, for removal in 8.10\n */\nexport type DecisionInstanceStateEnum = 'EVALUATED' | 'FAILED' | /** @deprecated since 8.9.0 */ 'UNSPECIFIED' | /** @deprecated since 8.9.0 */ 'UNKNOWN';\n\n/**\n * Advanced filter\n *\n * Advanced DecisionInstanceStateEnum filter.\n */\nexport type AdvancedDecisionInstanceStateFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: DecisionInstanceStateEnum;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: DecisionInstanceStateEnum;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<DecisionInstanceStateEnum>;\n /**\n * Checks if the property matches none of the provided values.\n */\n $notIn?: Array<DecisionInstanceStateEnum>;\n $like?: LikeFilter;\n};\n\n/**\n * DecisionInstanceStateEnum property with full advanced search capabilities.\n */\nexport type DecisionInstanceStateFilterProperty = DecisionInstanceStateExactMatch | AdvancedDecisionInstanceStateFilter;\n\nexport type DecisionRequirementsSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'decisionRequirementsKey' | 'decisionRequirementsName' | 'version' | 'decisionRequirementsId' | 'tenantId';\n order?: SortOrderEnum;\n};\n\nexport type DecisionRequirementsSearchQuery = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<DecisionRequirementsSearchQuerySortRequest>;\n /**\n * The decision definition search filters.\n */\n filter?: DecisionRequirementsFilter;\n};\n\n/**\n * Decision requirements search filter.\n */\nexport type DecisionRequirementsFilter = {\n /**\n * The DMN name of the decision requirements.\n */\n decisionRequirementsName?: string;\n /**\n * the DMN ID of the decision requirements.\n */\n decisionRequirementsId?: string;\n decisionRequirementsKey?: DecisionRequirementsKey;\n /**\n * The assigned version of the decision requirements.\n */\n version?: number;\n /**\n * The tenant ID of the decision requirements.\n */\n tenantId?: TenantId;\n /**\n * The name of the resource from which the decision requirements were parsed\n */\n resourceName?: string;\n};\n\nexport type DecisionRequirementsSearchQueryResult = SearchQueryResponse & {\n /**\n * The matching decision requirements.\n */\n items: Array<DecisionRequirementsResult>;\n};\n\nexport type DecisionRequirementsResult = {\n /**\n * The DMN ID of the decision requirements.\n */\n decisionRequirementsId: string;\n /**\n * The assigned key, which acts as a unique identifier for this decision requirements.\n */\n decisionRequirementsKey: DecisionRequirementsKey;\n /**\n * The DMN name of the decision requirements.\n */\n decisionRequirementsName: string;\n /**\n * The name of the resource from which this decision requirements was parsed.\n */\n resourceName: string;\n /**\n * The tenant ID of the decision requirements.\n */\n tenantId: TenantId;\n /**\n * The assigned version of the decision requirements.\n */\n version: number;\n};\n\nexport type DeploymentResult = {\n /**\n * The unique key identifying the deployment.\n */\n deploymentKey: DeploymentKey;\n /**\n * The tenant ID associated with the deployment.\n */\n tenantId: TenantId;\n /**\n * Items deployed by the request.\n */\n deployments: Array<DeploymentMetadataResult>;\n};\n\nexport type DeploymentMetadataResult = {\n /**\n * Deployed process.\n */\n processDefinition: DeploymentProcessResult | null;\n /**\n * Deployed decision.\n */\n decisionDefinition: DeploymentDecisionResult | null;\n /**\n * Deployed decision requirement definition.\n */\n decisionRequirements: DeploymentDecisionRequirementsResult | null;\n /**\n * Deployed form.\n */\n form: DeploymentFormResult | null;\n /**\n * Deployed resource.\n */\n resource: DeploymentResourceResult | null;\n};\n\n/**\n * A deployed process.\n */\nexport type DeploymentProcessResult = {\n /**\n * The bpmn process ID, as parsed during deployment, together with the version forms a\n * unique identifier for a specific process definition.\n *\n */\n processDefinitionId: ProcessDefinitionId;\n /**\n * The assigned process version.\n */\n processDefinitionVersion: number;\n /**\n * The resource name from which this process was parsed.\n */\n resourceName: string;\n /**\n * The tenant ID of the deployed process.\n */\n tenantId: TenantId;\n /**\n * The assigned key, which acts as a unique identifier for this process.\n */\n processDefinitionKey: ProcessDefinitionKey;\n};\n\n/**\n * A deployed decision.\n */\nexport type DeploymentDecisionResult = {\n /**\n * The dmn decision ID, as parsed during deployment, together with the version forms a\n * unique identifier for a specific decision.\n *\n */\n decisionDefinitionId: DecisionDefinitionId;\n /**\n * The assigned decision version.\n */\n version: number;\n /**\n * The DMN name of the decision, as parsed during deployment.\n */\n name: string;\n /**\n * The tenant ID of the deployed decision.\n */\n tenantId: TenantId;\n /**\n * The dmn ID of the decision requirements graph that this decision is part of, as parsed during deployment.\n *\n */\n decisionRequirementsId: string;\n /**\n * The assigned decision key, which acts as a unique identifier for this decision.\n *\n */\n decisionDefinitionKey: DecisionDefinitionKey;\n /**\n * The assigned key of the decision requirements graph that this decision is part of.\n *\n */\n decisionRequirementsKey: DecisionRequirementsKey;\n};\n\n/**\n * Deployed decision requirements.\n */\nexport type DeploymentDecisionRequirementsResult = {\n /**\n * The id of the deployed decision requirements.\n */\n decisionRequirementsId: string;\n /**\n * The name of the deployed decision requirements.\n */\n decisionRequirementsName: string;\n /**\n * The version of the deployed decision requirements.\n */\n version: number;\n /**\n * The name of the resource.\n */\n resourceName: string;\n /**\n * The tenant ID of the deployed decision requirements.\n */\n tenantId: TenantId;\n /**\n * The assigned decision requirements key, which acts as a unique identifier for this decision requirements.\n *\n */\n decisionRequirementsKey: DecisionRequirementsKey;\n};\n\n/**\n * A deployed form.\n */\nexport type DeploymentFormResult = {\n /**\n * The form ID, as parsed during deployment, together with the version forms a\n * unique identifier for a specific form.\n *\n */\n formId: FormId;\n /**\n * The version of the deployed form.\n */\n version: number;\n /**\n * The name of the resource.\n */\n resourceName: string;\n tenantId: TenantId;\n /**\n * The assigned key, which acts as a unique identifier for this form.\n */\n formKey: FormKey;\n};\n\n/**\n * A deployed Resource.\n */\nexport type DeploymentResourceResult = {\n /**\n * The resource id of the deployed resource.\n */\n resourceId: string;\n /**\n * The name of the deployed resource.\n */\n resourceName: string;\n /**\n * The description of the deployed resource.\n */\n version: number;\n tenantId: TenantId;\n /**\n * The assigned key, which acts as a unique identifier for this Resource.\n */\n resourceKey: ResourceKey;\n};\n\nexport type DeleteResourceRequest = {\n operationReference?: OperationReference;\n /**\n * Indicates if the historic data of a process resource should be deleted via a\n * batch operation asynchronously.\n *\n * This flag is only effective for process resources. For other resource types\n * (decisions, forms, generic resources), this flag is ignored and no history\n * will be deleted. In those cases, the `batchOperation` field in the response\n * will not be populated.\n *\n */\n deleteHistory?: boolean;\n} | null;\n\nexport type DeleteResourceResponse = {\n /**\n * The system-assigned key for this resource, requested to be deleted.\n */\n resourceKey: ResourceKey;\n /**\n * The batch operation created for asynchronously deleting the historic data.\n *\n * This field is only populated when the request `deleteHistory` is set to `true` and the resource\n * is a process definition. For other resource types (decisions, forms, generic resources),\n * this field will be `null`.\n *\n */\n batchOperation: BatchOperationCreatedResult | null;\n};\n\nexport type ResourceResult = {\n /**\n * The resource name from which this resource was parsed.\n */\n resourceName: string;\n /**\n * The assigned resource version.\n */\n version: number;\n /**\n * The version tag of this resource.\n */\n versionTag: string | null;\n /**\n * The resource ID of this resource.\n */\n resourceId: string;\n /**\n * The tenant ID of this resource.\n */\n tenantId: TenantId;\n /**\n * The unique key of this resource.\n */\n resourceKey: ResourceKey;\n};\n\n/**\n * Key for a deployment.\n */\nexport type DeploymentKey = CamundaKey<'DeploymentKey'>;\n\n/**\n * The system-assigned key for this resource.\n */\nexport type ResourceKey = ProcessDefinitionKey | DecisionRequirementsKey | FormKey | DecisionDefinitionKey;\n\n/**\n * DeploymentKey property with full advanced search capabilities.\n */\nexport type DeploymentKeyFilterProperty = DeploymentKeyExactMatch | AdvancedDeploymentKeyFilter;\n\n/**\n * Advanced filter\n *\n * Advanced DeploymentKey filter.\n */\nexport type AdvancedDeploymentKeyFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: DeploymentKey;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: DeploymentKey;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<DeploymentKey>;\n /**\n * Checks if the property matches none of the provided values.\n */\n $notIn?: Array<DeploymentKey>;\n};\n\n/**\n * ResourceKey property with full advanced search capabilities.\n */\nexport type ResourceKeyFilterProperty = ResourceKeyExactMatch | AdvancedResourceKeyFilter;\n\n/**\n * Advanced filter\n *\n * Advanced ResourceKey filter.\n */\nexport type AdvancedResourceKeyFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: ResourceKey;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: ResourceKey;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<ResourceKey>;\n /**\n * Checks if the property matches none of the provided values.\n */\n $notIn?: Array<ResourceKey>;\n};\n\nexport type DocumentReference = {\n /**\n * Document discriminator. Always set to \"camunda\".\n */\n 'camunda.document.type': 'camunda';\n /**\n * The ID of the document store.\n */\n storeId: string;\n /**\n * The ID of the document.\n */\n documentId: DocumentId;\n /**\n * The hash of the document.\n */\n contentHash: string | null;\n metadata: DocumentMetadataResponse;\n};\n\nexport type DocumentCreationFailureDetail = {\n /**\n * The name of the file that failed to upload.\n */\n fileName: string;\n /**\n * The HTTP status code of the failure.\n */\n status: number;\n /**\n * A short, human-readable summary of the problem type.\n */\n title: string;\n /**\n * A human-readable explanation specific to this occurrence of the problem.\n */\n detail: string;\n};\n\nexport type DocumentCreationBatchResponse = {\n /**\n * Documents that were successfully created.\n */\n failedDocuments: Array<DocumentCreationFailureDetail>;\n /**\n * Documents that failed creation.\n */\n createdDocuments: Array<DocumentReference>;\n};\n\n/**\n * Information about the document.\n */\nexport type DocumentMetadata = {\n /**\n * The content type of the document.\n */\n contentType?: string;\n /**\n * The name of the file.\n */\n fileName?: string;\n /**\n * The date and time when the document expires.\n */\n expiresAt?: string;\n /**\n * The size of the document in bytes.\n */\n size?: number;\n /**\n * The ID of the process definition that created the document.\n */\n processDefinitionId?: ProcessDefinitionId;\n /**\n * The key of the process instance that created the document.\n */\n processInstanceKey?: ProcessInstanceKey;\n /**\n * Custom properties of the document.\n */\n customProperties?: {\n [key: string]: unknown;\n };\n};\n\n/**\n * Information about the document that is returned in responses.\n */\nexport type DocumentMetadataResponse = {\n /**\n * The content type of the document.\n */\n contentType: string;\n /**\n * The name of the file.\n */\n fileName: string;\n /**\n * The date and time when the document expires.\n */\n expiresAt: string | null;\n /**\n * The size of the document in bytes.\n */\n size: number;\n /**\n * The ID of the process definition that created the document.\n */\n processDefinitionId: ProcessDefinitionId | null;\n /**\n * The key of the process instance that created the document.\n */\n processInstanceKey: ProcessInstanceKey | null;\n /**\n * Custom properties of the document.\n */\n customProperties: {\n [key: string]: unknown;\n };\n};\n\nexport type DocumentLinkRequest = {\n /**\n * The time-to-live of the document link in ms.\n */\n timeToLive?: number;\n};\n\nexport type DocumentLink = {\n /**\n * The link to the document.\n */\n url: string;\n /**\n * The date and time when the link expires.\n */\n expiresAt: string;\n};\n\n/**\n * Document Id that uniquely identifies a document.\n */\nexport type DocumentId = CamundaKey<'DocumentId'>;\n\nexport type ElementInstanceSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'elementInstanceKey' | 'processInstanceKey' | 'processDefinitionKey' | 'processDefinitionId' | 'startDate' | 'endDate' | 'elementId' | 'elementName' | 'type' | 'state' | 'incidentKey' | 'tenantId';\n order?: SortOrderEnum;\n};\n\n/**\n * Element instance search request.\n */\nexport type ElementInstanceSearchQuery = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<ElementInstanceSearchQuerySortRequest>;\n /**\n * The element instance search filters.\n */\n filter?: ElementInstanceFilter;\n};\n\n/**\n * Element instance filter.\n */\nexport type ElementInstanceFilter = {\n /**\n * The process definition ID associated to this element instance.\n */\n processDefinitionId?: ProcessDefinitionId;\n /**\n * State of element instance as defined set of values.\n */\n state?: ElementInstanceStateFilterProperty;\n /**\n * Type of element as defined set of values.\n */\n type?: 'UNSPECIFIED' | 'PROCESS' | 'SUB_PROCESS' | 'EVENT_SUB_PROCESS' | 'AD_HOC_SUB_PROCESS' | 'AD_HOC_SUB_PROCESS_INNER_INSTANCE' | 'START_EVENT' | 'INTERMEDIATE_CATCH_EVENT' | 'INTERMEDIATE_THROW_EVENT' | 'BOUNDARY_EVENT' | 'END_EVENT' | 'SERVICE_TASK' | 'RECEIVE_TASK' | 'USER_TASK' | 'MANUAL_TASK' | 'TASK' | 'EXCLUSIVE_GATEWAY' | 'INCLUSIVE_GATEWAY' | 'PARALLEL_GATEWAY' | 'EVENT_BASED_GATEWAY' | 'SEQUENCE_FLOW' | 'MULTI_INSTANCE_BODY' | 'CALL_ACTIVITY' | 'BUSINESS_RULE_TASK' | 'SCRIPT_TASK' | 'SEND_TASK' | 'UNKNOWN';\n /**\n * The element ID for this element instance.\n */\n elementId?: ElementId;\n /**\n * The element name. This only works for data created with 8.8 and onwards. Instances from prior versions don't contain this data and cannot be found.\n *\n */\n elementName?: string;\n /**\n * Shows whether this element instance has an incident related to.\n */\n hasIncident?: boolean;\n tenantId?: TenantId;\n /**\n * The assigned key, which acts as a unique identifier for this element instance.\n */\n elementInstanceKey?: ElementInstanceKey;\n /**\n * The process instance key associated to this element instance.\n */\n processInstanceKey?: ProcessInstanceKey;\n /**\n * The process definition key associated to this element instance.\n */\n processDefinitionKey?: ProcessDefinitionKey;\n /**\n * The key of incident if field incident is true.\n */\n incidentKey?: IncidentKey;\n /**\n * The start date of this element instance.\n */\n startDate?: DateTimeFilterProperty;\n /**\n * The end date of this element instance.\n */\n endDate?: DateTimeFilterProperty;\n /**\n * The scope key of this element instance. If provided with a process instance key it will return element instances that are immediate children of the process instance. If provided with an element instance key it will return element instances that are immediate children of the element instance.\n *\n */\n elementInstanceScopeKey?: ElementInstanceKey | ProcessInstanceKey;\n};\n\n/**\n * ElementInstanceStateEnum property with full advanced search capabilities.\n */\nexport type ElementInstanceStateFilterProperty = ElementInstanceStateExactMatch | AdvancedElementInstanceStateFilter;\n\n/**\n * Advanced filter\n *\n * Advanced ElementInstanceStateEnum filter.\n */\nexport type AdvancedElementInstanceStateFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: ElementInstanceStateEnum;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: ElementInstanceStateEnum;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<ElementInstanceStateEnum>;\n $like?: LikeFilter;\n};\n\nexport type ElementInstanceSearchQueryResult = SearchQueryResponse & {\n /**\n * The matching element instances.\n */\n items: Array<ElementInstanceResult>;\n};\n\nexport type ElementInstanceResult = {\n /**\n * The process definition ID associated to this element instance.\n */\n processDefinitionId: ProcessDefinitionId;\n /**\n * Date when element instance started.\n */\n startDate: string;\n /**\n * Date when element instance finished.\n */\n endDate: string | null;\n /**\n * The element ID for this element instance.\n */\n elementId: ElementId;\n /**\n * The element name for this element instance.\n */\n elementName: string;\n /**\n * Type of element as defined set of values.\n */\n type: 'UNSPECIFIED' | 'PROCESS' | 'SUB_PROCESS' | 'EVENT_SUB_PROCESS' | 'AD_HOC_SUB_PROCESS' | 'AD_HOC_SUB_PROCESS_INNER_INSTANCE' | 'START_EVENT' | 'INTERMEDIATE_CATCH_EVENT' | 'INTERMEDIATE_THROW_EVENT' | 'BOUNDARY_EVENT' | 'END_EVENT' | 'SERVICE_TASK' | 'RECEIVE_TASK' | 'USER_TASK' | 'MANUAL_TASK' | 'TASK' | 'EXCLUSIVE_GATEWAY' | 'INCLUSIVE_GATEWAY' | 'PARALLEL_GATEWAY' | 'EVENT_BASED_GATEWAY' | 'SEQUENCE_FLOW' | 'MULTI_INSTANCE_BODY' | 'CALL_ACTIVITY' | 'BUSINESS_RULE_TASK' | 'SCRIPT_TASK' | 'SEND_TASK' | 'UNKNOWN';\n /**\n * State of element instance as defined set of values.\n */\n state: ElementInstanceStateEnum;\n /**\n * Shows whether this element instance has an incident. If true also an incidentKey is provided.\n */\n hasIncident: boolean;\n /**\n * The tenant ID of the incident.\n */\n tenantId: TenantId;\n /**\n * The assigned key, which acts as a unique identifier for this element instance.\n */\n elementInstanceKey: ElementInstanceKey;\n /**\n * The process instance key associated to this element instance.\n */\n processInstanceKey: ProcessInstanceKey;\n /**\n * The key of the root process instance. The root process instance is the top-level\n * ancestor in the process instance hierarchy. This field is only present for data\n * belonging to process instance hierarchies created in version 8.9 or later.\n *\n */\n rootProcessInstanceKey: ProcessInstanceKey | null;\n /**\n * The process definition key associated to this element instance.\n */\n processDefinitionKey: ProcessDefinitionKey;\n /**\n * Incident key associated with this element instance.\n */\n incidentKey: IncidentKey | null;\n};\n\n/**\n * Element states\n */\nexport type ElementInstanceStateEnum = 'ACTIVE' | 'COMPLETED' | 'TERMINATED';\n\nexport type AdHocSubProcessActivateActivitiesInstruction = {\n /**\n * Activities to activate.\n */\n elements: Array<AdHocSubProcessActivateActivityReference>;\n /**\n * Whether to cancel remaining instances of the ad-hoc sub-process.\n */\n cancelRemainingInstances?: boolean;\n};\n\nexport type AdHocSubProcessActivateActivityReference = {\n /**\n * The ID of the element that should be activated.\n */\n elementId: ElementId;\n /**\n * Variables to be set when activating the element.\n */\n variables?: {\n [key: string]: unknown;\n };\n};\n\nexport type ExpressionEvaluationRequest = {\n /**\n * The expression to evaluate (e.g., \"=x + y\")\n */\n expression: string;\n /**\n * Required when the expression references tenant-scoped cluster variables\n */\n tenantId?: string;\n /**\n * Optional variables for expression evaluation. These variables are only used for the current evaluation and do not persist beyond it.\n */\n variables?: {\n [key: string]: unknown;\n } | null;\n};\n\nexport type ExpressionEvaluationResult = {\n /**\n * The evaluated expression\n */\n expression: string;\n /**\n * The result value. Its type can vary.\n */\n result: unknown;\n /**\n * List of warnings generated during expression evaluation\n */\n warnings: Array<ExpressionEvaluationWarningItem>;\n};\n\nexport type ExpressionEvaluationWarningItem = {\n /**\n * The warning message\n */\n message: string;\n};\n\n/**\n * Checks if the property matches the provided like value.\n *\n * Supported wildcard characters are:\n *\n * * `*`: matches zero, one, or multiple characters.\n * * `?`: matches one, single character.\n *\n * Wildcard characters can be escaped with backslash, for instance: `\\*`.\n *\n */\nexport type LikeFilter = string;\n\n/**\n * Advanced filter\n *\n * Basic advanced string filter.\n */\nexport type BasicStringFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: string;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: string;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<string>;\n /**\n * Checks if the property matches none of the provided values.\n */\n $notIn?: Array<string>;\n};\n\n/**\n * Advanced filter\n *\n * Advanced string filter.\n */\nexport type AdvancedStringFilter = BasicStringFilter & {\n $like?: LikeFilter;\n};\n\n/**\n * String property with basic advanced search capabilities.\n */\nexport type BasicStringFilterProperty = string | BasicStringFilter;\n\n/**\n * String property with full advanced search capabilities.\n */\nexport type StringFilterProperty = string | AdvancedStringFilter;\n\n/**\n * Advanced filter\n *\n * Advanced integer (int32) filter.\n */\nexport type AdvancedIntegerFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: number;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: number;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Greater than comparison with the provided value.\n */\n $gt?: number;\n /**\n * Greater than or equal comparison with the provided value.\n */\n $gte?: number;\n /**\n * Lower than comparison with the provided value.\n */\n $lt?: number;\n /**\n * Lower than or equal comparison with the provided value.\n */\n $lte?: number;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<number>;\n};\n\n/**\n * Integer property with advanced search capabilities.\n */\nexport type IntegerFilterProperty = number | AdvancedIntegerFilter;\n\n/**\n * Advanced filter\n *\n * Advanced date-time filter.\n */\nexport type AdvancedDateTimeFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: string;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: string;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Greater than comparison with the provided value.\n */\n $gt?: string;\n /**\n * Greater than or equal comparison with the provided value.\n */\n $gte?: string;\n /**\n * Lower than comparison with the provided value.\n */\n $lt?: string;\n /**\n * Lower than or equal comparison with the provided value.\n */\n $lte?: string;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<string>;\n};\n\n/**\n * Date-time property with full advanced search capabilities.\n */\nexport type DateTimeFilterProperty = string | AdvancedDateTimeFilter;\n\nexport type FormResult = {\n /**\n * The tenant ID of the form.\n */\n tenantId: TenantId;\n /**\n * The user-provided identifier of the form.\n */\n formId: FormId;\n /**\n * The form schema as a JSON document serialized as a string.\n */\n schema: string;\n /**\n * The version of the the deployed form.\n */\n version: number;\n /**\n * The assigned key, which acts as a unique identifier for this form.\n */\n formKey: FormKey;\n};\n\n/**\n * How the global listener was defined.\n */\nexport type GlobalListenerSourceEnum = 'CONFIGURATION' | 'API';\n\n/**\n * The event type that triggers the user task listener.\n */\nexport type GlobalTaskListenerEventTypeEnum = 'all' | 'creating' | 'assigning' | 'updating' | 'completing' | 'canceling';\n\nexport type GlobalListenerBase = {\n /**\n * The name of the job type, used as a reference to specify which job workers request the respective listener job.\n */\n type?: string;\n /**\n * Number of retries for the listener job.\n */\n retries?: number;\n /**\n * Whether the listener should run after model-level listeners.\n */\n afterNonGlobal?: boolean;\n /**\n * The priority of the listener. Higher priority listeners are executed before lower priority ones.\n */\n priority?: number;\n};\n\nexport type GlobalTaskListenerBase = GlobalListenerBase & {\n eventTypes?: GlobalTaskListenerEventTypes;\n};\n\n/**\n * List of user task event types that trigger the listener.\n */\nexport type GlobalTaskListenerEventTypes = Array<GlobalTaskListenerEventTypeEnum>;\n\nexport type CreateGlobalTaskListenerRequest = GlobalTaskListenerBase & {\n id: GlobalListenerId;\n eventTypes: GlobalTaskListenerEventTypes;\n};\n\nexport type UpdateGlobalTaskListenerRequest = GlobalTaskListenerBase;\n\nexport type GlobalTaskListenerResult = GlobalTaskListenerBase & {\n id: GlobalListenerId;\n source: GlobalListenerSourceEnum;\n eventTypes: GlobalTaskListenerEventTypes;\n};\n\n/**\n * Global listener search query request.\n */\nexport type GlobalTaskListenerSearchQueryRequest = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<GlobalTaskListenerSearchQuerySortRequest>;\n /**\n * The global listener search filters.\n */\n filter?: GlobalTaskListenerSearchQueryFilterRequest;\n};\n\nexport type GlobalTaskListenerSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'id' | 'type' | 'afterNonGlobal' | 'priority' | 'source';\n order?: SortOrderEnum;\n};\n\n/**\n * Global listener filter request.\n */\nexport type GlobalTaskListenerSearchQueryFilterRequest = {\n /**\n * Id of the global listener.\n */\n id?: StringFilterProperty;\n /**\n * Job type of the global listener.\n */\n type?: StringFilterProperty;\n /**\n * Number of retries of the global listener.\n */\n retries?: IntegerFilterProperty;\n /**\n * Event types of the global listener.\n */\n eventTypes?: Array<GlobalTaskListenerEventTypeFilterProperty>;\n /**\n * Whether the listener runs after model-level listeners.\n */\n afterNonGlobal?: boolean;\n /**\n * Priority of the global listener.\n */\n priority?: IntegerFilterProperty;\n /**\n * How the global listener was defined.\n */\n source?: GlobalListenerSourceFilterProperty;\n};\n\n/**\n * Global listener source property with full advanced search capabilities.\n */\nexport type GlobalListenerSourceFilterProperty = GlobalListenerSourceExactMatch | AdvancedGlobalListenerSourceFilter;\n\n/**\n * Advanced filter\n *\n * Advanced global listener source filter.\n */\nexport type AdvancedGlobalListenerSourceFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: GlobalListenerSourceEnum;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: GlobalListenerSourceEnum;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<GlobalListenerSourceEnum>;\n $like?: LikeFilter;\n};\n\n/**\n * Global listener event type property with full advanced search capabilities.\n */\nexport type GlobalTaskListenerEventTypeFilterProperty = GlobalTaskListenerEventTypeExactMatch | AdvancedGlobalTaskListenerEventTypeFilter;\n\n/**\n * Advanced filter\n *\n * Advanced global listener event type filter.\n */\nexport type AdvancedGlobalTaskListenerEventTypeFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: GlobalTaskListenerEventTypeEnum;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: GlobalTaskListenerEventTypeEnum;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<GlobalTaskListenerEventTypeEnum>;\n $like?: LikeFilter;\n};\n\n/**\n * Global listener search query response.\n */\nexport type GlobalTaskListenerSearchQueryResult = SearchQueryResponse & {\n /**\n * The matching global listeners.\n */\n items: Array<GlobalTaskListenerResult>;\n};\n\nexport type GroupCreateRequest = {\n /**\n * The ID of the new group.\n */\n groupId: string;\n /**\n * The display name of the new group.\n */\n name: string;\n /**\n * The description of the new group.\n */\n description?: string;\n};\n\nexport type GroupCreateResult = {\n /**\n * The ID of the created group.\n */\n groupId: string;\n /**\n * The display name of the created group.\n */\n name: string;\n /**\n * The description of the created group.\n */\n description: string | null;\n};\n\nexport type GroupUpdateRequest = {\n /**\n * The new name of the group.\n */\n name: string;\n /**\n * The new description of the group.\n */\n description?: string;\n};\n\nexport type GroupUpdateResult = {\n /**\n * The unique external group ID.\n */\n groupId: string;\n /**\n * The name of the group.\n */\n name: string;\n /**\n * The description of the group.\n */\n description: string | null;\n};\n\n/**\n * Group search response item.\n */\nexport type GroupResult = {\n /**\n * The group name.\n */\n name: string;\n /**\n * The group ID.\n */\n groupId: string;\n /**\n * The group description.\n */\n description: string | null;\n};\n\nexport type GroupSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'name' | 'groupId';\n order?: SortOrderEnum;\n};\n\n/**\n * Group search request.\n */\nexport type GroupSearchQueryRequest = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<GroupSearchQuerySortRequest>;\n /**\n * The group search filters.\n */\n filter?: GroupFilter;\n};\n\n/**\n * Group filter request\n */\nexport type GroupFilter = {\n /**\n * The group ID search filters.\n */\n groupId?: StringFilterProperty;\n /**\n * The group name search filters.\n */\n name?: string;\n};\n\n/**\n * Group search response.\n */\nexport type GroupSearchQueryResult = SearchQueryResponse & {\n /**\n * The matching groups.\n */\n items: Array<GroupResult>;\n};\n\nexport type GroupUserResult = {\n username: Username;\n};\n\nexport type GroupUserSearchResult = SearchQueryResponse & {\n /**\n * The matching members.\n */\n items: Array<GroupUserResult>;\n};\n\nexport type GroupUserSearchQueryRequest = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<GroupUserSearchQuerySortRequest>;\n};\n\nexport type GroupUserSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'username';\n order?: SortOrderEnum;\n};\n\nexport type GroupClientResult = {\n /**\n * The ID of the client.\n */\n clientId: string;\n};\n\nexport type GroupClientSearchResult = SearchQueryResponse & {\n /**\n * The matching client IDs.\n */\n items: Array<GroupClientResult>;\n};\n\nexport type GroupClientSearchQueryRequest = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<GroupClientSearchQuerySortRequest>;\n};\n\nexport type GroupMappingRuleSearchResult = SearchQueryResponse & {\n /**\n * The matching mapping rules.\n */\n items: Array<MappingRuleResult>;\n};\n\nexport type GroupRoleSearchResult = SearchQueryResponse & {\n /**\n * The matching roles.\n */\n items: Array<RoleResult>;\n};\n\nexport type GroupClientSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'clientId';\n order?: SortOrderEnum;\n};\n\n/**\n * Id of a process definition, from the model. Only ids of process definitions that are deployed are useful.\n */\nexport type ProcessDefinitionId = CamundaKey<'ProcessDefinitionId'>;\n\n/**\n * The model-defined id of an element.\n */\nexport type ElementId = CamundaKey<'ElementId'>;\n\n/**\n * The user-defined id for the form\n */\nexport type FormId = CamundaKey<'FormId'>;\n\n/**\n * Id of a decision definition, from the model. Only ids of decision definitions that are deployed are useful.\n */\nexport type DecisionDefinitionId = CamundaKey<'DecisionDefinitionId'>;\n\n/**\n * The user-defined id for the global listener\n */\nexport type GlobalListenerId = CamundaKey<'GlobalListenerId'>;\n\n/**\n * The unique identifier of the tenant.\n */\nexport type TenantId = CamundaKey<'TenantId'>;\n\n/**\n * The unique name of a user.\n */\nexport type Username = CamundaKey<'Username'>;\n\n/**\n * A tag. Needs to start with a letter; then alphanumerics, `_`, `-`, `:`, or `.`; length ≤ 100.\n */\nexport type Tag = CamundaKey<'Tag'>;\n\n/**\n * List of tags. Tags need to start with a letter; then alphanumerics, `_`, `-`, `:`, or `.`; length ≤ 100.\n */\nexport type TagSet = Array<Tag> & { readonly length: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 }; // minItems=0 maxItems=10; uniqueItems=true;\n\n/**\n * An optional, user-defined string identifier that identifies the process instance\n * within the scope of a process definition (scoped by tenant). If provided and uniqueness\n * enforcement is enabled, the engine will reject creation if another root process instance\n * with the same business id is already active for the same process definition.\n * Note that any active child process instances with the same business id are not taken into account.\n *\n */\nexport type BusinessId = CamundaKey<'BusinessId'>;\n\nexport type IncidentSearchQuery = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<IncidentSearchQuerySortRequest>;\n /**\n * The incident search filters.\n */\n filter?: IncidentFilter;\n};\n\n/**\n * Incident search filter.\n */\nexport type IncidentFilter = {\n /**\n * The process definition ID associated to this incident.\n */\n processDefinitionId?: StringFilterProperty;\n /**\n * Incident error type with a defined set of values.\n */\n errorType?: IncidentErrorTypeFilterProperty;\n /**\n * The error message of this incident.\n */\n errorMessage?: StringFilterProperty;\n /**\n * The element ID associated to this incident.\n */\n elementId?: StringFilterProperty;\n /**\n * Date of incident creation.\n */\n creationTime?: DateTimeFilterProperty;\n /**\n * State of this incident with a defined set of values.\n */\n state?: IncidentStateFilterProperty;\n /**\n * The tenant ID of the incident.\n */\n tenantId?: StringFilterProperty;\n /**\n * The assigned key, which acts as a unique identifier for this incident.\n */\n incidentKey?: BasicStringFilterProperty;\n /**\n * The process definition key associated to this incident.\n */\n processDefinitionKey?: ProcessDefinitionKeyFilterProperty;\n /**\n * The process instance key associated to this incident.\n */\n processInstanceKey?: ProcessInstanceKeyFilterProperty;\n /**\n * The element instance key associated to this incident.\n */\n elementInstanceKey?: ElementInstanceKeyFilterProperty;\n /**\n * The job key, if exists, associated with this incident.\n */\n jobKey?: JobKeyFilterProperty;\n};\n\n/**\n * IncidentErrorTypeEnum with full advanced search capabilities.\n */\nexport type IncidentErrorTypeFilterProperty = IncidentErrorTypeExactMatch | AdvancedIncidentErrorTypeFilter;\n\n/**\n * Advanced filter\n *\n * Advanced IncidentErrorTypeEnum filter\n */\nexport type AdvancedIncidentErrorTypeFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: IncidentErrorTypeEnum;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: IncidentErrorTypeEnum;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<IncidentErrorTypeEnum>;\n /**\n * Checks if the property does not match any of the provided values.\n */\n $notIn?: Array<IncidentErrorTypeEnum>;\n $like?: LikeFilter;\n};\n\n/**\n * Incident error type with a defined set of values.\n */\nexport type IncidentErrorTypeEnum = 'AD_HOC_SUB_PROCESS_NO_RETRIES' | 'CALLED_DECISION_ERROR' | 'CALLED_ELEMENT_ERROR' | 'CONDITION_ERROR' | 'DECISION_EVALUATION_ERROR' | 'EXECUTION_LISTENER_NO_RETRIES' | 'EXTRACT_VALUE_ERROR' | 'FORM_NOT_FOUND' | 'IO_MAPPING_ERROR' | 'JOB_NO_RETRIES' | 'MESSAGE_SIZE_EXCEEDED' | 'RESOURCE_NOT_FOUND' | 'TASK_LISTENER_NO_RETRIES' | 'UNHANDLED_ERROR_EVENT' | 'UNKNOWN' | 'UNSPECIFIED';\n\n/**\n * IncidentStateEnum with full advanced search capabilities.\n */\nexport type IncidentStateFilterProperty = IncidentStateExactMatch | AdvancedIncidentStateFilter;\n\n/**\n * Advanced filter\n *\n * Advanced IncidentStateEnum filter\n */\nexport type AdvancedIncidentStateFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: IncidentStateEnum;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: IncidentStateEnum;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<IncidentStateEnum>;\n /**\n * Checks if the property does not match any of the provided values.\n */\n $notIn?: Array<IncidentStateEnum>;\n $like?: LikeFilter;\n};\n\n/**\n * Incident states with a defined set of values.\n */\nexport type IncidentStateEnum = 'ACTIVE' | 'MIGRATED' | 'PENDING' | 'RESOLVED' | 'UNKNOWN';\n\nexport type IncidentSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'incidentKey' | 'processDefinitionKey' | 'processDefinitionId' | 'processInstanceKey' | 'errorType' | 'elementId' | 'elementInstanceKey' | 'creationTime' | 'state' | 'jobKey' | 'tenantId';\n order?: SortOrderEnum;\n};\n\nexport type IncidentSearchQueryResult = SearchQueryResponse & {\n /**\n * The matching incidents.\n */\n items: Array<IncidentResult>;\n};\n\nexport type IncidentResult = {\n /**\n * The process definition ID associated to this incident.\n */\n processDefinitionId: ProcessDefinitionId;\n /**\n * The type of the incident error.\n */\n errorType: IncidentErrorTypeEnum;\n /**\n * Error message which describes the error in more detail.\n */\n errorMessage: string;\n /**\n * The element ID associated to this incident.\n */\n elementId: ElementId;\n /**\n * The creation time of the incident.\n */\n creationTime: string;\n /**\n * The incident state.\n */\n state: IncidentStateEnum;\n /**\n * The tenant ID of the incident.\n */\n tenantId: TenantId;\n /**\n * The assigned key, which acts as a unique identifier for this incident.\n */\n incidentKey: IncidentKey;\n /**\n * The process definition key associated to this incident.\n */\n processDefinitionKey: ProcessDefinitionKey;\n /**\n * The process instance key associated to this incident.\n */\n processInstanceKey: ProcessInstanceKey;\n /**\n * The key of the root process instance. The root process instance is the top-level\n * ancestor in the process instance hierarchy. This field is only present for data\n * belonging to process instance hierarchies created in version 8.9 or later.\n *\n */\n rootProcessInstanceKey: ProcessInstanceKey | null;\n /**\n * The element instance key associated to this incident.\n */\n elementInstanceKey: ElementInstanceKey;\n /**\n * The job key, if exists, associated with this incident.\n */\n jobKey: JobKey | null;\n};\n\nexport type IncidentResolutionRequest = {\n operationReference?: OperationReference;\n};\n\nexport type IncidentProcessInstanceStatisticsByErrorQuery = {\n /**\n * Pagination parameters for process instance statistics grouped by incident error.\n *\n */\n page?: OffsetPagination;\n /**\n * Sorting criteria for process instance statistics grouped by incident error.\n */\n sort?: Array<IncidentProcessInstanceStatisticsByErrorQuerySortRequest>;\n};\n\nexport type IncidentProcessInstanceStatisticsByErrorQueryResult = SearchQueryResponse & {\n /**\n * Statistics of active process instances grouped by incident error.\n *\n */\n items: Array<IncidentProcessInstanceStatisticsByErrorResult>;\n};\n\nexport type IncidentProcessInstanceStatisticsByErrorResult = {\n /**\n * The hash code identifying a specific incident error..\n */\n errorHashCode: number;\n /**\n * The error message associated with the incident error hash code.\n */\n errorMessage: string;\n /**\n * The number of active process instances that currently have an active incident with this error.\n *\n */\n activeInstancesWithErrorCount: number;\n};\n\nexport type IncidentProcessInstanceStatisticsByErrorQuerySortRequest = {\n /**\n * The field to sort the incident error statistics by.\n */\n field: 'errorMessage' | 'activeInstancesWithErrorCount';\n order?: SortOrderEnum;\n};\n\nexport type IncidentProcessInstanceStatisticsByDefinitionQuery = {\n /**\n * Filter criteria for the aggregated process instance statistics.\n */\n filter: IncidentProcessInstanceStatisticsByDefinitionFilter;\n /**\n * Pagination parameters for the aggregated process instance statistics.\n */\n page?: OffsetPagination;\n /**\n * Sorting criteria for process instance statistics grouped by process definition.\n */\n sort?: Array<IncidentProcessInstanceStatisticsByDefinitionQuerySortRequest>;\n};\n\nexport type IncidentProcessInstanceStatisticsByDefinitionQueryResult = SearchQueryResponse & {\n /**\n * Statistics of active process instances with incidents, grouped by process\n * definition for the specified error hash code.\n *\n */\n items: Array<IncidentProcessInstanceStatisticsByDefinitionResult>;\n};\n\nexport type IncidentProcessInstanceStatisticsByDefinitionResult = {\n processDefinitionId: ProcessDefinitionId;\n processDefinitionKey: ProcessDefinitionKey;\n /**\n * The name of the process definition.\n */\n processDefinitionName: string;\n /**\n * The version of the process definition.\n */\n processDefinitionVersion: number;\n tenantId: TenantId;\n /**\n * The number of active process instances that currently have an incident\n * with the specified error hash code.\n *\n */\n activeInstancesWithErrorCount: number;\n};\n\n/**\n * Filter for the incident process instance statistics by definition query.\n */\nexport type IncidentProcessInstanceStatisticsByDefinitionFilter = {\n /**\n * The error hash code of the incidents to filter the process instance statistics by.\n *\n */\n errorHashCode: number;\n};\n\nexport type IncidentProcessInstanceStatisticsByDefinitionQuerySortRequest = {\n /**\n * The aggregated field by which the process instance statistics are sorted.\n */\n field: 'activeInstancesWithErrorCount' | 'processDefinitionKey' | 'tenantId';\n order?: SortOrderEnum;\n};\n\n/**\n * Global job statistics query result.\n */\nexport type GlobalJobStatisticsQueryResult = {\n created: StatusMetric;\n completed: StatusMetric;\n failed: StatusMetric;\n /**\n * True if some data is missing because internal limits were reached and some metrics were not recorded.\n */\n isIncomplete: boolean;\n};\n\n/**\n * Metric for a single job status.\n */\nexport type StatusMetric = {\n /**\n * Number of jobs in this status.\n */\n count: number;\n /**\n * ISO 8601 timestamp of the last update for this status.\n */\n lastUpdatedAt: string | null;\n};\n\n/**\n * Job type statistics query.\n */\nexport type JobTypeStatisticsQuery = {\n filter?: JobTypeStatisticsFilter;\n /**\n * Search cursor pagination.\n */\n page?: CursorForwardPagination;\n};\n\n/**\n * Job type statistics search filter.\n */\nexport type JobTypeStatisticsFilter = {\n /**\n * Start of the time window to filter metrics. ISO 8601 date-time format.\n *\n */\n from: string;\n /**\n * End of the time window to filter metrics. ISO 8601 date-time format.\n *\n */\n to: string;\n /**\n * Optional job type filter with advanced search capabilities.\n * Supports exact match, pattern matching, and other operators.\n *\n */\n jobType?: StringFilterProperty;\n};\n\n/**\n * Job type statistics query result.\n */\nexport type JobTypeStatisticsQueryResult = SearchQueryResponse & {\n /**\n * The list of job type statistics items.\n */\n items: Array<JobTypeStatisticsItem>;\n page: SearchQueryPageResponse;\n};\n\n/**\n * Statistics for a single job type.\n */\nexport type JobTypeStatisticsItem = {\n /**\n * The job type identifier.\n */\n jobType: string;\n created: StatusMetric;\n completed: StatusMetric;\n failed: StatusMetric;\n /**\n * Number of distinct workers observed for this job type.\n */\n workers: number;\n};\n\n/**\n * Job worker statistics query.\n */\nexport type JobWorkerStatisticsQuery = {\n filter: JobWorkerStatisticsFilter;\n /**\n * Search cursor pagination.\n */\n page?: CursorForwardPagination;\n};\n\n/**\n * Job worker statistics search filter.\n */\nexport type JobWorkerStatisticsFilter = {\n /**\n * Start of the time window to filter metrics. ISO 8601 date-time format.\n *\n */\n from: string;\n /**\n * End of the time window to filter metrics. ISO 8601 date-time format.\n *\n */\n to: string;\n /**\n * Job type to return worker metrics for.\n */\n jobType: string;\n};\n\n/**\n * Job worker statistics query result.\n */\nexport type JobWorkerStatisticsQueryResult = SearchQueryResponse & {\n /**\n * The list of per-worker statistics items.\n */\n items: Array<JobWorkerStatisticsItem>;\n page: SearchQueryPageResponse;\n};\n\n/**\n * Statistics for a single worker within a job type.\n */\nexport type JobWorkerStatisticsItem = {\n /**\n * The name of the worker activating the jobs, mostly used for logging purposes.\n */\n worker: string;\n created: StatusMetric;\n completed: StatusMetric;\n failed: StatusMetric;\n};\n\n/**\n * Job time-series statistics query.\n */\nexport type JobTimeSeriesStatisticsQuery = {\n filter: JobTimeSeriesStatisticsFilter;\n /**\n * Search cursor pagination.\n */\n page?: CursorForwardPagination;\n};\n\n/**\n * Job time-series statistics search filter.\n */\nexport type JobTimeSeriesStatisticsFilter = {\n /**\n * Start of the time window to filter metrics. ISO 8601 date-time format.\n *\n */\n from: string;\n /**\n * End of the time window to filter metrics. ISO 8601 date-time format.\n *\n */\n to: string;\n /**\n * Job type to return time-series metrics for.\n */\n jobType: string;\n /**\n * Time bucket resolution as an ISO 8601 duration (for example `PT1M` for 1 minute,\n * `PT1H` for 1 hour). If omitted, the server chooses a sensible default.\n *\n */\n resolution?: string;\n};\n\n/**\n * Job time-series statistics query result.\n */\nexport type JobTimeSeriesStatisticsQueryResult = SearchQueryResponse & {\n /**\n * The list of time-bucketed statistics items, ordered ascending by time.\n */\n items: Array<JobTimeSeriesStatisticsItem>;\n page: SearchQueryPageResponse;\n};\n\n/**\n * Aggregated job metrics for a single time bucket.\n */\nexport type JobTimeSeriesStatisticsItem = {\n /**\n * ISO 8601 timestamp representing the start of this time bucket.\n */\n time: string;\n created: StatusMetric;\n completed: StatusMetric;\n failed: StatusMetric;\n};\n\n/**\n * Job error statistics query.\n */\nexport type JobErrorStatisticsQuery = {\n filter: JobErrorStatisticsFilter;\n /**\n * Search cursor pagination.\n */\n page?: CursorForwardPagination;\n};\n\n/**\n * Job error statistics search filter.\n */\nexport type JobErrorStatisticsFilter = {\n /**\n * Start of the time window to filter metrics. ISO 8601 date-time format.\n *\n */\n from: string;\n /**\n * End of the time window to filter metrics. ISO 8601 date-time format.\n *\n */\n to: string;\n /**\n * Job type to return error metrics for.\n */\n jobType: string;\n /**\n * Optional error code filter with advanced search capabilities.\n */\n errorCode?: StringFilterProperty;\n /**\n * Optional error message filter with advanced search capabilities.\n */\n errorMessage?: StringFilterProperty;\n};\n\n/**\n * Job error statistics query result.\n */\nexport type JobErrorStatisticsQueryResult = SearchQueryResponse & {\n /**\n * The list of per-error statistics items.\n */\n items: Array<JobErrorStatisticsItem>;\n page: SearchQueryPageResponse;\n};\n\n/**\n * Aggregated error metrics for a single error type and message combination.\n */\nexport type JobErrorStatisticsItem = {\n /**\n * The error code identifier.\n */\n errorCode: string;\n /**\n * The error message.\n */\n errorMessage: string;\n /**\n * Number of distinct workers that encountered this error.\n */\n workers: number;\n};\n\nexport type JobActivationRequest = {\n /**\n * The job type, as defined in the BPMN process (e.g. <zeebe:taskDefinition type=\"payment-service\" />)\n */\n type: string;\n /**\n * The name of the worker activating the jobs, mostly used for logging purposes.\n */\n worker?: string;\n /**\n * A job returned after this call will not be activated by another call until the timeout (in ms) has been reached.\n *\n */\n timeout: number;\n /**\n * The maximum jobs to activate by this request.\n */\n maxJobsToActivate: number;\n /**\n * A list of variables to fetch as the job variables; if empty, all visible variables at the time of activation for the scope of the job will be returned.\n */\n fetchVariable?: Array<string>;\n /**\n * The request will be completed when at least one job is activated or after the requestTimeout (in ms). If the requestTimeout = 0, a default timeout is used. If the requestTimeout < 0, long polling is disabled and the request is completed immediately, even when no job is activated.\n *\n */\n requestTimeout?: number;\n /**\n * A list of IDs of tenants for which to activate jobs.\n */\n tenantIds?: Array<TenantId>;\n /**\n * The tenant filtering strategy - determines whether to use provided tenant IDs or assigned tenant IDs from the authenticated principal's authorized tenants.\n *\n */\n tenantFilter?: TenantFilterEnum;\n};\n\n/**\n * The list of activated jobs\n */\nexport type JobActivationResult = {\n /**\n * The activated jobs.\n */\n jobs: Array<ActivatedJobResult>;\n};\n\nexport type ActivatedJobResult = {\n /**\n * The type of the job (should match what was requested).\n */\n type: string;\n /**\n * The bpmn process ID of the job's process definition.\n */\n processDefinitionId: ProcessDefinitionId;\n /**\n * The version of the job's process definition.\n */\n processDefinitionVersion: number;\n /**\n * The associated task element ID.\n */\n elementId: ElementId;\n /**\n * A set of custom headers defined during modelling; returned as a serialized JSON document.\n */\n customHeaders: {\n [key: string]: unknown;\n };\n /**\n * The name of the worker which activated this job.\n */\n worker: string;\n /**\n * The amount of retries left to this job (should always be positive).\n */\n retries: number;\n /**\n * When the job can be activated again, sent as a UNIX epoch timestamp.\n */\n deadline: number;\n /**\n * All variables visible to the task scope, computed at activation time.\n */\n variables: {\n [key: string]: unknown;\n };\n /**\n * The ID of the tenant that owns the job.\n */\n tenantId: TenantId;\n /**\n * The key, a unique identifier for the job.\n */\n jobKey: JobKey;\n /**\n * The job's process instance key.\n */\n processInstanceKey: ProcessInstanceKey;\n /**\n * The key of the job's process definition.\n */\n processDefinitionKey: ProcessDefinitionKey;\n /**\n * The element instance key of the task.\n */\n elementInstanceKey: ElementInstanceKey;\n kind: JobKindEnum;\n listenerEventType: JobListenerEventTypeEnum;\n /**\n * User task properties, if the job is a user task.\n * This is `null` if the job is not a user task.\n *\n */\n userTask: UserTaskProperties | null;\n tags: TagSet;\n /**\n * The key of the root process instance. The root process instance is the top-level\n * ancestor in the process instance hierarchy. This field is only present for data\n * belonging to process instance hierarchies created in version 8.9 or later.\n *\n */\n rootProcessInstanceKey: ProcessInstanceKey | null;\n};\n\n/**\n * Contains properties of a user task.\n */\nexport type UserTaskProperties = {\n /**\n * The action performed on the user task.\n */\n action: string;\n /**\n * The user assigned to the task.\n */\n assignee: string | null;\n /**\n * The groups eligible to claim the task.\n */\n candidateGroups: Array<string>;\n /**\n * The users eligible to claim the task.\n */\n candidateUsers: Array<string>;\n /**\n * The attributes that were changed in the task.\n */\n changedAttributes: Array<string>;\n /**\n * The due date of the user task in ISO 8601 format.\n */\n dueDate: string | null;\n /**\n * The follow-up date of the user task in ISO 8601 format.\n */\n followUpDate: string | null;\n /**\n * The key of the form associated with the user task.\n */\n formKey: FormKey | null;\n /**\n * The priority of the user task.\n */\n priority: number | null;\n /**\n * The unique key identifying the user task.\n */\n userTaskKey: UserTaskKey | null;\n};\n\n/**\n * Job search request.\n */\nexport type JobSearchQuery = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<JobSearchQuerySortRequest>;\n /**\n * The job search filters.\n */\n filter?: JobFilter;\n};\n\nexport type JobSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'deadline' | 'deniedReason' | 'elementId' | 'elementInstanceKey' | 'endTime' | 'errorCode' | 'errorMessage' | 'hasFailedWithRetriesLeft' | 'isDenied' | 'jobKey' | 'kind' | 'listenerEventType' | 'processDefinitionId' | 'processDefinitionKey' | 'processInstanceKey' | 'retries' | 'state' | 'tenantId' | 'type' | 'worker';\n order?: SortOrderEnum;\n};\n\n/**\n * Job search filter.\n */\nexport type JobFilter = {\n /**\n * When the job can next be activated.\n */\n deadline?: DateTimeFilterProperty | null;\n /**\n * The reason provided by the user task listener for denying the work.\n */\n deniedReason?: StringFilterProperty;\n /**\n * The element ID associated with the job.\n */\n elementId?: StringFilterProperty;\n /**\n * The element instance key associated with the job.\n */\n elementInstanceKey?: ElementInstanceKeyFilterProperty;\n /**\n * When the job ended.\n */\n endTime?: DateTimeFilterProperty;\n /**\n * The error code provided for the failed job.\n */\n errorCode?: StringFilterProperty;\n /**\n * The error message that provides additional context for a failed job.\n */\n errorMessage?: StringFilterProperty;\n /**\n * Indicates whether the job has failed with retries left.\n */\n hasFailedWithRetriesLeft?: boolean;\n /**\n * Indicates whether the user task listener denies the work.\n */\n isDenied?: boolean | null;\n /**\n * The key, a unique identifier for the job.\n */\n jobKey?: JobKeyFilterProperty;\n /**\n * The kind of the job.\n */\n kind?: JobKindFilterProperty;\n /**\n * The listener event type of the job.\n */\n listenerEventType?: JobListenerEventTypeFilterProperty;\n /**\n * The process definition ID associated with the job.\n */\n processDefinitionId?: StringFilterProperty;\n /**\n * The process definition key associated with the job.\n */\n processDefinitionKey?: ProcessDefinitionKeyFilterProperty;\n /**\n * The process instance key associated with the job.\n */\n processInstanceKey?: ProcessInstanceKeyFilterProperty;\n /**\n * The number of retries left.\n */\n retries?: IntegerFilterProperty;\n /**\n * The state of the job.\n */\n state?: JobStateFilterProperty;\n /**\n * The tenant ID.\n */\n tenantId?: StringFilterProperty;\n /**\n * The type of the job.\n */\n type?: StringFilterProperty;\n /**\n * The name of the worker for this job.\n */\n worker?: StringFilterProperty;\n /**\n * When the job was created. Field is present for jobs created after 8.9.\n */\n creationTime?: DateTimeFilterProperty;\n /**\n * When the job was last updated. Field is present for jobs created after 8.9.\n */\n lastUpdateTime?: DateTimeFilterProperty;\n};\n\n/**\n * Job search response.\n */\nexport type JobSearchQueryResult = SearchQueryResponse & {\n /**\n * The matching jobs.\n */\n items: Array<JobSearchResult>;\n};\n\nexport type JobSearchResult = {\n /**\n * A set of custom headers defined during modelling.\n */\n customHeaders: {\n [key: string]: string;\n };\n /**\n * If the job has been activated, when it will next be available to be activated.\n */\n deadline: string | null;\n /**\n * The reason provided by the user task listener for denying the work.\n */\n deniedReason: string | null;\n /**\n * The element ID associated with the job. May be missing on job failure.\n */\n elementId: ElementId | null;\n /**\n * The element instance key associated with the job.\n */\n elementInstanceKey: ElementInstanceKey;\n /**\n * End date of the job.\n * This is `null` if the job is not in an end state yet.\n *\n */\n endTime: string | null;\n /**\n * The error code provided for a failed job.\n */\n errorCode: string | null;\n /**\n * The error message that provides additional context for a failed job.\n */\n errorMessage: string | null;\n /**\n * Indicates whether the job has failed with retries left.\n */\n hasFailedWithRetriesLeft: boolean;\n /**\n * Indicates whether the user task listener denies the work.\n */\n isDenied: boolean | null;\n /**\n * The key, a unique identifier for the job.\n */\n jobKey: JobKey;\n kind: JobKindEnum;\n listenerEventType: JobListenerEventTypeEnum;\n /**\n * The process definition ID associated with the job.\n */\n processDefinitionId: ProcessDefinitionId;\n /**\n * The process definition key associated with the job.\n */\n processDefinitionKey: ProcessDefinitionKey;\n /**\n * The process instance key associated with the job.\n */\n processInstanceKey: ProcessInstanceKey;\n /**\n * The key of the root process instance. The root process instance is the top-level\n * ancestor in the process instance hierarchy. This field is only present for data\n * belonging to process instance hierarchies created in version 8.9 or later.\n *\n */\n rootProcessInstanceKey: ProcessInstanceKey | null;\n /**\n * The amount of retries left to this job.\n */\n retries: number;\n state: JobStateEnum;\n tenantId: TenantId;\n /**\n * The type of the job.\n */\n type: string;\n /**\n * The name of the worker of this job.\n */\n worker: string;\n /**\n * When the job was created. Field is present for jobs created after 8.9.\n */\n creationTime: string | null;\n /**\n * When the job was last updated. Field is present for jobs created after 8.9.\n */\n lastUpdateTime: string | null;\n};\n\nexport type JobFailRequest = {\n /**\n * The amount of retries the job should have left\n */\n retries?: number;\n /**\n * An optional error message describing why the job failed; if not provided, an empty string is used.\n */\n errorMessage?: string;\n /**\n * An optional retry back off for the failed job. The job will not be retryable before the current time plus the back off time. The default is 0 which means the job is retryable immediately.\n */\n retryBackOff?: number;\n /**\n * JSON object that will instantiate the variables at the local scope of the job's associated task.\n *\n */\n variables?: {\n [key: string]: unknown;\n };\n};\n\nexport type JobErrorRequest = {\n /**\n * The error code that will be matched with an error catch event.\n *\n */\n errorCode: string;\n /**\n * An error message that provides additional context.\n *\n */\n errorMessage?: string | null;\n /**\n * JSON object that will instantiate the variables at the local scope of the error catch event that catches the thrown error.\n *\n */\n variables?: {\n [key: string]: unknown;\n } | null;\n};\n\nexport type JobCompletionRequest = {\n /**\n * The variables to complete the job with.\n */\n variables?: {\n [key: string]: unknown;\n } | null;\n result?: JobResult;\n};\n\n/**\n * The result of the completed job as determined by the worker.\n *\n */\nexport type JobResult = ({\n type: 'userTask';\n} & JobResultUserTask) | ({\n type: 'adHocSubProcess';\n} & JobResultAdHocSubProcess);\n\n/**\n * Job result details for a user task completion, optionally including a denial reason and corrected task properties.\n *\n */\nexport type JobResultUserTask = {\n /**\n * Indicates whether the worker denies the work, i.e. explicitly doesn't approve it. For example, a user task listener can deny the completion of a task by setting this flag to true. In this example, the completion of a task is represented by a job that the worker can complete as denied. As a result, the completion request is rejected and the task remains active. Defaults to false.\n *\n */\n denied?: boolean | null;\n /**\n * The reason provided by the user task listener for denying the work.\n */\n deniedReason?: string | null;\n corrections?: JobResultCorrections;\n /**\n * Used to distinguish between different types of job results.\n */\n type?: string;\n} | null;\n\n/**\n * JSON object with attributes that were corrected by the worker.\n *\n * The following attributes can be corrected, additional attributes will be ignored:\n *\n * * `assignee` - clear by providing an empty String\n * * `dueDate` - clear by providing an empty String\n * * `followUpDate` - clear by providing an empty String\n * * `candidateGroups` - clear by providing an empty list\n * * `candidateUsers` - clear by providing an empty list\n * * `priority` - minimum 0, maximum 100, default 50\n *\n * Providing any of those attributes with a `null` value or omitting it preserves\n * the persisted attribute's value.\n *\n */\nexport type JobResultCorrections = {\n /**\n * Assignee of the task.\n */\n assignee?: string | null;\n /**\n * The due date of the task.\n */\n dueDate?: string | null;\n /**\n * The follow-up date of the task.\n */\n followUpDate?: string | null;\n /**\n * The list of candidate users of the task.\n */\n candidateUsers?: Array<string> | null;\n /**\n * The list of candidate groups of the task.\n */\n candidateGroups?: Array<string> | null;\n /**\n * The priority of the task.\n */\n priority?: number | null;\n} | null;\n\n/**\n * Job result details for an ad‑hoc sub‑process, including elements to activate and flags indicating completion or cancellation behavior.\n *\n */\nexport type JobResultAdHocSubProcess = {\n /**\n * Indicates which elements need to be activated in the ad-hoc subprocess.\n */\n activateElements?: Array<JobResultActivateElement>;\n /**\n * Indicates whether the completion condition of the ad-hoc subprocess is fulfilled.\n */\n isCompletionConditionFulfilled?: boolean;\n /**\n * Indicates whether the remaining instances of the ad-hoc subprocess should be canceled.\n */\n isCancelRemainingInstances?: boolean;\n /**\n * Used to distinguish between different types of job results.\n */\n type?: string;\n} | null;\n\n/**\n * Instruction to activate a single BPMN element within an ad‑hoc sub‑process, optionally providing variables scoped to that element.\n */\nexport type JobResultActivateElement = {\n /**\n * The element ID to activate.\n */\n elementId?: ElementId;\n /**\n * Variables for the element.\n */\n variables?: {\n [key: string]: unknown;\n } | null;\n};\n\nexport type JobUpdateRequest = {\n changeset: JobChangeset;\n operationReference?: OperationReference;\n};\n\n/**\n * JSON object with changed job attribute values. The job cannot be completed or failed with this endpoint, use the complete job or fail job endpoints instead.\n */\nexport type JobChangeset = {\n /**\n * The new number of retries for the job.\n */\n retries?: number | null;\n /**\n * The new timeout for the job in milliseconds.\n */\n timeout?: number | null;\n};\n\n/**\n * The tenant filtering strategy for job activation. Determines whether to use tenant IDs provided in the request or tenant IDs assigned to the authenticated principal.\n *\n */\nexport type TenantFilterEnum = 'PROVIDED' | 'ASSIGNED';\n\n/**\n * The state of the job.\n */\nexport type JobStateEnum = 'CANCELED' | 'COMPLETED' | 'CREATED' | 'ERROR_THROWN' | 'FAILED' | 'MIGRATED' | 'RETRIES_UPDATED' | 'TIMED_OUT';\n\n/**\n * The job kind.\n */\nexport type JobKindEnum = 'BPMN_ELEMENT' | 'EXECUTION_LISTENER' | 'TASK_LISTENER' | 'AD_HOC_SUB_PROCESS';\n\n/**\n * The listener event type of the job.\n */\nexport type JobListenerEventTypeEnum = 'ASSIGNING' | 'CANCELING' | 'COMPLETING' | 'CREATING' | 'END' | 'START' | 'UNSPECIFIED' | 'UPDATING';\n\n/**\n * JobKindEnum property with full advanced search capabilities.\n */\nexport type JobKindFilterProperty = JobKindExactMatch | AdvancedJobKindFilter;\n\n/**\n * Advanced filter\n *\n * Advanced JobKindEnum filter.\n */\nexport type AdvancedJobKindFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: JobKindEnum;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: JobKindEnum;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<JobKindEnum>;\n $like?: LikeFilter;\n};\n\n/**\n * JobListenerEventTypeEnum property with full advanced search capabilities.\n */\nexport type JobListenerEventTypeFilterProperty = JobListenerEventTypeExactMatch | AdvancedJobListenerEventTypeFilter;\n\n/**\n * Advanced filter\n *\n * Advanced JobListenerEventTypeEnum filter.\n */\nexport type AdvancedJobListenerEventTypeFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: JobListenerEventTypeEnum;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: JobListenerEventTypeEnum;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<JobListenerEventTypeEnum>;\n $like?: LikeFilter;\n};\n\n/**\n * JobStateEnum property with full advanced search capabilities.\n */\nexport type JobStateFilterProperty = JobStateExactMatch | AdvancedJobStateFilter;\n\n/**\n * Advanced filter\n *\n * Advanced JobStateEnum filter.\n */\nexport type AdvancedJobStateFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: JobStateEnum;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: JobStateEnum;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<JobStateEnum>;\n $like?: LikeFilter;\n};\n\n/**\n * Zeebe Engine resource key (Java long serialized as string)\n */\nexport type LongKey = string;\n\n/**\n * System-generated key for a process instance.\n */\nexport type ProcessInstanceKey = CamundaKey<'ProcessInstanceKey'>;\n\n/**\n * System-generated key for a deployed process definition.\n */\nexport type ProcessDefinitionKey = CamundaKey<'ProcessDefinitionKey'>;\n\n/**\n * System-generated key for a element instance.\n */\nexport type ElementInstanceKey = CamundaKey<'ElementInstanceKey'>;\n\n/**\n * System-generated key for a user task.\n */\nexport type UserTaskKey = CamundaKey<'UserTaskKey'>;\n\n/**\n * System-generated key for a deployed form.\n */\nexport type FormKey = CamundaKey<'FormKey'>;\n\n/**\n * System-generated key for a variable.\n */\nexport type VariableKey = CamundaKey<'VariableKey'>;\n\n/**\n * System-generated key for a scope. A scope can hold variables and represents either an\n * element instance in a BPMN process or the process instance itself.\n *\n */\nexport type ScopeKey = ProcessInstanceKey | ElementInstanceKey;\n\n/**\n * System-generated key for a incident.\n */\nexport type IncidentKey = CamundaKey<'IncidentKey'>;\n\n/**\n * System-generated key for a job.\n */\nexport type JobKey = CamundaKey<'JobKey'>;\n\n/**\n * System-generated key for a decision definition.\n */\nexport type DecisionDefinitionKey = CamundaKey<'DecisionDefinitionKey'>;\n\n/**\n * System-generated key for a decision evaluation instance.\n */\nexport type DecisionEvaluationInstanceKey = CamundaKey<'DecisionEvaluationInstanceKey'>;\n\n/**\n * System-generated key for a decision evaluation.\n */\nexport type DecisionEvaluationKey = CamundaKey<'DecisionEvaluationKey'>;\n\n/**\n * System-generated key for a deployed decision requirements definition.\n */\nexport type DecisionRequirementsKey = CamundaKey<'DecisionRequirementsKey'>;\n\n/**\n * System-generated key for a deployed decision instance.\n */\nexport type DecisionInstanceKey = CamundaKey<'DecisionInstanceKey'>;\n\n/**\n * System-generated key for an batch operation.\n */\nexport type BatchOperationKey = CamundaKey<'BatchOperationKey'>;\n\n/**\n * A reference key chosen by the user that will be part of all records resulting from this operation.\n * Must be > 0 if provided.\n *\n */\nexport type OperationReference = number;\n\n/**\n * System-generated key for an audit log entry.\n */\nexport type AuditLogKey = CamundaKey<'AuditLogKey'>;\n\n/**\n * ProcessDefinitionKey property with full advanced search capabilities.\n */\nexport type ProcessDefinitionKeyFilterProperty = ProcessDefinitionKeyExactMatch | AdvancedProcessDefinitionKeyFilter;\n\n/**\n * Advanced filter\n *\n * Advanced ProcessDefinitionKey filter.\n */\nexport type AdvancedProcessDefinitionKeyFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: ProcessDefinitionKey;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: ProcessDefinitionKey;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<ProcessDefinitionKey>;\n /**\n * Checks if the property matches none of the provided values.\n */\n $notIn?: Array<ProcessDefinitionKey>;\n};\n\n/**\n * ProcessInstanceKey property with full advanced search capabilities.\n */\nexport type ProcessInstanceKeyFilterProperty = ProcessInstanceKeyExactMatch | AdvancedProcessInstanceKeyFilter;\n\n/**\n * Advanced filter\n *\n * Advanced ProcessInstanceKey filter.\n */\nexport type AdvancedProcessInstanceKeyFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: ProcessInstanceKey;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: ProcessInstanceKey;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<ProcessInstanceKey>;\n /**\n * Checks if the property matches none of the provided values.\n */\n $notIn?: Array<ProcessInstanceKey>;\n};\n\n/**\n * ElementInstanceKey property with full advanced search capabilities.\n */\nexport type ElementInstanceKeyFilterProperty = ElementInstanceKeyExactMatch | AdvancedElementInstanceKeyFilter;\n\n/**\n * Advanced filter\n *\n * Advanced ElementInstanceKey filter.\n */\nexport type AdvancedElementInstanceKeyFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: ElementInstanceKey;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: ElementInstanceKey;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<ElementInstanceKey>;\n /**\n * Checks if the property matches none of the provided values.\n */\n $notIn?: Array<ElementInstanceKey>;\n};\n\n/**\n * JobKey property with full advanced search capabilities.\n */\nexport type JobKeyFilterProperty = JobKeyExactMatch | AdvancedJobKeyFilter;\n\n/**\n * Advanced filter\n *\n * Advanced JobKey filter.\n */\nexport type AdvancedJobKeyFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: JobKey;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: JobKey;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<JobKey>;\n /**\n * Checks if the property matches none of the provided values.\n */\n $notIn?: Array<JobKey>;\n};\n\n/**\n * DecisionDefinitionKey property with full advanced search capabilities.\n */\nexport type DecisionDefinitionKeyFilterProperty = DecisionDefinitionKeyExactMatch | AdvancedDecisionDefinitionKeyFilter;\n\n/**\n * Advanced filter\n *\n * Advanced DecisionDefinitionKey filter.\n */\nexport type AdvancedDecisionDefinitionKeyFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: DecisionDefinitionKey;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: DecisionDefinitionKey;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<DecisionDefinitionKey>;\n /**\n * Checks if the property matches none of the provided values.\n */\n $notIn?: Array<DecisionDefinitionKey>;\n};\n\n/**\n * ScopeKey property with full advanced search capabilities. Filter by the key of the\n * element instance or process instance that defines the scope of a variable.\n *\n */\nexport type ScopeKeyFilterProperty = ScopeKeyExactMatch | AdvancedScopeKeyFilter;\n\n/**\n * Advanced filter\n *\n * Advanced ScopeKey filter.\n */\nexport type AdvancedScopeKeyFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: ScopeKey;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: ScopeKey;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<ScopeKey>;\n /**\n * Checks if the property matches none of the provided values.\n */\n $notIn?: Array<ScopeKey>;\n};\n\n/**\n * VariableKey property with full advanced search capabilities.\n */\nexport type VariableKeyFilterProperty = VariableKeyExactMatch | AdvancedVariableKeyFilter;\n\n/**\n * Advanced filter\n *\n * Advanced VariableKey filter.\n */\nexport type AdvancedVariableKeyFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: VariableKey;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: VariableKey;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<VariableKey>;\n /**\n * Checks if the property matches none of the provided values.\n */\n $notIn?: Array<VariableKey>;\n};\n\n/**\n * DecisionEvaluationInstanceKey property with full advanced search capabilities.\n */\nexport type DecisionEvaluationInstanceKeyFilterProperty = DecisionEvaluationInstanceKeyExactMatch | AdvancedDecisionEvaluationInstanceKeyFilter;\n\n/**\n * Advanced filter\n *\n * Advanced DecisionEvaluationInstanceKey filter.\n */\nexport type AdvancedDecisionEvaluationInstanceKeyFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: DecisionEvaluationInstanceKey;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: DecisionEvaluationInstanceKey;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<DecisionEvaluationInstanceKey>;\n /**\n * Checks if the property matches none of the provided values.\n */\n $notIn?: Array<DecisionEvaluationInstanceKey>;\n};\n\n/**\n * AuditLogKey property with full advanced search capabilities.\n */\nexport type AuditLogKeyFilterProperty = AuditLogKeyExactMatch | AdvancedAuditLogKeyFilter;\n\n/**\n * Advanced filter\n *\n * Advanced AuditLogKey filter.\n */\nexport type AdvancedAuditLogKeyFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: AuditLogKey;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: AuditLogKey;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<AuditLogKey>;\n /**\n * Checks if the property matches none of the provided values.\n */\n $notIn?: Array<AuditLogKey>;\n};\n\n/**\n * FormKey property with full advanced search capabilities.\n */\nexport type FormKeyFilterProperty = FormKeyExactMatch | AdvancedFormKeyFilter;\n\n/**\n * Advanced filter\n *\n * Advanced FormKey filter.\n */\nexport type AdvancedFormKeyFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: FormKey;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: FormKey;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<FormKey>;\n /**\n * Checks if the property matches none of the provided values.\n */\n $notIn?: Array<FormKey>;\n};\n\n/**\n * DecisionEvaluationKey property with full advanced search capabilities.\n */\nexport type DecisionEvaluationKeyFilterProperty = DecisionEvaluationKeyExactMatch | AdvancedDecisionEvaluationKeyFilter;\n\n/**\n * Advanced filter\n *\n * Advanced DecisionEvaluationKey filter.\n */\nexport type AdvancedDecisionEvaluationKeyFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: DecisionEvaluationKey;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: DecisionEvaluationKey;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<DecisionEvaluationKey>;\n /**\n * Checks if the property matches none of the provided values.\n */\n $notIn?: Array<DecisionEvaluationKey>;\n};\n\n/**\n * DecisionRequirementsKey property with full advanced search capabilities.\n */\nexport type DecisionRequirementsKeyFilterProperty = DecisionRequirementsKeyExactMatch | AdvancedDecisionRequirementsKeyFilter;\n\n/**\n * Advanced filter\n *\n * Advanced DecisionRequirementsKey filter.\n */\nexport type AdvancedDecisionRequirementsKeyFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: DecisionRequirementsKey;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: DecisionRequirementsKey;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<DecisionRequirementsKey>;\n /**\n * Checks if the property matches none of the provided values.\n */\n $notIn?: Array<DecisionRequirementsKey>;\n};\n\n/**\n * The response of a license request.\n */\nexport type LicenseResponse = {\n /**\n * True if the Camunda license is valid, false if otherwise\n */\n validLicense: boolean;\n /**\n * Will return the license type property of the Camunda license\n */\n licenseType: string;\n /**\n * Will be false when a license contains a non-commerical=true property\n */\n isCommercial: boolean;\n /**\n * The date when the Camunda license expires\n */\n expiresAt: string | null;\n};\n\nexport type MappingRuleCreateUpdateRequest = {\n /**\n * The name of the claim to map.\n */\n claimName: string;\n /**\n * The value of the claim to map.\n */\n claimValue: string;\n /**\n * The name of the mapping rule.\n */\n name: string;\n};\n\nexport type MappingRuleCreateRequest = MappingRuleCreateUpdateRequest & {\n /**\n * The unique ID of the mapping rule.\n */\n mappingRuleId: string;\n};\n\nexport type MappingRuleUpdateRequest = MappingRuleCreateUpdateRequest;\n\nexport type MappingRuleCreateUpdateResult = {\n /**\n * The name of the claim to map.\n */\n claimName: string;\n /**\n * The value of the claim to map.\n */\n claimValue: string;\n /**\n * The name of the mapping rule.\n */\n name: string;\n /**\n * The unique ID of the mapping rule.\n */\n mappingRuleId: string;\n};\n\nexport type MappingRuleCreateResult = MappingRuleCreateUpdateResult;\n\nexport type MappingRuleUpdateResult = MappingRuleCreateUpdateResult;\n\nexport type MappingRuleSearchQueryResult = SearchQueryResponse & {\n /**\n * The matching mapping rules.\n */\n items: Array<MappingRuleResult>;\n};\n\nexport type MappingRuleResult = {\n /**\n * The name of the claim to map.\n */\n claimName: string;\n /**\n * The value of the claim to map.\n */\n claimValue: string;\n /**\n * The name of the mapping rule.\n */\n name: string;\n /**\n * The ID of the mapping rule.\n */\n mappingRuleId: string;\n};\n\nexport type MappingRuleSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'mappingRuleId' | 'claimName' | 'claimValue' | 'name';\n order?: SortOrderEnum;\n};\n\nexport type MappingRuleSearchQueryRequest = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<MappingRuleSearchQuerySortRequest>;\n /**\n * The mapping rule search filters.\n */\n filter?: MappingRuleFilter;\n};\n\n/**\n * Mapping rule search filter.\n */\nexport type MappingRuleFilter = {\n /**\n * The claim name to match against a token.\n */\n claimName?: string;\n /**\n * The value of the claim to match.\n */\n claimValue?: string;\n /**\n * The name of the mapping rule.\n */\n name?: string;\n /**\n * The ID of the mapping rule.\n */\n mappingRuleId?: string;\n};\n\nexport type MessageCorrelationRequest = {\n /**\n * The message name as defined in the BPMN process\n *\n */\n name: string;\n /**\n * The correlation key of the message.\n */\n correlationKey?: string;\n /**\n * The message variables as JSON document\n */\n variables?: {\n [key: string]: unknown;\n };\n /**\n * the tenant for which the message is published\n */\n tenantId?: TenantId;\n};\n\n/**\n * The message key of the correlated message, as well as the first process instance key it\n * correlated with.\n *\n */\nexport type MessageCorrelationResult = {\n /**\n * The tenant ID of the correlated message\n */\n tenantId: TenantId;\n /**\n * The key of the correlated message.\n */\n messageKey: MessageKey;\n /**\n * The key of the first process instance the message correlated with\n */\n processInstanceKey: ProcessInstanceKey;\n};\n\nexport type MessagePublicationRequest = {\n /**\n * The name of the message.\n */\n name: string;\n /**\n * The correlation key of the message.\n */\n correlationKey?: string;\n /**\n * Timespan (in ms) to buffer the message on the broker.\n */\n timeToLive?: number;\n /**\n * The unique ID of the message. This is used to ensure only one message with the given ID\n * will be published during the lifetime of the message (if `timeToLive` is set).\n *\n */\n messageId?: string;\n /**\n * The message variables as JSON document.\n */\n variables?: {\n [key: string]: unknown;\n };\n /**\n * The tenant of the message sender.\n */\n tenantId?: TenantId;\n};\n\n/**\n * The message key of the published message.\n */\nexport type MessagePublicationResult = {\n /**\n * The tenant ID of the message.\n */\n tenantId: TenantId;\n /**\n * The key of the published message.\n */\n messageKey: MessageKey;\n};\n\nexport type MessageSubscriptionSearchQueryResult = SearchQueryResponse & {\n /**\n * The matching message subscriptions.\n */\n items: Array<MessageSubscriptionResult>;\n};\n\nexport type MessageSubscriptionResult = {\n /**\n * The message subscription key associated with this message subscription.\n */\n messageSubscriptionKey: MessageSubscriptionKey;\n /**\n * The process definition ID associated with this message subscription.\n */\n processDefinitionId: ProcessDefinitionId;\n /**\n * The process definition key associated with this message subscription.\n */\n processDefinitionKey: ProcessDefinitionKey | null;\n /**\n * The process instance key associated with this message subscription.\n */\n processInstanceKey: ProcessInstanceKey | null;\n /**\n * The key of the root process instance. The root process instance is the top-level\n * ancestor in the process instance hierarchy. This field is only present for data\n * belonging to process instance hierarchies created in version 8.9 or later.\n *\n */\n rootProcessInstanceKey: ProcessInstanceKey | null;\n /**\n * The element ID associated with this message subscription.\n */\n elementId: ElementId;\n /**\n * The element instance key associated with this message subscription.\n */\n elementInstanceKey: ElementInstanceKey | null;\n messageSubscriptionState: MessageSubscriptionStateEnum;\n /**\n * The last updated date of the message subscription.\n */\n lastUpdatedDate: string;\n /**\n * The name of the message associated with the message subscription.\n */\n messageName: string;\n /**\n * The correlation key of the message subscription.\n */\n correlationKey: string | null;\n tenantId: TenantId;\n};\n\nexport type MessageSubscriptionSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'messageSubscriptionKey' | 'processDefinitionId' | 'processInstanceKey' | 'elementId' | 'elementInstanceKey' | 'messageSubscriptionState' | 'lastUpdatedDate' | 'messageName' | 'correlationKey' | 'tenantId';\n order?: SortOrderEnum;\n};\n\nexport type MessageSubscriptionSearchQuery = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<MessageSubscriptionSearchQuerySortRequest>;\n /**\n * The incident search filters.\n */\n filter?: MessageSubscriptionFilter;\n};\n\n/**\n * Message subscription search filter.\n */\nexport type MessageSubscriptionFilter = {\n /**\n * The message subscription key associated with this message subscription.\n */\n messageSubscriptionKey?: MessageSubscriptionKeyFilterProperty;\n /**\n * The process definition key associated with this correlated message subscription. This only works for data created with 8.9 and later.\n */\n processDefinitionKey?: ProcessDefinitionKeyFilterProperty;\n /**\n * The process definition ID associated with this message subscription.\n */\n processDefinitionId?: StringFilterProperty;\n /**\n * The process instance key associated with this message subscription.\n */\n processInstanceKey?: ProcessInstanceKeyFilterProperty;\n /**\n * The element ID associated with this message subscription.\n */\n elementId?: StringFilterProperty;\n /**\n * The element instance key associated with this message subscription.\n */\n elementInstanceKey?: ElementInstanceKeyFilterProperty;\n /**\n * The message subscription state.\n */\n messageSubscriptionState?: MessageSubscriptionStateFilterProperty;\n /**\n * The last updated date of the message subscription.\n */\n lastUpdatedDate?: DateTimeFilterProperty;\n /**\n * The name of the message associated with the message subscription.\n */\n messageName?: StringFilterProperty;\n /**\n * The correlation key of the message subscription.\n */\n correlationKey?: StringFilterProperty;\n /**\n * The unique external tenant ID.\n */\n tenantId?: StringFilterProperty;\n};\n\nexport type CorrelatedMessageSubscriptionSearchQueryResult = SearchQueryResponse & {\n /**\n * The matching correlated message subscriptions.\n */\n items: Array<CorrelatedMessageSubscriptionResult>;\n};\n\nexport type CorrelatedMessageSubscriptionResult = {\n /**\n * The correlation key of the message.\n */\n correlationKey: string | null;\n /**\n * The time when the message was correlated.\n */\n correlationTime: string;\n /**\n * The element ID that received the message.\n */\n elementId: string;\n /**\n * The element instance key that received the message.\n * It is `null` for start event subscriptions.\n *\n */\n elementInstanceKey: ElementInstanceKey | null;\n /**\n * The message key.\n */\n messageKey: MessageKey;\n /**\n * The name of the message.\n */\n messageName: string;\n /**\n * The partition ID that correlated the message.\n */\n partitionId: number;\n /**\n * The process definition ID associated with this correlated message subscription.\n */\n processDefinitionId: ProcessDefinitionId;\n /**\n * The process definition key associated with this correlated message subscription.\n */\n processDefinitionKey: ProcessDefinitionKey;\n /**\n * The process instance key associated with this correlated message subscription.\n */\n processInstanceKey: ProcessInstanceKey;\n /**\n * The key of the root process instance. The root process instance is the top-level\n * ancestor in the process instance hierarchy. This field is only present for data\n * belonging to process instance hierarchies created in version 8.9 or later.\n *\n */\n rootProcessInstanceKey: ProcessInstanceKey | null;\n /**\n * The subscription key that received the message.\n */\n subscriptionKey: MessageSubscriptionKey;\n /**\n * The tenant ID associated with this correlated message subscription.\n */\n tenantId: TenantId;\n};\n\nexport type CorrelatedMessageSubscriptionSearchQuery = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<CorrelatedMessageSubscriptionSearchQuerySortRequest>;\n /**\n * The correlated message subscriptions search filters.\n */\n filter?: CorrelatedMessageSubscriptionFilter;\n};\n\nexport type CorrelatedMessageSubscriptionSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'correlationKey' | 'correlationTime' | 'elementId' | 'elementInstanceKey' | 'messageKey' | 'messageName' | 'partitionId' | 'processDefinitionId' | 'processDefinitionKey' | 'processInstanceKey' | 'subscriptionKey' | 'tenantId';\n order?: SortOrderEnum;\n};\n\n/**\n * The state of message subscription.\n */\nexport type MessageSubscriptionStateEnum = 'CORRELATED' | 'CREATED' | 'DELETED' | 'MIGRATED';\n\n/**\n * Correlated message subscriptions search filter.\n */\nexport type CorrelatedMessageSubscriptionFilter = {\n /**\n * The correlation key of the message.\n */\n correlationKey?: StringFilterProperty;\n /**\n * The time when the message was correlated.\n */\n correlationTime?: DateTimeFilterProperty;\n /**\n * The element ID that received the message.\n */\n elementId?: StringFilterProperty;\n /**\n * The element instance key that received the message.\n */\n elementInstanceKey?: ElementInstanceKeyFilterProperty;\n /**\n * The message key.\n */\n messageKey?: BasicStringFilterProperty;\n /**\n * The name of the message.\n */\n messageName?: StringFilterProperty;\n /**\n * The partition ID that correlated the message.\n */\n partitionId?: IntegerFilterProperty;\n /**\n * The process definition ID associated with this correlated message subscription.\n */\n processDefinitionId?: StringFilterProperty;\n /**\n * The process definition key associated with this correlated message subscription. For intermediate message events, this only works for data created with 8.9 and later.\n */\n processDefinitionKey?: ProcessDefinitionKeyFilterProperty;\n /**\n * The process instance key associated with this correlated message subscription.\n */\n processInstanceKey?: ProcessInstanceKeyFilterProperty;\n /**\n * The subscription key that received the message.\n */\n subscriptionKey?: MessageSubscriptionKeyFilterProperty;\n /**\n * The tenant ID associated with this correlated message subscription.\n */\n tenantId?: StringFilterProperty;\n};\n\n/**\n * MessageSubscriptionStateEnum with full advanced search capabilities.\n */\nexport type MessageSubscriptionStateFilterProperty = MessageSubscriptionStateExactMatch | AdvancedMessageSubscriptionStateFilter;\n\n/**\n * Advanced filter\n *\n * Advanced MessageSubscriptionStateEnum filter\n */\nexport type AdvancedMessageSubscriptionStateFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: MessageSubscriptionStateEnum;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: MessageSubscriptionStateEnum;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<MessageSubscriptionStateEnum>;\n $like?: LikeFilter;\n};\n\n/**\n * Advanced filter\n *\n * Advanced MessageSubscriptionKey filter.\n */\nexport type AdvancedMessageSubscriptionKeyFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: MessageSubscriptionKey;\n /**\n * Checks for equality with the provided value.\n */\n $neq?: MessageSubscriptionKey;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<MessageSubscriptionKey>;\n /**\n * Checks if the property matches none of the provided values.\n */\n $notIn?: Array<MessageSubscriptionKey>;\n};\n\n/**\n * MessageSubscriptionKey property with full advanced search capabilities.\n */\nexport type MessageSubscriptionKeyFilterProperty = MessageSubscriptionKeyExactMatch | AdvancedMessageSubscriptionKeyFilter;\n\n/**\n * System-generated key for a message subscription.\n */\nexport type MessageSubscriptionKey = CamundaKey<'MessageSubscriptionKey'>;\n\n/**\n * System-generated key for an message.\n */\nexport type MessageKey = CamundaKey<'MessageKey'>;\n\n/**\n * A Problem detail object as described in [RFC 9457](https://www.rfc-editor.org/rfc/rfc9457). There may be additional properties specific to the problem type.\n *\n */\nexport type ProblemDetail = {\n /**\n * A URI identifying the problem type.\n */\n type: string;\n /**\n * A summary of the problem type.\n */\n title: string;\n /**\n * The HTTP status code for this problem.\n */\n status: number;\n /**\n * An explanation of the problem in more detail.\n */\n detail: string;\n /**\n * A URI path identifying the origin of the problem.\n */\n instance: string;\n};\n\nexport type ProcessDefinitionSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'processDefinitionKey' | 'name' | 'resourceName' | 'version' | 'versionTag' | 'processDefinitionId' | 'tenantId';\n order?: SortOrderEnum;\n};\n\nexport type ProcessDefinitionSearchQuery = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<ProcessDefinitionSearchQuerySortRequest>;\n /**\n * The process definition search filters.\n */\n filter?: ProcessDefinitionFilter;\n};\n\n/**\n * Process definition search filter.\n */\nexport type ProcessDefinitionFilter = {\n /**\n * Name of this process definition.\n */\n name?: StringFilterProperty;\n /**\n * Whether to only return the latest version of each process definition.\n * When using this filter, pagination functionality is limited, you can only paginate forward using `after` and `limit`.\n * The response contains no `startCursor` in the `page`, and requests ignore the `from` and `before` in the `page`.\n * When using this filter, sorting is limited to `processDefinitionId` and `tenantId` fields only.\n *\n */\n isLatestVersion?: boolean;\n /**\n * Resource name of this process definition.\n */\n resourceName?: string;\n /**\n * Version of this process definition.\n */\n version?: number;\n /**\n * Version tag of this process definition.\n */\n versionTag?: string;\n /**\n * Process definition ID of this process definition.\n */\n processDefinitionId?: StringFilterProperty;\n /**\n * Tenant ID of this process definition.\n */\n tenantId?: TenantId;\n /**\n * The key for this process definition.\n */\n processDefinitionKey?: ProcessDefinitionKey;\n /**\n * Indicates whether the start event of the process has an associated Form Key.\n */\n hasStartForm?: boolean;\n};\n\nexport type ProcessDefinitionSearchQueryResult = SearchQueryResponse & {\n /**\n * The matching process definitions.\n */\n items: Array<ProcessDefinitionResult>;\n};\n\nexport type ProcessDefinitionResult = {\n /**\n * Name of this process definition.\n */\n name: string | null;\n /**\n * Resource name for this process definition.\n */\n resourceName: string;\n /**\n * Version of this process definition.\n */\n version: number;\n /**\n * Version tag of this process definition.\n */\n versionTag: string | null;\n /**\n * Process definition ID of this process definition.\n */\n processDefinitionId: ProcessDefinitionId;\n /**\n * Tenant ID of this process definition.\n */\n tenantId: TenantId;\n /**\n * The key for this process definition.\n */\n processDefinitionKey: ProcessDefinitionKey;\n /**\n * Indicates whether the start event of the process has an associated Form Key.\n */\n hasStartForm: boolean;\n};\n\n/**\n * Process definition element statistics request.\n */\nexport type ProcessDefinitionElementStatisticsQuery = {\n /**\n * The process definition statistics search filters.\n */\n filter?: ProcessDefinitionStatisticsFilter;\n};\n\n/**\n * Process definition element statistics query response.\n */\nexport type ProcessDefinitionElementStatisticsQueryResult = {\n /**\n * The element statistics.\n */\n items: Array<ProcessElementStatisticsResult>;\n};\n\n/**\n * Process element statistics response.\n */\nexport type ProcessElementStatisticsResult = {\n /**\n * The element ID for which the results are aggregated.\n */\n elementId: ElementId;\n /**\n * The total number of active instances of the element.\n */\n active: number;\n /**\n * The total number of canceled instances of the element.\n */\n canceled: number;\n /**\n * The total number of incidents for the element.\n */\n incidents: number;\n /**\n * The total number of completed instances of the element.\n */\n completed: number;\n};\n\nexport type ProcessDefinitionMessageSubscriptionStatisticsQuery = {\n /**\n * Search cursor pagination.\n */\n page?: CursorForwardPagination;\n /**\n * The message subscription filters.\n */\n filter?: MessageSubscriptionFilter;\n};\n\nexport type ProcessDefinitionMessageSubscriptionStatisticsQueryResult = SearchQueryResponse & {\n /**\n * The matching process definition message subscription statistics.\n */\n items: Array<ProcessDefinitionMessageSubscriptionStatisticsResult>;\n};\n\nexport type ProcessDefinitionMessageSubscriptionStatisticsResult = {\n /**\n * The process definition ID associated with this message subscription.\n */\n processDefinitionId: ProcessDefinitionId;\n /**\n * The tenant ID associated with this message subscription.\n */\n tenantId: TenantId;\n /**\n * The process definition key associated with this message subscription.\n */\n processDefinitionKey: ProcessDefinitionKey;\n /**\n * The number of process instances with active message subscriptions.\n */\n processInstancesWithActiveSubscriptions: number;\n /**\n * The total number of active message subscriptions for this process definition key.\n */\n activeSubscriptions: number;\n};\n\nexport type ProcessDefinitionInstanceStatisticsQuery = {\n /**\n * Search cursor pagination.\n */\n page?: OffsetPagination;\n /**\n * Sort field criteria.\n */\n sort?: Array<ProcessDefinitionInstanceStatisticsQuerySortRequest>;\n};\n\nexport type ProcessDefinitionInstanceStatisticsQueryResult = SearchQueryResponse & {\n /**\n * The process definition instance statistics result.\n */\n items: Array<ProcessDefinitionInstanceStatisticsResult>;\n};\n\n/**\n * Process definition instance statistics response.\n */\nexport type ProcessDefinitionInstanceStatisticsResult = {\n processDefinitionId: ProcessDefinitionId;\n tenantId: TenantId;\n /**\n * Name of the latest deployed process definition instance version.\n */\n latestProcessDefinitionName: string | null;\n /**\n * Indicates whether multiple versions of this process definition instance are deployed.\n */\n hasMultipleVersions: boolean;\n /**\n * Total number of currently active process instances of this definition that do not have incidents.\n */\n activeInstancesWithoutIncidentCount: number;\n /**\n * Total number of currently active process instances of this definition that have at least one incident.\n */\n activeInstancesWithIncidentCount: number;\n};\n\nexport type ProcessDefinitionInstanceStatisticsQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'processDefinitionId' | 'activeInstancesWithIncidentCount' | 'activeInstancesWithoutIncidentCount';\n order?: SortOrderEnum;\n};\n\nexport type ProcessDefinitionInstanceVersionStatisticsQuery = {\n /**\n * Pagination criteria.\n */\n page?: OffsetPagination;\n /**\n * Sort field criteria.\n */\n sort?: Array<ProcessDefinitionInstanceVersionStatisticsQuerySortRequest>;\n /**\n * The process definition instance version statistics search filters.\n */\n filter: ProcessDefinitionInstanceVersionStatisticsFilter;\n};\n\n/**\n * Process definition instance version statistics search filter.\n */\nexport type ProcessDefinitionInstanceVersionStatisticsFilter = {\n /**\n * The ID of the process definition to retrieve version statistics for.\n */\n processDefinitionId: ProcessDefinitionId;\n /**\n * Tenant ID of this process definition.\n */\n tenantId?: TenantId;\n};\n\nexport type ProcessDefinitionInstanceVersionStatisticsQueryResult = SearchQueryResponse & {\n /**\n * The process definition instance version statistics result.\n */\n items: Array<ProcessDefinitionInstanceVersionStatisticsResult>;\n};\n\n/**\n * Process definition instance version statistics response.\n */\nexport type ProcessDefinitionInstanceVersionStatisticsResult = {\n /**\n * The ID associated with the process definition.\n */\n processDefinitionId: ProcessDefinitionId;\n /**\n * The unique key of the process definition.\n */\n processDefinitionKey: ProcessDefinitionKey;\n /**\n * The name of the process definition.\n */\n processDefinitionName: string | null;\n /**\n * The tenant ID associated with the process definition.\n */\n tenantId: TenantId;\n /**\n * The version number of the process definition.\n */\n processDefinitionVersion: number;\n /**\n * The number of active process instances for this version that currently have incidents.\n */\n activeInstancesWithIncidentCount: number;\n /**\n * The number of active process instances for this version that do not have any incidents.\n */\n activeInstancesWithoutIncidentCount: number;\n};\n\nexport type ProcessDefinitionInstanceVersionStatisticsQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'processDefinitionId' | 'processDefinitionKey' | 'processDefinitionName' | 'processDefinitionVersion' | 'activeInstancesWithIncidentCount' | 'activeInstancesWithoutIncidentCount';\n order?: SortOrderEnum;\n};\n\n/**\n * Instructions for creating a process instance. The process definition can be specified\n * either by id or by key.\n *\n */\nexport type ProcessInstanceCreationInstruction = ProcessInstanceCreationInstructionByKey | ProcessInstanceCreationInstructionById;\n\n/**\n * Process creation by id\n */\nexport type ProcessInstanceCreationInstructionById = {\n /**\n * The BPMN process id of the process definition to start an instance of.\n *\n */\n processDefinitionId: ProcessDefinitionId;\n /**\n * The version of the process. By default, the latest version of the process is used.\n *\n */\n processDefinitionVersion?: number;\n /**\n * JSON object that will instantiate the variables for the root variable scope\n * of the process instance.\n *\n */\n variables?: {\n [key: string]: unknown;\n };\n /**\n * The tenant id of the process definition.\n * If multi-tenancy is enabled, provide the tenant id of the process definition to start a\n * process instance of. If multi-tenancy is disabled, don't provide this parameter.\n *\n */\n tenantId?: TenantId;\n operationReference?: OperationReference;\n /**\n * List of start instructions. By default, the process instance will start at\n * the start event. If provided, the process instance will apply start instructions\n * after it has been created.\n *\n */\n startInstructions?: Array<ProcessInstanceCreationStartInstruction>;\n /**\n * Runtime instructions (alpha). List of instructions that affect the runtime behavior of\n * the process instance. Refer to specific instruction types for more details.\n *\n * This parameter is an alpha feature and may be subject to change\n * in future releases.\n *\n */\n runtimeInstructions?: Array<ProcessInstanceCreationRuntimeInstruction>;\n /**\n * Wait for the process instance to complete. If the process instance does not complete\n * within the request timeout limit, a 504 response status will be returned. The process\n * instance will continue to run in the background regardless of the timeout. Disabled by\n * default.\n *\n */\n awaitCompletion?: boolean;\n /**\n * List of variables by name to be included in the response when awaitCompletion is set to true.\n * If empty, all visible variables in the root scope will be returned.\n *\n */\n fetchVariables?: Array<string>;\n /**\n * Timeout (in ms) the request waits for the process to complete. By default or\n * when set to 0, the generic request timeout configured in the cluster is applied.\n *\n */\n requestTimeout?: number;\n tags?: TagSet;\n businessId?: BusinessId;\n};\n\n/**\n * Process creation by key\n */\nexport type ProcessInstanceCreationInstructionByKey = {\n /**\n * The unique key identifying the process definition, for example, returned for a process in the\n * deploy resources endpoint.\n *\n */\n processDefinitionKey: ProcessDefinitionKey;\n /**\n * As the version is already identified by the `processDefinitionKey`, the value of this field is ignored.\n * It's here for backwards-compatibility only as previous releases accepted it in request bodies.\n *\n */\n processDefinitionVersion?: number;\n /**\n * Set of variables as JSON object to instantiate in the root variable scope of the process\n * instance. Can include nested complex objects.\n *\n */\n variables?: {\n [key: string]: unknown;\n };\n /**\n * List of start instructions. By default, the process instance will start at\n * the start event. If provided, the process instance will apply start instructions\n * after it has been created.\n *\n */\n startInstructions?: Array<ProcessInstanceCreationStartInstruction>;\n /**\n * Runtime instructions (alpha). List of instructions that affect the runtime behavior of\n * the process instance. Refer to specific instruction types for more details.\n *\n * This parameter is an alpha feature and may be subject to change\n * in future releases.\n *\n */\n runtimeInstructions?: Array<ProcessInstanceCreationRuntimeInstruction>;\n /**\n * The tenant id of the process definition.\n * If multi-tenancy is enabled, provide the tenant id of the process definition to start a\n * process instance of. If multi-tenancy is disabled, don't provide this parameter.\n *\n */\n tenantId?: TenantId;\n operationReference?: OperationReference;\n /**\n * Wait for the process instance to complete. If the process instance does not complete\n * within the request timeout limit, a 504 response status will be returned. The process\n * instance will continue to run in the background regardless of the timeout. Disabled by\n * default.\n *\n */\n awaitCompletion?: boolean;\n /**\n * Timeout (in ms) the request waits for the process to complete. By default or\n * when set to 0, the generic request timeout configured in the cluster is applied.\n *\n */\n requestTimeout?: number;\n /**\n * List of variables by name to be included in the response when awaitCompletion is set to true.\n * If empty, all visible variables in the root scope will be returned.\n *\n */\n fetchVariables?: Array<string>;\n tags?: TagSet;\n businessId?: BusinessId;\n};\n\nexport type ProcessInstanceCreationStartInstruction = {\n /**\n * Future extensions might include:\n * - different types of start instructions\n * - ability to set local variables for different flow scopes\n *\n * For now, however, the start instruction is implicitly a \"startBeforeElement\" instruction\n *\n */\n elementId: ElementId;\n};\n\nexport type ProcessInstanceCreationRuntimeInstruction = {\n type: 'TERMINATE_PROCESS_INSTANCE';\n} & ProcessInstanceCreationTerminateInstruction;\n\n/**\n * Terminates the process instance after a specific BPMN element is completed or terminated.\n *\n */\nexport type ProcessInstanceCreationTerminateInstruction = {\n /**\n * The type of the runtime instruction\n */\n type?: string;\n /**\n * The id of the element that, once completed or terminated, will cause the process to be terminated.\n *\n */\n afterElementId: ElementId;\n};\n\nexport type CreateProcessInstanceResult = {\n /**\n * The BPMN process id of the process definition which was used to create the process.\n * instance\n *\n */\n processDefinitionId: ProcessDefinitionId;\n /**\n * The version of the process definition which was used to create the process instance.\n *\n */\n processDefinitionVersion: number;\n /**\n * The tenant id of the created process instance.\n */\n tenantId: TenantId;\n /**\n * All the variables visible in the root scope.\n */\n variables: {\n [key: string]: unknown;\n };\n /**\n * The key of the process definition which was used to create the process instance.\n *\n */\n processDefinitionKey: ProcessDefinitionKey;\n /**\n * The unique identifier of the created process instance; to be used wherever a request\n * needs a process instance key (e.g. CancelProcessInstanceRequest).\n *\n */\n processInstanceKey: ProcessInstanceKey;\n tags: TagSet;\n /**\n * Business id as provided on creation.\n */\n businessId: BusinessId | null;\n};\n\nexport type ProcessInstanceSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'processInstanceKey' | 'processDefinitionId' | 'processDefinitionName' | 'processDefinitionVersion' | 'processDefinitionVersionTag' | 'processDefinitionKey' | 'parentProcessInstanceKey' | 'parentElementInstanceKey' | 'startDate' | 'endDate' | 'state' | 'hasIncident' | 'tenantId' | 'businessId';\n order?: SortOrderEnum;\n};\n\n/**\n * Process instance search request.\n */\nexport type ProcessInstanceSearchQuery = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<ProcessInstanceSearchQuerySortRequest>;\n /**\n * The process instance search filters.\n */\n filter?: ProcessInstanceFilter;\n};\n\n/**\n * Base process instance search filter.\n */\nexport type BaseProcessInstanceFilterFields = {\n /**\n * The start date.\n */\n startDate?: DateTimeFilterProperty;\n /**\n * The end date.\n */\n endDate?: DateTimeFilterProperty;\n /**\n * The process instance state.\n */\n state?: ProcessInstanceStateFilterProperty;\n /**\n * Whether this process instance has a related incident or not.\n */\n hasIncident?: boolean;\n /**\n * The tenant id.\n */\n tenantId?: StringFilterProperty;\n /**\n * The process instance variables.\n */\n variables?: Array<VariableValueFilterProperty>;\n /**\n * The key of this process instance.\n */\n processInstanceKey?: ProcessInstanceKeyFilterProperty;\n /**\n * The parent process instance key.\n */\n parentProcessInstanceKey?: ProcessInstanceKeyFilterProperty;\n /**\n * The parent element instance key.\n */\n parentElementInstanceKey?: ElementInstanceKeyFilterProperty;\n /**\n * The batch operation id.\n * **Deprecated**: Use `batchOperationKey` instead. This field will be removed in a future release. If both `batchOperationId` and `batchOperationKey` are provided, the request will be rejected with a 400 error.\n *\n *\n * @deprecated\n */\n batchOperationId?: StringFilterProperty;\n /**\n * The batch operation key.\n */\n batchOperationKey?: StringFilterProperty;\n /**\n * The error message related to the process.\n */\n errorMessage?: StringFilterProperty;\n /**\n * Whether the process has failed jobs with retries left.\n */\n hasRetriesLeft?: boolean;\n /**\n * The state of the element instances associated with the process instance.\n */\n elementInstanceState?: ElementInstanceStateFilterProperty;\n /**\n * The element id associated with the process instance.\n */\n elementId?: StringFilterProperty;\n /**\n * Whether the element instance has an incident or not.\n */\n hasElementInstanceIncident?: boolean;\n /**\n * The incident error hash code, associated with this process.\n */\n incidentErrorHashCode?: IntegerFilterProperty;\n tags?: TagSet;\n /**\n * The business id associated with the process instance.\n */\n businessId?: StringFilterProperty;\n};\n\n/**\n * Process definition statistics search filter.\n */\nexport type ProcessDefinitionStatisticsFilter = BaseProcessInstanceFilterFields & {\n /**\n * Defines a list of alternative filter groups combined using OR logic. Each object in the array is evaluated independently, and the filter matches if any one of them is satisfied.\n *\n * Top-level fields and the `$or` clause are combined using AND logic — meaning: (top-level filters) AND (any of the `$or` filters) must match.\n * <br>\n * <em>Example:</em>\n *\n * ```json\n * {\n * \"state\": \"ACTIVE\",\n * \"tenantId\": 123,\n * \"$or\": [\n * { \"processDefinitionId\": \"process_v1\" },\n * { \"processDefinitionId\": \"process_v2\", \"hasIncident\": true }\n * ]\n * }\n * ```\n * This matches process instances that:\n *\n * <ul style=\"padding-left: 20px; margin-left: 20px;\">\n * <li style=\"list-style-type: disc;\">are in <em>ACTIVE</em> state</li>\n * <li style=\"list-style-type: disc;\">have tenant id equal to <em>123</em></li>\n * <li style=\"list-style-type: disc;\">and match either:\n * <ul style=\"padding-left: 20px; margin-left: 20px;\">\n * <li style=\"list-style-type: circle;\"><code>processDefinitionId</code> is <em>process_v1</em>, or</li>\n * <li style=\"list-style-type: circle;\"><code>processDefinitionId</code> is <em>process_v2</em> and <code>hasIncident</code> is <em>true</em></li>\n * </ul>\n * </li>\n * </ul>\n * <br>\n * <p>Note: Using complex <code>$or</code> conditions may impact performance, use with caution in high-volume environments.\n *\n */\n $or?: Array<BaseProcessInstanceFilterFields>;\n};\n\n/**\n * Process instance search filter.\n */\nexport type ProcessInstanceFilterFields = BaseProcessInstanceFilterFields & {\n /**\n * The process definition id.\n */\n processDefinitionId?: StringFilterProperty;\n /**\n * The process definition name.\n */\n processDefinitionName?: StringFilterProperty;\n /**\n * The process definition version.\n */\n processDefinitionVersion?: IntegerFilterProperty;\n /**\n * The process definition version tag.\n */\n processDefinitionVersionTag?: StringFilterProperty;\n /**\n * The process definition key.\n */\n processDefinitionKey?: ProcessDefinitionKeyFilterProperty;\n};\n\n/**\n * Process instance search filter.\n */\nexport type ProcessInstanceFilter = ProcessInstanceFilterFields & {\n /**\n * Defines a list of alternative filter groups combined using OR logic. Each object in the array is evaluated independently, and the filter matches if any one of them is satisfied.\n *\n * Top-level fields and the `$or` clause are combined using AND logic — meaning: (top-level filters) AND (any of the `$or` filters) must match.\n * <br>\n * <em>Example:</em>\n *\n * ```json\n * {\n * \"state\": \"ACTIVE\",\n * \"tenantId\": 123,\n * \"$or\": [\n * { \"processDefinitionId\": \"process_v1\" },\n * { \"processDefinitionId\": \"process_v2\", \"hasIncident\": true }\n * ]\n * }\n * ```\n * This matches process instances that:\n *\n * <ul style=\"padding-left: 20px; margin-left: 20px;\">\n * <li style=\"list-style-type: disc;\">are in <em>ACTIVE</em> state</li>\n * <li style=\"list-style-type: disc;\">have tenant id equal to <em>123</em></li>\n * <li style=\"list-style-type: disc;\">and match either:\n * <ul style=\"padding-left: 20px; margin-left: 20px;\">\n * <li style=\"list-style-type: circle;\"><code>processDefinitionId</code> is <em>process_v1</em>, or</li>\n * <li style=\"list-style-type: circle;\"><code>processDefinitionId</code> is <em>process_v2</em> and <code>hasIncident</code> is <em>true</em></li>\n * </ul>\n * </li>\n * </ul>\n * <br>\n * <p>Note: Using complex <code>$or</code> conditions may impact performance, use with caution in high-volume environments.\n *\n */\n $or?: Array<ProcessInstanceFilterFields>;\n};\n\n/**\n * Process instance search response.\n */\nexport type ProcessInstanceSearchQueryResult = SearchQueryResponse & {\n /**\n * The matching process instances.\n */\n items: Array<ProcessInstanceResult>;\n};\n\n/**\n * Process instance search response item.\n */\nexport type ProcessInstanceResult = {\n processDefinitionId: ProcessDefinitionId;\n /**\n * The process definition name.\n */\n processDefinitionName: string | null;\n /**\n * The process definition version.\n */\n processDefinitionVersion: number;\n /**\n * The process definition version tag.\n */\n processDefinitionVersionTag: string | null;\n /**\n * The start time of the process instance.\n */\n startDate: string;\n /**\n * The completion or termination time of the process instance.\n */\n endDate: string | null;\n state: ProcessInstanceStateEnum;\n /**\n * Whether this process instance has a related incident or not.\n */\n hasIncident: boolean;\n tenantId: TenantId;\n /**\n * The key of this process instance.\n */\n processInstanceKey: ProcessInstanceKey;\n /**\n * The process definition key.\n */\n processDefinitionKey: ProcessDefinitionKey;\n /**\n * The parent process instance key.\n */\n parentProcessInstanceKey: ProcessInstanceKey | null;\n /**\n * The parent element instance key.\n */\n parentElementInstanceKey: ElementInstanceKey | null;\n /**\n * The key of the root process instance. The root process instance is the top-level\n * ancestor in the process instance hierarchy. This field is only present for data\n * belonging to process instance hierarchies created in version 8.9 or later.\n *\n */\n rootProcessInstanceKey: ProcessInstanceKey | null;\n tags: TagSet;\n /**\n * The business id associated with this process instance.\n */\n businessId: BusinessId | null;\n};\n\nexport type CancelProcessInstanceRequest = {\n operationReference?: OperationReference;\n} | null;\n\nexport type DeleteProcessInstanceRequest = {\n operationReference?: OperationReference;\n} | null;\n\nexport type ProcessInstanceCallHierarchyEntry = {\n /**\n * The key of the process instance.\n */\n processInstanceKey: ProcessInstanceKey;\n /**\n * The key of the process definition.\n */\n processDefinitionKey: ProcessDefinitionKey;\n /**\n * The name of the process definition (fall backs to the process definition id if not available).\n */\n processDefinitionName: string;\n};\n\n/**\n * Process instance sequence flows query response.\n */\nexport type ProcessInstanceSequenceFlowsQueryResult = {\n /**\n * The sequence flows.\n */\n items: Array<ProcessInstanceSequenceFlowResult>;\n};\n\n/**\n * Process instance sequence flow result.\n */\nexport type ProcessInstanceSequenceFlowResult = {\n /**\n * The sequence flow id.\n */\n sequenceFlowId: string;\n /**\n * The key of this process instance.\n */\n processInstanceKey: ProcessInstanceKey;\n /**\n * The key of the root process instance. The root process instance is the top-level\n * ancestor in the process instance hierarchy. This field is only present for data\n * belonging to process instance hierarchies created in version 8.9 or later.\n *\n */\n rootProcessInstanceKey: ProcessInstanceKey | null;\n /**\n * The process definition key.\n */\n processDefinitionKey: ProcessDefinitionKey;\n /**\n * The process definition id.\n */\n processDefinitionId: ProcessDefinitionId;\n /**\n * The element id for this sequence flow, as provided in the BPMN process.\n */\n elementId: ElementId;\n tenantId: TenantId;\n};\n\n/**\n * Process instance element statistics query response.\n */\nexport type ProcessInstanceElementStatisticsQueryResult = {\n /**\n * The element statistics.\n */\n items: Array<ProcessElementStatisticsResult>;\n};\n\n/**\n * The migration instructions describe how to migrate a process instance from one process definition to another.\n *\n */\nexport type ProcessInstanceMigrationInstruction = {\n /**\n * The key of process definition to migrate the process instance to.\n */\n targetProcessDefinitionKey: ProcessDefinitionKey;\n /**\n * Element mappings from the source process instance to the target process instance.\n */\n mappingInstructions: Array<MigrateProcessInstanceMappingInstruction>;\n operationReference?: OperationReference;\n};\n\n/**\n * The mapping instructions describe how to map elements from the source process definition to the target process definition.\n *\n */\nexport type MigrateProcessInstanceMappingInstruction = {\n /**\n * The element id to migrate from.\n */\n sourceElementId: ElementId;\n /**\n * The element id to migrate into.\n */\n targetElementId: ElementId;\n};\n\nexport type ProcessInstanceModificationInstruction = {\n operationReference?: OperationReference;\n /**\n * Instructions describing which elements to activate in which scopes and which variables to create or update.\n */\n activateInstructions?: Array<ProcessInstanceModificationActivateInstruction>;\n /**\n * Instructions describing which elements to move from one scope to another.\n */\n moveInstructions?: Array<ProcessInstanceModificationMoveInstruction>;\n /**\n * Instructions describing which elements to terminate.\n */\n terminateInstructions?: Array<ProcessInstanceModificationTerminateInstruction>;\n};\n\n/**\n * Instruction describing an element to activate.\n */\nexport type ProcessInstanceModificationActivateInstruction = {\n /**\n * The id of the element to activate.\n */\n elementId: ElementId;\n /**\n * Instructions describing which variables to create or update.\n */\n variableInstructions?: Array<ModifyProcessInstanceVariableInstruction>;\n /**\n * The key of the ancestor scope the element instance should be created in.\n * Set to -1 to create the new element instance within an existing element instance of the\n * flow scope. If multiple instances of the target element's flow scope exist, choose one\n * specifically with this property by providing its key.\n *\n */\n ancestorElementInstanceKey?: ElementInstanceKey;\n};\n\n/**\n * Instruction describing which variables to create or update.\n */\nexport type ModifyProcessInstanceVariableInstruction = {\n /**\n * JSON document that will instantiate the variables at the scope defined by the scopeId.\n * It must be a JSON object, as variables will be mapped in a key-value fashion.\n *\n */\n variables: {\n [key: string]: unknown;\n };\n /**\n * The id of the element in which scope the variables should be created.\n * Leave empty to create the variables in the global scope of the process instance.\n *\n */\n scopeId?: string;\n};\n\n/**\n * Instruction describing a move operation. This instruction will terminate active element\n * instances based on the sourceElementInstruction and activate a new element instance for each terminated\n * one at targetElementId. Note that, for multi-instance activities, only the multi-instance\n * body instances will activate new element instances at the target id.\n *\n */\nexport type ProcessInstanceModificationMoveInstruction = {\n sourceElementInstruction: SourceElementInstruction;\n /**\n * The target element id.\n */\n targetElementId: ElementId;\n ancestorScopeInstruction?: AncestorScopeInstruction;\n /**\n * Instructions describing which variables to create or update.\n */\n variableInstructions?: Array<ModifyProcessInstanceVariableInstruction>;\n};\n\n/**\n * Defines the source element identifier for the move instruction. It can either be a sourceElementId, or sourceElementInstanceKey.\n *\n */\nexport type SourceElementInstruction = ({\n sourceType: 'byId';\n} & SourceElementIdInstruction) | ({\n sourceType: 'byKey';\n} & SourceElementInstanceKeyInstruction);\n\n/**\n * Defines an instruction with a sourceElementId. The move instruction with this sourceType will terminate all active element\n * instances with the sourceElementId and activate a new element instance for each terminated\n * one at targetElementId.\n *\n */\nexport type SourceElementIdInstruction = {\n /**\n * The type of source element instruction.\n */\n sourceType: string;\n /**\n * The id of the source element for the move instruction.\n *\n */\n sourceElementId: ElementId;\n};\n\n/**\n * Defines an instruction with a sourceElementInstanceKey. The move instruction with this sourceType will terminate one active element\n * instance with the sourceElementInstanceKey and activate a new element instance at targetElementId.\n *\n */\nexport type SourceElementInstanceKeyInstruction = {\n /**\n * The type of source element instruction.\n */\n sourceType: string;\n /**\n * The source element instance key for the move instruction.\n *\n */\n sourceElementInstanceKey: ElementInstanceKey;\n};\n\n/**\n * Defines the ancestor scope for the created element instances. The default behavior resembles\n * a \"direct\" scope instruction with an `ancestorElementInstanceKey` of `\"-1\"`.\n *\n */\nexport type AncestorScopeInstruction = ({\n ancestorScopeType: 'direct';\n} & DirectAncestorKeyInstruction) | ({\n ancestorScopeType: 'inferred';\n} & InferredAncestorKeyInstruction) | ({\n ancestorScopeType: 'sourceParent';\n} & UseSourceParentKeyInstruction);\n\n/**\n * Provides a concrete key to use as ancestor scope for the created element instance.\n */\nexport type DirectAncestorKeyInstruction = {\n /**\n * The type of ancestor scope instruction.\n */\n ancestorScopeType: string;\n /**\n * The key of the ancestor scope the element instance should be created in.\n * Set to -1 to create the new element instance within an existing element instance of the\n * flow scope. If multiple instances of the target element's flow scope exist, choose one\n * specifically with this property by providing its key.\n *\n */\n ancestorElementInstanceKey: ElementInstanceKey;\n};\n\n/**\n * Instructs the engine to derive the ancestor scope key from the source element's hierarchy. The engine traverses the source element's ancestry to find an instance that matches one of the target element's flow scopes, ensuring the target is activated in the correct scope.\n *\n */\nexport type InferredAncestorKeyInstruction = {\n /**\n * The type of ancestor scope instruction.\n */\n ancestorScopeType: string;\n};\n\n/**\n * Instructs the engine to use the source's direct parent key as the ancestor scope key for the target element. This is a simpler alternative to `inferred` that skips hierarchy traversal and directly uses the source's parent key. This is useful when the source and target elements are siblings within the same flow scope.\n *\n */\nexport type UseSourceParentKeyInstruction = {\n /**\n * The type of ancestor scope instruction.\n */\n ancestorScopeType: string;\n};\n\n/**\n * Instruction describing which elements to terminate.\n */\nexport type ProcessInstanceModificationTerminateInstruction = ProcessInstanceModificationTerminateByIdInstruction | ProcessInstanceModificationTerminateByKeyInstruction;\n\n/**\n * Instruction describing which elements to terminate. The element instances are determined\n * at runtime by the given id.\n *\n */\nexport type ProcessInstanceModificationTerminateByIdInstruction = {\n /**\n * The id of the elements to terminate. The element instances are determined at runtime.\n */\n elementId: ElementId;\n};\n\n/**\n * Instruction providing the key of the element instance to terminate.\n */\nexport type ProcessInstanceModificationTerminateByKeyInstruction = {\n /**\n * The key of the element instance to terminate.\n */\n elementInstanceKey: ElementInstanceKey;\n};\n\n/**\n * Process instance states\n */\nexport type ProcessInstanceStateEnum = 'ACTIVE' | 'COMPLETED' | 'TERMINATED';\n\n/**\n * Advanced filter\n *\n * Advanced ProcessInstanceStateEnum filter.\n */\nexport type AdvancedProcessInstanceStateFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: ProcessInstanceStateEnum;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: ProcessInstanceStateEnum;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<ProcessInstanceStateEnum>;\n $like?: LikeFilter;\n};\n\n/**\n * ProcessInstanceStateEnum property with full advanced search capabilities.\n */\nexport type ProcessInstanceStateFilterProperty = ProcessInstanceStateExactMatch | AdvancedProcessInstanceStateFilter;\n\nexport type RoleCreateRequest = {\n /**\n * The ID of the new role.\n */\n roleId: string;\n /**\n * The display name of the new role.\n */\n name: string;\n /**\n * The description of the new role.\n */\n description?: string;\n};\n\nexport type RoleCreateResult = {\n /**\n * The ID of the created role.\n */\n roleId: string;\n /**\n * The display name of the created role.\n */\n name: string;\n /**\n * The description of the created role.\n */\n description: string | null;\n};\n\nexport type RoleUpdateRequest = {\n /**\n * The display name of the new role.\n */\n name: string;\n /**\n * The description of the new role.\n */\n description?: string;\n};\n\nexport type RoleUpdateResult = {\n /**\n * The display name of the updated role.\n */\n name: string;\n /**\n * The description of the updated role.\n */\n description: string | null;\n /**\n * The ID of the updated role.\n */\n roleId: string;\n};\n\n/**\n * Role search response item.\n */\nexport type RoleResult = {\n /**\n * The role name.\n */\n name: string;\n /**\n * The role id.\n */\n roleId: string;\n /**\n * The description of the role.\n */\n description: string | null;\n};\n\nexport type RoleSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'name' | 'roleId';\n order?: SortOrderEnum;\n};\n\n/**\n * Role search request.\n */\nexport type RoleSearchQueryRequest = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<RoleSearchQuerySortRequest>;\n /**\n * The role search filters.\n */\n filter?: RoleFilter;\n};\n\n/**\n * Role filter request\n */\nexport type RoleFilter = {\n /**\n * The role ID search filters.\n */\n roleId?: string;\n /**\n * The role name search filters.\n */\n name?: string;\n};\n\n/**\n * Role search response.\n */\nexport type RoleSearchQueryResult = SearchQueryResponse & {\n /**\n * The matching roles.\n */\n items: Array<RoleResult>;\n};\n\nexport type RoleUserResult = {\n username: Username;\n};\n\nexport type RoleUserSearchResult = SearchQueryResponse & {\n /**\n * The matching users.\n */\n items: Array<RoleUserResult>;\n};\n\nexport type RoleUserSearchQueryRequest = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<RoleUserSearchQuerySortRequest>;\n};\n\nexport type RoleUserSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'username';\n order?: SortOrderEnum;\n};\n\nexport type RoleClientResult = {\n /**\n * The ID of the client.\n */\n clientId: string;\n};\n\nexport type RoleClientSearchResult = SearchQueryResponse & {\n /**\n * The matching clients.\n */\n items: Array<RoleClientResult>;\n};\n\nexport type RoleClientSearchQueryRequest = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<RoleClientSearchQuerySortRequest>;\n};\n\nexport type RoleClientSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'clientId';\n order?: SortOrderEnum;\n};\n\nexport type RoleGroupResult = {\n /**\n * The id of the group.\n */\n groupId: string;\n};\n\nexport type RoleGroupSearchResult = SearchQueryResponse & {\n /**\n * The matching groups.\n */\n items: Array<RoleGroupResult>;\n};\n\nexport type RoleGroupSearchQueryRequest = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<RoleGroupSearchQuerySortRequest>;\n};\n\nexport type RoleMappingRuleSearchResult = SearchQueryResponse & {\n /**\n * The matching mapping rules.\n */\n items: Array<MappingRuleResult>;\n};\n\nexport type RoleGroupSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'groupId';\n order?: SortOrderEnum;\n};\n\nexport type SearchQueryRequest = {\n /**\n * Pagination criteria.\n */\n page?: SearchQueryPageRequest;\n};\n\n/**\n * Pagination criteria. Can use offset-based pagination (from/limit) OR cursor-based pagination (after/before + limit), but not both.\n */\nexport type SearchQueryPageRequest = LimitPagination | OffsetPagination | CursorForwardPagination | CursorBackwardPagination;\n\n/**\n * Limit-based pagination\n */\nexport type LimitPagination = {\n /**\n * The maximum number of items to return in one request.\n */\n limit?: number;\n};\n\n/**\n * Offset-based pagination\n */\nexport type OffsetPagination = {\n /**\n * The index of items to start searching from.\n */\n from?: number;\n /**\n * The maximum number of items to return in one request.\n */\n limit?: number;\n};\n\n/**\n * Cursor-based forward pagination\n */\nexport type CursorForwardPagination = {\n /**\n * Use the `endCursor` value from the previous response to fetch the next page of results.\n */\n after: EndCursor;\n /**\n * The maximum number of items to return in one request.\n */\n limit?: number;\n};\n\n/**\n * Cursor-based backward pagination\n */\nexport type CursorBackwardPagination = {\n /**\n * Use the `startCursor` value from the previous response to fetch the previous page of results.\n */\n before: StartCursor;\n /**\n * The maximum number of items to return in one request.\n */\n limit?: number;\n};\n\nexport type SearchQueryResponse = {\n page: SearchQueryPageResponse;\n};\n\n/**\n * The order in which to sort the related field.\n */\nexport type SortOrderEnum = 'ASC' | 'DESC';\n\n/**\n * Pagination information about the search results.\n */\nexport type SearchQueryPageResponse = {\n /**\n * Total items matching the criteria.\n */\n totalItems: number;\n /**\n * Indicates whether the `totalItems` value has been capped due to system limits. When true, `totalItems` is a lower bound and the actual number of matching items is greater than the reported value.\n *\n */\n hasMoreTotalItems: boolean;\n /**\n * The cursor value for getting the previous page of results. Use this in the `before` field of an ensuing request.\n */\n startCursor: StartCursor | null;\n /**\n * The cursor value for getting the next page of results. Use this in the `after` field of an ensuing request.\n */\n endCursor: EndCursor | null;\n};\n\nexport type SignalBroadcastRequest = {\n /**\n * The name of the signal to broadcast.\n */\n signalName: string;\n /**\n * The signal variables as a JSON object.\n */\n variables?: {\n [key: string]: unknown;\n };\n /**\n * The ID of the tenant that owns the signal.\n */\n tenantId?: TenantId;\n};\n\nexport type SignalBroadcastResult = {\n /**\n * The tenant ID of the signal that was broadcast.\n */\n tenantId: TenantId;\n /**\n * The key of the broadcasted signal.\n */\n signalKey: SignalKey;\n};\n\n/**\n * System-generated key for an signal.\n */\nexport type SignalKey = CamundaKey<'SignalKey'>;\n\nexport type UsageMetricsResponse = UsageMetricsResponseItem & {\n /**\n * The amount of active tenants.\n */\n activeTenants: number;\n /**\n * The usage metrics by tenants. Only available if request `withTenants` query parameter was `true`.\n */\n tenants: {\n [key: string]: UsageMetricsResponseItem;\n };\n};\n\nexport type UsageMetricsResponseItem = {\n /**\n * The amount of created root process instances.\n */\n processInstances: number;\n /**\n * The amount of executed decision instances.\n */\n decisionInstances: number;\n /**\n * The amount of unique active task users.\n */\n assignees: number;\n};\n\n/**\n * Envelope for all system configuration sections. Each property\n * represents a feature area.\n *\n */\nexport type SystemConfigurationResponse = {\n jobMetrics: JobMetricsConfigurationResponse;\n};\n\n/**\n * Configuration for job metrics collection and export.\n */\nexport type JobMetricsConfigurationResponse = {\n /**\n * Whether job metrics export is enabled.\n */\n enabled: boolean;\n /**\n * The interval at which job metrics are exported, as an ISO 8601 duration.\n */\n exportInterval: string;\n /**\n * The maximum length of the worker name used in job metrics labels.\n */\n maxWorkerNameLength: number;\n /**\n * The maximum length of the job type used in job metrics labels.\n */\n maxJobTypeLength: number;\n /**\n * The maximum length of the tenant ID used in job metrics labels.\n */\n maxTenantIdLength: number;\n /**\n * The maximum number of unique metric keys tracked for job metrics.\n */\n maxUniqueKeys: number;\n};\n\nexport type TenantCreateRequest = {\n /**\n * The unique ID for the tenant. Must be 255 characters or less. Can contain letters, numbers, [`_`, `-`, `+`, `.`, `@`].\n */\n tenantId: string;\n /**\n * The name of the tenant.\n */\n name: string;\n /**\n * The description of the tenant.\n */\n description?: string;\n};\n\nexport type TenantCreateResult = {\n tenantId: TenantId;\n /**\n * The name of the tenant.\n */\n name: string;\n /**\n * The description of the tenant.\n */\n description: string | null;\n};\n\nexport type TenantUpdateRequest = {\n /**\n * The new name of the tenant.\n */\n name: string;\n /**\n * The new description of the tenant.\n */\n description?: string;\n};\n\nexport type TenantUpdateResult = {\n tenantId: TenantId;\n /**\n * The name of the tenant.\n */\n name: string;\n /**\n * The description of the tenant.\n */\n description: string | null;\n};\n\n/**\n * Tenant search response item.\n */\nexport type TenantResult = {\n /**\n * The tenant name.\n */\n name: string;\n tenantId: TenantId;\n /**\n * The tenant description.\n */\n description: string | null;\n};\n\nexport type TenantSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'key' | 'name' | 'tenantId';\n order?: SortOrderEnum;\n};\n\n/**\n * Tenant search request\n */\nexport type TenantSearchQueryRequest = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<TenantSearchQuerySortRequest>;\n /**\n * The tenant search filters.\n */\n filter?: TenantFilter;\n};\n\n/**\n * Tenant filter request\n */\nexport type TenantFilter = {\n tenantId?: TenantId;\n /**\n * The name of the tenant.\n */\n name?: string;\n};\n\n/**\n * Tenant search response.\n */\nexport type TenantSearchQueryResult = SearchQueryResponse & {\n /**\n * The matching tenants.\n */\n items: Array<TenantResult>;\n};\n\nexport type TenantUserResult = {\n username: Username;\n};\n\nexport type TenantUserSearchResult = SearchQueryResponse & {\n /**\n * The matching users.\n */\n items: Array<TenantUserResult>;\n};\n\nexport type TenantUserSearchQueryRequest = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<TenantUserSearchQuerySortRequest>;\n};\n\nexport type TenantUserSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'username';\n order?: SortOrderEnum;\n};\n\nexport type TenantClientResult = {\n /**\n * The ID of the client.\n */\n clientId: string;\n};\n\nexport type TenantClientSearchResult = SearchQueryResponse & {\n /**\n * The matching clients.\n */\n items: Array<TenantClientResult>;\n};\n\nexport type TenantClientSearchQueryRequest = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<TenantClientSearchQuerySortRequest>;\n};\n\nexport type TenantClientSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'clientId';\n order?: SortOrderEnum;\n};\n\nexport type TenantGroupResult = {\n /**\n * The groupId of the group.\n */\n groupId: string;\n};\n\nexport type TenantGroupSearchResult = SearchQueryResponse & {\n /**\n * The matching groups.\n */\n items: Array<TenantGroupResult>;\n};\n\nexport type TenantGroupSearchQueryRequest = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<TenantGroupSearchQuerySortRequest>;\n};\n\nexport type TenantRoleSearchResult = SearchQueryResponse & {\n /**\n * The matching roles.\n */\n items: Array<RoleResult>;\n};\n\nexport type TenantMappingRuleSearchResult = SearchQueryResponse & {\n /**\n * The matching mapping rules.\n */\n items: Array<MappingRuleResult>;\n};\n\nexport type TenantGroupSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'groupId';\n order?: SortOrderEnum;\n};\n\nexport type UserTaskSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'creationDate' | 'completionDate' | 'followUpDate' | 'dueDate' | 'priority' | 'name';\n order?: SortOrderEnum;\n};\n\n/**\n * User task search query request.\n */\nexport type UserTaskSearchQuery = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<UserTaskSearchQuerySortRequest>;\n /**\n * The user task search filters.\n */\n filter?: UserTaskFilter;\n};\n\n/**\n * User task filter request.\n */\nexport type UserTaskFilter = {\n /**\n * The user task state.\n */\n state?: UserTaskStateFilterProperty;\n /**\n * The assignee of the user task.\n */\n assignee?: StringFilterProperty;\n /**\n * The priority of the user task.\n */\n priority?: IntegerFilterProperty;\n /**\n * The element ID of the user task.\n */\n elementId?: ElementId;\n /**\n * The task name. This only works for data created with 8.8 and onwards. Instances from prior versions don't contain this data and cannot be found.\n *\n */\n name?: StringFilterProperty;\n /**\n * The candidate group for this user task.\n */\n candidateGroup?: StringFilterProperty;\n /**\n * The candidate user for this user task.\n */\n candidateUser?: StringFilterProperty;\n /**\n * Tenant ID of this user task.\n */\n tenantId?: StringFilterProperty;\n /**\n * The ID of the process definition.\n */\n processDefinitionId?: ProcessDefinitionId;\n /**\n * The user task creation date.\n */\n creationDate?: DateTimeFilterProperty;\n /**\n * The user task completion date.\n */\n completionDate?: DateTimeFilterProperty;\n /**\n * The user task follow-up date.\n */\n followUpDate?: DateTimeFilterProperty;\n /**\n * The user task due date.\n */\n dueDate?: DateTimeFilterProperty;\n /**\n * The variables of the process instance.\n */\n processInstanceVariables?: Array<VariableValueFilterProperty>;\n /**\n * The local variables of the user task.\n */\n localVariables?: Array<VariableValueFilterProperty>;\n /**\n * The key for this user task.\n */\n userTaskKey?: UserTaskKey;\n /**\n * The key of the process definition.\n */\n processDefinitionKey?: ProcessDefinitionKey;\n /**\n * The key of the process instance.\n */\n processInstanceKey?: ProcessInstanceKey;\n /**\n * The key of the element instance.\n */\n elementInstanceKey?: ElementInstanceKey;\n tags?: TagSet;\n};\n\n/**\n * User task search query response.\n */\nexport type UserTaskSearchQueryResult = SearchQueryResponse & {\n /**\n * The matching user tasks.\n */\n items: Array<UserTaskResult>;\n};\n\nexport type UserTaskResult = {\n /**\n * The name for this user task.\n */\n name: string | null;\n state: UserTaskStateEnum;\n /**\n * The assignee of the user task.\n */\n assignee: string | null;\n /**\n * The element ID of the user task.\n */\n elementId: ElementId;\n /**\n * The candidate groups for this user task.\n */\n candidateGroups: Array<string>;\n /**\n * The candidate users for this user task.\n */\n candidateUsers: Array<string>;\n /**\n * The ID of the process definition.\n */\n processDefinitionId: ProcessDefinitionId;\n /**\n * The creation date of a user task.\n */\n creationDate: string;\n /**\n * The completion date of a user task.\n */\n completionDate: string | null;\n /**\n * The follow date of a user task.\n */\n followUpDate: string | null;\n /**\n * The due date of a user task.\n */\n dueDate: string | null;\n tenantId: TenantId;\n /**\n * The external form reference.\n */\n externalFormReference: string | null;\n /**\n * The version of the process definition.\n */\n processDefinitionVersion: number;\n /**\n * Custom headers for the user task.\n */\n customHeaders: {\n [key: string]: string;\n };\n /**\n * The priority of a user task. The higher the value the higher the priority.\n */\n priority: number;\n /**\n * The key of the user task.\n */\n userTaskKey: UserTaskKey;\n /**\n * The key of the element instance.\n */\n elementInstanceKey: ElementInstanceKey;\n /**\n * The name of the process definition.\n * This is `null` if the process has no name defined.\n *\n */\n processName: string | null;\n /**\n * The key of the process definition.\n */\n processDefinitionKey: ProcessDefinitionKey;\n /**\n * The key of the process instance.\n */\n processInstanceKey: ProcessInstanceKey;\n /**\n * The key of the root process instance. The root process instance is the top-level\n * ancestor in the process instance hierarchy. This field is only present for data\n * belonging to process instance hierarchies created in version 8.9 or later.\n *\n */\n rootProcessInstanceKey: ProcessInstanceKey | null;\n /**\n * The key of the form.\n */\n formKey: FormKey | null;\n tags: TagSet;\n};\n\nexport type UserTaskCompletionRequest = {\n /**\n * The variables to complete the user task with.\n */\n variables?: {\n [key: string]: unknown;\n } | null;\n /**\n * A custom action value that will be accessible from user task events resulting from this endpoint invocation. If not provided, it will default to \"complete\".\n *\n */\n action?: string | null;\n};\n\nexport type UserTaskAssignmentRequest = {\n /**\n * The assignee for the user task. The assignee must not be empty or `null`.\n */\n assignee?: string;\n /**\n * By default, the task is reassigned if it was already assigned. Set this to `false` to return an error in such cases. The task must then first be unassigned to be assigned again. Use this when you have users picking from group task queues to prevent race conditions.\n *\n */\n allowOverride?: boolean | null;\n /**\n * A custom action value that will be accessible from user task events resulting from this endpoint invocation. If not provided, it will default to \"assign\".\n *\n */\n action?: string | null;\n};\n\nexport type UserTaskUpdateRequest = {\n changeset?: Changeset;\n /**\n * A custom action value that will be accessible from user task events resulting from this endpoint invocation. If not provided, it will default to \"update\".\n *\n */\n action?: string | null;\n};\n\n/**\n * JSON object with changed task attribute values.\n *\n * The following attributes can be adjusted with this endpoint, additional attributes\n * will be ignored:\n *\n * * `candidateGroups` - reset by providing an empty list\n * * `candidateUsers` - reset by providing an empty list\n * * `dueDate` - reset by providing an empty String\n * * `followUpDate` - reset by providing an empty String\n * * `priority` - minimum 0, maximum 100, default 50\n *\n * Providing any of those attributes with a `null` value or omitting it preserves\n * the persisted attribute's value.\n *\n * The assignee cannot be adjusted with this endpoint, use the Assign task endpoint.\n * This ensures correct event emission for assignee changes.\n *\n */\nexport type Changeset = {\n /**\n * The due date of the task. Reset by providing an empty String.\n */\n dueDate?: string | null;\n /**\n * The follow-up date of the task. Reset by providing an empty String.\n */\n followUpDate?: string | null;\n /**\n * The list of candidate users of the task. Reset by providing an empty list.\n */\n candidateUsers?: Array<string> | null;\n /**\n * The list of candidate groups of the task. Reset by providing an empty list.\n */\n candidateGroups?: Array<string> | null;\n /**\n * The priority of the task.\n */\n priority?: number | null;\n [key: string]: unknown | string | null | string | null | Array<string> | null | Array<string> | null | number | null | undefined;\n} | null;\n\nexport type UserTaskVariableSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'value' | 'name' | 'tenantId' | 'variableKey' | 'scopeKey' | 'processInstanceKey';\n order?: SortOrderEnum;\n};\n\n/**\n * User task search query request.\n */\nexport type UserTaskVariableSearchQueryRequest = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<UserTaskVariableSearchQuerySortRequest>;\n /**\n * The user task variable search filters.\n */\n filter?: UserTaskVariableFilter;\n};\n\n/**\n * User task effective variable search query request. Uses offset-based pagination only.\n *\n */\nexport type UserTaskEffectiveVariableSearchQueryRequest = {\n /**\n * Pagination parameters.\n */\n page?: OffsetPagination;\n /**\n * Sort field criteria.\n */\n sort?: Array<UserTaskVariableSearchQuerySortRequest>;\n /**\n * The user task variable search filters.\n */\n filter?: UserTaskVariableFilter;\n};\n\n/**\n * User task search query request.\n */\nexport type UserTaskAuditLogSearchQueryRequest = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<AuditLogSearchQuerySortRequest>;\n filter?: UserTaskAuditLogFilter;\n};\n\n/**\n * The state of the user task.\n * Note: FAILED state is only for legacy job-worker-based tasks.\n *\n */\nexport type UserTaskStateEnum = 'CREATING' | 'CREATED' | 'ASSIGNING' | 'UPDATING' | 'COMPLETING' | 'COMPLETED' | 'CANCELING' | 'CANCELED' | 'FAILED';\n\n/**\n * The user task variable search filters.\n */\nexport type UserTaskVariableFilter = {\n /**\n * Name of the variable.\n */\n name?: StringFilterProperty;\n};\n\n/**\n * UserTaskStateEnum property with full advanced search capabilities.\n */\nexport type UserTaskStateFilterProperty = UserTaskStateExactMatch | AdvancedUserTaskStateFilter;\n\n/**\n * Advanced filter\n *\n * Advanced UserTaskStateEnum filter.\n */\nexport type AdvancedUserTaskStateFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: UserTaskStateEnum;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: UserTaskStateEnum;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<UserTaskStateEnum>;\n $like?: LikeFilter;\n};\n\n/**\n * The user task audit log search filters.\n */\nexport type UserTaskAuditLogFilter = {\n /**\n * The audit log operation type search filter.\n */\n operationType?: OperationTypeFilterProperty;\n /**\n * The audit log result search filter.\n */\n result?: AuditLogResultFilterProperty;\n /**\n * The audit log timestamp filter.\n */\n timestamp?: DateTimeFilterProperty;\n /**\n * The actor type search filter.\n */\n actorType?: AuditLogActorTypeFilterProperty;\n /**\n * The actor ID search filter.\n */\n actorId?: StringFilterProperty;\n};\n\nexport type UserRequest = {\n /**\n * The password of the user.\n */\n password: string;\n /**\n * The username of the user.\n */\n username: string;\n /**\n * The name of the user.\n */\n name?: string;\n /**\n * The email of the user.\n */\n email?: string;\n};\n\nexport type UserCreateResult = {\n username: Username;\n /**\n * The name of the user.\n */\n name: string | null;\n /**\n * The email of the user.\n */\n email: string | null;\n};\n\nexport type UserUpdateRequest = {\n /**\n * The password of the user. If blank, the password is unchanged.\n */\n password?: string;\n /**\n * The name of the user.\n */\n name?: string;\n /**\n * The email of the user.\n */\n email?: string;\n};\n\nexport type UserUpdateResult = {\n username: Username;\n /**\n * The name of the user.\n */\n name: string | null;\n /**\n * The email of the user.\n */\n email: string | null;\n};\n\nexport type UserResult = {\n username: Username;\n /**\n * The name of the user.\n */\n name: string | null;\n /**\n * The email of the user.\n */\n email: string | null;\n};\n\nexport type UserSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'username' | 'name' | 'email';\n order?: SortOrderEnum;\n};\n\nexport type UserSearchQueryRequest = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<UserSearchQuerySortRequest>;\n /**\n * The user search filters.\n */\n filter?: UserFilter;\n};\n\n/**\n * User search filter.\n */\nexport type UserFilter = {\n /**\n * The username of the user.\n */\n username?: StringFilterProperty;\n /**\n * The name of the user.\n */\n name?: StringFilterProperty;\n /**\n * The email of the user.\n */\n email?: StringFilterProperty;\n};\n\nexport type UserSearchResult = SearchQueryResponse & {\n /**\n * The matching users.\n */\n items: Array<UserResult>;\n};\n\nexport type VariableSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'value' | 'name' | 'tenantId' | 'variableKey' | 'scopeKey' | 'processInstanceKey';\n order?: SortOrderEnum;\n};\n\n/**\n * Variable search query request.\n */\nexport type VariableSearchQuery = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<VariableSearchQuerySortRequest>;\n /**\n * The variable search filters.\n */\n filter?: VariableFilter;\n};\n\n/**\n * Variable filter request.\n */\nexport type VariableFilter = {\n /**\n * Name of the variable.\n */\n name?: StringFilterProperty;\n /**\n * The value of the variable.\n * Variable values in filters need to be in serialized JSON format. For example, a variable\n * with string value `myValue` can be found with the filter value `\"myValue\"`. Consider\n * appropriate escaping for special characters in JSON strings when constructing filter values.\n *\n */\n value?: StringFilterProperty;\n /**\n * Tenant ID of this variable.\n */\n tenantId?: TenantId;\n /**\n * Whether the value is truncated or not.\n */\n isTruncated?: boolean;\n /**\n * The key for this variable.\n */\n variableKey?: VariableKeyFilterProperty;\n /**\n * The key of the scope that defines where this variable is directly defined. This can be a\n * process instance key (for process-level variables) or an element instance key (for local\n * variables scoped to tasks, subprocesses, gateways, events, etc.). Use this filter to\n * find variables directly defined in specific scopes. Note that this does not include\n * variables from parent scopes that would be visible through the scope hierarchy.\n *\n */\n scopeKey?: ScopeKeyFilterProperty;\n /**\n * The key of the process instance of this variable.\n */\n processInstanceKey?: ProcessInstanceKeyFilterProperty;\n};\n\n/**\n * Variable search query response.\n */\nexport type VariableSearchQueryResult = SearchQueryResponse & {\n /**\n * The matching variables.\n */\n items: Array<VariableSearchResult>;\n};\n\n/**\n * Variable search response item.\n */\nexport type VariableSearchResult = VariableResultBase & {\n /**\n * Value of this variable. Can be truncated.\n */\n value: string;\n /**\n * Whether the value is truncated or not.\n */\n isTruncated: boolean;\n};\n\n/**\n * Variable search response item.\n */\nexport type VariableResult = VariableResultBase & {\n /**\n * Full value of this variable.\n */\n value: string;\n};\n\n/**\n * Variable response item.\n */\nexport type VariableResultBase = {\n /**\n * Name of this variable.\n */\n name: string;\n /**\n * Tenant ID of this variable.\n */\n tenantId: TenantId;\n /**\n * The key for this variable.\n */\n variableKey: VariableKey;\n /**\n * The key of the scope where this variable is directly defined. For process-level\n * variables, this is the process instance key. For local variables, this is the key of the\n * specific element instance (task, subprocess, gateway, event, etc.) where the variable is\n * directly defined.\n *\n */\n scopeKey: ScopeKey;\n /**\n * The key of the process instance of this variable.\n */\n processInstanceKey: ProcessInstanceKey;\n /**\n * The key of the root process instance. The root process instance is the top-level\n * ancestor in the process instance hierarchy. This field is only present for data\n * belonging to process instance hierarchies created in version 8.9 or later.\n *\n */\n rootProcessInstanceKey: ProcessInstanceKey | null;\n};\n\nexport type VariableValueFilterProperty = {\n /**\n * Name of the variable.\n */\n name: string;\n /**\n * The value of the variable.\n * Variable values in filters need to be in serialized JSON format. For example, a variable\n * with string value `myValue` can be found with the filter value `\"myValue\"`. Consider\n * appropriate escaping for special characters in JSON strings when constructing filter values.\n *\n */\n value: StringFilterProperty;\n};\n\nexport type SetVariableRequest = {\n /**\n * JSON object representing the variables to set in the element’s scope.\n */\n variables: {\n [key: string]: unknown;\n };\n /**\n * If set to `true`, the variables are merged strictly into the local scope (as specified\n * by the `elementInstanceKey`). Otherwise, the variables are propagated to upper scopes\n * and set at the outermost one.\n *\n * Let's consider the following example:\n * There are two scopes '1' and '2'. Scope '1' is the parent scope of '2'. The effective\n * variables of the scopes are:\n * 1 => { \"foo\" : 2 }\n * 2 => { \"bar\" : 1 }\n *\n * An update request with elementInstanceKey as '2', variables { \"foo\": 5 }, and local set\n * to `true` leaves scope '1' unchanged and adjusts scope '2' to { \"bar\": 1, \"foo\": 5 }. By\n * default, with local set to `false`, scope '1' will be { \"foo\": 5 } and scope '2' will be\n * { \"bar\": 1 }.\n */\n local?: boolean;\n operationReference?: OperationReference;\n};\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type AuditLogEntityKeyExactMatch = AuditLogEntityKey;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type EntityTypeExactMatch = AuditLogEntityTypeEnum;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type OperationTypeExactMatch = AuditLogOperationTypeEnum;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type CategoryExactMatch = AuditLogCategoryEnum;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type AuditLogResultExactMatch = AuditLogResultEnum;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type AuditLogActorTypeExactMatch = AuditLogActorTypeEnum;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type BatchOperationTypeExactMatch = BatchOperationTypeEnum;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type BatchOperationStateExactMatch = BatchOperationStateEnum;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type BatchOperationItemStateExactMatch = BatchOperationItemStateEnum;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type ClusterVariableScopeExactMatch = ClusterVariableScopeEnum;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type DecisionInstanceStateExactMatch = DecisionInstanceStateEnum;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type DeploymentKeyExactMatch = DeploymentKey;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type ResourceKeyExactMatch = ResourceKey;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type ElementInstanceStateExactMatch = ElementInstanceStateEnum;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type GlobalListenerSourceExactMatch = GlobalListenerSourceEnum;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type GlobalTaskListenerEventTypeExactMatch = GlobalTaskListenerEventTypeEnum;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type IncidentErrorTypeExactMatch = IncidentErrorTypeEnum;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type IncidentStateExactMatch = IncidentStateEnum;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type JobKindExactMatch = JobKindEnum;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type JobListenerEventTypeExactMatch = JobListenerEventTypeEnum;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type JobStateExactMatch = JobStateEnum;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type ProcessDefinitionKeyExactMatch = ProcessDefinitionKey;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type ProcessInstanceKeyExactMatch = ProcessInstanceKey;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type ElementInstanceKeyExactMatch = ElementInstanceKey;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type JobKeyExactMatch = JobKey;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type DecisionDefinitionKeyExactMatch = DecisionDefinitionKey;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type ScopeKeyExactMatch = ScopeKey;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type VariableKeyExactMatch = VariableKey;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type DecisionEvaluationInstanceKeyExactMatch = DecisionEvaluationInstanceKey;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type AuditLogKeyExactMatch = AuditLogKey;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type FormKeyExactMatch = FormKey;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type DecisionEvaluationKeyExactMatch = DecisionEvaluationKey;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type DecisionRequirementsKeyExactMatch = DecisionRequirementsKey;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type MessageSubscriptionStateExactMatch = MessageSubscriptionStateEnum;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type MessageSubscriptionKeyExactMatch = MessageSubscriptionKey;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type ProcessInstanceStateExactMatch = ProcessInstanceStateEnum;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type UserTaskStateExactMatch = UserTaskStateEnum;\n\nexport type SearchAuditLogsData = {\n body?: AuditLogSearchQueryRequest;\n path?: never;\n query?: never;\n url: '/audit-logs/search';\n};\n\nexport type SearchAuditLogsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: unknown;\n};\n\nexport type SearchAuditLogsError = SearchAuditLogsErrors[keyof SearchAuditLogsErrors];\n\nexport type SearchAuditLogsResponses = {\n /**\n * The audit logs search result.\n */\n 200: AuditLogSearchQueryResult;\n};\n\nexport type SearchAuditLogsResponse = SearchAuditLogsResponses[keyof SearchAuditLogsResponses];\n\nexport type GetAuditLogData = {\n body?: never;\n path: {\n /**\n * The audit log key.\n */\n auditLogKey: AuditLogKey;\n };\n query?: never;\n url: '/audit-logs/{auditLogKey}';\n};\n\nexport type GetAuditLogErrors = {\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The audit log with the given key was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetAuditLogError = GetAuditLogErrors[keyof GetAuditLogErrors];\n\nexport type GetAuditLogResponses = {\n /**\n * The audit log entry is successfully returned.\n */\n 200: AuditLogResult;\n};\n\nexport type GetAuditLogResponse = GetAuditLogResponses[keyof GetAuditLogResponses];\n\nexport type GetAuthenticationData = {\n body?: never;\n path?: never;\n query?: never;\n url: '/authentication/me';\n};\n\nexport type GetAuthenticationErrors = {\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetAuthenticationError = GetAuthenticationErrors[keyof GetAuthenticationErrors];\n\nexport type GetAuthenticationResponses = {\n /**\n * The current user is successfully returned.\n */\n 200: CamundaUserResult;\n};\n\nexport type GetAuthenticationResponse = GetAuthenticationResponses[keyof GetAuthenticationResponses];\n\nexport type CreateAuthorizationData = {\n body: AuthorizationRequest;\n path?: never;\n query?: never;\n url: '/authorizations';\n};\n\nexport type CreateAuthorizationErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The owner was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type CreateAuthorizationError = CreateAuthorizationErrors[keyof CreateAuthorizationErrors];\n\nexport type CreateAuthorizationResponses = {\n /**\n * The authorization was created successfully.\n */\n 201: AuthorizationCreateResult;\n};\n\nexport type CreateAuthorizationResponse = CreateAuthorizationResponses[keyof CreateAuthorizationResponses];\n\nexport type SearchAuthorizationsData = {\n body?: AuthorizationSearchQuery;\n path?: never;\n query?: never;\n url: '/authorizations/search';\n};\n\nexport type SearchAuthorizationsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchAuthorizationsError = SearchAuthorizationsErrors[keyof SearchAuthorizationsErrors];\n\nexport type SearchAuthorizationsResponses = {\n /**\n * The authorization search result.\n */\n 200: AuthorizationSearchResult;\n};\n\nexport type SearchAuthorizationsResponse = SearchAuthorizationsResponses[keyof SearchAuthorizationsResponses];\n\nexport type DeleteAuthorizationData = {\n body?: never;\n path: {\n /**\n * The key of the authorization to delete.\n */\n authorizationKey: AuthorizationKey;\n };\n query?: never;\n url: '/authorizations/{authorizationKey}';\n};\n\nexport type DeleteAuthorizationErrors = {\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * The authorization with the authorizationKey was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type DeleteAuthorizationError = DeleteAuthorizationErrors[keyof DeleteAuthorizationErrors];\n\nexport type DeleteAuthorizationResponses = {\n /**\n * The authorization was deleted successfully.\n */\n 204: void;\n};\n\nexport type DeleteAuthorizationResponse = DeleteAuthorizationResponses[keyof DeleteAuthorizationResponses];\n\nexport type GetAuthorizationData = {\n body?: never;\n path: {\n /**\n * The key of the authorization to get.\n */\n authorizationKey: AuthorizationKey;\n };\n query?: never;\n url: '/authorizations/{authorizationKey}';\n};\n\nexport type GetAuthorizationErrors = {\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The authorization with the given key was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetAuthorizationError = GetAuthorizationErrors[keyof GetAuthorizationErrors];\n\nexport type GetAuthorizationResponses = {\n /**\n * The authorization was successfully returned.\n */\n 200: AuthorizationResult;\n};\n\nexport type GetAuthorizationResponse = GetAuthorizationResponses[keyof GetAuthorizationResponses];\n\nexport type UpdateAuthorizationData = {\n body: AuthorizationRequest;\n path: {\n /**\n * The key of the authorization to delete.\n */\n authorizationKey: AuthorizationKey;\n };\n query?: never;\n url: '/authorizations/{authorizationKey}';\n};\n\nexport type UpdateAuthorizationErrors = {\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * The authorization with the authorizationKey was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type UpdateAuthorizationError = UpdateAuthorizationErrors[keyof UpdateAuthorizationErrors];\n\nexport type UpdateAuthorizationResponses = {\n /**\n * The authorization was updated successfully.\n */\n 204: void;\n};\n\nexport type UpdateAuthorizationResponse = UpdateAuthorizationResponses[keyof UpdateAuthorizationResponses];\n\nexport type SearchBatchOperationItemsData = {\n body?: BatchOperationItemSearchQuery;\n path?: never;\n query?: never;\n url: '/batch-operation-items/search';\n};\n\nexport type SearchBatchOperationItemsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchBatchOperationItemsError = SearchBatchOperationItemsErrors[keyof SearchBatchOperationItemsErrors];\n\nexport type SearchBatchOperationItemsResponses = {\n /**\n * The batch operation search result.\n */\n 200: BatchOperationItemSearchQueryResult;\n};\n\nexport type SearchBatchOperationItemsResponse = SearchBatchOperationItemsResponses[keyof SearchBatchOperationItemsResponses];\n\nexport type SearchBatchOperationsData = {\n body?: BatchOperationSearchQuery;\n path?: never;\n query?: never;\n url: '/batch-operations/search';\n};\n\nexport type SearchBatchOperationsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchBatchOperationsError = SearchBatchOperationsErrors[keyof SearchBatchOperationsErrors];\n\nexport type SearchBatchOperationsResponses = {\n /**\n * The batch operation search result.\n */\n 200: BatchOperationSearchQueryResult;\n};\n\nexport type SearchBatchOperationsResponse = SearchBatchOperationsResponses[keyof SearchBatchOperationsResponses];\n\nexport type GetBatchOperationData = {\n body?: never;\n path: {\n /**\n * The key (or operate legacy ID) of the batch operation.\n */\n batchOperationKey: BatchOperationKey;\n };\n query?: never;\n url: '/batch-operations/{batchOperationKey}';\n};\n\nexport type GetBatchOperationErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The batch operation is not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetBatchOperationError = GetBatchOperationErrors[keyof GetBatchOperationErrors];\n\nexport type GetBatchOperationResponses = {\n /**\n * The batch operation was found.\n */\n 200: BatchOperationResponse;\n};\n\nexport type GetBatchOperationResponse = GetBatchOperationResponses[keyof GetBatchOperationResponses];\n\nexport type CancelBatchOperationData = {\n body?: unknown;\n path: {\n /**\n * The key (or operate legacy ID) of the batch operation.\n */\n batchOperationKey: BatchOperationKey;\n };\n query?: never;\n url: '/batch-operations/{batchOperationKey}/cancellation';\n};\n\nexport type CancelBatchOperationErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Not found. The batch operation was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type CancelBatchOperationError = CancelBatchOperationErrors[keyof CancelBatchOperationErrors];\n\nexport type CancelBatchOperationResponses = {\n /**\n * The batch operation cancel request was created.\n */\n 204: void;\n};\n\nexport type CancelBatchOperationResponse = CancelBatchOperationResponses[keyof CancelBatchOperationResponses];\n\nexport type ResumeBatchOperationData = {\n body?: unknown;\n path: {\n /**\n * The key (or operate legacy ID) of the batch operation.\n */\n batchOperationKey: BatchOperationKey;\n };\n query?: never;\n url: '/batch-operations/{batchOperationKey}/resumption';\n};\n\nexport type ResumeBatchOperationErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Not found. The batch operation was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type ResumeBatchOperationError = ResumeBatchOperationErrors[keyof ResumeBatchOperationErrors];\n\nexport type ResumeBatchOperationResponses = {\n /**\n * The batch operation resume request was created.\n */\n 204: void;\n};\n\nexport type ResumeBatchOperationResponse = ResumeBatchOperationResponses[keyof ResumeBatchOperationResponses];\n\nexport type SuspendBatchOperationData = {\n body?: unknown;\n path: {\n /**\n * The key (or operate legacy ID) of the batch operation.\n */\n batchOperationKey: BatchOperationKey;\n };\n query?: never;\n url: '/batch-operations/{batchOperationKey}/suspension';\n};\n\nexport type SuspendBatchOperationErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Not found. The batch operation was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type SuspendBatchOperationError = SuspendBatchOperationErrors[keyof SuspendBatchOperationErrors];\n\nexport type SuspendBatchOperationResponses = {\n /**\n * The batch operation pause request was created.\n */\n 204: void;\n};\n\nexport type SuspendBatchOperationResponse = SuspendBatchOperationResponses[keyof SuspendBatchOperationResponses];\n\nexport type PinClockData = {\n body: ClockPinRequest;\n path?: never;\n query?: never;\n url: '/clock';\n};\n\nexport type PinClockErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type PinClockError = PinClockErrors[keyof PinClockErrors];\n\nexport type PinClockResponses = {\n /**\n * The clock was successfully pinned.\n */\n 204: void;\n};\n\nexport type PinClockResponse = PinClockResponses[keyof PinClockResponses];\n\nexport type ResetClockData = {\n body?: never;\n path?: never;\n query?: never;\n url: '/clock/reset';\n};\n\nexport type ResetClockErrors = {\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type ResetClockError = ResetClockErrors[keyof ResetClockErrors];\n\nexport type ResetClockResponses = {\n /**\n * The clock was successfully reset to the system time.\n */\n 204: void;\n};\n\nexport type ResetClockResponse = ResetClockResponses[keyof ResetClockResponses];\n\nexport type CreateGlobalClusterVariableData = {\n body: CreateClusterVariableRequest;\n path?: never;\n query?: never;\n url: '/cluster-variables/global';\n};\n\nexport type CreateGlobalClusterVariableErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type CreateGlobalClusterVariableError = CreateGlobalClusterVariableErrors[keyof CreateGlobalClusterVariableErrors];\n\nexport type CreateGlobalClusterVariableResponses = {\n /**\n * Cluster variable created\n */\n 200: ClusterVariableResult;\n};\n\nexport type CreateGlobalClusterVariableResponse = CreateGlobalClusterVariableResponses[keyof CreateGlobalClusterVariableResponses];\n\nexport type DeleteGlobalClusterVariableData = {\n body?: never;\n path: {\n /**\n * The name of the cluster variable\n */\n name: string;\n };\n query?: never;\n url: '/cluster-variables/global/{name}';\n};\n\nexport type DeleteGlobalClusterVariableErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Cluster variable not found\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type DeleteGlobalClusterVariableError = DeleteGlobalClusterVariableErrors[keyof DeleteGlobalClusterVariableErrors];\n\nexport type DeleteGlobalClusterVariableResponses = {\n /**\n * Cluster variable deleted successfully\n */\n 204: void;\n};\n\nexport type DeleteGlobalClusterVariableResponse = DeleteGlobalClusterVariableResponses[keyof DeleteGlobalClusterVariableResponses];\n\nexport type GetGlobalClusterVariableData = {\n body?: never;\n path: {\n /**\n * The name of the cluster variable\n */\n name: string;\n };\n query?: never;\n url: '/cluster-variables/global/{name}';\n};\n\nexport type GetGlobalClusterVariableErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Cluster variable not found\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetGlobalClusterVariableError = GetGlobalClusterVariableErrors[keyof GetGlobalClusterVariableErrors];\n\nexport type GetGlobalClusterVariableResponses = {\n /**\n * Cluster variable found\n */\n 200: ClusterVariableResult;\n};\n\nexport type GetGlobalClusterVariableResponse = GetGlobalClusterVariableResponses[keyof GetGlobalClusterVariableResponses];\n\nexport type UpdateGlobalClusterVariableData = {\n body: UpdateClusterVariableRequest;\n path: {\n /**\n * The name of the cluster variable\n */\n name: string;\n };\n query?: never;\n url: '/cluster-variables/global/{name}';\n};\n\nexport type UpdateGlobalClusterVariableErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Cluster variable not found\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type UpdateGlobalClusterVariableError = UpdateGlobalClusterVariableErrors[keyof UpdateGlobalClusterVariableErrors];\n\nexport type UpdateGlobalClusterVariableResponses = {\n /**\n * Cluster variable updated successfully\n */\n 200: ClusterVariableResult;\n};\n\nexport type UpdateGlobalClusterVariableResponse = UpdateGlobalClusterVariableResponses[keyof UpdateGlobalClusterVariableResponses];\n\nexport type SearchClusterVariablesData = {\n body?: ClusterVariableSearchQueryRequest;\n path?: never;\n query?: {\n /**\n * When true (default), long variable values in the response are truncated. When false, full variable values are returned.\n */\n truncateValues?: boolean;\n };\n url: '/cluster-variables/search';\n};\n\nexport type SearchClusterVariablesErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchClusterVariablesError = SearchClusterVariablesErrors[keyof SearchClusterVariablesErrors];\n\nexport type SearchClusterVariablesResponses = {\n /**\n * The cluster variable search result.\n */\n 200: ClusterVariableSearchQueryResult;\n};\n\nexport type SearchClusterVariablesResponse = SearchClusterVariablesResponses[keyof SearchClusterVariablesResponses];\n\nexport type CreateTenantClusterVariableData = {\n body: CreateClusterVariableRequest;\n path: {\n /**\n * The tenant ID\n */\n tenantId: TenantId;\n };\n query?: never;\n url: '/cluster-variables/tenants/{tenantId}';\n};\n\nexport type CreateTenantClusterVariableErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type CreateTenantClusterVariableError = CreateTenantClusterVariableErrors[keyof CreateTenantClusterVariableErrors];\n\nexport type CreateTenantClusterVariableResponses = {\n /**\n * Cluster variable created\n */\n 200: ClusterVariableResult;\n};\n\nexport type CreateTenantClusterVariableResponse = CreateTenantClusterVariableResponses[keyof CreateTenantClusterVariableResponses];\n\nexport type DeleteTenantClusterVariableData = {\n body?: never;\n path: {\n /**\n * The tenant ID\n */\n tenantId: TenantId;\n /**\n * The name of the cluster variable\n */\n name: string;\n };\n query?: never;\n url: '/cluster-variables/tenants/{tenantId}/{name}';\n};\n\nexport type DeleteTenantClusterVariableErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Cluster variable not found\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type DeleteTenantClusterVariableError = DeleteTenantClusterVariableErrors[keyof DeleteTenantClusterVariableErrors];\n\nexport type DeleteTenantClusterVariableResponses = {\n /**\n * Cluster variable deleted successfully\n */\n 204: void;\n};\n\nexport type DeleteTenantClusterVariableResponse = DeleteTenantClusterVariableResponses[keyof DeleteTenantClusterVariableResponses];\n\nexport type GetTenantClusterVariableData = {\n body?: never;\n path: {\n /**\n * The tenant ID\n */\n tenantId: TenantId;\n /**\n * The name of the cluster variable\n */\n name: string;\n };\n query?: never;\n url: '/cluster-variables/tenants/{tenantId}/{name}';\n};\n\nexport type GetTenantClusterVariableErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Cluster variable not found\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetTenantClusterVariableError = GetTenantClusterVariableErrors[keyof GetTenantClusterVariableErrors];\n\nexport type GetTenantClusterVariableResponses = {\n /**\n * Cluster variable found\n */\n 200: ClusterVariableResult;\n};\n\nexport type GetTenantClusterVariableResponse = GetTenantClusterVariableResponses[keyof GetTenantClusterVariableResponses];\n\nexport type UpdateTenantClusterVariableData = {\n body: UpdateClusterVariableRequest;\n path: {\n /**\n * The tenant ID\n */\n tenantId: TenantId;\n /**\n * The name of the cluster variable\n */\n name: string;\n };\n query?: never;\n url: '/cluster-variables/tenants/{tenantId}/{name}';\n};\n\nexport type UpdateTenantClusterVariableErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Cluster variable not found\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type UpdateTenantClusterVariableError = UpdateTenantClusterVariableErrors[keyof UpdateTenantClusterVariableErrors];\n\nexport type UpdateTenantClusterVariableResponses = {\n /**\n * Cluster variable updated successfully\n */\n 200: ClusterVariableResult;\n};\n\nexport type UpdateTenantClusterVariableResponse = UpdateTenantClusterVariableResponses[keyof UpdateTenantClusterVariableResponses];\n\nexport type EvaluateConditionalsData = {\n body: ConditionalEvaluationInstruction;\n path?: never;\n query?: never;\n url: '/conditionals/evaluation';\n};\n\nexport type EvaluateConditionalsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The client is not authorized to start process instances for the specified process definition.\n * If a processDefinitionKey is not provided, this indicates that the client is not authorized\n * to start process instances for at least one of the matched process definitions.\n *\n */\n 403: ProblemDetail;\n /**\n * The process definition was not found for the given processDefinitionKey.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type EvaluateConditionalsError = EvaluateConditionalsErrors[keyof EvaluateConditionalsErrors];\n\nexport type EvaluateConditionalsResponses = {\n /**\n * Successfully evaluated root-level conditional start events.\n */\n 200: EvaluateConditionalResult;\n};\n\nexport type EvaluateConditionalsResponse = EvaluateConditionalsResponses[keyof EvaluateConditionalsResponses];\n\nexport type SearchCorrelatedMessageSubscriptionsData = {\n body?: CorrelatedMessageSubscriptionSearchQuery;\n path?: never;\n query?: never;\n url: '/correlated-message-subscriptions/search';\n};\n\nexport type SearchCorrelatedMessageSubscriptionsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchCorrelatedMessageSubscriptionsError = SearchCorrelatedMessageSubscriptionsErrors[keyof SearchCorrelatedMessageSubscriptionsErrors];\n\nexport type SearchCorrelatedMessageSubscriptionsResponses = {\n /**\n * The correlated message subscriptions search result.\n */\n 200: CorrelatedMessageSubscriptionSearchQueryResult;\n};\n\nexport type SearchCorrelatedMessageSubscriptionsResponse = SearchCorrelatedMessageSubscriptionsResponses[keyof SearchCorrelatedMessageSubscriptionsResponses];\n\nexport type EvaluateDecisionData = {\n body: DecisionEvaluationInstruction;\n path?: never;\n query?: never;\n url: '/decision-definitions/evaluation';\n};\n\nexport type EvaluateDecisionErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The decision is not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type EvaluateDecisionError = EvaluateDecisionErrors[keyof EvaluateDecisionErrors];\n\nexport type EvaluateDecisionResponses = {\n /**\n * The decision was evaluated.\n */\n 200: EvaluateDecisionResult;\n};\n\nexport type EvaluateDecisionResponse = EvaluateDecisionResponses[keyof EvaluateDecisionResponses];\n\nexport type SearchDecisionDefinitionsData = {\n body?: DecisionDefinitionSearchQuery;\n path?: never;\n query?: never;\n url: '/decision-definitions/search';\n};\n\nexport type SearchDecisionDefinitionsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchDecisionDefinitionsError = SearchDecisionDefinitionsErrors[keyof SearchDecisionDefinitionsErrors];\n\nexport type SearchDecisionDefinitionsResponses = {\n /**\n * The decision definition search result.\n */\n 200: DecisionDefinitionSearchQueryResult;\n};\n\nexport type SearchDecisionDefinitionsResponse = SearchDecisionDefinitionsResponses[keyof SearchDecisionDefinitionsResponses];\n\nexport type GetDecisionDefinitionData = {\n body?: never;\n path: {\n /**\n * The assigned key of the decision definition, which acts as a unique identifier for this decision.\n */\n decisionDefinitionKey: DecisionDefinitionKey;\n };\n query?: never;\n url: '/decision-definitions/{decisionDefinitionKey}';\n};\n\nexport type GetDecisionDefinitionErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The decision definition with the given key was not found. More details are provided in the response body.\n *\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetDecisionDefinitionError = GetDecisionDefinitionErrors[keyof GetDecisionDefinitionErrors];\n\nexport type GetDecisionDefinitionResponses = {\n /**\n * The decision definition is successfully returned.\n */\n 200: DecisionDefinitionResult;\n};\n\nexport type GetDecisionDefinitionResponse = GetDecisionDefinitionResponses[keyof GetDecisionDefinitionResponses];\n\nexport type GetDecisionDefinitionXmlData = {\n body?: never;\n path: {\n /**\n * The assigned key of the decision definition, which acts as a unique identifier for this decision.\n */\n decisionDefinitionKey: DecisionDefinitionKey;\n };\n query?: never;\n url: '/decision-definitions/{decisionDefinitionKey}/xml';\n};\n\nexport type GetDecisionDefinitionXmlErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The decision definition with the given key was not found. More details are provided in the response body.\n *\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetDecisionDefinitionXmlError = GetDecisionDefinitionXmlErrors[keyof GetDecisionDefinitionXmlErrors];\n\nexport type GetDecisionDefinitionXmlResponses = {\n /**\n * The XML of the decision definition is successfully returned.\n */\n 200: string;\n};\n\nexport type GetDecisionDefinitionXmlResponse = GetDecisionDefinitionXmlResponses[keyof GetDecisionDefinitionXmlResponses];\n\nexport type SearchDecisionInstancesData = {\n body?: DecisionInstanceSearchQuery;\n path?: never;\n query?: never;\n url: '/decision-instances/search';\n};\n\nexport type SearchDecisionInstancesErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchDecisionInstancesError = SearchDecisionInstancesErrors[keyof SearchDecisionInstancesErrors];\n\nexport type SearchDecisionInstancesResponses = {\n /**\n * The decision instance search result.\n */\n 200: DecisionInstanceSearchQueryResult;\n};\n\nexport type SearchDecisionInstancesResponse = SearchDecisionInstancesResponses[keyof SearchDecisionInstancesResponses];\n\nexport type GetDecisionInstanceData = {\n body?: never;\n path: {\n /**\n * The assigned key of the decision instance, which acts as a unique identifier for this decision instance.\n */\n decisionEvaluationInstanceKey: DecisionEvaluationInstanceKey;\n };\n query?: never;\n url: '/decision-instances/{decisionEvaluationInstanceKey}';\n};\n\nexport type GetDecisionInstanceErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The decision instance with the given key was not found. More details are provided in the response body.\n *\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetDecisionInstanceError = GetDecisionInstanceErrors[keyof GetDecisionInstanceErrors];\n\nexport type GetDecisionInstanceResponses = {\n /**\n * The decision instance is successfully returned.\n */\n 200: DecisionInstanceGetQueryResult;\n};\n\nexport type GetDecisionInstanceResponse = GetDecisionInstanceResponses[keyof GetDecisionInstanceResponses];\n\nexport type DeleteDecisionInstanceData = {\n body?: {\n operationReference?: OperationReference;\n } | null;\n path: {\n /**\n * The key of the decision evaluation to delete.\n */\n decisionEvaluationKey: DecisionEvaluationKey;\n };\n query?: never;\n url: '/decision-instances/{decisionEvaluationKey}/deletion';\n};\n\nexport type DeleteDecisionInstanceErrors = {\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The decision instance is not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type DeleteDecisionInstanceError = DeleteDecisionInstanceErrors[keyof DeleteDecisionInstanceErrors];\n\nexport type DeleteDecisionInstanceResponses = {\n /**\n * The decision instance is marked for deletion.\n */\n 204: void;\n};\n\nexport type DeleteDecisionInstanceResponse = DeleteDecisionInstanceResponses[keyof DeleteDecisionInstanceResponses];\n\nexport type DeleteDecisionInstancesBatchOperationData = {\n body: DecisionInstanceDeletionBatchOperationRequest;\n path?: never;\n query?: never;\n url: '/decision-instances/deletion';\n};\n\nexport type DeleteDecisionInstancesBatchOperationErrors = {\n /**\n * The decision instance batch operation failed. More details are provided in the response body.\n *\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type DeleteDecisionInstancesBatchOperationError = DeleteDecisionInstancesBatchOperationErrors[keyof DeleteDecisionInstancesBatchOperationErrors];\n\nexport type DeleteDecisionInstancesBatchOperationResponses = {\n /**\n * The batch operation request was created.\n */\n 200: BatchOperationCreatedResult;\n};\n\nexport type DeleteDecisionInstancesBatchOperationResponse = DeleteDecisionInstancesBatchOperationResponses[keyof DeleteDecisionInstancesBatchOperationResponses];\n\nexport type SearchDecisionRequirementsData = {\n body?: DecisionRequirementsSearchQuery;\n path?: never;\n query?: never;\n url: '/decision-requirements/search';\n};\n\nexport type SearchDecisionRequirementsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchDecisionRequirementsError = SearchDecisionRequirementsErrors[keyof SearchDecisionRequirementsErrors];\n\nexport type SearchDecisionRequirementsResponses = {\n /**\n * The decision requirements search result.\n */\n 200: DecisionRequirementsSearchQueryResult;\n};\n\nexport type SearchDecisionRequirementsResponse = SearchDecisionRequirementsResponses[keyof SearchDecisionRequirementsResponses];\n\nexport type GetDecisionRequirementsData = {\n body?: never;\n path: {\n /**\n * The assigned key of the decision requirements, which acts as a unique identifier for this decision requirements.\n */\n decisionRequirementsKey: DecisionRequirementsKey;\n };\n query?: never;\n url: '/decision-requirements/{decisionRequirementsKey}';\n};\n\nexport type GetDecisionRequirementsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The decision requirements with the given key was not found. More details are provided in the response body.\n *\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetDecisionRequirementsError = GetDecisionRequirementsErrors[keyof GetDecisionRequirementsErrors];\n\nexport type GetDecisionRequirementsResponses = {\n /**\n * The decision requirements is successfully returned.\n */\n 200: DecisionRequirementsResult;\n};\n\nexport type GetDecisionRequirementsResponse = GetDecisionRequirementsResponses[keyof GetDecisionRequirementsResponses];\n\nexport type GetDecisionRequirementsXmlData = {\n body?: never;\n path: {\n /**\n * The assigned key of the decision requirements, which acts as a unique identifier for this decision.\n */\n decisionRequirementsKey: DecisionRequirementsKey;\n };\n query?: never;\n url: '/decision-requirements/{decisionRequirementsKey}/xml';\n};\n\nexport type GetDecisionRequirementsXmlErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The decision requirements with the given key was not found. More details are provided in the response body.\n *\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetDecisionRequirementsXmlError = GetDecisionRequirementsXmlErrors[keyof GetDecisionRequirementsXmlErrors];\n\nexport type GetDecisionRequirementsXmlResponses = {\n /**\n * The XML of the decision requirements is successfully returned.\n */\n 200: string;\n};\n\nexport type GetDecisionRequirementsXmlResponse = GetDecisionRequirementsXmlResponses[keyof GetDecisionRequirementsXmlResponses];\n\nexport type CreateDeploymentData = {\n body: {\n /**\n * The binary data to create the deployment resources. It is possible to have more than one form part with different form part names for the binary data to create a deployment.\n *\n */\n resources: Array<Blob | File>;\n tenantId?: TenantId;\n };\n path?: never;\n query?: never;\n url: '/deployments';\n};\n\nexport type CreateDeploymentErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type CreateDeploymentError = CreateDeploymentErrors[keyof CreateDeploymentErrors];\n\nexport type CreateDeploymentResponses = {\n /**\n * The resources are deployed.\n */\n 200: DeploymentResult;\n};\n\nexport type CreateDeploymentResponse = CreateDeploymentResponses[keyof CreateDeploymentResponses];\n\nexport type CreateDocumentData = {\n body: {\n file: Blob | File;\n metadata?: DocumentMetadata;\n };\n path?: never;\n query?: {\n /**\n * The ID of the document store to upload the documents to. Currently, only a single document store is supported per cluster. However, this attribute is included to allow for potential future support of multiple document stores.\n */\n storeId?: string;\n /**\n * The ID of the document to upload. If not provided, a new ID will be generated. Specifying an existing ID will result in an error if the document already exists.\n *\n */\n documentId?: DocumentId;\n };\n url: '/documents';\n};\n\nexport type CreateDocumentErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The server cannot process the request because the media type (Content-Type) of the request payload is not supported\n * by the server for the requested resource and method.\n *\n */\n 415: ProblemDetail;\n};\n\nexport type CreateDocumentError = CreateDocumentErrors[keyof CreateDocumentErrors];\n\nexport type CreateDocumentResponses = {\n /**\n * The document was uploaded successfully.\n */\n 201: DocumentReference;\n};\n\nexport type CreateDocumentResponse = CreateDocumentResponses[keyof CreateDocumentResponses];\n\nexport type CreateDocumentsData = {\n body: {\n /**\n * The documents to upload.\n */\n files: Array<Blob | File>;\n /**\n * Optional JSON array of metadata object whose index aligns with each file entry. The metadata array must have the same length as the files array.\n *\n */\n metadataList?: Array<DocumentMetadata>;\n };\n path?: never;\n query?: {\n /**\n * The ID of the document store to upload the documents to. Currently, only a single document store is supported per cluster. However, this attribute is included to allow for potential future support of multiple document stores.\n */\n storeId?: string;\n };\n url: '/documents/batch';\n};\n\nexport type CreateDocumentsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The server cannot process the request because the media type (Content-Type) of the request payload is not supported\n * by the server for the requested resource and method.\n *\n */\n 415: ProblemDetail;\n};\n\nexport type CreateDocumentsError = CreateDocumentsErrors[keyof CreateDocumentsErrors];\n\nexport type CreateDocumentsResponses = {\n /**\n * All documents were uploaded successfully.\n */\n 201: DocumentCreationBatchResponse;\n /**\n * Some documents were uploaded successfully, others failed.\n */\n 207: DocumentCreationBatchResponse;\n};\n\nexport type CreateDocumentsResponse = CreateDocumentsResponses[keyof CreateDocumentsResponses];\n\nexport type DeleteDocumentData = {\n body?: never;\n path: {\n /**\n * The ID of the document to delete.\n */\n documentId: DocumentId;\n };\n query?: {\n /**\n * The ID of the document store to delete the document from.\n */\n storeId?: string;\n };\n url: '/documents/{documentId}';\n};\n\nexport type DeleteDocumentErrors = {\n /**\n * The document with the given ID was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type DeleteDocumentError = DeleteDocumentErrors[keyof DeleteDocumentErrors];\n\nexport type DeleteDocumentResponses = {\n /**\n * The document was deleted successfully.\n */\n 204: void;\n};\n\nexport type DeleteDocumentResponse = DeleteDocumentResponses[keyof DeleteDocumentResponses];\n\nexport type GetDocumentData = {\n body?: never;\n path: {\n /**\n * The ID of the document to download.\n */\n documentId: DocumentId;\n };\n query?: {\n /**\n * The ID of the document store to download the document from.\n */\n storeId?: string;\n /**\n * The hash of the document content that was computed by the document store during upload. The hash is part of the document reference that is returned when uploading a document. If the client fails to provide the correct hash, the request will be rejected.\n *\n */\n contentHash?: string;\n };\n url: '/documents/{documentId}';\n};\n\nexport type GetDocumentErrors = {\n /**\n * The document with the given ID was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetDocumentError = GetDocumentErrors[keyof GetDocumentErrors];\n\nexport type GetDocumentResponses = {\n /**\n * The document was downloaded successfully.\n */\n 200: Blob | File;\n};\n\nexport type GetDocumentResponse = GetDocumentResponses[keyof GetDocumentResponses];\n\nexport type CreateDocumentLinkData = {\n body?: DocumentLinkRequest;\n path: {\n /**\n * The ID of the document to link.\n */\n documentId: DocumentId;\n };\n query?: {\n /**\n * The ID of the document store where the document is located.\n */\n storeId?: string;\n /**\n * The hash of the document content that was computed by the document store during upload. The hash is part of the document reference that is returned when uploading a document. If the client fails to provide the correct hash, the request will be rejected.\n *\n */\n contentHash?: string;\n };\n url: '/documents/{documentId}/links';\n};\n\nexport type CreateDocumentLinkErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n};\n\nexport type CreateDocumentLinkError = CreateDocumentLinkErrors[keyof CreateDocumentLinkErrors];\n\nexport type CreateDocumentLinkResponses = {\n /**\n * The document link was created successfully.\n */\n 201: DocumentLink;\n};\n\nexport type CreateDocumentLinkResponse = CreateDocumentLinkResponses[keyof CreateDocumentLinkResponses];\n\nexport type ActivateAdHocSubProcessActivitiesData = {\n body: AdHocSubProcessActivateActivitiesInstruction;\n path: {\n /**\n * The key of the ad-hoc sub-process instance that contains the activities.\n */\n adHocSubProcessInstanceKey: ElementInstanceKey;\n };\n query?: never;\n url: '/element-instances/ad-hoc-activities/{adHocSubProcessInstanceKey}/activation';\n};\n\nexport type ActivateAdHocSubProcessActivitiesErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The ad-hoc sub-process instance is not found or the provided key does not identify an ad-hoc sub-process.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type ActivateAdHocSubProcessActivitiesError = ActivateAdHocSubProcessActivitiesErrors[keyof ActivateAdHocSubProcessActivitiesErrors];\n\nexport type ActivateAdHocSubProcessActivitiesResponses = {\n /**\n * The ad-hoc sub-process instance is modified.\n */\n 204: void;\n};\n\nexport type ActivateAdHocSubProcessActivitiesResponse = ActivateAdHocSubProcessActivitiesResponses[keyof ActivateAdHocSubProcessActivitiesResponses];\n\nexport type SearchElementInstancesData = {\n body?: ElementInstanceSearchQuery;\n path?: never;\n query?: never;\n url: '/element-instances/search';\n};\n\nexport type SearchElementInstancesErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchElementInstancesError = SearchElementInstancesErrors[keyof SearchElementInstancesErrors];\n\nexport type SearchElementInstancesResponses = {\n /**\n * The element instance search result.\n */\n 200: ElementInstanceSearchQueryResult;\n};\n\nexport type SearchElementInstancesResponse = SearchElementInstancesResponses[keyof SearchElementInstancesResponses];\n\nexport type GetElementInstanceData = {\n body?: never;\n path: {\n /**\n * The assigned key of the element instance, which acts as a unique identifier for this element instance.\n */\n elementInstanceKey: ElementInstanceKey;\n };\n query?: never;\n url: '/element-instances/{elementInstanceKey}';\n};\n\nexport type GetElementInstanceErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The element instance with the given key was not found.\n * More details are provided in the response body.\n *\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetElementInstanceError = GetElementInstanceErrors[keyof GetElementInstanceErrors];\n\nexport type GetElementInstanceResponses = {\n /**\n * The element instance is successfully returned.\n */\n 200: ElementInstanceResult;\n};\n\nexport type GetElementInstanceResponse = GetElementInstanceResponses[keyof GetElementInstanceResponses];\n\nexport type SearchElementInstanceIncidentsData = {\n body: IncidentSearchQuery;\n path: {\n /**\n * The unique key of the element instance to search incidents for.\n */\n elementInstanceKey: ElementInstanceKey;\n };\n query?: never;\n url: '/element-instances/{elementInstanceKey}/incidents/search';\n};\n\nexport type SearchElementInstanceIncidentsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The element instance with the given key was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchElementInstanceIncidentsError = SearchElementInstanceIncidentsErrors[keyof SearchElementInstanceIncidentsErrors];\n\nexport type SearchElementInstanceIncidentsResponses = {\n /**\n * The element instance incident search result.\n */\n 200: IncidentSearchQueryResult;\n};\n\nexport type SearchElementInstanceIncidentsResponse = SearchElementInstanceIncidentsResponses[keyof SearchElementInstanceIncidentsResponses];\n\nexport type CreateElementInstanceVariablesData = {\n body: SetVariableRequest;\n path: {\n /**\n * The key of the element instance to update the variables for.\n * This can be the process instance key (as obtained during instance creation), or a given\n * element, such as a service task (see the `elementInstanceKey` on the job message).\n *\n */\n elementInstanceKey: ElementInstanceKey;\n };\n query?: never;\n url: '/element-instances/{elementInstanceKey}/variables';\n};\n\nexport type CreateElementInstanceVariablesErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n /**\n * The request timed out between the gateway and the broker. For these endpoints, this often happens when user task listeners are configured and the corresponding listener job is not completed within the request timeout. Common causes include no available job workers for the listener type, busy or crashed job workers, or delayed job completion. As with any gateway timeout, general timeout causes (for example transient network issues) can also result in a 504 response.\n * Troubleshooting: - verify that job workers for the listener type are running and healthy - check worker logs for crashes, retries, and completion failures - check network connectivity between workers, gateway, and broker - retry with backoff after transient failures - fail without retries if a problem persists\n *\n */\n 504: ProblemDetail;\n};\n\nexport type CreateElementInstanceVariablesError = CreateElementInstanceVariablesErrors[keyof CreateElementInstanceVariablesErrors];\n\nexport type CreateElementInstanceVariablesResponses = {\n /**\n * The variables were updated.\n */\n 204: void;\n};\n\nexport type CreateElementInstanceVariablesResponse = CreateElementInstanceVariablesResponses[keyof CreateElementInstanceVariablesResponses];\n\nexport type EvaluateExpressionData = {\n body: ExpressionEvaluationRequest;\n path?: never;\n query?: never;\n url: '/expression/evaluation';\n};\n\nexport type EvaluateExpressionErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type EvaluateExpressionError = EvaluateExpressionErrors[keyof EvaluateExpressionErrors];\n\nexport type EvaluateExpressionResponses = {\n /**\n * Expression evaluated successfully\n */\n 200: ExpressionEvaluationResult;\n};\n\nexport type EvaluateExpressionResponse = EvaluateExpressionResponses[keyof EvaluateExpressionResponses];\n\nexport type CreateGlobalTaskListenerData = {\n body: CreateGlobalTaskListenerRequest;\n path?: never;\n query?: never;\n url: '/global-task-listeners';\n};\n\nexport type CreateGlobalTaskListenerErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * A global listener with this id already exists.\n */\n 409: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type CreateGlobalTaskListenerError = CreateGlobalTaskListenerErrors[keyof CreateGlobalTaskListenerErrors];\n\nexport type CreateGlobalTaskListenerResponses = {\n /**\n * The global user task listener was created successfully.\n */\n 201: GlobalTaskListenerResult;\n};\n\nexport type CreateGlobalTaskListenerResponse = CreateGlobalTaskListenerResponses[keyof CreateGlobalTaskListenerResponses];\n\nexport type DeleteGlobalTaskListenerData = {\n body?: never;\n path: {\n /**\n * The id of the global user task listener to delete.\n */\n id: GlobalListenerId;\n };\n query?: never;\n url: '/global-task-listeners/{id}';\n};\n\nexport type DeleteGlobalTaskListenerErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The global user task listener was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type DeleteGlobalTaskListenerError = DeleteGlobalTaskListenerErrors[keyof DeleteGlobalTaskListenerErrors];\n\nexport type DeleteGlobalTaskListenerResponses = {\n /**\n * The global listener was deleted successfully.\n */\n 204: void;\n};\n\nexport type DeleteGlobalTaskListenerResponse = DeleteGlobalTaskListenerResponses[keyof DeleteGlobalTaskListenerResponses];\n\nexport type GetGlobalTaskListenerData = {\n body?: never;\n path: {\n /**\n * The id of the global user task listener.\n */\n id: GlobalListenerId;\n };\n query?: never;\n url: '/global-task-listeners/{id}';\n};\n\nexport type GetGlobalTaskListenerErrors = {\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The global user task listener with the given id was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetGlobalTaskListenerError = GetGlobalTaskListenerErrors[keyof GetGlobalTaskListenerErrors];\n\nexport type GetGlobalTaskListenerResponses = {\n /**\n * The global user task listener is successfully returned.\n */\n 200: GlobalTaskListenerResult;\n};\n\nexport type GetGlobalTaskListenerResponse = GetGlobalTaskListenerResponses[keyof GetGlobalTaskListenerResponses];\n\nexport type UpdateGlobalTaskListenerData = {\n body: UpdateGlobalTaskListenerRequest;\n path: {\n /**\n * The id of the global user task listener to update.\n */\n id: GlobalListenerId;\n };\n query?: never;\n url: '/global-task-listeners/{id}';\n};\n\nexport type UpdateGlobalTaskListenerErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The global user task listener was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type UpdateGlobalTaskListenerError = UpdateGlobalTaskListenerErrors[keyof UpdateGlobalTaskListenerErrors];\n\nexport type UpdateGlobalTaskListenerResponses = {\n /**\n * The global listener was updated successfully.\n */\n 200: GlobalTaskListenerResult;\n};\n\nexport type UpdateGlobalTaskListenerResponse = UpdateGlobalTaskListenerResponses[keyof UpdateGlobalTaskListenerResponses];\n\nexport type SearchGlobalTaskListenersData = {\n body?: GlobalTaskListenerSearchQueryRequest;\n path?: never;\n query?: never;\n url: '/global-task-listeners/search';\n};\n\nexport type SearchGlobalTaskListenersErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchGlobalTaskListenersError = SearchGlobalTaskListenersErrors[keyof SearchGlobalTaskListenersErrors];\n\nexport type SearchGlobalTaskListenersResponses = {\n /**\n * The global user task listener search result.\n */\n 200: GlobalTaskListenerSearchQueryResult;\n};\n\nexport type SearchGlobalTaskListenersResponse = SearchGlobalTaskListenersResponses[keyof SearchGlobalTaskListenersResponses];\n\nexport type CreateGroupData = {\n body?: GroupCreateRequest;\n path?: never;\n query?: never;\n url: '/groups';\n};\n\nexport type CreateGroupErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type CreateGroupError = CreateGroupErrors[keyof CreateGroupErrors];\n\nexport type CreateGroupResponses = {\n /**\n * The group was created successfully.\n */\n 201: GroupCreateResult;\n};\n\nexport type CreateGroupResponse = CreateGroupResponses[keyof CreateGroupResponses];\n\nexport type SearchGroupsData = {\n body?: GroupSearchQueryRequest;\n path?: never;\n query?: never;\n url: '/groups/search';\n};\n\nexport type SearchGroupsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchGroupsError = SearchGroupsErrors[keyof SearchGroupsErrors];\n\nexport type SearchGroupsResponses = {\n /**\n * The groups search result.\n */\n 200: GroupSearchQueryResult;\n};\n\nexport type SearchGroupsResponse = SearchGroupsResponses[keyof SearchGroupsResponses];\n\nexport type DeleteGroupData = {\n body?: never;\n path: {\n /**\n * The group ID.\n */\n groupId: string;\n };\n query?: never;\n url: '/groups/{groupId}';\n};\n\nexport type DeleteGroupErrors = {\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * The group with the given ID was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type DeleteGroupError = DeleteGroupErrors[keyof DeleteGroupErrors];\n\nexport type DeleteGroupResponses = {\n /**\n * The group was deleted successfully.\n */\n 204: void;\n};\n\nexport type DeleteGroupResponse = DeleteGroupResponses[keyof DeleteGroupResponses];\n\nexport type GetGroupData = {\n body?: never;\n path: {\n /**\n * The group ID.\n */\n groupId: string;\n };\n query?: never;\n url: '/groups/{groupId}';\n};\n\nexport type GetGroupErrors = {\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The group with the given ID was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetGroupError = GetGroupErrors[keyof GetGroupErrors];\n\nexport type GetGroupResponses = {\n /**\n * The group is successfully returned.\n */\n 200: GroupResult;\n};\n\nexport type GetGroupResponse = GetGroupResponses[keyof GetGroupResponses];\n\nexport type UpdateGroupData = {\n body: GroupUpdateRequest;\n path: {\n /**\n * The group ID.\n */\n groupId: string;\n };\n query?: never;\n url: '/groups/{groupId}';\n};\n\nexport type UpdateGroupErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * The group with the given ID was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type UpdateGroupError = UpdateGroupErrors[keyof UpdateGroupErrors];\n\nexport type UpdateGroupResponses = {\n /**\n * The group was updated successfully.\n */\n 200: GroupUpdateResult;\n};\n\nexport type UpdateGroupResponse = UpdateGroupResponses[keyof UpdateGroupResponses];\n\nexport type SearchClientsForGroupData = {\n body?: SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<{\n /**\n * The field to sort by.\n */\n field: 'clientId';\n order?: SortOrderEnum;\n }>;\n };\n path: {\n /**\n * The group ID.\n */\n groupId: string;\n };\n query?: never;\n url: '/groups/{groupId}/clients/search';\n};\n\nexport type SearchClientsForGroupErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The group with the given ID was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchClientsForGroupError = SearchClientsForGroupErrors[keyof SearchClientsForGroupErrors];\n\nexport type SearchClientsForGroupResponses = {\n /**\n * The clients assigned to the group.\n */\n 200: SearchQueryResponse & {\n /**\n * The matching client IDs.\n */\n items: Array<{\n /**\n * The ID of the client.\n */\n clientId: string;\n }>;\n };\n};\n\nexport type SearchClientsForGroupResponse = SearchClientsForGroupResponses[keyof SearchClientsForGroupResponses];\n\nexport type UnassignClientFromGroupData = {\n body?: never;\n path: {\n /**\n * The group ID.\n */\n groupId: string;\n /**\n * The client ID.\n */\n clientId: string;\n };\n query?: never;\n url: '/groups/{groupId}/clients/{clientId}';\n};\n\nexport type UnassignClientFromGroupErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The group with the given ID was not found, or the client is not assigned to this group.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type UnassignClientFromGroupError = UnassignClientFromGroupErrors[keyof UnassignClientFromGroupErrors];\n\nexport type UnassignClientFromGroupResponses = {\n /**\n * The client was unassigned successfully from the group.\n */\n 204: void;\n};\n\nexport type UnassignClientFromGroupResponse = UnassignClientFromGroupResponses[keyof UnassignClientFromGroupResponses];\n\nexport type AssignClientToGroupData = {\n body?: never;\n path: {\n /**\n * The group ID.\n */\n groupId: string;\n /**\n * The client ID.\n */\n clientId: string;\n };\n query?: never;\n url: '/groups/{groupId}/clients/{clientId}';\n};\n\nexport type AssignClientToGroupErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The group with the given ID was not found.\n */\n 404: ProblemDetail;\n /**\n * The client with the given ID is already assigned to the group.\n */\n 409: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type AssignClientToGroupError = AssignClientToGroupErrors[keyof AssignClientToGroupErrors];\n\nexport type AssignClientToGroupResponses = {\n /**\n * The client was assigned successfully to the group.\n */\n 204: void;\n};\n\nexport type AssignClientToGroupResponse = AssignClientToGroupResponses[keyof AssignClientToGroupResponses];\n\nexport type SearchMappingRulesForGroupData = {\n body?: MappingRuleSearchQueryRequest;\n path: {\n /**\n * The group ID.\n */\n groupId: string;\n };\n query?: never;\n url: '/groups/{groupId}/mapping-rules/search';\n};\n\nexport type SearchMappingRulesForGroupErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The group with the given ID was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchMappingRulesForGroupError = SearchMappingRulesForGroupErrors[keyof SearchMappingRulesForGroupErrors];\n\nexport type SearchMappingRulesForGroupResponses = {\n /**\n * The mapping rules assigned to the group.\n */\n 200: SearchQueryResponse & {\n /**\n * The matching mapping rules.\n */\n items: Array<MappingRuleResult>;\n };\n};\n\nexport type SearchMappingRulesForGroupResponse = SearchMappingRulesForGroupResponses[keyof SearchMappingRulesForGroupResponses];\n\nexport type UnassignMappingRuleFromGroupData = {\n body?: never;\n path: {\n /**\n * The group ID.\n */\n groupId: string;\n /**\n * The mapping rule ID.\n */\n mappingRuleId: string;\n };\n query?: never;\n url: '/groups/{groupId}/mapping-rules/{mappingRuleId}';\n};\n\nexport type UnassignMappingRuleFromGroupErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The group or mapping rule with the given ID was not found, or the mapping rule is not assigned to this group.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type UnassignMappingRuleFromGroupError = UnassignMappingRuleFromGroupErrors[keyof UnassignMappingRuleFromGroupErrors];\n\nexport type UnassignMappingRuleFromGroupResponses = {\n /**\n * The mapping rule was unassigned successfully from the group.\n */\n 204: void;\n};\n\nexport type UnassignMappingRuleFromGroupResponse = UnassignMappingRuleFromGroupResponses[keyof UnassignMappingRuleFromGroupResponses];\n\nexport type AssignMappingRuleToGroupData = {\n body?: never;\n path: {\n /**\n * The group ID.\n */\n groupId: string;\n /**\n * The mapping rule ID.\n */\n mappingRuleId: string;\n };\n query?: never;\n url: '/groups/{groupId}/mapping-rules/{mappingRuleId}';\n};\n\nexport type AssignMappingRuleToGroupErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The group or mapping rule with the given ID was not found.\n */\n 404: ProblemDetail;\n /**\n * The mapping rule with the given ID is already assigned to the group.\n */\n 409: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type AssignMappingRuleToGroupError = AssignMappingRuleToGroupErrors[keyof AssignMappingRuleToGroupErrors];\n\nexport type AssignMappingRuleToGroupResponses = {\n /**\n * The mapping rule was assigned successfully to the group.\n */\n 204: void;\n};\n\nexport type AssignMappingRuleToGroupResponse = AssignMappingRuleToGroupResponses[keyof AssignMappingRuleToGroupResponses];\n\nexport type SearchRolesForGroupData = {\n body?: RoleSearchQueryRequest;\n path: {\n /**\n * The group ID.\n */\n groupId: string;\n };\n query?: never;\n url: '/groups/{groupId}/roles/search';\n};\n\nexport type SearchRolesForGroupErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The group with the given ID was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchRolesForGroupError = SearchRolesForGroupErrors[keyof SearchRolesForGroupErrors];\n\nexport type SearchRolesForGroupResponses = {\n /**\n * The roles assigned to the group.\n */\n 200: SearchQueryResponse & {\n /**\n * The matching roles.\n */\n items: Array<RoleResult>;\n };\n};\n\nexport type SearchRolesForGroupResponse = SearchRolesForGroupResponses[keyof SearchRolesForGroupResponses];\n\nexport type SearchUsersForGroupData = {\n body?: SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<{\n /**\n * The field to sort by.\n */\n field: 'username';\n order?: SortOrderEnum;\n }>;\n };\n path: {\n /**\n * The group ID.\n */\n groupId: string;\n };\n query?: never;\n url: '/groups/{groupId}/users/search';\n};\n\nexport type SearchUsersForGroupErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The group with the given ID was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchUsersForGroupError = SearchUsersForGroupErrors[keyof SearchUsersForGroupErrors];\n\nexport type SearchUsersForGroupResponses = {\n /**\n * The users assigned to the group.\n */\n 200: SearchQueryResponse & {\n /**\n * The matching members.\n */\n items: Array<{\n username: Username;\n }>;\n };\n};\n\nexport type SearchUsersForGroupResponse = SearchUsersForGroupResponses[keyof SearchUsersForGroupResponses];\n\nexport type UnassignUserFromGroupData = {\n body?: never;\n path: {\n /**\n * The group ID.\n */\n groupId: string;\n /**\n * The user username.\n */\n username: Username;\n };\n query?: never;\n url: '/groups/{groupId}/users/{username}';\n};\n\nexport type UnassignUserFromGroupErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The group or user with the given ID was not found, or the user is not assigned to this group.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type UnassignUserFromGroupError = UnassignUserFromGroupErrors[keyof UnassignUserFromGroupErrors];\n\nexport type UnassignUserFromGroupResponses = {\n /**\n * The user was unassigned successfully from the group.\n */\n 204: void;\n};\n\nexport type UnassignUserFromGroupResponse = UnassignUserFromGroupResponses[keyof UnassignUserFromGroupResponses];\n\nexport type AssignUserToGroupData = {\n body?: never;\n path: {\n /**\n * The group ID.\n */\n groupId: string;\n /**\n * The user username.\n */\n username: Username;\n };\n query?: never;\n url: '/groups/{groupId}/users/{username}';\n};\n\nexport type AssignUserToGroupErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The group or user with the given ID or username was not found.\n */\n 404: ProblemDetail;\n /**\n * The user with the given ID is already assigned to the group.\n */\n 409: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type AssignUserToGroupError = AssignUserToGroupErrors[keyof AssignUserToGroupErrors];\n\nexport type AssignUserToGroupResponses = {\n /**\n * The user was assigned successfully to the group.\n */\n 204: void;\n};\n\nexport type AssignUserToGroupResponse = AssignUserToGroupResponses[keyof AssignUserToGroupResponses];\n\nexport type SearchIncidentsData = {\n body?: IncidentSearchQuery;\n path?: never;\n query?: never;\n url: '/incidents/search';\n};\n\nexport type SearchIncidentsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchIncidentsError = SearchIncidentsErrors[keyof SearchIncidentsErrors];\n\nexport type SearchIncidentsResponses = {\n /**\n * The incident search result.\n */\n 200: IncidentSearchQueryResult;\n};\n\nexport type SearchIncidentsResponse = SearchIncidentsResponses[keyof SearchIncidentsResponses];\n\nexport type GetIncidentData = {\n body?: never;\n path: {\n /**\n * The assigned key of the incident, which acts as a unique identifier for this incident.\n */\n incidentKey: IncidentKey;\n };\n query?: never;\n url: '/incidents/{incidentKey}';\n};\n\nexport type GetIncidentErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The incident with the given key was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetIncidentError = GetIncidentErrors[keyof GetIncidentErrors];\n\nexport type GetIncidentResponses = {\n /**\n * The incident is successfully returned.\n */\n 200: IncidentResult;\n};\n\nexport type GetIncidentResponse = GetIncidentResponses[keyof GetIncidentResponses];\n\nexport type ResolveIncidentData = {\n body?: IncidentResolutionRequest;\n path: {\n /**\n * Key of the incident to resolve.\n */\n incidentKey: IncidentKey;\n };\n query?: never;\n url: '/incidents/{incidentKey}/resolution';\n};\n\nexport type ResolveIncidentErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The incident with the incidentKey is not found.\n */\n 404: ProblemDetail;\n /**\n * The incident cannot be resolved due to an invalid state.\n * For example, the associated job may have no retries left.\n *\n */\n 409: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type ResolveIncidentError = ResolveIncidentErrors[keyof ResolveIncidentErrors];\n\nexport type ResolveIncidentResponses = {\n /**\n * The incident is marked as resolved.\n */\n 204: void;\n};\n\nexport type ResolveIncidentResponse = ResolveIncidentResponses[keyof ResolveIncidentResponses];\n\nexport type GetProcessInstanceStatisticsByDefinitionData = {\n body: IncidentProcessInstanceStatisticsByDefinitionQuery;\n path?: never;\n query?: never;\n url: '/incidents/statistics/process-instances-by-definition';\n};\n\nexport type GetProcessInstanceStatisticsByDefinitionErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetProcessInstanceStatisticsByDefinitionError = GetProcessInstanceStatisticsByDefinitionErrors[keyof GetProcessInstanceStatisticsByDefinitionErrors];\n\nexport type GetProcessInstanceStatisticsByDefinitionResponses = {\n /**\n * The process instance incident statistics grouped by process definition are successfully\n * returned.\n *\n */\n 200: IncidentProcessInstanceStatisticsByDefinitionQueryResult;\n};\n\nexport type GetProcessInstanceStatisticsByDefinitionResponse = GetProcessInstanceStatisticsByDefinitionResponses[keyof GetProcessInstanceStatisticsByDefinitionResponses];\n\nexport type GetProcessInstanceStatisticsByErrorData = {\n body?: IncidentProcessInstanceStatisticsByErrorQuery;\n path?: never;\n query?: never;\n url: '/incidents/statistics/process-instances-by-error';\n};\n\nexport type GetProcessInstanceStatisticsByErrorErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetProcessInstanceStatisticsByErrorError = GetProcessInstanceStatisticsByErrorErrors[keyof GetProcessInstanceStatisticsByErrorErrors];\n\nexport type GetProcessInstanceStatisticsByErrorResponses = {\n /**\n * The statistics about process instances with incident, grouped by error hash code are\n * successfully returned.\n *\n */\n 200: IncidentProcessInstanceStatisticsByErrorQueryResult;\n};\n\nexport type GetProcessInstanceStatisticsByErrorResponse = GetProcessInstanceStatisticsByErrorResponses[keyof GetProcessInstanceStatisticsByErrorResponses];\n\nexport type ActivateJobsData = {\n body: JobActivationRequest;\n path?: never;\n query?: never;\n url: '/jobs/activation';\n};\n\nexport type ActivateJobsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type ActivateJobsError = ActivateJobsErrors[keyof ActivateJobsErrors];\n\nexport type ActivateJobsResponses = {\n /**\n * The list of activated jobs.\n */\n 200: JobActivationResult;\n};\n\nexport type ActivateJobsResponse = ActivateJobsResponses[keyof ActivateJobsResponses];\n\nexport type SearchJobsData = {\n body?: JobSearchQuery;\n path?: never;\n query?: never;\n url: '/jobs/search';\n};\n\nexport type SearchJobsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchJobsError = SearchJobsErrors[keyof SearchJobsErrors];\n\nexport type SearchJobsResponses = {\n /**\n * The job search result.\n */\n 200: JobSearchQueryResult;\n};\n\nexport type SearchJobsResponse = SearchJobsResponses[keyof SearchJobsResponses];\n\nexport type UpdateJobData = {\n body: JobUpdateRequest;\n path: {\n /**\n * The key of the job to update.\n */\n jobKey: JobKey;\n };\n query?: never;\n url: '/jobs/{jobKey}';\n};\n\nexport type UpdateJobErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The job with the jobKey is not found.\n */\n 404: ProblemDetail;\n /**\n * The job with the given key is in the wrong state currently. More details are provided in the response body.\n *\n */\n 409: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type UpdateJobError = UpdateJobErrors[keyof UpdateJobErrors];\n\nexport type UpdateJobResponses = {\n /**\n * The job was updated successfully.\n */\n 204: void;\n};\n\nexport type UpdateJobResponse = UpdateJobResponses[keyof UpdateJobResponses];\n\nexport type CompleteJobData = {\n body?: JobCompletionRequest;\n path: {\n /**\n * The key of the job to complete.\n */\n jobKey: JobKey;\n };\n query?: never;\n url: '/jobs/{jobKey}/completion';\n};\n\nexport type CompleteJobErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The job with the given key was not found.\n */\n 404: ProblemDetail;\n /**\n * The job with the given key is in the wrong state currently. More details are provided in the response body.\n *\n */\n 409: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type CompleteJobError = CompleteJobErrors[keyof CompleteJobErrors];\n\nexport type CompleteJobResponses = {\n /**\n * The job was completed successfully.\n */\n 204: void;\n};\n\nexport type CompleteJobResponse = CompleteJobResponses[keyof CompleteJobResponses];\n\nexport type ThrowJobErrorData = {\n body: JobErrorRequest;\n path: {\n /**\n * The key of the job.\n */\n jobKey: JobKey;\n };\n query?: never;\n url: '/jobs/{jobKey}/error';\n};\n\nexport type ThrowJobErrorErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The job with the given key was not found or is not activated.\n *\n */\n 404: ProblemDetail;\n /**\n * The job with the given key is in the wrong state currently. More details are provided in the response body.\n *\n */\n 409: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type ThrowJobErrorError = ThrowJobErrorErrors[keyof ThrowJobErrorErrors];\n\nexport type ThrowJobErrorResponses = {\n /**\n * An error is thrown for the job.\n */\n 204: void;\n};\n\nexport type ThrowJobErrorResponse = ThrowJobErrorResponses[keyof ThrowJobErrorResponses];\n\nexport type FailJobData = {\n body?: JobFailRequest;\n path: {\n /**\n * The key of the job to fail.\n */\n jobKey: JobKey;\n };\n query?: never;\n url: '/jobs/{jobKey}/failure';\n};\n\nexport type FailJobErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The job with the given jobKey is not found. It was completed by another worker, or the process instance itself was canceled.\n *\n */\n 404: ProblemDetail;\n /**\n * The job with the given key is in the wrong state (i.e: not ACTIVATED or ACTIVATABLE). The job was failed by another worker with retries = 0, and the process is now in an incident state.\n *\n */\n 409: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type FailJobError = FailJobErrors[keyof FailJobErrors];\n\nexport type FailJobResponses = {\n /**\n * The job is failed.\n */\n 204: void;\n};\n\nexport type FailJobResponse = FailJobResponses[keyof FailJobResponses];\n\nexport type GetGlobalJobStatisticsData = {\n body?: never;\n path?: never;\n query: {\n /**\n * Start of the time window to filter metrics. ISO 8601 date-time format.\n *\n */\n from: string;\n /**\n * End of the time window to filter metrics. ISO 8601 date-time format.\n *\n */\n to: string;\n /**\n * Optional job type to limit the aggregation to a single job type.\n */\n jobType?: string;\n };\n url: '/jobs/statistics/global';\n};\n\nexport type GetGlobalJobStatisticsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetGlobalJobStatisticsError = GetGlobalJobStatisticsErrors[keyof GetGlobalJobStatisticsErrors];\n\nexport type GetGlobalJobStatisticsResponses = {\n /**\n * Global job metrics\n */\n 200: GlobalJobStatisticsQueryResult;\n};\n\nexport type GetGlobalJobStatisticsResponse = GetGlobalJobStatisticsResponses[keyof GetGlobalJobStatisticsResponses];\n\nexport type GetJobTypeStatisticsData = {\n body: JobTypeStatisticsQuery;\n path?: never;\n query?: never;\n url: '/jobs/statistics/by-types';\n};\n\nexport type GetJobTypeStatisticsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetJobTypeStatisticsError = GetJobTypeStatisticsErrors[keyof GetJobTypeStatisticsErrors];\n\nexport type GetJobTypeStatisticsResponses = {\n /**\n * The job type statistics result.\n */\n 200: JobTypeStatisticsQueryResult;\n};\n\nexport type GetJobTypeStatisticsResponse = GetJobTypeStatisticsResponses[keyof GetJobTypeStatisticsResponses];\n\nexport type GetJobWorkerStatisticsData = {\n body: JobWorkerStatisticsQuery;\n path?: never;\n query?: never;\n url: '/jobs/statistics/by-workers';\n};\n\nexport type GetJobWorkerStatisticsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetJobWorkerStatisticsError = GetJobWorkerStatisticsErrors[keyof GetJobWorkerStatisticsErrors];\n\nexport type GetJobWorkerStatisticsResponses = {\n /**\n * The job worker statistics result.\n */\n 200: JobWorkerStatisticsQueryResult;\n};\n\nexport type GetJobWorkerStatisticsResponse = GetJobWorkerStatisticsResponses[keyof GetJobWorkerStatisticsResponses];\n\nexport type GetJobTimeSeriesStatisticsData = {\n body: JobTimeSeriesStatisticsQuery;\n path?: never;\n query?: never;\n url: '/jobs/statistics/time-series';\n};\n\nexport type GetJobTimeSeriesStatisticsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetJobTimeSeriesStatisticsError = GetJobTimeSeriesStatisticsErrors[keyof GetJobTimeSeriesStatisticsErrors];\n\nexport type GetJobTimeSeriesStatisticsResponses = {\n /**\n * The job time-series statistics result.\n */\n 200: JobTimeSeriesStatisticsQueryResult;\n};\n\nexport type GetJobTimeSeriesStatisticsResponse = GetJobTimeSeriesStatisticsResponses[keyof GetJobTimeSeriesStatisticsResponses];\n\nexport type GetJobErrorStatisticsData = {\n body: JobErrorStatisticsQuery;\n path?: never;\n query?: never;\n url: '/jobs/statistics/errors';\n};\n\nexport type GetJobErrorStatisticsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetJobErrorStatisticsError = GetJobErrorStatisticsErrors[keyof GetJobErrorStatisticsErrors];\n\nexport type GetJobErrorStatisticsResponses = {\n /**\n * The job error statistics result.\n */\n 200: JobErrorStatisticsQueryResult;\n};\n\nexport type GetJobErrorStatisticsResponse = GetJobErrorStatisticsResponses[keyof GetJobErrorStatisticsResponses];\n\nexport type GetLicenseData = {\n body?: never;\n path?: never;\n query?: never;\n url: '/license';\n};\n\nexport type GetLicenseErrors = {\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetLicenseError = GetLicenseErrors[keyof GetLicenseErrors];\n\nexport type GetLicenseResponses = {\n /**\n * Obtains the current status of the Camunda license.\n */\n 200: LicenseResponse;\n};\n\nexport type GetLicenseResponse = GetLicenseResponses[keyof GetLicenseResponses];\n\nexport type CreateMappingRuleData = {\n body?: MappingRuleCreateRequest;\n path?: never;\n query?: never;\n url: '/mapping-rules';\n};\n\nexport type CreateMappingRuleErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request to create a mapping rule was denied.\n * More details are provided in the response body.\n *\n */\n 403: ProblemDetail;\n /**\n * The request to create a mapping rule was denied.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type CreateMappingRuleError = CreateMappingRuleErrors[keyof CreateMappingRuleErrors];\n\nexport type CreateMappingRuleResponses = {\n /**\n * The mapping rule was created successfully.\n */\n 201: MappingRuleCreateUpdateResult;\n};\n\nexport type CreateMappingRuleResponse = CreateMappingRuleResponses[keyof CreateMappingRuleResponses];\n\nexport type SearchMappingRuleData = {\n body?: MappingRuleSearchQueryRequest;\n path?: never;\n query?: never;\n url: '/mapping-rules/search';\n};\n\nexport type SearchMappingRuleErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchMappingRuleError = SearchMappingRuleErrors[keyof SearchMappingRuleErrors];\n\nexport type SearchMappingRuleResponses = {\n /**\n * The mapping rule search result.\n */\n 200: SearchQueryResponse & {\n /**\n * The matching mapping rules.\n */\n items: Array<MappingRuleResult>;\n };\n};\n\nexport type SearchMappingRuleResponse = SearchMappingRuleResponses[keyof SearchMappingRuleResponses];\n\nexport type DeleteMappingRuleData = {\n body?: never;\n path: {\n /**\n * The ID of the mapping rule to delete.\n */\n mappingRuleId: string;\n };\n query?: never;\n url: '/mapping-rules/{mappingRuleId}';\n};\n\nexport type DeleteMappingRuleErrors = {\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * The mapping rule with the mappingRuleId was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type DeleteMappingRuleError = DeleteMappingRuleErrors[keyof DeleteMappingRuleErrors];\n\nexport type DeleteMappingRuleResponses = {\n /**\n * The mapping rule was deleted successfully.\n */\n 204: void;\n};\n\nexport type DeleteMappingRuleResponse = DeleteMappingRuleResponses[keyof DeleteMappingRuleResponses];\n\nexport type GetMappingRuleData = {\n body?: never;\n path: {\n /**\n * The ID of the mapping rule to get.\n */\n mappingRuleId: string;\n };\n query?: never;\n url: '/mapping-rules/{mappingRuleId}';\n};\n\nexport type GetMappingRuleErrors = {\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * The mapping rule with the mappingRuleId was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetMappingRuleError = GetMappingRuleErrors[keyof GetMappingRuleErrors];\n\nexport type GetMappingRuleResponses = {\n /**\n * The mapping rule was returned successfully.\n */\n 200: MappingRuleResult;\n};\n\nexport type GetMappingRuleResponse = GetMappingRuleResponses[keyof GetMappingRuleResponses];\n\nexport type UpdateMappingRuleData = {\n body?: MappingRuleUpdateRequest;\n path: {\n /**\n * The ID of the mapping rule to update.\n */\n mappingRuleId: string;\n };\n query?: never;\n url: '/mapping-rules/{mappingRuleId}';\n};\n\nexport type UpdateMappingRuleErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request to update a mapping rule was denied.\n * More details are provided in the response body.\n *\n */\n 403: ProblemDetail;\n /**\n * The request to update a mapping rule was denied.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type UpdateMappingRuleError = UpdateMappingRuleErrors[keyof UpdateMappingRuleErrors];\n\nexport type UpdateMappingRuleResponses = {\n /**\n * The mapping rule was updated successfully.\n */\n 200: MappingRuleCreateUpdateResult;\n};\n\nexport type UpdateMappingRuleResponse = UpdateMappingRuleResponses[keyof UpdateMappingRuleResponses];\n\nexport type SearchMessageSubscriptionsData = {\n body?: MessageSubscriptionSearchQuery;\n path?: never;\n query?: never;\n url: '/message-subscriptions/search';\n};\n\nexport type SearchMessageSubscriptionsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchMessageSubscriptionsError = SearchMessageSubscriptionsErrors[keyof SearchMessageSubscriptionsErrors];\n\nexport type SearchMessageSubscriptionsResponses = {\n /**\n * The message subscription search result.\n */\n 200: MessageSubscriptionSearchQueryResult;\n};\n\nexport type SearchMessageSubscriptionsResponse = SearchMessageSubscriptionsResponses[keyof SearchMessageSubscriptionsResponses];\n\nexport type CorrelateMessageData = {\n body: MessageCorrelationRequest;\n path?: never;\n query?: never;\n url: '/messages/correlation';\n};\n\nexport type CorrelateMessageErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Not found\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type CorrelateMessageError = CorrelateMessageErrors[keyof CorrelateMessageErrors];\n\nexport type CorrelateMessageResponses = {\n /**\n * The message is correlated to one or more process instances\n */\n 200: MessageCorrelationResult;\n};\n\nexport type CorrelateMessageResponse = CorrelateMessageResponses[keyof CorrelateMessageResponses];\n\nexport type PublishMessageData = {\n body: MessagePublicationRequest;\n path?: never;\n query?: never;\n url: '/messages/publication';\n};\n\nexport type PublishMessageErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type PublishMessageError = PublishMessageErrors[keyof PublishMessageErrors];\n\nexport type PublishMessageResponses = {\n /**\n * The message was published.\n */\n 200: MessagePublicationResult;\n};\n\nexport type PublishMessageResponse = PublishMessageResponses[keyof PublishMessageResponses];\n\nexport type SearchProcessDefinitionsData = {\n body?: ProcessDefinitionSearchQuery;\n path?: never;\n query?: never;\n url: '/process-definitions/search';\n};\n\nexport type SearchProcessDefinitionsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchProcessDefinitionsError = SearchProcessDefinitionsErrors[keyof SearchProcessDefinitionsErrors];\n\nexport type SearchProcessDefinitionsResponses = {\n /**\n * The process definition search result.\n */\n 200: ProcessDefinitionSearchQueryResult;\n};\n\nexport type SearchProcessDefinitionsResponse = SearchProcessDefinitionsResponses[keyof SearchProcessDefinitionsResponses];\n\nexport type GetProcessDefinitionMessageSubscriptionStatisticsData = {\n body?: ProcessDefinitionMessageSubscriptionStatisticsQuery;\n path?: never;\n query?: never;\n url: '/process-definitions/statistics/message-subscriptions';\n};\n\nexport type GetProcessDefinitionMessageSubscriptionStatisticsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetProcessDefinitionMessageSubscriptionStatisticsError = GetProcessDefinitionMessageSubscriptionStatisticsErrors[keyof GetProcessDefinitionMessageSubscriptionStatisticsErrors];\n\nexport type GetProcessDefinitionMessageSubscriptionStatisticsResponses = {\n /**\n * The process definition message subscription statistics result.\n */\n 200: ProcessDefinitionMessageSubscriptionStatisticsQueryResult;\n};\n\nexport type GetProcessDefinitionMessageSubscriptionStatisticsResponse = GetProcessDefinitionMessageSubscriptionStatisticsResponses[keyof GetProcessDefinitionMessageSubscriptionStatisticsResponses];\n\nexport type GetProcessDefinitionInstanceStatisticsData = {\n body?: ProcessDefinitionInstanceStatisticsQuery;\n path?: never;\n query?: never;\n url: '/process-definitions/statistics/process-instances';\n};\n\nexport type GetProcessDefinitionInstanceStatisticsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetProcessDefinitionInstanceStatisticsError = GetProcessDefinitionInstanceStatisticsErrors[keyof GetProcessDefinitionInstanceStatisticsErrors];\n\nexport type GetProcessDefinitionInstanceStatisticsResponses = {\n /**\n * The process definition instance statistic result.\n */\n 200: ProcessDefinitionInstanceStatisticsQueryResult;\n};\n\nexport type GetProcessDefinitionInstanceStatisticsResponse = GetProcessDefinitionInstanceStatisticsResponses[keyof GetProcessDefinitionInstanceStatisticsResponses];\n\nexport type GetProcessDefinitionData = {\n body?: never;\n path: {\n /**\n * The assigned key of the process definition, which acts as a unique identifier for this process definition.\n *\n */\n processDefinitionKey: ProcessDefinitionKey;\n };\n query?: never;\n url: '/process-definitions/{processDefinitionKey}';\n};\n\nexport type GetProcessDefinitionErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The process definition with the given key was not found. More details are provided in the response body.\n *\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetProcessDefinitionError = GetProcessDefinitionErrors[keyof GetProcessDefinitionErrors];\n\nexport type GetProcessDefinitionResponses = {\n /**\n * The process definition is successfully returned.\n */\n 200: ProcessDefinitionResult;\n};\n\nexport type GetProcessDefinitionResponse = GetProcessDefinitionResponses[keyof GetProcessDefinitionResponses];\n\nexport type GetStartProcessFormData = {\n body?: never;\n path: {\n /**\n * The process key.\n */\n processDefinitionKey: ProcessDefinitionKey;\n };\n query?: never;\n url: '/process-definitions/{processDefinitionKey}/form';\n};\n\nexport type GetStartProcessFormErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Not found\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetStartProcessFormError = GetStartProcessFormErrors[keyof GetStartProcessFormErrors];\n\nexport type GetStartProcessFormResponses = {\n /**\n * The form is successfully returned.\n */\n 200: FormResult;\n /**\n * The process was found, but no form is associated with it.\n */\n 204: void;\n};\n\nexport type GetStartProcessFormResponse = GetStartProcessFormResponses[keyof GetStartProcessFormResponses];\n\nexport type GetProcessDefinitionStatisticsData = {\n body?: ProcessDefinitionElementStatisticsQuery;\n path: {\n /**\n * The assigned key of the process definition, which acts as a unique identifier for this process definition.\n */\n processDefinitionKey: ProcessDefinitionKey;\n };\n query?: never;\n url: '/process-definitions/{processDefinitionKey}/statistics/element-instances';\n};\n\nexport type GetProcessDefinitionStatisticsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetProcessDefinitionStatisticsError = GetProcessDefinitionStatisticsErrors[keyof GetProcessDefinitionStatisticsErrors];\n\nexport type GetProcessDefinitionStatisticsResponses = {\n /**\n * The process definition statistics result.\n */\n 200: ProcessDefinitionElementStatisticsQueryResult;\n};\n\nexport type GetProcessDefinitionStatisticsResponse = GetProcessDefinitionStatisticsResponses[keyof GetProcessDefinitionStatisticsResponses];\n\nexport type GetProcessDefinitionXmlData = {\n body?: never;\n path: {\n /**\n * The assigned key of the process definition, which acts as a unique identifier for this process definition.\n *\n */\n processDefinitionKey: ProcessDefinitionKey;\n };\n query?: never;\n url: '/process-definitions/{processDefinitionKey}/xml';\n};\n\nexport type GetProcessDefinitionXmlErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The process definition with the given key was not found.\n * More details are provided in the response body.\n *\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetProcessDefinitionXmlError = GetProcessDefinitionXmlErrors[keyof GetProcessDefinitionXmlErrors];\n\nexport type GetProcessDefinitionXmlResponses = {\n /**\n * The XML of the process definition is successfully returned.\n */\n 200: string;\n /**\n * The process definition was found but does not have XML.\n */\n 204: string;\n};\n\nexport type GetProcessDefinitionXmlResponse = GetProcessDefinitionXmlResponses[keyof GetProcessDefinitionXmlResponses];\n\nexport type GetProcessDefinitionInstanceVersionStatisticsData = {\n body: ProcessDefinitionInstanceVersionStatisticsQuery;\n path?: never;\n query?: never;\n url: '/process-definitions/statistics/process-instances-by-version';\n};\n\nexport type GetProcessDefinitionInstanceVersionStatisticsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetProcessDefinitionInstanceVersionStatisticsError = GetProcessDefinitionInstanceVersionStatisticsErrors[keyof GetProcessDefinitionInstanceVersionStatisticsErrors];\n\nexport type GetProcessDefinitionInstanceVersionStatisticsResponses = {\n /**\n * The process definition instance version statistic result.\n */\n 200: ProcessDefinitionInstanceVersionStatisticsQueryResult;\n};\n\nexport type GetProcessDefinitionInstanceVersionStatisticsResponse = GetProcessDefinitionInstanceVersionStatisticsResponses[keyof GetProcessDefinitionInstanceVersionStatisticsResponses];\n\nexport type CreateProcessInstanceData = {\n body: ProcessInstanceCreationInstruction;\n path?: never;\n query?: never;\n url: '/process-instances';\n};\n\nexport type CreateProcessInstanceErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The process instance creation was rejected due to a business ID uniqueness conflict.\n * This can happen only when Business ID Uniqueness Control is enabled and an\n * active root process instance with the provided business ID already exists\n * for the same process definition and tenant.\n *\n */\n 409: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n /**\n * The process instance creation request timed out in the gateway.\n * This can happen if the `awaitCompletion` request parameter is set to `true`\n * and the created process instance did not complete within the defined request timeout.\n * This often happens when the created instance is not fully automated or contains wait states.\n *\n */\n 504: ProblemDetail;\n};\n\nexport type CreateProcessInstanceError = CreateProcessInstanceErrors[keyof CreateProcessInstanceErrors];\n\nexport type CreateProcessInstanceResponses = {\n /**\n * The process instance was created.\n */\n 200: CreateProcessInstanceResult;\n};\n\nexport type CreateProcessInstanceResponse = CreateProcessInstanceResponses[keyof CreateProcessInstanceResponses];\n\nexport type CancelProcessInstancesBatchOperationData = {\n body: ProcessInstanceCancellationBatchOperationRequest;\n path?: never;\n query?: never;\n url: '/process-instances/cancellation';\n};\n\nexport type CancelProcessInstancesBatchOperationErrors = {\n /**\n * The process instance batch operation failed. More details are provided in the response body.\n *\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type CancelProcessInstancesBatchOperationError = CancelProcessInstancesBatchOperationErrors[keyof CancelProcessInstancesBatchOperationErrors];\n\nexport type CancelProcessInstancesBatchOperationResponses = {\n /**\n * The batch operation request was created.\n */\n 200: BatchOperationCreatedResult;\n};\n\nexport type CancelProcessInstancesBatchOperationResponse = CancelProcessInstancesBatchOperationResponses[keyof CancelProcessInstancesBatchOperationResponses];\n\nexport type DeleteProcessInstancesBatchOperationData = {\n body: ProcessInstanceDeletionBatchOperationRequest;\n path?: never;\n query?: never;\n url: '/process-instances/deletion';\n};\n\nexport type DeleteProcessInstancesBatchOperationErrors = {\n /**\n * The process instance batch operation failed. More details are provided in the response body.\n *\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type DeleteProcessInstancesBatchOperationError = DeleteProcessInstancesBatchOperationErrors[keyof DeleteProcessInstancesBatchOperationErrors];\n\nexport type DeleteProcessInstancesBatchOperationResponses = {\n /**\n * The batch operation request was created.\n */\n 200: BatchOperationCreatedResult;\n};\n\nexport type DeleteProcessInstancesBatchOperationResponse = DeleteProcessInstancesBatchOperationResponses[keyof DeleteProcessInstancesBatchOperationResponses];\n\nexport type ResolveIncidentsBatchOperationData = {\n body?: ProcessInstanceIncidentResolutionBatchOperationRequest;\n path?: never;\n query?: never;\n url: '/process-instances/incident-resolution';\n};\n\nexport type ResolveIncidentsBatchOperationErrors = {\n /**\n * The process instance batch operation failed. More details are provided in the response body.\n *\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type ResolveIncidentsBatchOperationError = ResolveIncidentsBatchOperationErrors[keyof ResolveIncidentsBatchOperationErrors];\n\nexport type ResolveIncidentsBatchOperationResponses = {\n /**\n * The batch operation request was created.\n */\n 200: BatchOperationCreatedResult;\n};\n\nexport type ResolveIncidentsBatchOperationResponse = ResolveIncidentsBatchOperationResponses[keyof ResolveIncidentsBatchOperationResponses];\n\nexport type MigrateProcessInstancesBatchOperationData = {\n body: ProcessInstanceMigrationBatchOperationRequest;\n path?: never;\n query?: never;\n url: '/process-instances/migration';\n};\n\nexport type MigrateProcessInstancesBatchOperationErrors = {\n /**\n * The process instance batch operation failed. More details are provided in the response body.\n *\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type MigrateProcessInstancesBatchOperationError = MigrateProcessInstancesBatchOperationErrors[keyof MigrateProcessInstancesBatchOperationErrors];\n\nexport type MigrateProcessInstancesBatchOperationResponses = {\n /**\n * The batch operation request was created.\n */\n 200: BatchOperationCreatedResult;\n};\n\nexport type MigrateProcessInstancesBatchOperationResponse = MigrateProcessInstancesBatchOperationResponses[keyof MigrateProcessInstancesBatchOperationResponses];\n\nexport type ModifyProcessInstancesBatchOperationData = {\n body: ProcessInstanceModificationBatchOperationRequest;\n path?: never;\n query?: never;\n url: '/process-instances/modification';\n};\n\nexport type ModifyProcessInstancesBatchOperationErrors = {\n /**\n * The process instance batch operation failed. More details are provided in the response body.\n *\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type ModifyProcessInstancesBatchOperationError = ModifyProcessInstancesBatchOperationErrors[keyof ModifyProcessInstancesBatchOperationErrors];\n\nexport type ModifyProcessInstancesBatchOperationResponses = {\n /**\n * The batch operation request was created.\n */\n 200: BatchOperationCreatedResult;\n};\n\nexport type ModifyProcessInstancesBatchOperationResponse = ModifyProcessInstancesBatchOperationResponses[keyof ModifyProcessInstancesBatchOperationResponses];\n\nexport type SearchProcessInstancesData = {\n body?: ProcessInstanceSearchQuery;\n path?: never;\n query?: never;\n url: '/process-instances/search';\n};\n\nexport type SearchProcessInstancesErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchProcessInstancesError = SearchProcessInstancesErrors[keyof SearchProcessInstancesErrors];\n\nexport type SearchProcessInstancesResponses = {\n /**\n * The process instance search result.\n */\n 200: ProcessInstanceSearchQueryResult;\n};\n\nexport type SearchProcessInstancesResponse = SearchProcessInstancesResponses[keyof SearchProcessInstancesResponses];\n\nexport type GetProcessInstanceData = {\n body?: never;\n path: {\n /**\n * The process instance key.\n */\n processInstanceKey: ProcessInstanceKey;\n };\n query?: never;\n url: '/process-instances/{processInstanceKey}';\n};\n\nexport type GetProcessInstanceErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The process instance with the given key was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetProcessInstanceError = GetProcessInstanceErrors[keyof GetProcessInstanceErrors];\n\nexport type GetProcessInstanceResponses = {\n /**\n * The process instance is successfully returned.\n */\n 200: ProcessInstanceResult;\n};\n\nexport type GetProcessInstanceResponse = GetProcessInstanceResponses[keyof GetProcessInstanceResponses];\n\nexport type GetProcessInstanceCallHierarchyData = {\n body?: never;\n path: {\n /**\n * The key of the process instance to fetch the hierarchy for.\n */\n processInstanceKey: ProcessInstanceKey;\n };\n query?: never;\n url: '/process-instances/{processInstanceKey}/call-hierarchy';\n};\n\nexport type GetProcessInstanceCallHierarchyErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The process instance is not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetProcessInstanceCallHierarchyError = GetProcessInstanceCallHierarchyErrors[keyof GetProcessInstanceCallHierarchyErrors];\n\nexport type GetProcessInstanceCallHierarchyResponses = {\n /**\n * The call hierarchy is successfully returned.\n */\n 200: Array<ProcessInstanceCallHierarchyEntry>;\n};\n\nexport type GetProcessInstanceCallHierarchyResponse = GetProcessInstanceCallHierarchyResponses[keyof GetProcessInstanceCallHierarchyResponses];\n\nexport type CancelProcessInstanceData = {\n body?: {\n operationReference?: OperationReference;\n } | null;\n path: {\n /**\n * The key of the process instance to cancel.\n */\n processInstanceKey: ProcessInstanceKey;\n };\n query?: never;\n url: '/process-instances/{processInstanceKey}/cancellation';\n};\n\nexport type CancelProcessInstanceErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The process instance is not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n /**\n * The request timed out between the gateway and the broker. For these endpoints, this often happens when user task listeners are configured and the corresponding listener job is not completed within the request timeout. Common causes include no available job workers for the listener type, busy or crashed job workers, or delayed job completion. As with any gateway timeout, general timeout causes (for example transient network issues) can also result in a 504 response.\n * Troubleshooting: - verify that job workers for the listener type are running and healthy - check worker logs for crashes, retries, and completion failures - check network connectivity between workers, gateway, and broker - retry with backoff after transient failures - fail without retries if a problem persists\n *\n */\n 504: ProblemDetail;\n};\n\nexport type CancelProcessInstanceError = CancelProcessInstanceErrors[keyof CancelProcessInstanceErrors];\n\nexport type CancelProcessInstanceResponses = {\n /**\n * The process instance is canceled.\n */\n 204: void;\n};\n\nexport type CancelProcessInstanceResponse = CancelProcessInstanceResponses[keyof CancelProcessInstanceResponses];\n\nexport type DeleteProcessInstanceData = {\n body?: {\n operationReference?: OperationReference;\n } | null;\n path: {\n /**\n * The key of the process instance to delete.\n */\n processInstanceKey: ProcessInstanceKey;\n };\n query?: never;\n url: '/process-instances/{processInstanceKey}/deletion';\n};\n\nexport type DeleteProcessInstanceErrors = {\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The process instance is not found.\n */\n 404: ProblemDetail;\n /**\n * The process instance is not in a completed or terminated state and cannot be deleted.\n */\n 409: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type DeleteProcessInstanceError = DeleteProcessInstanceErrors[keyof DeleteProcessInstanceErrors];\n\nexport type DeleteProcessInstanceResponses = {\n /**\n * The process instance is marked for deletion.\n */\n 204: void;\n};\n\nexport type DeleteProcessInstanceResponse = DeleteProcessInstanceResponses[keyof DeleteProcessInstanceResponses];\n\nexport type ResolveProcessInstanceIncidentsData = {\n body?: never;\n path: {\n /**\n * The key of the process instance to resolve incidents for.\n */\n processInstanceKey: ProcessInstanceKey;\n };\n query?: never;\n url: '/process-instances/{processInstanceKey}/incident-resolution';\n};\n\nexport type ResolveProcessInstanceIncidentsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * The process instance is not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type ResolveProcessInstanceIncidentsError = ResolveProcessInstanceIncidentsErrors[keyof ResolveProcessInstanceIncidentsErrors];\n\nexport type ResolveProcessInstanceIncidentsResponses = {\n /**\n * The batch operation request for incident resolution was created.\n */\n 200: BatchOperationCreatedResult;\n};\n\nexport type ResolveProcessInstanceIncidentsResponse = ResolveProcessInstanceIncidentsResponses[keyof ResolveProcessInstanceIncidentsResponses];\n\nexport type SearchProcessInstanceIncidentsData = {\n body?: IncidentSearchQuery;\n path: {\n /**\n * The assigned key of the process instance, which acts as a unique identifier for this process instance.\n */\n processInstanceKey: ProcessInstanceKey;\n };\n query?: never;\n url: '/process-instances/{processInstanceKey}/incidents/search';\n};\n\nexport type SearchProcessInstanceIncidentsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The process instance with the given key was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchProcessInstanceIncidentsError = SearchProcessInstanceIncidentsErrors[keyof SearchProcessInstanceIncidentsErrors];\n\nexport type SearchProcessInstanceIncidentsResponses = {\n /**\n * The process instance search result.\n */\n 200: IncidentSearchQueryResult;\n};\n\nexport type SearchProcessInstanceIncidentsResponse = SearchProcessInstanceIncidentsResponses[keyof SearchProcessInstanceIncidentsResponses];\n\nexport type MigrateProcessInstanceData = {\n body: ProcessInstanceMigrationInstruction;\n path: {\n /**\n * The key of the process instance that should be migrated.\n */\n processInstanceKey: ProcessInstanceKey;\n };\n query?: never;\n url: '/process-instances/{processInstanceKey}/migration';\n};\n\nexport type MigrateProcessInstanceErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The process instance is not found.\n */\n 404: ProblemDetail;\n /**\n * The process instance migration failed. More details are provided in the response body.\n *\n */\n 409: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type MigrateProcessInstanceError = MigrateProcessInstanceErrors[keyof MigrateProcessInstanceErrors];\n\nexport type MigrateProcessInstanceResponses = {\n /**\n * The process instance is migrated.\n */\n 204: void;\n};\n\nexport type MigrateProcessInstanceResponse = MigrateProcessInstanceResponses[keyof MigrateProcessInstanceResponses];\n\nexport type ModifyProcessInstanceData = {\n body: ProcessInstanceModificationInstruction;\n path: {\n /**\n * The key of the process instance that should be modified.\n */\n processInstanceKey: ProcessInstanceKey;\n };\n query?: never;\n url: '/process-instances/{processInstanceKey}/modification';\n};\n\nexport type ModifyProcessInstanceErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The process instance is not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type ModifyProcessInstanceError = ModifyProcessInstanceErrors[keyof ModifyProcessInstanceErrors];\n\nexport type ModifyProcessInstanceResponses = {\n /**\n * The process instance is modified.\n */\n 204: void;\n};\n\nexport type ModifyProcessInstanceResponse = ModifyProcessInstanceResponses[keyof ModifyProcessInstanceResponses];\n\nexport type GetProcessInstanceSequenceFlowsData = {\n body?: never;\n path: {\n /**\n * The assigned key of the process instance, which acts as a unique identifier for this process instance.\n */\n processInstanceKey: ProcessInstanceKey;\n };\n query?: never;\n url: '/process-instances/{processInstanceKey}/sequence-flows';\n};\n\nexport type GetProcessInstanceSequenceFlowsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetProcessInstanceSequenceFlowsError = GetProcessInstanceSequenceFlowsErrors[keyof GetProcessInstanceSequenceFlowsErrors];\n\nexport type GetProcessInstanceSequenceFlowsResponses = {\n /**\n * The process instance sequence flows result.\n */\n 200: ProcessInstanceSequenceFlowsQueryResult;\n};\n\nexport type GetProcessInstanceSequenceFlowsResponse = GetProcessInstanceSequenceFlowsResponses[keyof GetProcessInstanceSequenceFlowsResponses];\n\nexport type GetProcessInstanceStatisticsData = {\n body?: never;\n path: {\n /**\n * The assigned key of the process instance, which acts as a unique identifier for this process instance.\n */\n processInstanceKey: ProcessInstanceKey;\n };\n query?: never;\n url: '/process-instances/{processInstanceKey}/statistics/element-instances';\n};\n\nexport type GetProcessInstanceStatisticsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetProcessInstanceStatisticsError = GetProcessInstanceStatisticsErrors[keyof GetProcessInstanceStatisticsErrors];\n\nexport type GetProcessInstanceStatisticsResponses = {\n /**\n * The process instance statistics result.\n */\n 200: ProcessInstanceElementStatisticsQueryResult;\n};\n\nexport type GetProcessInstanceStatisticsResponse = GetProcessInstanceStatisticsResponses[keyof GetProcessInstanceStatisticsResponses];\n\nexport type GetResourceData = {\n body?: never;\n path: {\n /**\n * The unique key identifying the resource.\n */\n resourceKey: ResourceKey;\n };\n query?: never;\n url: '/resources/{resourceKey}';\n};\n\nexport type GetResourceErrors = {\n /**\n * A resource with the given key was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetResourceError = GetResourceErrors[keyof GetResourceErrors];\n\nexport type GetResourceResponses = {\n /**\n * The resource is successfully returned.\n */\n 200: ResourceResult;\n};\n\nexport type GetResourceResponse = GetResourceResponses[keyof GetResourceResponses];\n\nexport type GetResourceContentData = {\n body?: never;\n path: {\n /**\n * The unique key identifying the resource.\n */\n resourceKey: ResourceKey;\n };\n query?: never;\n url: '/resources/{resourceKey}/content';\n};\n\nexport type GetResourceContentErrors = {\n /**\n * A resource with the given key was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetResourceContentError = GetResourceContentErrors[keyof GetResourceContentErrors];\n\nexport type GetResourceContentResponses = {\n /**\n * The resource content is successfully returned.\n */\n 200: string;\n};\n\nexport type GetResourceContentResponse = GetResourceContentResponses[keyof GetResourceContentResponses];\n\nexport type DeleteResourceData = {\n body?: DeleteResourceRequest;\n path: {\n /**\n * The key of the resource to delete.\n * This can be the key of a process definition, the key of a decision requirements\n * definition or the key of a form definition\n *\n */\n resourceKey: ResourceKey;\n };\n query?: never;\n url: '/resources/{resourceKey}/deletion';\n};\n\nexport type DeleteResourceErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The resource is not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type DeleteResourceError = DeleteResourceErrors[keyof DeleteResourceErrors];\n\nexport type DeleteResourceResponses = {\n /**\n * The resource is deleted.\n */\n 200: DeleteResourceResponse;\n};\n\nexport type DeleteResourceResponse2 = DeleteResourceResponses[keyof DeleteResourceResponses];\n\nexport type CreateRoleData = {\n body?: RoleCreateRequest;\n path?: never;\n query?: never;\n url: '/roles';\n};\n\nexport type CreateRoleErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type CreateRoleError = CreateRoleErrors[keyof CreateRoleErrors];\n\nexport type CreateRoleResponses = {\n /**\n * The role was created successfully.\n */\n 201: RoleCreateResult;\n};\n\nexport type CreateRoleResponse = CreateRoleResponses[keyof CreateRoleResponses];\n\nexport type SearchRolesData = {\n body?: RoleSearchQueryRequest;\n path?: never;\n query?: never;\n url: '/roles/search';\n};\n\nexport type SearchRolesErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchRolesError = SearchRolesErrors[keyof SearchRolesErrors];\n\nexport type SearchRolesResponses = {\n /**\n * The roles search result.\n */\n 200: RoleSearchQueryResult;\n};\n\nexport type SearchRolesResponse = SearchRolesResponses[keyof SearchRolesResponses];\n\nexport type DeleteRoleData = {\n body?: never;\n path: {\n /**\n * The role ID.\n */\n roleId: string;\n };\n query?: never;\n url: '/roles/{roleId}';\n};\n\nexport type DeleteRoleErrors = {\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * The role with the ID was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type DeleteRoleError = DeleteRoleErrors[keyof DeleteRoleErrors];\n\nexport type DeleteRoleResponses = {\n /**\n * The role was deleted successfully.\n */\n 204: void;\n};\n\nexport type DeleteRoleResponse = DeleteRoleResponses[keyof DeleteRoleResponses];\n\nexport type GetRoleData = {\n body?: never;\n path: {\n /**\n * The role ID.\n */\n roleId: string;\n };\n query?: never;\n url: '/roles/{roleId}';\n};\n\nexport type GetRoleErrors = {\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The role with the given ID was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetRoleError = GetRoleErrors[keyof GetRoleErrors];\n\nexport type GetRoleResponses = {\n /**\n * The role is successfully returned.\n */\n 200: RoleResult;\n};\n\nexport type GetRoleResponse = GetRoleResponses[keyof GetRoleResponses];\n\nexport type UpdateRoleData = {\n body: RoleUpdateRequest;\n path: {\n /**\n * The role ID.\n */\n roleId: string;\n };\n query?: never;\n url: '/roles/{roleId}';\n};\n\nexport type UpdateRoleErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * The role with the ID is not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type UpdateRoleError = UpdateRoleErrors[keyof UpdateRoleErrors];\n\nexport type UpdateRoleResponses = {\n /**\n * The role was updated successfully.\n */\n 200: RoleUpdateResult;\n};\n\nexport type UpdateRoleResponse = UpdateRoleResponses[keyof UpdateRoleResponses];\n\nexport type SearchClientsForRoleData = {\n body?: SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<{\n /**\n * The field to sort by.\n */\n field: 'clientId';\n order?: SortOrderEnum;\n }>;\n };\n path: {\n /**\n * The role ID.\n */\n roleId: string;\n };\n query?: never;\n url: '/roles/{roleId}/clients/search';\n};\n\nexport type SearchClientsForRoleErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The role with the given ID was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchClientsForRoleError = SearchClientsForRoleErrors[keyof SearchClientsForRoleErrors];\n\nexport type SearchClientsForRoleResponses = {\n /**\n * The clients with the assigned role.\n */\n 200: SearchQueryResponse & {\n /**\n * The matching clients.\n */\n items: Array<{\n /**\n * The ID of the client.\n */\n clientId: string;\n }>;\n };\n};\n\nexport type SearchClientsForRoleResponse = SearchClientsForRoleResponses[keyof SearchClientsForRoleResponses];\n\nexport type UnassignRoleFromClientData = {\n body?: never;\n path: {\n /**\n * The role ID.\n */\n roleId: string;\n /**\n * The client ID.\n */\n clientId: string;\n };\n query?: never;\n url: '/roles/{roleId}/clients/{clientId}';\n};\n\nexport type UnassignRoleFromClientErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The role or client with the given ID or username was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type UnassignRoleFromClientError = UnassignRoleFromClientErrors[keyof UnassignRoleFromClientErrors];\n\nexport type UnassignRoleFromClientResponses = {\n /**\n * The role was unassigned successfully from the client.\n */\n 204: void;\n};\n\nexport type UnassignRoleFromClientResponse = UnassignRoleFromClientResponses[keyof UnassignRoleFromClientResponses];\n\nexport type AssignRoleToClientData = {\n body?: never;\n path: {\n /**\n * The role ID.\n */\n roleId: string;\n /**\n * The client ID.\n */\n clientId: string;\n };\n query?: never;\n url: '/roles/{roleId}/clients/{clientId}';\n};\n\nexport type AssignRoleToClientErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The role with the given ID was not found.\n */\n 404: ProblemDetail;\n /**\n * The role was already assigned to the client with the given ID.\n */\n 409: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type AssignRoleToClientError = AssignRoleToClientErrors[keyof AssignRoleToClientErrors];\n\nexport type AssignRoleToClientResponses = {\n /**\n * The role was assigned successfully to the client.\n */\n 204: void;\n};\n\nexport type AssignRoleToClientResponse = AssignRoleToClientResponses[keyof AssignRoleToClientResponses];\n\nexport type SearchGroupsForRoleData = {\n body?: RoleGroupSearchQueryRequest;\n path: {\n /**\n * The role ID.\n */\n roleId: string;\n };\n query?: never;\n url: '/roles/{roleId}/groups/search';\n};\n\nexport type SearchGroupsForRoleErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The role with the given ID was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchGroupsForRoleError = SearchGroupsForRoleErrors[keyof SearchGroupsForRoleErrors];\n\nexport type SearchGroupsForRoleResponses = {\n /**\n * The groups with assigned role.\n */\n 200: RoleGroupSearchResult;\n};\n\nexport type SearchGroupsForRoleResponse = SearchGroupsForRoleResponses[keyof SearchGroupsForRoleResponses];\n\nexport type UnassignRoleFromGroupData = {\n body?: never;\n path: {\n /**\n * The role ID.\n */\n roleId: string;\n /**\n * The group ID.\n */\n groupId: string;\n };\n query?: never;\n url: '/roles/{roleId}/groups/{groupId}';\n};\n\nexport type UnassignRoleFromGroupErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The role or group with the given ID was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type UnassignRoleFromGroupError = UnassignRoleFromGroupErrors[keyof UnassignRoleFromGroupErrors];\n\nexport type UnassignRoleFromGroupResponses = {\n /**\n * The role was unassigned successfully from the group.\n */\n 204: void;\n};\n\nexport type UnassignRoleFromGroupResponse = UnassignRoleFromGroupResponses[keyof UnassignRoleFromGroupResponses];\n\nexport type AssignRoleToGroupData = {\n body?: never;\n path: {\n /**\n * The role ID.\n */\n roleId: string;\n /**\n * The group ID.\n */\n groupId: string;\n };\n query?: never;\n url: '/roles/{roleId}/groups/{groupId}';\n};\n\nexport type AssignRoleToGroupErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The role or group with the given ID was not found.\n */\n 404: ProblemDetail;\n /**\n * The role is already assigned to the group with the given ID.\n */\n 409: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type AssignRoleToGroupError = AssignRoleToGroupErrors[keyof AssignRoleToGroupErrors];\n\nexport type AssignRoleToGroupResponses = {\n /**\n * The role was assigned successfully to the group.\n */\n 204: void;\n};\n\nexport type AssignRoleToGroupResponse = AssignRoleToGroupResponses[keyof AssignRoleToGroupResponses];\n\nexport type SearchMappingRulesForRoleData = {\n body?: MappingRuleSearchQueryRequest;\n path: {\n /**\n * The role ID.\n */\n roleId: string;\n };\n query?: never;\n url: '/roles/{roleId}/mapping-rules/search';\n};\n\nexport type SearchMappingRulesForRoleErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The role with the given ID was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchMappingRulesForRoleError = SearchMappingRulesForRoleErrors[keyof SearchMappingRulesForRoleErrors];\n\nexport type SearchMappingRulesForRoleResponses = {\n /**\n * The mapping rules with assigned role.\n */\n 200: SearchQueryResponse & {\n /**\n * The matching mapping rules.\n */\n items: Array<MappingRuleResult>;\n };\n};\n\nexport type SearchMappingRulesForRoleResponse = SearchMappingRulesForRoleResponses[keyof SearchMappingRulesForRoleResponses];\n\nexport type UnassignRoleFromMappingRuleData = {\n body?: never;\n path: {\n /**\n * The role ID.\n */\n roleId: string;\n /**\n * The mapping rule ID.\n */\n mappingRuleId: string;\n };\n query?: never;\n url: '/roles/{roleId}/mapping-rules/{mappingRuleId}';\n};\n\nexport type UnassignRoleFromMappingRuleErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The role or mapping rule with the given ID was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type UnassignRoleFromMappingRuleError = UnassignRoleFromMappingRuleErrors[keyof UnassignRoleFromMappingRuleErrors];\n\nexport type UnassignRoleFromMappingRuleResponses = {\n /**\n * The role was unassigned successfully from the mapping rule.\n */\n 204: void;\n};\n\nexport type UnassignRoleFromMappingRuleResponse = UnassignRoleFromMappingRuleResponses[keyof UnassignRoleFromMappingRuleResponses];\n\nexport type AssignRoleToMappingRuleData = {\n body?: never;\n path: {\n /**\n * The role ID.\n */\n roleId: string;\n /**\n * The mapping rule ID.\n */\n mappingRuleId: string;\n };\n query?: never;\n url: '/roles/{roleId}/mapping-rules/{mappingRuleId}';\n};\n\nexport type AssignRoleToMappingRuleErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The role or mapping rule with the given ID was not found.\n */\n 404: ProblemDetail;\n /**\n * The role is already assigned to the mapping rule with the given ID.\n */\n 409: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type AssignRoleToMappingRuleError = AssignRoleToMappingRuleErrors[keyof AssignRoleToMappingRuleErrors];\n\nexport type AssignRoleToMappingRuleResponses = {\n /**\n * The role was assigned successfully to the mapping rule.\n */\n 204: void;\n};\n\nexport type AssignRoleToMappingRuleResponse = AssignRoleToMappingRuleResponses[keyof AssignRoleToMappingRuleResponses];\n\nexport type SearchUsersForRoleData = {\n body?: SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<{\n /**\n * The field to sort by.\n */\n field: 'username';\n order?: SortOrderEnum;\n }>;\n };\n path: {\n /**\n * The role ID.\n */\n roleId: string;\n };\n query?: never;\n url: '/roles/{roleId}/users/search';\n};\n\nexport type SearchUsersForRoleErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The role with the given ID was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchUsersForRoleError = SearchUsersForRoleErrors[keyof SearchUsersForRoleErrors];\n\nexport type SearchUsersForRoleResponses = {\n /**\n * The users with the assigned role.\n */\n 200: SearchQueryResponse & {\n /**\n * The matching users.\n */\n items: Array<{\n username: Username;\n }>;\n };\n};\n\nexport type SearchUsersForRoleResponse = SearchUsersForRoleResponses[keyof SearchUsersForRoleResponses];\n\nexport type UnassignRoleFromUserData = {\n body?: never;\n path: {\n /**\n * The role ID.\n */\n roleId: string;\n /**\n * The user username.\n */\n username: Username;\n };\n query?: never;\n url: '/roles/{roleId}/users/{username}';\n};\n\nexport type UnassignRoleFromUserErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The role or user with the given ID or username was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type UnassignRoleFromUserError = UnassignRoleFromUserErrors[keyof UnassignRoleFromUserErrors];\n\nexport type UnassignRoleFromUserResponses = {\n /**\n * The role was unassigned successfully from the user.\n */\n 204: void;\n};\n\nexport type UnassignRoleFromUserResponse = UnassignRoleFromUserResponses[keyof UnassignRoleFromUserResponses];\n\nexport type AssignRoleToUserData = {\n body?: never;\n path: {\n /**\n * The role ID.\n */\n roleId: string;\n /**\n * The user username.\n */\n username: Username;\n };\n query?: never;\n url: '/roles/{roleId}/users/{username}';\n};\n\nexport type AssignRoleToUserErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The role or user with the given ID or username was not found.\n */\n 404: ProblemDetail;\n /**\n * The role is already assigned to the user with the given ID.\n */\n 409: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type AssignRoleToUserError = AssignRoleToUserErrors[keyof AssignRoleToUserErrors];\n\nexport type AssignRoleToUserResponses = {\n /**\n * The role was assigned successfully to the user.\n */\n 204: void;\n};\n\nexport type AssignRoleToUserResponse = AssignRoleToUserResponses[keyof AssignRoleToUserResponses];\n\nexport type CreateAdminUserData = {\n body: UserRequest;\n path?: never;\n query?: never;\n url: '/setup/user';\n};\n\nexport type CreateAdminUserErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type CreateAdminUserError = CreateAdminUserErrors[keyof CreateAdminUserErrors];\n\nexport type CreateAdminUserResponses = {\n /**\n * The admin user was created successfully.\n */\n 201: UserCreateResult;\n};\n\nexport type CreateAdminUserResponse = CreateAdminUserResponses[keyof CreateAdminUserResponses];\n\nexport type BroadcastSignalData = {\n body: SignalBroadcastRequest;\n path?: never;\n query?: never;\n url: '/signals/broadcast';\n};\n\nexport type BroadcastSignalErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The signal is not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type BroadcastSignalError = BroadcastSignalErrors[keyof BroadcastSignalErrors];\n\nexport type BroadcastSignalResponses = {\n /**\n * The signal was broadcast.\n */\n 200: SignalBroadcastResult;\n};\n\nexport type BroadcastSignalResponse = BroadcastSignalResponses[keyof BroadcastSignalResponses];\n\nexport type GetStatusData = {\n body?: never;\n path?: never;\n query?: never;\n url: '/status';\n};\n\nexport type GetStatusErrors = {\n /**\n * The cluster is DOWN and does not have any partition with a healthy leader.\n */\n 503: unknown;\n};\n\nexport type GetStatusResponses = {\n /**\n * The cluster is UP and has at least one partition with a healthy leader.\n */\n 204: void;\n};\n\nexport type GetStatusResponse = GetStatusResponses[keyof GetStatusResponses];\n\nexport type GetUsageMetricsData = {\n body?: never;\n path?: never;\n query: {\n /**\n * The start date for usage metrics, including this date. Value in ISO 8601 format.\n */\n startTime: string;\n /**\n * The end date for usage metrics, including this date. Value in ISO 8601 format.\n */\n endTime: string;\n /**\n * Restrict results to a specific tenant ID. If not provided, results for all tenants are returned.\n */\n tenantId?: TenantId;\n /**\n * Whether to return tenant metrics in addition to the total metrics or not. Default false.\n */\n withTenants?: boolean;\n };\n url: '/system/usage-metrics';\n};\n\nexport type GetUsageMetricsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetUsageMetricsError = GetUsageMetricsErrors[keyof GetUsageMetricsErrors];\n\nexport type GetUsageMetricsResponses = {\n /**\n * The usage metrics search result.\n */\n 200: UsageMetricsResponse;\n};\n\nexport type GetUsageMetricsResponse = GetUsageMetricsResponses[keyof GetUsageMetricsResponses];\n\nexport type GetSystemConfigurationData = {\n body?: never;\n path?: never;\n query?: never;\n url: '/system/configuration';\n};\n\nexport type GetSystemConfigurationErrors = {\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetSystemConfigurationError = GetSystemConfigurationErrors[keyof GetSystemConfigurationErrors];\n\nexport type GetSystemConfigurationResponses = {\n /**\n * Current system configuration grouped by feature area.\n */\n 200: SystemConfigurationResponse;\n};\n\nexport type GetSystemConfigurationResponse = GetSystemConfigurationResponses[keyof GetSystemConfigurationResponses];\n\nexport type CreateTenantData = {\n body: TenantCreateRequest;\n path?: never;\n query?: never;\n url: '/tenants';\n};\n\nexport type CreateTenantErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Not found. The resource was not found.\n */\n 404: ProblemDetail;\n /**\n * Tenant with this id already exists.\n */\n 409: unknown;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type CreateTenantError = CreateTenantErrors[keyof CreateTenantErrors];\n\nexport type CreateTenantResponses = {\n /**\n * The tenant was created successfully.\n */\n 201: TenantCreateResult;\n};\n\nexport type CreateTenantResponse = CreateTenantResponses[keyof CreateTenantResponses];\n\nexport type SearchTenantsData = {\n body?: TenantSearchQueryRequest;\n path?: never;\n query?: never;\n url: '/tenants/search';\n};\n\nexport type SearchTenantsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Not found\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchTenantsError = SearchTenantsErrors[keyof SearchTenantsErrors];\n\nexport type SearchTenantsResponses = {\n /**\n * The tenants search result\n */\n 200: TenantSearchQueryResult;\n};\n\nexport type SearchTenantsResponse = SearchTenantsResponses[keyof SearchTenantsResponses];\n\nexport type DeleteTenantData = {\n body?: never;\n path: {\n /**\n * The unique identifier of the tenant.\n */\n tenantId: TenantId;\n };\n query?: never;\n url: '/tenants/{tenantId}';\n};\n\nexport type DeleteTenantErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Not found. The tenant was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type DeleteTenantError = DeleteTenantErrors[keyof DeleteTenantErrors];\n\nexport type DeleteTenantResponses = {\n /**\n * The tenant was deleted successfully.\n */\n 204: void;\n};\n\nexport type DeleteTenantResponse = DeleteTenantResponses[keyof DeleteTenantResponses];\n\nexport type GetTenantData = {\n body?: never;\n path: {\n /**\n * The unique identifier of the tenant.\n */\n tenantId: TenantId;\n };\n query?: never;\n url: '/tenants/{tenantId}';\n};\n\nexport type GetTenantErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Tenant not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetTenantError = GetTenantErrors[keyof GetTenantErrors];\n\nexport type GetTenantResponses = {\n /**\n * The tenant was retrieved successfully.\n */\n 200: TenantResult;\n};\n\nexport type GetTenantResponse = GetTenantResponses[keyof GetTenantResponses];\n\nexport type UpdateTenantData = {\n body: TenantUpdateRequest;\n path: {\n /**\n * The unique identifier of the tenant.\n */\n tenantId: TenantId;\n };\n query?: never;\n url: '/tenants/{tenantId}';\n};\n\nexport type UpdateTenantErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Not found. The tenant was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type UpdateTenantError = UpdateTenantErrors[keyof UpdateTenantErrors];\n\nexport type UpdateTenantResponses = {\n /**\n * The tenant was updated successfully.\n */\n 200: TenantUpdateResult;\n};\n\nexport type UpdateTenantResponse = UpdateTenantResponses[keyof UpdateTenantResponses];\n\nexport type SearchClientsForTenantData = {\n body?: SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<{\n /**\n * The field to sort by.\n */\n field: 'clientId';\n order?: SortOrderEnum;\n }>;\n };\n path: {\n /**\n * The unique identifier of the tenant.\n */\n tenantId: TenantId;\n };\n query?: never;\n url: '/tenants/{tenantId}/clients/search';\n};\n\nexport type SearchClientsForTenantResponses = {\n /**\n * The search result of users for the tenant.\n */\n 200: SearchQueryResponse & {\n /**\n * The matching clients.\n */\n items: Array<{\n /**\n * The ID of the client.\n */\n clientId: string;\n }>;\n };\n};\n\nexport type SearchClientsForTenantResponse = SearchClientsForTenantResponses[keyof SearchClientsForTenantResponses];\n\nexport type UnassignClientFromTenantData = {\n body?: never;\n path: {\n /**\n * The unique identifier of the tenant.\n */\n tenantId: TenantId;\n /**\n * The unique identifier of the application.\n */\n clientId: string;\n };\n query?: never;\n url: '/tenants/{tenantId}/clients/{clientId}';\n};\n\nexport type UnassignClientFromTenantErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The tenant does not exist or the client was not assigned to it.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type UnassignClientFromTenantError = UnassignClientFromTenantErrors[keyof UnassignClientFromTenantErrors];\n\nexport type UnassignClientFromTenantResponses = {\n /**\n * The client was successfully unassigned from the tenant.\n */\n 204: void;\n};\n\nexport type UnassignClientFromTenantResponse = UnassignClientFromTenantResponses[keyof UnassignClientFromTenantResponses];\n\nexport type AssignClientToTenantData = {\n body?: never;\n path: {\n /**\n * The unique identifier of the tenant.\n */\n tenantId: TenantId;\n /**\n * The unique identifier of the application.\n */\n clientId: string;\n };\n query?: never;\n url: '/tenants/{tenantId}/clients/{clientId}';\n};\n\nexport type AssignClientToTenantErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The tenant was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type AssignClientToTenantError = AssignClientToTenantErrors[keyof AssignClientToTenantErrors];\n\nexport type AssignClientToTenantResponses = {\n /**\n * The client was successfully assigned to the tenant.\n */\n 204: void;\n};\n\nexport type AssignClientToTenantResponse = AssignClientToTenantResponses[keyof AssignClientToTenantResponses];\n\nexport type SearchGroupIdsForTenantData = {\n body?: TenantGroupSearchQueryRequest;\n path: {\n /**\n * The unique identifier of the tenant.\n */\n tenantId: TenantId;\n };\n query?: never;\n url: '/tenants/{tenantId}/groups/search';\n};\n\nexport type SearchGroupIdsForTenantResponses = {\n /**\n * The search result of groups for the tenant.\n */\n 200: TenantGroupSearchResult;\n};\n\nexport type SearchGroupIdsForTenantResponse = SearchGroupIdsForTenantResponses[keyof SearchGroupIdsForTenantResponses];\n\nexport type UnassignGroupFromTenantData = {\n body?: never;\n path: {\n /**\n * The unique identifier of the tenant.\n */\n tenantId: TenantId;\n /**\n * The unique identifier of the group.\n */\n groupId: string;\n };\n query?: never;\n url: '/tenants/{tenantId}/groups/{groupId}';\n};\n\nexport type UnassignGroupFromTenantErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Not found. The tenant or group was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type UnassignGroupFromTenantError = UnassignGroupFromTenantErrors[keyof UnassignGroupFromTenantErrors];\n\nexport type UnassignGroupFromTenantResponses = {\n /**\n * The group was successfully unassigned from the tenant.\n */\n 204: void;\n};\n\nexport type UnassignGroupFromTenantResponse = UnassignGroupFromTenantResponses[keyof UnassignGroupFromTenantResponses];\n\nexport type AssignGroupToTenantData = {\n body?: never;\n path: {\n /**\n * The unique identifier of the tenant.\n */\n tenantId: TenantId;\n /**\n * The unique identifier of the group.\n */\n groupId: string;\n };\n query?: never;\n url: '/tenants/{tenantId}/groups/{groupId}';\n};\n\nexport type AssignGroupToTenantErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Not found. The tenant or group was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type AssignGroupToTenantError = AssignGroupToTenantErrors[keyof AssignGroupToTenantErrors];\n\nexport type AssignGroupToTenantResponses = {\n /**\n * The group was successfully assigned to the tenant.\n */\n 204: void;\n};\n\nexport type AssignGroupToTenantResponse = AssignGroupToTenantResponses[keyof AssignGroupToTenantResponses];\n\nexport type SearchMappingRulesForTenantData = {\n body?: MappingRuleSearchQueryRequest;\n path: {\n /**\n * The unique identifier of the tenant.\n */\n tenantId: TenantId;\n };\n query?: never;\n url: '/tenants/{tenantId}/mapping-rules/search';\n};\n\nexport type SearchMappingRulesForTenantResponses = {\n /**\n * The search result of MappingRules for the tenant.\n */\n 200: SearchQueryResponse & {\n /**\n * The matching mapping rules.\n */\n items: Array<MappingRuleResult>;\n };\n};\n\nexport type SearchMappingRulesForTenantResponse = SearchMappingRulesForTenantResponses[keyof SearchMappingRulesForTenantResponses];\n\nexport type UnassignMappingRuleFromTenantData = {\n body?: never;\n path: {\n /**\n * The unique identifier of the tenant.\n */\n tenantId: TenantId;\n /**\n * The unique identifier of the mapping rule.\n */\n mappingRuleId: string;\n };\n query?: never;\n url: '/tenants/{tenantId}/mapping-rules/{mappingRuleId}';\n};\n\nexport type UnassignMappingRuleFromTenantErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Not found. The tenant or mapping rule was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type UnassignMappingRuleFromTenantError = UnassignMappingRuleFromTenantErrors[keyof UnassignMappingRuleFromTenantErrors];\n\nexport type UnassignMappingRuleFromTenantResponses = {\n /**\n * The mapping rule was successfully unassigned from the tenant.\n */\n 204: void;\n};\n\nexport type UnassignMappingRuleFromTenantResponse = UnassignMappingRuleFromTenantResponses[keyof UnassignMappingRuleFromTenantResponses];\n\nexport type AssignMappingRuleToTenantData = {\n body?: never;\n path: {\n /**\n * The unique identifier of the tenant.\n */\n tenantId: TenantId;\n /**\n * The unique identifier of the mapping rule.\n */\n mappingRuleId: string;\n };\n query?: never;\n url: '/tenants/{tenantId}/mapping-rules/{mappingRuleId}';\n};\n\nexport type AssignMappingRuleToTenantErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Not found. The tenant or mapping rule was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type AssignMappingRuleToTenantError = AssignMappingRuleToTenantErrors[keyof AssignMappingRuleToTenantErrors];\n\nexport type AssignMappingRuleToTenantResponses = {\n /**\n * The mapping rule was successfully assigned to the tenant.\n */\n 204: void;\n};\n\nexport type AssignMappingRuleToTenantResponse = AssignMappingRuleToTenantResponses[keyof AssignMappingRuleToTenantResponses];\n\nexport type SearchRolesForTenantData = {\n body?: RoleSearchQueryRequest;\n path: {\n /**\n * The unique identifier of the tenant.\n */\n tenantId: TenantId;\n };\n query?: never;\n url: '/tenants/{tenantId}/roles/search';\n};\n\nexport type SearchRolesForTenantResponses = {\n /**\n * The search result of roles for the tenant.\n */\n 200: SearchQueryResponse & {\n /**\n * The matching roles.\n */\n items: Array<RoleResult>;\n };\n};\n\nexport type SearchRolesForTenantResponse = SearchRolesForTenantResponses[keyof SearchRolesForTenantResponses];\n\nexport type UnassignRoleFromTenantData = {\n body?: never;\n path: {\n /**\n * The unique identifier of the tenant.\n */\n tenantId: TenantId;\n /**\n * The unique identifier of the role.\n */\n roleId: string;\n };\n query?: never;\n url: '/tenants/{tenantId}/roles/{roleId}';\n};\n\nexport type UnassignRoleFromTenantErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Not found. The tenant or role was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type UnassignRoleFromTenantError = UnassignRoleFromTenantErrors[keyof UnassignRoleFromTenantErrors];\n\nexport type UnassignRoleFromTenantResponses = {\n /**\n * The role was successfully unassigned from the tenant.\n */\n 204: void;\n};\n\nexport type UnassignRoleFromTenantResponse = UnassignRoleFromTenantResponses[keyof UnassignRoleFromTenantResponses];\n\nexport type AssignRoleToTenantData = {\n body?: never;\n path: {\n /**\n * The unique identifier of the tenant.\n */\n tenantId: TenantId;\n /**\n * The unique identifier of the role.\n */\n roleId: string;\n };\n query?: never;\n url: '/tenants/{tenantId}/roles/{roleId}';\n};\n\nexport type AssignRoleToTenantErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Not found. The tenant or role was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type AssignRoleToTenantError = AssignRoleToTenantErrors[keyof AssignRoleToTenantErrors];\n\nexport type AssignRoleToTenantResponses = {\n /**\n * The role was successfully assigned to the tenant.\n */\n 204: void;\n};\n\nexport type AssignRoleToTenantResponse = AssignRoleToTenantResponses[keyof AssignRoleToTenantResponses];\n\nexport type SearchUsersForTenantData = {\n body?: SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<{\n /**\n * The field to sort by.\n */\n field: 'username';\n order?: SortOrderEnum;\n }>;\n };\n path: {\n /**\n * The unique identifier of the tenant.\n */\n tenantId: TenantId;\n };\n query?: never;\n url: '/tenants/{tenantId}/users/search';\n};\n\nexport type SearchUsersForTenantResponses = {\n /**\n * The search result of users for the tenant.\n */\n 200: SearchQueryResponse & {\n /**\n * The matching users.\n */\n items: Array<{\n username: Username;\n }>;\n };\n};\n\nexport type SearchUsersForTenantResponse = SearchUsersForTenantResponses[keyof SearchUsersForTenantResponses];\n\nexport type UnassignUserFromTenantData = {\n body?: never;\n path: {\n /**\n * The unique identifier of the tenant.\n */\n tenantId: TenantId;\n /**\n * The unique identifier of the user.\n */\n username: Username;\n };\n query?: never;\n url: '/tenants/{tenantId}/users/{username}';\n};\n\nexport type UnassignUserFromTenantErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Not found. The tenant or user was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type UnassignUserFromTenantError = UnassignUserFromTenantErrors[keyof UnassignUserFromTenantErrors];\n\nexport type UnassignUserFromTenantResponses = {\n /**\n * The user was successfully unassigned from the tenant.\n */\n 204: void;\n};\n\nexport type UnassignUserFromTenantResponse = UnassignUserFromTenantResponses[keyof UnassignUserFromTenantResponses];\n\nexport type AssignUserToTenantData = {\n body?: never;\n path: {\n /**\n * The unique identifier of the tenant.\n */\n tenantId: TenantId;\n /**\n * The unique identifier of the user.\n */\n username: Username;\n };\n query?: never;\n url: '/tenants/{tenantId}/users/{username}';\n};\n\nexport type AssignUserToTenantErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Not found. The tenant or user was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type AssignUserToTenantError = AssignUserToTenantErrors[keyof AssignUserToTenantErrors];\n\nexport type AssignUserToTenantResponses = {\n /**\n * The user was successfully assigned to the tenant.\n */\n 204: void;\n};\n\nexport type AssignUserToTenantResponse = AssignUserToTenantResponses[keyof AssignUserToTenantResponses];\n\nexport type GetTopologyData = {\n body?: never;\n path?: never;\n query?: never;\n url: '/topology';\n};\n\nexport type GetTopologyErrors = {\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetTopologyError = GetTopologyErrors[keyof GetTopologyErrors];\n\nexport type GetTopologyResponses = {\n /**\n * Obtains the current topology of the cluster the gateway is part of.\n */\n 200: TopologyResponse;\n};\n\nexport type GetTopologyResponse = GetTopologyResponses[keyof GetTopologyResponses];\n\nexport type CreateUserData = {\n body: UserRequest;\n path?: never;\n query?: never;\n url: '/users';\n};\n\nexport type CreateUserErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * A user with this username already exists.\n */\n 409: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type CreateUserError = CreateUserErrors[keyof CreateUserErrors];\n\nexport type CreateUserResponses = {\n /**\n * The user was created successfully.\n */\n 201: UserCreateResult;\n};\n\nexport type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];\n\nexport type SearchUsersData = {\n body?: UserSearchQueryRequest;\n path?: never;\n query?: never;\n url: '/users/search';\n};\n\nexport type SearchUsersErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchUsersError = SearchUsersErrors[keyof SearchUsersErrors];\n\nexport type SearchUsersResponses = {\n /**\n * The user search result.\n */\n 200: SearchQueryResponse & {\n /**\n * The matching users.\n */\n items: Array<{\n username: Username;\n /**\n * The name of the user.\n */\n name: string | null;\n /**\n * The email of the user.\n */\n email: string | null;\n }>;\n };\n};\n\nexport type SearchUsersResponse = SearchUsersResponses[keyof SearchUsersResponses];\n\nexport type DeleteUserData = {\n body?: never;\n path: {\n /**\n * The username of the user to delete.\n */\n username: Username;\n };\n query?: never;\n url: '/users/{username}';\n};\n\nexport type DeleteUserErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The user is not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type DeleteUserError = DeleteUserErrors[keyof DeleteUserErrors];\n\nexport type DeleteUserResponses = {\n /**\n * The user was deleted successfully.\n */\n 204: void;\n};\n\nexport type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];\n\nexport type GetUserData = {\n body?: never;\n path: {\n /**\n * The username of the user.\n */\n username: Username;\n };\n query?: never;\n url: '/users/{username}';\n};\n\nexport type GetUserErrors = {\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The user with the given username was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetUserError = GetUserErrors[keyof GetUserErrors];\n\nexport type GetUserResponses = {\n /**\n * The user is successfully returned.\n */\n 200: {\n username: Username;\n /**\n * The name of the user.\n */\n name: string | null;\n /**\n * The email of the user.\n */\n email: string | null;\n };\n};\n\nexport type GetUserResponse = GetUserResponses[keyof GetUserResponses];\n\nexport type UpdateUserData = {\n body: UserUpdateRequest;\n path: {\n /**\n * The username of the user to update.\n */\n username: Username;\n };\n query?: never;\n url: '/users/{username}';\n};\n\nexport type UpdateUserErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The user was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type UpdateUserError = UpdateUserErrors[keyof UpdateUserErrors];\n\nexport type UpdateUserResponses = {\n /**\n * The user was updated successfully.\n */\n 200: {\n username: Username;\n /**\n * The name of the user.\n */\n name: string | null;\n /**\n * The email of the user.\n */\n email: string | null;\n };\n};\n\nexport type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];\n\nexport type SearchUserTasksData = {\n body?: UserTaskSearchQuery;\n path?: never;\n query?: never;\n url: '/user-tasks/search';\n};\n\nexport type SearchUserTasksErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchUserTasksError = SearchUserTasksErrors[keyof SearchUserTasksErrors];\n\nexport type SearchUserTasksResponses = {\n /**\n * The user task search result.\n */\n 200: UserTaskSearchQueryResult;\n};\n\nexport type SearchUserTasksResponse = SearchUserTasksResponses[keyof SearchUserTasksResponses];\n\nexport type GetUserTaskData = {\n body?: never;\n path: {\n /**\n * The user task key.\n */\n userTaskKey: UserTaskKey;\n };\n query?: never;\n url: '/user-tasks/{userTaskKey}';\n};\n\nexport type GetUserTaskErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The user task with the given key was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetUserTaskError = GetUserTaskErrors[keyof GetUserTaskErrors];\n\nexport type GetUserTaskResponses = {\n /**\n * The user task is successfully returned.\n */\n 200: UserTaskResult;\n};\n\nexport type GetUserTaskResponse = GetUserTaskResponses[keyof GetUserTaskResponses];\n\nexport type UpdateUserTaskData = {\n body?: UserTaskUpdateRequest;\n path: {\n /**\n * The key of the user task to update.\n */\n userTaskKey: UserTaskKey;\n };\n query?: never;\n url: '/user-tasks/{userTaskKey}';\n};\n\nexport type UpdateUserTaskErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The user task with the given key was not found.\n */\n 404: ProblemDetail;\n /**\n * The user task with the given key is in the wrong state currently. More details are provided in the response body.\n *\n */\n 409: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n /**\n * The request timed out between the gateway and the broker. For these endpoints, this often happens when user task listeners are configured and the corresponding listener job is not completed within the request timeout. Common causes include no available job workers for the listener type, busy or crashed job workers, or delayed job completion. As with any gateway timeout, general timeout causes (for example transient network issues) can also result in a 504 response.\n * Troubleshooting: - verify that job workers for the listener type are running and healthy - check worker logs for crashes, retries, and completion failures - check network connectivity between workers, gateway, and broker - retry with backoff after transient failures - fail without retries if a problem persists\n *\n */\n 504: ProblemDetail;\n};\n\nexport type UpdateUserTaskError = UpdateUserTaskErrors[keyof UpdateUserTaskErrors];\n\nexport type UpdateUserTaskResponses = {\n /**\n * The user task was updated successfully.\n */\n 204: void;\n};\n\nexport type UpdateUserTaskResponse = UpdateUserTaskResponses[keyof UpdateUserTaskResponses];\n\nexport type UnassignUserTaskData = {\n body?: never;\n path: {\n /**\n * The key of the user task.\n */\n userTaskKey: UserTaskKey;\n };\n query?: never;\n url: '/user-tasks/{userTaskKey}/assignee';\n};\n\nexport type UnassignUserTaskErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The user task with the given key was not found.\n */\n 404: ProblemDetail;\n /**\n * The user task with the given key is in the wrong state currently. More details are provided in the response body.\n *\n */\n 409: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n /**\n * The request timed out between the gateway and the broker. For these endpoints, this often happens when user task listeners are configured and the corresponding listener job is not completed within the request timeout. Common causes include no available job workers for the listener type, busy or crashed job workers, or delayed job completion. As with any gateway timeout, general timeout causes (for example transient network issues) can also result in a 504 response.\n * Troubleshooting: - verify that job workers for the listener type are running and healthy - check worker logs for crashes, retries, and completion failures - check network connectivity between workers, gateway, and broker - retry with backoff after transient failures - fail without retries if a problem persists\n *\n */\n 504: ProblemDetail;\n};\n\nexport type UnassignUserTaskError = UnassignUserTaskErrors[keyof UnassignUserTaskErrors];\n\nexport type UnassignUserTaskResponses = {\n /**\n * The user task was unassigned successfully.\n */\n 204: void;\n};\n\nexport type UnassignUserTaskResponse = UnassignUserTaskResponses[keyof UnassignUserTaskResponses];\n\nexport type AssignUserTaskData = {\n body: UserTaskAssignmentRequest;\n path: {\n /**\n * The key of the user task to assign.\n */\n userTaskKey: UserTaskKey;\n };\n query?: never;\n url: '/user-tasks/{userTaskKey}/assignment';\n};\n\nexport type AssignUserTaskErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The user task with the given key was not found.\n */\n 404: ProblemDetail;\n /**\n * The user task with the given key is in the wrong state currently. More details are provided in the response body.\n *\n */\n 409: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n /**\n * The request timed out between the gateway and the broker. For these endpoints, this often happens when user task listeners are configured and the corresponding listener job is not completed within the request timeout. Common causes include no available job workers for the listener type, busy or crashed job workers, or delayed job completion. As with any gateway timeout, general timeout causes (for example transient network issues) can also result in a 504 response.\n * Troubleshooting: - verify that job workers for the listener type are running and healthy - check worker logs for crashes, retries, and completion failures - check network connectivity between workers, gateway, and broker - retry with backoff after transient failures - fail without retries if a problem persists\n *\n */\n 504: ProblemDetail;\n};\n\nexport type AssignUserTaskError = AssignUserTaskErrors[keyof AssignUserTaskErrors];\n\nexport type AssignUserTaskResponses = {\n /**\n * The user task's assignment was adjusted.\n */\n 204: void;\n};\n\nexport type AssignUserTaskResponse = AssignUserTaskResponses[keyof AssignUserTaskResponses];\n\nexport type SearchUserTaskAuditLogsData = {\n body?: UserTaskAuditLogSearchQueryRequest;\n path: {\n /**\n * The key of the user task.\n */\n userTaskKey: UserTaskKey;\n };\n query?: never;\n url: '/user-tasks/{userTaskKey}/audit-logs/search';\n};\n\nexport type SearchUserTaskAuditLogsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchUserTaskAuditLogsError = SearchUserTaskAuditLogsErrors[keyof SearchUserTaskAuditLogsErrors];\n\nexport type SearchUserTaskAuditLogsResponses = {\n /**\n * The user task audit log search result.\n */\n 200: AuditLogSearchQueryResult;\n};\n\nexport type SearchUserTaskAuditLogsResponse = SearchUserTaskAuditLogsResponses[keyof SearchUserTaskAuditLogsResponses];\n\nexport type CompleteUserTaskData = {\n body?: UserTaskCompletionRequest;\n path: {\n /**\n * The key of the user task to complete.\n */\n userTaskKey: UserTaskKey;\n };\n query?: never;\n url: '/user-tasks/{userTaskKey}/completion';\n};\n\nexport type CompleteUserTaskErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The user task with the given key was not found.\n */\n 404: ProblemDetail;\n /**\n * The user task with the given key is in the wrong state currently. More details are provided in the response body.\n *\n */\n 409: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n /**\n * The request timed out between the gateway and the broker. For these endpoints, this often happens when user task listeners are configured and the corresponding listener job is not completed within the request timeout. Common causes include no available job workers for the listener type, busy or crashed job workers, or delayed job completion. As with any gateway timeout, general timeout causes (for example transient network issues) can also result in a 504 response.\n * Troubleshooting: - verify that job workers for the listener type are running and healthy - check worker logs for crashes, retries, and completion failures - check network connectivity between workers, gateway, and broker - retry with backoff after transient failures - fail without retries if a problem persists\n *\n */\n 504: ProblemDetail;\n};\n\nexport type CompleteUserTaskError = CompleteUserTaskErrors[keyof CompleteUserTaskErrors];\n\nexport type CompleteUserTaskResponses = {\n /**\n * The user task was completed successfully.\n */\n 204: void;\n};\n\nexport type CompleteUserTaskResponse = CompleteUserTaskResponses[keyof CompleteUserTaskResponses];\n\nexport type SearchUserTaskEffectiveVariablesData = {\n /**\n * User task effective variable search query request. Uses offset-based pagination only.\n *\n */\n body?: {\n /**\n * Pagination parameters.\n */\n page?: OffsetPagination;\n /**\n * Sort field criteria.\n */\n sort?: Array<{\n /**\n * The field to sort by.\n */\n field: 'value' | 'name' | 'tenantId' | 'variableKey' | 'scopeKey' | 'processInstanceKey';\n order?: SortOrderEnum;\n }>;\n /**\n * The user task variable search filters.\n */\n filter?: UserTaskVariableFilter;\n };\n path: {\n /**\n * The key of the user task.\n */\n userTaskKey: UserTaskKey;\n };\n query?: {\n /**\n * When true (default), long variable values in the response are truncated. When false, full variable values are returned.\n */\n truncateValues?: boolean;\n };\n url: '/user-tasks/{userTaskKey}/effective-variables/search';\n};\n\nexport type SearchUserTaskEffectiveVariablesErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchUserTaskEffectiveVariablesError = SearchUserTaskEffectiveVariablesErrors[keyof SearchUserTaskEffectiveVariablesErrors];\n\nexport type SearchUserTaskEffectiveVariablesResponses = {\n /**\n * The user task effective variable search result.\n */\n 200: VariableSearchQueryResult;\n};\n\nexport type SearchUserTaskEffectiveVariablesResponse = SearchUserTaskEffectiveVariablesResponses[keyof SearchUserTaskEffectiveVariablesResponses];\n\nexport type GetUserTaskFormData = {\n body?: never;\n path: {\n /**\n * The user task key.\n */\n userTaskKey: UserTaskKey;\n };\n query?: never;\n url: '/user-tasks/{userTaskKey}/form';\n};\n\nexport type GetUserTaskFormErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Not found\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetUserTaskFormError = GetUserTaskFormErrors[keyof GetUserTaskFormErrors];\n\nexport type GetUserTaskFormResponses = {\n /**\n * The form is successfully returned.\n */\n 200: FormResult;\n /**\n * The user task was found, but no form is associated with it.\n */\n 204: void;\n};\n\nexport type GetUserTaskFormResponse = GetUserTaskFormResponses[keyof GetUserTaskFormResponses];\n\nexport type SearchUserTaskVariablesData = {\n /**\n * User task search query request.\n */\n body?: SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<{\n /**\n * The field to sort by.\n */\n field: 'value' | 'name' | 'tenantId' | 'variableKey' | 'scopeKey' | 'processInstanceKey';\n order?: SortOrderEnum;\n }>;\n /**\n * The user task variable search filters.\n */\n filter?: UserTaskVariableFilter;\n };\n path: {\n /**\n * The key of the user task.\n */\n userTaskKey: UserTaskKey;\n };\n query?: {\n /**\n * When true (default), long variable values in the response are truncated. When false, full variable values are returned.\n */\n truncateValues?: boolean;\n };\n url: '/user-tasks/{userTaskKey}/variables/search';\n};\n\nexport type SearchUserTaskVariablesErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchUserTaskVariablesError = SearchUserTaskVariablesErrors[keyof SearchUserTaskVariablesErrors];\n\nexport type SearchUserTaskVariablesResponses = {\n /**\n * The user task variable search result.\n */\n 200: VariableSearchQueryResult;\n};\n\nexport type SearchUserTaskVariablesResponse = SearchUserTaskVariablesResponses[keyof SearchUserTaskVariablesResponses];\n\nexport type SearchVariablesData = {\n /**\n * Variable search query request.\n */\n body?: SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<{\n /**\n * The field to sort by.\n */\n field: 'value' | 'name' | 'tenantId' | 'variableKey' | 'scopeKey' | 'processInstanceKey';\n order?: SortOrderEnum;\n }>;\n /**\n * The variable search filters.\n */\n filter?: VariableFilter;\n };\n path?: never;\n query?: {\n /**\n * When true (default), long variable values in the response are truncated. When false, full variable values are returned.\n */\n truncateValues?: boolean;\n };\n url: '/variables/search';\n};\n\nexport type SearchVariablesErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchVariablesError = SearchVariablesErrors[keyof SearchVariablesErrors];\n\nexport type SearchVariablesResponses = {\n /**\n * The variable search result.\n */\n 200: VariableSearchQueryResult;\n};\n\nexport type SearchVariablesResponse = SearchVariablesResponses[keyof SearchVariablesResponses];\n\nexport type GetVariableData = {\n body?: never;\n path: {\n /**\n * The variable key.\n */\n variableKey: VariableKey;\n };\n query?: never;\n url: '/variables/{variableKey}';\n};\n\nexport type GetVariableErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Not found\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetVariableError = GetVariableErrors[keyof GetVariableErrors];\n\nexport type GetVariableResponses = {\n /**\n * The variable is successfully returned.\n */\n 200: VariableResult;\n};\n\nexport type GetVariableResponse = GetVariableResponses[keyof GetVariableResponses];\n\n\n// branding-plugin generated\n// schemaVersion=1.0.0\n// specHash=sha256:b22cdcdbe15582dfd819636e7ca11871ce4b73efab173c676937333e9c39f60e\n\nexport function assertConstraint(value: string, label: string, c: { pattern?: string; minLength?: number; maxLength?: number }) {\n if (c.pattern && !(new RegExp(c.pattern, 'u').test(value))) throw new Error(`\u001b[31mInvalid pattern for ${label}: '${value}'.\u001b[0m Needs to match: ${JSON.stringify(c)}\n`);\n if (typeof c.minLength === \"number\" && value.length < c.minLength) throw new Error(`Value too short for ${label}`);\n if (typeof c.maxLength === \"number\" && value.length > c.maxLength) throw new Error(`Value too long for ${label}`);\n}\n// System-generated entity key for an audit log entry.\nexport namespace AuditLogEntityKey {\n export function assumeExists(value: string): AuditLogEntityKey {\n return value as any;\n }\n export function getValue(key: AuditLogEntityKey): string { return key; }\n export function isValid(value: string): boolean {\n return true;\n }\n}\n// System-generated key for an audit log entry.\nexport namespace AuditLogKey {\n export function assumeExists(value: string): AuditLogKey {\n assertConstraint(value, 'AuditLogKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return value as any;\n }\n export function getValue(key: AuditLogKey): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'AuditLogKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return true;\n } catch { return false; }\n }\n}\n// System-generated key for an authorization.\nexport namespace AuthorizationKey {\n export function assumeExists(value: string): AuthorizationKey {\n assertConstraint(value, 'AuthorizationKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return value as any;\n }\n export function getValue(key: AuthorizationKey): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'AuthorizationKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return true;\n } catch { return false; }\n }\n}\n// System-generated key for an batch operation.\nexport namespace BatchOperationKey {\n export function assumeExists(value: string): BatchOperationKey {\n return value as any;\n }\n export function getValue(key: BatchOperationKey): string { return key; }\n export function isValid(value: string): boolean {\n return true;\n }\n}\n// An optional, user-defined string identifier that identifies the process instance within the scope of a process definition (scoped by tenant). If provided and uniqueness enforcement is enabled, the engine will reject creation if another root process instance with the same business id is already active for the same process definition. Note that any active child process instances with the same business id are not taken into account. \nexport namespace BusinessId {\n export function assumeExists(value: string): BusinessId {\n assertConstraint(value, 'BusinessId', { minLength: 1, maxLength: 256 });\n return value as any;\n }\n export function getValue(key: BusinessId): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'BusinessId', { minLength: 1, maxLength: 256 });\n return true;\n } catch { return false; }\n }\n}\n// System-generated key for a conditional evaluation.\nexport namespace ConditionalEvaluationKey {\n export function assumeExists(value: string): ConditionalEvaluationKey {\n assertConstraint(value, 'ConditionalEvaluationKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return value as any;\n }\n export function getValue(key: ConditionalEvaluationKey): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'ConditionalEvaluationKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return true;\n } catch { return false; }\n }\n}\n// Id of a decision definition, from the model. Only ids of decision definitions that are deployed are useful.\nexport namespace DecisionDefinitionId {\n export function assumeExists(value: string): DecisionDefinitionId {\n assertConstraint(value, 'DecisionDefinitionId', { pattern: \"^[\\\\p{L}_][\\\\p{L}\\\\p{N}_\\\\-\\\\.]*$\", minLength: 1 });\n return value as any;\n }\n export function getValue(key: DecisionDefinitionId): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'DecisionDefinitionId', { pattern: \"^[\\\\p{L}_][\\\\p{L}\\\\p{N}_\\\\-\\\\.]*$\", minLength: 1 });\n return true;\n } catch { return false; }\n }\n}\n// System-generated key for a decision definition.\nexport namespace DecisionDefinitionKey {\n export function assumeExists(value: string): DecisionDefinitionKey {\n assertConstraint(value, 'DecisionDefinitionKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return value as any;\n }\n export function getValue(key: DecisionDefinitionKey): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'DecisionDefinitionKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return true;\n } catch { return false; }\n }\n}\n// System-generated key for a decision evaluation instance.\nexport namespace DecisionEvaluationInstanceKey {\n export function assumeExists(value: string): DecisionEvaluationInstanceKey {\n assertConstraint(value, 'DecisionEvaluationInstanceKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return value as any;\n }\n export function getValue(key: DecisionEvaluationInstanceKey): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'DecisionEvaluationInstanceKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return true;\n } catch { return false; }\n }\n}\n// System-generated key for a decision evaluation.\nexport namespace DecisionEvaluationKey {\n export function assumeExists(value: string): DecisionEvaluationKey {\n assertConstraint(value, 'DecisionEvaluationKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return value as any;\n }\n export function getValue(key: DecisionEvaluationKey): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'DecisionEvaluationKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return true;\n } catch { return false; }\n }\n}\n// System-generated key for a deployed decision instance.\nexport namespace DecisionInstanceKey {\n export function assumeExists(value: string): DecisionInstanceKey {\n assertConstraint(value, 'DecisionInstanceKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return value as any;\n }\n export function getValue(key: DecisionInstanceKey): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'DecisionInstanceKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return true;\n } catch { return false; }\n }\n}\n// System-generated key for a deployed decision requirements definition.\nexport namespace DecisionRequirementsKey {\n export function assumeExists(value: string): DecisionRequirementsKey {\n assertConstraint(value, 'DecisionRequirementsKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return value as any;\n }\n export function getValue(key: DecisionRequirementsKey): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'DecisionRequirementsKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return true;\n } catch { return false; }\n }\n}\n// Key for a deployment.\nexport namespace DeploymentKey {\n export function assumeExists(value: string): DeploymentKey {\n assertConstraint(value, 'DeploymentKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return value as any;\n }\n export function getValue(key: DeploymentKey): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'DeploymentKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return true;\n } catch { return false; }\n }\n}\n// Document Id that uniquely identifies a document.\nexport namespace DocumentId {\n export function assumeExists(value: string): DocumentId {\n return value as any;\n }\n export function getValue(key: DocumentId): string { return key; }\n export function isValid(value: string): boolean {\n return true;\n }\n}\n// The model-defined id of an element.\nexport namespace ElementId {\n export function assumeExists(value: string): ElementId {\n return value as any;\n }\n export function getValue(key: ElementId): string { return key; }\n export function isValid(value: string): boolean {\n return true;\n }\n}\n// System-generated key for a element instance.\nexport namespace ElementInstanceKey {\n export function assumeExists(value: string): ElementInstanceKey {\n assertConstraint(value, 'ElementInstanceKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return value as any;\n }\n export function getValue(key: ElementInstanceKey): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'ElementInstanceKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return true;\n } catch { return false; }\n }\n}\n// The end cursor in a search query result set.\nexport namespace EndCursor {\n export function assumeExists(value: string): EndCursor {\n assertConstraint(value, 'EndCursor', { pattern: \"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}(?:==)?|[A-Za-z0-9+/]{3}=)?$\" });\n return value as any;\n }\n export function getValue(key: EndCursor): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'EndCursor', { pattern: \"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}(?:==)?|[A-Za-z0-9+/]{3}=)?$\" });\n return true;\n } catch { return false; }\n }\n}\n// The user-defined id for the form\nexport namespace FormId {\n export function assumeExists(value: string): FormId {\n return value as any;\n }\n export function getValue(key: FormId): string { return key; }\n export function isValid(value: string): boolean {\n return true;\n }\n}\n// System-generated key for a deployed form.\nexport namespace FormKey {\n export function assumeExists(value: string): FormKey {\n assertConstraint(value, 'FormKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return value as any;\n }\n export function getValue(key: FormKey): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'FormKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return true;\n } catch { return false; }\n }\n}\n// The user-defined id for the global listener\nexport namespace GlobalListenerId {\n export function assumeExists(value: string): GlobalListenerId {\n return value as any;\n }\n export function getValue(key: GlobalListenerId): string { return key; }\n export function isValid(value: string): boolean {\n return true;\n }\n}\n// System-generated key for a incident.\nexport namespace IncidentKey {\n export function assumeExists(value: string): IncidentKey {\n assertConstraint(value, 'IncidentKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return value as any;\n }\n export function getValue(key: IncidentKey): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'IncidentKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return true;\n } catch { return false; }\n }\n}\n// System-generated key for a job.\nexport namespace JobKey {\n export function assumeExists(value: string): JobKey {\n assertConstraint(value, 'JobKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return value as any;\n }\n export function getValue(key: JobKey): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'JobKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return true;\n } catch { return false; }\n }\n}\n// System-generated key for an message.\nexport namespace MessageKey {\n export function assumeExists(value: string): MessageKey {\n assertConstraint(value, 'MessageKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return value as any;\n }\n export function getValue(key: MessageKey): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'MessageKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return true;\n } catch { return false; }\n }\n}\n// System-generated key for a message subscription.\nexport namespace MessageSubscriptionKey {\n export function assumeExists(value: string): MessageSubscriptionKey {\n assertConstraint(value, 'MessageSubscriptionKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return value as any;\n }\n export function getValue(key: MessageSubscriptionKey): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'MessageSubscriptionKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return true;\n } catch { return false; }\n }\n}\n// Id of a process definition, from the model. Only ids of process definitions that are deployed are useful.\nexport namespace ProcessDefinitionId {\n export function assumeExists(value: string): ProcessDefinitionId {\n assertConstraint(value, 'ProcessDefinitionId', { pattern: \"^[\\\\p{L}_][\\\\p{L}\\\\p{N}_\\\\-\\\\.]*$\", minLength: 1 });\n return value as any;\n }\n export function getValue(key: ProcessDefinitionId): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'ProcessDefinitionId', { pattern: \"^[\\\\p{L}_][\\\\p{L}\\\\p{N}_\\\\-\\\\.]*$\", minLength: 1 });\n return true;\n } catch { return false; }\n }\n}\n// System-generated key for a deployed process definition.\nexport namespace ProcessDefinitionKey {\n export function assumeExists(value: string): ProcessDefinitionKey {\n assertConstraint(value, 'ProcessDefinitionKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return value as any;\n }\n export function getValue(key: ProcessDefinitionKey): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'ProcessDefinitionKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return true;\n } catch { return false; }\n }\n}\n// System-generated key for a process instance.\nexport namespace ProcessInstanceKey {\n export function assumeExists(value: string): ProcessInstanceKey {\n assertConstraint(value, 'ProcessInstanceKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return value as any;\n }\n export function getValue(key: ProcessInstanceKey): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'ProcessInstanceKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return true;\n } catch { return false; }\n }\n}\n// System-generated key for an signal.\nexport namespace SignalKey {\n export function assumeExists(value: string): SignalKey {\n assertConstraint(value, 'SignalKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return value as any;\n }\n export function getValue(key: SignalKey): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'SignalKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return true;\n } catch { return false; }\n }\n}\n// The start cursor in a search query result set.\nexport namespace StartCursor {\n export function assumeExists(value: string): StartCursor {\n assertConstraint(value, 'StartCursor', { pattern: \"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}(?:==)?|[A-Za-z0-9+/]{3}=)?$\" });\n return value as any;\n }\n export function getValue(key: StartCursor): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'StartCursor', { pattern: \"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}(?:==)?|[A-Za-z0-9+/]{3}=)?$\" });\n return true;\n } catch { return false; }\n }\n}\n// A tag. Needs to start with a letter; then alphanumerics, `_`, `-`, `:`, or `.`; length ≤ 100.\nexport namespace Tag {\n export function fromString(value: string): Tag {\n assertConstraint(value, 'Tag', { pattern: \"^[A-Za-z][A-Za-z0-9_\\\\-:.]{0,99}$\", minLength: 1, maxLength: 100 });\n return value as any;\n }\n export function getValue(key: Tag): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'Tag', { pattern: \"^[A-Za-z][A-Za-z0-9_\\\\-:.]{0,99}$\", minLength: 1, maxLength: 100 });\n return true;\n } catch { return false; }\n }\n}\n// The unique identifier of the tenant.\nexport namespace TenantId {\n export function assumeExists(value: string): TenantId {\n assertConstraint(value, 'TenantId', { pattern: \"^(<default>|[A-Za-z0-9_@.+-]+)$\", minLength: 1, maxLength: 256 });\n return value as any;\n }\n export function getValue(key: TenantId): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'TenantId', { pattern: \"^(<default>|[A-Za-z0-9_@.+-]+)$\", minLength: 1, maxLength: 256 });\n return true;\n } catch { return false; }\n }\n}\n// The unique name of a user.\nexport namespace Username {\n export function assumeExists(value: string): Username {\n assertConstraint(value, 'Username', { pattern: \"^(<default>|[A-Za-z0-9_@.+-]+)$\", minLength: 1, maxLength: 256 });\n return value as any;\n }\n export function getValue(key: Username): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'Username', { pattern: \"^(<default>|[A-Za-z0-9_@.+-]+)$\", minLength: 1, maxLength: 256 });\n return true;\n } catch { return false; }\n }\n}\n// System-generated key for a user task.\nexport namespace UserTaskKey {\n export function assumeExists(value: string): UserTaskKey {\n assertConstraint(value, 'UserTaskKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return value as any;\n }\n export function getValue(key: UserTaskKey): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'UserTaskKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return true;\n } catch { return false; }\n }\n}\n// System-generated key for a variable.\nexport namespace VariableKey {\n export function assumeExists(value: string): VariableKey {\n assertConstraint(value, 'VariableKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return value as any;\n }\n export function getValue(key: VariableKey): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'VariableKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return true;\n } catch { return false; }\n }\n}","// Entry point: export Camunda class, key types, and errors.\nimport { createCamundaClient } from './gen/CamundaClient';\nimport { createCamundaClientLoose, type CamundaClientLoose, type Loose } from './loose';\n// Public re-exports for worker API\nexport type { JobWorkerConfig, JobWorker, Job, JobActionReceipt } from './runtime/jobWorker';\nexport { JobActionReceipt as JobActionReceiptSymbol } from './runtime/jobWorker';\nexport type {\n ThreadedJobWorkerConfig,\n ThreadedJobWorker,\n ThreadedJob,\n ThreadedJobHandler,\n} from './runtime/threadedJobWorker';\nexport type { ThreadPool } from './runtime/threadPool';\n\nexport {\n createCamundaResultClient,\n type CamundaResultClient,\n type Result,\n isOk,\n isErr,\n} from './resultClient';\nexport { createCamundaFpClient, type CamundaFpClient, type Either, isLeft, isRight } from './fp-ts';\nexport * from './gen/types.gen';\nexport {\n CamundaValidationError,\n EventualConsistencyTimeoutError,\n isSdkError,\n} from './runtime/errors';\nexport type { SdkError } from './runtime/errors';\n// Re-export all public types from CamundaClient (Input, Consistency, CancelablePromise, etc.)\nexport * from './gen/CamundaClient';\n// eventualPoll unified with result mode; no separate export\nexport { createCamundaClientLoose, type CamundaClientLoose, type Loose };\nexport type { EnrichedActivatedJob } from './runtime/jobActions';\n// Runtime types used in public signatures\nexport type { CamundaConfig, AuthStrategy, ValidationMode } from './runtime/unifiedConfiguration';\nexport type { SupportLogger } from './runtime/supportLogger';\nexport type { BackpressureSeverity } from './runtime/backpressure';\nexport type { HttpRetryPolicy, OperationOptions } from './runtime/retry';\nexport type { TelemetryHooks } from './runtime/telemetry';\nexport type { CreateLoggerOptions } from './runtime/logger';\nexport default createCamundaClient;\n"],"mappings":";;;;;;;;;;;;;;;;AA0CO,SAAS,4BACX,MAC4C;AAC/C,QAAM,SAAS,oBAAoB,GAAG,IAAI;AAC1C,SAAO;AACT;;;AC3CO,IAAM,OAAO,CAAO,MAAiD,EAAE;AACvE,IAAM,QAAQ,CAAO,MAAkD,CAAC,EAAE;AAGjF,SAAS,UAAU,GAA+B;AAChD,SAAO,KAAK,OAAO,EAAE,SAAS;AAChC;AAQO,SAAS,0BAA0B,SAA0B;AAClE,QAAM,OAAO,oBAAoB,OAAO;AAExC,QAAM,UAA6B;AAAA,IACjC,IAAI,SAAS,MAAM,OAAO;AACxB,UAAI,SAAS,QAAS,QAAO;AAC7B,YAAM,QAAS,KAAa,IAAI;AAChC,UAAI,OAAO,UAAU,WAAY,QAAO;AACxC,aAAO,IAAI,SAAgB;AACzB,YAAI;AACF,gBAAM,MAAM,MAAM,MAAM,MAAM,IAAI;AAClC,cAAI,UAAU,GAAG,GAAG;AAClB,mBAAO,IACJ,KAAK,CAAC,OAAY,EAAE,IAAI,MAAM,OAAO,EAAE,EAAW,EAClD,MAAM,CAAC,OAAgB,EAAE,IAAI,OAAO,OAAO,EAAE,EAAW;AAAA,UAC7D;AACA,iBAAO,QAAQ,QAAQ,EAAE,IAAI,MAAM,OAAO,IAAI,CAAU;AAAA,QAC1D,SAAS,GAAG;AACV,iBAAO,QAAQ,QAAQ,EAAE,IAAI,OAAO,OAAO,EAAE,CAAU;AAAA,QACzD;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAEA,SAAO,IAAI,MAAM,CAAC,GAAG,OAAO;AAC9B;;;AC2sgBO,SAAS,iBAAiB,OAAe,OAAe,GAAiE;AAC9H,MAAI,EAAE,WAAW,CAAE,IAAI,OAAO,EAAE,SAAS,GAAG,EAAE,KAAK,KAAK,EAAI,OAAM,IAAI,MAAM,+BAA4B,KAAK,MAAM,KAAK,6BAA0B,KAAK,UAAU,CAAC,CAAC;AAAA,CACpK;AACC,MAAI,OAAO,EAAE,cAAc,YAAY,MAAM,SAAS,EAAE,UAAW,OAAM,IAAI,MAAM,uBAAuB,KAAK,EAAE;AACjH,MAAI,OAAO,EAAE,cAAc,YAAY,MAAM,SAAS,EAAE,UAAW,OAAM,IAAI,MAAM,sBAAsB,KAAK,EAAE;AAClH;AAEO,IAAU;AAAA,CAAV,CAAUA,uBAAV;AACE,WAAS,aAAa,OAAkC;AAC7D,WAAO;AAAA,EACT;AAFO,EAAAA,mBAAS;AAGT,WAAS,SAAS,KAAgC;AAAE,WAAO;AAAA,EAAK;AAAhE,EAAAA,mBAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,WAAO;AAAA,EACT;AAFO,EAAAA,mBAAS;AAAA,GALD;AAUV,IAAU;AAAA,CAAV,CAAUC,iBAAV;AACE,WAAS,aAAa,OAA4B;AACvD,qBAAiB,OAAO,eAAe,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AAC7F,WAAO;AAAA,EACT;AAHO,EAAAA,aAAS;AAIT,WAAS,SAAS,KAA0B;AAAE,WAAO;AAAA,EAAK;AAA1D,EAAAA,aAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,eAAe,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AAC7F,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,aAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,sBAAV;AACE,WAAS,aAAa,OAAiC;AAC5D,qBAAiB,OAAO,oBAAoB,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AAClG,WAAO;AAAA,EACT;AAHO,EAAAA,kBAAS;AAIT,WAAS,SAAS,KAA+B;AAAE,WAAO;AAAA,EAAK;AAA/D,EAAAA,kBAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,oBAAoB,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AAClG,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,kBAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,uBAAV;AACE,WAAS,aAAa,OAAkC;AAC7D,WAAO;AAAA,EACT;AAFO,EAAAA,mBAAS;AAGT,WAAS,SAAS,KAAgC;AAAE,WAAO;AAAA,EAAK;AAAhE,EAAAA,mBAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,WAAO;AAAA,EACT;AAFO,EAAAA,mBAAS;AAAA,GALD;AAUV,IAAU;AAAA,CAAV,CAAUC,gBAAV;AACE,WAAS,aAAa,OAA2B;AACtD,qBAAiB,OAAO,cAAc,EAAE,WAAW,GAAG,WAAW,IAAI,CAAC;AACtE,WAAO;AAAA,EACT;AAHO,EAAAA,YAAS;AAIT,WAAS,SAAS,KAAyB;AAAE,WAAO;AAAA,EAAK;AAAzD,EAAAA,YAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,cAAc,EAAE,WAAW,GAAG,WAAW,IAAI,CAAC;AACtE,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,YAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,8BAAV;AACE,WAAS,aAAa,OAAyC;AACpE,qBAAiB,OAAO,4BAA4B,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AAC1G,WAAO;AAAA,EACT;AAHO,EAAAA,0BAAS;AAIT,WAAS,SAAS,KAAuC;AAAE,WAAO;AAAA,EAAK;AAAvE,EAAAA,0BAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,4BAA4B,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AAC1G,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,0BAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,0BAAV;AACE,WAAS,aAAa,OAAqC;AAChE,qBAAiB,OAAO,wBAAwB,EAAE,SAAS,qCAAqC,WAAW,EAAE,CAAC;AAC9G,WAAO;AAAA,EACT;AAHO,EAAAA,sBAAS;AAIT,WAAS,SAAS,KAAmC;AAAE,WAAO;AAAA,EAAK;AAAnE,EAAAA,sBAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,wBAAwB,EAAE,SAAS,qCAAqC,WAAW,EAAE,CAAC;AAC9G,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,sBAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,2BAAV;AACE,WAAS,aAAa,OAAsC;AACjE,qBAAiB,OAAO,yBAAyB,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AACvG,WAAO;AAAA,EACT;AAHO,EAAAA,uBAAS;AAIT,WAAS,SAAS,KAAoC;AAAE,WAAO;AAAA,EAAK;AAApE,EAAAA,uBAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,yBAAyB,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AACvG,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,uBAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,mCAAV;AACE,WAAS,aAAa,OAA8C;AACzE,qBAAiB,OAAO,iCAAiC,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AAC/G,WAAO;AAAA,EACT;AAHO,EAAAA,+BAAS;AAIT,WAAS,SAAS,KAA4C;AAAE,WAAO;AAAA,EAAK;AAA5E,EAAAA,+BAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,iCAAiC,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AAC/G,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,+BAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,2BAAV;AACE,WAAS,aAAa,OAAsC;AACjE,qBAAiB,OAAO,yBAAyB,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AACvG,WAAO;AAAA,EACT;AAHO,EAAAA,uBAAS;AAIT,WAAS,SAAS,KAAoC;AAAE,WAAO;AAAA,EAAK;AAApE,EAAAA,uBAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,yBAAyB,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AACvG,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,uBAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,yBAAV;AACE,WAAS,aAAa,OAAoC;AAC/D,qBAAiB,OAAO,uBAAuB,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AACrG,WAAO;AAAA,EACT;AAHO,EAAAA,qBAAS;AAIT,WAAS,SAAS,KAAkC;AAAE,WAAO;AAAA,EAAK;AAAlE,EAAAA,qBAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,uBAAuB,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AACrG,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,qBAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,6BAAV;AACE,WAAS,aAAa,OAAwC;AACnE,qBAAiB,OAAO,2BAA2B,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AACzG,WAAO;AAAA,EACT;AAHO,EAAAA,yBAAS;AAIT,WAAS,SAAS,KAAsC;AAAE,WAAO;AAAA,EAAK;AAAtE,EAAAA,yBAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,2BAA2B,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AACzG,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,yBAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,mBAAV;AACE,WAAS,aAAa,OAA8B;AACzD,qBAAiB,OAAO,iBAAiB,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AAC/F,WAAO;AAAA,EACT;AAHO,EAAAA,eAAS;AAIT,WAAS,SAAS,KAA4B;AAAE,WAAO;AAAA,EAAK;AAA5D,EAAAA,eAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,iBAAiB,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AAC/F,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,eAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,gBAAV;AACE,WAAS,aAAa,OAA2B;AACtD,WAAO;AAAA,EACT;AAFO,EAAAA,YAAS;AAGT,WAAS,SAAS,KAAyB;AAAE,WAAO;AAAA,EAAK;AAAzD,EAAAA,YAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,WAAO;AAAA,EACT;AAFO,EAAAA,YAAS;AAAA,GALD;AAUV,IAAU;AAAA,CAAV,CAAUC,eAAV;AACE,WAAS,aAAa,OAA0B;AACrD,WAAO;AAAA,EACT;AAFO,EAAAA,WAAS;AAGT,WAAS,SAAS,KAAwB;AAAE,WAAO;AAAA,EAAK;AAAxD,EAAAA,WAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,WAAO;AAAA,EACT;AAFO,EAAAA,WAAS;AAAA,GALD;AAUV,IAAU;AAAA,CAAV,CAAUC,wBAAV;AACE,WAAS,aAAa,OAAmC;AAC9D,qBAAiB,OAAO,sBAAsB,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AACpG,WAAO;AAAA,EACT;AAHO,EAAAA,oBAAS;AAIT,WAAS,SAAS,KAAiC;AAAE,WAAO;AAAA,EAAK;AAAjE,EAAAA,oBAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,sBAAsB,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AACpG,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,oBAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,eAAV;AACE,WAAS,aAAa,OAA0B;AACrD,qBAAiB,OAAO,aAAa,EAAE,SAAS,wEAAwE,CAAC;AACzH,WAAO;AAAA,EACT;AAHO,EAAAA,WAAS;AAIT,WAAS,SAAS,KAAwB;AAAE,WAAO;AAAA,EAAK;AAAxD,EAAAA,WAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,aAAa,EAAE,SAAS,wEAAwE,CAAC;AACzH,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,WAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,YAAV;AACE,WAAS,aAAa,OAAuB;AAClD,WAAO;AAAA,EACT;AAFO,EAAAA,QAAS;AAGT,WAAS,SAAS,KAAqB;AAAE,WAAO;AAAA,EAAK;AAArD,EAAAA,QAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,WAAO;AAAA,EACT;AAFO,EAAAA,QAAS;AAAA,GALD;AAUV,IAAU;AAAA,CAAV,CAAUC,aAAV;AACE,WAAS,aAAa,OAAwB;AACnD,qBAAiB,OAAO,WAAW,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AACzF,WAAO;AAAA,EACT;AAHO,EAAAA,SAAS;AAIT,WAAS,SAAS,KAAsB;AAAE,WAAO;AAAA,EAAK;AAAtD,EAAAA,SAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,WAAW,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AACzF,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,SAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,sBAAV;AACE,WAAS,aAAa,OAAiC;AAC5D,WAAO;AAAA,EACT;AAFO,EAAAA,kBAAS;AAGT,WAAS,SAAS,KAA+B;AAAE,WAAO;AAAA,EAAK;AAA/D,EAAAA,kBAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,WAAO;AAAA,EACT;AAFO,EAAAA,kBAAS;AAAA,GALD;AAUV,IAAU;AAAA,CAAV,CAAUC,iBAAV;AACE,WAAS,aAAa,OAA4B;AACvD,qBAAiB,OAAO,eAAe,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AAC7F,WAAO;AAAA,EACT;AAHO,EAAAA,aAAS;AAIT,WAAS,SAAS,KAA0B;AAAE,WAAO;AAAA,EAAK;AAA1D,EAAAA,aAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,eAAe,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AAC7F,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,aAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,YAAV;AACE,WAAS,aAAa,OAAuB;AAClD,qBAAiB,OAAO,UAAU,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AACxF,WAAO;AAAA,EACT;AAHO,EAAAA,QAAS;AAIT,WAAS,SAAS,KAAqB;AAAE,WAAO;AAAA,EAAK;AAArD,EAAAA,QAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,UAAU,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AACxF,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,QAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,gBAAV;AACE,WAAS,aAAa,OAA2B;AACtD,qBAAiB,OAAO,cAAc,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AAC5F,WAAO;AAAA,EACT;AAHO,EAAAA,YAAS;AAIT,WAAS,SAAS,KAAyB;AAAE,WAAO;AAAA,EAAK;AAAzD,EAAAA,YAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,cAAc,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AAC5F,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,YAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,4BAAV;AACE,WAAS,aAAa,OAAuC;AAClE,qBAAiB,OAAO,0BAA0B,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AACxG,WAAO;AAAA,EACT;AAHO,EAAAA,wBAAS;AAIT,WAAS,SAAS,KAAqC;AAAE,WAAO;AAAA,EAAK;AAArE,EAAAA,wBAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,0BAA0B,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AACxG,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,wBAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,yBAAV;AACE,WAAS,aAAa,OAAoC;AAC/D,qBAAiB,OAAO,uBAAuB,EAAE,SAAS,qCAAqC,WAAW,EAAE,CAAC;AAC7G,WAAO;AAAA,EACT;AAHO,EAAAA,qBAAS;AAIT,WAAS,SAAS,KAAkC;AAAE,WAAO;AAAA,EAAK;AAAlE,EAAAA,qBAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,uBAAuB,EAAE,SAAS,qCAAqC,WAAW,EAAE,CAAC;AAC7G,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,qBAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,0BAAV;AACE,WAAS,aAAa,OAAqC;AAChE,qBAAiB,OAAO,wBAAwB,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AACtG,WAAO;AAAA,EACT;AAHO,EAAAA,sBAAS;AAIT,WAAS,SAAS,KAAmC;AAAE,WAAO;AAAA,EAAK;AAAnE,EAAAA,sBAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,wBAAwB,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AACtG,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,sBAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,wBAAV;AACE,WAAS,aAAa,OAAmC;AAC9D,qBAAiB,OAAO,sBAAsB,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AACpG,WAAO;AAAA,EACT;AAHO,EAAAA,oBAAS;AAIT,WAAS,SAAS,KAAiC;AAAE,WAAO;AAAA,EAAK;AAAjE,EAAAA,oBAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,sBAAsB,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AACpG,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,oBAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,eAAV;AACE,WAAS,aAAa,OAA0B;AACrD,qBAAiB,OAAO,aAAa,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AAC3F,WAAO;AAAA,EACT;AAHO,EAAAA,WAAS;AAIT,WAAS,SAAS,KAAwB;AAAE,WAAO;AAAA,EAAK;AAAxD,EAAAA,WAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,aAAa,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AAC3F,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,WAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,iBAAV;AACE,WAAS,aAAa,OAA4B;AACvD,qBAAiB,OAAO,eAAe,EAAE,SAAS,wEAAwE,CAAC;AAC3H,WAAO;AAAA,EACT;AAHO,EAAAA,aAAS;AAIT,WAAS,SAAS,KAA0B;AAAE,WAAO;AAAA,EAAK;AAA1D,EAAAA,aAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,eAAe,EAAE,SAAS,wEAAwE,CAAC;AAC3H,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,aAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,SAAV;AACE,WAAS,WAAW,OAAoB;AAC7C,qBAAiB,OAAO,OAAO,EAAE,SAAS,qCAAqC,WAAW,GAAG,WAAW,IAAI,CAAC;AAC7G,WAAO;AAAA,EACT;AAHO,EAAAA,KAAS;AAIT,WAAS,SAAS,KAAkB;AAAE,WAAO;AAAA,EAAK;AAAlD,EAAAA,KAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,OAAO,EAAE,SAAS,qCAAqC,WAAW,GAAG,WAAW,IAAI,CAAC;AAC7G,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,KAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,cAAV;AACE,WAAS,aAAa,OAAyB;AACpD,qBAAiB,OAAO,YAAY,EAAE,SAAS,mCAAmC,WAAW,GAAG,WAAW,IAAI,CAAC;AAChH,WAAO;AAAA,EACT;AAHO,EAAAA,UAAS;AAIT,WAAS,SAAS,KAAuB;AAAE,WAAO;AAAA,EAAK;AAAvD,EAAAA,UAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,YAAY,EAAE,SAAS,mCAAmC,WAAW,GAAG,WAAW,IAAI,CAAC;AAChH,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,UAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,cAAV;AACE,WAAS,aAAa,OAAyB;AACpD,qBAAiB,OAAO,YAAY,EAAE,SAAS,mCAAmC,WAAW,GAAG,WAAW,IAAI,CAAC;AAChH,WAAO;AAAA,EACT;AAHO,EAAAA,UAAS;AAIT,WAAS,SAAS,KAAuB;AAAE,WAAO;AAAA,EAAK;AAAvD,EAAAA,UAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,YAAY,EAAE,SAAS,mCAAmC,WAAW,GAAG,WAAW,IAAI,CAAC;AAChH,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,UAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,iBAAV;AACE,WAAS,aAAa,OAA4B;AACvD,qBAAiB,OAAO,eAAe,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AAC7F,WAAO;AAAA,EACT;AAHO,EAAAA,aAAS;AAIT,WAAS,SAAS,KAA0B;AAAE,WAAO;AAAA,EAAK;AAA1D,EAAAA,aAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,eAAe,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AAC7F,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,aAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,iBAAV;AACE,WAAS,aAAa,OAA4B;AACvD,qBAAiB,OAAO,eAAe,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AAC7F,WAAO;AAAA,EACT;AAHO,EAAAA,aAAS;AAIT,WAAS,SAAS,KAA0B;AAAE,WAAO;AAAA,EAAK;AAA1D,EAAAA,aAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,eAAe,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AAC7F,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,aAAS;AAAA,GAND;;;AC1ohBjB,IAAO,gBAAQ;","names":["AuditLogEntityKey","AuditLogKey","AuthorizationKey","BatchOperationKey","BusinessId","ConditionalEvaluationKey","DecisionDefinitionId","DecisionDefinitionKey","DecisionEvaluationInstanceKey","DecisionEvaluationKey","DecisionInstanceKey","DecisionRequirementsKey","DeploymentKey","DocumentId","ElementId","ElementInstanceKey","EndCursor","FormId","FormKey","GlobalListenerId","IncidentKey","JobKey","MessageKey","MessageSubscriptionKey","ProcessDefinitionId","ProcessDefinitionKey","ProcessInstanceKey","SignalKey","StartCursor","Tag","TenantId","Username","UserTaskKey","VariableKey"]}
|
|
1
|
+
{"version":3,"sources":["../src/loose.ts","../src/gen/types.gen.ts","../src/resultClient.ts","../src/index.ts"],"sourcesContent":["// Factory producing a client with all CamundaKey<T>-branded string types downgraded to plain string.\n// Purely a type-level transformation: runtime behavior identical to createCamundaClient.\n\nimport type { CancelablePromise } from './gen/CamundaClient';\nimport { createCamundaClient } from './gen/CamundaClient';\n\n// Detect a branded string of the form string & { readonly __brand: ... }\ntype IsBrandedKey<T> = T extends string & { readonly __brand: infer _B } ? true : false;\n\n// Transform function parameters & return types recursively.\n// We handle promises, arrays, readonly arrays, objects, and functions.\n// Note: We relax types only (brand -> string) so casting is safe.\nexport type Loose<T> =\n // Branded key -> plain string\n IsBrandedKey<T> extends true\n ? string\n : // Preserve cancelable promise wrapper while loosening inner payload\n T extends CancelablePromise<infer P>\n ? CancelablePromise<Loose<P>>\n : // Generic promise unwrap & rewrap\n T extends Promise<infer P>\n ? Promise<Loose<P>>\n : // Arrays\n T extends (infer U)[]\n ? Loose<U>[]\n : T extends ReadonlyArray<infer U>\n ? ReadonlyArray<Loose<U>>\n : // Functions\n T extends (...a: infer A) => infer R\n ? (...a: { [I in keyof A]: Loose<A[I]> }) => Loose<R>\n : // Objects (exclude primitives/Date/etc.)\n T extends object\n ? { [K in keyof T]: Loose<T[K]> }\n : // Fallback: leave as-is\n T;\n\n/**\n * Create a client where all branded key types are widened to string.\n * Use when integrating with external systems or when dynamic string keys are common and brand friction is unwanted.\n * For maximum type safety prefer the strict createCamundaClient.\n */\nexport function createCamundaClientLoose(\n ...args: Parameters<typeof createCamundaClient>\n): Loose<ReturnType<typeof createCamundaClient>> {\n const strict = createCamundaClient(...args);\n return strict as unknown as Loose<ReturnType<typeof createCamundaClient>>;\n}\n\nexport type CamundaClientLoose = ReturnType<typeof createCamundaClientLoose>;\n","// This file is auto-generated by @hey-api/openapi-ts\n\nexport type CamundaKey< T extends string = string > = string & { readonly __brand: T };\n// branding-plugin patch: applied primitive branding\n\nexport type ClientOptions = {\n baseUrl: '{schema}://{host}:{port}/v2' | (string & {});\n};\n\n/**\n * Audit log item.\n */\nexport type AuditLogResult = {\n /**\n * The unique key of the audit log entry.\n */\n auditLogKey: AuditLogKey;\n entityKey: AuditLogEntityKey;\n entityType: AuditLogEntityTypeEnum;\n operationType: AuditLogOperationTypeEnum;\n /**\n * Key of the batch operation.\n */\n batchOperationKey: BatchOperationKey | null;\n /**\n * The type of batch operation performed, if this is part of a batch.\n */\n batchOperationType: BatchOperationTypeEnum | null;\n /**\n * The timestamp when the operation occurred.\n */\n timestamp: string;\n /**\n * The ID of the actor who performed the operation.\n */\n actorId: string | null;\n /**\n * The type of the actor who performed the operation.\n */\n actorType: AuditLogActorTypeEnum | null;\n /**\n * The element ID of the agent that performed the operation (e.g. ad-hoc subprocess element ID).\n */\n agentElementId: string | null;\n /**\n * The tenant ID of the audit log.\n */\n tenantId: TenantId | null;\n result: AuditLogResultEnum;\n category: AuditLogCategoryEnum;\n /**\n * The process definition ID.\n */\n processDefinitionId: ProcessDefinitionId | null;\n /**\n * The key of the process definition.\n */\n processDefinitionKey: ProcessDefinitionKey | null;\n /**\n * The key of the process instance.\n */\n processInstanceKey: ProcessInstanceKey | null;\n /**\n * The key of the root process instance. The root process instance is the top-level\n * ancestor in the process instance hierarchy. This field is only present for data\n * belonging to process instance hierarchies created in version 8.9 or later.\n *\n */\n rootProcessInstanceKey: ProcessInstanceKey | null;\n /**\n * The key of the element instance.\n */\n elementInstanceKey: ElementInstanceKey | null;\n /**\n * The key of the job.\n */\n jobKey: JobKey | null;\n /**\n * The key of the user task.\n */\n userTaskKey: UserTaskKey | null;\n /**\n * The decision requirements ID.\n */\n decisionRequirementsId: string | null;\n /**\n * The assigned key of the decision requirements.\n */\n decisionRequirementsKey: DecisionRequirementsKey | null;\n /**\n * The decision definition ID.\n */\n decisionDefinitionId: DecisionDefinitionId | null;\n /**\n * The key of the decision definition.\n */\n decisionDefinitionKey: DecisionDefinitionKey | null;\n /**\n * The key of the decision evaluation.\n */\n decisionEvaluationKey: DecisionEvaluationKey | null;\n /**\n * The key of the deployment.\n */\n deploymentKey: DeploymentKey | null;\n /**\n * The key of the form.\n */\n formKey: FormKey | null;\n /**\n * The system-assigned key for this resource.\n */\n resourceKey: ResourceKey | null;\n /**\n * The key of the related entity. The content depends on the operation type and entity type.\n * For example, for authorization operations, this will contain the ID of the owner (e.g., user or group) the authorization belongs to.\n *\n */\n relatedEntityKey: AuditLogEntityKey | null;\n /**\n * The type of the related entity. The content depends on the operation type and entity type.\n * For example, for authorization operations, this will contain the type of the owner (e.g., USER or GROUP) the authorization belongs to.\n *\n */\n relatedEntityType: AuditLogEntityTypeEnum | null;\n /**\n * Additional description of the entity affected by the operation.\n * For example, for variable operations, this will contain the variable name.\n *\n */\n entityDescription: string | null;\n};\n\nexport type AuditLogSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'actorId' | 'actorType' | 'auditLogKey' | 'batchOperationKey' | 'batchOperationType' | 'category' | 'decisionDefinitionId' | 'decisionDefinitionKey' | 'decisionEvaluationKey' | 'decisionRequirementsId' | 'decisionRequirementsKey' | 'elementInstanceKey' | 'entityKey' | 'entityType' | 'jobKey' | 'operationType' | 'processDefinitionId' | 'processDefinitionKey' | 'processInstanceKey' | 'result' | 'tenantId' | 'timestamp' | 'userTaskKey';\n order?: SortOrderEnum;\n};\n\n/**\n * Audit log search request.\n */\nexport type AuditLogSearchQueryRequest = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<AuditLogSearchQuerySortRequest>;\n /**\n * The audit log search filters.\n */\n filter?: AuditLogFilter;\n};\n\n/**\n * Audit log filter request\n */\nexport type AuditLogFilter = {\n /**\n * The audit log key search filter.\n */\n auditLogKey?: AuditLogKeyFilterProperty;\n /**\n * The process definition key search filter.\n */\n processDefinitionKey?: ProcessDefinitionKeyFilterProperty;\n /**\n * The process instance key search filter.\n */\n processInstanceKey?: ProcessInstanceKeyFilterProperty;\n /**\n * The element instance key search filter.\n */\n elementInstanceKey?: ElementInstanceKeyFilterProperty;\n /**\n * The operation type search filter.\n */\n operationType?: OperationTypeFilterProperty;\n /**\n * The result search filter.\n */\n result?: AuditLogResultFilterProperty;\n /**\n * The timestamp search filter.\n */\n timestamp?: DateTimeFilterProperty;\n /**\n * The actor ID search filter.\n */\n actorId?: StringFilterProperty;\n /**\n * The actor type search filter.\n */\n actorType?: AuditLogActorTypeFilterProperty;\n /**\n * The agent element ID search filter.\n */\n agentElementId?: StringFilterProperty;\n /**\n * The entity key search filter.\n */\n entityKey?: AuditLogEntityKeyFilterProperty;\n /**\n * The entity type search filter.\n */\n entityType?: EntityTypeFilterProperty;\n /**\n * The tenant ID search filter.\n */\n tenantId?: StringFilterProperty;\n /**\n * The category search filter.\n */\n category?: CategoryFilterProperty;\n /**\n * The deployment key search filter.\n */\n deploymentKey?: DeploymentKeyFilterProperty;\n /**\n * The form key search filter.\n */\n formKey?: FormKeyFilterProperty;\n /**\n * The resource key search filter.\n */\n resourceKey?: ResourceKeyFilterProperty;\n /**\n * The batch operation type search filter.\n */\n batchOperationType?: BatchOperationTypeFilterProperty;\n /**\n * The process definition ID search filter.\n */\n processDefinitionId?: StringFilterProperty;\n /**\n * The job key search filter.\n */\n jobKey?: JobKeyFilterProperty;\n /**\n * The user task key search filter.\n */\n userTaskKey?: BasicStringFilterProperty;\n /**\n * The decision requirements ID search filter.\n */\n decisionRequirementsId?: StringFilterProperty;\n /**\n * The decision requirements key search filter.\n */\n decisionRequirementsKey?: DecisionRequirementsKeyFilterProperty;\n /**\n * The decision definition ID search filter.\n */\n decisionDefinitionId?: StringFilterProperty;\n /**\n * The decision definition key search filter.\n */\n decisionDefinitionKey?: DecisionDefinitionKeyFilterProperty;\n /**\n * The decision evaluation key search filter.\n */\n decisionEvaluationKey?: DecisionEvaluationKeyFilterProperty;\n /**\n * The related entity key search filter.\n */\n relatedEntityKey?: AuditLogEntityKeyFilterProperty;\n /**\n * The related entity type search filter.\n */\n relatedEntityType?: EntityTypeFilterProperty;\n /**\n * The entity description filter.\n */\n entityDescription?: StringFilterProperty;\n};\n\n/**\n * Audit log search response.\n */\nexport type AuditLogSearchQueryResult = SearchQueryResponse & {\n /**\n * The matching audit logs.\n */\n items: Array<AuditLogResult>;\n};\n\n/**\n * System-generated entity key for an audit log entry.\n */\nexport type AuditLogEntityKey = CamundaKey<'AuditLogEntityKey'>;\n\n/**\n * The type of entity affected by the operation.\n */\nexport type AuditLogEntityTypeEnum = 'AUTHORIZATION' | 'BATCH' | 'DECISION' | 'GROUP' | 'INCIDENT' | 'JOB' | 'MAPPING_RULE' | 'PROCESS_INSTANCE' | 'RESOURCE' | 'ROLE' | 'TENANT' | 'USER' | 'USER_TASK' | 'VARIABLE' | 'CLIENT';\n\n/**\n * The type of operation performed.\n */\nexport type AuditLogOperationTypeEnum = 'ASSIGN' | 'CANCEL' | 'COMPLETE' | 'CREATE' | 'DELETE' | 'EVALUATE' | 'MIGRATE' | 'MODIFY' | 'RESOLVE' | 'RESUME' | 'SUSPEND' | 'UNASSIGN' | 'UNKNOWN' | 'UPDATE';\n\n/**\n * The type of actor who performed the operation.\n */\nexport type AuditLogActorTypeEnum = 'ANONYMOUS' | 'CLIENT' | 'UNKNOWN' | 'USER';\n\n/**\n * The result status of the operation.\n */\nexport type AuditLogResultEnum = 'FAIL' | 'SUCCESS';\n\n/**\n * The category of the audit log operation.\n */\nexport type AuditLogCategoryEnum = 'ADMIN' | 'DEPLOYED_RESOURCES' | 'USER_TASKS';\n\n/**\n * EntityKey property with full advanced search capabilities.\n */\nexport type AuditLogEntityKeyFilterProperty = AuditLogEntityKeyExactMatch | AdvancedAuditLogEntityKeyFilter;\n\n/**\n * Advanced filter\n *\n * Advanced entityKey filter.\n */\nexport type AdvancedAuditLogEntityKeyFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: AuditLogEntityKey;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: AuditLogEntityKey;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<AuditLogEntityKey>;\n /**\n * Checks if the property matches none of the provided values.\n */\n $notIn?: Array<AuditLogEntityKey>;\n};\n\n/**\n * AuditLogEntityTypeEnum property with full advanced search capabilities.\n */\nexport type EntityTypeFilterProperty = EntityTypeExactMatch | AdvancedEntityTypeFilter;\n\n/**\n * Advanced filter\n *\n * Advanced AuditLogEntityTypeEnum filter.\n */\nexport type AdvancedEntityTypeFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: AuditLogEntityTypeEnum;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: AuditLogEntityTypeEnum;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<AuditLogEntityTypeEnum>;\n $like?: LikeFilter;\n};\n\n/**\n * AuditLogOperationTypeEnum property with full advanced search capabilities.\n */\nexport type OperationTypeFilterProperty = OperationTypeExactMatch | AdvancedOperationTypeFilter;\n\n/**\n * Advanced filter\n *\n * Advanced AuditLogOperationTypeEnum filter.\n */\nexport type AdvancedOperationTypeFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: AuditLogOperationTypeEnum;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: AuditLogOperationTypeEnum;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<AuditLogOperationTypeEnum>;\n $like?: LikeFilter;\n};\n\n/**\n * AuditLogCategoryEnum property with full advanced search capabilities.\n */\nexport type CategoryFilterProperty = CategoryExactMatch | AdvancedCategoryFilter;\n\n/**\n * Advanced filter\n *\n * Advanced AuditLogCategoryEnum filter.\n */\nexport type AdvancedCategoryFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: AuditLogCategoryEnum;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: AuditLogCategoryEnum;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<AuditLogCategoryEnum>;\n $like?: LikeFilter;\n};\n\n/**\n * AuditLogResultEnum property with full advanced search capabilities.\n */\nexport type AuditLogResultFilterProperty = AuditLogResultExactMatch | AdvancedResultFilter;\n\n/**\n * Advanced filter\n *\n * Advanced AuditLogResultEnum filter.\n */\nexport type AdvancedResultFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: AuditLogResultEnum;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: AuditLogResultEnum;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<AuditLogResultEnum>;\n $like?: LikeFilter;\n};\n\n/**\n * AuditLogActorTypeEnum property with full advanced search capabilities.\n */\nexport type AuditLogActorTypeFilterProperty = AuditLogActorTypeExactMatch | AdvancedActorTypeFilter;\n\n/**\n * Advanced filter\n *\n * Advanced AuditLogActorTypeEnum filter.\n */\nexport type AdvancedActorTypeFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: AuditLogActorTypeEnum;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: AuditLogActorTypeEnum;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<AuditLogActorTypeEnum>;\n $like?: LikeFilter;\n};\n\nexport type CamundaUserResult = {\n /**\n * The username of the user.\n */\n username: Username | null;\n /**\n * The display name of the user.\n */\n displayName: string | null;\n /**\n * The email of the user.\n */\n email: string | null;\n /**\n * The web components the user is authorized to use.\n */\n authorizedComponents: Array<string>;\n /**\n * The tenants the user is a member of.\n */\n tenants: Array<TenantResult>;\n /**\n * The groups assigned to the user.\n */\n groups: Array<string>;\n /**\n * The roles assigned to the user.\n */\n roles: Array<string>;\n /**\n * The plan of the user.\n */\n salesPlanType: string | null;\n /**\n * The links to the components in the C8 stack.\n */\n c8Links: {\n [key: string]: string;\n };\n /**\n * Flag for understanding if the user is able to perform logout.\n */\n canLogout: boolean;\n};\n\nexport type AuthorizationIdBasedRequest = {\n /**\n * The ID of the owner of the permissions.\n */\n ownerId: string;\n ownerType: OwnerTypeEnum;\n /**\n * The ID of the resource to add permissions to.\n */\n resourceId: string;\n /**\n * The type of resource to add permissions to.\n */\n resourceType: ResourceTypeEnum;\n /**\n * The permission types to add.\n */\n permissionTypes: Array<PermissionTypeEnum>;\n};\n\nexport type AuthorizationPropertyBasedRequest = {\n /**\n * The ID of the owner of the permissions.\n */\n ownerId: string;\n ownerType: OwnerTypeEnum;\n /**\n * The name of the resource property on which this authorization is based.\n */\n resourcePropertyName: string;\n /**\n * The type of resource to add permissions to.\n */\n resourceType: ResourceTypeEnum;\n /**\n * The permission types to add.\n */\n permissionTypes: Array<PermissionTypeEnum>;\n};\n\n/**\n * Defines an authorization request.\n * Either an id-based or a property-based authorization can be provided.\n *\n */\nexport type AuthorizationRequest = AuthorizationIdBasedRequest | AuthorizationPropertyBasedRequest;\n\nexport type AuthorizationSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'ownerId' | 'ownerType' | 'resourceId' | 'resourcePropertyName' | 'resourceType';\n order?: SortOrderEnum;\n};\n\nexport type AuthorizationSearchQuery = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<AuthorizationSearchQuerySortRequest>;\n /**\n * The authorization search filters.\n */\n filter?: AuthorizationFilter;\n};\n\n/**\n * Authorization search filter.\n */\nexport type AuthorizationFilter = {\n /**\n * The ID of the owner of permissions.\n */\n ownerId?: string;\n ownerType?: OwnerTypeEnum;\n /**\n * The IDs of the resource to search permissions for.\n */\n resourceIds?: Array<string>;\n /**\n * The names of the resource properties to search permissions for.\n */\n resourcePropertyNames?: Array<string>;\n /**\n * The type of resource to search permissions for.\n */\n resourceType?: ResourceTypeEnum;\n};\n\nexport type AuthorizationResult = {\n /**\n * The ID of the owner of permissions.\n */\n ownerId: string;\n ownerType: OwnerTypeEnum;\n /**\n * The type of resource that the permissions relate to.\n */\n resourceType: ResourceTypeEnum;\n /**\n * ID of the resource the permission relates to (mutually exclusive with `resourcePropertyName`).\n */\n resourceId: string | null;\n /**\n * The name of the resource property the permission relates to (mutually exclusive with `resourceId`).\n */\n resourcePropertyName: string | null;\n /**\n * Specifies the types of the permissions.\n */\n permissionTypes: Array<PermissionTypeEnum>;\n /**\n * The key of the authorization.\n */\n authorizationKey: AuthorizationKey;\n};\n\nexport type AuthorizationSearchResult = SearchQueryResponse & {\n /**\n * The matching authorizations.\n */\n items: Array<AuthorizationResult>;\n};\n\nexport type AuthorizationCreateResult = {\n /**\n * The key of the created authorization.\n */\n authorizationKey: AuthorizationKey;\n};\n\n/**\n * Specifies the type of permissions.\n */\nexport type PermissionTypeEnum = 'ACCESS' | 'CANCEL_PROCESS_INSTANCE' | 'CLAIM' | 'CLAIM_USER_TASK' | 'COMPLETE' | 'COMPLETE_USER_TASK' | 'CREATE' | 'CREATE_BATCH_OPERATION_CANCEL_PROCESS_INSTANCE' | 'CREATE_BATCH_OPERATION_DELETE_DECISION_DEFINITION' | 'CREATE_BATCH_OPERATION_DELETE_DECISION_INSTANCE' | 'CREATE_BATCH_OPERATION_DELETE_PROCESS_DEFINITION' | 'CREATE_BATCH_OPERATION_DELETE_PROCESS_INSTANCE' | 'CREATE_BATCH_OPERATION_MIGRATE_PROCESS_INSTANCE' | 'CREATE_BATCH_OPERATION_MODIFY_PROCESS_INSTANCE' | 'CREATE_BATCH_OPERATION_RESOLVE_INCIDENT' | 'CREATE_DECISION_INSTANCE' | 'CREATE_PROCESS_INSTANCE' | 'CREATE_TASK_LISTENER' | 'DELETE' | 'DELETE_DECISION_INSTANCE' | 'DELETE_DRD' | 'DELETE_FORM' | 'DELETE_PROCESS' | 'DELETE_PROCESS_INSTANCE' | 'DELETE_RESOURCE' | 'DELETE_TASK_LISTENER' | 'EVALUATE' | 'MODIFY_PROCESS_INSTANCE' | 'READ' | 'READ_DECISION_DEFINITION' | 'READ_DECISION_INSTANCE' | 'READ_JOB_METRIC' | 'READ_PROCESS_DEFINITION' | 'READ_PROCESS_INSTANCE' | 'READ_USAGE_METRIC' | 'READ_USER_TASK' | 'READ_TASK_LISTENER' | 'UPDATE' | 'UPDATE_PROCESS_INSTANCE' | 'UPDATE_USER_TASK' | 'UPDATE_TASK_LISTENER';\n\n/**\n * The type of resource to add/remove permissions to/from.\n */\nexport type ResourceTypeEnum = 'AUDIT_LOG' | 'AUTHORIZATION' | 'BATCH' | 'CLUSTER_VARIABLE' | 'COMPONENT' | 'DECISION_DEFINITION' | 'DECISION_REQUIREMENTS_DEFINITION' | 'DOCUMENT' | 'EXPRESSION' | 'GLOBAL_LISTENER' | 'GROUP' | 'MAPPING_RULE' | 'MESSAGE' | 'PROCESS_DEFINITION' | 'RESOURCE' | 'ROLE' | 'SYSTEM' | 'TENANT' | 'USER' | 'USER_TASK';\n\n/**\n * The type of the owner of permissions.\n */\nexport type OwnerTypeEnum = 'USER' | 'CLIENT' | 'ROLE' | 'GROUP' | 'MAPPING_RULE' | 'UNSPECIFIED';\n\n/**\n * System-generated key for an authorization.\n */\nexport type AuthorizationKey = CamundaKey<'AuthorizationKey'>;\n\n/**\n * The created batch operation.\n */\nexport type BatchOperationCreatedResult = {\n /**\n * Key of the batch operation.\n */\n batchOperationKey: BatchOperationKey;\n batchOperationType: BatchOperationTypeEnum;\n};\n\nexport type BatchOperationSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'batchOperationKey' | 'operationType' | 'state' | 'startDate' | 'endDate' | 'actorType' | 'actorId';\n order?: SortOrderEnum;\n};\n\n/**\n * Batch operation search request.\n */\nexport type BatchOperationSearchQuery = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<BatchOperationSearchQuerySortRequest>;\n /**\n * The batch operation search filters.\n */\n filter?: BatchOperationFilter;\n};\n\n/**\n * Batch operation filter request.\n */\nexport type BatchOperationFilter = {\n /**\n * The key (or operate legacy ID) of the batch operation.\n */\n batchOperationKey?: BasicStringFilterProperty;\n /**\n * The type of the batch operation.\n */\n operationType?: BatchOperationTypeFilterProperty;\n /**\n * The state of the batch operation.\n */\n state?: BatchOperationStateFilterProperty;\n /**\n * The type of the actor who performed the operation.\n */\n actorType?: AuditLogActorTypeEnum;\n /**\n * The ID of the actor who performed the operation.\n */\n actorId?: StringFilterProperty;\n};\n\n/**\n * The batch operation search query result.\n */\nexport type BatchOperationSearchQueryResult = SearchQueryResponse & {\n /**\n * The matching batch operations.\n */\n items: Array<BatchOperationResponse>;\n};\n\nexport type BatchOperationResponse = {\n /**\n * Key or (Operate Legacy ID = UUID) of the batch operation.\n */\n batchOperationKey: BatchOperationKey;\n state: BatchOperationStateEnum;\n batchOperationType: BatchOperationTypeEnum;\n /**\n * The start date of the batch operation.\n * This is `null` if the batch operation has not yet started.\n *\n */\n startDate: string | null;\n /**\n * The end date of the batch operation.\n * This is `null` if the batch operation is still running.\n *\n */\n endDate: string | null;\n /**\n * The type of the actor who performed the operation.\n * This is `null` if the batch operation was created before 8.9,\n * or if the actor information is not available.\n *\n */\n actorType: AuditLogActorTypeEnum | null;\n /**\n * The ID of the actor who performed the operation. Available for batch operations created since 8.9.\n */\n actorId: string | null;\n /**\n * The total number of items contained in this batch operation.\n */\n operationsTotalCount: number;\n /**\n * The number of items which failed during execution of the batch operation. (e.g. because they are rejected by the Zeebe engine).\n */\n operationsFailedCount: number;\n /**\n * The number of successfully completed tasks.\n */\n operationsCompletedCount: number;\n /**\n * The errors that occurred per partition during the batch operation.\n */\n errors: Array<BatchOperationError>;\n};\n\nexport type BatchOperationError = {\n /**\n * The partition ID where the error occurred.\n */\n partitionId: number;\n /**\n * The type of the error that occurred during the batch operation.\n */\n type: 'QUERY_FAILED' | 'RESULT_BUFFER_SIZE_EXCEEDED';\n /**\n * The error message that occurred during the batch operation.\n */\n message: string;\n};\n\nexport type BatchOperationItemSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'batchOperationKey' | 'itemKey' | 'processInstanceKey' | 'processedDate' | 'state';\n order?: SortOrderEnum;\n};\n\n/**\n * Batch operation item search request.\n */\nexport type BatchOperationItemSearchQuery = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<BatchOperationItemSearchQuerySortRequest>;\n /**\n * The batch operation item search filters.\n */\n filter?: BatchOperationItemFilter;\n};\n\n/**\n * Batch operation item filter request.\n */\nexport type BatchOperationItemFilter = {\n /**\n * The key (or operate legacy ID) of the batch operation.\n */\n batchOperationKey?: BasicStringFilterProperty;\n /**\n * The key of the item, e.g. a process instance key.\n */\n itemKey?: BasicStringFilterProperty;\n /**\n * The process instance key of the processed item.\n */\n processInstanceKey?: ProcessInstanceKeyFilterProperty;\n /**\n * The state of the batch operation.\n */\n state?: BatchOperationItemStateFilterProperty;\n /**\n * The type of the batch operation.\n */\n operationType?: BatchOperationTypeFilterProperty;\n};\n\nexport type BatchOperationItemSearchQueryResult = SearchQueryResponse & {\n /**\n * The matching batch operation items.\n */\n items: Array<BatchOperationItemResponse>;\n};\n\nexport type BatchOperationItemResponse = {\n operationType: BatchOperationTypeEnum;\n /**\n * The key (or operate legacy ID) of the batch operation.\n */\n batchOperationKey: BatchOperationKey;\n /**\n * Key of the item, e.g. a process instance key.\n */\n itemKey: string;\n /**\n * the process instance key of the processed item.\n */\n processInstanceKey: ProcessInstanceKey;\n /**\n * The key of the root process instance. The root process instance is the top-level\n * ancestor in the process instance hierarchy. This field is only present for data\n * belonging to process instance hierarchies created in version 8.9 or later.\n *\n */\n rootProcessInstanceKey: ProcessInstanceKey | null;\n /**\n * State of the item.\n */\n state: 'ACTIVE' | 'COMPLETED' | 'SKIPPED' | 'CANCELED' | 'FAILED';\n /**\n * The date this item was processed.\n * This is `null` if the item has not yet been processed.\n *\n */\n processedDate: string | null;\n /**\n * The error message from the engine in case of a failed operation.\n */\n errorMessage: string | null;\n};\n\n/**\n * The decision instance filter that defines which decision instances should be deleted.\n */\nexport type DecisionInstanceDeletionBatchOperationRequest = {\n /**\n * The decision instance filter.\n */\n filter: DecisionInstanceFilter;\n operationReference?: OperationReference;\n};\n\n/**\n * The process instance filter that defines which process instances should be canceled.\n */\nexport type ProcessInstanceCancellationBatchOperationRequest = {\n /**\n * The process instance filter.\n */\n filter: ProcessInstanceFilter;\n operationReference?: OperationReference;\n};\n\n/**\n * The process instance filter that defines which process instances should have their incidents resolved.\n */\nexport type ProcessInstanceIncidentResolutionBatchOperationRequest = {\n /**\n * The process instance filter.\n */\n filter: ProcessInstanceFilter;\n operationReference?: OperationReference;\n};\n\n/**\n * The process instance filter that defines which process instances should be deleted.\n */\nexport type ProcessInstanceDeletionBatchOperationRequest = {\n /**\n * The process instance filter.\n */\n filter: ProcessInstanceFilter;\n operationReference?: OperationReference;\n};\n\nexport type ProcessInstanceMigrationBatchOperationRequest = {\n /**\n * The process instance filter.\n */\n filter: ProcessInstanceFilter;\n /**\n * The migration plan.\n */\n migrationPlan: ProcessInstanceMigrationBatchOperationPlan;\n operationReference?: OperationReference;\n};\n\n/**\n * The migration instructions describe how to migrate a process instance from one process definition to another.\n *\n */\nexport type ProcessInstanceMigrationBatchOperationPlan = {\n /**\n * The target process definition key.\n */\n targetProcessDefinitionKey: ProcessDefinitionKey;\n /**\n * The mapping instructions.\n */\n mappingInstructions: Array<MigrateProcessInstanceMappingInstruction>;\n};\n\n/**\n * The process instance filter to define on which process instances tokens should be moved,\n * and new element instances should be activated or terminated.\n *\n */\nexport type ProcessInstanceModificationBatchOperationRequest = {\n /**\n * The process instance filter.\n */\n filter: ProcessInstanceFilter;\n /**\n * Instructions for moving tokens between elements.\n */\n moveInstructions: Array<ProcessInstanceModificationMoveBatchOperationInstruction>;\n operationReference?: OperationReference;\n};\n\n/**\n * Instructions describing a move operation. This instruction will terminate all active\n * element instances at `sourceElementId` and activate a new element instance for each\n * terminated one at `targetElementId`. The new element instances are created in the parent\n * scope of the source element instances.\n *\n */\nexport type ProcessInstanceModificationMoveBatchOperationInstruction = {\n /**\n * The source element ID.\n */\n sourceElementId: ElementId;\n /**\n * The target element ID.\n */\n targetElementId: ElementId;\n};\n\n/**\n * The batch operation item state.\n */\nexport type BatchOperationItemStateEnum = 'ACTIVE' | 'COMPLETED' | 'CANCELED' | 'FAILED';\n\n/**\n * The batch operation state.\n */\nexport type BatchOperationStateEnum = 'ACTIVE' | 'CANCELED' | 'COMPLETED' | 'CREATED' | 'FAILED' | 'PARTIALLY_COMPLETED' | 'SUSPENDED';\n\n/**\n * The type of the batch operation.\n */\nexport type BatchOperationTypeEnum = 'ADD_VARIABLE' | 'CANCEL_PROCESS_INSTANCE' | 'DELETE_DECISION_DEFINITION' | 'DELETE_DECISION_INSTANCE' | 'DELETE_PROCESS_DEFINITION' | 'DELETE_PROCESS_INSTANCE' | 'MIGRATE_PROCESS_INSTANCE' | 'MODIFY_PROCESS_INSTANCE' | 'RESOLVE_INCIDENT' | 'UPDATE_VARIABLE';\n\n/**\n * BatchOperationTypeEnum property with full advanced search capabilities.\n */\nexport type BatchOperationTypeFilterProperty = BatchOperationTypeExactMatch | AdvancedBatchOperationTypeFilter;\n\n/**\n * Advanced filter\n *\n * Advanced BatchOperationTypeEnum filter.\n */\nexport type AdvancedBatchOperationTypeFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: BatchOperationTypeEnum;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: BatchOperationTypeEnum;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<BatchOperationTypeEnum>;\n $like?: LikeFilter;\n};\n\n/**\n * BatchOperationStateEnum property with full advanced search capabilities.\n */\nexport type BatchOperationStateFilterProperty = BatchOperationStateExactMatch | AdvancedBatchOperationStateFilter;\n\n/**\n * Advanced filter\n *\n * Advanced BatchOperationStateEnum filter.\n */\nexport type AdvancedBatchOperationStateFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: BatchOperationStateEnum;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: BatchOperationStateEnum;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<BatchOperationStateEnum>;\n $like?: LikeFilter;\n};\n\n/**\n * BatchOperationItemStateEnum property with full advanced search capabilities.\n */\nexport type BatchOperationItemStateFilterProperty = BatchOperationItemStateExactMatch | AdvancedBatchOperationItemStateFilter;\n\n/**\n * Advanced filter\n *\n * Advanced BatchOperationItemStateEnum filter.\n */\nexport type AdvancedBatchOperationItemStateFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: BatchOperationItemStateEnum;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: BatchOperationItemStateEnum;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<BatchOperationItemStateEnum>;\n $like?: LikeFilter;\n};\n\nexport type ClockPinRequest = {\n /**\n * The exact time in epoch milliseconds to which the clock should be pinned.\n */\n timestamp: number;\n};\n\n/**\n * The scope of a cluster variable.\n */\nexport type ClusterVariableScopeEnum = 'GLOBAL' | 'TENANT';\n\nexport type CreateClusterVariableRequest = {\n /**\n * The name of the cluster variable. Must be unique within its scope (global or tenant-specific).\n */\n name: string;\n /**\n * The value of the cluster variable. Can be any JSON object or primitive value. Will be serialized as a JSON string in responses.\n */\n value: {\n [key: string]: unknown;\n };\n};\n\nexport type UpdateClusterVariableRequest = {\n /**\n * The new value of the cluster variable. Can be any JSON object or primitive value. Will be serialized as a JSON string in responses.\n */\n value: {\n [key: string]: unknown;\n };\n};\n\nexport type ClusterVariableResult = ClusterVariableResultBase & {\n /**\n * Full value of this cluster variable.\n */\n value: string;\n};\n\n/**\n * Cluster variable search response item.\n */\nexport type ClusterVariableSearchResult = ClusterVariableResultBase & {\n /**\n * Value of this cluster variable. Can be truncated.\n */\n value: string;\n /**\n * Whether the value is truncated or not.\n */\n isTruncated: boolean;\n};\n\n/**\n * Cluster variable response item.\n */\nexport type ClusterVariableResultBase = {\n /**\n * The name of the cluster variable. Unique within its scope (global or tenant-specific).\n */\n name: string;\n scope: ClusterVariableScopeEnum;\n /**\n * Only provided if the cluster variable scope is TENANT. Null for global scope variables.\n */\n tenantId: string | null;\n};\n\n/**\n * Cluster variable search query request.\n */\nexport type ClusterVariableSearchQueryRequest = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<ClusterVariableSearchQuerySortRequest>;\n /**\n * The cluster variable search filters.\n */\n filter?: ClusterVariableSearchQueryFilterRequest;\n};\n\nexport type ClusterVariableSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'name' | 'value' | 'tenantId' | 'scope';\n order?: SortOrderEnum;\n};\n\n/**\n * Cluster variable filter request.\n */\nexport type ClusterVariableSearchQueryFilterRequest = {\n /**\n * Name of the cluster variable.\n */\n name?: StringFilterProperty;\n /**\n * The value of the cluster variable.\n */\n value?: StringFilterProperty;\n /**\n * The scope filter for cluster variables.\n */\n scope?: ClusterVariableScopeFilterProperty;\n /**\n * Tenant ID of this variable.\n */\n tenantId?: StringFilterProperty;\n /**\n * Filter cluster variables by truncation status of their stored values. When true, returns only variables whose stored values are truncated (i.e., the value exceeds the storage size limit and is truncated in storage). When false, returns only variables with non-truncated stored values. This filter is based on the underlying storage characteristic, not the response format.\n *\n */\n isTruncated?: boolean;\n};\n\n/**\n * ClusterVariableScopeEnum property with full advanced search capabilities.\n */\nexport type ClusterVariableScopeFilterProperty = ClusterVariableScopeExactMatch | AdvancedClusterVariableScopeFilter;\n\n/**\n * Advanced filter\n *\n * Advanced ClusterVariableScopeEnum filter.\n */\nexport type AdvancedClusterVariableScopeFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: ClusterVariableScopeEnum;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: ClusterVariableScopeEnum;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<ClusterVariableScopeEnum>;\n $like?: LikeFilter;\n};\n\n/**\n * Cluster variable search query response.\n */\nexport type ClusterVariableSearchQueryResult = SearchQueryResponse & {\n /**\n * The matching cluster variables.\n */\n items: Array<ClusterVariableSearchResult>;\n};\n\n/**\n * The response of a topology request.\n */\nexport type TopologyResponse = {\n /**\n * A list of brokers that are part of this cluster.\n */\n brokers: Array<BrokerInfo>;\n /**\n * The cluster Id.\n */\n clusterId: string | null;\n /**\n * The number of brokers in the cluster.\n */\n clusterSize: number;\n /**\n * The number of partitions are spread across the cluster.\n */\n partitionsCount: number;\n /**\n * The configured replication factor for this cluster.\n */\n replicationFactor: number;\n /**\n * The version of the Zeebe Gateway.\n */\n gatewayVersion: string;\n /**\n * ID of the last completed change\n */\n lastCompletedChangeId: string;\n};\n\n/**\n * Provides information on a broker node.\n */\nexport type BrokerInfo = {\n /**\n * The unique (within a cluster) node ID for the broker.\n */\n nodeId: number;\n /**\n * The hostname for reaching the broker.\n */\n host: string;\n /**\n * The port for reaching the broker.\n */\n port: number;\n /**\n * A list of partitions managed or replicated on this broker.\n */\n partitions: Array<Partition>;\n /**\n * The broker version.\n */\n version: string;\n};\n\n/**\n * Provides information on a partition within a broker node.\n */\nexport type Partition = {\n /**\n * The unique ID of this partition.\n */\n partitionId: number;\n /**\n * Describes the Raft role of the broker for a given partition.\n */\n role: 'leader' | 'follower' | 'inactive';\n /**\n * Describes the current health of the partition.\n */\n health: 'healthy' | 'unhealthy' | 'dead';\n};\n\nexport type ConditionalEvaluationInstruction = {\n /**\n * Used to evaluate root-level conditional start events for a tenant with the given ID.\n * This will only evaluate root-level conditional start events of process definitions which belong to the tenant.\n *\n */\n tenantId?: TenantId;\n /**\n * Used to evaluate root-level conditional start events of the process definition with the given key.\n *\n */\n processDefinitionKey?: ProcessDefinitionKey;\n /**\n * JSON object representing the variables to use for evaluation of the conditions and to pass to the process instances that have been triggered.\n *\n */\n variables: {\n [key: string]: unknown;\n };\n};\n\nexport type EvaluateConditionalResult = {\n /**\n * The unique key of the conditional evaluation operation.\n */\n conditionalEvaluationKey: ConditionalEvaluationKey;\n /**\n * The tenant ID of the conditional evaluation operation.\n */\n tenantId: TenantId;\n /**\n * List of process instances created. If no root-level conditional start events evaluated to true, the list will be empty.\n */\n processInstances: Array<ProcessInstanceReference>;\n};\n\n/**\n * System-generated key for a conditional evaluation.\n */\nexport type ConditionalEvaluationKey = CamundaKey<'ConditionalEvaluationKey'>;\n\nexport type ProcessInstanceReference = {\n /**\n * The key of the process definition.\n */\n processDefinitionKey: ProcessDefinitionKey;\n /**\n * The key of the created process instance.\n */\n processInstanceKey: ProcessInstanceKey;\n};\n\n/**\n * The start cursor in a search query result set.\n */\nexport type StartCursor = CamundaKey<'StartCursor'>;\n\n/**\n * The end cursor in a search query result set.\n */\nexport type EndCursor = CamundaKey<'EndCursor'>;\n\nexport type DecisionDefinitionSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'decisionDefinitionKey' | 'decisionDefinitionId' | 'name' | 'version' | 'decisionRequirementsId' | 'decisionRequirementsKey' | 'decisionRequirementsName' | 'decisionRequirementsVersion' | 'tenantId';\n order?: SortOrderEnum;\n};\n\nexport type DecisionDefinitionSearchQuery = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<DecisionDefinitionSearchQuerySortRequest>;\n /**\n * The decision definition search filters.\n */\n filter?: DecisionDefinitionFilter;\n};\n\n/**\n * Decision definition search filter.\n */\nexport type DecisionDefinitionFilter = {\n /**\n * The DMN ID of the decision definition.\n */\n decisionDefinitionId?: DecisionDefinitionId;\n /**\n * The DMN name of the decision definition.\n */\n name?: string;\n /**\n * Whether to only return the latest version of each decision definition.\n * When using this filter, pagination functionality is limited, you can only paginate forward using `after` and `limit`.\n * The response contains no `startCursor` in the `page`, and requests ignore the `from` and `before` in the `page`.\n *\n */\n isLatestVersion?: boolean;\n /**\n * The assigned version of the decision definition.\n */\n version?: number;\n /**\n * the DMN ID of the decision requirements graph that the decision definition is part of.\n */\n decisionRequirementsId?: string;\n /**\n * The tenant ID of the decision definition.\n */\n tenantId?: TenantId;\n /**\n * The assigned key, which acts as a unique identifier for this decision definition.\n */\n decisionDefinitionKey?: DecisionDefinitionKey;\n /**\n * The assigned key of the decision requirements graph that the decision definition is part of.\n */\n decisionRequirementsKey?: DecisionRequirementsKey;\n /**\n * The DMN name of the decision requirements that the decision definition is part of.\n */\n decisionRequirementsName?: string;\n /**\n * The assigned version of the decision requirements that the decision definition is part of.\n */\n decisionRequirementsVersion?: number;\n};\n\nexport type DecisionDefinitionSearchQueryResult = SearchQueryResponse & {\n /**\n * The matching decision definitions.\n */\n items: Array<DecisionDefinitionResult>;\n};\n\nexport type DecisionDefinitionResult = {\n /**\n * The DMN ID of the decision definition.\n */\n decisionDefinitionId: DecisionDefinitionId;\n /**\n * The assigned key, which acts as a unique identifier for this decision definition.\n */\n decisionDefinitionKey: DecisionDefinitionKey;\n /**\n * the DMN ID of the decision requirements graph that the decision definition is part of.\n */\n decisionRequirementsId: string;\n /**\n * The assigned key of the decision requirements graph that the decision definition is part of.\n */\n decisionRequirementsKey: DecisionRequirementsKey;\n /**\n * The DMN name of the decision requirements that the decision definition is part of.\n */\n decisionRequirementsName: string;\n /**\n * The assigned version of the decision requirements that the decision definition is part of.\n */\n decisionRequirementsVersion: number;\n /**\n * The DMN name of the decision definition.\n */\n name: string;\n /**\n * The tenant ID of the decision definition.\n */\n tenantId: TenantId;\n /**\n * The assigned version of the decision definition.\n */\n version: number;\n};\n\nexport type DecisionEvaluationInstruction = DecisionEvaluationById | DecisionEvaluationByKey;\n\n/**\n * Decision evaluation by ID\n */\nexport type DecisionEvaluationById = {\n /**\n * The ID of the decision to be evaluated.\n * When using the decision ID, the latest\n * deployed version of the decision is used.\n *\n */\n decisionDefinitionId: DecisionDefinitionId;\n /**\n * The decision evaluation variables as JSON document.\n */\n variables?: {\n [key: string]: unknown;\n };\n /**\n * The tenant ID of the decision.\n */\n tenantId?: TenantId;\n};\n\n/**\n * Decision evaluation by key\n */\nexport type DecisionEvaluationByKey = {\n decisionDefinitionKey: DecisionDefinitionKey;\n /**\n * The decision evaluation variables as JSON document.\n */\n variables?: {\n [key: string]: unknown;\n };\n /**\n * The tenant ID of the decision.\n */\n tenantId?: TenantId;\n};\n\nexport type EvaluateDecisionResult = {\n /**\n * The ID of the decision which was evaluated.\n */\n decisionDefinitionId: DecisionDefinitionId;\n /**\n * The unique key identifying the decision which was evaluated.\n */\n decisionDefinitionKey: DecisionDefinitionKey;\n /**\n * The name of the decision which was evaluated.\n */\n decisionDefinitionName: string;\n /**\n * The version of the decision which was evaluated.\n */\n decisionDefinitionVersion: number;\n /**\n * The unique key identifying this decision evaluation.\n */\n decisionEvaluationKey: DecisionEvaluationKey;\n /**\n * Deprecated, please refer to `decisionEvaluationKey`.\n *\n * @deprecated\n */\n decisionInstanceKey: DecisionInstanceKey;\n /**\n * The ID of the decision requirements graph that the decision which was evaluated is part of.\n */\n decisionRequirementsId: string;\n /**\n * The unique key identifying the decision requirements graph that the decision which was evaluated is part of.\n */\n decisionRequirementsKey: DecisionRequirementsKey;\n /**\n * Decisions that were evaluated within the requested decision evaluation.\n */\n evaluatedDecisions: Array<EvaluatedDecisionResult>;\n /**\n * The ID of the decision which failed during evaluation.\n */\n failedDecisionDefinitionId: DecisionDefinitionId | null;\n /**\n * Message describing why the decision which was evaluated failed.\n */\n failureMessage: string | null;\n /**\n * JSON document that will instantiate the result of the decision which was evaluated.\n *\n */\n output: string;\n /**\n * The tenant ID of the evaluated decision.\n */\n tenantId: TenantId;\n};\n\n/**\n * A decision that was evaluated.\n */\nexport type EvaluatedDecisionResult = {\n /**\n * The ID of the decision which was evaluated.\n */\n decisionDefinitionId: DecisionDefinitionId;\n /**\n * The name of the decision which was evaluated.\n */\n decisionDefinitionName: string;\n /**\n * The version of the decision which was evaluated.\n */\n decisionDefinitionVersion: number;\n /**\n * The type of the decision which was evaluated.\n */\n decisionDefinitionType: string;\n /**\n * JSON document that will instantiate the result of the decision which was evaluated.\n *\n */\n output: string;\n /**\n * The tenant ID of the evaluated decision.\n */\n tenantId: TenantId;\n /**\n * The decision rules that matched within this decision evaluation.\n */\n matchedRules: Array<MatchedDecisionRuleItem>;\n /**\n * The decision inputs that were evaluated within this decision evaluation.\n */\n evaluatedInputs: Array<EvaluatedDecisionInputItem>;\n /**\n * The unique key identifying the decision which was evaluate.\n */\n decisionDefinitionKey: DecisionDefinitionKey;\n /**\n * The unique key identifying this decision evaluation instance.\n */\n decisionEvaluationInstanceKey: DecisionEvaluationInstanceKey;\n};\n\nexport type DecisionInstanceSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'decisionDefinitionId' | 'decisionDefinitionKey' | 'decisionDefinitionName' | 'decisionDefinitionType' | 'decisionDefinitionVersion' | 'decisionEvaluationInstanceKey' | 'decisionEvaluationKey' | 'elementInstanceKey' | 'evaluationDate' | 'evaluationFailure' | 'processDefinitionKey' | 'processInstanceKey' | 'rootDecisionDefinitionKey' | 'state' | 'tenantId';\n order?: SortOrderEnum;\n};\n\nexport type DecisionInstanceSearchQuery = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<DecisionInstanceSearchQuerySortRequest>;\n /**\n * The decision instance search filters.\n */\n filter?: DecisionInstanceFilter;\n};\n\n/**\n * Decision instance search filter.\n */\nexport type DecisionInstanceFilter = {\n /**\n * The key of the decision evaluation instance.\n */\n decisionEvaluationInstanceKey?: DecisionEvaluationInstanceKeyFilterProperty;\n /**\n * The state of the decision instance.\n */\n state?: DecisionInstanceStateFilterProperty;\n /**\n * The evaluation failure of the decision instance.\n */\n evaluationFailure?: string;\n /**\n * The evaluation date of the decision instance.\n */\n evaluationDate?: DateTimeFilterProperty;\n /**\n * The ID of the DMN decision.\n */\n decisionDefinitionId?: DecisionDefinitionId;\n /**\n * The name of the DMN decision.\n */\n decisionDefinitionName?: string;\n /**\n * The version of the decision.\n */\n decisionDefinitionVersion?: number;\n decisionDefinitionType?: DecisionDefinitionTypeEnum;\n /**\n * The tenant ID of the decision instance.\n */\n tenantId?: TenantId;\n /**\n * The key of the parent decision evaluation. Note that this is not the identifier of an individual decision instance; the `decisionEvaluationInstanceKey` is the identifier for a decision instance.\n *\n */\n decisionEvaluationKey?: DecisionEvaluationKey;\n /**\n * The key of the process definition.\n */\n processDefinitionKey?: ProcessDefinitionKey;\n /**\n * The key of the process instance.\n */\n processInstanceKey?: ProcessInstanceKey;\n /**\n * The key of the decision.\n */\n decisionDefinitionKey?: DecisionDefinitionKeyFilterProperty;\n /**\n * The key of the element instance this decision instance is linked to.\n */\n elementInstanceKey?: ElementInstanceKeyFilterProperty;\n /**\n * The key of the root decision definition.\n */\n rootDecisionDefinitionKey?: DecisionDefinitionKeyFilterProperty;\n /**\n * The key of the decision requirements definition.\n */\n decisionRequirementsKey?: DecisionRequirementsKeyFilterProperty;\n};\n\nexport type DeleteDecisionInstanceRequest = {\n operationReference?: OperationReference;\n} | null;\n\nexport type DecisionInstanceSearchQueryResult = SearchQueryResponse & {\n /**\n * The matching decision instances.\n */\n items: Array<DecisionInstanceResult>;\n};\n\nexport type DecisionInstanceResult = {\n /**\n * The ID of the DMN decision.\n */\n decisionDefinitionId: DecisionDefinitionId;\n /**\n * The key of the decision.\n */\n decisionDefinitionKey: DecisionDefinitionKey;\n /**\n * The name of the DMN decision.\n */\n decisionDefinitionName: string;\n decisionDefinitionType: DecisionDefinitionTypeEnum;\n /**\n * The version of the decision.\n */\n decisionDefinitionVersion: number;\n decisionEvaluationInstanceKey: DecisionEvaluationInstanceKey;\n /**\n * The key of the decision evaluation where this instance was created.\n */\n decisionEvaluationKey: DecisionEvaluationKey;\n /**\n * The key of the element instance this decision instance is linked to.\n */\n elementInstanceKey: ElementInstanceKey | null;\n /**\n * The evaluation date of the decision instance.\n */\n evaluationDate: string;\n /**\n * The evaluation failure of the decision instance.\n */\n evaluationFailure: string | null;\n /**\n * The key of the process definition.\n */\n processDefinitionKey: ProcessDefinitionKey | null;\n /**\n * The key of the process instance.\n */\n processInstanceKey: ProcessInstanceKey | null;\n /**\n * The result of the decision instance.\n */\n result: string;\n /**\n * The key of the root decision definition.\n */\n rootDecisionDefinitionKey: DecisionDefinitionKey;\n /**\n * The key of the root process instance. The root process instance is the top-level\n * ancestor in the process instance hierarchy. This field is only present for data\n * belonging to process instance hierarchies created in version 8.9 or later.\n *\n */\n rootProcessInstanceKey: ProcessInstanceKey | null;\n state: DecisionInstanceStateEnum;\n /**\n * The tenant ID of the decision instance.\n */\n tenantId: TenantId;\n};\n\nexport type DecisionInstanceGetQueryResult = DecisionInstanceResult & {\n /**\n * The evaluated inputs of the decision instance.\n *\n */\n evaluatedInputs: Array<EvaluatedDecisionInputItem>;\n /**\n * The matched rules of the decision instance.\n *\n */\n matchedRules: Array<MatchedDecisionRuleItem>;\n};\n\n/**\n * A decision input that was evaluated within this decision evaluation.\n */\nexport type EvaluatedDecisionInputItem = {\n /**\n * The identifier of the decision input.\n */\n inputId: string;\n /**\n * The name of the decision input.\n */\n inputName: string;\n /**\n * The value of the decision input.\n */\n inputValue: string;\n};\n\n/**\n * The evaluated decision outputs.\n */\nexport type EvaluatedDecisionOutputItem = {\n /**\n * The ID of the evaluated decison output item.\n */\n outputId: string;\n /**\n * The name of the of the evaluated decison output item.\n */\n outputName: string;\n /**\n * The value of the evaluated decison output item.\n */\n outputValue: string;\n /**\n * The ID of the matched rule.\n */\n ruleId: string | null;\n /**\n * The index of the matched rule.\n */\n ruleIndex: number | null;\n};\n\n/**\n * A decision rule that matched within this decision evaluation.\n */\nexport type MatchedDecisionRuleItem = {\n /**\n * The ID of the matched rule.\n */\n ruleId: string;\n /**\n * The index of the matched rule.\n */\n ruleIndex: number;\n /**\n * The evaluated decision outputs.\n */\n evaluatedOutputs: Array<EvaluatedDecisionOutputItem>;\n};\n\n/**\n * The type of the decision. UNSPECIFIED is deprecated and should not be used anymore, for removal in 8.10\n */\nexport type DecisionDefinitionTypeEnum = 'DECISION_TABLE' | 'LITERAL_EXPRESSION' | /** @deprecated since 8.9.0 */ 'UNSPECIFIED' | 'UNKNOWN';\n\n/**\n * The state of the decision instance. UNSPECIFIED and UNKNOWN are deprecated and should not be used anymore, for removal in 8.10\n */\nexport type DecisionInstanceStateEnum = 'EVALUATED' | 'FAILED' | /** @deprecated since 8.9.0 */ 'UNSPECIFIED' | /** @deprecated since 8.9.0 */ 'UNKNOWN';\n\n/**\n * Advanced filter\n *\n * Advanced DecisionInstanceStateEnum filter.\n */\nexport type AdvancedDecisionInstanceStateFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: DecisionInstanceStateEnum;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: DecisionInstanceStateEnum;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<DecisionInstanceStateEnum>;\n /**\n * Checks if the property matches none of the provided values.\n */\n $notIn?: Array<DecisionInstanceStateEnum>;\n $like?: LikeFilter;\n};\n\n/**\n * DecisionInstanceStateEnum property with full advanced search capabilities.\n */\nexport type DecisionInstanceStateFilterProperty = DecisionInstanceStateExactMatch | AdvancedDecisionInstanceStateFilter;\n\nexport type DecisionRequirementsSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'decisionRequirementsKey' | 'decisionRequirementsName' | 'version' | 'decisionRequirementsId' | 'tenantId';\n order?: SortOrderEnum;\n};\n\nexport type DecisionRequirementsSearchQuery = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<DecisionRequirementsSearchQuerySortRequest>;\n /**\n * The decision definition search filters.\n */\n filter?: DecisionRequirementsFilter;\n};\n\n/**\n * Decision requirements search filter.\n */\nexport type DecisionRequirementsFilter = {\n /**\n * The DMN name of the decision requirements.\n */\n decisionRequirementsName?: string;\n /**\n * the DMN ID of the decision requirements.\n */\n decisionRequirementsId?: string;\n decisionRequirementsKey?: DecisionRequirementsKey;\n /**\n * The assigned version of the decision requirements.\n */\n version?: number;\n /**\n * The tenant ID of the decision requirements.\n */\n tenantId?: TenantId;\n /**\n * The name of the resource from which the decision requirements were parsed\n */\n resourceName?: string;\n};\n\nexport type DecisionRequirementsSearchQueryResult = SearchQueryResponse & {\n /**\n * The matching decision requirements.\n */\n items: Array<DecisionRequirementsResult>;\n};\n\nexport type DecisionRequirementsResult = {\n /**\n * The DMN ID of the decision requirements.\n */\n decisionRequirementsId: string;\n /**\n * The assigned key, which acts as a unique identifier for this decision requirements.\n */\n decisionRequirementsKey: DecisionRequirementsKey;\n /**\n * The DMN name of the decision requirements.\n */\n decisionRequirementsName: string;\n /**\n * The name of the resource from which this decision requirements was parsed.\n */\n resourceName: string;\n /**\n * The tenant ID of the decision requirements.\n */\n tenantId: TenantId;\n /**\n * The assigned version of the decision requirements.\n */\n version: number;\n};\n\nexport type DeploymentResult = {\n /**\n * The unique key identifying the deployment.\n */\n deploymentKey: DeploymentKey;\n /**\n * The tenant ID associated with the deployment.\n */\n tenantId: TenantId;\n /**\n * Items deployed by the request.\n */\n deployments: Array<DeploymentMetadataResult>;\n};\n\nexport type DeploymentMetadataResult = {\n /**\n * Deployed process.\n */\n processDefinition: DeploymentProcessResult | null;\n /**\n * Deployed decision.\n */\n decisionDefinition: DeploymentDecisionResult | null;\n /**\n * Deployed decision requirement definition.\n */\n decisionRequirements: DeploymentDecisionRequirementsResult | null;\n /**\n * Deployed form.\n */\n form: DeploymentFormResult | null;\n /**\n * Deployed resource.\n */\n resource: DeploymentResourceResult | null;\n};\n\n/**\n * A deployed process.\n */\nexport type DeploymentProcessResult = {\n /**\n * The bpmn process ID, as parsed during deployment, together with the version forms a\n * unique identifier for a specific process definition.\n *\n */\n processDefinitionId: ProcessDefinitionId;\n /**\n * The assigned process version.\n */\n processDefinitionVersion: number;\n /**\n * The resource name from which this process was parsed.\n */\n resourceName: string;\n /**\n * The tenant ID of the deployed process.\n */\n tenantId: TenantId;\n /**\n * The assigned key, which acts as a unique identifier for this process.\n */\n processDefinitionKey: ProcessDefinitionKey;\n};\n\n/**\n * A deployed decision.\n */\nexport type DeploymentDecisionResult = {\n /**\n * The dmn decision ID, as parsed during deployment, together with the version forms a\n * unique identifier for a specific decision.\n *\n */\n decisionDefinitionId: DecisionDefinitionId;\n /**\n * The assigned decision version.\n */\n version: number;\n /**\n * The DMN name of the decision, as parsed during deployment.\n */\n name: string;\n /**\n * The tenant ID of the deployed decision.\n */\n tenantId: TenantId;\n /**\n * The dmn ID of the decision requirements graph that this decision is part of, as parsed during deployment.\n *\n */\n decisionRequirementsId: string;\n /**\n * The assigned decision key, which acts as a unique identifier for this decision.\n *\n */\n decisionDefinitionKey: DecisionDefinitionKey;\n /**\n * The assigned key of the decision requirements graph that this decision is part of.\n *\n */\n decisionRequirementsKey: DecisionRequirementsKey;\n};\n\n/**\n * Deployed decision requirements.\n */\nexport type DeploymentDecisionRequirementsResult = {\n /**\n * The id of the deployed decision requirements.\n */\n decisionRequirementsId: string;\n /**\n * The name of the deployed decision requirements.\n */\n decisionRequirementsName: string;\n /**\n * The version of the deployed decision requirements.\n */\n version: number;\n /**\n * The name of the resource.\n */\n resourceName: string;\n /**\n * The tenant ID of the deployed decision requirements.\n */\n tenantId: TenantId;\n /**\n * The assigned decision requirements key, which acts as a unique identifier for this decision requirements.\n *\n */\n decisionRequirementsKey: DecisionRequirementsKey;\n};\n\n/**\n * A deployed form.\n */\nexport type DeploymentFormResult = {\n /**\n * The form ID, as parsed during deployment, together with the version forms a\n * unique identifier for a specific form.\n *\n */\n formId: FormId;\n /**\n * The version of the deployed form.\n */\n version: number;\n /**\n * The name of the resource.\n */\n resourceName: string;\n tenantId: TenantId;\n /**\n * The assigned key, which acts as a unique identifier for this form.\n */\n formKey: FormKey;\n};\n\n/**\n * A deployed Resource.\n */\nexport type DeploymentResourceResult = {\n /**\n * The resource id of the deployed resource.\n */\n resourceId: string;\n /**\n * The name of the deployed resource.\n */\n resourceName: string;\n /**\n * The description of the deployed resource.\n */\n version: number;\n tenantId: TenantId;\n /**\n * The assigned key, which acts as a unique identifier for this Resource.\n */\n resourceKey: ResourceKey;\n};\n\nexport type DeleteResourceRequest = {\n operationReference?: OperationReference;\n /**\n * Indicates if the historic data of a process resource should be deleted via a\n * batch operation asynchronously.\n *\n * This flag is only effective for process resources. For other resource types\n * (decisions, forms, generic resources), this flag is ignored and no history\n * will be deleted. In those cases, the `batchOperation` field in the response\n * will not be populated.\n *\n */\n deleteHistory?: boolean;\n} | null;\n\nexport type DeleteResourceResponse = {\n /**\n * The system-assigned key for this resource, requested to be deleted.\n */\n resourceKey: ResourceKey;\n /**\n * The batch operation created for asynchronously deleting the historic data.\n *\n * This field is only populated when the request `deleteHistory` is set to `true` and the resource\n * is a process definition. For other resource types (decisions, forms, generic resources),\n * this field will be `null`.\n *\n */\n batchOperation: BatchOperationCreatedResult | null;\n};\n\nexport type ResourceResult = {\n /**\n * The resource name from which this resource was parsed.\n */\n resourceName: string;\n /**\n * The assigned resource version.\n */\n version: number;\n /**\n * The version tag of this resource.\n */\n versionTag: string | null;\n /**\n * The resource ID of this resource.\n */\n resourceId: string;\n /**\n * The tenant ID of this resource.\n */\n tenantId: TenantId;\n /**\n * The unique key of this resource.\n */\n resourceKey: ResourceKey;\n};\n\n/**\n * Key for a deployment.\n */\nexport type DeploymentKey = CamundaKey<'DeploymentKey'>;\n\n/**\n * The system-assigned key for this resource.\n */\nexport type ResourceKey = ProcessDefinitionKey | DecisionRequirementsKey | FormKey | DecisionDefinitionKey;\n\n/**\n * DeploymentKey property with full advanced search capabilities.\n */\nexport type DeploymentKeyFilterProperty = DeploymentKeyExactMatch | AdvancedDeploymentKeyFilter;\n\n/**\n * Advanced filter\n *\n * Advanced DeploymentKey filter.\n */\nexport type AdvancedDeploymentKeyFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: DeploymentKey;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: DeploymentKey;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<DeploymentKey>;\n /**\n * Checks if the property matches none of the provided values.\n */\n $notIn?: Array<DeploymentKey>;\n};\n\n/**\n * ResourceKey property with full advanced search capabilities.\n */\nexport type ResourceKeyFilterProperty = ResourceKeyExactMatch | AdvancedResourceKeyFilter;\n\n/**\n * Advanced filter\n *\n * Advanced ResourceKey filter.\n */\nexport type AdvancedResourceKeyFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: ResourceKey;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: ResourceKey;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<ResourceKey>;\n /**\n * Checks if the property matches none of the provided values.\n */\n $notIn?: Array<ResourceKey>;\n};\n\nexport type DocumentReference = {\n /**\n * Document discriminator. Always set to \"camunda\".\n */\n 'camunda.document.type': 'camunda';\n /**\n * The ID of the document store.\n */\n storeId: string;\n /**\n * The ID of the document.\n */\n documentId: DocumentId;\n /**\n * The hash of the document.\n */\n contentHash: string | null;\n metadata: DocumentMetadataResponse;\n};\n\nexport type DocumentCreationFailureDetail = {\n /**\n * The name of the file that failed to upload.\n */\n fileName: string;\n /**\n * The HTTP status code of the failure.\n */\n status: number;\n /**\n * A short, human-readable summary of the problem type.\n */\n title: string;\n /**\n * A human-readable explanation specific to this occurrence of the problem.\n */\n detail: string;\n};\n\nexport type DocumentCreationBatchResponse = {\n /**\n * Documents that were successfully created.\n */\n failedDocuments: Array<DocumentCreationFailureDetail>;\n /**\n * Documents that failed creation.\n */\n createdDocuments: Array<DocumentReference>;\n};\n\n/**\n * Information about the document.\n */\nexport type DocumentMetadata = {\n /**\n * The content type of the document.\n */\n contentType?: string;\n /**\n * The name of the file.\n */\n fileName?: string;\n /**\n * The date and time when the document expires.\n */\n expiresAt?: string;\n /**\n * The size of the document in bytes.\n */\n size?: number;\n /**\n * The ID of the process definition that created the document.\n */\n processDefinitionId?: ProcessDefinitionId;\n /**\n * The key of the process instance that created the document.\n */\n processInstanceKey?: ProcessInstanceKey;\n /**\n * Custom properties of the document.\n */\n customProperties?: {\n [key: string]: unknown;\n };\n};\n\n/**\n * Information about the document that is returned in responses.\n */\nexport type DocumentMetadataResponse = {\n /**\n * The content type of the document.\n */\n contentType: string;\n /**\n * The name of the file.\n */\n fileName: string;\n /**\n * The date and time when the document expires.\n */\n expiresAt: string | null;\n /**\n * The size of the document in bytes.\n */\n size: number;\n /**\n * The ID of the process definition that created the document.\n */\n processDefinitionId: ProcessDefinitionId | null;\n /**\n * The key of the process instance that created the document.\n */\n processInstanceKey: ProcessInstanceKey | null;\n /**\n * Custom properties of the document.\n */\n customProperties: {\n [key: string]: unknown;\n };\n};\n\nexport type DocumentLinkRequest = {\n /**\n * The time-to-live of the document link in ms.\n */\n timeToLive?: number;\n};\n\nexport type DocumentLink = {\n /**\n * The link to the document.\n */\n url: string;\n /**\n * The date and time when the link expires.\n */\n expiresAt: string;\n};\n\n/**\n * Document Id that uniquely identifies a document.\n */\nexport type DocumentId = CamundaKey<'DocumentId'>;\n\nexport type ElementInstanceSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'elementInstanceKey' | 'processInstanceKey' | 'processDefinitionKey' | 'processDefinitionId' | 'startDate' | 'endDate' | 'elementId' | 'elementName' | 'type' | 'state' | 'incidentKey' | 'tenantId';\n order?: SortOrderEnum;\n};\n\n/**\n * Element instance search request.\n */\nexport type ElementInstanceSearchQuery = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<ElementInstanceSearchQuerySortRequest>;\n /**\n * The element instance search filters.\n */\n filter?: ElementInstanceFilter;\n};\n\n/**\n * Element instance filter.\n */\nexport type ElementInstanceFilter = {\n /**\n * The process definition ID associated to this element instance.\n */\n processDefinitionId?: ProcessDefinitionId;\n /**\n * State of element instance as defined set of values.\n */\n state?: ElementInstanceStateFilterProperty;\n /**\n * Type of element as defined set of values.\n */\n type?: 'UNSPECIFIED' | 'PROCESS' | 'SUB_PROCESS' | 'EVENT_SUB_PROCESS' | 'AD_HOC_SUB_PROCESS' | 'AD_HOC_SUB_PROCESS_INNER_INSTANCE' | 'START_EVENT' | 'INTERMEDIATE_CATCH_EVENT' | 'INTERMEDIATE_THROW_EVENT' | 'BOUNDARY_EVENT' | 'END_EVENT' | 'SERVICE_TASK' | 'RECEIVE_TASK' | 'USER_TASK' | 'MANUAL_TASK' | 'TASK' | 'EXCLUSIVE_GATEWAY' | 'INCLUSIVE_GATEWAY' | 'PARALLEL_GATEWAY' | 'EVENT_BASED_GATEWAY' | 'SEQUENCE_FLOW' | 'MULTI_INSTANCE_BODY' | 'CALL_ACTIVITY' | 'BUSINESS_RULE_TASK' | 'SCRIPT_TASK' | 'SEND_TASK' | 'UNKNOWN';\n /**\n * The element ID for this element instance.\n */\n elementId?: ElementId;\n /**\n * The element name. This only works for data created with 8.8 and onwards. Instances from prior versions don't contain this data and cannot be found.\n *\n */\n elementName?: string;\n /**\n * Shows whether this element instance has an incident related to.\n */\n hasIncident?: boolean;\n tenantId?: TenantId;\n /**\n * The assigned key, which acts as a unique identifier for this element instance.\n */\n elementInstanceKey?: ElementInstanceKey;\n /**\n * The process instance key associated to this element instance.\n */\n processInstanceKey?: ProcessInstanceKey;\n /**\n * The process definition key associated to this element instance.\n */\n processDefinitionKey?: ProcessDefinitionKey;\n /**\n * The key of incident if field incident is true.\n */\n incidentKey?: IncidentKey;\n /**\n * The start date of this element instance.\n */\n startDate?: DateTimeFilterProperty;\n /**\n * The end date of this element instance.\n */\n endDate?: DateTimeFilterProperty;\n /**\n * The scope key of this element instance. If provided with a process instance key it will return element instances that are immediate children of the process instance. If provided with an element instance key it will return element instances that are immediate children of the element instance.\n *\n */\n elementInstanceScopeKey?: ElementInstanceKey | ProcessInstanceKey;\n};\n\n/**\n * ElementInstanceStateEnum property with full advanced search capabilities.\n */\nexport type ElementInstanceStateFilterProperty = ElementInstanceStateExactMatch | AdvancedElementInstanceStateFilter;\n\n/**\n * Advanced filter\n *\n * Advanced ElementInstanceStateEnum filter.\n */\nexport type AdvancedElementInstanceStateFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: ElementInstanceStateEnum;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: ElementInstanceStateEnum;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<ElementInstanceStateEnum>;\n $like?: LikeFilter;\n};\n\nexport type ElementInstanceSearchQueryResult = SearchQueryResponse & {\n /**\n * The matching element instances.\n */\n items: Array<ElementInstanceResult>;\n};\n\nexport type ElementInstanceResult = {\n /**\n * The process definition ID associated to this element instance.\n */\n processDefinitionId: ProcessDefinitionId;\n /**\n * Date when element instance started.\n */\n startDate: string;\n /**\n * Date when element instance finished.\n */\n endDate: string | null;\n /**\n * The element ID for this element instance.\n */\n elementId: ElementId;\n /**\n * The element name for this element instance.\n */\n elementName: string;\n /**\n * Type of element as defined set of values.\n */\n type: 'UNSPECIFIED' | 'PROCESS' | 'SUB_PROCESS' | 'EVENT_SUB_PROCESS' | 'AD_HOC_SUB_PROCESS' | 'AD_HOC_SUB_PROCESS_INNER_INSTANCE' | 'START_EVENT' | 'INTERMEDIATE_CATCH_EVENT' | 'INTERMEDIATE_THROW_EVENT' | 'BOUNDARY_EVENT' | 'END_EVENT' | 'SERVICE_TASK' | 'RECEIVE_TASK' | 'USER_TASK' | 'MANUAL_TASK' | 'TASK' | 'EXCLUSIVE_GATEWAY' | 'INCLUSIVE_GATEWAY' | 'PARALLEL_GATEWAY' | 'EVENT_BASED_GATEWAY' | 'SEQUENCE_FLOW' | 'MULTI_INSTANCE_BODY' | 'CALL_ACTIVITY' | 'BUSINESS_RULE_TASK' | 'SCRIPT_TASK' | 'SEND_TASK' | 'UNKNOWN';\n /**\n * State of element instance as defined set of values.\n */\n state: ElementInstanceStateEnum;\n /**\n * Shows whether this element instance has an incident. If true also an incidentKey is provided.\n */\n hasIncident: boolean;\n /**\n * The tenant ID of the incident.\n */\n tenantId: TenantId;\n /**\n * The assigned key, which acts as a unique identifier for this element instance.\n */\n elementInstanceKey: ElementInstanceKey;\n /**\n * The process instance key associated to this element instance.\n */\n processInstanceKey: ProcessInstanceKey;\n /**\n * The key of the root process instance. The root process instance is the top-level\n * ancestor in the process instance hierarchy. This field is only present for data\n * belonging to process instance hierarchies created in version 8.9 or later.\n *\n */\n rootProcessInstanceKey: ProcessInstanceKey | null;\n /**\n * The process definition key associated to this element instance.\n */\n processDefinitionKey: ProcessDefinitionKey;\n /**\n * Incident key associated with this element instance.\n */\n incidentKey: IncidentKey | null;\n};\n\n/**\n * Element states\n */\nexport type ElementInstanceStateEnum = 'ACTIVE' | 'COMPLETED' | 'TERMINATED';\n\nexport type AdHocSubProcessActivateActivitiesInstruction = {\n /**\n * Activities to activate.\n */\n elements: Array<AdHocSubProcessActivateActivityReference>;\n /**\n * Whether to cancel remaining instances of the ad-hoc sub-process.\n */\n cancelRemainingInstances?: boolean;\n};\n\nexport type AdHocSubProcessActivateActivityReference = {\n /**\n * The ID of the element that should be activated.\n */\n elementId: ElementId;\n /**\n * Variables to be set when activating the element.\n */\n variables?: {\n [key: string]: unknown;\n };\n};\n\nexport type ExpressionEvaluationRequest = {\n /**\n * The expression to evaluate (e.g., \"=x + y\")\n */\n expression: string;\n /**\n * Required when the expression references tenant-scoped cluster variables\n */\n tenantId?: string;\n /**\n * Optional variables for expression evaluation. These variables are only used for the current evaluation and do not persist beyond it.\n */\n variables?: {\n [key: string]: unknown;\n } | null;\n};\n\nexport type ExpressionEvaluationResult = {\n /**\n * The evaluated expression\n */\n expression: string;\n /**\n * The result value. Its type can vary.\n */\n result: unknown;\n /**\n * List of warnings generated during expression evaluation\n */\n warnings: Array<ExpressionEvaluationWarningItem>;\n};\n\nexport type ExpressionEvaluationWarningItem = {\n /**\n * The warning message\n */\n message: string;\n};\n\n/**\n * Checks if the property matches the provided like value.\n *\n * Supported wildcard characters are:\n *\n * * `*`: matches zero, one, or multiple characters.\n * * `?`: matches one, single character.\n *\n * Wildcard characters can be escaped with backslash, for instance: `\\*`.\n *\n */\nexport type LikeFilter = string;\n\n/**\n * Advanced filter\n *\n * Basic advanced string filter.\n */\nexport type BasicStringFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: string;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: string;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<string>;\n /**\n * Checks if the property matches none of the provided values.\n */\n $notIn?: Array<string>;\n};\n\n/**\n * Advanced filter\n *\n * Advanced string filter.\n */\nexport type AdvancedStringFilter = BasicStringFilter & {\n $like?: LikeFilter;\n};\n\n/**\n * String property with basic advanced search capabilities.\n */\nexport type BasicStringFilterProperty = string | BasicStringFilter;\n\n/**\n * String property with full advanced search capabilities.\n */\nexport type StringFilterProperty = string | AdvancedStringFilter;\n\n/**\n * Advanced filter\n *\n * Advanced integer (int32) filter.\n */\nexport type AdvancedIntegerFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: number;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: number;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Greater than comparison with the provided value.\n */\n $gt?: number;\n /**\n * Greater than or equal comparison with the provided value.\n */\n $gte?: number;\n /**\n * Lower than comparison with the provided value.\n */\n $lt?: number;\n /**\n * Lower than or equal comparison with the provided value.\n */\n $lte?: number;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<number>;\n};\n\n/**\n * Integer property with advanced search capabilities.\n */\nexport type IntegerFilterProperty = number | AdvancedIntegerFilter;\n\n/**\n * Advanced filter\n *\n * Advanced date-time filter.\n */\nexport type AdvancedDateTimeFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: string;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: string;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Greater than comparison with the provided value.\n */\n $gt?: string;\n /**\n * Greater than or equal comparison with the provided value.\n */\n $gte?: string;\n /**\n * Lower than comparison with the provided value.\n */\n $lt?: string;\n /**\n * Lower than or equal comparison with the provided value.\n */\n $lte?: string;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<string>;\n};\n\n/**\n * Date-time property with full advanced search capabilities.\n */\nexport type DateTimeFilterProperty = string | AdvancedDateTimeFilter;\n\nexport type FormResult = {\n /**\n * The tenant ID of the form.\n */\n tenantId: TenantId;\n /**\n * The user-provided identifier of the form.\n */\n formId: FormId;\n /**\n * The form schema as a JSON document serialized as a string.\n */\n schema: string;\n /**\n * The version of the the deployed form.\n */\n version: number;\n /**\n * The assigned key, which acts as a unique identifier for this form.\n */\n formKey: FormKey;\n};\n\n/**\n * How the global listener was defined.\n */\nexport type GlobalListenerSourceEnum = 'CONFIGURATION' | 'API';\n\n/**\n * The event type that triggers the user task listener.\n */\nexport type GlobalTaskListenerEventTypeEnum = 'all' | 'creating' | 'assigning' | 'updating' | 'completing' | 'canceling';\n\nexport type GlobalListenerBase = {\n /**\n * The name of the job type, used as a reference to specify which job workers request the respective listener job.\n */\n type?: string;\n /**\n * Number of retries for the listener job.\n */\n retries?: number;\n /**\n * Whether the listener should run after model-level listeners.\n */\n afterNonGlobal?: boolean;\n /**\n * The priority of the listener. Higher priority listeners are executed before lower priority ones.\n */\n priority?: number;\n};\n\nexport type GlobalTaskListenerBase = GlobalListenerBase & {\n eventTypes?: GlobalTaskListenerEventTypes;\n};\n\n/**\n * List of user task event types that trigger the listener.\n */\nexport type GlobalTaskListenerEventTypes = Array<GlobalTaskListenerEventTypeEnum>;\n\nexport type CreateGlobalTaskListenerRequest = GlobalTaskListenerBase & {\n id: GlobalListenerId;\n eventTypes: GlobalTaskListenerEventTypes;\n};\n\nexport type UpdateGlobalTaskListenerRequest = GlobalTaskListenerBase;\n\nexport type GlobalTaskListenerResult = GlobalTaskListenerBase & {\n id: GlobalListenerId;\n source: GlobalListenerSourceEnum;\n eventTypes: GlobalTaskListenerEventTypes;\n};\n\n/**\n * Global listener search query request.\n */\nexport type GlobalTaskListenerSearchQueryRequest = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<GlobalTaskListenerSearchQuerySortRequest>;\n /**\n * The global listener search filters.\n */\n filter?: GlobalTaskListenerSearchQueryFilterRequest;\n};\n\nexport type GlobalTaskListenerSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'id' | 'type' | 'afterNonGlobal' | 'priority' | 'source';\n order?: SortOrderEnum;\n};\n\n/**\n * Global listener filter request.\n */\nexport type GlobalTaskListenerSearchQueryFilterRequest = {\n /**\n * Id of the global listener.\n */\n id?: StringFilterProperty;\n /**\n * Job type of the global listener.\n */\n type?: StringFilterProperty;\n /**\n * Number of retries of the global listener.\n */\n retries?: IntegerFilterProperty;\n /**\n * Event types of the global listener.\n */\n eventTypes?: Array<GlobalTaskListenerEventTypeFilterProperty>;\n /**\n * Whether the listener runs after model-level listeners.\n */\n afterNonGlobal?: boolean;\n /**\n * Priority of the global listener.\n */\n priority?: IntegerFilterProperty;\n /**\n * How the global listener was defined.\n */\n source?: GlobalListenerSourceFilterProperty;\n};\n\n/**\n * Global listener source property with full advanced search capabilities.\n */\nexport type GlobalListenerSourceFilterProperty = GlobalListenerSourceExactMatch | AdvancedGlobalListenerSourceFilter;\n\n/**\n * Advanced filter\n *\n * Advanced global listener source filter.\n */\nexport type AdvancedGlobalListenerSourceFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: GlobalListenerSourceEnum;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: GlobalListenerSourceEnum;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<GlobalListenerSourceEnum>;\n $like?: LikeFilter;\n};\n\n/**\n * Global listener event type property with full advanced search capabilities.\n */\nexport type GlobalTaskListenerEventTypeFilterProperty = GlobalTaskListenerEventTypeExactMatch | AdvancedGlobalTaskListenerEventTypeFilter;\n\n/**\n * Advanced filter\n *\n * Advanced global listener event type filter.\n */\nexport type AdvancedGlobalTaskListenerEventTypeFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: GlobalTaskListenerEventTypeEnum;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: GlobalTaskListenerEventTypeEnum;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<GlobalTaskListenerEventTypeEnum>;\n $like?: LikeFilter;\n};\n\n/**\n * Global listener search query response.\n */\nexport type GlobalTaskListenerSearchQueryResult = SearchQueryResponse & {\n /**\n * The matching global listeners.\n */\n items: Array<GlobalTaskListenerResult>;\n};\n\nexport type GroupCreateRequest = {\n /**\n * The ID of the new group.\n */\n groupId: string;\n /**\n * The display name of the new group.\n */\n name: string;\n /**\n * The description of the new group.\n */\n description?: string;\n};\n\nexport type GroupCreateResult = {\n /**\n * The ID of the created group.\n */\n groupId: string;\n /**\n * The display name of the created group.\n */\n name: string;\n /**\n * The description of the created group.\n */\n description: string | null;\n};\n\nexport type GroupUpdateRequest = {\n /**\n * The new name of the group.\n */\n name: string;\n /**\n * The new description of the group.\n */\n description?: string;\n};\n\nexport type GroupUpdateResult = {\n /**\n * The unique external group ID.\n */\n groupId: string;\n /**\n * The name of the group.\n */\n name: string;\n /**\n * The description of the group.\n */\n description: string | null;\n};\n\n/**\n * Group search response item.\n */\nexport type GroupResult = {\n /**\n * The group name.\n */\n name: string;\n /**\n * The group ID.\n */\n groupId: string;\n /**\n * The group description.\n */\n description: string | null;\n};\n\nexport type GroupSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'name' | 'groupId';\n order?: SortOrderEnum;\n};\n\n/**\n * Group search request.\n */\nexport type GroupSearchQueryRequest = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<GroupSearchQuerySortRequest>;\n /**\n * The group search filters.\n */\n filter?: GroupFilter;\n};\n\n/**\n * Group filter request\n */\nexport type GroupFilter = {\n /**\n * The group ID search filters.\n */\n groupId?: StringFilterProperty;\n /**\n * The group name search filters.\n */\n name?: string;\n};\n\n/**\n * Group search response.\n */\nexport type GroupSearchQueryResult = SearchQueryResponse & {\n /**\n * The matching groups.\n */\n items: Array<GroupResult>;\n};\n\nexport type GroupUserResult = {\n username: Username;\n};\n\nexport type GroupUserSearchResult = SearchQueryResponse & {\n /**\n * The matching members.\n */\n items: Array<GroupUserResult>;\n};\n\nexport type GroupUserSearchQueryRequest = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<GroupUserSearchQuerySortRequest>;\n};\n\nexport type GroupUserSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'username';\n order?: SortOrderEnum;\n};\n\nexport type GroupClientResult = {\n /**\n * The ID of the client.\n */\n clientId: string;\n};\n\nexport type GroupClientSearchResult = SearchQueryResponse & {\n /**\n * The matching client IDs.\n */\n items: Array<GroupClientResult>;\n};\n\nexport type GroupClientSearchQueryRequest = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<GroupClientSearchQuerySortRequest>;\n};\n\nexport type GroupMappingRuleSearchResult = SearchQueryResponse & {\n /**\n * The matching mapping rules.\n */\n items: Array<MappingRuleResult>;\n};\n\nexport type GroupRoleSearchResult = SearchQueryResponse & {\n /**\n * The matching roles.\n */\n items: Array<RoleResult>;\n};\n\nexport type GroupClientSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'clientId';\n order?: SortOrderEnum;\n};\n\n/**\n * Id of a process definition, from the model. Only ids of process definitions that are deployed are useful.\n */\nexport type ProcessDefinitionId = CamundaKey<'ProcessDefinitionId'>;\n\n/**\n * The model-defined id of an element.\n */\nexport type ElementId = CamundaKey<'ElementId'>;\n\n/**\n * The user-defined id for the form\n */\nexport type FormId = CamundaKey<'FormId'>;\n\n/**\n * Id of a decision definition, from the model. Only ids of decision definitions that are deployed are useful.\n */\nexport type DecisionDefinitionId = CamundaKey<'DecisionDefinitionId'>;\n\n/**\n * The user-defined id for the global listener\n */\nexport type GlobalListenerId = CamundaKey<'GlobalListenerId'>;\n\n/**\n * The unique identifier of the tenant.\n */\nexport type TenantId = CamundaKey<'TenantId'>;\n\n/**\n * The unique name of a user.\n */\nexport type Username = CamundaKey<'Username'>;\n\n/**\n * A tag. Needs to start with a letter; then alphanumerics, `_`, `-`, `:`, or `.`; length ≤ 100.\n */\nexport type Tag = CamundaKey<'Tag'>;\n\n/**\n * List of tags. Tags need to start with a letter; then alphanumerics, `_`, `-`, `:`, or `.`; length ≤ 100.\n */\nexport type TagSet = Array<Tag> & { readonly length: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 }; // minItems=0 maxItems=10; uniqueItems=true;\n\n/**\n * An optional, user-defined string identifier that identifies the process instance\n * within the scope of a process definition (scoped by tenant). If provided and uniqueness\n * enforcement is enabled, the engine will reject creation if another root process instance\n * with the same business id is already active for the same process definition.\n * Note that any active child process instances with the same business id are not taken into account.\n *\n */\nexport type BusinessId = CamundaKey<'BusinessId'>;\n\nexport type IncidentSearchQuery = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<IncidentSearchQuerySortRequest>;\n /**\n * The incident search filters.\n */\n filter?: IncidentFilter;\n};\n\n/**\n * Incident search filter.\n */\nexport type IncidentFilter = {\n /**\n * The process definition ID associated to this incident.\n */\n processDefinitionId?: StringFilterProperty;\n /**\n * Incident error type with a defined set of values.\n */\n errorType?: IncidentErrorTypeFilterProperty;\n /**\n * The error message of this incident.\n */\n errorMessage?: StringFilterProperty;\n /**\n * The element ID associated to this incident.\n */\n elementId?: StringFilterProperty;\n /**\n * Date of incident creation.\n */\n creationTime?: DateTimeFilterProperty;\n /**\n * State of this incident with a defined set of values.\n */\n state?: IncidentStateFilterProperty;\n /**\n * The tenant ID of the incident.\n */\n tenantId?: StringFilterProperty;\n /**\n * The assigned key, which acts as a unique identifier for this incident.\n */\n incidentKey?: BasicStringFilterProperty;\n /**\n * The process definition key associated to this incident.\n */\n processDefinitionKey?: ProcessDefinitionKeyFilterProperty;\n /**\n * The process instance key associated to this incident.\n */\n processInstanceKey?: ProcessInstanceKeyFilterProperty;\n /**\n * The element instance key associated to this incident.\n */\n elementInstanceKey?: ElementInstanceKeyFilterProperty;\n /**\n * The job key, if exists, associated with this incident.\n */\n jobKey?: JobKeyFilterProperty;\n};\n\n/**\n * IncidentErrorTypeEnum with full advanced search capabilities.\n */\nexport type IncidentErrorTypeFilterProperty = IncidentErrorTypeExactMatch | AdvancedIncidentErrorTypeFilter;\n\n/**\n * Advanced filter\n *\n * Advanced IncidentErrorTypeEnum filter\n */\nexport type AdvancedIncidentErrorTypeFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: IncidentErrorTypeEnum;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: IncidentErrorTypeEnum;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<IncidentErrorTypeEnum>;\n /**\n * Checks if the property does not match any of the provided values.\n */\n $notIn?: Array<IncidentErrorTypeEnum>;\n $like?: LikeFilter;\n};\n\n/**\n * Incident error type with a defined set of values.\n */\nexport type IncidentErrorTypeEnum = 'AD_HOC_SUB_PROCESS_NO_RETRIES' | 'CALLED_DECISION_ERROR' | 'CALLED_ELEMENT_ERROR' | 'CONDITION_ERROR' | 'DECISION_EVALUATION_ERROR' | 'EXECUTION_LISTENER_NO_RETRIES' | 'EXTRACT_VALUE_ERROR' | 'FORM_NOT_FOUND' | 'IO_MAPPING_ERROR' | 'JOB_NO_RETRIES' | 'MESSAGE_SIZE_EXCEEDED' | 'RESOURCE_NOT_FOUND' | 'TASK_LISTENER_NO_RETRIES' | 'UNHANDLED_ERROR_EVENT' | 'UNKNOWN' | 'UNSPECIFIED';\n\n/**\n * IncidentStateEnum with full advanced search capabilities.\n */\nexport type IncidentStateFilterProperty = IncidentStateExactMatch | AdvancedIncidentStateFilter;\n\n/**\n * Advanced filter\n *\n * Advanced IncidentStateEnum filter\n */\nexport type AdvancedIncidentStateFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: IncidentStateEnum;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: IncidentStateEnum;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<IncidentStateEnum>;\n /**\n * Checks if the property does not match any of the provided values.\n */\n $notIn?: Array<IncidentStateEnum>;\n $like?: LikeFilter;\n};\n\n/**\n * Incident states with a defined set of values.\n */\nexport type IncidentStateEnum = 'ACTIVE' | 'MIGRATED' | 'PENDING' | 'RESOLVED' | 'UNKNOWN';\n\nexport type IncidentSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'incidentKey' | 'processDefinitionKey' | 'processDefinitionId' | 'processInstanceKey' | 'errorType' | 'elementId' | 'elementInstanceKey' | 'creationTime' | 'state' | 'jobKey' | 'tenantId';\n order?: SortOrderEnum;\n};\n\nexport type IncidentSearchQueryResult = SearchQueryResponse & {\n /**\n * The matching incidents.\n */\n items: Array<IncidentResult>;\n};\n\nexport type IncidentResult = {\n /**\n * The process definition ID associated to this incident.\n */\n processDefinitionId: ProcessDefinitionId;\n /**\n * The type of the incident error.\n */\n errorType: IncidentErrorTypeEnum;\n /**\n * Error message which describes the error in more detail.\n */\n errorMessage: string;\n /**\n * The element ID associated to this incident.\n */\n elementId: ElementId;\n /**\n * The creation time of the incident.\n */\n creationTime: string;\n /**\n * The incident state.\n */\n state: IncidentStateEnum;\n /**\n * The tenant ID of the incident.\n */\n tenantId: TenantId;\n /**\n * The assigned key, which acts as a unique identifier for this incident.\n */\n incidentKey: IncidentKey;\n /**\n * The process definition key associated to this incident.\n */\n processDefinitionKey: ProcessDefinitionKey;\n /**\n * The process instance key associated to this incident.\n */\n processInstanceKey: ProcessInstanceKey;\n /**\n * The key of the root process instance. The root process instance is the top-level\n * ancestor in the process instance hierarchy. This field is only present for data\n * belonging to process instance hierarchies created in version 8.9 or later.\n *\n */\n rootProcessInstanceKey: ProcessInstanceKey | null;\n /**\n * The element instance key associated to this incident.\n */\n elementInstanceKey: ElementInstanceKey;\n /**\n * The job key, if exists, associated with this incident.\n */\n jobKey: JobKey | null;\n};\n\nexport type IncidentResolutionRequest = {\n operationReference?: OperationReference;\n};\n\nexport type IncidentProcessInstanceStatisticsByErrorQuery = {\n /**\n * Pagination parameters for process instance statistics grouped by incident error.\n *\n */\n page?: OffsetPagination;\n /**\n * Sorting criteria for process instance statistics grouped by incident error.\n */\n sort?: Array<IncidentProcessInstanceStatisticsByErrorQuerySortRequest>;\n};\n\nexport type IncidentProcessInstanceStatisticsByErrorQueryResult = SearchQueryResponse & {\n /**\n * Statistics of active process instances grouped by incident error.\n *\n */\n items: Array<IncidentProcessInstanceStatisticsByErrorResult>;\n};\n\nexport type IncidentProcessInstanceStatisticsByErrorResult = {\n /**\n * The hash code identifying a specific incident error..\n */\n errorHashCode: number;\n /**\n * The error message associated with the incident error hash code.\n */\n errorMessage: string;\n /**\n * The number of active process instances that currently have an active incident with this error.\n *\n */\n activeInstancesWithErrorCount: number;\n};\n\nexport type IncidentProcessInstanceStatisticsByErrorQuerySortRequest = {\n /**\n * The field to sort the incident error statistics by.\n */\n field: 'errorMessage' | 'activeInstancesWithErrorCount';\n order?: SortOrderEnum;\n};\n\nexport type IncidentProcessInstanceStatisticsByDefinitionQuery = {\n /**\n * Filter criteria for the aggregated process instance statistics.\n */\n filter: IncidentProcessInstanceStatisticsByDefinitionFilter;\n /**\n * Pagination parameters for the aggregated process instance statistics.\n */\n page?: OffsetPagination;\n /**\n * Sorting criteria for process instance statistics grouped by process definition.\n */\n sort?: Array<IncidentProcessInstanceStatisticsByDefinitionQuerySortRequest>;\n};\n\nexport type IncidentProcessInstanceStatisticsByDefinitionQueryResult = SearchQueryResponse & {\n /**\n * Statistics of active process instances with incidents, grouped by process\n * definition for the specified error hash code.\n *\n */\n items: Array<IncidentProcessInstanceStatisticsByDefinitionResult>;\n};\n\nexport type IncidentProcessInstanceStatisticsByDefinitionResult = {\n processDefinitionId: ProcessDefinitionId;\n processDefinitionKey: ProcessDefinitionKey;\n /**\n * The name of the process definition.\n */\n processDefinitionName: string;\n /**\n * The version of the process definition.\n */\n processDefinitionVersion: number;\n tenantId: TenantId;\n /**\n * The number of active process instances that currently have an incident\n * with the specified error hash code.\n *\n */\n activeInstancesWithErrorCount: number;\n};\n\n/**\n * Filter for the incident process instance statistics by definition query.\n */\nexport type IncidentProcessInstanceStatisticsByDefinitionFilter = {\n /**\n * The error hash code of the incidents to filter the process instance statistics by.\n *\n */\n errorHashCode: number;\n};\n\nexport type IncidentProcessInstanceStatisticsByDefinitionQuerySortRequest = {\n /**\n * The aggregated field by which the process instance statistics are sorted.\n */\n field: 'activeInstancesWithErrorCount' | 'processDefinitionKey' | 'tenantId';\n order?: SortOrderEnum;\n};\n\n/**\n * Global job statistics query result.\n */\nexport type GlobalJobStatisticsQueryResult = {\n created: StatusMetric;\n completed: StatusMetric;\n failed: StatusMetric;\n /**\n * True if some data is missing because internal limits were reached and some metrics were not recorded.\n */\n isIncomplete: boolean;\n};\n\n/**\n * Metric for a single job status.\n */\nexport type StatusMetric = {\n /**\n * Number of jobs in this status.\n */\n count: number;\n /**\n * ISO 8601 timestamp of the last update for this status.\n */\n lastUpdatedAt: string | null;\n};\n\n/**\n * Job type statistics query.\n */\nexport type JobTypeStatisticsQuery = {\n filter?: JobTypeStatisticsFilter;\n /**\n * Search cursor pagination.\n */\n page?: CursorForwardPagination;\n};\n\n/**\n * Job type statistics search filter.\n */\nexport type JobTypeStatisticsFilter = {\n /**\n * Start of the time window to filter metrics. ISO 8601 date-time format.\n *\n */\n from: string;\n /**\n * End of the time window to filter metrics. ISO 8601 date-time format.\n *\n */\n to: string;\n /**\n * Optional job type filter with advanced search capabilities.\n * Supports exact match, pattern matching, and other operators.\n *\n */\n jobType?: StringFilterProperty;\n};\n\n/**\n * Job type statistics query result.\n */\nexport type JobTypeStatisticsQueryResult = SearchQueryResponse & {\n /**\n * The list of job type statistics items.\n */\n items: Array<JobTypeStatisticsItem>;\n page: SearchQueryPageResponse;\n};\n\n/**\n * Statistics for a single job type.\n */\nexport type JobTypeStatisticsItem = {\n /**\n * The job type identifier.\n */\n jobType: string;\n created: StatusMetric;\n completed: StatusMetric;\n failed: StatusMetric;\n /**\n * Number of distinct workers observed for this job type.\n */\n workers: number;\n};\n\n/**\n * Job worker statistics query.\n */\nexport type JobWorkerStatisticsQuery = {\n filter: JobWorkerStatisticsFilter;\n /**\n * Search cursor pagination.\n */\n page?: CursorForwardPagination;\n};\n\n/**\n * Job worker statistics search filter.\n */\nexport type JobWorkerStatisticsFilter = {\n /**\n * Start of the time window to filter metrics. ISO 8601 date-time format.\n *\n */\n from: string;\n /**\n * End of the time window to filter metrics. ISO 8601 date-time format.\n *\n */\n to: string;\n /**\n * Job type to return worker metrics for.\n */\n jobType: string;\n};\n\n/**\n * Job worker statistics query result.\n */\nexport type JobWorkerStatisticsQueryResult = SearchQueryResponse & {\n /**\n * The list of per-worker statistics items.\n */\n items: Array<JobWorkerStatisticsItem>;\n page: SearchQueryPageResponse;\n};\n\n/**\n * Statistics for a single worker within a job type.\n */\nexport type JobWorkerStatisticsItem = {\n /**\n * The name of the worker activating the jobs, mostly used for logging purposes.\n */\n worker: string;\n created: StatusMetric;\n completed: StatusMetric;\n failed: StatusMetric;\n};\n\n/**\n * Job time-series statistics query.\n */\nexport type JobTimeSeriesStatisticsQuery = {\n filter: JobTimeSeriesStatisticsFilter;\n /**\n * Search cursor pagination.\n */\n page?: CursorForwardPagination;\n};\n\n/**\n * Job time-series statistics search filter.\n */\nexport type JobTimeSeriesStatisticsFilter = {\n /**\n * Start of the time window to filter metrics. ISO 8601 date-time format.\n *\n */\n from: string;\n /**\n * End of the time window to filter metrics. ISO 8601 date-time format.\n *\n */\n to: string;\n /**\n * Job type to return time-series metrics for.\n */\n jobType: string;\n /**\n * Time bucket resolution as an ISO 8601 duration (for example `PT1M` for 1 minute,\n * `PT1H` for 1 hour). If omitted, the server chooses a sensible default.\n *\n */\n resolution?: string;\n};\n\n/**\n * Job time-series statistics query result.\n */\nexport type JobTimeSeriesStatisticsQueryResult = SearchQueryResponse & {\n /**\n * The list of time-bucketed statistics items, ordered ascending by time.\n */\n items: Array<JobTimeSeriesStatisticsItem>;\n page: SearchQueryPageResponse;\n};\n\n/**\n * Aggregated job metrics for a single time bucket.\n */\nexport type JobTimeSeriesStatisticsItem = {\n /**\n * ISO 8601 timestamp representing the start of this time bucket.\n */\n time: string;\n created: StatusMetric;\n completed: StatusMetric;\n failed: StatusMetric;\n};\n\n/**\n * Job error statistics query.\n */\nexport type JobErrorStatisticsQuery = {\n filter: JobErrorStatisticsFilter;\n /**\n * Search cursor pagination.\n */\n page?: CursorForwardPagination;\n};\n\n/**\n * Job error statistics search filter.\n */\nexport type JobErrorStatisticsFilter = {\n /**\n * Start of the time window to filter metrics. ISO 8601 date-time format.\n *\n */\n from: string;\n /**\n * End of the time window to filter metrics. ISO 8601 date-time format.\n *\n */\n to: string;\n /**\n * Job type to return error metrics for.\n */\n jobType: string;\n /**\n * Optional error code filter with advanced search capabilities.\n */\n errorCode?: StringFilterProperty;\n /**\n * Optional error message filter with advanced search capabilities.\n */\n errorMessage?: StringFilterProperty;\n};\n\n/**\n * Job error statistics query result.\n */\nexport type JobErrorStatisticsQueryResult = SearchQueryResponse & {\n /**\n * The list of per-error statistics items.\n */\n items: Array<JobErrorStatisticsItem>;\n page: SearchQueryPageResponse;\n};\n\n/**\n * Aggregated error metrics for a single error type and message combination.\n */\nexport type JobErrorStatisticsItem = {\n /**\n * The error code identifier.\n */\n errorCode: string;\n /**\n * The error message.\n */\n errorMessage: string;\n /**\n * Number of distinct workers that encountered this error.\n */\n workers: number;\n};\n\nexport type JobActivationRequest = {\n /**\n * The job type, as defined in the BPMN process (e.g. <zeebe:taskDefinition type=\"payment-service\" />)\n */\n type: string;\n /**\n * The name of the worker activating the jobs, mostly used for logging purposes.\n */\n worker?: string;\n /**\n * A job returned after this call will not be activated by another call until the timeout (in ms) has been reached.\n *\n */\n timeout: number;\n /**\n * The maximum jobs to activate by this request.\n */\n maxJobsToActivate: number;\n /**\n * A list of variables to fetch as the job variables; if empty, all visible variables at the time of activation for the scope of the job will be returned.\n */\n fetchVariable?: Array<string>;\n /**\n * The request will be completed when at least one job is activated or after the requestTimeout (in ms). If the requestTimeout = 0, a default timeout is used. If the requestTimeout < 0, long polling is disabled and the request is completed immediately, even when no job is activated.\n *\n */\n requestTimeout?: number;\n /**\n * A list of IDs of tenants for which to activate jobs.\n */\n tenantIds?: Array<TenantId>;\n /**\n * The tenant filtering strategy - determines whether to use provided tenant IDs or assigned tenant IDs from the authenticated principal's authorized tenants.\n *\n */\n tenantFilter?: TenantFilterEnum;\n};\n\n/**\n * The list of activated jobs\n */\nexport type JobActivationResult = {\n /**\n * The activated jobs.\n */\n jobs: Array<ActivatedJobResult>;\n};\n\nexport type ActivatedJobResult = {\n /**\n * The type of the job (should match what was requested).\n */\n type: string;\n /**\n * The bpmn process ID of the job's process definition.\n */\n processDefinitionId: ProcessDefinitionId;\n /**\n * The version of the job's process definition.\n */\n processDefinitionVersion: number;\n /**\n * The associated task element ID.\n */\n elementId: ElementId;\n /**\n * A set of custom headers defined during modelling; returned as a serialized JSON document.\n */\n customHeaders: {\n [key: string]: unknown;\n };\n /**\n * The name of the worker which activated this job.\n */\n worker: string;\n /**\n * The amount of retries left to this job (should always be positive).\n */\n retries: number;\n /**\n * When the job can be activated again, sent as a UNIX epoch timestamp.\n */\n deadline: number;\n /**\n * All variables visible to the task scope, computed at activation time.\n */\n variables: {\n [key: string]: unknown;\n };\n /**\n * The ID of the tenant that owns the job.\n */\n tenantId: TenantId;\n /**\n * The key, a unique identifier for the job.\n */\n jobKey: JobKey;\n /**\n * The job's process instance key.\n */\n processInstanceKey: ProcessInstanceKey;\n /**\n * The key of the job's process definition.\n */\n processDefinitionKey: ProcessDefinitionKey;\n /**\n * The element instance key of the task.\n */\n elementInstanceKey: ElementInstanceKey;\n kind: JobKindEnum;\n listenerEventType: JobListenerEventTypeEnum;\n /**\n * User task properties, if the job is a user task.\n * This is `null` if the job is not a user task.\n *\n */\n userTask: UserTaskProperties | null;\n tags: TagSet;\n /**\n * The key of the root process instance. The root process instance is the top-level\n * ancestor in the process instance hierarchy. This field is only present for data\n * belonging to process instance hierarchies created in version 8.9 or later.\n *\n */\n rootProcessInstanceKey: ProcessInstanceKey | null;\n};\n\n/**\n * Contains properties of a user task.\n */\nexport type UserTaskProperties = {\n /**\n * The action performed on the user task.\n */\n action: string;\n /**\n * The user assigned to the task.\n */\n assignee: string | null;\n /**\n * The groups eligible to claim the task.\n */\n candidateGroups: Array<string>;\n /**\n * The users eligible to claim the task.\n */\n candidateUsers: Array<string>;\n /**\n * The attributes that were changed in the task.\n */\n changedAttributes: Array<string>;\n /**\n * The due date of the user task in ISO 8601 format.\n */\n dueDate: string | null;\n /**\n * The follow-up date of the user task in ISO 8601 format.\n */\n followUpDate: string | null;\n /**\n * The key of the form associated with the user task.\n */\n formKey: FormKey | null;\n /**\n * The priority of the user task.\n */\n priority: number | null;\n /**\n * The unique key identifying the user task.\n */\n userTaskKey: UserTaskKey | null;\n};\n\n/**\n * Job search request.\n */\nexport type JobSearchQuery = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<JobSearchQuerySortRequest>;\n /**\n * The job search filters.\n */\n filter?: JobFilter;\n};\n\nexport type JobSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'deadline' | 'deniedReason' | 'elementId' | 'elementInstanceKey' | 'endTime' | 'errorCode' | 'errorMessage' | 'hasFailedWithRetriesLeft' | 'isDenied' | 'jobKey' | 'kind' | 'listenerEventType' | 'processDefinitionId' | 'processDefinitionKey' | 'processInstanceKey' | 'retries' | 'state' | 'tenantId' | 'type' | 'worker';\n order?: SortOrderEnum;\n};\n\n/**\n * Job search filter.\n */\nexport type JobFilter = {\n /**\n * When the job can next be activated.\n */\n deadline?: DateTimeFilterProperty | null;\n /**\n * The reason provided by the user task listener for denying the work.\n */\n deniedReason?: StringFilterProperty;\n /**\n * The element ID associated with the job.\n */\n elementId?: StringFilterProperty;\n /**\n * The element instance key associated with the job.\n */\n elementInstanceKey?: ElementInstanceKeyFilterProperty;\n /**\n * When the job ended.\n */\n endTime?: DateTimeFilterProperty;\n /**\n * The error code provided for the failed job.\n */\n errorCode?: StringFilterProperty;\n /**\n * The error message that provides additional context for a failed job.\n */\n errorMessage?: StringFilterProperty;\n /**\n * Indicates whether the job has failed with retries left.\n */\n hasFailedWithRetriesLeft?: boolean;\n /**\n * Indicates whether the user task listener denies the work.\n */\n isDenied?: boolean | null;\n /**\n * The key, a unique identifier for the job.\n */\n jobKey?: JobKeyFilterProperty;\n /**\n * The kind of the job.\n */\n kind?: JobKindFilterProperty;\n /**\n * The listener event type of the job.\n */\n listenerEventType?: JobListenerEventTypeFilterProperty;\n /**\n * The process definition ID associated with the job.\n */\n processDefinitionId?: StringFilterProperty;\n /**\n * The process definition key associated with the job.\n */\n processDefinitionKey?: ProcessDefinitionKeyFilterProperty;\n /**\n * The process instance key associated with the job.\n */\n processInstanceKey?: ProcessInstanceKeyFilterProperty;\n /**\n * The number of retries left.\n */\n retries?: IntegerFilterProperty;\n /**\n * The state of the job.\n */\n state?: JobStateFilterProperty;\n /**\n * The tenant ID.\n */\n tenantId?: StringFilterProperty;\n /**\n * The type of the job.\n */\n type?: StringFilterProperty;\n /**\n * The name of the worker for this job.\n */\n worker?: StringFilterProperty;\n /**\n * When the job was created. Field is present for jobs created after 8.9.\n */\n creationTime?: DateTimeFilterProperty;\n /**\n * When the job was last updated. Field is present for jobs created after 8.9.\n */\n lastUpdateTime?: DateTimeFilterProperty;\n};\n\n/**\n * Job search response.\n */\nexport type JobSearchQueryResult = SearchQueryResponse & {\n /**\n * The matching jobs.\n */\n items: Array<JobSearchResult>;\n};\n\nexport type JobSearchResult = {\n /**\n * A set of custom headers defined during modelling.\n */\n customHeaders: {\n [key: string]: string;\n };\n /**\n * If the job has been activated, when it will next be available to be activated.\n */\n deadline: string | null;\n /**\n * The reason provided by the user task listener for denying the work.\n */\n deniedReason: string | null;\n /**\n * The element ID associated with the job. May be missing on job failure.\n */\n elementId: ElementId | null;\n /**\n * The element instance key associated with the job.\n */\n elementInstanceKey: ElementInstanceKey;\n /**\n * End date of the job.\n * This is `null` if the job is not in an end state yet.\n *\n */\n endTime: string | null;\n /**\n * The error code provided for a failed job.\n */\n errorCode: string | null;\n /**\n * The error message that provides additional context for a failed job.\n */\n errorMessage: string | null;\n /**\n * Indicates whether the job has failed with retries left.\n */\n hasFailedWithRetriesLeft: boolean;\n /**\n * Indicates whether the user task listener denies the work.\n */\n isDenied: boolean | null;\n /**\n * The key, a unique identifier for the job.\n */\n jobKey: JobKey;\n kind: JobKindEnum;\n listenerEventType: JobListenerEventTypeEnum;\n /**\n * The process definition ID associated with the job.\n */\n processDefinitionId: ProcessDefinitionId;\n /**\n * The process definition key associated with the job.\n */\n processDefinitionKey: ProcessDefinitionKey;\n /**\n * The process instance key associated with the job.\n */\n processInstanceKey: ProcessInstanceKey;\n /**\n * The key of the root process instance. The root process instance is the top-level\n * ancestor in the process instance hierarchy. This field is only present for data\n * belonging to process instance hierarchies created in version 8.9 or later.\n *\n */\n rootProcessInstanceKey: ProcessInstanceKey | null;\n /**\n * The amount of retries left to this job.\n */\n retries: number;\n state: JobStateEnum;\n tenantId: TenantId;\n /**\n * The type of the job.\n */\n type: string;\n /**\n * The name of the worker of this job.\n */\n worker: string;\n /**\n * When the job was created. Field is present for jobs created after 8.9.\n */\n creationTime: string | null;\n /**\n * When the job was last updated. Field is present for jobs created after 8.9.\n */\n lastUpdateTime: string | null;\n};\n\nexport type JobFailRequest = {\n /**\n * The amount of retries the job should have left\n */\n retries?: number;\n /**\n * An optional error message describing why the job failed; if not provided, an empty string is used.\n */\n errorMessage?: string;\n /**\n * An optional retry back off for the failed job. The job will not be retryable before the current time plus the back off time. The default is 0 which means the job is retryable immediately.\n */\n retryBackOff?: number;\n /**\n * JSON object that will instantiate the variables at the local scope of the job's associated task.\n *\n */\n variables?: {\n [key: string]: unknown;\n };\n};\n\nexport type JobErrorRequest = {\n /**\n * The error code that will be matched with an error catch event.\n *\n */\n errorCode: string;\n /**\n * An error message that provides additional context.\n *\n */\n errorMessage?: string | null;\n /**\n * JSON object that will instantiate the variables at the local scope of the error catch event that catches the thrown error.\n *\n */\n variables?: {\n [key: string]: unknown;\n } | null;\n};\n\nexport type JobCompletionRequest = {\n /**\n * The variables to complete the job with.\n */\n variables?: {\n [key: string]: unknown;\n } | null;\n result?: JobResult;\n};\n\n/**\n * The result of the completed job as determined by the worker.\n *\n */\nexport type JobResult = ({\n type: 'userTask';\n} & JobResultUserTask) | ({\n type: 'adHocSubProcess';\n} & JobResultAdHocSubProcess);\n\n/**\n * Job result details for a user task completion, optionally including a denial reason and corrected task properties.\n *\n */\nexport type JobResultUserTask = {\n /**\n * Indicates whether the worker denies the work, i.e. explicitly doesn't approve it. For example, a user task listener can deny the completion of a task by setting this flag to true. In this example, the completion of a task is represented by a job that the worker can complete as denied. As a result, the completion request is rejected and the task remains active. Defaults to false.\n *\n */\n denied?: boolean | null;\n /**\n * The reason provided by the user task listener for denying the work.\n */\n deniedReason?: string | null;\n corrections?: JobResultCorrections;\n /**\n * Used to distinguish between different types of job results.\n */\n type?: string;\n} | null;\n\n/**\n * JSON object with attributes that were corrected by the worker.\n *\n * The following attributes can be corrected, additional attributes will be ignored:\n *\n * * `assignee` - clear by providing an empty String\n * * `dueDate` - clear by providing an empty String\n * * `followUpDate` - clear by providing an empty String\n * * `candidateGroups` - clear by providing an empty list\n * * `candidateUsers` - clear by providing an empty list\n * * `priority` - minimum 0, maximum 100, default 50\n *\n * Providing any of those attributes with a `null` value or omitting it preserves\n * the persisted attribute's value.\n *\n */\nexport type JobResultCorrections = {\n /**\n * Assignee of the task.\n */\n assignee?: string | null;\n /**\n * The due date of the task.\n */\n dueDate?: string | null;\n /**\n * The follow-up date of the task.\n */\n followUpDate?: string | null;\n /**\n * The list of candidate users of the task.\n */\n candidateUsers?: Array<string> | null;\n /**\n * The list of candidate groups of the task.\n */\n candidateGroups?: Array<string> | null;\n /**\n * The priority of the task.\n */\n priority?: number | null;\n} | null;\n\n/**\n * Job result details for an ad‑hoc sub‑process, including elements to activate and flags indicating completion or cancellation behavior.\n *\n */\nexport type JobResultAdHocSubProcess = {\n /**\n * Indicates which elements need to be activated in the ad-hoc subprocess.\n */\n activateElements?: Array<JobResultActivateElement>;\n /**\n * Indicates whether the completion condition of the ad-hoc subprocess is fulfilled.\n */\n isCompletionConditionFulfilled?: boolean;\n /**\n * Indicates whether the remaining instances of the ad-hoc subprocess should be canceled.\n */\n isCancelRemainingInstances?: boolean;\n /**\n * Used to distinguish between different types of job results.\n */\n type?: string;\n} | null;\n\n/**\n * Instruction to activate a single BPMN element within an ad‑hoc sub‑process, optionally providing variables scoped to that element.\n */\nexport type JobResultActivateElement = {\n /**\n * The element ID to activate.\n */\n elementId?: ElementId;\n /**\n * Variables for the element.\n */\n variables?: {\n [key: string]: unknown;\n } | null;\n};\n\nexport type JobUpdateRequest = {\n changeset: JobChangeset;\n operationReference?: OperationReference;\n};\n\n/**\n * JSON object with changed job attribute values. The job cannot be completed or failed with this endpoint, use the complete job or fail job endpoints instead.\n */\nexport type JobChangeset = {\n /**\n * The new number of retries for the job.\n */\n retries?: number | null;\n /**\n * The new timeout for the job in milliseconds.\n */\n timeout?: number | null;\n};\n\n/**\n * The tenant filtering strategy for job activation. Determines whether to use tenant IDs provided in the request or tenant IDs assigned to the authenticated principal.\n *\n */\nexport type TenantFilterEnum = 'PROVIDED' | 'ASSIGNED';\n\n/**\n * The state of the job.\n */\nexport type JobStateEnum = 'CANCELED' | 'COMPLETED' | 'CREATED' | 'ERROR_THROWN' | 'FAILED' | 'MIGRATED' | 'RETRIES_UPDATED' | 'TIMED_OUT';\n\n/**\n * The job kind.\n */\nexport type JobKindEnum = 'BPMN_ELEMENT' | 'EXECUTION_LISTENER' | 'TASK_LISTENER' | 'AD_HOC_SUB_PROCESS';\n\n/**\n * The listener event type of the job.\n */\nexport type JobListenerEventTypeEnum = 'ASSIGNING' | 'CANCELING' | 'COMPLETING' | 'CREATING' | 'END' | 'START' | 'UNSPECIFIED' | 'UPDATING';\n\n/**\n * JobKindEnum property with full advanced search capabilities.\n */\nexport type JobKindFilterProperty = JobKindExactMatch | AdvancedJobKindFilter;\n\n/**\n * Advanced filter\n *\n * Advanced JobKindEnum filter.\n */\nexport type AdvancedJobKindFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: JobKindEnum;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: JobKindEnum;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<JobKindEnum>;\n $like?: LikeFilter;\n};\n\n/**\n * JobListenerEventTypeEnum property with full advanced search capabilities.\n */\nexport type JobListenerEventTypeFilterProperty = JobListenerEventTypeExactMatch | AdvancedJobListenerEventTypeFilter;\n\n/**\n * Advanced filter\n *\n * Advanced JobListenerEventTypeEnum filter.\n */\nexport type AdvancedJobListenerEventTypeFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: JobListenerEventTypeEnum;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: JobListenerEventTypeEnum;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<JobListenerEventTypeEnum>;\n $like?: LikeFilter;\n};\n\n/**\n * JobStateEnum property with full advanced search capabilities.\n */\nexport type JobStateFilterProperty = JobStateExactMatch | AdvancedJobStateFilter;\n\n/**\n * Advanced filter\n *\n * Advanced JobStateEnum filter.\n */\nexport type AdvancedJobStateFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: JobStateEnum;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: JobStateEnum;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<JobStateEnum>;\n $like?: LikeFilter;\n};\n\n/**\n * Zeebe Engine resource key (Java long serialized as string)\n */\nexport type LongKey = string;\n\n/**\n * System-generated key for a process instance.\n */\nexport type ProcessInstanceKey = CamundaKey<'ProcessInstanceKey'>;\n\n/**\n * System-generated key for a deployed process definition.\n */\nexport type ProcessDefinitionKey = CamundaKey<'ProcessDefinitionKey'>;\n\n/**\n * System-generated key for a element instance.\n */\nexport type ElementInstanceKey = CamundaKey<'ElementInstanceKey'>;\n\n/**\n * System-generated key for a user task.\n */\nexport type UserTaskKey = CamundaKey<'UserTaskKey'>;\n\n/**\n * System-generated key for a deployed form.\n */\nexport type FormKey = CamundaKey<'FormKey'>;\n\n/**\n * System-generated key for a variable.\n */\nexport type VariableKey = CamundaKey<'VariableKey'>;\n\n/**\n * System-generated key for a scope. A scope can hold variables and represents either an\n * element instance in a BPMN process or the process instance itself.\n *\n */\nexport type ScopeKey = ProcessInstanceKey | ElementInstanceKey;\n\n/**\n * System-generated key for a incident.\n */\nexport type IncidentKey = CamundaKey<'IncidentKey'>;\n\n/**\n * System-generated key for a job.\n */\nexport type JobKey = CamundaKey<'JobKey'>;\n\n/**\n * System-generated key for a decision definition.\n */\nexport type DecisionDefinitionKey = CamundaKey<'DecisionDefinitionKey'>;\n\n/**\n * System-generated key for a decision evaluation instance.\n */\nexport type DecisionEvaluationInstanceKey = CamundaKey<'DecisionEvaluationInstanceKey'>;\n\n/**\n * System-generated key for a decision evaluation.\n */\nexport type DecisionEvaluationKey = CamundaKey<'DecisionEvaluationKey'>;\n\n/**\n * System-generated key for a deployed decision requirements definition.\n */\nexport type DecisionRequirementsKey = CamundaKey<'DecisionRequirementsKey'>;\n\n/**\n * System-generated key for a deployed decision instance.\n */\nexport type DecisionInstanceKey = CamundaKey<'DecisionInstanceKey'>;\n\n/**\n * System-generated key for an batch operation.\n */\nexport type BatchOperationKey = CamundaKey<'BatchOperationKey'>;\n\n/**\n * A reference key chosen by the user that will be part of all records resulting from this operation.\n * Must be > 0 if provided.\n *\n */\nexport type OperationReference = number;\n\n/**\n * System-generated key for an audit log entry.\n */\nexport type AuditLogKey = CamundaKey<'AuditLogKey'>;\n\n/**\n * ProcessDefinitionKey property with full advanced search capabilities.\n */\nexport type ProcessDefinitionKeyFilterProperty = ProcessDefinitionKeyExactMatch | AdvancedProcessDefinitionKeyFilter;\n\n/**\n * Advanced filter\n *\n * Advanced ProcessDefinitionKey filter.\n */\nexport type AdvancedProcessDefinitionKeyFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: ProcessDefinitionKey;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: ProcessDefinitionKey;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<ProcessDefinitionKey>;\n /**\n * Checks if the property matches none of the provided values.\n */\n $notIn?: Array<ProcessDefinitionKey>;\n};\n\n/**\n * ProcessInstanceKey property with full advanced search capabilities.\n */\nexport type ProcessInstanceKeyFilterProperty = ProcessInstanceKeyExactMatch | AdvancedProcessInstanceKeyFilter;\n\n/**\n * Advanced filter\n *\n * Advanced ProcessInstanceKey filter.\n */\nexport type AdvancedProcessInstanceKeyFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: ProcessInstanceKey;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: ProcessInstanceKey;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<ProcessInstanceKey>;\n /**\n * Checks if the property matches none of the provided values.\n */\n $notIn?: Array<ProcessInstanceKey>;\n};\n\n/**\n * ElementInstanceKey property with full advanced search capabilities.\n */\nexport type ElementInstanceKeyFilterProperty = ElementInstanceKeyExactMatch | AdvancedElementInstanceKeyFilter;\n\n/**\n * Advanced filter\n *\n * Advanced ElementInstanceKey filter.\n */\nexport type AdvancedElementInstanceKeyFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: ElementInstanceKey;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: ElementInstanceKey;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<ElementInstanceKey>;\n /**\n * Checks if the property matches none of the provided values.\n */\n $notIn?: Array<ElementInstanceKey>;\n};\n\n/**\n * JobKey property with full advanced search capabilities.\n */\nexport type JobKeyFilterProperty = JobKeyExactMatch | AdvancedJobKeyFilter;\n\n/**\n * Advanced filter\n *\n * Advanced JobKey filter.\n */\nexport type AdvancedJobKeyFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: JobKey;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: JobKey;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<JobKey>;\n /**\n * Checks if the property matches none of the provided values.\n */\n $notIn?: Array<JobKey>;\n};\n\n/**\n * DecisionDefinitionKey property with full advanced search capabilities.\n */\nexport type DecisionDefinitionKeyFilterProperty = DecisionDefinitionKeyExactMatch | AdvancedDecisionDefinitionKeyFilter;\n\n/**\n * Advanced filter\n *\n * Advanced DecisionDefinitionKey filter.\n */\nexport type AdvancedDecisionDefinitionKeyFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: DecisionDefinitionKey;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: DecisionDefinitionKey;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<DecisionDefinitionKey>;\n /**\n * Checks if the property matches none of the provided values.\n */\n $notIn?: Array<DecisionDefinitionKey>;\n};\n\n/**\n * ScopeKey property with full advanced search capabilities. Filter by the key of the\n * element instance or process instance that defines the scope of a variable.\n *\n */\nexport type ScopeKeyFilterProperty = ScopeKeyExactMatch | AdvancedScopeKeyFilter;\n\n/**\n * Advanced filter\n *\n * Advanced ScopeKey filter.\n */\nexport type AdvancedScopeKeyFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: ScopeKey;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: ScopeKey;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<ScopeKey>;\n /**\n * Checks if the property matches none of the provided values.\n */\n $notIn?: Array<ScopeKey>;\n};\n\n/**\n * VariableKey property with full advanced search capabilities.\n */\nexport type VariableKeyFilterProperty = VariableKeyExactMatch | AdvancedVariableKeyFilter;\n\n/**\n * Advanced filter\n *\n * Advanced VariableKey filter.\n */\nexport type AdvancedVariableKeyFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: VariableKey;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: VariableKey;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<VariableKey>;\n /**\n * Checks if the property matches none of the provided values.\n */\n $notIn?: Array<VariableKey>;\n};\n\n/**\n * DecisionEvaluationInstanceKey property with full advanced search capabilities.\n */\nexport type DecisionEvaluationInstanceKeyFilterProperty = DecisionEvaluationInstanceKeyExactMatch | AdvancedDecisionEvaluationInstanceKeyFilter;\n\n/**\n * Advanced filter\n *\n * Advanced DecisionEvaluationInstanceKey filter.\n */\nexport type AdvancedDecisionEvaluationInstanceKeyFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: DecisionEvaluationInstanceKey;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: DecisionEvaluationInstanceKey;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<DecisionEvaluationInstanceKey>;\n /**\n * Checks if the property matches none of the provided values.\n */\n $notIn?: Array<DecisionEvaluationInstanceKey>;\n};\n\n/**\n * AuditLogKey property with full advanced search capabilities.\n */\nexport type AuditLogKeyFilterProperty = AuditLogKeyExactMatch | AdvancedAuditLogKeyFilter;\n\n/**\n * Advanced filter\n *\n * Advanced AuditLogKey filter.\n */\nexport type AdvancedAuditLogKeyFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: AuditLogKey;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: AuditLogKey;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<AuditLogKey>;\n /**\n * Checks if the property matches none of the provided values.\n */\n $notIn?: Array<AuditLogKey>;\n};\n\n/**\n * FormKey property with full advanced search capabilities.\n */\nexport type FormKeyFilterProperty = FormKeyExactMatch | AdvancedFormKeyFilter;\n\n/**\n * Advanced filter\n *\n * Advanced FormKey filter.\n */\nexport type AdvancedFormKeyFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: FormKey;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: FormKey;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<FormKey>;\n /**\n * Checks if the property matches none of the provided values.\n */\n $notIn?: Array<FormKey>;\n};\n\n/**\n * DecisionEvaluationKey property with full advanced search capabilities.\n */\nexport type DecisionEvaluationKeyFilterProperty = DecisionEvaluationKeyExactMatch | AdvancedDecisionEvaluationKeyFilter;\n\n/**\n * Advanced filter\n *\n * Advanced DecisionEvaluationKey filter.\n */\nexport type AdvancedDecisionEvaluationKeyFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: DecisionEvaluationKey;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: DecisionEvaluationKey;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<DecisionEvaluationKey>;\n /**\n * Checks if the property matches none of the provided values.\n */\n $notIn?: Array<DecisionEvaluationKey>;\n};\n\n/**\n * DecisionRequirementsKey property with full advanced search capabilities.\n */\nexport type DecisionRequirementsKeyFilterProperty = DecisionRequirementsKeyExactMatch | AdvancedDecisionRequirementsKeyFilter;\n\n/**\n * Advanced filter\n *\n * Advanced DecisionRequirementsKey filter.\n */\nexport type AdvancedDecisionRequirementsKeyFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: DecisionRequirementsKey;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: DecisionRequirementsKey;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<DecisionRequirementsKey>;\n /**\n * Checks if the property matches none of the provided values.\n */\n $notIn?: Array<DecisionRequirementsKey>;\n};\n\n/**\n * The response of a license request.\n */\nexport type LicenseResponse = {\n /**\n * True if the Camunda license is valid, false if otherwise\n */\n validLicense: boolean;\n /**\n * Will return the license type property of the Camunda license\n */\n licenseType: string;\n /**\n * Will be false when a license contains a non-commerical=true property\n */\n isCommercial: boolean;\n /**\n * The date when the Camunda license expires\n */\n expiresAt: string | null;\n};\n\nexport type MappingRuleCreateUpdateRequest = {\n /**\n * The name of the claim to map.\n */\n claimName: string;\n /**\n * The value of the claim to map.\n */\n claimValue: string;\n /**\n * The name of the mapping rule.\n */\n name: string;\n};\n\nexport type MappingRuleCreateRequest = MappingRuleCreateUpdateRequest & {\n /**\n * The unique ID of the mapping rule.\n */\n mappingRuleId: string;\n};\n\nexport type MappingRuleUpdateRequest = MappingRuleCreateUpdateRequest;\n\nexport type MappingRuleCreateUpdateResult = {\n /**\n * The name of the claim to map.\n */\n claimName: string;\n /**\n * The value of the claim to map.\n */\n claimValue: string;\n /**\n * The name of the mapping rule.\n */\n name: string;\n /**\n * The unique ID of the mapping rule.\n */\n mappingRuleId: string;\n};\n\nexport type MappingRuleCreateResult = MappingRuleCreateUpdateResult;\n\nexport type MappingRuleUpdateResult = MappingRuleCreateUpdateResult;\n\nexport type MappingRuleSearchQueryResult = SearchQueryResponse & {\n /**\n * The matching mapping rules.\n */\n items: Array<MappingRuleResult>;\n};\n\nexport type MappingRuleResult = {\n /**\n * The name of the claim to map.\n */\n claimName: string;\n /**\n * The value of the claim to map.\n */\n claimValue: string;\n /**\n * The name of the mapping rule.\n */\n name: string;\n /**\n * The ID of the mapping rule.\n */\n mappingRuleId: string;\n};\n\nexport type MappingRuleSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'mappingRuleId' | 'claimName' | 'claimValue' | 'name';\n order?: SortOrderEnum;\n};\n\nexport type MappingRuleSearchQueryRequest = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<MappingRuleSearchQuerySortRequest>;\n /**\n * The mapping rule search filters.\n */\n filter?: MappingRuleFilter;\n};\n\n/**\n * Mapping rule search filter.\n */\nexport type MappingRuleFilter = {\n /**\n * The claim name to match against a token.\n */\n claimName?: string;\n /**\n * The value of the claim to match.\n */\n claimValue?: string;\n /**\n * The name of the mapping rule.\n */\n name?: string;\n /**\n * The ID of the mapping rule.\n */\n mappingRuleId?: string;\n};\n\nexport type MessageCorrelationRequest = {\n /**\n * The message name as defined in the BPMN process\n *\n */\n name: string;\n /**\n * The correlation key of the message.\n */\n correlationKey?: string;\n /**\n * The message variables as JSON document\n */\n variables?: {\n [key: string]: unknown;\n };\n /**\n * the tenant for which the message is published\n */\n tenantId?: TenantId;\n};\n\n/**\n * The message key of the correlated message, as well as the first process instance key it\n * correlated with.\n *\n */\nexport type MessageCorrelationResult = {\n /**\n * The tenant ID of the correlated message\n */\n tenantId: TenantId;\n /**\n * The key of the correlated message.\n */\n messageKey: MessageKey;\n /**\n * The key of the first process instance the message correlated with\n */\n processInstanceKey: ProcessInstanceKey;\n};\n\nexport type MessagePublicationRequest = {\n /**\n * The name of the message.\n */\n name: string;\n /**\n * The correlation key of the message.\n */\n correlationKey?: string;\n /**\n * Timespan (in ms) to buffer the message on the broker.\n */\n timeToLive?: number;\n /**\n * The unique ID of the message. This is used to ensure only one message with the given ID\n * will be published during the lifetime of the message (if `timeToLive` is set).\n *\n */\n messageId?: string;\n /**\n * The message variables as JSON document.\n */\n variables?: {\n [key: string]: unknown;\n };\n /**\n * The tenant of the message sender.\n */\n tenantId?: TenantId;\n};\n\n/**\n * The message key of the published message.\n */\nexport type MessagePublicationResult = {\n /**\n * The tenant ID of the message.\n */\n tenantId: TenantId;\n /**\n * The key of the published message.\n */\n messageKey: MessageKey;\n};\n\nexport type MessageSubscriptionSearchQueryResult = SearchQueryResponse & {\n /**\n * The matching message subscriptions.\n */\n items: Array<MessageSubscriptionResult>;\n};\n\nexport type MessageSubscriptionResult = {\n /**\n * The message subscription key associated with this message subscription.\n */\n messageSubscriptionKey: MessageSubscriptionKey;\n /**\n * The process definition ID associated with this message subscription.\n */\n processDefinitionId: ProcessDefinitionId;\n /**\n * The process definition key associated with this message subscription.\n */\n processDefinitionKey: ProcessDefinitionKey | null;\n /**\n * The process instance key associated with this message subscription.\n */\n processInstanceKey: ProcessInstanceKey | null;\n /**\n * The key of the root process instance. The root process instance is the top-level\n * ancestor in the process instance hierarchy. This field is only present for data\n * belonging to process instance hierarchies created in version 8.9 or later.\n *\n */\n rootProcessInstanceKey: ProcessInstanceKey | null;\n /**\n * The element ID associated with this message subscription.\n */\n elementId: ElementId;\n /**\n * The element instance key associated with this message subscription.\n */\n elementInstanceKey: ElementInstanceKey | null;\n messageSubscriptionState: MessageSubscriptionStateEnum;\n /**\n * The last updated date of the message subscription.\n */\n lastUpdatedDate: string;\n /**\n * The name of the message associated with the message subscription.\n */\n messageName: string;\n /**\n * The correlation key of the message subscription.\n */\n correlationKey: string | null;\n tenantId: TenantId;\n};\n\nexport type MessageSubscriptionSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'messageSubscriptionKey' | 'processDefinitionId' | 'processInstanceKey' | 'elementId' | 'elementInstanceKey' | 'messageSubscriptionState' | 'lastUpdatedDate' | 'messageName' | 'correlationKey' | 'tenantId';\n order?: SortOrderEnum;\n};\n\nexport type MessageSubscriptionSearchQuery = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<MessageSubscriptionSearchQuerySortRequest>;\n /**\n * The incident search filters.\n */\n filter?: MessageSubscriptionFilter;\n};\n\n/**\n * Message subscription search filter.\n */\nexport type MessageSubscriptionFilter = {\n /**\n * The message subscription key associated with this message subscription.\n */\n messageSubscriptionKey?: MessageSubscriptionKeyFilterProperty;\n /**\n * The process definition key associated with this correlated message subscription. This only works for data created with 8.9 and later.\n */\n processDefinitionKey?: ProcessDefinitionKeyFilterProperty;\n /**\n * The process definition ID associated with this message subscription.\n */\n processDefinitionId?: StringFilterProperty;\n /**\n * The process instance key associated with this message subscription.\n */\n processInstanceKey?: ProcessInstanceKeyFilterProperty;\n /**\n * The element ID associated with this message subscription.\n */\n elementId?: StringFilterProperty;\n /**\n * The element instance key associated with this message subscription.\n */\n elementInstanceKey?: ElementInstanceKeyFilterProperty;\n /**\n * The message subscription state.\n */\n messageSubscriptionState?: MessageSubscriptionStateFilterProperty;\n /**\n * The last updated date of the message subscription.\n */\n lastUpdatedDate?: DateTimeFilterProperty;\n /**\n * The name of the message associated with the message subscription.\n */\n messageName?: StringFilterProperty;\n /**\n * The correlation key of the message subscription.\n */\n correlationKey?: StringFilterProperty;\n /**\n * The unique external tenant ID.\n */\n tenantId?: StringFilterProperty;\n};\n\nexport type CorrelatedMessageSubscriptionSearchQueryResult = SearchQueryResponse & {\n /**\n * The matching correlated message subscriptions.\n */\n items: Array<CorrelatedMessageSubscriptionResult>;\n};\n\nexport type CorrelatedMessageSubscriptionResult = {\n /**\n * The correlation key of the message.\n */\n correlationKey: string | null;\n /**\n * The time when the message was correlated.\n */\n correlationTime: string;\n /**\n * The element ID that received the message.\n */\n elementId: string;\n /**\n * The element instance key that received the message.\n * It is `null` for start event subscriptions.\n *\n */\n elementInstanceKey: ElementInstanceKey | null;\n /**\n * The message key.\n */\n messageKey: MessageKey;\n /**\n * The name of the message.\n */\n messageName: string;\n /**\n * The partition ID that correlated the message.\n */\n partitionId: number;\n /**\n * The process definition ID associated with this correlated message subscription.\n */\n processDefinitionId: ProcessDefinitionId;\n /**\n * The process definition key associated with this correlated message subscription.\n */\n processDefinitionKey: ProcessDefinitionKey;\n /**\n * The process instance key associated with this correlated message subscription.\n */\n processInstanceKey: ProcessInstanceKey;\n /**\n * The key of the root process instance. The root process instance is the top-level\n * ancestor in the process instance hierarchy. This field is only present for data\n * belonging to process instance hierarchies created in version 8.9 or later.\n *\n */\n rootProcessInstanceKey: ProcessInstanceKey | null;\n /**\n * The subscription key that received the message.\n */\n subscriptionKey: MessageSubscriptionKey;\n /**\n * The tenant ID associated with this correlated message subscription.\n */\n tenantId: TenantId;\n};\n\nexport type CorrelatedMessageSubscriptionSearchQuery = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<CorrelatedMessageSubscriptionSearchQuerySortRequest>;\n /**\n * The correlated message subscriptions search filters.\n */\n filter?: CorrelatedMessageSubscriptionFilter;\n};\n\nexport type CorrelatedMessageSubscriptionSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'correlationKey' | 'correlationTime' | 'elementId' | 'elementInstanceKey' | 'messageKey' | 'messageName' | 'partitionId' | 'processDefinitionId' | 'processDefinitionKey' | 'processInstanceKey' | 'subscriptionKey' | 'tenantId';\n order?: SortOrderEnum;\n};\n\n/**\n * The state of message subscription.\n */\nexport type MessageSubscriptionStateEnum = 'CORRELATED' | 'CREATED' | 'DELETED' | 'MIGRATED';\n\n/**\n * Correlated message subscriptions search filter.\n */\nexport type CorrelatedMessageSubscriptionFilter = {\n /**\n * The correlation key of the message.\n */\n correlationKey?: StringFilterProperty;\n /**\n * The time when the message was correlated.\n */\n correlationTime?: DateTimeFilterProperty;\n /**\n * The element ID that received the message.\n */\n elementId?: StringFilterProperty;\n /**\n * The element instance key that received the message.\n */\n elementInstanceKey?: ElementInstanceKeyFilterProperty;\n /**\n * The message key.\n */\n messageKey?: BasicStringFilterProperty;\n /**\n * The name of the message.\n */\n messageName?: StringFilterProperty;\n /**\n * The partition ID that correlated the message.\n */\n partitionId?: IntegerFilterProperty;\n /**\n * The process definition ID associated with this correlated message subscription.\n */\n processDefinitionId?: StringFilterProperty;\n /**\n * The process definition key associated with this correlated message subscription. For intermediate message events, this only works for data created with 8.9 and later.\n */\n processDefinitionKey?: ProcessDefinitionKeyFilterProperty;\n /**\n * The process instance key associated with this correlated message subscription.\n */\n processInstanceKey?: ProcessInstanceKeyFilterProperty;\n /**\n * The subscription key that received the message.\n */\n subscriptionKey?: MessageSubscriptionKeyFilterProperty;\n /**\n * The tenant ID associated with this correlated message subscription.\n */\n tenantId?: StringFilterProperty;\n};\n\n/**\n * MessageSubscriptionStateEnum with full advanced search capabilities.\n */\nexport type MessageSubscriptionStateFilterProperty = MessageSubscriptionStateExactMatch | AdvancedMessageSubscriptionStateFilter;\n\n/**\n * Advanced filter\n *\n * Advanced MessageSubscriptionStateEnum filter\n */\nexport type AdvancedMessageSubscriptionStateFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: MessageSubscriptionStateEnum;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: MessageSubscriptionStateEnum;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<MessageSubscriptionStateEnum>;\n $like?: LikeFilter;\n};\n\n/**\n * Advanced filter\n *\n * Advanced MessageSubscriptionKey filter.\n */\nexport type AdvancedMessageSubscriptionKeyFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: MessageSubscriptionKey;\n /**\n * Checks for equality with the provided value.\n */\n $neq?: MessageSubscriptionKey;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<MessageSubscriptionKey>;\n /**\n * Checks if the property matches none of the provided values.\n */\n $notIn?: Array<MessageSubscriptionKey>;\n};\n\n/**\n * MessageSubscriptionKey property with full advanced search capabilities.\n */\nexport type MessageSubscriptionKeyFilterProperty = MessageSubscriptionKeyExactMatch | AdvancedMessageSubscriptionKeyFilter;\n\n/**\n * System-generated key for a message subscription.\n */\nexport type MessageSubscriptionKey = CamundaKey<'MessageSubscriptionKey'>;\n\n/**\n * System-generated key for an message.\n */\nexport type MessageKey = CamundaKey<'MessageKey'>;\n\n/**\n * A Problem detail object as described in [RFC 9457](https://www.rfc-editor.org/rfc/rfc9457). There may be additional properties specific to the problem type.\n *\n */\nexport type ProblemDetail = {\n /**\n * A URI identifying the problem type.\n */\n type: string;\n /**\n * A summary of the problem type.\n */\n title: string;\n /**\n * The HTTP status code for this problem.\n */\n status: number;\n /**\n * An explanation of the problem in more detail.\n */\n detail: string;\n /**\n * A URI path identifying the origin of the problem.\n */\n instance: string;\n};\n\nexport type ProcessDefinitionSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'processDefinitionKey' | 'name' | 'resourceName' | 'version' | 'versionTag' | 'processDefinitionId' | 'tenantId';\n order?: SortOrderEnum;\n};\n\nexport type ProcessDefinitionSearchQuery = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<ProcessDefinitionSearchQuerySortRequest>;\n /**\n * The process definition search filters.\n */\n filter?: ProcessDefinitionFilter;\n};\n\n/**\n * Process definition search filter.\n */\nexport type ProcessDefinitionFilter = {\n /**\n * Name of this process definition.\n */\n name?: StringFilterProperty;\n /**\n * Whether to only return the latest version of each process definition.\n * When using this filter, pagination functionality is limited, you can only paginate forward using `after` and `limit`.\n * The response contains no `startCursor` in the `page`, and requests ignore the `from` and `before` in the `page`.\n * When using this filter, sorting is limited to `processDefinitionId` and `tenantId` fields only.\n *\n */\n isLatestVersion?: boolean;\n /**\n * Resource name of this process definition.\n */\n resourceName?: string;\n /**\n * Version of this process definition.\n */\n version?: number;\n /**\n * Version tag of this process definition.\n */\n versionTag?: string;\n /**\n * Process definition ID of this process definition.\n */\n processDefinitionId?: StringFilterProperty;\n /**\n * Tenant ID of this process definition.\n */\n tenantId?: TenantId;\n /**\n * The key for this process definition.\n */\n processDefinitionKey?: ProcessDefinitionKey;\n /**\n * Indicates whether the start event of the process has an associated Form Key.\n */\n hasStartForm?: boolean;\n};\n\nexport type ProcessDefinitionSearchQueryResult = SearchQueryResponse & {\n /**\n * The matching process definitions.\n */\n items: Array<ProcessDefinitionResult>;\n};\n\nexport type ProcessDefinitionResult = {\n /**\n * Name of this process definition.\n */\n name: string | null;\n /**\n * Resource name for this process definition.\n */\n resourceName: string;\n /**\n * Version of this process definition.\n */\n version: number;\n /**\n * Version tag of this process definition.\n */\n versionTag: string | null;\n /**\n * Process definition ID of this process definition.\n */\n processDefinitionId: ProcessDefinitionId;\n /**\n * Tenant ID of this process definition.\n */\n tenantId: TenantId;\n /**\n * The key for this process definition.\n */\n processDefinitionKey: ProcessDefinitionKey;\n /**\n * Indicates whether the start event of the process has an associated Form Key.\n */\n hasStartForm: boolean;\n};\n\n/**\n * Process definition element statistics request.\n */\nexport type ProcessDefinitionElementStatisticsQuery = {\n /**\n * The process definition statistics search filters.\n */\n filter?: ProcessDefinitionStatisticsFilter;\n};\n\n/**\n * Process definition element statistics query response.\n */\nexport type ProcessDefinitionElementStatisticsQueryResult = {\n /**\n * The element statistics.\n */\n items: Array<ProcessElementStatisticsResult>;\n};\n\n/**\n * Process element statistics response.\n */\nexport type ProcessElementStatisticsResult = {\n /**\n * The element ID for which the results are aggregated.\n */\n elementId: ElementId;\n /**\n * The total number of active instances of the element.\n */\n active: number;\n /**\n * The total number of canceled instances of the element.\n */\n canceled: number;\n /**\n * The total number of incidents for the element.\n */\n incidents: number;\n /**\n * The total number of completed instances of the element.\n */\n completed: number;\n};\n\nexport type ProcessDefinitionMessageSubscriptionStatisticsQuery = {\n /**\n * Search cursor pagination.\n */\n page?: CursorForwardPagination;\n /**\n * The message subscription filters.\n */\n filter?: MessageSubscriptionFilter;\n};\n\nexport type ProcessDefinitionMessageSubscriptionStatisticsQueryResult = SearchQueryResponse & {\n /**\n * The matching process definition message subscription statistics.\n */\n items: Array<ProcessDefinitionMessageSubscriptionStatisticsResult>;\n};\n\nexport type ProcessDefinitionMessageSubscriptionStatisticsResult = {\n /**\n * The process definition ID associated with this message subscription.\n */\n processDefinitionId: ProcessDefinitionId;\n /**\n * The tenant ID associated with this message subscription.\n */\n tenantId: TenantId;\n /**\n * The process definition key associated with this message subscription.\n */\n processDefinitionKey: ProcessDefinitionKey;\n /**\n * The number of process instances with active message subscriptions.\n */\n processInstancesWithActiveSubscriptions: number;\n /**\n * The total number of active message subscriptions for this process definition key.\n */\n activeSubscriptions: number;\n};\n\nexport type ProcessDefinitionInstanceStatisticsQuery = {\n /**\n * Search cursor pagination.\n */\n page?: OffsetPagination;\n /**\n * Sort field criteria.\n */\n sort?: Array<ProcessDefinitionInstanceStatisticsQuerySortRequest>;\n};\n\nexport type ProcessDefinitionInstanceStatisticsQueryResult = SearchQueryResponse & {\n /**\n * The process definition instance statistics result.\n */\n items: Array<ProcessDefinitionInstanceStatisticsResult>;\n};\n\n/**\n * Process definition instance statistics response.\n */\nexport type ProcessDefinitionInstanceStatisticsResult = {\n processDefinitionId: ProcessDefinitionId;\n tenantId: TenantId;\n /**\n * Name of the latest deployed process definition instance version.\n */\n latestProcessDefinitionName: string | null;\n /**\n * Indicates whether multiple versions of this process definition instance are deployed.\n */\n hasMultipleVersions: boolean;\n /**\n * Total number of currently active process instances of this definition that do not have incidents.\n */\n activeInstancesWithoutIncidentCount: number;\n /**\n * Total number of currently active process instances of this definition that have at least one incident.\n */\n activeInstancesWithIncidentCount: number;\n};\n\nexport type ProcessDefinitionInstanceStatisticsQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'processDefinitionId' | 'activeInstancesWithIncidentCount' | 'activeInstancesWithoutIncidentCount';\n order?: SortOrderEnum;\n};\n\nexport type ProcessDefinitionInstanceVersionStatisticsQuery = {\n /**\n * Pagination criteria.\n */\n page?: OffsetPagination;\n /**\n * Sort field criteria.\n */\n sort?: Array<ProcessDefinitionInstanceVersionStatisticsQuerySortRequest>;\n /**\n * The process definition instance version statistics search filters.\n */\n filter: ProcessDefinitionInstanceVersionStatisticsFilter;\n};\n\n/**\n * Process definition instance version statistics search filter.\n */\nexport type ProcessDefinitionInstanceVersionStatisticsFilter = {\n /**\n * The ID of the process definition to retrieve version statistics for.\n */\n processDefinitionId: ProcessDefinitionId;\n /**\n * Tenant ID of this process definition.\n */\n tenantId?: TenantId;\n};\n\nexport type ProcessDefinitionInstanceVersionStatisticsQueryResult = SearchQueryResponse & {\n /**\n * The process definition instance version statistics result.\n */\n items: Array<ProcessDefinitionInstanceVersionStatisticsResult>;\n};\n\n/**\n * Process definition instance version statistics response.\n */\nexport type ProcessDefinitionInstanceVersionStatisticsResult = {\n /**\n * The ID associated with the process definition.\n */\n processDefinitionId: ProcessDefinitionId;\n /**\n * The unique key of the process definition.\n */\n processDefinitionKey: ProcessDefinitionKey;\n /**\n * The name of the process definition.\n */\n processDefinitionName: string | null;\n /**\n * The tenant ID associated with the process definition.\n */\n tenantId: TenantId;\n /**\n * The version number of the process definition.\n */\n processDefinitionVersion: number;\n /**\n * The number of active process instances for this version that currently have incidents.\n */\n activeInstancesWithIncidentCount: number;\n /**\n * The number of active process instances for this version that do not have any incidents.\n */\n activeInstancesWithoutIncidentCount: number;\n};\n\nexport type ProcessDefinitionInstanceVersionStatisticsQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'processDefinitionId' | 'processDefinitionKey' | 'processDefinitionName' | 'processDefinitionVersion' | 'activeInstancesWithIncidentCount' | 'activeInstancesWithoutIncidentCount';\n order?: SortOrderEnum;\n};\n\n/**\n * Instructions for creating a process instance. The process definition can be specified\n * either by id or by key.\n *\n */\nexport type ProcessInstanceCreationInstruction = ProcessInstanceCreationInstructionByKey | ProcessInstanceCreationInstructionById;\n\n/**\n * Process creation by id\n */\nexport type ProcessInstanceCreationInstructionById = {\n /**\n * The BPMN process id of the process definition to start an instance of.\n *\n */\n processDefinitionId: ProcessDefinitionId;\n /**\n * The version of the process. By default, the latest version of the process is used.\n *\n */\n processDefinitionVersion?: number;\n /**\n * JSON object that will instantiate the variables for the root variable scope\n * of the process instance.\n *\n */\n variables?: {\n [key: string]: unknown;\n };\n /**\n * The tenant id of the process definition.\n * If multi-tenancy is enabled, provide the tenant id of the process definition to start a\n * process instance of. If multi-tenancy is disabled, don't provide this parameter.\n *\n */\n tenantId?: TenantId;\n operationReference?: OperationReference;\n /**\n * List of start instructions. By default, the process instance will start at\n * the start event. If provided, the process instance will apply start instructions\n * after it has been created.\n *\n */\n startInstructions?: Array<ProcessInstanceCreationStartInstruction>;\n /**\n * Runtime instructions (alpha). List of instructions that affect the runtime behavior of\n * the process instance. Refer to specific instruction types for more details.\n *\n * This parameter is an alpha feature and may be subject to change\n * in future releases.\n *\n */\n runtimeInstructions?: Array<ProcessInstanceCreationRuntimeInstruction>;\n /**\n * Wait for the process instance to complete. If the process instance does not complete\n * within the request timeout limit, a 504 response status will be returned. The process\n * instance will continue to run in the background regardless of the timeout. Disabled by\n * default.\n *\n */\n awaitCompletion?: boolean;\n /**\n * List of variables by name to be included in the response when awaitCompletion is set to true.\n * If empty, all visible variables in the root scope will be returned.\n *\n */\n fetchVariables?: Array<string>;\n /**\n * Timeout (in ms) the request waits for the process to complete. By default or\n * when set to 0, the generic request timeout configured in the cluster is applied.\n *\n */\n requestTimeout?: number;\n tags?: TagSet;\n businessId?: BusinessId;\n};\n\n/**\n * Process creation by key\n */\nexport type ProcessInstanceCreationInstructionByKey = {\n /**\n * The unique key identifying the process definition, for example, returned for a process in the\n * deploy resources endpoint.\n *\n */\n processDefinitionKey: ProcessDefinitionKey;\n /**\n * As the version is already identified by the `processDefinitionKey`, the value of this field is ignored.\n * It's here for backwards-compatibility only as previous releases accepted it in request bodies.\n *\n */\n processDefinitionVersion?: number;\n /**\n * Set of variables as JSON object to instantiate in the root variable scope of the process\n * instance. Can include nested complex objects.\n *\n */\n variables?: {\n [key: string]: unknown;\n };\n /**\n * List of start instructions. By default, the process instance will start at\n * the start event. If provided, the process instance will apply start instructions\n * after it has been created.\n *\n */\n startInstructions?: Array<ProcessInstanceCreationStartInstruction>;\n /**\n * Runtime instructions (alpha). List of instructions that affect the runtime behavior of\n * the process instance. Refer to specific instruction types for more details.\n *\n * This parameter is an alpha feature and may be subject to change\n * in future releases.\n *\n */\n runtimeInstructions?: Array<ProcessInstanceCreationRuntimeInstruction>;\n /**\n * The tenant id of the process definition.\n * If multi-tenancy is enabled, provide the tenant id of the process definition to start a\n * process instance of. If multi-tenancy is disabled, don't provide this parameter.\n *\n */\n tenantId?: TenantId;\n operationReference?: OperationReference;\n /**\n * Wait for the process instance to complete. If the process instance does not complete\n * within the request timeout limit, a 504 response status will be returned. The process\n * instance will continue to run in the background regardless of the timeout. Disabled by\n * default.\n *\n */\n awaitCompletion?: boolean;\n /**\n * Timeout (in ms) the request waits for the process to complete. By default or\n * when set to 0, the generic request timeout configured in the cluster is applied.\n *\n */\n requestTimeout?: number;\n /**\n * List of variables by name to be included in the response when awaitCompletion is set to true.\n * If empty, all visible variables in the root scope will be returned.\n *\n */\n fetchVariables?: Array<string>;\n tags?: TagSet;\n businessId?: BusinessId;\n};\n\nexport type ProcessInstanceCreationStartInstruction = {\n /**\n * Future extensions might include:\n * - different types of start instructions\n * - ability to set local variables for different flow scopes\n *\n * For now, however, the start instruction is implicitly a \"startBeforeElement\" instruction\n *\n */\n elementId: ElementId;\n};\n\nexport type ProcessInstanceCreationRuntimeInstruction = {\n type: 'TERMINATE_PROCESS_INSTANCE';\n} & ProcessInstanceCreationTerminateInstruction;\n\n/**\n * Terminates the process instance after a specific BPMN element is completed or terminated.\n *\n */\nexport type ProcessInstanceCreationTerminateInstruction = {\n /**\n * The type of the runtime instruction\n */\n type?: string;\n /**\n * The id of the element that, once completed or terminated, will cause the process to be terminated.\n *\n */\n afterElementId: ElementId;\n};\n\nexport type CreateProcessInstanceResult = {\n /**\n * The BPMN process id of the process definition which was used to create the process.\n * instance\n *\n */\n processDefinitionId: ProcessDefinitionId;\n /**\n * The version of the process definition which was used to create the process instance.\n *\n */\n processDefinitionVersion: number;\n /**\n * The tenant id of the created process instance.\n */\n tenantId: TenantId;\n /**\n * All the variables visible in the root scope.\n */\n variables: {\n [key: string]: unknown;\n };\n /**\n * The key of the process definition which was used to create the process instance.\n *\n */\n processDefinitionKey: ProcessDefinitionKey;\n /**\n * The unique identifier of the created process instance; to be used wherever a request\n * needs a process instance key (e.g. CancelProcessInstanceRequest).\n *\n */\n processInstanceKey: ProcessInstanceKey;\n tags: TagSet;\n /**\n * Business id as provided on creation.\n */\n businessId: BusinessId | null;\n};\n\nexport type ProcessInstanceSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'processInstanceKey' | 'processDefinitionId' | 'processDefinitionName' | 'processDefinitionVersion' | 'processDefinitionVersionTag' | 'processDefinitionKey' | 'parentProcessInstanceKey' | 'parentElementInstanceKey' | 'startDate' | 'endDate' | 'state' | 'hasIncident' | 'tenantId' | 'businessId';\n order?: SortOrderEnum;\n};\n\n/**\n * Process instance search request.\n */\nexport type ProcessInstanceSearchQuery = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<ProcessInstanceSearchQuerySortRequest>;\n /**\n * The process instance search filters.\n */\n filter?: ProcessInstanceFilter;\n};\n\n/**\n * Base process instance search filter.\n */\nexport type BaseProcessInstanceFilterFields = {\n /**\n * The start date.\n */\n startDate?: DateTimeFilterProperty;\n /**\n * The end date.\n */\n endDate?: DateTimeFilterProperty;\n /**\n * The process instance state.\n */\n state?: ProcessInstanceStateFilterProperty;\n /**\n * Whether this process instance has a related incident or not.\n */\n hasIncident?: boolean;\n /**\n * The tenant id.\n */\n tenantId?: StringFilterProperty;\n /**\n * The process instance variables.\n */\n variables?: Array<VariableValueFilterProperty>;\n /**\n * The key of this process instance.\n */\n processInstanceKey?: ProcessInstanceKeyFilterProperty;\n /**\n * The parent process instance key.\n */\n parentProcessInstanceKey?: ProcessInstanceKeyFilterProperty;\n /**\n * The parent element instance key.\n */\n parentElementInstanceKey?: ElementInstanceKeyFilterProperty;\n /**\n * The batch operation id.\n * **Deprecated**: Use `batchOperationKey` instead. This field will be removed in a future release. If both `batchOperationId` and `batchOperationKey` are provided, the request will be rejected with a 400 error.\n *\n *\n * @deprecated\n */\n batchOperationId?: StringFilterProperty;\n /**\n * The batch operation key.\n */\n batchOperationKey?: StringFilterProperty;\n /**\n * The error message related to the process.\n */\n errorMessage?: StringFilterProperty;\n /**\n * Whether the process has failed jobs with retries left.\n */\n hasRetriesLeft?: boolean;\n /**\n * The state of the element instances associated with the process instance.\n */\n elementInstanceState?: ElementInstanceStateFilterProperty;\n /**\n * The element id associated with the process instance.\n */\n elementId?: StringFilterProperty;\n /**\n * Whether the element instance has an incident or not.\n */\n hasElementInstanceIncident?: boolean;\n /**\n * The incident error hash code, associated with this process.\n */\n incidentErrorHashCode?: IntegerFilterProperty;\n tags?: TagSet;\n /**\n * The business id associated with the process instance.\n */\n businessId?: StringFilterProperty;\n};\n\n/**\n * Process definition statistics search filter.\n */\nexport type ProcessDefinitionStatisticsFilter = BaseProcessInstanceFilterFields & {\n /**\n * Defines a list of alternative filter groups combined using OR logic. Each object in the array is evaluated independently, and the filter matches if any one of them is satisfied.\n *\n * Top-level fields and the `$or` clause are combined using AND logic — meaning: (top-level filters) AND (any of the `$or` filters) must match.\n * <br>\n * <em>Example:</em>\n *\n * ```json\n * {\n * \"state\": \"ACTIVE\",\n * \"tenantId\": 123,\n * \"$or\": [\n * { \"processDefinitionId\": \"process_v1\" },\n * { \"processDefinitionId\": \"process_v2\", \"hasIncident\": true }\n * ]\n * }\n * ```\n * This matches process instances that:\n *\n * <ul style=\"padding-left: 20px; margin-left: 20px;\">\n * <li style=\"list-style-type: disc;\">are in <em>ACTIVE</em> state</li>\n * <li style=\"list-style-type: disc;\">have tenant id equal to <em>123</em></li>\n * <li style=\"list-style-type: disc;\">and match either:\n * <ul style=\"padding-left: 20px; margin-left: 20px;\">\n * <li style=\"list-style-type: circle;\"><code>processDefinitionId</code> is <em>process_v1</em>, or</li>\n * <li style=\"list-style-type: circle;\"><code>processDefinitionId</code> is <em>process_v2</em> and <code>hasIncident</code> is <em>true</em></li>\n * </ul>\n * </li>\n * </ul>\n * <br>\n * <p>Note: Using complex <code>$or</code> conditions may impact performance, use with caution in high-volume environments.\n *\n */\n $or?: Array<BaseProcessInstanceFilterFields>;\n};\n\n/**\n * Process instance search filter.\n */\nexport type ProcessInstanceFilterFields = BaseProcessInstanceFilterFields & {\n /**\n * The process definition id.\n */\n processDefinitionId?: StringFilterProperty;\n /**\n * The process definition name.\n */\n processDefinitionName?: StringFilterProperty;\n /**\n * The process definition version.\n */\n processDefinitionVersion?: IntegerFilterProperty;\n /**\n * The process definition version tag.\n */\n processDefinitionVersionTag?: StringFilterProperty;\n /**\n * The process definition key.\n */\n processDefinitionKey?: ProcessDefinitionKeyFilterProperty;\n};\n\n/**\n * Process instance search filter.\n */\nexport type ProcessInstanceFilter = ProcessInstanceFilterFields & {\n /**\n * Defines a list of alternative filter groups combined using OR logic. Each object in the array is evaluated independently, and the filter matches if any one of them is satisfied.\n *\n * Top-level fields and the `$or` clause are combined using AND logic — meaning: (top-level filters) AND (any of the `$or` filters) must match.\n * <br>\n * <em>Example:</em>\n *\n * ```json\n * {\n * \"state\": \"ACTIVE\",\n * \"tenantId\": 123,\n * \"$or\": [\n * { \"processDefinitionId\": \"process_v1\" },\n * { \"processDefinitionId\": \"process_v2\", \"hasIncident\": true }\n * ]\n * }\n * ```\n * This matches process instances that:\n *\n * <ul style=\"padding-left: 20px; margin-left: 20px;\">\n * <li style=\"list-style-type: disc;\">are in <em>ACTIVE</em> state</li>\n * <li style=\"list-style-type: disc;\">have tenant id equal to <em>123</em></li>\n * <li style=\"list-style-type: disc;\">and match either:\n * <ul style=\"padding-left: 20px; margin-left: 20px;\">\n * <li style=\"list-style-type: circle;\"><code>processDefinitionId</code> is <em>process_v1</em>, or</li>\n * <li style=\"list-style-type: circle;\"><code>processDefinitionId</code> is <em>process_v2</em> and <code>hasIncident</code> is <em>true</em></li>\n * </ul>\n * </li>\n * </ul>\n * <br>\n * <p>Note: Using complex <code>$or</code> conditions may impact performance, use with caution in high-volume environments.\n *\n */\n $or?: Array<ProcessInstanceFilterFields>;\n};\n\n/**\n * Process instance search response.\n */\nexport type ProcessInstanceSearchQueryResult = SearchQueryResponse & {\n /**\n * The matching process instances.\n */\n items: Array<ProcessInstanceResult>;\n};\n\n/**\n * Process instance search response item.\n */\nexport type ProcessInstanceResult = {\n processDefinitionId: ProcessDefinitionId;\n /**\n * The process definition name.\n */\n processDefinitionName: string | null;\n /**\n * The process definition version.\n */\n processDefinitionVersion: number;\n /**\n * The process definition version tag.\n */\n processDefinitionVersionTag: string | null;\n /**\n * The start time of the process instance.\n */\n startDate: string;\n /**\n * The completion or termination time of the process instance.\n */\n endDate: string | null;\n state: ProcessInstanceStateEnum;\n /**\n * Whether this process instance has a related incident or not.\n */\n hasIncident: boolean;\n tenantId: TenantId;\n /**\n * The key of this process instance.\n */\n processInstanceKey: ProcessInstanceKey;\n /**\n * The process definition key.\n */\n processDefinitionKey: ProcessDefinitionKey;\n /**\n * The parent process instance key.\n */\n parentProcessInstanceKey: ProcessInstanceKey | null;\n /**\n * The parent element instance key.\n */\n parentElementInstanceKey: ElementInstanceKey | null;\n /**\n * The key of the root process instance. The root process instance is the top-level\n * ancestor in the process instance hierarchy. This field is only present for data\n * belonging to process instance hierarchies created in version 8.9 or later.\n *\n */\n rootProcessInstanceKey: ProcessInstanceKey | null;\n tags: TagSet;\n /**\n * The business id associated with this process instance.\n */\n businessId: BusinessId | null;\n};\n\nexport type CancelProcessInstanceRequest = {\n operationReference?: OperationReference;\n} | null;\n\nexport type DeleteProcessInstanceRequest = {\n operationReference?: OperationReference;\n} | null;\n\nexport type ProcessInstanceCallHierarchyEntry = {\n /**\n * The key of the process instance.\n */\n processInstanceKey: ProcessInstanceKey;\n /**\n * The key of the process definition.\n */\n processDefinitionKey: ProcessDefinitionKey;\n /**\n * The name of the process definition (fall backs to the process definition id if not available).\n */\n processDefinitionName: string;\n};\n\n/**\n * Process instance sequence flows query response.\n */\nexport type ProcessInstanceSequenceFlowsQueryResult = {\n /**\n * The sequence flows.\n */\n items: Array<ProcessInstanceSequenceFlowResult>;\n};\n\n/**\n * Process instance sequence flow result.\n */\nexport type ProcessInstanceSequenceFlowResult = {\n /**\n * The sequence flow id.\n */\n sequenceFlowId: string;\n /**\n * The key of this process instance.\n */\n processInstanceKey: ProcessInstanceKey;\n /**\n * The key of the root process instance. The root process instance is the top-level\n * ancestor in the process instance hierarchy. This field is only present for data\n * belonging to process instance hierarchies created in version 8.9 or later.\n *\n */\n rootProcessInstanceKey: ProcessInstanceKey | null;\n /**\n * The process definition key.\n */\n processDefinitionKey: ProcessDefinitionKey;\n /**\n * The process definition id.\n */\n processDefinitionId: ProcessDefinitionId;\n /**\n * The element id for this sequence flow, as provided in the BPMN process.\n */\n elementId: ElementId;\n tenantId: TenantId;\n};\n\n/**\n * Process instance element statistics query response.\n */\nexport type ProcessInstanceElementStatisticsQueryResult = {\n /**\n * The element statistics.\n */\n items: Array<ProcessElementStatisticsResult>;\n};\n\n/**\n * The migration instructions describe how to migrate a process instance from one process definition to another.\n *\n */\nexport type ProcessInstanceMigrationInstruction = {\n /**\n * The key of process definition to migrate the process instance to.\n */\n targetProcessDefinitionKey: ProcessDefinitionKey;\n /**\n * Element mappings from the source process instance to the target process instance.\n */\n mappingInstructions: Array<MigrateProcessInstanceMappingInstruction>;\n operationReference?: OperationReference;\n};\n\n/**\n * The mapping instructions describe how to map elements from the source process definition to the target process definition.\n *\n */\nexport type MigrateProcessInstanceMappingInstruction = {\n /**\n * The element id to migrate from.\n */\n sourceElementId: ElementId;\n /**\n * The element id to migrate into.\n */\n targetElementId: ElementId;\n};\n\nexport type ProcessInstanceModificationInstruction = {\n operationReference?: OperationReference;\n /**\n * Instructions describing which elements to activate in which scopes and which variables to create or update.\n */\n activateInstructions?: Array<ProcessInstanceModificationActivateInstruction>;\n /**\n * Instructions describing which elements to move from one scope to another.\n */\n moveInstructions?: Array<ProcessInstanceModificationMoveInstruction>;\n /**\n * Instructions describing which elements to terminate.\n */\n terminateInstructions?: Array<ProcessInstanceModificationTerminateInstruction>;\n};\n\n/**\n * Instruction describing an element to activate.\n */\nexport type ProcessInstanceModificationActivateInstruction = {\n /**\n * The id of the element to activate.\n */\n elementId: ElementId;\n /**\n * Instructions describing which variables to create or update.\n */\n variableInstructions?: Array<ModifyProcessInstanceVariableInstruction>;\n /**\n * The key of the ancestor scope the element instance should be created in.\n * Set to -1 to create the new element instance within an existing element instance of the\n * flow scope. If multiple instances of the target element's flow scope exist, choose one\n * specifically with this property by providing its key.\n *\n */\n ancestorElementInstanceKey?: ElementInstanceKey;\n};\n\n/**\n * Instruction describing which variables to create or update.\n */\nexport type ModifyProcessInstanceVariableInstruction = {\n /**\n * JSON document that will instantiate the variables at the scope defined by the scopeId.\n * It must be a JSON object, as variables will be mapped in a key-value fashion.\n *\n */\n variables: {\n [key: string]: unknown;\n };\n /**\n * The id of the element in which scope the variables should be created.\n * Leave empty to create the variables in the global scope of the process instance.\n *\n */\n scopeId?: string;\n};\n\n/**\n * Instruction describing a move operation. This instruction will terminate active element\n * instances based on the sourceElementInstruction and activate a new element instance for each terminated\n * one at targetElementId. Note that, for multi-instance activities, only the multi-instance\n * body instances will activate new element instances at the target id.\n *\n */\nexport type ProcessInstanceModificationMoveInstruction = {\n sourceElementInstruction: SourceElementInstruction;\n /**\n * The target element id.\n */\n targetElementId: ElementId;\n ancestorScopeInstruction?: AncestorScopeInstruction;\n /**\n * Instructions describing which variables to create or update.\n */\n variableInstructions?: Array<ModifyProcessInstanceVariableInstruction>;\n};\n\n/**\n * Defines the source element identifier for the move instruction. It can either be a sourceElementId, or sourceElementInstanceKey.\n *\n */\nexport type SourceElementInstruction = ({\n sourceType: 'byId';\n} & SourceElementIdInstruction) | ({\n sourceType: 'byKey';\n} & SourceElementInstanceKeyInstruction);\n\n/**\n * Defines an instruction with a sourceElementId. The move instruction with this sourceType will terminate all active element\n * instances with the sourceElementId and activate a new element instance for each terminated\n * one at targetElementId.\n *\n */\nexport type SourceElementIdInstruction = {\n /**\n * The type of source element instruction.\n */\n sourceType: string;\n /**\n * The id of the source element for the move instruction.\n *\n */\n sourceElementId: ElementId;\n};\n\n/**\n * Defines an instruction with a sourceElementInstanceKey. The move instruction with this sourceType will terminate one active element\n * instance with the sourceElementInstanceKey and activate a new element instance at targetElementId.\n *\n */\nexport type SourceElementInstanceKeyInstruction = {\n /**\n * The type of source element instruction.\n */\n sourceType: string;\n /**\n * The source element instance key for the move instruction.\n *\n */\n sourceElementInstanceKey: ElementInstanceKey;\n};\n\n/**\n * Defines the ancestor scope for the created element instances. The default behavior resembles\n * a \"direct\" scope instruction with an `ancestorElementInstanceKey` of `\"-1\"`.\n *\n */\nexport type AncestorScopeInstruction = ({\n ancestorScopeType: 'direct';\n} & DirectAncestorKeyInstruction) | ({\n ancestorScopeType: 'inferred';\n} & InferredAncestorKeyInstruction) | ({\n ancestorScopeType: 'sourceParent';\n} & UseSourceParentKeyInstruction);\n\n/**\n * Provides a concrete key to use as ancestor scope for the created element instance.\n */\nexport type DirectAncestorKeyInstruction = {\n /**\n * The type of ancestor scope instruction.\n */\n ancestorScopeType: string;\n /**\n * The key of the ancestor scope the element instance should be created in.\n * Set to -1 to create the new element instance within an existing element instance of the\n * flow scope. If multiple instances of the target element's flow scope exist, choose one\n * specifically with this property by providing its key.\n *\n */\n ancestorElementInstanceKey: ElementInstanceKey;\n};\n\n/**\n * Instructs the engine to derive the ancestor scope key from the source element's hierarchy. The engine traverses the source element's ancestry to find an instance that matches one of the target element's flow scopes, ensuring the target is activated in the correct scope.\n *\n */\nexport type InferredAncestorKeyInstruction = {\n /**\n * The type of ancestor scope instruction.\n */\n ancestorScopeType: string;\n};\n\n/**\n * Instructs the engine to use the source's direct parent key as the ancestor scope key for the target element. This is a simpler alternative to `inferred` that skips hierarchy traversal and directly uses the source's parent key. This is useful when the source and target elements are siblings within the same flow scope.\n *\n */\nexport type UseSourceParentKeyInstruction = {\n /**\n * The type of ancestor scope instruction.\n */\n ancestorScopeType: string;\n};\n\n/**\n * Instruction describing which elements to terminate.\n */\nexport type ProcessInstanceModificationTerminateInstruction = ProcessInstanceModificationTerminateByIdInstruction | ProcessInstanceModificationTerminateByKeyInstruction;\n\n/**\n * Instruction describing which elements to terminate. The element instances are determined\n * at runtime by the given id.\n *\n */\nexport type ProcessInstanceModificationTerminateByIdInstruction = {\n /**\n * The id of the elements to terminate. The element instances are determined at runtime.\n */\n elementId: ElementId;\n};\n\n/**\n * Instruction providing the key of the element instance to terminate.\n */\nexport type ProcessInstanceModificationTerminateByKeyInstruction = {\n /**\n * The key of the element instance to terminate.\n */\n elementInstanceKey: ElementInstanceKey;\n};\n\n/**\n * Process instance states\n */\nexport type ProcessInstanceStateEnum = 'ACTIVE' | 'COMPLETED' | 'TERMINATED';\n\n/**\n * Advanced filter\n *\n * Advanced ProcessInstanceStateEnum filter.\n */\nexport type AdvancedProcessInstanceStateFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: ProcessInstanceStateEnum;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: ProcessInstanceStateEnum;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<ProcessInstanceStateEnum>;\n $like?: LikeFilter;\n};\n\n/**\n * ProcessInstanceStateEnum property with full advanced search capabilities.\n */\nexport type ProcessInstanceStateFilterProperty = ProcessInstanceStateExactMatch | AdvancedProcessInstanceStateFilter;\n\nexport type RoleCreateRequest = {\n /**\n * The ID of the new role.\n */\n roleId: string;\n /**\n * The display name of the new role.\n */\n name: string;\n /**\n * The description of the new role.\n */\n description?: string;\n};\n\nexport type RoleCreateResult = {\n /**\n * The ID of the created role.\n */\n roleId: string;\n /**\n * The display name of the created role.\n */\n name: string;\n /**\n * The description of the created role.\n */\n description: string | null;\n};\n\nexport type RoleUpdateRequest = {\n /**\n * The display name of the new role.\n */\n name: string;\n /**\n * The description of the new role.\n */\n description?: string;\n};\n\nexport type RoleUpdateResult = {\n /**\n * The display name of the updated role.\n */\n name: string;\n /**\n * The description of the updated role.\n */\n description: string | null;\n /**\n * The ID of the updated role.\n */\n roleId: string;\n};\n\n/**\n * Role search response item.\n */\nexport type RoleResult = {\n /**\n * The role name.\n */\n name: string;\n /**\n * The role id.\n */\n roleId: string;\n /**\n * The description of the role.\n */\n description: string | null;\n};\n\nexport type RoleSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'name' | 'roleId';\n order?: SortOrderEnum;\n};\n\n/**\n * Role search request.\n */\nexport type RoleSearchQueryRequest = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<RoleSearchQuerySortRequest>;\n /**\n * The role search filters.\n */\n filter?: RoleFilter;\n};\n\n/**\n * Role filter request\n */\nexport type RoleFilter = {\n /**\n * The role ID search filters.\n */\n roleId?: string;\n /**\n * The role name search filters.\n */\n name?: string;\n};\n\n/**\n * Role search response.\n */\nexport type RoleSearchQueryResult = SearchQueryResponse & {\n /**\n * The matching roles.\n */\n items: Array<RoleResult>;\n};\n\nexport type RoleUserResult = {\n username: Username;\n};\n\nexport type RoleUserSearchResult = SearchQueryResponse & {\n /**\n * The matching users.\n */\n items: Array<RoleUserResult>;\n};\n\nexport type RoleUserSearchQueryRequest = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<RoleUserSearchQuerySortRequest>;\n};\n\nexport type RoleUserSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'username';\n order?: SortOrderEnum;\n};\n\nexport type RoleClientResult = {\n /**\n * The ID of the client.\n */\n clientId: string;\n};\n\nexport type RoleClientSearchResult = SearchQueryResponse & {\n /**\n * The matching clients.\n */\n items: Array<RoleClientResult>;\n};\n\nexport type RoleClientSearchQueryRequest = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<RoleClientSearchQuerySortRequest>;\n};\n\nexport type RoleClientSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'clientId';\n order?: SortOrderEnum;\n};\n\nexport type RoleGroupResult = {\n /**\n * The id of the group.\n */\n groupId: string;\n};\n\nexport type RoleGroupSearchResult = SearchQueryResponse & {\n /**\n * The matching groups.\n */\n items: Array<RoleGroupResult>;\n};\n\nexport type RoleGroupSearchQueryRequest = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<RoleGroupSearchQuerySortRequest>;\n};\n\nexport type RoleMappingRuleSearchResult = SearchQueryResponse & {\n /**\n * The matching mapping rules.\n */\n items: Array<MappingRuleResult>;\n};\n\nexport type RoleGroupSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'groupId';\n order?: SortOrderEnum;\n};\n\nexport type SearchQueryRequest = {\n /**\n * Pagination criteria.\n */\n page?: SearchQueryPageRequest;\n};\n\n/**\n * Pagination criteria. Can use offset-based pagination (from/limit) OR cursor-based pagination (after/before + limit), but not both.\n */\nexport type SearchQueryPageRequest = LimitPagination | OffsetPagination | CursorForwardPagination | CursorBackwardPagination;\n\n/**\n * Limit-based pagination\n */\nexport type LimitPagination = {\n /**\n * The maximum number of items to return in one request.\n */\n limit?: number;\n};\n\n/**\n * Offset-based pagination\n */\nexport type OffsetPagination = {\n /**\n * The index of items to start searching from.\n */\n from?: number;\n /**\n * The maximum number of items to return in one request.\n */\n limit?: number;\n};\n\n/**\n * Cursor-based forward pagination\n */\nexport type CursorForwardPagination = {\n /**\n * Use the `endCursor` value from the previous response to fetch the next page of results.\n */\n after: EndCursor;\n /**\n * The maximum number of items to return in one request.\n */\n limit?: number;\n};\n\n/**\n * Cursor-based backward pagination\n */\nexport type CursorBackwardPagination = {\n /**\n * Use the `startCursor` value from the previous response to fetch the previous page of results.\n */\n before: StartCursor;\n /**\n * The maximum number of items to return in one request.\n */\n limit?: number;\n};\n\nexport type SearchQueryResponse = {\n page: SearchQueryPageResponse;\n};\n\n/**\n * The order in which to sort the related field.\n */\nexport type SortOrderEnum = 'ASC' | 'DESC';\n\n/**\n * Pagination information about the search results.\n */\nexport type SearchQueryPageResponse = {\n /**\n * Total items matching the criteria.\n */\n totalItems: number;\n /**\n * Indicates whether the `totalItems` value has been capped due to system limits. When true, `totalItems` is a lower bound and the actual number of matching items is greater than the reported value.\n *\n */\n hasMoreTotalItems: boolean;\n /**\n * The cursor value for getting the previous page of results. Use this in the `before` field of an ensuing request.\n */\n startCursor: StartCursor | null;\n /**\n * The cursor value for getting the next page of results. Use this in the `after` field of an ensuing request.\n */\n endCursor: EndCursor | null;\n};\n\nexport type SignalBroadcastRequest = {\n /**\n * The name of the signal to broadcast.\n */\n signalName: string;\n /**\n * The signal variables as a JSON object.\n */\n variables?: {\n [key: string]: unknown;\n };\n /**\n * The ID of the tenant that owns the signal.\n */\n tenantId?: TenantId;\n};\n\nexport type SignalBroadcastResult = {\n /**\n * The tenant ID of the signal that was broadcast.\n */\n tenantId: TenantId;\n /**\n * The key of the broadcasted signal.\n */\n signalKey: SignalKey;\n};\n\n/**\n * System-generated key for an signal.\n */\nexport type SignalKey = CamundaKey<'SignalKey'>;\n\nexport type UsageMetricsResponse = UsageMetricsResponseItem & {\n /**\n * The amount of active tenants.\n */\n activeTenants: number;\n /**\n * The usage metrics by tenants. Only available if request `withTenants` query parameter was `true`.\n */\n tenants: {\n [key: string]: UsageMetricsResponseItem;\n };\n};\n\nexport type UsageMetricsResponseItem = {\n /**\n * The amount of created root process instances.\n */\n processInstances: number;\n /**\n * The amount of executed decision instances.\n */\n decisionInstances: number;\n /**\n * The amount of unique active task users.\n */\n assignees: number;\n};\n\n/**\n * Envelope for all system configuration sections. Each property\n * represents a feature area.\n *\n */\nexport type SystemConfigurationResponse = {\n jobMetrics: JobMetricsConfigurationResponse;\n};\n\n/**\n * Configuration for job metrics collection and export.\n */\nexport type JobMetricsConfigurationResponse = {\n /**\n * Whether job metrics export is enabled.\n */\n enabled: boolean;\n /**\n * The interval at which job metrics are exported, as an ISO 8601 duration.\n */\n exportInterval: string;\n /**\n * The maximum length of the worker name used in job metrics labels.\n */\n maxWorkerNameLength: number;\n /**\n * The maximum length of the job type used in job metrics labels.\n */\n maxJobTypeLength: number;\n /**\n * The maximum length of the tenant ID used in job metrics labels.\n */\n maxTenantIdLength: number;\n /**\n * The maximum number of unique metric keys tracked for job metrics.\n */\n maxUniqueKeys: number;\n};\n\nexport type TenantCreateRequest = {\n /**\n * The unique ID for the tenant. Must be 255 characters or less. Can contain letters, numbers, [`_`, `-`, `+`, `.`, `@`].\n */\n tenantId: string;\n /**\n * The name of the tenant.\n */\n name: string;\n /**\n * The description of the tenant.\n */\n description?: string;\n};\n\nexport type TenantCreateResult = {\n tenantId: TenantId;\n /**\n * The name of the tenant.\n */\n name: string;\n /**\n * The description of the tenant.\n */\n description: string | null;\n};\n\nexport type TenantUpdateRequest = {\n /**\n * The new name of the tenant.\n */\n name: string;\n /**\n * The new description of the tenant.\n */\n description?: string;\n};\n\nexport type TenantUpdateResult = {\n tenantId: TenantId;\n /**\n * The name of the tenant.\n */\n name: string;\n /**\n * The description of the tenant.\n */\n description: string | null;\n};\n\n/**\n * Tenant search response item.\n */\nexport type TenantResult = {\n /**\n * The tenant name.\n */\n name: string;\n tenantId: TenantId;\n /**\n * The tenant description.\n */\n description: string | null;\n};\n\nexport type TenantSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'key' | 'name' | 'tenantId';\n order?: SortOrderEnum;\n};\n\n/**\n * Tenant search request\n */\nexport type TenantSearchQueryRequest = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<TenantSearchQuerySortRequest>;\n /**\n * The tenant search filters.\n */\n filter?: TenantFilter;\n};\n\n/**\n * Tenant filter request\n */\nexport type TenantFilter = {\n tenantId?: TenantId;\n /**\n * The name of the tenant.\n */\n name?: string;\n};\n\n/**\n * Tenant search response.\n */\nexport type TenantSearchQueryResult = SearchQueryResponse & {\n /**\n * The matching tenants.\n */\n items: Array<TenantResult>;\n};\n\nexport type TenantUserResult = {\n username: Username;\n};\n\nexport type TenantUserSearchResult = SearchQueryResponse & {\n /**\n * The matching users.\n */\n items: Array<TenantUserResult>;\n};\n\nexport type TenantUserSearchQueryRequest = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<TenantUserSearchQuerySortRequest>;\n};\n\nexport type TenantUserSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'username';\n order?: SortOrderEnum;\n};\n\nexport type TenantClientResult = {\n /**\n * The ID of the client.\n */\n clientId: string;\n};\n\nexport type TenantClientSearchResult = SearchQueryResponse & {\n /**\n * The matching clients.\n */\n items: Array<TenantClientResult>;\n};\n\nexport type TenantClientSearchQueryRequest = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<TenantClientSearchQuerySortRequest>;\n};\n\nexport type TenantClientSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'clientId';\n order?: SortOrderEnum;\n};\n\nexport type TenantGroupResult = {\n /**\n * The groupId of the group.\n */\n groupId: string;\n};\n\nexport type TenantGroupSearchResult = SearchQueryResponse & {\n /**\n * The matching groups.\n */\n items: Array<TenantGroupResult>;\n};\n\nexport type TenantGroupSearchQueryRequest = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<TenantGroupSearchQuerySortRequest>;\n};\n\nexport type TenantRoleSearchResult = SearchQueryResponse & {\n /**\n * The matching roles.\n */\n items: Array<RoleResult>;\n};\n\nexport type TenantMappingRuleSearchResult = SearchQueryResponse & {\n /**\n * The matching mapping rules.\n */\n items: Array<MappingRuleResult>;\n};\n\nexport type TenantGroupSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'groupId';\n order?: SortOrderEnum;\n};\n\nexport type UserTaskSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'creationDate' | 'completionDate' | 'followUpDate' | 'dueDate' | 'priority' | 'name';\n order?: SortOrderEnum;\n};\n\n/**\n * User task search query request.\n */\nexport type UserTaskSearchQuery = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<UserTaskSearchQuerySortRequest>;\n /**\n * The user task search filters.\n */\n filter?: UserTaskFilter;\n};\n\n/**\n * User task filter request.\n */\nexport type UserTaskFilter = {\n /**\n * The user task state.\n */\n state?: UserTaskStateFilterProperty;\n /**\n * The assignee of the user task.\n */\n assignee?: StringFilterProperty;\n /**\n * The priority of the user task.\n */\n priority?: IntegerFilterProperty;\n /**\n * The element ID of the user task.\n */\n elementId?: ElementId;\n /**\n * The task name. This only works for data created with 8.8 and onwards. Instances from prior versions don't contain this data and cannot be found.\n *\n */\n name?: StringFilterProperty;\n /**\n * The candidate group for this user task.\n */\n candidateGroup?: StringFilterProperty;\n /**\n * The candidate user for this user task.\n */\n candidateUser?: StringFilterProperty;\n /**\n * Tenant ID of this user task.\n */\n tenantId?: StringFilterProperty;\n /**\n * The ID of the process definition.\n */\n processDefinitionId?: ProcessDefinitionId;\n /**\n * The user task creation date.\n */\n creationDate?: DateTimeFilterProperty;\n /**\n * The user task completion date.\n */\n completionDate?: DateTimeFilterProperty;\n /**\n * The user task follow-up date.\n */\n followUpDate?: DateTimeFilterProperty;\n /**\n * The user task due date.\n */\n dueDate?: DateTimeFilterProperty;\n /**\n * The variables of the process instance.\n */\n processInstanceVariables?: Array<VariableValueFilterProperty>;\n /**\n * The local variables of the user task.\n */\n localVariables?: Array<VariableValueFilterProperty>;\n /**\n * The key for this user task.\n */\n userTaskKey?: UserTaskKey;\n /**\n * The key of the process definition.\n */\n processDefinitionKey?: ProcessDefinitionKey;\n /**\n * The key of the process instance.\n */\n processInstanceKey?: ProcessInstanceKey;\n /**\n * The key of the element instance.\n */\n elementInstanceKey?: ElementInstanceKey;\n tags?: TagSet;\n};\n\n/**\n * User task search query response.\n */\nexport type UserTaskSearchQueryResult = SearchQueryResponse & {\n /**\n * The matching user tasks.\n */\n items: Array<UserTaskResult>;\n};\n\nexport type UserTaskResult = {\n /**\n * The name for this user task.\n */\n name: string | null;\n state: UserTaskStateEnum;\n /**\n * The assignee of the user task.\n */\n assignee: string | null;\n /**\n * The element ID of the user task.\n */\n elementId: ElementId;\n /**\n * The candidate groups for this user task.\n */\n candidateGroups: Array<string>;\n /**\n * The candidate users for this user task.\n */\n candidateUsers: Array<string>;\n /**\n * The ID of the process definition.\n */\n processDefinitionId: ProcessDefinitionId;\n /**\n * The creation date of a user task.\n */\n creationDate: string;\n /**\n * The completion date of a user task.\n */\n completionDate: string | null;\n /**\n * The follow date of a user task.\n */\n followUpDate: string | null;\n /**\n * The due date of a user task.\n */\n dueDate: string | null;\n tenantId: TenantId;\n /**\n * The external form reference.\n */\n externalFormReference: string | null;\n /**\n * The version of the process definition.\n */\n processDefinitionVersion: number;\n /**\n * Custom headers for the user task.\n */\n customHeaders: {\n [key: string]: string;\n };\n /**\n * The priority of a user task. The higher the value the higher the priority.\n */\n priority: number;\n /**\n * The key of the user task.\n */\n userTaskKey: UserTaskKey;\n /**\n * The key of the element instance.\n */\n elementInstanceKey: ElementInstanceKey;\n /**\n * The name of the process definition.\n * This is `null` if the process has no name defined.\n *\n */\n processName: string | null;\n /**\n * The key of the process definition.\n */\n processDefinitionKey: ProcessDefinitionKey;\n /**\n * The key of the process instance.\n */\n processInstanceKey: ProcessInstanceKey;\n /**\n * The key of the root process instance. The root process instance is the top-level\n * ancestor in the process instance hierarchy. This field is only present for data\n * belonging to process instance hierarchies created in version 8.9 or later.\n *\n */\n rootProcessInstanceKey: ProcessInstanceKey | null;\n /**\n * The key of the form.\n */\n formKey: FormKey | null;\n tags: TagSet;\n};\n\nexport type UserTaskCompletionRequest = {\n /**\n * The variables to complete the user task with.\n */\n variables?: {\n [key: string]: unknown;\n } | null;\n /**\n * A custom action value that will be accessible from user task events resulting from this endpoint invocation. If not provided, it will default to \"complete\".\n *\n */\n action?: string | null;\n};\n\nexport type UserTaskAssignmentRequest = {\n /**\n * The assignee for the user task. The assignee must not be empty or `null`.\n */\n assignee?: string;\n /**\n * By default, the task is reassigned if it was already assigned. Set this to `false` to return an error in such cases. The task must then first be unassigned to be assigned again. Use this when you have users picking from group task queues to prevent race conditions.\n *\n */\n allowOverride?: boolean | null;\n /**\n * A custom action value that will be accessible from user task events resulting from this endpoint invocation. If not provided, it will default to \"assign\".\n *\n */\n action?: string | null;\n};\n\nexport type UserTaskUpdateRequest = {\n changeset?: Changeset;\n /**\n * A custom action value that will be accessible from user task events resulting from this endpoint invocation. If not provided, it will default to \"update\".\n *\n */\n action?: string | null;\n};\n\n/**\n * JSON object with changed task attribute values.\n *\n * The following attributes can be adjusted with this endpoint, additional attributes\n * will be ignored:\n *\n * * `candidateGroups` - reset by providing an empty list\n * * `candidateUsers` - reset by providing an empty list\n * * `dueDate` - reset by providing an empty String\n * * `followUpDate` - reset by providing an empty String\n * * `priority` - minimum 0, maximum 100, default 50\n *\n * Providing any of those attributes with a `null` value or omitting it preserves\n * the persisted attribute's value.\n *\n * The assignee cannot be adjusted with this endpoint, use the Assign task endpoint.\n * This ensures correct event emission for assignee changes.\n *\n */\nexport type Changeset = {\n /**\n * The due date of the task. Reset by providing an empty String.\n */\n dueDate?: string | null;\n /**\n * The follow-up date of the task. Reset by providing an empty String.\n */\n followUpDate?: string | null;\n /**\n * The list of candidate users of the task. Reset by providing an empty list.\n */\n candidateUsers?: Array<string> | null;\n /**\n * The list of candidate groups of the task. Reset by providing an empty list.\n */\n candidateGroups?: Array<string> | null;\n /**\n * The priority of the task.\n */\n priority?: number | null;\n [key: string]: unknown | string | null | string | null | Array<string> | null | Array<string> | null | number | null | undefined;\n} | null;\n\nexport type UserTaskVariableSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'value' | 'name' | 'tenantId' | 'variableKey' | 'scopeKey' | 'processInstanceKey';\n order?: SortOrderEnum;\n};\n\n/**\n * User task search query request.\n */\nexport type UserTaskVariableSearchQueryRequest = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<UserTaskVariableSearchQuerySortRequest>;\n /**\n * The user task variable search filters.\n */\n filter?: UserTaskVariableFilter;\n};\n\n/**\n * User task effective variable search query request. Uses offset-based pagination only.\n *\n */\nexport type UserTaskEffectiveVariableSearchQueryRequest = {\n /**\n * Pagination parameters.\n */\n page?: OffsetPagination;\n /**\n * Sort field criteria.\n */\n sort?: Array<UserTaskVariableSearchQuerySortRequest>;\n /**\n * The user task variable search filters.\n */\n filter?: UserTaskVariableFilter;\n};\n\n/**\n * User task search query request.\n */\nexport type UserTaskAuditLogSearchQueryRequest = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<AuditLogSearchQuerySortRequest>;\n filter?: UserTaskAuditLogFilter;\n};\n\n/**\n * The state of the user task.\n * Note: FAILED state is only for legacy job-worker-based tasks.\n *\n */\nexport type UserTaskStateEnum = 'CREATING' | 'CREATED' | 'ASSIGNING' | 'UPDATING' | 'COMPLETING' | 'COMPLETED' | 'CANCELING' | 'CANCELED' | 'FAILED';\n\n/**\n * The user task variable search filters.\n */\nexport type UserTaskVariableFilter = {\n /**\n * Name of the variable.\n */\n name?: StringFilterProperty;\n};\n\n/**\n * UserTaskStateEnum property with full advanced search capabilities.\n */\nexport type UserTaskStateFilterProperty = UserTaskStateExactMatch | AdvancedUserTaskStateFilter;\n\n/**\n * Advanced filter\n *\n * Advanced UserTaskStateEnum filter.\n */\nexport type AdvancedUserTaskStateFilter = {\n /**\n * Checks for equality with the provided value.\n */\n $eq?: UserTaskStateEnum;\n /**\n * Checks for inequality with the provided value.\n */\n $neq?: UserTaskStateEnum;\n /**\n * Checks if the current property exists.\n */\n $exists?: boolean;\n /**\n * Checks if the property matches any of the provided values.\n */\n $in?: Array<UserTaskStateEnum>;\n $like?: LikeFilter;\n};\n\n/**\n * The user task audit log search filters.\n */\nexport type UserTaskAuditLogFilter = {\n /**\n * The audit log operation type search filter.\n */\n operationType?: OperationTypeFilterProperty;\n /**\n * The audit log result search filter.\n */\n result?: AuditLogResultFilterProperty;\n /**\n * The audit log timestamp filter.\n */\n timestamp?: DateTimeFilterProperty;\n /**\n * The actor type search filter.\n */\n actorType?: AuditLogActorTypeFilterProperty;\n /**\n * The actor ID search filter.\n */\n actorId?: StringFilterProperty;\n};\n\nexport type UserRequest = {\n /**\n * The password of the user.\n */\n password: string;\n /**\n * The username of the user.\n */\n username: string;\n /**\n * The name of the user.\n */\n name?: string;\n /**\n * The email of the user.\n */\n email?: string;\n};\n\nexport type UserCreateResult = {\n username: Username;\n /**\n * The name of the user.\n */\n name: string | null;\n /**\n * The email of the user.\n */\n email: string | null;\n};\n\nexport type UserUpdateRequest = {\n /**\n * The password of the user. If blank, the password is unchanged.\n */\n password?: string;\n /**\n * The name of the user.\n */\n name?: string;\n /**\n * The email of the user.\n */\n email?: string;\n};\n\nexport type UserUpdateResult = {\n username: Username;\n /**\n * The name of the user.\n */\n name: string | null;\n /**\n * The email of the user.\n */\n email: string | null;\n};\n\nexport type UserResult = {\n username: Username;\n /**\n * The name of the user.\n */\n name: string | null;\n /**\n * The email of the user.\n */\n email: string | null;\n};\n\nexport type UserSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'username' | 'name' | 'email';\n order?: SortOrderEnum;\n};\n\nexport type UserSearchQueryRequest = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<UserSearchQuerySortRequest>;\n /**\n * The user search filters.\n */\n filter?: UserFilter;\n};\n\n/**\n * User search filter.\n */\nexport type UserFilter = {\n /**\n * The username of the user.\n */\n username?: StringFilterProperty;\n /**\n * The name of the user.\n */\n name?: StringFilterProperty;\n /**\n * The email of the user.\n */\n email?: StringFilterProperty;\n};\n\nexport type UserSearchResult = SearchQueryResponse & {\n /**\n * The matching users.\n */\n items: Array<UserResult>;\n};\n\nexport type VariableSearchQuerySortRequest = {\n /**\n * The field to sort by.\n */\n field: 'value' | 'name' | 'tenantId' | 'variableKey' | 'scopeKey' | 'processInstanceKey';\n order?: SortOrderEnum;\n};\n\n/**\n * Variable search query request.\n */\nexport type VariableSearchQuery = SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<VariableSearchQuerySortRequest>;\n /**\n * The variable search filters.\n */\n filter?: VariableFilter;\n};\n\n/**\n * Variable filter request.\n */\nexport type VariableFilter = {\n /**\n * Name of the variable.\n */\n name?: StringFilterProperty;\n /**\n * The value of the variable.\n * Variable values in filters need to be in serialized JSON format. For example, a variable\n * with string value `myValue` can be found with the filter value `\"myValue\"`. Consider\n * appropriate escaping for special characters in JSON strings when constructing filter values.\n *\n */\n value?: StringFilterProperty;\n /**\n * Tenant ID of this variable.\n */\n tenantId?: TenantId;\n /**\n * Whether the value is truncated or not.\n */\n isTruncated?: boolean;\n /**\n * The key for this variable.\n */\n variableKey?: VariableKeyFilterProperty;\n /**\n * The key of the scope that defines where this variable is directly defined. This can be a\n * process instance key (for process-level variables) or an element instance key (for local\n * variables scoped to tasks, subprocesses, gateways, events, etc.). Use this filter to\n * find variables directly defined in specific scopes. Note that this does not include\n * variables from parent scopes that would be visible through the scope hierarchy.\n *\n */\n scopeKey?: ScopeKeyFilterProperty;\n /**\n * The key of the process instance of this variable.\n */\n processInstanceKey?: ProcessInstanceKeyFilterProperty;\n};\n\n/**\n * Variable search query response.\n */\nexport type VariableSearchQueryResult = SearchQueryResponse & {\n /**\n * The matching variables.\n */\n items: Array<VariableSearchResult>;\n};\n\n/**\n * Variable search response item.\n */\nexport type VariableSearchResult = VariableResultBase & {\n /**\n * Value of this variable. Can be truncated.\n */\n value: string;\n /**\n * Whether the value is truncated or not.\n */\n isTruncated: boolean;\n};\n\n/**\n * Variable search response item.\n */\nexport type VariableResult = VariableResultBase & {\n /**\n * Full value of this variable.\n */\n value: string;\n};\n\n/**\n * Variable response item.\n */\nexport type VariableResultBase = {\n /**\n * Name of this variable.\n */\n name: string;\n /**\n * Tenant ID of this variable.\n */\n tenantId: TenantId;\n /**\n * The key for this variable.\n */\n variableKey: VariableKey;\n /**\n * The key of the scope where this variable is directly defined. For process-level\n * variables, this is the process instance key. For local variables, this is the key of the\n * specific element instance (task, subprocess, gateway, event, etc.) where the variable is\n * directly defined.\n *\n */\n scopeKey: ScopeKey;\n /**\n * The key of the process instance of this variable.\n */\n processInstanceKey: ProcessInstanceKey;\n /**\n * The key of the root process instance. The root process instance is the top-level\n * ancestor in the process instance hierarchy. This field is only present for data\n * belonging to process instance hierarchies created in version 8.9 or later.\n *\n */\n rootProcessInstanceKey: ProcessInstanceKey | null;\n};\n\nexport type VariableValueFilterProperty = {\n /**\n * Name of the variable.\n */\n name: string;\n /**\n * The value of the variable.\n * Variable values in filters need to be in serialized JSON format. For example, a variable\n * with string value `myValue` can be found with the filter value `\"myValue\"`. Consider\n * appropriate escaping for special characters in JSON strings when constructing filter values.\n *\n */\n value: StringFilterProperty;\n};\n\nexport type SetVariableRequest = {\n /**\n * JSON object representing the variables to set in the element’s scope.\n */\n variables: {\n [key: string]: unknown;\n };\n /**\n * If set to `true`, the variables are merged strictly into the local scope (as specified\n * by the `elementInstanceKey`). Otherwise, the variables are propagated to upper scopes\n * and set at the outermost one.\n *\n * Let's consider the following example:\n * There are two scopes '1' and '2'. Scope '1' is the parent scope of '2'. The effective\n * variables of the scopes are:\n * 1 => { \"foo\" : 2 }\n * 2 => { \"bar\" : 1 }\n *\n * An update request with elementInstanceKey as '2', variables { \"foo\": 5 }, and local set\n * to `true` leaves scope '1' unchanged and adjusts scope '2' to { \"bar\": 1, \"foo\": 5 }. By\n * default, with local set to `false`, scope '1' will be { \"foo\": 5 } and scope '2' will be\n * { \"bar\": 1 }.\n */\n local?: boolean;\n operationReference?: OperationReference;\n};\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type AuditLogEntityKeyExactMatch = AuditLogEntityKey;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type EntityTypeExactMatch = AuditLogEntityTypeEnum;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type OperationTypeExactMatch = AuditLogOperationTypeEnum;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type CategoryExactMatch = AuditLogCategoryEnum;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type AuditLogResultExactMatch = AuditLogResultEnum;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type AuditLogActorTypeExactMatch = AuditLogActorTypeEnum;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type BatchOperationTypeExactMatch = BatchOperationTypeEnum;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type BatchOperationStateExactMatch = BatchOperationStateEnum;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type BatchOperationItemStateExactMatch = BatchOperationItemStateEnum;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type ClusterVariableScopeExactMatch = ClusterVariableScopeEnum;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type DecisionInstanceStateExactMatch = DecisionInstanceStateEnum;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type DeploymentKeyExactMatch = DeploymentKey;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type ResourceKeyExactMatch = ResourceKey;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type ElementInstanceStateExactMatch = ElementInstanceStateEnum;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type GlobalListenerSourceExactMatch = GlobalListenerSourceEnum;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type GlobalTaskListenerEventTypeExactMatch = GlobalTaskListenerEventTypeEnum;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type IncidentErrorTypeExactMatch = IncidentErrorTypeEnum;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type IncidentStateExactMatch = IncidentStateEnum;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type JobKindExactMatch = JobKindEnum;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type JobListenerEventTypeExactMatch = JobListenerEventTypeEnum;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type JobStateExactMatch = JobStateEnum;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type ProcessDefinitionKeyExactMatch = ProcessDefinitionKey;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type ProcessInstanceKeyExactMatch = ProcessInstanceKey;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type ElementInstanceKeyExactMatch = ElementInstanceKey;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type JobKeyExactMatch = JobKey;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type DecisionDefinitionKeyExactMatch = DecisionDefinitionKey;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type ScopeKeyExactMatch = ScopeKey;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type VariableKeyExactMatch = VariableKey;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type DecisionEvaluationInstanceKeyExactMatch = DecisionEvaluationInstanceKey;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type AuditLogKeyExactMatch = AuditLogKey;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type FormKeyExactMatch = FormKey;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type DecisionEvaluationKeyExactMatch = DecisionEvaluationKey;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type DecisionRequirementsKeyExactMatch = DecisionRequirementsKey;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type MessageSubscriptionStateExactMatch = MessageSubscriptionStateEnum;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type MessageSubscriptionKeyExactMatch = MessageSubscriptionKey;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type ProcessInstanceStateExactMatch = ProcessInstanceStateEnum;\n\n/**\n * Exact match\n *\n * Matches the value exactly.\n */\nexport type UserTaskStateExactMatch = UserTaskStateEnum;\n\nexport type SearchAuditLogsData = {\n body?: AuditLogSearchQueryRequest;\n path?: never;\n query?: never;\n url: '/audit-logs/search';\n};\n\nexport type SearchAuditLogsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: unknown;\n};\n\nexport type SearchAuditLogsError = SearchAuditLogsErrors[keyof SearchAuditLogsErrors];\n\nexport type SearchAuditLogsResponses = {\n /**\n * The audit logs search result.\n */\n 200: AuditLogSearchQueryResult;\n};\n\nexport type SearchAuditLogsResponse = SearchAuditLogsResponses[keyof SearchAuditLogsResponses];\n\nexport type GetAuditLogData = {\n body?: never;\n path: {\n /**\n * The audit log key.\n */\n auditLogKey: AuditLogKey;\n };\n query?: never;\n url: '/audit-logs/{auditLogKey}';\n};\n\nexport type GetAuditLogErrors = {\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The audit log with the given key was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetAuditLogError = GetAuditLogErrors[keyof GetAuditLogErrors];\n\nexport type GetAuditLogResponses = {\n /**\n * The audit log entry is successfully returned.\n */\n 200: AuditLogResult;\n};\n\nexport type GetAuditLogResponse = GetAuditLogResponses[keyof GetAuditLogResponses];\n\nexport type GetAuthenticationData = {\n body?: never;\n path?: never;\n query?: never;\n url: '/authentication/me';\n};\n\nexport type GetAuthenticationErrors = {\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetAuthenticationError = GetAuthenticationErrors[keyof GetAuthenticationErrors];\n\nexport type GetAuthenticationResponses = {\n /**\n * The current user is successfully returned.\n */\n 200: CamundaUserResult;\n};\n\nexport type GetAuthenticationResponse = GetAuthenticationResponses[keyof GetAuthenticationResponses];\n\nexport type CreateAuthorizationData = {\n body: AuthorizationRequest;\n path?: never;\n query?: never;\n url: '/authorizations';\n};\n\nexport type CreateAuthorizationErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The owner was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type CreateAuthorizationError = CreateAuthorizationErrors[keyof CreateAuthorizationErrors];\n\nexport type CreateAuthorizationResponses = {\n /**\n * The authorization was created successfully.\n */\n 201: AuthorizationCreateResult;\n};\n\nexport type CreateAuthorizationResponse = CreateAuthorizationResponses[keyof CreateAuthorizationResponses];\n\nexport type SearchAuthorizationsData = {\n body?: AuthorizationSearchQuery;\n path?: never;\n query?: never;\n url: '/authorizations/search';\n};\n\nexport type SearchAuthorizationsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchAuthorizationsError = SearchAuthorizationsErrors[keyof SearchAuthorizationsErrors];\n\nexport type SearchAuthorizationsResponses = {\n /**\n * The authorization search result.\n */\n 200: AuthorizationSearchResult;\n};\n\nexport type SearchAuthorizationsResponse = SearchAuthorizationsResponses[keyof SearchAuthorizationsResponses];\n\nexport type DeleteAuthorizationData = {\n body?: never;\n path: {\n /**\n * The key of the authorization to delete.\n */\n authorizationKey: AuthorizationKey;\n };\n query?: never;\n url: '/authorizations/{authorizationKey}';\n};\n\nexport type DeleteAuthorizationErrors = {\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * The authorization with the authorizationKey was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type DeleteAuthorizationError = DeleteAuthorizationErrors[keyof DeleteAuthorizationErrors];\n\nexport type DeleteAuthorizationResponses = {\n /**\n * The authorization was deleted successfully.\n */\n 204: void;\n};\n\nexport type DeleteAuthorizationResponse = DeleteAuthorizationResponses[keyof DeleteAuthorizationResponses];\n\nexport type GetAuthorizationData = {\n body?: never;\n path: {\n /**\n * The key of the authorization to get.\n */\n authorizationKey: AuthorizationKey;\n };\n query?: never;\n url: '/authorizations/{authorizationKey}';\n};\n\nexport type GetAuthorizationErrors = {\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The authorization with the given key was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetAuthorizationError = GetAuthorizationErrors[keyof GetAuthorizationErrors];\n\nexport type GetAuthorizationResponses = {\n /**\n * The authorization was successfully returned.\n */\n 200: AuthorizationResult;\n};\n\nexport type GetAuthorizationResponse = GetAuthorizationResponses[keyof GetAuthorizationResponses];\n\nexport type UpdateAuthorizationData = {\n body: AuthorizationRequest;\n path: {\n /**\n * The key of the authorization to delete.\n */\n authorizationKey: AuthorizationKey;\n };\n query?: never;\n url: '/authorizations/{authorizationKey}';\n};\n\nexport type UpdateAuthorizationErrors = {\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * The authorization with the authorizationKey was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type UpdateAuthorizationError = UpdateAuthorizationErrors[keyof UpdateAuthorizationErrors];\n\nexport type UpdateAuthorizationResponses = {\n /**\n * The authorization was updated successfully.\n */\n 204: void;\n};\n\nexport type UpdateAuthorizationResponse = UpdateAuthorizationResponses[keyof UpdateAuthorizationResponses];\n\nexport type SearchBatchOperationItemsData = {\n body?: BatchOperationItemSearchQuery;\n path?: never;\n query?: never;\n url: '/batch-operation-items/search';\n};\n\nexport type SearchBatchOperationItemsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchBatchOperationItemsError = SearchBatchOperationItemsErrors[keyof SearchBatchOperationItemsErrors];\n\nexport type SearchBatchOperationItemsResponses = {\n /**\n * The batch operation search result.\n */\n 200: BatchOperationItemSearchQueryResult;\n};\n\nexport type SearchBatchOperationItemsResponse = SearchBatchOperationItemsResponses[keyof SearchBatchOperationItemsResponses];\n\nexport type SearchBatchOperationsData = {\n body?: BatchOperationSearchQuery;\n path?: never;\n query?: never;\n url: '/batch-operations/search';\n};\n\nexport type SearchBatchOperationsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchBatchOperationsError = SearchBatchOperationsErrors[keyof SearchBatchOperationsErrors];\n\nexport type SearchBatchOperationsResponses = {\n /**\n * The batch operation search result.\n */\n 200: BatchOperationSearchQueryResult;\n};\n\nexport type SearchBatchOperationsResponse = SearchBatchOperationsResponses[keyof SearchBatchOperationsResponses];\n\nexport type GetBatchOperationData = {\n body?: never;\n path: {\n /**\n * The key (or operate legacy ID) of the batch operation.\n */\n batchOperationKey: BatchOperationKey;\n };\n query?: never;\n url: '/batch-operations/{batchOperationKey}';\n};\n\nexport type GetBatchOperationErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The batch operation is not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetBatchOperationError = GetBatchOperationErrors[keyof GetBatchOperationErrors];\n\nexport type GetBatchOperationResponses = {\n /**\n * The batch operation was found.\n */\n 200: BatchOperationResponse;\n};\n\nexport type GetBatchOperationResponse = GetBatchOperationResponses[keyof GetBatchOperationResponses];\n\nexport type CancelBatchOperationData = {\n body?: unknown;\n path: {\n /**\n * The key (or operate legacy ID) of the batch operation.\n */\n batchOperationKey: BatchOperationKey;\n };\n query?: never;\n url: '/batch-operations/{batchOperationKey}/cancellation';\n};\n\nexport type CancelBatchOperationErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Not found. The batch operation was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type CancelBatchOperationError = CancelBatchOperationErrors[keyof CancelBatchOperationErrors];\n\nexport type CancelBatchOperationResponses = {\n /**\n * The batch operation cancel request was created.\n */\n 204: void;\n};\n\nexport type CancelBatchOperationResponse = CancelBatchOperationResponses[keyof CancelBatchOperationResponses];\n\nexport type ResumeBatchOperationData = {\n body?: unknown;\n path: {\n /**\n * The key (or operate legacy ID) of the batch operation.\n */\n batchOperationKey: BatchOperationKey;\n };\n query?: never;\n url: '/batch-operations/{batchOperationKey}/resumption';\n};\n\nexport type ResumeBatchOperationErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Not found. The batch operation was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type ResumeBatchOperationError = ResumeBatchOperationErrors[keyof ResumeBatchOperationErrors];\n\nexport type ResumeBatchOperationResponses = {\n /**\n * The batch operation resume request was created.\n */\n 204: void;\n};\n\nexport type ResumeBatchOperationResponse = ResumeBatchOperationResponses[keyof ResumeBatchOperationResponses];\n\nexport type SuspendBatchOperationData = {\n body?: unknown;\n path: {\n /**\n * The key (or operate legacy ID) of the batch operation.\n */\n batchOperationKey: BatchOperationKey;\n };\n query?: never;\n url: '/batch-operations/{batchOperationKey}/suspension';\n};\n\nexport type SuspendBatchOperationErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Not found. The batch operation was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type SuspendBatchOperationError = SuspendBatchOperationErrors[keyof SuspendBatchOperationErrors];\n\nexport type SuspendBatchOperationResponses = {\n /**\n * The batch operation pause request was created.\n */\n 204: void;\n};\n\nexport type SuspendBatchOperationResponse = SuspendBatchOperationResponses[keyof SuspendBatchOperationResponses];\n\nexport type PinClockData = {\n body: ClockPinRequest;\n path?: never;\n query?: never;\n url: '/clock';\n};\n\nexport type PinClockErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type PinClockError = PinClockErrors[keyof PinClockErrors];\n\nexport type PinClockResponses = {\n /**\n * The clock was successfully pinned.\n */\n 204: void;\n};\n\nexport type PinClockResponse = PinClockResponses[keyof PinClockResponses];\n\nexport type ResetClockData = {\n body?: never;\n path?: never;\n query?: never;\n url: '/clock/reset';\n};\n\nexport type ResetClockErrors = {\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type ResetClockError = ResetClockErrors[keyof ResetClockErrors];\n\nexport type ResetClockResponses = {\n /**\n * The clock was successfully reset to the system time.\n */\n 204: void;\n};\n\nexport type ResetClockResponse = ResetClockResponses[keyof ResetClockResponses];\n\nexport type CreateGlobalClusterVariableData = {\n body: CreateClusterVariableRequest;\n path?: never;\n query?: never;\n url: '/cluster-variables/global';\n};\n\nexport type CreateGlobalClusterVariableErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type CreateGlobalClusterVariableError = CreateGlobalClusterVariableErrors[keyof CreateGlobalClusterVariableErrors];\n\nexport type CreateGlobalClusterVariableResponses = {\n /**\n * Cluster variable created\n */\n 200: ClusterVariableResult;\n};\n\nexport type CreateGlobalClusterVariableResponse = CreateGlobalClusterVariableResponses[keyof CreateGlobalClusterVariableResponses];\n\nexport type DeleteGlobalClusterVariableData = {\n body?: never;\n path: {\n /**\n * The name of the cluster variable\n */\n name: string;\n };\n query?: never;\n url: '/cluster-variables/global/{name}';\n};\n\nexport type DeleteGlobalClusterVariableErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Cluster variable not found\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type DeleteGlobalClusterVariableError = DeleteGlobalClusterVariableErrors[keyof DeleteGlobalClusterVariableErrors];\n\nexport type DeleteGlobalClusterVariableResponses = {\n /**\n * Cluster variable deleted successfully\n */\n 204: void;\n};\n\nexport type DeleteGlobalClusterVariableResponse = DeleteGlobalClusterVariableResponses[keyof DeleteGlobalClusterVariableResponses];\n\nexport type GetGlobalClusterVariableData = {\n body?: never;\n path: {\n /**\n * The name of the cluster variable\n */\n name: string;\n };\n query?: never;\n url: '/cluster-variables/global/{name}';\n};\n\nexport type GetGlobalClusterVariableErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Cluster variable not found\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetGlobalClusterVariableError = GetGlobalClusterVariableErrors[keyof GetGlobalClusterVariableErrors];\n\nexport type GetGlobalClusterVariableResponses = {\n /**\n * Cluster variable found\n */\n 200: ClusterVariableResult;\n};\n\nexport type GetGlobalClusterVariableResponse = GetGlobalClusterVariableResponses[keyof GetGlobalClusterVariableResponses];\n\nexport type UpdateGlobalClusterVariableData = {\n body: UpdateClusterVariableRequest;\n path: {\n /**\n * The name of the cluster variable\n */\n name: string;\n };\n query?: never;\n url: '/cluster-variables/global/{name}';\n};\n\nexport type UpdateGlobalClusterVariableErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Cluster variable not found\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type UpdateGlobalClusterVariableError = UpdateGlobalClusterVariableErrors[keyof UpdateGlobalClusterVariableErrors];\n\nexport type UpdateGlobalClusterVariableResponses = {\n /**\n * Cluster variable updated successfully\n */\n 200: ClusterVariableResult;\n};\n\nexport type UpdateGlobalClusterVariableResponse = UpdateGlobalClusterVariableResponses[keyof UpdateGlobalClusterVariableResponses];\n\nexport type SearchClusterVariablesData = {\n body?: ClusterVariableSearchQueryRequest;\n path?: never;\n query?: {\n /**\n * When true (default), long variable values in the response are truncated. When false, full variable values are returned.\n */\n truncateValues?: boolean;\n };\n url: '/cluster-variables/search';\n};\n\nexport type SearchClusterVariablesErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchClusterVariablesError = SearchClusterVariablesErrors[keyof SearchClusterVariablesErrors];\n\nexport type SearchClusterVariablesResponses = {\n /**\n * The cluster variable search result.\n */\n 200: ClusterVariableSearchQueryResult;\n};\n\nexport type SearchClusterVariablesResponse = SearchClusterVariablesResponses[keyof SearchClusterVariablesResponses];\n\nexport type CreateTenantClusterVariableData = {\n body: CreateClusterVariableRequest;\n path: {\n /**\n * The tenant ID\n */\n tenantId: TenantId;\n };\n query?: never;\n url: '/cluster-variables/tenants/{tenantId}';\n};\n\nexport type CreateTenantClusterVariableErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type CreateTenantClusterVariableError = CreateTenantClusterVariableErrors[keyof CreateTenantClusterVariableErrors];\n\nexport type CreateTenantClusterVariableResponses = {\n /**\n * Cluster variable created\n */\n 200: ClusterVariableResult;\n};\n\nexport type CreateTenantClusterVariableResponse = CreateTenantClusterVariableResponses[keyof CreateTenantClusterVariableResponses];\n\nexport type DeleteTenantClusterVariableData = {\n body?: never;\n path: {\n /**\n * The tenant ID\n */\n tenantId: TenantId;\n /**\n * The name of the cluster variable\n */\n name: string;\n };\n query?: never;\n url: '/cluster-variables/tenants/{tenantId}/{name}';\n};\n\nexport type DeleteTenantClusterVariableErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Cluster variable not found\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type DeleteTenantClusterVariableError = DeleteTenantClusterVariableErrors[keyof DeleteTenantClusterVariableErrors];\n\nexport type DeleteTenantClusterVariableResponses = {\n /**\n * Cluster variable deleted successfully\n */\n 204: void;\n};\n\nexport type DeleteTenantClusterVariableResponse = DeleteTenantClusterVariableResponses[keyof DeleteTenantClusterVariableResponses];\n\nexport type GetTenantClusterVariableData = {\n body?: never;\n path: {\n /**\n * The tenant ID\n */\n tenantId: TenantId;\n /**\n * The name of the cluster variable\n */\n name: string;\n };\n query?: never;\n url: '/cluster-variables/tenants/{tenantId}/{name}';\n};\n\nexport type GetTenantClusterVariableErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Cluster variable not found\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetTenantClusterVariableError = GetTenantClusterVariableErrors[keyof GetTenantClusterVariableErrors];\n\nexport type GetTenantClusterVariableResponses = {\n /**\n * Cluster variable found\n */\n 200: ClusterVariableResult;\n};\n\nexport type GetTenantClusterVariableResponse = GetTenantClusterVariableResponses[keyof GetTenantClusterVariableResponses];\n\nexport type UpdateTenantClusterVariableData = {\n body: UpdateClusterVariableRequest;\n path: {\n /**\n * The tenant ID\n */\n tenantId: TenantId;\n /**\n * The name of the cluster variable\n */\n name: string;\n };\n query?: never;\n url: '/cluster-variables/tenants/{tenantId}/{name}';\n};\n\nexport type UpdateTenantClusterVariableErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Cluster variable not found\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type UpdateTenantClusterVariableError = UpdateTenantClusterVariableErrors[keyof UpdateTenantClusterVariableErrors];\n\nexport type UpdateTenantClusterVariableResponses = {\n /**\n * Cluster variable updated successfully\n */\n 200: ClusterVariableResult;\n};\n\nexport type UpdateTenantClusterVariableResponse = UpdateTenantClusterVariableResponses[keyof UpdateTenantClusterVariableResponses];\n\nexport type EvaluateConditionalsData = {\n body: ConditionalEvaluationInstruction;\n path?: never;\n query?: never;\n url: '/conditionals/evaluation';\n};\n\nexport type EvaluateConditionalsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The client is not authorized to start process instances for the specified process definition.\n * If a processDefinitionKey is not provided, this indicates that the client is not authorized\n * to start process instances for at least one of the matched process definitions.\n *\n */\n 403: ProblemDetail;\n /**\n * The process definition was not found for the given processDefinitionKey.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type EvaluateConditionalsError = EvaluateConditionalsErrors[keyof EvaluateConditionalsErrors];\n\nexport type EvaluateConditionalsResponses = {\n /**\n * Successfully evaluated root-level conditional start events.\n */\n 200: EvaluateConditionalResult;\n};\n\nexport type EvaluateConditionalsResponse = EvaluateConditionalsResponses[keyof EvaluateConditionalsResponses];\n\nexport type SearchCorrelatedMessageSubscriptionsData = {\n body?: CorrelatedMessageSubscriptionSearchQuery;\n path?: never;\n query?: never;\n url: '/correlated-message-subscriptions/search';\n};\n\nexport type SearchCorrelatedMessageSubscriptionsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchCorrelatedMessageSubscriptionsError = SearchCorrelatedMessageSubscriptionsErrors[keyof SearchCorrelatedMessageSubscriptionsErrors];\n\nexport type SearchCorrelatedMessageSubscriptionsResponses = {\n /**\n * The correlated message subscriptions search result.\n */\n 200: CorrelatedMessageSubscriptionSearchQueryResult;\n};\n\nexport type SearchCorrelatedMessageSubscriptionsResponse = SearchCorrelatedMessageSubscriptionsResponses[keyof SearchCorrelatedMessageSubscriptionsResponses];\n\nexport type EvaluateDecisionData = {\n body: DecisionEvaluationInstruction;\n path?: never;\n query?: never;\n url: '/decision-definitions/evaluation';\n};\n\nexport type EvaluateDecisionErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The decision is not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type EvaluateDecisionError = EvaluateDecisionErrors[keyof EvaluateDecisionErrors];\n\nexport type EvaluateDecisionResponses = {\n /**\n * The decision was evaluated.\n */\n 200: EvaluateDecisionResult;\n};\n\nexport type EvaluateDecisionResponse = EvaluateDecisionResponses[keyof EvaluateDecisionResponses];\n\nexport type SearchDecisionDefinitionsData = {\n body?: DecisionDefinitionSearchQuery;\n path?: never;\n query?: never;\n url: '/decision-definitions/search';\n};\n\nexport type SearchDecisionDefinitionsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchDecisionDefinitionsError = SearchDecisionDefinitionsErrors[keyof SearchDecisionDefinitionsErrors];\n\nexport type SearchDecisionDefinitionsResponses = {\n /**\n * The decision definition search result.\n */\n 200: DecisionDefinitionSearchQueryResult;\n};\n\nexport type SearchDecisionDefinitionsResponse = SearchDecisionDefinitionsResponses[keyof SearchDecisionDefinitionsResponses];\n\nexport type GetDecisionDefinitionData = {\n body?: never;\n path: {\n /**\n * The assigned key of the decision definition, which acts as a unique identifier for this decision.\n */\n decisionDefinitionKey: DecisionDefinitionKey;\n };\n query?: never;\n url: '/decision-definitions/{decisionDefinitionKey}';\n};\n\nexport type GetDecisionDefinitionErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The decision definition with the given key was not found. More details are provided in the response body.\n *\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetDecisionDefinitionError = GetDecisionDefinitionErrors[keyof GetDecisionDefinitionErrors];\n\nexport type GetDecisionDefinitionResponses = {\n /**\n * The decision definition is successfully returned.\n */\n 200: DecisionDefinitionResult;\n};\n\nexport type GetDecisionDefinitionResponse = GetDecisionDefinitionResponses[keyof GetDecisionDefinitionResponses];\n\nexport type GetDecisionDefinitionXmlData = {\n body?: never;\n path: {\n /**\n * The assigned key of the decision definition, which acts as a unique identifier for this decision.\n */\n decisionDefinitionKey: DecisionDefinitionKey;\n };\n query?: never;\n url: '/decision-definitions/{decisionDefinitionKey}/xml';\n};\n\nexport type GetDecisionDefinitionXmlErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The decision definition with the given key was not found. More details are provided in the response body.\n *\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetDecisionDefinitionXmlError = GetDecisionDefinitionXmlErrors[keyof GetDecisionDefinitionXmlErrors];\n\nexport type GetDecisionDefinitionXmlResponses = {\n /**\n * The XML of the decision definition is successfully returned.\n */\n 200: string;\n};\n\nexport type GetDecisionDefinitionXmlResponse = GetDecisionDefinitionXmlResponses[keyof GetDecisionDefinitionXmlResponses];\n\nexport type SearchDecisionInstancesData = {\n body?: DecisionInstanceSearchQuery;\n path?: never;\n query?: never;\n url: '/decision-instances/search';\n};\n\nexport type SearchDecisionInstancesErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchDecisionInstancesError = SearchDecisionInstancesErrors[keyof SearchDecisionInstancesErrors];\n\nexport type SearchDecisionInstancesResponses = {\n /**\n * The decision instance search result.\n */\n 200: DecisionInstanceSearchQueryResult;\n};\n\nexport type SearchDecisionInstancesResponse = SearchDecisionInstancesResponses[keyof SearchDecisionInstancesResponses];\n\nexport type GetDecisionInstanceData = {\n body?: never;\n path: {\n /**\n * The assigned key of the decision instance, which acts as a unique identifier for this decision instance.\n */\n decisionEvaluationInstanceKey: DecisionEvaluationInstanceKey;\n };\n query?: never;\n url: '/decision-instances/{decisionEvaluationInstanceKey}';\n};\n\nexport type GetDecisionInstanceErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The decision instance with the given key was not found. More details are provided in the response body.\n *\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetDecisionInstanceError = GetDecisionInstanceErrors[keyof GetDecisionInstanceErrors];\n\nexport type GetDecisionInstanceResponses = {\n /**\n * The decision instance is successfully returned.\n */\n 200: DecisionInstanceGetQueryResult;\n};\n\nexport type GetDecisionInstanceResponse = GetDecisionInstanceResponses[keyof GetDecisionInstanceResponses];\n\nexport type DeleteDecisionInstanceData = {\n body?: {\n operationReference?: OperationReference;\n } | null;\n path: {\n /**\n * The key of the decision evaluation to delete.\n */\n decisionEvaluationKey: DecisionEvaluationKey;\n };\n query?: never;\n url: '/decision-instances/{decisionEvaluationKey}/deletion';\n};\n\nexport type DeleteDecisionInstanceErrors = {\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The decision instance is not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type DeleteDecisionInstanceError = DeleteDecisionInstanceErrors[keyof DeleteDecisionInstanceErrors];\n\nexport type DeleteDecisionInstanceResponses = {\n /**\n * The decision instance is marked for deletion.\n */\n 204: void;\n};\n\nexport type DeleteDecisionInstanceResponse = DeleteDecisionInstanceResponses[keyof DeleteDecisionInstanceResponses];\n\nexport type DeleteDecisionInstancesBatchOperationData = {\n body: DecisionInstanceDeletionBatchOperationRequest;\n path?: never;\n query?: never;\n url: '/decision-instances/deletion';\n};\n\nexport type DeleteDecisionInstancesBatchOperationErrors = {\n /**\n * The decision instance batch operation failed. More details are provided in the response body.\n *\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type DeleteDecisionInstancesBatchOperationError = DeleteDecisionInstancesBatchOperationErrors[keyof DeleteDecisionInstancesBatchOperationErrors];\n\nexport type DeleteDecisionInstancesBatchOperationResponses = {\n /**\n * The batch operation request was created.\n */\n 200: BatchOperationCreatedResult;\n};\n\nexport type DeleteDecisionInstancesBatchOperationResponse = DeleteDecisionInstancesBatchOperationResponses[keyof DeleteDecisionInstancesBatchOperationResponses];\n\nexport type SearchDecisionRequirementsData = {\n body?: DecisionRequirementsSearchQuery;\n path?: never;\n query?: never;\n url: '/decision-requirements/search';\n};\n\nexport type SearchDecisionRequirementsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchDecisionRequirementsError = SearchDecisionRequirementsErrors[keyof SearchDecisionRequirementsErrors];\n\nexport type SearchDecisionRequirementsResponses = {\n /**\n * The decision requirements search result.\n */\n 200: DecisionRequirementsSearchQueryResult;\n};\n\nexport type SearchDecisionRequirementsResponse = SearchDecisionRequirementsResponses[keyof SearchDecisionRequirementsResponses];\n\nexport type GetDecisionRequirementsData = {\n body?: never;\n path: {\n /**\n * The assigned key of the decision requirements, which acts as a unique identifier for this decision requirements.\n */\n decisionRequirementsKey: DecisionRequirementsKey;\n };\n query?: never;\n url: '/decision-requirements/{decisionRequirementsKey}';\n};\n\nexport type GetDecisionRequirementsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The decision requirements with the given key was not found. More details are provided in the response body.\n *\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetDecisionRequirementsError = GetDecisionRequirementsErrors[keyof GetDecisionRequirementsErrors];\n\nexport type GetDecisionRequirementsResponses = {\n /**\n * The decision requirements is successfully returned.\n */\n 200: DecisionRequirementsResult;\n};\n\nexport type GetDecisionRequirementsResponse = GetDecisionRequirementsResponses[keyof GetDecisionRequirementsResponses];\n\nexport type GetDecisionRequirementsXmlData = {\n body?: never;\n path: {\n /**\n * The assigned key of the decision requirements, which acts as a unique identifier for this decision.\n */\n decisionRequirementsKey: DecisionRequirementsKey;\n };\n query?: never;\n url: '/decision-requirements/{decisionRequirementsKey}/xml';\n};\n\nexport type GetDecisionRequirementsXmlErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The decision requirements with the given key was not found. More details are provided in the response body.\n *\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetDecisionRequirementsXmlError = GetDecisionRequirementsXmlErrors[keyof GetDecisionRequirementsXmlErrors];\n\nexport type GetDecisionRequirementsXmlResponses = {\n /**\n * The XML of the decision requirements is successfully returned.\n */\n 200: string;\n};\n\nexport type GetDecisionRequirementsXmlResponse = GetDecisionRequirementsXmlResponses[keyof GetDecisionRequirementsXmlResponses];\n\nexport type CreateDeploymentData = {\n body: {\n /**\n * The binary data to create the deployment resources. It is possible to have more than one form part with different form part names for the binary data to create a deployment.\n *\n */\n resources: Array<Blob | File>;\n tenantId?: TenantId;\n };\n path?: never;\n query?: never;\n url: '/deployments';\n};\n\nexport type CreateDeploymentErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type CreateDeploymentError = CreateDeploymentErrors[keyof CreateDeploymentErrors];\n\nexport type CreateDeploymentResponses = {\n /**\n * The resources are deployed.\n */\n 200: DeploymentResult;\n};\n\nexport type CreateDeploymentResponse = CreateDeploymentResponses[keyof CreateDeploymentResponses];\n\nexport type CreateDocumentData = {\n body: {\n file: Blob | File;\n metadata?: DocumentMetadata;\n };\n path?: never;\n query?: {\n /**\n * The ID of the document store to upload the documents to. Currently, only a single document store is supported per cluster. However, this attribute is included to allow for potential future support of multiple document stores.\n */\n storeId?: string;\n /**\n * The ID of the document to upload. If not provided, a new ID will be generated. Specifying an existing ID will result in an error if the document already exists.\n *\n */\n documentId?: DocumentId;\n };\n url: '/documents';\n};\n\nexport type CreateDocumentErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The server cannot process the request because the media type (Content-Type) of the request payload is not supported\n * by the server for the requested resource and method.\n *\n */\n 415: ProblemDetail;\n};\n\nexport type CreateDocumentError = CreateDocumentErrors[keyof CreateDocumentErrors];\n\nexport type CreateDocumentResponses = {\n /**\n * The document was uploaded successfully.\n */\n 201: DocumentReference;\n};\n\nexport type CreateDocumentResponse = CreateDocumentResponses[keyof CreateDocumentResponses];\n\nexport type CreateDocumentsData = {\n body: {\n /**\n * The documents to upload.\n */\n files: Array<Blob | File>;\n /**\n * Optional JSON array of metadata object whose index aligns with each file entry. The metadata array must have the same length as the files array.\n *\n */\n metadataList?: Array<DocumentMetadata>;\n };\n path?: never;\n query?: {\n /**\n * The ID of the document store to upload the documents to. Currently, only a single document store is supported per cluster. However, this attribute is included to allow for potential future support of multiple document stores.\n */\n storeId?: string;\n };\n url: '/documents/batch';\n};\n\nexport type CreateDocumentsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The server cannot process the request because the media type (Content-Type) of the request payload is not supported\n * by the server for the requested resource and method.\n *\n */\n 415: ProblemDetail;\n};\n\nexport type CreateDocumentsError = CreateDocumentsErrors[keyof CreateDocumentsErrors];\n\nexport type CreateDocumentsResponses = {\n /**\n * All documents were uploaded successfully.\n */\n 201: DocumentCreationBatchResponse;\n /**\n * Some documents were uploaded successfully, others failed.\n */\n 207: DocumentCreationBatchResponse;\n};\n\nexport type CreateDocumentsResponse = CreateDocumentsResponses[keyof CreateDocumentsResponses];\n\nexport type DeleteDocumentData = {\n body?: never;\n path: {\n /**\n * The ID of the document to delete.\n */\n documentId: DocumentId;\n };\n query?: {\n /**\n * The ID of the document store to delete the document from.\n */\n storeId?: string;\n };\n url: '/documents/{documentId}';\n};\n\nexport type DeleteDocumentErrors = {\n /**\n * The document with the given ID was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type DeleteDocumentError = DeleteDocumentErrors[keyof DeleteDocumentErrors];\n\nexport type DeleteDocumentResponses = {\n /**\n * The document was deleted successfully.\n */\n 204: void;\n};\n\nexport type DeleteDocumentResponse = DeleteDocumentResponses[keyof DeleteDocumentResponses];\n\nexport type GetDocumentData = {\n body?: never;\n path: {\n /**\n * The ID of the document to download.\n */\n documentId: DocumentId;\n };\n query?: {\n /**\n * The ID of the document store to download the document from.\n */\n storeId?: string;\n /**\n * The hash of the document content that was computed by the document store during upload. The hash is part of the document reference that is returned when uploading a document. If the client fails to provide the correct hash, the request will be rejected.\n *\n */\n contentHash?: string;\n };\n url: '/documents/{documentId}';\n};\n\nexport type GetDocumentErrors = {\n /**\n * The document with the given ID was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetDocumentError = GetDocumentErrors[keyof GetDocumentErrors];\n\nexport type GetDocumentResponses = {\n /**\n * The document was downloaded successfully.\n */\n 200: Blob | File;\n};\n\nexport type GetDocumentResponse = GetDocumentResponses[keyof GetDocumentResponses];\n\nexport type CreateDocumentLinkData = {\n body?: DocumentLinkRequest;\n path: {\n /**\n * The ID of the document to link.\n */\n documentId: DocumentId;\n };\n query?: {\n /**\n * The ID of the document store where the document is located.\n */\n storeId?: string;\n /**\n * The hash of the document content that was computed by the document store during upload. The hash is part of the document reference that is returned when uploading a document. If the client fails to provide the correct hash, the request will be rejected.\n *\n */\n contentHash?: string;\n };\n url: '/documents/{documentId}/links';\n};\n\nexport type CreateDocumentLinkErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n};\n\nexport type CreateDocumentLinkError = CreateDocumentLinkErrors[keyof CreateDocumentLinkErrors];\n\nexport type CreateDocumentLinkResponses = {\n /**\n * The document link was created successfully.\n */\n 201: DocumentLink;\n};\n\nexport type CreateDocumentLinkResponse = CreateDocumentLinkResponses[keyof CreateDocumentLinkResponses];\n\nexport type ActivateAdHocSubProcessActivitiesData = {\n body: AdHocSubProcessActivateActivitiesInstruction;\n path: {\n /**\n * The key of the ad-hoc sub-process instance that contains the activities.\n */\n adHocSubProcessInstanceKey: ElementInstanceKey;\n };\n query?: never;\n url: '/element-instances/ad-hoc-activities/{adHocSubProcessInstanceKey}/activation';\n};\n\nexport type ActivateAdHocSubProcessActivitiesErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The ad-hoc sub-process instance is not found or the provided key does not identify an ad-hoc sub-process.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type ActivateAdHocSubProcessActivitiesError = ActivateAdHocSubProcessActivitiesErrors[keyof ActivateAdHocSubProcessActivitiesErrors];\n\nexport type ActivateAdHocSubProcessActivitiesResponses = {\n /**\n * The ad-hoc sub-process instance is modified.\n */\n 204: void;\n};\n\nexport type ActivateAdHocSubProcessActivitiesResponse = ActivateAdHocSubProcessActivitiesResponses[keyof ActivateAdHocSubProcessActivitiesResponses];\n\nexport type SearchElementInstancesData = {\n body?: ElementInstanceSearchQuery;\n path?: never;\n query?: never;\n url: '/element-instances/search';\n};\n\nexport type SearchElementInstancesErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchElementInstancesError = SearchElementInstancesErrors[keyof SearchElementInstancesErrors];\n\nexport type SearchElementInstancesResponses = {\n /**\n * The element instance search result.\n */\n 200: ElementInstanceSearchQueryResult;\n};\n\nexport type SearchElementInstancesResponse = SearchElementInstancesResponses[keyof SearchElementInstancesResponses];\n\nexport type GetElementInstanceData = {\n body?: never;\n path: {\n /**\n * The assigned key of the element instance, which acts as a unique identifier for this element instance.\n */\n elementInstanceKey: ElementInstanceKey;\n };\n query?: never;\n url: '/element-instances/{elementInstanceKey}';\n};\n\nexport type GetElementInstanceErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The element instance with the given key was not found.\n * More details are provided in the response body.\n *\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetElementInstanceError = GetElementInstanceErrors[keyof GetElementInstanceErrors];\n\nexport type GetElementInstanceResponses = {\n /**\n * The element instance is successfully returned.\n */\n 200: ElementInstanceResult;\n};\n\nexport type GetElementInstanceResponse = GetElementInstanceResponses[keyof GetElementInstanceResponses];\n\nexport type SearchElementInstanceIncidentsData = {\n body: IncidentSearchQuery;\n path: {\n /**\n * The unique key of the element instance to search incidents for.\n */\n elementInstanceKey: ElementInstanceKey;\n };\n query?: never;\n url: '/element-instances/{elementInstanceKey}/incidents/search';\n};\n\nexport type SearchElementInstanceIncidentsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The element instance with the given key was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchElementInstanceIncidentsError = SearchElementInstanceIncidentsErrors[keyof SearchElementInstanceIncidentsErrors];\n\nexport type SearchElementInstanceIncidentsResponses = {\n /**\n * The element instance incident search result.\n */\n 200: IncidentSearchQueryResult;\n};\n\nexport type SearchElementInstanceIncidentsResponse = SearchElementInstanceIncidentsResponses[keyof SearchElementInstanceIncidentsResponses];\n\nexport type CreateElementInstanceVariablesData = {\n body: SetVariableRequest;\n path: {\n /**\n * The key of the element instance to update the variables for.\n * This can be the process instance key (as obtained during instance creation), or a given\n * element, such as a service task (see the `elementInstanceKey` on the job message).\n *\n */\n elementInstanceKey: ElementInstanceKey;\n };\n query?: never;\n url: '/element-instances/{elementInstanceKey}/variables';\n};\n\nexport type CreateElementInstanceVariablesErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n /**\n * The request timed out between the gateway and the broker. For these endpoints, this often happens when user task listeners are configured and the corresponding listener job is not completed within the request timeout. Common causes include no available job workers for the listener type, busy or crashed job workers, or delayed job completion. As with any gateway timeout, general timeout causes (for example transient network issues) can also result in a 504 response.\n * Troubleshooting: - verify that job workers for the listener type are running and healthy - check worker logs for crashes, retries, and completion failures - check network connectivity between workers, gateway, and broker - retry with backoff after transient failures - fail without retries if a problem persists\n *\n */\n 504: ProblemDetail;\n};\n\nexport type CreateElementInstanceVariablesError = CreateElementInstanceVariablesErrors[keyof CreateElementInstanceVariablesErrors];\n\nexport type CreateElementInstanceVariablesResponses = {\n /**\n * The variables were updated.\n */\n 204: void;\n};\n\nexport type CreateElementInstanceVariablesResponse = CreateElementInstanceVariablesResponses[keyof CreateElementInstanceVariablesResponses];\n\nexport type EvaluateExpressionData = {\n body: ExpressionEvaluationRequest;\n path?: never;\n query?: never;\n url: '/expression/evaluation';\n};\n\nexport type EvaluateExpressionErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type EvaluateExpressionError = EvaluateExpressionErrors[keyof EvaluateExpressionErrors];\n\nexport type EvaluateExpressionResponses = {\n /**\n * Expression evaluated successfully\n */\n 200: ExpressionEvaluationResult;\n};\n\nexport type EvaluateExpressionResponse = EvaluateExpressionResponses[keyof EvaluateExpressionResponses];\n\nexport type CreateGlobalTaskListenerData = {\n body: CreateGlobalTaskListenerRequest;\n path?: never;\n query?: never;\n url: '/global-task-listeners';\n};\n\nexport type CreateGlobalTaskListenerErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * A global listener with this id already exists.\n */\n 409: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type CreateGlobalTaskListenerError = CreateGlobalTaskListenerErrors[keyof CreateGlobalTaskListenerErrors];\n\nexport type CreateGlobalTaskListenerResponses = {\n /**\n * The global user task listener was created successfully.\n */\n 201: GlobalTaskListenerResult;\n};\n\nexport type CreateGlobalTaskListenerResponse = CreateGlobalTaskListenerResponses[keyof CreateGlobalTaskListenerResponses];\n\nexport type DeleteGlobalTaskListenerData = {\n body?: never;\n path: {\n /**\n * The id of the global user task listener to delete.\n */\n id: GlobalListenerId;\n };\n query?: never;\n url: '/global-task-listeners/{id}';\n};\n\nexport type DeleteGlobalTaskListenerErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The global user task listener was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type DeleteGlobalTaskListenerError = DeleteGlobalTaskListenerErrors[keyof DeleteGlobalTaskListenerErrors];\n\nexport type DeleteGlobalTaskListenerResponses = {\n /**\n * The global listener was deleted successfully.\n */\n 204: void;\n};\n\nexport type DeleteGlobalTaskListenerResponse = DeleteGlobalTaskListenerResponses[keyof DeleteGlobalTaskListenerResponses];\n\nexport type GetGlobalTaskListenerData = {\n body?: never;\n path: {\n /**\n * The id of the global user task listener.\n */\n id: GlobalListenerId;\n };\n query?: never;\n url: '/global-task-listeners/{id}';\n};\n\nexport type GetGlobalTaskListenerErrors = {\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The global user task listener with the given id was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetGlobalTaskListenerError = GetGlobalTaskListenerErrors[keyof GetGlobalTaskListenerErrors];\n\nexport type GetGlobalTaskListenerResponses = {\n /**\n * The global user task listener is successfully returned.\n */\n 200: GlobalTaskListenerResult;\n};\n\nexport type GetGlobalTaskListenerResponse = GetGlobalTaskListenerResponses[keyof GetGlobalTaskListenerResponses];\n\nexport type UpdateGlobalTaskListenerData = {\n body: UpdateGlobalTaskListenerRequest;\n path: {\n /**\n * The id of the global user task listener to update.\n */\n id: GlobalListenerId;\n };\n query?: never;\n url: '/global-task-listeners/{id}';\n};\n\nexport type UpdateGlobalTaskListenerErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The global user task listener was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type UpdateGlobalTaskListenerError = UpdateGlobalTaskListenerErrors[keyof UpdateGlobalTaskListenerErrors];\n\nexport type UpdateGlobalTaskListenerResponses = {\n /**\n * The global listener was updated successfully.\n */\n 200: GlobalTaskListenerResult;\n};\n\nexport type UpdateGlobalTaskListenerResponse = UpdateGlobalTaskListenerResponses[keyof UpdateGlobalTaskListenerResponses];\n\nexport type SearchGlobalTaskListenersData = {\n body?: GlobalTaskListenerSearchQueryRequest;\n path?: never;\n query?: never;\n url: '/global-task-listeners/search';\n};\n\nexport type SearchGlobalTaskListenersErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchGlobalTaskListenersError = SearchGlobalTaskListenersErrors[keyof SearchGlobalTaskListenersErrors];\n\nexport type SearchGlobalTaskListenersResponses = {\n /**\n * The global user task listener search result.\n */\n 200: GlobalTaskListenerSearchQueryResult;\n};\n\nexport type SearchGlobalTaskListenersResponse = SearchGlobalTaskListenersResponses[keyof SearchGlobalTaskListenersResponses];\n\nexport type CreateGroupData = {\n body?: GroupCreateRequest;\n path?: never;\n query?: never;\n url: '/groups';\n};\n\nexport type CreateGroupErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type CreateGroupError = CreateGroupErrors[keyof CreateGroupErrors];\n\nexport type CreateGroupResponses = {\n /**\n * The group was created successfully.\n */\n 201: GroupCreateResult;\n};\n\nexport type CreateGroupResponse = CreateGroupResponses[keyof CreateGroupResponses];\n\nexport type SearchGroupsData = {\n body?: GroupSearchQueryRequest;\n path?: never;\n query?: never;\n url: '/groups/search';\n};\n\nexport type SearchGroupsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchGroupsError = SearchGroupsErrors[keyof SearchGroupsErrors];\n\nexport type SearchGroupsResponses = {\n /**\n * The groups search result.\n */\n 200: GroupSearchQueryResult;\n};\n\nexport type SearchGroupsResponse = SearchGroupsResponses[keyof SearchGroupsResponses];\n\nexport type DeleteGroupData = {\n body?: never;\n path: {\n /**\n * The group ID.\n */\n groupId: string;\n };\n query?: never;\n url: '/groups/{groupId}';\n};\n\nexport type DeleteGroupErrors = {\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * The group with the given ID was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type DeleteGroupError = DeleteGroupErrors[keyof DeleteGroupErrors];\n\nexport type DeleteGroupResponses = {\n /**\n * The group was deleted successfully.\n */\n 204: void;\n};\n\nexport type DeleteGroupResponse = DeleteGroupResponses[keyof DeleteGroupResponses];\n\nexport type GetGroupData = {\n body?: never;\n path: {\n /**\n * The group ID.\n */\n groupId: string;\n };\n query?: never;\n url: '/groups/{groupId}';\n};\n\nexport type GetGroupErrors = {\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The group with the given ID was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetGroupError = GetGroupErrors[keyof GetGroupErrors];\n\nexport type GetGroupResponses = {\n /**\n * The group is successfully returned.\n */\n 200: GroupResult;\n};\n\nexport type GetGroupResponse = GetGroupResponses[keyof GetGroupResponses];\n\nexport type UpdateGroupData = {\n body: GroupUpdateRequest;\n path: {\n /**\n * The group ID.\n */\n groupId: string;\n };\n query?: never;\n url: '/groups/{groupId}';\n};\n\nexport type UpdateGroupErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * The group with the given ID was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type UpdateGroupError = UpdateGroupErrors[keyof UpdateGroupErrors];\n\nexport type UpdateGroupResponses = {\n /**\n * The group was updated successfully.\n */\n 200: GroupUpdateResult;\n};\n\nexport type UpdateGroupResponse = UpdateGroupResponses[keyof UpdateGroupResponses];\n\nexport type SearchClientsForGroupData = {\n body?: SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<{\n /**\n * The field to sort by.\n */\n field: 'clientId';\n order?: SortOrderEnum;\n }>;\n };\n path: {\n /**\n * The group ID.\n */\n groupId: string;\n };\n query?: never;\n url: '/groups/{groupId}/clients/search';\n};\n\nexport type SearchClientsForGroupErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The group with the given ID was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchClientsForGroupError = SearchClientsForGroupErrors[keyof SearchClientsForGroupErrors];\n\nexport type SearchClientsForGroupResponses = {\n /**\n * The clients assigned to the group.\n */\n 200: SearchQueryResponse & {\n /**\n * The matching client IDs.\n */\n items: Array<{\n /**\n * The ID of the client.\n */\n clientId: string;\n }>;\n };\n};\n\nexport type SearchClientsForGroupResponse = SearchClientsForGroupResponses[keyof SearchClientsForGroupResponses];\n\nexport type UnassignClientFromGroupData = {\n body?: never;\n path: {\n /**\n * The group ID.\n */\n groupId: string;\n /**\n * The client ID.\n */\n clientId: string;\n };\n query?: never;\n url: '/groups/{groupId}/clients/{clientId}';\n};\n\nexport type UnassignClientFromGroupErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The group with the given ID was not found, or the client is not assigned to this group.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type UnassignClientFromGroupError = UnassignClientFromGroupErrors[keyof UnassignClientFromGroupErrors];\n\nexport type UnassignClientFromGroupResponses = {\n /**\n * The client was unassigned successfully from the group.\n */\n 204: void;\n};\n\nexport type UnassignClientFromGroupResponse = UnassignClientFromGroupResponses[keyof UnassignClientFromGroupResponses];\n\nexport type AssignClientToGroupData = {\n body?: never;\n path: {\n /**\n * The group ID.\n */\n groupId: string;\n /**\n * The client ID.\n */\n clientId: string;\n };\n query?: never;\n url: '/groups/{groupId}/clients/{clientId}';\n};\n\nexport type AssignClientToGroupErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The group with the given ID was not found.\n */\n 404: ProblemDetail;\n /**\n * The client with the given ID is already assigned to the group.\n */\n 409: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type AssignClientToGroupError = AssignClientToGroupErrors[keyof AssignClientToGroupErrors];\n\nexport type AssignClientToGroupResponses = {\n /**\n * The client was assigned successfully to the group.\n */\n 204: void;\n};\n\nexport type AssignClientToGroupResponse = AssignClientToGroupResponses[keyof AssignClientToGroupResponses];\n\nexport type SearchMappingRulesForGroupData = {\n body?: MappingRuleSearchQueryRequest;\n path: {\n /**\n * The group ID.\n */\n groupId: string;\n };\n query?: never;\n url: '/groups/{groupId}/mapping-rules/search';\n};\n\nexport type SearchMappingRulesForGroupErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The group with the given ID was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchMappingRulesForGroupError = SearchMappingRulesForGroupErrors[keyof SearchMappingRulesForGroupErrors];\n\nexport type SearchMappingRulesForGroupResponses = {\n /**\n * The mapping rules assigned to the group.\n */\n 200: SearchQueryResponse & {\n /**\n * The matching mapping rules.\n */\n items: Array<MappingRuleResult>;\n };\n};\n\nexport type SearchMappingRulesForGroupResponse = SearchMappingRulesForGroupResponses[keyof SearchMappingRulesForGroupResponses];\n\nexport type UnassignMappingRuleFromGroupData = {\n body?: never;\n path: {\n /**\n * The group ID.\n */\n groupId: string;\n /**\n * The mapping rule ID.\n */\n mappingRuleId: string;\n };\n query?: never;\n url: '/groups/{groupId}/mapping-rules/{mappingRuleId}';\n};\n\nexport type UnassignMappingRuleFromGroupErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The group or mapping rule with the given ID was not found, or the mapping rule is not assigned to this group.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type UnassignMappingRuleFromGroupError = UnassignMappingRuleFromGroupErrors[keyof UnassignMappingRuleFromGroupErrors];\n\nexport type UnassignMappingRuleFromGroupResponses = {\n /**\n * The mapping rule was unassigned successfully from the group.\n */\n 204: void;\n};\n\nexport type UnassignMappingRuleFromGroupResponse = UnassignMappingRuleFromGroupResponses[keyof UnassignMappingRuleFromGroupResponses];\n\nexport type AssignMappingRuleToGroupData = {\n body?: never;\n path: {\n /**\n * The group ID.\n */\n groupId: string;\n /**\n * The mapping rule ID.\n */\n mappingRuleId: string;\n };\n query?: never;\n url: '/groups/{groupId}/mapping-rules/{mappingRuleId}';\n};\n\nexport type AssignMappingRuleToGroupErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The group or mapping rule with the given ID was not found.\n */\n 404: ProblemDetail;\n /**\n * The mapping rule with the given ID is already assigned to the group.\n */\n 409: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type AssignMappingRuleToGroupError = AssignMappingRuleToGroupErrors[keyof AssignMappingRuleToGroupErrors];\n\nexport type AssignMappingRuleToGroupResponses = {\n /**\n * The mapping rule was assigned successfully to the group.\n */\n 204: void;\n};\n\nexport type AssignMappingRuleToGroupResponse = AssignMappingRuleToGroupResponses[keyof AssignMappingRuleToGroupResponses];\n\nexport type SearchRolesForGroupData = {\n body?: RoleSearchQueryRequest;\n path: {\n /**\n * The group ID.\n */\n groupId: string;\n };\n query?: never;\n url: '/groups/{groupId}/roles/search';\n};\n\nexport type SearchRolesForGroupErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The group with the given ID was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchRolesForGroupError = SearchRolesForGroupErrors[keyof SearchRolesForGroupErrors];\n\nexport type SearchRolesForGroupResponses = {\n /**\n * The roles assigned to the group.\n */\n 200: SearchQueryResponse & {\n /**\n * The matching roles.\n */\n items: Array<RoleResult>;\n };\n};\n\nexport type SearchRolesForGroupResponse = SearchRolesForGroupResponses[keyof SearchRolesForGroupResponses];\n\nexport type SearchUsersForGroupData = {\n body?: SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<{\n /**\n * The field to sort by.\n */\n field: 'username';\n order?: SortOrderEnum;\n }>;\n };\n path: {\n /**\n * The group ID.\n */\n groupId: string;\n };\n query?: never;\n url: '/groups/{groupId}/users/search';\n};\n\nexport type SearchUsersForGroupErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The group with the given ID was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchUsersForGroupError = SearchUsersForGroupErrors[keyof SearchUsersForGroupErrors];\n\nexport type SearchUsersForGroupResponses = {\n /**\n * The users assigned to the group.\n */\n 200: SearchQueryResponse & {\n /**\n * The matching members.\n */\n items: Array<{\n username: Username;\n }>;\n };\n};\n\nexport type SearchUsersForGroupResponse = SearchUsersForGroupResponses[keyof SearchUsersForGroupResponses];\n\nexport type UnassignUserFromGroupData = {\n body?: never;\n path: {\n /**\n * The group ID.\n */\n groupId: string;\n /**\n * The user username.\n */\n username: Username;\n };\n query?: never;\n url: '/groups/{groupId}/users/{username}';\n};\n\nexport type UnassignUserFromGroupErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The group or user with the given ID was not found, or the user is not assigned to this group.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type UnassignUserFromGroupError = UnassignUserFromGroupErrors[keyof UnassignUserFromGroupErrors];\n\nexport type UnassignUserFromGroupResponses = {\n /**\n * The user was unassigned successfully from the group.\n */\n 204: void;\n};\n\nexport type UnassignUserFromGroupResponse = UnassignUserFromGroupResponses[keyof UnassignUserFromGroupResponses];\n\nexport type AssignUserToGroupData = {\n body?: never;\n path: {\n /**\n * The group ID.\n */\n groupId: string;\n /**\n * The user username.\n */\n username: Username;\n };\n query?: never;\n url: '/groups/{groupId}/users/{username}';\n};\n\nexport type AssignUserToGroupErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The group or user with the given ID or username was not found.\n */\n 404: ProblemDetail;\n /**\n * The user with the given ID is already assigned to the group.\n */\n 409: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type AssignUserToGroupError = AssignUserToGroupErrors[keyof AssignUserToGroupErrors];\n\nexport type AssignUserToGroupResponses = {\n /**\n * The user was assigned successfully to the group.\n */\n 204: void;\n};\n\nexport type AssignUserToGroupResponse = AssignUserToGroupResponses[keyof AssignUserToGroupResponses];\n\nexport type SearchIncidentsData = {\n body?: IncidentSearchQuery;\n path?: never;\n query?: never;\n url: '/incidents/search';\n};\n\nexport type SearchIncidentsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchIncidentsError = SearchIncidentsErrors[keyof SearchIncidentsErrors];\n\nexport type SearchIncidentsResponses = {\n /**\n * The incident search result.\n */\n 200: IncidentSearchQueryResult;\n};\n\nexport type SearchIncidentsResponse = SearchIncidentsResponses[keyof SearchIncidentsResponses];\n\nexport type GetIncidentData = {\n body?: never;\n path: {\n /**\n * The assigned key of the incident, which acts as a unique identifier for this incident.\n */\n incidentKey: IncidentKey;\n };\n query?: never;\n url: '/incidents/{incidentKey}';\n};\n\nexport type GetIncidentErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The incident with the given key was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetIncidentError = GetIncidentErrors[keyof GetIncidentErrors];\n\nexport type GetIncidentResponses = {\n /**\n * The incident is successfully returned.\n */\n 200: IncidentResult;\n};\n\nexport type GetIncidentResponse = GetIncidentResponses[keyof GetIncidentResponses];\n\nexport type ResolveIncidentData = {\n body?: IncidentResolutionRequest;\n path: {\n /**\n * Key of the incident to resolve.\n */\n incidentKey: IncidentKey;\n };\n query?: never;\n url: '/incidents/{incidentKey}/resolution';\n};\n\nexport type ResolveIncidentErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The incident with the incidentKey is not found.\n */\n 404: ProblemDetail;\n /**\n * The incident cannot be resolved due to an invalid state.\n * For example, the associated job may have no retries left.\n *\n */\n 409: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type ResolveIncidentError = ResolveIncidentErrors[keyof ResolveIncidentErrors];\n\nexport type ResolveIncidentResponses = {\n /**\n * The incident is marked as resolved.\n */\n 204: void;\n};\n\nexport type ResolveIncidentResponse = ResolveIncidentResponses[keyof ResolveIncidentResponses];\n\nexport type GetProcessInstanceStatisticsByDefinitionData = {\n body: IncidentProcessInstanceStatisticsByDefinitionQuery;\n path?: never;\n query?: never;\n url: '/incidents/statistics/process-instances-by-definition';\n};\n\nexport type GetProcessInstanceStatisticsByDefinitionErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetProcessInstanceStatisticsByDefinitionError = GetProcessInstanceStatisticsByDefinitionErrors[keyof GetProcessInstanceStatisticsByDefinitionErrors];\n\nexport type GetProcessInstanceStatisticsByDefinitionResponses = {\n /**\n * The process instance incident statistics grouped by process definition are successfully\n * returned.\n *\n */\n 200: IncidentProcessInstanceStatisticsByDefinitionQueryResult;\n};\n\nexport type GetProcessInstanceStatisticsByDefinitionResponse = GetProcessInstanceStatisticsByDefinitionResponses[keyof GetProcessInstanceStatisticsByDefinitionResponses];\n\nexport type GetProcessInstanceStatisticsByErrorData = {\n body?: IncidentProcessInstanceStatisticsByErrorQuery;\n path?: never;\n query?: never;\n url: '/incidents/statistics/process-instances-by-error';\n};\n\nexport type GetProcessInstanceStatisticsByErrorErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetProcessInstanceStatisticsByErrorError = GetProcessInstanceStatisticsByErrorErrors[keyof GetProcessInstanceStatisticsByErrorErrors];\n\nexport type GetProcessInstanceStatisticsByErrorResponses = {\n /**\n * The statistics about process instances with incident, grouped by error hash code are\n * successfully returned.\n *\n */\n 200: IncidentProcessInstanceStatisticsByErrorQueryResult;\n};\n\nexport type GetProcessInstanceStatisticsByErrorResponse = GetProcessInstanceStatisticsByErrorResponses[keyof GetProcessInstanceStatisticsByErrorResponses];\n\nexport type ActivateJobsData = {\n body: JobActivationRequest;\n path?: never;\n query?: never;\n url: '/jobs/activation';\n};\n\nexport type ActivateJobsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type ActivateJobsError = ActivateJobsErrors[keyof ActivateJobsErrors];\n\nexport type ActivateJobsResponses = {\n /**\n * The list of activated jobs.\n */\n 200: JobActivationResult;\n};\n\nexport type ActivateJobsResponse = ActivateJobsResponses[keyof ActivateJobsResponses];\n\nexport type SearchJobsData = {\n body?: JobSearchQuery;\n path?: never;\n query?: never;\n url: '/jobs/search';\n};\n\nexport type SearchJobsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchJobsError = SearchJobsErrors[keyof SearchJobsErrors];\n\nexport type SearchJobsResponses = {\n /**\n * The job search result.\n */\n 200: JobSearchQueryResult;\n};\n\nexport type SearchJobsResponse = SearchJobsResponses[keyof SearchJobsResponses];\n\nexport type UpdateJobData = {\n body: JobUpdateRequest;\n path: {\n /**\n * The key of the job to update.\n */\n jobKey: JobKey;\n };\n query?: never;\n url: '/jobs/{jobKey}';\n};\n\nexport type UpdateJobErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The job with the jobKey is not found.\n */\n 404: ProblemDetail;\n /**\n * The job with the given key is in the wrong state currently. More details are provided in the response body.\n *\n */\n 409: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type UpdateJobError = UpdateJobErrors[keyof UpdateJobErrors];\n\nexport type UpdateJobResponses = {\n /**\n * The job was updated successfully.\n */\n 204: void;\n};\n\nexport type UpdateJobResponse = UpdateJobResponses[keyof UpdateJobResponses];\n\nexport type CompleteJobData = {\n body?: JobCompletionRequest;\n path: {\n /**\n * The key of the job to complete.\n */\n jobKey: JobKey;\n };\n query?: never;\n url: '/jobs/{jobKey}/completion';\n};\n\nexport type CompleteJobErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The job with the given key was not found.\n */\n 404: ProblemDetail;\n /**\n * The job with the given key is in the wrong state currently. More details are provided in the response body.\n *\n */\n 409: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type CompleteJobError = CompleteJobErrors[keyof CompleteJobErrors];\n\nexport type CompleteJobResponses = {\n /**\n * The job was completed successfully.\n */\n 204: void;\n};\n\nexport type CompleteJobResponse = CompleteJobResponses[keyof CompleteJobResponses];\n\nexport type ThrowJobErrorData = {\n body: JobErrorRequest;\n path: {\n /**\n * The key of the job.\n */\n jobKey: JobKey;\n };\n query?: never;\n url: '/jobs/{jobKey}/error';\n};\n\nexport type ThrowJobErrorErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The job with the given key was not found or is not activated.\n *\n */\n 404: ProblemDetail;\n /**\n * The job with the given key is in the wrong state currently. More details are provided in the response body.\n *\n */\n 409: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type ThrowJobErrorError = ThrowJobErrorErrors[keyof ThrowJobErrorErrors];\n\nexport type ThrowJobErrorResponses = {\n /**\n * An error is thrown for the job.\n */\n 204: void;\n};\n\nexport type ThrowJobErrorResponse = ThrowJobErrorResponses[keyof ThrowJobErrorResponses];\n\nexport type FailJobData = {\n body?: JobFailRequest;\n path: {\n /**\n * The key of the job to fail.\n */\n jobKey: JobKey;\n };\n query?: never;\n url: '/jobs/{jobKey}/failure';\n};\n\nexport type FailJobErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The job with the given jobKey is not found. It was completed by another worker, or the process instance itself was canceled.\n *\n */\n 404: ProblemDetail;\n /**\n * The job with the given key is in the wrong state (i.e: not ACTIVATED or ACTIVATABLE). The job was failed by another worker with retries = 0, and the process is now in an incident state.\n *\n */\n 409: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type FailJobError = FailJobErrors[keyof FailJobErrors];\n\nexport type FailJobResponses = {\n /**\n * The job is failed.\n */\n 204: void;\n};\n\nexport type FailJobResponse = FailJobResponses[keyof FailJobResponses];\n\nexport type GetGlobalJobStatisticsData = {\n body?: never;\n path?: never;\n query: {\n /**\n * Start of the time window to filter metrics. ISO 8601 date-time format.\n *\n */\n from: string;\n /**\n * End of the time window to filter metrics. ISO 8601 date-time format.\n *\n */\n to: string;\n /**\n * Optional job type to limit the aggregation to a single job type.\n */\n jobType?: string;\n };\n url: '/jobs/statistics/global';\n};\n\nexport type GetGlobalJobStatisticsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetGlobalJobStatisticsError = GetGlobalJobStatisticsErrors[keyof GetGlobalJobStatisticsErrors];\n\nexport type GetGlobalJobStatisticsResponses = {\n /**\n * Global job metrics\n */\n 200: GlobalJobStatisticsQueryResult;\n};\n\nexport type GetGlobalJobStatisticsResponse = GetGlobalJobStatisticsResponses[keyof GetGlobalJobStatisticsResponses];\n\nexport type GetJobTypeStatisticsData = {\n body: JobTypeStatisticsQuery;\n path?: never;\n query?: never;\n url: '/jobs/statistics/by-types';\n};\n\nexport type GetJobTypeStatisticsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetJobTypeStatisticsError = GetJobTypeStatisticsErrors[keyof GetJobTypeStatisticsErrors];\n\nexport type GetJobTypeStatisticsResponses = {\n /**\n * The job type statistics result.\n */\n 200: JobTypeStatisticsQueryResult;\n};\n\nexport type GetJobTypeStatisticsResponse = GetJobTypeStatisticsResponses[keyof GetJobTypeStatisticsResponses];\n\nexport type GetJobWorkerStatisticsData = {\n body: JobWorkerStatisticsQuery;\n path?: never;\n query?: never;\n url: '/jobs/statistics/by-workers';\n};\n\nexport type GetJobWorkerStatisticsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetJobWorkerStatisticsError = GetJobWorkerStatisticsErrors[keyof GetJobWorkerStatisticsErrors];\n\nexport type GetJobWorkerStatisticsResponses = {\n /**\n * The job worker statistics result.\n */\n 200: JobWorkerStatisticsQueryResult;\n};\n\nexport type GetJobWorkerStatisticsResponse = GetJobWorkerStatisticsResponses[keyof GetJobWorkerStatisticsResponses];\n\nexport type GetJobTimeSeriesStatisticsData = {\n body: JobTimeSeriesStatisticsQuery;\n path?: never;\n query?: never;\n url: '/jobs/statistics/time-series';\n};\n\nexport type GetJobTimeSeriesStatisticsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetJobTimeSeriesStatisticsError = GetJobTimeSeriesStatisticsErrors[keyof GetJobTimeSeriesStatisticsErrors];\n\nexport type GetJobTimeSeriesStatisticsResponses = {\n /**\n * The job time-series statistics result.\n */\n 200: JobTimeSeriesStatisticsQueryResult;\n};\n\nexport type GetJobTimeSeriesStatisticsResponse = GetJobTimeSeriesStatisticsResponses[keyof GetJobTimeSeriesStatisticsResponses];\n\nexport type GetJobErrorStatisticsData = {\n body: JobErrorStatisticsQuery;\n path?: never;\n query?: never;\n url: '/jobs/statistics/errors';\n};\n\nexport type GetJobErrorStatisticsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetJobErrorStatisticsError = GetJobErrorStatisticsErrors[keyof GetJobErrorStatisticsErrors];\n\nexport type GetJobErrorStatisticsResponses = {\n /**\n * The job error statistics result.\n */\n 200: JobErrorStatisticsQueryResult;\n};\n\nexport type GetJobErrorStatisticsResponse = GetJobErrorStatisticsResponses[keyof GetJobErrorStatisticsResponses];\n\nexport type GetLicenseData = {\n body?: never;\n path?: never;\n query?: never;\n url: '/license';\n};\n\nexport type GetLicenseErrors = {\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetLicenseError = GetLicenseErrors[keyof GetLicenseErrors];\n\nexport type GetLicenseResponses = {\n /**\n * Obtains the current status of the Camunda license.\n */\n 200: LicenseResponse;\n};\n\nexport type GetLicenseResponse = GetLicenseResponses[keyof GetLicenseResponses];\n\nexport type CreateMappingRuleData = {\n body?: MappingRuleCreateRequest;\n path?: never;\n query?: never;\n url: '/mapping-rules';\n};\n\nexport type CreateMappingRuleErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request to create a mapping rule was denied.\n * More details are provided in the response body.\n *\n */\n 403: ProblemDetail;\n /**\n * The request to create a mapping rule was denied.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type CreateMappingRuleError = CreateMappingRuleErrors[keyof CreateMappingRuleErrors];\n\nexport type CreateMappingRuleResponses = {\n /**\n * The mapping rule was created successfully.\n */\n 201: MappingRuleCreateUpdateResult;\n};\n\nexport type CreateMappingRuleResponse = CreateMappingRuleResponses[keyof CreateMappingRuleResponses];\n\nexport type SearchMappingRuleData = {\n body?: MappingRuleSearchQueryRequest;\n path?: never;\n query?: never;\n url: '/mapping-rules/search';\n};\n\nexport type SearchMappingRuleErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchMappingRuleError = SearchMappingRuleErrors[keyof SearchMappingRuleErrors];\n\nexport type SearchMappingRuleResponses = {\n /**\n * The mapping rule search result.\n */\n 200: SearchQueryResponse & {\n /**\n * The matching mapping rules.\n */\n items: Array<MappingRuleResult>;\n };\n};\n\nexport type SearchMappingRuleResponse = SearchMappingRuleResponses[keyof SearchMappingRuleResponses];\n\nexport type DeleteMappingRuleData = {\n body?: never;\n path: {\n /**\n * The ID of the mapping rule to delete.\n */\n mappingRuleId: string;\n };\n query?: never;\n url: '/mapping-rules/{mappingRuleId}';\n};\n\nexport type DeleteMappingRuleErrors = {\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * The mapping rule with the mappingRuleId was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type DeleteMappingRuleError = DeleteMappingRuleErrors[keyof DeleteMappingRuleErrors];\n\nexport type DeleteMappingRuleResponses = {\n /**\n * The mapping rule was deleted successfully.\n */\n 204: void;\n};\n\nexport type DeleteMappingRuleResponse = DeleteMappingRuleResponses[keyof DeleteMappingRuleResponses];\n\nexport type GetMappingRuleData = {\n body?: never;\n path: {\n /**\n * The ID of the mapping rule to get.\n */\n mappingRuleId: string;\n };\n query?: never;\n url: '/mapping-rules/{mappingRuleId}';\n};\n\nexport type GetMappingRuleErrors = {\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * The mapping rule with the mappingRuleId was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetMappingRuleError = GetMappingRuleErrors[keyof GetMappingRuleErrors];\n\nexport type GetMappingRuleResponses = {\n /**\n * The mapping rule was returned successfully.\n */\n 200: MappingRuleResult;\n};\n\nexport type GetMappingRuleResponse = GetMappingRuleResponses[keyof GetMappingRuleResponses];\n\nexport type UpdateMappingRuleData = {\n body?: MappingRuleUpdateRequest;\n path: {\n /**\n * The ID of the mapping rule to update.\n */\n mappingRuleId: string;\n };\n query?: never;\n url: '/mapping-rules/{mappingRuleId}';\n};\n\nexport type UpdateMappingRuleErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request to update a mapping rule was denied.\n * More details are provided in the response body.\n *\n */\n 403: ProblemDetail;\n /**\n * The request to update a mapping rule was denied.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type UpdateMappingRuleError = UpdateMappingRuleErrors[keyof UpdateMappingRuleErrors];\n\nexport type UpdateMappingRuleResponses = {\n /**\n * The mapping rule was updated successfully.\n */\n 200: MappingRuleCreateUpdateResult;\n};\n\nexport type UpdateMappingRuleResponse = UpdateMappingRuleResponses[keyof UpdateMappingRuleResponses];\n\nexport type SearchMessageSubscriptionsData = {\n body?: MessageSubscriptionSearchQuery;\n path?: never;\n query?: never;\n url: '/message-subscriptions/search';\n};\n\nexport type SearchMessageSubscriptionsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchMessageSubscriptionsError = SearchMessageSubscriptionsErrors[keyof SearchMessageSubscriptionsErrors];\n\nexport type SearchMessageSubscriptionsResponses = {\n /**\n * The message subscription search result.\n */\n 200: MessageSubscriptionSearchQueryResult;\n};\n\nexport type SearchMessageSubscriptionsResponse = SearchMessageSubscriptionsResponses[keyof SearchMessageSubscriptionsResponses];\n\nexport type CorrelateMessageData = {\n body: MessageCorrelationRequest;\n path?: never;\n query?: never;\n url: '/messages/correlation';\n};\n\nexport type CorrelateMessageErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Not found\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type CorrelateMessageError = CorrelateMessageErrors[keyof CorrelateMessageErrors];\n\nexport type CorrelateMessageResponses = {\n /**\n * The message is correlated to one or more process instances\n */\n 200: MessageCorrelationResult;\n};\n\nexport type CorrelateMessageResponse = CorrelateMessageResponses[keyof CorrelateMessageResponses];\n\nexport type PublishMessageData = {\n body: MessagePublicationRequest;\n path?: never;\n query?: never;\n url: '/messages/publication';\n};\n\nexport type PublishMessageErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type PublishMessageError = PublishMessageErrors[keyof PublishMessageErrors];\n\nexport type PublishMessageResponses = {\n /**\n * The message was published.\n */\n 200: MessagePublicationResult;\n};\n\nexport type PublishMessageResponse = PublishMessageResponses[keyof PublishMessageResponses];\n\nexport type SearchProcessDefinitionsData = {\n body?: ProcessDefinitionSearchQuery;\n path?: never;\n query?: never;\n url: '/process-definitions/search';\n};\n\nexport type SearchProcessDefinitionsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchProcessDefinitionsError = SearchProcessDefinitionsErrors[keyof SearchProcessDefinitionsErrors];\n\nexport type SearchProcessDefinitionsResponses = {\n /**\n * The process definition search result.\n */\n 200: ProcessDefinitionSearchQueryResult;\n};\n\nexport type SearchProcessDefinitionsResponse = SearchProcessDefinitionsResponses[keyof SearchProcessDefinitionsResponses];\n\nexport type GetProcessDefinitionMessageSubscriptionStatisticsData = {\n body?: ProcessDefinitionMessageSubscriptionStatisticsQuery;\n path?: never;\n query?: never;\n url: '/process-definitions/statistics/message-subscriptions';\n};\n\nexport type GetProcessDefinitionMessageSubscriptionStatisticsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetProcessDefinitionMessageSubscriptionStatisticsError = GetProcessDefinitionMessageSubscriptionStatisticsErrors[keyof GetProcessDefinitionMessageSubscriptionStatisticsErrors];\n\nexport type GetProcessDefinitionMessageSubscriptionStatisticsResponses = {\n /**\n * The process definition message subscription statistics result.\n */\n 200: ProcessDefinitionMessageSubscriptionStatisticsQueryResult;\n};\n\nexport type GetProcessDefinitionMessageSubscriptionStatisticsResponse = GetProcessDefinitionMessageSubscriptionStatisticsResponses[keyof GetProcessDefinitionMessageSubscriptionStatisticsResponses];\n\nexport type GetProcessDefinitionInstanceStatisticsData = {\n body?: ProcessDefinitionInstanceStatisticsQuery;\n path?: never;\n query?: never;\n url: '/process-definitions/statistics/process-instances';\n};\n\nexport type GetProcessDefinitionInstanceStatisticsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetProcessDefinitionInstanceStatisticsError = GetProcessDefinitionInstanceStatisticsErrors[keyof GetProcessDefinitionInstanceStatisticsErrors];\n\nexport type GetProcessDefinitionInstanceStatisticsResponses = {\n /**\n * The process definition instance statistic result.\n */\n 200: ProcessDefinitionInstanceStatisticsQueryResult;\n};\n\nexport type GetProcessDefinitionInstanceStatisticsResponse = GetProcessDefinitionInstanceStatisticsResponses[keyof GetProcessDefinitionInstanceStatisticsResponses];\n\nexport type GetProcessDefinitionData = {\n body?: never;\n path: {\n /**\n * The assigned key of the process definition, which acts as a unique identifier for this process definition.\n *\n */\n processDefinitionKey: ProcessDefinitionKey;\n };\n query?: never;\n url: '/process-definitions/{processDefinitionKey}';\n};\n\nexport type GetProcessDefinitionErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The process definition with the given key was not found. More details are provided in the response body.\n *\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetProcessDefinitionError = GetProcessDefinitionErrors[keyof GetProcessDefinitionErrors];\n\nexport type GetProcessDefinitionResponses = {\n /**\n * The process definition is successfully returned.\n */\n 200: ProcessDefinitionResult;\n};\n\nexport type GetProcessDefinitionResponse = GetProcessDefinitionResponses[keyof GetProcessDefinitionResponses];\n\nexport type GetStartProcessFormData = {\n body?: never;\n path: {\n /**\n * The process key.\n */\n processDefinitionKey: ProcessDefinitionKey;\n };\n query?: never;\n url: '/process-definitions/{processDefinitionKey}/form';\n};\n\nexport type GetStartProcessFormErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Not found\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetStartProcessFormError = GetStartProcessFormErrors[keyof GetStartProcessFormErrors];\n\nexport type GetStartProcessFormResponses = {\n /**\n * The form is successfully returned.\n */\n 200: FormResult;\n /**\n * The process was found, but no form is associated with it.\n */\n 204: void;\n};\n\nexport type GetStartProcessFormResponse = GetStartProcessFormResponses[keyof GetStartProcessFormResponses];\n\nexport type GetProcessDefinitionStatisticsData = {\n body?: ProcessDefinitionElementStatisticsQuery;\n path: {\n /**\n * The assigned key of the process definition, which acts as a unique identifier for this process definition.\n */\n processDefinitionKey: ProcessDefinitionKey;\n };\n query?: never;\n url: '/process-definitions/{processDefinitionKey}/statistics/element-instances';\n};\n\nexport type GetProcessDefinitionStatisticsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetProcessDefinitionStatisticsError = GetProcessDefinitionStatisticsErrors[keyof GetProcessDefinitionStatisticsErrors];\n\nexport type GetProcessDefinitionStatisticsResponses = {\n /**\n * The process definition statistics result.\n */\n 200: ProcessDefinitionElementStatisticsQueryResult;\n};\n\nexport type GetProcessDefinitionStatisticsResponse = GetProcessDefinitionStatisticsResponses[keyof GetProcessDefinitionStatisticsResponses];\n\nexport type GetProcessDefinitionXmlData = {\n body?: never;\n path: {\n /**\n * The assigned key of the process definition, which acts as a unique identifier for this process definition.\n *\n */\n processDefinitionKey: ProcessDefinitionKey;\n };\n query?: never;\n url: '/process-definitions/{processDefinitionKey}/xml';\n};\n\nexport type GetProcessDefinitionXmlErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The process definition with the given key was not found.\n * More details are provided in the response body.\n *\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetProcessDefinitionXmlError = GetProcessDefinitionXmlErrors[keyof GetProcessDefinitionXmlErrors];\n\nexport type GetProcessDefinitionXmlResponses = {\n /**\n * The XML of the process definition is successfully returned.\n */\n 200: string;\n /**\n * The process definition was found but does not have XML.\n */\n 204: string;\n};\n\nexport type GetProcessDefinitionXmlResponse = GetProcessDefinitionXmlResponses[keyof GetProcessDefinitionXmlResponses];\n\nexport type GetProcessDefinitionInstanceVersionStatisticsData = {\n body: ProcessDefinitionInstanceVersionStatisticsQuery;\n path?: never;\n query?: never;\n url: '/process-definitions/statistics/process-instances-by-version';\n};\n\nexport type GetProcessDefinitionInstanceVersionStatisticsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetProcessDefinitionInstanceVersionStatisticsError = GetProcessDefinitionInstanceVersionStatisticsErrors[keyof GetProcessDefinitionInstanceVersionStatisticsErrors];\n\nexport type GetProcessDefinitionInstanceVersionStatisticsResponses = {\n /**\n * The process definition instance version statistic result.\n */\n 200: ProcessDefinitionInstanceVersionStatisticsQueryResult;\n};\n\nexport type GetProcessDefinitionInstanceVersionStatisticsResponse = GetProcessDefinitionInstanceVersionStatisticsResponses[keyof GetProcessDefinitionInstanceVersionStatisticsResponses];\n\nexport type CreateProcessInstanceData = {\n body: ProcessInstanceCreationInstruction;\n path?: never;\n query?: never;\n url: '/process-instances';\n};\n\nexport type CreateProcessInstanceErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The process instance creation was rejected due to a business ID uniqueness conflict.\n * This can happen only when Business ID Uniqueness Control is enabled and an\n * active root process instance with the provided business ID already exists\n * for the same process definition and tenant.\n *\n */\n 409: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n /**\n * The process instance creation request timed out in the gateway.\n * This can happen if the `awaitCompletion` request parameter is set to `true`\n * and the created process instance did not complete within the defined request timeout.\n * This often happens when the created instance is not fully automated or contains wait states.\n *\n */\n 504: ProblemDetail;\n};\n\nexport type CreateProcessInstanceError = CreateProcessInstanceErrors[keyof CreateProcessInstanceErrors];\n\nexport type CreateProcessInstanceResponses = {\n /**\n * The process instance was created.\n */\n 200: CreateProcessInstanceResult;\n};\n\nexport type CreateProcessInstanceResponse = CreateProcessInstanceResponses[keyof CreateProcessInstanceResponses];\n\nexport type CancelProcessInstancesBatchOperationData = {\n body: ProcessInstanceCancellationBatchOperationRequest;\n path?: never;\n query?: never;\n url: '/process-instances/cancellation';\n};\n\nexport type CancelProcessInstancesBatchOperationErrors = {\n /**\n * The process instance batch operation failed. More details are provided in the response body.\n *\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type CancelProcessInstancesBatchOperationError = CancelProcessInstancesBatchOperationErrors[keyof CancelProcessInstancesBatchOperationErrors];\n\nexport type CancelProcessInstancesBatchOperationResponses = {\n /**\n * The batch operation request was created.\n */\n 200: BatchOperationCreatedResult;\n};\n\nexport type CancelProcessInstancesBatchOperationResponse = CancelProcessInstancesBatchOperationResponses[keyof CancelProcessInstancesBatchOperationResponses];\n\nexport type DeleteProcessInstancesBatchOperationData = {\n body: ProcessInstanceDeletionBatchOperationRequest;\n path?: never;\n query?: never;\n url: '/process-instances/deletion';\n};\n\nexport type DeleteProcessInstancesBatchOperationErrors = {\n /**\n * The process instance batch operation failed. More details are provided in the response body.\n *\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type DeleteProcessInstancesBatchOperationError = DeleteProcessInstancesBatchOperationErrors[keyof DeleteProcessInstancesBatchOperationErrors];\n\nexport type DeleteProcessInstancesBatchOperationResponses = {\n /**\n * The batch operation request was created.\n */\n 200: BatchOperationCreatedResult;\n};\n\nexport type DeleteProcessInstancesBatchOperationResponse = DeleteProcessInstancesBatchOperationResponses[keyof DeleteProcessInstancesBatchOperationResponses];\n\nexport type ResolveIncidentsBatchOperationData = {\n body?: ProcessInstanceIncidentResolutionBatchOperationRequest;\n path?: never;\n query?: never;\n url: '/process-instances/incident-resolution';\n};\n\nexport type ResolveIncidentsBatchOperationErrors = {\n /**\n * The process instance batch operation failed. More details are provided in the response body.\n *\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type ResolveIncidentsBatchOperationError = ResolveIncidentsBatchOperationErrors[keyof ResolveIncidentsBatchOperationErrors];\n\nexport type ResolveIncidentsBatchOperationResponses = {\n /**\n * The batch operation request was created.\n */\n 200: BatchOperationCreatedResult;\n};\n\nexport type ResolveIncidentsBatchOperationResponse = ResolveIncidentsBatchOperationResponses[keyof ResolveIncidentsBatchOperationResponses];\n\nexport type MigrateProcessInstancesBatchOperationData = {\n body: ProcessInstanceMigrationBatchOperationRequest;\n path?: never;\n query?: never;\n url: '/process-instances/migration';\n};\n\nexport type MigrateProcessInstancesBatchOperationErrors = {\n /**\n * The process instance batch operation failed. More details are provided in the response body.\n *\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type MigrateProcessInstancesBatchOperationError = MigrateProcessInstancesBatchOperationErrors[keyof MigrateProcessInstancesBatchOperationErrors];\n\nexport type MigrateProcessInstancesBatchOperationResponses = {\n /**\n * The batch operation request was created.\n */\n 200: BatchOperationCreatedResult;\n};\n\nexport type MigrateProcessInstancesBatchOperationResponse = MigrateProcessInstancesBatchOperationResponses[keyof MigrateProcessInstancesBatchOperationResponses];\n\nexport type ModifyProcessInstancesBatchOperationData = {\n body: ProcessInstanceModificationBatchOperationRequest;\n path?: never;\n query?: never;\n url: '/process-instances/modification';\n};\n\nexport type ModifyProcessInstancesBatchOperationErrors = {\n /**\n * The process instance batch operation failed. More details are provided in the response body.\n *\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type ModifyProcessInstancesBatchOperationError = ModifyProcessInstancesBatchOperationErrors[keyof ModifyProcessInstancesBatchOperationErrors];\n\nexport type ModifyProcessInstancesBatchOperationResponses = {\n /**\n * The batch operation request was created.\n */\n 200: BatchOperationCreatedResult;\n};\n\nexport type ModifyProcessInstancesBatchOperationResponse = ModifyProcessInstancesBatchOperationResponses[keyof ModifyProcessInstancesBatchOperationResponses];\n\nexport type SearchProcessInstancesData = {\n body?: ProcessInstanceSearchQuery;\n path?: never;\n query?: never;\n url: '/process-instances/search';\n};\n\nexport type SearchProcessInstancesErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchProcessInstancesError = SearchProcessInstancesErrors[keyof SearchProcessInstancesErrors];\n\nexport type SearchProcessInstancesResponses = {\n /**\n * The process instance search result.\n */\n 200: ProcessInstanceSearchQueryResult;\n};\n\nexport type SearchProcessInstancesResponse = SearchProcessInstancesResponses[keyof SearchProcessInstancesResponses];\n\nexport type GetProcessInstanceData = {\n body?: never;\n path: {\n /**\n * The process instance key.\n */\n processInstanceKey: ProcessInstanceKey;\n };\n query?: never;\n url: '/process-instances/{processInstanceKey}';\n};\n\nexport type GetProcessInstanceErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The process instance with the given key was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetProcessInstanceError = GetProcessInstanceErrors[keyof GetProcessInstanceErrors];\n\nexport type GetProcessInstanceResponses = {\n /**\n * The process instance is successfully returned.\n */\n 200: ProcessInstanceResult;\n};\n\nexport type GetProcessInstanceResponse = GetProcessInstanceResponses[keyof GetProcessInstanceResponses];\n\nexport type GetProcessInstanceCallHierarchyData = {\n body?: never;\n path: {\n /**\n * The key of the process instance to fetch the hierarchy for.\n */\n processInstanceKey: ProcessInstanceKey;\n };\n query?: never;\n url: '/process-instances/{processInstanceKey}/call-hierarchy';\n};\n\nexport type GetProcessInstanceCallHierarchyErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The process instance is not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetProcessInstanceCallHierarchyError = GetProcessInstanceCallHierarchyErrors[keyof GetProcessInstanceCallHierarchyErrors];\n\nexport type GetProcessInstanceCallHierarchyResponses = {\n /**\n * The call hierarchy is successfully returned.\n */\n 200: Array<ProcessInstanceCallHierarchyEntry>;\n};\n\nexport type GetProcessInstanceCallHierarchyResponse = GetProcessInstanceCallHierarchyResponses[keyof GetProcessInstanceCallHierarchyResponses];\n\nexport type CancelProcessInstanceData = {\n body?: {\n operationReference?: OperationReference;\n } | null;\n path: {\n /**\n * The key of the process instance to cancel.\n */\n processInstanceKey: ProcessInstanceKey;\n };\n query?: never;\n url: '/process-instances/{processInstanceKey}/cancellation';\n};\n\nexport type CancelProcessInstanceErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The process instance is not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n /**\n * The request timed out between the gateway and the broker. For these endpoints, this often happens when user task listeners are configured and the corresponding listener job is not completed within the request timeout. Common causes include no available job workers for the listener type, busy or crashed job workers, or delayed job completion. As with any gateway timeout, general timeout causes (for example transient network issues) can also result in a 504 response.\n * Troubleshooting: - verify that job workers for the listener type are running and healthy - check worker logs for crashes, retries, and completion failures - check network connectivity between workers, gateway, and broker - retry with backoff after transient failures - fail without retries if a problem persists\n *\n */\n 504: ProblemDetail;\n};\n\nexport type CancelProcessInstanceError = CancelProcessInstanceErrors[keyof CancelProcessInstanceErrors];\n\nexport type CancelProcessInstanceResponses = {\n /**\n * The process instance is canceled.\n */\n 204: void;\n};\n\nexport type CancelProcessInstanceResponse = CancelProcessInstanceResponses[keyof CancelProcessInstanceResponses];\n\nexport type DeleteProcessInstanceData = {\n body?: {\n operationReference?: OperationReference;\n } | null;\n path: {\n /**\n * The key of the process instance to delete.\n */\n processInstanceKey: ProcessInstanceKey;\n };\n query?: never;\n url: '/process-instances/{processInstanceKey}/deletion';\n};\n\nexport type DeleteProcessInstanceErrors = {\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The process instance is not found.\n */\n 404: ProblemDetail;\n /**\n * The process instance is not in a completed or terminated state and cannot be deleted.\n */\n 409: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type DeleteProcessInstanceError = DeleteProcessInstanceErrors[keyof DeleteProcessInstanceErrors];\n\nexport type DeleteProcessInstanceResponses = {\n /**\n * The process instance is marked for deletion.\n */\n 204: void;\n};\n\nexport type DeleteProcessInstanceResponse = DeleteProcessInstanceResponses[keyof DeleteProcessInstanceResponses];\n\nexport type ResolveProcessInstanceIncidentsData = {\n body?: never;\n path: {\n /**\n * The key of the process instance to resolve incidents for.\n */\n processInstanceKey: ProcessInstanceKey;\n };\n query?: never;\n url: '/process-instances/{processInstanceKey}/incident-resolution';\n};\n\nexport type ResolveProcessInstanceIncidentsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * The process instance is not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type ResolveProcessInstanceIncidentsError = ResolveProcessInstanceIncidentsErrors[keyof ResolveProcessInstanceIncidentsErrors];\n\nexport type ResolveProcessInstanceIncidentsResponses = {\n /**\n * The batch operation request for incident resolution was created.\n */\n 200: BatchOperationCreatedResult;\n};\n\nexport type ResolveProcessInstanceIncidentsResponse = ResolveProcessInstanceIncidentsResponses[keyof ResolveProcessInstanceIncidentsResponses];\n\nexport type SearchProcessInstanceIncidentsData = {\n body?: IncidentSearchQuery;\n path: {\n /**\n * The assigned key of the process instance, which acts as a unique identifier for this process instance.\n */\n processInstanceKey: ProcessInstanceKey;\n };\n query?: never;\n url: '/process-instances/{processInstanceKey}/incidents/search';\n};\n\nexport type SearchProcessInstanceIncidentsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The process instance with the given key was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchProcessInstanceIncidentsError = SearchProcessInstanceIncidentsErrors[keyof SearchProcessInstanceIncidentsErrors];\n\nexport type SearchProcessInstanceIncidentsResponses = {\n /**\n * The process instance search result.\n */\n 200: IncidentSearchQueryResult;\n};\n\nexport type SearchProcessInstanceIncidentsResponse = SearchProcessInstanceIncidentsResponses[keyof SearchProcessInstanceIncidentsResponses];\n\nexport type MigrateProcessInstanceData = {\n body: ProcessInstanceMigrationInstruction;\n path: {\n /**\n * The key of the process instance that should be migrated.\n */\n processInstanceKey: ProcessInstanceKey;\n };\n query?: never;\n url: '/process-instances/{processInstanceKey}/migration';\n};\n\nexport type MigrateProcessInstanceErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The process instance is not found.\n */\n 404: ProblemDetail;\n /**\n * The process instance migration failed. More details are provided in the response body.\n *\n */\n 409: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type MigrateProcessInstanceError = MigrateProcessInstanceErrors[keyof MigrateProcessInstanceErrors];\n\nexport type MigrateProcessInstanceResponses = {\n /**\n * The process instance is migrated.\n */\n 204: void;\n};\n\nexport type MigrateProcessInstanceResponse = MigrateProcessInstanceResponses[keyof MigrateProcessInstanceResponses];\n\nexport type ModifyProcessInstanceData = {\n body: ProcessInstanceModificationInstruction;\n path: {\n /**\n * The key of the process instance that should be modified.\n */\n processInstanceKey: ProcessInstanceKey;\n };\n query?: never;\n url: '/process-instances/{processInstanceKey}/modification';\n};\n\nexport type ModifyProcessInstanceErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The process instance is not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type ModifyProcessInstanceError = ModifyProcessInstanceErrors[keyof ModifyProcessInstanceErrors];\n\nexport type ModifyProcessInstanceResponses = {\n /**\n * The process instance is modified.\n */\n 204: void;\n};\n\nexport type ModifyProcessInstanceResponse = ModifyProcessInstanceResponses[keyof ModifyProcessInstanceResponses];\n\nexport type GetProcessInstanceSequenceFlowsData = {\n body?: never;\n path: {\n /**\n * The assigned key of the process instance, which acts as a unique identifier for this process instance.\n */\n processInstanceKey: ProcessInstanceKey;\n };\n query?: never;\n url: '/process-instances/{processInstanceKey}/sequence-flows';\n};\n\nexport type GetProcessInstanceSequenceFlowsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetProcessInstanceSequenceFlowsError = GetProcessInstanceSequenceFlowsErrors[keyof GetProcessInstanceSequenceFlowsErrors];\n\nexport type GetProcessInstanceSequenceFlowsResponses = {\n /**\n * The process instance sequence flows result.\n */\n 200: ProcessInstanceSequenceFlowsQueryResult;\n};\n\nexport type GetProcessInstanceSequenceFlowsResponse = GetProcessInstanceSequenceFlowsResponses[keyof GetProcessInstanceSequenceFlowsResponses];\n\nexport type GetProcessInstanceStatisticsData = {\n body?: never;\n path: {\n /**\n * The assigned key of the process instance, which acts as a unique identifier for this process instance.\n */\n processInstanceKey: ProcessInstanceKey;\n };\n query?: never;\n url: '/process-instances/{processInstanceKey}/statistics/element-instances';\n};\n\nexport type GetProcessInstanceStatisticsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetProcessInstanceStatisticsError = GetProcessInstanceStatisticsErrors[keyof GetProcessInstanceStatisticsErrors];\n\nexport type GetProcessInstanceStatisticsResponses = {\n /**\n * The process instance statistics result.\n */\n 200: ProcessInstanceElementStatisticsQueryResult;\n};\n\nexport type GetProcessInstanceStatisticsResponse = GetProcessInstanceStatisticsResponses[keyof GetProcessInstanceStatisticsResponses];\n\nexport type GetResourceData = {\n body?: never;\n path: {\n /**\n * The unique key identifying the resource.\n */\n resourceKey: ResourceKey;\n };\n query?: never;\n url: '/resources/{resourceKey}';\n};\n\nexport type GetResourceErrors = {\n /**\n * A resource with the given key was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetResourceError = GetResourceErrors[keyof GetResourceErrors];\n\nexport type GetResourceResponses = {\n /**\n * The resource is successfully returned.\n */\n 200: ResourceResult;\n};\n\nexport type GetResourceResponse = GetResourceResponses[keyof GetResourceResponses];\n\nexport type GetResourceContentData = {\n body?: never;\n path: {\n /**\n * The unique key identifying the resource.\n */\n resourceKey: ResourceKey;\n };\n query?: never;\n url: '/resources/{resourceKey}/content';\n};\n\nexport type GetResourceContentErrors = {\n /**\n * A resource with the given key was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetResourceContentError = GetResourceContentErrors[keyof GetResourceContentErrors];\n\nexport type GetResourceContentResponses = {\n /**\n * The resource content is successfully returned.\n */\n 200: string;\n};\n\nexport type GetResourceContentResponse = GetResourceContentResponses[keyof GetResourceContentResponses];\n\nexport type DeleteResourceData = {\n body?: DeleteResourceRequest;\n path: {\n /**\n * The key of the resource to delete.\n * This can be the key of a process definition, the key of a decision requirements\n * definition or the key of a form definition\n *\n */\n resourceKey: ResourceKey;\n };\n query?: never;\n url: '/resources/{resourceKey}/deletion';\n};\n\nexport type DeleteResourceErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The resource is not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type DeleteResourceError = DeleteResourceErrors[keyof DeleteResourceErrors];\n\nexport type DeleteResourceResponses = {\n /**\n * The resource is deleted.\n */\n 200: DeleteResourceResponse;\n};\n\nexport type DeleteResourceResponse2 = DeleteResourceResponses[keyof DeleteResourceResponses];\n\nexport type CreateRoleData = {\n body?: RoleCreateRequest;\n path?: never;\n query?: never;\n url: '/roles';\n};\n\nexport type CreateRoleErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type CreateRoleError = CreateRoleErrors[keyof CreateRoleErrors];\n\nexport type CreateRoleResponses = {\n /**\n * The role was created successfully.\n */\n 201: RoleCreateResult;\n};\n\nexport type CreateRoleResponse = CreateRoleResponses[keyof CreateRoleResponses];\n\nexport type SearchRolesData = {\n body?: RoleSearchQueryRequest;\n path?: never;\n query?: never;\n url: '/roles/search';\n};\n\nexport type SearchRolesErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchRolesError = SearchRolesErrors[keyof SearchRolesErrors];\n\nexport type SearchRolesResponses = {\n /**\n * The roles search result.\n */\n 200: RoleSearchQueryResult;\n};\n\nexport type SearchRolesResponse = SearchRolesResponses[keyof SearchRolesResponses];\n\nexport type DeleteRoleData = {\n body?: never;\n path: {\n /**\n * The role ID.\n */\n roleId: string;\n };\n query?: never;\n url: '/roles/{roleId}';\n};\n\nexport type DeleteRoleErrors = {\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * The role with the ID was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type DeleteRoleError = DeleteRoleErrors[keyof DeleteRoleErrors];\n\nexport type DeleteRoleResponses = {\n /**\n * The role was deleted successfully.\n */\n 204: void;\n};\n\nexport type DeleteRoleResponse = DeleteRoleResponses[keyof DeleteRoleResponses];\n\nexport type GetRoleData = {\n body?: never;\n path: {\n /**\n * The role ID.\n */\n roleId: string;\n };\n query?: never;\n url: '/roles/{roleId}';\n};\n\nexport type GetRoleErrors = {\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The role with the given ID was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetRoleError = GetRoleErrors[keyof GetRoleErrors];\n\nexport type GetRoleResponses = {\n /**\n * The role is successfully returned.\n */\n 200: RoleResult;\n};\n\nexport type GetRoleResponse = GetRoleResponses[keyof GetRoleResponses];\n\nexport type UpdateRoleData = {\n body: RoleUpdateRequest;\n path: {\n /**\n * The role ID.\n */\n roleId: string;\n };\n query?: never;\n url: '/roles/{roleId}';\n};\n\nexport type UpdateRoleErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * The role with the ID is not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type UpdateRoleError = UpdateRoleErrors[keyof UpdateRoleErrors];\n\nexport type UpdateRoleResponses = {\n /**\n * The role was updated successfully.\n */\n 200: RoleUpdateResult;\n};\n\nexport type UpdateRoleResponse = UpdateRoleResponses[keyof UpdateRoleResponses];\n\nexport type SearchClientsForRoleData = {\n body?: SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<{\n /**\n * The field to sort by.\n */\n field: 'clientId';\n order?: SortOrderEnum;\n }>;\n };\n path: {\n /**\n * The role ID.\n */\n roleId: string;\n };\n query?: never;\n url: '/roles/{roleId}/clients/search';\n};\n\nexport type SearchClientsForRoleErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The role with the given ID was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchClientsForRoleError = SearchClientsForRoleErrors[keyof SearchClientsForRoleErrors];\n\nexport type SearchClientsForRoleResponses = {\n /**\n * The clients with the assigned role.\n */\n 200: SearchQueryResponse & {\n /**\n * The matching clients.\n */\n items: Array<{\n /**\n * The ID of the client.\n */\n clientId: string;\n }>;\n };\n};\n\nexport type SearchClientsForRoleResponse = SearchClientsForRoleResponses[keyof SearchClientsForRoleResponses];\n\nexport type UnassignRoleFromClientData = {\n body?: never;\n path: {\n /**\n * The role ID.\n */\n roleId: string;\n /**\n * The client ID.\n */\n clientId: string;\n };\n query?: never;\n url: '/roles/{roleId}/clients/{clientId}';\n};\n\nexport type UnassignRoleFromClientErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The role or client with the given ID or username was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type UnassignRoleFromClientError = UnassignRoleFromClientErrors[keyof UnassignRoleFromClientErrors];\n\nexport type UnassignRoleFromClientResponses = {\n /**\n * The role was unassigned successfully from the client.\n */\n 204: void;\n};\n\nexport type UnassignRoleFromClientResponse = UnassignRoleFromClientResponses[keyof UnassignRoleFromClientResponses];\n\nexport type AssignRoleToClientData = {\n body?: never;\n path: {\n /**\n * The role ID.\n */\n roleId: string;\n /**\n * The client ID.\n */\n clientId: string;\n };\n query?: never;\n url: '/roles/{roleId}/clients/{clientId}';\n};\n\nexport type AssignRoleToClientErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The role with the given ID was not found.\n */\n 404: ProblemDetail;\n /**\n * The role was already assigned to the client with the given ID.\n */\n 409: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type AssignRoleToClientError = AssignRoleToClientErrors[keyof AssignRoleToClientErrors];\n\nexport type AssignRoleToClientResponses = {\n /**\n * The role was assigned successfully to the client.\n */\n 204: void;\n};\n\nexport type AssignRoleToClientResponse = AssignRoleToClientResponses[keyof AssignRoleToClientResponses];\n\nexport type SearchGroupsForRoleData = {\n body?: RoleGroupSearchQueryRequest;\n path: {\n /**\n * The role ID.\n */\n roleId: string;\n };\n query?: never;\n url: '/roles/{roleId}/groups/search';\n};\n\nexport type SearchGroupsForRoleErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The role with the given ID was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchGroupsForRoleError = SearchGroupsForRoleErrors[keyof SearchGroupsForRoleErrors];\n\nexport type SearchGroupsForRoleResponses = {\n /**\n * The groups with assigned role.\n */\n 200: RoleGroupSearchResult;\n};\n\nexport type SearchGroupsForRoleResponse = SearchGroupsForRoleResponses[keyof SearchGroupsForRoleResponses];\n\nexport type UnassignRoleFromGroupData = {\n body?: never;\n path: {\n /**\n * The role ID.\n */\n roleId: string;\n /**\n * The group ID.\n */\n groupId: string;\n };\n query?: never;\n url: '/roles/{roleId}/groups/{groupId}';\n};\n\nexport type UnassignRoleFromGroupErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The role or group with the given ID was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type UnassignRoleFromGroupError = UnassignRoleFromGroupErrors[keyof UnassignRoleFromGroupErrors];\n\nexport type UnassignRoleFromGroupResponses = {\n /**\n * The role was unassigned successfully from the group.\n */\n 204: void;\n};\n\nexport type UnassignRoleFromGroupResponse = UnassignRoleFromGroupResponses[keyof UnassignRoleFromGroupResponses];\n\nexport type AssignRoleToGroupData = {\n body?: never;\n path: {\n /**\n * The role ID.\n */\n roleId: string;\n /**\n * The group ID.\n */\n groupId: string;\n };\n query?: never;\n url: '/roles/{roleId}/groups/{groupId}';\n};\n\nexport type AssignRoleToGroupErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The role or group with the given ID was not found.\n */\n 404: ProblemDetail;\n /**\n * The role is already assigned to the group with the given ID.\n */\n 409: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type AssignRoleToGroupError = AssignRoleToGroupErrors[keyof AssignRoleToGroupErrors];\n\nexport type AssignRoleToGroupResponses = {\n /**\n * The role was assigned successfully to the group.\n */\n 204: void;\n};\n\nexport type AssignRoleToGroupResponse = AssignRoleToGroupResponses[keyof AssignRoleToGroupResponses];\n\nexport type SearchMappingRulesForRoleData = {\n body?: MappingRuleSearchQueryRequest;\n path: {\n /**\n * The role ID.\n */\n roleId: string;\n };\n query?: never;\n url: '/roles/{roleId}/mapping-rules/search';\n};\n\nexport type SearchMappingRulesForRoleErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The role with the given ID was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchMappingRulesForRoleError = SearchMappingRulesForRoleErrors[keyof SearchMappingRulesForRoleErrors];\n\nexport type SearchMappingRulesForRoleResponses = {\n /**\n * The mapping rules with assigned role.\n */\n 200: SearchQueryResponse & {\n /**\n * The matching mapping rules.\n */\n items: Array<MappingRuleResult>;\n };\n};\n\nexport type SearchMappingRulesForRoleResponse = SearchMappingRulesForRoleResponses[keyof SearchMappingRulesForRoleResponses];\n\nexport type UnassignRoleFromMappingRuleData = {\n body?: never;\n path: {\n /**\n * The role ID.\n */\n roleId: string;\n /**\n * The mapping rule ID.\n */\n mappingRuleId: string;\n };\n query?: never;\n url: '/roles/{roleId}/mapping-rules/{mappingRuleId}';\n};\n\nexport type UnassignRoleFromMappingRuleErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The role or mapping rule with the given ID was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type UnassignRoleFromMappingRuleError = UnassignRoleFromMappingRuleErrors[keyof UnassignRoleFromMappingRuleErrors];\n\nexport type UnassignRoleFromMappingRuleResponses = {\n /**\n * The role was unassigned successfully from the mapping rule.\n */\n 204: void;\n};\n\nexport type UnassignRoleFromMappingRuleResponse = UnassignRoleFromMappingRuleResponses[keyof UnassignRoleFromMappingRuleResponses];\n\nexport type AssignRoleToMappingRuleData = {\n body?: never;\n path: {\n /**\n * The role ID.\n */\n roleId: string;\n /**\n * The mapping rule ID.\n */\n mappingRuleId: string;\n };\n query?: never;\n url: '/roles/{roleId}/mapping-rules/{mappingRuleId}';\n};\n\nexport type AssignRoleToMappingRuleErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The role or mapping rule with the given ID was not found.\n */\n 404: ProblemDetail;\n /**\n * The role is already assigned to the mapping rule with the given ID.\n */\n 409: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type AssignRoleToMappingRuleError = AssignRoleToMappingRuleErrors[keyof AssignRoleToMappingRuleErrors];\n\nexport type AssignRoleToMappingRuleResponses = {\n /**\n * The role was assigned successfully to the mapping rule.\n */\n 204: void;\n};\n\nexport type AssignRoleToMappingRuleResponse = AssignRoleToMappingRuleResponses[keyof AssignRoleToMappingRuleResponses];\n\nexport type SearchUsersForRoleData = {\n body?: SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<{\n /**\n * The field to sort by.\n */\n field: 'username';\n order?: SortOrderEnum;\n }>;\n };\n path: {\n /**\n * The role ID.\n */\n roleId: string;\n };\n query?: never;\n url: '/roles/{roleId}/users/search';\n};\n\nexport type SearchUsersForRoleErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The role with the given ID was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchUsersForRoleError = SearchUsersForRoleErrors[keyof SearchUsersForRoleErrors];\n\nexport type SearchUsersForRoleResponses = {\n /**\n * The users with the assigned role.\n */\n 200: SearchQueryResponse & {\n /**\n * The matching users.\n */\n items: Array<{\n username: Username;\n }>;\n };\n};\n\nexport type SearchUsersForRoleResponse = SearchUsersForRoleResponses[keyof SearchUsersForRoleResponses];\n\nexport type UnassignRoleFromUserData = {\n body?: never;\n path: {\n /**\n * The role ID.\n */\n roleId: string;\n /**\n * The user username.\n */\n username: Username;\n };\n query?: never;\n url: '/roles/{roleId}/users/{username}';\n};\n\nexport type UnassignRoleFromUserErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The role or user with the given ID or username was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type UnassignRoleFromUserError = UnassignRoleFromUserErrors[keyof UnassignRoleFromUserErrors];\n\nexport type UnassignRoleFromUserResponses = {\n /**\n * The role was unassigned successfully from the user.\n */\n 204: void;\n};\n\nexport type UnassignRoleFromUserResponse = UnassignRoleFromUserResponses[keyof UnassignRoleFromUserResponses];\n\nexport type AssignRoleToUserData = {\n body?: never;\n path: {\n /**\n * The role ID.\n */\n roleId: string;\n /**\n * The user username.\n */\n username: Username;\n };\n query?: never;\n url: '/roles/{roleId}/users/{username}';\n};\n\nexport type AssignRoleToUserErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The role or user with the given ID or username was not found.\n */\n 404: ProblemDetail;\n /**\n * The role is already assigned to the user with the given ID.\n */\n 409: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type AssignRoleToUserError = AssignRoleToUserErrors[keyof AssignRoleToUserErrors];\n\nexport type AssignRoleToUserResponses = {\n /**\n * The role was assigned successfully to the user.\n */\n 204: void;\n};\n\nexport type AssignRoleToUserResponse = AssignRoleToUserResponses[keyof AssignRoleToUserResponses];\n\nexport type CreateAdminUserData = {\n body: UserRequest;\n path?: never;\n query?: never;\n url: '/setup/user';\n};\n\nexport type CreateAdminUserErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type CreateAdminUserError = CreateAdminUserErrors[keyof CreateAdminUserErrors];\n\nexport type CreateAdminUserResponses = {\n /**\n * The admin user was created successfully.\n */\n 201: UserCreateResult;\n};\n\nexport type CreateAdminUserResponse = CreateAdminUserResponses[keyof CreateAdminUserResponses];\n\nexport type BroadcastSignalData = {\n body: SignalBroadcastRequest;\n path?: never;\n query?: never;\n url: '/signals/broadcast';\n};\n\nexport type BroadcastSignalErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The signal is not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type BroadcastSignalError = BroadcastSignalErrors[keyof BroadcastSignalErrors];\n\nexport type BroadcastSignalResponses = {\n /**\n * The signal was broadcast.\n */\n 200: SignalBroadcastResult;\n};\n\nexport type BroadcastSignalResponse = BroadcastSignalResponses[keyof BroadcastSignalResponses];\n\nexport type GetStatusData = {\n body?: never;\n path?: never;\n query?: never;\n url: '/status';\n};\n\nexport type GetStatusErrors = {\n /**\n * The cluster is DOWN and does not have any partition with a healthy leader.\n */\n 503: unknown;\n};\n\nexport type GetStatusResponses = {\n /**\n * The cluster is UP and has at least one partition with a healthy leader.\n */\n 204: void;\n};\n\nexport type GetStatusResponse = GetStatusResponses[keyof GetStatusResponses];\n\nexport type GetUsageMetricsData = {\n body?: never;\n path?: never;\n query: {\n /**\n * The start date for usage metrics, including this date. Value in ISO 8601 format.\n */\n startTime: string;\n /**\n * The end date for usage metrics, including this date. Value in ISO 8601 format.\n */\n endTime: string;\n /**\n * Restrict results to a specific tenant ID. If not provided, results for all tenants are returned.\n */\n tenantId?: TenantId;\n /**\n * Whether to return tenant metrics in addition to the total metrics or not. Default false.\n */\n withTenants?: boolean;\n };\n url: '/system/usage-metrics';\n};\n\nexport type GetUsageMetricsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetUsageMetricsError = GetUsageMetricsErrors[keyof GetUsageMetricsErrors];\n\nexport type GetUsageMetricsResponses = {\n /**\n * The usage metrics search result.\n */\n 200: UsageMetricsResponse;\n};\n\nexport type GetUsageMetricsResponse = GetUsageMetricsResponses[keyof GetUsageMetricsResponses];\n\nexport type GetSystemConfigurationData = {\n body?: never;\n path?: never;\n query?: never;\n url: '/system/configuration';\n};\n\nexport type GetSystemConfigurationErrors = {\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetSystemConfigurationError = GetSystemConfigurationErrors[keyof GetSystemConfigurationErrors];\n\nexport type GetSystemConfigurationResponses = {\n /**\n * Current system configuration grouped by feature area.\n */\n 200: SystemConfigurationResponse;\n};\n\nexport type GetSystemConfigurationResponse = GetSystemConfigurationResponses[keyof GetSystemConfigurationResponses];\n\nexport type CreateTenantData = {\n body: TenantCreateRequest;\n path?: never;\n query?: never;\n url: '/tenants';\n};\n\nexport type CreateTenantErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Not found. The resource was not found.\n */\n 404: ProblemDetail;\n /**\n * Tenant with this id already exists.\n */\n 409: unknown;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type CreateTenantError = CreateTenantErrors[keyof CreateTenantErrors];\n\nexport type CreateTenantResponses = {\n /**\n * The tenant was created successfully.\n */\n 201: TenantCreateResult;\n};\n\nexport type CreateTenantResponse = CreateTenantResponses[keyof CreateTenantResponses];\n\nexport type SearchTenantsData = {\n body?: TenantSearchQueryRequest;\n path?: never;\n query?: never;\n url: '/tenants/search';\n};\n\nexport type SearchTenantsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Not found\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchTenantsError = SearchTenantsErrors[keyof SearchTenantsErrors];\n\nexport type SearchTenantsResponses = {\n /**\n * The tenants search result\n */\n 200: TenantSearchQueryResult;\n};\n\nexport type SearchTenantsResponse = SearchTenantsResponses[keyof SearchTenantsResponses];\n\nexport type DeleteTenantData = {\n body?: never;\n path: {\n /**\n * The unique identifier of the tenant.\n */\n tenantId: TenantId;\n };\n query?: never;\n url: '/tenants/{tenantId}';\n};\n\nexport type DeleteTenantErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Not found. The tenant was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type DeleteTenantError = DeleteTenantErrors[keyof DeleteTenantErrors];\n\nexport type DeleteTenantResponses = {\n /**\n * The tenant was deleted successfully.\n */\n 204: void;\n};\n\nexport type DeleteTenantResponse = DeleteTenantResponses[keyof DeleteTenantResponses];\n\nexport type GetTenantData = {\n body?: never;\n path: {\n /**\n * The unique identifier of the tenant.\n */\n tenantId: TenantId;\n };\n query?: never;\n url: '/tenants/{tenantId}';\n};\n\nexport type GetTenantErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Tenant not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetTenantError = GetTenantErrors[keyof GetTenantErrors];\n\nexport type GetTenantResponses = {\n /**\n * The tenant was retrieved successfully.\n */\n 200: TenantResult;\n};\n\nexport type GetTenantResponse = GetTenantResponses[keyof GetTenantResponses];\n\nexport type UpdateTenantData = {\n body: TenantUpdateRequest;\n path: {\n /**\n * The unique identifier of the tenant.\n */\n tenantId: TenantId;\n };\n query?: never;\n url: '/tenants/{tenantId}';\n};\n\nexport type UpdateTenantErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Not found. The tenant was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type UpdateTenantError = UpdateTenantErrors[keyof UpdateTenantErrors];\n\nexport type UpdateTenantResponses = {\n /**\n * The tenant was updated successfully.\n */\n 200: TenantUpdateResult;\n};\n\nexport type UpdateTenantResponse = UpdateTenantResponses[keyof UpdateTenantResponses];\n\nexport type SearchClientsForTenantData = {\n body?: SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<{\n /**\n * The field to sort by.\n */\n field: 'clientId';\n order?: SortOrderEnum;\n }>;\n };\n path: {\n /**\n * The unique identifier of the tenant.\n */\n tenantId: TenantId;\n };\n query?: never;\n url: '/tenants/{tenantId}/clients/search';\n};\n\nexport type SearchClientsForTenantResponses = {\n /**\n * The search result of users for the tenant.\n */\n 200: SearchQueryResponse & {\n /**\n * The matching clients.\n */\n items: Array<{\n /**\n * The ID of the client.\n */\n clientId: string;\n }>;\n };\n};\n\nexport type SearchClientsForTenantResponse = SearchClientsForTenantResponses[keyof SearchClientsForTenantResponses];\n\nexport type UnassignClientFromTenantData = {\n body?: never;\n path: {\n /**\n * The unique identifier of the tenant.\n */\n tenantId: TenantId;\n /**\n * The unique identifier of the application.\n */\n clientId: string;\n };\n query?: never;\n url: '/tenants/{tenantId}/clients/{clientId}';\n};\n\nexport type UnassignClientFromTenantErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The tenant does not exist or the client was not assigned to it.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type UnassignClientFromTenantError = UnassignClientFromTenantErrors[keyof UnassignClientFromTenantErrors];\n\nexport type UnassignClientFromTenantResponses = {\n /**\n * The client was successfully unassigned from the tenant.\n */\n 204: void;\n};\n\nexport type UnassignClientFromTenantResponse = UnassignClientFromTenantResponses[keyof UnassignClientFromTenantResponses];\n\nexport type AssignClientToTenantData = {\n body?: never;\n path: {\n /**\n * The unique identifier of the tenant.\n */\n tenantId: TenantId;\n /**\n * The unique identifier of the application.\n */\n clientId: string;\n };\n query?: never;\n url: '/tenants/{tenantId}/clients/{clientId}';\n};\n\nexport type AssignClientToTenantErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The tenant was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type AssignClientToTenantError = AssignClientToTenantErrors[keyof AssignClientToTenantErrors];\n\nexport type AssignClientToTenantResponses = {\n /**\n * The client was successfully assigned to the tenant.\n */\n 204: void;\n};\n\nexport type AssignClientToTenantResponse = AssignClientToTenantResponses[keyof AssignClientToTenantResponses];\n\nexport type SearchGroupIdsForTenantData = {\n body?: TenantGroupSearchQueryRequest;\n path: {\n /**\n * The unique identifier of the tenant.\n */\n tenantId: TenantId;\n };\n query?: never;\n url: '/tenants/{tenantId}/groups/search';\n};\n\nexport type SearchGroupIdsForTenantResponses = {\n /**\n * The search result of groups for the tenant.\n */\n 200: TenantGroupSearchResult;\n};\n\nexport type SearchGroupIdsForTenantResponse = SearchGroupIdsForTenantResponses[keyof SearchGroupIdsForTenantResponses];\n\nexport type UnassignGroupFromTenantData = {\n body?: never;\n path: {\n /**\n * The unique identifier of the tenant.\n */\n tenantId: TenantId;\n /**\n * The unique identifier of the group.\n */\n groupId: string;\n };\n query?: never;\n url: '/tenants/{tenantId}/groups/{groupId}';\n};\n\nexport type UnassignGroupFromTenantErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Not found. The tenant or group was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type UnassignGroupFromTenantError = UnassignGroupFromTenantErrors[keyof UnassignGroupFromTenantErrors];\n\nexport type UnassignGroupFromTenantResponses = {\n /**\n * The group was successfully unassigned from the tenant.\n */\n 204: void;\n};\n\nexport type UnassignGroupFromTenantResponse = UnassignGroupFromTenantResponses[keyof UnassignGroupFromTenantResponses];\n\nexport type AssignGroupToTenantData = {\n body?: never;\n path: {\n /**\n * The unique identifier of the tenant.\n */\n tenantId: TenantId;\n /**\n * The unique identifier of the group.\n */\n groupId: string;\n };\n query?: never;\n url: '/tenants/{tenantId}/groups/{groupId}';\n};\n\nexport type AssignGroupToTenantErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Not found. The tenant or group was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type AssignGroupToTenantError = AssignGroupToTenantErrors[keyof AssignGroupToTenantErrors];\n\nexport type AssignGroupToTenantResponses = {\n /**\n * The group was successfully assigned to the tenant.\n */\n 204: void;\n};\n\nexport type AssignGroupToTenantResponse = AssignGroupToTenantResponses[keyof AssignGroupToTenantResponses];\n\nexport type SearchMappingRulesForTenantData = {\n body?: MappingRuleSearchQueryRequest;\n path: {\n /**\n * The unique identifier of the tenant.\n */\n tenantId: TenantId;\n };\n query?: never;\n url: '/tenants/{tenantId}/mapping-rules/search';\n};\n\nexport type SearchMappingRulesForTenantResponses = {\n /**\n * The search result of MappingRules for the tenant.\n */\n 200: SearchQueryResponse & {\n /**\n * The matching mapping rules.\n */\n items: Array<MappingRuleResult>;\n };\n};\n\nexport type SearchMappingRulesForTenantResponse = SearchMappingRulesForTenantResponses[keyof SearchMappingRulesForTenantResponses];\n\nexport type UnassignMappingRuleFromTenantData = {\n body?: never;\n path: {\n /**\n * The unique identifier of the tenant.\n */\n tenantId: TenantId;\n /**\n * The unique identifier of the mapping rule.\n */\n mappingRuleId: string;\n };\n query?: never;\n url: '/tenants/{tenantId}/mapping-rules/{mappingRuleId}';\n};\n\nexport type UnassignMappingRuleFromTenantErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Not found. The tenant or mapping rule was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type UnassignMappingRuleFromTenantError = UnassignMappingRuleFromTenantErrors[keyof UnassignMappingRuleFromTenantErrors];\n\nexport type UnassignMappingRuleFromTenantResponses = {\n /**\n * The mapping rule was successfully unassigned from the tenant.\n */\n 204: void;\n};\n\nexport type UnassignMappingRuleFromTenantResponse = UnassignMappingRuleFromTenantResponses[keyof UnassignMappingRuleFromTenantResponses];\n\nexport type AssignMappingRuleToTenantData = {\n body?: never;\n path: {\n /**\n * The unique identifier of the tenant.\n */\n tenantId: TenantId;\n /**\n * The unique identifier of the mapping rule.\n */\n mappingRuleId: string;\n };\n query?: never;\n url: '/tenants/{tenantId}/mapping-rules/{mappingRuleId}';\n};\n\nexport type AssignMappingRuleToTenantErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Not found. The tenant or mapping rule was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type AssignMappingRuleToTenantError = AssignMappingRuleToTenantErrors[keyof AssignMappingRuleToTenantErrors];\n\nexport type AssignMappingRuleToTenantResponses = {\n /**\n * The mapping rule was successfully assigned to the tenant.\n */\n 204: void;\n};\n\nexport type AssignMappingRuleToTenantResponse = AssignMappingRuleToTenantResponses[keyof AssignMappingRuleToTenantResponses];\n\nexport type SearchRolesForTenantData = {\n body?: RoleSearchQueryRequest;\n path: {\n /**\n * The unique identifier of the tenant.\n */\n tenantId: TenantId;\n };\n query?: never;\n url: '/tenants/{tenantId}/roles/search';\n};\n\nexport type SearchRolesForTenantResponses = {\n /**\n * The search result of roles for the tenant.\n */\n 200: SearchQueryResponse & {\n /**\n * The matching roles.\n */\n items: Array<RoleResult>;\n };\n};\n\nexport type SearchRolesForTenantResponse = SearchRolesForTenantResponses[keyof SearchRolesForTenantResponses];\n\nexport type UnassignRoleFromTenantData = {\n body?: never;\n path: {\n /**\n * The unique identifier of the tenant.\n */\n tenantId: TenantId;\n /**\n * The unique identifier of the role.\n */\n roleId: string;\n };\n query?: never;\n url: '/tenants/{tenantId}/roles/{roleId}';\n};\n\nexport type UnassignRoleFromTenantErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Not found. The tenant or role was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type UnassignRoleFromTenantError = UnassignRoleFromTenantErrors[keyof UnassignRoleFromTenantErrors];\n\nexport type UnassignRoleFromTenantResponses = {\n /**\n * The role was successfully unassigned from the tenant.\n */\n 204: void;\n};\n\nexport type UnassignRoleFromTenantResponse = UnassignRoleFromTenantResponses[keyof UnassignRoleFromTenantResponses];\n\nexport type AssignRoleToTenantData = {\n body?: never;\n path: {\n /**\n * The unique identifier of the tenant.\n */\n tenantId: TenantId;\n /**\n * The unique identifier of the role.\n */\n roleId: string;\n };\n query?: never;\n url: '/tenants/{tenantId}/roles/{roleId}';\n};\n\nexport type AssignRoleToTenantErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Not found. The tenant or role was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type AssignRoleToTenantError = AssignRoleToTenantErrors[keyof AssignRoleToTenantErrors];\n\nexport type AssignRoleToTenantResponses = {\n /**\n * The role was successfully assigned to the tenant.\n */\n 204: void;\n};\n\nexport type AssignRoleToTenantResponse = AssignRoleToTenantResponses[keyof AssignRoleToTenantResponses];\n\nexport type SearchUsersForTenantData = {\n body?: SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<{\n /**\n * The field to sort by.\n */\n field: 'username';\n order?: SortOrderEnum;\n }>;\n };\n path: {\n /**\n * The unique identifier of the tenant.\n */\n tenantId: TenantId;\n };\n query?: never;\n url: '/tenants/{tenantId}/users/search';\n};\n\nexport type SearchUsersForTenantResponses = {\n /**\n * The search result of users for the tenant.\n */\n 200: SearchQueryResponse & {\n /**\n * The matching users.\n */\n items: Array<{\n username: Username;\n }>;\n };\n};\n\nexport type SearchUsersForTenantResponse = SearchUsersForTenantResponses[keyof SearchUsersForTenantResponses];\n\nexport type UnassignUserFromTenantData = {\n body?: never;\n path: {\n /**\n * The unique identifier of the tenant.\n */\n tenantId: TenantId;\n /**\n * The unique identifier of the user.\n */\n username: Username;\n };\n query?: never;\n url: '/tenants/{tenantId}/users/{username}';\n};\n\nexport type UnassignUserFromTenantErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Not found. The tenant or user was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type UnassignUserFromTenantError = UnassignUserFromTenantErrors[keyof UnassignUserFromTenantErrors];\n\nexport type UnassignUserFromTenantResponses = {\n /**\n * The user was successfully unassigned from the tenant.\n */\n 204: void;\n};\n\nexport type UnassignUserFromTenantResponse = UnassignUserFromTenantResponses[keyof UnassignUserFromTenantResponses];\n\nexport type AssignUserToTenantData = {\n body?: never;\n path: {\n /**\n * The unique identifier of the tenant.\n */\n tenantId: TenantId;\n /**\n * The unique identifier of the user.\n */\n username: Username;\n };\n query?: never;\n url: '/tenants/{tenantId}/users/{username}';\n};\n\nexport type AssignUserToTenantErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Not found. The tenant or user was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type AssignUserToTenantError = AssignUserToTenantErrors[keyof AssignUserToTenantErrors];\n\nexport type AssignUserToTenantResponses = {\n /**\n * The user was successfully assigned to the tenant.\n */\n 204: void;\n};\n\nexport type AssignUserToTenantResponse = AssignUserToTenantResponses[keyof AssignUserToTenantResponses];\n\nexport type GetTopologyData = {\n body?: never;\n path?: never;\n query?: never;\n url: '/topology';\n};\n\nexport type GetTopologyErrors = {\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetTopologyError = GetTopologyErrors[keyof GetTopologyErrors];\n\nexport type GetTopologyResponses = {\n /**\n * Obtains the current topology of the cluster the gateway is part of.\n */\n 200: TopologyResponse;\n};\n\nexport type GetTopologyResponse = GetTopologyResponses[keyof GetTopologyResponses];\n\nexport type CreateUserData = {\n body: UserRequest;\n path?: never;\n query?: never;\n url: '/users';\n};\n\nexport type CreateUserErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * A user with this username already exists.\n */\n 409: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type CreateUserError = CreateUserErrors[keyof CreateUserErrors];\n\nexport type CreateUserResponses = {\n /**\n * The user was created successfully.\n */\n 201: UserCreateResult;\n};\n\nexport type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];\n\nexport type SearchUsersData = {\n body?: UserSearchQueryRequest;\n path?: never;\n query?: never;\n url: '/users/search';\n};\n\nexport type SearchUsersErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchUsersError = SearchUsersErrors[keyof SearchUsersErrors];\n\nexport type SearchUsersResponses = {\n /**\n * The user search result.\n */\n 200: SearchQueryResponse & {\n /**\n * The matching users.\n */\n items: Array<{\n username: Username;\n /**\n * The name of the user.\n */\n name: string | null;\n /**\n * The email of the user.\n */\n email: string | null;\n }>;\n };\n};\n\nexport type SearchUsersResponse = SearchUsersResponses[keyof SearchUsersResponses];\n\nexport type DeleteUserData = {\n body?: never;\n path: {\n /**\n * The username of the user to delete.\n */\n username: Username;\n };\n query?: never;\n url: '/users/{username}';\n};\n\nexport type DeleteUserErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The user is not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type DeleteUserError = DeleteUserErrors[keyof DeleteUserErrors];\n\nexport type DeleteUserResponses = {\n /**\n * The user was deleted successfully.\n */\n 204: void;\n};\n\nexport type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];\n\nexport type GetUserData = {\n body?: never;\n path: {\n /**\n * The username of the user.\n */\n username: Username;\n };\n query?: never;\n url: '/users/{username}';\n};\n\nexport type GetUserErrors = {\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The user with the given username was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetUserError = GetUserErrors[keyof GetUserErrors];\n\nexport type GetUserResponses = {\n /**\n * The user is successfully returned.\n */\n 200: {\n username: Username;\n /**\n * The name of the user.\n */\n name: string | null;\n /**\n * The email of the user.\n */\n email: string | null;\n };\n};\n\nexport type GetUserResponse = GetUserResponses[keyof GetUserResponses];\n\nexport type UpdateUserData = {\n body: UserUpdateRequest;\n path: {\n /**\n * The username of the user to update.\n */\n username: Username;\n };\n query?: never;\n url: '/users/{username}';\n};\n\nexport type UpdateUserErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The user was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n};\n\nexport type UpdateUserError = UpdateUserErrors[keyof UpdateUserErrors];\n\nexport type UpdateUserResponses = {\n /**\n * The user was updated successfully.\n */\n 200: {\n username: Username;\n /**\n * The name of the user.\n */\n name: string | null;\n /**\n * The email of the user.\n */\n email: string | null;\n };\n};\n\nexport type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];\n\nexport type SearchUserTasksData = {\n body?: UserTaskSearchQuery;\n path?: never;\n query?: never;\n url: '/user-tasks/search';\n};\n\nexport type SearchUserTasksErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchUserTasksError = SearchUserTasksErrors[keyof SearchUserTasksErrors];\n\nexport type SearchUserTasksResponses = {\n /**\n * The user task search result.\n */\n 200: UserTaskSearchQueryResult;\n};\n\nexport type SearchUserTasksResponse = SearchUserTasksResponses[keyof SearchUserTasksResponses];\n\nexport type GetUserTaskData = {\n body?: never;\n path: {\n /**\n * The user task key.\n */\n userTaskKey: UserTaskKey;\n };\n query?: never;\n url: '/user-tasks/{userTaskKey}';\n};\n\nexport type GetUserTaskErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * The user task with the given key was not found.\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetUserTaskError = GetUserTaskErrors[keyof GetUserTaskErrors];\n\nexport type GetUserTaskResponses = {\n /**\n * The user task is successfully returned.\n */\n 200: UserTaskResult;\n};\n\nexport type GetUserTaskResponse = GetUserTaskResponses[keyof GetUserTaskResponses];\n\nexport type UpdateUserTaskData = {\n body?: UserTaskUpdateRequest;\n path: {\n /**\n * The key of the user task to update.\n */\n userTaskKey: UserTaskKey;\n };\n query?: never;\n url: '/user-tasks/{userTaskKey}';\n};\n\nexport type UpdateUserTaskErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The user task with the given key was not found.\n */\n 404: ProblemDetail;\n /**\n * The user task with the given key is in the wrong state currently. More details are provided in the response body.\n *\n */\n 409: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n /**\n * The request timed out between the gateway and the broker. For these endpoints, this often happens when user task listeners are configured and the corresponding listener job is not completed within the request timeout. Common causes include no available job workers for the listener type, busy or crashed job workers, or delayed job completion. As with any gateway timeout, general timeout causes (for example transient network issues) can also result in a 504 response.\n * Troubleshooting: - verify that job workers for the listener type are running and healthy - check worker logs for crashes, retries, and completion failures - check network connectivity between workers, gateway, and broker - retry with backoff after transient failures - fail without retries if a problem persists\n *\n */\n 504: ProblemDetail;\n};\n\nexport type UpdateUserTaskError = UpdateUserTaskErrors[keyof UpdateUserTaskErrors];\n\nexport type UpdateUserTaskResponses = {\n /**\n * The user task was updated successfully.\n */\n 204: void;\n};\n\nexport type UpdateUserTaskResponse = UpdateUserTaskResponses[keyof UpdateUserTaskResponses];\n\nexport type UnassignUserTaskData = {\n body?: never;\n path: {\n /**\n * The key of the user task.\n */\n userTaskKey: UserTaskKey;\n };\n query?: never;\n url: '/user-tasks/{userTaskKey}/assignee';\n};\n\nexport type UnassignUserTaskErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The user task with the given key was not found.\n */\n 404: ProblemDetail;\n /**\n * The user task with the given key is in the wrong state currently. More details are provided in the response body.\n *\n */\n 409: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n /**\n * The request timed out between the gateway and the broker. For these endpoints, this often happens when user task listeners are configured and the corresponding listener job is not completed within the request timeout. Common causes include no available job workers for the listener type, busy or crashed job workers, or delayed job completion. As with any gateway timeout, general timeout causes (for example transient network issues) can also result in a 504 response.\n * Troubleshooting: - verify that job workers for the listener type are running and healthy - check worker logs for crashes, retries, and completion failures - check network connectivity between workers, gateway, and broker - retry with backoff after transient failures - fail without retries if a problem persists\n *\n */\n 504: ProblemDetail;\n};\n\nexport type UnassignUserTaskError = UnassignUserTaskErrors[keyof UnassignUserTaskErrors];\n\nexport type UnassignUserTaskResponses = {\n /**\n * The user task was unassigned successfully.\n */\n 204: void;\n};\n\nexport type UnassignUserTaskResponse = UnassignUserTaskResponses[keyof UnassignUserTaskResponses];\n\nexport type AssignUserTaskData = {\n body: UserTaskAssignmentRequest;\n path: {\n /**\n * The key of the user task to assign.\n */\n userTaskKey: UserTaskKey;\n };\n query?: never;\n url: '/user-tasks/{userTaskKey}/assignment';\n};\n\nexport type AssignUserTaskErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The user task with the given key was not found.\n */\n 404: ProblemDetail;\n /**\n * The user task with the given key is in the wrong state currently. More details are provided in the response body.\n *\n */\n 409: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n /**\n * The request timed out between the gateway and the broker. For these endpoints, this often happens when user task listeners are configured and the corresponding listener job is not completed within the request timeout. Common causes include no available job workers for the listener type, busy or crashed job workers, or delayed job completion. As with any gateway timeout, general timeout causes (for example transient network issues) can also result in a 504 response.\n * Troubleshooting: - verify that job workers for the listener type are running and healthy - check worker logs for crashes, retries, and completion failures - check network connectivity between workers, gateway, and broker - retry with backoff after transient failures - fail without retries if a problem persists\n *\n */\n 504: ProblemDetail;\n};\n\nexport type AssignUserTaskError = AssignUserTaskErrors[keyof AssignUserTaskErrors];\n\nexport type AssignUserTaskResponses = {\n /**\n * The user task's assignment was adjusted.\n */\n 204: void;\n};\n\nexport type AssignUserTaskResponse = AssignUserTaskResponses[keyof AssignUserTaskResponses];\n\nexport type SearchUserTaskAuditLogsData = {\n body?: UserTaskAuditLogSearchQueryRequest;\n path: {\n /**\n * The key of the user task.\n */\n userTaskKey: UserTaskKey;\n };\n query?: never;\n url: '/user-tasks/{userTaskKey}/audit-logs/search';\n};\n\nexport type SearchUserTaskAuditLogsErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchUserTaskAuditLogsError = SearchUserTaskAuditLogsErrors[keyof SearchUserTaskAuditLogsErrors];\n\nexport type SearchUserTaskAuditLogsResponses = {\n /**\n * The user task audit log search result.\n */\n 200: AuditLogSearchQueryResult;\n};\n\nexport type SearchUserTaskAuditLogsResponse = SearchUserTaskAuditLogsResponses[keyof SearchUserTaskAuditLogsResponses];\n\nexport type CompleteUserTaskData = {\n body?: UserTaskCompletionRequest;\n path: {\n /**\n * The key of the user task to complete.\n */\n userTaskKey: UserTaskKey;\n };\n query?: never;\n url: '/user-tasks/{userTaskKey}/completion';\n};\n\nexport type CompleteUserTaskErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The user task with the given key was not found.\n */\n 404: ProblemDetail;\n /**\n * The user task with the given key is in the wrong state currently. More details are provided in the response body.\n *\n */\n 409: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n /**\n * The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains `RESOURCE_EXHAUSTED`. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .\n *\n */\n 503: ProblemDetail;\n /**\n * The request timed out between the gateway and the broker. For these endpoints, this often happens when user task listeners are configured and the corresponding listener job is not completed within the request timeout. Common causes include no available job workers for the listener type, busy or crashed job workers, or delayed job completion. As with any gateway timeout, general timeout causes (for example transient network issues) can also result in a 504 response.\n * Troubleshooting: - verify that job workers for the listener type are running and healthy - check worker logs for crashes, retries, and completion failures - check network connectivity between workers, gateway, and broker - retry with backoff after transient failures - fail without retries if a problem persists\n *\n */\n 504: ProblemDetail;\n};\n\nexport type CompleteUserTaskError = CompleteUserTaskErrors[keyof CompleteUserTaskErrors];\n\nexport type CompleteUserTaskResponses = {\n /**\n * The user task was completed successfully.\n */\n 204: void;\n};\n\nexport type CompleteUserTaskResponse = CompleteUserTaskResponses[keyof CompleteUserTaskResponses];\n\nexport type SearchUserTaskEffectiveVariablesData = {\n /**\n * User task effective variable search query request. Uses offset-based pagination only.\n *\n */\n body?: {\n /**\n * Pagination parameters.\n */\n page?: OffsetPagination;\n /**\n * Sort field criteria.\n */\n sort?: Array<{\n /**\n * The field to sort by.\n */\n field: 'value' | 'name' | 'tenantId' | 'variableKey' | 'scopeKey' | 'processInstanceKey';\n order?: SortOrderEnum;\n }>;\n /**\n * The user task variable search filters.\n */\n filter?: UserTaskVariableFilter;\n };\n path: {\n /**\n * The key of the user task.\n */\n userTaskKey: UserTaskKey;\n };\n query?: {\n /**\n * When true (default), long variable values in the response are truncated. When false, full variable values are returned.\n */\n truncateValues?: boolean;\n };\n url: '/user-tasks/{userTaskKey}/effective-variables/search';\n};\n\nexport type SearchUserTaskEffectiveVariablesErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchUserTaskEffectiveVariablesError = SearchUserTaskEffectiveVariablesErrors[keyof SearchUserTaskEffectiveVariablesErrors];\n\nexport type SearchUserTaskEffectiveVariablesResponses = {\n /**\n * The user task effective variable search result.\n */\n 200: VariableSearchQueryResult;\n};\n\nexport type SearchUserTaskEffectiveVariablesResponse = SearchUserTaskEffectiveVariablesResponses[keyof SearchUserTaskEffectiveVariablesResponses];\n\nexport type GetUserTaskFormData = {\n body?: never;\n path: {\n /**\n * The user task key.\n */\n userTaskKey: UserTaskKey;\n };\n query?: never;\n url: '/user-tasks/{userTaskKey}/form';\n};\n\nexport type GetUserTaskFormErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Not found\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetUserTaskFormError = GetUserTaskFormErrors[keyof GetUserTaskFormErrors];\n\nexport type GetUserTaskFormResponses = {\n /**\n * The form is successfully returned.\n */\n 200: FormResult;\n /**\n * The user task was found, but no form is associated with it.\n */\n 204: void;\n};\n\nexport type GetUserTaskFormResponse = GetUserTaskFormResponses[keyof GetUserTaskFormResponses];\n\nexport type SearchUserTaskVariablesData = {\n /**\n * User task search query request.\n */\n body?: SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<{\n /**\n * The field to sort by.\n */\n field: 'value' | 'name' | 'tenantId' | 'variableKey' | 'scopeKey' | 'processInstanceKey';\n order?: SortOrderEnum;\n }>;\n /**\n * The user task variable search filters.\n */\n filter?: UserTaskVariableFilter;\n };\n path: {\n /**\n * The key of the user task.\n */\n userTaskKey: UserTaskKey;\n };\n query?: {\n /**\n * When true (default), long variable values in the response are truncated. When false, full variable values are returned.\n */\n truncateValues?: boolean;\n };\n url: '/user-tasks/{userTaskKey}/variables/search';\n};\n\nexport type SearchUserTaskVariablesErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchUserTaskVariablesError = SearchUserTaskVariablesErrors[keyof SearchUserTaskVariablesErrors];\n\nexport type SearchUserTaskVariablesResponses = {\n /**\n * The user task variable search result.\n */\n 200: VariableSearchQueryResult;\n};\n\nexport type SearchUserTaskVariablesResponse = SearchUserTaskVariablesResponses[keyof SearchUserTaskVariablesResponses];\n\nexport type SearchVariablesData = {\n /**\n * Variable search query request.\n */\n body?: SearchQueryRequest & {\n /**\n * Sort field criteria.\n */\n sort?: Array<{\n /**\n * The field to sort by.\n */\n field: 'value' | 'name' | 'tenantId' | 'variableKey' | 'scopeKey' | 'processInstanceKey';\n order?: SortOrderEnum;\n }>;\n /**\n * The variable search filters.\n */\n filter?: VariableFilter;\n };\n path?: never;\n query?: {\n /**\n * When true (default), long variable values in the response are truncated. When false, full variable values are returned.\n */\n truncateValues?: boolean;\n };\n url: '/variables/search';\n};\n\nexport type SearchVariablesErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type SearchVariablesError = SearchVariablesErrors[keyof SearchVariablesErrors];\n\nexport type SearchVariablesResponses = {\n /**\n * The variable search result.\n */\n 200: VariableSearchQueryResult;\n};\n\nexport type SearchVariablesResponse = SearchVariablesResponses[keyof SearchVariablesResponses];\n\nexport type GetVariableData = {\n body?: never;\n path: {\n /**\n * The variable key.\n */\n variableKey: VariableKey;\n };\n query?: never;\n url: '/variables/{variableKey}';\n};\n\nexport type GetVariableErrors = {\n /**\n * The provided data is not valid.\n */\n 400: ProblemDetail;\n /**\n * The request lacks valid authentication credentials.\n */\n 401: ProblemDetail;\n /**\n * Forbidden. The request is not allowed.\n */\n 403: ProblemDetail;\n /**\n * Not found\n */\n 404: ProblemDetail;\n /**\n * An internal error occurred while processing the request.\n */\n 500: ProblemDetail;\n};\n\nexport type GetVariableError = GetVariableErrors[keyof GetVariableErrors];\n\nexport type GetVariableResponses = {\n /**\n * The variable is successfully returned.\n */\n 200: VariableResult;\n};\n\nexport type GetVariableResponse = GetVariableResponses[keyof GetVariableResponses];\n\n\n// branding-plugin generated\n// schemaVersion=1.0.0\n// specHash=sha256:da0eafa2cce5b79401759619365587c5614ea69af070ba236705a5b2931b9d3f\n\nexport function assertConstraint(value: string, label: string, c: { pattern?: string; minLength?: number; maxLength?: number }) {\n if (c.pattern && !(new RegExp(c.pattern, 'u').test(value))) throw new Error(`\u001b[31mInvalid pattern for ${label}: '${value}'.\u001b[0m Needs to match: ${JSON.stringify(c)}\n`);\n if (typeof c.minLength === \"number\" && value.length < c.minLength) throw new Error(`Value too short for ${label}`);\n if (typeof c.maxLength === \"number\" && value.length > c.maxLength) throw new Error(`Value too long for ${label}`);\n}\n// System-generated entity key for an audit log entry.\nexport namespace AuditLogEntityKey {\n export function assumeExists(value: string): AuditLogEntityKey {\n return value as any;\n }\n export function getValue(key: AuditLogEntityKey): string { return key; }\n export function isValid(value: string): boolean {\n return true;\n }\n}\n// System-generated key for an audit log entry.\nexport namespace AuditLogKey {\n export function assumeExists(value: string): AuditLogKey {\n assertConstraint(value, 'AuditLogKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return value as any;\n }\n export function getValue(key: AuditLogKey): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'AuditLogKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return true;\n } catch { return false; }\n }\n}\n// System-generated key for an authorization.\nexport namespace AuthorizationKey {\n export function assumeExists(value: string): AuthorizationKey {\n assertConstraint(value, 'AuthorizationKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return value as any;\n }\n export function getValue(key: AuthorizationKey): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'AuthorizationKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return true;\n } catch { return false; }\n }\n}\n// System-generated key for an batch operation.\nexport namespace BatchOperationKey {\n export function assumeExists(value: string): BatchOperationKey {\n return value as any;\n }\n export function getValue(key: BatchOperationKey): string { return key; }\n export function isValid(value: string): boolean {\n return true;\n }\n}\n// An optional, user-defined string identifier that identifies the process instance within the scope of a process definition (scoped by tenant). If provided and uniqueness enforcement is enabled, the engine will reject creation if another root process instance with the same business id is already active for the same process definition. Note that any active child process instances with the same business id are not taken into account. \nexport namespace BusinessId {\n export function assumeExists(value: string): BusinessId {\n assertConstraint(value, 'BusinessId', { minLength: 1, maxLength: 256 });\n return value as any;\n }\n export function getValue(key: BusinessId): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'BusinessId', { minLength: 1, maxLength: 256 });\n return true;\n } catch { return false; }\n }\n}\n// System-generated key for a conditional evaluation.\nexport namespace ConditionalEvaluationKey {\n export function assumeExists(value: string): ConditionalEvaluationKey {\n assertConstraint(value, 'ConditionalEvaluationKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return value as any;\n }\n export function getValue(key: ConditionalEvaluationKey): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'ConditionalEvaluationKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return true;\n } catch { return false; }\n }\n}\n// Id of a decision definition, from the model. Only ids of decision definitions that are deployed are useful.\nexport namespace DecisionDefinitionId {\n export function assumeExists(value: string): DecisionDefinitionId {\n assertConstraint(value, 'DecisionDefinitionId', { pattern: \"^[\\\\p{L}_][\\\\p{L}\\\\p{N}_\\\\-\\\\.]*$\", minLength: 1 });\n return value as any;\n }\n export function getValue(key: DecisionDefinitionId): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'DecisionDefinitionId', { pattern: \"^[\\\\p{L}_][\\\\p{L}\\\\p{N}_\\\\-\\\\.]*$\", minLength: 1 });\n return true;\n } catch { return false; }\n }\n}\n// System-generated key for a decision definition.\nexport namespace DecisionDefinitionKey {\n export function assumeExists(value: string): DecisionDefinitionKey {\n assertConstraint(value, 'DecisionDefinitionKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return value as any;\n }\n export function getValue(key: DecisionDefinitionKey): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'DecisionDefinitionKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return true;\n } catch { return false; }\n }\n}\n// System-generated key for a decision evaluation instance.\nexport namespace DecisionEvaluationInstanceKey {\n export function assumeExists(value: string): DecisionEvaluationInstanceKey {\n assertConstraint(value, 'DecisionEvaluationInstanceKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return value as any;\n }\n export function getValue(key: DecisionEvaluationInstanceKey): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'DecisionEvaluationInstanceKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return true;\n } catch { return false; }\n }\n}\n// System-generated key for a decision evaluation.\nexport namespace DecisionEvaluationKey {\n export function assumeExists(value: string): DecisionEvaluationKey {\n assertConstraint(value, 'DecisionEvaluationKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return value as any;\n }\n export function getValue(key: DecisionEvaluationKey): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'DecisionEvaluationKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return true;\n } catch { return false; }\n }\n}\n// System-generated key for a deployed decision instance.\nexport namespace DecisionInstanceKey {\n export function assumeExists(value: string): DecisionInstanceKey {\n assertConstraint(value, 'DecisionInstanceKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return value as any;\n }\n export function getValue(key: DecisionInstanceKey): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'DecisionInstanceKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return true;\n } catch { return false; }\n }\n}\n// System-generated key for a deployed decision requirements definition.\nexport namespace DecisionRequirementsKey {\n export function assumeExists(value: string): DecisionRequirementsKey {\n assertConstraint(value, 'DecisionRequirementsKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return value as any;\n }\n export function getValue(key: DecisionRequirementsKey): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'DecisionRequirementsKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return true;\n } catch { return false; }\n }\n}\n// Key for a deployment.\nexport namespace DeploymentKey {\n export function assumeExists(value: string): DeploymentKey {\n assertConstraint(value, 'DeploymentKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return value as any;\n }\n export function getValue(key: DeploymentKey): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'DeploymentKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return true;\n } catch { return false; }\n }\n}\n// Document Id that uniquely identifies a document.\nexport namespace DocumentId {\n export function assumeExists(value: string): DocumentId {\n return value as any;\n }\n export function getValue(key: DocumentId): string { return key; }\n export function isValid(value: string): boolean {\n return true;\n }\n}\n// The model-defined id of an element.\nexport namespace ElementId {\n export function assumeExists(value: string): ElementId {\n return value as any;\n }\n export function getValue(key: ElementId): string { return key; }\n export function isValid(value: string): boolean {\n return true;\n }\n}\n// System-generated key for a element instance.\nexport namespace ElementInstanceKey {\n export function assumeExists(value: string): ElementInstanceKey {\n assertConstraint(value, 'ElementInstanceKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return value as any;\n }\n export function getValue(key: ElementInstanceKey): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'ElementInstanceKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return true;\n } catch { return false; }\n }\n}\n// The end cursor in a search query result set.\nexport namespace EndCursor {\n export function assumeExists(value: string): EndCursor {\n assertConstraint(value, 'EndCursor', { pattern: \"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}(?:==)?|[A-Za-z0-9+/]{3}=)?$\" });\n return value as any;\n }\n export function getValue(key: EndCursor): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'EndCursor', { pattern: \"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}(?:==)?|[A-Za-z0-9+/]{3}=)?$\" });\n return true;\n } catch { return false; }\n }\n}\n// The user-defined id for the form\nexport namespace FormId {\n export function assumeExists(value: string): FormId {\n return value as any;\n }\n export function getValue(key: FormId): string { return key; }\n export function isValid(value: string): boolean {\n return true;\n }\n}\n// System-generated key for a deployed form.\nexport namespace FormKey {\n export function assumeExists(value: string): FormKey {\n assertConstraint(value, 'FormKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return value as any;\n }\n export function getValue(key: FormKey): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'FormKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return true;\n } catch { return false; }\n }\n}\n// The user-defined id for the global listener\nexport namespace GlobalListenerId {\n export function assumeExists(value: string): GlobalListenerId {\n return value as any;\n }\n export function getValue(key: GlobalListenerId): string { return key; }\n export function isValid(value: string): boolean {\n return true;\n }\n}\n// System-generated key for a incident.\nexport namespace IncidentKey {\n export function assumeExists(value: string): IncidentKey {\n assertConstraint(value, 'IncidentKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return value as any;\n }\n export function getValue(key: IncidentKey): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'IncidentKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return true;\n } catch { return false; }\n }\n}\n// System-generated key for a job.\nexport namespace JobKey {\n export function assumeExists(value: string): JobKey {\n assertConstraint(value, 'JobKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return value as any;\n }\n export function getValue(key: JobKey): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'JobKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return true;\n } catch { return false; }\n }\n}\n// System-generated key for an message.\nexport namespace MessageKey {\n export function assumeExists(value: string): MessageKey {\n assertConstraint(value, 'MessageKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return value as any;\n }\n export function getValue(key: MessageKey): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'MessageKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return true;\n } catch { return false; }\n }\n}\n// System-generated key for a message subscription.\nexport namespace MessageSubscriptionKey {\n export function assumeExists(value: string): MessageSubscriptionKey {\n assertConstraint(value, 'MessageSubscriptionKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return value as any;\n }\n export function getValue(key: MessageSubscriptionKey): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'MessageSubscriptionKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return true;\n } catch { return false; }\n }\n}\n// Id of a process definition, from the model. Only ids of process definitions that are deployed are useful.\nexport namespace ProcessDefinitionId {\n export function assumeExists(value: string): ProcessDefinitionId {\n assertConstraint(value, 'ProcessDefinitionId', { pattern: \"^[\\\\p{L}_][\\\\p{L}\\\\p{N}_\\\\-\\\\.]*$\", minLength: 1 });\n return value as any;\n }\n export function getValue(key: ProcessDefinitionId): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'ProcessDefinitionId', { pattern: \"^[\\\\p{L}_][\\\\p{L}\\\\p{N}_\\\\-\\\\.]*$\", minLength: 1 });\n return true;\n } catch { return false; }\n }\n}\n// System-generated key for a deployed process definition.\nexport namespace ProcessDefinitionKey {\n export function assumeExists(value: string): ProcessDefinitionKey {\n assertConstraint(value, 'ProcessDefinitionKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return value as any;\n }\n export function getValue(key: ProcessDefinitionKey): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'ProcessDefinitionKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return true;\n } catch { return false; }\n }\n}\n// System-generated key for a process instance.\nexport namespace ProcessInstanceKey {\n export function assumeExists(value: string): ProcessInstanceKey {\n assertConstraint(value, 'ProcessInstanceKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return value as any;\n }\n export function getValue(key: ProcessInstanceKey): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'ProcessInstanceKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return true;\n } catch { return false; }\n }\n}\n// System-generated key for an signal.\nexport namespace SignalKey {\n export function assumeExists(value: string): SignalKey {\n assertConstraint(value, 'SignalKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return value as any;\n }\n export function getValue(key: SignalKey): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'SignalKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return true;\n } catch { return false; }\n }\n}\n// The start cursor in a search query result set.\nexport namespace StartCursor {\n export function assumeExists(value: string): StartCursor {\n assertConstraint(value, 'StartCursor', { pattern: \"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}(?:==)?|[A-Za-z0-9+/]{3}=)?$\" });\n return value as any;\n }\n export function getValue(key: StartCursor): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'StartCursor', { pattern: \"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}(?:==)?|[A-Za-z0-9+/]{3}=)?$\" });\n return true;\n } catch { return false; }\n }\n}\n// A tag. Needs to start with a letter; then alphanumerics, `_`, `-`, `:`, or `.`; length ≤ 100.\nexport namespace Tag {\n export function fromString(value: string): Tag {\n assertConstraint(value, 'Tag', { pattern: \"^[A-Za-z][A-Za-z0-9_\\\\-:.]{0,99}$\", minLength: 1, maxLength: 100 });\n return value as any;\n }\n export function getValue(key: Tag): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'Tag', { pattern: \"^[A-Za-z][A-Za-z0-9_\\\\-:.]{0,99}$\", minLength: 1, maxLength: 100 });\n return true;\n } catch { return false; }\n }\n}\n// The unique identifier of the tenant.\nexport namespace TenantId {\n export function assumeExists(value: string): TenantId {\n assertConstraint(value, 'TenantId', { pattern: \"^(<default>|[A-Za-z0-9_@.+-]+)$\", minLength: 1, maxLength: 256 });\n return value as any;\n }\n export function getValue(key: TenantId): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'TenantId', { pattern: \"^(<default>|[A-Za-z0-9_@.+-]+)$\", minLength: 1, maxLength: 256 });\n return true;\n } catch { return false; }\n }\n}\n// The unique name of a user.\nexport namespace Username {\n export function assumeExists(value: string): Username {\n assertConstraint(value, 'Username', { pattern: \"^(<default>|[A-Za-z0-9_@.+-]+)$\", minLength: 1, maxLength: 256 });\n return value as any;\n }\n export function getValue(key: Username): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'Username', { pattern: \"^(<default>|[A-Za-z0-9_@.+-]+)$\", minLength: 1, maxLength: 256 });\n return true;\n } catch { return false; }\n }\n}\n// System-generated key for a user task.\nexport namespace UserTaskKey {\n export function assumeExists(value: string): UserTaskKey {\n assertConstraint(value, 'UserTaskKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return value as any;\n }\n export function getValue(key: UserTaskKey): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'UserTaskKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return true;\n } catch { return false; }\n }\n}\n// System-generated key for a variable.\nexport namespace VariableKey {\n export function assumeExists(value: string): VariableKey {\n assertConstraint(value, 'VariableKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return value as any;\n }\n export function getValue(key: VariableKey): string { return key; }\n export function isValid(value: string): boolean {\n try {\n assertConstraint(value, 'VariableKey', { pattern: \"^-?[0-9]+$\", minLength: 1, maxLength: 25 });\n return true;\n } catch { return false; }\n }\n}","// Functional-style wrapper that converts thrown errors into Result objects.\nimport { type CamundaClient, type CamundaOptions, createCamundaClient } from './gen/CamundaClient';\n\nexport type Result<T, E = unknown> = { ok: true; value: T } | { ok: false; error: E };\nexport const isOk = <T, E>(r: Result<T, E>): r is { ok: true; value: T } => r.ok;\nexport const isErr = <T, E>(r: Result<T, E>): r is { ok: false; error: E } => !r.ok;\n\n// Narrow utility: detect a thenable\nfunction isPromise(v: any): v is Promise<unknown> {\n return v && typeof v.then === 'function';\n}\n\n/**\n * @experimental This feature is under development and is not guaranteed to be fully tested or stable.\n * @description Factory returning a proxy that mirrors the CamundaClient surface but never throws.\n * All async returning methods (Promise or CancelablePromise) are wrapped into Promise<Result<..>>.\n * Synchronous utility methods (e.g. logger(), getConfig()) are passed through unchanged.\n * */\nexport function createCamundaResultClient(options?: CamundaOptions) {\n const base = createCamundaClient(options);\n\n const handler: ProxyHandler<any> = {\n get(_target, prop, _recv) {\n if (prop === 'inner') return base;\n const value = (base as any)[prop];\n if (typeof value !== 'function') return value;\n return (...args: any[]) => {\n try {\n const out = value.apply(base, args);\n if (isPromise(out)) {\n return out\n .then((v: any) => ({ ok: true, value: v }) as const)\n .catch((e: unknown) => ({ ok: false, error: e }) as const);\n }\n return Promise.resolve({ ok: true, value: out } as const);\n } catch (e) {\n return Promise.resolve({ ok: false, error: e } as const);\n }\n };\n },\n };\n\n return new Proxy({}, handler) as CamundaResultClient;\n}\n\n// Structural type describing the returned proxy (subset – only async operation methods mapped to Result).\n// We purposefully keep it simple; operation methods become (...args) => Promise<Result<Return>>.\nexport type CamundaResultClient = {\n inner: CamundaClient;\n} & {\n [K in keyof CamundaClient]: CamundaClient[K] extends (...a: infer A) => Promise<infer R>\n ? (...a: A) => Promise<Result<R>>\n : CamundaClient[K] extends (...a: infer A) => any\n ? (...a: A) => Promise<Result<ReturnType<CamundaClient[K]>>> | ReturnType<CamundaClient[K]>\n : CamundaClient[K];\n};\n","// Entry point: export Camunda class, key types, and errors.\nimport { createCamundaClient } from './gen/CamundaClient';\nimport { type CamundaClientLoose, createCamundaClientLoose, type Loose } from './loose';\n\nexport { type CamundaFpClient, createCamundaFpClient, type Either, isLeft, isRight } from './fp-ts';\n// Re-export all public types from CamundaClient (Input, Consistency, CancelablePromise, etc.)\nexport * from './gen/CamundaClient';\nexport * from './gen/types.gen';\nexport {\n type CamundaResultClient,\n createCamundaResultClient,\n isErr,\n isOk,\n type Result,\n} from './resultClient';\nexport type { BackpressureSeverity } from './runtime/backpressure';\nexport type { SdkError } from './runtime/errors';\nexport {\n CamundaValidationError,\n EventualConsistencyTimeoutError,\n isSdkError,\n} from './runtime/errors';\nexport type { EnrichedActivatedJob } from './runtime/jobActions';\n// Public re-exports for worker API\nexport type { Job, JobActionReceipt, JobWorker, JobWorkerConfig } from './runtime/jobWorker';\nexport { JobActionReceipt as JobActionReceiptSymbol } from './runtime/jobWorker';\nexport type { CreateLoggerOptions } from './runtime/logger';\nexport type { HttpRetryPolicy, OperationOptions } from './runtime/retry';\nexport type { SupportLogger } from './runtime/supportLogger';\nexport type { TelemetryHooks } from './runtime/telemetry';\nexport type {\n ThreadedJob,\n ThreadedJobHandler,\n ThreadedJobWorker,\n ThreadedJobWorkerConfig,\n} from './runtime/threadedJobWorker';\nexport type { ThreadPool } from './runtime/threadPool';\n// Runtime types used in public signatures\nexport type { AuthStrategy, CamundaConfig, ValidationMode } from './runtime/unifiedConfiguration';\n// eventualPoll unified with result mode; no separate export\nexport { type CamundaClientLoose, createCamundaClientLoose, type Loose };\nexport default createCamundaClient;\n"],"mappings":";;;;;;;;;;;;;;;;AAyCO,SAAS,4BACX,MAC4C;AAC/C,QAAM,SAAS,oBAAoB,GAAG,IAAI;AAC1C,SAAO;AACT;;;ACwsgBO,SAAS,iBAAiB,OAAe,OAAe,GAAiE;AAC9H,MAAI,EAAE,WAAW,CAAE,IAAI,OAAO,EAAE,SAAS,GAAG,EAAE,KAAK,KAAK,EAAI,OAAM,IAAI,MAAM,+BAA4B,KAAK,MAAM,KAAK,6BAA0B,KAAK,UAAU,CAAC,CAAC;AAAA,CACpK;AACC,MAAI,OAAO,EAAE,cAAc,YAAY,MAAM,SAAS,EAAE,UAAW,OAAM,IAAI,MAAM,uBAAuB,KAAK,EAAE;AACjH,MAAI,OAAO,EAAE,cAAc,YAAY,MAAM,SAAS,EAAE,UAAW,OAAM,IAAI,MAAM,sBAAsB,KAAK,EAAE;AAClH;AAEO,IAAU;AAAA,CAAV,CAAUA,uBAAV;AACE,WAAS,aAAa,OAAkC;AAC7D,WAAO;AAAA,EACT;AAFO,EAAAA,mBAAS;AAGT,WAAS,SAAS,KAAgC;AAAE,WAAO;AAAA,EAAK;AAAhE,EAAAA,mBAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,WAAO;AAAA,EACT;AAFO,EAAAA,mBAAS;AAAA,GALD;AAUV,IAAU;AAAA,CAAV,CAAUC,iBAAV;AACE,WAAS,aAAa,OAA4B;AACvD,qBAAiB,OAAO,eAAe,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AAC7F,WAAO;AAAA,EACT;AAHO,EAAAA,aAAS;AAIT,WAAS,SAAS,KAA0B;AAAE,WAAO;AAAA,EAAK;AAA1D,EAAAA,aAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,eAAe,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AAC7F,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,aAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,sBAAV;AACE,WAAS,aAAa,OAAiC;AAC5D,qBAAiB,OAAO,oBAAoB,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AAClG,WAAO;AAAA,EACT;AAHO,EAAAA,kBAAS;AAIT,WAAS,SAAS,KAA+B;AAAE,WAAO;AAAA,EAAK;AAA/D,EAAAA,kBAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,oBAAoB,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AAClG,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,kBAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,uBAAV;AACE,WAAS,aAAa,OAAkC;AAC7D,WAAO;AAAA,EACT;AAFO,EAAAA,mBAAS;AAGT,WAAS,SAAS,KAAgC;AAAE,WAAO;AAAA,EAAK;AAAhE,EAAAA,mBAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,WAAO;AAAA,EACT;AAFO,EAAAA,mBAAS;AAAA,GALD;AAUV,IAAU;AAAA,CAAV,CAAUC,gBAAV;AACE,WAAS,aAAa,OAA2B;AACtD,qBAAiB,OAAO,cAAc,EAAE,WAAW,GAAG,WAAW,IAAI,CAAC;AACtE,WAAO;AAAA,EACT;AAHO,EAAAA,YAAS;AAIT,WAAS,SAAS,KAAyB;AAAE,WAAO;AAAA,EAAK;AAAzD,EAAAA,YAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,cAAc,EAAE,WAAW,GAAG,WAAW,IAAI,CAAC;AACtE,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,YAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,8BAAV;AACE,WAAS,aAAa,OAAyC;AACpE,qBAAiB,OAAO,4BAA4B,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AAC1G,WAAO;AAAA,EACT;AAHO,EAAAA,0BAAS;AAIT,WAAS,SAAS,KAAuC;AAAE,WAAO;AAAA,EAAK;AAAvE,EAAAA,0BAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,4BAA4B,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AAC1G,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,0BAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,0BAAV;AACE,WAAS,aAAa,OAAqC;AAChE,qBAAiB,OAAO,wBAAwB,EAAE,SAAS,qCAAqC,WAAW,EAAE,CAAC;AAC9G,WAAO;AAAA,EACT;AAHO,EAAAA,sBAAS;AAIT,WAAS,SAAS,KAAmC;AAAE,WAAO;AAAA,EAAK;AAAnE,EAAAA,sBAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,wBAAwB,EAAE,SAAS,qCAAqC,WAAW,EAAE,CAAC;AAC9G,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,sBAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,2BAAV;AACE,WAAS,aAAa,OAAsC;AACjE,qBAAiB,OAAO,yBAAyB,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AACvG,WAAO;AAAA,EACT;AAHO,EAAAA,uBAAS;AAIT,WAAS,SAAS,KAAoC;AAAE,WAAO;AAAA,EAAK;AAApE,EAAAA,uBAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,yBAAyB,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AACvG,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,uBAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,mCAAV;AACE,WAAS,aAAa,OAA8C;AACzE,qBAAiB,OAAO,iCAAiC,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AAC/G,WAAO;AAAA,EACT;AAHO,EAAAA,+BAAS;AAIT,WAAS,SAAS,KAA4C;AAAE,WAAO;AAAA,EAAK;AAA5E,EAAAA,+BAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,iCAAiC,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AAC/G,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,+BAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,2BAAV;AACE,WAAS,aAAa,OAAsC;AACjE,qBAAiB,OAAO,yBAAyB,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AACvG,WAAO;AAAA,EACT;AAHO,EAAAA,uBAAS;AAIT,WAAS,SAAS,KAAoC;AAAE,WAAO;AAAA,EAAK;AAApE,EAAAA,uBAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,yBAAyB,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AACvG,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,uBAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,yBAAV;AACE,WAAS,aAAa,OAAoC;AAC/D,qBAAiB,OAAO,uBAAuB,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AACrG,WAAO;AAAA,EACT;AAHO,EAAAA,qBAAS;AAIT,WAAS,SAAS,KAAkC;AAAE,WAAO;AAAA,EAAK;AAAlE,EAAAA,qBAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,uBAAuB,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AACrG,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,qBAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,6BAAV;AACE,WAAS,aAAa,OAAwC;AACnE,qBAAiB,OAAO,2BAA2B,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AACzG,WAAO;AAAA,EACT;AAHO,EAAAA,yBAAS;AAIT,WAAS,SAAS,KAAsC;AAAE,WAAO;AAAA,EAAK;AAAtE,EAAAA,yBAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,2BAA2B,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AACzG,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,yBAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,mBAAV;AACE,WAAS,aAAa,OAA8B;AACzD,qBAAiB,OAAO,iBAAiB,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AAC/F,WAAO;AAAA,EACT;AAHO,EAAAA,eAAS;AAIT,WAAS,SAAS,KAA4B;AAAE,WAAO;AAAA,EAAK;AAA5D,EAAAA,eAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,iBAAiB,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AAC/F,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,eAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,gBAAV;AACE,WAAS,aAAa,OAA2B;AACtD,WAAO;AAAA,EACT;AAFO,EAAAA,YAAS;AAGT,WAAS,SAAS,KAAyB;AAAE,WAAO;AAAA,EAAK;AAAzD,EAAAA,YAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,WAAO;AAAA,EACT;AAFO,EAAAA,YAAS;AAAA,GALD;AAUV,IAAU;AAAA,CAAV,CAAUC,eAAV;AACE,WAAS,aAAa,OAA0B;AACrD,WAAO;AAAA,EACT;AAFO,EAAAA,WAAS;AAGT,WAAS,SAAS,KAAwB;AAAE,WAAO;AAAA,EAAK;AAAxD,EAAAA,WAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,WAAO;AAAA,EACT;AAFO,EAAAA,WAAS;AAAA,GALD;AAUV,IAAU;AAAA,CAAV,CAAUC,wBAAV;AACE,WAAS,aAAa,OAAmC;AAC9D,qBAAiB,OAAO,sBAAsB,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AACpG,WAAO;AAAA,EACT;AAHO,EAAAA,oBAAS;AAIT,WAAS,SAAS,KAAiC;AAAE,WAAO;AAAA,EAAK;AAAjE,EAAAA,oBAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,sBAAsB,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AACpG,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,oBAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,eAAV;AACE,WAAS,aAAa,OAA0B;AACrD,qBAAiB,OAAO,aAAa,EAAE,SAAS,wEAAwE,CAAC;AACzH,WAAO;AAAA,EACT;AAHO,EAAAA,WAAS;AAIT,WAAS,SAAS,KAAwB;AAAE,WAAO;AAAA,EAAK;AAAxD,EAAAA,WAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,aAAa,EAAE,SAAS,wEAAwE,CAAC;AACzH,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,WAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,YAAV;AACE,WAAS,aAAa,OAAuB;AAClD,WAAO;AAAA,EACT;AAFO,EAAAA,QAAS;AAGT,WAAS,SAAS,KAAqB;AAAE,WAAO;AAAA,EAAK;AAArD,EAAAA,QAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,WAAO;AAAA,EACT;AAFO,EAAAA,QAAS;AAAA,GALD;AAUV,IAAU;AAAA,CAAV,CAAUC,aAAV;AACE,WAAS,aAAa,OAAwB;AACnD,qBAAiB,OAAO,WAAW,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AACzF,WAAO;AAAA,EACT;AAHO,EAAAA,SAAS;AAIT,WAAS,SAAS,KAAsB;AAAE,WAAO;AAAA,EAAK;AAAtD,EAAAA,SAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,WAAW,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AACzF,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,SAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,sBAAV;AACE,WAAS,aAAa,OAAiC;AAC5D,WAAO;AAAA,EACT;AAFO,EAAAA,kBAAS;AAGT,WAAS,SAAS,KAA+B;AAAE,WAAO;AAAA,EAAK;AAA/D,EAAAA,kBAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,WAAO;AAAA,EACT;AAFO,EAAAA,kBAAS;AAAA,GALD;AAUV,IAAU;AAAA,CAAV,CAAUC,iBAAV;AACE,WAAS,aAAa,OAA4B;AACvD,qBAAiB,OAAO,eAAe,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AAC7F,WAAO;AAAA,EACT;AAHO,EAAAA,aAAS;AAIT,WAAS,SAAS,KAA0B;AAAE,WAAO;AAAA,EAAK;AAA1D,EAAAA,aAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,eAAe,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AAC7F,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,aAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,YAAV;AACE,WAAS,aAAa,OAAuB;AAClD,qBAAiB,OAAO,UAAU,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AACxF,WAAO;AAAA,EACT;AAHO,EAAAA,QAAS;AAIT,WAAS,SAAS,KAAqB;AAAE,WAAO;AAAA,EAAK;AAArD,EAAAA,QAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,UAAU,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AACxF,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,QAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,gBAAV;AACE,WAAS,aAAa,OAA2B;AACtD,qBAAiB,OAAO,cAAc,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AAC5F,WAAO;AAAA,EACT;AAHO,EAAAA,YAAS;AAIT,WAAS,SAAS,KAAyB;AAAE,WAAO;AAAA,EAAK;AAAzD,EAAAA,YAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,cAAc,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AAC5F,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,YAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,4BAAV;AACE,WAAS,aAAa,OAAuC;AAClE,qBAAiB,OAAO,0BAA0B,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AACxG,WAAO;AAAA,EACT;AAHO,EAAAA,wBAAS;AAIT,WAAS,SAAS,KAAqC;AAAE,WAAO;AAAA,EAAK;AAArE,EAAAA,wBAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,0BAA0B,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AACxG,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,wBAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,yBAAV;AACE,WAAS,aAAa,OAAoC;AAC/D,qBAAiB,OAAO,uBAAuB,EAAE,SAAS,qCAAqC,WAAW,EAAE,CAAC;AAC7G,WAAO;AAAA,EACT;AAHO,EAAAA,qBAAS;AAIT,WAAS,SAAS,KAAkC;AAAE,WAAO;AAAA,EAAK;AAAlE,EAAAA,qBAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,uBAAuB,EAAE,SAAS,qCAAqC,WAAW,EAAE,CAAC;AAC7G,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,qBAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,0BAAV;AACE,WAAS,aAAa,OAAqC;AAChE,qBAAiB,OAAO,wBAAwB,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AACtG,WAAO;AAAA,EACT;AAHO,EAAAA,sBAAS;AAIT,WAAS,SAAS,KAAmC;AAAE,WAAO;AAAA,EAAK;AAAnE,EAAAA,sBAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,wBAAwB,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AACtG,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,sBAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,wBAAV;AACE,WAAS,aAAa,OAAmC;AAC9D,qBAAiB,OAAO,sBAAsB,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AACpG,WAAO;AAAA,EACT;AAHO,EAAAA,oBAAS;AAIT,WAAS,SAAS,KAAiC;AAAE,WAAO;AAAA,EAAK;AAAjE,EAAAA,oBAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,sBAAsB,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AACpG,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,oBAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,eAAV;AACE,WAAS,aAAa,OAA0B;AACrD,qBAAiB,OAAO,aAAa,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AAC3F,WAAO;AAAA,EACT;AAHO,EAAAA,WAAS;AAIT,WAAS,SAAS,KAAwB;AAAE,WAAO;AAAA,EAAK;AAAxD,EAAAA,WAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,aAAa,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AAC3F,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,WAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,iBAAV;AACE,WAAS,aAAa,OAA4B;AACvD,qBAAiB,OAAO,eAAe,EAAE,SAAS,wEAAwE,CAAC;AAC3H,WAAO;AAAA,EACT;AAHO,EAAAA,aAAS;AAIT,WAAS,SAAS,KAA0B;AAAE,WAAO;AAAA,EAAK;AAA1D,EAAAA,aAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,eAAe,EAAE,SAAS,wEAAwE,CAAC;AAC3H,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,aAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,SAAV;AACE,WAAS,WAAW,OAAoB;AAC7C,qBAAiB,OAAO,OAAO,EAAE,SAAS,qCAAqC,WAAW,GAAG,WAAW,IAAI,CAAC;AAC7G,WAAO;AAAA,EACT;AAHO,EAAAA,KAAS;AAIT,WAAS,SAAS,KAAkB;AAAE,WAAO;AAAA,EAAK;AAAlD,EAAAA,KAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,OAAO,EAAE,SAAS,qCAAqC,WAAW,GAAG,WAAW,IAAI,CAAC;AAC7G,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,KAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,cAAV;AACE,WAAS,aAAa,OAAyB;AACpD,qBAAiB,OAAO,YAAY,EAAE,SAAS,mCAAmC,WAAW,GAAG,WAAW,IAAI,CAAC;AAChH,WAAO;AAAA,EACT;AAHO,EAAAA,UAAS;AAIT,WAAS,SAAS,KAAuB;AAAE,WAAO;AAAA,EAAK;AAAvD,EAAAA,UAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,YAAY,EAAE,SAAS,mCAAmC,WAAW,GAAG,WAAW,IAAI,CAAC;AAChH,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,UAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,cAAV;AACE,WAAS,aAAa,OAAyB;AACpD,qBAAiB,OAAO,YAAY,EAAE,SAAS,mCAAmC,WAAW,GAAG,WAAW,IAAI,CAAC;AAChH,WAAO;AAAA,EACT;AAHO,EAAAA,UAAS;AAIT,WAAS,SAAS,KAAuB;AAAE,WAAO;AAAA,EAAK;AAAvD,EAAAA,UAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,YAAY,EAAE,SAAS,mCAAmC,WAAW,GAAG,WAAW,IAAI,CAAC;AAChH,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,UAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,iBAAV;AACE,WAAS,aAAa,OAA4B;AACvD,qBAAiB,OAAO,eAAe,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AAC7F,WAAO;AAAA,EACT;AAHO,EAAAA,aAAS;AAIT,WAAS,SAAS,KAA0B;AAAE,WAAO;AAAA,EAAK;AAA1D,EAAAA,aAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,eAAe,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AAC7F,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,aAAS;AAAA,GAND;AAcV,IAAU;AAAA,CAAV,CAAUC,iBAAV;AACE,WAAS,aAAa,OAA4B;AACvD,qBAAiB,OAAO,eAAe,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AAC7F,WAAO;AAAA,EACT;AAHO,EAAAA,aAAS;AAIT,WAAS,SAAS,KAA0B;AAAE,WAAO;AAAA,EAAK;AAA1D,EAAAA,aAAS;AACT,WAAS,QAAQ,OAAwB;AAC9C,QAAI;AACF,uBAAiB,OAAO,eAAe,EAAE,SAAS,cAAc,WAAW,GAAG,WAAW,GAAG,CAAC;AAC7F,aAAO;AAAA,IACT,QAAQ;AAAE,aAAO;AAAA,IAAO;AAAA,EAC1B;AALO,EAAAA,aAAS;AAAA,GAND;;;AC/qhBV,IAAM,OAAO,CAAO,MAAiD,EAAE;AACvE,IAAM,QAAQ,CAAO,MAAkD,CAAC,EAAE;AAGjF,SAAS,UAAU,GAA+B;AAChD,SAAO,KAAK,OAAO,EAAE,SAAS;AAChC;AAQO,SAAS,0BAA0B,SAA0B;AAClE,QAAM,OAAO,oBAAoB,OAAO;AAExC,QAAM,UAA6B;AAAA,IACjC,IAAI,SAAS,MAAM,OAAO;AACxB,UAAI,SAAS,QAAS,QAAO;AAC7B,YAAM,QAAS,KAAa,IAAI;AAChC,UAAI,OAAO,UAAU,WAAY,QAAO;AACxC,aAAO,IAAI,SAAgB;AACzB,YAAI;AACF,gBAAM,MAAM,MAAM,MAAM,MAAM,IAAI;AAClC,cAAI,UAAU,GAAG,GAAG;AAClB,mBAAO,IACJ,KAAK,CAAC,OAAY,EAAE,IAAI,MAAM,OAAO,EAAE,EAAW,EAClD,MAAM,CAAC,OAAgB,EAAE,IAAI,OAAO,OAAO,EAAE,EAAW;AAAA,UAC7D;AACA,iBAAO,QAAQ,QAAQ,EAAE,IAAI,MAAM,OAAO,IAAI,CAAU;AAAA,QAC1D,SAAS,GAAG;AACV,iBAAO,QAAQ,QAAQ,EAAE,IAAI,OAAO,OAAO,EAAE,CAAU;AAAA,QACzD;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAEA,SAAO,IAAI,MAAM,CAAC,GAAG,OAAO;AAC9B;;;ACFA,IAAO,gBAAQ;","names":["AuditLogEntityKey","AuditLogKey","AuthorizationKey","BatchOperationKey","BusinessId","ConditionalEvaluationKey","DecisionDefinitionId","DecisionDefinitionKey","DecisionEvaluationInstanceKey","DecisionEvaluationKey","DecisionInstanceKey","DecisionRequirementsKey","DeploymentKey","DocumentId","ElementId","ElementInstanceKey","EndCursor","FormId","FormKey","GlobalListenerId","IncidentKey","JobKey","MessageKey","MessageSubscriptionKey","ProcessDefinitionId","ProcessDefinitionKey","ProcessInstanceKey","SignalKey","StartCursor","Tag","TenantId","Username","UserTaskKey","VariableKey"]}
|