@leaflow/sdk 0.0.0-dev.413.g2284e60 → 0.0.0-dev.418.ge62522e
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/compute/v2/generated/functions.d.ts +1 -1
- package/dist/compute/v2/generated/functions.js +1 -1
- package/dist/compute/v2/generated/models.d.ts +3 -5
- package/dist/compute/v2/generated/schemas.zod.d.ts +1 -1
- package/dist/compute/v2/generated/schemas.zod.js +1 -1
- package/dist/compute/v2/generated/validators/createElasticIPRequestBody.zod.js +1 -1
- package/dist/compute/v2/generated/validators/elasticIPLine.zod.d.ts +0 -1
- package/dist/compute/v2/generated/validators/elasticIPLine.zod.js +0 -3
- package/dist/compute/v2/generated/validators/elasticIPLineListResponseBody.zod.d.ts +0 -1
- package/dist/compute/v2/generated/validators/newElasticIP.zod.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/routes.d.ts +80 -0
- package/dist/routes.js +90 -0
- package/dist/swas/v1/generated/functions.d.ts +418 -0
- package/dist/swas/v1/generated/functions.js +250 -0
- package/dist/swas/v1/generated/models.d.ts +384 -0
- package/dist/swas/v1/generated/models.js +87 -0
- package/dist/swas/v1/generated/schemas.zod.d.ts +117 -0
- package/dist/swas/v1/generated/schemas.zod.js +120 -0
- package/dist/swas/v1/generated/validators/catalog.zod.d.ts +32 -0
- package/dist/swas/v1/generated/validators/catalog.zod.js +16 -0
- package/dist/swas/v1/generated/validators/createPurchaseHeaders.zod.d.ts +14 -0
- package/dist/swas/v1/generated/validators/createPurchaseHeaders.zod.js +12 -0
- package/dist/swas/v1/generated/validators/cursorPagination.zod.d.ts +14 -0
- package/dist/swas/v1/generated/validators/cursorPagination.zod.js +14 -0
- package/dist/swas/v1/generated/validators/customerRefundProgress.zod.d.ts +16 -0
- package/dist/swas/v1/generated/validators/customerRefundProgress.zod.js +14 -0
- package/dist/swas/v1/generated/validators/decimalAmount.zod.d.ts +12 -0
- package/dist/swas/v1/generated/validators/decimalAmount.zod.js +11 -0
- package/dist/swas/v1/generated/validators/error.zod.d.ts +16 -0
- package/dist/swas/v1/generated/validators/error.zod.js +17 -0
- package/dist/swas/v1/generated/validators/expectedQuote.zod.d.ts +14 -0
- package/dist/swas/v1/generated/validators/expectedQuote.zod.js +13 -0
- package/dist/swas/v1/generated/validators/instance.zod.d.ts +58 -0
- package/dist/swas/v1/generated/validators/instance.zod.js +47 -0
- package/dist/swas/v1/generated/validators/instanceCapabilities.zod.d.ts +16 -0
- package/dist/swas/v1/generated/validators/instanceCapabilities.zod.js +14 -0
- package/dist/swas/v1/generated/validators/instanceList.zod.d.ts +62 -0
- package/dist/swas/v1/generated/validators/instanceList.zod.js +15 -0
- package/dist/swas/v1/generated/validators/instancePagination.zod.d.ts +15 -0
- package/dist/swas/v1/generated/validators/instancePagination.zod.js +10 -0
- package/dist/swas/v1/generated/validators/instancePrice.zod.d.ts +15 -0
- package/dist/swas/v1/generated/validators/instancePrice.zod.js +21 -0
- package/dist/swas/v1/generated/validators/listInstancesParams.zod.d.ts +20 -0
- package/dist/swas/v1/generated/validators/listInstancesParams.zod.js +22 -0
- package/dist/swas/v1/generated/validators/listPlansParams.zod.d.ts +14 -0
- package/dist/swas/v1/generated/validators/listPlansParams.zod.js +12 -0
- package/dist/swas/v1/generated/validators/managementOperation.zod.d.ts +36 -0
- package/dist/swas/v1/generated/validators/managementOperation.zod.js +21 -0
- package/dist/swas/v1/generated/validators/money.zod.d.ts +11 -0
- package/dist/swas/v1/generated/validators/money.zod.js +11 -0
- package/dist/swas/v1/generated/validators/offsetPagination.zod.d.ts +16 -0
- package/dist/swas/v1/generated/validators/offsetPagination.zod.js +16 -0
- package/dist/swas/v1/generated/validators/plan.zod.d.ts +29 -0
- package/dist/swas/v1/generated/validators/plan.zod.js +22 -0
- package/dist/swas/v1/generated/validators/price.zod.d.ts +19 -0
- package/dist/swas/v1/generated/validators/price.zod.js +28 -0
- package/dist/swas/v1/generated/validators/purchase.zod.d.ts +34 -0
- package/dist/swas/v1/generated/validators/purchase.zod.js +34 -0
- package/dist/swas/v1/generated/validators/purchaseCreate.zod.d.ts +27 -0
- package/dist/swas/v1/generated/validators/purchaseCreate.zod.js +23 -0
- package/dist/swas/v1/generated/validators/rebootCycle.zod.d.ts +14 -0
- package/dist/swas/v1/generated/validators/rebootCycle.zod.js +17 -0
- package/dist/swas/v1/generated/validators/rebootInstance.zod.d.ts +11 -0
- package/dist/swas/v1/generated/validators/rebootInstance.zod.js +9 -0
- package/dist/swas/v1/generated/validators/rebootInstanceHeaders.zod.d.ts +14 -0
- package/dist/swas/v1/generated/validators/rebootInstanceHeaders.zod.js +12 -0
- package/dist/swas/v1/generated/validators/refundProgress.zod.d.ts +33 -0
- package/dist/swas/v1/generated/validators/refundProgress.zod.js +27 -0
- package/dist/swas/v1/generated/validators/startInstance.zod.d.ts +11 -0
- package/dist/swas/v1/generated/validators/startInstance.zod.js +9 -0
- package/dist/swas/v1/generated/validators/startInstanceHeaders.zod.d.ts +14 -0
- package/dist/swas/v1/generated/validators/startInstanceHeaders.zod.js +12 -0
- package/dist/swas/v1/generated/validators/stopInstance.zod.d.ts +11 -0
- package/dist/swas/v1/generated/validators/stopInstance.zod.js +9 -0
- package/dist/swas/v1/generated/validators/stopInstanceHeaders.zod.d.ts +14 -0
- package/dist/swas/v1/generated/validators/stopInstanceHeaders.zod.js +12 -0
- package/dist/swas/v1/generated/validators/supplierRefundProgress.zod.d.ts +14 -0
- package/dist/swas/v1/generated/validators/supplierRefundProgress.zod.js +12 -0
- package/dist/swas/v1/index.d.ts +4 -0
- package/dist/swas/v1/index.js +4 -0
- package/dist/swas/v1/response-schemas.d.ts +18 -0
- package/dist/swas/v1/response-schemas.js +19 -0
- package/package.json +1 -1
|
@@ -225,7 +225,7 @@ export declare const getUpdateElasticIpUrl: (elasticIpId: ElasticIPID) => string
|
|
|
225
225
|
/**
|
|
226
226
|
* Changes the bandwidth of this elastic IP, or what its pay-as-you-go network subscription charges for. `bandwidth_mbps` and `internet_charge_type` are operational fields: each starts a change and cannot be combined with any other field in the same request. Such a request is refused with 422 `UPDATE_FIELDS_COMBINED`, because a change that committed beside another that was then refused would leave the request half applied. An elastic IP has no descriptive field today, so 200 is reserved for the fields that may be added to it and every accepted update answers 202. `checkout` and `proration_date` belong to the purchase of the `bandwidth_mbps` change and are accepted only together with it.
|
|
227
227
|
*
|
|
228
|
-
* No separate bandwidth resource is created, and the limit applies to inbound and outbound traffic alike. The new value
|
|
228
|
+
* No separate bandwidth resource is created, and the limit applies to inbound and outbound traffic alike. The new value may be any whole number of Mbps within the line's bandwidth range, otherwise the request is refused with `ELASTIC_IP_BANDWIDTH_RANGE`. How the change is paid follows the elastic IP's network subscription:
|
|
229
229
|
*
|
|
230
230
|
* - **Prepaid**: the change goes through a Checkout Session that changes the network subscription, priced for the rest of its period. It starts once Billing accepts the order; if checkout is not completed, the order is not accepted or the change fails, `bandwidth_mbps` keeps its value and Billing shows the outcome.
|
|
231
231
|
* - **Pay-as-you-go**: there is no checkout. The change starts at once, `checkout_session_id` and `order_id` are null, and the new limit is metered from the instant it is applied; if it fails, the old limit stays in effect and metered. `checkout` and `proration_date` are refused with `ELASTIC_IP_CHECKOUT_UNUSED`.
|
|
@@ -168,7 +168,7 @@ export const getUpdateElasticIpUrl = (elasticIpId) => {
|
|
|
168
168
|
/**
|
|
169
169
|
* Changes the bandwidth of this elastic IP, or what its pay-as-you-go network subscription charges for. `bandwidth_mbps` and `internet_charge_type` are operational fields: each starts a change and cannot be combined with any other field in the same request. Such a request is refused with 422 `UPDATE_FIELDS_COMBINED`, because a change that committed beside another that was then refused would leave the request half applied. An elastic IP has no descriptive field today, so 200 is reserved for the fields that may be added to it and every accepted update answers 202. `checkout` and `proration_date` belong to the purchase of the `bandwidth_mbps` change and are accepted only together with it.
|
|
170
170
|
*
|
|
171
|
-
* No separate bandwidth resource is created, and the limit applies to inbound and outbound traffic alike. The new value
|
|
171
|
+
* No separate bandwidth resource is created, and the limit applies to inbound and outbound traffic alike. The new value may be any whole number of Mbps within the line's bandwidth range, otherwise the request is refused with `ELASTIC_IP_BANDWIDTH_RANGE`. How the change is paid follows the elastic IP's network subscription:
|
|
172
172
|
*
|
|
173
173
|
* - **Prepaid**: the change goes through a Checkout Session that changes the network subscription, priced for the rest of its period. It starts once Billing accepts the order; if checkout is not completed, the order is not accepted or the change fails, `bandwidth_mbps` keeps its value and Billing shows the outcome.
|
|
174
174
|
* - **Pay-as-you-go**: there is no checkout. The change starts at once, `checkout_session_id` and `order_id` are null, and the new limit is metered from the instant it is applied; if it fails, the old limit stays in effect and metered. `checkout` and `proration_date` are refused with `ELASTIC_IP_CHECKOUT_UNUSED`.
|
|
@@ -284,8 +284,6 @@ export interface ElasticIPLine {
|
|
|
284
284
|
min_bandwidth_mbps: number;
|
|
285
285
|
/** The most bandwidth an elastic IP of this line can be bought with, in Mbps, at most 1000. An elastic IP associated with an instance is also held to the instance type's `max_bandwidth_mbps`. */
|
|
286
286
|
max_bandwidth_mbps: number;
|
|
287
|
-
/** Bandwidth is bought in multiples of this many Mbps, from `min_bandwidth_mbps` to `max_bandwidth_mbps`, both of which are multiples of it too. */
|
|
288
|
-
bandwidth_step_mbps: number;
|
|
289
287
|
/** `on_sale` is offered for new elastic IPs; `off_sale` takes none, while the elastic IPs already on it keep working. */
|
|
290
288
|
sale_status: ElasticIPLineSaleStatus;
|
|
291
289
|
/** Whether an elastic IP of this line can be bought with `internet_charge_type` `traffic`, billed by the bytes it sends. `off_sale` refuses that with `ELASTIC_IP_TRAFFIC_UNAVAILABLE`. */
|
|
@@ -634,8 +632,8 @@ export interface CreateElasticIPRequestBody {
|
|
|
634
632
|
* charged nothing for the traffic, while the address itself bills normally — so the invoice
|
|
635
633
|
* looks correct and nothing anywhere reports it.
|
|
636
634
|
*
|
|
637
|
-
*
|
|
638
|
-
*
|
|
635
|
+
* Any whole number of Mbps within the line's `min_bandwidth_mbps` and `max_bandwidth_mbps`, otherwise the
|
|
636
|
+
* request is refused with `ELASTIC_IP_BANDWIDTH_RANGE`. Changing it
|
|
639
637
|
* later updates the same elastic IP through `update-elastic-ip`, not an independent bandwidth resource.
|
|
640
638
|
* @minimum 1
|
|
641
639
|
* @maximum 1000
|
|
@@ -1254,7 +1252,7 @@ export interface NewElasticIP {
|
|
|
1254
1252
|
type: NewElasticIPType;
|
|
1255
1253
|
line_id: ElasticIPLineID;
|
|
1256
1254
|
/**
|
|
1257
|
-
*
|
|
1255
|
+
* Any whole number of Mbps within the line's `min_bandwidth_mbps` and `max_bandwidth_mbps`, otherwise refused with `ELASTIC_IP_BANDWIDTH_RANGE`.
|
|
1258
1256
|
* @minimum 1
|
|
1259
1257
|
* @maximum 1000
|
|
1260
1258
|
*/
|
|
@@ -158,7 +158,7 @@ export declare const GetElasticIpParams: zod.ZodObject<{
|
|
|
158
158
|
/**
|
|
159
159
|
* Changes the bandwidth of this elastic IP, or what its pay-as-you-go network subscription charges for. `bandwidth_mbps` and `internet_charge_type` are operational fields: each starts a change and cannot be combined with any other field in the same request. Such a request is refused with 422 `UPDATE_FIELDS_COMBINED`, because a change that committed beside another that was then refused would leave the request half applied. An elastic IP has no descriptive field today, so 200 is reserved for the fields that may be added to it and every accepted update answers 202. `checkout` and `proration_date` belong to the purchase of the `bandwidth_mbps` change and are accepted only together with it.
|
|
160
160
|
*
|
|
161
|
-
* No separate bandwidth resource is created, and the limit applies to inbound and outbound traffic alike. The new value
|
|
161
|
+
* No separate bandwidth resource is created, and the limit applies to inbound and outbound traffic alike. The new value may be any whole number of Mbps within the line's bandwidth range, otherwise the request is refused with `ELASTIC_IP_BANDWIDTH_RANGE`. How the change is paid follows the elastic IP's network subscription:
|
|
162
162
|
*
|
|
163
163
|
* - **Prepaid**: the change goes through a Checkout Session that changes the network subscription, priced for the rest of its period. It starts once Billing accepts the order; if checkout is not completed, the order is not accepted or the change fails, `bandwidth_mbps` keeps its value and Billing shows the outcome.
|
|
164
164
|
* - **Pay-as-you-go**: there is no checkout. The change starts at once, `checkout_session_id` and `order_id` are null, and the new limit is metered from the instant it is applied; if it fails, the old limit stays in effect and metered. `checkout` and `proration_date` are refused with `ELASTIC_IP_CHECKOUT_UNUSED`.
|
|
@@ -223,7 +223,7 @@ export const GetElasticIpParams = zod.strictObject({
|
|
|
223
223
|
/**
|
|
224
224
|
* Changes the bandwidth of this elastic IP, or what its pay-as-you-go network subscription charges for. `bandwidth_mbps` and `internet_charge_type` are operational fields: each starts a change and cannot be combined with any other field in the same request. Such a request is refused with 422 `UPDATE_FIELDS_COMBINED`, because a change that committed beside another that was then refused would leave the request half applied. An elastic IP has no descriptive field today, so 200 is reserved for the fields that may be added to it and every accepted update answers 202. `checkout` and `proration_date` belong to the purchase of the `bandwidth_mbps` change and are accepted only together with it.
|
|
225
225
|
*
|
|
226
|
-
* No separate bandwidth resource is created, and the limit applies to inbound and outbound traffic alike. The new value
|
|
226
|
+
* No separate bandwidth resource is created, and the limit applies to inbound and outbound traffic alike. The new value may be any whole number of Mbps within the line's bandwidth range, otherwise the request is refused with `ELASTIC_IP_BANDWIDTH_RANGE`. How the change is paid follows the elastic IP's network subscription:
|
|
227
227
|
*
|
|
228
228
|
* - **Prepaid**: the change goes through a Checkout Session that changes the network subscription, priced for the rest of its period. It starts once Billing accepts the order; if checkout is not completed, the order is not accepted or the change fails, `bandwidth_mbps` keeps its value and Billing shows the outcome.
|
|
229
229
|
* - **Pay-as-you-go**: there is no checkout. The change starts at once, `checkout_session_id` and `order_id` are null, and the new limit is metered from the instant it is applied; if it fails, the old limit stays in effect and metered. `checkout` and `proration_date` are refused with `ELASTIC_IP_CHECKOUT_UNUSED`.
|
|
@@ -46,7 +46,7 @@ export const CreateElasticIPRequestBody = zod.strictObject({
|
|
|
46
46
|
.int()
|
|
47
47
|
.min(1)
|
|
48
48
|
.max(createElasticIPRequestBodyBandwidthMbpsMax)
|
|
49
|
-
.describe('The bandwidth ceiling of this address, in Mbit/s, applied to both directions.\n\nRequired, and there is no "unlimited": an address with no ceiling runs at line rate and is\ncharged nothing for the traffic, while the address itself bills normally — so the invoice\nlooks correct and nothing anywhere reports it.\n\
|
|
49
|
+
.describe('The bandwidth ceiling of this address, in Mbit/s, applied to both directions.\n\nRequired, and there is no "unlimited": an address with no ceiling runs at line rate and is\ncharged nothing for the traffic, while the address itself bills normally — so the invoice\nlooks correct and nothing anywhere reports it.\n\nAny whole number of Mbps within the line\'s `min_bandwidth_mbps` and `max_bandwidth_mbps`, otherwise the\nrequest is refused with `ELASTIC_IP_BANDWIDTH_RANGE`. Changing it\nlater updates the same elastic IP through `update-elastic-ip`, not an independent bandwidth resource.'),
|
|
50
50
|
line_id: ElasticIPLineID,
|
|
51
51
|
billing: BillingChoice,
|
|
52
52
|
checkout: CheckoutOptions.optional(),
|
|
@@ -97,7 +97,6 @@ export declare const ElasticIPLine: zod.ZodObject<{
|
|
|
97
97
|
}, zod.z.core.$strict>;
|
|
98
98
|
min_bandwidth_mbps: zod.ZodInt;
|
|
99
99
|
max_bandwidth_mbps: zod.ZodInt;
|
|
100
|
-
bandwidth_step_mbps: zod.ZodInt;
|
|
101
100
|
sale_status: zod.ZodEnum<{
|
|
102
101
|
on_sale: "on_sale";
|
|
103
102
|
off_sale: "off_sale";
|
|
@@ -53,9 +53,6 @@ export const ElasticIPLine = zod
|
|
|
53
53
|
max_bandwidth_mbps: zod
|
|
54
54
|
.int()
|
|
55
55
|
.describe("The most bandwidth an elastic IP of this line can be bought with, in Mbps, at most 1000. An elastic IP associated with an instance is also held to the instance type's `max_bandwidth_mbps`."),
|
|
56
|
-
bandwidth_step_mbps: zod
|
|
57
|
-
.int()
|
|
58
|
-
.describe("Bandwidth is bought in multiples of this many Mbps, from `min_bandwidth_mbps` to `max_bandwidth_mbps`, both of which are multiples of it too."),
|
|
59
56
|
sale_status: zod
|
|
60
57
|
.enum(["on_sale", "off_sale"])
|
|
61
58
|
.describe("`on_sale` is offered for new elastic IPs; `off_sale` takes none, while the elastic IPs already on it keep working."),
|
|
@@ -95,7 +95,6 @@ export declare const ElasticIPLineListResponseBody: zod.ZodObject<{
|
|
|
95
95
|
}, zod.z.core.$strict>;
|
|
96
96
|
min_bandwidth_mbps: zod.ZodInt;
|
|
97
97
|
max_bandwidth_mbps: zod.ZodInt;
|
|
98
|
-
bandwidth_step_mbps: zod.ZodInt;
|
|
99
98
|
sale_status: zod.ZodEnum<{
|
|
100
99
|
on_sale: "on_sale";
|
|
101
100
|
off_sale: "off_sale";
|
|
@@ -45,7 +45,7 @@ export const NewElasticIP = zod
|
|
|
45
45
|
.int()
|
|
46
46
|
.min(1)
|
|
47
47
|
.max(newElasticIPBandwidthMbpsMax)
|
|
48
|
-
.describe("
|
|
48
|
+
.describe("Any whole number of Mbps within the line's `min_bandwidth_mbps` and `max_bandwidth_mbps`, otherwise refused with `ELASTIC_IP_BANDWIDTH_RANGE`."),
|
|
49
49
|
internet_charge_type: InternetChargeType.optional(),
|
|
50
50
|
billing: BillingChoice.optional(),
|
|
51
51
|
})
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/dist/routes.d.ts
CHANGED
|
@@ -4093,5 +4093,85 @@ export declare const routes: readonly [{
|
|
|
4093
4093
|
readonly operationId: "list-instance-operations";
|
|
4094
4094
|
readonly securityScheme: "ScopedToken";
|
|
4095
4095
|
readonly upstreamUrl: null;
|
|
4096
|
+
}, {
|
|
4097
|
+
readonly service: "swas";
|
|
4098
|
+
readonly contract: "swas";
|
|
4099
|
+
readonly method: "GET";
|
|
4100
|
+
readonly path: "/api/v1/catalog/plans";
|
|
4101
|
+
readonly operationId: "list-plans";
|
|
4102
|
+
readonly securityScheme: "ScopedToken";
|
|
4103
|
+
readonly upstreamUrl: "https://swas.leaflow.cloud";
|
|
4104
|
+
}, {
|
|
4105
|
+
readonly service: "swas";
|
|
4106
|
+
readonly contract: "swas";
|
|
4107
|
+
readonly method: "POST";
|
|
4108
|
+
readonly path: "/api/v1/purchases";
|
|
4109
|
+
readonly operationId: "create-purchase";
|
|
4110
|
+
readonly securityScheme: "ScopedToken";
|
|
4111
|
+
readonly upstreamUrl: "https://swas.leaflow.cloud";
|
|
4112
|
+
}, {
|
|
4113
|
+
readonly service: "swas";
|
|
4114
|
+
readonly contract: "swas";
|
|
4115
|
+
readonly method: "GET";
|
|
4116
|
+
readonly path: "/api/v1/purchases/{purchaseId}";
|
|
4117
|
+
readonly operationId: "get-purchase";
|
|
4118
|
+
readonly securityScheme: "ScopedToken";
|
|
4119
|
+
readonly upstreamUrl: "https://swas.leaflow.cloud";
|
|
4120
|
+
}, {
|
|
4121
|
+
readonly service: "swas";
|
|
4122
|
+
readonly contract: "swas";
|
|
4123
|
+
readonly method: "GET";
|
|
4124
|
+
readonly path: "/api/v1/instances";
|
|
4125
|
+
readonly operationId: "list-instances";
|
|
4126
|
+
readonly securityScheme: "ScopedToken";
|
|
4127
|
+
readonly upstreamUrl: "https://swas.leaflow.cloud";
|
|
4128
|
+
}, {
|
|
4129
|
+
readonly service: "swas";
|
|
4130
|
+
readonly contract: "swas";
|
|
4131
|
+
readonly method: "GET";
|
|
4132
|
+
readonly path: "/api/v1/instances/{instanceId}";
|
|
4133
|
+
readonly operationId: "get-instance";
|
|
4134
|
+
readonly securityScheme: "ScopedToken";
|
|
4135
|
+
readonly upstreamUrl: "https://swas.leaflow.cloud";
|
|
4136
|
+
}, {
|
|
4137
|
+
readonly service: "swas";
|
|
4138
|
+
readonly contract: "swas";
|
|
4139
|
+
readonly method: "POST";
|
|
4140
|
+
readonly path: "/api/v1/instances/{instanceId}:start";
|
|
4141
|
+
readonly operationId: "start-instance";
|
|
4142
|
+
readonly securityScheme: "ScopedToken";
|
|
4143
|
+
readonly upstreamUrl: "https://swas.leaflow.cloud";
|
|
4144
|
+
}, {
|
|
4145
|
+
readonly service: "swas";
|
|
4146
|
+
readonly contract: "swas";
|
|
4147
|
+
readonly method: "GET";
|
|
4148
|
+
readonly path: "/api/v1/instances/{instanceId}/operations/{operationId}";
|
|
4149
|
+
readonly operationId: "get-instance-operation";
|
|
4150
|
+
readonly securityScheme: "ScopedToken";
|
|
4151
|
+
readonly upstreamUrl: "https://swas.leaflow.cloud";
|
|
4152
|
+
}, {
|
|
4153
|
+
readonly service: "swas";
|
|
4154
|
+
readonly contract: "swas";
|
|
4155
|
+
readonly method: "POST";
|
|
4156
|
+
readonly path: "/api/v1/instances/{instanceId}:stop";
|
|
4157
|
+
readonly operationId: "stop-instance";
|
|
4158
|
+
readonly securityScheme: "ScopedToken";
|
|
4159
|
+
readonly upstreamUrl: "https://swas.leaflow.cloud";
|
|
4160
|
+
}, {
|
|
4161
|
+
readonly service: "swas";
|
|
4162
|
+
readonly contract: "swas";
|
|
4163
|
+
readonly method: "GET";
|
|
4164
|
+
readonly path: "/api/v1/instances/{instanceId}/cancellations/{cancellationId}/refund-progress";
|
|
4165
|
+
readonly operationId: "get-cancellation-refund-progress";
|
|
4166
|
+
readonly securityScheme: "ScopedToken";
|
|
4167
|
+
readonly upstreamUrl: "https://swas.leaflow.cloud";
|
|
4168
|
+
}, {
|
|
4169
|
+
readonly service: "swas";
|
|
4170
|
+
readonly contract: "swas";
|
|
4171
|
+
readonly method: "POST";
|
|
4172
|
+
readonly path: "/api/v1/instances/{instanceId}:reboot";
|
|
4173
|
+
readonly operationId: "reboot-instance";
|
|
4174
|
+
readonly securityScheme: "ScopedToken";
|
|
4175
|
+
readonly upstreamUrl: "https://swas.leaflow.cloud";
|
|
4096
4176
|
}];
|
|
4097
4177
|
export type Route = (typeof routes)[number];
|
package/dist/routes.js
CHANGED
|
@@ -4605,4 +4605,94 @@ export const routes = [
|
|
|
4605
4605
|
securityScheme: "ScopedToken",
|
|
4606
4606
|
upstreamUrl: null,
|
|
4607
4607
|
},
|
|
4608
|
+
{
|
|
4609
|
+
service: "swas",
|
|
4610
|
+
contract: "swas",
|
|
4611
|
+
method: "GET",
|
|
4612
|
+
path: "/api/v1/catalog/plans",
|
|
4613
|
+
operationId: "list-plans",
|
|
4614
|
+
securityScheme: "ScopedToken",
|
|
4615
|
+
upstreamUrl: "https://swas.leaflow.cloud",
|
|
4616
|
+
},
|
|
4617
|
+
{
|
|
4618
|
+
service: "swas",
|
|
4619
|
+
contract: "swas",
|
|
4620
|
+
method: "POST",
|
|
4621
|
+
path: "/api/v1/purchases",
|
|
4622
|
+
operationId: "create-purchase",
|
|
4623
|
+
securityScheme: "ScopedToken",
|
|
4624
|
+
upstreamUrl: "https://swas.leaflow.cloud",
|
|
4625
|
+
},
|
|
4626
|
+
{
|
|
4627
|
+
service: "swas",
|
|
4628
|
+
contract: "swas",
|
|
4629
|
+
method: "GET",
|
|
4630
|
+
path: "/api/v1/purchases/{purchaseId}",
|
|
4631
|
+
operationId: "get-purchase",
|
|
4632
|
+
securityScheme: "ScopedToken",
|
|
4633
|
+
upstreamUrl: "https://swas.leaflow.cloud",
|
|
4634
|
+
},
|
|
4635
|
+
{
|
|
4636
|
+
service: "swas",
|
|
4637
|
+
contract: "swas",
|
|
4638
|
+
method: "GET",
|
|
4639
|
+
path: "/api/v1/instances",
|
|
4640
|
+
operationId: "list-instances",
|
|
4641
|
+
securityScheme: "ScopedToken",
|
|
4642
|
+
upstreamUrl: "https://swas.leaflow.cloud",
|
|
4643
|
+
},
|
|
4644
|
+
{
|
|
4645
|
+
service: "swas",
|
|
4646
|
+
contract: "swas",
|
|
4647
|
+
method: "GET",
|
|
4648
|
+
path: "/api/v1/instances/{instanceId}",
|
|
4649
|
+
operationId: "get-instance",
|
|
4650
|
+
securityScheme: "ScopedToken",
|
|
4651
|
+
upstreamUrl: "https://swas.leaflow.cloud",
|
|
4652
|
+
},
|
|
4653
|
+
{
|
|
4654
|
+
service: "swas",
|
|
4655
|
+
contract: "swas",
|
|
4656
|
+
method: "POST",
|
|
4657
|
+
path: "/api/v1/instances/{instanceId}:start",
|
|
4658
|
+
operationId: "start-instance",
|
|
4659
|
+
securityScheme: "ScopedToken",
|
|
4660
|
+
upstreamUrl: "https://swas.leaflow.cloud",
|
|
4661
|
+
},
|
|
4662
|
+
{
|
|
4663
|
+
service: "swas",
|
|
4664
|
+
contract: "swas",
|
|
4665
|
+
method: "GET",
|
|
4666
|
+
path: "/api/v1/instances/{instanceId}/operations/{operationId}",
|
|
4667
|
+
operationId: "get-instance-operation",
|
|
4668
|
+
securityScheme: "ScopedToken",
|
|
4669
|
+
upstreamUrl: "https://swas.leaflow.cloud",
|
|
4670
|
+
},
|
|
4671
|
+
{
|
|
4672
|
+
service: "swas",
|
|
4673
|
+
contract: "swas",
|
|
4674
|
+
method: "POST",
|
|
4675
|
+
path: "/api/v1/instances/{instanceId}:stop",
|
|
4676
|
+
operationId: "stop-instance",
|
|
4677
|
+
securityScheme: "ScopedToken",
|
|
4678
|
+
upstreamUrl: "https://swas.leaflow.cloud",
|
|
4679
|
+
},
|
|
4680
|
+
{
|
|
4681
|
+
service: "swas",
|
|
4682
|
+
contract: "swas",
|
|
4683
|
+
method: "GET",
|
|
4684
|
+
path: "/api/v1/instances/{instanceId}/cancellations/{cancellationId}/refund-progress",
|
|
4685
|
+
operationId: "get-cancellation-refund-progress",
|
|
4686
|
+
securityScheme: "ScopedToken",
|
|
4687
|
+
upstreamUrl: "https://swas.leaflow.cloud",
|
|
4688
|
+
},
|
|
4689
|
+
{
|
|
4690
|
+
service: "swas",
|
|
4691
|
+
contract: "swas",
|
|
4692
|
+
method: "POST",
|
|
4693
|
+
path: "/api/v1/instances/{instanceId}:reboot",
|
|
4694
|
+
operationId: "reboot-instance",
|
|
4695
|
+
securityScheme: "ScopedToken",
|
|
4696
|
+
upstreamUrl: "https://swas.leaflow.cloud",
|
|
4697
|
+
},
|
|
4608
4698
|
];
|