@vercel/sdk 1.6.7 → 1.6.9

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 (162) hide show
  1. package/README.md +17 -29
  2. package/bin/mcp-server.js +2689 -996
  3. package/bin/mcp-server.js.map +33 -30
  4. package/docs/sdks/vercel/README.md +77 -0
  5. package/esm/__tests__/environment.test.js +28 -4
  6. package/esm/__tests__/environment.test.js.map +1 -1
  7. package/esm/__tests__/projects.test.js +13 -15
  8. package/esm/__tests__/projects.test.js.map +1 -1
  9. package/esm/__tests__/vercel.test.d.ts +2 -0
  10. package/esm/__tests__/vercel.test.d.ts.map +1 -0
  11. package/esm/__tests__/vercel.test.js +21 -0
  12. package/esm/__tests__/vercel.test.js.map +1 -0
  13. package/esm/funcs/marketplaceUpdateResourceSecretsById.js +2 -2
  14. package/esm/funcs/marketplaceUpdateResourceSecretsById.js.map +1 -1
  15. package/esm/funcs/patchAliasesIdProtectionBypass.d.ts +18 -0
  16. package/esm/funcs/patchAliasesIdProtectionBypass.d.ts.map +1 -0
  17. package/esm/funcs/patchAliasesIdProtectionBypass.js +81 -0
  18. package/esm/funcs/patchAliasesIdProtectionBypass.js.map +1 -0
  19. package/esm/lib/config.d.ts +3 -3
  20. package/esm/lib/config.js +3 -3
  21. package/esm/lib/sdks.d.ts +3 -1
  22. package/esm/lib/sdks.d.ts.map +1 -1
  23. package/esm/lib/sdks.js +6 -11
  24. package/esm/lib/sdks.js.map +1 -1
  25. package/esm/mcp-server/mcp-server.js +1 -1
  26. package/esm/mcp-server/server.d.ts.map +1 -1
  27. package/esm/mcp-server/server.js +3 -1
  28. package/esm/mcp-server/server.js.map +1 -1
  29. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.d.ts +7 -0
  30. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.d.ts.map +1 -0
  31. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.js +26 -0
  32. package/esm/mcp-server/tools/patchAliasesIdProtectionBypass.js.map +1 -0
  33. package/esm/models/authuser.d.ts +0 -8
  34. package/esm/models/authuser.d.ts.map +1 -1
  35. package/esm/models/authuser.js +0 -3
  36. package/esm/models/authuser.js.map +1 -1
  37. package/esm/models/canceldeploymentop.d.ts +268 -26
  38. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  39. package/esm/models/canceldeploymentop.js +194 -24
  40. package/esm/models/canceldeploymentop.js.map +1 -1
  41. package/esm/models/createcustomenvironmentop.d.ts +244 -2
  42. package/esm/models/createcustomenvironmentop.d.ts.map +1 -1
  43. package/esm/models/createcustomenvironmentop.js +174 -2
  44. package/esm/models/createcustomenvironmentop.js.map +1 -1
  45. package/esm/models/createdeploymentop.d.ts +357 -58
  46. package/esm/models/createdeploymentop.d.ts.map +1 -1
  47. package/esm/models/createdeploymentop.js +290 -60
  48. package/esm/models/createdeploymentop.js.map +1 -1
  49. package/esm/models/createprojectenvop.d.ts +6 -6
  50. package/esm/models/createprojectenvop.js +2 -2
  51. package/esm/models/createprojectenvop.js.map +1 -1
  52. package/esm/models/createprojectop.d.ts +337 -80
  53. package/esm/models/createprojectop.d.ts.map +1 -1
  54. package/esm/models/createprojectop.js +256 -78
  55. package/esm/models/createprojectop.js.map +1 -1
  56. package/esm/models/createrecordop.d.ts +43 -43
  57. package/esm/models/createrecordop.d.ts.map +1 -1
  58. package/esm/models/createrecordop.js +51 -51
  59. package/esm/models/createrecordop.js.map +1 -1
  60. package/esm/models/editprojectenvop.d.ts +3 -3
  61. package/esm/models/editprojectenvop.js +1 -1
  62. package/esm/models/editprojectenvop.js.map +1 -1
  63. package/esm/models/getaliasop.d.ts +8 -8
  64. package/esm/models/getaliasop.d.ts.map +1 -1
  65. package/esm/models/getaliasop.js +12 -13
  66. package/esm/models/getaliasop.js.map +1 -1
  67. package/esm/models/getbypassipop.d.ts +28 -28
  68. package/esm/models/getbypassipop.d.ts.map +1 -1
  69. package/esm/models/getbypassipop.js +28 -28
  70. package/esm/models/getbypassipop.js.map +1 -1
  71. package/esm/models/getcustomenvironmentop.d.ts +242 -2
  72. package/esm/models/getcustomenvironmentop.d.ts.map +1 -1
  73. package/esm/models/getcustomenvironmentop.js +175 -2
  74. package/esm/models/getcustomenvironmentop.js.map +1 -1
  75. package/esm/models/getdeploymentop.d.ts +502 -18
  76. package/esm/models/getdeploymentop.d.ts.map +1 -1
  77. package/esm/models/getdeploymentop.js +354 -14
  78. package/esm/models/getdeploymentop.js.map +1 -1
  79. package/esm/models/getprojectdomainsop.d.ts +30 -30
  80. package/esm/models/getprojectdomainsop.d.ts.map +1 -1
  81. package/esm/models/getprojectdomainsop.js +32 -32
  82. package/esm/models/getprojectdomainsop.js.map +1 -1
  83. package/esm/models/getprojectsop.d.ts +342 -95
  84. package/esm/models/getprojectsop.d.ts.map +1 -1
  85. package/esm/models/getprojectsop.js +285 -112
  86. package/esm/models/getprojectsop.js.map +1 -1
  87. package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts +242 -2
  88. package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts.map +1 -1
  89. package/esm/models/getv9projectsidornamecustomenvironmentsop.js +172 -2
  90. package/esm/models/getv9projectsidornamecustomenvironmentsop.js.map +1 -1
  91. package/esm/models/listaliasesop.d.ts +8 -8
  92. package/esm/models/listaliasesop.d.ts.map +1 -1
  93. package/esm/models/listaliasesop.js +12 -12
  94. package/esm/models/listaliasesop.js.map +1 -1
  95. package/esm/models/patchaliasesidprotectionbypassop.d.ts +409 -0
  96. package/esm/models/patchaliasesidprotectionbypassop.d.ts.map +1 -0
  97. package/esm/models/patchaliasesidprotectionbypassop.js +386 -0
  98. package/esm/models/patchaliasesidprotectionbypassop.js.map +1 -0
  99. package/esm/models/removecustomenvironmentop.d.ts +245 -2
  100. package/esm/models/removecustomenvironmentop.d.ts.map +1 -1
  101. package/esm/models/removecustomenvironmentop.js +173 -2
  102. package/esm/models/removecustomenvironmentop.js.map +1 -1
  103. package/esm/models/removeprojectenvop.d.ts +9 -9
  104. package/esm/models/removeprojectenvop.js +3 -3
  105. package/esm/models/removeprojectenvop.js.map +1 -1
  106. package/esm/models/updatecustomenvironmentop.d.ts +244 -2
  107. package/esm/models/updatecustomenvironmentop.d.ts.map +1 -1
  108. package/esm/models/updatecustomenvironmentop.js +174 -2
  109. package/esm/models/updatecustomenvironmentop.js.map +1 -1
  110. package/esm/models/updateprojectdatacacheop.d.ts +358 -111
  111. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  112. package/esm/models/updateprojectdatacacheop.js +309 -135
  113. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  114. package/esm/models/updateprojectop.d.ts +420 -104
  115. package/esm/models/updateprojectop.d.ts.map +1 -1
  116. package/esm/models/updateprojectop.js +342 -114
  117. package/esm/models/updateprojectop.js.map +1 -1
  118. package/esm/models/userevent.d.ts +161 -86
  119. package/esm/models/userevent.d.ts.map +1 -1
  120. package/esm/models/userevent.js +139 -64
  121. package/esm/models/userevent.js.map +1 -1
  122. package/esm/sdk/sdk.d.ts +8 -1
  123. package/esm/sdk/sdk.d.ts.map +1 -1
  124. package/esm/sdk/sdk.js +8 -0
  125. package/esm/sdk/sdk.js.map +1 -1
  126. package/jsr.json +1 -1
  127. package/package.json +1 -1
  128. package/src/__tests__/environment.test.ts +28 -4
  129. package/src/__tests__/projects.test.ts +13 -15
  130. package/src/__tests__/vercel.test.ts +26 -0
  131. package/src/funcs/marketplaceUpdateResourceSecretsById.ts +2 -2
  132. package/src/funcs/patchAliasesIdProtectionBypass.ts +185 -0
  133. package/src/lib/config.ts +3 -3
  134. package/src/lib/sdks.ts +11 -11
  135. package/src/mcp-server/mcp-server.ts +1 -1
  136. package/src/mcp-server/server.ts +3 -1
  137. package/src/mcp-server/tools/patchAliasesIdProtectionBypass.ts +37 -0
  138. package/src/models/authuser.ts +0 -8
  139. package/src/models/canceldeploymentop.ts +503 -43
  140. package/src/models/createcustomenvironmentop.ts +426 -4
  141. package/src/models/createdeploymentop.ts +640 -117
  142. package/src/models/createprojectenvop.ts +2 -2
  143. package/src/models/createprojectop.ts +658 -201
  144. package/src/models/createrecordop.ts +96 -84
  145. package/src/models/editprojectenvop.ts +1 -1
  146. package/src/models/getaliasop.ts +16 -14
  147. package/src/models/getbypassipop.ts +56 -56
  148. package/src/models/getcustomenvironmentop.ts +412 -4
  149. package/src/models/getdeploymentop.ts +962 -49
  150. package/src/models/getprojectdomainsop.ts +84 -84
  151. package/src/models/getprojectsop.ts +630 -189
  152. package/src/models/getv9projectsidornamecustomenvironmentsop.ts +473 -4
  153. package/src/models/listaliasesop.ts +19 -16
  154. package/src/models/patchaliasesidprotectionbypassop.ts +786 -0
  155. package/src/models/removecustomenvironmentop.ts +425 -4
  156. package/src/models/removeprojectenvop.ts +3 -3
  157. package/src/models/updatecustomenvironmentop.ts +437 -4
  158. package/src/models/updateprojectdatacacheop.ts +731 -271
  159. package/src/models/updateprojectop.ts +786 -197
  160. package/src/models/userevent.ts +246 -121
  161. package/src/sdk/sdk.ts +18 -1
  162. package/vercel-spec.json +2609 -140
@@ -6,9 +6,6 @@ import { SDKValidationError } from "./sdkvalidationerror.js";
6
6
  * The type of entity.
7
7
  */
8
8
  export declare const UserEventType: {
9
- readonly Flag: "flag";
10
- readonly FlagsSegment: "flags-segment";
11
- readonly FlagsSettings: "flags-settings";
12
9
  readonly Author: "author";
13
10
  readonly BitbucketLogin: "bitbucket_login";
14
11
  readonly Bold: "bold";
@@ -20,6 +17,9 @@ export declare const UserEventType: {
20
17
  readonly HookName: "hook_name";
21
18
  readonly Integration: "integration";
22
19
  readonly EdgeConfig: "edge-config";
20
+ readonly Flag: "flag";
21
+ readonly FlagsSegment: "flags-segment";
22
+ readonly FlagsSettings: "flags-settings";
23
23
  readonly Link: "link";
24
24
  readonly ProjectName: "project_name";
25
25
  readonly ScalingRules: "scaling_rules";
@@ -755,11 +755,11 @@ export type NinetyNine = {
755
755
  storeType: StoreType;
756
756
  };
757
757
  export declare const UserEventPayloadType: {
758
- readonly Integration: "integration";
759
- readonly EdgeConfig: "edge-config";
760
758
  readonly Redis: "redis";
761
759
  readonly Postgres: "postgres";
760
+ readonly EdgeConfig: "edge-config";
762
761
  readonly Blob: "blob";
762
+ readonly Integration: "integration";
763
763
  };
764
764
  export type UserEventPayloadType = ClosedEnum<typeof UserEventPayloadType>;
765
765
  /**
@@ -1066,8 +1066,34 @@ export type UserEventPayload83Team = {
1066
1066
  id: string;
1067
1067
  name: string;
1068
1068
  };
1069
- export type OldConnectConfigurations = {};
1070
- export type NewConnectConfigurations = {};
1069
+ export declare const EnvId2: {
1070
+ readonly Preview: "preview";
1071
+ readonly Production: "production";
1072
+ };
1073
+ export type EnvId2 = ClosedEnum<typeof EnvId2>;
1074
+ export type EnvId = string | EnvId2;
1075
+ export type OldConnectConfigurations = {
1076
+ envId: string | EnvId2;
1077
+ connectConfigurationId: string;
1078
+ passive: boolean;
1079
+ buildsEnabled: boolean;
1080
+ createdAt: number;
1081
+ updatedAt: number;
1082
+ };
1083
+ export declare const UserEventEnvId2: {
1084
+ readonly Preview: "preview";
1085
+ readonly Production: "production";
1086
+ };
1087
+ export type UserEventEnvId2 = ClosedEnum<typeof UserEventEnvId2>;
1088
+ export type PayloadEnvId = string | UserEventEnvId2;
1089
+ export type NewConnectConfigurations = {
1090
+ envId: string | UserEventEnvId2;
1091
+ connectConfigurationId: string;
1092
+ passive: boolean;
1093
+ buildsEnabled: boolean;
1094
+ createdAt: number;
1095
+ updatedAt: number;
1096
+ };
1071
1097
  export type UserEventPayload83Project = {
1072
1098
  id: string;
1073
1099
  name?: string | undefined;
@@ -1285,11 +1311,11 @@ export type UserEventPayload73Role = ClosedEnum<typeof UserEventPayload73Role>;
1285
1311
  export declare const PayloadOrigin: {
1286
1312
  readonly Teams: "teams";
1287
1313
  readonly Saml: "saml";
1288
- readonly Link: "link";
1289
1314
  readonly Github: "github";
1290
1315
  readonly Gitlab: "gitlab";
1291
1316
  readonly Bitbucket: "bitbucket";
1292
1317
  readonly Mail: "mail";
1318
+ readonly Link: "link";
1293
1319
  readonly Import: "import";
1294
1320
  readonly Dsync: "dsync";
1295
1321
  readonly Feedback: "feedback";
@@ -1634,7 +1660,6 @@ export declare const PayloadPurchaseType: {
1634
1660
  export type PayloadPurchaseType = ClosedEnum<typeof PayloadPurchaseType>;
1635
1661
  export type PayloadBuildMachine = {
1636
1662
  purchaseType?: PayloadPurchaseType | undefined;
1637
- abovePlan?: boolean | undefined;
1638
1663
  isDefaultBuildMachine?: boolean | undefined;
1639
1664
  cores?: number | undefined;
1640
1665
  memory?: number | undefined;
@@ -1728,7 +1753,6 @@ export declare const PayloadReason: {
1728
1753
  };
1729
1754
  export type PayloadReason = ClosedEnum<typeof PayloadReason>;
1730
1755
  export declare const PayloadBlockedDueToOverageType: {
1731
- readonly AiCredits: "aiCredits";
1732
1756
  readonly AnalyticsUsage: "analyticsUsage";
1733
1757
  readonly Artifacts: "artifacts";
1734
1758
  readonly Bandwidth: "bandwidth";
@@ -1809,11 +1833,11 @@ export type PayloadTeamPermissions = ClosedEnum<typeof PayloadTeamPermissions>;
1809
1833
  export declare const UserEventPayloadOrigin: {
1810
1834
  readonly Teams: "teams";
1811
1835
  readonly Saml: "saml";
1812
- readonly Link: "link";
1813
1836
  readonly Github: "github";
1814
1837
  readonly Gitlab: "gitlab";
1815
1838
  readonly Bitbucket: "bitbucket";
1816
1839
  readonly Mail: "mail";
1840
+ readonly Link: "link";
1817
1841
  readonly Import: "import";
1818
1842
  readonly Dsync: "dsync";
1819
1843
  readonly Feedback: "feedback";
@@ -1857,11 +1881,6 @@ export type UsageAlerts = {
1857
1881
  warningAt?: number | null | undefined;
1858
1882
  blockingAt?: number | null | undefined;
1859
1883
  };
1860
- export type AiCredits = {
1861
- currentThreshold: number;
1862
- warningAt?: number | null | undefined;
1863
- blockedAt?: number | null | undefined;
1864
- };
1865
1884
  export type AnalyticsUsage = {
1866
1885
  currentThreshold: number;
1867
1886
  warningAt?: number | null | undefined;
@@ -2073,7 +2092,6 @@ export type WebAnalyticsEvent = {
2073
2092
  blockedAt?: number | null | undefined;
2074
2093
  };
2075
2094
  export type OverageUsageAlerts = {
2076
- aiCredits?: AiCredits | undefined;
2077
2095
  analyticsUsage?: AnalyticsUsage | undefined;
2078
2096
  artifacts?: Artifacts | undefined;
2079
2097
  bandwidth?: Bandwidth | undefined;
@@ -2233,7 +2251,6 @@ export declare const UserEventPayload62NewOwnerFeatureBlocksBlobBlockReason: {
2233
2251
  };
2234
2252
  export type UserEventPayload62NewOwnerFeatureBlocksBlobBlockReason = ClosedEnum<typeof UserEventPayload62NewOwnerFeatureBlocksBlobBlockReason>;
2235
2253
  export declare const OverageReason: {
2236
- readonly AiCredits: "aiCredits";
2237
2254
  readonly AnalyticsUsage: "analyticsUsage";
2238
2255
  readonly Artifacts: "artifacts";
2239
2256
  readonly Bandwidth: "bandwidth";
@@ -2291,7 +2308,6 @@ export declare const UserEventPayload62NewOwnerFeatureBlocksPostgresBlockReason:
2291
2308
  };
2292
2309
  export type UserEventPayload62NewOwnerFeatureBlocksPostgresBlockReason = ClosedEnum<typeof UserEventPayload62NewOwnerFeatureBlocksPostgresBlockReason>;
2293
2310
  export declare const PayloadOverageReason: {
2294
- readonly AiCredits: "aiCredits";
2295
2311
  readonly AnalyticsUsage: "analyticsUsage";
2296
2312
  readonly Artifacts: "artifacts";
2297
2313
  readonly Bandwidth: "bandwidth";
@@ -2349,7 +2365,6 @@ export declare const UserEventPayload62NewOwnerFeatureBlocksRedisBlockReason: {
2349
2365
  };
2350
2366
  export type UserEventPayload62NewOwnerFeatureBlocksRedisBlockReason = ClosedEnum<typeof UserEventPayload62NewOwnerFeatureBlocksRedisBlockReason>;
2351
2367
  export declare const UserEventPayloadOverageReason: {
2352
- readonly AiCredits: "aiCredits";
2353
2368
  readonly AnalyticsUsage: "analyticsUsage";
2354
2369
  readonly Artifacts: "artifacts";
2355
2370
  readonly Bandwidth: "bandwidth";
@@ -2655,11 +2670,11 @@ export type OldEnvVar = {
2655
2670
  /**
2656
2671
  * The date when the Shared Env Var was created.
2657
2672
  */
2658
- created: Date;
2673
+ created?: Date | undefined;
2659
2674
  /**
2660
2675
  * The name of the Shared Env Var.
2661
2676
  */
2662
- key: string;
2677
+ key?: string | undefined;
2663
2678
  /**
2664
2679
  * The unique identifier of the owner (team) the Shared Env Var was created for.
2665
2680
  */
@@ -2667,7 +2682,7 @@ export type OldEnvVar = {
2667
2682
  /**
2668
2683
  * The unique identifier of the Shared Env Var.
2669
2684
  */
2670
- id: string;
2685
+ id?: string | undefined;
2671
2686
  /**
2672
2687
  * The unique identifier of the user who created the Shared Env Var.
2673
2688
  */
@@ -2715,7 +2730,7 @@ export type OldEnvVar = {
2715
2730
  /**
2716
2731
  * whether or not this env variable is decrypted
2717
2732
  */
2718
- decrypted: boolean;
2733
+ decrypted?: boolean | undefined;
2719
2734
  /**
2720
2735
  * A user provided comment that describes what this Shared Env Var is for.
2721
2736
  */
@@ -2754,11 +2769,11 @@ export type NewEnvVar = {
2754
2769
  /**
2755
2770
  * The date when the Shared Env Var was created.
2756
2771
  */
2757
- created: Date;
2772
+ created?: Date | undefined;
2758
2773
  /**
2759
2774
  * The name of the Shared Env Var.
2760
2775
  */
2761
- key: string;
2776
+ key?: string | undefined;
2762
2777
  /**
2763
2778
  * The unique identifier of the owner (team) the Shared Env Var was created for.
2764
2779
  */
@@ -2766,7 +2781,7 @@ export type NewEnvVar = {
2766
2781
  /**
2767
2782
  * The unique identifier of the Shared Env Var.
2768
2783
  */
2769
- id: string;
2784
+ id?: string | undefined;
2770
2785
  /**
2771
2786
  * The unique identifier of the user who created the Shared Env Var.
2772
2787
  */
@@ -2814,7 +2829,7 @@ export type NewEnvVar = {
2814
2829
  /**
2815
2830
  * whether or not this env variable is decrypted
2816
2831
  */
2817
- decrypted: boolean;
2832
+ decrypted?: boolean | undefined;
2818
2833
  /**
2819
2834
  * A user provided comment that describes what this Shared Env Var is for.
2820
2835
  */
@@ -3609,9 +3624,6 @@ export declare const UserEventType$outboundSchema: z.ZodNativeEnum<typeof UserEv
3609
3624
  export declare namespace UserEventType$ {
3610
3625
  /** @deprecated use `UserEventType$inboundSchema` instead. */
3611
3626
  const inboundSchema: z.ZodNativeEnum<{
3612
- readonly Flag: "flag";
3613
- readonly FlagsSegment: "flags-segment";
3614
- readonly FlagsSettings: "flags-settings";
3615
3627
  readonly Author: "author";
3616
3628
  readonly BitbucketLogin: "bitbucket_login";
3617
3629
  readonly Bold: "bold";
@@ -3623,6 +3635,9 @@ export declare namespace UserEventType$ {
3623
3635
  readonly HookName: "hook_name";
3624
3636
  readonly Integration: "integration";
3625
3637
  readonly EdgeConfig: "edge-config";
3638
+ readonly Flag: "flag";
3639
+ readonly FlagsSegment: "flags-segment";
3640
+ readonly FlagsSettings: "flags-settings";
3626
3641
  readonly Link: "link";
3627
3642
  readonly ProjectName: "project_name";
3628
3643
  readonly ScalingRules: "scaling_rules";
@@ -3633,9 +3648,6 @@ export declare namespace UserEventType$ {
3633
3648
  }>;
3634
3649
  /** @deprecated use `UserEventType$outboundSchema` instead. */
3635
3650
  const outboundSchema: z.ZodNativeEnum<{
3636
- readonly Flag: "flag";
3637
- readonly FlagsSegment: "flags-segment";
3638
- readonly FlagsSettings: "flags-settings";
3639
3651
  readonly Author: "author";
3640
3652
  readonly BitbucketLogin: "bitbucket_login";
3641
3653
  readonly Bold: "bold";
@@ -3647,6 +3659,9 @@ export declare namespace UserEventType$ {
3647
3659
  readonly HookName: "hook_name";
3648
3660
  readonly Integration: "integration";
3649
3661
  readonly EdgeConfig: "edge-config";
3662
+ readonly Flag: "flag";
3663
+ readonly FlagsSegment: "flags-segment";
3664
+ readonly FlagsSettings: "flags-settings";
3650
3665
  readonly Link: "link";
3651
3666
  readonly ProjectName: "project_name";
3652
3667
  readonly ScalingRules: "scaling_rules";
@@ -6091,19 +6106,19 @@ export declare const UserEventPayloadType$outboundSchema: z.ZodNativeEnum<typeof
6091
6106
  export declare namespace UserEventPayloadType$ {
6092
6107
  /** @deprecated use `UserEventPayloadType$inboundSchema` instead. */
6093
6108
  const inboundSchema: z.ZodNativeEnum<{
6094
- readonly Integration: "integration";
6095
- readonly EdgeConfig: "edge-config";
6096
6109
  readonly Redis: "redis";
6097
6110
  readonly Postgres: "postgres";
6111
+ readonly EdgeConfig: "edge-config";
6098
6112
  readonly Blob: "blob";
6113
+ readonly Integration: "integration";
6099
6114
  }>;
6100
6115
  /** @deprecated use `UserEventPayloadType$outboundSchema` instead. */
6101
6116
  const outboundSchema: z.ZodNativeEnum<{
6102
- readonly Integration: "integration";
6103
- readonly EdgeConfig: "edge-config";
6104
6117
  readonly Redis: "redis";
6105
6118
  readonly Postgres: "postgres";
6119
+ readonly EdgeConfig: "edge-config";
6106
6120
  readonly Blob: "blob";
6121
+ readonly Integration: "integration";
6107
6122
  }>;
6108
6123
  }
6109
6124
  /** @internal */
@@ -6823,9 +6838,56 @@ export declare namespace UserEventPayload83Team$ {
6823
6838
  export declare function userEventPayload83TeamToJSON(userEventPayload83Team: UserEventPayload83Team): string;
6824
6839
  export declare function userEventPayload83TeamFromJSON(jsonString: string): SafeParseResult<UserEventPayload83Team, SDKValidationError>;
6825
6840
  /** @internal */
6841
+ export declare const EnvId2$inboundSchema: z.ZodNativeEnum<typeof EnvId2>;
6842
+ /** @internal */
6843
+ export declare const EnvId2$outboundSchema: z.ZodNativeEnum<typeof EnvId2>;
6844
+ /**
6845
+ * @internal
6846
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6847
+ */
6848
+ export declare namespace EnvId2$ {
6849
+ /** @deprecated use `EnvId2$inboundSchema` instead. */
6850
+ const inboundSchema: z.ZodNativeEnum<{
6851
+ readonly Preview: "preview";
6852
+ readonly Production: "production";
6853
+ }>;
6854
+ /** @deprecated use `EnvId2$outboundSchema` instead. */
6855
+ const outboundSchema: z.ZodNativeEnum<{
6856
+ readonly Preview: "preview";
6857
+ readonly Production: "production";
6858
+ }>;
6859
+ }
6860
+ /** @internal */
6861
+ export declare const EnvId$inboundSchema: z.ZodType<EnvId, z.ZodTypeDef, unknown>;
6862
+ /** @internal */
6863
+ export type EnvId$Outbound = string | string;
6864
+ /** @internal */
6865
+ export declare const EnvId$outboundSchema: z.ZodType<EnvId$Outbound, z.ZodTypeDef, EnvId>;
6866
+ /**
6867
+ * @internal
6868
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6869
+ */
6870
+ export declare namespace EnvId$ {
6871
+ /** @deprecated use `EnvId$inboundSchema` instead. */
6872
+ const inboundSchema: z.ZodType<string, z.ZodTypeDef, unknown>;
6873
+ /** @deprecated use `EnvId$outboundSchema` instead. */
6874
+ const outboundSchema: z.ZodType<string, z.ZodTypeDef, string>;
6875
+ /** @deprecated use `EnvId$Outbound` instead. */
6876
+ type Outbound = EnvId$Outbound;
6877
+ }
6878
+ export declare function envIdToJSON(envId: EnvId): string;
6879
+ export declare function envIdFromJSON(jsonString: string): SafeParseResult<EnvId, SDKValidationError>;
6880
+ /** @internal */
6826
6881
  export declare const OldConnectConfigurations$inboundSchema: z.ZodType<OldConnectConfigurations, z.ZodTypeDef, unknown>;
6827
6882
  /** @internal */
6828
- export type OldConnectConfigurations$Outbound = {};
6883
+ export type OldConnectConfigurations$Outbound = {
6884
+ envId: string | string;
6885
+ connectConfigurationId: string;
6886
+ passive: boolean;
6887
+ buildsEnabled: boolean;
6888
+ createdAt: number;
6889
+ updatedAt: number;
6890
+ };
6829
6891
  /** @internal */
6830
6892
  export declare const OldConnectConfigurations$outboundSchema: z.ZodType<OldConnectConfigurations$Outbound, z.ZodTypeDef, OldConnectConfigurations>;
6831
6893
  /**
@@ -6843,9 +6905,56 @@ export declare namespace OldConnectConfigurations$ {
6843
6905
  export declare function oldConnectConfigurationsToJSON(oldConnectConfigurations: OldConnectConfigurations): string;
6844
6906
  export declare function oldConnectConfigurationsFromJSON(jsonString: string): SafeParseResult<OldConnectConfigurations, SDKValidationError>;
6845
6907
  /** @internal */
6908
+ export declare const UserEventEnvId2$inboundSchema: z.ZodNativeEnum<typeof UserEventEnvId2>;
6909
+ /** @internal */
6910
+ export declare const UserEventEnvId2$outboundSchema: z.ZodNativeEnum<typeof UserEventEnvId2>;
6911
+ /**
6912
+ * @internal
6913
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6914
+ */
6915
+ export declare namespace UserEventEnvId2$ {
6916
+ /** @deprecated use `UserEventEnvId2$inboundSchema` instead. */
6917
+ const inboundSchema: z.ZodNativeEnum<{
6918
+ readonly Preview: "preview";
6919
+ readonly Production: "production";
6920
+ }>;
6921
+ /** @deprecated use `UserEventEnvId2$outboundSchema` instead. */
6922
+ const outboundSchema: z.ZodNativeEnum<{
6923
+ readonly Preview: "preview";
6924
+ readonly Production: "production";
6925
+ }>;
6926
+ }
6927
+ /** @internal */
6928
+ export declare const PayloadEnvId$inboundSchema: z.ZodType<PayloadEnvId, z.ZodTypeDef, unknown>;
6929
+ /** @internal */
6930
+ export type PayloadEnvId$Outbound = string | string;
6931
+ /** @internal */
6932
+ export declare const PayloadEnvId$outboundSchema: z.ZodType<PayloadEnvId$Outbound, z.ZodTypeDef, PayloadEnvId>;
6933
+ /**
6934
+ * @internal
6935
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
6936
+ */
6937
+ export declare namespace PayloadEnvId$ {
6938
+ /** @deprecated use `PayloadEnvId$inboundSchema` instead. */
6939
+ const inboundSchema: z.ZodType<string, z.ZodTypeDef, unknown>;
6940
+ /** @deprecated use `PayloadEnvId$outboundSchema` instead. */
6941
+ const outboundSchema: z.ZodType<string, z.ZodTypeDef, string>;
6942
+ /** @deprecated use `PayloadEnvId$Outbound` instead. */
6943
+ type Outbound = PayloadEnvId$Outbound;
6944
+ }
6945
+ export declare function payloadEnvIdToJSON(payloadEnvId: PayloadEnvId): string;
6946
+ export declare function payloadEnvIdFromJSON(jsonString: string): SafeParseResult<PayloadEnvId, SDKValidationError>;
6947
+ /** @internal */
6846
6948
  export declare const NewConnectConfigurations$inboundSchema: z.ZodType<NewConnectConfigurations, z.ZodTypeDef, unknown>;
6847
6949
  /** @internal */
6848
- export type NewConnectConfigurations$Outbound = {};
6950
+ export type NewConnectConfigurations$Outbound = {
6951
+ envId: string | string;
6952
+ connectConfigurationId: string;
6953
+ passive: boolean;
6954
+ buildsEnabled: boolean;
6955
+ createdAt: number;
6956
+ updatedAt: number;
6957
+ };
6849
6958
  /** @internal */
6850
6959
  export declare const NewConnectConfigurations$outboundSchema: z.ZodType<NewConnectConfigurations$Outbound, z.ZodTypeDef, NewConnectConfigurations>;
6851
6960
  /**
@@ -7732,11 +7841,11 @@ export declare namespace PayloadOrigin$ {
7732
7841
  const inboundSchema: z.ZodNativeEnum<{
7733
7842
  readonly Teams: "teams";
7734
7843
  readonly Saml: "saml";
7735
- readonly Link: "link";
7736
7844
  readonly Github: "github";
7737
7845
  readonly Gitlab: "gitlab";
7738
7846
  readonly Bitbucket: "bitbucket";
7739
7847
  readonly Mail: "mail";
7848
+ readonly Link: "link";
7740
7849
  readonly Import: "import";
7741
7850
  readonly Dsync: "dsync";
7742
7851
  readonly Feedback: "feedback";
@@ -7746,11 +7855,11 @@ export declare namespace PayloadOrigin$ {
7746
7855
  const outboundSchema: z.ZodNativeEnum<{
7747
7856
  readonly Teams: "teams";
7748
7857
  readonly Saml: "saml";
7749
- readonly Link: "link";
7750
7858
  readonly Github: "github";
7751
7859
  readonly Gitlab: "gitlab";
7752
7860
  readonly Bitbucket: "bitbucket";
7753
7861
  readonly Mail: "mail";
7862
+ readonly Link: "link";
7754
7863
  readonly Import: "import";
7755
7864
  readonly Dsync: "dsync";
7756
7865
  readonly Feedback: "feedback";
@@ -8994,7 +9103,6 @@ export declare const PayloadBuildMachine$inboundSchema: z.ZodType<PayloadBuildMa
8994
9103
  /** @internal */
8995
9104
  export type PayloadBuildMachine$Outbound = {
8996
9105
  purchaseType?: string | undefined;
8997
- abovePlan?: boolean | undefined;
8998
9106
  isDefaultBuildMachine?: boolean | undefined;
8999
9107
  cores?: number | undefined;
9000
9108
  memory?: number | undefined;
@@ -9363,7 +9471,6 @@ export declare const PayloadBlockedDueToOverageType$outboundSchema: z.ZodNativeE
9363
9471
  export declare namespace PayloadBlockedDueToOverageType$ {
9364
9472
  /** @deprecated use `PayloadBlockedDueToOverageType$inboundSchema` instead. */
9365
9473
  const inboundSchema: z.ZodNativeEnum<{
9366
- readonly AiCredits: "aiCredits";
9367
9474
  readonly AnalyticsUsage: "analyticsUsage";
9368
9475
  readonly Artifacts: "artifacts";
9369
9476
  readonly Bandwidth: "bandwidth";
@@ -9409,7 +9516,6 @@ export declare namespace PayloadBlockedDueToOverageType$ {
9409
9516
  }>;
9410
9517
  /** @deprecated use `PayloadBlockedDueToOverageType$outboundSchema` instead. */
9411
9518
  const outboundSchema: z.ZodNativeEnum<{
9412
- readonly AiCredits: "aiCredits";
9413
9519
  readonly AnalyticsUsage: "analyticsUsage";
9414
9520
  readonly Artifacts: "artifacts";
9415
9521
  readonly Bandwidth: "bandwidth";
@@ -9577,11 +9683,11 @@ export declare namespace UserEventPayloadOrigin$ {
9577
9683
  const inboundSchema: z.ZodNativeEnum<{
9578
9684
  readonly Teams: "teams";
9579
9685
  readonly Saml: "saml";
9580
- readonly Link: "link";
9581
9686
  readonly Github: "github";
9582
9687
  readonly Gitlab: "gitlab";
9583
9688
  readonly Bitbucket: "bitbucket";
9584
9689
  readonly Mail: "mail";
9690
+ readonly Link: "link";
9585
9691
  readonly Import: "import";
9586
9692
  readonly Dsync: "dsync";
9587
9693
  readonly Feedback: "feedback";
@@ -9591,11 +9697,11 @@ export declare namespace UserEventPayloadOrigin$ {
9591
9697
  const outboundSchema: z.ZodNativeEnum<{
9592
9698
  readonly Teams: "teams";
9593
9699
  readonly Saml: "saml";
9594
- readonly Link: "link";
9595
9700
  readonly Github: "github";
9596
9701
  readonly Gitlab: "gitlab";
9597
9702
  readonly Bitbucket: "bitbucket";
9598
9703
  readonly Mail: "mail";
9704
+ readonly Link: "link";
9599
9705
  readonly Import: "import";
9600
9706
  readonly Dsync: "dsync";
9601
9707
  readonly Feedback: "feedback";
@@ -9727,30 +9833,6 @@ export declare namespace UsageAlerts$ {
9727
9833
  export declare function usageAlertsToJSON(usageAlerts: UsageAlerts): string;
9728
9834
  export declare function usageAlertsFromJSON(jsonString: string): SafeParseResult<UsageAlerts, SDKValidationError>;
9729
9835
  /** @internal */
9730
- export declare const AiCredits$inboundSchema: z.ZodType<AiCredits, z.ZodTypeDef, unknown>;
9731
- /** @internal */
9732
- export type AiCredits$Outbound = {
9733
- currentThreshold: number;
9734
- warningAt?: number | null | undefined;
9735
- blockedAt?: number | null | undefined;
9736
- };
9737
- /** @internal */
9738
- export declare const AiCredits$outboundSchema: z.ZodType<AiCredits$Outbound, z.ZodTypeDef, AiCredits>;
9739
- /**
9740
- * @internal
9741
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
9742
- */
9743
- export declare namespace AiCredits$ {
9744
- /** @deprecated use `AiCredits$inboundSchema` instead. */
9745
- const inboundSchema: z.ZodType<AiCredits, z.ZodTypeDef, unknown>;
9746
- /** @deprecated use `AiCredits$outboundSchema` instead. */
9747
- const outboundSchema: z.ZodType<AiCredits$Outbound, z.ZodTypeDef, AiCredits>;
9748
- /** @deprecated use `AiCredits$Outbound` instead. */
9749
- type Outbound = AiCredits$Outbound;
9750
- }
9751
- export declare function aiCreditsToJSON(aiCredits: AiCredits): string;
9752
- export declare function aiCreditsFromJSON(jsonString: string): SafeParseResult<AiCredits, SDKValidationError>;
9753
- /** @internal */
9754
9836
  export declare const AnalyticsUsage$inboundSchema: z.ZodType<AnalyticsUsage, z.ZodTypeDef, unknown>;
9755
9837
  /** @internal */
9756
9838
  export type AnalyticsUsage$Outbound = {
@@ -10762,7 +10844,6 @@ export declare function webAnalyticsEventFromJSON(jsonString: string): SafeParse
10762
10844
  export declare const OverageUsageAlerts$inboundSchema: z.ZodType<OverageUsageAlerts, z.ZodTypeDef, unknown>;
10763
10845
  /** @internal */
10764
10846
  export type OverageUsageAlerts$Outbound = {
10765
- aiCredits?: AiCredits$Outbound | undefined;
10766
10847
  analyticsUsage?: AnalyticsUsage$Outbound | undefined;
10767
10848
  artifacts?: Artifacts$Outbound | undefined;
10768
10849
  bandwidth?: Bandwidth$Outbound | undefined;
@@ -11217,7 +11298,6 @@ export declare const OverageReason$outboundSchema: z.ZodNativeEnum<typeof Overag
11217
11298
  export declare namespace OverageReason$ {
11218
11299
  /** @deprecated use `OverageReason$inboundSchema` instead. */
11219
11300
  const inboundSchema: z.ZodNativeEnum<{
11220
- readonly AiCredits: "aiCredits";
11221
11301
  readonly AnalyticsUsage: "analyticsUsage";
11222
11302
  readonly Artifacts: "artifacts";
11223
11303
  readonly Bandwidth: "bandwidth";
@@ -11263,7 +11343,6 @@ export declare namespace OverageReason$ {
11263
11343
  }>;
11264
11344
  /** @deprecated use `OverageReason$outboundSchema` instead. */
11265
11345
  const outboundSchema: z.ZodNativeEnum<{
11266
- readonly AiCredits: "aiCredits";
11267
11346
  readonly AnalyticsUsage: "analyticsUsage";
11268
11347
  readonly Artifacts: "artifacts";
11269
11348
  readonly Bandwidth: "bandwidth";
@@ -11365,7 +11444,6 @@ export declare const PayloadOverageReason$outboundSchema: z.ZodNativeEnum<typeof
11365
11444
  export declare namespace PayloadOverageReason$ {
11366
11445
  /** @deprecated use `PayloadOverageReason$inboundSchema` instead. */
11367
11446
  const inboundSchema: z.ZodNativeEnum<{
11368
- readonly AiCredits: "aiCredits";
11369
11447
  readonly AnalyticsUsage: "analyticsUsage";
11370
11448
  readonly Artifacts: "artifacts";
11371
11449
  readonly Bandwidth: "bandwidth";
@@ -11411,7 +11489,6 @@ export declare namespace PayloadOverageReason$ {
11411
11489
  }>;
11412
11490
  /** @deprecated use `PayloadOverageReason$outboundSchema` instead. */
11413
11491
  const outboundSchema: z.ZodNativeEnum<{
11414
- readonly AiCredits: "aiCredits";
11415
11492
  readonly AnalyticsUsage: "analyticsUsage";
11416
11493
  readonly Artifacts: "artifacts";
11417
11494
  readonly Bandwidth: "bandwidth";
@@ -11513,7 +11590,6 @@ export declare const UserEventPayloadOverageReason$outboundSchema: z.ZodNativeEn
11513
11590
  export declare namespace UserEventPayloadOverageReason$ {
11514
11591
  /** @deprecated use `UserEventPayloadOverageReason$inboundSchema` instead. */
11515
11592
  const inboundSchema: z.ZodNativeEnum<{
11516
- readonly AiCredits: "aiCredits";
11517
11593
  readonly AnalyticsUsage: "analyticsUsage";
11518
11594
  readonly Artifacts: "artifacts";
11519
11595
  readonly Bandwidth: "bandwidth";
@@ -11559,7 +11635,6 @@ export declare namespace UserEventPayloadOverageReason$ {
11559
11635
  }>;
11560
11636
  /** @deprecated use `UserEventPayloadOverageReason$outboundSchema` instead. */
11561
11637
  const outboundSchema: z.ZodNativeEnum<{
11562
- readonly AiCredits: "aiCredits";
11563
11638
  readonly AnalyticsUsage: "analyticsUsage";
11564
11639
  readonly Artifacts: "artifacts";
11565
11640
  readonly Bandwidth: "bandwidth";
@@ -12022,10 +12097,10 @@ export declare namespace UserEventPayloadTarget$ {
12022
12097
  export declare const OldEnvVar$inboundSchema: z.ZodType<OldEnvVar, z.ZodTypeDef, unknown>;
12023
12098
  /** @internal */
12024
12099
  export type OldEnvVar$Outbound = {
12025
- created: string;
12026
- key: string;
12100
+ created?: string | undefined;
12101
+ key?: string | undefined;
12027
12102
  ownerId?: string | null | undefined;
12028
- id: string;
12103
+ id?: string | undefined;
12029
12104
  createdBy?: string | null | undefined;
12030
12105
  deletedBy?: string | null | undefined;
12031
12106
  updatedBy?: string | null | undefined;
@@ -12037,7 +12112,7 @@ export type OldEnvVar$Outbound = {
12037
12112
  type?: string | undefined;
12038
12113
  target?: Array<string> | undefined;
12039
12114
  applyToAllCustomEnvironments?: boolean | undefined;
12040
- decrypted: boolean;
12115
+ decrypted?: boolean | undefined;
12041
12116
  comment?: string | undefined;
12042
12117
  lastEditedByDisplayName?: string | undefined;
12043
12118
  };
@@ -12107,10 +12182,10 @@ export declare namespace UserEventPayload58Target$ {
12107
12182
  export declare const NewEnvVar$inboundSchema: z.ZodType<NewEnvVar, z.ZodTypeDef, unknown>;
12108
12183
  /** @internal */
12109
12184
  export type NewEnvVar$Outbound = {
12110
- created: string;
12111
- key: string;
12185
+ created?: string | undefined;
12186
+ key?: string | undefined;
12112
12187
  ownerId?: string | null | undefined;
12113
- id: string;
12188
+ id?: string | undefined;
12114
12189
  createdBy?: string | null | undefined;
12115
12190
  deletedBy?: string | null | undefined;
12116
12191
  updatedBy?: string | null | undefined;
@@ -12122,7 +12197,7 @@ export type NewEnvVar$Outbound = {
12122
12197
  type?: string | undefined;
12123
12198
  target?: Array<string> | undefined;
12124
12199
  applyToAllCustomEnvironments?: boolean | undefined;
12125
- decrypted: boolean;
12200
+ decrypted?: boolean | undefined;
12126
12201
  comment?: string | undefined;
12127
12202
  lastEditedByDisplayName?: string | undefined;
12128
12203
  };