shoal-web-sdk 0.0.171 → 0.0.172
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 -8
- package/dist/sdk/zod.gen.d.ts +35 -51
- package/dist/sdk/zod.gen.js +4 -18
- package/package.json +1 -1
package/dist/sdk/types.gen.d.ts
CHANGED
|
@@ -9,12 +9,6 @@ export type EnvironmentVariable = {
|
|
|
9
9
|
key: string;
|
|
10
10
|
value: string;
|
|
11
11
|
};
|
|
12
|
-
export type VersionStatus = 'pending' | 'queued' | 'building' | 'deploying' | 'post-deploy-steps' | 'succeeded' | 'failed' | 'cancelled';
|
|
13
|
-
export type VersionStatusInfo = {
|
|
14
|
-
status: VersionStatus;
|
|
15
|
-
lastUpdated: string;
|
|
16
|
-
message?: string;
|
|
17
|
-
};
|
|
18
12
|
export type PlatformTier = 'free' | 'pro' | 'enterprise';
|
|
19
13
|
export type BillingInterval = 'monthly' | 'annual';
|
|
20
14
|
export type BillingPlanLookupKey = 'free-monthly' | 'pro-monthly' | 'pro-annual';
|
|
@@ -311,7 +305,7 @@ export type Deployment = {
|
|
|
311
305
|
};
|
|
312
306
|
export type Version = {
|
|
313
307
|
id: string;
|
|
314
|
-
version:
|
|
308
|
+
version: number;
|
|
315
309
|
createdAt: string;
|
|
316
310
|
lastUpdatedAt: string;
|
|
317
311
|
deployment?: Deployment;
|
|
@@ -591,7 +585,7 @@ export type ExcludeVersionUuidQuery = string;
|
|
|
591
585
|
/**
|
|
592
586
|
* Optional version status to filter the environment versions response.
|
|
593
587
|
*/
|
|
594
|
-
export type
|
|
588
|
+
export type DeploymentStatusQuery = DeploymentStatus;
|
|
595
589
|
/**
|
|
596
590
|
* A version number with in an environment.
|
|
597
591
|
*/
|
|
@@ -2230,6 +2224,10 @@ export type GetEnvironmentVersionsData = {
|
|
|
2230
2224
|
* Page size (max 100).
|
|
2231
2225
|
*/
|
|
2232
2226
|
limit?: number;
|
|
2227
|
+
/**
|
|
2228
|
+
* Optional version status to filter the environment versions response.
|
|
2229
|
+
*/
|
|
2230
|
+
status?: DeploymentStatus;
|
|
2233
2231
|
};
|
|
2234
2232
|
url: '/auth/{spaceHandle}/{projectHandle}/{environmentHandle}/versions';
|
|
2235
2233
|
};
|
package/dist/sdk/zod.gen.d.ts
CHANGED
|
@@ -10,30 +10,6 @@ export declare const zEnvironmentVariables: z.ZodObject<{
|
|
|
10
10
|
value: z.ZodString;
|
|
11
11
|
}, z.core.$strip>>;
|
|
12
12
|
}, z.core.$strip>;
|
|
13
|
-
export declare const zVersionStatus: z.ZodEnum<{
|
|
14
|
-
pending: "pending";
|
|
15
|
-
queued: "queued";
|
|
16
|
-
building: "building";
|
|
17
|
-
deploying: "deploying";
|
|
18
|
-
"post-deploy-steps": "post-deploy-steps";
|
|
19
|
-
succeeded: "succeeded";
|
|
20
|
-
failed: "failed";
|
|
21
|
-
cancelled: "cancelled";
|
|
22
|
-
}>;
|
|
23
|
-
export declare const zVersionStatusInfo: z.ZodObject<{
|
|
24
|
-
status: z.ZodEnum<{
|
|
25
|
-
pending: "pending";
|
|
26
|
-
queued: "queued";
|
|
27
|
-
building: "building";
|
|
28
|
-
deploying: "deploying";
|
|
29
|
-
"post-deploy-steps": "post-deploy-steps";
|
|
30
|
-
succeeded: "succeeded";
|
|
31
|
-
failed: "failed";
|
|
32
|
-
cancelled: "cancelled";
|
|
33
|
-
}>;
|
|
34
|
-
lastUpdated: z.ZodISODateTime;
|
|
35
|
-
message: z.ZodOptional<z.ZodString>;
|
|
36
|
-
}, z.core.$strip>;
|
|
37
13
|
export declare const zPlatformTier: z.ZodEnum<{
|
|
38
14
|
free: "free";
|
|
39
15
|
pro: "pro";
|
|
@@ -1042,12 +1018,12 @@ export declare const zPlanPriceResponse: z.ZodObject<{
|
|
|
1042
1018
|
}, z.core.$strip>;
|
|
1043
1019
|
export declare const zDeploymentStatus: z.ZodEnum<{
|
|
1044
1020
|
pending: "pending";
|
|
1021
|
+
prebuilding: "prebuilding";
|
|
1045
1022
|
building: "building";
|
|
1046
1023
|
deploying: "deploying";
|
|
1024
|
+
configuring: "configuring";
|
|
1047
1025
|
succeeded: "succeeded";
|
|
1048
1026
|
failed: "failed";
|
|
1049
|
-
prebuilding: "prebuilding";
|
|
1050
|
-
configuring: "configuring";
|
|
1051
1027
|
}>;
|
|
1052
1028
|
export declare const zDeployment: z.ZodObject<{
|
|
1053
1029
|
id: z.ZodUUID;
|
|
@@ -1057,18 +1033,18 @@ export declare const zDeployment: z.ZodObject<{
|
|
|
1057
1033
|
finishedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1058
1034
|
status: z.ZodEnum<{
|
|
1059
1035
|
pending: "pending";
|
|
1036
|
+
prebuilding: "prebuilding";
|
|
1060
1037
|
building: "building";
|
|
1061
1038
|
deploying: "deploying";
|
|
1039
|
+
configuring: "configuring";
|
|
1062
1040
|
succeeded: "succeeded";
|
|
1063
1041
|
failed: "failed";
|
|
1064
|
-
prebuilding: "prebuilding";
|
|
1065
|
-
configuring: "configuring";
|
|
1066
1042
|
}>;
|
|
1067
1043
|
message: z.ZodOptional<z.ZodString>;
|
|
1068
1044
|
}, z.core.$strip>;
|
|
1069
1045
|
export declare const zVersion: z.ZodObject<{
|
|
1070
1046
|
id: z.ZodUUID;
|
|
1071
|
-
version: z.
|
|
1047
|
+
version: z.ZodInt;
|
|
1072
1048
|
createdAt: z.ZodISODateTime;
|
|
1073
1049
|
lastUpdatedAt: z.ZodISODateTime;
|
|
1074
1050
|
deployment: z.ZodOptional<z.ZodObject<{
|
|
@@ -1079,12 +1055,12 @@ export declare const zVersion: z.ZodObject<{
|
|
|
1079
1055
|
finishedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1080
1056
|
status: z.ZodEnum<{
|
|
1081
1057
|
pending: "pending";
|
|
1058
|
+
prebuilding: "prebuilding";
|
|
1082
1059
|
building: "building";
|
|
1083
1060
|
deploying: "deploying";
|
|
1061
|
+
configuring: "configuring";
|
|
1084
1062
|
succeeded: "succeeded";
|
|
1085
1063
|
failed: "failed";
|
|
1086
|
-
prebuilding: "prebuilding";
|
|
1087
|
-
configuring: "configuring";
|
|
1088
1064
|
}>;
|
|
1089
1065
|
message: z.ZodOptional<z.ZodString>;
|
|
1090
1066
|
}, z.core.$strip>>;
|
|
@@ -1096,7 +1072,7 @@ export declare const zPaginatedEnvironmentVersions: z.ZodIntersection<z.ZodObjec
|
|
|
1096
1072
|
}, z.core.$strip>, z.ZodObject<{
|
|
1097
1073
|
versions: z.ZodArray<z.ZodObject<{
|
|
1098
1074
|
id: z.ZodUUID;
|
|
1099
|
-
version: z.
|
|
1075
|
+
version: z.ZodInt;
|
|
1100
1076
|
createdAt: z.ZodISODateTime;
|
|
1101
1077
|
lastUpdatedAt: z.ZodISODateTime;
|
|
1102
1078
|
deployment: z.ZodOptional<z.ZodObject<{
|
|
@@ -1107,12 +1083,12 @@ export declare const zPaginatedEnvironmentVersions: z.ZodIntersection<z.ZodObjec
|
|
|
1107
1083
|
finishedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1108
1084
|
status: z.ZodEnum<{
|
|
1109
1085
|
pending: "pending";
|
|
1086
|
+
prebuilding: "prebuilding";
|
|
1110
1087
|
building: "building";
|
|
1111
1088
|
deploying: "deploying";
|
|
1089
|
+
configuring: "configuring";
|
|
1112
1090
|
succeeded: "succeeded";
|
|
1113
1091
|
failed: "failed";
|
|
1114
|
-
prebuilding: "prebuilding";
|
|
1115
|
-
configuring: "configuring";
|
|
1116
1092
|
}>;
|
|
1117
1093
|
message: z.ZodOptional<z.ZodString>;
|
|
1118
1094
|
}, z.core.$strip>>;
|
|
@@ -1121,12 +1097,12 @@ export declare const zPaginatedEnvironmentVersions: z.ZodIntersection<z.ZodObjec
|
|
|
1121
1097
|
export declare const zDeploymentStatusInformation: z.ZodObject<{
|
|
1122
1098
|
status: z.ZodEnum<{
|
|
1123
1099
|
pending: "pending";
|
|
1100
|
+
prebuilding: "prebuilding";
|
|
1124
1101
|
building: "building";
|
|
1125
1102
|
deploying: "deploying";
|
|
1103
|
+
configuring: "configuring";
|
|
1126
1104
|
succeeded: "succeeded";
|
|
1127
1105
|
failed: "failed";
|
|
1128
|
-
prebuilding: "prebuilding";
|
|
1129
|
-
configuring: "configuring";
|
|
1130
1106
|
}>;
|
|
1131
1107
|
message: z.ZodOptional<z.ZodString>;
|
|
1132
1108
|
}, z.core.$strip>;
|
|
@@ -1165,15 +1141,14 @@ export declare const zExcludeVersionUuidQuery: z.ZodUUID;
|
|
|
1165
1141
|
/**
|
|
1166
1142
|
* Optional version status to filter the environment versions response.
|
|
1167
1143
|
*/
|
|
1168
|
-
export declare const
|
|
1144
|
+
export declare const zDeploymentStatusQuery: z.ZodEnum<{
|
|
1169
1145
|
pending: "pending";
|
|
1170
|
-
|
|
1146
|
+
prebuilding: "prebuilding";
|
|
1171
1147
|
building: "building";
|
|
1172
1148
|
deploying: "deploying";
|
|
1173
|
-
|
|
1149
|
+
configuring: "configuring";
|
|
1174
1150
|
succeeded: "succeeded";
|
|
1175
1151
|
failed: "failed";
|
|
1176
|
-
cancelled: "cancelled";
|
|
1177
1152
|
}>;
|
|
1178
1153
|
/**
|
|
1179
1154
|
* A version number with in an environment.
|
|
@@ -1268,7 +1243,7 @@ export declare const zGetVersionM2mData: z.ZodObject<{
|
|
|
1268
1243
|
*/
|
|
1269
1244
|
export declare const zGetVersionM2mResponse: z.ZodObject<{
|
|
1270
1245
|
id: z.ZodUUID;
|
|
1271
|
-
version: z.
|
|
1246
|
+
version: z.ZodInt;
|
|
1272
1247
|
createdAt: z.ZodISODateTime;
|
|
1273
1248
|
lastUpdatedAt: z.ZodISODateTime;
|
|
1274
1249
|
deployment: z.ZodOptional<z.ZodObject<{
|
|
@@ -1279,12 +1254,12 @@ export declare const zGetVersionM2mResponse: z.ZodObject<{
|
|
|
1279
1254
|
finishedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1280
1255
|
status: z.ZodEnum<{
|
|
1281
1256
|
pending: "pending";
|
|
1257
|
+
prebuilding: "prebuilding";
|
|
1282
1258
|
building: "building";
|
|
1283
1259
|
deploying: "deploying";
|
|
1260
|
+
configuring: "configuring";
|
|
1284
1261
|
succeeded: "succeeded";
|
|
1285
1262
|
failed: "failed";
|
|
1286
|
-
prebuilding: "prebuilding";
|
|
1287
|
-
configuring: "configuring";
|
|
1288
1263
|
}>;
|
|
1289
1264
|
message: z.ZodOptional<z.ZodString>;
|
|
1290
1265
|
}, z.core.$strip>>;
|
|
@@ -1293,12 +1268,12 @@ export declare const zUpdateDeploymentStatusM2mData: z.ZodObject<{
|
|
|
1293
1268
|
body: z.ZodObject<{
|
|
1294
1269
|
status: z.ZodEnum<{
|
|
1295
1270
|
pending: "pending";
|
|
1271
|
+
prebuilding: "prebuilding";
|
|
1296
1272
|
building: "building";
|
|
1297
1273
|
deploying: "deploying";
|
|
1274
|
+
configuring: "configuring";
|
|
1298
1275
|
succeeded: "succeeded";
|
|
1299
1276
|
failed: "failed";
|
|
1300
|
-
prebuilding: "prebuilding";
|
|
1301
|
-
configuring: "configuring";
|
|
1302
1277
|
}>;
|
|
1303
1278
|
message: z.ZodOptional<z.ZodString>;
|
|
1304
1279
|
}, z.core.$strip>;
|
|
@@ -2452,6 +2427,15 @@ export declare const zGetEnvironmentVersionsData: z.ZodObject<{
|
|
|
2452
2427
|
query: z.ZodOptional<z.ZodObject<{
|
|
2453
2428
|
page: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
2454
2429
|
limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
2430
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
2431
|
+
pending: "pending";
|
|
2432
|
+
prebuilding: "prebuilding";
|
|
2433
|
+
building: "building";
|
|
2434
|
+
deploying: "deploying";
|
|
2435
|
+
configuring: "configuring";
|
|
2436
|
+
succeeded: "succeeded";
|
|
2437
|
+
failed: "failed";
|
|
2438
|
+
}>>;
|
|
2455
2439
|
}, z.core.$strip>>;
|
|
2456
2440
|
}, z.core.$strip>;
|
|
2457
2441
|
/**
|
|
@@ -2464,7 +2448,7 @@ export declare const zGetEnvironmentVersionsResponse: z.ZodIntersection<z.ZodObj
|
|
|
2464
2448
|
}, z.core.$strip>, z.ZodObject<{
|
|
2465
2449
|
versions: z.ZodArray<z.ZodObject<{
|
|
2466
2450
|
id: z.ZodUUID;
|
|
2467
|
-
version: z.
|
|
2451
|
+
version: z.ZodInt;
|
|
2468
2452
|
createdAt: z.ZodISODateTime;
|
|
2469
2453
|
lastUpdatedAt: z.ZodISODateTime;
|
|
2470
2454
|
deployment: z.ZodOptional<z.ZodObject<{
|
|
@@ -2475,12 +2459,12 @@ export declare const zGetEnvironmentVersionsResponse: z.ZodIntersection<z.ZodObj
|
|
|
2475
2459
|
finishedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2476
2460
|
status: z.ZodEnum<{
|
|
2477
2461
|
pending: "pending";
|
|
2462
|
+
prebuilding: "prebuilding";
|
|
2478
2463
|
building: "building";
|
|
2479
2464
|
deploying: "deploying";
|
|
2465
|
+
configuring: "configuring";
|
|
2480
2466
|
succeeded: "succeeded";
|
|
2481
2467
|
failed: "failed";
|
|
2482
|
-
prebuilding: "prebuilding";
|
|
2483
|
-
configuring: "configuring";
|
|
2484
2468
|
}>;
|
|
2485
2469
|
message: z.ZodOptional<z.ZodString>;
|
|
2486
2470
|
}, z.core.$strip>>;
|
|
@@ -2566,7 +2550,7 @@ export declare const zGetVersionData: z.ZodObject<{
|
|
|
2566
2550
|
*/
|
|
2567
2551
|
export declare const zGetVersionResponse: z.ZodObject<{
|
|
2568
2552
|
id: z.ZodUUID;
|
|
2569
|
-
version: z.
|
|
2553
|
+
version: z.ZodInt;
|
|
2570
2554
|
createdAt: z.ZodISODateTime;
|
|
2571
2555
|
lastUpdatedAt: z.ZodISODateTime;
|
|
2572
2556
|
deployment: z.ZodOptional<z.ZodObject<{
|
|
@@ -2577,12 +2561,12 @@ export declare const zGetVersionResponse: z.ZodObject<{
|
|
|
2577
2561
|
finishedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2578
2562
|
status: z.ZodEnum<{
|
|
2579
2563
|
pending: "pending";
|
|
2564
|
+
prebuilding: "prebuilding";
|
|
2580
2565
|
building: "building";
|
|
2581
2566
|
deploying: "deploying";
|
|
2567
|
+
configuring: "configuring";
|
|
2582
2568
|
succeeded: "succeeded";
|
|
2583
2569
|
failed: "failed";
|
|
2584
|
-
prebuilding: "prebuilding";
|
|
2585
|
-
configuring: "configuring";
|
|
2586
2570
|
}>;
|
|
2587
2571
|
message: z.ZodOptional<z.ZodString>;
|
|
2588
2572
|
}, z.core.$strip>>;
|
package/dist/sdk/zod.gen.js
CHANGED
|
@@ -8,21 +8,6 @@ export const zEnvironmentVariable = z.object({
|
|
|
8
8
|
export const zEnvironmentVariables = z.object({
|
|
9
9
|
vars: z.array(zEnvironmentVariable)
|
|
10
10
|
});
|
|
11
|
-
export const zVersionStatus = z.enum([
|
|
12
|
-
'pending',
|
|
13
|
-
'queued',
|
|
14
|
-
'building',
|
|
15
|
-
'deploying',
|
|
16
|
-
'post-deploy-steps',
|
|
17
|
-
'succeeded',
|
|
18
|
-
'failed',
|
|
19
|
-
'cancelled'
|
|
20
|
-
]);
|
|
21
|
-
export const zVersionStatusInfo = z.object({
|
|
22
|
-
status: zVersionStatus,
|
|
23
|
-
lastUpdated: z.iso.datetime(),
|
|
24
|
-
message: z.optional(z.string())
|
|
25
|
-
});
|
|
26
11
|
export const zPlatformTier = z.enum([
|
|
27
12
|
'free',
|
|
28
13
|
'pro',
|
|
@@ -538,7 +523,7 @@ export const zDeployment = z.object({
|
|
|
538
523
|
});
|
|
539
524
|
export const zVersion = z.object({
|
|
540
525
|
id: z.uuid(),
|
|
541
|
-
version: z.
|
|
526
|
+
version: z.int(),
|
|
542
527
|
createdAt: z.iso.datetime(),
|
|
543
528
|
lastUpdatedAt: z.iso.datetime(),
|
|
544
529
|
deployment: z.optional(zDeployment)
|
|
@@ -585,7 +570,7 @@ export const zExcludeVersionUuidQuery = z.uuid();
|
|
|
585
570
|
/**
|
|
586
571
|
* Optional version status to filter the environment versions response.
|
|
587
572
|
*/
|
|
588
|
-
export const
|
|
573
|
+
export const zDeploymentStatusQuery = zDeploymentStatus;
|
|
589
574
|
/**
|
|
590
575
|
* A version number with in an environment.
|
|
591
576
|
*/
|
|
@@ -1071,7 +1056,8 @@ export const zGetEnvironmentVersionsData = z.object({
|
|
|
1071
1056
|
}),
|
|
1072
1057
|
query: z.optional(z.object({
|
|
1073
1058
|
page: z.optional(z.int().gte(1)).default(1),
|
|
1074
|
-
limit: z.optional(z.int().gte(1).lte(100)).default(10)
|
|
1059
|
+
limit: z.optional(z.int().gte(1).lte(100)).default(10),
|
|
1060
|
+
status: z.optional(zDeploymentStatus)
|
|
1075
1061
|
}))
|
|
1076
1062
|
});
|
|
1077
1063
|
/**
|