/*
 * Copyright 2024 OmniOne.
 *
 * 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.
 */

package org.omnione.did.base.constants;

import lombok.AccessLevel;
import lombok.NoArgsConstructor;

/**
 * Represents URL constants for the Open DID servers.
 * This class organizes all the API endpoints used in the application, ensuring that URLs are consistent and easy to manage.
 */
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public class UrlConstant {
    public static class Tas {
        public static final String ADMIN_V1 = "/tas/admin/v1";

        public static final String V1 = "/tas/api/v1";
        public static final String REGISTER_DID_PUBLIC = "/entities/register-did/public";
        public static final String REQUEST_ENTITY_STATUS = "/entities/request-status";
        public static final String PROPOSE_ENROLL_ENTITY = "/propose-enroll-entity";
        public static final String REQUEST_ECDH = "/request-ecdh";
        public static final String REQUEST_ENROLL_ENTITY = "/request-enroll-entity";
        public static final String CONFIRM_ENROLL_ENTITY = "/confirm-enroll-entity";
    }

    public static class Wallet {
        public static final String AGENT_V1 = "/wallet/api/v1";
        public static final String REQUEST_SIGN_WALLET = "/request-sign-wallet";
    }

    public static class Admin {
        public static final String V1 = "/wallet/admin/v1";
        public static final String WALLET = "/wallet";
        public static final String WALLET_SERVICE = "/wallet-service";

    }


    public static class LSS {
        public static final String V1 = "/lss/api/v1";
        public static final String DID = "/did-doc";
        public static final String VC_META = "/vc-meta";
        public static final String CREDENTIAL_SCHEMA = "/credential-schema";
        public static final String CREDENTIAL_DEFINITION = "/credential-definition";


    }
}
