Wonky.Client/Wonky.Entity/Configuration/ApiConfig.cs

188 lines
5.3 KiB
C#
Raw Normal View History

2022-03-11 14:21:04 +01:00
// Copyright (C) 2022 FCS Frede's Computer Services.
// This program is free software: you can redistribute it and/or modify
2022-05-31 19:07:39 +02:00
// it under the terms of the GNU Affero General Public License as
2022-03-11 14:21:04 +01:00
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2022-05-31 19:07:39 +02:00
// GNU Affero General Public License for more details.
2022-03-11 14:21:04 +01:00
//
2022-05-31 19:07:39 +02:00
// You should have received a copy of the GNU Affero General Public License
2022-03-11 14:21:04 +01:00
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
//
2023-01-12 18:09:18 +01:00
namespace Wonky.Entity.Configuration;
2022-03-11 14:21:04 +01:00
public class ApiConfig
2022-03-11 14:21:04 +01:00
{
2022-07-24 08:43:38 +02:00
/// <summary>
/// Application base url
/// </summary>
2022-11-28 10:37:59 +01:00
public string BaseUrl { get; set; } = "";
2023-01-12 18:09:18 +01:00
2022-07-01 10:02:29 +02:00
/// <summary>
2022-07-24 08:43:38 +02:00
/// Application uri for product catalog request
2022-07-01 10:02:29 +02:00
/// </summary>
2022-09-12 19:20:55 +02:00
public string Catalog { get; set; } = "";
2022-07-24 08:43:38 +02:00
2022-07-01 10:02:29 +02:00
/// <summary>
/// Application uri for activity request
/// </summary>
2022-11-26 10:51:56 +01:00
public string CrmActivities { get; set; } = "";
2022-07-24 08:43:38 +02:00
2022-07-01 10:02:29 +02:00
/// <summary>
/// Application uri for sales report request
/// </summary>
2022-09-12 19:20:55 +02:00
public string CrmReports { get; set; } = "";
2022-07-24 08:43:38 +02:00
2022-07-01 10:02:29 +02:00
/// <summary>
/// Application uri for task items request
/// </summary>
2022-09-12 19:20:55 +02:00
public string CrmTasks { get; set; } = "";
2022-07-24 08:43:38 +02:00
/// <summary>
/// Application uri for customer information request
/// </summary>
2022-09-12 19:20:55 +02:00
public string CrmCustomers { get; set; } = "";
2023-01-12 18:09:18 +01:00
2022-07-01 10:02:29 +02:00
/// <summary>
/// Application uri for customer product inventory request
/// </summary>
2022-11-26 10:51:56 +01:00
public string CrmInventoryExt { get; set; } = "";
2023-01-12 18:09:18 +01:00
2022-07-01 10:02:29 +02:00
/// <summary>
/// Application uri for customer product sale request
/// </summary>
2022-11-26 10:51:56 +01:00
public string CrmProductExt { get; set; } = "";
2022-07-29 16:57:43 +02:00
/// <summary>
/// Application uri for getting workplace(s)
/// </summary>
2022-11-26 10:51:56 +01:00
public string CrmWorkplaceExt { get; set; } = "";
2023-01-12 18:09:18 +01:00
/// <summary>
/// Office base url
/// </summary>
public string OfficeBase { get; set; } = "";
2022-07-01 10:02:29 +02:00
/// <summary>
/// Application uri for administration of sales representatives
/// </summary>
2022-09-12 19:20:55 +02:00
public string OfficeAdvisors { get; set; } = "";
2023-01-12 18:09:18 +01:00
2022-07-01 10:02:29 +02:00
/// <summary>
/// Application uri for administration of administrative users
/// </summary>
2022-09-12 19:20:55 +02:00
public string OfficeUsers { get; set; } = "";
2023-01-12 18:09:18 +01:00
2022-09-12 19:20:55 +02:00
/// <summary>
/// office uri for customer requests
/// </summary>
public string OfficeCustomers { get; set; } = "";
/// <summary>
/// office uri for reports
/// </summary>
public string OfficeReports { get; set; } = "";
2022-06-26 11:38:47 +02:00
2022-07-24 08:43:38 +02:00
/// <summary>
2022-11-28 10:37:59 +01:00
/// Application uri for token request
2022-07-24 08:43:38 +02:00
/// </summary>
2022-11-28 10:37:59 +01:00
public string ServicesAuth { get; set; } = "";
2023-01-12 18:09:18 +01:00
2022-11-28 10:37:59 +01:00
/// <summary>
/// GLS tracking url
/// </summary>
public string ServicesGlsTrackUrl { get; set; } = "";
2023-01-12 18:09:18 +01:00
2022-11-28 10:37:59 +01:00
/// <summary>
/// GLS customer entity
/// </summary>
public string ServicesGlsId { get; set; } = "";
2023-01-12 18:09:18 +01:00
2022-09-28 19:18:20 +02:00
/// <summary>
/// url for sending mail message
/// </summary>
2022-11-26 10:51:56 +01:00
public string ServicesMail { get; set; } = "";
2023-01-12 18:09:18 +01:00
/// <summary>
/// url for sending Short Message
/// </summary>
public string ServicesSms { get; set; } = "";
2022-11-28 10:37:59 +01:00
/// <summary>
/// VAT registrar url Denmark
/// </summary>
public string ServicesVatDk { get; set; } = "";
2023-01-12 18:09:18 +01:00
2022-11-28 10:37:59 +01:00
/// <summary>
/// VAT registrar url Norway
/// </summary>
public string ServicesVatNo { get; set; } = "";
2023-01-12 18:09:18 +01:00
2022-11-28 10:37:59 +01:00
/// <summary>
/// VAT registrar url EU
/// </summary>
public string ServicesVatEu { get; set; } = "";
2023-01-12 18:09:18 +01:00
/// <summary>
/// Base sync url
/// </summary>
public string SyncRpc { get; set; } = "";
/// <summary>
/// Application uri for updating customer product sale request
/// </summary>
public string SyncRpcInvoiceExt { get; set; } = "";
2023-04-11 15:50:24 +02:00
/// <summary>
/// Generic system string endpoint
/// </summary>
public string SystemDocStringUrl { get; set; } = "";
2023-04-10 17:22:24 +02:00
/// <summary>
/// Get system document labels for translation
/// </summary>
public string SystemLabels { get; set; } = "";
/// <summary>
/// Get system document texts for translation
/// </summary>
public string SystemTexts { get; set; } = "";
2023-04-24 14:00:24 +02:00
/// <summary>
/// Endpoint for user evaluations
/// </summary>
2023-04-24 18:09:40 +02:00
public string MemberEvaluation { get; set; } = "";
2023-04-10 17:22:24 +02:00
2023-03-18 16:01:22 +01:00
/// <summary>
/// Application uri for user information request
/// </summary>
2023-04-24 18:09:40 +02:00
public string UserInfoClient { get; set; } = "";
2023-03-18 16:01:22 +01:00
2022-11-28 10:37:59 +01:00
/// <summary>
/// Application uri for user information request
/// </summary>
2023-04-24 18:09:40 +02:00
public string UserInfoAuth { get; set; } = "";
2023-01-12 18:09:18 +01:00
2023-02-10 14:58:09 +01:00
/// <summary>
/// Application uri for user management
/// </summary>
public string UserManager { get; set; } = "";
/// <summary>
/// Application uri for administrative reset of user credentials
/// </summary>
public string UserManagerSetPasswd { get; set; } = "";
2023-03-18 16:01:22 +01:00
/// <summary>
/// Application uri for user roles
/// </summary>
public string UserRoles { get; set; } = "";
2022-11-28 10:37:59 +01:00
/// <summary>
/// Uri for warehouse requests
/// </summary>
public string Warehouse { get; set; } = "";
2022-03-11 14:21:04 +01:00
}