adapty 0.6.0-beta.0 → 0.6.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -656,156 +656,6 @@
656
656
  "whoami.js"
657
657
  ]
658
658
  },
659
- "flows:create": {
660
- "aliases": [],
661
- "args": {},
662
- "description": "Create a flow (row only — write its config with `flows config update`)",
663
- "examples": [
664
- "<%= config.bin %> flows create --app UUID --name \"Onboarding\""
665
- ],
666
- "flags": {
667
- "json": {
668
- "description": "Format output as json.",
669
- "helpGroup": "GLOBAL",
670
- "name": "json",
671
- "allowNo": false,
672
- "type": "boolean"
673
- },
674
- "app": {
675
- "description": "App ID (UUID)",
676
- "name": "app",
677
- "required": true,
678
- "hasDynamicHelp": false,
679
- "multiple": false,
680
- "type": "option"
681
- },
682
- "name": {
683
- "description": "Flow name",
684
- "name": "name",
685
- "required": true,
686
- "hasDynamicHelp": false,
687
- "multiple": false,
688
- "type": "option"
689
- }
690
- },
691
- "hasDynamicHelp": false,
692
- "hiddenAliases": [],
693
- "id": "flows:create",
694
- "pluginAlias": "adapty",
695
- "pluginName": "adapty",
696
- "pluginType": "core",
697
- "strict": true,
698
- "enableJsonFlag": true,
699
- "isESM": true,
700
- "relativePath": [
701
- "dist",
702
- "commands",
703
- "flows",
704
- "create.js"
705
- ]
706
- },
707
- "flows:get": {
708
- "aliases": [],
709
- "args": {
710
- "flow_id": {
711
- "description": "Flow ID (UUID)",
712
- "name": "flow_id",
713
- "required": true
714
- }
715
- },
716
- "description": "Get flow details",
717
- "examples": [
718
- "<%= config.bin %> flows get --app UUID 550e8400-e29b-41d4-a716-446655440000"
719
- ],
720
- "flags": {
721
- "json": {
722
- "description": "Format output as json.",
723
- "helpGroup": "GLOBAL",
724
- "name": "json",
725
- "allowNo": false,
726
- "type": "boolean"
727
- },
728
- "app": {
729
- "description": "App ID (UUID)",
730
- "name": "app",
731
- "required": true,
732
- "hasDynamicHelp": false,
733
- "multiple": false,
734
- "type": "option"
735
- }
736
- },
737
- "hasDynamicHelp": false,
738
- "hiddenAliases": [],
739
- "id": "flows:get",
740
- "pluginAlias": "adapty",
741
- "pluginName": "adapty",
742
- "pluginType": "core",
743
- "strict": true,
744
- "enableJsonFlag": true,
745
- "isESM": true,
746
- "relativePath": [
747
- "dist",
748
- "commands",
749
- "flows",
750
- "get.js"
751
- ]
752
- },
753
- "flows:list": {
754
- "aliases": [],
755
- "args": {},
756
- "description": "List flows for an app",
757
- "examples": [
758
- "<%= config.bin %> flows list --app 550e8400-..."
759
- ],
760
- "flags": {
761
- "json": {
762
- "description": "Format output as json.",
763
- "helpGroup": "GLOBAL",
764
- "name": "json",
765
- "allowNo": false,
766
- "type": "boolean"
767
- },
768
- "app": {
769
- "description": "App ID (UUID)",
770
- "name": "app",
771
- "required": true,
772
- "hasDynamicHelp": false,
773
- "multiple": false,
774
- "type": "option"
775
- },
776
- "page": {
777
- "description": "Page number",
778
- "name": "page",
779
- "default": 1,
780
- "hasDynamicHelp": false,
781
- "multiple": false,
782
- "type": "option"
783
- },
784
- "page-size": {
785
- "description": "Items per page (max 100)",
786
- "name": "page-size",
787
- "default": 20,
788
- "hasDynamicHelp": false,
789
- "multiple": false,
790
- "type": "option"
791
- }
792
- },
793
- "hasDynamicHelp": false,
794
- "hiddenAliases": [],
795
- "id": "flows:list",
796
- "pluginAlias": "adapty",
797
- "pluginName": "adapty",
798
- "pluginType": "core",
799
- "strict": true,
800
- "enableJsonFlag": true,
801
- "isESM": true,
802
- "relativePath": [
803
- "dist",
804
- "commands",
805
- "flows",
806
- "list.js"
807
- ]
808
- },
809
659
  "paywalls:create": {
810
660
  "aliases": [],
811
661
  "args": {},
@@ -1356,89 +1206,18 @@
1356
1206
  "update.js"
1357
1207
  ]
1358
1208
  },
1359
- "placements:create": {
1360
- "aliases": [],
1361
- "args": {},
1362
- "description": "Create a placement with a paywall",
1363
- "examples": [
1364
- "<%= config.bin %> placements create --app UUID --title \"Default\" --developer-id default --audiences '[{\"segment_ids\":[],\"paywall_id\":\"PAYWALL_UUID\",\"priority\":0}]'",
1365
- "<%= config.bin %> placements create --app UUID --title \"Default\" --developer-id default --paywall-id PAYWALL_UUID"
1366
- ],
1367
- "flags": {
1368
- "json": {
1369
- "description": "Format output as json.",
1370
- "helpGroup": "GLOBAL",
1371
- "name": "json",
1372
- "allowNo": false,
1373
- "type": "boolean"
1374
- },
1375
- "app": {
1376
- "description": "App ID (UUID)",
1377
- "name": "app",
1378
- "required": true,
1379
- "hasDynamicHelp": false,
1380
- "multiple": false,
1381
- "type": "option"
1382
- },
1383
- "audiences": {
1384
- "description": "JSON array of audience entries: [{segment_ids, paywall_id, priority}]",
1385
- "name": "audiences",
1386
- "hasDynamicHelp": false,
1387
- "multiple": false,
1388
- "type": "option"
1389
- },
1390
- "developer-id": {
1391
- "description": "Developer ID for the placement",
1392
- "name": "developer-id",
1393
- "required": true,
1394
- "hasDynamicHelp": false,
1395
- "multiple": false,
1396
- "type": "option"
1397
- },
1398
- "paywall-id": {
1399
- "description": "Paywall ID (UUID). DEPRECATED: use --audiences.",
1400
- "name": "paywall-id",
1401
- "hasDynamicHelp": false,
1402
- "multiple": false,
1403
- "type": "option"
1404
- },
1405
- "title": {
1406
- "description": "Placement title",
1407
- "name": "title",
1408
- "required": true,
1409
- "hasDynamicHelp": false,
1410
- "multiple": false,
1411
- "type": "option"
1412
- }
1413
- },
1414
- "hasDynamicHelp": false,
1415
- "hiddenAliases": [],
1416
- "id": "placements:create",
1417
- "pluginAlias": "adapty",
1418
- "pluginName": "adapty",
1419
- "pluginType": "core",
1420
- "strict": true,
1421
- "enableJsonFlag": true,
1422
- "isESM": true,
1423
- "relativePath": [
1424
- "dist",
1425
- "commands",
1426
- "placements",
1427
- "create.js"
1428
- ]
1429
- },
1430
- "placements:get": {
1209
+ "segments:get": {
1431
1210
  "aliases": [],
1432
1211
  "args": {
1433
- "placement_id": {
1434
- "description": "Placement ID (UUID)",
1435
- "name": "placement_id",
1212
+ "segment_id": {
1213
+ "description": "Segment ID (UUID)",
1214
+ "name": "segment_id",
1436
1215
  "required": true
1437
1216
  }
1438
1217
  },
1439
- "description": "Get placement details",
1218
+ "description": "Get segment details",
1440
1219
  "examples": [
1441
- "<%= config.bin %> placements get --app UUID 550e8400-e29b-41d4-a716-446655440000"
1220
+ "<%= config.bin %> segments get --app UUID 550e8400-e29b-41d4-a716-446655440000"
1442
1221
  ],
1443
1222
  "flags": {
1444
1223
  "json": {
@@ -1459,7 +1238,7 @@
1459
1238
  },
1460
1239
  "hasDynamicHelp": false,
1461
1240
  "hiddenAliases": [],
1462
- "id": "placements:get",
1241
+ "id": "segments:get",
1463
1242
  "pluginAlias": "adapty",
1464
1243
  "pluginName": "adapty",
1465
1244
  "pluginType": "core",
@@ -1469,16 +1248,16 @@
1469
1248
  "relativePath": [
1470
1249
  "dist",
1471
1250
  "commands",
1472
- "placements",
1251
+ "segments",
1473
1252
  "get.js"
1474
1253
  ]
1475
1254
  },
1476
- "placements:list": {
1255
+ "segments:list": {
1477
1256
  "aliases": [],
1478
1257
  "args": {},
1479
- "description": "List placements for an app",
1258
+ "description": "List segments for an app",
1480
1259
  "examples": [
1481
- "<%= config.bin %> placements list --app 550e8400-..."
1260
+ "<%= config.bin %> segments list --app 550e8400-..."
1482
1261
  ],
1483
1262
  "flags": {
1484
1263
  "json": {
@@ -1515,7 +1294,7 @@
1515
1294
  },
1516
1295
  "hasDynamicHelp": false,
1517
1296
  "hiddenAliases": [],
1518
- "id": "placements:list",
1297
+ "id": "segments:list",
1519
1298
  "pluginAlias": "adapty",
1520
1299
  "pluginName": "adapty",
1521
1300
  "pluginType": "core",
@@ -1525,23 +1304,167 @@
1525
1304
  "relativePath": [
1526
1305
  "dist",
1527
1306
  "commands",
1528
- "placements",
1307
+ "segments",
1529
1308
  "list.js"
1530
1309
  ]
1531
1310
  },
1532
- "placements:update": {
1311
+ "flows:create": {
1533
1312
  "aliases": [],
1534
- "args": {
1535
- "placement_id": {
1536
- "description": "Placement ID (UUID)",
1537
- "name": "placement_id",
1538
- "required": true
1539
- }
1540
- },
1541
- "description": "Update a placement",
1313
+ "args": {},
1314
+ "description": "Create a flow (row only — write its config with `flows config update`)",
1542
1315
  "examples": [
1543
- "<%= config.bin %> placements update --app UUID 550e8400-... --title \"Default\" --developer-id default --audiences '[{\"segment_ids\":[],\"paywall_id\":\"PAYWALL_UUID\",\"priority\":0}]'",
1544
- "<%= config.bin %> placements update --app UUID 550e8400-... --title \"Default\" --developer-id default --paywall-id PAYWALL_UUID"
1316
+ "<%= config.bin %> flows create --app UUID --name \"Onboarding\""
1317
+ ],
1318
+ "flags": {
1319
+ "json": {
1320
+ "description": "Format output as json.",
1321
+ "helpGroup": "GLOBAL",
1322
+ "name": "json",
1323
+ "allowNo": false,
1324
+ "type": "boolean"
1325
+ },
1326
+ "app": {
1327
+ "description": "App ID (UUID)",
1328
+ "name": "app",
1329
+ "required": true,
1330
+ "hasDynamicHelp": false,
1331
+ "multiple": false,
1332
+ "type": "option"
1333
+ },
1334
+ "name": {
1335
+ "description": "Flow name",
1336
+ "name": "name",
1337
+ "required": true,
1338
+ "hasDynamicHelp": false,
1339
+ "multiple": false,
1340
+ "type": "option"
1341
+ }
1342
+ },
1343
+ "hasDynamicHelp": false,
1344
+ "hiddenAliases": [],
1345
+ "id": "flows:create",
1346
+ "pluginAlias": "adapty",
1347
+ "pluginName": "adapty",
1348
+ "pluginType": "core",
1349
+ "strict": true,
1350
+ "enableJsonFlag": true,
1351
+ "isESM": true,
1352
+ "relativePath": [
1353
+ "dist",
1354
+ "commands",
1355
+ "flows",
1356
+ "create.js"
1357
+ ]
1358
+ },
1359
+ "flows:get": {
1360
+ "aliases": [],
1361
+ "args": {
1362
+ "flow_id": {
1363
+ "description": "Flow ID (UUID)",
1364
+ "name": "flow_id",
1365
+ "required": true
1366
+ }
1367
+ },
1368
+ "description": "Get flow details",
1369
+ "examples": [
1370
+ "<%= config.bin %> flows get --app UUID 550e8400-e29b-41d4-a716-446655440000"
1371
+ ],
1372
+ "flags": {
1373
+ "json": {
1374
+ "description": "Format output as json.",
1375
+ "helpGroup": "GLOBAL",
1376
+ "name": "json",
1377
+ "allowNo": false,
1378
+ "type": "boolean"
1379
+ },
1380
+ "app": {
1381
+ "description": "App ID (UUID)",
1382
+ "name": "app",
1383
+ "required": true,
1384
+ "hasDynamicHelp": false,
1385
+ "multiple": false,
1386
+ "type": "option"
1387
+ }
1388
+ },
1389
+ "hasDynamicHelp": false,
1390
+ "hiddenAliases": [],
1391
+ "id": "flows:get",
1392
+ "pluginAlias": "adapty",
1393
+ "pluginName": "adapty",
1394
+ "pluginType": "core",
1395
+ "strict": true,
1396
+ "enableJsonFlag": true,
1397
+ "isESM": true,
1398
+ "relativePath": [
1399
+ "dist",
1400
+ "commands",
1401
+ "flows",
1402
+ "get.js"
1403
+ ]
1404
+ },
1405
+ "flows:list": {
1406
+ "aliases": [],
1407
+ "args": {},
1408
+ "description": "List flows for an app",
1409
+ "examples": [
1410
+ "<%= config.bin %> flows list --app 550e8400-..."
1411
+ ],
1412
+ "flags": {
1413
+ "json": {
1414
+ "description": "Format output as json.",
1415
+ "helpGroup": "GLOBAL",
1416
+ "name": "json",
1417
+ "allowNo": false,
1418
+ "type": "boolean"
1419
+ },
1420
+ "app": {
1421
+ "description": "App ID (UUID)",
1422
+ "name": "app",
1423
+ "required": true,
1424
+ "hasDynamicHelp": false,
1425
+ "multiple": false,
1426
+ "type": "option"
1427
+ },
1428
+ "page": {
1429
+ "description": "Page number",
1430
+ "name": "page",
1431
+ "default": 1,
1432
+ "hasDynamicHelp": false,
1433
+ "multiple": false,
1434
+ "type": "option"
1435
+ },
1436
+ "page-size": {
1437
+ "description": "Items per page (max 100)",
1438
+ "name": "page-size",
1439
+ "default": 20,
1440
+ "hasDynamicHelp": false,
1441
+ "multiple": false,
1442
+ "type": "option"
1443
+ }
1444
+ },
1445
+ "hasDynamicHelp": false,
1446
+ "hiddenAliases": [],
1447
+ "id": "flows:list",
1448
+ "pluginAlias": "adapty",
1449
+ "pluginName": "adapty",
1450
+ "pluginType": "core",
1451
+ "strict": true,
1452
+ "enableJsonFlag": true,
1453
+ "isESM": true,
1454
+ "relativePath": [
1455
+ "dist",
1456
+ "commands",
1457
+ "flows",
1458
+ "list.js"
1459
+ ]
1460
+ },
1461
+ "placements:create": {
1462
+ "aliases": [],
1463
+ "args": {},
1464
+ "description": "Create a placement with a paywall",
1465
+ "examples": [
1466
+ "<%= config.bin %> placements create --app UUID --title \"Default\" --developer-id default --audiences '[{\"segment_ids\":[],\"paywall_id\":\"PAYWALL_UUID\",\"priority\":0}]'",
1467
+ "<%= config.bin %> placements create --app UUID --title \"Default\" --developer-id default --paywall-id PAYWALL_UUID"
1545
1468
  ],
1546
1469
  "flags": {
1547
1470
  "json": {
@@ -1592,7 +1515,7 @@
1592
1515
  },
1593
1516
  "hasDynamicHelp": false,
1594
1517
  "hiddenAliases": [],
1595
- "id": "placements:update",
1518
+ "id": "placements:create",
1596
1519
  "pluginAlias": "adapty",
1597
1520
  "pluginName": "adapty",
1598
1521
  "pluginType": "core",
@@ -1603,21 +1526,21 @@
1603
1526
  "dist",
1604
1527
  "commands",
1605
1528
  "placements",
1606
- "update.js"
1529
+ "create.js"
1607
1530
  ]
1608
1531
  },
1609
- "segments:get": {
1532
+ "placements:get": {
1610
1533
  "aliases": [],
1611
1534
  "args": {
1612
- "segment_id": {
1613
- "description": "Segment ID (UUID)",
1614
- "name": "segment_id",
1535
+ "placement_id": {
1536
+ "description": "Placement ID (UUID)",
1537
+ "name": "placement_id",
1615
1538
  "required": true
1616
1539
  }
1617
1540
  },
1618
- "description": "Get segment details",
1541
+ "description": "Get placement details",
1619
1542
  "examples": [
1620
- "<%= config.bin %> segments get --app UUID 550e8400-e29b-41d4-a716-446655440000"
1543
+ "<%= config.bin %> placements get --app UUID 550e8400-e29b-41d4-a716-446655440000"
1621
1544
  ],
1622
1545
  "flags": {
1623
1546
  "json": {
@@ -1638,7 +1561,7 @@
1638
1561
  },
1639
1562
  "hasDynamicHelp": false,
1640
1563
  "hiddenAliases": [],
1641
- "id": "segments:get",
1564
+ "id": "placements:get",
1642
1565
  "pluginAlias": "adapty",
1643
1566
  "pluginName": "adapty",
1644
1567
  "pluginType": "core",
@@ -1648,16 +1571,16 @@
1648
1571
  "relativePath": [
1649
1572
  "dist",
1650
1573
  "commands",
1651
- "segments",
1574
+ "placements",
1652
1575
  "get.js"
1653
1576
  ]
1654
1577
  },
1655
- "segments:list": {
1578
+ "placements:list": {
1656
1579
  "aliases": [],
1657
1580
  "args": {},
1658
- "description": "List segments for an app",
1581
+ "description": "List placements for an app",
1659
1582
  "examples": [
1660
- "<%= config.bin %> segments list --app 550e8400-..."
1583
+ "<%= config.bin %> placements list --app 550e8400-..."
1661
1584
  ],
1662
1585
  "flags": {
1663
1586
  "json": {
@@ -1694,7 +1617,7 @@
1694
1617
  },
1695
1618
  "hasDynamicHelp": false,
1696
1619
  "hiddenAliases": [],
1697
- "id": "segments:list",
1620
+ "id": "placements:list",
1698
1621
  "pluginAlias": "adapty",
1699
1622
  "pluginName": "adapty",
1700
1623
  "pluginType": "core",
@@ -1704,10 +1627,87 @@
1704
1627
  "relativePath": [
1705
1628
  "dist",
1706
1629
  "commands",
1707
- "segments",
1630
+ "placements",
1708
1631
  "list.js"
1709
1632
  ]
1710
1633
  },
1634
+ "placements:update": {
1635
+ "aliases": [],
1636
+ "args": {
1637
+ "placement_id": {
1638
+ "description": "Placement ID (UUID)",
1639
+ "name": "placement_id",
1640
+ "required": true
1641
+ }
1642
+ },
1643
+ "description": "Update a placement",
1644
+ "examples": [
1645
+ "<%= config.bin %> placements update --app UUID 550e8400-... --title \"Default\" --developer-id default --audiences '[{\"segment_ids\":[],\"paywall_id\":\"PAYWALL_UUID\",\"priority\":0}]'",
1646
+ "<%= config.bin %> placements update --app UUID 550e8400-... --title \"Default\" --developer-id default --paywall-id PAYWALL_UUID"
1647
+ ],
1648
+ "flags": {
1649
+ "json": {
1650
+ "description": "Format output as json.",
1651
+ "helpGroup": "GLOBAL",
1652
+ "name": "json",
1653
+ "allowNo": false,
1654
+ "type": "boolean"
1655
+ },
1656
+ "app": {
1657
+ "description": "App ID (UUID)",
1658
+ "name": "app",
1659
+ "required": true,
1660
+ "hasDynamicHelp": false,
1661
+ "multiple": false,
1662
+ "type": "option"
1663
+ },
1664
+ "audiences": {
1665
+ "description": "JSON array of audience entries: [{segment_ids, paywall_id, priority}]",
1666
+ "name": "audiences",
1667
+ "hasDynamicHelp": false,
1668
+ "multiple": false,
1669
+ "type": "option"
1670
+ },
1671
+ "developer-id": {
1672
+ "description": "Developer ID for the placement",
1673
+ "name": "developer-id",
1674
+ "required": true,
1675
+ "hasDynamicHelp": false,
1676
+ "multiple": false,
1677
+ "type": "option"
1678
+ },
1679
+ "paywall-id": {
1680
+ "description": "Paywall ID (UUID). DEPRECATED: use --audiences.",
1681
+ "name": "paywall-id",
1682
+ "hasDynamicHelp": false,
1683
+ "multiple": false,
1684
+ "type": "option"
1685
+ },
1686
+ "title": {
1687
+ "description": "Placement title",
1688
+ "name": "title",
1689
+ "required": true,
1690
+ "hasDynamicHelp": false,
1691
+ "multiple": false,
1692
+ "type": "option"
1693
+ }
1694
+ },
1695
+ "hasDynamicHelp": false,
1696
+ "hiddenAliases": [],
1697
+ "id": "placements:update",
1698
+ "pluginAlias": "adapty",
1699
+ "pluginName": "adapty",
1700
+ "pluginType": "core",
1701
+ "strict": true,
1702
+ "enableJsonFlag": true,
1703
+ "isESM": true,
1704
+ "relativePath": [
1705
+ "dist",
1706
+ "commands",
1707
+ "placements",
1708
+ "update.js"
1709
+ ]
1710
+ },
1711
1711
  "asa:ad-groups:create": {
1712
1712
  "aliases": [],
1713
1713
  "args": {},
@@ -2080,13 +2080,12 @@
2080
2080
  "update.js"
2081
2081
  ]
2082
2082
  },
2083
- "asa:apps:list": {
2083
+ "asa:ads:create": {
2084
2084
  "aliases": [],
2085
2085
  "args": {},
2086
- "description": "List the apps promoted by this company in Apple Search Ads",
2086
+ "description": "Create an ad from a creative in an ad group",
2087
2087
  "examples": [
2088
- "<%= config.bin %> asa apps list",
2089
- "<%= config.bin %> asa apps list --page 2 --page-size 50"
2088
+ "<%= config.bin %> asa ads create --ad-group UUID --creative-id 4321 --name \"Summer ad\""
2090
2089
  ],
2091
2090
  "flags": {
2092
2091
  "json": {
@@ -2096,26 +2095,59 @@
2096
2095
  "allowNo": false,
2097
2096
  "type": "boolean"
2098
2097
  },
2099
- "page": {
2100
- "description": "Page number",
2101
- "name": "page",
2102
- "default": 1,
2098
+ "yes": {
2099
+ "char": "y",
2100
+ "description": "Apply without asking; required when the output is piped or --json is used",
2101
+ "name": "yes",
2102
+ "allowNo": false,
2103
+ "type": "boolean"
2104
+ },
2105
+ "idempotency-key": {
2106
+ "description": "Idempotency key for this write; re-running with the same key replays the stored result instead of applying twice",
2107
+ "name": "idempotency-key",
2103
2108
  "hasDynamicHelp": false,
2104
2109
  "multiple": false,
2105
2110
  "type": "option"
2106
2111
  },
2107
- "page-size": {
2108
- "description": "Items per page (max 1000); prefer one big page over a pagination loop",
2109
- "name": "page-size",
2110
- "default": 100,
2112
+ "ad-group": {
2113
+ "description": "Ad group ID (UUID) — the campaign is resolved from it",
2114
+ "name": "ad-group",
2115
+ "required": true,
2111
2116
  "hasDynamicHelp": false,
2112
2117
  "multiple": false,
2113
2118
  "type": "option"
2119
+ },
2120
+ "creative-id": {
2121
+ "description": "Apple creative ID from a product page or the default set",
2122
+ "name": "creative-id",
2123
+ "required": true,
2124
+ "hasDynamicHelp": false,
2125
+ "multiple": false,
2126
+ "type": "option"
2127
+ },
2128
+ "name": {
2129
+ "description": "Ad name",
2130
+ "name": "name",
2131
+ "required": true,
2132
+ "hasDynamicHelp": false,
2133
+ "multiple": false,
2134
+ "type": "option"
2135
+ },
2136
+ "status": {
2137
+ "description": "Initial status",
2138
+ "name": "status",
2139
+ "hasDynamicHelp": false,
2140
+ "multiple": false,
2141
+ "options": [
2142
+ "ENABLED",
2143
+ "PAUSED"
2144
+ ],
2145
+ "type": "option"
2114
2146
  }
2115
2147
  },
2116
2148
  "hasDynamicHelp": false,
2117
2149
  "hiddenAliases": [],
2118
- "id": "asa:apps:list",
2150
+ "id": "asa:ads:create",
2119
2151
  "pluginAlias": "adapty",
2120
2152
  "pluginName": "adapty",
2121
2153
  "pluginType": "core",
@@ -2126,16 +2158,22 @@
2126
2158
  "dist",
2127
2159
  "commands",
2128
2160
  "asa",
2129
- "apps",
2130
- "list.js"
2161
+ "ads",
2162
+ "create.js"
2131
2163
  ]
2132
2164
  },
2133
- "asa:ads:create": {
2165
+ "asa:ads:get": {
2134
2166
  "aliases": [],
2135
- "args": {},
2136
- "description": "Create an ad from a creative in an ad group",
2167
+ "args": {
2168
+ "ad_id": {
2169
+ "description": "Ad ID (UUID)",
2170
+ "name": "ad_id",
2171
+ "required": true
2172
+ }
2173
+ },
2174
+ "description": "Show one ad and its serving state",
2137
2175
  "examples": [
2138
- "<%= config.bin %> asa ads create --ad-group UUID --creative-id 4321 --name \"Summer ad\""
2176
+ "<%= config.bin %> asa ads get 550e8400-e29b-41d4-a716-446655440000"
2139
2177
  ],
2140
2178
  "flags": {
2141
2179
  "json": {
@@ -2144,33 +2182,145 @@
2144
2182
  "name": "json",
2145
2183
  "allowNo": false,
2146
2184
  "type": "boolean"
2147
- },
2148
- "yes": {
2149
- "char": "y",
2150
- "description": "Apply without asking; required when the output is piped or --json is used",
2151
- "name": "yes",
2185
+ }
2186
+ },
2187
+ "hasDynamicHelp": false,
2188
+ "hiddenAliases": [],
2189
+ "id": "asa:ads:get",
2190
+ "pluginAlias": "adapty",
2191
+ "pluginName": "adapty",
2192
+ "pluginType": "core",
2193
+ "strict": true,
2194
+ "enableJsonFlag": true,
2195
+ "isESM": true,
2196
+ "relativePath": [
2197
+ "dist",
2198
+ "commands",
2199
+ "asa",
2200
+ "ads",
2201
+ "get.js"
2202
+ ]
2203
+ },
2204
+ "asa:ads:list": {
2205
+ "aliases": [],
2206
+ "args": {},
2207
+ "description": "List ads; serving_state_reasons explains why an enabled ad is not running",
2208
+ "examples": [
2209
+ "<%= config.bin %> asa ads list",
2210
+ "<%= config.bin %> asa ads list --ad-group AD_GROUP_UUID --status ENABLED"
2211
+ ],
2212
+ "flags": {
2213
+ "json": {
2214
+ "description": "Format output as json.",
2215
+ "helpGroup": "GLOBAL",
2216
+ "name": "json",
2152
2217
  "allowNo": false,
2153
2218
  "type": "boolean"
2154
2219
  },
2155
- "idempotency-key": {
2156
- "description": "Idempotency key for this write; re-running with the same key replays the stored result instead of applying twice",
2157
- "name": "idempotency-key",
2220
+ "page": {
2221
+ "description": "Page number",
2222
+ "name": "page",
2223
+ "default": 1,
2224
+ "hasDynamicHelp": false,
2225
+ "multiple": false,
2226
+ "type": "option"
2227
+ },
2228
+ "page-size": {
2229
+ "description": "Items per page (max 1000); prefer one big page over a pagination loop",
2230
+ "name": "page-size",
2231
+ "default": 100,
2158
2232
  "hasDynamicHelp": false,
2159
2233
  "multiple": false,
2160
2234
  "type": "option"
2161
2235
  },
2162
2236
  "ad-group": {
2163
- "description": "Ad group ID (UUID) — the campaign is resolved from it",
2237
+ "description": "Keep only rows in this ad group; repeatable",
2164
2238
  "name": "ad-group",
2165
- "required": true,
2239
+ "hasDynamicHelp": false,
2240
+ "multiple": true,
2241
+ "type": "option"
2242
+ },
2243
+ "campaign": {
2244
+ "description": "Keep only rows in this campaign; repeatable",
2245
+ "name": "campaign",
2246
+ "hasDynamicHelp": false,
2247
+ "multiple": true,
2248
+ "type": "option"
2249
+ },
2250
+ "campaign-group": {
2251
+ "description": "Keep only rows in this campaign group; repeatable",
2252
+ "name": "campaign-group",
2253
+ "hasDynamicHelp": false,
2254
+ "multiple": true,
2255
+ "type": "option"
2256
+ },
2257
+ "search": {
2258
+ "description": "Case-insensitive substring match on the name",
2259
+ "name": "search",
2166
2260
  "hasDynamicHelp": false,
2167
2261
  "multiple": false,
2168
2262
  "type": "option"
2169
2263
  },
2170
- "creative-id": {
2171
- "description": "Apple creative ID from a product page or the default set",
2172
- "name": "creative-id",
2173
- "required": true,
2264
+ "status": {
2265
+ "description": "Keep only rows in this state",
2266
+ "name": "status",
2267
+ "hasDynamicHelp": false,
2268
+ "multiple": false,
2269
+ "options": [
2270
+ "ENABLED",
2271
+ "PAUSED"
2272
+ ],
2273
+ "type": "option"
2274
+ }
2275
+ },
2276
+ "hasDynamicHelp": false,
2277
+ "hiddenAliases": [],
2278
+ "id": "asa:ads:list",
2279
+ "pluginAlias": "adapty",
2280
+ "pluginName": "adapty",
2281
+ "pluginType": "core",
2282
+ "strict": true,
2283
+ "enableJsonFlag": true,
2284
+ "isESM": true,
2285
+ "relativePath": [
2286
+ "dist",
2287
+ "commands",
2288
+ "asa",
2289
+ "ads",
2290
+ "list.js"
2291
+ ]
2292
+ },
2293
+ "asa:ads:update": {
2294
+ "aliases": [],
2295
+ "args": {
2296
+ "ad_id": {
2297
+ "description": "Ad ID (UUID)",
2298
+ "name": "ad_id",
2299
+ "required": true
2300
+ }
2301
+ },
2302
+ "description": "Rename an ad or pause it; the creative and ad group are fixed at creation",
2303
+ "examples": [
2304
+ "<%= config.bin %> asa ads update UUID --status PAUSED"
2305
+ ],
2306
+ "flags": {
2307
+ "json": {
2308
+ "description": "Format output as json.",
2309
+ "helpGroup": "GLOBAL",
2310
+ "name": "json",
2311
+ "allowNo": false,
2312
+ "type": "boolean"
2313
+ },
2314
+ "yes": {
2315
+ "char": "y",
2316
+ "description": "Apply without asking; required when the output is piped or --json is used",
2317
+ "name": "yes",
2318
+ "allowNo": false,
2319
+ "type": "boolean"
2320
+ },
2321
+ "idempotency-key": {
2322
+ "description": "Idempotency key for this write; re-running with the same key replays the stored result instead of applying twice",
2323
+ "name": "idempotency-key",
2174
2324
  "hasDynamicHelp": false,
2175
2325
  "multiple": false,
2176
2326
  "type": "option"
@@ -2178,13 +2328,12 @@
2178
2328
  "name": {
2179
2329
  "description": "Ad name",
2180
2330
  "name": "name",
2181
- "required": true,
2182
2331
  "hasDynamicHelp": false,
2183
2332
  "multiple": false,
2184
2333
  "type": "option"
2185
2334
  },
2186
2335
  "status": {
2187
- "description": "Initial status",
2336
+ "description": "Ad status",
2188
2337
  "name": "status",
2189
2338
  "hasDynamicHelp": false,
2190
2339
  "multiple": false,
@@ -2197,7 +2346,7 @@
2197
2346
  },
2198
2347
  "hasDynamicHelp": false,
2199
2348
  "hiddenAliases": [],
2200
- "id": "asa:ads:create",
2349
+ "id": "asa:ads:update",
2201
2350
  "pluginAlias": "adapty",
2202
2351
  "pluginName": "adapty",
2203
2352
  "pluginType": "core",
@@ -2209,21 +2358,16 @@
2209
2358
  "commands",
2210
2359
  "asa",
2211
2360
  "ads",
2212
- "create.js"
2361
+ "update.js"
2213
2362
  ]
2214
2363
  },
2215
- "asa:ads:get": {
2364
+ "asa:apps:list": {
2216
2365
  "aliases": [],
2217
- "args": {
2218
- "ad_id": {
2219
- "description": "Ad ID (UUID)",
2220
- "name": "ad_id",
2221
- "required": true
2222
- }
2223
- },
2224
- "description": "Show one ad and its serving state",
2366
+ "args": {},
2367
+ "description": "List the apps promoted by this company in Apple Search Ads",
2225
2368
  "examples": [
2226
- "<%= config.bin %> asa ads get 550e8400-e29b-41d4-a716-446655440000"
2369
+ "<%= config.bin %> asa apps list",
2370
+ "<%= config.bin %> asa apps list --page 2 --page-size 50"
2227
2371
  ],
2228
2372
  "flags": {
2229
2373
  "json": {
@@ -2232,11 +2376,27 @@
2232
2376
  "name": "json",
2233
2377
  "allowNo": false,
2234
2378
  "type": "boolean"
2379
+ },
2380
+ "page": {
2381
+ "description": "Page number",
2382
+ "name": "page",
2383
+ "default": 1,
2384
+ "hasDynamicHelp": false,
2385
+ "multiple": false,
2386
+ "type": "option"
2387
+ },
2388
+ "page-size": {
2389
+ "description": "Items per page (max 1000); prefer one big page over a pagination loop",
2390
+ "name": "page-size",
2391
+ "default": 100,
2392
+ "hasDynamicHelp": false,
2393
+ "multiple": false,
2394
+ "type": "option"
2235
2395
  }
2236
2396
  },
2237
2397
  "hasDynamicHelp": false,
2238
2398
  "hiddenAliases": [],
2239
- "id": "asa:ads:get",
2399
+ "id": "asa:apps:list",
2240
2400
  "pluginAlias": "adapty",
2241
2401
  "pluginName": "adapty",
2242
2402
  "pluginType": "core",
@@ -2247,17 +2407,17 @@
2247
2407
  "dist",
2248
2408
  "commands",
2249
2409
  "asa",
2250
- "ads",
2251
- "get.js"
2410
+ "apps",
2411
+ "list.js"
2252
2412
  ]
2253
2413
  },
2254
- "asa:ads:list": {
2414
+ "asa:creatives:list": {
2255
2415
  "aliases": [],
2256
2416
  "args": {},
2257
- "description": "List ads; serving_state_reasons explains why an enabled ad is not running",
2417
+ "description": "List creatives; creative_id is what `asa ads create` needs",
2258
2418
  "examples": [
2259
- "<%= config.bin %> asa ads list",
2260
- "<%= config.bin %> asa ads list --ad-group AD_GROUP_UUID --status ENABLED"
2419
+ "<%= config.bin %> asa creatives list",
2420
+ "<%= config.bin %> asa creatives list --app APP_UUID"
2261
2421
  ],
2262
2422
  "flags": {
2263
2423
  "json": {
@@ -2283,16 +2443,9 @@
2283
2443
  "multiple": false,
2284
2444
  "type": "option"
2285
2445
  },
2286
- "ad-group": {
2287
- "description": "Keep only rows in this ad group; repeatable",
2288
- "name": "ad-group",
2289
- "hasDynamicHelp": false,
2290
- "multiple": true,
2291
- "type": "option"
2292
- },
2293
- "campaign": {
2294
- "description": "Keep only rows in this campaign; repeatable",
2295
- "name": "campaign",
2446
+ "app": {
2447
+ "description": "Keep only rows in this app; repeatable",
2448
+ "name": "app",
2296
2449
  "hasDynamicHelp": false,
2297
2450
  "multiple": true,
2298
2451
  "type": "option"
@@ -2303,29 +2456,11 @@
2303
2456
  "hasDynamicHelp": false,
2304
2457
  "multiple": true,
2305
2458
  "type": "option"
2306
- },
2307
- "search": {
2308
- "description": "Case-insensitive substring match on the name",
2309
- "name": "search",
2310
- "hasDynamicHelp": false,
2311
- "multiple": false,
2312
- "type": "option"
2313
- },
2314
- "status": {
2315
- "description": "Keep only rows in this state",
2316
- "name": "status",
2317
- "hasDynamicHelp": false,
2318
- "multiple": false,
2319
- "options": [
2320
- "ENABLED",
2321
- "PAUSED"
2322
- ],
2323
- "type": "option"
2324
2459
  }
2325
2460
  },
2326
2461
  "hasDynamicHelp": false,
2327
2462
  "hiddenAliases": [],
2328
- "id": "asa:ads:list",
2463
+ "id": "asa:creatives:list",
2329
2464
  "pluginAlias": "adapty",
2330
2465
  "pluginName": "adapty",
2331
2466
  "pluginType": "core",
@@ -2336,22 +2471,16 @@
2336
2471
  "dist",
2337
2472
  "commands",
2338
2473
  "asa",
2339
- "ads",
2474
+ "creatives",
2340
2475
  "list.js"
2341
2476
  ]
2342
2477
  },
2343
- "asa:ads:update": {
2478
+ "asa:competitors:summary": {
2344
2479
  "aliases": [],
2345
- "args": {
2346
- "ad_id": {
2347
- "description": "Ad ID (UUID)",
2348
- "name": "ad_id",
2349
- "required": true
2350
- }
2351
- },
2352
- "description": "Rename an ad or pause it; the creative and ad group are fixed at creation",
2480
+ "args": {},
2481
+ "description": "Competitor summary for up to five App Store apps; the server covers the last full month and every country",
2353
2482
  "examples": [
2354
- "<%= config.bin %> asa ads update UUID --status PAUSED"
2483
+ "<%= config.bin %> asa competitors summary --app-ids 1668337467,6503873027"
2355
2484
  ],
2356
2485
  "flags": {
2357
2486
  "json": {
@@ -2361,42 +2490,18 @@
2361
2490
  "allowNo": false,
2362
2491
  "type": "boolean"
2363
2492
  },
2364
- "yes": {
2365
- "char": "y",
2366
- "description": "Apply without asking; required when the output is piped or --json is used",
2367
- "name": "yes",
2368
- "allowNo": false,
2369
- "type": "boolean"
2370
- },
2371
- "idempotency-key": {
2372
- "description": "Idempotency key for this write; re-running with the same key replays the stored result instead of applying twice",
2373
- "name": "idempotency-key",
2374
- "hasDynamicHelp": false,
2375
- "multiple": false,
2376
- "type": "option"
2377
- },
2378
- "name": {
2379
- "description": "Ad name",
2380
- "name": "name",
2381
- "hasDynamicHelp": false,
2382
- "multiple": false,
2383
- "type": "option"
2384
- },
2385
- "status": {
2386
- "description": "Ad status",
2387
- "name": "status",
2493
+ "app-ids": {
2494
+ "description": "Apple App Store IDs (adam_id), comma-separated, 1-5 values",
2495
+ "name": "app-ids",
2496
+ "required": true,
2388
2497
  "hasDynamicHelp": false,
2389
2498
  "multiple": false,
2390
- "options": [
2391
- "ENABLED",
2392
- "PAUSED"
2393
- ],
2394
2499
  "type": "option"
2395
2500
  }
2396
2501
  },
2397
2502
  "hasDynamicHelp": false,
2398
2503
  "hiddenAliases": [],
2399
- "id": "asa:ads:update",
2504
+ "id": "asa:competitors:summary",
2400
2505
  "pluginAlias": "adapty",
2401
2506
  "pluginName": "adapty",
2402
2507
  "pluginType": "core",
@@ -2407,8 +2512,8 @@
2407
2512
  "dist",
2408
2513
  "commands",
2409
2514
  "asa",
2410
- "ads",
2411
- "update.js"
2515
+ "competitors",
2516
+ "summary.js"
2412
2517
  ]
2413
2518
  },
2414
2519
  "asa:campaigns:bulk-create": {
@@ -2949,118 +3054,13 @@
2949
3054
  "description": "Target CPA (amount, e.g. 50 or 12.50)",
2950
3055
  "name": "target-cpa",
2951
3056
  "hasDynamicHelp": false,
2952
- "multiple": false,
2953
- "type": "option"
2954
- }
2955
- },
2956
- "hasDynamicHelp": false,
2957
- "hiddenAliases": [],
2958
- "id": "asa:campaigns:update",
2959
- "pluginAlias": "adapty",
2960
- "pluginName": "adapty",
2961
- "pluginType": "core",
2962
- "strict": true,
2963
- "enableJsonFlag": true,
2964
- "isESM": true,
2965
- "relativePath": [
2966
- "dist",
2967
- "commands",
2968
- "asa",
2969
- "campaigns",
2970
- "update.js"
2971
- ]
2972
- },
2973
- "asa:competitors:summary": {
2974
- "aliases": [],
2975
- "args": {},
2976
- "description": "Competitor summary for up to five App Store apps; the server covers the last full month and every country",
2977
- "examples": [
2978
- "<%= config.bin %> asa competitors summary --app-ids 1668337467,6503873027"
2979
- ],
2980
- "flags": {
2981
- "json": {
2982
- "description": "Format output as json.",
2983
- "helpGroup": "GLOBAL",
2984
- "name": "json",
2985
- "allowNo": false,
2986
- "type": "boolean"
2987
- },
2988
- "app-ids": {
2989
- "description": "Apple App Store IDs (adam_id), comma-separated, 1-5 values",
2990
- "name": "app-ids",
2991
- "required": true,
2992
- "hasDynamicHelp": false,
2993
- "multiple": false,
2994
- "type": "option"
2995
- }
2996
- },
2997
- "hasDynamicHelp": false,
2998
- "hiddenAliases": [],
2999
- "id": "asa:competitors:summary",
3000
- "pluginAlias": "adapty",
3001
- "pluginName": "adapty",
3002
- "pluginType": "core",
3003
- "strict": true,
3004
- "enableJsonFlag": true,
3005
- "isESM": true,
3006
- "relativePath": [
3007
- "dist",
3008
- "commands",
3009
- "asa",
3010
- "competitors",
3011
- "summary.js"
3012
- ]
3013
- },
3014
- "asa:creatives:list": {
3015
- "aliases": [],
3016
- "args": {},
3017
- "description": "List creatives; creative_id is what `asa ads create` needs",
3018
- "examples": [
3019
- "<%= config.bin %> asa creatives list",
3020
- "<%= config.bin %> asa creatives list --app APP_UUID"
3021
- ],
3022
- "flags": {
3023
- "json": {
3024
- "description": "Format output as json.",
3025
- "helpGroup": "GLOBAL",
3026
- "name": "json",
3027
- "allowNo": false,
3028
- "type": "boolean"
3029
- },
3030
- "page": {
3031
- "description": "Page number",
3032
- "name": "page",
3033
- "default": 1,
3034
- "hasDynamicHelp": false,
3035
- "multiple": false,
3036
- "type": "option"
3037
- },
3038
- "page-size": {
3039
- "description": "Items per page (max 1000); prefer one big page over a pagination loop",
3040
- "name": "page-size",
3041
- "default": 100,
3042
- "hasDynamicHelp": false,
3043
- "multiple": false,
3044
- "type": "option"
3045
- },
3046
- "app": {
3047
- "description": "Keep only rows in this app; repeatable",
3048
- "name": "app",
3049
- "hasDynamicHelp": false,
3050
- "multiple": true,
3051
- "type": "option"
3052
- },
3053
- "campaign-group": {
3054
- "description": "Keep only rows in this campaign group; repeatable",
3055
- "name": "campaign-group",
3056
- "hasDynamicHelp": false,
3057
- "multiple": true,
3057
+ "multiple": false,
3058
3058
  "type": "option"
3059
3059
  }
3060
3060
  },
3061
3061
  "hasDynamicHelp": false,
3062
3062
  "hiddenAliases": [],
3063
- "id": "asa:creatives:list",
3063
+ "id": "asa:campaigns:update",
3064
3064
  "pluginAlias": "adapty",
3065
3065
  "pluginName": "adapty",
3066
3066
  "pluginType": "core",
@@ -3071,8 +3071,8 @@
3071
3071
  "dist",
3072
3072
  "commands",
3073
3073
  "asa",
3074
- "creatives",
3075
- "list.js"
3074
+ "campaigns",
3075
+ "update.js"
3076
3076
  ]
3077
3077
  },
3078
3078
  "asa:keywords:add": {
@@ -4077,130 +4077,6 @@
4077
4077
  "list.js"
4078
4078
  ]
4079
4079
  },
4080
- "flows:config:get": {
4081
- "aliases": [],
4082
- "args": {
4083
- "flow_id": {
4084
- "description": "Flow ID (UUID)",
4085
- "name": "flow_id",
4086
- "required": true
4087
- }
4088
- },
4089
- "description": "Read the flow builder config (404 until the config has been written at least once)",
4090
- "examples": [
4091
- "<%= config.bin %> flows config get --app UUID 550e8400-e29b-41d4-a716-446655440000"
4092
- ],
4093
- "flags": {
4094
- "json": {
4095
- "description": "Format output as json.",
4096
- "helpGroup": "GLOBAL",
4097
- "name": "json",
4098
- "allowNo": false,
4099
- "type": "boolean"
4100
- },
4101
- "app": {
4102
- "description": "App ID (UUID)",
4103
- "name": "app",
4104
- "required": true,
4105
- "hasDynamicHelp": false,
4106
- "multiple": false,
4107
- "type": "option"
4108
- }
4109
- },
4110
- "hasDynamicHelp": false,
4111
- "hiddenAliases": [],
4112
- "id": "flows:config:get",
4113
- "pluginAlias": "adapty",
4114
- "pluginName": "adapty",
4115
- "pluginType": "core",
4116
- "strict": true,
4117
- "enableJsonFlag": true,
4118
- "isESM": true,
4119
- "relativePath": [
4120
- "dist",
4121
- "commands",
4122
- "flows",
4123
- "config",
4124
- "get.js"
4125
- ]
4126
- },
4127
- "flows:config:update": {
4128
- "aliases": [],
4129
- "args": {
4130
- "flow_id": {
4131
- "description": "Flow ID (UUID)",
4132
- "name": "flow_id",
4133
- "required": true
4134
- }
4135
- },
4136
- "description": "Write the flow builder config (creates the first version, or edits/forks the current one)",
4137
- "examples": [
4138
- "<%= config.bin %> flows config update --app UUID FLOW_UUID --config-file config.json",
4139
- "cat config.json | <%= config.bin %> flows config update --app UUID FLOW_UUID --config-file -",
4140
- "<%= config.bin %> flows config update --app UUID FLOW_UUID --config '{\"screens\":[],\"locales\":[]}' --expected-updated-at 1755001800000"
4141
- ],
4142
- "flags": {
4143
- "json": {
4144
- "description": "Format output as json.",
4145
- "helpGroup": "GLOBAL",
4146
- "name": "json",
4147
- "allowNo": false,
4148
- "type": "boolean"
4149
- },
4150
- "app": {
4151
- "description": "App ID (UUID)",
4152
- "name": "app",
4153
- "required": true,
4154
- "hasDynamicHelp": false,
4155
- "multiple": false,
4156
- "type": "option"
4157
- },
4158
- "config": {
4159
- "description": "Builder config as a JSON string",
4160
- "name": "config",
4161
- "hasDynamicHelp": false,
4162
- "multiple": false,
4163
- "type": "option"
4164
- },
4165
- "config-file": {
4166
- "description": "JSON file with the builder config, or - to read stdin",
4167
- "name": "config-file",
4168
- "hasDynamicHelp": false,
4169
- "multiple": false,
4170
- "type": "option"
4171
- },
4172
- "expected-updated-at": {
4173
- "description": "Optimistic lock: the `updated_at` from a prior config read. Omit for last-write-wins.",
4174
- "name": "expected-updated-at",
4175
- "hasDynamicHelp": false,
4176
- "multiple": false,
4177
- "type": "option"
4178
- },
4179
- "remote-configs": {
4180
- "description": "JSON array of remote config entries: [{locale, data}]",
4181
- "name": "remote-configs",
4182
- "hasDynamicHelp": false,
4183
- "multiple": false,
4184
- "type": "option"
4185
- }
4186
- },
4187
- "hasDynamicHelp": false,
4188
- "hiddenAliases": [],
4189
- "id": "flows:config:update",
4190
- "pluginAlias": "adapty",
4191
- "pluginName": "adapty",
4192
- "pluginType": "core",
4193
- "strict": true,
4194
- "enableJsonFlag": true,
4195
- "isESM": true,
4196
- "relativePath": [
4197
- "dist",
4198
- "commands",
4199
- "flows",
4200
- "config",
4201
- "update.js"
4202
- ]
4203
- },
4204
4080
  "asa:automations:create": {
4205
4081
  "aliases": [],
4206
4082
  "args": {},
@@ -4551,7 +4427,131 @@
4551
4427
  "automations",
4552
4428
  "update.js"
4553
4429
  ]
4430
+ },
4431
+ "flows:config:get": {
4432
+ "aliases": [],
4433
+ "args": {
4434
+ "flow_id": {
4435
+ "description": "Flow ID (UUID)",
4436
+ "name": "flow_id",
4437
+ "required": true
4438
+ }
4439
+ },
4440
+ "description": "Read the flow builder config (404 until the config has been written at least once)",
4441
+ "examples": [
4442
+ "<%= config.bin %> flows config get --app UUID 550e8400-e29b-41d4-a716-446655440000"
4443
+ ],
4444
+ "flags": {
4445
+ "json": {
4446
+ "description": "Format output as json.",
4447
+ "helpGroup": "GLOBAL",
4448
+ "name": "json",
4449
+ "allowNo": false,
4450
+ "type": "boolean"
4451
+ },
4452
+ "app": {
4453
+ "description": "App ID (UUID)",
4454
+ "name": "app",
4455
+ "required": true,
4456
+ "hasDynamicHelp": false,
4457
+ "multiple": false,
4458
+ "type": "option"
4459
+ }
4460
+ },
4461
+ "hasDynamicHelp": false,
4462
+ "hiddenAliases": [],
4463
+ "id": "flows:config:get",
4464
+ "pluginAlias": "adapty",
4465
+ "pluginName": "adapty",
4466
+ "pluginType": "core",
4467
+ "strict": true,
4468
+ "enableJsonFlag": true,
4469
+ "isESM": true,
4470
+ "relativePath": [
4471
+ "dist",
4472
+ "commands",
4473
+ "flows",
4474
+ "config",
4475
+ "get.js"
4476
+ ]
4477
+ },
4478
+ "flows:config:update": {
4479
+ "aliases": [],
4480
+ "args": {
4481
+ "flow_id": {
4482
+ "description": "Flow ID (UUID)",
4483
+ "name": "flow_id",
4484
+ "required": true
4485
+ }
4486
+ },
4487
+ "description": "Write the flow builder config (creates the first version, or edits/forks the current one)",
4488
+ "examples": [
4489
+ "<%= config.bin %> flows config update --app UUID FLOW_UUID --config-file config.json",
4490
+ "cat config.json | <%= config.bin %> flows config update --app UUID FLOW_UUID --config-file -",
4491
+ "<%= config.bin %> flows config update --app UUID FLOW_UUID --config '{\"screens\":[],\"locales\":[]}' --expected-updated-at 1755001800000"
4492
+ ],
4493
+ "flags": {
4494
+ "json": {
4495
+ "description": "Format output as json.",
4496
+ "helpGroup": "GLOBAL",
4497
+ "name": "json",
4498
+ "allowNo": false,
4499
+ "type": "boolean"
4500
+ },
4501
+ "app": {
4502
+ "description": "App ID (UUID)",
4503
+ "name": "app",
4504
+ "required": true,
4505
+ "hasDynamicHelp": false,
4506
+ "multiple": false,
4507
+ "type": "option"
4508
+ },
4509
+ "config": {
4510
+ "description": "Builder config as a JSON string",
4511
+ "name": "config",
4512
+ "hasDynamicHelp": false,
4513
+ "multiple": false,
4514
+ "type": "option"
4515
+ },
4516
+ "config-file": {
4517
+ "description": "JSON file with the builder config, or - to read stdin",
4518
+ "name": "config-file",
4519
+ "hasDynamicHelp": false,
4520
+ "multiple": false,
4521
+ "type": "option"
4522
+ },
4523
+ "expected-updated-at": {
4524
+ "description": "Optimistic lock: the `updated_at` from a prior config read. Omit for last-write-wins.",
4525
+ "name": "expected-updated-at",
4526
+ "hasDynamicHelp": false,
4527
+ "multiple": false,
4528
+ "type": "option"
4529
+ },
4530
+ "remote-configs": {
4531
+ "description": "JSON array of remote config entries: [{locale, data}]",
4532
+ "name": "remote-configs",
4533
+ "hasDynamicHelp": false,
4534
+ "multiple": false,
4535
+ "type": "option"
4536
+ }
4537
+ },
4538
+ "hasDynamicHelp": false,
4539
+ "hiddenAliases": [],
4540
+ "id": "flows:config:update",
4541
+ "pluginAlias": "adapty",
4542
+ "pluginName": "adapty",
4543
+ "pluginType": "core",
4544
+ "strict": true,
4545
+ "enableJsonFlag": true,
4546
+ "isESM": true,
4547
+ "relativePath": [
4548
+ "dist",
4549
+ "commands",
4550
+ "flows",
4551
+ "config",
4552
+ "update.js"
4553
+ ]
4554
4554
  }
4555
4555
  },
4556
- "version": "0.6.0-beta.0"
4556
+ "version": "0.6.0-beta.1"
4557
4557
  }