@bubblelab/bubble-core 0.1.209 → 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.
Files changed (87) hide show
  1. package/dist/bubble-bundle.d.ts +129 -108
  2. package/dist/bubble-factory.d.ts.map +1 -1
  3. package/dist/bubble-factory.js +4 -0
  4. package/dist/bubble-factory.js.map +1 -1
  5. package/dist/bubbles/service-bubble/agi-inc.d.ts +20 -20
  6. package/dist/bubbles/service-bubble/ai-agent.d.ts +74 -74
  7. package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
  8. package/dist/bubbles/service-bubble/ai-agent.js +54 -0
  9. package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
  10. package/dist/bubbles/service-bubble/airtable.d.ts +76 -76
  11. package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +2 -2
  12. package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +8 -8
  13. package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts +2 -2
  14. package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +22 -22
  15. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +38 -38
  16. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +52 -52
  17. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +6 -6
  18. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +12 -12
  19. package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +12 -12
  20. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +126 -126
  21. package/dist/bubbles/service-bubble/apify/apify.d.ts +18 -18
  22. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +2 -2
  23. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +2 -2
  24. package/dist/bubbles/service-bubble/assembled/assembled.d.ts +489 -0
  25. package/dist/bubbles/service-bubble/assembled/assembled.d.ts.map +1 -0
  26. package/dist/bubbles/service-bubble/assembled/assembled.js +363 -0
  27. package/dist/bubbles/service-bubble/assembled/assembled.js.map +1 -0
  28. package/dist/bubbles/service-bubble/assembled/assembled.schema.d.ts +460 -0
  29. package/dist/bubbles/service-bubble/assembled/assembled.schema.d.ts.map +1 -0
  30. package/dist/bubbles/service-bubble/assembled/assembled.schema.js +295 -0
  31. package/dist/bubbles/service-bubble/assembled/assembled.schema.js.map +1 -0
  32. package/dist/bubbles/service-bubble/assembled/assembled.utils.d.ts +12 -0
  33. package/dist/bubbles/service-bubble/assembled/assembled.utils.d.ts.map +1 -0
  34. package/dist/bubbles/service-bubble/assembled/assembled.utils.js +89 -0
  35. package/dist/bubbles/service-bubble/assembled/assembled.utils.js.map +1 -0
  36. package/dist/bubbles/service-bubble/assembled/index.d.ts +4 -0
  37. package/dist/bubbles/service-bubble/assembled/index.d.ts.map +1 -0
  38. package/dist/bubbles/service-bubble/assembled/index.js +4 -0
  39. package/dist/bubbles/service-bubble/assembled/index.js.map +1 -0
  40. package/dist/bubbles/service-bubble/attio/attio.d.ts +6 -6
  41. package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +6 -6
  42. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +1 -1
  43. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +1 -1
  44. package/dist/bubbles/service-bubble/capability-pipeline.js +1 -1
  45. package/dist/bubbles/service-bubble/capability-pipeline.js.map +1 -1
  46. package/dist/bubbles/service-bubble/firecrawl.d.ts +334 -334
  47. package/dist/bubbles/service-bubble/followupboss.d.ts +4 -4
  48. package/dist/bubbles/service-bubble/github.d.ts +60 -60
  49. package/dist/bubbles/service-bubble/gmail.d.ts +164 -164
  50. package/dist/bubbles/service-bubble/google-calendar.d.ts +6 -6
  51. package/dist/bubbles/service-bubble/google-drive.d.ts +4 -4
  52. package/dist/bubbles/service-bubble/http.d.ts +2 -2
  53. package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
  54. package/dist/bubbles/service-bubble/jira/jira.d.ts +30 -30
  55. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +36 -36
  56. package/dist/bubbles/service-bubble/notion/notion.d.ts +168 -168
  57. package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +8 -8
  58. package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
  59. package/dist/bubbles/service-bubble/posthog/posthog.d.ts +10 -10
  60. package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +14 -14
  61. package/dist/bubbles/service-bubble/resend.d.ts +4 -4
  62. package/dist/bubbles/service-bubble/slack/slack.d.ts +388 -388
  63. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +24 -24
  64. package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +28 -28
  65. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +6 -6
  66. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +8 -8
  67. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
  68. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +20 -20
  69. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +380 -380
  70. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +44 -44
  71. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +10 -10
  72. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
  73. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
  74. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +60 -60
  75. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +134 -134
  76. package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +8 -8
  77. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +20 -20
  78. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +12 -12
  79. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +8 -8
  80. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +2 -2
  81. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +26 -26
  82. package/dist/bubbles.json +927 -2
  83. package/dist/index.d.ts +1 -0
  84. package/dist/index.d.ts.map +1 -1
  85. package/dist/index.js +1 -0
  86. package/dist/index.js.map +1 -1
  87. package/package.json +2 -2
@@ -23,8 +23,8 @@ declare const ApifyParamsSchema: z.ZodObject<{
23
23
  timeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
24
24
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
25
25
  }, "strip", z.ZodTypeAny, {
26
- input: Record<string, unknown>;
27
26
  timeout: number;
27
+ input: Record<string, unknown>;
28
28
  limit: number;
29
29
  waitForFinish: boolean;
30
30
  credentials?: Partial<Record<CredentialType, string>> | undefined;
@@ -69,23 +69,23 @@ declare const ApifyResultSchema: z.ZodObject<{
69
69
  name: string;
70
70
  id: string;
71
71
  inputSchemaUrl: string;
72
- description?: string | null | undefined;
73
- stars?: number | null | undefined;
74
72
  usage?: {
75
73
  totalRuns?: number | undefined;
76
74
  usersCount?: number | undefined;
77
75
  } | null | undefined;
76
+ description?: string | null | undefined;
77
+ stars?: number | null | undefined;
78
78
  requiresRental?: boolean | undefined;
79
79
  }, {
80
80
  name: string;
81
81
  id: string;
82
82
  inputSchemaUrl: string;
83
- description?: string | null | undefined;
84
- stars?: number | null | undefined;
85
83
  usage?: {
86
84
  totalRuns?: number | undefined;
87
85
  usersCount?: number | undefined;
88
86
  } | null | undefined;
87
+ description?: string | null | undefined;
88
+ stars?: number | null | undefined;
89
89
  requiresRental?: boolean | undefined;
90
90
  }>, "many">>;
91
91
  }, "strip", z.ZodTypeAny, {
@@ -101,12 +101,12 @@ declare const ApifyResultSchema: z.ZodObject<{
101
101
  name: string;
102
102
  id: string;
103
103
  inputSchemaUrl: string;
104
- description?: string | null | undefined;
105
- stars?: number | null | undefined;
106
104
  usage?: {
107
105
  totalRuns?: number | undefined;
108
106
  usersCount?: number | undefined;
109
107
  } | null | undefined;
108
+ description?: string | null | undefined;
109
+ stars?: number | null | undefined;
110
110
  requiresRental?: boolean | undefined;
111
111
  }[] | undefined;
112
112
  }, {
@@ -122,12 +122,12 @@ declare const ApifyResultSchema: z.ZodObject<{
122
122
  name: string;
123
123
  id: string;
124
124
  inputSchemaUrl: string;
125
- description?: string | null | undefined;
126
- stars?: number | null | undefined;
127
125
  usage?: {
128
126
  totalRuns?: number | undefined;
129
127
  usersCount?: number | undefined;
130
128
  } | null | undefined;
129
+ description?: string | null | undefined;
130
+ stars?: number | null | undefined;
131
131
  requiresRental?: boolean | undefined;
132
132
  }[] | undefined;
133
133
  }>;
@@ -159,8 +159,8 @@ export declare class ApifyBubble<T extends string = string> extends ServiceBubbl
159
159
  timeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
160
160
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
161
161
  }, "strip", z.ZodTypeAny, {
162
- input: Record<string, unknown>;
163
162
  timeout: number;
163
+ input: Record<string, unknown>;
164
164
  limit: number;
165
165
  waitForFinish: boolean;
166
166
  credentials?: Partial<Record<CredentialType, string>> | undefined;
@@ -205,23 +205,23 @@ export declare class ApifyBubble<T extends string = string> extends ServiceBubbl
205
205
  name: string;
206
206
  id: string;
207
207
  inputSchemaUrl: string;
208
- description?: string | null | undefined;
209
- stars?: number | null | undefined;
210
208
  usage?: {
211
209
  totalRuns?: number | undefined;
212
210
  usersCount?: number | undefined;
213
211
  } | null | undefined;
212
+ description?: string | null | undefined;
213
+ stars?: number | null | undefined;
214
214
  requiresRental?: boolean | undefined;
215
215
  }, {
216
216
  name: string;
217
217
  id: string;
218
218
  inputSchemaUrl: string;
219
- description?: string | null | undefined;
220
- stars?: number | null | undefined;
221
219
  usage?: {
222
220
  totalRuns?: number | undefined;
223
221
  usersCount?: number | undefined;
224
222
  } | null | undefined;
223
+ description?: string | null | undefined;
224
+ stars?: number | null | undefined;
225
225
  requiresRental?: boolean | undefined;
226
226
  }>, "many">>;
227
227
  }, "strip", z.ZodTypeAny, {
@@ -237,12 +237,12 @@ export declare class ApifyBubble<T extends string = string> extends ServiceBubbl
237
237
  name: string;
238
238
  id: string;
239
239
  inputSchemaUrl: string;
240
- description?: string | null | undefined;
241
- stars?: number | null | undefined;
242
240
  usage?: {
243
241
  totalRuns?: number | undefined;
244
242
  usersCount?: number | undefined;
245
243
  } | null | undefined;
244
+ description?: string | null | undefined;
245
+ stars?: number | null | undefined;
246
246
  requiresRental?: boolean | undefined;
247
247
  }[] | undefined;
248
248
  }, {
@@ -258,12 +258,12 @@ export declare class ApifyBubble<T extends string = string> extends ServiceBubbl
258
258
  name: string;
259
259
  id: string;
260
260
  inputSchemaUrl: string;
261
- description?: string | null | undefined;
262
- stars?: number | null | undefined;
263
261
  usage?: {
264
262
  totalRuns?: number | undefined;
265
263
  usersCount?: number | undefined;
266
264
  } | null | undefined;
265
+ description?: string | null | undefined;
266
+ stars?: number | null | undefined;
267
267
  requiresRental?: boolean | undefined;
268
268
  }[] | undefined;
269
269
  }>;
@@ -143,13 +143,13 @@ export declare class AshbyBubble<T extends AshbyParamsInput = AshbyParamsInput>
143
143
  }, "strip", import("zod").ZodTypeAny, {
144
144
  operation: "search_candidates";
145
145
  name?: string | undefined;
146
- email?: string | undefined;
147
146
  credentials?: Partial<Record<CredentialType, string>> | undefined;
147
+ email?: string | undefined;
148
148
  }, {
149
149
  operation: "search_candidates";
150
150
  name?: string | undefined;
151
- email?: string | undefined;
152
151
  credentials?: Partial<Record<CredentialType, string>> | undefined;
152
+ email?: string | undefined;
153
153
  }>, import("zod").ZodObject<{
154
154
  operation: import("zod").ZodLiteral<"add_tag">;
155
155
  candidate_id: import("zod").ZodString;
@@ -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"}