@bubblelab/bubble-core 0.1.210 → 0.1.211
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/bubble-bundle.d.ts +132 -111
- package/dist/bubble-factory.d.ts.map +1 -1
- package/dist/bubble-factory.js +4 -0
- package/dist/bubble-factory.js.map +1 -1
- package/dist/bubbles/service-bubble/ai-agent.d.ts +84 -84
- package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ai-agent.js +2 -1
- package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
- package/dist/bubbles/service-bubble/airtable.d.ts +100 -100
- package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +2 -2
- package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +8 -8
- package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts +2 -2
- package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +22 -22
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +38 -38
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +52 -52
- package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +6 -6
- package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +12 -12
- package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +12 -12
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +126 -126
- package/dist/bubbles/service-bubble/apify/apify.d.ts +22 -22
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +114 -114
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +2 -2
- package/dist/bubbles/service-bubble/assembled/assembled.d.ts +489 -0
- package/dist/bubbles/service-bubble/assembled/assembled.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/assembled/assembled.js +363 -0
- package/dist/bubbles/service-bubble/assembled/assembled.js.map +1 -0
- package/dist/bubbles/service-bubble/assembled/assembled.schema.d.ts +460 -0
- package/dist/bubbles/service-bubble/assembled/assembled.schema.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/assembled/assembled.schema.js +295 -0
- package/dist/bubbles/service-bubble/assembled/assembled.schema.js.map +1 -0
- package/dist/bubbles/service-bubble/assembled/assembled.utils.d.ts +12 -0
- package/dist/bubbles/service-bubble/assembled/assembled.utils.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/assembled/assembled.utils.js +89 -0
- package/dist/bubbles/service-bubble/assembled/assembled.utils.js.map +1 -0
- package/dist/bubbles/service-bubble/assembled/index.d.ts +4 -0
- package/dist/bubbles/service-bubble/assembled/index.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/assembled/index.js +4 -0
- package/dist/bubbles/service-bubble/assembled/index.js.map +1 -0
- package/dist/bubbles/service-bubble/attio/attio.d.ts +6 -6
- package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +6 -6
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +5 -5
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +1 -1
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +78 -78
- package/dist/bubbles/service-bubble/firecrawl.d.ts +278 -278
- package/dist/bubbles/service-bubble/followupboss.d.ts +4 -4
- package/dist/bubbles/service-bubble/github.d.ts +12 -12
- package/dist/bubbles/service-bubble/gmail.d.ts +104 -104
- package/dist/bubbles/service-bubble/google-calendar.d.ts +80 -80
- package/dist/bubbles/service-bubble/google-drive.d.ts +40 -40
- package/dist/bubbles/service-bubble/http.d.ts +6 -6
- package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
- package/dist/bubbles/service-bubble/jira/jira.d.ts +16 -16
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +36 -36
- package/dist/bubbles/service-bubble/notion/notion.d.ts +272 -272
- package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +8 -8
- package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
- package/dist/bubbles/service-bubble/posthog/posthog.d.ts +9 -9
- package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +14 -14
- package/dist/bubbles/service-bubble/resend.d.ts +4 -4
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts +4 -4
- package/dist/bubbles/service-bubble/slack/slack.d.ts +294 -294
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +39 -39
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +28 -28
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +6 -6
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +8 -8
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +10 -10
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +385 -385
- package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +10 -10
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +60 -60
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +134 -134
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +20 -20
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +12 -12
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +44 -44
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +16 -16
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +2 -2
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +34 -34
- package/dist/bubbles.json +927 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -589,13 +589,13 @@ export declare const AshbyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
589
589
|
}, "strip", z.ZodTypeAny, {
|
|
590
590
|
operation: "search_candidates";
|
|
591
591
|
name?: string | undefined;
|
|
592
|
-
email?: string | undefined;
|
|
593
592
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
593
|
+
email?: string | undefined;
|
|
594
594
|
}, {
|
|
595
595
|
operation: "search_candidates";
|
|
596
596
|
name?: string | undefined;
|
|
597
|
-
email?: string | undefined;
|
|
598
597
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
598
|
+
email?: string | undefined;
|
|
599
599
|
}>, z.ZodObject<{
|
|
600
600
|
operation: z.ZodLiteral<"add_tag">;
|
|
601
601
|
candidate_id: z.ZodString;
|
|
@@ -0,0 +1,489 @@
|
|
|
1
|
+
import { ServiceBubble } from '../../../types/service-bubble-class.js';
|
|
2
|
+
import type { BubbleContext } from '../../../types/bubble.js';
|
|
3
|
+
import { type AssembledParamsInput, type AssembledResult } from './assembled.schema.js';
|
|
4
|
+
export declare class AssembledBubble<T extends AssembledParamsInput = AssembledParamsInput> extends ServiceBubble<T, Extract<AssembledResult, {
|
|
5
|
+
operation: T['operation'];
|
|
6
|
+
}>> {
|
|
7
|
+
static readonly type: "service";
|
|
8
|
+
static readonly service = "assembled";
|
|
9
|
+
static readonly authType: "apikey";
|
|
10
|
+
static readonly bubbleName: "assembled";
|
|
11
|
+
static readonly schema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{
|
|
12
|
+
channel: import("zod").ZodOptional<import("zod").ZodString>;
|
|
13
|
+
team: import("zod").ZodOptional<import("zod").ZodString>;
|
|
14
|
+
site: import("zod").ZodOptional<import("zod").ZodString>;
|
|
15
|
+
queue: import("zod").ZodOptional<import("zod").ZodString>;
|
|
16
|
+
search: import("zod").ZodOptional<import("zod").ZodString>;
|
|
17
|
+
limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
18
|
+
offset: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
19
|
+
operation: import("zod").ZodLiteral<"list_people">;
|
|
20
|
+
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
21
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
22
|
+
operation: "list_people";
|
|
23
|
+
limit: number;
|
|
24
|
+
offset: number;
|
|
25
|
+
credentials?: Record<string, string> | undefined;
|
|
26
|
+
search?: string | undefined;
|
|
27
|
+
channel?: string | undefined;
|
|
28
|
+
team?: string | undefined;
|
|
29
|
+
site?: string | undefined;
|
|
30
|
+
queue?: string | undefined;
|
|
31
|
+
}, {
|
|
32
|
+
operation: "list_people";
|
|
33
|
+
credentials?: Record<string, string> | undefined;
|
|
34
|
+
search?: string | undefined;
|
|
35
|
+
channel?: string | undefined;
|
|
36
|
+
limit?: number | undefined;
|
|
37
|
+
offset?: number | undefined;
|
|
38
|
+
team?: string | undefined;
|
|
39
|
+
site?: string | undefined;
|
|
40
|
+
queue?: string | undefined;
|
|
41
|
+
}>, import("zod").ZodObject<{
|
|
42
|
+
operation: import("zod").ZodLiteral<"get_person">;
|
|
43
|
+
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
44
|
+
person_id: import("zod").ZodString;
|
|
45
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
46
|
+
operation: "get_person";
|
|
47
|
+
person_id: string;
|
|
48
|
+
credentials?: Record<string, string> | undefined;
|
|
49
|
+
}, {
|
|
50
|
+
operation: "get_person";
|
|
51
|
+
person_id: string;
|
|
52
|
+
credentials?: Record<string, string> | undefined;
|
|
53
|
+
}>, import("zod").ZodObject<{
|
|
54
|
+
operation: import("zod").ZodLiteral<"create_person">;
|
|
55
|
+
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
56
|
+
first_name: import("zod").ZodString;
|
|
57
|
+
last_name: import("zod").ZodString;
|
|
58
|
+
email: import("zod").ZodOptional<import("zod").ZodString>;
|
|
59
|
+
imported_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
60
|
+
channels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
61
|
+
teams: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
62
|
+
queues: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
63
|
+
site: import("zod").ZodOptional<import("zod").ZodString>;
|
|
64
|
+
timezone: import("zod").ZodOptional<import("zod").ZodString>;
|
|
65
|
+
roles: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
66
|
+
staffable: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
|
|
67
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
68
|
+
operation: "create_person";
|
|
69
|
+
first_name: string;
|
|
70
|
+
last_name: string;
|
|
71
|
+
staffable: boolean;
|
|
72
|
+
credentials?: Record<string, string> | undefined;
|
|
73
|
+
email?: string | undefined;
|
|
74
|
+
channels?: string[] | undefined;
|
|
75
|
+
teams?: string[] | undefined;
|
|
76
|
+
timezone?: string | undefined;
|
|
77
|
+
site?: string | undefined;
|
|
78
|
+
imported_id?: string | undefined;
|
|
79
|
+
queues?: string[] | undefined;
|
|
80
|
+
roles?: string[] | undefined;
|
|
81
|
+
}, {
|
|
82
|
+
operation: "create_person";
|
|
83
|
+
first_name: string;
|
|
84
|
+
last_name: string;
|
|
85
|
+
credentials?: Record<string, string> | undefined;
|
|
86
|
+
email?: string | undefined;
|
|
87
|
+
channels?: string[] | undefined;
|
|
88
|
+
teams?: string[] | undefined;
|
|
89
|
+
timezone?: string | undefined;
|
|
90
|
+
site?: string | undefined;
|
|
91
|
+
imported_id?: string | undefined;
|
|
92
|
+
queues?: string[] | undefined;
|
|
93
|
+
roles?: string[] | undefined;
|
|
94
|
+
staffable?: boolean | undefined;
|
|
95
|
+
}>, import("zod").ZodObject<{
|
|
96
|
+
operation: import("zod").ZodLiteral<"update_person">;
|
|
97
|
+
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
98
|
+
person_id: import("zod").ZodString;
|
|
99
|
+
first_name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
100
|
+
last_name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
101
|
+
email: import("zod").ZodOptional<import("zod").ZodString>;
|
|
102
|
+
channels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
103
|
+
teams: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
104
|
+
queues: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
105
|
+
site: import("zod").ZodOptional<import("zod").ZodString>;
|
|
106
|
+
timezone: import("zod").ZodOptional<import("zod").ZodString>;
|
|
107
|
+
staffable: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
108
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
109
|
+
operation: "update_person";
|
|
110
|
+
person_id: string;
|
|
111
|
+
credentials?: Record<string, string> | undefined;
|
|
112
|
+
email?: string | undefined;
|
|
113
|
+
first_name?: string | undefined;
|
|
114
|
+
last_name?: string | undefined;
|
|
115
|
+
channels?: string[] | undefined;
|
|
116
|
+
teams?: string[] | undefined;
|
|
117
|
+
timezone?: string | undefined;
|
|
118
|
+
site?: string | undefined;
|
|
119
|
+
queues?: string[] | undefined;
|
|
120
|
+
staffable?: boolean | undefined;
|
|
121
|
+
}, {
|
|
122
|
+
operation: "update_person";
|
|
123
|
+
person_id: string;
|
|
124
|
+
credentials?: Record<string, string> | undefined;
|
|
125
|
+
email?: string | undefined;
|
|
126
|
+
first_name?: string | undefined;
|
|
127
|
+
last_name?: string | undefined;
|
|
128
|
+
channels?: string[] | undefined;
|
|
129
|
+
teams?: string[] | undefined;
|
|
130
|
+
timezone?: string | undefined;
|
|
131
|
+
site?: string | undefined;
|
|
132
|
+
queues?: string[] | undefined;
|
|
133
|
+
staffable?: boolean | undefined;
|
|
134
|
+
}>, import("zod").ZodObject<{
|
|
135
|
+
operation: import("zod").ZodLiteral<"list_activities">;
|
|
136
|
+
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
137
|
+
start_time: import("zod").ZodNumber;
|
|
138
|
+
end_time: import("zod").ZodNumber;
|
|
139
|
+
agent_ids: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
140
|
+
queue: import("zod").ZodOptional<import("zod").ZodString>;
|
|
141
|
+
include_agents: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
|
|
142
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
143
|
+
operation: "list_activities";
|
|
144
|
+
start_time: number;
|
|
145
|
+
end_time: number;
|
|
146
|
+
include_agents: boolean;
|
|
147
|
+
credentials?: Record<string, string> | undefined;
|
|
148
|
+
queue?: string | undefined;
|
|
149
|
+
agent_ids?: string[] | undefined;
|
|
150
|
+
}, {
|
|
151
|
+
operation: "list_activities";
|
|
152
|
+
start_time: number;
|
|
153
|
+
end_time: number;
|
|
154
|
+
credentials?: Record<string, string> | undefined;
|
|
155
|
+
queue?: string | undefined;
|
|
156
|
+
agent_ids?: string[] | undefined;
|
|
157
|
+
include_agents?: boolean | undefined;
|
|
158
|
+
}>, import("zod").ZodObject<{
|
|
159
|
+
operation: import("zod").ZodLiteral<"create_activity">;
|
|
160
|
+
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
161
|
+
agent_id: import("zod").ZodString;
|
|
162
|
+
type_id: import("zod").ZodString;
|
|
163
|
+
start_time: import("zod").ZodNumber;
|
|
164
|
+
end_time: import("zod").ZodNumber;
|
|
165
|
+
channels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
166
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
167
|
+
allow_conflicts: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
|
|
168
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
169
|
+
operation: "create_activity";
|
|
170
|
+
agent_id: string;
|
|
171
|
+
start_time: number;
|
|
172
|
+
end_time: number;
|
|
173
|
+
type_id: string;
|
|
174
|
+
allow_conflicts: boolean;
|
|
175
|
+
description?: string | undefined;
|
|
176
|
+
credentials?: Record<string, string> | undefined;
|
|
177
|
+
channels?: string[] | undefined;
|
|
178
|
+
}, {
|
|
179
|
+
operation: "create_activity";
|
|
180
|
+
agent_id: string;
|
|
181
|
+
start_time: number;
|
|
182
|
+
end_time: number;
|
|
183
|
+
type_id: string;
|
|
184
|
+
description?: string | undefined;
|
|
185
|
+
credentials?: Record<string, string> | undefined;
|
|
186
|
+
channels?: string[] | undefined;
|
|
187
|
+
allow_conflicts?: boolean | undefined;
|
|
188
|
+
}>, import("zod").ZodObject<{
|
|
189
|
+
operation: import("zod").ZodLiteral<"delete_activities">;
|
|
190
|
+
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
191
|
+
agent_ids: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
192
|
+
start_time: import("zod").ZodNumber;
|
|
193
|
+
end_time: import("zod").ZodNumber;
|
|
194
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
195
|
+
operation: "delete_activities";
|
|
196
|
+
start_time: number;
|
|
197
|
+
end_time: number;
|
|
198
|
+
agent_ids: string[];
|
|
199
|
+
credentials?: Record<string, string> | undefined;
|
|
200
|
+
}, {
|
|
201
|
+
operation: "delete_activities";
|
|
202
|
+
start_time: number;
|
|
203
|
+
end_time: number;
|
|
204
|
+
agent_ids: string[];
|
|
205
|
+
credentials?: Record<string, string> | undefined;
|
|
206
|
+
}>, import("zod").ZodObject<{
|
|
207
|
+
operation: import("zod").ZodLiteral<"create_time_off">;
|
|
208
|
+
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
209
|
+
agent_id: import("zod").ZodString;
|
|
210
|
+
start_time: import("zod").ZodNumber;
|
|
211
|
+
end_time: import("zod").ZodNumber;
|
|
212
|
+
type_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
213
|
+
status: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["approved", "pending"]>>>;
|
|
214
|
+
notes: import("zod").ZodOptional<import("zod").ZodString>;
|
|
215
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
216
|
+
status: "pending" | "approved";
|
|
217
|
+
operation: "create_time_off";
|
|
218
|
+
agent_id: string;
|
|
219
|
+
start_time: number;
|
|
220
|
+
end_time: number;
|
|
221
|
+
credentials?: Record<string, string> | undefined;
|
|
222
|
+
notes?: string | undefined;
|
|
223
|
+
type_id?: string | undefined;
|
|
224
|
+
}, {
|
|
225
|
+
operation: "create_time_off";
|
|
226
|
+
agent_id: string;
|
|
227
|
+
start_time: number;
|
|
228
|
+
end_time: number;
|
|
229
|
+
status?: "pending" | "approved" | undefined;
|
|
230
|
+
credentials?: Record<string, string> | undefined;
|
|
231
|
+
notes?: string | undefined;
|
|
232
|
+
type_id?: string | undefined;
|
|
233
|
+
}>, import("zod").ZodObject<{
|
|
234
|
+
agent_ids: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
235
|
+
status: import("zod").ZodOptional<import("zod").ZodEnum<["approved", "pending", "denied", "cancelled"]>>;
|
|
236
|
+
limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
237
|
+
offset: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
238
|
+
operation: import("zod").ZodLiteral<"list_time_off">;
|
|
239
|
+
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
240
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
241
|
+
operation: "list_time_off";
|
|
242
|
+
limit: number;
|
|
243
|
+
offset: number;
|
|
244
|
+
status?: "pending" | "cancelled" | "denied" | "approved" | undefined;
|
|
245
|
+
credentials?: Record<string, string> | undefined;
|
|
246
|
+
agent_ids?: string[] | undefined;
|
|
247
|
+
}, {
|
|
248
|
+
operation: "list_time_off";
|
|
249
|
+
status?: "pending" | "cancelled" | "denied" | "approved" | undefined;
|
|
250
|
+
credentials?: Record<string, string> | undefined;
|
|
251
|
+
limit?: number | undefined;
|
|
252
|
+
offset?: number | undefined;
|
|
253
|
+
agent_ids?: string[] | undefined;
|
|
254
|
+
}>, import("zod").ZodObject<{
|
|
255
|
+
operation: import("zod").ZodLiteral<"cancel_time_off">;
|
|
256
|
+
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
257
|
+
time_off_id: import("zod").ZodString;
|
|
258
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
259
|
+
operation: "cancel_time_off";
|
|
260
|
+
time_off_id: string;
|
|
261
|
+
credentials?: Record<string, string> | undefined;
|
|
262
|
+
}, {
|
|
263
|
+
operation: "cancel_time_off";
|
|
264
|
+
time_off_id: string;
|
|
265
|
+
credentials?: Record<string, string> | undefined;
|
|
266
|
+
}>, import("zod").ZodObject<{
|
|
267
|
+
operation: import("zod").ZodLiteral<"list_queues">;
|
|
268
|
+
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
269
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
270
|
+
operation: "list_queues";
|
|
271
|
+
credentials?: Record<string, string> | undefined;
|
|
272
|
+
}, {
|
|
273
|
+
operation: "list_queues";
|
|
274
|
+
credentials?: Record<string, string> | undefined;
|
|
275
|
+
}>, import("zod").ZodObject<{
|
|
276
|
+
operation: import("zod").ZodLiteral<"list_teams">;
|
|
277
|
+
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
278
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
279
|
+
operation: "list_teams";
|
|
280
|
+
credentials?: Record<string, string> | undefined;
|
|
281
|
+
}, {
|
|
282
|
+
operation: "list_teams";
|
|
283
|
+
credentials?: Record<string, string> | undefined;
|
|
284
|
+
}>]>;
|
|
285
|
+
static readonly resultSchema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{
|
|
286
|
+
operation: import("zod").ZodLiteral<"list_people">;
|
|
287
|
+
success: import("zod").ZodBoolean;
|
|
288
|
+
error: import("zod").ZodString;
|
|
289
|
+
people: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>, "many">>;
|
|
290
|
+
total: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
291
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
292
|
+
error: string;
|
|
293
|
+
success: boolean;
|
|
294
|
+
operation: "list_people";
|
|
295
|
+
people?: Record<string, unknown>[] | undefined;
|
|
296
|
+
total?: number | undefined;
|
|
297
|
+
}, {
|
|
298
|
+
error: string;
|
|
299
|
+
success: boolean;
|
|
300
|
+
operation: "list_people";
|
|
301
|
+
people?: Record<string, unknown>[] | undefined;
|
|
302
|
+
total?: number | undefined;
|
|
303
|
+
}>, import("zod").ZodObject<{
|
|
304
|
+
operation: import("zod").ZodLiteral<"get_person">;
|
|
305
|
+
success: import("zod").ZodBoolean;
|
|
306
|
+
error: import("zod").ZodString;
|
|
307
|
+
person: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
308
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
309
|
+
error: string;
|
|
310
|
+
success: boolean;
|
|
311
|
+
operation: "get_person";
|
|
312
|
+
person?: Record<string, unknown> | undefined;
|
|
313
|
+
}, {
|
|
314
|
+
error: string;
|
|
315
|
+
success: boolean;
|
|
316
|
+
operation: "get_person";
|
|
317
|
+
person?: Record<string, unknown> | undefined;
|
|
318
|
+
}>, import("zod").ZodObject<{
|
|
319
|
+
operation: import("zod").ZodLiteral<"create_person">;
|
|
320
|
+
success: import("zod").ZodBoolean;
|
|
321
|
+
error: import("zod").ZodString;
|
|
322
|
+
person: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
323
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
324
|
+
error: string;
|
|
325
|
+
success: boolean;
|
|
326
|
+
operation: "create_person";
|
|
327
|
+
person?: Record<string, unknown> | undefined;
|
|
328
|
+
}, {
|
|
329
|
+
error: string;
|
|
330
|
+
success: boolean;
|
|
331
|
+
operation: "create_person";
|
|
332
|
+
person?: Record<string, unknown> | undefined;
|
|
333
|
+
}>, import("zod").ZodObject<{
|
|
334
|
+
operation: import("zod").ZodLiteral<"update_person">;
|
|
335
|
+
success: import("zod").ZodBoolean;
|
|
336
|
+
error: import("zod").ZodString;
|
|
337
|
+
person: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
338
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
339
|
+
error: string;
|
|
340
|
+
success: boolean;
|
|
341
|
+
operation: "update_person";
|
|
342
|
+
person?: Record<string, unknown> | undefined;
|
|
343
|
+
}, {
|
|
344
|
+
error: string;
|
|
345
|
+
success: boolean;
|
|
346
|
+
operation: "update_person";
|
|
347
|
+
person?: Record<string, unknown> | undefined;
|
|
348
|
+
}>, import("zod").ZodObject<{
|
|
349
|
+
operation: import("zod").ZodLiteral<"list_activities">;
|
|
350
|
+
success: import("zod").ZodBoolean;
|
|
351
|
+
error: import("zod").ZodString;
|
|
352
|
+
activities: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
353
|
+
agents: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
354
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
355
|
+
error: string;
|
|
356
|
+
success: boolean;
|
|
357
|
+
operation: "list_activities";
|
|
358
|
+
activities?: Record<string, Record<string, unknown>> | undefined;
|
|
359
|
+
agents?: Record<string, Record<string, unknown>> | undefined;
|
|
360
|
+
}, {
|
|
361
|
+
error: string;
|
|
362
|
+
success: boolean;
|
|
363
|
+
operation: "list_activities";
|
|
364
|
+
activities?: Record<string, Record<string, unknown>> | undefined;
|
|
365
|
+
agents?: Record<string, Record<string, unknown>> | undefined;
|
|
366
|
+
}>, import("zod").ZodObject<{
|
|
367
|
+
operation: import("zod").ZodLiteral<"create_activity">;
|
|
368
|
+
success: import("zod").ZodBoolean;
|
|
369
|
+
error: import("zod").ZodString;
|
|
370
|
+
activity: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
371
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
372
|
+
error: string;
|
|
373
|
+
success: boolean;
|
|
374
|
+
operation: "create_activity";
|
|
375
|
+
activity?: Record<string, unknown> | undefined;
|
|
376
|
+
}, {
|
|
377
|
+
error: string;
|
|
378
|
+
success: boolean;
|
|
379
|
+
operation: "create_activity";
|
|
380
|
+
activity?: Record<string, unknown> | undefined;
|
|
381
|
+
}>, import("zod").ZodObject<{
|
|
382
|
+
operation: import("zod").ZodLiteral<"delete_activities">;
|
|
383
|
+
success: import("zod").ZodBoolean;
|
|
384
|
+
error: import("zod").ZodString;
|
|
385
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
386
|
+
error: string;
|
|
387
|
+
success: boolean;
|
|
388
|
+
operation: "delete_activities";
|
|
389
|
+
}, {
|
|
390
|
+
error: string;
|
|
391
|
+
success: boolean;
|
|
392
|
+
operation: "delete_activities";
|
|
393
|
+
}>, import("zod").ZodObject<{
|
|
394
|
+
operation: import("zod").ZodLiteral<"create_time_off">;
|
|
395
|
+
success: import("zod").ZodBoolean;
|
|
396
|
+
error: import("zod").ZodString;
|
|
397
|
+
time_off: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
398
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
399
|
+
error: string;
|
|
400
|
+
success: boolean;
|
|
401
|
+
operation: "create_time_off";
|
|
402
|
+
time_off?: Record<string, unknown> | undefined;
|
|
403
|
+
}, {
|
|
404
|
+
error: string;
|
|
405
|
+
success: boolean;
|
|
406
|
+
operation: "create_time_off";
|
|
407
|
+
time_off?: Record<string, unknown> | undefined;
|
|
408
|
+
}>, import("zod").ZodObject<{
|
|
409
|
+
operation: import("zod").ZodLiteral<"list_time_off">;
|
|
410
|
+
success: import("zod").ZodBoolean;
|
|
411
|
+
error: import("zod").ZodString;
|
|
412
|
+
requests: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>, "many">>;
|
|
413
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
414
|
+
error: string;
|
|
415
|
+
success: boolean;
|
|
416
|
+
operation: "list_time_off";
|
|
417
|
+
requests?: Record<string, unknown>[] | undefined;
|
|
418
|
+
}, {
|
|
419
|
+
error: string;
|
|
420
|
+
success: boolean;
|
|
421
|
+
operation: "list_time_off";
|
|
422
|
+
requests?: Record<string, unknown>[] | undefined;
|
|
423
|
+
}>, import("zod").ZodObject<{
|
|
424
|
+
operation: import("zod").ZodLiteral<"cancel_time_off">;
|
|
425
|
+
success: import("zod").ZodBoolean;
|
|
426
|
+
error: import("zod").ZodString;
|
|
427
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
428
|
+
error: string;
|
|
429
|
+
success: boolean;
|
|
430
|
+
operation: "cancel_time_off";
|
|
431
|
+
}, {
|
|
432
|
+
error: string;
|
|
433
|
+
success: boolean;
|
|
434
|
+
operation: "cancel_time_off";
|
|
435
|
+
}>, import("zod").ZodObject<{
|
|
436
|
+
operation: import("zod").ZodLiteral<"list_queues">;
|
|
437
|
+
success: import("zod").ZodBoolean;
|
|
438
|
+
error: import("zod").ZodString;
|
|
439
|
+
queues: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>, "many">>;
|
|
440
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
441
|
+
error: string;
|
|
442
|
+
success: boolean;
|
|
443
|
+
operation: "list_queues";
|
|
444
|
+
queues?: Record<string, unknown>[] | undefined;
|
|
445
|
+
}, {
|
|
446
|
+
error: string;
|
|
447
|
+
success: boolean;
|
|
448
|
+
operation: "list_queues";
|
|
449
|
+
queues?: Record<string, unknown>[] | undefined;
|
|
450
|
+
}>, import("zod").ZodObject<{
|
|
451
|
+
operation: import("zod").ZodLiteral<"list_teams">;
|
|
452
|
+
success: import("zod").ZodBoolean;
|
|
453
|
+
error: import("zod").ZodString;
|
|
454
|
+
teams: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>, "many">>;
|
|
455
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
456
|
+
error: string;
|
|
457
|
+
success: boolean;
|
|
458
|
+
operation: "list_teams";
|
|
459
|
+
teams?: Record<string, unknown>[] | undefined;
|
|
460
|
+
}, {
|
|
461
|
+
error: string;
|
|
462
|
+
success: boolean;
|
|
463
|
+
operation: "list_teams";
|
|
464
|
+
teams?: Record<string, unknown>[] | undefined;
|
|
465
|
+
}>]>;
|
|
466
|
+
static readonly shortDescription = "Workforce management platform for scheduling, time off, and agent management";
|
|
467
|
+
static readonly longDescription = "Assembled is a workforce management platform. This integration supports managing people/agents, activities/schedules, time off requests, queues, and teams via the Assembled REST API.";
|
|
468
|
+
static readonly alias = "assembled";
|
|
469
|
+
constructor(params?: T, context?: BubbleContext);
|
|
470
|
+
protected chooseCredential(): string | undefined;
|
|
471
|
+
private getApiKey;
|
|
472
|
+
testCredential(): Promise<boolean>;
|
|
473
|
+
protected performAction(_context?: BubbleContext): Promise<Extract<AssembledResult, {
|
|
474
|
+
operation: T['operation'];
|
|
475
|
+
}>>;
|
|
476
|
+
private listPeople;
|
|
477
|
+
private getPerson;
|
|
478
|
+
private createPerson;
|
|
479
|
+
private updatePerson;
|
|
480
|
+
private listActivities;
|
|
481
|
+
private createActivity;
|
|
482
|
+
private deleteActivities;
|
|
483
|
+
private createTimeOff;
|
|
484
|
+
private listTimeOff;
|
|
485
|
+
private cancelTimeOff;
|
|
486
|
+
private listQueues;
|
|
487
|
+
private listTeams;
|
|
488
|
+
}
|
|
489
|
+
//# sourceMappingURL=assembled.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assembled.d.ts","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/assembled/assembled.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAIL,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACrB,MAAM,uBAAuB,CAAC;AAG/B,qBAAa,eAAe,CAC1B,CAAC,SAAS,oBAAoB,GAAG,oBAAoB,CACrD,SAAQ,aAAa,CACrB,CAAC,EACD,OAAO,CAAC,eAAe,EAAE;IAAE,SAAS,EAAE,CAAC,CAAC,WAAW,CAAC,CAAA;CAAE,CAAC,CACxD;IACC,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAG,SAAS,CAAU;IAC1C,MAAM,CAAC,QAAQ,CAAC,OAAO,eAAe;IACtC,MAAM,CAAC,QAAQ,CAAC,QAAQ,EAAG,QAAQ,CAAU;IAC7C,MAAM,CAAC,QAAQ,CAAC,UAAU,EAAG,WAAW,CAAU;IAClD,MAAM,CAAC,QAAQ,CAAC,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAAyB;IAC/C,MAAM,CAAC,QAAQ,CAAC,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAAyB;IACrD,MAAM,CAAC,QAAQ,CAAC,gBAAgB,kFACiD;IACjF,MAAM,CAAC,QAAQ,CAAC,eAAe,4LAC4J;IAC3L,MAAM,CAAC,QAAQ,CAAC,KAAK,eAAe;gBAExB,MAAM,CAAC,EAAE,CAAC,EAAE,OAAO,CAAC,EAAE,aAAa;IAS/C,SAAS,CAAC,gBAAgB,IAAI,MAAM,GAAG,SAAS;IAOhD,OAAO,CAAC,SAAS;IAUJ,cAAc,IAAI,OAAO,CAAC,OAAO,CAAC;cAe/B,aAAa,CAC3B,QAAQ,CAAC,EAAE,aAAa,GACvB,OAAO,CAAC,OAAO,CAAC,eAAe,EAAE;QAAE,SAAS,EAAE,CAAC,CAAC,WAAW,CAAC,CAAA;KAAE,CAAC,CAAC;YAiFrD,UAAU;YA+BV,SAAS;YAkBT,YAAY;YAiCZ,YAAY;YAgCZ,cAAc;YAkCd,cAAc;YA6Bd,gBAAgB;YAyBhB,aAAa;YA4Bb,WAAW;YA+BX,aAAa;YAoBb,UAAU;YAoBV,SAAS;CAmBxB"}
|