/**
 * Copyright (c) 2026-present, Goldman Sachs
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// --------------------------------- Create Data Access Request Payload ---------------------------------
export class V1_CreateDataAccessRequestPayload {
    description;
    resourceId;
    deploymentId;
    accessPointGroup;
    consumer;
}
// -------------------------------------------- Requests -----------------------------------------------
export var V1_RequestState;
(function (V1_RequestState) {
    V1_RequestState["DRAFT"] = "DRAFT";
    V1_RequestState["SUBMITTED_FOR_APPROVALS"] = "SUBMITTED_FOR_APPROVALS";
    V1_RequestState["COMPLETED"] = "COMPLETED";
    V1_RequestState["REJECTED"] = "REJECTED";
    V1_RequestState["INVALIDATED"] = "INVALIDATED";
    V1_RequestState["OBSOLETE"] = "OBSOLETE";
})(V1_RequestState || (V1_RequestState = {}));
export class V1_Request {
}
export class V1_DataRequest extends V1_Request {
    businessJustification;
    guid;
    version;
    state;
    resource;
    resourceEnvType;
    members = [];
    consumer;
    createdBy;
    userDigest;
}
// ----------------------------------------- Workflow Tasks ---------------------------------------------
export var V1_WorkflowTaskStatus;
(function (V1_WorkflowTaskStatus) {
    V1_WorkflowTaskStatus["OPEN"] = "OPEN";
    V1_WorkflowTaskStatus["COMPLETED"] = "COMPLETED";
    V1_WorkflowTaskStatus["CLOSED"] = "CLOSED";
    V1_WorkflowTaskStatus["OBSOLETE"] = "OBSOLETE";
})(V1_WorkflowTaskStatus || (V1_WorkflowTaskStatus = {}));
export var V1_WorkflowTaskAction;
(function (V1_WorkflowTaskAction) {
    V1_WorkflowTaskAction["APPROVED"] = "APPROVED";
    V1_WorkflowTaskAction["REJECTED"] = "REJECTED";
    V1_WorkflowTaskAction["ESCALATED"] = "ESCALATED";
})(V1_WorkflowTaskAction || (V1_WorkflowTaskAction = {}));
export class V1_WorkflowTask {
    taskId;
    workflowGuid;
    status;
    createdOn;
    assignees = [];
    actionedOn;
    actionedBy;
    url;
    approveUrl;
    denyUrl;
    action;
    description;
    consumer;
}
export class V1_PrivilegeManagerApprovalTask extends V1_WorkflowTask {
    resourceId;
    accessPointGroup;
}
export class V1_DataOwnerApprovalTask extends V1_WorkflowTask {
    resourceId;
    deploymentId;
    accessPointGroup;
}
// -------------------------------------------- Workflows ----------------------------------------------
export var V1_WorkflowStatus;
(function (V1_WorkflowStatus) {
    V1_WorkflowStatus["OPEN"] = "OPEN";
    V1_WorkflowStatus["COMPLETED"] = "COMPLETED";
    V1_WorkflowStatus["CLOSED"] = "CLOSED";
})(V1_WorkflowStatus || (V1_WorkflowStatus = {}));
export class V1_Workflow {
    workflowId;
    dataRequestId;
    status;
    tasks = [];
    url;
}
// ------------------------------------------- Responses -----------------------------------------------
export class V1_DataRequestWithWorkflow {
    dataRequest;
    workflows;
}
export class V1_DataRequestsWithWorkflowResponse {
    dataRequests = [];
}
export class V1_DataRequestTasksResponse {
    workflowTasks = [];
}
//# sourceMappingURL=V1_DataAccessRequest.js.map