@@ -688,23 +688,32 @@ export interface definitions {
688688 name : definitions [ "Name" ] ;
689689 /** @enum {string} */
690690 type : "boolean" | "string" | "number" ;
691- /** @description This sets whether or not the feature can be customized by a consumer. */
691+ /**
692+ * @description This sets whether or not the feature can be customized by a consumer.
693+ * @default false
694+ */
692695 customizable ?: boolean ;
693696 /**
694697 * @description This sets whether or not the feature can be upgraded by the consumer after the
695698 * resource has provisioned. Upgrading means setting a higher value or selecting a
696699 * higher element in the list.
700+ *
701+ * @default false
697702 */
698703 upgradable ?: boolean ;
699704 /**
700705 * @description This sets whether or not the feature can be downgraded by the consumer after the
701706 * resource has provisioned. Downgrading means setting a lower value or selecting a
702707 * lower element in the list.
708+ *
709+ * @default false
703710 */
704711 downgradable ?: boolean ;
705712 /**
706713 * @description Sets if this feature’s value is trackable from the provider,
707714 * this only really affects numeric constraints.
715+ *
716+ * @default false
708717 */
709718 measurable ?: boolean ;
710719 values ?: definitions [ "FeatureValuesList" ] ;
@@ -725,6 +734,8 @@ export interface definitions {
725734 * @description The cost that will be added to the monthly plan cost when this value
726735 * is selected or is default for the plan.
727736 * Cost is deprecated in favor of the `price.cost` field.
737+ *
738+ * @default 0
728739 */
729740 cost ?: number ;
730741 /**
@@ -736,12 +747,16 @@ export interface definitions {
736747 * @description Cost is the price in cents that will be added to plan's base cost
737748 * when this value is selected or is default for the plan.
738749 * Number features should use the cost range instead.
750+ *
751+ * @default 0
739752 */
740753 cost ?: number ;
741754 /**
742755 * @description When a feature is used to multiply the cost of the plan or of
743756 * another feature, multiply factor is used for calculation.
744757 * A feature cannot have both a cost and a multiply factor.
758+ *
759+ * @default 0
745760 */
746761 multiply_factor ?: number ;
747762 /**
@@ -771,7 +786,10 @@ export interface definitions {
771786 * @default 1
772787 */
773788 increment ?: number ;
774- /** @description Minimum value that can be set by a user if customizable */
789+ /**
790+ * @description Minimum value that can be set by a user if customizable
791+ * @default 0
792+ */
775793 min ?: number ;
776794 /** @description Maximum value that can be set by a user if customizable */
777795 max ?: number ;
@@ -790,6 +808,8 @@ export interface definitions {
790808 /**
791809 * @description An integer in 10,000,000ths of cents, will be multiplied by the
792810 * numeric value set in the feature to determine the cost.
811+ *
812+ * @default 0
793813 */
794814 cost_multiple ?: number ;
795815 } ;
@@ -819,6 +839,8 @@ export interface definitions {
819839 /**
820840 * @description When true, everyone can see the product when requested. When false it will
821841 * not be visible to anyone except those on the provider team.
842+ *
843+ * @default false
822844 */
823845 public ?: boolean ;
824846 /**
@@ -827,6 +849,8 @@ export interface definitions {
827849 * but can still be provisioned directly if it's label is known.
828850 * Any pages that display information about the product when not listed,
829851 * should indicate to webcrawlers that the content should not be indexed.
852+ *
853+ * @default false
830854 */
831855 listed ?: boolean ;
832856 /**
@@ -842,18 +866,24 @@ export interface definitions {
842866 * @description Indicates whether or not the product is in `Beta` and should be
843867 * advertised as such. This does not have any impact on who can access the
844868 * product, it is just used to inform consumers through our clients.
869+ *
870+ * @default false
845871 */
846872 beta ?: boolean ;
847873 /**
848874 * @description Indicates whether or not the product is in `New` and should be
849875 * advertised as such. This does not have any impact on who can access the
850876 * product, it is just used to inform consumers through our clients.
877+ *
878+ * @default false
851879 */
852880 new ?: boolean ;
853881 /**
854882 * @description Indicates whether or not the product is in `New` and should be
855883 * advertised as such. This does not have any impact on who can access the
856884 * product, it is just used to inform consumers through our clients.
885+ *
886+ * @default false
857887 */
858888 featured ?: boolean ;
859889 } ;
0 commit comments