File tree Expand file tree Collapse file tree 6 files changed +17
-1
lines changed
product_catalog/src/v2alpha1 Expand file tree Collapse file tree 6 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -382,6 +382,7 @@ export const unmarshalOS = (data: unknown): OS => {
382382 ssh : data . ssh ? unmarshalOSOSField ( data . ssh ) : undefined ,
383383 user : data . user ? unmarshalOSOSField ( data . user ) : undefined ,
384384 version : data . version ,
385+ zone : data . zone ,
385386 } as OS
386387}
387388
@@ -543,6 +544,7 @@ export const unmarshalOffer = (data: unknown): Offer => {
543544 stock : data . stock ,
544545 subscriptionPeriod : data . subscription_period ,
545546 tags : data . tags ,
547+ zone : data . zone ,
546548 } as Offer
547549}
548550
Original file line number Diff line number Diff line change @@ -663,6 +663,10 @@ export interface OS {
663663 * Defines if custom partitioning is supported by this OS.
664664 */
665665 customPartitioningSupported : boolean
666+ /**
667+ * Zone in which is the OS is available.
668+ */
669+ zone : ScwZone
666670}
667671
668672export interface Offer {
@@ -766,6 +770,10 @@ export interface Offer {
766770 * Exist only for hourly offers, to migrate to the monthly offer.
767771 */
768772 monthlyOfferId ?: string
773+ /**
774+ * Zone in which is the offer is available.
775+ */
776+ zone : ScwZone
769777}
770778
771779export interface Option {
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ export type SamlStatus =
114114
115115export type UserStatus = 'unknown_status' | 'invitation_pending' | 'activated'
116116
117- export type UserType = 'unknown_type' | 'guest' | ' owner' | 'member'
117+ export type UserType = 'unknown_type' | 'owner' | 'member'
118118
119119export interface ConnectionConnectedOrganization {
120120 id : string
Original file line number Diff line number Diff line change @@ -127,6 +127,7 @@ export const unmarshalVersion = (data: unknown): Version => {
127127 label : data . label ,
128128 name : data . name ,
129129 region : data . region ,
130+ releasedAt : unmarshalDate ( data . released_at ) ,
130131 } as Version
131132}
132133
Original file line number Diff line number Diff line change @@ -632,6 +632,10 @@ export interface Version {
632632 * Date from which any remaining clusters on this version will begin to be forcibly upgraded to the next minor version.
633633 */
634634 endOfLifeAt ?: Date
635+ /**
636+ * Date at which this version was made available by Kapsule product.
637+ */
638+ releasedAt ?: Date
635639}
636640
637641export interface Cluster {
Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ export type PublicCatalogProductUnitOfMeasureCountableUnit =
6161 | 'second'
6262 | 'sample_day'
6363 | 'gigabyte_day'
64+ | 'mvcpu'
6465
6566export interface PublicCatalogProductPropertiesHardwareCPUPhysical {
6667 /**
You can’t perform that action at this time.
0 commit comments