@@ -556,7 +556,9 @@ export interface definitions {
556
556
} ;
557
557
Region : {
558
558
id : definitions [ "ID" ] ;
559
+ /** @enum {string} */
559
560
type : "region" ;
561
+ /** @enum {integer} */
560
562
version : 1 ;
561
563
body : definitions [ "RegionBody" ] ;
562
564
} ;
@@ -590,7 +592,9 @@ export interface definitions {
590
592
} ;
591
593
Provider : {
592
594
id : definitions [ "ID" ] ;
595
+ /** @enum {integer} */
593
596
version : 1 ;
597
+ /** @enum {string} */
594
598
type : "provider" ;
595
599
body : definitions [ "ProviderBody" ] ;
596
600
} ;
@@ -633,13 +637,17 @@ export interface definitions {
633
637
base_url ?: string ;
634
638
/** Format: url */
635
639
sso_url ?: string ;
640
+ /** @enum {string} */
636
641
version ?: "v1" ;
637
642
/** @default [object Object] */
638
643
features ?: {
639
644
access_code ?: boolean ;
640
645
sso ?: boolean ;
641
646
plan_change ?: boolean ;
642
- /** @default multiple */
647
+ /**
648
+ * @default multiple
649
+ * @enum {string}
650
+ */
643
651
credential ?: "none" | "single" | "multiple" | "unknown" ;
644
652
} ;
645
653
} ;
@@ -678,6 +686,7 @@ export interface definitions {
678
686
FeatureType : {
679
687
label : definitions [ "Label" ] ;
680
688
name : definitions [ "Name" ] ;
689
+ /** @enum {string} */
681
690
type : "boolean" | "string" | "number" ;
682
691
/** @description This sets whether or not the feature can be customized by a consumer. */
683
692
customizable ?: boolean ;
@@ -803,6 +812,7 @@ export interface definitions {
803
812
ProductImageURL : string ;
804
813
/** @description List of tags for product categorization and search */
805
814
ProductTags : definitions [ "Label" ] [ ] ;
815
+ /** @enum {string} */
806
816
ProductState : "available" | "hidden" | "grandfathered" | "new" | "upcoming" ;
807
817
/** @default [object Object] */
808
818
ProductListing : {
@@ -854,6 +864,8 @@ export interface definitions {
854
864
* Pre-Order, should not be used yet. But in the future it should allow people to
855
865
* pre-provision a resource for when it does go live.
856
866
* Public, means the resource is live and everyone should be able to provision it.
867
+ *
868
+ * @enum {string}
857
869
*/
858
870
ProductProvisioning : "provider-only" | "pre-order" | "public" ;
859
871
/** @default [object Object] */
@@ -877,6 +889,8 @@ export interface definitions {
877
889
* @description Describes how the region for a resource is specified, if
878
890
* unspecified, then regions have no impact on this
879
891
* resource.
892
+ *
893
+ * @enum {string}
880
894
*/
881
895
region ?: "user-specified" | "unspecified" ;
882
896
/**
@@ -888,6 +902,7 @@ export interface definitions {
888
902
* * `unknown`: The credential type is unknown.
889
903
*
890
904
* @default multiple
905
+ * @enum {string}
891
906
*/
892
907
credential ?: "none" | "single" | "multiple" | "unknown" ;
893
908
} ;
@@ -921,7 +936,9 @@ export interface definitions {
921
936
} ;
922
937
feature_types : definitions [ "FeatureType" ] [ ] ;
923
938
billing : {
939
+ /** @enum {string} */
924
940
type : "monthly-prorated" | "monthly-anniversary" | "annual-anniversary" ;
941
+ /** @enum {string} */
925
942
currency : "usd" ;
926
943
} ;
927
944
integration : {
@@ -930,14 +947,17 @@ export interface definitions {
930
947
base_url : string ;
931
948
/** Format: url */
932
949
sso_url ?: string ;
950
+ /** @enum {string} */
933
951
version : "v1" ;
934
952
features : definitions [ "ProductIntegrationFeatures" ] ;
935
953
} ;
936
954
tags ?: definitions [ "ProductTags" ] ;
937
955
} ;
938
956
Product : {
939
957
id : definitions [ "ID" ] ;
958
+ /** @enum {integer} */
940
959
version : 1 ;
960
+ /** @enum {string} */
941
961
type : "product" ;
942
962
body : definitions [ "ProductBody" ] ;
943
963
} ;
@@ -966,6 +986,7 @@ export interface definitions {
966
986
/** @description Dollar value in cents. */
967
987
cost : number ;
968
988
} ;
989
+ /** @enum {string} */
969
990
PlanState : "hidden" | "available" | "grandfathered" | "unlisted" ;
970
991
ExpandedPlanBody : definitions [ "PlanBody" ] & {
971
992
/** @description An array of feature definitions for the plan, as defined on the Product. */
@@ -984,13 +1005,17 @@ export interface definitions {
984
1005
} ;
985
1006
Plan : {
986
1007
id : definitions [ "ID" ] ;
1008
+ /** @enum {integer} */
987
1009
version : 1 ;
1010
+ /** @enum {string} */
988
1011
type : "plan" ;
989
1012
body : definitions [ "PlanBody" ] ;
990
1013
} ;
991
1014
ExpandedPlan : {
992
1015
id : definitions [ "ID" ] ;
1016
+ /** @enum {integer} */
993
1017
version : 1 ;
1018
+ /** @enum {string} */
994
1019
type : "plan" ;
995
1020
body : definitions [ "ExpandedPlanBody" ] ;
996
1021
} ;
@@ -1030,7 +1055,9 @@ export interface definitions {
1030
1055
PriceFormula : string ;
1031
1056
ExpandedProduct : {
1032
1057
id : definitions [ "ID" ] ;
1058
+ /** @enum {integer} */
1033
1059
version : 1 ;
1060
+ /** @enum {string} */
1034
1061
type : "product" ;
1035
1062
body : definitions [ "ProductBody" ] ;
1036
1063
plans ?: definitions [ "ExpandedPlan" ] [ ] ;
0 commit comments