humanos 1.0.3 → 1.0.5
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/dist/index.d.mts +56 -55
- package/dist/index.d.ts +56 -55
- package/dist/index.js +43 -43
- package/dist/index.mjs +43 -43
- package/generated/.openapi-generator/FILES +1 -1
- package/generated/api/activity-api.ts +27 -27
- package/generated/api/requests-api.ts +27 -27
- package/generated/models/activity-query.ts +12 -12
- package/generated/models/credential-dto-data.ts +27 -0
- package/generated/models/credential-dto.ts +4 -4
- package/generated/models/index.ts +1 -1
- package/generated/models/request-query.ts +12 -12
- package/package.json +12 -2
|
@@ -39,35 +39,35 @@ export interface RequestQuery {
|
|
|
39
39
|
*/
|
|
40
40
|
'search'?: string;
|
|
41
41
|
/**
|
|
42
|
-
* Filter
|
|
42
|
+
* Filter from date (will be converted to start of day in UTC)
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof RequestQuery
|
|
45
45
|
*/
|
|
46
|
-
'
|
|
46
|
+
'dateFrom'?: string;
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* Filter to date (will be converted to end of day in UTC). Requires dateFrom.
|
|
49
49
|
* @type {string}
|
|
50
50
|
* @memberof RequestQuery
|
|
51
51
|
*/
|
|
52
|
-
'
|
|
52
|
+
'dateTo'?: string;
|
|
53
53
|
/**
|
|
54
|
-
* Filter by
|
|
55
|
-
* @type {
|
|
54
|
+
* Filter by subject (nested object with contact, id, or internalId).
|
|
55
|
+
* @type {string}
|
|
56
56
|
* @memberof RequestQuery
|
|
57
57
|
*/
|
|
58
|
-
'
|
|
58
|
+
'subject'?: string;
|
|
59
59
|
/**
|
|
60
|
-
*
|
|
60
|
+
* Identifier to help you identify the request in your own system. We recommend using a unique value.
|
|
61
61
|
* @type {string}
|
|
62
62
|
* @memberof RequestQuery
|
|
63
63
|
*/
|
|
64
|
-
'
|
|
64
|
+
'internalId'?: string;
|
|
65
65
|
/**
|
|
66
|
-
* Filter
|
|
67
|
-
* @type {string}
|
|
66
|
+
* Filter by security level. Can be a single value or array
|
|
67
|
+
* @type {Array<string>}
|
|
68
68
|
* @memberof RequestQuery
|
|
69
69
|
*/
|
|
70
|
-
'
|
|
70
|
+
'securityLevel'?: Array<RequestQuerySecurityLevelEnum>;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
export const RequestQuerySecurityLevelEnum = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "humanos",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "Official Humanos API SDK for TypeScript/JavaScript with automatic request signing and webhook verification",
|
|
5
5
|
"author": "Humanos <tech@humanos.tech>",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -23,13 +23,23 @@
|
|
|
23
23
|
"build": "tsup src/index.ts --format cjs,esm --dts --clean",
|
|
24
24
|
"build:generated": "cd generated && tsc",
|
|
25
25
|
"generate": "openapi-generator-cli generate --generator-key typescript-sdk",
|
|
26
|
-
"prepublishOnly": "npm run build"
|
|
26
|
+
"prepublishOnly": "npm run build",
|
|
27
|
+
"test": "jest",
|
|
28
|
+
"test:watch": "jest --watch",
|
|
29
|
+
"test:coverage": "jest --coverage",
|
|
30
|
+
"test:unit": "jest tests/unit",
|
|
31
|
+
"test:contract": "jest tests/contract --runInBand"
|
|
27
32
|
},
|
|
28
33
|
"dependencies": {
|
|
29
34
|
"axios": "^1.0.0"
|
|
30
35
|
},
|
|
31
36
|
"devDependencies": {
|
|
37
|
+
"@types/jest": "^29.5.14",
|
|
32
38
|
"@types/node": "^20.0.0",
|
|
39
|
+
"dotenv": "^17.4.2",
|
|
40
|
+
"jest": "^29.7.0",
|
|
41
|
+
"ts-jest": "^29.4.10",
|
|
42
|
+
"ts-node": "^10.9.2",
|
|
33
43
|
"tsup": "^8.5.1",
|
|
34
44
|
"typescript": "^5.0.0"
|
|
35
45
|
},
|