@emilgroup/task-sdk 1.3.1-beta.1 → 1.3.1-beta.11
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/.openapi-generator/FILES +2 -1
- package/README.md +2 -2
- package/api/{default-api.ts → health-api.ts} +13 -13
- package/api/reminders-api.ts +64 -50
- package/api/task-client-api.ts +2140 -0
- package/api.ts +4 -2
- package/dist/api/{default-api.d.ts → health-api.d.ts} +10 -10
- package/dist/api/{default-api.js → health-api.js} +22 -22
- package/dist/api/reminders-api.d.ts +56 -47
- package/dist/api/reminders-api.js +52 -46
- package/dist/api/task-client-api.d.ts +1194 -0
- package/dist/api/task-client-api.js +1838 -0
- package/dist/api.d.ts +2 -1
- package/dist/api.js +2 -1
- package/dist/models/create-reminder-request-dto.d.ts +9 -2
- package/dist/models/create-reminder-request-dto.js +7 -0
- package/dist/models/get-reminder-counts-response-class.d.ts +12 -0
- package/dist/models/patch-reminder-request-dto.d.ts +25 -0
- package/dist/models/patch-reminder-request-dto.js +7 -0
- package/models/create-reminder-request-dto.ts +12 -2
- package/models/get-reminder-counts-response-class.ts +12 -0
- package/models/patch-reminder-request-dto.ts +28 -0
- package/package.json +2 -2
package/dist/api.d.ts
CHANGED
|
@@ -11,8 +11,9 @@
|
|
|
11
11
|
*/
|
|
12
12
|
export * from './api/assignees-api';
|
|
13
13
|
export * from './api/categories-api';
|
|
14
|
-
export * from './api/
|
|
14
|
+
export * from './api/health-api';
|
|
15
15
|
export * from './api/hub-spot-api';
|
|
16
16
|
export * from './api/reminders-api';
|
|
17
17
|
export * from './api/statuses-api';
|
|
18
|
+
export * from './api/task-client-api';
|
|
18
19
|
export * from './api/tasks-api';
|
package/dist/api.js
CHANGED
|
@@ -29,8 +29,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
30
|
__exportStar(require("./api/assignees-api"), exports);
|
|
31
31
|
__exportStar(require("./api/categories-api"), exports);
|
|
32
|
-
__exportStar(require("./api/
|
|
32
|
+
__exportStar(require("./api/health-api"), exports);
|
|
33
33
|
__exportStar(require("./api/hub-spot-api"), exports);
|
|
34
34
|
__exportStar(require("./api/reminders-api"), exports);
|
|
35
35
|
__exportStar(require("./api/statuses-api"), exports);
|
|
36
|
+
__exportStar(require("./api/task-client-api"), exports);
|
|
36
37
|
__exportStar(require("./api/tasks-api"), exports);
|
|
@@ -34,11 +34,11 @@ export interface CreateReminderRequestDto {
|
|
|
34
34
|
*/
|
|
35
35
|
'dueAt': string;
|
|
36
36
|
/**
|
|
37
|
-
* Connected entity type:
|
|
37
|
+
* Connected entity type. Must be one of: LEAD, POLICY, CLAIM, PARTNER (uppercase).
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof CreateReminderRequestDto
|
|
40
40
|
*/
|
|
41
|
-
'entityType':
|
|
41
|
+
'entityType': CreateReminderRequestDtoEntityTypeEnum;
|
|
42
42
|
/**
|
|
43
43
|
* Code of the linked entity
|
|
44
44
|
* @type {string}
|
|
@@ -52,3 +52,10 @@ export interface CreateReminderRequestDto {
|
|
|
52
52
|
*/
|
|
53
53
|
'userSub'?: string;
|
|
54
54
|
}
|
|
55
|
+
export declare const CreateReminderRequestDtoEntityTypeEnum: {
|
|
56
|
+
readonly Lead: "LEAD";
|
|
57
|
+
readonly Policy: "POLICY";
|
|
58
|
+
readonly Claim: "CLAIM";
|
|
59
|
+
readonly Partner: "PARTNER";
|
|
60
|
+
};
|
|
61
|
+
export type CreateReminderRequestDtoEntityTypeEnum = typeof CreateReminderRequestDtoEntityTypeEnum[keyof typeof CreateReminderRequestDtoEntityTypeEnum];
|
|
@@ -13,3 +13,10 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.CreateReminderRequestDtoEntityTypeEnum = void 0;
|
|
17
|
+
exports.CreateReminderRequestDtoEntityTypeEnum = {
|
|
18
|
+
Lead: 'LEAD',
|
|
19
|
+
Policy: 'POLICY',
|
|
20
|
+
Claim: 'CLAIM',
|
|
21
|
+
Partner: 'PARTNER'
|
|
22
|
+
};
|
|
@@ -27,4 +27,16 @@ export interface GetReminderCountsResponseClass {
|
|
|
27
27
|
* @memberof GetReminderCountsResponseClass
|
|
28
28
|
*/
|
|
29
29
|
'overdueCount': number;
|
|
30
|
+
/**
|
|
31
|
+
* plannedCount
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof GetReminderCountsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'plannedCount': number;
|
|
36
|
+
/**
|
|
37
|
+
* doneCount
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof GetReminderCountsResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'doneCount': number;
|
|
30
42
|
}
|
|
@@ -39,4 +39,29 @@ export interface PatchReminderRequestDto {
|
|
|
39
39
|
* @memberof PatchReminderRequestDto
|
|
40
40
|
*/
|
|
41
41
|
'dueAt'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Connected entity type. Must be one of: LEAD, POLICY, CLAIM, PARTNER (uppercase). If provided, entityCode is required.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PatchReminderRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'entityType'?: PatchReminderRequestDtoEntityTypeEnum;
|
|
48
|
+
/**
|
|
49
|
+
* Connected entity code. If provided with entityType, updates the linked entity.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof PatchReminderRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'entityCode'?: string;
|
|
54
|
+
/**
|
|
55
|
+
* User sub of the reminder owner
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof PatchReminderRequestDto
|
|
58
|
+
*/
|
|
59
|
+
'userSub'?: string;
|
|
42
60
|
}
|
|
61
|
+
export declare const PatchReminderRequestDtoEntityTypeEnum: {
|
|
62
|
+
readonly Lead: "LEAD";
|
|
63
|
+
readonly Policy: "POLICY";
|
|
64
|
+
readonly Claim: "CLAIM";
|
|
65
|
+
readonly Partner: "PARTNER";
|
|
66
|
+
};
|
|
67
|
+
export type PatchReminderRequestDtoEntityTypeEnum = typeof PatchReminderRequestDtoEntityTypeEnum[keyof typeof PatchReminderRequestDtoEntityTypeEnum];
|
|
@@ -13,3 +13,10 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.PatchReminderRequestDtoEntityTypeEnum = void 0;
|
|
17
|
+
exports.PatchReminderRequestDtoEntityTypeEnum = {
|
|
18
|
+
Lead: 'LEAD',
|
|
19
|
+
Policy: 'POLICY',
|
|
20
|
+
Claim: 'CLAIM',
|
|
21
|
+
Partner: 'PARTNER'
|
|
22
|
+
};
|
|
@@ -39,11 +39,11 @@ export interface CreateReminderRequestDto {
|
|
|
39
39
|
*/
|
|
40
40
|
'dueAt': string;
|
|
41
41
|
/**
|
|
42
|
-
* Connected entity type:
|
|
42
|
+
* Connected entity type. Must be one of: LEAD, POLICY, CLAIM, PARTNER (uppercase).
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof CreateReminderRequestDto
|
|
45
45
|
*/
|
|
46
|
-
'entityType':
|
|
46
|
+
'entityType': CreateReminderRequestDtoEntityTypeEnum;
|
|
47
47
|
/**
|
|
48
48
|
* Code of the linked entity
|
|
49
49
|
* @type {string}
|
|
@@ -58,3 +58,13 @@ export interface CreateReminderRequestDto {
|
|
|
58
58
|
'userSub'?: string;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
+
export const CreateReminderRequestDtoEntityTypeEnum = {
|
|
62
|
+
Lead: 'LEAD',
|
|
63
|
+
Policy: 'POLICY',
|
|
64
|
+
Claim: 'CLAIM',
|
|
65
|
+
Partner: 'PARTNER'
|
|
66
|
+
} as const;
|
|
67
|
+
|
|
68
|
+
export type CreateReminderRequestDtoEntityTypeEnum = typeof CreateReminderRequestDtoEntityTypeEnum[keyof typeof CreateReminderRequestDtoEntityTypeEnum];
|
|
69
|
+
|
|
70
|
+
|
|
@@ -32,5 +32,17 @@ export interface GetReminderCountsResponseClass {
|
|
|
32
32
|
* @memberof GetReminderCountsResponseClass
|
|
33
33
|
*/
|
|
34
34
|
'overdueCount': number;
|
|
35
|
+
/**
|
|
36
|
+
* plannedCount
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof GetReminderCountsResponseClass
|
|
39
|
+
*/
|
|
40
|
+
'plannedCount': number;
|
|
41
|
+
/**
|
|
42
|
+
* doneCount
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof GetReminderCountsResponseClass
|
|
45
|
+
*/
|
|
46
|
+
'doneCount': number;
|
|
35
47
|
}
|
|
36
48
|
|
|
@@ -44,5 +44,33 @@ export interface PatchReminderRequestDto {
|
|
|
44
44
|
* @memberof PatchReminderRequestDto
|
|
45
45
|
*/
|
|
46
46
|
'dueAt'?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Connected entity type. Must be one of: LEAD, POLICY, CLAIM, PARTNER (uppercase). If provided, entityCode is required.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof PatchReminderRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'entityType'?: PatchReminderRequestDtoEntityTypeEnum;
|
|
53
|
+
/**
|
|
54
|
+
* Connected entity code. If provided with entityType, updates the linked entity.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof PatchReminderRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'entityCode'?: string;
|
|
59
|
+
/**
|
|
60
|
+
* User sub of the reminder owner
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof PatchReminderRequestDto
|
|
63
|
+
*/
|
|
64
|
+
'userSub'?: string;
|
|
47
65
|
}
|
|
48
66
|
|
|
67
|
+
export const PatchReminderRequestDtoEntityTypeEnum = {
|
|
68
|
+
Lead: 'LEAD',
|
|
69
|
+
Policy: 'POLICY',
|
|
70
|
+
Claim: 'CLAIM',
|
|
71
|
+
Partner: 'PARTNER'
|
|
72
|
+
} as const;
|
|
73
|
+
|
|
74
|
+
export type PatchReminderRequestDtoEntityTypeEnum = typeof PatchReminderRequestDtoEntityTypeEnum[keyof typeof PatchReminderRequestDtoEntityTypeEnum];
|
|
75
|
+
|
|
76
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/task-sdk",
|
|
3
|
-
"version": "1.3.1-beta.
|
|
3
|
+
"version": "1.3.1-beta.11",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/task-sdk",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"prepare": "npm run build"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"axios": "
|
|
21
|
+
"axios": "1.12.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
|