@vercel/sdk 1.8.6 → 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.
Files changed (123) hide show
  1. package/README.md +3 -9
  2. package/bin/mcp-server.js +669 -1264
  3. package/bin/mcp-server.js.map +17 -26
  4. package/docs/sdks/marketplace/README.md +78 -310
  5. package/esm/__tests__/marketplace.test.js +7 -51
  6. package/esm/__tests__/marketplace.test.js.map +1 -1
  7. package/esm/lib/config.d.ts +3 -3
  8. package/esm/lib/config.js +3 -3
  9. package/esm/mcp-server/mcp-server.js +1 -1
  10. package/esm/mcp-server/server.d.ts.map +1 -1
  11. package/esm/mcp-server/server.js +2 -8
  12. package/esm/mcp-server/server.js.map +1 -1
  13. package/esm/models/approverollingreleasestageop.d.ts +36 -0
  14. package/esm/models/approverollingreleasestageop.d.ts.map +1 -1
  15. package/esm/models/approverollingreleasestageop.js +25 -0
  16. package/esm/models/approverollingreleasestageop.js.map +1 -1
  17. package/esm/models/completerollingreleaseop.d.ts +36 -0
  18. package/esm/models/completerollingreleaseop.d.ts.map +1 -1
  19. package/esm/models/completerollingreleaseop.js +24 -0
  20. package/esm/models/completerollingreleaseop.js.map +1 -1
  21. package/esm/models/createprojectop.d.ts +2 -0
  22. package/esm/models/createprojectop.d.ts.map +1 -1
  23. package/esm/models/createprojectop.js +2 -0
  24. package/esm/models/createprojectop.js.map +1 -1
  25. package/esm/models/getedgeconfigbackupop.d.ts +15 -15
  26. package/esm/models/getedgeconfigbackupop.d.ts.map +1 -1
  27. package/esm/models/getedgeconfigbackupop.js +15 -15
  28. package/esm/models/getedgeconfigbackupop.js.map +1 -1
  29. package/esm/models/getprojectsop.d.ts +2 -0
  30. package/esm/models/getprojectsop.d.ts.map +1 -1
  31. package/esm/models/getprojectsop.js +2 -0
  32. package/esm/models/getprojectsop.js.map +1 -1
  33. package/esm/models/getrollingreleaseop.d.ts +36 -0
  34. package/esm/models/getrollingreleaseop.d.ts.map +1 -1
  35. package/esm/models/getrollingreleaseop.js +24 -0
  36. package/esm/models/getrollingreleaseop.js.map +1 -1
  37. package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts +3 -3
  38. package/esm/models/getv9projectsidornamecustomenvironmentsop.js +1 -1
  39. package/esm/models/getv9projectsidornamecustomenvironmentsop.js.map +1 -1
  40. package/esm/models/importresourceop.d.ts +15 -15
  41. package/esm/models/importresourceop.d.ts.map +1 -1
  42. package/esm/models/importresourceop.js +15 -17
  43. package/esm/models/importresourceop.js.map +1 -1
  44. package/esm/models/updateprojectdatacacheop.d.ts +2 -0
  45. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  46. package/esm/models/updateprojectdatacacheop.js +2 -0
  47. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  48. package/esm/models/updateprojectop.d.ts +2 -0
  49. package/esm/models/updateprojectop.d.ts.map +1 -1
  50. package/esm/models/updateprojectop.js +2 -0
  51. package/esm/models/updateprojectop.js.map +1 -1
  52. package/esm/models/updateresourcesecretsop.d.ts +15 -15
  53. package/esm/models/updateresourcesecretsop.d.ts.map +1 -1
  54. package/esm/models/updateresourcesecretsop.js +17 -15
  55. package/esm/models/updateresourcesecretsop.js.map +1 -1
  56. package/esm/sdk/marketplace.d.ts +7 -31
  57. package/esm/sdk/marketplace.d.ts.map +1 -1
  58. package/esm/sdk/marketplace.js +9 -39
  59. package/esm/sdk/marketplace.js.map +1 -1
  60. package/jsr.json +1 -1
  61. package/package.json +1 -1
  62. package/src/__tests__/marketplace.test.ts +13 -57
  63. package/src/lib/config.ts +3 -3
  64. package/src/mcp-server/mcp-server.ts +1 -1
  65. package/src/mcp-server/server.ts +2 -8
  66. package/src/models/approverollingreleasestageop.ts +44 -0
  67. package/src/models/completerollingreleaseop.ts +45 -0
  68. package/src/models/createprojectop.ts +4 -0
  69. package/src/models/getedgeconfigbackupop.ts +24 -41
  70. package/src/models/getprojectsop.ts +4 -0
  71. package/src/models/getrollingreleaseop.ts +40 -0
  72. package/src/models/getv9projectsidornamecustomenvironmentsop.ts +1 -1
  73. package/src/models/importresourceop.ts +35 -27
  74. package/src/models/updateprojectdatacacheop.ts +4 -0
  75. package/src/models/updateprojectop.ts +4 -0
  76. package/src/models/updateresourcesecretsop.ts +33 -49
  77. package/src/sdk/marketplace.ts +17 -80
  78. package/vercel-spec.json +464 -880
  79. package/esm/funcs/marketplaceDeleteResource.d.ts +0 -20
  80. package/esm/funcs/marketplaceDeleteResource.d.ts.map +0 -1
  81. package/esm/funcs/marketplaceDeleteResource.js +0 -91
  82. package/esm/funcs/marketplaceDeleteResource.js.map +0 -1
  83. package/esm/funcs/marketplaceGetResource.d.ts +0 -20
  84. package/esm/funcs/marketplaceGetResource.d.ts.map +0 -1
  85. package/esm/funcs/marketplaceGetResource.js +0 -90
  86. package/esm/funcs/marketplaceGetResource.js.map +0 -1
  87. package/esm/funcs/marketplaceGetResources.d.ts +0 -20
  88. package/esm/funcs/marketplaceGetResources.d.ts.map +0 -1
  89. package/esm/funcs/marketplaceGetResources.js +0 -86
  90. package/esm/funcs/marketplaceGetResources.js.map +0 -1
  91. package/esm/mcp-server/tools/marketplaceDeleteResource.d.ts +0 -7
  92. package/esm/mcp-server/tools/marketplaceDeleteResource.d.ts.map +0 -1
  93. package/esm/mcp-server/tools/marketplaceDeleteResource.js +0 -27
  94. package/esm/mcp-server/tools/marketplaceDeleteResource.js.map +0 -1
  95. package/esm/mcp-server/tools/marketplaceGetResource.d.ts +0 -7
  96. package/esm/mcp-server/tools/marketplaceGetResource.d.ts.map +0 -1
  97. package/esm/mcp-server/tools/marketplaceGetResource.js +0 -28
  98. package/esm/mcp-server/tools/marketplaceGetResource.js.map +0 -1
  99. package/esm/mcp-server/tools/marketplaceGetResources.d.ts +0 -7
  100. package/esm/mcp-server/tools/marketplaceGetResources.d.ts.map +0 -1
  101. package/esm/mcp-server/tools/marketplaceGetResources.js +0 -28
  102. package/esm/mcp-server/tools/marketplaceGetResources.js.map +0 -1
  103. package/esm/models/deleteresourceop.d.ts +0 -31
  104. package/esm/models/deleteresourceop.d.ts.map +0 -1
  105. package/esm/models/deleteresourceop.js +0 -33
  106. package/esm/models/deleteresourceop.js.map +0 -1
  107. package/esm/models/getresourceop.d.ts +0 -293
  108. package/esm/models/getresourceop.d.ts.map +0 -1
  109. package/esm/models/getresourceop.js +0 -250
  110. package/esm/models/getresourceop.js.map +0 -1
  111. package/esm/models/getresourcesop.d.ts +0 -310
  112. package/esm/models/getresourcesop.d.ts.map +0 -1
  113. package/esm/models/getresourcesop.js +0 -278
  114. package/esm/models/getresourcesop.js.map +0 -1
  115. package/src/funcs/marketplaceDeleteResource.ts +0 -205
  116. package/src/funcs/marketplaceGetResource.ts +0 -206
  117. package/src/funcs/marketplaceGetResources.ts +0 -202
  118. package/src/mcp-server/tools/marketplaceDeleteResource.ts +0 -35
  119. package/src/mcp-server/tools/marketplaceGetResource.ts +0 -37
  120. package/src/mcp-server/tools/marketplaceGetResources.ts +0 -37
  121. package/src/models/deleteresourceop.ts +0 -70
  122. package/src/models/getresourceop.ts +0 -545
  123. package/src/models/getresourcesop.ts +0 -604
@@ -143,6 +143,20 @@ export type CompleteRollingReleaseCanaryDeployment = {
143
143
  readyStateAt?: number | undefined;
144
144
  };
145
145
 
146
+ /**
147
+ * The advancement type of the rolling release
148
+ */
149
+ export const CompleteRollingReleaseAdvancementType = {
150
+ Automatic: "automatic",
151
+ ManualApproval: "manual-approval",
152
+ } as const;
153
+ /**
154
+ * The advancement type of the rolling release
155
+ */
156
+ export type CompleteRollingReleaseAdvancementType = ClosedEnum<
157
+ typeof CompleteRollingReleaseAdvancementType
158
+ >;
159
+
146
160
  /**
147
161
  * All stages configured for this rolling release
148
162
  */
@@ -241,6 +255,10 @@ export type CompleteRollingReleaseRollingRelease = {
241
255
  * The ID of a deployment queued for the next rolling release
242
256
  */
243
257
  queuedDeploymentId: string | null;
258
+ /**
259
+ * The advancement type of the rolling release
260
+ */
261
+ advancementType: CompleteRollingReleaseAdvancementType;
244
262
  /**
245
263
  * All stages configured for this rolling release
246
264
  */
@@ -727,6 +745,30 @@ export function completeRollingReleaseCanaryDeploymentFromJSON(
727
745
  );
728
746
  }
729
747
 
748
+ /** @internal */
749
+ export const CompleteRollingReleaseAdvancementType$inboundSchema:
750
+ z.ZodNativeEnum<typeof CompleteRollingReleaseAdvancementType> = z.nativeEnum(
751
+ CompleteRollingReleaseAdvancementType,
752
+ );
753
+
754
+ /** @internal */
755
+ export const CompleteRollingReleaseAdvancementType$outboundSchema:
756
+ z.ZodNativeEnum<typeof CompleteRollingReleaseAdvancementType> =
757
+ CompleteRollingReleaseAdvancementType$inboundSchema;
758
+
759
+ /**
760
+ * @internal
761
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
762
+ */
763
+ export namespace CompleteRollingReleaseAdvancementType$ {
764
+ /** @deprecated use `CompleteRollingReleaseAdvancementType$inboundSchema` instead. */
765
+ export const inboundSchema =
766
+ CompleteRollingReleaseAdvancementType$inboundSchema;
767
+ /** @deprecated use `CompleteRollingReleaseAdvancementType$outboundSchema` instead. */
768
+ export const outboundSchema =
769
+ CompleteRollingReleaseAdvancementType$outboundSchema;
770
+ }
771
+
730
772
  /** @internal */
731
773
  export const CompleteRollingReleaseStages$inboundSchema: z.ZodType<
732
774
  CompleteRollingReleaseStages,
@@ -946,6 +988,7 @@ export const CompleteRollingReleaseRollingRelease$inboundSchema: z.ZodType<
946
988
  z.lazy(() => CompleteRollingReleaseCanaryDeployment$inboundSchema),
947
989
  ),
948
990
  queuedDeploymentId: z.nullable(z.string()),
991
+ advancementType: CompleteRollingReleaseAdvancementType$inboundSchema,
949
992
  stages: z.array(z.lazy(() => CompleteRollingReleaseStages$inboundSchema)),
950
993
  activeStage: z.nullable(
951
994
  z.lazy(() => CompleteRollingReleaseActiveStage$inboundSchema),
@@ -963,6 +1006,7 @@ export type CompleteRollingReleaseRollingRelease$Outbound = {
963
1006
  currentDeployment: CompleteRollingReleaseCurrentDeployment$Outbound | null;
964
1007
  canaryDeployment: CompleteRollingReleaseCanaryDeployment$Outbound | null;
965
1008
  queuedDeploymentId: string | null;
1009
+ advancementType: string;
966
1010
  stages: Array<CompleteRollingReleaseStages$Outbound>;
967
1011
  activeStage: CompleteRollingReleaseActiveStage$Outbound | null;
968
1012
  nextStage: CompleteRollingReleaseNextStage$Outbound | null;
@@ -984,6 +1028,7 @@ export const CompleteRollingReleaseRollingRelease$outboundSchema: z.ZodType<
984
1028
  z.lazy(() => CompleteRollingReleaseCanaryDeployment$outboundSchema),
985
1029
  ),
986
1030
  queuedDeploymentId: z.nullable(z.string()),
1031
+ advancementType: CompleteRollingReleaseAdvancementType$outboundSchema,
987
1032
  stages: z.array(z.lazy(() => CompleteRollingReleaseStages$outboundSchema)),
988
1033
  activeStage: z.nullable(
989
1034
  z.lazy(() => CompleteRollingReleaseActiveStage$outboundSchema),
@@ -1686,6 +1686,7 @@ export type CreateProjectPermissions = {
1686
1686
  notificationMonitoringAlert?: Array<ACLAction> | undefined;
1687
1687
  notificationPaymentFailed?: Array<ACLAction> | undefined;
1688
1688
  notificationUsageAlert?: Array<ACLAction> | undefined;
1689
+ notificationPreferences?: Array<ACLAction> | undefined;
1689
1690
  notificationCustomerBudget?: Array<ACLAction> | undefined;
1690
1691
  notificationStatementOfReasons?: Array<ACLAction> | undefined;
1691
1692
  observabilityConfiguration?: Array<ACLAction> | undefined;
@@ -8991,6 +8992,7 @@ export const CreateProjectPermissions$inboundSchema: z.ZodType<
8991
8992
  NotificationMonitoringAlert: z.array(ACLAction$inboundSchema).optional(),
8992
8993
  notificationPaymentFailed: z.array(ACLAction$inboundSchema).optional(),
8993
8994
  notificationUsageAlert: z.array(ACLAction$inboundSchema).optional(),
8995
+ notificationPreferences: z.array(ACLAction$inboundSchema).optional(),
8994
8996
  notificationCustomerBudget: z.array(ACLAction$inboundSchema).optional(),
8995
8997
  notificationStatementOfReasons: z.array(ACLAction$inboundSchema).optional(),
8996
8998
  observabilityConfiguration: z.array(ACLAction$inboundSchema).optional(),
@@ -9204,6 +9206,7 @@ export type CreateProjectPermissions$Outbound = {
9204
9206
  NotificationMonitoringAlert?: Array<string> | undefined;
9205
9207
  notificationPaymentFailed?: Array<string> | undefined;
9206
9208
  notificationUsageAlert?: Array<string> | undefined;
9209
+ notificationPreferences?: Array<string> | undefined;
9207
9210
  notificationCustomerBudget?: Array<string> | undefined;
9208
9211
  notificationStatementOfReasons?: Array<string> | undefined;
9209
9212
  observabilityConfiguration?: Array<string> | undefined;
@@ -9422,6 +9425,7 @@ export const CreateProjectPermissions$outboundSchema: z.ZodType<
9422
9425
  notificationMonitoringAlert: z.array(ACLAction$outboundSchema).optional(),
9423
9426
  notificationPaymentFailed: z.array(ACLAction$outboundSchema).optional(),
9424
9427
  notificationUsageAlert: z.array(ACLAction$outboundSchema).optional(),
9428
+ notificationPreferences: z.array(ACLAction$outboundSchema).optional(),
9425
9429
  notificationCustomerBudget: z.array(ACLAction$outboundSchema).optional(),
9426
9430
  notificationStatementOfReasons: z.array(ACLAction$outboundSchema).optional(),
9427
9431
  observabilityConfiguration: z.array(ACLAction$outboundSchema).optional(),
@@ -83,7 +83,7 @@ export type Backup = {
83
83
  updatedAt: number;
84
84
  };
85
85
 
86
- export type GetEdgeConfigBackupResponseBodyMetadata = {
86
+ export type Metadata = {
87
87
  updatedAt?: string | undefined;
88
88
  updatedBy?: string | undefined;
89
89
  itemsCount?: number | undefined;
@@ -105,7 +105,7 @@ export type GetEdgeConfigBackupResponseBody1 = {
105
105
  id: string;
106
106
  lastModified: number;
107
107
  backup: Backup;
108
- metadata: GetEdgeConfigBackupResponseBodyMetadata;
108
+ metadata: Metadata;
109
109
  user?: GetEdgeConfigBackupResponseBodyUser | undefined;
110
110
  };
111
111
 
@@ -628,8 +628,8 @@ export function backupFromJSON(
628
628
  }
629
629
 
630
630
  /** @internal */
631
- export const GetEdgeConfigBackupResponseBodyMetadata$inboundSchema: z.ZodType<
632
- GetEdgeConfigBackupResponseBodyMetadata,
631
+ export const Metadata$inboundSchema: z.ZodType<
632
+ Metadata,
633
633
  z.ZodTypeDef,
634
634
  unknown
635
635
  > = z.object({
@@ -640,7 +640,7 @@ export const GetEdgeConfigBackupResponseBodyMetadata$inboundSchema: z.ZodType<
640
640
  });
641
641
 
642
642
  /** @internal */
643
- export type GetEdgeConfigBackupResponseBodyMetadata$Outbound = {
643
+ export type Metadata$Outbound = {
644
644
  updatedAt?: string | undefined;
645
645
  updatedBy?: string | undefined;
646
646
  itemsCount?: number | undefined;
@@ -648,10 +648,10 @@ export type GetEdgeConfigBackupResponseBodyMetadata$Outbound = {
648
648
  };
649
649
 
650
650
  /** @internal */
651
- export const GetEdgeConfigBackupResponseBodyMetadata$outboundSchema: z.ZodType<
652
- GetEdgeConfigBackupResponseBodyMetadata$Outbound,
651
+ export const Metadata$outboundSchema: z.ZodType<
652
+ Metadata$Outbound,
653
653
  z.ZodTypeDef,
654
- GetEdgeConfigBackupResponseBodyMetadata
654
+ Metadata
655
655
  > = z.object({
656
656
  updatedAt: z.string().optional(),
657
657
  updatedBy: z.string().optional(),
@@ -663,41 +663,26 @@ export const GetEdgeConfigBackupResponseBodyMetadata$outboundSchema: z.ZodType<
663
663
  * @internal
664
664
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
665
665
  */
666
- export namespace GetEdgeConfigBackupResponseBodyMetadata$ {
667
- /** @deprecated use `GetEdgeConfigBackupResponseBodyMetadata$inboundSchema` instead. */
668
- export const inboundSchema =
669
- GetEdgeConfigBackupResponseBodyMetadata$inboundSchema;
670
- /** @deprecated use `GetEdgeConfigBackupResponseBodyMetadata$outboundSchema` instead. */
671
- export const outboundSchema =
672
- GetEdgeConfigBackupResponseBodyMetadata$outboundSchema;
673
- /** @deprecated use `GetEdgeConfigBackupResponseBodyMetadata$Outbound` instead. */
674
- export type Outbound = GetEdgeConfigBackupResponseBodyMetadata$Outbound;
666
+ export namespace Metadata$ {
667
+ /** @deprecated use `Metadata$inboundSchema` instead. */
668
+ export const inboundSchema = Metadata$inboundSchema;
669
+ /** @deprecated use `Metadata$outboundSchema` instead. */
670
+ export const outboundSchema = Metadata$outboundSchema;
671
+ /** @deprecated use `Metadata$Outbound` instead. */
672
+ export type Outbound = Metadata$Outbound;
675
673
  }
676
674
 
677
- export function getEdgeConfigBackupResponseBodyMetadataToJSON(
678
- getEdgeConfigBackupResponseBodyMetadata:
679
- GetEdgeConfigBackupResponseBodyMetadata,
680
- ): string {
681
- return JSON.stringify(
682
- GetEdgeConfigBackupResponseBodyMetadata$outboundSchema.parse(
683
- getEdgeConfigBackupResponseBodyMetadata,
684
- ),
685
- );
675
+ export function metadataToJSON(metadata: Metadata): string {
676
+ return JSON.stringify(Metadata$outboundSchema.parse(metadata));
686
677
  }
687
678
 
688
- export function getEdgeConfigBackupResponseBodyMetadataFromJSON(
679
+ export function metadataFromJSON(
689
680
  jsonString: string,
690
- ): SafeParseResult<
691
- GetEdgeConfigBackupResponseBodyMetadata,
692
- SDKValidationError
693
- > {
681
+ ): SafeParseResult<Metadata, SDKValidationError> {
694
682
  return safeParse(
695
683
  jsonString,
696
- (x) =>
697
- GetEdgeConfigBackupResponseBodyMetadata$inboundSchema.parse(
698
- JSON.parse(x),
699
- ),
700
- `Failed to parse 'GetEdgeConfigBackupResponseBodyMetadata' from JSON`,
684
+ (x) => Metadata$inboundSchema.parse(JSON.parse(x)),
685
+ `Failed to parse 'Metadata' from JSON`,
701
686
  );
702
687
  }
703
688
 
@@ -781,7 +766,7 @@ export const GetEdgeConfigBackupResponseBody1$inboundSchema: z.ZodType<
781
766
  id: z.string(),
782
767
  lastModified: z.number(),
783
768
  backup: z.lazy(() => Backup$inboundSchema),
784
- metadata: z.lazy(() => GetEdgeConfigBackupResponseBodyMetadata$inboundSchema),
769
+ metadata: z.lazy(() => Metadata$inboundSchema),
785
770
  user: z.lazy(() => GetEdgeConfigBackupResponseBodyUser$inboundSchema)
786
771
  .optional(),
787
772
  });
@@ -791,7 +776,7 @@ export type GetEdgeConfigBackupResponseBody1$Outbound = {
791
776
  id: string;
792
777
  lastModified: number;
793
778
  backup: Backup$Outbound;
794
- metadata: GetEdgeConfigBackupResponseBodyMetadata$Outbound;
779
+ metadata: Metadata$Outbound;
795
780
  user?: GetEdgeConfigBackupResponseBodyUser$Outbound | undefined;
796
781
  };
797
782
 
@@ -804,9 +789,7 @@ export const GetEdgeConfigBackupResponseBody1$outboundSchema: z.ZodType<
804
789
  id: z.string(),
805
790
  lastModified: z.number(),
806
791
  backup: z.lazy(() => Backup$outboundSchema),
807
- metadata: z.lazy(() =>
808
- GetEdgeConfigBackupResponseBodyMetadata$outboundSchema
809
- ),
792
+ metadata: z.lazy(() => Metadata$outboundSchema),
810
793
  user: z.lazy(() => GetEdgeConfigBackupResponseBodyUser$outboundSchema)
811
794
  .optional(),
812
795
  });
@@ -1446,6 +1446,7 @@ export type GetProjectsPermissions = {
1446
1446
  notificationMonitoringAlert?: Array<ACLAction> | undefined;
1447
1447
  notificationPaymentFailed?: Array<ACLAction> | undefined;
1448
1448
  notificationUsageAlert?: Array<ACLAction> | undefined;
1449
+ notificationPreferences?: Array<ACLAction> | undefined;
1449
1450
  notificationCustomerBudget?: Array<ACLAction> | undefined;
1450
1451
  notificationStatementOfReasons?: Array<ACLAction> | undefined;
1451
1452
  observabilityConfiguration?: Array<ACLAction> | undefined;
@@ -8146,6 +8147,7 @@ export const GetProjectsPermissions$inboundSchema: z.ZodType<
8146
8147
  NotificationMonitoringAlert: z.array(ACLAction$inboundSchema).optional(),
8147
8148
  notificationPaymentFailed: z.array(ACLAction$inboundSchema).optional(),
8148
8149
  notificationUsageAlert: z.array(ACLAction$inboundSchema).optional(),
8150
+ notificationPreferences: z.array(ACLAction$inboundSchema).optional(),
8149
8151
  notificationCustomerBudget: z.array(ACLAction$inboundSchema).optional(),
8150
8152
  notificationStatementOfReasons: z.array(ACLAction$inboundSchema).optional(),
8151
8153
  observabilityConfiguration: z.array(ACLAction$inboundSchema).optional(),
@@ -8359,6 +8361,7 @@ export type GetProjectsPermissions$Outbound = {
8359
8361
  NotificationMonitoringAlert?: Array<string> | undefined;
8360
8362
  notificationPaymentFailed?: Array<string> | undefined;
8361
8363
  notificationUsageAlert?: Array<string> | undefined;
8364
+ notificationPreferences?: Array<string> | undefined;
8362
8365
  notificationCustomerBudget?: Array<string> | undefined;
8363
8366
  notificationStatementOfReasons?: Array<string> | undefined;
8364
8367
  observabilityConfiguration?: Array<string> | undefined;
@@ -8577,6 +8580,7 @@ export const GetProjectsPermissions$outboundSchema: z.ZodType<
8577
8580
  notificationMonitoringAlert: z.array(ACLAction$outboundSchema).optional(),
8578
8581
  notificationPaymentFailed: z.array(ACLAction$outboundSchema).optional(),
8579
8582
  notificationUsageAlert: z.array(ACLAction$outboundSchema).optional(),
8583
+ notificationPreferences: z.array(ACLAction$outboundSchema).optional(),
8580
8584
  notificationCustomerBudget: z.array(ACLAction$outboundSchema).optional(),
8581
8585
  notificationStatementOfReasons: z.array(ACLAction$outboundSchema).optional(),
8582
8586
  observabilityConfiguration: z.array(ACLAction$outboundSchema).optional(),
@@ -149,6 +149,18 @@ export type CanaryDeployment = {
149
149
  readyStateAt?: number | undefined;
150
150
  };
151
151
 
152
+ /**
153
+ * The advancement type of the rolling release
154
+ */
155
+ export const AdvancementType = {
156
+ Automatic: "automatic",
157
+ ManualApproval: "manual-approval",
158
+ } as const;
159
+ /**
160
+ * The advancement type of the rolling release
161
+ */
162
+ export type AdvancementType = ClosedEnum<typeof AdvancementType>;
163
+
152
164
  /**
153
165
  * All stages configured for this rolling release
154
166
  */
@@ -247,6 +259,10 @@ export type GetRollingReleaseRollingRelease = {
247
259
  * The ID of a deployment queued for the next rolling release
248
260
  */
249
261
  queuedDeploymentId: string | null;
262
+ /**
263
+ * The advancement type of the rolling release
264
+ */
265
+ advancementType: AdvancementType;
250
266
  /**
251
267
  * All stages configured for this rolling release
252
268
  */
@@ -669,6 +685,27 @@ export function canaryDeploymentFromJSON(
669
685
  );
670
686
  }
671
687
 
688
+ /** @internal */
689
+ export const AdvancementType$inboundSchema: z.ZodNativeEnum<
690
+ typeof AdvancementType
691
+ > = z.nativeEnum(AdvancementType);
692
+
693
+ /** @internal */
694
+ export const AdvancementType$outboundSchema: z.ZodNativeEnum<
695
+ typeof AdvancementType
696
+ > = AdvancementType$inboundSchema;
697
+
698
+ /**
699
+ * @internal
700
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
701
+ */
702
+ export namespace AdvancementType$ {
703
+ /** @deprecated use `AdvancementType$inboundSchema` instead. */
704
+ export const inboundSchema = AdvancementType$inboundSchema;
705
+ /** @deprecated use `AdvancementType$outboundSchema` instead. */
706
+ export const outboundSchema = AdvancementType$outboundSchema;
707
+ }
708
+
672
709
  /** @internal */
673
710
  export const GetRollingReleaseStages$inboundSchema: z.ZodType<
674
711
  GetRollingReleaseStages,
@@ -869,6 +906,7 @@ export const GetRollingReleaseRollingRelease$inboundSchema: z.ZodType<
869
906
  currentDeployment: z.nullable(z.lazy(() => CurrentDeployment$inboundSchema)),
870
907
  canaryDeployment: z.nullable(z.lazy(() => CanaryDeployment$inboundSchema)),
871
908
  queuedDeploymentId: z.nullable(z.string()),
909
+ advancementType: AdvancementType$inboundSchema,
872
910
  stages: z.array(z.lazy(() => GetRollingReleaseStages$inboundSchema)),
873
911
  activeStage: z.nullable(z.lazy(() => ActiveStage$inboundSchema)),
874
912
  nextStage: z.nullable(z.lazy(() => NextStage$inboundSchema)),
@@ -882,6 +920,7 @@ export type GetRollingReleaseRollingRelease$Outbound = {
882
920
  currentDeployment: CurrentDeployment$Outbound | null;
883
921
  canaryDeployment: CanaryDeployment$Outbound | null;
884
922
  queuedDeploymentId: string | null;
923
+ advancementType: string;
885
924
  stages: Array<GetRollingReleaseStages$Outbound>;
886
925
  activeStage: ActiveStage$Outbound | null;
887
926
  nextStage: NextStage$Outbound | null;
@@ -899,6 +938,7 @@ export const GetRollingReleaseRollingRelease$outboundSchema: z.ZodType<
899
938
  currentDeployment: z.nullable(z.lazy(() => CurrentDeployment$outboundSchema)),
900
939
  canaryDeployment: z.nullable(z.lazy(() => CanaryDeployment$outboundSchema)),
901
940
  queuedDeploymentId: z.nullable(z.string()),
941
+ advancementType: AdvancementType$outboundSchema,
902
942
  stages: z.array(z.lazy(() => GetRollingReleaseStages$outboundSchema)),
903
943
  activeStage: z.nullable(z.lazy(() => ActiveStage$outboundSchema)),
904
944
  nextStage: z.nullable(z.lazy(() => NextStage$outboundSchema)),
@@ -53,9 +53,9 @@ export type GetV9ProjectsIdOrNameCustomEnvironmentsType = ClosedEnum<
53
53
  * The type of matching to perform
54
54
  */
55
55
  export const GetV9ProjectsIdOrNameCustomEnvironmentsEnvironmentType = {
56
- EndsWith: "endsWith",
57
56
  StartsWith: "startsWith",
58
57
  Equals: "equals",
58
+ EndsWith: "endsWith",
59
59
  } as const;
60
60
  /**
61
61
  * The type of matching to perform
@@ -68,7 +68,7 @@ export type Notification = {
68
68
  /**
69
69
  * A map of environments to override values for the secret, used for setting different values across deployments in production, preview, and development environments. Note: the same value will be used for all deployments in the given environment.
70
70
  */
71
- export type EnvironmentOverrides = {
71
+ export type ImportResourceEnvironmentOverrides = {
72
72
  /**
73
73
  * Value used for development environment.
74
74
  */
@@ -90,7 +90,7 @@ export type ImportResourceSecrets = {
90
90
  /**
91
91
  * A map of environments to override values for the secret, used for setting different values across deployments in production, preview, and development environments. Note: the same value will be used for all deployments in the given environment.
92
92
  */
93
- environmentOverrides?: EnvironmentOverrides | undefined;
93
+ environmentOverrides?: ImportResourceEnvironmentOverrides | undefined;
94
94
  };
95
95
 
96
96
  export type ImportResourceRequestBody = {
@@ -433,8 +433,8 @@ export function notificationFromJSON(
433
433
  }
434
434
 
435
435
  /** @internal */
436
- export const EnvironmentOverrides$inboundSchema: z.ZodType<
437
- EnvironmentOverrides,
436
+ export const ImportResourceEnvironmentOverrides$inboundSchema: z.ZodType<
437
+ ImportResourceEnvironmentOverrides,
438
438
  z.ZodTypeDef,
439
439
  unknown
440
440
  > = z.object({
@@ -444,17 +444,17 @@ export const EnvironmentOverrides$inboundSchema: z.ZodType<
444
444
  });
445
445
 
446
446
  /** @internal */
447
- export type EnvironmentOverrides$Outbound = {
447
+ export type ImportResourceEnvironmentOverrides$Outbound = {
448
448
  development?: string | undefined;
449
449
  preview?: string | undefined;
450
450
  production?: string | undefined;
451
451
  };
452
452
 
453
453
  /** @internal */
454
- export const EnvironmentOverrides$outboundSchema: z.ZodType<
455
- EnvironmentOverrides$Outbound,
454
+ export const ImportResourceEnvironmentOverrides$outboundSchema: z.ZodType<
455
+ ImportResourceEnvironmentOverrides$Outbound,
456
456
  z.ZodTypeDef,
457
- EnvironmentOverrides
457
+ ImportResourceEnvironmentOverrides
458
458
  > = z.object({
459
459
  development: z.string().optional(),
460
460
  preview: z.string().optional(),
@@ -465,30 +465,34 @@ export const EnvironmentOverrides$outboundSchema: z.ZodType<
465
465
  * @internal
466
466
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
467
467
  */
468
- export namespace EnvironmentOverrides$ {
469
- /** @deprecated use `EnvironmentOverrides$inboundSchema` instead. */
470
- export const inboundSchema = EnvironmentOverrides$inboundSchema;
471
- /** @deprecated use `EnvironmentOverrides$outboundSchema` instead. */
472
- export const outboundSchema = EnvironmentOverrides$outboundSchema;
473
- /** @deprecated use `EnvironmentOverrides$Outbound` instead. */
474
- export type Outbound = EnvironmentOverrides$Outbound;
468
+ export namespace ImportResourceEnvironmentOverrides$ {
469
+ /** @deprecated use `ImportResourceEnvironmentOverrides$inboundSchema` instead. */
470
+ export const inboundSchema = ImportResourceEnvironmentOverrides$inboundSchema;
471
+ /** @deprecated use `ImportResourceEnvironmentOverrides$outboundSchema` instead. */
472
+ export const outboundSchema =
473
+ ImportResourceEnvironmentOverrides$outboundSchema;
474
+ /** @deprecated use `ImportResourceEnvironmentOverrides$Outbound` instead. */
475
+ export type Outbound = ImportResourceEnvironmentOverrides$Outbound;
475
476
  }
476
477
 
477
- export function environmentOverridesToJSON(
478
- environmentOverrides: EnvironmentOverrides,
478
+ export function importResourceEnvironmentOverridesToJSON(
479
+ importResourceEnvironmentOverrides: ImportResourceEnvironmentOverrides,
479
480
  ): string {
480
481
  return JSON.stringify(
481
- EnvironmentOverrides$outboundSchema.parse(environmentOverrides),
482
+ ImportResourceEnvironmentOverrides$outboundSchema.parse(
483
+ importResourceEnvironmentOverrides,
484
+ ),
482
485
  );
483
486
  }
484
487
 
485
- export function environmentOverridesFromJSON(
488
+ export function importResourceEnvironmentOverridesFromJSON(
486
489
  jsonString: string,
487
- ): SafeParseResult<EnvironmentOverrides, SDKValidationError> {
490
+ ): SafeParseResult<ImportResourceEnvironmentOverrides, SDKValidationError> {
488
491
  return safeParse(
489
492
  jsonString,
490
- (x) => EnvironmentOverrides$inboundSchema.parse(JSON.parse(x)),
491
- `Failed to parse 'EnvironmentOverrides' from JSON`,
493
+ (x) =>
494
+ ImportResourceEnvironmentOverrides$inboundSchema.parse(JSON.parse(x)),
495
+ `Failed to parse 'ImportResourceEnvironmentOverrides' from JSON`,
492
496
  );
493
497
  }
494
498
 
@@ -501,8 +505,9 @@ export const ImportResourceSecrets$inboundSchema: z.ZodType<
501
505
  name: z.string(),
502
506
  value: z.string(),
503
507
  prefix: z.string().optional(),
504
- environmentOverrides: z.lazy(() => EnvironmentOverrides$inboundSchema)
505
- .optional(),
508
+ environmentOverrides: z.lazy(() =>
509
+ ImportResourceEnvironmentOverrides$inboundSchema
510
+ ).optional(),
506
511
  });
507
512
 
508
513
  /** @internal */
@@ -510,7 +515,9 @@ export type ImportResourceSecrets$Outbound = {
510
515
  name: string;
511
516
  value: string;
512
517
  prefix?: string | undefined;
513
- environmentOverrides?: EnvironmentOverrides$Outbound | undefined;
518
+ environmentOverrides?:
519
+ | ImportResourceEnvironmentOverrides$Outbound
520
+ | undefined;
514
521
  };
515
522
 
516
523
  /** @internal */
@@ -522,8 +529,9 @@ export const ImportResourceSecrets$outboundSchema: z.ZodType<
522
529
  name: z.string(),
523
530
  value: z.string(),
524
531
  prefix: z.string().optional(),
525
- environmentOverrides: z.lazy(() => EnvironmentOverrides$outboundSchema)
526
- .optional(),
532
+ environmentOverrides: z.lazy(() =>
533
+ ImportResourceEnvironmentOverrides$outboundSchema
534
+ ).optional(),
527
535
  });
528
536
 
529
537
  /**
@@ -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;
@@ -8078,6 +8079,7 @@ export const Permissions$inboundSchema: z.ZodType<
8078
8079
  NotificationMonitoringAlert: z.array(ACLAction$inboundSchema).optional(),
8079
8080
  notificationPaymentFailed: z.array(ACLAction$inboundSchema).optional(),
8080
8081
  notificationUsageAlert: z.array(ACLAction$inboundSchema).optional(),
8082
+ notificationPreferences: z.array(ACLAction$inboundSchema).optional(),
8081
8083
  notificationCustomerBudget: z.array(ACLAction$inboundSchema).optional(),
8082
8084
  notificationStatementOfReasons: z.array(ACLAction$inboundSchema).optional(),
8083
8085
  observabilityConfiguration: z.array(ACLAction$inboundSchema).optional(),
@@ -8293,6 +8295,7 @@ export type Permissions$Outbound = {
8293
8295
  NotificationMonitoringAlert?: Array<string> | undefined;
8294
8296
  notificationPaymentFailed?: Array<string> | undefined;
8295
8297
  notificationUsageAlert?: Array<string> | undefined;
8298
+ notificationPreferences?: Array<string> | undefined;
8296
8299
  notificationCustomerBudget?: Array<string> | undefined;
8297
8300
  notificationStatementOfReasons?: Array<string> | undefined;
8298
8301
  observabilityConfiguration?: Array<string> | undefined;
@@ -8509,6 +8512,7 @@ export const Permissions$outboundSchema: z.ZodType<
8509
8512
  notificationMonitoringAlert: z.array(ACLAction$outboundSchema).optional(),
8510
8513
  notificationPaymentFailed: z.array(ACLAction$outboundSchema).optional(),
8511
8514
  notificationUsageAlert: z.array(ACLAction$outboundSchema).optional(),
8515
+ notificationPreferences: z.array(ACLAction$outboundSchema).optional(),
8512
8516
  notificationCustomerBudget: z.array(ACLAction$outboundSchema).optional(),
8513
8517
  notificationStatementOfReasons: z.array(ACLAction$outboundSchema).optional(),
8514
8518
  observabilityConfiguration: z.array(ACLAction$outboundSchema).optional(),
@@ -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;
@@ -9477,6 +9478,7 @@ export const UpdateProjectPermissions$inboundSchema: z.ZodType<
9477
9478
  NotificationMonitoringAlert: z.array(ACLAction$inboundSchema).optional(),
9478
9479
  notificationPaymentFailed: z.array(ACLAction$inboundSchema).optional(),
9479
9480
  notificationUsageAlert: z.array(ACLAction$inboundSchema).optional(),
9481
+ notificationPreferences: z.array(ACLAction$inboundSchema).optional(),
9480
9482
  notificationCustomerBudget: z.array(ACLAction$inboundSchema).optional(),
9481
9483
  notificationStatementOfReasons: z.array(ACLAction$inboundSchema).optional(),
9482
9484
  observabilityConfiguration: z.array(ACLAction$inboundSchema).optional(),
@@ -9690,6 +9692,7 @@ export type UpdateProjectPermissions$Outbound = {
9690
9692
  NotificationMonitoringAlert?: Array<string> | undefined;
9691
9693
  notificationPaymentFailed?: Array<string> | undefined;
9692
9694
  notificationUsageAlert?: Array<string> | undefined;
9695
+ notificationPreferences?: Array<string> | undefined;
9693
9696
  notificationCustomerBudget?: Array<string> | undefined;
9694
9697
  notificationStatementOfReasons?: Array<string> | undefined;
9695
9698
  observabilityConfiguration?: Array<string> | undefined;
@@ -9908,6 +9911,7 @@ export const UpdateProjectPermissions$outboundSchema: z.ZodType<
9908
9911
  notificationMonitoringAlert: z.array(ACLAction$outboundSchema).optional(),
9909
9912
  notificationPaymentFailed: z.array(ACLAction$outboundSchema).optional(),
9910
9913
  notificationUsageAlert: z.array(ACLAction$outboundSchema).optional(),
9914
+ notificationPreferences: z.array(ACLAction$outboundSchema).optional(),
9911
9915
  notificationCustomerBudget: z.array(ACLAction$outboundSchema).optional(),
9912
9916
  notificationStatementOfReasons: z.array(ACLAction$outboundSchema).optional(),
9913
9917
  observabilityConfiguration: z.array(ACLAction$outboundSchema).optional(),