adapty 0.2.0 → 0.3.0
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.
|
@@ -9,7 +9,11 @@ export default class ProductsCreate extends Command {
|
|
|
9
9
|
'android-base-plan-id': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
10
10
|
'android-product-id': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
11
11
|
'ios-product-id': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
12
|
+
'paddle-price-id': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
13
|
+
'paddle-product-id': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
12
14
|
period: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
15
|
+
'stripe-price-id': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
16
|
+
'stripe-product-id': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
13
17
|
title: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
14
18
|
app: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
15
19
|
};
|
|
@@ -11,6 +11,7 @@ const VALID_PERIODS = [
|
|
|
11
11
|
'annual',
|
|
12
12
|
'lifetime',
|
|
13
13
|
];
|
|
14
|
+
const xor = (a, b) => (a === undefined) !== (b === undefined);
|
|
14
15
|
export default class ProductsCreate extends Command {
|
|
15
16
|
static description = 'Create a product with vendor products per platform';
|
|
16
17
|
static enableJsonFlag = true;
|
|
@@ -20,13 +21,17 @@ export default class ProductsCreate extends Command {
|
|
|
20
21
|
static flags = {
|
|
21
22
|
...appFlag,
|
|
22
23
|
'access-level-id': Flags.string({ description: 'Access level ID (UUID)', required: true }),
|
|
23
|
-
'android-base-plan-id': Flags.string({ description: 'Android base plan ID' }),
|
|
24
|
-
'android-product-id': Flags.string({ description: 'Android product ID' }),
|
|
25
|
-
'ios-product-id': Flags.string({ description: 'iOS product ID' }),
|
|
24
|
+
'android-base-plan-id': Flags.string({ description: 'Android base plan ID', helpGroup: 'STORE BINDINGS' }),
|
|
25
|
+
'android-product-id': Flags.string({ description: 'Android product ID', helpGroup: 'STORE BINDINGS' }),
|
|
26
|
+
'ios-product-id': Flags.string({ description: 'iOS product ID', helpGroup: 'STORE BINDINGS' }),
|
|
27
|
+
'paddle-price-id': Flags.string({ description: 'Paddle price ID (requires --paddle-product-id)', helpGroup: 'STORE BINDINGS' }),
|
|
28
|
+
'paddle-product-id': Flags.string({ description: 'Paddle product ID (requires --paddle-price-id)', helpGroup: 'STORE BINDINGS' }),
|
|
26
29
|
period: Flags.string({
|
|
27
30
|
description: 'Subscription period (weekly, monthly, two_months, trimonthly, semiannual, annual, lifetime)',
|
|
28
31
|
required: true,
|
|
29
32
|
}),
|
|
33
|
+
'stripe-price-id': Flags.string({ description: 'Stripe price ID (requires --stripe-product-id)', helpGroup: 'STORE BINDINGS' }),
|
|
34
|
+
'stripe-product-id': Flags.string({ description: 'Stripe product ID (requires --stripe-price-id)', helpGroup: 'STORE BINDINGS' }),
|
|
30
35
|
title: Flags.string({ description: 'Product title', required: true }),
|
|
31
36
|
};
|
|
32
37
|
async run() {
|
|
@@ -34,8 +39,17 @@ export default class ProductsCreate extends Command {
|
|
|
34
39
|
if (!VALID_PERIODS.includes(flags.period)) {
|
|
35
40
|
this.error(`Invalid period. Must be one of: ${VALID_PERIODS.join(', ')}`, { exit: 2 });
|
|
36
41
|
}
|
|
37
|
-
if (
|
|
38
|
-
this.error('
|
|
42
|
+
if (xor(flags['stripe-product-id'], flags['stripe-price-id'])) {
|
|
43
|
+
this.error('--stripe-product-id and --stripe-price-id are required together', { exit: 2 });
|
|
44
|
+
}
|
|
45
|
+
if (xor(flags['paddle-product-id'], flags['paddle-price-id'])) {
|
|
46
|
+
this.error('--paddle-product-id and --paddle-price-id are required together', { exit: 2 });
|
|
47
|
+
}
|
|
48
|
+
if (!flags['ios-product-id'] &&
|
|
49
|
+
!flags['android-product-id'] &&
|
|
50
|
+
!flags['stripe-product-id'] &&
|
|
51
|
+
!flags['paddle-product-id']) {
|
|
52
|
+
this.error('At least one store binding is required (ios/android/stripe/paddle)', { exit: 2 });
|
|
39
53
|
}
|
|
40
54
|
if (flags['android-product-id'] && !flags['android-base-plan-id'] && flags.period !== 'lifetime') {
|
|
41
55
|
this.error('--android-base-plan-id is required with --android-product-id for subscriptions', { exit: 2 });
|
|
@@ -52,6 +66,14 @@ export default class ProductsCreate extends Command {
|
|
|
52
66
|
body.android_product_id = flags['android-product-id'];
|
|
53
67
|
if (flags['android-base-plan-id'])
|
|
54
68
|
body.android_base_plan_id = flags['android-base-plan-id'];
|
|
69
|
+
if (flags['stripe-product-id'])
|
|
70
|
+
body.stripe_product_id = flags['stripe-product-id'];
|
|
71
|
+
if (flags['stripe-price-id'])
|
|
72
|
+
body.stripe_price_id = flags['stripe-price-id'];
|
|
73
|
+
if (flags['paddle-product-id'])
|
|
74
|
+
body.paddle_product_id = flags['paddle-product-id'];
|
|
75
|
+
if (flags['paddle-price-id'])
|
|
76
|
+
body.paddle_price_id = flags['paddle-price-id'];
|
|
55
77
|
const result = await client.post(`/apps/${flags.app}/products`, body);
|
|
56
78
|
this.log('Product created!');
|
|
57
79
|
printResponse(result, this.log.bind(this));
|
|
@@ -52,8 +52,12 @@ export interface ProductCreateRequestDTO {
|
|
|
52
52
|
android_base_plan_id?: null | string;
|
|
53
53
|
android_product_id?: null | string;
|
|
54
54
|
ios_product_id?: null | string;
|
|
55
|
+
paddle_price_id?: null | string;
|
|
56
|
+
paddle_product_id?: null | string;
|
|
55
57
|
period: ProductPeriod;
|
|
56
58
|
price_usd?: null | number;
|
|
59
|
+
stripe_price_id?: null | string;
|
|
60
|
+
stripe_product_id?: null | string;
|
|
57
61
|
title: string;
|
|
58
62
|
}
|
|
59
63
|
export interface ProductUpdateRequestDTO {
|
package/oclif.manifest.json
CHANGED
|
@@ -425,158 +425,6 @@
|
|
|
425
425
|
"update.js"
|
|
426
426
|
]
|
|
427
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,
|
|
445
|
-
"relativePath": [
|
|
446
|
-
"dist",
|
|
447
|
-
"commands",
|
|
448
|
-
"auth",
|
|
449
|
-
"login.js"
|
|
450
|
-
]
|
|
451
|
-
},
|
|
452
|
-
"auth:logout": {
|
|
453
|
-
"aliases": [],
|
|
454
|
-
"args": {},
|
|
455
|
-
"description": "Remove stored authentication token",
|
|
456
|
-
"examples": [
|
|
457
|
-
"<%= config.bin %> auth logout"
|
|
458
|
-
],
|
|
459
|
-
"flags": {
|
|
460
|
-
"json": {
|
|
461
|
-
"description": "Format output as json.",
|
|
462
|
-
"helpGroup": "GLOBAL",
|
|
463
|
-
"name": "json",
|
|
464
|
-
"allowNo": false,
|
|
465
|
-
"type": "boolean"
|
|
466
|
-
}
|
|
467
|
-
},
|
|
468
|
-
"hasDynamicHelp": false,
|
|
469
|
-
"hiddenAliases": [],
|
|
470
|
-
"id": "auth:logout",
|
|
471
|
-
"pluginAlias": "adapty",
|
|
472
|
-
"pluginName": "adapty",
|
|
473
|
-
"pluginType": "core",
|
|
474
|
-
"strict": true,
|
|
475
|
-
"enableJsonFlag": true,
|
|
476
|
-
"isESM": true,
|
|
477
|
-
"relativePath": [
|
|
478
|
-
"dist",
|
|
479
|
-
"commands",
|
|
480
|
-
"auth",
|
|
481
|
-
"logout.js"
|
|
482
|
-
]
|
|
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
|
-
},
|
|
516
|
-
"auth:status": {
|
|
517
|
-
"aliases": [],
|
|
518
|
-
"args": {},
|
|
519
|
-
"description": "Show current authentication state (local only)",
|
|
520
|
-
"examples": [
|
|
521
|
-
"<%= config.bin %> auth status"
|
|
522
|
-
],
|
|
523
|
-
"flags": {
|
|
524
|
-
"json": {
|
|
525
|
-
"description": "Format output as json.",
|
|
526
|
-
"helpGroup": "GLOBAL",
|
|
527
|
-
"name": "json",
|
|
528
|
-
"allowNo": false,
|
|
529
|
-
"type": "boolean"
|
|
530
|
-
}
|
|
531
|
-
},
|
|
532
|
-
"hasDynamicHelp": false,
|
|
533
|
-
"hiddenAliases": [],
|
|
534
|
-
"id": "auth:status",
|
|
535
|
-
"pluginAlias": "adapty",
|
|
536
|
-
"pluginName": "adapty",
|
|
537
|
-
"pluginType": "core",
|
|
538
|
-
"strict": true,
|
|
539
|
-
"enableJsonFlag": true,
|
|
540
|
-
"isESM": true,
|
|
541
|
-
"relativePath": [
|
|
542
|
-
"dist",
|
|
543
|
-
"commands",
|
|
544
|
-
"auth",
|
|
545
|
-
"status.js"
|
|
546
|
-
]
|
|
547
|
-
},
|
|
548
|
-
"auth:whoami": {
|
|
549
|
-
"aliases": [],
|
|
550
|
-
"args": {},
|
|
551
|
-
"description": "Show current user info from server (verifies token)",
|
|
552
|
-
"examples": [
|
|
553
|
-
"<%= config.bin %> auth whoami"
|
|
554
|
-
],
|
|
555
|
-
"flags": {
|
|
556
|
-
"json": {
|
|
557
|
-
"description": "Format output as json.",
|
|
558
|
-
"helpGroup": "GLOBAL",
|
|
559
|
-
"name": "json",
|
|
560
|
-
"allowNo": false,
|
|
561
|
-
"type": "boolean"
|
|
562
|
-
}
|
|
563
|
-
},
|
|
564
|
-
"hasDynamicHelp": false,
|
|
565
|
-
"hiddenAliases": [],
|
|
566
|
-
"id": "auth:whoami",
|
|
567
|
-
"pluginAlias": "adapty",
|
|
568
|
-
"pluginName": "adapty",
|
|
569
|
-
"pluginType": "core",
|
|
570
|
-
"strict": true,
|
|
571
|
-
"enableJsonFlag": true,
|
|
572
|
-
"isESM": true,
|
|
573
|
-
"relativePath": [
|
|
574
|
-
"dist",
|
|
575
|
-
"commands",
|
|
576
|
-
"auth",
|
|
577
|
-
"whoami.js"
|
|
578
|
-
]
|
|
579
|
-
},
|
|
580
428
|
"paywalls:create": {
|
|
581
429
|
"aliases": [],
|
|
582
430
|
"args": {},
|
|
@@ -843,6 +691,158 @@
|
|
|
843
691
|
"update.js"
|
|
844
692
|
]
|
|
845
693
|
},
|
|
694
|
+
"auth:login": {
|
|
695
|
+
"aliases": [],
|
|
696
|
+
"args": {},
|
|
697
|
+
"description": "Authenticate with Adapty via browser",
|
|
698
|
+
"examples": [
|
|
699
|
+
"<%= config.bin %> auth login"
|
|
700
|
+
],
|
|
701
|
+
"flags": {},
|
|
702
|
+
"hasDynamicHelp": false,
|
|
703
|
+
"hiddenAliases": [],
|
|
704
|
+
"id": "auth:login",
|
|
705
|
+
"pluginAlias": "adapty",
|
|
706
|
+
"pluginName": "adapty",
|
|
707
|
+
"pluginType": "core",
|
|
708
|
+
"strict": true,
|
|
709
|
+
"enableJsonFlag": false,
|
|
710
|
+
"isESM": true,
|
|
711
|
+
"relativePath": [
|
|
712
|
+
"dist",
|
|
713
|
+
"commands",
|
|
714
|
+
"auth",
|
|
715
|
+
"login.js"
|
|
716
|
+
]
|
|
717
|
+
},
|
|
718
|
+
"auth:logout": {
|
|
719
|
+
"aliases": [],
|
|
720
|
+
"args": {},
|
|
721
|
+
"description": "Remove stored authentication token",
|
|
722
|
+
"examples": [
|
|
723
|
+
"<%= config.bin %> auth logout"
|
|
724
|
+
],
|
|
725
|
+
"flags": {
|
|
726
|
+
"json": {
|
|
727
|
+
"description": "Format output as json.",
|
|
728
|
+
"helpGroup": "GLOBAL",
|
|
729
|
+
"name": "json",
|
|
730
|
+
"allowNo": false,
|
|
731
|
+
"type": "boolean"
|
|
732
|
+
}
|
|
733
|
+
},
|
|
734
|
+
"hasDynamicHelp": false,
|
|
735
|
+
"hiddenAliases": [],
|
|
736
|
+
"id": "auth:logout",
|
|
737
|
+
"pluginAlias": "adapty",
|
|
738
|
+
"pluginName": "adapty",
|
|
739
|
+
"pluginType": "core",
|
|
740
|
+
"strict": true,
|
|
741
|
+
"enableJsonFlag": true,
|
|
742
|
+
"isESM": true,
|
|
743
|
+
"relativePath": [
|
|
744
|
+
"dist",
|
|
745
|
+
"commands",
|
|
746
|
+
"auth",
|
|
747
|
+
"logout.js"
|
|
748
|
+
]
|
|
749
|
+
},
|
|
750
|
+
"auth:revoke": {
|
|
751
|
+
"aliases": [],
|
|
752
|
+
"args": {},
|
|
753
|
+
"description": "Revoke the current authentication token",
|
|
754
|
+
"examples": [
|
|
755
|
+
"<%= config.bin %> auth revoke"
|
|
756
|
+
],
|
|
757
|
+
"flags": {
|
|
758
|
+
"json": {
|
|
759
|
+
"description": "Format output as json.",
|
|
760
|
+
"helpGroup": "GLOBAL",
|
|
761
|
+
"name": "json",
|
|
762
|
+
"allowNo": false,
|
|
763
|
+
"type": "boolean"
|
|
764
|
+
}
|
|
765
|
+
},
|
|
766
|
+
"hasDynamicHelp": false,
|
|
767
|
+
"hiddenAliases": [],
|
|
768
|
+
"id": "auth:revoke",
|
|
769
|
+
"pluginAlias": "adapty",
|
|
770
|
+
"pluginName": "adapty",
|
|
771
|
+
"pluginType": "core",
|
|
772
|
+
"strict": true,
|
|
773
|
+
"enableJsonFlag": true,
|
|
774
|
+
"isESM": true,
|
|
775
|
+
"relativePath": [
|
|
776
|
+
"dist",
|
|
777
|
+
"commands",
|
|
778
|
+
"auth",
|
|
779
|
+
"revoke.js"
|
|
780
|
+
]
|
|
781
|
+
},
|
|
782
|
+
"auth:status": {
|
|
783
|
+
"aliases": [],
|
|
784
|
+
"args": {},
|
|
785
|
+
"description": "Show current authentication state (local only)",
|
|
786
|
+
"examples": [
|
|
787
|
+
"<%= config.bin %> auth status"
|
|
788
|
+
],
|
|
789
|
+
"flags": {
|
|
790
|
+
"json": {
|
|
791
|
+
"description": "Format output as json.",
|
|
792
|
+
"helpGroup": "GLOBAL",
|
|
793
|
+
"name": "json",
|
|
794
|
+
"allowNo": false,
|
|
795
|
+
"type": "boolean"
|
|
796
|
+
}
|
|
797
|
+
},
|
|
798
|
+
"hasDynamicHelp": false,
|
|
799
|
+
"hiddenAliases": [],
|
|
800
|
+
"id": "auth:status",
|
|
801
|
+
"pluginAlias": "adapty",
|
|
802
|
+
"pluginName": "adapty",
|
|
803
|
+
"pluginType": "core",
|
|
804
|
+
"strict": true,
|
|
805
|
+
"enableJsonFlag": true,
|
|
806
|
+
"isESM": true,
|
|
807
|
+
"relativePath": [
|
|
808
|
+
"dist",
|
|
809
|
+
"commands",
|
|
810
|
+
"auth",
|
|
811
|
+
"status.js"
|
|
812
|
+
]
|
|
813
|
+
},
|
|
814
|
+
"auth:whoami": {
|
|
815
|
+
"aliases": [],
|
|
816
|
+
"args": {},
|
|
817
|
+
"description": "Show current user info from server (verifies token)",
|
|
818
|
+
"examples": [
|
|
819
|
+
"<%= config.bin %> auth whoami"
|
|
820
|
+
],
|
|
821
|
+
"flags": {
|
|
822
|
+
"json": {
|
|
823
|
+
"description": "Format output as json.",
|
|
824
|
+
"helpGroup": "GLOBAL",
|
|
825
|
+
"name": "json",
|
|
826
|
+
"allowNo": false,
|
|
827
|
+
"type": "boolean"
|
|
828
|
+
}
|
|
829
|
+
},
|
|
830
|
+
"hasDynamicHelp": false,
|
|
831
|
+
"hiddenAliases": [],
|
|
832
|
+
"id": "auth:whoami",
|
|
833
|
+
"pluginAlias": "adapty",
|
|
834
|
+
"pluginName": "adapty",
|
|
835
|
+
"pluginType": "core",
|
|
836
|
+
"strict": true,
|
|
837
|
+
"enableJsonFlag": true,
|
|
838
|
+
"isESM": true,
|
|
839
|
+
"relativePath": [
|
|
840
|
+
"dist",
|
|
841
|
+
"commands",
|
|
842
|
+
"auth",
|
|
843
|
+
"whoami.js"
|
|
844
|
+
]
|
|
845
|
+
},
|
|
846
846
|
"placements:create": {
|
|
847
847
|
"aliases": [],
|
|
848
848
|
"args": {},
|
|
@@ -1126,6 +1126,7 @@
|
|
|
1126
1126
|
},
|
|
1127
1127
|
"android-base-plan-id": {
|
|
1128
1128
|
"description": "Android base plan ID",
|
|
1129
|
+
"helpGroup": "STORE BINDINGS",
|
|
1129
1130
|
"name": "android-base-plan-id",
|
|
1130
1131
|
"hasDynamicHelp": false,
|
|
1131
1132
|
"multiple": false,
|
|
@@ -1133,6 +1134,7 @@
|
|
|
1133
1134
|
},
|
|
1134
1135
|
"android-product-id": {
|
|
1135
1136
|
"description": "Android product ID",
|
|
1137
|
+
"helpGroup": "STORE BINDINGS",
|
|
1136
1138
|
"name": "android-product-id",
|
|
1137
1139
|
"hasDynamicHelp": false,
|
|
1138
1140
|
"multiple": false,
|
|
@@ -1140,11 +1142,28 @@
|
|
|
1140
1142
|
},
|
|
1141
1143
|
"ios-product-id": {
|
|
1142
1144
|
"description": "iOS product ID",
|
|
1145
|
+
"helpGroup": "STORE BINDINGS",
|
|
1143
1146
|
"name": "ios-product-id",
|
|
1144
1147
|
"hasDynamicHelp": false,
|
|
1145
1148
|
"multiple": false,
|
|
1146
1149
|
"type": "option"
|
|
1147
1150
|
},
|
|
1151
|
+
"paddle-price-id": {
|
|
1152
|
+
"description": "Paddle price ID (requires --paddle-product-id)",
|
|
1153
|
+
"helpGroup": "STORE BINDINGS",
|
|
1154
|
+
"name": "paddle-price-id",
|
|
1155
|
+
"hasDynamicHelp": false,
|
|
1156
|
+
"multiple": false,
|
|
1157
|
+
"type": "option"
|
|
1158
|
+
},
|
|
1159
|
+
"paddle-product-id": {
|
|
1160
|
+
"description": "Paddle product ID (requires --paddle-price-id)",
|
|
1161
|
+
"helpGroup": "STORE BINDINGS",
|
|
1162
|
+
"name": "paddle-product-id",
|
|
1163
|
+
"hasDynamicHelp": false,
|
|
1164
|
+
"multiple": false,
|
|
1165
|
+
"type": "option"
|
|
1166
|
+
},
|
|
1148
1167
|
"period": {
|
|
1149
1168
|
"description": "Subscription period (weekly, monthly, two_months, trimonthly, semiannual, annual, lifetime)",
|
|
1150
1169
|
"name": "period",
|
|
@@ -1153,6 +1172,22 @@
|
|
|
1153
1172
|
"multiple": false,
|
|
1154
1173
|
"type": "option"
|
|
1155
1174
|
},
|
|
1175
|
+
"stripe-price-id": {
|
|
1176
|
+
"description": "Stripe price ID (requires --stripe-product-id)",
|
|
1177
|
+
"helpGroup": "STORE BINDINGS",
|
|
1178
|
+
"name": "stripe-price-id",
|
|
1179
|
+
"hasDynamicHelp": false,
|
|
1180
|
+
"multiple": false,
|
|
1181
|
+
"type": "option"
|
|
1182
|
+
},
|
|
1183
|
+
"stripe-product-id": {
|
|
1184
|
+
"description": "Stripe product ID (requires --stripe-price-id)",
|
|
1185
|
+
"helpGroup": "STORE BINDINGS",
|
|
1186
|
+
"name": "stripe-product-id",
|
|
1187
|
+
"hasDynamicHelp": false,
|
|
1188
|
+
"multiple": false,
|
|
1189
|
+
"type": "option"
|
|
1190
|
+
},
|
|
1156
1191
|
"title": {
|
|
1157
1192
|
"description": "Product title",
|
|
1158
1193
|
"name": "title",
|
|
@@ -1445,5 +1480,5 @@
|
|
|
1445
1480
|
]
|
|
1446
1481
|
}
|
|
1447
1482
|
},
|
|
1448
|
-
"version": "0.
|
|
1483
|
+
"version": "0.3.0"
|
|
1449
1484
|
}
|