shoal-web-sdk 1.0.101 → 1.0.102

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,10 @@ export type _Error = {
6
6
  error: string;
7
7
  };
8
8
  export type CatalogResponse = {
9
- readonly plans: Array<PlanResponse>;
9
+ basic: PlanResponse;
10
+ indie: PlanResponse;
11
+ pro: PlanResponse;
12
+ enterprise: PlanResponse;
10
13
  };
11
14
  export type IntegerPlanFeatureResponse = ({
12
15
  type: 'limited';
@@ -50,7 +53,7 @@ export type Features = {
50
53
  maximumQueueNodes?: IntegerPlanFeatureResponse;
51
54
  };
52
55
  export type PlanResponse = {
53
- readonly key: string;
56
+ key: string;
54
57
  readonly rank: number;
55
58
  readonly displayName: string;
56
59
  readonly displayDescription?: string;
@@ -166,7 +169,10 @@ export type Meters = {
166
169
  infraOverhead: MeterType;
167
170
  };
168
171
  export type CatalogResponseWritable = {
169
- [key: string]: unknown;
172
+ basic: PlanResponseWritable;
173
+ indie: PlanResponseWritable;
174
+ pro: PlanResponseWritable;
175
+ enterprise: PlanResponseWritable;
170
176
  };
171
177
  export type IntegerPlanFeatureResponseWritable = ({
172
178
  type: 'LimitedIntegerPlanFeatureResponseWritable';
@@ -206,6 +212,7 @@ export type FeaturesWritable = {
206
212
  maximumQueueNodes?: IntegerPlanFeatureResponseWritable;
207
213
  };
208
214
  export type PlanResponseWritable = {
215
+ key: string;
209
216
  features: FeaturesWritable;
210
217
  };
211
218
  export type PricesResponseWritable = {