cybertipline-tools 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -3
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/types/transactions/GetStatus.d.ts +10 -0
- package/dist/types/transactions/GetStatus.js +2 -0
- package/dist/types/transactions/GetStatus.js.map +1 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -22,9 +22,10 @@ The package exports ESM modules, so you may need to do some extra configuration
|
|
|
22
22
|
- We document all our APIs and types with JSDoc comments to give you inline documentation in your editor.
|
|
23
23
|
|
|
24
24
|
Coming soon™️:
|
|
25
|
-
- [ ] API client, ability to call the CyberTipline APIs
|
|
26
|
-
- [ ] JSON to XML converter. Convert JSON objects to XML strings for use in the CyberTipline API.
|
|
27
|
-
- [ ]
|
|
25
|
+
- [ ] API client, ability to call the CyberTipline APIs.
|
|
26
|
+
- [ ] JSON to XML converter. Convert JSON objects to XML strings for use in the CyberTipline API.
|
|
27
|
+
- [ ] XML to JSON conversion for responses from the CyberTipline API.
|
|
28
|
+
- [ ] Support batch reporting.
|
|
28
29
|
|
|
29
30
|
## License
|
|
30
31
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from './types/transactions/CancelReport.js';
|
|
2
2
|
export * from './types/transactions/FinishReport.js';
|
|
3
|
+
export * from './types/transactions/GetStatus.js';
|
|
3
4
|
export * from './types/transactions/Report.js';
|
|
4
5
|
export * from './types/transactions/SubmitFileDetails.js';
|
|
5
6
|
export * from './types/transactions/UploadFile.js';
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from './types/transactions/CancelReport.js';
|
|
2
2
|
export * from './types/transactions/FinishReport.js';
|
|
3
|
+
export * from './types/transactions/GetStatus.js';
|
|
3
4
|
export * from './types/transactions/Report.js';
|
|
4
5
|
export * from './types/transactions/SubmitFileDetails.js';
|
|
5
6
|
export * from './types/transactions/UploadFile.js';
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,sCAAsC,CAAC;AACrD,cAAc,sCAAsC,CAAC;AACrD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,oCAAoC,CAAC;AAEnD,cAAc,0CAA0C,CAAC;AACzD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,yCAAyC,CAAC;AACxD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,mCAAmC,CAAC;AAClD,cAAc,iCAAiC,CAAC;AAEhD,cAAc,oCAAoC,CAAC;AACnD,cAAc,yCAAyC,CAAC;AAExD,cAAc,wCAAwC,CAAC;AACvD,cAAc,qCAAqC,CAAC;AACpD,cAAc,oCAAoC,CAAC;AACnD,cAAc,wCAAwC,CAAC;AACvD,cAAc,0CAA0C,CAAC;AACzD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,wCAAwC,CAAC;AACvD,cAAc,sCAAsC,CAAC;AAErD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,qCAAqC,CAAC;AACpD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AAExC,cAAc,sBAAsB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,sCAAsC,CAAC;AACrD,cAAc,sCAAsC,CAAC;AACrD,cAAc,mCAAmC,CAAC;AAClD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,oCAAoC,CAAC;AAEnD,cAAc,0CAA0C,CAAC;AACzD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,yCAAyC,CAAC;AACxD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,mCAAmC,CAAC;AAClD,cAAc,iCAAiC,CAAC;AAEhD,cAAc,oCAAoC,CAAC;AACnD,cAAc,yCAAyC,CAAC;AAExD,cAAc,wCAAwC,CAAC;AACvD,cAAc,qCAAqC,CAAC;AACpD,cAAc,oCAAoC,CAAC;AACnD,cAAc,wCAAwC,CAAC;AACvD,cAAc,0CAA0C,CAAC;AACzD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,wCAAwC,CAAC;AACvD,cAAc,sCAAsC,CAAC;AAErD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,qCAAqC,CAAC;AACpD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AAExC,cAAc,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ResponseCode } from '../Constants.js';
|
|
2
|
+
/**
|
|
3
|
+
* Response properties for the GET Status endpoint.
|
|
4
|
+
*/
|
|
5
|
+
export interface GetStatusResponse {
|
|
6
|
+
/** The response code returned from the submittal. Response code 0 indicates success, any non-zero number is an error code. */
|
|
7
|
+
responseCode: ResponseCode | number;
|
|
8
|
+
/** A description of the response code. */
|
|
9
|
+
responseDescription: string;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetStatus.js","sourceRoot":"","sources":["../../../src/types/transactions/GetStatus.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cybertipline-tools",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "Unofficial Types and Utilities for working with the CyberTipline API",
|
|
5
|
-
"homepage": "https://github.com/Johannes-Andersen/
|
|
5
|
+
"homepage": "https://github.com/Johannes-Andersen/CyberTipline-Tools",
|
|
6
6
|
"bugs": {
|
|
7
|
-
"url": "https://github.com/Johannes-Andersen/
|
|
7
|
+
"url": "https://github.com/Johannes-Andersen/CyberTipline-Tools/issues"
|
|
8
8
|
},
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "git+https://github.com/Johannes-Andersen/
|
|
11
|
+
"url": "git+https://github.com/Johannes-Andersen/CyberTipline-Tools.git"
|
|
12
12
|
},
|
|
13
13
|
"author": "Johannes Andersen (https://johand.dev)",
|
|
14
14
|
"keywords": [
|
|
15
|
-
"
|
|
15
|
+
"CyberTipline",
|
|
16
16
|
"NCMEC",
|
|
17
17
|
"utils"
|
|
18
18
|
],
|