@distilled.cloud/vercel 0.0.0 → 1.0.0-rc.4

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 (230) hide show
  1. package/lib/credentials.d.ts +21 -0
  2. package/lib/credentials.d.ts.map +1 -0
  3. package/lib/credentials.js +40 -0
  4. package/lib/credentials.js.map +1 -0
  5. package/lib/errors.d.ts +80 -0
  6. package/lib/errors.d.ts.map +1 -0
  7. package/lib/errors.js +50 -0
  8. package/lib/errors.js.map +1 -0
  9. package/lib/index.d.ts +15 -0
  10. package/lib/index.d.ts.map +1 -0
  11. package/lib/index.js +15 -0
  12. package/lib/index.js.map +1 -0
  13. package/lib/protocol.d.ts +18 -0
  14. package/lib/protocol.d.ts.map +1 -0
  15. package/lib/protocol.js +69 -0
  16. package/lib/protocol.js.map +1 -0
  17. package/lib/retry.d.ts +54 -0
  18. package/lib/retry.d.ts.map +1 -0
  19. package/lib/retry.js +47 -0
  20. package/lib/retry.js.map +1 -0
  21. package/lib/services/access_groups.d.ts +459 -0
  22. package/lib/services/access_groups.d.ts.map +1 -0
  23. package/lib/services/access_groups.js +453 -0
  24. package/lib/services/access_groups.js.map +1 -0
  25. package/lib/services/ai_gateway.d.ts +124 -0
  26. package/lib/services/ai_gateway.d.ts.map +1 -0
  27. package/lib/services/ai_gateway.js +126 -0
  28. package/lib/services/ai_gateway.js.map +1 -0
  29. package/lib/services/aliases.d.ts +591 -0
  30. package/lib/services/aliases.d.ts.map +1 -0
  31. package/lib/services/aliases.js +508 -0
  32. package/lib/services/aliases.js.map +1 -0
  33. package/lib/services/artifacts.d.ts +228 -0
  34. package/lib/services/artifacts.d.ts.map +1 -0
  35. package/lib/services/artifacts.js +216 -0
  36. package/lib/services/artifacts.js.map +1 -0
  37. package/lib/services/authentication.d.ts +373 -0
  38. package/lib/services/authentication.d.ts.map +1 -0
  39. package/lib/services/authentication.js +310 -0
  40. package/lib/services/authentication.js.map +1 -0
  41. package/lib/services/billing.d.ts +792 -0
  42. package/lib/services/billing.d.ts.map +1 -0
  43. package/lib/services/billing.js +616 -0
  44. package/lib/services/billing.js.map +1 -0
  45. package/lib/services/bulk_redirects.d.ts +308 -0
  46. package/lib/services/bulk_redirects.d.ts.map +1 -0
  47. package/lib/services/bulk_redirects.js +306 -0
  48. package/lib/services/bulk_redirects.js.map +1 -0
  49. package/lib/services/certs.d.ts +171 -0
  50. package/lib/services/certs.d.ts.map +1 -0
  51. package/lib/services/certs.js +165 -0
  52. package/lib/services/certs.js.map +1 -0
  53. package/lib/services/checks_v2.d.ts +1162 -0
  54. package/lib/services/checks_v2.d.ts.map +1 -0
  55. package/lib/services/checks_v2.js +1252 -0
  56. package/lib/services/checks_v2.js.map +1 -0
  57. package/lib/services/connect.d.ts +1034 -0
  58. package/lib/services/connect.d.ts.map +1 -0
  59. package/lib/services/connect.js +993 -0
  60. package/lib/services/connect.js.map +1 -0
  61. package/lib/services/deployments.d.ts +9111 -0
  62. package/lib/services/deployments.d.ts.map +1 -0
  63. package/lib/services/deployments.js +8664 -0
  64. package/lib/services/deployments.js.map +1 -0
  65. package/lib/services/dns.d.ts +279 -0
  66. package/lib/services/dns.d.ts.map +1 -0
  67. package/lib/services/dns.js +282 -0
  68. package/lib/services/dns.js.map +1 -0
  69. package/lib/services/domains.d.ts +539 -0
  70. package/lib/services/domains.d.ts.map +1 -0
  71. package/lib/services/domains.js +464 -0
  72. package/lib/services/domains.js.map +1 -0
  73. package/lib/services/domains_registrar.d.ts +798 -0
  74. package/lib/services/domains_registrar.d.ts.map +1 -0
  75. package/lib/services/domains_registrar.js +968 -0
  76. package/lib/services/domains_registrar.js.map +1 -0
  77. package/lib/services/drains.d.ts +2263 -0
  78. package/lib/services/drains.d.ts.map +1 -0
  79. package/lib/services/drains.js +2406 -0
  80. package/lib/services/drains.js.map +1 -0
  81. package/lib/services/edge_cache.d.ts +125 -0
  82. package/lib/services/edge_cache.d.ts.map +1 -0
  83. package/lib/services/edge_cache.js +140 -0
  84. package/lib/services/edge_cache.js.map +1 -0
  85. package/lib/services/environment.d.ts +1020 -0
  86. package/lib/services/environment.d.ts.map +1 -0
  87. package/lib/services/environment.js +842 -0
  88. package/lib/services/environment.js.map +1 -0
  89. package/lib/services/feature_flags.d.ts +3109 -0
  90. package/lib/services/feature_flags.d.ts.map +1 -0
  91. package/lib/services/feature_flags.js +3074 -0
  92. package/lib/services/feature_flags.js.map +1 -0
  93. package/lib/services/global_config.d.ts +618 -0
  94. package/lib/services/global_config.d.ts.map +1 -0
  95. package/lib/services/global_config.js +716 -0
  96. package/lib/services/global_config.js.map +1 -0
  97. package/lib/services/index.d.ts +39 -0
  98. package/lib/services/index.d.ts.map +1 -0
  99. package/lib/services/index.js +40 -0
  100. package/lib/services/index.js.map +1 -0
  101. package/lib/services/integrations.d.ts +2987 -0
  102. package/lib/services/integrations.d.ts.map +1 -0
  103. package/lib/services/integrations.js +2903 -0
  104. package/lib/services/integrations.js.map +1 -0
  105. package/lib/services/log_drains.d.ts +848 -0
  106. package/lib/services/log_drains.d.ts.map +1 -0
  107. package/lib/services/log_drains.js +866 -0
  108. package/lib/services/log_drains.js.map +1 -0
  109. package/lib/services/logs.d.ts +40 -0
  110. package/lib/services/logs.d.ts.map +1 -0
  111. package/lib/services/logs.js +43 -0
  112. package/lib/services/logs.js.map +1 -0
  113. package/lib/services/marketplace.d.ts +991 -0
  114. package/lib/services/marketplace.d.ts.map +1 -0
  115. package/lib/services/marketplace.js +1044 -0
  116. package/lib/services/marketplace.js.map +1 -0
  117. package/lib/services/microfrontends.d.ts +3210 -0
  118. package/lib/services/microfrontends.d.ts.map +1 -0
  119. package/lib/services/microfrontends.js +3300 -0
  120. package/lib/services/microfrontends.js.map +1 -0
  121. package/lib/services/networking.d.ts +239 -0
  122. package/lib/services/networking.d.ts.map +1 -0
  123. package/lib/services/networking.js +224 -0
  124. package/lib/services/networking.js.map +1 -0
  125. package/lib/services/observability.d.ts +168 -0
  126. package/lib/services/observability.d.ts.map +1 -0
  127. package/lib/services/observability.js +191 -0
  128. package/lib/services/observability.js.map +1 -0
  129. package/lib/services/project_members.d.ts +142 -0
  130. package/lib/services/project_members.d.ts.map +1 -0
  131. package/lib/services/project_members.js +139 -0
  132. package/lib/services/project_members.js.map +1 -0
  133. package/lib/services/project_routes.d.ts +1990 -0
  134. package/lib/services/project_routes.d.ts.map +1 -0
  135. package/lib/services/project_routes.js +2026 -0
  136. package/lib/services/project_routes.js.map +1 -0
  137. package/lib/services/projects.d.ts +23449 -0
  138. package/lib/services/projects.d.ts.map +1 -0
  139. package/lib/services/projects.js +23570 -0
  140. package/lib/services/projects.js.map +1 -0
  141. package/lib/services/rolling_release.d.ts +764 -0
  142. package/lib/services/rolling_release.d.ts.map +1 -0
  143. package/lib/services/rolling_release.js +630 -0
  144. package/lib/services/rolling_release.js.map +1 -0
  145. package/lib/services/sandboxes.d.ts +2183 -0
  146. package/lib/services/sandboxes.d.ts.map +1 -0
  147. package/lib/services/sandboxes.js +1756 -0
  148. package/lib/services/sandboxes.js.map +1 -0
  149. package/lib/services/security.d.ts +3932 -0
  150. package/lib/services/security.d.ts.map +1 -0
  151. package/lib/services/security.js +4411 -0
  152. package/lib/services/security.js.map +1 -0
  153. package/lib/services/storage.d.ts +251 -0
  154. package/lib/services/storage.d.ts.map +1 -0
  155. package/lib/services/storage.js +270 -0
  156. package/lib/services/storage.js.map +1 -0
  157. package/lib/services/teams.d.ts +1577 -0
  158. package/lib/services/teams.d.ts.map +1 -0
  159. package/lib/services/teams.js +1359 -0
  160. package/lib/services/teams.js.map +1 -0
  161. package/lib/services/user.d.ts +7972 -0
  162. package/lib/services/user.d.ts.map +1 -0
  163. package/lib/services/user.js +7093 -0
  164. package/lib/services/user.js.map +1 -0
  165. package/lib/services/vcr.d.ts +793 -0
  166. package/lib/services/vcr.d.ts.map +1 -0
  167. package/lib/services/vcr.js +882 -0
  168. package/lib/services/vcr.js.map +1 -0
  169. package/lib/services/web_analytics.d.ts +694 -0
  170. package/lib/services/web_analytics.d.ts.map +1 -0
  171. package/lib/services/web_analytics.js +695 -0
  172. package/lib/services/web_analytics.js.map +1 -0
  173. package/lib/services/webhooks.d.ts +207 -0
  174. package/lib/services/webhooks.d.ts.map +1 -0
  175. package/lib/services/webhooks.js +171 -0
  176. package/lib/services/webhooks.js.map +1 -0
  177. package/lib/traits.d.ts +10 -0
  178. package/lib/traits.d.ts.map +1 -0
  179. package/lib/traits.js +11 -0
  180. package/lib/traits.js.map +1 -0
  181. package/package.json +77 -7
  182. package/src/credentials.ts +70 -0
  183. package/src/errors.ts +93 -0
  184. package/src/index.ts +18 -0
  185. package/src/protocol.ts +98 -0
  186. package/src/retry.ts +78 -0
  187. package/src/services/access_groups.ts +1165 -0
  188. package/src/services/ai_gateway.ts +272 -0
  189. package/src/services/aliases.ts +1323 -0
  190. package/src/services/artifacts.ts +542 -0
  191. package/src/services/authentication.ts +829 -0
  192. package/src/services/billing.ts +1776 -0
  193. package/src/services/bulk_redirects.ts +748 -0
  194. package/src/services/certs.ts +377 -0
  195. package/src/services/checks_v2.ts +3136 -0
  196. package/src/services/connect.ts +2607 -0
  197. package/src/services/deployments.ts +23682 -0
  198. package/src/services/dns.ts +718 -0
  199. package/src/services/domains.ts +1209 -0
  200. package/src/services/domains_registrar.ts +2290 -0
  201. package/src/services/drains.ts +5989 -0
  202. package/src/services/edge_cache.ts +303 -0
  203. package/src/services/environment.ts +2388 -0
  204. package/src/services/feature_flags.ts +8302 -0
  205. package/src/services/global_config.ts +1668 -0
  206. package/src/services/index.ts +39 -0
  207. package/src/services/integrations.ts +8846 -0
  208. package/src/services/log_drains.ts +2413 -0
  209. package/src/services/logs.ts +78 -0
  210. package/src/services/marketplace.ts +2626 -0
  211. package/src/services/microfrontends.ts +9650 -0
  212. package/src/services/networking.ts +530 -0
  213. package/src/services/observability.ts +436 -0
  214. package/src/services/project_members.ts +328 -0
  215. package/src/services/project_routes.ts +5259 -0
  216. package/src/services/projects.ts +67377 -0
  217. package/src/services/rolling_release.ts +1869 -0
  218. package/src/services/sandboxes.ts +5259 -0
  219. package/src/services/security.ts +12408 -0
  220. package/src/services/storage.ts +849 -0
  221. package/src/services/teams.ts +3995 -0
  222. package/src/services/user.ts +21687 -0
  223. package/src/services/vcr.ts +2165 -0
  224. package/src/services/web_analytics.ts +1570 -0
  225. package/src/services/webhooks.ts +1073 -0
  226. package/src/traits.ts +44 -0
  227. package/README.md +0 -15
  228. package/bun.lock +0 -26
  229. package/index.ts +0 -1
  230. package/tsconfig.json +0 -29
@@ -0,0 +1,228 @@
1
+ import * as S from "@distilled.cloud/core/schema";
2
+ import * as API from "@distilled.cloud/core/api";
3
+ import { type VercelOpError, type VercelOpContext } from "../protocol.ts";
4
+ export type { VercelOpError, VercelOpContext };
5
+ declare const BadRequest_base: S.Class<BadRequest, S.TaggedStruct<"BadRequest", {
6
+ readonly code: any;
7
+ readonly message: any;
8
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
9
+ "@distilled.cloud/error/categories": {
10
+ BadRequestError: true;
11
+ };
12
+ });
13
+ export declare class BadRequest extends /*@__PURE__*/ BadRequest_base {
14
+ }
15
+ declare const Forbidden_base: S.Class<Forbidden, S.TaggedStruct<"Forbidden", {
16
+ readonly code: any;
17
+ readonly message: any;
18
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
19
+ "@distilled.cloud/error/categories": {
20
+ AuthError: true;
21
+ };
22
+ });
23
+ export declare class Forbidden extends /*@__PURE__*/ Forbidden_base {
24
+ }
25
+ declare const NotFound_base: S.Class<NotFound, S.TaggedStruct<"NotFound", {
26
+ readonly code: any;
27
+ readonly message: any;
28
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
29
+ "@distilled.cloud/error/categories": {
30
+ BadRequestError: true;
31
+ };
32
+ });
33
+ export declare class NotFound extends /*@__PURE__*/ NotFound_base {
34
+ }
35
+ declare const PaymentRequired_base: S.Class<PaymentRequired, S.TaggedStruct<"PaymentRequired", {
36
+ readonly code: any;
37
+ readonly message: any;
38
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
39
+ "@distilled.cloud/error/categories": {
40
+ QuotaError: true;
41
+ };
42
+ });
43
+ export declare class PaymentRequired extends /*@__PURE__*/ PaymentRequired_base {
44
+ }
45
+ export interface ArtifactExistsRequest {
46
+ /** The artifact hash */
47
+ hash: string;
48
+ /** The Team identifier to perform the request on behalf of. */
49
+ teamId?: string;
50
+ /** The Team slug to perform the request on behalf of. */
51
+ slug?: string;
52
+ }
53
+ export declare const ArtifactExistsRequest: S.Schema<ArtifactExistsRequest>;
54
+ export interface ArtifactExistsResponse {
55
+ }
56
+ export declare const ArtifactExistsResponse: S.Schema<ArtifactExistsResponse>;
57
+ /** artifact hashes */
58
+ export type ArtifactQueryRequestHashesList = Array<string>;
59
+ export declare const ArtifactQueryRequestHashesList: S.Schema<ArtifactQueryRequestHashesList>;
60
+ export interface ArtifactQueryRequest {
61
+ /** The Team identifier to perform the request on behalf of. */
62
+ teamId?: string;
63
+ /** The Team slug to perform the request on behalf of. */
64
+ slug?: string;
65
+ /** artifact hashes */
66
+ hashes: ArtifactQueryRequestHashesList;
67
+ }
68
+ export declare const ArtifactQueryRequest: S.Schema<ArtifactQueryRequest>;
69
+ export interface ArtifactQueryResponseBodyValueCase0 {
70
+ size: number;
71
+ taskDurationMs: number;
72
+ tag?: string;
73
+ sha?: string;
74
+ dirtyHash?: string;
75
+ }
76
+ export declare const ArtifactQueryResponseBodyValueCase0: S.Schema<ArtifactQueryResponseBodyValueCase0>;
77
+ export interface ArtifactQueryResponseBodyValueCase1Error {
78
+ message: string;
79
+ }
80
+ export declare const ArtifactQueryResponseBodyValueCase1Error: S.Schema<ArtifactQueryResponseBodyValueCase1Error>;
81
+ export interface ArtifactQueryResponseBodyValueCase1 {
82
+ error: ArtifactQueryResponseBodyValueCase1Error;
83
+ }
84
+ export declare const ArtifactQueryResponseBodyValueCase1: S.Schema<ArtifactQueryResponseBodyValueCase1>;
85
+ export type ArtifactQueryResponseBodyValue = ArtifactQueryResponseBodyValueCase0 | ArtifactQueryResponseBodyValueCase1;
86
+ export declare const ArtifactQueryResponseBodyValue: S.Schema<ArtifactQueryResponseBodyValue>;
87
+ export type ArtifactQueryResponseBodyMap = {
88
+ [key: string]: ArtifactQueryResponseBodyValue | undefined;
89
+ };
90
+ export declare const ArtifactQueryResponseBodyMap: S.Schema<ArtifactQueryResponseBodyMap>;
91
+ export type ArtifactQueryResponse = ArtifactQueryResponseBodyMap;
92
+ export declare const ArtifactQueryResponse: S.Schema<ArtifactQueryResponse>;
93
+ export interface DeleteAllArtifactsRequest {
94
+ /** The Team identifier to perform the request on behalf of. */
95
+ teamId?: string;
96
+ /** The Team slug to perform the request on behalf of. */
97
+ slug?: string;
98
+ }
99
+ export declare const DeleteAllArtifactsRequest: S.Schema<DeleteAllArtifactsRequest>;
100
+ export interface DeleteAllArtifactsResponse {
101
+ deletedCount: number;
102
+ }
103
+ export declare const DeleteAllArtifactsResponse: S.Schema<DeleteAllArtifactsResponse>;
104
+ export interface DownloadArtifactRequest {
105
+ /** The artifact hash */
106
+ hash: string;
107
+ /** The Team identifier to perform the request on behalf of. */
108
+ teamId?: string;
109
+ /** The Team slug to perform the request on behalf of. */
110
+ slug?: string;
111
+ /** The continuous integration or delivery environment where this artifact is downloaded. */
112
+ xArtifactClientCi?: string;
113
+ /** 1 if the client is an interactive shell. Otherwise 0 */
114
+ xArtifactClientInteractive?: number;
115
+ }
116
+ export declare const DownloadArtifactRequest: S.Schema<DownloadArtifactRequest>;
117
+ export type DownloadArtifactResponse = string;
118
+ export declare const DownloadArtifactResponse: S.Schema<DownloadArtifactResponse>;
119
+ /** One of `LOCAL` or `REMOTE`. `LOCAL` specifies that the cache event was from the user's filesystem cache. `REMOTE` specifies that the cache event is from a remote cache. */
120
+ export type RecordEventsRequestBodyItemSource = "LOCAL" | "REMOTE";
121
+ export declare const RecordEventsRequestBodyItemSource: any;
122
+ /** One of `HIT` or `MISS`. `HIT` specifies that a cached artifact for `hash` was found in the cache. `MISS` specifies that a cached artifact with `hash` was not found. */
123
+ export type RecordEventsRequestBodyItemEvent = "HIT" | "MISS";
124
+ export declare const RecordEventsRequestBodyItemEvent: any;
125
+ export interface RecordEventsRequestBodyItem {
126
+ /** A UUID (universally unique identifer) for the session that generated this event. */
127
+ sessionId: string;
128
+ /** One of `LOCAL` or `REMOTE`. `LOCAL` specifies that the cache event was from the user's filesystem cache. `REMOTE` specifies that the cache event is from a remote cache. */
129
+ source: RecordEventsRequestBodyItemSource | (string & {});
130
+ /** One of `HIT` or `MISS`. `HIT` specifies that a cached artifact for `hash` was found in the cache. `MISS` specifies that a cached artifact with `hash` was not found. */
131
+ event: RecordEventsRequestBodyItemEvent | (string & {});
132
+ /** The artifact hash */
133
+ hash: string;
134
+ /** The time taken to generate the artifact. This should be sent as a body parameter on `HIT` events. */
135
+ duration?: number;
136
+ }
137
+ export declare const RecordEventsRequestBodyItem: S.Schema<RecordEventsRequestBodyItem>;
138
+ export type RecordEventsRequestBodyList = Array<RecordEventsRequestBodyItem>;
139
+ export declare const RecordEventsRequestBodyList: S.Schema<RecordEventsRequestBodyList>;
140
+ export interface RecordEventsRequest {
141
+ /** The Team identifier to perform the request on behalf of. */
142
+ teamId?: string;
143
+ /** The Team slug to perform the request on behalf of. */
144
+ slug?: string;
145
+ /** The continuous integration or delivery environment where this artifact is downloaded. */
146
+ xArtifactClientCi?: string;
147
+ /** 1 if the client is an interactive shell. Otherwise 0 */
148
+ xArtifactClientInteractive?: number;
149
+ body: RecordEventsRequestBodyList;
150
+ }
151
+ export declare const RecordEventsRequest: S.Schema<RecordEventsRequest>;
152
+ export interface RecordEventsResponse {
153
+ }
154
+ export declare const RecordEventsResponse: S.Schema<RecordEventsResponse>;
155
+ export interface StatusRequest {
156
+ /** The Team identifier to perform the request on behalf of. */
157
+ teamId?: string;
158
+ /** The Team slug to perform the request on behalf of. */
159
+ slug?: string;
160
+ }
161
+ export declare const StatusRequest: S.Schema<StatusRequest>;
162
+ export interface StatusResponseBodyCase0 {
163
+ status: string;
164
+ }
165
+ export declare const StatusResponseBodyCase0: S.Schema<StatusResponseBodyCase0>;
166
+ export type StatusResponseBodyCase1Status = "disabled" | "enabled" | "over_limit" | "paused";
167
+ export declare const StatusResponseBodyCase1Status: any;
168
+ export interface StatusResponseBodyCase1 {
169
+ status: StatusResponseBodyCase1Status;
170
+ }
171
+ export declare const StatusResponseBodyCase1: S.Schema<StatusResponseBodyCase1>;
172
+ export type StatusResponseBody = StatusResponseBodyCase0 | StatusResponseBodyCase1;
173
+ export declare const StatusResponseBody: S.Schema<StatusResponseBody>;
174
+ export type StatusResponse = StatusResponseBody;
175
+ export declare const StatusResponse: S.Schema<StatusResponse>;
176
+ export interface UploadArtifactRequest {
177
+ /** The artifact hash */
178
+ hash: string;
179
+ /** The Team identifier to perform the request on behalf of. */
180
+ teamId?: string;
181
+ /** The Team slug to perform the request on behalf of. */
182
+ slug?: string;
183
+ /** The artifact size in bytes */
184
+ contentLength?: number;
185
+ /** The time taken to generate the uploaded artifact in milliseconds. */
186
+ xArtifactDuration?: number;
187
+ /** The continuous integration or delivery environment where this artifact was generated. */
188
+ xArtifactClientCi?: string;
189
+ /** 1 if the client is an interactive shell. Otherwise 0 */
190
+ xArtifactClientInteractive?: number;
191
+ /** The base64 encoded tag for this artifact. The value is sent back to clients when the artifact is downloaded as the header `x-artifact-tag` */
192
+ xArtifactTag?: string;
193
+ /** The SHA of the source control revision that generated this artifact. */
194
+ xArtifactSha?: string;
195
+ /** A hash representing uncommitted changes in the working directory when this artifact was generated. */
196
+ xArtifactDirtyHash?: string;
197
+ }
198
+ export declare const UploadArtifactRequest: S.Schema<UploadArtifactRequest>;
199
+ /** Array of URLs where the artifact was updated */
200
+ export type UploadArtifactResponseUrlsList = Array<string>;
201
+ export declare const UploadArtifactResponseUrlsList: S.Schema<UploadArtifactResponseUrlsList>;
202
+ export interface UploadArtifactResponse {
203
+ /** Array of URLs where the artifact was updated */
204
+ urls: UploadArtifactResponseUrlsList;
205
+ }
206
+ export declare const UploadArtifactResponse: S.Schema<UploadArtifactResponse>;
207
+ export type ArtifactExistsError = BadRequest | PaymentRequired | Forbidden | NotFound | VercelOpError;
208
+ /** Check if a cache artifact exists Check that a cache artifact with the given `hash` exists. This request returns response headers only and is equivalent to a `GET` request to this endpoint where the response contains no body. */
209
+ export declare const artifactExists: API.OperationMethod<ArtifactExistsRequest, ArtifactExistsResponse, ArtifactExistsError, VercelOpContext>;
210
+ export type ArtifactQueryError = BadRequest | PaymentRequired | Forbidden | VercelOpError;
211
+ /** Query information about an artifact Query information about an array of artifacts. */
212
+ export declare const artifactQuery: API.OperationMethod<ArtifactQueryRequest, ArtifactQueryResponse, ArtifactQueryError, VercelOpContext>;
213
+ export type DeleteAllArtifactsError = BadRequest | Forbidden | VercelOpError;
214
+ /** Delete all cache artifacts Deletes all cache artifacts stored for the authenticated team or user, clearing the Remote Cache. Subsequent builds will re-populate the cache. */
215
+ export declare const deleteAllArtifacts: API.OperationMethod<DeleteAllArtifactsRequest, DeleteAllArtifactsResponse, DeleteAllArtifactsError, VercelOpContext>;
216
+ export type DownloadArtifactError = BadRequest | PaymentRequired | Forbidden | NotFound | VercelOpError;
217
+ /** Download a cache artifact Downloads a cache artifact indentified by its `hash` specified on the request path. The artifact is downloaded as an octet-stream. The client should verify the content-length header and response body. */
218
+ export declare const downloadArtifact: API.OperationMethod<DownloadArtifactRequest, DownloadArtifactResponse, DownloadArtifactError, VercelOpContext>;
219
+ export type RecordEventsError = BadRequest | PaymentRequired | Forbidden | VercelOpError;
220
+ /** Record an artifacts cache usage event Records an artifacts cache usage event. The body of this request is an array of cache usage events. The supported event types are `HIT` and `MISS`. The source is either `LOCAL` the cache event was on the users filesystem cache or `REMOTE` if the cache event is for a remote cache. When the event is a `HIT` the request also accepts a number `duration` which is the time taken to generate the artifact in the cache. */
221
+ export declare const recordEvents: API.OperationMethod<RecordEventsRequest, RecordEventsResponse, RecordEventsError, VercelOpContext>;
222
+ export type StatusError = BadRequest | PaymentRequired | Forbidden | VercelOpError;
223
+ /** Get status of Remote Caching for this principal Check the status of Remote Caching for this principal. Returns a JSON-encoded status indicating if Remote Caching is enabled, disabled, or disabled due to usage limits. */
224
+ export declare const status: API.OperationMethod<StatusRequest, StatusResponse, StatusError, VercelOpContext>;
225
+ export type UploadArtifactError = BadRequest | PaymentRequired | Forbidden | VercelOpError;
226
+ /** Upload a cache artifact Uploads a cache artifact identified by the `hash` specified on the path. The cache artifact can then be downloaded with the provided `hash`. */
227
+ export declare const uploadArtifact: API.OperationMethod<UploadArtifactRequest, UploadArtifactResponse, UploadArtifactError, VercelOpContext>;
228
+ //# sourceMappingURL=artifacts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"artifacts.d.ts","sourceRoot":"","sources":["../../src/services/artifacts.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAClD,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAGjD,OAAO,EAEL,KAAK,aAAa,EAClB,KAAK,eAAe,EACrB,MAAM,gBAAgB,CAAC;AAGxB,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,CAAC;;;;;;;;;AAE/C,qBAAa,UACX,SAAQ,aAAa,CAAC,eAMrB;CAAG;;;;;;;;;AAEN,qBAAa,SACX,SAAQ,aAAa,CAAC,cAMrB;CAAG;;;;;;;;;AAEN,qBAAa,QACX,SAAQ,aAAa,CAAC,aAMrB;CAAG;;;;;;;;;AAEN,qBAAa,eACX,SAAQ,aAAa,CAAC,oBAMrB;CAAG;AAEN,MAAM,WAAW,qBAAqB;IACpC,wBAAwB;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,+DAA+D;IAC/D,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,yDAAyD;IACzD,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AACD,eAAO,MAAM,qBAAqB,EAQrB,CAAC,CAAC,MAAM,CAAC,qBAAqB,CAAC,C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AAQ,GACR,aAAa,CAAC;AAClB,yOAAyO;AACzO,eAAO,MAAM,gBAAgB,EAAE,GAAG,CAAC,eAAe,CAChD,uBAAuB,EACvB,wBAAwB,EACxB,qBAAqB,EACrB,eAAe,CAOd,CAAC;AAEJ,MAAM,MAAM,iBAAiB,GACzB,UAAU,GACV,eAAe,GACf,SAAS,GACT,aAAa,CAAC;AAClB,2cAA2c;AAC3c,eAAO,MAAM,YAAY,EAAE,GAAG,CAAC,eAAe,CAC5C,mBAAmB,EACnB,oBAAoB,EACpB,iBAAiB,EACjB,eAAe,CAOd,CAAC;AAEJ,MAAM,MAAM,WAAW,GACnB,UAAU,GACV,eAAe,GACf,SAAS,GACT,aAAa,CAAC;AAClB,+NAA+N;AAC/N,eAAO,MAAM,MAAM,EAAE,GAAG,CAAC,eAAe,CACtC,aAAa,EACb,cAAc,EACd,WAAW,EACX,eAAe,CAOd,CAAC;AAEJ,MAAM,MAAM,mBAAmB,GAC3B,UAAU,GACV,eAAe,GACf,SAAS,GACT,aAAa,CAAC;AAClB,2KAA2K;AAC3K,eAAO,MAAM,cAAc,EAAE,GAAG,CAAC,eAAe,CAC9C,qBAAqB,EACrB,sBAAsB,EACtB,mBAAmB,EACnB,eAAe,CAOd,CAAC"}
@@ -0,0 +1,216 @@
1
+ // AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/openapi.json). Do not edit.
2
+ import * as S from "@distilled.cloud/core/schema";
3
+ import * as API from "@distilled.cloud/core/api";
4
+ import * as C from "@distilled.cloud/core/category";
5
+ import * as T from "../traits.js";
6
+ import { VercelProtocol, } from "../protocol.js";
7
+ import * as Retry from "../retry.js";
8
+ export class BadRequest extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
9
+ /*@__PURE__*/ S.TaggedError()("BadRequest", {
10
+ code: S.Number,
11
+ message: S.String,
12
+ }).pipe(C.withBadRequestError), [{ status: 400 }]) {
13
+ }
14
+ export class Forbidden extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
15
+ /*@__PURE__*/ S.TaggedError()("Forbidden", {
16
+ code: S.Number,
17
+ message: S.String,
18
+ }).pipe(C.withAuthError), [{ status: 403 }]) {
19
+ }
20
+ export class NotFound extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
21
+ /*@__PURE__*/ S.TaggedError()("NotFound", {
22
+ code: S.Number,
23
+ message: S.String,
24
+ }).pipe(C.withBadRequestError), [{ status: 404 }]) {
25
+ }
26
+ export class PaymentRequired extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
27
+ /*@__PURE__*/ S.TaggedError()("PaymentRequired", {
28
+ code: S.Number,
29
+ message: S.String,
30
+ }).pipe(C.withQuotaError), [{ status: 402 }]) {
31
+ }
32
+ export const ArtifactExistsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
33
+ hash: S.String.pipe(T.Label()),
34
+ teamId: S.optional(S.String.pipe(T.Query())),
35
+ slug: S.optional(S.String.pipe(T.Query())),
36
+ }).pipe(T.Http({ method: "HEAD", uri: "/v8/artifacts/{hash}", code: 200 }))).annotate({
37
+ identifier: "ArtifactExistsRequest",
38
+ });
39
+ export const ArtifactExistsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
40
+ identifier: "ArtifactExistsResponse",
41
+ });
42
+ export const ArtifactQueryRequestHashesList = /*@__PURE__*/ S.Array(S.String);
43
+ export const ArtifactQueryRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
44
+ teamId: S.optional(S.String.pipe(T.Query())),
45
+ slug: S.optional(S.String.pipe(T.Query())),
46
+ hashes: ArtifactQueryRequestHashesList,
47
+ }).pipe(T.Http({ method: "POST", uri: "/v8/artifacts", code: 200 }))).annotate({
48
+ identifier: "ArtifactQueryRequest",
49
+ });
50
+ export const ArtifactQueryResponseBodyValueCase0 = /*@__PURE__*/ S.suspend(() => S.Struct({
51
+ size: S.Number,
52
+ taskDurationMs: S.Number,
53
+ tag: S.optional(S.String),
54
+ sha: S.optional(S.String),
55
+ dirtyHash: S.optional(S.String),
56
+ })).annotate({
57
+ identifier: "ArtifactQueryResponseBodyValueCase0",
58
+ });
59
+ export const ArtifactQueryResponseBodyValueCase1Error = /*@__PURE__*/ S.suspend(() => S.Struct({
60
+ message: S.String,
61
+ })).annotate({
62
+ identifier: "ArtifactQueryResponseBodyValueCase1Error",
63
+ });
64
+ export const ArtifactQueryResponseBodyValueCase1 = /*@__PURE__*/ S.suspend(() => S.Struct({
65
+ error: ArtifactQueryResponseBodyValueCase1Error,
66
+ })).annotate({
67
+ identifier: "ArtifactQueryResponseBodyValueCase1",
68
+ });
69
+ export const ArtifactQueryResponseBodyValue =
70
+ /*@__PURE__*/ S.Unknown;
71
+ export const ArtifactQueryResponseBodyMap = /*@__PURE__*/ S.Record(S.String, ArtifactQueryResponseBodyValue);
72
+ export const ArtifactQueryResponse = /*@__PURE__*/ S.suspend(() => ArtifactQueryResponseBodyMap.pipe(T.RawResponseRoot())).annotate({
73
+ identifier: "ArtifactQueryResponse",
74
+ });
75
+ export const DeleteAllArtifactsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
76
+ teamId: S.optional(S.String.pipe(T.Query())),
77
+ slug: S.optional(S.String.pipe(T.Query())),
78
+ }).pipe(T.Http({ method: "DELETE", uri: "/v8/artifacts", code: 200 }))).annotate({
79
+ identifier: "DeleteAllArtifactsRequest",
80
+ });
81
+ export const DeleteAllArtifactsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
82
+ deletedCount: S.Number,
83
+ })).annotate({
84
+ identifier: "DeleteAllArtifactsResponse",
85
+ });
86
+ export const DownloadArtifactRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
87
+ hash: S.String.pipe(T.Label()),
88
+ teamId: S.optional(S.String.pipe(T.Query())),
89
+ slug: S.optional(S.String.pipe(T.Query())),
90
+ xArtifactClientCi: S.optional(S.String.pipe(T.Header("x-Artifact-Client-Ci"))),
91
+ xArtifactClientInteractive: S.optional(S.Number.pipe(T.Header("x-Artifact-Client-Interactive"))),
92
+ }).pipe(T.Http({ method: "GET", uri: "/v8/artifacts/{hash}", code: 200 }))).annotate({
93
+ identifier: "DownloadArtifactRequest",
94
+ });
95
+ export const DownloadArtifactResponse = /*@__PURE__*/ S.suspend(() => S.String.pipe(T.RawResponseRoot())).annotate({
96
+ identifier: "DownloadArtifactResponse",
97
+ });
98
+ export const RecordEventsRequestBodyItemSource = /*@__PURE__*/ S.String;
99
+ export const RecordEventsRequestBodyItemEvent = /*@__PURE__*/ S.String;
100
+ export const RecordEventsRequestBodyItem = /*@__PURE__*/ S.suspend(() => S.Struct({
101
+ sessionId: S.String,
102
+ source: RecordEventsRequestBodyItemSource,
103
+ event: RecordEventsRequestBodyItemEvent,
104
+ hash: S.String,
105
+ duration: S.optional(S.Number),
106
+ })).annotate({
107
+ identifier: "RecordEventsRequestBodyItem",
108
+ });
109
+ export const RecordEventsRequestBodyList = /*@__PURE__*/ S.Array(RecordEventsRequestBodyItem);
110
+ export const RecordEventsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
111
+ teamId: S.optional(S.String.pipe(T.Query())),
112
+ slug: S.optional(S.String.pipe(T.Query())),
113
+ xArtifactClientCi: S.optional(S.String.pipe(T.Header("x-Artifact-Client-Ci"))),
114
+ xArtifactClientInteractive: S.optional(S.Number.pipe(T.Header("x-Artifact-Client-Interactive"))),
115
+ body: RecordEventsRequestBodyList.pipe(T.HttpBody()),
116
+ }).pipe(T.Http({ method: "POST", uri: "/v8/artifacts/events", code: 200 }))).annotate({
117
+ identifier: "RecordEventsRequest",
118
+ });
119
+ export const RecordEventsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
120
+ identifier: "RecordEventsResponse",
121
+ });
122
+ export const StatusRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
123
+ teamId: S.optional(S.String.pipe(T.Query())),
124
+ slug: S.optional(S.String.pipe(T.Query())),
125
+ }).pipe(T.Http({ method: "GET", uri: "/v8/artifacts/status", code: 200 }))).annotate({ identifier: "StatusRequest" });
126
+ export const StatusResponseBodyCase0 = /*@__PURE__*/ S.suspend(() => S.Struct({
127
+ status: S.String,
128
+ })).annotate({
129
+ identifier: "StatusResponseBodyCase0",
130
+ });
131
+ export const StatusResponseBodyCase1Status = /*@__PURE__*/ S.String;
132
+ export const StatusResponseBodyCase1 = /*@__PURE__*/ S.suspend(() => S.Struct({
133
+ status: StatusResponseBodyCase1Status,
134
+ })).annotate({
135
+ identifier: "StatusResponseBodyCase1",
136
+ });
137
+ export const StatusResponseBody =
138
+ /*@__PURE__*/ S.Unknown;
139
+ export const StatusResponse = /*@__PURE__*/ S.suspend(() => StatusResponseBody.pipe(T.RawResponseRoot())).annotate({ identifier: "StatusResponse" });
140
+ export const UploadArtifactRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
141
+ hash: S.String.pipe(T.Label()),
142
+ teamId: S.optional(S.String.pipe(T.Query())),
143
+ slug: S.optional(S.String.pipe(T.Query())),
144
+ contentLength: S.optional(S.Number.pipe(T.Header("content-Length"))),
145
+ xArtifactDuration: S.optional(S.Number.pipe(T.Header("x-Artifact-Duration"))),
146
+ xArtifactClientCi: S.optional(S.String.pipe(T.Header("x-Artifact-Client-Ci"))),
147
+ xArtifactClientInteractive: S.optional(S.Number.pipe(T.Header("x-Artifact-Client-Interactive"))),
148
+ xArtifactTag: S.optional(S.String.pipe(T.Header("x-Artifact-Tag"))),
149
+ xArtifactSha: S.optional(S.String.pipe(T.Header("x-Artifact-Sha"))),
150
+ xArtifactDirtyHash: S.optional(S.String.pipe(T.Header("x-Artifact-Dirty-Hash"))),
151
+ }).pipe(T.Http({ method: "PUT", uri: "/v8/artifacts/{hash}", code: 200 }))).annotate({
152
+ identifier: "UploadArtifactRequest",
153
+ });
154
+ export const UploadArtifactResponseUrlsList = /*@__PURE__*/ S.Array(S.String);
155
+ export const UploadArtifactResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
156
+ urls: UploadArtifactResponseUrlsList,
157
+ })).annotate({
158
+ identifier: "UploadArtifactResponse",
159
+ });
160
+ /** Check if a cache artifact exists Check that a cache artifact with the given `hash` exists. This request returns response headers only and is equivalent to a `GET` request to this endpoint where the response contains no body. */
161
+ export const artifactExists = /*@__PURE__*/ API.make(() => ({
162
+ input: ArtifactExistsRequest,
163
+ output: ArtifactExistsResponse,
164
+ errors: [BadRequest, PaymentRequired, Forbidden, NotFound],
165
+ protocol: VercelProtocol,
166
+ retry: Retry.Retry,
167
+ }));
168
+ /** Query information about an artifact Query information about an array of artifacts. */
169
+ export const artifactQuery = /*@__PURE__*/ API.make(() => ({
170
+ input: ArtifactQueryRequest,
171
+ output: ArtifactQueryResponse,
172
+ errors: [BadRequest, PaymentRequired, Forbidden],
173
+ protocol: VercelProtocol,
174
+ retry: Retry.Retry,
175
+ }));
176
+ /** Delete all cache artifacts Deletes all cache artifacts stored for the authenticated team or user, clearing the Remote Cache. Subsequent builds will re-populate the cache. */
177
+ export const deleteAllArtifacts = /*@__PURE__*/ API.make(() => ({
178
+ input: DeleteAllArtifactsRequest,
179
+ output: DeleteAllArtifactsResponse,
180
+ errors: [BadRequest, Forbidden],
181
+ protocol: VercelProtocol,
182
+ retry: Retry.Retry,
183
+ }));
184
+ /** Download a cache artifact Downloads a cache artifact indentified by its `hash` specified on the request path. The artifact is downloaded as an octet-stream. The client should verify the content-length header and response body. */
185
+ export const downloadArtifact = /*@__PURE__*/ API.make(() => ({
186
+ input: DownloadArtifactRequest,
187
+ output: DownloadArtifactResponse,
188
+ errors: [BadRequest, PaymentRequired, Forbidden, NotFound],
189
+ protocol: VercelProtocol,
190
+ retry: Retry.Retry,
191
+ }));
192
+ /** Record an artifacts cache usage event Records an artifacts cache usage event. The body of this request is an array of cache usage events. The supported event types are `HIT` and `MISS`. The source is either `LOCAL` the cache event was on the users filesystem cache or `REMOTE` if the cache event is for a remote cache. When the event is a `HIT` the request also accepts a number `duration` which is the time taken to generate the artifact in the cache. */
193
+ export const recordEvents = /*@__PURE__*/ API.make(() => ({
194
+ input: RecordEventsRequest,
195
+ output: RecordEventsResponse,
196
+ errors: [BadRequest, PaymentRequired, Forbidden],
197
+ protocol: VercelProtocol,
198
+ retry: Retry.Retry,
199
+ }));
200
+ /** Get status of Remote Caching for this principal Check the status of Remote Caching for this principal. Returns a JSON-encoded status indicating if Remote Caching is enabled, disabled, or disabled due to usage limits. */
201
+ export const status = /*@__PURE__*/ API.make(() => ({
202
+ input: StatusRequest,
203
+ output: StatusResponse,
204
+ errors: [BadRequest, PaymentRequired, Forbidden],
205
+ protocol: VercelProtocol,
206
+ retry: Retry.Retry,
207
+ }));
208
+ /** Upload a cache artifact Uploads a cache artifact identified by the `hash` specified on the path. The cache artifact can then be downloaded with the provided `hash`. */
209
+ export const uploadArtifact = /*@__PURE__*/ API.make(() => ({
210
+ input: UploadArtifactRequest,
211
+ output: UploadArtifactResponse,
212
+ errors: [BadRequest, PaymentRequired, Forbidden],
213
+ protocol: VercelProtocol,
214
+ retry: Retry.Retry,
215
+ }));
216
+ //# sourceMappingURL=artifacts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"artifacts.js","sourceRoot":"","sources":["../../src/services/artifacts.ts"],"names":[],"mappings":"AAAA,iGAAiG;AACjG,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAClD,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AACjD,OAAO,KAAK,CAAC,MAAM,gCAAgC,CAAC;AACpD,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EACL,cAAc,GAGf,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,KAAK,MAAM,aAAa,CAAC;AAIrC,MAAM,OAAO,UACX,SAAQ,aAAa,CAAb,aAAa,CAAC,CAAC,CAAC,kBAAkB;AACxC,aAAa,CAAC,CAAC,CAAC,WAAW,EAAc,CAAC,YAAY,EAAE;IACtD,IAAI,EAAE,CAAC,CAAC,MAAM;IACd,OAAO,EAAE,CAAC,CAAC,MAAM;CAClB,CAAC,CAAC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