@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.d.ts
CHANGED
|
@@ -903,7 +903,7 @@ declare const addAsyncHeaderInterceptor: (key: string, getter: () => Promise<str
|
|
|
903
903
|
*
|
|
904
904
|
* @internal
|
|
905
905
|
*/
|
|
906
|
-
declare abstract class API$
|
|
906
|
+
declare abstract class API$x {
|
|
907
907
|
protected client: Client;
|
|
908
908
|
constructor(client: Client);
|
|
909
909
|
}
|
|
@@ -1133,7 +1133,7 @@ type UpdateProjectRequest = {
|
|
|
1133
1133
|
*
|
|
1134
1134
|
* User related data. This API allows you to manage projects.
|
|
1135
1135
|
*/
|
|
1136
|
-
declare class API$
|
|
1136
|
+
declare class API$w extends API$x {
|
|
1137
1137
|
/**
|
|
1138
1138
|
* Create a new Project for an Organization. Deprecated in favor of Account
|
|
1139
1139
|
* API v3. Generate a new Project for an Organization, specifying its
|
|
@@ -1194,13 +1194,13 @@ declare class API$v extends API$w {
|
|
|
1194
1194
|
updateProject: (request?: Readonly<UpdateProjectRequest>) => Promise<Project$1>;
|
|
1195
1195
|
}
|
|
1196
1196
|
|
|
1197
|
-
type index_gen$
|
|
1198
|
-
type index_gen$
|
|
1199
|
-
type index_gen$
|
|
1200
|
-
type index_gen$
|
|
1201
|
-
type index_gen$
|
|
1202
|
-
declare namespace index_gen$
|
|
1203
|
-
export { API$
|
|
1197
|
+
type index_gen$v_CreateProjectRequest = CreateProjectRequest;
|
|
1198
|
+
type index_gen$v_DeleteProjectRequest = DeleteProjectRequest;
|
|
1199
|
+
type index_gen$v_GetProjectRequest = GetProjectRequest;
|
|
1200
|
+
type index_gen$v_ListProjectsRequest = ListProjectsRequest;
|
|
1201
|
+
type index_gen$v_UpdateProjectRequest = UpdateProjectRequest;
|
|
1202
|
+
declare namespace index_gen$v {
|
|
1203
|
+
export { API$w as API, type index_gen$v_CreateProjectRequest as CreateProjectRequest, type index_gen$v_DeleteProjectRequest as DeleteProjectRequest, type index_gen$v_GetProjectRequest as GetProjectRequest, type index_gen$v_ListProjectsRequest as ListProjectsRequest, type ListProjectsRequestOrderBy$1 as ListProjectsRequestOrderBy, type ListProjectsResponse$1 as ListProjectsResponse, type Project$1 as Project, type index_gen$v_UpdateProjectRequest as UpdateProjectRequest };
|
|
1204
1204
|
}
|
|
1205
1205
|
|
|
1206
1206
|
type ListProjectsRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc';
|
|
@@ -1271,7 +1271,7 @@ type ProjectApiUpdateProjectRequest$1 = {
|
|
|
1271
1271
|
*
|
|
1272
1272
|
* This API allows you to manage projects.
|
|
1273
1273
|
*/
|
|
1274
|
-
declare class ProjectAPI extends API$
|
|
1274
|
+
declare class ProjectAPI extends API$x {
|
|
1275
1275
|
/**
|
|
1276
1276
|
* Create a new Project for an Organization. Generate a new Project for an
|
|
1277
1277
|
* Organization, specifying its configuration including name and description.
|
|
@@ -1364,19 +1364,19 @@ declare namespace validationRules_gen$e {
|
|
|
1364
1364
|
export { validationRules_gen$e_ProjectApiCreateProjectRequest as ProjectApiCreateProjectRequest, validationRules_gen$e_ProjectApiListProjectsRequest as ProjectApiListProjectsRequest, validationRules_gen$e_ProjectApiUpdateProjectRequest as ProjectApiUpdateProjectRequest };
|
|
1365
1365
|
}
|
|
1366
1366
|
|
|
1367
|
-
type index_gen$
|
|
1368
|
-
type index_gen$
|
|
1369
|
-
type index_gen$
|
|
1370
|
-
type index_gen$
|
|
1371
|
-
declare const index_gen$
|
|
1372
|
-
type index_gen$
|
|
1373
|
-
type index_gen$
|
|
1374
|
-
declare namespace index_gen$
|
|
1375
|
-
export { type index_gen$
|
|
1367
|
+
type index_gen$u_ListProjectsRequestOrderBy = ListProjectsRequestOrderBy;
|
|
1368
|
+
type index_gen$u_ListProjectsResponse = ListProjectsResponse;
|
|
1369
|
+
type index_gen$u_Project = Project;
|
|
1370
|
+
type index_gen$u_ProjectAPI = ProjectAPI;
|
|
1371
|
+
declare const index_gen$u_ProjectAPI: typeof ProjectAPI;
|
|
1372
|
+
type index_gen$u_ProjectApiDeleteProjectRequest = ProjectApiDeleteProjectRequest;
|
|
1373
|
+
type index_gen$u_ProjectApiGetProjectRequest = ProjectApiGetProjectRequest;
|
|
1374
|
+
declare namespace index_gen$u {
|
|
1375
|
+
export { type index_gen$u_ListProjectsRequestOrderBy as ListProjectsRequestOrderBy, type index_gen$u_ListProjectsResponse as ListProjectsResponse, type index_gen$u_Project as Project, index_gen$u_ProjectAPI as ProjectAPI, type ProjectApiCreateProjectRequest$1 as ProjectApiCreateProjectRequest, type index_gen$u_ProjectApiDeleteProjectRequest as ProjectApiDeleteProjectRequest, type index_gen$u_ProjectApiGetProjectRequest as ProjectApiGetProjectRequest, type ProjectApiListProjectsRequest$1 as ProjectApiListProjectsRequest, type ProjectApiUpdateProjectRequest$1 as ProjectApiUpdateProjectRequest, validationRules_gen$e as ValidationRules };
|
|
1376
1376
|
}
|
|
1377
1377
|
|
|
1378
1378
|
declare namespace index$y {
|
|
1379
|
-
export { index_gen$
|
|
1379
|
+
export { index_gen$v as v2, index_gen$u as v3 };
|
|
1380
1380
|
}
|
|
1381
1381
|
|
|
1382
1382
|
type ListServersRequestOrderBy$1 = 'created_at_asc' | 'created_at_desc';
|
|
@@ -1557,7 +1557,7 @@ type UpdateServerRequest$3 = {
|
|
|
1557
1557
|
};
|
|
1558
1558
|
|
|
1559
1559
|
/** Apple silicon API. */
|
|
1560
|
-
declare class API$
|
|
1560
|
+
declare class API$v extends API$x {
|
|
1561
1561
|
/** Lists the available zones of the API. */
|
|
1562
1562
|
static readonly LOCALITIES: Zone[];
|
|
1563
1563
|
/**
|
|
@@ -1676,20 +1676,20 @@ declare class API$u extends API$w {
|
|
|
1676
1676
|
/** Lists transient statutes of the enum {@link ServerStatus}. */
|
|
1677
1677
|
declare const SERVER_TRANSIENT_STATUSES$2: ServerStatus$1[];
|
|
1678
1678
|
|
|
1679
|
-
type index_gen$
|
|
1680
|
-
type index_gen$
|
|
1681
|
-
type index_gen$
|
|
1682
|
-
type index_gen$
|
|
1683
|
-
type index_gen$
|
|
1684
|
-
type index_gen$
|
|
1685
|
-
type index_gen$
|
|
1686
|
-
type index_gen$
|
|
1687
|
-
declare namespace index_gen$
|
|
1688
|
-
export { API$
|
|
1679
|
+
type index_gen$t_GetServerTypeRequest = GetServerTypeRequest;
|
|
1680
|
+
type index_gen$t_ListServerTypesRequest = ListServerTypesRequest;
|
|
1681
|
+
type index_gen$t_ListServerTypesResponse = ListServerTypesResponse;
|
|
1682
|
+
type index_gen$t_ReinstallServerRequest = ReinstallServerRequest;
|
|
1683
|
+
type index_gen$t_ServerTypeCPU = ServerTypeCPU;
|
|
1684
|
+
type index_gen$t_ServerTypeDisk = ServerTypeDisk;
|
|
1685
|
+
type index_gen$t_ServerTypeMemory = ServerTypeMemory;
|
|
1686
|
+
type index_gen$t_ServerTypeStock = ServerTypeStock;
|
|
1687
|
+
declare namespace index_gen$t {
|
|
1688
|
+
export { API$v as API, type CreateServerRequest$3 as CreateServerRequest, type DeleteServerRequest$2 as DeleteServerRequest, type GetOSRequest$1 as GetOSRequest, type GetServerRequest$2 as GetServerRequest, type index_gen$t_GetServerTypeRequest as GetServerTypeRequest, type ListOSRequest$2 as ListOSRequest, type ListOSResponse$1 as ListOSResponse, type index_gen$t_ListServerTypesRequest as ListServerTypesRequest, type index_gen$t_ListServerTypesResponse as ListServerTypesResponse, type ListServersRequest$3 as ListServersRequest, type ListServersRequestOrderBy$1 as ListServersRequestOrderBy, type ListServersResponse$2 as ListServersResponse, type OS$1 as OS, type RebootServerRequest$1 as RebootServerRequest, type index_gen$t_ReinstallServerRequest as ReinstallServerRequest, SERVER_TRANSIENT_STATUSES$2 as SERVER_TRANSIENT_STATUSES, type Server$2 as Server, type ServerStatus$1 as ServerStatus, type ServerType$1 as ServerType, type index_gen$t_ServerTypeCPU as ServerTypeCPU, type index_gen$t_ServerTypeDisk as ServerTypeDisk, type index_gen$t_ServerTypeMemory as ServerTypeMemory, type index_gen$t_ServerTypeStock as ServerTypeStock, type UpdateServerRequest$3 as UpdateServerRequest };
|
|
1689
1689
|
}
|
|
1690
1690
|
|
|
1691
1691
|
declare namespace index$x {
|
|
1692
|
-
export { index_gen$
|
|
1692
|
+
export { index_gen$t as v1alpha1 };
|
|
1693
1693
|
}
|
|
1694
1694
|
|
|
1695
1695
|
type IPReverseStatus = 'unknown' | 'pending' | 'active' | 'error';
|
|
@@ -2379,7 +2379,7 @@ type UpdateSettingRequest = {
|
|
|
2379
2379
|
*
|
|
2380
2380
|
* This API allows to manage your Elastic Metal server.
|
|
2381
2381
|
*/
|
|
2382
|
-
declare class API$
|
|
2382
|
+
declare class API$u extends API$x {
|
|
2383
2383
|
/** Lists the available zones of the API. */
|
|
2384
2384
|
static readonly LOCALITIES: Zone[];
|
|
2385
2385
|
protected pageOfListServers: (request?: Readonly<ListServersRequest$2>) => Promise<ListServersResponse$1>;
|
|
@@ -2619,7 +2619,7 @@ declare class API$t extends API$w {
|
|
|
2619
2619
|
getOS: (request: Readonly<GetOSRequest>) => Promise<OS>;
|
|
2620
2620
|
}
|
|
2621
2621
|
/** Elastic Metal Private Network API. */
|
|
2622
|
-
declare class PrivateNetworkAPI extends API$
|
|
2622
|
+
declare class PrivateNetworkAPI extends API$x {
|
|
2623
2623
|
/** Lists the available zones of the API. */
|
|
2624
2624
|
static readonly LOCALITIES: Zone[];
|
|
2625
2625
|
/**
|
|
@@ -2659,7 +2659,7 @@ declare class PrivateNetworkAPI extends API$w {
|
|
|
2659
2659
|
deleteServerPrivateNetwork: (request: Readonly<PrivateNetworkApiDeleteServerPrivateNetworkRequest>) => Promise<void>;
|
|
2660
2660
|
}
|
|
2661
2661
|
|
|
2662
|
-
declare class BaremetalV1UtilsAPI extends API$
|
|
2662
|
+
declare class BaremetalV1UtilsAPI extends API$u {
|
|
2663
2663
|
/**
|
|
2664
2664
|
* Waits for {@link ServerInstall} to be in a final state.
|
|
2665
2665
|
*
|
|
@@ -2859,19 +2859,19 @@ declare namespace index$v {
|
|
|
2859
2859
|
export { index$w as v1 };
|
|
2860
2860
|
}
|
|
2861
2861
|
|
|
2862
|
-
type DiscountDiscountMode = 'unknown_discount_mode' | 'discount_mode_rate' | 'discount_mode_value' | 'discount_mode_splittable';
|
|
2863
|
-
type DiscountFilterType = 'unknown_type' | 'product_category' | 'product' | 'product_offer' | 'product_reference' | 'region' | 'zone';
|
|
2864
|
-
type DownloadInvoiceRequestFileType = 'pdf';
|
|
2865
|
-
type InvoiceType = 'unknown_type' | 'periodic' | 'purchase';
|
|
2866
|
-
type ListDiscountsRequestOrderBy = 'creation_date_desc' | 'creation_date_asc';
|
|
2867
|
-
type ListInvoicesRequestOrderBy = 'invoice_number_desc' | 'invoice_number_asc' | 'start_date_desc' | 'start_date_asc' | 'issued_date_desc' | 'issued_date_asc' | 'due_date_desc' | 'due_date_asc' | 'total_untaxed_desc' | 'total_untaxed_asc' | 'total_taxed_desc' | 'total_taxed_asc' | 'invoice_type_desc' | 'invoice_type_asc';
|
|
2868
|
-
interface DiscountCoupon {
|
|
2862
|
+
type DiscountDiscountMode$1 = 'unknown_discount_mode' | 'discount_mode_rate' | 'discount_mode_value' | 'discount_mode_splittable';
|
|
2863
|
+
type DiscountFilterType$1 = 'unknown_type' | 'product_category' | 'product' | 'product_offer' | 'product_reference' | 'region' | 'zone';
|
|
2864
|
+
type DownloadInvoiceRequestFileType$1 = 'pdf';
|
|
2865
|
+
type InvoiceType$1 = 'unknown_type' | 'periodic' | 'purchase';
|
|
2866
|
+
type ListDiscountsRequestOrderBy$1 = 'creation_date_desc' | 'creation_date_asc';
|
|
2867
|
+
type ListInvoicesRequestOrderBy$1 = 'invoice_number_desc' | 'invoice_number_asc' | 'start_date_desc' | 'start_date_asc' | 'issued_date_desc' | 'issued_date_asc' | 'due_date_desc' | 'due_date_asc' | 'total_untaxed_desc' | 'total_untaxed_asc' | 'total_taxed_desc' | 'total_taxed_asc' | 'invoice_type_desc' | 'invoice_type_asc';
|
|
2868
|
+
interface DiscountCoupon$1 {
|
|
2869
2869
|
/** The description of the coupon. */
|
|
2870
2870
|
description?: string;
|
|
2871
2871
|
}
|
|
2872
|
-
interface DiscountFilter {
|
|
2872
|
+
interface DiscountFilter$1 {
|
|
2873
2873
|
/** Type of the filter. */
|
|
2874
|
-
type: DiscountFilterType;
|
|
2874
|
+
type: DiscountFilterType$1;
|
|
2875
2875
|
/** Value of filter, it can be a product/range/region/zone value. */
|
|
2876
2876
|
value: string;
|
|
2877
2877
|
}
|
|
@@ -2887,7 +2887,7 @@ interface GetConsumptionResponseConsumption {
|
|
|
2887
2887
|
/** Unique identifier of the product. */
|
|
2888
2888
|
operationPath: string;
|
|
2889
2889
|
}
|
|
2890
|
-
interface Discount {
|
|
2890
|
+
interface Discount$1 {
|
|
2891
2891
|
/** The ID of the discount. */
|
|
2892
2892
|
id: string;
|
|
2893
2893
|
/** The creation date of the discount. */
|
|
@@ -2903,17 +2903,17 @@ interface Discount {
|
|
|
2903
2903
|
/** The remaining value of the discount. */
|
|
2904
2904
|
valueRemaining: number;
|
|
2905
2905
|
/** The mode of the discount. */
|
|
2906
|
-
mode: DiscountDiscountMode;
|
|
2906
|
+
mode: DiscountDiscountMode$1;
|
|
2907
2907
|
/** The start date of the discount. */
|
|
2908
2908
|
startDate?: Date;
|
|
2909
2909
|
/** The stop date of the discount. */
|
|
2910
2910
|
stopDate?: Date;
|
|
2911
2911
|
/** The description of the coupon. */
|
|
2912
|
-
coupon?: DiscountCoupon;
|
|
2912
|
+
coupon?: DiscountCoupon$1;
|
|
2913
2913
|
/** List of products/ranges/regions/zones to limit the usability of discounts. */
|
|
2914
|
-
filters: DiscountFilter[];
|
|
2914
|
+
filters: DiscountFilter$1[];
|
|
2915
2915
|
}
|
|
2916
|
-
interface Invoice {
|
|
2916
|
+
interface Invoice$1 {
|
|
2917
2917
|
/** Invoice ID. */
|
|
2918
2918
|
id: string;
|
|
2919
2919
|
/** Start date of the billing period. */
|
|
@@ -2927,15 +2927,15 @@ interface Invoice {
|
|
|
2927
2927
|
/** Total amount, taxed. */
|
|
2928
2928
|
totalTaxed?: Money;
|
|
2929
2929
|
/** Type of invoice. */
|
|
2930
|
-
invoiceType: InvoiceType;
|
|
2930
|
+
invoiceType: InvoiceType$1;
|
|
2931
2931
|
/** Invoice number. */
|
|
2932
2932
|
number: number;
|
|
2933
2933
|
}
|
|
2934
|
-
type DownloadInvoiceRequest = {
|
|
2934
|
+
type DownloadInvoiceRequest$1 = {
|
|
2935
2935
|
/** Invoice ID. */
|
|
2936
2936
|
invoiceId: string;
|
|
2937
2937
|
/** Wanted file type. */
|
|
2938
|
-
fileType?: DownloadInvoiceRequestFileType;
|
|
2938
|
+
fileType?: DownloadInvoiceRequestFileType$1;
|
|
2939
2939
|
};
|
|
2940
2940
|
type GetConsumptionRequest = {
|
|
2941
2941
|
/** Filter by organization ID. */
|
|
@@ -2947,9 +2947,9 @@ interface GetConsumptionResponse {
|
|
|
2947
2947
|
/** Last consumption update date. */
|
|
2948
2948
|
updatedAt?: Date;
|
|
2949
2949
|
}
|
|
2950
|
-
type ListDiscountsRequest = {
|
|
2950
|
+
type ListDiscountsRequest$1 = {
|
|
2951
2951
|
/** Order discounts in the response by their description. */
|
|
2952
|
-
orderBy?: ListDiscountsRequestOrderBy;
|
|
2952
|
+
orderBy?: ListDiscountsRequestOrderBy$1;
|
|
2953
2953
|
/** Positive integer to choose the page to return. */
|
|
2954
2954
|
page?: number;
|
|
2955
2955
|
/**
|
|
@@ -2960,13 +2960,13 @@ type ListDiscountsRequest = {
|
|
|
2960
2960
|
/** ID of the organization. */
|
|
2961
2961
|
organizationId?: string;
|
|
2962
2962
|
};
|
|
2963
|
-
interface ListDiscountsResponse {
|
|
2963
|
+
interface ListDiscountsResponse$1 {
|
|
2964
2964
|
/** Total number of discounts. */
|
|
2965
2965
|
totalCount: number;
|
|
2966
2966
|
/** Paginated returned discounts. */
|
|
2967
|
-
discounts: Discount[];
|
|
2967
|
+
discounts: Discount$1[];
|
|
2968
2968
|
}
|
|
2969
|
-
type ListInvoicesRequest = {
|
|
2969
|
+
type ListInvoicesRequest$1 = {
|
|
2970
2970
|
/**
|
|
2971
2971
|
* Organization ID to filter for, only invoices from this Organization will be
|
|
2972
2972
|
* returned.
|
|
@@ -2977,7 +2977,7 @@ type ListInvoicesRequest = {
|
|
|
2977
2977
|
/** Invoice's `start_date` precedes `started_before`. */
|
|
2978
2978
|
startedBefore?: Date;
|
|
2979
2979
|
/** Invoice type. It can either be `periodic` or `purchase`. */
|
|
2980
|
-
invoiceType?: InvoiceType;
|
|
2980
|
+
invoiceType?: InvoiceType$1;
|
|
2981
2981
|
/** Positive integer to choose the page to return. */
|
|
2982
2982
|
page?: number;
|
|
2983
2983
|
/**
|
|
@@ -2986,13 +2986,13 @@ type ListInvoicesRequest = {
|
|
|
2986
2986
|
*/
|
|
2987
2987
|
pageSize?: number;
|
|
2988
2988
|
/** How invoices are ordered in the response. */
|
|
2989
|
-
orderBy?: ListInvoicesRequestOrderBy;
|
|
2989
|
+
orderBy?: ListInvoicesRequestOrderBy$1;
|
|
2990
2990
|
};
|
|
2991
|
-
interface ListInvoicesResponse {
|
|
2991
|
+
interface ListInvoicesResponse$1 {
|
|
2992
2992
|
/** Total number of invoices. */
|
|
2993
2993
|
totalCount: number;
|
|
2994
2994
|
/** Paginated returned invoices. */
|
|
2995
|
-
invoices: Invoice[];
|
|
2995
|
+
invoices: Invoice$1[];
|
|
2996
2996
|
}
|
|
2997
2997
|
|
|
2998
2998
|
/**
|
|
@@ -3000,7 +3000,7 @@ interface ListInvoicesResponse {
|
|
|
3000
3000
|
*
|
|
3001
3001
|
* This API allows you to query your consumption.
|
|
3002
3002
|
*/
|
|
3003
|
-
declare class API$
|
|
3003
|
+
declare class API$t extends API$x {
|
|
3004
3004
|
/**
|
|
3005
3005
|
* Get current month's consumption. The consumption reflects the amount of
|
|
3006
3006
|
* money you have spent for the products you have used. The consumption value
|
|
@@ -3010,7 +3010,7 @@ declare class API$s extends API$w {
|
|
|
3010
3010
|
* @returns A Promise of GetConsumptionResponse
|
|
3011
3011
|
*/
|
|
3012
3012
|
getConsumption: (request?: Readonly<GetConsumptionRequest>) => Promise<GetConsumptionResponse>;
|
|
3013
|
-
protected pageOfListInvoices: (request?: Readonly<ListInvoicesRequest>) => Promise<ListInvoicesResponse>;
|
|
3013
|
+
protected pageOfListInvoices: (request?: Readonly<ListInvoicesRequest$1>) => Promise<ListInvoicesResponse$1>;
|
|
3014
3014
|
/**
|
|
3015
3015
|
* List invoices. List all your invoices, filtering by `start_date` and
|
|
3016
3016
|
* `invoice_type`. Each invoice has its own ID.
|
|
@@ -3018,9 +3018,9 @@ declare class API$s extends API$w {
|
|
|
3018
3018
|
* @param request - The request {@link ListInvoicesRequest}
|
|
3019
3019
|
* @returns A Promise of ListInvoicesResponse
|
|
3020
3020
|
*/
|
|
3021
|
-
listInvoices: (request?: Readonly<ListInvoicesRequest>) => Promise<ListInvoicesResponse> & {
|
|
3022
|
-
all: () => Promise<Invoice[]>;
|
|
3023
|
-
[Symbol.asyncIterator]: () => AsyncGenerator<Invoice[], void, void>;
|
|
3021
|
+
listInvoices: (request?: Readonly<ListInvoicesRequest$1>) => Promise<ListInvoicesResponse$1> & {
|
|
3022
|
+
all: () => Promise<Invoice$1[]>;
|
|
3023
|
+
[Symbol.asyncIterator]: () => AsyncGenerator<Invoice$1[], void, void>;
|
|
3024
3024
|
};
|
|
3025
3025
|
/**
|
|
3026
3026
|
* Download an invoice. Download a specific invoice, specified by its ID.
|
|
@@ -3028,8 +3028,8 @@ declare class API$s extends API$w {
|
|
|
3028
3028
|
* @param request - The request {@link DownloadInvoiceRequest}
|
|
3029
3029
|
* @returns A Promise of Blob
|
|
3030
3030
|
*/
|
|
3031
|
-
downloadInvoice: (request: Readonly<DownloadInvoiceRequest>) => Promise<Blob>;
|
|
3032
|
-
protected pageOfListDiscounts: (request?: Readonly<ListDiscountsRequest>) => Promise<ListDiscountsResponse>;
|
|
3031
|
+
downloadInvoice: (request: Readonly<DownloadInvoiceRequest$1>) => Promise<Blob>;
|
|
3032
|
+
protected pageOfListDiscounts: (request?: Readonly<ListDiscountsRequest$1>) => Promise<ListDiscountsResponse$1>;
|
|
3033
3033
|
/**
|
|
3034
3034
|
* List all user's discounts. List all discounts for an organization and
|
|
3035
3035
|
* usable categories/products/offers/references/regions/zones where the
|
|
@@ -3038,6 +3038,352 @@ declare class API$s extends API$w {
|
|
|
3038
3038
|
* @param request - The request {@link ListDiscountsRequest}
|
|
3039
3039
|
* @returns A Promise of ListDiscountsResponse
|
|
3040
3040
|
*/
|
|
3041
|
+
listDiscounts: (request?: Readonly<ListDiscountsRequest$1>) => Promise<ListDiscountsResponse$1> & {
|
|
3042
|
+
all: () => Promise<Discount$1[]>;
|
|
3043
|
+
[Symbol.asyncIterator]: () => AsyncGenerator<Discount$1[], void, void>;
|
|
3044
|
+
};
|
|
3045
|
+
}
|
|
3046
|
+
|
|
3047
|
+
type index_gen$s_GetConsumptionRequest = GetConsumptionRequest;
|
|
3048
|
+
type index_gen$s_GetConsumptionResponse = GetConsumptionResponse;
|
|
3049
|
+
type index_gen$s_GetConsumptionResponseConsumption = GetConsumptionResponseConsumption;
|
|
3050
|
+
declare namespace index_gen$s {
|
|
3051
|
+
export { API$t as API, type Discount$1 as Discount, type DiscountCoupon$1 as DiscountCoupon, type DiscountDiscountMode$1 as DiscountDiscountMode, type DiscountFilter$1 as DiscountFilter, type DiscountFilterType$1 as DiscountFilterType, type DownloadInvoiceRequest$1 as DownloadInvoiceRequest, type DownloadInvoiceRequestFileType$1 as DownloadInvoiceRequestFileType, type index_gen$s_GetConsumptionRequest as GetConsumptionRequest, type index_gen$s_GetConsumptionResponse as GetConsumptionResponse, type index_gen$s_GetConsumptionResponseConsumption as GetConsumptionResponseConsumption, type Invoice$1 as Invoice, type InvoiceType$1 as InvoiceType, type ListDiscountsRequest$1 as ListDiscountsRequest, type ListDiscountsRequestOrderBy$1 as ListDiscountsRequestOrderBy, type ListDiscountsResponse$1 as ListDiscountsResponse, type ListInvoicesRequest$1 as ListInvoicesRequest, type ListInvoicesRequestOrderBy$1 as ListInvoicesRequestOrderBy, type ListInvoicesResponse$1 as ListInvoicesResponse };
|
|
3052
|
+
}
|
|
3053
|
+
|
|
3054
|
+
type DiscountDiscountMode = 'unknown_discount_mode' | 'discount_mode_rate' | 'discount_mode_value' | 'discount_mode_splittable';
|
|
3055
|
+
type DiscountFilterType = 'unknown_type' | 'category_name' | 'product_name' | 'product_range' | 'resource_name' | 'region' | 'zone';
|
|
3056
|
+
type DownloadInvoiceRequestFileType = 'pdf';
|
|
3057
|
+
type ExportInvoicesRequestFileType = 'csv';
|
|
3058
|
+
type ExportInvoicesRequestOrderBy = 'invoice_number_desc' | 'invoice_number_asc' | 'start_date_desc' | 'start_date_asc' | 'issued_date_desc' | 'issued_date_asc' | 'due_date_desc' | 'due_date_asc' | 'total_untaxed_desc' | 'total_untaxed_asc' | 'total_taxed_desc' | 'total_taxed_asc' | 'invoice_type_desc' | 'invoice_type_asc';
|
|
3059
|
+
type InvoiceType = 'unknown_type' | 'periodic' | 'purchase';
|
|
3060
|
+
type ListConsumptionsRequestOrderBy = 'updated_at_desc' | 'updated_at_asc' | 'category_name_desc' | 'category_name_asc';
|
|
3061
|
+
type ListDiscountsRequestOrderBy = 'creation_date_desc' | 'creation_date_asc';
|
|
3062
|
+
type ListInvoicesRequestOrderBy = 'invoice_number_desc' | 'invoice_number_asc' | 'start_date_desc' | 'start_date_asc' | 'issued_date_desc' | 'issued_date_asc' | 'due_date_desc' | 'due_date_asc' | 'total_untaxed_desc' | 'total_untaxed_asc' | 'total_taxed_desc' | 'total_taxed_asc' | 'invoice_type_desc' | 'invoice_type_asc';
|
|
3063
|
+
type ListTaxesRequestOrderBy = 'updated_at_desc' | 'updated_at_asc' | 'category_name_desc' | 'category_name_asc';
|
|
3064
|
+
interface DiscountCoupon {
|
|
3065
|
+
/** The description of the coupon. */
|
|
3066
|
+
description?: string;
|
|
3067
|
+
}
|
|
3068
|
+
interface DiscountFilter {
|
|
3069
|
+
/**
|
|
3070
|
+
* Type of the filter (category name, product name, product range, resource
|
|
3071
|
+
* name, region or zone).
|
|
3072
|
+
*/
|
|
3073
|
+
type: DiscountFilterType;
|
|
3074
|
+
/** Value of filter. */
|
|
3075
|
+
value: string;
|
|
3076
|
+
}
|
|
3077
|
+
interface ListConsumptionsResponseConsumption {
|
|
3078
|
+
/** Monetary value of the consumption. */
|
|
3079
|
+
value?: Money;
|
|
3080
|
+
/**
|
|
3081
|
+
* The product name. For example, "VPC Public Gateway S", "VPC Public Gateway
|
|
3082
|
+
* M" for the VPC product.
|
|
3083
|
+
*/
|
|
3084
|
+
productName: string;
|
|
3085
|
+
/** Identifies the reference based on the category. */
|
|
3086
|
+
resourceName: string;
|
|
3087
|
+
/** Unique identifier of the product. */
|
|
3088
|
+
sku: string;
|
|
3089
|
+
/** Project ID of the consumption. */
|
|
3090
|
+
projectId: string;
|
|
3091
|
+
/** Name of consumption category. */
|
|
3092
|
+
categoryName: string;
|
|
3093
|
+
/** Unit of consumed quantity. */
|
|
3094
|
+
unit: string;
|
|
3095
|
+
/** Consumed quantity. */
|
|
3096
|
+
billedQuantity: string;
|
|
3097
|
+
}
|
|
3098
|
+
interface Discount {
|
|
3099
|
+
/** The ID of the discount. */
|
|
3100
|
+
id: string;
|
|
3101
|
+
/** The creation date of the discount. */
|
|
3102
|
+
creationDate?: Date;
|
|
3103
|
+
/** The organization ID of the discount. */
|
|
3104
|
+
organizationId: string;
|
|
3105
|
+
/** The description of the discount. */
|
|
3106
|
+
description: string;
|
|
3107
|
+
/** The initial value of the discount. */
|
|
3108
|
+
value: number;
|
|
3109
|
+
/** The value indicating how much of the discount has been used. */
|
|
3110
|
+
valueUsed: number;
|
|
3111
|
+
/** The remaining value of the discount. */
|
|
3112
|
+
valueRemaining: number;
|
|
3113
|
+
/** The mode of the discount. */
|
|
3114
|
+
mode: DiscountDiscountMode;
|
|
3115
|
+
/** The start date of the discount. */
|
|
3116
|
+
startDate?: Date;
|
|
3117
|
+
/** The stop date of the discount. */
|
|
3118
|
+
stopDate?: Date;
|
|
3119
|
+
/** The description of the coupon. */
|
|
3120
|
+
coupon?: DiscountCoupon;
|
|
3121
|
+
/** List of the discount scopes. */
|
|
3122
|
+
filters: DiscountFilter[];
|
|
3123
|
+
}
|
|
3124
|
+
interface Invoice {
|
|
3125
|
+
/** Invoice ID. */
|
|
3126
|
+
id: string;
|
|
3127
|
+
organizationId: string;
|
|
3128
|
+
organizationName: string;
|
|
3129
|
+
/** Start date of the billing period. */
|
|
3130
|
+
startDate?: Date;
|
|
3131
|
+
stopDate?: Date;
|
|
3132
|
+
/** The billing period of the invoice in the YYYY-MM format. */
|
|
3133
|
+
billingPeriod?: Date;
|
|
3134
|
+
/** Date when the invoice was sent to the customer. */
|
|
3135
|
+
issuedDate?: Date;
|
|
3136
|
+
/** Payment time limit, set according to the Organization's payment conditions. */
|
|
3137
|
+
dueDate?: Date;
|
|
3138
|
+
/** Total amount, untaxed. */
|
|
3139
|
+
totalUntaxed?: Money;
|
|
3140
|
+
/** Total amount, taxed. */
|
|
3141
|
+
totalTaxed?: Money;
|
|
3142
|
+
/** The total tax amount of the invoice. */
|
|
3143
|
+
totalTax?: Money;
|
|
3144
|
+
/** The total discount amount of the invoice. */
|
|
3145
|
+
totalDiscount?: Money;
|
|
3146
|
+
/** The total amount of the invoice before applying the discount. */
|
|
3147
|
+
totalUndiscount?: Money;
|
|
3148
|
+
/** Type of invoice, either periodic or purchase. */
|
|
3149
|
+
type: InvoiceType;
|
|
3150
|
+
/** The state of the Invoice. */
|
|
3151
|
+
state: string;
|
|
3152
|
+
/** Invoice number. */
|
|
3153
|
+
number: number;
|
|
3154
|
+
/** The name of the seller (Scaleway). */
|
|
3155
|
+
sellerName: string;
|
|
3156
|
+
}
|
|
3157
|
+
interface ListTaxesResponseTax {
|
|
3158
|
+
/** Description of the tax applied. */
|
|
3159
|
+
description: string;
|
|
3160
|
+
/** The three-letter currency code. */
|
|
3161
|
+
currency: string;
|
|
3162
|
+
/** Applied tax rate (0.2 means a VAT of 20%). */
|
|
3163
|
+
rate?: number;
|
|
3164
|
+
/** The total tax value of the consumption. */
|
|
3165
|
+
totalTaxValue?: number;
|
|
3166
|
+
}
|
|
3167
|
+
type DownloadInvoiceRequest = {
|
|
3168
|
+
/** Invoice ID. */
|
|
3169
|
+
invoiceId: string;
|
|
3170
|
+
/** File type. PDF by default. */
|
|
3171
|
+
fileType?: DownloadInvoiceRequestFileType;
|
|
3172
|
+
};
|
|
3173
|
+
type ExportInvoicesRequest = {
|
|
3174
|
+
/**
|
|
3175
|
+
* Organization ID. If specified, only invoices from this Organization will be
|
|
3176
|
+
* returned.
|
|
3177
|
+
*/
|
|
3178
|
+
organizationId?: string;
|
|
3179
|
+
/** Return only invoice with start date greater than billing_period_start. */
|
|
3180
|
+
billingPeriodStartAfter?: Date;
|
|
3181
|
+
/** Return only invoice with start date less than billing_period_start. */
|
|
3182
|
+
billingPeriodStartBefore?: Date;
|
|
3183
|
+
/** Invoice type. It can either be `periodic` or `purchase`. */
|
|
3184
|
+
invoiceType?: InvoiceType;
|
|
3185
|
+
/** Page number. */
|
|
3186
|
+
page?: number;
|
|
3187
|
+
/**
|
|
3188
|
+
* Positive integer lower or equal to 100 to select the number of items to
|
|
3189
|
+
* return.
|
|
3190
|
+
*/
|
|
3191
|
+
pageSize?: number;
|
|
3192
|
+
/** How invoices are ordered in the response. */
|
|
3193
|
+
orderBy?: ExportInvoicesRequestOrderBy;
|
|
3194
|
+
/** File format for exporting the invoice list. */
|
|
3195
|
+
fileType?: ExportInvoicesRequestFileType;
|
|
3196
|
+
};
|
|
3197
|
+
type GetInvoiceRequest = {
|
|
3198
|
+
/** Invoice ID. */
|
|
3199
|
+
invoiceId: string;
|
|
3200
|
+
};
|
|
3201
|
+
type ListConsumptionsRequest = {
|
|
3202
|
+
/** Order consumptions list in the response by their update date. */
|
|
3203
|
+
orderBy?: ListConsumptionsRequestOrderBy;
|
|
3204
|
+
/** Positive integer to choose the page to return. */
|
|
3205
|
+
page?: number;
|
|
3206
|
+
/**
|
|
3207
|
+
* Positive integer lower or equal to 100 to select the number of items to
|
|
3208
|
+
* return.
|
|
3209
|
+
*/
|
|
3210
|
+
pageSize?: number;
|
|
3211
|
+
/**
|
|
3212
|
+
* Filter by Organization ID.
|
|
3213
|
+
*
|
|
3214
|
+
* One-of ('projectIdentifier'): at most one of 'organizationId', 'projectId'
|
|
3215
|
+
* could be set.
|
|
3216
|
+
*/
|
|
3217
|
+
organizationId?: string;
|
|
3218
|
+
/**
|
|
3219
|
+
* Filter by Project ID.
|
|
3220
|
+
*
|
|
3221
|
+
* One-of ('projectIdentifier'): at most one of 'organizationId', 'projectId'
|
|
3222
|
+
* could be set.
|
|
3223
|
+
*/
|
|
3224
|
+
projectId?: string;
|
|
3225
|
+
/**
|
|
3226
|
+
* Filter by name of a Category as they are shown in the invoice (Compute,
|
|
3227
|
+
* Network, Observability).
|
|
3228
|
+
*/
|
|
3229
|
+
categoryName?: string;
|
|
3230
|
+
/**
|
|
3231
|
+
* Filter by the billing period in the YYYY-MM format. If it is empty the
|
|
3232
|
+
* current billing period will be used as default.
|
|
3233
|
+
*/
|
|
3234
|
+
billingPeriod?: string;
|
|
3235
|
+
};
|
|
3236
|
+
interface ListConsumptionsResponse {
|
|
3237
|
+
/** Detailed consumption list. */
|
|
3238
|
+
consumptions: ListConsumptionsResponseConsumption[];
|
|
3239
|
+
/** Total number of returned items. */
|
|
3240
|
+
totalCount: number;
|
|
3241
|
+
/**
|
|
3242
|
+
* Sum of all discounts, displayed only when no category or project ID filter
|
|
3243
|
+
* is applied.
|
|
3244
|
+
*/
|
|
3245
|
+
totalDiscountUntaxedValue: number;
|
|
3246
|
+
/** Last consumption update date. */
|
|
3247
|
+
updatedAt?: Date;
|
|
3248
|
+
}
|
|
3249
|
+
type ListDiscountsRequest = {
|
|
3250
|
+
/** Order discounts in the response by their description. */
|
|
3251
|
+
orderBy?: ListDiscountsRequestOrderBy;
|
|
3252
|
+
/** Positive integer to choose the page to return. */
|
|
3253
|
+
page?: number;
|
|
3254
|
+
/**
|
|
3255
|
+
* Positive integer lower or equal to 100 to select the number of items to
|
|
3256
|
+
* return.
|
|
3257
|
+
*/
|
|
3258
|
+
pageSize?: number;
|
|
3259
|
+
/** ID of the organization. */
|
|
3260
|
+
organizationId?: string;
|
|
3261
|
+
};
|
|
3262
|
+
interface ListDiscountsResponse {
|
|
3263
|
+
/** Total number of discounts. */
|
|
3264
|
+
totalCount: number;
|
|
3265
|
+
/** Paginated returned discounts. */
|
|
3266
|
+
discounts: Discount[];
|
|
3267
|
+
}
|
|
3268
|
+
type ListInvoicesRequest = {
|
|
3269
|
+
/**
|
|
3270
|
+
* Organization ID. If specified, only invoices from this Organization will be
|
|
3271
|
+
* returned.
|
|
3272
|
+
*/
|
|
3273
|
+
organizationId?: string;
|
|
3274
|
+
/** Return only invoice with start date greater than billing_period_start. */
|
|
3275
|
+
billingPeriodStartAfter?: Date;
|
|
3276
|
+
/** Return only invoice with start date less than billing_period_start. */
|
|
3277
|
+
billingPeriodStartBefore?: Date;
|
|
3278
|
+
/** Invoice type. It can either be `periodic` or `purchase`. */
|
|
3279
|
+
invoiceType?: InvoiceType;
|
|
3280
|
+
/** Page number. */
|
|
3281
|
+
page?: number;
|
|
3282
|
+
/**
|
|
3283
|
+
* Positive integer lower or equal to 100 to select the number of items to
|
|
3284
|
+
* return.
|
|
3285
|
+
*/
|
|
3286
|
+
pageSize?: number;
|
|
3287
|
+
/** How invoices are ordered in the response. */
|
|
3288
|
+
orderBy?: ListInvoicesRequestOrderBy;
|
|
3289
|
+
};
|
|
3290
|
+
interface ListInvoicesResponse {
|
|
3291
|
+
/** Total number of invoices. */
|
|
3292
|
+
totalCount: number;
|
|
3293
|
+
/** Paginated returned invoices. */
|
|
3294
|
+
invoices: Invoice[];
|
|
3295
|
+
}
|
|
3296
|
+
type ListTaxesRequest = {
|
|
3297
|
+
/** Order consumed taxes list in the response by their update date. */
|
|
3298
|
+
orderBy?: ListTaxesRequestOrderBy;
|
|
3299
|
+
/** Page number. */
|
|
3300
|
+
page?: number;
|
|
3301
|
+
/**
|
|
3302
|
+
* Positive integer lower or equal to 100 to select the number of items to
|
|
3303
|
+
* return.
|
|
3304
|
+
*/
|
|
3305
|
+
pageSize?: number;
|
|
3306
|
+
/** Filter by Organization ID. */
|
|
3307
|
+
organizationId?: string;
|
|
3308
|
+
/**
|
|
3309
|
+
* Filter by the billing period in the YYYY-MM format. If it is empty the
|
|
3310
|
+
* current billing period will be used as default.
|
|
3311
|
+
*/
|
|
3312
|
+
billingPeriod?: string;
|
|
3313
|
+
};
|
|
3314
|
+
interface ListTaxesResponse {
|
|
3315
|
+
/** Detailed consumption tax. */
|
|
3316
|
+
taxes: ListTaxesResponseTax[];
|
|
3317
|
+
/** Total number of returned items. */
|
|
3318
|
+
totalCount: number;
|
|
3319
|
+
/** Last consumption update date. */
|
|
3320
|
+
updatedAt?: Date;
|
|
3321
|
+
}
|
|
3322
|
+
|
|
3323
|
+
/**
|
|
3324
|
+
* Billing API.
|
|
3325
|
+
*
|
|
3326
|
+
* This API allows you to query your consumption.
|
|
3327
|
+
*/
|
|
3328
|
+
declare class API$s extends API$x {
|
|
3329
|
+
protected pageOfListConsumptions: (request?: Readonly<ListConsumptionsRequest>) => Promise<ListConsumptionsResponse>;
|
|
3330
|
+
/**
|
|
3331
|
+
* Get monthly consumption. Consumption allows you to retrieve your past or
|
|
3332
|
+
* current consumption cost, by project or category.
|
|
3333
|
+
*
|
|
3334
|
+
* @param request - The request {@link ListConsumptionsRequest}
|
|
3335
|
+
* @returns A Promise of ListConsumptionsResponse
|
|
3336
|
+
*/
|
|
3337
|
+
listConsumptions: (request?: Readonly<ListConsumptionsRequest>) => Promise<ListConsumptionsResponse> & {
|
|
3338
|
+
all: () => Promise<ListConsumptionsResponseConsumption[]>;
|
|
3339
|
+
[Symbol.asyncIterator]: () => AsyncGenerator<ListConsumptionsResponseConsumption[], void, void>;
|
|
3340
|
+
};
|
|
3341
|
+
protected pageOfListTaxes: (request?: Readonly<ListTaxesRequest>) => Promise<ListTaxesResponse>;
|
|
3342
|
+
/**
|
|
3343
|
+
* Get monthly consumption taxes. Consumption Tax allows you to retrieve your
|
|
3344
|
+
* past or current tax charges, by project or category.
|
|
3345
|
+
*
|
|
3346
|
+
* @param request - The request {@link ListTaxesRequest}
|
|
3347
|
+
* @returns A Promise of ListTaxesResponse
|
|
3348
|
+
*/
|
|
3349
|
+
listTaxes: (request?: Readonly<ListTaxesRequest>) => Promise<ListTaxesResponse> & {
|
|
3350
|
+
all: () => Promise<ListTaxesResponseTax[]>;
|
|
3351
|
+
[Symbol.asyncIterator]: () => AsyncGenerator<ListTaxesResponseTax[], void, void>;
|
|
3352
|
+
};
|
|
3353
|
+
protected pageOfListInvoices: (request?: Readonly<ListInvoicesRequest>) => Promise<ListInvoicesResponse>;
|
|
3354
|
+
/**
|
|
3355
|
+
* List invoices. List all your invoices, filtering by `start_date` and
|
|
3356
|
+
* `invoice_type`. Each invoice has its own ID.
|
|
3357
|
+
*
|
|
3358
|
+
* @param request - The request {@link ListInvoicesRequest}
|
|
3359
|
+
* @returns A Promise of ListInvoicesResponse
|
|
3360
|
+
*/
|
|
3361
|
+
listInvoices: (request?: Readonly<ListInvoicesRequest>) => Promise<ListInvoicesResponse> & {
|
|
3362
|
+
all: () => Promise<Invoice[]>;
|
|
3363
|
+
[Symbol.asyncIterator]: () => AsyncGenerator<Invoice[], void, void>;
|
|
3364
|
+
};
|
|
3365
|
+
/**
|
|
3366
|
+
* Export invoices. Export invoices in a CSV file.
|
|
3367
|
+
*
|
|
3368
|
+
* @param request - The request {@link ExportInvoicesRequest}
|
|
3369
|
+
* @returns A Promise of Blob
|
|
3370
|
+
*/
|
|
3371
|
+
exportInvoices: (request?: Readonly<ExportInvoicesRequest>) => Promise<Blob>;
|
|
3372
|
+
/**
|
|
3373
|
+
* Get an invoice. Get a specific invoice, specified by its ID.
|
|
3374
|
+
*
|
|
3375
|
+
* @param request - The request {@link GetInvoiceRequest}
|
|
3376
|
+
* @returns A Promise of Invoice
|
|
3377
|
+
*/
|
|
3378
|
+
getInvoice: (request: Readonly<GetInvoiceRequest>) => Promise<Invoice>;
|
|
3379
|
+
/**
|
|
3380
|
+
* Download an invoice. Download a specific invoice, specified by its ID.
|
|
3381
|
+
*
|
|
3382
|
+
* @param request - The request {@link DownloadInvoiceRequest}
|
|
3383
|
+
* @returns A Promise of Blob
|
|
3384
|
+
*/
|
|
3385
|
+
downloadInvoice: (request: Readonly<DownloadInvoiceRequest>) => Promise<Blob>;
|
|
3386
|
+
protected pageOfListDiscounts: (request?: Readonly<ListDiscountsRequest>) => Promise<ListDiscountsResponse>;
|
|
3041
3387
|
listDiscounts: (request?: Readonly<ListDiscountsRequest>) => Promise<ListDiscountsResponse> & {
|
|
3042
3388
|
all: () => Promise<Discount[]>;
|
|
3043
3389
|
[Symbol.asyncIterator]: () => AsyncGenerator<Discount[], void, void>;
|
|
@@ -3051,23 +3397,32 @@ type index_gen$r_DiscountFilter = DiscountFilter;
|
|
|
3051
3397
|
type index_gen$r_DiscountFilterType = DiscountFilterType;
|
|
3052
3398
|
type index_gen$r_DownloadInvoiceRequest = DownloadInvoiceRequest;
|
|
3053
3399
|
type index_gen$r_DownloadInvoiceRequestFileType = DownloadInvoiceRequestFileType;
|
|
3054
|
-
type index_gen$
|
|
3055
|
-
type index_gen$
|
|
3056
|
-
type index_gen$
|
|
3400
|
+
type index_gen$r_ExportInvoicesRequest = ExportInvoicesRequest;
|
|
3401
|
+
type index_gen$r_ExportInvoicesRequestFileType = ExportInvoicesRequestFileType;
|
|
3402
|
+
type index_gen$r_ExportInvoicesRequestOrderBy = ExportInvoicesRequestOrderBy;
|
|
3403
|
+
type index_gen$r_GetInvoiceRequest = GetInvoiceRequest;
|
|
3057
3404
|
type index_gen$r_Invoice = Invoice;
|
|
3058
3405
|
type index_gen$r_InvoiceType = InvoiceType;
|
|
3406
|
+
type index_gen$r_ListConsumptionsRequest = ListConsumptionsRequest;
|
|
3407
|
+
type index_gen$r_ListConsumptionsRequestOrderBy = ListConsumptionsRequestOrderBy;
|
|
3408
|
+
type index_gen$r_ListConsumptionsResponse = ListConsumptionsResponse;
|
|
3409
|
+
type index_gen$r_ListConsumptionsResponseConsumption = ListConsumptionsResponseConsumption;
|
|
3059
3410
|
type index_gen$r_ListDiscountsRequest = ListDiscountsRequest;
|
|
3060
3411
|
type index_gen$r_ListDiscountsRequestOrderBy = ListDiscountsRequestOrderBy;
|
|
3061
3412
|
type index_gen$r_ListDiscountsResponse = ListDiscountsResponse;
|
|
3062
3413
|
type index_gen$r_ListInvoicesRequest = ListInvoicesRequest;
|
|
3063
3414
|
type index_gen$r_ListInvoicesRequestOrderBy = ListInvoicesRequestOrderBy;
|
|
3064
3415
|
type index_gen$r_ListInvoicesResponse = ListInvoicesResponse;
|
|
3416
|
+
type index_gen$r_ListTaxesRequest = ListTaxesRequest;
|
|
3417
|
+
type index_gen$r_ListTaxesRequestOrderBy = ListTaxesRequestOrderBy;
|
|
3418
|
+
type index_gen$r_ListTaxesResponse = ListTaxesResponse;
|
|
3419
|
+
type index_gen$r_ListTaxesResponseTax = ListTaxesResponseTax;
|
|
3065
3420
|
declare namespace index_gen$r {
|
|
3066
|
-
export { API$s as API, type index_gen$r_Discount as Discount, type index_gen$r_DiscountCoupon as DiscountCoupon, type index_gen$r_DiscountDiscountMode as DiscountDiscountMode, type index_gen$r_DiscountFilter as DiscountFilter, type index_gen$r_DiscountFilterType as DiscountFilterType, type index_gen$r_DownloadInvoiceRequest as DownloadInvoiceRequest, type index_gen$r_DownloadInvoiceRequestFileType as DownloadInvoiceRequestFileType, type index_gen$
|
|
3421
|
+
export { API$s as API, type index_gen$r_Discount as Discount, type index_gen$r_DiscountCoupon as DiscountCoupon, type index_gen$r_DiscountDiscountMode as DiscountDiscountMode, type index_gen$r_DiscountFilter as DiscountFilter, type index_gen$r_DiscountFilterType as DiscountFilterType, type index_gen$r_DownloadInvoiceRequest as DownloadInvoiceRequest, type index_gen$r_DownloadInvoiceRequestFileType as DownloadInvoiceRequestFileType, type index_gen$r_ExportInvoicesRequest as ExportInvoicesRequest, type index_gen$r_ExportInvoicesRequestFileType as ExportInvoicesRequestFileType, type index_gen$r_ExportInvoicesRequestOrderBy as ExportInvoicesRequestOrderBy, type index_gen$r_GetInvoiceRequest as GetInvoiceRequest, type index_gen$r_Invoice as Invoice, type index_gen$r_InvoiceType as InvoiceType, type index_gen$r_ListConsumptionsRequest as ListConsumptionsRequest, type index_gen$r_ListConsumptionsRequestOrderBy as ListConsumptionsRequestOrderBy, type index_gen$r_ListConsumptionsResponse as ListConsumptionsResponse, type index_gen$r_ListConsumptionsResponseConsumption as ListConsumptionsResponseConsumption, type index_gen$r_ListDiscountsRequest as ListDiscountsRequest, type index_gen$r_ListDiscountsRequestOrderBy as ListDiscountsRequestOrderBy, type index_gen$r_ListDiscountsResponse as ListDiscountsResponse, type index_gen$r_ListInvoicesRequest as ListInvoicesRequest, type index_gen$r_ListInvoicesRequestOrderBy as ListInvoicesRequestOrderBy, type index_gen$r_ListInvoicesResponse as ListInvoicesResponse, type index_gen$r_ListTaxesRequest as ListTaxesRequest, type index_gen$r_ListTaxesRequestOrderBy as ListTaxesRequestOrderBy, type index_gen$r_ListTaxesResponse as ListTaxesResponse, type index_gen$r_ListTaxesResponseTax as ListTaxesResponseTax };
|
|
3067
3422
|
}
|
|
3068
3423
|
|
|
3069
3424
|
declare namespace index$u {
|
|
3070
|
-
export { index_gen$
|
|
3425
|
+
export { index_gen$s as v2alpha1, index_gen$r as v2beta1 };
|
|
3071
3426
|
}
|
|
3072
3427
|
|
|
3073
3428
|
type ListSnapshotsRequestOrderBy$2 = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc';
|
|
@@ -3395,7 +3750,7 @@ type UpdateVolumeRequest$2 = {
|
|
|
3395
3750
|
*
|
|
3396
3751
|
* This API allows you to use and manage your Block Storage volumes.
|
|
3397
3752
|
*/
|
|
3398
|
-
declare class API$r extends API$
|
|
3753
|
+
declare class API$r extends API$x {
|
|
3399
3754
|
/** Lists the available zones of the API. */
|
|
3400
3755
|
static readonly LOCALITIES: Zone[];
|
|
3401
3756
|
protected pageOfListVolumeTypes: (request?: Readonly<ListVolumeTypesRequest$1>) => Promise<ListVolumeTypesResponse>;
|
|
@@ -3985,20 +4340,20 @@ type TriggerTestAlertRequest = {
|
|
|
3985
4340
|
/**
|
|
3986
4341
|
* Cockpit API.
|
|
3987
4342
|
*
|
|
3988
|
-
* Cockpit
|
|
3989
|
-
*
|
|
3990
|
-
*
|
|
4343
|
+
* The Cockpit API allows you to activate your Cockpit to store metrics and
|
|
4344
|
+
* logs. It also provides you with a dedicated Grafana for dashboarding to
|
|
4345
|
+
* visualize your metrics and logs.
|
|
3991
4346
|
*/
|
|
3992
|
-
declare class API$q extends API$
|
|
4347
|
+
declare class API$q extends API$x {
|
|
3993
4348
|
/**
|
|
3994
|
-
* Activate the Cockpit of
|
|
4349
|
+
* Activate the Cockpit of a given Project specified by the Project ID.
|
|
3995
4350
|
*
|
|
3996
4351
|
* @param request - The request {@link ActivateCockpitRequest}
|
|
3997
4352
|
* @returns A Promise of Cockpit
|
|
3998
4353
|
*/
|
|
3999
4354
|
activateCockpit: (request?: Readonly<ActivateCockpitRequest>) => Promise<Cockpit>;
|
|
4000
4355
|
/**
|
|
4001
|
-
* Retrieve the Cockpit of
|
|
4356
|
+
* Retrieve the Cockpit of a given Project specified by the Project ID.
|
|
4002
4357
|
*
|
|
4003
4358
|
* @param request - The request {@link GetCockpitRequest}
|
|
4004
4359
|
* @returns A Promise of Cockpit
|
|
@@ -4013,35 +4368,37 @@ declare class API$q extends API$w {
|
|
|
4013
4368
|
*/
|
|
4014
4369
|
waitForCockpit: (request?: Readonly<GetCockpitRequest>, options?: Readonly<WaitForOptions<Cockpit>>) => Promise<Cockpit>;
|
|
4015
4370
|
/**
|
|
4016
|
-
*
|
|
4371
|
+
* Retrieve metrics from your Cockpit specified by the ID of the Project the
|
|
4372
|
+
* Cockpit belongs to.
|
|
4017
4373
|
*
|
|
4018
4374
|
* @param request - The request {@link GetCockpitMetricsRequest}
|
|
4019
4375
|
* @returns A Promise of CockpitMetrics
|
|
4020
4376
|
*/
|
|
4021
4377
|
getCockpitMetrics: (request?: Readonly<GetCockpitMetricsRequest>) => Promise<CockpitMetrics>;
|
|
4022
4378
|
/**
|
|
4023
|
-
* Deactivate the Cockpit of
|
|
4379
|
+
* Deactivate the Cockpit of a given Project specified by the Project ID.
|
|
4024
4380
|
*
|
|
4025
4381
|
* @param request - The request {@link DeactivateCockpitRequest}
|
|
4026
4382
|
* @returns A Promise of Cockpit
|
|
4027
4383
|
*/
|
|
4028
4384
|
deactivateCockpit: (request?: Readonly<DeactivateCockpitRequest>) => Promise<Cockpit>;
|
|
4029
4385
|
/**
|
|
4030
|
-
* Create a
|
|
4386
|
+
* Create a data source for a given Project specified by the Project ID and
|
|
4387
|
+
* the data source type.
|
|
4031
4388
|
*
|
|
4032
4389
|
* @param request - The request {@link CreateDatasourceRequest}
|
|
4033
4390
|
* @returns A Promise of Datasource
|
|
4034
4391
|
*/
|
|
4035
4392
|
createDatasource: (request: Readonly<CreateDatasourceRequest>) => Promise<Datasource>;
|
|
4036
4393
|
/**
|
|
4037
|
-
* Delete
|
|
4394
|
+
* Delete a given data source specified by the data source ID.
|
|
4038
4395
|
*
|
|
4039
4396
|
* @param request - The request {@link DeleteDatasourceRequest}
|
|
4040
4397
|
*/
|
|
4041
4398
|
deleteDatasource: (request: Readonly<DeleteDatasourceRequest>) => Promise<void>;
|
|
4042
4399
|
protected pageOfListDatasources: (request?: Readonly<ListDatasourcesRequest>) => Promise<ListDatasourcesResponse>;
|
|
4043
4400
|
/**
|
|
4044
|
-
* Get a list of
|
|
4401
|
+
* Get a list of data sources for the specified Project ID.
|
|
4045
4402
|
*
|
|
4046
4403
|
* @param request - The request {@link ListDatasourcesRequest}
|
|
4047
4404
|
* @returns A Promise of ListDatasourcesResponse
|
|
@@ -4051,7 +4408,7 @@ declare class API$q extends API$w {
|
|
|
4051
4408
|
[Symbol.asyncIterator]: () => AsyncGenerator<Datasource[], void, void>;
|
|
4052
4409
|
};
|
|
4053
4410
|
/**
|
|
4054
|
-
* Create a token
|
|
4411
|
+
* Create a token in a given Project specified by the Project ID.
|
|
4055
4412
|
*
|
|
4056
4413
|
* @param request - The request {@link CreateTokenRequest}
|
|
4057
4414
|
* @returns A Promise of Token
|
|
@@ -4059,7 +4416,7 @@ declare class API$q extends API$w {
|
|
|
4059
4416
|
createToken: (request?: Readonly<CreateTokenRequest$2>) => Promise<Token$2>;
|
|
4060
4417
|
protected pageOfListTokens: (request?: Readonly<ListTokensRequest$2>) => Promise<ListTokensResponse$2>;
|
|
4061
4418
|
/**
|
|
4062
|
-
* Get a list of tokens
|
|
4419
|
+
* Get a list of tokens in a given Project specified by the Project ID.
|
|
4063
4420
|
*
|
|
4064
4421
|
* @param request - The request {@link ListTokensRequest}
|
|
4065
4422
|
* @returns A Promise of ListTokensResponse
|
|
@@ -4069,20 +4426,21 @@ declare class API$q extends API$w {
|
|
|
4069
4426
|
[Symbol.asyncIterator]: () => AsyncGenerator<Token$2[], void, void>;
|
|
4070
4427
|
};
|
|
4071
4428
|
/**
|
|
4072
|
-
* Retrieve
|
|
4429
|
+
* Retrieve a given token specified by the token ID.
|
|
4073
4430
|
*
|
|
4074
4431
|
* @param request - The request {@link GetTokenRequest}
|
|
4075
4432
|
* @returns A Promise of Token
|
|
4076
4433
|
*/
|
|
4077
4434
|
getToken: (request: Readonly<GetTokenRequest$2>) => Promise<Token$2>;
|
|
4078
4435
|
/**
|
|
4079
|
-
* Delete
|
|
4436
|
+
* Delete a given token specified by the token ID.
|
|
4080
4437
|
*
|
|
4081
4438
|
* @param request - The request {@link DeleteTokenRequest}
|
|
4082
4439
|
*/
|
|
4083
4440
|
deleteToken: (request: Readonly<DeleteTokenRequest$2>) => Promise<void>;
|
|
4084
4441
|
/**
|
|
4085
|
-
* Create a contact point
|
|
4442
|
+
* Create a contact point associated with the default receiver, to receive
|
|
4443
|
+
* alerts.
|
|
4086
4444
|
*
|
|
4087
4445
|
* @param request - The request {@link CreateContactPointRequest}
|
|
4088
4446
|
* @returns A Promise of ContactPoint
|
|
@@ -4090,8 +4448,8 @@ declare class API$q extends API$w {
|
|
|
4090
4448
|
createContactPoint: (request?: Readonly<CreateContactPointRequest>) => Promise<ContactPoint>;
|
|
4091
4449
|
protected pageOfListContactPoints: (request?: Readonly<ListContactPointsRequest>) => Promise<ListContactPointsResponse>;
|
|
4092
4450
|
/**
|
|
4093
|
-
* Get a list of contact points for
|
|
4094
|
-
* Project
|
|
4451
|
+
* Get a list of contact points created for a given Cockpit, specified by the
|
|
4452
|
+
* ID of the Project the Cockpit belongs to.
|
|
4095
4453
|
*
|
|
4096
4454
|
* @param request - The request {@link ListContactPointsRequest}
|
|
4097
4455
|
* @returns A Promise of ListContactPointsResponse
|
|
@@ -4101,32 +4459,35 @@ declare class API$q extends API$w {
|
|
|
4101
4459
|
[Symbol.asyncIterator]: () => AsyncGenerator<ContactPoint[], void, void>;
|
|
4102
4460
|
};
|
|
4103
4461
|
/**
|
|
4104
|
-
* Delete a contact point
|
|
4462
|
+
* Delete a contact point associated with the default receiver.
|
|
4105
4463
|
*
|
|
4106
4464
|
* @param request - The request {@link DeleteContactPointRequest}
|
|
4107
4465
|
*/
|
|
4108
4466
|
deleteContactPoint: (request?: Readonly<DeleteContactPointRequest>) => Promise<void>;
|
|
4109
4467
|
/**
|
|
4110
|
-
* Enable the sending of managed alerts for
|
|
4468
|
+
* Enable the sending of managed alerts for a given Cockpit, specified by the
|
|
4469
|
+
* ID of the Project the Cockpit belongs to.
|
|
4111
4470
|
*
|
|
4112
4471
|
* @param request - The request {@link EnableManagedAlertsRequest}
|
|
4113
4472
|
*/
|
|
4114
4473
|
enableManagedAlerts: (request?: Readonly<EnableManagedAlertsRequest>) => Promise<void>;
|
|
4115
4474
|
/**
|
|
4116
|
-
* Disable the sending of managed alerts for
|
|
4475
|
+
* Disable the sending of managed alerts for a given Cockpit, specified by the
|
|
4476
|
+
* ID of the Project the Cockpit belongs to.
|
|
4117
4477
|
*
|
|
4118
4478
|
* @param request - The request {@link DisableManagedAlertsRequest}
|
|
4119
4479
|
*/
|
|
4120
4480
|
disableManagedAlerts: (request?: Readonly<DisableManagedAlertsRequest>) => Promise<void>;
|
|
4121
4481
|
/**
|
|
4122
|
-
*
|
|
4482
|
+
* Send a test alert to make sure your contact points get notified when an
|
|
4483
|
+
* actual alert is triggered.
|
|
4123
4484
|
*
|
|
4124
4485
|
* @param request - The request {@link TriggerTestAlertRequest}
|
|
4125
4486
|
*/
|
|
4126
4487
|
triggerTestAlert: (request?: Readonly<TriggerTestAlertRequest>) => Promise<void>;
|
|
4127
4488
|
/**
|
|
4128
|
-
* Create a Grafana user for your Cockpit's Grafana
|
|
4129
|
-
*
|
|
4489
|
+
* Create a Grafana user for your Cockpit's Grafana. Make sure you save the
|
|
4490
|
+
* automatically-generated password and the Grafana user ID.
|
|
4130
4491
|
*
|
|
4131
4492
|
* @param request - The request {@link CreateGrafanaUserRequest}
|
|
4132
4493
|
* @returns A Promise of GrafanaUser
|
|
@@ -4134,8 +4495,7 @@ declare class API$q extends API$w {
|
|
|
4134
4495
|
createGrafanaUser: (request: Readonly<CreateGrafanaUserRequest>) => Promise<GrafanaUser>;
|
|
4135
4496
|
protected pageOfListGrafanaUsers: (request?: Readonly<ListGrafanaUsersRequest>) => Promise<ListGrafanaUsersResponse>;
|
|
4136
4497
|
/**
|
|
4137
|
-
* Get a list of Grafana users
|
|
4138
|
-
* Grafana instance.
|
|
4498
|
+
* Get a list of all Grafana users created in your Cockpit's Grafana.
|
|
4139
4499
|
*
|
|
4140
4500
|
* @param request - The request {@link ListGrafanaUsersRequest}
|
|
4141
4501
|
* @returns A Promise of ListGrafanaUsersResponse
|
|
@@ -4145,15 +4505,15 @@ declare class API$q extends API$w {
|
|
|
4145
4505
|
[Symbol.asyncIterator]: () => AsyncGenerator<GrafanaUser[], void, void>;
|
|
4146
4506
|
};
|
|
4147
4507
|
/**
|
|
4148
|
-
* Delete a Grafana user from
|
|
4149
|
-
* Project
|
|
4508
|
+
* Delete a Grafana user from your Cockpit's Grafana, specified by the ID of
|
|
4509
|
+
* the Project the Cockpit belongs to, and the ID of the Grafana user.
|
|
4150
4510
|
*
|
|
4151
4511
|
* @param request - The request {@link DeleteGrafanaUserRequest}
|
|
4152
4512
|
*/
|
|
4153
4513
|
deleteGrafanaUser: (request: Readonly<DeleteGrafanaUserRequest>) => Promise<void>;
|
|
4154
4514
|
/**
|
|
4155
|
-
* Reset a Grafana user
|
|
4156
|
-
* the Grafana user
|
|
4515
|
+
* Reset the password of a Grafana user, specified by the ID of the Project
|
|
4516
|
+
* the Cockpit belongs to, and the ID of the Grafana user.
|
|
4157
4517
|
*
|
|
4158
4518
|
* @param request - The request {@link ResetGrafanaUserPasswordRequest}
|
|
4159
4519
|
* @returns A Promise of GrafanaUser
|
|
@@ -5081,7 +5441,7 @@ type UpdateTriggerRequest$3 = {
|
|
|
5081
5441
|
};
|
|
5082
5442
|
|
|
5083
5443
|
/** Serverless Containers API. */
|
|
5084
|
-
declare class API$p extends API$
|
|
5444
|
+
declare class API$p extends API$x {
|
|
5085
5445
|
/** Lists the available regions of the API. */
|
|
5086
5446
|
static readonly LOCALITIES: Region[];
|
|
5087
5447
|
protected pageOfListNamespaces: (request?: Readonly<ListNamespacesRequest$2>) => Promise<ListNamespacesResponse$2>;
|
|
@@ -6713,7 +7073,7 @@ type UpgradeInstanceRequest$1 = {
|
|
|
6713
7073
|
};
|
|
6714
7074
|
|
|
6715
7075
|
/** Managed Document Databases API. */
|
|
6716
|
-
declare class API$o extends API$
|
|
7076
|
+
declare class API$o extends API$x {
|
|
6717
7077
|
/** Lists the available regions of the API. */
|
|
6718
7078
|
static readonly LOCALITIES: Region[];
|
|
6719
7079
|
protected pageOfListDatabaseEngines: (request?: Readonly<ListDatabaseEnginesRequest$1>) => Promise<ListDatabaseEnginesResponse$1>;
|
|
@@ -8314,7 +8674,7 @@ type UpdateDNSZoneRequest = {
|
|
|
8314
8674
|
*
|
|
8315
8675
|
* Manage your domains, DNS zones and records with the Domains and DNS API.
|
|
8316
8676
|
*/
|
|
8317
|
-
declare class API$n extends API$
|
|
8677
|
+
declare class API$n extends API$x {
|
|
8318
8678
|
protected pageOfListDNSZones: (request: Readonly<ListDNSZonesRequest>) => Promise<ListDNSZonesResponse>;
|
|
8319
8679
|
/**
|
|
8320
8680
|
* List DNS zones. Retrieve the list of DNS zones you can manage and filter
|
|
@@ -8554,7 +8914,7 @@ declare class API$n extends API$w {
|
|
|
8554
8914
|
*
|
|
8555
8915
|
* Manage your domains and contacts.
|
|
8556
8916
|
*/
|
|
8557
|
-
declare class RegistrarAPI extends API$
|
|
8917
|
+
declare class RegistrarAPI extends API$x {
|
|
8558
8918
|
protected pageOfListTasks: (request?: Readonly<RegistrarApiListTasksRequest>) => Promise<ListTasksResponse>;
|
|
8559
8919
|
/**
|
|
8560
8920
|
* List tasks. List all operations performed on the account. You can filter
|
|
@@ -9210,7 +9570,7 @@ type UpdateFlexibleIPRequest = {
|
|
|
9210
9570
|
};
|
|
9211
9571
|
|
|
9212
9572
|
/** Elastic Metal - Flexible IP API. */
|
|
9213
|
-
declare class API$m extends API$
|
|
9573
|
+
declare class API$m extends API$x {
|
|
9214
9574
|
/** Lists the available zones of the API. */
|
|
9215
9575
|
static readonly LOCALITIES: Zone[];
|
|
9216
9576
|
/**
|
|
@@ -10231,7 +10591,7 @@ interface UploadURL {
|
|
|
10231
10591
|
}
|
|
10232
10592
|
|
|
10233
10593
|
/** Serverless Functions API. */
|
|
10234
|
-
declare class API$l extends API$
|
|
10594
|
+
declare class API$l extends API$x {
|
|
10235
10595
|
/** Lists the available regions of the API. */
|
|
10236
10596
|
static readonly LOCALITIES: Region[];
|
|
10237
10597
|
protected pageOfListNamespaces: (request?: Readonly<ListNamespacesRequest$1>) => Promise<ListNamespacesResponse$1>;
|
|
@@ -11214,7 +11574,7 @@ type ListAPIKeysRequest$1 = {
|
|
|
11214
11574
|
editable?: boolean;
|
|
11215
11575
|
/** Defines whether to filter out expired API keys or not. */
|
|
11216
11576
|
expired?: boolean;
|
|
11217
|
-
/** Filter by access key. */
|
|
11577
|
+
/** @deprecated Filter by access key (deprecated in favor of `access_keys`). */
|
|
11218
11578
|
accessKey?: string;
|
|
11219
11579
|
/** Filter by description. */
|
|
11220
11580
|
description?: string;
|
|
@@ -11222,6 +11582,8 @@ type ListAPIKeysRequest$1 = {
|
|
|
11222
11582
|
bearerId?: string;
|
|
11223
11583
|
/** Filter by type of bearer. */
|
|
11224
11584
|
bearerType?: BearerType;
|
|
11585
|
+
/** Filter by a list of access keys. */
|
|
11586
|
+
accessKeys?: string[];
|
|
11225
11587
|
};
|
|
11226
11588
|
interface ListAPIKeysResponse {
|
|
11227
11589
|
/** List of API keys. */
|
|
@@ -11360,6 +11722,8 @@ type ListPoliciesRequest$1 = {
|
|
|
11360
11722
|
policyName?: string;
|
|
11361
11723
|
/** Filter by tags containing a given string. */
|
|
11362
11724
|
tag?: string;
|
|
11725
|
+
/** Filter by a list of IDs. */
|
|
11726
|
+
policyIds?: string[];
|
|
11363
11727
|
};
|
|
11364
11728
|
interface ListPoliciesResponse {
|
|
11365
11729
|
/** List of policies. */
|
|
@@ -11556,7 +11920,7 @@ type UpdateUserRequest$1 = {
|
|
|
11556
11920
|
};
|
|
11557
11921
|
|
|
11558
11922
|
/** IAM API. */
|
|
11559
|
-
declare class API$k extends API$
|
|
11923
|
+
declare class API$k extends API$x {
|
|
11560
11924
|
protected pageOfListSSHKeys: (request?: Readonly<ListSSHKeysRequest$1>) => Promise<ListSSHKeysResponse>;
|
|
11561
11925
|
/**
|
|
11562
11926
|
* List SSH keys. List SSH keys. By default, the SSH keys listed are ordered
|
|
@@ -12535,6 +12899,7 @@ interface ServerLocation {
|
|
|
12535
12899
|
}
|
|
12536
12900
|
interface ServerMaintenance {
|
|
12537
12901
|
reason: string;
|
|
12902
|
+
startDate?: Date;
|
|
12538
12903
|
}
|
|
12539
12904
|
interface VolumeServer {
|
|
12540
12905
|
id: string;
|
|
@@ -14274,7 +14639,7 @@ interface SetSnapshotResponse {
|
|
|
14274
14639
|
}
|
|
14275
14640
|
|
|
14276
14641
|
/** Instance API. */
|
|
14277
|
-
declare class API$j extends API$
|
|
14642
|
+
declare class API$j extends API$x {
|
|
14278
14643
|
/** Lists the available zones of the API. */
|
|
14279
14644
|
static readonly LOCALITIES: Zone[];
|
|
14280
14645
|
/**
|
|
@@ -16045,7 +16410,7 @@ type UpdateRouteRequest$1 = {
|
|
|
16045
16410
|
*
|
|
16046
16411
|
* This API allows you to manage IoT hubs and devices.
|
|
16047
16412
|
*/
|
|
16048
|
-
declare class API$i extends API$
|
|
16413
|
+
declare class API$i extends API$x {
|
|
16049
16414
|
/** Lists the available regions of the API. */
|
|
16050
16415
|
static readonly LOCALITIES: Region[];
|
|
16051
16416
|
protected pageOfListHubs: (request?: Readonly<ListHubsRequest>) => Promise<ListHubsResponse>;
|
|
@@ -16651,7 +17016,7 @@ type UpdateIPRequest$1 = {
|
|
|
16651
17016
|
* This API allows you to manage IP addresses with Scaleway's IP Address
|
|
16652
17017
|
* Management tool.
|
|
16653
17018
|
*/
|
|
16654
|
-
declare class API$h extends API$
|
|
17019
|
+
declare class API$h extends API$x {
|
|
16655
17020
|
/** Lists the available regions of the API. */
|
|
16656
17021
|
static readonly LOCALITIES: Region[];
|
|
16657
17022
|
/**
|
|
@@ -17043,7 +17408,7 @@ type UpdateVolumeRequest = {
|
|
|
17043
17408
|
};
|
|
17044
17409
|
|
|
17045
17410
|
/** IPFS Pinning service API. */
|
|
17046
|
-
declare class API$g extends API$
|
|
17411
|
+
declare class API$g extends API$x {
|
|
17047
17412
|
/** Lists the available regions of the API. */
|
|
17048
17413
|
static readonly LOCALITIES: Region[];
|
|
17049
17414
|
/**
|
|
@@ -17171,7 +17536,7 @@ declare class API$g extends API$w {
|
|
|
17171
17536
|
deletePin: (request: Readonly<DeletePinRequest>) => Promise<void>;
|
|
17172
17537
|
}
|
|
17173
17538
|
/** IPFS Naming service API. */
|
|
17174
|
-
declare class IpnsAPI extends API$
|
|
17539
|
+
declare class IpnsAPI extends API$x {
|
|
17175
17540
|
/** Lists the available regions of the API. */
|
|
17176
17541
|
static readonly LOCALITIES: Region[];
|
|
17177
17542
|
/**
|
|
@@ -17332,6 +17697,8 @@ interface JobRun {
|
|
|
17332
17697
|
errorMessage: string;
|
|
17333
17698
|
cpuLimit: number;
|
|
17334
17699
|
memoryLimit: number;
|
|
17700
|
+
command: string;
|
|
17701
|
+
environmentVariables: Record<string, string>;
|
|
17335
17702
|
/**
|
|
17336
17703
|
* Region to target. If none is passed will use default region from the
|
|
17337
17704
|
* config.
|
|
@@ -17434,6 +17801,12 @@ type StartJobDefinitionRequest = {
|
|
|
17434
17801
|
region?: Region;
|
|
17435
17802
|
/** UUID of the job definition to start. */
|
|
17436
17803
|
jobDefinitionId: string;
|
|
17804
|
+
/** Contextual startup command for this specific job run. */
|
|
17805
|
+
command?: string;
|
|
17806
|
+
/** Contextual environment variables for this specific job run. */
|
|
17807
|
+
environmentVariables?: Record<string, string>;
|
|
17808
|
+
/** Number of jobs to run. */
|
|
17809
|
+
replicas?: number;
|
|
17437
17810
|
};
|
|
17438
17811
|
type StopJobRunRequest = {
|
|
17439
17812
|
/**
|
|
@@ -17472,7 +17845,7 @@ type UpdateJobDefinitionRequest$1 = {
|
|
|
17472
17845
|
};
|
|
17473
17846
|
|
|
17474
17847
|
/** Serverless Jobs API. */
|
|
17475
|
-
declare class API$f extends API$
|
|
17848
|
+
declare class API$f extends API$x {
|
|
17476
17849
|
/** Lists the available regions of the API. */
|
|
17477
17850
|
static readonly LOCALITIES: Region[];
|
|
17478
17851
|
/**
|
|
@@ -18448,6 +18821,8 @@ type GetClusterKubeConfigRequest$1 = {
|
|
|
18448
18821
|
region?: Region;
|
|
18449
18822
|
/** Cluster ID for which to download the kubeconfig. */
|
|
18450
18823
|
clusterId: string;
|
|
18824
|
+
/** Hide the legacy token from the kubeconfig. */
|
|
18825
|
+
redacted?: boolean;
|
|
18451
18826
|
};
|
|
18452
18827
|
type GetClusterRequest$1 = {
|
|
18453
18828
|
/**
|
|
@@ -18789,7 +19164,7 @@ type UpgradePoolRequest = {
|
|
|
18789
19164
|
};
|
|
18790
19165
|
|
|
18791
19166
|
/** Kubernetes API. */
|
|
18792
|
-
declare class API$e extends API$
|
|
19167
|
+
declare class API$e extends API$x {
|
|
18793
19168
|
/** Lists the available regions of the API. */
|
|
18794
19169
|
static readonly LOCALITIES: Region[];
|
|
18795
19170
|
protected pageOfListClusters: (request?: Readonly<ListClustersRequest$2>) => Promise<ListClustersResponse$1>;
|
|
@@ -21957,7 +22332,7 @@ type ZonedApiUpdateSubscriberRequest = {
|
|
|
21957
22332
|
*
|
|
21958
22333
|
* This API allows you to manage your Scaleway Load Balancer services.
|
|
21959
22334
|
*/
|
|
21960
|
-
declare class ZonedAPI extends API$
|
|
22335
|
+
declare class ZonedAPI extends API$x {
|
|
21961
22336
|
/** Lists the available zones of the API. */
|
|
21962
22337
|
static readonly LOCALITIES: Zone[];
|
|
21963
22338
|
protected pageOfListLbs: (request?: Readonly<ZonedApiListLbsRequest>) => Promise<ListLbsResponse>;
|
|
@@ -22511,7 +22886,7 @@ declare class ZonedAPI extends API$w {
|
|
|
22511
22886
|
*
|
|
22512
22887
|
* This API allows you to manage your load balancer service.
|
|
22513
22888
|
*/
|
|
22514
|
-
declare class API$d extends API$
|
|
22889
|
+
declare class API$d extends API$x {
|
|
22515
22890
|
/** Lists the available regions of the API. */
|
|
22516
22891
|
static readonly LOCALITIES: Region[];
|
|
22517
22892
|
protected pageOfListLbs: (request?: Readonly<ListLbsRequest>) => Promise<ListLbsResponse>;
|
|
@@ -23259,7 +23634,7 @@ interface ListImagesResponse$2 {
|
|
|
23259
23634
|
}
|
|
23260
23635
|
|
|
23261
23636
|
/** Marketplace API. */
|
|
23262
|
-
declare class API$c extends API$
|
|
23637
|
+
declare class API$c extends API$x {
|
|
23263
23638
|
protected pageOfListImages: (request?: Readonly<ListImagesRequest$2>) => Promise<ListImagesResponse$2>;
|
|
23264
23639
|
/**
|
|
23265
23640
|
* List marketplace images.
|
|
@@ -23422,7 +23797,7 @@ interface ListVersionsResponse {
|
|
|
23422
23797
|
}
|
|
23423
23798
|
|
|
23424
23799
|
/** Marketplace API. */
|
|
23425
|
-
declare class API$b extends API$
|
|
23800
|
+
declare class API$b extends API$x {
|
|
23426
23801
|
protected pageOfListImages: (request: Readonly<ListImagesRequest$1>) => Promise<ListImagesResponse$1>;
|
|
23427
23802
|
/**
|
|
23428
23803
|
* List marketplace images. List all available images on the marketplace,
|
|
@@ -23987,7 +24362,7 @@ interface SqsInfo {
|
|
|
23987
24362
|
*
|
|
23988
24363
|
* This API allows you to manage Scaleway Messaging and Queueing NATS accounts.
|
|
23989
24364
|
*/
|
|
23990
|
-
declare class NatsAPI extends API$
|
|
24365
|
+
declare class NatsAPI extends API$x {
|
|
23991
24366
|
/** Lists the available regions of the API. */
|
|
23992
24367
|
static readonly LOCALITIES: Region[];
|
|
23993
24368
|
/**
|
|
@@ -24084,7 +24459,7 @@ declare class NatsAPI extends API$w {
|
|
|
24084
24459
|
*
|
|
24085
24460
|
* This API allows you to manage Scaleway Messaging and Queueing SNS brokers.
|
|
24086
24461
|
*/
|
|
24087
|
-
declare class SnsAPI extends API$
|
|
24462
|
+
declare class SnsAPI extends API$x {
|
|
24088
24463
|
/** Lists the available regions of the API. */
|
|
24089
24464
|
static readonly LOCALITIES: Region[];
|
|
24090
24465
|
/**
|
|
@@ -24166,7 +24541,7 @@ declare class SnsAPI extends API$w {
|
|
|
24166
24541
|
*
|
|
24167
24542
|
* This API allows you to manage Scaleway Messaging and Queueing SQS brokers.
|
|
24168
24543
|
*/
|
|
24169
|
-
declare class SqsAPI extends API$
|
|
24544
|
+
declare class SqsAPI extends API$x {
|
|
24170
24545
|
/** Lists the available regions of the API. */
|
|
24171
24546
|
static readonly LOCALITIES: Region[];
|
|
24172
24547
|
/**
|
|
@@ -24593,6 +24968,8 @@ interface ReadReplica {
|
|
|
24593
24968
|
* nodes or not.
|
|
24594
24969
|
*/
|
|
24595
24970
|
sameZone: boolean;
|
|
24971
|
+
/** UUID of the Database Instance. */
|
|
24972
|
+
instanceId: string;
|
|
24596
24973
|
}
|
|
24597
24974
|
interface UpgradableVersion {
|
|
24598
24975
|
id: string;
|
|
@@ -25769,7 +26146,7 @@ type UpgradeInstanceRequest = {
|
|
|
25769
26146
|
};
|
|
25770
26147
|
|
|
25771
26148
|
/** Managed Database for PostgreSQL and MySQL API. */
|
|
25772
|
-
declare class API$a extends API$
|
|
26149
|
+
declare class API$a extends API$x {
|
|
25773
26150
|
/** Lists the available regions of the API. */
|
|
25774
26151
|
static readonly LOCALITIES: Region[];
|
|
25775
26152
|
protected pageOfListDatabaseEngines: (request?: Readonly<ListDatabaseEnginesRequest>) => Promise<ListDatabaseEnginesResponse>;
|
|
@@ -27005,7 +27382,7 @@ type UpdateEndpointRequest = {
|
|
|
27005
27382
|
};
|
|
27006
27383
|
|
|
27007
27384
|
/** Managed Database for Redis™ API. */
|
|
27008
|
-
declare class API$9 extends API$
|
|
27385
|
+
declare class API$9 extends API$x {
|
|
27009
27386
|
/** Lists the available zones of the API. */
|
|
27010
27387
|
static readonly LOCALITIES: Zone[];
|
|
27011
27388
|
/**
|
|
@@ -27614,7 +27991,7 @@ type UpdateNamespaceRequest = {
|
|
|
27614
27991
|
};
|
|
27615
27992
|
|
|
27616
27993
|
/** Container Registry API. */
|
|
27617
|
-
declare class API$8 extends API$
|
|
27994
|
+
declare class API$8 extends API$x {
|
|
27618
27995
|
/** Lists the available regions of the API. */
|
|
27619
27996
|
static readonly LOCALITIES: Region[];
|
|
27620
27997
|
protected pageOfListNamespaces: (request?: Readonly<ListNamespacesRequest>) => Promise<ListNamespacesResponse>;
|
|
@@ -28431,7 +28808,7 @@ type UpdateSecretVersionRequest = {
|
|
|
28431
28808
|
* Secret Manager API. This API allows you to conveniently store, access and
|
|
28432
28809
|
* share sensitive data.
|
|
28433
28810
|
*/
|
|
28434
|
-
declare class API$7 extends API$
|
|
28811
|
+
declare class API$7 extends API$x {
|
|
28435
28812
|
/** Lists the available regions of the API. */
|
|
28436
28813
|
static readonly LOCALITIES: Region[];
|
|
28437
28814
|
/**
|
|
@@ -28856,6 +29233,10 @@ type ListDatabaseBackupsRequest$1 = {
|
|
|
28856
29233
|
* config.
|
|
28857
29234
|
*/
|
|
28858
29235
|
region?: Region;
|
|
29236
|
+
/** Filter by the UUID of the Scaleway organization. */
|
|
29237
|
+
organizationId?: string;
|
|
29238
|
+
/** Filter by the UUID of the Scaleway project. */
|
|
29239
|
+
projectId?: string;
|
|
28859
29240
|
/** Filter by the UUID of the Serverless SQL Database. */
|
|
28860
29241
|
databaseId: string;
|
|
28861
29242
|
/** Page number. */
|
|
@@ -28877,6 +29258,8 @@ type ListDatabasesRequest$1 = {
|
|
|
28877
29258
|
* config.
|
|
28878
29259
|
*/
|
|
28879
29260
|
region?: Region;
|
|
29261
|
+
/** Filter by the UUID of the Scaleway organization. */
|
|
29262
|
+
organizationId?: string;
|
|
28880
29263
|
/** UUID of the Scaleway project. */
|
|
28881
29264
|
projectId?: string;
|
|
28882
29265
|
/** Page number. */
|
|
@@ -28927,7 +29310,7 @@ type UpdateDatabaseRequest$1 = {
|
|
|
28927
29310
|
*
|
|
28928
29311
|
* This API allows you to manage your Serverless SQL DB databases.
|
|
28929
29312
|
*/
|
|
28930
|
-
declare class API$6 extends API$
|
|
29313
|
+
declare class API$6 extends API$x {
|
|
28931
29314
|
/** Lists the available regions of the API. */
|
|
28932
29315
|
static readonly LOCALITIES: Region[];
|
|
28933
29316
|
/**
|
|
@@ -29220,7 +29603,7 @@ type UpdateHumanRequest = {
|
|
|
29220
29603
|
*
|
|
29221
29604
|
* No Auth Service for end-to-end testing.
|
|
29222
29605
|
*/
|
|
29223
|
-
declare class API$5 extends API$
|
|
29606
|
+
declare class API$5 extends API$x {
|
|
29224
29607
|
/**
|
|
29225
29608
|
* Register a user. Register a human and return a access-key and a secret-key
|
|
29226
29609
|
* that must be used in all other commands.
|
|
@@ -29382,6 +29765,12 @@ interface CreateEmailRequestAttachment {
|
|
|
29382
29765
|
/** Content of the attachment encoded in base64. */
|
|
29383
29766
|
content: string;
|
|
29384
29767
|
}
|
|
29768
|
+
interface CreateEmailRequestHeader {
|
|
29769
|
+
/** Email header key. */
|
|
29770
|
+
key: string;
|
|
29771
|
+
/** Email header value. */
|
|
29772
|
+
value: string;
|
|
29773
|
+
}
|
|
29385
29774
|
interface Email {
|
|
29386
29775
|
/** Technical ID of the email. */
|
|
29387
29776
|
id: string;
|
|
@@ -29528,6 +29917,8 @@ type CreateEmailRequest = {
|
|
|
29528
29917
|
attachments?: CreateEmailRequestAttachment[];
|
|
29529
29918
|
/** Maximum date to deliver the email. */
|
|
29530
29919
|
sendBefore?: Date;
|
|
29920
|
+
/** Array of additional headers as key-value. */
|
|
29921
|
+
additionalHeaders?: CreateEmailRequestHeader[];
|
|
29531
29922
|
};
|
|
29532
29923
|
interface CreateEmailResponse {
|
|
29533
29924
|
/** Single page of emails matching the requested criteria. */
|
|
@@ -29691,7 +30082,7 @@ interface Statistics {
|
|
|
29691
30082
|
}
|
|
29692
30083
|
|
|
29693
30084
|
/** Transactional Email API. */
|
|
29694
|
-
declare class API$4 extends API$
|
|
30085
|
+
declare class API$4 extends API$x {
|
|
29695
30086
|
/** Lists the available regions of the API. */
|
|
29696
30087
|
static readonly LOCALITIES: Region[];
|
|
29697
30088
|
/**
|
|
@@ -29829,6 +30220,7 @@ type index_gen$4_CreateDomainRequest = CreateDomainRequest;
|
|
|
29829
30220
|
type index_gen$4_CreateEmailRequest = CreateEmailRequest;
|
|
29830
30221
|
type index_gen$4_CreateEmailRequestAddress = CreateEmailRequestAddress;
|
|
29831
30222
|
type index_gen$4_CreateEmailRequestAttachment = CreateEmailRequestAttachment;
|
|
30223
|
+
type index_gen$4_CreateEmailRequestHeader = CreateEmailRequestHeader;
|
|
29832
30224
|
type index_gen$4_CreateEmailResponse = CreateEmailResponse;
|
|
29833
30225
|
declare const index_gen$4_DOMAIN_TRANSIENT_STATUSES: typeof DOMAIN_TRANSIENT_STATUSES;
|
|
29834
30226
|
type index_gen$4_Domain = Domain;
|
|
@@ -29858,7 +30250,7 @@ type index_gen$4_ListEmailsResponse = ListEmailsResponse;
|
|
|
29858
30250
|
type index_gen$4_RevokeDomainRequest = RevokeDomainRequest;
|
|
29859
30251
|
type index_gen$4_Statistics = Statistics;
|
|
29860
30252
|
declare namespace index_gen$4 {
|
|
29861
|
-
export { API$4 as API, type index_gen$4_CancelEmailRequest as CancelEmailRequest, type index_gen$4_CheckDomainRequest as CheckDomainRequest, type index_gen$4_CreateDomainRequest as CreateDomainRequest, type index_gen$4_CreateEmailRequest as CreateEmailRequest, type index_gen$4_CreateEmailRequestAddress as CreateEmailRequestAddress, type index_gen$4_CreateEmailRequestAttachment as CreateEmailRequestAttachment, type index_gen$4_CreateEmailResponse as CreateEmailResponse, index_gen$4_DOMAIN_TRANSIENT_STATUSES as DOMAIN_TRANSIENT_STATUSES, type index_gen$4_Domain as Domain, type index_gen$4_DomainLastStatus as DomainLastStatus, type index_gen$4_DomainLastStatusDkimRecord as DomainLastStatusDkimRecord, type index_gen$4_DomainLastStatusRecordStatus as DomainLastStatusRecordStatus, type index_gen$4_DomainLastStatusSpfRecord as DomainLastStatusSpfRecord, type index_gen$4_DomainReputation as DomainReputation, type index_gen$4_DomainReputationStatus as DomainReputationStatus, type index_gen$4_DomainStatistics as DomainStatistics, type index_gen$4_DomainStatus as DomainStatus, index_gen$4_EMAIL_TRANSIENT_STATUSES as EMAIL_TRANSIENT_STATUSES, type index_gen$4_Email as Email, type index_gen$4_EmailFlag as EmailFlag, type index_gen$4_EmailRcptType as EmailRcptType, type index_gen$4_EmailStatus as EmailStatus, type index_gen$4_EmailTry as EmailTry, type index_gen$4_GetDomainLastStatusRequest as GetDomainLastStatusRequest, type index_gen$4_GetDomainRequest as GetDomainRequest, type index_gen$4_GetEmailRequest as GetEmailRequest, type index_gen$4_GetStatisticsRequest as GetStatisticsRequest, type index_gen$4_ListDomainsRequest as ListDomainsRequest, type index_gen$4_ListDomainsResponse as ListDomainsResponse, type index_gen$4_ListEmailsRequest as ListEmailsRequest, type index_gen$4_ListEmailsRequestOrderBy as ListEmailsRequestOrderBy, type index_gen$4_ListEmailsResponse as ListEmailsResponse, type index_gen$4_RevokeDomainRequest as RevokeDomainRequest, type index_gen$4_Statistics as Statistics };
|
|
30253
|
+
export { API$4 as API, type index_gen$4_CancelEmailRequest as CancelEmailRequest, type index_gen$4_CheckDomainRequest as CheckDomainRequest, type index_gen$4_CreateDomainRequest as CreateDomainRequest, type index_gen$4_CreateEmailRequest as CreateEmailRequest, type index_gen$4_CreateEmailRequestAddress as CreateEmailRequestAddress, type index_gen$4_CreateEmailRequestAttachment as CreateEmailRequestAttachment, type index_gen$4_CreateEmailRequestHeader as CreateEmailRequestHeader, type index_gen$4_CreateEmailResponse as CreateEmailResponse, index_gen$4_DOMAIN_TRANSIENT_STATUSES as DOMAIN_TRANSIENT_STATUSES, type index_gen$4_Domain as Domain, type index_gen$4_DomainLastStatus as DomainLastStatus, type index_gen$4_DomainLastStatusDkimRecord as DomainLastStatusDkimRecord, type index_gen$4_DomainLastStatusRecordStatus as DomainLastStatusRecordStatus, type index_gen$4_DomainLastStatusSpfRecord as DomainLastStatusSpfRecord, type index_gen$4_DomainReputation as DomainReputation, type index_gen$4_DomainReputationStatus as DomainReputationStatus, type index_gen$4_DomainStatistics as DomainStatistics, type index_gen$4_DomainStatus as DomainStatus, index_gen$4_EMAIL_TRANSIENT_STATUSES as EMAIL_TRANSIENT_STATUSES, type index_gen$4_Email as Email, type index_gen$4_EmailFlag as EmailFlag, type index_gen$4_EmailRcptType as EmailRcptType, type index_gen$4_EmailStatus as EmailStatus, type index_gen$4_EmailTry as EmailTry, type index_gen$4_GetDomainLastStatusRequest as GetDomainLastStatusRequest, type index_gen$4_GetDomainRequest as GetDomainRequest, type index_gen$4_GetEmailRequest as GetEmailRequest, type index_gen$4_GetStatisticsRequest as GetStatisticsRequest, type index_gen$4_ListDomainsRequest as ListDomainsRequest, type index_gen$4_ListDomainsResponse as ListDomainsResponse, type index_gen$4_ListEmailsRequest as ListEmailsRequest, type index_gen$4_ListEmailsRequestOrderBy as ListEmailsRequestOrderBy, type index_gen$4_ListEmailsResponse as ListEmailsResponse, type index_gen$4_RevokeDomainRequest as RevokeDomainRequest, type index_gen$4_Statistics as Statistics };
|
|
29862
30254
|
}
|
|
29863
30255
|
|
|
29864
30256
|
declare namespace index$3 {
|
|
@@ -29965,7 +30357,7 @@ type UpdatePrivateNetworkRequest$1 = {
|
|
|
29965
30357
|
};
|
|
29966
30358
|
|
|
29967
30359
|
/** VPC API. */
|
|
29968
|
-
declare class API$3 extends API$
|
|
30360
|
+
declare class API$3 extends API$x {
|
|
29969
30361
|
/** Lists the available zones of the API. */
|
|
29970
30362
|
static readonly LOCALITIES: Zone[];
|
|
29971
30363
|
protected pageOfListPrivateNetworks: (request?: Readonly<ListPrivateNetworksRequest$1>) => Promise<ListPrivateNetworksResponse$1>;
|
|
@@ -30342,7 +30734,7 @@ type UpdateVPCRequest = {
|
|
|
30342
30734
|
};
|
|
30343
30735
|
|
|
30344
30736
|
/** VPC API. */
|
|
30345
|
-
declare class API$2 extends API$
|
|
30737
|
+
declare class API$2 extends API$x {
|
|
30346
30738
|
/** Lists the available regions of the API. */
|
|
30347
30739
|
static readonly LOCALITIES: Region[];
|
|
30348
30740
|
protected pageOfListVPCs: (request?: Readonly<ListVPCsRequest>) => Promise<ListVPCsResponse>;
|
|
@@ -31399,7 +31791,7 @@ type UpgradeGatewayRequest = {
|
|
|
31399
31791
|
};
|
|
31400
31792
|
|
|
31401
31793
|
/** Public Gateways API. */
|
|
31402
|
-
declare class API$1 extends API$
|
|
31794
|
+
declare class API$1 extends API$x {
|
|
31403
31795
|
/** Lists the available zones of the API. */
|
|
31404
31796
|
static readonly LOCALITIES: Zone[];
|
|
31405
31797
|
protected pageOfListGateways: (request?: Readonly<ListGatewaysRequest>) => Promise<ListGatewaysResponse>;
|
|
@@ -32189,7 +32581,7 @@ type UpdateHostingRequest = {
|
|
|
32189
32581
|
};
|
|
32190
32582
|
|
|
32191
32583
|
/** Web Hosting API. */
|
|
32192
|
-
declare class API extends API$
|
|
32584
|
+
declare class API extends API$x {
|
|
32193
32585
|
/** Lists the available regions of the API. */
|
|
32194
32586
|
static readonly LOCALITIES: Region[];
|
|
32195
32587
|
/**
|
|
@@ -32357,4 +32749,4 @@ declare namespace index {
|
|
|
32357
32749
|
export { index_gen as v1alpha1 };
|
|
32358
32750
|
}
|
|
32359
32751
|
|
|
32360
|
-
export { API$
|
|
32752
|
+
export { API$x as API, index$y as Account, index$x as AppleSilicon, index$v as BareMetal, index$u as Billing, index$t as Block, type Client, type ClientConfig, index$s as Cockpit, index$r as Container, type DefaultValues, index$q as DocumentDB, index$p as Domain, index$z as Errors, index$o as FlexibleIP, index$n as Function, index$m as IAM, index$j as IOT, index$i as IPAM, index$h as IPFS, index$k as Instance, index$g as Jobs, index$e as K8S, index$c as LB, type Logger, index$a as MNQ, index$b as Marketplace, type Money, type NetworkInterceptors, type Profile, index$9 as RDB, index$8 as Redis, type Region, index$7 as Registry, type RequestInterceptor, type ResponseErrorInterceptor, type ResponseInterceptor, type ScwFile, index$6 as Secret, index$5 as ServerlessSQLDB, type ServiceInfo, type Settings, index_gen$6 as Std, index$4 as Test, type TimeSeries, index$3 as TransactionalEmail, index$2 as VPC, index$1 as VPCGW, type WaitForOptions, type WaitForStopCondition, index as Webhosting, type Zone, addAsyncHeaderInterceptor, authenticateWithSessionToken, createAdvancedClient, createClient, createExponentialBackoffStrategy, enableConsoleLogger, enrichForPagination, isJSONObject, marshalMoney, marshalScwFile, marshalTimeSeries, resolveOneOf, setLogger, tryAtIntervals, unmarshalArrayOfObject, unmarshalDate, unmarshalMapOfObject, unmarshalMoney, unmarshalScwFile, unmarshalServiceInfo, unmarshalTimeSeries, unmarshalTimeSeriesPoint, urlParams, validatePathParam, waitForResource, withAdditionalInterceptors, withDefaultPageSize, withHTTPClient, withProfile, withUserAgent, withUserAgentSuffix };
|