@frogbotai/piece-hubspot 0.0.0-stage → 0.41.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,1042 @@
1
+ import { z } from 'zod';
2
+ export declare const createContact: import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
3
+ objectProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
4
+ additionalPropertiesToRetrieve: z.ZodOptional<z.ZodArray<z.ZodString>>;
5
+ }, z.core.$strip>, z.ZodObject<{
6
+ id: z.ZodString;
7
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
8
+ createdAt: z.ZodOptional<z.ZodString>;
9
+ updatedAt: z.ZodOptional<z.ZodString>;
10
+ archived: z.ZodOptional<z.ZodBoolean>;
11
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
12
+ results: z.ZodArray<z.ZodObject<{
13
+ id: z.ZodString;
14
+ type: z.ZodString;
15
+ }, z.core.$strip>>;
16
+ }, z.core.$strip>>>;
17
+ }, z.core.$strip>, Record<string, never>, {
18
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
19
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
20
+ authorize(headers: Headers): void;
21
+ }, {
22
+ id: string;
23
+ properties: Record<string, string | null>;
24
+ createdAt?: string | undefined;
25
+ updatedAt?: string | undefined;
26
+ archived?: boolean | undefined;
27
+ associations?: Record<string, {
28
+ results: {
29
+ id: string;
30
+ type: string;
31
+ }[];
32
+ }> | undefined;
33
+ }> & {
34
+ slug: "createContact";
35
+ };
36
+ export declare const updateContact: import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
37
+ contactId: z.ZodString;
38
+ objectProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
39
+ additionalPropertiesToRetrieve: z.ZodOptional<z.ZodArray<z.ZodString>>;
40
+ }, z.core.$strip>, z.ZodObject<{
41
+ id: z.ZodString;
42
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
43
+ createdAt: z.ZodOptional<z.ZodString>;
44
+ updatedAt: z.ZodOptional<z.ZodString>;
45
+ archived: z.ZodOptional<z.ZodBoolean>;
46
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
47
+ results: z.ZodArray<z.ZodObject<{
48
+ id: z.ZodString;
49
+ type: z.ZodString;
50
+ }, z.core.$strip>>;
51
+ }, z.core.$strip>>>;
52
+ }, z.core.$strip>, Record<string, never>, {
53
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
54
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
55
+ authorize(headers: Headers): void;
56
+ }, {
57
+ id: string;
58
+ properties: Record<string, string | null>;
59
+ createdAt?: string | undefined;
60
+ updatedAt?: string | undefined;
61
+ archived?: boolean | undefined;
62
+ associations?: Record<string, {
63
+ results: {
64
+ id: string;
65
+ type: string;
66
+ }[];
67
+ }> | undefined;
68
+ }> & {
69
+ slug: "updateContact";
70
+ };
71
+ export declare const getContact: import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
72
+ contactId: z.ZodString;
73
+ additionalPropertiesToRetrieve: z.ZodOptional<z.ZodArray<z.ZodString>>;
74
+ }, z.core.$strip>, z.ZodObject<{
75
+ id: z.ZodString;
76
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
77
+ createdAt: z.ZodOptional<z.ZodString>;
78
+ updatedAt: z.ZodOptional<z.ZodString>;
79
+ archived: z.ZodOptional<z.ZodBoolean>;
80
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
81
+ results: z.ZodArray<z.ZodObject<{
82
+ id: z.ZodString;
83
+ type: z.ZodString;
84
+ }, z.core.$strip>>;
85
+ }, z.core.$strip>>>;
86
+ }, z.core.$strip>, Record<string, never>, {
87
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
88
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
89
+ authorize(headers: Headers): void;
90
+ }, {
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
+ }> & {
103
+ slug: "getContact";
104
+ };
105
+ export declare const findContact: import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
106
+ firstSearchPropertyName: z.ZodString;
107
+ firstSearchPropertyValue: z.ZodString;
108
+ secondSearchPropertyName: z.ZodOptional<z.ZodString>;
109
+ secondSearchPropertyValue: z.ZodOptional<z.ZodString>;
110
+ additionalPropertiesToRetrieve: z.ZodOptional<z.ZodArray<z.ZodString>>;
111
+ }, z.core.$strip>, z.ZodObject<{
112
+ total: z.ZodNumber;
113
+ results: z.ZodArray<z.ZodObject<{
114
+ id: z.ZodString;
115
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
116
+ createdAt: z.ZodOptional<z.ZodString>;
117
+ updatedAt: z.ZodOptional<z.ZodString>;
118
+ archived: z.ZodOptional<z.ZodBoolean>;
119
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
120
+ results: z.ZodArray<z.ZodObject<{
121
+ id: z.ZodString;
122
+ type: z.ZodString;
123
+ }, z.core.$strip>>;
124
+ }, z.core.$strip>>>;
125
+ }, z.core.$strip>>;
126
+ }, z.core.$strip>, Record<string, never>, {
127
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
128
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
129
+ authorize(headers: Headers): void;
130
+ }, {
131
+ total: number;
132
+ results: {
133
+ id: string;
134
+ properties: Record<string, string | null>;
135
+ createdAt?: string | undefined;
136
+ updatedAt?: string | undefined;
137
+ archived?: boolean | undefined;
138
+ associations?: Record<string, {
139
+ results: {
140
+ id: string;
141
+ type: string;
142
+ }[];
143
+ }> | undefined;
144
+ }[];
145
+ }> & {
146
+ slug: "findContact";
147
+ };
148
+ export declare const createCompany: import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
149
+ objectProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
150
+ additionalPropertiesToRetrieve: z.ZodOptional<z.ZodArray<z.ZodString>>;
151
+ }, z.core.$strip>, z.ZodObject<{
152
+ id: z.ZodString;
153
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
154
+ createdAt: z.ZodOptional<z.ZodString>;
155
+ updatedAt: z.ZodOptional<z.ZodString>;
156
+ archived: z.ZodOptional<z.ZodBoolean>;
157
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
158
+ results: z.ZodArray<z.ZodObject<{
159
+ id: z.ZodString;
160
+ type: z.ZodString;
161
+ }, z.core.$strip>>;
162
+ }, z.core.$strip>>>;
163
+ }, z.core.$strip>, Record<string, never>, {
164
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
165
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
166
+ authorize(headers: Headers): void;
167
+ }, {
168
+ id: string;
169
+ properties: Record<string, string | null>;
170
+ createdAt?: string | undefined;
171
+ updatedAt?: string | undefined;
172
+ archived?: boolean | undefined;
173
+ associations?: Record<string, {
174
+ results: {
175
+ id: string;
176
+ type: string;
177
+ }[];
178
+ }> | undefined;
179
+ }> & {
180
+ slug: "createCompany";
181
+ };
182
+ export declare const updateCompany: import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
183
+ companyId: z.ZodString;
184
+ objectProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
185
+ additionalPropertiesToRetrieve: z.ZodOptional<z.ZodArray<z.ZodString>>;
186
+ }, z.core.$strip>, z.ZodObject<{
187
+ id: z.ZodString;
188
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
189
+ createdAt: z.ZodOptional<z.ZodString>;
190
+ updatedAt: z.ZodOptional<z.ZodString>;
191
+ archived: z.ZodOptional<z.ZodBoolean>;
192
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
193
+ results: z.ZodArray<z.ZodObject<{
194
+ id: z.ZodString;
195
+ type: z.ZodString;
196
+ }, z.core.$strip>>;
197
+ }, z.core.$strip>>>;
198
+ }, z.core.$strip>, Record<string, never>, {
199
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
200
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
201
+ authorize(headers: Headers): void;
202
+ }, {
203
+ id: string;
204
+ properties: Record<string, string | null>;
205
+ createdAt?: string | undefined;
206
+ updatedAt?: string | undefined;
207
+ archived?: boolean | undefined;
208
+ associations?: Record<string, {
209
+ results: {
210
+ id: string;
211
+ type: string;
212
+ }[];
213
+ }> | undefined;
214
+ }> & {
215
+ slug: "updateCompany";
216
+ };
217
+ export declare const getCompany: import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
218
+ companyId: z.ZodString;
219
+ additionalPropertiesToRetrieve: z.ZodOptional<z.ZodArray<z.ZodString>>;
220
+ }, z.core.$strip>, z.ZodObject<{
221
+ id: z.ZodString;
222
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
223
+ createdAt: z.ZodOptional<z.ZodString>;
224
+ updatedAt: z.ZodOptional<z.ZodString>;
225
+ archived: z.ZodOptional<z.ZodBoolean>;
226
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
227
+ results: z.ZodArray<z.ZodObject<{
228
+ id: z.ZodString;
229
+ type: z.ZodString;
230
+ }, z.core.$strip>>;
231
+ }, z.core.$strip>>>;
232
+ }, z.core.$strip>, Record<string, never>, {
233
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
234
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
235
+ authorize(headers: Headers): void;
236
+ }, {
237
+ id: string;
238
+ properties: Record<string, string | null>;
239
+ createdAt?: string | undefined;
240
+ updatedAt?: string | undefined;
241
+ archived?: boolean | undefined;
242
+ associations?: Record<string, {
243
+ results: {
244
+ id: string;
245
+ type: string;
246
+ }[];
247
+ }> | undefined;
248
+ }> & {
249
+ slug: "getCompany";
250
+ };
251
+ export declare const findCompany: import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
252
+ firstSearchPropertyName: z.ZodString;
253
+ firstSearchPropertyValue: z.ZodString;
254
+ secondSearchPropertyName: z.ZodOptional<z.ZodString>;
255
+ secondSearchPropertyValue: z.ZodOptional<z.ZodString>;
256
+ additionalPropertiesToRetrieve: z.ZodOptional<z.ZodArray<z.ZodString>>;
257
+ }, z.core.$strip>, z.ZodObject<{
258
+ total: z.ZodNumber;
259
+ results: z.ZodArray<z.ZodObject<{
260
+ id: z.ZodString;
261
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
262
+ createdAt: z.ZodOptional<z.ZodString>;
263
+ updatedAt: z.ZodOptional<z.ZodString>;
264
+ archived: z.ZodOptional<z.ZodBoolean>;
265
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
266
+ results: z.ZodArray<z.ZodObject<{
267
+ id: z.ZodString;
268
+ type: z.ZodString;
269
+ }, z.core.$strip>>;
270
+ }, z.core.$strip>>>;
271
+ }, z.core.$strip>>;
272
+ }, z.core.$strip>, Record<string, never>, {
273
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
274
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
275
+ authorize(headers: Headers): void;
276
+ }, {
277
+ total: number;
278
+ results: {
279
+ id: string;
280
+ properties: Record<string, string | null>;
281
+ createdAt?: string | undefined;
282
+ updatedAt?: string | undefined;
283
+ archived?: boolean | undefined;
284
+ associations?: Record<string, {
285
+ results: {
286
+ id: string;
287
+ type: string;
288
+ }[];
289
+ }> | undefined;
290
+ }[];
291
+ }> & {
292
+ slug: "findCompany";
293
+ };
294
+ export declare const createDeal: import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
295
+ pipelineId: z.ZodString;
296
+ pipelineStageId: z.ZodString;
297
+ dealname: z.ZodString;
298
+ objectProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
299
+ additionalPropertiesToRetrieve: z.ZodOptional<z.ZodArray<z.ZodString>>;
300
+ }, z.core.$strip>, z.ZodObject<{
301
+ id: z.ZodString;
302
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
303
+ createdAt: z.ZodOptional<z.ZodString>;
304
+ updatedAt: z.ZodOptional<z.ZodString>;
305
+ archived: z.ZodOptional<z.ZodBoolean>;
306
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
307
+ results: z.ZodArray<z.ZodObject<{
308
+ id: z.ZodString;
309
+ type: z.ZodString;
310
+ }, z.core.$strip>>;
311
+ }, z.core.$strip>>>;
312
+ }, z.core.$strip>, Record<string, never>, {
313
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
314
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
315
+ authorize(headers: Headers): void;
316
+ }, {
317
+ id: string;
318
+ properties: Record<string, string | null>;
319
+ createdAt?: string | undefined;
320
+ updatedAt?: string | undefined;
321
+ archived?: boolean | undefined;
322
+ associations?: Record<string, {
323
+ results: {
324
+ id: string;
325
+ type: string;
326
+ }[];
327
+ }> | undefined;
328
+ }> & {
329
+ slug: "createDeal";
330
+ };
331
+ export declare const updateDeal: import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
332
+ dealId: z.ZodString;
333
+ dealname: z.ZodOptional<z.ZodString>;
334
+ pipelineId: z.ZodOptional<z.ZodString>;
335
+ pipelineStageId: z.ZodOptional<z.ZodString>;
336
+ objectProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
337
+ additionalPropertiesToRetrieve: z.ZodOptional<z.ZodArray<z.ZodString>>;
338
+ }, z.core.$strip>, z.ZodObject<{
339
+ id: z.ZodString;
340
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
341
+ createdAt: z.ZodOptional<z.ZodString>;
342
+ updatedAt: z.ZodOptional<z.ZodString>;
343
+ archived: z.ZodOptional<z.ZodBoolean>;
344
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
345
+ results: z.ZodArray<z.ZodObject<{
346
+ id: z.ZodString;
347
+ type: z.ZodString;
348
+ }, z.core.$strip>>;
349
+ }, z.core.$strip>>>;
350
+ }, z.core.$strip>, Record<string, never>, {
351
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
352
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
353
+ authorize(headers: Headers): void;
354
+ }, {
355
+ id: string;
356
+ properties: Record<string, string | null>;
357
+ createdAt?: string | undefined;
358
+ updatedAt?: string | undefined;
359
+ archived?: boolean | undefined;
360
+ associations?: Record<string, {
361
+ results: {
362
+ id: string;
363
+ type: string;
364
+ }[];
365
+ }> | undefined;
366
+ }> & {
367
+ slug: "updateDeal";
368
+ };
369
+ export declare const getDeal: import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
370
+ dealId: z.ZodString;
371
+ additionalPropertiesToRetrieve: z.ZodOptional<z.ZodArray<z.ZodString>>;
372
+ }, z.core.$strip>, z.ZodObject<{
373
+ id: z.ZodString;
374
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
375
+ createdAt: z.ZodOptional<z.ZodString>;
376
+ updatedAt: z.ZodOptional<z.ZodString>;
377
+ archived: z.ZodOptional<z.ZodBoolean>;
378
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
379
+ results: z.ZodArray<z.ZodObject<{
380
+ id: z.ZodString;
381
+ type: z.ZodString;
382
+ }, z.core.$strip>>;
383
+ }, z.core.$strip>>>;
384
+ }, z.core.$strip>, Record<string, never>, {
385
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
386
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
387
+ authorize(headers: Headers): void;
388
+ }, {
389
+ id: string;
390
+ properties: Record<string, string | null>;
391
+ createdAt?: string | undefined;
392
+ updatedAt?: string | undefined;
393
+ archived?: boolean | undefined;
394
+ associations?: Record<string, {
395
+ results: {
396
+ id: string;
397
+ type: string;
398
+ }[];
399
+ }> | undefined;
400
+ }> & {
401
+ slug: "getDeal";
402
+ };
403
+ export declare const findDeal: import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
404
+ firstSearchPropertyName: z.ZodString;
405
+ firstSearchPropertyValue: z.ZodString;
406
+ secondSearchPropertyName: z.ZodOptional<z.ZodString>;
407
+ secondSearchPropertyValue: z.ZodOptional<z.ZodString>;
408
+ additionalPropertiesToRetrieve: z.ZodOptional<z.ZodArray<z.ZodString>>;
409
+ }, z.core.$strip>, z.ZodObject<{
410
+ total: z.ZodNumber;
411
+ results: z.ZodArray<z.ZodObject<{
412
+ id: z.ZodString;
413
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
414
+ createdAt: z.ZodOptional<z.ZodString>;
415
+ updatedAt: z.ZodOptional<z.ZodString>;
416
+ archived: z.ZodOptional<z.ZodBoolean>;
417
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
418
+ results: z.ZodArray<z.ZodObject<{
419
+ id: z.ZodString;
420
+ type: z.ZodString;
421
+ }, z.core.$strip>>;
422
+ }, z.core.$strip>>>;
423
+ }, z.core.$strip>>;
424
+ }, z.core.$strip>, Record<string, never>, {
425
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
426
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
427
+ authorize(headers: Headers): void;
428
+ }, {
429
+ total: number;
430
+ results: {
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
+ }[];
443
+ }> & {
444
+ slug: "findDeal";
445
+ };
446
+ export declare const createTicket: import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
447
+ pipelineId: z.ZodString;
448
+ pipelineStageId: z.ZodString;
449
+ ticketName: z.ZodString;
450
+ objectProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
451
+ additionalPropertiesToRetrieve: z.ZodOptional<z.ZodArray<z.ZodString>>;
452
+ }, z.core.$strip>, z.ZodObject<{
453
+ id: z.ZodString;
454
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
455
+ createdAt: z.ZodOptional<z.ZodString>;
456
+ updatedAt: z.ZodOptional<z.ZodString>;
457
+ archived: z.ZodOptional<z.ZodBoolean>;
458
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
459
+ results: z.ZodArray<z.ZodObject<{
460
+ id: z.ZodString;
461
+ type: z.ZodString;
462
+ }, z.core.$strip>>;
463
+ }, z.core.$strip>>>;
464
+ }, z.core.$strip>, Record<string, never>, {
465
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
466
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
467
+ authorize(headers: Headers): void;
468
+ }, {
469
+ id: string;
470
+ properties: Record<string, string | null>;
471
+ createdAt?: string | undefined;
472
+ updatedAt?: string | undefined;
473
+ archived?: boolean | undefined;
474
+ associations?: Record<string, {
475
+ results: {
476
+ id: string;
477
+ type: string;
478
+ }[];
479
+ }> | undefined;
480
+ }> & {
481
+ slug: "createTicket";
482
+ };
483
+ export declare const updateTicket: import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
484
+ ticketId: z.ZodString;
485
+ ticketName: z.ZodOptional<z.ZodString>;
486
+ pipelineId: z.ZodOptional<z.ZodString>;
487
+ pipelineStageId: z.ZodOptional<z.ZodString>;
488
+ objectProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
489
+ additionalPropertiesToRetrieve: z.ZodOptional<z.ZodArray<z.ZodString>>;
490
+ }, z.core.$strip>, z.ZodObject<{
491
+ id: z.ZodString;
492
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
493
+ createdAt: z.ZodOptional<z.ZodString>;
494
+ updatedAt: z.ZodOptional<z.ZodString>;
495
+ archived: z.ZodOptional<z.ZodBoolean>;
496
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
497
+ results: z.ZodArray<z.ZodObject<{
498
+ id: z.ZodString;
499
+ type: z.ZodString;
500
+ }, z.core.$strip>>;
501
+ }, z.core.$strip>>>;
502
+ }, z.core.$strip>, Record<string, never>, {
503
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
504
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
505
+ authorize(headers: Headers): void;
506
+ }, {
507
+ id: string;
508
+ properties: Record<string, string | null>;
509
+ createdAt?: string | undefined;
510
+ updatedAt?: string | undefined;
511
+ archived?: boolean | undefined;
512
+ associations?: Record<string, {
513
+ results: {
514
+ id: string;
515
+ type: string;
516
+ }[];
517
+ }> | undefined;
518
+ }> & {
519
+ slug: "updateTicket";
520
+ };
521
+ export declare const getTicket: import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
522
+ ticketId: z.ZodString;
523
+ additionalPropertiesToRetrieve: z.ZodOptional<z.ZodArray<z.ZodString>>;
524
+ }, z.core.$strip>, z.ZodObject<{
525
+ id: z.ZodString;
526
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
527
+ createdAt: z.ZodOptional<z.ZodString>;
528
+ updatedAt: z.ZodOptional<z.ZodString>;
529
+ archived: z.ZodOptional<z.ZodBoolean>;
530
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
531
+ results: z.ZodArray<z.ZodObject<{
532
+ id: z.ZodString;
533
+ type: z.ZodString;
534
+ }, z.core.$strip>>;
535
+ }, z.core.$strip>>>;
536
+ }, z.core.$strip>, Record<string, never>, {
537
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
538
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
539
+ authorize(headers: Headers): void;
540
+ }, {
541
+ id: string;
542
+ properties: Record<string, string | null>;
543
+ createdAt?: string | undefined;
544
+ updatedAt?: string | undefined;
545
+ archived?: boolean | undefined;
546
+ associations?: Record<string, {
547
+ results: {
548
+ id: string;
549
+ type: string;
550
+ }[];
551
+ }> | undefined;
552
+ }> & {
553
+ slug: "getTicket";
554
+ };
555
+ export declare const findTicket: import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
556
+ firstSearchPropertyName: z.ZodString;
557
+ firstSearchPropertyValue: z.ZodString;
558
+ secondSearchPropertyName: z.ZodOptional<z.ZodString>;
559
+ secondSearchPropertyValue: z.ZodOptional<z.ZodString>;
560
+ additionalPropertiesToRetrieve: z.ZodOptional<z.ZodArray<z.ZodString>>;
561
+ }, z.core.$strip>, z.ZodObject<{
562
+ total: z.ZodNumber;
563
+ results: z.ZodArray<z.ZodObject<{
564
+ id: z.ZodString;
565
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
566
+ createdAt: z.ZodOptional<z.ZodString>;
567
+ updatedAt: z.ZodOptional<z.ZodString>;
568
+ archived: z.ZodOptional<z.ZodBoolean>;
569
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
570
+ results: z.ZodArray<z.ZodObject<{
571
+ id: z.ZodString;
572
+ type: z.ZodString;
573
+ }, z.core.$strip>>;
574
+ }, z.core.$strip>>>;
575
+ }, z.core.$strip>>;
576
+ }, z.core.$strip>, Record<string, never>, {
577
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
578
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
579
+ authorize(headers: Headers): void;
580
+ }, {
581
+ total: number;
582
+ results: {
583
+ id: string;
584
+ properties: Record<string, string | null>;
585
+ createdAt?: string | undefined;
586
+ updatedAt?: string | undefined;
587
+ archived?: boolean | undefined;
588
+ associations?: Record<string, {
589
+ results: {
590
+ id: string;
591
+ type: string;
592
+ }[];
593
+ }> | undefined;
594
+ }[];
595
+ }> & {
596
+ slug: "findTicket";
597
+ };
598
+ export declare const createLineItem: import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
599
+ productId: z.ZodString;
600
+ objectProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
601
+ additionalPropertiesToRetrieve: z.ZodOptional<z.ZodArray<z.ZodString>>;
602
+ }, z.core.$strip>, z.ZodObject<{
603
+ id: z.ZodString;
604
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
605
+ createdAt: z.ZodOptional<z.ZodString>;
606
+ updatedAt: z.ZodOptional<z.ZodString>;
607
+ archived: z.ZodOptional<z.ZodBoolean>;
608
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
609
+ results: z.ZodArray<z.ZodObject<{
610
+ id: z.ZodString;
611
+ type: z.ZodString;
612
+ }, z.core.$strip>>;
613
+ }, z.core.$strip>>>;
614
+ }, z.core.$strip>, Record<string, never>, {
615
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
616
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
617
+ authorize(headers: Headers): void;
618
+ }, {
619
+ id: string;
620
+ properties: Record<string, string | null>;
621
+ createdAt?: string | undefined;
622
+ updatedAt?: string | undefined;
623
+ archived?: boolean | undefined;
624
+ associations?: Record<string, {
625
+ results: {
626
+ id: string;
627
+ type: string;
628
+ }[];
629
+ }> | undefined;
630
+ }> & {
631
+ slug: "createLineItem";
632
+ };
633
+ export declare const updateLineItem: import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
634
+ lineItemId: z.ZodString;
635
+ productId: z.ZodOptional<z.ZodString>;
636
+ objectProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
637
+ additionalPropertiesToRetrieve: z.ZodOptional<z.ZodArray<z.ZodString>>;
638
+ }, z.core.$strip>, z.ZodObject<{
639
+ id: z.ZodString;
640
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
641
+ createdAt: z.ZodOptional<z.ZodString>;
642
+ updatedAt: z.ZodOptional<z.ZodString>;
643
+ archived: z.ZodOptional<z.ZodBoolean>;
644
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
645
+ results: z.ZodArray<z.ZodObject<{
646
+ id: z.ZodString;
647
+ type: z.ZodString;
648
+ }, z.core.$strip>>;
649
+ }, z.core.$strip>>>;
650
+ }, z.core.$strip>, Record<string, never>, {
651
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
652
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
653
+ authorize(headers: Headers): void;
654
+ }, {
655
+ id: string;
656
+ properties: Record<string, string | null>;
657
+ createdAt?: string | undefined;
658
+ updatedAt?: string | undefined;
659
+ archived?: boolean | undefined;
660
+ associations?: Record<string, {
661
+ results: {
662
+ id: string;
663
+ type: string;
664
+ }[];
665
+ }> | undefined;
666
+ }> & {
667
+ slug: "updateLineItem";
668
+ };
669
+ export declare const getLineItem: import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
670
+ lineItemId: z.ZodString;
671
+ additionalPropertiesToRetrieve: z.ZodOptional<z.ZodArray<z.ZodString>>;
672
+ }, z.core.$strip>, z.ZodObject<{
673
+ id: z.ZodString;
674
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
675
+ createdAt: z.ZodOptional<z.ZodString>;
676
+ updatedAt: z.ZodOptional<z.ZodString>;
677
+ archived: z.ZodOptional<z.ZodBoolean>;
678
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
679
+ results: z.ZodArray<z.ZodObject<{
680
+ id: z.ZodString;
681
+ type: z.ZodString;
682
+ }, z.core.$strip>>;
683
+ }, z.core.$strip>>>;
684
+ }, z.core.$strip>, Record<string, never>, {
685
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
686
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
687
+ authorize(headers: Headers): void;
688
+ }, {
689
+ id: string;
690
+ properties: Record<string, string | null>;
691
+ createdAt?: string | undefined;
692
+ updatedAt?: string | undefined;
693
+ archived?: boolean | undefined;
694
+ associations?: Record<string, {
695
+ results: {
696
+ id: string;
697
+ type: string;
698
+ }[];
699
+ }> | undefined;
700
+ }> & {
701
+ slug: "getLineItem";
702
+ };
703
+ export declare const findLineItem: import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
704
+ firstSearchPropertyName: z.ZodString;
705
+ firstSearchPropertyValue: z.ZodString;
706
+ secondSearchPropertyName: z.ZodOptional<z.ZodString>;
707
+ secondSearchPropertyValue: z.ZodOptional<z.ZodString>;
708
+ additionalPropertiesToRetrieve: z.ZodOptional<z.ZodArray<z.ZodString>>;
709
+ }, z.core.$strip>, z.ZodObject<{
710
+ total: z.ZodNumber;
711
+ results: z.ZodArray<z.ZodObject<{
712
+ id: z.ZodString;
713
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
714
+ createdAt: z.ZodOptional<z.ZodString>;
715
+ updatedAt: z.ZodOptional<z.ZodString>;
716
+ archived: z.ZodOptional<z.ZodBoolean>;
717
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
718
+ results: z.ZodArray<z.ZodObject<{
719
+ id: z.ZodString;
720
+ type: z.ZodString;
721
+ }, z.core.$strip>>;
722
+ }, z.core.$strip>>>;
723
+ }, z.core.$strip>>;
724
+ }, z.core.$strip>, Record<string, never>, {
725
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
726
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
727
+ authorize(headers: Headers): void;
728
+ }, {
729
+ total: number;
730
+ results: {
731
+ id: string;
732
+ properties: Record<string, string | null>;
733
+ createdAt?: string | undefined;
734
+ updatedAt?: string | undefined;
735
+ archived?: boolean | undefined;
736
+ associations?: Record<string, {
737
+ results: {
738
+ id: string;
739
+ type: string;
740
+ }[];
741
+ }> | undefined;
742
+ }[];
743
+ }> & {
744
+ slug: "findLineItem";
745
+ };
746
+ export declare const createProduct: import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
747
+ objectProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
748
+ additionalPropertiesToRetrieve: z.ZodOptional<z.ZodArray<z.ZodString>>;
749
+ }, z.core.$strip>, z.ZodObject<{
750
+ id: z.ZodString;
751
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
752
+ createdAt: z.ZodOptional<z.ZodString>;
753
+ updatedAt: z.ZodOptional<z.ZodString>;
754
+ archived: z.ZodOptional<z.ZodBoolean>;
755
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
756
+ results: z.ZodArray<z.ZodObject<{
757
+ id: z.ZodString;
758
+ type: z.ZodString;
759
+ }, z.core.$strip>>;
760
+ }, z.core.$strip>>>;
761
+ }, z.core.$strip>, Record<string, never>, {
762
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
763
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
764
+ authorize(headers: Headers): void;
765
+ }, {
766
+ id: string;
767
+ properties: Record<string, string | null>;
768
+ createdAt?: string | undefined;
769
+ updatedAt?: string | undefined;
770
+ archived?: boolean | undefined;
771
+ associations?: Record<string, {
772
+ results: {
773
+ id: string;
774
+ type: string;
775
+ }[];
776
+ }> | undefined;
777
+ }> & {
778
+ slug: "createProduct";
779
+ };
780
+ export declare const updateProduct: import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
781
+ productId: z.ZodString;
782
+ objectProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
783
+ additionalPropertiesToRetrieve: z.ZodOptional<z.ZodArray<z.ZodString>>;
784
+ }, z.core.$strip>, z.ZodObject<{
785
+ id: z.ZodString;
786
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
787
+ createdAt: z.ZodOptional<z.ZodString>;
788
+ updatedAt: z.ZodOptional<z.ZodString>;
789
+ archived: z.ZodOptional<z.ZodBoolean>;
790
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
791
+ results: z.ZodArray<z.ZodObject<{
792
+ id: z.ZodString;
793
+ type: z.ZodString;
794
+ }, z.core.$strip>>;
795
+ }, z.core.$strip>>>;
796
+ }, z.core.$strip>, Record<string, never>, {
797
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
798
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
799
+ authorize(headers: Headers): void;
800
+ }, {
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
+ slug: "updateProduct";
814
+ };
815
+ export declare const getProduct: import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
816
+ productId: z.ZodString;
817
+ additionalPropertiesToRetrieve: z.ZodOptional<z.ZodArray<z.ZodString>>;
818
+ }, z.core.$strip>, z.ZodObject<{
819
+ id: z.ZodString;
820
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
821
+ createdAt: z.ZodOptional<z.ZodString>;
822
+ updatedAt: z.ZodOptional<z.ZodString>;
823
+ archived: z.ZodOptional<z.ZodBoolean>;
824
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
825
+ results: z.ZodArray<z.ZodObject<{
826
+ id: z.ZodString;
827
+ type: z.ZodString;
828
+ }, z.core.$strip>>;
829
+ }, z.core.$strip>>>;
830
+ }, z.core.$strip>, Record<string, never>, {
831
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
832
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
833
+ authorize(headers: Headers): void;
834
+ }, {
835
+ id: string;
836
+ properties: Record<string, string | null>;
837
+ createdAt?: string | undefined;
838
+ updatedAt?: string | undefined;
839
+ archived?: boolean | undefined;
840
+ associations?: Record<string, {
841
+ results: {
842
+ id: string;
843
+ type: string;
844
+ }[];
845
+ }> | undefined;
846
+ }> & {
847
+ slug: "getProduct";
848
+ };
849
+ export declare const findProduct: import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
850
+ firstSearchPropertyName: z.ZodString;
851
+ firstSearchPropertyValue: z.ZodString;
852
+ secondSearchPropertyName: z.ZodOptional<z.ZodString>;
853
+ secondSearchPropertyValue: z.ZodOptional<z.ZodString>;
854
+ additionalPropertiesToRetrieve: z.ZodOptional<z.ZodArray<z.ZodString>>;
855
+ }, z.core.$strip>, z.ZodObject<{
856
+ total: z.ZodNumber;
857
+ results: z.ZodArray<z.ZodObject<{
858
+ id: z.ZodString;
859
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
860
+ createdAt: z.ZodOptional<z.ZodString>;
861
+ updatedAt: z.ZodOptional<z.ZodString>;
862
+ archived: z.ZodOptional<z.ZodBoolean>;
863
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
864
+ results: z.ZodArray<z.ZodObject<{
865
+ id: z.ZodString;
866
+ type: z.ZodString;
867
+ }, z.core.$strip>>;
868
+ }, z.core.$strip>>>;
869
+ }, z.core.$strip>>;
870
+ }, z.core.$strip>, Record<string, never>, {
871
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
872
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
873
+ authorize(headers: Headers): void;
874
+ }, {
875
+ total: number;
876
+ results: {
877
+ id: string;
878
+ properties: Record<string, string | null>;
879
+ createdAt?: string | undefined;
880
+ updatedAt?: string | undefined;
881
+ archived?: boolean | undefined;
882
+ associations?: Record<string, {
883
+ results: {
884
+ id: string;
885
+ type: string;
886
+ }[];
887
+ }> | undefined;
888
+ }[];
889
+ }> & {
890
+ slug: "findProduct";
891
+ };
892
+ export declare const createCustomObject: import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
893
+ customObjectType: z.ZodString;
894
+ objectProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
895
+ additionalPropertiesToRetrieve: z.ZodOptional<z.ZodArray<z.ZodString>>;
896
+ }, z.core.$strip>, z.ZodObject<{
897
+ id: z.ZodString;
898
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
899
+ createdAt: z.ZodOptional<z.ZodString>;
900
+ updatedAt: z.ZodOptional<z.ZodString>;
901
+ archived: z.ZodOptional<z.ZodBoolean>;
902
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
903
+ results: z.ZodArray<z.ZodObject<{
904
+ id: z.ZodString;
905
+ type: z.ZodString;
906
+ }, z.core.$strip>>;
907
+ }, z.core.$strip>>>;
908
+ }, z.core.$strip>, Record<string, never>, {
909
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
910
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
911
+ authorize(headers: Headers): void;
912
+ }, {
913
+ id: string;
914
+ properties: Record<string, string | null>;
915
+ createdAt?: string | undefined;
916
+ updatedAt?: string | undefined;
917
+ archived?: boolean | undefined;
918
+ associations?: Record<string, {
919
+ results: {
920
+ id: string;
921
+ type: string;
922
+ }[];
923
+ }> | undefined;
924
+ }> & {
925
+ slug: "createCustomObject";
926
+ };
927
+ export declare const updateCustomObject: import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
928
+ customObjectType: z.ZodString;
929
+ customObjectId: z.ZodString;
930
+ objectProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
931
+ additionalPropertiesToRetrieve: z.ZodOptional<z.ZodArray<z.ZodString>>;
932
+ }, z.core.$strip>, z.ZodObject<{
933
+ id: z.ZodString;
934
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
935
+ createdAt: z.ZodOptional<z.ZodString>;
936
+ updatedAt: z.ZodOptional<z.ZodString>;
937
+ archived: z.ZodOptional<z.ZodBoolean>;
938
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
939
+ results: z.ZodArray<z.ZodObject<{
940
+ id: z.ZodString;
941
+ type: z.ZodString;
942
+ }, z.core.$strip>>;
943
+ }, z.core.$strip>>>;
944
+ }, z.core.$strip>, Record<string, never>, {
945
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
946
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
947
+ authorize(headers: Headers): void;
948
+ }, {
949
+ id: string;
950
+ properties: Record<string, string | null>;
951
+ createdAt?: string | undefined;
952
+ updatedAt?: string | undefined;
953
+ archived?: boolean | undefined;
954
+ associations?: Record<string, {
955
+ results: {
956
+ id: string;
957
+ type: string;
958
+ }[];
959
+ }> | undefined;
960
+ }> & {
961
+ slug: "updateCustomObject";
962
+ };
963
+ export declare const getCustomObject: import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
964
+ customObjectType: z.ZodString;
965
+ customObjectId: z.ZodString;
966
+ additionalPropertiesToRetrieve: z.ZodOptional<z.ZodArray<z.ZodString>>;
967
+ }, z.core.$strip>, z.ZodObject<{
968
+ id: z.ZodString;
969
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
970
+ createdAt: z.ZodOptional<z.ZodString>;
971
+ updatedAt: z.ZodOptional<z.ZodString>;
972
+ archived: z.ZodOptional<z.ZodBoolean>;
973
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
974
+ results: z.ZodArray<z.ZodObject<{
975
+ id: z.ZodString;
976
+ type: z.ZodString;
977
+ }, z.core.$strip>>;
978
+ }, z.core.$strip>>>;
979
+ }, z.core.$strip>, Record<string, never>, {
980
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
981
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
982
+ authorize(headers: Headers): void;
983
+ }, {
984
+ id: string;
985
+ properties: Record<string, string | null>;
986
+ createdAt?: string | undefined;
987
+ updatedAt?: string | undefined;
988
+ archived?: boolean | undefined;
989
+ associations?: Record<string, {
990
+ results: {
991
+ id: string;
992
+ type: string;
993
+ }[];
994
+ }> | undefined;
995
+ }> & {
996
+ slug: "getCustomObject";
997
+ };
998
+ export declare const findCustomObject: import("frogbot/pieces").PieceActionDefinition<z.ZodObject<{
999
+ customObjectType: z.ZodString;
1000
+ firstSearchPropertyName: z.ZodString;
1001
+ firstSearchPropertyValue: z.ZodString;
1002
+ secondSearchPropertyName: z.ZodOptional<z.ZodString>;
1003
+ secondSearchPropertyValue: z.ZodOptional<z.ZodString>;
1004
+ additionalPropertiesToRetrieve: z.ZodOptional<z.ZodArray<z.ZodString>>;
1005
+ }, z.core.$strip>, z.ZodObject<{
1006
+ total: z.ZodNumber;
1007
+ results: z.ZodArray<z.ZodObject<{
1008
+ id: z.ZodString;
1009
+ properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
1010
+ createdAt: z.ZodOptional<z.ZodString>;
1011
+ updatedAt: z.ZodOptional<z.ZodString>;
1012
+ archived: z.ZodOptional<z.ZodBoolean>;
1013
+ associations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1014
+ results: z.ZodArray<z.ZodObject<{
1015
+ id: z.ZodString;
1016
+ type: z.ZodString;
1017
+ }, z.core.$strip>>;
1018
+ }, z.core.$strip>>>;
1019
+ }, z.core.$strip>>;
1020
+ }, z.core.$strip>, Record<string, never>, {
1021
+ json: (request: import("../client.js").HubSpotRequest) => Promise<unknown>;
1022
+ request: <T>(schema: z.ZodType<T>, options: import("../client.js").HubSpotRequest) => Promise<T>;
1023
+ authorize(headers: Headers): void;
1024
+ }, {
1025
+ total: number;
1026
+ results: {
1027
+ id: string;
1028
+ properties: Record<string, string | null>;
1029
+ createdAt?: string | undefined;
1030
+ updatedAt?: string | undefined;
1031
+ archived?: boolean | undefined;
1032
+ associations?: Record<string, {
1033
+ results: {
1034
+ id: string;
1035
+ type: string;
1036
+ }[];
1037
+ }> | undefined;
1038
+ }[];
1039
+ }> & {
1040
+ slug: "findCustomObject";
1041
+ };
1042
+ //# sourceMappingURL=crm.d.ts.map