@asteroidai/cli 1.9.328 → 1.9.344
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/dist/asteroid.js +83 -1
- package/dist/core.js +82 -0
- package/package.json +1 -1
package/dist/asteroid.js
CHANGED
|
@@ -3060,6 +3060,88 @@ var COMMANDS = [
|
|
|
3060
3060
|
credentialOrganization: false
|
|
3061
3061
|
}
|
|
3062
3062
|
},
|
|
3063
|
+
{
|
|
3064
|
+
command: "proxy-gateway get",
|
|
3065
|
+
tool: "proxy_gateway_get",
|
|
3066
|
+
title: "Get proxy gateway",
|
|
3067
|
+
description: "Read one proxy gateway by ID, such as a custom environment's `proxyGatewayPresetId`, to see whether it is enabled and why it is not ready (`status`, `statusReason`). Never returns its credentials.",
|
|
3068
|
+
method: "GET",
|
|
3069
|
+
path: "/vpn-gateway/v2/proxy-gateways/{proxyGatewayId}",
|
|
3070
|
+
args: [
|
|
3071
|
+
{
|
|
3072
|
+
name: "proxyGatewayId",
|
|
3073
|
+
flag: "proxy-gateway-id",
|
|
3074
|
+
type: "string",
|
|
3075
|
+
required: true
|
|
3076
|
+
}
|
|
3077
|
+
],
|
|
3078
|
+
query: [],
|
|
3079
|
+
binary: false,
|
|
3080
|
+
readOnly: true,
|
|
3081
|
+
destructive: false
|
|
3082
|
+
},
|
|
3083
|
+
{
|
|
3084
|
+
command: "proxy-gateway list",
|
|
3085
|
+
tool: "proxy_gateways_list",
|
|
3086
|
+
title: "List proxy gateways",
|
|
3087
|
+
description: "List the organization's proxy gateways, or find one with `searchName`. Each has an `id`, `name`, `gatewayType`, `enabled` and `status`, and never its credentials. Route a custom environment through a gateway by setting its `settings.proxy` to `mode` `gateway` and `proxyGatewayPresetId` to the gateway's `id`. Creating a gateway, its credentials and its setup keys stay in the platform app.",
|
|
3088
|
+
method: "GET",
|
|
3089
|
+
path: "/vpn-gateway/v2/proxy-gateways",
|
|
3090
|
+
args: [],
|
|
3091
|
+
query: [
|
|
3092
|
+
{
|
|
3093
|
+
name: "searchName",
|
|
3094
|
+
flag: "search-name",
|
|
3095
|
+
type: "string",
|
|
3096
|
+
required: false,
|
|
3097
|
+
description: "Case-insensitive search on the gateway name."
|
|
3098
|
+
}
|
|
3099
|
+
],
|
|
3100
|
+
binary: false,
|
|
3101
|
+
readOnly: true,
|
|
3102
|
+
destructive: false
|
|
3103
|
+
},
|
|
3104
|
+
{
|
|
3105
|
+
command: "proxy-gateway update",
|
|
3106
|
+
tool: "proxy_gateway_update",
|
|
3107
|
+
title: "Update proxy gateway",
|
|
3108
|
+
description: "Rename a proxy gateway with `name`, or turn it on or off with `enabled`. Only the fields sent change. Turning a gateway off stops new executions through it. Credentials and provider settings change in the platform app.",
|
|
3109
|
+
method: "PATCH",
|
|
3110
|
+
path: "/vpn-gateway/v2/proxy-gateways/{proxyGatewayId}",
|
|
3111
|
+
args: [
|
|
3112
|
+
{
|
|
3113
|
+
name: "proxyGatewayId",
|
|
3114
|
+
flag: "proxy-gateway-id",
|
|
3115
|
+
type: "string",
|
|
3116
|
+
required: true
|
|
3117
|
+
}
|
|
3118
|
+
],
|
|
3119
|
+
query: [],
|
|
3120
|
+
binary: false,
|
|
3121
|
+
readOnly: false,
|
|
3122
|
+
destructive: false,
|
|
3123
|
+
body: {
|
|
3124
|
+
required: true,
|
|
3125
|
+
contentType: "application/json",
|
|
3126
|
+
fields: [
|
|
3127
|
+
{
|
|
3128
|
+
name: "name",
|
|
3129
|
+
flag: "name",
|
|
3130
|
+
type: "string",
|
|
3131
|
+
required: false
|
|
3132
|
+
},
|
|
3133
|
+
{
|
|
3134
|
+
name: "enabled",
|
|
3135
|
+
flag: "enabled",
|
|
3136
|
+
type: "boolean",
|
|
3137
|
+
required: false,
|
|
3138
|
+
description: "Whether the gateway is enabled. A disabled gateway takes no new executions."
|
|
3139
|
+
}
|
|
3140
|
+
],
|
|
3141
|
+
files: [],
|
|
3142
|
+
credentialOrganization: false
|
|
3143
|
+
}
|
|
3144
|
+
},
|
|
3063
3145
|
{
|
|
3064
3146
|
command: "schedule create",
|
|
3065
3147
|
tool: "schedule_create",
|
|
@@ -7650,7 +7732,7 @@ var ApiError = class extends Error {
|
|
|
7650
7732
|
status;
|
|
7651
7733
|
body;
|
|
7652
7734
|
};
|
|
7653
|
-
var VERSION = "1.9.
|
|
7735
|
+
var VERSION = "1.9.344";
|
|
7654
7736
|
function problem(status, body, fallback) {
|
|
7655
7737
|
if (body && typeof body === "object") {
|
|
7656
7738
|
const record2 = body;
|
package/dist/core.js
CHANGED
|
@@ -3081,6 +3081,88 @@ var COMMANDS = [
|
|
|
3081
3081
|
credentialOrganization: false
|
|
3082
3082
|
}
|
|
3083
3083
|
},
|
|
3084
|
+
{
|
|
3085
|
+
command: "proxy-gateway get",
|
|
3086
|
+
tool: "proxy_gateway_get",
|
|
3087
|
+
title: "Get proxy gateway",
|
|
3088
|
+
description: "Read one proxy gateway by ID, such as a custom environment's `proxyGatewayPresetId`, to see whether it is enabled and why it is not ready (`status`, `statusReason`). Never returns its credentials.",
|
|
3089
|
+
method: "GET",
|
|
3090
|
+
path: "/vpn-gateway/v2/proxy-gateways/{proxyGatewayId}",
|
|
3091
|
+
args: [
|
|
3092
|
+
{
|
|
3093
|
+
name: "proxyGatewayId",
|
|
3094
|
+
flag: "proxy-gateway-id",
|
|
3095
|
+
type: "string",
|
|
3096
|
+
required: true
|
|
3097
|
+
}
|
|
3098
|
+
],
|
|
3099
|
+
query: [],
|
|
3100
|
+
binary: false,
|
|
3101
|
+
readOnly: true,
|
|
3102
|
+
destructive: false
|
|
3103
|
+
},
|
|
3104
|
+
{
|
|
3105
|
+
command: "proxy-gateway list",
|
|
3106
|
+
tool: "proxy_gateways_list",
|
|
3107
|
+
title: "List proxy gateways",
|
|
3108
|
+
description: "List the organization's proxy gateways, or find one with `searchName`. Each has an `id`, `name`, `gatewayType`, `enabled` and `status`, and never its credentials. Route a custom environment through a gateway by setting its `settings.proxy` to `mode` `gateway` and `proxyGatewayPresetId` to the gateway's `id`. Creating a gateway, its credentials and its setup keys stay in the platform app.",
|
|
3109
|
+
method: "GET",
|
|
3110
|
+
path: "/vpn-gateway/v2/proxy-gateways",
|
|
3111
|
+
args: [],
|
|
3112
|
+
query: [
|
|
3113
|
+
{
|
|
3114
|
+
name: "searchName",
|
|
3115
|
+
flag: "search-name",
|
|
3116
|
+
type: "string",
|
|
3117
|
+
required: false,
|
|
3118
|
+
description: "Case-insensitive search on the gateway name."
|
|
3119
|
+
}
|
|
3120
|
+
],
|
|
3121
|
+
binary: false,
|
|
3122
|
+
readOnly: true,
|
|
3123
|
+
destructive: false
|
|
3124
|
+
},
|
|
3125
|
+
{
|
|
3126
|
+
command: "proxy-gateway update",
|
|
3127
|
+
tool: "proxy_gateway_update",
|
|
3128
|
+
title: "Update proxy gateway",
|
|
3129
|
+
description: "Rename a proxy gateway with `name`, or turn it on or off with `enabled`. Only the fields sent change. Turning a gateway off stops new executions through it. Credentials and provider settings change in the platform app.",
|
|
3130
|
+
method: "PATCH",
|
|
3131
|
+
path: "/vpn-gateway/v2/proxy-gateways/{proxyGatewayId}",
|
|
3132
|
+
args: [
|
|
3133
|
+
{
|
|
3134
|
+
name: "proxyGatewayId",
|
|
3135
|
+
flag: "proxy-gateway-id",
|
|
3136
|
+
type: "string",
|
|
3137
|
+
required: true
|
|
3138
|
+
}
|
|
3139
|
+
],
|
|
3140
|
+
query: [],
|
|
3141
|
+
binary: false,
|
|
3142
|
+
readOnly: false,
|
|
3143
|
+
destructive: false,
|
|
3144
|
+
body: {
|
|
3145
|
+
required: true,
|
|
3146
|
+
contentType: "application/json",
|
|
3147
|
+
fields: [
|
|
3148
|
+
{
|
|
3149
|
+
name: "name",
|
|
3150
|
+
flag: "name",
|
|
3151
|
+
type: "string",
|
|
3152
|
+
required: false
|
|
3153
|
+
},
|
|
3154
|
+
{
|
|
3155
|
+
name: "enabled",
|
|
3156
|
+
flag: "enabled",
|
|
3157
|
+
type: "boolean",
|
|
3158
|
+
required: false,
|
|
3159
|
+
description: "Whether the gateway is enabled. A disabled gateway takes no new executions."
|
|
3160
|
+
}
|
|
3161
|
+
],
|
|
3162
|
+
files: [],
|
|
3163
|
+
credentialOrganization: false
|
|
3164
|
+
}
|
|
3165
|
+
},
|
|
3084
3166
|
{
|
|
3085
3167
|
command: "schedule create",
|
|
3086
3168
|
tool: "schedule_create",
|