@forjio/storlaunch-cli 0.16.0 → 0.17.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/dist/commands/api.generated.d.ts.map +1 -1
- package/dist/commands/api.generated.js +502 -24
- package/dist/commands/api.generated.js.map +1 -1
- package/dist/commands/webhook.d.ts.map +1 -1
- package/dist/commands/webhook.js +67 -9
- package/dist/commands/webhook.js.map +1 -1
- package/package.json +1 -1
|
@@ -102,7 +102,27 @@ export const API_ROUTES = [
|
|
|
102
102
|
"path": "/api/v1/account/blog/posts",
|
|
103
103
|
"summary": "List posts",
|
|
104
104
|
"pathParams": [],
|
|
105
|
-
"query": [
|
|
105
|
+
"query": [
|
|
106
|
+
{
|
|
107
|
+
"name": "status",
|
|
108
|
+
"kind": "string",
|
|
109
|
+
"required": false,
|
|
110
|
+
"choices": [
|
|
111
|
+
"draft",
|
|
112
|
+
"published"
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "limit",
|
|
117
|
+
"kind": "number",
|
|
118
|
+
"required": false
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"name": "cursor",
|
|
122
|
+
"kind": "string",
|
|
123
|
+
"required": false
|
|
124
|
+
}
|
|
125
|
+
],
|
|
106
126
|
"body": null
|
|
107
127
|
},
|
|
108
128
|
{
|
|
@@ -836,7 +856,19 @@ export const API_ROUTES = [
|
|
|
836
856
|
"path": "/api/v1/analytics/overview",
|
|
837
857
|
"summary": "GET /analytics/overview Response shape is flat to match what the dashboard page reads (frontend/src/app/(dashboard)/dashboard/page.tsx). `recentTransactions` unions paid Invoices (Plugipay-driven) and",
|
|
838
858
|
"pathParams": [],
|
|
839
|
-
"query": [
|
|
859
|
+
"query": [
|
|
860
|
+
{
|
|
861
|
+
"name": "period",
|
|
862
|
+
"kind": "string",
|
|
863
|
+
"required": false,
|
|
864
|
+
"choices": [
|
|
865
|
+
"7d",
|
|
866
|
+
"30d",
|
|
867
|
+
"90d",
|
|
868
|
+
"12m"
|
|
869
|
+
]
|
|
870
|
+
}
|
|
871
|
+
],
|
|
840
872
|
"body": null
|
|
841
873
|
},
|
|
842
874
|
{
|
|
@@ -845,7 +877,29 @@ export const API_ROUTES = [
|
|
|
845
877
|
"path": "/api/v1/analytics/revenue",
|
|
846
878
|
"summary": "GET /analytics/revenue",
|
|
847
879
|
"pathParams": [],
|
|
848
|
-
"query": [
|
|
880
|
+
"query": [
|
|
881
|
+
{
|
|
882
|
+
"name": "period",
|
|
883
|
+
"kind": "string",
|
|
884
|
+
"required": false,
|
|
885
|
+
"choices": [
|
|
886
|
+
"7d",
|
|
887
|
+
"30d",
|
|
888
|
+
"90d",
|
|
889
|
+
"12m"
|
|
890
|
+
]
|
|
891
|
+
},
|
|
892
|
+
{
|
|
893
|
+
"name": "granularity",
|
|
894
|
+
"kind": "string",
|
|
895
|
+
"required": false,
|
|
896
|
+
"choices": [
|
|
897
|
+
"day",
|
|
898
|
+
"week",
|
|
899
|
+
"month"
|
|
900
|
+
]
|
|
901
|
+
}
|
|
902
|
+
],
|
|
849
903
|
"body": null
|
|
850
904
|
},
|
|
851
905
|
{
|
|
@@ -854,7 +908,29 @@ export const API_ROUTES = [
|
|
|
854
908
|
"path": "/api/v1/analytics/subscriptions",
|
|
855
909
|
"summary": "GET /analytics/subscriptions",
|
|
856
910
|
"pathParams": [],
|
|
857
|
-
"query": [
|
|
911
|
+
"query": [
|
|
912
|
+
{
|
|
913
|
+
"name": "period",
|
|
914
|
+
"kind": "string",
|
|
915
|
+
"required": false,
|
|
916
|
+
"choices": [
|
|
917
|
+
"7d",
|
|
918
|
+
"30d",
|
|
919
|
+
"90d",
|
|
920
|
+
"12m"
|
|
921
|
+
]
|
|
922
|
+
},
|
|
923
|
+
{
|
|
924
|
+
"name": "granularity",
|
|
925
|
+
"kind": "string",
|
|
926
|
+
"required": false,
|
|
927
|
+
"choices": [
|
|
928
|
+
"day",
|
|
929
|
+
"week",
|
|
930
|
+
"month"
|
|
931
|
+
]
|
|
932
|
+
}
|
|
933
|
+
],
|
|
858
934
|
"body": null
|
|
859
935
|
}
|
|
860
936
|
]
|
|
@@ -984,7 +1060,23 @@ export const API_ROUTES = [
|
|
|
984
1060
|
"path": "/api/v1/buyers",
|
|
985
1061
|
"summary": "List buyers",
|
|
986
1062
|
"pathParams": [],
|
|
987
|
-
"query": [
|
|
1063
|
+
"query": [
|
|
1064
|
+
{
|
|
1065
|
+
"name": "search",
|
|
1066
|
+
"kind": "string",
|
|
1067
|
+
"required": false
|
|
1068
|
+
},
|
|
1069
|
+
{
|
|
1070
|
+
"name": "limit",
|
|
1071
|
+
"kind": "number",
|
|
1072
|
+
"required": false
|
|
1073
|
+
},
|
|
1074
|
+
{
|
|
1075
|
+
"name": "cursor",
|
|
1076
|
+
"kind": "string",
|
|
1077
|
+
"required": false
|
|
1078
|
+
}
|
|
1079
|
+
],
|
|
988
1080
|
"body": null
|
|
989
1081
|
}
|
|
990
1082
|
]
|
|
@@ -2011,7 +2103,13 @@ export const API_ROUTES = [
|
|
|
2011
2103
|
"path": "/api/v1/conversations/embed/products",
|
|
2012
2104
|
"summary": "List products",
|
|
2013
2105
|
"pathParams": [],
|
|
2014
|
-
"query": [
|
|
2106
|
+
"query": [
|
|
2107
|
+
{
|
|
2108
|
+
"name": "q",
|
|
2109
|
+
"kind": "string",
|
|
2110
|
+
"required": false
|
|
2111
|
+
}
|
|
2112
|
+
],
|
|
2015
2113
|
"body": null
|
|
2016
2114
|
},
|
|
2017
2115
|
{
|
|
@@ -2825,7 +2923,41 @@ export const API_ROUTES = [
|
|
|
2825
2923
|
"path": "/api/v1/manual-orders",
|
|
2826
2924
|
"summary": "List manual orders",
|
|
2827
2925
|
"pathParams": [],
|
|
2828
|
-
"query": [
|
|
2926
|
+
"query": [
|
|
2927
|
+
{
|
|
2928
|
+
"name": "limit",
|
|
2929
|
+
"kind": "number",
|
|
2930
|
+
"required": false
|
|
2931
|
+
},
|
|
2932
|
+
{
|
|
2933
|
+
"name": "cursor",
|
|
2934
|
+
"kind": "string",
|
|
2935
|
+
"required": false
|
|
2936
|
+
},
|
|
2937
|
+
{
|
|
2938
|
+
"name": "paymentStatus",
|
|
2939
|
+
"kind": "string",
|
|
2940
|
+
"required": false,
|
|
2941
|
+
"choices": [
|
|
2942
|
+
"awaiting_payment",
|
|
2943
|
+
"payment_claimed",
|
|
2944
|
+
"payment_confirmed",
|
|
2945
|
+
"canceled",
|
|
2946
|
+
"refunded"
|
|
2947
|
+
]
|
|
2948
|
+
},
|
|
2949
|
+
{
|
|
2950
|
+
"name": "fulfillmentStatus",
|
|
2951
|
+
"kind": "string",
|
|
2952
|
+
"required": false,
|
|
2953
|
+
"choices": [
|
|
2954
|
+
"preparing",
|
|
2955
|
+
"ready_to_ship",
|
|
2956
|
+
"shipped",
|
|
2957
|
+
"delivered"
|
|
2958
|
+
]
|
|
2959
|
+
}
|
|
2960
|
+
],
|
|
2829
2961
|
"body": null
|
|
2830
2962
|
},
|
|
2831
2963
|
{
|
|
@@ -2978,7 +3110,33 @@ export const API_ROUTES = [
|
|
|
2978
3110
|
"path": "/api/v1/payment/checkout-sessions",
|
|
2979
3111
|
"summary": "List checkout sessions",
|
|
2980
3112
|
"pathParams": [],
|
|
2981
|
-
"query": [
|
|
3113
|
+
"query": [
|
|
3114
|
+
{
|
|
3115
|
+
"name": "limit",
|
|
3116
|
+
"kind": "number",
|
|
3117
|
+
"required": false
|
|
3118
|
+
},
|
|
3119
|
+
{
|
|
3120
|
+
"name": "cursor",
|
|
3121
|
+
"kind": "string",
|
|
3122
|
+
"required": false
|
|
3123
|
+
},
|
|
3124
|
+
{
|
|
3125
|
+
"name": "status",
|
|
3126
|
+
"kind": "string",
|
|
3127
|
+
"required": false,
|
|
3128
|
+
"choices": [
|
|
3129
|
+
"open",
|
|
3130
|
+
"completed",
|
|
3131
|
+
"expired"
|
|
3132
|
+
]
|
|
3133
|
+
},
|
|
3134
|
+
{
|
|
3135
|
+
"name": "customerId",
|
|
3136
|
+
"kind": "string",
|
|
3137
|
+
"required": false
|
|
3138
|
+
}
|
|
3139
|
+
],
|
|
2982
3140
|
"body": null
|
|
2983
3141
|
},
|
|
2984
3142
|
{
|
|
@@ -3299,7 +3457,7 @@ export const API_ROUTES = [
|
|
|
3299
3457
|
"name": "create-webhook-endpoints",
|
|
3300
3458
|
"method": "POST",
|
|
3301
3459
|
"path": "/api/v1/payment/webhook-endpoints",
|
|
3302
|
-
"summary": "
|
|
3460
|
+
"summary": "Register an endpoint.",
|
|
3303
3461
|
"pathParams": [],
|
|
3304
3462
|
"query": [],
|
|
3305
3463
|
"body": [
|
|
@@ -3311,12 +3469,17 @@ export const API_ROUTES = [
|
|
|
3311
3469
|
{
|
|
3312
3470
|
"name": "events",
|
|
3313
3471
|
"kind": "array",
|
|
3314
|
-
"required":
|
|
3472
|
+
"required": false
|
|
3315
3473
|
},
|
|
3316
3474
|
{
|
|
3317
3475
|
"name": "description",
|
|
3318
3476
|
"kind": "string",
|
|
3319
3477
|
"required": false
|
|
3478
|
+
},
|
|
3479
|
+
{
|
|
3480
|
+
"name": "active",
|
|
3481
|
+
"kind": "boolean",
|
|
3482
|
+
"required": false
|
|
3320
3483
|
}
|
|
3321
3484
|
]
|
|
3322
3485
|
},
|
|
@@ -3326,7 +3489,23 @@ export const API_ROUTES = [
|
|
|
3326
3489
|
"path": "/api/v1/payment/customers",
|
|
3327
3490
|
"summary": "List customers",
|
|
3328
3491
|
"pathParams": [],
|
|
3329
|
-
"query": [
|
|
3492
|
+
"query": [
|
|
3493
|
+
{
|
|
3494
|
+
"name": "limit",
|
|
3495
|
+
"kind": "number",
|
|
3496
|
+
"required": false
|
|
3497
|
+
},
|
|
3498
|
+
{
|
|
3499
|
+
"name": "cursor",
|
|
3500
|
+
"kind": "string",
|
|
3501
|
+
"required": false
|
|
3502
|
+
},
|
|
3503
|
+
{
|
|
3504
|
+
"name": "email",
|
|
3505
|
+
"kind": "string",
|
|
3506
|
+
"required": false
|
|
3507
|
+
}
|
|
3508
|
+
],
|
|
3330
3509
|
"body": null
|
|
3331
3510
|
},
|
|
3332
3511
|
{
|
|
@@ -3517,7 +3696,7 @@ export const API_ROUTES = [
|
|
|
3517
3696
|
"name": "get-webhook-events",
|
|
3518
3697
|
"method": "GET",
|
|
3519
3698
|
"path": "/api/v1/payment/webhook-events/{id}",
|
|
3520
|
-
"summary": "Get a webhook
|
|
3699
|
+
"summary": "Get a webhook delivery, with every attempt made at it.",
|
|
3521
3700
|
"pathParams": [
|
|
3522
3701
|
"id"
|
|
3523
3702
|
],
|
|
@@ -3683,7 +3862,40 @@ export const API_ROUTES = [
|
|
|
3683
3862
|
"path": "/api/v1/payment/invoices",
|
|
3684
3863
|
"summary": "List invoices",
|
|
3685
3864
|
"pathParams": [],
|
|
3686
|
-
"query": [
|
|
3865
|
+
"query": [
|
|
3866
|
+
{
|
|
3867
|
+
"name": "limit",
|
|
3868
|
+
"kind": "number",
|
|
3869
|
+
"required": false
|
|
3870
|
+
},
|
|
3871
|
+
{
|
|
3872
|
+
"name": "cursor",
|
|
3873
|
+
"kind": "string",
|
|
3874
|
+
"required": false
|
|
3875
|
+
},
|
|
3876
|
+
{
|
|
3877
|
+
"name": "customerId",
|
|
3878
|
+
"kind": "string",
|
|
3879
|
+
"required": false
|
|
3880
|
+
},
|
|
3881
|
+
{
|
|
3882
|
+
"name": "subscriptionId",
|
|
3883
|
+
"kind": "string",
|
|
3884
|
+
"required": false
|
|
3885
|
+
},
|
|
3886
|
+
{
|
|
3887
|
+
"name": "status",
|
|
3888
|
+
"kind": "string",
|
|
3889
|
+
"required": false,
|
|
3890
|
+
"choices": [
|
|
3891
|
+
"draft",
|
|
3892
|
+
"open",
|
|
3893
|
+
"paid",
|
|
3894
|
+
"overdue",
|
|
3895
|
+
"void"
|
|
3896
|
+
]
|
|
3897
|
+
}
|
|
3898
|
+
],
|
|
3687
3899
|
"body": null
|
|
3688
3900
|
},
|
|
3689
3901
|
{
|
|
@@ -3723,7 +3935,23 @@ export const API_ROUTES = [
|
|
|
3723
3935
|
"path": "/api/v1/payment/plans",
|
|
3724
3936
|
"summary": "List plans",
|
|
3725
3937
|
"pathParams": [],
|
|
3726
|
-
"query": [
|
|
3938
|
+
"query": [
|
|
3939
|
+
{
|
|
3940
|
+
"name": "limit",
|
|
3941
|
+
"kind": "number",
|
|
3942
|
+
"required": false
|
|
3943
|
+
},
|
|
3944
|
+
{
|
|
3945
|
+
"name": "cursor",
|
|
3946
|
+
"kind": "string",
|
|
3947
|
+
"required": false
|
|
3948
|
+
},
|
|
3949
|
+
{
|
|
3950
|
+
"name": "active",
|
|
3951
|
+
"kind": "string",
|
|
3952
|
+
"required": false
|
|
3953
|
+
}
|
|
3954
|
+
],
|
|
3727
3955
|
"body": null
|
|
3728
3956
|
},
|
|
3729
3957
|
{
|
|
@@ -3899,7 +4127,40 @@ export const API_ROUTES = [
|
|
|
3899
4127
|
"path": "/api/v1/payment/subscriptions",
|
|
3900
4128
|
"summary": "List subscriptions",
|
|
3901
4129
|
"pathParams": [],
|
|
3902
|
-
"query": [
|
|
4130
|
+
"query": [
|
|
4131
|
+
{
|
|
4132
|
+
"name": "limit",
|
|
4133
|
+
"kind": "number",
|
|
4134
|
+
"required": false
|
|
4135
|
+
},
|
|
4136
|
+
{
|
|
4137
|
+
"name": "cursor",
|
|
4138
|
+
"kind": "string",
|
|
4139
|
+
"required": false
|
|
4140
|
+
},
|
|
4141
|
+
{
|
|
4142
|
+
"name": "customerId",
|
|
4143
|
+
"kind": "string",
|
|
4144
|
+
"required": false
|
|
4145
|
+
},
|
|
4146
|
+
{
|
|
4147
|
+
"name": "planId",
|
|
4148
|
+
"kind": "string",
|
|
4149
|
+
"required": false
|
|
4150
|
+
},
|
|
4151
|
+
{
|
|
4152
|
+
"name": "status",
|
|
4153
|
+
"kind": "string",
|
|
4154
|
+
"required": false,
|
|
4155
|
+
"choices": [
|
|
4156
|
+
"trialing",
|
|
4157
|
+
"active",
|
|
4158
|
+
"past_due",
|
|
4159
|
+
"paused",
|
|
4160
|
+
"canceled"
|
|
4161
|
+
]
|
|
4162
|
+
}
|
|
4163
|
+
],
|
|
3903
4164
|
"body": null
|
|
3904
4165
|
},
|
|
3905
4166
|
{
|
|
@@ -4027,7 +4288,7 @@ export const API_ROUTES = [
|
|
|
4027
4288
|
"name": "update-webhook-endpoints",
|
|
4028
4289
|
"method": "PATCH",
|
|
4029
4290
|
"path": "/api/v1/payment/webhook-endpoints/{id}",
|
|
4030
|
-
"summary": "Update
|
|
4291
|
+
"summary": "Update an endpoint. `active: false` pauses it (its queued deliveries become failed); `active: true` re-enables it — also after Storlaunch switched it off for failing — and clears its failure streak.",
|
|
4031
4292
|
"pathParams": [
|
|
4032
4293
|
"id"
|
|
4033
4294
|
],
|
|
@@ -4052,6 +4313,11 @@ export const API_ROUTES = [
|
|
|
4052
4313
|
"name": "description",
|
|
4053
4314
|
"kind": "string",
|
|
4054
4315
|
"required": false
|
|
4316
|
+
},
|
|
4317
|
+
{
|
|
4318
|
+
"name": "rotateSecret",
|
|
4319
|
+
"kind": "boolean",
|
|
4320
|
+
"required": false
|
|
4055
4321
|
}
|
|
4056
4322
|
]
|
|
4057
4323
|
},
|
|
@@ -4059,25 +4325,96 @@ export const API_ROUTES = [
|
|
|
4059
4325
|
"name": "webhook-endpoints",
|
|
4060
4326
|
"method": "GET",
|
|
4061
4327
|
"path": "/api/v1/payment/webhook-endpoints",
|
|
4062
|
-
"summary": "List
|
|
4328
|
+
"summary": "List endpoints, newest first.",
|
|
4329
|
+
"pathParams": [],
|
|
4330
|
+
"query": [
|
|
4331
|
+
{
|
|
4332
|
+
"name": "limit",
|
|
4333
|
+
"kind": "number",
|
|
4334
|
+
"required": false
|
|
4335
|
+
},
|
|
4336
|
+
{
|
|
4337
|
+
"name": "cursor",
|
|
4338
|
+
"kind": "string",
|
|
4339
|
+
"required": false
|
|
4340
|
+
}
|
|
4341
|
+
],
|
|
4342
|
+
"body": null
|
|
4343
|
+
},
|
|
4344
|
+
{
|
|
4345
|
+
"name": "webhook-endpoints-event-types",
|
|
4346
|
+
"method": "GET",
|
|
4347
|
+
"path": "/api/v1/payment/webhook-endpoints/event-types",
|
|
4348
|
+
"summary": "The event types an endpoint can subscribe to: Storlaunch's own catalogue, and — with the Payment module on — Plugipay's (delivered by Plugipay to the same endpoint).",
|
|
4063
4349
|
"pathParams": [],
|
|
4064
4350
|
"query": [],
|
|
4065
4351
|
"body": null
|
|
4066
4352
|
},
|
|
4353
|
+
{
|
|
4354
|
+
"name": "webhook-endpoints-test",
|
|
4355
|
+
"method": "POST",
|
|
4356
|
+
"path": "/api/v1/payment/webhook-endpoints/{id}/test",
|
|
4357
|
+
"summary": "Send a test event.",
|
|
4358
|
+
"pathParams": [
|
|
4359
|
+
"id"
|
|
4360
|
+
],
|
|
4361
|
+
"query": [],
|
|
4362
|
+
"body": null
|
|
4363
|
+
},
|
|
4067
4364
|
{
|
|
4068
4365
|
"name": "webhook-events",
|
|
4069
4366
|
"method": "GET",
|
|
4070
4367
|
"path": "/api/v1/payment/webhook-events",
|
|
4071
|
-
"summary": "List webhook
|
|
4368
|
+
"summary": "List webhook deliveries, newest first: each with its status (pending, sent, failed), attempt count, next retry, last response and every attempt made.",
|
|
4072
4369
|
"pathParams": [],
|
|
4073
|
-
"query": [
|
|
4370
|
+
"query": [
|
|
4371
|
+
{
|
|
4372
|
+
"name": "limit",
|
|
4373
|
+
"kind": "number",
|
|
4374
|
+
"required": false
|
|
4375
|
+
},
|
|
4376
|
+
{
|
|
4377
|
+
"name": "cursor",
|
|
4378
|
+
"kind": "string",
|
|
4379
|
+
"required": false
|
|
4380
|
+
},
|
|
4381
|
+
{
|
|
4382
|
+
"name": "type",
|
|
4383
|
+
"kind": "string",
|
|
4384
|
+
"required": false
|
|
4385
|
+
},
|
|
4386
|
+
{
|
|
4387
|
+
"name": "endpointId",
|
|
4388
|
+
"kind": "string",
|
|
4389
|
+
"required": false
|
|
4390
|
+
},
|
|
4391
|
+
{
|
|
4392
|
+
"name": "status",
|
|
4393
|
+
"kind": "string",
|
|
4394
|
+
"required": false,
|
|
4395
|
+
"choices": [
|
|
4396
|
+
"pending",
|
|
4397
|
+
"sent",
|
|
4398
|
+
"failed"
|
|
4399
|
+
]
|
|
4400
|
+
},
|
|
4401
|
+
{
|
|
4402
|
+
"name": "source",
|
|
4403
|
+
"kind": "string",
|
|
4404
|
+
"required": false,
|
|
4405
|
+
"choices": [
|
|
4406
|
+
"storlaunch",
|
|
4407
|
+
"plugipay"
|
|
4408
|
+
]
|
|
4409
|
+
}
|
|
4410
|
+
],
|
|
4074
4411
|
"body": null
|
|
4075
4412
|
},
|
|
4076
4413
|
{
|
|
4077
4414
|
"name": "webhook-events-resend",
|
|
4078
4415
|
"method": "POST",
|
|
4079
4416
|
"path": "/api/v1/payment/webhook-events/{id}/resend",
|
|
4080
|
-
"summary": "Resend a webhook
|
|
4417
|
+
"summary": "Resend a webhook delivery.",
|
|
4081
4418
|
"pathParams": [
|
|
4082
4419
|
"id"
|
|
4083
4420
|
],
|
|
@@ -4632,7 +4969,90 @@ export const API_ROUTES = [
|
|
|
4632
4969
|
"pathParams": [
|
|
4633
4970
|
"id"
|
|
4634
4971
|
],
|
|
4635
|
-
"query": [
|
|
4972
|
+
"query": [
|
|
4973
|
+
{
|
|
4974
|
+
"name": "size",
|
|
4975
|
+
"kind": "string",
|
|
4976
|
+
"required": false,
|
|
4977
|
+
"choices": [
|
|
4978
|
+
"a4",
|
|
4979
|
+
"thermal-80x100",
|
|
4980
|
+
"thermal-100x150"
|
|
4981
|
+
]
|
|
4982
|
+
},
|
|
4983
|
+
{
|
|
4984
|
+
"name": "showSenderPhone",
|
|
4985
|
+
"kind": "string",
|
|
4986
|
+
"required": false,
|
|
4987
|
+
"choices": [
|
|
4988
|
+
"true",
|
|
4989
|
+
"false"
|
|
4990
|
+
]
|
|
4991
|
+
},
|
|
4992
|
+
{
|
|
4993
|
+
"name": "showRecipientPhone",
|
|
4994
|
+
"kind": "string",
|
|
4995
|
+
"required": false,
|
|
4996
|
+
"choices": [
|
|
4997
|
+
"true",
|
|
4998
|
+
"false"
|
|
4999
|
+
]
|
|
5000
|
+
},
|
|
5001
|
+
{
|
|
5002
|
+
"name": "maskRecipientName",
|
|
5003
|
+
"kind": "string",
|
|
5004
|
+
"required": false,
|
|
5005
|
+
"choices": [
|
|
5006
|
+
"true",
|
|
5007
|
+
"false"
|
|
5008
|
+
]
|
|
5009
|
+
},
|
|
5010
|
+
{
|
|
5011
|
+
"name": "showShippingCost",
|
|
5012
|
+
"kind": "string",
|
|
5013
|
+
"required": false,
|
|
5014
|
+
"choices": [
|
|
5015
|
+
"true",
|
|
5016
|
+
"false"
|
|
5017
|
+
]
|
|
5018
|
+
},
|
|
5019
|
+
{
|
|
5020
|
+
"name": "showInsurance",
|
|
5021
|
+
"kind": "string",
|
|
5022
|
+
"required": false,
|
|
5023
|
+
"choices": [
|
|
5024
|
+
"true",
|
|
5025
|
+
"false"
|
|
5026
|
+
]
|
|
5027
|
+
},
|
|
5028
|
+
{
|
|
5029
|
+
"name": "showItems",
|
|
5030
|
+
"kind": "string",
|
|
5031
|
+
"required": false,
|
|
5032
|
+
"choices": [
|
|
5033
|
+
"true",
|
|
5034
|
+
"false"
|
|
5035
|
+
]
|
|
5036
|
+
},
|
|
5037
|
+
{
|
|
5038
|
+
"name": "showItemDescriptions",
|
|
5039
|
+
"kind": "string",
|
|
5040
|
+
"required": false,
|
|
5041
|
+
"choices": [
|
|
5042
|
+
"true",
|
|
5043
|
+
"false"
|
|
5044
|
+
]
|
|
5045
|
+
},
|
|
5046
|
+
{
|
|
5047
|
+
"name": "showItemSkus",
|
|
5048
|
+
"kind": "string",
|
|
5049
|
+
"required": false,
|
|
5050
|
+
"choices": [
|
|
5051
|
+
"true",
|
|
5052
|
+
"false"
|
|
5053
|
+
]
|
|
5054
|
+
}
|
|
5055
|
+
],
|
|
4636
5056
|
"body": null
|
|
4637
5057
|
},
|
|
4638
5058
|
{
|
|
@@ -4783,7 +5203,22 @@ export const API_ROUTES = [
|
|
|
4783
5203
|
"path": "/api/v1/shipping-credits/quote",
|
|
4784
5204
|
"summary": "What this rupiah amount of credit costs on a given rail.",
|
|
4785
5205
|
"pathParams": [],
|
|
4786
|
-
"query": [
|
|
5206
|
+
"query": [
|
|
5207
|
+
{
|
|
5208
|
+
"name": "amount",
|
|
5209
|
+
"kind": "number",
|
|
5210
|
+
"required": true
|
|
5211
|
+
},
|
|
5212
|
+
{
|
|
5213
|
+
"name": "currency",
|
|
5214
|
+
"kind": "string",
|
|
5215
|
+
"required": false,
|
|
5216
|
+
"choices": [
|
|
5217
|
+
"IDR",
|
|
5218
|
+
"USD"
|
|
5219
|
+
]
|
|
5220
|
+
}
|
|
5221
|
+
],
|
|
4787
5222
|
"body": null
|
|
4788
5223
|
},
|
|
4789
5224
|
{
|
|
@@ -4841,7 +5276,23 @@ export const API_ROUTES = [
|
|
|
4841
5276
|
"path": "/api/v1/shoppers",
|
|
4842
5277
|
"summary": "List shoppers",
|
|
4843
5278
|
"pathParams": [],
|
|
4844
|
-
"query": [
|
|
5279
|
+
"query": [
|
|
5280
|
+
{
|
|
5281
|
+
"name": "search",
|
|
5282
|
+
"kind": "string",
|
|
5283
|
+
"required": false
|
|
5284
|
+
},
|
|
5285
|
+
{
|
|
5286
|
+
"name": "limit",
|
|
5287
|
+
"kind": "number",
|
|
5288
|
+
"required": false
|
|
5289
|
+
},
|
|
5290
|
+
{
|
|
5291
|
+
"name": "cursor",
|
|
5292
|
+
"kind": "string",
|
|
5293
|
+
"required": false
|
|
5294
|
+
}
|
|
5295
|
+
],
|
|
4845
5296
|
"body": null
|
|
4846
5297
|
}
|
|
4847
5298
|
]
|
|
@@ -5387,7 +5838,34 @@ export const API_ROUTES = [
|
|
|
5387
5838
|
"path": "/api/v1/storefront/products",
|
|
5388
5839
|
"summary": "GET /storefront/products",
|
|
5389
5840
|
"pathParams": [],
|
|
5390
|
-
"query": [
|
|
5841
|
+
"query": [
|
|
5842
|
+
{
|
|
5843
|
+
"name": "limit",
|
|
5844
|
+
"kind": "number",
|
|
5845
|
+
"required": false
|
|
5846
|
+
},
|
|
5847
|
+
{
|
|
5848
|
+
"name": "cursor",
|
|
5849
|
+
"kind": "string",
|
|
5850
|
+
"required": false
|
|
5851
|
+
},
|
|
5852
|
+
{
|
|
5853
|
+
"name": "published",
|
|
5854
|
+
"kind": "string",
|
|
5855
|
+
"required": false
|
|
5856
|
+
},
|
|
5857
|
+
{
|
|
5858
|
+
"name": "type",
|
|
5859
|
+
"kind": "string",
|
|
5860
|
+
"required": false,
|
|
5861
|
+
"choices": [
|
|
5862
|
+
"digital",
|
|
5863
|
+
"subscription",
|
|
5864
|
+
"physical",
|
|
5865
|
+
"license"
|
|
5866
|
+
]
|
|
5867
|
+
}
|
|
5868
|
+
],
|
|
5391
5869
|
"body": null
|
|
5392
5870
|
},
|
|
5393
5871
|
{
|