cybertipline-tools 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +37 -0
- package/dist/index.d.ts +29 -0
- package/dist/index.js +30 -0
- package/dist/index.js.map +1 -0
- package/dist/types/Constants.d.ts +135 -0
- package/dist/types/Constants.js +142 -0
- package/dist/types/Constants.js.map +1 -0
- package/dist/types/TypeUtils.d.ts +3 -0
- package/dist/types/TypeUtils.js +2 -0
- package/dist/types/TypeUtils.js.map +1 -0
- package/dist/types/common/Address.d.ts +26 -0
- package/dist/types/common/Address.js +9 -0
- package/dist/types/common/Address.js.map +1 -0
- package/dist/types/common/DeviceId.d.ts +26 -0
- package/dist/types/common/DeviceId.js +16 -0
- package/dist/types/common/DeviceId.js.map +1 -0
- package/dist/types/common/Email.d.ts +18 -0
- package/dist/types/common/Email.js +7 -0
- package/dist/types/common/Email.js.map +1 -0
- package/dist/types/common/EstimatedLocation.d.ts +15 -0
- package/dist/types/common/EstimatedLocation.js +2 -0
- package/dist/types/common/EstimatedLocation.js.map +1 -0
- package/dist/types/common/IpCapture.d.ts +24 -0
- package/dist/types/common/IpCapture.js +10 -0
- package/dist/types/common/IpCapture.js.map +1 -0
- package/dist/types/common/Person.d.ts +24 -0
- package/dist/types/common/Person.js +2 -0
- package/dist/types/common/Person.js.map +1 -0
- package/dist/types/common/Phone.d.ts +25 -0
- package/dist/types/common/Phone.js +10 -0
- package/dist/types/common/Phone.js.map +1 -0
- package/dist/types/fileDetails/FileDetails.d.ts +21 -0
- package/dist/types/fileDetails/FileDetails.js +9 -0
- package/dist/types/fileDetails/FileDetails.js.map +1 -0
- package/dist/types/fileDetails/OriginalFileHash.d.ts +19 -0
- package/dist/types/fileDetails/OriginalFileHash.js +9 -0
- package/dist/types/fileDetails/OriginalFileHash.js.map +1 -0
- package/dist/types/incidents/CellPhoneIncident.d.ts +18 -0
- package/dist/types/incidents/CellPhoneIncident.js +2 -0
- package/dist/types/incidents/CellPhoneIncident.js.map +1 -0
- package/dist/types/incidents/ChatImIncident.d.ts +15 -0
- package/dist/types/incidents/ChatImIncident.js +2 -0
- package/dist/types/incidents/ChatImIncident.js.map +1 -0
- package/dist/types/incidents/EmailIncident.d.ts +14 -0
- package/dist/types/incidents/EmailIncident.js +2 -0
- package/dist/types/incidents/EmailIncident.js.map +1 -0
- package/dist/types/incidents/NewsgroupIncident.d.ts +16 -0
- package/dist/types/incidents/NewsgroupIncident.js +2 -0
- package/dist/types/incidents/NewsgroupIncident.js.map +1 -0
- package/dist/types/incidents/NonInternetIncident.d.ts +15 -0
- package/dist/types/incidents/NonInternetIncident.js +2 -0
- package/dist/types/incidents/NonInternetIncident.js.map +1 -0
- package/dist/types/incidents/OnlineGamingIncident.d.ts +15 -0
- package/dist/types/incidents/OnlineGamingIncident.js +2 -0
- package/dist/types/incidents/OnlineGamingIncident.js.map +1 -0
- package/dist/types/incidents/Peer2peerIncident.d.ts +17 -0
- package/dist/types/incidents/Peer2peerIncident.js +2 -0
- package/dist/types/incidents/Peer2peerIncident.js.map +1 -0
- package/dist/types/incidents/WebPageIncident.d.ts +15 -0
- package/dist/types/incidents/WebPageIncident.js +2 -0
- package/dist/types/incidents/WebPageIncident.js.map +1 -0
- package/dist/types/reportDetails/IncidentSummary.d.ts +18 -0
- package/dist/types/reportDetails/IncidentSummary.js +2 -0
- package/dist/types/reportDetails/IncidentSummary.js.map +1 -0
- package/dist/types/reportDetails/IntendedRecipient.d.ts +46 -0
- package/dist/types/reportDetails/IntendedRecipient.js +2 -0
- package/dist/types/reportDetails/IntendedRecipient.js.map +1 -0
- package/dist/types/reportDetails/LawEnforcement.d.ts +23 -0
- package/dist/types/reportDetails/LawEnforcement.js +2 -0
- package/dist/types/reportDetails/LawEnforcement.js.map +1 -0
- package/dist/types/reportDetails/PersonOrUserReported.d.ts +39 -0
- package/dist/types/reportDetails/PersonOrUserReported.js +2 -0
- package/dist/types/reportDetails/PersonOrUserReported.js.map +1 -0
- package/dist/types/reportDetails/Reporter.d.ts +20 -0
- package/dist/types/reportDetails/Reporter.js +2 -0
- package/dist/types/reportDetails/Reporter.js.map +1 -0
- package/dist/types/reportDetails/Victim.d.ts +35 -0
- package/dist/types/reportDetails/Victim.js +2 -0
- package/dist/types/reportDetails/Victim.js.map +1 -0
- package/dist/types/transactions/CancelReport.d.ts +22 -0
- package/dist/types/transactions/CancelReport.js +2 -0
- package/dist/types/transactions/CancelReport.js.map +1 -0
- package/dist/types/transactions/FinishReport.d.ts +22 -0
- package/dist/types/transactions/FinishReport.js +2 -0
- package/dist/types/transactions/FinishReport.js.map +1 -0
- package/dist/types/transactions/Report.d.ts +49 -0
- package/dist/types/transactions/Report.js +2 -0
- package/dist/types/transactions/Report.js.map +1 -0
- package/dist/types/transactions/SubmitFileDetails.d.ts +56 -0
- package/dist/types/transactions/SubmitFileDetails.js +2 -0
- package/dist/types/transactions/SubmitFileDetails.js.map +1 -0
- package/dist/types/transactions/UploadFile.d.ts +28 -0
- package/dist/types/transactions/UploadFile.js +2 -0
- package/dist/types/transactions/UploadFile.js.map +1 -0
- package/package.json +48 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare enum PhoneType {
|
|
2
|
+
Mobile = "Mobile",
|
|
3
|
+
Home = "Home",
|
|
4
|
+
Business = "Business",
|
|
5
|
+
Work = "Work",
|
|
6
|
+
Fax = "Fax",
|
|
7
|
+
Internet = "Internet"
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* A phone number.
|
|
11
|
+
*/
|
|
12
|
+
export interface Phone {
|
|
13
|
+
/** The phone number. */
|
|
14
|
+
number: string;
|
|
15
|
+
/** Type of phone number. */
|
|
16
|
+
type?: PhoneType;
|
|
17
|
+
/** Whether the reporter has verified the phone number. */
|
|
18
|
+
verified?: boolean;
|
|
19
|
+
/** The date and time that the reporter last verified the phone number. */
|
|
20
|
+
verificationDate?: Date;
|
|
21
|
+
/** The country calling code for the phone number. */
|
|
22
|
+
countryCallingCode?: string;
|
|
23
|
+
/** The extension for the phone number. */
|
|
24
|
+
extension?: string;
|
|
25
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export var PhoneType;
|
|
2
|
+
(function (PhoneType) {
|
|
3
|
+
PhoneType["Mobile"] = "Mobile";
|
|
4
|
+
PhoneType["Home"] = "Home";
|
|
5
|
+
PhoneType["Business"] = "Business";
|
|
6
|
+
PhoneType["Work"] = "Work";
|
|
7
|
+
PhoneType["Fax"] = "Fax";
|
|
8
|
+
PhoneType["Internet"] = "Internet";
|
|
9
|
+
})(PhoneType || (PhoneType = {}));
|
|
10
|
+
//# sourceMappingURL=Phone.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Phone.js","sourceRoot":"","sources":["../../../src/types/common/Phone.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,SAOX;AAPD,WAAY,SAAS;IACnB,8BAAiB,CAAA;IACjB,0BAAa,CAAA;IACb,kCAAqB,CAAA;IACrB,0BAAa,CAAA;IACb,wBAAW,CAAA;IACX,kCAAqB,CAAA;AACvB,CAAC,EAPW,SAAS,KAAT,SAAS,QAOpB"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The type of the metadata entry.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum FileDetailType {
|
|
5
|
+
EXIF = "EXIF",
|
|
6
|
+
HASH = "HASH"
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Metadata associated with a file.
|
|
10
|
+
*
|
|
11
|
+
* @interface FileDetails
|
|
12
|
+
* @see https://report.cybertip.org/ispws/documentation/index.html#details
|
|
13
|
+
*/
|
|
14
|
+
export interface FileDetails {
|
|
15
|
+
/** The name of the metadata entry. */
|
|
16
|
+
name: string;
|
|
17
|
+
/** The value of the metadata entry. */
|
|
18
|
+
value: string;
|
|
19
|
+
/** The type of the metadata entry. */
|
|
20
|
+
type?: FileDetailType;
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileDetails.js","sourceRoot":"","sources":["../../../src/types/fileDetails/FileDetails.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAN,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,+BAAa,CAAA;IACb,+BAAa,CAAA;AACf,CAAC,EAHW,cAAc,KAAd,cAAc,QAGzB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The type of hash (e.g. MD5, SHA1).
|
|
3
|
+
*/
|
|
4
|
+
export declare enum FileHashType {
|
|
5
|
+
MD5 = "MD5",
|
|
6
|
+
SHA1 = "SHA1"
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Metadata associated with a file.
|
|
10
|
+
*
|
|
11
|
+
* @interface OriginalFileHash
|
|
12
|
+
* @see https://report.cybertip.org/ispws/documentation/index.html#original-file-hash
|
|
13
|
+
*/
|
|
14
|
+
export interface OriginalFileHash {
|
|
15
|
+
/** An original file hash value. */
|
|
16
|
+
value: string;
|
|
17
|
+
/** The type of hash (e.g. MD5, SHA1). */
|
|
18
|
+
hashType: FileHashType | string;
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OriginalFileHash.js","sourceRoot":"","sources":["../../../src/types/fileDetails/OriginalFileHash.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAN,IAAY,YAGX;AAHD,WAAY,YAAY;IACtB,2BAAW,CAAA;IACX,6BAAa,CAAA;AACf,CAAC,EAHW,YAAY,KAAZ,YAAY,QAGvB"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { Phone } from '../common/Phone.js';
|
|
2
|
+
/**
|
|
3
|
+
* Details for an incident that occurred when the primary method of communication between
|
|
4
|
+
* the child and/or reported person or user was through a cell phone.
|
|
5
|
+
* This can include phone conversations, text messages, or images sent via a cell phone.
|
|
6
|
+
*
|
|
7
|
+
* @see https://report.cybertip.org/ispws/documentation/index.html#cellphone-incident
|
|
8
|
+
*/
|
|
9
|
+
export interface CellPhoneIncident {
|
|
10
|
+
/** The cell phone number associated with the incident. */
|
|
11
|
+
phoneNumber?: Phone;
|
|
12
|
+
/** The latitude associated with the incident. */
|
|
13
|
+
latitude?: number;
|
|
14
|
+
/** The longitude associated with the incident. */
|
|
15
|
+
longitude?: number;
|
|
16
|
+
/** Additional information about the cell phone incident not covered by any other section. */
|
|
17
|
+
additionalInfo?: string;
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CellPhoneIncident.js","sourceRoot":"","sources":["../../../src/types/incidents/CellPhoneIncident.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Details for an incident that occurred over IM or during a chat session.
|
|
3
|
+
*
|
|
4
|
+
* @see https://report.cybertip.org/ispws/documentation/index.html#chatim-incident
|
|
5
|
+
*/
|
|
6
|
+
export interface ChatImIncident {
|
|
7
|
+
/** The chat or instant messenger program used. */
|
|
8
|
+
chatClient?: string;
|
|
9
|
+
/** The name of the chat room. */
|
|
10
|
+
chatRoomName?: string;
|
|
11
|
+
/** The content of the chat. */
|
|
12
|
+
content?: string;
|
|
13
|
+
/** Additional information about the chat or instant messaging incident not covered by any other section. */
|
|
14
|
+
additionalInfo?: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatImIncident.js","sourceRoot":"","sources":["../../../src/types/incidents/ChatImIncident.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Email } from '../common/Email.js';
|
|
2
|
+
/**
|
|
3
|
+
* Details for an incident that occurred over email.
|
|
4
|
+
*
|
|
5
|
+
* @see https://report.cybertip.org/ispws/documentation/index.html#email-incident
|
|
6
|
+
*/
|
|
7
|
+
export interface EmailIncident {
|
|
8
|
+
/** An email address associated with the incident. */
|
|
9
|
+
emailAddress?: Array<Email>;
|
|
10
|
+
/** The headers, subject, and content of the communication. */
|
|
11
|
+
content?: string;
|
|
12
|
+
/** Additional information about the email incident not covered by any other section. */
|
|
13
|
+
additionalInfo?: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmailIncident.js","sourceRoot":"","sources":["../../../src/types/incidents/EmailIncident.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Email } from '../common/Email.js';
|
|
2
|
+
/**
|
|
3
|
+
* Details for an incident that occurred in a newsgroup.
|
|
4
|
+
*
|
|
5
|
+
* @see https://report.cybertip.org/ispws/documentation/index.html#newsgroup-incident
|
|
6
|
+
*/
|
|
7
|
+
export interface NewsgroupIncident {
|
|
8
|
+
/** The newsgroup name. */
|
|
9
|
+
name?: string;
|
|
10
|
+
/** An email address associated with the incident. */
|
|
11
|
+
emailAddress?: Array<Email>;
|
|
12
|
+
/** The headers, subject, and content of the communication. */
|
|
13
|
+
content?: string;
|
|
14
|
+
/** Additional information about the newsgroup incident not covered by any other section. */
|
|
15
|
+
additionalInfo?: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NewsgroupIncident.js","sourceRoot":"","sources":["../../../src/types/incidents/NewsgroupIncident.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Address } from '../common/Address.js';
|
|
2
|
+
/**
|
|
3
|
+
* Details for an incident that does not involve an online or computer component or a cell phone
|
|
4
|
+
* (e.g., face-to-face contact, potentially illegal hard copy or printed materials).
|
|
5
|
+
*
|
|
6
|
+
* @see https://report.cybertip.org/ispws/documentation/index.html#non-internet-incident
|
|
7
|
+
*/
|
|
8
|
+
export interface NonInternetIncident {
|
|
9
|
+
/** The location associated with the incident. */
|
|
10
|
+
locationName?: string;
|
|
11
|
+
/** The address of the incident. */
|
|
12
|
+
incidentAddress?: Array<Address>;
|
|
13
|
+
/** Additional information about the incident not covered by any other section. */
|
|
14
|
+
additionalInfo?: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NonInternetIncident.js","sourceRoot":"","sources":["../../../src/types/incidents/NonInternetIncident.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Details for an incident that occurred during an online game.
|
|
3
|
+
*
|
|
4
|
+
* @see https://report.cybertip.org/ispws/documentation/index.html#online-gaming-incident
|
|
5
|
+
*/
|
|
6
|
+
export interface OnlineGamingIncident {
|
|
7
|
+
/** The name of the game in which the incident occurred. */
|
|
8
|
+
gameName?: string;
|
|
9
|
+
/** The name of the gaming console used in the incident. */
|
|
10
|
+
console?: string;
|
|
11
|
+
/** The content of the message/chat that occurred during the game. */
|
|
12
|
+
content?: string;
|
|
13
|
+
/** Additional information about the online gaming incident not covered by any other section. */
|
|
14
|
+
additionalInfo?: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OnlineGamingIncident.js","sourceRoot":"","sources":["../../../src/types/incidents/OnlineGamingIncident.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { IpCapture } from '../common/IpCapture.js';
|
|
2
|
+
/**
|
|
3
|
+
* Details for an incident that occurred via a peer-to-peer (also known as P2P)
|
|
4
|
+
* decentralized network that allows users to share files through a direct connection.
|
|
5
|
+
*
|
|
6
|
+
* @see https://report.cybertip.org/ispws/documentation/index.html#peer-to-peer-incident
|
|
7
|
+
*/
|
|
8
|
+
export interface Peer2peerIncident {
|
|
9
|
+
/** The peer-to-peer client associated with the incident. */
|
|
10
|
+
client?: string;
|
|
11
|
+
/** An IP address used by the person or user reported. */
|
|
12
|
+
ipCaptureEvent?: Array<IpCapture>;
|
|
13
|
+
/** The name of the file(s) associated with the incident. */
|
|
14
|
+
fileNames?: string;
|
|
15
|
+
/** Additional information about the peer-to-peer incident not covered by any other section. */
|
|
16
|
+
additionalInfo?: string;
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Peer2peerIncident.js","sourceRoot":"","sources":["../../../src/types/incidents/Peer2peerIncident.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Details for an incident that occurred on a web page.
|
|
3
|
+
*
|
|
4
|
+
* @see https://report.cybertip.org/ispws/documentation/index.html#web-page-incident
|
|
5
|
+
*/
|
|
6
|
+
export interface WebPageIncident {
|
|
7
|
+
/** An actual URL where the reported incident occurred. */
|
|
8
|
+
url?: Array<string>;
|
|
9
|
+
/** Additional information related to the web page event. */
|
|
10
|
+
additionalInfo?: string;
|
|
11
|
+
/** Whether the reported URL is hosted on another company’s server and the reporter has no further
|
|
12
|
+
* information on this incident and is providing it to NCMEC for informational purposes.
|
|
13
|
+
*/
|
|
14
|
+
thirdPartyHostedContent?: boolean;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WebPageIncident.js","sourceRoot":"","sources":["../../../src/types/incidents/WebPageIncident.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { IncidentType, ReportAnnotation } from '../Constants.js';
|
|
2
|
+
/**
|
|
3
|
+
* General incident information.
|
|
4
|
+
*
|
|
5
|
+
* @see https://report.cybertip.org/ispws/documentation/index.html#incident-summary
|
|
6
|
+
*/
|
|
7
|
+
export interface IncidentSummary {
|
|
8
|
+
/** The type of incident being reported. */
|
|
9
|
+
incidentType: IncidentType;
|
|
10
|
+
/** A reason for a higher level of urgency, e.g. immediate risk to child. Supplying a value will escalate the report.. */
|
|
11
|
+
escalateToHighPriority?: string;
|
|
12
|
+
/** Tags to describe the report. */
|
|
13
|
+
reportAnnotations?: Array<ReportAnnotation>;
|
|
14
|
+
/** The date, time, and time zone of the reported incident. (ISO 8601 date and time) */
|
|
15
|
+
incidentDateTime: Date;
|
|
16
|
+
/** Additional information related to the incidentDateTime. */
|
|
17
|
+
incidentDateTimeDescription?: string;
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IncidentSummary.js","sourceRoot":"","sources":["../../../src/types/reportDetails/IncidentSummary.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { DeviceId } from '../common/DeviceId.js';
|
|
2
|
+
import type { EstimatedLocation } from '../common/EstimatedLocation.js';
|
|
3
|
+
import type { IpCapture } from '../common/IpCapture.js';
|
|
4
|
+
import type { Person } from '../common/Person.js';
|
|
5
|
+
/**
|
|
6
|
+
* The intended recipient involved in the incident.
|
|
7
|
+
*
|
|
8
|
+
* @see https://report.cybertip.org/ispws/documentation/index.html#intended-recipient
|
|
9
|
+
*/
|
|
10
|
+
export interface IntendedRecipient {
|
|
11
|
+
/** Information about the intended recipient in the incident. */
|
|
12
|
+
intendedRecipientPerson?: Person;
|
|
13
|
+
/** The unique ID of the intended recipient in the reporter’s system. */
|
|
14
|
+
espIdentifier?: string;
|
|
15
|
+
/** The name of the reporter’s product or service that was used by the intended recipient during the incident. */
|
|
16
|
+
espService?: string;
|
|
17
|
+
/** The screen name of the intended recipient. */
|
|
18
|
+
screenName?: string;
|
|
19
|
+
/** A display name, other than a screen name or a username, for the intended recipient. */
|
|
20
|
+
displayName?: Array<string>;
|
|
21
|
+
/** An identifying URL for the intended recipient. */
|
|
22
|
+
profileUrl?: Array<string>;
|
|
23
|
+
/** An IP address used by the intended recipient. */
|
|
24
|
+
ipCaptureEvent?: Array<IpCapture>;
|
|
25
|
+
/** An ID for a device used by the intended recipient. */
|
|
26
|
+
deviceId?: Array<DeviceId>;
|
|
27
|
+
/** A report ID for a prior CyberTipline report on this intended recipient. */
|
|
28
|
+
priorCTReports?: Array<number>;
|
|
29
|
+
/** Unique group identifiers (e.g., group name, group ID)
|
|
30
|
+
* if the reporter believes the intended recipient is engaged in an online group related to child sexual exploitation.
|
|
31
|
+
*/
|
|
32
|
+
groupIdentifier?: string;
|
|
33
|
+
/** Whether the account was temporarily disabled at any point. */
|
|
34
|
+
accountTemporarilyDisabled?: boolean | {
|
|
35
|
+
disabledDate: Date;
|
|
36
|
+
reenabledDate?: Date;
|
|
37
|
+
};
|
|
38
|
+
/** Whether the account was permanently disabled. */
|
|
39
|
+
accountPermanentlyDisabled?: boolean | {
|
|
40
|
+
disabledDate: Date;
|
|
41
|
+
};
|
|
42
|
+
/** The reporter’s estimated location for the intended recipient. */
|
|
43
|
+
estimatedLocation?: EstimatedLocation;
|
|
44
|
+
/** Additional information about this intended recipient not covered by any other section. */
|
|
45
|
+
additionalInfo?: string;
|
|
46
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IntendedRecipient.js","sourceRoot":"","sources":["../../../src/types/reportDetails/IntendedRecipient.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { ContactPerson } from '../common/Person.js';
|
|
2
|
+
/**
|
|
3
|
+
* Law enforcement contact information if the incident information has already been reported to law enforcement
|
|
4
|
+
* or if the request originated from law enforcement.
|
|
5
|
+
*
|
|
6
|
+
* @see https://report.cybertip.org/ispws/documentation/index.html#law-enforcement
|
|
7
|
+
*/
|
|
8
|
+
export interface LawEnforcement {
|
|
9
|
+
/** The law enforcement agency name. */
|
|
10
|
+
agencyName: string;
|
|
11
|
+
/** The law enforcement agency case number. */
|
|
12
|
+
caseNumber?: string;
|
|
13
|
+
/** Information about the investigator or officer assigned to the case. */
|
|
14
|
+
officerContact?: ContactPerson;
|
|
15
|
+
/** Whether the incident was reported to law enforcement by the reporter. */
|
|
16
|
+
reportedToLe?: boolean;
|
|
17
|
+
/** Whether domestic law enforcement has served legal process about this person/user or reported incident. */
|
|
18
|
+
servedLegalProcessDomestic?: boolean;
|
|
19
|
+
/** Whether international law enforcement has served legal process about this person/user or reported incident. */
|
|
20
|
+
servedLegalProcessInternational?: boolean | {
|
|
21
|
+
fleaCountry: string;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LawEnforcement.js","sourceRoot":"","sources":["../../../src/types/reportDetails/LawEnforcement.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { DeviceId } from '../common/DeviceId.js';
|
|
2
|
+
import type { EstimatedLocation } from '../common/EstimatedLocation.js';
|
|
3
|
+
import type { IpCapture } from '../common/IpCapture.js';
|
|
4
|
+
import type { Person } from '../common/Person.js';
|
|
5
|
+
/**
|
|
6
|
+
* A reported user or person involved in the incident. This person will be displayed as the suspect.
|
|
7
|
+
*
|
|
8
|
+
* @see https://report.cybertip.org/ispws/documentation/index.html#reported-person
|
|
9
|
+
*/
|
|
10
|
+
export interface PersonOrUserReported {
|
|
11
|
+
/** Information about the reported person or user involved in the incident. */
|
|
12
|
+
personOrUserReportedPerson?: Person;
|
|
13
|
+
/** Description of the vehicle of the reported person. */
|
|
14
|
+
vehicleDescription?: string;
|
|
15
|
+
/** The unique ID of the reported person or user in the reporter’s system. */
|
|
16
|
+
espIdentifier?: string;
|
|
17
|
+
/** The name of the reporter’s product or service that was used by the reported person or user during the incident. */
|
|
18
|
+
espService?: string;
|
|
19
|
+
/** The screen/user name of the reported person or user. */
|
|
20
|
+
screenName?: string;
|
|
21
|
+
/** A display name, other than a screen name or a username, for the reported person or user. */
|
|
22
|
+
displayName?: Array<string>;
|
|
23
|
+
/** An identifying URL for the reported person or user. */
|
|
24
|
+
profileUrl?: Array<string>;
|
|
25
|
+
/** An IP address used by the reported person or user. */
|
|
26
|
+
ipCaptureEvent?: Array<IpCapture>;
|
|
27
|
+
/** An ID for a device used by the reported person or user. */
|
|
28
|
+
deviceId?: Array<DeviceId>;
|
|
29
|
+
/** Whether the reported person or user is using another company’s service and the reporting company has no further information about this person or user. */
|
|
30
|
+
thirdPartyUserReported?: boolean;
|
|
31
|
+
/** A report ID for a prior CyberTipline report on this reported person or user. */
|
|
32
|
+
priorCTReports: Array<number>;
|
|
33
|
+
/** Unique group identifiers (e.g., group name, group ID) if the reporter believes the reported person or user is engaged in an online group related to child sexual exploitation. */
|
|
34
|
+
groupIdentifier: string;
|
|
35
|
+
/** The reporter’s estimated location for the reported person or user. */
|
|
36
|
+
estimatedLocation?: EstimatedLocation;
|
|
37
|
+
/** Additional information about this reported person or user not covered by any other section. */
|
|
38
|
+
additionalInfo?: string;
|
|
39
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PersonOrUserReported.js","sourceRoot":"","sources":["../../../src/types/reportDetails/PersonOrUserReported.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { WithRequired } from '../TypeUtils.js';
|
|
2
|
+
import type { ContactPerson, Person } from '../common/Person.js';
|
|
3
|
+
/**
|
|
4
|
+
* Information related to the person or company reporting the incident.
|
|
5
|
+
*
|
|
6
|
+
* @see https://report.cybertip.org/ispws/documentation/index.html#reporter
|
|
7
|
+
*/
|
|
8
|
+
export interface Reporter {
|
|
9
|
+
/** Information about the person reporting the incident. */
|
|
10
|
+
reportingPerson: WithRequired<Person, 'email'>;
|
|
11
|
+
/** Information about a person who should be contacted by law enforcement regarding the report other than the person submitting the report. */
|
|
12
|
+
contactPerson?: ContactPerson;
|
|
13
|
+
/** Language (not specific to the reported incident) that the reporting company wants included in the CyberTipline report,
|
|
14
|
+
* e.g., basic company information, how legal process should be served, length of data retention, 24-hour emergency phone numbers. */
|
|
15
|
+
companyTemplate?: string;
|
|
16
|
+
/** Terms of Service (TOS) relevant to the incident being reported. */
|
|
17
|
+
termsOfService?: string;
|
|
18
|
+
/** A URL for a web page with further information. */
|
|
19
|
+
legalUrl?: string;
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Reporter.js","sourceRoot":"","sources":["../../../src/types/reportDetails/Reporter.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { DeviceId } from '../common/DeviceId.js';
|
|
2
|
+
import type { EstimatedLocation } from '../common/EstimatedLocation.js';
|
|
3
|
+
import type { IpCapture } from '../common/IpCapture.js';
|
|
4
|
+
import type { Person } from '../common/Person.js';
|
|
5
|
+
/**
|
|
6
|
+
* A child victim involved in the incident.
|
|
7
|
+
*
|
|
8
|
+
* @see https://report.cybertip.org/ispws/documentation/index.html#child-victim
|
|
9
|
+
*/
|
|
10
|
+
export interface Victim {
|
|
11
|
+
/** Information about the child victim involved in the incident. */
|
|
12
|
+
victimPerson: Person;
|
|
13
|
+
/** The unique ID of the child victim in the reporter’s system. */
|
|
14
|
+
espIdentifier?: string;
|
|
15
|
+
/** The name of the reporter’s product or service that was used by the child victim during the incident. */
|
|
16
|
+
espService?: string;
|
|
17
|
+
/** The screen name of the child victim. */
|
|
18
|
+
screenName?: string;
|
|
19
|
+
/** A display name, other than a screen name or a username, for the child victim. */
|
|
20
|
+
displayName?: Array<string>;
|
|
21
|
+
/** An identifying URL for the child victim. */
|
|
22
|
+
profileUrl?: Array<string>;
|
|
23
|
+
/** An IP address used by the child victim. */
|
|
24
|
+
ipCaptureEvent?: Array<IpCapture>;
|
|
25
|
+
/** An ID for a device used by the child victim. */
|
|
26
|
+
deviceId?: Array<DeviceId>;
|
|
27
|
+
/** The school name of the child victim. */
|
|
28
|
+
schoolName?: string;
|
|
29
|
+
/** A report ID for a prior CyberTipline report on this child victim. */
|
|
30
|
+
priorCTReports?: Array<number>;
|
|
31
|
+
/** The reporter’s estimated location for the child victim. */
|
|
32
|
+
estimatedLocation?: EstimatedLocation;
|
|
33
|
+
/** Additional information about this child victim not covered by any other section. */
|
|
34
|
+
additionalInfo?: string;
|
|
35
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Victim.js","sourceRoot":"","sources":["../../../src/types/reportDetails/Victim.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { ResponseCode } from '../Constants.js';
|
|
2
|
+
/**
|
|
3
|
+
* POST properties for the Cancel Report endpoint.
|
|
4
|
+
*
|
|
5
|
+
* @interface CancelReport
|
|
6
|
+
* @see https://report.cybertip.org/ispws/documentation/index.html#cancel-the-report
|
|
7
|
+
*/
|
|
8
|
+
export interface CancelReport {
|
|
9
|
+
/** Report ID of the report to cancel. */
|
|
10
|
+
id: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Response properties for the Cancel Report endpoint.
|
|
14
|
+
*/
|
|
15
|
+
export interface CancelReportResponse {
|
|
16
|
+
/** The response code returned from the submittal. Response code 0 indicates successful report cancellation, any non-zero number is an error code. */
|
|
17
|
+
responseCode: ResponseCode | number;
|
|
18
|
+
/** A description of the response code. */
|
|
19
|
+
responseDescription: string;
|
|
20
|
+
/** Report ID of the cancelled report. */
|
|
21
|
+
reportId: string;
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CancelReport.js","sourceRoot":"","sources":["../../../src/types/transactions/CancelReport.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { ResponseCode } from '../Constants.js';
|
|
2
|
+
/**
|
|
3
|
+
* POST properties for the Finish Report endpoint.
|
|
4
|
+
*
|
|
5
|
+
* @interface FinishReport
|
|
6
|
+
* @see https://report.cybertip.org/ispws/documentation/index.html#finish-the-report
|
|
7
|
+
*/
|
|
8
|
+
export interface FinishReport {
|
|
9
|
+
/** Report ID of the report to finish. */
|
|
10
|
+
id: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Response properties for the Finish Report endpoint.
|
|
14
|
+
*/
|
|
15
|
+
export interface FinishReportResponse {
|
|
16
|
+
/** The response code returned from the submittal. Response code 0 indicates successful report finish, any non-zero number is an error code. */
|
|
17
|
+
responseCode: ResponseCode | number;
|
|
18
|
+
/** Report ID of the finished report. */
|
|
19
|
+
reportId: string;
|
|
20
|
+
/** File IDs of the finished report */
|
|
21
|
+
fileIds: Array<string>;
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FinishReport.js","sourceRoot":"","sources":["../../../src/types/transactions/FinishReport.ts"],"names":[],"mappings":""}
|