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

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 (246) hide show
  1. package/LICENSE +201 -0
  2. package/lib/credentials.d.ts +21 -0
  3. package/lib/credentials.d.ts.map +1 -0
  4. package/lib/credentials.js +40 -0
  5. package/lib/credentials.js.map +1 -0
  6. package/lib/errors.d.ts +80 -0
  7. package/lib/errors.d.ts.map +1 -0
  8. package/lib/errors.js +50 -0
  9. package/lib/errors.js.map +1 -0
  10. package/lib/index.d.ts +15 -0
  11. package/lib/index.d.ts.map +1 -0
  12. package/lib/index.js +15 -0
  13. package/lib/index.js.map +1 -0
  14. package/lib/protocol.d.ts +18 -0
  15. package/lib/protocol.d.ts.map +1 -0
  16. package/lib/protocol.js +69 -0
  17. package/lib/protocol.js.map +1 -0
  18. package/lib/retry.d.ts +54 -0
  19. package/lib/retry.d.ts.map +1 -0
  20. package/lib/retry.js +47 -0
  21. package/lib/retry.js.map +1 -0
  22. package/lib/services/access_groups.d.ts +459 -0
  23. package/lib/services/access_groups.d.ts.map +1 -0
  24. package/lib/services/access_groups.js +449 -0
  25. package/lib/services/access_groups.js.map +1 -0
  26. package/lib/services/ai_gateway.d.ts +122 -0
  27. package/lib/services/ai_gateway.d.ts.map +1 -0
  28. package/lib/services/ai_gateway.js +125 -0
  29. package/lib/services/ai_gateway.js.map +1 -0
  30. package/lib/services/aliases.d.ts +591 -0
  31. package/lib/services/aliases.d.ts.map +1 -0
  32. package/lib/services/aliases.js +482 -0
  33. package/lib/services/aliases.js.map +1 -0
  34. package/lib/services/api_ai_gateway.d.ts +275 -0
  35. package/lib/services/api_ai_gateway.d.ts.map +1 -0
  36. package/lib/services/api_ai_gateway.js +227 -0
  37. package/lib/services/api_ai_gateway.js.map +1 -0
  38. package/lib/services/artifacts.d.ts +228 -0
  39. package/lib/services/artifacts.d.ts.map +1 -0
  40. package/lib/services/artifacts.js +214 -0
  41. package/lib/services/artifacts.js.map +1 -0
  42. package/lib/services/authentication.d.ts +373 -0
  43. package/lib/services/authentication.d.ts.map +1 -0
  44. package/lib/services/authentication.js +304 -0
  45. package/lib/services/authentication.js.map +1 -0
  46. package/lib/services/billing.d.ts +930 -0
  47. package/lib/services/billing.d.ts.map +1 -0
  48. package/lib/services/billing.js +695 -0
  49. package/lib/services/billing.js.map +1 -0
  50. package/lib/services/bulk_redirects.d.ts +308 -0
  51. package/lib/services/bulk_redirects.d.ts.map +1 -0
  52. package/lib/services/bulk_redirects.js +302 -0
  53. package/lib/services/bulk_redirects.js.map +1 -0
  54. package/lib/services/certs.d.ts +171 -0
  55. package/lib/services/certs.d.ts.map +1 -0
  56. package/lib/services/certs.js +163 -0
  57. package/lib/services/certs.js.map +1 -0
  58. package/lib/services/checks_v2.d.ts +1167 -0
  59. package/lib/services/checks_v2.d.ts.map +1 -0
  60. package/lib/services/checks_v2.js +1141 -0
  61. package/lib/services/checks_v2.js.map +1 -0
  62. package/lib/services/connect.d.ts +2228 -0
  63. package/lib/services/connect.d.ts.map +1 -0
  64. package/lib/services/connect.js +1575 -0
  65. package/lib/services/connect.js.map +1 -0
  66. package/lib/services/deployments.d.ts +9419 -0
  67. package/lib/services/deployments.d.ts.map +1 -0
  68. package/lib/services/deployments.js +8248 -0
  69. package/lib/services/deployments.js.map +1 -0
  70. package/lib/services/dns.d.ts +279 -0
  71. package/lib/services/dns.d.ts.map +1 -0
  72. package/lib/services/dns.js +277 -0
  73. package/lib/services/dns.js.map +1 -0
  74. package/lib/services/domains.d.ts +564 -0
  75. package/lib/services/domains.d.ts.map +1 -0
  76. package/lib/services/domains.js +469 -0
  77. package/lib/services/domains.js.map +1 -0
  78. package/lib/services/domains_registrar.d.ts +798 -0
  79. package/lib/services/domains_registrar.d.ts.map +1 -0
  80. package/lib/services/domains_registrar.js +916 -0
  81. package/lib/services/domains_registrar.js.map +1 -0
  82. package/lib/services/drains.d.ts +2263 -0
  83. package/lib/services/drains.d.ts.map +1 -0
  84. package/lib/services/drains.js +2121 -0
  85. package/lib/services/drains.js.map +1 -0
  86. package/lib/services/edge_cache.d.ts +125 -0
  87. package/lib/services/edge_cache.d.ts.map +1 -0
  88. package/lib/services/edge_cache.js +138 -0
  89. package/lib/services/edge_cache.js.map +1 -0
  90. package/lib/services/environment.d.ts +1020 -0
  91. package/lib/services/environment.d.ts.map +1 -0
  92. package/lib/services/environment.js +805 -0
  93. package/lib/services/environment.js.map +1 -0
  94. package/lib/services/feature_flags.d.ts +2893 -0
  95. package/lib/services/feature_flags.d.ts.map +1 -0
  96. package/lib/services/feature_flags.js +2707 -0
  97. package/lib/services/feature_flags.js.map +1 -0
  98. package/lib/services/global_config.d.ts +618 -0
  99. package/lib/services/global_config.d.ts.map +1 -0
  100. package/lib/services/global_config.js +709 -0
  101. package/lib/services/global_config.js.map +1 -0
  102. package/lib/services/index.d.ts +42 -0
  103. package/lib/services/index.d.ts.map +1 -0
  104. package/lib/services/index.js +43 -0
  105. package/lib/services/index.js.map +1 -0
  106. package/lib/services/integrations.d.ts +3014 -0
  107. package/lib/services/integrations.d.ts.map +1 -0
  108. package/lib/services/integrations.js +2544 -0
  109. package/lib/services/integrations.js.map +1 -0
  110. package/lib/services/kms.d.ts +1095 -0
  111. package/lib/services/kms.d.ts.map +1 -0
  112. package/lib/services/kms.js +956 -0
  113. package/lib/services/kms.js.map +1 -0
  114. package/lib/services/log_drains.d.ts +848 -0
  115. package/lib/services/log_drains.d.ts.map +1 -0
  116. package/lib/services/log_drains.js +782 -0
  117. package/lib/services/log_drains.js.map +1 -0
  118. package/lib/services/logs.d.ts +40 -0
  119. package/lib/services/logs.d.ts.map +1 -0
  120. package/lib/services/logs.js +43 -0
  121. package/lib/services/logs.js.map +1 -0
  122. package/lib/services/marketplace.d.ts +1053 -0
  123. package/lib/services/marketplace.d.ts.map +1 -0
  124. package/lib/services/marketplace.js +1116 -0
  125. package/lib/services/marketplace.js.map +1 -0
  126. package/lib/services/microfrontends.d.ts +3250 -0
  127. package/lib/services/microfrontends.d.ts.map +1 -0
  128. package/lib/services/microfrontends.js +3154 -0
  129. package/lib/services/microfrontends.js.map +1 -0
  130. package/lib/services/misc.d.ts +192 -0
  131. package/lib/services/misc.d.ts.map +1 -0
  132. package/lib/services/misc.js +124 -0
  133. package/lib/services/misc.js.map +1 -0
  134. package/lib/services/networking.d.ts +360 -0
  135. package/lib/services/networking.d.ts.map +1 -0
  136. package/lib/services/networking.js +353 -0
  137. package/lib/services/networking.js.map +1 -0
  138. package/lib/services/observability.d.ts +168 -0
  139. package/lib/services/observability.d.ts.map +1 -0
  140. package/lib/services/observability.js +190 -0
  141. package/lib/services/observability.js.map +1 -0
  142. package/lib/services/project_members.d.ts +142 -0
  143. package/lib/services/project_members.d.ts.map +1 -0
  144. package/lib/services/project_members.js +135 -0
  145. package/lib/services/project_members.js.map +1 -0
  146. package/lib/services/project_routes.d.ts +1990 -0
  147. package/lib/services/project_routes.d.ts.map +1 -0
  148. package/lib/services/project_routes.js +1883 -0
  149. package/lib/services/project_routes.js.map +1 -0
  150. package/lib/services/projects.d.ts +23677 -0
  151. package/lib/services/projects.d.ts.map +1 -0
  152. package/lib/services/projects.js +22223 -0
  153. package/lib/services/projects.js.map +1 -0
  154. package/lib/services/rolling_release.d.ts +764 -0
  155. package/lib/services/rolling_release.d.ts.map +1 -0
  156. package/lib/services/rolling_release.js +583 -0
  157. package/lib/services/rolling_release.js.map +1 -0
  158. package/lib/services/sandboxes.d.ts +2777 -0
  159. package/lib/services/sandboxes.d.ts.map +1 -0
  160. package/lib/services/sandboxes.js +2142 -0
  161. package/lib/services/sandboxes.js.map +1 -0
  162. package/lib/services/security.d.ts +4247 -0
  163. package/lib/services/security.d.ts.map +1 -0
  164. package/lib/services/security.js +4377 -0
  165. package/lib/services/security.js.map +1 -0
  166. package/lib/services/storage.d.ts +251 -0
  167. package/lib/services/storage.d.ts.map +1 -0
  168. package/lib/services/storage.js +257 -0
  169. package/lib/services/storage.js.map +1 -0
  170. package/lib/services/teams.d.ts +1600 -0
  171. package/lib/services/teams.d.ts.map +1 -0
  172. package/lib/services/teams.js +1314 -0
  173. package/lib/services/teams.js.map +1 -0
  174. package/lib/services/user.d.ts +8559 -0
  175. package/lib/services/user.d.ts.map +1 -0
  176. package/lib/services/user.js +7407 -0
  177. package/lib/services/user.js.map +1 -0
  178. package/lib/services/vcr.d.ts +751 -0
  179. package/lib/services/vcr.d.ts.map +1 -0
  180. package/lib/services/vcr.js +826 -0
  181. package/lib/services/vcr.js.map +1 -0
  182. package/lib/services/web_analytics.d.ts +726 -0
  183. package/lib/services/web_analytics.d.ts.map +1 -0
  184. package/lib/services/web_analytics.js +707 -0
  185. package/lib/services/web_analytics.js.map +1 -0
  186. package/lib/services/webhooks.d.ts +219 -0
  187. package/lib/services/webhooks.d.ts.map +1 -0
  188. package/lib/services/webhooks.js +177 -0
  189. package/lib/services/webhooks.js.map +1 -0
  190. package/lib/traits.d.ts +10 -0
  191. package/lib/traits.d.ts.map +1 -0
  192. package/lib/traits.js +11 -0
  193. package/lib/traits.js.map +1 -0
  194. package/package.json +78 -7
  195. package/src/credentials.ts +70 -0
  196. package/src/errors.ts +93 -0
  197. package/src/index.ts +18 -0
  198. package/src/protocol.ts +98 -0
  199. package/src/retry.ts +78 -0
  200. package/src/services/access_groups.ts +1165 -0
  201. package/src/services/ai_gateway.ts +267 -0
  202. package/src/services/aliases.ts +1315 -0
  203. package/src/services/api_ai_gateway.ts +607 -0
  204. package/src/services/artifacts.ts +542 -0
  205. package/src/services/authentication.ts +827 -0
  206. package/src/services/billing.ts +2104 -0
  207. package/src/services/bulk_redirects.ts +748 -0
  208. package/src/services/certs.ts +371 -0
  209. package/src/services/checks_v2.ts +3084 -0
  210. package/src/services/connect.ts +4805 -0
  211. package/src/services/deployments.ts +24576 -0
  212. package/src/services/dns.ts +715 -0
  213. package/src/services/domains.ts +1257 -0
  214. package/src/services/domains_registrar.ts +2257 -0
  215. package/src/services/drains.ts +5828 -0
  216. package/src/services/edge_cache.ts +303 -0
  217. package/src/services/environment.ts +2379 -0
  218. package/src/services/feature_flags.ts +7722 -0
  219. package/src/services/global_config.ts +1668 -0
  220. package/src/services/index.ts +42 -0
  221. package/src/services/integrations.ts +9022 -0
  222. package/src/services/kms.ts +2614 -0
  223. package/src/services/log_drains.ts +2434 -0
  224. package/src/services/logs.ts +78 -0
  225. package/src/services/marketplace.ts +2849 -0
  226. package/src/services/microfrontends.ts +9921 -0
  227. package/src/services/misc.ts +364 -0
  228. package/src/services/networking.ts +865 -0
  229. package/src/services/observability.ts +435 -0
  230. package/src/services/project_members.ts +326 -0
  231. package/src/services/project_routes.ts +5229 -0
  232. package/src/services/projects.ts +68139 -0
  233. package/src/services/rolling_release.ts +1860 -0
  234. package/src/services/sandboxes.ts +6988 -0
  235. package/src/services/security.ts +13931 -0
  236. package/src/services/storage.ts +850 -0
  237. package/src/services/teams.ts +4055 -0
  238. package/src/services/user.ts +23195 -0
  239. package/src/services/vcr.ts +2070 -0
  240. package/src/services/web_analytics.ts +1638 -0
  241. package/src/services/webhooks.ts +1102 -0
  242. package/src/traits.ts +46 -0
  243. package/README.md +0 -15
  244. package/bun.lock +0 -26
  245. package/index.ts +0 -1
  246. package/tsconfig.json +0 -29
@@ -0,0 +1,279 @@
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 Conflict_base: S.Class<Conflict, S.TaggedStruct<"Conflict", {
16
+ readonly code: any;
17
+ readonly message: any;
18
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
19
+ "@distilled.cloud/error/categories": {
20
+ ConflictError: true;
21
+ };
22
+ });
23
+ export declare class Conflict extends /*@__PURE__*/ Conflict_base {
24
+ }
25
+ declare const Forbidden_base: S.Class<Forbidden, S.TaggedStruct<"Forbidden", {
26
+ readonly code: any;
27
+ readonly message: any;
28
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
29
+ "@distilled.cloud/error/categories": {
30
+ AuthError: true;
31
+ };
32
+ });
33
+ export declare class Forbidden extends /*@__PURE__*/ Forbidden_base {
34
+ }
35
+ declare const NotFound_base: S.Class<NotFound, S.TaggedStruct<"NotFound", {
36
+ readonly code: any;
37
+ readonly message: any;
38
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
39
+ "@distilled.cloud/error/categories": {
40
+ BadRequestError: true;
41
+ };
42
+ });
43
+ export declare class NotFound extends /*@__PURE__*/ NotFound_base {
44
+ }
45
+ declare const PaymentRequired_base: S.Class<PaymentRequired, S.TaggedStruct<"PaymentRequired", {
46
+ readonly code: any;
47
+ readonly message: any;
48
+ }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
49
+ "@distilled.cloud/error/categories": {
50
+ QuotaError: true;
51
+ };
52
+ });
53
+ export declare class PaymentRequired extends /*@__PURE__*/ PaymentRequired_base {
54
+ }
55
+ /** The type of record, it could be one of the valid DNS records. */
56
+ export type CreateRecordRequestType = "A" | "AAAA" | "ALIAS" | "CAA" | "CNAME" | "HTTPS" | "MX" | "SRV" | "TXT" | "NS";
57
+ export declare const CreateRecordRequestType: any;
58
+ export interface CreateRecordRequest {
59
+ /** The domain used to create the DNS record. */
60
+ domain: string;
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
+ /** The type of record, it could be one of the valid DNS records. */
66
+ type: CreateRecordRequestType | (string & {});
67
+ }
68
+ export declare const CreateRecordRequest: S.Schema<CreateRecordRequest>;
69
+ export interface CreateRecordResponseBodyCase0 {
70
+ uid?: string;
71
+ updated: number;
72
+ }
73
+ export declare const CreateRecordResponseBodyCase0: S.Schema<CreateRecordResponseBodyCase0>;
74
+ export interface CreateRecordResponseBodyCase1 {
75
+ /** The id of the newly created DNS record */
76
+ uid: string;
77
+ }
78
+ export declare const CreateRecordResponseBodyCase1: S.Schema<CreateRecordResponseBodyCase1>;
79
+ export type CreateRecordResponseBody = CreateRecordResponseBodyCase0 | CreateRecordResponseBodyCase1;
80
+ export declare const CreateRecordResponseBody: S.Schema<CreateRecordResponseBody>;
81
+ export type CreateRecordResponse = CreateRecordResponseBody;
82
+ export declare const CreateRecordResponse: S.Schema<CreateRecordResponse>;
83
+ export interface GetDomainsRecordRequest {
84
+ /** The unique ID of the DNS record */
85
+ recordId: string;
86
+ }
87
+ export declare const GetDomainsRecordRequest: S.Schema<GetDomainsRecordRequest>;
88
+ export type GetDomainsRecordResponseType = "A" | "AAAA" | "ALIAS" | "CAA" | "CNAME" | "HTTPS" | "MX" | "NS" | "SRV" | "TXT";
89
+ export declare const GetDomainsRecordResponseType: any;
90
+ export type GetDomainsRecordResponseRecordType = "A" | "AAAA" | "ALIAS" | "CAA" | "CNAME" | "HTTPS" | "MX" | "NS" | "SRV" | "TXT";
91
+ export declare const GetDomainsRecordResponseRecordType: any;
92
+ export interface GetDomainsRecordResponse {
93
+ type: GetDomainsRecordResponseType;
94
+ id: string;
95
+ name: string;
96
+ value: string;
97
+ creator: string;
98
+ domain: string;
99
+ ttl?: number;
100
+ comment?: string;
101
+ recordType: GetDomainsRecordResponseRecordType;
102
+ createdAt?: number | null;
103
+ }
104
+ export declare const GetDomainsRecordResponse: S.Schema<GetDomainsRecordResponse>;
105
+ export interface GetRecordsRequest {
106
+ domain: string;
107
+ /** Maximum number of records to list from a request. */
108
+ limit?: string;
109
+ /** Get records created after this JavaScript timestamp. */
110
+ since?: string;
111
+ /** Get records created before this JavaScript timestamp. */
112
+ until?: string;
113
+ /** The Team identifier to perform the request on behalf of. */
114
+ teamId?: string;
115
+ /** The Team slug to perform the request on behalf of. */
116
+ slug?: string;
117
+ }
118
+ export declare const GetRecordsRequest: S.Schema<GetRecordsRequest>;
119
+ export type GetRecordsResponseBodyCase1RecordsItemType = "A" | "AAAA" | "ALIAS" | "CAA" | "CNAME" | "HTTPS" | "MX" | "NS" | "SRV" | "TXT";
120
+ export declare const GetRecordsResponseBodyCase1RecordsItemType: any;
121
+ export interface GetRecordsResponseBodyCase1RecordsItem {
122
+ id: string;
123
+ slug: string;
124
+ name: string;
125
+ type: GetRecordsResponseBodyCase1RecordsItemType;
126
+ value: string;
127
+ mxPriority?: number;
128
+ priority?: number;
129
+ creator: string;
130
+ created: number | null;
131
+ updated: number | null;
132
+ createdAt: number | null;
133
+ updatedAt: number | null;
134
+ ttl?: number;
135
+ comment?: string;
136
+ }
137
+ export declare const GetRecordsResponseBodyCase1RecordsItem: S.Schema<GetRecordsResponseBodyCase1RecordsItem>;
138
+ export type GetRecordsResponseBodyCase1RecordsList = Array<GetRecordsResponseBodyCase1RecordsItem>;
139
+ export declare const GetRecordsResponseBodyCase1RecordsList: S.Schema<GetRecordsResponseBodyCase1RecordsList>;
140
+ export interface GetRecordsResponseBodyCase1 {
141
+ records: GetRecordsResponseBodyCase1RecordsList;
142
+ }
143
+ export declare const GetRecordsResponseBodyCase1: S.Schema<GetRecordsResponseBodyCase1>;
144
+ export type GetRecordsResponseBodyCase2RecordsItemType = "A" | "AAAA" | "ALIAS" | "CAA" | "CNAME" | "HTTPS" | "MX" | "NS" | "SRV" | "TXT";
145
+ export declare const GetRecordsResponseBodyCase2RecordsItemType: any;
146
+ export interface GetRecordsResponseBodyCase2RecordsItem {
147
+ id: string;
148
+ slug: string;
149
+ name: string;
150
+ type: GetRecordsResponseBodyCase2RecordsItemType;
151
+ value: string;
152
+ mxPriority?: number;
153
+ priority?: number;
154
+ creator: string;
155
+ created: number | null;
156
+ updated: number | null;
157
+ createdAt: number | null;
158
+ updatedAt: number | null;
159
+ ttl?: number;
160
+ comment?: string;
161
+ }
162
+ export declare const GetRecordsResponseBodyCase2RecordsItem: S.Schema<GetRecordsResponseBodyCase2RecordsItem>;
163
+ export type GetRecordsResponseBodyCase2RecordsList = Array<GetRecordsResponseBodyCase2RecordsItem>;
164
+ export declare const GetRecordsResponseBodyCase2RecordsList: S.Schema<GetRecordsResponseBodyCase2RecordsList>;
165
+ /** This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. */
166
+ export interface Pagination {
167
+ /** Amount of items in the current page. */
168
+ count: number;
169
+ /** Timestamp that must be used to request the next page. */
170
+ next: number | null;
171
+ /** Timestamp that must be used to request the previous page. */
172
+ prev: number | null;
173
+ }
174
+ export declare const Pagination: S.Schema<Pagination>;
175
+ /** Successful response retrieving a list of paginated DNS records. */
176
+ export interface GetRecordsResponseBodyCase2 {
177
+ records: GetRecordsResponseBodyCase2RecordsList;
178
+ pagination: Pagination;
179
+ }
180
+ export declare const GetRecordsResponseBodyCase2: S.Schema<GetRecordsResponseBodyCase2>;
181
+ export type GetRecordsResponseBody = string | GetRecordsResponseBodyCase1 | GetRecordsResponseBodyCase2;
182
+ export declare const GetRecordsResponseBody: S.Schema<GetRecordsResponseBody>;
183
+ export type GetRecordsResponse = GetRecordsResponseBody;
184
+ export declare const GetRecordsResponse: S.Schema<GetRecordsResponse>;
185
+ export interface RemoveRecordRequest {
186
+ domain: string;
187
+ recordId: string;
188
+ /** The Team identifier to perform the request on behalf of. */
189
+ teamId?: string;
190
+ /** The Team slug to perform the request on behalf of. */
191
+ slug?: string;
192
+ }
193
+ export declare const RemoveRecordRequest: S.Schema<RemoveRecordRequest>;
194
+ export type RemoveRecordResponse = unknown;
195
+ export declare const RemoveRecordResponse: S.Schema<RemoveRecordResponse>;
196
+ export interface ReplaceDomainsByDomainRecordsRequest {
197
+ /** The domain name */
198
+ domain: string;
199
+ }
200
+ export declare const ReplaceDomainsByDomainRecordsRequest: S.Schema<ReplaceDomainsByDomainRecordsRequest>;
201
+ export type ReplaceDomainsByDomainRecordsResponseRecordIdsList = Array<string>;
202
+ export declare const ReplaceDomainsByDomainRecordsResponseRecordIdsList: S.Schema<ReplaceDomainsByDomainRecordsResponseRecordIdsList>;
203
+ export interface ReplaceDomainsByDomainRecordsResponse {
204
+ recordIds: ReplaceDomainsByDomainRecordsResponseRecordIdsList;
205
+ }
206
+ export declare const ReplaceDomainsByDomainRecordsResponse: S.Schema<ReplaceDomainsByDomainRecordsResponse>;
207
+ /** The type of the DNS record */
208
+ export type UpdateRecordRequestType = "A" | "AAAA" | "ALIAS" | "CAA" | "CNAME" | "HTTPS" | "MX" | "SRV" | "TXT" | "NS";
209
+ export declare const UpdateRecordRequestType: any;
210
+ export interface UpdateRecordRequestSrv {
211
+ target: string | null;
212
+ weight: number | null;
213
+ port: number | null;
214
+ priority: number | null;
215
+ }
216
+ export declare const UpdateRecordRequestSrv: S.Schema<UpdateRecordRequestSrv>;
217
+ export interface UpdateRecordRequestHttps {
218
+ priority: number | null;
219
+ target: string | null;
220
+ params?: string | null;
221
+ }
222
+ export declare const UpdateRecordRequestHttps: S.Schema<UpdateRecordRequestHttps>;
223
+ export interface UpdateRecordRequest {
224
+ /** The id of the DNS record */
225
+ recordId: string;
226
+ /** The Team identifier to perform the request on behalf of. */
227
+ teamId?: string;
228
+ /** The Team slug to perform the request on behalf of. */
229
+ slug?: string;
230
+ /** The name of the DNS record */
231
+ name?: string | null;
232
+ /** The value of the DNS record */
233
+ value?: string | null;
234
+ /** The type of the DNS record */
235
+ type?: UpdateRecordRequestType | (string & {}) | null;
236
+ /** The Time to live (TTL) value of the DNS record */
237
+ ttl?: number | null;
238
+ /** The MX priority value of the DNS record */
239
+ mxPriority?: number | null;
240
+ srv?: UpdateRecordRequestSrv | null;
241
+ https?: UpdateRecordRequestHttps | null;
242
+ /** A comment to add context on what this DNS record is for */
243
+ comment?: string;
244
+ }
245
+ export declare const UpdateRecordRequest: S.Schema<UpdateRecordRequest>;
246
+ export type UpdateRecordResponseType = "record" | "record-sys";
247
+ export declare const UpdateRecordResponseType: any;
248
+ export type UpdateRecordResponseRecordType = "A" | "AAAA" | "ALIAS" | "CAA" | "CNAME" | "HTTPS" | "MX" | "NS" | "SRV" | "TXT";
249
+ export declare const UpdateRecordResponseRecordType: any;
250
+ export interface UpdateRecordResponse {
251
+ id: string;
252
+ name: string;
253
+ type: UpdateRecordResponseType;
254
+ value: string;
255
+ creator: string;
256
+ domain: string;
257
+ ttl?: number;
258
+ comment?: string;
259
+ recordType: UpdateRecordResponseRecordType;
260
+ createdAt?: number | null;
261
+ }
262
+ export declare const UpdateRecordResponse: S.Schema<UpdateRecordResponse>;
263
+ export type CreateRecordError = BadRequest | PaymentRequired | Forbidden | NotFound | Conflict | VercelOpError;
264
+ /** Create a DNS record Creates a DNS record for a domain. */
265
+ export declare const createRecord: API.OperationMethod<CreateRecordRequest, CreateRecordResponse, CreateRecordError, VercelOpContext>;
266
+ export type GetDomainsRecordError = BadRequest | Forbidden | NotFound | VercelOpError;
267
+ export declare const getDomainsRecord: API.OperationMethod<GetDomainsRecordRequest, GetDomainsRecordResponse, GetDomainsRecordError, VercelOpContext>;
268
+ export type GetRecordsError = BadRequest | Forbidden | NotFound | VercelOpError;
269
+ /** List existing DNS records Retrieves a list of DNS records created for a domain name. By default it returns 20 records if no limit is provided. The rest can be retrieved using the pagination options. */
270
+ export declare const getRecords: API.OperationMethod<GetRecordsRequest, GetRecordsResponse, GetRecordsError, VercelOpContext>;
271
+ export type RemoveRecordError = BadRequest | Forbidden | NotFound | VercelOpError;
272
+ /** Delete a DNS record Removes an existing DNS record from a domain name. */
273
+ export declare const removeRecord: API.OperationMethod<RemoveRecordRequest, RemoveRecordResponse, RemoveRecordError, VercelOpContext>;
274
+ export type ReplaceDomainsByDomainRecordsError = BadRequest | Forbidden | NotFound | Conflict | VercelOpError;
275
+ export declare const replaceDomainsByDomainRecords: API.OperationMethod<ReplaceDomainsByDomainRecordsRequest, ReplaceDomainsByDomainRecordsResponse, ReplaceDomainsByDomainRecordsError, VercelOpContext>;
276
+ export type UpdateRecordError = BadRequest | PaymentRequired | Forbidden | NotFound | Conflict | VercelOpError;
277
+ /** Update an existing DNS record Updates an existing DNS record for a domain name. */
278
+ export declare const updateRecord: API.OperationMethod<UpdateRecordRequest, UpdateRecordResponse, UpdateRecordError, VercelOpContext>;
279
+ //# sourceMappingURL=dns.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dns.d.ts","sourceRoot":"","sources":["../../src/services/dns.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,QACX,SAAQ,aAAa,CAAC,aAMrB;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,oEAAoE;AACpE,MAAM,MAAM,uBAAuB,GAC/B,GAAG,GACH,MAAM,GACN,OAAO,GACP,KAAK,GACL,OAAO,GACP,OAAO,GACP,IAAI,GACJ,KAAK,GACL,KAAK,GACL,IAAI,CAAC;AACT,eAAO,MAAM,uBAAuB,KAAW,CAAC;AAEhD,MAAM,WAAW,mBAAmB;IAClC,gDAAgD;IAChD,MAAM,EAAE,MAAM,CAAC;IACf,+DAA+D;IAC/D,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,yDAAyD;IACzD,IAAI,CAAC,EA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T,QAAQ,GACR,aAAa,CAAC;AAClB,6EAA6E;AAC7E,eAAO,MAAM,YAAY,EAAE,GAAG,CAAC,eAAe,CAC5C,mBAAmB,EACnB,oBAAoB,EACpB,iBAAiB,EACjB,eAAe,CAOd,CAAC;AAEJ,MAAM,MAAM,kCAAkC,GAC1C,UAAU,GACV,SAAS,GACT,QAAQ,GACR,QAAQ,GACR,aAAa,CAAC;AAClB,eAAO,MAAM,6BAA6B,EAAE,GAAG,CAAC,eAAe,CAC7D,oCAAoC,EACpC,qCAAqC,EACrC,kCAAkC,EAClC,eAAe,CAOd,CAAC;AAEJ,MAAM,MAAM,iBAAiB,GACzB,UAAU,GACV,eAAe,GACf,SAAS,GACT,QAAQ,GACR,QAAQ,GACR,aAAa,CAAC;AAClB,sFAAsF;AACtF,eAAO,MAAM,YAAY,EAAE,GAAG,CAAC,eAAe,CAC5C,mBAAmB,EACnB,oBAAoB,EACpB,iBAAiB,EACjB,eAAe,CAOd,CAAC"}
@@ -0,0 +1,277 @@
1
+ // AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-vercel/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 Conflict extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
15
+ /*@__PURE__*/ S.TaggedError()("Conflict", {
16
+ code: S.Number,
17
+ message: S.String,
18
+ }).pipe(C.withConflictError), [{ status: 409 }]) {
19
+ }
20
+ export class Forbidden extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
21
+ /*@__PURE__*/ S.TaggedError()("Forbidden", {
22
+ code: S.Number,
23
+ message: S.String,
24
+ }).pipe(C.withAuthError), [{ status: 403 }]) {
25
+ }
26
+ export class NotFound extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
27
+ /*@__PURE__*/ S.TaggedError()("NotFound", {
28
+ code: S.Number,
29
+ message: S.String,
30
+ }).pipe(C.withBadRequestError), [{ status: 404 }]) {
31
+ }
32
+ export class PaymentRequired extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
33
+ /*@__PURE__*/ S.TaggedError()("PaymentRequired", {
34
+ code: S.Number,
35
+ message: S.String,
36
+ }).pipe(C.withQuotaError), [{ status: 402 }]) {
37
+ }
38
+ export const CreateRecordRequestType = S.String;
39
+ export const CreateRecordRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
40
+ domain: S.String.pipe(T.Label()),
41
+ teamId: S.optional(S.String.pipe(T.Query())),
42
+ slug: S.optional(S.String.pipe(T.Query())),
43
+ type: CreateRecordRequestType,
44
+ }).pipe(T.Http({ method: "POST", uri: "/v2/domains/{domain}/records", code: 200 }))).annotate({
45
+ identifier: "CreateRecordRequest",
46
+ });
47
+ export const CreateRecordResponseBodyCase0 = /*@__PURE__*/ S.suspend(() => S.Struct({
48
+ uid: S.optional(S.String),
49
+ updated: S.Number,
50
+ })).annotate({
51
+ identifier: "CreateRecordResponseBodyCase0",
52
+ });
53
+ export const CreateRecordResponseBodyCase1 = /*@__PURE__*/ S.suspend(() => S.Struct({
54
+ uid: S.String,
55
+ })).annotate({
56
+ identifier: "CreateRecordResponseBodyCase1",
57
+ });
58
+ export const CreateRecordResponseBody = S.Unknown;
59
+ export const CreateRecordResponse = /*@__PURE__*/ S.suspend(() => CreateRecordResponseBody.pipe(T.RawResponseRoot())).annotate({
60
+ identifier: "CreateRecordResponse",
61
+ });
62
+ export const GetDomainsRecordRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
63
+ recordId: S.String.pipe(T.Label()),
64
+ }).pipe(T.Http({ method: "GET", uri: "/domains/records/{recordId}", code: 200 }))).annotate({
65
+ identifier: "GetDomainsRecordRequest",
66
+ });
67
+ export const GetDomainsRecordResponseType = S.String;
68
+ export const GetDomainsRecordResponseRecordType = S.String;
69
+ export const GetDomainsRecordResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
70
+ type: GetDomainsRecordResponseType,
71
+ id: S.String,
72
+ name: S.String,
73
+ value: S.String,
74
+ creator: S.String,
75
+ domain: S.String,
76
+ ttl: S.optional(S.Number),
77
+ comment: S.optional(S.String),
78
+ recordType: GetDomainsRecordResponseRecordType,
79
+ createdAt: S.optional(S.NullOr(S.Number)),
80
+ })).annotate({
81
+ identifier: "GetDomainsRecordResponse",
82
+ });
83
+ export const GetRecordsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
84
+ domain: S.String.pipe(T.Label()),
85
+ limit: S.optional(S.String.pipe(T.Query())),
86
+ since: S.optional(S.String.pipe(T.Query())),
87
+ until: S.optional(S.String.pipe(T.Query())),
88
+ teamId: S.optional(S.String.pipe(T.Query())),
89
+ slug: S.optional(S.String.pipe(T.Query())),
90
+ }).pipe(T.Http({ method: "GET", uri: "/v5/domains/{domain}/records", code: 200 }))).annotate({
91
+ identifier: "GetRecordsRequest",
92
+ });
93
+ export const GetRecordsResponseBodyCase1RecordsItemType = S.String;
94
+ export const GetRecordsResponseBodyCase1RecordsItem = /*@__PURE__*/ S.suspend(() => S.Struct({
95
+ id: S.String,
96
+ slug: S.String,
97
+ name: S.String,
98
+ type: GetRecordsResponseBodyCase1RecordsItemType,
99
+ value: S.String,
100
+ mxPriority: S.optional(S.Number),
101
+ priority: S.optional(S.Number),
102
+ creator: S.String,
103
+ created: S.NullOr(S.Number),
104
+ updated: S.NullOr(S.Number),
105
+ createdAt: S.NullOr(S.Number),
106
+ updatedAt: S.NullOr(S.Number),
107
+ ttl: S.optional(S.Number),
108
+ comment: S.optional(S.String),
109
+ })).annotate({
110
+ identifier: "GetRecordsResponseBodyCase1RecordsItem",
111
+ });
112
+ export const GetRecordsResponseBodyCase1RecordsList = /*@__PURE__*/ S.Array(GetRecordsResponseBodyCase1RecordsItem);
113
+ export const GetRecordsResponseBodyCase1 = /*@__PURE__*/ S.suspend(() => S.Struct({
114
+ records: GetRecordsResponseBodyCase1RecordsList,
115
+ })).annotate({
116
+ identifier: "GetRecordsResponseBodyCase1",
117
+ });
118
+ export const GetRecordsResponseBodyCase2RecordsItemType = S.String;
119
+ export const GetRecordsResponseBodyCase2RecordsItem = /*@__PURE__*/ S.suspend(() => S.Struct({
120
+ id: S.String,
121
+ slug: S.String,
122
+ name: S.String,
123
+ type: GetRecordsResponseBodyCase2RecordsItemType,
124
+ value: S.String,
125
+ mxPriority: S.optional(S.Number),
126
+ priority: S.optional(S.Number),
127
+ creator: S.String,
128
+ created: S.NullOr(S.Number),
129
+ updated: S.NullOr(S.Number),
130
+ createdAt: S.NullOr(S.Number),
131
+ updatedAt: S.NullOr(S.Number),
132
+ ttl: S.optional(S.Number),
133
+ comment: S.optional(S.String),
134
+ })).annotate({
135
+ identifier: "GetRecordsResponseBodyCase2RecordsItem",
136
+ });
137
+ export const GetRecordsResponseBodyCase2RecordsList = /*@__PURE__*/ S.Array(GetRecordsResponseBodyCase2RecordsItem);
138
+ export const Pagination = /*@__PURE__*/ S.suspend(() => S.Struct({
139
+ count: S.Number,
140
+ next: S.NullOr(S.Number),
141
+ prev: S.NullOr(S.Number),
142
+ })).annotate({ identifier: "Pagination" });
143
+ export const GetRecordsResponseBodyCase2 = /*@__PURE__*/ S.suspend(() => S.Struct({
144
+ records: GetRecordsResponseBodyCase2RecordsList,
145
+ pagination: Pagination,
146
+ })).annotate({
147
+ identifier: "GetRecordsResponseBodyCase2",
148
+ });
149
+ export const GetRecordsResponseBody = S.Unknown;
150
+ export const GetRecordsResponse = /*@__PURE__*/ S.suspend(() => GetRecordsResponseBody.pipe(T.RawResponseRoot())).annotate({
151
+ identifier: "GetRecordsResponse",
152
+ });
153
+ export const RemoveRecordRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
154
+ domain: S.String.pipe(T.Label()),
155
+ recordId: S.String.pipe(T.Label()),
156
+ teamId: S.optional(S.String.pipe(T.Query())),
157
+ slug: S.optional(S.String.pipe(T.Query())),
158
+ }).pipe(T.Http({
159
+ method: "DELETE",
160
+ uri: "/v2/domains/{domain}/records/{recordId}",
161
+ code: 200,
162
+ }))).annotate({
163
+ identifier: "RemoveRecordRequest",
164
+ });
165
+ export const RemoveRecordResponse = /*@__PURE__*/ S.suspend(() => S.Unknown.pipe(T.RawResponseRoot())).annotate({
166
+ identifier: "RemoveRecordResponse",
167
+ });
168
+ export const ReplaceDomainsByDomainRecordsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
169
+ domain: S.String.pipe(T.Label()),
170
+ }).pipe(T.Http({ method: "PUT", uri: "/domains/{domain}/records", code: 200 }))).annotate({
171
+ identifier: "ReplaceDomainsByDomainRecordsRequest",
172
+ });
173
+ export const ReplaceDomainsByDomainRecordsResponseRecordIdsList =
174
+ /*@__PURE__*/ S.Array(S.String);
175
+ export const ReplaceDomainsByDomainRecordsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
176
+ recordIds: ReplaceDomainsByDomainRecordsResponseRecordIdsList,
177
+ })).annotate({
178
+ identifier: "ReplaceDomainsByDomainRecordsResponse",
179
+ });
180
+ export const UpdateRecordRequestType = S.String;
181
+ export const UpdateRecordRequestSrv = /*@__PURE__*/ S.suspend(() => S.Struct({
182
+ target: S.NullOr(S.String),
183
+ weight: S.NullOr(S.Number),
184
+ port: S.NullOr(S.Number),
185
+ priority: S.NullOr(S.Number),
186
+ })).annotate({
187
+ identifier: "UpdateRecordRequestSrv",
188
+ });
189
+ export const UpdateRecordRequestHttps = /*@__PURE__*/ S.suspend(() => S.Struct({
190
+ priority: S.NullOr(S.Number),
191
+ target: S.NullOr(S.String),
192
+ params: S.optional(S.NullOr(S.String)),
193
+ })).annotate({
194
+ identifier: "UpdateRecordRequestHttps",
195
+ });
196
+ export const UpdateRecordRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
197
+ recordId: S.String.pipe(T.Label()),
198
+ teamId: S.optional(S.String.pipe(T.Query())),
199
+ slug: S.optional(S.String.pipe(T.Query())),
200
+ name: S.optional(S.NullOr(S.String)),
201
+ value: S.optional(S.NullOr(S.String)),
202
+ type: S.optional(S.NullOr(UpdateRecordRequestType)),
203
+ ttl: S.optional(S.NullOr(S.Number)),
204
+ mxPriority: S.optional(S.NullOr(S.Number)),
205
+ srv: S.optional(S.NullOr(UpdateRecordRequestSrv)),
206
+ https: S.optional(S.NullOr(UpdateRecordRequestHttps)),
207
+ comment: S.optional(S.String),
208
+ }).pipe(T.Http({
209
+ method: "PATCH",
210
+ uri: "/v1/domains/records/{recordId}",
211
+ code: 200,
212
+ }))).annotate({
213
+ identifier: "UpdateRecordRequest",
214
+ });
215
+ export const UpdateRecordResponseType = S.String;
216
+ export const UpdateRecordResponseRecordType = S.String;
217
+ export const UpdateRecordResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
218
+ id: S.String,
219
+ name: S.String,
220
+ type: UpdateRecordResponseType,
221
+ value: S.String,
222
+ creator: S.String,
223
+ domain: S.String,
224
+ ttl: S.optional(S.Number),
225
+ comment: S.optional(S.String),
226
+ recordType: UpdateRecordResponseRecordType,
227
+ createdAt: S.optional(S.NullOr(S.Number)),
228
+ })).annotate({
229
+ identifier: "UpdateRecordResponse",
230
+ });
231
+ /** Create a DNS record Creates a DNS record for a domain. */
232
+ export const createRecord = /*@__PURE__*/ API.make(() => ({
233
+ input: CreateRecordRequest,
234
+ output: CreateRecordResponse,
235
+ errors: [BadRequest, PaymentRequired, Forbidden, NotFound, Conflict],
236
+ protocol: VercelProtocol,
237
+ retry: Retry.Retry,
238
+ }));
239
+ export const getDomainsRecord = /*@__PURE__*/ API.make(() => ({
240
+ input: GetDomainsRecordRequest,
241
+ output: GetDomainsRecordResponse,
242
+ errors: [BadRequest, Forbidden, NotFound],
243
+ protocol: VercelProtocol,
244
+ retry: Retry.Retry,
245
+ }));
246
+ /** List existing DNS records Retrieves a list of DNS records created for a domain name. By default it returns 20 records if no limit is provided. The rest can be retrieved using the pagination options. */
247
+ export const getRecords = /*@__PURE__*/ API.make(() => ({
248
+ input: GetRecordsRequest,
249
+ output: GetRecordsResponse,
250
+ errors: [BadRequest, Forbidden, NotFound],
251
+ protocol: VercelProtocol,
252
+ retry: Retry.Retry,
253
+ }));
254
+ /** Delete a DNS record Removes an existing DNS record from a domain name. */
255
+ export const removeRecord = /*@__PURE__*/ API.make(() => ({
256
+ input: RemoveRecordRequest,
257
+ output: RemoveRecordResponse,
258
+ errors: [BadRequest, Forbidden, NotFound],
259
+ protocol: VercelProtocol,
260
+ retry: Retry.Retry,
261
+ }));
262
+ export const replaceDomainsByDomainRecords = /*@__PURE__*/ API.make(() => ({
263
+ input: ReplaceDomainsByDomainRecordsRequest,
264
+ output: ReplaceDomainsByDomainRecordsResponse,
265
+ errors: [BadRequest, Forbidden, NotFound, Conflict],
266
+ protocol: VercelProtocol,
267
+ retry: Retry.Retry,
268
+ }));
269
+ /** Update an existing DNS record Updates an existing DNS record for a domain name. */
270
+ export const updateRecord = /*@__PURE__*/ API.make(() => ({
271
+ input: UpdateRecordRequest,
272
+ output: UpdateRecordResponse,
273
+ errors: [BadRequest, PaymentRequired, Forbidden, NotFound, Conflict],
274
+ protocol: VercelProtocol,
275
+ retry: Retry.Retry,
276
+ }));
277
+ //# sourceMappingURL=dns.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dns.js","sourceRoot":"","sources":["../../src/services/dns.ts"],"names":[],"mappings":"AAAA,0HAA0H;AAC1H,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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