taiwan-logistics-skill 1.4.0 → 1.4.1

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.
@@ -30,3 +30,22 @@ hct_upddata,HCT 修改重量,,,,POST,"esdate,epino,eqmny",,HCT UpdData
30
30
  hct_transreport,HCT 列印託運總表,,,,POST,"esdate,epino[]",,HCT TransReport (18:00 前 must call)
31
31
  hct_query_edelno,HCT 查詢貨號,,,,POST,"esdate,epino",,HCT QueryEDELNO
32
32
  hct_r_transdata,HCT 逆物流託運,,,,POST,"esdate,epino,...",,HCT R_TransData (JSON-only)
33
+ ez_map,ezShip 電子地圖選店,,,,GET/POST,"suID,processID,rtURL",webPara,https://map.ezship.com.tw/ezship_map_web.jsp 參數為 camelCase 與其餘兩支的 snake_case 不同;官方禁止嵌入 iframe
34
+ ez_order_create,ezShip 建立訂單,,,,POST,"su_id,order_id,order_status,order_type,order_amount,rv_name,rv_mobile,rtn_url",",rv_email,st_code,rv_addr,rv_zip,web_para",https://www.ezship.com.tw/emap/ezship_request_order_api_ex.jsp 舊端點無_ex者已於2017年底停用;回傳 sn_id 八個零代表建單失敗
35
+ ez_status_by_sn,ezShip 依店到店編號查貨況,,,,POST,"su_id,order_no,rtn_url",web_para,https://www.ezship.com.tw/emap/ezship_request_order_status_api.jsp 查詢須間隔3秒以上否則中斷串接權利
36
+ ez_status_by_order,ezShip 依訂單編號查貨況,,,,POST,"su_id,order_no,rtn_url",web_para,https://www.ezship.com.tw/emap/ezship_request_order_status_api_byorder.jsp 不適用簡易版串接的訂單
37
+ llm_quotation,Lalamove 報價,,,,POST,"serviceType,stops,language",scheduleAt,/v3/quotations 報價效期5分鐘;須先報價才能下單
38
+ llm_place_order,Lalamove 下單,,,,POST,"quotationId,sender,recipients",isPODEnabled,/v3/orders 以報價 ID 下單
39
+ llm_order_detail,Lalamove 查詢訂單,,,,GET,orderId,,/v3/orders/{id}
40
+ llm_order_edit,Lalamove 修改訂單,,,,PATCH,orderId,,/v3/orders/{id}
41
+ llm_cancel,Lalamove 取消訂單,,,,DELETE,orderId,,/v3/orders/{id} 司機接單後取消多半收費
42
+ llm_driver,Lalamove 查詢司機,,,,GET,"orderId,driverId",,/v3/orders/{id}/drivers/{driverId} 可取得司機資訊與座標
43
+ llm_change_driver,Lalamove 更換司機,,,,DELETE,"orderId,driverId",,/v3/orders/{id}/drivers/{driverId}
44
+ llm_priority,Lalamove 加價優先,,,,POST,orderId,priorityFee,/v3/orders/{id}/priority
45
+ llm_cities,Lalamove 查詢服務城市,,,,GET,,,/v3/cities
46
+ pdg_order_create,pandago 建立訂單,,,,POST,"client_order_id,sender,recipient,payment_method",description,/orders 台灣正式端點 https://pandago-api-apse.deliveryhero.io/tw
47
+ pdg_order_get,pandago 查詢訂單,,,,GET,order_id,,/orders/{order_id}
48
+ pdg_order_cancel,pandago 取消訂單,,,,DELETE,order_id,reason,/orders/{order_id}
49
+ pdg_fee,pandago 費用估算,,,,POST,"sender,recipient",,/orders/fee 與時間估算為兩支獨立端點
50
+ pdg_time,pandago 時間估算,,,,POST,"sender,recipient",,/orders/time
51
+ pdg_coordinates,pandago 司機座標,,,,GET,order_id,,/orders/{order_id}/coordinates
@@ -38,8 +38,9 @@ CSV_CONFIG = {
38
38
  },
39
39
  'operation': {
40
40
  'file': 'operations.csv',
41
- 'search_cols': ['operation', 'operation_zh', 'ecpay_endpoint', 'required_fields', 'notes'],
42
- 'output_cols': ['operation', 'operation_zh', 'ecpay_endpoint', 'method', 'required_fields', 'optional_fields', 'notes']
41
+ # 逐一列出所有 provider 端點欄位,與 field 域同理
42
+ 'search_cols': ['operation', 'operation_zh', 'ecpay_endpoint', 'newebpay_endpoint', 'payuni_endpoint', 'notes'],
43
+ 'output_cols': ['operation', 'operation_zh', 'ecpay_endpoint', 'newebpay_endpoint', 'payuni_endpoint', 'method', 'required_fields', 'optional_fields', 'notes']
43
44
  },
44
45
  'logistics_type': {
45
46
  'file': 'logistics-types.csv',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taiwan-logistics-skill",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "AI-powered Taiwan Logistics toolkit. Supports 7 providers: 6 aggregators (ECPay, NewebPay, PAYUNi, SmilePay, PChomePay, PayNow) plus HCT 新竹物流 direct carrier API.",
5
5
  "bin": {
6
6
  "taiwan-logistics": "./dist/index.js"