@vercel/sdk 1.11.2 → 1.11.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/README.md +45 -52
- package/bin/mcp-server.js +926 -870
- package/bin/mcp-server.js.map +29 -29
- package/docs/sdks/integrations/README.md +83 -0
- package/docs/sdks/vercel/README.md +0 -74
- package/esm/__tests__/checks.test.js +1 -1
- package/esm/__tests__/checks.test.js.map +1 -1
- package/esm/__tests__/domains.test.js +3 -12
- package/esm/__tests__/domains.test.js.map +1 -1
- package/esm/__tests__/integrations.test.js +28 -1
- package/esm/__tests__/integrations.test.js.map +1 -1
- package/esm/__tests__/rollingrelease.test.js +2 -6
- package/esm/__tests__/rollingrelease.test.js.map +1 -1
- package/esm/__tests__/security.test.js +1 -11
- package/esm/__tests__/security.test.js.map +1 -1
- package/esm/__tests__/vercel.test.js +3 -27
- package/esm/__tests__/vercel.test.js.map +1 -1
- package/esm/funcs/integrationsGetBillingPlans.d.ts +20 -0
- package/esm/funcs/integrationsGetBillingPlans.d.ts.map +1 -0
- package/esm/funcs/{getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js → integrationsGetBillingPlans.js} +21 -9
- package/esm/funcs/integrationsGetBillingPlans.js.map +1 -0
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.d.ts.map +1 -1
- package/esm/mcp-server/server.js +3 -3
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/integrationsGetBillingPlans.d.ts +7 -0
- package/esm/mcp-server/tools/integrationsGetBillingPlans.d.ts.map +1 -0
- package/esm/mcp-server/tools/integrationsGetBillingPlans.js +28 -0
- package/esm/mcp-server/tools/integrationsGetBillingPlans.js.map +1 -0
- package/esm/models/approverollingreleasestageop.d.ts +15 -0
- package/esm/models/approverollingreleasestageop.d.ts.map +1 -1
- package/esm/models/approverollingreleasestageop.js +6 -0
- package/esm/models/approverollingreleasestageop.js.map +1 -1
- package/esm/models/canceldeploymentop.d.ts +3 -0
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +1 -0
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/completerollingreleaseop.d.ts +15 -0
- package/esm/models/completerollingreleaseop.d.ts.map +1 -1
- package/esm/models/completerollingreleaseop.js +6 -0
- package/esm/models/completerollingreleaseop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +41 -35
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +15 -13
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createintegrationstoredirectop.d.ts +243 -240
- package/esm/models/createintegrationstoredirectop.d.ts.map +1 -1
- package/esm/models/createintegrationstoredirectop.js +295 -294
- package/esm/models/createintegrationstoredirectop.js.map +1 -1
- package/esm/models/createprojectenvop.d.ts +6 -6
- package/esm/models/createprojectenvop.js +2 -2
- package/esm/models/createprojectenvop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +11 -0
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +4 -0
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/editprojectenvop.d.ts +3 -3
- package/esm/models/editprojectenvop.js +1 -1
- package/esm/models/editprojectenvop.js.map +1 -1
- package/esm/models/getbillingplansop.d.ts +257 -0
- package/esm/models/getbillingplansop.d.ts.map +1 -0
- package/esm/models/getbillingplansop.js +244 -0
- package/esm/models/getbillingplansop.js.map +1 -0
- package/esm/models/getconfigurationproductsop.d.ts +330 -330
- package/esm/models/getconfigurationproductsop.js +408 -408
- package/esm/models/getdeploymentop.d.ts +3 -0
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +1 -0
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getdeploymentsop.d.ts +3 -0
- package/esm/models/getdeploymentsop.d.ts.map +1 -1
- package/esm/models/getdeploymentsop.js +1 -0
- package/esm/models/getdeploymentsop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +8 -0
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +3 -0
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/getrollingreleaseconfigop.d.ts +5 -0
- package/esm/models/getrollingreleaseconfigop.d.ts.map +1 -1
- package/esm/models/getrollingreleaseconfigop.js +2 -0
- package/esm/models/getrollingreleaseconfigop.js.map +1 -1
- package/esm/models/getrollingreleaseop.d.ts +15 -0
- package/esm/models/getrollingreleaseop.d.ts.map +1 -1
- package/esm/models/getrollingreleaseop.js +6 -0
- package/esm/models/getrollingreleaseop.js.map +1 -1
- package/esm/models/getwebhooksop.d.ts +3 -0
- package/esm/models/getwebhooksop.d.ts.map +1 -1
- package/esm/models/getwebhooksop.js +1 -0
- package/esm/models/getwebhooksop.js.map +1 -1
- package/esm/models/importresourceop.d.ts +15 -15
- package/esm/models/importresourceop.d.ts.map +1 -1
- package/esm/models/importresourceop.js +17 -15
- package/esm/models/importresourceop.js.map +1 -1
- package/esm/models/removeprojectenvop.d.ts +9 -9
- package/esm/models/removeprojectenvop.js +3 -3
- package/esm/models/removeprojectenvop.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +8 -0
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +3 -0
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +173 -162
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +158 -154
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/updaterollingreleaseconfigop.d.ts +5 -0
- package/esm/models/updaterollingreleaseconfigop.d.ts.map +1 -1
- package/esm/models/updaterollingreleaseconfigop.js +2 -0
- package/esm/models/updaterollingreleaseconfigop.js.map +1 -1
- package/esm/sdk/integrations.d.ts +8 -0
- package/esm/sdk/integrations.d.ts.map +1 -1
- package/esm/sdk/integrations.js +10 -0
- package/esm/sdk/integrations.js.map +1 -1
- package/esm/sdk/sdk.d.ts +1 -3
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +0 -5
- package/esm/sdk/sdk.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/checks.test.ts +1 -1
- package/src/__tests__/domains.test.ts +3 -12
- package/src/__tests__/integrations.test.ts +32 -1
- package/src/__tests__/rollingrelease.test.ts +2 -6
- package/src/__tests__/security.test.ts +1 -11
- package/src/__tests__/vercel.test.ts +4 -33
- package/src/funcs/{getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.ts → integrationsGetBillingPlans.ts} +30 -24
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -5
- package/src/mcp-server/tools/integrationsGetBillingPlans.ts +37 -0
- package/src/models/approverollingreleasestageop.ts +21 -0
- package/src/models/canceldeploymentop.ts +1 -0
- package/src/models/completerollingreleaseop.ts +21 -0
- package/src/models/createdeploymentop.ts +17 -15
- package/src/models/createintegrationstoredirectop.ts +506 -505
- package/src/models/createprojectenvop.ts +2 -2
- package/src/models/createprojectop.ts +9 -0
- package/src/models/editprojectenvop.ts +1 -1
- package/src/models/getbillingplansop.ts +508 -0
- package/src/models/getconfigurationproductsop.ts +703 -703
- package/src/models/getdeploymentop.ts +1 -0
- package/src/models/getdeploymentsop.ts +1 -0
- package/src/models/getprojectsop.ts +8 -0
- package/src/models/getrollingreleaseconfigop.ts +7 -0
- package/src/models/getrollingreleaseop.ts +21 -0
- package/src/models/getwebhooksop.ts +1 -0
- package/src/models/importresourceop.ts +27 -29
- package/src/models/removeprojectenvop.ts +3 -3
- package/src/models/updateprojectdatacacheop.ts +8 -0
- package/src/models/updateprojectop.ts +347 -338
- package/src/models/updaterollingreleaseconfigop.ts +7 -0
- package/src/sdk/integrations.ts +22 -0
- package/src/sdk/sdk.ts +1 -23
- package/vercel-spec.json +715 -594
- package/esm/funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts +0 -14
- package/esm/funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts.map +0 -1
- package/esm/funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js.map +0 -1
- package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts +0 -7
- package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts.map +0 -1
- package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js +0 -26
- package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js.map +0 -1
- package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.d.ts +0 -247
- package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.d.ts.map +0 -1
- package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.js +0 -246
- package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.js.map +0 -1
- package/src/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.ts +0 -41
- package/src/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.ts +0 -575
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { integrationsGetBillingPlans } from "../../funcs/integrationsGetBillingPlans.js";
|
|
6
|
+
import { GetBillingPlansRequest$inboundSchema } from "../../models/getbillingplansop.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: GetBillingPlansRequest$inboundSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$integrationsGetBillingPlans: ToolDefinition<typeof args> = {
|
|
14
|
+
name: "integrations-get-billing-plans",
|
|
15
|
+
description: `List integration billing plans
|
|
16
|
+
|
|
17
|
+
Get a list of billing plans for an integration and product.`,
|
|
18
|
+
args,
|
|
19
|
+
tool: async (client, args, ctx) => {
|
|
20
|
+
const [result, apiCall] = await integrationsGetBillingPlans(
|
|
21
|
+
client,
|
|
22
|
+
args.request,
|
|
23
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
24
|
+
).$inspect();
|
|
25
|
+
|
|
26
|
+
if (!result.ok) {
|
|
27
|
+
return {
|
|
28
|
+
content: [{ type: "text", text: result.error.message }],
|
|
29
|
+
isError: true,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
const value = result.value;
|
|
34
|
+
|
|
35
|
+
return formatResult(value, apiCall);
|
|
36
|
+
},
|
|
37
|
+
};
|
|
@@ -185,6 +185,10 @@ export type ApproveRollingReleaseStageStages = {
|
|
|
185
185
|
* Duration in seconds for automatic advancement, null for manual stages or the final stage
|
|
186
186
|
*/
|
|
187
187
|
duration: number | null;
|
|
188
|
+
/**
|
|
189
|
+
* Whether to linearly shift traffic over the duration of this stage
|
|
190
|
+
*/
|
|
191
|
+
linearShift?: boolean | undefined;
|
|
188
192
|
};
|
|
189
193
|
|
|
190
194
|
/**
|
|
@@ -211,6 +215,10 @@ export type ApproveRollingReleaseStageActiveStage = {
|
|
|
211
215
|
* Duration in seconds for automatic advancement, null for manual stages or the final stage
|
|
212
216
|
*/
|
|
213
217
|
duration: number | null;
|
|
218
|
+
/**
|
|
219
|
+
* Whether to linearly shift traffic over the duration of this stage
|
|
220
|
+
*/
|
|
221
|
+
linearShift?: boolean | undefined;
|
|
214
222
|
};
|
|
215
223
|
|
|
216
224
|
/**
|
|
@@ -237,6 +245,10 @@ export type ApproveRollingReleaseStageNextStage = {
|
|
|
237
245
|
* Duration in seconds for automatic advancement, null for manual stages or the final stage
|
|
238
246
|
*/
|
|
239
247
|
duration: number | null;
|
|
248
|
+
/**
|
|
249
|
+
* Whether to linearly shift traffic over the duration of this stage
|
|
250
|
+
*/
|
|
251
|
+
linearShift?: boolean | undefined;
|
|
240
252
|
};
|
|
241
253
|
|
|
242
254
|
/**
|
|
@@ -807,6 +819,7 @@ export const ApproveRollingReleaseStageStages$inboundSchema: z.ZodType<
|
|
|
807
819
|
targetPercentage: z.number(),
|
|
808
820
|
requireApproval: z.boolean(),
|
|
809
821
|
duration: z.nullable(z.number()),
|
|
822
|
+
linearShift: z.boolean().optional(),
|
|
810
823
|
});
|
|
811
824
|
|
|
812
825
|
/** @internal */
|
|
@@ -816,6 +829,7 @@ export type ApproveRollingReleaseStageStages$Outbound = {
|
|
|
816
829
|
targetPercentage: number;
|
|
817
830
|
requireApproval: boolean;
|
|
818
831
|
duration: number | null;
|
|
832
|
+
linearShift?: boolean | undefined;
|
|
819
833
|
};
|
|
820
834
|
|
|
821
835
|
/** @internal */
|
|
@@ -829,6 +843,7 @@ export const ApproveRollingReleaseStageStages$outboundSchema: z.ZodType<
|
|
|
829
843
|
targetPercentage: z.number(),
|
|
830
844
|
requireApproval: z.boolean(),
|
|
831
845
|
duration: z.nullable(z.number()),
|
|
846
|
+
linearShift: z.boolean().optional(),
|
|
832
847
|
});
|
|
833
848
|
|
|
834
849
|
/**
|
|
@@ -875,6 +890,7 @@ export const ApproveRollingReleaseStageActiveStage$inboundSchema: z.ZodType<
|
|
|
875
890
|
targetPercentage: z.number(),
|
|
876
891
|
requireApproval: z.boolean(),
|
|
877
892
|
duration: z.nullable(z.number()),
|
|
893
|
+
linearShift: z.boolean().optional(),
|
|
878
894
|
});
|
|
879
895
|
|
|
880
896
|
/** @internal */
|
|
@@ -884,6 +900,7 @@ export type ApproveRollingReleaseStageActiveStage$Outbound = {
|
|
|
884
900
|
targetPercentage: number;
|
|
885
901
|
requireApproval: boolean;
|
|
886
902
|
duration: number | null;
|
|
903
|
+
linearShift?: boolean | undefined;
|
|
887
904
|
};
|
|
888
905
|
|
|
889
906
|
/** @internal */
|
|
@@ -897,6 +914,7 @@ export const ApproveRollingReleaseStageActiveStage$outboundSchema: z.ZodType<
|
|
|
897
914
|
targetPercentage: z.number(),
|
|
898
915
|
requireApproval: z.boolean(),
|
|
899
916
|
duration: z.nullable(z.number()),
|
|
917
|
+
linearShift: z.boolean().optional(),
|
|
900
918
|
});
|
|
901
919
|
|
|
902
920
|
/**
|
|
@@ -946,6 +964,7 @@ export const ApproveRollingReleaseStageNextStage$inboundSchema: z.ZodType<
|
|
|
946
964
|
targetPercentage: z.number(),
|
|
947
965
|
requireApproval: z.boolean(),
|
|
948
966
|
duration: z.nullable(z.number()),
|
|
967
|
+
linearShift: z.boolean().optional(),
|
|
949
968
|
});
|
|
950
969
|
|
|
951
970
|
/** @internal */
|
|
@@ -955,6 +974,7 @@ export type ApproveRollingReleaseStageNextStage$Outbound = {
|
|
|
955
974
|
targetPercentage: number;
|
|
956
975
|
requireApproval: boolean;
|
|
957
976
|
duration: number | null;
|
|
977
|
+
linearShift?: boolean | undefined;
|
|
958
978
|
};
|
|
959
979
|
|
|
960
980
|
/** @internal */
|
|
@@ -968,6 +988,7 @@ export const ApproveRollingReleaseStageNextStage$outboundSchema: z.ZodType<
|
|
|
968
988
|
targetPercentage: z.number(),
|
|
969
989
|
requireApproval: z.boolean(),
|
|
970
990
|
duration: z.nullable(z.number()),
|
|
991
|
+
linearShift: z.boolean().optional(),
|
|
971
992
|
});
|
|
972
993
|
|
|
973
994
|
/**
|
|
@@ -181,6 +181,10 @@ export type CompleteRollingReleaseStages = {
|
|
|
181
181
|
* Duration in seconds for automatic advancement, null for manual stages or the final stage
|
|
182
182
|
*/
|
|
183
183
|
duration: number | null;
|
|
184
|
+
/**
|
|
185
|
+
* Whether to linearly shift traffic over the duration of this stage
|
|
186
|
+
*/
|
|
187
|
+
linearShift?: boolean | undefined;
|
|
184
188
|
};
|
|
185
189
|
|
|
186
190
|
/**
|
|
@@ -207,6 +211,10 @@ export type CompleteRollingReleaseActiveStage = {
|
|
|
207
211
|
* Duration in seconds for automatic advancement, null for manual stages or the final stage
|
|
208
212
|
*/
|
|
209
213
|
duration: number | null;
|
|
214
|
+
/**
|
|
215
|
+
* Whether to linearly shift traffic over the duration of this stage
|
|
216
|
+
*/
|
|
217
|
+
linearShift?: boolean | undefined;
|
|
210
218
|
};
|
|
211
219
|
|
|
212
220
|
/**
|
|
@@ -233,6 +241,10 @@ export type CompleteRollingReleaseNextStage = {
|
|
|
233
241
|
* Duration in seconds for automatic advancement, null for manual stages or the final stage
|
|
234
242
|
*/
|
|
235
243
|
duration: number | null;
|
|
244
|
+
/**
|
|
245
|
+
* Whether to linearly shift traffic over the duration of this stage
|
|
246
|
+
*/
|
|
247
|
+
linearShift?: boolean | undefined;
|
|
236
248
|
};
|
|
237
249
|
|
|
238
250
|
/**
|
|
@@ -780,6 +792,7 @@ export const CompleteRollingReleaseStages$inboundSchema: z.ZodType<
|
|
|
780
792
|
targetPercentage: z.number(),
|
|
781
793
|
requireApproval: z.boolean(),
|
|
782
794
|
duration: z.nullable(z.number()),
|
|
795
|
+
linearShift: z.boolean().optional(),
|
|
783
796
|
});
|
|
784
797
|
|
|
785
798
|
/** @internal */
|
|
@@ -789,6 +802,7 @@ export type CompleteRollingReleaseStages$Outbound = {
|
|
|
789
802
|
targetPercentage: number;
|
|
790
803
|
requireApproval: boolean;
|
|
791
804
|
duration: number | null;
|
|
805
|
+
linearShift?: boolean | undefined;
|
|
792
806
|
};
|
|
793
807
|
|
|
794
808
|
/** @internal */
|
|
@@ -802,6 +816,7 @@ export const CompleteRollingReleaseStages$outboundSchema: z.ZodType<
|
|
|
802
816
|
targetPercentage: z.number(),
|
|
803
817
|
requireApproval: z.boolean(),
|
|
804
818
|
duration: z.nullable(z.number()),
|
|
819
|
+
linearShift: z.boolean().optional(),
|
|
805
820
|
});
|
|
806
821
|
|
|
807
822
|
/**
|
|
@@ -848,6 +863,7 @@ export const CompleteRollingReleaseActiveStage$inboundSchema: z.ZodType<
|
|
|
848
863
|
targetPercentage: z.number(),
|
|
849
864
|
requireApproval: z.boolean(),
|
|
850
865
|
duration: z.nullable(z.number()),
|
|
866
|
+
linearShift: z.boolean().optional(),
|
|
851
867
|
});
|
|
852
868
|
|
|
853
869
|
/** @internal */
|
|
@@ -857,6 +873,7 @@ export type CompleteRollingReleaseActiveStage$Outbound = {
|
|
|
857
873
|
targetPercentage: number;
|
|
858
874
|
requireApproval: boolean;
|
|
859
875
|
duration: number | null;
|
|
876
|
+
linearShift?: boolean | undefined;
|
|
860
877
|
};
|
|
861
878
|
|
|
862
879
|
/** @internal */
|
|
@@ -870,6 +887,7 @@ export const CompleteRollingReleaseActiveStage$outboundSchema: z.ZodType<
|
|
|
870
887
|
targetPercentage: z.number(),
|
|
871
888
|
requireApproval: z.boolean(),
|
|
872
889
|
duration: z.nullable(z.number()),
|
|
890
|
+
linearShift: z.boolean().optional(),
|
|
873
891
|
});
|
|
874
892
|
|
|
875
893
|
/**
|
|
@@ -917,6 +935,7 @@ export const CompleteRollingReleaseNextStage$inboundSchema: z.ZodType<
|
|
|
917
935
|
targetPercentage: z.number(),
|
|
918
936
|
requireApproval: z.boolean(),
|
|
919
937
|
duration: z.nullable(z.number()),
|
|
938
|
+
linearShift: z.boolean().optional(),
|
|
920
939
|
});
|
|
921
940
|
|
|
922
941
|
/** @internal */
|
|
@@ -926,6 +945,7 @@ export type CompleteRollingReleaseNextStage$Outbound = {
|
|
|
926
945
|
targetPercentage: number;
|
|
927
946
|
requireApproval: boolean;
|
|
928
947
|
duration: number | null;
|
|
948
|
+
linearShift?: boolean | undefined;
|
|
929
949
|
};
|
|
930
950
|
|
|
931
951
|
/** @internal */
|
|
@@ -939,6 +959,7 @@ export const CompleteRollingReleaseNextStage$outboundSchema: z.ZodType<
|
|
|
939
959
|
targetPercentage: z.number(),
|
|
940
960
|
requireApproval: z.boolean(),
|
|
941
961
|
duration: z.nullable(z.number()),
|
|
962
|
+
linearShift: z.boolean().optional(),
|
|
942
963
|
});
|
|
943
964
|
|
|
944
965
|
/**
|
|
@@ -279,6 +279,7 @@ export const Framework = {
|
|
|
279
279
|
Nitro: "nitro",
|
|
280
280
|
Hono: "hono",
|
|
281
281
|
Express: "express",
|
|
282
|
+
H3: "h3",
|
|
282
283
|
Xmcp: "xmcp",
|
|
283
284
|
} as const;
|
|
284
285
|
/**
|
|
@@ -493,6 +494,7 @@ export const CreateDeploymentFramework = {
|
|
|
493
494
|
Nitro: "nitro",
|
|
494
495
|
Hono: "hono",
|
|
495
496
|
Express: "express",
|
|
497
|
+
H3: "h3",
|
|
496
498
|
Xmcp: "xmcp",
|
|
497
499
|
} as const;
|
|
498
500
|
export type CreateDeploymentFramework = ClosedEnum<
|
|
@@ -528,11 +530,11 @@ export type CreateDeploymentProjectSettings = {
|
|
|
528
530
|
};
|
|
529
531
|
|
|
530
532
|
export const CreateDeploymentDeploymentsStatus = {
|
|
531
|
-
Error: "error",
|
|
532
|
-
Timeout: "timeout",
|
|
533
533
|
Skipped: "skipped",
|
|
534
534
|
Pending: "pending",
|
|
535
535
|
Ready: "ready",
|
|
536
|
+
Error: "error",
|
|
537
|
+
Timeout: "timeout",
|
|
536
538
|
} as const;
|
|
537
539
|
export type CreateDeploymentDeploymentsStatus = ClosedEnum<
|
|
538
540
|
typeof CreateDeploymentDeploymentsStatus
|
|
@@ -624,8 +626,8 @@ export type Creator = {
|
|
|
624
626
|
};
|
|
625
627
|
|
|
626
628
|
export const CreateDeploymentReadyState = {
|
|
627
|
-
Error: "ERROR",
|
|
628
629
|
Building: "BUILDING",
|
|
630
|
+
Error: "ERROR",
|
|
629
631
|
Initializing: "INITIALIZING",
|
|
630
632
|
Ready: "READY",
|
|
631
633
|
} as const;
|
|
@@ -645,8 +647,8 @@ export type Lambdas = {
|
|
|
645
647
|
id: string;
|
|
646
648
|
createdAt?: number | undefined;
|
|
647
649
|
readyState?: CreateDeploymentReadyState | undefined;
|
|
648
|
-
readyStateAt?: number | undefined;
|
|
649
650
|
entrypoint?: string | null | undefined;
|
|
651
|
+
readyStateAt?: number | undefined;
|
|
650
652
|
output: Array<CreateDeploymentOutput>;
|
|
651
653
|
};
|
|
652
654
|
|
|
@@ -1216,14 +1218,14 @@ export const CreateDeploymentPlan = {
|
|
|
1216
1218
|
export type CreateDeploymentPlan = ClosedEnum<typeof CreateDeploymentPlan>;
|
|
1217
1219
|
|
|
1218
1220
|
export const FunctionType = {
|
|
1219
|
-
Standard: "standard",
|
|
1220
1221
|
Fluid: "fluid",
|
|
1222
|
+
Standard: "standard",
|
|
1221
1223
|
} as const;
|
|
1222
1224
|
export type FunctionType = ClosedEnum<typeof FunctionType>;
|
|
1223
1225
|
|
|
1224
1226
|
export const FunctionMemoryType = {
|
|
1225
|
-
StandardLegacy: "standard_legacy",
|
|
1226
1227
|
Standard: "standard",
|
|
1228
|
+
StandardLegacy: "standard_legacy",
|
|
1227
1229
|
Performance: "performance",
|
|
1228
1230
|
} as const;
|
|
1229
1231
|
export type FunctionMemoryType = ClosedEnum<typeof FunctionMemoryType>;
|
|
@@ -1308,12 +1310,12 @@ export type Routes3 = {
|
|
|
1308
1310
|
};
|
|
1309
1311
|
|
|
1310
1312
|
export const Handle = {
|
|
1311
|
-
Filesystem: "filesystem",
|
|
1312
1313
|
Error: "error",
|
|
1314
|
+
Filesystem: "filesystem",
|
|
1313
1315
|
Hit: "hit",
|
|
1314
1316
|
Miss: "miss",
|
|
1315
|
-
Resource: "resource",
|
|
1316
1317
|
Rewrite: "rewrite",
|
|
1318
|
+
Resource: "resource",
|
|
1317
1319
|
} as const;
|
|
1318
1320
|
export type Handle = ClosedEnum<typeof Handle>;
|
|
1319
1321
|
|
|
@@ -1476,8 +1478,8 @@ export const RoutesType = {
|
|
|
1476
1478
|
export type RoutesType = ClosedEnum<typeof RoutesType>;
|
|
1477
1479
|
|
|
1478
1480
|
export const CreateDeploymentRoutesOp = {
|
|
1479
|
-
Set: "set",
|
|
1480
1481
|
Append: "append",
|
|
1482
|
+
Set: "set",
|
|
1481
1483
|
Delete: "delete",
|
|
1482
1484
|
} as const;
|
|
1483
1485
|
export type CreateDeploymentRoutesOp = ClosedEnum<
|
|
@@ -1695,8 +1697,8 @@ export type CreateDeploymentGitRepoDeploymentsType = ClosedEnum<
|
|
|
1695
1697
|
>;
|
|
1696
1698
|
|
|
1697
1699
|
export const CreateDeploymentGitRepoOwnerType = {
|
|
1698
|
-
User: "user",
|
|
1699
1700
|
Team: "team",
|
|
1701
|
+
User: "user",
|
|
1700
1702
|
} as const;
|
|
1701
1703
|
export type CreateDeploymentGitRepoOwnerType = ClosedEnum<
|
|
1702
1704
|
typeof CreateDeploymentGitRepoOwnerType
|
|
@@ -1723,8 +1725,8 @@ export type CreateDeploymentGitRepoType = ClosedEnum<
|
|
|
1723
1725
|
>;
|
|
1724
1726
|
|
|
1725
1727
|
export const GitRepoOwnerType = {
|
|
1726
|
-
User: "user",
|
|
1727
1728
|
Team: "team",
|
|
1729
|
+
User: "user",
|
|
1728
1730
|
} as const;
|
|
1729
1731
|
export type GitRepoOwnerType = ClosedEnum<typeof GitRepoOwnerType>;
|
|
1730
1732
|
|
|
@@ -1747,8 +1749,8 @@ export const GitRepoType = {
|
|
|
1747
1749
|
export type GitRepoType = ClosedEnum<typeof GitRepoType>;
|
|
1748
1750
|
|
|
1749
1751
|
export const OwnerType = {
|
|
1750
|
-
User: "user",
|
|
1751
1752
|
Team: "team",
|
|
1753
|
+
User: "user",
|
|
1752
1754
|
} as const;
|
|
1753
1755
|
export type OwnerType = ClosedEnum<typeof OwnerType>;
|
|
1754
1756
|
|
|
@@ -3933,8 +3935,8 @@ export const Lambdas$inboundSchema: z.ZodType<Lambdas, z.ZodTypeDef, unknown> =
|
|
|
3933
3935
|
id: z.string(),
|
|
3934
3936
|
createdAt: z.number().optional(),
|
|
3935
3937
|
readyState: CreateDeploymentReadyState$inboundSchema.optional(),
|
|
3936
|
-
readyStateAt: z.number().optional(),
|
|
3937
3938
|
entrypoint: z.nullable(z.string()).optional(),
|
|
3939
|
+
readyStateAt: z.number().optional(),
|
|
3938
3940
|
output: z.array(z.lazy(() => CreateDeploymentOutput$inboundSchema)),
|
|
3939
3941
|
});
|
|
3940
3942
|
|
|
@@ -3943,8 +3945,8 @@ export type Lambdas$Outbound = {
|
|
|
3943
3945
|
id: string;
|
|
3944
3946
|
createdAt?: number | undefined;
|
|
3945
3947
|
readyState?: string | undefined;
|
|
3946
|
-
readyStateAt?: number | undefined;
|
|
3947
3948
|
entrypoint?: string | null | undefined;
|
|
3949
|
+
readyStateAt?: number | undefined;
|
|
3948
3950
|
output: Array<CreateDeploymentOutput$Outbound>;
|
|
3949
3951
|
};
|
|
3950
3952
|
|
|
@@ -3957,8 +3959,8 @@ export const Lambdas$outboundSchema: z.ZodType<
|
|
|
3957
3959
|
id: z.string(),
|
|
3958
3960
|
createdAt: z.number().optional(),
|
|
3959
3961
|
readyState: CreateDeploymentReadyState$outboundSchema.optional(),
|
|
3960
|
-
readyStateAt: z.number().optional(),
|
|
3961
3962
|
entrypoint: z.nullable(z.string()).optional(),
|
|
3963
|
+
readyStateAt: z.number().optional(),
|
|
3962
3964
|
output: z.array(z.lazy(() => CreateDeploymentOutput$outboundSchema)),
|
|
3963
3965
|
});
|
|
3964
3966
|
|