adapty 0.8.5 → 0.8.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/README.md +7 -1
  2. package/dist/cli/base/adapty/adapty-command.d.ts +21 -0
  3. package/dist/cli/base/adapty/adapty-command.js +47 -0
  4. package/dist/cli/base/adapty/build.d.ts +11 -0
  5. package/dist/cli/base/adapty/build.js +13 -0
  6. package/dist/cli/base/adapty/index.d.ts +5 -0
  7. package/dist/cli/base/adapty/index.js +3 -0
  8. package/dist/cli/base/adapty/openSession.d.ts +22 -0
  9. package/dist/cli/base/adapty/openSession.js +25 -0
  10. package/dist/cli/base/base-command.d.ts +30 -0
  11. package/dist/cli/base/base-command.js +64 -0
  12. package/dist/cli/commands/apps/create.d.ts +19 -0
  13. package/dist/cli/commands/apps/create.js +68 -0
  14. package/dist/cli/commands/apps/get.d.ts +10 -0
  15. package/dist/cli/commands/apps/get.js +14 -0
  16. package/dist/cli/commands/apps/list.d.ts +11 -0
  17. package/dist/cli/commands/apps/list.js +14 -0
  18. package/dist/cli/commands/apps/update.d.ts +15 -0
  19. package/dist/cli/commands/apps/update.js +30 -0
  20. package/dist/cli/commands/auth/login.d.ts +11 -0
  21. package/dist/cli/commands/auth/login.js +68 -0
  22. package/dist/cli/commands/auth/logout.d.ts +12 -0
  23. package/dist/cli/commands/auth/logout.js +28 -0
  24. package/dist/cli/commands/auth/revoke.d.ts +13 -0
  25. package/dist/cli/commands/auth/revoke.js +32 -0
  26. package/dist/cli/commands/auth/status/index.d.ts +7 -0
  27. package/dist/cli/commands/auth/status/index.js +22 -0
  28. package/dist/cli/commands/auth/status/lib/render.d.ts +3 -0
  29. package/dist/cli/commands/auth/status/lib/render.js +14 -0
  30. package/dist/cli/commands/auth/status/lib/result.d.ts +15 -0
  31. package/dist/cli/commands/auth/status/lib/result.js +1 -0
  32. package/dist/cli/commands/auth/whoami.d.ts +10 -0
  33. package/dist/cli/commands/auth/whoami.js +16 -0
  34. package/dist/cli/errors.d.ts +39 -0
  35. package/dist/cli/errors.js +92 -0
  36. package/dist/cli/flags.d.ts +16 -0
  37. package/dist/cli/flags.js +27 -0
  38. package/dist/cli/views/list.d.ts +6 -0
  39. package/dist/cli/views/list.js +10 -0
  40. package/dist/cli/views/record.d.ts +9 -0
  41. package/dist/cli/views/record.js +14 -0
  42. package/dist/commands/apps/create.d.ts +1 -14
  43. package/dist/commands/apps/create.js +2 -57
  44. package/dist/commands/apps/get.d.ts +1 -11
  45. package/dist/commands/apps/get.js +2 -22
  46. package/dist/commands/apps/list.d.ts +1 -13
  47. package/dist/commands/apps/list.js +2 -19
  48. package/dist/commands/apps/update.d.ts +1 -16
  49. package/dist/commands/apps/update.js +2 -41
  50. package/dist/commands/asa/keywords/recommend.d.ts +20 -0
  51. package/dist/commands/asa/keywords/recommend.js +102 -0
  52. package/dist/commands/asa/whoami.js +6 -2
  53. package/dist/commands/auth/login.d.ts +1 -8
  54. package/dist/commands/auth/login.js +2 -122
  55. package/dist/commands/auth/logout.d.ts +1 -9
  56. package/dist/commands/auth/logout.js +2 -18
  57. package/dist/commands/auth/revoke.d.ts +1 -9
  58. package/dist/commands/auth/revoke.js +2 -21
  59. package/dist/commands/auth/status.d.ts +1 -7
  60. package/dist/commands/auth/status.js +2 -26
  61. package/dist/commands/auth/whoami.d.ts +1 -7
  62. package/dist/commands/auth/whoami.js +2 -15
  63. package/dist/lib/api-schemas.d.ts +7 -3
  64. package/dist/lib/asa-schemas.d.ts +41 -1
  65. package/dist/sdk/adapty/access-levels.d.ts +15 -0
  66. package/dist/sdk/adapty/access-levels.js +4 -0
  67. package/dist/sdk/adapty/apps/create.d.ts +26 -0
  68. package/dist/sdk/adapty/apps/create.js +36 -0
  69. package/dist/sdk/adapty/apps/index.d.ts +13 -0
  70. package/dist/sdk/adapty/apps/index.js +9 -0
  71. package/dist/sdk/adapty/apps/model.d.ts +24 -0
  72. package/dist/sdk/adapty/apps/model.js +10 -0
  73. package/dist/sdk/adapty/apps/resource.d.ts +19 -0
  74. package/dist/sdk/adapty/apps/resource.js +23 -0
  75. package/dist/sdk/adapty/apps/update.d.ts +16 -0
  76. package/dist/sdk/adapty/apps/update.js +25 -0
  77. package/dist/sdk/adapty/auth/device-code.d.ts +8 -0
  78. package/dist/sdk/adapty/auth/device-code.js +19 -0
  79. package/dist/sdk/adapty/auth/index.d.ts +7 -0
  80. package/dist/sdk/adapty/auth/index.js +5 -0
  81. package/dist/sdk/adapty/auth/model.d.ts +15 -0
  82. package/dist/sdk/adapty/auth/model.js +6 -0
  83. package/dist/sdk/adapty/auth/poll-token.d.ts +8 -0
  84. package/dist/sdk/adapty/auth/poll-token.js +58 -0
  85. package/dist/sdk/adapty/auth/resource.d.ts +17 -0
  86. package/dist/sdk/adapty/auth/resource.js +21 -0
  87. package/dist/sdk/adapty/errors.d.ts +10 -0
  88. package/dist/sdk/adapty/errors.js +38 -0
  89. package/dist/sdk/adapty/index.d.ts +36 -0
  90. package/dist/sdk/adapty/index.js +27 -0
  91. package/dist/sdk/adapty/pagination.d.ts +23 -0
  92. package/dist/sdk/adapty/pagination.js +1 -0
  93. package/dist/sdk/core/auth/device-flow.d.ts +46 -0
  94. package/dist/sdk/core/auth/device-flow.js +62 -0
  95. package/dist/sdk/core/clock.d.ts +7 -0
  96. package/dist/sdk/core/clock.js +21 -0
  97. package/dist/sdk/core/errors.d.ts +81 -0
  98. package/dist/sdk/core/errors.js +84 -0
  99. package/dist/sdk/core/http/client.d.ts +46 -0
  100. package/dist/sdk/core/http/client.js +127 -0
  101. package/dist/sdk/core/http/index.d.ts +11 -0
  102. package/dist/sdk/core/http/index.js +7 -0
  103. package/dist/sdk/core/http/policies.d.ts +14 -0
  104. package/dist/sdk/core/http/policies.js +29 -0
  105. package/dist/sdk/core/http/retry.d.ts +27 -0
  106. package/dist/sdk/core/http/retry.js +22 -0
  107. package/dist/sdk/core/http/url.d.ts +3 -0
  108. package/dist/sdk/core/http/url.js +19 -0
  109. package/dist/sdk/core/session.d.ts +20 -0
  110. package/dist/sdk/core/session.js +69 -0
  111. package/dist/sdk/core/testing.d.ts +25 -0
  112. package/dist/sdk/core/testing.js +46 -0
  113. package/dist/sdk/core/validation.d.ts +10 -0
  114. package/dist/sdk/core/validation.js +14 -0
  115. package/oclif.manifest.json +211 -148
  116. package/package.json +10 -2
@@ -228,16 +228,10 @@
228
228
  "allowNo": false,
229
229
  "type": "boolean"
230
230
  },
231
- "apple-bundle-id": {
232
- "description": "Apple bundle ID (required with --platform ios)",
233
- "name": "apple-bundle-id",
234
- "hasDynamicHelp": false,
235
- "multiple": false,
236
- "type": "option"
237
- },
238
- "google-bundle-id": {
239
- "description": "Google bundle ID (required with --platform android)",
240
- "name": "google-bundle-id",
231
+ "title": {
232
+ "description": "App title",
233
+ "name": "title",
234
+ "required": true,
241
235
  "hasDynamicHelp": false,
242
236
  "multiple": false,
243
237
  "type": "option"
@@ -254,10 +248,16 @@
254
248
  ],
255
249
  "type": "option"
256
250
  },
257
- "title": {
258
- "description": "App title",
259
- "name": "title",
260
- "required": true,
251
+ "apple-bundle-id": {
252
+ "description": "Apple bundle ID (required with --platform ios)",
253
+ "name": "apple-bundle-id",
254
+ "hasDynamicHelp": false,
255
+ "multiple": false,
256
+ "type": "option"
257
+ },
258
+ "google-bundle-id": {
259
+ "description": "Google bundle ID (required with --platform android)",
260
+ "name": "google-bundle-id",
261
261
  "hasDynamicHelp": false,
262
262
  "multiple": false,
263
263
  "type": "option"
@@ -387,6 +387,13 @@
387
387
  "allowNo": false,
388
388
  "type": "boolean"
389
389
  },
390
+ "title": {
391
+ "description": "App title",
392
+ "name": "title",
393
+ "hasDynamicHelp": false,
394
+ "multiple": false,
395
+ "type": "option"
396
+ },
390
397
  "apple-bundle-id": {
391
398
  "description": "Apple bundle ID",
392
399
  "name": "apple-bundle-id",
@@ -400,13 +407,6 @@
400
407
  "hasDynamicHelp": false,
401
408
  "multiple": false,
402
409
  "type": "option"
403
- },
404
- "title": {
405
- "description": "App title",
406
- "name": "title",
407
- "hasDynamicHelp": false,
408
- "multiple": false,
409
- "type": "option"
410
410
  }
411
411
  },
412
412
  "hasDynamicHelp": false,
@@ -531,7 +531,7 @@
531
531
  "auth:logout": {
532
532
  "aliases": [],
533
533
  "args": {},
534
- "description": "Remove stored authentication token",
534
+ "description": "Remove the stored session",
535
535
  "examples": [
536
536
  "<%= config.bin %> auth logout"
537
537
  ],
@@ -563,7 +563,7 @@
563
563
  "auth:revoke": {
564
564
  "aliases": [],
565
565
  "args": {},
566
- "description": "Revoke the current authentication token",
566
+ "description": "Revoke the current token on the server and remove any matching stored session",
567
567
  "examples": [
568
568
  "<%= config.bin %> auth revoke"
569
569
  ],
@@ -595,7 +595,7 @@
595
595
  "auth:status": {
596
596
  "aliases": [],
597
597
  "args": {},
598
- "description": "Show current authentication state (local only)",
598
+ "description": "Show the local authentication state (no network)",
599
599
  "examples": [
600
600
  "<%= config.bin %> auth status"
601
601
  ],
@@ -627,7 +627,7 @@
627
627
  "auth:whoami": {
628
628
  "aliases": [],
629
629
  "args": {},
630
- "description": "Show current user info from server (verifies token)",
630
+ "description": "Show the current user from the server (verifies the token)",
631
631
  "examples": [
632
632
  "<%= config.bin %> auth whoami"
633
633
  ],
@@ -3029,6 +3029,47 @@
3029
3029
  "update.js"
3030
3030
  ]
3031
3031
  },
3032
+ "asa:competitors:summary": {
3033
+ "aliases": [],
3034
+ "args": {},
3035
+ "description": "Competitor summary for up to five App Store apps; the server covers the last full month and every country",
3036
+ "examples": [
3037
+ "<%= config.bin %> asa competitors summary --app-ids 1668337467,6503873027"
3038
+ ],
3039
+ "flags": {
3040
+ "json": {
3041
+ "description": "Format output as json.",
3042
+ "helpGroup": "GLOBAL",
3043
+ "name": "json",
3044
+ "allowNo": false,
3045
+ "type": "boolean"
3046
+ },
3047
+ "app-ids": {
3048
+ "description": "Apple App Store IDs (adam_id), comma-separated, 1-5 values",
3049
+ "name": "app-ids",
3050
+ "required": true,
3051
+ "hasDynamicHelp": false,
3052
+ "multiple": false,
3053
+ "type": "option"
3054
+ }
3055
+ },
3056
+ "hasDynamicHelp": false,
3057
+ "hiddenAliases": [],
3058
+ "id": "asa:competitors:summary",
3059
+ "pluginAlias": "adapty",
3060
+ "pluginName": "adapty",
3061
+ "pluginType": "core",
3062
+ "strict": true,
3063
+ "enableJsonFlag": true,
3064
+ "isESM": true,
3065
+ "relativePath": [
3066
+ "dist",
3067
+ "commands",
3068
+ "asa",
3069
+ "competitors",
3070
+ "summary.js"
3071
+ ]
3072
+ },
3032
3073
  "asa:campaigns:bulk-create": {
3033
3074
  "aliases": [],
3034
3075
  "args": {},
@@ -3747,47 +3788,6 @@
3747
3788
  "update.js"
3748
3789
  ]
3749
3790
  },
3750
- "asa:competitors:summary": {
3751
- "aliases": [],
3752
- "args": {},
3753
- "description": "Competitor summary for up to five App Store apps; the server covers the last full month and every country",
3754
- "examples": [
3755
- "<%= config.bin %> asa competitors summary --app-ids 1668337467,6503873027"
3756
- ],
3757
- "flags": {
3758
- "json": {
3759
- "description": "Format output as json.",
3760
- "helpGroup": "GLOBAL",
3761
- "name": "json",
3762
- "allowNo": false,
3763
- "type": "boolean"
3764
- },
3765
- "app-ids": {
3766
- "description": "Apple App Store IDs (adam_id), comma-separated, 1-5 values",
3767
- "name": "app-ids",
3768
- "required": true,
3769
- "hasDynamicHelp": false,
3770
- "multiple": false,
3771
- "type": "option"
3772
- }
3773
- },
3774
- "hasDynamicHelp": false,
3775
- "hiddenAliases": [],
3776
- "id": "asa:competitors:summary",
3777
- "pluginAlias": "adapty",
3778
- "pluginName": "adapty",
3779
- "pluginType": "core",
3780
- "strict": true,
3781
- "enableJsonFlag": true,
3782
- "isESM": true,
3783
- "relativePath": [
3784
- "dist",
3785
- "commands",
3786
- "asa",
3787
- "competitors",
3788
- "summary.js"
3789
- ]
3790
- },
3791
3791
  "asa:keywords:add": {
3792
3792
  "aliases": [],
3793
3793
  "args": {},
@@ -3993,6 +3993,69 @@
3993
3993
  "list.js"
3994
3994
  ]
3995
3995
  },
3996
+ "asa:keywords:recommend": {
3997
+ "aliases": [],
3998
+ "args": {},
3999
+ "description": "Keyword recommendations for one of your apps: its brand terms, generic terms, or the brand terms of its selected competitors",
4000
+ "examples": [
4001
+ "<%= config.bin %> asa keywords recommend --adam-id 1668337467 --type brand",
4002
+ "<%= config.bin %> asa keywords recommend --adam-id 1668337467 --type generic --country US",
4003
+ "<%= config.bin %> asa keywords recommend --adam-id 1668337467 --type competitor"
4004
+ ],
4005
+ "flags": {
4006
+ "json": {
4007
+ "description": "Format output as json.",
4008
+ "helpGroup": "GLOBAL",
4009
+ "name": "json",
4010
+ "allowNo": false,
4011
+ "type": "boolean"
4012
+ },
4013
+ "adam-id": {
4014
+ "description": "Apple App Store ID (adam_id) of your app, from `asa apps list`",
4015
+ "name": "adam-id",
4016
+ "required": true,
4017
+ "hasDynamicHelp": false,
4018
+ "multiple": false,
4019
+ "type": "option"
4020
+ },
4021
+ "country": {
4022
+ "description": "ISO country code (e.g. US); repeatable, default every country in the pool",
4023
+ "name": "country",
4024
+ "hasDynamicHelp": false,
4025
+ "multiple": true,
4026
+ "type": "option"
4027
+ },
4028
+ "type": {
4029
+ "description": "Which pool to read",
4030
+ "name": "type",
4031
+ "required": true,
4032
+ "hasDynamicHelp": false,
4033
+ "multiple": false,
4034
+ "options": [
4035
+ "brand",
4036
+ "generic",
4037
+ "competitor"
4038
+ ],
4039
+ "type": "option"
4040
+ }
4041
+ },
4042
+ "hasDynamicHelp": false,
4043
+ "hiddenAliases": [],
4044
+ "id": "asa:keywords:recommend",
4045
+ "pluginAlias": "adapty",
4046
+ "pluginName": "adapty",
4047
+ "pluginType": "core",
4048
+ "strict": true,
4049
+ "enableJsonFlag": true,
4050
+ "isESM": true,
4051
+ "relativePath": [
4052
+ "dist",
4053
+ "commands",
4054
+ "asa",
4055
+ "keywords",
4056
+ "recommend.js"
4057
+ ]
4058
+ },
3996
4059
  "asa:keywords:update": {
3997
4060
  "aliases": [],
3998
4061
  "args": {
@@ -4546,62 +4609,13 @@
4546
4609
  "list.js"
4547
4610
  ]
4548
4611
  },
4549
- "asa:orgs:list": {
4550
- "aliases": [],
4551
- "args": {},
4552
- "description": "List the Apple Search Ads organizations this company can spend from",
4553
- "examples": [
4554
- "<%= config.bin %> asa orgs list"
4555
- ],
4556
- "flags": {
4557
- "json": {
4558
- "description": "Format output as json.",
4559
- "helpGroup": "GLOBAL",
4560
- "name": "json",
4561
- "allowNo": false,
4562
- "type": "boolean"
4563
- },
4564
- "page": {
4565
- "description": "Page number",
4566
- "name": "page",
4567
- "default": 1,
4568
- "hasDynamicHelp": false,
4569
- "multiple": false,
4570
- "type": "option"
4571
- },
4572
- "page-size": {
4573
- "description": "Items per page (max 1000); prefer one big page over a pagination loop",
4574
- "name": "page-size",
4575
- "default": 100,
4576
- "hasDynamicHelp": false,
4577
- "multiple": false,
4578
- "type": "option"
4579
- }
4580
- },
4581
- "hasDynamicHelp": false,
4582
- "hiddenAliases": [],
4583
- "id": "asa:orgs:list",
4584
- "pluginAlias": "adapty",
4585
- "pluginName": "adapty",
4586
- "pluginType": "core",
4587
- "strict": true,
4588
- "enableJsonFlag": true,
4589
- "isESM": true,
4590
- "relativePath": [
4591
- "dist",
4592
- "commands",
4593
- "asa",
4594
- "orgs",
4595
- "list.js"
4596
- ]
4597
- },
4598
- "asa:product-pages:list": {
4612
+ "asa:creatives:list": {
4599
4613
  "aliases": [],
4600
4614
  "args": {},
4601
- "description": "List custom product pages (read-only; authoring stays in App Store Connect)",
4615
+ "description": "List creatives; creative_id is what `asa ads create` needs",
4602
4616
  "examples": [
4603
- "<%= config.bin %> asa product-pages list",
4604
- "<%= config.bin %> asa product-pages list --app APP_UUID"
4617
+ "<%= config.bin %> asa creatives list",
4618
+ "<%= config.bin %> asa creatives list --app APP_UUID"
4605
4619
  ],
4606
4620
  "flags": {
4607
4621
  "json": {
@@ -4644,7 +4658,7 @@
4644
4658
  },
4645
4659
  "hasDynamicHelp": false,
4646
4660
  "hiddenAliases": [],
4647
- "id": "asa:product-pages:list",
4661
+ "id": "asa:creatives:list",
4648
4662
  "pluginAlias": "adapty",
4649
4663
  "pluginName": "adapty",
4650
4664
  "pluginType": "core",
@@ -4655,17 +4669,16 @@
4655
4669
  "dist",
4656
4670
  "commands",
4657
4671
  "asa",
4658
- "product-pages",
4672
+ "creatives",
4659
4673
  "list.js"
4660
4674
  ]
4661
4675
  },
4662
- "asa:product-pages:sync": {
4676
+ "asa:orgs:list": {
4663
4677
  "aliases": [],
4664
4678
  "args": {},
4665
- "description": "Refresh custom product pages from Apple",
4679
+ "description": "List the Apple Search Ads organizations this company can spend from",
4666
4680
  "examples": [
4667
- "<%= config.bin %> asa product-pages sync",
4668
- "<%= config.bin %> asa product-pages sync --adam-id 123456"
4681
+ "<%= config.bin %> asa orgs list"
4669
4682
  ],
4670
4683
  "flags": {
4671
4684
  "json": {
@@ -4675,23 +4688,18 @@
4675
4688
  "allowNo": false,
4676
4689
  "type": "boolean"
4677
4690
  },
4678
- "yes": {
4679
- "char": "y",
4680
- "description": "Apply without asking; required when the output is piped or --json is used",
4681
- "name": "yes",
4682
- "allowNo": false,
4683
- "type": "boolean"
4684
- },
4685
- "idempotency-key": {
4686
- "description": "Idempotency key for this write; re-running with the same key replays the stored result instead of applying twice",
4687
- "name": "idempotency-key",
4691
+ "page": {
4692
+ "description": "Page number",
4693
+ "name": "page",
4694
+ "default": 1,
4688
4695
  "hasDynamicHelp": false,
4689
4696
  "multiple": false,
4690
4697
  "type": "option"
4691
4698
  },
4692
- "adam-id": {
4693
- "description": "Limit the refresh to one app; omit to cover every app",
4694
- "name": "adam-id",
4699
+ "page-size": {
4700
+ "description": "Items per page (max 1000); prefer one big page over a pagination loop",
4701
+ "name": "page-size",
4702
+ "default": 100,
4695
4703
  "hasDynamicHelp": false,
4696
4704
  "multiple": false,
4697
4705
  "type": "option"
@@ -4699,7 +4707,7 @@
4699
4707
  },
4700
4708
  "hasDynamicHelp": false,
4701
4709
  "hiddenAliases": [],
4702
- "id": "asa:product-pages:sync",
4710
+ "id": "asa:orgs:list",
4703
4711
  "pluginAlias": "adapty",
4704
4712
  "pluginName": "adapty",
4705
4713
  "pluginType": "core",
@@ -4710,8 +4718,8 @@
4710
4718
  "dist",
4711
4719
  "commands",
4712
4720
  "asa",
4713
- "product-pages",
4714
- "sync.js"
4721
+ "orgs",
4722
+ "list.js"
4715
4723
  ]
4716
4724
  },
4717
4725
  "asa:search-terms:list": {
@@ -4813,13 +4821,13 @@
4813
4821
  "list.js"
4814
4822
  ]
4815
4823
  },
4816
- "asa:creatives:list": {
4824
+ "asa:product-pages:list": {
4817
4825
  "aliases": [],
4818
4826
  "args": {},
4819
- "description": "List creatives; creative_id is what `asa ads create` needs",
4827
+ "description": "List custom product pages (read-only; authoring stays in App Store Connect)",
4820
4828
  "examples": [
4821
- "<%= config.bin %> asa creatives list",
4822
- "<%= config.bin %> asa creatives list --app APP_UUID"
4829
+ "<%= config.bin %> asa product-pages list",
4830
+ "<%= config.bin %> asa product-pages list --app APP_UUID"
4823
4831
  ],
4824
4832
  "flags": {
4825
4833
  "json": {
@@ -4862,7 +4870,7 @@
4862
4870
  },
4863
4871
  "hasDynamicHelp": false,
4864
4872
  "hiddenAliases": [],
4865
- "id": "asa:creatives:list",
4873
+ "id": "asa:product-pages:list",
4866
4874
  "pluginAlias": "adapty",
4867
4875
  "pluginName": "adapty",
4868
4876
  "pluginType": "core",
@@ -4873,10 +4881,65 @@
4873
4881
  "dist",
4874
4882
  "commands",
4875
4883
  "asa",
4876
- "creatives",
4884
+ "product-pages",
4877
4885
  "list.js"
4878
4886
  ]
4879
4887
  },
4888
+ "asa:product-pages:sync": {
4889
+ "aliases": [],
4890
+ "args": {},
4891
+ "description": "Refresh custom product pages from Apple",
4892
+ "examples": [
4893
+ "<%= config.bin %> asa product-pages sync",
4894
+ "<%= config.bin %> asa product-pages sync --adam-id 123456"
4895
+ ],
4896
+ "flags": {
4897
+ "json": {
4898
+ "description": "Format output as json.",
4899
+ "helpGroup": "GLOBAL",
4900
+ "name": "json",
4901
+ "allowNo": false,
4902
+ "type": "boolean"
4903
+ },
4904
+ "yes": {
4905
+ "char": "y",
4906
+ "description": "Apply without asking; required when the output is piped or --json is used",
4907
+ "name": "yes",
4908
+ "allowNo": false,
4909
+ "type": "boolean"
4910
+ },
4911
+ "idempotency-key": {
4912
+ "description": "Idempotency key for this write; re-running with the same key replays the stored result instead of applying twice",
4913
+ "name": "idempotency-key",
4914
+ "hasDynamicHelp": false,
4915
+ "multiple": false,
4916
+ "type": "option"
4917
+ },
4918
+ "adam-id": {
4919
+ "description": "Limit the refresh to one app; omit to cover every app",
4920
+ "name": "adam-id",
4921
+ "hasDynamicHelp": false,
4922
+ "multiple": false,
4923
+ "type": "option"
4924
+ }
4925
+ },
4926
+ "hasDynamicHelp": false,
4927
+ "hiddenAliases": [],
4928
+ "id": "asa:product-pages:sync",
4929
+ "pluginAlias": "adapty",
4930
+ "pluginName": "adapty",
4931
+ "pluginType": "core",
4932
+ "strict": true,
4933
+ "enableJsonFlag": true,
4934
+ "isESM": true,
4935
+ "relativePath": [
4936
+ "dist",
4937
+ "commands",
4938
+ "asa",
4939
+ "product-pages",
4940
+ "sync.js"
4941
+ ]
4942
+ },
4880
4943
  "flows:config:get": {
4881
4944
  "aliases": [],
4882
4945
  "args": {
@@ -5181,5 +5244,5 @@
5181
5244
  ]
5182
5245
  }
5183
5246
  },
5184
- "version": "0.8.5"
5247
+ "version": "0.8.7"
5185
5248
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "adapty",
3
3
  "description": "Adapty command line interface",
4
- "version": "0.8.5",
4
+ "version": "0.8.7",
5
5
  "author": "Adapty team <support@adapty.io>",
6
6
  "bin": {
7
7
  "adapty": "./bin/run.js"
@@ -58,7 +58,15 @@
58
58
  "oclif": {
59
59
  "bin": "adapty",
60
60
  "dirname": "adapty",
61
- "commands": "./dist/commands",
61
+ "commands": {
62
+ "strategy": "pattern",
63
+ "target": "./dist/commands",
64
+ "globPatterns": [
65
+ "**/*.+(js|cjs|mjs|ts|tsx|mts|cts)",
66
+ "!**/*.+(d.ts|test.ts|test.js|spec.ts|spec.js|d.mts|d.cts)?(x)",
67
+ "!**/lib/**"
68
+ ]
69
+ },
62
70
  "plugins": [
63
71
  "@oclif/plugin-help"
64
72
  ],