@sylphx/contract 0.4.0 → 0.5.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 (240) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/endpoint.d.ts +45 -3
  3. package/dist/endpoint.d.ts.map +1 -1
  4. package/dist/endpoint.js +9 -0
  5. package/dist/endpoints/admin-ai-playground.d.ts +3 -3
  6. package/dist/endpoints/admin-anomalies.d.ts +7 -7
  7. package/dist/endpoints/admin-apm.d.ts +6 -6
  8. package/dist/endpoints/admin-audit.d.ts +94 -58
  9. package/dist/endpoints/admin-audit.d.ts.map +1 -1
  10. package/dist/endpoints/admin-audit.js +8 -1
  11. package/dist/endpoints/admin-billing.d.ts +35 -24
  12. package/dist/endpoints/admin-billing.d.ts.map +1 -1
  13. package/dist/endpoints/admin-billing.js +4 -3
  14. package/dist/endpoints/admin-bootstrap.d.ts +1 -1
  15. package/dist/endpoints/admin-branch-databases.d.ts +43 -0
  16. package/dist/endpoints/admin-branch-databases.d.ts.map +1 -0
  17. package/dist/endpoints/admin-branch-databases.js +41 -0
  18. package/dist/endpoints/admin-broadcasts.d.ts +10 -8
  19. package/dist/endpoints/admin-broadcasts.d.ts.map +1 -1
  20. package/dist/endpoints/admin-broadcasts.js +1 -0
  21. package/dist/endpoints/admin-builds.d.ts +1 -1
  22. package/dist/endpoints/admin-config.d.ts +11 -11
  23. package/dist/endpoints/admin-consent.d.ts +78 -41
  24. package/dist/endpoints/admin-consent.d.ts.map +1 -1
  25. package/dist/endpoints/admin-consent.js +9 -6
  26. package/dist/endpoints/admin-env-services.d.ts +1 -1
  27. package/dist/endpoints/admin-impersonation.d.ts +9 -9
  28. package/dist/endpoints/admin-invitations.d.ts +9 -5
  29. package/dist/endpoints/admin-invitations.d.ts.map +1 -1
  30. package/dist/endpoints/admin-invitations.js +2 -0
  31. package/dist/endpoints/admin-jwt-keys.d.ts +6 -6
  32. package/dist/endpoints/admin-logs.d.ts +7 -7
  33. package/dist/endpoints/admin-plans.d.ts +6 -4
  34. package/dist/endpoints/admin-plans.d.ts.map +1 -1
  35. package/dist/endpoints/admin-plans.js +1 -0
  36. package/dist/endpoints/admin-project-users.d.ts +8 -8
  37. package/dist/endpoints/admin-projects.d.ts +11 -9
  38. package/dist/endpoints/admin-projects.d.ts.map +1 -1
  39. package/dist/endpoints/admin-projects.js +3 -2
  40. package/dist/endpoints/admin-quotas.d.ts +6 -6
  41. package/dist/endpoints/admin-rate-limits.d.ts +2 -2
  42. package/dist/endpoints/admin-reconcile.d.ts +1 -1
  43. package/dist/endpoints/admin-resources.d.ts +2 -2
  44. package/dist/endpoints/admin-secrets.d.ts +2 -2
  45. package/dist/endpoints/admin-services.d.ts +1 -1
  46. package/dist/endpoints/admin-tasks.d.ts +6 -6
  47. package/dist/endpoints/admin-tenants.d.ts +3 -1
  48. package/dist/endpoints/admin-tenants.d.ts.map +1 -1
  49. package/dist/endpoints/admin-tenants.js +1 -0
  50. package/dist/endpoints/admin-traces.d.ts +5 -5
  51. package/dist/endpoints/admin-users.d.ts +8 -8
  52. package/dist/endpoints/admin-webhook-signature-versions.d.ts +5 -3
  53. package/dist/endpoints/admin-webhook-signature-versions.d.ts.map +1 -1
  54. package/dist/endpoints/admin-webhook-signature-versions.js +1 -0
  55. package/dist/endpoints/ai-admin.d.ts +5 -5
  56. package/dist/endpoints/analytics-admin.d.ts +123 -38
  57. package/dist/endpoints/analytics-admin.d.ts.map +1 -1
  58. package/dist/endpoints/analytics-admin.js +17 -9
  59. package/dist/endpoints/analytics.d.ts +4 -4
  60. package/dist/endpoints/audit-chain.d.ts +1 -1
  61. package/dist/endpoints/audit.d.ts +1 -1
  62. package/dist/endpoints/auth-admin.d.ts +5 -5
  63. package/dist/endpoints/auth.d.ts +25 -22
  64. package/dist/endpoints/auth.d.ts.map +1 -1
  65. package/dist/endpoints/auth.js +2 -2
  66. package/dist/endpoints/backups.d.ts +4 -4
  67. package/dist/endpoints/billing-console.d.ts +16 -16
  68. package/dist/endpoints/billing-settings.d.ts +11 -11
  69. package/dist/endpoints/branch-databases.d.ts +8 -4
  70. package/dist/endpoints/branch-databases.d.ts.map +1 -1
  71. package/dist/endpoints/branch-databases.js +2 -0
  72. package/dist/endpoints/challenge.d.ts +5 -5
  73. package/dist/endpoints/ci-settings.d.ts +8 -8
  74. package/dist/endpoints/consent-admin.d.ts +9 -7
  75. package/dist/endpoints/consent-admin.d.ts.map +1 -1
  76. package/dist/endpoints/consent-admin.js +1 -0
  77. package/dist/endpoints/databases.d.ts +189 -323
  78. package/dist/endpoints/databases.d.ts.map +1 -1
  79. package/dist/endpoints/databases.js +42 -41
  80. package/dist/endpoints/deployments.d.ts +71 -18
  81. package/dist/endpoints/deployments.d.ts.map +1 -1
  82. package/dist/endpoints/deployments.js +9 -1
  83. package/dist/endpoints/domains.d.ts +33 -23
  84. package/dist/endpoints/domains.d.ts.map +1 -1
  85. package/dist/endpoints/domains.js +7 -4
  86. package/dist/endpoints/email-admin.d.ts +29 -23
  87. package/dist/endpoints/email-admin.d.ts.map +1 -1
  88. package/dist/endpoints/email-admin.js +3 -0
  89. package/dist/endpoints/email.d.ts +4 -4
  90. package/dist/endpoints/engagement-admin.d.ts +6 -6
  91. package/dist/endpoints/env-vars.d.ts +3 -3
  92. package/dist/endpoints/environments.d.ts +30 -27
  93. package/dist/endpoints/environments.d.ts.map +1 -1
  94. package/dist/endpoints/environments.js +3 -7
  95. package/dist/endpoints/experiments.d.ts +20 -18
  96. package/dist/endpoints/experiments.d.ts.map +1 -1
  97. package/dist/endpoints/experiments.js +1 -0
  98. package/dist/endpoints/flags-admin.d.ts +73 -9
  99. package/dist/endpoints/flags-admin.d.ts.map +1 -1
  100. package/dist/endpoints/flags-admin.js +1 -0
  101. package/dist/endpoints/flags.d.ts +1 -1
  102. package/dist/endpoints/github.d.ts +3 -3
  103. package/dist/endpoints/image-opt.d.ts +2 -2
  104. package/dist/endpoints/kv-admin.d.ts +7 -7
  105. package/dist/endpoints/kv-admin.js +1 -1
  106. package/dist/endpoints/kv.d.ts +27 -21
  107. package/dist/endpoints/kv.d.ts.map +1 -1
  108. package/dist/endpoints/kv.js +9 -9
  109. package/dist/endpoints/monitoring-admin.d.ts +10 -10
  110. package/dist/endpoints/monitoring.d.ts +2 -2
  111. package/dist/endpoints/newsletter.d.ts +30 -24
  112. package/dist/endpoints/newsletter.d.ts.map +1 -1
  113. package/dist/endpoints/newsletter.js +3 -0
  114. package/dist/endpoints/notifications-admin.d.ts +17 -17
  115. package/dist/endpoints/notifications.d.ts +23 -16
  116. package/dist/endpoints/notifications.d.ts.map +1 -1
  117. package/dist/endpoints/oidc.d.ts +6 -4
  118. package/dist/endpoints/oidc.d.ts.map +1 -1
  119. package/dist/endpoints/oidc.js +1 -0
  120. package/dist/endpoints/organizations.d.ts +56 -48
  121. package/dist/endpoints/organizations.d.ts.map +1 -1
  122. package/dist/endpoints/organizations.js +4 -0
  123. package/dist/endpoints/plans.d.ts +9 -7
  124. package/dist/endpoints/plans.d.ts.map +1 -1
  125. package/dist/endpoints/plans.js +1 -0
  126. package/dist/endpoints/privacy.d.ts +11 -9
  127. package/dist/endpoints/privacy.d.ts.map +1 -1
  128. package/dist/endpoints/privacy.js +1 -0
  129. package/dist/endpoints/project-manifest.d.ts +126 -44
  130. package/dist/endpoints/project-manifest.d.ts.map +1 -1
  131. package/dist/endpoints/projects.d.ts +7 -5
  132. package/dist/endpoints/projects.d.ts.map +1 -1
  133. package/dist/endpoints/projects.js +2 -1
  134. package/dist/endpoints/rate-limits.d.ts +4 -4
  135. package/dist/endpoints/realtime-admin.d.ts +6 -4
  136. package/dist/endpoints/realtime-admin.d.ts.map +1 -1
  137. package/dist/endpoints/realtime-admin.js +1 -0
  138. package/dist/endpoints/realtime.d.ts +3 -3
  139. package/dist/endpoints/referrals-admin.d.ts +7 -5
  140. package/dist/endpoints/referrals-admin.d.ts.map +1 -1
  141. package/dist/endpoints/referrals-admin.js +1 -0
  142. package/dist/endpoints/refresh.d.ts +1 -1
  143. package/dist/endpoints/regions.d.ts +5 -22
  144. package/dist/endpoints/regions.d.ts.map +1 -1
  145. package/dist/endpoints/regions.js +5 -27
  146. package/dist/endpoints/runners.d.ts +4 -4
  147. package/dist/endpoints/saml.d.ts +13 -11
  148. package/dist/endpoints/saml.d.ts.map +1 -1
  149. package/dist/endpoints/saml.js +1 -0
  150. package/dist/endpoints/search.d.ts +3 -3
  151. package/dist/endpoints/secrets.d.ts +9 -7
  152. package/dist/endpoints/secrets.d.ts.map +1 -1
  153. package/dist/endpoints/secrets.js +1 -0
  154. package/dist/endpoints/security.d.ts +28 -28
  155. package/dist/endpoints/service-tokens.d.ts +20 -12
  156. package/dist/endpoints/service-tokens.d.ts.map +1 -1
  157. package/dist/endpoints/service-tokens.js +4 -0
  158. package/dist/endpoints/session-replay.d.ts +4 -4
  159. package/dist/endpoints/storage-admin.d.ts +14 -10
  160. package/dist/endpoints/storage-admin.d.ts.map +1 -1
  161. package/dist/endpoints/storage-admin.js +3 -1
  162. package/dist/endpoints/storage.d.ts +30 -12
  163. package/dist/endpoints/storage.d.ts.map +1 -1
  164. package/dist/endpoints/storage.js +11 -1
  165. package/dist/endpoints/tasks.d.ts +13 -9
  166. package/dist/endpoints/tasks.d.ts.map +1 -1
  167. package/dist/endpoints/tasks.js +2 -0
  168. package/dist/endpoints/users.d.ts +12 -12
  169. package/dist/endpoints/webhooks.d.ts +10 -10
  170. package/dist/hono-app.d.ts +55 -26
  171. package/dist/hono-app.d.ts.map +1 -1
  172. package/dist/index.d.ts +1644 -1101
  173. package/dist/index.d.ts.map +1 -1
  174. package/dist/index.js +6 -5
  175. package/dist/schemas/admin-audit.d.ts +50 -0
  176. package/dist/schemas/admin-audit.d.ts.map +1 -1
  177. package/dist/schemas/admin-audit.js +43 -0
  178. package/dist/schemas/admin-billing.d.ts +19 -5
  179. package/dist/schemas/admin-billing.d.ts.map +1 -1
  180. package/dist/schemas/admin-billing.js +16 -5
  181. package/dist/schemas/admin-branch-databases.d.ts +34 -0
  182. package/dist/schemas/admin-branch-databases.d.ts.map +1 -0
  183. package/dist/schemas/admin-branch-databases.js +33 -0
  184. package/dist/schemas/admin-broadcasts.d.ts +6 -6
  185. package/dist/schemas/admin-broadcasts.d.ts.map +1 -1
  186. package/dist/schemas/admin-broadcasts.js +1 -1
  187. package/dist/schemas/admin-consent.d.ts +90 -6
  188. package/dist/schemas/admin-consent.d.ts.map +1 -1
  189. package/dist/schemas/admin-consent.js +50 -3
  190. package/dist/schemas/analytics-admin.d.ts +99 -9
  191. package/dist/schemas/analytics-admin.d.ts.map +1 -1
  192. package/dist/schemas/analytics-admin.js +70 -0
  193. package/dist/schemas/auth.d.ts +1 -0
  194. package/dist/schemas/auth.d.ts.map +1 -1
  195. package/dist/schemas/auth.js +1 -0
  196. package/dist/schemas/database.d.ts +3 -2
  197. package/dist/schemas/database.d.ts.map +1 -1
  198. package/dist/schemas/database.js +3 -2
  199. package/dist/schemas/deployment.d.ts +53 -0
  200. package/dist/schemas/deployment.d.ts.map +1 -1
  201. package/dist/schemas/deployment.js +53 -1
  202. package/dist/schemas/experiments.d.ts +13 -33
  203. package/dist/schemas/experiments.d.ts.map +1 -1
  204. package/dist/schemas/experiments.js +5 -4
  205. package/dist/schemas/flags-admin.d.ts +115 -19
  206. package/dist/schemas/flags-admin.d.ts.map +1 -1
  207. package/dist/schemas/flags-admin.js +28 -8
  208. package/dist/schemas/ids.d.ts +2 -0
  209. package/dist/schemas/ids.d.ts.map +1 -1
  210. package/dist/schemas/ids.js +1 -0
  211. package/dist/schemas/kv-admin.d.ts +1 -1
  212. package/dist/schemas/kv-admin.js +1 -1
  213. package/dist/schemas/kv.d.ts +12 -4
  214. package/dist/schemas/kv.d.ts.map +1 -1
  215. package/dist/schemas/kv.js +17 -5
  216. package/dist/schemas/notifications.d.ts +11 -0
  217. package/dist/schemas/notifications.d.ts.map +1 -1
  218. package/dist/schemas/notifications.js +11 -0
  219. package/dist/schemas/project-manifest.d.ts +239 -76
  220. package/dist/schemas/project-manifest.d.ts.map +1 -1
  221. package/dist/schemas/project-manifest.js +74 -23
  222. package/dist/schemas/project.d.ts +3 -3
  223. package/dist/schemas/project.d.ts.map +1 -1
  224. package/dist/schemas/project.js +2 -2
  225. package/dist/schemas/region.d.ts +4 -52
  226. package/dist/schemas/region.d.ts.map +1 -1
  227. package/dist/schemas/region.js +4 -46
  228. package/dist/schemas/resources.d.ts +59 -8
  229. package/dist/schemas/resources.d.ts.map +1 -1
  230. package/dist/schemas/resources.js +54 -3
  231. package/dist/schemas/storage.d.ts +29 -0
  232. package/dist/schemas/storage.d.ts.map +1 -1
  233. package/dist/schemas/storage.js +19 -0
  234. package/package.json +1 -1
  235. package/dist/endpoints/edge-deployments.d.ts +0 -92
  236. package/dist/endpoints/edge-deployments.d.ts.map +0 -1
  237. package/dist/endpoints/edge-deployments.js +0 -58
  238. package/dist/schemas/edge-deployments.d.ts +0 -140
  239. package/dist/schemas/edge-deployments.d.ts.map +0 -1
  240. package/dist/schemas/edge-deployments.js +0 -87
@@ -137,6 +137,7 @@ const projectsEndpoints = {
137
137
  create: defineEndpoint({
138
138
  method: 'POST',
139
139
  path: '/orgs/projects',
140
+ success: { status: 201 },
140
141
  body: CreateOrgProjectInput,
141
142
  response: CreateOrgProjectResult,
142
143
  summary: 'Create a new project in the current org',
@@ -243,6 +244,7 @@ const teamEndpoints = {
243
244
  createInvitation: defineEndpoint({
244
245
  method: 'POST',
245
246
  path: '/orgs/team/invitations',
247
+ success: { status: 201 },
246
248
  body: CreateInvitationInput,
247
249
  response: CreateInvitationResult,
248
250
  summary: 'Create a team invitation (admin only)',
@@ -366,6 +368,7 @@ export const organizationsEndpoints = {
366
368
  create: defineEndpoint({
367
369
  method: 'POST',
368
370
  path: '/orgs',
371
+ success: { status: 201 },
369
372
  body: CreateOrgInput,
370
373
  response: Organization,
371
374
  summary: 'Create a new organization',
@@ -401,6 +404,7 @@ export const organizationsEndpoints = {
401
404
  inviteMember: defineEndpoint({
402
405
  method: 'POST',
403
406
  path: '/orgs/:orgId/members',
407
+ success: { status: 201 },
404
408
  params: OrgPath,
405
409
  body: InviteMemberInput,
406
410
  response: InviteMemberResult,
@@ -39,7 +39,7 @@ export declare const plansEndpoints: {
39
39
  createdAt: typeof import("effect/Schema").String;
40
40
  updatedAt: typeof import("effect/Schema").String;
41
41
  }>>;
42
- }>>;
42
+ }>, undefined>;
43
43
  readonly get: import("../endpoint.js").Endpoint<"GET", "/plans/projects/:id/plans/:planId", import("effect/Schema").Struct<{
44
44
  id: typeof import("effect/Schema").String;
45
45
  planId: typeof import("effect/Schema").String;
@@ -61,7 +61,7 @@ export declare const plansEndpoints: {
61
61
  }>;
62
62
  createdAt: typeof import("effect/Schema").String;
63
63
  updatedAt: typeof import("effect/Schema").String;
64
- }>>;
64
+ }>, undefined>;
65
65
  readonly create: import("../endpoint.js").Endpoint<"POST", "/plans/plans", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
66
66
  projectSlug: typeof import("effect/Schema").String;
67
67
  name: typeof import("effect/Schema").String;
@@ -81,7 +81,9 @@ export declare const plansEndpoints: {
81
81
  annual: typeof import("effect/Schema").Boolean;
82
82
  lifetime: typeof import("effect/Schema").Boolean;
83
83
  }>;
84
- }>>;
84
+ }>, {
85
+ status: 201;
86
+ }>;
85
87
  readonly update: import("../endpoint.js").Endpoint<"PATCH", "/plans/plans/:planId", import("effect/Schema").Struct<{
86
88
  planId: typeof import("effect/Schema").String;
87
89
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
@@ -103,7 +105,7 @@ export declare const plansEndpoints: {
103
105
  annual: typeof import("effect/Schema").Boolean;
104
106
  lifetime: typeof import("effect/Schema").Boolean;
105
107
  }>;
106
- }>>;
108
+ }>, undefined>;
107
109
  readonly delete: import("../endpoint.js").Endpoint<"DELETE", "/plans/plans/:planId", import("effect/Schema").Struct<{
108
110
  planId: typeof import("effect/Schema").String;
109
111
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
@@ -111,7 +113,7 @@ export declare const plansEndpoints: {
111
113
  }>, import("effect/Schema").Struct<{
112
114
  id: typeof import("effect/Schema").String;
113
115
  name: typeof import("effect/Schema").String;
114
- }>>;
116
+ }>, undefined>;
115
117
  readonly syncStripe: import("../endpoint.js").Endpoint<"POST", "/plans/plans/:planId/sync-stripe", import("effect/Schema").Struct<{
116
118
  planId: typeof import("effect/Schema").String;
117
119
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
@@ -125,12 +127,12 @@ export declare const plansEndpoints: {
125
127
  annual: typeof import("effect/Schema").Boolean;
126
128
  lifetime: typeof import("effect/Schema").Boolean;
127
129
  }>;
128
- }>>;
130
+ }>, undefined>;
129
131
  readonly reorder: import("../endpoint.js").Endpoint<"POST", "/plans/plans/reorder", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
130
132
  projectSlug: typeof import("effect/Schema").String;
131
133
  planIds: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
132
134
  }>, import("effect/Schema").Struct<{
133
135
  success: typeof import("effect/Schema").Boolean;
134
- }>>;
136
+ }>, undefined>;
135
137
  };
136
138
  //# sourceMappingURL=plans.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plans.d.ts","sourceRoot":"","sources":["../../src/endpoints/plans.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAqBH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmEjB,CAAA"}
1
+ {"version":3,"file":"plans.d.ts","sourceRoot":"","sources":["../../src/endpoints/plans.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAqBH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoEjB,CAAA"}
@@ -35,6 +35,7 @@ export const plansEndpoints = {
35
35
  create: defineEndpoint({
36
36
  method: 'POST',
37
37
  path: '/plans/plans',
38
+ success: { status: 201 },
38
39
  body: CreatePlanInput,
39
40
  response: CreatePlanResult,
40
41
  plane: 'management',
@@ -15,7 +15,9 @@ export declare const privacyEndpoints: {
15
15
  scanId: typeof Schema.String;
16
16
  status: Schema.Literal<["pending", "running", "completed", "failed"]>;
17
17
  message: typeof Schema.String;
18
- }>>;
18
+ }>, {
19
+ status: 201;
20
+ }>;
19
21
  readonly getScan: import("../endpoint.js").Endpoint<"GET", "/privacy/projects/:id/scans/:scanId", Schema.Struct<{
20
22
  id: typeof Schema.String;
21
23
  scanId: typeof Schema.String;
@@ -33,7 +35,7 @@ export declare const privacyEndpoints: {
33
35
  completedAt: Schema.NullOr<typeof Schema.String>;
34
36
  durationMs: Schema.NullOr<typeof Schema.Number>;
35
37
  createdAt: typeof Schema.String;
36
- }>>;
38
+ }>, undefined>;
37
39
  readonly listScans: import("../endpoint.js").Endpoint<"GET", "/privacy/projects/:id/scans", Schema.Struct<{
38
40
  id: typeof Schema.String;
39
41
  }>, Schema.Struct<{
@@ -52,7 +54,7 @@ export declare const privacyEndpoints: {
52
54
  total: typeof Schema.Number;
53
55
  limit: typeof Schema.Number;
54
56
  offset: typeof Schema.Number;
55
- }>>;
57
+ }>, undefined>;
56
58
  readonly listCookies: import("../endpoint.js").Endpoint<"GET", "/privacy/projects/:id/cookies", Schema.Struct<{
57
59
  id: typeof Schema.String;
58
60
  }>, Schema.Struct<{
@@ -83,7 +85,7 @@ export declare const privacyEndpoints: {
83
85
  total: typeof Schema.Number;
84
86
  limit: typeof Schema.Number;
85
87
  offset: typeof Schema.Number;
86
- }>>;
88
+ }>, undefined>;
87
89
  readonly getSummary: import("../endpoint.js").Endpoint<"GET", "/privacy/projects/:id/summary", Schema.Struct<{
88
90
  id: typeof Schema.String;
89
91
  }>, Schema.Schema.AnyNoContext | undefined, Schema.Schema.AnyNoContext | undefined, Schema.Struct<{
@@ -93,7 +95,7 @@ export declare const privacyEndpoints: {
93
95
  byCategoryCount: Schema.Record$<typeof Schema.String, typeof Schema.Number>;
94
96
  byPartyCount: Schema.Record$<typeof Schema.String, typeof Schema.Number>;
95
97
  unmappedCookies: typeof Schema.Number;
96
- }>>;
98
+ }>, undefined>;
97
99
  readonly updateCookieCategory: import("../endpoint.js").Endpoint<"PATCH", "/privacy/projects/:id/cookies/:cookieId/category", Schema.Struct<{
98
100
  id: typeof Schema.String;
99
101
  cookieId: typeof Schema.String;
@@ -103,7 +105,7 @@ export declare const privacyEndpoints: {
103
105
  id: typeof Schema.String;
104
106
  name: typeof Schema.String;
105
107
  category: Schema.Literal<["necessary", "analytics", "marketing", "preferences", "functional", "unknown"]>;
106
- }>>;
108
+ }>, undefined>;
107
109
  readonly linkCookie: import("../endpoint.js").Endpoint<"PATCH", "/privacy/projects/:id/cookies/:cookieId/consent-type", Schema.Struct<{
108
110
  id: typeof Schema.String;
109
111
  cookieId: typeof Schema.String;
@@ -113,7 +115,7 @@ export declare const privacyEndpoints: {
113
115
  id: typeof Schema.String;
114
116
  name: typeof Schema.String;
115
117
  consentTypeId: Schema.NullOr<typeof Schema.String>;
116
- }>>;
118
+ }>, undefined>;
117
119
  readonly bulkLinkCookies: import("../endpoint.js").Endpoint<"POST", "/privacy/cookies/bulk-link", Schema.Schema.AnyNoContext | undefined, Schema.Schema.AnyNoContext | undefined, Schema.Struct<{
118
120
  projectId: typeof Schema.String;
119
121
  category: Schema.Literal<["necessary", "analytics", "marketing", "preferences", "functional", "unknown"]>;
@@ -122,10 +124,10 @@ export declare const privacyEndpoints: {
122
124
  linkedCount: typeof Schema.Number;
123
125
  category: Schema.Literal<["necessary", "analytics", "marketing", "preferences", "functional", "unknown"]>;
124
126
  consentTypeId: typeof Schema.String;
125
- }>>;
127
+ }>, undefined>;
126
128
  readonly seedKnownCookies: import("../endpoint.js").Endpoint<"POST", "/privacy/known-cookies/seed", Schema.Schema.AnyNoContext | undefined, Schema.Schema.AnyNoContext | undefined, Schema.Schema.AnyNoContext | undefined, Schema.Struct<{
127
129
  seededCount: typeof Schema.Number;
128
130
  message: typeof Schema.String;
129
- }>>;
131
+ }>, undefined>;
130
132
  };
131
133
  //# sourceMappingURL=privacy.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"privacy.d.ts","sourceRoot":"","sources":["../../src/endpoints/privacy.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAwB/B,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqFnB,CAAA"}
1
+ {"version":3,"file":"privacy.d.ts","sourceRoot":"","sources":["../../src/endpoints/privacy.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAwB/B,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsFnB,CAAA"}
@@ -14,6 +14,7 @@ export const privacyEndpoints = {
14
14
  startScan: defineEndpoint({
15
15
  method: 'POST',
16
16
  path: '/privacy/scans',
17
+ success: { status: 201 },
17
18
  body: StartScanInput,
18
19
  response: StartScanResult,
19
20
  plane: 'management',
@@ -27,7 +27,9 @@ export declare const projectManifestEndpoints: {
27
27
  }>;
28
28
  build: Schema.optional<Schema.Struct<{
29
29
  buildpack: Schema.optional<Schema.Literal<["auto", "ruby", "node", "python", "static", "dockerfile"]>>;
30
+ strategy: Schema.optional<Schema.Literal<["auto", "buildpack", "dockerfile", "nixpacks"]>>;
30
31
  dockerfile: Schema.optional<typeof Schema.String>;
32
+ context: Schema.optional<typeof Schema.String>;
31
33
  docker_context: Schema.optional<typeof Schema.String>;
32
34
  build_command: Schema.optional<typeof Schema.String>;
33
35
  ignore: Schema.optional<Schema.Array$<typeof Schema.String>>;
@@ -44,6 +46,18 @@ export declare const projectManifestEndpoints: {
44
46
  services: Schema.optional<Schema.Array$<Schema.Struct<{
45
47
  name: Schema.filter<Schema.filter<Schema.filter<typeof Schema.String>>>;
46
48
  type: Schema.Literal<["web", "worker", "cron", "function"]>;
49
+ build: Schema.optional<Schema.Struct<{
50
+ strategy: Schema.optional<Schema.Literal<["auto", "buildpack", "dockerfile", "nixpacks"]>>;
51
+ dockerfile: Schema.optional<typeof Schema.String>;
52
+ context: Schema.optional<typeof Schema.String>;
53
+ docker_context: Schema.optional<typeof Schema.String>;
54
+ build_command: Schema.optional<typeof Schema.String>;
55
+ }>>;
56
+ health: Schema.optional<Schema.Struct<{
57
+ mode: Schema.optional<Schema.Literal<["http", "tcp", "command"]>>;
58
+ path: Schema.optional<typeof Schema.String>;
59
+ command: Schema.optional<typeof Schema.String>;
60
+ }>>;
47
61
  command: Schema.optional<typeof Schema.String>;
48
62
  port: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
49
63
  internal_port: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
@@ -56,7 +70,18 @@ export declare const projectManifestEndpoints: {
56
70
  min_replicas: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
57
71
  env: Schema.optional<Schema.Array$<typeof Schema.String>>;
58
72
  resources: Schema.optional<Schema.Array$<Schema.filter<Schema.filter<Schema.filter<typeof Schema.String>>>>>;
73
+ watch_paths: Schema.optional<Schema.Array$<typeof Schema.String>>;
59
74
  }>>>;
75
+ database: Schema.optional<Schema.Struct<{
76
+ migrations: Schema.optional<Schema.Struct<{
77
+ engine: Schema.Literal<["atlas", "drizzle", "prisma", "alembic", "flyway", "goose", "sqlx", "custom"]>;
78
+ dir: Schema.optional<typeof Schema.String>;
79
+ image: Schema.filter<Schema.filter<Schema.filter<typeof Schema.String>>>;
80
+ command: Schema.filter<typeof Schema.String>;
81
+ timeout: Schema.optional<typeof Schema.String>;
82
+ destructive_policy: Schema.optional<Schema.Literal<["require-approval", "allow"]>>;
83
+ }>>;
84
+ }>>;
60
85
  env: Schema.optional<Schema.Record$<typeof Schema.String, Schema.Union<[Schema.Struct<{
61
86
  value: typeof Schema.String;
62
87
  }>, Schema.Struct<{
@@ -109,8 +134,10 @@ export declare const projectManifestEndpoints: {
109
134
  };
110
135
  } | undefined;
111
136
  readonly build?: {
137
+ readonly context?: string | undefined;
138
+ readonly strategy?: "auto" | "dockerfile" | "buildpack" | "nixpacks" | undefined;
112
139
  readonly dockerfile?: string | undefined;
113
- readonly buildpack?: "auto" | "ruby" | "node" | "python" | "static" | "dockerfile" | undefined;
140
+ readonly buildpack?: "auto" | "static" | "ruby" | "node" | "python" | "dockerfile" | undefined;
114
141
  readonly docker_context?: string | undefined;
115
142
  readonly build_command?: string | undefined;
116
143
  readonly ignore?: readonly string[] | undefined;
@@ -161,8 +188,10 @@ export declare const projectManifestEndpoints: {
161
188
  };
162
189
  } | undefined;
163
190
  readonly build?: {
191
+ readonly context?: string | undefined;
192
+ readonly strategy?: "auto" | "dockerfile" | "buildpack" | "nixpacks" | undefined;
164
193
  readonly dockerfile?: string | undefined;
165
- readonly buildpack?: "auto" | "ruby" | "node" | "python" | "static" | "dockerfile" | undefined;
194
+ readonly buildpack?: "auto" | "static" | "ruby" | "node" | "python" | "dockerfile" | undefined;
166
195
  readonly docker_context?: string | undefined;
167
196
  readonly build_command?: string | undefined;
168
197
  readonly ignore?: readonly string[] | undefined;
@@ -213,8 +242,10 @@ export declare const projectManifestEndpoints: {
213
242
  };
214
243
  } | undefined;
215
244
  readonly build?: {
245
+ readonly context?: string | undefined;
246
+ readonly strategy?: "auto" | "dockerfile" | "buildpack" | "nixpacks" | undefined;
216
247
  readonly dockerfile?: string | undefined;
217
- readonly buildpack?: "auto" | "ruby" | "node" | "python" | "static" | "dockerfile" | undefined;
248
+ readonly buildpack?: "auto" | "static" | "ruby" | "node" | "python" | "dockerfile" | undefined;
218
249
  readonly docker_context?: string | undefined;
219
250
  readonly build_command?: string | undefined;
220
251
  readonly ignore?: readonly string[] | undefined;
@@ -265,8 +296,10 @@ export declare const projectManifestEndpoints: {
265
296
  };
266
297
  } | undefined;
267
298
  readonly build?: {
299
+ readonly context?: string | undefined;
300
+ readonly strategy?: "auto" | "dockerfile" | "buildpack" | "nixpacks" | undefined;
268
301
  readonly dockerfile?: string | undefined;
269
- readonly buildpack?: "auto" | "ruby" | "node" | "python" | "static" | "dockerfile" | undefined;
302
+ readonly buildpack?: "auto" | "static" | "ruby" | "node" | "python" | "dockerfile" | undefined;
270
303
  readonly docker_context?: string | undefined;
271
304
  readonly build_command?: string | undefined;
272
305
  readonly ignore?: readonly string[] | undefined;
@@ -318,8 +351,10 @@ export declare const projectManifestEndpoints: {
318
351
  };
319
352
  } | undefined;
320
353
  readonly build?: {
354
+ readonly context?: string | undefined;
355
+ readonly strategy?: "auto" | "dockerfile" | "buildpack" | "nixpacks" | undefined;
321
356
  readonly dockerfile?: string | undefined;
322
- readonly buildpack?: "auto" | "ruby" | "node" | "python" | "static" | "dockerfile" | undefined;
357
+ readonly buildpack?: "auto" | "static" | "ruby" | "node" | "python" | "dockerfile" | undefined;
323
358
  readonly docker_context?: string | undefined;
324
359
  readonly build_command?: string | undefined;
325
360
  readonly ignore?: readonly string[] | undefined;
@@ -370,8 +405,10 @@ export declare const projectManifestEndpoints: {
370
405
  };
371
406
  } | undefined;
372
407
  readonly build?: {
408
+ readonly context?: string | undefined;
409
+ readonly strategy?: "auto" | "dockerfile" | "buildpack" | "nixpacks" | undefined;
373
410
  readonly dockerfile?: string | undefined;
374
- readonly buildpack?: "auto" | "ruby" | "node" | "python" | "static" | "dockerfile" | undefined;
411
+ readonly buildpack?: "auto" | "static" | "ruby" | "node" | "python" | "dockerfile" | undefined;
375
412
  readonly docker_context?: string | undefined;
376
413
  readonly build_command?: string | undefined;
377
414
  readonly ignore?: readonly string[] | undefined;
@@ -422,8 +459,10 @@ export declare const projectManifestEndpoints: {
422
459
  };
423
460
  } | undefined;
424
461
  readonly build?: {
462
+ readonly context?: string | undefined;
463
+ readonly strategy?: "auto" | "dockerfile" | "buildpack" | "nixpacks" | undefined;
425
464
  readonly dockerfile?: string | undefined;
426
- readonly buildpack?: "auto" | "ruby" | "node" | "python" | "static" | "dockerfile" | undefined;
465
+ readonly buildpack?: "auto" | "static" | "ruby" | "node" | "python" | "dockerfile" | undefined;
427
466
  readonly docker_context?: string | undefined;
428
467
  readonly build_command?: string | undefined;
429
468
  readonly ignore?: readonly string[] | undefined;
@@ -474,8 +513,10 @@ export declare const projectManifestEndpoints: {
474
513
  };
475
514
  } | undefined;
476
515
  readonly build?: {
516
+ readonly context?: string | undefined;
517
+ readonly strategy?: "auto" | "dockerfile" | "buildpack" | "nixpacks" | undefined;
477
518
  readonly dockerfile?: string | undefined;
478
- readonly buildpack?: "auto" | "ruby" | "node" | "python" | "static" | "dockerfile" | undefined;
519
+ readonly buildpack?: "auto" | "static" | "ruby" | "node" | "python" | "dockerfile" | undefined;
479
520
  readonly docker_context?: string | undefined;
480
521
  readonly build_command?: string | undefined;
481
522
  readonly ignore?: readonly string[] | undefined;
@@ -494,30 +535,30 @@ export declare const projectManifestEndpoints: {
494
535
  resources: Schema.optional<Schema.Struct<{
495
536
  database: Schema.optional<Schema.Struct<{
496
537
  engine: Schema.optional<Schema.Literal<["postgres"]>>;
497
- tier: Schema.Literal<["nano", "micro", "standard", "large", "xl"]>;
538
+ tier: Schema.Literal<["nano", "micro", "standard", "large", "xl", "hobby", "starter", "pro", "business", "enterprise", "enterprise-2x", "enterprise-4x"]>;
498
539
  storage_gb: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
499
540
  version: Schema.optional<Schema.Literal<["15", "16", "17"]>>;
500
541
  replicas: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
501
542
  branch_on_preview: Schema.optional<typeof Schema.Boolean>;
502
543
  }>>;
503
- redis: Schema.optional<Schema.Struct<{
504
- tier: Schema.Literal<["micro", "standard", "large"]>;
505
- }>>;
506
- blob: Schema.optional<Schema.Struct<{
507
- visibility: Schema.Literal<["private", "public"]>;
544
+ kv: Schema.optional<Schema.Struct<{
545
+ engine: Schema.optional<Schema.Literal<["valkey"]>>;
546
+ tier: Schema.Literal<["nano", "micro", "standard", "large", "xl", "hobby", "starter", "pro", "business", "enterprise", "enterprise-2x", "enterprise-4x"]>;
547
+ storage_gb: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
508
548
  }>>;
509
- volume: Schema.optional<Schema.Array$<Schema.Struct<{
510
- name: Schema.filter<Schema.filter<Schema.filter<typeof Schema.String>>>;
511
- size_gb: Schema.filter<Schema.filter<typeof Schema.Number>>;
512
- access: Schema.Literal<["ReadWriteOnce", "ReadWriteMany"]>;
513
- mount: typeof Schema.String;
514
- }>>>;
515
549
  search: Schema.optional<Schema.Struct<{
516
550
  engine: Schema.optional<Schema.Literal<["typesense"]>>;
517
- tier: Schema.Literal<["micro", "standard"]>;
551
+ tier: Schema.Literal<["nano", "micro", "standard", "large", "xl", "hobby", "starter", "pro", "business", "enterprise", "enterprise-2x", "enterprise-4x"]>;
518
552
  storage_gb: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
519
553
  nodes: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
520
554
  }>>;
555
+ volume: Schema.optional<Schema.Struct<{
556
+ tier: Schema.Literal<["nano", "micro", "standard", "large", "xl", "hobby", "starter", "pro", "business", "enterprise", "enterprise-2x", "enterprise-4x"]>;
557
+ storage_gb: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
558
+ access_mode: Schema.optional<Schema.Literal<["ReadWriteOnce", "ReadWriteMany"]>>;
559
+ mount_path: Schema.optional<Schema.filter<typeof Schema.String>>;
560
+ role: Schema.optional<Schema.filter<Schema.filter<Schema.filter<typeof Schema.String>>>>;
561
+ }>>;
521
562
  }>>;
522
563
  ci: Schema.optional<Schema.Struct<{
523
564
  on_push: Schema.optional<typeof Schema.Boolean>;
@@ -530,7 +571,7 @@ export declare const projectManifestEndpoints: {
530
571
  }>>;
531
572
  version: Schema.NullOr<typeof Schema.Number>;
532
573
  updatedAt: Schema.NullOr<typeof Schema.String>;
533
- }>>;
574
+ }>, undefined>;
534
575
  readonly put: import("../endpoint.js").Endpoint<"PUT", "/projects/:id/manifest", Schema.Struct<{
535
576
  id: typeof Schema.String;
536
577
  }>, Schema.Schema.AnyNoContext | undefined, Schema.Struct<{
@@ -544,7 +585,9 @@ export declare const projectManifestEndpoints: {
544
585
  }>;
545
586
  build: Schema.optional<Schema.Struct<{
546
587
  buildpack: Schema.optional<Schema.Literal<["auto", "ruby", "node", "python", "static", "dockerfile"]>>;
588
+ strategy: Schema.optional<Schema.Literal<["auto", "buildpack", "dockerfile", "nixpacks"]>>;
547
589
  dockerfile: Schema.optional<typeof Schema.String>;
590
+ context: Schema.optional<typeof Schema.String>;
548
591
  docker_context: Schema.optional<typeof Schema.String>;
549
592
  build_command: Schema.optional<typeof Schema.String>;
550
593
  ignore: Schema.optional<Schema.Array$<typeof Schema.String>>;
@@ -561,6 +604,18 @@ export declare const projectManifestEndpoints: {
561
604
  services: Schema.optional<Schema.Array$<Schema.Struct<{
562
605
  name: Schema.filter<Schema.filter<Schema.filter<typeof Schema.String>>>;
563
606
  type: Schema.Literal<["web", "worker", "cron", "function"]>;
607
+ build: Schema.optional<Schema.Struct<{
608
+ strategy: Schema.optional<Schema.Literal<["auto", "buildpack", "dockerfile", "nixpacks"]>>;
609
+ dockerfile: Schema.optional<typeof Schema.String>;
610
+ context: Schema.optional<typeof Schema.String>;
611
+ docker_context: Schema.optional<typeof Schema.String>;
612
+ build_command: Schema.optional<typeof Schema.String>;
613
+ }>>;
614
+ health: Schema.optional<Schema.Struct<{
615
+ mode: Schema.optional<Schema.Literal<["http", "tcp", "command"]>>;
616
+ path: Schema.optional<typeof Schema.String>;
617
+ command: Schema.optional<typeof Schema.String>;
618
+ }>>;
564
619
  command: Schema.optional<typeof Schema.String>;
565
620
  port: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
566
621
  internal_port: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
@@ -573,7 +628,18 @@ export declare const projectManifestEndpoints: {
573
628
  min_replicas: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
574
629
  env: Schema.optional<Schema.Array$<typeof Schema.String>>;
575
630
  resources: Schema.optional<Schema.Array$<Schema.filter<Schema.filter<Schema.filter<typeof Schema.String>>>>>;
631
+ watch_paths: Schema.optional<Schema.Array$<typeof Schema.String>>;
576
632
  }>>>;
633
+ database: Schema.optional<Schema.Struct<{
634
+ migrations: Schema.optional<Schema.Struct<{
635
+ engine: Schema.Literal<["atlas", "drizzle", "prisma", "alembic", "flyway", "goose", "sqlx", "custom"]>;
636
+ dir: Schema.optional<typeof Schema.String>;
637
+ image: Schema.filter<Schema.filter<Schema.filter<typeof Schema.String>>>;
638
+ command: Schema.filter<typeof Schema.String>;
639
+ timeout: Schema.optional<typeof Schema.String>;
640
+ destructive_policy: Schema.optional<Schema.Literal<["require-approval", "allow"]>>;
641
+ }>>;
642
+ }>>;
577
643
  env: Schema.optional<Schema.Record$<typeof Schema.String, Schema.Union<[Schema.Struct<{
578
644
  value: typeof Schema.String;
579
645
  }>, Schema.Struct<{
@@ -626,8 +692,10 @@ export declare const projectManifestEndpoints: {
626
692
  };
627
693
  } | undefined;
628
694
  readonly build?: {
695
+ readonly context?: string | undefined;
696
+ readonly strategy?: "auto" | "dockerfile" | "buildpack" | "nixpacks" | undefined;
629
697
  readonly dockerfile?: string | undefined;
630
- readonly buildpack?: "auto" | "ruby" | "node" | "python" | "static" | "dockerfile" | undefined;
698
+ readonly buildpack?: "auto" | "static" | "ruby" | "node" | "python" | "dockerfile" | undefined;
631
699
  readonly docker_context?: string | undefined;
632
700
  readonly build_command?: string | undefined;
633
701
  readonly ignore?: readonly string[] | undefined;
@@ -678,8 +746,10 @@ export declare const projectManifestEndpoints: {
678
746
  };
679
747
  } | undefined;
680
748
  readonly build?: {
749
+ readonly context?: string | undefined;
750
+ readonly strategy?: "auto" | "dockerfile" | "buildpack" | "nixpacks" | undefined;
681
751
  readonly dockerfile?: string | undefined;
682
- readonly buildpack?: "auto" | "ruby" | "node" | "python" | "static" | "dockerfile" | undefined;
752
+ readonly buildpack?: "auto" | "static" | "ruby" | "node" | "python" | "dockerfile" | undefined;
683
753
  readonly docker_context?: string | undefined;
684
754
  readonly build_command?: string | undefined;
685
755
  readonly ignore?: readonly string[] | undefined;
@@ -730,8 +800,10 @@ export declare const projectManifestEndpoints: {
730
800
  };
731
801
  } | undefined;
732
802
  readonly build?: {
803
+ readonly context?: string | undefined;
804
+ readonly strategy?: "auto" | "dockerfile" | "buildpack" | "nixpacks" | undefined;
733
805
  readonly dockerfile?: string | undefined;
734
- readonly buildpack?: "auto" | "ruby" | "node" | "python" | "static" | "dockerfile" | undefined;
806
+ readonly buildpack?: "auto" | "static" | "ruby" | "node" | "python" | "dockerfile" | undefined;
735
807
  readonly docker_context?: string | undefined;
736
808
  readonly build_command?: string | undefined;
737
809
  readonly ignore?: readonly string[] | undefined;
@@ -782,8 +854,10 @@ export declare const projectManifestEndpoints: {
782
854
  };
783
855
  } | undefined;
784
856
  readonly build?: {
857
+ readonly context?: string | undefined;
858
+ readonly strategy?: "auto" | "dockerfile" | "buildpack" | "nixpacks" | undefined;
785
859
  readonly dockerfile?: string | undefined;
786
- readonly buildpack?: "auto" | "ruby" | "node" | "python" | "static" | "dockerfile" | undefined;
860
+ readonly buildpack?: "auto" | "static" | "ruby" | "node" | "python" | "dockerfile" | undefined;
787
861
  readonly docker_context?: string | undefined;
788
862
  readonly build_command?: string | undefined;
789
863
  readonly ignore?: readonly string[] | undefined;
@@ -835,8 +909,10 @@ export declare const projectManifestEndpoints: {
835
909
  };
836
910
  } | undefined;
837
911
  readonly build?: {
912
+ readonly context?: string | undefined;
913
+ readonly strategy?: "auto" | "dockerfile" | "buildpack" | "nixpacks" | undefined;
838
914
  readonly dockerfile?: string | undefined;
839
- readonly buildpack?: "auto" | "ruby" | "node" | "python" | "static" | "dockerfile" | undefined;
915
+ readonly buildpack?: "auto" | "static" | "ruby" | "node" | "python" | "dockerfile" | undefined;
840
916
  readonly docker_context?: string | undefined;
841
917
  readonly build_command?: string | undefined;
842
918
  readonly ignore?: readonly string[] | undefined;
@@ -887,8 +963,10 @@ export declare const projectManifestEndpoints: {
887
963
  };
888
964
  } | undefined;
889
965
  readonly build?: {
966
+ readonly context?: string | undefined;
967
+ readonly strategy?: "auto" | "dockerfile" | "buildpack" | "nixpacks" | undefined;
890
968
  readonly dockerfile?: string | undefined;
891
- readonly buildpack?: "auto" | "ruby" | "node" | "python" | "static" | "dockerfile" | undefined;
969
+ readonly buildpack?: "auto" | "static" | "ruby" | "node" | "python" | "dockerfile" | undefined;
892
970
  readonly docker_context?: string | undefined;
893
971
  readonly build_command?: string | undefined;
894
972
  readonly ignore?: readonly string[] | undefined;
@@ -939,8 +1017,10 @@ export declare const projectManifestEndpoints: {
939
1017
  };
940
1018
  } | undefined;
941
1019
  readonly build?: {
1020
+ readonly context?: string | undefined;
1021
+ readonly strategy?: "auto" | "dockerfile" | "buildpack" | "nixpacks" | undefined;
942
1022
  readonly dockerfile?: string | undefined;
943
- readonly buildpack?: "auto" | "ruby" | "node" | "python" | "static" | "dockerfile" | undefined;
1023
+ readonly buildpack?: "auto" | "static" | "ruby" | "node" | "python" | "dockerfile" | undefined;
944
1024
  readonly docker_context?: string | undefined;
945
1025
  readonly build_command?: string | undefined;
946
1026
  readonly ignore?: readonly string[] | undefined;
@@ -991,8 +1071,10 @@ export declare const projectManifestEndpoints: {
991
1071
  };
992
1072
  } | undefined;
993
1073
  readonly build?: {
1074
+ readonly context?: string | undefined;
1075
+ readonly strategy?: "auto" | "dockerfile" | "buildpack" | "nixpacks" | undefined;
994
1076
  readonly dockerfile?: string | undefined;
995
- readonly buildpack?: "auto" | "ruby" | "node" | "python" | "static" | "dockerfile" | undefined;
1077
+ readonly buildpack?: "auto" | "static" | "ruby" | "node" | "python" | "dockerfile" | undefined;
996
1078
  readonly docker_context?: string | undefined;
997
1079
  readonly build_command?: string | undefined;
998
1080
  readonly ignore?: readonly string[] | undefined;
@@ -1011,30 +1093,30 @@ export declare const projectManifestEndpoints: {
1011
1093
  resources: Schema.optional<Schema.Struct<{
1012
1094
  database: Schema.optional<Schema.Struct<{
1013
1095
  engine: Schema.optional<Schema.Literal<["postgres"]>>;
1014
- tier: Schema.Literal<["nano", "micro", "standard", "large", "xl"]>;
1096
+ tier: Schema.Literal<["nano", "micro", "standard", "large", "xl", "hobby", "starter", "pro", "business", "enterprise", "enterprise-2x", "enterprise-4x"]>;
1015
1097
  storage_gb: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
1016
1098
  version: Schema.optional<Schema.Literal<["15", "16", "17"]>>;
1017
1099
  replicas: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
1018
1100
  branch_on_preview: Schema.optional<typeof Schema.Boolean>;
1019
1101
  }>>;
1020
- redis: Schema.optional<Schema.Struct<{
1021
- tier: Schema.Literal<["micro", "standard", "large"]>;
1022
- }>>;
1023
- blob: Schema.optional<Schema.Struct<{
1024
- visibility: Schema.Literal<["private", "public"]>;
1102
+ kv: Schema.optional<Schema.Struct<{
1103
+ engine: Schema.optional<Schema.Literal<["valkey"]>>;
1104
+ tier: Schema.Literal<["nano", "micro", "standard", "large", "xl", "hobby", "starter", "pro", "business", "enterprise", "enterprise-2x", "enterprise-4x"]>;
1105
+ storage_gb: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
1025
1106
  }>>;
1026
- volume: Schema.optional<Schema.Array$<Schema.Struct<{
1027
- name: Schema.filter<Schema.filter<Schema.filter<typeof Schema.String>>>;
1028
- size_gb: Schema.filter<Schema.filter<typeof Schema.Number>>;
1029
- access: Schema.Literal<["ReadWriteOnce", "ReadWriteMany"]>;
1030
- mount: typeof Schema.String;
1031
- }>>>;
1032
1107
  search: Schema.optional<Schema.Struct<{
1033
1108
  engine: Schema.optional<Schema.Literal<["typesense"]>>;
1034
- tier: Schema.Literal<["micro", "standard"]>;
1109
+ tier: Schema.Literal<["nano", "micro", "standard", "large", "xl", "hobby", "starter", "pro", "business", "enterprise", "enterprise-2x", "enterprise-4x"]>;
1035
1110
  storage_gb: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
1036
1111
  nodes: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
1037
1112
  }>>;
1113
+ volume: Schema.optional<Schema.Struct<{
1114
+ tier: Schema.Literal<["nano", "micro", "standard", "large", "xl", "hobby", "starter", "pro", "business", "enterprise", "enterprise-2x", "enterprise-4x"]>;
1115
+ storage_gb: Schema.optional<Schema.filter<Schema.filter<typeof Schema.Number>>>;
1116
+ access_mode: Schema.optional<Schema.Literal<["ReadWriteOnce", "ReadWriteMany"]>>;
1117
+ mount_path: Schema.optional<Schema.filter<typeof Schema.String>>;
1118
+ role: Schema.optional<Schema.filter<Schema.filter<Schema.filter<typeof Schema.String>>>>;
1119
+ }>>;
1038
1120
  }>>;
1039
1121
  ci: Schema.optional<Schema.Struct<{
1040
1122
  on_push: Schema.optional<typeof Schema.Boolean>;
@@ -1047,6 +1129,6 @@ export declare const projectManifestEndpoints: {
1047
1129
  }>, Schema.Struct<{
1048
1130
  version: typeof Schema.Number;
1049
1131
  updatedAt: typeof Schema.String;
1050
- }>>;
1132
+ }>, undefined>;
1051
1133
  };
1052
1134
  //# sourceMappingURL=project-manifest.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"project-manifest.d.ts","sourceRoot":"","sources":["../../src/endpoints/project-manifest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AA2B/B,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwB3B,CAAA"}
1
+ {"version":3,"file":"project-manifest.d.ts","sourceRoot":"","sources":["../../src/endpoints/project-manifest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AA2B/B,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwB3B,CAAA"}