latitudesh-typescript-sdk 0.8.26 → 0.8.27
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/bin/mcp-server.js +36 -19
- package/bin/mcp-server.js.map +11 -9
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/models/index.d.ts +2 -0
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +2 -0
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/operations/getstorageplans.d.ts +1 -1
- package/dist/commonjs/models/storageplandata.d.ts +2 -18
- package/dist/commonjs/models/storageplandata.d.ts.map +1 -1
- package/dist/commonjs/models/storageplandata.js +7 -21
- package/dist/commonjs/models/storageplandata.js.map +1 -1
- package/dist/commonjs/models/storageplanstorageclass.d.ts +12 -0
- package/dist/commonjs/models/storageplanstorageclass.d.ts.map +1 -0
- package/dist/commonjs/models/storageplanstorageclass.js +49 -0
- package/dist/commonjs/models/storageplanstorageclass.js.map +1 -0
- package/dist/commonjs/models/storageplanstoragetype.d.ts +13 -0
- package/dist/commonjs/models/storageplanstoragetype.d.ts.map +1 -0
- package/dist/commonjs/models/storageplanstoragetype.js +50 -0
- package/dist/commonjs/models/storageplanstoragetype.js.map +1 -0
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/models/index.d.ts +2 -0
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +2 -0
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/operations/getstorageplans.d.ts +1 -1
- package/dist/esm/models/storageplandata.d.ts +2 -18
- package/dist/esm/models/storageplandata.d.ts.map +1 -1
- package/dist/esm/models/storageplandata.js +2 -16
- package/dist/esm/models/storageplandata.js.map +1 -1
- package/dist/esm/models/storageplanstorageclass.d.ts +12 -0
- package/dist/esm/models/storageplanstorageclass.d.ts.map +1 -0
- package/dist/esm/models/storageplanstorageclass.js +13 -0
- package/dist/esm/models/storageplanstorageclass.js.map +1 -0
- package/dist/esm/models/storageplanstoragetype.d.ts +13 -0
- package/dist/esm/models/storageplanstoragetype.d.ts.map +1 -0
- package/dist/esm/models/storageplanstoragetype.js +14 -0
- package/dist/esm/models/storageplanstoragetype.js.map +1 -0
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/index.ts +2 -0
- package/src/models/operations/getstorageplans.ts +1 -1
- package/src/models/storageplandata.ts +10 -32
- package/src/models/storageplanstorageclass.ts +23 -0
- package/src/models/storageplanstoragetype.ts +22 -0
|
@@ -4,30 +4,16 @@
|
|
|
4
4
|
import * as z from "zod/v3";
|
|
5
5
|
import { remap as remap$ } from "../lib/primitives.js";
|
|
6
6
|
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import { StoragePlanStorageClass$inboundSchema, StoragePlanStorageClass$outboundSchema, } from "./storageplanstorageclass.js";
|
|
8
|
+
import { StoragePlanStorageType$inboundSchema, StoragePlanStorageType$outboundSchema, } from "./storageplanstoragetype.js";
|
|
7
9
|
export const StoragePlanDataType = {
|
|
8
10
|
StoragePlans: "storage_plans",
|
|
9
11
|
};
|
|
10
|
-
export const StoragePlanStorageType = {
|
|
11
|
-
Filesystem: "filesystem",
|
|
12
|
-
Object: "object",
|
|
13
|
-
};
|
|
14
|
-
export const StoragePlanStorageClass = {
|
|
15
|
-
Standard: "standard",
|
|
16
|
-
HighPerformance: "high_performance",
|
|
17
|
-
};
|
|
18
12
|
/** @internal */
|
|
19
13
|
export const StoragePlanDataType$inboundSchema = z.nativeEnum(StoragePlanDataType);
|
|
20
14
|
/** @internal */
|
|
21
15
|
export const StoragePlanDataType$outboundSchema = StoragePlanDataType$inboundSchema;
|
|
22
16
|
/** @internal */
|
|
23
|
-
export const StoragePlanStorageType$inboundSchema = z.nativeEnum(StoragePlanStorageType);
|
|
24
|
-
/** @internal */
|
|
25
|
-
export const StoragePlanStorageType$outboundSchema = StoragePlanStorageType$inboundSchema;
|
|
26
|
-
/** @internal */
|
|
27
|
-
export const StoragePlanStorageClass$inboundSchema = z.nativeEnum(StoragePlanStorageClass);
|
|
28
|
-
/** @internal */
|
|
29
|
-
export const StoragePlanStorageClass$outboundSchema = StoragePlanStorageClass$inboundSchema;
|
|
30
|
-
/** @internal */
|
|
31
17
|
export const StoragePlanDataPricing$inboundSchema = z.object({
|
|
32
18
|
month: z.number().optional(),
|
|
33
19
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storageplandata.js","sourceRoot":"","sources":["../../../src/models/storageplandata.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"storageplandata.js","sourceRoot":"","sources":["../../../src/models/storageplandata.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAI9C,OAAO,EAEL,qCAAqC,EACrC,sCAAsC,GACvC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAEL,oCAAoC,EACpC,qCAAqC,GACtC,MAAM,6BAA6B,CAAC;AAErC,MA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AE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,uCAAuC,CAAC,CAAC,QAAQ,EAAE;CAC7E,CAAC,CAAC;AAQH,gBAAgB;AAChB,MAAM,CAAC,MAAM,8BAA8B,GAIvC,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,IAAI,EAAE,kCAAkC,CAAC,QAAQ,EAAE;IACnD,UAAU,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,wCAAwC,CAAC,CAAC,QAAQ,EAAE;CAC9E,CAAC,CAAC;AAEH,MAAM,UAAU,qBAAqB,CACnC,eAAgC;IAEhC,OAAO,IAAI,CAAC,SAAS,CAAC,8BAA8B,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC;AAC/E,CAAC;AACD,MAAM,UAAU,uBAAuB,CACrC,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,6BAA6B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzD,6CAA6C,CAC9C,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
3
|
+
export declare const StoragePlanStorageClass: {
|
|
4
|
+
readonly Standard: "standard";
|
|
5
|
+
readonly HighPerformance: "high_performance";
|
|
6
|
+
};
|
|
7
|
+
export type StoragePlanStorageClass = ClosedEnum<typeof StoragePlanStorageClass>;
|
|
8
|
+
/** @internal */
|
|
9
|
+
export declare const StoragePlanStorageClass$inboundSchema: z.ZodNativeEnum<typeof StoragePlanStorageClass>;
|
|
10
|
+
/** @internal */
|
|
11
|
+
export declare const StoragePlanStorageClass$outboundSchema: z.ZodNativeEnum<typeof StoragePlanStorageClass>;
|
|
12
|
+
//# sourceMappingURL=storageplanstorageclass.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storageplanstorageclass.d.ts","sourceRoot":"","sources":["../../../src/models/storageplanstorageclass.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,eAAO,MAAM,uBAAuB;;;CAG1B,CAAC;AACX,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAC9C,OAAO,uBAAuB,CAC/B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,aAAa,CACjE,OAAO,uBAAuB,CACS,CAAC;AAC1C,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,aAAa,CAClE,OAAO,uBAAuB,CACS,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v3";
|
|
5
|
+
export const StoragePlanStorageClass = {
|
|
6
|
+
Standard: "standard",
|
|
7
|
+
HighPerformance: "high_performance",
|
|
8
|
+
};
|
|
9
|
+
/** @internal */
|
|
10
|
+
export const StoragePlanStorageClass$inboundSchema = z.nativeEnum(StoragePlanStorageClass);
|
|
11
|
+
/** @internal */
|
|
12
|
+
export const StoragePlanStorageClass$outboundSchema = StoragePlanStorageClass$inboundSchema;
|
|
13
|
+
//# sourceMappingURL=storageplanstorageclass.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storageplanstorageclass.js","sourceRoot":"","sources":["../../../src/models/storageplanstorageclass.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,QAAQ,EAAE,UAAU;IACpB,eAAe,EAAE,kBAAkB;CAC3B,CAAC;AAKX,gBAAgB;AAChB,MAAM,CAAC,MAAM,qCAAqC,GAE9C,CAAC,CAAC,UAAU,CAAC,uBAAuB,CAAC,CAAC;AAC1C,gBAAgB;AAChB,MAAM,CAAC,MAAM,sCAAsC,GAE/C,qCAAqC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
3
|
+
export declare const StoragePlanStorageType: {
|
|
4
|
+
readonly Filesystem: "filesystem";
|
|
5
|
+
readonly Object: "object";
|
|
6
|
+
readonly Volume: "volume";
|
|
7
|
+
};
|
|
8
|
+
export type StoragePlanStorageType = ClosedEnum<typeof StoragePlanStorageType>;
|
|
9
|
+
/** @internal */
|
|
10
|
+
export declare const StoragePlanStorageType$inboundSchema: z.ZodNativeEnum<typeof StoragePlanStorageType>;
|
|
11
|
+
/** @internal */
|
|
12
|
+
export declare const StoragePlanStorageType$outboundSchema: z.ZodNativeEnum<typeof StoragePlanStorageType>;
|
|
13
|
+
//# sourceMappingURL=storageplanstoragetype.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storageplanstoragetype.d.ts","sourceRoot":"","sources":["../../../src/models/storageplanstoragetype.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,eAAO,MAAM,sBAAsB;;;;CAIzB,CAAC;AACX,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAE/E,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,aAAa,CAChE,OAAO,sBAAsB,CACS,CAAC;AACzC,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,aAAa,CACjE,OAAO,sBAAsB,CACS,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v3";
|
|
5
|
+
export const StoragePlanStorageType = {
|
|
6
|
+
Filesystem: "filesystem",
|
|
7
|
+
Object: "object",
|
|
8
|
+
Volume: "volume",
|
|
9
|
+
};
|
|
10
|
+
/** @internal */
|
|
11
|
+
export const StoragePlanStorageType$inboundSchema = z.nativeEnum(StoragePlanStorageType);
|
|
12
|
+
/** @internal */
|
|
13
|
+
export const StoragePlanStorageType$outboundSchema = StoragePlanStorageType$inboundSchema;
|
|
14
|
+
//# sourceMappingURL=storageplanstoragetype.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storageplanstoragetype.js","sourceRoot":"","sources":["../../../src/models/storageplanstoragetype.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,UAAU,EAAE,YAAY;IACxB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;CACR,CAAC;AAGX,gBAAgB;AAChB,MAAM,CAAC,MAAM,oCAAoC,GAE7C,CAAC,CAAC,UAAU,CAAC,sBAAsB,CAAC,CAAC;AACzC,gBAAgB;AAChB,MAAM,CAAC,MAAM,qCAAqC,GAE9C,oCAAoC,CAAC"}
|
package/jsr.json
CHANGED
package/package.json
CHANGED
package/src/lib/config.ts
CHANGED
|
@@ -74,8 +74,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
74
74
|
export const SDK_METADATA = {
|
|
75
75
|
language: "typescript",
|
|
76
76
|
openapiDocVersion: "2023-06-01",
|
|
77
|
-
sdkVersion: "0.8.
|
|
78
|
-
genVersion: "2.
|
|
77
|
+
sdkVersion: "0.8.27",
|
|
78
|
+
genVersion: "2.937.18",
|
|
79
79
|
userAgent:
|
|
80
|
-
"speakeasy-sdk/typescript 0.8.
|
|
80
|
+
"speakeasy-sdk/typescript 0.8.27 2.937.18 2023-06-01 latitudesh-typescript-sdk",
|
|
81
81
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
package/src/models/index.ts
CHANGED
|
@@ -94,6 +94,8 @@ export * from "./sshkeydata.js";
|
|
|
94
94
|
export * from "./sshkeys.js";
|
|
95
95
|
export * from "./storageplandata.js";
|
|
96
96
|
export * from "./storageplans.js";
|
|
97
|
+
export * from "./storageplanstorageclass.js";
|
|
98
|
+
export * from "./storageplanstoragetype.js";
|
|
97
99
|
export * from "./storageusage.js";
|
|
98
100
|
export * from "./team.js";
|
|
99
101
|
export * from "./teaminclude.js";
|
|
@@ -10,7 +10,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
10
10
|
|
|
11
11
|
export type GetStoragePlansRequest = {
|
|
12
12
|
/**
|
|
13
|
-
* Filter by storage type (filesystem or
|
|
13
|
+
* Filter by storage type (filesystem, object, or volume)
|
|
14
14
|
*/
|
|
15
15
|
filterStorageType?: string | undefined;
|
|
16
16
|
/**
|
|
@@ -8,26 +8,22 @@ import { safeParse } from "../lib/schemas.js";
|
|
|
8
8
|
import { ClosedEnum } from "../types/enums.js";
|
|
9
9
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
10
10
|
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
11
|
+
import {
|
|
12
|
+
StoragePlanStorageClass,
|
|
13
|
+
StoragePlanStorageClass$inboundSchema,
|
|
14
|
+
StoragePlanStorageClass$outboundSchema,
|
|
15
|
+
} from "./storageplanstorageclass.js";
|
|
16
|
+
import {
|
|
17
|
+
StoragePlanStorageType,
|
|
18
|
+
StoragePlanStorageType$inboundSchema,
|
|
19
|
+
StoragePlanStorageType$outboundSchema,
|
|
20
|
+
} from "./storageplanstoragetype.js";
|
|
11
21
|
|
|
12
22
|
export const StoragePlanDataType = {
|
|
13
23
|
StoragePlans: "storage_plans",
|
|
14
24
|
} as const;
|
|
15
25
|
export type StoragePlanDataType = ClosedEnum<typeof StoragePlanDataType>;
|
|
16
26
|
|
|
17
|
-
export const StoragePlanStorageType = {
|
|
18
|
-
Filesystem: "filesystem",
|
|
19
|
-
Object: "object",
|
|
20
|
-
} as const;
|
|
21
|
-
export type StoragePlanStorageType = ClosedEnum<typeof StoragePlanStorageType>;
|
|
22
|
-
|
|
23
|
-
export const StoragePlanStorageClass = {
|
|
24
|
-
Standard: "standard",
|
|
25
|
-
HighPerformance: "high_performance",
|
|
26
|
-
} as const;
|
|
27
|
-
export type StoragePlanStorageClass = ClosedEnum<
|
|
28
|
-
typeof StoragePlanStorageClass
|
|
29
|
-
>;
|
|
30
|
-
|
|
31
27
|
export type StoragePlanDataPricing = {
|
|
32
28
|
month?: number | undefined;
|
|
33
29
|
};
|
|
@@ -63,24 +59,6 @@ export const StoragePlanDataType$outboundSchema: z.ZodNativeEnum<
|
|
|
63
59
|
typeof StoragePlanDataType
|
|
64
60
|
> = StoragePlanDataType$inboundSchema;
|
|
65
61
|
|
|
66
|
-
/** @internal */
|
|
67
|
-
export const StoragePlanStorageType$inboundSchema: z.ZodNativeEnum<
|
|
68
|
-
typeof StoragePlanStorageType
|
|
69
|
-
> = z.nativeEnum(StoragePlanStorageType);
|
|
70
|
-
/** @internal */
|
|
71
|
-
export const StoragePlanStorageType$outboundSchema: z.ZodNativeEnum<
|
|
72
|
-
typeof StoragePlanStorageType
|
|
73
|
-
> = StoragePlanStorageType$inboundSchema;
|
|
74
|
-
|
|
75
|
-
/** @internal */
|
|
76
|
-
export const StoragePlanStorageClass$inboundSchema: z.ZodNativeEnum<
|
|
77
|
-
typeof StoragePlanStorageClass
|
|
78
|
-
> = z.nativeEnum(StoragePlanStorageClass);
|
|
79
|
-
/** @internal */
|
|
80
|
-
export const StoragePlanStorageClass$outboundSchema: z.ZodNativeEnum<
|
|
81
|
-
typeof StoragePlanStorageClass
|
|
82
|
-
> = StoragePlanStorageClass$inboundSchema;
|
|
83
|
-
|
|
84
62
|
/** @internal */
|
|
85
63
|
export const StoragePlanDataPricing$inboundSchema: z.ZodType<
|
|
86
64
|
StoragePlanDataPricing,
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
7
|
+
|
|
8
|
+
export const StoragePlanStorageClass = {
|
|
9
|
+
Standard: "standard",
|
|
10
|
+
HighPerformance: "high_performance",
|
|
11
|
+
} as const;
|
|
12
|
+
export type StoragePlanStorageClass = ClosedEnum<
|
|
13
|
+
typeof StoragePlanStorageClass
|
|
14
|
+
>;
|
|
15
|
+
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const StoragePlanStorageClass$inboundSchema: z.ZodNativeEnum<
|
|
18
|
+
typeof StoragePlanStorageClass
|
|
19
|
+
> = z.nativeEnum(StoragePlanStorageClass);
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const StoragePlanStorageClass$outboundSchema: z.ZodNativeEnum<
|
|
22
|
+
typeof StoragePlanStorageClass
|
|
23
|
+
> = StoragePlanStorageClass$inboundSchema;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
7
|
+
|
|
8
|
+
export const StoragePlanStorageType = {
|
|
9
|
+
Filesystem: "filesystem",
|
|
10
|
+
Object: "object",
|
|
11
|
+
Volume: "volume",
|
|
12
|
+
} as const;
|
|
13
|
+
export type StoragePlanStorageType = ClosedEnum<typeof StoragePlanStorageType>;
|
|
14
|
+
|
|
15
|
+
/** @internal */
|
|
16
|
+
export const StoragePlanStorageType$inboundSchema: z.ZodNativeEnum<
|
|
17
|
+
typeof StoragePlanStorageType
|
|
18
|
+
> = z.nativeEnum(StoragePlanStorageType);
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const StoragePlanStorageType$outboundSchema: z.ZodNativeEnum<
|
|
21
|
+
typeof StoragePlanStorageType
|
|
22
|
+
> = StoragePlanStorageType$inboundSchema;
|