shoal-web-sdk 0.0.111 → 0.0.113
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.
- package/dist/sdk/types.gen.d.ts +6 -3
- package/dist/sdk/zod.gen.d.ts +16 -0
- package/dist/sdk/zod.gen.js +13 -14
- package/package.json +1 -1
package/dist/sdk/types.gen.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export type ClientOptions = {
|
|
2
2
|
baseUrl: 'http://localhost:8080/core-service' | 'https://api-dev.shoalstack.com/core-service' | (string & {});
|
|
3
3
|
};
|
|
4
|
+
export type PlatformTier = 'free' | 'hobby' | 'pro';
|
|
5
|
+
export type BillingInterval = 'monthly' | 'annual';
|
|
4
6
|
export type BillingPlanLookupKey = 'free-monthly' | 'hobby-monthly' | 'hobby-annual' | 'pro-monthly' | 'pro-annual';
|
|
5
7
|
export type HealthResponse = {
|
|
6
8
|
status: string;
|
|
@@ -321,6 +323,7 @@ export type ContainerNodeProps = {
|
|
|
321
323
|
concurrency?: number;
|
|
322
324
|
allowUnauthenticated?: boolean;
|
|
323
325
|
uri: string;
|
|
326
|
+
digest?: string;
|
|
324
327
|
env?: {
|
|
325
328
|
[key: string]: string;
|
|
326
329
|
};
|
|
@@ -352,11 +355,11 @@ export type SignedUrlUploadResponse = {
|
|
|
352
355
|
expiration: string;
|
|
353
356
|
};
|
|
354
357
|
export type BillingPlan = {
|
|
355
|
-
tier:
|
|
356
|
-
interval?:
|
|
358
|
+
tier: PlatformTier;
|
|
359
|
+
interval?: BillingInterval;
|
|
357
360
|
seatCount: number;
|
|
358
361
|
currentPeriodEnd?: string;
|
|
359
|
-
pendingDowngrade?:
|
|
362
|
+
pendingDowngrade?: PlatformTier;
|
|
360
363
|
entitlements: Array<string>;
|
|
361
364
|
};
|
|
362
365
|
export type UpdatePlanRequest = {
|
package/dist/sdk/zod.gen.d.ts
CHANGED
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
export declare const zPlatformTier: z.ZodEnum<{
|
|
3
|
+
free: "free";
|
|
4
|
+
hobby: "hobby";
|
|
5
|
+
pro: "pro";
|
|
6
|
+
}>;
|
|
7
|
+
export declare const zBillingInterval: z.ZodEnum<{
|
|
8
|
+
monthly: "monthly";
|
|
9
|
+
annual: "annual";
|
|
10
|
+
}>;
|
|
2
11
|
export declare const zBillingPlanLookupKey: z.ZodEnum<{
|
|
3
12
|
"free-monthly": "free-monthly";
|
|
4
13
|
"hobby-monthly": "hobby-monthly";
|
|
@@ -563,6 +572,7 @@ export declare const zContainerNodeProps: z.ZodObject<{
|
|
|
563
572
|
concurrency: z.ZodOptional<z.ZodInt>;
|
|
564
573
|
allowUnauthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
565
574
|
uri: z.ZodString;
|
|
575
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
566
576
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
567
577
|
}, z.core.$strip>;
|
|
568
578
|
export declare const zCronJobNodeProps: z.ZodObject<{
|
|
@@ -693,6 +703,7 @@ export declare const zNode: z.ZodObject<{
|
|
|
693
703
|
concurrency: z.ZodOptional<z.ZodInt>;
|
|
694
704
|
allowUnauthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
695
705
|
uri: z.ZodString;
|
|
706
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
696
707
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
697
708
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
698
709
|
typ: z.ZodLiteral<"cronjob">;
|
|
@@ -836,6 +847,7 @@ export declare const zNodes: z.ZodObject<{
|
|
|
836
847
|
concurrency: z.ZodOptional<z.ZodInt>;
|
|
837
848
|
allowUnauthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
838
849
|
uri: z.ZodString;
|
|
850
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
839
851
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
840
852
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
841
853
|
typ: z.ZodLiteral<"cronjob">;
|
|
@@ -981,6 +993,7 @@ export declare const zGraph: z.ZodObject<{
|
|
|
981
993
|
concurrency: z.ZodOptional<z.ZodInt>;
|
|
982
994
|
allowUnauthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
983
995
|
uri: z.ZodString;
|
|
996
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
984
997
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
985
998
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
986
999
|
typ: z.ZodLiteral<"cronjob">;
|
|
@@ -1276,6 +1289,7 @@ export declare const zFetchGraphM2mResponse: z.ZodObject<{
|
|
|
1276
1289
|
concurrency: z.ZodOptional<z.ZodInt>;
|
|
1277
1290
|
allowUnauthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
1278
1291
|
uri: z.ZodString;
|
|
1292
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
1279
1293
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1280
1294
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1281
1295
|
typ: z.ZodLiteral<"cronjob">;
|
|
@@ -2010,6 +2024,7 @@ export declare const zGetGraphOverviewResponse: z.ZodObject<{
|
|
|
2010
2024
|
concurrency: z.ZodOptional<z.ZodInt>;
|
|
2011
2025
|
allowUnauthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
2012
2026
|
uri: z.ZodString;
|
|
2027
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
2013
2028
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2014
2029
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2015
2030
|
typ: z.ZodLiteral<"cronjob">;
|
|
@@ -2155,6 +2170,7 @@ export declare const zUpdateGraphStateData: z.ZodObject<{
|
|
|
2155
2170
|
concurrency: z.ZodOptional<z.ZodInt>;
|
|
2156
2171
|
allowUnauthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
2157
2172
|
uri: z.ZodString;
|
|
2173
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
2158
2174
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2159
2175
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2160
2176
|
typ: z.ZodLiteral<"cronjob">;
|
package/dist/sdk/zod.gen.js
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
+
export const zPlatformTier = z.enum([
|
|
4
|
+
'free',
|
|
5
|
+
'hobby',
|
|
6
|
+
'pro'
|
|
7
|
+
]);
|
|
8
|
+
export const zBillingInterval = z.enum([
|
|
9
|
+
'monthly',
|
|
10
|
+
'annual'
|
|
11
|
+
]);
|
|
3
12
|
export const zBillingPlanLookupKey = z.enum([
|
|
4
13
|
'free-monthly',
|
|
5
14
|
'hobby-monthly',
|
|
@@ -363,6 +372,7 @@ export const zContainerNodeProps = z.object({
|
|
|
363
372
|
concurrency: z.optional(z.int()),
|
|
364
373
|
allowUnauthenticated: z.optional(z.boolean()),
|
|
365
374
|
uri: z.string(),
|
|
375
|
+
digest: z.optional(z.string()),
|
|
366
376
|
env: z.optional(z.record(z.string(), z.string()))
|
|
367
377
|
});
|
|
368
378
|
export const zCronJobNodeProps = z.object({
|
|
@@ -438,22 +448,11 @@ export const zSignedUrlUploadResponse = z.object({
|
|
|
438
448
|
expiration: z.iso.datetime()
|
|
439
449
|
});
|
|
440
450
|
export const zBillingPlan = z.object({
|
|
441
|
-
tier:
|
|
442
|
-
|
|
443
|
-
'hobby',
|
|
444
|
-
'pro'
|
|
445
|
-
]),
|
|
446
|
-
interval: z.optional(z.enum([
|
|
447
|
-
'monthly',
|
|
448
|
-
'annual'
|
|
449
|
-
])),
|
|
451
|
+
tier: zPlatformTier,
|
|
452
|
+
interval: z.optional(zBillingInterval),
|
|
450
453
|
seatCount: z.coerce.bigint(),
|
|
451
454
|
currentPeriodEnd: z.optional(z.iso.datetime()),
|
|
452
|
-
pendingDowngrade: z.optional(
|
|
453
|
-
'free',
|
|
454
|
-
'hobby',
|
|
455
|
-
'pro'
|
|
456
|
-
])),
|
|
455
|
+
pendingDowngrade: z.optional(zPlatformTier),
|
|
457
456
|
entitlements: z.array(z.string())
|
|
458
457
|
});
|
|
459
458
|
export const zUpdatePlanRequest = z.object({
|