/** * Agilicus API * Agilicus is API-first. Modern software is controlled by other software, is open, is available for you to use the way you want, securely, simply. The OpenAPI Specification in YAML format is available on [www](https://www.agilicus.com/www/api/agilicus-openapi.yaml) for importing to other tools. A rendered, online viewable and usable version of this specification is available at [api](https://www.agilicus.com/api). You may try the API inline directly in the web page. To do so, first obtain an Authentication Token (the simplest way is to install the Python SDK, and then run `agilicus-cli --issuer https://MYISSUER get-token`). You will need an org-id for most calls (and can obtain from `agilicus-cli --issuer https://MYISSUER list-orgs`). The `MYISSUER` will typically be `auth.MYDOMAIN`, and you will see it as you sign-in to the administrative UI. This API releases on Bearer-Token authentication. To obtain a valid bearer token you will need to Authenticate to an Issuer with OpenID Connect (a superset of OAUTH2). Your \"issuer\" will look like https://auth.MYDOMAIN. For example, when you signed-up, if you said \"use my own domain name\" and assigned a CNAME of cloud.example.com, then your issuer would be https://auth.cloud.example.com. If you selected \"use an Agilicus supplied domain name\", your issuer would look like https://auth.myorg.agilicus.cloud. For test purposes you can use our [Python SDK](https://pypi.org/project/agilicus/) and run `agilicus-cli --issuer https://auth.MYDOMAIN get-token`. This API may be used in any language runtime that supports OpenAPI 3.0, or, you may use our [Python SDK](https://pypi.org/project/agilicus/), our [Typescript SDK](https://www.npmjs.com/package/@agilicus/angular), or our [Golang SDK](https://git.agilicus.com/pub/sdk-go). 100% of the activities in our system our API-driven, from our web-admin, through our progressive web applications, to all internals: there is nothing that is not accessible. For more information, see [developer resources](https://www.agilicus.com/developer). * * The version of the OpenAPI document: 2025.12.16 * Contact: dev@agilicus.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { ApplicationServiceStats } from './applicationServiceStats'; import { ServiceProtocolConfig } from './serviceProtocolConfig'; import { ApplicationServiceAssignment } from './applicationServiceAssignment'; import { NetworkServiceConfig } from './networkServiceConfig'; import { ResourceConfig } from './resourceConfig'; import { AlternateModeSetting } from './alternateModeSetting'; import { ApplicationServiceStatus } from './applicationServiceStatus'; export interface _ApplicationService { /** * Creation time */ readonly created?: Date; /** * Unique identifier */ readonly id?: string; /** * The name of the service. Services will be selected and assigned using this. This value must be unique within an organisation. */ name: string; /** * The organisation which owns this service. */ org_id: string; /** * The hostname of the service. Your applications will refer to this service using its hostname. This can also be the IP Address of the service. If the address is an IPv4 Address it will add the IP to the ipv4_addresses field and set the name_resolution to static */ hostname?: string; /** * The IPv4 addresses of `hostname` within the data center. */ ipv4_addresses?: Array; /** * How to resolve the hostname of the service. If static, then ipv4_address will be used. Otherwise, if dns the Organisation\'s dns services will be queried. */ name_resolution?: ApplicationService.NameResolutionEnum; config?: NetworkServiceConfig; /** * The transport-layer port on which to access the service. exclusiveMinimum: 0 exclusiveMaximum: 65536 */ port?: number; /** * The transport-layer protocol over which to communicate with the service. */ protocol?: ApplicationService.ProtocolEnum; /** * The Application Environments which have access to this ApplicationService. Manipulate this list to add or remove access to the ApplicationService. */ assignments?: Array; /** * Update time */ readonly updated?: Date; /** * The type of application service. This refers to how the application connects to the service */ service_type?: ApplicationService.ServiceTypeEnum; /** * The protocol carried by this service. This indicates to the Agilicus infrastructure how to interpret the data being transmitted to the service. Different protocols have different subclasses of an ApplicationService used to configure that protocol\'s details. This field may take on the following values: - ip: Any upper layer protocols are transparent to the Agilicus infrastructure. Agilicus does not participate in the protocol. - fileshare: The service is a fileshare. Agilicus will participate in the file sharing protocol in order to expose the fileshare to the Internet. - desktop: The service is a desktop. Agilicus provides a Desktop Gateway allowing users to access their Desktop without them being directly exposed to the internet. Users connect to this service through the Desktop Gateway, using a protocol such as the Remote Desktop Protocol. */ readonly service_protocol_type?: ApplicationService.ServiceProtocolTypeEnum; /** * Whether Transport Layer Security (TLS) is enabled for this ip service running over tcp. This field has no meaning for non-ip services, or services using a transport protocol other than tcp. */ tls_enabled?: boolean; /** * Whether the certificate presented by the Service is verified by the infrastructure. This can be useful when interacting with a test server which may not have a production certificate signed by a public certificate authority. */ tls_verify?: boolean; /** * Unique identifier */ connector_id?: string; /** * Assign network resource to a specific instance. This instance MUST be within the defined connector_id above. This allows further refinement for assignment, in case a connector is HA, and a service may only traverse one of the instances. */ connector_instance_id?: string; protocol_config?: ServiceProtocolConfig; /** * The URI by which this service can be directly accessed. Depending on the type of connector associated with this service, the URI could be public or internal to the Agilicus infrastructure. In both cases, valid credentials proving permission to access this service are necessary to access the service. If this field is empty, then it cannot be accessed directly.. */ readonly connection_uri?: string; /** * A list of hosts for which the assigned connector will also forward requests for this application service. */ readonly connection_host_aliases?: Array; resource_config?: ResourceConfig; alternate_mode_setting?: AlternateModeSetting; stats?: ApplicationServiceStats; status?: ApplicationServiceStatus; /** * This connector service refers to a connector service name that is bound to a connector_id. For example, \'audits\', would refer to the audits service found on a connector for connector to connector audit routing. */ readonly connector_service?: string; } export interface ApplicationService extends _ApplicationService { _builtin_original?: _ApplicationService; _remove_builtin_extensions?: () => void; } export declare class ApplicationServiceImpl implements _ApplicationService { _builtin_original?: _ApplicationService; readonly created: Date | undefined; readonly id: string | undefined; name: string; org_id: string; hostname: string | undefined; ipv4_addresses: Array | undefined; name_resolution: ApplicationService.NameResolutionEnum | undefined; config: NetworkServiceConfig | undefined; port: number | undefined; protocol: ApplicationService.ProtocolEnum | undefined; assignments: Array | undefined; readonly updated: Date | undefined; service_type: ApplicationService.ServiceTypeEnum | undefined; readonly service_protocol_type: ApplicationService.ServiceProtocolTypeEnum | undefined; tls_enabled: boolean | undefined; tls_verify: boolean | undefined; connector_id: string | undefined; connector_instance_id: string | undefined; protocol_config: ServiceProtocolConfig | undefined; readonly connection_uri: string | undefined; readonly connection_host_aliases: Array | undefined; resource_config: ResourceConfig | undefined; alternate_mode_setting: AlternateModeSetting | undefined; stats: ApplicationServiceStats | undefined; status: ApplicationServiceStatus | undefined; readonly connector_service: string | undefined; constructor(base: _ApplicationService); _remove_builtin_extensions(): void; } export declare namespace ApplicationService { type NameResolutionEnum = 'static' | 'dns'; const NameResolutionEnum: { static: NameResolutionEnum; dns: NameResolutionEnum; }; type ProtocolEnum = 'tcp'; const ProtocolEnum: { tcp: "tcp"; }; type ServiceTypeEnum = 'vpn' | 'internet' | 'agent' | 'ipsec'; const ServiceTypeEnum: { vpn: ServiceTypeEnum; internet: ServiceTypeEnum; agent: ServiceTypeEnum; ipsec: ServiceTypeEnum; }; type ServiceProtocolTypeEnum = 'ip' | 'fileshare' | 'desktop' | 'ssh' | 'database'; const ServiceProtocolTypeEnum: { ip: ServiceProtocolTypeEnum; fileshare: ServiceProtocolTypeEnum; desktop: ServiceProtocolTypeEnum; ssh: ServiceProtocolTypeEnum; database: ServiceProtocolTypeEnum; }; } export declare function newApplicationServiceImpl(base: _ApplicationService): ApplicationServiceImpl;