@be-link/pos-cli-nodejs 1.0.8 → 1.0.10

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.
Files changed (234) hide show
  1. package/package.json +1 -1
  2. package/{dist/pos → pos}/modules/orderQuery/types.d.ts +1 -1
  3. package/{dist/types.d.ts → types.d.ts} +2 -0
  4. package/.github/workflows/JMeter.yml +0 -92
  5. package/.husky/commit-msg +0 -4
  6. package/.versionrc +0 -22
  7. package/CHANGELOG.md +0 -549
  8. package/Makefile +0 -4
  9. package/ceshi.jmx +0 -326
  10. package/ci/index.ts +0 -73
  11. package/commitlint.config.js +0 -3
  12. package/dist/README.md +0 -40
  13. package/dist/package.json +0 -53
  14. package/docs/.nojekyll +0 -1
  15. package/docs/assets/highlight.css +0 -71
  16. package/docs/assets/main.js +0 -59
  17. package/docs/assets/navigation.js +0 -1
  18. package/docs/assets/search.js +0 -1
  19. package/docs/assets/style.css +0 -1383
  20. package/docs/classes/_internal_.OrderCoreService.html +0 -351
  21. package/docs/classes/_internal_.OrderFulfillService.html +0 -489
  22. package/docs/classes/_internal_.OrderJobService.html +0 -229
  23. package/docs/classes/_internal_.OrderNoteService.html +0 -177
  24. package/docs/classes/_internal_.QueryByCommodityService.html +0 -311
  25. package/docs/classes/_internal_.QueryByStoreService.html +0 -133
  26. package/docs/classes/_internal_.QueryByUserService.html +0 -283
  27. package/docs/classes/_internal_.QueryByWebService.html +0 -133
  28. package/docs/classes/_internal_.default.html +0 -82
  29. package/docs/enums/_internal_.Constants.ApplicablePeopleEnum.html +0 -90
  30. package/docs/enums/_internal_.Constants.ItineraryTypeEnum.html +0 -82
  31. package/docs/enums/_internal_.Constants.ModifyOperatorRoleEnum.html +0 -114
  32. package/docs/enums/_internal_.Constants.NoteStatusEnum.html +0 -82
  33. package/docs/enums/_internal_.Constants.NoteTypeEnum.html +0 -106
  34. package/docs/enums/_internal_.Constants.OperatorRoleEnum.html +0 -114
  35. package/docs/enums/_internal_.Constants.PayToolEnum.html +0 -82
  36. package/docs/enums/_internal_.Constants.PaymentTypeEnum.html +0 -98
  37. package/docs/enums/_internal_.Constants.PromotionTypeEnum.html +0 -82
  38. package/docs/enums/_internal_.Constants.PurchaseSkuStatusEnum.html +0 -82
  39. package/docs/enums/_internal_.Constants.ShuttleTypeEnum.html +0 -82
  40. package/docs/enums/_internal_.Constants.TradeOperatorRoleEnum.html +0 -98
  41. package/docs/enums/_internal_.Constants.TradeOrderStatusEnum.html +0 -146
  42. package/docs/enums/_internal_.Constants.TransportationTypeEnum.html +0 -114
  43. package/docs/enums/_internal_.QueryDataBlock.html +0 -121
  44. package/docs/index.html +0 -68
  45. package/docs/interfaces/_internal_.Content.html +0 -81
  46. package/docs/interfaces/_internal_.CostInclusionJson.html +0 -81
  47. package/docs/interfaces/_internal_.CouponSnapShotInfo.html +0 -133
  48. package/docs/interfaces/_internal_.CreditInfo.html +0 -73
  49. package/docs/interfaces/_internal_.IPositiveAttributes.html +0 -161
  50. package/docs/interfaces/_internal_.IPositiveChangeSkuRecord.html +0 -145
  51. package/docs/interfaces/_internal_.IPositiveItemInfo.html +0 -413
  52. package/docs/interfaces/_internal_.IPositiveOrder.html +0 -263
  53. package/docs/interfaces/_internal_.IPositivePaymentInfo.html +0 -153
  54. package/docs/interfaces/_internal_.IPositivePromotionInfo.html +0 -129
  55. package/docs/interfaces/_internal_.IPositiveSkuInfo.html +0 -332
  56. package/docs/interfaces/_internal_.IWxPaymentInfo.html +0 -95
  57. package/docs/interfaces/_internal_.ItinerarySchedule.html +0 -89
  58. package/docs/interfaces/_internal_.OrderCoreController.html +0 -321
  59. package/docs/interfaces/_internal_.OrderJobController.html +0 -201
  60. package/docs/interfaces/_internal_.OrderNoteController.html +0 -156
  61. package/docs/interfaces/_internal_.ProductDetail.html +0 -81
  62. package/docs/interfaces/_internal_.PurchasingInstruction.html +0 -81
  63. package/docs/interfaces/_internal_.QueryByCommodityController.html +0 -284
  64. package/docs/interfaces/_internal_.QueryByStoreController.html +0 -115
  65. package/docs/interfaces/_internal_.QueryByUserController.html +0 -258
  66. package/docs/interfaces/_internal_.QueryByWebController.html +0 -115
  67. package/docs/interfaces/_internal_.QueryDataBlockTypeMap.html +0 -125
  68. package/docs/interfaces/_internal_.SubContent.html +0 -81
  69. package/docs/interfaces/_internal_.addShuttleInfo.html +0 -129
  70. package/docs/interfaces/_internal_.aiBuildNoteInfo.html +0 -73
  71. package/docs/interfaces/_internal_.batchUpsertItineraryInfo.html +0 -202
  72. package/docs/interfaces/_internal_.bindTouristToOrder.html +0 -97
  73. package/docs/interfaces/_internal_.calculateUserConsumeInfo.html +0 -89
  74. package/docs/interfaces/_internal_.changeNoteStatus.html +0 -97
  75. package/docs/interfaces/_internal_.changeOrderContactInfo.html +0 -97
  76. package/docs/interfaces/_internal_.changeOrderSku.html +0 -105
  77. package/docs/interfaces/_internal_.confirmMealInfo.html +0 -81
  78. package/docs/interfaces/_internal_.createNote.html +0 -105
  79. package/docs/interfaces/_internal_.createScheduleNotice.html +0 -89
  80. package/docs/interfaces/_internal_.getItineraryCount.html +0 -73
  81. package/docs/interfaces/_internal_.getOrderById.html +0 -86
  82. package/docs/interfaces/_internal_.getOrderCount.html +0 -193
  83. package/docs/interfaces/_internal_.getPartyOrderCount.html +0 -97
  84. package/docs/interfaces/_internal_.getStoreOrderCount.html +0 -121
  85. package/docs/interfaces/_internal_.getTourismInfoByOrderId-1.html +0 -229
  86. package/docs/interfaces/_internal_.getTourismInfoByOrderId.html +0 -73
  87. package/docs/interfaces/_internal_.getUserOrderCount.html +0 -97
  88. package/docs/interfaces/_internal_.importPreCheck.html +0 -112
  89. package/docs/interfaces/_internal_.isOrderCanAddTourists.html +0 -73
  90. package/docs/interfaces/_internal_.markItineraryRead.html +0 -81
  91. package/docs/interfaces/_internal_.markOrderPurchaseInsurance.html +0 -73
  92. package/docs/interfaces/_internal_.markServiceNoticeAuth.html +0 -73
  93. package/docs/interfaces/_internal_.markServiceNoticeRead.html +0 -81
  94. package/docs/interfaces/_internal_.mgetUserOrderCountList-1.html +0 -54
  95. package/docs/interfaces/_internal_.mgetUserOrderCountList.html +0 -81
  96. package/docs/interfaces/_internal_.modifyOrderMealInfo.html +0 -81
  97. package/docs/interfaces/_internal_.multiSendSmsToTourist.html +0 -81
  98. package/docs/interfaces/_internal_.multiSendVoiceToTourist.html +0 -81
  99. package/docs/interfaces/_internal_.orderCreate-1.html +0 -122
  100. package/docs/interfaces/_internal_.orderCreate.html +0 -208
  101. package/docs/interfaces/_internal_.orderFulfillController.html +0 -452
  102. package/docs/interfaces/_internal_.orderPaid.html +0 -97
  103. package/docs/interfaces/_internal_.orderSettled.html +0 -89
  104. package/docs/interfaces/_internal_.platformReject.html +0 -97
  105. package/docs/interfaces/_internal_.preCheckTourists.html +0 -89
  106. package/docs/interfaces/_internal_.queryItineraryInfoByOrderIdList-1.html +0 -54
  107. package/docs/interfaces/_internal_.queryItineraryInfoByOrderIdList.html +0 -65
  108. package/docs/interfaces/_internal_.queryItineraryList-1.html +0 -81
  109. package/docs/interfaces/_internal_.queryItineraryList.html +0 -89
  110. package/docs/interfaces/_internal_.queryNoteByOrderIdList.html +0 -73
  111. package/docs/interfaces/_internal_.queryOrder.html +0 -102
  112. package/docs/interfaces/_internal_.queryOrderByIdList.html +0 -86
  113. package/docs/interfaces/_internal_.queryOrderBySkuIdList.html +0 -94
  114. package/docs/interfaces/_internal_.queryOrderChangeSkuRecords.html +0 -73
  115. package/docs/interfaces/_internal_.queryOrderList.html +0 -210
  116. package/docs/interfaces/_internal_.queryOrderMergeRecordByOrderId-1.html +0 -123
  117. package/docs/interfaces/_internal_.queryOrderMergeRecordByOrderId.html +0 -73
  118. package/docs/interfaces/_internal_.queryPartyOrderInfo-1.html +0 -81
  119. package/docs/interfaces/_internal_.queryPartyOrderInfo.html +0 -113
  120. package/docs/interfaces/_internal_.queryPeriodTradeOrderList-1.html +0 -89
  121. package/docs/interfaces/_internal_.queryPeriodTradeOrderList.html +0 -51
  122. package/docs/interfaces/_internal_.queryPeriodTradeOrderOperatorList-1.html +0 -137
  123. package/docs/interfaces/_internal_.queryPeriodTradeOrderOperatorList.html +0 -89
  124. package/docs/interfaces/_internal_.queryRollingSalesStatistics-1.html +0 -113
  125. package/docs/interfaces/_internal_.queryRollingSalesStatistics.html +0 -129
  126. package/docs/interfaces/_internal_.querySaleItem-1.html +0 -81
  127. package/docs/interfaces/_internal_.querySaleItem.html +0 -105
  128. package/docs/interfaces/_internal_.queryShuttleInfoByOrderId-1.html +0 -169
  129. package/docs/interfaces/_internal_.queryShuttleInfoByOrderId.html +0 -73
  130. package/docs/interfaces/_internal_.queryStoreOrderList.html +0 -165
  131. package/docs/interfaces/_internal_.querySubOrderListByRootOrderId.html +0 -94
  132. package/docs/interfaces/_internal_.queryTopSaleItem-1.html +0 -81
  133. package/docs/interfaces/_internal_.queryTopSaleItem.html +0 -97
  134. package/docs/interfaces/_internal_.queryTourismInfoInOrderIdList.html +0 -73
  135. package/docs/interfaces/_internal_.queryUnionIdListByTimeRange.html +0 -89
  136. package/docs/interfaces/_internal_.queryUserOrder.html +0 -153
  137. package/docs/interfaces/_internal_.sendOrderPaidNotification.html +0 -73
  138. package/docs/interfaces/_internal_.submittedToSupplier.html +0 -89
  139. package/docs/interfaces/_internal_.supplierConfirmed.html +0 -89
  140. package/docs/interfaces/_internal_.supplierRejected.html +0 -97
  141. package/docs/interfaces/_internal_.thirdOrderInfoConfirmed.html +0 -105
  142. package/docs/interfaces/_internal_.updateShuttleInfo.html +0 -129
  143. package/docs/interfaces/_internal_.updateTradeOrderRoomCount.html +0 -94
  144. package/docs/interfaces/_internal_.updateTradeOrderTouristsInfo.html +0 -139
  145. package/docs/modules/_internal_.Constants.html +0 -71
  146. package/docs/modules/_internal_.html +0 -180
  147. package/docs/modules.html +0 -62
  148. package/docs/types/_internal_.QueryDataRes.html +0 -56
  149. package/docs/types/_internal_.Record.html +0 -58
  150. package/docs/types/_internal_.importPreCheck-1.html +0 -66
  151. package/docs/types/_internal_.queryNoteByOrderIdList-1.html +0 -106
  152. package/docs/types/_internal_.queryTourismInfoInOrderIdList-1.html +0 -48
  153. package/docs/variables/PosConstants.html +0 -50
  154. package/docs/variables/orderCoreService.html +0 -47
  155. package/docs/variables/orderFulfillService.html +0 -47
  156. package/docs/variables/orderJobService.html +0 -47
  157. package/docs/variables/orderNoteService.html +0 -47
  158. package/docs/variables/queryByCommodityService.html +0 -47
  159. package/docs/variables/queryByStoreService.html +0 -47
  160. package/docs/variables/queryByUserService.html +0 -47
  161. package/docs/variables/queryByWebService.html +0 -47
  162. package/jest.config.js +0 -194
  163. package/src/errors/BizError.ts +0 -10
  164. package/src/errors/SystemError.ts +0 -10
  165. package/src/index.ts +0 -33
  166. package/src/pos/http.ts +0 -62
  167. package/src/pos/modules/dataMigrate/service.ts +0 -18
  168. package/src/pos/modules/dataMigrate/types.ts +0 -11
  169. package/src/pos/modules/orderCore/service.ts +0 -55
  170. package/src/pos/modules/orderCore/types.ts +0 -320
  171. package/src/pos/modules/orderFulfill/service.ts +0 -117
  172. package/src/pos/modules/orderFulfill/types.ts +0 -511
  173. package/src/pos/modules/orderJob/service.ts +0 -72
  174. package/src/pos/modules/orderJob/types.ts +0 -42
  175. package/src/pos/modules/orderNote/service.ts +0 -29
  176. package/src/pos/modules/orderNote/types.ts +0 -76
  177. package/src/pos/modules/orderQuery/commodity.ts +0 -59
  178. package/src/pos/modules/orderQuery/store.ts +0 -24
  179. package/src/pos/modules/orderQuery/supplier.ts +0 -34
  180. package/src/pos/modules/orderQuery/types.ts +0 -1124
  181. package/src/pos/modules/orderQuery/user.ts +0 -83
  182. package/src/pos/modules/orderQuery/web.ts +0 -26
  183. package/src/pos/modules/service.ts +0 -31
  184. package/src/types.ts +0 -1072
  185. package/src/utils/env.ts +0 -14
  186. package/src/utils/string.ts +0 -6
  187. package/tsconfig.json +0 -114
  188. package/typedoc.json +0 -15
  189. /package/{dist/errors → errors}/BizError.d.ts +0 -0
  190. /package/{dist/errors → errors}/BizError.js +0 -0
  191. /package/{dist/errors → errors}/SystemError.d.ts +0 -0
  192. /package/{dist/errors → errors}/SystemError.js +0 -0
  193. /package/{dist/index.d.ts → index.d.ts} +0 -0
  194. /package/{dist/index.js → index.js} +0 -0
  195. /package/{dist/pos → pos}/http.d.ts +0 -0
  196. /package/{dist/pos → pos}/http.js +0 -0
  197. /package/{dist/pos → pos}/modules/dataMigrate/service.d.ts +0 -0
  198. /package/{dist/pos → pos}/modules/dataMigrate/service.js +0 -0
  199. /package/{dist/pos → pos}/modules/dataMigrate/types.d.ts +0 -0
  200. /package/{dist/pos → pos}/modules/dataMigrate/types.js +0 -0
  201. /package/{dist/pos → pos}/modules/orderCore/service.d.ts +0 -0
  202. /package/{dist/pos → pos}/modules/orderCore/service.js +0 -0
  203. /package/{dist/pos → pos}/modules/orderCore/types.d.ts +0 -0
  204. /package/{dist/pos → pos}/modules/orderCore/types.js +0 -0
  205. /package/{dist/pos → pos}/modules/orderFulfill/service.d.ts +0 -0
  206. /package/{dist/pos → pos}/modules/orderFulfill/service.js +0 -0
  207. /package/{dist/pos → pos}/modules/orderFulfill/types.d.ts +0 -0
  208. /package/{dist/pos → pos}/modules/orderFulfill/types.js +0 -0
  209. /package/{dist/pos → pos}/modules/orderJob/service.d.ts +0 -0
  210. /package/{dist/pos → pos}/modules/orderJob/service.js +0 -0
  211. /package/{dist/pos → pos}/modules/orderJob/types.d.ts +0 -0
  212. /package/{dist/pos → pos}/modules/orderJob/types.js +0 -0
  213. /package/{dist/pos → pos}/modules/orderNote/service.d.ts +0 -0
  214. /package/{dist/pos → pos}/modules/orderNote/service.js +0 -0
  215. /package/{dist/pos → pos}/modules/orderNote/types.d.ts +0 -0
  216. /package/{dist/pos → pos}/modules/orderNote/types.js +0 -0
  217. /package/{dist/pos → pos}/modules/orderQuery/commodity.d.ts +0 -0
  218. /package/{dist/pos → pos}/modules/orderQuery/commodity.js +0 -0
  219. /package/{dist/pos → pos}/modules/orderQuery/store.d.ts +0 -0
  220. /package/{dist/pos → pos}/modules/orderQuery/store.js +0 -0
  221. /package/{dist/pos → pos}/modules/orderQuery/supplier.d.ts +0 -0
  222. /package/{dist/pos → pos}/modules/orderQuery/supplier.js +0 -0
  223. /package/{dist/pos → pos}/modules/orderQuery/types.js +0 -0
  224. /package/{dist/pos → pos}/modules/orderQuery/user.d.ts +0 -0
  225. /package/{dist/pos → pos}/modules/orderQuery/user.js +0 -0
  226. /package/{dist/pos → pos}/modules/orderQuery/web.d.ts +0 -0
  227. /package/{dist/pos → pos}/modules/orderQuery/web.js +0 -0
  228. /package/{dist/pos → pos}/modules/service.d.ts +0 -0
  229. /package/{dist/pos → pos}/modules/service.js +0 -0
  230. /package/{dist/types.js → types.js} +0 -0
  231. /package/{dist/utils → utils}/env.d.ts +0 -0
  232. /package/{dist/utils → utils}/env.js +0 -0
  233. /package/{dist/utils → utils}/string.d.ts +0 -0
  234. /package/{dist/utils → utils}/string.js +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/pos-cli-nodejs",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "description": "正向订单服务Nodejs客户端",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -34,7 +34,7 @@ export declare namespace Service {
34
34
  page?: number;
35
35
  limit?: number;
36
36
  itemIds?: string[];
37
- tradeOrderIds?: string[];
37
+ tradeOrderId?: string;
38
38
  categoryTwoList?: string[];
39
39
  /**排序 */
40
40
  sort?: {
@@ -260,6 +260,8 @@ export interface IPositiveItemInfo {
260
260
  settlementPrice: number;
261
261
  };
262
262
  };
263
+ /** 共比邻负责人 */
264
+ belinkOwner?: string;
263
265
  /** 创建时间 */
264
266
  createdAt: number;
265
267
  /** 更新时间 */
@@ -1,92 +0,0 @@
1
- # This is a workflow to help you run all JMeter scripts with Actions
2
-
3
- name: jmeter
4
-
5
- # Controls when the workflow will run
6
- on:
7
- # Triggers the workflow on push or pull request events but only for the main branch
8
- push:
9
- branches: [master, feature-jm]
10
-
11
- # Allows you to run this workflow manually from the Actions tab
12
- workflow_dispatch:
13
-
14
- # A workflow run is made up of one or more jobs that can run sequentially or in parallel
15
- jobs:
16
- # This workflow contains a single job called "build"
17
- build:
18
- # The type of runner that the job will run on
19
- runs-on: ubuntu-latest
20
- permissions:
21
- contents: read
22
- packages: write
23
-
24
- # Steps represent a sequence of tasks that will be executed as part of the job
25
- steps:
26
- # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
27
- - uses: actions/checkout@v2
28
- - name: Install zip
29
- run: |
30
- sudo apt-get install zip
31
-
32
- - name: where are the files?
33
- run: |
34
- pwd
35
- ls
36
-
37
- - name: Create reports directory
38
- run: |
39
- mkdir reports
40
-
41
- - name: JMeter Test
42
- uses: QAInsights/PerfAction@v5.6.2
43
- with:
44
- test-plan-path: ceshi.jmx
45
- args: "-e -o ./reports/html/"
46
-
47
- - name: Upload Results
48
- uses: actions/upload-artifact@v3
49
- with:
50
- name: jmeter-results
51
- path: result.jtl
52
- if-no-files-found: error
53
-
54
- - name: Upload HTML Reports
55
- uses: actions/upload-artifact@v3
56
- with:
57
- name: jmeter-html-reports
58
- path: reports
59
- if-no-files-found: error
60
-
61
- - name: Download Artifact
62
- uses: actions/download-artifact@v3
63
- with:
64
- name: jmeter-html-reports
65
- path: ./download
66
-
67
- - name: Create ZIP
68
- run: |
69
- cd ./download/
70
- pwd
71
- ls
72
- zip -r jmeter-html-reports.zip html
73
- chmod 777 jmeter-html-reports.zip
74
-
75
- - name: Upload ZIP Artifact
76
- uses: actions/upload-artifact@v3
77
- with:
78
- name: jmeter-html-reports.zip
79
- path: ./download/jmeter-html-reports.zip
80
-
81
- - name: Send email with test report
82
- uses: dawidd6/action-send-mail@v2
83
- with:
84
- server_address: smtp.qq.com
85
- server_port: 465
86
- username: 3373930160@qq.com
87
- password: yrwajecvfrgidahh
88
- subject: JMeter Test Report,zip版本
89
- body: Please find attached the JMeter test report.
90
- to: 3373930160@qq.com,duduzi0520@gmail.com
91
- from: 3373930160@qq.com
92
- attachments: ./download/jmeter-html-reports.zip
package/.husky/commit-msg DELETED
@@ -1,4 +0,0 @@
1
- #!/usr/bin/env sh
2
- . "$(dirname -- "$0")/_/husky.sh"
3
-
4
- npx --no -- commitlint --edit "$1"
package/.versionrc DELETED
@@ -1,22 +0,0 @@
1
- {
2
- "header":"# 更新日志 \n\n",
3
- "types": [
4
- {"type": "feat", "section": "✨ Features | 新功能"},
5
- {"type": "fix", "section": "🐛 Bug Fixes | Bug 修复"},
6
- {"type": "perf", "section":"⚡ Performance Improvements | 性能优化"},
7
- {"type": "revert", "section":"⏪ Reverts | 回退"},
8
- {"type": "chore", "section":"📦 Chores | 其他更新"},
9
- {"type": "docs", "section":"📝 Documentation | 文档"},
10
- {"type": "style", "section":"💄 Styles | 风格", "hidden": true},
11
- {"type": "refactor", "section":"♻ Code Refactoring | 代码重构"},
12
- {"type": "test", "section":"✅ Tests | 测试"},
13
- {"type": "build", "section":"👷‍ Build System | 构建"},
14
- {"type": "ci", "section":"🔧 Continuous Integration | CI 配置"}
15
- ],
16
- "skip": {
17
- "bump": false,
18
- "changelog": false,
19
- "commit": false,
20
- "tag": false
21
- }
22
- }