@scaleway/sdk 2.11.0 → 2.13.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/index.d.ts CHANGED
@@ -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';
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
2864
  type DownloadInvoiceRequestFileType$1 = 'pdf';
2865
2865
  type InvoiceType$1 = 'unknown_type' | 'periodic' | 'purchase';
2866
- type ListDiscountsRequestOrderBy = 'creation_date_desc' | 'creation_date_asc';
2866
+ type ListDiscountsRequestOrderBy$1 = 'creation_date_desc' | 'creation_date_asc';
2867
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 {
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,15 +2903,15 @@ 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
2916
  interface Invoice$1 {
2917
2917
  /** Invoice 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,11 +2960,11 @@ 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
2969
  type ListInvoicesRequest$1 = {
2970
2970
  /**
@@ -3029,7 +3029,7 @@ declare class API$t extends API$x {
3029
3029
  * @returns A Promise of Blob
3030
3030
  */
3031
3031
  downloadInvoice: (request: Readonly<DownloadInvoiceRequest$1>) => Promise<Blob>;
3032
- protected pageOfListDiscounts: (request?: Readonly<ListDiscountsRequest>) => Promise<ListDiscountsResponse>;
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,34 +3038,42 @@ declare class API$t extends API$x {
3038
3038
  * @param request - The request {@link ListDiscountsRequest}
3039
3039
  * @returns A Promise of ListDiscountsResponse
3040
3040
  */
3041
- listDiscounts: (request?: Readonly<ListDiscountsRequest>) => Promise<ListDiscountsResponse> & {
3042
- all: () => Promise<Discount[]>;
3043
- [Symbol.asyncIterator]: () => AsyncGenerator<Discount[], void, void>;
3041
+ listDiscounts: (request?: Readonly<ListDiscountsRequest$1>) => Promise<ListDiscountsResponse$1> & {
3042
+ all: () => Promise<Discount$1[]>;
3043
+ [Symbol.asyncIterator]: () => AsyncGenerator<Discount$1[], void, void>;
3044
3044
  };
3045
3045
  }
3046
3046
 
3047
- type index_gen$s_Discount = Discount;
3048
- type index_gen$s_DiscountCoupon = DiscountCoupon;
3049
- type index_gen$s_DiscountDiscountMode = DiscountDiscountMode;
3050
- type index_gen$s_DiscountFilter = DiscountFilter;
3051
- type index_gen$s_DiscountFilterType = DiscountFilterType;
3052
3047
  type index_gen$s_GetConsumptionRequest = GetConsumptionRequest;
3053
3048
  type index_gen$s_GetConsumptionResponse = GetConsumptionResponse;
3054
3049
  type index_gen$s_GetConsumptionResponseConsumption = GetConsumptionResponseConsumption;
3055
- type index_gen$s_ListDiscountsRequest = ListDiscountsRequest;
3056
- type index_gen$s_ListDiscountsRequestOrderBy = ListDiscountsRequestOrderBy;
3057
- type index_gen$s_ListDiscountsResponse = ListDiscountsResponse;
3058
3050
  declare namespace index_gen$s {
3059
- export { API$t as API, type index_gen$s_Discount as Discount, type index_gen$s_DiscountCoupon as DiscountCoupon, type index_gen$s_DiscountDiscountMode as DiscountDiscountMode, type index_gen$s_DiscountFilter as DiscountFilter, type index_gen$s_DiscountFilterType 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 index_gen$s_ListDiscountsRequest as ListDiscountsRequest, type index_gen$s_ListDiscountsRequestOrderBy as ListDiscountsRequestOrderBy, type index_gen$s_ListDiscountsResponse as ListDiscountsResponse, type ListInvoicesRequest$1 as ListInvoicesRequest, type ListInvoicesRequestOrderBy$1 as ListInvoicesRequestOrderBy, type ListInvoicesResponse$1 as ListInvoicesResponse };
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 };
3060
3052
  }
3061
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';
3062
3056
  type DownloadInvoiceRequestFileType = 'pdf';
3063
3057
  type ExportInvoicesRequestFileType = 'csv';
3064
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';
3065
3059
  type InvoiceType = 'unknown_type' | 'periodic' | 'purchase';
3066
- type ListConsumptionsRequestOrderBy = 'updated_at_date_desc' | 'updated_at_date_asc' | 'category_name_desc' | 'category_name_asc';
3060
+ type ListConsumptionsRequestOrderBy = 'updated_at_desc' | 'updated_at_asc' | 'category_name_desc' | 'category_name_asc';
3061
+ type ListDiscountsRequestOrderBy = 'creation_date_desc' | 'creation_date_asc';
3067
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';
3068
- type ListTaxesRequestOrderBy = 'updated_at_date_desc' | 'updated_at_date_asc' | 'category_name_desc' | 'category_name_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
+ }
3069
3077
  interface ListConsumptionsResponseConsumption {
3070
3078
  /** Monetary value of the consumption. */
3071
3079
  value?: Money;
@@ -3082,6 +3090,36 @@ interface ListConsumptionsResponseConsumption {
3082
3090
  projectId: string;
3083
3091
  /** Name of consumption category. */
3084
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[];
3085
3123
  }
3086
3124
  interface Invoice {
3087
3125
  /** Invoice ID. */
@@ -3113,9 +3151,8 @@ interface Invoice {
3113
3151
  state: string;
3114
3152
  /** Invoice number. */
3115
3153
  number: number;
3154
+ /** The name of the seller (Scaleway). */
3116
3155
  sellerName: string;
3117
- /** Customer name associated to this organization. */
3118
- customerName: string;
3119
3156
  }
3120
3157
  interface ListTaxesResponseTax {
3121
3158
  /** Description of the tax applied. */
@@ -3209,6 +3246,25 @@ interface ListConsumptionsResponse {
3209
3246
  /** Last consumption update date. */
3210
3247
  updatedAt?: Date;
3211
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
+ }
3212
3268
  type ListInvoicesRequest = {
3213
3269
  /**
3214
3270
  * Organization ID. If specified, only invoices from this Organization will be
@@ -3327,8 +3383,18 @@ declare class API$s extends API$x {
3327
3383
  * @returns A Promise of Blob
3328
3384
  */
3329
3385
  downloadInvoice: (request: Readonly<DownloadInvoiceRequest>) => Promise<Blob>;
3386
+ protected pageOfListDiscounts: (request?: Readonly<ListDiscountsRequest>) => Promise<ListDiscountsResponse>;
3387
+ listDiscounts: (request?: Readonly<ListDiscountsRequest>) => Promise<ListDiscountsResponse> & {
3388
+ all: () => Promise<Discount[]>;
3389
+ [Symbol.asyncIterator]: () => AsyncGenerator<Discount[], void, void>;
3390
+ };
3330
3391
  }
3331
3392
 
3393
+ type index_gen$r_Discount = Discount;
3394
+ type index_gen$r_DiscountCoupon = DiscountCoupon;
3395
+ type index_gen$r_DiscountDiscountMode = DiscountDiscountMode;
3396
+ type index_gen$r_DiscountFilter = DiscountFilter;
3397
+ type index_gen$r_DiscountFilterType = DiscountFilterType;
3332
3398
  type index_gen$r_DownloadInvoiceRequest = DownloadInvoiceRequest;
3333
3399
  type index_gen$r_DownloadInvoiceRequestFileType = DownloadInvoiceRequestFileType;
3334
3400
  type index_gen$r_ExportInvoicesRequest = ExportInvoicesRequest;
@@ -3341,6 +3407,9 @@ type index_gen$r_ListConsumptionsRequest = ListConsumptionsRequest;
3341
3407
  type index_gen$r_ListConsumptionsRequestOrderBy = ListConsumptionsRequestOrderBy;
3342
3408
  type index_gen$r_ListConsumptionsResponse = ListConsumptionsResponse;
3343
3409
  type index_gen$r_ListConsumptionsResponseConsumption = ListConsumptionsResponseConsumption;
3410
+ type index_gen$r_ListDiscountsRequest = ListDiscountsRequest;
3411
+ type index_gen$r_ListDiscountsRequestOrderBy = ListDiscountsRequestOrderBy;
3412
+ type index_gen$r_ListDiscountsResponse = ListDiscountsResponse;
3344
3413
  type index_gen$r_ListInvoicesRequest = ListInvoicesRequest;
3345
3414
  type index_gen$r_ListInvoicesRequestOrderBy = ListInvoicesRequestOrderBy;
3346
3415
  type index_gen$r_ListInvoicesResponse = ListInvoicesResponse;
@@ -3349,7 +3418,7 @@ type index_gen$r_ListTaxesRequestOrderBy = ListTaxesRequestOrderBy;
3349
3418
  type index_gen$r_ListTaxesResponse = ListTaxesResponse;
3350
3419
  type index_gen$r_ListTaxesResponseTax = ListTaxesResponseTax;
3351
3420
  declare namespace index_gen$r {
3352
- export { API$s as API, 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_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 };
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 };
3353
3422
  }
3354
3423
 
3355
3424
  declare namespace index$u {
@@ -4271,20 +4340,20 @@ type TriggerTestAlertRequest = {
4271
4340
  /**
4272
4341
  * Cockpit API.
4273
4342
  *
4274
- * Cockpit's API allows you to activate your Cockpit on your Projects.
4275
- * Scaleway's Cockpit stores metrics and logs and provides a dedicated Grafana
4276
- * for dashboarding to visualize them.
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.
4277
4346
  */
4278
4347
  declare class API$q extends API$x {
4279
4348
  /**
4280
- * Activate the Cockpit of the specified Project ID.
4349
+ * Activate the Cockpit of a given Project specified by the Project ID.
4281
4350
  *
4282
4351
  * @param request - The request {@link ActivateCockpitRequest}
4283
4352
  * @returns A Promise of Cockpit
4284
4353
  */
4285
4354
  activateCockpit: (request?: Readonly<ActivateCockpitRequest>) => Promise<Cockpit>;
4286
4355
  /**
4287
- * Retrieve the Cockpit of the specified Project ID.
4356
+ * Retrieve the Cockpit of a given Project specified by the Project ID.
4288
4357
  *
4289
4358
  * @param request - The request {@link GetCockpitRequest}
4290
4359
  * @returns A Promise of Cockpit
@@ -4299,35 +4368,37 @@ declare class API$q extends API$x {
4299
4368
  */
4300
4369
  waitForCockpit: (request?: Readonly<GetCockpitRequest>, options?: Readonly<WaitForOptions<Cockpit>>) => Promise<Cockpit>;
4301
4370
  /**
4302
- * Get metrics from your Cockpit with the specified Project ID.
4371
+ * Retrieve metrics from your Cockpit specified by the ID of the Project the
4372
+ * Cockpit belongs to.
4303
4373
  *
4304
4374
  * @param request - The request {@link GetCockpitMetricsRequest}
4305
4375
  * @returns A Promise of CockpitMetrics
4306
4376
  */
4307
4377
  getCockpitMetrics: (request?: Readonly<GetCockpitMetricsRequest>) => Promise<CockpitMetrics>;
4308
4378
  /**
4309
- * Deactivate the Cockpit of the specified Project ID.
4379
+ * Deactivate the Cockpit of a given Project specified by the Project ID.
4310
4380
  *
4311
4381
  * @param request - The request {@link DeactivateCockpitRequest}
4312
4382
  * @returns A Promise of Cockpit
4313
4383
  */
4314
4384
  deactivateCockpit: (request?: Readonly<DeactivateCockpitRequest>) => Promise<Cockpit>;
4315
4385
  /**
4316
- * Create a datasource for the specified Project ID and the given type.
4386
+ * Create a data source for a given Project specified by the Project ID and
4387
+ * the data source type.
4317
4388
  *
4318
4389
  * @param request - The request {@link CreateDatasourceRequest}
4319
4390
  * @returns A Promise of Datasource
4320
4391
  */
4321
4392
  createDatasource: (request: Readonly<CreateDatasourceRequest>) => Promise<Datasource>;
4322
4393
  /**
4323
- * Delete the datasource associated with the specified datasource ID.
4394
+ * Delete a given data source specified by the data source ID.
4324
4395
  *
4325
4396
  * @param request - The request {@link DeleteDatasourceRequest}
4326
4397
  */
4327
4398
  deleteDatasource: (request: Readonly<DeleteDatasourceRequest>) => Promise<void>;
4328
4399
  protected pageOfListDatasources: (request?: Readonly<ListDatasourcesRequest>) => Promise<ListDatasourcesResponse>;
4329
4400
  /**
4330
- * Get a list of datasources for the specified Project ID.
4401
+ * Get a list of data sources for the specified Project ID.
4331
4402
  *
4332
4403
  * @param request - The request {@link ListDatasourcesRequest}
4333
4404
  * @returns A Promise of ListDatasourcesResponse
@@ -4337,7 +4408,7 @@ declare class API$q extends API$x {
4337
4408
  [Symbol.asyncIterator]: () => AsyncGenerator<Datasource[], void, void>;
4338
4409
  };
4339
4410
  /**
4340
- * Create a token associated with the specified Project ID.
4411
+ * Create a token in a given Project specified by the Project ID.
4341
4412
  *
4342
4413
  * @param request - The request {@link CreateTokenRequest}
4343
4414
  * @returns A Promise of Token
@@ -4345,7 +4416,7 @@ declare class API$q extends API$x {
4345
4416
  createToken: (request?: Readonly<CreateTokenRequest$2>) => Promise<Token$2>;
4346
4417
  protected pageOfListTokens: (request?: Readonly<ListTokensRequest$2>) => Promise<ListTokensResponse$2>;
4347
4418
  /**
4348
- * Get a list of tokens associated with the specified Project ID.
4419
+ * Get a list of tokens in a given Project specified by the Project ID.
4349
4420
  *
4350
4421
  * @param request - The request {@link ListTokensRequest}
4351
4422
  * @returns A Promise of ListTokensResponse
@@ -4355,20 +4426,21 @@ declare class API$q extends API$x {
4355
4426
  [Symbol.asyncIterator]: () => AsyncGenerator<Token$2[], void, void>;
4356
4427
  };
4357
4428
  /**
4358
- * Retrieve the token associated with the specified token ID.
4429
+ * Retrieve a given token specified by the token ID.
4359
4430
  *
4360
4431
  * @param request - The request {@link GetTokenRequest}
4361
4432
  * @returns A Promise of Token
4362
4433
  */
4363
4434
  getToken: (request: Readonly<GetTokenRequest$2>) => Promise<Token$2>;
4364
4435
  /**
4365
- * Delete the token associated with the specified token ID.
4436
+ * Delete a given token specified by the token ID.
4366
4437
  *
4367
4438
  * @param request - The request {@link DeleteTokenRequest}
4368
4439
  */
4369
4440
  deleteToken: (request: Readonly<DeleteTokenRequest$2>) => Promise<void>;
4370
4441
  /**
4371
- * Create a contact point to receive alerts for the default receiver.
4442
+ * Create a contact point associated with the default receiver, to receive
4443
+ * alerts.
4372
4444
  *
4373
4445
  * @param request - The request {@link CreateContactPointRequest}
4374
4446
  * @returns A Promise of ContactPoint
@@ -4376,8 +4448,8 @@ declare class API$q extends API$x {
4376
4448
  createContactPoint: (request?: Readonly<CreateContactPointRequest>) => Promise<ContactPoint>;
4377
4449
  protected pageOfListContactPoints: (request?: Readonly<ListContactPointsRequest>) => Promise<ListContactPointsResponse>;
4378
4450
  /**
4379
- * Get a list of contact points for the Cockpit associated with the specified
4380
- * Project ID.
4451
+ * Get a list of contact points created for a given Cockpit, specified by the
4452
+ * ID of the Project the Cockpit belongs to.
4381
4453
  *
4382
4454
  * @param request - The request {@link ListContactPointsRequest}
4383
4455
  * @returns A Promise of ListContactPointsResponse
@@ -4387,32 +4459,35 @@ declare class API$q extends API$x {
4387
4459
  [Symbol.asyncIterator]: () => AsyncGenerator<ContactPoint[], void, void>;
4388
4460
  };
4389
4461
  /**
4390
- * Delete a contact point for the default receiver.
4462
+ * Delete a contact point associated with the default receiver.
4391
4463
  *
4392
4464
  * @param request - The request {@link DeleteContactPointRequest}
4393
4465
  */
4394
4466
  deleteContactPoint: (request?: Readonly<DeleteContactPointRequest>) => Promise<void>;
4395
4467
  /**
4396
- * Enable the sending of managed alerts for the specified Project's Cockpit.
4468
+ * Enable the sending of managed alerts for a given Cockpit, specified by the
4469
+ * ID of the Project the Cockpit belongs to.
4397
4470
  *
4398
4471
  * @param request - The request {@link EnableManagedAlertsRequest}
4399
4472
  */
4400
4473
  enableManagedAlerts: (request?: Readonly<EnableManagedAlertsRequest>) => Promise<void>;
4401
4474
  /**
4402
- * Disable the sending of managed alerts for the specified Project's Cockpit.
4475
+ * Disable the sending of managed alerts for a given Cockpit, specified by the
4476
+ * ID of the Project the Cockpit belongs to.
4403
4477
  *
4404
4478
  * @param request - The request {@link DisableManagedAlertsRequest}
4405
4479
  */
4406
4480
  disableManagedAlerts: (request?: Readonly<DisableManagedAlertsRequest>) => Promise<void>;
4407
4481
  /**
4408
- * Trigger a test alert to all of the Cockpit's receivers.
4482
+ * Send a test alert to make sure your contact points get notified when an
4483
+ * actual alert is triggered.
4409
4484
  *
4410
4485
  * @param request - The request {@link TriggerTestAlertRequest}
4411
4486
  */
4412
4487
  triggerTestAlert: (request?: Readonly<TriggerTestAlertRequest>) => Promise<void>;
4413
4488
  /**
4414
- * Create a Grafana user for your Cockpit's Grafana instance. Make sure you
4415
- * save the automatically-generated password and the Grafana user ID.
4489
+ * Create a Grafana user for your Cockpit's Grafana. Make sure you save the
4490
+ * automatically-generated password and the Grafana user ID.
4416
4491
  *
4417
4492
  * @param request - The request {@link CreateGrafanaUserRequest}
4418
4493
  * @returns A Promise of GrafanaUser
@@ -4420,8 +4495,7 @@ declare class API$q extends API$x {
4420
4495
  createGrafanaUser: (request: Readonly<CreateGrafanaUserRequest>) => Promise<GrafanaUser>;
4421
4496
  protected pageOfListGrafanaUsers: (request?: Readonly<ListGrafanaUsersRequest>) => Promise<ListGrafanaUsersResponse>;
4422
4497
  /**
4423
- * Get a list of Grafana users who are able to connect to the Cockpit's
4424
- * Grafana instance.
4498
+ * Get a list of all Grafana users created in your Cockpit's Grafana.
4425
4499
  *
4426
4500
  * @param request - The request {@link ListGrafanaUsersRequest}
4427
4501
  * @returns A Promise of ListGrafanaUsersResponse
@@ -4431,15 +4505,15 @@ declare class API$q extends API$x {
4431
4505
  [Symbol.asyncIterator]: () => AsyncGenerator<GrafanaUser[], void, void>;
4432
4506
  };
4433
4507
  /**
4434
- * Delete a Grafana user from a Grafana instance, specified by the Cockpit's
4435
- * Project ID and the Grafana user ID.
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.
4436
4510
  *
4437
4511
  * @param request - The request {@link DeleteGrafanaUserRequest}
4438
4512
  */
4439
4513
  deleteGrafanaUser: (request: Readonly<DeleteGrafanaUserRequest>) => Promise<void>;
4440
4514
  /**
4441
- * Reset a Grafana user's password specified by the Cockpit's Project ID and
4442
- * the Grafana user ID.
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.
4443
4517
  *
4444
4518
  * @param request - The request {@link ResetGrafanaUserPasswordRequest}
4445
4519
  * @returns A Promise of GrafanaUser
@@ -11500,7 +11574,7 @@ type ListAPIKeysRequest$1 = {
11500
11574
  editable?: boolean;
11501
11575
  /** Defines whether to filter out expired API keys or not. */
11502
11576
  expired?: boolean;
11503
- /** Filter by access key. */
11577
+ /** @deprecated Filter by access key (deprecated in favor of `access_keys`). */
11504
11578
  accessKey?: string;
11505
11579
  /** Filter by description. */
11506
11580
  description?: string;
@@ -11508,6 +11582,8 @@ type ListAPIKeysRequest$1 = {
11508
11582
  bearerId?: string;
11509
11583
  /** Filter by type of bearer. */
11510
11584
  bearerType?: BearerType;
11585
+ /** Filter by a list of access keys. */
11586
+ accessKeys?: string[];
11511
11587
  };
11512
11588
  interface ListAPIKeysResponse {
11513
11589
  /** List of API keys. */
@@ -11646,6 +11722,8 @@ type ListPoliciesRequest$1 = {
11646
11722
  policyName?: string;
11647
11723
  /** Filter by tags containing a given string. */
11648
11724
  tag?: string;
11725
+ /** Filter by a list of IDs. */
11726
+ policyIds?: string[];
11649
11727
  };
11650
11728
  interface ListPoliciesResponse {
11651
11729
  /** List of policies. */
@@ -12800,9 +12878,10 @@ interface ServerIp {
12800
12878
  provisioningMode: ServerIpProvisioningMode;
12801
12879
  /** Tags associated with the IP. */
12802
12880
  tags: string[];
12803
- state: ServerIpState;
12804
12881
  /** The ip_id of an IPAM ip if the ip is created from IPAM, null if not. */
12805
12882
  ipamId: string;
12883
+ /** IP address state. */
12884
+ state: ServerIpState;
12806
12885
  }
12807
12886
  interface ServerIpv6 {
12808
12887
  /** Instance IPv6 IP-Address. */
@@ -12821,6 +12900,7 @@ interface ServerLocation {
12821
12900
  }
12822
12901
  interface ServerMaintenance {
12823
12902
  reason: string;
12903
+ startDate?: Date;
12824
12904
  }
12825
12905
  interface VolumeServer {
12826
12906
  id: string;
@@ -17618,6 +17698,8 @@ interface JobRun {
17618
17698
  errorMessage: string;
17619
17699
  cpuLimit: number;
17620
17700
  memoryLimit: number;
17701
+ command: string;
17702
+ environmentVariables: Record<string, string>;
17621
17703
  /**
17622
17704
  * Region to target. If none is passed will use default region from the
17623
17705
  * config.
@@ -17720,6 +17802,12 @@ type StartJobDefinitionRequest = {
17720
17802
  region?: Region;
17721
17803
  /** UUID of the job definition to start. */
17722
17804
  jobDefinitionId: string;
17805
+ /** Contextual startup command for this specific job run. */
17806
+ command?: string;
17807
+ /** Contextual environment variables for this specific job run. */
17808
+ environmentVariables?: Record<string, string>;
17809
+ /** Number of jobs to run. */
17810
+ replicas?: number;
17723
17811
  };
17724
17812
  type StopJobRunRequest = {
17725
17813
  /**
@@ -18726,7 +18814,7 @@ interface ExternalNode {
18726
18814
  nodeLabels: Record<string, string>;
18727
18815
  nodeTaints: ExternalNodeCoreV1Taint[];
18728
18816
  }
18729
- type GetClusterKubeConfigRequest$1 = {
18817
+ type GetClusterKubeConfigRequest = {
18730
18818
  /**
18731
18819
  * Region to target. If none is passed will use default region from the
18732
18820
  * config.
@@ -18734,6 +18822,8 @@ type GetClusterKubeConfigRequest$1 = {
18734
18822
  region?: Region;
18735
18823
  /** Cluster ID for which to download the kubeconfig. */
18736
18824
  clusterId: string;
18825
+ /** Hide the legacy token from the kubeconfig. */
18826
+ redacted?: boolean;
18737
18827
  };
18738
18828
  type GetClusterRequest$1 = {
18739
18829
  /**
@@ -19166,7 +19256,7 @@ declare class API$e extends API$x {
19166
19256
  * @returns A Promise of ListClusterAvailableTypesResponse
19167
19257
  */
19168
19258
  listClusterAvailableTypes: (request: Readonly<ListClusterAvailableTypesRequest>) => Promise<ListClusterAvailableTypesResponse>;
19169
- protected _getClusterKubeConfig: (request: Readonly<GetClusterKubeConfigRequest$1>) => Promise<Blob>;
19259
+ protected _getClusterKubeConfig: (request: Readonly<GetClusterKubeConfigRequest>) => Promise<Blob>;
19170
19260
  /**
19171
19261
  * Reset the admin token of a Cluster. Reset the admin token for a specific
19172
19262
  * Kubernetes cluster. This will revoke the old admin token (which will not be
@@ -19344,16 +19434,6 @@ declare class API$e extends API$x {
19344
19434
  };
19345
19435
  }
19346
19436
 
19347
- type GetClusterKubeConfigRequest = {
19348
- /**
19349
- * Region to target. If none is passed will use default region from the
19350
- * config.
19351
- */
19352
- region?: Region;
19353
- /** Cluster ID for which to download the kubeconfig. */
19354
- clusterId: string;
19355
- };
19356
-
19357
19437
  declare class K8SUtilsAPI extends API$e {
19358
19438
  /**
19359
19439
  * Get configuration of a kube cluster.
@@ -19498,6 +19578,7 @@ type index$f_DeleteNodeRequest = DeleteNodeRequest;
19498
19578
  type index$f_DeletePoolRequest = DeletePoolRequest;
19499
19579
  type index$f_ExternalNode = ExternalNode;
19500
19580
  type index$f_ExternalNodeCoreV1Taint = ExternalNodeCoreV1Taint;
19581
+ type index$f_GetClusterKubeConfigRequest = GetClusterKubeConfigRequest;
19501
19582
  type index$f_GetNodeRequest = GetNodeRequest;
19502
19583
  type index$f_GetPoolRequest = GetPoolRequest;
19503
19584
  type index$f_Ingress = Ingress;
@@ -19532,7 +19613,7 @@ type index$f_UpdatePoolRequestUpgradePolicy = UpdatePoolRequestUpgradePolicy;
19532
19613
  type index$f_UpgradeClusterRequest = UpgradeClusterRequest;
19533
19614
  type index$f_UpgradePoolRequest = UpgradePoolRequest;
19534
19615
  declare namespace index$f {
19535
- export { K8SUtilsAPI as API, type index$f_AutoscalerEstimator as AutoscalerEstimator, type index$f_AutoscalerExpander as AutoscalerExpander, CLUSTER_TRANSIENT_STATUSES$1 as CLUSTER_TRANSIENT_STATUSES, type index$f_CNI as CNI, type Cluster$1 as Cluster, type index$f_ClusterAutoUpgrade as ClusterAutoUpgrade, type index$f_ClusterAutoscalerConfig as ClusterAutoscalerConfig, type index$f_ClusterOpenIDConnectConfig as ClusterOpenIDConnectConfig, type ClusterStatus$1 as ClusterStatus, type index$f_ClusterType as ClusterType, type index$f_ClusterTypeAvailability as ClusterTypeAvailability, type index$f_ClusterTypeResiliency as ClusterTypeResiliency, type CreateClusterRequest$2 as CreateClusterRequest, type index$f_CreateClusterRequestAutoUpgrade as CreateClusterRequestAutoUpgrade, type CreateClusterRequestAutoscalerConfig$1 as CreateClusterRequestAutoscalerConfig, type CreateClusterRequestOpenIDConnectConfig$1 as CreateClusterRequestOpenIDConnectConfig, type CreateClusterRequestPoolConfig$1 as CreateClusterRequestPoolConfig, type index$f_CreateClusterRequestPoolConfigUpgradePolicy as CreateClusterRequestPoolConfigUpgradePolicy, type index$f_CreateExternalNodeRequest as CreateExternalNodeRequest, type CreatePoolRequest$1 as CreatePoolRequest, type index$f_CreatePoolRequestUpgradePolicy as CreatePoolRequestUpgradePolicy, type DeleteClusterRequest$1 as DeleteClusterRequest, type index$f_DeleteNodeRequest as DeleteNodeRequest, type index$f_DeletePoolRequest as DeletePoolRequest, type index$f_ExternalNode as ExternalNode, type index$f_ExternalNodeCoreV1Taint as ExternalNodeCoreV1Taint, type GetClusterKubeConfigRequest$1 as GetClusterKubeConfigRequest, type GetClusterRequest$1 as GetClusterRequest, type index$f_GetNodeRequest as GetNodeRequest, type index$f_GetPoolRequest as GetPoolRequest, type GetVersionRequest$1 as GetVersionRequest, type index$f_Ingress as Ingress, type index$f_ListClusterAvailableTypesRequest as ListClusterAvailableTypesRequest, type index$f_ListClusterAvailableTypesResponse as ListClusterAvailableTypesResponse, type index$f_ListClusterAvailableVersionsRequest as ListClusterAvailableVersionsRequest, type index$f_ListClusterAvailableVersionsResponse as ListClusterAvailableVersionsResponse, type ListClusterTypesRequest$1 as ListClusterTypesRequest, type index$f_ListClusterTypesResponse as ListClusterTypesResponse, type ListClustersRequest$2 as ListClustersRequest, type ListClustersRequestOrderBy$1 as ListClustersRequestOrderBy, type ListClustersResponse$1 as ListClustersResponse, type ListNodesRequest$1 as ListNodesRequest, type index$f_ListNodesRequestOrderBy as ListNodesRequestOrderBy, type index$f_ListNodesResponse as ListNodesResponse, type ListPoolsRequest$1 as ListPoolsRequest, type index$f_ListPoolsRequestOrderBy as ListPoolsRequestOrderBy, type index$f_ListPoolsResponse as ListPoolsResponse, type ListVersionsRequest$1 as ListVersionsRequest, type ListVersionsResponse$1 as ListVersionsResponse, type MaintenanceWindow$1 as MaintenanceWindow, type index$f_MaintenanceWindowDayOfTheWeek as MaintenanceWindowDayOfTheWeek, type index$f_MigrateToPrivateNetworkClusterRequest as MigrateToPrivateNetworkClusterRequest, index$f_NODE_TRANSIENT_STATUSES as NODE_TRANSIENT_STATUSES, type index$f_Node as Node, type index$f_NodeStatus as NodeStatus, index$f_POOL_TRANSIENT_STATUSES as POOL_TRANSIENT_STATUSES, type index$f_Pool as Pool, type index$f_PoolStatus as PoolStatus, type index$f_PoolUpgradePolicy as PoolUpgradePolicy, type index$f_PoolVolumeType as PoolVolumeType, type index$f_RebootNodeRequest as RebootNodeRequest, type index$f_ReplaceNodeRequest as ReplaceNodeRequest, type index$f_ResetClusterAdminTokenRequest as ResetClusterAdminTokenRequest, type index$f_Runtime as Runtime, type index$f_SetClusterTypeRequest as SetClusterTypeRequest, type UpdateClusterRequest$2 as UpdateClusterRequest, type index$f_UpdateClusterRequestAutoUpgrade as UpdateClusterRequestAutoUpgrade, type UpdateClusterRequestAutoscalerConfig$1 as UpdateClusterRequestAutoscalerConfig, type index$f_UpdateClusterRequestOpenIDConnectConfig as UpdateClusterRequestOpenIDConnectConfig, type index$f_UpdatePoolRequest as UpdatePoolRequest, type index$f_UpdatePoolRequestUpgradePolicy as UpdatePoolRequestUpgradePolicy, type index$f_UpgradeClusterRequest as UpgradeClusterRequest, type index$f_UpgradePoolRequest as UpgradePoolRequest, validationRules_gen$4 as ValidationRules, type Version$2 as Version };
19616
+ export { K8SUtilsAPI as API, type index$f_AutoscalerEstimator as AutoscalerEstimator, type index$f_AutoscalerExpander as AutoscalerExpander, CLUSTER_TRANSIENT_STATUSES$1 as CLUSTER_TRANSIENT_STATUSES, type index$f_CNI as CNI, type Cluster$1 as Cluster, type index$f_ClusterAutoUpgrade as ClusterAutoUpgrade, type index$f_ClusterAutoscalerConfig as ClusterAutoscalerConfig, type index$f_ClusterOpenIDConnectConfig as ClusterOpenIDConnectConfig, type ClusterStatus$1 as ClusterStatus, type index$f_ClusterType as ClusterType, type index$f_ClusterTypeAvailability as ClusterTypeAvailability, type index$f_ClusterTypeResiliency as ClusterTypeResiliency, type CreateClusterRequest$2 as CreateClusterRequest, type index$f_CreateClusterRequestAutoUpgrade as CreateClusterRequestAutoUpgrade, type CreateClusterRequestAutoscalerConfig$1 as CreateClusterRequestAutoscalerConfig, type CreateClusterRequestOpenIDConnectConfig$1 as CreateClusterRequestOpenIDConnectConfig, type CreateClusterRequestPoolConfig$1 as CreateClusterRequestPoolConfig, type index$f_CreateClusterRequestPoolConfigUpgradePolicy as CreateClusterRequestPoolConfigUpgradePolicy, type index$f_CreateExternalNodeRequest as CreateExternalNodeRequest, type CreatePoolRequest$1 as CreatePoolRequest, type index$f_CreatePoolRequestUpgradePolicy as CreatePoolRequestUpgradePolicy, type DeleteClusterRequest$1 as DeleteClusterRequest, type index$f_DeleteNodeRequest as DeleteNodeRequest, type index$f_DeletePoolRequest as DeletePoolRequest, type index$f_ExternalNode as ExternalNode, type index$f_ExternalNodeCoreV1Taint as ExternalNodeCoreV1Taint, type index$f_GetClusterKubeConfigRequest as GetClusterKubeConfigRequest, type GetClusterRequest$1 as GetClusterRequest, type index$f_GetNodeRequest as GetNodeRequest, type index$f_GetPoolRequest as GetPoolRequest, type GetVersionRequest$1 as GetVersionRequest, type index$f_Ingress as Ingress, type index$f_ListClusterAvailableTypesRequest as ListClusterAvailableTypesRequest, type index$f_ListClusterAvailableTypesResponse as ListClusterAvailableTypesResponse, type index$f_ListClusterAvailableVersionsRequest as ListClusterAvailableVersionsRequest, type index$f_ListClusterAvailableVersionsResponse as ListClusterAvailableVersionsResponse, type ListClusterTypesRequest$1 as ListClusterTypesRequest, type index$f_ListClusterTypesResponse as ListClusterTypesResponse, type ListClustersRequest$2 as ListClustersRequest, type ListClustersRequestOrderBy$1 as ListClustersRequestOrderBy, type ListClustersResponse$1 as ListClustersResponse, type ListNodesRequest$1 as ListNodesRequest, type index$f_ListNodesRequestOrderBy as ListNodesRequestOrderBy, type index$f_ListNodesResponse as ListNodesResponse, type ListPoolsRequest$1 as ListPoolsRequest, type index$f_ListPoolsRequestOrderBy as ListPoolsRequestOrderBy, type index$f_ListPoolsResponse as ListPoolsResponse, type ListVersionsRequest$1 as ListVersionsRequest, type ListVersionsResponse$1 as ListVersionsResponse, type MaintenanceWindow$1 as MaintenanceWindow, type index$f_MaintenanceWindowDayOfTheWeek as MaintenanceWindowDayOfTheWeek, type index$f_MigrateToPrivateNetworkClusterRequest as MigrateToPrivateNetworkClusterRequest, index$f_NODE_TRANSIENT_STATUSES as NODE_TRANSIENT_STATUSES, type index$f_Node as Node, type index$f_NodeStatus as NodeStatus, index$f_POOL_TRANSIENT_STATUSES as POOL_TRANSIENT_STATUSES, type index$f_Pool as Pool, type index$f_PoolStatus as PoolStatus, type index$f_PoolUpgradePolicy as PoolUpgradePolicy, type index$f_PoolVolumeType as PoolVolumeType, type index$f_RebootNodeRequest as RebootNodeRequest, type index$f_ReplaceNodeRequest as ReplaceNodeRequest, type index$f_ResetClusterAdminTokenRequest as ResetClusterAdminTokenRequest, type index$f_Runtime as Runtime, type index$f_SetClusterTypeRequest as SetClusterTypeRequest, type UpdateClusterRequest$2 as UpdateClusterRequest, type index$f_UpdateClusterRequestAutoUpgrade as UpdateClusterRequestAutoUpgrade, type UpdateClusterRequestAutoscalerConfig$1 as UpdateClusterRequestAutoscalerConfig, type index$f_UpdateClusterRequestOpenIDConnectConfig as UpdateClusterRequestOpenIDConnectConfig, type index$f_UpdatePoolRequest as UpdatePoolRequest, type index$f_UpdatePoolRequestUpgradePolicy as UpdatePoolRequestUpgradePolicy, type index$f_UpgradeClusterRequest as UpgradeClusterRequest, type index$f_UpgradePoolRequest as UpgradePoolRequest, validationRules_gen$4 as ValidationRules, type Version$2 as Version };
19536
19617
  }
19537
19618
 
19538
19619
  declare namespace index$e {
@@ -28335,6 +28416,8 @@ type CreateSecretRequest = {
28335
28416
  * default, the policy is applied to all the secret's versions.
28336
28417
  */
28337
28418
  ephemeralPolicy?: EphemeralPolicy;
28419
+ /** A protected secret cannot be deleted. */
28420
+ isProtected: boolean;
28338
28421
  };
28339
28422
  type CreateSecretVersionRequest = {
28340
28423
  /**
@@ -29144,6 +29227,10 @@ type ListDatabaseBackupsRequest$1 = {
29144
29227
  * config.
29145
29228
  */
29146
29229
  region?: Region;
29230
+ /** Filter by the UUID of the Scaleway organization. */
29231
+ organizationId?: string;
29232
+ /** Filter by the UUID of the Scaleway project. */
29233
+ projectId?: string;
29147
29234
  /** Filter by the UUID of the Serverless SQL Database. */
29148
29235
  databaseId: string;
29149
29236
  /** Page number. */
@@ -29165,6 +29252,8 @@ type ListDatabasesRequest$1 = {
29165
29252
  * config.
29166
29253
  */
29167
29254
  region?: Region;
29255
+ /** Filter by the UUID of the Scaleway organization. */
29256
+ organizationId?: string;
29168
29257
  /** UUID of the Scaleway project. */
29169
29258
  projectId?: string;
29170
29259
  /** Page number. */
@@ -29719,6 +29808,14 @@ interface DomainLastStatusDkimRecord {
29719
29808
  /** An error text displays in case the record is not valid. */
29720
29809
  error?: string;
29721
29810
  }
29811
+ interface DomainLastStatusDmarcRecord {
29812
+ /** Status of the DMARC record's configuration. */
29813
+ status: DomainLastStatusRecordStatus;
29814
+ /** Time and date the DMARC record was last valid. */
29815
+ lastValidAt?: Date;
29816
+ /** An error text displays in case the record is not valid. */
29817
+ error?: string;
29818
+ }
29722
29819
  interface DomainLastStatusSpfRecord {
29723
29820
  /** Status of the SPF record's configuration. */
29724
29821
  status: DomainLastStatusRecordStatus;
@@ -29838,6 +29935,8 @@ interface DomainLastStatus {
29838
29935
  spfRecord?: DomainLastStatusSpfRecord;
29839
29936
  /** The DKIM record verification data. */
29840
29937
  dkimRecord?: DomainLastStatusDkimRecord;
29938
+ /** The DMARC record verification data. */
29939
+ dmarcRecord?: DomainLastStatusDmarcRecord;
29841
29940
  }
29842
29941
  type GetDomainLastStatusRequest = {
29843
29942
  /**
@@ -30131,6 +30230,7 @@ declare const index_gen$4_DOMAIN_TRANSIENT_STATUSES: typeof DOMAIN_TRANSIENT_STA
30131
30230
  type index_gen$4_Domain = Domain;
30132
30231
  type index_gen$4_DomainLastStatus = DomainLastStatus;
30133
30232
  type index_gen$4_DomainLastStatusDkimRecord = DomainLastStatusDkimRecord;
30233
+ type index_gen$4_DomainLastStatusDmarcRecord = DomainLastStatusDmarcRecord;
30134
30234
  type index_gen$4_DomainLastStatusRecordStatus = DomainLastStatusRecordStatus;
30135
30235
  type index_gen$4_DomainLastStatusSpfRecord = DomainLastStatusSpfRecord;
30136
30236
  type index_gen$4_DomainReputation = DomainReputation;
@@ -30155,7 +30255,7 @@ type index_gen$4_ListEmailsResponse = ListEmailsResponse;
30155
30255
  type index_gen$4_RevokeDomainRequest = RevokeDomainRequest;
30156
30256
  type index_gen$4_Statistics = Statistics;
30157
30257
  declare namespace index_gen$4 {
30158
- 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 };
30258
+ 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_DomainLastStatusDmarcRecord as DomainLastStatusDmarcRecord, 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 };
30159
30259
  }
30160
30260
 
30161
30261
  declare namespace index$3 {