@uptiqai/integrations-sdk 1.0.21 → 1.0.22

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.
@@ -2,69 +2,73 @@
2
2
  * @nullable
3
3
  */
4
4
  export type WealthboxGetActivity200 = unknown | null;
5
- export type WealthboxGetActivityParams = {
6
- page?: number | null;
7
- per_page?: number | null;
5
+ export type WealthboxGetActivityBody = {
6
+ /** Integration user id for Wealthbox requests. */
7
+ userId: string;
8
8
  };
9
9
  /**
10
10
  * @nullable
11
11
  */
12
12
  export type WealthboxGetWorkflowTemplates200 = unknown | null;
13
- export type WealthboxGetWorkflowTemplatesParams = {
14
- page?: number | null;
15
- per_page?: number | null;
13
+ export type WealthboxGetWorkflowTemplatesBody = {
14
+ /** Integration user id for Wealthbox requests. */
15
+ userId: string;
16
16
  };
17
17
  /**
18
18
  * @nullable
19
19
  */
20
20
  export type WealthboxGetContactRoles200 = unknown | null;
21
- export type WealthboxGetContactRolesParams = {
22
- page?: number | null;
23
- per_page?: number | null;
21
+ export type WealthboxGetContactRolesBody = {
22
+ /** Integration user id for Wealthbox requests. */
23
+ userId: string;
24
24
  };
25
25
  /**
26
26
  * @nullable
27
27
  */
28
28
  export type WealthboxGetCustomFields200 = unknown | null;
29
- export type WealthboxGetCustomFieldsParams = {
30
- page?: number | null;
31
- per_page?: number | null;
29
+ export type WealthboxGetCustomFieldsBody = {
30
+ /** Integration user id for Wealthbox requests. */
31
+ userId: string;
32
32
  };
33
33
  /**
34
34
  * @nullable
35
35
  */
36
36
  export type WealthboxGetTags200 = unknown | null;
37
- export type WealthboxGetTagsParams = {
38
- page?: number | null;
39
- per_page?: number | null;
37
+ export type WealthboxGetTagsBody = {
38
+ /** Integration user id for Wealthbox requests. */
39
+ userId: string;
40
40
  };
41
41
  /**
42
42
  * @nullable
43
43
  */
44
44
  export type WealthboxGetTeams200 = unknown | null;
45
- export type WealthboxGetTeamsParams = {
46
- page?: number | null;
47
- per_page?: number | null;
45
+ export type WealthboxGetTeamsBody = {
46
+ /** Integration user id for Wealthbox requests. */
47
+ userId: string;
48
48
  };
49
49
  /**
50
50
  * @nullable
51
51
  */
52
52
  export type WealthboxGetUsers200 = unknown | null;
53
- export type WealthboxGetUsersParams = {
54
- page?: number | null;
55
- per_page?: number | null;
53
+ export type WealthboxGetUsersBody = {
54
+ /** Integration user id for Wealthbox requests. */
55
+ userId: string;
56
56
  };
57
57
  /**
58
58
  * @nullable
59
59
  */
60
60
  export type WealthboxGetMe200 = unknown | null;
61
+ export type WealthboxGetMeBody = {
62
+ /** Integration user id for Wealthbox requests. */
63
+ userId: string;
64
+ };
61
65
  export type WealthboxRemoveHouseholdMemberBody = {
62
66
  /** Household ID */
63
67
  householdId: string;
64
68
  /** Member ID to remove */
65
69
  memberId: string;
66
- /** Required when the Wealthbox integration config type is PerUser. */
67
- userId?: string;
70
+ /** Integration user id for Wealthbox requests. */
71
+ userId: string;
68
72
  };
69
73
  /**
70
74
  * @nullable
@@ -73,8 +77,8 @@ export type WealthboxAddHouseholdMember201 = unknown | null;
73
77
  export type WealthboxAddHouseholdMemberBodyAllOfTwo = {
74
78
  /** Household ID */
75
79
  householdId: string;
76
- /** Required when the Wealthbox integration config type is PerUser. */
77
- userId?: string;
80
+ /** Integration user id for Wealthbox requests. */
81
+ userId: string;
78
82
  };
79
83
  export type WealthboxAddHouseholdMemberBodyAllOf = {
80
84
  [key: string]: unknown | null;
@@ -90,8 +94,8 @@ export type WealthboxRevertWorkflowStep200 = unknown | null;
90
94
  export type WealthboxRevertWorkflowStepBody = {
91
95
  /** Workflow step ID */
92
96
  stepId: string;
93
- /** Required when the Wealthbox integration config type is PerUser. */
94
- userId?: string;
97
+ /** Integration user id for Wealthbox requests. */
98
+ userId: string;
95
99
  };
96
100
  /**
97
101
  * @nullable
@@ -100,32 +104,22 @@ export type WealthboxCompleteWorkflowStep200 = unknown | null;
100
104
  export type WealthboxCompleteWorkflowStepBody = {
101
105
  /** Workflow step ID */
102
106
  stepId: string;
103
- /** Required when the Wealthbox integration config type is PerUser. */
104
- userId?: string;
107
+ /** Integration user id for Wealthbox requests. */
108
+ userId: string;
105
109
  };
106
110
  export type WealthboxDeleteWorkflowBody = {
107
111
  /** Resource ID to delete */
108
112
  id: string;
109
- /** Required when the Wealthbox integration config type is PerUser. */
110
- userId?: string;
111
- };
112
- /**
113
- * @nullable
114
- */
115
- export type WealthboxGetWorkflow200 = unknown | null;
116
- export type WealthboxGetWorkflowBody = {
117
- /** Resource ID */
118
- id: string;
119
- /** Required when the Wealthbox integration config type is PerUser. */
120
- userId?: string;
113
+ /** Integration user id for Wealthbox requests. */
114
+ userId: string;
121
115
  };
122
116
  /**
123
117
  * @nullable
124
118
  */
125
119
  export type WealthboxCreateWorkflow201 = unknown | null;
126
120
  export type WealthboxCreateWorkflowBodyAllOfTwo = {
127
- /** Required when the Wealthbox integration config type is PerUser. */
128
- userId?: string;
121
+ /** Integration user id for Wealthbox requests. */
122
+ userId: string;
129
123
  };
130
124
  export type WealthboxCreateWorkflowBodyAllOf = {
131
125
  [key: string]: unknown | null;
@@ -134,10 +128,24 @@ export type WealthboxCreateWorkflowBodyAllOf = {
134
128
  * Pass-through request payload for Wealthbox write endpoints
135
129
  */
136
130
  export type WealthboxCreateWorkflowBody = WealthboxCreateWorkflowBodyAllOf & WealthboxCreateWorkflowBodyAllOfTwo;
131
+ /**
132
+ * @nullable
133
+ */
134
+ export type WealthboxGetWorkflow200 = unknown | null;
135
+ export type WealthboxGetWorkflowBody = {
136
+ /** Resource ID */
137
+ id: string;
138
+ /** Integration user id for Wealthbox requests. */
139
+ userId: string;
140
+ };
137
141
  /**
138
142
  * @nullable
139
143
  */
140
144
  export type WealthboxGetWorkflows200 = unknown | null;
145
+ export type WealthboxGetWorkflowsBody = {
146
+ /** Integration user id for Wealthbox requests. */
147
+ userId: string;
148
+ };
141
149
  export type WealthboxGetWorkflowsParams = {
142
150
  page?: number | null;
143
151
  per_page?: number | null;
@@ -145,8 +153,8 @@ export type WealthboxGetWorkflowsParams = {
145
153
  export type WealthboxDeleteProjectBody = {
146
154
  /** Resource ID to delete */
147
155
  id: string;
148
- /** Required when the Wealthbox integration config type is PerUser. */
149
- userId?: string;
156
+ /** Integration user id for Wealthbox requests. */
157
+ userId: string;
150
158
  };
151
159
  /**
152
160
  * @nullable
@@ -155,8 +163,8 @@ export type WealthboxUpdateProject200 = unknown | null;
155
163
  export type WealthboxUpdateProjectBodyAllOfTwo = {
156
164
  /** Resource ID to update */
157
165
  id: string;
158
- /** Required when the Wealthbox integration config type is PerUser. */
159
- userId?: string;
166
+ /** Integration user id for Wealthbox requests. */
167
+ userId: string;
160
168
  };
161
169
  export type WealthboxUpdateProjectBodyAllOf = {
162
170
  [key: string]: unknown | null;
@@ -165,23 +173,13 @@ export type WealthboxUpdateProjectBodyAllOf = {
165
173
  * Update request payload with resource ID
166
174
  */
167
175
  export type WealthboxUpdateProjectBody = WealthboxUpdateProjectBodyAllOf & WealthboxUpdateProjectBodyAllOfTwo;
168
- /**
169
- * @nullable
170
- */
171
- export type WealthboxGetProject200 = unknown | null;
172
- export type WealthboxGetProjectBody = {
173
- /** Resource ID */
174
- id: string;
175
- /** Required when the Wealthbox integration config type is PerUser. */
176
- userId?: string;
177
- };
178
176
  /**
179
177
  * @nullable
180
178
  */
181
179
  export type WealthboxCreateProject201 = unknown | null;
182
180
  export type WealthboxCreateProjectBodyAllOfTwo = {
183
- /** Required when the Wealthbox integration config type is PerUser. */
184
- userId?: string;
181
+ /** Integration user id for Wealthbox requests. */
182
+ userId: string;
185
183
  };
186
184
  export type WealthboxCreateProjectBodyAllOf = {
187
185
  [key: string]: unknown | null;
@@ -190,10 +188,24 @@ export type WealthboxCreateProjectBodyAllOf = {
190
188
  * Pass-through request payload for Wealthbox write endpoints
191
189
  */
192
190
  export type WealthboxCreateProjectBody = WealthboxCreateProjectBodyAllOf & WealthboxCreateProjectBodyAllOfTwo;
191
+ /**
192
+ * @nullable
193
+ */
194
+ export type WealthboxGetProject200 = unknown | null;
195
+ export type WealthboxGetProjectBody = {
196
+ /** Resource ID */
197
+ id: string;
198
+ /** Integration user id for Wealthbox requests. */
199
+ userId: string;
200
+ };
193
201
  /**
194
202
  * @nullable
195
203
  */
196
204
  export type WealthboxGetProjects200 = unknown | null;
205
+ export type WealthboxGetProjectsBody = {
206
+ /** Integration user id for Wealthbox requests. */
207
+ userId: string;
208
+ };
197
209
  export type WealthboxGetProjectsParams = {
198
210
  page?: number | null;
199
211
  per_page?: number | null;
@@ -205,8 +217,8 @@ export type WealthboxUpdateNote200 = unknown | null;
205
217
  export type WealthboxUpdateNoteBodyAllOfTwo = {
206
218
  /** Resource ID to update */
207
219
  id: string;
208
- /** Required when the Wealthbox integration config type is PerUser. */
209
- userId?: string;
220
+ /** Integration user id for Wealthbox requests. */
221
+ userId: string;
210
222
  };
211
223
  export type WealthboxUpdateNoteBodyAllOf = {
212
224
  [key: string]: unknown | null;
@@ -215,23 +227,13 @@ export type WealthboxUpdateNoteBodyAllOf = {
215
227
  * Update request payload with resource ID
216
228
  */
217
229
  export type WealthboxUpdateNoteBody = WealthboxUpdateNoteBodyAllOf & WealthboxUpdateNoteBodyAllOfTwo;
218
- /**
219
- * @nullable
220
- */
221
- export type WealthboxGetNote200 = unknown | null;
222
- export type WealthboxGetNoteBody = {
223
- /** Resource ID */
224
- id: string;
225
- /** Required when the Wealthbox integration config type is PerUser. */
226
- userId?: string;
227
- };
228
230
  /**
229
231
  * @nullable
230
232
  */
231
233
  export type WealthboxCreateNote201 = unknown | null;
232
234
  export type WealthboxCreateNoteBodyAllOfTwo = {
233
- /** Required when the Wealthbox integration config type is PerUser. */
234
- userId?: string;
235
+ /** Integration user id for Wealthbox requests. */
236
+ userId: string;
235
237
  };
236
238
  export type WealthboxCreateNoteBodyAllOf = {
237
239
  [key: string]: unknown | null;
@@ -240,10 +242,24 @@ export type WealthboxCreateNoteBodyAllOf = {
240
242
  * Pass-through request payload for Wealthbox write endpoints
241
243
  */
242
244
  export type WealthboxCreateNoteBody = WealthboxCreateNoteBodyAllOf & WealthboxCreateNoteBodyAllOfTwo;
245
+ /**
246
+ * @nullable
247
+ */
248
+ export type WealthboxGetNote200 = unknown | null;
249
+ export type WealthboxGetNoteBody = {
250
+ /** Resource ID */
251
+ id: string;
252
+ /** Integration user id for Wealthbox requests. */
253
+ userId: string;
254
+ };
243
255
  /**
244
256
  * @nullable
245
257
  */
246
258
  export type WealthboxGetNotes200 = unknown | null;
259
+ export type WealthboxGetNotesBody = {
260
+ /** Integration user id for Wealthbox requests. */
261
+ userId: string;
262
+ };
247
263
  export type WealthboxGetNotesParams = {
248
264
  page?: number | null;
249
265
  per_page?: number | null;
@@ -251,8 +267,8 @@ export type WealthboxGetNotesParams = {
251
267
  export type WealthboxDeleteOpportunityBody = {
252
268
  /** Resource ID to delete */
253
269
  id: string;
254
- /** Required when the Wealthbox integration config type is PerUser. */
255
- userId?: string;
270
+ /** Integration user id for Wealthbox requests. */
271
+ userId: string;
256
272
  };
257
273
  /**
258
274
  * @nullable
@@ -261,8 +277,8 @@ export type WealthboxUpdateOpportunity200 = unknown | null;
261
277
  export type WealthboxUpdateOpportunityBodyAllOfTwo = {
262
278
  /** Resource ID to update */
263
279
  id: string;
264
- /** Required when the Wealthbox integration config type is PerUser. */
265
- userId?: string;
280
+ /** Integration user id for Wealthbox requests. */
281
+ userId: string;
266
282
  };
267
283
  export type WealthboxUpdateOpportunityBodyAllOf = {
268
284
  [key: string]: unknown | null;
@@ -271,23 +287,13 @@ export type WealthboxUpdateOpportunityBodyAllOf = {
271
287
  * Update request payload with resource ID
272
288
  */
273
289
  export type WealthboxUpdateOpportunityBody = WealthboxUpdateOpportunityBodyAllOf & WealthboxUpdateOpportunityBodyAllOfTwo;
274
- /**
275
- * @nullable
276
- */
277
- export type WealthboxGetOpportunity200 = unknown | null;
278
- export type WealthboxGetOpportunityBody = {
279
- /** Resource ID */
280
- id: string;
281
- /** Required when the Wealthbox integration config type is PerUser. */
282
- userId?: string;
283
- };
284
290
  /**
285
291
  * @nullable
286
292
  */
287
293
  export type WealthboxCreateOpportunity201 = unknown | null;
288
294
  export type WealthboxCreateOpportunityBodyAllOfTwo = {
289
- /** Required when the Wealthbox integration config type is PerUser. */
290
- userId?: string;
295
+ /** Integration user id for Wealthbox requests. */
296
+ userId: string;
291
297
  };
292
298
  export type WealthboxCreateOpportunityBodyAllOf = {
293
299
  [key: string]: unknown | null;
@@ -296,10 +302,24 @@ export type WealthboxCreateOpportunityBodyAllOf = {
296
302
  * Pass-through request payload for Wealthbox write endpoints
297
303
  */
298
304
  export type WealthboxCreateOpportunityBody = WealthboxCreateOpportunityBodyAllOf & WealthboxCreateOpportunityBodyAllOfTwo;
305
+ /**
306
+ * @nullable
307
+ */
308
+ export type WealthboxGetOpportunity200 = unknown | null;
309
+ export type WealthboxGetOpportunityBody = {
310
+ /** Resource ID */
311
+ id: string;
312
+ /** Integration user id for Wealthbox requests. */
313
+ userId: string;
314
+ };
299
315
  /**
300
316
  * @nullable
301
317
  */
302
318
  export type WealthboxGetOpportunities200 = unknown | null;
319
+ export type WealthboxGetOpportunitiesBody = {
320
+ /** Integration user id for Wealthbox requests. */
321
+ userId: string;
322
+ };
303
323
  export type WealthboxGetOpportunitiesParams = {
304
324
  page?: number | null;
305
325
  per_page?: number | null;
@@ -307,8 +327,8 @@ export type WealthboxGetOpportunitiesParams = {
307
327
  export type WealthboxDeleteEventBody = {
308
328
  /** Resource ID to delete */
309
329
  id: string;
310
- /** Required when the Wealthbox integration config type is PerUser. */
311
- userId?: string;
330
+ /** Integration user id for Wealthbox requests. */
331
+ userId: string;
312
332
  };
313
333
  /**
314
334
  * @nullable
@@ -317,8 +337,8 @@ export type WealthboxUpdateEvent200 = unknown | null;
317
337
  export type WealthboxUpdateEventBodyAllOfTwo = {
318
338
  /** Resource ID to update */
319
339
  id: string;
320
- /** Required when the Wealthbox integration config type is PerUser. */
321
- userId?: string;
340
+ /** Integration user id for Wealthbox requests. */
341
+ userId: string;
322
342
  };
323
343
  export type WealthboxUpdateEventBodyAllOf = {
324
344
  [key: string]: unknown | null;
@@ -327,23 +347,13 @@ export type WealthboxUpdateEventBodyAllOf = {
327
347
  * Update request payload with resource ID
328
348
  */
329
349
  export type WealthboxUpdateEventBody = WealthboxUpdateEventBodyAllOf & WealthboxUpdateEventBodyAllOfTwo;
330
- /**
331
- * @nullable
332
- */
333
- export type WealthboxGetEvent200 = unknown | null;
334
- export type WealthboxGetEventBody = {
335
- /** Resource ID */
336
- id: string;
337
- /** Required when the Wealthbox integration config type is PerUser. */
338
- userId?: string;
339
- };
340
350
  /**
341
351
  * @nullable
342
352
  */
343
353
  export type WealthboxCreateEvent201 = unknown | null;
344
354
  export type WealthboxCreateEventBodyAllOfTwo = {
345
- /** Required when the Wealthbox integration config type is PerUser. */
346
- userId?: string;
355
+ /** Integration user id for Wealthbox requests. */
356
+ userId: string;
347
357
  };
348
358
  export type WealthboxCreateEventBodyAllOf = {
349
359
  [key: string]: unknown | null;
@@ -352,10 +362,24 @@ export type WealthboxCreateEventBodyAllOf = {
352
362
  * Pass-through request payload for Wealthbox write endpoints
353
363
  */
354
364
  export type WealthboxCreateEventBody = WealthboxCreateEventBodyAllOf & WealthboxCreateEventBodyAllOfTwo;
365
+ /**
366
+ * @nullable
367
+ */
368
+ export type WealthboxGetEvent200 = unknown | null;
369
+ export type WealthboxGetEventBody = {
370
+ /** Resource ID */
371
+ id: string;
372
+ /** Integration user id for Wealthbox requests. */
373
+ userId: string;
374
+ };
355
375
  /**
356
376
  * @nullable
357
377
  */
358
378
  export type WealthboxGetEvents200 = unknown | null;
379
+ export type WealthboxGetEventsBody = {
380
+ /** Integration user id for Wealthbox requests. */
381
+ userId: string;
382
+ };
359
383
  export type WealthboxGetEventsParams = {
360
384
  page?: number | null;
361
385
  per_page?: number | null;
@@ -363,8 +387,8 @@ export type WealthboxGetEventsParams = {
363
387
  export type WealthboxDeleteTaskBody = {
364
388
  /** Resource ID to delete */
365
389
  id: string;
366
- /** Required when the Wealthbox integration config type is PerUser. */
367
- userId?: string;
390
+ /** Integration user id for Wealthbox requests. */
391
+ userId: string;
368
392
  };
369
393
  /**
370
394
  * @nullable
@@ -373,8 +397,8 @@ export type WealthboxUpdateTask200 = unknown | null;
373
397
  export type WealthboxUpdateTaskBodyAllOfTwo = {
374
398
  /** Resource ID to update */
375
399
  id: string;
376
- /** Required when the Wealthbox integration config type is PerUser. */
377
- userId?: string;
400
+ /** Integration user id for Wealthbox requests. */
401
+ userId: string;
378
402
  };
379
403
  export type WealthboxUpdateTaskBodyAllOf = {
380
404
  [key: string]: unknown | null;
@@ -383,23 +407,13 @@ export type WealthboxUpdateTaskBodyAllOf = {
383
407
  * Update request payload with resource ID
384
408
  */
385
409
  export type WealthboxUpdateTaskBody = WealthboxUpdateTaskBodyAllOf & WealthboxUpdateTaskBodyAllOfTwo;
386
- /**
387
- * @nullable
388
- */
389
- export type WealthboxGetTask200 = unknown | null;
390
- export type WealthboxGetTaskBody = {
391
- /** Resource ID */
392
- id: string;
393
- /** Required when the Wealthbox integration config type is PerUser. */
394
- userId?: string;
395
- };
396
410
  /**
397
411
  * @nullable
398
412
  */
399
413
  export type WealthboxCreateTask201 = unknown | null;
400
414
  export type WealthboxCreateTaskBodyAllOfTwo = {
401
- /** Required when the Wealthbox integration config type is PerUser. */
402
- userId?: string;
415
+ /** Integration user id for Wealthbox requests. */
416
+ userId: string;
403
417
  };
404
418
  export type WealthboxCreateTaskBodyAllOf = {
405
419
  [key: string]: unknown | null;
@@ -408,10 +422,24 @@ export type WealthboxCreateTaskBodyAllOf = {
408
422
  * Pass-through request payload for Wealthbox write endpoints
409
423
  */
410
424
  export type WealthboxCreateTaskBody = WealthboxCreateTaskBodyAllOf & WealthboxCreateTaskBodyAllOfTwo;
425
+ /**
426
+ * @nullable
427
+ */
428
+ export type WealthboxGetTask200 = unknown | null;
429
+ export type WealthboxGetTaskBody = {
430
+ /** Resource ID */
431
+ id: string;
432
+ /** Integration user id for Wealthbox requests. */
433
+ userId: string;
434
+ };
411
435
  /**
412
436
  * @nullable
413
437
  */
414
438
  export type WealthboxGetTasks200 = unknown | null;
439
+ export type WealthboxGetTasksBody = {
440
+ /** Integration user id for Wealthbox requests. */
441
+ userId: string;
442
+ };
415
443
  export type WealthboxGetTasksParams = {
416
444
  page?: number | null;
417
445
  per_page?: number | null;
@@ -419,8 +447,8 @@ export type WealthboxGetTasksParams = {
419
447
  export type WealthboxDeleteContactBody = {
420
448
  /** Resource ID to delete */
421
449
  id: string;
422
- /** Required when the Wealthbox integration config type is PerUser. */
423
- userId?: string;
450
+ /** Integration user id for Wealthbox requests. */
451
+ userId: string;
424
452
  };
425
453
  /**
426
454
  * @nullable
@@ -429,8 +457,8 @@ export type WealthboxUpdateContact200 = unknown | null;
429
457
  export type WealthboxUpdateContactBodyAllOfTwo = {
430
458
  /** Resource ID to update */
431
459
  id: string;
432
- /** Required when the Wealthbox integration config type is PerUser. */
433
- userId?: string;
460
+ /** Integration user id for Wealthbox requests. */
461
+ userId: string;
434
462
  };
435
463
  export type WealthboxUpdateContactBodyAllOf = {
436
464
  [key: string]: unknown | null;
@@ -439,23 +467,13 @@ export type WealthboxUpdateContactBodyAllOf = {
439
467
  * Update request payload with resource ID
440
468
  */
441
469
  export type WealthboxUpdateContactBody = WealthboxUpdateContactBodyAllOf & WealthboxUpdateContactBodyAllOfTwo;
442
- /**
443
- * @nullable
444
- */
445
- export type WealthboxGetContact200 = unknown | null;
446
- export type WealthboxGetContactBody = {
447
- /** Resource ID */
448
- id: string;
449
- /** Required when the Wealthbox integration config type is PerUser. */
450
- userId?: string;
451
- };
452
470
  /**
453
471
  * @nullable
454
472
  */
455
473
  export type WealthboxCreateContact201 = unknown | null;
456
474
  export type WealthboxCreateContactBodyAllOfTwo = {
457
- /** Required when the Wealthbox integration config type is PerUser. */
458
- userId?: string;
475
+ /** Integration user id for Wealthbox requests. */
476
+ userId: string;
459
477
  };
460
478
  export type WealthboxCreateContactBodyAllOf = {
461
479
  [key: string]: unknown | null;
@@ -464,10 +482,24 @@ export type WealthboxCreateContactBodyAllOf = {
464
482
  * Pass-through request payload for Wealthbox write endpoints
465
483
  */
466
484
  export type WealthboxCreateContactBody = WealthboxCreateContactBodyAllOf & WealthboxCreateContactBodyAllOfTwo;
485
+ /**
486
+ * @nullable
487
+ */
488
+ export type WealthboxGetContact200 = unknown | null;
489
+ export type WealthboxGetContactBody = {
490
+ /** Resource ID */
491
+ id: string;
492
+ /** Integration user id for Wealthbox requests. */
493
+ userId: string;
494
+ };
467
495
  /**
468
496
  * @nullable
469
497
  */
470
498
  export type WealthboxGetContacts200 = unknown | null;
499
+ export type WealthboxGetContactsBody = {
500
+ /** Integration user id for Wealthbox requests. */
501
+ userId: string;
502
+ };
471
503
  export type WealthboxGetContactsParams = {
472
504
  page?: number | null;
473
505
  per_page?: number | null;
@@ -693,31 +725,80 @@ export type ResendSetUserCredentialsBody = {
693
725
  * @nullable
694
726
  */
695
727
  export type GetAccountDetails200 = unknown | null;
728
+ export type GetAccountDetailsBody = {
729
+ /**
730
+ * Redtail account identifier
731
+ * @minLength 1
732
+ */
733
+ accountId: string;
734
+ /** Integration user id for Redtail requests. */
735
+ userId: string;
736
+ };
696
737
  /**
697
738
  * Raw response payload from Redtail API
698
739
  * @nullable
699
740
  */
700
741
  export type GetAccountOwners200 = unknown | null;
742
+ export type GetAccountOwnersBody = {
743
+ /**
744
+ * Redtail account identifier
745
+ * @minLength 1
746
+ */
747
+ accountId: string;
748
+ /** Integration user id for Redtail requests. */
749
+ userId: string;
750
+ };
701
751
  /**
702
752
  * Raw response payload from Redtail API
703
753
  * @nullable
704
754
  */
705
755
  export type GetContactAccounts200 = unknown | null;
756
+ export type GetContactAccountsBody = {
757
+ /**
758
+ * Redtail contact identifier
759
+ * @minLength 1
760
+ */
761
+ contactId: string;
762
+ /** Integration user id for Redtail requests. */
763
+ userId: string;
764
+ };
706
765
  /**
707
766
  * Raw response payload from Redtail API
708
767
  * @nullable
709
768
  */
710
769
  export type GetContactPersonalProfile200 = unknown | null;
770
+ export type GetContactPersonalProfileBody = {
771
+ /**
772
+ * Redtail contact identifier
773
+ * @minLength 1
774
+ */
775
+ contactId: string;
776
+ /** Integration user id for Redtail requests. */
777
+ userId: string;
778
+ };
711
779
  /**
712
780
  * Raw response payload from Redtail API
713
781
  * @nullable
714
782
  */
715
783
  export type GetContact200 = unknown | null;
784
+ export type GetContactBody = {
785
+ /**
786
+ * Redtail contact identifier
787
+ * @minLength 1
788
+ */
789
+ contactId: string;
790
+ /** Integration user id for Redtail requests. */
791
+ userId: string;
792
+ };
716
793
  /**
717
794
  * Raw response payload from Redtail API
718
795
  * @nullable
719
796
  */
720
797
  export type GetFamilies200 = unknown | null;
798
+ export type GetFamiliesBody = {
799
+ /** Integration user id for Redtail requests. */
800
+ userId: string;
801
+ };
721
802
  export type RedtailAuthenticate200 = {
722
803
  /** Integration user id after storing credentials */
723
804
  userId: string;
@@ -1868,12 +1949,12 @@ export declare const getIntegrationsAPI: () => {
1868
1949
  openaiCreateStream: (openaiCreateStreamBody: OpenaiCreateStreamBody) => Promise<string>;
1869
1950
  redtailSetUserCredentials: (redtailSetUserCredentialsBody: RedtailSetUserCredentialsBody) => Promise<RedtailSetUserCredentials200>;
1870
1951
  redtailAuthenticate: () => Promise<RedtailAuthenticate200>;
1871
- getFamilies: () => Promise<unknown>;
1872
- getContact: (contactId: string) => Promise<unknown>;
1873
- getContactPersonalProfile: (contactId: string) => Promise<unknown>;
1874
- getContactAccounts: (contactId: string) => Promise<unknown>;
1875
- getAccountOwners: (accountId: string) => Promise<unknown>;
1876
- getAccountDetails: (accountId: string) => Promise<unknown>;
1952
+ getFamilies: (getFamiliesBody: GetFamiliesBody) => Promise<unknown>;
1953
+ getContact: (getContactBody: GetContactBody) => Promise<unknown>;
1954
+ getContactPersonalProfile: (getContactPersonalProfileBody: GetContactPersonalProfileBody) => Promise<unknown>;
1955
+ getContactAccounts: (getContactAccountsBody: GetContactAccountsBody) => Promise<unknown>;
1956
+ getAccountOwners: (getAccountOwnersBody: GetAccountOwnersBody) => Promise<unknown>;
1957
+ getAccountDetails: (getAccountDetailsBody: GetAccountDetailsBody) => Promise<unknown>;
1877
1958
  resendSetUserCredentials: (resendSetUserCredentialsBody: ResendSetUserCredentialsBody) => Promise<ResendSetUserCredentials200>;
1878
1959
  resendSendEmail: (resendSendEmailBody: ResendSendEmailBody) => Promise<ResendSendEmail200>;
1879
1960
  stripeSetUserCredentials: (stripeSetUserCredentialsBody: StripeSetUserCredentialsBody) => Promise<StripeSetUserCredentials200>;
@@ -1883,51 +1964,51 @@ export declare const getIntegrationsAPI: () => {
1883
1964
  twilioWhatsappCreateMessage: (twilioWhatsappCreateMessageBody: TwilioWhatsappCreateMessageBody) => Promise<TwilioWhatsappCreateMessage200>;
1884
1965
  wealthboxOauthInitiate: (wealthboxOauthInitiateBody: WealthboxOauthInitiateBody) => Promise<WealthboxOauthInitiate200>;
1885
1966
  wealthboxOauthCallback: (params?: WealthboxOauthCallbackParams) => Promise<WealthboxOauthCallback200>;
1886
- wealthboxGetContacts: (params?: WealthboxGetContactsParams) => Promise<unknown>;
1887
- wealthboxCreateContact: (wealthboxCreateContactBody: WealthboxCreateContactBody) => Promise<unknown>;
1967
+ wealthboxGetContacts: (wealthboxGetContactsBody: WealthboxGetContactsBody, params?: WealthboxGetContactsParams) => Promise<unknown>;
1888
1968
  wealthboxGetContact: (wealthboxGetContactBody: WealthboxGetContactBody) => Promise<unknown>;
1969
+ wealthboxCreateContact: (wealthboxCreateContactBody: WealthboxCreateContactBody) => Promise<unknown>;
1889
1970
  wealthboxUpdateContact: (wealthboxUpdateContactBody: WealthboxUpdateContactBody) => Promise<unknown>;
1890
1971
  wealthboxDeleteContact: (wealthboxDeleteContactBody: WealthboxDeleteContactBody) => Promise<void>;
1891
- wealthboxGetTasks: (params?: WealthboxGetTasksParams) => Promise<unknown>;
1892
- wealthboxCreateTask: (wealthboxCreateTaskBody: WealthboxCreateTaskBody) => Promise<unknown>;
1972
+ wealthboxGetTasks: (wealthboxGetTasksBody: WealthboxGetTasksBody, params?: WealthboxGetTasksParams) => Promise<unknown>;
1893
1973
  wealthboxGetTask: (wealthboxGetTaskBody: WealthboxGetTaskBody) => Promise<unknown>;
1974
+ wealthboxCreateTask: (wealthboxCreateTaskBody: WealthboxCreateTaskBody) => Promise<unknown>;
1894
1975
  wealthboxUpdateTask: (wealthboxUpdateTaskBody: WealthboxUpdateTaskBody) => Promise<unknown>;
1895
1976
  wealthboxDeleteTask: (wealthboxDeleteTaskBody: WealthboxDeleteTaskBody) => Promise<void>;
1896
- wealthboxGetEvents: (params?: WealthboxGetEventsParams) => Promise<unknown>;
1897
- wealthboxCreateEvent: (wealthboxCreateEventBody: WealthboxCreateEventBody) => Promise<unknown>;
1977
+ wealthboxGetEvents: (wealthboxGetEventsBody: WealthboxGetEventsBody, params?: WealthboxGetEventsParams) => Promise<unknown>;
1898
1978
  wealthboxGetEvent: (wealthboxGetEventBody: WealthboxGetEventBody) => Promise<unknown>;
1979
+ wealthboxCreateEvent: (wealthboxCreateEventBody: WealthboxCreateEventBody) => Promise<unknown>;
1899
1980
  wealthboxUpdateEvent: (wealthboxUpdateEventBody: WealthboxUpdateEventBody) => Promise<unknown>;
1900
1981
  wealthboxDeleteEvent: (wealthboxDeleteEventBody: WealthboxDeleteEventBody) => Promise<void>;
1901
- wealthboxGetOpportunities: (params?: WealthboxGetOpportunitiesParams) => Promise<unknown>;
1902
- wealthboxCreateOpportunity: (wealthboxCreateOpportunityBody: WealthboxCreateOpportunityBody) => Promise<unknown>;
1982
+ wealthboxGetOpportunities: (wealthboxGetOpportunitiesBody: WealthboxGetOpportunitiesBody, params?: WealthboxGetOpportunitiesParams) => Promise<unknown>;
1903
1983
  wealthboxGetOpportunity: (wealthboxGetOpportunityBody: WealthboxGetOpportunityBody) => Promise<unknown>;
1984
+ wealthboxCreateOpportunity: (wealthboxCreateOpportunityBody: WealthboxCreateOpportunityBody) => Promise<unknown>;
1904
1985
  wealthboxUpdateOpportunity: (wealthboxUpdateOpportunityBody: WealthboxUpdateOpportunityBody) => Promise<unknown>;
1905
1986
  wealthboxDeleteOpportunity: (wealthboxDeleteOpportunityBody: WealthboxDeleteOpportunityBody) => Promise<void>;
1906
- wealthboxGetNotes: (params?: WealthboxGetNotesParams) => Promise<unknown>;
1907
- wealthboxCreateNote: (wealthboxCreateNoteBody: WealthboxCreateNoteBody) => Promise<unknown>;
1987
+ wealthboxGetNotes: (wealthboxGetNotesBody: WealthboxGetNotesBody, params?: WealthboxGetNotesParams) => Promise<unknown>;
1908
1988
  wealthboxGetNote: (wealthboxGetNoteBody: WealthboxGetNoteBody) => Promise<unknown>;
1989
+ wealthboxCreateNote: (wealthboxCreateNoteBody: WealthboxCreateNoteBody) => Promise<unknown>;
1909
1990
  wealthboxUpdateNote: (wealthboxUpdateNoteBody: WealthboxUpdateNoteBody) => Promise<unknown>;
1910
- wealthboxGetProjects: (params?: WealthboxGetProjectsParams) => Promise<unknown>;
1911
- wealthboxCreateProject: (wealthboxCreateProjectBody: WealthboxCreateProjectBody) => Promise<unknown>;
1991
+ wealthboxGetProjects: (wealthboxGetProjectsBody: WealthboxGetProjectsBody, params?: WealthboxGetProjectsParams) => Promise<unknown>;
1912
1992
  wealthboxGetProject: (wealthboxGetProjectBody: WealthboxGetProjectBody) => Promise<unknown>;
1993
+ wealthboxCreateProject: (wealthboxCreateProjectBody: WealthboxCreateProjectBody) => Promise<unknown>;
1913
1994
  wealthboxUpdateProject: (wealthboxUpdateProjectBody: WealthboxUpdateProjectBody) => Promise<unknown>;
1914
1995
  wealthboxDeleteProject: (wealthboxDeleteProjectBody: WealthboxDeleteProjectBody) => Promise<void>;
1915
- wealthboxGetWorkflows: (params?: WealthboxGetWorkflowsParams) => Promise<unknown>;
1916
- wealthboxCreateWorkflow: (wealthboxCreateWorkflowBody: WealthboxCreateWorkflowBody) => Promise<unknown>;
1996
+ wealthboxGetWorkflows: (wealthboxGetWorkflowsBody: WealthboxGetWorkflowsBody, params?: WealthboxGetWorkflowsParams) => Promise<unknown>;
1917
1997
  wealthboxGetWorkflow: (wealthboxGetWorkflowBody: WealthboxGetWorkflowBody) => Promise<unknown>;
1998
+ wealthboxCreateWorkflow: (wealthboxCreateWorkflowBody: WealthboxCreateWorkflowBody) => Promise<unknown>;
1918
1999
  wealthboxDeleteWorkflow: (wealthboxDeleteWorkflowBody: WealthboxDeleteWorkflowBody) => Promise<void>;
1919
2000
  wealthboxCompleteWorkflowStep: (wealthboxCompleteWorkflowStepBody: WealthboxCompleteWorkflowStepBody) => Promise<unknown>;
1920
2001
  wealthboxRevertWorkflowStep: (wealthboxRevertWorkflowStepBody: WealthboxRevertWorkflowStepBody) => Promise<unknown>;
1921
2002
  wealthboxAddHouseholdMember: (wealthboxAddHouseholdMemberBody: WealthboxAddHouseholdMemberBody) => Promise<unknown>;
1922
2003
  wealthboxRemoveHouseholdMember: (wealthboxRemoveHouseholdMemberBody: WealthboxRemoveHouseholdMemberBody) => Promise<void>;
1923
- wealthboxGetMe: () => Promise<unknown>;
1924
- wealthboxGetUsers: (params?: WealthboxGetUsersParams) => Promise<unknown>;
1925
- wealthboxGetTeams: (params?: WealthboxGetTeamsParams) => Promise<unknown>;
1926
- wealthboxGetTags: (params?: WealthboxGetTagsParams) => Promise<unknown>;
1927
- wealthboxGetCustomFields: (params?: WealthboxGetCustomFieldsParams) => Promise<unknown>;
1928
- wealthboxGetContactRoles: (params?: WealthboxGetContactRolesParams) => Promise<unknown>;
1929
- wealthboxGetWorkflowTemplates: (params?: WealthboxGetWorkflowTemplatesParams) => Promise<unknown>;
1930
- wealthboxGetActivity: (params?: WealthboxGetActivityParams) => Promise<unknown>;
2004
+ wealthboxGetMe: (wealthboxGetMeBody: WealthboxGetMeBody) => Promise<unknown>;
2005
+ wealthboxGetUsers: (wealthboxGetUsersBody: WealthboxGetUsersBody) => Promise<unknown>;
2006
+ wealthboxGetTeams: (wealthboxGetTeamsBody: WealthboxGetTeamsBody) => Promise<unknown>;
2007
+ wealthboxGetTags: (wealthboxGetTagsBody: WealthboxGetTagsBody) => Promise<unknown>;
2008
+ wealthboxGetCustomFields: (wealthboxGetCustomFieldsBody: WealthboxGetCustomFieldsBody) => Promise<unknown>;
2009
+ wealthboxGetContactRoles: (wealthboxGetContactRolesBody: WealthboxGetContactRolesBody) => Promise<unknown>;
2010
+ wealthboxGetWorkflowTemplates: (wealthboxGetWorkflowTemplatesBody: WealthboxGetWorkflowTemplatesBody) => Promise<unknown>;
2011
+ wealthboxGetActivity: (wealthboxGetActivityBody: WealthboxGetActivityBody) => Promise<unknown>;
1931
2012
  };
1932
2013
  export type AnthropicSetUserCredentialsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['anthropicSetUserCredentials']>>>;
1933
2014
  export type AnthropicGenerateTextResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['anthropicGenerateText']>>>;
@@ -1999,37 +2080,37 @@ export type TwilioWhatsappCreateMessageResult = NonNullable<Awaited<ReturnType<R
1999
2080
  export type WealthboxOauthInitiateResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxOauthInitiate']>>>;
2000
2081
  export type WealthboxOauthCallbackResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxOauthCallback']>>>;
2001
2082
  export type WealthboxGetContactsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxGetContacts']>>>;
2002
- export type WealthboxCreateContactResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxCreateContact']>>>;
2003
2083
  export type WealthboxGetContactResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxGetContact']>>>;
2084
+ export type WealthboxCreateContactResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxCreateContact']>>>;
2004
2085
  export type WealthboxUpdateContactResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxUpdateContact']>>>;
2005
2086
  export type WealthboxDeleteContactResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxDeleteContact']>>>;
2006
2087
  export type WealthboxGetTasksResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxGetTasks']>>>;
2007
- export type WealthboxCreateTaskResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxCreateTask']>>>;
2008
2088
  export type WealthboxGetTaskResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxGetTask']>>>;
2089
+ export type WealthboxCreateTaskResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxCreateTask']>>>;
2009
2090
  export type WealthboxUpdateTaskResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxUpdateTask']>>>;
2010
2091
  export type WealthboxDeleteTaskResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxDeleteTask']>>>;
2011
2092
  export type WealthboxGetEventsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxGetEvents']>>>;
2012
- export type WealthboxCreateEventResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxCreateEvent']>>>;
2013
2093
  export type WealthboxGetEventResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxGetEvent']>>>;
2094
+ export type WealthboxCreateEventResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxCreateEvent']>>>;
2014
2095
  export type WealthboxUpdateEventResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxUpdateEvent']>>>;
2015
2096
  export type WealthboxDeleteEventResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxDeleteEvent']>>>;
2016
2097
  export type WealthboxGetOpportunitiesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxGetOpportunities']>>>;
2017
- export type WealthboxCreateOpportunityResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxCreateOpportunity']>>>;
2018
2098
  export type WealthboxGetOpportunityResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxGetOpportunity']>>>;
2099
+ export type WealthboxCreateOpportunityResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxCreateOpportunity']>>>;
2019
2100
  export type WealthboxUpdateOpportunityResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxUpdateOpportunity']>>>;
2020
2101
  export type WealthboxDeleteOpportunityResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxDeleteOpportunity']>>>;
2021
2102
  export type WealthboxGetNotesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxGetNotes']>>>;
2022
- export type WealthboxCreateNoteResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxCreateNote']>>>;
2023
2103
  export type WealthboxGetNoteResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxGetNote']>>>;
2104
+ export type WealthboxCreateNoteResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxCreateNote']>>>;
2024
2105
  export type WealthboxUpdateNoteResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxUpdateNote']>>>;
2025
2106
  export type WealthboxGetProjectsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxGetProjects']>>>;
2026
- export type WealthboxCreateProjectResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxCreateProject']>>>;
2027
2107
  export type WealthboxGetProjectResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxGetProject']>>>;
2108
+ export type WealthboxCreateProjectResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxCreateProject']>>>;
2028
2109
  export type WealthboxUpdateProjectResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxUpdateProject']>>>;
2029
2110
  export type WealthboxDeleteProjectResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxDeleteProject']>>>;
2030
2111
  export type WealthboxGetWorkflowsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxGetWorkflows']>>>;
2031
- export type WealthboxCreateWorkflowResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxCreateWorkflow']>>>;
2032
2112
  export type WealthboxGetWorkflowResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxGetWorkflow']>>>;
2113
+ export type WealthboxCreateWorkflowResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxCreateWorkflow']>>>;
2033
2114
  export type WealthboxDeleteWorkflowResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxDeleteWorkflow']>>>;
2034
2115
  export type WealthboxCompleteWorkflowStepResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxCompleteWorkflowStep']>>>;
2035
2116
  export type WealthboxRevertWorkflowStepResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxRevertWorkflowStep']>>>;