/** * @type ExecutionJobStatusResult: The status of the execution job. * * @property type: The type of execution job. * * @property assignedCount: Indicates total number of products assigned by the execution job. * * @property unassignedCount: Indicates total number of products unassigned by the execution job. * * @property matchedCount: Indicates total number of products evaluated and matched by the evaluation job. * * @property jobStatus: Indicates the status of the rules execution job (that is, indicates whether the job completed successfully or an error occurred). * * @property message: A description of any errors, failures, and exceptions that caused the job to fail. * * @property lastRunDate: The date that the rules categorization job was last run for given catalog and category. * - **Max Length:** 30 * * @property productIds: The list of matched product IDs returned by the execution job. * * @property limit: Maximum records to retrieve per request, not to exceed the maximum defined. A limit must be at least 1 so at least one record is returned (if any match the criteria). * * @property offset: The zero-based index of the first hit/data to include in the result. * */ export type ExecutionJobStatusResult = { type?: ExecutionJobStatusResultTypeEnum; assignedCount?: number; unassignedCount?: number; matchedCount?: number; jobStatus: ExecutionJobStatusResultJobStatusEnum; message?: string; lastRunDate?: string; productIds?: Array; limit?: number; offset?: number; } & { [key: string]: any; }; export type ExecutionJobStatusResultTypeEnum = 'evaluation' | 'execution'; export type ExecutionJobStatusResultJobStatusEnum = 'inProgress' | 'success' | 'error' | 'unavailable';