latitudesh-typescript-sdk 0.2.3 → 0.2.4
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 +124 -124
- package/bin/mcp-server.js.map +26 -26
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/models/billingusage.d.ts +8 -8
- package/dist/commonjs/models/billingusage.d.ts.map +1 -1
- package/dist/commonjs/models/billingusage.js +8 -9
- package/dist/commonjs/models/billingusage.js.map +1 -1
- package/dist/commonjs/models/containerplandata.d.ts +8 -8
- package/dist/commonjs/models/containerplandata.d.ts.map +1 -1
- package/dist/commonjs/models/containerplandata.js +8 -8
- package/dist/commonjs/models/containerplandata.js.map +1 -1
- package/dist/commonjs/models/deployconfig.d.ts +2 -2
- package/dist/commonjs/models/deployconfig.d.ts.map +1 -1
- package/dist/commonjs/models/deployconfig.js +4 -2
- package/dist/commonjs/models/deployconfig.js.map +1 -1
- package/dist/commonjs/models/filesystemdata.d.ts +2 -2
- package/dist/commonjs/models/filesystemdata.d.ts.map +1 -1
- package/dist/commonjs/models/filesystemdata.js +2 -3
- package/dist/commonjs/models/filesystemdata.js.map +1 -1
- package/dist/commonjs/models/ipaddress.d.ts +4 -4
- package/dist/commonjs/models/ipaddress.d.ts.map +1 -1
- package/dist/commonjs/models/ipaddress.js +4 -4
- package/dist/commonjs/models/ipaddress.js.map +1 -1
- package/dist/commonjs/models/operations/createserver.d.ts +10 -10
- package/dist/commonjs/models/operations/createserver.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createserver.js +10 -10
- package/dist/commonjs/models/operations/createserver.js.map +1 -1
- package/dist/commonjs/models/operations/createserverreinstall.d.ts +10 -10
- package/dist/commonjs/models/operations/createserverreinstall.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createserverreinstall.js +10 -10
- package/dist/commonjs/models/operations/createserverreinstall.js.map +1 -1
- package/dist/commonjs/models/operations/createtag.d.ts +2 -2
- package/dist/commonjs/models/operations/createtag.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createtag.js +2 -2
- package/dist/commonjs/models/operations/createtag.js.map +1 -1
- package/dist/commonjs/models/operations/updateserver.d.ts +4 -4
- package/dist/commonjs/models/operations/updateserver.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updateserver.js +4 -4
- package/dist/commonjs/models/operations/updateserver.js.map +1 -1
- package/dist/commonjs/models/operations/updateserverdeployconfig.d.ts +14 -14
- package/dist/commonjs/models/operations/updateserverdeployconfig.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updateserverdeployconfig.js +14 -16
- package/dist/commonjs/models/operations/updateserverdeployconfig.js.map +1 -1
- package/dist/commonjs/models/operations/updatetag.d.ts +2 -2
- package/dist/commonjs/models/operations/updatetag.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updatetag.js +2 -2
- package/dist/commonjs/models/operations/updatetag.js.map +1 -1
- package/dist/commonjs/models/serverdata.d.ts +12 -12
- package/dist/commonjs/models/serverdata.d.ts.map +1 -1
- package/dist/commonjs/models/serverdata.js +12 -12
- package/dist/commonjs/models/serverdata.js.map +1 -1
- package/dist/commonjs/models/team.d.ts +4 -4
- package/dist/commonjs/models/team.d.ts.map +1 -1
- package/dist/commonjs/models/team.js +4 -4
- package/dist/commonjs/models/team.js.map +1 -1
- package/dist/commonjs/models/trafficquota.d.ts +2 -2
- package/dist/commonjs/models/trafficquota.d.ts.map +1 -1
- package/dist/commonjs/models/trafficquota.js +2 -2
- package/dist/commonjs/models/trafficquota.js.map +1 -1
- package/dist/commonjs/models/userinclude.d.ts +2 -2
- package/dist/commonjs/models/userinclude.d.ts.map +1 -1
- package/dist/commonjs/models/userinclude.js +2 -2
- package/dist/commonjs/models/userinclude.js.map +1 -1
- package/dist/commonjs/models/userteam.d.ts +4 -4
- package/dist/commonjs/models/userteam.d.ts.map +1 -1
- package/dist/commonjs/models/userteam.js +4 -4
- package/dist/commonjs/models/userteam.js.map +1 -1
- package/dist/commonjs/models/userupdate.d.ts +2 -2
- package/dist/commonjs/models/userupdate.d.ts.map +1 -1
- package/dist/commonjs/models/userupdate.js +2 -2
- package/dist/commonjs/models/userupdate.js.map +1 -1
- package/dist/commonjs/models/virtualmachineattributes.d.ts +14 -14
- package/dist/commonjs/models/virtualmachineattributes.d.ts.map +1 -1
- package/dist/commonjs/models/virtualmachineattributes.js +14 -16
- package/dist/commonjs/models/virtualmachineattributes.js.map +1 -1
- package/dist/commonjs/models/virtualmachinepayload.d.ts +7 -4
- package/dist/commonjs/models/virtualmachinepayload.d.ts.map +1 -1
- package/dist/commonjs/models/virtualmachinepayload.js +4 -4
- package/dist/commonjs/models/virtualmachinepayload.js.map +1 -1
- package/dist/commonjs/models/virtualnetworkdata.d.ts +2 -2
- package/dist/commonjs/models/virtualnetworkdata.d.ts.map +1 -1
- package/dist/commonjs/models/virtualnetworkdata.js +2 -3
- package/dist/commonjs/models/virtualnetworkdata.js.map +1 -1
- package/dist/commonjs/models/volumedata.d.ts +6 -6
- package/dist/commonjs/models/volumedata.d.ts.map +1 -1
- package/dist/commonjs/models/volumedata.js +8 -7
- package/dist/commonjs/models/volumedata.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/models/billingusage.d.ts +8 -8
- package/dist/esm/models/billingusage.d.ts.map +1 -1
- package/dist/esm/models/billingusage.js +8 -9
- package/dist/esm/models/billingusage.js.map +1 -1
- package/dist/esm/models/containerplandata.d.ts +8 -8
- package/dist/esm/models/containerplandata.d.ts.map +1 -1
- package/dist/esm/models/containerplandata.js +8 -8
- package/dist/esm/models/containerplandata.js.map +1 -1
- package/dist/esm/models/deployconfig.d.ts +2 -2
- package/dist/esm/models/deployconfig.d.ts.map +1 -1
- package/dist/esm/models/deployconfig.js +4 -2
- package/dist/esm/models/deployconfig.js.map +1 -1
- package/dist/esm/models/filesystemdata.d.ts +2 -2
- package/dist/esm/models/filesystemdata.d.ts.map +1 -1
- package/dist/esm/models/filesystemdata.js +2 -3
- package/dist/esm/models/filesystemdata.js.map +1 -1
- package/dist/esm/models/ipaddress.d.ts +4 -4
- package/dist/esm/models/ipaddress.d.ts.map +1 -1
- package/dist/esm/models/ipaddress.js +4 -4
- package/dist/esm/models/ipaddress.js.map +1 -1
- package/dist/esm/models/operations/createserver.d.ts +10 -10
- package/dist/esm/models/operations/createserver.d.ts.map +1 -1
- package/dist/esm/models/operations/createserver.js +10 -10
- package/dist/esm/models/operations/createserver.js.map +1 -1
- package/dist/esm/models/operations/createserverreinstall.d.ts +10 -10
- package/dist/esm/models/operations/createserverreinstall.d.ts.map +1 -1
- package/dist/esm/models/operations/createserverreinstall.js +10 -10
- package/dist/esm/models/operations/createserverreinstall.js.map +1 -1
- package/dist/esm/models/operations/createtag.d.ts +2 -2
- package/dist/esm/models/operations/createtag.d.ts.map +1 -1
- package/dist/esm/models/operations/createtag.js +2 -2
- package/dist/esm/models/operations/createtag.js.map +1 -1
- package/dist/esm/models/operations/updateserver.d.ts +4 -4
- package/dist/esm/models/operations/updateserver.d.ts.map +1 -1
- package/dist/esm/models/operations/updateserver.js +4 -4
- package/dist/esm/models/operations/updateserver.js.map +1 -1
- package/dist/esm/models/operations/updateserverdeployconfig.d.ts +14 -14
- package/dist/esm/models/operations/updateserverdeployconfig.d.ts.map +1 -1
- package/dist/esm/models/operations/updateserverdeployconfig.js +14 -16
- package/dist/esm/models/operations/updateserverdeployconfig.js.map +1 -1
- package/dist/esm/models/operations/updatetag.d.ts +2 -2
- package/dist/esm/models/operations/updatetag.d.ts.map +1 -1
- package/dist/esm/models/operations/updatetag.js +2 -2
- package/dist/esm/models/operations/updatetag.js.map +1 -1
- package/dist/esm/models/serverdata.d.ts +12 -12
- package/dist/esm/models/serverdata.d.ts.map +1 -1
- package/dist/esm/models/serverdata.js +12 -12
- package/dist/esm/models/serverdata.js.map +1 -1
- package/dist/esm/models/team.d.ts +4 -4
- package/dist/esm/models/team.d.ts.map +1 -1
- package/dist/esm/models/team.js +4 -4
- package/dist/esm/models/team.js.map +1 -1
- package/dist/esm/models/trafficquota.d.ts +2 -2
- package/dist/esm/models/trafficquota.d.ts.map +1 -1
- package/dist/esm/models/trafficquota.js +2 -2
- package/dist/esm/models/trafficquota.js.map +1 -1
- package/dist/esm/models/userinclude.d.ts +2 -2
- package/dist/esm/models/userinclude.d.ts.map +1 -1
- package/dist/esm/models/userinclude.js +2 -2
- package/dist/esm/models/userinclude.js.map +1 -1
- package/dist/esm/models/userteam.d.ts +4 -4
- package/dist/esm/models/userteam.d.ts.map +1 -1
- package/dist/esm/models/userteam.js +4 -4
- package/dist/esm/models/userteam.js.map +1 -1
- package/dist/esm/models/userupdate.d.ts +2 -2
- package/dist/esm/models/userupdate.d.ts.map +1 -1
- package/dist/esm/models/userupdate.js +2 -2
- package/dist/esm/models/userupdate.js.map +1 -1
- package/dist/esm/models/virtualmachineattributes.d.ts +14 -14
- package/dist/esm/models/virtualmachineattributes.d.ts.map +1 -1
- package/dist/esm/models/virtualmachineattributes.js +14 -16
- package/dist/esm/models/virtualmachineattributes.js.map +1 -1
- package/dist/esm/models/virtualmachinepayload.d.ts +7 -4
- package/dist/esm/models/virtualmachinepayload.d.ts.map +1 -1
- package/dist/esm/models/virtualmachinepayload.js +4 -4
- package/dist/esm/models/virtualmachinepayload.js.map +1 -1
- package/dist/esm/models/virtualnetworkdata.d.ts +2 -2
- package/dist/esm/models/virtualnetworkdata.d.ts.map +1 -1
- package/dist/esm/models/virtualnetworkdata.js +2 -3
- package/dist/esm/models/virtualnetworkdata.js.map +1 -1
- package/dist/esm/models/volumedata.d.ts +6 -6
- package/dist/esm/models/volumedata.d.ts.map +1 -1
- package/dist/esm/models/volumedata.js +8 -7
- package/dist/esm/models/volumedata.js.map +1 -1
- package/examples/package-lock.json +1 -1
- 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/billingusage.ts +18 -17
- package/src/models/containerplandata.ts +16 -16
- package/src/models/deployconfig.ts +6 -4
- package/src/models/filesystemdata.ts +6 -5
- package/src/models/ipaddress.ts +8 -8
- package/src/models/operations/createserver.ts +20 -20
- package/src/models/operations/createserverreinstall.ts +25 -22
- package/src/models/operations/createtag.ts +4 -4
- package/src/models/operations/updateserver.ts +8 -8
- package/src/models/operations/updateserverdeployconfig.ts +37 -32
- package/src/models/operations/updatetag.ts +4 -4
- package/src/models/serverdata.ts +24 -24
- package/src/models/team.ts +8 -8
- package/src/models/trafficquota.ts +4 -4
- package/src/models/userinclude.ts +4 -4
- package/src/models/userteam.ts +8 -8
- package/src/models/userupdate.ts +4 -4
- package/src/models/virtualmachineattributes.ts +32 -30
- package/src/models/virtualmachinepayload.ts +11 -8
- package/src/models/virtualnetworkdata.ts +6 -5
- package/src/models/volumedata.ts +16 -13
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"volumedata.js","sourceRoot":"","sources":["../../../src/models/volumedata.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,4BAA4B,EAE5B,6BAA6B,GAC9B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,yBAAyB,EAEzB,0BAA0B,GAC3B,MAAM,kBAAkB,CAAC;AAE1B,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,OAAO,EAAE,SAAS;CACV,CAAC;AAwBX,gBAAgB;AAChB,MAAM,CAAC,MAAM,4BAA4B,GAEr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C,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AACJ,CAAC;AAED,gBAAgB;AAChB,MAAM,CAAC,MAAM,wBAAwB,GAIjC,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,IAAI,EAAE,4BAA4B,CAAC,QAAQ,EAAE;IAC7C,UAAU,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,kCAAkC,CAAC,CAAC,QAAQ,EAAE;CACxE,CAAC,CAAC;AAQH,gBAAgB;AAChB,MAAM,CAAC,MAAM,yBAAyB,GAIlC,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,IAAI,EAAE,6BAA6B,CAAC,QAAQ,EAAE;IAC9C,UAAU,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,mCAAmC,CAAC,CAAC,QAAQ,EAAE;CACzE,CAAC,CAAC;AAEH,MAAM,UAAU,gBAAgB,CAAC,UAAsB;IACrD,OAAO,IAAI,CAAC,SAAS,CAAC,yBAAyB,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC;AACrE,CAAC;AACD,MAAM,UAAU,kBAAkB,CAChC,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,wBAAwB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpD,wCAAwC,CACzC,CAAC;AACJ,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.2.
|
|
78
|
-
genVersion: "2.
|
|
77
|
+
sdkVersion: "0.2.4",
|
|
78
|
+
genVersion: "2.797.1",
|
|
79
79
|
userAgent:
|
|
80
|
-
"speakeasy-sdk/typescript 0.2.
|
|
80
|
+
"speakeasy-sdk/typescript 0.2.4 2.797.1 2023-06-01 latitudesh-typescript-sdk",
|
|
81
81
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -67,9 +67,9 @@ export const UsageType = {
|
|
|
67
67
|
export type UsageType = ClosedEnum<typeof UsageType>;
|
|
68
68
|
|
|
69
69
|
export type Metadata = {
|
|
70
|
-
id?: string | undefined;
|
|
71
|
-
hostname?: string | undefined;
|
|
72
|
-
plan?: string | undefined;
|
|
70
|
+
id?: string | null | undefined;
|
|
71
|
+
hostname?: string | null | undefined;
|
|
72
|
+
plan?: string | null | undefined;
|
|
73
73
|
tags?: Array<string> | undefined;
|
|
74
74
|
};
|
|
75
75
|
|
|
@@ -83,7 +83,7 @@ export type Product = {
|
|
|
83
83
|
description?: string | undefined;
|
|
84
84
|
amountWithoutDiscount?: number | undefined;
|
|
85
85
|
start?: Date | undefined;
|
|
86
|
-
end?: Date | undefined;
|
|
86
|
+
end?: Date | null | undefined;
|
|
87
87
|
unit?: BillingUsageUnit | undefined;
|
|
88
88
|
/**
|
|
89
89
|
* The unit price of the product in cents
|
|
@@ -285,16 +285,16 @@ export const Metadata$inboundSchema: z.ZodType<
|
|
|
285
285
|
z.ZodTypeDef,
|
|
286
286
|
unknown
|
|
287
287
|
> = z.object({
|
|
288
|
-
id: z.string().optional(),
|
|
289
|
-
hostname: z.string().optional(),
|
|
290
|
-
plan: z.string().optional(),
|
|
288
|
+
id: z.nullable(z.string()).optional(),
|
|
289
|
+
hostname: z.nullable(z.string()).optional(),
|
|
290
|
+
plan: z.nullable(z.string()).optional(),
|
|
291
291
|
tags: z.array(z.string()).optional(),
|
|
292
292
|
});
|
|
293
293
|
/** @internal */
|
|
294
294
|
export type Metadata$Outbound = {
|
|
295
|
-
id?: string | undefined;
|
|
296
|
-
hostname?: string | undefined;
|
|
297
|
-
plan?: string | undefined;
|
|
295
|
+
id?: string | null | undefined;
|
|
296
|
+
hostname?: string | null | undefined;
|
|
297
|
+
plan?: string | null | undefined;
|
|
298
298
|
tags?: Array<string> | undefined;
|
|
299
299
|
};
|
|
300
300
|
|
|
@@ -304,9 +304,9 @@ export const Metadata$outboundSchema: z.ZodType<
|
|
|
304
304
|
z.ZodTypeDef,
|
|
305
305
|
Metadata
|
|
306
306
|
> = z.object({
|
|
307
|
-
id: z.string().optional(),
|
|
308
|
-
hostname: z.string().optional(),
|
|
309
|
-
plan: z.string().optional(),
|
|
307
|
+
id: z.nullable(z.string()).optional(),
|
|
308
|
+
hostname: z.nullable(z.string()).optional(),
|
|
309
|
+
plan: z.nullable(z.string()).optional(),
|
|
310
310
|
tags: z.array(z.string()).optional(),
|
|
311
311
|
});
|
|
312
312
|
|
|
@@ -336,8 +336,9 @@ export const Product$inboundSchema: z.ZodType<Product, z.ZodTypeDef, unknown> =
|
|
|
336
336
|
amount_without_discount: z.number().int().optional(),
|
|
337
337
|
start: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
338
338
|
.optional(),
|
|
339
|
-
end: z.
|
|
340
|
-
.
|
|
339
|
+
end: z.nullable(
|
|
340
|
+
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
341
|
+
).optional(),
|
|
341
342
|
unit: BillingUsageUnit$inboundSchema.optional(),
|
|
342
343
|
unit_price: z.number().optional(),
|
|
343
344
|
usage_type: UsageType$inboundSchema.optional(),
|
|
@@ -362,7 +363,7 @@ export type Product$Outbound = {
|
|
|
362
363
|
description?: string | undefined;
|
|
363
364
|
amount_without_discount?: number | undefined;
|
|
364
365
|
start?: string | undefined;
|
|
365
|
-
end?: string | undefined;
|
|
366
|
+
end?: string | null | undefined;
|
|
366
367
|
unit?: string | undefined;
|
|
367
368
|
unit_price?: number | undefined;
|
|
368
369
|
usage_type?: string | undefined;
|
|
@@ -386,7 +387,7 @@ export const Product$outboundSchema: z.ZodType<
|
|
|
386
387
|
description: z.string().optional(),
|
|
387
388
|
amountWithoutDiscount: z.number().int().optional(),
|
|
388
389
|
start: z.date().transform(v => v.toISOString()).optional(),
|
|
389
|
-
end: z.date().transform(v => v.toISOString()).optional(),
|
|
390
|
+
end: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
390
391
|
unit: BillingUsageUnit$outboundSchema.optional(),
|
|
391
392
|
unitPrice: z.number().optional(),
|
|
392
393
|
usageType: UsageType$outboundSchema.optional(),
|
|
@@ -55,13 +55,13 @@ export type ContainerPlanDataStockLevel = ClosedEnum<
|
|
|
55
55
|
>;
|
|
56
56
|
|
|
57
57
|
export type ContainerPlanDataUSD = {
|
|
58
|
-
minute?: number | undefined;
|
|
59
|
-
hour?: number | undefined;
|
|
58
|
+
minute?: number | null | undefined;
|
|
59
|
+
hour?: number | null | undefined;
|
|
60
60
|
};
|
|
61
61
|
|
|
62
62
|
export type ContainerPlanDataBRL = {
|
|
63
|
-
minute?: number | undefined;
|
|
64
|
-
hour?: number | undefined;
|
|
63
|
+
minute?: number | null | undefined;
|
|
64
|
+
hour?: number | null | undefined;
|
|
65
65
|
};
|
|
66
66
|
|
|
67
67
|
export type ContainerPlanDataPricing = {
|
|
@@ -380,13 +380,13 @@ export const ContainerPlanDataUSD$inboundSchema: z.ZodType<
|
|
|
380
380
|
z.ZodTypeDef,
|
|
381
381
|
unknown
|
|
382
382
|
> = z.object({
|
|
383
|
-
minute: z.number().optional(),
|
|
384
|
-
hour: z.number().optional(),
|
|
383
|
+
minute: z.nullable(z.number()).optional(),
|
|
384
|
+
hour: z.nullable(z.number()).optional(),
|
|
385
385
|
});
|
|
386
386
|
/** @internal */
|
|
387
387
|
export type ContainerPlanDataUSD$Outbound = {
|
|
388
|
-
minute?: number | undefined;
|
|
389
|
-
hour?: number | undefined;
|
|
388
|
+
minute?: number | null | undefined;
|
|
389
|
+
hour?: number | null | undefined;
|
|
390
390
|
};
|
|
391
391
|
|
|
392
392
|
/** @internal */
|
|
@@ -395,8 +395,8 @@ export const ContainerPlanDataUSD$outboundSchema: z.ZodType<
|
|
|
395
395
|
z.ZodTypeDef,
|
|
396
396
|
ContainerPlanDataUSD
|
|
397
397
|
> = z.object({
|
|
398
|
-
minute: z.number().optional(),
|
|
399
|
-
hour: z.number().optional(),
|
|
398
|
+
minute: z.nullable(z.number()).optional(),
|
|
399
|
+
hour: z.nullable(z.number()).optional(),
|
|
400
400
|
});
|
|
401
401
|
|
|
402
402
|
export function containerPlanDataUSDToJSON(
|
|
@@ -422,13 +422,13 @@ export const ContainerPlanDataBRL$inboundSchema: z.ZodType<
|
|
|
422
422
|
z.ZodTypeDef,
|
|
423
423
|
unknown
|
|
424
424
|
> = z.object({
|
|
425
|
-
minute: z.number().optional(),
|
|
426
|
-
hour: z.number().optional(),
|
|
425
|
+
minute: z.nullable(z.number()).optional(),
|
|
426
|
+
hour: z.nullable(z.number()).optional(),
|
|
427
427
|
});
|
|
428
428
|
/** @internal */
|
|
429
429
|
export type ContainerPlanDataBRL$Outbound = {
|
|
430
|
-
minute?: number | undefined;
|
|
431
|
-
hour?: number | undefined;
|
|
430
|
+
minute?: number | null | undefined;
|
|
431
|
+
hour?: number | null | undefined;
|
|
432
432
|
};
|
|
433
433
|
|
|
434
434
|
/** @internal */
|
|
@@ -437,8 +437,8 @@ export const ContainerPlanDataBRL$outboundSchema: z.ZodType<
|
|
|
437
437
|
z.ZodTypeDef,
|
|
438
438
|
ContainerPlanDataBRL
|
|
439
439
|
> = z.object({
|
|
440
|
-
minute: z.number().optional(),
|
|
441
|
-
hour: z.number().optional(),
|
|
440
|
+
minute: z.nullable(z.number()).optional(),
|
|
441
|
+
hour: z.nullable(z.number()).optional(),
|
|
442
442
|
});
|
|
443
443
|
|
|
444
444
|
export function containerPlanDataBRLToJSON(
|
|
@@ -20,7 +20,7 @@ export type DeployConfigAttributes = {
|
|
|
20
20
|
raid?: string | undefined;
|
|
21
21
|
userData?: string | undefined;
|
|
22
22
|
sshKeys?: Array<string> | undefined;
|
|
23
|
-
partitions?: Array<Partition> | undefined;
|
|
23
|
+
partitions?: Array<Partition> | null | undefined;
|
|
24
24
|
};
|
|
25
25
|
|
|
26
26
|
export type DeployConfigData = {
|
|
@@ -94,7 +94,8 @@ export const DeployConfigAttributes$inboundSchema: z.ZodType<
|
|
|
94
94
|
raid: z.string().optional(),
|
|
95
95
|
user_data: z.string().optional(),
|
|
96
96
|
ssh_keys: z.array(z.string()).optional(),
|
|
97
|
-
partitions: z.array(z.lazy(() => Partition$inboundSchema))
|
|
97
|
+
partitions: z.nullable(z.array(z.lazy(() => Partition$inboundSchema)))
|
|
98
|
+
.optional(),
|
|
98
99
|
}).transform((v) => {
|
|
99
100
|
return remap$(v, {
|
|
100
101
|
"operating_system": "operatingSystem",
|
|
@@ -109,7 +110,7 @@ export type DeployConfigAttributes$Outbound = {
|
|
|
109
110
|
raid?: string | undefined;
|
|
110
111
|
user_data?: string | undefined;
|
|
111
112
|
ssh_keys?: Array<string> | undefined;
|
|
112
|
-
partitions?: Array<Partition$Outbound> | undefined;
|
|
113
|
+
partitions?: Array<Partition$Outbound> | null | undefined;
|
|
113
114
|
};
|
|
114
115
|
|
|
115
116
|
/** @internal */
|
|
@@ -123,7 +124,8 @@ export const DeployConfigAttributes$outboundSchema: z.ZodType<
|
|
|
123
124
|
raid: z.string().optional(),
|
|
124
125
|
userData: z.string().optional(),
|
|
125
126
|
sshKeys: z.array(z.string()).optional(),
|
|
126
|
-
partitions: z.array(z.lazy(() => Partition$outboundSchema))
|
|
127
|
+
partitions: z.nullable(z.array(z.lazy(() => Partition$outboundSchema)))
|
|
128
|
+
.optional(),
|
|
127
129
|
}).transform((v) => {
|
|
128
130
|
return remap$(v, {
|
|
129
131
|
operatingSystem: "operating_system",
|
|
@@ -23,7 +23,7 @@ export type FilesystemDataProject = {
|
|
|
23
23
|
export type FilesystemDataAttributes = {
|
|
24
24
|
name?: string | undefined;
|
|
25
25
|
sizeInGb?: number | undefined;
|
|
26
|
-
createdAt?: Date | undefined;
|
|
26
|
+
createdAt?: Date | null | undefined;
|
|
27
27
|
project?: FilesystemDataProject | undefined;
|
|
28
28
|
};
|
|
29
29
|
|
|
@@ -95,8 +95,9 @@ export const FilesystemDataAttributes$inboundSchema: z.ZodType<
|
|
|
95
95
|
> = z.object({
|
|
96
96
|
name: z.string().optional(),
|
|
97
97
|
size_in_gb: z.number().int().optional(),
|
|
98
|
-
created_at: z.
|
|
99
|
-
.
|
|
98
|
+
created_at: z.nullable(
|
|
99
|
+
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
100
|
+
).optional(),
|
|
100
101
|
project: z.lazy(() => FilesystemDataProject$inboundSchema).optional(),
|
|
101
102
|
}).transform((v) => {
|
|
102
103
|
return remap$(v, {
|
|
@@ -108,7 +109,7 @@ export const FilesystemDataAttributes$inboundSchema: z.ZodType<
|
|
|
108
109
|
export type FilesystemDataAttributes$Outbound = {
|
|
109
110
|
name?: string | undefined;
|
|
110
111
|
size_in_gb?: number | undefined;
|
|
111
|
-
created_at?: string | undefined;
|
|
112
|
+
created_at?: string | null | undefined;
|
|
112
113
|
project?: FilesystemDataProject$Outbound | undefined;
|
|
113
114
|
};
|
|
114
115
|
|
|
@@ -120,7 +121,7 @@ export const FilesystemDataAttributes$outboundSchema: z.ZodType<
|
|
|
120
121
|
> = z.object({
|
|
121
122
|
name: z.string().optional(),
|
|
122
123
|
sizeInGb: z.number().int().optional(),
|
|
123
|
-
createdAt: z.date().transform(v => v.toISOString()).optional(),
|
|
124
|
+
createdAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
124
125
|
project: z.lazy(() => FilesystemDataProject$outboundSchema).optional(),
|
|
125
126
|
}).transform((v) => {
|
|
126
127
|
return remap$(v, {
|
package/src/models/ipaddress.ts
CHANGED
|
@@ -46,9 +46,9 @@ export type Assignment = {
|
|
|
46
46
|
|
|
47
47
|
export type IpAddressAttributes = {
|
|
48
48
|
address?: string | undefined;
|
|
49
|
-
cidr?: string | undefined;
|
|
49
|
+
cidr?: string | null | undefined;
|
|
50
50
|
family?: Family | undefined;
|
|
51
|
-
gateway?: string | undefined;
|
|
51
|
+
gateway?: string | null | undefined;
|
|
52
52
|
netmask?: string | undefined;
|
|
53
53
|
type?: IpAddressType | undefined;
|
|
54
54
|
public?: boolean | undefined;
|
|
@@ -265,9 +265,9 @@ export const IpAddressAttributes$inboundSchema: z.ZodType<
|
|
|
265
265
|
unknown
|
|
266
266
|
> = z.object({
|
|
267
267
|
address: z.string().optional(),
|
|
268
|
-
cidr: z.string().optional(),
|
|
268
|
+
cidr: z.nullable(z.string()).optional(),
|
|
269
269
|
family: Family$inboundSchema.optional(),
|
|
270
|
-
gateway: z.string().optional(),
|
|
270
|
+
gateway: z.nullable(z.string()).optional(),
|
|
271
271
|
netmask: z.string().optional(),
|
|
272
272
|
type: IpAddressType$inboundSchema.optional(),
|
|
273
273
|
public: z.boolean().optional(),
|
|
@@ -281,9 +281,9 @@ export const IpAddressAttributes$inboundSchema: z.ZodType<
|
|
|
281
281
|
/** @internal */
|
|
282
282
|
export type IpAddressAttributes$Outbound = {
|
|
283
283
|
address?: string | undefined;
|
|
284
|
-
cidr?: string | undefined;
|
|
284
|
+
cidr?: string | null | undefined;
|
|
285
285
|
family?: string | undefined;
|
|
286
|
-
gateway?: string | undefined;
|
|
286
|
+
gateway?: string | null | undefined;
|
|
287
287
|
netmask?: string | undefined;
|
|
288
288
|
type?: string | undefined;
|
|
289
289
|
public?: boolean | undefined;
|
|
@@ -302,9 +302,9 @@ export const IpAddressAttributes$outboundSchema: z.ZodType<
|
|
|
302
302
|
IpAddressAttributes
|
|
303
303
|
> = z.object({
|
|
304
304
|
address: z.string().optional(),
|
|
305
|
-
cidr: z.string().optional(),
|
|
305
|
+
cidr: z.nullable(z.string()).optional(),
|
|
306
306
|
family: Family$outboundSchema.optional(),
|
|
307
|
-
gateway: z.string().optional(),
|
|
307
|
+
gateway: z.nullable(z.string()).optional(),
|
|
308
308
|
netmask: z.string().optional(),
|
|
309
309
|
type: IpAddressType$outboundSchema.optional(),
|
|
310
310
|
public: z.boolean().optional(),
|
|
@@ -147,23 +147,23 @@ export type CreateServerAttributes2 = {
|
|
|
147
147
|
/**
|
|
148
148
|
* SSH Keys to set on the server
|
|
149
149
|
*/
|
|
150
|
-
sshKeys?: Array<string> | undefined;
|
|
150
|
+
sshKeys?: Array<string> | null | undefined;
|
|
151
151
|
/**
|
|
152
152
|
* User data ID to set on the server. This is a custom script that will run after the deploy
|
|
153
153
|
*/
|
|
154
|
-
userData?: string | undefined;
|
|
154
|
+
userData?: string | null | undefined;
|
|
155
155
|
/**
|
|
156
156
|
* RAID mode for the server. Set to 'raid-0' for RAID 0, 'raid-1' for RAID 1, or omit/null for no RAID configuration
|
|
157
157
|
*/
|
|
158
|
-
raid?: CreateServerRaid2 | undefined;
|
|
158
|
+
raid?: CreateServerRaid2 | null | undefined;
|
|
159
159
|
/**
|
|
160
160
|
* URL where iPXE script is stored on, OR the iPXE script encoded in base64. This attribute is required when iPXE is selected as operating system.
|
|
161
161
|
*/
|
|
162
|
-
ipxe?: string | undefined;
|
|
162
|
+
ipxe?: string | null | undefined;
|
|
163
163
|
/**
|
|
164
164
|
* The server billing type. Accepts `hourly` and `monthly` for on demand projects and `yearly` for reserved projects.
|
|
165
165
|
*/
|
|
166
|
-
billing?: CreateServerBilling2 | undefined;
|
|
166
|
+
billing?: CreateServerBilling2 | null | undefined;
|
|
167
167
|
};
|
|
168
168
|
|
|
169
169
|
export type CreateServerData2 = {
|
|
@@ -239,11 +239,11 @@ export const CreateServerAttributes2$inboundSchema: z.ZodType<
|
|
|
239
239
|
site: CreateServerSite2$inboundSchema.optional(),
|
|
240
240
|
operating_system: CreateServerOperatingSystem2$inboundSchema.optional(),
|
|
241
241
|
hostname: z.string().optional(),
|
|
242
|
-
ssh_keys: z.array(z.string()).optional(),
|
|
243
|
-
user_data: z.string().optional(),
|
|
244
|
-
raid: CreateServerRaid2$inboundSchema.optional(),
|
|
245
|
-
ipxe: z.string().optional(),
|
|
246
|
-
billing: CreateServerBilling2$inboundSchema.optional(),
|
|
242
|
+
ssh_keys: z.nullable(z.array(z.string())).optional(),
|
|
243
|
+
user_data: z.nullable(z.string()).optional(),
|
|
244
|
+
raid: z.nullable(CreateServerRaid2$inboundSchema).optional(),
|
|
245
|
+
ipxe: z.nullable(z.string()).optional(),
|
|
246
|
+
billing: z.nullable(CreateServerBilling2$inboundSchema).optional(),
|
|
247
247
|
}).transform((v) => {
|
|
248
248
|
return remap$(v, {
|
|
249
249
|
"operating_system": "operatingSystem",
|
|
@@ -258,11 +258,11 @@ export type CreateServerAttributes2$Outbound = {
|
|
|
258
258
|
site?: string | undefined;
|
|
259
259
|
operating_system?: string | undefined;
|
|
260
260
|
hostname?: string | undefined;
|
|
261
|
-
ssh_keys?: Array<string> | undefined;
|
|
262
|
-
user_data?: string | undefined;
|
|
263
|
-
raid?: string | undefined;
|
|
264
|
-
ipxe?: string | undefined;
|
|
265
|
-
billing?: string | undefined;
|
|
261
|
+
ssh_keys?: Array<string> | null | undefined;
|
|
262
|
+
user_data?: string | null | undefined;
|
|
263
|
+
raid?: string | null | undefined;
|
|
264
|
+
ipxe?: string | null | undefined;
|
|
265
|
+
billing?: string | null | undefined;
|
|
266
266
|
};
|
|
267
267
|
|
|
268
268
|
/** @internal */
|
|
@@ -276,11 +276,11 @@ export const CreateServerAttributes2$outboundSchema: z.ZodType<
|
|
|
276
276
|
site: CreateServerSite2$outboundSchema.optional(),
|
|
277
277
|
operatingSystem: CreateServerOperatingSystem2$outboundSchema.optional(),
|
|
278
278
|
hostname: z.string().optional(),
|
|
279
|
-
sshKeys: z.array(z.string()).optional(),
|
|
280
|
-
userData: z.string().optional(),
|
|
281
|
-
raid: CreateServerRaid2$outboundSchema.optional(),
|
|
282
|
-
ipxe: z.string().optional(),
|
|
283
|
-
billing: CreateServerBilling2$outboundSchema.optional(),
|
|
279
|
+
sshKeys: z.nullable(z.array(z.string())).optional(),
|
|
280
|
+
userData: z.nullable(z.string()).optional(),
|
|
281
|
+
raid: z.nullable(CreateServerRaid2$outboundSchema).optional(),
|
|
282
|
+
ipxe: z.nullable(z.string()).optional(),
|
|
283
|
+
billing: z.nullable(CreateServerBilling2$outboundSchema).optional(),
|
|
284
284
|
}).transform((v) => {
|
|
285
285
|
return remap$(v, {
|
|
286
286
|
operatingSystem: "operating_system",
|
|
@@ -72,23 +72,23 @@ export type CreateServerReinstallAttributes2 = {
|
|
|
72
72
|
* The server hostname to set upon reinstall
|
|
73
73
|
*/
|
|
74
74
|
hostname?: string | undefined;
|
|
75
|
-
partitions?: Array<CreateServerReinstallPartition2> | undefined;
|
|
75
|
+
partitions?: Array<CreateServerReinstallPartition2> | null | undefined;
|
|
76
76
|
/**
|
|
77
77
|
* SSH Key IDs to set upon reinstall
|
|
78
78
|
*/
|
|
79
|
-
sshKeys?: Array<string> | undefined;
|
|
79
|
+
sshKeys?: Array<string> | null | undefined;
|
|
80
80
|
/**
|
|
81
81
|
* User data ID to set upon reinstall
|
|
82
82
|
*/
|
|
83
|
-
userData?: string | undefined;
|
|
83
|
+
userData?: string | null | undefined;
|
|
84
84
|
/**
|
|
85
85
|
* RAID mode for the server. Set to 'raid-0' for RAID 0, 'raid-1' for RAID 1, or omit/null for no RAID configuration
|
|
86
86
|
*/
|
|
87
|
-
raid?: CreateServerReinstallRaid2 | undefined;
|
|
87
|
+
raid?: CreateServerReinstallRaid2 | null | undefined;
|
|
88
88
|
/**
|
|
89
89
|
* URL where iPXE script is stored on, OR the iPXE script encoded in base64. This attribute is required when operating system iPXE is selected.
|
|
90
90
|
*/
|
|
91
|
-
ipxe?: string | undefined;
|
|
91
|
+
ipxe?: string | null | undefined;
|
|
92
92
|
};
|
|
93
93
|
|
|
94
94
|
export type CreateServerReinstallData2 = {
|
|
@@ -199,13 +199,13 @@ export const CreateServerReinstallAttributes2$inboundSchema: z.ZodType<
|
|
|
199
199
|
operating_system: CreateServerReinstallOperatingSystem2$inboundSchema
|
|
200
200
|
.optional(),
|
|
201
201
|
hostname: z.string().optional(),
|
|
202
|
-
partitions: z.
|
|
203
|
-
z.lazy(() => CreateServerReinstallPartition2$inboundSchema),
|
|
202
|
+
partitions: z.nullable(
|
|
203
|
+
z.array(z.lazy(() => CreateServerReinstallPartition2$inboundSchema)),
|
|
204
204
|
).optional(),
|
|
205
|
-
ssh_keys: z.array(z.string()).optional(),
|
|
206
|
-
user_data: z.string().optional(),
|
|
207
|
-
raid: CreateServerReinstallRaid2$inboundSchema.optional(),
|
|
208
|
-
ipxe: z.string().optional(),
|
|
205
|
+
ssh_keys: z.nullable(z.array(z.string())).optional(),
|
|
206
|
+
user_data: z.nullable(z.string()).optional(),
|
|
207
|
+
raid: z.nullable(CreateServerReinstallRaid2$inboundSchema).optional(),
|
|
208
|
+
ipxe: z.nullable(z.string()).optional(),
|
|
209
209
|
}).transform((v) => {
|
|
210
210
|
return remap$(v, {
|
|
211
211
|
"operating_system": "operatingSystem",
|
|
@@ -217,11 +217,14 @@ export const CreateServerReinstallAttributes2$inboundSchema: z.ZodType<
|
|
|
217
217
|
export type CreateServerReinstallAttributes2$Outbound = {
|
|
218
218
|
operating_system?: string | undefined;
|
|
219
219
|
hostname?: string | undefined;
|
|
220
|
-
partitions?:
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
220
|
+
partitions?:
|
|
221
|
+
| Array<CreateServerReinstallPartition2$Outbound>
|
|
222
|
+
| null
|
|
223
|
+
| undefined;
|
|
224
|
+
ssh_keys?: Array<string> | null | undefined;
|
|
225
|
+
user_data?: string | null | undefined;
|
|
226
|
+
raid?: string | null | undefined;
|
|
227
|
+
ipxe?: string | null | undefined;
|
|
225
228
|
};
|
|
226
229
|
|
|
227
230
|
/** @internal */
|
|
@@ -233,13 +236,13 @@ export const CreateServerReinstallAttributes2$outboundSchema: z.ZodType<
|
|
|
233
236
|
operatingSystem: CreateServerReinstallOperatingSystem2$outboundSchema
|
|
234
237
|
.optional(),
|
|
235
238
|
hostname: z.string().optional(),
|
|
236
|
-
partitions: z.
|
|
237
|
-
z.lazy(() => CreateServerReinstallPartition2$outboundSchema),
|
|
239
|
+
partitions: z.nullable(
|
|
240
|
+
z.array(z.lazy(() => CreateServerReinstallPartition2$outboundSchema)),
|
|
238
241
|
).optional(),
|
|
239
|
-
sshKeys: z.array(z.string()).optional(),
|
|
240
|
-
userData: z.string().optional(),
|
|
241
|
-
raid: CreateServerReinstallRaid2$outboundSchema.optional(),
|
|
242
|
-
ipxe: z.string().optional(),
|
|
242
|
+
sshKeys: z.nullable(z.array(z.string())).optional(),
|
|
243
|
+
userData: z.nullable(z.string()).optional(),
|
|
244
|
+
raid: z.nullable(CreateServerReinstallRaid2$outboundSchema).optional(),
|
|
245
|
+
ipxe: z.nullable(z.string()).optional(),
|
|
243
246
|
}).transform((v) => {
|
|
244
247
|
return remap$(v, {
|
|
245
248
|
operatingSystem: "operating_system",
|
|
@@ -21,7 +21,7 @@ export type CreateTagAttributes2 = {
|
|
|
21
21
|
/**
|
|
22
22
|
* Description of the Tag
|
|
23
23
|
*/
|
|
24
|
-
description?: string | undefined;
|
|
24
|
+
description?: string | null | undefined;
|
|
25
25
|
/**
|
|
26
26
|
* Color of the Tag
|
|
27
27
|
*/
|
|
@@ -53,13 +53,13 @@ export const CreateTagAttributes2$inboundSchema: z.ZodType<
|
|
|
53
53
|
unknown
|
|
54
54
|
> = z.object({
|
|
55
55
|
name: z.string().optional(),
|
|
56
|
-
description: z.string().optional(),
|
|
56
|
+
description: z.nullable(z.string()).optional(),
|
|
57
57
|
color: z.string().default("#ffffff"),
|
|
58
58
|
});
|
|
59
59
|
/** @internal */
|
|
60
60
|
export type CreateTagAttributes2$Outbound = {
|
|
61
61
|
name?: string | undefined;
|
|
62
|
-
description?: string | undefined;
|
|
62
|
+
description?: string | null | undefined;
|
|
63
63
|
color: string;
|
|
64
64
|
};
|
|
65
65
|
|
|
@@ -70,7 +70,7 @@ export const CreateTagAttributes2$outboundSchema: z.ZodType<
|
|
|
70
70
|
CreateTagAttributes2
|
|
71
71
|
> = z.object({
|
|
72
72
|
name: z.string().optional(),
|
|
73
|
-
description: z.string().optional(),
|
|
73
|
+
description: z.nullable(z.string()).optional(),
|
|
74
74
|
color: z.string().default("#ffffff"),
|
|
75
75
|
});
|
|
76
76
|
|
|
@@ -32,11 +32,11 @@ export type UpdateServerAttributes2 = {
|
|
|
32
32
|
/**
|
|
33
33
|
* The server billing type. Accepts `hourly` and `monthly` for on demand projects and `yearly` for reserved projects.
|
|
34
34
|
*/
|
|
35
|
-
billing?: UpdateServerBilling2 | undefined;
|
|
35
|
+
billing?: UpdateServerBilling2 | null | undefined;
|
|
36
36
|
/**
|
|
37
37
|
* List of Tag IDs
|
|
38
38
|
*/
|
|
39
|
-
tags?: Array<string> | undefined;
|
|
39
|
+
tags?: Array<string> | null | undefined;
|
|
40
40
|
/**
|
|
41
41
|
* Project ID or slug to move the server to
|
|
42
42
|
*/
|
|
@@ -83,15 +83,15 @@ export const UpdateServerAttributes2$inboundSchema: z.ZodType<
|
|
|
83
83
|
unknown
|
|
84
84
|
> = z.object({
|
|
85
85
|
hostname: z.string().default("new-hostname"),
|
|
86
|
-
billing: UpdateServerBilling2$inboundSchema.optional(),
|
|
87
|
-
tags: z.array(z.string()).optional(),
|
|
86
|
+
billing: z.nullable(UpdateServerBilling2$inboundSchema).optional(),
|
|
87
|
+
tags: z.nullable(z.array(z.string())).optional(),
|
|
88
88
|
project: z.string().optional(),
|
|
89
89
|
});
|
|
90
90
|
/** @internal */
|
|
91
91
|
export type UpdateServerAttributes2$Outbound = {
|
|
92
92
|
hostname: string;
|
|
93
|
-
billing?: string | undefined;
|
|
94
|
-
tags?: Array<string> | undefined;
|
|
93
|
+
billing?: string | null | undefined;
|
|
94
|
+
tags?: Array<string> | null | undefined;
|
|
95
95
|
project?: string | undefined;
|
|
96
96
|
};
|
|
97
97
|
|
|
@@ -102,8 +102,8 @@ export const UpdateServerAttributes2$outboundSchema: z.ZodType<
|
|
|
102
102
|
UpdateServerAttributes2
|
|
103
103
|
> = z.object({
|
|
104
104
|
hostname: z.string().default("new-hostname"),
|
|
105
|
-
billing: UpdateServerBilling2$outboundSchema.optional(),
|
|
106
|
-
tags: z.array(z.string()).optional(),
|
|
105
|
+
billing: z.nullable(UpdateServerBilling2$outboundSchema).optional(),
|
|
106
|
+
tags: z.nullable(z.array(z.string())).optional(),
|
|
107
107
|
project: z.string().optional(),
|
|
108
108
|
});
|
|
109
109
|
|