@seasonkoh/webaz 0.1.29 → 0.1.30
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/bond-refund-blockers.js +50 -0
- package/dist/bond-slash.js +100 -0
- package/dist/bond-terms.js +31 -0
- package/dist/direct-pay-bond-rail-clearance.js +10 -5
- package/dist/direct-pay-cancel-refund.js +160 -0
- package/dist/direct-pay-create.js +78 -9
- package/dist/direct-pay-disclosures.js +17 -11
- package/dist/direct-pay-fee-ar.js +2 -2
- package/dist/direct-pay-fee-prepay-request.js +80 -0
- package/dist/direct-pay-returns.js +104 -0
- package/dist/direct-pay-stock.js +9 -0
- package/dist/direct-receive-deferral.js +30 -1
- package/dist/direct-receive-deposits.js +122 -17
- package/dist/free-shipping.js +37 -0
- package/dist/fx-rates.js +7 -0
- package/dist/layer0-foundation/L0-1-database/schema.js +246 -0
- package/dist/layer0-foundation/L0-2-state-machine/engine.js +1 -0
- package/dist/layer0-foundation/L0-2-state-machine/transitions.js +73 -0
- package/dist/layer1-agent/L1-1-mcp-server/server.js +81 -16
- package/dist/layer2-business/L2-6-notifications/notification-engine.js +110 -41
- package/dist/layer3-trust/L3-1-dispute-engine/dispute-engine.js +133 -31
- package/dist/layer3-trust/L3-1-dispute-engine/evidence-storage.js +16 -4
- package/dist/layer3-trust/L3-1-dispute-engine/mutual-cancel.js +156 -0
- package/dist/platform-receive-accounts.js +94 -0
- package/dist/pwa/arbitration-read-admin.js +37 -0
- package/dist/pwa/arbitrator-lifecycle.js +100 -0
- package/dist/pwa/contract-fingerprint.js +15 -0
- package/dist/pwa/direct-pay-order-redaction.js +20 -2
- package/dist/pwa/human-presence.js +2 -6
- package/dist/pwa/public/app-account.js +9 -9
- package/dist/pwa/public/app-admin-disputes.js +55 -0
- package/dist/pwa/public/app-agent-appeal.js +90 -0
- package/dist/pwa/public/app-agent-approvals.js +93 -0
- package/dist/pwa/public/app-agent-pair.js +127 -0
- package/dist/pwa/public/app-arbitrator-admin.js +87 -0
- package/dist/pwa/public/app-arbitrator-entry.js +9 -0
- package/dist/pwa/public/app-bond-deferral-ui.js +9 -0
- package/dist/pwa/public/app-bond-refund-ui.js +66 -0
- package/dist/pwa/public/app-bond-slash-ui.js +74 -0
- package/dist/pwa/public/app-bond-terms-ui.js +23 -0
- package/dist/pwa/public/app-bond-ui.js +108 -0
- package/dist/pwa/public/app-chat-poll.js +6 -6
- package/dist/pwa/public/app-contribution-hub.js +23 -0
- package/dist/pwa/public/app-direct-pay-accounts.js +1 -1
- package/dist/pwa/public/app-direct-pay-buyer.js +1 -1
- package/dist/pwa/public/app-direct-pay-cancel-refund.js +72 -0
- package/dist/pwa/public/app-direct-pay-copy.js +12 -0
- package/dist/pwa/public/app-direct-pay-fee-history.js +39 -0
- package/dist/pwa/public/app-direct-pay-fee-ops.js +1 -1
- package/dist/pwa/public/app-direct-pay-fee-request.js +81 -0
- package/dist/pwa/public/app-direct-pay-fee-requests-admin.js +70 -0
- package/dist/pwa/public/app-direct-pay-memo.js +14 -0
- package/dist/pwa/public/app-direct-pay-negotiation.js +35 -0
- package/dist/pwa/public/app-direct-pay-pay.js +15 -0
- package/dist/pwa/public/app-direct-pay-paymodal.js +32 -0
- package/dist/pwa/public/app-direct-pay-reconcile.js +19 -0
- package/dist/pwa/public/app-direct-pay-returns.js +56 -0
- package/dist/pwa/public/app-direct-pay-reveal.js +82 -0
- package/dist/pwa/public/app-direct-pay-sales-report.js +70 -0
- package/dist/pwa/public/app-direct-pay.js +36 -37
- package/dist/pwa/public/app-dispute-close-ui.js +38 -0
- package/dist/pwa/public/app-free-shipping-ui.js +29 -0
- package/dist/pwa/public/app-gmv-rail-split.js +12 -0
- package/dist/pwa/public/app-listing-commerce-ui.js +72 -0
- package/dist/pwa/public/app-mutual-cancel.js +54 -0
- package/dist/pwa/public/app-notif-templates-orders.js +43 -0
- package/dist/pwa/public/app-notif-templates.js +22 -0
- package/dist/pwa/public/app-order-accept-ui.js +158 -0
- package/dist/pwa/public/app-order-errors.js +50 -0
- package/dist/pwa/public/app-order-labels.js +19 -0
- package/dist/pwa/public/app-order-rail-filter.js +26 -0
- package/dist/pwa/public/app-platform-receive-accounts.js +140 -0
- package/dist/pwa/public/app-poll-governor.js +22 -0
- package/dist/pwa/public/app-profile.js +4 -4
- package/dist/pwa/public/app-purchase-terms-ui.js +68 -0
- package/dist/pwa/public/app-sale-regions-ui.js +38 -0
- package/dist/pwa/public/app-seller.js +1 -1
- package/dist/pwa/public/app-trade-tax-ui.js +33 -0
- package/dist/pwa/public/app.js +133 -160
- package/dist/pwa/public/i18n.js +675 -5
- package/dist/pwa/public/index.html +41 -0
- package/dist/pwa/public/openapi.json +709 -11
- package/dist/pwa/public/style.css +3 -0
- package/dist/pwa/routes/admin-direct-receive-deposits.js +215 -3
- package/dist/pwa/routes/admin-protocol-params.js +16 -0
- package/dist/pwa/routes/admin-reports.js +31 -5
- package/dist/pwa/routes/agent-governance.js +1 -1
- package/dist/pwa/routes/agent-grants.js +253 -32
- package/dist/pwa/routes/analytics.js +2 -0
- package/dist/pwa/routes/arbitrator.js +67 -14
- package/dist/pwa/routes/bond-seller.js +162 -0
- package/dist/pwa/routes/direct-pay-cancel-refund.js +111 -0
- package/dist/pwa/routes/direct-pay-disclosure-acks.js +9 -4
- package/dist/pwa/routes/direct-pay-pending-accept.js +222 -0
- package/dist/pwa/routes/direct-pay-returns.js +74 -0
- package/dist/pwa/routes/direct-pay-timeouts.js +186 -9
- package/dist/pwa/routes/disputes-read.js +20 -6
- package/dist/pwa/routes/disputes-write.js +91 -33
- package/dist/pwa/routes/external-anchors.js +4 -2
- package/dist/pwa/routes/fee-prepay-requests.js +66 -0
- package/dist/pwa/routes/governance-onboarding.js +46 -8
- package/dist/pwa/routes/logistics.js +4 -4
- package/dist/pwa/routes/me-data.js +2 -2
- package/dist/pwa/routes/mutual-cancel.js +62 -0
- package/dist/pwa/routes/orders-action.js +182 -9
- package/dist/pwa/routes/orders-create.js +18 -7
- package/dist/pwa/routes/orders-read.js +76 -14
- package/dist/pwa/routes/platform-receive-accounts.js +111 -0
- package/dist/pwa/routes/products-create.js +13 -4
- package/dist/pwa/routes/products-update.js +15 -1
- package/dist/pwa/routes/profile-identity.js +4 -2
- package/dist/pwa/routes/returns.js +39 -8
- package/dist/pwa/routes/seller-directpay-report.js +110 -0
- package/dist/pwa/routes/seller-quota.js +5 -1
- package/dist/pwa/routes/shipping-templates.js +219 -0
- package/dist/pwa/routes/snf.js +4 -1
- package/dist/pwa/routes/webauthn.js +3 -3
- package/dist/pwa/server.js +59 -36
- package/dist/runtime/agent-grant-scopes.js +69 -1
- package/dist/runtime/webaz-schema-helpers.js +57 -3
- package/dist/sale-regions.js +116 -0
- package/dist/shipping-templates.js +119 -0
- package/dist/trade-tax.js +99 -0
- package/dist/trade-terms.js +76 -0
- package/dist/version.js +1 -1
- package/package.json +59 -2
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "WebAZ Protocol API",
|
|
5
5
|
"version": "0.4.14",
|
|
6
|
-
"description": "Auto-generated endpoint inventory (
|
|
6
|
+
"description": "Auto-generated endpoint inventory (776 endpoints, 17 with full schema). See docs/ for design context."
|
|
7
7
|
},
|
|
8
8
|
"servers": [
|
|
9
9
|
{
|
|
@@ -349,6 +349,71 @@
|
|
|
349
349
|
]
|
|
350
350
|
}
|
|
351
351
|
},
|
|
352
|
+
"/api/admin/arbitrators": {
|
|
353
|
+
"get": {
|
|
354
|
+
"summary": "名册(admin 只读,无需 Passkey)。含 active/suspended/revoked 全量 + 状态。",
|
|
355
|
+
"tags": [
|
|
356
|
+
"admin"
|
|
357
|
+
],
|
|
358
|
+
"security": [
|
|
359
|
+
{
|
|
360
|
+
"bearerAuth": []
|
|
361
|
+
}
|
|
362
|
+
]
|
|
363
|
+
}
|
|
364
|
+
},
|
|
365
|
+
"/api/admin/arbitrators/:user_id/reinstate": {
|
|
366
|
+
"post": {
|
|
367
|
+
"summary": "POST /api/admin/arbitrators/:user_id/reinstate",
|
|
368
|
+
"tags": [
|
|
369
|
+
"admin"
|
|
370
|
+
],
|
|
371
|
+
"security": [
|
|
372
|
+
{
|
|
373
|
+
"bearerAuth": []
|
|
374
|
+
}
|
|
375
|
+
]
|
|
376
|
+
}
|
|
377
|
+
},
|
|
378
|
+
"/api/admin/arbitrators/:user_id/revoke": {
|
|
379
|
+
"post": {
|
|
380
|
+
"summary": "POST /api/admin/arbitrators/:user_id/revoke",
|
|
381
|
+
"tags": [
|
|
382
|
+
"admin"
|
|
383
|
+
],
|
|
384
|
+
"security": [
|
|
385
|
+
{
|
|
386
|
+
"bearerAuth": []
|
|
387
|
+
}
|
|
388
|
+
]
|
|
389
|
+
}
|
|
390
|
+
},
|
|
391
|
+
"/api/admin/arbitrators/:user_id/suspend": {
|
|
392
|
+
"post": {
|
|
393
|
+
"summary": "POST /api/admin/arbitrators/:user_id/suspend",
|
|
394
|
+
"tags": [
|
|
395
|
+
"admin"
|
|
396
|
+
],
|
|
397
|
+
"security": [
|
|
398
|
+
{
|
|
399
|
+
"bearerAuth": []
|
|
400
|
+
}
|
|
401
|
+
]
|
|
402
|
+
}
|
|
403
|
+
},
|
|
404
|
+
"/api/admin/arbitrators/grant": {
|
|
405
|
+
"post": {
|
|
406
|
+
"summary": "POST /api/admin/arbitrators/grant",
|
|
407
|
+
"tags": [
|
|
408
|
+
"admin"
|
|
409
|
+
],
|
|
410
|
+
"security": [
|
|
411
|
+
{
|
|
412
|
+
"bearerAuth": []
|
|
413
|
+
}
|
|
414
|
+
]
|
|
415
|
+
}
|
|
416
|
+
},
|
|
352
417
|
"/api/admin/atomic/process-ledger": {
|
|
353
418
|
"post": {
|
|
354
419
|
"summary": "POST /api/admin/atomic/process-ledger",
|
|
@@ -631,6 +696,58 @@
|
|
|
631
696
|
]
|
|
632
697
|
}
|
|
633
698
|
},
|
|
699
|
+
"/api/admin/direct-receive/bond-slash": {
|
|
700
|
+
"get": {
|
|
701
|
+
"summary": "── B3:保证金罚没(人工铁律:仲裁裁定卖家责的直付争议 → 提案 → 冷静期 → ROOT+Passkey 执行;绝不自动)──",
|
|
702
|
+
"tags": [
|
|
703
|
+
"admin"
|
|
704
|
+
],
|
|
705
|
+
"security": [
|
|
706
|
+
{
|
|
707
|
+
"bearerAuth": []
|
|
708
|
+
}
|
|
709
|
+
]
|
|
710
|
+
}
|
|
711
|
+
},
|
|
712
|
+
"/api/admin/direct-receive/bond-slash/:id/cancel": {
|
|
713
|
+
"post": {
|
|
714
|
+
"summary": "POST /api/admin/direct-receive/bond-slash/:id/cancel",
|
|
715
|
+
"tags": [
|
|
716
|
+
"admin"
|
|
717
|
+
],
|
|
718
|
+
"security": [
|
|
719
|
+
{
|
|
720
|
+
"bearerAuth": []
|
|
721
|
+
}
|
|
722
|
+
]
|
|
723
|
+
}
|
|
724
|
+
},
|
|
725
|
+
"/api/admin/direct-receive/bond-slash/:id/execute": {
|
|
726
|
+
"post": {
|
|
727
|
+
"summary": "执行(ROOT + 真人 Passkey,purpose direct_pay_bond_slash 绑 proposal_id;冷静期由域内绝对截止校验)。",
|
|
728
|
+
"tags": [
|
|
729
|
+
"admin"
|
|
730
|
+
],
|
|
731
|
+
"security": [
|
|
732
|
+
{
|
|
733
|
+
"bearerAuth": []
|
|
734
|
+
}
|
|
735
|
+
]
|
|
736
|
+
}
|
|
737
|
+
},
|
|
738
|
+
"/api/admin/direct-receive/bond-slash/propose": {
|
|
739
|
+
"post": {
|
|
740
|
+
"summary": "提案(ROOT,审计留痕,不 Passkey —— 提案不动任何东西;执行才是终局动作)。通知卖家(冷静期=申诉窗)。",
|
|
741
|
+
"tags": [
|
|
742
|
+
"admin"
|
|
743
|
+
],
|
|
744
|
+
"security": [
|
|
745
|
+
{
|
|
746
|
+
"bearerAuth": []
|
|
747
|
+
}
|
|
748
|
+
]
|
|
749
|
+
}
|
|
750
|
+
},
|
|
634
751
|
"/api/admin/direct-receive/deferrals": {
|
|
635
752
|
"get": {
|
|
636
753
|
"summary": "GET /api/admin/direct-receive/deferrals?status=pending — ROOT 审批队列(默认全部;可按 status 过滤)。纯读。",
|
|
@@ -670,6 +787,19 @@
|
|
|
670
787
|
]
|
|
671
788
|
}
|
|
672
789
|
},
|
|
790
|
+
"/api/admin/direct-receive/deposits": {
|
|
791
|
+
"get": {
|
|
792
|
+
"summary": "GET /api/admin/direct-receive/deposits?status=pending — ROOT 只读:保证金申报队列(核对到账用)。B1。",
|
|
793
|
+
"tags": [
|
|
794
|
+
"admin"
|
|
795
|
+
],
|
|
796
|
+
"security": [
|
|
797
|
+
{
|
|
798
|
+
"bearerAuth": []
|
|
799
|
+
}
|
|
800
|
+
]
|
|
801
|
+
}
|
|
802
|
+
},
|
|
673
803
|
"/api/admin/direct-receive/deposits/:id/confirm-production": {
|
|
674
804
|
"post": {
|
|
675
805
|
"summary": "当前恒 fail-closed(无 legal-cleared rail → assert 抛 → PRODUCTION_RAIL_NOT_CLEARED)。",
|
|
@@ -683,6 +813,32 @@
|
|
|
683
813
|
]
|
|
684
814
|
}
|
|
685
815
|
},
|
|
816
|
+
"/api/admin/direct-receive/deposits/:id/execute-refund": {
|
|
817
|
+
"post": {
|
|
818
|
+
"summary": "unlock blockers(冷静期内可能新增退货/欠费等责任 —— 有任一即拒)。凭据必填;真实退款发生在协议外,此处只记录。",
|
|
819
|
+
"tags": [
|
|
820
|
+
"admin"
|
|
821
|
+
],
|
|
822
|
+
"security": [
|
|
823
|
+
{
|
|
824
|
+
"bearerAuth": []
|
|
825
|
+
}
|
|
826
|
+
]
|
|
827
|
+
}
|
|
828
|
+
},
|
|
829
|
+
"/api/admin/direct-receive/deposits/:id/reject": {
|
|
830
|
+
"post": {
|
|
831
|
+
"summary": "不 Passkey:驳回不授予/不移动任何东西(与缓交 reject 不同 —— 那是资格决定;这里只是\"到账核不上\"退回重报)。",
|
|
832
|
+
"tags": [
|
|
833
|
+
"admin"
|
|
834
|
+
],
|
|
835
|
+
"security": [
|
|
836
|
+
{
|
|
837
|
+
"bearerAuth": []
|
|
838
|
+
}
|
|
839
|
+
]
|
|
840
|
+
}
|
|
841
|
+
},
|
|
686
842
|
"/api/admin/direct-receive/fee-account/:seller_id": {
|
|
687
843
|
"get": {
|
|
688
844
|
"summary": "只读诊断,不写、无 Passkey(读不授权能力);卖家私密财务,买家/卖家拿不到此 admin 视图。",
|
|
@@ -722,6 +878,45 @@
|
|
|
722
878
|
]
|
|
723
879
|
}
|
|
724
880
|
},
|
|
881
|
+
"/api/admin/direct-receive/fee-prepay-requests": {
|
|
882
|
+
"get": {
|
|
883
|
+
"summary": "GET /api/admin/direct-receive/fee-prepay-requests?status=pending — ROOT 只读:预充值申请队列(核对到账用)。",
|
|
884
|
+
"tags": [
|
|
885
|
+
"admin"
|
|
886
|
+
],
|
|
887
|
+
"security": [
|
|
888
|
+
{
|
|
889
|
+
"bearerAuth": []
|
|
890
|
+
}
|
|
891
|
+
]
|
|
892
|
+
}
|
|
893
|
+
},
|
|
894
|
+
"/api/admin/direct-receive/fee-prepay-requests/:id/approve": {
|
|
895
|
+
"post": {
|
|
896
|
+
"summary": "purpose_data 绑 request_id + seller_id + amount_units + method(把入账金额/对象钉进 Passkey)。原子:approved + recordFeePrepay + 关联 payment。",
|
|
897
|
+
"tags": [
|
|
898
|
+
"admin"
|
|
899
|
+
],
|
|
900
|
+
"security": [
|
|
901
|
+
{
|
|
902
|
+
"bearerAuth": []
|
|
903
|
+
}
|
|
904
|
+
]
|
|
905
|
+
}
|
|
906
|
+
},
|
|
907
|
+
"/api/admin/direct-receive/fee-prepay-requests/:id/reject": {
|
|
908
|
+
"post": {
|
|
909
|
+
"summary": "POST /api/admin/direct-receive/fee-prepay-requests/:id/reject — ROOT + Passkey(不动钱)。purpose_data 绑 request_id。",
|
|
910
|
+
"tags": [
|
|
911
|
+
"admin"
|
|
912
|
+
],
|
|
913
|
+
"security": [
|
|
914
|
+
{
|
|
915
|
+
"bearerAuth": []
|
|
916
|
+
}
|
|
917
|
+
]
|
|
918
|
+
}
|
|
919
|
+
},
|
|
725
920
|
"/api/admin/direct-receive/fee-refund": {
|
|
726
921
|
"post": {
|
|
727
922
|
"summary": "amount ≤ 当前 available(helper 同事务校验)。append-only + audit。purpose_data 绑 seller_id+amount_units+method+evidence_ref。",
|
|
@@ -1376,6 +1571,54 @@
|
|
|
1376
1571
|
]
|
|
1377
1572
|
}
|
|
1378
1573
|
},
|
|
1574
|
+
"/api/admin/platform-receive-accounts": {
|
|
1575
|
+
"get": {
|
|
1576
|
+
"summary": "── list(ROOT 读;含 inactive + qr_data_uri)──",
|
|
1577
|
+
"tags": [
|
|
1578
|
+
"admin"
|
|
1579
|
+
],
|
|
1580
|
+
"security": [
|
|
1581
|
+
{
|
|
1582
|
+
"bearerAuth": []
|
|
1583
|
+
}
|
|
1584
|
+
]
|
|
1585
|
+
},
|
|
1586
|
+
"post": {
|
|
1587
|
+
"summary": "── add(ROOT + Passkey)──",
|
|
1588
|
+
"tags": [
|
|
1589
|
+
"admin"
|
|
1590
|
+
],
|
|
1591
|
+
"security": [
|
|
1592
|
+
{
|
|
1593
|
+
"bearerAuth": []
|
|
1594
|
+
}
|
|
1595
|
+
]
|
|
1596
|
+
}
|
|
1597
|
+
},
|
|
1598
|
+
"/api/admin/platform-receive-accounts/:id": {
|
|
1599
|
+
"delete": {
|
|
1600
|
+
"summary": "── deactivate(ROOT + Passkey + 存在性)──",
|
|
1601
|
+
"tags": [
|
|
1602
|
+
"admin"
|
|
1603
|
+
],
|
|
1604
|
+
"security": [
|
|
1605
|
+
{
|
|
1606
|
+
"bearerAuth": []
|
|
1607
|
+
}
|
|
1608
|
+
]
|
|
1609
|
+
},
|
|
1610
|
+
"put": {
|
|
1611
|
+
"summary": "── update(ROOT + Passkey + 存在性)──",
|
|
1612
|
+
"tags": [
|
|
1613
|
+
"admin"
|
|
1614
|
+
],
|
|
1615
|
+
"security": [
|
|
1616
|
+
{
|
|
1617
|
+
"bearerAuth": []
|
|
1618
|
+
}
|
|
1619
|
+
]
|
|
1620
|
+
}
|
|
1621
|
+
},
|
|
1379
1622
|
"/api/admin/products": {
|
|
1380
1623
|
"get": {
|
|
1381
1624
|
"summary": "─── 商品 列表 + 强制下架 ───────────────────────────────",
|
|
@@ -2323,7 +2566,7 @@
|
|
|
2323
2566
|
]
|
|
2324
2567
|
},
|
|
2325
2568
|
"post": {
|
|
2326
|
-
"summary": "
|
|
2569
|
+
"summary": "agent delegation\"的安全叙事。零消费方(前端/MCP/测试均不用),故降级为不可用,统一走 pairing。",
|
|
2327
2570
|
"tags": [],
|
|
2328
2571
|
"security": [
|
|
2329
2572
|
{
|
|
@@ -2343,6 +2586,13 @@
|
|
|
2343
2586
|
]
|
|
2344
2587
|
}
|
|
2345
2588
|
},
|
|
2589
|
+
"/api/agent-grants/my-permission-requests": {
|
|
2590
|
+
"get": {
|
|
2591
|
+
"summary": "grant_id: an agent sees ONLY its own requests, never the human's other agents'. Audited (fail-closed).",
|
|
2592
|
+
"tags": [],
|
|
2593
|
+
"security": []
|
|
2594
|
+
}
|
|
2595
|
+
},
|
|
2346
2596
|
"/api/agent-grants/pair/:pairing_id/retrieve": {
|
|
2347
2597
|
"post": {
|
|
2348
2598
|
"summary": "(pair 4) Agent retrieves the credential ONCE via PKCE verifier — UNAUTHENTICATED (PKCE-gated).",
|
|
@@ -2372,6 +2622,17 @@
|
|
|
2372
2622
|
]
|
|
2373
2623
|
}
|
|
2374
2624
|
},
|
|
2625
|
+
"/api/agent-grants/pair/:user_code/reject": {
|
|
2626
|
+
"post": {
|
|
2627
|
+
"summary": "拒绝是保护性动作,无需 Passkey(不签发任何凭证)。幂等:仅 pending 可拒。",
|
|
2628
|
+
"tags": [],
|
|
2629
|
+
"security": [
|
|
2630
|
+
{
|
|
2631
|
+
"bearerAuth": []
|
|
2632
|
+
}
|
|
2633
|
+
]
|
|
2634
|
+
}
|
|
2635
|
+
},
|
|
2375
2636
|
"/api/agent-grants/pair/start": {
|
|
2376
2637
|
"post": {
|
|
2377
2638
|
"summary": "(pair 1) Agent starts a pairing — UNAUTHENTICATED (agent has no credential yet). Safe scopes only.",
|
|
@@ -2379,6 +2640,51 @@
|
|
|
2379
2640
|
"security": []
|
|
2380
2641
|
}
|
|
2381
2642
|
},
|
|
2643
|
+
"/api/agent-grants/permission-requests": {
|
|
2644
|
+
"get": {
|
|
2645
|
+
"summary": "GET list this human's PENDING permission requests (for #agent-approvals). Human-authed.",
|
|
2646
|
+
"tags": [],
|
|
2647
|
+
"security": [
|
|
2648
|
+
{
|
|
2649
|
+
"bearerAuth": []
|
|
2650
|
+
}
|
|
2651
|
+
]
|
|
2652
|
+
},
|
|
2653
|
+
"post": {
|
|
2654
|
+
"summary": "NOT grantable (they need a per-action live Passkey, not a persistent grant) → structured reject.",
|
|
2655
|
+
"tags": [],
|
|
2656
|
+
"security": []
|
|
2657
|
+
}
|
|
2658
|
+
},
|
|
2659
|
+
"/api/agent-grants/permission-requests/:id/approve": {
|
|
2660
|
+
"post": {
|
|
2661
|
+
"summary": "POST approve — human-authed + live Passkey; expands the bound grant (union scopes + bundle + extend expiry). Audited.",
|
|
2662
|
+
"tags": [],
|
|
2663
|
+
"security": [
|
|
2664
|
+
{
|
|
2665
|
+
"bearerAuth": []
|
|
2666
|
+
}
|
|
2667
|
+
]
|
|
2668
|
+
}
|
|
2669
|
+
},
|
|
2670
|
+
"/api/agent-grants/permission-requests/:id/reject": {
|
|
2671
|
+
"post": {
|
|
2672
|
+
"summary": "POST reject — human-authed. Terminal 'rejected'; nothing is granted.",
|
|
2673
|
+
"tags": [],
|
|
2674
|
+
"security": [
|
|
2675
|
+
{
|
|
2676
|
+
"bearerAuth": []
|
|
2677
|
+
}
|
|
2678
|
+
]
|
|
2679
|
+
}
|
|
2680
|
+
},
|
|
2681
|
+
"/api/agent-grants/verify": {
|
|
2682
|
+
"get": {
|
|
2683
|
+
"summary": "Audited (acceptance #8: every grant use logs). Never returns the raw token/api_key.",
|
|
2684
|
+
"tags": [],
|
|
2685
|
+
"security": []
|
|
2686
|
+
}
|
|
2687
|
+
},
|
|
2382
2688
|
"/api/agent-grants/whoami": {
|
|
2383
2689
|
"get": {
|
|
2384
2690
|
"summary": "end-to-end on a brand-new read-only endpoint that touches NO existing route and NO money path.",
|
|
@@ -2458,6 +2764,18 @@
|
|
|
2458
2764
|
"security": []
|
|
2459
2765
|
}
|
|
2460
2766
|
},
|
|
2767
|
+
"/api/agent/seller/products": {
|
|
2768
|
+
"get": {
|
|
2769
|
+
"summary": "The consumption (allow AND the permission_required deny) is audited by the middleware.",
|
|
2770
|
+
"tags": [],
|
|
2771
|
+
"security": [
|
|
2772
|
+
{
|
|
2773
|
+
"grantBearer": []
|
|
2774
|
+
}
|
|
2775
|
+
],
|
|
2776
|
+
"x-webaz-grant-scope": "seller_products_read"
|
|
2777
|
+
}
|
|
2778
|
+
},
|
|
2461
2779
|
"/api/agent/verifiability": {
|
|
2462
2780
|
"get": {
|
|
2463
2781
|
"summary": "GET /api/agent/verifiability",
|
|
@@ -3476,7 +3794,7 @@
|
|
|
3476
3794
|
},
|
|
3477
3795
|
"/api/direct-pay/disclosure-acks": {
|
|
3478
3796
|
"post": {
|
|
3479
|
-
"summary": "
|
|
3797
|
+
"summary": "stage:'both' —— 单 stage token 冒充不了 both,both token 也重放不了单 stage(一次性消费 + validate 精确匹配)。",
|
|
3480
3798
|
"tags": [],
|
|
3481
3799
|
"security": [
|
|
3482
3800
|
{
|
|
@@ -3556,18 +3874,106 @@
|
|
|
3556
3874
|
]
|
|
3557
3875
|
}
|
|
3558
3876
|
},
|
|
3559
|
-
"/api/direct-receive/
|
|
3560
|
-
"
|
|
3561
|
-
"summary": "
|
|
3877
|
+
"/api/direct-receive/bond-deposit": {
|
|
3878
|
+
"post": {
|
|
3879
|
+
"summary": "POST /api/direct-receive/bond-deposit",
|
|
3880
|
+
"tags": [],
|
|
3881
|
+
"security": [
|
|
3882
|
+
{
|
|
3883
|
+
"bearerAuth": []
|
|
3884
|
+
}
|
|
3885
|
+
]
|
|
3886
|
+
}
|
|
3887
|
+
},
|
|
3888
|
+
"/api/direct-receive/bond-deposit/:id/cancel": {
|
|
3889
|
+
"post": {
|
|
3890
|
+
"summary": "POST /api/direct-receive/bond-deposit/:id/cancel",
|
|
3891
|
+
"tags": [],
|
|
3892
|
+
"security": [
|
|
3893
|
+
{
|
|
3894
|
+
"bearerAuth": []
|
|
3895
|
+
}
|
|
3896
|
+
]
|
|
3897
|
+
}
|
|
3898
|
+
},
|
|
3899
|
+
"/api/direct-receive/bond-refund-request": {
|
|
3900
|
+
"post": {
|
|
3901
|
+
"summary": "── B2:退出退还 —— 申请(§5 blockers fail-closed)→ 冷静期 → admin 执行;申请期间直付资格暂停,可撤销 ──",
|
|
3902
|
+
"tags": [],
|
|
3903
|
+
"security": [
|
|
3904
|
+
{
|
|
3905
|
+
"bearerAuth": []
|
|
3906
|
+
}
|
|
3907
|
+
]
|
|
3908
|
+
}
|
|
3909
|
+
},
|
|
3910
|
+
"/api/direct-receive/bond-refund-request/cancel": {
|
|
3911
|
+
"post": {
|
|
3912
|
+
"summary": "POST /api/direct-receive/bond-refund-request/cancel",
|
|
3913
|
+
"tags": [],
|
|
3914
|
+
"security": [
|
|
3915
|
+
{
|
|
3916
|
+
"bearerAuth": []
|
|
3917
|
+
}
|
|
3918
|
+
]
|
|
3919
|
+
}
|
|
3920
|
+
},
|
|
3921
|
+
"/api/direct-receive/bond-status": {
|
|
3922
|
+
"get": {
|
|
3923
|
+
"summary": "GET /api/direct-receive/bond-status",
|
|
3924
|
+
"tags": [],
|
|
3925
|
+
"security": [
|
|
3926
|
+
{
|
|
3927
|
+
"bearerAuth": []
|
|
3928
|
+
}
|
|
3929
|
+
]
|
|
3930
|
+
}
|
|
3931
|
+
},
|
|
3932
|
+
"/api/direct-receive/deferral": {
|
|
3933
|
+
"get": {
|
|
3934
|
+
"summary": "GET /api/direct-receive/deferral — 卖家本人缓交状态:最新一条申请(脱敏:不含 admin 身份)+ 是否当前生效(active)。",
|
|
3935
|
+
"tags": [],
|
|
3936
|
+
"security": [
|
|
3937
|
+
{
|
|
3938
|
+
"bearerAuth": []
|
|
3939
|
+
}
|
|
3940
|
+
]
|
|
3941
|
+
},
|
|
3942
|
+
"post": {
|
|
3943
|
+
"summary": "POST /api/direct-receive/deferral — 卖家申请缓交。helper 强制:单一活跃、periodDays 正整数、id 唯一。",
|
|
3944
|
+
"tags": [],
|
|
3945
|
+
"security": [
|
|
3946
|
+
{
|
|
3947
|
+
"bearerAuth": []
|
|
3948
|
+
}
|
|
3949
|
+
]
|
|
3950
|
+
}
|
|
3951
|
+
},
|
|
3952
|
+
"/api/direct-receive/fee-prepay-request": {
|
|
3953
|
+
"post": {
|
|
3954
|
+
"summary": "── 提交预充值申请(不 Passkey;凭据必填)──",
|
|
3955
|
+
"tags": [],
|
|
3956
|
+
"security": [
|
|
3957
|
+
{
|
|
3958
|
+
"bearerAuth": []
|
|
3959
|
+
}
|
|
3960
|
+
]
|
|
3961
|
+
}
|
|
3962
|
+
},
|
|
3963
|
+
"/api/direct-receive/fee-prepay-request/:id/cancel": {
|
|
3964
|
+
"post": {
|
|
3965
|
+
"summary": "── 卖家撤销自己的 pending 申请 ──",
|
|
3562
3966
|
"tags": [],
|
|
3563
3967
|
"security": [
|
|
3564
3968
|
{
|
|
3565
3969
|
"bearerAuth": []
|
|
3566
3970
|
}
|
|
3567
3971
|
]
|
|
3568
|
-
}
|
|
3569
|
-
|
|
3570
|
-
|
|
3972
|
+
}
|
|
3973
|
+
},
|
|
3974
|
+
"/api/direct-receive/fee-prepay-requests": {
|
|
3975
|
+
"get": {
|
|
3976
|
+
"summary": "── 卖家看自己的申请(全状态)──",
|
|
3571
3977
|
"tags": [],
|
|
3572
3978
|
"security": [
|
|
3573
3979
|
{
|
|
@@ -3616,6 +4022,17 @@
|
|
|
3616
4022
|
]
|
|
3617
4023
|
}
|
|
3618
4024
|
},
|
|
4025
|
+
"/api/direct-receive/platform-receive-accounts": {
|
|
4026
|
+
"get": {
|
|
4027
|
+
"summary": "── 卖家看平台收款方式(active;含 instruction + qr_data_uri —— 平台公开收款明细,据此付款)──",
|
|
4028
|
+
"tags": [],
|
|
4029
|
+
"security": [
|
|
4030
|
+
{
|
|
4031
|
+
"bearerAuth": []
|
|
4032
|
+
}
|
|
4033
|
+
]
|
|
4034
|
+
}
|
|
4035
|
+
},
|
|
3619
4036
|
"/api/direct-receive/product-verification": {
|
|
3620
4037
|
"post": {
|
|
3621
4038
|
"summary": "POST /api/direct-receive/product-verification — 卖家为某产品申领验证码(单一活跃 per product)。",
|
|
@@ -4060,7 +4477,7 @@
|
|
|
4060
4477
|
},
|
|
4061
4478
|
"/api/external-anchors/:id/distribute-rewards": {
|
|
4062
4479
|
"post": {
|
|
4063
|
-
"summary": "
|
|
4480
|
+
"summary": "白名单(isEligibleArbitrator),不认 legacy user.role(否则已 suspend/revoke 但 role 未同步的账号仍可触发放款)。",
|
|
4064
4481
|
"tags": [],
|
|
4065
4482
|
"security": [
|
|
4066
4483
|
{
|
|
@@ -5280,9 +5697,87 @@
|
|
|
5280
5697
|
]
|
|
5281
5698
|
}
|
|
5282
5699
|
},
|
|
5700
|
+
"/api/orders/:id/cancel-refund": {
|
|
5701
|
+
"get": {
|
|
5702
|
+
"summary": "GET /api/orders/:id/cancel-refund",
|
|
5703
|
+
"tags": [
|
|
5704
|
+
"order"
|
|
5705
|
+
],
|
|
5706
|
+
"security": [
|
|
5707
|
+
{
|
|
5708
|
+
"bearerAuth": []
|
|
5709
|
+
}
|
|
5710
|
+
]
|
|
5711
|
+
}
|
|
5712
|
+
},
|
|
5713
|
+
"/api/orders/:id/cancel-refund/confirm": {
|
|
5714
|
+
"post": {
|
|
5715
|
+
"summary": "POST /api/orders/:id/cancel-refund/confirm",
|
|
5716
|
+
"tags": [
|
|
5717
|
+
"order"
|
|
5718
|
+
],
|
|
5719
|
+
"security": [
|
|
5720
|
+
{
|
|
5721
|
+
"bearerAuth": []
|
|
5722
|
+
}
|
|
5723
|
+
]
|
|
5724
|
+
}
|
|
5725
|
+
},
|
|
5726
|
+
"/api/orders/:id/cancel-refund/decline": {
|
|
5727
|
+
"post": {
|
|
5728
|
+
"summary": "POST /api/orders/:id/cancel-refund/decline",
|
|
5729
|
+
"tags": [
|
|
5730
|
+
"order"
|
|
5731
|
+
],
|
|
5732
|
+
"security": [
|
|
5733
|
+
{
|
|
5734
|
+
"bearerAuth": []
|
|
5735
|
+
}
|
|
5736
|
+
]
|
|
5737
|
+
}
|
|
5738
|
+
},
|
|
5739
|
+
"/api/orders/:id/cancel-refund/mark-refunded": {
|
|
5740
|
+
"post": {
|
|
5741
|
+
"summary": "POST /api/orders/:id/cancel-refund/mark-refunded",
|
|
5742
|
+
"tags": [
|
|
5743
|
+
"order"
|
|
5744
|
+
],
|
|
5745
|
+
"security": [
|
|
5746
|
+
{
|
|
5747
|
+
"bearerAuth": []
|
|
5748
|
+
}
|
|
5749
|
+
]
|
|
5750
|
+
}
|
|
5751
|
+
},
|
|
5752
|
+
"/api/orders/:id/cancel-refund/request": {
|
|
5753
|
+
"post": {
|
|
5754
|
+
"summary": "POST /api/orders/:id/cancel-refund/request",
|
|
5755
|
+
"tags": [
|
|
5756
|
+
"order"
|
|
5757
|
+
],
|
|
5758
|
+
"security": [
|
|
5759
|
+
{
|
|
5760
|
+
"bearerAuth": []
|
|
5761
|
+
}
|
|
5762
|
+
]
|
|
5763
|
+
}
|
|
5764
|
+
},
|
|
5765
|
+
"/api/orders/:id/cancel-refund/withdraw": {
|
|
5766
|
+
"post": {
|
|
5767
|
+
"summary": "POST /api/orders/:id/cancel-refund/withdraw",
|
|
5768
|
+
"tags": [
|
|
5769
|
+
"order"
|
|
5770
|
+
],
|
|
5771
|
+
"security": [
|
|
5772
|
+
{
|
|
5773
|
+
"bearerAuth": []
|
|
5774
|
+
}
|
|
5775
|
+
]
|
|
5776
|
+
}
|
|
5777
|
+
},
|
|
5283
5778
|
"/api/orders/:id/chain": {
|
|
5284
5779
|
"get": {
|
|
5285
|
-
"summary": "订单签名链 — 当事人 +
|
|
5780
|
+
"summary": "订单签名链 — 当事人 + 白名单仲裁员(涉争议订单) + admin 可查",
|
|
5286
5781
|
"tags": [
|
|
5287
5782
|
"order"
|
|
5288
5783
|
],
|
|
@@ -5358,6 +5853,136 @@
|
|
|
5358
5853
|
]
|
|
5359
5854
|
}
|
|
5360
5855
|
},
|
|
5856
|
+
"/api/orders/:id/mutual-cancel": {
|
|
5857
|
+
"get": {
|
|
5858
|
+
"summary": "GET /api/orders/:id/mutual-cancel",
|
|
5859
|
+
"tags": [
|
|
5860
|
+
"order"
|
|
5861
|
+
],
|
|
5862
|
+
"security": [
|
|
5863
|
+
{
|
|
5864
|
+
"bearerAuth": []
|
|
5865
|
+
}
|
|
5866
|
+
]
|
|
5867
|
+
}
|
|
5868
|
+
},
|
|
5869
|
+
"/api/orders/:id/mutual-cancel/accept": {
|
|
5870
|
+
"post": {
|
|
5871
|
+
"summary": "POST /api/orders/:id/mutual-cancel/accept",
|
|
5872
|
+
"tags": [
|
|
5873
|
+
"order"
|
|
5874
|
+
],
|
|
5875
|
+
"security": [
|
|
5876
|
+
{
|
|
5877
|
+
"bearerAuth": []
|
|
5878
|
+
}
|
|
5879
|
+
]
|
|
5880
|
+
}
|
|
5881
|
+
},
|
|
5882
|
+
"/api/orders/:id/mutual-cancel/decline": {
|
|
5883
|
+
"post": {
|
|
5884
|
+
"summary": "POST /api/orders/:id/mutual-cancel/decline",
|
|
5885
|
+
"tags": [
|
|
5886
|
+
"order"
|
|
5887
|
+
],
|
|
5888
|
+
"security": [
|
|
5889
|
+
{
|
|
5890
|
+
"bearerAuth": []
|
|
5891
|
+
}
|
|
5892
|
+
]
|
|
5893
|
+
}
|
|
5894
|
+
},
|
|
5895
|
+
"/api/orders/:id/mutual-cancel/propose": {
|
|
5896
|
+
"post": {
|
|
5897
|
+
"summary": "POST /api/orders/:id/mutual-cancel/propose",
|
|
5898
|
+
"tags": [
|
|
5899
|
+
"order"
|
|
5900
|
+
],
|
|
5901
|
+
"security": [
|
|
5902
|
+
{
|
|
5903
|
+
"bearerAuth": []
|
|
5904
|
+
}
|
|
5905
|
+
]
|
|
5906
|
+
}
|
|
5907
|
+
},
|
|
5908
|
+
"/api/orders/:id/mutual-cancel/withdraw": {
|
|
5909
|
+
"post": {
|
|
5910
|
+
"summary": "POST /api/orders/:id/mutual-cancel/withdraw",
|
|
5911
|
+
"tags": [
|
|
5912
|
+
"order"
|
|
5913
|
+
],
|
|
5914
|
+
"security": [
|
|
5915
|
+
{
|
|
5916
|
+
"bearerAuth": []
|
|
5917
|
+
}
|
|
5918
|
+
]
|
|
5919
|
+
}
|
|
5920
|
+
},
|
|
5921
|
+
"/api/orders/:id/pending-accept/accept": {
|
|
5922
|
+
"post": {
|
|
5923
|
+
"summary": "卖家确认接单 → 开付款窗口(deadline 此刻起表;收款信息此刻起买家可见 —— orders-read 状态门放行)",
|
|
5924
|
+
"tags": [
|
|
5925
|
+
"order"
|
|
5926
|
+
],
|
|
5927
|
+
"security": [
|
|
5928
|
+
{
|
|
5929
|
+
"bearerAuth": []
|
|
5930
|
+
}
|
|
5931
|
+
]
|
|
5932
|
+
}
|
|
5933
|
+
},
|
|
5934
|
+
"/api/orders/:id/pending-accept/cancel": {
|
|
5935
|
+
"post": {
|
|
5936
|
+
"summary": "买家撤单(接单前反悔)→ 无责取消 + 回补库存",
|
|
5937
|
+
"tags": [
|
|
5938
|
+
"order"
|
|
5939
|
+
],
|
|
5940
|
+
"security": [
|
|
5941
|
+
{
|
|
5942
|
+
"bearerAuth": []
|
|
5943
|
+
}
|
|
5944
|
+
]
|
|
5945
|
+
}
|
|
5946
|
+
},
|
|
5947
|
+
"/api/orders/:id/pending-accept/confirm-quote": {
|
|
5948
|
+
"post": {
|
|
5949
|
+
"summary": "CAS:仅 pending_accept 且已报价;总额变更与状态转移同一 db.transaction(要么全生效要么全回滚)。",
|
|
5950
|
+
"tags": [
|
|
5951
|
+
"order"
|
|
5952
|
+
],
|
|
5953
|
+
"security": [
|
|
5954
|
+
{
|
|
5955
|
+
"bearerAuth": []
|
|
5956
|
+
}
|
|
5957
|
+
]
|
|
5958
|
+
}
|
|
5959
|
+
},
|
|
5960
|
+
"/api/orders/:id/pending-accept/decline": {
|
|
5961
|
+
"post": {
|
|
5962
|
+
"summary": "卖家谢绝(无法发货/物流不可达等;理由可选,买家可见)→ 无责取消 + 回补库存",
|
|
5963
|
+
"tags": [
|
|
5964
|
+
"order"
|
|
5965
|
+
],
|
|
5966
|
+
"security": [
|
|
5967
|
+
{
|
|
5968
|
+
"bearerAuth": []
|
|
5969
|
+
}
|
|
5970
|
+
]
|
|
5971
|
+
}
|
|
5972
|
+
},
|
|
5973
|
+
"/api/orders/:id/pending-accept/quote": {
|
|
5974
|
+
"post": {
|
|
5975
|
+
"summary": "可重复报价(买家确认前修正);每次报价重置响应窗(param direct_pay.quote_confirm_hours,默认 48h)。",
|
|
5976
|
+
"tags": [
|
|
5977
|
+
"order"
|
|
5978
|
+
],
|
|
5979
|
+
"security": [
|
|
5980
|
+
{
|
|
5981
|
+
"bearerAuth": []
|
|
5982
|
+
}
|
|
5983
|
+
]
|
|
5984
|
+
}
|
|
5985
|
+
},
|
|
5361
5986
|
"/api/orders/:order_id/buyer-rating": {
|
|
5362
5987
|
"get": {
|
|
5363
5988
|
"summary": "查 seller → buyer 评价(双盲遮蔽:buyer 看不到,除非自己也评过 OR 窗口到期)",
|
|
@@ -5914,6 +6539,13 @@
|
|
|
5914
6539
|
"security": []
|
|
5915
6540
|
}
|
|
5916
6541
|
},
|
|
6542
|
+
"/api/products/:id/shipping-options": {
|
|
6543
|
+
"get": {
|
|
6544
|
+
"summary": "公开读:买家下单前查配送范围。生效 = 单品覆盖 ?? 店铺默认;template=null → 不按地区计费(下单不要求选地区)。",
|
|
6545
|
+
"tags": [],
|
|
6546
|
+
"security": []
|
|
6547
|
+
}
|
|
6548
|
+
},
|
|
5917
6549
|
"/api/products/:id/status": {
|
|
5918
6550
|
"patch": {
|
|
5919
6551
|
"summary": "状态切换(active / warehouse / deleted)",
|
|
@@ -6599,6 +7231,17 @@
|
|
|
6599
7231
|
]
|
|
6600
7232
|
}
|
|
6601
7233
|
},
|
|
7234
|
+
"/api/return-requests/:id/confirm-refund": {
|
|
7235
|
+
"post": {
|
|
7236
|
+
"summary": "POST /api/return-requests/:id/confirm-refund",
|
|
7237
|
+
"tags": [],
|
|
7238
|
+
"security": [
|
|
7239
|
+
{
|
|
7240
|
+
"bearerAuth": []
|
|
7241
|
+
}
|
|
7242
|
+
]
|
|
7243
|
+
}
|
|
7244
|
+
},
|
|
6602
7245
|
"/api/return-requests/:id/decide": {
|
|
6603
7246
|
"post": {
|
|
6604
7247
|
"summary": "POST /api/return-requests/:id/decide",
|
|
@@ -6621,6 +7264,17 @@
|
|
|
6621
7264
|
]
|
|
6622
7265
|
}
|
|
6623
7266
|
},
|
|
7267
|
+
"/api/return-requests/:id/mark-refunded": {
|
|
7268
|
+
"post": {
|
|
7269
|
+
"summary": "POST /api/return-requests/:id/mark-refunded",
|
|
7270
|
+
"tags": [],
|
|
7271
|
+
"security": [
|
|
7272
|
+
{
|
|
7273
|
+
"bearerAuth": []
|
|
7274
|
+
}
|
|
7275
|
+
]
|
|
7276
|
+
}
|
|
7277
|
+
},
|
|
6624
7278
|
"/api/return-requests/:id/messages": {
|
|
6625
7279
|
"post": {
|
|
6626
7280
|
"summary": "POST /api/return-requests/:id/messages",
|
|
@@ -6855,6 +7509,17 @@
|
|
|
6855
7509
|
]
|
|
6856
7510
|
}
|
|
6857
7511
|
},
|
|
7512
|
+
"/api/seller/accept-mode": {
|
|
7513
|
+
"post": {
|
|
7514
|
+
"summary": "POST /api/seller/accept-mode",
|
|
7515
|
+
"tags": [],
|
|
7516
|
+
"security": [
|
|
7517
|
+
{
|
|
7518
|
+
"bearerAuth": []
|
|
7519
|
+
}
|
|
7520
|
+
]
|
|
7521
|
+
}
|
|
7522
|
+
},
|
|
6858
7523
|
"/api/seller/apply-quota-increase": {
|
|
6859
7524
|
"post": {
|
|
6860
7525
|
"summary": "POST /api/seller/apply-quota-increase",
|
|
@@ -6888,6 +7553,28 @@
|
|
|
6888
7553
|
]
|
|
6889
7554
|
}
|
|
6890
7555
|
},
|
|
7556
|
+
"/api/seller/shipping-settings": {
|
|
7557
|
+
"get": {
|
|
7558
|
+
"summary": "卖家读自己的店铺级设置(设置 UI 回显):接单模式 + 运费模板 + 询价开关。",
|
|
7559
|
+
"tags": [],
|
|
7560
|
+
"security": [
|
|
7561
|
+
{
|
|
7562
|
+
"bearerAuth": []
|
|
7563
|
+
}
|
|
7564
|
+
]
|
|
7565
|
+
}
|
|
7566
|
+
},
|
|
7567
|
+
"/api/seller/shipping-template": {
|
|
7568
|
+
"post": {
|
|
7569
|
+
"summary": "POST /api/seller/shipping-template",
|
|
7570
|
+
"tags": [],
|
|
7571
|
+
"security": [
|
|
7572
|
+
{
|
|
7573
|
+
"bearerAuth": []
|
|
7574
|
+
}
|
|
7575
|
+
]
|
|
7576
|
+
}
|
|
7577
|
+
},
|
|
6891
7578
|
"/api/seller/withdraw-quota-application": {
|
|
6892
7579
|
"post": {
|
|
6893
7580
|
"summary": "POST /api/seller/withdraw-quota-application",
|
|
@@ -6917,6 +7604,17 @@
|
|
|
6917
7604
|
]
|
|
6918
7605
|
}
|
|
6919
7606
|
},
|
|
7607
|
+
"/api/sellers/me/direct-pay-report": {
|
|
7608
|
+
"get": {
|
|
7609
|
+
"summary": "from/to 均可选(闭区间,按日期比较 substr(created_at,1,10));返回汇总 + 按月 + 逐单(含平台费明细)。",
|
|
7610
|
+
"tags": [],
|
|
7611
|
+
"security": [
|
|
7612
|
+
{
|
|
7613
|
+
"bearerAuth": []
|
|
7614
|
+
}
|
|
7615
|
+
]
|
|
7616
|
+
}
|
|
7617
|
+
},
|
|
6920
7618
|
"/api/sellers/me/flash-sales": {
|
|
6921
7619
|
"get": {
|
|
6922
7620
|
"summary": "seller 自己的 flash sales(全部状态)",
|