@superwall/cli 1.1.1 → 1.2.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.
- package/README.md +31 -0
- package/dist/{actions-I5gVO5jN.js → actions-DYQTxMXS.js} +2 -2
- package/dist/{api-emImQnVy.js → api-B2Zsf08U.js} +3 -3
- package/dist/{app-DE9lxNNV.js → app-rYAP19Jo.js} +6 -6
- package/dist/asa-DlM6dlPD.js +1194 -0
- package/dist/{asc-DYc_Yo9e.js → asc-D6qBCfuj.js} +4 -4
- package/dist/{auth-Bir_Un8l.js → auth-BEnVvJlK.js} +6 -6
- package/dist/{billing-CW0diI2X.js → billing-DO-gNWvW.js} +1 -1
- package/dist/{bind-DO11eXrR.js → bind-KZhPLTdC.js} +1 -1
- package/dist/{command-CmJMNVVz.js → command-B12qooZb.js} +17 -13
- package/dist/{create-CwDgWW16.js → create-BTEvRC1X.js} +12 -12
- package/dist/{dev-OnmMOsgK.js → dev-CwfCGm36.js} +12 -12
- package/dist/{doctor-CpYkDfdC.js → doctor-DIxs8i8A.js} +7 -7
- package/dist/{drivers-Cweb9bWA.js → drivers-D6Ka26e2.js} +2 -2
- package/dist/entry.js +221 -25
- package/dist/{existing-p-hX-Nxc.js → existing-CECenoHS.js} +2 -2
- package/dist/{feedback-CV4JnRuk.js → feedback-CV2coV73.js} +3 -3
- package/dist/{git-BrTxQ7ui.js → git-CCJwXufi.js} +3 -3
- package/dist/{hosted-CbNJSJAC.js → hosted-BCwzTTEw.js} +1 -1
- package/dist/{integrate-DOLvHr1D.js → integrate-Bhq0wkU0.js} +16 -16
- package/dist/{login-B7fSpJKc.js → login-D5TjqsXJ.js} +1 -1
- package/dist/{migrate-Bn5btm_H.js → migrate-Cz7VqQNj.js} +14 -14
- package/dist/{pipeline-COr4sB6U.js → pipeline-ChRDxU9b.js} +4 -78
- package/dist/{print-skill-D0j2D6tw.js → print-skill-BPePCjy4.js} +5 -5
- package/dist/{promote-UmKZySRx.js → promote-C54bfsg3.js} +12 -12
- package/dist/{publish-BVnG2UOU.js → publish-NUNSIKri.js} +12 -12
- package/dist/{push-hHtVTZ1m.js → push-BjEpY9-h.js} +12 -12
- package/dist/{query-CbGfXmKu.js → query-CXjrBFow.js} +3 -3
- package/dist/{resource-m6yz1jwE.js → resource-CM2bIB5v.js} +7 -7
- package/dist/{run-BTLaOoKK.js → run-CAIDPbwe.js} +2 -2
- package/dist/{scan-BfoeYW1v.js → scan-BrikLKx5.js} +1 -1
- package/dist/{skills-HlIKA9xR.js → skills-BwXcAVIf.js} +1 -1
- package/dist/{skills-C4Yzl64N.js → skills-_TULXe09.js} +4 -4
- package/dist/{telemetry-CLi7mjDP.js → telemetry-CpIXSAbQ.js} +1 -1
- package/dist/{update-CxP4fmMe.js → update-BdcpwRu_.js} +1 -1
- package/dist/{upgrade-Cbh-7q_o.js → upgrade-BNPbzr5V.js} +3 -3
- package/package.json +2 -1
- /package/dist/{asc-products-YQ6Oc6YO.js → asc-products-C6MvSy8H.js} +0 -0
- /package/dist/{storekit-Ddvs4Ynw.js → storekit-DPonXSwe.js} +0 -0
package/README.md
CHANGED
|
@@ -292,6 +292,37 @@ and the validation, an agent can build and manage your whole ASC catalog —
|
|
|
292
292
|
groups, subscriptions, prices, introductory offers — without ever memorizing the
|
|
293
293
|
API or eating a silent rejection.
|
|
294
294
|
|
|
295
|
+
## Apple Search Ads
|
|
296
|
+
|
|
297
|
+
The **entire** Apple Ads Campaign Management API (v5), proxied by Superwall —
|
|
298
|
+
no client secret, OAuth token, or org id to manage locally. It uses the
|
|
299
|
+
credentials you connect in the dashboard (app → Integrations → Apple Search
|
|
300
|
+
Ads → Advanced); the CLI finds the connected app on its own, or takes
|
|
301
|
+
`--app <id>`.
|
|
302
|
+
|
|
303
|
+
```bash
|
|
304
|
+
superwall asa campaigns list
|
|
305
|
+
superwall asa campaigns find --field status --op EQUALS --values ENABLED --all
|
|
306
|
+
superwall asa keywords create --campaign 123 --adgroup 456 \
|
|
307
|
+
--text "grammar checker" --match-type EXACT --bid 1.25
|
|
308
|
+
superwall asa reports campaigns --start 2025-01-01 --end 2025-01-31 --group-by countryOrRegion
|
|
309
|
+
```
|
|
310
|
+
|
|
311
|
+
Every resource follows the same shape — `asa <resource> <action> [id]`, scoped
|
|
312
|
+
with `--campaign` / `--adgroup` / `--adam-id` — and the catalog is the
|
|
313
|
+
documentation:
|
|
314
|
+
|
|
315
|
+
```bash
|
|
316
|
+
superwall asa docs # every endpoint, grouped
|
|
317
|
+
superwall asa docs keywords # one resource: usage, flags, Apple links
|
|
318
|
+
superwall asa docs campaigns create # Apple's own page: fields, enums, examples
|
|
319
|
+
```
|
|
320
|
+
|
|
321
|
+
Writes take typed flags (money flags pick up the account's currency),
|
|
322
|
+
`-d key=value` for any other field, or `--body` for the whole payload. Anything
|
|
323
|
+
not covered is `asa get|post|put|delete /path`, sent straight to Apple with
|
|
324
|
+
your access token and org context attached.
|
|
325
|
+
|
|
295
326
|
## For agents and scripts
|
|
296
327
|
|
|
297
328
|
Pass `--json` to any command: stable output shape, structured errors, never
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as Integration } from "./telemetry-
|
|
2
|
-
import { i as loadBundledSkill } from "./skills-
|
|
1
|
+
import { T as Integration } from "./telemetry-CpIXSAbQ.js";
|
|
2
|
+
import { i as loadBundledSkill } from "./skills-BwXcAVIf.js";
|
|
3
3
|
|
|
4
4
|
//#region src/core/agent/actions.ts
|
|
5
5
|
/** Skill reference file per framework, so an agent only sees its own platform's docs. */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./telemetry-
|
|
1
|
+
import "./telemetry-CpIXSAbQ.js";
|
|
2
2
|
import "./json-C3hPIMkI.js";
|
|
3
|
-
import "./update-
|
|
3
|
+
import "./update-BdcpwRu_.js";
|
|
4
4
|
import "./token-DHRH8cxi.js";
|
|
5
|
-
import { t as defineCommand } from "./command-
|
|
5
|
+
import { t as defineCommand } from "./command-B12qooZb.js";
|
|
6
6
|
import "./ui-C4ncRJqd.js";
|
|
7
7
|
import { C as rowName, h as listResource, m as listProjects, p as listOrganizations, w as titleCase, y as platformLabel } from "./resources-CVrWwA1K.js";
|
|
8
8
|
import { t as parseParams } from "./params-Bvq0iqQK.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { i as loadSession, r as clearSession } from "./token-DHRH8cxi.js";
|
|
2
|
-
import { r as SuperwallApi } from "./command-
|
|
2
|
+
import { r as SuperwallApi } from "./command-B12qooZb.js";
|
|
3
3
|
import { n as ui } from "./ui-C4ncRJqd.js";
|
|
4
|
-
import { n as performLogin, r as onboardingHooks } from "./login-
|
|
5
|
-
import { i as SUPPORTED_LABEL, t as scanProject } from "./scan-
|
|
6
|
-
import { r as getHostedStatus } from "./hosted-
|
|
4
|
+
import { n as performLogin, r as onboardingHooks } from "./login-D5TjqsXJ.js";
|
|
5
|
+
import { i as SUPPORTED_LABEL, t as scanProject } from "./scan-BrikLKx5.js";
|
|
6
|
+
import { r as getHostedStatus } from "./hosted-BCwzTTEw.js";
|
|
7
7
|
import { t as withSpinner } from "./spinner-gOxIMz-V.js";
|
|
8
|
-
import { n as resolveAppBinding, r as resolveScopeFromKey, t as platformForIntegration } from "./bind-
|
|
9
|
-
import { t as ACTIONS } from "./actions-
|
|
8
|
+
import { n as resolveAppBinding, r as resolveScopeFromKey, t as platformForIntegration } from "./bind-KZhPLTdC.js";
|
|
9
|
+
import { t as ACTIONS } from "./actions-DYQTxMXS.js";
|
|
10
10
|
|
|
11
11
|
//#region src/commands/workflow/integrate/app.ts
|
|
12
12
|
async function performLoginWithUi(app, onProvisioned) {
|