/** * Tubee API * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: 1.2.7 * Contact: opensource@gyselroth.net * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ import localVarRequest = require('request'); export { localVarRequest }; export declare const specPath: string; export declare class CoreV1Resource { '_links'?: CoreV1Links; /** * Resource identifier. Note that the name is immutable once created on the server and must be unique in its own resource context. */ 'name'?: string; /** * Unique 12-byte resource identifier. Note this is a MongoDB ObjectId. The name is the standard resource identifier, the id only useful to verify that a given resource was completely recreated. An ID is immutable and will be created on the server. */ 'id'?: string; /** * The version of the resource. A version gets increased once the resource have been modified. */ 'version'?: number; /** * ISO 8601 timestamp when the resource was created. */ 'created'?: string; /** * ISO 8601 timestamp when the resource was changed. */ 'changed'?: string; /** * Injected secrets in this resource. */ 'secrets'?: Array; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * An endpoint represents an external resource to browse (proxy), import or export. This may be a database, a file, a http service, ... */ export declare class CoreV1Endpoint extends CoreV1Resource { /** * The type of endpoint. */ 'kind'?: CoreV1Endpoint.KindEnum; 'data'?: CoreV1EndpointData; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare class CoreV1List { /** * Holds a list of links rfc1738 to other resources. */ '_links'?: CoreV1ListLinks; /** * The resource type, always List. */ 'kind'?: string; /** * Holds the number of items in the current list response. */ 'count'?: number; /** * Holds the number of total available items on the server. Note that a List resource is always paged. You need to traverse with offset and limit to request further resources in the list. */ 'total'?: number; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * An access role is defined list which matches authenticated user identifiers. */ export declare class CoreV1AccessRole extends CoreV1Resource { /** * The resource type, always AccessRole. */ 'kind'?: string; 'data'?: CoreV1AccessRoleData; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare class CoreV1AccessRoleData { /** * A list of user identifiers which the access role should match. It is also possible to specify a wildcard to match all identifiers. */ 'selectors'?: Array; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * A list of access roles. */ export declare class CoreV1AccessRoles extends CoreV1List { 'data'?: Array; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * An access rule allows to specify what access roles can access which resources. */ export declare class CoreV1AccessRule extends CoreV1Resource { /** * The resource type, always AccessRule. */ 'kind'?: string; 'data'?: CoreV1AccessRuleData; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare class CoreV1AccessRuleData { /** * A list of access-role names to match the given rule. */ 'roles'?: Array; /** * List of allowed HTTP rfc7231 verbs, you may also specify a wildcard to match all verbs. */ 'verbs'?: Array; /** * A list of selectors to match resources, for example namespace, collection, endpoint, ... */ 'selectors'?: Array; /** * Values according to your selector list required to match a request. */ 'resources'?: Array; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare namespace CoreV1AccessRuleData { enum VerbsEnum { Star, GET, POST, PUT, PATCH, DELETE, HEAD } } /** * A list of access rules. */ export declare class CoreV1AccessRules extends CoreV1List { 'data'?: Array; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare class CoreV1AttributeMap { /** * Attribute map */ 'map'?: any; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * Balloon cloud server endpoint */ export declare class CoreV1BalloonEndpoint extends CoreV1Endpoint { /** * The type of endpoint. Always BalloonEndpoint. */ 'kind': any; 'data': CoreV1BalloonEndpointData; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare class CoreV1BalloonEndpointData { 'resource': CoreV1BalloonEndpointDataResource; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * Holds the relevant options of how to connect to the endpoint. */ export declare class CoreV1BalloonEndpointDataResource { /** * Base uri to resources (Like https://rest.api/v2/users). */ 'base_uri': string; /** * Advanced request options, see http://docs.guzzlephp.org/en/stable/request-options.html */ 'request_options'?: any; /** * Authentication adapter, either of none, http basic authentication or oauth2 using client_credentials flow. */ 'auth'?: CoreV1BalloonEndpointDataResource.AuthEnum; 'basic'?: CoreV1OdataRestEndpointDataResourceBasic; 'oauth2'?: CoreV1BalloonEndpointDataResourceOauth2; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare namespace CoreV1BalloonEndpointDataResource { enum AuthEnum { Basic, Oauth2 } } /** * Oauth2 client credentials flow. auth must be set to oauth2 if this adapter should be used. */ export declare class CoreV1BalloonEndpointDataResourceOauth2 { /** * URI to token endpoint. */ 'token_uri'?: string; /** * OAuth2 client_id. */ 'client_id'?: string; /** * OAuth2 client_secret. Note the client_secret gets encrypted on the server an can't be retrieved after it. */ 'client_secret'?: string; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * A collection is a collection of data objects, meaning a collection of similar objects. */ export declare class CoreV1Collection extends CoreV1Resource { /** * The resource type, always Collection. */ 'kind'?: string; /** * The resource namespace */ 'namespace'?: string; 'data'?: CoreV1CollectionData; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare class CoreV1CollectionData { 'schema'?: any; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * A list of collections. */ export declare class CoreV1Collections extends CoreV1List { 'data'?: Array; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * CSV data format endpoint */ export declare class CoreV1CsvEndpoint extends CoreV1Endpoint { /** * The type of endpoint. Always CsvEndpoint. */ 'kind'?: any; 'data'?: CoreV1CsvEndpointData; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare class CoreV1CsvEndpointData { 'storage'?: CoreV1Storage; /** * File uri or pattern, depends what storage you have choosen. */ 'file'?: string; 'resource'?: CoreV1CsvEndpointDataResource; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * CSV parse options. */ export declare class CoreV1CsvEndpointDataResource { /** * Field delimiter. */ 'delimiter'?: string; /** * Field enclosure. */ 'enclosure'?: string; /** * Escape character. */ 'escape'?: string; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * A data object represents a single object in a collection (data collection). */ export declare class CoreV1DataObject extends CoreV1Resource { /** * The resource type, always DataObject. */ 'kind'?: string; /** * Attributes */ 'data'?: any; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * List of data objects. */ export declare class CoreV1DataObjects extends CoreV1List { 'data'?: Array; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare namespace CoreV1Endpoint { enum KindEnum { PdoEndpoint, MysqlEndpoint, XmlEndpoint, CsvEndpoint, ImageEndpoint, JsonEndpoint, MongodbEndpoint, MoodleEndpoint, BalloonEndpoint, OdataRestEndpoint, UcsEndpoint, SqlSrvUsersEndpoint, MattermostEndpoint, PolyrightEndpoint } } export declare class CoreV1EndpointData { /** * Specify the type of the endpoint. */ 'type'?: CoreV1EndpointData.TypeEnum; 'options'?: CoreV1EndpointDataOptions; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare namespace CoreV1EndpointData { enum TypeEnum { Browse, Source, Destination, Bidirectional } } export declare class CoreV1EndpointDataOptions { /** * Endpoint resource identifier. */ 'identifier'?: string; /** * A list of attributes which gets used to uniquely identify an object on the endpoint. */ 'import'?: Array; /** * If true and the endpoint is of type source, the endpoint gets flushed before export. If the type is destination, the endpoints collection gets flushed before import. Pay attention with flush as it may result in data loss! */ 'flush'?: boolean; /** * Specify an endpoint filter which gets used to filter for a single object. */ 'filter_one'?: string; /** * Specify a filter which always gets applied to the endpoint if objects are retrieved. */ 'filter_all'?: string; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * An endpoint object is the actual object on an endpoint itself. */ export declare class CoreV1EndpointObject extends CoreV1Resource { /** * Attributes */ 'data'?: any; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * A list of endpoint objects. */ export declare class CoreV1EndpointObjects extends CoreV1List { /** * The resource type, always EndpointObject. */ 'kind'?: string; 'data'?: Array; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * A list of endpoints. */ export declare class CoreV1Endpoints extends CoreV1List { 'data'?: Array; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * A job is a synchronization job which declares when and what collections should be synchronized. */ export declare class CoreV1Job extends CoreV1Resource { /** * The resource type, always Job. */ 'kind'?: string; /** * The resource namespace */ 'namespace'?: string; 'data'?: CoreV1JobData; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare class CoreV1JobData { 'notification'?: CoreV1JobDataNotification; /** * A list of collections (name) the job should match. You may use a wildcard to specify all collections. Each element may contain either a single collection name or a list of collections. A list will be processed in parallel while single collections get synchronized syncronely */ 'collections'?: Array; /** * A list of endoints (name) the job should match. You may use a wildcard to specify all endpoints. Each element may contain either a single endpoint name or a list of endpoints. A list will be processed in parallel while single endpoints get synchronized syncronely. */ 'endpoints'?: Array; /** * Data object filter (JSON encoded). */ 'filter'?: string; /** * If enabled the server does ignores any sync errors and continue with the process. */ 'ignore'?: boolean; /** * Simulate sync (Do not apply any changes) */ 'simulate'?: boolean; /** * You may change the log level which gets applied during a sync job. Note that a log level too verbose has a big impact on the sync performance. */ 'log_level'?: CoreV1JobData.LogLevelEnum; 'options'?: CoreV1JobDataOptions; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare namespace CoreV1JobData { enum LogLevelEnum { Emerg, Error, Warn, Info, Notice, Debug } } export declare class CoreV1JobDataNotification { /** * You may enable mail notification for a given job. */ 'enabled'?: boolean; /** * A list of mail adresses which the notification should be sent to. This option has no affect if notification is disabled. */ 'receiver'?: Array; /** * A list of dataobject attributes which should be added to the notification mail when dataobject can't be synced. This option has no affect if notification is disabled. */ 'identifier'?: Array; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * Holds options about when a job should start and with what interval. */ export declare class CoreV1JobDataOptions { /** * Holds a unix timestamp at what time the job should be executed. */ 'at'?: string; /** * The number of seconds after the job should be executed again. The default is only run once. */ 'interval'?: number; /** * You may specify if the interval refers to the start or the end of the previous job. The default is 'end' which means the interval refers to the end time of the previous job. When you define 'start' the interval refers to the start time of the previous job. The default is 'end'. */ 'interval_reference'?: CoreV1JobDataOptions.IntervalReferenceEnum; /** * The number of times a failed job should be restarted. The default is never. */ 'retry'?: number; /** * The number of seconds between failed job retries. The default is 300 (5min). */ 'retry_interval'?: number; /** * Maximum runtime of a job (process). By default there is no timeout. This option should be handled carefully. */ 'timeout'?: number; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare namespace CoreV1JobDataOptions { enum IntervalReferenceEnum { Start, End } } /** * A list of jobs. */ export declare class CoreV1Jobs extends CoreV1List { 'data'?: Array; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * JSON data format endpoint */ export declare class CoreV1JsonEndpoint extends CoreV1Endpoint { /** * The type of endpoint. Always JsonEndpoint. */ 'kind'?: any; 'data'?: CoreV1JsonEndpointData; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare class CoreV1JsonEndpointData { 'storage'?: CoreV1Storage; /** * File uri or pattern, depends what storage you have choosen. */ 'file'?: string; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * A JSON Patch according rfc6902. */ export declare class CoreV1JsonPatch { 'op'?: string; 'path'?: string; 'value'?: string; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * LDAP (OpenLDAP, Microsoft AD and other LDAP compatible Server) endpoint */ export declare class CoreV1LdapEndpoint extends CoreV1Endpoint { /** * The type of endpoint. Always LdapEndpoint. */ 'kind'?: any; 'data'?: CoreV1LdapEndpointData; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare class CoreV1LdapEndpointData { /** * Specifies the attributes to be read while importing from ldap server. */ 'attributes'?: Array; 'resource'?: CoreV1LdapEndpointDataResource; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * Holds the relevant options of how to connect to the endpoint. */ export declare class CoreV1LdapEndpointDataResource { /** * A full LDAP URI of the form ldap://hostname:port or ldaps://hostname:port for SSL encryption. */ 'uri'?: string; /** * Bind DN if required. */ 'binddn'?: string; /** * Bind password if required. */ 'bindpw'?: string; /** * Specifies the base dn (Like dc=example,dc=net). */ 'basedn'?: string; /** * Set to true if TLS shall be used. */ 'tls'?: boolean; /** * More ldap specific settings (http://php.net/manual/en/function.ldap-set-option.php). */ 'options'?: any; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare class CoreV1Link { 'href'?: string; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * Contains resource links (URL) to other resources. */ export declare class CoreV1Links { 'self'?: CoreV1Link; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare class CoreV1ListLinks { 'self'?: CoreV1Link; 'prev'?: CoreV1Link; 'next'?: CoreV1Link; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * A log messagage from a process. */ export declare class CoreV1Log extends CoreV1Resource { /** * The resource type, always Log. */ 'kind'?: string; 'data'?: CoreV1LogData; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare class CoreV1LogData { 'level'?: number; 'level_name'?: string; /** * The log message. */ 'message'?: string; /** * The server component which logged the message. */ 'category'?: string; /** * Holds an exception object if the log message holds an exception reference. */ 'exception'?: any; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * A list of logs. */ export declare class CoreV1Logs extends CoreV1List { 'data'?: Array; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * Mattermost online chat service */ export declare class CoreV1MattermostEndpoint extends CoreV1Endpoint { /** * The type of endpoint. Always MattermostEndpoint. */ 'kind': any; 'data': CoreV1MattermostEndpointData; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare class CoreV1MattermostEndpointData { 'resource': CoreV1MattermostEndpointDataResource; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * Holds the relevant options of how to connect to the endpoint. */ export declare class CoreV1MattermostEndpointDataResource { /** * Base uri to resources (Like https://rest.api/v2/users). */ 'base_uri': string; /** * Advanced request options, see http://docs.guzzlephp.org/en/stable/request-options.html */ 'request_options'?: any; /** * Authentication adapter, either of none, http basic authentication or oauth2 using client_credentials flow. */ 'auth'?: CoreV1MattermostEndpointDataResource.AuthEnum; 'basic'?: CoreV1MattermostEndpointDataResourceBasic; 'oauth2'?: CoreV1BalloonEndpointDataResourceOauth2; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare namespace CoreV1MattermostEndpointDataResource { enum AuthEnum { Basic, Oauth2 } } /** * HTTP Basic authentication. auth must be set to basic if this adapter should be used. */ export declare class CoreV1MattermostEndpointDataResourceBasic { /** * Basic authentication Bearer token. */ 'token'?: string; /** * Basic authentication username. */ 'username'?: string; /** * Password if required. */ 'password'?: string; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * MongoDB endpoint */ export declare class CoreV1MongodbEndpoint extends CoreV1Endpoint { /** * The type of endpoint. Always MongodbEndpoint. */ 'kind'?: any; 'data'?: CoreV1MongodbEndpointData; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare class CoreV1MongodbEndpointData { /** * The name of the MongoDB database where the collection is located at. */ 'database'?: string; /** * The name of the MongoDB collection where the data is located at. */ 'collection'?: string; 'resource'?: CoreV1MongodbEndpointDataResource; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * Holds the relevant options of how to connect to the endpoint. */ export declare class CoreV1MongodbEndpointDataResource { /** * MongoDB connection uri */ 'uri'?: string; /** * Advanced URI options */ 'uri_options'?: any; /** * Advanced Driver options */ 'driver_options'?: any; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * MySQL/MariaDB (and other MySQL forks) endpoint */ export declare class CoreV1MysqlEndpoint extends CoreV1Endpoint { /** * The type of endpoint. Always MysqlEndpoint. */ 'kind'?: any; 'data'?: CoreV1MysqlEndpointData; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare class CoreV1MysqlEndpointData { /** * Table or view */ 'table'?: string; 'resource'?: CoreV1MysqlEndpointDataResource; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * Holds the relevant options of how to connect to the endpoint. */ export declare class CoreV1MysqlEndpointDataResource { /** * MySQL Server (Or compatible MySQL fork like MariaDB). */ 'host'?: string; /** * Username. */ 'username'?: string; /** * Password if required. */ 'passwd'?: string; /** * Specifies the port number to attempt to connect to the MySQL server. */ 'port'?: number; /** * Specifies the socket or named pipe that should be used. */ 'socket'?: string; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * A namespace is a namespace to separate resources. */ export declare class CoreV1Namespace extends CoreV1Resource { /** * The resource type, always Namespace. */ 'kind'?: string; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * A list of namespaces. */ export declare class CoreV1Namespaces extends CoreV1List { 'data'?: Array; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * An object relation represents a releationship between two data objects. A relationship may apply to objects of different collections and/or namespaces. */ export declare class CoreV1ObjectRelation extends CoreV1Resource { /** * The resource type, always DataObjectRelation. */ 'kind'?: string; 'data'?: CoreV1ObjectRelationData; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare class CoreV1ObjectRelationData { /** * Optional context context data which describes the relationship. */ 'context'?: any; /** * Holds the relationship between two objects. You may create cross collection and cross namespace object relationships. */ 'relation'?: Array; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare class CoreV1ObjectRelationDataRelation { /** * Name of the objects namespace */ 'namespace'?: string; /** * Name of the objects collection */ 'collection'?: string; /** * Name of the object */ 'object'?: string; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * A list of relations. */ export declare class CoreV1ObjectRelations extends CoreV1List { 'data'?: Array; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * OData REST API endpoint (Compatible with Microsoft graph (Office365 and more) and other OData compatible api's) */ export declare class CoreV1OdataRestEndpoint extends CoreV1Endpoint { /** * The type of endpoint. Always OdataRestEndpoint. */ 'kind'?: any; 'data'?: CoreV1OdataRestEndpointData; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare class CoreV1OdataRestEndpointData { 'resource'?: CoreV1OdataRestEndpointDataResource; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * Holds the relevant options of how to connect to the endpoint. */ export declare class CoreV1OdataRestEndpointDataResource { /** * Base uri to resources (Like https://rest.api/v1/resources). */ 'base_uri'?: string; /** * Key of array which contains the data in REST response */ 'container'?: string; /** * Advanced request options, see http://docs.guzzlephp.org/en/stable/request-options.html */ 'request_options'?: any; /** * Authentication adapter, either of none, http basic authentication or oauth2 using client_credentials flow. */ 'auth'?: CoreV1OdataRestEndpointDataResource.AuthEnum; 'basic'?: CoreV1OdataRestEndpointDataResourceBasic; 'oauth2'?: CoreV1OdataRestEndpointDataResourceOauth2; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare namespace CoreV1OdataRestEndpointDataResource { enum AuthEnum { Basic, Oauth2 } } /** * HTTP Basic authentication. auth must be set to basic if this adapter should be used. */ export declare class CoreV1OdataRestEndpointDataResourceBasic { /** * Basic authentication username. */ 'username'?: string; /** * Password if required. */ 'password'?: string; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * Oauth2 client credentials flow. auth must be set to oauth2 if this adapter should be used. */ export declare class CoreV1OdataRestEndpointDataResourceOauth2 { /** * URI to token endpoint. */ 'token_endpoint'?: string; /** * OAuth2 client_id. */ 'client_id'?: string; /** * OAuth2 client_secret. Note the client_secret gets encrypted on the server an can't be retrieved after it. */ 'client_secret'?: string; /** * OAuth2 scopes */ 'scope'?: string; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * Pdo endpoint */ export declare class CoreV1PdoEndpoint extends CoreV1Endpoint { /** * The type of endpoint. Always PdoEndpoint. */ 'kind'?: any; 'data'?: CoreV1PdoEndpointData; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare class CoreV1PdoEndpointData { /** * Table or view */ 'table'?: string; 'resource'?: CoreV1PdoEndpointDataResource; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * Holds the relevant options of how to connect to the endpoint. */ export declare class CoreV1PdoEndpointDataResource { /** * Data source name (DSN). */ 'dsn'?: string; /** * Username if required. */ 'username'?: string; /** * Password if required. */ 'passwd'?: string; /** * Driver specific connection options. */ 'options'?: any; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * Polyright endpoint for SECANDA manager */ export declare class CoreV1PolyrightEndpoint extends CoreV1Endpoint { /** * The type of endpoint. Always PolyrightEndpoint. */ 'kind': any; 'data': CoreV1PolyrightEndpointData; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare class CoreV1PolyrightEndpointData { 'resource': CoreV1PolyrightEndpointDataResource; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * Holds the relevant options of how to connect to the endpoint. */ export declare class CoreV1PolyrightEndpointDataResource { /** * Base uri to resources (Like https://rest.api/v2/users). */ 'base_uri': string; /** * Advanced request options, see http://docs.guzzlephp.org/en/stable/request-options.html */ 'request_options'?: any; /** * Authentication adapter, oauth2 using password grant flow. */ 'auth'?: CoreV1PolyrightEndpointDataResource.AuthEnum; 'oauth2'?: CoreV1PolyrightEndpointDataResourceOauth2; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare namespace CoreV1PolyrightEndpointDataResource { enum AuthEnum { Oauth2 } } /** * Oauth2 client password grant flow. auth must be set to oauth2 if this adapter should be used. */ export declare class CoreV1PolyrightEndpointDataResourceOauth2 { /** * URI to token endpoint. */ 'token_endpoint'?: string; /** * OAuth2 username. */ 'username'?: string; /** * OAuth2 password. */ 'password'?: string; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * A process is a sub resource of a job. Each process represents one job execution. */ export declare class CoreV1Process extends CoreV1Job { /** * The resource type, always Process. */ 'kind'?: string; /** * The resource namespace */ 'namespace'?: string; 'status'?: CoreV1ProcessStatus; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * Holds the status of this resource. Note that status is immutable. */ export declare class CoreV1ProcessStatus { /** * The result code of the process. */ 'code'?: number; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * A list of processes. */ export declare class CoreV1Processes extends CoreV1List { 'data'?: Array; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * A secret is sensitive information which can be injected into another resource. A secret gets specially encrypted on the server and is always base64 encoded. */ export declare class CoreV1Secret extends CoreV1Resource { /** * The resource type, always Secret. */ 'kind'?: string; /** * The secrets data. You may specify multiple keys. Important: You need to base64 encode the values! */ 'data'?: any; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare class CoreV1SecretMount { /** * The name of the secret from which the key's value should be injected. */ 'secret'?: string; /** * The name of the key which should be taken from a secret (You may use a recursive path by delimiting keys with '.', for example: password). */ 'key'?: string; /** * The resource path where the secret value should be injected (You may use a recursive path by delimiting keys with '.', for example: data.resource.password). */ 'to'?: string; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * A list of secrets. */ export declare class CoreV1Secrets extends CoreV1List { 'data'?: Array; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * MSSQL User endpoint */ export declare class CoreV1SqlSrvUsersEndpoint extends CoreV1Endpoint { /** * The type of endpoint. Always SqlSrvUsersEndpoint. */ 'kind'?: any; 'data'?: CoreV1SqlSrvUsersEndpointData; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare class CoreV1SqlSrvUsersEndpointData { 'resource'?: CoreV1SqlSrvUsersEndpointDataResource; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * Holds the relevant options of how to connect to the endpoint. */ export declare class CoreV1SqlSrvUsersEndpointDataResource { /** * MSSQL Server. */ 'host'?: string; /** * Username if required. */ 'username'?: string; /** * Password if required. */ 'password'?: string; /** * Database. */ 'dbname'?: string; /** * Specifies the port number to attempt to connect to the MSSQL server. */ 'port'?: number; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * The storage defines where data can be fetched. */ export declare class CoreV1Storage { /** * The kind of storage where data shall be fetched. */ 'kind'?: CoreV1Storage.KindEnum; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare namespace CoreV1Storage { enum KindEnum { Stream, LocalFilesystem, Smb, Balloon } } /** * UCS endpoint (Univention Corporate Server, https://www.univention.com/products/ucs) */ export declare class CoreV1UcsEndpoint extends CoreV1Endpoint { /** * The type of endpoint. Always UcsEndpoint. */ 'kind'?: any; 'data'?: CoreV1UcsEndpointData; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare class CoreV1UcsEndpointData { 'resource'?: CoreV1UcsEndpointDataResource; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * Holds the relevant options of how to connect to the endpoint. */ export declare class CoreV1UcsEndpointDataResource { /** * Base uri to univention server (usually including /univention) (Like https://master/univention). */ 'base_uri'?: string; /** * Object type flavor (For example users/user or groups/group). */ 'flavor'?: string; /** * Advanced request options, see http://docs.guzzlephp.org/en/stable/request-options.html */ 'request_options'?: any; 'auth'?: CoreV1OdataRestEndpointDataResourceBasic; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * A local tubee user. */ export declare class CoreV1User extends CoreV1Resource { /** * The resource type, always User. */ 'kind'?: string; 'data'?: CoreV1UserData; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * The user information. */ export declare class CoreV1UserData { /** * The users password. Gets hashed on the server and can not be retrieved after. */ 'password'?: string; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * A list of users. */ export declare class CoreV1Users extends CoreV1List { 'data'?: Array; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * A workflow gets used if an endpoint gets imported or exported. A workflow defines if and what object and also if and what attributes of an object should be written to or from an endpoint. */ export declare class CoreV1Workflow extends CoreV1Resource { /** * The resource type, always Workflow. */ 'kind'?: string; 'data'?: CoreV1WorkflowData; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare class CoreV1WorkflowData { /** * The priority defines in what order multiple workflows get executed. 0 (Default) is the highest priority. */ 'priority'?: number; 'ensure'?: CoreV1WorkflowData.EnsureEnum; /** * Holds a scripted condition if a given workflow gets matched and executed. */ 'condition'?: string; /** * Map attributes from the endpoint to the collection schema (if the endpoint is of type source) or map attributes from the collection to the endpoint if the endpoint is of type destination. */ 'map'?: any; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare namespace CoreV1WorkflowData { enum EnsureEnum { Last, Exists, Absent, Merge } } /** * A list of workflows. */ export declare class CoreV1Workflows extends CoreV1List { 'data'?: Array; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * XML data format endpoint */ export declare class CoreV1XmlEndpoint extends CoreV1Endpoint { /** * The type of endpoint. Always XmlEndpoint. */ 'kind'?: any; 'data'?: CoreV1XmlEndpointData; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export declare class CoreV1XmlEndpointData { 'storage'?: CoreV1Storage; /** * File uri or pattern, depends what storage you have choosen. */ 'file'?: string; 'resource'?: CoreV1XmlEndpointDataResource; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } /** * CSV parse options. */ export declare class CoreV1XmlEndpointDataResource { /** * The name of the root element. */ 'root_name'?: string; /** * The name of the sub node of the root element. For example: 01 */ 'node_name'?: string; /** * Prettify xml output, note this is only useful if the XmlEndpoint is a destination endpoint. */ 'pretty'?: boolean; /** * Preserve whitespace, note this is only useful if the XmlEndpoint is a destination endpoint. */ 'preserve_whitespace'?: boolean; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export interface Authentication { /** * Apply authentication settings to header and query params. */ applyToRequest(requestOptions: localVarRequest.Options): void; } export declare class HttpBasicAuth implements Authentication { username: string; password: string; applyToRequest(requestOptions: localVarRequest.Options): void; } export declare class ApiKeyAuth implements Authentication { private location; private paramName; apiKey: string; constructor(location: string, paramName: string); applyToRequest(requestOptions: localVarRequest.Options): void; } export declare class OAuth implements Authentication { accessToken: string; applyToRequest(requestOptions: localVarRequest.Options): void; } export declare class VoidAuth implements Authentication { username: string; password: string; applyToRequest(_: localVarRequest.Options): void; } export declare enum CoreV1ApiApiKeys { } export declare class CoreV1Api { protected _basePath: string; protected defaultHeaders: any; protected _useQuerystring: boolean; protected authentications: { default: Authentication; }; constructor(basePath?: string); set useQuerystring(value: boolean); set basePath(basePath: string); get basePath(): string; setDefaultAuthentication(auth: Authentication): void; setApiKey(key: CoreV1ApiApiKeys, value: string): void; /** * * @summary Create a new access role * @param data */ addAccessRole(data?: CoreV1AccessRole): any; /** * * @summary Create a new access rule * @param data */ addAccessRule(data?: CoreV1AccessRule): any; /** * * @summary Add collection * @param namespace Namespace name * @param data */ addCollection(namespace: string, data?: CoreV1Collection): any; /** * * @summary Add Endpoint * @param namespace Namespace name * @param collection Collection * @param data */ addEndpoint(namespace: string, collection: string, data?: any): any; /** * * @summary Create new job * @param namespace Namespace name * @param data */ addJob(namespace: string, data?: CoreV1Job): any; /** * * @summary Add namespace * @param data */ addNamespace(data?: CoreV1Namespace): any; /** * * @summary Add a new object of a specifc collection * @param namespace Namespace name * @param collection Collection * @param data */ addObject(namespace: string, collection: string, data?: CoreV1DataObject): any; /** * * @summary Trigger a new process * @param namespace Namespace name * @param data */ addProcess(namespace: string, data?: CoreV1Process): any; /** * * @summary Add new object relation * @param namespace Namespace name * @param data */ addRelation(namespace: string, data?: CoreV1ObjectRelation): any; /** * * @summary Create a new secret * @param namespace Namespace name * @param data */ addSecret(namespace: string, data?: CoreV1Secret): any; /** * * @summary Create a new User * @param data */ addUser(data?: CoreV1User): any; /** * * @summary Add worfklow to endpoint * @param namespace Namespace name * @param collection Collection * @param endpoint Endpoint name * @param data */ addWorkflow(namespace: string, collection: string, endpoint: string, data?: CoreV1Workflow): any; /** * * @summary Delete access-role by name * @param access_role Access role name */ deleteAccessRole(access_role: string): any; /** * * @summary Delete access-rule by name * @param access_rule Access rule name */ deleteAccessRule(access_rule: string): any; /** * * @summary Delete specific collection * @param namespace Namespace name * @param collection Collection */ deleteCollection(namespace: string, collection: string): any; /** * * @summary Delete specific endpoint * @param namespace Namespace name * @param collection Collection * @param endpoint Endpoint name */ deleteEndpoint(namespace: string, collection: string, endpoint: string): any; /** * * @summary Delete job by id * @param namespace Namespace name * @param job Job ID */ deleteJob(namespace: string, job: string): any; /** * * @summary Delete specific namespace * @param namespace Namespace name */ deleteNamespace(namespace: string): any; /** * Delete a specific object * @summary Delete object * @param namespace Namespace name * @param collection Collection * @param object Object ID */ deleteObject(namespace: string, collection: string, object: string): any; /** * * @summary Delete object relation * @param namespace Namespace name * @param relation Relation */ deleteObjectRelation(namespace: string, relation: string): any; /** * * @summary Abort running process * @param namespace Namespace name * @param process Process ID */ deleteProcess(namespace: string, process: string): any; /** * * @summary Delete secret by name * @param namespace Namespace name * @param secret secret name */ deleteSecret(namespace: string, secret: string): any; /** * * @summary Delete User by name * @param User User name */ deleteUser(User: string): any; /** * * @summary Delete specific workflow from * @param namespace Namespace name * @param collection Collection * @param endpoint Endpoint name * @param workflow Workflow name */ deleteWorkflow(namespace: string, collection: string, endpoint: string, workflow: string): any; /** * * @summary Get access role by name * @param access_role Access role name */ getAccessRole(access_role: string): any; /** * An access role defines what role is granted access to what resource * @summary Get access roles * @param query Specify a MongoDB based resource query (https://docs.mongodb.com/manual/tutorial/query-documents) using JSON (For example: {\"name\": {$regex: 'foo.*'}}). * @param attributes Filter attributes * @param offset Objects offset, per default it starts from 0. You may also request a negative offset which will return results from the end [total - offset]. * @param limit Objects limit, per default 20 objects will get returned * @param sort Specify a MongoDB sort operation (https://docs.mongodb.com/manual/reference/method/cursor.sort/) using JSON (For example: {\"name\": -1}). * @param stream Stream resources. There is no limit by default. * @param watch Watch resources. By default a stream and useful to retrieve UPDATE, DELETE and ADD updates. */ getAccessRoles(query?: string, attributes?: Array, offset?: number, limit?: number, sort?: string, stream?: boolean, watch?: boolean): any; /** * * @summary Get access rule by name * @param access_rule Access rule name */ getAccessRule(access_rule: string): any; /** * An access rule defines what role is granted access to what resource * @summary Get access rules * @param query Specify a MongoDB based resource query (https://docs.mongodb.com/manual/tutorial/query-documents) using JSON (For example: {\"name\": {$regex: 'foo.*'}}). * @param attributes Filter attributes * @param offset Objects offset, per default it starts from 0. You may also request a negative offset which will return results from the end [total - offset]. * @param limit Objects limit, per default 20 objects will get returned * @param sort Specify a MongoDB sort operation (https://docs.mongodb.com/manual/reference/method/cursor.sort/) using JSON (For example: {\"name\": -1}). * @param stream Stream resources. There is no limit by default. * @param watch Watch resources. By default a stream and useful to retrieve UPDATE, DELETE and ADD updates. */ getAccessRules(query?: string, attributes?: Array, offset?: number, limit?: number, sort?: string, stream?: boolean, watch?: boolean): any; /** * * @summary Get api entrypoint */ getApi(): any; /** * A collection is collection of dataobjects of a specific type * @summary Get specific collection * @param namespace Namespace name * @param collection Collection * @param attributes Filter attributes */ getCollection(namespace: string, collection: string, attributes?: Array): any; /** * * @summary Get a single collection log * @param namespace Namespace name * @param collection Collection * @param log Log id */ getCollectionLog(namespace: string, collection: string, log: string): any; /** * * @summary Get logs of a collection * @param namespace Namespace name * @param collection Collection * @param query Specify a MongoDB based resource query (https://docs.mongodb.com/manual/tutorial/query-documents) using JSON (For example: {\"name\": {$regex: 'foo.*'}}). * @param attributes Filter attributes * @param offset Objects offset, per default it starts from 0. You may also request a negative offset which will return results from the end [total - offset]. * @param limit Objects limit, per default 20 objects will get returned * @param sort Specify a MongoDB sort operation (https://docs.mongodb.com/manual/reference/method/cursor.sort/) using JSON (For example: {\"name\": -1}). * @param stream Stream resources. There is no limit by default. * @param watch Watch resources. By default a stream and useful to retrieve UPDATE, DELETE and ADD updates. */ getCollectionLogs(namespace: string, collection: string, query?: string, attributes?: Array, offset?: number, limit?: number, sort?: string, stream?: boolean, watch?: boolean): any; /** * A collection is collection of data objects of a specific type * @summary Get collections * @param namespace Namespace name * @param query Specify a MongoDB based resource query (https://docs.mongodb.com/manual/tutorial/query-documents) using JSON (For example: {\"name\": {$regex: 'foo.*'}}). * @param attributes Filter attributes * @param offset Objects offset, per default it starts from 0. You may also request a negative offset which will return results from the end [total - offset]. * @param limit Objects limit, per default 20 objects will get returned * @param sort Specify a MongoDB sort operation (https://docs.mongodb.com/manual/reference/method/cursor.sort/) using JSON (For example: {\"name\": -1}). * @param stream Stream resources. There is no limit by default. * @param watch Watch resources. By default a stream and useful to retrieve UPDATE, DELETE and ADD updates. */ getCollections(namespace: string, query?: string, attributes?: Array, offset?: number, limit?: number, sort?: string, stream?: boolean, watch?: boolean): any; /** * An endpoint is either of type source or destination and defines an import/export destination * @summary Get specific endpoint * @param namespace Namespace name * @param collection Collection * @param endpoint Endpoint name * @param attributes Filter attributes */ getEndpoint(namespace: string, collection: string, endpoint: string, attributes?: Array): any; /** * * @summary Get a single endpoint log * @param namespace Namespace name * @param collection Collection * @param endpoint Endpoint * @param log Log id */ getEndpointLog(namespace: string, collection: string, endpoint: string, log: string): any; /** * * @summary Get logs of an endpoint * @param namespace Namespace name * @param collection Collection * @param endpoint Endpoint * @param query Specify a MongoDB based resource query (https://docs.mongodb.com/manual/tutorial/query-documents) using JSON (For example: {\"name\": {$regex: 'foo.*'}}). * @param attributes Filter attributes * @param offset Objects offset, per default it starts from 0. You may also request a negative offset which will return results from the end [total - offset]. * @param limit Objects limit, per default 20 objects will get returned * @param sort Specify a MongoDB sort operation (https://docs.mongodb.com/manual/reference/method/cursor.sort/) using JSON (For example: {\"name\": -1}). * @param stream Stream resources. There is no limit by default. * @param watch Watch resources. By default a stream and useful to retrieve UPDATE, DELETE and ADD updates. */ getEndpointLogs(namespace: string, collection: string, endpoint: string, query?: string, attributes?: Array, offset?: number, limit?: number, sort?: string, stream?: boolean, watch?: boolean): any; /** * An endpoint is either of type source or destination and defines an import/export destination * @summary Get objects from endpoint * @param namespace Namespace name * @param collection Collection * @param endpoint Endpoint * @param query Specify a MongoDB based resource query (https://docs.mongodb.com/manual/tutorial/query-documents) using JSON (For example: {\"name\": {$regex: 'foo.*'}}). * @param attributes Filter attributes * @param offset Objects offset, per default it starts from 0. You may also request a negative offset which will return results from the end [total - offset]. * @param limit Objects limit, per default 20 objects will get returned * @param sort Specify a MongoDB sort operation (https://docs.mongodb.com/manual/reference/method/cursor.sort/) using JSON (For example: {\"name\": -1}). * @param stream Stream resources. There is no limit by default. * @param watch Watch resources. By default a stream and useful to retrieve UPDATE, DELETE and ADD updates. */ getEndpointObjects(namespace: string, collection: string, endpoint: string, query?: string, attributes?: Array, offset?: number, limit?: number, sort?: string, stream?: boolean, watch?: boolean): any; /** * An endpoint is either of type source or destination and defines an import/export destination * @summary Get endpoints * @param namespace Namespace name * @param collection Collection * @param query Specify a MongoDB based resource query (https://docs.mongodb.com/manual/tutorial/query-documents) using JSON (For example: {\"name\": {$regex: 'foo.*'}}). * @param attributes Filter attributes * @param offset Objects offset, per default it starts from 0. You may also request a negative offset which will return results from the end [total - offset]. * @param limit Objects limit, per default 20 objects will get returned * @param sort Specify a MongoDB sort operation (https://docs.mongodb.com/manual/reference/method/cursor.sort/) using JSON (For example: {\"name\": -1}). * @param stream Stream resources. There is no limit by default. * @param watch Watch resources. By default a stream and useful to retrieve UPDATE, DELETE and ADD updates. */ getEndpoints(namespace: string, collection: string, query?: string, attributes?: Array, offset?: number, limit?: number, sort?: string, stream?: boolean, watch?: boolean): any; /** * * @summary Get job by id * @param namespace Namespace name * @param job Job ID */ getJob(namespace: string, job: string): any; /** * * @summary Get a single job error * @param namespace Namespace name * @param job Job ID * @param log Log id */ getJobLog(namespace: string, job: string, log: string): any; /** * * @summary Get logs of a job * @param namespace Namespace name * @param job Job ID * @param query Specify a MongoDB based resource query (https://docs.mongodb.com/manual/tutorial/query-documents) using JSON (For example: {\"name\": {$regex: 'foo.*'}}). * @param attributes Filter attributes * @param offset Objects offset, per default it starts from 0. You may also request a negative offset which will return results from the end [total - offset]. * @param limit Objects limit, per default 20 objects will get returned * @param sort Specify a MongoDB sort operation (https://docs.mongodb.com/manual/reference/method/cursor.sort/) using JSON (For example: {\"name\": -1}). * @param stream Stream resources. There is no limit by default. * @param watch Watch resources. By default a stream and useful to retrieve UPDATE, DELETE and ADD updates. */ getJobLogs(namespace: string, job: string, query?: string, attributes?: Array, offset?: number, limit?: number, sort?: string, stream?: boolean, watch?: boolean): any; /** * A job is an asynchronous server process * @summary Get list of active queued jobs * @param namespace Namespace name * @param query Specify a MongoDB based resource query (https://docs.mongodb.com/manual/tutorial/query-documents) using JSON (For example: {\"name\": {$regex: 'foo.*'}}). * @param attributes Filter attributes * @param offset Objects offset, per default it starts from 0. You may also request a negative offset which will return results from the end [total - offset]. * @param limit Objects limit, per default 20 objects will get returned * @param sort Specify a MongoDB sort operation (https://docs.mongodb.com/manual/reference/method/cursor.sort/) using JSON (For example: {\"name\": -1}). * @param stream Stream resources. There is no limit by default. * @param watch Watch resources. By default a stream and useful to retrieve UPDATE, DELETE and ADD updates. */ getJobs(namespace: string, query?: string, attributes?: Array, offset?: number, limit?: number, sort?: string, stream?: boolean, watch?: boolean): any; /** * A namespace is a logical group of collections * @summary Get specific namespace * @param namespace Namespace name * @param attributes Filter attributes */ getNamespace(namespace: string, attributes?: Array): any; /** * A namespace is a logical group of collections * @summary Get namespaces * @param query Specify a MongoDB based resource query (https://docs.mongodb.com/manual/tutorial/query-documents) using JSON (For example: {\"name\": {$regex: 'foo.*'}}). * @param attributes Filter attributes * @param offset Objects offset, per default it starts from 0. You may also request a negative offset which will return results from the end [total - offset]. * @param limit Objects limit, per default 20 objects will get returned * @param sort Specify a MongoDB sort operation (https://docs.mongodb.com/manual/reference/method/cursor.sort/) using JSON (For example: {\"name\": -1}). * @param stream Stream resources. There is no limit by default. * @param watch Watch resources. By default a stream and useful to retrieve UPDATE, DELETE and ADD updates. */ getNamespaces(query?: string, attributes?: Array, offset?: number, limit?: number, sort?: string, stream?: boolean, watch?: boolean): any; /** * Get an object of a specific collection * @summary Get specific object * @param namespace Namespace name * @param collection Collection * @param object Object ID * @param attributes Filter attributes */ getObject(namespace: string, collection: string, object: string, attributes?: Array): any; /** * Get the history of all modifications from a specific object * @summary Get object history * @param namespace Namespace name * @param collection Collection * @param object Object ID * @param query Specify a MongoDB based resource query (https://docs.mongodb.com/manual/tutorial/query-documents) using JSON (For example: {\"name\": {$regex: 'foo.*'}}). * @param attributes Filter attributes * @param offset Objects offset, per default it starts from 0. You may also request a negative offset which will return results from the end [total - offset]. * @param limit Objects limit, per default 20 objects will get returned * @param sort Specify a MongoDB sort operation (https://docs.mongodb.com/manual/reference/method/cursor.sort/) using JSON (For example: {\"name\": -1}). * @param stream Stream resources. There is no limit by default. * @param watch Watch resources. By default a stream and useful to retrieve UPDATE, DELETE and ADD updates. */ getObjectHistory(namespace: string, collection: string, object: string, query?: string, attributes?: Array, offset?: number, limit?: number, sort?: string, stream?: boolean, watch?: boolean): any; /** * * @summary Get a single object log * @param namespace Namespace name * @param collection Collection * @param object Object ID * @param log Log id */ getObjectLog(namespace: string, collection: string, object: string, log: string): any; /** * * @summary Get logs of an object * @param namespace Namespace name * @param collection Collection * @param object Object ID * @param query Specify a MongoDB based resource query (https://docs.mongodb.com/manual/tutorial/query-documents) using JSON (For example: {\"name\": {$regex: 'foo.*'}}). * @param attributes Filter attributes * @param offset Objects offset, per default it starts from 0. You may also request a negative offset which will return results from the end [total - offset]. * @param limit Objects limit, per default 20 objects will get returned * @param sort Specify a MongoDB sort operation (https://docs.mongodb.com/manual/reference/method/cursor.sort/) using JSON (For example: {\"name\": -1}). * @param stream Stream resources. There is no limit by default. * @param watch Watch resources. By default a stream and useful to retrieve UPDATE, DELETE and ADD updates. */ getObjectLogs(namespace: string, collection: string, object: string, query?: string, attributes?: Array, offset?: number, limit?: number, sort?: string, stream?: boolean, watch?: boolean): any; /** * * @summary Get single relative object of an object * @param namespace Namespace name * @param collection Collection * @param object Object name * @param relation Relation name */ getObjectRelation(namespace: string, collection: string, object: string, relation: string): any; /** * Get all objects the object is related to * @summary Get relative objects of an object * @param namespace Namespace name * @param collection Collection * @param object Object name * @param query Specify a MongoDB based resource query (https://docs.mongodb.com/manual/tutorial/query-documents) using JSON (For example: {\"name\": {$regex: 'foo.*'}}). * @param attributes Filter attributes * @param offset Objects offset, per default it starts from 0. You may also request a negative offset which will return results from the end [total - offset]. * @param limit Objects limit, per default 20 objects will get returned * @param sort Specify a MongoDB sort operation (https://docs.mongodb.com/manual/reference/method/cursor.sort/) using JSON (For example: {\"name\": -1}). * @param stream Stream resources. There is no limit by default. * @param watch Watch resources. By default a stream and useful to retrieve UPDATE, DELETE and ADD updates. */ getObjectRelations(namespace: string, collection: string, object: string, query?: string, attributes?: Array, offset?: number, limit?: number, sort?: string, stream?: boolean, watch?: boolean): any; /** * A object is a data object from a specifc collection * @summary Get objects of a specific collection * @param namespace Namespace name * @param collection Collection * @param query Specify a MongoDB based resource query (https://docs.mongodb.com/manual/tutorial/query-documents) using JSON (For example: {\"name\": {$regex: 'foo.*'}}). * @param attributes Filter attributes * @param offset Objects offset, per default it starts from 0. You may also request a negative offset which will return results from the end [total - offset]. * @param limit Objects limit, per default 20 objects will get returned * @param sort Specify a MongoDB sort operation (https://docs.mongodb.com/manual/reference/method/cursor.sort/) using JSON (For example: {\"name\": -1}). * @param stream Stream resources. There is no limit by default. * @param watch Watch resources. By default a stream and useful to retrieve UPDATE, DELETE and ADD updates. */ getObjects(namespace: string, collection: string, query?: string, attributes?: Array, offset?: number, limit?: number, sort?: string, stream?: boolean, watch?: boolean): any; /** * * @summary Get a single process of a job * @param namespace Namespace name * @param process Process ID */ getProcess(namespace: string, process: string): any; /** * * @summary Get a single process log * @param namespace Namespace name * @param process Process ID * @param log Log id */ getProcessLog(namespace: string, process: string, log: string): any; /** * * @summary Get logs of a process * @param namespace Namespace name * @param process Process ID * @param query Specify a MongoDB based resource query (https://docs.mongodb.com/manual/tutorial/query-documents) using JSON (For example: {\"name\": {$regex: 'foo.*'}}). * @param attributes Filter attributes * @param offset Objects offset, per default it starts from 0. You may also request a negative offset which will return results from the end [total - offset]. * @param limit Objects limit, per default 20 objects will get returned * @param sort Specify a MongoDB sort operation (https://docs.mongodb.com/manual/reference/method/cursor.sort/) using JSON (For example: {\"name\": -1}). * @param stream Stream resources. There is no limit by default. * @param watch Watch resources. By default a stream and useful to retrieve UPDATE, DELETE and ADD updates. */ getProcessLogs(namespace: string, process: string, query?: string, attributes?: Array, offset?: number, limit?: number, sort?: string, stream?: boolean, watch?: boolean): any; /** * * @summary Get all processes * @param namespace Namespace name * @param query Specify a MongoDB based resource query (https://docs.mongodb.com/manual/tutorial/query-documents) using JSON (For example: {\"name\": {$regex: 'foo.*'}}). * @param attributes Filter attributes * @param offset Objects offset, per default it starts from 0. You may also request a negative offset which will return results from the end [total - offset]. * @param limit Objects limit, per default 20 objects will get returned * @param sort Specify a MongoDB sort operation (https://docs.mongodb.com/manual/reference/method/cursor.sort/) using JSON (For example: {\"name\": -1}). * @param stream Stream resources. There is no limit by default. * @param watch Watch resources. By default a stream and useful to retrieve UPDATE, DELETE and ADD updates. */ getProcesses(namespace: string, query?: string, attributes?: Array, offset?: number, limit?: number, sort?: string, stream?: boolean, watch?: boolean): any; /** * * @summary Get single relation * @param namespace Namespace name * @param relation Relation */ getRelation(namespace: string, relation: string): any; /** * Get data object relations * @summary Get data object relations * @param namespace Namespace name * @param query Specify a MongoDB based resource query (https://docs.mongodb.com/manual/tutorial/query-documents) using JSON (For example: {\"name\": {$regex: 'foo.*'}}). * @param attributes Filter attributes * @param offset Objects offset, per default it starts from 0. You may also request a negative offset which will return results from the end [total - offset]. * @param limit Objects limit, per default 20 objects will get returned * @param sort Specify a MongoDB sort operation (https://docs.mongodb.com/manual/reference/method/cursor.sort/) using JSON (For example: {\"name\": -1}). * @param stream Stream resources. There is no limit by default. * @param watch Watch resources. By default a stream and useful to retrieve UPDATE, DELETE and ADD updates. */ getRelations(namespace: string, query?: string, attributes?: Array, offset?: number, limit?: number, sort?: string, stream?: boolean, watch?: boolean): any; /** * * @summary Get secret by name * @param namespace Namespace name * @param secret secret name */ getSecret(namespace: string, secret: string): any; /** * An secret holds secret data which should not get exposed and is specially encrypted on the server. A secret can be injected into other resources. * @summary Get secrets * @param namespace Namespace name * @param query Specify a MongoDB based resource query (https://docs.mongodb.com/manual/tutorial/query-documents) using JSON (For example: {\"name\": {$regex: 'foo.*'}}). * @param attributes Filter attributes * @param offset Objects offset, per default it starts from 0. You may also request a negative offset which will return results from the end [total - offset]. * @param limit Objects limit, per default 20 objects will get returned * @param sort Specify a MongoDB sort operation (https://docs.mongodb.com/manual/reference/method/cursor.sort/) using JSON (For example: {\"name\": -1}). * @param stream Stream resources. There is no limit by default. * @param watch Watch resources. By default a stream and useful to retrieve UPDATE, DELETE and ADD updates. */ getSecrets(namespace: string, query?: string, attributes?: Array, offset?: number, limit?: number, sort?: string, stream?: boolean, watch?: boolean): any; /** * * @summary Get User by name * @param User User name */ getUser(User: string): any; /** * An User defines what role is granted access to what resource * @summary Get users * @param query Specify a MongoDB based resource query (https://docs.mongodb.com/manual/tutorial/query-documents) using JSON (For example: {\"name\": {$regex: 'foo.*'}}). * @param attributes Filter attributes * @param offset Objects offset, per default it starts from 0. You may also request a negative offset which will return results from the end [total - offset]. * @param limit Objects limit, per default 20 objects will get returned * @param sort Specify a MongoDB sort operation (https://docs.mongodb.com/manual/reference/method/cursor.sort/) using JSON (For example: {\"name\": -1}). * @param stream Stream resources. There is no limit by default. * @param watch Watch resources. By default a stream and useful to retrieve UPDATE, DELETE and ADD updates. */ getUsers(query?: string, attributes?: Array, offset?: number, limit?: number, sort?: string, stream?: boolean, watch?: boolean): any; /** * * @summary Get api entrypoint */ getV1(): any; /** * A workflow is an action how to import/export a collection and with what attribute map * @summary Get specifc endpoint workflow * @param namespace Namespace name * @param collection Collection * @param endpoint Endpoint name * @param workflow Workflow name * @param attributes Filter attributes */ getWorkflow(namespace: string, collection: string, endpoint: string, workflow: string, attributes?: Array): any; /** * A workflow is an action how to import/export a collection and with what attribute map * @summary Get endpoint workflows * @param namespace Namespace name * @param collection Collection * @param endpoint Endpoint name * @param query Specify a MongoDB based resource query (https://docs.mongodb.com/manual/tutorial/query-documents) using JSON (For example: {\"name\": {$regex: 'foo.*'}}). * @param attributes Filter attributes * @param offset Objects offset, per default it starts from 0. You may also request a negative offset which will return results from the end [total - offset]. * @param limit Objects limit, per default 20 objects will get returned * @param sort Specify a MongoDB sort operation (https://docs.mongodb.com/manual/reference/method/cursor.sort/) using JSON (For example: {\"name\": -1}). * @param stream Stream resources. There is no limit by default. * @param watch Watch resources. By default a stream and useful to retrieve UPDATE, DELETE and ADD updates. */ getWorkflows(namespace: string, collection: string, endpoint: string, query?: string, attributes?: Array, offset?: number, limit?: number, sort?: string, stream?: boolean, watch?: boolean): any; /** * * @summary Create or replace an access role * @param access_role Access role name * @param data */ replaceAccessRole(access_role: string, data?: CoreV1AccessRole): any; /** * * @summary Create or replace an access rule * @param access_rule Access rule name * @param data */ replaceAccessRule(access_rule: string, data?: CoreV1AccessRule): any; /** * * @summary Create or replace collection * @param namespace Namespace name * @param collection Collection * @param data */ replaceCollection(namespace: string, collection: string, data?: CoreV1Collection): any; /** * * @summary Create or replace endppoint * @param namespace Namespace name * @param collection Collection * @param endpoint Endpoint name * @param data */ replaceEndpoint(namespace: string, collection: string, endpoint: string, data?: CoreV1Endpoint): any; /** * * @summary Create or replace namespace * @param namespace Namespace name * @param data */ replaceNamespace(namespace: string, data?: CoreV1Namespace): any; /** * Replace all data attributes of an object (Or create one if not exists) * @summary Replace or create object * @param namespace Namespace name * @param collection Collection * @param object Object ID * @param write If true, the objects gets synced to all configured destination endpoints * @param data */ replaceObject(namespace: string, collection: string, object: string, write?: boolean, data?: CoreV1DataObject): any; /** * * @summary Replace object relation * @param namespace Namespace name * @param relation Relation * @param data */ replaceRelation(namespace: string, relation: string, data?: CoreV1ObjectRelation): any; /** * * @summary Create or replace an secret * @param namespace Namespace name * @param secret secret name * @param data */ replaceSecret(namespace: string, secret: string, data?: CoreV1Secret): any; /** * * @summary Create or replace an User * @param User User name * @param data */ replaceUser(User: string, data?: CoreV1User): any; /** * * @summary Create or replace workflow * @param namespace Namespace name * @param collection Collection * @param endpoint Endpoint name * @param workflow Workflow name * @param data */ replaceWorkflow(namespace: string, collection: string, endpoint: string, workflow: string, data?: CoreV1Workflow): any; /** * * @summary Patch access role as rfc6902 request * @param access_role Access role name * @param job Access role json patch */ updateAccessRole(access_role: string, job?: Array): any; /** * * @summary Patch access rule as rfc6902 request * @param access_rule Access rule name * @param job Access rule json patch */ updateAccessRule(access_rule: string, job?: Array): any; /** * Update specific attributes of a collection * @summary Patch collection as rfc6902 request * @param namespace Namespace name * @param collection Collection * @param data Collection */ updateCollection(namespace: string, collection: string, data?: Array): any; /** * Update specific attributes of a endpoint * @summary Patch collection as rfc6902 request * @param namespace Namespace name * @param collection Collection * @param endpoint Endpoint name * @param data Collection */ updateEndpoint(namespace: string, collection: string, endpoint: string, data?: Array): any; /** * Update specific attributes of a job * @summary Patch job as rfc6902 request * @param namespace Namespace name * @param job Job ID * @param data Object */ updateJob(namespace: string, job: string, data?: Array): any; /** * Update specific attributes of a namespace * @summary Patch namespace as rfc6902 request * @param namespace Namespace name * @param data Namespace */ updateNamespace(namespace: string, data?: Array): any; /** * Update specific attributes of an object * @summary Patch object as rfc6902 request * @param namespace Namespace name * @param collection Collection * @param object Object ID * @param data Object */ updateObject(namespace: string, collection: string, object: string, data?: Array): any; /** * Update specific attributes of a relation * @summary Patch relation as rfc6902 request * @param namespace Namespace name * @param relation Relation * @param data Object */ updateRelation(namespace: string, relation: string, data?: Array): any; /** * * @summary Patch secret as rfc6902 request * @param namespace Namespace name * @param secret secret name * @param job secret json patch */ updateSecret(namespace: string, secret: string, job?: Array): any; /** * * @summary Patch User as rfc6902 request * @param User User name * @param job User json patch */ updateUser(User: string, job?: Array): any; /** * Update specific attributes of a workflow * @summary Patch workflow as rfc6902 request * @param namespace Namespace name * @param collection Collection * @param endpoint Endpoint name * @param workflow Workflow name * @param data Workflow */ updateWorkflow(namespace: string, collection: string, endpoint: string, workflow: string, data?: Array): any; }