File tree Expand file tree Collapse file tree 4 files changed +12
-1
lines changed Expand file tree Collapse file tree 4 files changed +12
-1
lines changed Original file line number Diff line number Diff 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 ,
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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
55export 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 */
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ export type {
55 ListPublicCatalogProductsResponse ,
66 PublicCatalogApiListPublicCatalogProductsRequest ,
77 PublicCatalogProduct ,
8+ PublicCatalogProductEnvironmentalImpact ,
89 PublicCatalogProductLocality ,
910 PublicCatalogProductPrice ,
1011 PublicCatalogProductPriceUnitOfMeasure ,
You can’t perform that action at this time.
0 commit comments