@vercel/sdk 1.8.5 → 1.9.0
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 +4 -2
- package/bin/mcp-server.js +629 -323
- package/bin/mcp-server.js.map +30 -27
- package/docs/sdks/rollingrelease/README.md +80 -0
- package/esm/__tests__/marketplace.test.js +10 -1
- package/esm/__tests__/marketplace.test.js.map +1 -1
- package/esm/__tests__/rollingrelease.test.js +23 -0
- package/esm/__tests__/rollingrelease.test.js.map +1 -1
- package/esm/funcs/domainsCheckDomainStatus.js +2 -2
- package/esm/funcs/domainsCheckDomainStatus.js.map +1 -1
- package/esm/funcs/rollingReleaseGetRollingReleaseBillingStatus.d.ts +20 -0
- package/esm/funcs/rollingReleaseGetRollingReleaseBillingStatus.d.ts.map +1 -0
- package/esm/funcs/rollingReleaseGetRollingReleaseBillingStatus.js +94 -0
- package/esm/funcs/rollingReleaseGetRollingReleaseBillingStatus.js.map +1 -0
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- 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 -1
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/rollingReleaseGetRollingReleaseBillingStatus.d.ts +7 -0
- package/esm/mcp-server/tools/rollingReleaseGetRollingReleaseBillingStatus.d.ts.map +1 -0
- package/esm/mcp-server/tools/rollingReleaseGetRollingReleaseBillingStatus.js +28 -0
- package/esm/mcp-server/tools/rollingReleaseGetRollingReleaseBillingStatus.js.map +1 -0
- package/esm/models/approverollingreleasestageop.d.ts +36 -0
- package/esm/models/approverollingreleasestageop.d.ts.map +1 -1
- package/esm/models/approverollingreleasestageop.js +25 -0
- package/esm/models/approverollingreleasestageop.js.map +1 -1
- package/esm/models/canceldeploymentop.d.ts +19 -17
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +19 -17
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/completerollingreleaseop.d.ts +36 -0
- package/esm/models/completerollingreleaseop.d.ts.map +1 -1
- package/esm/models/completerollingreleaseop.js +24 -0
- package/esm/models/completerollingreleaseop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +51 -106
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +55 -110
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +4 -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/createwebhookop.d.ts +6 -0
- package/esm/models/createwebhookop.d.ts.map +1 -1
- package/esm/models/createwebhookop.js +2 -0
- package/esm/models/createwebhookop.js.map +1 -1
- package/esm/models/getdeploymentop.d.ts +2 -0
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +2 -0
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getfirewallconfigop.d.ts +2 -0
- package/esm/models/getfirewallconfigop.d.ts.map +1 -1
- package/esm/models/getfirewallconfigop.js +2 -0
- package/esm/models/getfirewallconfigop.js.map +1 -1
- package/esm/models/getmemberop.d.ts +9 -0
- package/esm/models/getmemberop.d.ts.map +1 -1
- package/esm/models/getmemberop.js +3 -0
- package/esm/models/getmemberop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +4 -0
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +4 -0
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/getrollingreleasebillingstatusop.d.ts +284 -0
- package/esm/models/getrollingreleasebillingstatusop.d.ts.map +1 -0
- package/esm/models/getrollingreleasebillingstatusop.js +267 -0
- package/esm/models/getrollingreleasebillingstatusop.js.map +1 -0
- package/esm/models/getrollingreleaseop.d.ts +36 -0
- package/esm/models/getrollingreleaseop.d.ts.map +1 -1
- package/esm/models/getrollingreleaseop.js +24 -0
- package/esm/models/getrollingreleaseop.js.map +1 -1
- package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts +3 -3
- package/esm/models/getv9projectsidornamecustomenvironmentsop.js +1 -1
- package/esm/models/getv9projectsidornamecustomenvironmentsop.js.map +1 -1
- package/esm/models/getwebhookop.d.ts +3 -0
- package/esm/models/getwebhookop.d.ts.map +1 -1
- package/esm/models/getwebhookop.js +1 -0
- package/esm/models/getwebhookop.js.map +1 -1
- package/esm/models/getwebhooksop.d.ts +6 -0
- package/esm/models/getwebhooksop.d.ts.map +1 -1
- package/esm/models/getwebhooksop.js +2 -0
- package/esm/models/getwebhooksop.js.map +1 -1
- package/esm/models/putfirewallconfigop.d.ts +4 -0
- package/esm/models/putfirewallconfigop.d.ts.map +1 -1
- package/esm/models/putfirewallconfigop.js +4 -0
- package/esm/models/putfirewallconfigop.js.map +1 -1
- package/esm/models/updatefirewallconfigop.d.ts +36 -4
- package/esm/models/updatefirewallconfigop.d.ts.map +1 -1
- package/esm/models/updatefirewallconfigop.js +33 -0
- package/esm/models/updatefirewallconfigop.js.map +1 -1
- package/esm/models/updateintegrationdeploymentactionop.d.ts +2 -0
- package/esm/models/updateintegrationdeploymentactionop.d.ts.map +1 -1
- package/esm/models/updateintegrationdeploymentactionop.js +2 -0
- package/esm/models/updateintegrationdeploymentactionop.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +4 -0
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +4 -0
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +4 -0
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +4 -0
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/userevent.d.ts +5 -0
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +2 -0
- package/esm/models/userevent.js.map +1 -1
- package/esm/sdk/rollingrelease.d.ts +8 -0
- package/esm/sdk/rollingrelease.d.ts.map +1 -1
- package/esm/sdk/rollingrelease.js +10 -0
- package/esm/sdk/rollingrelease.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/marketplace.test.ts +19 -1
- package/src/__tests__/rollingrelease.test.ts +26 -0
- package/src/funcs/domainsCheckDomainStatus.ts +2 -2
- package/src/funcs/rollingReleaseGetRollingReleaseBillingStatus.ts +208 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/rollingReleaseGetRollingReleaseBillingStatus.ts +40 -0
- package/src/models/approverollingreleasestageop.ts +44 -0
- package/src/models/canceldeploymentop.ts +32 -32
- package/src/models/completerollingreleaseop.ts +45 -0
- package/src/models/createdeploymentop.ts +107 -220
- package/src/models/createprojectop.ts +8 -0
- package/src/models/createwebhookop.ts +2 -0
- package/src/models/getdeploymentop.ts +4 -0
- package/src/models/getfirewallconfigop.ts +4 -0
- package/src/models/getmemberop.ts +9 -0
- package/src/models/getprojectsop.ts +8 -0
- package/src/models/getrollingreleasebillingstatusop.ts +614 -0
- package/src/models/getrollingreleaseop.ts +40 -0
- package/src/models/getv9projectsidornamecustomenvironmentsop.ts +1 -1
- package/src/models/getwebhookop.ts +1 -0
- package/src/models/getwebhooksop.ts +2 -0
- package/src/models/putfirewallconfigop.ts +8 -0
- package/src/models/updatefirewallconfigop.ts +73 -0
- package/src/models/updateintegrationdeploymentactionop.ts +4 -0
- package/src/models/updateprojectdatacacheop.ts +8 -0
- package/src/models/updateprojectop.ts +8 -0
- package/src/models/userevent.ts +7 -0
- package/src/sdk/rollingrelease.ts +22 -0
- package/vercel-spec.json +327 -58
|
@@ -49,6 +49,7 @@ export const GetWebhookEvents = {
|
|
|
49
49
|
DeploymentIntegrationActionStart: "deployment.integration.action.start",
|
|
50
50
|
DeploymentIntegrationActionCancel: "deployment.integration.action.cancel",
|
|
51
51
|
DeploymentIntegrationActionCleanup: "deployment.integration.action.cleanup",
|
|
52
|
+
DeploymentCheckrunStart: "deployment.checkrun.start",
|
|
52
53
|
EdgeConfigCreated: "edge-config.created",
|
|
53
54
|
EdgeConfigDeleted: "edge-config.deleted",
|
|
54
55
|
EdgeConfigItemsUpdated: "edge-config.items.updated",
|
|
@@ -49,6 +49,7 @@ export const GetWebhooksResponseBodyEvents = {
|
|
|
49
49
|
DeploymentIntegrationActionStart: "deployment.integration.action.start",
|
|
50
50
|
DeploymentIntegrationActionCancel: "deployment.integration.action.cancel",
|
|
51
51
|
DeploymentIntegrationActionCleanup: "deployment.integration.action.cleanup",
|
|
52
|
+
DeploymentCheckrunStart: "deployment.checkrun.start",
|
|
52
53
|
EdgeConfigCreated: "edge-config.created",
|
|
53
54
|
EdgeConfigDeleted: "edge-config.deleted",
|
|
54
55
|
EdgeConfigItemsUpdated: "edge-config.items.updated",
|
|
@@ -221,6 +222,7 @@ export const ResponseBodyEvents = {
|
|
|
221
222
|
DeploymentIntegrationActionStart: "deployment.integration.action.start",
|
|
222
223
|
DeploymentIntegrationActionCancel: "deployment.integration.action.cancel",
|
|
223
224
|
DeploymentIntegrationActionCleanup: "deployment.integration.action.cleanup",
|
|
225
|
+
DeploymentCheckrunStart: "deployment.checkrun.start",
|
|
224
226
|
EdgeConfigCreated: "edge-config.created",
|
|
225
227
|
EdgeConfigDeleted: "edge-config.deleted",
|
|
226
228
|
EdgeConfigItemsUpdated: "edge-config.items.updated",
|
|
@@ -391,6 +391,7 @@ export type PutFirewallConfigRequestBody = {
|
|
|
391
391
|
crs?: Crs | undefined;
|
|
392
392
|
rules?: Array<PutFirewallConfigRules> | undefined;
|
|
393
393
|
ips?: Array<Ips> | undefined;
|
|
394
|
+
botIdEnabled?: boolean | undefined;
|
|
394
395
|
};
|
|
395
396
|
|
|
396
397
|
export type PutFirewallConfigRequest = {
|
|
@@ -894,6 +895,7 @@ export type Active = {
|
|
|
894
895
|
ips: Array<PutFirewallConfigIps>;
|
|
895
896
|
changes: Array<PutFirewallConfigChanges>;
|
|
896
897
|
managedRules?: PutFirewallConfigManagedRules | undefined;
|
|
898
|
+
botIdEnabled?: boolean | undefined;
|
|
897
899
|
};
|
|
898
900
|
|
|
899
901
|
export type PutFirewallConfigResponseBody = {
|
|
@@ -2570,6 +2572,7 @@ export const PutFirewallConfigRequestBody$inboundSchema: z.ZodType<
|
|
|
2570
2572
|
crs: z.lazy(() => Crs$inboundSchema).optional(),
|
|
2571
2573
|
rules: z.array(z.lazy(() => PutFirewallConfigRules$inboundSchema)).optional(),
|
|
2572
2574
|
ips: z.array(z.lazy(() => Ips$inboundSchema)).optional(),
|
|
2575
|
+
botIdEnabled: z.boolean().optional(),
|
|
2573
2576
|
});
|
|
2574
2577
|
|
|
2575
2578
|
/** @internal */
|
|
@@ -2579,6 +2582,7 @@ export type PutFirewallConfigRequestBody$Outbound = {
|
|
|
2579
2582
|
crs?: Crs$Outbound | undefined;
|
|
2580
2583
|
rules?: Array<PutFirewallConfigRules$Outbound> | undefined;
|
|
2581
2584
|
ips?: Array<Ips$Outbound> | undefined;
|
|
2585
|
+
botIdEnabled?: boolean | undefined;
|
|
2582
2586
|
};
|
|
2583
2587
|
|
|
2584
2588
|
/** @internal */
|
|
@@ -2593,6 +2597,7 @@ export const PutFirewallConfigRequestBody$outboundSchema: z.ZodType<
|
|
|
2593
2597
|
rules: z.array(z.lazy(() => PutFirewallConfigRules$outboundSchema))
|
|
2594
2598
|
.optional(),
|
|
2595
2599
|
ips: z.array(z.lazy(() => Ips$outboundSchema)).optional(),
|
|
2600
|
+
botIdEnabled: z.boolean().optional(),
|
|
2596
2601
|
});
|
|
2597
2602
|
|
|
2598
2603
|
/**
|
|
@@ -4889,6 +4894,7 @@ export const Active$inboundSchema: z.ZodType<Active, z.ZodTypeDef, unknown> = z
|
|
|
4889
4894
|
changes: z.array(z.lazy(() => PutFirewallConfigChanges$inboundSchema)),
|
|
4890
4895
|
managedRules: z.lazy(() => PutFirewallConfigManagedRules$inboundSchema)
|
|
4891
4896
|
.optional(),
|
|
4897
|
+
botIdEnabled: z.boolean().optional(),
|
|
4892
4898
|
});
|
|
4893
4899
|
|
|
4894
4900
|
/** @internal */
|
|
@@ -4904,6 +4910,7 @@ export type Active$Outbound = {
|
|
|
4904
4910
|
ips: Array<PutFirewallConfigIps$Outbound>;
|
|
4905
4911
|
changes: Array<PutFirewallConfigChanges$Outbound>;
|
|
4906
4912
|
managedRules?: PutFirewallConfigManagedRules$Outbound | undefined;
|
|
4913
|
+
botIdEnabled?: boolean | undefined;
|
|
4907
4914
|
};
|
|
4908
4915
|
|
|
4909
4916
|
/** @internal */
|
|
@@ -4924,6 +4931,7 @@ export const Active$outboundSchema: z.ZodType<
|
|
|
4924
4931
|
changes: z.array(z.lazy(() => PutFirewallConfigChanges$outboundSchema)),
|
|
4925
4932
|
managedRules: z.lazy(() => PutFirewallConfigManagedRules$outboundSchema)
|
|
4926
4933
|
.optional(),
|
|
4934
|
+
botIdEnabled: z.boolean().optional(),
|
|
4927
4935
|
});
|
|
4928
4936
|
|
|
4929
4937
|
/**
|
|
@@ -9,6 +9,15 @@ import { ClosedEnum } from "../types/enums.js";
|
|
|
9
9
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
10
10
|
import { SDKValidationError } from "./sdkvalidationerror.js";
|
|
11
11
|
|
|
12
|
+
/**
|
|
13
|
+
* Toggle botID
|
|
14
|
+
*/
|
|
15
|
+
export type RequestBody13 = {
|
|
16
|
+
action: string;
|
|
17
|
+
id?: string | undefined;
|
|
18
|
+
value: boolean;
|
|
19
|
+
};
|
|
20
|
+
|
|
12
21
|
export const UpdateFirewallConfigRequestBodySecurityRequest12Action = {
|
|
13
22
|
Log: "log",
|
|
14
23
|
Challenge: "challenge",
|
|
@@ -564,6 +573,7 @@ export type UpdateFirewallConfigRequestBody =
|
|
|
564
573
|
| UpdateFirewallConfigRequestBody4
|
|
565
574
|
| UpdateFirewallConfigRequestBody8
|
|
566
575
|
| UpdateFirewallConfigRequestBody10
|
|
576
|
+
| RequestBody13
|
|
567
577
|
| UpdateFirewallConfigRequestBody7;
|
|
568
578
|
|
|
569
579
|
export type UpdateFirewallConfigRequest = {
|
|
@@ -588,11 +598,68 @@ export type UpdateFirewallConfigRequest = {
|
|
|
588
598
|
| UpdateFirewallConfigRequestBody4
|
|
589
599
|
| UpdateFirewallConfigRequestBody8
|
|
590
600
|
| UpdateFirewallConfigRequestBody10
|
|
601
|
+
| RequestBody13
|
|
591
602
|
| UpdateFirewallConfigRequestBody7;
|
|
592
603
|
};
|
|
593
604
|
|
|
594
605
|
export type UpdateFirewallConfigResponseBody = {};
|
|
595
606
|
|
|
607
|
+
/** @internal */
|
|
608
|
+
export const RequestBody13$inboundSchema: z.ZodType<
|
|
609
|
+
RequestBody13,
|
|
610
|
+
z.ZodTypeDef,
|
|
611
|
+
unknown
|
|
612
|
+
> = z.object({
|
|
613
|
+
action: z.string(),
|
|
614
|
+
id: z.string().optional(),
|
|
615
|
+
value: z.boolean(),
|
|
616
|
+
});
|
|
617
|
+
|
|
618
|
+
/** @internal */
|
|
619
|
+
export type RequestBody13$Outbound = {
|
|
620
|
+
action: string;
|
|
621
|
+
id?: string | undefined;
|
|
622
|
+
value: boolean;
|
|
623
|
+
};
|
|
624
|
+
|
|
625
|
+
/** @internal */
|
|
626
|
+
export const RequestBody13$outboundSchema: z.ZodType<
|
|
627
|
+
RequestBody13$Outbound,
|
|
628
|
+
z.ZodTypeDef,
|
|
629
|
+
RequestBody13
|
|
630
|
+
> = z.object({
|
|
631
|
+
action: z.string(),
|
|
632
|
+
id: z.string().optional(),
|
|
633
|
+
value: z.boolean(),
|
|
634
|
+
});
|
|
635
|
+
|
|
636
|
+
/**
|
|
637
|
+
* @internal
|
|
638
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
639
|
+
*/
|
|
640
|
+
export namespace RequestBody13$ {
|
|
641
|
+
/** @deprecated use `RequestBody13$inboundSchema` instead. */
|
|
642
|
+
export const inboundSchema = RequestBody13$inboundSchema;
|
|
643
|
+
/** @deprecated use `RequestBody13$outboundSchema` instead. */
|
|
644
|
+
export const outboundSchema = RequestBody13$outboundSchema;
|
|
645
|
+
/** @deprecated use `RequestBody13$Outbound` instead. */
|
|
646
|
+
export type Outbound = RequestBody13$Outbound;
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
export function requestBody13ToJSON(requestBody13: RequestBody13): string {
|
|
650
|
+
return JSON.stringify(RequestBody13$outboundSchema.parse(requestBody13));
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
export function requestBody13FromJSON(
|
|
654
|
+
jsonString: string,
|
|
655
|
+
): SafeParseResult<RequestBody13, SDKValidationError> {
|
|
656
|
+
return safeParse(
|
|
657
|
+
jsonString,
|
|
658
|
+
(x) => RequestBody13$inboundSchema.parse(JSON.parse(x)),
|
|
659
|
+
`Failed to parse 'RequestBody13' from JSON`,
|
|
660
|
+
);
|
|
661
|
+
}
|
|
662
|
+
|
|
596
663
|
/** @internal */
|
|
597
664
|
export const UpdateFirewallConfigRequestBodySecurityRequest12Action$inboundSchema:
|
|
598
665
|
z.ZodNativeEnum<
|
|
@@ -3898,6 +3965,7 @@ export const UpdateFirewallConfigRequestBody$inboundSchema: z.ZodType<
|
|
|
3898
3965
|
z.lazy(() => UpdateFirewallConfigRequestBody4$inboundSchema),
|
|
3899
3966
|
z.lazy(() => UpdateFirewallConfigRequestBody8$inboundSchema),
|
|
3900
3967
|
z.lazy(() => UpdateFirewallConfigRequestBody10$inboundSchema),
|
|
3968
|
+
z.lazy(() => RequestBody13$inboundSchema),
|
|
3901
3969
|
z.lazy(() => UpdateFirewallConfigRequestBody7$inboundSchema),
|
|
3902
3970
|
]);
|
|
3903
3971
|
|
|
@@ -3914,6 +3982,7 @@ export type UpdateFirewallConfigRequestBody$Outbound =
|
|
|
3914
3982
|
| UpdateFirewallConfigRequestBody4$Outbound
|
|
3915
3983
|
| UpdateFirewallConfigRequestBody8$Outbound
|
|
3916
3984
|
| UpdateFirewallConfigRequestBody10$Outbound
|
|
3985
|
+
| RequestBody13$Outbound
|
|
3917
3986
|
| UpdateFirewallConfigRequestBody7$Outbound;
|
|
3918
3987
|
|
|
3919
3988
|
/** @internal */
|
|
@@ -3933,6 +4002,7 @@ export const UpdateFirewallConfigRequestBody$outboundSchema: z.ZodType<
|
|
|
3933
4002
|
z.lazy(() => UpdateFirewallConfigRequestBody4$outboundSchema),
|
|
3934
4003
|
z.lazy(() => UpdateFirewallConfigRequestBody8$outboundSchema),
|
|
3935
4004
|
z.lazy(() => UpdateFirewallConfigRequestBody10$outboundSchema),
|
|
4005
|
+
z.lazy(() => RequestBody13$outboundSchema),
|
|
3936
4006
|
z.lazy(() => UpdateFirewallConfigRequestBody7$outboundSchema),
|
|
3937
4007
|
]);
|
|
3938
4008
|
|
|
@@ -3990,6 +4060,7 @@ export const UpdateFirewallConfigRequest$inboundSchema: z.ZodType<
|
|
|
3990
4060
|
z.lazy(() => UpdateFirewallConfigRequestBody4$inboundSchema),
|
|
3991
4061
|
z.lazy(() => UpdateFirewallConfigRequestBody8$inboundSchema),
|
|
3992
4062
|
z.lazy(() => UpdateFirewallConfigRequestBody10$inboundSchema),
|
|
4063
|
+
z.lazy(() => RequestBody13$inboundSchema),
|
|
3993
4064
|
z.lazy(() => UpdateFirewallConfigRequestBody7$inboundSchema),
|
|
3994
4065
|
]),
|
|
3995
4066
|
}).transform((v) => {
|
|
@@ -4015,6 +4086,7 @@ export type UpdateFirewallConfigRequest$Outbound = {
|
|
|
4015
4086
|
| UpdateFirewallConfigRequestBody4$Outbound
|
|
4016
4087
|
| UpdateFirewallConfigRequestBody8$Outbound
|
|
4017
4088
|
| UpdateFirewallConfigRequestBody10$Outbound
|
|
4089
|
+
| RequestBody13$Outbound
|
|
4018
4090
|
| UpdateFirewallConfigRequestBody7$Outbound;
|
|
4019
4091
|
};
|
|
4020
4092
|
|
|
@@ -4039,6 +4111,7 @@ export const UpdateFirewallConfigRequest$outboundSchema: z.ZodType<
|
|
|
4039
4111
|
z.lazy(() => UpdateFirewallConfigRequestBody4$outboundSchema),
|
|
4040
4112
|
z.lazy(() => UpdateFirewallConfigRequestBody8$outboundSchema),
|
|
4041
4113
|
z.lazy(() => UpdateFirewallConfigRequestBody10$outboundSchema),
|
|
4114
|
+
z.lazy(() => RequestBody13$outboundSchema),
|
|
4042
4115
|
z.lazy(() => UpdateFirewallConfigRequestBody7$outboundSchema),
|
|
4043
4116
|
]),
|
|
4044
4117
|
}).transform((v) => {
|
|
@@ -33,6 +33,7 @@ export type Outcomes = Outcomes1;
|
|
|
33
33
|
export type UpdateIntegrationDeploymentActionRequestBody = {
|
|
34
34
|
status?: UpdateIntegrationDeploymentActionStatus | undefined;
|
|
35
35
|
statusText?: string | undefined;
|
|
36
|
+
statusUrl?: string | undefined;
|
|
36
37
|
outcomes?: Array<Outcomes1> | undefined;
|
|
37
38
|
};
|
|
38
39
|
|
|
@@ -223,6 +224,7 @@ export const UpdateIntegrationDeploymentActionRequestBody$inboundSchema:
|
|
|
223
224
|
> = z.object({
|
|
224
225
|
status: UpdateIntegrationDeploymentActionStatus$inboundSchema.optional(),
|
|
225
226
|
statusText: z.string().optional(),
|
|
227
|
+
statusUrl: z.string().optional(),
|
|
226
228
|
outcomes: z.array(z.lazy(() => Outcomes1$inboundSchema)).optional(),
|
|
227
229
|
});
|
|
228
230
|
|
|
@@ -230,6 +232,7 @@ export const UpdateIntegrationDeploymentActionRequestBody$inboundSchema:
|
|
|
230
232
|
export type UpdateIntegrationDeploymentActionRequestBody$Outbound = {
|
|
231
233
|
status?: string | undefined;
|
|
232
234
|
statusText?: string | undefined;
|
|
235
|
+
statusUrl?: string | undefined;
|
|
233
236
|
outcomes?: Array<Outcomes1$Outbound> | undefined;
|
|
234
237
|
};
|
|
235
238
|
|
|
@@ -242,6 +245,7 @@ export const UpdateIntegrationDeploymentActionRequestBody$outboundSchema:
|
|
|
242
245
|
> = z.object({
|
|
243
246
|
status: UpdateIntegrationDeploymentActionStatus$outboundSchema.optional(),
|
|
244
247
|
statusText: z.string().optional(),
|
|
248
|
+
statusUrl: z.string().optional(),
|
|
245
249
|
outcomes: z.array(z.lazy(() => Outcomes1$outboundSchema)).optional(),
|
|
246
250
|
});
|
|
247
251
|
|
|
@@ -1356,6 +1356,7 @@ export type Permissions = {
|
|
|
1356
1356
|
notificationMonitoringAlert?: Array<ACLAction> | undefined;
|
|
1357
1357
|
notificationPaymentFailed?: Array<ACLAction> | undefined;
|
|
1358
1358
|
notificationUsageAlert?: Array<ACLAction> | undefined;
|
|
1359
|
+
notificationPreferences?: Array<ACLAction> | undefined;
|
|
1359
1360
|
notificationCustomerBudget?: Array<ACLAction> | undefined;
|
|
1360
1361
|
notificationStatementOfReasons?: Array<ACLAction> | undefined;
|
|
1361
1362
|
observabilityConfiguration?: Array<ACLAction> | undefined;
|
|
@@ -1839,6 +1840,7 @@ export type UpdateProjectDataCacheSecurity = {
|
|
|
1839
1840
|
ja4Enabled?: boolean | undefined;
|
|
1840
1841
|
firewallBypassIps?: Array<string> | undefined;
|
|
1841
1842
|
managedRules?: UpdateProjectDataCacheManagedRules | null | undefined;
|
|
1843
|
+
botIdEnabled?: boolean | undefined;
|
|
1842
1844
|
};
|
|
1843
1845
|
|
|
1844
1846
|
/**
|
|
@@ -8077,6 +8079,7 @@ export const Permissions$inboundSchema: z.ZodType<
|
|
|
8077
8079
|
NotificationMonitoringAlert: z.array(ACLAction$inboundSchema).optional(),
|
|
8078
8080
|
notificationPaymentFailed: z.array(ACLAction$inboundSchema).optional(),
|
|
8079
8081
|
notificationUsageAlert: z.array(ACLAction$inboundSchema).optional(),
|
|
8082
|
+
notificationPreferences: z.array(ACLAction$inboundSchema).optional(),
|
|
8080
8083
|
notificationCustomerBudget: z.array(ACLAction$inboundSchema).optional(),
|
|
8081
8084
|
notificationStatementOfReasons: z.array(ACLAction$inboundSchema).optional(),
|
|
8082
8085
|
observabilityConfiguration: z.array(ACLAction$inboundSchema).optional(),
|
|
@@ -8292,6 +8295,7 @@ export type Permissions$Outbound = {
|
|
|
8292
8295
|
NotificationMonitoringAlert?: Array<string> | undefined;
|
|
8293
8296
|
notificationPaymentFailed?: Array<string> | undefined;
|
|
8294
8297
|
notificationUsageAlert?: Array<string> | undefined;
|
|
8298
|
+
notificationPreferences?: Array<string> | undefined;
|
|
8295
8299
|
notificationCustomerBudget?: Array<string> | undefined;
|
|
8296
8300
|
notificationStatementOfReasons?: Array<string> | undefined;
|
|
8297
8301
|
observabilityConfiguration?: Array<string> | undefined;
|
|
@@ -8508,6 +8512,7 @@ export const Permissions$outboundSchema: z.ZodType<
|
|
|
8508
8512
|
notificationMonitoringAlert: z.array(ACLAction$outboundSchema).optional(),
|
|
8509
8513
|
notificationPaymentFailed: z.array(ACLAction$outboundSchema).optional(),
|
|
8510
8514
|
notificationUsageAlert: z.array(ACLAction$outboundSchema).optional(),
|
|
8515
|
+
notificationPreferences: z.array(ACLAction$outboundSchema).optional(),
|
|
8511
8516
|
notificationCustomerBudget: z.array(ACLAction$outboundSchema).optional(),
|
|
8512
8517
|
notificationStatementOfReasons: z.array(ACLAction$outboundSchema).optional(),
|
|
8513
8518
|
observabilityConfiguration: z.array(ACLAction$outboundSchema).optional(),
|
|
@@ -10732,6 +10737,7 @@ export const UpdateProjectDataCacheSecurity$inboundSchema: z.ZodType<
|
|
|
10732
10737
|
managedRules: z.nullable(
|
|
10733
10738
|
z.lazy(() => UpdateProjectDataCacheManagedRules$inboundSchema),
|
|
10734
10739
|
).optional(),
|
|
10740
|
+
botIdEnabled: z.boolean().optional(),
|
|
10735
10741
|
});
|
|
10736
10742
|
|
|
10737
10743
|
/** @internal */
|
|
@@ -10748,6 +10754,7 @@ export type UpdateProjectDataCacheSecurity$Outbound = {
|
|
|
10748
10754
|
ja4Enabled?: boolean | undefined;
|
|
10749
10755
|
firewallBypassIps?: Array<string> | undefined;
|
|
10750
10756
|
managedRules?: UpdateProjectDataCacheManagedRules$Outbound | null | undefined;
|
|
10757
|
+
botIdEnabled?: boolean | undefined;
|
|
10751
10758
|
};
|
|
10752
10759
|
|
|
10753
10760
|
/** @internal */
|
|
@@ -10771,6 +10778,7 @@ export const UpdateProjectDataCacheSecurity$outboundSchema: z.ZodType<
|
|
|
10771
10778
|
managedRules: z.nullable(
|
|
10772
10779
|
z.lazy(() => UpdateProjectDataCacheManagedRules$outboundSchema),
|
|
10773
10780
|
).optional(),
|
|
10781
|
+
botIdEnabled: z.boolean().optional(),
|
|
10774
10782
|
});
|
|
10775
10783
|
|
|
10776
10784
|
/**
|
|
@@ -1798,6 +1798,7 @@ export type UpdateProjectPermissions = {
|
|
|
1798
1798
|
notificationMonitoringAlert?: Array<ACLAction> | undefined;
|
|
1799
1799
|
notificationPaymentFailed?: Array<ACLAction> | undefined;
|
|
1800
1800
|
notificationUsageAlert?: Array<ACLAction> | undefined;
|
|
1801
|
+
notificationPreferences?: Array<ACLAction> | undefined;
|
|
1801
1802
|
notificationCustomerBudget?: Array<ACLAction> | undefined;
|
|
1802
1803
|
notificationStatementOfReasons?: Array<ACLAction> | undefined;
|
|
1803
1804
|
observabilityConfiguration?: Array<ACLAction> | undefined;
|
|
@@ -2218,6 +2219,7 @@ export type UpdateProjectSecurity = {
|
|
|
2218
2219
|
ja4Enabled?: boolean | undefined;
|
|
2219
2220
|
firewallBypassIps?: Array<string> | undefined;
|
|
2220
2221
|
managedRules?: UpdateProjectManagedRules | null | undefined;
|
|
2222
|
+
botIdEnabled?: boolean | undefined;
|
|
2221
2223
|
};
|
|
2222
2224
|
|
|
2223
2225
|
/**
|
|
@@ -9476,6 +9478,7 @@ export const UpdateProjectPermissions$inboundSchema: z.ZodType<
|
|
|
9476
9478
|
NotificationMonitoringAlert: z.array(ACLAction$inboundSchema).optional(),
|
|
9477
9479
|
notificationPaymentFailed: z.array(ACLAction$inboundSchema).optional(),
|
|
9478
9480
|
notificationUsageAlert: z.array(ACLAction$inboundSchema).optional(),
|
|
9481
|
+
notificationPreferences: z.array(ACLAction$inboundSchema).optional(),
|
|
9479
9482
|
notificationCustomerBudget: z.array(ACLAction$inboundSchema).optional(),
|
|
9480
9483
|
notificationStatementOfReasons: z.array(ACLAction$inboundSchema).optional(),
|
|
9481
9484
|
observabilityConfiguration: z.array(ACLAction$inboundSchema).optional(),
|
|
@@ -9689,6 +9692,7 @@ export type UpdateProjectPermissions$Outbound = {
|
|
|
9689
9692
|
NotificationMonitoringAlert?: Array<string> | undefined;
|
|
9690
9693
|
notificationPaymentFailed?: Array<string> | undefined;
|
|
9691
9694
|
notificationUsageAlert?: Array<string> | undefined;
|
|
9695
|
+
notificationPreferences?: Array<string> | undefined;
|
|
9692
9696
|
notificationCustomerBudget?: Array<string> | undefined;
|
|
9693
9697
|
notificationStatementOfReasons?: Array<string> | undefined;
|
|
9694
9698
|
observabilityConfiguration?: Array<string> | undefined;
|
|
@@ -9907,6 +9911,7 @@ export const UpdateProjectPermissions$outboundSchema: z.ZodType<
|
|
|
9907
9911
|
notificationMonitoringAlert: z.array(ACLAction$outboundSchema).optional(),
|
|
9908
9912
|
notificationPaymentFailed: z.array(ACLAction$outboundSchema).optional(),
|
|
9909
9913
|
notificationUsageAlert: z.array(ACLAction$outboundSchema).optional(),
|
|
9914
|
+
notificationPreferences: z.array(ACLAction$outboundSchema).optional(),
|
|
9910
9915
|
notificationCustomerBudget: z.array(ACLAction$outboundSchema).optional(),
|
|
9911
9916
|
notificationStatementOfReasons: z.array(ACLAction$outboundSchema).optional(),
|
|
9912
9917
|
observabilityConfiguration: z.array(ACLAction$outboundSchema).optional(),
|
|
@@ -12109,6 +12114,7 @@ export const UpdateProjectSecurity$inboundSchema: z.ZodType<
|
|
|
12109
12114
|
managedRules: z.nullable(
|
|
12110
12115
|
z.lazy(() => UpdateProjectManagedRules$inboundSchema),
|
|
12111
12116
|
).optional(),
|
|
12117
|
+
botIdEnabled: z.boolean().optional(),
|
|
12112
12118
|
});
|
|
12113
12119
|
|
|
12114
12120
|
/** @internal */
|
|
@@ -12125,6 +12131,7 @@ export type UpdateProjectSecurity$Outbound = {
|
|
|
12125
12131
|
ja4Enabled?: boolean | undefined;
|
|
12126
12132
|
firewallBypassIps?: Array<string> | undefined;
|
|
12127
12133
|
managedRules?: UpdateProjectManagedRules$Outbound | null | undefined;
|
|
12134
|
+
botIdEnabled?: boolean | undefined;
|
|
12128
12135
|
};
|
|
12129
12136
|
|
|
12130
12137
|
/** @internal */
|
|
@@ -12149,6 +12156,7 @@ export const UpdateProjectSecurity$outboundSchema: z.ZodType<
|
|
|
12149
12156
|
managedRules: z.nullable(
|
|
12150
12157
|
z.lazy(() => UpdateProjectManagedRules$outboundSchema),
|
|
12151
12158
|
).optional(),
|
|
12159
|
+
botIdEnabled: z.boolean().optional(),
|
|
12152
12160
|
});
|
|
12153
12161
|
|
|
12154
12162
|
/**
|
package/src/models/userevent.ts
CHANGED
|
@@ -2662,6 +2662,10 @@ export type OverageMetadata = {
|
|
|
2662
2662
|
* Tracks the last time we sent a increased on-demand email.
|
|
2663
2663
|
*/
|
|
2664
2664
|
increasedOnDemandEmailSentAt?: number | undefined;
|
|
2665
|
+
/**
|
|
2666
|
+
* Tracks the last time we attempted to send an increased on-demand email. This check is to limit the number of attempts per day.
|
|
2667
|
+
*/
|
|
2668
|
+
increasedOnDemandEmailAttemptedAt?: number | undefined;
|
|
2665
2669
|
};
|
|
2666
2670
|
|
|
2667
2671
|
/**
|
|
@@ -21594,6 +21598,7 @@ export const OverageMetadata$inboundSchema: z.ZodType<
|
|
|
21594
21598
|
weeklyOverageSummaryEmailSentAt: z.number().optional(),
|
|
21595
21599
|
overageSummaryExpiresAt: z.number().optional(),
|
|
21596
21600
|
increasedOnDemandEmailSentAt: z.number().optional(),
|
|
21601
|
+
increasedOnDemandEmailAttemptedAt: z.number().optional(),
|
|
21597
21602
|
});
|
|
21598
21603
|
|
|
21599
21604
|
/** @internal */
|
|
@@ -21603,6 +21608,7 @@ export type OverageMetadata$Outbound = {
|
|
|
21603
21608
|
weeklyOverageSummaryEmailSentAt?: number | undefined;
|
|
21604
21609
|
overageSummaryExpiresAt?: number | undefined;
|
|
21605
21610
|
increasedOnDemandEmailSentAt?: number | undefined;
|
|
21611
|
+
increasedOnDemandEmailAttemptedAt?: number | undefined;
|
|
21606
21612
|
};
|
|
21607
21613
|
|
|
21608
21614
|
/** @internal */
|
|
@@ -21616,6 +21622,7 @@ export const OverageMetadata$outboundSchema: z.ZodType<
|
|
|
21616
21622
|
weeklyOverageSummaryEmailSentAt: z.number().optional(),
|
|
21617
21623
|
overageSummaryExpiresAt: z.number().optional(),
|
|
21618
21624
|
increasedOnDemandEmailSentAt: z.number().optional(),
|
|
21625
|
+
increasedOnDemandEmailAttemptedAt: z.number().optional(),
|
|
21619
21626
|
});
|
|
21620
21627
|
|
|
21621
21628
|
/**
|
|
@@ -6,6 +6,7 @@ import { rollingReleaseApproveRollingReleaseStage } from "../funcs/rollingReleas
|
|
|
6
6
|
import { rollingReleaseCompleteRollingRelease } from "../funcs/rollingReleaseCompleteRollingRelease.js";
|
|
7
7
|
import { rollingReleaseDeleteRollingReleaseConfig } from "../funcs/rollingReleaseDeleteRollingReleaseConfig.js";
|
|
8
8
|
import { rollingReleaseGetRollingRelease } from "../funcs/rollingReleaseGetRollingRelease.js";
|
|
9
|
+
import { rollingReleaseGetRollingReleaseBillingStatus } from "../funcs/rollingReleaseGetRollingReleaseBillingStatus.js";
|
|
9
10
|
import { rollingReleaseGetRollingReleaseConfig } from "../funcs/rollingReleaseGetRollingReleaseConfig.js";
|
|
10
11
|
import { rollingReleaseUpdateRollingReleaseConfig } from "../funcs/rollingReleaseUpdateRollingReleaseConfig.js";
|
|
11
12
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
@@ -21,6 +22,10 @@ import {
|
|
|
21
22
|
DeleteRollingReleaseConfigRequest,
|
|
22
23
|
DeleteRollingReleaseConfigResponseBody,
|
|
23
24
|
} from "../models/deleterollingreleaseconfigop.js";
|
|
25
|
+
import {
|
|
26
|
+
GetRollingReleaseBillingStatusRequest,
|
|
27
|
+
GetRollingReleaseBillingStatusResponseBody,
|
|
28
|
+
} from "../models/getrollingreleasebillingstatusop.js";
|
|
24
29
|
import {
|
|
25
30
|
GetRollingReleaseConfigRequest,
|
|
26
31
|
GetRollingReleaseConfigResponseBody,
|
|
@@ -36,6 +41,23 @@ import {
|
|
|
36
41
|
import { unwrapAsync } from "../types/fp.js";
|
|
37
42
|
|
|
38
43
|
export class RollingRelease extends ClientSDK {
|
|
44
|
+
/**
|
|
45
|
+
* Get rolling release billing status
|
|
46
|
+
*
|
|
47
|
+
* @remarks
|
|
48
|
+
* Get the Rolling Releases billing status for a project. The team level billing status is used to determine if the project can be configured for rolling releases.
|
|
49
|
+
*/
|
|
50
|
+
async getRollingReleaseBillingStatus(
|
|
51
|
+
request: GetRollingReleaseBillingStatusRequest,
|
|
52
|
+
options?: RequestOptions,
|
|
53
|
+
): Promise<GetRollingReleaseBillingStatusResponseBody> {
|
|
54
|
+
return unwrapAsync(rollingReleaseGetRollingReleaseBillingStatus(
|
|
55
|
+
this,
|
|
56
|
+
request,
|
|
57
|
+
options,
|
|
58
|
+
));
|
|
59
|
+
}
|
|
60
|
+
|
|
39
61
|
/**
|
|
40
62
|
* Get rolling release configuration
|
|
41
63
|
*
|