# ll-cdc-api

> CDC_CFSA_XHL_REPORT____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________

Latest version **1.1.74** (published 2021-05-31) · Unlicense license · 0 weekly downloads

## Install

```sh
npm install ll-cdc-api
pnpm add ll-cdc-api
yarn add ll-cdc-api
bun add ll-cdc-api
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.74 |
| Published | 2021-05-31 |
| First published | 2020-08-03 |
| Weekly downloads | 0 |
| License | Unlicense |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 296.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | dalang81 |

## Links

- npm: https://www.npmjs.com/package/ll-cdc-api
- npm.io page: https://npm.io/package/ll-cdc-api

## Dependencies (3)

- [lodash](https://npm.io/package/lodash.md) ^4.17.20
- [@babel/cli](https://npm.io/package/@babel/cli.md) ^7.0.0
- [superagent](https://npm.io/package/superagent.md) ^5.3.0

## Recent versions

- 1.1.74 (latest) — 2021-05-31
- 1.1.73 — 2021-05-31
- 1.1.72 — 2021-05-31
- 1.1.71 — 2021-05-31
- 1.1.70 — 2021-05-27
- 1.1.69 — 2021-01-26
- 1.1.68 — 2021-01-26
- 1.1.67 — 2021-01-26
- 1.1.66 — 2021-01-26
- 1.1.65 — 2020-12-22
- 1.1.64 — 2020-12-02
- 1.1.63 — 2020-11-26
- 1.1.62 — 2020-11-24
- 1.1.61 — 2020-11-24
- 1.1.60 — 2020-11-24
- … 47 more at https://npm.io/package/ll-cdc-api/versions

## README

# ll-cdc-api

LlCdcApi - JavaScript client for ll-cdc-api
\"用于服务CDC/CFSA/XHL REPORT接口开发\"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 1.1.69
- Package version: 1.1.69
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
For more information, please visit [www.lilianinfo.com](www.lilianinfo.com)

## Installation

### For [Node.js](https://nodejs.org/)

#### npm

To publish the library as a [npm](https://www.npmjs.com/), please follow the procedure in ["Publishing npm packages"](https://docs.npmjs.com/getting-started/publishing-npm-packages).

Then install it via:

```shell
npm install ll-cdc-api --save
```

Finally, you need to build the module:

```shell
npm run build
```

##### Local development

To use the library locally without publishing to a remote npm registry, first install the dependencies by changing into the directory containing `package.json` (and this README). Let's call this `JAVASCRIPT_CLIENT_DIR`. Then run:

```shell
npm install
```

Next, [link](https://docs.npmjs.com/cli/link) it globally in npm with the following, also from `JAVASCRIPT_CLIENT_DIR`:

```shell
npm link
```

To use the link you just defined in your project, switch to the directory you want to use your ll-cdc-api from, and run:

```shell
npm link /path/to/<JAVASCRIPT_CLIENT_DIR>
```

Finally, you need to build the module:

```shell
npm run build
```

#### git

If the library is hosted at a git repository, e.g.https://github.com/GIT_USER_ID/GIT_REPO_ID
then install it via:

```shell
    npm install GIT_USER_ID/GIT_REPO_ID --save
```

### For browser

The library also works in the browser environment via npm and [browserify](http://browserify.org/). After following
the above steps with Node.js and installing browserify with `npm install -g browserify`,
perform the following (assuming *main.js* is your entry file):

```shell
browserify main.js > bundle.js
```

Then include *bundle.js* in the HTML pages.

### Webpack Configuration

Using Webpack you may encounter the following error: "Module not found: Error:
Cannot resolve module", most certainly you should disable AMD loader. Add/merge
the following section to your webpack config:

```javascript
module: {
  rules: [
    {
      parser: {
        amd: false
      }
    }
  ]
}
```

## Getting Started

Please follow the [installation](#installation) instruction and execute the following JS code:

```javascript
var LlCdcApi = require('ll-cdc-api');


var api = new LlCdcApi.CdcReportControllerApi()
var bean = new LlCdcApi.CdcReport(); // {CdcReport} bean
api.addCdc(bean).then(function(data) {
  console.log('API called successfully. Returned data: ' + data);
}, function(error) {
  console.error(error);
});


```

## Documentation for API Endpoints

All URIs are relative to *http://localhost:8080*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*LlCdcApi.CdcReportControllerApi* | [**addCdc**](docs/CdcReportControllerApi.md#addCdc) | **POST** /api/cdc/add | 保存报卡
*LlCdcApi.CdcReportControllerApi* | [**addCdcMulti**](docs/CdcReportControllerApi.md#addCdcMulti) | **POST** /api/cdc/addMulti/{immediately} | 保存报卡
*LlCdcApi.CdcReportControllerApi* | [**cdcsetting**](docs/CdcReportControllerApi.md#cdcsetting) | **GET** /api/cdc/setting | 获取CDC设置
*LlCdcApi.CdcReportControllerApi* | [**detailCdc**](docs/CdcReportControllerApi.md#detailCdc) | **GET** /api/cdc/detail/{id} | 获取CDC请求详情
*LlCdcApi.CdcReportControllerApi* | [**listCdc**](docs/CdcReportControllerApi.md#listCdc) | **GET** /api/cdc/list | 获取CDC全部上报请求
*LlCdcApi.CdcReportControllerApi* | [**removeCdc**](docs/CdcReportControllerApi.md#removeCdc) | **DELETE** /api/cdc/delete/{id} | 撤销报卡
*LlCdcApi.CdcReportControllerApi* | [**reportCdc**](docs/CdcReportControllerApi.md#reportCdc) | **POST** /api/cdc/report/{id} | 上报CDC
*LlCdcApi.CdcReportControllerApi* | [**reportImmediately**](docs/CdcReportControllerApi.md#reportImmediately) | **GET** /api/cdc/report/immediately | 批量报卡
*LlCdcApi.CdcReportControllerApi* | [**testDetailCdc**](docs/CdcReportControllerApi.md#testDetailCdc) | **GET** /api/cdc/testDetailCdc/{id} | 获取CDC请求详情
*LlCdcApi.CdcReportControllerApi* | [**testPublishUsingGET**](docs/CdcReportControllerApi.md#testPublishUsingGET) | **GET** /api/cdc/report/testPublish | testPublish
*LlCdcApi.CdcReportControllerApi* | [**vpnstatus**](docs/CdcReportControllerApi.md#vpnstatus) | **GET** /api/cdc/vpnstatus | 获取CDC VPN状态
*LlCdcApi.LoginControllerApi* | [**login**](docs/LoginControllerApi.md#login) | **POST** /api/user/login | 登录
*LlCdcApi.RecordControllerApi* | [**fetchListRecords**](docs/RecordControllerApi.md#fetchListRecords) | **GET** /api/record/fetchListRecords | 获取操作记录全部信息
*LlCdcApi.ReportControllerApi* | [**addExposeReportUsingPOST**](docs/ReportControllerApi.md#addExposeReportUsingPOST) | **POST** /api/cases/exposeReport | addExposeReport
*LlCdcApi.ReportControllerApi* | [**addGatherReportUsingPOST**](docs/ReportControllerApi.md#addGatherReportUsingPOST) | **POST** /api/cases/gatherReport | addGatherReport
*LlCdcApi.ReportControllerApi* | [**addReportUsingPOST**](docs/ReportControllerApi.md#addReportUsingPOST) | **POST** /api/cases/report | addReport
*LlCdcApi.ReportControllerApi* | [**cancelReportUsingPOST**](docs/ReportControllerApi.md#cancelReportUsingPOST) | **POST** /api/cases/cancelReport | cancelReport
*LlCdcApi.ReportControllerApi* | [**deleteGatherReportUsingPOST**](docs/ReportControllerApi.md#deleteGatherReportUsingPOST) | **POST** /api/cases/deleteGatherReport | deleteGatherReport
*LlCdcApi.ReportControllerApi* | [**deleteReportUsingPOST**](docs/ReportControllerApi.md#deleteReportUsingPOST) | **POST** /api/cases/deleteReport | deleteReport
*LlCdcApi.ReportControllerApi* | [**listExposeReportsUsingGET**](docs/ReportControllerApi.md#listExposeReportsUsingGET) | **GET** /api/cases/exposeReports | listExposeReports
*LlCdcApi.ReportControllerApi* | [**listGatherReportsRangeUsingGET**](docs/ReportControllerApi.md#listGatherReportsRangeUsingGET) | **GET** /api/cases/gatherReports/range | listGatherReportsRange
*LlCdcApi.ReportControllerApi* | [**listGatherReportsUsingGET**](docs/ReportControllerApi.md#listGatherReportsUsingGET) | **GET** /api/cases/gatherReports | listGatherReports
*LlCdcApi.ReportControllerApi* | [**listReportsUsingGET**](docs/ReportControllerApi.md#listReportsUsingGET) | **GET** /api/cases/reports | listReports
*LlCdcApi.ReportControllerApi* | [**recallReportUsingPOST**](docs/ReportControllerApi.md#recallReportUsingPOST) | **POST** /api/cases/recallReport | recallReport
*LlCdcApi.ReportControllerApi* | [**reportReportUsingPOST**](docs/ReportControllerApi.md#reportReportUsingPOST) | **POST** /api/cases/reportReport | reportReport
*LlCdcApi.ReportControllerApi* | [**submitReportUsingPOST**](docs/ReportControllerApi.md#submitReportUsingPOST) | **POST** /api/cases/submit | submitReport
*LlCdcApi.XhlReportControllerApi* | [**addXhl**](docs/XhlReportControllerApi.md#addXhl) | **POST** /api/xhl/add | 保存报卡
*LlCdcApi.XhlReportControllerApi* | [**addXhlMulti**](docs/XhlReportControllerApi.md#addXhlMulti) | **POST** /api/xhl/addMulti/{immediately} | 保存报卡
*LlCdcApi.XhlReportControllerApi* | [**detailXhl**](docs/XhlReportControllerApi.md#detailXhl) | **GET** /api/xhl/detail/{id} | 获取现换率请求详情
*LlCdcApi.XhlReportControllerApi* | [**listXhl**](docs/XhlReportControllerApi.md#listXhl) | **GET** /api/xhl/list | 获取现换率全部上报请求
*LlCdcApi.XhlReportControllerApi* | [**removeXhl**](docs/XhlReportControllerApi.md#removeXhl) | **DELETE** /api/xhl/delete/{id} | 撤销报卡
*LlCdcApi.XhlReportControllerApi* | [**reportXhl**](docs/XhlReportControllerApi.md#reportXhl) | **POST** /api/xhl/report/{id} | 上报现换率


## Documentation for Models

 - [LlCdcApi.CdcReport](docs/CdcReport.md)
 - [LlCdcApi.ExposeInfo](docs/ExposeInfo.md)
 - [LlCdcApi.GatherInfo](docs/GatherInfo.md)
 - [LlCdcApi.Record](docs/Record.md)
 - [LlCdcApi.Report](docs/Report.md)
 - [LlCdcApi.ReportBody](docs/ReportBody.md)
 - [LlCdcApi.ResponseResultListExposeInfo](docs/ResponseResultListExposeInfo.md)
 - [LlCdcApi.ResponseResultListGatherInfo](docs/ResponseResultListGatherInfo.md)
 - [LlCdcApi.ResponseResultListReport](docs/ResponseResultListReport.md)
 - [LlCdcApi.ResponseResultstring](docs/ResponseResultstring.md)
 - [LlCdcApi.UserParam](docs/UserParam.md)
 - [LlCdcApi.XhlGrqk](docs/XhlGrqk.md)
 - [LlCdcApi.XhlReport](docs/XhlReport.md)


## Documentation for Authorization

All endpoints do not require authorization.

---
_Source: https://npm.io/package/ll-cdc-api · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
