Skip to content

Commit 0edf97a

Browse files
committed
feat: update generated APIs
1 parent 6a83bc7 commit 0edf97a

File tree

4 files changed

+12
-1
lines changed

4 files changed

+12
-1
lines changed

packages/clients/src/api/file/v1alpha1/api.gen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ Use the order_by parameter to modify the sorting behavior.
126126
],
127127
['resource_id', request.resourceId],
128128
['resource_type', request.resourceType],
129+
['zone', request.zone],
129130
),
130131
},
131132
unmarshalListAttachmentsResponse,

packages/clients/src/api/file/v1alpha1/marshalling.gen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ const unmarshalAttachment = (data: unknown): Attachment => {
4949
id: data.id,
5050
resourceId: data.resource_id,
5151
resourceType: data.resource_type,
52+
zone: data.zone,
5253
} as Attachment
5354
}
5455

packages/clients/src/api/file/v1alpha1/types.gen.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// This file was automatically generated. DO NOT EDIT.
22
// If you have any remark or suggestion do not hesitate to open an issue.
3-
import type { Region as ScwRegion } from '@scaleway/sdk-client'
3+
import type { Region as ScwRegion, Zone as ScwZone } from '@scaleway/sdk-client'
44

55
export type AttachmentResourceType = 'unknown_resource_type' | 'instance_server'
66

@@ -37,6 +37,10 @@ export interface Attachment {
3737
* The type of the attached resource.
3838
*/
3939
resourceType: AttachmentResourceType
40+
/**
41+
* The zone where the resource is located.
42+
*/
43+
zone?: ScwZone
4044
}
4145

4246
/**
@@ -163,6 +167,10 @@ export type ListAttachmentsRequest = {
163167
* Filter by resource type.
164168
*/
165169
resourceType?: AttachmentResourceType
170+
/**
171+
* Filter by resource zone.
172+
*/
173+
zone?: ScwZone
166174
/**
167175
* Page number (starting at 1).
168176
*/

packages/clients/src/api/product_catalog/v2alpha1/index.gen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ export type {
55
ListPublicCatalogProductsResponse,
66
PublicCatalogApiListPublicCatalogProductsRequest,
77
PublicCatalogProduct,
8+
PublicCatalogProductEnvironmentalImpact,
89
PublicCatalogProductLocality,
910
PublicCatalogProductPrice,
1011
PublicCatalogProductPriceUnitOfMeasure,

0 commit comments

Comments
 (0)