adapty 0.1.1 → 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 +24 -23
  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 +215 -212
  48. package/package.json +1 -1
@@ -212,36 +212,85 @@
212
212
  "update.js"
213
213
  ]
214
214
  },
215
- "auth:login": {
215
+ "apps:create": {
216
216
  "aliases": [],
217
217
  "args": {},
218
- "description": "Authenticate with Adapty via browser",
218
+ "description": "Create a new Adapty app",
219
219
  "examples": [
220
- "<%= config.bin %> auth login"
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"
221
222
  ],
222
- "flags": {},
223
+ "flags": {
224
+ "json": {
225
+ "description": "Format output as json.",
226
+ "helpGroup": "GLOBAL",
227
+ "name": "json",
228
+ "allowNo": false,
229
+ "type": "boolean"
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",
241
+ "hasDynamicHelp": false,
242
+ "multiple": false,
243
+ "type": "option"
244
+ },
245
+ "platform": {
246
+ "description": "Platform (ios, android). Repeat for multiple.",
247
+ "name": "platform",
248
+ "required": true,
249
+ "hasDynamicHelp": false,
250
+ "multiple": true,
251
+ "options": [
252
+ "ios",
253
+ "android"
254
+ ],
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
+ }
265
+ },
223
266
  "hasDynamicHelp": false,
224
267
  "hiddenAliases": [],
225
- "id": "auth:login",
268
+ "id": "apps:create",
226
269
  "pluginAlias": "adapty",
227
270
  "pluginName": "adapty",
228
271
  "pluginType": "core",
229
272
  "strict": true,
230
- "enableJsonFlag": false,
273
+ "enableJsonFlag": true,
231
274
  "isESM": true,
232
275
  "relativePath": [
233
276
  "dist",
234
277
  "commands",
235
- "auth",
236
- "login.js"
278
+ "apps",
279
+ "create.js"
237
280
  ]
238
281
  },
239
- "auth:logout": {
282
+ "apps:get": {
240
283
  "aliases": [],
241
- "args": {},
242
- "description": "Remove stored authentication token",
284
+ "args": {
285
+ "app_id": {
286
+ "description": "App ID (UUID)",
287
+ "name": "app_id",
288
+ "required": true
289
+ }
290
+ },
291
+ "description": "Get app details",
243
292
  "examples": [
244
- "<%= config.bin %> auth logout"
293
+ "<%= config.bin %> apps get 550e8400-e29b-41d4-a716-446655440000"
245
294
  ],
246
295
  "flags": {
247
296
  "json": {
@@ -254,7 +303,7 @@
254
303
  },
255
304
  "hasDynamicHelp": false,
256
305
  "hiddenAliases": [],
257
- "id": "auth:logout",
306
+ "id": "apps:get",
258
307
  "pluginAlias": "adapty",
259
308
  "pluginName": "adapty",
260
309
  "pluginType": "core",
@@ -264,16 +313,17 @@
264
313
  "relativePath": [
265
314
  "dist",
266
315
  "commands",
267
- "auth",
268
- "logout.js"
316
+ "apps",
317
+ "get.js"
269
318
  ]
270
319
  },
271
- "auth:status": {
320
+ "apps:list": {
272
321
  "aliases": [],
273
322
  "args": {},
274
- "description": "Show current authentication state (local only)",
323
+ "description": "List Adapty apps",
275
324
  "examples": [
276
- "<%= config.bin %> auth status"
325
+ "<%= config.bin %> apps list",
326
+ "<%= config.bin %> apps list --page 2 --page-size 10"
277
327
  ],
278
328
  "flags": {
279
329
  "json": {
@@ -282,11 +332,27 @@
282
332
  "name": "json",
283
333
  "allowNo": false,
284
334
  "type": "boolean"
335
+ },
336
+ "page": {
337
+ "description": "Page number",
338
+ "name": "page",
339
+ "default": 1,
340
+ "hasDynamicHelp": false,
341
+ "multiple": false,
342
+ "type": "option"
343
+ },
344
+ "page-size": {
345
+ "description": "Items per page (max 100)",
346
+ "name": "page-size",
347
+ "default": 20,
348
+ "hasDynamicHelp": false,
349
+ "multiple": false,
350
+ "type": "option"
285
351
  }
286
352
  },
287
353
  "hasDynamicHelp": false,
288
354
  "hiddenAliases": [],
289
- "id": "auth:status",
355
+ "id": "apps:list",
290
356
  "pluginAlias": "adapty",
291
357
  "pluginName": "adapty",
292
358
  "pluginType": "core",
@@ -296,16 +362,22 @@
296
362
  "relativePath": [
297
363
  "dist",
298
364
  "commands",
299
- "auth",
300
- "status.js"
365
+ "apps",
366
+ "list.js"
301
367
  ]
302
368
  },
303
- "auth:whoami": {
369
+ "apps:update": {
304
370
  "aliases": [],
305
- "args": {},
306
- "description": "Show current user info from server (verifies token)",
371
+ "args": {
372
+ "app_id": {
373
+ "description": "App ID (UUID)",
374
+ "name": "app_id",
375
+ "required": true
376
+ }
377
+ },
378
+ "description": "Update an app",
307
379
  "examples": [
308
- "<%= config.bin %> auth whoami"
380
+ "<%= config.bin %> apps update 550e8400-... --title \"My App\""
309
381
  ],
310
382
  "flags": {
311
383
  "json": {
@@ -314,31 +386,75 @@
314
386
  "name": "json",
315
387
  "allowNo": false,
316
388
  "type": "boolean"
389
+ },
390
+ "apple-bundle-id": {
391
+ "description": "Apple bundle ID",
392
+ "name": "apple-bundle-id",
393
+ "hasDynamicHelp": false,
394
+ "multiple": false,
395
+ "type": "option"
396
+ },
397
+ "google-bundle-id": {
398
+ "description": "Google bundle ID",
399
+ "name": "google-bundle-id",
400
+ "hasDynamicHelp": false,
401
+ "multiple": false,
402
+ "type": "option"
403
+ },
404
+ "title": {
405
+ "description": "App title",
406
+ "name": "title",
407
+ "hasDynamicHelp": false,
408
+ "multiple": false,
409
+ "type": "option"
317
410
  }
318
411
  },
319
412
  "hasDynamicHelp": false,
320
413
  "hiddenAliases": [],
321
- "id": "auth:whoami",
414
+ "id": "apps:update",
322
415
  "pluginAlias": "adapty",
323
416
  "pluginName": "adapty",
324
417
  "pluginType": "core",
325
418
  "strict": true,
326
419
  "enableJsonFlag": true,
327
420
  "isESM": true,
421
+ "relativePath": [
422
+ "dist",
423
+ "commands",
424
+ "apps",
425
+ "update.js"
426
+ ]
427
+ },
428
+ "auth:login": {
429
+ "aliases": [],
430
+ "args": {},
431
+ "description": "Authenticate with Adapty via browser",
432
+ "examples": [
433
+ "<%= config.bin %> auth login"
434
+ ],
435
+ "flags": {},
436
+ "hasDynamicHelp": false,
437
+ "hiddenAliases": [],
438
+ "id": "auth:login",
439
+ "pluginAlias": "adapty",
440
+ "pluginName": "adapty",
441
+ "pluginType": "core",
442
+ "strict": true,
443
+ "enableJsonFlag": false,
444
+ "isESM": true,
328
445
  "relativePath": [
329
446
  "dist",
330
447
  "commands",
331
448
  "auth",
332
- "whoami.js"
449
+ "login.js"
333
450
  ]
334
451
  },
335
- "apps:create": {
452
+ "auth:logout": {
336
453
  "aliases": [],
337
454
  "args": {},
338
- "description": "Create a new Adapty app",
455
+ "description": "Remove stored authentication token",
339
456
  "examples": [
340
- "<%= config.bin %> apps create --name \"My App\" --platform ios --ios-bundle-id com.example.app",
341
- "<%= config.bin %> apps create --name \"My App\" --platform ios --platform android --ios-bundle-id com.example.app --android-bundle-id com.example.app"
457
+ "<%= config.bin %> auth logout"
342
458
  ],
343
459
  "flags": {
344
460
  "json": {
@@ -347,45 +463,11 @@
347
463
  "name": "json",
348
464
  "allowNo": false,
349
465
  "type": "boolean"
350
- },
351
- "android-bundle-id": {
352
- "description": "Android bundle ID (required with --platform android)",
353
- "name": "android-bundle-id",
354
- "hasDynamicHelp": false,
355
- "multiple": false,
356
- "type": "option"
357
- },
358
- "ios-bundle-id": {
359
- "description": "iOS bundle ID (required with --platform ios)",
360
- "name": "ios-bundle-id",
361
- "hasDynamicHelp": false,
362
- "multiple": false,
363
- "type": "option"
364
- },
365
- "name": {
366
- "description": "App name",
367
- "name": "name",
368
- "required": true,
369
- "hasDynamicHelp": false,
370
- "multiple": false,
371
- "type": "option"
372
- },
373
- "platform": {
374
- "description": "Platform (ios, android). Repeat for multiple.",
375
- "name": "platform",
376
- "required": true,
377
- "hasDynamicHelp": false,
378
- "multiple": true,
379
- "options": [
380
- "ios",
381
- "android"
382
- ],
383
- "type": "option"
384
466
  }
385
467
  },
386
468
  "hasDynamicHelp": false,
387
469
  "hiddenAliases": [],
388
- "id": "apps:create",
470
+ "id": "auth:logout",
389
471
  "pluginAlias": "adapty",
390
472
  "pluginName": "adapty",
391
473
  "pluginType": "core",
@@ -395,22 +477,16 @@
395
477
  "relativePath": [
396
478
  "dist",
397
479
  "commands",
398
- "apps",
399
- "create.js"
480
+ "auth",
481
+ "logout.js"
400
482
  ]
401
483
  },
402
- "apps:get": {
484
+ "auth:revoke": {
403
485
  "aliases": [],
404
- "args": {
405
- "app_id": {
406
- "description": "App ID (UUID)",
407
- "name": "app_id",
408
- "required": true
409
- }
410
- },
411
- "description": "Get app details",
486
+ "args": {},
487
+ "description": "Revoke the current authentication token",
412
488
  "examples": [
413
- "<%= config.bin %> apps get 550e8400-e29b-41d4-a716-446655440000"
489
+ "<%= config.bin %> auth revoke"
414
490
  ],
415
491
  "flags": {
416
492
  "json": {
@@ -423,7 +499,7 @@
423
499
  },
424
500
  "hasDynamicHelp": false,
425
501
  "hiddenAliases": [],
426
- "id": "apps:get",
502
+ "id": "auth:revoke",
427
503
  "pluginAlias": "adapty",
428
504
  "pluginName": "adapty",
429
505
  "pluginType": "core",
@@ -433,17 +509,16 @@
433
509
  "relativePath": [
434
510
  "dist",
435
511
  "commands",
436
- "apps",
437
- "get.js"
512
+ "auth",
513
+ "revoke.js"
438
514
  ]
439
515
  },
440
- "apps:list": {
516
+ "auth:status": {
441
517
  "aliases": [],
442
518
  "args": {},
443
- "description": "List Adapty apps",
519
+ "description": "Show current authentication state (local only)",
444
520
  "examples": [
445
- "<%= config.bin %> apps list",
446
- "<%= config.bin %> apps list --page 2 --page-size 10"
521
+ "<%= config.bin %> auth status"
447
522
  ],
448
523
  "flags": {
449
524
  "json": {
@@ -452,27 +527,11 @@
452
527
  "name": "json",
453
528
  "allowNo": false,
454
529
  "type": "boolean"
455
- },
456
- "page": {
457
- "description": "Page number",
458
- "name": "page",
459
- "default": 1,
460
- "hasDynamicHelp": false,
461
- "multiple": false,
462
- "type": "option"
463
- },
464
- "page-size": {
465
- "description": "Items per page (max 100)",
466
- "name": "page-size",
467
- "default": 20,
468
- "hasDynamicHelp": false,
469
- "multiple": false,
470
- "type": "option"
471
530
  }
472
531
  },
473
532
  "hasDynamicHelp": false,
474
533
  "hiddenAliases": [],
475
- "id": "apps:list",
534
+ "id": "auth:status",
476
535
  "pluginAlias": "adapty",
477
536
  "pluginName": "adapty",
478
537
  "pluginType": "core",
@@ -482,22 +541,16 @@
482
541
  "relativePath": [
483
542
  "dist",
484
543
  "commands",
485
- "apps",
486
- "list.js"
544
+ "auth",
545
+ "status.js"
487
546
  ]
488
547
  },
489
- "apps:update": {
548
+ "auth:whoami": {
490
549
  "aliases": [],
491
- "args": {
492
- "app_id": {
493
- "description": "App ID (UUID)",
494
- "name": "app_id",
495
- "required": true
496
- }
497
- },
498
- "description": "Update an app",
550
+ "args": {},
551
+ "description": "Show current user info from server (verifies token)",
499
552
  "examples": [
500
- "<%= config.bin %> apps update 550e8400-... --name \"My App\""
553
+ "<%= config.bin %> auth whoami"
501
554
  ],
502
555
  "flags": {
503
556
  "json": {
@@ -506,32 +559,11 @@
506
559
  "name": "json",
507
560
  "allowNo": false,
508
561
  "type": "boolean"
509
- },
510
- "android-bundle-id": {
511
- "description": "Android bundle ID",
512
- "name": "android-bundle-id",
513
- "hasDynamicHelp": false,
514
- "multiple": false,
515
- "type": "option"
516
- },
517
- "ios-bundle-id": {
518
- "description": "iOS bundle ID",
519
- "name": "ios-bundle-id",
520
- "hasDynamicHelp": false,
521
- "multiple": false,
522
- "type": "option"
523
- },
524
- "name": {
525
- "description": "App name",
526
- "name": "name",
527
- "hasDynamicHelp": false,
528
- "multiple": false,
529
- "type": "option"
530
562
  }
531
563
  },
532
564
  "hasDynamicHelp": false,
533
565
  "hiddenAliases": [],
534
- "id": "apps:update",
566
+ "id": "auth:whoami",
535
567
  "pluginAlias": "adapty",
536
568
  "pluginName": "adapty",
537
569
  "pluginType": "core",
@@ -541,8 +573,8 @@
541
573
  "relativePath": [
542
574
  "dist",
543
575
  "commands",
544
- "apps",
545
- "update.js"
576
+ "auth",
577
+ "whoami.js"
546
578
  ]
547
579
  },
548
580
  "paywalls:create": {
@@ -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,
@@ -770,7 +802,7 @@
770
802
  "args": {},
771
803
  "description": "Create a placement with a paywall",
772
804
  "examples": [
773
- "<%= config.bin %> placements create --app UUID --name \"Default\" --developer-id default --paywall-id UUID"
805
+ "<%= config.bin %> placements create --app UUID --title \"Default\" --developer-id default --paywall-id UUID"
774
806
  ],
775
807
  "flags": {
776
808
  "json": {
@@ -796,17 +828,17 @@
796
828
  "multiple": false,
797
829
  "type": "option"
798
830
  },
799
- "name": {
800
- "description": "Placement name",
801
- "name": "name",
831
+ "paywall-id": {
832
+ "description": "Paywall ID (UUID)",
833
+ "name": "paywall-id",
802
834
  "required": true,
803
835
  "hasDynamicHelp": false,
804
836
  "multiple": false,
805
837
  "type": "option"
806
838
  },
807
- "paywall-id": {
808
- "description": "Paywall ID (UUID)",
809
- "name": "paywall-id",
839
+ "title": {
840
+ "description": "Placement title",
841
+ "name": "title",
810
842
  "required": true,
811
843
  "hasDynamicHelp": false,
812
844
  "multiple": false,
@@ -942,7 +974,7 @@
942
974
  },
943
975
  "description": "Update a placement",
944
976
  "examples": [
945
- "<%= config.bin %> placements update --app UUID 550e8400-... --name \"Default\" --developer-id default --paywall-id UUID"
977
+ "<%= config.bin %> placements update --app UUID 550e8400-... --title \"Default\" --developer-id default --paywall-id UUID"
946
978
  ],
947
979
  "flags": {
948
980
  "json": {
@@ -968,17 +1000,17 @@
968
1000
  "multiple": false,
969
1001
  "type": "option"
970
1002
  },
971
- "name": {
972
- "description": "Placement name",
973
- "name": "name",
1003
+ "paywall-id": {
1004
+ "description": "Paywall ID (UUID)",
1005
+ "name": "paywall-id",
974
1006
  "required": true,
975
1007
  "hasDynamicHelp": false,
976
1008
  "multiple": false,
977
1009
  "type": "option"
978
1010
  },
979
- "paywall-id": {
980
- "description": "Paywall ID (UUID)",
981
- "name": "paywall-id",
1011
+ "title": {
1012
+ "description": "Placement title",
1013
+ "name": "title",
982
1014
  "required": true,
983
1015
  "hasDynamicHelp": false,
984
1016
  "multiple": false,
@@ -1006,7 +1038,7 @@
1006
1038
  "args": {},
1007
1039
  "description": "Create a product with vendor products per platform",
1008
1040
  "examples": [
1009
- "<%= config.bin %> products create --app UUID --name \"Monthly\" --access-level-id UUID --period monthly --ios-product-id com.example.monthly"
1041
+ "<%= config.bin %> products create --app UUID --title \"Monthly\" --access-level-id UUID --period monthly --ios-product-id com.example.monthly"
1010
1042
  ],
1011
1043
  "flags": {
1012
1044
  "json": {
@@ -1053,17 +1085,17 @@
1053
1085
  "multiple": false,
1054
1086
  "type": "option"
1055
1087
  },
1056
- "name": {
1057
- "description": "Product name",
1058
- "name": "name",
1088
+ "period": {
1089
+ "description": "Subscription period (weekly, monthly, two_months, trimonthly, semiannual, annual, lifetime)",
1090
+ "name": "period",
1059
1091
  "required": true,
1060
1092
  "hasDynamicHelp": false,
1061
1093
  "multiple": false,
1062
1094
  "type": "option"
1063
1095
  },
1064
- "period": {
1065
- "description": "Subscription period (weekly, monthly, 2_months, 3_months, 6_months, yearly, lifetime)",
1066
- "name": "period",
1096
+ "title": {
1097
+ "description": "Product title",
1098
+ "name": "title",
1067
1099
  "required": true,
1068
1100
  "hasDynamicHelp": false,
1069
1101
  "multiple": false,
@@ -1197,9 +1229,9 @@
1197
1229
  "required": true
1198
1230
  }
1199
1231
  },
1200
- "description": "Update a product",
1232
+ "description": "Update a product (title and access level only)",
1201
1233
  "examples": [
1202
- "<%= config.bin %> products update --app UUID 550e8400-... --name \"Monthly\" --access-level-id UUID --period monthly --ios-product-id com.example.monthly"
1234
+ "<%= config.bin %> products update --app UUID 550e8400-... --title \"Monthly\" --access-level-id UUID"
1203
1235
  ],
1204
1236
  "flags": {
1205
1237
  "json": {
@@ -1225,38 +1257,9 @@
1225
1257
  "multiple": false,
1226
1258
  "type": "option"
1227
1259
  },
1228
- "android-base-plan-id": {
1229
- "description": "Android base plan ID",
1230
- "name": "android-base-plan-id",
1231
- "hasDynamicHelp": false,
1232
- "multiple": false,
1233
- "type": "option"
1234
- },
1235
- "android-product-id": {
1236
- "description": "Android product ID",
1237
- "name": "android-product-id",
1238
- "hasDynamicHelp": false,
1239
- "multiple": false,
1240
- "type": "option"
1241
- },
1242
- "ios-product-id": {
1243
- "description": "iOS product ID",
1244
- "name": "ios-product-id",
1245
- "hasDynamicHelp": false,
1246
- "multiple": false,
1247
- "type": "option"
1248
- },
1249
- "name": {
1250
- "description": "Product name",
1251
- "name": "name",
1252
- "required": true,
1253
- "hasDynamicHelp": false,
1254
- "multiple": false,
1255
- "type": "option"
1256
- },
1257
- "period": {
1258
- "description": "Subscription period (weekly, monthly, 2_months, 3_months, 6_months, yearly, lifetime)",
1259
- "name": "period",
1260
+ "title": {
1261
+ "description": "Product title",
1262
+ "name": "title",
1260
1263
  "required": true,
1261
1264
  "hasDynamicHelp": false,
1262
1265
  "multiple": false,
@@ -1280,5 +1283,5 @@
1280
1283
  ]
1281
1284
  }
1282
1285
  },
1283
- "version": "0.1.1"
1286
+ "version": "0.1.3"
1284
1287
  }