@automate.ax/integration-contracts 0.122.3 → 0.123.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/hubspot/events.d.ts +889 -1849
- package/dist/hubspot/events.js +18 -25
- package/package.json +2 -2
- package/src/hubspot/events.ts +18 -34
package/dist/hubspot/events.d.ts
CHANGED
|
@@ -2,11 +2,11 @@ import * as z from "zod";
|
|
|
2
2
|
export declare const HUBSPOT_TRIGGER_CONFIG_SCHEMA: z.ZodObject<{}, z.core.$strip>;
|
|
3
3
|
export declare const HUBSPOT_EVENT_ACTION_SCHEMA: z.ZodEnum<{
|
|
4
4
|
deleted: "deleted";
|
|
5
|
+
updated: "updated";
|
|
5
6
|
created: "created";
|
|
6
7
|
merged: "merged";
|
|
7
8
|
associationAdded: "associationAdded";
|
|
8
9
|
associationRemoved: "associationRemoved";
|
|
9
|
-
propertyChanged: "propertyChanged";
|
|
10
10
|
restored: "restored";
|
|
11
11
|
}>;
|
|
12
12
|
export declare const HUBSPOT_EVENT_OBJECT_SCHEMA: z.ZodEnum<{
|
|
@@ -17,19 +17,14 @@ export declare const HUBSPOT_EVENT_OBJECT_SCHEMA: z.ZodEnum<{
|
|
|
17
17
|
}>;
|
|
18
18
|
export declare const HUBSPOT_CRM_EVENT_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
19
19
|
action: z.ZodLiteral<"associationAdded">;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
associationType: z.ZodString;
|
|
23
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
20
|
+
associationCategory: z.ZodString;
|
|
21
|
+
associationTypeId: z.ZodNumber;
|
|
24
22
|
fromObjectId: z.ZodString;
|
|
25
|
-
fromObjectTypeId: z.
|
|
26
|
-
|
|
23
|
+
fromObjectTypeId: z.ZodString;
|
|
24
|
+
isPrimary: z.ZodBoolean;
|
|
27
25
|
toObjectId: z.ZodString;
|
|
28
|
-
toObjectTypeId: z.
|
|
29
|
-
|
|
30
|
-
attemptNumber: z.ZodNumber;
|
|
31
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
32
|
-
eventId: z.ZodNumber;
|
|
26
|
+
toObjectTypeId: z.ZodString;
|
|
27
|
+
journalOffset: z.ZodString;
|
|
33
28
|
objectId: z.ZodString;
|
|
34
29
|
objectType: z.ZodEnum<{
|
|
35
30
|
contact: "contact";
|
|
@@ -39,23 +34,17 @@ export declare const HUBSPOT_CRM_EVENT_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
39
34
|
}>;
|
|
40
35
|
occurredAt: z.ZodDate;
|
|
41
36
|
portalId: z.ZodNumber;
|
|
42
|
-
|
|
43
|
-
subscriptionId: z.ZodNumber;
|
|
37
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
44
38
|
}, z.core.$strip>, z.ZodObject<{
|
|
45
39
|
action: z.ZodLiteral<"associationRemoved">;
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
associationType: z.ZodString;
|
|
49
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
40
|
+
associationCategory: z.ZodString;
|
|
41
|
+
associationTypeId: z.ZodNumber;
|
|
50
42
|
fromObjectId: z.ZodString;
|
|
51
|
-
fromObjectTypeId: z.
|
|
52
|
-
|
|
43
|
+
fromObjectTypeId: z.ZodString;
|
|
44
|
+
isPrimary: z.ZodBoolean;
|
|
53
45
|
toObjectId: z.ZodString;
|
|
54
|
-
toObjectTypeId: z.
|
|
55
|
-
|
|
56
|
-
attemptNumber: z.ZodNumber;
|
|
57
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
58
|
-
eventId: z.ZodNumber;
|
|
46
|
+
toObjectTypeId: z.ZodString;
|
|
47
|
+
journalOffset: z.ZodString;
|
|
59
48
|
objectId: z.ZodString;
|
|
60
49
|
objectType: z.ZodEnum<{
|
|
61
50
|
contact: "contact";
|
|
@@ -65,14 +54,10 @@ export declare const HUBSPOT_CRM_EVENT_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
65
54
|
}>;
|
|
66
55
|
occurredAt: z.ZodDate;
|
|
67
56
|
portalId: z.ZodNumber;
|
|
68
|
-
|
|
69
|
-
subscriptionId: z.ZodNumber;
|
|
57
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
70
58
|
}, z.core.$strip>, z.ZodObject<{
|
|
71
59
|
action: z.ZodLiteral<"created">;
|
|
72
|
-
|
|
73
|
-
attemptNumber: z.ZodNumber;
|
|
74
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
75
|
-
eventId: z.ZodNumber;
|
|
60
|
+
journalOffset: z.ZodString;
|
|
76
61
|
objectId: z.ZodString;
|
|
77
62
|
objectType: z.ZodEnum<{
|
|
78
63
|
contact: "contact";
|
|
@@ -82,14 +67,10 @@ export declare const HUBSPOT_CRM_EVENT_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
82
67
|
}>;
|
|
83
68
|
occurredAt: z.ZodDate;
|
|
84
69
|
portalId: z.ZodNumber;
|
|
85
|
-
|
|
86
|
-
subscriptionId: z.ZodNumber;
|
|
70
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
87
71
|
}, z.core.$strip>, z.ZodObject<{
|
|
88
72
|
action: z.ZodLiteral<"deleted">;
|
|
89
|
-
|
|
90
|
-
attemptNumber: z.ZodNumber;
|
|
91
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
92
|
-
eventId: z.ZodNumber;
|
|
73
|
+
journalOffset: z.ZodString;
|
|
93
74
|
objectId: z.ZodString;
|
|
94
75
|
objectType: z.ZodEnum<{
|
|
95
76
|
contact: "contact";
|
|
@@ -99,17 +80,14 @@ export declare const HUBSPOT_CRM_EVENT_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
99
80
|
}>;
|
|
100
81
|
occurredAt: z.ZodDate;
|
|
101
82
|
portalId: z.ZodNumber;
|
|
102
|
-
|
|
103
|
-
subscriptionId: z.ZodNumber;
|
|
83
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
104
84
|
}, z.core.$strip>, z.ZodObject<{
|
|
105
85
|
action: z.ZodLiteral<"merged">;
|
|
106
|
-
mergedObjectIds: z.ZodArray<z.ZodString
|
|
107
|
-
newObjectId: z.ZodString
|
|
86
|
+
mergedObjectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
87
|
+
newObjectId: z.ZodOptional<z.ZodString>;
|
|
108
88
|
numberOfPropertiesMoved: z.ZodOptional<z.ZodNumber>;
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
112
|
-
eventId: z.ZodNumber;
|
|
89
|
+
primaryObjectId: z.ZodOptional<z.ZodString>;
|
|
90
|
+
journalOffset: z.ZodString;
|
|
113
91
|
objectId: z.ZodString;
|
|
114
92
|
objectType: z.ZodEnum<{
|
|
115
93
|
contact: "contact";
|
|
@@ -119,16 +97,11 @@ export declare const HUBSPOT_CRM_EVENT_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
119
97
|
}>;
|
|
120
98
|
occurredAt: z.ZodDate;
|
|
121
99
|
portalId: z.ZodNumber;
|
|
122
|
-
|
|
123
|
-
subscriptionId: z.ZodNumber;
|
|
100
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
124
101
|
}, z.core.$strip>, z.ZodObject<{
|
|
125
|
-
action: z.ZodLiteral<"
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
appId: z.ZodOptional<z.ZodNumber>;
|
|
129
|
-
attemptNumber: z.ZodNumber;
|
|
130
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
131
|
-
eventId: z.ZodNumber;
|
|
102
|
+
action: z.ZodLiteral<"updated">;
|
|
103
|
+
propertyChanges: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
104
|
+
journalOffset: z.ZodString;
|
|
132
105
|
objectId: z.ZodString;
|
|
133
106
|
objectType: z.ZodEnum<{
|
|
134
107
|
contact: "contact";
|
|
@@ -138,14 +111,10 @@ export declare const HUBSPOT_CRM_EVENT_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
138
111
|
}>;
|
|
139
112
|
occurredAt: z.ZodDate;
|
|
140
113
|
portalId: z.ZodNumber;
|
|
141
|
-
|
|
142
|
-
subscriptionId: z.ZodNumber;
|
|
114
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
143
115
|
}, z.core.$strip>, z.ZodObject<{
|
|
144
116
|
action: z.ZodLiteral<"restored">;
|
|
145
|
-
|
|
146
|
-
attemptNumber: z.ZodNumber;
|
|
147
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
148
|
-
eventId: z.ZodNumber;
|
|
117
|
+
journalOffset: z.ZodString;
|
|
149
118
|
objectId: z.ZodString;
|
|
150
119
|
objectType: z.ZodEnum<{
|
|
151
120
|
contact: "contact";
|
|
@@ -155,8 +124,7 @@ export declare const HUBSPOT_CRM_EVENT_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
155
124
|
}>;
|
|
156
125
|
occurredAt: z.ZodDate;
|
|
157
126
|
portalId: z.ZodNumber;
|
|
158
|
-
|
|
159
|
-
subscriptionId: z.ZodNumber;
|
|
127
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
160
128
|
}, z.core.$strip>], "action">;
|
|
161
129
|
export type HubSpotCrmEvent = z.output<typeof HUBSPOT_CRM_EVENT_SCHEMA>;
|
|
162
130
|
/** Every broad and semantic HubSpot trigger contract. */
|
|
@@ -165,19 +133,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
165
133
|
configSchema: z.ZodObject<{}, z.core.$strip>;
|
|
166
134
|
eventSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
167
135
|
action: z.ZodLiteral<"associationAdded">;
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
associationType: z.ZodString;
|
|
171
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
136
|
+
associationCategory: z.ZodString;
|
|
137
|
+
associationTypeId: z.ZodNumber;
|
|
172
138
|
fromObjectId: z.ZodString;
|
|
173
|
-
fromObjectTypeId: z.
|
|
174
|
-
|
|
139
|
+
fromObjectTypeId: z.ZodString;
|
|
140
|
+
isPrimary: z.ZodBoolean;
|
|
175
141
|
toObjectId: z.ZodString;
|
|
176
|
-
toObjectTypeId: z.
|
|
177
|
-
|
|
178
|
-
attemptNumber: z.ZodNumber;
|
|
179
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
180
|
-
eventId: z.ZodNumber;
|
|
142
|
+
toObjectTypeId: z.ZodString;
|
|
143
|
+
journalOffset: z.ZodString;
|
|
181
144
|
objectId: z.ZodString;
|
|
182
145
|
objectType: z.ZodEnum<{
|
|
183
146
|
contact: "contact";
|
|
@@ -187,23 +150,17 @@ export declare const hubspotTriggerContracts: {
|
|
|
187
150
|
}>;
|
|
188
151
|
occurredAt: z.ZodDate;
|
|
189
152
|
portalId: z.ZodNumber;
|
|
190
|
-
|
|
191
|
-
subscriptionId: z.ZodNumber;
|
|
153
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
192
154
|
}, z.core.$strip>, z.ZodObject<{
|
|
193
155
|
action: z.ZodLiteral<"associationRemoved">;
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
associationType: z.ZodString;
|
|
197
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
156
|
+
associationCategory: z.ZodString;
|
|
157
|
+
associationTypeId: z.ZodNumber;
|
|
198
158
|
fromObjectId: z.ZodString;
|
|
199
|
-
fromObjectTypeId: z.
|
|
200
|
-
|
|
159
|
+
fromObjectTypeId: z.ZodString;
|
|
160
|
+
isPrimary: z.ZodBoolean;
|
|
201
161
|
toObjectId: z.ZodString;
|
|
202
|
-
toObjectTypeId: z.
|
|
203
|
-
|
|
204
|
-
attemptNumber: z.ZodNumber;
|
|
205
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
206
|
-
eventId: z.ZodNumber;
|
|
162
|
+
toObjectTypeId: z.ZodString;
|
|
163
|
+
journalOffset: z.ZodString;
|
|
207
164
|
objectId: z.ZodString;
|
|
208
165
|
objectType: z.ZodEnum<{
|
|
209
166
|
contact: "contact";
|
|
@@ -213,14 +170,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
213
170
|
}>;
|
|
214
171
|
occurredAt: z.ZodDate;
|
|
215
172
|
portalId: z.ZodNumber;
|
|
216
|
-
|
|
217
|
-
subscriptionId: z.ZodNumber;
|
|
173
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
218
174
|
}, z.core.$strip>, z.ZodObject<{
|
|
219
175
|
action: z.ZodLiteral<"created">;
|
|
220
|
-
|
|
221
|
-
attemptNumber: z.ZodNumber;
|
|
222
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
223
|
-
eventId: z.ZodNumber;
|
|
176
|
+
journalOffset: z.ZodString;
|
|
224
177
|
objectId: z.ZodString;
|
|
225
178
|
objectType: z.ZodEnum<{
|
|
226
179
|
contact: "contact";
|
|
@@ -230,14 +183,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
230
183
|
}>;
|
|
231
184
|
occurredAt: z.ZodDate;
|
|
232
185
|
portalId: z.ZodNumber;
|
|
233
|
-
|
|
234
|
-
subscriptionId: z.ZodNumber;
|
|
186
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
235
187
|
}, z.core.$strip>, z.ZodObject<{
|
|
236
188
|
action: z.ZodLiteral<"deleted">;
|
|
237
|
-
|
|
238
|
-
attemptNumber: z.ZodNumber;
|
|
239
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
240
|
-
eventId: z.ZodNumber;
|
|
189
|
+
journalOffset: z.ZodString;
|
|
241
190
|
objectId: z.ZodString;
|
|
242
191
|
objectType: z.ZodEnum<{
|
|
243
192
|
contact: "contact";
|
|
@@ -247,17 +196,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
247
196
|
}>;
|
|
248
197
|
occurredAt: z.ZodDate;
|
|
249
198
|
portalId: z.ZodNumber;
|
|
250
|
-
|
|
251
|
-
subscriptionId: z.ZodNumber;
|
|
199
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
252
200
|
}, z.core.$strip>, z.ZodObject<{
|
|
253
201
|
action: z.ZodLiteral<"merged">;
|
|
254
|
-
mergedObjectIds: z.ZodArray<z.ZodString
|
|
255
|
-
newObjectId: z.ZodString
|
|
202
|
+
mergedObjectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
203
|
+
newObjectId: z.ZodOptional<z.ZodString>;
|
|
256
204
|
numberOfPropertiesMoved: z.ZodOptional<z.ZodNumber>;
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
260
|
-
eventId: z.ZodNumber;
|
|
205
|
+
primaryObjectId: z.ZodOptional<z.ZodString>;
|
|
206
|
+
journalOffset: z.ZodString;
|
|
261
207
|
objectId: z.ZodString;
|
|
262
208
|
objectType: z.ZodEnum<{
|
|
263
209
|
contact: "contact";
|
|
@@ -267,16 +213,11 @@ export declare const hubspotTriggerContracts: {
|
|
|
267
213
|
}>;
|
|
268
214
|
occurredAt: z.ZodDate;
|
|
269
215
|
portalId: z.ZodNumber;
|
|
270
|
-
|
|
271
|
-
subscriptionId: z.ZodNumber;
|
|
216
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
272
217
|
}, z.core.$strip>, z.ZodObject<{
|
|
273
|
-
action: z.ZodLiteral<"
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
appId: z.ZodOptional<z.ZodNumber>;
|
|
277
|
-
attemptNumber: z.ZodNumber;
|
|
278
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
279
|
-
eventId: z.ZodNumber;
|
|
218
|
+
action: z.ZodLiteral<"updated">;
|
|
219
|
+
propertyChanges: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
220
|
+
journalOffset: z.ZodString;
|
|
280
221
|
objectId: z.ZodString;
|
|
281
222
|
objectType: z.ZodEnum<{
|
|
282
223
|
contact: "contact";
|
|
@@ -286,14 +227,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
286
227
|
}>;
|
|
287
228
|
occurredAt: z.ZodDate;
|
|
288
229
|
portalId: z.ZodNumber;
|
|
289
|
-
|
|
290
|
-
subscriptionId: z.ZodNumber;
|
|
230
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
291
231
|
}, z.core.$strip>, z.ZodObject<{
|
|
292
232
|
action: z.ZodLiteral<"restored">;
|
|
293
|
-
|
|
294
|
-
attemptNumber: z.ZodNumber;
|
|
295
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
296
|
-
eventId: z.ZodNumber;
|
|
233
|
+
journalOffset: z.ZodString;
|
|
297
234
|
objectId: z.ZodString;
|
|
298
235
|
objectType: z.ZodEnum<{
|
|
299
236
|
contact: "contact";
|
|
@@ -303,8 +240,7 @@ export declare const hubspotTriggerContracts: {
|
|
|
303
240
|
}>;
|
|
304
241
|
occurredAt: z.ZodDate;
|
|
305
242
|
portalId: z.ZodNumber;
|
|
306
|
-
|
|
307
|
-
subscriptionId: z.ZodNumber;
|
|
243
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
308
244
|
}, z.core.$strip>], "action">, z.ZodObject<{
|
|
309
245
|
action: z.ZodLiteral<"associationAdded">;
|
|
310
246
|
objectType: z.ZodLiteral<"company">;
|
|
@@ -314,19 +250,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
314
250
|
configSchema: z.ZodObject<{}, z.core.$strip>;
|
|
315
251
|
eventSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
316
252
|
action: z.ZodLiteral<"associationAdded">;
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
associationType: z.ZodString;
|
|
320
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
253
|
+
associationCategory: z.ZodString;
|
|
254
|
+
associationTypeId: z.ZodNumber;
|
|
321
255
|
fromObjectId: z.ZodString;
|
|
322
|
-
fromObjectTypeId: z.
|
|
323
|
-
|
|
256
|
+
fromObjectTypeId: z.ZodString;
|
|
257
|
+
isPrimary: z.ZodBoolean;
|
|
324
258
|
toObjectId: z.ZodString;
|
|
325
|
-
toObjectTypeId: z.
|
|
326
|
-
|
|
327
|
-
attemptNumber: z.ZodNumber;
|
|
328
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
329
|
-
eventId: z.ZodNumber;
|
|
259
|
+
toObjectTypeId: z.ZodString;
|
|
260
|
+
journalOffset: z.ZodString;
|
|
330
261
|
objectId: z.ZodString;
|
|
331
262
|
objectType: z.ZodEnum<{
|
|
332
263
|
contact: "contact";
|
|
@@ -336,23 +267,17 @@ export declare const hubspotTriggerContracts: {
|
|
|
336
267
|
}>;
|
|
337
268
|
occurredAt: z.ZodDate;
|
|
338
269
|
portalId: z.ZodNumber;
|
|
339
|
-
|
|
340
|
-
subscriptionId: z.ZodNumber;
|
|
270
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
341
271
|
}, z.core.$strip>, z.ZodObject<{
|
|
342
272
|
action: z.ZodLiteral<"associationRemoved">;
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
associationType: z.ZodString;
|
|
346
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
273
|
+
associationCategory: z.ZodString;
|
|
274
|
+
associationTypeId: z.ZodNumber;
|
|
347
275
|
fromObjectId: z.ZodString;
|
|
348
|
-
fromObjectTypeId: z.
|
|
349
|
-
|
|
276
|
+
fromObjectTypeId: z.ZodString;
|
|
277
|
+
isPrimary: z.ZodBoolean;
|
|
350
278
|
toObjectId: z.ZodString;
|
|
351
|
-
toObjectTypeId: z.
|
|
352
|
-
|
|
353
|
-
attemptNumber: z.ZodNumber;
|
|
354
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
355
|
-
eventId: z.ZodNumber;
|
|
279
|
+
toObjectTypeId: z.ZodString;
|
|
280
|
+
journalOffset: z.ZodString;
|
|
356
281
|
objectId: z.ZodString;
|
|
357
282
|
objectType: z.ZodEnum<{
|
|
358
283
|
contact: "contact";
|
|
@@ -362,14 +287,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
362
287
|
}>;
|
|
363
288
|
occurredAt: z.ZodDate;
|
|
364
289
|
portalId: z.ZodNumber;
|
|
365
|
-
|
|
366
|
-
subscriptionId: z.ZodNumber;
|
|
290
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
367
291
|
}, z.core.$strip>, z.ZodObject<{
|
|
368
292
|
action: z.ZodLiteral<"created">;
|
|
369
|
-
|
|
370
|
-
attemptNumber: z.ZodNumber;
|
|
371
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
372
|
-
eventId: z.ZodNumber;
|
|
293
|
+
journalOffset: z.ZodString;
|
|
373
294
|
objectId: z.ZodString;
|
|
374
295
|
objectType: z.ZodEnum<{
|
|
375
296
|
contact: "contact";
|
|
@@ -379,14 +300,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
379
300
|
}>;
|
|
380
301
|
occurredAt: z.ZodDate;
|
|
381
302
|
portalId: z.ZodNumber;
|
|
382
|
-
|
|
383
|
-
subscriptionId: z.ZodNumber;
|
|
303
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
384
304
|
}, z.core.$strip>, z.ZodObject<{
|
|
385
305
|
action: z.ZodLiteral<"deleted">;
|
|
386
|
-
|
|
387
|
-
attemptNumber: z.ZodNumber;
|
|
388
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
389
|
-
eventId: z.ZodNumber;
|
|
306
|
+
journalOffset: z.ZodString;
|
|
390
307
|
objectId: z.ZodString;
|
|
391
308
|
objectType: z.ZodEnum<{
|
|
392
309
|
contact: "contact";
|
|
@@ -396,17 +313,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
396
313
|
}>;
|
|
397
314
|
occurredAt: z.ZodDate;
|
|
398
315
|
portalId: z.ZodNumber;
|
|
399
|
-
|
|
400
|
-
subscriptionId: z.ZodNumber;
|
|
316
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
401
317
|
}, z.core.$strip>, z.ZodObject<{
|
|
402
318
|
action: z.ZodLiteral<"merged">;
|
|
403
|
-
mergedObjectIds: z.ZodArray<z.ZodString
|
|
404
|
-
newObjectId: z.ZodString
|
|
319
|
+
mergedObjectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
320
|
+
newObjectId: z.ZodOptional<z.ZodString>;
|
|
405
321
|
numberOfPropertiesMoved: z.ZodOptional<z.ZodNumber>;
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
409
|
-
eventId: z.ZodNumber;
|
|
322
|
+
primaryObjectId: z.ZodOptional<z.ZodString>;
|
|
323
|
+
journalOffset: z.ZodString;
|
|
410
324
|
objectId: z.ZodString;
|
|
411
325
|
objectType: z.ZodEnum<{
|
|
412
326
|
contact: "contact";
|
|
@@ -416,16 +330,11 @@ export declare const hubspotTriggerContracts: {
|
|
|
416
330
|
}>;
|
|
417
331
|
occurredAt: z.ZodDate;
|
|
418
332
|
portalId: z.ZodNumber;
|
|
419
|
-
|
|
420
|
-
subscriptionId: z.ZodNumber;
|
|
333
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
421
334
|
}, z.core.$strip>, z.ZodObject<{
|
|
422
|
-
action: z.ZodLiteral<"
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
appId: z.ZodOptional<z.ZodNumber>;
|
|
426
|
-
attemptNumber: z.ZodNumber;
|
|
427
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
428
|
-
eventId: z.ZodNumber;
|
|
335
|
+
action: z.ZodLiteral<"updated">;
|
|
336
|
+
propertyChanges: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
337
|
+
journalOffset: z.ZodString;
|
|
429
338
|
objectId: z.ZodString;
|
|
430
339
|
objectType: z.ZodEnum<{
|
|
431
340
|
contact: "contact";
|
|
@@ -435,14 +344,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
435
344
|
}>;
|
|
436
345
|
occurredAt: z.ZodDate;
|
|
437
346
|
portalId: z.ZodNumber;
|
|
438
|
-
|
|
439
|
-
subscriptionId: z.ZodNumber;
|
|
347
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
440
348
|
}, z.core.$strip>, z.ZodObject<{
|
|
441
349
|
action: z.ZodLiteral<"restored">;
|
|
442
|
-
|
|
443
|
-
attemptNumber: z.ZodNumber;
|
|
444
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
445
|
-
eventId: z.ZodNumber;
|
|
350
|
+
journalOffset: z.ZodString;
|
|
446
351
|
objectId: z.ZodString;
|
|
447
352
|
objectType: z.ZodEnum<{
|
|
448
353
|
contact: "contact";
|
|
@@ -452,8 +357,7 @@ export declare const hubspotTriggerContracts: {
|
|
|
452
357
|
}>;
|
|
453
358
|
occurredAt: z.ZodDate;
|
|
454
359
|
portalId: z.ZodNumber;
|
|
455
|
-
|
|
456
|
-
subscriptionId: z.ZodNumber;
|
|
360
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
457
361
|
}, z.core.$strip>], "action">, z.ZodObject<{
|
|
458
362
|
action: z.ZodLiteral<"associationRemoved">;
|
|
459
363
|
objectType: z.ZodLiteral<"company">;
|
|
@@ -463,19 +367,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
463
367
|
configSchema: z.ZodObject<{}, z.core.$strip>;
|
|
464
368
|
eventSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
465
369
|
action: z.ZodLiteral<"associationAdded">;
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
associationType: z.ZodString;
|
|
469
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
370
|
+
associationCategory: z.ZodString;
|
|
371
|
+
associationTypeId: z.ZodNumber;
|
|
470
372
|
fromObjectId: z.ZodString;
|
|
471
|
-
fromObjectTypeId: z.
|
|
472
|
-
|
|
373
|
+
fromObjectTypeId: z.ZodString;
|
|
374
|
+
isPrimary: z.ZodBoolean;
|
|
473
375
|
toObjectId: z.ZodString;
|
|
474
|
-
toObjectTypeId: z.
|
|
475
|
-
|
|
476
|
-
attemptNumber: z.ZodNumber;
|
|
477
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
478
|
-
eventId: z.ZodNumber;
|
|
376
|
+
toObjectTypeId: z.ZodString;
|
|
377
|
+
journalOffset: z.ZodString;
|
|
479
378
|
objectId: z.ZodString;
|
|
480
379
|
objectType: z.ZodEnum<{
|
|
481
380
|
contact: "contact";
|
|
@@ -485,23 +384,17 @@ export declare const hubspotTriggerContracts: {
|
|
|
485
384
|
}>;
|
|
486
385
|
occurredAt: z.ZodDate;
|
|
487
386
|
portalId: z.ZodNumber;
|
|
488
|
-
|
|
489
|
-
subscriptionId: z.ZodNumber;
|
|
387
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
490
388
|
}, z.core.$strip>, z.ZodObject<{
|
|
491
389
|
action: z.ZodLiteral<"associationRemoved">;
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
associationType: z.ZodString;
|
|
495
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
390
|
+
associationCategory: z.ZodString;
|
|
391
|
+
associationTypeId: z.ZodNumber;
|
|
496
392
|
fromObjectId: z.ZodString;
|
|
497
|
-
fromObjectTypeId: z.
|
|
498
|
-
|
|
393
|
+
fromObjectTypeId: z.ZodString;
|
|
394
|
+
isPrimary: z.ZodBoolean;
|
|
499
395
|
toObjectId: z.ZodString;
|
|
500
|
-
toObjectTypeId: z.
|
|
501
|
-
|
|
502
|
-
attemptNumber: z.ZodNumber;
|
|
503
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
504
|
-
eventId: z.ZodNumber;
|
|
396
|
+
toObjectTypeId: z.ZodString;
|
|
397
|
+
journalOffset: z.ZodString;
|
|
505
398
|
objectId: z.ZodString;
|
|
506
399
|
objectType: z.ZodEnum<{
|
|
507
400
|
contact: "contact";
|
|
@@ -511,14 +404,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
511
404
|
}>;
|
|
512
405
|
occurredAt: z.ZodDate;
|
|
513
406
|
portalId: z.ZodNumber;
|
|
514
|
-
|
|
515
|
-
subscriptionId: z.ZodNumber;
|
|
407
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
516
408
|
}, z.core.$strip>, z.ZodObject<{
|
|
517
409
|
action: z.ZodLiteral<"created">;
|
|
518
|
-
|
|
519
|
-
attemptNumber: z.ZodNumber;
|
|
520
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
521
|
-
eventId: z.ZodNumber;
|
|
410
|
+
journalOffset: z.ZodString;
|
|
522
411
|
objectId: z.ZodString;
|
|
523
412
|
objectType: z.ZodEnum<{
|
|
524
413
|
contact: "contact";
|
|
@@ -528,14 +417,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
528
417
|
}>;
|
|
529
418
|
occurredAt: z.ZodDate;
|
|
530
419
|
portalId: z.ZodNumber;
|
|
531
|
-
|
|
532
|
-
subscriptionId: z.ZodNumber;
|
|
420
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
533
421
|
}, z.core.$strip>, z.ZodObject<{
|
|
534
422
|
action: z.ZodLiteral<"deleted">;
|
|
535
|
-
|
|
536
|
-
attemptNumber: z.ZodNumber;
|
|
537
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
538
|
-
eventId: z.ZodNumber;
|
|
423
|
+
journalOffset: z.ZodString;
|
|
539
424
|
objectId: z.ZodString;
|
|
540
425
|
objectType: z.ZodEnum<{
|
|
541
426
|
contact: "contact";
|
|
@@ -545,17 +430,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
545
430
|
}>;
|
|
546
431
|
occurredAt: z.ZodDate;
|
|
547
432
|
portalId: z.ZodNumber;
|
|
548
|
-
|
|
549
|
-
subscriptionId: z.ZodNumber;
|
|
433
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
550
434
|
}, z.core.$strip>, z.ZodObject<{
|
|
551
435
|
action: z.ZodLiteral<"merged">;
|
|
552
|
-
mergedObjectIds: z.ZodArray<z.ZodString
|
|
553
|
-
newObjectId: z.ZodString
|
|
436
|
+
mergedObjectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
437
|
+
newObjectId: z.ZodOptional<z.ZodString>;
|
|
554
438
|
numberOfPropertiesMoved: z.ZodOptional<z.ZodNumber>;
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
558
|
-
eventId: z.ZodNumber;
|
|
439
|
+
primaryObjectId: z.ZodOptional<z.ZodString>;
|
|
440
|
+
journalOffset: z.ZodString;
|
|
559
441
|
objectId: z.ZodString;
|
|
560
442
|
objectType: z.ZodEnum<{
|
|
561
443
|
contact: "contact";
|
|
@@ -565,16 +447,11 @@ export declare const hubspotTriggerContracts: {
|
|
|
565
447
|
}>;
|
|
566
448
|
occurredAt: z.ZodDate;
|
|
567
449
|
portalId: z.ZodNumber;
|
|
568
|
-
|
|
569
|
-
subscriptionId: z.ZodNumber;
|
|
450
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
570
451
|
}, z.core.$strip>, z.ZodObject<{
|
|
571
|
-
action: z.ZodLiteral<"
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
appId: z.ZodOptional<z.ZodNumber>;
|
|
575
|
-
attemptNumber: z.ZodNumber;
|
|
576
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
577
|
-
eventId: z.ZodNumber;
|
|
452
|
+
action: z.ZodLiteral<"updated">;
|
|
453
|
+
propertyChanges: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
454
|
+
journalOffset: z.ZodString;
|
|
578
455
|
objectId: z.ZodString;
|
|
579
456
|
objectType: z.ZodEnum<{
|
|
580
457
|
contact: "contact";
|
|
@@ -584,14 +461,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
584
461
|
}>;
|
|
585
462
|
occurredAt: z.ZodDate;
|
|
586
463
|
portalId: z.ZodNumber;
|
|
587
|
-
|
|
588
|
-
subscriptionId: z.ZodNumber;
|
|
464
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
589
465
|
}, z.core.$strip>, z.ZodObject<{
|
|
590
466
|
action: z.ZodLiteral<"restored">;
|
|
591
|
-
|
|
592
|
-
attemptNumber: z.ZodNumber;
|
|
593
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
594
|
-
eventId: z.ZodNumber;
|
|
467
|
+
journalOffset: z.ZodString;
|
|
595
468
|
objectId: z.ZodString;
|
|
596
469
|
objectType: z.ZodEnum<{
|
|
597
470
|
contact: "contact";
|
|
@@ -601,8 +474,7 @@ export declare const hubspotTriggerContracts: {
|
|
|
601
474
|
}>;
|
|
602
475
|
occurredAt: z.ZodDate;
|
|
603
476
|
portalId: z.ZodNumber;
|
|
604
|
-
|
|
605
|
-
subscriptionId: z.ZodNumber;
|
|
477
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
606
478
|
}, z.core.$strip>], "action">, z.ZodObject<{
|
|
607
479
|
action: z.ZodLiteral<"created">;
|
|
608
480
|
objectType: z.ZodLiteral<"company">;
|
|
@@ -612,19 +484,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
612
484
|
configSchema: z.ZodObject<{}, z.core.$strip>;
|
|
613
485
|
eventSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
614
486
|
action: z.ZodLiteral<"associationAdded">;
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
associationType: z.ZodString;
|
|
618
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
487
|
+
associationCategory: z.ZodString;
|
|
488
|
+
associationTypeId: z.ZodNumber;
|
|
619
489
|
fromObjectId: z.ZodString;
|
|
620
|
-
fromObjectTypeId: z.
|
|
621
|
-
|
|
490
|
+
fromObjectTypeId: z.ZodString;
|
|
491
|
+
isPrimary: z.ZodBoolean;
|
|
622
492
|
toObjectId: z.ZodString;
|
|
623
|
-
toObjectTypeId: z.
|
|
624
|
-
|
|
625
|
-
attemptNumber: z.ZodNumber;
|
|
626
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
627
|
-
eventId: z.ZodNumber;
|
|
493
|
+
toObjectTypeId: z.ZodString;
|
|
494
|
+
journalOffset: z.ZodString;
|
|
628
495
|
objectId: z.ZodString;
|
|
629
496
|
objectType: z.ZodEnum<{
|
|
630
497
|
contact: "contact";
|
|
@@ -634,23 +501,17 @@ export declare const hubspotTriggerContracts: {
|
|
|
634
501
|
}>;
|
|
635
502
|
occurredAt: z.ZodDate;
|
|
636
503
|
portalId: z.ZodNumber;
|
|
637
|
-
|
|
638
|
-
subscriptionId: z.ZodNumber;
|
|
504
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
639
505
|
}, z.core.$strip>, z.ZodObject<{
|
|
640
506
|
action: z.ZodLiteral<"associationRemoved">;
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
associationType: z.ZodString;
|
|
644
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
507
|
+
associationCategory: z.ZodString;
|
|
508
|
+
associationTypeId: z.ZodNumber;
|
|
645
509
|
fromObjectId: z.ZodString;
|
|
646
|
-
fromObjectTypeId: z.
|
|
647
|
-
|
|
510
|
+
fromObjectTypeId: z.ZodString;
|
|
511
|
+
isPrimary: z.ZodBoolean;
|
|
648
512
|
toObjectId: z.ZodString;
|
|
649
|
-
toObjectTypeId: z.
|
|
650
|
-
|
|
651
|
-
attemptNumber: z.ZodNumber;
|
|
652
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
653
|
-
eventId: z.ZodNumber;
|
|
513
|
+
toObjectTypeId: z.ZodString;
|
|
514
|
+
journalOffset: z.ZodString;
|
|
654
515
|
objectId: z.ZodString;
|
|
655
516
|
objectType: z.ZodEnum<{
|
|
656
517
|
contact: "contact";
|
|
@@ -660,14 +521,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
660
521
|
}>;
|
|
661
522
|
occurredAt: z.ZodDate;
|
|
662
523
|
portalId: z.ZodNumber;
|
|
663
|
-
|
|
664
|
-
subscriptionId: z.ZodNumber;
|
|
524
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
665
525
|
}, z.core.$strip>, z.ZodObject<{
|
|
666
526
|
action: z.ZodLiteral<"created">;
|
|
667
|
-
|
|
668
|
-
attemptNumber: z.ZodNumber;
|
|
669
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
670
|
-
eventId: z.ZodNumber;
|
|
527
|
+
journalOffset: z.ZodString;
|
|
671
528
|
objectId: z.ZodString;
|
|
672
529
|
objectType: z.ZodEnum<{
|
|
673
530
|
contact: "contact";
|
|
@@ -677,14 +534,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
677
534
|
}>;
|
|
678
535
|
occurredAt: z.ZodDate;
|
|
679
536
|
portalId: z.ZodNumber;
|
|
680
|
-
|
|
681
|
-
subscriptionId: z.ZodNumber;
|
|
537
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
682
538
|
}, z.core.$strip>, z.ZodObject<{
|
|
683
539
|
action: z.ZodLiteral<"deleted">;
|
|
684
|
-
|
|
685
|
-
attemptNumber: z.ZodNumber;
|
|
686
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
687
|
-
eventId: z.ZodNumber;
|
|
540
|
+
journalOffset: z.ZodString;
|
|
688
541
|
objectId: z.ZodString;
|
|
689
542
|
objectType: z.ZodEnum<{
|
|
690
543
|
contact: "contact";
|
|
@@ -694,17 +547,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
694
547
|
}>;
|
|
695
548
|
occurredAt: z.ZodDate;
|
|
696
549
|
portalId: z.ZodNumber;
|
|
697
|
-
|
|
698
|
-
subscriptionId: z.ZodNumber;
|
|
550
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
699
551
|
}, z.core.$strip>, z.ZodObject<{
|
|
700
552
|
action: z.ZodLiteral<"merged">;
|
|
701
|
-
mergedObjectIds: z.ZodArray<z.ZodString
|
|
702
|
-
newObjectId: z.ZodString
|
|
553
|
+
mergedObjectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
554
|
+
newObjectId: z.ZodOptional<z.ZodString>;
|
|
703
555
|
numberOfPropertiesMoved: z.ZodOptional<z.ZodNumber>;
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
707
|
-
eventId: z.ZodNumber;
|
|
556
|
+
primaryObjectId: z.ZodOptional<z.ZodString>;
|
|
557
|
+
journalOffset: z.ZodString;
|
|
708
558
|
objectId: z.ZodString;
|
|
709
559
|
objectType: z.ZodEnum<{
|
|
710
560
|
contact: "contact";
|
|
@@ -714,16 +564,11 @@ export declare const hubspotTriggerContracts: {
|
|
|
714
564
|
}>;
|
|
715
565
|
occurredAt: z.ZodDate;
|
|
716
566
|
portalId: z.ZodNumber;
|
|
717
|
-
|
|
718
|
-
subscriptionId: z.ZodNumber;
|
|
567
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
719
568
|
}, z.core.$strip>, z.ZodObject<{
|
|
720
|
-
action: z.ZodLiteral<"
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
appId: z.ZodOptional<z.ZodNumber>;
|
|
724
|
-
attemptNumber: z.ZodNumber;
|
|
725
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
726
|
-
eventId: z.ZodNumber;
|
|
569
|
+
action: z.ZodLiteral<"updated">;
|
|
570
|
+
propertyChanges: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
571
|
+
journalOffset: z.ZodString;
|
|
727
572
|
objectId: z.ZodString;
|
|
728
573
|
objectType: z.ZodEnum<{
|
|
729
574
|
contact: "contact";
|
|
@@ -733,14 +578,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
733
578
|
}>;
|
|
734
579
|
occurredAt: z.ZodDate;
|
|
735
580
|
portalId: z.ZodNumber;
|
|
736
|
-
|
|
737
|
-
subscriptionId: z.ZodNumber;
|
|
581
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
738
582
|
}, z.core.$strip>, z.ZodObject<{
|
|
739
583
|
action: z.ZodLiteral<"restored">;
|
|
740
|
-
|
|
741
|
-
attemptNumber: z.ZodNumber;
|
|
742
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
743
|
-
eventId: z.ZodNumber;
|
|
584
|
+
journalOffset: z.ZodString;
|
|
744
585
|
objectId: z.ZodString;
|
|
745
586
|
objectType: z.ZodEnum<{
|
|
746
587
|
contact: "contact";
|
|
@@ -750,8 +591,7 @@ export declare const hubspotTriggerContracts: {
|
|
|
750
591
|
}>;
|
|
751
592
|
occurredAt: z.ZodDate;
|
|
752
593
|
portalId: z.ZodNumber;
|
|
753
|
-
|
|
754
|
-
subscriptionId: z.ZodNumber;
|
|
594
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
755
595
|
}, z.core.$strip>], "action">, z.ZodObject<{
|
|
756
596
|
action: z.ZodLiteral<"deleted">;
|
|
757
597
|
objectType: z.ZodLiteral<"company">;
|
|
@@ -761,19 +601,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
761
601
|
configSchema: z.ZodObject<{}, z.core.$strip>;
|
|
762
602
|
eventSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
763
603
|
action: z.ZodLiteral<"associationAdded">;
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
associationType: z.ZodString;
|
|
767
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
604
|
+
associationCategory: z.ZodString;
|
|
605
|
+
associationTypeId: z.ZodNumber;
|
|
768
606
|
fromObjectId: z.ZodString;
|
|
769
|
-
fromObjectTypeId: z.
|
|
770
|
-
|
|
607
|
+
fromObjectTypeId: z.ZodString;
|
|
608
|
+
isPrimary: z.ZodBoolean;
|
|
771
609
|
toObjectId: z.ZodString;
|
|
772
|
-
toObjectTypeId: z.
|
|
773
|
-
|
|
774
|
-
attemptNumber: z.ZodNumber;
|
|
775
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
776
|
-
eventId: z.ZodNumber;
|
|
610
|
+
toObjectTypeId: z.ZodString;
|
|
611
|
+
journalOffset: z.ZodString;
|
|
777
612
|
objectId: z.ZodString;
|
|
778
613
|
objectType: z.ZodEnum<{
|
|
779
614
|
contact: "contact";
|
|
@@ -783,23 +618,17 @@ export declare const hubspotTriggerContracts: {
|
|
|
783
618
|
}>;
|
|
784
619
|
occurredAt: z.ZodDate;
|
|
785
620
|
portalId: z.ZodNumber;
|
|
786
|
-
|
|
787
|
-
subscriptionId: z.ZodNumber;
|
|
621
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
788
622
|
}, z.core.$strip>, z.ZodObject<{
|
|
789
623
|
action: z.ZodLiteral<"associationRemoved">;
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
associationType: z.ZodString;
|
|
793
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
624
|
+
associationCategory: z.ZodString;
|
|
625
|
+
associationTypeId: z.ZodNumber;
|
|
794
626
|
fromObjectId: z.ZodString;
|
|
795
|
-
fromObjectTypeId: z.
|
|
796
|
-
|
|
627
|
+
fromObjectTypeId: z.ZodString;
|
|
628
|
+
isPrimary: z.ZodBoolean;
|
|
797
629
|
toObjectId: z.ZodString;
|
|
798
|
-
toObjectTypeId: z.
|
|
799
|
-
|
|
800
|
-
attemptNumber: z.ZodNumber;
|
|
801
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
802
|
-
eventId: z.ZodNumber;
|
|
630
|
+
toObjectTypeId: z.ZodString;
|
|
631
|
+
journalOffset: z.ZodString;
|
|
803
632
|
objectId: z.ZodString;
|
|
804
633
|
objectType: z.ZodEnum<{
|
|
805
634
|
contact: "contact";
|
|
@@ -809,14 +638,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
809
638
|
}>;
|
|
810
639
|
occurredAt: z.ZodDate;
|
|
811
640
|
portalId: z.ZodNumber;
|
|
812
|
-
|
|
813
|
-
subscriptionId: z.ZodNumber;
|
|
641
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
814
642
|
}, z.core.$strip>, z.ZodObject<{
|
|
815
643
|
action: z.ZodLiteral<"created">;
|
|
816
|
-
|
|
817
|
-
attemptNumber: z.ZodNumber;
|
|
818
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
819
|
-
eventId: z.ZodNumber;
|
|
644
|
+
journalOffset: z.ZodString;
|
|
820
645
|
objectId: z.ZodString;
|
|
821
646
|
objectType: z.ZodEnum<{
|
|
822
647
|
contact: "contact";
|
|
@@ -826,14 +651,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
826
651
|
}>;
|
|
827
652
|
occurredAt: z.ZodDate;
|
|
828
653
|
portalId: z.ZodNumber;
|
|
829
|
-
|
|
830
|
-
subscriptionId: z.ZodNumber;
|
|
654
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
831
655
|
}, z.core.$strip>, z.ZodObject<{
|
|
832
656
|
action: z.ZodLiteral<"deleted">;
|
|
833
|
-
|
|
834
|
-
attemptNumber: z.ZodNumber;
|
|
835
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
836
|
-
eventId: z.ZodNumber;
|
|
657
|
+
journalOffset: z.ZodString;
|
|
837
658
|
objectId: z.ZodString;
|
|
838
659
|
objectType: z.ZodEnum<{
|
|
839
660
|
contact: "contact";
|
|
@@ -843,17 +664,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
843
664
|
}>;
|
|
844
665
|
occurredAt: z.ZodDate;
|
|
845
666
|
portalId: z.ZodNumber;
|
|
846
|
-
|
|
847
|
-
subscriptionId: z.ZodNumber;
|
|
667
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
848
668
|
}, z.core.$strip>, z.ZodObject<{
|
|
849
669
|
action: z.ZodLiteral<"merged">;
|
|
850
|
-
mergedObjectIds: z.ZodArray<z.ZodString
|
|
851
|
-
newObjectId: z.ZodString
|
|
670
|
+
mergedObjectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
671
|
+
newObjectId: z.ZodOptional<z.ZodString>;
|
|
852
672
|
numberOfPropertiesMoved: z.ZodOptional<z.ZodNumber>;
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
856
|
-
eventId: z.ZodNumber;
|
|
673
|
+
primaryObjectId: z.ZodOptional<z.ZodString>;
|
|
674
|
+
journalOffset: z.ZodString;
|
|
857
675
|
objectId: z.ZodString;
|
|
858
676
|
objectType: z.ZodEnum<{
|
|
859
677
|
contact: "contact";
|
|
@@ -863,16 +681,11 @@ export declare const hubspotTriggerContracts: {
|
|
|
863
681
|
}>;
|
|
864
682
|
occurredAt: z.ZodDate;
|
|
865
683
|
portalId: z.ZodNumber;
|
|
866
|
-
|
|
867
|
-
subscriptionId: z.ZodNumber;
|
|
684
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
868
685
|
}, z.core.$strip>, z.ZodObject<{
|
|
869
|
-
action: z.ZodLiteral<"
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
appId: z.ZodOptional<z.ZodNumber>;
|
|
873
|
-
attemptNumber: z.ZodNumber;
|
|
874
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
875
|
-
eventId: z.ZodNumber;
|
|
686
|
+
action: z.ZodLiteral<"updated">;
|
|
687
|
+
propertyChanges: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
688
|
+
journalOffset: z.ZodString;
|
|
876
689
|
objectId: z.ZodString;
|
|
877
690
|
objectType: z.ZodEnum<{
|
|
878
691
|
contact: "contact";
|
|
@@ -882,14 +695,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
882
695
|
}>;
|
|
883
696
|
occurredAt: z.ZodDate;
|
|
884
697
|
portalId: z.ZodNumber;
|
|
885
|
-
|
|
886
|
-
subscriptionId: z.ZodNumber;
|
|
698
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
887
699
|
}, z.core.$strip>, z.ZodObject<{
|
|
888
700
|
action: z.ZodLiteral<"restored">;
|
|
889
|
-
|
|
890
|
-
attemptNumber: z.ZodNumber;
|
|
891
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
892
|
-
eventId: z.ZodNumber;
|
|
701
|
+
journalOffset: z.ZodString;
|
|
893
702
|
objectId: z.ZodString;
|
|
894
703
|
objectType: z.ZodEnum<{
|
|
895
704
|
contact: "contact";
|
|
@@ -899,30 +708,24 @@ export declare const hubspotTriggerContracts: {
|
|
|
899
708
|
}>;
|
|
900
709
|
occurredAt: z.ZodDate;
|
|
901
710
|
portalId: z.ZodNumber;
|
|
902
|
-
|
|
903
|
-
subscriptionId: z.ZodNumber;
|
|
711
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
904
712
|
}, z.core.$strip>], "action">, z.ZodObject<{
|
|
905
713
|
action: z.ZodLiteral<"merged">;
|
|
906
714
|
objectType: z.ZodLiteral<"company">;
|
|
907
715
|
}, z.core.$strip>>;
|
|
908
716
|
};
|
|
909
|
-
"hubspot.company.
|
|
717
|
+
"hubspot.company.restored": {
|
|
910
718
|
configSchema: z.ZodObject<{}, z.core.$strip>;
|
|
911
719
|
eventSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
912
720
|
action: z.ZodLiteral<"associationAdded">;
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
associationType: z.ZodString;
|
|
916
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
721
|
+
associationCategory: z.ZodString;
|
|
722
|
+
associationTypeId: z.ZodNumber;
|
|
917
723
|
fromObjectId: z.ZodString;
|
|
918
|
-
fromObjectTypeId: z.
|
|
919
|
-
|
|
724
|
+
fromObjectTypeId: z.ZodString;
|
|
725
|
+
isPrimary: z.ZodBoolean;
|
|
920
726
|
toObjectId: z.ZodString;
|
|
921
|
-
toObjectTypeId: z.
|
|
922
|
-
|
|
923
|
-
attemptNumber: z.ZodNumber;
|
|
924
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
925
|
-
eventId: z.ZodNumber;
|
|
727
|
+
toObjectTypeId: z.ZodString;
|
|
728
|
+
journalOffset: z.ZodString;
|
|
926
729
|
objectId: z.ZodString;
|
|
927
730
|
objectType: z.ZodEnum<{
|
|
928
731
|
contact: "contact";
|
|
@@ -932,23 +735,17 @@ export declare const hubspotTriggerContracts: {
|
|
|
932
735
|
}>;
|
|
933
736
|
occurredAt: z.ZodDate;
|
|
934
737
|
portalId: z.ZodNumber;
|
|
935
|
-
|
|
936
|
-
subscriptionId: z.ZodNumber;
|
|
738
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
937
739
|
}, z.core.$strip>, z.ZodObject<{
|
|
938
740
|
action: z.ZodLiteral<"associationRemoved">;
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
associationType: z.ZodString;
|
|
942
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
741
|
+
associationCategory: z.ZodString;
|
|
742
|
+
associationTypeId: z.ZodNumber;
|
|
943
743
|
fromObjectId: z.ZodString;
|
|
944
|
-
fromObjectTypeId: z.
|
|
945
|
-
|
|
744
|
+
fromObjectTypeId: z.ZodString;
|
|
745
|
+
isPrimary: z.ZodBoolean;
|
|
946
746
|
toObjectId: z.ZodString;
|
|
947
|
-
toObjectTypeId: z.
|
|
948
|
-
|
|
949
|
-
attemptNumber: z.ZodNumber;
|
|
950
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
951
|
-
eventId: z.ZodNumber;
|
|
747
|
+
toObjectTypeId: z.ZodString;
|
|
748
|
+
journalOffset: z.ZodString;
|
|
952
749
|
objectId: z.ZodString;
|
|
953
750
|
objectType: z.ZodEnum<{
|
|
954
751
|
contact: "contact";
|
|
@@ -958,14 +755,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
958
755
|
}>;
|
|
959
756
|
occurredAt: z.ZodDate;
|
|
960
757
|
portalId: z.ZodNumber;
|
|
961
|
-
|
|
962
|
-
subscriptionId: z.ZodNumber;
|
|
758
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
963
759
|
}, z.core.$strip>, z.ZodObject<{
|
|
964
760
|
action: z.ZodLiteral<"created">;
|
|
965
|
-
|
|
966
|
-
attemptNumber: z.ZodNumber;
|
|
967
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
968
|
-
eventId: z.ZodNumber;
|
|
761
|
+
journalOffset: z.ZodString;
|
|
969
762
|
objectId: z.ZodString;
|
|
970
763
|
objectType: z.ZodEnum<{
|
|
971
764
|
contact: "contact";
|
|
@@ -975,14 +768,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
975
768
|
}>;
|
|
976
769
|
occurredAt: z.ZodDate;
|
|
977
770
|
portalId: z.ZodNumber;
|
|
978
|
-
|
|
979
|
-
subscriptionId: z.ZodNumber;
|
|
771
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
980
772
|
}, z.core.$strip>, z.ZodObject<{
|
|
981
773
|
action: z.ZodLiteral<"deleted">;
|
|
982
|
-
|
|
983
|
-
attemptNumber: z.ZodNumber;
|
|
984
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
985
|
-
eventId: z.ZodNumber;
|
|
774
|
+
journalOffset: z.ZodString;
|
|
986
775
|
objectId: z.ZodString;
|
|
987
776
|
objectType: z.ZodEnum<{
|
|
988
777
|
contact: "contact";
|
|
@@ -992,17 +781,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
992
781
|
}>;
|
|
993
782
|
occurredAt: z.ZodDate;
|
|
994
783
|
portalId: z.ZodNumber;
|
|
995
|
-
|
|
996
|
-
subscriptionId: z.ZodNumber;
|
|
784
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
997
785
|
}, z.core.$strip>, z.ZodObject<{
|
|
998
786
|
action: z.ZodLiteral<"merged">;
|
|
999
|
-
mergedObjectIds: z.ZodArray<z.ZodString
|
|
1000
|
-
newObjectId: z.ZodString
|
|
787
|
+
mergedObjectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
788
|
+
newObjectId: z.ZodOptional<z.ZodString>;
|
|
1001
789
|
numberOfPropertiesMoved: z.ZodOptional<z.ZodNumber>;
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1005
|
-
eventId: z.ZodNumber;
|
|
790
|
+
primaryObjectId: z.ZodOptional<z.ZodString>;
|
|
791
|
+
journalOffset: z.ZodString;
|
|
1006
792
|
objectId: z.ZodString;
|
|
1007
793
|
objectType: z.ZodEnum<{
|
|
1008
794
|
contact: "contact";
|
|
@@ -1012,16 +798,11 @@ export declare const hubspotTriggerContracts: {
|
|
|
1012
798
|
}>;
|
|
1013
799
|
occurredAt: z.ZodDate;
|
|
1014
800
|
portalId: z.ZodNumber;
|
|
1015
|
-
|
|
1016
|
-
subscriptionId: z.ZodNumber;
|
|
801
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1017
802
|
}, z.core.$strip>, z.ZodObject<{
|
|
1018
|
-
action: z.ZodLiteral<"
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
appId: z.ZodOptional<z.ZodNumber>;
|
|
1022
|
-
attemptNumber: z.ZodNumber;
|
|
1023
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1024
|
-
eventId: z.ZodNumber;
|
|
803
|
+
action: z.ZodLiteral<"updated">;
|
|
804
|
+
propertyChanges: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
805
|
+
journalOffset: z.ZodString;
|
|
1025
806
|
objectId: z.ZodString;
|
|
1026
807
|
objectType: z.ZodEnum<{
|
|
1027
808
|
contact: "contact";
|
|
@@ -1031,14 +812,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
1031
812
|
}>;
|
|
1032
813
|
occurredAt: z.ZodDate;
|
|
1033
814
|
portalId: z.ZodNumber;
|
|
1034
|
-
|
|
1035
|
-
subscriptionId: z.ZodNumber;
|
|
815
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1036
816
|
}, z.core.$strip>, z.ZodObject<{
|
|
1037
817
|
action: z.ZodLiteral<"restored">;
|
|
1038
|
-
|
|
1039
|
-
attemptNumber: z.ZodNumber;
|
|
1040
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1041
|
-
eventId: z.ZodNumber;
|
|
818
|
+
journalOffset: z.ZodString;
|
|
1042
819
|
objectId: z.ZodString;
|
|
1043
820
|
objectType: z.ZodEnum<{
|
|
1044
821
|
contact: "contact";
|
|
@@ -1048,30 +825,24 @@ export declare const hubspotTriggerContracts: {
|
|
|
1048
825
|
}>;
|
|
1049
826
|
occurredAt: z.ZodDate;
|
|
1050
827
|
portalId: z.ZodNumber;
|
|
1051
|
-
|
|
1052
|
-
subscriptionId: z.ZodNumber;
|
|
828
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1053
829
|
}, z.core.$strip>], "action">, z.ZodObject<{
|
|
1054
|
-
action: z.ZodLiteral<"
|
|
830
|
+
action: z.ZodLiteral<"restored">;
|
|
1055
831
|
objectType: z.ZodLiteral<"company">;
|
|
1056
832
|
}, z.core.$strip>>;
|
|
1057
833
|
};
|
|
1058
|
-
"hubspot.company.
|
|
834
|
+
"hubspot.company.updated": {
|
|
1059
835
|
configSchema: z.ZodObject<{}, z.core.$strip>;
|
|
1060
836
|
eventSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1061
837
|
action: z.ZodLiteral<"associationAdded">;
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
associationType: z.ZodString;
|
|
1065
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
838
|
+
associationCategory: z.ZodString;
|
|
839
|
+
associationTypeId: z.ZodNumber;
|
|
1066
840
|
fromObjectId: z.ZodString;
|
|
1067
|
-
fromObjectTypeId: z.
|
|
1068
|
-
|
|
841
|
+
fromObjectTypeId: z.ZodString;
|
|
842
|
+
isPrimary: z.ZodBoolean;
|
|
1069
843
|
toObjectId: z.ZodString;
|
|
1070
|
-
toObjectTypeId: z.
|
|
1071
|
-
|
|
1072
|
-
attemptNumber: z.ZodNumber;
|
|
1073
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1074
|
-
eventId: z.ZodNumber;
|
|
844
|
+
toObjectTypeId: z.ZodString;
|
|
845
|
+
journalOffset: z.ZodString;
|
|
1075
846
|
objectId: z.ZodString;
|
|
1076
847
|
objectType: z.ZodEnum<{
|
|
1077
848
|
contact: "contact";
|
|
@@ -1081,23 +852,17 @@ export declare const hubspotTriggerContracts: {
|
|
|
1081
852
|
}>;
|
|
1082
853
|
occurredAt: z.ZodDate;
|
|
1083
854
|
portalId: z.ZodNumber;
|
|
1084
|
-
|
|
1085
|
-
subscriptionId: z.ZodNumber;
|
|
855
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1086
856
|
}, z.core.$strip>, z.ZodObject<{
|
|
1087
857
|
action: z.ZodLiteral<"associationRemoved">;
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
associationType: z.ZodString;
|
|
1091
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
858
|
+
associationCategory: z.ZodString;
|
|
859
|
+
associationTypeId: z.ZodNumber;
|
|
1092
860
|
fromObjectId: z.ZodString;
|
|
1093
|
-
fromObjectTypeId: z.
|
|
1094
|
-
|
|
861
|
+
fromObjectTypeId: z.ZodString;
|
|
862
|
+
isPrimary: z.ZodBoolean;
|
|
1095
863
|
toObjectId: z.ZodString;
|
|
1096
|
-
toObjectTypeId: z.
|
|
1097
|
-
|
|
1098
|
-
attemptNumber: z.ZodNumber;
|
|
1099
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1100
|
-
eventId: z.ZodNumber;
|
|
864
|
+
toObjectTypeId: z.ZodString;
|
|
865
|
+
journalOffset: z.ZodString;
|
|
1101
866
|
objectId: z.ZodString;
|
|
1102
867
|
objectType: z.ZodEnum<{
|
|
1103
868
|
contact: "contact";
|
|
@@ -1107,14 +872,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
1107
872
|
}>;
|
|
1108
873
|
occurredAt: z.ZodDate;
|
|
1109
874
|
portalId: z.ZodNumber;
|
|
1110
|
-
|
|
1111
|
-
subscriptionId: z.ZodNumber;
|
|
875
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1112
876
|
}, z.core.$strip>, z.ZodObject<{
|
|
1113
877
|
action: z.ZodLiteral<"created">;
|
|
1114
|
-
|
|
1115
|
-
attemptNumber: z.ZodNumber;
|
|
1116
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1117
|
-
eventId: z.ZodNumber;
|
|
878
|
+
journalOffset: z.ZodString;
|
|
1118
879
|
objectId: z.ZodString;
|
|
1119
880
|
objectType: z.ZodEnum<{
|
|
1120
881
|
contact: "contact";
|
|
@@ -1124,14 +885,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
1124
885
|
}>;
|
|
1125
886
|
occurredAt: z.ZodDate;
|
|
1126
887
|
portalId: z.ZodNumber;
|
|
1127
|
-
|
|
1128
|
-
subscriptionId: z.ZodNumber;
|
|
888
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1129
889
|
}, z.core.$strip>, z.ZodObject<{
|
|
1130
890
|
action: z.ZodLiteral<"deleted">;
|
|
1131
|
-
|
|
1132
|
-
attemptNumber: z.ZodNumber;
|
|
1133
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1134
|
-
eventId: z.ZodNumber;
|
|
891
|
+
journalOffset: z.ZodString;
|
|
1135
892
|
objectId: z.ZodString;
|
|
1136
893
|
objectType: z.ZodEnum<{
|
|
1137
894
|
contact: "contact";
|
|
@@ -1141,17 +898,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
1141
898
|
}>;
|
|
1142
899
|
occurredAt: z.ZodDate;
|
|
1143
900
|
portalId: z.ZodNumber;
|
|
1144
|
-
|
|
1145
|
-
subscriptionId: z.ZodNumber;
|
|
901
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1146
902
|
}, z.core.$strip>, z.ZodObject<{
|
|
1147
903
|
action: z.ZodLiteral<"merged">;
|
|
1148
|
-
mergedObjectIds: z.ZodArray<z.ZodString
|
|
1149
|
-
newObjectId: z.ZodString
|
|
904
|
+
mergedObjectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
905
|
+
newObjectId: z.ZodOptional<z.ZodString>;
|
|
1150
906
|
numberOfPropertiesMoved: z.ZodOptional<z.ZodNumber>;
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1154
|
-
eventId: z.ZodNumber;
|
|
907
|
+
primaryObjectId: z.ZodOptional<z.ZodString>;
|
|
908
|
+
journalOffset: z.ZodString;
|
|
1155
909
|
objectId: z.ZodString;
|
|
1156
910
|
objectType: z.ZodEnum<{
|
|
1157
911
|
contact: "contact";
|
|
@@ -1161,16 +915,11 @@ export declare const hubspotTriggerContracts: {
|
|
|
1161
915
|
}>;
|
|
1162
916
|
occurredAt: z.ZodDate;
|
|
1163
917
|
portalId: z.ZodNumber;
|
|
1164
|
-
|
|
1165
|
-
subscriptionId: z.ZodNumber;
|
|
918
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1166
919
|
}, z.core.$strip>, z.ZodObject<{
|
|
1167
|
-
action: z.ZodLiteral<"
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
appId: z.ZodOptional<z.ZodNumber>;
|
|
1171
|
-
attemptNumber: z.ZodNumber;
|
|
1172
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1173
|
-
eventId: z.ZodNumber;
|
|
920
|
+
action: z.ZodLiteral<"updated">;
|
|
921
|
+
propertyChanges: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
922
|
+
journalOffset: z.ZodString;
|
|
1174
923
|
objectId: z.ZodString;
|
|
1175
924
|
objectType: z.ZodEnum<{
|
|
1176
925
|
contact: "contact";
|
|
@@ -1180,14 +929,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
1180
929
|
}>;
|
|
1181
930
|
occurredAt: z.ZodDate;
|
|
1182
931
|
portalId: z.ZodNumber;
|
|
1183
|
-
|
|
1184
|
-
subscriptionId: z.ZodNumber;
|
|
932
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1185
933
|
}, z.core.$strip>, z.ZodObject<{
|
|
1186
934
|
action: z.ZodLiteral<"restored">;
|
|
1187
|
-
|
|
1188
|
-
attemptNumber: z.ZodNumber;
|
|
1189
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1190
|
-
eventId: z.ZodNumber;
|
|
935
|
+
journalOffset: z.ZodString;
|
|
1191
936
|
objectId: z.ZodString;
|
|
1192
937
|
objectType: z.ZodEnum<{
|
|
1193
938
|
contact: "contact";
|
|
@@ -1197,10 +942,9 @@ export declare const hubspotTriggerContracts: {
|
|
|
1197
942
|
}>;
|
|
1198
943
|
occurredAt: z.ZodDate;
|
|
1199
944
|
portalId: z.ZodNumber;
|
|
1200
|
-
|
|
1201
|
-
subscriptionId: z.ZodNumber;
|
|
945
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1202
946
|
}, z.core.$strip>], "action">, z.ZodObject<{
|
|
1203
|
-
action: z.ZodLiteral<"
|
|
947
|
+
action: z.ZodLiteral<"updated">;
|
|
1204
948
|
objectType: z.ZodLiteral<"company">;
|
|
1205
949
|
}, z.core.$strip>>;
|
|
1206
950
|
};
|
|
@@ -1208,19 +952,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
1208
952
|
configSchema: z.ZodObject<{}, z.core.$strip>;
|
|
1209
953
|
eventSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1210
954
|
action: z.ZodLiteral<"associationAdded">;
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
associationType: z.ZodString;
|
|
1214
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
955
|
+
associationCategory: z.ZodString;
|
|
956
|
+
associationTypeId: z.ZodNumber;
|
|
1215
957
|
fromObjectId: z.ZodString;
|
|
1216
|
-
fromObjectTypeId: z.
|
|
1217
|
-
|
|
958
|
+
fromObjectTypeId: z.ZodString;
|
|
959
|
+
isPrimary: z.ZodBoolean;
|
|
1218
960
|
toObjectId: z.ZodString;
|
|
1219
|
-
toObjectTypeId: z.
|
|
1220
|
-
|
|
1221
|
-
attemptNumber: z.ZodNumber;
|
|
1222
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1223
|
-
eventId: z.ZodNumber;
|
|
961
|
+
toObjectTypeId: z.ZodString;
|
|
962
|
+
journalOffset: z.ZodString;
|
|
1224
963
|
objectId: z.ZodString;
|
|
1225
964
|
objectType: z.ZodEnum<{
|
|
1226
965
|
contact: "contact";
|
|
@@ -1230,23 +969,17 @@ export declare const hubspotTriggerContracts: {
|
|
|
1230
969
|
}>;
|
|
1231
970
|
occurredAt: z.ZodDate;
|
|
1232
971
|
portalId: z.ZodNumber;
|
|
1233
|
-
|
|
1234
|
-
subscriptionId: z.ZodNumber;
|
|
972
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1235
973
|
}, z.core.$strip>, z.ZodObject<{
|
|
1236
974
|
action: z.ZodLiteral<"associationRemoved">;
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
associationType: z.ZodString;
|
|
1240
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
975
|
+
associationCategory: z.ZodString;
|
|
976
|
+
associationTypeId: z.ZodNumber;
|
|
1241
977
|
fromObjectId: z.ZodString;
|
|
1242
|
-
fromObjectTypeId: z.
|
|
1243
|
-
|
|
978
|
+
fromObjectTypeId: z.ZodString;
|
|
979
|
+
isPrimary: z.ZodBoolean;
|
|
1244
980
|
toObjectId: z.ZodString;
|
|
1245
|
-
toObjectTypeId: z.
|
|
1246
|
-
|
|
1247
|
-
attemptNumber: z.ZodNumber;
|
|
1248
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1249
|
-
eventId: z.ZodNumber;
|
|
981
|
+
toObjectTypeId: z.ZodString;
|
|
982
|
+
journalOffset: z.ZodString;
|
|
1250
983
|
objectId: z.ZodString;
|
|
1251
984
|
objectType: z.ZodEnum<{
|
|
1252
985
|
contact: "contact";
|
|
@@ -1256,14 +989,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
1256
989
|
}>;
|
|
1257
990
|
occurredAt: z.ZodDate;
|
|
1258
991
|
portalId: z.ZodNumber;
|
|
1259
|
-
|
|
1260
|
-
subscriptionId: z.ZodNumber;
|
|
992
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1261
993
|
}, z.core.$strip>, z.ZodObject<{
|
|
1262
994
|
action: z.ZodLiteral<"created">;
|
|
1263
|
-
|
|
1264
|
-
attemptNumber: z.ZodNumber;
|
|
1265
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1266
|
-
eventId: z.ZodNumber;
|
|
995
|
+
journalOffset: z.ZodString;
|
|
1267
996
|
objectId: z.ZodString;
|
|
1268
997
|
objectType: z.ZodEnum<{
|
|
1269
998
|
contact: "contact";
|
|
@@ -1273,14 +1002,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
1273
1002
|
}>;
|
|
1274
1003
|
occurredAt: z.ZodDate;
|
|
1275
1004
|
portalId: z.ZodNumber;
|
|
1276
|
-
|
|
1277
|
-
subscriptionId: z.ZodNumber;
|
|
1005
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1278
1006
|
}, z.core.$strip>, z.ZodObject<{
|
|
1279
1007
|
action: z.ZodLiteral<"deleted">;
|
|
1280
|
-
|
|
1281
|
-
attemptNumber: z.ZodNumber;
|
|
1282
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1283
|
-
eventId: z.ZodNumber;
|
|
1008
|
+
journalOffset: z.ZodString;
|
|
1284
1009
|
objectId: z.ZodString;
|
|
1285
1010
|
objectType: z.ZodEnum<{
|
|
1286
1011
|
contact: "contact";
|
|
@@ -1290,17 +1015,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
1290
1015
|
}>;
|
|
1291
1016
|
occurredAt: z.ZodDate;
|
|
1292
1017
|
portalId: z.ZodNumber;
|
|
1293
|
-
|
|
1294
|
-
subscriptionId: z.ZodNumber;
|
|
1018
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1295
1019
|
}, z.core.$strip>, z.ZodObject<{
|
|
1296
1020
|
action: z.ZodLiteral<"merged">;
|
|
1297
|
-
mergedObjectIds: z.ZodArray<z.ZodString
|
|
1298
|
-
newObjectId: z.ZodString
|
|
1021
|
+
mergedObjectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1022
|
+
newObjectId: z.ZodOptional<z.ZodString>;
|
|
1299
1023
|
numberOfPropertiesMoved: z.ZodOptional<z.ZodNumber>;
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1303
|
-
eventId: z.ZodNumber;
|
|
1024
|
+
primaryObjectId: z.ZodOptional<z.ZodString>;
|
|
1025
|
+
journalOffset: z.ZodString;
|
|
1304
1026
|
objectId: z.ZodString;
|
|
1305
1027
|
objectType: z.ZodEnum<{
|
|
1306
1028
|
contact: "contact";
|
|
@@ -1310,16 +1032,11 @@ export declare const hubspotTriggerContracts: {
|
|
|
1310
1032
|
}>;
|
|
1311
1033
|
occurredAt: z.ZodDate;
|
|
1312
1034
|
portalId: z.ZodNumber;
|
|
1313
|
-
|
|
1314
|
-
subscriptionId: z.ZodNumber;
|
|
1035
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1315
1036
|
}, z.core.$strip>, z.ZodObject<{
|
|
1316
|
-
action: z.ZodLiteral<"
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
appId: z.ZodOptional<z.ZodNumber>;
|
|
1320
|
-
attemptNumber: z.ZodNumber;
|
|
1321
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1322
|
-
eventId: z.ZodNumber;
|
|
1037
|
+
action: z.ZodLiteral<"updated">;
|
|
1038
|
+
propertyChanges: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
1039
|
+
journalOffset: z.ZodString;
|
|
1323
1040
|
objectId: z.ZodString;
|
|
1324
1041
|
objectType: z.ZodEnum<{
|
|
1325
1042
|
contact: "contact";
|
|
@@ -1329,14 +1046,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
1329
1046
|
}>;
|
|
1330
1047
|
occurredAt: z.ZodDate;
|
|
1331
1048
|
portalId: z.ZodNumber;
|
|
1332
|
-
|
|
1333
|
-
subscriptionId: z.ZodNumber;
|
|
1049
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1334
1050
|
}, z.core.$strip>, z.ZodObject<{
|
|
1335
1051
|
action: z.ZodLiteral<"restored">;
|
|
1336
|
-
|
|
1337
|
-
attemptNumber: z.ZodNumber;
|
|
1338
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1339
|
-
eventId: z.ZodNumber;
|
|
1052
|
+
journalOffset: z.ZodString;
|
|
1340
1053
|
objectId: z.ZodString;
|
|
1341
1054
|
objectType: z.ZodEnum<{
|
|
1342
1055
|
contact: "contact";
|
|
@@ -1346,8 +1059,7 @@ export declare const hubspotTriggerContracts: {
|
|
|
1346
1059
|
}>;
|
|
1347
1060
|
occurredAt: z.ZodDate;
|
|
1348
1061
|
portalId: z.ZodNumber;
|
|
1349
|
-
|
|
1350
|
-
subscriptionId: z.ZodNumber;
|
|
1062
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1351
1063
|
}, z.core.$strip>], "action">, z.ZodObject<{
|
|
1352
1064
|
action: z.ZodLiteral<"associationAdded">;
|
|
1353
1065
|
objectType: z.ZodLiteral<"contact">;
|
|
@@ -1357,19 +1069,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
1357
1069
|
configSchema: z.ZodObject<{}, z.core.$strip>;
|
|
1358
1070
|
eventSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1359
1071
|
action: z.ZodLiteral<"associationAdded">;
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
associationType: z.ZodString;
|
|
1363
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
1072
|
+
associationCategory: z.ZodString;
|
|
1073
|
+
associationTypeId: z.ZodNumber;
|
|
1364
1074
|
fromObjectId: z.ZodString;
|
|
1365
|
-
fromObjectTypeId: z.
|
|
1366
|
-
|
|
1075
|
+
fromObjectTypeId: z.ZodString;
|
|
1076
|
+
isPrimary: z.ZodBoolean;
|
|
1367
1077
|
toObjectId: z.ZodString;
|
|
1368
|
-
toObjectTypeId: z.
|
|
1369
|
-
|
|
1370
|
-
attemptNumber: z.ZodNumber;
|
|
1371
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1372
|
-
eventId: z.ZodNumber;
|
|
1078
|
+
toObjectTypeId: z.ZodString;
|
|
1079
|
+
journalOffset: z.ZodString;
|
|
1373
1080
|
objectId: z.ZodString;
|
|
1374
1081
|
objectType: z.ZodEnum<{
|
|
1375
1082
|
contact: "contact";
|
|
@@ -1379,23 +1086,17 @@ export declare const hubspotTriggerContracts: {
|
|
|
1379
1086
|
}>;
|
|
1380
1087
|
occurredAt: z.ZodDate;
|
|
1381
1088
|
portalId: z.ZodNumber;
|
|
1382
|
-
|
|
1383
|
-
subscriptionId: z.ZodNumber;
|
|
1089
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1384
1090
|
}, z.core.$strip>, z.ZodObject<{
|
|
1385
1091
|
action: z.ZodLiteral<"associationRemoved">;
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
associationType: z.ZodString;
|
|
1389
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
1092
|
+
associationCategory: z.ZodString;
|
|
1093
|
+
associationTypeId: z.ZodNumber;
|
|
1390
1094
|
fromObjectId: z.ZodString;
|
|
1391
|
-
fromObjectTypeId: z.
|
|
1392
|
-
|
|
1095
|
+
fromObjectTypeId: z.ZodString;
|
|
1096
|
+
isPrimary: z.ZodBoolean;
|
|
1393
1097
|
toObjectId: z.ZodString;
|
|
1394
|
-
toObjectTypeId: z.
|
|
1395
|
-
|
|
1396
|
-
attemptNumber: z.ZodNumber;
|
|
1397
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1398
|
-
eventId: z.ZodNumber;
|
|
1098
|
+
toObjectTypeId: z.ZodString;
|
|
1099
|
+
journalOffset: z.ZodString;
|
|
1399
1100
|
objectId: z.ZodString;
|
|
1400
1101
|
objectType: z.ZodEnum<{
|
|
1401
1102
|
contact: "contact";
|
|
@@ -1405,14 +1106,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
1405
1106
|
}>;
|
|
1406
1107
|
occurredAt: z.ZodDate;
|
|
1407
1108
|
portalId: z.ZodNumber;
|
|
1408
|
-
|
|
1409
|
-
subscriptionId: z.ZodNumber;
|
|
1109
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1410
1110
|
}, z.core.$strip>, z.ZodObject<{
|
|
1411
1111
|
action: z.ZodLiteral<"created">;
|
|
1412
|
-
|
|
1413
|
-
attemptNumber: z.ZodNumber;
|
|
1414
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1415
|
-
eventId: z.ZodNumber;
|
|
1112
|
+
journalOffset: z.ZodString;
|
|
1416
1113
|
objectId: z.ZodString;
|
|
1417
1114
|
objectType: z.ZodEnum<{
|
|
1418
1115
|
contact: "contact";
|
|
@@ -1422,14 +1119,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
1422
1119
|
}>;
|
|
1423
1120
|
occurredAt: z.ZodDate;
|
|
1424
1121
|
portalId: z.ZodNumber;
|
|
1425
|
-
|
|
1426
|
-
subscriptionId: z.ZodNumber;
|
|
1122
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1427
1123
|
}, z.core.$strip>, z.ZodObject<{
|
|
1428
1124
|
action: z.ZodLiteral<"deleted">;
|
|
1429
|
-
|
|
1430
|
-
attemptNumber: z.ZodNumber;
|
|
1431
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1432
|
-
eventId: z.ZodNumber;
|
|
1125
|
+
journalOffset: z.ZodString;
|
|
1433
1126
|
objectId: z.ZodString;
|
|
1434
1127
|
objectType: z.ZodEnum<{
|
|
1435
1128
|
contact: "contact";
|
|
@@ -1439,17 +1132,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
1439
1132
|
}>;
|
|
1440
1133
|
occurredAt: z.ZodDate;
|
|
1441
1134
|
portalId: z.ZodNumber;
|
|
1442
|
-
|
|
1443
|
-
subscriptionId: z.ZodNumber;
|
|
1135
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1444
1136
|
}, z.core.$strip>, z.ZodObject<{
|
|
1445
1137
|
action: z.ZodLiteral<"merged">;
|
|
1446
|
-
mergedObjectIds: z.ZodArray<z.ZodString
|
|
1447
|
-
newObjectId: z.ZodString
|
|
1138
|
+
mergedObjectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1139
|
+
newObjectId: z.ZodOptional<z.ZodString>;
|
|
1448
1140
|
numberOfPropertiesMoved: z.ZodOptional<z.ZodNumber>;
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1452
|
-
eventId: z.ZodNumber;
|
|
1141
|
+
primaryObjectId: z.ZodOptional<z.ZodString>;
|
|
1142
|
+
journalOffset: z.ZodString;
|
|
1453
1143
|
objectId: z.ZodString;
|
|
1454
1144
|
objectType: z.ZodEnum<{
|
|
1455
1145
|
contact: "contact";
|
|
@@ -1459,16 +1149,11 @@ export declare const hubspotTriggerContracts: {
|
|
|
1459
1149
|
}>;
|
|
1460
1150
|
occurredAt: z.ZodDate;
|
|
1461
1151
|
portalId: z.ZodNumber;
|
|
1462
|
-
|
|
1463
|
-
subscriptionId: z.ZodNumber;
|
|
1152
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1464
1153
|
}, z.core.$strip>, z.ZodObject<{
|
|
1465
|
-
action: z.ZodLiteral<"
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
appId: z.ZodOptional<z.ZodNumber>;
|
|
1469
|
-
attemptNumber: z.ZodNumber;
|
|
1470
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1471
|
-
eventId: z.ZodNumber;
|
|
1154
|
+
action: z.ZodLiteral<"updated">;
|
|
1155
|
+
propertyChanges: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
1156
|
+
journalOffset: z.ZodString;
|
|
1472
1157
|
objectId: z.ZodString;
|
|
1473
1158
|
objectType: z.ZodEnum<{
|
|
1474
1159
|
contact: "contact";
|
|
@@ -1478,14 +1163,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
1478
1163
|
}>;
|
|
1479
1164
|
occurredAt: z.ZodDate;
|
|
1480
1165
|
portalId: z.ZodNumber;
|
|
1481
|
-
|
|
1482
|
-
subscriptionId: z.ZodNumber;
|
|
1166
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1483
1167
|
}, z.core.$strip>, z.ZodObject<{
|
|
1484
1168
|
action: z.ZodLiteral<"restored">;
|
|
1485
|
-
|
|
1486
|
-
attemptNumber: z.ZodNumber;
|
|
1487
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1488
|
-
eventId: z.ZodNumber;
|
|
1169
|
+
journalOffset: z.ZodString;
|
|
1489
1170
|
objectId: z.ZodString;
|
|
1490
1171
|
objectType: z.ZodEnum<{
|
|
1491
1172
|
contact: "contact";
|
|
@@ -1495,8 +1176,7 @@ export declare const hubspotTriggerContracts: {
|
|
|
1495
1176
|
}>;
|
|
1496
1177
|
occurredAt: z.ZodDate;
|
|
1497
1178
|
portalId: z.ZodNumber;
|
|
1498
|
-
|
|
1499
|
-
subscriptionId: z.ZodNumber;
|
|
1179
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1500
1180
|
}, z.core.$strip>], "action">, z.ZodObject<{
|
|
1501
1181
|
action: z.ZodLiteral<"associationRemoved">;
|
|
1502
1182
|
objectType: z.ZodLiteral<"contact">;
|
|
@@ -1506,19 +1186,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
1506
1186
|
configSchema: z.ZodObject<{}, z.core.$strip>;
|
|
1507
1187
|
eventSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1508
1188
|
action: z.ZodLiteral<"associationAdded">;
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
associationType: z.ZodString;
|
|
1512
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
1189
|
+
associationCategory: z.ZodString;
|
|
1190
|
+
associationTypeId: z.ZodNumber;
|
|
1513
1191
|
fromObjectId: z.ZodString;
|
|
1514
|
-
fromObjectTypeId: z.
|
|
1515
|
-
|
|
1192
|
+
fromObjectTypeId: z.ZodString;
|
|
1193
|
+
isPrimary: z.ZodBoolean;
|
|
1516
1194
|
toObjectId: z.ZodString;
|
|
1517
|
-
toObjectTypeId: z.
|
|
1518
|
-
|
|
1519
|
-
attemptNumber: z.ZodNumber;
|
|
1520
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1521
|
-
eventId: z.ZodNumber;
|
|
1195
|
+
toObjectTypeId: z.ZodString;
|
|
1196
|
+
journalOffset: z.ZodString;
|
|
1522
1197
|
objectId: z.ZodString;
|
|
1523
1198
|
objectType: z.ZodEnum<{
|
|
1524
1199
|
contact: "contact";
|
|
@@ -1528,23 +1203,17 @@ export declare const hubspotTriggerContracts: {
|
|
|
1528
1203
|
}>;
|
|
1529
1204
|
occurredAt: z.ZodDate;
|
|
1530
1205
|
portalId: z.ZodNumber;
|
|
1531
|
-
|
|
1532
|
-
subscriptionId: z.ZodNumber;
|
|
1206
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1533
1207
|
}, z.core.$strip>, z.ZodObject<{
|
|
1534
1208
|
action: z.ZodLiteral<"associationRemoved">;
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
associationType: z.ZodString;
|
|
1538
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
1209
|
+
associationCategory: z.ZodString;
|
|
1210
|
+
associationTypeId: z.ZodNumber;
|
|
1539
1211
|
fromObjectId: z.ZodString;
|
|
1540
|
-
fromObjectTypeId: z.
|
|
1541
|
-
|
|
1212
|
+
fromObjectTypeId: z.ZodString;
|
|
1213
|
+
isPrimary: z.ZodBoolean;
|
|
1542
1214
|
toObjectId: z.ZodString;
|
|
1543
|
-
toObjectTypeId: z.
|
|
1544
|
-
|
|
1545
|
-
attemptNumber: z.ZodNumber;
|
|
1546
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1547
|
-
eventId: z.ZodNumber;
|
|
1215
|
+
toObjectTypeId: z.ZodString;
|
|
1216
|
+
journalOffset: z.ZodString;
|
|
1548
1217
|
objectId: z.ZodString;
|
|
1549
1218
|
objectType: z.ZodEnum<{
|
|
1550
1219
|
contact: "contact";
|
|
@@ -1554,14 +1223,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
1554
1223
|
}>;
|
|
1555
1224
|
occurredAt: z.ZodDate;
|
|
1556
1225
|
portalId: z.ZodNumber;
|
|
1557
|
-
|
|
1558
|
-
subscriptionId: z.ZodNumber;
|
|
1226
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1559
1227
|
}, z.core.$strip>, z.ZodObject<{
|
|
1560
1228
|
action: z.ZodLiteral<"created">;
|
|
1561
|
-
|
|
1562
|
-
attemptNumber: z.ZodNumber;
|
|
1563
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1564
|
-
eventId: z.ZodNumber;
|
|
1229
|
+
journalOffset: z.ZodString;
|
|
1565
1230
|
objectId: z.ZodString;
|
|
1566
1231
|
objectType: z.ZodEnum<{
|
|
1567
1232
|
contact: "contact";
|
|
@@ -1571,14 +1236,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
1571
1236
|
}>;
|
|
1572
1237
|
occurredAt: z.ZodDate;
|
|
1573
1238
|
portalId: z.ZodNumber;
|
|
1574
|
-
|
|
1575
|
-
subscriptionId: z.ZodNumber;
|
|
1239
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1576
1240
|
}, z.core.$strip>, z.ZodObject<{
|
|
1577
1241
|
action: z.ZodLiteral<"deleted">;
|
|
1578
|
-
|
|
1579
|
-
attemptNumber: z.ZodNumber;
|
|
1580
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1581
|
-
eventId: z.ZodNumber;
|
|
1242
|
+
journalOffset: z.ZodString;
|
|
1582
1243
|
objectId: z.ZodString;
|
|
1583
1244
|
objectType: z.ZodEnum<{
|
|
1584
1245
|
contact: "contact";
|
|
@@ -1588,17 +1249,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
1588
1249
|
}>;
|
|
1589
1250
|
occurredAt: z.ZodDate;
|
|
1590
1251
|
portalId: z.ZodNumber;
|
|
1591
|
-
|
|
1592
|
-
subscriptionId: z.ZodNumber;
|
|
1252
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1593
1253
|
}, z.core.$strip>, z.ZodObject<{
|
|
1594
1254
|
action: z.ZodLiteral<"merged">;
|
|
1595
|
-
mergedObjectIds: z.ZodArray<z.ZodString
|
|
1596
|
-
newObjectId: z.ZodString
|
|
1255
|
+
mergedObjectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1256
|
+
newObjectId: z.ZodOptional<z.ZodString>;
|
|
1597
1257
|
numberOfPropertiesMoved: z.ZodOptional<z.ZodNumber>;
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1601
|
-
eventId: z.ZodNumber;
|
|
1258
|
+
primaryObjectId: z.ZodOptional<z.ZodString>;
|
|
1259
|
+
journalOffset: z.ZodString;
|
|
1602
1260
|
objectId: z.ZodString;
|
|
1603
1261
|
objectType: z.ZodEnum<{
|
|
1604
1262
|
contact: "contact";
|
|
@@ -1608,16 +1266,11 @@ export declare const hubspotTriggerContracts: {
|
|
|
1608
1266
|
}>;
|
|
1609
1267
|
occurredAt: z.ZodDate;
|
|
1610
1268
|
portalId: z.ZodNumber;
|
|
1611
|
-
|
|
1612
|
-
subscriptionId: z.ZodNumber;
|
|
1269
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1613
1270
|
}, z.core.$strip>, z.ZodObject<{
|
|
1614
|
-
action: z.ZodLiteral<"
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
appId: z.ZodOptional<z.ZodNumber>;
|
|
1618
|
-
attemptNumber: z.ZodNumber;
|
|
1619
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1620
|
-
eventId: z.ZodNumber;
|
|
1271
|
+
action: z.ZodLiteral<"updated">;
|
|
1272
|
+
propertyChanges: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
1273
|
+
journalOffset: z.ZodString;
|
|
1621
1274
|
objectId: z.ZodString;
|
|
1622
1275
|
objectType: z.ZodEnum<{
|
|
1623
1276
|
contact: "contact";
|
|
@@ -1627,14 +1280,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
1627
1280
|
}>;
|
|
1628
1281
|
occurredAt: z.ZodDate;
|
|
1629
1282
|
portalId: z.ZodNumber;
|
|
1630
|
-
|
|
1631
|
-
subscriptionId: z.ZodNumber;
|
|
1283
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1632
1284
|
}, z.core.$strip>, z.ZodObject<{
|
|
1633
1285
|
action: z.ZodLiteral<"restored">;
|
|
1634
|
-
|
|
1635
|
-
attemptNumber: z.ZodNumber;
|
|
1636
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1637
|
-
eventId: z.ZodNumber;
|
|
1286
|
+
journalOffset: z.ZodString;
|
|
1638
1287
|
objectId: z.ZodString;
|
|
1639
1288
|
objectType: z.ZodEnum<{
|
|
1640
1289
|
contact: "contact";
|
|
@@ -1644,8 +1293,7 @@ export declare const hubspotTriggerContracts: {
|
|
|
1644
1293
|
}>;
|
|
1645
1294
|
occurredAt: z.ZodDate;
|
|
1646
1295
|
portalId: z.ZodNumber;
|
|
1647
|
-
|
|
1648
|
-
subscriptionId: z.ZodNumber;
|
|
1296
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1649
1297
|
}, z.core.$strip>], "action">, z.ZodObject<{
|
|
1650
1298
|
action: z.ZodLiteral<"created">;
|
|
1651
1299
|
objectType: z.ZodLiteral<"contact">;
|
|
@@ -1655,19 +1303,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
1655
1303
|
configSchema: z.ZodObject<{}, z.core.$strip>;
|
|
1656
1304
|
eventSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1657
1305
|
action: z.ZodLiteral<"associationAdded">;
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
associationType: z.ZodString;
|
|
1661
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
1306
|
+
associationCategory: z.ZodString;
|
|
1307
|
+
associationTypeId: z.ZodNumber;
|
|
1662
1308
|
fromObjectId: z.ZodString;
|
|
1663
|
-
fromObjectTypeId: z.
|
|
1664
|
-
|
|
1309
|
+
fromObjectTypeId: z.ZodString;
|
|
1310
|
+
isPrimary: z.ZodBoolean;
|
|
1665
1311
|
toObjectId: z.ZodString;
|
|
1666
|
-
toObjectTypeId: z.
|
|
1667
|
-
|
|
1668
|
-
attemptNumber: z.ZodNumber;
|
|
1669
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1670
|
-
eventId: z.ZodNumber;
|
|
1312
|
+
toObjectTypeId: z.ZodString;
|
|
1313
|
+
journalOffset: z.ZodString;
|
|
1671
1314
|
objectId: z.ZodString;
|
|
1672
1315
|
objectType: z.ZodEnum<{
|
|
1673
1316
|
contact: "contact";
|
|
@@ -1677,23 +1320,17 @@ export declare const hubspotTriggerContracts: {
|
|
|
1677
1320
|
}>;
|
|
1678
1321
|
occurredAt: z.ZodDate;
|
|
1679
1322
|
portalId: z.ZodNumber;
|
|
1680
|
-
|
|
1681
|
-
subscriptionId: z.ZodNumber;
|
|
1323
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1682
1324
|
}, z.core.$strip>, z.ZodObject<{
|
|
1683
1325
|
action: z.ZodLiteral<"associationRemoved">;
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
associationType: z.ZodString;
|
|
1687
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
1326
|
+
associationCategory: z.ZodString;
|
|
1327
|
+
associationTypeId: z.ZodNumber;
|
|
1688
1328
|
fromObjectId: z.ZodString;
|
|
1689
|
-
fromObjectTypeId: z.
|
|
1690
|
-
|
|
1329
|
+
fromObjectTypeId: z.ZodString;
|
|
1330
|
+
isPrimary: z.ZodBoolean;
|
|
1691
1331
|
toObjectId: z.ZodString;
|
|
1692
|
-
toObjectTypeId: z.
|
|
1693
|
-
|
|
1694
|
-
attemptNumber: z.ZodNumber;
|
|
1695
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1696
|
-
eventId: z.ZodNumber;
|
|
1332
|
+
toObjectTypeId: z.ZodString;
|
|
1333
|
+
journalOffset: z.ZodString;
|
|
1697
1334
|
objectId: z.ZodString;
|
|
1698
1335
|
objectType: z.ZodEnum<{
|
|
1699
1336
|
contact: "contact";
|
|
@@ -1703,14 +1340,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
1703
1340
|
}>;
|
|
1704
1341
|
occurredAt: z.ZodDate;
|
|
1705
1342
|
portalId: z.ZodNumber;
|
|
1706
|
-
|
|
1707
|
-
subscriptionId: z.ZodNumber;
|
|
1343
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1708
1344
|
}, z.core.$strip>, z.ZodObject<{
|
|
1709
1345
|
action: z.ZodLiteral<"created">;
|
|
1710
|
-
|
|
1711
|
-
attemptNumber: z.ZodNumber;
|
|
1712
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1713
|
-
eventId: z.ZodNumber;
|
|
1346
|
+
journalOffset: z.ZodString;
|
|
1714
1347
|
objectId: z.ZodString;
|
|
1715
1348
|
objectType: z.ZodEnum<{
|
|
1716
1349
|
contact: "contact";
|
|
@@ -1720,14 +1353,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
1720
1353
|
}>;
|
|
1721
1354
|
occurredAt: z.ZodDate;
|
|
1722
1355
|
portalId: z.ZodNumber;
|
|
1723
|
-
|
|
1724
|
-
subscriptionId: z.ZodNumber;
|
|
1356
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1725
1357
|
}, z.core.$strip>, z.ZodObject<{
|
|
1726
1358
|
action: z.ZodLiteral<"deleted">;
|
|
1727
|
-
|
|
1728
|
-
attemptNumber: z.ZodNumber;
|
|
1729
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1730
|
-
eventId: z.ZodNumber;
|
|
1359
|
+
journalOffset: z.ZodString;
|
|
1731
1360
|
objectId: z.ZodString;
|
|
1732
1361
|
objectType: z.ZodEnum<{
|
|
1733
1362
|
contact: "contact";
|
|
@@ -1737,17 +1366,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
1737
1366
|
}>;
|
|
1738
1367
|
occurredAt: z.ZodDate;
|
|
1739
1368
|
portalId: z.ZodNumber;
|
|
1740
|
-
|
|
1741
|
-
subscriptionId: z.ZodNumber;
|
|
1369
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1742
1370
|
}, z.core.$strip>, z.ZodObject<{
|
|
1743
1371
|
action: z.ZodLiteral<"merged">;
|
|
1744
|
-
mergedObjectIds: z.ZodArray<z.ZodString
|
|
1745
|
-
newObjectId: z.ZodString
|
|
1372
|
+
mergedObjectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1373
|
+
newObjectId: z.ZodOptional<z.ZodString>;
|
|
1746
1374
|
numberOfPropertiesMoved: z.ZodOptional<z.ZodNumber>;
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1750
|
-
eventId: z.ZodNumber;
|
|
1375
|
+
primaryObjectId: z.ZodOptional<z.ZodString>;
|
|
1376
|
+
journalOffset: z.ZodString;
|
|
1751
1377
|
objectId: z.ZodString;
|
|
1752
1378
|
objectType: z.ZodEnum<{
|
|
1753
1379
|
contact: "contact";
|
|
@@ -1757,16 +1383,11 @@ export declare const hubspotTriggerContracts: {
|
|
|
1757
1383
|
}>;
|
|
1758
1384
|
occurredAt: z.ZodDate;
|
|
1759
1385
|
portalId: z.ZodNumber;
|
|
1760
|
-
|
|
1761
|
-
subscriptionId: z.ZodNumber;
|
|
1386
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1762
1387
|
}, z.core.$strip>, z.ZodObject<{
|
|
1763
|
-
action: z.ZodLiteral<"
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
appId: z.ZodOptional<z.ZodNumber>;
|
|
1767
|
-
attemptNumber: z.ZodNumber;
|
|
1768
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1769
|
-
eventId: z.ZodNumber;
|
|
1388
|
+
action: z.ZodLiteral<"updated">;
|
|
1389
|
+
propertyChanges: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
1390
|
+
journalOffset: z.ZodString;
|
|
1770
1391
|
objectId: z.ZodString;
|
|
1771
1392
|
objectType: z.ZodEnum<{
|
|
1772
1393
|
contact: "contact";
|
|
@@ -1776,14 +1397,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
1776
1397
|
}>;
|
|
1777
1398
|
occurredAt: z.ZodDate;
|
|
1778
1399
|
portalId: z.ZodNumber;
|
|
1779
|
-
|
|
1780
|
-
subscriptionId: z.ZodNumber;
|
|
1400
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1781
1401
|
}, z.core.$strip>, z.ZodObject<{
|
|
1782
1402
|
action: z.ZodLiteral<"restored">;
|
|
1783
|
-
|
|
1784
|
-
attemptNumber: z.ZodNumber;
|
|
1785
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1786
|
-
eventId: z.ZodNumber;
|
|
1403
|
+
journalOffset: z.ZodString;
|
|
1787
1404
|
objectId: z.ZodString;
|
|
1788
1405
|
objectType: z.ZodEnum<{
|
|
1789
1406
|
contact: "contact";
|
|
@@ -1793,8 +1410,7 @@ export declare const hubspotTriggerContracts: {
|
|
|
1793
1410
|
}>;
|
|
1794
1411
|
occurredAt: z.ZodDate;
|
|
1795
1412
|
portalId: z.ZodNumber;
|
|
1796
|
-
|
|
1797
|
-
subscriptionId: z.ZodNumber;
|
|
1413
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1798
1414
|
}, z.core.$strip>], "action">, z.ZodObject<{
|
|
1799
1415
|
action: z.ZodLiteral<"deleted">;
|
|
1800
1416
|
objectType: z.ZodLiteral<"contact">;
|
|
@@ -1804,19 +1420,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
1804
1420
|
configSchema: z.ZodObject<{}, z.core.$strip>;
|
|
1805
1421
|
eventSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1806
1422
|
action: z.ZodLiteral<"associationAdded">;
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
associationType: z.ZodString;
|
|
1810
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
1423
|
+
associationCategory: z.ZodString;
|
|
1424
|
+
associationTypeId: z.ZodNumber;
|
|
1811
1425
|
fromObjectId: z.ZodString;
|
|
1812
|
-
fromObjectTypeId: z.
|
|
1813
|
-
|
|
1426
|
+
fromObjectTypeId: z.ZodString;
|
|
1427
|
+
isPrimary: z.ZodBoolean;
|
|
1814
1428
|
toObjectId: z.ZodString;
|
|
1815
|
-
toObjectTypeId: z.
|
|
1816
|
-
|
|
1817
|
-
attemptNumber: z.ZodNumber;
|
|
1818
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1819
|
-
eventId: z.ZodNumber;
|
|
1429
|
+
toObjectTypeId: z.ZodString;
|
|
1430
|
+
journalOffset: z.ZodString;
|
|
1820
1431
|
objectId: z.ZodString;
|
|
1821
1432
|
objectType: z.ZodEnum<{
|
|
1822
1433
|
contact: "contact";
|
|
@@ -1826,23 +1437,17 @@ export declare const hubspotTriggerContracts: {
|
|
|
1826
1437
|
}>;
|
|
1827
1438
|
occurredAt: z.ZodDate;
|
|
1828
1439
|
portalId: z.ZodNumber;
|
|
1829
|
-
|
|
1830
|
-
subscriptionId: z.ZodNumber;
|
|
1440
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1831
1441
|
}, z.core.$strip>, z.ZodObject<{
|
|
1832
1442
|
action: z.ZodLiteral<"associationRemoved">;
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
associationType: z.ZodString;
|
|
1836
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
1443
|
+
associationCategory: z.ZodString;
|
|
1444
|
+
associationTypeId: z.ZodNumber;
|
|
1837
1445
|
fromObjectId: z.ZodString;
|
|
1838
|
-
fromObjectTypeId: z.
|
|
1839
|
-
|
|
1446
|
+
fromObjectTypeId: z.ZodString;
|
|
1447
|
+
isPrimary: z.ZodBoolean;
|
|
1840
1448
|
toObjectId: z.ZodString;
|
|
1841
|
-
toObjectTypeId: z.
|
|
1842
|
-
|
|
1843
|
-
attemptNumber: z.ZodNumber;
|
|
1844
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1845
|
-
eventId: z.ZodNumber;
|
|
1449
|
+
toObjectTypeId: z.ZodString;
|
|
1450
|
+
journalOffset: z.ZodString;
|
|
1846
1451
|
objectId: z.ZodString;
|
|
1847
1452
|
objectType: z.ZodEnum<{
|
|
1848
1453
|
contact: "contact";
|
|
@@ -1852,14 +1457,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
1852
1457
|
}>;
|
|
1853
1458
|
occurredAt: z.ZodDate;
|
|
1854
1459
|
portalId: z.ZodNumber;
|
|
1855
|
-
|
|
1856
|
-
subscriptionId: z.ZodNumber;
|
|
1460
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1857
1461
|
}, z.core.$strip>, z.ZodObject<{
|
|
1858
1462
|
action: z.ZodLiteral<"created">;
|
|
1859
|
-
|
|
1860
|
-
attemptNumber: z.ZodNumber;
|
|
1861
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1862
|
-
eventId: z.ZodNumber;
|
|
1463
|
+
journalOffset: z.ZodString;
|
|
1863
1464
|
objectId: z.ZodString;
|
|
1864
1465
|
objectType: z.ZodEnum<{
|
|
1865
1466
|
contact: "contact";
|
|
@@ -1869,14 +1470,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
1869
1470
|
}>;
|
|
1870
1471
|
occurredAt: z.ZodDate;
|
|
1871
1472
|
portalId: z.ZodNumber;
|
|
1872
|
-
|
|
1873
|
-
subscriptionId: z.ZodNumber;
|
|
1473
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1874
1474
|
}, z.core.$strip>, z.ZodObject<{
|
|
1875
1475
|
action: z.ZodLiteral<"deleted">;
|
|
1876
|
-
|
|
1877
|
-
attemptNumber: z.ZodNumber;
|
|
1878
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1879
|
-
eventId: z.ZodNumber;
|
|
1476
|
+
journalOffset: z.ZodString;
|
|
1880
1477
|
objectId: z.ZodString;
|
|
1881
1478
|
objectType: z.ZodEnum<{
|
|
1882
1479
|
contact: "contact";
|
|
@@ -1886,17 +1483,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
1886
1483
|
}>;
|
|
1887
1484
|
occurredAt: z.ZodDate;
|
|
1888
1485
|
portalId: z.ZodNumber;
|
|
1889
|
-
|
|
1890
|
-
subscriptionId: z.ZodNumber;
|
|
1486
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1891
1487
|
}, z.core.$strip>, z.ZodObject<{
|
|
1892
1488
|
action: z.ZodLiteral<"merged">;
|
|
1893
|
-
mergedObjectIds: z.ZodArray<z.ZodString
|
|
1894
|
-
newObjectId: z.ZodString
|
|
1489
|
+
mergedObjectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1490
|
+
newObjectId: z.ZodOptional<z.ZodString>;
|
|
1895
1491
|
numberOfPropertiesMoved: z.ZodOptional<z.ZodNumber>;
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1899
|
-
eventId: z.ZodNumber;
|
|
1492
|
+
primaryObjectId: z.ZodOptional<z.ZodString>;
|
|
1493
|
+
journalOffset: z.ZodString;
|
|
1900
1494
|
objectId: z.ZodString;
|
|
1901
1495
|
objectType: z.ZodEnum<{
|
|
1902
1496
|
contact: "contact";
|
|
@@ -1906,16 +1500,11 @@ export declare const hubspotTriggerContracts: {
|
|
|
1906
1500
|
}>;
|
|
1907
1501
|
occurredAt: z.ZodDate;
|
|
1908
1502
|
portalId: z.ZodNumber;
|
|
1909
|
-
|
|
1910
|
-
subscriptionId: z.ZodNumber;
|
|
1503
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1911
1504
|
}, z.core.$strip>, z.ZodObject<{
|
|
1912
|
-
action: z.ZodLiteral<"
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
appId: z.ZodOptional<z.ZodNumber>;
|
|
1916
|
-
attemptNumber: z.ZodNumber;
|
|
1917
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1918
|
-
eventId: z.ZodNumber;
|
|
1505
|
+
action: z.ZodLiteral<"updated">;
|
|
1506
|
+
propertyChanges: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
1507
|
+
journalOffset: z.ZodString;
|
|
1919
1508
|
objectId: z.ZodString;
|
|
1920
1509
|
objectType: z.ZodEnum<{
|
|
1921
1510
|
contact: "contact";
|
|
@@ -1925,14 +1514,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
1925
1514
|
}>;
|
|
1926
1515
|
occurredAt: z.ZodDate;
|
|
1927
1516
|
portalId: z.ZodNumber;
|
|
1928
|
-
|
|
1929
|
-
subscriptionId: z.ZodNumber;
|
|
1517
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1930
1518
|
}, z.core.$strip>, z.ZodObject<{
|
|
1931
1519
|
action: z.ZodLiteral<"restored">;
|
|
1932
|
-
|
|
1933
|
-
attemptNumber: z.ZodNumber;
|
|
1934
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1935
|
-
eventId: z.ZodNumber;
|
|
1520
|
+
journalOffset: z.ZodString;
|
|
1936
1521
|
objectId: z.ZodString;
|
|
1937
1522
|
objectType: z.ZodEnum<{
|
|
1938
1523
|
contact: "contact";
|
|
@@ -1942,30 +1527,24 @@ export declare const hubspotTriggerContracts: {
|
|
|
1942
1527
|
}>;
|
|
1943
1528
|
occurredAt: z.ZodDate;
|
|
1944
1529
|
portalId: z.ZodNumber;
|
|
1945
|
-
|
|
1946
|
-
subscriptionId: z.ZodNumber;
|
|
1530
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1947
1531
|
}, z.core.$strip>], "action">, z.ZodObject<{
|
|
1948
1532
|
action: z.ZodLiteral<"merged">;
|
|
1949
1533
|
objectType: z.ZodLiteral<"contact">;
|
|
1950
1534
|
}, z.core.$strip>>;
|
|
1951
1535
|
};
|
|
1952
|
-
"hubspot.contact.
|
|
1536
|
+
"hubspot.contact.restored": {
|
|
1953
1537
|
configSchema: z.ZodObject<{}, z.core.$strip>;
|
|
1954
1538
|
eventSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1955
1539
|
action: z.ZodLiteral<"associationAdded">;
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
associationType: z.ZodString;
|
|
1959
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
1540
|
+
associationCategory: z.ZodString;
|
|
1541
|
+
associationTypeId: z.ZodNumber;
|
|
1960
1542
|
fromObjectId: z.ZodString;
|
|
1961
|
-
fromObjectTypeId: z.
|
|
1962
|
-
|
|
1543
|
+
fromObjectTypeId: z.ZodString;
|
|
1544
|
+
isPrimary: z.ZodBoolean;
|
|
1963
1545
|
toObjectId: z.ZodString;
|
|
1964
|
-
toObjectTypeId: z.
|
|
1965
|
-
|
|
1966
|
-
attemptNumber: z.ZodNumber;
|
|
1967
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1968
|
-
eventId: z.ZodNumber;
|
|
1546
|
+
toObjectTypeId: z.ZodString;
|
|
1547
|
+
journalOffset: z.ZodString;
|
|
1969
1548
|
objectId: z.ZodString;
|
|
1970
1549
|
objectType: z.ZodEnum<{
|
|
1971
1550
|
contact: "contact";
|
|
@@ -1975,23 +1554,17 @@ export declare const hubspotTriggerContracts: {
|
|
|
1975
1554
|
}>;
|
|
1976
1555
|
occurredAt: z.ZodDate;
|
|
1977
1556
|
portalId: z.ZodNumber;
|
|
1978
|
-
|
|
1979
|
-
subscriptionId: z.ZodNumber;
|
|
1557
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1980
1558
|
}, z.core.$strip>, z.ZodObject<{
|
|
1981
1559
|
action: z.ZodLiteral<"associationRemoved">;
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
associationType: z.ZodString;
|
|
1985
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
1560
|
+
associationCategory: z.ZodString;
|
|
1561
|
+
associationTypeId: z.ZodNumber;
|
|
1986
1562
|
fromObjectId: z.ZodString;
|
|
1987
|
-
fromObjectTypeId: z.
|
|
1988
|
-
|
|
1563
|
+
fromObjectTypeId: z.ZodString;
|
|
1564
|
+
isPrimary: z.ZodBoolean;
|
|
1989
1565
|
toObjectId: z.ZodString;
|
|
1990
|
-
toObjectTypeId: z.
|
|
1991
|
-
|
|
1992
|
-
attemptNumber: z.ZodNumber;
|
|
1993
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
1994
|
-
eventId: z.ZodNumber;
|
|
1566
|
+
toObjectTypeId: z.ZodString;
|
|
1567
|
+
journalOffset: z.ZodString;
|
|
1995
1568
|
objectId: z.ZodString;
|
|
1996
1569
|
objectType: z.ZodEnum<{
|
|
1997
1570
|
contact: "contact";
|
|
@@ -2001,14 +1574,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
2001
1574
|
}>;
|
|
2002
1575
|
occurredAt: z.ZodDate;
|
|
2003
1576
|
portalId: z.ZodNumber;
|
|
2004
|
-
|
|
2005
|
-
subscriptionId: z.ZodNumber;
|
|
1577
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2006
1578
|
}, z.core.$strip>, z.ZodObject<{
|
|
2007
1579
|
action: z.ZodLiteral<"created">;
|
|
2008
|
-
|
|
2009
|
-
attemptNumber: z.ZodNumber;
|
|
2010
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2011
|
-
eventId: z.ZodNumber;
|
|
1580
|
+
journalOffset: z.ZodString;
|
|
2012
1581
|
objectId: z.ZodString;
|
|
2013
1582
|
objectType: z.ZodEnum<{
|
|
2014
1583
|
contact: "contact";
|
|
@@ -2018,14 +1587,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
2018
1587
|
}>;
|
|
2019
1588
|
occurredAt: z.ZodDate;
|
|
2020
1589
|
portalId: z.ZodNumber;
|
|
2021
|
-
|
|
2022
|
-
subscriptionId: z.ZodNumber;
|
|
1590
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2023
1591
|
}, z.core.$strip>, z.ZodObject<{
|
|
2024
1592
|
action: z.ZodLiteral<"deleted">;
|
|
2025
|
-
|
|
2026
|
-
attemptNumber: z.ZodNumber;
|
|
2027
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2028
|
-
eventId: z.ZodNumber;
|
|
1593
|
+
journalOffset: z.ZodString;
|
|
2029
1594
|
objectId: z.ZodString;
|
|
2030
1595
|
objectType: z.ZodEnum<{
|
|
2031
1596
|
contact: "contact";
|
|
@@ -2035,17 +1600,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
2035
1600
|
}>;
|
|
2036
1601
|
occurredAt: z.ZodDate;
|
|
2037
1602
|
portalId: z.ZodNumber;
|
|
2038
|
-
|
|
2039
|
-
subscriptionId: z.ZodNumber;
|
|
1603
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2040
1604
|
}, z.core.$strip>, z.ZodObject<{
|
|
2041
1605
|
action: z.ZodLiteral<"merged">;
|
|
2042
|
-
mergedObjectIds: z.ZodArray<z.ZodString
|
|
2043
|
-
newObjectId: z.ZodString
|
|
1606
|
+
mergedObjectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1607
|
+
newObjectId: z.ZodOptional<z.ZodString>;
|
|
2044
1608
|
numberOfPropertiesMoved: z.ZodOptional<z.ZodNumber>;
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2048
|
-
eventId: z.ZodNumber;
|
|
1609
|
+
primaryObjectId: z.ZodOptional<z.ZodString>;
|
|
1610
|
+
journalOffset: z.ZodString;
|
|
2049
1611
|
objectId: z.ZodString;
|
|
2050
1612
|
objectType: z.ZodEnum<{
|
|
2051
1613
|
contact: "contact";
|
|
@@ -2055,16 +1617,11 @@ export declare const hubspotTriggerContracts: {
|
|
|
2055
1617
|
}>;
|
|
2056
1618
|
occurredAt: z.ZodDate;
|
|
2057
1619
|
portalId: z.ZodNumber;
|
|
2058
|
-
|
|
2059
|
-
subscriptionId: z.ZodNumber;
|
|
1620
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2060
1621
|
}, z.core.$strip>, z.ZodObject<{
|
|
2061
|
-
action: z.ZodLiteral<"
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
appId: z.ZodOptional<z.ZodNumber>;
|
|
2065
|
-
attemptNumber: z.ZodNumber;
|
|
2066
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2067
|
-
eventId: z.ZodNumber;
|
|
1622
|
+
action: z.ZodLiteral<"updated">;
|
|
1623
|
+
propertyChanges: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
1624
|
+
journalOffset: z.ZodString;
|
|
2068
1625
|
objectId: z.ZodString;
|
|
2069
1626
|
objectType: z.ZodEnum<{
|
|
2070
1627
|
contact: "contact";
|
|
@@ -2074,14 +1631,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
2074
1631
|
}>;
|
|
2075
1632
|
occurredAt: z.ZodDate;
|
|
2076
1633
|
portalId: z.ZodNumber;
|
|
2077
|
-
|
|
2078
|
-
subscriptionId: z.ZodNumber;
|
|
1634
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2079
1635
|
}, z.core.$strip>, z.ZodObject<{
|
|
2080
1636
|
action: z.ZodLiteral<"restored">;
|
|
2081
|
-
|
|
2082
|
-
attemptNumber: z.ZodNumber;
|
|
2083
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2084
|
-
eventId: z.ZodNumber;
|
|
1637
|
+
journalOffset: z.ZodString;
|
|
2085
1638
|
objectId: z.ZodString;
|
|
2086
1639
|
objectType: z.ZodEnum<{
|
|
2087
1640
|
contact: "contact";
|
|
@@ -2091,30 +1644,24 @@ export declare const hubspotTriggerContracts: {
|
|
|
2091
1644
|
}>;
|
|
2092
1645
|
occurredAt: z.ZodDate;
|
|
2093
1646
|
portalId: z.ZodNumber;
|
|
2094
|
-
|
|
2095
|
-
subscriptionId: z.ZodNumber;
|
|
1647
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2096
1648
|
}, z.core.$strip>], "action">, z.ZodObject<{
|
|
2097
|
-
action: z.ZodLiteral<"
|
|
1649
|
+
action: z.ZodLiteral<"restored">;
|
|
2098
1650
|
objectType: z.ZodLiteral<"contact">;
|
|
2099
1651
|
}, z.core.$strip>>;
|
|
2100
1652
|
};
|
|
2101
|
-
"hubspot.contact.
|
|
1653
|
+
"hubspot.contact.updated": {
|
|
2102
1654
|
configSchema: z.ZodObject<{}, z.core.$strip>;
|
|
2103
1655
|
eventSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2104
1656
|
action: z.ZodLiteral<"associationAdded">;
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
associationType: z.ZodString;
|
|
2108
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
1657
|
+
associationCategory: z.ZodString;
|
|
1658
|
+
associationTypeId: z.ZodNumber;
|
|
2109
1659
|
fromObjectId: z.ZodString;
|
|
2110
|
-
fromObjectTypeId: z.
|
|
2111
|
-
|
|
1660
|
+
fromObjectTypeId: z.ZodString;
|
|
1661
|
+
isPrimary: z.ZodBoolean;
|
|
2112
1662
|
toObjectId: z.ZodString;
|
|
2113
|
-
toObjectTypeId: z.
|
|
2114
|
-
|
|
2115
|
-
attemptNumber: z.ZodNumber;
|
|
2116
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2117
|
-
eventId: z.ZodNumber;
|
|
1663
|
+
toObjectTypeId: z.ZodString;
|
|
1664
|
+
journalOffset: z.ZodString;
|
|
2118
1665
|
objectId: z.ZodString;
|
|
2119
1666
|
objectType: z.ZodEnum<{
|
|
2120
1667
|
contact: "contact";
|
|
@@ -2124,23 +1671,17 @@ export declare const hubspotTriggerContracts: {
|
|
|
2124
1671
|
}>;
|
|
2125
1672
|
occurredAt: z.ZodDate;
|
|
2126
1673
|
portalId: z.ZodNumber;
|
|
2127
|
-
|
|
2128
|
-
subscriptionId: z.ZodNumber;
|
|
1674
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2129
1675
|
}, z.core.$strip>, z.ZodObject<{
|
|
2130
1676
|
action: z.ZodLiteral<"associationRemoved">;
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
associationType: z.ZodString;
|
|
2134
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
1677
|
+
associationCategory: z.ZodString;
|
|
1678
|
+
associationTypeId: z.ZodNumber;
|
|
2135
1679
|
fromObjectId: z.ZodString;
|
|
2136
|
-
fromObjectTypeId: z.
|
|
2137
|
-
|
|
1680
|
+
fromObjectTypeId: z.ZodString;
|
|
1681
|
+
isPrimary: z.ZodBoolean;
|
|
2138
1682
|
toObjectId: z.ZodString;
|
|
2139
|
-
toObjectTypeId: z.
|
|
2140
|
-
|
|
2141
|
-
attemptNumber: z.ZodNumber;
|
|
2142
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2143
|
-
eventId: z.ZodNumber;
|
|
1683
|
+
toObjectTypeId: z.ZodString;
|
|
1684
|
+
journalOffset: z.ZodString;
|
|
2144
1685
|
objectId: z.ZodString;
|
|
2145
1686
|
objectType: z.ZodEnum<{
|
|
2146
1687
|
contact: "contact";
|
|
@@ -2150,14 +1691,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
2150
1691
|
}>;
|
|
2151
1692
|
occurredAt: z.ZodDate;
|
|
2152
1693
|
portalId: z.ZodNumber;
|
|
2153
|
-
|
|
2154
|
-
subscriptionId: z.ZodNumber;
|
|
1694
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2155
1695
|
}, z.core.$strip>, z.ZodObject<{
|
|
2156
1696
|
action: z.ZodLiteral<"created">;
|
|
2157
|
-
|
|
2158
|
-
attemptNumber: z.ZodNumber;
|
|
2159
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2160
|
-
eventId: z.ZodNumber;
|
|
1697
|
+
journalOffset: z.ZodString;
|
|
2161
1698
|
objectId: z.ZodString;
|
|
2162
1699
|
objectType: z.ZodEnum<{
|
|
2163
1700
|
contact: "contact";
|
|
@@ -2167,14 +1704,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
2167
1704
|
}>;
|
|
2168
1705
|
occurredAt: z.ZodDate;
|
|
2169
1706
|
portalId: z.ZodNumber;
|
|
2170
|
-
|
|
2171
|
-
subscriptionId: z.ZodNumber;
|
|
1707
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2172
1708
|
}, z.core.$strip>, z.ZodObject<{
|
|
2173
1709
|
action: z.ZodLiteral<"deleted">;
|
|
2174
|
-
|
|
2175
|
-
attemptNumber: z.ZodNumber;
|
|
2176
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2177
|
-
eventId: z.ZodNumber;
|
|
1710
|
+
journalOffset: z.ZodString;
|
|
2178
1711
|
objectId: z.ZodString;
|
|
2179
1712
|
objectType: z.ZodEnum<{
|
|
2180
1713
|
contact: "contact";
|
|
@@ -2184,17 +1717,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
2184
1717
|
}>;
|
|
2185
1718
|
occurredAt: z.ZodDate;
|
|
2186
1719
|
portalId: z.ZodNumber;
|
|
2187
|
-
|
|
2188
|
-
subscriptionId: z.ZodNumber;
|
|
1720
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2189
1721
|
}, z.core.$strip>, z.ZodObject<{
|
|
2190
1722
|
action: z.ZodLiteral<"merged">;
|
|
2191
|
-
mergedObjectIds: z.ZodArray<z.ZodString
|
|
2192
|
-
newObjectId: z.ZodString
|
|
1723
|
+
mergedObjectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1724
|
+
newObjectId: z.ZodOptional<z.ZodString>;
|
|
2193
1725
|
numberOfPropertiesMoved: z.ZodOptional<z.ZodNumber>;
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2197
|
-
eventId: z.ZodNumber;
|
|
1726
|
+
primaryObjectId: z.ZodOptional<z.ZodString>;
|
|
1727
|
+
journalOffset: z.ZodString;
|
|
2198
1728
|
objectId: z.ZodString;
|
|
2199
1729
|
objectType: z.ZodEnum<{
|
|
2200
1730
|
contact: "contact";
|
|
@@ -2204,16 +1734,11 @@ export declare const hubspotTriggerContracts: {
|
|
|
2204
1734
|
}>;
|
|
2205
1735
|
occurredAt: z.ZodDate;
|
|
2206
1736
|
portalId: z.ZodNumber;
|
|
2207
|
-
|
|
2208
|
-
subscriptionId: z.ZodNumber;
|
|
1737
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2209
1738
|
}, z.core.$strip>, z.ZodObject<{
|
|
2210
|
-
action: z.ZodLiteral<"
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
appId: z.ZodOptional<z.ZodNumber>;
|
|
2214
|
-
attemptNumber: z.ZodNumber;
|
|
2215
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2216
|
-
eventId: z.ZodNumber;
|
|
1739
|
+
action: z.ZodLiteral<"updated">;
|
|
1740
|
+
propertyChanges: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
1741
|
+
journalOffset: z.ZodString;
|
|
2217
1742
|
objectId: z.ZodString;
|
|
2218
1743
|
objectType: z.ZodEnum<{
|
|
2219
1744
|
contact: "contact";
|
|
@@ -2223,14 +1748,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
2223
1748
|
}>;
|
|
2224
1749
|
occurredAt: z.ZodDate;
|
|
2225
1750
|
portalId: z.ZodNumber;
|
|
2226
|
-
|
|
2227
|
-
subscriptionId: z.ZodNumber;
|
|
1751
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2228
1752
|
}, z.core.$strip>, z.ZodObject<{
|
|
2229
1753
|
action: z.ZodLiteral<"restored">;
|
|
2230
|
-
|
|
2231
|
-
attemptNumber: z.ZodNumber;
|
|
2232
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2233
|
-
eventId: z.ZodNumber;
|
|
1754
|
+
journalOffset: z.ZodString;
|
|
2234
1755
|
objectId: z.ZodString;
|
|
2235
1756
|
objectType: z.ZodEnum<{
|
|
2236
1757
|
contact: "contact";
|
|
@@ -2240,10 +1761,9 @@ export declare const hubspotTriggerContracts: {
|
|
|
2240
1761
|
}>;
|
|
2241
1762
|
occurredAt: z.ZodDate;
|
|
2242
1763
|
portalId: z.ZodNumber;
|
|
2243
|
-
|
|
2244
|
-
subscriptionId: z.ZodNumber;
|
|
1764
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2245
1765
|
}, z.core.$strip>], "action">, z.ZodObject<{
|
|
2246
|
-
action: z.ZodLiteral<"
|
|
1766
|
+
action: z.ZodLiteral<"updated">;
|
|
2247
1767
|
objectType: z.ZodLiteral<"contact">;
|
|
2248
1768
|
}, z.core.$strip>>;
|
|
2249
1769
|
};
|
|
@@ -2251,19 +1771,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
2251
1771
|
configSchema: z.ZodObject<{}, z.core.$strip>;
|
|
2252
1772
|
eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2253
1773
|
action: z.ZodLiteral<"associationAdded">;
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
associationType: z.ZodString;
|
|
2257
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
1774
|
+
associationCategory: z.ZodString;
|
|
1775
|
+
associationTypeId: z.ZodNumber;
|
|
2258
1776
|
fromObjectId: z.ZodString;
|
|
2259
|
-
fromObjectTypeId: z.
|
|
2260
|
-
|
|
1777
|
+
fromObjectTypeId: z.ZodString;
|
|
1778
|
+
isPrimary: z.ZodBoolean;
|
|
2261
1779
|
toObjectId: z.ZodString;
|
|
2262
|
-
toObjectTypeId: z.
|
|
2263
|
-
|
|
2264
|
-
attemptNumber: z.ZodNumber;
|
|
2265
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2266
|
-
eventId: z.ZodNumber;
|
|
1780
|
+
toObjectTypeId: z.ZodString;
|
|
1781
|
+
journalOffset: z.ZodString;
|
|
2267
1782
|
objectId: z.ZodString;
|
|
2268
1783
|
objectType: z.ZodEnum<{
|
|
2269
1784
|
contact: "contact";
|
|
@@ -2273,23 +1788,17 @@ export declare const hubspotTriggerContracts: {
|
|
|
2273
1788
|
}>;
|
|
2274
1789
|
occurredAt: z.ZodDate;
|
|
2275
1790
|
portalId: z.ZodNumber;
|
|
2276
|
-
|
|
2277
|
-
subscriptionId: z.ZodNumber;
|
|
1791
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2278
1792
|
}, z.core.$strip>, z.ZodObject<{
|
|
2279
1793
|
action: z.ZodLiteral<"associationRemoved">;
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
associationType: z.ZodString;
|
|
2283
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
1794
|
+
associationCategory: z.ZodString;
|
|
1795
|
+
associationTypeId: z.ZodNumber;
|
|
2284
1796
|
fromObjectId: z.ZodString;
|
|
2285
|
-
fromObjectTypeId: z.
|
|
2286
|
-
|
|
1797
|
+
fromObjectTypeId: z.ZodString;
|
|
1798
|
+
isPrimary: z.ZodBoolean;
|
|
2287
1799
|
toObjectId: z.ZodString;
|
|
2288
|
-
toObjectTypeId: z.
|
|
2289
|
-
|
|
2290
|
-
attemptNumber: z.ZodNumber;
|
|
2291
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2292
|
-
eventId: z.ZodNumber;
|
|
1800
|
+
toObjectTypeId: z.ZodString;
|
|
1801
|
+
journalOffset: z.ZodString;
|
|
2293
1802
|
objectId: z.ZodString;
|
|
2294
1803
|
objectType: z.ZodEnum<{
|
|
2295
1804
|
contact: "contact";
|
|
@@ -2299,14 +1808,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
2299
1808
|
}>;
|
|
2300
1809
|
occurredAt: z.ZodDate;
|
|
2301
1810
|
portalId: z.ZodNumber;
|
|
2302
|
-
|
|
2303
|
-
subscriptionId: z.ZodNumber;
|
|
1811
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2304
1812
|
}, z.core.$strip>, z.ZodObject<{
|
|
2305
1813
|
action: z.ZodLiteral<"created">;
|
|
2306
|
-
|
|
2307
|
-
attemptNumber: z.ZodNumber;
|
|
2308
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2309
|
-
eventId: z.ZodNumber;
|
|
1814
|
+
journalOffset: z.ZodString;
|
|
2310
1815
|
objectId: z.ZodString;
|
|
2311
1816
|
objectType: z.ZodEnum<{
|
|
2312
1817
|
contact: "contact";
|
|
@@ -2316,14 +1821,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
2316
1821
|
}>;
|
|
2317
1822
|
occurredAt: z.ZodDate;
|
|
2318
1823
|
portalId: z.ZodNumber;
|
|
2319
|
-
|
|
2320
|
-
subscriptionId: z.ZodNumber;
|
|
1824
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2321
1825
|
}, z.core.$strip>, z.ZodObject<{
|
|
2322
1826
|
action: z.ZodLiteral<"deleted">;
|
|
2323
|
-
|
|
2324
|
-
attemptNumber: z.ZodNumber;
|
|
2325
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2326
|
-
eventId: z.ZodNumber;
|
|
1827
|
+
journalOffset: z.ZodString;
|
|
2327
1828
|
objectId: z.ZodString;
|
|
2328
1829
|
objectType: z.ZodEnum<{
|
|
2329
1830
|
contact: "contact";
|
|
@@ -2333,17 +1834,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
2333
1834
|
}>;
|
|
2334
1835
|
occurredAt: z.ZodDate;
|
|
2335
1836
|
portalId: z.ZodNumber;
|
|
2336
|
-
|
|
2337
|
-
subscriptionId: z.ZodNumber;
|
|
1837
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2338
1838
|
}, z.core.$strip>, z.ZodObject<{
|
|
2339
1839
|
action: z.ZodLiteral<"merged">;
|
|
2340
|
-
mergedObjectIds: z.ZodArray<z.ZodString
|
|
2341
|
-
newObjectId: z.ZodString
|
|
1840
|
+
mergedObjectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1841
|
+
newObjectId: z.ZodOptional<z.ZodString>;
|
|
2342
1842
|
numberOfPropertiesMoved: z.ZodOptional<z.ZodNumber>;
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2346
|
-
eventId: z.ZodNumber;
|
|
1843
|
+
primaryObjectId: z.ZodOptional<z.ZodString>;
|
|
1844
|
+
journalOffset: z.ZodString;
|
|
2347
1845
|
objectId: z.ZodString;
|
|
2348
1846
|
objectType: z.ZodEnum<{
|
|
2349
1847
|
contact: "contact";
|
|
@@ -2353,16 +1851,11 @@ export declare const hubspotTriggerContracts: {
|
|
|
2353
1851
|
}>;
|
|
2354
1852
|
occurredAt: z.ZodDate;
|
|
2355
1853
|
portalId: z.ZodNumber;
|
|
2356
|
-
|
|
2357
|
-
subscriptionId: z.ZodNumber;
|
|
1854
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2358
1855
|
}, z.core.$strip>, z.ZodObject<{
|
|
2359
|
-
action: z.ZodLiteral<"
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
appId: z.ZodOptional<z.ZodNumber>;
|
|
2363
|
-
attemptNumber: z.ZodNumber;
|
|
2364
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2365
|
-
eventId: z.ZodNumber;
|
|
1856
|
+
action: z.ZodLiteral<"updated">;
|
|
1857
|
+
propertyChanges: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
1858
|
+
journalOffset: z.ZodString;
|
|
2366
1859
|
objectId: z.ZodString;
|
|
2367
1860
|
objectType: z.ZodEnum<{
|
|
2368
1861
|
contact: "contact";
|
|
@@ -2372,14 +1865,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
2372
1865
|
}>;
|
|
2373
1866
|
occurredAt: z.ZodDate;
|
|
2374
1867
|
portalId: z.ZodNumber;
|
|
2375
|
-
|
|
2376
|
-
subscriptionId: z.ZodNumber;
|
|
1868
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2377
1869
|
}, z.core.$strip>, z.ZodObject<{
|
|
2378
1870
|
action: z.ZodLiteral<"restored">;
|
|
2379
|
-
|
|
2380
|
-
attemptNumber: z.ZodNumber;
|
|
2381
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2382
|
-
eventId: z.ZodNumber;
|
|
1871
|
+
journalOffset: z.ZodString;
|
|
2383
1872
|
objectId: z.ZodString;
|
|
2384
1873
|
objectType: z.ZodEnum<{
|
|
2385
1874
|
contact: "contact";
|
|
@@ -2389,27 +1878,21 @@ export declare const hubspotTriggerContracts: {
|
|
|
2389
1878
|
}>;
|
|
2390
1879
|
occurredAt: z.ZodDate;
|
|
2391
1880
|
portalId: z.ZodNumber;
|
|
2392
|
-
|
|
2393
|
-
subscriptionId: z.ZodNumber;
|
|
1881
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2394
1882
|
}, z.core.$strip>], "action">;
|
|
2395
1883
|
};
|
|
2396
1884
|
"hubspot.deal.associationAdded": {
|
|
2397
1885
|
configSchema: z.ZodObject<{}, z.core.$strip>;
|
|
2398
1886
|
eventSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2399
1887
|
action: z.ZodLiteral<"associationAdded">;
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
associationType: z.ZodString;
|
|
2403
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
1888
|
+
associationCategory: z.ZodString;
|
|
1889
|
+
associationTypeId: z.ZodNumber;
|
|
2404
1890
|
fromObjectId: z.ZodString;
|
|
2405
|
-
fromObjectTypeId: z.
|
|
2406
|
-
|
|
1891
|
+
fromObjectTypeId: z.ZodString;
|
|
1892
|
+
isPrimary: z.ZodBoolean;
|
|
2407
1893
|
toObjectId: z.ZodString;
|
|
2408
|
-
toObjectTypeId: z.
|
|
2409
|
-
|
|
2410
|
-
attemptNumber: z.ZodNumber;
|
|
2411
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2412
|
-
eventId: z.ZodNumber;
|
|
1894
|
+
toObjectTypeId: z.ZodString;
|
|
1895
|
+
journalOffset: z.ZodString;
|
|
2413
1896
|
objectId: z.ZodString;
|
|
2414
1897
|
objectType: z.ZodEnum<{
|
|
2415
1898
|
contact: "contact";
|
|
@@ -2419,23 +1902,17 @@ export declare const hubspotTriggerContracts: {
|
|
|
2419
1902
|
}>;
|
|
2420
1903
|
occurredAt: z.ZodDate;
|
|
2421
1904
|
portalId: z.ZodNumber;
|
|
2422
|
-
|
|
2423
|
-
subscriptionId: z.ZodNumber;
|
|
1905
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2424
1906
|
}, z.core.$strip>, z.ZodObject<{
|
|
2425
1907
|
action: z.ZodLiteral<"associationRemoved">;
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
associationType: z.ZodString;
|
|
2429
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
1908
|
+
associationCategory: z.ZodString;
|
|
1909
|
+
associationTypeId: z.ZodNumber;
|
|
2430
1910
|
fromObjectId: z.ZodString;
|
|
2431
|
-
fromObjectTypeId: z.
|
|
2432
|
-
|
|
1911
|
+
fromObjectTypeId: z.ZodString;
|
|
1912
|
+
isPrimary: z.ZodBoolean;
|
|
2433
1913
|
toObjectId: z.ZodString;
|
|
2434
|
-
toObjectTypeId: z.
|
|
2435
|
-
|
|
2436
|
-
attemptNumber: z.ZodNumber;
|
|
2437
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2438
|
-
eventId: z.ZodNumber;
|
|
1914
|
+
toObjectTypeId: z.ZodString;
|
|
1915
|
+
journalOffset: z.ZodString;
|
|
2439
1916
|
objectId: z.ZodString;
|
|
2440
1917
|
objectType: z.ZodEnum<{
|
|
2441
1918
|
contact: "contact";
|
|
@@ -2445,14 +1922,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
2445
1922
|
}>;
|
|
2446
1923
|
occurredAt: z.ZodDate;
|
|
2447
1924
|
portalId: z.ZodNumber;
|
|
2448
|
-
|
|
2449
|
-
subscriptionId: z.ZodNumber;
|
|
1925
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2450
1926
|
}, z.core.$strip>, z.ZodObject<{
|
|
2451
1927
|
action: z.ZodLiteral<"created">;
|
|
2452
|
-
|
|
2453
|
-
attemptNumber: z.ZodNumber;
|
|
2454
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2455
|
-
eventId: z.ZodNumber;
|
|
1928
|
+
journalOffset: z.ZodString;
|
|
2456
1929
|
objectId: z.ZodString;
|
|
2457
1930
|
objectType: z.ZodEnum<{
|
|
2458
1931
|
contact: "contact";
|
|
@@ -2462,14 +1935,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
2462
1935
|
}>;
|
|
2463
1936
|
occurredAt: z.ZodDate;
|
|
2464
1937
|
portalId: z.ZodNumber;
|
|
2465
|
-
|
|
2466
|
-
subscriptionId: z.ZodNumber;
|
|
1938
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2467
1939
|
}, z.core.$strip>, z.ZodObject<{
|
|
2468
1940
|
action: z.ZodLiteral<"deleted">;
|
|
2469
|
-
|
|
2470
|
-
attemptNumber: z.ZodNumber;
|
|
2471
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2472
|
-
eventId: z.ZodNumber;
|
|
1941
|
+
journalOffset: z.ZodString;
|
|
2473
1942
|
objectId: z.ZodString;
|
|
2474
1943
|
objectType: z.ZodEnum<{
|
|
2475
1944
|
contact: "contact";
|
|
@@ -2479,17 +1948,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
2479
1948
|
}>;
|
|
2480
1949
|
occurredAt: z.ZodDate;
|
|
2481
1950
|
portalId: z.ZodNumber;
|
|
2482
|
-
|
|
2483
|
-
subscriptionId: z.ZodNumber;
|
|
1951
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2484
1952
|
}, z.core.$strip>, z.ZodObject<{
|
|
2485
1953
|
action: z.ZodLiteral<"merged">;
|
|
2486
|
-
mergedObjectIds: z.ZodArray<z.ZodString
|
|
2487
|
-
newObjectId: z.ZodString
|
|
1954
|
+
mergedObjectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1955
|
+
newObjectId: z.ZodOptional<z.ZodString>;
|
|
2488
1956
|
numberOfPropertiesMoved: z.ZodOptional<z.ZodNumber>;
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2492
|
-
eventId: z.ZodNumber;
|
|
1957
|
+
primaryObjectId: z.ZodOptional<z.ZodString>;
|
|
1958
|
+
journalOffset: z.ZodString;
|
|
2493
1959
|
objectId: z.ZodString;
|
|
2494
1960
|
objectType: z.ZodEnum<{
|
|
2495
1961
|
contact: "contact";
|
|
@@ -2499,16 +1965,11 @@ export declare const hubspotTriggerContracts: {
|
|
|
2499
1965
|
}>;
|
|
2500
1966
|
occurredAt: z.ZodDate;
|
|
2501
1967
|
portalId: z.ZodNumber;
|
|
2502
|
-
|
|
2503
|
-
subscriptionId: z.ZodNumber;
|
|
1968
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2504
1969
|
}, z.core.$strip>, z.ZodObject<{
|
|
2505
|
-
action: z.ZodLiteral<"
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
appId: z.ZodOptional<z.ZodNumber>;
|
|
2509
|
-
attemptNumber: z.ZodNumber;
|
|
2510
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2511
|
-
eventId: z.ZodNumber;
|
|
1970
|
+
action: z.ZodLiteral<"updated">;
|
|
1971
|
+
propertyChanges: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
1972
|
+
journalOffset: z.ZodString;
|
|
2512
1973
|
objectId: z.ZodString;
|
|
2513
1974
|
objectType: z.ZodEnum<{
|
|
2514
1975
|
contact: "contact";
|
|
@@ -2518,14 +1979,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
2518
1979
|
}>;
|
|
2519
1980
|
occurredAt: z.ZodDate;
|
|
2520
1981
|
portalId: z.ZodNumber;
|
|
2521
|
-
|
|
2522
|
-
subscriptionId: z.ZodNumber;
|
|
1982
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2523
1983
|
}, z.core.$strip>, z.ZodObject<{
|
|
2524
1984
|
action: z.ZodLiteral<"restored">;
|
|
2525
|
-
|
|
2526
|
-
attemptNumber: z.ZodNumber;
|
|
2527
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2528
|
-
eventId: z.ZodNumber;
|
|
1985
|
+
journalOffset: z.ZodString;
|
|
2529
1986
|
objectId: z.ZodString;
|
|
2530
1987
|
objectType: z.ZodEnum<{
|
|
2531
1988
|
contact: "contact";
|
|
@@ -2535,8 +1992,7 @@ export declare const hubspotTriggerContracts: {
|
|
|
2535
1992
|
}>;
|
|
2536
1993
|
occurredAt: z.ZodDate;
|
|
2537
1994
|
portalId: z.ZodNumber;
|
|
2538
|
-
|
|
2539
|
-
subscriptionId: z.ZodNumber;
|
|
1995
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2540
1996
|
}, z.core.$strip>], "action">, z.ZodObject<{
|
|
2541
1997
|
action: z.ZodLiteral<"associationAdded">;
|
|
2542
1998
|
objectType: z.ZodLiteral<"deal">;
|
|
@@ -2546,19 +2002,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
2546
2002
|
configSchema: z.ZodObject<{}, z.core.$strip>;
|
|
2547
2003
|
eventSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2548
2004
|
action: z.ZodLiteral<"associationAdded">;
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
associationType: z.ZodString;
|
|
2552
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
2005
|
+
associationCategory: z.ZodString;
|
|
2006
|
+
associationTypeId: z.ZodNumber;
|
|
2553
2007
|
fromObjectId: z.ZodString;
|
|
2554
|
-
fromObjectTypeId: z.
|
|
2555
|
-
|
|
2008
|
+
fromObjectTypeId: z.ZodString;
|
|
2009
|
+
isPrimary: z.ZodBoolean;
|
|
2556
2010
|
toObjectId: z.ZodString;
|
|
2557
|
-
toObjectTypeId: z.
|
|
2558
|
-
|
|
2559
|
-
attemptNumber: z.ZodNumber;
|
|
2560
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2561
|
-
eventId: z.ZodNumber;
|
|
2011
|
+
toObjectTypeId: z.ZodString;
|
|
2012
|
+
journalOffset: z.ZodString;
|
|
2562
2013
|
objectId: z.ZodString;
|
|
2563
2014
|
objectType: z.ZodEnum<{
|
|
2564
2015
|
contact: "contact";
|
|
@@ -2568,23 +2019,17 @@ export declare const hubspotTriggerContracts: {
|
|
|
2568
2019
|
}>;
|
|
2569
2020
|
occurredAt: z.ZodDate;
|
|
2570
2021
|
portalId: z.ZodNumber;
|
|
2571
|
-
|
|
2572
|
-
subscriptionId: z.ZodNumber;
|
|
2022
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2573
2023
|
}, z.core.$strip>, z.ZodObject<{
|
|
2574
2024
|
action: z.ZodLiteral<"associationRemoved">;
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
associationType: z.ZodString;
|
|
2578
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
2025
|
+
associationCategory: z.ZodString;
|
|
2026
|
+
associationTypeId: z.ZodNumber;
|
|
2579
2027
|
fromObjectId: z.ZodString;
|
|
2580
|
-
fromObjectTypeId: z.
|
|
2581
|
-
|
|
2028
|
+
fromObjectTypeId: z.ZodString;
|
|
2029
|
+
isPrimary: z.ZodBoolean;
|
|
2582
2030
|
toObjectId: z.ZodString;
|
|
2583
|
-
toObjectTypeId: z.
|
|
2584
|
-
|
|
2585
|
-
attemptNumber: z.ZodNumber;
|
|
2586
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2587
|
-
eventId: z.ZodNumber;
|
|
2031
|
+
toObjectTypeId: z.ZodString;
|
|
2032
|
+
journalOffset: z.ZodString;
|
|
2588
2033
|
objectId: z.ZodString;
|
|
2589
2034
|
objectType: z.ZodEnum<{
|
|
2590
2035
|
contact: "contact";
|
|
@@ -2594,14 +2039,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
2594
2039
|
}>;
|
|
2595
2040
|
occurredAt: z.ZodDate;
|
|
2596
2041
|
portalId: z.ZodNumber;
|
|
2597
|
-
|
|
2598
|
-
subscriptionId: z.ZodNumber;
|
|
2042
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2599
2043
|
}, z.core.$strip>, z.ZodObject<{
|
|
2600
2044
|
action: z.ZodLiteral<"created">;
|
|
2601
|
-
|
|
2602
|
-
attemptNumber: z.ZodNumber;
|
|
2603
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2604
|
-
eventId: z.ZodNumber;
|
|
2045
|
+
journalOffset: z.ZodString;
|
|
2605
2046
|
objectId: z.ZodString;
|
|
2606
2047
|
objectType: z.ZodEnum<{
|
|
2607
2048
|
contact: "contact";
|
|
@@ -2611,14 +2052,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
2611
2052
|
}>;
|
|
2612
2053
|
occurredAt: z.ZodDate;
|
|
2613
2054
|
portalId: z.ZodNumber;
|
|
2614
|
-
|
|
2615
|
-
subscriptionId: z.ZodNumber;
|
|
2055
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2616
2056
|
}, z.core.$strip>, z.ZodObject<{
|
|
2617
2057
|
action: z.ZodLiteral<"deleted">;
|
|
2618
|
-
|
|
2619
|
-
attemptNumber: z.ZodNumber;
|
|
2620
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2621
|
-
eventId: z.ZodNumber;
|
|
2058
|
+
journalOffset: z.ZodString;
|
|
2622
2059
|
objectId: z.ZodString;
|
|
2623
2060
|
objectType: z.ZodEnum<{
|
|
2624
2061
|
contact: "contact";
|
|
@@ -2628,17 +2065,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
2628
2065
|
}>;
|
|
2629
2066
|
occurredAt: z.ZodDate;
|
|
2630
2067
|
portalId: z.ZodNumber;
|
|
2631
|
-
|
|
2632
|
-
subscriptionId: z.ZodNumber;
|
|
2068
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2633
2069
|
}, z.core.$strip>, z.ZodObject<{
|
|
2634
2070
|
action: z.ZodLiteral<"merged">;
|
|
2635
|
-
mergedObjectIds: z.ZodArray<z.ZodString
|
|
2636
|
-
newObjectId: z.ZodString
|
|
2071
|
+
mergedObjectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2072
|
+
newObjectId: z.ZodOptional<z.ZodString>;
|
|
2637
2073
|
numberOfPropertiesMoved: z.ZodOptional<z.ZodNumber>;
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2641
|
-
eventId: z.ZodNumber;
|
|
2074
|
+
primaryObjectId: z.ZodOptional<z.ZodString>;
|
|
2075
|
+
journalOffset: z.ZodString;
|
|
2642
2076
|
objectId: z.ZodString;
|
|
2643
2077
|
objectType: z.ZodEnum<{
|
|
2644
2078
|
contact: "contact";
|
|
@@ -2648,16 +2082,11 @@ export declare const hubspotTriggerContracts: {
|
|
|
2648
2082
|
}>;
|
|
2649
2083
|
occurredAt: z.ZodDate;
|
|
2650
2084
|
portalId: z.ZodNumber;
|
|
2651
|
-
|
|
2652
|
-
subscriptionId: z.ZodNumber;
|
|
2085
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2653
2086
|
}, z.core.$strip>, z.ZodObject<{
|
|
2654
|
-
action: z.ZodLiteral<"
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
appId: z.ZodOptional<z.ZodNumber>;
|
|
2658
|
-
attemptNumber: z.ZodNumber;
|
|
2659
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2660
|
-
eventId: z.ZodNumber;
|
|
2087
|
+
action: z.ZodLiteral<"updated">;
|
|
2088
|
+
propertyChanges: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
2089
|
+
journalOffset: z.ZodString;
|
|
2661
2090
|
objectId: z.ZodString;
|
|
2662
2091
|
objectType: z.ZodEnum<{
|
|
2663
2092
|
contact: "contact";
|
|
@@ -2667,14 +2096,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
2667
2096
|
}>;
|
|
2668
2097
|
occurredAt: z.ZodDate;
|
|
2669
2098
|
portalId: z.ZodNumber;
|
|
2670
|
-
|
|
2671
|
-
subscriptionId: z.ZodNumber;
|
|
2099
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2672
2100
|
}, z.core.$strip>, z.ZodObject<{
|
|
2673
2101
|
action: z.ZodLiteral<"restored">;
|
|
2674
|
-
|
|
2675
|
-
attemptNumber: z.ZodNumber;
|
|
2676
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2677
|
-
eventId: z.ZodNumber;
|
|
2102
|
+
journalOffset: z.ZodString;
|
|
2678
2103
|
objectId: z.ZodString;
|
|
2679
2104
|
objectType: z.ZodEnum<{
|
|
2680
2105
|
contact: "contact";
|
|
@@ -2684,8 +2109,7 @@ export declare const hubspotTriggerContracts: {
|
|
|
2684
2109
|
}>;
|
|
2685
2110
|
occurredAt: z.ZodDate;
|
|
2686
2111
|
portalId: z.ZodNumber;
|
|
2687
|
-
|
|
2688
|
-
subscriptionId: z.ZodNumber;
|
|
2112
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2689
2113
|
}, z.core.$strip>], "action">, z.ZodObject<{
|
|
2690
2114
|
action: z.ZodLiteral<"associationRemoved">;
|
|
2691
2115
|
objectType: z.ZodLiteral<"deal">;
|
|
@@ -2695,19 +2119,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
2695
2119
|
configSchema: z.ZodObject<{}, z.core.$strip>;
|
|
2696
2120
|
eventSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2697
2121
|
action: z.ZodLiteral<"associationAdded">;
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
associationType: z.ZodString;
|
|
2701
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
2122
|
+
associationCategory: z.ZodString;
|
|
2123
|
+
associationTypeId: z.ZodNumber;
|
|
2702
2124
|
fromObjectId: z.ZodString;
|
|
2703
|
-
fromObjectTypeId: z.
|
|
2704
|
-
|
|
2125
|
+
fromObjectTypeId: z.ZodString;
|
|
2126
|
+
isPrimary: z.ZodBoolean;
|
|
2705
2127
|
toObjectId: z.ZodString;
|
|
2706
|
-
toObjectTypeId: z.
|
|
2707
|
-
|
|
2708
|
-
attemptNumber: z.ZodNumber;
|
|
2709
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2710
|
-
eventId: z.ZodNumber;
|
|
2128
|
+
toObjectTypeId: z.ZodString;
|
|
2129
|
+
journalOffset: z.ZodString;
|
|
2711
2130
|
objectId: z.ZodString;
|
|
2712
2131
|
objectType: z.ZodEnum<{
|
|
2713
2132
|
contact: "contact";
|
|
@@ -2717,23 +2136,17 @@ export declare const hubspotTriggerContracts: {
|
|
|
2717
2136
|
}>;
|
|
2718
2137
|
occurredAt: z.ZodDate;
|
|
2719
2138
|
portalId: z.ZodNumber;
|
|
2720
|
-
|
|
2721
|
-
subscriptionId: z.ZodNumber;
|
|
2139
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2722
2140
|
}, z.core.$strip>, z.ZodObject<{
|
|
2723
2141
|
action: z.ZodLiteral<"associationRemoved">;
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
associationType: z.ZodString;
|
|
2727
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
2142
|
+
associationCategory: z.ZodString;
|
|
2143
|
+
associationTypeId: z.ZodNumber;
|
|
2728
2144
|
fromObjectId: z.ZodString;
|
|
2729
|
-
fromObjectTypeId: z.
|
|
2730
|
-
|
|
2145
|
+
fromObjectTypeId: z.ZodString;
|
|
2146
|
+
isPrimary: z.ZodBoolean;
|
|
2731
2147
|
toObjectId: z.ZodString;
|
|
2732
|
-
toObjectTypeId: z.
|
|
2733
|
-
|
|
2734
|
-
attemptNumber: z.ZodNumber;
|
|
2735
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2736
|
-
eventId: z.ZodNumber;
|
|
2148
|
+
toObjectTypeId: z.ZodString;
|
|
2149
|
+
journalOffset: z.ZodString;
|
|
2737
2150
|
objectId: z.ZodString;
|
|
2738
2151
|
objectType: z.ZodEnum<{
|
|
2739
2152
|
contact: "contact";
|
|
@@ -2743,14 +2156,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
2743
2156
|
}>;
|
|
2744
2157
|
occurredAt: z.ZodDate;
|
|
2745
2158
|
portalId: z.ZodNumber;
|
|
2746
|
-
|
|
2747
|
-
subscriptionId: z.ZodNumber;
|
|
2159
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2748
2160
|
}, z.core.$strip>, z.ZodObject<{
|
|
2749
2161
|
action: z.ZodLiteral<"created">;
|
|
2750
|
-
|
|
2751
|
-
attemptNumber: z.ZodNumber;
|
|
2752
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2753
|
-
eventId: z.ZodNumber;
|
|
2162
|
+
journalOffset: z.ZodString;
|
|
2754
2163
|
objectId: z.ZodString;
|
|
2755
2164
|
objectType: z.ZodEnum<{
|
|
2756
2165
|
contact: "contact";
|
|
@@ -2760,14 +2169,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
2760
2169
|
}>;
|
|
2761
2170
|
occurredAt: z.ZodDate;
|
|
2762
2171
|
portalId: z.ZodNumber;
|
|
2763
|
-
|
|
2764
|
-
subscriptionId: z.ZodNumber;
|
|
2172
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2765
2173
|
}, z.core.$strip>, z.ZodObject<{
|
|
2766
2174
|
action: z.ZodLiteral<"deleted">;
|
|
2767
|
-
|
|
2768
|
-
attemptNumber: z.ZodNumber;
|
|
2769
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2770
|
-
eventId: z.ZodNumber;
|
|
2175
|
+
journalOffset: z.ZodString;
|
|
2771
2176
|
objectId: z.ZodString;
|
|
2772
2177
|
objectType: z.ZodEnum<{
|
|
2773
2178
|
contact: "contact";
|
|
@@ -2777,17 +2182,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
2777
2182
|
}>;
|
|
2778
2183
|
occurredAt: z.ZodDate;
|
|
2779
2184
|
portalId: z.ZodNumber;
|
|
2780
|
-
|
|
2781
|
-
subscriptionId: z.ZodNumber;
|
|
2185
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2782
2186
|
}, z.core.$strip>, z.ZodObject<{
|
|
2783
2187
|
action: z.ZodLiteral<"merged">;
|
|
2784
|
-
mergedObjectIds: z.ZodArray<z.ZodString
|
|
2785
|
-
newObjectId: z.ZodString
|
|
2188
|
+
mergedObjectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2189
|
+
newObjectId: z.ZodOptional<z.ZodString>;
|
|
2786
2190
|
numberOfPropertiesMoved: z.ZodOptional<z.ZodNumber>;
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2790
|
-
eventId: z.ZodNumber;
|
|
2191
|
+
primaryObjectId: z.ZodOptional<z.ZodString>;
|
|
2192
|
+
journalOffset: z.ZodString;
|
|
2791
2193
|
objectId: z.ZodString;
|
|
2792
2194
|
objectType: z.ZodEnum<{
|
|
2793
2195
|
contact: "contact";
|
|
@@ -2797,16 +2199,11 @@ export declare const hubspotTriggerContracts: {
|
|
|
2797
2199
|
}>;
|
|
2798
2200
|
occurredAt: z.ZodDate;
|
|
2799
2201
|
portalId: z.ZodNumber;
|
|
2800
|
-
|
|
2801
|
-
subscriptionId: z.ZodNumber;
|
|
2202
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2802
2203
|
}, z.core.$strip>, z.ZodObject<{
|
|
2803
|
-
action: z.ZodLiteral<"
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
appId: z.ZodOptional<z.ZodNumber>;
|
|
2807
|
-
attemptNumber: z.ZodNumber;
|
|
2808
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2809
|
-
eventId: z.ZodNumber;
|
|
2204
|
+
action: z.ZodLiteral<"updated">;
|
|
2205
|
+
propertyChanges: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
2206
|
+
journalOffset: z.ZodString;
|
|
2810
2207
|
objectId: z.ZodString;
|
|
2811
2208
|
objectType: z.ZodEnum<{
|
|
2812
2209
|
contact: "contact";
|
|
@@ -2816,14 +2213,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
2816
2213
|
}>;
|
|
2817
2214
|
occurredAt: z.ZodDate;
|
|
2818
2215
|
portalId: z.ZodNumber;
|
|
2819
|
-
|
|
2820
|
-
subscriptionId: z.ZodNumber;
|
|
2216
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2821
2217
|
}, z.core.$strip>, z.ZodObject<{
|
|
2822
2218
|
action: z.ZodLiteral<"restored">;
|
|
2823
|
-
|
|
2824
|
-
attemptNumber: z.ZodNumber;
|
|
2825
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2826
|
-
eventId: z.ZodNumber;
|
|
2219
|
+
journalOffset: z.ZodString;
|
|
2827
2220
|
objectId: z.ZodString;
|
|
2828
2221
|
objectType: z.ZodEnum<{
|
|
2829
2222
|
contact: "contact";
|
|
@@ -2833,8 +2226,7 @@ export declare const hubspotTriggerContracts: {
|
|
|
2833
2226
|
}>;
|
|
2834
2227
|
occurredAt: z.ZodDate;
|
|
2835
2228
|
portalId: z.ZodNumber;
|
|
2836
|
-
|
|
2837
|
-
subscriptionId: z.ZodNumber;
|
|
2229
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2838
2230
|
}, z.core.$strip>], "action">, z.ZodObject<{
|
|
2839
2231
|
action: z.ZodLiteral<"created">;
|
|
2840
2232
|
objectType: z.ZodLiteral<"deal">;
|
|
@@ -2844,19 +2236,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
2844
2236
|
configSchema: z.ZodObject<{}, z.core.$strip>;
|
|
2845
2237
|
eventSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2846
2238
|
action: z.ZodLiteral<"associationAdded">;
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
associationType: z.ZodString;
|
|
2850
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
2239
|
+
associationCategory: z.ZodString;
|
|
2240
|
+
associationTypeId: z.ZodNumber;
|
|
2851
2241
|
fromObjectId: z.ZodString;
|
|
2852
|
-
fromObjectTypeId: z.
|
|
2853
|
-
|
|
2242
|
+
fromObjectTypeId: z.ZodString;
|
|
2243
|
+
isPrimary: z.ZodBoolean;
|
|
2854
2244
|
toObjectId: z.ZodString;
|
|
2855
|
-
toObjectTypeId: z.
|
|
2856
|
-
|
|
2857
|
-
attemptNumber: z.ZodNumber;
|
|
2858
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2859
|
-
eventId: z.ZodNumber;
|
|
2245
|
+
toObjectTypeId: z.ZodString;
|
|
2246
|
+
journalOffset: z.ZodString;
|
|
2860
2247
|
objectId: z.ZodString;
|
|
2861
2248
|
objectType: z.ZodEnum<{
|
|
2862
2249
|
contact: "contact";
|
|
@@ -2866,23 +2253,17 @@ export declare const hubspotTriggerContracts: {
|
|
|
2866
2253
|
}>;
|
|
2867
2254
|
occurredAt: z.ZodDate;
|
|
2868
2255
|
portalId: z.ZodNumber;
|
|
2869
|
-
|
|
2870
|
-
subscriptionId: z.ZodNumber;
|
|
2256
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2871
2257
|
}, z.core.$strip>, z.ZodObject<{
|
|
2872
2258
|
action: z.ZodLiteral<"associationRemoved">;
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
associationType: z.ZodString;
|
|
2876
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
2259
|
+
associationCategory: z.ZodString;
|
|
2260
|
+
associationTypeId: z.ZodNumber;
|
|
2877
2261
|
fromObjectId: z.ZodString;
|
|
2878
|
-
fromObjectTypeId: z.
|
|
2879
|
-
|
|
2262
|
+
fromObjectTypeId: z.ZodString;
|
|
2263
|
+
isPrimary: z.ZodBoolean;
|
|
2880
2264
|
toObjectId: z.ZodString;
|
|
2881
|
-
toObjectTypeId: z.
|
|
2882
|
-
|
|
2883
|
-
attemptNumber: z.ZodNumber;
|
|
2884
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2885
|
-
eventId: z.ZodNumber;
|
|
2265
|
+
toObjectTypeId: z.ZodString;
|
|
2266
|
+
journalOffset: z.ZodString;
|
|
2886
2267
|
objectId: z.ZodString;
|
|
2887
2268
|
objectType: z.ZodEnum<{
|
|
2888
2269
|
contact: "contact";
|
|
@@ -2892,14 +2273,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
2892
2273
|
}>;
|
|
2893
2274
|
occurredAt: z.ZodDate;
|
|
2894
2275
|
portalId: z.ZodNumber;
|
|
2895
|
-
|
|
2896
|
-
subscriptionId: z.ZodNumber;
|
|
2276
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2897
2277
|
}, z.core.$strip>, z.ZodObject<{
|
|
2898
2278
|
action: z.ZodLiteral<"created">;
|
|
2899
|
-
|
|
2900
|
-
attemptNumber: z.ZodNumber;
|
|
2901
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2902
|
-
eventId: z.ZodNumber;
|
|
2279
|
+
journalOffset: z.ZodString;
|
|
2903
2280
|
objectId: z.ZodString;
|
|
2904
2281
|
objectType: z.ZodEnum<{
|
|
2905
2282
|
contact: "contact";
|
|
@@ -2909,14 +2286,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
2909
2286
|
}>;
|
|
2910
2287
|
occurredAt: z.ZodDate;
|
|
2911
2288
|
portalId: z.ZodNumber;
|
|
2912
|
-
|
|
2913
|
-
subscriptionId: z.ZodNumber;
|
|
2289
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2914
2290
|
}, z.core.$strip>, z.ZodObject<{
|
|
2915
2291
|
action: z.ZodLiteral<"deleted">;
|
|
2916
|
-
|
|
2917
|
-
attemptNumber: z.ZodNumber;
|
|
2918
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2919
|
-
eventId: z.ZodNumber;
|
|
2292
|
+
journalOffset: z.ZodString;
|
|
2920
2293
|
objectId: z.ZodString;
|
|
2921
2294
|
objectType: z.ZodEnum<{
|
|
2922
2295
|
contact: "contact";
|
|
@@ -2926,17 +2299,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
2926
2299
|
}>;
|
|
2927
2300
|
occurredAt: z.ZodDate;
|
|
2928
2301
|
portalId: z.ZodNumber;
|
|
2929
|
-
|
|
2930
|
-
subscriptionId: z.ZodNumber;
|
|
2302
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2931
2303
|
}, z.core.$strip>, z.ZodObject<{
|
|
2932
2304
|
action: z.ZodLiteral<"merged">;
|
|
2933
|
-
mergedObjectIds: z.ZodArray<z.ZodString
|
|
2934
|
-
newObjectId: z.ZodString
|
|
2305
|
+
mergedObjectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2306
|
+
newObjectId: z.ZodOptional<z.ZodString>;
|
|
2935
2307
|
numberOfPropertiesMoved: z.ZodOptional<z.ZodNumber>;
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2939
|
-
eventId: z.ZodNumber;
|
|
2308
|
+
primaryObjectId: z.ZodOptional<z.ZodString>;
|
|
2309
|
+
journalOffset: z.ZodString;
|
|
2940
2310
|
objectId: z.ZodString;
|
|
2941
2311
|
objectType: z.ZodEnum<{
|
|
2942
2312
|
contact: "contact";
|
|
@@ -2946,16 +2316,11 @@ export declare const hubspotTriggerContracts: {
|
|
|
2946
2316
|
}>;
|
|
2947
2317
|
occurredAt: z.ZodDate;
|
|
2948
2318
|
portalId: z.ZodNumber;
|
|
2949
|
-
|
|
2950
|
-
subscriptionId: z.ZodNumber;
|
|
2319
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2951
2320
|
}, z.core.$strip>, z.ZodObject<{
|
|
2952
|
-
action: z.ZodLiteral<"
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
appId: z.ZodOptional<z.ZodNumber>;
|
|
2956
|
-
attemptNumber: z.ZodNumber;
|
|
2957
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2958
|
-
eventId: z.ZodNumber;
|
|
2321
|
+
action: z.ZodLiteral<"updated">;
|
|
2322
|
+
propertyChanges: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
2323
|
+
journalOffset: z.ZodString;
|
|
2959
2324
|
objectId: z.ZodString;
|
|
2960
2325
|
objectType: z.ZodEnum<{
|
|
2961
2326
|
contact: "contact";
|
|
@@ -2965,14 +2330,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
2965
2330
|
}>;
|
|
2966
2331
|
occurredAt: z.ZodDate;
|
|
2967
2332
|
portalId: z.ZodNumber;
|
|
2968
|
-
|
|
2969
|
-
subscriptionId: z.ZodNumber;
|
|
2333
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2970
2334
|
}, z.core.$strip>, z.ZodObject<{
|
|
2971
2335
|
action: z.ZodLiteral<"restored">;
|
|
2972
|
-
|
|
2973
|
-
attemptNumber: z.ZodNumber;
|
|
2974
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
2975
|
-
eventId: z.ZodNumber;
|
|
2336
|
+
journalOffset: z.ZodString;
|
|
2976
2337
|
objectId: z.ZodString;
|
|
2977
2338
|
objectType: z.ZodEnum<{
|
|
2978
2339
|
contact: "contact";
|
|
@@ -2982,8 +2343,7 @@ export declare const hubspotTriggerContracts: {
|
|
|
2982
2343
|
}>;
|
|
2983
2344
|
occurredAt: z.ZodDate;
|
|
2984
2345
|
portalId: z.ZodNumber;
|
|
2985
|
-
|
|
2986
|
-
subscriptionId: z.ZodNumber;
|
|
2346
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2987
2347
|
}, z.core.$strip>], "action">, z.ZodObject<{
|
|
2988
2348
|
action: z.ZodLiteral<"deleted">;
|
|
2989
2349
|
objectType: z.ZodLiteral<"deal">;
|
|
@@ -2993,19 +2353,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
2993
2353
|
configSchema: z.ZodObject<{}, z.core.$strip>;
|
|
2994
2354
|
eventSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2995
2355
|
action: z.ZodLiteral<"associationAdded">;
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
associationType: z.ZodString;
|
|
2999
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
2356
|
+
associationCategory: z.ZodString;
|
|
2357
|
+
associationTypeId: z.ZodNumber;
|
|
3000
2358
|
fromObjectId: z.ZodString;
|
|
3001
|
-
fromObjectTypeId: z.
|
|
3002
|
-
|
|
2359
|
+
fromObjectTypeId: z.ZodString;
|
|
2360
|
+
isPrimary: z.ZodBoolean;
|
|
3003
2361
|
toObjectId: z.ZodString;
|
|
3004
|
-
toObjectTypeId: z.
|
|
3005
|
-
|
|
3006
|
-
attemptNumber: z.ZodNumber;
|
|
3007
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3008
|
-
eventId: z.ZodNumber;
|
|
2362
|
+
toObjectTypeId: z.ZodString;
|
|
2363
|
+
journalOffset: z.ZodString;
|
|
3009
2364
|
objectId: z.ZodString;
|
|
3010
2365
|
objectType: z.ZodEnum<{
|
|
3011
2366
|
contact: "contact";
|
|
@@ -3015,23 +2370,17 @@ export declare const hubspotTriggerContracts: {
|
|
|
3015
2370
|
}>;
|
|
3016
2371
|
occurredAt: z.ZodDate;
|
|
3017
2372
|
portalId: z.ZodNumber;
|
|
3018
|
-
|
|
3019
|
-
subscriptionId: z.ZodNumber;
|
|
2373
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3020
2374
|
}, z.core.$strip>, z.ZodObject<{
|
|
3021
2375
|
action: z.ZodLiteral<"associationRemoved">;
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
associationType: z.ZodString;
|
|
3025
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
2376
|
+
associationCategory: z.ZodString;
|
|
2377
|
+
associationTypeId: z.ZodNumber;
|
|
3026
2378
|
fromObjectId: z.ZodString;
|
|
3027
|
-
fromObjectTypeId: z.
|
|
3028
|
-
|
|
2379
|
+
fromObjectTypeId: z.ZodString;
|
|
2380
|
+
isPrimary: z.ZodBoolean;
|
|
3029
2381
|
toObjectId: z.ZodString;
|
|
3030
|
-
toObjectTypeId: z.
|
|
3031
|
-
|
|
3032
|
-
attemptNumber: z.ZodNumber;
|
|
3033
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3034
|
-
eventId: z.ZodNumber;
|
|
2382
|
+
toObjectTypeId: z.ZodString;
|
|
2383
|
+
journalOffset: z.ZodString;
|
|
3035
2384
|
objectId: z.ZodString;
|
|
3036
2385
|
objectType: z.ZodEnum<{
|
|
3037
2386
|
contact: "contact";
|
|
@@ -3041,14 +2390,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
3041
2390
|
}>;
|
|
3042
2391
|
occurredAt: z.ZodDate;
|
|
3043
2392
|
portalId: z.ZodNumber;
|
|
3044
|
-
|
|
3045
|
-
subscriptionId: z.ZodNumber;
|
|
2393
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3046
2394
|
}, z.core.$strip>, z.ZodObject<{
|
|
3047
2395
|
action: z.ZodLiteral<"created">;
|
|
3048
|
-
|
|
3049
|
-
attemptNumber: z.ZodNumber;
|
|
3050
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3051
|
-
eventId: z.ZodNumber;
|
|
2396
|
+
journalOffset: z.ZodString;
|
|
3052
2397
|
objectId: z.ZodString;
|
|
3053
2398
|
objectType: z.ZodEnum<{
|
|
3054
2399
|
contact: "contact";
|
|
@@ -3058,14 +2403,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
3058
2403
|
}>;
|
|
3059
2404
|
occurredAt: z.ZodDate;
|
|
3060
2405
|
portalId: z.ZodNumber;
|
|
3061
|
-
|
|
3062
|
-
subscriptionId: z.ZodNumber;
|
|
2406
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3063
2407
|
}, z.core.$strip>, z.ZodObject<{
|
|
3064
2408
|
action: z.ZodLiteral<"deleted">;
|
|
3065
|
-
|
|
3066
|
-
attemptNumber: z.ZodNumber;
|
|
3067
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3068
|
-
eventId: z.ZodNumber;
|
|
2409
|
+
journalOffset: z.ZodString;
|
|
3069
2410
|
objectId: z.ZodString;
|
|
3070
2411
|
objectType: z.ZodEnum<{
|
|
3071
2412
|
contact: "contact";
|
|
@@ -3075,17 +2416,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
3075
2416
|
}>;
|
|
3076
2417
|
occurredAt: z.ZodDate;
|
|
3077
2418
|
portalId: z.ZodNumber;
|
|
3078
|
-
|
|
3079
|
-
subscriptionId: z.ZodNumber;
|
|
2419
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3080
2420
|
}, z.core.$strip>, z.ZodObject<{
|
|
3081
2421
|
action: z.ZodLiteral<"merged">;
|
|
3082
|
-
mergedObjectIds: z.ZodArray<z.ZodString
|
|
3083
|
-
newObjectId: z.ZodString
|
|
2422
|
+
mergedObjectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2423
|
+
newObjectId: z.ZodOptional<z.ZodString>;
|
|
3084
2424
|
numberOfPropertiesMoved: z.ZodOptional<z.ZodNumber>;
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3088
|
-
eventId: z.ZodNumber;
|
|
2425
|
+
primaryObjectId: z.ZodOptional<z.ZodString>;
|
|
2426
|
+
journalOffset: z.ZodString;
|
|
3089
2427
|
objectId: z.ZodString;
|
|
3090
2428
|
objectType: z.ZodEnum<{
|
|
3091
2429
|
contact: "contact";
|
|
@@ -3095,16 +2433,11 @@ export declare const hubspotTriggerContracts: {
|
|
|
3095
2433
|
}>;
|
|
3096
2434
|
occurredAt: z.ZodDate;
|
|
3097
2435
|
portalId: z.ZodNumber;
|
|
3098
|
-
|
|
3099
|
-
subscriptionId: z.ZodNumber;
|
|
2436
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3100
2437
|
}, z.core.$strip>, z.ZodObject<{
|
|
3101
|
-
action: z.ZodLiteral<"
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
appId: z.ZodOptional<z.ZodNumber>;
|
|
3105
|
-
attemptNumber: z.ZodNumber;
|
|
3106
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3107
|
-
eventId: z.ZodNumber;
|
|
2438
|
+
action: z.ZodLiteral<"updated">;
|
|
2439
|
+
propertyChanges: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
2440
|
+
journalOffset: z.ZodString;
|
|
3108
2441
|
objectId: z.ZodString;
|
|
3109
2442
|
objectType: z.ZodEnum<{
|
|
3110
2443
|
contact: "contact";
|
|
@@ -3114,14 +2447,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
3114
2447
|
}>;
|
|
3115
2448
|
occurredAt: z.ZodDate;
|
|
3116
2449
|
portalId: z.ZodNumber;
|
|
3117
|
-
|
|
3118
|
-
subscriptionId: z.ZodNumber;
|
|
2450
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3119
2451
|
}, z.core.$strip>, z.ZodObject<{
|
|
3120
2452
|
action: z.ZodLiteral<"restored">;
|
|
3121
|
-
|
|
3122
|
-
attemptNumber: z.ZodNumber;
|
|
3123
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3124
|
-
eventId: z.ZodNumber;
|
|
2453
|
+
journalOffset: z.ZodString;
|
|
3125
2454
|
objectId: z.ZodString;
|
|
3126
2455
|
objectType: z.ZodEnum<{
|
|
3127
2456
|
contact: "contact";
|
|
@@ -3131,30 +2460,24 @@ export declare const hubspotTriggerContracts: {
|
|
|
3131
2460
|
}>;
|
|
3132
2461
|
occurredAt: z.ZodDate;
|
|
3133
2462
|
portalId: z.ZodNumber;
|
|
3134
|
-
|
|
3135
|
-
subscriptionId: z.ZodNumber;
|
|
2463
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3136
2464
|
}, z.core.$strip>], "action">, z.ZodObject<{
|
|
3137
2465
|
action: z.ZodLiteral<"merged">;
|
|
3138
2466
|
objectType: z.ZodLiteral<"deal">;
|
|
3139
2467
|
}, z.core.$strip>>;
|
|
3140
2468
|
};
|
|
3141
|
-
"hubspot.deal.
|
|
2469
|
+
"hubspot.deal.restored": {
|
|
3142
2470
|
configSchema: z.ZodObject<{}, z.core.$strip>;
|
|
3143
2471
|
eventSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3144
2472
|
action: z.ZodLiteral<"associationAdded">;
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
associationType: z.ZodString;
|
|
3148
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
2473
|
+
associationCategory: z.ZodString;
|
|
2474
|
+
associationTypeId: z.ZodNumber;
|
|
3149
2475
|
fromObjectId: z.ZodString;
|
|
3150
|
-
fromObjectTypeId: z.
|
|
3151
|
-
|
|
2476
|
+
fromObjectTypeId: z.ZodString;
|
|
2477
|
+
isPrimary: z.ZodBoolean;
|
|
3152
2478
|
toObjectId: z.ZodString;
|
|
3153
|
-
toObjectTypeId: z.
|
|
3154
|
-
|
|
3155
|
-
attemptNumber: z.ZodNumber;
|
|
3156
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3157
|
-
eventId: z.ZodNumber;
|
|
2479
|
+
toObjectTypeId: z.ZodString;
|
|
2480
|
+
journalOffset: z.ZodString;
|
|
3158
2481
|
objectId: z.ZodString;
|
|
3159
2482
|
objectType: z.ZodEnum<{
|
|
3160
2483
|
contact: "contact";
|
|
@@ -3164,23 +2487,17 @@ export declare const hubspotTriggerContracts: {
|
|
|
3164
2487
|
}>;
|
|
3165
2488
|
occurredAt: z.ZodDate;
|
|
3166
2489
|
portalId: z.ZodNumber;
|
|
3167
|
-
|
|
3168
|
-
subscriptionId: z.ZodNumber;
|
|
2490
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3169
2491
|
}, z.core.$strip>, z.ZodObject<{
|
|
3170
2492
|
action: z.ZodLiteral<"associationRemoved">;
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
associationType: z.ZodString;
|
|
3174
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
2493
|
+
associationCategory: z.ZodString;
|
|
2494
|
+
associationTypeId: z.ZodNumber;
|
|
3175
2495
|
fromObjectId: z.ZodString;
|
|
3176
|
-
fromObjectTypeId: z.
|
|
3177
|
-
|
|
2496
|
+
fromObjectTypeId: z.ZodString;
|
|
2497
|
+
isPrimary: z.ZodBoolean;
|
|
3178
2498
|
toObjectId: z.ZodString;
|
|
3179
|
-
toObjectTypeId: z.
|
|
3180
|
-
|
|
3181
|
-
attemptNumber: z.ZodNumber;
|
|
3182
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3183
|
-
eventId: z.ZodNumber;
|
|
2499
|
+
toObjectTypeId: z.ZodString;
|
|
2500
|
+
journalOffset: z.ZodString;
|
|
3184
2501
|
objectId: z.ZodString;
|
|
3185
2502
|
objectType: z.ZodEnum<{
|
|
3186
2503
|
contact: "contact";
|
|
@@ -3190,14 +2507,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
3190
2507
|
}>;
|
|
3191
2508
|
occurredAt: z.ZodDate;
|
|
3192
2509
|
portalId: z.ZodNumber;
|
|
3193
|
-
|
|
3194
|
-
subscriptionId: z.ZodNumber;
|
|
2510
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3195
2511
|
}, z.core.$strip>, z.ZodObject<{
|
|
3196
2512
|
action: z.ZodLiteral<"created">;
|
|
3197
|
-
|
|
3198
|
-
attemptNumber: z.ZodNumber;
|
|
3199
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3200
|
-
eventId: z.ZodNumber;
|
|
2513
|
+
journalOffset: z.ZodString;
|
|
3201
2514
|
objectId: z.ZodString;
|
|
3202
2515
|
objectType: z.ZodEnum<{
|
|
3203
2516
|
contact: "contact";
|
|
@@ -3207,14 +2520,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
3207
2520
|
}>;
|
|
3208
2521
|
occurredAt: z.ZodDate;
|
|
3209
2522
|
portalId: z.ZodNumber;
|
|
3210
|
-
|
|
3211
|
-
subscriptionId: z.ZodNumber;
|
|
2523
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3212
2524
|
}, z.core.$strip>, z.ZodObject<{
|
|
3213
2525
|
action: z.ZodLiteral<"deleted">;
|
|
3214
|
-
|
|
3215
|
-
attemptNumber: z.ZodNumber;
|
|
3216
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3217
|
-
eventId: z.ZodNumber;
|
|
2526
|
+
journalOffset: z.ZodString;
|
|
3218
2527
|
objectId: z.ZodString;
|
|
3219
2528
|
objectType: z.ZodEnum<{
|
|
3220
2529
|
contact: "contact";
|
|
@@ -3224,17 +2533,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
3224
2533
|
}>;
|
|
3225
2534
|
occurredAt: z.ZodDate;
|
|
3226
2535
|
portalId: z.ZodNumber;
|
|
3227
|
-
|
|
3228
|
-
subscriptionId: z.ZodNumber;
|
|
2536
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3229
2537
|
}, z.core.$strip>, z.ZodObject<{
|
|
3230
2538
|
action: z.ZodLiteral<"merged">;
|
|
3231
|
-
mergedObjectIds: z.ZodArray<z.ZodString
|
|
3232
|
-
newObjectId: z.ZodString
|
|
2539
|
+
mergedObjectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2540
|
+
newObjectId: z.ZodOptional<z.ZodString>;
|
|
3233
2541
|
numberOfPropertiesMoved: z.ZodOptional<z.ZodNumber>;
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3237
|
-
eventId: z.ZodNumber;
|
|
2542
|
+
primaryObjectId: z.ZodOptional<z.ZodString>;
|
|
2543
|
+
journalOffset: z.ZodString;
|
|
3238
2544
|
objectId: z.ZodString;
|
|
3239
2545
|
objectType: z.ZodEnum<{
|
|
3240
2546
|
contact: "contact";
|
|
@@ -3244,16 +2550,11 @@ export declare const hubspotTriggerContracts: {
|
|
|
3244
2550
|
}>;
|
|
3245
2551
|
occurredAt: z.ZodDate;
|
|
3246
2552
|
portalId: z.ZodNumber;
|
|
3247
|
-
|
|
3248
|
-
subscriptionId: z.ZodNumber;
|
|
2553
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3249
2554
|
}, z.core.$strip>, z.ZodObject<{
|
|
3250
|
-
action: z.ZodLiteral<"
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
appId: z.ZodOptional<z.ZodNumber>;
|
|
3254
|
-
attemptNumber: z.ZodNumber;
|
|
3255
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3256
|
-
eventId: z.ZodNumber;
|
|
2555
|
+
action: z.ZodLiteral<"updated">;
|
|
2556
|
+
propertyChanges: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
2557
|
+
journalOffset: z.ZodString;
|
|
3257
2558
|
objectId: z.ZodString;
|
|
3258
2559
|
objectType: z.ZodEnum<{
|
|
3259
2560
|
contact: "contact";
|
|
@@ -3263,14 +2564,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
3263
2564
|
}>;
|
|
3264
2565
|
occurredAt: z.ZodDate;
|
|
3265
2566
|
portalId: z.ZodNumber;
|
|
3266
|
-
|
|
3267
|
-
subscriptionId: z.ZodNumber;
|
|
2567
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3268
2568
|
}, z.core.$strip>, z.ZodObject<{
|
|
3269
2569
|
action: z.ZodLiteral<"restored">;
|
|
3270
|
-
|
|
3271
|
-
attemptNumber: z.ZodNumber;
|
|
3272
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3273
|
-
eventId: z.ZodNumber;
|
|
2570
|
+
journalOffset: z.ZodString;
|
|
3274
2571
|
objectId: z.ZodString;
|
|
3275
2572
|
objectType: z.ZodEnum<{
|
|
3276
2573
|
contact: "contact";
|
|
@@ -3280,30 +2577,24 @@ export declare const hubspotTriggerContracts: {
|
|
|
3280
2577
|
}>;
|
|
3281
2578
|
occurredAt: z.ZodDate;
|
|
3282
2579
|
portalId: z.ZodNumber;
|
|
3283
|
-
|
|
3284
|
-
subscriptionId: z.ZodNumber;
|
|
2580
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3285
2581
|
}, z.core.$strip>], "action">, z.ZodObject<{
|
|
3286
|
-
action: z.ZodLiteral<"
|
|
2582
|
+
action: z.ZodLiteral<"restored">;
|
|
3287
2583
|
objectType: z.ZodLiteral<"deal">;
|
|
3288
2584
|
}, z.core.$strip>>;
|
|
3289
2585
|
};
|
|
3290
|
-
"hubspot.deal.
|
|
2586
|
+
"hubspot.deal.updated": {
|
|
3291
2587
|
configSchema: z.ZodObject<{}, z.core.$strip>;
|
|
3292
2588
|
eventSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3293
2589
|
action: z.ZodLiteral<"associationAdded">;
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
associationType: z.ZodString;
|
|
3297
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
2590
|
+
associationCategory: z.ZodString;
|
|
2591
|
+
associationTypeId: z.ZodNumber;
|
|
3298
2592
|
fromObjectId: z.ZodString;
|
|
3299
|
-
fromObjectTypeId: z.
|
|
3300
|
-
|
|
2593
|
+
fromObjectTypeId: z.ZodString;
|
|
2594
|
+
isPrimary: z.ZodBoolean;
|
|
3301
2595
|
toObjectId: z.ZodString;
|
|
3302
|
-
toObjectTypeId: z.
|
|
3303
|
-
|
|
3304
|
-
attemptNumber: z.ZodNumber;
|
|
3305
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3306
|
-
eventId: z.ZodNumber;
|
|
2596
|
+
toObjectTypeId: z.ZodString;
|
|
2597
|
+
journalOffset: z.ZodString;
|
|
3307
2598
|
objectId: z.ZodString;
|
|
3308
2599
|
objectType: z.ZodEnum<{
|
|
3309
2600
|
contact: "contact";
|
|
@@ -3313,23 +2604,17 @@ export declare const hubspotTriggerContracts: {
|
|
|
3313
2604
|
}>;
|
|
3314
2605
|
occurredAt: z.ZodDate;
|
|
3315
2606
|
portalId: z.ZodNumber;
|
|
3316
|
-
|
|
3317
|
-
subscriptionId: z.ZodNumber;
|
|
2607
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3318
2608
|
}, z.core.$strip>, z.ZodObject<{
|
|
3319
2609
|
action: z.ZodLiteral<"associationRemoved">;
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
associationType: z.ZodString;
|
|
3323
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
2610
|
+
associationCategory: z.ZodString;
|
|
2611
|
+
associationTypeId: z.ZodNumber;
|
|
3324
2612
|
fromObjectId: z.ZodString;
|
|
3325
|
-
fromObjectTypeId: z.
|
|
3326
|
-
|
|
2613
|
+
fromObjectTypeId: z.ZodString;
|
|
2614
|
+
isPrimary: z.ZodBoolean;
|
|
3327
2615
|
toObjectId: z.ZodString;
|
|
3328
|
-
toObjectTypeId: z.
|
|
3329
|
-
|
|
3330
|
-
attemptNumber: z.ZodNumber;
|
|
3331
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3332
|
-
eventId: z.ZodNumber;
|
|
2616
|
+
toObjectTypeId: z.ZodString;
|
|
2617
|
+
journalOffset: z.ZodString;
|
|
3333
2618
|
objectId: z.ZodString;
|
|
3334
2619
|
objectType: z.ZodEnum<{
|
|
3335
2620
|
contact: "contact";
|
|
@@ -3339,14 +2624,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
3339
2624
|
}>;
|
|
3340
2625
|
occurredAt: z.ZodDate;
|
|
3341
2626
|
portalId: z.ZodNumber;
|
|
3342
|
-
|
|
3343
|
-
subscriptionId: z.ZodNumber;
|
|
2627
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3344
2628
|
}, z.core.$strip>, z.ZodObject<{
|
|
3345
2629
|
action: z.ZodLiteral<"created">;
|
|
3346
|
-
|
|
3347
|
-
attemptNumber: z.ZodNumber;
|
|
3348
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3349
|
-
eventId: z.ZodNumber;
|
|
2630
|
+
journalOffset: z.ZodString;
|
|
3350
2631
|
objectId: z.ZodString;
|
|
3351
2632
|
objectType: z.ZodEnum<{
|
|
3352
2633
|
contact: "contact";
|
|
@@ -3356,14 +2637,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
3356
2637
|
}>;
|
|
3357
2638
|
occurredAt: z.ZodDate;
|
|
3358
2639
|
portalId: z.ZodNumber;
|
|
3359
|
-
|
|
3360
|
-
subscriptionId: z.ZodNumber;
|
|
2640
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3361
2641
|
}, z.core.$strip>, z.ZodObject<{
|
|
3362
2642
|
action: z.ZodLiteral<"deleted">;
|
|
3363
|
-
|
|
3364
|
-
attemptNumber: z.ZodNumber;
|
|
3365
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3366
|
-
eventId: z.ZodNumber;
|
|
2643
|
+
journalOffset: z.ZodString;
|
|
3367
2644
|
objectId: z.ZodString;
|
|
3368
2645
|
objectType: z.ZodEnum<{
|
|
3369
2646
|
contact: "contact";
|
|
@@ -3373,17 +2650,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
3373
2650
|
}>;
|
|
3374
2651
|
occurredAt: z.ZodDate;
|
|
3375
2652
|
portalId: z.ZodNumber;
|
|
3376
|
-
|
|
3377
|
-
subscriptionId: z.ZodNumber;
|
|
2653
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3378
2654
|
}, z.core.$strip>, z.ZodObject<{
|
|
3379
2655
|
action: z.ZodLiteral<"merged">;
|
|
3380
|
-
mergedObjectIds: z.ZodArray<z.ZodString
|
|
3381
|
-
newObjectId: z.ZodString
|
|
2656
|
+
mergedObjectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2657
|
+
newObjectId: z.ZodOptional<z.ZodString>;
|
|
3382
2658
|
numberOfPropertiesMoved: z.ZodOptional<z.ZodNumber>;
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3386
|
-
eventId: z.ZodNumber;
|
|
2659
|
+
primaryObjectId: z.ZodOptional<z.ZodString>;
|
|
2660
|
+
journalOffset: z.ZodString;
|
|
3387
2661
|
objectId: z.ZodString;
|
|
3388
2662
|
objectType: z.ZodEnum<{
|
|
3389
2663
|
contact: "contact";
|
|
@@ -3393,16 +2667,11 @@ export declare const hubspotTriggerContracts: {
|
|
|
3393
2667
|
}>;
|
|
3394
2668
|
occurredAt: z.ZodDate;
|
|
3395
2669
|
portalId: z.ZodNumber;
|
|
3396
|
-
|
|
3397
|
-
subscriptionId: z.ZodNumber;
|
|
2670
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3398
2671
|
}, z.core.$strip>, z.ZodObject<{
|
|
3399
|
-
action: z.ZodLiteral<"
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
appId: z.ZodOptional<z.ZodNumber>;
|
|
3403
|
-
attemptNumber: z.ZodNumber;
|
|
3404
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3405
|
-
eventId: z.ZodNumber;
|
|
2672
|
+
action: z.ZodLiteral<"updated">;
|
|
2673
|
+
propertyChanges: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
2674
|
+
journalOffset: z.ZodString;
|
|
3406
2675
|
objectId: z.ZodString;
|
|
3407
2676
|
objectType: z.ZodEnum<{
|
|
3408
2677
|
contact: "contact";
|
|
@@ -3412,14 +2681,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
3412
2681
|
}>;
|
|
3413
2682
|
occurredAt: z.ZodDate;
|
|
3414
2683
|
portalId: z.ZodNumber;
|
|
3415
|
-
|
|
3416
|
-
subscriptionId: z.ZodNumber;
|
|
2684
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3417
2685
|
}, z.core.$strip>, z.ZodObject<{
|
|
3418
2686
|
action: z.ZodLiteral<"restored">;
|
|
3419
|
-
|
|
3420
|
-
attemptNumber: z.ZodNumber;
|
|
3421
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3422
|
-
eventId: z.ZodNumber;
|
|
2687
|
+
journalOffset: z.ZodString;
|
|
3423
2688
|
objectId: z.ZodString;
|
|
3424
2689
|
objectType: z.ZodEnum<{
|
|
3425
2690
|
contact: "contact";
|
|
@@ -3429,10 +2694,9 @@ export declare const hubspotTriggerContracts: {
|
|
|
3429
2694
|
}>;
|
|
3430
2695
|
occurredAt: z.ZodDate;
|
|
3431
2696
|
portalId: z.ZodNumber;
|
|
3432
|
-
|
|
3433
|
-
subscriptionId: z.ZodNumber;
|
|
2697
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3434
2698
|
}, z.core.$strip>], "action">, z.ZodObject<{
|
|
3435
|
-
action: z.ZodLiteral<"
|
|
2699
|
+
action: z.ZodLiteral<"updated">;
|
|
3436
2700
|
objectType: z.ZodLiteral<"deal">;
|
|
3437
2701
|
}, z.core.$strip>>;
|
|
3438
2702
|
};
|
|
@@ -3440,19 +2704,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
3440
2704
|
configSchema: z.ZodObject<{}, z.core.$strip>;
|
|
3441
2705
|
eventSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3442
2706
|
action: z.ZodLiteral<"associationAdded">;
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
associationType: z.ZodString;
|
|
3446
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
2707
|
+
associationCategory: z.ZodString;
|
|
2708
|
+
associationTypeId: z.ZodNumber;
|
|
3447
2709
|
fromObjectId: z.ZodString;
|
|
3448
|
-
fromObjectTypeId: z.
|
|
3449
|
-
|
|
2710
|
+
fromObjectTypeId: z.ZodString;
|
|
2711
|
+
isPrimary: z.ZodBoolean;
|
|
3450
2712
|
toObjectId: z.ZodString;
|
|
3451
|
-
toObjectTypeId: z.
|
|
3452
|
-
|
|
3453
|
-
attemptNumber: z.ZodNumber;
|
|
3454
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3455
|
-
eventId: z.ZodNumber;
|
|
2713
|
+
toObjectTypeId: z.ZodString;
|
|
2714
|
+
journalOffset: z.ZodString;
|
|
3456
2715
|
objectId: z.ZodString;
|
|
3457
2716
|
objectType: z.ZodEnum<{
|
|
3458
2717
|
contact: "contact";
|
|
@@ -3462,23 +2721,17 @@ export declare const hubspotTriggerContracts: {
|
|
|
3462
2721
|
}>;
|
|
3463
2722
|
occurredAt: z.ZodDate;
|
|
3464
2723
|
portalId: z.ZodNumber;
|
|
3465
|
-
|
|
3466
|
-
subscriptionId: z.ZodNumber;
|
|
2724
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3467
2725
|
}, z.core.$strip>, z.ZodObject<{
|
|
3468
2726
|
action: z.ZodLiteral<"associationRemoved">;
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
associationType: z.ZodString;
|
|
3472
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
2727
|
+
associationCategory: z.ZodString;
|
|
2728
|
+
associationTypeId: z.ZodNumber;
|
|
3473
2729
|
fromObjectId: z.ZodString;
|
|
3474
|
-
fromObjectTypeId: z.
|
|
3475
|
-
|
|
2730
|
+
fromObjectTypeId: z.ZodString;
|
|
2731
|
+
isPrimary: z.ZodBoolean;
|
|
3476
2732
|
toObjectId: z.ZodString;
|
|
3477
|
-
toObjectTypeId: z.
|
|
3478
|
-
|
|
3479
|
-
attemptNumber: z.ZodNumber;
|
|
3480
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3481
|
-
eventId: z.ZodNumber;
|
|
2733
|
+
toObjectTypeId: z.ZodString;
|
|
2734
|
+
journalOffset: z.ZodString;
|
|
3482
2735
|
objectId: z.ZodString;
|
|
3483
2736
|
objectType: z.ZodEnum<{
|
|
3484
2737
|
contact: "contact";
|
|
@@ -3488,14 +2741,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
3488
2741
|
}>;
|
|
3489
2742
|
occurredAt: z.ZodDate;
|
|
3490
2743
|
portalId: z.ZodNumber;
|
|
3491
|
-
|
|
3492
|
-
subscriptionId: z.ZodNumber;
|
|
2744
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3493
2745
|
}, z.core.$strip>, z.ZodObject<{
|
|
3494
2746
|
action: z.ZodLiteral<"created">;
|
|
3495
|
-
|
|
3496
|
-
attemptNumber: z.ZodNumber;
|
|
3497
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3498
|
-
eventId: z.ZodNumber;
|
|
2747
|
+
journalOffset: z.ZodString;
|
|
3499
2748
|
objectId: z.ZodString;
|
|
3500
2749
|
objectType: z.ZodEnum<{
|
|
3501
2750
|
contact: "contact";
|
|
@@ -3505,14 +2754,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
3505
2754
|
}>;
|
|
3506
2755
|
occurredAt: z.ZodDate;
|
|
3507
2756
|
portalId: z.ZodNumber;
|
|
3508
|
-
|
|
3509
|
-
subscriptionId: z.ZodNumber;
|
|
2757
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3510
2758
|
}, z.core.$strip>, z.ZodObject<{
|
|
3511
2759
|
action: z.ZodLiteral<"deleted">;
|
|
3512
|
-
|
|
3513
|
-
attemptNumber: z.ZodNumber;
|
|
3514
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3515
|
-
eventId: z.ZodNumber;
|
|
2760
|
+
journalOffset: z.ZodString;
|
|
3516
2761
|
objectId: z.ZodString;
|
|
3517
2762
|
objectType: z.ZodEnum<{
|
|
3518
2763
|
contact: "contact";
|
|
@@ -3522,17 +2767,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
3522
2767
|
}>;
|
|
3523
2768
|
occurredAt: z.ZodDate;
|
|
3524
2769
|
portalId: z.ZodNumber;
|
|
3525
|
-
|
|
3526
|
-
subscriptionId: z.ZodNumber;
|
|
2770
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3527
2771
|
}, z.core.$strip>, z.ZodObject<{
|
|
3528
2772
|
action: z.ZodLiteral<"merged">;
|
|
3529
|
-
mergedObjectIds: z.ZodArray<z.ZodString
|
|
3530
|
-
newObjectId: z.ZodString
|
|
2773
|
+
mergedObjectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2774
|
+
newObjectId: z.ZodOptional<z.ZodString>;
|
|
3531
2775
|
numberOfPropertiesMoved: z.ZodOptional<z.ZodNumber>;
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3535
|
-
eventId: z.ZodNumber;
|
|
2776
|
+
primaryObjectId: z.ZodOptional<z.ZodString>;
|
|
2777
|
+
journalOffset: z.ZodString;
|
|
3536
2778
|
objectId: z.ZodString;
|
|
3537
2779
|
objectType: z.ZodEnum<{
|
|
3538
2780
|
contact: "contact";
|
|
@@ -3542,16 +2784,11 @@ export declare const hubspotTriggerContracts: {
|
|
|
3542
2784
|
}>;
|
|
3543
2785
|
occurredAt: z.ZodDate;
|
|
3544
2786
|
portalId: z.ZodNumber;
|
|
3545
|
-
|
|
3546
|
-
subscriptionId: z.ZodNumber;
|
|
2787
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3547
2788
|
}, z.core.$strip>, z.ZodObject<{
|
|
3548
|
-
action: z.ZodLiteral<"
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
appId: z.ZodOptional<z.ZodNumber>;
|
|
3552
|
-
attemptNumber: z.ZodNumber;
|
|
3553
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3554
|
-
eventId: z.ZodNumber;
|
|
2789
|
+
action: z.ZodLiteral<"updated">;
|
|
2790
|
+
propertyChanges: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
2791
|
+
journalOffset: z.ZodString;
|
|
3555
2792
|
objectId: z.ZodString;
|
|
3556
2793
|
objectType: z.ZodEnum<{
|
|
3557
2794
|
contact: "contact";
|
|
@@ -3561,14 +2798,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
3561
2798
|
}>;
|
|
3562
2799
|
occurredAt: z.ZodDate;
|
|
3563
2800
|
portalId: z.ZodNumber;
|
|
3564
|
-
|
|
3565
|
-
subscriptionId: z.ZodNumber;
|
|
2801
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3566
2802
|
}, z.core.$strip>, z.ZodObject<{
|
|
3567
2803
|
action: z.ZodLiteral<"restored">;
|
|
3568
|
-
|
|
3569
|
-
attemptNumber: z.ZodNumber;
|
|
3570
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3571
|
-
eventId: z.ZodNumber;
|
|
2804
|
+
journalOffset: z.ZodString;
|
|
3572
2805
|
objectId: z.ZodString;
|
|
3573
2806
|
objectType: z.ZodEnum<{
|
|
3574
2807
|
contact: "contact";
|
|
@@ -3578,8 +2811,7 @@ export declare const hubspotTriggerContracts: {
|
|
|
3578
2811
|
}>;
|
|
3579
2812
|
occurredAt: z.ZodDate;
|
|
3580
2813
|
portalId: z.ZodNumber;
|
|
3581
|
-
|
|
3582
|
-
subscriptionId: z.ZodNumber;
|
|
2814
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3583
2815
|
}, z.core.$strip>], "action">, z.ZodObject<{
|
|
3584
2816
|
action: z.ZodLiteral<"associationAdded">;
|
|
3585
2817
|
objectType: z.ZodLiteral<"ticket">;
|
|
@@ -3589,19 +2821,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
3589
2821
|
configSchema: z.ZodObject<{}, z.core.$strip>;
|
|
3590
2822
|
eventSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3591
2823
|
action: z.ZodLiteral<"associationAdded">;
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
associationType: z.ZodString;
|
|
3595
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
2824
|
+
associationCategory: z.ZodString;
|
|
2825
|
+
associationTypeId: z.ZodNumber;
|
|
3596
2826
|
fromObjectId: z.ZodString;
|
|
3597
|
-
fromObjectTypeId: z.
|
|
3598
|
-
|
|
2827
|
+
fromObjectTypeId: z.ZodString;
|
|
2828
|
+
isPrimary: z.ZodBoolean;
|
|
3599
2829
|
toObjectId: z.ZodString;
|
|
3600
|
-
toObjectTypeId: z.
|
|
3601
|
-
|
|
3602
|
-
attemptNumber: z.ZodNumber;
|
|
3603
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3604
|
-
eventId: z.ZodNumber;
|
|
2830
|
+
toObjectTypeId: z.ZodString;
|
|
2831
|
+
journalOffset: z.ZodString;
|
|
3605
2832
|
objectId: z.ZodString;
|
|
3606
2833
|
objectType: z.ZodEnum<{
|
|
3607
2834
|
contact: "contact";
|
|
@@ -3611,23 +2838,17 @@ export declare const hubspotTriggerContracts: {
|
|
|
3611
2838
|
}>;
|
|
3612
2839
|
occurredAt: z.ZodDate;
|
|
3613
2840
|
portalId: z.ZodNumber;
|
|
3614
|
-
|
|
3615
|
-
subscriptionId: z.ZodNumber;
|
|
2841
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3616
2842
|
}, z.core.$strip>, z.ZodObject<{
|
|
3617
2843
|
action: z.ZodLiteral<"associationRemoved">;
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
associationType: z.ZodString;
|
|
3621
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
2844
|
+
associationCategory: z.ZodString;
|
|
2845
|
+
associationTypeId: z.ZodNumber;
|
|
3622
2846
|
fromObjectId: z.ZodString;
|
|
3623
|
-
fromObjectTypeId: z.
|
|
3624
|
-
|
|
2847
|
+
fromObjectTypeId: z.ZodString;
|
|
2848
|
+
isPrimary: z.ZodBoolean;
|
|
3625
2849
|
toObjectId: z.ZodString;
|
|
3626
|
-
toObjectTypeId: z.
|
|
3627
|
-
|
|
3628
|
-
attemptNumber: z.ZodNumber;
|
|
3629
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3630
|
-
eventId: z.ZodNumber;
|
|
2850
|
+
toObjectTypeId: z.ZodString;
|
|
2851
|
+
journalOffset: z.ZodString;
|
|
3631
2852
|
objectId: z.ZodString;
|
|
3632
2853
|
objectType: z.ZodEnum<{
|
|
3633
2854
|
contact: "contact";
|
|
@@ -3637,14 +2858,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
3637
2858
|
}>;
|
|
3638
2859
|
occurredAt: z.ZodDate;
|
|
3639
2860
|
portalId: z.ZodNumber;
|
|
3640
|
-
|
|
3641
|
-
subscriptionId: z.ZodNumber;
|
|
2861
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3642
2862
|
}, z.core.$strip>, z.ZodObject<{
|
|
3643
2863
|
action: z.ZodLiteral<"created">;
|
|
3644
|
-
|
|
3645
|
-
attemptNumber: z.ZodNumber;
|
|
3646
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3647
|
-
eventId: z.ZodNumber;
|
|
2864
|
+
journalOffset: z.ZodString;
|
|
3648
2865
|
objectId: z.ZodString;
|
|
3649
2866
|
objectType: z.ZodEnum<{
|
|
3650
2867
|
contact: "contact";
|
|
@@ -3654,14 +2871,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
3654
2871
|
}>;
|
|
3655
2872
|
occurredAt: z.ZodDate;
|
|
3656
2873
|
portalId: z.ZodNumber;
|
|
3657
|
-
|
|
3658
|
-
subscriptionId: z.ZodNumber;
|
|
2874
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3659
2875
|
}, z.core.$strip>, z.ZodObject<{
|
|
3660
2876
|
action: z.ZodLiteral<"deleted">;
|
|
3661
|
-
|
|
3662
|
-
attemptNumber: z.ZodNumber;
|
|
3663
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3664
|
-
eventId: z.ZodNumber;
|
|
2877
|
+
journalOffset: z.ZodString;
|
|
3665
2878
|
objectId: z.ZodString;
|
|
3666
2879
|
objectType: z.ZodEnum<{
|
|
3667
2880
|
contact: "contact";
|
|
@@ -3671,17 +2884,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
3671
2884
|
}>;
|
|
3672
2885
|
occurredAt: z.ZodDate;
|
|
3673
2886
|
portalId: z.ZodNumber;
|
|
3674
|
-
|
|
3675
|
-
subscriptionId: z.ZodNumber;
|
|
2887
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3676
2888
|
}, z.core.$strip>, z.ZodObject<{
|
|
3677
2889
|
action: z.ZodLiteral<"merged">;
|
|
3678
|
-
mergedObjectIds: z.ZodArray<z.ZodString
|
|
3679
|
-
newObjectId: z.ZodString
|
|
2890
|
+
mergedObjectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2891
|
+
newObjectId: z.ZodOptional<z.ZodString>;
|
|
3680
2892
|
numberOfPropertiesMoved: z.ZodOptional<z.ZodNumber>;
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3684
|
-
eventId: z.ZodNumber;
|
|
2893
|
+
primaryObjectId: z.ZodOptional<z.ZodString>;
|
|
2894
|
+
journalOffset: z.ZodString;
|
|
3685
2895
|
objectId: z.ZodString;
|
|
3686
2896
|
objectType: z.ZodEnum<{
|
|
3687
2897
|
contact: "contact";
|
|
@@ -3691,16 +2901,11 @@ export declare const hubspotTriggerContracts: {
|
|
|
3691
2901
|
}>;
|
|
3692
2902
|
occurredAt: z.ZodDate;
|
|
3693
2903
|
portalId: z.ZodNumber;
|
|
3694
|
-
|
|
3695
|
-
subscriptionId: z.ZodNumber;
|
|
2904
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3696
2905
|
}, z.core.$strip>, z.ZodObject<{
|
|
3697
|
-
action: z.ZodLiteral<"
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
appId: z.ZodOptional<z.ZodNumber>;
|
|
3701
|
-
attemptNumber: z.ZodNumber;
|
|
3702
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3703
|
-
eventId: z.ZodNumber;
|
|
2906
|
+
action: z.ZodLiteral<"updated">;
|
|
2907
|
+
propertyChanges: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
2908
|
+
journalOffset: z.ZodString;
|
|
3704
2909
|
objectId: z.ZodString;
|
|
3705
2910
|
objectType: z.ZodEnum<{
|
|
3706
2911
|
contact: "contact";
|
|
@@ -3710,14 +2915,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
3710
2915
|
}>;
|
|
3711
2916
|
occurredAt: z.ZodDate;
|
|
3712
2917
|
portalId: z.ZodNumber;
|
|
3713
|
-
|
|
3714
|
-
subscriptionId: z.ZodNumber;
|
|
2918
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3715
2919
|
}, z.core.$strip>, z.ZodObject<{
|
|
3716
2920
|
action: z.ZodLiteral<"restored">;
|
|
3717
|
-
|
|
3718
|
-
attemptNumber: z.ZodNumber;
|
|
3719
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3720
|
-
eventId: z.ZodNumber;
|
|
2921
|
+
journalOffset: z.ZodString;
|
|
3721
2922
|
objectId: z.ZodString;
|
|
3722
2923
|
objectType: z.ZodEnum<{
|
|
3723
2924
|
contact: "contact";
|
|
@@ -3727,8 +2928,7 @@ export declare const hubspotTriggerContracts: {
|
|
|
3727
2928
|
}>;
|
|
3728
2929
|
occurredAt: z.ZodDate;
|
|
3729
2930
|
portalId: z.ZodNumber;
|
|
3730
|
-
|
|
3731
|
-
subscriptionId: z.ZodNumber;
|
|
2931
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3732
2932
|
}, z.core.$strip>], "action">, z.ZodObject<{
|
|
3733
2933
|
action: z.ZodLiteral<"associationRemoved">;
|
|
3734
2934
|
objectType: z.ZodLiteral<"ticket">;
|
|
@@ -3738,19 +2938,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
3738
2938
|
configSchema: z.ZodObject<{}, z.core.$strip>;
|
|
3739
2939
|
eventSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3740
2940
|
action: z.ZodLiteral<"associationAdded">;
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
associationType: z.ZodString;
|
|
3744
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
2941
|
+
associationCategory: z.ZodString;
|
|
2942
|
+
associationTypeId: z.ZodNumber;
|
|
3745
2943
|
fromObjectId: z.ZodString;
|
|
3746
|
-
fromObjectTypeId: z.
|
|
3747
|
-
|
|
2944
|
+
fromObjectTypeId: z.ZodString;
|
|
2945
|
+
isPrimary: z.ZodBoolean;
|
|
3748
2946
|
toObjectId: z.ZodString;
|
|
3749
|
-
toObjectTypeId: z.
|
|
3750
|
-
|
|
3751
|
-
attemptNumber: z.ZodNumber;
|
|
3752
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3753
|
-
eventId: z.ZodNumber;
|
|
2947
|
+
toObjectTypeId: z.ZodString;
|
|
2948
|
+
journalOffset: z.ZodString;
|
|
3754
2949
|
objectId: z.ZodString;
|
|
3755
2950
|
objectType: z.ZodEnum<{
|
|
3756
2951
|
contact: "contact";
|
|
@@ -3760,23 +2955,17 @@ export declare const hubspotTriggerContracts: {
|
|
|
3760
2955
|
}>;
|
|
3761
2956
|
occurredAt: z.ZodDate;
|
|
3762
2957
|
portalId: z.ZodNumber;
|
|
3763
|
-
|
|
3764
|
-
subscriptionId: z.ZodNumber;
|
|
2958
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3765
2959
|
}, z.core.$strip>, z.ZodObject<{
|
|
3766
2960
|
action: z.ZodLiteral<"associationRemoved">;
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
associationType: z.ZodString;
|
|
3770
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
2961
|
+
associationCategory: z.ZodString;
|
|
2962
|
+
associationTypeId: z.ZodNumber;
|
|
3771
2963
|
fromObjectId: z.ZodString;
|
|
3772
|
-
fromObjectTypeId: z.
|
|
3773
|
-
|
|
2964
|
+
fromObjectTypeId: z.ZodString;
|
|
2965
|
+
isPrimary: z.ZodBoolean;
|
|
3774
2966
|
toObjectId: z.ZodString;
|
|
3775
|
-
toObjectTypeId: z.
|
|
3776
|
-
|
|
3777
|
-
attemptNumber: z.ZodNumber;
|
|
3778
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3779
|
-
eventId: z.ZodNumber;
|
|
2967
|
+
toObjectTypeId: z.ZodString;
|
|
2968
|
+
journalOffset: z.ZodString;
|
|
3780
2969
|
objectId: z.ZodString;
|
|
3781
2970
|
objectType: z.ZodEnum<{
|
|
3782
2971
|
contact: "contact";
|
|
@@ -3786,14 +2975,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
3786
2975
|
}>;
|
|
3787
2976
|
occurredAt: z.ZodDate;
|
|
3788
2977
|
portalId: z.ZodNumber;
|
|
3789
|
-
|
|
3790
|
-
subscriptionId: z.ZodNumber;
|
|
2978
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3791
2979
|
}, z.core.$strip>, z.ZodObject<{
|
|
3792
2980
|
action: z.ZodLiteral<"created">;
|
|
3793
|
-
|
|
3794
|
-
attemptNumber: z.ZodNumber;
|
|
3795
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3796
|
-
eventId: z.ZodNumber;
|
|
2981
|
+
journalOffset: z.ZodString;
|
|
3797
2982
|
objectId: z.ZodString;
|
|
3798
2983
|
objectType: z.ZodEnum<{
|
|
3799
2984
|
contact: "contact";
|
|
@@ -3803,14 +2988,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
3803
2988
|
}>;
|
|
3804
2989
|
occurredAt: z.ZodDate;
|
|
3805
2990
|
portalId: z.ZodNumber;
|
|
3806
|
-
|
|
3807
|
-
subscriptionId: z.ZodNumber;
|
|
2991
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3808
2992
|
}, z.core.$strip>, z.ZodObject<{
|
|
3809
2993
|
action: z.ZodLiteral<"deleted">;
|
|
3810
|
-
|
|
3811
|
-
attemptNumber: z.ZodNumber;
|
|
3812
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3813
|
-
eventId: z.ZodNumber;
|
|
2994
|
+
journalOffset: z.ZodString;
|
|
3814
2995
|
objectId: z.ZodString;
|
|
3815
2996
|
objectType: z.ZodEnum<{
|
|
3816
2997
|
contact: "contact";
|
|
@@ -3820,17 +3001,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
3820
3001
|
}>;
|
|
3821
3002
|
occurredAt: z.ZodDate;
|
|
3822
3003
|
portalId: z.ZodNumber;
|
|
3823
|
-
|
|
3824
|
-
subscriptionId: z.ZodNumber;
|
|
3004
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3825
3005
|
}, z.core.$strip>, z.ZodObject<{
|
|
3826
3006
|
action: z.ZodLiteral<"merged">;
|
|
3827
|
-
mergedObjectIds: z.ZodArray<z.ZodString
|
|
3828
|
-
newObjectId: z.ZodString
|
|
3007
|
+
mergedObjectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3008
|
+
newObjectId: z.ZodOptional<z.ZodString>;
|
|
3829
3009
|
numberOfPropertiesMoved: z.ZodOptional<z.ZodNumber>;
|
|
3830
|
-
|
|
3831
|
-
|
|
3832
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3833
|
-
eventId: z.ZodNumber;
|
|
3010
|
+
primaryObjectId: z.ZodOptional<z.ZodString>;
|
|
3011
|
+
journalOffset: z.ZodString;
|
|
3834
3012
|
objectId: z.ZodString;
|
|
3835
3013
|
objectType: z.ZodEnum<{
|
|
3836
3014
|
contact: "contact";
|
|
@@ -3840,16 +3018,11 @@ export declare const hubspotTriggerContracts: {
|
|
|
3840
3018
|
}>;
|
|
3841
3019
|
occurredAt: z.ZodDate;
|
|
3842
3020
|
portalId: z.ZodNumber;
|
|
3843
|
-
|
|
3844
|
-
subscriptionId: z.ZodNumber;
|
|
3021
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3845
3022
|
}, z.core.$strip>, z.ZodObject<{
|
|
3846
|
-
action: z.ZodLiteral<"
|
|
3847
|
-
|
|
3848
|
-
|
|
3849
|
-
appId: z.ZodOptional<z.ZodNumber>;
|
|
3850
|
-
attemptNumber: z.ZodNumber;
|
|
3851
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3852
|
-
eventId: z.ZodNumber;
|
|
3023
|
+
action: z.ZodLiteral<"updated">;
|
|
3024
|
+
propertyChanges: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
3025
|
+
journalOffset: z.ZodString;
|
|
3853
3026
|
objectId: z.ZodString;
|
|
3854
3027
|
objectType: z.ZodEnum<{
|
|
3855
3028
|
contact: "contact";
|
|
@@ -3859,14 +3032,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
3859
3032
|
}>;
|
|
3860
3033
|
occurredAt: z.ZodDate;
|
|
3861
3034
|
portalId: z.ZodNumber;
|
|
3862
|
-
|
|
3863
|
-
subscriptionId: z.ZodNumber;
|
|
3035
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3864
3036
|
}, z.core.$strip>, z.ZodObject<{
|
|
3865
3037
|
action: z.ZodLiteral<"restored">;
|
|
3866
|
-
|
|
3867
|
-
attemptNumber: z.ZodNumber;
|
|
3868
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3869
|
-
eventId: z.ZodNumber;
|
|
3038
|
+
journalOffset: z.ZodString;
|
|
3870
3039
|
objectId: z.ZodString;
|
|
3871
3040
|
objectType: z.ZodEnum<{
|
|
3872
3041
|
contact: "contact";
|
|
@@ -3876,8 +3045,7 @@ export declare const hubspotTriggerContracts: {
|
|
|
3876
3045
|
}>;
|
|
3877
3046
|
occurredAt: z.ZodDate;
|
|
3878
3047
|
portalId: z.ZodNumber;
|
|
3879
|
-
|
|
3880
|
-
subscriptionId: z.ZodNumber;
|
|
3048
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3881
3049
|
}, z.core.$strip>], "action">, z.ZodObject<{
|
|
3882
3050
|
action: z.ZodLiteral<"created">;
|
|
3883
3051
|
objectType: z.ZodLiteral<"ticket">;
|
|
@@ -3887,19 +3055,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
3887
3055
|
configSchema: z.ZodObject<{}, z.core.$strip>;
|
|
3888
3056
|
eventSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3889
3057
|
action: z.ZodLiteral<"associationAdded">;
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
associationType: z.ZodString;
|
|
3893
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
3058
|
+
associationCategory: z.ZodString;
|
|
3059
|
+
associationTypeId: z.ZodNumber;
|
|
3894
3060
|
fromObjectId: z.ZodString;
|
|
3895
|
-
fromObjectTypeId: z.
|
|
3896
|
-
|
|
3061
|
+
fromObjectTypeId: z.ZodString;
|
|
3062
|
+
isPrimary: z.ZodBoolean;
|
|
3897
3063
|
toObjectId: z.ZodString;
|
|
3898
|
-
toObjectTypeId: z.
|
|
3899
|
-
|
|
3900
|
-
attemptNumber: z.ZodNumber;
|
|
3901
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3902
|
-
eventId: z.ZodNumber;
|
|
3064
|
+
toObjectTypeId: z.ZodString;
|
|
3065
|
+
journalOffset: z.ZodString;
|
|
3903
3066
|
objectId: z.ZodString;
|
|
3904
3067
|
objectType: z.ZodEnum<{
|
|
3905
3068
|
contact: "contact";
|
|
@@ -3909,23 +3072,17 @@ export declare const hubspotTriggerContracts: {
|
|
|
3909
3072
|
}>;
|
|
3910
3073
|
occurredAt: z.ZodDate;
|
|
3911
3074
|
portalId: z.ZodNumber;
|
|
3912
|
-
|
|
3913
|
-
subscriptionId: z.ZodNumber;
|
|
3075
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3914
3076
|
}, z.core.$strip>, z.ZodObject<{
|
|
3915
3077
|
action: z.ZodLiteral<"associationRemoved">;
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
associationType: z.ZodString;
|
|
3919
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
3078
|
+
associationCategory: z.ZodString;
|
|
3079
|
+
associationTypeId: z.ZodNumber;
|
|
3920
3080
|
fromObjectId: z.ZodString;
|
|
3921
|
-
fromObjectTypeId: z.
|
|
3922
|
-
|
|
3081
|
+
fromObjectTypeId: z.ZodString;
|
|
3082
|
+
isPrimary: z.ZodBoolean;
|
|
3923
3083
|
toObjectId: z.ZodString;
|
|
3924
|
-
toObjectTypeId: z.
|
|
3925
|
-
|
|
3926
|
-
attemptNumber: z.ZodNumber;
|
|
3927
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3928
|
-
eventId: z.ZodNumber;
|
|
3084
|
+
toObjectTypeId: z.ZodString;
|
|
3085
|
+
journalOffset: z.ZodString;
|
|
3929
3086
|
objectId: z.ZodString;
|
|
3930
3087
|
objectType: z.ZodEnum<{
|
|
3931
3088
|
contact: "contact";
|
|
@@ -3935,14 +3092,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
3935
3092
|
}>;
|
|
3936
3093
|
occurredAt: z.ZodDate;
|
|
3937
3094
|
portalId: z.ZodNumber;
|
|
3938
|
-
|
|
3939
|
-
subscriptionId: z.ZodNumber;
|
|
3095
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3940
3096
|
}, z.core.$strip>, z.ZodObject<{
|
|
3941
3097
|
action: z.ZodLiteral<"created">;
|
|
3942
|
-
|
|
3943
|
-
attemptNumber: z.ZodNumber;
|
|
3944
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3945
|
-
eventId: z.ZodNumber;
|
|
3098
|
+
journalOffset: z.ZodString;
|
|
3946
3099
|
objectId: z.ZodString;
|
|
3947
3100
|
objectType: z.ZodEnum<{
|
|
3948
3101
|
contact: "contact";
|
|
@@ -3952,14 +3105,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
3952
3105
|
}>;
|
|
3953
3106
|
occurredAt: z.ZodDate;
|
|
3954
3107
|
portalId: z.ZodNumber;
|
|
3955
|
-
|
|
3956
|
-
subscriptionId: z.ZodNumber;
|
|
3108
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3957
3109
|
}, z.core.$strip>, z.ZodObject<{
|
|
3958
3110
|
action: z.ZodLiteral<"deleted">;
|
|
3959
|
-
|
|
3960
|
-
attemptNumber: z.ZodNumber;
|
|
3961
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3962
|
-
eventId: z.ZodNumber;
|
|
3111
|
+
journalOffset: z.ZodString;
|
|
3963
3112
|
objectId: z.ZodString;
|
|
3964
3113
|
objectType: z.ZodEnum<{
|
|
3965
3114
|
contact: "contact";
|
|
@@ -3969,17 +3118,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
3969
3118
|
}>;
|
|
3970
3119
|
occurredAt: z.ZodDate;
|
|
3971
3120
|
portalId: z.ZodNumber;
|
|
3972
|
-
|
|
3973
|
-
subscriptionId: z.ZodNumber;
|
|
3121
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3974
3122
|
}, z.core.$strip>, z.ZodObject<{
|
|
3975
3123
|
action: z.ZodLiteral<"merged">;
|
|
3976
|
-
mergedObjectIds: z.ZodArray<z.ZodString
|
|
3977
|
-
newObjectId: z.ZodString
|
|
3124
|
+
mergedObjectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3125
|
+
newObjectId: z.ZodOptional<z.ZodString>;
|
|
3978
3126
|
numberOfPropertiesMoved: z.ZodOptional<z.ZodNumber>;
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
3982
|
-
eventId: z.ZodNumber;
|
|
3127
|
+
primaryObjectId: z.ZodOptional<z.ZodString>;
|
|
3128
|
+
journalOffset: z.ZodString;
|
|
3983
3129
|
objectId: z.ZodString;
|
|
3984
3130
|
objectType: z.ZodEnum<{
|
|
3985
3131
|
contact: "contact";
|
|
@@ -3989,16 +3135,11 @@ export declare const hubspotTriggerContracts: {
|
|
|
3989
3135
|
}>;
|
|
3990
3136
|
occurredAt: z.ZodDate;
|
|
3991
3137
|
portalId: z.ZodNumber;
|
|
3992
|
-
|
|
3993
|
-
subscriptionId: z.ZodNumber;
|
|
3138
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
3994
3139
|
}, z.core.$strip>, z.ZodObject<{
|
|
3995
|
-
action: z.ZodLiteral<"
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
appId: z.ZodOptional<z.ZodNumber>;
|
|
3999
|
-
attemptNumber: z.ZodNumber;
|
|
4000
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
4001
|
-
eventId: z.ZodNumber;
|
|
3140
|
+
action: z.ZodLiteral<"updated">;
|
|
3141
|
+
propertyChanges: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
3142
|
+
journalOffset: z.ZodString;
|
|
4002
3143
|
objectId: z.ZodString;
|
|
4003
3144
|
objectType: z.ZodEnum<{
|
|
4004
3145
|
contact: "contact";
|
|
@@ -4008,14 +3149,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
4008
3149
|
}>;
|
|
4009
3150
|
occurredAt: z.ZodDate;
|
|
4010
3151
|
portalId: z.ZodNumber;
|
|
4011
|
-
|
|
4012
|
-
subscriptionId: z.ZodNumber;
|
|
3152
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
4013
3153
|
}, z.core.$strip>, z.ZodObject<{
|
|
4014
3154
|
action: z.ZodLiteral<"restored">;
|
|
4015
|
-
|
|
4016
|
-
attemptNumber: z.ZodNumber;
|
|
4017
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
4018
|
-
eventId: z.ZodNumber;
|
|
3155
|
+
journalOffset: z.ZodString;
|
|
4019
3156
|
objectId: z.ZodString;
|
|
4020
3157
|
objectType: z.ZodEnum<{
|
|
4021
3158
|
contact: "contact";
|
|
@@ -4025,8 +3162,7 @@ export declare const hubspotTriggerContracts: {
|
|
|
4025
3162
|
}>;
|
|
4026
3163
|
occurredAt: z.ZodDate;
|
|
4027
3164
|
portalId: z.ZodNumber;
|
|
4028
|
-
|
|
4029
|
-
subscriptionId: z.ZodNumber;
|
|
3165
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
4030
3166
|
}, z.core.$strip>], "action">, z.ZodObject<{
|
|
4031
3167
|
action: z.ZodLiteral<"deleted">;
|
|
4032
3168
|
objectType: z.ZodLiteral<"ticket">;
|
|
@@ -4036,19 +3172,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
4036
3172
|
configSchema: z.ZodObject<{}, z.core.$strip>;
|
|
4037
3173
|
eventSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4038
3174
|
action: z.ZodLiteral<"associationAdded">;
|
|
4039
|
-
|
|
4040
|
-
|
|
4041
|
-
associationType: z.ZodString;
|
|
4042
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
3175
|
+
associationCategory: z.ZodString;
|
|
3176
|
+
associationTypeId: z.ZodNumber;
|
|
4043
3177
|
fromObjectId: z.ZodString;
|
|
4044
|
-
fromObjectTypeId: z.
|
|
4045
|
-
|
|
3178
|
+
fromObjectTypeId: z.ZodString;
|
|
3179
|
+
isPrimary: z.ZodBoolean;
|
|
4046
3180
|
toObjectId: z.ZodString;
|
|
4047
|
-
toObjectTypeId: z.
|
|
4048
|
-
|
|
4049
|
-
attemptNumber: z.ZodNumber;
|
|
4050
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
4051
|
-
eventId: z.ZodNumber;
|
|
3181
|
+
toObjectTypeId: z.ZodString;
|
|
3182
|
+
journalOffset: z.ZodString;
|
|
4052
3183
|
objectId: z.ZodString;
|
|
4053
3184
|
objectType: z.ZodEnum<{
|
|
4054
3185
|
contact: "contact";
|
|
@@ -4058,23 +3189,17 @@ export declare const hubspotTriggerContracts: {
|
|
|
4058
3189
|
}>;
|
|
4059
3190
|
occurredAt: z.ZodDate;
|
|
4060
3191
|
portalId: z.ZodNumber;
|
|
4061
|
-
|
|
4062
|
-
subscriptionId: z.ZodNumber;
|
|
3192
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
4063
3193
|
}, z.core.$strip>, z.ZodObject<{
|
|
4064
3194
|
action: z.ZodLiteral<"associationRemoved">;
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
associationType: z.ZodString;
|
|
4068
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
3195
|
+
associationCategory: z.ZodString;
|
|
3196
|
+
associationTypeId: z.ZodNumber;
|
|
4069
3197
|
fromObjectId: z.ZodString;
|
|
4070
|
-
fromObjectTypeId: z.
|
|
4071
|
-
|
|
3198
|
+
fromObjectTypeId: z.ZodString;
|
|
3199
|
+
isPrimary: z.ZodBoolean;
|
|
4072
3200
|
toObjectId: z.ZodString;
|
|
4073
|
-
toObjectTypeId: z.
|
|
4074
|
-
|
|
4075
|
-
attemptNumber: z.ZodNumber;
|
|
4076
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
4077
|
-
eventId: z.ZodNumber;
|
|
3201
|
+
toObjectTypeId: z.ZodString;
|
|
3202
|
+
journalOffset: z.ZodString;
|
|
4078
3203
|
objectId: z.ZodString;
|
|
4079
3204
|
objectType: z.ZodEnum<{
|
|
4080
3205
|
contact: "contact";
|
|
@@ -4084,14 +3209,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
4084
3209
|
}>;
|
|
4085
3210
|
occurredAt: z.ZodDate;
|
|
4086
3211
|
portalId: z.ZodNumber;
|
|
4087
|
-
|
|
4088
|
-
subscriptionId: z.ZodNumber;
|
|
3212
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
4089
3213
|
}, z.core.$strip>, z.ZodObject<{
|
|
4090
3214
|
action: z.ZodLiteral<"created">;
|
|
4091
|
-
|
|
4092
|
-
attemptNumber: z.ZodNumber;
|
|
4093
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
4094
|
-
eventId: z.ZodNumber;
|
|
3215
|
+
journalOffset: z.ZodString;
|
|
4095
3216
|
objectId: z.ZodString;
|
|
4096
3217
|
objectType: z.ZodEnum<{
|
|
4097
3218
|
contact: "contact";
|
|
@@ -4101,14 +3222,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
4101
3222
|
}>;
|
|
4102
3223
|
occurredAt: z.ZodDate;
|
|
4103
3224
|
portalId: z.ZodNumber;
|
|
4104
|
-
|
|
4105
|
-
subscriptionId: z.ZodNumber;
|
|
3225
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
4106
3226
|
}, z.core.$strip>, z.ZodObject<{
|
|
4107
3227
|
action: z.ZodLiteral<"deleted">;
|
|
4108
|
-
|
|
4109
|
-
attemptNumber: z.ZodNumber;
|
|
4110
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
4111
|
-
eventId: z.ZodNumber;
|
|
3228
|
+
journalOffset: z.ZodString;
|
|
4112
3229
|
objectId: z.ZodString;
|
|
4113
3230
|
objectType: z.ZodEnum<{
|
|
4114
3231
|
contact: "contact";
|
|
@@ -4118,17 +3235,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
4118
3235
|
}>;
|
|
4119
3236
|
occurredAt: z.ZodDate;
|
|
4120
3237
|
portalId: z.ZodNumber;
|
|
4121
|
-
|
|
4122
|
-
subscriptionId: z.ZodNumber;
|
|
3238
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
4123
3239
|
}, z.core.$strip>, z.ZodObject<{
|
|
4124
3240
|
action: z.ZodLiteral<"merged">;
|
|
4125
|
-
mergedObjectIds: z.ZodArray<z.ZodString
|
|
4126
|
-
newObjectId: z.ZodString
|
|
3241
|
+
mergedObjectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3242
|
+
newObjectId: z.ZodOptional<z.ZodString>;
|
|
4127
3243
|
numberOfPropertiesMoved: z.ZodOptional<z.ZodNumber>;
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
4131
|
-
eventId: z.ZodNumber;
|
|
3244
|
+
primaryObjectId: z.ZodOptional<z.ZodString>;
|
|
3245
|
+
journalOffset: z.ZodString;
|
|
4132
3246
|
objectId: z.ZodString;
|
|
4133
3247
|
objectType: z.ZodEnum<{
|
|
4134
3248
|
contact: "contact";
|
|
@@ -4138,16 +3252,11 @@ export declare const hubspotTriggerContracts: {
|
|
|
4138
3252
|
}>;
|
|
4139
3253
|
occurredAt: z.ZodDate;
|
|
4140
3254
|
portalId: z.ZodNumber;
|
|
4141
|
-
|
|
4142
|
-
subscriptionId: z.ZodNumber;
|
|
3255
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
4143
3256
|
}, z.core.$strip>, z.ZodObject<{
|
|
4144
|
-
action: z.ZodLiteral<"
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
appId: z.ZodOptional<z.ZodNumber>;
|
|
4148
|
-
attemptNumber: z.ZodNumber;
|
|
4149
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
4150
|
-
eventId: z.ZodNumber;
|
|
3257
|
+
action: z.ZodLiteral<"updated">;
|
|
3258
|
+
propertyChanges: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
3259
|
+
journalOffset: z.ZodString;
|
|
4151
3260
|
objectId: z.ZodString;
|
|
4152
3261
|
objectType: z.ZodEnum<{
|
|
4153
3262
|
contact: "contact";
|
|
@@ -4157,14 +3266,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
4157
3266
|
}>;
|
|
4158
3267
|
occurredAt: z.ZodDate;
|
|
4159
3268
|
portalId: z.ZodNumber;
|
|
4160
|
-
|
|
4161
|
-
subscriptionId: z.ZodNumber;
|
|
3269
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
4162
3270
|
}, z.core.$strip>, z.ZodObject<{
|
|
4163
3271
|
action: z.ZodLiteral<"restored">;
|
|
4164
|
-
|
|
4165
|
-
attemptNumber: z.ZodNumber;
|
|
4166
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
4167
|
-
eventId: z.ZodNumber;
|
|
3272
|
+
journalOffset: z.ZodString;
|
|
4168
3273
|
objectId: z.ZodString;
|
|
4169
3274
|
objectType: z.ZodEnum<{
|
|
4170
3275
|
contact: "contact";
|
|
@@ -4174,30 +3279,24 @@ export declare const hubspotTriggerContracts: {
|
|
|
4174
3279
|
}>;
|
|
4175
3280
|
occurredAt: z.ZodDate;
|
|
4176
3281
|
portalId: z.ZodNumber;
|
|
4177
|
-
|
|
4178
|
-
subscriptionId: z.ZodNumber;
|
|
3282
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
4179
3283
|
}, z.core.$strip>], "action">, z.ZodObject<{
|
|
4180
3284
|
action: z.ZodLiteral<"merged">;
|
|
4181
3285
|
objectType: z.ZodLiteral<"ticket">;
|
|
4182
3286
|
}, z.core.$strip>>;
|
|
4183
3287
|
};
|
|
4184
|
-
"hubspot.ticket.
|
|
3288
|
+
"hubspot.ticket.restored": {
|
|
4185
3289
|
configSchema: z.ZodObject<{}, z.core.$strip>;
|
|
4186
3290
|
eventSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4187
3291
|
action: z.ZodLiteral<"associationAdded">;
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
associationType: z.ZodString;
|
|
4191
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
3292
|
+
associationCategory: z.ZodString;
|
|
3293
|
+
associationTypeId: z.ZodNumber;
|
|
4192
3294
|
fromObjectId: z.ZodString;
|
|
4193
|
-
fromObjectTypeId: z.
|
|
4194
|
-
|
|
3295
|
+
fromObjectTypeId: z.ZodString;
|
|
3296
|
+
isPrimary: z.ZodBoolean;
|
|
4195
3297
|
toObjectId: z.ZodString;
|
|
4196
|
-
toObjectTypeId: z.
|
|
4197
|
-
|
|
4198
|
-
attemptNumber: z.ZodNumber;
|
|
4199
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
4200
|
-
eventId: z.ZodNumber;
|
|
3298
|
+
toObjectTypeId: z.ZodString;
|
|
3299
|
+
journalOffset: z.ZodString;
|
|
4201
3300
|
objectId: z.ZodString;
|
|
4202
3301
|
objectType: z.ZodEnum<{
|
|
4203
3302
|
contact: "contact";
|
|
@@ -4207,23 +3306,17 @@ export declare const hubspotTriggerContracts: {
|
|
|
4207
3306
|
}>;
|
|
4208
3307
|
occurredAt: z.ZodDate;
|
|
4209
3308
|
portalId: z.ZodNumber;
|
|
4210
|
-
|
|
4211
|
-
subscriptionId: z.ZodNumber;
|
|
3309
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
4212
3310
|
}, z.core.$strip>, z.ZodObject<{
|
|
4213
3311
|
action: z.ZodLiteral<"associationRemoved">;
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
associationType: z.ZodString;
|
|
4217
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
3312
|
+
associationCategory: z.ZodString;
|
|
3313
|
+
associationTypeId: z.ZodNumber;
|
|
4218
3314
|
fromObjectId: z.ZodString;
|
|
4219
|
-
fromObjectTypeId: z.
|
|
4220
|
-
|
|
3315
|
+
fromObjectTypeId: z.ZodString;
|
|
3316
|
+
isPrimary: z.ZodBoolean;
|
|
4221
3317
|
toObjectId: z.ZodString;
|
|
4222
|
-
toObjectTypeId: z.
|
|
4223
|
-
|
|
4224
|
-
attemptNumber: z.ZodNumber;
|
|
4225
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
4226
|
-
eventId: z.ZodNumber;
|
|
3318
|
+
toObjectTypeId: z.ZodString;
|
|
3319
|
+
journalOffset: z.ZodString;
|
|
4227
3320
|
objectId: z.ZodString;
|
|
4228
3321
|
objectType: z.ZodEnum<{
|
|
4229
3322
|
contact: "contact";
|
|
@@ -4233,14 +3326,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
4233
3326
|
}>;
|
|
4234
3327
|
occurredAt: z.ZodDate;
|
|
4235
3328
|
portalId: z.ZodNumber;
|
|
4236
|
-
|
|
4237
|
-
subscriptionId: z.ZodNumber;
|
|
3329
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
4238
3330
|
}, z.core.$strip>, z.ZodObject<{
|
|
4239
3331
|
action: z.ZodLiteral<"created">;
|
|
4240
|
-
|
|
4241
|
-
attemptNumber: z.ZodNumber;
|
|
4242
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
4243
|
-
eventId: z.ZodNumber;
|
|
3332
|
+
journalOffset: z.ZodString;
|
|
4244
3333
|
objectId: z.ZodString;
|
|
4245
3334
|
objectType: z.ZodEnum<{
|
|
4246
3335
|
contact: "contact";
|
|
@@ -4250,14 +3339,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
4250
3339
|
}>;
|
|
4251
3340
|
occurredAt: z.ZodDate;
|
|
4252
3341
|
portalId: z.ZodNumber;
|
|
4253
|
-
|
|
4254
|
-
subscriptionId: z.ZodNumber;
|
|
3342
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
4255
3343
|
}, z.core.$strip>, z.ZodObject<{
|
|
4256
3344
|
action: z.ZodLiteral<"deleted">;
|
|
4257
|
-
|
|
4258
|
-
attemptNumber: z.ZodNumber;
|
|
4259
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
4260
|
-
eventId: z.ZodNumber;
|
|
3345
|
+
journalOffset: z.ZodString;
|
|
4261
3346
|
objectId: z.ZodString;
|
|
4262
3347
|
objectType: z.ZodEnum<{
|
|
4263
3348
|
contact: "contact";
|
|
@@ -4267,17 +3352,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
4267
3352
|
}>;
|
|
4268
3353
|
occurredAt: z.ZodDate;
|
|
4269
3354
|
portalId: z.ZodNumber;
|
|
4270
|
-
|
|
4271
|
-
subscriptionId: z.ZodNumber;
|
|
3355
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
4272
3356
|
}, z.core.$strip>, z.ZodObject<{
|
|
4273
3357
|
action: z.ZodLiteral<"merged">;
|
|
4274
|
-
mergedObjectIds: z.ZodArray<z.ZodString
|
|
4275
|
-
newObjectId: z.ZodString
|
|
3358
|
+
mergedObjectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3359
|
+
newObjectId: z.ZodOptional<z.ZodString>;
|
|
4276
3360
|
numberOfPropertiesMoved: z.ZodOptional<z.ZodNumber>;
|
|
4277
|
-
|
|
4278
|
-
|
|
4279
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
4280
|
-
eventId: z.ZodNumber;
|
|
3361
|
+
primaryObjectId: z.ZodOptional<z.ZodString>;
|
|
3362
|
+
journalOffset: z.ZodString;
|
|
4281
3363
|
objectId: z.ZodString;
|
|
4282
3364
|
objectType: z.ZodEnum<{
|
|
4283
3365
|
contact: "contact";
|
|
@@ -4287,16 +3369,11 @@ export declare const hubspotTriggerContracts: {
|
|
|
4287
3369
|
}>;
|
|
4288
3370
|
occurredAt: z.ZodDate;
|
|
4289
3371
|
portalId: z.ZodNumber;
|
|
4290
|
-
|
|
4291
|
-
subscriptionId: z.ZodNumber;
|
|
3372
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
4292
3373
|
}, z.core.$strip>, z.ZodObject<{
|
|
4293
|
-
action: z.ZodLiteral<"
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
appId: z.ZodOptional<z.ZodNumber>;
|
|
4297
|
-
attemptNumber: z.ZodNumber;
|
|
4298
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
4299
|
-
eventId: z.ZodNumber;
|
|
3374
|
+
action: z.ZodLiteral<"updated">;
|
|
3375
|
+
propertyChanges: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
3376
|
+
journalOffset: z.ZodString;
|
|
4300
3377
|
objectId: z.ZodString;
|
|
4301
3378
|
objectType: z.ZodEnum<{
|
|
4302
3379
|
contact: "contact";
|
|
@@ -4306,14 +3383,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
4306
3383
|
}>;
|
|
4307
3384
|
occurredAt: z.ZodDate;
|
|
4308
3385
|
portalId: z.ZodNumber;
|
|
4309
|
-
|
|
4310
|
-
subscriptionId: z.ZodNumber;
|
|
3386
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
4311
3387
|
}, z.core.$strip>, z.ZodObject<{
|
|
4312
3388
|
action: z.ZodLiteral<"restored">;
|
|
4313
|
-
|
|
4314
|
-
attemptNumber: z.ZodNumber;
|
|
4315
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
4316
|
-
eventId: z.ZodNumber;
|
|
3389
|
+
journalOffset: z.ZodString;
|
|
4317
3390
|
objectId: z.ZodString;
|
|
4318
3391
|
objectType: z.ZodEnum<{
|
|
4319
3392
|
contact: "contact";
|
|
@@ -4323,30 +3396,24 @@ export declare const hubspotTriggerContracts: {
|
|
|
4323
3396
|
}>;
|
|
4324
3397
|
occurredAt: z.ZodDate;
|
|
4325
3398
|
portalId: z.ZodNumber;
|
|
4326
|
-
|
|
4327
|
-
subscriptionId: z.ZodNumber;
|
|
3399
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
4328
3400
|
}, z.core.$strip>], "action">, z.ZodObject<{
|
|
4329
|
-
action: z.ZodLiteral<"
|
|
3401
|
+
action: z.ZodLiteral<"restored">;
|
|
4330
3402
|
objectType: z.ZodLiteral<"ticket">;
|
|
4331
3403
|
}, z.core.$strip>>;
|
|
4332
3404
|
};
|
|
4333
|
-
"hubspot.ticket.
|
|
3405
|
+
"hubspot.ticket.updated": {
|
|
4334
3406
|
configSchema: z.ZodObject<{}, z.core.$strip>;
|
|
4335
3407
|
eventSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4336
3408
|
action: z.ZodLiteral<"associationAdded">;
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
associationType: z.ZodString;
|
|
4340
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
3409
|
+
associationCategory: z.ZodString;
|
|
3410
|
+
associationTypeId: z.ZodNumber;
|
|
4341
3411
|
fromObjectId: z.ZodString;
|
|
4342
|
-
fromObjectTypeId: z.
|
|
4343
|
-
|
|
3412
|
+
fromObjectTypeId: z.ZodString;
|
|
3413
|
+
isPrimary: z.ZodBoolean;
|
|
4344
3414
|
toObjectId: z.ZodString;
|
|
4345
|
-
toObjectTypeId: z.
|
|
4346
|
-
|
|
4347
|
-
attemptNumber: z.ZodNumber;
|
|
4348
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
4349
|
-
eventId: z.ZodNumber;
|
|
3415
|
+
toObjectTypeId: z.ZodString;
|
|
3416
|
+
journalOffset: z.ZodString;
|
|
4350
3417
|
objectId: z.ZodString;
|
|
4351
3418
|
objectType: z.ZodEnum<{
|
|
4352
3419
|
contact: "contact";
|
|
@@ -4356,23 +3423,17 @@ export declare const hubspotTriggerContracts: {
|
|
|
4356
3423
|
}>;
|
|
4357
3424
|
occurredAt: z.ZodDate;
|
|
4358
3425
|
portalId: z.ZodNumber;
|
|
4359
|
-
|
|
4360
|
-
subscriptionId: z.ZodNumber;
|
|
3426
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
4361
3427
|
}, z.core.$strip>, z.ZodObject<{
|
|
4362
3428
|
action: z.ZodLiteral<"associationRemoved">;
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
associationType: z.ZodString;
|
|
4366
|
-
associationTypeId: z.ZodOptional<z.ZodNumber>;
|
|
3429
|
+
associationCategory: z.ZodString;
|
|
3430
|
+
associationTypeId: z.ZodNumber;
|
|
4367
3431
|
fromObjectId: z.ZodString;
|
|
4368
|
-
fromObjectTypeId: z.
|
|
4369
|
-
|
|
3432
|
+
fromObjectTypeId: z.ZodString;
|
|
3433
|
+
isPrimary: z.ZodBoolean;
|
|
4370
3434
|
toObjectId: z.ZodString;
|
|
4371
|
-
toObjectTypeId: z.
|
|
4372
|
-
|
|
4373
|
-
attemptNumber: z.ZodNumber;
|
|
4374
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
4375
|
-
eventId: z.ZodNumber;
|
|
3435
|
+
toObjectTypeId: z.ZodString;
|
|
3436
|
+
journalOffset: z.ZodString;
|
|
4376
3437
|
objectId: z.ZodString;
|
|
4377
3438
|
objectType: z.ZodEnum<{
|
|
4378
3439
|
contact: "contact";
|
|
@@ -4382,14 +3443,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
4382
3443
|
}>;
|
|
4383
3444
|
occurredAt: z.ZodDate;
|
|
4384
3445
|
portalId: z.ZodNumber;
|
|
4385
|
-
|
|
4386
|
-
subscriptionId: z.ZodNumber;
|
|
3446
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
4387
3447
|
}, z.core.$strip>, z.ZodObject<{
|
|
4388
3448
|
action: z.ZodLiteral<"created">;
|
|
4389
|
-
|
|
4390
|
-
attemptNumber: z.ZodNumber;
|
|
4391
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
4392
|
-
eventId: z.ZodNumber;
|
|
3449
|
+
journalOffset: z.ZodString;
|
|
4393
3450
|
objectId: z.ZodString;
|
|
4394
3451
|
objectType: z.ZodEnum<{
|
|
4395
3452
|
contact: "contact";
|
|
@@ -4399,14 +3456,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
4399
3456
|
}>;
|
|
4400
3457
|
occurredAt: z.ZodDate;
|
|
4401
3458
|
portalId: z.ZodNumber;
|
|
4402
|
-
|
|
4403
|
-
subscriptionId: z.ZodNumber;
|
|
3459
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
4404
3460
|
}, z.core.$strip>, z.ZodObject<{
|
|
4405
3461
|
action: z.ZodLiteral<"deleted">;
|
|
4406
|
-
|
|
4407
|
-
attemptNumber: z.ZodNumber;
|
|
4408
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
4409
|
-
eventId: z.ZodNumber;
|
|
3462
|
+
journalOffset: z.ZodString;
|
|
4410
3463
|
objectId: z.ZodString;
|
|
4411
3464
|
objectType: z.ZodEnum<{
|
|
4412
3465
|
contact: "contact";
|
|
@@ -4416,17 +3469,14 @@ export declare const hubspotTriggerContracts: {
|
|
|
4416
3469
|
}>;
|
|
4417
3470
|
occurredAt: z.ZodDate;
|
|
4418
3471
|
portalId: z.ZodNumber;
|
|
4419
|
-
|
|
4420
|
-
subscriptionId: z.ZodNumber;
|
|
3472
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
4421
3473
|
}, z.core.$strip>, z.ZodObject<{
|
|
4422
3474
|
action: z.ZodLiteral<"merged">;
|
|
4423
|
-
mergedObjectIds: z.ZodArray<z.ZodString
|
|
4424
|
-
newObjectId: z.ZodString
|
|
3475
|
+
mergedObjectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3476
|
+
newObjectId: z.ZodOptional<z.ZodString>;
|
|
4425
3477
|
numberOfPropertiesMoved: z.ZodOptional<z.ZodNumber>;
|
|
4426
|
-
|
|
4427
|
-
|
|
4428
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
4429
|
-
eventId: z.ZodNumber;
|
|
3478
|
+
primaryObjectId: z.ZodOptional<z.ZodString>;
|
|
3479
|
+
journalOffset: z.ZodString;
|
|
4430
3480
|
objectId: z.ZodString;
|
|
4431
3481
|
objectType: z.ZodEnum<{
|
|
4432
3482
|
contact: "contact";
|
|
@@ -4436,16 +3486,11 @@ export declare const hubspotTriggerContracts: {
|
|
|
4436
3486
|
}>;
|
|
4437
3487
|
occurredAt: z.ZodDate;
|
|
4438
3488
|
portalId: z.ZodNumber;
|
|
4439
|
-
|
|
4440
|
-
subscriptionId: z.ZodNumber;
|
|
3489
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
4441
3490
|
}, z.core.$strip>, z.ZodObject<{
|
|
4442
|
-
action: z.ZodLiteral<"
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
appId: z.ZodOptional<z.ZodNumber>;
|
|
4446
|
-
attemptNumber: z.ZodNumber;
|
|
4447
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
4448
|
-
eventId: z.ZodNumber;
|
|
3491
|
+
action: z.ZodLiteral<"updated">;
|
|
3492
|
+
propertyChanges: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
3493
|
+
journalOffset: z.ZodString;
|
|
4449
3494
|
objectId: z.ZodString;
|
|
4450
3495
|
objectType: z.ZodEnum<{
|
|
4451
3496
|
contact: "contact";
|
|
@@ -4455,14 +3500,10 @@ export declare const hubspotTriggerContracts: {
|
|
|
4455
3500
|
}>;
|
|
4456
3501
|
occurredAt: z.ZodDate;
|
|
4457
3502
|
portalId: z.ZodNumber;
|
|
4458
|
-
|
|
4459
|
-
subscriptionId: z.ZodNumber;
|
|
3503
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
4460
3504
|
}, z.core.$strip>, z.ZodObject<{
|
|
4461
3505
|
action: z.ZodLiteral<"restored">;
|
|
4462
|
-
|
|
4463
|
-
attemptNumber: z.ZodNumber;
|
|
4464
|
-
changeSource: z.ZodOptional<z.ZodString>;
|
|
4465
|
-
eventId: z.ZodNumber;
|
|
3506
|
+
journalOffset: z.ZodString;
|
|
4466
3507
|
objectId: z.ZodString;
|
|
4467
3508
|
objectType: z.ZodEnum<{
|
|
4468
3509
|
contact: "contact";
|
|
@@ -4472,17 +3513,16 @@ export declare const hubspotTriggerContracts: {
|
|
|
4472
3513
|
}>;
|
|
4473
3514
|
occurredAt: z.ZodDate;
|
|
4474
3515
|
portalId: z.ZodNumber;
|
|
4475
|
-
|
|
4476
|
-
subscriptionId: z.ZodNumber;
|
|
3516
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
4477
3517
|
}, z.core.$strip>], "action">, z.ZodObject<{
|
|
4478
|
-
action: z.ZodLiteral<"
|
|
3518
|
+
action: z.ZodLiteral<"updated">;
|
|
4479
3519
|
objectType: z.ZodLiteral<"ticket">;
|
|
4480
3520
|
}, z.core.$strip>>;
|
|
4481
3521
|
};
|
|
4482
3522
|
};
|
|
4483
3523
|
/**
|
|
4484
|
-
* Returns broad and semantic event types for one normalized
|
|
3524
|
+
* Returns broad and semantic event types for one normalized Journal event.
|
|
4485
3525
|
*
|
|
4486
3526
|
* @param event - Normalized HubSpot CRM event.
|
|
4487
3527
|
*/
|
|
4488
|
-
export declare function getHubSpotEventTypes(event: HubSpotCrmEvent): readonly ["hubspot.contact.deleted" | "hubspot.contact.
|
|
3528
|
+
export declare function getHubSpotEventTypes(event: HubSpotCrmEvent): readonly ["hubspot.contact.deleted" | "hubspot.contact.updated" | "hubspot.contact.created" | "hubspot.contact.merged" | "hubspot.contact.associationAdded" | "hubspot.contact.associationRemoved" | "hubspot.contact.restored" | "hubspot.company.deleted" | "hubspot.company.updated" | "hubspot.company.created" | "hubspot.company.merged" | "hubspot.company.associationAdded" | "hubspot.company.associationRemoved" | "hubspot.company.restored" | "hubspot.deal.deleted" | "hubspot.deal.updated" | "hubspot.deal.created" | "hubspot.deal.merged" | "hubspot.deal.associationAdded" | "hubspot.deal.associationRemoved" | "hubspot.deal.restored" | "hubspot.ticket.deleted" | "hubspot.ticket.updated" | "hubspot.ticket.created" | "hubspot.ticket.merged" | "hubspot.ticket.associationAdded" | "hubspot.ticket.associationRemoved" | "hubspot.ticket.restored", "hubspot.crm.event"];
|