@vercel/sdk 1.10.0 → 1.10.1

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 (261) hide show
  1. package/bin/mcp-server.js +3144 -2287
  2. package/bin/mcp-server.js.map +51 -51
  3. package/docs/sdks/accessgroups/README.md +11 -0
  4. package/docs/sdks/aliases/README.md +7 -1
  5. package/docs/sdks/artifacts/README.md +6 -0
  6. package/docs/sdks/authentication/README.md +5 -0
  7. package/docs/sdks/certs/README.md +4 -0
  8. package/docs/sdks/checks/README.md +5 -0
  9. package/docs/sdks/deployments/README.md +18 -0
  10. package/docs/sdks/dns/README.md +4 -0
  11. package/docs/sdks/domains/README.md +10 -0
  12. package/docs/sdks/edgeconfig/README.md +17 -0
  13. package/docs/sdks/environment/README.md +5 -0
  14. package/docs/sdks/integrations/README.md +4 -0
  15. package/docs/sdks/logdrains/README.md +3 -0
  16. package/docs/sdks/logs/README.md +1 -0
  17. package/docs/sdks/marketplace/README.md +20 -0
  18. package/docs/sdks/projectmembers/README.md +3 -0
  19. package/docs/sdks/projects/README.md +24 -0
  20. package/docs/sdks/rollingrelease/README.md +7 -0
  21. package/docs/sdks/security/README.md +8 -0
  22. package/docs/sdks/teams/README.md +13 -0
  23. package/docs/sdks/user/README.md +3 -0
  24. package/docs/sdks/webhooks/README.md +4 -0
  25. package/esm/__tests__/aliases.test.js +16 -16
  26. package/esm/__tests__/aliases.test.js.map +1 -1
  27. package/esm/__tests__/security.test.js +13 -1
  28. package/esm/__tests__/security.test.js.map +1 -1
  29. package/esm/__tests__/teams.test.js +2 -2
  30. package/esm/__tests__/teams.test.js.map +1 -1
  31. package/esm/funcs/aliasesGetAlias.d.ts +2 -2
  32. package/esm/funcs/aliasesGetAlias.d.ts.map +1 -1
  33. package/esm/funcs/aliasesGetAlias.js +3 -2
  34. package/esm/funcs/aliasesGetAlias.js.map +1 -1
  35. package/esm/funcs/checksRerequestCheck.js +1 -0
  36. package/esm/funcs/checksRerequestCheck.js.map +1 -1
  37. package/esm/funcs/domainsGetDomainConfig.js +2 -2
  38. package/esm/funcs/domainsGetDomainConfig.js.map +1 -1
  39. package/esm/funcs/edgeConfigPatchEdgeConfigItems.js +2 -3
  40. package/esm/funcs/edgeConfigPatchEdgeConfigItems.js.map +1 -1
  41. package/esm/funcs/marketplaceUpdateInstallationIntegrationEdgeConfig.js +2 -2
  42. package/esm/funcs/marketplaceUpdateInstallationIntegrationEdgeConfig.js.map +1 -1
  43. package/esm/funcs/projectsAcceptProjectTransferRequest.js +2 -2
  44. package/esm/funcs/projectsAcceptProjectTransferRequest.js.map +1 -1
  45. package/esm/funcs/projectsCreateProject.js +2 -2
  46. package/esm/funcs/projectsCreateProject.js.map +1 -1
  47. package/esm/funcs/teamsPatchTeam.js +2 -2
  48. package/esm/funcs/teamsPatchTeam.js.map +1 -1
  49. package/esm/lib/config.d.ts +3 -3
  50. package/esm/lib/config.js +3 -3
  51. package/esm/mcp-server/mcp-server.js +1 -1
  52. package/esm/mcp-server/server.js +1 -1
  53. package/esm/models/acceptprojecttransferrequestop.d.ts +176 -2
  54. package/esm/models/acceptprojecttransferrequestop.d.ts.map +1 -1
  55. package/esm/models/acceptprojecttransferrequestop.js +176 -2
  56. package/esm/models/acceptprojecttransferrequestop.js.map +1 -1
  57. package/esm/models/addbypassipop.d.ts +38 -38
  58. package/esm/models/addbypassipop.d.ts.map +1 -1
  59. package/esm/models/addbypassipop.js +44 -42
  60. package/esm/models/addbypassipop.js.map +1 -1
  61. package/esm/models/authtoken.d.ts +10 -4
  62. package/esm/models/authtoken.d.ts.map +1 -1
  63. package/esm/models/authtoken.js +6 -4
  64. package/esm/models/authtoken.js.map +1 -1
  65. package/esm/models/authuser.d.ts +54 -0
  66. package/esm/models/authuser.d.ts.map +1 -1
  67. package/esm/models/authuser.js +34 -0
  68. package/esm/models/authuser.js.map +1 -1
  69. package/esm/models/canceldeploymentop.d.ts +336 -99
  70. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  71. package/esm/models/canceldeploymentop.js +310 -93
  72. package/esm/models/canceldeploymentop.js.map +1 -1
  73. package/esm/models/createcustomenvironmentop.d.ts +3 -3
  74. package/esm/models/createcustomenvironmentop.js +1 -1
  75. package/esm/models/createcustomenvironmentop.js.map +1 -1
  76. package/esm/models/createdeploymentop.d.ts +412 -152
  77. package/esm/models/createdeploymentop.d.ts.map +1 -1
  78. package/esm/models/createdeploymentop.js +348 -122
  79. package/esm/models/createdeploymentop.js.map +1 -1
  80. package/esm/models/createlogdrainop.d.ts +2 -2
  81. package/esm/models/createlogdrainop.d.ts.map +1 -1
  82. package/esm/models/createlogdrainop.js +2 -2
  83. package/esm/models/createlogdrainop.js.map +1 -1
  84. package/esm/models/createprojectop.d.ts +191 -58
  85. package/esm/models/createprojectop.d.ts.map +1 -1
  86. package/esm/models/createprojectop.js +168 -43
  87. package/esm/models/createprojectop.js.map +1 -1
  88. package/esm/models/createwebhookop.d.ts +12 -0
  89. package/esm/models/createwebhookop.d.ts.map +1 -1
  90. package/esm/models/createwebhookop.js +4 -0
  91. package/esm/models/createwebhookop.js.map +1 -1
  92. package/esm/models/exchangessotokenop.d.ts +4 -4
  93. package/esm/models/exchangessotokenop.d.ts.map +1 -1
  94. package/esm/models/exchangessotokenop.js +4 -4
  95. package/esm/models/exchangessotokenop.js.map +1 -1
  96. package/esm/models/getaliasop.d.ts +0 -555
  97. package/esm/models/getaliasop.d.ts.map +1 -1
  98. package/esm/models/getaliasop.js +0 -449
  99. package/esm/models/getaliasop.js.map +1 -1
  100. package/esm/models/getbypassipop.d.ts +55 -179
  101. package/esm/models/getbypassipop.d.ts.map +1 -1
  102. package/esm/models/getbypassipop.js +59 -221
  103. package/esm/models/getbypassipop.js.map +1 -1
  104. package/esm/models/getcustomenvironmentop.d.ts +3 -3
  105. package/esm/models/getcustomenvironmentop.js +1 -1
  106. package/esm/models/getcustomenvironmentop.js.map +1 -1
  107. package/esm/models/getdeploymentop.d.ts +757 -276
  108. package/esm/models/getdeploymentop.d.ts.map +1 -1
  109. package/esm/models/getdeploymentop.js +703 -262
  110. package/esm/models/getdeploymentop.js.map +1 -1
  111. package/esm/models/getdeploymentsop.d.ts +3 -0
  112. package/esm/models/getdeploymentsop.d.ts.map +1 -1
  113. package/esm/models/getdeploymentsop.js +1 -0
  114. package/esm/models/getdeploymentsop.js.map +1 -1
  115. package/esm/models/getintegrationlogdrainsop.d.ts +2 -2
  116. package/esm/models/getintegrationlogdrainsop.d.ts.map +1 -1
  117. package/esm/models/getintegrationlogdrainsop.js +4 -2
  118. package/esm/models/getintegrationlogdrainsop.js.map +1 -1
  119. package/esm/models/getprojectmembersop.d.ts +3 -0
  120. package/esm/models/getprojectmembersop.d.ts.map +1 -1
  121. package/esm/models/getprojectmembersop.js +1 -0
  122. package/esm/models/getprojectmembersop.js.map +1 -1
  123. package/esm/models/getprojectsop.d.ts +185 -58
  124. package/esm/models/getprojectsop.d.ts.map +1 -1
  125. package/esm/models/getprojectsop.js +166 -43
  126. package/esm/models/getprojectsop.js.map +1 -1
  127. package/esm/models/getrecordsop.d.ts +8 -0
  128. package/esm/models/getrecordsop.d.ts.map +1 -1
  129. package/esm/models/getrecordsop.js +8 -0
  130. package/esm/models/getrecordsop.js.map +1 -1
  131. package/esm/models/getteammembersop.d.ts +6 -0
  132. package/esm/models/getteammembersop.d.ts.map +1 -1
  133. package/esm/models/getteammembersop.js +2 -0
  134. package/esm/models/getteammembersop.js.map +1 -1
  135. package/esm/models/getv9projectsidornamecustomenvironmentsop.d.ts +3 -3
  136. package/esm/models/getv9projectsidornamecustomenvironmentsop.js +1 -1
  137. package/esm/models/getv9projectsidornamecustomenvironmentsop.js.map +1 -1
  138. package/esm/models/getwebhookop.d.ts +6 -0
  139. package/esm/models/getwebhookop.d.ts.map +1 -1
  140. package/esm/models/getwebhookop.js +2 -0
  141. package/esm/models/getwebhookop.js.map +1 -1
  142. package/esm/models/getwebhooksop.d.ts +15 -0
  143. package/esm/models/getwebhooksop.d.ts.map +1 -1
  144. package/esm/models/getwebhooksop.js +5 -0
  145. package/esm/models/getwebhooksop.js.map +1 -1
  146. package/esm/models/inviteusertoteamop.d.ts +33 -0
  147. package/esm/models/inviteusertoteamop.d.ts.map +1 -1
  148. package/esm/models/inviteusertoteamop.js +11 -0
  149. package/esm/models/inviteusertoteamop.js.map +1 -1
  150. package/esm/models/listaccessgroupmembersop.d.ts +3 -0
  151. package/esm/models/listaccessgroupmembersop.d.ts.map +1 -1
  152. package/esm/models/listaccessgroupmembersop.js +1 -0
  153. package/esm/models/listaccessgroupmembersop.js.map +1 -1
  154. package/esm/models/listaliasesop.d.ts +141 -39
  155. package/esm/models/listaliasesop.d.ts.map +1 -1
  156. package/esm/models/listaliasesop.js +132 -35
  157. package/esm/models/listaliasesop.js.map +1 -1
  158. package/esm/models/listdeploymentaliasesop.d.ts +30 -30
  159. package/esm/models/listdeploymentaliasesop.d.ts.map +1 -1
  160. package/esm/models/listdeploymentaliasesop.js +34 -34
  161. package/esm/models/listdeploymentaliasesop.js.map +1 -1
  162. package/esm/models/patchedgeconfigitemsop.d.ts +0 -4
  163. package/esm/models/patchedgeconfigitemsop.d.ts.map +1 -1
  164. package/esm/models/patchedgeconfigitemsop.js +0 -4
  165. package/esm/models/patchedgeconfigitemsop.js.map +1 -1
  166. package/esm/models/patchteamop.d.ts +185 -0
  167. package/esm/models/patchteamop.d.ts.map +1 -1
  168. package/esm/models/patchteamop.js +132 -0
  169. package/esm/models/patchteamop.js.map +1 -1
  170. package/esm/models/removecustomenvironmentop.d.ts +3 -3
  171. package/esm/models/removecustomenvironmentop.js +1 -1
  172. package/esm/models/removecustomenvironmentop.js.map +1 -1
  173. package/esm/models/rerequestcheckop.d.ts +5 -0
  174. package/esm/models/rerequestcheckop.d.ts.map +1 -1
  175. package/esm/models/rerequestcheckop.js +2 -0
  176. package/esm/models/rerequestcheckop.js.map +1 -1
  177. package/esm/models/team.d.ts +149 -10
  178. package/esm/models/team.d.ts.map +1 -1
  179. package/esm/models/team.js +115 -5
  180. package/esm/models/team.js.map +1 -1
  181. package/esm/models/teamlimited.d.ts +15 -0
  182. package/esm/models/teamlimited.d.ts.map +1 -1
  183. package/esm/models/teamlimited.js +5 -0
  184. package/esm/models/teamlimited.js.map +1 -1
  185. package/esm/models/updatecustomenvironmentop.d.ts +3 -3
  186. package/esm/models/updatecustomenvironmentop.js +1 -1
  187. package/esm/models/updatecustomenvironmentop.js.map +1 -1
  188. package/esm/models/updateprojectdatacacheop.d.ts +185 -58
  189. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  190. package/esm/models/updateprojectdatacacheop.js +166 -43
  191. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  192. package/esm/models/updateprojectop.d.ts +188 -58
  193. package/esm/models/updateprojectop.d.ts.map +1 -1
  194. package/esm/models/updateprojectop.js +167 -43
  195. package/esm/models/updateprojectop.js.map +1 -1
  196. package/esm/models/userevent.d.ts +1599 -1433
  197. package/esm/models/userevent.d.ts.map +1 -1
  198. package/esm/models/userevent.js +1998 -1847
  199. package/esm/models/userevent.js.map +1 -1
  200. package/esm/sdk/aliases.d.ts +2 -2
  201. package/esm/sdk/aliases.d.ts.map +1 -1
  202. package/examples/README.md +5 -0
  203. package/examples/package-lock.json +8 -7
  204. package/examples/projectsUpdateProject.example.ts +2 -0
  205. package/jsr.json +1 -1
  206. package/package.json +6 -8
  207. package/src/__tests__/aliases.test.ts +16 -16
  208. package/src/__tests__/security.test.ts +13 -1
  209. package/src/__tests__/teams.test.ts +2 -2
  210. package/src/funcs/aliasesGetAlias.ts +5 -6
  211. package/src/funcs/checksRerequestCheck.ts +1 -0
  212. package/src/funcs/domainsGetDomainConfig.ts +2 -2
  213. package/src/funcs/edgeConfigPatchEdgeConfigItems.ts +2 -3
  214. package/src/funcs/marketplaceUpdateInstallationIntegrationEdgeConfig.ts +2 -2
  215. package/src/funcs/projectsAcceptProjectTransferRequest.ts +2 -2
  216. package/src/funcs/projectsCreateProject.ts +2 -2
  217. package/src/funcs/teamsPatchTeam.ts +2 -2
  218. package/src/lib/config.ts +3 -3
  219. package/src/mcp-server/mcp-server.ts +1 -1
  220. package/src/mcp-server/server.ts +1 -1
  221. package/src/models/acceptprojecttransferrequestop.ts +449 -4
  222. package/src/models/addbypassipop.ts +69 -78
  223. package/src/models/authtoken.ts +10 -8
  224. package/src/models/authuser.ts +93 -0
  225. package/src/models/canceldeploymentop.ts +655 -190
  226. package/src/models/createcustomenvironmentop.ts +1 -1
  227. package/src/models/createdeploymentop.ts +752 -268
  228. package/src/models/createlogdrainop.ts +4 -4
  229. package/src/models/createprojectop.ts +365 -82
  230. package/src/models/createwebhookop.ts +4 -0
  231. package/src/models/exchangessotokenop.ts +8 -8
  232. package/src/models/getaliasop.ts +0 -1042
  233. package/src/models/getbypassipop.ts +100 -404
  234. package/src/models/getcustomenvironmentop.ts +1 -1
  235. package/src/models/getdeploymentop.ts +1657 -674
  236. package/src/models/getdeploymentsop.ts +1 -0
  237. package/src/models/getintegrationlogdrainsop.ts +6 -4
  238. package/src/models/getprojectmembersop.ts +1 -0
  239. package/src/models/getprojectsop.ts +363 -81
  240. package/src/models/getrecordsop.ts +16 -0
  241. package/src/models/getteammembersop.ts +2 -0
  242. package/src/models/getv9projectsidornamecustomenvironmentsop.ts +1 -1
  243. package/src/models/getwebhookop.ts +2 -0
  244. package/src/models/getwebhooksop.ts +5 -0
  245. package/src/models/inviteusertoteamop.ts +11 -0
  246. package/src/models/listaccessgroupmembersop.ts +1 -0
  247. package/src/models/listaliasesop.ts +290 -74
  248. package/src/models/listdeploymentaliasesop.ts +58 -70
  249. package/src/models/patchedgeconfigitemsop.ts +0 -8
  250. package/src/models/patchteamop.ts +311 -0
  251. package/src/models/removecustomenvironmentop.ts +1 -1
  252. package/src/models/rerequestcheckop.ts +7 -0
  253. package/src/models/team.ts +251 -12
  254. package/src/models/teamlimited.ts +5 -0
  255. package/src/models/updatecustomenvironmentop.ts +1 -1
  256. package/src/models/updateprojectdatacacheop.ts +352 -82
  257. package/src/models/updateprojectop.ts +364 -82
  258. package/src/models/userevent.ts +3609 -3269
  259. package/src/sdk/aliases.ts +2 -2
  260. package/temp/example.ts +11 -0
  261. package/vercel-spec.json +1984 -867
@@ -56,20 +56,18 @@ export type AddBypassIpRequest = {
56
56
  requestBody?: AddBypassIpRequestBody1 | AddBypassIpRequestBody2 | undefined;
57
57
  };
58
58
 
59
- export const AddBypassIpResponseBodyAction = {
59
+ export const ResponseBodyAction = {
60
60
  Block: "block",
61
61
  Bypass: "bypass",
62
62
  } as const;
63
- export type AddBypassIpResponseBodyAction = ClosedEnum<
64
- typeof AddBypassIpResponseBodyAction
65
- >;
63
+ export type ResponseBodyAction = ClosedEnum<typeof ResponseBodyAction>;
66
64
 
67
- export type AddBypassIpResponseBodySecurityResult = {
65
+ export type AddBypassIpResponseBodyResult = {
68
66
  ownerId: string;
69
67
  id: string;
70
68
  domain: string;
71
69
  ip: string;
72
- action?: AddBypassIpResponseBodyAction | undefined;
70
+ action?: ResponseBodyAction | undefined;
73
71
  projectId?: string | undefined;
74
72
  isProjectRule?: boolean | undefined;
75
73
  note?: string | undefined;
@@ -83,10 +81,10 @@ export type AddBypassIpResponseBodySecurityResult = {
83
81
 
84
82
  export type AddBypassIpResponseBody2 = {
85
83
  ok: boolean;
86
- result?: Array<AddBypassIpResponseBodySecurityResult> | undefined;
84
+ result?: Array<AddBypassIpResponseBodyResult> | undefined;
87
85
  };
88
86
 
89
- export type AddBypassIpResponseBodyResult = {
87
+ export type ResponseBodyResult = {
90
88
  ownerId: string;
91
89
  id: string;
92
90
  domain: string;
@@ -98,7 +96,7 @@ export type AddBypassIpResponseBodyResult = {
98
96
 
99
97
  export type AddBypassIpResponseBody1 = {
100
98
  ok: boolean;
101
- result: Array<AddBypassIpResponseBodyResult>;
99
+ result: Array<ResponseBodyResult>;
102
100
  pagination?: any | null | undefined;
103
101
  };
104
102
 
@@ -381,29 +379,29 @@ export function addBypassIpRequestFromJSON(
381
379
  }
382
380
 
383
381
  /** @internal */
384
- export const AddBypassIpResponseBodyAction$inboundSchema: z.ZodNativeEnum<
385
- typeof AddBypassIpResponseBodyAction
386
- > = z.nativeEnum(AddBypassIpResponseBodyAction);
382
+ export const ResponseBodyAction$inboundSchema: z.ZodNativeEnum<
383
+ typeof ResponseBodyAction
384
+ > = z.nativeEnum(ResponseBodyAction);
387
385
 
388
386
  /** @internal */
389
- export const AddBypassIpResponseBodyAction$outboundSchema: z.ZodNativeEnum<
390
- typeof AddBypassIpResponseBodyAction
391
- > = AddBypassIpResponseBodyAction$inboundSchema;
387
+ export const ResponseBodyAction$outboundSchema: z.ZodNativeEnum<
388
+ typeof ResponseBodyAction
389
+ > = ResponseBodyAction$inboundSchema;
392
390
 
393
391
  /**
394
392
  * @internal
395
393
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
396
394
  */
397
- export namespace AddBypassIpResponseBodyAction$ {
398
- /** @deprecated use `AddBypassIpResponseBodyAction$inboundSchema` instead. */
399
- export const inboundSchema = AddBypassIpResponseBodyAction$inboundSchema;
400
- /** @deprecated use `AddBypassIpResponseBodyAction$outboundSchema` instead. */
401
- export const outboundSchema = AddBypassIpResponseBodyAction$outboundSchema;
395
+ export namespace ResponseBodyAction$ {
396
+ /** @deprecated use `ResponseBodyAction$inboundSchema` instead. */
397
+ export const inboundSchema = ResponseBodyAction$inboundSchema;
398
+ /** @deprecated use `ResponseBodyAction$outboundSchema` instead. */
399
+ export const outboundSchema = ResponseBodyAction$outboundSchema;
402
400
  }
403
401
 
404
402
  /** @internal */
405
- export const AddBypassIpResponseBodySecurityResult$inboundSchema: z.ZodType<
406
- AddBypassIpResponseBodySecurityResult,
403
+ export const AddBypassIpResponseBodyResult$inboundSchema: z.ZodType<
404
+ AddBypassIpResponseBodyResult,
407
405
  z.ZodTypeDef,
408
406
  unknown
409
407
  > = z.object({
@@ -411,7 +409,7 @@ export const AddBypassIpResponseBodySecurityResult$inboundSchema: z.ZodType<
411
409
  Id: z.string(),
412
410
  Domain: z.string(),
413
411
  Ip: z.string(),
414
- Action: AddBypassIpResponseBodyAction$inboundSchema.optional(),
412
+ Action: ResponseBodyAction$inboundSchema.optional(),
415
413
  ProjectId: z.string().optional(),
416
414
  IsProjectRule: z.boolean().optional(),
417
415
  Note: z.string().optional(),
@@ -441,7 +439,7 @@ export const AddBypassIpResponseBodySecurityResult$inboundSchema: z.ZodType<
441
439
  });
442
440
 
443
441
  /** @internal */
444
- export type AddBypassIpResponseBodySecurityResult$Outbound = {
442
+ export type AddBypassIpResponseBodyResult$Outbound = {
445
443
  OwnerId: string;
446
444
  Id: string;
447
445
  Domain: string;
@@ -459,16 +457,16 @@ export type AddBypassIpResponseBodySecurityResult$Outbound = {
459
457
  };
460
458
 
461
459
  /** @internal */
462
- export const AddBypassIpResponseBodySecurityResult$outboundSchema: z.ZodType<
463
- AddBypassIpResponseBodySecurityResult$Outbound,
460
+ export const AddBypassIpResponseBodyResult$outboundSchema: z.ZodType<
461
+ AddBypassIpResponseBodyResult$Outbound,
464
462
  z.ZodTypeDef,
465
- AddBypassIpResponseBodySecurityResult
463
+ AddBypassIpResponseBodyResult
466
464
  > = z.object({
467
465
  ownerId: z.string(),
468
466
  id: z.string(),
469
467
  domain: z.string(),
470
468
  ip: z.string(),
471
- action: AddBypassIpResponseBodyAction$outboundSchema.optional(),
469
+ action: ResponseBodyAction$outboundSchema.optional(),
472
470
  projectId: z.string().optional(),
473
471
  isProjectRule: z.boolean().optional(),
474
472
  note: z.string().optional(),
@@ -501,35 +499,32 @@ export const AddBypassIpResponseBodySecurityResult$outboundSchema: z.ZodType<
501
499
  * @internal
502
500
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
503
501
  */
504
- export namespace AddBypassIpResponseBodySecurityResult$ {
505
- /** @deprecated use `AddBypassIpResponseBodySecurityResult$inboundSchema` instead. */
506
- export const inboundSchema =
507
- AddBypassIpResponseBodySecurityResult$inboundSchema;
508
- /** @deprecated use `AddBypassIpResponseBodySecurityResult$outboundSchema` instead. */
509
- export const outboundSchema =
510
- AddBypassIpResponseBodySecurityResult$outboundSchema;
511
- /** @deprecated use `AddBypassIpResponseBodySecurityResult$Outbound` instead. */
512
- export type Outbound = AddBypassIpResponseBodySecurityResult$Outbound;
502
+ export namespace AddBypassIpResponseBodyResult$ {
503
+ /** @deprecated use `AddBypassIpResponseBodyResult$inboundSchema` instead. */
504
+ export const inboundSchema = AddBypassIpResponseBodyResult$inboundSchema;
505
+ /** @deprecated use `AddBypassIpResponseBodyResult$outboundSchema` instead. */
506
+ export const outboundSchema = AddBypassIpResponseBodyResult$outboundSchema;
507
+ /** @deprecated use `AddBypassIpResponseBodyResult$Outbound` instead. */
508
+ export type Outbound = AddBypassIpResponseBodyResult$Outbound;
513
509
  }
514
510
 
515
- export function addBypassIpResponseBodySecurityResultToJSON(
516
- addBypassIpResponseBodySecurityResult: AddBypassIpResponseBodySecurityResult,
511
+ export function addBypassIpResponseBodyResultToJSON(
512
+ addBypassIpResponseBodyResult: AddBypassIpResponseBodyResult,
517
513
  ): string {
518
514
  return JSON.stringify(
519
- AddBypassIpResponseBodySecurityResult$outboundSchema.parse(
520
- addBypassIpResponseBodySecurityResult,
515
+ AddBypassIpResponseBodyResult$outboundSchema.parse(
516
+ addBypassIpResponseBodyResult,
521
517
  ),
522
518
  );
523
519
  }
524
520
 
525
- export function addBypassIpResponseBodySecurityResultFromJSON(
521
+ export function addBypassIpResponseBodyResultFromJSON(
526
522
  jsonString: string,
527
- ): SafeParseResult<AddBypassIpResponseBodySecurityResult, SDKValidationError> {
523
+ ): SafeParseResult<AddBypassIpResponseBodyResult, SDKValidationError> {
528
524
  return safeParse(
529
525
  jsonString,
530
- (x) =>
531
- AddBypassIpResponseBodySecurityResult$inboundSchema.parse(JSON.parse(x)),
532
- `Failed to parse 'AddBypassIpResponseBodySecurityResult' from JSON`,
526
+ (x) => AddBypassIpResponseBodyResult$inboundSchema.parse(JSON.parse(x)),
527
+ `Failed to parse 'AddBypassIpResponseBodyResult' from JSON`,
533
528
  );
534
529
  }
535
530
 
@@ -540,15 +535,14 @@ export const AddBypassIpResponseBody2$inboundSchema: z.ZodType<
540
535
  unknown
541
536
  > = z.object({
542
537
  ok: z.boolean(),
543
- result: z.array(
544
- z.lazy(() => AddBypassIpResponseBodySecurityResult$inboundSchema),
545
- ).optional(),
538
+ result: z.array(z.lazy(() => AddBypassIpResponseBodyResult$inboundSchema))
539
+ .optional(),
546
540
  });
547
541
 
548
542
  /** @internal */
549
543
  export type AddBypassIpResponseBody2$Outbound = {
550
544
  ok: boolean;
551
- result?: Array<AddBypassIpResponseBodySecurityResult$Outbound> | undefined;
545
+ result?: Array<AddBypassIpResponseBodyResult$Outbound> | undefined;
552
546
  };
553
547
 
554
548
  /** @internal */
@@ -558,9 +552,8 @@ export const AddBypassIpResponseBody2$outboundSchema: z.ZodType<
558
552
  AddBypassIpResponseBody2
559
553
  > = z.object({
560
554
  ok: z.boolean(),
561
- result: z.array(
562
- z.lazy(() => AddBypassIpResponseBodySecurityResult$outboundSchema),
563
- ).optional(),
555
+ result: z.array(z.lazy(() => AddBypassIpResponseBodyResult$outboundSchema))
556
+ .optional(),
564
557
  });
565
558
 
566
559
  /**
@@ -595,8 +588,8 @@ export function addBypassIpResponseBody2FromJSON(
595
588
  }
596
589
 
597
590
  /** @internal */
598
- export const AddBypassIpResponseBodyResult$inboundSchema: z.ZodType<
599
- AddBypassIpResponseBodyResult,
591
+ export const ResponseBodyResult$inboundSchema: z.ZodType<
592
+ ResponseBodyResult,
600
593
  z.ZodTypeDef,
601
594
  unknown
602
595
  > = z.object({
@@ -620,7 +613,7 @@ export const AddBypassIpResponseBodyResult$inboundSchema: z.ZodType<
620
613
  });
621
614
 
622
615
  /** @internal */
623
- export type AddBypassIpResponseBodyResult$Outbound = {
616
+ export type ResponseBodyResult$Outbound = {
624
617
  OwnerId: string;
625
618
  Id: string;
626
619
  Domain: string;
@@ -631,10 +624,10 @@ export type AddBypassIpResponseBodyResult$Outbound = {
631
624
  };
632
625
 
633
626
  /** @internal */
634
- export const AddBypassIpResponseBodyResult$outboundSchema: z.ZodType<
635
- AddBypassIpResponseBodyResult$Outbound,
627
+ export const ResponseBodyResult$outboundSchema: z.ZodType<
628
+ ResponseBodyResult$Outbound,
636
629
  z.ZodTypeDef,
637
- AddBypassIpResponseBodyResult
630
+ ResponseBodyResult
638
631
  > = z.object({
639
632
  ownerId: z.string(),
640
633
  id: z.string(),
@@ -659,32 +652,30 @@ export const AddBypassIpResponseBodyResult$outboundSchema: z.ZodType<
659
652
  * @internal
660
653
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
661
654
  */
662
- export namespace AddBypassIpResponseBodyResult$ {
663
- /** @deprecated use `AddBypassIpResponseBodyResult$inboundSchema` instead. */
664
- export const inboundSchema = AddBypassIpResponseBodyResult$inboundSchema;
665
- /** @deprecated use `AddBypassIpResponseBodyResult$outboundSchema` instead. */
666
- export const outboundSchema = AddBypassIpResponseBodyResult$outboundSchema;
667
- /** @deprecated use `AddBypassIpResponseBodyResult$Outbound` instead. */
668
- export type Outbound = AddBypassIpResponseBodyResult$Outbound;
655
+ export namespace ResponseBodyResult$ {
656
+ /** @deprecated use `ResponseBodyResult$inboundSchema` instead. */
657
+ export const inboundSchema = ResponseBodyResult$inboundSchema;
658
+ /** @deprecated use `ResponseBodyResult$outboundSchema` instead. */
659
+ export const outboundSchema = ResponseBodyResult$outboundSchema;
660
+ /** @deprecated use `ResponseBodyResult$Outbound` instead. */
661
+ export type Outbound = ResponseBodyResult$Outbound;
669
662
  }
670
663
 
671
- export function addBypassIpResponseBodyResultToJSON(
672
- addBypassIpResponseBodyResult: AddBypassIpResponseBodyResult,
664
+ export function responseBodyResultToJSON(
665
+ responseBodyResult: ResponseBodyResult,
673
666
  ): string {
674
667
  return JSON.stringify(
675
- AddBypassIpResponseBodyResult$outboundSchema.parse(
676
- addBypassIpResponseBodyResult,
677
- ),
668
+ ResponseBodyResult$outboundSchema.parse(responseBodyResult),
678
669
  );
679
670
  }
680
671
 
681
- export function addBypassIpResponseBodyResultFromJSON(
672
+ export function responseBodyResultFromJSON(
682
673
  jsonString: string,
683
- ): SafeParseResult<AddBypassIpResponseBodyResult, SDKValidationError> {
674
+ ): SafeParseResult<ResponseBodyResult, SDKValidationError> {
684
675
  return safeParse(
685
676
  jsonString,
686
- (x) => AddBypassIpResponseBodyResult$inboundSchema.parse(JSON.parse(x)),
687
- `Failed to parse 'AddBypassIpResponseBodyResult' from JSON`,
677
+ (x) => ResponseBodyResult$inboundSchema.parse(JSON.parse(x)),
678
+ `Failed to parse 'ResponseBodyResult' from JSON`,
688
679
  );
689
680
  }
690
681
 
@@ -695,14 +686,14 @@ export const AddBypassIpResponseBody1$inboundSchema: z.ZodType<
695
686
  unknown
696
687
  > = z.object({
697
688
  ok: z.boolean(),
698
- result: z.array(z.lazy(() => AddBypassIpResponseBodyResult$inboundSchema)),
689
+ result: z.array(z.lazy(() => ResponseBodyResult$inboundSchema)),
699
690
  pagination: z.nullable(z.any()).optional(),
700
691
  });
701
692
 
702
693
  /** @internal */
703
694
  export type AddBypassIpResponseBody1$Outbound = {
704
695
  ok: boolean;
705
- result: Array<AddBypassIpResponseBodyResult$Outbound>;
696
+ result: Array<ResponseBodyResult$Outbound>;
706
697
  pagination?: any | null | undefined;
707
698
  };
708
699
 
@@ -713,7 +704,7 @@ export const AddBypassIpResponseBody1$outboundSchema: z.ZodType<
713
704
  AddBypassIpResponseBody1
714
705
  > = z.object({
715
706
  ok: z.boolean(),
716
- result: z.array(z.lazy(() => AddBypassIpResponseBodyResult$outboundSchema)),
707
+ result: z.array(z.lazy(() => ResponseBodyResult$outboundSchema)),
717
708
  pagination: z.nullable(z.any()).optional(),
718
709
  });
719
710
 
@@ -25,6 +25,7 @@ export const AuthTokenScopesOrigin = {
25
25
  Sms: "sms",
26
26
  Invite: "invite",
27
27
  Google: "google",
28
+ App: "app",
28
29
  } as const;
29
30
  export type AuthTokenScopesOrigin = ClosedEnum<typeof AuthTokenScopesOrigin>;
30
31
 
@@ -34,7 +35,7 @@ export type AuthTokenScopesOrigin = ClosedEnum<typeof AuthTokenScopesOrigin>;
34
35
  export type Scopes2 = {
35
36
  type: AuthTokenScopesType;
36
37
  teamId: string;
37
- origin: AuthTokenScopesOrigin;
38
+ origin?: AuthTokenScopesOrigin | undefined;
38
39
  createdAt: number;
39
40
  expiresAt?: number | undefined;
40
41
  };
@@ -77,6 +78,7 @@ export const ScopesOrigin = {
77
78
  Sms: "sms",
78
79
  Invite: "invite",
79
80
  Google: "google",
81
+ App: "app",
80
82
  } as const;
81
83
  export type ScopesOrigin = ClosedEnum<typeof ScopesOrigin>;
82
84
 
@@ -86,7 +88,7 @@ export type ScopesOrigin = ClosedEnum<typeof ScopesOrigin>;
86
88
  export type Scopes1 = {
87
89
  type: ScopesType;
88
90
  sudo?: Sudo | undefined;
89
- origin: ScopesOrigin;
91
+ origin?: ScopesOrigin | undefined;
90
92
  createdAt: number;
91
93
  expiresAt?: number | undefined;
92
94
  };
@@ -178,7 +180,7 @@ export const Scopes2$inboundSchema: z.ZodType<Scopes2, z.ZodTypeDef, unknown> =
178
180
  z.object({
179
181
  type: AuthTokenScopesType$inboundSchema,
180
182
  teamId: z.string(),
181
- origin: AuthTokenScopesOrigin$inboundSchema,
183
+ origin: AuthTokenScopesOrigin$inboundSchema.optional(),
182
184
  createdAt: z.number(),
183
185
  expiresAt: z.number().optional(),
184
186
  });
@@ -187,7 +189,7 @@ export const Scopes2$inboundSchema: z.ZodType<Scopes2, z.ZodTypeDef, unknown> =
187
189
  export type Scopes2$Outbound = {
188
190
  type: string;
189
191
  teamId: string;
190
- origin: string;
192
+ origin?: string | undefined;
191
193
  createdAt: number;
192
194
  expiresAt?: number | undefined;
193
195
  };
@@ -200,7 +202,7 @@ export const Scopes2$outboundSchema: z.ZodType<
200
202
  > = z.object({
201
203
  type: AuthTokenScopesType$outboundSchema,
202
204
  teamId: z.string(),
203
- origin: AuthTokenScopesOrigin$outboundSchema,
205
+ origin: AuthTokenScopesOrigin$outboundSchema.optional(),
204
206
  createdAt: z.number(),
205
207
  expiresAt: z.number().optional(),
206
208
  });
@@ -343,7 +345,7 @@ export const Scopes1$inboundSchema: z.ZodType<Scopes1, z.ZodTypeDef, unknown> =
343
345
  z.object({
344
346
  type: ScopesType$inboundSchema,
345
347
  sudo: z.lazy(() => Sudo$inboundSchema).optional(),
346
- origin: ScopesOrigin$inboundSchema,
348
+ origin: ScopesOrigin$inboundSchema.optional(),
347
349
  createdAt: z.number(),
348
350
  expiresAt: z.number().optional(),
349
351
  });
@@ -352,7 +354,7 @@ export const Scopes1$inboundSchema: z.ZodType<Scopes1, z.ZodTypeDef, unknown> =
352
354
  export type Scopes1$Outbound = {
353
355
  type: string;
354
356
  sudo?: Sudo$Outbound | undefined;
355
- origin: string;
357
+ origin?: string | undefined;
356
358
  createdAt: number;
357
359
  expiresAt?: number | undefined;
358
360
  };
@@ -365,7 +367,7 @@ export const Scopes1$outboundSchema: z.ZodType<
365
367
  > = z.object({
366
368
  type: ScopesType$outboundSchema,
367
369
  sudo: z.lazy(() => Sudo$outboundSchema).optional(),
368
- origin: ScopesOrigin$outboundSchema,
370
+ origin: ScopesOrigin$outboundSchema.optional(),
369
371
  createdAt: z.number(),
370
372
  expiresAt: z.number().optional(),
371
373
  });
@@ -122,6 +122,28 @@ export type BuildMachine = {
122
122
  memory?: number | undefined;
123
123
  };
124
124
 
125
+ /**
126
+ * An object containing infomation related to the amount of platform resources may be allocated to the User account.
127
+ */
128
+ export type AuthUserSecurity = {
129
+ /**
130
+ * An object containing infomation related to the amount of platform resources may be allocated to the User account.
131
+ */
132
+ customRules?: number | undefined;
133
+ /**
134
+ * An object containing infomation related to the amount of platform resources may be allocated to the User account.
135
+ */
136
+ ipBlocks?: number | undefined;
137
+ /**
138
+ * An object containing infomation related to the amount of platform resources may be allocated to the User account.
139
+ */
140
+ ipBypass?: number | undefined;
141
+ /**
142
+ * An object containing infomation related to the amount of platform resources may be allocated to the User account.
143
+ */
144
+ rateLimit?: number | undefined;
145
+ };
146
+
125
147
  /**
126
148
  * An object containing infomation related to the amount of platform resources may be allocated to the User account.
127
149
  */
@@ -226,6 +248,10 @@ export type AuthUserResourceConfig = {
226
248
  * An object containing infomation related to the amount of platform resources may be allocated to the User account.
227
249
  */
228
250
  buildMachine?: BuildMachine | undefined;
251
+ /**
252
+ * An object containing infomation related to the amount of platform resources may be allocated to the User account.
253
+ */
254
+ security?: AuthUserSecurity | undefined;
229
255
  };
230
256
 
231
257
  export const ViewPreference = {
@@ -266,6 +292,7 @@ export const ImportFlowGitProvider = {
266
292
  Github: "github",
267
293
  Gitlab: "gitlab",
268
294
  Bitbucket: "bitbucket",
295
+ GithubLimited: "github-limited",
269
296
  GithubCustomHost: "github-custom-host",
270
297
  } as const;
271
298
  export type ImportFlowGitProvider = ClosedEnum<typeof ImportFlowGitProvider>;
@@ -678,6 +705,69 @@ export function buildMachineFromJSON(
678
705
  );
679
706
  }
680
707
 
708
+ /** @internal */
709
+ export const AuthUserSecurity$inboundSchema: z.ZodType<
710
+ AuthUserSecurity,
711
+ z.ZodTypeDef,
712
+ unknown
713
+ > = z.object({
714
+ customRules: z.number().optional(),
715
+ ipBlocks: z.number().optional(),
716
+ ipBypass: z.number().optional(),
717
+ rateLimit: z.number().optional(),
718
+ });
719
+
720
+ /** @internal */
721
+ export type AuthUserSecurity$Outbound = {
722
+ customRules?: number | undefined;
723
+ ipBlocks?: number | undefined;
724
+ ipBypass?: number | undefined;
725
+ rateLimit?: number | undefined;
726
+ };
727
+
728
+ /** @internal */
729
+ export const AuthUserSecurity$outboundSchema: z.ZodType<
730
+ AuthUserSecurity$Outbound,
731
+ z.ZodTypeDef,
732
+ AuthUserSecurity
733
+ > = z.object({
734
+ customRules: z.number().optional(),
735
+ ipBlocks: z.number().optional(),
736
+ ipBypass: z.number().optional(),
737
+ rateLimit: z.number().optional(),
738
+ });
739
+
740
+ /**
741
+ * @internal
742
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
743
+ */
744
+ export namespace AuthUserSecurity$ {
745
+ /** @deprecated use `AuthUserSecurity$inboundSchema` instead. */
746
+ export const inboundSchema = AuthUserSecurity$inboundSchema;
747
+ /** @deprecated use `AuthUserSecurity$outboundSchema` instead. */
748
+ export const outboundSchema = AuthUserSecurity$outboundSchema;
749
+ /** @deprecated use `AuthUserSecurity$Outbound` instead. */
750
+ export type Outbound = AuthUserSecurity$Outbound;
751
+ }
752
+
753
+ export function authUserSecurityToJSON(
754
+ authUserSecurity: AuthUserSecurity,
755
+ ): string {
756
+ return JSON.stringify(
757
+ AuthUserSecurity$outboundSchema.parse(authUserSecurity),
758
+ );
759
+ }
760
+
761
+ export function authUserSecurityFromJSON(
762
+ jsonString: string,
763
+ ): SafeParseResult<AuthUserSecurity, SDKValidationError> {
764
+ return safeParse(
765
+ jsonString,
766
+ (x) => AuthUserSecurity$inboundSchema.parse(JSON.parse(x)),
767
+ `Failed to parse 'AuthUserSecurity' from JSON`,
768
+ );
769
+ }
770
+
681
771
  /** @internal */
682
772
  export const AuthUserResourceConfig$inboundSchema: z.ZodType<
683
773
  AuthUserResourceConfig,
@@ -710,6 +800,7 @@ export const AuthUserResourceConfig$inboundSchema: z.ZodType<
710
800
  flagsExplorerUnlimitedOverrides: z.boolean().optional(),
711
801
  customEnvironmentsPerProject: z.number().optional(),
712
802
  buildMachine: z.lazy(() => BuildMachine$inboundSchema).optional(),
803
+ security: z.lazy(() => AuthUserSecurity$inboundSchema).optional(),
713
804
  });
714
805
 
715
806
  /** @internal */
@@ -739,6 +830,7 @@ export type AuthUserResourceConfig$Outbound = {
739
830
  flagsExplorerUnlimitedOverrides?: boolean | undefined;
740
831
  customEnvironmentsPerProject?: number | undefined;
741
832
  buildMachine?: BuildMachine$Outbound | undefined;
833
+ security?: AuthUserSecurity$Outbound | undefined;
742
834
  };
743
835
 
744
836
  /** @internal */
@@ -773,6 +865,7 @@ export const AuthUserResourceConfig$outboundSchema: z.ZodType<
773
865
  flagsExplorerUnlimitedOverrides: z.boolean().optional(),
774
866
  customEnvironmentsPerProject: z.number().optional(),
775
867
  buildMachine: z.lazy(() => BuildMachine$outboundSchema).optional(),
868
+ security: z.lazy(() => AuthUserSecurity$outboundSchema).optional(),
776
869
  });
777
870
 
778
871
  /**