adapty 0.9.3 → 0.9.5
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 +46 -0
- package/dist/cli/input/segment.d.ts +20 -0
- package/dist/cli/input/segment.js +61 -0
- package/dist/commands/asa/change-history/get.d.ts +14 -0
- package/dist/commands/asa/change-history/get.js +39 -0
- package/dist/commands/asa/change-history/list.d.ts +27 -0
- package/dist/commands/asa/change-history/list.js +102 -0
- package/dist/commands/asa/segments/create.d.ts +17 -0
- package/dist/commands/asa/segments/create.js +53 -0
- package/dist/commands/asa/segments/list.d.ts +16 -0
- package/dist/commands/asa/segments/list.js +59 -0
- package/dist/commands/asa/segments/update.d.ts +20 -0
- package/dist/commands/asa/segments/update.js +60 -0
- package/dist/commands/segments/create.d.ts +14 -0
- package/dist/commands/segments/create.js +30 -0
- package/dist/commands/segments/update.d.ts +17 -0
- package/dist/commands/segments/update.js +35 -0
- package/dist/lib/api-schemas.d.ts +24 -0
- package/dist/lib/asa-client.d.ts +3 -0
- package/dist/lib/asa-client.js +26 -0
- package/dist/lib/asa-flags.d.ts +31 -0
- package/dist/lib/asa-flags.js +69 -0
- package/dist/lib/asa-schemas.d.ts +47 -0
- package/oclif.manifest.json +929 -362
- package/package.json +4 -4
package/oclif.manifest.json
CHANGED
|
@@ -421,6 +421,85 @@
|
|
|
421
421
|
"update.js"
|
|
422
422
|
]
|
|
423
423
|
},
|
|
424
|
+
"asa:connect": {
|
|
425
|
+
"aliases": [],
|
|
426
|
+
"args": {},
|
|
427
|
+
"description": "Connect an Apple Search Ads account to this company",
|
|
428
|
+
"examples": [
|
|
429
|
+
"<%= config.bin %> asa connect",
|
|
430
|
+
"<%= config.bin %> asa connect --no-wait"
|
|
431
|
+
],
|
|
432
|
+
"flags": {
|
|
433
|
+
"json": {
|
|
434
|
+
"description": "Format output as json.",
|
|
435
|
+
"helpGroup": "GLOBAL",
|
|
436
|
+
"name": "json",
|
|
437
|
+
"allowNo": false,
|
|
438
|
+
"type": "boolean"
|
|
439
|
+
},
|
|
440
|
+
"timeout": {
|
|
441
|
+
"description": "Seconds to wait for the browser step",
|
|
442
|
+
"name": "timeout",
|
|
443
|
+
"default": 300,
|
|
444
|
+
"hasDynamicHelp": false,
|
|
445
|
+
"multiple": false,
|
|
446
|
+
"type": "option"
|
|
447
|
+
},
|
|
448
|
+
"wait": {
|
|
449
|
+
"description": "Wait until Apple Ads reports as connected",
|
|
450
|
+
"name": "wait",
|
|
451
|
+
"allowNo": true,
|
|
452
|
+
"type": "boolean"
|
|
453
|
+
}
|
|
454
|
+
},
|
|
455
|
+
"hasDynamicHelp": false,
|
|
456
|
+
"hiddenAliases": [],
|
|
457
|
+
"id": "asa:connect",
|
|
458
|
+
"pluginAlias": "adapty",
|
|
459
|
+
"pluginName": "adapty",
|
|
460
|
+
"pluginType": "core",
|
|
461
|
+
"strict": true,
|
|
462
|
+
"enableJsonFlag": true,
|
|
463
|
+
"isESM": true,
|
|
464
|
+
"relativePath": [
|
|
465
|
+
"dist",
|
|
466
|
+
"commands",
|
|
467
|
+
"asa",
|
|
468
|
+
"connect.js"
|
|
469
|
+
]
|
|
470
|
+
},
|
|
471
|
+
"asa:whoami": {
|
|
472
|
+
"aliases": [],
|
|
473
|
+
"args": {},
|
|
474
|
+
"description": "Show which company the token unlocks, whether Apple Ads is connected, and the request budgets it gets\n\nLimits are raised per company, so read them here rather than assuming the defaults: metrics_limit_per_minute\nand metrics_burst_limit govern asa metrics, keywords_read_limit_per_minute the keyword lists,\nmetrics_inflight_limit how many analytics calls may overlap, and max_breakdown_rows_per_page the size a\ngrouped page may project to before it is refused.",
|
|
475
|
+
"examples": [
|
|
476
|
+
"<%= config.bin %> asa whoami"
|
|
477
|
+
],
|
|
478
|
+
"flags": {
|
|
479
|
+
"json": {
|
|
480
|
+
"description": "Format output as json.",
|
|
481
|
+
"helpGroup": "GLOBAL",
|
|
482
|
+
"name": "json",
|
|
483
|
+
"allowNo": false,
|
|
484
|
+
"type": "boolean"
|
|
485
|
+
}
|
|
486
|
+
},
|
|
487
|
+
"hasDynamicHelp": false,
|
|
488
|
+
"hiddenAliases": [],
|
|
489
|
+
"id": "asa:whoami",
|
|
490
|
+
"pluginAlias": "adapty",
|
|
491
|
+
"pluginName": "adapty",
|
|
492
|
+
"pluginType": "core",
|
|
493
|
+
"strict": true,
|
|
494
|
+
"enableJsonFlag": true,
|
|
495
|
+
"isESM": true,
|
|
496
|
+
"relativePath": [
|
|
497
|
+
"dist",
|
|
498
|
+
"commands",
|
|
499
|
+
"asa",
|
|
500
|
+
"whoami.js"
|
|
501
|
+
]
|
|
502
|
+
},
|
|
424
503
|
"attribution:dimensions": {
|
|
425
504
|
"aliases": [],
|
|
426
505
|
"args": {},
|
|
@@ -690,13 +769,36 @@
|
|
|
690
769
|
"values.js"
|
|
691
770
|
]
|
|
692
771
|
},
|
|
693
|
-
"
|
|
772
|
+
"auth:login": {
|
|
694
773
|
"aliases": [],
|
|
695
774
|
"args": {},
|
|
696
|
-
"description": "
|
|
775
|
+
"description": "Authenticate with Adapty via browser",
|
|
697
776
|
"examples": [
|
|
698
|
-
"<%= config.bin %>
|
|
699
|
-
|
|
777
|
+
"<%= config.bin %> auth login"
|
|
778
|
+
],
|
|
779
|
+
"flags": {},
|
|
780
|
+
"hasDynamicHelp": false,
|
|
781
|
+
"hiddenAliases": [],
|
|
782
|
+
"id": "auth:login",
|
|
783
|
+
"pluginAlias": "adapty",
|
|
784
|
+
"pluginName": "adapty",
|
|
785
|
+
"pluginType": "core",
|
|
786
|
+
"strict": true,
|
|
787
|
+
"enableJsonFlag": false,
|
|
788
|
+
"isESM": true,
|
|
789
|
+
"relativePath": [
|
|
790
|
+
"dist",
|
|
791
|
+
"commands",
|
|
792
|
+
"auth",
|
|
793
|
+
"login.js"
|
|
794
|
+
]
|
|
795
|
+
},
|
|
796
|
+
"auth:logout": {
|
|
797
|
+
"aliases": [],
|
|
798
|
+
"args": {},
|
|
799
|
+
"description": "Remove stored credentials and the saved migration selection",
|
|
800
|
+
"examples": [
|
|
801
|
+
"<%= config.bin %> auth logout"
|
|
700
802
|
],
|
|
701
803
|
"flags": {
|
|
702
804
|
"json": {
|
|
@@ -705,25 +807,43 @@
|
|
|
705
807
|
"name": "json",
|
|
706
808
|
"allowNo": false,
|
|
707
809
|
"type": "boolean"
|
|
708
|
-
}
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
810
|
+
}
|
|
811
|
+
},
|
|
812
|
+
"hasDynamicHelp": false,
|
|
813
|
+
"hiddenAliases": [],
|
|
814
|
+
"id": "auth:logout",
|
|
815
|
+
"pluginAlias": "adapty",
|
|
816
|
+
"pluginName": "adapty",
|
|
817
|
+
"pluginType": "core",
|
|
818
|
+
"strict": true,
|
|
819
|
+
"enableJsonFlag": true,
|
|
820
|
+
"isESM": true,
|
|
821
|
+
"relativePath": [
|
|
822
|
+
"dist",
|
|
823
|
+
"commands",
|
|
824
|
+
"auth",
|
|
825
|
+
"logout.js"
|
|
826
|
+
]
|
|
827
|
+
},
|
|
828
|
+
"auth:revoke": {
|
|
829
|
+
"aliases": [],
|
|
830
|
+
"args": {},
|
|
831
|
+
"description": "Revoke the current token and remove matching stored credentials and migration selection",
|
|
832
|
+
"examples": [
|
|
833
|
+
"<%= config.bin %> auth revoke"
|
|
834
|
+
],
|
|
835
|
+
"flags": {
|
|
836
|
+
"json": {
|
|
837
|
+
"description": "Format output as json.",
|
|
838
|
+
"helpGroup": "GLOBAL",
|
|
839
|
+
"name": "json",
|
|
840
|
+
"allowNo": false,
|
|
721
841
|
"type": "boolean"
|
|
722
842
|
}
|
|
723
843
|
},
|
|
724
844
|
"hasDynamicHelp": false,
|
|
725
845
|
"hiddenAliases": [],
|
|
726
|
-
"id": "
|
|
846
|
+
"id": "auth:revoke",
|
|
727
847
|
"pluginAlias": "adapty",
|
|
728
848
|
"pluginName": "adapty",
|
|
729
849
|
"pluginType": "core",
|
|
@@ -733,16 +853,16 @@
|
|
|
733
853
|
"relativePath": [
|
|
734
854
|
"dist",
|
|
735
855
|
"commands",
|
|
736
|
-
"
|
|
737
|
-
"
|
|
856
|
+
"auth",
|
|
857
|
+
"revoke.js"
|
|
738
858
|
]
|
|
739
859
|
},
|
|
740
|
-
"
|
|
860
|
+
"auth:status": {
|
|
741
861
|
"aliases": [],
|
|
742
862
|
"args": {},
|
|
743
|
-
"description": "Show
|
|
863
|
+
"description": "Show the local authentication state (no network)",
|
|
744
864
|
"examples": [
|
|
745
|
-
"<%= config.bin %>
|
|
865
|
+
"<%= config.bin %> auth status"
|
|
746
866
|
],
|
|
747
867
|
"flags": {
|
|
748
868
|
"json": {
|
|
@@ -755,7 +875,7 @@
|
|
|
755
875
|
},
|
|
756
876
|
"hasDynamicHelp": false,
|
|
757
877
|
"hiddenAliases": [],
|
|
758
|
-
"id": "
|
|
878
|
+
"id": "auth:status",
|
|
759
879
|
"pluginAlias": "adapty",
|
|
760
880
|
"pluginName": "adapty",
|
|
761
881
|
"pluginType": "core",
|
|
@@ -765,7 +885,38 @@
|
|
|
765
885
|
"relativePath": [
|
|
766
886
|
"dist",
|
|
767
887
|
"commands",
|
|
768
|
-
"
|
|
888
|
+
"auth",
|
|
889
|
+
"status.js"
|
|
890
|
+
]
|
|
891
|
+
},
|
|
892
|
+
"auth:whoami": {
|
|
893
|
+
"aliases": [],
|
|
894
|
+
"args": {},
|
|
895
|
+
"description": "Show the current user from the server (verifies the token)",
|
|
896
|
+
"examples": [
|
|
897
|
+
"<%= config.bin %> auth whoami"
|
|
898
|
+
],
|
|
899
|
+
"flags": {
|
|
900
|
+
"json": {
|
|
901
|
+
"description": "Format output as json.",
|
|
902
|
+
"helpGroup": "GLOBAL",
|
|
903
|
+
"name": "json",
|
|
904
|
+
"allowNo": false,
|
|
905
|
+
"type": "boolean"
|
|
906
|
+
}
|
|
907
|
+
},
|
|
908
|
+
"hasDynamicHelp": false,
|
|
909
|
+
"hiddenAliases": [],
|
|
910
|
+
"id": "auth:whoami",
|
|
911
|
+
"pluginAlias": "adapty",
|
|
912
|
+
"pluginName": "adapty",
|
|
913
|
+
"pluginType": "core",
|
|
914
|
+
"strict": true,
|
|
915
|
+
"isESM": true,
|
|
916
|
+
"relativePath": [
|
|
917
|
+
"dist",
|
|
918
|
+
"commands",
|
|
919
|
+
"auth",
|
|
769
920
|
"whoami.js"
|
|
770
921
|
]
|
|
771
922
|
},
|
|
@@ -1902,14 +2053,13 @@
|
|
|
1902
2053
|
"update.js"
|
|
1903
2054
|
]
|
|
1904
2055
|
},
|
|
1905
|
-
"
|
|
2056
|
+
"segments:create": {
|
|
1906
2057
|
"aliases": [],
|
|
1907
2058
|
"args": {},
|
|
1908
|
-
"description": "Create a
|
|
2059
|
+
"description": "Create a segment from filters over profile fields\n\nFilters are written as field:OPERATOR:value[,value...] and validated by the server. Apple Search Ads\nattribution uses campaign, ad_group and creative (a keyword) with Apple ids as values; build those from\nASA entities with `asa segments create` instead of copying ids by hand.",
|
|
1909
2060
|
"examples": [
|
|
1910
|
-
"<%= config.bin %>
|
|
1911
|
-
"<%= config.bin %>
|
|
1912
|
-
"<%= config.bin %> placements create --app UUID --title \"Default\" --developer-id default --paywall-id PAYWALL_UUID"
|
|
2061
|
+
"<%= config.bin %> segments create --app UUID --title \"[ASA] Campaign: Brand\" --filter campaign:IN:2144520245",
|
|
2062
|
+
"<%= config.bin %> segments create --app UUID --title \"US installs\" --filter ip_country:IN:US --filter install_date:>=:2026-01-01"
|
|
1913
2063
|
],
|
|
1914
2064
|
"flags": {
|
|
1915
2065
|
"json": {
|
|
@@ -1927,30 +2077,23 @@
|
|
|
1927
2077
|
"multiple": false,
|
|
1928
2078
|
"type": "option"
|
|
1929
2079
|
},
|
|
1930
|
-
"
|
|
1931
|
-
"description": "
|
|
1932
|
-
"name": "
|
|
2080
|
+
"description": {
|
|
2081
|
+
"description": "Segment description",
|
|
2082
|
+
"name": "description",
|
|
1933
2083
|
"hasDynamicHelp": false,
|
|
1934
2084
|
"multiple": false,
|
|
1935
2085
|
"type": "option"
|
|
1936
2086
|
},
|
|
1937
|
-
"
|
|
1938
|
-
"description": "
|
|
1939
|
-
"name": "
|
|
2087
|
+
"filter": {
|
|
2088
|
+
"description": "Filter as field:OPERATOR:value[,value...] (e.g. campaign:IN:2144520245), field:IS NULL, or a JSON object {\"field_name\",\"operator\",\"value_list\"}; repeatable",
|
|
2089
|
+
"name": "filter",
|
|
1940
2090
|
"required": true,
|
|
1941
2091
|
"hasDynamicHelp": false,
|
|
1942
|
-
"multiple":
|
|
1943
|
-
"type": "option"
|
|
1944
|
-
},
|
|
1945
|
-
"paywall-id": {
|
|
1946
|
-
"description": "Paywall ID (UUID). DEPRECATED: use --audiences.",
|
|
1947
|
-
"name": "paywall-id",
|
|
1948
|
-
"hasDynamicHelp": false,
|
|
1949
|
-
"multiple": false,
|
|
2092
|
+
"multiple": true,
|
|
1950
2093
|
"type": "option"
|
|
1951
2094
|
},
|
|
1952
2095
|
"title": {
|
|
1953
|
-
"description": "
|
|
2096
|
+
"description": "Segment title",
|
|
1954
2097
|
"name": "title",
|
|
1955
2098
|
"required": true,
|
|
1956
2099
|
"hasDynamicHelp": false,
|
|
@@ -1960,7 +2103,7 @@
|
|
|
1960
2103
|
},
|
|
1961
2104
|
"hasDynamicHelp": false,
|
|
1962
2105
|
"hiddenAliases": [],
|
|
1963
|
-
"id": "
|
|
2106
|
+
"id": "segments:create",
|
|
1964
2107
|
"pluginAlias": "adapty",
|
|
1965
2108
|
"pluginName": "adapty",
|
|
1966
2109
|
"pluginType": "core",
|
|
@@ -1970,22 +2113,22 @@
|
|
|
1970
2113
|
"relativePath": [
|
|
1971
2114
|
"dist",
|
|
1972
2115
|
"commands",
|
|
1973
|
-
"
|
|
2116
|
+
"segments",
|
|
1974
2117
|
"create.js"
|
|
1975
2118
|
]
|
|
1976
2119
|
},
|
|
1977
|
-
"
|
|
2120
|
+
"segments:get": {
|
|
1978
2121
|
"aliases": [],
|
|
1979
2122
|
"args": {
|
|
1980
|
-
"
|
|
1981
|
-
"description": "
|
|
1982
|
-
"name": "
|
|
2123
|
+
"segment_id": {
|
|
2124
|
+
"description": "Segment ID (UUID)",
|
|
2125
|
+
"name": "segment_id",
|
|
1983
2126
|
"required": true
|
|
1984
2127
|
}
|
|
1985
2128
|
},
|
|
1986
|
-
"description": "Get
|
|
2129
|
+
"description": "Get segment details",
|
|
1987
2130
|
"examples": [
|
|
1988
|
-
"<%= config.bin %>
|
|
2131
|
+
"<%= config.bin %> segments get --app UUID 550e8400-e29b-41d4-a716-446655440000"
|
|
1989
2132
|
],
|
|
1990
2133
|
"flags": {
|
|
1991
2134
|
"json": {
|
|
@@ -2006,7 +2149,7 @@
|
|
|
2006
2149
|
},
|
|
2007
2150
|
"hasDynamicHelp": false,
|
|
2008
2151
|
"hiddenAliases": [],
|
|
2009
|
-
"id": "
|
|
2152
|
+
"id": "segments:get",
|
|
2010
2153
|
"pluginAlias": "adapty",
|
|
2011
2154
|
"pluginName": "adapty",
|
|
2012
2155
|
"pluginType": "core",
|
|
@@ -2016,16 +2159,16 @@
|
|
|
2016
2159
|
"relativePath": [
|
|
2017
2160
|
"dist",
|
|
2018
2161
|
"commands",
|
|
2019
|
-
"
|
|
2162
|
+
"segments",
|
|
2020
2163
|
"get.js"
|
|
2021
2164
|
]
|
|
2022
2165
|
},
|
|
2023
|
-
"
|
|
2166
|
+
"segments:list": {
|
|
2024
2167
|
"aliases": [],
|
|
2025
2168
|
"args": {},
|
|
2026
|
-
"description": "List
|
|
2169
|
+
"description": "List segments for an app",
|
|
2027
2170
|
"examples": [
|
|
2028
|
-
"<%= config.bin %>
|
|
2171
|
+
"<%= config.bin %> segments list --app 550e8400-..."
|
|
2029
2172
|
],
|
|
2030
2173
|
"flags": {
|
|
2031
2174
|
"json": {
|
|
@@ -2062,7 +2205,7 @@
|
|
|
2062
2205
|
},
|
|
2063
2206
|
"hasDynamicHelp": false,
|
|
2064
2207
|
"hiddenAliases": [],
|
|
2065
|
-
"id": "
|
|
2208
|
+
"id": "segments:list",
|
|
2066
2209
|
"pluginAlias": "adapty",
|
|
2067
2210
|
"pluginName": "adapty",
|
|
2068
2211
|
"pluginType": "core",
|
|
@@ -2072,24 +2215,22 @@
|
|
|
2072
2215
|
"relativePath": [
|
|
2073
2216
|
"dist",
|
|
2074
2217
|
"commands",
|
|
2075
|
-
"
|
|
2218
|
+
"segments",
|
|
2076
2219
|
"list.js"
|
|
2077
2220
|
]
|
|
2078
2221
|
},
|
|
2079
|
-
"
|
|
2222
|
+
"segments:update": {
|
|
2080
2223
|
"aliases": [],
|
|
2081
2224
|
"args": {
|
|
2082
|
-
"
|
|
2083
|
-
"description": "
|
|
2084
|
-
"name": "
|
|
2225
|
+
"segment_id": {
|
|
2226
|
+
"description": "Segment ID (UUID)",
|
|
2227
|
+
"name": "segment_id",
|
|
2085
2228
|
"required": true
|
|
2086
2229
|
}
|
|
2087
2230
|
},
|
|
2088
|
-
"description": "
|
|
2231
|
+
"description": "Replace a segment's title, description and filters\n\nThe server takes the whole segment, as the dashboard sends it: pass every filter you want to keep, not only\nthe changed one. Read the current ones with `segments get`.",
|
|
2089
2232
|
"examples": [
|
|
2090
|
-
"<%= config.bin %>
|
|
2091
|
-
"<%= config.bin %> placements update --app UUID 550e8400-... --title \"Default\" --developer-id default --audiences '[{\"content_type\":\"flow\",\"segment_ids\":[],\"flow_id\":\"FLOW_UUID\",\"priority\":0}]'",
|
|
2092
|
-
"<%= config.bin %> placements update --app UUID 550e8400-... --title \"Default\" --developer-id default --paywall-id PAYWALL_UUID"
|
|
2233
|
+
"<%= config.bin %> segments update --app UUID 550e8400-e29b-41d4-a716-446655440000 --title \"[ASA] Campaign: Brand\" --filter campaign:IN:2144520245"
|
|
2093
2234
|
],
|
|
2094
2235
|
"flags": {
|
|
2095
2236
|
"json": {
|
|
@@ -2107,30 +2248,23 @@
|
|
|
2107
2248
|
"multiple": false,
|
|
2108
2249
|
"type": "option"
|
|
2109
2250
|
},
|
|
2110
|
-
"
|
|
2111
|
-
"description": "
|
|
2112
|
-
"name": "
|
|
2251
|
+
"description": {
|
|
2252
|
+
"description": "Segment description",
|
|
2253
|
+
"name": "description",
|
|
2113
2254
|
"hasDynamicHelp": false,
|
|
2114
2255
|
"multiple": false,
|
|
2115
2256
|
"type": "option"
|
|
2116
2257
|
},
|
|
2117
|
-
"
|
|
2118
|
-
"description": "
|
|
2119
|
-
"name": "
|
|
2258
|
+
"filter": {
|
|
2259
|
+
"description": "Filter as field:OPERATOR:value[,value...] (e.g. campaign:IN:2144520245), field:IS NULL, or a JSON object {\"field_name\",\"operator\",\"value_list\"}; repeatable",
|
|
2260
|
+
"name": "filter",
|
|
2120
2261
|
"required": true,
|
|
2121
2262
|
"hasDynamicHelp": false,
|
|
2122
|
-
"multiple":
|
|
2123
|
-
"type": "option"
|
|
2124
|
-
},
|
|
2125
|
-
"paywall-id": {
|
|
2126
|
-
"description": "Paywall ID (UUID). DEPRECATED: use --audiences.",
|
|
2127
|
-
"name": "paywall-id",
|
|
2128
|
-
"hasDynamicHelp": false,
|
|
2129
|
-
"multiple": false,
|
|
2263
|
+
"multiple": true,
|
|
2130
2264
|
"type": "option"
|
|
2131
2265
|
},
|
|
2132
2266
|
"title": {
|
|
2133
|
-
"description": "
|
|
2267
|
+
"description": "Segment title",
|
|
2134
2268
|
"name": "title",
|
|
2135
2269
|
"required": true,
|
|
2136
2270
|
"hasDynamicHelp": false,
|
|
@@ -2140,7 +2274,7 @@
|
|
|
2140
2274
|
},
|
|
2141
2275
|
"hasDynamicHelp": false,
|
|
2142
2276
|
"hiddenAliases": [],
|
|
2143
|
-
"id": "
|
|
2277
|
+
"id": "segments:update",
|
|
2144
2278
|
"pluginAlias": "adapty",
|
|
2145
2279
|
"pluginName": "adapty",
|
|
2146
2280
|
"pluginType": "core",
|
|
@@ -2150,16 +2284,18 @@
|
|
|
2150
2284
|
"relativePath": [
|
|
2151
2285
|
"dist",
|
|
2152
2286
|
"commands",
|
|
2153
|
-
"
|
|
2287
|
+
"segments",
|
|
2154
2288
|
"update.js"
|
|
2155
2289
|
]
|
|
2156
2290
|
},
|
|
2157
|
-
"
|
|
2291
|
+
"placements:create": {
|
|
2158
2292
|
"aliases": [],
|
|
2159
2293
|
"args": {},
|
|
2160
|
-
"description": "Create a
|
|
2294
|
+
"description": "Create a placement with a paywall",
|
|
2161
2295
|
"examples": [
|
|
2162
|
-
"<%= config.bin %>
|
|
2296
|
+
"<%= config.bin %> placements create --app UUID --title \"Default\" --developer-id default --audiences '[{\"content_type\":\"paywall\",\"segment_ids\":[],\"paywall_id\":\"PAYWALL_UUID\",\"priority\":0}]'",
|
|
2297
|
+
"<%= config.bin %> placements create --app UUID --title \"Default\" --developer-id default --audiences '[{\"content_type\":\"flow\",\"segment_ids\":[],\"flow_id\":\"FLOW_UUID\",\"priority\":0}]'",
|
|
2298
|
+
"<%= config.bin %> placements create --app UUID --title \"Default\" --developer-id default --paywall-id PAYWALL_UUID"
|
|
2163
2299
|
],
|
|
2164
2300
|
"flags": {
|
|
2165
2301
|
"json": {
|
|
@@ -2177,80 +2313,30 @@
|
|
|
2177
2313
|
"multiple": false,
|
|
2178
2314
|
"type": "option"
|
|
2179
2315
|
},
|
|
2180
|
-
"
|
|
2181
|
-
"description": "
|
|
2182
|
-
"name": "
|
|
2183
|
-
"required": true,
|
|
2184
|
-
"hasDynamicHelp": false,
|
|
2185
|
-
"multiple": false,
|
|
2186
|
-
"type": "option"
|
|
2187
|
-
},
|
|
2188
|
-
"android-base-plan-id": {
|
|
2189
|
-
"description": "Android base plan ID",
|
|
2190
|
-
"helpGroup": "STORE BINDINGS",
|
|
2191
|
-
"name": "android-base-plan-id",
|
|
2192
|
-
"hasDynamicHelp": false,
|
|
2193
|
-
"multiple": false,
|
|
2194
|
-
"type": "option"
|
|
2195
|
-
},
|
|
2196
|
-
"android-product-id": {
|
|
2197
|
-
"description": "Android product ID",
|
|
2198
|
-
"helpGroup": "STORE BINDINGS",
|
|
2199
|
-
"name": "android-product-id",
|
|
2200
|
-
"hasDynamicHelp": false,
|
|
2201
|
-
"multiple": false,
|
|
2202
|
-
"type": "option"
|
|
2203
|
-
},
|
|
2204
|
-
"ios-product-id": {
|
|
2205
|
-
"description": "iOS product ID",
|
|
2206
|
-
"helpGroup": "STORE BINDINGS",
|
|
2207
|
-
"name": "ios-product-id",
|
|
2208
|
-
"hasDynamicHelp": false,
|
|
2209
|
-
"multiple": false,
|
|
2210
|
-
"type": "option"
|
|
2211
|
-
},
|
|
2212
|
-
"paddle-price-id": {
|
|
2213
|
-
"description": "Paddle price ID (requires --paddle-product-id)",
|
|
2214
|
-
"helpGroup": "STORE BINDINGS",
|
|
2215
|
-
"name": "paddle-price-id",
|
|
2216
|
-
"hasDynamicHelp": false,
|
|
2217
|
-
"multiple": false,
|
|
2218
|
-
"type": "option"
|
|
2219
|
-
},
|
|
2220
|
-
"paddle-product-id": {
|
|
2221
|
-
"description": "Paddle product ID (requires --paddle-price-id)",
|
|
2222
|
-
"helpGroup": "STORE BINDINGS",
|
|
2223
|
-
"name": "paddle-product-id",
|
|
2316
|
+
"audiences": {
|
|
2317
|
+
"description": "JSON array of audience entries. Every entry needs an explicit content_type. Paywall: {content_type:\"paywall\", segment_ids, paywall_id, priority}. Flow: {content_type:\"flow\", segment_ids, flow_id, priority}. A flow must be published first (flows publish) — attaching a draft flow returns 400.",
|
|
2318
|
+
"name": "audiences",
|
|
2224
2319
|
"hasDynamicHelp": false,
|
|
2225
2320
|
"multiple": false,
|
|
2226
2321
|
"type": "option"
|
|
2227
2322
|
},
|
|
2228
|
-
"
|
|
2229
|
-
"description": "
|
|
2230
|
-
"name": "
|
|
2323
|
+
"developer-id": {
|
|
2324
|
+
"description": "Developer ID for the placement",
|
|
2325
|
+
"name": "developer-id",
|
|
2231
2326
|
"required": true,
|
|
2232
2327
|
"hasDynamicHelp": false,
|
|
2233
2328
|
"multiple": false,
|
|
2234
2329
|
"type": "option"
|
|
2235
2330
|
},
|
|
2236
|
-
"
|
|
2237
|
-
"description": "
|
|
2238
|
-
"
|
|
2239
|
-
"name": "stripe-price-id",
|
|
2240
|
-
"hasDynamicHelp": false,
|
|
2241
|
-
"multiple": false,
|
|
2242
|
-
"type": "option"
|
|
2243
|
-
},
|
|
2244
|
-
"stripe-product-id": {
|
|
2245
|
-
"description": "Stripe product ID (requires --stripe-price-id)",
|
|
2246
|
-
"helpGroup": "STORE BINDINGS",
|
|
2247
|
-
"name": "stripe-product-id",
|
|
2331
|
+
"paywall-id": {
|
|
2332
|
+
"description": "Paywall ID (UUID). DEPRECATED: use --audiences.",
|
|
2333
|
+
"name": "paywall-id",
|
|
2248
2334
|
"hasDynamicHelp": false,
|
|
2249
2335
|
"multiple": false,
|
|
2250
2336
|
"type": "option"
|
|
2251
2337
|
},
|
|
2252
2338
|
"title": {
|
|
2253
|
-
"description": "
|
|
2339
|
+
"description": "Placement title",
|
|
2254
2340
|
"name": "title",
|
|
2255
2341
|
"required": true,
|
|
2256
2342
|
"hasDynamicHelp": false,
|
|
@@ -2260,7 +2346,7 @@
|
|
|
2260
2346
|
},
|
|
2261
2347
|
"hasDynamicHelp": false,
|
|
2262
2348
|
"hiddenAliases": [],
|
|
2263
|
-
"id": "
|
|
2349
|
+
"id": "placements:create",
|
|
2264
2350
|
"pluginAlias": "adapty",
|
|
2265
2351
|
"pluginName": "adapty",
|
|
2266
2352
|
"pluginType": "core",
|
|
@@ -2270,22 +2356,22 @@
|
|
|
2270
2356
|
"relativePath": [
|
|
2271
2357
|
"dist",
|
|
2272
2358
|
"commands",
|
|
2273
|
-
"
|
|
2359
|
+
"placements",
|
|
2274
2360
|
"create.js"
|
|
2275
2361
|
]
|
|
2276
2362
|
},
|
|
2277
|
-
"
|
|
2363
|
+
"placements:get": {
|
|
2278
2364
|
"aliases": [],
|
|
2279
2365
|
"args": {
|
|
2280
|
-
"
|
|
2281
|
-
"description": "
|
|
2282
|
-
"name": "
|
|
2366
|
+
"placement_id": {
|
|
2367
|
+
"description": "Placement ID (UUID)",
|
|
2368
|
+
"name": "placement_id",
|
|
2283
2369
|
"required": true
|
|
2284
2370
|
}
|
|
2285
2371
|
},
|
|
2286
|
-
"description": "Get
|
|
2372
|
+
"description": "Get placement details",
|
|
2287
2373
|
"examples": [
|
|
2288
|
-
"<%= config.bin %>
|
|
2374
|
+
"<%= config.bin %> placements get --app UUID 550e8400-e29b-41d4-a716-446655440000"
|
|
2289
2375
|
],
|
|
2290
2376
|
"flags": {
|
|
2291
2377
|
"json": {
|
|
@@ -2306,7 +2392,7 @@
|
|
|
2306
2392
|
},
|
|
2307
2393
|
"hasDynamicHelp": false,
|
|
2308
2394
|
"hiddenAliases": [],
|
|
2309
|
-
"id": "
|
|
2395
|
+
"id": "placements:get",
|
|
2310
2396
|
"pluginAlias": "adapty",
|
|
2311
2397
|
"pluginName": "adapty",
|
|
2312
2398
|
"pluginType": "core",
|
|
@@ -2316,16 +2402,16 @@
|
|
|
2316
2402
|
"relativePath": [
|
|
2317
2403
|
"dist",
|
|
2318
2404
|
"commands",
|
|
2319
|
-
"
|
|
2405
|
+
"placements",
|
|
2320
2406
|
"get.js"
|
|
2321
2407
|
]
|
|
2322
2408
|
},
|
|
2323
|
-
"
|
|
2409
|
+
"placements:list": {
|
|
2324
2410
|
"aliases": [],
|
|
2325
2411
|
"args": {},
|
|
2326
|
-
"description": "List
|
|
2412
|
+
"description": "List placements for an app",
|
|
2327
2413
|
"examples": [
|
|
2328
|
-
"<%= config.bin %>
|
|
2414
|
+
"<%= config.bin %> placements list --app 550e8400-..."
|
|
2329
2415
|
],
|
|
2330
2416
|
"flags": {
|
|
2331
2417
|
"json": {
|
|
@@ -2362,7 +2448,7 @@
|
|
|
2362
2448
|
},
|
|
2363
2449
|
"hasDynamicHelp": false,
|
|
2364
2450
|
"hiddenAliases": [],
|
|
2365
|
-
"id": "
|
|
2451
|
+
"id": "placements:list",
|
|
2366
2452
|
"pluginAlias": "adapty",
|
|
2367
2453
|
"pluginName": "adapty",
|
|
2368
2454
|
"pluginType": "core",
|
|
@@ -2372,22 +2458,24 @@
|
|
|
2372
2458
|
"relativePath": [
|
|
2373
2459
|
"dist",
|
|
2374
2460
|
"commands",
|
|
2375
|
-
"
|
|
2461
|
+
"placements",
|
|
2376
2462
|
"list.js"
|
|
2377
2463
|
]
|
|
2378
2464
|
},
|
|
2379
|
-
"
|
|
2465
|
+
"placements:update": {
|
|
2380
2466
|
"aliases": [],
|
|
2381
2467
|
"args": {
|
|
2382
|
-
"
|
|
2383
|
-
"description": "
|
|
2384
|
-
"name": "
|
|
2468
|
+
"placement_id": {
|
|
2469
|
+
"description": "Placement ID (UUID)",
|
|
2470
|
+
"name": "placement_id",
|
|
2385
2471
|
"required": true
|
|
2386
2472
|
}
|
|
2387
2473
|
},
|
|
2388
|
-
"description": "Update a
|
|
2474
|
+
"description": "Update a placement",
|
|
2389
2475
|
"examples": [
|
|
2390
|
-
"<%= config.bin %>
|
|
2476
|
+
"<%= config.bin %> placements update --app UUID 550e8400-... --title \"Default\" --developer-id default --audiences '[{\"content_type\":\"paywall\",\"segment_ids\":[],\"paywall_id\":\"PAYWALL_UUID\",\"priority\":0}]'",
|
|
2477
|
+
"<%= config.bin %> placements update --app UUID 550e8400-... --title \"Default\" --developer-id default --audiences '[{\"content_type\":\"flow\",\"segment_ids\":[],\"flow_id\":\"FLOW_UUID\",\"priority\":0}]'",
|
|
2478
|
+
"<%= config.bin %> placements update --app UUID 550e8400-... --title \"Default\" --developer-id default --paywall-id PAYWALL_UUID"
|
|
2391
2479
|
],
|
|
2392
2480
|
"flags": {
|
|
2393
2481
|
"json": {
|
|
@@ -2405,128 +2493,40 @@
|
|
|
2405
2493
|
"multiple": false,
|
|
2406
2494
|
"type": "option"
|
|
2407
2495
|
},
|
|
2408
|
-
"
|
|
2409
|
-
"description": "
|
|
2410
|
-
"name": "
|
|
2411
|
-
"required": true,
|
|
2496
|
+
"audiences": {
|
|
2497
|
+
"description": "JSON array of audience entries. Every entry needs an explicit content_type. Paywall: {content_type:\"paywall\", segment_ids, paywall_id, priority}. Flow: {content_type:\"flow\", segment_ids, flow_id, priority}. A flow must be published first (flows publish) — attaching a draft flow returns 400.",
|
|
2498
|
+
"name": "audiences",
|
|
2412
2499
|
"hasDynamicHelp": false,
|
|
2413
2500
|
"multiple": false,
|
|
2414
2501
|
"type": "option"
|
|
2415
2502
|
},
|
|
2416
|
-
"
|
|
2417
|
-
"description": "
|
|
2418
|
-
"name": "
|
|
2503
|
+
"developer-id": {
|
|
2504
|
+
"description": "Developer ID for the placement",
|
|
2505
|
+
"name": "developer-id",
|
|
2419
2506
|
"required": true,
|
|
2420
2507
|
"hasDynamicHelp": false,
|
|
2421
2508
|
"multiple": false,
|
|
2422
2509
|
"type": "option"
|
|
2423
|
-
}
|
|
2424
|
-
},
|
|
2425
|
-
"hasDynamicHelp": false,
|
|
2426
|
-
"hiddenAliases": [],
|
|
2427
|
-
"id": "products:update",
|
|
2428
|
-
"pluginAlias": "adapty",
|
|
2429
|
-
"pluginName": "adapty",
|
|
2430
|
-
"pluginType": "core",
|
|
2431
|
-
"strict": true,
|
|
2432
|
-
"enableJsonFlag": true,
|
|
2433
|
-
"isESM": true,
|
|
2434
|
-
"relativePath": [
|
|
2435
|
-
"dist",
|
|
2436
|
-
"commands",
|
|
2437
|
-
"products",
|
|
2438
|
-
"update.js"
|
|
2439
|
-
]
|
|
2440
|
-
},
|
|
2441
|
-
"segments:get": {
|
|
2442
|
-
"aliases": [],
|
|
2443
|
-
"args": {
|
|
2444
|
-
"segment_id": {
|
|
2445
|
-
"description": "Segment ID (UUID)",
|
|
2446
|
-
"name": "segment_id",
|
|
2447
|
-
"required": true
|
|
2448
|
-
}
|
|
2449
|
-
},
|
|
2450
|
-
"description": "Get segment details",
|
|
2451
|
-
"examples": [
|
|
2452
|
-
"<%= config.bin %> segments get --app UUID 550e8400-e29b-41d4-a716-446655440000"
|
|
2453
|
-
],
|
|
2454
|
-
"flags": {
|
|
2455
|
-
"json": {
|
|
2456
|
-
"description": "Format output as json.",
|
|
2457
|
-
"helpGroup": "GLOBAL",
|
|
2458
|
-
"name": "json",
|
|
2459
|
-
"allowNo": false,
|
|
2460
|
-
"type": "boolean"
|
|
2461
2510
|
},
|
|
2462
|
-
"
|
|
2463
|
-
"description": "
|
|
2464
|
-
"name": "
|
|
2465
|
-
"required": true,
|
|
2511
|
+
"paywall-id": {
|
|
2512
|
+
"description": "Paywall ID (UUID). DEPRECATED: use --audiences.",
|
|
2513
|
+
"name": "paywall-id",
|
|
2466
2514
|
"hasDynamicHelp": false,
|
|
2467
2515
|
"multiple": false,
|
|
2468
2516
|
"type": "option"
|
|
2469
|
-
}
|
|
2470
|
-
},
|
|
2471
|
-
"hasDynamicHelp": false,
|
|
2472
|
-
"hiddenAliases": [],
|
|
2473
|
-
"id": "segments:get",
|
|
2474
|
-
"pluginAlias": "adapty",
|
|
2475
|
-
"pluginName": "adapty",
|
|
2476
|
-
"pluginType": "core",
|
|
2477
|
-
"strict": true,
|
|
2478
|
-
"enableJsonFlag": true,
|
|
2479
|
-
"isESM": true,
|
|
2480
|
-
"relativePath": [
|
|
2481
|
-
"dist",
|
|
2482
|
-
"commands",
|
|
2483
|
-
"segments",
|
|
2484
|
-
"get.js"
|
|
2485
|
-
]
|
|
2486
|
-
},
|
|
2487
|
-
"segments:list": {
|
|
2488
|
-
"aliases": [],
|
|
2489
|
-
"args": {},
|
|
2490
|
-
"description": "List segments for an app",
|
|
2491
|
-
"examples": [
|
|
2492
|
-
"<%= config.bin %> segments list --app 550e8400-..."
|
|
2493
|
-
],
|
|
2494
|
-
"flags": {
|
|
2495
|
-
"json": {
|
|
2496
|
-
"description": "Format output as json.",
|
|
2497
|
-
"helpGroup": "GLOBAL",
|
|
2498
|
-
"name": "json",
|
|
2499
|
-
"allowNo": false,
|
|
2500
|
-
"type": "boolean"
|
|
2501
2517
|
},
|
|
2502
|
-
"
|
|
2503
|
-
"description": "
|
|
2504
|
-
"name": "
|
|
2518
|
+
"title": {
|
|
2519
|
+
"description": "Placement title",
|
|
2520
|
+
"name": "title",
|
|
2505
2521
|
"required": true,
|
|
2506
2522
|
"hasDynamicHelp": false,
|
|
2507
2523
|
"multiple": false,
|
|
2508
2524
|
"type": "option"
|
|
2509
|
-
},
|
|
2510
|
-
"page": {
|
|
2511
|
-
"description": "Page number",
|
|
2512
|
-
"name": "page",
|
|
2513
|
-
"default": 1,
|
|
2514
|
-
"hasDynamicHelp": false,
|
|
2515
|
-
"multiple": false,
|
|
2516
|
-
"type": "option"
|
|
2517
|
-
},
|
|
2518
|
-
"page-size": {
|
|
2519
|
-
"description": "Items per page (max 100)",
|
|
2520
|
-
"name": "page-size",
|
|
2521
|
-
"default": 20,
|
|
2522
|
-
"hasDynamicHelp": false,
|
|
2523
|
-
"multiple": false,
|
|
2524
|
-
"type": "option"
|
|
2525
2525
|
}
|
|
2526
2526
|
},
|
|
2527
2527
|
"hasDynamicHelp": false,
|
|
2528
2528
|
"hiddenAliases": [],
|
|
2529
|
-
"id": "
|
|
2529
|
+
"id": "placements:update",
|
|
2530
2530
|
"pluginAlias": "adapty",
|
|
2531
2531
|
"pluginName": "adapty",
|
|
2532
2532
|
"pluginType": "core",
|
|
@@ -2536,8 +2536,8 @@
|
|
|
2536
2536
|
"relativePath": [
|
|
2537
2537
|
"dist",
|
|
2538
2538
|
"commands",
|
|
2539
|
-
"
|
|
2540
|
-
"
|
|
2539
|
+
"placements",
|
|
2540
|
+
"update.js"
|
|
2541
2541
|
]
|
|
2542
2542
|
},
|
|
2543
2543
|
"skills:install": {
|
|
@@ -2593,36 +2593,12 @@
|
|
|
2593
2593
|
"install.js"
|
|
2594
2594
|
]
|
|
2595
2595
|
},
|
|
2596
|
-
"
|
|
2597
|
-
"aliases": [],
|
|
2598
|
-
"args": {},
|
|
2599
|
-
"description": "Authenticate with Adapty via browser",
|
|
2600
|
-
"examples": [
|
|
2601
|
-
"<%= config.bin %> auth login"
|
|
2602
|
-
],
|
|
2603
|
-
"flags": {},
|
|
2604
|
-
"hasDynamicHelp": false,
|
|
2605
|
-
"hiddenAliases": [],
|
|
2606
|
-
"id": "auth:login",
|
|
2607
|
-
"pluginAlias": "adapty",
|
|
2608
|
-
"pluginName": "adapty",
|
|
2609
|
-
"pluginType": "core",
|
|
2610
|
-
"strict": true,
|
|
2611
|
-
"enableJsonFlag": false,
|
|
2612
|
-
"isESM": true,
|
|
2613
|
-
"relativePath": [
|
|
2614
|
-
"dist",
|
|
2615
|
-
"commands",
|
|
2616
|
-
"auth",
|
|
2617
|
-
"login.js"
|
|
2618
|
-
]
|
|
2619
|
-
},
|
|
2620
|
-
"auth:logout": {
|
|
2596
|
+
"products:create": {
|
|
2621
2597
|
"aliases": [],
|
|
2622
2598
|
"args": {},
|
|
2623
|
-
"description": "
|
|
2599
|
+
"description": "Create a product with vendor products per platform",
|
|
2624
2600
|
"examples": [
|
|
2625
|
-
"<%= config.bin %>
|
|
2601
|
+
"<%= config.bin %> products create --app UUID --title \"Monthly\" --access-level-id UUID --period monthly --ios-product-id com.example.monthly"
|
|
2626
2602
|
],
|
|
2627
2603
|
"flags": {
|
|
2628
2604
|
"json": {
|
|
@@ -2631,11 +2607,99 @@
|
|
|
2631
2607
|
"name": "json",
|
|
2632
2608
|
"allowNo": false,
|
|
2633
2609
|
"type": "boolean"
|
|
2610
|
+
},
|
|
2611
|
+
"app": {
|
|
2612
|
+
"description": "App ID (UUID)",
|
|
2613
|
+
"name": "app",
|
|
2614
|
+
"required": true,
|
|
2615
|
+
"hasDynamicHelp": false,
|
|
2616
|
+
"multiple": false,
|
|
2617
|
+
"type": "option"
|
|
2618
|
+
},
|
|
2619
|
+
"access-level-id": {
|
|
2620
|
+
"description": "Access level ID (UUID)",
|
|
2621
|
+
"name": "access-level-id",
|
|
2622
|
+
"required": true,
|
|
2623
|
+
"hasDynamicHelp": false,
|
|
2624
|
+
"multiple": false,
|
|
2625
|
+
"type": "option"
|
|
2626
|
+
},
|
|
2627
|
+
"android-base-plan-id": {
|
|
2628
|
+
"description": "Android base plan ID",
|
|
2629
|
+
"helpGroup": "STORE BINDINGS",
|
|
2630
|
+
"name": "android-base-plan-id",
|
|
2631
|
+
"hasDynamicHelp": false,
|
|
2632
|
+
"multiple": false,
|
|
2633
|
+
"type": "option"
|
|
2634
|
+
},
|
|
2635
|
+
"android-product-id": {
|
|
2636
|
+
"description": "Android product ID",
|
|
2637
|
+
"helpGroup": "STORE BINDINGS",
|
|
2638
|
+
"name": "android-product-id",
|
|
2639
|
+
"hasDynamicHelp": false,
|
|
2640
|
+
"multiple": false,
|
|
2641
|
+
"type": "option"
|
|
2642
|
+
},
|
|
2643
|
+
"ios-product-id": {
|
|
2644
|
+
"description": "iOS product ID",
|
|
2645
|
+
"helpGroup": "STORE BINDINGS",
|
|
2646
|
+
"name": "ios-product-id",
|
|
2647
|
+
"hasDynamicHelp": false,
|
|
2648
|
+
"multiple": false,
|
|
2649
|
+
"type": "option"
|
|
2650
|
+
},
|
|
2651
|
+
"paddle-price-id": {
|
|
2652
|
+
"description": "Paddle price ID (requires --paddle-product-id)",
|
|
2653
|
+
"helpGroup": "STORE BINDINGS",
|
|
2654
|
+
"name": "paddle-price-id",
|
|
2655
|
+
"hasDynamicHelp": false,
|
|
2656
|
+
"multiple": false,
|
|
2657
|
+
"type": "option"
|
|
2658
|
+
},
|
|
2659
|
+
"paddle-product-id": {
|
|
2660
|
+
"description": "Paddle product ID (requires --paddle-price-id)",
|
|
2661
|
+
"helpGroup": "STORE BINDINGS",
|
|
2662
|
+
"name": "paddle-product-id",
|
|
2663
|
+
"hasDynamicHelp": false,
|
|
2664
|
+
"multiple": false,
|
|
2665
|
+
"type": "option"
|
|
2666
|
+
},
|
|
2667
|
+
"period": {
|
|
2668
|
+
"description": "Subscription period (weekly, monthly, two_months, trimonthly, semiannual, annual, lifetime)",
|
|
2669
|
+
"name": "period",
|
|
2670
|
+
"required": true,
|
|
2671
|
+
"hasDynamicHelp": false,
|
|
2672
|
+
"multiple": false,
|
|
2673
|
+
"type": "option"
|
|
2674
|
+
},
|
|
2675
|
+
"stripe-price-id": {
|
|
2676
|
+
"description": "Stripe price ID (requires --stripe-product-id)",
|
|
2677
|
+
"helpGroup": "STORE BINDINGS",
|
|
2678
|
+
"name": "stripe-price-id",
|
|
2679
|
+
"hasDynamicHelp": false,
|
|
2680
|
+
"multiple": false,
|
|
2681
|
+
"type": "option"
|
|
2682
|
+
},
|
|
2683
|
+
"stripe-product-id": {
|
|
2684
|
+
"description": "Stripe product ID (requires --stripe-price-id)",
|
|
2685
|
+
"helpGroup": "STORE BINDINGS",
|
|
2686
|
+
"name": "stripe-product-id",
|
|
2687
|
+
"hasDynamicHelp": false,
|
|
2688
|
+
"multiple": false,
|
|
2689
|
+
"type": "option"
|
|
2690
|
+
},
|
|
2691
|
+
"title": {
|
|
2692
|
+
"description": "Product title",
|
|
2693
|
+
"name": "title",
|
|
2694
|
+
"required": true,
|
|
2695
|
+
"hasDynamicHelp": false,
|
|
2696
|
+
"multiple": false,
|
|
2697
|
+
"type": "option"
|
|
2634
2698
|
}
|
|
2635
2699
|
},
|
|
2636
2700
|
"hasDynamicHelp": false,
|
|
2637
2701
|
"hiddenAliases": [],
|
|
2638
|
-
"id": "
|
|
2702
|
+
"id": "products:create",
|
|
2639
2703
|
"pluginAlias": "adapty",
|
|
2640
2704
|
"pluginName": "adapty",
|
|
2641
2705
|
"pluginType": "core",
|
|
@@ -2645,16 +2709,22 @@
|
|
|
2645
2709
|
"relativePath": [
|
|
2646
2710
|
"dist",
|
|
2647
2711
|
"commands",
|
|
2648
|
-
"
|
|
2649
|
-
"
|
|
2712
|
+
"products",
|
|
2713
|
+
"create.js"
|
|
2650
2714
|
]
|
|
2651
2715
|
},
|
|
2652
|
-
"
|
|
2716
|
+
"products:get": {
|
|
2653
2717
|
"aliases": [],
|
|
2654
|
-
"args": {
|
|
2655
|
-
|
|
2718
|
+
"args": {
|
|
2719
|
+
"product_id": {
|
|
2720
|
+
"description": "Product ID (UUID)",
|
|
2721
|
+
"name": "product_id",
|
|
2722
|
+
"required": true
|
|
2723
|
+
}
|
|
2724
|
+
},
|
|
2725
|
+
"description": "Get product details",
|
|
2656
2726
|
"examples": [
|
|
2657
|
-
"<%= config.bin %>
|
|
2727
|
+
"<%= config.bin %> products get --app UUID 550e8400-e29b-41d4-a716-446655440000"
|
|
2658
2728
|
],
|
|
2659
2729
|
"flags": {
|
|
2660
2730
|
"json": {
|
|
@@ -2663,11 +2733,19 @@
|
|
|
2663
2733
|
"name": "json",
|
|
2664
2734
|
"allowNo": false,
|
|
2665
2735
|
"type": "boolean"
|
|
2736
|
+
},
|
|
2737
|
+
"app": {
|
|
2738
|
+
"description": "App ID (UUID)",
|
|
2739
|
+
"name": "app",
|
|
2740
|
+
"required": true,
|
|
2741
|
+
"hasDynamicHelp": false,
|
|
2742
|
+
"multiple": false,
|
|
2743
|
+
"type": "option"
|
|
2666
2744
|
}
|
|
2667
2745
|
},
|
|
2668
2746
|
"hasDynamicHelp": false,
|
|
2669
2747
|
"hiddenAliases": [],
|
|
2670
|
-
"id": "
|
|
2748
|
+
"id": "products:get",
|
|
2671
2749
|
"pluginAlias": "adapty",
|
|
2672
2750
|
"pluginName": "adapty",
|
|
2673
2751
|
"pluginType": "core",
|
|
@@ -2677,16 +2755,16 @@
|
|
|
2677
2755
|
"relativePath": [
|
|
2678
2756
|
"dist",
|
|
2679
2757
|
"commands",
|
|
2680
|
-
"
|
|
2681
|
-
"
|
|
2758
|
+
"products",
|
|
2759
|
+
"get.js"
|
|
2682
2760
|
]
|
|
2683
2761
|
},
|
|
2684
|
-
"
|
|
2762
|
+
"products:list": {
|
|
2685
2763
|
"aliases": [],
|
|
2686
2764
|
"args": {},
|
|
2687
|
-
"description": "
|
|
2765
|
+
"description": "List products for an app",
|
|
2688
2766
|
"examples": [
|
|
2689
|
-
"<%= config.bin %>
|
|
2767
|
+
"<%= config.bin %> products list --app 550e8400-..."
|
|
2690
2768
|
],
|
|
2691
2769
|
"flags": {
|
|
2692
2770
|
"json": {
|
|
@@ -2695,11 +2773,35 @@
|
|
|
2695
2773
|
"name": "json",
|
|
2696
2774
|
"allowNo": false,
|
|
2697
2775
|
"type": "boolean"
|
|
2776
|
+
},
|
|
2777
|
+
"app": {
|
|
2778
|
+
"description": "App ID (UUID)",
|
|
2779
|
+
"name": "app",
|
|
2780
|
+
"required": true,
|
|
2781
|
+
"hasDynamicHelp": false,
|
|
2782
|
+
"multiple": false,
|
|
2783
|
+
"type": "option"
|
|
2784
|
+
},
|
|
2785
|
+
"page": {
|
|
2786
|
+
"description": "Page number",
|
|
2787
|
+
"name": "page",
|
|
2788
|
+
"default": 1,
|
|
2789
|
+
"hasDynamicHelp": false,
|
|
2790
|
+
"multiple": false,
|
|
2791
|
+
"type": "option"
|
|
2792
|
+
},
|
|
2793
|
+
"page-size": {
|
|
2794
|
+
"description": "Items per page (max 100)",
|
|
2795
|
+
"name": "page-size",
|
|
2796
|
+
"default": 20,
|
|
2797
|
+
"hasDynamicHelp": false,
|
|
2798
|
+
"multiple": false,
|
|
2799
|
+
"type": "option"
|
|
2698
2800
|
}
|
|
2699
2801
|
},
|
|
2700
2802
|
"hasDynamicHelp": false,
|
|
2701
2803
|
"hiddenAliases": [],
|
|
2702
|
-
"id": "
|
|
2804
|
+
"id": "products:list",
|
|
2703
2805
|
"pluginAlias": "adapty",
|
|
2704
2806
|
"pluginName": "adapty",
|
|
2705
2807
|
"pluginType": "core",
|
|
@@ -2709,16 +2811,22 @@
|
|
|
2709
2811
|
"relativePath": [
|
|
2710
2812
|
"dist",
|
|
2711
2813
|
"commands",
|
|
2712
|
-
"
|
|
2713
|
-
"
|
|
2814
|
+
"products",
|
|
2815
|
+
"list.js"
|
|
2714
2816
|
]
|
|
2715
2817
|
},
|
|
2716
|
-
"
|
|
2818
|
+
"products:update": {
|
|
2717
2819
|
"aliases": [],
|
|
2718
|
-
"args": {
|
|
2719
|
-
|
|
2820
|
+
"args": {
|
|
2821
|
+
"product_id": {
|
|
2822
|
+
"description": "Product ID (UUID)",
|
|
2823
|
+
"name": "product_id",
|
|
2824
|
+
"required": true
|
|
2825
|
+
}
|
|
2826
|
+
},
|
|
2827
|
+
"description": "Update a product (title and access level only)",
|
|
2720
2828
|
"examples": [
|
|
2721
|
-
"<%= config.bin %>
|
|
2829
|
+
"<%= config.bin %> products update --app UUID 550e8400-... --title \"Monthly\" --access-level-id UUID"
|
|
2722
2830
|
],
|
|
2723
2831
|
"flags": {
|
|
2724
2832
|
"json": {
|
|
@@ -2727,21 +2835,46 @@
|
|
|
2727
2835
|
"name": "json",
|
|
2728
2836
|
"allowNo": false,
|
|
2729
2837
|
"type": "boolean"
|
|
2838
|
+
},
|
|
2839
|
+
"app": {
|
|
2840
|
+
"description": "App ID (UUID)",
|
|
2841
|
+
"name": "app",
|
|
2842
|
+
"required": true,
|
|
2843
|
+
"hasDynamicHelp": false,
|
|
2844
|
+
"multiple": false,
|
|
2845
|
+
"type": "option"
|
|
2846
|
+
},
|
|
2847
|
+
"access-level-id": {
|
|
2848
|
+
"description": "Access level ID (UUID)",
|
|
2849
|
+
"name": "access-level-id",
|
|
2850
|
+
"required": true,
|
|
2851
|
+
"hasDynamicHelp": false,
|
|
2852
|
+
"multiple": false,
|
|
2853
|
+
"type": "option"
|
|
2854
|
+
},
|
|
2855
|
+
"title": {
|
|
2856
|
+
"description": "Product title",
|
|
2857
|
+
"name": "title",
|
|
2858
|
+
"required": true,
|
|
2859
|
+
"hasDynamicHelp": false,
|
|
2860
|
+
"multiple": false,
|
|
2861
|
+
"type": "option"
|
|
2730
2862
|
}
|
|
2731
2863
|
},
|
|
2732
2864
|
"hasDynamicHelp": false,
|
|
2733
2865
|
"hiddenAliases": [],
|
|
2734
|
-
"id": "
|
|
2866
|
+
"id": "products:update",
|
|
2735
2867
|
"pluginAlias": "adapty",
|
|
2736
2868
|
"pluginName": "adapty",
|
|
2737
2869
|
"pluginType": "core",
|
|
2738
2870
|
"strict": true,
|
|
2871
|
+
"enableJsonFlag": true,
|
|
2739
2872
|
"isESM": true,
|
|
2740
2873
|
"relativePath": [
|
|
2741
2874
|
"dist",
|
|
2742
2875
|
"commands",
|
|
2743
|
-
"
|
|
2744
|
-
"
|
|
2876
|
+
"products",
|
|
2877
|
+
"update.js"
|
|
2745
2878
|
]
|
|
2746
2879
|
},
|
|
2747
2880
|
"asa:ad-groups:create": {
|
|
@@ -4578,74 +4711,277 @@
|
|
|
4578
4711
|
"multiple": false,
|
|
4579
4712
|
"type": "option"
|
|
4580
4713
|
},
|
|
4581
|
-
"invoice-contact-name": {
|
|
4582
|
-
"description": "Invoicing Options (line-of-credit orgs, see payment_model in asa orgs list): buyer contact name",
|
|
4583
|
-
"name": "invoice-contact-name",
|
|
4714
|
+
"invoice-contact-name": {
|
|
4715
|
+
"description": "Invoicing Options (line-of-credit orgs, see payment_model in asa orgs list): buyer contact name",
|
|
4716
|
+
"name": "invoice-contact-name",
|
|
4717
|
+
"hasDynamicHelp": false,
|
|
4718
|
+
"multiple": false,
|
|
4719
|
+
"type": "option"
|
|
4720
|
+
},
|
|
4721
|
+
"invoice-order-number": {
|
|
4722
|
+
"description": "Invoicing Options (line-of-credit orgs, see payment_model in asa orgs list): order number",
|
|
4723
|
+
"name": "invoice-order-number",
|
|
4724
|
+
"hasDynamicHelp": false,
|
|
4725
|
+
"multiple": false,
|
|
4726
|
+
"type": "option"
|
|
4727
|
+
},
|
|
4728
|
+
"bidding-strategy": {
|
|
4729
|
+
"description": "Bidding strategy",
|
|
4730
|
+
"name": "bidding-strategy",
|
|
4731
|
+
"hasDynamicHelp": false,
|
|
4732
|
+
"multiple": false,
|
|
4733
|
+
"options": [
|
|
4734
|
+
"MANUAL_CPT",
|
|
4735
|
+
"MAX_CONVERSIONS"
|
|
4736
|
+
],
|
|
4737
|
+
"type": "option"
|
|
4738
|
+
},
|
|
4739
|
+
"country": {
|
|
4740
|
+
"description": "Replace the country list, repeatable",
|
|
4741
|
+
"name": "country",
|
|
4742
|
+
"hasDynamicHelp": false,
|
|
4743
|
+
"multiple": true,
|
|
4744
|
+
"type": "option"
|
|
4745
|
+
},
|
|
4746
|
+
"daily-budget": {
|
|
4747
|
+
"description": "Daily budget (amount, e.g. 50 or 12.50)",
|
|
4748
|
+
"name": "daily-budget",
|
|
4749
|
+
"hasDynamicHelp": false,
|
|
4750
|
+
"multiple": false,
|
|
4751
|
+
"type": "option"
|
|
4752
|
+
},
|
|
4753
|
+
"name": {
|
|
4754
|
+
"description": "Campaign name",
|
|
4755
|
+
"name": "name",
|
|
4756
|
+
"hasDynamicHelp": false,
|
|
4757
|
+
"multiple": false,
|
|
4758
|
+
"type": "option"
|
|
4759
|
+
},
|
|
4760
|
+
"status": {
|
|
4761
|
+
"description": "Campaign status",
|
|
4762
|
+
"name": "status",
|
|
4763
|
+
"hasDynamicHelp": false,
|
|
4764
|
+
"multiple": false,
|
|
4765
|
+
"options": [
|
|
4766
|
+
"ENABLED",
|
|
4767
|
+
"PAUSED"
|
|
4768
|
+
],
|
|
4769
|
+
"type": "option"
|
|
4770
|
+
},
|
|
4771
|
+
"target-cpa": {
|
|
4772
|
+
"description": "Target CPA (amount, e.g. 50 or 12.50)",
|
|
4773
|
+
"name": "target-cpa",
|
|
4774
|
+
"hasDynamicHelp": false,
|
|
4775
|
+
"multiple": false,
|
|
4776
|
+
"type": "option"
|
|
4777
|
+
}
|
|
4778
|
+
},
|
|
4779
|
+
"hasDynamicHelp": false,
|
|
4780
|
+
"hiddenAliases": [],
|
|
4781
|
+
"id": "asa:campaigns:update",
|
|
4782
|
+
"pluginAlias": "adapty",
|
|
4783
|
+
"pluginName": "adapty",
|
|
4784
|
+
"pluginType": "core",
|
|
4785
|
+
"strict": true,
|
|
4786
|
+
"enableJsonFlag": true,
|
|
4787
|
+
"isESM": true,
|
|
4788
|
+
"relativePath": [
|
|
4789
|
+
"dist",
|
|
4790
|
+
"commands",
|
|
4791
|
+
"asa",
|
|
4792
|
+
"campaigns",
|
|
4793
|
+
"update.js"
|
|
4794
|
+
]
|
|
4795
|
+
},
|
|
4796
|
+
"asa:change-history:get": {
|
|
4797
|
+
"aliases": [],
|
|
4798
|
+
"args": {
|
|
4799
|
+
"detail_id": {
|
|
4800
|
+
"description": "Detail ID from asa change-history list (EntityType.entityId.txnId)",
|
|
4801
|
+
"name": "detail_id",
|
|
4802
|
+
"required": true
|
|
4803
|
+
}
|
|
4804
|
+
},
|
|
4805
|
+
"description": "Field-level before/after of one change (proxied from the Apple Ads Platform API)",
|
|
4806
|
+
"examples": [
|
|
4807
|
+
"<%= config.bin %> asa change-history get Campaign.444555666.TXN_ID --campaign-group <uuid>"
|
|
4808
|
+
],
|
|
4809
|
+
"flags": {
|
|
4810
|
+
"json": {
|
|
4811
|
+
"description": "Format output as json.",
|
|
4812
|
+
"helpGroup": "GLOBAL",
|
|
4813
|
+
"name": "json",
|
|
4814
|
+
"allowNo": false,
|
|
4815
|
+
"type": "boolean"
|
|
4816
|
+
},
|
|
4817
|
+
"campaign-group": {
|
|
4818
|
+
"description": "Organization the change belongs to (UUID; take campaign_group_id from the list row)",
|
|
4819
|
+
"name": "campaign-group",
|
|
4820
|
+
"required": true,
|
|
4821
|
+
"hasDynamicHelp": false,
|
|
4822
|
+
"multiple": false,
|
|
4823
|
+
"type": "option"
|
|
4824
|
+
}
|
|
4825
|
+
},
|
|
4826
|
+
"hasDynamicHelp": false,
|
|
4827
|
+
"hiddenAliases": [],
|
|
4828
|
+
"id": "asa:change-history:get",
|
|
4829
|
+
"pluginAlias": "adapty",
|
|
4830
|
+
"pluginName": "adapty",
|
|
4831
|
+
"pluginType": "core",
|
|
4832
|
+
"strict": true,
|
|
4833
|
+
"enableJsonFlag": true,
|
|
4834
|
+
"isESM": true,
|
|
4835
|
+
"relativePath": [
|
|
4836
|
+
"dist",
|
|
4837
|
+
"commands",
|
|
4838
|
+
"asa",
|
|
4839
|
+
"change-history",
|
|
4840
|
+
"get.js"
|
|
4841
|
+
]
|
|
4842
|
+
},
|
|
4843
|
+
"asa:change-history:list": {
|
|
4844
|
+
"aliases": [],
|
|
4845
|
+
"args": {},
|
|
4846
|
+
"description": "Apple Ads change history of one organization, read live from Apple (proxied from the Apple Ads Platform API)",
|
|
4847
|
+
"examples": [
|
|
4848
|
+
"<%= config.bin %> asa change-history list --campaign-group <uuid>",
|
|
4849
|
+
"<%= config.bin %> asa change-history list --campaign-group <uuid> --date-from 2026-09-01 --entity-type Campaign --event-type UPDATE",
|
|
4850
|
+
"<%= config.bin %> asa change-history list --campaign-group <uuid> --fields"
|
|
4851
|
+
],
|
|
4852
|
+
"flags": {
|
|
4853
|
+
"json": {
|
|
4854
|
+
"description": "Format output as json.",
|
|
4855
|
+
"helpGroup": "GLOBAL",
|
|
4856
|
+
"name": "json",
|
|
4857
|
+
"allowNo": false,
|
|
4858
|
+
"type": "boolean"
|
|
4859
|
+
},
|
|
4860
|
+
"page": {
|
|
4861
|
+
"description": "Page number",
|
|
4862
|
+
"name": "page",
|
|
4863
|
+
"default": 1,
|
|
4864
|
+
"hasDynamicHelp": false,
|
|
4865
|
+
"multiple": false,
|
|
4866
|
+
"type": "option"
|
|
4867
|
+
},
|
|
4868
|
+
"page-size": {
|
|
4869
|
+
"description": "Items per page (max 1000); prefer one big page over a pagination loop",
|
|
4870
|
+
"name": "page-size",
|
|
4871
|
+
"default": 100,
|
|
4872
|
+
"hasDynamicHelp": false,
|
|
4873
|
+
"multiple": false,
|
|
4874
|
+
"type": "option"
|
|
4875
|
+
},
|
|
4876
|
+
"ad-group": {
|
|
4877
|
+
"description": "Keep only changes inside these Apple ad group ids (not UUIDs); repeatable",
|
|
4878
|
+
"name": "ad-group",
|
|
4879
|
+
"hasDynamicHelp": false,
|
|
4880
|
+
"multiple": true,
|
|
4881
|
+
"type": "option"
|
|
4882
|
+
},
|
|
4883
|
+
"campaign": {
|
|
4884
|
+
"description": "Keep only changes inside these Apple campaign ids (not UUIDs); repeatable",
|
|
4885
|
+
"name": "campaign",
|
|
4886
|
+
"hasDynamicHelp": false,
|
|
4887
|
+
"multiple": true,
|
|
4888
|
+
"type": "option"
|
|
4889
|
+
},
|
|
4890
|
+
"campaign-group": {
|
|
4891
|
+
"description": "Organization to read (UUID from asa orgs list); one organization per call",
|
|
4892
|
+
"name": "campaign-group",
|
|
4893
|
+
"required": true,
|
|
4894
|
+
"hasDynamicHelp": false,
|
|
4895
|
+
"multiple": false,
|
|
4896
|
+
"type": "option"
|
|
4897
|
+
},
|
|
4898
|
+
"date-from": {
|
|
4899
|
+
"description": "Start of the period (YYYY-MM-DD), defaults to 7 days ago; at most 14 days per call, Apple keeps 6 months",
|
|
4900
|
+
"name": "date-from",
|
|
4584
4901
|
"hasDynamicHelp": false,
|
|
4585
4902
|
"multiple": false,
|
|
4586
4903
|
"type": "option"
|
|
4587
4904
|
},
|
|
4588
|
-
"
|
|
4589
|
-
"description": "
|
|
4590
|
-
"name": "
|
|
4905
|
+
"date-to": {
|
|
4906
|
+
"description": "End of the period (YYYY-MM-DD), defaults to today",
|
|
4907
|
+
"name": "date-to",
|
|
4591
4908
|
"hasDynamicHelp": false,
|
|
4592
4909
|
"multiple": false,
|
|
4593
4910
|
"type": "option"
|
|
4594
4911
|
},
|
|
4595
|
-
"
|
|
4596
|
-
"description": "
|
|
4597
|
-
"name": "
|
|
4912
|
+
"entity-id": {
|
|
4913
|
+
"description": "Keep only changes of these Apple entity ids (not UUIDs); repeatable",
|
|
4914
|
+
"name": "entity-id",
|
|
4598
4915
|
"hasDynamicHelp": false,
|
|
4599
|
-
"multiple":
|
|
4916
|
+
"multiple": true,
|
|
4917
|
+
"type": "option"
|
|
4918
|
+
},
|
|
4919
|
+
"entity-type": {
|
|
4920
|
+
"description": "Keep only changes of this entity type; repeatable. Default is the campaign domain (Campaign, AdGroup, Keyword, NegativeKeyword, Ad, Creative, LocationGroup); Org and AdAccount cannot be mixed with it",
|
|
4921
|
+
"name": "entity-type",
|
|
4922
|
+
"hasDynamicHelp": false,
|
|
4923
|
+
"multiple": true,
|
|
4600
4924
|
"options": [
|
|
4601
|
-
"
|
|
4602
|
-
"
|
|
4925
|
+
"Ad",
|
|
4926
|
+
"AdAccount",
|
|
4927
|
+
"AdGroup",
|
|
4928
|
+
"Campaign",
|
|
4929
|
+
"Creative",
|
|
4930
|
+
"Keyword",
|
|
4931
|
+
"LocationGroup",
|
|
4932
|
+
"NegativeKeyword",
|
|
4933
|
+
"Org"
|
|
4603
4934
|
],
|
|
4604
4935
|
"type": "option"
|
|
4605
4936
|
},
|
|
4606
|
-
"
|
|
4607
|
-
"description": "
|
|
4608
|
-
"name": "
|
|
4937
|
+
"event-type": {
|
|
4938
|
+
"description": "Keep only this operation; repeatable",
|
|
4939
|
+
"name": "event-type",
|
|
4609
4940
|
"hasDynamicHelp": false,
|
|
4610
4941
|
"multiple": true,
|
|
4942
|
+
"options": [
|
|
4943
|
+
"CREATE",
|
|
4944
|
+
"DELETE",
|
|
4945
|
+
"UPDATE"
|
|
4946
|
+
],
|
|
4611
4947
|
"type": "option"
|
|
4612
4948
|
},
|
|
4613
|
-
"
|
|
4614
|
-
"description": "
|
|
4615
|
-
"name": "
|
|
4949
|
+
"fields": {
|
|
4950
|
+
"description": "Expand into flat field-level rows (field, old values, new values); page size defaults to 10 and may not exceed it",
|
|
4951
|
+
"name": "fields",
|
|
4952
|
+
"allowNo": false,
|
|
4953
|
+
"type": "boolean"
|
|
4954
|
+
},
|
|
4955
|
+
"txn": {
|
|
4956
|
+
"description": "Keep only these Apple transaction ids; repeatable",
|
|
4957
|
+
"name": "txn",
|
|
4616
4958
|
"hasDynamicHelp": false,
|
|
4617
|
-
"multiple":
|
|
4959
|
+
"multiple": true,
|
|
4618
4960
|
"type": "option"
|
|
4619
4961
|
},
|
|
4620
|
-
"
|
|
4621
|
-
"description": "
|
|
4622
|
-
"name": "
|
|
4962
|
+
"user": {
|
|
4963
|
+
"description": "Keep only changes made by these Apple user ids (not emails); repeatable",
|
|
4964
|
+
"name": "user",
|
|
4623
4965
|
"hasDynamicHelp": false,
|
|
4624
|
-
"multiple":
|
|
4966
|
+
"multiple": true,
|
|
4625
4967
|
"type": "option"
|
|
4626
4968
|
},
|
|
4627
|
-
"
|
|
4628
|
-
"description": "
|
|
4629
|
-
"name": "
|
|
4969
|
+
"user-type": {
|
|
4970
|
+
"description": "Keep only changes by this actor category; repeatable",
|
|
4971
|
+
"name": "user-type",
|
|
4630
4972
|
"hasDynamicHelp": false,
|
|
4631
|
-
"multiple":
|
|
4973
|
+
"multiple": true,
|
|
4632
4974
|
"options": [
|
|
4633
|
-
"
|
|
4634
|
-
"
|
|
4975
|
+
"APPLE_SUPPORT",
|
|
4976
|
+
"CUSTOMER",
|
|
4977
|
+
"CUSTOMER_API"
|
|
4635
4978
|
],
|
|
4636
4979
|
"type": "option"
|
|
4637
|
-
},
|
|
4638
|
-
"target-cpa": {
|
|
4639
|
-
"description": "Target CPA (amount, e.g. 50 or 12.50)",
|
|
4640
|
-
"name": "target-cpa",
|
|
4641
|
-
"hasDynamicHelp": false,
|
|
4642
|
-
"multiple": false,
|
|
4643
|
-
"type": "option"
|
|
4644
4980
|
}
|
|
4645
4981
|
},
|
|
4646
4982
|
"hasDynamicHelp": false,
|
|
4647
4983
|
"hiddenAliases": [],
|
|
4648
|
-
"id": "asa:
|
|
4984
|
+
"id": "asa:change-history:list",
|
|
4649
4985
|
"pluginAlias": "adapty",
|
|
4650
4986
|
"pluginName": "adapty",
|
|
4651
4987
|
"pluginType": "core",
|
|
@@ -4656,8 +4992,8 @@
|
|
|
4656
4992
|
"dist",
|
|
4657
4993
|
"commands",
|
|
4658
4994
|
"asa",
|
|
4659
|
-
"
|
|
4660
|
-
"
|
|
4995
|
+
"change-history",
|
|
4996
|
+
"list.js"
|
|
4661
4997
|
]
|
|
4662
4998
|
},
|
|
4663
4999
|
"asa:competitors:summary": {
|
|
@@ -5853,6 +6189,237 @@
|
|
|
5853
6189
|
"list.js"
|
|
5854
6190
|
]
|
|
5855
6191
|
},
|
|
6192
|
+
"asa:segments:create": {
|
|
6193
|
+
"aliases": [],
|
|
6194
|
+
"args": {},
|
|
6195
|
+
"description": "Create an Adapty segment from Apple Search Ads campaigns, ad groups or keywords\n\nBuilds the same segment the Ads Manager \"create segment\" button does: one attribution filter over the Apple ids\nof the chosen entities, named \"[ASA] Campaign: <name>\" unless --title is passed. Pass one kind of entity per call;\n--keyword needs exactly one --ad-group to look the keywords up in. --app is the Adapty app the segment belongs to\n(see `adapty apps list`).",
|
|
6196
|
+
"examples": [
|
|
6197
|
+
"<%= config.bin %> asa segments create --app APP_UUID --campaign CAMPAIGN_UUID",
|
|
6198
|
+
"<%= config.bin %> asa segments create --app APP_UUID --campaign UUID_1 --campaign UUID_2 --title \"[ASA] Brand campaigns\"",
|
|
6199
|
+
"<%= config.bin %> asa segments create --app APP_UUID --ad-group AD_GROUP_UUID --keyword KEYWORD_UUID"
|
|
6200
|
+
],
|
|
6201
|
+
"flags": {
|
|
6202
|
+
"json": {
|
|
6203
|
+
"description": "Format output as json.",
|
|
6204
|
+
"helpGroup": "GLOBAL",
|
|
6205
|
+
"name": "json",
|
|
6206
|
+
"allowNo": false,
|
|
6207
|
+
"type": "boolean"
|
|
6208
|
+
},
|
|
6209
|
+
"app": {
|
|
6210
|
+
"description": "App ID (UUID)",
|
|
6211
|
+
"name": "app",
|
|
6212
|
+
"required": true,
|
|
6213
|
+
"hasDynamicHelp": false,
|
|
6214
|
+
"multiple": false,
|
|
6215
|
+
"type": "option"
|
|
6216
|
+
},
|
|
6217
|
+
"ad-group": {
|
|
6218
|
+
"description": "Keep only rows in this ad group; repeatable",
|
|
6219
|
+
"name": "ad-group",
|
|
6220
|
+
"hasDynamicHelp": false,
|
|
6221
|
+
"multiple": true,
|
|
6222
|
+
"type": "option"
|
|
6223
|
+
},
|
|
6224
|
+
"campaign": {
|
|
6225
|
+
"description": "Keep only rows in this campaign; repeatable",
|
|
6226
|
+
"name": "campaign",
|
|
6227
|
+
"hasDynamicHelp": false,
|
|
6228
|
+
"multiple": true,
|
|
6229
|
+
"type": "option"
|
|
6230
|
+
},
|
|
6231
|
+
"keyword": {
|
|
6232
|
+
"description": "Keep only rows in this keyword; repeatable",
|
|
6233
|
+
"name": "keyword",
|
|
6234
|
+
"hasDynamicHelp": false,
|
|
6235
|
+
"multiple": true,
|
|
6236
|
+
"type": "option"
|
|
6237
|
+
},
|
|
6238
|
+
"yes": {
|
|
6239
|
+
"char": "y",
|
|
6240
|
+
"description": "Apply without asking; required when the output is piped or --json is used",
|
|
6241
|
+
"name": "yes",
|
|
6242
|
+
"allowNo": false,
|
|
6243
|
+
"type": "boolean"
|
|
6244
|
+
},
|
|
6245
|
+
"description": {
|
|
6246
|
+
"description": "Segment description; defaults to the dashboard wording",
|
|
6247
|
+
"name": "description",
|
|
6248
|
+
"hasDynamicHelp": false,
|
|
6249
|
+
"multiple": false,
|
|
6250
|
+
"type": "option"
|
|
6251
|
+
},
|
|
6252
|
+
"title": {
|
|
6253
|
+
"description": "Segment title; defaults to the dashboard wording, e.g. \"[ASA] Campaign: <name>\"",
|
|
6254
|
+
"name": "title",
|
|
6255
|
+
"hasDynamicHelp": false,
|
|
6256
|
+
"multiple": false,
|
|
6257
|
+
"type": "option"
|
|
6258
|
+
}
|
|
6259
|
+
},
|
|
6260
|
+
"hasDynamicHelp": false,
|
|
6261
|
+
"hiddenAliases": [],
|
|
6262
|
+
"id": "asa:segments:create",
|
|
6263
|
+
"pluginAlias": "adapty",
|
|
6264
|
+
"pluginName": "adapty",
|
|
6265
|
+
"pluginType": "core",
|
|
6266
|
+
"strict": true,
|
|
6267
|
+
"enableJsonFlag": true,
|
|
6268
|
+
"isESM": true,
|
|
6269
|
+
"relativePath": [
|
|
6270
|
+
"dist",
|
|
6271
|
+
"commands",
|
|
6272
|
+
"asa",
|
|
6273
|
+
"segments",
|
|
6274
|
+
"create.js"
|
|
6275
|
+
]
|
|
6276
|
+
},
|
|
6277
|
+
"asa:segments:list": {
|
|
6278
|
+
"aliases": [],
|
|
6279
|
+
"args": {},
|
|
6280
|
+
"description": "List the segments created from Apple Search Ads entities\n\nSegments whose title starts with \"[ASA]\", the dashboard's own marker. With --campaign or --ad-group only the\nsegments whose filter carries that entity's Apple id are kept, so a script can tell whether a campaign already\nhas its segment before creating one.",
|
|
6281
|
+
"examples": [
|
|
6282
|
+
"<%= config.bin %> asa segments list --app APP_UUID",
|
|
6283
|
+
"<%= config.bin %> asa segments list --app APP_UUID --campaign CAMPAIGN_UUID"
|
|
6284
|
+
],
|
|
6285
|
+
"flags": {
|
|
6286
|
+
"json": {
|
|
6287
|
+
"description": "Format output as json.",
|
|
6288
|
+
"helpGroup": "GLOBAL",
|
|
6289
|
+
"name": "json",
|
|
6290
|
+
"allowNo": false,
|
|
6291
|
+
"type": "boolean"
|
|
6292
|
+
},
|
|
6293
|
+
"app": {
|
|
6294
|
+
"description": "App ID (UUID)",
|
|
6295
|
+
"name": "app",
|
|
6296
|
+
"required": true,
|
|
6297
|
+
"hasDynamicHelp": false,
|
|
6298
|
+
"multiple": false,
|
|
6299
|
+
"type": "option"
|
|
6300
|
+
},
|
|
6301
|
+
"ad-group": {
|
|
6302
|
+
"description": "Keep only segments built from this ad group (UUID)",
|
|
6303
|
+
"name": "ad-group",
|
|
6304
|
+
"hasDynamicHelp": false,
|
|
6305
|
+
"multiple": false,
|
|
6306
|
+
"type": "option"
|
|
6307
|
+
},
|
|
6308
|
+
"campaign": {
|
|
6309
|
+
"description": "Keep only segments built from this campaign (UUID)",
|
|
6310
|
+
"name": "campaign",
|
|
6311
|
+
"hasDynamicHelp": false,
|
|
6312
|
+
"multiple": false,
|
|
6313
|
+
"type": "option"
|
|
6314
|
+
}
|
|
6315
|
+
},
|
|
6316
|
+
"hasDynamicHelp": false,
|
|
6317
|
+
"hiddenAliases": [],
|
|
6318
|
+
"id": "asa:segments:list",
|
|
6319
|
+
"pluginAlias": "adapty",
|
|
6320
|
+
"pluginName": "adapty",
|
|
6321
|
+
"pluginType": "core",
|
|
6322
|
+
"strict": true,
|
|
6323
|
+
"enableJsonFlag": true,
|
|
6324
|
+
"isESM": true,
|
|
6325
|
+
"relativePath": [
|
|
6326
|
+
"dist",
|
|
6327
|
+
"commands",
|
|
6328
|
+
"asa",
|
|
6329
|
+
"segments",
|
|
6330
|
+
"list.js"
|
|
6331
|
+
]
|
|
6332
|
+
},
|
|
6333
|
+
"asa:segments:update": {
|
|
6334
|
+
"aliases": [],
|
|
6335
|
+
"args": {
|
|
6336
|
+
"segment_id": {
|
|
6337
|
+
"description": "Segment ID (UUID)",
|
|
6338
|
+
"name": "segment_id",
|
|
6339
|
+
"required": true
|
|
6340
|
+
}
|
|
6341
|
+
},
|
|
6342
|
+
"description": "Point an existing segment at other Apple Search Ads campaigns, ad groups or keywords\n\nReplaces the segment's filter with one attribution filter over the chosen entities, as the dashboard does.\nTitle and description stay as stored unless --title / --description are passed.",
|
|
6343
|
+
"examples": [
|
|
6344
|
+
"<%= config.bin %> asa segments update SEGMENT_UUID --app APP_UUID --campaign CAMPAIGN_UUID --campaign OTHER_UUID",
|
|
6345
|
+
"<%= config.bin %> asa segments update SEGMENT_UUID --app APP_UUID --ad-group AD_GROUP_UUID --keyword KEYWORD_UUID --title \"Top keywords\""
|
|
6346
|
+
],
|
|
6347
|
+
"flags": {
|
|
6348
|
+
"json": {
|
|
6349
|
+
"description": "Format output as json.",
|
|
6350
|
+
"helpGroup": "GLOBAL",
|
|
6351
|
+
"name": "json",
|
|
6352
|
+
"allowNo": false,
|
|
6353
|
+
"type": "boolean"
|
|
6354
|
+
},
|
|
6355
|
+
"app": {
|
|
6356
|
+
"description": "App ID (UUID)",
|
|
6357
|
+
"name": "app",
|
|
6358
|
+
"required": true,
|
|
6359
|
+
"hasDynamicHelp": false,
|
|
6360
|
+
"multiple": false,
|
|
6361
|
+
"type": "option"
|
|
6362
|
+
},
|
|
6363
|
+
"ad-group": {
|
|
6364
|
+
"description": "Keep only rows in this ad group; repeatable",
|
|
6365
|
+
"name": "ad-group",
|
|
6366
|
+
"hasDynamicHelp": false,
|
|
6367
|
+
"multiple": true,
|
|
6368
|
+
"type": "option"
|
|
6369
|
+
},
|
|
6370
|
+
"campaign": {
|
|
6371
|
+
"description": "Keep only rows in this campaign; repeatable",
|
|
6372
|
+
"name": "campaign",
|
|
6373
|
+
"hasDynamicHelp": false,
|
|
6374
|
+
"multiple": true,
|
|
6375
|
+
"type": "option"
|
|
6376
|
+
},
|
|
6377
|
+
"keyword": {
|
|
6378
|
+
"description": "Keep only rows in this keyword; repeatable",
|
|
6379
|
+
"name": "keyword",
|
|
6380
|
+
"hasDynamicHelp": false,
|
|
6381
|
+
"multiple": true,
|
|
6382
|
+
"type": "option"
|
|
6383
|
+
},
|
|
6384
|
+
"yes": {
|
|
6385
|
+
"char": "y",
|
|
6386
|
+
"description": "Apply without asking; required when the output is piped or --json is used",
|
|
6387
|
+
"name": "yes",
|
|
6388
|
+
"allowNo": false,
|
|
6389
|
+
"type": "boolean"
|
|
6390
|
+
},
|
|
6391
|
+
"description": {
|
|
6392
|
+
"description": "New description; omit to keep the stored one",
|
|
6393
|
+
"name": "description",
|
|
6394
|
+
"hasDynamicHelp": false,
|
|
6395
|
+
"multiple": false,
|
|
6396
|
+
"type": "option"
|
|
6397
|
+
},
|
|
6398
|
+
"title": {
|
|
6399
|
+
"description": "New title; omit to keep the stored one",
|
|
6400
|
+
"name": "title",
|
|
6401
|
+
"hasDynamicHelp": false,
|
|
6402
|
+
"multiple": false,
|
|
6403
|
+
"type": "option"
|
|
6404
|
+
}
|
|
6405
|
+
},
|
|
6406
|
+
"hasDynamicHelp": false,
|
|
6407
|
+
"hiddenAliases": [],
|
|
6408
|
+
"id": "asa:segments:update",
|
|
6409
|
+
"pluginAlias": "adapty",
|
|
6410
|
+
"pluginName": "adapty",
|
|
6411
|
+
"pluginType": "core",
|
|
6412
|
+
"strict": true,
|
|
6413
|
+
"enableJsonFlag": true,
|
|
6414
|
+
"isESM": true,
|
|
6415
|
+
"relativePath": [
|
|
6416
|
+
"dist",
|
|
6417
|
+
"commands",
|
|
6418
|
+
"asa",
|
|
6419
|
+
"segments",
|
|
6420
|
+
"update.js"
|
|
6421
|
+
]
|
|
6422
|
+
},
|
|
5856
6423
|
"flows:config:get": {
|
|
5857
6424
|
"aliases": [],
|
|
5858
6425
|
"args": {
|
|
@@ -6157,5 +6724,5 @@
|
|
|
6157
6724
|
]
|
|
6158
6725
|
}
|
|
6159
6726
|
},
|
|
6160
|
-
"version": "0.9.
|
|
6727
|
+
"version": "0.9.5"
|
|
6161
6728
|
}
|