@serve.zone/interfaces 5.0.4 → 5.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.smartconfig.json +32 -0
- package/changelog.md +22 -0
- package/dist_ts/00_commitinfo_data.js +9 -0
- package/dist_ts/data/baremetal.d.ts +61 -0
- package/dist_ts/data/baremetal.js +2 -0
- package/{dist_ts_interfaces → dist_ts}/data/cloudlyconfig.d.ts +0 -2
- package/{dist_ts_interfaces → dist_ts}/data/cloudlyconfig.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/data/cluster.d.ts +7 -3
- package/{dist_ts_interfaces → dist_ts}/data/cluster.js +1 -1
- package/dist_ts/data/clusternode.d.ts +59 -0
- package/dist_ts/data/clusternode.js +2 -0
- package/{dist_ts_interfaces → dist_ts}/data/config.js +1 -1
- package/dist_ts/data/deployment.d.ts +51 -0
- package/{dist_ts_interfaces → dist_ts}/data/deployment.js +1 -1
- package/dist_ts/data/dns.d.ts +85 -0
- package/dist_ts/data/dns.js +2 -0
- package/{dist_ts_interfaces → dist_ts}/data/docker.js +1 -1
- package/dist_ts/data/domain.d.ts +102 -0
- package/dist_ts/data/domain.js +2 -0
- package/{dist_ts_interfaces → dist_ts}/data/event.js +1 -1
- package/dist_ts/data/externalregistry.d.ts +92 -0
- package/{dist_ts_interfaces → dist_ts}/data/externalregistry.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/data/image.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/data/index.d.ts +6 -1
- package/dist_ts/data/index.js +22 -0
- package/{dist_ts_interfaces → dist_ts}/data/secretbundle.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/data/secretgroup.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/data/server.js +1 -1
- package/dist_ts/data/service.d.ts +75 -0
- package/{dist_ts_interfaces → dist_ts}/data/service.js +1 -1
- package/dist_ts/data/settings.d.ts +34 -0
- package/dist_ts/data/settings.js +2 -0
- package/{dist_ts_interfaces → dist_ts}/data/status.js +1 -1
- package/dist_ts/data/taskexecution.d.ts +72 -0
- package/dist_ts/data/taskexecution.js +2 -0
- package/{dist_ts_interfaces → dist_ts}/data/traffic.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/data/user.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/data/version.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/index.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/platformservice/aibridge.js +1 -1
- package/dist_ts/platformservice/index.js +7 -0
- package/{dist_ts_interfaces → dist_ts}/platformservice/letter.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/platformservice/mta.js +1 -1
- package/dist_ts/platformservice/pushnotification.js +2 -0
- package/{dist_ts_interfaces → dist_ts}/platformservice/sms.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/plugins.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/requests/admin.js +1 -1
- package/dist_ts/requests/baremetal.d.ts +19 -0
- package/dist_ts/requests/baremetal.js +2 -0
- package/{dist_ts_interfaces → dist_ts}/requests/certificate.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/requests/cluster.d.ts +1 -0
- package/{dist_ts_interfaces → dist_ts}/requests/cluster.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/requests/config.js +1 -1
- package/dist_ts/requests/deployment.d.ts +96 -0
- package/dist_ts/requests/deployment.js +2 -0
- package/dist_ts/requests/dns.d.ts +63 -0
- package/dist_ts/requests/dns.js +2 -0
- package/dist_ts/requests/domain.d.ts +69 -0
- package/dist_ts/requests/domain.js +2 -0
- package/{dist_ts_interfaces → dist_ts}/requests/externalregistry.d.ts +13 -0
- package/dist_ts/requests/externalregistry.js +4 -0
- package/{dist_ts_interfaces → dist_ts}/requests/identity.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/requests/image.js +1 -1
- package/dist_ts/requests/index.d.ts +26 -0
- package/dist_ts/requests/index.js +28 -0
- package/{dist_ts_interfaces → dist_ts}/requests/inform.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/requests/log.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/requests/network.js +1 -1
- package/dist_ts/requests/node.d.ts +29 -0
- package/dist_ts/requests/node.js +2 -0
- package/{dist_ts_interfaces → dist_ts}/requests/routing.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/requests/secretbundle.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/requests/secretgroup.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/requests/server.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/requests/service.js +1 -1
- package/dist_ts/requests/settings.d.ts +49 -0
- package/dist_ts/requests/settings.js +2 -0
- package/{dist_ts_interfaces → dist_ts}/requests/status.js +1 -1
- package/dist_ts/requests/task.d.ts +65 -0
- package/dist_ts/requests/task.js +4 -0
- package/{dist_ts_interfaces → dist_ts}/requests/version.js +1 -1
- package/license +1 -1
- package/package.json +43 -18
- package/readme.md +12 -206
- package/{ts_interfaces → ts}/00_commitinfo_data.ts +2 -2
- package/ts/data/baremetal.ts +73 -0
- package/{ts_interfaces → ts}/data/cloudlyconfig.ts +0 -2
- package/{ts_interfaces → ts}/data/cluster.ts +8 -3
- package/ts/data/clusternode.ts +71 -0
- package/ts/data/deployment.ts +63 -0
- package/ts/data/dns.ts +100 -0
- package/ts/data/domain.ts +124 -0
- package/ts/data/externalregistry.ts +110 -0
- package/{ts_interfaces → ts}/data/index.ts +7 -2
- package/ts/data/service.ts +77 -0
- package/ts/data/settings.ts +56 -0
- package/ts/data/taskexecution.ts +84 -0
- package/ts/requests/baremetal.ts +22 -0
- package/{ts_interfaces → ts}/requests/cluster.ts +1 -0
- package/ts/requests/deployment.ts +141 -0
- package/ts/requests/dns.ts +93 -0
- package/ts/requests/domain.ts +99 -0
- package/{ts_interfaces → ts}/requests/externalregistry.ts +17 -0
- package/{ts_interfaces → ts}/requests/index.ts +14 -0
- package/ts/requests/node.ts +33 -0
- package/ts/requests/settings.ts +59 -0
- package/ts/requests/task.ts +95 -0
- package/cli.js +0 -4
- package/dist_ts_interfaces/00_commitinfo_data.js +0 -9
- package/dist_ts_interfaces/data/deployment.d.ts +0 -11
- package/dist_ts_interfaces/data/externalregistry.d.ts +0 -10
- package/dist_ts_interfaces/data/index.js +0 -17
- package/dist_ts_interfaces/data/service.d.ts +0 -37
- package/dist_ts_interfaces/platformservice/index.js +0 -7
- package/dist_ts_interfaces/platformservice/pushnotification.js +0 -2
- package/dist_ts_interfaces/requests/externalregistry.js +0 -4
- package/dist_ts_interfaces/requests/index.d.ts +0 -19
- package/dist_ts_interfaces/requests/index.js +0 -21
- package/ts_interfaces/data/deployment.ts +0 -13
- package/ts_interfaces/data/externalregistry.ts +0 -12
- package/ts_interfaces/data/service.ts +0 -34
- package/ts_interfaces/readme.md +0 -223
- package/ts_interfaces/tspublish.json +0 -13
- /package/{dist_ts_interfaces → dist_ts}/00_commitinfo_data.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/data/config.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/data/docker.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/data/event.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/data/image.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/data/secretbundle.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/data/secretgroup.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/data/server.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/data/status.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/data/traffic.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/data/user.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/data/version.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/index.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/platformservice/aibridge.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/platformservice/index.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/platformservice/letter.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/platformservice/mta.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/platformservice/pushnotification.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/platformservice/sms.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/plugins.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/requests/admin.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/requests/certificate.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/requests/config.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/requests/identity.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/requests/image.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/requests/inform.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/requests/log.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/requests/network.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/requests/routing.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/requests/secretbundle.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/requests/secretgroup.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/requests/server.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/requests/service.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/requests/status.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/requests/version.d.ts +0 -0
- /package/{ts_interfaces → ts}/data/config.ts +0 -0
- /package/{ts_interfaces → ts}/data/docker.ts +0 -0
- /package/{ts_interfaces → ts}/data/event.ts +0 -0
- /package/{ts_interfaces → ts}/data/image.ts +0 -0
- /package/{ts_interfaces → ts}/data/secretbundle.ts +0 -0
- /package/{ts_interfaces → ts}/data/secretgroup.ts +0 -0
- /package/{ts_interfaces → ts}/data/server.ts +0 -0
- /package/{ts_interfaces → ts}/data/status.ts +0 -0
- /package/{ts_interfaces → ts}/data/traffic.ts +0 -0
- /package/{ts_interfaces → ts}/data/user.ts +0 -0
- /package/{ts_interfaces → ts}/data/version.ts +0 -0
- /package/{ts_interfaces → ts}/index.ts +0 -0
- /package/{ts_interfaces → ts}/platformservice/00readme.md +0 -0
- /package/{ts_interfaces → ts}/platformservice/aibridge.ts +0 -0
- /package/{ts_interfaces → ts}/platformservice/index.ts +0 -0
- /package/{ts_interfaces → ts}/platformservice/letter.ts +0 -0
- /package/{ts_interfaces → ts}/platformservice/mta.ts +0 -0
- /package/{ts_interfaces → ts}/platformservice/pushnotification.ts +0 -0
- /package/{ts_interfaces → ts}/platformservice/sms.ts +0 -0
- /package/{ts_interfaces → ts}/plugins.ts +0 -0
- /package/{ts_interfaces → ts}/requests/admin.ts +0 -0
- /package/{ts_interfaces → ts}/requests/certificate.ts +0 -0
- /package/{ts_interfaces → ts}/requests/config.ts +0 -0
- /package/{ts_interfaces → ts}/requests/identity.ts +0 -0
- /package/{ts_interfaces → ts}/requests/image.ts +0 -0
- /package/{ts_interfaces → ts}/requests/inform.ts +0 -0
- /package/{ts_interfaces → ts}/requests/log.ts +0 -0
- /package/{ts_interfaces → ts}/requests/network.ts +0 -0
- /package/{ts_interfaces → ts}/requests/routing.ts +0 -0
- /package/{ts_interfaces → ts}/requests/secretbundle.ts +0 -0
- /package/{ts_interfaces → ts}/requests/secretgroup.ts +0 -0
- /package/{ts_interfaces → ts}/requests/server.ts +0 -0
- /package/{ts_interfaces → ts}/requests/service.ts +0 -0
- /package/{ts_interfaces → ts}/requests/status.ts +0 -0
- /package/{ts_interfaces → ts}/requests/version.ts +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VjcmV0Z3JvdXAuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9kYXRhL3NlY3JldGdyb3VwLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as plugins from '../plugins.js';
|
|
2
2
|
import {} from './docker.js';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VydmVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vdHMvZGF0YS9zZXJ2ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLE9BQU8sTUFBTSxlQUFlLENBQUM7QUFFekMsT0FBTyxFQUE0QixNQUFNLGFBQWEsQ0FBQyJ9
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import type { IServiceRessources } from './docker.js';
|
|
2
|
+
export interface IService {
|
|
3
|
+
id: string;
|
|
4
|
+
data: {
|
|
5
|
+
name: string;
|
|
6
|
+
description: string;
|
|
7
|
+
imageId: string;
|
|
8
|
+
imageVersion: string;
|
|
9
|
+
environment: {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* the main secret bundle id, exclusive to the service
|
|
14
|
+
*/
|
|
15
|
+
secretBundleId: string;
|
|
16
|
+
/**
|
|
17
|
+
* those secret bundle ids do not belong to the service itself
|
|
18
|
+
* and thus live past the service lifecycle
|
|
19
|
+
*/
|
|
20
|
+
additionalSecretBundleIds?: string[];
|
|
21
|
+
/**
|
|
22
|
+
* Service category determines deployment behavior
|
|
23
|
+
* - base: Core services that run on every node (coreflow, coretraffic, corelog)
|
|
24
|
+
* - distributed: Services that run on limited nodes (cores3, coremongo)
|
|
25
|
+
* - workload: User applications
|
|
26
|
+
*/
|
|
27
|
+
serviceCategory: 'base' | 'distributed' | 'workload';
|
|
28
|
+
/**
|
|
29
|
+
* Deployment strategy for the service
|
|
30
|
+
* - all-nodes: Deploy to every node in the cluster
|
|
31
|
+
* - limited-replicas: Deploy to a limited number of nodes
|
|
32
|
+
* - custom: Custom deployment logic
|
|
33
|
+
*/
|
|
34
|
+
deploymentStrategy: 'all-nodes' | 'limited-replicas' | 'custom';
|
|
35
|
+
/**
|
|
36
|
+
* Maximum number of replicas for distributed services
|
|
37
|
+
* For example, 3 for cores3 or coremongo
|
|
38
|
+
*/
|
|
39
|
+
maxReplicas?: number;
|
|
40
|
+
/**
|
|
41
|
+
* Whether to enforce anti-affinity rules
|
|
42
|
+
* When true, tries to spread deployments across different BareMetal servers
|
|
43
|
+
*/
|
|
44
|
+
antiAffinity?: boolean;
|
|
45
|
+
scaleFactor: number;
|
|
46
|
+
balancingStrategy: 'round-robin' | 'least-connections';
|
|
47
|
+
ports: {
|
|
48
|
+
web: number;
|
|
49
|
+
custom?: {
|
|
50
|
+
[domain: string]: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
resources?: IServiceRessources;
|
|
54
|
+
domains: {
|
|
55
|
+
/**
|
|
56
|
+
* Optional domain ID to specify which domain to use
|
|
57
|
+
* If not specified, will use the default domain or require manual configuration
|
|
58
|
+
*/
|
|
59
|
+
domainId?: string;
|
|
60
|
+
/**
|
|
61
|
+
* The subdomain name (e.g., 'api', 'www', '@' for root)
|
|
62
|
+
*/
|
|
63
|
+
name: string;
|
|
64
|
+
/**
|
|
65
|
+
* The port to expose (defaults to ports.web if not specified)
|
|
66
|
+
*/
|
|
67
|
+
port?: number;
|
|
68
|
+
/**
|
|
69
|
+
* The protocol for this domain entry
|
|
70
|
+
*/
|
|
71
|
+
protocol?: 'http' | 'https' | 'ssh';
|
|
72
|
+
}[];
|
|
73
|
+
deploymentIds: string[];
|
|
74
|
+
};
|
|
75
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3RzL2RhdGEvc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Interface for Cloudly settings stored in EasyStore
|
|
3
|
+
* These are runtime-configurable settings that can be modified via the UI
|
|
4
|
+
*/
|
|
5
|
+
export interface ICloudlySettings {
|
|
6
|
+
hetznerToken?: string;
|
|
7
|
+
cloudflareToken?: string;
|
|
8
|
+
awsAccessKey?: string;
|
|
9
|
+
awsSecretKey?: string;
|
|
10
|
+
awsRegion?: string;
|
|
11
|
+
digitalOceanToken?: string;
|
|
12
|
+
azureClientId?: string;
|
|
13
|
+
azureClientSecret?: string;
|
|
14
|
+
azureTenantId?: string;
|
|
15
|
+
azureSubscriptionId?: string;
|
|
16
|
+
googleCloudKeyJson?: string;
|
|
17
|
+
googleCloudProjectId?: string;
|
|
18
|
+
vultrApiKey?: string;
|
|
19
|
+
linodeToken?: string;
|
|
20
|
+
ovhApplicationKey?: string;
|
|
21
|
+
ovhApplicationSecret?: string;
|
|
22
|
+
ovhConsumerKey?: string;
|
|
23
|
+
scalewayAccessKey?: string;
|
|
24
|
+
scalewaySecretKey?: string;
|
|
25
|
+
scalewayOrganizationId?: string;
|
|
26
|
+
[key: string]: string | undefined;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Interface for masked settings (used in API responses)
|
|
30
|
+
* Shows only last 4 characters of sensitive tokens
|
|
31
|
+
*/
|
|
32
|
+
export type ICloudlySettingsMasked = {
|
|
33
|
+
[K in keyof ICloudlySettings]: string | undefined;
|
|
34
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import * as plugins from '../plugins.js';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2V0dGluZ3MuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9kYXRhL3NldHRpbmdzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sS0FBSyxPQUFPLE1BQU0sZUFBZSxDQUFDIn0=
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import * as plugins from '../plugins.js';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhdHVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vdHMvZGF0YS9zdGF0dXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLE9BQU8sTUFBTSxlQUFlLENBQUMifQ==
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Task execution tracking for the task management system
|
|
3
|
+
* Tasks themselves are hard-coded using @push.rocks/taskbuffer
|
|
4
|
+
* This interface tracks execution history and outcomes
|
|
5
|
+
*/
|
|
6
|
+
export interface ITaskExecution {
|
|
7
|
+
id: string;
|
|
8
|
+
data: {
|
|
9
|
+
/**
|
|
10
|
+
* Name of the task being executed
|
|
11
|
+
*/
|
|
12
|
+
taskName: string;
|
|
13
|
+
/**
|
|
14
|
+
* Optional description of what the task does
|
|
15
|
+
*/
|
|
16
|
+
taskDescription?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Category for grouping tasks
|
|
19
|
+
*/
|
|
20
|
+
category?: 'maintenance' | 'deployment' | 'backup' | 'monitoring' | 'cleanup' | 'system' | 'security';
|
|
21
|
+
/**
|
|
22
|
+
* Timestamp when the task started
|
|
23
|
+
*/
|
|
24
|
+
startedAt: number;
|
|
25
|
+
/**
|
|
26
|
+
* Timestamp when the task completed
|
|
27
|
+
*/
|
|
28
|
+
completedAt?: number;
|
|
29
|
+
/**
|
|
30
|
+
* Current status of the task execution
|
|
31
|
+
*/
|
|
32
|
+
status: 'running' | 'completed' | 'failed' | 'cancelled';
|
|
33
|
+
/**
|
|
34
|
+
* Duration in milliseconds
|
|
35
|
+
*/
|
|
36
|
+
duration?: number;
|
|
37
|
+
/**
|
|
38
|
+
* How the task was triggered
|
|
39
|
+
*/
|
|
40
|
+
triggeredBy: 'schedule' | 'manual' | 'system';
|
|
41
|
+
/**
|
|
42
|
+
* User ID if manually triggered
|
|
43
|
+
*/
|
|
44
|
+
userId?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Execution logs
|
|
47
|
+
*/
|
|
48
|
+
logs: Array<{
|
|
49
|
+
timestamp: number;
|
|
50
|
+
message: string;
|
|
51
|
+
severity: 'info' | 'warning' | 'error' | 'success';
|
|
52
|
+
}>;
|
|
53
|
+
/**
|
|
54
|
+
* Task-specific metrics
|
|
55
|
+
*/
|
|
56
|
+
metrics?: {
|
|
57
|
+
[key: string]: any;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Final result/output of the task
|
|
61
|
+
*/
|
|
62
|
+
result?: any;
|
|
63
|
+
/**
|
|
64
|
+
* Error details if the task failed
|
|
65
|
+
*/
|
|
66
|
+
error?: {
|
|
67
|
+
message: string;
|
|
68
|
+
stack?: string;
|
|
69
|
+
code?: string;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as plugins from '../plugins.js';
|
|
2
2
|
export {};
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhZmZpYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3RzL2RhdGEvdHJhZmZpYy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssT0FBTyxNQUFNLGVBQWUsQ0FBQztBQUl6QyxPQUFPLEVBQTRCLENBQUMifQ==
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3RzL2RhdGEvdXNlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3RzL2RhdGEvdmVyc2lvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -2,4 +2,4 @@ import * as data from './data/index.js';
|
|
|
2
2
|
import * as platformservice from './platformservice/index.js';
|
|
3
3
|
import * as requests from './requests/index.js';
|
|
4
4
|
export { data, platformservice, requests };
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssSUFBSSxNQUFNLGlCQUFpQixDQUFDO0FBQ3hDLE9BQU8sS0FBSyxlQUFlLE1BQU0sNEJBQTRCLENBQUM7QUFDOUQsT0FBTyxLQUFLLFFBQVEsTUFBTSxxQkFBcUIsQ0FBQztBQUVoRCxPQUFPLEVBQ0wsSUFBSSxFQUNKLGVBQWUsRUFDZixRQUFRLEVBQ1QsQ0FBQSJ9
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import * as plugins from '../plugins.js';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWlicmlkZ2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9wbGF0Zm9ybXNlcnZpY2UvYWlicmlkZ2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLE9BQU8sTUFBTSxlQUFlLENBQUMifQ==
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as aibridge from './aibridge.js';
|
|
2
|
+
import * as letter from './letter.js';
|
|
3
|
+
import * as mta from './mta.js';
|
|
4
|
+
import * as pushnotification from './pushnotification.js';
|
|
5
|
+
import * as sms from './sms.js';
|
|
6
|
+
export { aibridge, letter, mta, pushnotification, sms, };
|
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9wbGF0Zm9ybXNlcnZpY2UvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLFFBQVEsTUFBTSxlQUFlLENBQUM7QUFDMUMsT0FBTyxLQUFLLE1BQU0sTUFBTSxhQUFhLENBQUM7QUFDdEMsT0FBTyxLQUFLLEdBQUcsTUFBTSxVQUFVLENBQUM7QUFDaEMsT0FBTyxLQUFLLGdCQUFnQixNQUFNLHVCQUF1QixDQUFDO0FBQzFELE9BQU8sS0FBSyxHQUFHLE1BQU0sVUFBVSxDQUFDO0FBRWhDLE9BQU8sRUFDTCxRQUFRLEVBQ1IsTUFBTSxFQUNOLEdBQUcsRUFDSCxnQkFBZ0IsRUFDaEIsR0FBRyxHQUNKLENBQUEifQ==
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import * as plugins from '../plugins.js';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGV0dGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vdHMvcGxhdGZvcm1zZXJ2aWNlL2xldHRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssT0FBTyxNQUFNLGVBQWUsQ0FBQyJ9
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import * as plugins from '../plugins.js';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vdHMvcGxhdGZvcm1zZXJ2aWNlL210YS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssT0FBTyxNQUFNLGVBQWUsQ0FBQyJ9
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import * as plugins from '../plugins.js';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVzaG5vdGlmaWNhdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3RzL3BsYXRmb3Jtc2VydmljZS9wdXNobm90aWZpY2F0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sS0FBSyxPQUFPLE1BQU0sZUFBZSxDQUFDIn0=
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import * as plugins from '../plugins.js';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vdHMvcGxhdGZvcm1zZXJ2aWNlL3Ntcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssT0FBTyxNQUFNLGVBQWUsQ0FBQyJ9
|
|
@@ -7,4 +7,4 @@ export { smartlogInterfaces, };
|
|
|
7
7
|
// tsclass scope
|
|
8
8
|
import * as tsclass from '@tsclass/tsclass';
|
|
9
9
|
export { tsclass };
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGx1Z2lucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL3BsdWdpbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsbUJBQW1CO0FBQ25CLE9BQU8sS0FBSyxzQkFBc0IsTUFBTSxxQ0FBcUMsQ0FBQztBQUU5RSxPQUFPLEVBQ0wsc0JBQXNCLEVBQ3ZCLENBQUE7QUFFRCxvQkFBb0I7QUFDcEIsT0FBTyxLQUFLLGtCQUFrQixNQUFNLGlDQUFpQyxDQUFDO0FBRXRFLE9BQU8sRUFDTCxrQkFBa0IsR0FDbkIsQ0FBQTtBQUVELGdCQUFnQjtBQUNoQixPQUFPLEtBQUssT0FBTyxNQUFNLGtCQUFrQixDQUFDO0FBRTVDLE9BQU8sRUFDTCxPQUFPLEVBQ1IsQ0FBQSJ9
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as plugins from '../plugins.js';
|
|
2
2
|
import * as userInterfaces from '../data/user.js';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRtaW4uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9yZXF1ZXN0cy9hZG1pbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssT0FBTyxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEtBQUssY0FBYyxNQUFNLGlCQUFpQixDQUFDIn0=
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { IBareMetal } from '../data/baremetal.js';
|
|
2
|
+
export interface IRequest_Any_Cloudly_GetBaremetalServers {
|
|
3
|
+
method: 'getBaremetalServers';
|
|
4
|
+
request: {};
|
|
5
|
+
response: {
|
|
6
|
+
baremetals: IBareMetal[];
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export interface IRequest_Any_Cloudly_ControlBaremetal {
|
|
10
|
+
method: 'controlBaremetal';
|
|
11
|
+
request: {
|
|
12
|
+
baremetalId: string;
|
|
13
|
+
action: 'powerOn' | 'powerOff' | 'reset';
|
|
14
|
+
};
|
|
15
|
+
response: {
|
|
16
|
+
success: boolean;
|
|
17
|
+
message: string;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import * as plugins from '../plugins.js';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFyZW1ldGFsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vdHMvcmVxdWVzdHMvYmFyZW1ldGFsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sS0FBSyxPQUFPLE1BQU0sZUFBZSxDQUFDIn0=
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as plugins from '../plugins.js';
|
|
2
2
|
import * as userInterfaces from '../data/user.js';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2VydGlmaWNhdGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9yZXF1ZXN0cy9jZXJ0aWZpY2F0ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssT0FBTyxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEtBQUssY0FBYyxNQUFNLGlCQUFpQixDQUFDIn0=
|
|
@@ -28,6 +28,7 @@ export interface IRequest_CreateCluster extends plugins.typedrequestInterfaces.i
|
|
|
28
28
|
request: {
|
|
29
29
|
identity: userInterfaces.IIdentity;
|
|
30
30
|
clusterName: string;
|
|
31
|
+
setupMode?: 'manual' | 'hetzner' | 'aws' | 'digitalocean';
|
|
31
32
|
};
|
|
32
33
|
response: {
|
|
33
34
|
cluster: clusterInterfaces.ICluster;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as userInterfaces from '../data/user.js';
|
|
2
2
|
import * as clusterInterfaces from '../data/cluster.js';
|
|
3
3
|
import * as plugins from '../plugins.js';
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2x1c3Rlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3RzL3JlcXVlc3RzL2NsdXN0ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLGNBQWMsTUFBTSxpQkFBaUIsQ0FBQztBQUNsRCxPQUFPLEtBQUssaUJBQWlCLE1BQU0sb0JBQW9CLENBQUM7QUFDeEQsT0FBTyxLQUFLLE9BQU8sTUFBTSxlQUFlLENBQUMifQ==
|
|
@@ -2,4 +2,4 @@ import * as plugins from '../plugins.js';
|
|
|
2
2
|
import * as clusterInterfaces from '../data/cluster.js';
|
|
3
3
|
import * as serverInterfaces from '../data/server.js';
|
|
4
4
|
import * as userInterfaces from '../data/user.js';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlnLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vdHMvcmVxdWVzdHMvY29uZmlnLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sS0FBSyxPQUFPLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sS0FBSyxpQkFBaUIsTUFBTSxvQkFBb0IsQ0FBQztBQUN4RCxPQUFPLEtBQUssZ0JBQWdCLE1BQU0sbUJBQW1CLENBQUM7QUFDdEQsT0FBTyxLQUFLLGNBQWMsTUFBTSxpQkFBaUIsQ0FBQyJ9
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import * as plugins from '../plugins.js';
|
|
2
|
+
import type { IDeployment } from '../data/deployment.js';
|
|
3
|
+
import type { IIdentity } from '../data/user.js';
|
|
4
|
+
export interface IReq_Any_Cloudly_GetDeploymentById extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Any_Cloudly_GetDeploymentById> {
|
|
5
|
+
method: 'getDeploymentById';
|
|
6
|
+
request: {
|
|
7
|
+
identity: IIdentity;
|
|
8
|
+
deploymentId: string;
|
|
9
|
+
};
|
|
10
|
+
response: {
|
|
11
|
+
deployment: IDeployment;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export interface IReq_Any_Cloudly_GetDeployments extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Any_Cloudly_GetDeployments> {
|
|
15
|
+
method: 'getDeployments';
|
|
16
|
+
request: {
|
|
17
|
+
identity: IIdentity;
|
|
18
|
+
};
|
|
19
|
+
response: {
|
|
20
|
+
deployments: IDeployment[];
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
export interface IReq_Any_Cloudly_GetDeploymentsByService extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Any_Cloudly_GetDeploymentsByService> {
|
|
24
|
+
method: 'getDeploymentsByService';
|
|
25
|
+
request: {
|
|
26
|
+
identity: IIdentity;
|
|
27
|
+
serviceId: string;
|
|
28
|
+
};
|
|
29
|
+
response: {
|
|
30
|
+
deployments: IDeployment[];
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export interface IReq_Any_Cloudly_GetDeploymentsByNode extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Any_Cloudly_GetDeploymentsByNode> {
|
|
34
|
+
method: 'getDeploymentsByNode';
|
|
35
|
+
request: {
|
|
36
|
+
identity: IIdentity;
|
|
37
|
+
nodeId: string;
|
|
38
|
+
};
|
|
39
|
+
response: {
|
|
40
|
+
deployments: IDeployment[];
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export interface IReq_Any_Cloudly_CreateDeployment extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Any_Cloudly_CreateDeployment> {
|
|
44
|
+
method: 'createDeployment';
|
|
45
|
+
request: {
|
|
46
|
+
identity: IIdentity;
|
|
47
|
+
deploymentData: Partial<IDeployment>;
|
|
48
|
+
};
|
|
49
|
+
response: {
|
|
50
|
+
deployment: IDeployment;
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
export interface IReq_Any_Cloudly_UpdateDeployment extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Any_Cloudly_UpdateDeployment> {
|
|
54
|
+
method: 'updateDeployment';
|
|
55
|
+
request: {
|
|
56
|
+
identity: IIdentity;
|
|
57
|
+
deploymentId: string;
|
|
58
|
+
deploymentData: Partial<IDeployment>;
|
|
59
|
+
};
|
|
60
|
+
response: {
|
|
61
|
+
deployment: IDeployment;
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
export interface IReq_Any_Cloudly_DeleteDeploymentById extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Any_Cloudly_DeleteDeploymentById> {
|
|
65
|
+
method: 'deleteDeploymentById';
|
|
66
|
+
request: {
|
|
67
|
+
identity: IIdentity;
|
|
68
|
+
deploymentId: string;
|
|
69
|
+
};
|
|
70
|
+
response: {
|
|
71
|
+
success: boolean;
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
export interface IReq_Any_Cloudly_RestartDeployment extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Any_Cloudly_RestartDeployment> {
|
|
75
|
+
method: 'restartDeployment';
|
|
76
|
+
request: {
|
|
77
|
+
identity: IIdentity;
|
|
78
|
+
deploymentId: string;
|
|
79
|
+
};
|
|
80
|
+
response: {
|
|
81
|
+
success: boolean;
|
|
82
|
+
deployment: IDeployment;
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
export interface IReq_Any_Cloudly_ScaleDeployment extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Any_Cloudly_ScaleDeployment> {
|
|
86
|
+
method: 'scaleDeployment';
|
|
87
|
+
request: {
|
|
88
|
+
identity: IIdentity;
|
|
89
|
+
deploymentId: string;
|
|
90
|
+
replicas: number;
|
|
91
|
+
};
|
|
92
|
+
response: {
|
|
93
|
+
success: boolean;
|
|
94
|
+
deployment: IDeployment;
|
|
95
|
+
};
|
|
96
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import * as plugins from '../plugins.js';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVwbG95bWVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3RzL3JlcXVlc3RzL2RlcGxveW1lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLE9BQU8sTUFBTSxlQUFlLENBQUMifQ==
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import * as plugins from '../plugins.js';
|
|
2
|
+
import type { IDnsEntry } from '../data/dns.js';
|
|
3
|
+
import type { IIdentity } from '../data/user.js';
|
|
4
|
+
export interface IRequest_Any_Cloudly_GetDnsEntries extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequest_Any_Cloudly_GetDnsEntries> {
|
|
5
|
+
method: 'getDnsEntries';
|
|
6
|
+
request: {
|
|
7
|
+
identity: IIdentity;
|
|
8
|
+
zone?: string;
|
|
9
|
+
};
|
|
10
|
+
response: {
|
|
11
|
+
dnsEntries: IDnsEntry[];
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export interface IRequest_Any_Cloudly_GetDnsEntryById extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequest_Any_Cloudly_GetDnsEntryById> {
|
|
15
|
+
method: 'getDnsEntryById';
|
|
16
|
+
request: {
|
|
17
|
+
identity: IIdentity;
|
|
18
|
+
dnsEntryId: string;
|
|
19
|
+
};
|
|
20
|
+
response: {
|
|
21
|
+
dnsEntry: IDnsEntry;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
export interface IRequest_Any_Cloudly_CreateDnsEntry extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequest_Any_Cloudly_CreateDnsEntry> {
|
|
25
|
+
method: 'createDnsEntry';
|
|
26
|
+
request: {
|
|
27
|
+
identity: IIdentity;
|
|
28
|
+
dnsEntryData: IDnsEntry['data'];
|
|
29
|
+
};
|
|
30
|
+
response: {
|
|
31
|
+
dnsEntry: IDnsEntry;
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export interface IRequest_Any_Cloudly_UpdateDnsEntry extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequest_Any_Cloudly_UpdateDnsEntry> {
|
|
35
|
+
method: 'updateDnsEntry';
|
|
36
|
+
request: {
|
|
37
|
+
identity: IIdentity;
|
|
38
|
+
dnsEntryId: string;
|
|
39
|
+
dnsEntryData: IDnsEntry['data'];
|
|
40
|
+
};
|
|
41
|
+
response: {
|
|
42
|
+
dnsEntry: IDnsEntry;
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export interface IRequest_Any_Cloudly_DeleteDnsEntry extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequest_Any_Cloudly_DeleteDnsEntry> {
|
|
46
|
+
method: 'deleteDnsEntry';
|
|
47
|
+
request: {
|
|
48
|
+
identity: IIdentity;
|
|
49
|
+
dnsEntryId: string;
|
|
50
|
+
};
|
|
51
|
+
response: {
|
|
52
|
+
success: boolean;
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
export interface IRequest_Any_Cloudly_GetDnsZones extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequest_Any_Cloudly_GetDnsZones> {
|
|
56
|
+
method: 'getDnsZones';
|
|
57
|
+
request: {
|
|
58
|
+
identity: IIdentity;
|
|
59
|
+
};
|
|
60
|
+
response: {
|
|
61
|
+
zones: string[];
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import * as plugins from '../plugins.js';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG5zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vdHMvcmVxdWVzdHMvZG5zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sS0FBSyxPQUFPLE1BQU0sZUFBZSxDQUFDIn0=
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import * as plugins from '../plugins.js';
|
|
2
|
+
import type { IDomain } from '../data/domain.js';
|
|
3
|
+
import type { IIdentity } from '../data/user.js';
|
|
4
|
+
export interface IRequest_Any_Cloudly_GetDomains extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequest_Any_Cloudly_GetDomains> {
|
|
5
|
+
method: 'getDomains';
|
|
6
|
+
request: {
|
|
7
|
+
identity: IIdentity;
|
|
8
|
+
};
|
|
9
|
+
response: {
|
|
10
|
+
domains: IDomain[];
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export interface IRequest_Any_Cloudly_GetDomainById extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequest_Any_Cloudly_GetDomainById> {
|
|
14
|
+
method: 'getDomainById';
|
|
15
|
+
request: {
|
|
16
|
+
identity: IIdentity;
|
|
17
|
+
domainId: string;
|
|
18
|
+
};
|
|
19
|
+
response: {
|
|
20
|
+
domain: IDomain;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
export interface IRequest_Any_Cloudly_CreateDomain extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequest_Any_Cloudly_CreateDomain> {
|
|
24
|
+
method: 'createDomain';
|
|
25
|
+
request: {
|
|
26
|
+
identity: IIdentity;
|
|
27
|
+
domainData: IDomain['data'];
|
|
28
|
+
};
|
|
29
|
+
response: {
|
|
30
|
+
domain: IDomain;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export interface IRequest_Any_Cloudly_UpdateDomain extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequest_Any_Cloudly_UpdateDomain> {
|
|
34
|
+
method: 'updateDomain';
|
|
35
|
+
request: {
|
|
36
|
+
identity: IIdentity;
|
|
37
|
+
domainId: string;
|
|
38
|
+
domainData: IDomain['data'];
|
|
39
|
+
};
|
|
40
|
+
response: {
|
|
41
|
+
domain: IDomain;
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
export interface IRequest_Any_Cloudly_DeleteDomain extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequest_Any_Cloudly_DeleteDomain> {
|
|
45
|
+
method: 'deleteDomain';
|
|
46
|
+
request: {
|
|
47
|
+
identity: IIdentity;
|
|
48
|
+
domainId: string;
|
|
49
|
+
};
|
|
50
|
+
response: {
|
|
51
|
+
success: boolean;
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
export interface IRequest_Any_Cloudly_VerifyDomain extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequest_Any_Cloudly_VerifyDomain> {
|
|
55
|
+
method: 'verifyDomain';
|
|
56
|
+
request: {
|
|
57
|
+
identity: IIdentity;
|
|
58
|
+
domainId: string;
|
|
59
|
+
verificationMethod?: 'dns' | 'http' | 'email' | 'manual';
|
|
60
|
+
};
|
|
61
|
+
response: {
|
|
62
|
+
domain: IDomain;
|
|
63
|
+
verificationResult: {
|
|
64
|
+
success: boolean;
|
|
65
|
+
message?: string;
|
|
66
|
+
details?: any;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import * as plugins from '../plugins.js';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9tYWluLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vdHMvcmVxdWVzdHMvZG9tYWluLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sS0FBSyxPQUFPLE1BQU0sZUFBZSxDQUFDIn0=
|
|
@@ -34,6 +34,7 @@ export interface IReq_UpdateRegistry extends plugins.typedrequestInterfaces.impl
|
|
|
34
34
|
method: 'updateExternalRegistry';
|
|
35
35
|
request: {
|
|
36
36
|
identity: userInterfaces.IIdentity;
|
|
37
|
+
registryId: string;
|
|
37
38
|
registryData: data.IExternalRegistry['data'];
|
|
38
39
|
};
|
|
39
40
|
response: {
|
|
@@ -50,3 +51,15 @@ export interface IReq_DeleteRegistryById extends plugins.typedrequestInterfaces.
|
|
|
50
51
|
ok: boolean;
|
|
51
52
|
};
|
|
52
53
|
}
|
|
54
|
+
export interface IReq_VerifyRegistry extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_VerifyRegistry> {
|
|
55
|
+
method: 'verifyExternalRegistry';
|
|
56
|
+
request: {
|
|
57
|
+
identity: userInterfaces.IIdentity;
|
|
58
|
+
registryId: string;
|
|
59
|
+
};
|
|
60
|
+
response: {
|
|
61
|
+
success: boolean;
|
|
62
|
+
message?: string;
|
|
63
|
+
registry?: data.IExternalRegistry;
|
|
64
|
+
};
|
|
65
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import * as plugins from '../plugins.js';
|
|
2
|
+
import * as data from '../data/index.js';
|
|
3
|
+
import * as userInterfaces from '../data/user.js';
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXh0ZXJuYWxyZWdpc3RyeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3RzL3JlcXVlc3RzL2V4dGVybmFscmVnaXN0cnkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLE9BQU8sTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxLQUFLLElBQUksTUFBTSxrQkFBa0IsQ0FBQztBQUN6QyxPQUFPLEtBQUssY0FBYyxNQUFNLGlCQUFpQixDQUFDIn0=
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as plugins from '../plugins.js';
|
|
2
2
|
import * as userInterfaces from '../data/user.js';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWRlbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9yZXF1ZXN0cy9pZGVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssT0FBTyxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEtBQUssY0FBYyxNQUFNLGlCQUFpQixDQUFBIn0=
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as plugins from '../plugins.js';
|
|
2
2
|
import * as userInterfaces from '../data/user.js';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW1hZ2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9yZXF1ZXN0cy9pbWFnZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssT0FBTyxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEtBQUssY0FBYyxNQUFNLGlCQUFpQixDQUFDIn0=
|