@corsair-dev/hubspot 0.1.2 → 0.1.3

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.
@@ -6,159 +6,52 @@ export declare const ContactsEndpoints: {
6
6
  associations?: string[] | undefined;
7
7
  archived?: boolean | undefined;
8
8
  idProperty?: string | undefined;
9
- }) => Promise<import("zod").objectOutputType<{
10
- id: import("zod").ZodString;
11
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
12
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
13
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
14
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
15
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
16
- results: import("zod").ZodArray<import("zod").ZodObject<{
17
- id: import("zod").ZodString;
18
- type: import("zod").ZodOptional<import("zod").ZodString>;
19
- }, "strip", import("zod").ZodTypeAny, {
20
- id: string;
21
- type?: string | undefined;
22
- }, {
23
- id: string;
24
- type?: string | undefined;
25
- }>, "many">;
26
- }, "strip", import("zod").ZodTypeAny, {
27
- results: {
28
- id: string;
29
- type?: string | undefined;
30
- }[];
31
- }, {
9
+ }) => Promise<{
10
+ [x: string]: unknown;
11
+ id: string;
12
+ properties?: Record<string, string> | undefined;
13
+ createdAt?: Date | null | undefined;
14
+ updatedAt?: Date | null | undefined;
15
+ archived?: boolean | undefined;
16
+ associations?: Record<string, string[] | {
32
17
  results: {
33
18
  id: string;
34
19
  type?: string | undefined;
35
20
  }[];
36
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
37
- }, import("zod").ZodTypeAny, "passthrough">>;
21
+ }> | undefined;
22
+ }>;
38
23
  getMany: (ctx: import("..").HubSpotContext, args: {
24
+ limit?: number | undefined;
25
+ after?: string | undefined;
39
26
  properties?: string[] | undefined;
40
27
  propertiesWithHistory?: string[] | undefined;
41
28
  associations?: string[] | undefined;
42
29
  archived?: boolean | undefined;
43
- limit?: number | undefined;
44
- after?: string | undefined;
45
- }) => Promise<import("zod").objectOutputType<{
46
- results: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
47
- id: import("zod").ZodString;
48
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
49
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
50
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
51
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
52
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
53
- results: import("zod").ZodArray<import("zod").ZodObject<{
54
- id: import("zod").ZodString;
55
- type: import("zod").ZodOptional<import("zod").ZodString>;
56
- }, "strip", import("zod").ZodTypeAny, {
57
- id: string;
58
- type?: string | undefined;
59
- }, {
60
- id: string;
61
- type?: string | undefined;
62
- }>, "many">;
63
- }, "strip", import("zod").ZodTypeAny, {
64
- results: {
65
- id: string;
66
- type?: string | undefined;
67
- }[];
68
- }, {
69
- results: {
70
- id: string;
71
- type?: string | undefined;
72
- }[];
73
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
74
- }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
75
- id: import("zod").ZodString;
76
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
77
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
78
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
79
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
80
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
81
- results: import("zod").ZodArray<import("zod").ZodObject<{
82
- id: import("zod").ZodString;
83
- type: import("zod").ZodOptional<import("zod").ZodString>;
84
- }, "strip", import("zod").ZodTypeAny, {
85
- id: string;
86
- type?: string | undefined;
87
- }, {
88
- id: string;
89
- type?: string | undefined;
90
- }>, "many">;
91
- }, "strip", import("zod").ZodTypeAny, {
92
- results: {
93
- id: string;
94
- type?: string | undefined;
95
- }[];
96
- }, {
97
- results: {
98
- id: string;
99
- type?: string | undefined;
100
- }[];
101
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
102
- }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
103
- id: import("zod").ZodString;
104
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
105
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
106
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
107
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
108
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
109
- results: import("zod").ZodArray<import("zod").ZodObject<{
110
- id: import("zod").ZodString;
111
- type: import("zod").ZodOptional<import("zod").ZodString>;
112
- }, "strip", import("zod").ZodTypeAny, {
113
- id: string;
114
- type?: string | undefined;
115
- }, {
116
- id: string;
117
- type?: string | undefined;
118
- }>, "many">;
119
- }, "strip", import("zod").ZodTypeAny, {
120
- results: {
121
- id: string;
122
- type?: string | undefined;
123
- }[];
124
- }, {
30
+ }) => Promise<{
31
+ [x: string]: unknown;
32
+ results?: {
33
+ [x: string]: unknown;
34
+ id: string;
35
+ properties?: Record<string, string> | undefined;
36
+ createdAt?: Date | null | undefined;
37
+ updatedAt?: Date | null | undefined;
38
+ archived?: boolean | undefined;
39
+ associations?: Record<string, string[] | {
125
40
  results: {
126
41
  id: string;
127
42
  type?: string | undefined;
128
43
  }[];
129
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
130
- }, import("zod").ZodTypeAny, "passthrough">>, "many">>;
131
- paging: import("zod").ZodOptional<import("zod").ZodObject<{
132
- next: import("zod").ZodOptional<import("zod").ZodObject<{
133
- after: import("zod").ZodString;
134
- }, "strip", import("zod").ZodTypeAny, {
135
- after: string;
136
- }, {
137
- after: string;
138
- }>>;
139
- prev: import("zod").ZodOptional<import("zod").ZodObject<{
140
- before: import("zod").ZodString;
141
- }, "strip", import("zod").ZodTypeAny, {
142
- before: string;
143
- }, {
144
- before: string;
145
- }>>;
146
- }, "strip", import("zod").ZodTypeAny, {
147
- next?: {
148
- after: string;
149
- } | undefined;
150
- prev?: {
151
- before: string;
152
- } | undefined;
153
- }, {
44
+ }> | undefined;
45
+ }[] | undefined;
46
+ paging?: {
154
47
  next?: {
155
48
  after: string;
156
49
  } | undefined;
157
50
  prev?: {
158
51
  before: string;
159
52
  } | undefined;
160
- }>>;
161
- }, import("zod").ZodTypeAny, "passthrough">>;
53
+ } | undefined;
54
+ }>;
162
55
  createOrUpdate: (ctx: import("..").HubSpotContext, args: {
163
56
  properties?: Record<string, string> | undefined;
164
57
  associations?: {
@@ -170,412 +63,121 @@ export declare const ContactsEndpoints: {
170
63
  associationTypeId: number;
171
64
  }[];
172
65
  }[] | undefined;
173
- }) => Promise<import("zod").objectOutputType<{
174
- id: import("zod").ZodString;
175
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
176
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
177
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
178
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
179
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
180
- results: import("zod").ZodArray<import("zod").ZodObject<{
181
- id: import("zod").ZodString;
182
- type: import("zod").ZodOptional<import("zod").ZodString>;
183
- }, "strip", import("zod").ZodTypeAny, {
184
- id: string;
185
- type?: string | undefined;
186
- }, {
187
- id: string;
188
- type?: string | undefined;
189
- }>, "many">;
190
- }, "strip", import("zod").ZodTypeAny, {
191
- results: {
192
- id: string;
193
- type?: string | undefined;
194
- }[];
195
- }, {
66
+ }) => Promise<{
67
+ [x: string]: unknown;
68
+ id: string;
69
+ properties?: Record<string, string> | undefined;
70
+ createdAt?: Date | null | undefined;
71
+ updatedAt?: Date | null | undefined;
72
+ archived?: boolean | undefined;
73
+ associations?: Record<string, string[] | {
196
74
  results: {
197
75
  id: string;
198
76
  type?: string | undefined;
199
77
  }[];
200
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
201
- }, import("zod").ZodTypeAny, "passthrough">>;
78
+ }> | undefined;
79
+ }>;
202
80
  delete: (ctx: import("..").HubSpotContext, args: {
203
81
  contactId: string;
204
82
  }) => Promise<void>;
205
83
  getRecentlyCreated: (ctx: import("..").HubSpotContext, args: {
206
- after?: string | undefined;
207
84
  count?: number | undefined;
85
+ after?: string | undefined;
208
86
  since?: string | undefined;
209
- }) => Promise<import("zod").objectOutputType<{
210
- results: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
211
- id: import("zod").ZodString;
212
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
213
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
214
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
215
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
216
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
217
- results: import("zod").ZodArray<import("zod").ZodObject<{
218
- id: import("zod").ZodString;
219
- type: import("zod").ZodOptional<import("zod").ZodString>;
220
- }, "strip", import("zod").ZodTypeAny, {
221
- id: string;
222
- type?: string | undefined;
223
- }, {
224
- id: string;
225
- type?: string | undefined;
226
- }>, "many">;
227
- }, "strip", import("zod").ZodTypeAny, {
228
- results: {
229
- id: string;
230
- type?: string | undefined;
231
- }[];
232
- }, {
233
- results: {
234
- id: string;
235
- type?: string | undefined;
236
- }[];
237
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
238
- }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
239
- id: import("zod").ZodString;
240
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
241
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
242
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
243
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
244
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
245
- results: import("zod").ZodArray<import("zod").ZodObject<{
246
- id: import("zod").ZodString;
247
- type: import("zod").ZodOptional<import("zod").ZodString>;
248
- }, "strip", import("zod").ZodTypeAny, {
249
- id: string;
250
- type?: string | undefined;
251
- }, {
252
- id: string;
253
- type?: string | undefined;
254
- }>, "many">;
255
- }, "strip", import("zod").ZodTypeAny, {
256
- results: {
257
- id: string;
258
- type?: string | undefined;
259
- }[];
260
- }, {
261
- results: {
262
- id: string;
263
- type?: string | undefined;
264
- }[];
265
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
266
- }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
267
- id: import("zod").ZodString;
268
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
269
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
270
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
271
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
272
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
273
- results: import("zod").ZodArray<import("zod").ZodObject<{
274
- id: import("zod").ZodString;
275
- type: import("zod").ZodOptional<import("zod").ZodString>;
276
- }, "strip", import("zod").ZodTypeAny, {
277
- id: string;
278
- type?: string | undefined;
279
- }, {
280
- id: string;
281
- type?: string | undefined;
282
- }>, "many">;
283
- }, "strip", import("zod").ZodTypeAny, {
284
- results: {
285
- id: string;
286
- type?: string | undefined;
287
- }[];
288
- }, {
87
+ }) => Promise<{
88
+ [x: string]: unknown;
89
+ results?: {
90
+ [x: string]: unknown;
91
+ id: string;
92
+ properties?: Record<string, string> | undefined;
93
+ createdAt?: Date | null | undefined;
94
+ updatedAt?: Date | null | undefined;
95
+ archived?: boolean | undefined;
96
+ associations?: Record<string, string[] | {
289
97
  results: {
290
98
  id: string;
291
99
  type?: string | undefined;
292
100
  }[];
293
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
294
- }, import("zod").ZodTypeAny, "passthrough">>, "many">>;
295
- paging: import("zod").ZodOptional<import("zod").ZodObject<{
296
- next: import("zod").ZodOptional<import("zod").ZodObject<{
297
- after: import("zod").ZodString;
298
- }, "strip", import("zod").ZodTypeAny, {
299
- after: string;
300
- }, {
301
- after: string;
302
- }>>;
303
- prev: import("zod").ZodOptional<import("zod").ZodObject<{
304
- before: import("zod").ZodString;
305
- }, "strip", import("zod").ZodTypeAny, {
306
- before: string;
307
- }, {
308
- before: string;
309
- }>>;
310
- }, "strip", import("zod").ZodTypeAny, {
311
- next?: {
312
- after: string;
313
- } | undefined;
314
- prev?: {
315
- before: string;
316
- } | undefined;
317
- }, {
101
+ }> | undefined;
102
+ }[] | undefined;
103
+ paging?: {
318
104
  next?: {
319
105
  after: string;
320
106
  } | undefined;
321
107
  prev?: {
322
108
  before: string;
323
109
  } | undefined;
324
- }>>;
325
- }, import("zod").ZodTypeAny, "passthrough">>;
110
+ } | undefined;
111
+ }>;
326
112
  getRecentlyUpdated: (ctx: import("..").HubSpotContext, args: {
327
- after?: string | undefined;
328
113
  count?: number | undefined;
114
+ after?: string | undefined;
329
115
  since?: string | undefined;
330
- }) => Promise<import("zod").objectOutputType<{
331
- results: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
332
- id: import("zod").ZodString;
333
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
334
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
335
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
336
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
337
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
338
- results: import("zod").ZodArray<import("zod").ZodObject<{
339
- id: import("zod").ZodString;
340
- type: import("zod").ZodOptional<import("zod").ZodString>;
341
- }, "strip", import("zod").ZodTypeAny, {
342
- id: string;
343
- type?: string | undefined;
344
- }, {
345
- id: string;
346
- type?: string | undefined;
347
- }>, "many">;
348
- }, "strip", import("zod").ZodTypeAny, {
349
- results: {
350
- id: string;
351
- type?: string | undefined;
352
- }[];
353
- }, {
354
- results: {
355
- id: string;
356
- type?: string | undefined;
357
- }[];
358
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
359
- }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
360
- id: import("zod").ZodString;
361
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
362
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
363
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
364
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
365
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
366
- results: import("zod").ZodArray<import("zod").ZodObject<{
367
- id: import("zod").ZodString;
368
- type: import("zod").ZodOptional<import("zod").ZodString>;
369
- }, "strip", import("zod").ZodTypeAny, {
370
- id: string;
371
- type?: string | undefined;
372
- }, {
373
- id: string;
374
- type?: string | undefined;
375
- }>, "many">;
376
- }, "strip", import("zod").ZodTypeAny, {
377
- results: {
378
- id: string;
379
- type?: string | undefined;
380
- }[];
381
- }, {
382
- results: {
383
- id: string;
384
- type?: string | undefined;
385
- }[];
386
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
387
- }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
388
- id: import("zod").ZodString;
389
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
390
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
391
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
392
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
393
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
394
- results: import("zod").ZodArray<import("zod").ZodObject<{
395
- id: import("zod").ZodString;
396
- type: import("zod").ZodOptional<import("zod").ZodString>;
397
- }, "strip", import("zod").ZodTypeAny, {
398
- id: string;
399
- type?: string | undefined;
400
- }, {
401
- id: string;
402
- type?: string | undefined;
403
- }>, "many">;
404
- }, "strip", import("zod").ZodTypeAny, {
405
- results: {
406
- id: string;
407
- type?: string | undefined;
408
- }[];
409
- }, {
116
+ }) => Promise<{
117
+ [x: string]: unknown;
118
+ results?: {
119
+ [x: string]: unknown;
120
+ id: string;
121
+ properties?: Record<string, string> | undefined;
122
+ createdAt?: Date | null | undefined;
123
+ updatedAt?: Date | null | undefined;
124
+ archived?: boolean | undefined;
125
+ associations?: Record<string, string[] | {
410
126
  results: {
411
127
  id: string;
412
128
  type?: string | undefined;
413
129
  }[];
414
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
415
- }, import("zod").ZodTypeAny, "passthrough">>, "many">>;
416
- paging: import("zod").ZodOptional<import("zod").ZodObject<{
417
- next: import("zod").ZodOptional<import("zod").ZodObject<{
418
- after: import("zod").ZodString;
419
- }, "strip", import("zod").ZodTypeAny, {
420
- after: string;
421
- }, {
422
- after: string;
423
- }>>;
424
- prev: import("zod").ZodOptional<import("zod").ZodObject<{
425
- before: import("zod").ZodString;
426
- }, "strip", import("zod").ZodTypeAny, {
427
- before: string;
428
- }, {
429
- before: string;
430
- }>>;
431
- }, "strip", import("zod").ZodTypeAny, {
432
- next?: {
433
- after: string;
434
- } | undefined;
435
- prev?: {
436
- before: string;
437
- } | undefined;
438
- }, {
130
+ }> | undefined;
131
+ }[] | undefined;
132
+ paging?: {
439
133
  next?: {
440
134
  after: string;
441
135
  } | undefined;
442
136
  prev?: {
443
137
  before: string;
444
138
  } | undefined;
445
- }>>;
446
- }, import("zod").ZodTypeAny, "passthrough">>;
139
+ } | undefined;
140
+ }>;
447
141
  search: (ctx: import("..").HubSpotContext, args: {
448
142
  query?: string | undefined;
449
- properties?: string[] | undefined;
450
143
  limit?: number | undefined;
451
144
  after?: string | undefined;
452
145
  sorts?: string[] | undefined;
146
+ properties?: string[] | undefined;
453
147
  filterGroups?: {
454
148
  filters: {
455
149
  operator: "BETWEEN" | "CONTAINS_TOKEN" | "EQ" | "GT" | "GTE" | "HAS_PROPERTY" | "IN" | "LT" | "LTE" | "NEQ" | "NOT_CONTAINS_TOKEN" | "NOT_HAS_PROPERTY" | "NOT_IN";
456
150
  propertyName: string;
151
+ highValue?: string | undefined;
457
152
  value?: string | undefined;
458
153
  values?: string[] | undefined;
459
- highValue?: string | undefined;
460
154
  }[];
461
155
  }[] | undefined;
462
- }) => Promise<import("zod").objectOutputType<{
463
- results: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
464
- id: import("zod").ZodString;
465
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
466
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
467
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
468
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
469
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
470
- results: import("zod").ZodArray<import("zod").ZodObject<{
471
- id: import("zod").ZodString;
472
- type: import("zod").ZodOptional<import("zod").ZodString>;
473
- }, "strip", import("zod").ZodTypeAny, {
474
- id: string;
475
- type?: string | undefined;
476
- }, {
477
- id: string;
478
- type?: string | undefined;
479
- }>, "many">;
480
- }, "strip", import("zod").ZodTypeAny, {
481
- results: {
482
- id: string;
483
- type?: string | undefined;
484
- }[];
485
- }, {
486
- results: {
487
- id: string;
488
- type?: string | undefined;
489
- }[];
490
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
491
- }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
492
- id: import("zod").ZodString;
493
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
494
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
495
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
496
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
497
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
498
- results: import("zod").ZodArray<import("zod").ZodObject<{
499
- id: import("zod").ZodString;
500
- type: import("zod").ZodOptional<import("zod").ZodString>;
501
- }, "strip", import("zod").ZodTypeAny, {
502
- id: string;
503
- type?: string | undefined;
504
- }, {
505
- id: string;
506
- type?: string | undefined;
507
- }>, "many">;
508
- }, "strip", import("zod").ZodTypeAny, {
509
- results: {
510
- id: string;
511
- type?: string | undefined;
512
- }[];
513
- }, {
514
- results: {
515
- id: string;
516
- type?: string | undefined;
517
- }[];
518
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
519
- }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
520
- id: import("zod").ZodString;
521
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
522
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
523
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
524
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
525
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
526
- results: import("zod").ZodArray<import("zod").ZodObject<{
527
- id: import("zod").ZodString;
528
- type: import("zod").ZodOptional<import("zod").ZodString>;
529
- }, "strip", import("zod").ZodTypeAny, {
530
- id: string;
531
- type?: string | undefined;
532
- }, {
533
- id: string;
534
- type?: string | undefined;
535
- }>, "many">;
536
- }, "strip", import("zod").ZodTypeAny, {
537
- results: {
538
- id: string;
539
- type?: string | undefined;
540
- }[];
541
- }, {
156
+ }) => Promise<{
157
+ [x: string]: unknown;
158
+ results?: {
159
+ [x: string]: unknown;
160
+ id: string;
161
+ properties?: Record<string, string> | undefined;
162
+ createdAt?: Date | null | undefined;
163
+ updatedAt?: Date | null | undefined;
164
+ archived?: boolean | undefined;
165
+ associations?: Record<string, string[] | {
542
166
  results: {
543
167
  id: string;
544
168
  type?: string | undefined;
545
169
  }[];
546
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
547
- }, import("zod").ZodTypeAny, "passthrough">>, "many">>;
548
- paging: import("zod").ZodOptional<import("zod").ZodObject<{
549
- next: import("zod").ZodOptional<import("zod").ZodObject<{
550
- after: import("zod").ZodString;
551
- }, "strip", import("zod").ZodTypeAny, {
552
- after: string;
553
- }, {
554
- after: string;
555
- }>>;
556
- prev: import("zod").ZodOptional<import("zod").ZodObject<{
557
- before: import("zod").ZodString;
558
- }, "strip", import("zod").ZodTypeAny, {
559
- before: string;
560
- }, {
561
- before: string;
562
- }>>;
563
- }, "strip", import("zod").ZodTypeAny, {
564
- next?: {
565
- after: string;
566
- } | undefined;
567
- prev?: {
568
- before: string;
569
- } | undefined;
570
- }, {
170
+ }> | undefined;
171
+ }[] | undefined;
172
+ paging?: {
571
173
  next?: {
572
174
  after: string;
573
175
  } | undefined;
574
176
  prev?: {
575
177
  before: string;
576
178
  } | undefined;
577
- }>>;
578
- }, import("zod").ZodTypeAny, "passthrough">>;
179
+ } | undefined;
180
+ }>;
579
181
  };
580
182
  export declare const CompaniesEndpoints: {
581
183
  get: (ctx: import("..").HubSpotContext, args: {
@@ -585,159 +187,52 @@ export declare const CompaniesEndpoints: {
585
187
  associations?: string[] | undefined;
586
188
  archived?: boolean | undefined;
587
189
  idProperty?: string | undefined;
588
- }) => Promise<import("zod").objectOutputType<{
589
- id: import("zod").ZodString;
590
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
591
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
592
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
593
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
594
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
595
- results: import("zod").ZodArray<import("zod").ZodObject<{
596
- id: import("zod").ZodString;
597
- type: import("zod").ZodOptional<import("zod").ZodString>;
598
- }, "strip", import("zod").ZodTypeAny, {
599
- id: string;
600
- type?: string | undefined;
601
- }, {
602
- id: string;
603
- type?: string | undefined;
604
- }>, "many">;
605
- }, "strip", import("zod").ZodTypeAny, {
606
- results: {
607
- id: string;
608
- type?: string | undefined;
609
- }[];
610
- }, {
190
+ }) => Promise<{
191
+ [x: string]: unknown;
192
+ id: string;
193
+ properties?: Record<string, string> | undefined;
194
+ createdAt?: Date | null | undefined;
195
+ updatedAt?: Date | null | undefined;
196
+ archived?: boolean | undefined;
197
+ associations?: Record<string, string[] | {
611
198
  results: {
612
199
  id: string;
613
200
  type?: string | undefined;
614
201
  }[];
615
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
616
- }, import("zod").ZodTypeAny, "passthrough">>;
202
+ }> | undefined;
203
+ }>;
617
204
  getMany: (ctx: import("..").HubSpotContext, args: {
205
+ limit?: number | undefined;
206
+ after?: string | undefined;
618
207
  properties?: string[] | undefined;
619
208
  propertiesWithHistory?: string[] | undefined;
620
209
  associations?: string[] | undefined;
621
210
  archived?: boolean | undefined;
622
- limit?: number | undefined;
623
- after?: string | undefined;
624
- }) => Promise<import("zod").objectOutputType<{
625
- results: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
626
- id: import("zod").ZodString;
627
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
628
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
629
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
630
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
631
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
632
- results: import("zod").ZodArray<import("zod").ZodObject<{
633
- id: import("zod").ZodString;
634
- type: import("zod").ZodOptional<import("zod").ZodString>;
635
- }, "strip", import("zod").ZodTypeAny, {
636
- id: string;
637
- type?: string | undefined;
638
- }, {
639
- id: string;
640
- type?: string | undefined;
641
- }>, "many">;
642
- }, "strip", import("zod").ZodTypeAny, {
643
- results: {
644
- id: string;
645
- type?: string | undefined;
646
- }[];
647
- }, {
648
- results: {
649
- id: string;
650
- type?: string | undefined;
651
- }[];
652
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
653
- }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
654
- id: import("zod").ZodString;
655
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
656
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
657
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
658
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
659
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
660
- results: import("zod").ZodArray<import("zod").ZodObject<{
661
- id: import("zod").ZodString;
662
- type: import("zod").ZodOptional<import("zod").ZodString>;
663
- }, "strip", import("zod").ZodTypeAny, {
664
- id: string;
665
- type?: string | undefined;
666
- }, {
667
- id: string;
668
- type?: string | undefined;
669
- }>, "many">;
670
- }, "strip", import("zod").ZodTypeAny, {
211
+ }) => Promise<{
212
+ [x: string]: unknown;
213
+ results?: {
214
+ [x: string]: unknown;
215
+ id: string;
216
+ properties?: Record<string, string> | undefined;
217
+ createdAt?: Date | null | undefined;
218
+ updatedAt?: Date | null | undefined;
219
+ archived?: boolean | undefined;
220
+ associations?: Record<string, string[] | {
671
221
  results: {
672
222
  id: string;
673
223
  type?: string | undefined;
674
224
  }[];
675
- }, {
676
- results: {
677
- id: string;
678
- type?: string | undefined;
679
- }[];
680
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
681
- }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
682
- id: import("zod").ZodString;
683
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
684
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
685
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
686
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
687
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
688
- results: import("zod").ZodArray<import("zod").ZodObject<{
689
- id: import("zod").ZodString;
690
- type: import("zod").ZodOptional<import("zod").ZodString>;
691
- }, "strip", import("zod").ZodTypeAny, {
692
- id: string;
693
- type?: string | undefined;
694
- }, {
695
- id: string;
696
- type?: string | undefined;
697
- }>, "many">;
698
- }, "strip", import("zod").ZodTypeAny, {
699
- results: {
700
- id: string;
701
- type?: string | undefined;
702
- }[];
703
- }, {
704
- results: {
705
- id: string;
706
- type?: string | undefined;
707
- }[];
708
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
709
- }, import("zod").ZodTypeAny, "passthrough">>, "many">>;
710
- paging: import("zod").ZodOptional<import("zod").ZodObject<{
711
- next: import("zod").ZodOptional<import("zod").ZodObject<{
712
- after: import("zod").ZodString;
713
- }, "strip", import("zod").ZodTypeAny, {
714
- after: string;
715
- }, {
716
- after: string;
717
- }>>;
718
- prev: import("zod").ZodOptional<import("zod").ZodObject<{
719
- before: import("zod").ZodString;
720
- }, "strip", import("zod").ZodTypeAny, {
721
- before: string;
722
- }, {
723
- before: string;
724
- }>>;
725
- }, "strip", import("zod").ZodTypeAny, {
726
- next?: {
727
- after: string;
728
- } | undefined;
729
- prev?: {
730
- before: string;
731
- } | undefined;
732
- }, {
225
+ }> | undefined;
226
+ }[] | undefined;
227
+ paging?: {
733
228
  next?: {
734
229
  after: string;
735
230
  } | undefined;
736
231
  prev?: {
737
232
  before: string;
738
233
  } | undefined;
739
- }>>;
740
- }, import("zod").ZodTypeAny, "passthrough">>;
234
+ } | undefined;
235
+ }>;
741
236
  create: (ctx: import("..").HubSpotContext, args: {
742
237
  properties?: Record<string, string> | undefined;
743
238
  associations?: {
@@ -749,402 +244,118 @@ export declare const CompaniesEndpoints: {
749
244
  associationTypeId: number;
750
245
  }[];
751
246
  }[] | undefined;
752
- }) => Promise<import("zod").objectOutputType<{
753
- id: import("zod").ZodString;
754
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
755
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
756
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
757
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
758
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
759
- results: import("zod").ZodArray<import("zod").ZodObject<{
760
- id: import("zod").ZodString;
761
- type: import("zod").ZodOptional<import("zod").ZodString>;
762
- }, "strip", import("zod").ZodTypeAny, {
763
- id: string;
764
- type?: string | undefined;
765
- }, {
766
- id: string;
767
- type?: string | undefined;
768
- }>, "many">;
769
- }, "strip", import("zod").ZodTypeAny, {
770
- results: {
771
- id: string;
772
- type?: string | undefined;
773
- }[];
774
- }, {
247
+ }) => Promise<{
248
+ [x: string]: unknown;
249
+ id: string;
250
+ properties?: Record<string, string> | undefined;
251
+ createdAt?: Date | null | undefined;
252
+ updatedAt?: Date | null | undefined;
253
+ archived?: boolean | undefined;
254
+ associations?: Record<string, string[] | {
775
255
  results: {
776
256
  id: string;
777
257
  type?: string | undefined;
778
258
  }[];
779
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
780
- }, import("zod").ZodTypeAny, "passthrough">>;
259
+ }> | undefined;
260
+ }>;
781
261
  update: (ctx: import("..").HubSpotContext, args: {
782
262
  companyId: string;
783
263
  properties?: Record<string, string> | undefined;
784
- }) => Promise<import("zod").objectOutputType<{
785
- id: import("zod").ZodString;
786
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
787
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
788
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
789
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
790
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
791
- results: import("zod").ZodArray<import("zod").ZodObject<{
792
- id: import("zod").ZodString;
793
- type: import("zod").ZodOptional<import("zod").ZodString>;
794
- }, "strip", import("zod").ZodTypeAny, {
795
- id: string;
796
- type?: string | undefined;
797
- }, {
798
- id: string;
799
- type?: string | undefined;
800
- }>, "many">;
801
- }, "strip", import("zod").ZodTypeAny, {
802
- results: {
803
- id: string;
804
- type?: string | undefined;
805
- }[];
806
- }, {
264
+ }) => Promise<{
265
+ [x: string]: unknown;
266
+ id: string;
267
+ properties?: Record<string, string> | undefined;
268
+ createdAt?: Date | null | undefined;
269
+ updatedAt?: Date | null | undefined;
270
+ archived?: boolean | undefined;
271
+ associations?: Record<string, string[] | {
807
272
  results: {
808
273
  id: string;
809
274
  type?: string | undefined;
810
275
  }[];
811
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
812
- }, import("zod").ZodTypeAny, "passthrough">>;
276
+ }> | undefined;
277
+ }>;
813
278
  delete: (ctx: import("..").HubSpotContext, args: {
814
279
  companyId: string;
815
280
  }) => Promise<void>;
816
281
  getRecentlyCreated: (ctx: import("..").HubSpotContext, args: {
817
- after?: string | undefined;
818
282
  count?: number | undefined;
283
+ after?: string | undefined;
819
284
  since?: string | undefined;
820
- }) => Promise<import("zod").objectOutputType<{
821
- results: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
822
- id: import("zod").ZodString;
823
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
824
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
825
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
826
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
827
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
828
- results: import("zod").ZodArray<import("zod").ZodObject<{
829
- id: import("zod").ZodString;
830
- type: import("zod").ZodOptional<import("zod").ZodString>;
831
- }, "strip", import("zod").ZodTypeAny, {
832
- id: string;
833
- type?: string | undefined;
834
- }, {
835
- id: string;
836
- type?: string | undefined;
837
- }>, "many">;
838
- }, "strip", import("zod").ZodTypeAny, {
839
- results: {
840
- id: string;
841
- type?: string | undefined;
842
- }[];
843
- }, {
844
- results: {
845
- id: string;
846
- type?: string | undefined;
847
- }[];
848
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
849
- }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
850
- id: import("zod").ZodString;
851
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
852
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
853
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
854
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
855
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
856
- results: import("zod").ZodArray<import("zod").ZodObject<{
857
- id: import("zod").ZodString;
858
- type: import("zod").ZodOptional<import("zod").ZodString>;
859
- }, "strip", import("zod").ZodTypeAny, {
860
- id: string;
861
- type?: string | undefined;
862
- }, {
863
- id: string;
864
- type?: string | undefined;
865
- }>, "many">;
866
- }, "strip", import("zod").ZodTypeAny, {
867
- results: {
868
- id: string;
869
- type?: string | undefined;
870
- }[];
871
- }, {
872
- results: {
873
- id: string;
874
- type?: string | undefined;
875
- }[];
876
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
877
- }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
878
- id: import("zod").ZodString;
879
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
880
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
881
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
882
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
883
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
884
- results: import("zod").ZodArray<import("zod").ZodObject<{
885
- id: import("zod").ZodString;
886
- type: import("zod").ZodOptional<import("zod").ZodString>;
887
- }, "strip", import("zod").ZodTypeAny, {
888
- id: string;
889
- type?: string | undefined;
890
- }, {
891
- id: string;
892
- type?: string | undefined;
893
- }>, "many">;
894
- }, "strip", import("zod").ZodTypeAny, {
895
- results: {
896
- id: string;
897
- type?: string | undefined;
898
- }[];
899
- }, {
285
+ }) => Promise<{
286
+ [x: string]: unknown;
287
+ results?: {
288
+ [x: string]: unknown;
289
+ id: string;
290
+ properties?: Record<string, string> | undefined;
291
+ createdAt?: Date | null | undefined;
292
+ updatedAt?: Date | null | undefined;
293
+ archived?: boolean | undefined;
294
+ associations?: Record<string, string[] | {
900
295
  results: {
901
296
  id: string;
902
297
  type?: string | undefined;
903
298
  }[];
904
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
905
- }, import("zod").ZodTypeAny, "passthrough">>, "many">>;
906
- paging: import("zod").ZodOptional<import("zod").ZodObject<{
907
- next: import("zod").ZodOptional<import("zod").ZodObject<{
908
- after: import("zod").ZodString;
909
- }, "strip", import("zod").ZodTypeAny, {
910
- after: string;
911
- }, {
912
- after: string;
913
- }>>;
914
- prev: import("zod").ZodOptional<import("zod").ZodObject<{
915
- before: import("zod").ZodString;
916
- }, "strip", import("zod").ZodTypeAny, {
917
- before: string;
918
- }, {
919
- before: string;
920
- }>>;
921
- }, "strip", import("zod").ZodTypeAny, {
922
- next?: {
923
- after: string;
924
- } | undefined;
925
- prev?: {
926
- before: string;
927
- } | undefined;
928
- }, {
299
+ }> | undefined;
300
+ }[] | undefined;
301
+ paging?: {
929
302
  next?: {
930
303
  after: string;
931
304
  } | undefined;
932
305
  prev?: {
933
306
  before: string;
934
307
  } | undefined;
935
- }>>;
936
- }, import("zod").ZodTypeAny, "passthrough">>;
308
+ } | undefined;
309
+ }>;
937
310
  getRecentlyUpdated: (ctx: import("..").HubSpotContext, args: {
938
- after?: string | undefined;
939
311
  count?: number | undefined;
312
+ after?: string | undefined;
940
313
  since?: string | undefined;
941
- }) => Promise<import("zod").objectOutputType<{
942
- results: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
943
- id: import("zod").ZodString;
944
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
945
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
946
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
947
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
948
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
949
- results: import("zod").ZodArray<import("zod").ZodObject<{
950
- id: import("zod").ZodString;
951
- type: import("zod").ZodOptional<import("zod").ZodString>;
952
- }, "strip", import("zod").ZodTypeAny, {
953
- id: string;
954
- type?: string | undefined;
955
- }, {
956
- id: string;
957
- type?: string | undefined;
958
- }>, "many">;
959
- }, "strip", import("zod").ZodTypeAny, {
960
- results: {
961
- id: string;
962
- type?: string | undefined;
963
- }[];
964
- }, {
965
- results: {
966
- id: string;
967
- type?: string | undefined;
968
- }[];
969
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
970
- }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
971
- id: import("zod").ZodString;
972
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
973
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
974
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
975
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
976
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
977
- results: import("zod").ZodArray<import("zod").ZodObject<{
978
- id: import("zod").ZodString;
979
- type: import("zod").ZodOptional<import("zod").ZodString>;
980
- }, "strip", import("zod").ZodTypeAny, {
981
- id: string;
982
- type?: string | undefined;
983
- }, {
984
- id: string;
985
- type?: string | undefined;
986
- }>, "many">;
987
- }, "strip", import("zod").ZodTypeAny, {
988
- results: {
989
- id: string;
990
- type?: string | undefined;
991
- }[];
992
- }, {
993
- results: {
994
- id: string;
995
- type?: string | undefined;
996
- }[];
997
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
998
- }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
999
- id: import("zod").ZodString;
1000
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
1001
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1002
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1003
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
1004
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
1005
- results: import("zod").ZodArray<import("zod").ZodObject<{
1006
- id: import("zod").ZodString;
1007
- type: import("zod").ZodOptional<import("zod").ZodString>;
1008
- }, "strip", import("zod").ZodTypeAny, {
1009
- id: string;
1010
- type?: string | undefined;
1011
- }, {
1012
- id: string;
1013
- type?: string | undefined;
1014
- }>, "many">;
1015
- }, "strip", import("zod").ZodTypeAny, {
1016
- results: {
1017
- id: string;
1018
- type?: string | undefined;
1019
- }[];
1020
- }, {
314
+ }) => Promise<{
315
+ [x: string]: unknown;
316
+ results?: {
317
+ [x: string]: unknown;
318
+ id: string;
319
+ properties?: Record<string, string> | undefined;
320
+ createdAt?: Date | null | undefined;
321
+ updatedAt?: Date | null | undefined;
322
+ archived?: boolean | undefined;
323
+ associations?: Record<string, string[] | {
1021
324
  results: {
1022
325
  id: string;
1023
326
  type?: string | undefined;
1024
327
  }[];
1025
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
1026
- }, import("zod").ZodTypeAny, "passthrough">>, "many">>;
1027
- paging: import("zod").ZodOptional<import("zod").ZodObject<{
1028
- next: import("zod").ZodOptional<import("zod").ZodObject<{
1029
- after: import("zod").ZodString;
1030
- }, "strip", import("zod").ZodTypeAny, {
1031
- after: string;
1032
- }, {
1033
- after: string;
1034
- }>>;
1035
- prev: import("zod").ZodOptional<import("zod").ZodObject<{
1036
- before: import("zod").ZodString;
1037
- }, "strip", import("zod").ZodTypeAny, {
1038
- before: string;
1039
- }, {
1040
- before: string;
1041
- }>>;
1042
- }, "strip", import("zod").ZodTypeAny, {
1043
- next?: {
1044
- after: string;
1045
- } | undefined;
1046
- prev?: {
1047
- before: string;
1048
- } | undefined;
1049
- }, {
328
+ }> | undefined;
329
+ }[] | undefined;
330
+ paging?: {
1050
331
  next?: {
1051
332
  after: string;
1052
333
  } | undefined;
1053
334
  prev?: {
1054
335
  before: string;
1055
336
  } | undefined;
1056
- }>>;
1057
- }, import("zod").ZodTypeAny, "passthrough">>;
337
+ } | undefined;
338
+ }>;
1058
339
  searchByDomain: (ctx: import("..").HubSpotContext, args: {
1059
340
  domain: string;
1060
341
  properties?: string[] | undefined;
1061
- }) => Promise<import("zod").objectOutputType<{
1062
- results: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1063
- id: import("zod").ZodString;
1064
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
1065
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1066
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1067
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
1068
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
1069
- results: import("zod").ZodArray<import("zod").ZodObject<{
1070
- id: import("zod").ZodString;
1071
- type: import("zod").ZodOptional<import("zod").ZodString>;
1072
- }, "strip", import("zod").ZodTypeAny, {
1073
- id: string;
1074
- type?: string | undefined;
1075
- }, {
1076
- id: string;
1077
- type?: string | undefined;
1078
- }>, "many">;
1079
- }, "strip", import("zod").ZodTypeAny, {
1080
- results: {
1081
- id: string;
1082
- type?: string | undefined;
1083
- }[];
1084
- }, {
1085
- results: {
1086
- id: string;
1087
- type?: string | undefined;
1088
- }[];
1089
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
1090
- }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
1091
- id: import("zod").ZodString;
1092
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
1093
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1094
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1095
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
1096
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
1097
- results: import("zod").ZodArray<import("zod").ZodObject<{
1098
- id: import("zod").ZodString;
1099
- type: import("zod").ZodOptional<import("zod").ZodString>;
1100
- }, "strip", import("zod").ZodTypeAny, {
1101
- id: string;
1102
- type?: string | undefined;
1103
- }, {
1104
- id: string;
1105
- type?: string | undefined;
1106
- }>, "many">;
1107
- }, "strip", import("zod").ZodTypeAny, {
1108
- results: {
1109
- id: string;
1110
- type?: string | undefined;
1111
- }[];
1112
- }, {
1113
- results: {
1114
- id: string;
1115
- type?: string | undefined;
1116
- }[];
1117
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
1118
- }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
1119
- id: import("zod").ZodString;
1120
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
1121
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1122
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1123
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
1124
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
1125
- results: import("zod").ZodArray<import("zod").ZodObject<{
1126
- id: import("zod").ZodString;
1127
- type: import("zod").ZodOptional<import("zod").ZodString>;
1128
- }, "strip", import("zod").ZodTypeAny, {
1129
- id: string;
1130
- type?: string | undefined;
1131
- }, {
1132
- id: string;
1133
- type?: string | undefined;
1134
- }>, "many">;
1135
- }, "strip", import("zod").ZodTypeAny, {
1136
- results: {
1137
- id: string;
1138
- type?: string | undefined;
1139
- }[];
1140
- }, {
342
+ }) => Promise<{
343
+ [x: string]: unknown;
344
+ results?: {
345
+ [x: string]: unknown;
346
+ id: string;
347
+ properties?: Record<string, string> | undefined;
348
+ createdAt?: Date | null | undefined;
349
+ updatedAt?: Date | null | undefined;
350
+ archived?: boolean | undefined;
351
+ associations?: Record<string, string[] | {
1141
352
  results: {
1142
353
  id: string;
1143
354
  type?: string | undefined;
1144
355
  }[];
1145
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
1146
- }, import("zod").ZodTypeAny, "passthrough">>, "many">>;
1147
- }, import("zod").ZodTypeAny, "passthrough">>;
356
+ }> | undefined;
357
+ }[] | undefined;
358
+ }>;
1148
359
  };
1149
360
  export declare const DealsEndpoints: {
1150
361
  get: (ctx: import("..").HubSpotContext, args: {
@@ -1154,159 +365,52 @@ export declare const DealsEndpoints: {
1154
365
  associations?: string[] | undefined;
1155
366
  archived?: boolean | undefined;
1156
367
  idProperty?: string | undefined;
1157
- }) => Promise<import("zod").objectOutputType<{
1158
- id: import("zod").ZodString;
1159
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
1160
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1161
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1162
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
1163
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
1164
- results: import("zod").ZodArray<import("zod").ZodObject<{
1165
- id: import("zod").ZodString;
1166
- type: import("zod").ZodOptional<import("zod").ZodString>;
1167
- }, "strip", import("zod").ZodTypeAny, {
1168
- id: string;
1169
- type?: string | undefined;
1170
- }, {
1171
- id: string;
1172
- type?: string | undefined;
1173
- }>, "many">;
1174
- }, "strip", import("zod").ZodTypeAny, {
1175
- results: {
1176
- id: string;
1177
- type?: string | undefined;
1178
- }[];
1179
- }, {
368
+ }) => Promise<{
369
+ [x: string]: unknown;
370
+ id: string;
371
+ properties?: Record<string, string> | undefined;
372
+ createdAt?: Date | null | undefined;
373
+ updatedAt?: Date | null | undefined;
374
+ archived?: boolean | undefined;
375
+ associations?: Record<string, string[] | {
1180
376
  results: {
1181
377
  id: string;
1182
378
  type?: string | undefined;
1183
379
  }[];
1184
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
1185
- }, import("zod").ZodTypeAny, "passthrough">>;
380
+ }> | undefined;
381
+ }>;
1186
382
  getMany: (ctx: import("..").HubSpotContext, args: {
383
+ limit?: number | undefined;
384
+ after?: string | undefined;
1187
385
  properties?: string[] | undefined;
1188
386
  propertiesWithHistory?: string[] | undefined;
1189
387
  associations?: string[] | undefined;
1190
388
  archived?: boolean | undefined;
1191
- limit?: number | undefined;
1192
- after?: string | undefined;
1193
- }) => Promise<import("zod").objectOutputType<{
1194
- results: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1195
- id: import("zod").ZodString;
1196
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
1197
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1198
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1199
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
1200
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
1201
- results: import("zod").ZodArray<import("zod").ZodObject<{
1202
- id: import("zod").ZodString;
1203
- type: import("zod").ZodOptional<import("zod").ZodString>;
1204
- }, "strip", import("zod").ZodTypeAny, {
1205
- id: string;
1206
- type?: string | undefined;
1207
- }, {
1208
- id: string;
1209
- type?: string | undefined;
1210
- }>, "many">;
1211
- }, "strip", import("zod").ZodTypeAny, {
1212
- results: {
1213
- id: string;
1214
- type?: string | undefined;
1215
- }[];
1216
- }, {
1217
- results: {
1218
- id: string;
1219
- type?: string | undefined;
1220
- }[];
1221
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
1222
- }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
1223
- id: import("zod").ZodString;
1224
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
1225
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1226
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1227
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
1228
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
1229
- results: import("zod").ZodArray<import("zod").ZodObject<{
1230
- id: import("zod").ZodString;
1231
- type: import("zod").ZodOptional<import("zod").ZodString>;
1232
- }, "strip", import("zod").ZodTypeAny, {
1233
- id: string;
1234
- type?: string | undefined;
1235
- }, {
1236
- id: string;
1237
- type?: string | undefined;
1238
- }>, "many">;
1239
- }, "strip", import("zod").ZodTypeAny, {
1240
- results: {
1241
- id: string;
1242
- type?: string | undefined;
1243
- }[];
1244
- }, {
1245
- results: {
1246
- id: string;
1247
- type?: string | undefined;
1248
- }[];
1249
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
1250
- }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
1251
- id: import("zod").ZodString;
1252
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
1253
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1254
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1255
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
1256
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
1257
- results: import("zod").ZodArray<import("zod").ZodObject<{
1258
- id: import("zod").ZodString;
1259
- type: import("zod").ZodOptional<import("zod").ZodString>;
1260
- }, "strip", import("zod").ZodTypeAny, {
1261
- id: string;
1262
- type?: string | undefined;
1263
- }, {
1264
- id: string;
1265
- type?: string | undefined;
1266
- }>, "many">;
1267
- }, "strip", import("zod").ZodTypeAny, {
1268
- results: {
1269
- id: string;
1270
- type?: string | undefined;
1271
- }[];
1272
- }, {
389
+ }) => Promise<{
390
+ [x: string]: unknown;
391
+ results?: {
392
+ [x: string]: unknown;
393
+ id: string;
394
+ properties?: Record<string, string> | undefined;
395
+ createdAt?: Date | null | undefined;
396
+ updatedAt?: Date | null | undefined;
397
+ archived?: boolean | undefined;
398
+ associations?: Record<string, string[] | {
1273
399
  results: {
1274
400
  id: string;
1275
401
  type?: string | undefined;
1276
402
  }[];
1277
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
1278
- }, import("zod").ZodTypeAny, "passthrough">>, "many">>;
1279
- paging: import("zod").ZodOptional<import("zod").ZodObject<{
1280
- next: import("zod").ZodOptional<import("zod").ZodObject<{
1281
- after: import("zod").ZodString;
1282
- }, "strip", import("zod").ZodTypeAny, {
1283
- after: string;
1284
- }, {
1285
- after: string;
1286
- }>>;
1287
- prev: import("zod").ZodOptional<import("zod").ZodObject<{
1288
- before: import("zod").ZodString;
1289
- }, "strip", import("zod").ZodTypeAny, {
1290
- before: string;
1291
- }, {
1292
- before: string;
1293
- }>>;
1294
- }, "strip", import("zod").ZodTypeAny, {
1295
- next?: {
1296
- after: string;
1297
- } | undefined;
1298
- prev?: {
1299
- before: string;
1300
- } | undefined;
1301
- }, {
403
+ }> | undefined;
404
+ }[] | undefined;
405
+ paging?: {
1302
406
  next?: {
1303
407
  after: string;
1304
408
  } | undefined;
1305
409
  prev?: {
1306
410
  before: string;
1307
411
  } | undefined;
1308
- }>>;
1309
- }, import("zod").ZodTypeAny, "passthrough">>;
412
+ } | undefined;
413
+ }>;
1310
414
  create: (ctx: import("..").HubSpotContext, args: {
1311
415
  properties?: Record<string, string> | undefined;
1312
416
  associations?: {
@@ -1318,444 +422,138 @@ export declare const DealsEndpoints: {
1318
422
  associationTypeId: number;
1319
423
  }[];
1320
424
  }[] | undefined;
1321
- }) => Promise<import("zod").objectOutputType<{
1322
- id: import("zod").ZodString;
1323
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
1324
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1325
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1326
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
1327
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
1328
- results: import("zod").ZodArray<import("zod").ZodObject<{
1329
- id: import("zod").ZodString;
1330
- type: import("zod").ZodOptional<import("zod").ZodString>;
1331
- }, "strip", import("zod").ZodTypeAny, {
1332
- id: string;
1333
- type?: string | undefined;
1334
- }, {
1335
- id: string;
1336
- type?: string | undefined;
1337
- }>, "many">;
1338
- }, "strip", import("zod").ZodTypeAny, {
1339
- results: {
1340
- id: string;
1341
- type?: string | undefined;
1342
- }[];
1343
- }, {
425
+ }) => Promise<{
426
+ [x: string]: unknown;
427
+ id: string;
428
+ properties?: Record<string, string> | undefined;
429
+ createdAt?: Date | null | undefined;
430
+ updatedAt?: Date | null | undefined;
431
+ archived?: boolean | undefined;
432
+ associations?: Record<string, string[] | {
1344
433
  results: {
1345
434
  id: string;
1346
435
  type?: string | undefined;
1347
436
  }[];
1348
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
1349
- }, import("zod").ZodTypeAny, "passthrough">>;
437
+ }> | undefined;
438
+ }>;
1350
439
  update: (ctx: import("..").HubSpotContext, args: {
1351
440
  dealId: string;
1352
441
  properties?: Record<string, string> | undefined;
1353
- }) => Promise<import("zod").objectOutputType<{
1354
- id: import("zod").ZodString;
1355
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
1356
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1357
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1358
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
1359
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
1360
- results: import("zod").ZodArray<import("zod").ZodObject<{
1361
- id: import("zod").ZodString;
1362
- type: import("zod").ZodOptional<import("zod").ZodString>;
1363
- }, "strip", import("zod").ZodTypeAny, {
1364
- id: string;
1365
- type?: string | undefined;
1366
- }, {
1367
- id: string;
1368
- type?: string | undefined;
1369
- }>, "many">;
1370
- }, "strip", import("zod").ZodTypeAny, {
1371
- results: {
1372
- id: string;
1373
- type?: string | undefined;
1374
- }[];
1375
- }, {
442
+ }) => Promise<{
443
+ [x: string]: unknown;
444
+ id: string;
445
+ properties?: Record<string, string> | undefined;
446
+ createdAt?: Date | null | undefined;
447
+ updatedAt?: Date | null | undefined;
448
+ archived?: boolean | undefined;
449
+ associations?: Record<string, string[] | {
1376
450
  results: {
1377
451
  id: string;
1378
452
  type?: string | undefined;
1379
453
  }[];
1380
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
1381
- }, import("zod").ZodTypeAny, "passthrough">>;
454
+ }> | undefined;
455
+ }>;
1382
456
  delete: (ctx: import("..").HubSpotContext, args: {
1383
457
  dealId: string;
1384
458
  }) => Promise<void>;
1385
459
  getRecentlyCreated: (ctx: import("..").HubSpotContext, args: {
1386
- after?: string | undefined;
1387
460
  count?: number | undefined;
461
+ after?: string | undefined;
1388
462
  since?: string | undefined;
1389
- }) => Promise<import("zod").objectOutputType<{
1390
- results: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1391
- id: import("zod").ZodString;
1392
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
1393
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1394
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1395
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
1396
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
1397
- results: import("zod").ZodArray<import("zod").ZodObject<{
1398
- id: import("zod").ZodString;
1399
- type: import("zod").ZodOptional<import("zod").ZodString>;
1400
- }, "strip", import("zod").ZodTypeAny, {
1401
- id: string;
1402
- type?: string | undefined;
1403
- }, {
1404
- id: string;
1405
- type?: string | undefined;
1406
- }>, "many">;
1407
- }, "strip", import("zod").ZodTypeAny, {
1408
- results: {
1409
- id: string;
1410
- type?: string | undefined;
1411
- }[];
1412
- }, {
1413
- results: {
1414
- id: string;
1415
- type?: string | undefined;
1416
- }[];
1417
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
1418
- }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
1419
- id: import("zod").ZodString;
1420
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
1421
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1422
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1423
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
1424
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
1425
- results: import("zod").ZodArray<import("zod").ZodObject<{
1426
- id: import("zod").ZodString;
1427
- type: import("zod").ZodOptional<import("zod").ZodString>;
1428
- }, "strip", import("zod").ZodTypeAny, {
1429
- id: string;
1430
- type?: string | undefined;
1431
- }, {
1432
- id: string;
1433
- type?: string | undefined;
1434
- }>, "many">;
1435
- }, "strip", import("zod").ZodTypeAny, {
1436
- results: {
1437
- id: string;
1438
- type?: string | undefined;
1439
- }[];
1440
- }, {
1441
- results: {
1442
- id: string;
1443
- type?: string | undefined;
1444
- }[];
1445
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
1446
- }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
1447
- id: import("zod").ZodString;
1448
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
1449
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1450
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1451
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
1452
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
1453
- results: import("zod").ZodArray<import("zod").ZodObject<{
1454
- id: import("zod").ZodString;
1455
- type: import("zod").ZodOptional<import("zod").ZodString>;
1456
- }, "strip", import("zod").ZodTypeAny, {
1457
- id: string;
1458
- type?: string | undefined;
1459
- }, {
1460
- id: string;
1461
- type?: string | undefined;
1462
- }>, "many">;
1463
- }, "strip", import("zod").ZodTypeAny, {
1464
- results: {
1465
- id: string;
1466
- type?: string | undefined;
1467
- }[];
1468
- }, {
463
+ }) => Promise<{
464
+ [x: string]: unknown;
465
+ results?: {
466
+ [x: string]: unknown;
467
+ id: string;
468
+ properties?: Record<string, string> | undefined;
469
+ createdAt?: Date | null | undefined;
470
+ updatedAt?: Date | null | undefined;
471
+ archived?: boolean | undefined;
472
+ associations?: Record<string, string[] | {
1469
473
  results: {
1470
474
  id: string;
1471
475
  type?: string | undefined;
1472
476
  }[];
1473
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
1474
- }, import("zod").ZodTypeAny, "passthrough">>, "many">>;
1475
- paging: import("zod").ZodOptional<import("zod").ZodObject<{
1476
- next: import("zod").ZodOptional<import("zod").ZodObject<{
1477
- after: import("zod").ZodString;
1478
- }, "strip", import("zod").ZodTypeAny, {
1479
- after: string;
1480
- }, {
1481
- after: string;
1482
- }>>;
1483
- prev: import("zod").ZodOptional<import("zod").ZodObject<{
1484
- before: import("zod").ZodString;
1485
- }, "strip", import("zod").ZodTypeAny, {
1486
- before: string;
1487
- }, {
1488
- before: string;
1489
- }>>;
1490
- }, "strip", import("zod").ZodTypeAny, {
1491
- next?: {
1492
- after: string;
1493
- } | undefined;
1494
- prev?: {
1495
- before: string;
1496
- } | undefined;
1497
- }, {
477
+ }> | undefined;
478
+ }[] | undefined;
479
+ paging?: {
1498
480
  next?: {
1499
481
  after: string;
1500
482
  } | undefined;
1501
483
  prev?: {
1502
484
  before: string;
1503
485
  } | undefined;
1504
- }>>;
1505
- }, import("zod").ZodTypeAny, "passthrough">>;
486
+ } | undefined;
487
+ }>;
1506
488
  getRecentlyUpdated: (ctx: import("..").HubSpotContext, args: {
1507
- after?: string | undefined;
1508
489
  count?: number | undefined;
490
+ after?: string | undefined;
1509
491
  since?: string | undefined;
1510
- }) => Promise<import("zod").objectOutputType<{
1511
- results: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1512
- id: import("zod").ZodString;
1513
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
1514
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1515
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1516
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
1517
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
1518
- results: import("zod").ZodArray<import("zod").ZodObject<{
1519
- id: import("zod").ZodString;
1520
- type: import("zod").ZodOptional<import("zod").ZodString>;
1521
- }, "strip", import("zod").ZodTypeAny, {
1522
- id: string;
1523
- type?: string | undefined;
1524
- }, {
1525
- id: string;
1526
- type?: string | undefined;
1527
- }>, "many">;
1528
- }, "strip", import("zod").ZodTypeAny, {
1529
- results: {
1530
- id: string;
1531
- type?: string | undefined;
1532
- }[];
1533
- }, {
1534
- results: {
1535
- id: string;
1536
- type?: string | undefined;
1537
- }[];
1538
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
1539
- }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
1540
- id: import("zod").ZodString;
1541
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
1542
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1543
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1544
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
1545
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
1546
- results: import("zod").ZodArray<import("zod").ZodObject<{
1547
- id: import("zod").ZodString;
1548
- type: import("zod").ZodOptional<import("zod").ZodString>;
1549
- }, "strip", import("zod").ZodTypeAny, {
1550
- id: string;
1551
- type?: string | undefined;
1552
- }, {
1553
- id: string;
1554
- type?: string | undefined;
1555
- }>, "many">;
1556
- }, "strip", import("zod").ZodTypeAny, {
1557
- results: {
1558
- id: string;
1559
- type?: string | undefined;
1560
- }[];
1561
- }, {
1562
- results: {
1563
- id: string;
1564
- type?: string | undefined;
1565
- }[];
1566
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
1567
- }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
1568
- id: import("zod").ZodString;
1569
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
1570
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1571
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1572
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
1573
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
1574
- results: import("zod").ZodArray<import("zod").ZodObject<{
1575
- id: import("zod").ZodString;
1576
- type: import("zod").ZodOptional<import("zod").ZodString>;
1577
- }, "strip", import("zod").ZodTypeAny, {
1578
- id: string;
1579
- type?: string | undefined;
1580
- }, {
1581
- id: string;
1582
- type?: string | undefined;
1583
- }>, "many">;
1584
- }, "strip", import("zod").ZodTypeAny, {
1585
- results: {
1586
- id: string;
1587
- type?: string | undefined;
1588
- }[];
1589
- }, {
492
+ }) => Promise<{
493
+ [x: string]: unknown;
494
+ results?: {
495
+ [x: string]: unknown;
496
+ id: string;
497
+ properties?: Record<string, string> | undefined;
498
+ createdAt?: Date | null | undefined;
499
+ updatedAt?: Date | null | undefined;
500
+ archived?: boolean | undefined;
501
+ associations?: Record<string, string[] | {
1590
502
  results: {
1591
503
  id: string;
1592
504
  type?: string | undefined;
1593
505
  }[];
1594
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
1595
- }, import("zod").ZodTypeAny, "passthrough">>, "many">>;
1596
- paging: import("zod").ZodOptional<import("zod").ZodObject<{
1597
- next: import("zod").ZodOptional<import("zod").ZodObject<{
1598
- after: import("zod").ZodString;
1599
- }, "strip", import("zod").ZodTypeAny, {
1600
- after: string;
1601
- }, {
1602
- after: string;
1603
- }>>;
1604
- prev: import("zod").ZodOptional<import("zod").ZodObject<{
1605
- before: import("zod").ZodString;
1606
- }, "strip", import("zod").ZodTypeAny, {
1607
- before: string;
1608
- }, {
1609
- before: string;
1610
- }>>;
1611
- }, "strip", import("zod").ZodTypeAny, {
1612
- next?: {
1613
- after: string;
1614
- } | undefined;
1615
- prev?: {
1616
- before: string;
1617
- } | undefined;
1618
- }, {
1619
- next?: {
1620
- after: string;
1621
- } | undefined;
1622
- prev?: {
1623
- before: string;
1624
- } | undefined;
1625
- }>>;
1626
- }, import("zod").ZodTypeAny, "passthrough">>;
1627
- search: (ctx: import("..").HubSpotContext, args: {
1628
- query?: string | undefined;
1629
- properties?: string[] | undefined;
1630
- limit?: number | undefined;
1631
- after?: string | undefined;
1632
- sorts?: string[] | undefined;
1633
- filterGroups?: {
1634
- filters: {
1635
- operator: "BETWEEN" | "CONTAINS_TOKEN" | "EQ" | "GT" | "GTE" | "HAS_PROPERTY" | "IN" | "LT" | "LTE" | "NEQ" | "NOT_CONTAINS_TOKEN" | "NOT_HAS_PROPERTY" | "NOT_IN";
1636
- propertyName: string;
1637
- value?: string | undefined;
1638
- values?: string[] | undefined;
1639
- highValue?: string | undefined;
1640
- }[];
506
+ }> | undefined;
1641
507
  }[] | undefined;
1642
- }) => Promise<import("zod").objectOutputType<{
1643
- results: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1644
- id: import("zod").ZodString;
1645
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
1646
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1647
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1648
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
1649
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
1650
- results: import("zod").ZodArray<import("zod").ZodObject<{
1651
- id: import("zod").ZodString;
1652
- type: import("zod").ZodOptional<import("zod").ZodString>;
1653
- }, "strip", import("zod").ZodTypeAny, {
1654
- id: string;
1655
- type?: string | undefined;
1656
- }, {
1657
- id: string;
1658
- type?: string | undefined;
1659
- }>, "many">;
1660
- }, "strip", import("zod").ZodTypeAny, {
1661
- results: {
1662
- id: string;
1663
- type?: string | undefined;
1664
- }[];
1665
- }, {
1666
- results: {
1667
- id: string;
1668
- type?: string | undefined;
1669
- }[];
1670
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
1671
- }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
1672
- id: import("zod").ZodString;
1673
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
1674
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1675
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1676
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
1677
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
1678
- results: import("zod").ZodArray<import("zod").ZodObject<{
1679
- id: import("zod").ZodString;
1680
- type: import("zod").ZodOptional<import("zod").ZodString>;
1681
- }, "strip", import("zod").ZodTypeAny, {
1682
- id: string;
1683
- type?: string | undefined;
1684
- }, {
1685
- id: string;
1686
- type?: string | undefined;
1687
- }>, "many">;
1688
- }, "strip", import("zod").ZodTypeAny, {
1689
- results: {
1690
- id: string;
1691
- type?: string | undefined;
1692
- }[];
1693
- }, {
1694
- results: {
1695
- id: string;
1696
- type?: string | undefined;
1697
- }[];
1698
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
1699
- }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
1700
- id: import("zod").ZodString;
1701
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
1702
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1703
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1704
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
1705
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
1706
- results: import("zod").ZodArray<import("zod").ZodObject<{
1707
- id: import("zod").ZodString;
1708
- type: import("zod").ZodOptional<import("zod").ZodString>;
1709
- }, "strip", import("zod").ZodTypeAny, {
1710
- id: string;
1711
- type?: string | undefined;
1712
- }, {
1713
- id: string;
1714
- type?: string | undefined;
1715
- }>, "many">;
1716
- }, "strip", import("zod").ZodTypeAny, {
1717
- results: {
1718
- id: string;
1719
- type?: string | undefined;
1720
- }[];
1721
- }, {
1722
- results: {
1723
- id: string;
1724
- type?: string | undefined;
1725
- }[];
1726
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
1727
- }, import("zod").ZodTypeAny, "passthrough">>, "many">>;
1728
- paging: import("zod").ZodOptional<import("zod").ZodObject<{
1729
- next: import("zod").ZodOptional<import("zod").ZodObject<{
1730
- after: import("zod").ZodString;
1731
- }, "strip", import("zod").ZodTypeAny, {
1732
- after: string;
1733
- }, {
1734
- after: string;
1735
- }>>;
1736
- prev: import("zod").ZodOptional<import("zod").ZodObject<{
1737
- before: import("zod").ZodString;
1738
- }, "strip", import("zod").ZodTypeAny, {
1739
- before: string;
1740
- }, {
1741
- before: string;
1742
- }>>;
1743
- }, "strip", import("zod").ZodTypeAny, {
508
+ paging?: {
1744
509
  next?: {
1745
510
  after: string;
1746
511
  } | undefined;
1747
512
  prev?: {
1748
513
  before: string;
1749
514
  } | undefined;
1750
- }, {
515
+ } | undefined;
516
+ }>;
517
+ search: (ctx: import("..").HubSpotContext, args: {
518
+ query?: string | undefined;
519
+ limit?: number | undefined;
520
+ after?: string | undefined;
521
+ sorts?: string[] | undefined;
522
+ properties?: string[] | undefined;
523
+ filterGroups?: {
524
+ filters: {
525
+ operator: "BETWEEN" | "CONTAINS_TOKEN" | "EQ" | "GT" | "GTE" | "HAS_PROPERTY" | "IN" | "LT" | "LTE" | "NEQ" | "NOT_CONTAINS_TOKEN" | "NOT_HAS_PROPERTY" | "NOT_IN";
526
+ propertyName: string;
527
+ highValue?: string | undefined;
528
+ value?: string | undefined;
529
+ values?: string[] | undefined;
530
+ }[];
531
+ }[] | undefined;
532
+ }) => Promise<{
533
+ [x: string]: unknown;
534
+ results?: {
535
+ [x: string]: unknown;
536
+ id: string;
537
+ properties?: Record<string, string> | undefined;
538
+ createdAt?: Date | null | undefined;
539
+ updatedAt?: Date | null | undefined;
540
+ archived?: boolean | undefined;
541
+ associations?: Record<string, string[] | {
542
+ results: {
543
+ id: string;
544
+ type?: string | undefined;
545
+ }[];
546
+ }> | undefined;
547
+ }[] | undefined;
548
+ paging?: {
1751
549
  next?: {
1752
550
  after: string;
1753
551
  } | undefined;
1754
552
  prev?: {
1755
553
  before: string;
1756
554
  } | undefined;
1757
- }>>;
1758
- }, import("zod").ZodTypeAny, "passthrough">>;
555
+ } | undefined;
556
+ }>;
1759
557
  };
1760
558
  export declare const TicketsEndpoints: {
1761
559
  get: (ctx: import("..").HubSpotContext, args: {
@@ -1765,159 +563,52 @@ export declare const TicketsEndpoints: {
1765
563
  associations?: string[] | undefined;
1766
564
  archived?: boolean | undefined;
1767
565
  idProperty?: string | undefined;
1768
- }) => Promise<import("zod").objectOutputType<{
1769
- id: import("zod").ZodString;
1770
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
1771
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1772
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1773
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
1774
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
1775
- results: import("zod").ZodArray<import("zod").ZodObject<{
1776
- id: import("zod").ZodString;
1777
- type: import("zod").ZodOptional<import("zod").ZodString>;
1778
- }, "strip", import("zod").ZodTypeAny, {
1779
- id: string;
1780
- type?: string | undefined;
1781
- }, {
1782
- id: string;
1783
- type?: string | undefined;
1784
- }>, "many">;
1785
- }, "strip", import("zod").ZodTypeAny, {
1786
- results: {
1787
- id: string;
1788
- type?: string | undefined;
1789
- }[];
1790
- }, {
566
+ }) => Promise<{
567
+ [x: string]: unknown;
568
+ id: string;
569
+ properties?: Record<string, string> | undefined;
570
+ createdAt?: Date | null | undefined;
571
+ updatedAt?: Date | null | undefined;
572
+ archived?: boolean | undefined;
573
+ associations?: Record<string, string[] | {
1791
574
  results: {
1792
575
  id: string;
1793
576
  type?: string | undefined;
1794
577
  }[];
1795
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
1796
- }, import("zod").ZodTypeAny, "passthrough">>;
578
+ }> | undefined;
579
+ }>;
1797
580
  getMany: (ctx: import("..").HubSpotContext, args: {
581
+ limit?: number | undefined;
582
+ after?: string | undefined;
1798
583
  properties?: string[] | undefined;
1799
584
  propertiesWithHistory?: string[] | undefined;
1800
585
  associations?: string[] | undefined;
1801
586
  archived?: boolean | undefined;
1802
- limit?: number | undefined;
1803
- after?: string | undefined;
1804
- }) => Promise<import("zod").objectOutputType<{
1805
- results: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1806
- id: import("zod").ZodString;
1807
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
1808
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1809
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1810
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
1811
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
1812
- results: import("zod").ZodArray<import("zod").ZodObject<{
1813
- id: import("zod").ZodString;
1814
- type: import("zod").ZodOptional<import("zod").ZodString>;
1815
- }, "strip", import("zod").ZodTypeAny, {
1816
- id: string;
1817
- type?: string | undefined;
1818
- }, {
1819
- id: string;
1820
- type?: string | undefined;
1821
- }>, "many">;
1822
- }, "strip", import("zod").ZodTypeAny, {
1823
- results: {
1824
- id: string;
1825
- type?: string | undefined;
1826
- }[];
1827
- }, {
1828
- results: {
1829
- id: string;
1830
- type?: string | undefined;
1831
- }[];
1832
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
1833
- }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
1834
- id: import("zod").ZodString;
1835
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
1836
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1837
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1838
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
1839
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
1840
- results: import("zod").ZodArray<import("zod").ZodObject<{
1841
- id: import("zod").ZodString;
1842
- type: import("zod").ZodOptional<import("zod").ZodString>;
1843
- }, "strip", import("zod").ZodTypeAny, {
1844
- id: string;
1845
- type?: string | undefined;
1846
- }, {
1847
- id: string;
1848
- type?: string | undefined;
1849
- }>, "many">;
1850
- }, "strip", import("zod").ZodTypeAny, {
1851
- results: {
1852
- id: string;
1853
- type?: string | undefined;
1854
- }[];
1855
- }, {
1856
- results: {
1857
- id: string;
1858
- type?: string | undefined;
1859
- }[];
1860
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
1861
- }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
1862
- id: import("zod").ZodString;
1863
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
1864
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1865
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1866
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
1867
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
1868
- results: import("zod").ZodArray<import("zod").ZodObject<{
1869
- id: import("zod").ZodString;
1870
- type: import("zod").ZodOptional<import("zod").ZodString>;
1871
- }, "strip", import("zod").ZodTypeAny, {
1872
- id: string;
1873
- type?: string | undefined;
1874
- }, {
1875
- id: string;
1876
- type?: string | undefined;
1877
- }>, "many">;
1878
- }, "strip", import("zod").ZodTypeAny, {
1879
- results: {
1880
- id: string;
1881
- type?: string | undefined;
1882
- }[];
1883
- }, {
587
+ }) => Promise<{
588
+ [x: string]: unknown;
589
+ results?: {
590
+ [x: string]: unknown;
591
+ id: string;
592
+ properties?: Record<string, string> | undefined;
593
+ createdAt?: Date | null | undefined;
594
+ updatedAt?: Date | null | undefined;
595
+ archived?: boolean | undefined;
596
+ associations?: Record<string, string[] | {
1884
597
  results: {
1885
598
  id: string;
1886
599
  type?: string | undefined;
1887
600
  }[];
1888
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
1889
- }, import("zod").ZodTypeAny, "passthrough">>, "many">>;
1890
- paging: import("zod").ZodOptional<import("zod").ZodObject<{
1891
- next: import("zod").ZodOptional<import("zod").ZodObject<{
1892
- after: import("zod").ZodString;
1893
- }, "strip", import("zod").ZodTypeAny, {
1894
- after: string;
1895
- }, {
1896
- after: string;
1897
- }>>;
1898
- prev: import("zod").ZodOptional<import("zod").ZodObject<{
1899
- before: import("zod").ZodString;
1900
- }, "strip", import("zod").ZodTypeAny, {
1901
- before: string;
1902
- }, {
1903
- before: string;
1904
- }>>;
1905
- }, "strip", import("zod").ZodTypeAny, {
1906
- next?: {
1907
- after: string;
1908
- } | undefined;
1909
- prev?: {
1910
- before: string;
1911
- } | undefined;
1912
- }, {
601
+ }> | undefined;
602
+ }[] | undefined;
603
+ paging?: {
1913
604
  next?: {
1914
605
  after: string;
1915
606
  } | undefined;
1916
607
  prev?: {
1917
608
  before: string;
1918
609
  } | undefined;
1919
- }>>;
1920
- }, import("zod").ZodTypeAny, "passthrough">>;
610
+ } | undefined;
611
+ }>;
1921
612
  create: (ctx: import("..").HubSpotContext, args: {
1922
613
  properties?: Record<string, string> | undefined;
1923
614
  associations?: {
@@ -1929,67 +620,37 @@ export declare const TicketsEndpoints: {
1929
620
  associationTypeId: number;
1930
621
  }[];
1931
622
  }[] | undefined;
1932
- }) => Promise<import("zod").objectOutputType<{
1933
- id: import("zod").ZodString;
1934
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
1935
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1936
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1937
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
1938
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
1939
- results: import("zod").ZodArray<import("zod").ZodObject<{
1940
- id: import("zod").ZodString;
1941
- type: import("zod").ZodOptional<import("zod").ZodString>;
1942
- }, "strip", import("zod").ZodTypeAny, {
1943
- id: string;
1944
- type?: string | undefined;
1945
- }, {
1946
- id: string;
1947
- type?: string | undefined;
1948
- }>, "many">;
1949
- }, "strip", import("zod").ZodTypeAny, {
1950
- results: {
1951
- id: string;
1952
- type?: string | undefined;
1953
- }[];
1954
- }, {
623
+ }) => Promise<{
624
+ [x: string]: unknown;
625
+ id: string;
626
+ properties?: Record<string, string> | undefined;
627
+ createdAt?: Date | null | undefined;
628
+ updatedAt?: Date | null | undefined;
629
+ archived?: boolean | undefined;
630
+ associations?: Record<string, string[] | {
1955
631
  results: {
1956
632
  id: string;
1957
633
  type?: string | undefined;
1958
634
  }[];
1959
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
1960
- }, import("zod").ZodTypeAny, "passthrough">>;
635
+ }> | undefined;
636
+ }>;
1961
637
  update: (ctx: import("..").HubSpotContext, args: {
1962
638
  ticketId: string;
1963
639
  properties?: Record<string, string> | undefined;
1964
- }) => Promise<import("zod").objectOutputType<{
1965
- id: import("zod").ZodString;
1966
- properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
1967
- createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1968
- updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1969
- archived: import("zod").ZodOptional<import("zod").ZodBoolean>;
1970
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
1971
- results: import("zod").ZodArray<import("zod").ZodObject<{
1972
- id: import("zod").ZodString;
1973
- type: import("zod").ZodOptional<import("zod").ZodString>;
1974
- }, "strip", import("zod").ZodTypeAny, {
1975
- id: string;
1976
- type?: string | undefined;
1977
- }, {
1978
- id: string;
1979
- type?: string | undefined;
1980
- }>, "many">;
1981
- }, "strip", import("zod").ZodTypeAny, {
1982
- results: {
1983
- id: string;
1984
- type?: string | undefined;
1985
- }[];
1986
- }, {
640
+ }) => Promise<{
641
+ [x: string]: unknown;
642
+ id: string;
643
+ properties?: Record<string, string> | undefined;
644
+ createdAt?: Date | null | undefined;
645
+ updatedAt?: Date | null | undefined;
646
+ archived?: boolean | undefined;
647
+ associations?: Record<string, string[] | {
1987
648
  results: {
1988
649
  id: string;
1989
650
  type?: string | undefined;
1990
651
  }[];
1991
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
1992
- }, import("zod").ZodTypeAny, "passthrough">>;
652
+ }> | undefined;
653
+ }>;
1993
654
  delete: (ctx: import("..").HubSpotContext, args: {
1994
655
  ticketId: string;
1995
656
  }) => Promise<void>;
@@ -1997,279 +658,66 @@ export declare const TicketsEndpoints: {
1997
658
  export declare const EngagementsEndpoints: {
1998
659
  get: (ctx: import("..").HubSpotContext, args: {
1999
660
  engagementId: string;
2000
- }) => Promise<import("zod").objectOutputType<{
2001
- id: import("zod").ZodString;
2002
- engagement: import("zod").ZodOptional<import("zod").ZodObject<{
2003
- id: import("zod").ZodOptional<import("zod").ZodNumber>;
2004
- portalId: import("zod").ZodOptional<import("zod").ZodNumber>;
2005
- active: import("zod").ZodOptional<import("zod").ZodBoolean>;
2006
- createdAt: import("zod").ZodOptional<import("zod").ZodNumber>;
2007
- lastUpdated: import("zod").ZodOptional<import("zod").ZodNumber>;
2008
- createdBy: import("zod").ZodOptional<import("zod").ZodNumber>;
2009
- modifiedBy: import("zod").ZodOptional<import("zod").ZodNumber>;
2010
- ownerId: import("zod").ZodOptional<import("zod").ZodNumber>;
2011
- type: import("zod").ZodOptional<import("zod").ZodString>;
2012
- timestamp: import("zod").ZodOptional<import("zod").ZodNumber>;
2013
- }, "strip", import("zod").ZodTypeAny, {
2014
- type?: string | undefined;
661
+ }) => Promise<{
662
+ [x: string]: unknown;
663
+ id: string;
664
+ engagement?: {
2015
665
  id?: number | undefined;
666
+ portalId?: number | undefined;
2016
667
  active?: boolean | undefined;
2017
- timestamp?: number | undefined;
2018
668
  createdAt?: number | undefined;
2019
- portalId?: number | undefined;
2020
669
  lastUpdated?: number | undefined;
2021
670
  createdBy?: number | undefined;
2022
671
  modifiedBy?: number | undefined;
2023
672
  ownerId?: number | undefined;
2024
- }, {
2025
673
  type?: string | undefined;
2026
- id?: number | undefined;
2027
- active?: boolean | undefined;
2028
674
  timestamp?: number | undefined;
2029
- createdAt?: number | undefined;
2030
- portalId?: number | undefined;
2031
- lastUpdated?: number | undefined;
2032
- createdBy?: number | undefined;
2033
- modifiedBy?: number | undefined;
2034
- ownerId?: number | undefined;
2035
- }>>;
2036
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
2037
- results: import("zod").ZodArray<import("zod").ZodObject<{
2038
- id: import("zod").ZodString;
2039
- type: import("zod").ZodOptional<import("zod").ZodString>;
2040
- }, "strip", import("zod").ZodTypeAny, {
2041
- id: string;
2042
- type?: string | undefined;
2043
- }, {
2044
- id: string;
2045
- type?: string | undefined;
2046
- }>, "many">;
2047
- }, "strip", import("zod").ZodTypeAny, {
2048
- results: {
2049
- id: string;
2050
- type?: string | undefined;
2051
- }[];
2052
- }, {
675
+ } | undefined;
676
+ associations?: Record<string, string[] | {
2053
677
  results: {
2054
678
  id: string;
2055
679
  type?: string | undefined;
2056
680
  }[];
2057
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
2058
- metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
2059
- }, import("zod").ZodTypeAny, "passthrough">>;
681
+ }> | undefined;
682
+ metadata?: Record<string, any> | undefined;
683
+ }>;
2060
684
  getMany: (ctx: import("..").HubSpotContext, args: {
2061
685
  limit?: number | undefined;
2062
686
  after?: string | undefined;
2063
- }) => Promise<import("zod").objectOutputType<{
2064
- results: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
2065
- id: import("zod").ZodString;
2066
- engagement: import("zod").ZodOptional<import("zod").ZodObject<{
2067
- id: import("zod").ZodOptional<import("zod").ZodNumber>;
2068
- portalId: import("zod").ZodOptional<import("zod").ZodNumber>;
2069
- active: import("zod").ZodOptional<import("zod").ZodBoolean>;
2070
- createdAt: import("zod").ZodOptional<import("zod").ZodNumber>;
2071
- lastUpdated: import("zod").ZodOptional<import("zod").ZodNumber>;
2072
- createdBy: import("zod").ZodOptional<import("zod").ZodNumber>;
2073
- modifiedBy: import("zod").ZodOptional<import("zod").ZodNumber>;
2074
- ownerId: import("zod").ZodOptional<import("zod").ZodNumber>;
2075
- type: import("zod").ZodOptional<import("zod").ZodString>;
2076
- timestamp: import("zod").ZodOptional<import("zod").ZodNumber>;
2077
- }, "strip", import("zod").ZodTypeAny, {
2078
- type?: string | undefined;
2079
- id?: number | undefined;
2080
- active?: boolean | undefined;
2081
- timestamp?: number | undefined;
2082
- createdAt?: number | undefined;
2083
- portalId?: number | undefined;
2084
- lastUpdated?: number | undefined;
2085
- createdBy?: number | undefined;
2086
- modifiedBy?: number | undefined;
2087
- ownerId?: number | undefined;
2088
- }, {
2089
- type?: string | undefined;
2090
- id?: number | undefined;
2091
- active?: boolean | undefined;
2092
- timestamp?: number | undefined;
2093
- createdAt?: number | undefined;
2094
- portalId?: number | undefined;
2095
- lastUpdated?: number | undefined;
2096
- createdBy?: number | undefined;
2097
- modifiedBy?: number | undefined;
2098
- ownerId?: number | undefined;
2099
- }>>;
2100
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
2101
- results: import("zod").ZodArray<import("zod").ZodObject<{
2102
- id: import("zod").ZodString;
2103
- type: import("zod").ZodOptional<import("zod").ZodString>;
2104
- }, "strip", import("zod").ZodTypeAny, {
2105
- id: string;
2106
- type?: string | undefined;
2107
- }, {
2108
- id: string;
2109
- type?: string | undefined;
2110
- }>, "many">;
2111
- }, "strip", import("zod").ZodTypeAny, {
2112
- results: {
2113
- id: string;
2114
- type?: string | undefined;
2115
- }[];
2116
- }, {
2117
- results: {
2118
- id: string;
2119
- type?: string | undefined;
2120
- }[];
2121
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
2122
- metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
2123
- }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
2124
- id: import("zod").ZodString;
2125
- engagement: import("zod").ZodOptional<import("zod").ZodObject<{
2126
- id: import("zod").ZodOptional<import("zod").ZodNumber>;
2127
- portalId: import("zod").ZodOptional<import("zod").ZodNumber>;
2128
- active: import("zod").ZodOptional<import("zod").ZodBoolean>;
2129
- createdAt: import("zod").ZodOptional<import("zod").ZodNumber>;
2130
- lastUpdated: import("zod").ZodOptional<import("zod").ZodNumber>;
2131
- createdBy: import("zod").ZodOptional<import("zod").ZodNumber>;
2132
- modifiedBy: import("zod").ZodOptional<import("zod").ZodNumber>;
2133
- ownerId: import("zod").ZodOptional<import("zod").ZodNumber>;
2134
- type: import("zod").ZodOptional<import("zod").ZodString>;
2135
- timestamp: import("zod").ZodOptional<import("zod").ZodNumber>;
2136
- }, "strip", import("zod").ZodTypeAny, {
2137
- type?: string | undefined;
2138
- id?: number | undefined;
2139
- active?: boolean | undefined;
2140
- timestamp?: number | undefined;
2141
- createdAt?: number | undefined;
2142
- portalId?: number | undefined;
2143
- lastUpdated?: number | undefined;
2144
- createdBy?: number | undefined;
2145
- modifiedBy?: number | undefined;
2146
- ownerId?: number | undefined;
2147
- }, {
2148
- type?: string | undefined;
687
+ }) => Promise<{
688
+ [x: string]: unknown;
689
+ results?: {
690
+ [x: string]: unknown;
691
+ id: string;
692
+ engagement?: {
2149
693
  id?: number | undefined;
2150
- active?: boolean | undefined;
2151
- timestamp?: number | undefined;
2152
- createdAt?: number | undefined;
2153
694
  portalId?: number | undefined;
2154
- lastUpdated?: number | undefined;
2155
- createdBy?: number | undefined;
2156
- modifiedBy?: number | undefined;
2157
- ownerId?: number | undefined;
2158
- }>>;
2159
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
2160
- results: import("zod").ZodArray<import("zod").ZodObject<{
2161
- id: import("zod").ZodString;
2162
- type: import("zod").ZodOptional<import("zod").ZodString>;
2163
- }, "strip", import("zod").ZodTypeAny, {
2164
- id: string;
2165
- type?: string | undefined;
2166
- }, {
2167
- id: string;
2168
- type?: string | undefined;
2169
- }>, "many">;
2170
- }, "strip", import("zod").ZodTypeAny, {
2171
- results: {
2172
- id: string;
2173
- type?: string | undefined;
2174
- }[];
2175
- }, {
2176
- results: {
2177
- id: string;
2178
- type?: string | undefined;
2179
- }[];
2180
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
2181
- metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
2182
- }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
2183
- id: import("zod").ZodString;
2184
- engagement: import("zod").ZodOptional<import("zod").ZodObject<{
2185
- id: import("zod").ZodOptional<import("zod").ZodNumber>;
2186
- portalId: import("zod").ZodOptional<import("zod").ZodNumber>;
2187
- active: import("zod").ZodOptional<import("zod").ZodBoolean>;
2188
- createdAt: import("zod").ZodOptional<import("zod").ZodNumber>;
2189
- lastUpdated: import("zod").ZodOptional<import("zod").ZodNumber>;
2190
- createdBy: import("zod").ZodOptional<import("zod").ZodNumber>;
2191
- modifiedBy: import("zod").ZodOptional<import("zod").ZodNumber>;
2192
- ownerId: import("zod").ZodOptional<import("zod").ZodNumber>;
2193
- type: import("zod").ZodOptional<import("zod").ZodString>;
2194
- timestamp: import("zod").ZodOptional<import("zod").ZodNumber>;
2195
- }, "strip", import("zod").ZodTypeAny, {
2196
- type?: string | undefined;
2197
- id?: number | undefined;
2198
695
  active?: boolean | undefined;
2199
- timestamp?: number | undefined;
2200
696
  createdAt?: number | undefined;
2201
- portalId?: number | undefined;
2202
697
  lastUpdated?: number | undefined;
2203
698
  createdBy?: number | undefined;
2204
699
  modifiedBy?: number | undefined;
2205
700
  ownerId?: number | undefined;
2206
- }, {
2207
701
  type?: string | undefined;
2208
- id?: number | undefined;
2209
- active?: boolean | undefined;
2210
702
  timestamp?: number | undefined;
2211
- createdAt?: number | undefined;
2212
- portalId?: number | undefined;
2213
- lastUpdated?: number | undefined;
2214
- createdBy?: number | undefined;
2215
- modifiedBy?: number | undefined;
2216
- ownerId?: number | undefined;
2217
- }>>;
2218
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
2219
- results: import("zod").ZodArray<import("zod").ZodObject<{
2220
- id: import("zod").ZodString;
2221
- type: import("zod").ZodOptional<import("zod").ZodString>;
2222
- }, "strip", import("zod").ZodTypeAny, {
2223
- id: string;
2224
- type?: string | undefined;
2225
- }, {
2226
- id: string;
2227
- type?: string | undefined;
2228
- }>, "many">;
2229
- }, "strip", import("zod").ZodTypeAny, {
2230
- results: {
2231
- id: string;
2232
- type?: string | undefined;
2233
- }[];
2234
- }, {
703
+ } | undefined;
704
+ associations?: Record<string, string[] | {
2235
705
  results: {
2236
706
  id: string;
2237
707
  type?: string | undefined;
2238
708
  }[];
2239
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
2240
- metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
2241
- }, import("zod").ZodTypeAny, "passthrough">>, "many">>;
2242
- paging: import("zod").ZodOptional<import("zod").ZodObject<{
2243
- next: import("zod").ZodOptional<import("zod").ZodObject<{
2244
- after: import("zod").ZodString;
2245
- }, "strip", import("zod").ZodTypeAny, {
2246
- after: string;
2247
- }, {
2248
- after: string;
2249
- }>>;
2250
- prev: import("zod").ZodOptional<import("zod").ZodObject<{
2251
- before: import("zod").ZodString;
2252
- }, "strip", import("zod").ZodTypeAny, {
2253
- before: string;
2254
- }, {
2255
- before: string;
2256
- }>>;
2257
- }, "strip", import("zod").ZodTypeAny, {
2258
- next?: {
2259
- after: string;
2260
- } | undefined;
2261
- prev?: {
2262
- before: string;
2263
- } | undefined;
2264
- }, {
709
+ }> | undefined;
710
+ metadata?: Record<string, any> | undefined;
711
+ }[] | undefined;
712
+ paging?: {
2265
713
  next?: {
2266
714
  after: string;
2267
715
  } | undefined;
2268
716
  prev?: {
2269
717
  before: string;
2270
718
  } | undefined;
2271
- }>>;
2272
- }, import("zod").ZodTypeAny, "passthrough">>;
719
+ } | undefined;
720
+ }>;
2273
721
  create: (ctx: import("..").HubSpotContext, args: {
2274
722
  engagement: {
2275
723
  type: string;
@@ -2283,66 +731,29 @@ export declare const EngagementsEndpoints: {
2283
731
  ownerIds?: number[] | undefined;
2284
732
  } | undefined;
2285
733
  metadata?: Record<string, any> | undefined;
2286
- }) => Promise<import("zod").objectOutputType<{
2287
- id: import("zod").ZodString;
2288
- engagement: import("zod").ZodOptional<import("zod").ZodObject<{
2289
- id: import("zod").ZodOptional<import("zod").ZodNumber>;
2290
- portalId: import("zod").ZodOptional<import("zod").ZodNumber>;
2291
- active: import("zod").ZodOptional<import("zod").ZodBoolean>;
2292
- createdAt: import("zod").ZodOptional<import("zod").ZodNumber>;
2293
- lastUpdated: import("zod").ZodOptional<import("zod").ZodNumber>;
2294
- createdBy: import("zod").ZodOptional<import("zod").ZodNumber>;
2295
- modifiedBy: import("zod").ZodOptional<import("zod").ZodNumber>;
2296
- ownerId: import("zod").ZodOptional<import("zod").ZodNumber>;
2297
- type: import("zod").ZodOptional<import("zod").ZodString>;
2298
- timestamp: import("zod").ZodOptional<import("zod").ZodNumber>;
2299
- }, "strip", import("zod").ZodTypeAny, {
2300
- type?: string | undefined;
734
+ }) => Promise<{
735
+ [x: string]: unknown;
736
+ id: string;
737
+ engagement?: {
2301
738
  id?: number | undefined;
739
+ portalId?: number | undefined;
2302
740
  active?: boolean | undefined;
2303
- timestamp?: number | undefined;
2304
741
  createdAt?: number | undefined;
2305
- portalId?: number | undefined;
2306
742
  lastUpdated?: number | undefined;
2307
743
  createdBy?: number | undefined;
2308
744
  modifiedBy?: number | undefined;
2309
745
  ownerId?: number | undefined;
2310
- }, {
2311
746
  type?: string | undefined;
2312
- id?: number | undefined;
2313
- active?: boolean | undefined;
2314
747
  timestamp?: number | undefined;
2315
- createdAt?: number | undefined;
2316
- portalId?: number | undefined;
2317
- lastUpdated?: number | undefined;
2318
- createdBy?: number | undefined;
2319
- modifiedBy?: number | undefined;
2320
- ownerId?: number | undefined;
2321
- }>>;
2322
- associations: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
2323
- results: import("zod").ZodArray<import("zod").ZodObject<{
2324
- id: import("zod").ZodString;
2325
- type: import("zod").ZodOptional<import("zod").ZodString>;
2326
- }, "strip", import("zod").ZodTypeAny, {
2327
- id: string;
2328
- type?: string | undefined;
2329
- }, {
2330
- id: string;
2331
- type?: string | undefined;
2332
- }>, "many">;
2333
- }, "strip", import("zod").ZodTypeAny, {
2334
- results: {
2335
- id: string;
2336
- type?: string | undefined;
2337
- }[];
2338
- }, {
748
+ } | undefined;
749
+ associations?: Record<string, string[] | {
2339
750
  results: {
2340
751
  id: string;
2341
752
  type?: string | undefined;
2342
753
  }[];
2343
- }>, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
2344
- metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
2345
- }, import("zod").ZodTypeAny, "passthrough">>;
754
+ }> | undefined;
755
+ metadata?: Record<string, any> | undefined;
756
+ }>;
2346
757
  delete: (ctx: import("..").HubSpotContext, args: {
2347
758
  engagementId: string;
2348
759
  }) => Promise<void>;