adapty 0.1.2 → 0.1.3

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 (48) hide show
  1. package/README.md +4 -3
  2. package/dist/commands/access-levels/create.d.ts +1 -7
  3. package/dist/commands/access-levels/create.js +2 -3
  4. package/dist/commands/access-levels/get.js +2 -3
  5. package/dist/commands/access-levels/list.js +1 -1
  6. package/dist/commands/access-levels/update.d.ts +1 -7
  7. package/dist/commands/access-levels/update.js +2 -3
  8. package/dist/commands/apps/create.d.ts +4 -16
  9. package/dist/commands/apps/create.js +27 -19
  10. package/dist/commands/apps/get.d.ts +3 -3
  11. package/dist/commands/apps/get.js +2 -9
  12. package/dist/commands/apps/list.d.ts +1 -1
  13. package/dist/commands/apps/list.js +1 -1
  14. package/dist/commands/apps/update.d.ts +6 -6
  15. package/dist/commands/apps/update.js +14 -18
  16. package/dist/commands/auth/login.js +2 -1
  17. package/dist/commands/auth/revoke.d.ts +9 -0
  18. package/dist/commands/auth/revoke.js +21 -0
  19. package/dist/commands/auth/whoami.d.ts +1 -10
  20. package/dist/commands/auth/whoami.js +2 -8
  21. package/dist/commands/paywalls/create.d.ts +2 -7
  22. package/dist/commands/paywalls/create.js +5 -5
  23. package/dist/commands/paywalls/get.d.ts +1 -1
  24. package/dist/commands/paywalls/get.js +2 -3
  25. package/dist/commands/paywalls/list.d.ts +1 -1
  26. package/dist/commands/paywalls/list.js +1 -1
  27. package/dist/commands/paywalls/update.d.ts +2 -7
  28. package/dist/commands/paywalls/update.js +5 -5
  29. package/dist/commands/placements/create.d.ts +2 -8
  30. package/dist/commands/placements/create.js +5 -6
  31. package/dist/commands/placements/get.d.ts +1 -1
  32. package/dist/commands/placements/get.js +2 -4
  33. package/dist/commands/placements/list.d.ts +1 -1
  34. package/dist/commands/placements/list.js +1 -1
  35. package/dist/commands/placements/update.d.ts +2 -8
  36. package/dist/commands/placements/update.js +5 -6
  37. package/dist/commands/products/create.d.ts +2 -19
  38. package/dist/commands/products/create.js +7 -14
  39. package/dist/commands/products/get.d.ts +2 -13
  40. package/dist/commands/products/get.js +2 -11
  41. package/dist/commands/products/list.d.ts +2 -13
  42. package/dist/commands/products/list.js +1 -12
  43. package/dist/commands/products/update.d.ts +2 -23
  44. package/dist/commands/products/update.js +6 -37
  45. package/dist/lib/output.d.ts +1 -1
  46. package/dist/lib/output.js +35 -4
  47. package/oclif.manifest.json +183 -180
  48. package/package.json +1 -1
@@ -217,8 +217,8 @@
217
217
  "args": {},
218
218
  "description": "Create a new Adapty app",
219
219
  "examples": [
220
- "<%= config.bin %> apps create --name \"My App\" --platform ios --ios-bundle-id com.example.app",
221
- "<%= config.bin %> apps create --name \"My App\" --platform ios --platform android --ios-bundle-id com.example.app --android-bundle-id com.example.app"
220
+ "<%= config.bin %> apps create --title \"My App\" --platform ios --apple-bundle-id com.example.app",
221
+ "<%= config.bin %> apps create --title \"My App\" --platform ios --platform android --apple-bundle-id com.example.app --google-bundle-id com.example.app"
222
222
  ],
223
223
  "flags": {
224
224
  "json": {
@@ -228,24 +228,16 @@
228
228
  "allowNo": false,
229
229
  "type": "boolean"
230
230
  },
231
- "android-bundle-id": {
232
- "description": "Android bundle ID (required with --platform android)",
233
- "name": "android-bundle-id",
231
+ "apple-bundle-id": {
232
+ "description": "Apple bundle ID (required with --platform ios)",
233
+ "name": "apple-bundle-id",
234
234
  "hasDynamicHelp": false,
235
235
  "multiple": false,
236
236
  "type": "option"
237
237
  },
238
- "ios-bundle-id": {
239
- "description": "iOS bundle ID (required with --platform ios)",
240
- "name": "ios-bundle-id",
241
- "hasDynamicHelp": false,
242
- "multiple": false,
243
- "type": "option"
244
- },
245
- "name": {
246
- "description": "App name",
247
- "name": "name",
248
- "required": true,
238
+ "google-bundle-id": {
239
+ "description": "Google bundle ID (required with --platform android)",
240
+ "name": "google-bundle-id",
249
241
  "hasDynamicHelp": false,
250
242
  "multiple": false,
251
243
  "type": "option"
@@ -261,6 +253,14 @@
261
253
  "android"
262
254
  ],
263
255
  "type": "option"
256
+ },
257
+ "title": {
258
+ "description": "App title",
259
+ "name": "title",
260
+ "required": true,
261
+ "hasDynamicHelp": false,
262
+ "multiple": false,
263
+ "type": "option"
264
264
  }
265
265
  },
266
266
  "hasDynamicHelp": false,
@@ -377,7 +377,7 @@
377
377
  },
378
378
  "description": "Update an app",
379
379
  "examples": [
380
- "<%= config.bin %> apps update 550e8400-... --name \"My App\""
380
+ "<%= config.bin %> apps update 550e8400-... --title \"My App\""
381
381
  ],
382
382
  "flags": {
383
383
  "json": {
@@ -387,23 +387,23 @@
387
387
  "allowNo": false,
388
388
  "type": "boolean"
389
389
  },
390
- "android-bundle-id": {
391
- "description": "Android bundle ID",
392
- "name": "android-bundle-id",
390
+ "apple-bundle-id": {
391
+ "description": "Apple bundle ID",
392
+ "name": "apple-bundle-id",
393
393
  "hasDynamicHelp": false,
394
394
  "multiple": false,
395
395
  "type": "option"
396
396
  },
397
- "ios-bundle-id": {
398
- "description": "iOS bundle ID",
399
- "name": "ios-bundle-id",
397
+ "google-bundle-id": {
398
+ "description": "Google bundle ID",
399
+ "name": "google-bundle-id",
400
400
  "hasDynamicHelp": false,
401
401
  "multiple": false,
402
402
  "type": "option"
403
403
  },
404
- "name": {
405
- "description": "App name",
406
- "name": "name",
404
+ "title": {
405
+ "description": "App title",
406
+ "name": "title",
407
407
  "hasDynamicHelp": false,
408
408
  "multiple": false,
409
409
  "type": "option"
@@ -481,6 +481,38 @@
481
481
  "logout.js"
482
482
  ]
483
483
  },
484
+ "auth:revoke": {
485
+ "aliases": [],
486
+ "args": {},
487
+ "description": "Revoke the current authentication token",
488
+ "examples": [
489
+ "<%= config.bin %> auth revoke"
490
+ ],
491
+ "flags": {
492
+ "json": {
493
+ "description": "Format output as json.",
494
+ "helpGroup": "GLOBAL",
495
+ "name": "json",
496
+ "allowNo": false,
497
+ "type": "boolean"
498
+ }
499
+ },
500
+ "hasDynamicHelp": false,
501
+ "hiddenAliases": [],
502
+ "id": "auth:revoke",
503
+ "pluginAlias": "adapty",
504
+ "pluginName": "adapty",
505
+ "pluginType": "core",
506
+ "strict": true,
507
+ "enableJsonFlag": true,
508
+ "isESM": true,
509
+ "relativePath": [
510
+ "dist",
511
+ "commands",
512
+ "auth",
513
+ "revoke.js"
514
+ ]
515
+ },
484
516
  "auth:status": {
485
517
  "aliases": [],
486
518
  "args": {},
@@ -550,7 +582,7 @@
550
582
  "args": {},
551
583
  "description": "Create a paywall with products",
552
584
  "examples": [
553
- "<%= config.bin %> paywalls create --app UUID --name \"Default Paywall\" --product-id UUID1 --product-id UUID2"
585
+ "<%= config.bin %> paywalls create --app UUID --title \"Default Paywall\" --product-id UUID1 --product-id UUID2"
554
586
  ],
555
587
  "flags": {
556
588
  "json": {
@@ -568,14 +600,6 @@
568
600
  "multiple": false,
569
601
  "type": "option"
570
602
  },
571
- "name": {
572
- "description": "Paywall name",
573
- "name": "name",
574
- "required": true,
575
- "hasDynamicHelp": false,
576
- "multiple": false,
577
- "type": "option"
578
- },
579
603
  "product-id": {
580
604
  "description": "Product ID (UUID). Repeat for multiple.",
581
605
  "name": "product-id",
@@ -583,6 +607,14 @@
583
607
  "hasDynamicHelp": false,
584
608
  "multiple": true,
585
609
  "type": "option"
610
+ },
611
+ "title": {
612
+ "description": "Paywall title",
613
+ "name": "title",
614
+ "required": true,
615
+ "hasDynamicHelp": false,
616
+ "multiple": false,
617
+ "type": "option"
586
618
  }
587
619
  },
588
620
  "hasDynamicHelp": false,
@@ -714,7 +746,7 @@
714
746
  },
715
747
  "description": "Update a paywall",
716
748
  "examples": [
717
- "<%= config.bin %> paywalls update --app UUID 550e8400-... --name \"Default Paywall\" --product-id UUID1 --product-id UUID2"
749
+ "<%= config.bin %> paywalls update --app UUID 550e8400-... --title \"Default Paywall\" --product-id UUID1 --product-id UUID2"
718
750
  ],
719
751
  "flags": {
720
752
  "json": {
@@ -732,14 +764,6 @@
732
764
  "multiple": false,
733
765
  "type": "option"
734
766
  },
735
- "name": {
736
- "description": "Paywall name",
737
- "name": "name",
738
- "required": true,
739
- "hasDynamicHelp": false,
740
- "multiple": false,
741
- "type": "option"
742
- },
743
767
  "product-id": {
744
768
  "description": "Product ID (UUID). Repeat for multiple.",
745
769
  "name": "product-id",
@@ -747,6 +771,14 @@
747
771
  "hasDynamicHelp": false,
748
772
  "multiple": true,
749
773
  "type": "option"
774
+ },
775
+ "title": {
776
+ "description": "Paywall title",
777
+ "name": "title",
778
+ "required": true,
779
+ "hasDynamicHelp": false,
780
+ "multiple": false,
781
+ "type": "option"
750
782
  }
751
783
  },
752
784
  "hasDynamicHelp": false,
@@ -765,12 +797,12 @@
765
797
  "update.js"
766
798
  ]
767
799
  },
768
- "products:create": {
800
+ "placements:create": {
769
801
  "aliases": [],
770
802
  "args": {},
771
- "description": "Create a product with vendor products per platform",
803
+ "description": "Create a placement with a paywall",
772
804
  "examples": [
773
- "<%= config.bin %> products create --app UUID --name \"Monthly\" --access-level-id UUID --period monthly --ios-product-id com.example.monthly"
805
+ "<%= config.bin %> placements create --app UUID --title \"Default\" --developer-id default --paywall-id UUID"
774
806
  ],
775
807
  "flags": {
776
808
  "json": {
@@ -788,46 +820,25 @@
788
820
  "multiple": false,
789
821
  "type": "option"
790
822
  },
791
- "access-level-id": {
792
- "description": "Access level ID (UUID)",
793
- "name": "access-level-id",
823
+ "developer-id": {
824
+ "description": "Developer ID for the placement",
825
+ "name": "developer-id",
794
826
  "required": true,
795
827
  "hasDynamicHelp": false,
796
828
  "multiple": false,
797
829
  "type": "option"
798
830
  },
799
- "android-base-plan-id": {
800
- "description": "Android base plan ID",
801
- "name": "android-base-plan-id",
802
- "hasDynamicHelp": false,
803
- "multiple": false,
804
- "type": "option"
805
- },
806
- "android-product-id": {
807
- "description": "Android product ID",
808
- "name": "android-product-id",
809
- "hasDynamicHelp": false,
810
- "multiple": false,
811
- "type": "option"
812
- },
813
- "ios-product-id": {
814
- "description": "iOS product ID",
815
- "name": "ios-product-id",
816
- "hasDynamicHelp": false,
817
- "multiple": false,
818
- "type": "option"
819
- },
820
- "name": {
821
- "description": "Product name",
822
- "name": "name",
831
+ "paywall-id": {
832
+ "description": "Paywall ID (UUID)",
833
+ "name": "paywall-id",
823
834
  "required": true,
824
835
  "hasDynamicHelp": false,
825
836
  "multiple": false,
826
837
  "type": "option"
827
838
  },
828
- "period": {
829
- "description": "Subscription period (weekly, monthly, 2_months, 3_months, 6_months, yearly, lifetime)",
830
- "name": "period",
839
+ "title": {
840
+ "description": "Placement title",
841
+ "name": "title",
831
842
  "required": true,
832
843
  "hasDynamicHelp": false,
833
844
  "multiple": false,
@@ -836,7 +847,7 @@
836
847
  },
837
848
  "hasDynamicHelp": false,
838
849
  "hiddenAliases": [],
839
- "id": "products:create",
850
+ "id": "placements:create",
840
851
  "pluginAlias": "adapty",
841
852
  "pluginName": "adapty",
842
853
  "pluginType": "core",
@@ -846,22 +857,22 @@
846
857
  "relativePath": [
847
858
  "dist",
848
859
  "commands",
849
- "products",
860
+ "placements",
850
861
  "create.js"
851
862
  ]
852
863
  },
853
- "products:get": {
864
+ "placements:get": {
854
865
  "aliases": [],
855
866
  "args": {
856
- "product_id": {
857
- "description": "Product ID (UUID)",
858
- "name": "product_id",
867
+ "placement_id": {
868
+ "description": "Placement ID (UUID)",
869
+ "name": "placement_id",
859
870
  "required": true
860
871
  }
861
872
  },
862
- "description": "Get product details",
873
+ "description": "Get placement details",
863
874
  "examples": [
864
- "<%= config.bin %> products get --app UUID 550e8400-e29b-41d4-a716-446655440000"
875
+ "<%= config.bin %> placements get --app UUID 550e8400-e29b-41d4-a716-446655440000"
865
876
  ],
866
877
  "flags": {
867
878
  "json": {
@@ -882,7 +893,7 @@
882
893
  },
883
894
  "hasDynamicHelp": false,
884
895
  "hiddenAliases": [],
885
- "id": "products:get",
896
+ "id": "placements:get",
886
897
  "pluginAlias": "adapty",
887
898
  "pluginName": "adapty",
888
899
  "pluginType": "core",
@@ -892,16 +903,16 @@
892
903
  "relativePath": [
893
904
  "dist",
894
905
  "commands",
895
- "products",
906
+ "placements",
896
907
  "get.js"
897
908
  ]
898
909
  },
899
- "products:list": {
910
+ "placements:list": {
900
911
  "aliases": [],
901
912
  "args": {},
902
- "description": "List products for an app",
913
+ "description": "List placements for an app",
903
914
  "examples": [
904
- "<%= config.bin %> products list --app 550e8400-..."
915
+ "<%= config.bin %> placements list --app 550e8400-..."
905
916
  ],
906
917
  "flags": {
907
918
  "json": {
@@ -938,7 +949,7 @@
938
949
  },
939
950
  "hasDynamicHelp": false,
940
951
  "hiddenAliases": [],
941
- "id": "products:list",
952
+ "id": "placements:list",
942
953
  "pluginAlias": "adapty",
943
954
  "pluginName": "adapty",
944
955
  "pluginType": "core",
@@ -948,22 +959,22 @@
948
959
  "relativePath": [
949
960
  "dist",
950
961
  "commands",
951
- "products",
962
+ "placements",
952
963
  "list.js"
953
964
  ]
954
965
  },
955
- "products:update": {
966
+ "placements:update": {
956
967
  "aliases": [],
957
968
  "args": {
958
- "product_id": {
959
- "description": "Product ID (UUID)",
960
- "name": "product_id",
969
+ "placement_id": {
970
+ "description": "Placement ID (UUID)",
971
+ "name": "placement_id",
961
972
  "required": true
962
973
  }
963
974
  },
964
- "description": "Update a product",
975
+ "description": "Update a placement",
965
976
  "examples": [
966
- "<%= config.bin %> products update --app UUID 550e8400-... --name \"Monthly\" --access-level-id UUID --period monthly --ios-product-id com.example.monthly"
977
+ "<%= config.bin %> placements update --app UUID 550e8400-... --title \"Default\" --developer-id default --paywall-id UUID"
967
978
  ],
968
979
  "flags": {
969
980
  "json": {
@@ -981,46 +992,25 @@
981
992
  "multiple": false,
982
993
  "type": "option"
983
994
  },
984
- "access-level-id": {
985
- "description": "Access level ID (UUID)",
986
- "name": "access-level-id",
995
+ "developer-id": {
996
+ "description": "Developer ID for the placement",
997
+ "name": "developer-id",
987
998
  "required": true,
988
999
  "hasDynamicHelp": false,
989
1000
  "multiple": false,
990
1001
  "type": "option"
991
1002
  },
992
- "android-base-plan-id": {
993
- "description": "Android base plan ID",
994
- "name": "android-base-plan-id",
995
- "hasDynamicHelp": false,
996
- "multiple": false,
997
- "type": "option"
998
- },
999
- "android-product-id": {
1000
- "description": "Android product ID",
1001
- "name": "android-product-id",
1002
- "hasDynamicHelp": false,
1003
- "multiple": false,
1004
- "type": "option"
1005
- },
1006
- "ios-product-id": {
1007
- "description": "iOS product ID",
1008
- "name": "ios-product-id",
1009
- "hasDynamicHelp": false,
1010
- "multiple": false,
1011
- "type": "option"
1012
- },
1013
- "name": {
1014
- "description": "Product name",
1015
- "name": "name",
1003
+ "paywall-id": {
1004
+ "description": "Paywall ID (UUID)",
1005
+ "name": "paywall-id",
1016
1006
  "required": true,
1017
1007
  "hasDynamicHelp": false,
1018
1008
  "multiple": false,
1019
1009
  "type": "option"
1020
1010
  },
1021
- "period": {
1022
- "description": "Subscription period (weekly, monthly, 2_months, 3_months, 6_months, yearly, lifetime)",
1023
- "name": "period",
1011
+ "title": {
1012
+ "description": "Placement title",
1013
+ "name": "title",
1024
1014
  "required": true,
1025
1015
  "hasDynamicHelp": false,
1026
1016
  "multiple": false,
@@ -1029,7 +1019,7 @@
1029
1019
  },
1030
1020
  "hasDynamicHelp": false,
1031
1021
  "hiddenAliases": [],
1032
- "id": "products:update",
1022
+ "id": "placements:update",
1033
1023
  "pluginAlias": "adapty",
1034
1024
  "pluginName": "adapty",
1035
1025
  "pluginType": "core",
@@ -1039,16 +1029,16 @@
1039
1029
  "relativePath": [
1040
1030
  "dist",
1041
1031
  "commands",
1042
- "products",
1032
+ "placements",
1043
1033
  "update.js"
1044
1034
  ]
1045
1035
  },
1046
- "placements:create": {
1036
+ "products:create": {
1047
1037
  "aliases": [],
1048
1038
  "args": {},
1049
- "description": "Create a placement with a paywall",
1039
+ "description": "Create a product with vendor products per platform",
1050
1040
  "examples": [
1051
- "<%= config.bin %> placements create --app UUID --name \"Default\" --developer-id default --paywall-id UUID"
1041
+ "<%= config.bin %> products create --app UUID --title \"Monthly\" --access-level-id UUID --period monthly --ios-product-id com.example.monthly"
1052
1042
  ],
1053
1043
  "flags": {
1054
1044
  "json": {
@@ -1066,25 +1056,46 @@
1066
1056
  "multiple": false,
1067
1057
  "type": "option"
1068
1058
  },
1069
- "developer-id": {
1070
- "description": "Developer ID for the placement",
1071
- "name": "developer-id",
1059
+ "access-level-id": {
1060
+ "description": "Access level ID (UUID)",
1061
+ "name": "access-level-id",
1072
1062
  "required": true,
1073
1063
  "hasDynamicHelp": false,
1074
1064
  "multiple": false,
1075
1065
  "type": "option"
1076
1066
  },
1077
- "name": {
1078
- "description": "Placement name",
1079
- "name": "name",
1067
+ "android-base-plan-id": {
1068
+ "description": "Android base plan ID",
1069
+ "name": "android-base-plan-id",
1070
+ "hasDynamicHelp": false,
1071
+ "multiple": false,
1072
+ "type": "option"
1073
+ },
1074
+ "android-product-id": {
1075
+ "description": "Android product ID",
1076
+ "name": "android-product-id",
1077
+ "hasDynamicHelp": false,
1078
+ "multiple": false,
1079
+ "type": "option"
1080
+ },
1081
+ "ios-product-id": {
1082
+ "description": "iOS product ID",
1083
+ "name": "ios-product-id",
1084
+ "hasDynamicHelp": false,
1085
+ "multiple": false,
1086
+ "type": "option"
1087
+ },
1088
+ "period": {
1089
+ "description": "Subscription period (weekly, monthly, two_months, trimonthly, semiannual, annual, lifetime)",
1090
+ "name": "period",
1080
1091
  "required": true,
1081
1092
  "hasDynamicHelp": false,
1082
1093
  "multiple": false,
1083
1094
  "type": "option"
1084
1095
  },
1085
- "paywall-id": {
1086
- "description": "Paywall ID (UUID)",
1087
- "name": "paywall-id",
1096
+ "title": {
1097
+ "description": "Product title",
1098
+ "name": "title",
1088
1099
  "required": true,
1089
1100
  "hasDynamicHelp": false,
1090
1101
  "multiple": false,
@@ -1093,7 +1104,7 @@
1093
1104
  },
1094
1105
  "hasDynamicHelp": false,
1095
1106
  "hiddenAliases": [],
1096
- "id": "placements:create",
1107
+ "id": "products:create",
1097
1108
  "pluginAlias": "adapty",
1098
1109
  "pluginName": "adapty",
1099
1110
  "pluginType": "core",
@@ -1103,22 +1114,22 @@
1103
1114
  "relativePath": [
1104
1115
  "dist",
1105
1116
  "commands",
1106
- "placements",
1117
+ "products",
1107
1118
  "create.js"
1108
1119
  ]
1109
1120
  },
1110
- "placements:get": {
1121
+ "products:get": {
1111
1122
  "aliases": [],
1112
1123
  "args": {
1113
- "placement_id": {
1114
- "description": "Placement ID (UUID)",
1115
- "name": "placement_id",
1124
+ "product_id": {
1125
+ "description": "Product ID (UUID)",
1126
+ "name": "product_id",
1116
1127
  "required": true
1117
1128
  }
1118
1129
  },
1119
- "description": "Get placement details",
1130
+ "description": "Get product details",
1120
1131
  "examples": [
1121
- "<%= config.bin %> placements get --app UUID 550e8400-e29b-41d4-a716-446655440000"
1132
+ "<%= config.bin %> products get --app UUID 550e8400-e29b-41d4-a716-446655440000"
1122
1133
  ],
1123
1134
  "flags": {
1124
1135
  "json": {
@@ -1139,7 +1150,7 @@
1139
1150
  },
1140
1151
  "hasDynamicHelp": false,
1141
1152
  "hiddenAliases": [],
1142
- "id": "placements:get",
1153
+ "id": "products:get",
1143
1154
  "pluginAlias": "adapty",
1144
1155
  "pluginName": "adapty",
1145
1156
  "pluginType": "core",
@@ -1149,16 +1160,16 @@
1149
1160
  "relativePath": [
1150
1161
  "dist",
1151
1162
  "commands",
1152
- "placements",
1163
+ "products",
1153
1164
  "get.js"
1154
1165
  ]
1155
1166
  },
1156
- "placements:list": {
1167
+ "products:list": {
1157
1168
  "aliases": [],
1158
1169
  "args": {},
1159
- "description": "List placements for an app",
1170
+ "description": "List products for an app",
1160
1171
  "examples": [
1161
- "<%= config.bin %> placements list --app 550e8400-..."
1172
+ "<%= config.bin %> products list --app 550e8400-..."
1162
1173
  ],
1163
1174
  "flags": {
1164
1175
  "json": {
@@ -1195,7 +1206,7 @@
1195
1206
  },
1196
1207
  "hasDynamicHelp": false,
1197
1208
  "hiddenAliases": [],
1198
- "id": "placements:list",
1209
+ "id": "products:list",
1199
1210
  "pluginAlias": "adapty",
1200
1211
  "pluginName": "adapty",
1201
1212
  "pluginType": "core",
@@ -1205,22 +1216,22 @@
1205
1216
  "relativePath": [
1206
1217
  "dist",
1207
1218
  "commands",
1208
- "placements",
1219
+ "products",
1209
1220
  "list.js"
1210
1221
  ]
1211
1222
  },
1212
- "placements:update": {
1223
+ "products:update": {
1213
1224
  "aliases": [],
1214
1225
  "args": {
1215
- "placement_id": {
1216
- "description": "Placement ID (UUID)",
1217
- "name": "placement_id",
1226
+ "product_id": {
1227
+ "description": "Product ID (UUID)",
1228
+ "name": "product_id",
1218
1229
  "required": true
1219
1230
  }
1220
1231
  },
1221
- "description": "Update a placement",
1232
+ "description": "Update a product (title and access level only)",
1222
1233
  "examples": [
1223
- "<%= config.bin %> placements update --app UUID 550e8400-... --name \"Default\" --developer-id default --paywall-id UUID"
1234
+ "<%= config.bin %> products update --app UUID 550e8400-... --title \"Monthly\" --access-level-id UUID"
1224
1235
  ],
1225
1236
  "flags": {
1226
1237
  "json": {
@@ -1238,25 +1249,17 @@
1238
1249
  "multiple": false,
1239
1250
  "type": "option"
1240
1251
  },
1241
- "developer-id": {
1242
- "description": "Developer ID for the placement",
1243
- "name": "developer-id",
1244
- "required": true,
1245
- "hasDynamicHelp": false,
1246
- "multiple": false,
1247
- "type": "option"
1248
- },
1249
- "name": {
1250
- "description": "Placement name",
1251
- "name": "name",
1252
+ "access-level-id": {
1253
+ "description": "Access level ID (UUID)",
1254
+ "name": "access-level-id",
1252
1255
  "required": true,
1253
1256
  "hasDynamicHelp": false,
1254
1257
  "multiple": false,
1255
1258
  "type": "option"
1256
1259
  },
1257
- "paywall-id": {
1258
- "description": "Paywall ID (UUID)",
1259
- "name": "paywall-id",
1260
+ "title": {
1261
+ "description": "Product title",
1262
+ "name": "title",
1260
1263
  "required": true,
1261
1264
  "hasDynamicHelp": false,
1262
1265
  "multiple": false,
@@ -1265,7 +1268,7 @@
1265
1268
  },
1266
1269
  "hasDynamicHelp": false,
1267
1270
  "hiddenAliases": [],
1268
- "id": "placements:update",
1271
+ "id": "products:update",
1269
1272
  "pluginAlias": "adapty",
1270
1273
  "pluginName": "adapty",
1271
1274
  "pluginType": "core",
@@ -1275,10 +1278,10 @@
1275
1278
  "relativePath": [
1276
1279
  "dist",
1277
1280
  "commands",
1278
- "placements",
1281
+ "products",
1279
1282
  "update.js"
1280
1283
  ]
1281
1284
  }
1282
1285
  },
1283
- "version": "0.1.2"
1286
+ "version": "0.1.3"
1284
1287
  }