@frogbotai/piece-hubspot 0.0.0-stage → 0.40.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.
Files changed (99) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +146 -2
  3. package/dist/actions/associations.d.ts +161 -0
  4. package/dist/actions/associations.d.ts.map +1 -0
  5. package/dist/actions/associations.js +192 -0
  6. package/dist/actions/associations.js.map +1 -0
  7. package/dist/actions/createOrUpdateContact.d.ts +36 -0
  8. package/dist/actions/createOrUpdateContact.d.ts.map +1 -0
  9. package/dist/actions/createOrUpdateContact.js +65 -0
  10. package/dist/actions/createOrUpdateContact.js.map +1 -0
  11. package/dist/actions/crm.d.ts +1042 -0
  12. package/dist/actions/crm.d.ts.map +1 -0
  13. package/dist/actions/crm.js +266 -0
  14. package/dist/actions/crm.js.map +1 -0
  15. package/dist/actions/crud.d.ts +180 -0
  16. package/dist/actions/crud.d.ts.map +1 -0
  17. package/dist/actions/crud.js +203 -0
  18. package/dist/actions/crud.js.map +1 -0
  19. package/dist/actions/customApiCall.d.ts +6 -0
  20. package/dist/actions/customApiCall.d.ts.map +1 -0
  21. package/dist/actions/customApiCall.js +10 -0
  22. package/dist/actions/customApiCall.js.map +1 -0
  23. package/dist/actions/lists.d.ts +42 -0
  24. package/dist/actions/lists.d.ts.map +1 -0
  25. package/dist/actions/lists.js +108 -0
  26. package/dist/actions/lists.js.map +1 -0
  27. package/dist/actions/lookups.d.ts +110 -0
  28. package/dist/actions/lookups.d.ts.map +1 -0
  29. package/dist/actions/lookups.js +71 -0
  30. package/dist/actions/lookups.js.map +1 -0
  31. package/dist/actions/marketing.d.ts +45 -0
  32. package/dist/actions/marketing.d.ts.map +1 -0
  33. package/dist/actions/marketing.js +75 -0
  34. package/dist/actions/marketing.js.map +1 -0
  35. package/dist/actions/options.d.ts +38 -0
  36. package/dist/actions/options.d.ts.map +1 -0
  37. package/dist/actions/options.js +229 -0
  38. package/dist/actions/options.js.map +1 -0
  39. package/dist/actions/reads.d.ts +351 -0
  40. package/dist/actions/reads.d.ts.map +1 -0
  41. package/dist/actions/reads.js +253 -0
  42. package/dist/actions/reads.js.map +1 -0
  43. package/dist/actions/uploadFile.d.ts +47 -0
  44. package/dist/actions/uploadFile.d.ts.map +1 -0
  45. package/dist/actions/uploadFile.js +66 -0
  46. package/dist/actions/uploadFile.js.map +1 -0
  47. package/dist/client.d.ts +31 -0
  48. package/dist/client.d.ts.map +1 -0
  49. package/dist/client.js +115 -0
  50. package/dist/client.js.map +1 -0
  51. package/dist/config.d.ts +24 -0
  52. package/dist/config.d.ts.map +1 -0
  53. package/dist/config.js +35 -0
  54. package/dist/config.js.map +1 -0
  55. package/dist/define.d.ts +76 -0
  56. package/dist/define.d.ts.map +1 -0
  57. package/dist/define.js +4 -0
  58. package/dist/define.js.map +1 -0
  59. package/dist/files.d.ts +13 -0
  60. package/dist/files.d.ts.map +1 -0
  61. package/dist/files.js +55 -0
  62. package/dist/files.js.map +1 -0
  63. package/dist/index.d.ts +3463 -0
  64. package/dist/index.d.ts.map +1 -0
  65. package/dist/index.js +173 -0
  66. package/dist/index.js.map +1 -0
  67. package/dist/objects.d.ts +57 -0
  68. package/dist/objects.d.ts.map +1 -0
  69. package/dist/objects.js +194 -0
  70. package/dist/objects.js.map +1 -0
  71. package/dist/pagination.d.ts +41 -0
  72. package/dist/pagination.d.ts.map +1 -0
  73. package/dist/pagination.js +29 -0
  74. package/dist/pagination.js.map +1 -0
  75. package/dist/records.d.ts +99 -0
  76. package/dist/records.d.ts.map +1 -0
  77. package/dist/records.js +106 -0
  78. package/dist/records.js.map +1 -0
  79. package/dist/triggers/marketing.d.ts +167 -0
  80. package/dist/triggers/marketing.d.ts.map +1 -0
  81. package/dist/triggers/marketing.js +227 -0
  82. package/dist/triggers/marketing.js.map +1 -0
  83. package/dist/triggers/newContactInList.d.ts +75 -0
  84. package/dist/triggers/newContactInList.d.ts.map +1 -0
  85. package/dist/triggers/newContactInList.js +78 -0
  86. package/dist/triggers/newContactInList.js.map +1 -0
  87. package/dist/triggers/newEngagement.d.ts +91 -0
  88. package/dist/triggers/newEngagement.d.ts.map +1 -0
  89. package/dist/triggers/newEngagement.js +125 -0
  90. package/dist/triggers/newEngagement.js.map +1 -0
  91. package/dist/triggers/poll.d.ts +94 -0
  92. package/dist/triggers/poll.d.ts.map +1 -0
  93. package/dist/triggers/poll.js +141 -0
  94. package/dist/triggers/poll.js.map +1 -0
  95. package/dist/triggers/records.d.ts +1234 -0
  96. package/dist/triggers/records.d.ts.map +1 -0
  97. package/dist/triggers/records.js +249 -0
  98. package/dist/triggers/records.js.map +1 -0
  99. package/package.json +41 -3
@@ -0,0 +1,1234 @@
1
+ import { z } from 'zod';
2
+ export declare const newContact: {
3
+ slug: string;
4
+ label?: string;
5
+ description: string;
6
+ input: z.ZodObject<{
7
+ additionalPropertiesToRetrieve: z.ZodOptional<z.ZodArray<z.ZodString>>;
8
+ }, z.core.$strip>;
9
+ output?: z.ZodObject<{
10
+ id: z.ZodString;
11
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
12
+ createdAt: z.ZodOptional<z.ZodString>;
13
+ updatedAt: z.ZodOptional<z.ZodString>;
14
+ archived: z.ZodOptional<z.ZodBoolean>;
15
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
16
+ results: z.ZodArray<z.ZodObject<{
17
+ id: z.ZodString;
18
+ type: z.ZodString;
19
+ }, z.core.$strip>>;
20
+ }, z.core.$strip>>>;
21
+ }, z.core.$strip> | undefined;
22
+ sample?: {
23
+ id: string;
24
+ properties: Record<string, string | null>;
25
+ createdAt?: string | undefined;
26
+ updatedAt?: string | undefined;
27
+ archived?: boolean | undefined;
28
+ associations?: Record<string, {
29
+ results: {
30
+ id: string;
31
+ type: string;
32
+ }[];
33
+ }> | undefined;
34
+ } | undefined;
35
+ } & {
36
+ type: "polling";
37
+ schedule?: string;
38
+ run(args: {
39
+ input: {
40
+ additionalPropertiesToRetrieve?: string[] | undefined;
41
+ };
42
+ options: Record<string, never>;
43
+ client: {
44
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
45
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
46
+ authorize(headers: Headers): void;
47
+ };
48
+ req: import("frogbot/pieces").FrogBotRequest;
49
+ } & {
50
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
51
+ }): Promise<{
52
+ events: {
53
+ id: string;
54
+ properties: Record<string, string | null>;
55
+ createdAt?: string | undefined;
56
+ updatedAt?: string | undefined;
57
+ archived?: boolean | undefined;
58
+ associations?: Record<string, {
59
+ results: {
60
+ id: string;
61
+ type: string;
62
+ }[];
63
+ }> | undefined;
64
+ }[];
65
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
66
+ }>;
67
+ } & {
68
+ slug: "newContact";
69
+ };
70
+ export declare const newOrUpdatedContact: {
71
+ slug: string;
72
+ label?: string;
73
+ description: string;
74
+ input: z.ZodObject<{
75
+ additionalPropertiesToRetrieve: z.ZodOptional<z.ZodArray<z.ZodString>>;
76
+ }, z.core.$strip>;
77
+ output?: z.ZodObject<{
78
+ id: z.ZodString;
79
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
80
+ createdAt: z.ZodOptional<z.ZodString>;
81
+ updatedAt: z.ZodOptional<z.ZodString>;
82
+ archived: z.ZodOptional<z.ZodBoolean>;
83
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
84
+ results: z.ZodArray<z.ZodObject<{
85
+ id: z.ZodString;
86
+ type: z.ZodString;
87
+ }, z.core.$strip>>;
88
+ }, z.core.$strip>>>;
89
+ }, z.core.$strip> | undefined;
90
+ sample?: {
91
+ id: string;
92
+ properties: Record<string, string | null>;
93
+ createdAt?: string | undefined;
94
+ updatedAt?: string | undefined;
95
+ archived?: boolean | undefined;
96
+ associations?: Record<string, {
97
+ results: {
98
+ id: string;
99
+ type: string;
100
+ }[];
101
+ }> | undefined;
102
+ } | undefined;
103
+ } & {
104
+ type: "polling";
105
+ schedule?: string;
106
+ run(args: {
107
+ input: {
108
+ additionalPropertiesToRetrieve?: string[] | undefined;
109
+ };
110
+ options: Record<string, never>;
111
+ client: {
112
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
113
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
114
+ authorize(headers: Headers): void;
115
+ };
116
+ req: import("frogbot/pieces").FrogBotRequest;
117
+ } & {
118
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
119
+ }): Promise<{
120
+ events: {
121
+ id: string;
122
+ properties: Record<string, string | null>;
123
+ createdAt?: string | undefined;
124
+ updatedAt?: string | undefined;
125
+ archived?: boolean | undefined;
126
+ associations?: Record<string, {
127
+ results: {
128
+ id: string;
129
+ type: string;
130
+ }[];
131
+ }> | undefined;
132
+ }[];
133
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
134
+ }>;
135
+ } & {
136
+ slug: "newOrUpdatedContact";
137
+ };
138
+ export declare const newContactPropertyChange: {
139
+ slug: string;
140
+ label?: string;
141
+ description: string;
142
+ input: z.ZodObject<{
143
+ propertyName: z.ZodString;
144
+ }, z.core.$strip>;
145
+ output?: z.ZodObject<{
146
+ id: z.ZodString;
147
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
148
+ createdAt: z.ZodOptional<z.ZodString>;
149
+ updatedAt: z.ZodOptional<z.ZodString>;
150
+ archived: z.ZodOptional<z.ZodBoolean>;
151
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
152
+ results: z.ZodArray<z.ZodObject<{
153
+ id: z.ZodString;
154
+ type: z.ZodString;
155
+ }, z.core.$strip>>;
156
+ }, z.core.$strip>>>;
157
+ }, z.core.$strip> | undefined;
158
+ sample?: {
159
+ id: string;
160
+ properties: Record<string, string | null>;
161
+ createdAt?: string | undefined;
162
+ updatedAt?: string | undefined;
163
+ archived?: boolean | undefined;
164
+ associations?: Record<string, {
165
+ results: {
166
+ id: string;
167
+ type: string;
168
+ }[];
169
+ }> | undefined;
170
+ } | undefined;
171
+ } & {
172
+ type: "polling";
173
+ schedule?: string;
174
+ run(args: {
175
+ input: {
176
+ propertyName: string;
177
+ };
178
+ options: Record<string, never>;
179
+ client: {
180
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
181
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
182
+ authorize(headers: Headers): void;
183
+ };
184
+ req: import("frogbot/pieces").FrogBotRequest;
185
+ } & {
186
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
187
+ }): Promise<{
188
+ events: {
189
+ id: string;
190
+ properties: Record<string, string | null>;
191
+ createdAt?: string | undefined;
192
+ updatedAt?: string | undefined;
193
+ archived?: boolean | undefined;
194
+ associations?: Record<string, {
195
+ results: {
196
+ id: string;
197
+ type: string;
198
+ }[];
199
+ }> | undefined;
200
+ }[];
201
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
202
+ }>;
203
+ } & {
204
+ slug: "newContactPropertyChange";
205
+ };
206
+ export declare const newCompany: {
207
+ slug: string;
208
+ label?: string;
209
+ description: string;
210
+ input: z.ZodObject<{
211
+ additionalPropertiesToRetrieve: z.ZodOptional<z.ZodArray<z.ZodString>>;
212
+ }, z.core.$strip>;
213
+ output?: z.ZodObject<{
214
+ id: z.ZodString;
215
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
216
+ createdAt: z.ZodOptional<z.ZodString>;
217
+ updatedAt: z.ZodOptional<z.ZodString>;
218
+ archived: z.ZodOptional<z.ZodBoolean>;
219
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
220
+ results: z.ZodArray<z.ZodObject<{
221
+ id: z.ZodString;
222
+ type: z.ZodString;
223
+ }, z.core.$strip>>;
224
+ }, z.core.$strip>>>;
225
+ }, z.core.$strip> | undefined;
226
+ sample?: {
227
+ id: string;
228
+ properties: Record<string, string | null>;
229
+ createdAt?: string | undefined;
230
+ updatedAt?: string | undefined;
231
+ archived?: boolean | undefined;
232
+ associations?: Record<string, {
233
+ results: {
234
+ id: string;
235
+ type: string;
236
+ }[];
237
+ }> | undefined;
238
+ } | undefined;
239
+ } & {
240
+ type: "polling";
241
+ schedule?: string;
242
+ run(args: {
243
+ input: {
244
+ additionalPropertiesToRetrieve?: string[] | undefined;
245
+ };
246
+ options: Record<string, never>;
247
+ client: {
248
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
249
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
250
+ authorize(headers: Headers): void;
251
+ };
252
+ req: import("frogbot/pieces").FrogBotRequest;
253
+ } & {
254
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
255
+ }): Promise<{
256
+ events: {
257
+ id: string;
258
+ properties: Record<string, string | null>;
259
+ createdAt?: string | undefined;
260
+ updatedAt?: string | undefined;
261
+ archived?: boolean | undefined;
262
+ associations?: Record<string, {
263
+ results: {
264
+ id: string;
265
+ type: string;
266
+ }[];
267
+ }> | undefined;
268
+ }[];
269
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
270
+ }>;
271
+ } & {
272
+ slug: "newCompany";
273
+ };
274
+ export declare const newOrUpdatedCompany: {
275
+ slug: string;
276
+ label?: string;
277
+ description: string;
278
+ input: z.ZodObject<{
279
+ additionalPropertiesToRetrieve: z.ZodOptional<z.ZodArray<z.ZodString>>;
280
+ }, z.core.$strip>;
281
+ output?: z.ZodObject<{
282
+ id: z.ZodString;
283
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
284
+ createdAt: z.ZodOptional<z.ZodString>;
285
+ updatedAt: z.ZodOptional<z.ZodString>;
286
+ archived: z.ZodOptional<z.ZodBoolean>;
287
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
288
+ results: z.ZodArray<z.ZodObject<{
289
+ id: z.ZodString;
290
+ type: z.ZodString;
291
+ }, z.core.$strip>>;
292
+ }, z.core.$strip>>>;
293
+ }, z.core.$strip> | undefined;
294
+ sample?: {
295
+ id: string;
296
+ properties: Record<string, string | null>;
297
+ createdAt?: string | undefined;
298
+ updatedAt?: string | undefined;
299
+ archived?: boolean | undefined;
300
+ associations?: Record<string, {
301
+ results: {
302
+ id: string;
303
+ type: string;
304
+ }[];
305
+ }> | undefined;
306
+ } | undefined;
307
+ } & {
308
+ type: "polling";
309
+ schedule?: string;
310
+ run(args: {
311
+ input: {
312
+ additionalPropertiesToRetrieve?: string[] | undefined;
313
+ };
314
+ options: Record<string, never>;
315
+ client: {
316
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
317
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
318
+ authorize(headers: Headers): void;
319
+ };
320
+ req: import("frogbot/pieces").FrogBotRequest;
321
+ } & {
322
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
323
+ }): Promise<{
324
+ events: {
325
+ id: string;
326
+ properties: Record<string, string | null>;
327
+ createdAt?: string | undefined;
328
+ updatedAt?: string | undefined;
329
+ archived?: boolean | undefined;
330
+ associations?: Record<string, {
331
+ results: {
332
+ id: string;
333
+ type: string;
334
+ }[];
335
+ }> | undefined;
336
+ }[];
337
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
338
+ }>;
339
+ } & {
340
+ slug: "newOrUpdatedCompany";
341
+ };
342
+ export declare const newCompanyPropertyChange: {
343
+ slug: string;
344
+ label?: string;
345
+ description: string;
346
+ input: z.ZodObject<{
347
+ propertyName: z.ZodString;
348
+ }, z.core.$strip>;
349
+ output?: z.ZodObject<{
350
+ id: z.ZodString;
351
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
352
+ createdAt: z.ZodOptional<z.ZodString>;
353
+ updatedAt: z.ZodOptional<z.ZodString>;
354
+ archived: z.ZodOptional<z.ZodBoolean>;
355
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
356
+ results: z.ZodArray<z.ZodObject<{
357
+ id: z.ZodString;
358
+ type: z.ZodString;
359
+ }, z.core.$strip>>;
360
+ }, z.core.$strip>>>;
361
+ }, z.core.$strip> | undefined;
362
+ sample?: {
363
+ id: string;
364
+ properties: Record<string, string | null>;
365
+ createdAt?: string | undefined;
366
+ updatedAt?: string | undefined;
367
+ archived?: boolean | undefined;
368
+ associations?: Record<string, {
369
+ results: {
370
+ id: string;
371
+ type: string;
372
+ }[];
373
+ }> | undefined;
374
+ } | undefined;
375
+ } & {
376
+ type: "polling";
377
+ schedule?: string;
378
+ run(args: {
379
+ input: {
380
+ propertyName: string;
381
+ };
382
+ options: Record<string, never>;
383
+ client: {
384
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
385
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
386
+ authorize(headers: Headers): void;
387
+ };
388
+ req: import("frogbot/pieces").FrogBotRequest;
389
+ } & {
390
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
391
+ }): Promise<{
392
+ events: {
393
+ id: string;
394
+ properties: Record<string, string | null>;
395
+ createdAt?: string | undefined;
396
+ updatedAt?: string | undefined;
397
+ archived?: boolean | undefined;
398
+ associations?: Record<string, {
399
+ results: {
400
+ id: string;
401
+ type: string;
402
+ }[];
403
+ }> | undefined;
404
+ }[];
405
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
406
+ }>;
407
+ } & {
408
+ slug: "newCompanyPropertyChange";
409
+ };
410
+ export declare const newDeal: {
411
+ slug: string;
412
+ label?: string;
413
+ description: string;
414
+ input: z.ZodObject<{
415
+ additionalPropertiesToRetrieve: z.ZodOptional<z.ZodArray<z.ZodString>>;
416
+ }, z.core.$strip>;
417
+ output?: z.ZodObject<{
418
+ id: z.ZodString;
419
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
420
+ createdAt: z.ZodOptional<z.ZodString>;
421
+ updatedAt: z.ZodOptional<z.ZodString>;
422
+ archived: z.ZodOptional<z.ZodBoolean>;
423
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
424
+ results: z.ZodArray<z.ZodObject<{
425
+ id: z.ZodString;
426
+ type: z.ZodString;
427
+ }, z.core.$strip>>;
428
+ }, z.core.$strip>>>;
429
+ }, z.core.$strip> | undefined;
430
+ sample?: {
431
+ id: string;
432
+ properties: Record<string, string | null>;
433
+ createdAt?: string | undefined;
434
+ updatedAt?: string | undefined;
435
+ archived?: boolean | undefined;
436
+ associations?: Record<string, {
437
+ results: {
438
+ id: string;
439
+ type: string;
440
+ }[];
441
+ }> | undefined;
442
+ } | undefined;
443
+ } & {
444
+ type: "polling";
445
+ schedule?: string;
446
+ run(args: {
447
+ input: {
448
+ additionalPropertiesToRetrieve?: string[] | undefined;
449
+ };
450
+ options: Record<string, never>;
451
+ client: {
452
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
453
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
454
+ authorize(headers: Headers): void;
455
+ };
456
+ req: import("frogbot/pieces").FrogBotRequest;
457
+ } & {
458
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
459
+ }): Promise<{
460
+ events: {
461
+ id: string;
462
+ properties: Record<string, string | null>;
463
+ createdAt?: string | undefined;
464
+ updatedAt?: string | undefined;
465
+ archived?: boolean | undefined;
466
+ associations?: Record<string, {
467
+ results: {
468
+ id: string;
469
+ type: string;
470
+ }[];
471
+ }> | undefined;
472
+ }[];
473
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
474
+ }>;
475
+ } & {
476
+ slug: "newDeal";
477
+ };
478
+ export declare const newDealPropertyChange: {
479
+ slug: string;
480
+ label?: string;
481
+ description: string;
482
+ input: z.ZodObject<{
483
+ propertyName: z.ZodString;
484
+ }, z.core.$strip>;
485
+ output?: z.ZodObject<{
486
+ id: z.ZodString;
487
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
488
+ createdAt: z.ZodOptional<z.ZodString>;
489
+ updatedAt: z.ZodOptional<z.ZodString>;
490
+ archived: z.ZodOptional<z.ZodBoolean>;
491
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
492
+ results: z.ZodArray<z.ZodObject<{
493
+ id: z.ZodString;
494
+ type: z.ZodString;
495
+ }, z.core.$strip>>;
496
+ }, z.core.$strip>>>;
497
+ }, z.core.$strip> | undefined;
498
+ sample?: {
499
+ id: string;
500
+ properties: Record<string, string | null>;
501
+ createdAt?: string | undefined;
502
+ updatedAt?: string | undefined;
503
+ archived?: boolean | undefined;
504
+ associations?: Record<string, {
505
+ results: {
506
+ id: string;
507
+ type: string;
508
+ }[];
509
+ }> | undefined;
510
+ } | undefined;
511
+ } & {
512
+ type: "polling";
513
+ schedule?: string;
514
+ run(args: {
515
+ input: {
516
+ propertyName: string;
517
+ };
518
+ options: Record<string, never>;
519
+ client: {
520
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
521
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
522
+ authorize(headers: Headers): void;
523
+ };
524
+ req: import("frogbot/pieces").FrogBotRequest;
525
+ } & {
526
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
527
+ }): Promise<{
528
+ events: {
529
+ id: string;
530
+ properties: Record<string, string | null>;
531
+ createdAt?: string | undefined;
532
+ updatedAt?: string | undefined;
533
+ archived?: boolean | undefined;
534
+ associations?: Record<string, {
535
+ results: {
536
+ id: string;
537
+ type: string;
538
+ }[];
539
+ }> | undefined;
540
+ }[];
541
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
542
+ }>;
543
+ } & {
544
+ slug: "newDealPropertyChange";
545
+ };
546
+ export declare const newTicket: {
547
+ slug: string;
548
+ label?: string;
549
+ description: string;
550
+ input: z.ZodObject<{
551
+ additionalPropertiesToRetrieve: z.ZodOptional<z.ZodArray<z.ZodString>>;
552
+ }, z.core.$strip>;
553
+ output?: z.ZodObject<{
554
+ id: z.ZodString;
555
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
556
+ createdAt: z.ZodOptional<z.ZodString>;
557
+ updatedAt: z.ZodOptional<z.ZodString>;
558
+ archived: z.ZodOptional<z.ZodBoolean>;
559
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
560
+ results: z.ZodArray<z.ZodObject<{
561
+ id: z.ZodString;
562
+ type: z.ZodString;
563
+ }, z.core.$strip>>;
564
+ }, z.core.$strip>>>;
565
+ }, z.core.$strip> | undefined;
566
+ sample?: {
567
+ id: string;
568
+ properties: Record<string, string | null>;
569
+ createdAt?: string | undefined;
570
+ updatedAt?: string | undefined;
571
+ archived?: boolean | undefined;
572
+ associations?: Record<string, {
573
+ results: {
574
+ id: string;
575
+ type: string;
576
+ }[];
577
+ }> | undefined;
578
+ } | undefined;
579
+ } & {
580
+ type: "polling";
581
+ schedule?: string;
582
+ run(args: {
583
+ input: {
584
+ additionalPropertiesToRetrieve?: string[] | undefined;
585
+ };
586
+ options: Record<string, never>;
587
+ client: {
588
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
589
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
590
+ authorize(headers: Headers): void;
591
+ };
592
+ req: import("frogbot/pieces").FrogBotRequest;
593
+ } & {
594
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
595
+ }): Promise<{
596
+ events: {
597
+ id: string;
598
+ properties: Record<string, string | null>;
599
+ createdAt?: string | undefined;
600
+ updatedAt?: string | undefined;
601
+ archived?: boolean | undefined;
602
+ associations?: Record<string, {
603
+ results: {
604
+ id: string;
605
+ type: string;
606
+ }[];
607
+ }> | undefined;
608
+ }[];
609
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
610
+ }>;
611
+ } & {
612
+ slug: "newTicket";
613
+ };
614
+ export declare const newTicketPropertyChange: {
615
+ slug: string;
616
+ label?: string;
617
+ description: string;
618
+ input: z.ZodObject<{
619
+ propertyName: z.ZodString;
620
+ }, z.core.$strip>;
621
+ output?: z.ZodObject<{
622
+ id: z.ZodString;
623
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
624
+ createdAt: z.ZodOptional<z.ZodString>;
625
+ updatedAt: z.ZodOptional<z.ZodString>;
626
+ archived: z.ZodOptional<z.ZodBoolean>;
627
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
628
+ results: z.ZodArray<z.ZodObject<{
629
+ id: z.ZodString;
630
+ type: z.ZodString;
631
+ }, z.core.$strip>>;
632
+ }, z.core.$strip>>>;
633
+ }, z.core.$strip> | undefined;
634
+ sample?: {
635
+ id: string;
636
+ properties: Record<string, string | null>;
637
+ createdAt?: string | undefined;
638
+ updatedAt?: string | undefined;
639
+ archived?: boolean | undefined;
640
+ associations?: Record<string, {
641
+ results: {
642
+ id: string;
643
+ type: string;
644
+ }[];
645
+ }> | undefined;
646
+ } | undefined;
647
+ } & {
648
+ type: "polling";
649
+ schedule?: string;
650
+ run(args: {
651
+ input: {
652
+ propertyName: string;
653
+ };
654
+ options: Record<string, never>;
655
+ client: {
656
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
657
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
658
+ authorize(headers: Headers): void;
659
+ };
660
+ req: import("frogbot/pieces").FrogBotRequest;
661
+ } & {
662
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
663
+ }): Promise<{
664
+ events: {
665
+ id: string;
666
+ properties: Record<string, string | null>;
667
+ createdAt?: string | undefined;
668
+ updatedAt?: string | undefined;
669
+ archived?: boolean | undefined;
670
+ associations?: Record<string, {
671
+ results: {
672
+ id: string;
673
+ type: string;
674
+ }[];
675
+ }> | undefined;
676
+ }[];
677
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
678
+ }>;
679
+ } & {
680
+ slug: "newTicketPropertyChange";
681
+ };
682
+ export declare const newLineItem: {
683
+ slug: string;
684
+ label?: string;
685
+ description: string;
686
+ input: z.ZodObject<{
687
+ additionalPropertiesToRetrieve: z.ZodOptional<z.ZodArray<z.ZodString>>;
688
+ }, z.core.$strip>;
689
+ output?: z.ZodObject<{
690
+ id: z.ZodString;
691
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
692
+ createdAt: z.ZodOptional<z.ZodString>;
693
+ updatedAt: z.ZodOptional<z.ZodString>;
694
+ archived: z.ZodOptional<z.ZodBoolean>;
695
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
696
+ results: z.ZodArray<z.ZodObject<{
697
+ id: z.ZodString;
698
+ type: z.ZodString;
699
+ }, z.core.$strip>>;
700
+ }, z.core.$strip>>>;
701
+ }, z.core.$strip> | undefined;
702
+ sample?: {
703
+ id: string;
704
+ properties: Record<string, string | null>;
705
+ createdAt?: string | undefined;
706
+ updatedAt?: string | undefined;
707
+ archived?: boolean | undefined;
708
+ associations?: Record<string, {
709
+ results: {
710
+ id: string;
711
+ type: string;
712
+ }[];
713
+ }> | undefined;
714
+ } | undefined;
715
+ } & {
716
+ type: "polling";
717
+ schedule?: string;
718
+ run(args: {
719
+ input: {
720
+ additionalPropertiesToRetrieve?: string[] | undefined;
721
+ };
722
+ options: Record<string, never>;
723
+ client: {
724
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
725
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
726
+ authorize(headers: Headers): void;
727
+ };
728
+ req: import("frogbot/pieces").FrogBotRequest;
729
+ } & {
730
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
731
+ }): Promise<{
732
+ events: {
733
+ id: string;
734
+ properties: Record<string, string | null>;
735
+ createdAt?: string | undefined;
736
+ updatedAt?: string | undefined;
737
+ archived?: boolean | undefined;
738
+ associations?: Record<string, {
739
+ results: {
740
+ id: string;
741
+ type: string;
742
+ }[];
743
+ }> | undefined;
744
+ }[];
745
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
746
+ }>;
747
+ } & {
748
+ slug: "newLineItem";
749
+ };
750
+ export declare const newOrUpdatedLineItem: {
751
+ slug: string;
752
+ label?: string;
753
+ description: string;
754
+ input: z.ZodObject<{
755
+ additionalPropertiesToRetrieve: z.ZodOptional<z.ZodArray<z.ZodString>>;
756
+ }, z.core.$strip>;
757
+ output?: z.ZodObject<{
758
+ id: z.ZodString;
759
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
760
+ createdAt: z.ZodOptional<z.ZodString>;
761
+ updatedAt: z.ZodOptional<z.ZodString>;
762
+ archived: z.ZodOptional<z.ZodBoolean>;
763
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
764
+ results: z.ZodArray<z.ZodObject<{
765
+ id: z.ZodString;
766
+ type: z.ZodString;
767
+ }, z.core.$strip>>;
768
+ }, z.core.$strip>>>;
769
+ }, z.core.$strip> | undefined;
770
+ sample?: {
771
+ id: string;
772
+ properties: Record<string, string | null>;
773
+ createdAt?: string | undefined;
774
+ updatedAt?: string | undefined;
775
+ archived?: boolean | undefined;
776
+ associations?: Record<string, {
777
+ results: {
778
+ id: string;
779
+ type: string;
780
+ }[];
781
+ }> | undefined;
782
+ } | undefined;
783
+ } & {
784
+ type: "polling";
785
+ schedule?: string;
786
+ run(args: {
787
+ input: {
788
+ additionalPropertiesToRetrieve?: string[] | undefined;
789
+ };
790
+ options: Record<string, never>;
791
+ client: {
792
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
793
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
794
+ authorize(headers: Headers): void;
795
+ };
796
+ req: import("frogbot/pieces").FrogBotRequest;
797
+ } & {
798
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
799
+ }): Promise<{
800
+ events: {
801
+ id: string;
802
+ properties: Record<string, string | null>;
803
+ createdAt?: string | undefined;
804
+ updatedAt?: string | undefined;
805
+ archived?: boolean | undefined;
806
+ associations?: Record<string, {
807
+ results: {
808
+ id: string;
809
+ type: string;
810
+ }[];
811
+ }> | undefined;
812
+ }[];
813
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
814
+ }>;
815
+ } & {
816
+ slug: "newOrUpdatedLineItem";
817
+ };
818
+ export declare const newProduct: {
819
+ slug: string;
820
+ label?: string;
821
+ description: string;
822
+ input: z.ZodObject<{
823
+ additionalPropertiesToRetrieve: z.ZodOptional<z.ZodArray<z.ZodString>>;
824
+ }, z.core.$strip>;
825
+ output?: z.ZodObject<{
826
+ id: z.ZodString;
827
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
828
+ createdAt: z.ZodOptional<z.ZodString>;
829
+ updatedAt: z.ZodOptional<z.ZodString>;
830
+ archived: z.ZodOptional<z.ZodBoolean>;
831
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
832
+ results: z.ZodArray<z.ZodObject<{
833
+ id: z.ZodString;
834
+ type: z.ZodString;
835
+ }, z.core.$strip>>;
836
+ }, z.core.$strip>>>;
837
+ }, z.core.$strip> | undefined;
838
+ sample?: {
839
+ id: string;
840
+ properties: Record<string, string | null>;
841
+ createdAt?: string | undefined;
842
+ updatedAt?: string | undefined;
843
+ archived?: boolean | undefined;
844
+ associations?: Record<string, {
845
+ results: {
846
+ id: string;
847
+ type: string;
848
+ }[];
849
+ }> | undefined;
850
+ } | undefined;
851
+ } & {
852
+ type: "polling";
853
+ schedule?: string;
854
+ run(args: {
855
+ input: {
856
+ additionalPropertiesToRetrieve?: string[] | undefined;
857
+ };
858
+ options: Record<string, never>;
859
+ client: {
860
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
861
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
862
+ authorize(headers: Headers): void;
863
+ };
864
+ req: import("frogbot/pieces").FrogBotRequest;
865
+ } & {
866
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
867
+ }): Promise<{
868
+ events: {
869
+ id: string;
870
+ properties: Record<string, string | null>;
871
+ createdAt?: string | undefined;
872
+ updatedAt?: string | undefined;
873
+ archived?: boolean | undefined;
874
+ associations?: Record<string, {
875
+ results: {
876
+ id: string;
877
+ type: string;
878
+ }[];
879
+ }> | undefined;
880
+ }[];
881
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
882
+ }>;
883
+ } & {
884
+ slug: "newProduct";
885
+ };
886
+ export declare const newOrUpdatedProduct: {
887
+ slug: string;
888
+ label?: string;
889
+ description: string;
890
+ input: z.ZodObject<{
891
+ additionalPropertiesToRetrieve: z.ZodOptional<z.ZodArray<z.ZodString>>;
892
+ }, z.core.$strip>;
893
+ output?: z.ZodObject<{
894
+ id: z.ZodString;
895
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
896
+ createdAt: z.ZodOptional<z.ZodString>;
897
+ updatedAt: z.ZodOptional<z.ZodString>;
898
+ archived: z.ZodOptional<z.ZodBoolean>;
899
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
900
+ results: z.ZodArray<z.ZodObject<{
901
+ id: z.ZodString;
902
+ type: z.ZodString;
903
+ }, z.core.$strip>>;
904
+ }, z.core.$strip>>>;
905
+ }, z.core.$strip> | undefined;
906
+ sample?: {
907
+ id: string;
908
+ properties: Record<string, string | null>;
909
+ createdAt?: string | undefined;
910
+ updatedAt?: string | undefined;
911
+ archived?: boolean | undefined;
912
+ associations?: Record<string, {
913
+ results: {
914
+ id: string;
915
+ type: string;
916
+ }[];
917
+ }> | undefined;
918
+ } | undefined;
919
+ } & {
920
+ type: "polling";
921
+ schedule?: string;
922
+ run(args: {
923
+ input: {
924
+ additionalPropertiesToRetrieve?: string[] | undefined;
925
+ };
926
+ options: Record<string, never>;
927
+ client: {
928
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
929
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
930
+ authorize(headers: Headers): void;
931
+ };
932
+ req: import("frogbot/pieces").FrogBotRequest;
933
+ } & {
934
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
935
+ }): Promise<{
936
+ events: {
937
+ id: string;
938
+ properties: Record<string, string | null>;
939
+ createdAt?: string | undefined;
940
+ updatedAt?: string | undefined;
941
+ archived?: boolean | undefined;
942
+ associations?: Record<string, {
943
+ results: {
944
+ id: string;
945
+ type: string;
946
+ }[];
947
+ }> | undefined;
948
+ }[];
949
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
950
+ }>;
951
+ } & {
952
+ slug: "newOrUpdatedProduct";
953
+ };
954
+ export declare const newTask: {
955
+ slug: string;
956
+ label?: string;
957
+ description: string;
958
+ input: z.ZodObject<{
959
+ additionalPropertiesToRetrieve: z.ZodOptional<z.ZodArray<z.ZodString>>;
960
+ }, z.core.$strip>;
961
+ output?: z.ZodObject<{
962
+ id: z.ZodString;
963
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
964
+ createdAt: z.ZodOptional<z.ZodString>;
965
+ updatedAt: z.ZodOptional<z.ZodString>;
966
+ archived: z.ZodOptional<z.ZodBoolean>;
967
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
968
+ results: z.ZodArray<z.ZodObject<{
969
+ id: z.ZodString;
970
+ type: z.ZodString;
971
+ }, z.core.$strip>>;
972
+ }, z.core.$strip>>>;
973
+ }, z.core.$strip> | undefined;
974
+ sample?: {
975
+ id: string;
976
+ properties: Record<string, string | null>;
977
+ createdAt?: string | undefined;
978
+ updatedAt?: string | undefined;
979
+ archived?: boolean | undefined;
980
+ associations?: Record<string, {
981
+ results: {
982
+ id: string;
983
+ type: string;
984
+ }[];
985
+ }> | undefined;
986
+ } | undefined;
987
+ } & {
988
+ type: "polling";
989
+ schedule?: string;
990
+ run(args: {
991
+ input: {
992
+ additionalPropertiesToRetrieve?: string[] | undefined;
993
+ };
994
+ options: Record<string, never>;
995
+ client: {
996
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
997
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
998
+ authorize(headers: Headers): void;
999
+ };
1000
+ req: import("frogbot/pieces").FrogBotRequest;
1001
+ } & {
1002
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
1003
+ }): Promise<{
1004
+ events: {
1005
+ id: string;
1006
+ properties: Record<string, string | null>;
1007
+ createdAt?: string | undefined;
1008
+ updatedAt?: string | undefined;
1009
+ archived?: boolean | undefined;
1010
+ associations?: Record<string, {
1011
+ results: {
1012
+ id: string;
1013
+ type: string;
1014
+ }[];
1015
+ }> | undefined;
1016
+ }[];
1017
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
1018
+ }>;
1019
+ } & {
1020
+ slug: "newTask";
1021
+ };
1022
+ export declare const newCustomObject: {
1023
+ slug: string;
1024
+ label?: string;
1025
+ description: string;
1026
+ input: z.ZodObject<{
1027
+ customObjectType: z.ZodString;
1028
+ additionalPropertiesToRetrieve: z.ZodOptional<z.ZodArray<z.ZodString>>;
1029
+ }, z.core.$strip>;
1030
+ output?: z.ZodObject<{
1031
+ id: z.ZodString;
1032
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
1033
+ createdAt: z.ZodOptional<z.ZodString>;
1034
+ updatedAt: z.ZodOptional<z.ZodString>;
1035
+ archived: z.ZodOptional<z.ZodBoolean>;
1036
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1037
+ results: z.ZodArray<z.ZodObject<{
1038
+ id: z.ZodString;
1039
+ type: z.ZodString;
1040
+ }, z.core.$strip>>;
1041
+ }, z.core.$strip>>>;
1042
+ }, z.core.$strip> | undefined;
1043
+ sample?: {
1044
+ id: string;
1045
+ properties: Record<string, string | null>;
1046
+ createdAt?: string | undefined;
1047
+ updatedAt?: string | undefined;
1048
+ archived?: boolean | undefined;
1049
+ associations?: Record<string, {
1050
+ results: {
1051
+ id: string;
1052
+ type: string;
1053
+ }[];
1054
+ }> | undefined;
1055
+ } | undefined;
1056
+ } & {
1057
+ type: "polling";
1058
+ schedule?: string;
1059
+ run(args: {
1060
+ input: {
1061
+ customObjectType: string;
1062
+ additionalPropertiesToRetrieve?: string[] | undefined;
1063
+ };
1064
+ options: Record<string, never>;
1065
+ client: {
1066
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
1067
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
1068
+ authorize(headers: Headers): void;
1069
+ };
1070
+ req: import("frogbot/pieces").FrogBotRequest;
1071
+ } & {
1072
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
1073
+ }): Promise<{
1074
+ events: {
1075
+ id: string;
1076
+ properties: Record<string, string | null>;
1077
+ createdAt?: string | undefined;
1078
+ updatedAt?: string | undefined;
1079
+ archived?: boolean | undefined;
1080
+ associations?: Record<string, {
1081
+ results: {
1082
+ id: string;
1083
+ type: string;
1084
+ }[];
1085
+ }> | undefined;
1086
+ }[];
1087
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
1088
+ }>;
1089
+ } & {
1090
+ slug: "newCustomObject";
1091
+ };
1092
+ export declare const newCustomObjectPropertyChange: {
1093
+ slug: string;
1094
+ label?: string;
1095
+ description: string;
1096
+ input: z.ZodObject<{
1097
+ customObjectType: z.ZodString;
1098
+ propertyName: z.ZodString;
1099
+ }, z.core.$strip>;
1100
+ output?: z.ZodObject<{
1101
+ id: z.ZodString;
1102
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
1103
+ createdAt: z.ZodOptional<z.ZodString>;
1104
+ updatedAt: z.ZodOptional<z.ZodString>;
1105
+ archived: z.ZodOptional<z.ZodBoolean>;
1106
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1107
+ results: z.ZodArray<z.ZodObject<{
1108
+ id: z.ZodString;
1109
+ type: z.ZodString;
1110
+ }, z.core.$strip>>;
1111
+ }, z.core.$strip>>>;
1112
+ }, z.core.$strip> | undefined;
1113
+ sample?: {
1114
+ id: string;
1115
+ properties: Record<string, string | null>;
1116
+ createdAt?: string | undefined;
1117
+ updatedAt?: string | undefined;
1118
+ archived?: boolean | undefined;
1119
+ associations?: Record<string, {
1120
+ results: {
1121
+ id: string;
1122
+ type: string;
1123
+ }[];
1124
+ }> | undefined;
1125
+ } | undefined;
1126
+ } & {
1127
+ type: "polling";
1128
+ schedule?: string;
1129
+ run(args: {
1130
+ input: {
1131
+ customObjectType: string;
1132
+ propertyName: string;
1133
+ };
1134
+ options: Record<string, never>;
1135
+ client: {
1136
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
1137
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
1138
+ authorize(headers: Headers): void;
1139
+ };
1140
+ req: import("frogbot/pieces").FrogBotRequest;
1141
+ } & {
1142
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
1143
+ }): Promise<{
1144
+ events: {
1145
+ id: string;
1146
+ properties: Record<string, string | null>;
1147
+ createdAt?: string | undefined;
1148
+ updatedAt?: string | undefined;
1149
+ archived?: boolean | undefined;
1150
+ associations?: Record<string, {
1151
+ results: {
1152
+ id: string;
1153
+ type: string;
1154
+ }[];
1155
+ }> | undefined;
1156
+ }[];
1157
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
1158
+ }>;
1159
+ } & {
1160
+ slug: "newCustomObjectPropertyChange";
1161
+ };
1162
+ export declare const dealStageUpdated: {
1163
+ slug: string;
1164
+ label?: string;
1165
+ description: string;
1166
+ input: z.ZodObject<{
1167
+ pipelineId: z.ZodString;
1168
+ stageId: z.ZodString;
1169
+ additionalPropertiesToRetrieve: z.ZodOptional<z.ZodArray<z.ZodString>>;
1170
+ }, z.core.$strip>;
1171
+ output?: z.ZodObject<{
1172
+ id: z.ZodString;
1173
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
1174
+ createdAt: z.ZodOptional<z.ZodString>;
1175
+ updatedAt: z.ZodOptional<z.ZodString>;
1176
+ archived: z.ZodOptional<z.ZodBoolean>;
1177
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1178
+ results: z.ZodArray<z.ZodObject<{
1179
+ id: z.ZodString;
1180
+ type: z.ZodString;
1181
+ }, z.core.$strip>>;
1182
+ }, z.core.$strip>>>;
1183
+ }, z.core.$strip> | undefined;
1184
+ sample?: {
1185
+ id: string;
1186
+ properties: Record<string, string | null>;
1187
+ createdAt?: string | undefined;
1188
+ updatedAt?: string | undefined;
1189
+ archived?: boolean | undefined;
1190
+ associations?: Record<string, {
1191
+ results: {
1192
+ id: string;
1193
+ type: string;
1194
+ }[];
1195
+ }> | undefined;
1196
+ } | undefined;
1197
+ } & {
1198
+ type: "polling";
1199
+ schedule?: string;
1200
+ run(args: {
1201
+ input: {
1202
+ pipelineId: string;
1203
+ stageId: string;
1204
+ additionalPropertiesToRetrieve?: string[] | undefined;
1205
+ };
1206
+ options: Record<string, never>;
1207
+ client: {
1208
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
1209
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
1210
+ authorize(headers: Headers): void;
1211
+ };
1212
+ req: import("frogbot/pieces").FrogBotRequest;
1213
+ } & {
1214
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
1215
+ }): Promise<{
1216
+ events: {
1217
+ id: string;
1218
+ properties: Record<string, string | null>;
1219
+ createdAt?: string | undefined;
1220
+ updatedAt?: string | undefined;
1221
+ archived?: boolean | undefined;
1222
+ associations?: Record<string, {
1223
+ results: {
1224
+ id: string;
1225
+ type: string;
1226
+ }[];
1227
+ }> | undefined;
1228
+ }[];
1229
+ cursor?: import("frogbot/pieces").PieceJSON | undefined;
1230
+ }>;
1231
+ } & {
1232
+ slug: "dealStageUpdated";
1233
+ };
1234
+ //# sourceMappingURL=records.d.ts.map