shoal-web-sdk 0.0.122 → 0.0.124

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.
@@ -14,9 +14,9 @@ export type Logs = {
14
14
  nextPage?: string;
15
15
  limit: unknown;
16
16
  };
17
- export type PlatformTier = 'free' | 'hobby' | 'pro';
17
+ export type PlatformTier = 'free' | 'pro' | 'enterprise';
18
18
  export type BillingInterval = 'monthly' | 'annual';
19
- export type BillingPlanLookupKey = 'free-monthly' | 'hobby-monthly' | 'hobby-annual' | 'pro-monthly' | 'pro-annual';
19
+ export type BillingPlanLookupKey = 'free-monthly' | 'pro-monthly' | 'pro-annual';
20
20
  export type HealthResponse = {
21
21
  status: string;
22
22
  };
@@ -278,7 +278,7 @@ export type NetworkEdgeProps = {
278
278
  a?: string;
279
279
  };
280
280
  export type RouteEdgeProps = {
281
- subdomain?: string;
281
+ path?: string;
282
282
  };
283
283
  export type Node = {
284
284
  id: string;
@@ -21,8 +21,8 @@ export declare const zLogs: z.ZodObject<{
21
21
  }, z.core.$strip>;
22
22
  export declare const zPlatformTier: z.ZodEnum<{
23
23
  free: "free";
24
- hobby: "hobby";
25
24
  pro: "pro";
25
+ enterprise: "enterprise";
26
26
  }>;
27
27
  export declare const zBillingInterval: z.ZodEnum<{
28
28
  monthly: "monthly";
@@ -30,8 +30,6 @@ export declare const zBillingInterval: z.ZodEnum<{
30
30
  }>;
31
31
  export declare const zBillingPlanLookupKey: z.ZodEnum<{
32
32
  "free-monthly": "free-monthly";
33
- "hobby-monthly": "hobby-monthly";
34
- "hobby-annual": "hobby-annual";
35
33
  "pro-monthly": "pro-monthly";
36
34
  "pro-annual": "pro-annual";
37
35
  }>;
@@ -430,7 +428,7 @@ export declare const zNetworkEdgeProps: z.ZodObject<{
430
428
  a: z.ZodOptional<z.ZodString>;
431
429
  }, z.core.$strip>;
432
430
  export declare const zRouteEdgeProps: z.ZodObject<{
433
- subdomain: z.ZodOptional<z.ZodString>;
431
+ path: z.ZodOptional<z.ZodString>;
434
432
  }, z.core.$strip>;
435
433
  export declare const zEdgeType: z.ZodEnum<{
436
434
  network: "network";
@@ -451,7 +449,7 @@ export declare const zEdge: z.ZodObject<{
451
449
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
452
450
  typ: z.ZodLiteral<"cache">;
453
451
  }, z.core.$strip>, z.ZodObject<{
454
- subdomain: z.ZodOptional<z.ZodString>;
452
+ path: z.ZodOptional<z.ZodString>;
455
453
  }, z.core.$strip>>]>>;
456
454
  }, z.core.$strip>;
457
455
  export declare const zNodeType: z.ZodEnum<{
@@ -632,7 +630,7 @@ export declare const zNode: z.ZodObject<{
632
630
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
633
631
  typ: z.ZodLiteral<"cache">;
634
632
  }, z.core.$strip>, z.ZodObject<{
635
- subdomain: z.ZodOptional<z.ZodString>;
633
+ path: z.ZodOptional<z.ZodString>;
636
634
  }, z.core.$strip>>]>>;
637
635
  }, z.core.$strip>>>;
638
636
  typ: z.ZodEnum<{
@@ -774,7 +772,7 @@ export declare const zNodes: z.ZodObject<{
774
772
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
775
773
  typ: z.ZodLiteral<"cache">;
776
774
  }, z.core.$strip>, z.ZodObject<{
777
- subdomain: z.ZodOptional<z.ZodString>;
775
+ path: z.ZodOptional<z.ZodString>;
778
776
  }, z.core.$strip>>]>>;
779
777
  }, z.core.$strip>>>;
780
778
  typ: z.ZodEnum<{
@@ -918,7 +916,7 @@ export declare const zGraph: z.ZodObject<{
918
916
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
919
917
  typ: z.ZodLiteral<"cache">;
920
918
  }, z.core.$strip>, z.ZodObject<{
921
- subdomain: z.ZodOptional<z.ZodString>;
919
+ path: z.ZodOptional<z.ZodString>;
922
920
  }, z.core.$strip>>]>>;
923
921
  }, z.core.$strip>>>;
924
922
  typ: z.ZodEnum<{
@@ -1045,8 +1043,8 @@ export declare const zSignedUrlUploadResponse: z.ZodObject<{
1045
1043
  export declare const zBillingPlan: z.ZodObject<{
1046
1044
  tier: z.ZodEnum<{
1047
1045
  free: "free";
1048
- hobby: "hobby";
1049
1046
  pro: "pro";
1047
+ enterprise: "enterprise";
1050
1048
  }>;
1051
1049
  interval: z.ZodOptional<z.ZodEnum<{
1052
1050
  monthly: "monthly";
@@ -1056,8 +1054,8 @@ export declare const zBillingPlan: z.ZodObject<{
1056
1054
  currentPeriodEnd: z.ZodOptional<z.ZodISODateTime>;
1057
1055
  pendingDowngrade: z.ZodOptional<z.ZodEnum<{
1058
1056
  free: "free";
1059
- hobby: "hobby";
1060
1057
  pro: "pro";
1058
+ enterprise: "enterprise";
1061
1059
  }>>;
1062
1060
  entitlements: z.ZodArray<z.ZodString>;
1063
1061
  }, z.core.$strip>;
@@ -1266,7 +1264,7 @@ export declare const zFetchGraphM2mResponse: z.ZodObject<{
1266
1264
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
1267
1265
  typ: z.ZodLiteral<"cache">;
1268
1266
  }, z.core.$strip>, z.ZodObject<{
1269
- subdomain: z.ZodOptional<z.ZodString>;
1267
+ path: z.ZodOptional<z.ZodString>;
1270
1268
  }, z.core.$strip>>]>>;
1271
1269
  }, z.core.$strip>>>;
1272
1270
  typ: z.ZodEnum<{
@@ -1410,7 +1408,7 @@ export declare const zUpdateGraphM2mData: z.ZodObject<{
1410
1408
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
1411
1409
  typ: z.ZodLiteral<"cache">;
1412
1410
  }, z.core.$strip>, z.ZodObject<{
1413
- subdomain: z.ZodOptional<z.ZodString>;
1411
+ path: z.ZodOptional<z.ZodString>;
1414
1412
  }, z.core.$strip>>]>>;
1415
1413
  }, z.core.$strip>>>;
1416
1414
  typ: z.ZodEnum<{
@@ -1568,7 +1566,7 @@ export declare const zFetchNodeM2mResponse: z.ZodObject<{
1568
1566
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
1569
1567
  typ: z.ZodLiteral<"cache">;
1570
1568
  }, z.core.$strip>, z.ZodObject<{
1571
- subdomain: z.ZodOptional<z.ZodString>;
1569
+ path: z.ZodOptional<z.ZodString>;
1572
1570
  }, z.core.$strip>>]>>;
1573
1571
  }, z.core.$strip>>>;
1574
1572
  typ: z.ZodEnum<{
@@ -2331,7 +2329,7 @@ export declare const zGetGraphOverviewResponse: z.ZodObject<{
2331
2329
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
2332
2330
  typ: z.ZodLiteral<"cache">;
2333
2331
  }, z.core.$strip>, z.ZodObject<{
2334
- subdomain: z.ZodOptional<z.ZodString>;
2332
+ path: z.ZodOptional<z.ZodString>;
2335
2333
  }, z.core.$strip>>]>>;
2336
2334
  }, z.core.$strip>>>;
2337
2335
  typ: z.ZodEnum<{
@@ -2475,7 +2473,7 @@ export declare const zUpdateGraphStateData: z.ZodObject<{
2475
2473
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
2476
2474
  typ: z.ZodLiteral<"cache">;
2477
2475
  }, z.core.$strip>, z.ZodObject<{
2478
- subdomain: z.ZodOptional<z.ZodString>;
2476
+ path: z.ZodOptional<z.ZodString>;
2479
2477
  }, z.core.$strip>>]>>;
2480
2478
  }, z.core.$strip>>>;
2481
2479
  typ: z.ZodEnum<{
@@ -2653,8 +2651,8 @@ export declare const zGetBillingPlanData: z.ZodObject<{
2653
2651
  export declare const zGetBillingPlanResponse: z.ZodObject<{
2654
2652
  tier: z.ZodEnum<{
2655
2653
  free: "free";
2656
- hobby: "hobby";
2657
2654
  pro: "pro";
2655
+ enterprise: "enterprise";
2658
2656
  }>;
2659
2657
  interval: z.ZodOptional<z.ZodEnum<{
2660
2658
  monthly: "monthly";
@@ -2664,8 +2662,8 @@ export declare const zGetBillingPlanResponse: z.ZodObject<{
2664
2662
  currentPeriodEnd: z.ZodOptional<z.ZodISODateTime>;
2665
2663
  pendingDowngrade: z.ZodOptional<z.ZodEnum<{
2666
2664
  free: "free";
2667
- hobby: "hobby";
2668
2665
  pro: "pro";
2666
+ enterprise: "enterprise";
2669
2667
  }>>;
2670
2668
  entitlements: z.ZodArray<z.ZodString>;
2671
2669
  }, z.core.$strip>;
@@ -15,8 +15,8 @@ export const zLogs = z.object({
15
15
  });
16
16
  export const zPlatformTier = z.enum([
17
17
  'free',
18
- 'hobby',
19
- 'pro'
18
+ 'pro',
19
+ 'enterprise'
20
20
  ]);
21
21
  export const zBillingInterval = z.enum([
22
22
  'monthly',
@@ -24,8 +24,6 @@ export const zBillingInterval = z.enum([
24
24
  ]);
25
25
  export const zBillingPlanLookupKey = z.enum([
26
26
  'free-monthly',
27
- 'hobby-monthly',
28
- 'hobby-annual',
29
27
  'pro-monthly',
30
28
  'pro-annual'
31
29
  ]);
@@ -277,7 +275,7 @@ export const zNetworkEdgeProps = z.object({
277
275
  a: z.optional(z.string())
278
276
  });
279
277
  export const zRouteEdgeProps = z.object({
280
- subdomain: z.optional(z.string())
278
+ path: z.optional(z.string())
281
279
  });
282
280
  export const zEdgeType = z.enum([
283
281
  'network',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shoal-web-sdk",
3
- "version": "0.0.122",
3
+ "version": "0.0.124",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "build-hooks": "npx tsx tanstack-codegen/generator.ts",