@composio/core 0.1.54-alpha-zod-4-peer-type-fix → 0.1.55

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.cjs CHANGED
@@ -7352,7 +7352,7 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
7352
7352
  };
7353
7353
 
7354
7354
  // package.json
7355
- var version = "0.1.54";
7355
+ var version = "0.1.55";
7356
7356
 
7357
7357
  // src/models/Files.ts
7358
7358
  var Files = class {
package/dist/index.js CHANGED
@@ -7177,7 +7177,7 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
7177
7177
  };
7178
7178
 
7179
7179
  // package.json
7180
- var version = "0.1.54";
7180
+ var version = "0.1.55";
7181
7181
 
7182
7182
  // src/models/Files.ts
7183
7183
  var Files = class {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@composio/core",
3
- "version": "0.1.54-alpha-zod-4-peer-type-fix",
3
+ "version": "0.1.55",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -47,7 +47,7 @@
47
47
  "semver": "^7.7.2",
48
48
  "uuid": "^13.0.0",
49
49
  "zod-to-json-schema": "^3.24.5",
50
- "@composio/json-schema-to-zod": "0.1.15"
50
+ "@composio/json-schema-to-zod": "0.1.16"
51
51
  },
52
52
  "gitHead": "4fae6e54d5c150fba955cc5fa314281da5a1e064",
53
53
  "scripts": {
@@ -1,86 +0,0 @@
1
- import { type TriggerEvent } from "@composio/core";
2
- /**
3
- * Type of GMAIL's NEW_GMAIL_MESSAGE trigger payload.
4
- */
5
- type GMAIL_NEW_GMAIL_MESSAGE_PAYLOAD = {
6
- /**
7
- * Attachment List
8
- * @description The list of attachments in the message
9
- * @default null
10
- */
11
- attachment_list: unknown[] | null;
12
- /**
13
- * Message ID
14
- * @description The message ID of the message
15
- * @default null
16
- */
17
- message_id: string | null;
18
- /**
19
- * Message Text
20
- * @description The text of the message
21
- * @default null
22
- */
23
- message_text: string | null;
24
- /**
25
- * Message Timestamp
26
- * @description The timestamp of the message
27
- * @default null
28
- */
29
- message_timestamp: string | null;
30
- /**
31
- * Payload
32
- * @description The payload of the message
33
- * @default null
34
- */
35
- payload: Record<string, never> | null;
36
- /**
37
- * Sender
38
- * @description The sender of the message
39
- * @default null
40
- */
41
- sender: string | null;
42
- /**
43
- * Subject
44
- * @description The subject of the message
45
- * @default null
46
- */
47
- subject: string | null;
48
- /**
49
- * Thread ID
50
- * @description The thread ID of the message
51
- * @default null
52
- */
53
- thread_id: string | null;
54
- /**
55
- * To
56
- * @description The recipient of the message
57
- * @default null
58
- */
59
- to: string | null;
60
- };
61
- /**
62
- * Map of Composio's GMAIL toolkit.
63
- */
64
- export declare const GMAIL: {
65
- slug: string;
66
- tools: {};
67
- triggerTypes: {
68
- /**
69
- * Triggers when a new message is received in Gmail.
70
- */
71
- NEW_GMAIL_MESSAGE: string;
72
- };
73
- };
74
- /**
75
- * Type map of all available trigger payloads for toolkit "GMAIL".
76
- */
77
- export type GMAIL_TRIGGER_PAYLOADS = {
78
- NEW_GMAIL_MESSAGE: GMAIL_NEW_GMAIL_MESSAGE_PAYLOAD;
79
- };
80
- /**
81
- * Type map of all available trigger events for toolkit "GMAIL".
82
- */
83
- export type GMAIL_TRIGGER_EVENTS = {
84
- NEW_GMAIL_MESSAGE: TriggerEvent<GMAIL_NEW_GMAIL_MESSAGE_PAYLOAD>;
85
- };
86
- export {};
@@ -1,13 +0,0 @@
1
- /**
2
- * Map of Composio's GMAIL toolkit.
3
- */
4
- export const GMAIL = {
5
- slug: "gmail",
6
- tools: {},
7
- triggerTypes: {
8
- /**
9
- * Triggers when a new message is received in Gmail.
10
- */
11
- NEW_GMAIL_MESSAGE: "GMAIL_NEW_GMAIL_MESSAGE",
12
- },
13
- };
@@ -1,95 +0,0 @@
1
- import { type TriggerEvent } from "@composio/core"
2
-
3
- // ------------------- //
4
- // Trigger types //
5
- // ------------------- //
6
-
7
-
8
-
9
- /**
10
- * Type of GMAIL's NEW_GMAIL_MESSAGE trigger payload.
11
- */
12
- type GMAIL_NEW_GMAIL_MESSAGE_PAYLOAD = {
13
- /**
14
- * Attachment List
15
- * @description The list of attachments in the message
16
- * @default null
17
- */
18
- attachment_list: unknown[] | null;
19
- /**
20
- * Message ID
21
- * @description The message ID of the message
22
- * @default null
23
- */
24
- message_id: string | null;
25
- /**
26
- * Message Text
27
- * @description The text of the message
28
- * @default null
29
- */
30
- message_text: string | null;
31
- /**
32
- * Message Timestamp
33
- * @description The timestamp of the message
34
- * @default null
35
- */
36
- message_timestamp: string | null;
37
- /**
38
- * Payload
39
- * @description The payload of the message
40
- * @default null
41
- */
42
- payload: Record<string, never> | null;
43
- /**
44
- * Sender
45
- * @description The sender of the message
46
- * @default null
47
- */
48
- sender: string | null;
49
- /**
50
- * Subject
51
- * @description The subject of the message
52
- * @default null
53
- */
54
- subject: string | null;
55
- /**
56
- * Thread ID
57
- * @description The thread ID of the message
58
- * @default null
59
- */
60
- thread_id: string | null;
61
- /**
62
- * To
63
- * @description The recipient of the message
64
- * @default null
65
- */
66
- to: string | null;
67
- };
68
-
69
- /**
70
- * Map of Composio's GMAIL toolkit.
71
- */
72
- export const GMAIL = {
73
- slug: "gmail",
74
- tools: {},
75
- triggerTypes: {
76
- /**
77
- * Triggers when a new message is received in Gmail.
78
- */
79
- NEW_GMAIL_MESSAGE: "GMAIL_NEW_GMAIL_MESSAGE",
80
- },
81
- }
82
-
83
- /**
84
- * Type map of all available trigger payloads for toolkit "GMAIL".
85
- */
86
- export type GMAIL_TRIGGER_PAYLOADS = {
87
- NEW_GMAIL_MESSAGE: GMAIL_NEW_GMAIL_MESSAGE_PAYLOAD
88
- }
89
-
90
- /**
91
- * Type map of all available trigger events for toolkit "GMAIL".
92
- */
93
- export type GMAIL_TRIGGER_EVENTS = {
94
- NEW_GMAIL_MESSAGE: TriggerEvent<GMAIL_NEW_GMAIL_MESSAGE_PAYLOAD>
95
- }
@@ -1,136 +0,0 @@
1
- /**
2
- * Auto-generated by Composio CLI. Do not modify manually.
3
- */
4
- import { type TriggerEvent } from "@composio/core";
5
- /**
6
- * Type of GMAIL's NEW_GMAIL_MESSAGE trigger payload.
7
- */
8
- type GMAIL_NEW_GMAIL_MESSAGE_PAYLOAD = {
9
- /**
10
- * Attachment List
11
- * @description The list of attachments in the message
12
- * @default null
13
- */
14
- attachment_list: unknown[] | null;
15
- /**
16
- * Message ID
17
- * @description The message ID of the message
18
- * @default null
19
- */
20
- message_id: string | null;
21
- /**
22
- * Message Text
23
- * @description The text of the message
24
- * @default null
25
- */
26
- message_text: string | null;
27
- /**
28
- * Message Timestamp
29
- * @description The timestamp of the message
30
- * @default null
31
- */
32
- message_timestamp: string | null;
33
- /**
34
- * Payload
35
- * @description The payload of the message
36
- * @default null
37
- */
38
- payload: Record<string, never> | null;
39
- /**
40
- * Sender
41
- * @description The sender of the message
42
- * @default null
43
- */
44
- sender: string | null;
45
- /**
46
- * Subject
47
- * @description The subject of the message
48
- * @default null
49
- */
50
- subject: string | null;
51
- /**
52
- * Thread ID
53
- * @description The thread ID of the message
54
- * @default null
55
- */
56
- thread_id: string | null;
57
- /**
58
- * To
59
- * @description The recipient of the message
60
- * @default null
61
- */
62
- to: string | null;
63
- };
64
- /**
65
- * Map of Composio's GMAIL toolkit.
66
- */
67
- export declare const GMAIL: {
68
- slug: string;
69
- tools: {};
70
- triggerTypes: {
71
- /**
72
- * Triggers when a new message is received in Gmail.
73
- */
74
- NEW_GMAIL_MESSAGE: string;
75
- };
76
- };
77
- /**
78
- * Type map of all available trigger payloads for toolkit "GMAIL".
79
- */
80
- export type GMAIL_TRIGGER_PAYLOADS = {
81
- NEW_GMAIL_MESSAGE: GMAIL_NEW_GMAIL_MESSAGE_PAYLOAD;
82
- };
83
- /**
84
- * Type map of all available trigger events for toolkit "GMAIL".
85
- */
86
- export type GMAIL_TRIGGER_EVENTS = {
87
- NEW_GMAIL_MESSAGE: TriggerEvent<GMAIL_NEW_GMAIL_MESSAGE_PAYLOAD>;
88
- };
89
- /**
90
- * Map of Composio's SLACK toolkit.
91
- */
92
- export declare const SLACK: {
93
- slug: string;
94
- tools: {};
95
- triggerTypes: {};
96
- };
97
- /**
98
- * Type map of all available trigger payloads for toolkit "SLACK".
99
- */
100
- export type SLACK_TRIGGER_PAYLOADS = {};
101
- /**
102
- * Type map of all available trigger events for toolkit "SLACK".
103
- */
104
- export type SLACK_TRIGGER_EVENTS = {};
105
- /**
106
- * Map of Composio toolkits to actions.
107
- */
108
- export declare const Toolkits: {
109
- GMAIL: {
110
- slug: string;
111
- tools: {};
112
- triggerTypes: {
113
- /**
114
- * Triggers when a new message is received in Gmail.
115
- */
116
- NEW_GMAIL_MESSAGE: string;
117
- };
118
- };
119
- SLACK: {
120
- slug: string;
121
- tools: {};
122
- triggerTypes: {};
123
- };
124
- };
125
- /**
126
- * Type declarations
127
- */
128
- /**
129
- * Union of all available toolkits.
130
- */
131
- export type Toolkit = "GMAIL" | "SLACK";
132
- /**
133
- * Given a toolkit, returns the tools available for that toolkit.
134
- */
135
- export type ToolsByToolkit<$Toolkit extends keyof (typeof Toolkits)> = typeof Toolkits[$Toolkit];
136
- export {};
@@ -1,34 +0,0 @@
1
- /**
2
- * Auto-generated by Composio CLI. Do not modify manually.
3
- */
4
- /**
5
- * Map of Composio's GMAIL toolkit.
6
- */
7
- export const GMAIL = {
8
- slug: "gmail",
9
- tools: {},
10
- triggerTypes: {
11
- /**
12
- * Triggers when a new message is received in Gmail.
13
- */
14
- NEW_GMAIL_MESSAGE: "GMAIL_NEW_GMAIL_MESSAGE",
15
- },
16
- };
17
- // ------------------- //
18
- // Trigger types //
19
- // ------------------- //
20
- /**
21
- * Map of Composio's SLACK toolkit.
22
- */
23
- export const SLACK = {
24
- slug: "slack",
25
- tools: {},
26
- triggerTypes: {},
27
- };
28
- /**
29
- * Map of Composio toolkits to actions.
30
- */
31
- export const Toolkits = {
32
- GMAIL: GMAIL,
33
- SLACK: SLACK,
34
- };
@@ -1,151 +0,0 @@
1
- /**
2
- * Auto-generated by Composio CLI. Do not modify manually.
3
- */
4
-
5
- import { type TriggerEvent } from "@composio/core"
6
-
7
- // ------------------- //
8
- // Trigger types //
9
- // ------------------- //
10
-
11
-
12
-
13
- /**
14
- * Type of GMAIL's NEW_GMAIL_MESSAGE trigger payload.
15
- */
16
- type GMAIL_NEW_GMAIL_MESSAGE_PAYLOAD = {
17
- /**
18
- * Attachment List
19
- * @description The list of attachments in the message
20
- * @default null
21
- */
22
- attachment_list: unknown[] | null;
23
- /**
24
- * Message ID
25
- * @description The message ID of the message
26
- * @default null
27
- */
28
- message_id: string | null;
29
- /**
30
- * Message Text
31
- * @description The text of the message
32
- * @default null
33
- */
34
- message_text: string | null;
35
- /**
36
- * Message Timestamp
37
- * @description The timestamp of the message
38
- * @default null
39
- */
40
- message_timestamp: string | null;
41
- /**
42
- * Payload
43
- * @description The payload of the message
44
- * @default null
45
- */
46
- payload: Record<string, never> | null;
47
- /**
48
- * Sender
49
- * @description The sender of the message
50
- * @default null
51
- */
52
- sender: string | null;
53
- /**
54
- * Subject
55
- * @description The subject of the message
56
- * @default null
57
- */
58
- subject: string | null;
59
- /**
60
- * Thread ID
61
- * @description The thread ID of the message
62
- * @default null
63
- */
64
- thread_id: string | null;
65
- /**
66
- * To
67
- * @description The recipient of the message
68
- * @default null
69
- */
70
- to: string | null;
71
- };
72
-
73
- /**
74
- * Map of Composio's GMAIL toolkit.
75
- */
76
- export const GMAIL = {
77
- slug: "gmail",
78
- tools: {},
79
- triggerTypes: {
80
- /**
81
- * Triggers when a new message is received in Gmail.
82
- */
83
- NEW_GMAIL_MESSAGE: "GMAIL_NEW_GMAIL_MESSAGE",
84
- },
85
- }
86
-
87
- /**
88
- * Type map of all available trigger payloads for toolkit "GMAIL".
89
- */
90
- export type GMAIL_TRIGGER_PAYLOADS = {
91
- NEW_GMAIL_MESSAGE: GMAIL_NEW_GMAIL_MESSAGE_PAYLOAD
92
- }
93
-
94
- /**
95
- * Type map of all available trigger events for toolkit "GMAIL".
96
- */
97
- export type GMAIL_TRIGGER_EVENTS = {
98
- NEW_GMAIL_MESSAGE: TriggerEvent<GMAIL_NEW_GMAIL_MESSAGE_PAYLOAD>
99
- }
100
-
101
- // ------------------- //
102
- // Trigger types //
103
- // ------------------- //
104
-
105
-
106
-
107
- /**
108
- * Map of Composio's SLACK toolkit.
109
- */
110
- export const SLACK = {
111
- slug: "slack",
112
- tools: {},
113
- triggerTypes: {},
114
- }
115
-
116
- /**
117
- * Type map of all available trigger payloads for toolkit "SLACK".
118
- */
119
- export type SLACK_TRIGGER_PAYLOADS = {}
120
-
121
- /**
122
- * Type map of all available trigger events for toolkit "SLACK".
123
- */
124
- export type SLACK_TRIGGER_EVENTS = {}
125
-
126
- /**
127
- * Map of Composio toolkits to actions.
128
- */
129
- export const Toolkits = {
130
- GMAIL: GMAIL,
131
- SLACK: SLACK,
132
- }
133
-
134
- /**
135
- * Type declarations
136
- */
137
-
138
- /**
139
- * Union of all available toolkits.
140
- */
141
- export type Toolkit =
142
- | "GMAIL"
143
- | "SLACK"
144
-
145
- /**
146
- * Given a toolkit, returns the tools available for that toolkit.
147
- */
148
- export type ToolsByToolkit<$Toolkit extends keyof (typeof Toolkits)> = typeof Toolkits[$Toolkit]
149
-
150
-
151
-
@@ -1,16 +0,0 @@
1
- /**
2
- * Map of Composio's SLACK toolkit.
3
- */
4
- export declare const SLACK: {
5
- slug: string;
6
- tools: {};
7
- triggerTypes: {};
8
- };
9
- /**
10
- * Type map of all available trigger payloads for toolkit "SLACK".
11
- */
12
- export type SLACK_TRIGGER_PAYLOADS = {};
13
- /**
14
- * Type map of all available trigger events for toolkit "SLACK".
15
- */
16
- export type SLACK_TRIGGER_EVENTS = {};
@@ -1,11 +0,0 @@
1
- // ------------------- //
2
- // Trigger types //
3
- // ------------------- //
4
- /**
5
- * Map of Composio's SLACK toolkit.
6
- */
7
- export const SLACK = {
8
- slug: "slack",
9
- tools: {},
10
- triggerTypes: {},
11
- };
@@ -1,24 +0,0 @@
1
- // ------------------- //
2
- // Trigger types //
3
- // ------------------- //
4
-
5
-
6
-
7
- /**
8
- * Map of Composio's SLACK toolkit.
9
- */
10
- export const SLACK = {
11
- slug: "slack",
12
- tools: {},
13
- triggerTypes: {},
14
- }
15
-
16
- /**
17
- * Type map of all available trigger payloads for toolkit "SLACK".
18
- */
19
- export type SLACK_TRIGGER_PAYLOADS = {}
20
-
21
- /**
22
- * Type map of all available trigger events for toolkit "SLACK".
23
- */
24
- export type SLACK_TRIGGER_EVENTS = {}