@emilgroup/task-sdk 1.3.1-beta.1 → 1.3.1-beta.4

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/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/default-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/default-api"), exports);
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: CLAIM, POLICY, LEAD, PARTNER
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': string;
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
+ };
@@ -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: CLAIM, POLICY, LEAD, PARTNER
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': string;
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
+
@@ -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.1",
3
+ "version": "1.3.1-beta.4",
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": "^1.12.0"
21
+ "axios": "1.12.0"
22
22
  },
23
23
  "devDependencies": {
24
24