@zavudev/sdk 0.30.0 → 0.38.0
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/CHANGELOG.md +124 -0
- package/client.d.mts +28 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +28 -4
- package/client.d.ts.map +1 -1
- package/client.js +25 -1
- package/client.js.map +1 -1
- package/client.mjs +25 -1
- package/client.mjs.map +1 -1
- package/internal/utils/env.js +2 -2
- package/internal/utils/env.js.map +1 -1
- package/internal/utils/env.mjs +2 -2
- package/internal/utils/env.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/balance.d.mts +33 -0
- package/resources/balance.d.mts.map +1 -0
- package/resources/balance.d.ts +33 -0
- package/resources/balance.d.ts.map +1 -0
- package/resources/balance.js +16 -0
- package/resources/balance.js.map +1 -0
- package/resources/balance.mjs +12 -0
- package/resources/balance.mjs.map +1 -0
- package/resources/broadcasts/broadcasts.d.mts +31 -1
- package/resources/broadcasts/broadcasts.d.mts.map +1 -1
- package/resources/broadcasts/broadcasts.d.ts +31 -1
- package/resources/broadcasts/broadcasts.d.ts.map +1 -1
- package/resources/broadcasts/broadcasts.js +28 -0
- package/resources/broadcasts/broadcasts.js.map +1 -1
- package/resources/broadcasts/broadcasts.mjs +28 -0
- package/resources/broadcasts/broadcasts.mjs.map +1 -1
- package/resources/broadcasts/index.d.mts +1 -1
- package/resources/broadcasts/index.d.mts.map +1 -1
- package/resources/broadcasts/index.d.ts +1 -1
- package/resources/broadcasts/index.d.ts.map +1 -1
- package/resources/broadcasts/index.js.map +1 -1
- package/resources/broadcasts/index.mjs.map +1 -1
- package/resources/contacts/channels.d.mts +127 -0
- package/resources/contacts/channels.d.mts.map +1 -0
- package/resources/contacts/channels.d.ts +127 -0
- package/resources/contacts/channels.d.ts.map +1 -0
- package/resources/contacts/channels.js +76 -0
- package/resources/contacts/channels.js.map +1 -0
- package/resources/contacts/channels.mjs +72 -0
- package/resources/contacts/channels.mjs.map +1 -0
- package/resources/contacts/contacts.d.mts +262 -0
- package/resources/contacts/contacts.d.mts.map +1 -0
- package/resources/contacts/contacts.d.ts +262 -0
- package/resources/contacts/contacts.d.ts.map +1 -0
- package/resources/contacts/contacts.js +118 -0
- package/resources/contacts/contacts.js.map +1 -0
- package/resources/contacts/contacts.mjs +113 -0
- package/resources/contacts/contacts.mjs.map +1 -0
- package/resources/contacts/index.d.mts +3 -0
- package/resources/contacts/index.d.mts.map +1 -0
- package/resources/contacts/index.d.ts +3 -0
- package/resources/contacts/index.d.ts.map +1 -0
- package/resources/contacts/index.js +9 -0
- package/resources/contacts/index.js.map +1 -0
- package/resources/contacts/index.mjs +4 -0
- package/resources/contacts/index.mjs.map +1 -0
- package/resources/contacts.d.mts +1 -144
- package/resources/contacts.d.mts.map +1 -1
- package/resources/contacts.d.ts +1 -144
- package/resources/contacts.d.ts.map +1 -1
- package/resources/contacts.js +2 -31
- package/resources/contacts.js.map +1 -1
- package/resources/contacts.mjs +1 -29
- package/resources/contacts.mjs.map +1 -1
- package/resources/exports.d.mts +101 -0
- package/resources/exports.d.mts.map +1 -0
- package/resources/exports.d.ts +101 -0
- package/resources/exports.d.ts.map +1 -0
- package/resources/exports.js +53 -0
- package/resources/exports.js.map +1 -0
- package/resources/exports.mjs +49 -0
- package/resources/exports.mjs.map +1 -0
- package/resources/index.d.mts +10 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +10 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +18 -2
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +9 -1
- package/resources/index.mjs.map +1 -1
- package/resources/invitations.d.mts +133 -0
- package/resources/invitations.d.mts.map +1 -0
- package/resources/invitations.d.ts +133 -0
- package/resources/invitations.d.ts.map +1 -0
- package/resources/invitations.js +67 -0
- package/resources/invitations.js.map +1 -0
- package/resources/invitations.mjs +63 -0
- package/resources/invitations.mjs.map +1 -0
- package/resources/messages.d.mts +37 -4
- package/resources/messages.d.mts.map +1 -1
- package/resources/messages.d.ts +37 -4
- package/resources/messages.d.ts.map +1 -1
- package/resources/number-10dlc/brands.d.mts +258 -0
- package/resources/number-10dlc/brands.d.mts.map +1 -0
- package/resources/number-10dlc/brands.d.ts +258 -0
- package/resources/number-10dlc/brands.d.ts.map +1 -0
- package/resources/number-10dlc/brands.js +132 -0
- package/resources/number-10dlc/brands.js.map +1 -0
- package/resources/number-10dlc/brands.mjs +128 -0
- package/resources/number-10dlc/brands.mjs.map +1 -0
- package/resources/number-10dlc/campaigns/campaigns.d.mts +223 -0
- package/resources/number-10dlc/campaigns/campaigns.d.mts.map +1 -0
- package/resources/number-10dlc/campaigns/campaigns.d.ts +223 -0
- package/resources/number-10dlc/campaigns/campaigns.d.ts.map +1 -0
- package/resources/number-10dlc/campaigns/campaigns.js +133 -0
- package/resources/number-10dlc/campaigns/campaigns.js.map +1 -0
- package/resources/number-10dlc/campaigns/campaigns.mjs +128 -0
- package/resources/number-10dlc/campaigns/campaigns.mjs.map +1 -0
- package/resources/number-10dlc/campaigns/index.d.mts +3 -0
- package/resources/number-10dlc/campaigns/index.d.mts.map +1 -0
- package/resources/number-10dlc/campaigns/index.d.ts +3 -0
- package/resources/number-10dlc/campaigns/index.d.ts.map +1 -0
- package/resources/number-10dlc/campaigns/index.js +9 -0
- package/resources/number-10dlc/campaigns/index.js.map +1 -0
- package/resources/number-10dlc/campaigns/index.mjs +4 -0
- package/resources/number-10dlc/campaigns/index.mjs.map +1 -0
- package/resources/number-10dlc/campaigns/phone-numbers.d.mts +79 -0
- package/resources/number-10dlc/campaigns/phone-numbers.d.mts.map +1 -0
- package/resources/number-10dlc/campaigns/phone-numbers.d.ts +79 -0
- package/resources/number-10dlc/campaigns/phone-numbers.d.ts.map +1 -0
- package/resources/number-10dlc/campaigns/phone-numbers.js +59 -0
- package/resources/number-10dlc/campaigns/phone-numbers.js.map +1 -0
- package/resources/number-10dlc/campaigns/phone-numbers.mjs +55 -0
- package/resources/number-10dlc/campaigns/phone-numbers.mjs.map +1 -0
- package/resources/number-10dlc/campaigns.d.mts +2 -0
- package/resources/number-10dlc/campaigns.d.mts.map +1 -0
- package/resources/number-10dlc/campaigns.d.ts +2 -0
- package/resources/number-10dlc/campaigns.d.ts.map +1 -0
- package/resources/number-10dlc/campaigns.js +6 -0
- package/resources/number-10dlc/campaigns.js.map +1 -0
- package/resources/number-10dlc/campaigns.mjs +3 -0
- package/resources/number-10dlc/campaigns.mjs.map +1 -0
- package/resources/number-10dlc/index.d.mts +4 -0
- package/resources/number-10dlc/index.d.mts.map +1 -0
- package/resources/number-10dlc/index.d.ts +4 -0
- package/resources/number-10dlc/index.d.ts.map +1 -0
- package/resources/number-10dlc/index.js +11 -0
- package/resources/number-10dlc/index.js.map +1 -0
- package/resources/number-10dlc/index.mjs +5 -0
- package/resources/number-10dlc/index.mjs.map +1 -0
- package/resources/number-10dlc/number-10dlc.d.mts +14 -0
- package/resources/number-10dlc/number-10dlc.d.mts.map +1 -0
- package/resources/number-10dlc/number-10dlc.d.ts +14 -0
- package/resources/number-10dlc/number-10dlc.d.ts.map +1 -0
- package/resources/number-10dlc/number-10dlc.js +21 -0
- package/resources/number-10dlc/number-10dlc.js.map +1 -0
- package/resources/number-10dlc/number-10dlc.mjs +16 -0
- package/resources/number-10dlc/number-10dlc.mjs.map +1 -0
- package/resources/number-10dlc.d.mts +2 -0
- package/resources/number-10dlc.d.mts.map +1 -0
- package/resources/number-10dlc.d.ts +2 -0
- package/resources/number-10dlc.d.ts.map +1 -0
- package/resources/number-10dlc.js +6 -0
- package/resources/number-10dlc.js.map +1 -0
- package/resources/number-10dlc.mjs +3 -0
- package/resources/number-10dlc.mjs.map +1 -0
- package/resources/plan.d.mts +43 -0
- package/resources/plan.d.mts.map +1 -0
- package/resources/plan.d.ts +43 -0
- package/resources/plan.d.ts.map +1 -0
- package/resources/plan.js +16 -0
- package/resources/plan.js.map +1 -0
- package/resources/plan.mjs +12 -0
- package/resources/plan.mjs.map +1 -0
- package/resources/senders/agent/agent.d.mts +4 -4
- package/resources/senders/agent/agent.d.mts.map +1 -1
- package/resources/senders/agent/agent.d.ts +4 -4
- package/resources/senders/agent/agent.d.ts.map +1 -1
- package/resources/senders/agent/agent.js.map +1 -1
- package/resources/senders/agent/agent.mjs.map +1 -1
- package/resources/senders/agent/flows.d.mts +40 -114
- package/resources/senders/agent/flows.d.mts.map +1 -1
- package/resources/senders/agent/flows.d.ts +40 -114
- package/resources/senders/agent/flows.d.ts.map +1 -1
- package/resources/senders/agent/index.d.mts +2 -2
- package/resources/senders/agent/index.d.mts.map +1 -1
- package/resources/senders/agent/index.d.ts +2 -2
- package/resources/senders/agent/index.d.ts.map +1 -1
- package/resources/senders/agent/index.js.map +1 -1
- package/resources/senders/agent/index.mjs.map +1 -1
- package/resources/senders/agent/tools.d.mts +15 -47
- package/resources/senders/agent/tools.d.mts.map +1 -1
- package/resources/senders/agent/tools.d.ts +15 -47
- package/resources/senders/agent/tools.d.ts.map +1 -1
- package/resources/senders/index.d.mts +1 -0
- package/resources/senders/index.d.mts.map +1 -1
- package/resources/senders/index.d.ts +1 -0
- package/resources/senders/index.d.ts.map +1 -1
- package/resources/senders/index.js +3 -1
- package/resources/senders/index.js.map +1 -1
- package/resources/senders/index.mjs +1 -0
- package/resources/senders/index.mjs.map +1 -1
- package/resources/senders/senders.d.mts +17 -1
- package/resources/senders/senders.d.mts.map +1 -1
- package/resources/senders/senders.d.ts +17 -1
- package/resources/senders/senders.d.ts.map +1 -1
- package/resources/senders/senders.js +4 -0
- package/resources/senders/senders.js.map +1 -1
- package/resources/senders/senders.mjs +4 -0
- package/resources/senders/senders.mjs.map +1 -1
- package/resources/senders/whatsapp-sync.d.mts +134 -0
- package/resources/senders/whatsapp-sync.d.mts.map +1 -0
- package/resources/senders/whatsapp-sync.d.ts +134 -0
- package/resources/senders/whatsapp-sync.d.ts.map +1 -0
- package/resources/senders/whatsapp-sync.js +56 -0
- package/resources/senders/whatsapp-sync.js.map +1 -0
- package/resources/senders/whatsapp-sync.mjs +52 -0
- package/resources/senders/whatsapp-sync.mjs.map +1 -0
- package/resources/sub-accounts/api-keys.d.mts +85 -0
- package/resources/sub-accounts/api-keys.d.mts.map +1 -0
- package/resources/sub-accounts/api-keys.d.ts +85 -0
- package/resources/sub-accounts/api-keys.d.ts.map +1 -0
- package/resources/sub-accounts/api-keys.js +53 -0
- package/resources/sub-accounts/api-keys.js.map +1 -0
- package/resources/sub-accounts/api-keys.mjs +49 -0
- package/resources/sub-accounts/api-keys.mjs.map +1 -0
- package/resources/sub-accounts/index.d.mts +3 -0
- package/resources/sub-accounts/index.d.mts.map +1 -0
- package/resources/sub-accounts/index.d.ts +3 -0
- package/resources/sub-accounts/index.d.ts.map +1 -0
- package/resources/sub-accounts/index.js +9 -0
- package/resources/sub-accounts/index.js.map +1 -0
- package/resources/sub-accounts/index.mjs +4 -0
- package/resources/sub-accounts/index.mjs.map +1 -0
- package/resources/sub-accounts/sub-accounts.d.mts +168 -0
- package/resources/sub-accounts/sub-accounts.d.mts.map +1 -0
- package/resources/sub-accounts/sub-accounts.d.ts +168 -0
- package/resources/sub-accounts/sub-accounts.d.ts.map +1 -0
- package/resources/sub-accounts/sub-accounts.js +94 -0
- package/resources/sub-accounts/sub-accounts.js.map +1 -0
- package/resources/sub-accounts/sub-accounts.mjs +89 -0
- package/resources/sub-accounts/sub-accounts.mjs.map +1 -0
- package/resources/sub-accounts.d.mts +2 -0
- package/resources/sub-accounts.d.mts.map +1 -0
- package/resources/sub-accounts.d.ts +2 -0
- package/resources/sub-accounts.d.ts.map +1 -0
- package/resources/sub-accounts.js +6 -0
- package/resources/sub-accounts.js.map +1 -0
- package/resources/sub-accounts.mjs +3 -0
- package/resources/sub-accounts.mjs.map +1 -0
- package/resources/templates.d.mts +42 -2
- package/resources/templates.d.mts.map +1 -1
- package/resources/templates.d.ts +42 -2
- package/resources/templates.d.ts.map +1 -1
- package/resources/urls.d.mts +88 -0
- package/resources/urls.d.mts.map +1 -0
- package/resources/urls.d.ts +88 -0
- package/resources/urls.d.ts.map +1 -0
- package/resources/urls.js +55 -0
- package/resources/urls.js.map +1 -0
- package/resources/urls.mjs +51 -0
- package/resources/urls.mjs.map +1 -0
- package/resources/usage.d.mts +36 -0
- package/resources/usage.d.mts.map +1 -0
- package/resources/usage.d.ts +36 -0
- package/resources/usage.d.ts.map +1 -0
- package/resources/usage.js +16 -0
- package/resources/usage.js.map +1 -0
- package/resources/usage.mjs +12 -0
- package/resources/usage.mjs.map +1 -0
- package/src/client.ts +130 -6
- package/src/internal/utils/env.ts +2 -2
- package/src/resources/balance.ts +43 -0
- package/src/resources/broadcasts/broadcasts.ts +40 -0
- package/src/resources/broadcasts/index.ts +2 -0
- package/src/resources/contacts/channels.ts +177 -0
- package/src/resources/contacts/contacts.ts +360 -0
- package/src/resources/contacts/index.ts +22 -0
- package/src/resources/contacts.ts +1 -196
- package/src/resources/exports.ts +141 -0
- package/src/resources/index.ts +51 -1
- package/src/resources/invitations.ts +188 -0
- package/src/resources/messages.ts +43 -3
- package/src/resources/number-10dlc/brands.ts +377 -0
- package/src/resources/number-10dlc/campaigns/campaigns.ts +349 -0
- package/src/resources/number-10dlc/campaigns/index.ts +23 -0
- package/src/resources/number-10dlc/campaigns/phone-numbers.ts +123 -0
- package/src/resources/number-10dlc/campaigns.ts +3 -0
- package/src/resources/number-10dlc/index.ts +30 -0
- package/src/resources/number-10dlc/number-10dlc.ts +71 -0
- package/src/resources/number-10dlc.ts +3 -0
- package/src/resources/plan.ts +62 -0
- package/src/resources/senders/agent/agent.ts +6 -0
- package/src/resources/senders/agent/flows.ts +44 -126
- package/src/resources/senders/agent/index.ts +3 -0
- package/src/resources/senders/agent/tools.ts +13 -50
- package/src/resources/senders/index.ts +9 -0
- package/src/resources/senders/senders.ts +38 -1
- package/src/resources/senders/whatsapp-sync.ts +175 -0
- package/src/resources/sub-accounts/api-keys.ts +126 -0
- package/src/resources/sub-accounts/index.ts +22 -0
- package/src/resources/sub-accounts/sub-accounts.ts +246 -0
- package/src/resources/sub-accounts.ts +3 -0
- package/src/resources/templates.ts +51 -2
- package/src/resources/urls.ts +125 -0
- package/src/resources/usage.ts +48 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -113,46 +113,44 @@ export interface AgentFlow {
|
|
|
113
113
|
* Priority when multiple flows match (higher = more priority).
|
|
114
114
|
*/
|
|
115
115
|
priority: number;
|
|
116
|
-
steps: Array<
|
|
117
|
-
trigger:
|
|
116
|
+
steps: Array<FlowStep>;
|
|
117
|
+
trigger: FlowTrigger;
|
|
118
118
|
updatedAt: string;
|
|
119
119
|
description?: string | null;
|
|
120
120
|
}
|
|
121
|
-
export
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
keywords?: Array<string>;
|
|
155
|
-
}
|
|
121
|
+
export interface FlowStep {
|
|
122
|
+
/**
|
|
123
|
+
* Unique step identifier.
|
|
124
|
+
*/
|
|
125
|
+
id: string;
|
|
126
|
+
/**
|
|
127
|
+
* Step configuration (varies by type).
|
|
128
|
+
*/
|
|
129
|
+
config: {
|
|
130
|
+
[key: string]: unknown;
|
|
131
|
+
};
|
|
132
|
+
/**
|
|
133
|
+
* Type of flow step.
|
|
134
|
+
*/
|
|
135
|
+
type: 'message' | 'collect' | 'condition' | 'tool' | 'llm' | 'transfer';
|
|
136
|
+
/**
|
|
137
|
+
* ID of the next step to execute.
|
|
138
|
+
*/
|
|
139
|
+
nextStepId?: string | null;
|
|
140
|
+
}
|
|
141
|
+
export interface FlowTrigger {
|
|
142
|
+
/**
|
|
143
|
+
* Type of trigger for a flow.
|
|
144
|
+
*/
|
|
145
|
+
type: 'keyword' | 'intent' | 'always' | 'manual';
|
|
146
|
+
/**
|
|
147
|
+
* Intent that triggers the flow (for intent type).
|
|
148
|
+
*/
|
|
149
|
+
intent?: string;
|
|
150
|
+
/**
|
|
151
|
+
* Keywords that trigger the flow (for keyword type).
|
|
152
|
+
*/
|
|
153
|
+
keywords?: Array<string>;
|
|
156
154
|
}
|
|
157
155
|
export interface FlowCreateResponse {
|
|
158
156
|
flow: AgentFlow;
|
|
@@ -168,48 +166,12 @@ export interface FlowDuplicateResponse {
|
|
|
168
166
|
}
|
|
169
167
|
export interface FlowCreateParams {
|
|
170
168
|
name: string;
|
|
171
|
-
steps: Array<
|
|
172
|
-
trigger:
|
|
169
|
+
steps: Array<FlowStep>;
|
|
170
|
+
trigger: FlowTrigger;
|
|
173
171
|
description?: string;
|
|
174
172
|
enabled?: boolean;
|
|
175
173
|
priority?: number;
|
|
176
174
|
}
|
|
177
|
-
export declare namespace FlowCreateParams {
|
|
178
|
-
interface Step {
|
|
179
|
-
/**
|
|
180
|
-
* Unique step identifier.
|
|
181
|
-
*/
|
|
182
|
-
id: string;
|
|
183
|
-
/**
|
|
184
|
-
* Step configuration (varies by type).
|
|
185
|
-
*/
|
|
186
|
-
config: {
|
|
187
|
-
[key: string]: unknown;
|
|
188
|
-
};
|
|
189
|
-
/**
|
|
190
|
-
* Type of flow step.
|
|
191
|
-
*/
|
|
192
|
-
type: 'message' | 'collect' | 'condition' | 'tool' | 'llm' | 'transfer';
|
|
193
|
-
/**
|
|
194
|
-
* ID of the next step to execute.
|
|
195
|
-
*/
|
|
196
|
-
nextStepId?: string | null;
|
|
197
|
-
}
|
|
198
|
-
interface Trigger {
|
|
199
|
-
/**
|
|
200
|
-
* Type of trigger for a flow.
|
|
201
|
-
*/
|
|
202
|
-
type: 'keyword' | 'intent' | 'always' | 'manual';
|
|
203
|
-
/**
|
|
204
|
-
* Intent that triggers the flow (for intent type).
|
|
205
|
-
*/
|
|
206
|
-
intent?: string;
|
|
207
|
-
/**
|
|
208
|
-
* Keywords that trigger the flow (for keyword type).
|
|
209
|
-
*/
|
|
210
|
-
keywords?: Array<string>;
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
175
|
export interface FlowRetrieveParams {
|
|
214
176
|
senderId: string;
|
|
215
177
|
}
|
|
@@ -237,47 +199,11 @@ export interface FlowUpdateParams {
|
|
|
237
199
|
/**
|
|
238
200
|
* Body param
|
|
239
201
|
*/
|
|
240
|
-
steps?: Array<
|
|
202
|
+
steps?: Array<FlowStep>;
|
|
241
203
|
/**
|
|
242
204
|
* Body param
|
|
243
205
|
*/
|
|
244
|
-
trigger?:
|
|
245
|
-
}
|
|
246
|
-
export declare namespace FlowUpdateParams {
|
|
247
|
-
interface Step {
|
|
248
|
-
/**
|
|
249
|
-
* Unique step identifier.
|
|
250
|
-
*/
|
|
251
|
-
id: string;
|
|
252
|
-
/**
|
|
253
|
-
* Step configuration (varies by type).
|
|
254
|
-
*/
|
|
255
|
-
config: {
|
|
256
|
-
[key: string]: unknown;
|
|
257
|
-
};
|
|
258
|
-
/**
|
|
259
|
-
* Type of flow step.
|
|
260
|
-
*/
|
|
261
|
-
type: 'message' | 'collect' | 'condition' | 'tool' | 'llm' | 'transfer';
|
|
262
|
-
/**
|
|
263
|
-
* ID of the next step to execute.
|
|
264
|
-
*/
|
|
265
|
-
nextStepId?: string | null;
|
|
266
|
-
}
|
|
267
|
-
interface Trigger {
|
|
268
|
-
/**
|
|
269
|
-
* Type of trigger for a flow.
|
|
270
|
-
*/
|
|
271
|
-
type: 'keyword' | 'intent' | 'always' | 'manual';
|
|
272
|
-
/**
|
|
273
|
-
* Intent that triggers the flow (for intent type).
|
|
274
|
-
*/
|
|
275
|
-
intent?: string;
|
|
276
|
-
/**
|
|
277
|
-
* Keywords that trigger the flow (for keyword type).
|
|
278
|
-
*/
|
|
279
|
-
keywords?: Array<string>;
|
|
280
|
-
}
|
|
206
|
+
trigger?: FlowTrigger;
|
|
281
207
|
}
|
|
282
208
|
export interface FlowListParams extends CursorParams {
|
|
283
209
|
enabled?: boolean;
|
|
@@ -296,6 +222,6 @@ export interface FlowDuplicateParams {
|
|
|
296
222
|
newName: string;
|
|
297
223
|
}
|
|
298
224
|
export declare namespace Flows {
|
|
299
|
-
export { type AgentFlow as AgentFlow, type FlowCreateResponse as FlowCreateResponse, type FlowRetrieveResponse as FlowRetrieveResponse, type FlowUpdateResponse as FlowUpdateResponse, type FlowDuplicateResponse as FlowDuplicateResponse, type AgentFlowsCursor as AgentFlowsCursor, type FlowCreateParams as FlowCreateParams, type FlowRetrieveParams as FlowRetrieveParams, type FlowUpdateParams as FlowUpdateParams, type FlowListParams as FlowListParams, type FlowDeleteParams as FlowDeleteParams, type FlowDuplicateParams as FlowDuplicateParams, };
|
|
225
|
+
export { type AgentFlow as AgentFlow, type FlowStep as FlowStep, type FlowTrigger as FlowTrigger, type FlowCreateResponse as FlowCreateResponse, type FlowRetrieveResponse as FlowRetrieveResponse, type FlowUpdateResponse as FlowUpdateResponse, type FlowDuplicateResponse as FlowDuplicateResponse, type AgentFlowsCursor as AgentFlowsCursor, type FlowCreateParams as FlowCreateParams, type FlowRetrieveParams as FlowRetrieveParams, type FlowUpdateParams as FlowUpdateParams, type FlowListParams as FlowListParams, type FlowDeleteParams as FlowDeleteParams, type FlowDuplicateParams as FlowDuplicateParams, };
|
|
300
226
|
}
|
|
301
227
|
//# sourceMappingURL=flows.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flows.d.ts","sourceRoot":"","sources":["../../../src/resources/senders/agent/flows.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,MAAM,EAAE,K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,EAC/B,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { AgentResource, type Agent, type AgentExecution, type AgentExecutionStatus, type AgentProvider, type AgentResponse, type AgentStats, type AgentCreateParams, type AgentUpdateParams, type AgentExecutionsCursor, } from "./agent.mjs";
|
|
2
2
|
export { Executions, type ExecutionListParams } from "./executions.mjs";
|
|
3
|
-
export { Flows, type AgentFlow, type FlowCreateResponse, type FlowRetrieveResponse, type FlowUpdateResponse, type FlowDuplicateResponse, type FlowCreateParams, type FlowRetrieveParams, type FlowUpdateParams, type FlowListParams, type FlowDeleteParams, type FlowDuplicateParams, type AgentFlowsCursor, } from "./flows.mjs";
|
|
3
|
+
export { Flows, type AgentFlow, type FlowStep, type FlowTrigger, type FlowCreateResponse, type FlowRetrieveResponse, type FlowUpdateResponse, type FlowDuplicateResponse, type FlowCreateParams, type FlowRetrieveParams, type FlowUpdateParams, type FlowListParams, type FlowDeleteParams, type FlowDuplicateParams, type AgentFlowsCursor, } from "./flows.mjs";
|
|
4
4
|
export { KnowledgeBases, type AgentDocument, type AgentKnowledgeBase, type KnowledgeBaseCreateResponse, type KnowledgeBaseRetrieveResponse, type KnowledgeBaseUpdateResponse, type KnowledgeBaseCreateParams, type KnowledgeBaseRetrieveParams, type KnowledgeBaseUpdateParams, type KnowledgeBaseListParams, type KnowledgeBaseDeleteParams, type AgentDocumentsCursor, type AgentKnowledgeBasesCursor, } from "./knowledge-bases/index.mjs";
|
|
5
|
-
export { Tools, type AgentTool, type ToolCreateResponse, type ToolRetrieveResponse, type ToolUpdateResponse, type ToolTestResponse, type ToolCreateParams, type ToolRetrieveParams, type ToolUpdateParams, type ToolListParams, type ToolDeleteParams, type ToolTestParams, type AgentToolsCursor, } from "./tools.mjs";
|
|
5
|
+
export { Tools, type AgentTool, type ToolParameters, type ToolCreateResponse, type ToolRetrieveResponse, type ToolUpdateResponse, type ToolTestResponse, type ToolCreateParams, type ToolRetrieveParams, type ToolUpdateParams, type ToolListParams, type ToolDeleteParams, type ToolTestParams, type AgentToolsCursor, } from "./tools.mjs";
|
|
6
6
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/senders/agent/index.ts"],"names":[],"mappings":"OAEO,EACL,aAAa,EACb,KAAK,KAAK,EACV,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,GAC3B;OACM,EAAE,UAAU,EAAE,KAAK,mBAAmB,EAAE;OACxC,EACL,KAAK,EACL,KAAK,SAAS,EACd,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,GACtB;OACM,EACL,cAAc,EACd,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,2BAA2B,EAChC,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,GAC/B;OACM,EACL,KAAK,EACL,KAAK,SAAS,EACd,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,gBAAgB,GACtB"}
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/senders/agent/index.ts"],"names":[],"mappings":"OAEO,EACL,aAAa,EACb,KAAK,KAAK,EACV,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,GAC3B;OACM,EAAE,UAAU,EAAE,KAAK,mBAAmB,EAAE;OACxC,EACL,KAAK,EACL,KAAK,SAAS,EACd,KAAK,QAAQ,EACb,KAAK,WAAW,EAChB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,GACtB;OACM,EACL,cAAc,EACd,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,2BAA2B,EAChC,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,GAC/B;OACM,EACL,KAAK,EACL,KAAK,SAAS,EACd,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,gBAAgB,GACtB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { AgentResource, type Agent, type AgentExecution, type AgentExecutionStatus, type AgentProvider, type AgentResponse, type AgentStats, type AgentCreateParams, type AgentUpdateParams, type AgentExecutionsCursor, } from "./agent.js";
|
|
2
2
|
export { Executions, type ExecutionListParams } from "./executions.js";
|
|
3
|
-
export { Flows, type AgentFlow, type FlowCreateResponse, type FlowRetrieveResponse, type FlowUpdateResponse, type FlowDuplicateResponse, type FlowCreateParams, type FlowRetrieveParams, type FlowUpdateParams, type FlowListParams, type FlowDeleteParams, type FlowDuplicateParams, type AgentFlowsCursor, } from "./flows.js";
|
|
3
|
+
export { Flows, type AgentFlow, type FlowStep, type FlowTrigger, type FlowCreateResponse, type FlowRetrieveResponse, type FlowUpdateResponse, type FlowDuplicateResponse, type FlowCreateParams, type FlowRetrieveParams, type FlowUpdateParams, type FlowListParams, type FlowDeleteParams, type FlowDuplicateParams, type AgentFlowsCursor, } from "./flows.js";
|
|
4
4
|
export { KnowledgeBases, type AgentDocument, type AgentKnowledgeBase, type KnowledgeBaseCreateResponse, type KnowledgeBaseRetrieveResponse, type KnowledgeBaseUpdateResponse, type KnowledgeBaseCreateParams, type KnowledgeBaseRetrieveParams, type KnowledgeBaseUpdateParams, type KnowledgeBaseListParams, type KnowledgeBaseDeleteParams, type AgentDocumentsCursor, type AgentKnowledgeBasesCursor, } from "./knowledge-bases/index.js";
|
|
5
|
-
export { Tools, type AgentTool, type ToolCreateResponse, type ToolRetrieveResponse, type ToolUpdateResponse, type ToolTestResponse, type ToolCreateParams, type ToolRetrieveParams, type ToolUpdateParams, type ToolListParams, type ToolDeleteParams, type ToolTestParams, type AgentToolsCursor, } from "./tools.js";
|
|
5
|
+
export { Tools, type AgentTool, type ToolParameters, type ToolCreateResponse, type ToolRetrieveResponse, type ToolUpdateResponse, type ToolTestResponse, type ToolCreateParams, type ToolRetrieveParams, type ToolUpdateParams, type ToolListParams, type ToolDeleteParams, type ToolTestParams, type AgentToolsCursor, } from "./tools.js";
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/senders/agent/index.ts"],"names":[],"mappings":"OAEO,EACL,aAAa,EACb,KAAK,KAAK,EACV,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,GAC3B;OACM,EAAE,UAAU,EAAE,KAAK,mBAAmB,EAAE;OACxC,EACL,KAAK,EACL,KAAK,SAAS,EACd,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,GACtB;OACM,EACL,cAAc,EACd,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,2BAA2B,EAChC,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,GAC/B;OACM,EACL,KAAK,EACL,KAAK,SAAS,EACd,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,gBAAgB,GACtB"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/senders/agent/index.ts"],"names":[],"mappings":"OAEO,EACL,aAAa,EACb,KAAK,KAAK,EACV,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,GAC3B;OACM,EAAE,UAAU,EAAE,KAAK,mBAAmB,EAAE;OACxC,EACL,KAAK,EACL,KAAK,SAAS,EACd,KAAK,QAAQ,EACb,KAAK,WAAW,EAChB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,GACtB;OACM,EACL,cAAc,EACd,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,2BAA2B,EAChC,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,GAC/B;OACM,EACL,KAAK,EACL,KAAK,SAAS,EACd,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,gBAAgB,GACtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/senders/agent/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oCAWiB;AAVf,sGAAA,aAAa,OAAA;AAWf,8CAAoE;AAA3D,wGAAA,UAAU,OAAA;AACnB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/senders/agent/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oCAWiB;AAVf,sGAAA,aAAa,OAAA;AAWf,8CAAoE;AAA3D,wGAAA,UAAU,OAAA;AACnB,oCAgBiB;AAff,8FAAA,KAAK,OAAA;AAgBP,oDAciC;AAb/B,uGAAA,cAAc,OAAA;AAchB,oCAeiB;AAdf,8FAAA,KAAK,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/senders/agent/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,aAAa,GAUd;OACM,EAAE,UAAU,EAA4B;OACxC,EACL,KAAK,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/senders/agent/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,aAAa,GAUd;OACM,EAAE,UAAU,EAA4B;OACxC,EACL,KAAK,GAeN;OACM,EACL,cAAc,GAaf;OACM,EACL,KAAK,GAcN"}
|
|
@@ -107,26 +107,24 @@ export interface AgentTool {
|
|
|
107
107
|
description: string;
|
|
108
108
|
enabled: boolean;
|
|
109
109
|
name: string;
|
|
110
|
-
parameters:
|
|
110
|
+
parameters: ToolParameters;
|
|
111
111
|
updatedAt: string;
|
|
112
112
|
/**
|
|
113
113
|
* HTTPS URL to call when the tool is executed.
|
|
114
114
|
*/
|
|
115
115
|
webhookUrl: string;
|
|
116
116
|
}
|
|
117
|
-
export
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
type?: string;
|
|
129
|
-
}
|
|
117
|
+
export interface ToolParameters {
|
|
118
|
+
properties: {
|
|
119
|
+
[key: string]: ToolParameters.Properties;
|
|
120
|
+
};
|
|
121
|
+
required: Array<string>;
|
|
122
|
+
type: 'object';
|
|
123
|
+
}
|
|
124
|
+
export declare namespace ToolParameters {
|
|
125
|
+
interface Properties {
|
|
126
|
+
description?: string;
|
|
127
|
+
type?: string;
|
|
130
128
|
}
|
|
131
129
|
}
|
|
132
130
|
export interface ToolCreateResponse {
|
|
@@ -144,7 +142,7 @@ export interface ToolTestResponse {
|
|
|
144
142
|
export interface ToolCreateParams {
|
|
145
143
|
description: string;
|
|
146
144
|
name: string;
|
|
147
|
-
parameters:
|
|
145
|
+
parameters: ToolParameters;
|
|
148
146
|
/**
|
|
149
147
|
* Must be HTTPS.
|
|
150
148
|
*/
|
|
@@ -155,21 +153,6 @@ export interface ToolCreateParams {
|
|
|
155
153
|
*/
|
|
156
154
|
webhookSecret?: string;
|
|
157
155
|
}
|
|
158
|
-
export declare namespace ToolCreateParams {
|
|
159
|
-
interface Parameters {
|
|
160
|
-
properties: {
|
|
161
|
-
[key: string]: Parameters.Properties;
|
|
162
|
-
};
|
|
163
|
-
required: Array<string>;
|
|
164
|
-
type: 'object';
|
|
165
|
-
}
|
|
166
|
-
namespace Parameters {
|
|
167
|
-
interface Properties {
|
|
168
|
-
description?: string;
|
|
169
|
-
type?: string;
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
156
|
export interface ToolRetrieveParams {
|
|
174
157
|
senderId: string;
|
|
175
158
|
}
|
|
@@ -193,7 +176,7 @@ export interface ToolUpdateParams {
|
|
|
193
176
|
/**
|
|
194
177
|
* Body param
|
|
195
178
|
*/
|
|
196
|
-
parameters?:
|
|
179
|
+
parameters?: ToolParameters;
|
|
197
180
|
/**
|
|
198
181
|
* Body param
|
|
199
182
|
*/
|
|
@@ -203,21 +186,6 @@ export interface ToolUpdateParams {
|
|
|
203
186
|
*/
|
|
204
187
|
webhookUrl?: string;
|
|
205
188
|
}
|
|
206
|
-
export declare namespace ToolUpdateParams {
|
|
207
|
-
interface Parameters {
|
|
208
|
-
properties: {
|
|
209
|
-
[key: string]: Parameters.Properties;
|
|
210
|
-
};
|
|
211
|
-
required: Array<string>;
|
|
212
|
-
type: 'object';
|
|
213
|
-
}
|
|
214
|
-
namespace Parameters {
|
|
215
|
-
interface Properties {
|
|
216
|
-
description?: string;
|
|
217
|
-
type?: string;
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
189
|
export interface ToolListParams extends CursorParams {
|
|
222
190
|
enabled?: boolean;
|
|
223
191
|
}
|
|
@@ -237,6 +205,6 @@ export interface ToolTestParams {
|
|
|
237
205
|
};
|
|
238
206
|
}
|
|
239
207
|
export declare namespace Tools {
|
|
240
|
-
export { type AgentTool as AgentTool, type ToolCreateResponse as ToolCreateResponse, type ToolRetrieveResponse as ToolRetrieveResponse, type ToolUpdateResponse as ToolUpdateResponse, type ToolTestResponse as ToolTestResponse, type AgentToolsCursor as AgentToolsCursor, type ToolCreateParams as ToolCreateParams, type ToolRetrieveParams as ToolRetrieveParams, type ToolUpdateParams as ToolUpdateParams, type ToolListParams as ToolListParams, type ToolDeleteParams as ToolDeleteParams, type ToolTestParams as ToolTestParams, };
|
|
208
|
+
export { type AgentTool as AgentTool, type ToolParameters as ToolParameters, type ToolCreateResponse as ToolCreateResponse, type ToolRetrieveResponse as ToolRetrieveResponse, type ToolUpdateResponse as ToolUpdateResponse, type ToolTestResponse as ToolTestResponse, type AgentToolsCursor as AgentToolsCursor, type ToolCreateParams as ToolCreateParams, type ToolRetrieveParams as ToolRetrieveParams, type ToolUpdateParams as ToolUpdateParams, type ToolListParams as ToolListParams, type ToolDeleteParams as ToolDeleteParams, type ToolTestParams as ToolTestParams, };
|
|
241
209
|
}
|
|
242
210
|
//# sourceMappingURL=tools.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.d.mts","sourceRoot":"","sources":["../../../src/resources/senders/agent/tools.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,MAAM,EAAE,KAAK,YAAY,EAAE,WAAW,EAAE;OAE1C,EAAE,cAAc,EAAE;AAGzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACH,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAI1G;;;;;;;;;;OAUG;IACH,QAAQ,CACN,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,kBAAkB,EAC1B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oBAAoB,CAAC;IAKnC;;;;;;;;;;OAUG;IACH,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAK1G;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,QAAQ,EAAE,MAAM,EAChB,KAAK,GAAE,cAAc,GAAG,IAAI,GAAG,SAAc,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,gBAAgB,EAAE,SAAS,CAAC;IAO3C;;;;;;;;;OASG;IACH,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,MA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AC;CACxC;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,cAAc,IAAI,cAAc,GACtC,CAAC;CACH"}
|
|
@@ -107,26 +107,24 @@ export interface AgentTool {
|
|
|
107
107
|
description: string;
|
|
108
108
|
enabled: boolean;
|
|
109
109
|
name: string;
|
|
110
|
-
parameters:
|
|
110
|
+
parameters: ToolParameters;
|
|
111
111
|
updatedAt: string;
|
|
112
112
|
/**
|
|
113
113
|
* HTTPS URL to call when the tool is executed.
|
|
114
114
|
*/
|
|
115
115
|
webhookUrl: string;
|
|
116
116
|
}
|
|
117
|
-
export
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
type?: string;
|
|
129
|
-
}
|
|
117
|
+
export interface ToolParameters {
|
|
118
|
+
properties: {
|
|
119
|
+
[key: string]: ToolParameters.Properties;
|
|
120
|
+
};
|
|
121
|
+
required: Array<string>;
|
|
122
|
+
type: 'object';
|
|
123
|
+
}
|
|
124
|
+
export declare namespace ToolParameters {
|
|
125
|
+
interface Properties {
|
|
126
|
+
description?: string;
|
|
127
|
+
type?: string;
|
|
130
128
|
}
|
|
131
129
|
}
|
|
132
130
|
export interface ToolCreateResponse {
|
|
@@ -144,7 +142,7 @@ export interface ToolTestResponse {
|
|
|
144
142
|
export interface ToolCreateParams {
|
|
145
143
|
description: string;
|
|
146
144
|
name: string;
|
|
147
|
-
parameters:
|
|
145
|
+
parameters: ToolParameters;
|
|
148
146
|
/**
|
|
149
147
|
* Must be HTTPS.
|
|
150
148
|
*/
|
|
@@ -155,21 +153,6 @@ export interface ToolCreateParams {
|
|
|
155
153
|
*/
|
|
156
154
|
webhookSecret?: string;
|
|
157
155
|
}
|
|
158
|
-
export declare namespace ToolCreateParams {
|
|
159
|
-
interface Parameters {
|
|
160
|
-
properties: {
|
|
161
|
-
[key: string]: Parameters.Properties;
|
|
162
|
-
};
|
|
163
|
-
required: Array<string>;
|
|
164
|
-
type: 'object';
|
|
165
|
-
}
|
|
166
|
-
namespace Parameters {
|
|
167
|
-
interface Properties {
|
|
168
|
-
description?: string;
|
|
169
|
-
type?: string;
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
156
|
export interface ToolRetrieveParams {
|
|
174
157
|
senderId: string;
|
|
175
158
|
}
|
|
@@ -193,7 +176,7 @@ export interface ToolUpdateParams {
|
|
|
193
176
|
/**
|
|
194
177
|
* Body param
|
|
195
178
|
*/
|
|
196
|
-
parameters?:
|
|
179
|
+
parameters?: ToolParameters;
|
|
197
180
|
/**
|
|
198
181
|
* Body param
|
|
199
182
|
*/
|
|
@@ -203,21 +186,6 @@ export interface ToolUpdateParams {
|
|
|
203
186
|
*/
|
|
204
187
|
webhookUrl?: string;
|
|
205
188
|
}
|
|
206
|
-
export declare namespace ToolUpdateParams {
|
|
207
|
-
interface Parameters {
|
|
208
|
-
properties: {
|
|
209
|
-
[key: string]: Parameters.Properties;
|
|
210
|
-
};
|
|
211
|
-
required: Array<string>;
|
|
212
|
-
type: 'object';
|
|
213
|
-
}
|
|
214
|
-
namespace Parameters {
|
|
215
|
-
interface Properties {
|
|
216
|
-
description?: string;
|
|
217
|
-
type?: string;
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
189
|
export interface ToolListParams extends CursorParams {
|
|
222
190
|
enabled?: boolean;
|
|
223
191
|
}
|
|
@@ -237,6 +205,6 @@ export interface ToolTestParams {
|
|
|
237
205
|
};
|
|
238
206
|
}
|
|
239
207
|
export declare namespace Tools {
|
|
240
|
-
export { type AgentTool as AgentTool, type ToolCreateResponse as ToolCreateResponse, type ToolRetrieveResponse as ToolRetrieveResponse, type ToolUpdateResponse as ToolUpdateResponse, type ToolTestResponse as ToolTestResponse, type AgentToolsCursor as AgentToolsCursor, type ToolCreateParams as ToolCreateParams, type ToolRetrieveParams as ToolRetrieveParams, type ToolUpdateParams as ToolUpdateParams, type ToolListParams as ToolListParams, type ToolDeleteParams as ToolDeleteParams, type ToolTestParams as ToolTestParams, };
|
|
208
|
+
export { type AgentTool as AgentTool, type ToolParameters as ToolParameters, type ToolCreateResponse as ToolCreateResponse, type ToolRetrieveResponse as ToolRetrieveResponse, type ToolUpdateResponse as ToolUpdateResponse, type ToolTestResponse as ToolTestResponse, type AgentToolsCursor as AgentToolsCursor, type ToolCreateParams as ToolCreateParams, type ToolRetrieveParams as ToolRetrieveParams, type ToolUpdateParams as ToolUpdateParams, type ToolListParams as ToolListParams, type ToolDeleteParams as ToolDeleteParams, type ToolTestParams as ToolTestParams, };
|
|
241
209
|
}
|
|
242
210
|
//# sourceMappingURL=tools.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../../src/resources/senders/agent/tools.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,MAAM,EAAE,KAAK,YAAY,EAAE,WAAW,EAAE;OAE1C,EAAE,cAAc,EAAE;AAGzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACH,MAAM,CAAC,QAAQ,EAAE,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ecutionStatus, type AgentProvider, type AgentResponse, type AgentStats, type AgentCreateParams, type AgentUpdateParams, type AgentExecutionsCursor, } from "./agent/index.mjs";
|
|
2
2
|
export { Senders, type Sender, type SenderWebhook, type WebhookEvent, type WebhookSecretResponse, type WhatsappBusinessProfile, type WhatsappBusinessProfileResponse, type WhatsappBusinessProfileVertical, type SenderUpdateProfileResponse, type SenderUploadProfilePictureResponse, type SenderCreateParams, type SenderUpdateParams, type SenderListParams, type SenderUpdateProfileParams, type SenderUploadProfilePictureParams, type SendersCursor, } from "./senders.mjs";
|
|
3
|
+
export { WhatsappSync, type WhatsAppSyncContacts, type WhatsAppSyncHistory, type WhatsAppSyncStatus, type WhatsappSyncRetrieveResponse, type WhatsappSyncStartContactsSyncResponse, type WhatsappSyncStartHistorySyncResponse, } from "./whatsapp-sync.mjs";
|
|
3
4
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/senders/index.ts"],"names":[],"mappings":"OAEO,EACL,aAAa,EACb,KAAK,KAAK,EACV,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,GAC3B;OACM,EACL,OAAO,EACP,KAAK,MAAM,EACX,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,+BAA+B,EACpC,KAAK,+BAA+B,EACpC,KAAK,2BAA2B,EAChC,KAAK,kCAAkC,EACvC,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,yBAAyB,EAC9B,KAAK,gCAAgC,EACrC,KAAK,aAAa,GACnB"}
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/senders/index.ts"],"names":[],"mappings":"OAEO,EACL,aAAa,EACb,KAAK,KAAK,EACV,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,GAC3B;OACM,EACL,OAAO,EACP,KAAK,MAAM,EACX,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,+BAA+B,EACpC,KAAK,+BAA+B,EACpC,KAAK,2BAA2B,EAChC,KAAK,kCAAkC,EACvC,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,yBAAyB,EAC9B,KAAK,gCAAgC,EACrC,KAAK,aAAa,GACnB;OACM,EACL,YAAY,EACZ,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,4BAA4B,EACjC,KAAK,qCAAqC,EAC1C,KAAK,oCAAoC,GAC1C"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { AgentResource, type Agent, type AgentExecution, type AgentExecutionStatus, type AgentProvider, type AgentResponse, type AgentStats, type AgentCreateParams, type AgentUpdateParams, type AgentExecutionsCursor, } from "./agent/index.js";
|
|
2
2
|
export { Senders, type Sender, type SenderWebhook, type WebhookEvent, type WebhookSecretResponse, type WhatsappBusinessProfile, type WhatsappBusinessProfileResponse, type WhatsappBusinessProfileVertical, type SenderUpdateProfileResponse, type SenderUploadProfilePictureResponse, type SenderCreateParams, type SenderUpdateParams, type SenderListParams, type SenderUpdateProfileParams, type SenderUploadProfilePictureParams, type SendersCursor, } from "./senders.js";
|
|
3
|
+
export { WhatsappSync, type WhatsAppSyncContacts, type WhatsAppSyncHistory, type WhatsAppSyncStatus, type WhatsappSyncRetrieveResponse, type WhatsappSyncStartContactsSyncResponse, type WhatsappSyncStartHistorySyncResponse, } from "./whatsapp-sync.js";
|
|
3
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/senders/index.ts"],"names":[],"mappings":"OAEO,EACL,aAAa,EACb,KAAK,KAAK,EACV,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,GAC3B;OACM,EACL,OAAO,EACP,KAAK,MAAM,EACX,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,+BAA+B,EACpC,KAAK,+BAA+B,EACpC,KAAK,2BAA2B,EAChC,KAAK,kCAAkC,EACvC,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,yBAAyB,EAC9B,KAAK,gCAAgC,EACrC,KAAK,aAAa,GACnB"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/senders/index.ts"],"names":[],"mappings":"OAEO,EACL,aAAa,EACb,KAAK,KAAK,EACV,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,GAC3B;OACM,EACL,OAAO,EACP,KAAK,MAAM,EACX,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,+BAA+B,EACpC,KAAK,+BAA+B,EACpC,KAAK,2BAA2B,EAChC,KAAK,kCAAkC,EACvC,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,yBAAyB,EAC9B,KAAK,gCAAgC,EACrC,KAAK,aAAa,GACnB;OACM,EACL,YAAY,EACZ,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,4BAA4B,EACjC,KAAK,qCAAqC,EAC1C,KAAK,oCAAoC,GAC1C"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Senders = exports.AgentResource = void 0;
|
|
4
|
+
exports.WhatsappSync = exports.Senders = exports.AgentResource = void 0;
|
|
5
5
|
var index_1 = require("./agent/index.js");
|
|
6
6
|
Object.defineProperty(exports, "AgentResource", { enumerable: true, get: function () { return index_1.AgentResource; } });
|
|
7
7
|
var senders_1 = require("./senders.js");
|
|
8
8
|
Object.defineProperty(exports, "Senders", { enumerable: true, get: function () { return senders_1.Senders; } });
|
|
9
|
+
var whatsapp_sync_1 = require("./whatsapp-sync.js");
|
|
10
|
+
Object.defineProperty(exports, "WhatsappSync", { enumerable: true, get: function () { return whatsapp_sync_1.WhatsappSync; } });
|
|
9
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/senders/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0CAWuB;AAVrB,sGAAA,aAAa,OAAA;AAWf,wCAiBmB;AAhBjB,kGAAA,OAAO,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/senders/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0CAWuB;AAVrB,sGAAA,aAAa,OAAA;AAWf,wCAiBmB;AAhBjB,kGAAA,OAAO,OAAA;AAiBT,oDAQyB;AAPvB,6GAAA,YAAY,OAAA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
export { AgentResource, } from "./agent/index.mjs";
|
|
3
3
|
export { Senders, } from "./senders.mjs";
|
|
4
|
+
export { WhatsappSync, } from "./whatsapp-sync.mjs";
|
|
4
5
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/senders/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,aAAa,GAUd;OACM,EACL,OAAO,GAgBR"}
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/senders/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,aAAa,GAUd;OACM,EACL,OAAO,GAgBR;OACM,EACL,YAAY,GAOb"}
|