@run402/sdk 1.51.1 → 1.53.0

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.
@@ -1,26 +1,19 @@
1
1
  /**
2
2
  * `sites` namespace — static site deployments.
3
3
  *
4
- * As of v1.32 the inline-bytes deploy path (`POST /deployments/v1` with
5
- * base64 file blobs) is REMOVED at the gateway (returns 410 Gone). Callers
6
- * migrate to `NodeSites.deployDir` from `@run402/sdk/node`, which uses the
7
- * plan/commit transport over `/deploy/v1/plan` + `/deploy/v1/commit`.
4
+ * As of v1.34 every static-site deploy flows through the unified
5
+ * {@link Deploy.apply} primitive. The legacy isomorphic surface is empty
6
+ * here; the Node-only `deployDir` convenience lives in
7
+ * {@link "../node/sites-node".NodeSites}.
8
8
  *
9
- * The isomorphic surface keeps only the public read-only `getDeployment`
10
- * call. `SiteFile` is preserved for `apps.bundleDeploy` (separate `/deploy/v1`
11
- * endpoint, unaffected by the v1.32 cutover).
9
+ * `SiteFile` is preserved for `apps.bundleDeploy` callers that still pass
10
+ * inline file bytes; the bundle shim translates these into a v2
11
+ * {@link ReleaseSpec} before dispatching.
12
12
  */
13
13
  export class Sites {
14
14
  client;
15
15
  constructor(client) {
16
16
  this.client = client;
17
17
  }
18
- /** Get deployment metadata by id. Public — no project auth. */
19
- async getDeployment(deploymentId) {
20
- return this.client.request(`/deployments/v1/${deploymentId}`, {
21
- context: "fetching deployment",
22
- withAuth: false,
23
- });
24
- }
25
18
  }
26
19
  //# sourceMappingURL=sites.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sites.js","sourceRoot":"","sources":["../../src/namespaces/sites.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AA+BH,MAAM,OAAO,KAAK;IACa;IAA7B,YAA6B,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;IAAG,CAAC;IAE/C,+DAA+D;IAC/D,KAAK,CAAC,aAAa,CAAC,YAAoB;QACtC,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAiB,mBAAmB,YAAY,EAAE,EAAE;YAC5E,OAAO,EAAE,qBAAqB;YAC9B,QAAQ,EAAE,KAAK;SAChB,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"sites.js","sourceRoot":"","sources":["../../src/namespaces/sites.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAqBH,MAAM,OAAO,KAAK;IACa;IAA7B,YAA6B,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;IAAG,CAAC;CAChD"}
@@ -15,9 +15,9 @@
15
15
  * await r.sites.deployDir({ project: project.project_id, dir: "./my-site" });
16
16
  * ```
17
17
  *
18
- * `deployDir` uses the v1.32 plan/commit transport and only uploads the
19
- * bytes the gateway doesn't already have. Re-deploying an unchanged tree
20
- * issues no S3 PUTs.
18
+ * `deployDir` is a thin wrapper over `r.deploy.apply` bytes ride through
19
+ * the unified CAS substrate, so only files the gateway doesn't already have
20
+ * are uploaded. Re-deploying an unchanged tree issues no S3 PUTs.
21
21
  */
22
22
  import { Run402 } from "../index.js";
23
23
  import { NodeSites } from "./sites-node.js";
@@ -48,8 +48,7 @@ export type NodeRun402 = Omit<Run402, "sites"> & {
48
48
  * `@x402/fetch` when the allowance wallet has USDC balance.
49
49
  *
50
50
  * The returned instance's `sites` namespace is a {@link NodeSites}, which
51
- * adds a `deployDir({ dir })` helper on top of the isomorphic `deploy()`
52
- * and `getDeployment()` methods.
51
+ * exposes the `deployDir({ dir })` helper.
53
52
  */
54
53
  export declare function run402(opts?: NodeRun402Options): NodeRun402;
55
54
  export { NodeSites } from "./sites-node.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/node/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAGH,OAAO,EAAE,MAAM,EAAsB,MAAM,aAAa,CAAC;AAIzD,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE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AM,kBAAkB,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAEtE,OAAO,EACL,MAAM,EACN,WAAW,EACX,eAAe,EACf,eAAe,EACf,YAAY,EACZ,QAAQ,EACR,YAAY,EACZ,UAAU,EACV,iBAAiB,EACjB,MAAM,EACN,KAAK,GACN,MAAM,aAAa,CAAC;AACrB,YAAY,EACV,aAAa,EACb,mBAAmB,EACnB,WAAW,EACX,cAAc,EACd,MAAM,EACN,qBAAqB,EACrB,oBAAoB,EACpB,YAAY,EACZ,cAAc,EACd,YAAY,EACZ,UAAU,EACV,aAAa,EACb,YAAY,EACZ,UAAU,EACV,WAAW,EACX,eAAe,EACf,YAAY,EACZ,cAAc,EACd,OAAO,EACP,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,aAAa,EACb,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,mBAAmB,EACnB,WAAW,EACX,YAAY,EACZ,WAAW,EACX,SAAS,EACT,WAAW,EACX,QAAQ,EACR,UAAU,EACV,YAAY,EACZ,cAAc,GACf,MAAM,aAAa,CAAC"}
@@ -15,9 +15,9 @@
15
15
  * await r.sites.deployDir({ project: project.project_id, dir: "./my-site" });
16
16
  * ```
17
17
  *
18
- * `deployDir` uses the v1.32 plan/commit transport and only uploads the
19
- * bytes the gateway doesn't already have. Re-deploying an unchanged tree
20
- * issues no S3 PUTs.
18
+ * `deployDir` is a thin wrapper over `r.deploy.apply` bytes ride through
19
+ * the unified CAS substrate, so only files the gateway doesn't already have
20
+ * are uploaded. Re-deploying an unchanged tree issues no S3 PUTs.
21
21
  */
22
22
  import { getApiBase } from "../../core-dist/config.js";
23
23
  import { Run402 } from "../index.js";
@@ -32,8 +32,7 @@ import { NodeSites } from "./sites-node.js";
32
32
  * `@x402/fetch` when the allowance wallet has USDC balance.
33
33
  *
34
34
  * The returned instance's `sites` namespace is a {@link NodeSites}, which
35
- * adds a `deployDir({ dir })` helper on top of the isomorphic `deploy()`
36
- * and `getDeployment()` methods.
35
+ * exposes the `deployDir({ dir })` helper.
37
36
  */
38
37
  export function run402(opts = {}) {
39
38
  const runOpts = {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/node/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,MAAM,EAAsB,MAAM,aAAa,CAAC;AAEzD,OAAO,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAqB5C;;;;;;;;;;GAUG;AACH,MAAM,UAAU,MAAM,CAAC,OAA0B,EAAE;IACjD,MAAM,OAAO,GAAkB;QAC7B,OAAO,EAAE,IAAI,CAAC,OAAO,IAAI,UAAU,EAAE;QACrC,WAAW,EAAE,IAAI,uBAAuB,CAAC;YACvC,aAAa,EAAE,IAAI,CAAC,aAAa;YACjC,YAAY,EAAE,IAAI,CAAC,YAAY;SAChC,CAAC;QACF,KAAK,EACH,IAAI,CAAC,KAAK;YACV,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,mBAAmB,EAAE,CAAC;KACtF,CAAC;IACF,MAAM,IAAI,GAAG,IAAI,MAAM,CAAC,OAAO,CAAC,CAAC;IAEjC,yEAAyE;IACzE,0EAA0E;IAC1E,4EAA4E;IAC5E,2EAA2E;IAC3E,MAAM,MAAM,GAAI,IAAI,CAAC,KAAuC,CAAC,MAAM,CAAC;IACnE,IAAwC,CAAC,KAAK,GAAG,IAAI,SAAS,CAAC,MAAM,CAAC,CAAC;IAExE,OAAO,IAA6B,CAAC;AACvC,CAAC;AAED,OAAO,EAAE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AI,MAAM,CAAC,OAAO,CAAC,CAAC;IAEjC,yEAAyE;IACzE,0EAA0E;IAC1E,4EAA4E;IAC5E,2EAA2E;IAC3E,MAAM,MAAM,GAAI,IAAI,CAAC,KAAuC,CAAC,MAAM,CAAC;IACnE,IAAwC,CAAC,KAAK,GAAG,IAAI,SAAS,CAAC,MAAM,CAAC,CAAC;IAExE,OAAO,IAA6B,CAAC;AACvC,CAAC;AAED,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACtE,6EAA6E;AAC7E,OAAO,EACL,MAAM,EACN,WAAW,EACX,eAAe,EACf,eAAe,EACf,YAAY,EACZ,QAAQ,EACR,YAAY,EACZ,UAAU,EACV,iBAAiB,EACjB,MAAM,EACN,KAAK,GACN,MAAM,aAAa,CAAC"}
@@ -0,0 +1,248 @@
1
+ /**
2
+ * Project-scoped sub-client. `ScopedRun402` wraps the SDK's project-id-bearing
3
+ * namespaces with the id pre-bound, so callers don't have to thread the id
4
+ * through every call.
5
+ *
6
+ * Construct via `r.project(id?)` — see the JSDoc on
7
+ * {@link Run402.project} for the resolution rule (explicit arg vs. fallback to
8
+ * the credential provider's active-project state).
9
+ *
10
+ * Methods that take an options object containing `project_id`/`project`
11
+ * (deploy, subdomains, domains) honour a caller-supplied value over the scoped
12
+ * id, so a scoped client can still address a different project ad-hoc.
13
+ *
14
+ * Methods that don't take a project id (e.g. `projects.list(wallet)`,
15
+ * `projects.getQuote()`, `projects.active()`, `apps.browse(tags?)`,
16
+ * `ai.generateImage(opts)`, etc.) pass through unchanged.
17
+ */
18
+ import type { Client } from "./kernel.js";
19
+ import type { Run402 } from "./index.js";
20
+ import type { ProjectKeys } from "./credentials.js";
21
+ import type { ListProjectsResult, PinResult, ProjectInfo, QuoteResult, SchemaReport, UsageReport } from "./namespaces/projects.types.js";
22
+ import type { AppDetails, BrowseAppsResult, BundleDeployOptions, BundleDeployResult, ForkAppOptions, ForkAppResult, ListVersionsResult, PublishAppOptions, PublishedVersion, UpdateVersionOptions } from "./namespaces/apps.js";
23
+ import type { AiUsageResult, GenerateImageOptions, GenerateImageResult, ModerateResult, TranslateOptions, TranslateResult } from "./namespaces/ai.js";
24
+ import type { AuthSettings, MagicLinkOptions, MagicLinkVerifyResult, SetPasswordOptions } from "./namespaces/auth.js";
25
+ import type { BlobDiagnoseEnvelope, BlobLsOptions, BlobLsResult, BlobPutOptions, BlobPutResult, BlobPutSource, BlobSignOptions, BlobSignResult, BlobWaitFreshOptions, BlobWaitFreshResult } from "./namespaces/blobs.types.js";
26
+ import type { ContractCallOptions, ContractReadOptions, ProvisionWalletOptions } from "./namespaces/contracts.js";
27
+ import type { CustomDomainAddResult, CustomDomainListResult, CustomDomainStatusResult } from "./namespaces/domains.js";
28
+ import type { CreateMailboxResult, EmailDetail, EmailSummary, ListEmailsOptions, MailboxInfo, MailboxWebhookSummary, MailboxWebhooksResult, RawEmailResult, RegisterWebhookOptions, SendEmailOptions, SendEmailResult, UpdateWebhookOptions } from "./namespaces/email.js";
29
+ import type { FunctionDeployOptions, FunctionDeployResult, FunctionInvokeOptions, FunctionInvokeResult, FunctionListResult, FunctionLogsOptions, FunctionLogsResult, FunctionUpdateOptions, FunctionUpdateResult } from "./namespaces/functions.types.js";
30
+ import type { SecretListResult } from "./namespaces/secrets.js";
31
+ import type { InboundEnableResult, SenderDomainRegisterResult, SenderDomainStatusResult } from "./namespaces/sender-domain.js";
32
+ import type { SubdomainClaimOptions, SubdomainClaimResult, SubdomainSummary } from "./namespaces/subdomains.js";
33
+ import type { ApplyOptions, DeployEvent, DeployListResponse, DeployOperation, DeployResult, OperationSnapshot, PlanResponse, ReleaseSpec, StartOptions } from "./namespaces/deploy.types.js";
34
+ import type { ByteReader } from "./namespaces/deploy.js";
35
+ declare class ScopedProjects {
36
+ private readonly parent;
37
+ private readonly projectId;
38
+ constructor(parent: Run402, projectId: string);
39
+ delete(): Promise<void>;
40
+ getUsage(): Promise<UsageReport>;
41
+ getSchema(): Promise<SchemaReport>;
42
+ pin(): Promise<PinResult>;
43
+ info(): Promise<ProjectInfo>;
44
+ keys(): Promise<ProjectKeys>;
45
+ list(wallet?: string): Promise<ListProjectsResult>;
46
+ getQuote(): Promise<QuoteResult>;
47
+ active(): Promise<string | null>;
48
+ }
49
+ declare class ScopedApps {
50
+ private readonly parent;
51
+ private readonly projectId;
52
+ constructor(parent: Run402, projectId: string);
53
+ bundleDeploy(opts?: BundleDeployOptions): Promise<BundleDeployResult>;
54
+ publish(opts?: PublishAppOptions): Promise<PublishedVersion>;
55
+ listVersions(): Promise<ListVersionsResult>;
56
+ updateVersion(versionId: string, opts: UpdateVersionOptions): Promise<void>;
57
+ deleteVersion(versionId: string): Promise<void>;
58
+ browse(tags?: string[]): Promise<BrowseAppsResult>;
59
+ fork(opts: ForkAppOptions): Promise<ForkAppResult>;
60
+ getApp(versionId: string): Promise<AppDetails>;
61
+ }
62
+ declare class ScopedAi {
63
+ private readonly parent;
64
+ private readonly projectId;
65
+ constructor(parent: Run402, projectId: string);
66
+ translate(opts: TranslateOptions): Promise<TranslateResult>;
67
+ moderate(text: string): Promise<ModerateResult>;
68
+ usage(): Promise<AiUsageResult>;
69
+ generateImage(opts: GenerateImageOptions): Promise<GenerateImageResult>;
70
+ }
71
+ declare class ScopedAuth {
72
+ private readonly parent;
73
+ private readonly projectId;
74
+ constructor(parent: Run402, projectId: string);
75
+ requestMagicLink(opts: MagicLinkOptions): Promise<void>;
76
+ verifyMagicLink(token: string): Promise<MagicLinkVerifyResult>;
77
+ setUserPassword(opts: SetPasswordOptions): Promise<void>;
78
+ settings(settings: AuthSettings): Promise<void>;
79
+ promote(email: string): Promise<void>;
80
+ demote(email: string): Promise<void>;
81
+ }
82
+ declare class ScopedBlobs {
83
+ private readonly parent;
84
+ private readonly projectId;
85
+ constructor(parent: Run402, projectId: string);
86
+ put(key: string, source: BlobPutSource, opts?: BlobPutOptions): Promise<BlobPutResult>;
87
+ diagnoseUrl(url: string): Promise<BlobDiagnoseEnvelope>;
88
+ waitFresh(opts: BlobWaitFreshOptions): Promise<BlobWaitFreshResult>;
89
+ get(key: string): Promise<Response>;
90
+ ls(opts?: BlobLsOptions): Promise<BlobLsResult>;
91
+ rm(key: string): Promise<void>;
92
+ sign(key: string, opts?: BlobSignOptions): Promise<BlobSignResult>;
93
+ }
94
+ declare class ScopedContracts {
95
+ private readonly parent;
96
+ private readonly projectId;
97
+ constructor(parent: Run402, projectId: string);
98
+ provisionWallet(opts: ProvisionWalletOptions): Promise<unknown>;
99
+ getWallet(walletId: string): Promise<unknown>;
100
+ listWallets(): Promise<unknown>;
101
+ setRecovery(walletId: string, recoveryAddress: string | null): Promise<void>;
102
+ setLowBalanceAlert(walletId: string, thresholdWei: string): Promise<void>;
103
+ call(opts: ContractCallOptions): Promise<unknown>;
104
+ callStatus(callId: string): Promise<unknown>;
105
+ drain(walletId: string, destinationAddress: string): Promise<unknown>;
106
+ deleteWallet(walletId: string): Promise<unknown>;
107
+ read(opts: ContractReadOptions): Promise<unknown>;
108
+ }
109
+ declare class ScopedDeploy {
110
+ private readonly parent;
111
+ private readonly projectId;
112
+ constructor(parent: Run402, projectId: string);
113
+ apply(spec: Omit<ReleaseSpec, "project"> & {
114
+ project?: string;
115
+ }, opts?: ApplyOptions): Promise<DeployResult>;
116
+ start(spec: Omit<ReleaseSpec, "project"> & {
117
+ project?: string;
118
+ }, opts?: StartOptions): Promise<DeployOperation>;
119
+ plan(spec: Omit<ReleaseSpec, "project"> & {
120
+ project?: string;
121
+ }, opts?: {
122
+ idempotencyKey?: string;
123
+ }): Promise<{
124
+ plan: PlanResponse;
125
+ byteReaders: Map<string, ByteReader>;
126
+ }>;
127
+ upload(plan: PlanResponse, opts: {
128
+ project?: string;
129
+ byteReaders: Map<string, ByteReader>;
130
+ onEvent?: (event: DeployEvent) => void;
131
+ }): Promise<void>;
132
+ commit(planId: string, opts?: {
133
+ onEvent?: (event: DeployEvent) => void;
134
+ idempotencyKey?: string;
135
+ project?: string;
136
+ }): Promise<DeployResult>;
137
+ resume(operationId: string, opts?: {
138
+ onEvent?: (event: DeployEvent) => void;
139
+ project?: string;
140
+ }): Promise<DeployResult>;
141
+ status(operationId: string, opts?: {
142
+ project?: string;
143
+ }): Promise<OperationSnapshot>;
144
+ list(opts?: {
145
+ project?: string;
146
+ limit?: number;
147
+ }): Promise<DeployListResponse>;
148
+ events(operationId: string, opts?: {
149
+ project?: string;
150
+ }): Promise<import("./namespaces/deploy.types.js").DeployEventsResponse>;
151
+ getRelease(releaseId: string): Promise<unknown>;
152
+ diff(opts: {
153
+ from: string;
154
+ to: string;
155
+ }): Promise<unknown>;
156
+ private bindProject;
157
+ }
158
+ declare class ScopedDomains {
159
+ private readonly parent;
160
+ private readonly projectId;
161
+ constructor(parent: Run402, projectId: string);
162
+ add(domain: string, subdomainName: string): Promise<CustomDomainAddResult>;
163
+ list(): Promise<CustomDomainListResult>;
164
+ status(domain: string): Promise<CustomDomainStatusResult>;
165
+ remove(domain: string, opts?: {
166
+ projectId?: string;
167
+ }): Promise<void>;
168
+ }
169
+ declare class ScopedEmailWebhooks {
170
+ private readonly parent;
171
+ private readonly projectId;
172
+ constructor(parent: Run402, projectId: string);
173
+ register(opts: RegisterWebhookOptions): Promise<MailboxWebhookSummary>;
174
+ list(): Promise<MailboxWebhooksResult>;
175
+ get(webhookId: string): Promise<MailboxWebhookSummary>;
176
+ update(webhookId: string, opts: UpdateWebhookOptions): Promise<MailboxWebhookSummary>;
177
+ delete(webhookId: string): Promise<void>;
178
+ }
179
+ declare class ScopedEmail {
180
+ private readonly parent;
181
+ private readonly projectId;
182
+ readonly webhooks: ScopedEmailWebhooks;
183
+ constructor(parent: Run402, projectId: string);
184
+ createMailbox(slug: string): Promise<CreateMailboxResult | MailboxInfo>;
185
+ send(opts: SendEmailOptions): Promise<SendEmailResult>;
186
+ list(opts?: ListEmailsOptions): Promise<EmailSummary[]>;
187
+ get(messageId: string): Promise<EmailDetail>;
188
+ getRaw(messageId: string): Promise<RawEmailResult>;
189
+ getMailbox(): Promise<MailboxInfo>;
190
+ deleteMailbox(mailboxId?: string): Promise<void>;
191
+ }
192
+ declare class ScopedFunctions {
193
+ private readonly parent;
194
+ private readonly projectId;
195
+ constructor(parent: Run402, projectId: string);
196
+ deploy(opts: FunctionDeployOptions): Promise<FunctionDeployResult>;
197
+ invoke(name: string, opts?: FunctionInvokeOptions): Promise<FunctionInvokeResult>;
198
+ logs(name: string, opts?: FunctionLogsOptions): Promise<FunctionLogsResult>;
199
+ list(): Promise<FunctionListResult>;
200
+ delete(name: string): Promise<void>;
201
+ update(name: string, opts: FunctionUpdateOptions): Promise<FunctionUpdateResult>;
202
+ }
203
+ declare class ScopedSecrets {
204
+ private readonly parent;
205
+ private readonly projectId;
206
+ constructor(parent: Run402, projectId: string);
207
+ set(key: string, value: string): Promise<void>;
208
+ list(): Promise<SecretListResult>;
209
+ delete(key: string): Promise<void>;
210
+ }
211
+ declare class ScopedSenderDomain {
212
+ private readonly parent;
213
+ private readonly projectId;
214
+ constructor(parent: Run402, projectId: string);
215
+ register(domain: string): Promise<SenderDomainRegisterResult>;
216
+ status(): Promise<SenderDomainStatusResult>;
217
+ remove(): Promise<void>;
218
+ enableInbound(domain: string): Promise<InboundEnableResult>;
219
+ disableInbound(domain: string): Promise<void>;
220
+ }
221
+ declare class ScopedSubdomains {
222
+ private readonly parent;
223
+ private readonly projectId;
224
+ constructor(parent: Run402, projectId: string);
225
+ list(): Promise<SubdomainSummary[]>;
226
+ claim(name: string, deploymentId: string, opts?: SubdomainClaimOptions): Promise<SubdomainClaimResult>;
227
+ delete(name: string, opts?: SubdomainClaimOptions): Promise<void>;
228
+ }
229
+ export declare class ScopedRun402 {
230
+ /** Resolved project id this client is bound to. Read-only. */
231
+ readonly projectId: string;
232
+ readonly projects: ScopedProjects;
233
+ readonly apps: ScopedApps;
234
+ readonly ai: ScopedAi;
235
+ readonly auth: ScopedAuth;
236
+ readonly blobs: ScopedBlobs;
237
+ readonly contracts: ScopedContracts;
238
+ readonly deploy: ScopedDeploy;
239
+ readonly domains: ScopedDomains;
240
+ readonly email: ScopedEmail;
241
+ readonly functions: ScopedFunctions;
242
+ readonly secrets: ScopedSecrets;
243
+ readonly senderDomain: ScopedSenderDomain;
244
+ readonly subdomains: ScopedSubdomains;
245
+ constructor(parent: Run402, _client: Client, projectId: string);
246
+ }
247
+ export {};
248
+ //# sourceMappingURL=scoped.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scoped.d.ts","sourceRoot":"","sources":["../src/scoped.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AACzC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,KAAK,EACV,kBAAkB,EAClB,SAAS,EACT,WAAW,EACX,WAAW,EACX,YAAY,EACZ,WAAW,EACZ,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EACV,UAAU,EACV,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,EAClB,cAAc,EACd,aAAa,EACb,kBAAkB,EAClB,iBAAiB,EACjB,gBAAgB,EAChB,oBAAoB,EACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EACV,aAAa,EACb,oBAAoB,EACpB,mBAAmB,EACnB,cAAc,EACd,gBAAgB,EAChB,eAAe,EAChB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EACV,YAAY,EACZ,gBAAgB,EAChB,qBAAqB,EACrB,kBAAkB,EACnB,MAAM,sBAAsB,CAAC;AAC9B,OAA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