@ownkeyhq/sdk 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.
- package/CHANGELOG.md +13 -0
- package/LICENSE +21 -0
- package/dist/openapi.json +972 -7
- package/dist/src/openapi.d.ts +369 -4
- package/package.json +2 -1
package/dist/openapi.json
CHANGED
|
@@ -2072,6 +2072,17 @@
|
|
|
2072
2072
|
"null"
|
|
2073
2073
|
]
|
|
2074
2074
|
},
|
|
2075
|
+
"logo_url": {
|
|
2076
|
+
"anyOf": [
|
|
2077
|
+
{
|
|
2078
|
+
"type": "string",
|
|
2079
|
+
"format": "uri"
|
|
2080
|
+
},
|
|
2081
|
+
{
|
|
2082
|
+
"type": "null"
|
|
2083
|
+
}
|
|
2084
|
+
]
|
|
2085
|
+
},
|
|
2075
2086
|
"created_at": {
|
|
2076
2087
|
"type": "string"
|
|
2077
2088
|
},
|
|
@@ -2087,6 +2098,7 @@
|
|
|
2087
2098
|
"key_prefix",
|
|
2088
2099
|
"install_instructions",
|
|
2089
2100
|
"activate_instructions",
|
|
2101
|
+
"logo_url",
|
|
2090
2102
|
"created_at",
|
|
2091
2103
|
"updated_at"
|
|
2092
2104
|
],
|
|
@@ -2247,6 +2259,17 @@
|
|
|
2247
2259
|
"null"
|
|
2248
2260
|
]
|
|
2249
2261
|
},
|
|
2262
|
+
"logo_url": {
|
|
2263
|
+
"anyOf": [
|
|
2264
|
+
{
|
|
2265
|
+
"type": "string",
|
|
2266
|
+
"format": "uri"
|
|
2267
|
+
},
|
|
2268
|
+
{
|
|
2269
|
+
"type": "null"
|
|
2270
|
+
}
|
|
2271
|
+
]
|
|
2272
|
+
},
|
|
2250
2273
|
"created_at": {
|
|
2251
2274
|
"type": "string"
|
|
2252
2275
|
},
|
|
@@ -2262,6 +2285,7 @@
|
|
|
2262
2285
|
"key_prefix",
|
|
2263
2286
|
"install_instructions",
|
|
2264
2287
|
"activate_instructions",
|
|
2288
|
+
"logo_url",
|
|
2265
2289
|
"created_at",
|
|
2266
2290
|
"updated_at"
|
|
2267
2291
|
],
|
|
@@ -2362,6 +2386,17 @@
|
|
|
2362
2386
|
"null"
|
|
2363
2387
|
]
|
|
2364
2388
|
},
|
|
2389
|
+
"logo_url": {
|
|
2390
|
+
"anyOf": [
|
|
2391
|
+
{
|
|
2392
|
+
"type": "string",
|
|
2393
|
+
"format": "uri"
|
|
2394
|
+
},
|
|
2395
|
+
{
|
|
2396
|
+
"type": "null"
|
|
2397
|
+
}
|
|
2398
|
+
]
|
|
2399
|
+
},
|
|
2365
2400
|
"created_at": {
|
|
2366
2401
|
"type": "string"
|
|
2367
2402
|
},
|
|
@@ -2377,6 +2412,7 @@
|
|
|
2377
2412
|
"key_prefix",
|
|
2378
2413
|
"install_instructions",
|
|
2379
2414
|
"activate_instructions",
|
|
2415
|
+
"logo_url",
|
|
2380
2416
|
"created_at",
|
|
2381
2417
|
"updated_at"
|
|
2382
2418
|
],
|
|
@@ -2487,7 +2523,290 @@
|
|
|
2487
2523
|
}
|
|
2488
2524
|
}
|
|
2489
2525
|
}
|
|
2490
|
-
},
|
|
2526
|
+
},
|
|
2527
|
+
"responses": {
|
|
2528
|
+
"200": {
|
|
2529
|
+
"description": "OK",
|
|
2530
|
+
"content": {
|
|
2531
|
+
"application/json": {
|
|
2532
|
+
"schema": {
|
|
2533
|
+
"type": "object",
|
|
2534
|
+
"properties": {
|
|
2535
|
+
"id": {
|
|
2536
|
+
"type": "string"
|
|
2537
|
+
},
|
|
2538
|
+
"brand_id": {
|
|
2539
|
+
"type": "string"
|
|
2540
|
+
},
|
|
2541
|
+
"slug": {
|
|
2542
|
+
"type": "string"
|
|
2543
|
+
},
|
|
2544
|
+
"name": {
|
|
2545
|
+
"type": "string"
|
|
2546
|
+
},
|
|
2547
|
+
"key_prefix": {
|
|
2548
|
+
"type": [
|
|
2549
|
+
"string",
|
|
2550
|
+
"null"
|
|
2551
|
+
]
|
|
2552
|
+
},
|
|
2553
|
+
"install_instructions": {
|
|
2554
|
+
"type": [
|
|
2555
|
+
"string",
|
|
2556
|
+
"null"
|
|
2557
|
+
]
|
|
2558
|
+
},
|
|
2559
|
+
"activate_instructions": {
|
|
2560
|
+
"type": [
|
|
2561
|
+
"string",
|
|
2562
|
+
"null"
|
|
2563
|
+
]
|
|
2564
|
+
},
|
|
2565
|
+
"logo_url": {
|
|
2566
|
+
"anyOf": [
|
|
2567
|
+
{
|
|
2568
|
+
"type": "string",
|
|
2569
|
+
"format": "uri"
|
|
2570
|
+
},
|
|
2571
|
+
{
|
|
2572
|
+
"type": "null"
|
|
2573
|
+
}
|
|
2574
|
+
]
|
|
2575
|
+
},
|
|
2576
|
+
"created_at": {
|
|
2577
|
+
"type": "string"
|
|
2578
|
+
},
|
|
2579
|
+
"updated_at": {
|
|
2580
|
+
"type": "string"
|
|
2581
|
+
}
|
|
2582
|
+
},
|
|
2583
|
+
"required": [
|
|
2584
|
+
"id",
|
|
2585
|
+
"brand_id",
|
|
2586
|
+
"slug",
|
|
2587
|
+
"name",
|
|
2588
|
+
"key_prefix",
|
|
2589
|
+
"install_instructions",
|
|
2590
|
+
"activate_instructions",
|
|
2591
|
+
"logo_url",
|
|
2592
|
+
"created_at",
|
|
2593
|
+
"updated_at"
|
|
2594
|
+
],
|
|
2595
|
+
"additionalProperties": false
|
|
2596
|
+
}
|
|
2597
|
+
}
|
|
2598
|
+
}
|
|
2599
|
+
},
|
|
2600
|
+
"default": {
|
|
2601
|
+
"description": "Refusal",
|
|
2602
|
+
"content": {
|
|
2603
|
+
"application/json": {
|
|
2604
|
+
"schema": {
|
|
2605
|
+
"type": "object",
|
|
2606
|
+
"properties": {
|
|
2607
|
+
"error": {
|
|
2608
|
+
"type": "object",
|
|
2609
|
+
"properties": {
|
|
2610
|
+
"code": {
|
|
2611
|
+
"type": "string"
|
|
2612
|
+
},
|
|
2613
|
+
"message": {
|
|
2614
|
+
"type": "string"
|
|
2615
|
+
}
|
|
2616
|
+
},
|
|
2617
|
+
"required": [
|
|
2618
|
+
"code",
|
|
2619
|
+
"message"
|
|
2620
|
+
]
|
|
2621
|
+
}
|
|
2622
|
+
},
|
|
2623
|
+
"required": [
|
|
2624
|
+
"error"
|
|
2625
|
+
]
|
|
2626
|
+
}
|
|
2627
|
+
}
|
|
2628
|
+
}
|
|
2629
|
+
}
|
|
2630
|
+
}
|
|
2631
|
+
}
|
|
2632
|
+
},
|
|
2633
|
+
"/v1/products/{product}/logo": {
|
|
2634
|
+
"put": {
|
|
2635
|
+
"operationId": "products.uploadLogo",
|
|
2636
|
+
"summary": "Upload a PNG, JPEG or WebP logo, up to 1 MB, if the product still has the supplied updated_at.",
|
|
2637
|
+
"tags": [
|
|
2638
|
+
"products"
|
|
2639
|
+
],
|
|
2640
|
+
"x-scope": "admin",
|
|
2641
|
+
"parameters": [
|
|
2642
|
+
{
|
|
2643
|
+
"name": "product",
|
|
2644
|
+
"in": "path",
|
|
2645
|
+
"required": true,
|
|
2646
|
+
"schema": {
|
|
2647
|
+
"type": "string",
|
|
2648
|
+
"minLength": 1,
|
|
2649
|
+
"maxLength": 80,
|
|
2650
|
+
"description": "product id or slug"
|
|
2651
|
+
}
|
|
2652
|
+
},
|
|
2653
|
+
{
|
|
2654
|
+
"name": "expected_updated_at",
|
|
2655
|
+
"in": "query",
|
|
2656
|
+
"required": true,
|
|
2657
|
+
"schema": {
|
|
2658
|
+
"type": "string",
|
|
2659
|
+
"minLength": 1,
|
|
2660
|
+
"maxLength": 50
|
|
2661
|
+
}
|
|
2662
|
+
}
|
|
2663
|
+
],
|
|
2664
|
+
"requestBody": {
|
|
2665
|
+
"required": true,
|
|
2666
|
+
"content": {
|
|
2667
|
+
"application/octet-stream": {
|
|
2668
|
+
"schema": {
|
|
2669
|
+
"type": "string",
|
|
2670
|
+
"format": "binary"
|
|
2671
|
+
}
|
|
2672
|
+
}
|
|
2673
|
+
}
|
|
2674
|
+
},
|
|
2675
|
+
"responses": {
|
|
2676
|
+
"200": {
|
|
2677
|
+
"description": "OK",
|
|
2678
|
+
"content": {
|
|
2679
|
+
"application/json": {
|
|
2680
|
+
"schema": {
|
|
2681
|
+
"type": "object",
|
|
2682
|
+
"properties": {
|
|
2683
|
+
"id": {
|
|
2684
|
+
"type": "string"
|
|
2685
|
+
},
|
|
2686
|
+
"brand_id": {
|
|
2687
|
+
"type": "string"
|
|
2688
|
+
},
|
|
2689
|
+
"slug": {
|
|
2690
|
+
"type": "string"
|
|
2691
|
+
},
|
|
2692
|
+
"name": {
|
|
2693
|
+
"type": "string"
|
|
2694
|
+
},
|
|
2695
|
+
"key_prefix": {
|
|
2696
|
+
"type": [
|
|
2697
|
+
"string",
|
|
2698
|
+
"null"
|
|
2699
|
+
]
|
|
2700
|
+
},
|
|
2701
|
+
"install_instructions": {
|
|
2702
|
+
"type": [
|
|
2703
|
+
"string",
|
|
2704
|
+
"null"
|
|
2705
|
+
]
|
|
2706
|
+
},
|
|
2707
|
+
"activate_instructions": {
|
|
2708
|
+
"type": [
|
|
2709
|
+
"string",
|
|
2710
|
+
"null"
|
|
2711
|
+
]
|
|
2712
|
+
},
|
|
2713
|
+
"logo_url": {
|
|
2714
|
+
"anyOf": [
|
|
2715
|
+
{
|
|
2716
|
+
"type": "string",
|
|
2717
|
+
"format": "uri"
|
|
2718
|
+
},
|
|
2719
|
+
{
|
|
2720
|
+
"type": "null"
|
|
2721
|
+
}
|
|
2722
|
+
]
|
|
2723
|
+
},
|
|
2724
|
+
"created_at": {
|
|
2725
|
+
"type": "string"
|
|
2726
|
+
},
|
|
2727
|
+
"updated_at": {
|
|
2728
|
+
"type": "string"
|
|
2729
|
+
}
|
|
2730
|
+
},
|
|
2731
|
+
"required": [
|
|
2732
|
+
"id",
|
|
2733
|
+
"brand_id",
|
|
2734
|
+
"slug",
|
|
2735
|
+
"name",
|
|
2736
|
+
"key_prefix",
|
|
2737
|
+
"install_instructions",
|
|
2738
|
+
"activate_instructions",
|
|
2739
|
+
"logo_url",
|
|
2740
|
+
"created_at",
|
|
2741
|
+
"updated_at"
|
|
2742
|
+
],
|
|
2743
|
+
"additionalProperties": false
|
|
2744
|
+
}
|
|
2745
|
+
}
|
|
2746
|
+
}
|
|
2747
|
+
},
|
|
2748
|
+
"default": {
|
|
2749
|
+
"description": "Refusal",
|
|
2750
|
+
"content": {
|
|
2751
|
+
"application/json": {
|
|
2752
|
+
"schema": {
|
|
2753
|
+
"type": "object",
|
|
2754
|
+
"properties": {
|
|
2755
|
+
"error": {
|
|
2756
|
+
"type": "object",
|
|
2757
|
+
"properties": {
|
|
2758
|
+
"code": {
|
|
2759
|
+
"type": "string"
|
|
2760
|
+
},
|
|
2761
|
+
"message": {
|
|
2762
|
+
"type": "string"
|
|
2763
|
+
}
|
|
2764
|
+
},
|
|
2765
|
+
"required": [
|
|
2766
|
+
"code",
|
|
2767
|
+
"message"
|
|
2768
|
+
]
|
|
2769
|
+
}
|
|
2770
|
+
},
|
|
2771
|
+
"required": [
|
|
2772
|
+
"error"
|
|
2773
|
+
]
|
|
2774
|
+
}
|
|
2775
|
+
}
|
|
2776
|
+
}
|
|
2777
|
+
}
|
|
2778
|
+
}
|
|
2779
|
+
},
|
|
2780
|
+
"delete": {
|
|
2781
|
+
"operationId": "products.removeLogo",
|
|
2782
|
+
"summary": "Remove the current product logo if the product still has the supplied updated_at.",
|
|
2783
|
+
"tags": [
|
|
2784
|
+
"products"
|
|
2785
|
+
],
|
|
2786
|
+
"x-scope": "admin",
|
|
2787
|
+
"parameters": [
|
|
2788
|
+
{
|
|
2789
|
+
"name": "product",
|
|
2790
|
+
"in": "path",
|
|
2791
|
+
"required": true,
|
|
2792
|
+
"schema": {
|
|
2793
|
+
"type": "string",
|
|
2794
|
+
"minLength": 1,
|
|
2795
|
+
"maxLength": 80,
|
|
2796
|
+
"description": "product id or slug"
|
|
2797
|
+
}
|
|
2798
|
+
},
|
|
2799
|
+
{
|
|
2800
|
+
"name": "expected_updated_at",
|
|
2801
|
+
"in": "query",
|
|
2802
|
+
"required": true,
|
|
2803
|
+
"schema": {
|
|
2804
|
+
"type": "string",
|
|
2805
|
+
"minLength": 1,
|
|
2806
|
+
"maxLength": 50
|
|
2807
|
+
}
|
|
2808
|
+
}
|
|
2809
|
+
],
|
|
2491
2810
|
"responses": {
|
|
2492
2811
|
"200": {
|
|
2493
2812
|
"description": "OK",
|
|
@@ -2526,6 +2845,17 @@
|
|
|
2526
2845
|
"null"
|
|
2527
2846
|
]
|
|
2528
2847
|
},
|
|
2848
|
+
"logo_url": {
|
|
2849
|
+
"anyOf": [
|
|
2850
|
+
{
|
|
2851
|
+
"type": "string",
|
|
2852
|
+
"format": "uri"
|
|
2853
|
+
},
|
|
2854
|
+
{
|
|
2855
|
+
"type": "null"
|
|
2856
|
+
}
|
|
2857
|
+
]
|
|
2858
|
+
},
|
|
2529
2859
|
"created_at": {
|
|
2530
2860
|
"type": "string"
|
|
2531
2861
|
},
|
|
@@ -2541,6 +2871,7 @@
|
|
|
2541
2871
|
"key_prefix",
|
|
2542
2872
|
"install_instructions",
|
|
2543
2873
|
"activate_instructions",
|
|
2874
|
+
"logo_url",
|
|
2544
2875
|
"created_at",
|
|
2545
2876
|
"updated_at"
|
|
2546
2877
|
],
|
|
@@ -4875,6 +5206,37 @@
|
|
|
4875
5206
|
"has_webhook_secret": {
|
|
4876
5207
|
"type": "boolean"
|
|
4877
5208
|
},
|
|
5209
|
+
"capabilities": {
|
|
5210
|
+
"type": "object",
|
|
5211
|
+
"properties": {
|
|
5212
|
+
"new_payments": {
|
|
5213
|
+
"type": "boolean"
|
|
5214
|
+
},
|
|
5215
|
+
"renewals": {
|
|
5216
|
+
"type": "boolean"
|
|
5217
|
+
},
|
|
5218
|
+
"price_mapping": {
|
|
5219
|
+
"anyOf": [
|
|
5220
|
+
{
|
|
5221
|
+
"type": "string",
|
|
5222
|
+
"enum": [
|
|
5223
|
+
"product",
|
|
5224
|
+
"price"
|
|
5225
|
+
]
|
|
5226
|
+
},
|
|
5227
|
+
{
|
|
5228
|
+
"type": "null"
|
|
5229
|
+
}
|
|
5230
|
+
]
|
|
5231
|
+
}
|
|
5232
|
+
},
|
|
5233
|
+
"required": [
|
|
5234
|
+
"new_payments",
|
|
5235
|
+
"renewals",
|
|
5236
|
+
"price_mapping"
|
|
5237
|
+
],
|
|
5238
|
+
"additionalProperties": false
|
|
5239
|
+
},
|
|
4878
5240
|
"created_at": {
|
|
4879
5241
|
"type": "string"
|
|
4880
5242
|
},
|
|
@@ -4891,6 +5253,7 @@
|
|
|
4891
5253
|
"closes_at",
|
|
4892
5254
|
"external_store_id",
|
|
4893
5255
|
"has_webhook_secret",
|
|
5256
|
+
"capabilities",
|
|
4894
5257
|
"created_at",
|
|
4895
5258
|
"updated_at"
|
|
4896
5259
|
],
|
|
@@ -5052,6 +5415,37 @@
|
|
|
5052
5415
|
"has_webhook_secret": {
|
|
5053
5416
|
"type": "boolean"
|
|
5054
5417
|
},
|
|
5418
|
+
"capabilities": {
|
|
5419
|
+
"type": "object",
|
|
5420
|
+
"properties": {
|
|
5421
|
+
"new_payments": {
|
|
5422
|
+
"type": "boolean"
|
|
5423
|
+
},
|
|
5424
|
+
"renewals": {
|
|
5425
|
+
"type": "boolean"
|
|
5426
|
+
},
|
|
5427
|
+
"price_mapping": {
|
|
5428
|
+
"anyOf": [
|
|
5429
|
+
{
|
|
5430
|
+
"type": "string",
|
|
5431
|
+
"enum": [
|
|
5432
|
+
"product",
|
|
5433
|
+
"price"
|
|
5434
|
+
]
|
|
5435
|
+
},
|
|
5436
|
+
{
|
|
5437
|
+
"type": "null"
|
|
5438
|
+
}
|
|
5439
|
+
]
|
|
5440
|
+
}
|
|
5441
|
+
},
|
|
5442
|
+
"required": [
|
|
5443
|
+
"new_payments",
|
|
5444
|
+
"renewals",
|
|
5445
|
+
"price_mapping"
|
|
5446
|
+
],
|
|
5447
|
+
"additionalProperties": false
|
|
5448
|
+
},
|
|
5055
5449
|
"created_at": {
|
|
5056
5450
|
"type": "string"
|
|
5057
5451
|
},
|
|
@@ -5068,6 +5462,7 @@
|
|
|
5068
5462
|
"closes_at",
|
|
5069
5463
|
"external_store_id",
|
|
5070
5464
|
"has_webhook_secret",
|
|
5465
|
+
"capabilities",
|
|
5071
5466
|
"created_at",
|
|
5072
5467
|
"updated_at"
|
|
5073
5468
|
],
|
|
@@ -5205,6 +5600,37 @@
|
|
|
5205
5600
|
"has_webhook_secret": {
|
|
5206
5601
|
"type": "boolean"
|
|
5207
5602
|
},
|
|
5603
|
+
"capabilities": {
|
|
5604
|
+
"type": "object",
|
|
5605
|
+
"properties": {
|
|
5606
|
+
"new_payments": {
|
|
5607
|
+
"type": "boolean"
|
|
5608
|
+
},
|
|
5609
|
+
"renewals": {
|
|
5610
|
+
"type": "boolean"
|
|
5611
|
+
},
|
|
5612
|
+
"price_mapping": {
|
|
5613
|
+
"anyOf": [
|
|
5614
|
+
{
|
|
5615
|
+
"type": "string",
|
|
5616
|
+
"enum": [
|
|
5617
|
+
"product",
|
|
5618
|
+
"price"
|
|
5619
|
+
]
|
|
5620
|
+
},
|
|
5621
|
+
{
|
|
5622
|
+
"type": "null"
|
|
5623
|
+
}
|
|
5624
|
+
]
|
|
5625
|
+
}
|
|
5626
|
+
},
|
|
5627
|
+
"required": [
|
|
5628
|
+
"new_payments",
|
|
5629
|
+
"renewals",
|
|
5630
|
+
"price_mapping"
|
|
5631
|
+
],
|
|
5632
|
+
"additionalProperties": false
|
|
5633
|
+
},
|
|
5208
5634
|
"created_at": {
|
|
5209
5635
|
"type": "string"
|
|
5210
5636
|
},
|
|
@@ -5221,6 +5647,7 @@
|
|
|
5221
5647
|
"closes_at",
|
|
5222
5648
|
"external_store_id",
|
|
5223
5649
|
"has_webhook_secret",
|
|
5650
|
+
"capabilities",
|
|
5224
5651
|
"created_at",
|
|
5225
5652
|
"updated_at"
|
|
5226
5653
|
],
|
|
@@ -5489,6 +5916,37 @@
|
|
|
5489
5916
|
"has_webhook_secret": {
|
|
5490
5917
|
"type": "boolean"
|
|
5491
5918
|
},
|
|
5919
|
+
"capabilities": {
|
|
5920
|
+
"type": "object",
|
|
5921
|
+
"properties": {
|
|
5922
|
+
"new_payments": {
|
|
5923
|
+
"type": "boolean"
|
|
5924
|
+
},
|
|
5925
|
+
"renewals": {
|
|
5926
|
+
"type": "boolean"
|
|
5927
|
+
},
|
|
5928
|
+
"price_mapping": {
|
|
5929
|
+
"anyOf": [
|
|
5930
|
+
{
|
|
5931
|
+
"type": "string",
|
|
5932
|
+
"enum": [
|
|
5933
|
+
"product",
|
|
5934
|
+
"price"
|
|
5935
|
+
]
|
|
5936
|
+
},
|
|
5937
|
+
{
|
|
5938
|
+
"type": "null"
|
|
5939
|
+
}
|
|
5940
|
+
]
|
|
5941
|
+
}
|
|
5942
|
+
},
|
|
5943
|
+
"required": [
|
|
5944
|
+
"new_payments",
|
|
5945
|
+
"renewals",
|
|
5946
|
+
"price_mapping"
|
|
5947
|
+
],
|
|
5948
|
+
"additionalProperties": false
|
|
5949
|
+
},
|
|
5492
5950
|
"created_at": {
|
|
5493
5951
|
"type": "string"
|
|
5494
5952
|
},
|
|
@@ -5505,6 +5963,7 @@
|
|
|
5505
5963
|
"closes_at",
|
|
5506
5964
|
"external_store_id",
|
|
5507
5965
|
"has_webhook_secret",
|
|
5966
|
+
"capabilities",
|
|
5508
5967
|
"created_at",
|
|
5509
5968
|
"updated_at"
|
|
5510
5969
|
],
|
|
@@ -5584,8 +6043,182 @@
|
|
|
5584
6043
|
}
|
|
5585
6044
|
},
|
|
5586
6045
|
"required": [
|
|
5587
|
-
"deleted",
|
|
5588
|
-
"id"
|
|
6046
|
+
"deleted",
|
|
6047
|
+
"id"
|
|
6048
|
+
],
|
|
6049
|
+
"additionalProperties": false
|
|
6050
|
+
}
|
|
6051
|
+
}
|
|
6052
|
+
}
|
|
6053
|
+
},
|
|
6054
|
+
"default": {
|
|
6055
|
+
"description": "Refusal",
|
|
6056
|
+
"content": {
|
|
6057
|
+
"application/json": {
|
|
6058
|
+
"schema": {
|
|
6059
|
+
"type": "object",
|
|
6060
|
+
"properties": {
|
|
6061
|
+
"error": {
|
|
6062
|
+
"type": "object",
|
|
6063
|
+
"properties": {
|
|
6064
|
+
"code": {
|
|
6065
|
+
"type": "string"
|
|
6066
|
+
},
|
|
6067
|
+
"message": {
|
|
6068
|
+
"type": "string"
|
|
6069
|
+
}
|
|
6070
|
+
},
|
|
6071
|
+
"required": [
|
|
6072
|
+
"code",
|
|
6073
|
+
"message"
|
|
6074
|
+
]
|
|
6075
|
+
}
|
|
6076
|
+
},
|
|
6077
|
+
"required": [
|
|
6078
|
+
"error"
|
|
6079
|
+
]
|
|
6080
|
+
}
|
|
6081
|
+
}
|
|
6082
|
+
}
|
|
6083
|
+
}
|
|
6084
|
+
}
|
|
6085
|
+
}
|
|
6086
|
+
},
|
|
6087
|
+
"/v1/connections/{connection}/lemon-reconciliation": {
|
|
6088
|
+
"get": {
|
|
6089
|
+
"operationId": "lemonReconciliation.list",
|
|
6090
|
+
"summary": "List differences from a completed Lemon Squeezy reconciliation and read the clean-day streak.",
|
|
6091
|
+
"tags": [
|
|
6092
|
+
"lemonReconciliation"
|
|
6093
|
+
],
|
|
6094
|
+
"x-scope": "read",
|
|
6095
|
+
"parameters": [
|
|
6096
|
+
{
|
|
6097
|
+
"name": "connection",
|
|
6098
|
+
"in": "path",
|
|
6099
|
+
"required": true,
|
|
6100
|
+
"schema": {
|
|
6101
|
+
"type": "string",
|
|
6102
|
+
"minLength": 1,
|
|
6103
|
+
"maxLength": 80,
|
|
6104
|
+
"description": "connection id"
|
|
6105
|
+
}
|
|
6106
|
+
},
|
|
6107
|
+
{
|
|
6108
|
+
"name": "completed_on",
|
|
6109
|
+
"in": "query",
|
|
6110
|
+
"required": false,
|
|
6111
|
+
"schema": {
|
|
6112
|
+
"type": "string",
|
|
6113
|
+
"format": "date",
|
|
6114
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
|
|
6115
|
+
}
|
|
6116
|
+
},
|
|
6117
|
+
{
|
|
6118
|
+
"name": "offset",
|
|
6119
|
+
"in": "query",
|
|
6120
|
+
"required": false,
|
|
6121
|
+
"schema": {
|
|
6122
|
+
"default": 0,
|
|
6123
|
+
"type": "integer",
|
|
6124
|
+
"minimum": 0,
|
|
6125
|
+
"maximum": 9007199254740991
|
|
6126
|
+
}
|
|
6127
|
+
}
|
|
6128
|
+
],
|
|
6129
|
+
"responses": {
|
|
6130
|
+
"200": {
|
|
6131
|
+
"description": "OK",
|
|
6132
|
+
"content": {
|
|
6133
|
+
"application/json": {
|
|
6134
|
+
"schema": {
|
|
6135
|
+
"type": "object",
|
|
6136
|
+
"properties": {
|
|
6137
|
+
"completed_on": {
|
|
6138
|
+
"anyOf": [
|
|
6139
|
+
{
|
|
6140
|
+
"type": "string",
|
|
6141
|
+
"format": "date",
|
|
6142
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
|
|
6143
|
+
},
|
|
6144
|
+
{
|
|
6145
|
+
"type": "null"
|
|
6146
|
+
}
|
|
6147
|
+
]
|
|
6148
|
+
},
|
|
6149
|
+
"clean_days": {
|
|
6150
|
+
"type": "integer",
|
|
6151
|
+
"minimum": 0,
|
|
6152
|
+
"maximum": 9007199254740991
|
|
6153
|
+
},
|
|
6154
|
+
"in_progress": {
|
|
6155
|
+
"type": "boolean"
|
|
6156
|
+
},
|
|
6157
|
+
"mismatches": {
|
|
6158
|
+
"type": "array",
|
|
6159
|
+
"items": {
|
|
6160
|
+
"type": "object",
|
|
6161
|
+
"properties": {
|
|
6162
|
+
"resource": {
|
|
6163
|
+
"type": "string",
|
|
6164
|
+
"enum": [
|
|
6165
|
+
"license-keys",
|
|
6166
|
+
"subscriptions",
|
|
6167
|
+
"license-key-instances"
|
|
6168
|
+
]
|
|
6169
|
+
},
|
|
6170
|
+
"external_id": {
|
|
6171
|
+
"type": "string"
|
|
6172
|
+
},
|
|
6173
|
+
"field": {
|
|
6174
|
+
"type": "string"
|
|
6175
|
+
},
|
|
6176
|
+
"ownkey": {
|
|
6177
|
+
"type": [
|
|
6178
|
+
"string",
|
|
6179
|
+
"number",
|
|
6180
|
+
"boolean",
|
|
6181
|
+
"null"
|
|
6182
|
+
]
|
|
6183
|
+
},
|
|
6184
|
+
"lemon_squeezy": {
|
|
6185
|
+
"type": [
|
|
6186
|
+
"string",
|
|
6187
|
+
"number",
|
|
6188
|
+
"boolean",
|
|
6189
|
+
"null"
|
|
6190
|
+
]
|
|
6191
|
+
}
|
|
6192
|
+
},
|
|
6193
|
+
"required": [
|
|
6194
|
+
"resource",
|
|
6195
|
+
"external_id",
|
|
6196
|
+
"field",
|
|
6197
|
+
"ownkey",
|
|
6198
|
+
"lemon_squeezy"
|
|
6199
|
+
],
|
|
6200
|
+
"additionalProperties": false
|
|
6201
|
+
}
|
|
6202
|
+
},
|
|
6203
|
+
"next_offset": {
|
|
6204
|
+
"anyOf": [
|
|
6205
|
+
{
|
|
6206
|
+
"type": "integer",
|
|
6207
|
+
"minimum": -9007199254740991,
|
|
6208
|
+
"maximum": 9007199254740991
|
|
6209
|
+
},
|
|
6210
|
+
{
|
|
6211
|
+
"type": "null"
|
|
6212
|
+
}
|
|
6213
|
+
]
|
|
6214
|
+
}
|
|
6215
|
+
},
|
|
6216
|
+
"required": [
|
|
6217
|
+
"completed_on",
|
|
6218
|
+
"clean_days",
|
|
6219
|
+
"in_progress",
|
|
6220
|
+
"mismatches",
|
|
6221
|
+
"next_offset"
|
|
5589
6222
|
],
|
|
5590
6223
|
"additionalProperties": false
|
|
5591
6224
|
}
|
|
@@ -6214,9 +6847,13 @@
|
|
|
6214
6847
|
"operator_managed",
|
|
6215
6848
|
"trial",
|
|
6216
6849
|
"start",
|
|
6850
|
+
"indie",
|
|
6217
6851
|
"grow",
|
|
6852
|
+
"studio",
|
|
6218
6853
|
"pro",
|
|
6854
|
+
"business",
|
|
6219
6855
|
"scale",
|
|
6856
|
+
"scale_100k",
|
|
6220
6857
|
"inactive"
|
|
6221
6858
|
]
|
|
6222
6859
|
},
|
|
@@ -7292,7 +7929,7 @@
|
|
|
7292
7929
|
"/v1/releases/{release}/remove-asset": {
|
|
7293
7930
|
"post": {
|
|
7294
7931
|
"operationId": "releases.removeAsset",
|
|
7295
|
-
"summary": "Permanently remove
|
|
7932
|
+
"summary": "Permanently remove one file with explicit confirmation. If the release has not been yanked, a newer stable release must provide a verified equivalent file.",
|
|
7296
7933
|
"tags": [
|
|
7297
7934
|
"releases"
|
|
7298
7935
|
],
|
|
@@ -9152,6 +9789,260 @@
|
|
|
9152
9789
|
}
|
|
9153
9790
|
}
|
|
9154
9791
|
},
|
|
9792
|
+
"/v1/imports/lemonsqueezy/readiness": {
|
|
9793
|
+
"get": {
|
|
9794
|
+
"operationId": "imports.lemonsqueezy.readiness",
|
|
9795
|
+
"summary": "Count subscription and license records to check before switching from Lemon Squeezy.",
|
|
9796
|
+
"tags": [
|
|
9797
|
+
"imports"
|
|
9798
|
+
],
|
|
9799
|
+
"x-scope": "read",
|
|
9800
|
+
"parameters": [
|
|
9801
|
+
{
|
|
9802
|
+
"name": "connection",
|
|
9803
|
+
"in": "query",
|
|
9804
|
+
"required": true,
|
|
9805
|
+
"schema": {
|
|
9806
|
+
"type": "string",
|
|
9807
|
+
"minLength": 1,
|
|
9808
|
+
"maxLength": 80,
|
|
9809
|
+
"description": "connection id"
|
|
9810
|
+
}
|
|
9811
|
+
}
|
|
9812
|
+
],
|
|
9813
|
+
"responses": {
|
|
9814
|
+
"200": {
|
|
9815
|
+
"description": "OK",
|
|
9816
|
+
"content": {
|
|
9817
|
+
"application/json": {
|
|
9818
|
+
"schema": {
|
|
9819
|
+
"type": "object",
|
|
9820
|
+
"properties": {
|
|
9821
|
+
"subscriptions_that_can_charge": {
|
|
9822
|
+
"type": "integer",
|
|
9823
|
+
"minimum": -9007199254740991,
|
|
9824
|
+
"maximum": 9007199254740991
|
|
9825
|
+
},
|
|
9826
|
+
"subscriptions_without_license": {
|
|
9827
|
+
"type": "integer",
|
|
9828
|
+
"minimum": -9007199254740991,
|
|
9829
|
+
"maximum": 9007199254740991
|
|
9830
|
+
},
|
|
9831
|
+
"subscriptions_with_polar_successor": {
|
|
9832
|
+
"type": "integer",
|
|
9833
|
+
"minimum": -9007199254740991,
|
|
9834
|
+
"maximum": 9007199254740991
|
|
9835
|
+
},
|
|
9836
|
+
"open_polar_matches": {
|
|
9837
|
+
"type": "integer",
|
|
9838
|
+
"minimum": -9007199254740991,
|
|
9839
|
+
"maximum": 9007199254740991
|
|
9840
|
+
},
|
|
9841
|
+
"licenses_canceled_without_successor": {
|
|
9842
|
+
"type": "integer",
|
|
9843
|
+
"minimum": -9007199254740991,
|
|
9844
|
+
"maximum": 9007199254740991
|
|
9845
|
+
}
|
|
9846
|
+
},
|
|
9847
|
+
"required": [
|
|
9848
|
+
"subscriptions_that_can_charge",
|
|
9849
|
+
"subscriptions_without_license",
|
|
9850
|
+
"subscriptions_with_polar_successor",
|
|
9851
|
+
"open_polar_matches",
|
|
9852
|
+
"licenses_canceled_without_successor"
|
|
9853
|
+
],
|
|
9854
|
+
"additionalProperties": false
|
|
9855
|
+
}
|
|
9856
|
+
}
|
|
9857
|
+
}
|
|
9858
|
+
},
|
|
9859
|
+
"default": {
|
|
9860
|
+
"description": "Refusal",
|
|
9861
|
+
"content": {
|
|
9862
|
+
"application/json": {
|
|
9863
|
+
"schema": {
|
|
9864
|
+
"type": "object",
|
|
9865
|
+
"properties": {
|
|
9866
|
+
"error": {
|
|
9867
|
+
"type": "object",
|
|
9868
|
+
"properties": {
|
|
9869
|
+
"code": {
|
|
9870
|
+
"type": "string"
|
|
9871
|
+
},
|
|
9872
|
+
"message": {
|
|
9873
|
+
"type": "string"
|
|
9874
|
+
}
|
|
9875
|
+
},
|
|
9876
|
+
"required": [
|
|
9877
|
+
"code",
|
|
9878
|
+
"message"
|
|
9879
|
+
]
|
|
9880
|
+
}
|
|
9881
|
+
},
|
|
9882
|
+
"required": [
|
|
9883
|
+
"error"
|
|
9884
|
+
]
|
|
9885
|
+
}
|
|
9886
|
+
}
|
|
9887
|
+
}
|
|
9888
|
+
}
|
|
9889
|
+
}
|
|
9890
|
+
}
|
|
9891
|
+
},
|
|
9892
|
+
"/v1/imports/polar/link-customers": {
|
|
9893
|
+
"post": {
|
|
9894
|
+
"operationId": "imports.polar.linkCustomers",
|
|
9895
|
+
"summary": "Preview or apply Ownkey customer links for a Polar organization.",
|
|
9896
|
+
"tags": [
|
|
9897
|
+
"imports"
|
|
9898
|
+
],
|
|
9899
|
+
"x-scope": "admin",
|
|
9900
|
+
"parameters": [],
|
|
9901
|
+
"requestBody": {
|
|
9902
|
+
"required": true,
|
|
9903
|
+
"content": {
|
|
9904
|
+
"application/json": {
|
|
9905
|
+
"schema": {
|
|
9906
|
+
"type": "object",
|
|
9907
|
+
"properties": {
|
|
9908
|
+
"connection": {
|
|
9909
|
+
"type": "string",
|
|
9910
|
+
"minLength": 1,
|
|
9911
|
+
"maxLength": 80,
|
|
9912
|
+
"description": "connection id"
|
|
9913
|
+
},
|
|
9914
|
+
"apply": {
|
|
9915
|
+
"default": false,
|
|
9916
|
+
"type": "boolean"
|
|
9917
|
+
}
|
|
9918
|
+
},
|
|
9919
|
+
"required": [
|
|
9920
|
+
"connection"
|
|
9921
|
+
]
|
|
9922
|
+
}
|
|
9923
|
+
}
|
|
9924
|
+
}
|
|
9925
|
+
},
|
|
9926
|
+
"responses": {
|
|
9927
|
+
"200": {
|
|
9928
|
+
"description": "OK",
|
|
9929
|
+
"content": {
|
|
9930
|
+
"application/json": {
|
|
9931
|
+
"schema": {
|
|
9932
|
+
"type": "object",
|
|
9933
|
+
"properties": {
|
|
9934
|
+
"planned": {
|
|
9935
|
+
"type": "array",
|
|
9936
|
+
"items": {
|
|
9937
|
+
"type": "object",
|
|
9938
|
+
"properties": {
|
|
9939
|
+
"polar_customer_id": {
|
|
9940
|
+
"type": "string"
|
|
9941
|
+
},
|
|
9942
|
+
"customer_id": {
|
|
9943
|
+
"type": "string"
|
|
9944
|
+
}
|
|
9945
|
+
},
|
|
9946
|
+
"required": [
|
|
9947
|
+
"polar_customer_id",
|
|
9948
|
+
"customer_id"
|
|
9949
|
+
],
|
|
9950
|
+
"additionalProperties": false
|
|
9951
|
+
}
|
|
9952
|
+
},
|
|
9953
|
+
"linked": {
|
|
9954
|
+
"type": "array",
|
|
9955
|
+
"items": {
|
|
9956
|
+
"type": "object",
|
|
9957
|
+
"properties": {
|
|
9958
|
+
"polar_customer_id": {
|
|
9959
|
+
"type": "string"
|
|
9960
|
+
},
|
|
9961
|
+
"customer_id": {
|
|
9962
|
+
"type": "string"
|
|
9963
|
+
}
|
|
9964
|
+
},
|
|
9965
|
+
"required": [
|
|
9966
|
+
"polar_customer_id",
|
|
9967
|
+
"customer_id"
|
|
9968
|
+
],
|
|
9969
|
+
"additionalProperties": false
|
|
9970
|
+
}
|
|
9971
|
+
},
|
|
9972
|
+
"skipped": {
|
|
9973
|
+
"type": "array",
|
|
9974
|
+
"items": {
|
|
9975
|
+
"type": "object",
|
|
9976
|
+
"properties": {
|
|
9977
|
+
"polar_customer_id": {
|
|
9978
|
+
"type": "string"
|
|
9979
|
+
},
|
|
9980
|
+
"reason": {
|
|
9981
|
+
"type": "string",
|
|
9982
|
+
"enum": [
|
|
9983
|
+
"external_id_set",
|
|
9984
|
+
"missing_email",
|
|
9985
|
+
"no_match",
|
|
9986
|
+
"duplicate_email",
|
|
9987
|
+
"external_id_in_use",
|
|
9988
|
+
"account_conflict",
|
|
9989
|
+
"customer_changed",
|
|
9990
|
+
"update_rejected",
|
|
9991
|
+
"verification_failed"
|
|
9992
|
+
]
|
|
9993
|
+
}
|
|
9994
|
+
},
|
|
9995
|
+
"required": [
|
|
9996
|
+
"polar_customer_id",
|
|
9997
|
+
"reason"
|
|
9998
|
+
],
|
|
9999
|
+
"additionalProperties": false
|
|
10000
|
+
}
|
|
10001
|
+
}
|
|
10002
|
+
},
|
|
10003
|
+
"required": [
|
|
10004
|
+
"planned",
|
|
10005
|
+
"linked",
|
|
10006
|
+
"skipped"
|
|
10007
|
+
],
|
|
10008
|
+
"additionalProperties": false
|
|
10009
|
+
}
|
|
10010
|
+
}
|
|
10011
|
+
}
|
|
10012
|
+
},
|
|
10013
|
+
"default": {
|
|
10014
|
+
"description": "Refusal",
|
|
10015
|
+
"content": {
|
|
10016
|
+
"application/json": {
|
|
10017
|
+
"schema": {
|
|
10018
|
+
"type": "object",
|
|
10019
|
+
"properties": {
|
|
10020
|
+
"error": {
|
|
10021
|
+
"type": "object",
|
|
10022
|
+
"properties": {
|
|
10023
|
+
"code": {
|
|
10024
|
+
"type": "string"
|
|
10025
|
+
},
|
|
10026
|
+
"message": {
|
|
10027
|
+
"type": "string"
|
|
10028
|
+
}
|
|
10029
|
+
},
|
|
10030
|
+
"required": [
|
|
10031
|
+
"code",
|
|
10032
|
+
"message"
|
|
10033
|
+
]
|
|
10034
|
+
}
|
|
10035
|
+
},
|
|
10036
|
+
"required": [
|
|
10037
|
+
"error"
|
|
10038
|
+
]
|
|
10039
|
+
}
|
|
10040
|
+
}
|
|
10041
|
+
}
|
|
10042
|
+
}
|
|
10043
|
+
}
|
|
10044
|
+
}
|
|
10045
|
+
},
|
|
9155
10046
|
"/v1/imports/edd/sources": {
|
|
9156
10047
|
"post": {
|
|
9157
10048
|
"operationId": "imports.edd.registerSource",
|
|
@@ -11124,7 +12015,7 @@
|
|
|
11124
12015
|
"/v1/products/{product_id}/licenses/activate": {
|
|
11125
12016
|
"post": {
|
|
11126
12017
|
"operationId": "licenses.activate",
|
|
11127
|
-
"summary": "Activate a license key on a site, without a seller key.
|
|
12018
|
+
"summary": "Activate a license key on a site, without a seller key. A repeat returns the site's current instance_id. Local and staging sites take no slot, up to the free-site cap.",
|
|
11128
12019
|
"tags": [
|
|
11129
12020
|
"licenses"
|
|
11130
12021
|
],
|
|
@@ -17051,10 +17942,14 @@
|
|
|
17051
17942
|
"type": "string",
|
|
17052
17943
|
"enum": [
|
|
17053
17944
|
"start",
|
|
17945
|
+
"indie",
|
|
17054
17946
|
"grow",
|
|
17947
|
+
"studio",
|
|
17055
17948
|
"pro",
|
|
17949
|
+
"business",
|
|
17056
17950
|
"scale",
|
|
17057
|
-
"
|
|
17951
|
+
"scale_100k",
|
|
17952
|
+
"custom"
|
|
17058
17953
|
]
|
|
17059
17954
|
}
|
|
17060
17955
|
},
|
|
@@ -17528,6 +18423,25 @@
|
|
|
17528
18423
|
"description": "plan id"
|
|
17529
18424
|
}
|
|
17530
18425
|
},
|
|
18426
|
+
"discount_id": {
|
|
18427
|
+
"description": "Polar discount to apply to the new checkout.",
|
|
18428
|
+
"type": "string",
|
|
18429
|
+
"format": "uuid",
|
|
18430
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$"
|
|
18431
|
+
},
|
|
18432
|
+
"metadata": {
|
|
18433
|
+
"description": "Up to 5 attribution values, such as an analytics visitor id, copied to the provider checkout metadata. Keys starting with ownkey_ are reserved.",
|
|
18434
|
+
"type": "object",
|
|
18435
|
+
"propertyNames": {
|
|
18436
|
+
"type": "string",
|
|
18437
|
+
"pattern": "^(?!ownkey_)[a-z][a-z0-9_]{0,39}$"
|
|
18438
|
+
},
|
|
18439
|
+
"additionalProperties": {
|
|
18440
|
+
"type": "string",
|
|
18441
|
+
"minLength": 1,
|
|
18442
|
+
"maxLength": 200
|
|
18443
|
+
}
|
|
18444
|
+
},
|
|
17531
18445
|
"return_url": {
|
|
17532
18446
|
"description": "URL on the brand domain or a configured HTTPS origin for Polar's Back button.",
|
|
17533
18447
|
"type": "string",
|
|
@@ -18203,6 +19117,17 @@
|
|
|
18203
19117
|
"name": {
|
|
18204
19118
|
"type": "string"
|
|
18205
19119
|
},
|
|
19120
|
+
"logo_url": {
|
|
19121
|
+
"anyOf": [
|
|
19122
|
+
{
|
|
19123
|
+
"type": "string",
|
|
19124
|
+
"format": "uri"
|
|
19125
|
+
},
|
|
19126
|
+
{
|
|
19127
|
+
"type": "null"
|
|
19128
|
+
}
|
|
19129
|
+
]
|
|
19130
|
+
},
|
|
18206
19131
|
"install_instructions": {
|
|
18207
19132
|
"type": [
|
|
18208
19133
|
"string",
|
|
@@ -18231,6 +19156,7 @@
|
|
|
18231
19156
|
"required": [
|
|
18232
19157
|
"id",
|
|
18233
19158
|
"name",
|
|
19159
|
+
"logo_url",
|
|
18234
19160
|
"install_instructions",
|
|
18235
19161
|
"activate_instructions",
|
|
18236
19162
|
"install_html",
|
|
@@ -18560,6 +19486,34 @@
|
|
|
18560
19486
|
"manageable": {
|
|
18561
19487
|
"type": "boolean",
|
|
18562
19488
|
"description": "the provider offers a page to manage it"
|
|
19489
|
+
},
|
|
19490
|
+
"manage_pages": {
|
|
19491
|
+
"type": "array",
|
|
19492
|
+
"items": {
|
|
19493
|
+
"type": "string",
|
|
19494
|
+
"enum": [
|
|
19495
|
+
"portal",
|
|
19496
|
+
"update_payment",
|
|
19497
|
+
"cancel"
|
|
19498
|
+
]
|
|
19499
|
+
},
|
|
19500
|
+
"description": "provider pages account.manageSubscription opens, first is the default: portal, update_payment, cancel"
|
|
19501
|
+
},
|
|
19502
|
+
"renew_page": {
|
|
19503
|
+
"anyOf": [
|
|
19504
|
+
{
|
|
19505
|
+
"type": "string",
|
|
19506
|
+
"enum": [
|
|
19507
|
+
"portal",
|
|
19508
|
+
"update_payment",
|
|
19509
|
+
"cancel"
|
|
19510
|
+
]
|
|
19511
|
+
},
|
|
19512
|
+
{
|
|
19513
|
+
"type": "null"
|
|
19514
|
+
}
|
|
19515
|
+
],
|
|
19516
|
+
"description": "the provider page that renews the license by resuming its paused subscription; the provider charges at once"
|
|
18563
19517
|
}
|
|
18564
19518
|
},
|
|
18565
19519
|
"required": [
|
|
@@ -18569,7 +19523,9 @@
|
|
|
18569
19523
|
"currency",
|
|
18570
19524
|
"cancel_at_period_end",
|
|
18571
19525
|
"current_period_end",
|
|
18572
|
-
"manageable"
|
|
19526
|
+
"manageable",
|
|
19527
|
+
"manage_pages",
|
|
19528
|
+
"renew_page"
|
|
18573
19529
|
],
|
|
18574
19530
|
"additionalProperties": false
|
|
18575
19531
|
},
|
|
@@ -19334,6 +20290,15 @@
|
|
|
19334
20290
|
"type": "string",
|
|
19335
20291
|
"maxLength": 1000,
|
|
19336
20292
|
"format": "uri"
|
|
20293
|
+
},
|
|
20294
|
+
"page": {
|
|
20295
|
+
"description": "one of the subscription's manage_pages; the first one when absent",
|
|
20296
|
+
"type": "string",
|
|
20297
|
+
"enum": [
|
|
20298
|
+
"portal",
|
|
20299
|
+
"update_payment",
|
|
20300
|
+
"cancel"
|
|
20301
|
+
]
|
|
19337
20302
|
}
|
|
19338
20303
|
},
|
|
19339
20304
|
"required": []
|