From ba5d4fcb356caa083465a982294f54a5235edf1f Mon Sep 17 00:00:00 2001 From: danial Date: Thu, 20 Nov 2025 12:45:28 +0800 Subject: [PATCH] =?UTF-8?q?feat(api):=20=E6=96=B0=E5=A2=9Ejd-v2=E8=B4=A6?= =?UTF-8?q?=E5=8F=B7=E7=AE=A1=E7=90=86=E7=9B=B8=E5=85=B3API=E5=8F=8AAES?= =?UTF-8?q?=E5=8A=A0=E5=AF=86=E5=8F=82=E6=95=B0=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增 `apiAesEncryptionParamsGet` 用于获取AES加密参数(密钥和初始化向量) - 新增jd-v2账号管理API,包括账号状态检测、历史记录、账号列表和统计信息接口 - 更新API生成文件,支持camelOil账号和订单管理相关类型与接口 - 配置文件中添加了Bash mkdir命令的lint任务 - 文档中新增Git hooks相关说明及API客户端新增camelOil相关客户段说明 - ESLint配置更新为现代flat config,支持TypeScript和Vue3 Composition API - 规范了开发和生产环境的API基础URL配置说明 --- .claude/settings.local.json | 3 +- CLAUDE.md | 20 +- src/api/generated/.openapi-generator/FILES | 71 + src/api/generated/api.ts | 2 + src/api/generated/apis/default-api.ts | 105 ++ src/api/generated/apis/jdv2-account-api.ts | 754 ++++++++++ src/api/generated/apis/jdv2-order-api.ts | 1208 +++++++++++++++++ src/api/generated/docs/DefaultApi.md | 41 + src/api/generated/docs/JDV2AccountApi.md | 212 +++ src/api/generated/docs/JDV2OrderApi.md | 336 +++++ .../KamiApiCamelOilV1AccountHistoryItem.md | 35 + .../KamiApiCamelOilV1AccountHistoryReq.md | 23 + .../KamiApiCamelOilV1AccountHistoryRes.md | 21 + .../docs/KamiApiCamelOilV1AccountListItem.md | 49 + .../KamiApiCamelOilV1AccountOrderListReq.md | 29 + .../KamiApiCamelOilV1AccountOrderListRes.md | 21 + ...amelOilV1AccountOrderListResAccountInfo.md | 27 + ...CamelOilV1AccountOrderListResOrderStats.md | 25 + .../KamiApiCamelOilV1AccountStatisticsReq.md | 19 + .../KamiApiCamelOilV1AccountStatisticsRes.md | 25 + ...melOilV1AccountStatisticsResAccountInfo.md | 33 + ...amelOilV1AccountStatisticsResOrderStats.md | 29 + ...lV1AccountStatisticsResRecentTrendInner.md | 21 + ...CamelOilV1AccountStatisticsResUsageInfo.md | 23 + .../docs/KamiApiCamelOilV1CheckAccountReq.md | 19 + .../docs/KamiApiCamelOilV1CheckAccountRes.md | 25 + .../docs/KamiApiCamelOilV1ListAccountReq.md | 25 + .../docs/KamiApiCamelOilV1ListAccountRes.md | 21 + .../docs/KamiApiCamelOilV1ListOrderReq.md | 33 + .../docs/KamiApiCamelOilV1ListOrderRes.md | 21 + .../docs/KamiApiCamelOilV1OrderCallbackReq.md | 19 + .../docs/KamiApiCamelOilV1OrderCallbackRes.md | 21 + .../docs/KamiApiCamelOilV1OrderDetailReq.md | 19 + .../docs/KamiApiCamelOilV1OrderDetailRes.md | 21 + ...iApiCamelOilV1OrderDetailResAccountInfo.md | 29 + ...amiApiCamelOilV1OrderDetailResOrderInfo.md | 55 + .../docs/KamiApiCamelOilV1OrderHistoryItem.md | 35 + .../docs/KamiApiCamelOilV1OrderHistoryReq.md | 23 + .../docs/KamiApiCamelOilV1OrderHistoryRes.md | 21 + .../docs/KamiApiCamelOilV1OrderListItem.md | 53 + .../docs/KamiApiCamelOilV1SubmitOrderReq.md | 23 + .../docs/KamiApiCamelOilV1SubmitOrderRes.md | 25 + .../docs/KamiApiJdCookieV1BatchCheckReq.md | 19 - .../docs/KamiApiJdCookieV1BatchCheckRes.md | 19 - .../docs/KamiApiJdCookieV1BatchValidateReq.md | 19 - .../docs/KamiApiJdCookieV1BatchValidateRes.md | 25 - ...KamiApiJdCookieV1CheckJdOrderPaymentReq.md | 19 - ...KamiApiJdCookieV1CheckJdOrderPaymentRes.md | 27 - .../KamiApiJdCookieV1CookieCheckResult.md | 23 - ...iRestrictionV1GetAESEncryptionParamsRes.md | 21 + src/api/generated/models/index.ts | 33 + ...i-api-camel-oil-v1-account-history-item.ts | 80 ++ ...mi-api-camel-oil-v1-account-history-req.ts | 37 + ...i-api-camel-oil-v1-account-history-res.ts} | 10 +- ...kami-api-camel-oil-v1-account-list-item.ts | 88 ++ ...api-camel-oil-v1-account-order-list-req.ts | 61 + ...-v1-account-order-list-res-account-info.ts | 44 + ...l-v1-account-order-list-res-order-stats.ts | 32 + ...api-camel-oil-v1-account-order-list-res.ts | 25 + ...pi-camel-oil-v1-account-statistics-req.ts} | 6 +- ...-v1-account-statistics-res-account-info.ts | 56 + ...l-v1-account-statistics-res-order-stats.ts | 40 + ...count-statistics-res-recent-trend-inner.ts | 24 + ...il-v1-account-statistics-res-usage-info.ts | 28 + ...api-camel-oil-v1-account-statistics-res.ts | 36 + ...ami-api-camel-oil-v1-check-account-req.ts} | 6 +- ...ami-api-camel-oil-v1-check-account-res.ts} | 21 +- .../kami-api-camel-oil-v1-list-account-req.ts | 48 + ...kami-api-camel-oil-v1-list-account-res.ts} | 10 +- .../kami-api-camel-oil-v1-list-order-req.ts | 69 + .../kami-api-camel-oil-v1-list-order-res.ts | 22 + ...ami-api-camel-oil-v1-order-callback-req.ts | 20 + ...ami-api-camel-oil-v1-order-callback-res.ts | 24 + .../kami-api-camel-oil-v1-order-detail-req.ts | 20 + ...el-oil-v1-order-detail-res-account-info.ts | 48 + ...amel-oil-v1-order-detail-res-order-info.ts | 110 ++ .../kami-api-camel-oil-v1-order-detail-res.ts | 25 + ...ami-api-camel-oil-v1-order-history-item.ts | 64 + ...kami-api-camel-oil-v1-order-history-req.ts | 37 + ...kami-api-camel-oil-v1-order-history-res.ts | 22 + .../kami-api-camel-oil-v1-order-list-item.ts | 106 ++ .../kami-api-camel-oil-v1-submit-order-req.ts | 28 + .../kami-api-camel-oil-v1-submit-order-res.ts | 32 + ...ami-api-jd-cookie-v1-batch-validate-res.ts | 36 - ...jd-cookie-v1-check-jd-order-payment-res.ts | 45 - ...riction-v1-get-aesencryption-params-res.ts | 24 + src/api/index.ts | 15 +- src/router/routes/modules/camel-oil.ts | 44 + .../account/components/account-orders.vue | 257 ++++ .../account/components/detail.vue | 238 ++++ .../account/components/history.vue | 415 ++++++ .../account/components/order-detail-modal.vue | 135 ++ src/views/camel-oil-info/account/index.vue | 443 ++++++ .../order/components/order-detail-modal.vue | 252 ++++ .../order/components/order-history-modal.vue | 274 ++++ src/views/camel-oil-info/order/index.vue | 522 +++++++ 96 files changed, 7541 insertions(+), 263 deletions(-) create mode 100644 src/api/generated/apis/jdv2-account-api.ts create mode 100644 src/api/generated/apis/jdv2-order-api.ts create mode 100644 src/api/generated/docs/JDV2AccountApi.md create mode 100644 src/api/generated/docs/JDV2OrderApi.md create mode 100644 src/api/generated/docs/KamiApiCamelOilV1AccountHistoryItem.md create mode 100644 src/api/generated/docs/KamiApiCamelOilV1AccountHistoryReq.md create mode 100644 src/api/generated/docs/KamiApiCamelOilV1AccountHistoryRes.md create mode 100644 src/api/generated/docs/KamiApiCamelOilV1AccountListItem.md create mode 100644 src/api/generated/docs/KamiApiCamelOilV1AccountOrderListReq.md create mode 100644 src/api/generated/docs/KamiApiCamelOilV1AccountOrderListRes.md create mode 100644 src/api/generated/docs/KamiApiCamelOilV1AccountOrderListResAccountInfo.md create mode 100644 src/api/generated/docs/KamiApiCamelOilV1AccountOrderListResOrderStats.md create mode 100644 src/api/generated/docs/KamiApiCamelOilV1AccountStatisticsReq.md create mode 100644 src/api/generated/docs/KamiApiCamelOilV1AccountStatisticsRes.md create mode 100644 src/api/generated/docs/KamiApiCamelOilV1AccountStatisticsResAccountInfo.md create mode 100644 src/api/generated/docs/KamiApiCamelOilV1AccountStatisticsResOrderStats.md create mode 100644 src/api/generated/docs/KamiApiCamelOilV1AccountStatisticsResRecentTrendInner.md create mode 100644 src/api/generated/docs/KamiApiCamelOilV1AccountStatisticsResUsageInfo.md create mode 100644 src/api/generated/docs/KamiApiCamelOilV1CheckAccountReq.md create mode 100644 src/api/generated/docs/KamiApiCamelOilV1CheckAccountRes.md create mode 100644 src/api/generated/docs/KamiApiCamelOilV1ListAccountReq.md create mode 100644 src/api/generated/docs/KamiApiCamelOilV1ListAccountRes.md create mode 100644 src/api/generated/docs/KamiApiCamelOilV1ListOrderReq.md create mode 100644 src/api/generated/docs/KamiApiCamelOilV1ListOrderRes.md create mode 100644 src/api/generated/docs/KamiApiCamelOilV1OrderCallbackReq.md create mode 100644 src/api/generated/docs/KamiApiCamelOilV1OrderCallbackRes.md create mode 100644 src/api/generated/docs/KamiApiCamelOilV1OrderDetailReq.md create mode 100644 src/api/generated/docs/KamiApiCamelOilV1OrderDetailRes.md create mode 100644 src/api/generated/docs/KamiApiCamelOilV1OrderDetailResAccountInfo.md create mode 100644 src/api/generated/docs/KamiApiCamelOilV1OrderDetailResOrderInfo.md create mode 100644 src/api/generated/docs/KamiApiCamelOilV1OrderHistoryItem.md create mode 100644 src/api/generated/docs/KamiApiCamelOilV1OrderHistoryReq.md create mode 100644 src/api/generated/docs/KamiApiCamelOilV1OrderHistoryRes.md create mode 100644 src/api/generated/docs/KamiApiCamelOilV1OrderListItem.md create mode 100644 src/api/generated/docs/KamiApiCamelOilV1SubmitOrderReq.md create mode 100644 src/api/generated/docs/KamiApiCamelOilV1SubmitOrderRes.md delete mode 100644 src/api/generated/docs/KamiApiJdCookieV1BatchCheckReq.md delete mode 100644 src/api/generated/docs/KamiApiJdCookieV1BatchCheckRes.md delete mode 100644 src/api/generated/docs/KamiApiJdCookieV1BatchValidateReq.md delete mode 100644 src/api/generated/docs/KamiApiJdCookieV1BatchValidateRes.md delete mode 100644 src/api/generated/docs/KamiApiJdCookieV1CheckJdOrderPaymentReq.md delete mode 100644 src/api/generated/docs/KamiApiJdCookieV1CheckJdOrderPaymentRes.md delete mode 100644 src/api/generated/docs/KamiApiJdCookieV1CookieCheckResult.md create mode 100644 src/api/generated/docs/KamiApiRestrictionV1GetAESEncryptionParamsRes.md create mode 100644 src/api/generated/models/kami-api-camel-oil-v1-account-history-item.ts create mode 100644 src/api/generated/models/kami-api-camel-oil-v1-account-history-req.ts rename src/api/generated/models/{kami-api-jd-cookie-v1-batch-check-res.ts => kami-api-camel-oil-v1-account-history-res.ts} (63%) create mode 100644 src/api/generated/models/kami-api-camel-oil-v1-account-list-item.ts create mode 100644 src/api/generated/models/kami-api-camel-oil-v1-account-order-list-req.ts create mode 100644 src/api/generated/models/kami-api-camel-oil-v1-account-order-list-res-account-info.ts create mode 100644 src/api/generated/models/kami-api-camel-oil-v1-account-order-list-res-order-stats.ts create mode 100644 src/api/generated/models/kami-api-camel-oil-v1-account-order-list-res.ts rename src/api/generated/models/{kami-api-jd-cookie-v1-batch-check-req.ts => kami-api-camel-oil-v1-account-statistics-req.ts} (78%) create mode 100644 src/api/generated/models/kami-api-camel-oil-v1-account-statistics-res-account-info.ts create mode 100644 src/api/generated/models/kami-api-camel-oil-v1-account-statistics-res-order-stats.ts create mode 100644 src/api/generated/models/kami-api-camel-oil-v1-account-statistics-res-recent-trend-inner.ts create mode 100644 src/api/generated/models/kami-api-camel-oil-v1-account-statistics-res-usage-info.ts create mode 100644 src/api/generated/models/kami-api-camel-oil-v1-account-statistics-res.ts rename src/api/generated/models/{kami-api-jd-cookie-v1-check-jd-order-payment-req.ts => kami-api-camel-oil-v1-check-account-req.ts} (78%) rename src/api/generated/models/{kami-api-jd-cookie-v1-cookie-check-result.ts => kami-api-camel-oil-v1-check-account-res.ts} (59%) create mode 100644 src/api/generated/models/kami-api-camel-oil-v1-list-account-req.ts rename src/api/generated/models/{kami-api-jd-cookie-v1-batch-validate-req.ts => kami-api-camel-oil-v1-list-account-res.ts} (63%) create mode 100644 src/api/generated/models/kami-api-camel-oil-v1-list-order-req.ts create mode 100644 src/api/generated/models/kami-api-camel-oil-v1-list-order-res.ts create mode 100644 src/api/generated/models/kami-api-camel-oil-v1-order-callback-req.ts create mode 100644 src/api/generated/models/kami-api-camel-oil-v1-order-callback-res.ts create mode 100644 src/api/generated/models/kami-api-camel-oil-v1-order-detail-req.ts create mode 100644 src/api/generated/models/kami-api-camel-oil-v1-order-detail-res-account-info.ts create mode 100644 src/api/generated/models/kami-api-camel-oil-v1-order-detail-res-order-info.ts create mode 100644 src/api/generated/models/kami-api-camel-oil-v1-order-detail-res.ts create mode 100644 src/api/generated/models/kami-api-camel-oil-v1-order-history-item.ts create mode 100644 src/api/generated/models/kami-api-camel-oil-v1-order-history-req.ts create mode 100644 src/api/generated/models/kami-api-camel-oil-v1-order-history-res.ts create mode 100644 src/api/generated/models/kami-api-camel-oil-v1-order-list-item.ts create mode 100644 src/api/generated/models/kami-api-camel-oil-v1-submit-order-req.ts create mode 100644 src/api/generated/models/kami-api-camel-oil-v1-submit-order-res.ts delete mode 100644 src/api/generated/models/kami-api-jd-cookie-v1-batch-validate-res.ts delete mode 100644 src/api/generated/models/kami-api-jd-cookie-v1-check-jd-order-payment-res.ts create mode 100644 src/api/generated/models/kami-api-restriction-v1-get-aesencryption-params-res.ts create mode 100644 src/router/routes/modules/camel-oil.ts create mode 100644 src/views/camel-oil-info/account/components/account-orders.vue create mode 100644 src/views/camel-oil-info/account/components/detail.vue create mode 100644 src/views/camel-oil-info/account/components/history.vue create mode 100644 src/views/camel-oil-info/account/components/order-detail-modal.vue create mode 100644 src/views/camel-oil-info/account/index.vue create mode 100644 src/views/camel-oil-info/order/components/order-detail-modal.vue create mode 100644 src/views/camel-oil-info/order/components/order-history-modal.vue create mode 100644 src/views/camel-oil-info/order/index.vue diff --git a/.claude/settings.local.json b/.claude/settings.local.json index f820e92..5e67c27 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.local.json @@ -8,7 +8,8 @@ "mcp__ide__getDiagnostics", "Bash(pnpm lint:*)", "Bash(pnpm prettier:fix)", - "Bash(pnpm eslint:*)" + "Bash(pnpm eslint:*)", + "Bash(mkdir:*)" ], "deny": [], "ask": [] diff --git a/CLAUDE.md b/CLAUDE.md index 1da2507..b525eee 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -56,6 +56,9 @@ pnpm generate:api # Generate TypeScript API client from OpenAPI spec at ht # Cache and dependencies pnpm clean:cache # Clear .eslintcache and reinstall dependencies pnpm lint-staged # Run lint-staged (used by pre-commit hooks) + +# Git hooks +pnpm prepare # Install Husky git hooks ``` ## Architecture @@ -114,17 +117,20 @@ API clients are configured in `src/api/index.ts`: - `jdCookieClient` - JDCookieManagementApi for JD cookie management - `jdHistoryClient` - JDHistoryApi for JD order history - `jdOrderClient` - JDOrderManagementApi for JD order management +- `camelOilAccountClient` - CamelOilAccountApi for camel oil account management +- `camelOilOrderClient` - CamelOilOrderApi for camel oil order management API base URL is configured via environment variables: -- Development: `http://127.0.0.1:12401` -- Production: Set in `.env.production` +- Development: `http://127.0.0.1:12401` (configured in `.env.development`) +- Production: Uses `VITE_API_BASE_URL` from `.env.production` (currently empty) The API client generation uses: - Input: `http://127.0.0.1:12401/api.json` - Generator: `typescript-axios` - Output: Separate models and APIs packages with tag-based grouping +- Features: Square brackets in array names, single request parameter, string enums enabled ### State Management @@ -181,10 +187,18 @@ Configured in `config/vite.config.base.mts`: **Linting Tools**: -- ESLint: JavaScript/TypeScript linting (`src,mock,config` directories) +- ESLint: JavaScript/TypeScript linting (`src,mock,config` directories) with modern flat config - Stylelint: CSS/Less linting (`**/*.{html,vue,css,less}`) - Prettier: Code formatting (`src/**/*.{js,ts,json,tsx,css,scss,vue,html,md}`) +**ESLint Configuration**: + +- Uses modern flat config in `eslint.config.js` +- TypeScript support with inline type imports +- Vue 3 Composition API support +- Prettier integration for consistent formatting +- Allows explicit `any` types and non-null assertions + **Git Integration**: - Husky for Git hooks diff --git a/src/api/generated/.openapi-generator/FILES b/src/api/generated/.openapi-generator/FILES index 1cb2696..77a4e36 100644 --- a/src/api/generated/.openapi-generator/FILES +++ b/src/api/generated/.openapi-generator/FILES @@ -1,10 +1,13 @@ .gitignore .npmignore +.openapi-generator-ignore api.ts apis/default-api.ts apis/jdcookie-management-api.ts apis/jdhistory-api.ts apis/jdorder-management-api.ts +apis/jdv2-account-api.ts +apis/jdv2-order-api.ts apis/totpapi.ts base.ts common.ts @@ -13,6 +16,40 @@ docs/DefaultApi.md docs/JDCookieManagementApi.md docs/JDHistoryApi.md docs/JDOrderManagementApi.md +docs/JDV2AccountApi.md +docs/JDV2OrderApi.md +docs/KamiApiCamelOilV1AccountHistoryItem.md +docs/KamiApiCamelOilV1AccountHistoryReq.md +docs/KamiApiCamelOilV1AccountHistoryRes.md +docs/KamiApiCamelOilV1AccountListItem.md +docs/KamiApiCamelOilV1AccountOrderListReq.md +docs/KamiApiCamelOilV1AccountOrderListRes.md +docs/KamiApiCamelOilV1AccountOrderListResAccountInfo.md +docs/KamiApiCamelOilV1AccountOrderListResOrderStats.md +docs/KamiApiCamelOilV1AccountStatisticsReq.md +docs/KamiApiCamelOilV1AccountStatisticsRes.md +docs/KamiApiCamelOilV1AccountStatisticsResAccountInfo.md +docs/KamiApiCamelOilV1AccountStatisticsResOrderStats.md +docs/KamiApiCamelOilV1AccountStatisticsResRecentTrendInner.md +docs/KamiApiCamelOilV1AccountStatisticsResUsageInfo.md +docs/KamiApiCamelOilV1CheckAccountReq.md +docs/KamiApiCamelOilV1CheckAccountRes.md +docs/KamiApiCamelOilV1ListAccountReq.md +docs/KamiApiCamelOilV1ListAccountRes.md +docs/KamiApiCamelOilV1ListOrderReq.md +docs/KamiApiCamelOilV1ListOrderRes.md +docs/KamiApiCamelOilV1OrderCallbackReq.md +docs/KamiApiCamelOilV1OrderCallbackRes.md +docs/KamiApiCamelOilV1OrderDetailReq.md +docs/KamiApiCamelOilV1OrderDetailRes.md +docs/KamiApiCamelOilV1OrderDetailResAccountInfo.md +docs/KamiApiCamelOilV1OrderDetailResOrderInfo.md +docs/KamiApiCamelOilV1OrderHistoryItem.md +docs/KamiApiCamelOilV1OrderHistoryReq.md +docs/KamiApiCamelOilV1OrderHistoryRes.md +docs/KamiApiCamelOilV1OrderListItem.md +docs/KamiApiCamelOilV1SubmitOrderReq.md +docs/KamiApiCamelOilV1SubmitOrderRes.md docs/KamiApiCardInfoAppleV1AppleCardListRecord.md docs/KamiApiCardInfoAppleV1AppleCardListRecordUploadUser.md docs/KamiApiCardInfoAppleV1CallBackOrderManualReq.md @@ -320,6 +357,7 @@ docs/KamiApiOrderV1OrderSummaryRecord.md docs/KamiApiRestrictionV1BlockOrderReq.md docs/KamiApiRestrictionV1CheckIPAllowedReq.md docs/KamiApiRestrictionV1CheckIPAllowedRes.md +docs/KamiApiRestrictionV1GetAESEncryptionParamsRes.md docs/KamiApiRestrictionV1QueryAllProvinceRes.md docs/KamiApiRestrictionV1UserInfoCollectionReq.md docs/KamiApiRoadPoolV1RoadPoolSimpleInfo.md @@ -401,6 +439,38 @@ docs/TOTPApi.md git_push.sh index.ts models/index.ts +models/kami-api-camel-oil-v1-account-history-item.ts +models/kami-api-camel-oil-v1-account-history-req.ts +models/kami-api-camel-oil-v1-account-history-res.ts +models/kami-api-camel-oil-v1-account-list-item.ts +models/kami-api-camel-oil-v1-account-order-list-req.ts +models/kami-api-camel-oil-v1-account-order-list-res-account-info.ts +models/kami-api-camel-oil-v1-account-order-list-res-order-stats.ts +models/kami-api-camel-oil-v1-account-order-list-res.ts +models/kami-api-camel-oil-v1-account-statistics-req.ts +models/kami-api-camel-oil-v1-account-statistics-res-account-info.ts +models/kami-api-camel-oil-v1-account-statistics-res-order-stats.ts +models/kami-api-camel-oil-v1-account-statistics-res-recent-trend-inner.ts +models/kami-api-camel-oil-v1-account-statistics-res-usage-info.ts +models/kami-api-camel-oil-v1-account-statistics-res.ts +models/kami-api-camel-oil-v1-check-account-req.ts +models/kami-api-camel-oil-v1-check-account-res.ts +models/kami-api-camel-oil-v1-list-account-req.ts +models/kami-api-camel-oil-v1-list-account-res.ts +models/kami-api-camel-oil-v1-list-order-req.ts +models/kami-api-camel-oil-v1-list-order-res.ts +models/kami-api-camel-oil-v1-order-callback-req.ts +models/kami-api-camel-oil-v1-order-callback-res.ts +models/kami-api-camel-oil-v1-order-detail-req.ts +models/kami-api-camel-oil-v1-order-detail-res-account-info.ts +models/kami-api-camel-oil-v1-order-detail-res-order-info.ts +models/kami-api-camel-oil-v1-order-detail-res.ts +models/kami-api-camel-oil-v1-order-history-item.ts +models/kami-api-camel-oil-v1-order-history-req.ts +models/kami-api-camel-oil-v1-order-history-res.ts +models/kami-api-camel-oil-v1-order-list-item.ts +models/kami-api-camel-oil-v1-submit-order-req.ts +models/kami-api-camel-oil-v1-submit-order-res.ts models/kami-api-card-info-apple-v1-apple-card-list-record-upload-user.ts models/kami-api-card-info-apple-v1-apple-card-list-record.ts models/kami-api-card-info-apple-v1-call-back-order-manual-req.ts @@ -708,6 +778,7 @@ models/kami-api-order-v1-order-summary-record.ts models/kami-api-restriction-v1-block-order-req.ts models/kami-api-restriction-v1-check-ipallowed-req.ts models/kami-api-restriction-v1-check-ipallowed-res.ts +models/kami-api-restriction-v1-get-aesencryption-params-res.ts models/kami-api-restriction-v1-query-all-province-res.ts models/kami-api-restriction-v1-user-info-collection-req.ts models/kami-api-road-pool-v1-road-pool-simple-info.ts diff --git a/src/api/generated/api.ts b/src/api/generated/api.ts index 2e6f11c..5bd5e22 100644 --- a/src/api/generated/api.ts +++ b/src/api/generated/api.ts @@ -16,4 +16,6 @@ export * from './apis/default-api'; export * from './apis/jdcookie-management-api'; export * from './apis/jdhistory-api'; export * from './apis/jdorder-management-api'; +export * from './apis/jdv2-account-api'; +export * from './apis/jdv2-order-api'; export * from './apis/totpapi'; diff --git a/src/api/generated/apis/default-api.ts b/src/api/generated/apis/default-api.ts index 7873943..c0414db 100644 --- a/src/api/generated/apis/default-api.ts +++ b/src/api/generated/apis/default-api.ts @@ -341,6 +341,8 @@ import type { KamiApiRestrictionV1BlockOrderReq } from '../models'; // @ts-ignore import type { KamiApiRestrictionV1CheckIPAllowedRes } from '../models'; // @ts-ignore +import type { KamiApiRestrictionV1GetAESEncryptionParamsRes } from '../models'; +// @ts-ignore import type { KamiApiRestrictionV1QueryAllProvinceRes } from '../models'; // @ts-ignore import type { KamiApiRestrictionV1UserInfoCollectionReq } from '../models'; @@ -401,6 +403,45 @@ export const DefaultApiAxiosParamCreator = function ( configuration?: Configuration ) { return { + /** + * + * @summary 获取 AES 加密参数(密钥和初始化向量) + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiAesEncryptionParamsGet: async ( + options: RawAxiosRequestConfig = {} + ): Promise => { + const localVarPath = `/api/aes/encryption/params`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { + method: 'GET', + ...baseOptions, + ...options + }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = + baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = { + ...localVarHeaderParameter, + ...headersFromBaseOptions, + ...options.headers + }; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions + }; + }, /** * * @summary 获取验证码接口 @@ -11065,6 +11106,35 @@ export const DefaultApiAxiosParamCreator = function ( export const DefaultApiFp = function (configuration?: Configuration) { const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration); return { + /** + * + * @summary 获取 AES 加密参数(密钥和初始化向量) + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiAesEncryptionParamsGet( + options?: RawAxiosRequestConfig + ): Promise< + ( + axios?: AxiosInstance, + basePath?: string + ) => AxiosPromise + > { + const localVarAxiosArgs = + await localVarAxiosParamCreator.apiAesEncryptionParamsGet(options); + const localVarOperationServerIndex = configuration?.serverIndex ?? 0; + const localVarOperationServerBasePath = + operationServerMap['DefaultApi.apiAesEncryptionParamsGet']?.[ + localVarOperationServerIndex + ]?.url; + return (axios, basePath) => + createRequestFunction( + localVarAxiosArgs, + globalAxios, + BASE_PATH, + configuration + )(axios, localVarOperationServerBasePath || basePath); + }, /** * * @summary 获取验证码接口 @@ -17979,6 +18049,19 @@ export const DefaultApiFactory = function ( ) { const localVarFp = DefaultApiFp(configuration); return { + /** + * + * @summary 获取 AES 加密参数(密钥和初始化向量) + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiAesEncryptionParamsGet( + options?: RawAxiosRequestConfig + ): AxiosPromise { + return localVarFp + .apiAesEncryptionParamsGet(options) + .then(request => request(axios, basePath)); + }, /** * * @summary 获取验证码接口 @@ -21542,6 +21625,16 @@ export const DefaultApiFactory = function ( * DefaultApi - interface */ export interface DefaultApiInterface { + /** + * + * @summary 获取 AES 加密参数(密钥和初始化向量) + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiAesEncryptionParamsGet( + options?: RawAxiosRequestConfig + ): AxiosPromise; + /** * * @summary 获取验证码接口 @@ -26122,6 +26215,18 @@ export interface DefaultApiApiUserStatusPauseOrRestartPutRequest { * DefaultApi - object-oriented interface */ export class DefaultApi extends BaseAPI implements DefaultApiInterface { + /** + * + * @summary 获取 AES 加密参数(密钥和初始化向量) + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + public apiAesEncryptionParamsGet(options?: RawAxiosRequestConfig) { + return DefaultApiFp(this.configuration) + .apiAesEncryptionParamsGet(options) + .then(request => request(this.axios, this.basePath)); + } + /** * * @summary 获取验证码接口 diff --git a/src/api/generated/apis/jdv2-account-api.ts b/src/api/generated/apis/jdv2-account-api.ts new file mode 100644 index 0000000..ed90430 --- /dev/null +++ b/src/api/generated/apis/jdv2-account-api.ts @@ -0,0 +1,754 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import type { Configuration } from '../configuration'; +import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; +import globalAxios from 'axios'; +// Some imports not used depending on template conditions +// @ts-ignore +import { + DUMMY_BASE_URL, + assertParamExists, + setApiKeyToObject, + setBasicAuthToObject, + setBearerAuthToObject, + setOAuthToObject, + setSearchParams, + serializeDataIfNeeded, + toPathString, + createRequestFunction +} from '../common'; +// @ts-ignore +import { + BASE_PATH, + COLLECTION_FORMATS, + type RequestArgs, + BaseAPI, + RequiredError, + operationServerMap +} from '../base'; +// @ts-ignore +import type { KamiApiCamelOilV1AccountHistoryRes } from '../models'; +// @ts-ignore +import type { KamiApiCamelOilV1AccountStatisticsRes } from '../models'; +// @ts-ignore +import type { KamiApiCamelOilV1CheckAccountReq } from '../models'; +// @ts-ignore +import type { KamiApiCamelOilV1CheckAccountRes } from '../models'; +// @ts-ignore +import type { KamiApiCamelOilV1ListAccountRes } from '../models'; +/** + * JDV2AccountApi - axios parameter creator + */ +export const JDV2AccountApiAxiosParamCreator = function ( + configuration?: Configuration +) { + return { + /** + * + * @summary 棂测账号状态 + * @param {KamiApiCamelOilV1CheckAccountReq} [kamiApiCamelOilV1CheckAccountReq] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiJdV2AccountCheckPost: async ( + kamiApiCamelOilV1CheckAccountReq?: KamiApiCamelOilV1CheckAccountReq, + options: RawAxiosRequestConfig = {} + ): Promise => { + const localVarPath = `/api/jd-v2/account/check`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { + method: 'POST', + ...baseOptions, + ...options + }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = + baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = { + ...localVarHeaderParameter, + ...headersFromBaseOptions, + ...options.headers + }; + localVarRequestOptions.data = serializeDataIfNeeded( + kamiApiCamelOilV1CheckAccountReq, + localVarRequestOptions, + configuration + ); + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions + }; + }, + /** + * + * @summary 账号历史记录 + * @param {number} current 页数 + * @param {ApiJdV2AccountHistoryGetPageSizeEnum} pageSize 页码 + * @param {number} accountId 账号ID + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiJdV2AccountHistoryGet: async ( + current: number, + pageSize: ApiJdV2AccountHistoryGetPageSizeEnum, + accountId: number, + options: RawAxiosRequestConfig = {} + ): Promise => { + // verify required parameter 'current' is not null or undefined + assertParamExists('apiJdV2AccountHistoryGet', 'current', current); + // verify required parameter 'pageSize' is not null or undefined + assertParamExists('apiJdV2AccountHistoryGet', 'pageSize', pageSize); + // verify required parameter 'accountId' is not null or undefined + assertParamExists('apiJdV2AccountHistoryGet', 'accountId', accountId); + const localVarPath = `/api/jd-v2/account/history`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { + method: 'GET', + ...baseOptions, + ...options + }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + if (current !== undefined) { + localVarQueryParameter['current'] = current; + } + + if (pageSize !== undefined) { + localVarQueryParameter['pageSize'] = pageSize; + } + + if (accountId !== undefined) { + localVarQueryParameter['accountId'] = accountId; + } + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = + baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = { + ...localVarHeaderParameter, + ...headersFromBaseOptions, + ...options.headers + }; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions + }; + }, + /** + * + * @summary 账号列表 + * @param {number} current 页数 + * @param {ApiJdV2AccountListGetPageSizeEnum} pageSize 页码 + * @param {ApiJdV2AccountListGetStatusEnum} [status] 状态筛选 + * @param {string} [keyword] 关键词搜索(账号名称/手机号) + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiJdV2AccountListGet: async ( + current: number, + pageSize: ApiJdV2AccountListGetPageSizeEnum, + status?: ApiJdV2AccountListGetStatusEnum, + keyword?: string, + options: RawAxiosRequestConfig = {} + ): Promise => { + // verify required parameter 'current' is not null or undefined + assertParamExists('apiJdV2AccountListGet', 'current', current); + // verify required parameter 'pageSize' is not null or undefined + assertParamExists('apiJdV2AccountListGet', 'pageSize', pageSize); + const localVarPath = `/api/jd-v2/account/list`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { + method: 'GET', + ...baseOptions, + ...options + }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + if (current !== undefined) { + localVarQueryParameter['current'] = current; + } + + if (pageSize !== undefined) { + localVarQueryParameter['pageSize'] = pageSize; + } + + if (status !== undefined) { + localVarQueryParameter['status'] = status; + } + + if (keyword !== undefined) { + localVarQueryParameter['keyword'] = keyword; + } + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = + baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = { + ...localVarHeaderParameter, + ...headersFromBaseOptions, + ...options.headers + }; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions + }; + }, + /** + * + * @summary 账号统计信息 + * @param {number} accountId 账号ID + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiJdV2AccountStatisticsGet: async ( + accountId: number, + options: RawAxiosRequestConfig = {} + ): Promise => { + // verify required parameter 'accountId' is not null or undefined + assertParamExists('apiJdV2AccountStatisticsGet', 'accountId', accountId); + const localVarPath = `/api/jd-v2/account/statistics`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { + method: 'GET', + ...baseOptions, + ...options + }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + if (accountId !== undefined) { + localVarQueryParameter['accountId'] = accountId; + } + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = + baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = { + ...localVarHeaderParameter, + ...headersFromBaseOptions, + ...options.headers + }; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions + }; + } + }; +}; + +/** + * JDV2AccountApi - functional programming interface + */ +export const JDV2AccountApiFp = function (configuration?: Configuration) { + const localVarAxiosParamCreator = + JDV2AccountApiAxiosParamCreator(configuration); + return { + /** + * + * @summary 棂测账号状态 + * @param {KamiApiCamelOilV1CheckAccountReq} [kamiApiCamelOilV1CheckAccountReq] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiJdV2AccountCheckPost( + kamiApiCamelOilV1CheckAccountReq?: KamiApiCamelOilV1CheckAccountReq, + options?: RawAxiosRequestConfig + ): Promise< + ( + axios?: AxiosInstance, + basePath?: string + ) => AxiosPromise + > { + const localVarAxiosArgs = + await localVarAxiosParamCreator.apiJdV2AccountCheckPost( + kamiApiCamelOilV1CheckAccountReq, + options + ); + const localVarOperationServerIndex = configuration?.serverIndex ?? 0; + const localVarOperationServerBasePath = + operationServerMap['JDV2AccountApi.apiJdV2AccountCheckPost']?.[ + localVarOperationServerIndex + ]?.url; + return (axios, basePath) => + createRequestFunction( + localVarAxiosArgs, + globalAxios, + BASE_PATH, + configuration + )(axios, localVarOperationServerBasePath || basePath); + }, + /** + * + * @summary 账号历史记录 + * @param {number} current 页数 + * @param {ApiJdV2AccountHistoryGetPageSizeEnum} pageSize 页码 + * @param {number} accountId 账号ID + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiJdV2AccountHistoryGet( + current: number, + pageSize: ApiJdV2AccountHistoryGetPageSizeEnum, + accountId: number, + options?: RawAxiosRequestConfig + ): Promise< + ( + axios?: AxiosInstance, + basePath?: string + ) => AxiosPromise + > { + const localVarAxiosArgs = + await localVarAxiosParamCreator.apiJdV2AccountHistoryGet( + current, + pageSize, + accountId, + options + ); + const localVarOperationServerIndex = configuration?.serverIndex ?? 0; + const localVarOperationServerBasePath = + operationServerMap['JDV2AccountApi.apiJdV2AccountHistoryGet']?.[ + localVarOperationServerIndex + ]?.url; + return (axios, basePath) => + createRequestFunction( + localVarAxiosArgs, + globalAxios, + BASE_PATH, + configuration + )(axios, localVarOperationServerBasePath || basePath); + }, + /** + * + * @summary 账号列表 + * @param {number} current 页数 + * @param {ApiJdV2AccountListGetPageSizeEnum} pageSize 页码 + * @param {ApiJdV2AccountListGetStatusEnum} [status] 状态筛选 + * @param {string} [keyword] 关键词搜索(账号名称/手机号) + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiJdV2AccountListGet( + current: number, + pageSize: ApiJdV2AccountListGetPageSizeEnum, + status?: ApiJdV2AccountListGetStatusEnum, + keyword?: string, + options?: RawAxiosRequestConfig + ): Promise< + ( + axios?: AxiosInstance, + basePath?: string + ) => AxiosPromise + > { + const localVarAxiosArgs = + await localVarAxiosParamCreator.apiJdV2AccountListGet( + current, + pageSize, + status, + keyword, + options + ); + const localVarOperationServerIndex = configuration?.serverIndex ?? 0; + const localVarOperationServerBasePath = + operationServerMap['JDV2AccountApi.apiJdV2AccountListGet']?.[ + localVarOperationServerIndex + ]?.url; + return (axios, basePath) => + createRequestFunction( + localVarAxiosArgs, + globalAxios, + BASE_PATH, + configuration + )(axios, localVarOperationServerBasePath || basePath); + }, + /** + * + * @summary 账号统计信息 + * @param {number} accountId 账号ID + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiJdV2AccountStatisticsGet( + accountId: number, + options?: RawAxiosRequestConfig + ): Promise< + ( + axios?: AxiosInstance, + basePath?: string + ) => AxiosPromise + > { + const localVarAxiosArgs = + await localVarAxiosParamCreator.apiJdV2AccountStatisticsGet( + accountId, + options + ); + const localVarOperationServerIndex = configuration?.serverIndex ?? 0; + const localVarOperationServerBasePath = + operationServerMap['JDV2AccountApi.apiJdV2AccountStatisticsGet']?.[ + localVarOperationServerIndex + ]?.url; + return (axios, basePath) => + createRequestFunction( + localVarAxiosArgs, + globalAxios, + BASE_PATH, + configuration + )(axios, localVarOperationServerBasePath || basePath); + } + }; +}; + +/** + * JDV2AccountApi - factory interface + */ +export const JDV2AccountApiFactory = function ( + configuration?: Configuration, + basePath?: string, + axios?: AxiosInstance +) { + const localVarFp = JDV2AccountApiFp(configuration); + return { + /** + * + * @summary 棂测账号状态 + * @param {JDV2AccountApiApiJdV2AccountCheckPostRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiJdV2AccountCheckPost( + requestParameters: JDV2AccountApiApiJdV2AccountCheckPostRequest = {}, + options?: RawAxiosRequestConfig + ): AxiosPromise { + return localVarFp + .apiJdV2AccountCheckPost( + requestParameters.kamiApiCamelOilV1CheckAccountReq, + options + ) + .then(request => request(axios, basePath)); + }, + /** + * + * @summary 账号历史记录 + * @param {JDV2AccountApiApiJdV2AccountHistoryGetRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiJdV2AccountHistoryGet( + requestParameters: JDV2AccountApiApiJdV2AccountHistoryGetRequest, + options?: RawAxiosRequestConfig + ): AxiosPromise { + return localVarFp + .apiJdV2AccountHistoryGet( + requestParameters.current, + requestParameters.pageSize, + requestParameters.accountId, + options + ) + .then(request => request(axios, basePath)); + }, + /** + * + * @summary 账号列表 + * @param {JDV2AccountApiApiJdV2AccountListGetRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiJdV2AccountListGet( + requestParameters: JDV2AccountApiApiJdV2AccountListGetRequest, + options?: RawAxiosRequestConfig + ): AxiosPromise { + return localVarFp + .apiJdV2AccountListGet( + requestParameters.current, + requestParameters.pageSize, + requestParameters.status, + requestParameters.keyword, + options + ) + .then(request => request(axios, basePath)); + }, + /** + * + * @summary 账号统计信息 + * @param {JDV2AccountApiApiJdV2AccountStatisticsGetRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiJdV2AccountStatisticsGet( + requestParameters: JDV2AccountApiApiJdV2AccountStatisticsGetRequest, + options?: RawAxiosRequestConfig + ): AxiosPromise { + return localVarFp + .apiJdV2AccountStatisticsGet(requestParameters.accountId, options) + .then(request => request(axios, basePath)); + } + }; +}; + +/** + * JDV2AccountApi - interface + */ +export interface JDV2AccountApiInterface { + /** + * + * @summary 棂测账号状态 + * @param {JDV2AccountApiApiJdV2AccountCheckPostRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiJdV2AccountCheckPost( + requestParameters?: JDV2AccountApiApiJdV2AccountCheckPostRequest, + options?: RawAxiosRequestConfig + ): AxiosPromise; + + /** + * + * @summary 账号历史记录 + * @param {JDV2AccountApiApiJdV2AccountHistoryGetRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiJdV2AccountHistoryGet( + requestParameters: JDV2AccountApiApiJdV2AccountHistoryGetRequest, + options?: RawAxiosRequestConfig + ): AxiosPromise; + + /** + * + * @summary 账号列表 + * @param {JDV2AccountApiApiJdV2AccountListGetRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiJdV2AccountListGet( + requestParameters: JDV2AccountApiApiJdV2AccountListGetRequest, + options?: RawAxiosRequestConfig + ): AxiosPromise; + + /** + * + * @summary 账号统计信息 + * @param {JDV2AccountApiApiJdV2AccountStatisticsGetRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiJdV2AccountStatisticsGet( + requestParameters: JDV2AccountApiApiJdV2AccountStatisticsGetRequest, + options?: RawAxiosRequestConfig + ): AxiosPromise; +} + +/** + * Request parameters for apiJdV2AccountCheckPost operation in JDV2AccountApi. + */ +export interface JDV2AccountApiApiJdV2AccountCheckPostRequest { + readonly kamiApiCamelOilV1CheckAccountReq?: KamiApiCamelOilV1CheckAccountReq; +} + +/** + * Request parameters for apiJdV2AccountHistoryGet operation in JDV2AccountApi. + */ +export interface JDV2AccountApiApiJdV2AccountHistoryGetRequest { + /** + * 页数 + */ + readonly current: number; + + /** + * 页码 + */ + readonly pageSize: ApiJdV2AccountHistoryGetPageSizeEnum; + + /** + * 账号ID + */ + readonly accountId: number; +} + +/** + * Request parameters for apiJdV2AccountListGet operation in JDV2AccountApi. + */ +export interface JDV2AccountApiApiJdV2AccountListGetRequest { + /** + * 页数 + */ + readonly current: number; + + /** + * 页码 + */ + readonly pageSize: ApiJdV2AccountListGetPageSizeEnum; + + /** + * 状态筛选 + */ + readonly status?: ApiJdV2AccountListGetStatusEnum; + + /** + * 关键词搜索(账号名称/手机号) + */ + readonly keyword?: string; +} + +/** + * Request parameters for apiJdV2AccountStatisticsGet operation in JDV2AccountApi. + */ +export interface JDV2AccountApiApiJdV2AccountStatisticsGetRequest { + /** + * 账号ID + */ + readonly accountId: number; +} + +/** + * JDV2AccountApi - object-oriented interface + */ +export class JDV2AccountApi extends BaseAPI implements JDV2AccountApiInterface { + /** + * + * @summary 棂测账号状态 + * @param {JDV2AccountApiApiJdV2AccountCheckPostRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + public apiJdV2AccountCheckPost( + requestParameters: JDV2AccountApiApiJdV2AccountCheckPostRequest = {}, + options?: RawAxiosRequestConfig + ) { + return JDV2AccountApiFp(this.configuration) + .apiJdV2AccountCheckPost( + requestParameters.kamiApiCamelOilV1CheckAccountReq, + options + ) + .then(request => request(this.axios, this.basePath)); + } + + /** + * + * @summary 账号历史记录 + * @param {JDV2AccountApiApiJdV2AccountHistoryGetRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + public apiJdV2AccountHistoryGet( + requestParameters: JDV2AccountApiApiJdV2AccountHistoryGetRequest, + options?: RawAxiosRequestConfig + ) { + return JDV2AccountApiFp(this.configuration) + .apiJdV2AccountHistoryGet( + requestParameters.current, + requestParameters.pageSize, + requestParameters.accountId, + options + ) + .then(request => request(this.axios, this.basePath)); + } + + /** + * + * @summary 账号列表 + * @param {JDV2AccountApiApiJdV2AccountListGetRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + public apiJdV2AccountListGet( + requestParameters: JDV2AccountApiApiJdV2AccountListGetRequest, + options?: RawAxiosRequestConfig + ) { + return JDV2AccountApiFp(this.configuration) + .apiJdV2AccountListGet( + requestParameters.current, + requestParameters.pageSize, + requestParameters.status, + requestParameters.keyword, + options + ) + .then(request => request(this.axios, this.basePath)); + } + + /** + * + * @summary 账号统计信息 + * @param {JDV2AccountApiApiJdV2AccountStatisticsGetRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + public apiJdV2AccountStatisticsGet( + requestParameters: JDV2AccountApiApiJdV2AccountStatisticsGetRequest, + options?: RawAxiosRequestConfig + ) { + return JDV2AccountApiFp(this.configuration) + .apiJdV2AccountStatisticsGet(requestParameters.accountId, options) + .then(request => request(this.axios, this.basePath)); + } +} + +export enum ApiJdV2AccountHistoryGetPageSizeEnum { + NUMBER_5 = 5, + NUMBER_10 = 10, + NUMBER_15 = 15, + NUMBER_20 = 20, + NUMBER_50 = 50, + NUMBER_100 = 100 +} +export enum ApiJdV2AccountListGetPageSizeEnum { + NUMBER_5 = 5, + NUMBER_10 = 10, + NUMBER_15 = 15, + NUMBER_20 = 20, + NUMBER_50 = 50, + NUMBER_100 = 100 +} +export enum ApiJdV2AccountListGetStatusEnum { + NUMBER_4 = 4, + NUMBER_1 = 1, + NUMBER_2 = 2, + NUMBER_3 = 3, + NUMBER_0 = 0 +} diff --git a/src/api/generated/apis/jdv2-order-api.ts b/src/api/generated/apis/jdv2-order-api.ts new file mode 100644 index 0000000..df303b3 --- /dev/null +++ b/src/api/generated/apis/jdv2-order-api.ts @@ -0,0 +1,1208 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import type { Configuration } from '../configuration'; +import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; +import globalAxios from 'axios'; +// Some imports not used depending on template conditions +// @ts-ignore +import { + DUMMY_BASE_URL, + assertParamExists, + setApiKeyToObject, + setBasicAuthToObject, + setBearerAuthToObject, + setOAuthToObject, + setSearchParams, + serializeDataIfNeeded, + toPathString, + createRequestFunction +} from '../common'; +// @ts-ignore +import { + BASE_PATH, + COLLECTION_FORMATS, + type RequestArgs, + BaseAPI, + RequiredError, + operationServerMap +} from '../base'; +// @ts-ignore +import type { KamiApiCamelOilV1AccountOrderListRes } from '../models'; +// @ts-ignore +import type { KamiApiCamelOilV1ListOrderRes } from '../models'; +// @ts-ignore +import type { KamiApiCamelOilV1OrderCallbackReq } from '../models'; +// @ts-ignore +import type { KamiApiCamelOilV1OrderCallbackRes } from '../models'; +// @ts-ignore +import type { KamiApiCamelOilV1OrderDetailRes } from '../models'; +// @ts-ignore +import type { KamiApiCamelOilV1OrderHistoryRes } from '../models'; +// @ts-ignore +import type { KamiApiCamelOilV1SubmitOrderReq } from '../models'; +// @ts-ignore +import type { KamiApiCamelOilV1SubmitOrderRes } from '../models'; +/** + * JDV2OrderApi - axios parameter creator + */ +export const JDV2OrderApiAxiosParamCreator = function ( + configuration?: Configuration +) { + return { + /** + * + * @summary 账号历史订单 + * @param {number} current 页数 + * @param {ApiJdV2OrderAccountOrdersGetPageSizeEnum} pageSize 页码 + * @param {number} accountId 账号ID + * @param {ApiJdV2OrderAccountOrdersGetStatusEnum} [status] 订单状态筛选 + * @param {ApiJdV2OrderAccountOrdersGetPayStatusEnum} [payStatus] 支付状态筛选 + * @param {Array} [dateRange] 时间范围 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiJdV2OrderAccountOrdersGet: async ( + current: number, + pageSize: ApiJdV2OrderAccountOrdersGetPageSizeEnum, + accountId: number, + status?: ApiJdV2OrderAccountOrdersGetStatusEnum, + payStatus?: ApiJdV2OrderAccountOrdersGetPayStatusEnum, + dateRange?: Array, + options: RawAxiosRequestConfig = {} + ): Promise => { + // verify required parameter 'current' is not null or undefined + assertParamExists('apiJdV2OrderAccountOrdersGet', 'current', current); + // verify required parameter 'pageSize' is not null or undefined + assertParamExists('apiJdV2OrderAccountOrdersGet', 'pageSize', pageSize); + // verify required parameter 'accountId' is not null or undefined + assertParamExists('apiJdV2OrderAccountOrdersGet', 'accountId', accountId); + const localVarPath = `/api/jd-v2/order/accountOrders`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { + method: 'GET', + ...baseOptions, + ...options + }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + if (current !== undefined) { + localVarQueryParameter['current'] = current; + } + + if (pageSize !== undefined) { + localVarQueryParameter['pageSize'] = pageSize; + } + + if (accountId !== undefined) { + localVarQueryParameter['accountId'] = accountId; + } + + if (status !== undefined) { + localVarQueryParameter['status'] = status; + } + + if (payStatus !== undefined) { + localVarQueryParameter['payStatus'] = payStatus; + } + + if (dateRange) { + localVarQueryParameter['dateRange'] = dateRange; + } + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = + baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = { + ...localVarHeaderParameter, + ...headersFromBaseOptions, + ...options.headers + }; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions + }; + }, + /** + * + * @summary 手动回调 + * @param {KamiApiCamelOilV1OrderCallbackReq} [kamiApiCamelOilV1OrderCallbackReq] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiJdV2OrderCallbackPost: async ( + kamiApiCamelOilV1OrderCallbackReq?: KamiApiCamelOilV1OrderCallbackReq, + options: RawAxiosRequestConfig = {} + ): Promise => { + const localVarPath = `/api/jd-v2/order/callback`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { + method: 'POST', + ...baseOptions, + ...options + }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = + baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = { + ...localVarHeaderParameter, + ...headersFromBaseOptions, + ...options.headers + }; + localVarRequestOptions.data = serializeDataIfNeeded( + kamiApiCamelOilV1OrderCallbackReq, + localVarRequestOptions, + configuration + ); + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions + }; + }, + /** + * + * @summary 订单详情 + * @param {string} orderNo 订单号 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiJdV2OrderDetailGet: async ( + orderNo: string, + options: RawAxiosRequestConfig = {} + ): Promise => { + // verify required parameter 'orderNo' is not null or undefined + assertParamExists('apiJdV2OrderDetailGet', 'orderNo', orderNo); + const localVarPath = `/api/jd-v2/order/detail`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { + method: 'GET', + ...baseOptions, + ...options + }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + if (orderNo !== undefined) { + localVarQueryParameter['orderNo'] = orderNo; + } + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = + baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = { + ...localVarHeaderParameter, + ...headersFromBaseOptions, + ...options.headers + }; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions + }; + }, + /** + * + * @summary 订单历史记录 + * @param {number} current 页数 + * @param {ApiJdV2OrderHistoryGetPageSizeEnum} pageSize 页码 + * @param {string} orderNo 订单号 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiJdV2OrderHistoryGet: async ( + current: number, + pageSize: ApiJdV2OrderHistoryGetPageSizeEnum, + orderNo: string, + options: RawAxiosRequestConfig = {} + ): Promise => { + // verify required parameter 'current' is not null or undefined + assertParamExists('apiJdV2OrderHistoryGet', 'current', current); + // verify required parameter 'pageSize' is not null or undefined + assertParamExists('apiJdV2OrderHistoryGet', 'pageSize', pageSize); + // verify required parameter 'orderNo' is not null or undefined + assertParamExists('apiJdV2OrderHistoryGet', 'orderNo', orderNo); + const localVarPath = `/api/jd-v2/order/history`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { + method: 'GET', + ...baseOptions, + ...options + }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + if (current !== undefined) { + localVarQueryParameter['current'] = current; + } + + if (pageSize !== undefined) { + localVarQueryParameter['pageSize'] = pageSize; + } + + if (orderNo !== undefined) { + localVarQueryParameter['orderNo'] = orderNo; + } + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = + baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = { + ...localVarHeaderParameter, + ...headersFromBaseOptions, + ...options.headers + }; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions + }; + }, + /** + * + * @summary 订单列表 + * @param {number} current 页数 + * @param {ApiJdV2OrderListGetPageSizeEnum} pageSize 页码 + * @param {string} [merchantOrderId] 商户订单号 + * @param {string} [orderNo] 系统订单号 + * @param {number} [accountId] 账号ID + * @param {ApiJdV2OrderListGetStatusEnum} [status] 订单状态 + * @param {ApiJdV2OrderListGetPayStatusEnum} [payStatus] 支付状态 + * @param {Array} [dateRange] 时间范围 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiJdV2OrderListGet: async ( + current: number, + pageSize: ApiJdV2OrderListGetPageSizeEnum, + merchantOrderId?: string, + orderNo?: string, + accountId?: number, + status?: ApiJdV2OrderListGetStatusEnum, + payStatus?: ApiJdV2OrderListGetPayStatusEnum, + dateRange?: Array, + options: RawAxiosRequestConfig = {} + ): Promise => { + // verify required parameter 'current' is not null or undefined + assertParamExists('apiJdV2OrderListGet', 'current', current); + // verify required parameter 'pageSize' is not null or undefined + assertParamExists('apiJdV2OrderListGet', 'pageSize', pageSize); + const localVarPath = `/api/jd-v2/order/list`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { + method: 'GET', + ...baseOptions, + ...options + }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + if (current !== undefined) { + localVarQueryParameter['current'] = current; + } + + if (pageSize !== undefined) { + localVarQueryParameter['pageSize'] = pageSize; + } + + if (merchantOrderId !== undefined) { + localVarQueryParameter['merchantOrderId'] = merchantOrderId; + } + + if (orderNo !== undefined) { + localVarQueryParameter['orderNo'] = orderNo; + } + + if (accountId !== undefined) { + localVarQueryParameter['accountId'] = accountId; + } + + if (status !== undefined) { + localVarQueryParameter['status'] = status; + } + + if (payStatus !== undefined) { + localVarQueryParameter['payStatus'] = payStatus; + } + + if (dateRange) { + localVarQueryParameter['dateRange'] = dateRange; + } + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = + baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = { + ...localVarHeaderParameter, + ...headersFromBaseOptions, + ...options.headers + }; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions + }; + }, + /** + * + * @summary 提交订单 + * @param {KamiApiCamelOilV1SubmitOrderReq} [kamiApiCamelOilV1SubmitOrderReq] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiJdV2OrderSubmitPost: async ( + kamiApiCamelOilV1SubmitOrderReq?: KamiApiCamelOilV1SubmitOrderReq, + options: RawAxiosRequestConfig = {} + ): Promise => { + const localVarPath = `/api/jd-v2/order/submit`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { + method: 'POST', + ...baseOptions, + ...options + }; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = + baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = { + ...localVarHeaderParameter, + ...headersFromBaseOptions, + ...options.headers + }; + localVarRequestOptions.data = serializeDataIfNeeded( + kamiApiCamelOilV1SubmitOrderReq, + localVarRequestOptions, + configuration + ); + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions + }; + } + }; +}; + +/** + * JDV2OrderApi - functional programming interface + */ +export const JDV2OrderApiFp = function (configuration?: Configuration) { + const localVarAxiosParamCreator = + JDV2OrderApiAxiosParamCreator(configuration); + return { + /** + * + * @summary 账号历史订单 + * @param {number} current 页数 + * @param {ApiJdV2OrderAccountOrdersGetPageSizeEnum} pageSize 页码 + * @param {number} accountId 账号ID + * @param {ApiJdV2OrderAccountOrdersGetStatusEnum} [status] 订单状态筛选 + * @param {ApiJdV2OrderAccountOrdersGetPayStatusEnum} [payStatus] 支付状态筛选 + * @param {Array} [dateRange] 时间范围 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiJdV2OrderAccountOrdersGet( + current: number, + pageSize: ApiJdV2OrderAccountOrdersGetPageSizeEnum, + accountId: number, + status?: ApiJdV2OrderAccountOrdersGetStatusEnum, + payStatus?: ApiJdV2OrderAccountOrdersGetPayStatusEnum, + dateRange?: Array, + options?: RawAxiosRequestConfig + ): Promise< + ( + axios?: AxiosInstance, + basePath?: string + ) => AxiosPromise + > { + const localVarAxiosArgs = + await localVarAxiosParamCreator.apiJdV2OrderAccountOrdersGet( + current, + pageSize, + accountId, + status, + payStatus, + dateRange, + options + ); + const localVarOperationServerIndex = configuration?.serverIndex ?? 0; + const localVarOperationServerBasePath = + operationServerMap['JDV2OrderApi.apiJdV2OrderAccountOrdersGet']?.[ + localVarOperationServerIndex + ]?.url; + return (axios, basePath) => + createRequestFunction( + localVarAxiosArgs, + globalAxios, + BASE_PATH, + configuration + )(axios, localVarOperationServerBasePath || basePath); + }, + /** + * + * @summary 手动回调 + * @param {KamiApiCamelOilV1OrderCallbackReq} [kamiApiCamelOilV1OrderCallbackReq] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiJdV2OrderCallbackPost( + kamiApiCamelOilV1OrderCallbackReq?: KamiApiCamelOilV1OrderCallbackReq, + options?: RawAxiosRequestConfig + ): Promise< + ( + axios?: AxiosInstance, + basePath?: string + ) => AxiosPromise + > { + const localVarAxiosArgs = + await localVarAxiosParamCreator.apiJdV2OrderCallbackPost( + kamiApiCamelOilV1OrderCallbackReq, + options + ); + const localVarOperationServerIndex = configuration?.serverIndex ?? 0; + const localVarOperationServerBasePath = + operationServerMap['JDV2OrderApi.apiJdV2OrderCallbackPost']?.[ + localVarOperationServerIndex + ]?.url; + return (axios, basePath) => + createRequestFunction( + localVarAxiosArgs, + globalAxios, + BASE_PATH, + configuration + )(axios, localVarOperationServerBasePath || basePath); + }, + /** + * + * @summary 订单详情 + * @param {string} orderNo 订单号 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiJdV2OrderDetailGet( + orderNo: string, + options?: RawAxiosRequestConfig + ): Promise< + ( + axios?: AxiosInstance, + basePath?: string + ) => AxiosPromise + > { + const localVarAxiosArgs = + await localVarAxiosParamCreator.apiJdV2OrderDetailGet(orderNo, options); + const localVarOperationServerIndex = configuration?.serverIndex ?? 0; + const localVarOperationServerBasePath = + operationServerMap['JDV2OrderApi.apiJdV2OrderDetailGet']?.[ + localVarOperationServerIndex + ]?.url; + return (axios, basePath) => + createRequestFunction( + localVarAxiosArgs, + globalAxios, + BASE_PATH, + configuration + )(axios, localVarOperationServerBasePath || basePath); + }, + /** + * + * @summary 订单历史记录 + * @param {number} current 页数 + * @param {ApiJdV2OrderHistoryGetPageSizeEnum} pageSize 页码 + * @param {string} orderNo 订单号 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiJdV2OrderHistoryGet( + current: number, + pageSize: ApiJdV2OrderHistoryGetPageSizeEnum, + orderNo: string, + options?: RawAxiosRequestConfig + ): Promise< + ( + axios?: AxiosInstance, + basePath?: string + ) => AxiosPromise + > { + const localVarAxiosArgs = + await localVarAxiosParamCreator.apiJdV2OrderHistoryGet( + current, + pageSize, + orderNo, + options + ); + const localVarOperationServerIndex = configuration?.serverIndex ?? 0; + const localVarOperationServerBasePath = + operationServerMap['JDV2OrderApi.apiJdV2OrderHistoryGet']?.[ + localVarOperationServerIndex + ]?.url; + return (axios, basePath) => + createRequestFunction( + localVarAxiosArgs, + globalAxios, + BASE_PATH, + configuration + )(axios, localVarOperationServerBasePath || basePath); + }, + /** + * + * @summary 订单列表 + * @param {number} current 页数 + * @param {ApiJdV2OrderListGetPageSizeEnum} pageSize 页码 + * @param {string} [merchantOrderId] 商户订单号 + * @param {string} [orderNo] 系统订单号 + * @param {number} [accountId] 账号ID + * @param {ApiJdV2OrderListGetStatusEnum} [status] 订单状态 + * @param {ApiJdV2OrderListGetPayStatusEnum} [payStatus] 支付状态 + * @param {Array} [dateRange] 时间范围 + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiJdV2OrderListGet( + current: number, + pageSize: ApiJdV2OrderListGetPageSizeEnum, + merchantOrderId?: string, + orderNo?: string, + accountId?: number, + status?: ApiJdV2OrderListGetStatusEnum, + payStatus?: ApiJdV2OrderListGetPayStatusEnum, + dateRange?: Array, + options?: RawAxiosRequestConfig + ): Promise< + ( + axios?: AxiosInstance, + basePath?: string + ) => AxiosPromise + > { + const localVarAxiosArgs = + await localVarAxiosParamCreator.apiJdV2OrderListGet( + current, + pageSize, + merchantOrderId, + orderNo, + accountId, + status, + payStatus, + dateRange, + options + ); + const localVarOperationServerIndex = configuration?.serverIndex ?? 0; + const localVarOperationServerBasePath = + operationServerMap['JDV2OrderApi.apiJdV2OrderListGet']?.[ + localVarOperationServerIndex + ]?.url; + return (axios, basePath) => + createRequestFunction( + localVarAxiosArgs, + globalAxios, + BASE_PATH, + configuration + )(axios, localVarOperationServerBasePath || basePath); + }, + /** + * + * @summary 提交订单 + * @param {KamiApiCamelOilV1SubmitOrderReq} [kamiApiCamelOilV1SubmitOrderReq] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async apiJdV2OrderSubmitPost( + kamiApiCamelOilV1SubmitOrderReq?: KamiApiCamelOilV1SubmitOrderReq, + options?: RawAxiosRequestConfig + ): Promise< + ( + axios?: AxiosInstance, + basePath?: string + ) => AxiosPromise + > { + const localVarAxiosArgs = + await localVarAxiosParamCreator.apiJdV2OrderSubmitPost( + kamiApiCamelOilV1SubmitOrderReq, + options + ); + const localVarOperationServerIndex = configuration?.serverIndex ?? 0; + const localVarOperationServerBasePath = + operationServerMap['JDV2OrderApi.apiJdV2OrderSubmitPost']?.[ + localVarOperationServerIndex + ]?.url; + return (axios, basePath) => + createRequestFunction( + localVarAxiosArgs, + globalAxios, + BASE_PATH, + configuration + )(axios, localVarOperationServerBasePath || basePath); + } + }; +}; + +/** + * JDV2OrderApi - factory interface + */ +export const JDV2OrderApiFactory = function ( + configuration?: Configuration, + basePath?: string, + axios?: AxiosInstance +) { + const localVarFp = JDV2OrderApiFp(configuration); + return { + /** + * + * @summary 账号历史订单 + * @param {JDV2OrderApiApiJdV2OrderAccountOrdersGetRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiJdV2OrderAccountOrdersGet( + requestParameters: JDV2OrderApiApiJdV2OrderAccountOrdersGetRequest, + options?: RawAxiosRequestConfig + ): AxiosPromise { + return localVarFp + .apiJdV2OrderAccountOrdersGet( + requestParameters.current, + requestParameters.pageSize, + requestParameters.accountId, + requestParameters.status, + requestParameters.payStatus, + requestParameters.dateRange, + options + ) + .then(request => request(axios, basePath)); + }, + /** + * + * @summary 手动回调 + * @param {JDV2OrderApiApiJdV2OrderCallbackPostRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiJdV2OrderCallbackPost( + requestParameters: JDV2OrderApiApiJdV2OrderCallbackPostRequest = {}, + options?: RawAxiosRequestConfig + ): AxiosPromise { + return localVarFp + .apiJdV2OrderCallbackPost( + requestParameters.kamiApiCamelOilV1OrderCallbackReq, + options + ) + .then(request => request(axios, basePath)); + }, + /** + * + * @summary 订单详情 + * @param {JDV2OrderApiApiJdV2OrderDetailGetRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiJdV2OrderDetailGet( + requestParameters: JDV2OrderApiApiJdV2OrderDetailGetRequest, + options?: RawAxiosRequestConfig + ): AxiosPromise { + return localVarFp + .apiJdV2OrderDetailGet(requestParameters.orderNo, options) + .then(request => request(axios, basePath)); + }, + /** + * + * @summary 订单历史记录 + * @param {JDV2OrderApiApiJdV2OrderHistoryGetRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiJdV2OrderHistoryGet( + requestParameters: JDV2OrderApiApiJdV2OrderHistoryGetRequest, + options?: RawAxiosRequestConfig + ): AxiosPromise { + return localVarFp + .apiJdV2OrderHistoryGet( + requestParameters.current, + requestParameters.pageSize, + requestParameters.orderNo, + options + ) + .then(request => request(axios, basePath)); + }, + /** + * + * @summary 订单列表 + * @param {JDV2OrderApiApiJdV2OrderListGetRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiJdV2OrderListGet( + requestParameters: JDV2OrderApiApiJdV2OrderListGetRequest, + options?: RawAxiosRequestConfig + ): AxiosPromise { + return localVarFp + .apiJdV2OrderListGet( + requestParameters.current, + requestParameters.pageSize, + requestParameters.merchantOrderId, + requestParameters.orderNo, + requestParameters.accountId, + requestParameters.status, + requestParameters.payStatus, + requestParameters.dateRange, + options + ) + .then(request => request(axios, basePath)); + }, + /** + * + * @summary 提交订单 + * @param {JDV2OrderApiApiJdV2OrderSubmitPostRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiJdV2OrderSubmitPost( + requestParameters: JDV2OrderApiApiJdV2OrderSubmitPostRequest = {}, + options?: RawAxiosRequestConfig + ): AxiosPromise { + return localVarFp + .apiJdV2OrderSubmitPost( + requestParameters.kamiApiCamelOilV1SubmitOrderReq, + options + ) + .then(request => request(axios, basePath)); + } + }; +}; + +/** + * JDV2OrderApi - interface + */ +export interface JDV2OrderApiInterface { + /** + * + * @summary 账号历史订单 + * @param {JDV2OrderApiApiJdV2OrderAccountOrdersGetRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiJdV2OrderAccountOrdersGet( + requestParameters: JDV2OrderApiApiJdV2OrderAccountOrdersGetRequest, + options?: RawAxiosRequestConfig + ): AxiosPromise; + + /** + * + * @summary 手动回调 + * @param {JDV2OrderApiApiJdV2OrderCallbackPostRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiJdV2OrderCallbackPost( + requestParameters?: JDV2OrderApiApiJdV2OrderCallbackPostRequest, + options?: RawAxiosRequestConfig + ): AxiosPromise; + + /** + * + * @summary 订单详情 + * @param {JDV2OrderApiApiJdV2OrderDetailGetRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiJdV2OrderDetailGet( + requestParameters: JDV2OrderApiApiJdV2OrderDetailGetRequest, + options?: RawAxiosRequestConfig + ): AxiosPromise; + + /** + * + * @summary 订单历史记录 + * @param {JDV2OrderApiApiJdV2OrderHistoryGetRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiJdV2OrderHistoryGet( + requestParameters: JDV2OrderApiApiJdV2OrderHistoryGetRequest, + options?: RawAxiosRequestConfig + ): AxiosPromise; + + /** + * + * @summary 订单列表 + * @param {JDV2OrderApiApiJdV2OrderListGetRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiJdV2OrderListGet( + requestParameters: JDV2OrderApiApiJdV2OrderListGetRequest, + options?: RawAxiosRequestConfig + ): AxiosPromise; + + /** + * + * @summary 提交订单 + * @param {JDV2OrderApiApiJdV2OrderSubmitPostRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + apiJdV2OrderSubmitPost( + requestParameters?: JDV2OrderApiApiJdV2OrderSubmitPostRequest, + options?: RawAxiosRequestConfig + ): AxiosPromise; +} + +/** + * Request parameters for apiJdV2OrderAccountOrdersGet operation in JDV2OrderApi. + */ +export interface JDV2OrderApiApiJdV2OrderAccountOrdersGetRequest { + /** + * 页数 + */ + readonly current: number; + + /** + * 页码 + */ + readonly pageSize: ApiJdV2OrderAccountOrdersGetPageSizeEnum; + + /** + * 账号ID + */ + readonly accountId: number; + + /** + * 订单状态筛选 + */ + readonly status?: ApiJdV2OrderAccountOrdersGetStatusEnum; + + /** + * 支付状态筛选 + */ + readonly payStatus?: ApiJdV2OrderAccountOrdersGetPayStatusEnum; + + /** + * 时间范围 + */ + readonly dateRange?: Array; +} + +/** + * Request parameters for apiJdV2OrderCallbackPost operation in JDV2OrderApi. + */ +export interface JDV2OrderApiApiJdV2OrderCallbackPostRequest { + readonly kamiApiCamelOilV1OrderCallbackReq?: KamiApiCamelOilV1OrderCallbackReq; +} + +/** + * Request parameters for apiJdV2OrderDetailGet operation in JDV2OrderApi. + */ +export interface JDV2OrderApiApiJdV2OrderDetailGetRequest { + /** + * 订单号 + */ + readonly orderNo: string; +} + +/** + * Request parameters for apiJdV2OrderHistoryGet operation in JDV2OrderApi. + */ +export interface JDV2OrderApiApiJdV2OrderHistoryGetRequest { + /** + * 页数 + */ + readonly current: number; + + /** + * 页码 + */ + readonly pageSize: ApiJdV2OrderHistoryGetPageSizeEnum; + + /** + * 订单号 + */ + readonly orderNo: string; +} + +/** + * Request parameters for apiJdV2OrderListGet operation in JDV2OrderApi. + */ +export interface JDV2OrderApiApiJdV2OrderListGetRequest { + /** + * 页数 + */ + readonly current: number; + + /** + * 页码 + */ + readonly pageSize: ApiJdV2OrderListGetPageSizeEnum; + + /** + * 商户订单号 + */ + readonly merchantOrderId?: string; + + /** + * 系统订单号 + */ + readonly orderNo?: string; + + /** + * 账号ID + */ + readonly accountId?: number; + + /** + * 订单状态 + */ + readonly status?: ApiJdV2OrderListGetStatusEnum; + + /** + * 支付状态 + */ + readonly payStatus?: ApiJdV2OrderListGetPayStatusEnum; + + /** + * 时间范围 + */ + readonly dateRange?: Array; +} + +/** + * Request parameters for apiJdV2OrderSubmitPost operation in JDV2OrderApi. + */ +export interface JDV2OrderApiApiJdV2OrderSubmitPostRequest { + readonly kamiApiCamelOilV1SubmitOrderReq?: KamiApiCamelOilV1SubmitOrderReq; +} + +/** + * JDV2OrderApi - object-oriented interface + */ +export class JDV2OrderApi extends BaseAPI implements JDV2OrderApiInterface { + /** + * + * @summary 账号历史订单 + * @param {JDV2OrderApiApiJdV2OrderAccountOrdersGetRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + public apiJdV2OrderAccountOrdersGet( + requestParameters: JDV2OrderApiApiJdV2OrderAccountOrdersGetRequest, + options?: RawAxiosRequestConfig + ) { + return JDV2OrderApiFp(this.configuration) + .apiJdV2OrderAccountOrdersGet( + requestParameters.current, + requestParameters.pageSize, + requestParameters.accountId, + requestParameters.status, + requestParameters.payStatus, + requestParameters.dateRange, + options + ) + .then(request => request(this.axios, this.basePath)); + } + + /** + * + * @summary 手动回调 + * @param {JDV2OrderApiApiJdV2OrderCallbackPostRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + public apiJdV2OrderCallbackPost( + requestParameters: JDV2OrderApiApiJdV2OrderCallbackPostRequest = {}, + options?: RawAxiosRequestConfig + ) { + return JDV2OrderApiFp(this.configuration) + .apiJdV2OrderCallbackPost( + requestParameters.kamiApiCamelOilV1OrderCallbackReq, + options + ) + .then(request => request(this.axios, this.basePath)); + } + + /** + * + * @summary 订单详情 + * @param {JDV2OrderApiApiJdV2OrderDetailGetRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + public apiJdV2OrderDetailGet( + requestParameters: JDV2OrderApiApiJdV2OrderDetailGetRequest, + options?: RawAxiosRequestConfig + ) { + return JDV2OrderApiFp(this.configuration) + .apiJdV2OrderDetailGet(requestParameters.orderNo, options) + .then(request => request(this.axios, this.basePath)); + } + + /** + * + * @summary 订单历史记录 + * @param {JDV2OrderApiApiJdV2OrderHistoryGetRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + public apiJdV2OrderHistoryGet( + requestParameters: JDV2OrderApiApiJdV2OrderHistoryGetRequest, + options?: RawAxiosRequestConfig + ) { + return JDV2OrderApiFp(this.configuration) + .apiJdV2OrderHistoryGet( + requestParameters.current, + requestParameters.pageSize, + requestParameters.orderNo, + options + ) + .then(request => request(this.axios, this.basePath)); + } + + /** + * + * @summary 订单列表 + * @param {JDV2OrderApiApiJdV2OrderListGetRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + public apiJdV2OrderListGet( + requestParameters: JDV2OrderApiApiJdV2OrderListGetRequest, + options?: RawAxiosRequestConfig + ) { + return JDV2OrderApiFp(this.configuration) + .apiJdV2OrderListGet( + requestParameters.current, + requestParameters.pageSize, + requestParameters.merchantOrderId, + requestParameters.orderNo, + requestParameters.accountId, + requestParameters.status, + requestParameters.payStatus, + requestParameters.dateRange, + options + ) + .then(request => request(this.axios, this.basePath)); + } + + /** + * + * @summary 提交订单 + * @param {JDV2OrderApiApiJdV2OrderSubmitPostRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + public apiJdV2OrderSubmitPost( + requestParameters: JDV2OrderApiApiJdV2OrderSubmitPostRequest = {}, + options?: RawAxiosRequestConfig + ) { + return JDV2OrderApiFp(this.configuration) + .apiJdV2OrderSubmitPost( + requestParameters.kamiApiCamelOilV1SubmitOrderReq, + options + ) + .then(request => request(this.axios, this.basePath)); + } +} + +export enum ApiJdV2OrderAccountOrdersGetPageSizeEnum { + NUMBER_5 = 5, + NUMBER_10 = 10, + NUMBER_15 = 15, + NUMBER_20 = 20, + NUMBER_50 = 50, + NUMBER_100 = 100 +} +export enum ApiJdV2OrderAccountOrdersGetStatusEnum { + NUMBER_2 = 2, + NUMBER_3 = 3, + NUMBER_0 = 0, + NUMBER_1 = 1 +} +export enum ApiJdV2OrderAccountOrdersGetPayStatusEnum { + NUMBER_1 = 1, + NUMBER_2 = 2, + NUMBER_3 = 3, + NUMBER_0 = 0 +} +export enum ApiJdV2OrderHistoryGetPageSizeEnum { + NUMBER_5 = 5, + NUMBER_10 = 10, + NUMBER_15 = 15, + NUMBER_20 = 20, + NUMBER_50 = 50, + NUMBER_100 = 100 +} +export enum ApiJdV2OrderListGetPageSizeEnum { + NUMBER_5 = 5, + NUMBER_10 = 10, + NUMBER_15 = 15, + NUMBER_20 = 20, + NUMBER_50 = 50, + NUMBER_100 = 100 +} +export enum ApiJdV2OrderListGetStatusEnum { + NUMBER_2 = 2, + NUMBER_3 = 3, + NUMBER_0 = 0, + NUMBER_1 = 1 +} +export enum ApiJdV2OrderListGetPayStatusEnum { + NUMBER_1 = 1, + NUMBER_2 = 2, + NUMBER_3 = 3, + NUMBER_0 = 0 +} diff --git a/src/api/generated/docs/DefaultApi.md b/src/api/generated/docs/DefaultApi.md index db05bdb..33bceef 100644 --- a/src/api/generated/docs/DefaultApi.md +++ b/src/api/generated/docs/DefaultApi.md @@ -4,6 +4,7 @@ All URIs are relative to _http://localhost_ | Method | HTTP request | Description | | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------- | --------------------------------------------- | +| [**apiAesEncryptionParamsGet**](#apiaesencryptionparamsget) | **GET** /api/aes/encryption/params | 获取 AES 加密参数(密钥和初始化向量) | | [**apiCaptchaGet**](#apicaptchaget) | **GET** /api/captcha | 获取验证码接口 | | [**apiCardInfoAppleCardAccountBatchAddPost**](#apicardinfoapplecardaccountbatchaddpost) | **POST** /api/cardInfo/AppleCard/account/batchAdd | 批量导入账户 | | [**apiCardInfoAppleCardAccountCreatePost**](#apicardinfoapplecardaccountcreatepost) | **POST** /api/cardInfo/AppleCard/account/create | 创建苹果账户 | @@ -205,6 +206,46 @@ All URIs are relative to _http://localhost_ | [**apiUserSetStatusPut**](#apiusersetstatusput) | **PUT** /api/user/setStatus | 设置用户状态 | | [**apiUserStatusPauseOrRestartPut**](#apiuserstatuspauseorrestartput) | **PUT** /api/user/status/pauseOrRestart | 暂停/恢复账号充值 | +# **apiAesEncryptionParamsGet** + +> KamiApiRestrictionV1GetAESEncryptionParamsRes apiAesEncryptionParamsGet() + +### Example + +```typescript +import { DefaultApi, Configuration } from './api'; + +const configuration = new Configuration(); +const apiInstance = new DefaultApi(configuration); + +const { status, data } = await apiInstance.apiAesEncryptionParamsGet(); +``` + +### Parameters + +This endpoint does not have any parameters. + +### Return type + +**KamiApiRestrictionV1GetAESEncryptionParamsRes** + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +| ----------- | ----------- | ---------------- | +| **200** | | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **apiCaptchaGet** > KamiApiValidationV1GetCaptchaRes apiCaptchaGet() diff --git a/src/api/generated/docs/JDV2AccountApi.md b/src/api/generated/docs/JDV2AccountApi.md new file mode 100644 index 0000000..9852528 --- /dev/null +++ b/src/api/generated/docs/JDV2AccountApi.md @@ -0,0 +1,212 @@ +# JDV2AccountApi + +All URIs are relative to _http://localhost_ + +| Method | HTTP request | Description | +| --------------------------------------------------------------- | ------------------------------------- | ------------ | +| [**apiJdV2AccountCheckPost**](#apijdv2accountcheckpost) | **POST** /api/jd-v2/account/check | 棂测账号状态 | +| [**apiJdV2AccountHistoryGet**](#apijdv2accounthistoryget) | **GET** /api/jd-v2/account/history | 账号历史记录 | +| [**apiJdV2AccountListGet**](#apijdv2accountlistget) | **GET** /api/jd-v2/account/list | 账号列表 | +| [**apiJdV2AccountStatisticsGet**](#apijdv2accountstatisticsget) | **GET** /api/jd-v2/account/statistics | 账号统计信息 | + +# **apiJdV2AccountCheckPost** + +> KamiApiCamelOilV1CheckAccountRes apiJdV2AccountCheckPost() + +### Example + +```typescript +import { + JDV2AccountApi, + Configuration, + KamiApiCamelOilV1CheckAccountReq +} from './api'; + +const configuration = new Configuration(); +const apiInstance = new JDV2AccountApi(configuration); + +let kamiApiCamelOilV1CheckAccountReq: KamiApiCamelOilV1CheckAccountReq; // (optional) + +const { status, data } = await apiInstance.apiJdV2AccountCheckPost( + kamiApiCamelOilV1CheckAccountReq +); +``` + +### Parameters + +| Name | Type | Description | Notes | +| ------------------------------------ | ------------------------------------ | ----------- | ----- | +| **kamiApiCamelOilV1CheckAccountReq** | **KamiApiCamelOilV1CheckAccountReq** | | | + +### Return type + +**KamiApiCamelOilV1CheckAccountRes** + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +| ----------- | ----------- | ---------------- | +| **200** | | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **apiJdV2AccountHistoryGet** + +> KamiApiCamelOilV1AccountHistoryRes apiJdV2AccountHistoryGet() + +### Example + +```typescript +import { JDV2AccountApi, Configuration } from './api'; + +const configuration = new Configuration(); +const apiInstance = new JDV2AccountApi(configuration); + +let current: number; //页数 (default to undefined) +let pageSize: 5 | 10 | 15 | 20 | 50 | 100; //页码 (default to undefined) +let accountId: number; //账号ID (default to undefined) + +const { status, data } = await apiInstance.apiJdV2AccountHistoryGet( + current, + pageSize, + accountId +); +``` + +### Parameters + +| Name | Type | Description | Notes | +| ------------- | ------------ | ----------- | --------------------- | --- | --- | ----------------------------------------------------------------------- | ---- | --------------------- | +| **current** | [**number**] | 页数 | defaults to undefined | +| **pageSize** | [\*\*5 | 10 | 15 | 20 | 50 | 100**]**Array<5 | 10 | 15 | 20 | 50 | 100>\*\* | 页码 | defaults to undefined | +| **accountId** | [**number**] | 账号ID | defaults to undefined | + +### Return type + +**KamiApiCamelOilV1AccountHistoryRes** + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +| ----------- | ----------- | ---------------- | +| **200** | | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **apiJdV2AccountListGet** + +> KamiApiCamelOilV1ListAccountRes apiJdV2AccountListGet() + +### Example + +```typescript +import { JDV2AccountApi, Configuration } from './api'; + +const configuration = new Configuration(); +const apiInstance = new JDV2AccountApi(configuration); + +let current: number; //页数 (default to undefined) +let pageSize: 5 | 10 | 15 | 20 | 50 | 100; //页码 (default to undefined) +let status: 4 | 1 | 2 | 3 | 0; //状态筛选 (optional) (default to undefined) +let keyword: string; //关键词搜索(账号名称/手机号) (optional) (default to undefined) + +const { status, data } = await apiInstance.apiJdV2AccountListGet( + current, + pageSize, + status, + keyword +); +``` + +### Parameters + +| Name | Type | Description | Notes | +| ------------ | ------------ | ----------------------------- | -------------------------------- | --- | ------------------------------------------------------ | ----------------------------------------------------------------------- | -------------------------------- | --------------------- | +| **current** | [**number**] | 页数 | defaults to undefined | +| **pageSize** | [\*\*5 | 10 | 15 | 20 | 50 | 100**]**Array<5 | 10 | 15 | 20 | 50 | 100>\*\* | 页码 | defaults to undefined | +| **status** | [\*\*4 | 1 | 2 | 3 | 0**]**Array<4 | 1 | 2 | 3 | 0>\*\* | 状态筛选 | (optional) defaults to undefined | +| **keyword** | [**string**] | 关键词搜索(账号名称/手机号) | (optional) defaults to undefined | + +### Return type + +**KamiApiCamelOilV1ListAccountRes** + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +| ----------- | ----------- | ---------------- | +| **200** | | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **apiJdV2AccountStatisticsGet** + +> KamiApiCamelOilV1AccountStatisticsRes apiJdV2AccountStatisticsGet() + +### Example + +```typescript +import { JDV2AccountApi, Configuration } from './api'; + +const configuration = new Configuration(); +const apiInstance = new JDV2AccountApi(configuration); + +let accountId: number; //账号ID (default to undefined) + +const { status, data } = + await apiInstance.apiJdV2AccountStatisticsGet(accountId); +``` + +### Parameters + +| Name | Type | Description | Notes | +| ------------- | ------------ | ----------- | --------------------- | +| **accountId** | [**number**] | 账号ID | defaults to undefined | + +### Return type + +**KamiApiCamelOilV1AccountStatisticsRes** + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +| ----------- | ----------- | ---------------- | +| **200** | | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/JDV2OrderApi.md b/src/api/generated/docs/JDV2OrderApi.md new file mode 100644 index 0000000..20f4b27 --- /dev/null +++ b/src/api/generated/docs/JDV2OrderApi.md @@ -0,0 +1,336 @@ +# JDV2OrderApi + +All URIs are relative to _http://localhost_ + +| Method | HTTP request | Description | +| ----------------------------------------------------------------- | -------------------------------------- | ------------ | +| [**apiJdV2OrderAccountOrdersGet**](#apijdv2orderaccountordersget) | **GET** /api/jd-v2/order/accountOrders | 账号历史订单 | +| [**apiJdV2OrderCallbackPost**](#apijdv2ordercallbackpost) | **POST** /api/jd-v2/order/callback | 手动回调 | +| [**apiJdV2OrderDetailGet**](#apijdv2orderdetailget) | **GET** /api/jd-v2/order/detail | 订单详情 | +| [**apiJdV2OrderHistoryGet**](#apijdv2orderhistoryget) | **GET** /api/jd-v2/order/history | 订单历史记录 | +| [**apiJdV2OrderListGet**](#apijdv2orderlistget) | **GET** /api/jd-v2/order/list | 订单列表 | +| [**apiJdV2OrderSubmitPost**](#apijdv2ordersubmitpost) | **POST** /api/jd-v2/order/submit | 提交订单 | + +# **apiJdV2OrderAccountOrdersGet** + +> KamiApiCamelOilV1AccountOrderListRes apiJdV2OrderAccountOrdersGet() + +### Example + +```typescript +import { JDV2OrderApi, Configuration } from './api'; + +const configuration = new Configuration(); +const apiInstance = new JDV2OrderApi(configuration); + +let current: number; //页数 (default to undefined) +let pageSize: 5 | 10 | 15 | 20 | 50 | 100; //页码 (default to undefined) +let accountId: number; //账号ID (default to undefined) +let status: 2 | 3 | 0 | 1; //订单状态筛选 (optional) (default to undefined) +let payStatus: 1 | 2 | 3 | 0; //支付状态筛选 (optional) (default to undefined) +let dateRange: Array; //时间范围 (optional) (default to undefined) + +const { status, data } = await apiInstance.apiJdV2OrderAccountOrdersGet( + current, + pageSize, + accountId, + status, + payStatus, + dateRange +); +``` + +### Parameters + +| Name | Type | Description | Notes | +| ------------- | ----------------------- | ----------- | -------------------------------- | --------------------------------------------- | ------------ | ----------------------------------------------------------------------- | ---- | --------------------- | +| **current** | [**number**] | 页数 | defaults to undefined | +| **pageSize** | [\*\*5 | 10 | 15 | 20 | 50 | 100**]**Array<5 | 10 | 15 | 20 | 50 | 100>\*\* | 页码 | defaults to undefined | +| **accountId** | [**number**] | 账号ID | defaults to undefined | +| **status** | [\*\*2 | 3 | 0 | 1**]**Array<2 | 3 | 0 | 1>\*\* | 订单状态筛选 | (optional) defaults to undefined | +| **payStatus** | [\*\*1 | 2 | 3 | 0**]**Array<1 | 2 | 3 | 0>\*\* | 支付状态筛选 | (optional) defaults to undefined | +| **dateRange** | **Array<string>** | 时间范围 | (optional) defaults to undefined | + +### Return type + +**KamiApiCamelOilV1AccountOrderListRes** + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +| ----------- | ----------- | ---------------- | +| **200** | | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **apiJdV2OrderCallbackPost** + +> KamiApiCamelOilV1OrderCallbackRes apiJdV2OrderCallbackPost() + +### Example + +```typescript +import { + JDV2OrderApi, + Configuration, + KamiApiCamelOilV1OrderCallbackReq +} from './api'; + +const configuration = new Configuration(); +const apiInstance = new JDV2OrderApi(configuration); + +let kamiApiCamelOilV1OrderCallbackReq: KamiApiCamelOilV1OrderCallbackReq; // (optional) + +const { status, data } = await apiInstance.apiJdV2OrderCallbackPost( + kamiApiCamelOilV1OrderCallbackReq +); +``` + +### Parameters + +| Name | Type | Description | Notes | +| ------------------------------------- | ------------------------------------- | ----------- | ----- | +| **kamiApiCamelOilV1OrderCallbackReq** | **KamiApiCamelOilV1OrderCallbackReq** | | | + +### Return type + +**KamiApiCamelOilV1OrderCallbackRes** + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +| ----------- | ----------- | ---------------- | +| **200** | | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **apiJdV2OrderDetailGet** + +> KamiApiCamelOilV1OrderDetailRes apiJdV2OrderDetailGet() + +### Example + +```typescript +import { JDV2OrderApi, Configuration } from './api'; + +const configuration = new Configuration(); +const apiInstance = new JDV2OrderApi(configuration); + +let orderNo: string; //订单号 (default to undefined) + +const { status, data } = await apiInstance.apiJdV2OrderDetailGet(orderNo); +``` + +### Parameters + +| Name | Type | Description | Notes | +| ----------- | ------------ | ----------- | --------------------- | +| **orderNo** | [**string**] | 订单号 | defaults to undefined | + +### Return type + +**KamiApiCamelOilV1OrderDetailRes** + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +| ----------- | ----------- | ---------------- | +| **200** | | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **apiJdV2OrderHistoryGet** + +> KamiApiCamelOilV1OrderHistoryRes apiJdV2OrderHistoryGet() + +### Example + +```typescript +import { JDV2OrderApi, Configuration } from './api'; + +const configuration = new Configuration(); +const apiInstance = new JDV2OrderApi(configuration); + +let current: number; //页数 (default to undefined) +let pageSize: 5 | 10 | 15 | 20 | 50 | 100; //页码 (default to undefined) +let orderNo: string; //订单号 (default to undefined) + +const { status, data } = await apiInstance.apiJdV2OrderHistoryGet( + current, + pageSize, + orderNo +); +``` + +### Parameters + +| Name | Type | Description | Notes | +| ------------ | ------------ | ----------- | --------------------- | --- | --- | ----------------------------------------------------------------------- | ---- | --------------------- | +| **current** | [**number**] | 页数 | defaults to undefined | +| **pageSize** | [\*\*5 | 10 | 15 | 20 | 50 | 100**]**Array<5 | 10 | 15 | 20 | 50 | 100>\*\* | 页码 | defaults to undefined | +| **orderNo** | [**string**] | 订单号 | defaults to undefined | + +### Return type + +**KamiApiCamelOilV1OrderHistoryRes** + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +| ----------- | ----------- | ---------------- | +| **200** | | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **apiJdV2OrderListGet** + +> KamiApiCamelOilV1ListOrderRes apiJdV2OrderListGet() + +### Example + +```typescript +import { JDV2OrderApi, Configuration } from './api'; + +const configuration = new Configuration(); +const apiInstance = new JDV2OrderApi(configuration); + +let current: number; //页数 (default to undefined) +let pageSize: 5 | 10 | 15 | 20 | 50 | 100; //页码 (default to undefined) +let merchantOrderId: string; //商户订单号 (optional) (default to undefined) +let orderNo: string; //系统订单号 (optional) (default to undefined) +let accountId: number; //账号ID (optional) (default to undefined) +let status: 2 | 3 | 0 | 1; //订单状态 (optional) (default to undefined) +let payStatus: 1 | 2 | 3 | 0; //支付状态 (optional) (default to undefined) +let dateRange: Array; //时间范围 (optional) (default to undefined) + +const { status, data } = await apiInstance.apiJdV2OrderListGet( + current, + pageSize, + merchantOrderId, + orderNo, + accountId, + status, + payStatus, + dateRange +); +``` + +### Parameters + +| Name | Type | Description | Notes | +| ------------------- | ----------------------- | ----------- | -------------------------------- | --------------------------------------------- | -------- | ----------------------------------------------------------------------- | ---- | --------------------- | +| **current** | [**number**] | 页数 | defaults to undefined | +| **pageSize** | [\*\*5 | 10 | 15 | 20 | 50 | 100**]**Array<5 | 10 | 15 | 20 | 50 | 100>\*\* | 页码 | defaults to undefined | +| **merchantOrderId** | [**string**] | 商户订单号 | (optional) defaults to undefined | +| **orderNo** | [**string**] | 系统订单号 | (optional) defaults to undefined | +| **accountId** | [**number**] | 账号ID | (optional) defaults to undefined | +| **status** | [\*\*2 | 3 | 0 | 1**]**Array<2 | 3 | 0 | 1>\*\* | 订单状态 | (optional) defaults to undefined | +| **payStatus** | [\*\*1 | 2 | 3 | 0**]**Array<1 | 2 | 3 | 0>\*\* | 支付状态 | (optional) defaults to undefined | +| **dateRange** | **Array<string>** | 时间范围 | (optional) defaults to undefined | + +### Return type + +**KamiApiCamelOilV1ListOrderRes** + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +| ----------- | ----------- | ---------------- | +| **200** | | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **apiJdV2OrderSubmitPost** + +> KamiApiCamelOilV1SubmitOrderRes apiJdV2OrderSubmitPost() + +### Example + +```typescript +import { + JDV2OrderApi, + Configuration, + KamiApiCamelOilV1SubmitOrderReq +} from './api'; + +const configuration = new Configuration(); +const apiInstance = new JDV2OrderApi(configuration); + +let kamiApiCamelOilV1SubmitOrderReq: KamiApiCamelOilV1SubmitOrderReq; // (optional) + +const { status, data } = await apiInstance.apiJdV2OrderSubmitPost( + kamiApiCamelOilV1SubmitOrderReq +); +``` + +### Parameters + +| Name | Type | Description | Notes | +| ----------------------------------- | ----------------------------------- | ----------- | ----- | +| **kamiApiCamelOilV1SubmitOrderReq** | **KamiApiCamelOilV1SubmitOrderReq** | | | + +### Return type + +**KamiApiCamelOilV1SubmitOrderRes** + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +| ----------- | ----------- | ---------------- | +| **200** | | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiCamelOilV1AccountHistoryItem.md b/src/api/generated/docs/KamiApiCamelOilV1AccountHistoryItem.md new file mode 100644 index 0000000..76651bc --- /dev/null +++ b/src/api/generated/docs/KamiApiCamelOilV1AccountHistoryItem.md @@ -0,0 +1,35 @@ +# KamiApiCamelOilV1AccountHistoryItem + +## Properties + +| Name | Type | Description | Notes | +| ---------------- | ---------- | ------------ | --------------------------------- | +| **historyUuid** | **string** | 历史记录UUID | [optional] [default to undefined] | +| **accountId** | **number** | 账号ID | [optional] [default to undefined] | +| **changeType** | **string** | 变更类型 | [optional] [default to undefined] | +| **changeText** | **string** | 变更类型文本 | [optional] [default to undefined] | +| **statusBefore** | **number** | 变更前状态 | [optional] [default to undefined] | +| **statusAfter** | **number** | 变更后状态 | [optional] [default to undefined] | +| **failureCount** | **number** | 失败次数 | [optional] [default to undefined] | +| **remark** | **string** | 备注 | [optional] [default to undefined] | +| **createdAt** | **string** | 创建时间 | [optional] [default to undefined] | + +## Example + +```typescript +import { KamiApiCamelOilV1AccountHistoryItem } from './api'; + +const instance: KamiApiCamelOilV1AccountHistoryItem = { + historyUuid, + accountId, + changeType, + changeText, + statusBefore, + statusAfter, + failureCount, + remark, + createdAt +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiCamelOilV1AccountHistoryReq.md b/src/api/generated/docs/KamiApiCamelOilV1AccountHistoryReq.md new file mode 100644 index 0000000..375abcd --- /dev/null +++ b/src/api/generated/docs/KamiApiCamelOilV1AccountHistoryReq.md @@ -0,0 +1,23 @@ +# KamiApiCamelOilV1AccountHistoryReq + +## Properties + +| Name | Type | Description | Notes | +| ------------- | ---------- | ----------- | ---------------------- | +| **current** | **number** | 页数 | [default to undefined] | +| **pageSize** | **number** | 页码 | [default to undefined] | +| **accountId** | **number** | 账号ID | [default to undefined] | + +## Example + +```typescript +import { KamiApiCamelOilV1AccountHistoryReq } from './api'; + +const instance: KamiApiCamelOilV1AccountHistoryReq = { + current, + pageSize, + accountId +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiCamelOilV1AccountHistoryRes.md b/src/api/generated/docs/KamiApiCamelOilV1AccountHistoryRes.md new file mode 100644 index 0000000..35bca37 --- /dev/null +++ b/src/api/generated/docs/KamiApiCamelOilV1AccountHistoryRes.md @@ -0,0 +1,21 @@ +# KamiApiCamelOilV1AccountHistoryRes + +## Properties + +| Name | Type | Description | Notes | +| --------- | ---------------------------------------------------------------------------------------------- | ----------- | --------------------------------- | +| **total** | **number** | | [optional] [default to undefined] | +| **list** | [**Array<KamiApiCamelOilV1AccountHistoryItem>**](KamiApiCamelOilV1AccountHistoryItem.md) | | [optional] [default to undefined] | + +## Example + +```typescript +import { KamiApiCamelOilV1AccountHistoryRes } from './api'; + +const instance: KamiApiCamelOilV1AccountHistoryRes = { + total, + list +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiCamelOilV1AccountListItem.md b/src/api/generated/docs/KamiApiCamelOilV1AccountListItem.md new file mode 100644 index 0000000..5205e8b --- /dev/null +++ b/src/api/generated/docs/KamiApiCamelOilV1AccountListItem.md @@ -0,0 +1,49 @@ +# KamiApiCamelOilV1AccountListItem + +## Properties + +| Name | Type | Description | Notes | +| ------------------- | ---------- | ---------------------------------- | --------------------------------- | +| **accountId** | **number** | 账号ID | [optional] [default to undefined] | +| **accountName** | **string** | 账号名称 | [optional] [default to undefined] | +| **phone** | **string** | 手机号(脱敏) | [optional] [default to undefined] | +| **status** | **number** | 状态 | [optional] [default to undefined] | +| **statusText** | **string** | 状态文本 | [optional] [default to undefined] | +| **dailyOrderCount** | **number** | 当日下单数 | [optional] [default to undefined] | +| **dailyOrderDate** | **string** | 当日日期 | [optional] [default to undefined] | +| **totalOrderCount** | **number** | 累计下单数 | [optional] [default to undefined] | +| **lastUsedAt** | **string** | 最后使用时间 | [optional] [default to undefined] | +| **lastLoginAt** | **string** | 最后登录时间 | [optional] [default to undefined] | +| **tokenExpireAt** | **string** | Token过期时间 | [optional] [default to undefined] | +| **remainingOrders** | **number** | 剩余可下单数(10-dailyOrderCount) | [optional] [default to undefined] | +| **failureReason** | **string** | 失败原因 | [optional] [default to undefined] | +| **remark** | **string** | 备注 | [optional] [default to undefined] | +| **createdAt** | **string** | 创建时间 | [optional] [default to undefined] | +| **updatedAt** | **string** | 更新时间 | [optional] [default to undefined] | + +## Example + +```typescript +import { KamiApiCamelOilV1AccountListItem } from './api'; + +const instance: KamiApiCamelOilV1AccountListItem = { + accountId, + accountName, + phone, + status, + statusText, + dailyOrderCount, + dailyOrderDate, + totalOrderCount, + lastUsedAt, + lastLoginAt, + tokenExpireAt, + remainingOrders, + failureReason, + remark, + createdAt, + updatedAt +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiCamelOilV1AccountOrderListReq.md b/src/api/generated/docs/KamiApiCamelOilV1AccountOrderListReq.md new file mode 100644 index 0000000..a02d36a --- /dev/null +++ b/src/api/generated/docs/KamiApiCamelOilV1AccountOrderListReq.md @@ -0,0 +1,29 @@ +# KamiApiCamelOilV1AccountOrderListReq + +## Properties + +| Name | Type | Description | Notes | +| ------------- | ----------------------- | ------------ | --------------------------------- | +| **current** | **number** | 页数 | [default to undefined] | +| **pageSize** | **number** | 页码 | [default to undefined] | +| **accountId** | **number** | 账号ID | [default to undefined] | +| **status** | **number** | 订单状态筛选 | [optional] [default to undefined] | +| **payStatus** | **number** | 支付状态筛选 | [optional] [default to undefined] | +| **dateRange** | **Array<string>** | 时间范围 | [optional] [default to undefined] | + +## Example + +```typescript +import { KamiApiCamelOilV1AccountOrderListReq } from './api'; + +const instance: KamiApiCamelOilV1AccountOrderListReq = { + current, + pageSize, + accountId, + status, + payStatus, + dateRange +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiCamelOilV1AccountOrderListRes.md b/src/api/generated/docs/KamiApiCamelOilV1AccountOrderListRes.md new file mode 100644 index 0000000..09ba287 --- /dev/null +++ b/src/api/generated/docs/KamiApiCamelOilV1AccountOrderListRes.md @@ -0,0 +1,21 @@ +# KamiApiCamelOilV1AccountOrderListRes + +## Properties + +| Name | Type | Description | Notes | +| --------------- | --------------------------------------------------------------------------------------------------------- | ----------- | --------------------------------- | +| **accountInfo** | [**KamiApiCamelOilV1AccountOrderListResAccountInfo**](KamiApiCamelOilV1AccountOrderListResAccountInfo.md) | | [optional] [default to undefined] | +| **orderStats** | [**KamiApiCamelOilV1AccountOrderListResOrderStats**](KamiApiCamelOilV1AccountOrderListResOrderStats.md) | | [optional] [default to undefined] | + +## Example + +```typescript +import { KamiApiCamelOilV1AccountOrderListRes } from './api'; + +const instance: KamiApiCamelOilV1AccountOrderListRes = { + accountInfo, + orderStats +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiCamelOilV1AccountOrderListResAccountInfo.md b/src/api/generated/docs/KamiApiCamelOilV1AccountOrderListResAccountInfo.md new file mode 100644 index 0000000..2c75443 --- /dev/null +++ b/src/api/generated/docs/KamiApiCamelOilV1AccountOrderListResAccountInfo.md @@ -0,0 +1,27 @@ +# KamiApiCamelOilV1AccountOrderListResAccountInfo + +## Properties + +| Name | Type | Description | Notes | +| --------------- | ---------- | -------------- | --------------------------------- | +| **accountId** | **number** | 账号ID | [optional] [default to undefined] | +| **accountName** | **string** | 账号名称 | [optional] [default to undefined] | +| **phone** | **string** | 手机号(脱敦) | [optional] [default to undefined] | +| **status** | **number** | 状态 | [optional] [default to undefined] | +| **statusText** | **string** | 状态文本 | [optional] [default to undefined] | + +## Example + +```typescript +import { KamiApiCamelOilV1AccountOrderListResAccountInfo } from './api'; + +const instance: KamiApiCamelOilV1AccountOrderListResAccountInfo = { + accountId, + accountName, + phone, + status, + statusText +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiCamelOilV1AccountOrderListResOrderStats.md b/src/api/generated/docs/KamiApiCamelOilV1AccountOrderListResOrderStats.md new file mode 100644 index 0000000..4db34da --- /dev/null +++ b/src/api/generated/docs/KamiApiCamelOilV1AccountOrderListResOrderStats.md @@ -0,0 +1,25 @@ +# KamiApiCamelOilV1AccountOrderListResOrderStats + +## Properties + +| Name | Type | Description | Notes | +| ----------------- | ---------- | ------------ | --------------------------------- | +| **totalOrders** | **number** | 总订单数 | [optional] [default to undefined] | +| **paidOrders** | **number** | 已支付订单数 | [optional] [default to undefined] | +| **pendingOrders** | **number** | 待支付订单数 | [optional] [default to undefined] | +| **timeoutOrders** | **number** | 超时订单数 | [optional] [default to undefined] | + +## Example + +```typescript +import { KamiApiCamelOilV1AccountOrderListResOrderStats } from './api'; + +const instance: KamiApiCamelOilV1AccountOrderListResOrderStats = { + totalOrders, + paidOrders, + pendingOrders, + timeoutOrders +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiCamelOilV1AccountStatisticsReq.md b/src/api/generated/docs/KamiApiCamelOilV1AccountStatisticsReq.md new file mode 100644 index 0000000..a97b48c --- /dev/null +++ b/src/api/generated/docs/KamiApiCamelOilV1AccountStatisticsReq.md @@ -0,0 +1,19 @@ +# KamiApiCamelOilV1AccountStatisticsReq + +## Properties + +| Name | Type | Description | Notes | +| ------------- | ---------- | ----------- | ---------------------- | +| **accountId** | **number** | 账号ID | [default to undefined] | + +## Example + +```typescript +import { KamiApiCamelOilV1AccountStatisticsReq } from './api'; + +const instance: KamiApiCamelOilV1AccountStatisticsReq = { + accountId +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiCamelOilV1AccountStatisticsRes.md b/src/api/generated/docs/KamiApiCamelOilV1AccountStatisticsRes.md new file mode 100644 index 0000000..21ba4ad --- /dev/null +++ b/src/api/generated/docs/KamiApiCamelOilV1AccountStatisticsRes.md @@ -0,0 +1,25 @@ +# KamiApiCamelOilV1AccountStatisticsRes + +## Properties + +| Name | Type | Description | Notes | +| --------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ----------------------- | --------------------------------- | +| **accountInfo** | [**KamiApiCamelOilV1AccountStatisticsResAccountInfo**](KamiApiCamelOilV1AccountStatisticsResAccountInfo.md) | | [optional] [default to undefined] | +| **orderStats** | [**KamiApiCamelOilV1AccountStatisticsResOrderStats**](KamiApiCamelOilV1AccountStatisticsResOrderStats.md) | | [optional] [default to undefined] | +| **usageInfo** | [**KamiApiCamelOilV1AccountStatisticsResUsageInfo**](KamiApiCamelOilV1AccountStatisticsResUsageInfo.md) | | [optional] [default to undefined] | +| **recentTrend** | [**Array<KamiApiCamelOilV1AccountStatisticsResRecentTrendInner>**](KamiApiCamelOilV1AccountStatisticsResRecentTrendInner.md) | 近期订单趋势(最近7天) | [optional] [default to undefined] | + +## Example + +```typescript +import { KamiApiCamelOilV1AccountStatisticsRes } from './api'; + +const instance: KamiApiCamelOilV1AccountStatisticsRes = { + accountInfo, + orderStats, + usageInfo, + recentTrend +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiCamelOilV1AccountStatisticsResAccountInfo.md b/src/api/generated/docs/KamiApiCamelOilV1AccountStatisticsResAccountInfo.md new file mode 100644 index 0000000..002dfad --- /dev/null +++ b/src/api/generated/docs/KamiApiCamelOilV1AccountStatisticsResAccountInfo.md @@ -0,0 +1,33 @@ +# KamiApiCamelOilV1AccountStatisticsResAccountInfo + +## Properties + +| Name | Type | Description | Notes | +| ----------------- | ---------- | -------------- | --------------------------------- | +| **accountId** | **number** | 账号ID | [optional] [default to undefined] | +| **accountName** | **string** | 账号名称 | [optional] [default to undefined] | +| **phone** | **string** | 手机号(脱敏) | [optional] [default to undefined] | +| **status** | **number** | 状态 | [optional] [default to undefined] | +| **statusText** | **string** | 状态文本 | [optional] [default to undefined] | +| **lastUsedAt** | **string** | 最后使用时间 | [optional] [default to undefined] | +| **lastLoginAt** | **string** | 最后登录时间 | [optional] [default to undefined] | +| **tokenExpireAt** | **string** | Token过期时间 | [optional] [default to undefined] | + +## Example + +```typescript +import { KamiApiCamelOilV1AccountStatisticsResAccountInfo } from './api'; + +const instance: KamiApiCamelOilV1AccountStatisticsResAccountInfo = { + accountId, + accountName, + phone, + status, + statusText, + lastUsedAt, + lastLoginAt, + tokenExpireAt +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiCamelOilV1AccountStatisticsResOrderStats.md b/src/api/generated/docs/KamiApiCamelOilV1AccountStatisticsResOrderStats.md new file mode 100644 index 0000000..a259690 --- /dev/null +++ b/src/api/generated/docs/KamiApiCamelOilV1AccountStatisticsResOrderStats.md @@ -0,0 +1,29 @@ +# KamiApiCamelOilV1AccountStatisticsResOrderStats + +## Properties + +| Name | Type | Description | Notes | +| ------------------- | ---------- | ------------ | --------------------------------- | +| **totalOrders** | **number** | 总订单数 | [optional] [default to undefined] | +| **paidOrders** | **number** | 已支付订单数 | [optional] [default to undefined] | +| **pendingOrders** | **number** | 待支付订单数 | [optional] [default to undefined] | +| **timeoutOrders** | **number** | 超时订单数 | [optional] [default to undefined] | +| **dailyOrderCount** | **number** | 当日下单数 | [optional] [default to undefined] | +| **remainingOrders** | **number** | 剩余可下单数 | [optional] [default to undefined] | + +## Example + +```typescript +import { KamiApiCamelOilV1AccountStatisticsResOrderStats } from './api'; + +const instance: KamiApiCamelOilV1AccountStatisticsResOrderStats = { + totalOrders, + paidOrders, + pendingOrders, + timeoutOrders, + dailyOrderCount, + remainingOrders +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiCamelOilV1AccountStatisticsResRecentTrendInner.md b/src/api/generated/docs/KamiApiCamelOilV1AccountStatisticsResRecentTrendInner.md new file mode 100644 index 0000000..c94ab45 --- /dev/null +++ b/src/api/generated/docs/KamiApiCamelOilV1AccountStatisticsResRecentTrendInner.md @@ -0,0 +1,21 @@ +# KamiApiCamelOilV1AccountStatisticsResRecentTrendInner + +## Properties + +| Name | Type | Description | Notes | +| -------------- | ---------- | ----------- | --------------------------------- | +| **date** | **string** | 日期 | [optional] [default to undefined] | +| **orderCount** | **number** | 订单数 | [optional] [default to undefined] | + +## Example + +```typescript +import { KamiApiCamelOilV1AccountStatisticsResRecentTrendInner } from './api'; + +const instance: KamiApiCamelOilV1AccountStatisticsResRecentTrendInner = { + date, + orderCount +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiCamelOilV1AccountStatisticsResUsageInfo.md b/src/api/generated/docs/KamiApiCamelOilV1AccountStatisticsResUsageInfo.md new file mode 100644 index 0000000..a548e81 --- /dev/null +++ b/src/api/generated/docs/KamiApiCamelOilV1AccountStatisticsResUsageInfo.md @@ -0,0 +1,23 @@ +# KamiApiCamelOilV1AccountStatisticsResUsageInfo + +## Properties + +| Name | Type | Description | Notes | +| ------------------ | ---------- | ------------ | --------------------------------- | +| **onlineDuration** | **string** | 在线时长 | [optional] [default to undefined] | +| **lastUsedAt** | **string** | 最后使用时间 | [optional] [default to undefined] | +| **avgOrdersDaily** | **number** | 日均订单数 | [optional] [default to undefined] | + +## Example + +```typescript +import { KamiApiCamelOilV1AccountStatisticsResUsageInfo } from './api'; + +const instance: KamiApiCamelOilV1AccountStatisticsResUsageInfo = { + onlineDuration, + lastUsedAt, + avgOrdersDaily +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiCamelOilV1CheckAccountReq.md b/src/api/generated/docs/KamiApiCamelOilV1CheckAccountReq.md new file mode 100644 index 0000000..24b3a69 --- /dev/null +++ b/src/api/generated/docs/KamiApiCamelOilV1CheckAccountReq.md @@ -0,0 +1,19 @@ +# KamiApiCamelOilV1CheckAccountReq + +## Properties + +| Name | Type | Description | Notes | +| ------------- | ---------- | ----------- | ---------------------- | +| **accountId** | **number** | 账号ID | [default to undefined] | + +## Example + +```typescript +import { KamiApiCamelOilV1CheckAccountReq } from './api'; + +const instance: KamiApiCamelOilV1CheckAccountReq = { + accountId +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiCamelOilV1CheckAccountRes.md b/src/api/generated/docs/KamiApiCamelOilV1CheckAccountRes.md new file mode 100644 index 0000000..d624b50 --- /dev/null +++ b/src/api/generated/docs/KamiApiCamelOilV1CheckAccountRes.md @@ -0,0 +1,25 @@ +# KamiApiCamelOilV1CheckAccountRes + +## Properties + +| Name | Type | Description | Notes | +| ----------------- | ----------- | ----------- | --------------------------------- | +| **isOnline** | **boolean** | 是否在线 | [optional] [default to undefined] | +| **status** | **number** | 状态 | [optional] [default to undefined] | +| **statusText** | **string** | 状态文本 | [optional] [default to undefined] | +| **failureReason** | **string** | 失败原因 | [optional] [default to undefined] | + +## Example + +```typescript +import { KamiApiCamelOilV1CheckAccountRes } from './api'; + +const instance: KamiApiCamelOilV1CheckAccountRes = { + isOnline, + status, + statusText, + failureReason +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiCamelOilV1ListAccountReq.md b/src/api/generated/docs/KamiApiCamelOilV1ListAccountReq.md new file mode 100644 index 0000000..09b6d99 --- /dev/null +++ b/src/api/generated/docs/KamiApiCamelOilV1ListAccountReq.md @@ -0,0 +1,25 @@ +# KamiApiCamelOilV1ListAccountReq + +## Properties + +| Name | Type | Description | Notes | +| ------------ | ---------- | ----------------------------- | --------------------------------- | +| **current** | **number** | 页数 | [default to undefined] | +| **pageSize** | **number** | 页码 | [default to undefined] | +| **status** | **number** | 状态筛选 | [optional] [default to undefined] | +| **keyword** | **string** | 关键词搜索(账号名称/手机号) | [optional] [default to undefined] | + +## Example + +```typescript +import { KamiApiCamelOilV1ListAccountReq } from './api'; + +const instance: KamiApiCamelOilV1ListAccountReq = { + current, + pageSize, + status, + keyword +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiCamelOilV1ListAccountRes.md b/src/api/generated/docs/KamiApiCamelOilV1ListAccountRes.md new file mode 100644 index 0000000..c982876 --- /dev/null +++ b/src/api/generated/docs/KamiApiCamelOilV1ListAccountRes.md @@ -0,0 +1,21 @@ +# KamiApiCamelOilV1ListAccountRes + +## Properties + +| Name | Type | Description | Notes | +| --------- | ---------------------------------------------------------------------------------------- | ----------- | --------------------------------- | +| **total** | **number** | | [optional] [default to undefined] | +| **list** | [**Array<KamiApiCamelOilV1AccountListItem>**](KamiApiCamelOilV1AccountListItem.md) | | [optional] [default to undefined] | + +## Example + +```typescript +import { KamiApiCamelOilV1ListAccountRes } from './api'; + +const instance: KamiApiCamelOilV1ListAccountRes = { + total, + list +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiCamelOilV1ListOrderReq.md b/src/api/generated/docs/KamiApiCamelOilV1ListOrderReq.md new file mode 100644 index 0000000..8c39e2b --- /dev/null +++ b/src/api/generated/docs/KamiApiCamelOilV1ListOrderReq.md @@ -0,0 +1,33 @@ +# KamiApiCamelOilV1ListOrderReq + +## Properties + +| Name | Type | Description | Notes | +| ------------------- | ----------------------- | ----------- | --------------------------------- | +| **current** | **number** | 页数 | [default to undefined] | +| **pageSize** | **number** | 页码 | [default to undefined] | +| **merchantOrderId** | **string** | 商户订单号 | [optional] [default to undefined] | +| **orderNo** | **string** | 系统订单号 | [optional] [default to undefined] | +| **accountId** | **number** | 账号ID | [optional] [default to undefined] | +| **status** | **number** | 订单状态 | [optional] [default to undefined] | +| **payStatus** | **number** | 支付状态 | [optional] [default to undefined] | +| **dateRange** | **Array<string>** | 时间范围 | [optional] [default to undefined] | + +## Example + +```typescript +import { KamiApiCamelOilV1ListOrderReq } from './api'; + +const instance: KamiApiCamelOilV1ListOrderReq = { + current, + pageSize, + merchantOrderId, + orderNo, + accountId, + status, + payStatus, + dateRange +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiCamelOilV1ListOrderRes.md b/src/api/generated/docs/KamiApiCamelOilV1ListOrderRes.md new file mode 100644 index 0000000..49c67ae --- /dev/null +++ b/src/api/generated/docs/KamiApiCamelOilV1ListOrderRes.md @@ -0,0 +1,21 @@ +# KamiApiCamelOilV1ListOrderRes + +## Properties + +| Name | Type | Description | Notes | +| --------- | ------------------------------------------------------------------------------------ | ----------- | --------------------------------- | +| **total** | **number** | | [optional] [default to undefined] | +| **list** | [**Array<KamiApiCamelOilV1OrderListItem>**](KamiApiCamelOilV1OrderListItem.md) | | [optional] [default to undefined] | + +## Example + +```typescript +import { KamiApiCamelOilV1ListOrderRes } from './api'; + +const instance: KamiApiCamelOilV1ListOrderRes = { + total, + list +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiCamelOilV1OrderCallbackReq.md b/src/api/generated/docs/KamiApiCamelOilV1OrderCallbackReq.md new file mode 100644 index 0000000..2d50eba --- /dev/null +++ b/src/api/generated/docs/KamiApiCamelOilV1OrderCallbackReq.md @@ -0,0 +1,19 @@ +# KamiApiCamelOilV1OrderCallbackReq + +## Properties + +| Name | Type | Description | Notes | +| ----------- | ---------- | ----------- | ---------------------- | +| **orderNo** | **string** | 订单号 | [default to undefined] | + +## Example + +```typescript +import { KamiApiCamelOilV1OrderCallbackReq } from './api'; + +const instance: KamiApiCamelOilV1OrderCallbackReq = { + orderNo +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiCamelOilV1OrderCallbackRes.md b/src/api/generated/docs/KamiApiCamelOilV1OrderCallbackRes.md new file mode 100644 index 0000000..9e17c11 --- /dev/null +++ b/src/api/generated/docs/KamiApiCamelOilV1OrderCallbackRes.md @@ -0,0 +1,21 @@ +# KamiApiCamelOilV1OrderCallbackRes + +## Properties + +| Name | Type | Description | Notes | +| ----------- | ----------- | ------------ | --------------------------------- | +| **success** | **boolean** | 回调是否成功 | [optional] [default to undefined] | +| **message** | **string** | 回调结果消息 | [optional] [default to undefined] | + +## Example + +```typescript +import { KamiApiCamelOilV1OrderCallbackRes } from './api'; + +const instance: KamiApiCamelOilV1OrderCallbackRes = { + success, + message +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiCamelOilV1OrderDetailReq.md b/src/api/generated/docs/KamiApiCamelOilV1OrderDetailReq.md new file mode 100644 index 0000000..56b073e --- /dev/null +++ b/src/api/generated/docs/KamiApiCamelOilV1OrderDetailReq.md @@ -0,0 +1,19 @@ +# KamiApiCamelOilV1OrderDetailReq + +## Properties + +| Name | Type | Description | Notes | +| ----------- | ---------- | ----------- | ---------------------- | +| **orderNo** | **string** | 订单号 | [default to undefined] | + +## Example + +```typescript +import { KamiApiCamelOilV1OrderDetailReq } from './api'; + +const instance: KamiApiCamelOilV1OrderDetailReq = { + orderNo +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiCamelOilV1OrderDetailRes.md b/src/api/generated/docs/KamiApiCamelOilV1OrderDetailRes.md new file mode 100644 index 0000000..5e3d1de --- /dev/null +++ b/src/api/generated/docs/KamiApiCamelOilV1OrderDetailRes.md @@ -0,0 +1,21 @@ +# KamiApiCamelOilV1OrderDetailRes + +## Properties + +| Name | Type | Description | Notes | +| --------------- | ----------------------------------------------------------------------------------------------- | ----------- | --------------------------------- | +| **orderInfo** | [**KamiApiCamelOilV1OrderDetailResOrderInfo**](KamiApiCamelOilV1OrderDetailResOrderInfo.md) | | [optional] [default to undefined] | +| **accountInfo** | [**KamiApiCamelOilV1OrderDetailResAccountInfo**](KamiApiCamelOilV1OrderDetailResAccountInfo.md) | | [optional] [default to undefined] | + +## Example + +```typescript +import { KamiApiCamelOilV1OrderDetailRes } from './api'; + +const instance: KamiApiCamelOilV1OrderDetailRes = { + orderInfo, + accountInfo +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiCamelOilV1OrderDetailResAccountInfo.md b/src/api/generated/docs/KamiApiCamelOilV1OrderDetailResAccountInfo.md new file mode 100644 index 0000000..67e4323 --- /dev/null +++ b/src/api/generated/docs/KamiApiCamelOilV1OrderDetailResAccountInfo.md @@ -0,0 +1,29 @@ +# KamiApiCamelOilV1OrderDetailResAccountInfo + +## Properties + +| Name | Type | Description | Notes | +| --------------- | ---------- | -------------- | --------------------------------- | +| **accountId** | **number** | 账号ID | [optional] [default to undefined] | +| **accountName** | **string** | 账号名称 | [optional] [default to undefined] | +| **phone** | **string** | 手机号(脱敦) | [optional] [default to undefined] | +| **status** | **number** | 状态 | [optional] [default to undefined] | +| **statusText** | **string** | 状态文本 | [optional] [default to undefined] | +| **lastUsedAt** | **string** | 最后使用时间 | [optional] [default to undefined] | + +## Example + +```typescript +import { KamiApiCamelOilV1OrderDetailResAccountInfo } from './api'; + +const instance: KamiApiCamelOilV1OrderDetailResAccountInfo = { + accountId, + accountName, + phone, + status, + statusText, + lastUsedAt +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiCamelOilV1OrderDetailResOrderInfo.md b/src/api/generated/docs/KamiApiCamelOilV1OrderDetailResOrderInfo.md new file mode 100644 index 0000000..1cee795 --- /dev/null +++ b/src/api/generated/docs/KamiApiCamelOilV1OrderDetailResOrderInfo.md @@ -0,0 +1,55 @@ +# KamiApiCamelOilV1OrderDetailResOrderInfo + +## Properties + +| Name | Type | Description | Notes | +| -------------------- | ---------- | ---------------- | --------------------------------- | +| **orderNo** | **string** | 系统订单号 | [optional] [default to undefined] | +| **merchantOrderId** | **string** | 商户订单号 | [optional] [default to undefined] | +| **accountId** | **number** | 账号ID | [optional] [default to undefined] | +| **accountName** | **string** | 账号名称 | [optional] [default to undefined] | +| **amount** | **number** | 订单金额 | [optional] [default to undefined] | +| **alipayUrl** | **string** | 支付宝支付链接 | [optional] [default to undefined] | +| **status** | **number** | 订单状态 | [optional] [default to undefined] | +| **statusText** | **string** | 订单状态文本 | [optional] [default to undefined] | +| **payStatus** | **number** | 支付状态 | [optional] [default to undefined] | +| **payStatusText** | **string** | 支付状态文本 | [optional] [default to undefined] | +| **notifyStatus** | **number** | 回调状态 | [optional] [default to undefined] | +| **notifyStatusText** | **string** | 回调状态文本 | [optional] [default to undefined] | +| **notifyCount** | **number** | 回调次数 | [optional] [default to undefined] | +| **paidAt** | **string** | 支付完成时间 | [optional] [default to undefined] | +| **lastCheckAt** | **string** | 最后检测支付时间 | [optional] [default to undefined] | +| **attach** | **string** | 附加信息 | [optional] [default to undefined] | +| **failureReason** | **string** | 失败原因 | [optional] [default to undefined] | +| **createdAt** | **string** | 创建时间 | [optional] [default to undefined] | +| **updatedAt** | **string** | 更新时间 | [optional] [default to undefined] | + +## Example + +```typescript +import { KamiApiCamelOilV1OrderDetailResOrderInfo } from './api'; + +const instance: KamiApiCamelOilV1OrderDetailResOrderInfo = { + orderNo, + merchantOrderId, + accountId, + accountName, + amount, + alipayUrl, + status, + statusText, + payStatus, + payStatusText, + notifyStatus, + notifyStatusText, + notifyCount, + paidAt, + lastCheckAt, + attach, + failureReason, + createdAt, + updatedAt +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiCamelOilV1OrderHistoryItem.md b/src/api/generated/docs/KamiApiCamelOilV1OrderHistoryItem.md new file mode 100644 index 0000000..3c07194 --- /dev/null +++ b/src/api/generated/docs/KamiApiCamelOilV1OrderHistoryItem.md @@ -0,0 +1,35 @@ +# KamiApiCamelOilV1OrderHistoryItem + +## Properties + +| Name | Type | Description | Notes | +| --------------- | ---------- | ------------ | --------------------------------- | +| **historyUuid** | **string** | 历史记录UUID | [optional] [default to undefined] | +| **orderNo** | **string** | 订单号 | [optional] [default to undefined] | +| **changeType** | **string** | 变更类型 | [optional] [default to undefined] | +| **changeText** | **string** | 变更类型文本 | [optional] [default to undefined] | +| **accountId** | **number** | 关联账号ID | [optional] [default to undefined] | +| **accountName** | **string** | 账号名称 | [optional] [default to undefined] | +| **rawData** | **string** | 原始响应数据 | [optional] [default to undefined] | +| **remark** | **string** | 备注 | [optional] [default to undefined] | +| **createdAt** | **string** | 创建时间 | [optional] [default to undefined] | + +## Example + +```typescript +import { KamiApiCamelOilV1OrderHistoryItem } from './api'; + +const instance: KamiApiCamelOilV1OrderHistoryItem = { + historyUuid, + orderNo, + changeType, + changeText, + accountId, + accountName, + rawData, + remark, + createdAt +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiCamelOilV1OrderHistoryReq.md b/src/api/generated/docs/KamiApiCamelOilV1OrderHistoryReq.md new file mode 100644 index 0000000..d167ebc --- /dev/null +++ b/src/api/generated/docs/KamiApiCamelOilV1OrderHistoryReq.md @@ -0,0 +1,23 @@ +# KamiApiCamelOilV1OrderHistoryReq + +## Properties + +| Name | Type | Description | Notes | +| ------------ | ---------- | ----------- | ---------------------- | +| **current** | **number** | 页数 | [default to undefined] | +| **pageSize** | **number** | 页码 | [default to undefined] | +| **orderNo** | **string** | 订单号 | [default to undefined] | + +## Example + +```typescript +import { KamiApiCamelOilV1OrderHistoryReq } from './api'; + +const instance: KamiApiCamelOilV1OrderHistoryReq = { + current, + pageSize, + orderNo +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiCamelOilV1OrderHistoryRes.md b/src/api/generated/docs/KamiApiCamelOilV1OrderHistoryRes.md new file mode 100644 index 0000000..0e66fc7 --- /dev/null +++ b/src/api/generated/docs/KamiApiCamelOilV1OrderHistoryRes.md @@ -0,0 +1,21 @@ +# KamiApiCamelOilV1OrderHistoryRes + +## Properties + +| Name | Type | Description | Notes | +| --------- | ------------------------------------------------------------------------------------------ | ----------- | --------------------------------- | +| **total** | **number** | | [optional] [default to undefined] | +| **list** | [**Array<KamiApiCamelOilV1OrderHistoryItem>**](KamiApiCamelOilV1OrderHistoryItem.md) | | [optional] [default to undefined] | + +## Example + +```typescript +import { KamiApiCamelOilV1OrderHistoryRes } from './api'; + +const instance: KamiApiCamelOilV1OrderHistoryRes = { + total, + list +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiCamelOilV1OrderListItem.md b/src/api/generated/docs/KamiApiCamelOilV1OrderListItem.md new file mode 100644 index 0000000..bd79e80 --- /dev/null +++ b/src/api/generated/docs/KamiApiCamelOilV1OrderListItem.md @@ -0,0 +1,53 @@ +# KamiApiCamelOilV1OrderListItem + +## Properties + +| Name | Type | Description | Notes | +| -------------------- | ---------- | ---------------- | --------------------------------- | +| **orderNo** | **string** | 系统订单号 | [optional] [default to undefined] | +| **merchantOrderId** | **string** | 商户订单号 | [optional] [default to undefined] | +| **accountId** | **number** | 账号ID | [optional] [default to undefined] | +| **accountName** | **string** | 账号名称 | [optional] [default to undefined] | +| **amount** | **number** | 订单金额 | [optional] [default to undefined] | +| **alipayUrl** | **string** | 支付宝支付链接 | [optional] [default to undefined] | +| **status** | **number** | 订单状态 | [optional] [default to undefined] | +| **statusText** | **string** | 订单状态文本 | [optional] [default to undefined] | +| **payStatus** | **number** | 支付状态 | [optional] [default to undefined] | +| **payStatusText** | **string** | 支付状态文本 | [optional] [default to undefined] | +| **notifyStatus** | **number** | 回调状态 | [optional] [default to undefined] | +| **notifyStatusText** | **string** | 回调状态文本 | [optional] [default to undefined] | +| **notifyCount** | **number** | 回调次数 | [optional] [default to undefined] | +| **paidAt** | **string** | 支付完成时间 | [optional] [default to undefined] | +| **lastCheckAt** | **string** | 最后检测支付时间 | [optional] [default to undefined] | +| **failureReason** | **string** | 失败原因 | [optional] [default to undefined] | +| **createdAt** | **string** | 创建时间 | [optional] [default to undefined] | +| **updatedAt** | **string** | 更新时间 | [optional] [default to undefined] | + +## Example + +```typescript +import { KamiApiCamelOilV1OrderListItem } from './api'; + +const instance: KamiApiCamelOilV1OrderListItem = { + orderNo, + merchantOrderId, + accountId, + accountName, + amount, + alipayUrl, + status, + statusText, + payStatus, + payStatusText, + notifyStatus, + notifyStatusText, + notifyCount, + paidAt, + lastCheckAt, + failureReason, + createdAt, + updatedAt +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiCamelOilV1SubmitOrderReq.md b/src/api/generated/docs/KamiApiCamelOilV1SubmitOrderReq.md new file mode 100644 index 0000000..306e972 --- /dev/null +++ b/src/api/generated/docs/KamiApiCamelOilV1SubmitOrderReq.md @@ -0,0 +1,23 @@ +# KamiApiCamelOilV1SubmitOrderReq + +## Properties + +| Name | Type | Description | Notes | +| ------------------- | ---------- | ----------- | --------------------------------- | +| **amount** | **number** | 订单金额 | [default to undefined] | +| **merchantOrderId** | **string** | 商户订单号 | [default to undefined] | +| **attach** | **string** | 附加信息 | [optional] [default to undefined] | + +## Example + +```typescript +import { KamiApiCamelOilV1SubmitOrderReq } from './api'; + +const instance: KamiApiCamelOilV1SubmitOrderReq = { + amount, + merchantOrderId, + attach +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiCamelOilV1SubmitOrderRes.md b/src/api/generated/docs/KamiApiCamelOilV1SubmitOrderRes.md new file mode 100644 index 0000000..4b279e9 --- /dev/null +++ b/src/api/generated/docs/KamiApiCamelOilV1SubmitOrderRes.md @@ -0,0 +1,25 @@ +# KamiApiCamelOilV1SubmitOrderRes + +## Properties + +| Name | Type | Description | Notes | +| ------------- | ---------- | -------------- | --------------------------------- | +| **orderNo** | **string** | 系统订单号 | [optional] [default to undefined] | +| **alipayUrl** | **string** | 支付宝支付链接 | [optional] [default to undefined] | +| **amount** | **number** | 订单金额 | [optional] [default to undefined] | +| **createdAt** | **string** | 创建时间 | [optional] [default to undefined] | + +## Example + +```typescript +import { KamiApiCamelOilV1SubmitOrderRes } from './api'; + +const instance: KamiApiCamelOilV1SubmitOrderRes = { + orderNo, + alipayUrl, + amount, + createdAt +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiJdCookieV1BatchCheckReq.md b/src/api/generated/docs/KamiApiJdCookieV1BatchCheckReq.md deleted file mode 100644 index 724673f..0000000 --- a/src/api/generated/docs/KamiApiJdCookieV1BatchCheckReq.md +++ /dev/null @@ -1,19 +0,0 @@ -# KamiApiJdCookieV1BatchCheckReq - -## Properties - -| Name | Type | Description | Notes | -| ------------- | ----------------------- | ------------- | ---------------------- | -| **cookieIds** | **Array<string>** | Cookie ID列表 | [default to undefined] | - -## Example - -```typescript -import { KamiApiJdCookieV1BatchCheckReq } from './api'; - -const instance: KamiApiJdCookieV1BatchCheckReq = { - cookieIds -}; -``` - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiJdCookieV1BatchCheckRes.md b/src/api/generated/docs/KamiApiJdCookieV1BatchCheckRes.md deleted file mode 100644 index 9f08960..0000000 --- a/src/api/generated/docs/KamiApiJdCookieV1BatchCheckRes.md +++ /dev/null @@ -1,19 +0,0 @@ -# KamiApiJdCookieV1BatchCheckRes - -## Properties - -| Name | Type | Description | Notes | -| ----------- | -------------------------------------------------------------------------------------------- | ----------- | --------------------------------- | -| **results** | [**Array<KamiApiJdCookieV1CookieCheckResult>**](KamiApiJdCookieV1CookieCheckResult.md) | 检测结果 | [optional] [default to undefined] | - -## Example - -```typescript -import { KamiApiJdCookieV1BatchCheckRes } from './api'; - -const instance: KamiApiJdCookieV1BatchCheckRes = { - results -}; -``` - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiJdCookieV1BatchValidateReq.md b/src/api/generated/docs/KamiApiJdCookieV1BatchValidateReq.md deleted file mode 100644 index 8634a53..0000000 --- a/src/api/generated/docs/KamiApiJdCookieV1BatchValidateReq.md +++ /dev/null @@ -1,19 +0,0 @@ -# KamiApiJdCookieV1BatchValidateReq - -## Properties - -| Name | Type | Description | Notes | -| ----------- | ---------------------------------------------------------------------------------------------- | ----------- | ---------------------- | -| **cookies** | [**Array<KamiApiJdCookieV1ValidateCookieItem>**](KamiApiJdCookieV1ValidateCookieItem.md) | Cookie列表 | [default to undefined] | - -## Example - -```typescript -import { KamiApiJdCookieV1BatchValidateReq } from './api'; - -const instance: KamiApiJdCookieV1BatchValidateReq = { - cookies -}; -``` - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiJdCookieV1BatchValidateRes.md b/src/api/generated/docs/KamiApiJdCookieV1BatchValidateRes.md deleted file mode 100644 index 649a54d..0000000 --- a/src/api/generated/docs/KamiApiJdCookieV1BatchValidateRes.md +++ /dev/null @@ -1,25 +0,0 @@ -# KamiApiJdCookieV1BatchValidateRes - -## Properties - -| Name | Type | Description | Notes | -| ---------------- | ------------------------------------------------------------------------------------------------ | ------------ | --------------------------------- | -| **totalCount** | **number** | 总数量 | [optional] [default to undefined] | -| **validCount** | **number** | 有效数量 | [optional] [default to undefined] | -| **invalidCount** | **number** | 无效数量 | [optional] [default to undefined] | -| **results** | [**Array<KamiApiJdCookieV1BatchValidateResult>**](KamiApiJdCookieV1BatchValidateResult.md) | 验证结果详情 | [optional] [default to undefined] | - -## Example - -```typescript -import { KamiApiJdCookieV1BatchValidateRes } from './api'; - -const instance: KamiApiJdCookieV1BatchValidateRes = { - totalCount, - validCount, - invalidCount, - results -}; -``` - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiJdCookieV1CheckJdOrderPaymentReq.md b/src/api/generated/docs/KamiApiJdCookieV1CheckJdOrderPaymentReq.md deleted file mode 100644 index aa6f7f1..0000000 --- a/src/api/generated/docs/KamiApiJdCookieV1CheckJdOrderPaymentReq.md +++ /dev/null @@ -1,19 +0,0 @@ -# KamiApiJdCookieV1CheckJdOrderPaymentReq - -## Properties - -| Name | Type | Description | Notes | -| --------------- | ---------- | ----------- | ---------------------- | -| **jd_order_id** | **string** | 京东订单号 | [default to undefined] | - -## Example - -```typescript -import { KamiApiJdCookieV1CheckJdOrderPaymentReq } from './api'; - -const instance: KamiApiJdCookieV1CheckJdOrderPaymentReq = { - jd_order_id -}; -``` - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiJdCookieV1CheckJdOrderPaymentRes.md b/src/api/generated/docs/KamiApiJdCookieV1CheckJdOrderPaymentRes.md deleted file mode 100644 index 264633e..0000000 --- a/src/api/generated/docs/KamiApiJdCookieV1CheckJdOrderPaymentRes.md +++ /dev/null @@ -1,27 +0,0 @@ -# KamiApiJdCookieV1CheckJdOrderPaymentRes - -## Properties - -| Name | Type | Description | Notes | -| ------------------ | ----------- | ----------------------------------------- | --------------------------------- | -| **jd_order_id** | **string** | 京东订单号 | [optional] [default to undefined] | -| **is_paid** | **boolean** | 是否已支付 | [optional] [default to undefined] | -| **payment_status** | **number** | 支付状态:1待支付 2已支付 3已过期 4已取消 | [optional] [default to undefined] | -| **message** | **string** | 状态描述 | [optional] [default to undefined] | -| **can_reuse** | **boolean** | 是否可以复用 | [optional] [default to undefined] | - -## Example - -```typescript -import { KamiApiJdCookieV1CheckJdOrderPaymentRes } from './api'; - -const instance: KamiApiJdCookieV1CheckJdOrderPaymentRes = { - jd_order_id, - is_paid, - payment_status, - message, - can_reuse -}; -``` - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiJdCookieV1CookieCheckResult.md b/src/api/generated/docs/KamiApiJdCookieV1CookieCheckResult.md deleted file mode 100644 index a7cc81e..0000000 --- a/src/api/generated/docs/KamiApiJdCookieV1CookieCheckResult.md +++ /dev/null @@ -1,23 +0,0 @@ -# KamiApiJdCookieV1CookieCheckResult - -## Properties - -| Name | Type | Description | Notes | -| ------------ | ---------- | ----------- | --------------------------------- | -| **cookieId** | **string** | Cookie ID | [optional] [default to undefined] | -| **status** | **number** | 状态 | [optional] [default to undefined] | -| **message** | **string** | 检测信息 | [optional] [default to undefined] | - -## Example - -```typescript -import { KamiApiJdCookieV1CookieCheckResult } from './api'; - -const instance: KamiApiJdCookieV1CookieCheckResult = { - cookieId, - status, - message -}; -``` - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/docs/KamiApiRestrictionV1GetAESEncryptionParamsRes.md b/src/api/generated/docs/KamiApiRestrictionV1GetAESEncryptionParamsRes.md new file mode 100644 index 0000000..23360db --- /dev/null +++ b/src/api/generated/docs/KamiApiRestrictionV1GetAESEncryptionParamsRes.md @@ -0,0 +1,21 @@ +# KamiApiRestrictionV1GetAESEncryptionParamsRes + +## Properties + +| Name | Type | Description | Notes | +| ------- | ---------- | -------------------------------- | --------------------------------- | +| **key** | **string** | AES 密钥(十六进制字符串) | [optional] [default to undefined] | +| **iv** | **string** | AES 初始化向量(十六进制字符串) | [optional] [default to undefined] | + +## Example + +```typescript +import { KamiApiRestrictionV1GetAESEncryptionParamsRes } from './api'; + +const instance: KamiApiRestrictionV1GetAESEncryptionParamsRes = { + key, + iv +}; +``` + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/api/generated/models/index.ts b/src/api/generated/models/index.ts index ee757c0..7128e02 100644 --- a/src/api/generated/models/index.ts +++ b/src/api/generated/models/index.ts @@ -1,3 +1,35 @@ +export * from './kami-api-camel-oil-v1-account-history-item'; +export * from './kami-api-camel-oil-v1-account-history-req'; +export * from './kami-api-camel-oil-v1-account-history-res'; +export * from './kami-api-camel-oil-v1-account-list-item'; +export * from './kami-api-camel-oil-v1-account-order-list-req'; +export * from './kami-api-camel-oil-v1-account-order-list-res'; +export * from './kami-api-camel-oil-v1-account-order-list-res-account-info'; +export * from './kami-api-camel-oil-v1-account-order-list-res-order-stats'; +export * from './kami-api-camel-oil-v1-account-statistics-req'; +export * from './kami-api-camel-oil-v1-account-statistics-res'; +export * from './kami-api-camel-oil-v1-account-statistics-res-account-info'; +export * from './kami-api-camel-oil-v1-account-statistics-res-order-stats'; +export * from './kami-api-camel-oil-v1-account-statistics-res-recent-trend-inner'; +export * from './kami-api-camel-oil-v1-account-statistics-res-usage-info'; +export * from './kami-api-camel-oil-v1-check-account-req'; +export * from './kami-api-camel-oil-v1-check-account-res'; +export * from './kami-api-camel-oil-v1-list-account-req'; +export * from './kami-api-camel-oil-v1-list-account-res'; +export * from './kami-api-camel-oil-v1-list-order-req'; +export * from './kami-api-camel-oil-v1-list-order-res'; +export * from './kami-api-camel-oil-v1-order-callback-req'; +export * from './kami-api-camel-oil-v1-order-callback-res'; +export * from './kami-api-camel-oil-v1-order-detail-req'; +export * from './kami-api-camel-oil-v1-order-detail-res'; +export * from './kami-api-camel-oil-v1-order-detail-res-account-info'; +export * from './kami-api-camel-oil-v1-order-detail-res-order-info'; +export * from './kami-api-camel-oil-v1-order-history-item'; +export * from './kami-api-camel-oil-v1-order-history-req'; +export * from './kami-api-camel-oil-v1-order-history-res'; +export * from './kami-api-camel-oil-v1-order-list-item'; +export * from './kami-api-camel-oil-v1-submit-order-req'; +export * from './kami-api-camel-oil-v1-submit-order-res'; export * from './kami-api-card-info-apple-v1-apple-card-list-record'; export * from './kami-api-card-info-apple-v1-apple-card-list-record-upload-user'; export * from './kami-api-card-info-apple-v1-call-back-order-manual-req'; @@ -305,6 +337,7 @@ export * from './kami-api-order-v1-order-summary-record'; export * from './kami-api-restriction-v1-block-order-req'; export * from './kami-api-restriction-v1-check-ipallowed-req'; export * from './kami-api-restriction-v1-check-ipallowed-res'; +export * from './kami-api-restriction-v1-get-aesencryption-params-res'; export * from './kami-api-restriction-v1-query-all-province-res'; export * from './kami-api-restriction-v1-user-info-collection-req'; export * from './kami-api-road-pool-v1-road-pool-simple-info'; diff --git a/src/api/generated/models/kami-api-camel-oil-v1-account-history-item.ts b/src/api/generated/models/kami-api-camel-oil-v1-account-history-item.ts new file mode 100644 index 0000000..a5c5d66 --- /dev/null +++ b/src/api/generated/models/kami-api-camel-oil-v1-account-history-item.ts @@ -0,0 +1,80 @@ +/* tslint:disable */ + +/** + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +export interface KamiApiCamelOilV1AccountHistoryItem { + /** + * 历史记录UUID + */ + historyUuid?: string; + /** + * 账号ID + */ + accountId?: number; + /** + * 变更类型 + */ + changeType?: KamiApiCamelOilV1AccountHistoryItemChangeTypeEnum; + /** + * 变更类型文本 + */ + changeText?: string; + /** + * 变更前状态 + */ + statusBefore?: KamiApiCamelOilV1AccountHistoryItemStatusBeforeEnum; + /** + * 变更后状态 + */ + statusAfter?: KamiApiCamelOilV1AccountHistoryItemStatusAfterEnum; + /** + * 失败次数 + */ + failureCount?: number; + /** + * 备注 + */ + remark?: string; + /** + * 创建时间 + */ + createdAt?: string; +} + +export enum KamiApiCamelOilV1AccountHistoryItemChangeTypeEnum { + Create = 'create', + Delete = 'delete', + Invalidate = 'invalidate', + Login = 'login', + LoginFail = 'login_fail', + Offline = 'offline', + OrderBind = 'order_bind', + OrderComplete = 'order_complete', + Pause = 'pause', + Resume = 'resume', + Update = 'update' +} +export enum KamiApiCamelOilV1AccountHistoryItemStatusBeforeEnum { + NUMBER_4 = 4, + NUMBER_1 = 1, + NUMBER_2 = 2, + NUMBER_3 = 3, + NUMBER_0 = 0 +} +export enum KamiApiCamelOilV1AccountHistoryItemStatusAfterEnum { + NUMBER_4 = 4, + NUMBER_1 = 1, + NUMBER_2 = 2, + NUMBER_3 = 3, + NUMBER_0 = 0 +} diff --git a/src/api/generated/models/kami-api-camel-oil-v1-account-history-req.ts b/src/api/generated/models/kami-api-camel-oil-v1-account-history-req.ts new file mode 100644 index 0000000..6d7cc26 --- /dev/null +++ b/src/api/generated/models/kami-api-camel-oil-v1-account-history-req.ts @@ -0,0 +1,37 @@ +/* tslint:disable */ + +/** + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +export interface KamiApiCamelOilV1AccountHistoryReq { + /** + * 页数 + */ + current: number; + /** + * 页码 + */ + pageSize: KamiApiCamelOilV1AccountHistoryReqPageSizeEnum; + /** + * 账号ID + */ + accountId: number; +} + +export enum KamiApiCamelOilV1AccountHistoryReqPageSizeEnum { + NUMBER_5 = 5, + NUMBER_10 = 10, + NUMBER_15 = 15, + NUMBER_20 = 20, + NUMBER_50 = 50, + NUMBER_100 = 100 +} diff --git a/src/api/generated/models/kami-api-jd-cookie-v1-batch-check-res.ts b/src/api/generated/models/kami-api-camel-oil-v1-account-history-res.ts similarity index 63% rename from src/api/generated/models/kami-api-jd-cookie-v1-batch-check-res.ts rename to src/api/generated/models/kami-api-camel-oil-v1-account-history-res.ts index 7163190..609047b 100644 --- a/src/api/generated/models/kami-api-jd-cookie-v1-batch-check-res.ts +++ b/src/api/generated/models/kami-api-camel-oil-v1-account-history-res.ts @@ -14,11 +14,9 @@ // May contain unused imports in some cases // @ts-ignore -import type { KamiApiJdCookieV1CookieCheckResult } from './kami-api-jd-cookie-v1-cookie-check-result'; +import type { KamiApiCamelOilV1AccountHistoryItem } from './kami-api-camel-oil-v1-account-history-item'; -export interface KamiApiJdCookieV1BatchCheckRes { - /** - * 检测结果 - */ - results?: Array; +export interface KamiApiCamelOilV1AccountHistoryRes { + total?: number; + list?: Array; } diff --git a/src/api/generated/models/kami-api-camel-oil-v1-account-list-item.ts b/src/api/generated/models/kami-api-camel-oil-v1-account-list-item.ts new file mode 100644 index 0000000..ae71d8e --- /dev/null +++ b/src/api/generated/models/kami-api-camel-oil-v1-account-list-item.ts @@ -0,0 +1,88 @@ +/* tslint:disable */ + +/** + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +export interface KamiApiCamelOilV1AccountListItem { + /** + * 账号ID + */ + accountId?: number; + /** + * 账号名称 + */ + accountName?: string; + /** + * 手机号(脱敏) + */ + phone?: string; + /** + * 状态 + */ + status?: KamiApiCamelOilV1AccountListItemStatusEnum; + /** + * 状态文本 + */ + statusText?: string; + /** + * 当日下单数 + */ + dailyOrderCount?: number; + /** + * 当日日期 + */ + dailyOrderDate?: string; + /** + * 累计下单数 + */ + totalOrderCount?: number; + /** + * 最后使用时间 + */ + lastUsedAt?: string; + /** + * 最后登录时间 + */ + lastLoginAt?: string; + /** + * Token过期时间 + */ + tokenExpireAt?: string; + /** + * 剩余可下单数(10-dailyOrderCount) + */ + remainingOrders?: number; + /** + * 失败原因 + */ + failureReason?: string; + /** + * 备注 + */ + remark?: string; + /** + * 创建时间 + */ + createdAt?: string; + /** + * 更新时间 + */ + updatedAt?: string; +} + +export enum KamiApiCamelOilV1AccountListItemStatusEnum { + NUMBER_4 = 4, + NUMBER_1 = 1, + NUMBER_2 = 2, + NUMBER_3 = 3, + NUMBER_0 = 0 +} diff --git a/src/api/generated/models/kami-api-camel-oil-v1-account-order-list-req.ts b/src/api/generated/models/kami-api-camel-oil-v1-account-order-list-req.ts new file mode 100644 index 0000000..3dde094 --- /dev/null +++ b/src/api/generated/models/kami-api-camel-oil-v1-account-order-list-req.ts @@ -0,0 +1,61 @@ +/* tslint:disable */ + +/** + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +export interface KamiApiCamelOilV1AccountOrderListReq { + /** + * 页数 + */ + current: number; + /** + * 页码 + */ + pageSize: KamiApiCamelOilV1AccountOrderListReqPageSizeEnum; + /** + * 账号ID + */ + accountId: number; + /** + * 订单状态筛选 + */ + status?: KamiApiCamelOilV1AccountOrderListReqStatusEnum; + /** + * 支付状态筛选 + */ + payStatus?: KamiApiCamelOilV1AccountOrderListReqPayStatusEnum; + /** + * 时间范围 + */ + dateRange?: Array; +} + +export enum KamiApiCamelOilV1AccountOrderListReqPageSizeEnum { + NUMBER_5 = 5, + NUMBER_10 = 10, + NUMBER_15 = 15, + NUMBER_20 = 20, + NUMBER_50 = 50, + NUMBER_100 = 100 +} +export enum KamiApiCamelOilV1AccountOrderListReqStatusEnum { + NUMBER_2 = 2, + NUMBER_3 = 3, + NUMBER_0 = 0, + NUMBER_1 = 1 +} +export enum KamiApiCamelOilV1AccountOrderListReqPayStatusEnum { + NUMBER_1 = 1, + NUMBER_2 = 2, + NUMBER_3 = 3, + NUMBER_0 = 0 +} diff --git a/src/api/generated/models/kami-api-camel-oil-v1-account-order-list-res-account-info.ts b/src/api/generated/models/kami-api-camel-oil-v1-account-order-list-res-account-info.ts new file mode 100644 index 0000000..08d3097 --- /dev/null +++ b/src/api/generated/models/kami-api-camel-oil-v1-account-order-list-res-account-info.ts @@ -0,0 +1,44 @@ +/* tslint:disable */ + +/** + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +export interface KamiApiCamelOilV1AccountOrderListResAccountInfo { + /** + * 账号ID + */ + accountId?: number; + /** + * 账号名称 + */ + accountName?: string; + /** + * 手机号(脱敦) + */ + phone?: string; + /** + * 状态 + */ + status?: KamiApiCamelOilV1AccountOrderListResAccountInfoStatusEnum; + /** + * 状态文本 + */ + statusText?: string; +} + +export enum KamiApiCamelOilV1AccountOrderListResAccountInfoStatusEnum { + NUMBER_4 = 4, + NUMBER_1 = 1, + NUMBER_2 = 2, + NUMBER_3 = 3, + NUMBER_0 = 0 +} diff --git a/src/api/generated/models/kami-api-camel-oil-v1-account-order-list-res-order-stats.ts b/src/api/generated/models/kami-api-camel-oil-v1-account-order-list-res-order-stats.ts new file mode 100644 index 0000000..1139a79 --- /dev/null +++ b/src/api/generated/models/kami-api-camel-oil-v1-account-order-list-res-order-stats.ts @@ -0,0 +1,32 @@ +/* tslint:disable */ + +/** + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +export interface KamiApiCamelOilV1AccountOrderListResOrderStats { + /** + * 总订单数 + */ + totalOrders?: number; + /** + * 已支付订单数 + */ + paidOrders?: number; + /** + * 待支付订单数 + */ + pendingOrders?: number; + /** + * 超时订单数 + */ + timeoutOrders?: number; +} diff --git a/src/api/generated/models/kami-api-camel-oil-v1-account-order-list-res.ts b/src/api/generated/models/kami-api-camel-oil-v1-account-order-list-res.ts new file mode 100644 index 0000000..bee1e9b --- /dev/null +++ b/src/api/generated/models/kami-api-camel-oil-v1-account-order-list-res.ts @@ -0,0 +1,25 @@ +/* tslint:disable */ + +/** + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +// May contain unused imports in some cases +// @ts-ignore +import type { KamiApiCamelOilV1AccountOrderListResAccountInfo } from './kami-api-camel-oil-v1-account-order-list-res-account-info'; +// May contain unused imports in some cases +// @ts-ignore +import type { KamiApiCamelOilV1AccountOrderListResOrderStats } from './kami-api-camel-oil-v1-account-order-list-res-order-stats'; + +export interface KamiApiCamelOilV1AccountOrderListRes { + accountInfo?: KamiApiCamelOilV1AccountOrderListResAccountInfo; + orderStats?: KamiApiCamelOilV1AccountOrderListResOrderStats; +} diff --git a/src/api/generated/models/kami-api-jd-cookie-v1-batch-check-req.ts b/src/api/generated/models/kami-api-camel-oil-v1-account-statistics-req.ts similarity index 78% rename from src/api/generated/models/kami-api-jd-cookie-v1-batch-check-req.ts rename to src/api/generated/models/kami-api-camel-oil-v1-account-statistics-req.ts index 38adb7d..4823811 100644 --- a/src/api/generated/models/kami-api-jd-cookie-v1-batch-check-req.ts +++ b/src/api/generated/models/kami-api-camel-oil-v1-account-statistics-req.ts @@ -12,9 +12,9 @@ * Do not edit the class manually. */ -export interface KamiApiJdCookieV1BatchCheckReq { +export interface KamiApiCamelOilV1AccountStatisticsReq { /** - * Cookie ID列表 + * 账号ID */ - cookieIds: Array; + accountId: number; } diff --git a/src/api/generated/models/kami-api-camel-oil-v1-account-statistics-res-account-info.ts b/src/api/generated/models/kami-api-camel-oil-v1-account-statistics-res-account-info.ts new file mode 100644 index 0000000..3aff0f3 --- /dev/null +++ b/src/api/generated/models/kami-api-camel-oil-v1-account-statistics-res-account-info.ts @@ -0,0 +1,56 @@ +/* tslint:disable */ + +/** + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +export interface KamiApiCamelOilV1AccountStatisticsResAccountInfo { + /** + * 账号ID + */ + accountId?: number; + /** + * 账号名称 + */ + accountName?: string; + /** + * 手机号(脱敏) + */ + phone?: string; + /** + * 状态 + */ + status?: KamiApiCamelOilV1AccountStatisticsResAccountInfoStatusEnum; + /** + * 状态文本 + */ + statusText?: string; + /** + * 最后使用时间 + */ + lastUsedAt?: string; + /** + * 最后登录时间 + */ + lastLoginAt?: string; + /** + * Token过期时间 + */ + tokenExpireAt?: string; +} + +export enum KamiApiCamelOilV1AccountStatisticsResAccountInfoStatusEnum { + NUMBER_4 = 4, + NUMBER_1 = 1, + NUMBER_2 = 2, + NUMBER_3 = 3, + NUMBER_0 = 0 +} diff --git a/src/api/generated/models/kami-api-camel-oil-v1-account-statistics-res-order-stats.ts b/src/api/generated/models/kami-api-camel-oil-v1-account-statistics-res-order-stats.ts new file mode 100644 index 0000000..a5c361b --- /dev/null +++ b/src/api/generated/models/kami-api-camel-oil-v1-account-statistics-res-order-stats.ts @@ -0,0 +1,40 @@ +/* tslint:disable */ + +/** + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +export interface KamiApiCamelOilV1AccountStatisticsResOrderStats { + /** + * 总订单数 + */ + totalOrders?: number; + /** + * 已支付订单数 + */ + paidOrders?: number; + /** + * 待支付订单数 + */ + pendingOrders?: number; + /** + * 超时订单数 + */ + timeoutOrders?: number; + /** + * 当日下单数 + */ + dailyOrderCount?: number; + /** + * 剩余可下单数 + */ + remainingOrders?: number; +} diff --git a/src/api/generated/models/kami-api-camel-oil-v1-account-statistics-res-recent-trend-inner.ts b/src/api/generated/models/kami-api-camel-oil-v1-account-statistics-res-recent-trend-inner.ts new file mode 100644 index 0000000..f9dbd7e --- /dev/null +++ b/src/api/generated/models/kami-api-camel-oil-v1-account-statistics-res-recent-trend-inner.ts @@ -0,0 +1,24 @@ +/* tslint:disable */ + +/** + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +export interface KamiApiCamelOilV1AccountStatisticsResRecentTrendInner { + /** + * 日期 + */ + date?: string; + /** + * 订单数 + */ + orderCount?: number; +} diff --git a/src/api/generated/models/kami-api-camel-oil-v1-account-statistics-res-usage-info.ts b/src/api/generated/models/kami-api-camel-oil-v1-account-statistics-res-usage-info.ts new file mode 100644 index 0000000..4aa0b3e --- /dev/null +++ b/src/api/generated/models/kami-api-camel-oil-v1-account-statistics-res-usage-info.ts @@ -0,0 +1,28 @@ +/* tslint:disable */ + +/** + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +export interface KamiApiCamelOilV1AccountStatisticsResUsageInfo { + /** + * 在线时长 + */ + onlineDuration?: string; + /** + * 最后使用时间 + */ + lastUsedAt?: string; + /** + * 日均订单数 + */ + avgOrdersDaily?: number; +} diff --git a/src/api/generated/models/kami-api-camel-oil-v1-account-statistics-res.ts b/src/api/generated/models/kami-api-camel-oil-v1-account-statistics-res.ts new file mode 100644 index 0000000..1736ffe --- /dev/null +++ b/src/api/generated/models/kami-api-camel-oil-v1-account-statistics-res.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ + +/** + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +// May contain unused imports in some cases +// @ts-ignore +import type { KamiApiCamelOilV1AccountStatisticsResAccountInfo } from './kami-api-camel-oil-v1-account-statistics-res-account-info'; +// May contain unused imports in some cases +// @ts-ignore +import type { KamiApiCamelOilV1AccountStatisticsResOrderStats } from './kami-api-camel-oil-v1-account-statistics-res-order-stats'; +// May contain unused imports in some cases +// @ts-ignore +import type { KamiApiCamelOilV1AccountStatisticsResRecentTrendInner } from './kami-api-camel-oil-v1-account-statistics-res-recent-trend-inner'; +// May contain unused imports in some cases +// @ts-ignore +import type { KamiApiCamelOilV1AccountStatisticsResUsageInfo } from './kami-api-camel-oil-v1-account-statistics-res-usage-info'; + +export interface KamiApiCamelOilV1AccountStatisticsRes { + accountInfo?: KamiApiCamelOilV1AccountStatisticsResAccountInfo; + orderStats?: KamiApiCamelOilV1AccountStatisticsResOrderStats; + usageInfo?: KamiApiCamelOilV1AccountStatisticsResUsageInfo; + /** + * 近期订单趋势(最近7天) + */ + recentTrend?: Array; +} diff --git a/src/api/generated/models/kami-api-jd-cookie-v1-check-jd-order-payment-req.ts b/src/api/generated/models/kami-api-camel-oil-v1-check-account-req.ts similarity index 78% rename from src/api/generated/models/kami-api-jd-cookie-v1-check-jd-order-payment-req.ts rename to src/api/generated/models/kami-api-camel-oil-v1-check-account-req.ts index cfba831..2b527ee 100644 --- a/src/api/generated/models/kami-api-jd-cookie-v1-check-jd-order-payment-req.ts +++ b/src/api/generated/models/kami-api-camel-oil-v1-check-account-req.ts @@ -12,9 +12,9 @@ * Do not edit the class manually. */ -export interface KamiApiJdCookieV1CheckJdOrderPaymentReq { +export interface KamiApiCamelOilV1CheckAccountReq { /** - * 京东订单号 + * 账号ID */ - jd_order_id: string; + accountId: number; } diff --git a/src/api/generated/models/kami-api-jd-cookie-v1-cookie-check-result.ts b/src/api/generated/models/kami-api-camel-oil-v1-check-account-res.ts similarity index 59% rename from src/api/generated/models/kami-api-jd-cookie-v1-cookie-check-result.ts rename to src/api/generated/models/kami-api-camel-oil-v1-check-account-res.ts index 8ddf131..d03bf0d 100644 --- a/src/api/generated/models/kami-api-jd-cookie-v1-cookie-check-result.ts +++ b/src/api/generated/models/kami-api-camel-oil-v1-check-account-res.ts @@ -12,24 +12,29 @@ * Do not edit the class manually. */ -export interface KamiApiJdCookieV1CookieCheckResult { +export interface KamiApiCamelOilV1CheckAccountRes { /** - * Cookie ID + * 是否在线 */ - cookieId?: string; + isOnline?: boolean; /** * 状态 */ - status?: KamiApiJdCookieV1CookieCheckResultStatusEnum; + status?: KamiApiCamelOilV1CheckAccountResStatusEnum; /** - * 检测信息 + * 状态文本 */ - message?: string; + statusText?: string; + /** + * 失败原因 + */ + failureReason?: string; } -export enum KamiApiJdCookieV1CookieCheckResultStatusEnum { - NUMBER_3 = 3, +export enum KamiApiCamelOilV1CheckAccountResStatusEnum { + NUMBER_4 = 4, NUMBER_1 = 1, NUMBER_2 = 2, + NUMBER_3 = 3, NUMBER_0 = 0 } diff --git a/src/api/generated/models/kami-api-camel-oil-v1-list-account-req.ts b/src/api/generated/models/kami-api-camel-oil-v1-list-account-req.ts new file mode 100644 index 0000000..26d70ca --- /dev/null +++ b/src/api/generated/models/kami-api-camel-oil-v1-list-account-req.ts @@ -0,0 +1,48 @@ +/* tslint:disable */ + +/** + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +export interface KamiApiCamelOilV1ListAccountReq { + /** + * 页数 + */ + current: number; + /** + * 页码 + */ + pageSize: KamiApiCamelOilV1ListAccountReqPageSizeEnum; + /** + * 状态筛选 + */ + status?: KamiApiCamelOilV1ListAccountReqStatusEnum; + /** + * 关键词搜索(账号名称/手机号) + */ + keyword?: string; +} + +export enum KamiApiCamelOilV1ListAccountReqPageSizeEnum { + NUMBER_5 = 5, + NUMBER_10 = 10, + NUMBER_15 = 15, + NUMBER_20 = 20, + NUMBER_50 = 50, + NUMBER_100 = 100 +} +export enum KamiApiCamelOilV1ListAccountReqStatusEnum { + NUMBER_4 = 4, + NUMBER_1 = 1, + NUMBER_2 = 2, + NUMBER_3 = 3, + NUMBER_0 = 0 +} diff --git a/src/api/generated/models/kami-api-jd-cookie-v1-batch-validate-req.ts b/src/api/generated/models/kami-api-camel-oil-v1-list-account-res.ts similarity index 63% rename from src/api/generated/models/kami-api-jd-cookie-v1-batch-validate-req.ts rename to src/api/generated/models/kami-api-camel-oil-v1-list-account-res.ts index f0b0ccf..75793a4 100644 --- a/src/api/generated/models/kami-api-jd-cookie-v1-batch-validate-req.ts +++ b/src/api/generated/models/kami-api-camel-oil-v1-list-account-res.ts @@ -14,11 +14,9 @@ // May contain unused imports in some cases // @ts-ignore -import type { KamiApiJdCookieV1ValidateCookieItem } from './kami-api-jd-cookie-v1-validate-cookie-item'; +import type { KamiApiCamelOilV1AccountListItem } from './kami-api-camel-oil-v1-account-list-item'; -export interface KamiApiJdCookieV1BatchValidateReq { - /** - * Cookie列表 - */ - cookies: Array; +export interface KamiApiCamelOilV1ListAccountRes { + total?: number; + list?: Array; } diff --git a/src/api/generated/models/kami-api-camel-oil-v1-list-order-req.ts b/src/api/generated/models/kami-api-camel-oil-v1-list-order-req.ts new file mode 100644 index 0000000..1f5a6c8 --- /dev/null +++ b/src/api/generated/models/kami-api-camel-oil-v1-list-order-req.ts @@ -0,0 +1,69 @@ +/* tslint:disable */ + +/** + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +export interface KamiApiCamelOilV1ListOrderReq { + /** + * 页数 + */ + current: number; + /** + * 页码 + */ + pageSize: KamiApiCamelOilV1ListOrderReqPageSizeEnum; + /** + * 商户订单号 + */ + merchantOrderId?: string; + /** + * 系统订单号 + */ + orderNo?: string; + /** + * 账号ID + */ + accountId?: number; + /** + * 订单状态 + */ + status?: KamiApiCamelOilV1ListOrderReqStatusEnum; + /** + * 支付状态 + */ + payStatus?: KamiApiCamelOilV1ListOrderReqPayStatusEnum; + /** + * 时间范围 + */ + dateRange?: Array; +} + +export enum KamiApiCamelOilV1ListOrderReqPageSizeEnum { + NUMBER_5 = 5, + NUMBER_10 = 10, + NUMBER_15 = 15, + NUMBER_20 = 20, + NUMBER_50 = 50, + NUMBER_100 = 100 +} +export enum KamiApiCamelOilV1ListOrderReqStatusEnum { + NUMBER_2 = 2, + NUMBER_3 = 3, + NUMBER_0 = 0, + NUMBER_1 = 1 +} +export enum KamiApiCamelOilV1ListOrderReqPayStatusEnum { + NUMBER_1 = 1, + NUMBER_2 = 2, + NUMBER_3 = 3, + NUMBER_0 = 0 +} diff --git a/src/api/generated/models/kami-api-camel-oil-v1-list-order-res.ts b/src/api/generated/models/kami-api-camel-oil-v1-list-order-res.ts new file mode 100644 index 0000000..64dec5a --- /dev/null +++ b/src/api/generated/models/kami-api-camel-oil-v1-list-order-res.ts @@ -0,0 +1,22 @@ +/* tslint:disable */ + +/** + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +// May contain unused imports in some cases +// @ts-ignore +import type { KamiApiCamelOilV1OrderListItem } from './kami-api-camel-oil-v1-order-list-item'; + +export interface KamiApiCamelOilV1ListOrderRes { + total?: number; + list?: Array; +} diff --git a/src/api/generated/models/kami-api-camel-oil-v1-order-callback-req.ts b/src/api/generated/models/kami-api-camel-oil-v1-order-callback-req.ts new file mode 100644 index 0000000..07bb4a9 --- /dev/null +++ b/src/api/generated/models/kami-api-camel-oil-v1-order-callback-req.ts @@ -0,0 +1,20 @@ +/* tslint:disable */ + +/** + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +export interface KamiApiCamelOilV1OrderCallbackReq { + /** + * 订单号 + */ + orderNo: string; +} diff --git a/src/api/generated/models/kami-api-camel-oil-v1-order-callback-res.ts b/src/api/generated/models/kami-api-camel-oil-v1-order-callback-res.ts new file mode 100644 index 0000000..6061526 --- /dev/null +++ b/src/api/generated/models/kami-api-camel-oil-v1-order-callback-res.ts @@ -0,0 +1,24 @@ +/* tslint:disable */ + +/** + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +export interface KamiApiCamelOilV1OrderCallbackRes { + /** + * 回调是否成功 + */ + success?: boolean; + /** + * 回调结果消息 + */ + message?: string; +} diff --git a/src/api/generated/models/kami-api-camel-oil-v1-order-detail-req.ts b/src/api/generated/models/kami-api-camel-oil-v1-order-detail-req.ts new file mode 100644 index 0000000..f623323 --- /dev/null +++ b/src/api/generated/models/kami-api-camel-oil-v1-order-detail-req.ts @@ -0,0 +1,20 @@ +/* tslint:disable */ + +/** + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +export interface KamiApiCamelOilV1OrderDetailReq { + /** + * 订单号 + */ + orderNo: string; +} diff --git a/src/api/generated/models/kami-api-camel-oil-v1-order-detail-res-account-info.ts b/src/api/generated/models/kami-api-camel-oil-v1-order-detail-res-account-info.ts new file mode 100644 index 0000000..bc9354d --- /dev/null +++ b/src/api/generated/models/kami-api-camel-oil-v1-order-detail-res-account-info.ts @@ -0,0 +1,48 @@ +/* tslint:disable */ + +/** + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +export interface KamiApiCamelOilV1OrderDetailResAccountInfo { + /** + * 账号ID + */ + accountId?: number; + /** + * 账号名称 + */ + accountName?: string; + /** + * 手机号(脱敦) + */ + phone?: string; + /** + * 状态 + */ + status?: KamiApiCamelOilV1OrderDetailResAccountInfoStatusEnum; + /** + * 状态文本 + */ + statusText?: string; + /** + * 最后使用时间 + */ + lastUsedAt?: string; +} + +export enum KamiApiCamelOilV1OrderDetailResAccountInfoStatusEnum { + NUMBER_4 = 4, + NUMBER_1 = 1, + NUMBER_2 = 2, + NUMBER_3 = 3, + NUMBER_0 = 0 +} diff --git a/src/api/generated/models/kami-api-camel-oil-v1-order-detail-res-order-info.ts b/src/api/generated/models/kami-api-camel-oil-v1-order-detail-res-order-info.ts new file mode 100644 index 0000000..6825e39 --- /dev/null +++ b/src/api/generated/models/kami-api-camel-oil-v1-order-detail-res-order-info.ts @@ -0,0 +1,110 @@ +/* tslint:disable */ + +/** + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +export interface KamiApiCamelOilV1OrderDetailResOrderInfo { + /** + * 系统订单号 + */ + orderNo?: string; + /** + * 商户订单号 + */ + merchantOrderId?: string; + /** + * 账号ID + */ + accountId?: number; + /** + * 账号名称 + */ + accountName?: string; + /** + * 订单金额 + */ + amount?: number; + /** + * 支付宝支付链接 + */ + alipayUrl?: string; + /** + * 订单状态 + */ + status?: KamiApiCamelOilV1OrderDetailResOrderInfoStatusEnum; + /** + * 订单状态文本 + */ + statusText?: string; + /** + * 支付状态 + */ + payStatus?: KamiApiCamelOilV1OrderDetailResOrderInfoPayStatusEnum; + /** + * 支付状态文本 + */ + payStatusText?: string; + /** + * 回调状态 + */ + notifyStatus?: KamiApiCamelOilV1OrderDetailResOrderInfoNotifyStatusEnum; + /** + * 回调状态文本 + */ + notifyStatusText?: string; + /** + * 回调次数 + */ + notifyCount?: number; + /** + * 支付完成时间 + */ + paidAt?: string; + /** + * 最后检测支付时间 + */ + lastCheckAt?: string; + /** + * 附加信息 + */ + attach?: string; + /** + * 失败原因 + */ + failureReason?: string; + /** + * 创建时间 + */ + createdAt?: string; + /** + * 更新时间 + */ + updatedAt?: string; +} + +export enum KamiApiCamelOilV1OrderDetailResOrderInfoStatusEnum { + NUMBER_2 = 2, + NUMBER_3 = 3, + NUMBER_0 = 0, + NUMBER_1 = 1 +} +export enum KamiApiCamelOilV1OrderDetailResOrderInfoPayStatusEnum { + NUMBER_1 = 1, + NUMBER_2 = 2, + NUMBER_3 = 3, + NUMBER_0 = 0 +} +export enum KamiApiCamelOilV1OrderDetailResOrderInfoNotifyStatusEnum { + NUMBER_2 = 2, + NUMBER_0 = 0, + NUMBER_1 = 1 +} diff --git a/src/api/generated/models/kami-api-camel-oil-v1-order-detail-res.ts b/src/api/generated/models/kami-api-camel-oil-v1-order-detail-res.ts new file mode 100644 index 0000000..a4e3daa --- /dev/null +++ b/src/api/generated/models/kami-api-camel-oil-v1-order-detail-res.ts @@ -0,0 +1,25 @@ +/* tslint:disable */ + +/** + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +// May contain unused imports in some cases +// @ts-ignore +import type { KamiApiCamelOilV1OrderDetailResAccountInfo } from './kami-api-camel-oil-v1-order-detail-res-account-info'; +// May contain unused imports in some cases +// @ts-ignore +import type { KamiApiCamelOilV1OrderDetailResOrderInfo } from './kami-api-camel-oil-v1-order-detail-res-order-info'; + +export interface KamiApiCamelOilV1OrderDetailRes { + orderInfo?: KamiApiCamelOilV1OrderDetailResOrderInfo; + accountInfo?: KamiApiCamelOilV1OrderDetailResAccountInfo; +} diff --git a/src/api/generated/models/kami-api-camel-oil-v1-order-history-item.ts b/src/api/generated/models/kami-api-camel-oil-v1-order-history-item.ts new file mode 100644 index 0000000..8df020c --- /dev/null +++ b/src/api/generated/models/kami-api-camel-oil-v1-order-history-item.ts @@ -0,0 +1,64 @@ +/* tslint:disable */ + +/** + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +export interface KamiApiCamelOilV1OrderHistoryItem { + /** + * 历史记录UUID + */ + historyUuid?: string; + /** + * 订单号 + */ + orderNo?: string; + /** + * 变更类型 + */ + changeType?: KamiApiCamelOilV1OrderHistoryItemChangeTypeEnum; + /** + * 变更类型文本 + */ + changeText?: string; + /** + * 关联账号ID + */ + accountId?: number; + /** + * 账号名称 + */ + accountName?: string; + /** + * 原始响应数据 + */ + rawData?: string; + /** + * 备注 + */ + remark?: string; + /** + * 创建时间 + */ + createdAt?: string; +} + +export enum KamiApiCamelOilV1OrderHistoryItemChangeTypeEnum { + CallbackFail = 'callback_fail', + CallbackSuccess = 'callback_success', + CheckPay = 'check_pay', + Create = 'create', + Fail = 'fail', + GetPayUrl = 'get_pay_url', + Paid = 'paid', + Submit = 'submit', + Timeout = 'timeout' +} diff --git a/src/api/generated/models/kami-api-camel-oil-v1-order-history-req.ts b/src/api/generated/models/kami-api-camel-oil-v1-order-history-req.ts new file mode 100644 index 0000000..3763340 --- /dev/null +++ b/src/api/generated/models/kami-api-camel-oil-v1-order-history-req.ts @@ -0,0 +1,37 @@ +/* tslint:disable */ + +/** + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +export interface KamiApiCamelOilV1OrderHistoryReq { + /** + * 页数 + */ + current: number; + /** + * 页码 + */ + pageSize: KamiApiCamelOilV1OrderHistoryReqPageSizeEnum; + /** + * 订单号 + */ + orderNo: string; +} + +export enum KamiApiCamelOilV1OrderHistoryReqPageSizeEnum { + NUMBER_5 = 5, + NUMBER_10 = 10, + NUMBER_15 = 15, + NUMBER_20 = 20, + NUMBER_50 = 50, + NUMBER_100 = 100 +} diff --git a/src/api/generated/models/kami-api-camel-oil-v1-order-history-res.ts b/src/api/generated/models/kami-api-camel-oil-v1-order-history-res.ts new file mode 100644 index 0000000..5e45f71 --- /dev/null +++ b/src/api/generated/models/kami-api-camel-oil-v1-order-history-res.ts @@ -0,0 +1,22 @@ +/* tslint:disable */ + +/** + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +// May contain unused imports in some cases +// @ts-ignore +import type { KamiApiCamelOilV1OrderHistoryItem } from './kami-api-camel-oil-v1-order-history-item'; + +export interface KamiApiCamelOilV1OrderHistoryRes { + total?: number; + list?: Array; +} diff --git a/src/api/generated/models/kami-api-camel-oil-v1-order-list-item.ts b/src/api/generated/models/kami-api-camel-oil-v1-order-list-item.ts new file mode 100644 index 0000000..fa8a0e7 --- /dev/null +++ b/src/api/generated/models/kami-api-camel-oil-v1-order-list-item.ts @@ -0,0 +1,106 @@ +/* tslint:disable */ + +/** + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +export interface KamiApiCamelOilV1OrderListItem { + /** + * 系统订单号 + */ + orderNo?: string; + /** + * 商户订单号 + */ + merchantOrderId?: string; + /** + * 账号ID + */ + accountId?: number; + /** + * 账号名称 + */ + accountName?: string; + /** + * 订单金额 + */ + amount?: number; + /** + * 支付宝支付链接 + */ + alipayUrl?: string; + /** + * 订单状态 + */ + status?: KamiApiCamelOilV1OrderListItemStatusEnum; + /** + * 订单状态文本 + */ + statusText?: string; + /** + * 支付状态 + */ + payStatus?: KamiApiCamelOilV1OrderListItemPayStatusEnum; + /** + * 支付状态文本 + */ + payStatusText?: string; + /** + * 回调状态 + */ + notifyStatus?: KamiApiCamelOilV1OrderListItemNotifyStatusEnum; + /** + * 回调状态文本 + */ + notifyStatusText?: string; + /** + * 回调次数 + */ + notifyCount?: number; + /** + * 支付完成时间 + */ + paidAt?: string; + /** + * 最后检测支付时间 + */ + lastCheckAt?: string; + /** + * 失败原因 + */ + failureReason?: string; + /** + * 创建时间 + */ + createdAt?: string; + /** + * 更新时间 + */ + updatedAt?: string; +} + +export enum KamiApiCamelOilV1OrderListItemStatusEnum { + NUMBER_2 = 2, + NUMBER_3 = 3, + NUMBER_0 = 0, + NUMBER_1 = 1 +} +export enum KamiApiCamelOilV1OrderListItemPayStatusEnum { + NUMBER_1 = 1, + NUMBER_2 = 2, + NUMBER_3 = 3, + NUMBER_0 = 0 +} +export enum KamiApiCamelOilV1OrderListItemNotifyStatusEnum { + NUMBER_2 = 2, + NUMBER_0 = 0, + NUMBER_1 = 1 +} diff --git a/src/api/generated/models/kami-api-camel-oil-v1-submit-order-req.ts b/src/api/generated/models/kami-api-camel-oil-v1-submit-order-req.ts new file mode 100644 index 0000000..e4224cb --- /dev/null +++ b/src/api/generated/models/kami-api-camel-oil-v1-submit-order-req.ts @@ -0,0 +1,28 @@ +/* tslint:disable */ + +/** + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +export interface KamiApiCamelOilV1SubmitOrderReq { + /** + * 订单金额 + */ + amount: number; + /** + * 商户订单号 + */ + merchantOrderId: string; + /** + * 附加信息 + */ + attach?: string; +} diff --git a/src/api/generated/models/kami-api-camel-oil-v1-submit-order-res.ts b/src/api/generated/models/kami-api-camel-oil-v1-submit-order-res.ts new file mode 100644 index 0000000..54809e3 --- /dev/null +++ b/src/api/generated/models/kami-api-camel-oil-v1-submit-order-res.ts @@ -0,0 +1,32 @@ +/* tslint:disable */ + +/** + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +export interface KamiApiCamelOilV1SubmitOrderRes { + /** + * 系统订单号 + */ + orderNo?: string; + /** + * 支付宝支付链接 + */ + alipayUrl?: string; + /** + * 订单金额 + */ + amount?: number; + /** + * 创建时间 + */ + createdAt?: string; +} diff --git a/src/api/generated/models/kami-api-jd-cookie-v1-batch-validate-res.ts b/src/api/generated/models/kami-api-jd-cookie-v1-batch-validate-res.ts deleted file mode 100644 index 197a7f0..0000000 --- a/src/api/generated/models/kami-api-jd-cookie-v1-batch-validate-res.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* tslint:disable */ - -/** - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -// May contain unused imports in some cases -// @ts-ignore -import type { KamiApiJdCookieV1BatchValidateResult } from './kami-api-jd-cookie-v1-batch-validate-result'; - -export interface KamiApiJdCookieV1BatchValidateRes { - /** - * 总数量 - */ - totalCount?: number; - /** - * 有效数量 - */ - validCount?: number; - /** - * 无效数量 - */ - invalidCount?: number; - /** - * 验证结果详情 - */ - results?: Array; -} diff --git a/src/api/generated/models/kami-api-jd-cookie-v1-check-jd-order-payment-res.ts b/src/api/generated/models/kami-api-jd-cookie-v1-check-jd-order-payment-res.ts deleted file mode 100644 index 5dc6d90..0000000 --- a/src/api/generated/models/kami-api-jd-cookie-v1-check-jd-order-payment-res.ts +++ /dev/null @@ -1,45 +0,0 @@ -/* tslint:disable */ - -/** - * - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -export interface KamiApiJdCookieV1CheckJdOrderPaymentRes { - /** - * 京东订单号 - */ - jd_order_id?: string; - /** - * 是否已支付 - */ - is_paid?: boolean; - /** - * 支付状态:1待支付 2已支付 3已过期 4已取消 - */ - payment_status?: KamiApiJdCookieV1CheckJdOrderPaymentResPaymentStatusEnum; - /** - * 状态描述 - */ - message?: string; - /** - * 是否可以复用 - */ - can_reuse?: boolean; -} - -export enum KamiApiJdCookieV1CheckJdOrderPaymentResPaymentStatusEnum { - NUMBER_5 = 5, - NUMBER_6 = 6, - NUMBER_4 = 4, - NUMBER_2 = 2, - NUMBER_1 = 1, - NUMBER_3 = 3 -} diff --git a/src/api/generated/models/kami-api-restriction-v1-get-aesencryption-params-res.ts b/src/api/generated/models/kami-api-restriction-v1-get-aesencryption-params-res.ts new file mode 100644 index 0000000..c4b37b4 --- /dev/null +++ b/src/api/generated/models/kami-api-restriction-v1-get-aesencryption-params-res.ts @@ -0,0 +1,24 @@ +/* tslint:disable */ + +/** + * + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +export interface KamiApiRestrictionV1GetAESEncryptionParamsRes { + /** + * AES 密钥(十六进制字符串) + */ + key?: string; + /** + * AES 初始化向量(十六进制字符串) + */ + iv?: string; +} diff --git a/src/api/index.ts b/src/api/index.ts index e89826a..96d39ec 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -4,7 +4,9 @@ import { DefaultApi, JDCookieManagementApi, JDHistoryApi, - JDOrderManagementApi + JDOrderManagementApi, + JDV2AccountApi, + JDV2OrderApi } from './generated'; // 获取API基础URL @@ -34,3 +36,14 @@ export const jdOrderClient = new JDOrderManagementApi( apiBaseUrl, axios ); +export const jdV2AccountClient = new JDV2AccountApi( + configuration, + apiBaseUrl, + axios +); + +export const jdV2OrderClient = new JDV2OrderApi( + configuration, + apiBaseUrl, + axios +); diff --git a/src/router/routes/modules/camel-oil.ts b/src/router/routes/modules/camel-oil.ts new file mode 100644 index 0000000..1fcd117 --- /dev/null +++ b/src/router/routes/modules/camel-oil.ts @@ -0,0 +1,44 @@ +import { DEFAULT_LAYOUT } from '../base'; +import type { AppRouteRecordRaw } from '../types'; + +/** + * 骆驼加油管理路由模块 + * 包含账号管理和订单管理两个子模块 + */ +const CamelOilMgt: AppRouteRecordRaw = { + path: '/camel-oil', + name: 'camelOilMgt', + component: DEFAULT_LAYOUT, + meta: { + locale: '骆驼加油', + requiresAuth: true, + icon: 'icon-car', + order: 5 + }, + children: [ + { + path: 'account', + name: 'camelOilAccount', + component: () => import('@/views/camel-oil-info/account/index.vue'), + meta: { + locale: '账号管理', + requiresAuth: true, + roles: ['*'], + activeMenu: '/camel-oil/account' + } + }, + { + path: 'order', + name: 'camelOilOrder', + component: () => import('@/views/camel-oil-info/order/index.vue'), + meta: { + locale: '订单管理', + requiresAuth: true, + roles: ['*'], + activeMenu: '/camel-oil/order' + } + } + ] +}; + +export default CamelOilMgt; diff --git a/src/views/camel-oil-info/account/components/account-orders.vue b/src/views/camel-oil-info/account/components/account-orders.vue new file mode 100644 index 0000000..1368990 --- /dev/null +++ b/src/views/camel-oil-info/account/components/account-orders.vue @@ -0,0 +1,257 @@ + + + + + diff --git a/src/views/camel-oil-info/account/components/detail.vue b/src/views/camel-oil-info/account/components/detail.vue new file mode 100644 index 0000000..6ac9ec3 --- /dev/null +++ b/src/views/camel-oil-info/account/components/detail.vue @@ -0,0 +1,238 @@ + + + + + diff --git a/src/views/camel-oil-info/account/components/history.vue b/src/views/camel-oil-info/account/components/history.vue new file mode 100644 index 0000000..31f4b9f --- /dev/null +++ b/src/views/camel-oil-info/account/components/history.vue @@ -0,0 +1,415 @@ + + + + + diff --git a/src/views/camel-oil-info/account/components/order-detail-modal.vue b/src/views/camel-oil-info/account/components/order-detail-modal.vue new file mode 100644 index 0000000..fc5291b --- /dev/null +++ b/src/views/camel-oil-info/account/components/order-detail-modal.vue @@ -0,0 +1,135 @@ + + + + + diff --git a/src/views/camel-oil-info/account/index.vue b/src/views/camel-oil-info/account/index.vue new file mode 100644 index 0000000..d905d78 --- /dev/null +++ b/src/views/camel-oil-info/account/index.vue @@ -0,0 +1,443 @@ + + + + + diff --git a/src/views/camel-oil-info/order/components/order-detail-modal.vue b/src/views/camel-oil-info/order/components/order-detail-modal.vue new file mode 100644 index 0000000..303189f --- /dev/null +++ b/src/views/camel-oil-info/order/components/order-detail-modal.vue @@ -0,0 +1,252 @@ + + + + + diff --git a/src/views/camel-oil-info/order/components/order-history-modal.vue b/src/views/camel-oil-info/order/components/order-history-modal.vue new file mode 100644 index 0000000..cb97046 --- /dev/null +++ b/src/views/camel-oil-info/order/components/order-history-modal.vue @@ -0,0 +1,274 @@ + + + + + diff --git a/src/views/camel-oil-info/order/index.vue b/src/views/camel-oil-info/order/index.vue new file mode 100644 index 0000000..e6e30e1 --- /dev/null +++ b/src/views/camel-oil-info/order/index.vue @@ -0,0 +1,522 @@ + + + + +