@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
@@ -45,7 +45,7 @@ export declare const projectsEndpoints: {
45
45
  updatedAt: Schema.optional<typeof Schema.String>;
46
46
  }>>>;
47
47
  }>>;
48
- }>>;
48
+ }>, undefined>;
49
49
  readonly create: import("../endpoint.js").Endpoint<"POST", "/projects", Schema.Schema.AnyNoContext | undefined, Schema.Schema.AnyNoContext | undefined, Schema.Struct<{
50
50
  name: typeof Schema.String;
51
51
  slug: typeof Schema.String;
@@ -92,7 +92,9 @@ export declare const projectsEndpoints: {
92
92
  updatedAt: Schema.optional<typeof Schema.String>;
93
93
  }>>>;
94
94
  }>;
95
- }>>;
95
+ }>, {
96
+ status: 201;
97
+ }>;
96
98
  readonly get: import("../endpoint.js").Endpoint<"GET", "/projects/:id", Schema.Struct<{
97
99
  id: typeof Schema.String;
98
100
  }>, Schema.Schema.AnyNoContext | undefined, Schema.Schema.AnyNoContext | undefined, Schema.Struct<{
@@ -129,7 +131,7 @@ export declare const projectsEndpoints: {
129
131
  createdAt: Schema.optional<typeof Schema.String>;
130
132
  updatedAt: Schema.optional<typeof Schema.String>;
131
133
  }>>>;
132
- }>>;
134
+ }>, undefined>;
133
135
  readonly update: import("../endpoint.js").Endpoint<"PATCH", "/projects/:id", Schema.Struct<{
134
136
  id: typeof Schema.String;
135
137
  }>, Schema.Schema.AnyNoContext | undefined, Schema.Struct<{
@@ -174,7 +176,7 @@ export declare const projectsEndpoints: {
174
176
  createdAt: Schema.optional<typeof Schema.String>;
175
177
  updatedAt: Schema.optional<typeof Schema.String>;
176
178
  }>>>;
177
- }>>;
179
+ }>, undefined>;
178
180
  readonly delete: import("../endpoint.js").Endpoint<"DELETE", "/projects/:id", Schema.Struct<{
179
181
  id: typeof Schema.String;
180
182
  }>, Schema.Schema.AnyNoContext | undefined, Schema.Schema.AnyNoContext | undefined, Schema.Struct<{
@@ -182,6 +184,6 @@ export declare const projectsEndpoints: {
182
184
  projectId: Schema.brand<Schema.filter<typeof Schema.String>, "ProjectId">;
183
185
  queued: typeof Schema.Boolean;
184
186
  warnings: Schema.optional<Schema.Array$<typeof Schema.String>>;
185
- }>>;
187
+ }>, undefined>;
186
188
  };
187
189
  //# sourceMappingURL=projects.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"projects.d.ts","sourceRoot":"","sources":["../../src/endpoints/projects.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAiB/B,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyCpB,CAAA"}
1
+ {"version":3,"file":"projects.d.ts","sourceRoot":"","sources":["../../src/endpoints/projects.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAiB/B,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0CpB,CAAA"}
@@ -25,9 +25,10 @@ export const projectsEndpoints = {
25
25
  create: defineEndpoint({
26
26
  method: 'POST',
27
27
  path: '/projects',
28
+ success: { status: 201 },
28
29
  body: CreateProjectInput,
29
30
  response: CreateProjectResult,
30
- summary: 'Create a new project (provisions infra asynchronously)',
31
+ summary: 'Create a new project and default environments',
31
32
  tags: ['projects'],
32
33
  }),
33
34
  get: defineEndpoint({
@@ -30,7 +30,7 @@ export declare const rateLimitsEndpoints: {
30
30
  burst: import("effect/Schema").NullOr<typeof import("effect/Schema").Number>;
31
31
  source: import("effect/Schema").Literal<["default", "global", "project", "user"]>;
32
32
  }>>;
33
- }>>;
33
+ }>, undefined>;
34
34
  readonly strategiesList: import("../endpoint.js").Endpoint<"GET", "/rate-limits/strategies", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
35
35
  scope: import("effect/Schema").optional<import("effect/Schema").Literal<["global", "project", "user"]>>;
36
36
  scope_id: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -47,7 +47,7 @@ export declare const rateLimitsEndpoints: {
47
47
  updatedAt: typeof import("effect/Schema").String;
48
48
  updatedBy: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
49
49
  }>>;
50
- }>>;
50
+ }>, undefined>;
51
51
  readonly strategyUpsert: import("../endpoint.js").Endpoint<"PUT", "/rate-limits/strategies/:namespace", import("effect/Schema").Struct<{
52
52
  namespace: import("effect/Schema").filter<typeof import("effect/Schema").String>;
53
53
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
@@ -70,7 +70,7 @@ export declare const rateLimitsEndpoints: {
70
70
  updatedAt: typeof import("effect/Schema").String;
71
71
  updatedBy: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
72
72
  }>;
73
- }>>;
73
+ }>, undefined>;
74
74
  readonly strategyDelete: import("../endpoint.js").Endpoint<"DELETE", "/rate-limits/strategies/:namespace", import("effect/Schema").Struct<{
75
75
  namespace: import("effect/Schema").filter<typeof import("effect/Schema").String>;
76
76
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
@@ -78,6 +78,6 @@ export declare const rateLimitsEndpoints: {
78
78
  scope_id: import("effect/Schema").optional<typeof import("effect/Schema").String>;
79
79
  }>, import("effect/Schema").Struct<{
80
80
  deleted: typeof import("effect/Schema").Boolean;
81
- }>>;
81
+ }>, undefined>;
82
82
  };
83
83
  //# sourceMappingURL=rate-limits.d.ts.map
@@ -13,7 +13,7 @@ export declare const realtimeAdminEndpoints: {
13
13
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
14
14
  available: typeof import("effect/Schema").Boolean;
15
15
  provider: typeof import("effect/Schema").String;
16
- }>>;
16
+ }>, undefined>;
17
17
  readonly listChannels: import("../endpoint.js").Endpoint<"GET", "/realtime/channels", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
18
18
  projectId: typeof import("effect/Schema").String;
19
19
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
@@ -24,19 +24,21 @@ export declare const realtimeAdminEndpoints: {
24
24
  status: import("effect/Schema").Literal<["active", "empty"]>;
25
25
  }>>;
26
26
  count: typeof import("effect/Schema").Number;
27
- }>>;
27
+ }>, undefined>;
28
28
  readonly createChannel: import("../endpoint.js").Endpoint<"POST", "/realtime/channels", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
29
29
  projectId: typeof import("effect/Schema").String;
30
30
  name: typeof import("effect/Schema").String;
31
31
  }>, import("effect/Schema").Struct<{
32
32
  name: typeof import("effect/Schema").String;
33
- }>>;
33
+ }>, {
34
+ status: 201;
35
+ }>;
34
36
  readonly deleteChannel: import("../endpoint.js").Endpoint<"DELETE", "/realtime/channels/:channelName", import("effect/Schema").Struct<{
35
37
  channelName: typeof import("effect/Schema").String;
36
38
  }>, import("effect/Schema").Struct<{
37
39
  projectId: typeof import("effect/Schema").String;
38
40
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
39
41
  success: typeof import("effect/Schema").Boolean;
40
- }>>;
42
+ }>, undefined>;
41
43
  };
42
44
  //# sourceMappingURL=realtime-admin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"realtime-admin.d.ts","sourceRoot":"","sources":["../../src/endpoints/realtime-admin.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAaH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsCzB,CAAA"}
1
+ {"version":3,"file":"realtime-admin.d.ts","sourceRoot":"","sources":["../../src/endpoints/realtime-admin.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAaH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuCzB,CAAA"}
@@ -31,6 +31,7 @@ export const realtimeAdminEndpoints = {
31
31
  createChannel: defineEndpoint({
32
32
  method: 'POST',
33
33
  path: '/realtime/channels',
34
+ success: { status: 201 },
34
35
  body: RealtimeAdminCreateChannelInput,
35
36
  response: RealtimeAdminCreateChannelResult,
36
37
  plane: 'management',
@@ -12,7 +12,7 @@ export declare const realtimeEndpoints: {
12
12
  }>, Schema.Struct<{
13
13
  id: typeof Schema.String;
14
14
  channel: typeof Schema.String;
15
- }>>;
15
+ }>, undefined>;
16
16
  readonly history: import("../endpoint.js").Endpoint<"GET", "/sdk/realtime/history", Schema.Schema.AnyNoContext | undefined, Schema.Struct<{
17
17
  channel: typeof Schema.String;
18
18
  limit: Schema.optional<typeof Schema.String>;
@@ -25,11 +25,11 @@ export declare const realtimeEndpoints: {
25
25
  data: typeof Schema.Unknown;
26
26
  timestamp: typeof Schema.Number;
27
27
  }>>;
28
- }>>;
28
+ }>, undefined>;
29
29
  readonly subscribe: import("../endpoint.js").Endpoint<"GET", "/sdk/realtime/subscribe", Schema.Schema.AnyNoContext | undefined, Schema.Struct<{
30
30
  channel: typeof Schema.String;
31
31
  }>, Schema.Schema.AnyNoContext | undefined, Schema.Struct<{
32
32
  ok: typeof Schema.Boolean;
33
- }>>;
33
+ }>, undefined>;
34
34
  };
35
35
  //# sourceMappingURL=realtime.d.ts.map
@@ -30,7 +30,7 @@ export declare const referralsAdminEndpoints: {
30
30
  rewardType: Schema.Literal<["points", "premium_trial", "discount", "credit"]>;
31
31
  createdAt: typeof Schema.String;
32
32
  completedAt: Schema.NullOr<typeof Schema.String>;
33
- }>>>;
33
+ }>>, undefined>;
34
34
  readonly get: import("../endpoint.js").Endpoint<"GET", "/referrals/:id", Schema.Struct<{
35
35
  id: typeof Schema.String;
36
36
  }>, Schema.Struct<{
@@ -55,7 +55,7 @@ export declare const referralsAdminEndpoints: {
55
55
  createdAt: typeof Schema.String;
56
56
  completedAt: Schema.NullOr<typeof Schema.String>;
57
57
  metadata: Schema.NullOr<Schema.Record$<typeof Schema.String, typeof Schema.Unknown>>;
58
- }>>;
58
+ }>, undefined>;
59
59
  readonly create: import("../endpoint.js").Endpoint<"POST", "/referrals", Schema.Schema.AnyNoContext | undefined, Schema.Schema.AnyNoContext | undefined, Schema.Struct<{
60
60
  projectId: typeof Schema.String;
61
61
  referrerId: typeof Schema.String;
@@ -64,7 +64,9 @@ export declare const referralsAdminEndpoints: {
64
64
  }>, Schema.Struct<{
65
65
  id: typeof Schema.String;
66
66
  code: typeof Schema.String;
67
- }>>;
67
+ }>, {
68
+ status: 201;
69
+ }>;
68
70
  readonly stats: import("../endpoint.js").Endpoint<"GET", "/referrals/stats", Schema.Schema.AnyNoContext | undefined, Schema.Struct<{
69
71
  projectId: Schema.optional<typeof Schema.String>;
70
72
  environmentId: Schema.optional<typeof Schema.String>;
@@ -106,13 +108,13 @@ export declare const referralsAdminEndpoints: {
106
108
  totalReferrals: typeof Schema.Number;
107
109
  completedReferrals: typeof Schema.Number;
108
110
  }>>;
109
- }>>;
111
+ }>, undefined>;
110
112
  readonly expire: import("../endpoint.js").Endpoint<"POST", "/referrals/:id/expire", Schema.Struct<{
111
113
  id: typeof Schema.String;
112
114
  }>, Schema.Schema.AnyNoContext | undefined, Schema.Struct<{
113
115
  projectId: typeof Schema.String;
114
116
  }>, Schema.Struct<{
115
117
  success: typeof Schema.Boolean;
116
- }>>;
118
+ }>, undefined>;
117
119
  };
118
120
  //# sourceMappingURL=referrals-admin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"referrals-admin.d.ts","sourceRoot":"","sources":["../../src/endpoints/referrals-admin.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAiB/B,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgD1B,CAAA"}
1
+ {"version":3,"file":"referrals-admin.d.ts","sourceRoot":"","sources":["../../src/endpoints/referrals-admin.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAiB/B,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiD1B,CAAA"}
@@ -31,6 +31,7 @@ export const referralsAdminEndpoints = {
31
31
  create: defineEndpoint({
32
32
  method: 'POST',
33
33
  path: '/referrals',
34
+ success: { status: 201 },
34
35
  body: CreateReferralInput,
35
36
  response: CreateReferralResult,
36
37
  plane: 'management',
@@ -14,6 +14,6 @@ export declare const refreshEndpoints: {
14
14
  token_type: import("effect/Schema").Literal<["Bearer"]>;
15
15
  expires_in: typeof import("effect/Schema").Number;
16
16
  refresh_expires_at: typeof import("effect/Schema").String;
17
- }>>;
17
+ }>, undefined>;
18
18
  };
19
19
  //# sourceMappingURL=refresh.d.ts.map
@@ -1,11 +1,10 @@
1
1
  /**
2
- * Regions endpoints — platform region catalog + per-project pinning
3
- * (Multi-Region Deploy P0 scaffold).
2
+ * Regions endpoints — read-only platform region catalog.
4
3
  *
5
4
  * Plane: `management`. `GET /regions` is publicly listable (no auth
6
- * required) so docs / pricing / MCP agents can enumerate available
7
- * regions. Pin / unpin mutate per-project state and require auth on
8
- * the handler side.
5
+ * required) so docs and pricing can enumerate regions. Region pinning is
6
+ * intentionally not public until the reconciler can actually deploy across
7
+ * multiple clusters.
9
8
  */
10
9
  export declare const regionsEndpoints: {
11
10
  readonly list: import("../endpoint.js").Endpoint<"GET", "/regions", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
@@ -20,22 +19,6 @@ export declare const regionsEndpoints: {
20
19
  gatewayIpRange: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
21
20
  createdAt: typeof import("effect/Schema").String;
22
21
  }>>;
23
- }>>;
24
- readonly pin: import("../endpoint.js").Endpoint<"POST", "/projects/:projectId/regions", import("effect/Schema").Struct<{
25
- projectId: typeof import("effect/Schema").String;
26
- }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
27
- projectId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "ProjectId">;
28
- regions: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
29
- }>, import("effect/Schema").Struct<{
30
- projectId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "ProjectId">;
31
- regions: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
32
- }>>;
33
- readonly unpin: import("../endpoint.js").Endpoint<"DELETE", "/projects/:projectId/regions/:regionSlug", import("effect/Schema").Struct<{
34
- projectId: typeof import("effect/Schema").String;
35
- regionSlug: typeof import("effect/Schema").String;
36
- }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
37
- projectId: import("effect/Schema").brand<import("effect/Schema").filter<typeof import("effect/Schema").String>, "ProjectId">;
38
- regions: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
39
- }>>;
22
+ }>, undefined>;
40
23
  };
41
24
  //# sourceMappingURL=regions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"regions.d.ts","sourceRoot":"","sources":["../../src/endpoints/regions.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAYH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiCnB,CAAA"}
1
+ {"version":3,"file":"regions.d.ts","sourceRoot":"","sources":["../../src/endpoints/regions.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAKH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;CAWnB,CAAA"}
@@ -1,14 +1,13 @@
1
1
  /**
2
- * Regions endpoints — platform region catalog + per-project pinning
3
- * (Multi-Region Deploy P0 scaffold).
2
+ * Regions endpoints — read-only platform region catalog.
4
3
  *
5
4
  * Plane: `management`. `GET /regions` is publicly listable (no auth
6
- * required) so docs / pricing / MCP agents can enumerate available
7
- * regions. Pin / unpin mutate per-project state and require auth on
8
- * the handler side.
5
+ * required) so docs and pricing can enumerate regions. Region pinning is
6
+ * intentionally not public until the reconciler can actually deploy across
7
+ * multiple clusters.
9
8
  */
10
9
  import { defineEndpoint } from '../endpoint.js';
11
- import { ListRegionsResult, PinRegionsInput, PinRegionsResult, ProjectIdPath, ProjectRegionPath, UnpinRegionResult, } from '../schemas/region.js';
10
+ import { ListRegionsResult } from '../schemas/region.js';
12
11
  export const regionsEndpoints = {
13
12
  list: defineEndpoint({
14
13
  method: 'GET',
@@ -19,25 +18,4 @@ export const regionsEndpoints = {
19
18
  description: 'Public endpoint. Returns the catalog of regions (active, coming-soon, and decommissioned). Callers use the `slug` to pin a project to a region via POST /projects/:id/regions.',
20
19
  tags: ['regions'],
21
20
  }),
22
- pin: defineEndpoint({
23
- method: 'POST',
24
- path: '/projects/:projectId/regions',
25
- params: ProjectIdPath,
26
- body: PinRegionsInput,
27
- response: PinRegionsResult,
28
- plane: 'management',
29
- summary: "Replace a project's preferred-region list",
30
- description: 'Overwrites `projects.preferred_regions` with the supplied slug array. Empty array clears the pin and reverts to the platform default region. Today the pin is advisory — actual cross-region fan-out is gated on the second cluster being live.',
31
- tags: ['regions'],
32
- }),
33
- unpin: defineEndpoint({
34
- method: 'DELETE',
35
- path: '/projects/:projectId/regions/:regionSlug',
36
- params: ProjectRegionPath,
37
- response: UnpinRegionResult,
38
- plane: 'management',
39
- summary: 'Remove a region from a project pin list',
40
- description: 'Idempotent: unpinning an absent region returns the current list unchanged.',
41
- tags: ['regions'],
42
- }),
43
21
  };
@@ -17,7 +17,7 @@ export declare const runnersEndpoints: {
17
17
  lastSeenAt: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
18
18
  createdAt: typeof import("effect/Schema").String;
19
19
  }>>;
20
- }>>;
20
+ }>, undefined>;
21
21
  readonly create: import("../endpoint.js").Endpoint<"POST", "/runners", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
22
22
  name: typeof import("effect/Schema").String;
23
23
  platform: import("effect/Schema").Literal<["linux", "macos", "windows"]>;
@@ -25,12 +25,12 @@ export declare const runnersEndpoints: {
25
25
  }>, import("effect/Schema").Struct<{
26
26
  runnerId: typeof import("effect/Schema").String;
27
27
  registrationToken: typeof import("effect/Schema").String;
28
- }>>;
28
+ }>, undefined>;
29
29
  readonly delete: import("../endpoint.js").Endpoint<"DELETE", "/runners/:runnerId", import("effect/Schema").Struct<{
30
30
  runnerId: typeof import("effect/Schema").String;
31
31
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
32
32
  success: typeof import("effect/Schema").Boolean;
33
- }>>;
33
+ }>, undefined>;
34
34
  readonly listJobs: import("../endpoint.js").Endpoint<"GET", "/runners/:runnerId/jobs", import("effect/Schema").Struct<{
35
35
  runnerId: typeof import("effect/Schema").String;
36
36
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
@@ -50,6 +50,6 @@ export declare const runnersEndpoints: {
50
50
  finishedAt: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
51
51
  createdAt: typeof import("effect/Schema").String;
52
52
  }>>;
53
- }>>;
53
+ }>, undefined>;
54
54
  };
55
55
  //# sourceMappingURL=runners.d.ts.map
@@ -35,7 +35,7 @@ export declare const samlEndpoints: {
35
35
  lastErrorAt: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
36
36
  createdAt: typeof import("effect/Schema").String;
37
37
  updatedAt: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
38
- }>>>;
38
+ }>>, undefined>;
39
39
  readonly createProvider: import("../endpoint.js").Endpoint<"POST", "/saml", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
40
40
  organizationId: typeof import("effect/Schema").String;
41
41
  name: typeof import("effect/Schema").String;
@@ -59,7 +59,9 @@ export declare const samlEndpoints: {
59
59
  id: typeof import("effect/Schema").String;
60
60
  spEntityId: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
61
61
  spAcsUrl: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
62
- }>>;
62
+ }>, {
63
+ status: 201;
64
+ }>;
63
65
  readonly updateProvider: import("../endpoint.js").Endpoint<"PATCH", "/saml", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
64
66
  providerId: typeof import("effect/Schema").String;
65
67
  name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -80,25 +82,25 @@ export declare const samlEndpoints: {
80
82
  }>>;
81
83
  }>, import("effect/Schema").Struct<{
82
84
  success: typeof import("effect/Schema").Boolean;
83
- }>>;
85
+ }>, undefined>;
84
86
  readonly setProviderStatus: import("../endpoint.js").Endpoint<"POST", "/saml/status", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
85
87
  providerId: typeof import("effect/Schema").String;
86
88
  enabled: typeof import("effect/Schema").Boolean;
87
89
  }>, import("effect/Schema").Struct<{
88
90
  success: typeof import("effect/Schema").Boolean;
89
- }>>;
91
+ }>, undefined>;
90
92
  readonly deleteProvider: import("../endpoint.js").Endpoint<"DELETE", "/saml", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
91
93
  providerId: typeof import("effect/Schema").String;
92
94
  }>, import("effect/Schema").Struct<{
93
95
  success: typeof import("effect/Schema").Boolean;
94
- }>>;
96
+ }>, undefined>;
95
97
  readonly getMetadata: import("../endpoint.js").Endpoint<"GET", "/saml/metadata", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
96
98
  organizationId: typeof import("effect/Schema").String;
97
99
  }>, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
98
100
  metadata: typeof import("effect/Schema").String;
99
101
  spEntityId: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
100
102
  spAcsUrl: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
101
- }>>;
103
+ }>, undefined>;
102
104
  readonly getLogs: import("../endpoint.js").Endpoint<"GET", "/saml/logs", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
103
105
  providerId: typeof import("effect/Schema").String;
104
106
  limit: import("effect/Schema").optional<typeof import("effect/Schema").String>;
@@ -112,7 +114,7 @@ export declare const samlEndpoints: {
112
114
  ipAddress: import("effect/Schema").NullOr<typeof import("effect/Schema").String>;
113
115
  createdAt: typeof import("effect/Schema").String;
114
116
  }>>;
115
- }>>;
117
+ }>, undefined>;
116
118
  readonly testConfig: import("../endpoint.js").Endpoint<"POST", "/saml/test", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
117
119
  entityId: typeof import("effect/Schema").String;
118
120
  ssoUrl: typeof import("effect/Schema").String;
@@ -120,7 +122,7 @@ export declare const samlEndpoints: {
120
122
  }>, import("effect/Schema").Struct<{
121
123
  valid: typeof import("effect/Schema").Boolean;
122
124
  issues: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
123
- }>>;
125
+ }>, undefined>;
124
126
  readonly listTemplates: import("../endpoint.js").Endpoint<"GET", "/saml/templates", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
125
127
  templates: import("effect/Schema").Array$<import("effect/Schema").Struct<{
126
128
  type: import("effect/Schema").Literal<["okta", "azure_ad", "google_workspace", "onelogin", "ping_identity", "jumpcloud", "custom"]>;
@@ -128,20 +130,20 @@ export declare const samlEndpoints: {
128
130
  instructions: typeof import("effect/Schema").String;
129
131
  requiredFields: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
130
132
  }>>;
131
- }>>;
133
+ }>, undefined>;
132
134
  readonly listNameIdFormats: import("../endpoint.js").Endpoint<"GET", "/saml/name-id-formats", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
133
135
  formats: import("effect/Schema").Array$<import("effect/Schema").Struct<{
134
136
  key: typeof import("effect/Schema").String;
135
137
  value: typeof import("effect/Schema").String;
136
138
  description: typeof import("effect/Schema").String;
137
139
  }>>;
138
- }>>;
140
+ }>, undefined>;
139
141
  readonly listSignatureAlgorithms: import("../endpoint.js").Endpoint<"GET", "/saml/signature-algorithms", import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Schema.AnyNoContext | undefined, import("effect/Schema").Struct<{
140
142
  algorithms: import("effect/Schema").Array$<import("effect/Schema").Struct<{
141
143
  key: typeof import("effect/Schema").String;
142
144
  value: typeof import("effect/Schema").String;
143
145
  recommended: typeof import("effect/Schema").Boolean;
144
146
  }>>;
145
- }>>;
147
+ }>, undefined>;
146
148
  };
147
149
  //# sourceMappingURL=saml.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"saml.d.ts","sourceRoot":"","sources":["../../src/endpoints/saml.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAyBH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiGhB,CAAA"}
1
+ {"version":3,"file":"saml.d.ts","sourceRoot":"","sources":["../../src/endpoints/saml.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAyBH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkGhB,CAAA"}
@@ -19,6 +19,7 @@ export const samlEndpoints = {
19
19
  createProvider: defineEndpoint({
20
20
  method: 'POST',
21
21
  path: '/saml',
22
+ success: { status: 201 },
22
23
  body: CreateSAMLProviderInput,
23
24
  response: CreateSAMLProviderResult,
24
25
  plane: 'management',
@@ -19,7 +19,7 @@ export declare const searchEndpoints: {
19
19
  query: typeof import("effect/Schema").String;
20
20
  count: typeof import("effect/Schema").Number;
21
21
  }>>;
22
- }>>;
22
+ }>, undefined>;
23
23
  readonly getStats: import("../endpoint.js").Endpoint<"GET", "/search/projects/:projectId/stats", import("effect/Schema").Struct<{
24
24
  projectId: typeof import("effect/Schema").String;
25
25
  }>, import("effect/Schema").Struct<{
@@ -31,7 +31,7 @@ export declare const searchEndpoints: {
31
31
  namespace: typeof import("effect/Schema").String;
32
32
  count: typeof import("effect/Schema").Number;
33
33
  }>>;
34
- }>>;
34
+ }>, undefined>;
35
35
  readonly listDocuments: import("../endpoint.js").Endpoint<"GET", "/search/projects/:projectId/documents", import("effect/Schema").Struct<{
36
36
  projectId: typeof import("effect/Schema").String;
37
37
  }>, import("effect/Schema").Struct<{
@@ -57,6 +57,6 @@ export declare const searchEndpoints: {
57
57
  }>>;
58
58
  total: typeof import("effect/Schema").Number;
59
59
  hasMore: typeof import("effect/Schema").Boolean;
60
- }>>;
60
+ }>, undefined>;
61
61
  };
62
62
  //# sourceMappingURL=search.d.ts.map
@@ -22,7 +22,7 @@ export declare const secretsEndpoints: {
22
22
  createdAt: typeof Schema.String;
23
23
  updatedAt: typeof Schema.String;
24
24
  }>>;
25
- }>>;
25
+ }>, undefined>;
26
26
  readonly get: import("../endpoint.js").Endpoint<"GET", "/secrets/detail", Schema.Schema.AnyNoContext | undefined, Schema.Struct<{
27
27
  id: Schema.brand<Schema.filter<typeof Schema.String>, "SecretId">;
28
28
  reveal: Schema.optional<typeof Schema.String>;
@@ -45,7 +45,7 @@ export declare const secretsEndpoints: {
45
45
  }>>;
46
46
  createdAt: typeof Schema.String;
47
47
  updatedAt: typeof Schema.String;
48
- }>>;
48
+ }>, undefined>;
49
49
  readonly create: import("../endpoint.js").Endpoint<"POST", "/secrets", Schema.Schema.AnyNoContext | undefined, Schema.Schema.AnyNoContext | undefined, Schema.Struct<{
50
50
  projectId: Schema.brand<Schema.filter<typeof Schema.String>, "ProjectId">;
51
51
  key: Schema.filter<Schema.filter<Schema.filter<typeof Schema.String>>>;
@@ -56,7 +56,9 @@ export declare const secretsEndpoints: {
56
56
  id: Schema.brand<Schema.filter<typeof Schema.String>, "SecretId">;
57
57
  key: Schema.filter<Schema.filter<Schema.filter<typeof Schema.String>>>;
58
58
  version: typeof Schema.String;
59
- }>>;
59
+ }>, {
60
+ status: 201;
61
+ }>;
60
62
  readonly update: import("../endpoint.js").Endpoint<"PATCH", "/secrets", Schema.Schema.AnyNoContext | undefined, Schema.Schema.AnyNoContext | undefined, Schema.Struct<{
61
63
  id: Schema.brand<Schema.filter<typeof Schema.String>, "SecretId">;
62
64
  value: Schema.optional<Schema.filter<Schema.filter<typeof Schema.String>>>;
@@ -67,12 +69,12 @@ export declare const secretsEndpoints: {
67
69
  id: Schema.brand<Schema.filter<typeof Schema.String>, "SecretId">;
68
70
  key: Schema.filter<Schema.filter<Schema.filter<typeof Schema.String>>>;
69
71
  version: typeof Schema.String;
70
- }>>;
72
+ }>, undefined>;
71
73
  readonly delete: import("../endpoint.js").Endpoint<"DELETE", "/secrets", Schema.Schema.AnyNoContext | undefined, Schema.Schema.AnyNoContext | undefined, Schema.Struct<{
72
74
  id: Schema.brand<Schema.filter<typeof Schema.String>, "SecretId">;
73
75
  }>, Schema.Struct<{
74
76
  success: typeof Schema.Boolean;
75
- }>>;
77
+ }>, undefined>;
76
78
  readonly rollback: import("../endpoint.js").Endpoint<"POST", "/secrets/rollback", Schema.Schema.AnyNoContext | undefined, Schema.Schema.AnyNoContext | undefined, Schema.Struct<{
77
79
  id: Schema.brand<Schema.filter<typeof Schema.String>, "SecretId">;
78
80
  version: typeof Schema.String;
@@ -82,7 +84,7 @@ export declare const secretsEndpoints: {
82
84
  version: typeof Schema.String;
83
85
  rolledBackFrom: typeof Schema.String;
84
86
  rolledBackTo: typeof Schema.String;
85
- }>>;
87
+ }>, undefined>;
86
88
  readonly stats: import("../endpoint.js").Endpoint<"GET", "/secrets/stats", Schema.Schema.AnyNoContext | undefined, Schema.Struct<{
87
89
  projectId: Schema.brand<Schema.filter<typeof Schema.String>, "ProjectId">;
88
90
  }>, Schema.Schema.AnyNoContext | undefined, Schema.Struct<{
@@ -90,6 +92,6 @@ export declare const secretsEndpoints: {
90
92
  environmentId: Schema.NullOr<typeof Schema.String>;
91
93
  count: typeof Schema.Number;
92
94
  }>>;
93
- }>>;
95
+ }>, undefined>;
94
96
  };
95
97
  //# sourceMappingURL=secrets.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"secrets.d.ts","sourceRoot":"","sources":["../../src/endpoints/secrets.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AA6B/B,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgEnB,CAAA"}
1
+ {"version":3,"file":"secrets.d.ts","sourceRoot":"","sources":["../../src/endpoints/secrets.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AA6B/B,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiEnB,CAAA"}
@@ -37,6 +37,7 @@ export const secretsEndpoints = {
37
37
  create: defineEndpoint({
38
38
  method: 'POST',
39
39
  path: '/secrets',
40
+ success: { status: 201 },
40
41
  body: CreateSecretInput,
41
42
  response: CreateSecretResult,
42
43
  summary: 'Create a new encrypted secret',