//
//  HttpRequestType.swift
//  Sailassist
//
//  Created by 三浦薫巳 on 2023/10/27.
//

import Foundation

// TODO: サイトのアドレスを変更
#if CANARY
enum HttpRequestType : String {
//    case Terms = "https://tacmistorage.blob.core.windows.net/$web/terms/terms.mobile.html?sv=2021-10-04&st=2023-11-22T06%3A26%3A32Z&se=2023-11-23T06%3A26%3A32Z&sr=b&sp=r&sig=wS6kbbT5SvNVTkRsnRk%2BiDceZAsQ3Y56vrqTUO1X50E%3D"
    case RegisterLogin = "https://ssv-canary-web.azurewebsites.net/sailassistlogin"
    case SitePolicy = "https://ssv-canary-web.azurewebsites.net/sitepolicy"
//    case CookiePolicy = "https://ssv-canary-web.azurewebsites.net/cookiepolicy"
//    case PrivacyPolicy = "https://ssv-canary-web.azurewebsites.net/inapp?"  //+バージョン番号
    case TaskList = "https://ssv-canary-web.azurewebsites.net/api/sailassist/tasklist/XXXXX"
    case NgaList = "https://ssv-canary-web.azurewebsites.net/api/sailassist/nogoarea/XXXXX"
    case EcaArea = "https://ssv-canary-web.azurewebsites.net/api/sailassist/ecaarea/XXXXX"
    case ShipStatus = "https://ssv-canary-web.azurewebsites.net/api/sailassist/shipstatus/XXXXX"
    case ShipMonitoringRoute = "https://ssv-canary-web.azurewebsites.net/api/sailassist/shipmonitoringroute/XXXXX"
    case GetMessage = "https://ssv-canary-web.azurewebsites.net/api/chatdata/getmessages?shipId=XXXXX"
    case SignalR = "https://ssv-canary-web.azurewebsites.net/signalr/shore"
    case PushHistory = "https://ssv-canary-web.azurewebsites.net/api/sailassist/pushhistory/XXXXX"
    case UploadImage = "https://ssv-canary-web.azurewebsites.net/api/chatdata/uploadimage"
    case RawImage = "https://ssv-canary-web.azurewebsites.net/api/chatdata/rawimage?shipId=XXXXX&messageId=YYYYY"
    case ConnectionString = "Endpoint=sb://ssv-canary-notification.servicebus.windows.net/;SharedAccessKeyName=DefaultListenSharedAccessSignature;SharedAccessKey=zHzVMA757FciMum5jVG4NMl82YpYVzclUgCiKOVRKf8="
    case HubName = "ssv-canary-sailassist-notification"
    case storage = "https://ssvcanarystorage.z1.web.core.windows.net/"
    case GetManualUrl = "https://ssv-canary-web.azurewebsites.net/api/constantdata/manual?filter=SailAssist"
    case Information = "https://ssv-canary-web.azurewebsites.net/information/4"
    case InfVersion = "https://ssv-canary-web.azurewebsites.net/InformationVersion/4"
    case ContactPage = "https://www.jmarinecloud.com/eng/contact.php?type=ssv_mobile"
    case ApachLicens = "https://raw.githubusercontent.com/Azure/azure-notificationhubs-ios/main/LICENSE"
    case AppStore = "https://apps.apple.com/jp/app/sail-assist/id6473762428"
    case AppInfo = "https://itunes.apple.com/lookup?bundleId=com.jrc.sailassist"
}
#elseif QC
enum HttpRequestType : String {
//    case Terms = "https://tacmistorage.blob.core.windows.net/$web/terms/terms.mobile.html?sv=2021-10-04&st=2023-11-22T06%3A26%3A32Z&se=2023-11-23T06%3A26%3A32Z&sr=b&sp=r&sig=wS6kbbT5SvNVTkRsnRk%2BiDceZAsQ3Y56vrqTUO1X50E%3D"
    case RegisterLogin = "https://ssv-qc-web.azurewebsites.net/sailassistlogin"
    case SitePolicy = "https://ssv-qc-web.azurewebsites.net/sitepolicy"
//    case CookiePolicy = "https://ssv-qc-web.azurewebsites.net/cookiepolicy"
//    case PrivacyPolicy = "https://ssv-qc-web.azurewebsites.net/inapp?"  //+バージョン番号
    case TaskList = "https://ssv-qc-web.azurewebsites.net/api/sailassist/tasklist/XXXXX"
    case NgaList = "https://ssv-qc-web.azurewebsites.net/api/sailassist/nogoarea/XXXXX"
    case EcaArea = "https://ssv-qc-web.azurewebsites.net/api/sailassist/ecaarea/XXXXX"
    case ShipStatus = "https://ssv-qc-web.azurewebsites.net/api/sailassist/shipstatus/XXXXX"
    case ShipMonitoringRoute = "https://ssv-qc-web.azurewebsites.net/api/sailassist/shipmonitoringroute/XXXXX"
    case GetMessage = "https://ssv-qc-web.azurewebsites.net/api/chatdata/getmessages?shipId=XXXXX"
    case SignalR = "https://ssv-qc-web.azurewebsites.net/signalr/shore"
    case PushHistory = "https://ssv-qc-web.azurewebsites.net/api/sailassist/pushhistory/XXXXX"
    case UploadImage = "https://ssv-qc-web.azurewebsites.net/api/chatdata/uploadimage"
    case RawImage = "https://ssv-qc-web.azurewebsites.net/api/chatdata/rawimage?shipId=XXXXX&messageId=YYYYY"
    case ConnectionString = "Endpoint=sb://ssv-qc-notification.servicebus.windows.net/;SharedAccessKeyName=DefaultListenSharedAccessSignature;SharedAccessKey=qjI5K38IyGfh2arFherVgp5tNUBE2U4eVClgTEQip54="
    case HubName = "ssv-qc-sailassist-notification"
    case storage = "https://tacmiquaritycheckstorage.z31.web.core.windows.net/"
    case GetManualUrl = "https://ssv-qc-web.azurewebsites.net/api/constantdata/manual?filter=SailAssist"
    case Information = "https://ssv-qc-web.azurewebsites.net/information/4"
    case InfVersion = "https://ssv-qc-web.azurewebsites.net/InformationVersion/4"
    case ContactPage = "https://www.jmarinecloud.com/eng/contact.php?type=ssv_mobile"
    case ApachLicens = "https://raw.githubusercontent.com/Azure/azure-notificationhubs-ios/main/LICENSE"
    case AppStore = "https://apps.apple.com/jp/app/sail-assist/id6473762428"
    case AppInfo = "https://itunes.apple.com/lookup?bundleId=com.jrc.sailassist"
}
#else
//MARK: 運用サーバー用
enum HttpRequestType : String {
//    case Terms = "https://tacmistorage.blob.core.windows.net/$web/terms/terms.mobile.html?sv=2021-10-04&st=2023-11-22T06%3A26%3A32Z&se=2023-11-23T06%3A26%3A32Z&sr=b&sp=r&sig=wS6kbbT5SvNVTkRsnRk%2BiDceZAsQ3Y56vrqTUO1X50E%3D"
    case RegisterLogin = "https://ssv.jmarinecloud.com/sailassistlogin"
    case SitePolicy = "https://ssv.jmarinecloud.com/sitepolicy"
//    case CookiePolicy = "https://ssv.jmarinecloud.com/cookiepolicy"
//    case PrivacyPolicy = "https://ssv.jmarinecloud.com/inapp?"  //+バージョン番号
    case TaskList = "https://ssv.jmarinecloud.com/api/sailassist/tasklist/XXXXX"
    case NgaList = "https://ssv.jmarinecloud.com/api/sailassist/nogoarea/XXXXX"
    case EcaArea = "https://ssv.jmarinecloud.com/api/sailassist/ecaarea/XXXXX"
    case ShipStatus = "https://ssv.jmarinecloud.com/api/sailassist/shipstatus/XXXXX"
    case ShipMonitoringRoute = "https://ssv.jmarinecloud.com/api/sailassist/shipmonitoringroute/XXXXX"
    case GetMessage = "https://ssv.jmarinecloud.com/api/chatdata/getmessages?shipId=XXXXX"
    case SignalR = "https://ssv.jmarinecloud.com/signalr/shore"
    case PushHistory = "https://ssv.jmarinecloud.com/api/sailassist/pushhistory/XXXXX"
    case UploadImage = "https://ssv.jmarinecloud.com/api/chatdata/uploadimage"
    case RawImage = "https://ssv.jmarinecloud.com/api/chatdata/rawimage?shipId=XXXXX&messageId=YYYYY"
    case ConnectionString = "Endpoint=sb://ssv-notification.servicebus.windows.net/;SharedAccessKeyName=DefaultListenSharedAccessSignature;SharedAccessKey=IzbO7Lo+PenhlIaHBw1MA7+NE9XaLikwieOFwCzZC50="
    case HubName = "ssv-sailassist-notification"
    case storage = "https://tacmistorage.z31.web.core.windows.net/"
    case GetManualUrl = "https://ssv.jmarinecloud.com/api/constantdata/manual?filter=SailAssist"
    case Information = "https://ssv.jmarinecloud.com/information/4"
    case InfVersion = "https://ssv.jmarinecloud.com/InformationVersion/4"
    case ContactPage = "https://www.jmarinecloud.com/eng/contact.php?type=ssv_mobile"
    case ApachLicens = "https://raw.githubusercontent.com/Azure/azure-notificationhubs-ios/main/LICENSE"
    case AppStore = "https://apps.apple.com/jp/app/sail-assist/id6473762428"
    case AppInfo = "https://itunes.apple.com/lookup?bundleId=com.jrc.sailassist"
}
#endif
