Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/clients/src/api/baremetal/v1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ export interface Offer {
*/
commercialRange: string
/**
* Price of the offer for the next 60 minutes (a server order at 11h32 will be payed until 12h32).
* Price of the offer for the next 60 minutes (a server order at 11h32 will be paid until 12h32).
*/
pricePerHour?: Money
/**
Expand Down
6 changes: 3 additions & 3 deletions packages/clients/src/api/dedibox/v1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ export interface OfferSANInfo {
*/
size: number
/**
* High availabilty offer.
* High availability offer.
*/
ha: boolean
/**
Expand Down Expand Up @@ -562,11 +562,11 @@ export interface OS {
*/
panelPasswordRegex?: string
/**
* If both requires_valid_hostname & hostname_regex are set, it means that at least one of the criterias must be valid.
* If both requires_valid_hostname & hostname_regex are set, it means that at least one of the criteria must be valid.
*/
requiresValidHostname?: boolean
/**
* If both requires_valid_hostname & hostname_regex are set, it means that at least one of the criterias must be valid.
* If both requires_valid_hostname & hostname_regex are set, it means that at least one of the criteria must be valid.
*/
hostnameRegex?: string
/**
Expand Down
12 changes: 6 additions & 6 deletions packages/clients/src/api/function/v1beta1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ export interface Token {
*/
functionId?: string
/**
* UUID of the namespace the token is assoicated with.
* UUID of the namespace the token is associated with.
*
* One-of ('scope'): at most one of 'functionId', 'namespaceId' could be set.
*/
Expand Down Expand Up @@ -619,7 +619,7 @@ export type CreateFunctionRequest = {
*/
environmentVariables?: Record<string, string>
/**
* Minumum number of instances to scale the function to.
* Minimum number of instances to scale the function to.
*/
minScale?: number
/**
Expand Down Expand Up @@ -981,7 +981,7 @@ export type ListDomainsRequest = {
*/
orderBy?: ListDomainsRequestOrderBy
/**
* UUID of the function the domain is assoicated with.
* UUID of the function the domain is associated with.
*/
functionId: string
}
Expand Down Expand Up @@ -1041,7 +1041,7 @@ export type ListFunctionsRequest = {
*/
name?: string
/**
* UUID of the Organziation the function belongs to.
* UUID of the Organization the function belongs to.
*/
organizationId?: string
/**
Expand Down Expand Up @@ -1118,7 +1118,7 @@ export type ListTokensRequest = {
*/
orderBy?: ListTokensRequestOrderBy
/**
* UUID of the function the token is assoicated with.
* UUID of the function the token is associated with.
*/
functionId?: string
/**
Expand Down Expand Up @@ -1221,7 +1221,7 @@ export type UpdateFunctionRequest = {
*/
environmentVariables?: Record<string, string>
/**
* Minumum number of instances to scale the function to.
* Minimum number of instances to scale the function to.
*/
minScale?: number
/**
Expand Down
4 changes: 2 additions & 2 deletions packages/clients/src/api/iam/v1alpha1/api.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ export class API extends ParentAPI {
)

/**
* Get a group. Retrive information about a given group, specified by the `group_id` parameter. The group's full details, including `user_ids` and `application_ids` are returned in the response.
* Get a group. Retrieve information about a given group, specified by the `group_id` parameter. The group's full details, including `user_ids` and `application_ids` are returned in the response.
*
* @param request - The request {@link GetGroupRequest}
* @returns A Promise of Group
Expand Down Expand Up @@ -1039,7 +1039,7 @@ export class API extends ParentAPI {
)

/**
* Get an API key. Retrive information about an API key, specified by the `access_key` parameter. The API key's details, including either the `user_id` or `application_id` of its bearer are returned in the response. Note that the string value for the `secret_key` is nullable, and therefore is not displayed in the response. The `secret_key` value is only displayed upon API key creation.
* Get an API key. Retrieve information about an API key, specified by the `access_key` parameter. The API key's details, including either the `user_id` or `application_id` of its bearer are returned in the response. Note that the string value for the `secret_key` is nullable, and therefore is not displayed in the response. The `secret_key` value is only displayed upon API key creation.
*
* @param request - The request {@link GetAPIKeyRequest}
* @returns A Promise of APIKey
Expand Down
2 changes: 2 additions & 0 deletions packages/clients/src/api/index.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import * as LlmInference from './llm_inference/index.gen'
import * as Marketplace from './marketplace/index.gen'
import * as Mnq from './mnq/index.gen'
import * as Mongodb from './mongodb/index.gen'
import * as ProductCatalog from './product_catalog/index.gen'
import * as Qaas from './qaas/index.gen'
import * as Rdb from './rdb/index.gen'
import * as Redis from './redis/index.gen'
Expand Down Expand Up @@ -75,6 +76,7 @@ export {
Marketplace,
Mnq,
Mongodb,
ProductCatalog,
Qaas,
Rdb,
Redis,
Expand Down
2 changes: 1 addition & 1 deletion packages/clients/src/api/inference/v1beta1/api.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ The CA certificate will be returned as a PEM file.
)

/**
* Delete an exising ACL.
* Delete an existing ACL.
*
* @param request - The request {@link DeleteDeploymentACLRuleRequest}
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/clients/src/api/interlink/v1beta1/api.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ export class API extends ParentAPI {
)

/**
* Create a link. Create a link (InterLink session / logical InterLink resource) in a given PoP, specifying its various configuration details. Links can either be hosted (faciliated by partners' shared physical connections) or self-hosted (for users who have purchased a dedicated physical connection).
* Create a link. Create a link (InterLink session / logical InterLink resource) in a given PoP, specifying its various configuration details. Links can either be hosted (facilitated by partners' shared physical connections) or self-hosted (for users who have purchased a dedicated physical connection).
*
* @param request - The request {@link CreateLinkRequest}
* @returns A Promise of Link
Expand Down
2 changes: 1 addition & 1 deletion packages/clients/src/api/iot/v1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@ export type ListDevicesRequest = {
*/
hubId?: string
/**
* Defines wheter to filter the allow_insecure flag.
* Defines whether to filter the allow_insecure flag.
*/
allowInsecure?: boolean
/**
Expand Down
2 changes: 1 addition & 1 deletion packages/clients/src/api/mongodb/v1alpha1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export interface NodeTypeVolumeType {
*/
description: string
/**
* Mimimum size required for the volume.
* Minimum size required for the volume.
*/
minSize: number
/**
Expand Down
6 changes: 6 additions & 0 deletions packages/clients/src/api/product_catalog/index.gen.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/**
* This file is automatically generated from /scripts/generate.js
* PLEASE DO NOT EDIT HERE
*/

export * as v2alpha1 from './v2alpha1/index.gen'
50 changes: 50 additions & 0 deletions packages/clients/src/api/product_catalog/v2alpha1/api.gen.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
// This file was automatically generated. DO NOT EDIT.
// If you have any remark or suggestion do not hesitate to open an issue.
import {
API as ParentAPI,
enrichForPagination,
urlParams,
} from '@scaleway/sdk-client'
import { unmarshalListPublicCatalogProductsResponse } from './marshalling.gen'
import type {
ListPublicCatalogProductsResponse,
PublicCatalogApiListPublicCatalogProductsRequest,
} from './types.gen'

/**
* Product Catalog API.
*/
export class PublicCatalogAPI extends ParentAPI {
protected pageOfListPublicCatalogProducts = (
request: Readonly<PublicCatalogApiListPublicCatalogProductsRequest> = {},
) =>
this.client.fetch<ListPublicCatalogProductsResponse>(
{
method: 'GET',
path: `/product-catalog/v2alpha1/public-catalog/products`,
urlParams: urlParams(
['page', request.page],
[
'page_size',
request.pageSize ?? this.client.settings.defaultPageSize,
],
),
},
unmarshalListPublicCatalogProductsResponse,
)

/**
* List all available products. List all available products in the Scaleway catalog. Returns a complete list of products with their corresponding description, locations, prices and properties. You can define the `page` number and `page_size` for your query in the request.
*
* @param request - The request {@link PublicCatalogApiListPublicCatalogProductsRequest}
* @returns A Promise of ListPublicCatalogProductsResponse
*/
listPublicCatalogProducts = (
request: Readonly<PublicCatalogApiListPublicCatalogProductsRequest> = {},
) =>
enrichForPagination(
'products',
this.pageOfListPublicCatalogProducts,
request,
)
}
27 changes: 27 additions & 0 deletions packages/clients/src/api/product_catalog/v2alpha1/index.gen.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// This file was automatically generated. DO NOT EDIT.
// If you have any remark or suggestion do not hesitate to open an issue.
export { PublicCatalogAPI } from './api.gen'
export type {
ListPublicCatalogProductsResponse,
PublicCatalogApiListPublicCatalogProductsRequest,
PublicCatalogProduct,
PublicCatalogProductLocality,
PublicCatalogProductPrice,
PublicCatalogProductPriceUnitOfMeasure,
PublicCatalogProductPriceUnitOfMeasureCountableUnit,
PublicCatalogProductProperties,
PublicCatalogProductPropertiesAppleSilicon,
PublicCatalogProductPropertiesDedibox,
PublicCatalogProductPropertiesElasticMetal,
PublicCatalogProductPropertiesHardware,
PublicCatalogProductPropertiesHardwareCPU,
PublicCatalogProductPropertiesHardwareCPUArch,
PublicCatalogProductPropertiesHardwareCPUPhysical,
PublicCatalogProductPropertiesHardwareCPUVirtual,
PublicCatalogProductPropertiesHardwareGPU,
PublicCatalogProductPropertiesHardwareNetwork,
PublicCatalogProductPropertiesHardwareRAM,
PublicCatalogProductPropertiesHardwareStorage,
PublicCatalogProductPropertiesInstance,
} from './types.gen'
export * as ValidationRules from './validation-rules.gen'
Loading
Loading