@scaleway/sdk 2.10.0 → 2.12.0
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/api/billing/index.js +2 -0
- package/dist/api/billing/v2beta1/api.gen.js +109 -0
- package/dist/api/billing/v2beta1/index.gen.js +4 -0
- package/dist/api/billing/v2beta1/marshalling.gen.js +133 -0
- package/dist/api/cockpit/v1beta1/api.gen.js +34 -29
- package/dist/api/iam/v1alpha1/api.gen.js +2 -2
- package/dist/api/instance/v1/marshalling.gen.js +4 -2
- package/dist/api/jobs/v1alpha1/api.gen.js +2 -2
- package/dist/api/jobs/v1alpha1/marshalling.gen.js +8 -1
- package/dist/api/k8s/v1/api.gen.js +1 -1
- package/dist/api/rdb/v1/marshalling.gen.js +1 -0
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +2 -2
- package/dist/api/tem/v1alpha1/marshalling.gen.js +5 -0
- package/dist/index.cjs +362 -102
- package/dist/index.d.ts +531 -139
- package/dist/scw/constants.js +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -497,7 +497,7 @@ const assertValidSettings = obj => {
|
|
|
497
497
|
}
|
|
498
498
|
};
|
|
499
499
|
|
|
500
|
-
const version = 'v2.
|
|
500
|
+
const version = 'v2.11.0';
|
|
501
501
|
const userAgent = `scaleway-sdk-js/${version}`;
|
|
502
502
|
|
|
503
503
|
const isBrowser = () =>
|
|
@@ -1706,7 +1706,7 @@ const waitForResource = (stop, fetcher, request, options, strategy = createExpon
|
|
|
1706
1706
|
*
|
|
1707
1707
|
* @internal
|
|
1708
1708
|
*/
|
|
1709
|
-
let API$
|
|
1709
|
+
let API$x = class API {
|
|
1710
1710
|
constructor(client) {
|
|
1711
1711
|
this.client = client;
|
|
1712
1712
|
}
|
|
@@ -2079,7 +2079,7 @@ const jsonContentHeaders$u = {
|
|
|
2079
2079
|
*
|
|
2080
2080
|
* User related data. This API allows you to manage projects.
|
|
2081
2081
|
*/
|
|
2082
|
-
let API$
|
|
2082
|
+
let API$w = class API extends API$x {
|
|
2083
2083
|
/**
|
|
2084
2084
|
* Create a new Project for an Organization. Deprecated in favor of Account
|
|
2085
2085
|
* API v3. Generate a new Project for an Organization, specifying its
|
|
@@ -2164,9 +2164,9 @@ let API$v = class API extends API$w {
|
|
|
2164
2164
|
// This file was automatically generated. DO NOT EDIT.
|
|
2165
2165
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
2166
2166
|
|
|
2167
|
-
var index_gen$
|
|
2167
|
+
var index_gen$v = /*#__PURE__*/Object.freeze({
|
|
2168
2168
|
__proto__: null,
|
|
2169
|
-
API: API$
|
|
2169
|
+
API: API$w
|
|
2170
2170
|
});
|
|
2171
2171
|
|
|
2172
2172
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -2214,7 +2214,7 @@ const jsonContentHeaders$t = {
|
|
|
2214
2214
|
*
|
|
2215
2215
|
* This API allows you to manage projects.
|
|
2216
2216
|
*/
|
|
2217
|
-
class ProjectAPI extends API$
|
|
2217
|
+
class ProjectAPI extends API$x {
|
|
2218
2218
|
/**
|
|
2219
2219
|
* Create a new Project for an Organization. Generate a new Project for an
|
|
2220
2220
|
* Organization, specifying its configuration including name and description.
|
|
@@ -2334,7 +2334,7 @@ var validationRules_gen$e = /*#__PURE__*/Object.freeze({
|
|
|
2334
2334
|
// This file was automatically generated. DO NOT EDIT.
|
|
2335
2335
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
2336
2336
|
|
|
2337
|
-
var index_gen$
|
|
2337
|
+
var index_gen$u = /*#__PURE__*/Object.freeze({
|
|
2338
2338
|
__proto__: null,
|
|
2339
2339
|
ProjectAPI: ProjectAPI,
|
|
2340
2340
|
ValidationRules: validationRules_gen$e
|
|
@@ -2342,8 +2342,8 @@ var index_gen$t = /*#__PURE__*/Object.freeze({
|
|
|
2342
2342
|
|
|
2343
2343
|
var index$y = /*#__PURE__*/Object.freeze({
|
|
2344
2344
|
__proto__: null,
|
|
2345
|
-
v2: index_gen$
|
|
2346
|
-
v3: index_gen$
|
|
2345
|
+
v2: index_gen$v,
|
|
2346
|
+
v3: index_gen$u
|
|
2347
2347
|
});
|
|
2348
2348
|
|
|
2349
2349
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -2467,7 +2467,7 @@ const jsonContentHeaders$s = {
|
|
|
2467
2467
|
};
|
|
2468
2468
|
|
|
2469
2469
|
/** Apple silicon API. */
|
|
2470
|
-
let API$
|
|
2470
|
+
let API$v = class API extends API$x {
|
|
2471
2471
|
/** Lists the available zones of the API. */
|
|
2472
2472
|
static LOCALITIES = ['fr-par-3'];
|
|
2473
2473
|
|
|
@@ -2635,15 +2635,15 @@ let API$u = class API extends API$w {
|
|
|
2635
2635
|
// This file was automatically generated. DO NOT EDIT.
|
|
2636
2636
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
2637
2637
|
|
|
2638
|
-
var index_gen$
|
|
2638
|
+
var index_gen$t = /*#__PURE__*/Object.freeze({
|
|
2639
2639
|
__proto__: null,
|
|
2640
|
-
API: API$
|
|
2640
|
+
API: API$v,
|
|
2641
2641
|
SERVER_TRANSIENT_STATUSES: SERVER_TRANSIENT_STATUSES$2
|
|
2642
2642
|
});
|
|
2643
2643
|
|
|
2644
2644
|
var index$x = /*#__PURE__*/Object.freeze({
|
|
2645
2645
|
__proto__: null,
|
|
2646
|
-
v1alpha1: index_gen$
|
|
2646
|
+
v1alpha1: index_gen$t
|
|
2647
2647
|
});
|
|
2648
2648
|
|
|
2649
2649
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -3070,7 +3070,7 @@ const jsonContentHeaders$r = {
|
|
|
3070
3070
|
*
|
|
3071
3071
|
* This API allows to manage your Elastic Metal server.
|
|
3072
3072
|
*/
|
|
3073
|
-
let API$
|
|
3073
|
+
let API$u = class API extends API$x {
|
|
3074
3074
|
/** Lists the available zones of the API. */
|
|
3075
3075
|
static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1', 'nl-ams-2'];
|
|
3076
3076
|
pageOfListServers = (request = {}) => this.client.fetch({
|
|
@@ -3420,7 +3420,7 @@ let API$t = class API extends API$w {
|
|
|
3420
3420
|
};
|
|
3421
3421
|
|
|
3422
3422
|
/** Elastic Metal Private Network API. */
|
|
3423
|
-
class PrivateNetworkAPI extends API$
|
|
3423
|
+
class PrivateNetworkAPI extends API$x {
|
|
3424
3424
|
/** Lists the available zones of the API. */
|
|
3425
3425
|
static LOCALITIES = ['fr-par-2'];
|
|
3426
3426
|
|
|
@@ -3478,7 +3478,7 @@ class PrivateNetworkAPI extends API$w {
|
|
|
3478
3478
|
});
|
|
3479
3479
|
}
|
|
3480
3480
|
|
|
3481
|
-
class BaremetalV1UtilsAPI extends API$
|
|
3481
|
+
class BaremetalV1UtilsAPI extends API$u {
|
|
3482
3482
|
/**
|
|
3483
3483
|
* Waits for {@link ServerInstall} to be in a final state.
|
|
3484
3484
|
*
|
|
@@ -3660,7 +3660,7 @@ const unmarshalGetConsumptionResponse = data => {
|
|
|
3660
3660
|
updatedAt: unmarshalDate(data.updated_at)
|
|
3661
3661
|
};
|
|
3662
3662
|
};
|
|
3663
|
-
const unmarshalDiscountCoupon = data => {
|
|
3663
|
+
const unmarshalDiscountCoupon$1 = data => {
|
|
3664
3664
|
if (!isJSONObject(data)) {
|
|
3665
3665
|
throw new TypeError(`Unmarshalling the type 'DiscountCoupon' failed as data isn't a dictionary.`);
|
|
3666
3666
|
}
|
|
@@ -3668,7 +3668,7 @@ const unmarshalDiscountCoupon = data => {
|
|
|
3668
3668
|
description: data.description
|
|
3669
3669
|
};
|
|
3670
3670
|
};
|
|
3671
|
-
const unmarshalDiscountFilter = data => {
|
|
3671
|
+
const unmarshalDiscountFilter$1 = data => {
|
|
3672
3672
|
if (!isJSONObject(data)) {
|
|
3673
3673
|
throw new TypeError(`Unmarshalling the type 'DiscountFilter' failed as data isn't a dictionary.`);
|
|
3674
3674
|
}
|
|
@@ -3677,15 +3677,15 @@ const unmarshalDiscountFilter = data => {
|
|
|
3677
3677
|
value: data.value
|
|
3678
3678
|
};
|
|
3679
3679
|
};
|
|
3680
|
-
const unmarshalDiscount = data => {
|
|
3680
|
+
const unmarshalDiscount$1 = data => {
|
|
3681
3681
|
if (!isJSONObject(data)) {
|
|
3682
3682
|
throw new TypeError(`Unmarshalling the type 'Discount' failed as data isn't a dictionary.`);
|
|
3683
3683
|
}
|
|
3684
3684
|
return {
|
|
3685
|
-
coupon: data.coupon ? unmarshalDiscountCoupon(data.coupon) : undefined,
|
|
3685
|
+
coupon: data.coupon ? unmarshalDiscountCoupon$1(data.coupon) : undefined,
|
|
3686
3686
|
creationDate: unmarshalDate(data.creation_date),
|
|
3687
3687
|
description: data.description,
|
|
3688
|
-
filters: unmarshalArrayOfObject(data.filters, unmarshalDiscountFilter),
|
|
3688
|
+
filters: unmarshalArrayOfObject(data.filters, unmarshalDiscountFilter$1),
|
|
3689
3689
|
id: data.id,
|
|
3690
3690
|
mode: data.mode,
|
|
3691
3691
|
organizationId: data.organization_id,
|
|
@@ -3696,16 +3696,16 @@ const unmarshalDiscount = data => {
|
|
|
3696
3696
|
valueUsed: data.value_used
|
|
3697
3697
|
};
|
|
3698
3698
|
};
|
|
3699
|
-
const unmarshalListDiscountsResponse = data => {
|
|
3699
|
+
const unmarshalListDiscountsResponse$1 = data => {
|
|
3700
3700
|
if (!isJSONObject(data)) {
|
|
3701
3701
|
throw new TypeError(`Unmarshalling the type 'ListDiscountsResponse' failed as data isn't a dictionary.`);
|
|
3702
3702
|
}
|
|
3703
3703
|
return {
|
|
3704
|
-
discounts: unmarshalArrayOfObject(data.discounts, unmarshalDiscount),
|
|
3704
|
+
discounts: unmarshalArrayOfObject(data.discounts, unmarshalDiscount$1),
|
|
3705
3705
|
totalCount: data.total_count
|
|
3706
3706
|
};
|
|
3707
3707
|
};
|
|
3708
|
-
const unmarshalInvoice = data => {
|
|
3708
|
+
const unmarshalInvoice$1 = data => {
|
|
3709
3709
|
if (!isJSONObject(data)) {
|
|
3710
3710
|
throw new TypeError(`Unmarshalling the type 'Invoice' failed as data isn't a dictionary.`);
|
|
3711
3711
|
}
|
|
@@ -3720,12 +3720,12 @@ const unmarshalInvoice = data => {
|
|
|
3720
3720
|
totalUntaxed: data.total_untaxed ? unmarshalMoney(data.total_untaxed) : undefined
|
|
3721
3721
|
};
|
|
3722
3722
|
};
|
|
3723
|
-
const unmarshalListInvoicesResponse = data => {
|
|
3723
|
+
const unmarshalListInvoicesResponse$1 = data => {
|
|
3724
3724
|
if (!isJSONObject(data)) {
|
|
3725
3725
|
throw new TypeError(`Unmarshalling the type 'ListInvoicesResponse' failed as data isn't a dictionary.`);
|
|
3726
3726
|
}
|
|
3727
3727
|
return {
|
|
3728
|
-
invoices: unmarshalArrayOfObject(data.invoices, unmarshalInvoice),
|
|
3728
|
+
invoices: unmarshalArrayOfObject(data.invoices, unmarshalInvoice$1),
|
|
3729
3729
|
totalCount: data.total_count
|
|
3730
3730
|
};
|
|
3731
3731
|
};
|
|
@@ -3737,7 +3737,7 @@ const unmarshalListInvoicesResponse = data => {
|
|
|
3737
3737
|
*
|
|
3738
3738
|
* This API allows you to query your consumption.
|
|
3739
3739
|
*/
|
|
3740
|
-
let API$
|
|
3740
|
+
let API$t = class API extends API$x {
|
|
3741
3741
|
/**
|
|
3742
3742
|
* Get current month's consumption. The consumption reflects the amount of
|
|
3743
3743
|
* money you have spent for the products you have used. The consumption value
|
|
@@ -3755,7 +3755,7 @@ let API$s = class API extends API$w {
|
|
|
3755
3755
|
method: 'GET',
|
|
3756
3756
|
path: `/billing/v2alpha1/invoices`,
|
|
3757
3757
|
urlParams: urlParams(['invoice_type', request.invoiceType], ['order_by', request.orderBy], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['started_after', request.startedAfter], ['started_before', request.startedBefore])
|
|
3758
|
-
}, unmarshalListInvoicesResponse);
|
|
3758
|
+
}, unmarshalListInvoicesResponse$1);
|
|
3759
3759
|
|
|
3760
3760
|
/**
|
|
3761
3761
|
* List invoices. List all your invoices, filtering by `start_date` and
|
|
@@ -3782,7 +3782,7 @@ let API$s = class API extends API$w {
|
|
|
3782
3782
|
method: 'GET',
|
|
3783
3783
|
path: `/billing/v2alpha1/discounts`,
|
|
3784
3784
|
urlParams: urlParams(['order_by', request.orderBy], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize])
|
|
3785
|
-
}, unmarshalListDiscountsResponse);
|
|
3785
|
+
}, unmarshalListDiscountsResponse$1);
|
|
3786
3786
|
|
|
3787
3787
|
/**
|
|
3788
3788
|
* List all user's discounts. List all discounts for an organization and
|
|
@@ -3798,6 +3798,245 @@ let API$s = class API extends API$w {
|
|
|
3798
3798
|
// This file was automatically generated. DO NOT EDIT.
|
|
3799
3799
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
3800
3800
|
|
|
3801
|
+
var index_gen$s = /*#__PURE__*/Object.freeze({
|
|
3802
|
+
__proto__: null,
|
|
3803
|
+
API: API$t
|
|
3804
|
+
});
|
|
3805
|
+
|
|
3806
|
+
// This file was automatically generated. DO NOT EDIT.
|
|
3807
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
3808
|
+
const unmarshalInvoice = data => {
|
|
3809
|
+
if (!isJSONObject(data)) {
|
|
3810
|
+
throw new TypeError(`Unmarshalling the type 'Invoice' failed as data isn't a dictionary.`);
|
|
3811
|
+
}
|
|
3812
|
+
return {
|
|
3813
|
+
billingPeriod: unmarshalDate(data.billing_period),
|
|
3814
|
+
dueDate: unmarshalDate(data.due_date),
|
|
3815
|
+
id: data.id,
|
|
3816
|
+
issuedDate: unmarshalDate(data.issued_date),
|
|
3817
|
+
number: data.number,
|
|
3818
|
+
organizationId: data.organization_id,
|
|
3819
|
+
organizationName: data.organization_name,
|
|
3820
|
+
sellerName: data.seller_name,
|
|
3821
|
+
startDate: unmarshalDate(data.start_date),
|
|
3822
|
+
state: data.state,
|
|
3823
|
+
stopDate: unmarshalDate(data.stop_date),
|
|
3824
|
+
totalDiscount: data.total_discount ? unmarshalMoney(data.total_discount) : undefined,
|
|
3825
|
+
totalTax: data.total_tax ? unmarshalMoney(data.total_tax) : undefined,
|
|
3826
|
+
totalTaxed: data.total_taxed ? unmarshalMoney(data.total_taxed) : undefined,
|
|
3827
|
+
totalUndiscount: data.total_undiscount ? unmarshalMoney(data.total_undiscount) : undefined,
|
|
3828
|
+
totalUntaxed: data.total_untaxed ? unmarshalMoney(data.total_untaxed) : undefined,
|
|
3829
|
+
type: data.type
|
|
3830
|
+
};
|
|
3831
|
+
};
|
|
3832
|
+
const unmarshalListConsumptionsResponseConsumption = data => {
|
|
3833
|
+
if (!isJSONObject(data)) {
|
|
3834
|
+
throw new TypeError(`Unmarshalling the type 'ListConsumptionsResponseConsumption' failed as data isn't a dictionary.`);
|
|
3835
|
+
}
|
|
3836
|
+
return {
|
|
3837
|
+
billedQuantity: data.billed_quantity,
|
|
3838
|
+
categoryName: data.category_name,
|
|
3839
|
+
productName: data.product_name,
|
|
3840
|
+
projectId: data.project_id,
|
|
3841
|
+
resourceName: data.resource_name,
|
|
3842
|
+
sku: data.sku,
|
|
3843
|
+
unit: data.unit,
|
|
3844
|
+
value: data.value ? unmarshalMoney(data.value) : undefined
|
|
3845
|
+
};
|
|
3846
|
+
};
|
|
3847
|
+
const unmarshalListConsumptionsResponse = data => {
|
|
3848
|
+
if (!isJSONObject(data)) {
|
|
3849
|
+
throw new TypeError(`Unmarshalling the type 'ListConsumptionsResponse' failed as data isn't a dictionary.`);
|
|
3850
|
+
}
|
|
3851
|
+
return {
|
|
3852
|
+
consumptions: unmarshalArrayOfObject(data.consumptions, unmarshalListConsumptionsResponseConsumption),
|
|
3853
|
+
totalCount: data.total_count,
|
|
3854
|
+
totalDiscountUntaxedValue: data.total_discount_untaxed_value,
|
|
3855
|
+
updatedAt: unmarshalDate(data.updated_at)
|
|
3856
|
+
};
|
|
3857
|
+
};
|
|
3858
|
+
const unmarshalDiscountCoupon = data => {
|
|
3859
|
+
if (!isJSONObject(data)) {
|
|
3860
|
+
throw new TypeError(`Unmarshalling the type 'DiscountCoupon' failed as data isn't a dictionary.`);
|
|
3861
|
+
}
|
|
3862
|
+
return {
|
|
3863
|
+
description: data.description
|
|
3864
|
+
};
|
|
3865
|
+
};
|
|
3866
|
+
const unmarshalDiscountFilter = data => {
|
|
3867
|
+
if (!isJSONObject(data)) {
|
|
3868
|
+
throw new TypeError(`Unmarshalling the type 'DiscountFilter' failed as data isn't a dictionary.`);
|
|
3869
|
+
}
|
|
3870
|
+
return {
|
|
3871
|
+
type: data.type,
|
|
3872
|
+
value: data.value
|
|
3873
|
+
};
|
|
3874
|
+
};
|
|
3875
|
+
const unmarshalDiscount = data => {
|
|
3876
|
+
if (!isJSONObject(data)) {
|
|
3877
|
+
throw new TypeError(`Unmarshalling the type 'Discount' failed as data isn't a dictionary.`);
|
|
3878
|
+
}
|
|
3879
|
+
return {
|
|
3880
|
+
coupon: data.coupon ? unmarshalDiscountCoupon(data.coupon) : undefined,
|
|
3881
|
+
creationDate: unmarshalDate(data.creation_date),
|
|
3882
|
+
description: data.description,
|
|
3883
|
+
filters: unmarshalArrayOfObject(data.filters, unmarshalDiscountFilter),
|
|
3884
|
+
id: data.id,
|
|
3885
|
+
mode: data.mode,
|
|
3886
|
+
organizationId: data.organization_id,
|
|
3887
|
+
startDate: unmarshalDate(data.start_date),
|
|
3888
|
+
stopDate: unmarshalDate(data.stop_date),
|
|
3889
|
+
value: data.value,
|
|
3890
|
+
valueRemaining: data.value_remaining,
|
|
3891
|
+
valueUsed: data.value_used
|
|
3892
|
+
};
|
|
3893
|
+
};
|
|
3894
|
+
const unmarshalListDiscountsResponse = data => {
|
|
3895
|
+
if (!isJSONObject(data)) {
|
|
3896
|
+
throw new TypeError(`Unmarshalling the type 'ListDiscountsResponse' failed as data isn't a dictionary.`);
|
|
3897
|
+
}
|
|
3898
|
+
return {
|
|
3899
|
+
discounts: unmarshalArrayOfObject(data.discounts, unmarshalDiscount),
|
|
3900
|
+
totalCount: data.total_count
|
|
3901
|
+
};
|
|
3902
|
+
};
|
|
3903
|
+
const unmarshalListInvoicesResponse = data => {
|
|
3904
|
+
if (!isJSONObject(data)) {
|
|
3905
|
+
throw new TypeError(`Unmarshalling the type 'ListInvoicesResponse' failed as data isn't a dictionary.`);
|
|
3906
|
+
}
|
|
3907
|
+
return {
|
|
3908
|
+
invoices: unmarshalArrayOfObject(data.invoices, unmarshalInvoice),
|
|
3909
|
+
totalCount: data.total_count
|
|
3910
|
+
};
|
|
3911
|
+
};
|
|
3912
|
+
const unmarshalListTaxesResponseTax = data => {
|
|
3913
|
+
if (!isJSONObject(data)) {
|
|
3914
|
+
throw new TypeError(`Unmarshalling the type 'ListTaxesResponseTax' failed as data isn't a dictionary.`);
|
|
3915
|
+
}
|
|
3916
|
+
return {
|
|
3917
|
+
currency: data.currency,
|
|
3918
|
+
description: data.description,
|
|
3919
|
+
rate: data.rate,
|
|
3920
|
+
totalTaxValue: data.total_tax_value
|
|
3921
|
+
};
|
|
3922
|
+
};
|
|
3923
|
+
const unmarshalListTaxesResponse = data => {
|
|
3924
|
+
if (!isJSONObject(data)) {
|
|
3925
|
+
throw new TypeError(`Unmarshalling the type 'ListTaxesResponse' failed as data isn't a dictionary.`);
|
|
3926
|
+
}
|
|
3927
|
+
return {
|
|
3928
|
+
taxes: unmarshalArrayOfObject(data.taxes, unmarshalListTaxesResponseTax),
|
|
3929
|
+
totalCount: data.total_count,
|
|
3930
|
+
updatedAt: unmarshalDate(data.updated_at)
|
|
3931
|
+
};
|
|
3932
|
+
};
|
|
3933
|
+
|
|
3934
|
+
// This file was automatically generated. DO NOT EDIT.
|
|
3935
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
3936
|
+
/**
|
|
3937
|
+
* Billing API.
|
|
3938
|
+
*
|
|
3939
|
+
* This API allows you to query your consumption.
|
|
3940
|
+
*/
|
|
3941
|
+
let API$s = class API extends API$x {
|
|
3942
|
+
pageOfListConsumptions = (request = {}) => this.client.fetch({
|
|
3943
|
+
method: 'GET',
|
|
3944
|
+
path: `/billing/v2beta1/consumptions`,
|
|
3945
|
+
urlParams: urlParams(['billing_period', request.billingPeriod], ['category_name', request.categoryName], ['order_by', request.orderBy], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ...Object.entries(resolveOneOf([{
|
|
3946
|
+
default: this.client.settings.defaultOrganizationId,
|
|
3947
|
+
param: 'organization_id',
|
|
3948
|
+
value: request.organizationId
|
|
3949
|
+
}, {
|
|
3950
|
+
default: this.client.settings.defaultProjectId,
|
|
3951
|
+
param: 'project_id',
|
|
3952
|
+
value: request.projectId
|
|
3953
|
+
}])))
|
|
3954
|
+
}, unmarshalListConsumptionsResponse);
|
|
3955
|
+
|
|
3956
|
+
/**
|
|
3957
|
+
* Get monthly consumption. Consumption allows you to retrieve your past or
|
|
3958
|
+
* current consumption cost, by project or category.
|
|
3959
|
+
*
|
|
3960
|
+
* @param request - The request {@link ListConsumptionsRequest}
|
|
3961
|
+
* @returns A Promise of ListConsumptionsResponse
|
|
3962
|
+
*/
|
|
3963
|
+
listConsumptions = (request = {}) => enrichForPagination('consumptions', this.pageOfListConsumptions, request);
|
|
3964
|
+
pageOfListTaxes = (request = {}) => this.client.fetch({
|
|
3965
|
+
method: 'GET',
|
|
3966
|
+
path: `/billing/v2beta1/taxes`,
|
|
3967
|
+
urlParams: urlParams(['billing_period', request.billingPeriod], ['order_by', request.orderBy], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize])
|
|
3968
|
+
}, unmarshalListTaxesResponse);
|
|
3969
|
+
|
|
3970
|
+
/**
|
|
3971
|
+
* Get monthly consumption taxes. Consumption Tax allows you to retrieve your
|
|
3972
|
+
* past or current tax charges, by project or category.
|
|
3973
|
+
*
|
|
3974
|
+
* @param request - The request {@link ListTaxesRequest}
|
|
3975
|
+
* @returns A Promise of ListTaxesResponse
|
|
3976
|
+
*/
|
|
3977
|
+
listTaxes = (request = {}) => enrichForPagination('taxes', this.pageOfListTaxes, request);
|
|
3978
|
+
pageOfListInvoices = (request = {}) => this.client.fetch({
|
|
3979
|
+
method: 'GET',
|
|
3980
|
+
path: `/billing/v2beta1/invoices`,
|
|
3981
|
+
urlParams: urlParams(['billing_period_start_after', request.billingPeriodStartAfter], ['billing_period_start_before', request.billingPeriodStartBefore], ['invoice_type', request.invoiceType], ['order_by', request.orderBy], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize])
|
|
3982
|
+
}, unmarshalListInvoicesResponse);
|
|
3983
|
+
|
|
3984
|
+
/**
|
|
3985
|
+
* List invoices. List all your invoices, filtering by `start_date` and
|
|
3986
|
+
* `invoice_type`. Each invoice has its own ID.
|
|
3987
|
+
*
|
|
3988
|
+
* @param request - The request {@link ListInvoicesRequest}
|
|
3989
|
+
* @returns A Promise of ListInvoicesResponse
|
|
3990
|
+
*/
|
|
3991
|
+
listInvoices = (request = {}) => enrichForPagination('invoices', this.pageOfListInvoices, request);
|
|
3992
|
+
|
|
3993
|
+
/**
|
|
3994
|
+
* Export invoices. Export invoices in a CSV file.
|
|
3995
|
+
*
|
|
3996
|
+
* @param request - The request {@link ExportInvoicesRequest}
|
|
3997
|
+
* @returns A Promise of Blob
|
|
3998
|
+
*/
|
|
3999
|
+
exportInvoices = (request = {}) => this.client.fetch({
|
|
4000
|
+
method: 'GET',
|
|
4001
|
+
path: `/billing/v2beta1/export-invoices`,
|
|
4002
|
+
urlParams: urlParams(['dl', 1], ['billing_period_start_after', request.billingPeriodStartAfter], ['billing_period_start_before', request.billingPeriodStartBefore], ['file_type', request.fileType], ['invoice_type', request.invoiceType], ['order_by', request.orderBy], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize]),
|
|
4003
|
+
responseType: 'blob'
|
|
4004
|
+
});
|
|
4005
|
+
|
|
4006
|
+
/**
|
|
4007
|
+
* Get an invoice. Get a specific invoice, specified by its ID.
|
|
4008
|
+
*
|
|
4009
|
+
* @param request - The request {@link GetInvoiceRequest}
|
|
4010
|
+
* @returns A Promise of Invoice
|
|
4011
|
+
*/
|
|
4012
|
+
getInvoice = request => this.client.fetch({
|
|
4013
|
+
method: 'GET',
|
|
4014
|
+
path: `/billing/v2beta1/invoices/${validatePathParam('invoiceId', request.invoiceId)}`
|
|
4015
|
+
}, unmarshalInvoice);
|
|
4016
|
+
|
|
4017
|
+
/**
|
|
4018
|
+
* Download an invoice. Download a specific invoice, specified by its ID.
|
|
4019
|
+
*
|
|
4020
|
+
* @param request - The request {@link DownloadInvoiceRequest}
|
|
4021
|
+
* @returns A Promise of Blob
|
|
4022
|
+
*/
|
|
4023
|
+
downloadInvoice = request => this.client.fetch({
|
|
4024
|
+
method: 'GET',
|
|
4025
|
+
path: `/billing/v2beta1/invoices/${validatePathParam('invoiceId', request.invoiceId)}/download`,
|
|
4026
|
+
urlParams: urlParams(['dl', 1], ['file_type', request.fileType]),
|
|
4027
|
+
responseType: 'blob'
|
|
4028
|
+
});
|
|
4029
|
+
pageOfListDiscounts = (request = {}) => this.client.fetch({
|
|
4030
|
+
method: 'GET',
|
|
4031
|
+
path: `/billing/v2beta1/discounts`,
|
|
4032
|
+
urlParams: urlParams(['order_by', request.orderBy], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize])
|
|
4033
|
+
}, unmarshalListDiscountsResponse);
|
|
4034
|
+
listDiscounts = (request = {}) => enrichForPagination('discounts', this.pageOfListDiscounts, request);
|
|
4035
|
+
};
|
|
4036
|
+
|
|
4037
|
+
// This file was automatically generated. DO NOT EDIT.
|
|
4038
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
4039
|
+
|
|
3801
4040
|
var index_gen$r = /*#__PURE__*/Object.freeze({
|
|
3802
4041
|
__proto__: null,
|
|
3803
4042
|
API: API$s
|
|
@@ -3805,7 +4044,8 @@ var index_gen$r = /*#__PURE__*/Object.freeze({
|
|
|
3805
4044
|
|
|
3806
4045
|
var index$u = /*#__PURE__*/Object.freeze({
|
|
3807
4046
|
__proto__: null,
|
|
3808
|
-
v2alpha1: index_gen$
|
|
4047
|
+
v2alpha1: index_gen$s,
|
|
4048
|
+
v2beta1: index_gen$r
|
|
3809
4049
|
});
|
|
3810
4050
|
|
|
3811
4051
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -4002,7 +4242,7 @@ const jsonContentHeaders$q = {
|
|
|
4002
4242
|
*
|
|
4003
4243
|
* This API allows you to use and manage your Block Storage volumes.
|
|
4004
4244
|
*/
|
|
4005
|
-
let API$r = class API extends API$
|
|
4245
|
+
let API$r = class API extends API$x {
|
|
4006
4246
|
/** Lists the available zones of the API. */
|
|
4007
4247
|
static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1', 'nl-ams-3', 'pl-waw-3'];
|
|
4008
4248
|
pageOfListVolumeTypes = (request = {}) => this.client.fetch({
|
|
@@ -4532,13 +4772,13 @@ const jsonContentHeaders$p = {
|
|
|
4532
4772
|
/**
|
|
4533
4773
|
* Cockpit API.
|
|
4534
4774
|
*
|
|
4535
|
-
* Cockpit
|
|
4536
|
-
*
|
|
4537
|
-
*
|
|
4775
|
+
* The Cockpit API allows you to activate your Cockpit to store metrics and
|
|
4776
|
+
* logs. It also provides you with a dedicated Grafana for dashboarding to
|
|
4777
|
+
* visualize your metrics and logs.
|
|
4538
4778
|
*/
|
|
4539
|
-
let API$q = class API extends API$
|
|
4779
|
+
let API$q = class API extends API$x {
|
|
4540
4780
|
/**
|
|
4541
|
-
* Activate the Cockpit of
|
|
4781
|
+
* Activate the Cockpit of a given Project specified by the Project ID.
|
|
4542
4782
|
*
|
|
4543
4783
|
* @param request - The request {@link ActivateCockpitRequest}
|
|
4544
4784
|
* @returns A Promise of Cockpit
|
|
@@ -4551,7 +4791,7 @@ let API$q = class API extends API$w {
|
|
|
4551
4791
|
}, unmarshalCockpit);
|
|
4552
4792
|
|
|
4553
4793
|
/**
|
|
4554
|
-
* Retrieve the Cockpit of
|
|
4794
|
+
* Retrieve the Cockpit of a given Project specified by the Project ID.
|
|
4555
4795
|
*
|
|
4556
4796
|
* @param request - The request {@link GetCockpitRequest}
|
|
4557
4797
|
* @returns A Promise of Cockpit
|
|
@@ -4572,7 +4812,8 @@ let API$q = class API extends API$w {
|
|
|
4572
4812
|
waitForCockpit = (request = {}, options) => waitForResource(options?.stop ?? (res => Promise.resolve(!COCKPIT_TRANSIENT_STATUSES.includes(res.status))), this.getCockpit, request, options);
|
|
4573
4813
|
|
|
4574
4814
|
/**
|
|
4575
|
-
*
|
|
4815
|
+
* Retrieve metrics from your Cockpit specified by the ID of the Project the
|
|
4816
|
+
* Cockpit belongs to.
|
|
4576
4817
|
*
|
|
4577
4818
|
* @param request - The request {@link GetCockpitMetricsRequest}
|
|
4578
4819
|
* @returns A Promise of CockpitMetrics
|
|
@@ -4584,7 +4825,7 @@ let API$q = class API extends API$w {
|
|
|
4584
4825
|
}, unmarshalCockpitMetrics);
|
|
4585
4826
|
|
|
4586
4827
|
/**
|
|
4587
|
-
* Deactivate the Cockpit of
|
|
4828
|
+
* Deactivate the Cockpit of a given Project specified by the Project ID.
|
|
4588
4829
|
*
|
|
4589
4830
|
* @param request - The request {@link DeactivateCockpitRequest}
|
|
4590
4831
|
* @returns A Promise of Cockpit
|
|
@@ -4597,7 +4838,8 @@ let API$q = class API extends API$w {
|
|
|
4597
4838
|
}, unmarshalCockpit);
|
|
4598
4839
|
|
|
4599
4840
|
/**
|
|
4600
|
-
* Create a
|
|
4841
|
+
* Create a data source for a given Project specified by the Project ID and
|
|
4842
|
+
* the data source type.
|
|
4601
4843
|
*
|
|
4602
4844
|
* @param request - The request {@link CreateDatasourceRequest}
|
|
4603
4845
|
* @returns A Promise of Datasource
|
|
@@ -4610,7 +4852,7 @@ let API$q = class API extends API$w {
|
|
|
4610
4852
|
}, unmarshalDatasource);
|
|
4611
4853
|
|
|
4612
4854
|
/**
|
|
4613
|
-
* Delete
|
|
4855
|
+
* Delete a given data source specified by the data source ID.
|
|
4614
4856
|
*
|
|
4615
4857
|
* @param request - The request {@link DeleteDatasourceRequest}
|
|
4616
4858
|
*/
|
|
@@ -4625,7 +4867,7 @@ let API$q = class API extends API$w {
|
|
|
4625
4867
|
}, unmarshalListDatasourcesResponse);
|
|
4626
4868
|
|
|
4627
4869
|
/**
|
|
4628
|
-
* Get a list of
|
|
4870
|
+
* Get a list of data sources for the specified Project ID.
|
|
4629
4871
|
*
|
|
4630
4872
|
* @param request - The request {@link ListDatasourcesRequest}
|
|
4631
4873
|
* @returns A Promise of ListDatasourcesResponse
|
|
@@ -4633,7 +4875,7 @@ let API$q = class API extends API$w {
|
|
|
4633
4875
|
listDatasources = (request = {}) => enrichForPagination('datasources', this.pageOfListDatasources, request);
|
|
4634
4876
|
|
|
4635
4877
|
/**
|
|
4636
|
-
* Create a token
|
|
4878
|
+
* Create a token in a given Project specified by the Project ID.
|
|
4637
4879
|
*
|
|
4638
4880
|
* @param request - The request {@link CreateTokenRequest}
|
|
4639
4881
|
* @returns A Promise of Token
|
|
@@ -4651,7 +4893,7 @@ let API$q = class API extends API$w {
|
|
|
4651
4893
|
}, unmarshalListTokensResponse$2);
|
|
4652
4894
|
|
|
4653
4895
|
/**
|
|
4654
|
-
* Get a list of tokens
|
|
4896
|
+
* Get a list of tokens in a given Project specified by the Project ID.
|
|
4655
4897
|
*
|
|
4656
4898
|
* @param request - The request {@link ListTokensRequest}
|
|
4657
4899
|
* @returns A Promise of ListTokensResponse
|
|
@@ -4659,7 +4901,7 @@ let API$q = class API extends API$w {
|
|
|
4659
4901
|
listTokens = (request = {}) => enrichForPagination('tokens', this.pageOfListTokens, request);
|
|
4660
4902
|
|
|
4661
4903
|
/**
|
|
4662
|
-
* Retrieve
|
|
4904
|
+
* Retrieve a given token specified by the token ID.
|
|
4663
4905
|
*
|
|
4664
4906
|
* @param request - The request {@link GetTokenRequest}
|
|
4665
4907
|
* @returns A Promise of Token
|
|
@@ -4670,7 +4912,7 @@ let API$q = class API extends API$w {
|
|
|
4670
4912
|
}, unmarshalToken$2);
|
|
4671
4913
|
|
|
4672
4914
|
/**
|
|
4673
|
-
* Delete
|
|
4915
|
+
* Delete a given token specified by the token ID.
|
|
4674
4916
|
*
|
|
4675
4917
|
* @param request - The request {@link DeleteTokenRequest}
|
|
4676
4918
|
*/
|
|
@@ -4680,7 +4922,8 @@ let API$q = class API extends API$w {
|
|
|
4680
4922
|
});
|
|
4681
4923
|
|
|
4682
4924
|
/**
|
|
4683
|
-
* Create a contact point
|
|
4925
|
+
* Create a contact point associated with the default receiver, to receive
|
|
4926
|
+
* alerts.
|
|
4684
4927
|
*
|
|
4685
4928
|
* @param request - The request {@link CreateContactPointRequest}
|
|
4686
4929
|
* @returns A Promise of ContactPoint
|
|
@@ -4698,8 +4941,8 @@ let API$q = class API extends API$w {
|
|
|
4698
4941
|
}, unmarshalListContactPointsResponse);
|
|
4699
4942
|
|
|
4700
4943
|
/**
|
|
4701
|
-
* Get a list of contact points for
|
|
4702
|
-
* Project
|
|
4944
|
+
* Get a list of contact points created for a given Cockpit, specified by the
|
|
4945
|
+
* ID of the Project the Cockpit belongs to.
|
|
4703
4946
|
*
|
|
4704
4947
|
* @param request - The request {@link ListContactPointsRequest}
|
|
4705
4948
|
* @returns A Promise of ListContactPointsResponse
|
|
@@ -4707,7 +4950,7 @@ let API$q = class API extends API$w {
|
|
|
4707
4950
|
listContactPoints = (request = {}) => enrichForPagination('contactPoints', this.pageOfListContactPoints, request);
|
|
4708
4951
|
|
|
4709
4952
|
/**
|
|
4710
|
-
* Delete a contact point
|
|
4953
|
+
* Delete a contact point associated with the default receiver.
|
|
4711
4954
|
*
|
|
4712
4955
|
* @param request - The request {@link DeleteContactPointRequest}
|
|
4713
4956
|
*/
|
|
@@ -4719,7 +4962,8 @@ let API$q = class API extends API$w {
|
|
|
4719
4962
|
});
|
|
4720
4963
|
|
|
4721
4964
|
/**
|
|
4722
|
-
* Enable the sending of managed alerts for
|
|
4965
|
+
* Enable the sending of managed alerts for a given Cockpit, specified by the
|
|
4966
|
+
* ID of the Project the Cockpit belongs to.
|
|
4723
4967
|
*
|
|
4724
4968
|
* @param request - The request {@link EnableManagedAlertsRequest}
|
|
4725
4969
|
*/
|
|
@@ -4731,7 +4975,8 @@ let API$q = class API extends API$w {
|
|
|
4731
4975
|
});
|
|
4732
4976
|
|
|
4733
4977
|
/**
|
|
4734
|
-
* Disable the sending of managed alerts for
|
|
4978
|
+
* Disable the sending of managed alerts for a given Cockpit, specified by the
|
|
4979
|
+
* ID of the Project the Cockpit belongs to.
|
|
4735
4980
|
*
|
|
4736
4981
|
* @param request - The request {@link DisableManagedAlertsRequest}
|
|
4737
4982
|
*/
|
|
@@ -4743,7 +4988,8 @@ let API$q = class API extends API$w {
|
|
|
4743
4988
|
});
|
|
4744
4989
|
|
|
4745
4990
|
/**
|
|
4746
|
-
*
|
|
4991
|
+
* Send a test alert to make sure your contact points get notified when an
|
|
4992
|
+
* actual alert is triggered.
|
|
4747
4993
|
*
|
|
4748
4994
|
* @param request - The request {@link TriggerTestAlertRequest}
|
|
4749
4995
|
*/
|
|
@@ -4755,8 +5001,8 @@ let API$q = class API extends API$w {
|
|
|
4755
5001
|
});
|
|
4756
5002
|
|
|
4757
5003
|
/**
|
|
4758
|
-
* Create a Grafana user for your Cockpit's Grafana
|
|
4759
|
-
*
|
|
5004
|
+
* Create a Grafana user for your Cockpit's Grafana. Make sure you save the
|
|
5005
|
+
* automatically-generated password and the Grafana user ID.
|
|
4760
5006
|
*
|
|
4761
5007
|
* @param request - The request {@link CreateGrafanaUserRequest}
|
|
4762
5008
|
* @returns A Promise of GrafanaUser
|
|
@@ -4774,8 +5020,7 @@ let API$q = class API extends API$w {
|
|
|
4774
5020
|
}, unmarshalListGrafanaUsersResponse);
|
|
4775
5021
|
|
|
4776
5022
|
/**
|
|
4777
|
-
* Get a list of Grafana users
|
|
4778
|
-
* Grafana instance.
|
|
5023
|
+
* Get a list of all Grafana users created in your Cockpit's Grafana.
|
|
4779
5024
|
*
|
|
4780
5025
|
* @param request - The request {@link ListGrafanaUsersRequest}
|
|
4781
5026
|
* @returns A Promise of ListGrafanaUsersResponse
|
|
@@ -4783,8 +5028,8 @@ let API$q = class API extends API$w {
|
|
|
4783
5028
|
listGrafanaUsers = (request = {}) => enrichForPagination('grafanaUsers', this.pageOfListGrafanaUsers, request);
|
|
4784
5029
|
|
|
4785
5030
|
/**
|
|
4786
|
-
* Delete a Grafana user from
|
|
4787
|
-
* Project
|
|
5031
|
+
* Delete a Grafana user from your Cockpit's Grafana, specified by the ID of
|
|
5032
|
+
* the Project the Cockpit belongs to, and the ID of the Grafana user.
|
|
4788
5033
|
*
|
|
4789
5034
|
* @param request - The request {@link DeleteGrafanaUserRequest}
|
|
4790
5035
|
*/
|
|
@@ -4796,8 +5041,8 @@ let API$q = class API extends API$w {
|
|
|
4796
5041
|
});
|
|
4797
5042
|
|
|
4798
5043
|
/**
|
|
4799
|
-
* Reset a Grafana user
|
|
4800
|
-
* the Grafana user
|
|
5044
|
+
* Reset the password of a Grafana user, specified by the ID of the Project
|
|
5045
|
+
* the Cockpit belongs to, and the ID of the Grafana user.
|
|
4801
5046
|
*
|
|
4802
5047
|
* @param request - The request {@link ResetGrafanaUserPasswordRequest}
|
|
4803
5048
|
* @returns A Promise of GrafanaUser
|
|
@@ -5258,7 +5503,7 @@ const jsonContentHeaders$o = {
|
|
|
5258
5503
|
};
|
|
5259
5504
|
|
|
5260
5505
|
/** Serverless Containers API. */
|
|
5261
|
-
let API$p = class API extends API$
|
|
5506
|
+
let API$p = class API extends API$x {
|
|
5262
5507
|
/** Lists the available regions of the API. */
|
|
5263
5508
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
5264
5509
|
pageOfListNamespaces = (request = {}) => this.client.fetch({
|
|
@@ -6467,7 +6712,7 @@ const jsonContentHeaders$n = {
|
|
|
6467
6712
|
};
|
|
6468
6713
|
|
|
6469
6714
|
/** Managed Document Databases API. */
|
|
6470
|
-
let API$o = class API extends API$
|
|
6715
|
+
let API$o = class API extends API$x {
|
|
6471
6716
|
/** Lists the available regions of the API. */
|
|
6472
6717
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
6473
6718
|
pageOfListDatabaseEngines = (request = {}) => this.client.fetch({
|
|
@@ -8474,7 +8719,7 @@ const jsonContentHeaders$m = {
|
|
|
8474
8719
|
*
|
|
8475
8720
|
* Manage your domains, DNS zones and records with the Domains and DNS API.
|
|
8476
8721
|
*/
|
|
8477
|
-
let API$n = class API extends API$
|
|
8722
|
+
let API$n = class API extends API$x {
|
|
8478
8723
|
pageOfListDNSZones = request => this.client.fetch({
|
|
8479
8724
|
method: 'GET',
|
|
8480
8725
|
path: `/domain/v2beta1/dns-zones`,
|
|
@@ -8826,7 +9071,7 @@ let API$n = class API extends API$w {
|
|
|
8826
9071
|
*
|
|
8827
9072
|
* Manage your domains and contacts.
|
|
8828
9073
|
*/
|
|
8829
|
-
class RegistrarAPI extends API$
|
|
9074
|
+
class RegistrarAPI extends API$x {
|
|
8830
9075
|
pageOfListTasks = (request = {}) => this.client.fetch({
|
|
8831
9076
|
method: 'GET',
|
|
8832
9077
|
path: `/domain/v2beta1/tasks`,
|
|
@@ -9364,7 +9609,7 @@ const jsonContentHeaders$l = {
|
|
|
9364
9609
|
};
|
|
9365
9610
|
|
|
9366
9611
|
/** Elastic Metal - Flexible IP API. */
|
|
9367
|
-
let API$m = class API extends API$
|
|
9612
|
+
let API$m = class API extends API$x {
|
|
9368
9613
|
/** Lists the available zones of the API. */
|
|
9369
9614
|
static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1'];
|
|
9370
9615
|
|
|
@@ -9981,7 +10226,7 @@ const jsonContentHeaders$k = {
|
|
|
9981
10226
|
};
|
|
9982
10227
|
|
|
9983
10228
|
/** Serverless Functions API. */
|
|
9984
|
-
let API$l = class API extends API$
|
|
10229
|
+
let API$l = class API extends API$x {
|
|
9985
10230
|
/** Lists the available regions of the API. */
|
|
9986
10231
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
9987
10232
|
pageOfListNamespaces = (request = {}) => this.client.fetch({
|
|
@@ -10979,7 +11224,7 @@ const jsonContentHeaders$j = {
|
|
|
10979
11224
|
};
|
|
10980
11225
|
|
|
10981
11226
|
/** IAM API. */
|
|
10982
|
-
let API$k = class API extends API$
|
|
11227
|
+
let API$k = class API extends API$x {
|
|
10983
11228
|
pageOfListSSHKeys = (request = {}) => this.client.fetch({
|
|
10984
11229
|
method: 'GET',
|
|
10985
11230
|
path: `/iam/v1alpha1/ssh-keys`,
|
|
@@ -11333,7 +11578,7 @@ let API$k = class API extends API$w {
|
|
|
11333
11578
|
pageOfListPolicies = (request = {}) => this.client.fetch({
|
|
11334
11579
|
method: 'GET',
|
|
11335
11580
|
path: `/iam/v1alpha1/policies`,
|
|
11336
|
-
urlParams: urlParams(['application_ids', request.applicationIds], ['editable', request.editable], ['group_ids', request.groupIds], ['no_principal', request.noPrincipal], ['order_by', request.orderBy], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['policy_name', request.policyName], ['tag', request.tag], ['user_ids', request.userIds])
|
|
11581
|
+
urlParams: urlParams(['application_ids', request.applicationIds], ['editable', request.editable], ['group_ids', request.groupIds], ['no_principal', request.noPrincipal], ['order_by', request.orderBy], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['policy_ids', request.policyIds], ['policy_name', request.policyName], ['tag', request.tag], ['user_ids', request.userIds])
|
|
11337
11582
|
}, unmarshalListPoliciesResponse);
|
|
11338
11583
|
|
|
11339
11584
|
/**
|
|
@@ -11472,7 +11717,7 @@ let API$k = class API extends API$w {
|
|
|
11472
11717
|
pageOfListAPIKeys = (request = {}) => this.client.fetch({
|
|
11473
11718
|
method: 'GET',
|
|
11474
11719
|
path: `/iam/v1alpha1/api-keys`,
|
|
11475
|
-
urlParams: urlParams(['access_key', request.accessKey], ['bearer_id', request.bearerId], ['bearer_type', request.bearerType], ['description', request.description], ['editable', request.editable], ['expired', request.expired], ['order_by', request.orderBy], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ...Object.entries(resolveOneOf([{
|
|
11720
|
+
urlParams: urlParams(['access_key', request.accessKey], ['access_keys', request.accessKeys], ['bearer_id', request.bearerId], ['bearer_type', request.bearerType], ['description', request.description], ['editable', request.editable], ['expired', request.expired], ['order_by', request.orderBy], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ...Object.entries(resolveOneOf([{
|
|
11476
11721
|
param: 'application_id',
|
|
11477
11722
|
value: request.applicationId
|
|
11478
11723
|
}, {
|
|
@@ -12066,7 +12311,8 @@ const unmarshalServerMaintenance = data => {
|
|
|
12066
12311
|
throw new TypeError(`Unmarshalling the type 'ServerMaintenance' failed as data isn't a dictionary.`);
|
|
12067
12312
|
}
|
|
12068
12313
|
return {
|
|
12069
|
-
reason: data.reason
|
|
12314
|
+
reason: data.reason,
|
|
12315
|
+
startDate: unmarshalDate(data.start_date)
|
|
12070
12316
|
};
|
|
12071
12317
|
};
|
|
12072
12318
|
const unmarshalVolumeServer = data => {
|
|
@@ -13246,7 +13492,8 @@ const marshalServerLocation = (request, defaults) => ({
|
|
|
13246
13492
|
zone_id: request.zoneId
|
|
13247
13493
|
});
|
|
13248
13494
|
const marshalServerMaintenance = (request, defaults) => ({
|
|
13249
|
-
reason: request.reason
|
|
13495
|
+
reason: request.reason,
|
|
13496
|
+
start_date: request.startDate
|
|
13250
13497
|
});
|
|
13251
13498
|
const marshalSetServerRequest = (request, defaults) => ({
|
|
13252
13499
|
allowed_actions: request.allowedActions !== undefined ? request.allowedActions : undefined,
|
|
@@ -13390,7 +13637,7 @@ const jsonContentHeaders$i = {
|
|
|
13390
13637
|
};
|
|
13391
13638
|
|
|
13392
13639
|
/** Instance API. */
|
|
13393
|
-
let API$j = class API extends API$
|
|
13640
|
+
let API$j = class API extends API$x {
|
|
13394
13641
|
/** Lists the available zones of the API. */
|
|
13395
13642
|
static LOCALITIES = ['fr-par-1', 'fr-par-2', 'fr-par-3', 'nl-ams-1', 'nl-ams-2', 'nl-ams-3', 'pl-waw-1', 'pl-waw-2', 'pl-waw-3'];
|
|
13396
13643
|
|
|
@@ -14977,7 +15224,7 @@ const jsonContentHeaders$h = {
|
|
|
14977
15224
|
*
|
|
14978
15225
|
* This API allows you to manage IoT hubs and devices.
|
|
14979
15226
|
*/
|
|
14980
|
-
let API$i = class API extends API$
|
|
15227
|
+
let API$i = class API extends API$x {
|
|
14981
15228
|
/** Lists the available regions of the API. */
|
|
14982
15229
|
static LOCALITIES = ['fr-par'];
|
|
14983
15230
|
pageOfListHubs = (request = {}) => this.client.fetch({
|
|
@@ -15581,7 +15828,7 @@ const jsonContentHeaders$g = {
|
|
|
15581
15828
|
* This API allows you to manage IP addresses with Scaleway's IP Address
|
|
15582
15829
|
* Management tool.
|
|
15583
15830
|
*/
|
|
15584
|
-
let API$h = class API extends API$
|
|
15831
|
+
let API$h = class API extends API$x {
|
|
15585
15832
|
/** Lists the available regions of the API. */
|
|
15586
15833
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
15587
15834
|
|
|
@@ -15874,7 +16121,7 @@ const jsonContentHeaders$f = {
|
|
|
15874
16121
|
};
|
|
15875
16122
|
|
|
15876
16123
|
/** IPFS Pinning service API. */
|
|
15877
|
-
let API$g = class API extends API$
|
|
16124
|
+
let API$g = class API extends API$x {
|
|
15878
16125
|
/** Lists the available regions of the API. */
|
|
15879
16126
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
15880
16127
|
|
|
@@ -16056,7 +16303,7 @@ let API$g = class API extends API$w {
|
|
|
16056
16303
|
};
|
|
16057
16304
|
|
|
16058
16305
|
/** IPFS Naming service API. */
|
|
16059
|
-
class IpnsAPI extends API$
|
|
16306
|
+
class IpnsAPI extends API$x {
|
|
16060
16307
|
/** Lists the available regions of the API. */
|
|
16061
16308
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
16062
16309
|
|
|
@@ -16209,8 +16456,10 @@ const unmarshalJobRun = data => {
|
|
|
16209
16456
|
throw new TypeError(`Unmarshalling the type 'JobRun' failed as data isn't a dictionary.`);
|
|
16210
16457
|
}
|
|
16211
16458
|
return {
|
|
16459
|
+
command: data.command,
|
|
16212
16460
|
cpuLimit: data.cpu_limit,
|
|
16213
16461
|
createdAt: unmarshalDate(data.created_at),
|
|
16462
|
+
environmentVariables: data.environment_variables,
|
|
16214
16463
|
errorMessage: data.error_message,
|
|
16215
16464
|
exitCode: data.exit_code,
|
|
16216
16465
|
id: data.id,
|
|
@@ -16257,6 +16506,11 @@ const marshalCreateJobDefinitionRequest = (request, defaults) => ({
|
|
|
16257
16506
|
name: request.name || randomName('job'),
|
|
16258
16507
|
project_id: request.projectId ?? defaults.defaultProjectId
|
|
16259
16508
|
});
|
|
16509
|
+
const marshalStartJobDefinitionRequest = (request, defaults) => ({
|
|
16510
|
+
command: request.command,
|
|
16511
|
+
environment_variables: request.environmentVariables,
|
|
16512
|
+
replicas: request.replicas
|
|
16513
|
+
});
|
|
16260
16514
|
const marshalUpdateJobDefinitionRequestCronScheduleConfig = (request, defaults) => ({
|
|
16261
16515
|
schedule: request.schedule,
|
|
16262
16516
|
timezone: request.timezone
|
|
@@ -16280,7 +16534,7 @@ const jsonContentHeaders$e = {
|
|
|
16280
16534
|
};
|
|
16281
16535
|
|
|
16282
16536
|
/** Serverless Jobs API. */
|
|
16283
|
-
let API$f = class API extends API$
|
|
16537
|
+
let API$f = class API extends API$x {
|
|
16284
16538
|
/** Lists the available regions of the API. */
|
|
16285
16539
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
16286
16540
|
|
|
@@ -16353,7 +16607,7 @@ let API$f = class API extends API$w {
|
|
|
16353
16607
|
* @returns A Promise of JobRun
|
|
16354
16608
|
*/
|
|
16355
16609
|
startJobDefinition = request => this.client.fetch({
|
|
16356
|
-
body:
|
|
16610
|
+
body: JSON.stringify(marshalStartJobDefinitionRequest(request, this.client.settings)),
|
|
16357
16611
|
headers: jsonContentHeaders$e,
|
|
16358
16612
|
method: 'POST',
|
|
16359
16613
|
path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/job-definitions/${validatePathParam('jobDefinitionId', request.jobDefinitionId)}/start`
|
|
@@ -16959,7 +17213,7 @@ const jsonContentHeaders$d = {
|
|
|
16959
17213
|
};
|
|
16960
17214
|
|
|
16961
17215
|
/** Kubernetes API. */
|
|
16962
|
-
let API$e = class API extends API$
|
|
17216
|
+
let API$e = class API extends API$x {
|
|
16963
17217
|
/** Lists the available regions of the API. */
|
|
16964
17218
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
16965
17219
|
pageOfListClusters = (request = {}) => this.client.fetch({
|
|
@@ -17097,7 +17351,7 @@ let API$e = class API extends API$w {
|
|
|
17097
17351
|
_getClusterKubeConfig = request => this.client.fetch({
|
|
17098
17352
|
method: 'GET',
|
|
17099
17353
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/kubeconfig`,
|
|
17100
|
-
urlParams: urlParams(['dl', 1]),
|
|
17354
|
+
urlParams: urlParams(['dl', 1], ['redacted', request.redacted]),
|
|
17101
17355
|
responseType: 'blob'
|
|
17102
17356
|
});
|
|
17103
17357
|
|
|
@@ -18566,7 +18820,7 @@ const jsonContentHeaders$c = {
|
|
|
18566
18820
|
*
|
|
18567
18821
|
* This API allows you to manage your Scaleway Load Balancer services.
|
|
18568
18822
|
*/
|
|
18569
|
-
class ZonedAPI extends API$
|
|
18823
|
+
class ZonedAPI extends API$x {
|
|
18570
18824
|
/** Lists the available zones of the API. */
|
|
18571
18825
|
static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1', 'nl-ams-2', 'nl-ams-3', 'pl-waw-1', 'pl-waw-2', 'pl-waw-3'];
|
|
18572
18826
|
pageOfListLbs = (request = {}) => this.client.fetch({
|
|
@@ -19369,7 +19623,7 @@ class ZonedAPI extends API$w {
|
|
|
19369
19623
|
*
|
|
19370
19624
|
* This API allows you to manage your load balancer service.
|
|
19371
19625
|
*/
|
|
19372
|
-
let API$d = class API extends API$
|
|
19626
|
+
let API$d = class API extends API$x {
|
|
19373
19627
|
/** Lists the available regions of the API. */
|
|
19374
19628
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
19375
19629
|
pageOfListLbs = (request = {}) => this.client.fetch({
|
|
@@ -20205,7 +20459,7 @@ const unmarshalListImagesResponse$2 = data => {
|
|
|
20205
20459
|
// This file was automatically generated. DO NOT EDIT.
|
|
20206
20460
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
20207
20461
|
/** Marketplace API. */
|
|
20208
|
-
let API$c = class API extends API$
|
|
20462
|
+
let API$c = class API extends API$x {
|
|
20209
20463
|
pageOfListImages = (request = {}) => this.client.fetch({
|
|
20210
20464
|
method: 'GET',
|
|
20211
20465
|
path: `/marketplace/v1/images`,
|
|
@@ -20333,7 +20587,7 @@ const unmarshalListVersionsResponse = data => {
|
|
|
20333
20587
|
// This file was automatically generated. DO NOT EDIT.
|
|
20334
20588
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
20335
20589
|
/** Marketplace API. */
|
|
20336
|
-
let API$b = class API extends API$
|
|
20590
|
+
let API$b = class API extends API$x {
|
|
20337
20591
|
pageOfListImages = request => this.client.fetch({
|
|
20338
20592
|
method: 'GET',
|
|
20339
20593
|
path: `/marketplace/v2/images`,
|
|
@@ -20686,7 +20940,7 @@ const jsonContentHeaders$b = {
|
|
|
20686
20940
|
*
|
|
20687
20941
|
* This API allows you to manage Scaleway Messaging and Queueing NATS accounts.
|
|
20688
20942
|
*/
|
|
20689
|
-
class NatsAPI extends API$
|
|
20943
|
+
class NatsAPI extends API$x {
|
|
20690
20944
|
/** Lists the available regions of the API. */
|
|
20691
20945
|
static LOCALITIES = ['fr-par'];
|
|
20692
20946
|
|
|
@@ -20822,7 +21076,7 @@ class NatsAPI extends API$w {
|
|
|
20822
21076
|
*
|
|
20823
21077
|
* This API allows you to manage Scaleway Messaging and Queueing SNS brokers.
|
|
20824
21078
|
*/
|
|
20825
|
-
class SnsAPI extends API$
|
|
21079
|
+
class SnsAPI extends API$x {
|
|
20826
21080
|
/** Lists the available regions of the API. */
|
|
20827
21081
|
static LOCALITIES = ['fr-par'];
|
|
20828
21082
|
|
|
@@ -20944,7 +21198,7 @@ class SnsAPI extends API$w {
|
|
|
20944
21198
|
*
|
|
20945
21199
|
* This API allows you to manage Scaleway Messaging and Queueing SQS brokers.
|
|
20946
21200
|
*/
|
|
20947
|
-
class SqsAPI extends API$
|
|
21201
|
+
class SqsAPI extends API$x {
|
|
20948
21202
|
/** Lists the available regions of the API. */
|
|
20949
21203
|
static LOCALITIES = ['fr-par'];
|
|
20950
21204
|
|
|
@@ -21236,6 +21490,7 @@ const unmarshalReadReplica = data => {
|
|
|
21236
21490
|
return {
|
|
21237
21491
|
endpoints: unmarshalArrayOfObject(data.endpoints, unmarshalEndpoint$1),
|
|
21238
21492
|
id: data.id,
|
|
21493
|
+
instanceId: data.instance_id,
|
|
21239
21494
|
region: data.region,
|
|
21240
21495
|
sameZone: data.same_zone,
|
|
21241
21496
|
status: data.status
|
|
@@ -21902,7 +22157,7 @@ const jsonContentHeaders$a = {
|
|
|
21902
22157
|
};
|
|
21903
22158
|
|
|
21904
22159
|
/** Managed Database for PostgreSQL and MySQL API. */
|
|
21905
|
-
let API$a = class API extends API$
|
|
22160
|
+
let API$a = class API extends API$x {
|
|
21906
22161
|
/** Lists the available regions of the API. */
|
|
21907
22162
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
21908
22163
|
pageOfListDatabaseEngines = (request = {}) => this.client.fetch({
|
|
@@ -23119,7 +23374,7 @@ const jsonContentHeaders$9 = {
|
|
|
23119
23374
|
};
|
|
23120
23375
|
|
|
23121
23376
|
/** Managed Database for Redis™ API. */
|
|
23122
|
-
let API$9 = class API extends API$
|
|
23377
|
+
let API$9 = class API extends API$x {
|
|
23123
23378
|
/** Lists the available zones of the API. */
|
|
23124
23379
|
static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1', 'nl-ams-2', 'pl-waw-1', 'pl-waw-2'];
|
|
23125
23380
|
|
|
@@ -23613,7 +23868,7 @@ const jsonContentHeaders$8 = {
|
|
|
23613
23868
|
};
|
|
23614
23869
|
|
|
23615
23870
|
/** Container Registry API. */
|
|
23616
|
-
let API$8 = class API extends API$
|
|
23871
|
+
let API$8 = class API extends API$x {
|
|
23617
23872
|
/** Lists the available regions of the API. */
|
|
23618
23873
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
23619
23874
|
pageOfListNamespaces = (request = {}) => this.client.fetch({
|
|
@@ -24028,7 +24283,7 @@ const jsonContentHeaders$7 = {
|
|
|
24028
24283
|
* Secret Manager API. This API allows you to conveniently store, access and
|
|
24029
24284
|
* share sensitive data.
|
|
24030
24285
|
*/
|
|
24031
|
-
let API$7 = class API extends API$
|
|
24286
|
+
let API$7 = class API extends API$x {
|
|
24032
24287
|
/** Lists the available regions of the API. */
|
|
24033
24288
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
24034
24289
|
|
|
@@ -24501,7 +24756,7 @@ const jsonContentHeaders$6 = {
|
|
|
24501
24756
|
*
|
|
24502
24757
|
* This API allows you to manage your Serverless SQL DB databases.
|
|
24503
24758
|
*/
|
|
24504
|
-
let API$6 = class API extends API$
|
|
24759
|
+
let API$6 = class API extends API$x {
|
|
24505
24760
|
/** Lists the available regions of the API. */
|
|
24506
24761
|
static LOCALITIES = ['fr-par'];
|
|
24507
24762
|
|
|
@@ -24555,7 +24810,7 @@ let API$6 = class API extends API$w {
|
|
|
24555
24810
|
pageOfListDatabases = (request = {}) => this.client.fetch({
|
|
24556
24811
|
method: 'GET',
|
|
24557
24812
|
path: `/serverless-sqldb/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/databases`,
|
|
24558
|
-
urlParams: urlParams(['name', request.name], ['order_by', request.orderBy], ['page', request.page], ['page_size', request.pageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId])
|
|
24813
|
+
urlParams: urlParams(['name', request.name], ['order_by', request.orderBy], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId])
|
|
24559
24814
|
}, unmarshalListDatabasesResponse);
|
|
24560
24815
|
|
|
24561
24816
|
/**
|
|
@@ -24614,7 +24869,7 @@ let API$6 = class API extends API$w {
|
|
|
24614
24869
|
pageOfListDatabaseBackups = request => this.client.fetch({
|
|
24615
24870
|
method: 'GET',
|
|
24616
24871
|
path: `/serverless-sqldb/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backups`,
|
|
24617
|
-
urlParams: urlParams(['database_id', request.databaseId], ['order_by', request.orderBy], ['page', request.page], ['page_size', request.pageSize])
|
|
24872
|
+
urlParams: urlParams(['database_id', request.databaseId], ['order_by', request.orderBy], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize], ['project_id', request.projectId])
|
|
24618
24873
|
}, unmarshalListDatabaseBackupsResponse);
|
|
24619
24874
|
|
|
24620
24875
|
/**
|
|
@@ -24825,7 +25080,7 @@ const jsonContentHeaders$5 = {
|
|
|
24825
25080
|
*
|
|
24826
25081
|
* No Auth Service for end-to-end testing.
|
|
24827
25082
|
*/
|
|
24828
|
-
let API$5 = class API extends API$
|
|
25083
|
+
let API$5 = class API extends API$x {
|
|
24829
25084
|
/**
|
|
24830
25085
|
* Register a user. Register a human and return a access-key and a secret-key
|
|
24831
25086
|
* that must be used in all other commands.
|
|
@@ -25129,7 +25384,12 @@ const marshalCreateEmailRequestAttachment = (request, defaults) => ({
|
|
|
25129
25384
|
name: request.name,
|
|
25130
25385
|
type: request.type
|
|
25131
25386
|
});
|
|
25387
|
+
const marshalCreateEmailRequestHeader = (request, defaults) => ({
|
|
25388
|
+
key: request.key,
|
|
25389
|
+
value: request.value
|
|
25390
|
+
});
|
|
25132
25391
|
const marshalCreateEmailRequest = (request, defaults) => ({
|
|
25392
|
+
additional_headers: request.additionalHeaders !== undefined ? request.additionalHeaders.map(elt => marshalCreateEmailRequestHeader(elt)) : undefined,
|
|
25133
25393
|
attachments: request.attachments !== undefined ? request.attachments.map(elt => marshalCreateEmailRequestAttachment(elt)) : undefined,
|
|
25134
25394
|
bcc: request.bcc !== undefined ? request.bcc.map(elt => marshalCreateEmailRequestAddress(elt)) : undefined,
|
|
25135
25395
|
cc: request.cc !== undefined ? request.cc.map(elt => marshalCreateEmailRequestAddress(elt)) : undefined,
|
|
@@ -25149,7 +25409,7 @@ const jsonContentHeaders$4 = {
|
|
|
25149
25409
|
};
|
|
25150
25410
|
|
|
25151
25411
|
/** Transactional Email API. */
|
|
25152
|
-
let API$4 = class API extends API$
|
|
25412
|
+
let API$4 = class API extends API$x {
|
|
25153
25413
|
/** Lists the available regions of the API. */
|
|
25154
25414
|
static LOCALITIES = ['fr-par'];
|
|
25155
25415
|
|
|
@@ -25390,7 +25650,7 @@ const jsonContentHeaders$3 = {
|
|
|
25390
25650
|
};
|
|
25391
25651
|
|
|
25392
25652
|
/** VPC API. */
|
|
25393
|
-
let API$3 = class API extends API$
|
|
25653
|
+
let API$3 = class API extends API$x {
|
|
25394
25654
|
/** Lists the available zones of the API. */
|
|
25395
25655
|
static LOCALITIES = ['fr-par-1', 'fr-par-2', 'fr-par-3', 'nl-ams-1', 'nl-ams-2', 'nl-ams-3', 'pl-waw-1', 'pl-waw-2'];
|
|
25396
25656
|
pageOfListPrivateNetworks = (request = {}) => this.client.fetch({
|
|
@@ -25610,7 +25870,7 @@ const jsonContentHeaders$2 = {
|
|
|
25610
25870
|
};
|
|
25611
25871
|
|
|
25612
25872
|
/** VPC API. */
|
|
25613
|
-
let API$2 = class API extends API$
|
|
25873
|
+
let API$2 = class API extends API$x {
|
|
25614
25874
|
/** Lists the available regions of the API. */
|
|
25615
25875
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
25616
25876
|
pageOfListVPCs = (request = {}) => this.client.fetch({
|
|
@@ -26207,7 +26467,7 @@ const jsonContentHeaders$1 = {
|
|
|
26207
26467
|
};
|
|
26208
26468
|
|
|
26209
26469
|
/** Public Gateways API. */
|
|
26210
|
-
let API$1 = class API extends API$
|
|
26470
|
+
let API$1 = class API extends API$x {
|
|
26211
26471
|
/** Lists the available zones of the API. */
|
|
26212
26472
|
static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1', 'nl-ams-2', 'nl-ams-3', 'pl-waw-1', 'pl-waw-2', 'pl-waw-3'];
|
|
26213
26473
|
pageOfListGateways = (request = {}) => this.client.fetch({
|
|
@@ -26942,7 +27202,7 @@ const jsonContentHeaders = {
|
|
|
26942
27202
|
};
|
|
26943
27203
|
|
|
26944
27204
|
/** Web Hosting API. */
|
|
26945
|
-
class API extends API$
|
|
27205
|
+
class API extends API$x {
|
|
26946
27206
|
/** Lists the available regions of the API. */
|
|
26947
27207
|
static LOCALITIES = ['fr-par', 'nl-ams'];
|
|
26948
27208
|
|
|
@@ -27126,7 +27386,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
27126
27386
|
v1alpha1: index_gen
|
|
27127
27387
|
});
|
|
27128
27388
|
|
|
27129
|
-
exports.API = API$
|
|
27389
|
+
exports.API = API$x;
|
|
27130
27390
|
exports.Account = index$y;
|
|
27131
27391
|
exports.AppleSilicon = index$x;
|
|
27132
27392
|
exports.BareMetal = index$v;
|