@uptiqai/integrations-sdk 1.0.20 → 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,96 +2,124 @@
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
+ };
65
+ export type WealthboxRemoveHouseholdMemberBody = {
66
+ /** Household ID */
67
+ householdId: string;
68
+ /** Member ID to remove */
69
+ memberId: string;
70
+ /** Integration user id for Wealthbox requests. */
71
+ userId: string;
72
+ };
61
73
  /**
62
74
  * @nullable
63
75
  */
64
76
  export type WealthboxAddHouseholdMember201 = unknown | null;
65
77
  export type WealthboxAddHouseholdMemberBodyAllOfTwo = {
66
- /** Required when the Wealthbox integration config type is PerUser. */
67
- userId?: string;
78
+ /** Household ID */
79
+ householdId: string;
80
+ /** Integration user id for Wealthbox requests. */
81
+ userId: string;
68
82
  };
69
83
  export type WealthboxAddHouseholdMemberBodyAllOf = {
70
84
  [key: string]: unknown | null;
71
85
  };
72
86
  /**
73
- * Pass-through request payload for Wealthbox write endpoints
87
+ * Household member request payload
74
88
  */
75
89
  export type WealthboxAddHouseholdMemberBody = WealthboxAddHouseholdMemberBodyAllOf & WealthboxAddHouseholdMemberBodyAllOfTwo;
76
90
  /**
77
91
  * @nullable
78
92
  */
79
93
  export type WealthboxRevertWorkflowStep200 = unknown | null;
94
+ export type WealthboxRevertWorkflowStepBody = {
95
+ /** Workflow step ID */
96
+ stepId: string;
97
+ /** Integration user id for Wealthbox requests. */
98
+ userId: string;
99
+ };
80
100
  /**
81
101
  * @nullable
82
102
  */
83
103
  export type WealthboxCompleteWorkflowStep200 = unknown | null;
84
- /**
85
- * @nullable
86
- */
87
- export type WealthboxGetWorkflow200 = unknown | null;
104
+ export type WealthboxCompleteWorkflowStepBody = {
105
+ /** Workflow step ID */
106
+ stepId: string;
107
+ /** Integration user id for Wealthbox requests. */
108
+ userId: string;
109
+ };
110
+ export type WealthboxDeleteWorkflowBody = {
111
+ /** Resource ID to delete */
112
+ id: string;
113
+ /** Integration user id for Wealthbox requests. */
114
+ userId: string;
115
+ };
88
116
  /**
89
117
  * @nullable
90
118
  */
91
119
  export type WealthboxCreateWorkflow201 = unknown | null;
92
120
  export type WealthboxCreateWorkflowBodyAllOfTwo = {
93
- /** Required when the Wealthbox integration config type is PerUser. */
94
- userId?: string;
121
+ /** Integration user id for Wealthbox requests. */
122
+ userId: string;
95
123
  };
96
124
  export type WealthboxCreateWorkflowBodyAllOf = {
97
125
  [key: string]: unknown | null;
@@ -100,40 +128,58 @@ export type WealthboxCreateWorkflowBodyAllOf = {
100
128
  * Pass-through request payload for Wealthbox write endpoints
101
129
  */
102
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
+ };
103
141
  /**
104
142
  * @nullable
105
143
  */
106
144
  export type WealthboxGetWorkflows200 = unknown | null;
145
+ export type WealthboxGetWorkflowsBody = {
146
+ /** Integration user id for Wealthbox requests. */
147
+ userId: string;
148
+ };
107
149
  export type WealthboxGetWorkflowsParams = {
108
150
  page?: number | null;
109
151
  per_page?: number | null;
110
152
  };
153
+ export type WealthboxDeleteProjectBody = {
154
+ /** Resource ID to delete */
155
+ id: string;
156
+ /** Integration user id for Wealthbox requests. */
157
+ userId: string;
158
+ };
111
159
  /**
112
160
  * @nullable
113
161
  */
114
162
  export type WealthboxUpdateProject200 = unknown | null;
115
163
  export type WealthboxUpdateProjectBodyAllOfTwo = {
116
- /** Required when the Wealthbox integration config type is PerUser. */
117
- userId?: string;
164
+ /** Resource ID to update */
165
+ id: string;
166
+ /** Integration user id for Wealthbox requests. */
167
+ userId: string;
118
168
  };
119
169
  export type WealthboxUpdateProjectBodyAllOf = {
120
170
  [key: string]: unknown | null;
121
171
  };
122
172
  /**
123
- * Pass-through request payload for Wealthbox write endpoints
173
+ * Update request payload with resource ID
124
174
  */
125
175
  export type WealthboxUpdateProjectBody = WealthboxUpdateProjectBodyAllOf & WealthboxUpdateProjectBodyAllOfTwo;
126
- /**
127
- * @nullable
128
- */
129
- export type WealthboxGetProject200 = unknown | null;
130
176
  /**
131
177
  * @nullable
132
178
  */
133
179
  export type WealthboxCreateProject201 = unknown | null;
134
180
  export type WealthboxCreateProjectBodyAllOfTwo = {
135
- /** Required when the Wealthbox integration config type is PerUser. */
136
- userId?: string;
181
+ /** Integration user id for Wealthbox requests. */
182
+ userId: string;
137
183
  };
138
184
  export type WealthboxCreateProjectBodyAllOf = {
139
185
  [key: string]: unknown | null;
@@ -142,10 +188,24 @@ export type WealthboxCreateProjectBodyAllOf = {
142
188
  * Pass-through request payload for Wealthbox write endpoints
143
189
  */
144
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
+ };
145
201
  /**
146
202
  * @nullable
147
203
  */
148
204
  export type WealthboxGetProjects200 = unknown | null;
205
+ export type WealthboxGetProjectsBody = {
206
+ /** Integration user id for Wealthbox requests. */
207
+ userId: string;
208
+ };
149
209
  export type WealthboxGetProjectsParams = {
150
210
  page?: number | null;
151
211
  per_page?: number | null;
@@ -155,27 +215,25 @@ export type WealthboxGetProjectsParams = {
155
215
  */
156
216
  export type WealthboxUpdateNote200 = unknown | null;
157
217
  export type WealthboxUpdateNoteBodyAllOfTwo = {
158
- /** Required when the Wealthbox integration config type is PerUser. */
159
- userId?: string;
218
+ /** Resource ID to update */
219
+ id: string;
220
+ /** Integration user id for Wealthbox requests. */
221
+ userId: string;
160
222
  };
161
223
  export type WealthboxUpdateNoteBodyAllOf = {
162
224
  [key: string]: unknown | null;
163
225
  };
164
226
  /**
165
- * Pass-through request payload for Wealthbox write endpoints
227
+ * Update request payload with resource ID
166
228
  */
167
229
  export type WealthboxUpdateNoteBody = WealthboxUpdateNoteBodyAllOf & WealthboxUpdateNoteBodyAllOfTwo;
168
- /**
169
- * @nullable
170
- */
171
- export type WealthboxGetNote200 = unknown | null;
172
230
  /**
173
231
  * @nullable
174
232
  */
175
233
  export type WealthboxCreateNote201 = unknown | null;
176
234
  export type WealthboxCreateNoteBodyAllOfTwo = {
177
- /** Required when the Wealthbox integration config type is PerUser. */
178
- userId?: string;
235
+ /** Integration user id for Wealthbox requests. */
236
+ userId: string;
179
237
  };
180
238
  export type WealthboxCreateNoteBodyAllOf = {
181
239
  [key: string]: unknown | null;
@@ -184,40 +242,58 @@ export type WealthboxCreateNoteBodyAllOf = {
184
242
  * Pass-through request payload for Wealthbox write endpoints
185
243
  */
186
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
+ };
187
255
  /**
188
256
  * @nullable
189
257
  */
190
258
  export type WealthboxGetNotes200 = unknown | null;
259
+ export type WealthboxGetNotesBody = {
260
+ /** Integration user id for Wealthbox requests. */
261
+ userId: string;
262
+ };
191
263
  export type WealthboxGetNotesParams = {
192
264
  page?: number | null;
193
265
  per_page?: number | null;
194
266
  };
267
+ export type WealthboxDeleteOpportunityBody = {
268
+ /** Resource ID to delete */
269
+ id: string;
270
+ /** Integration user id for Wealthbox requests. */
271
+ userId: string;
272
+ };
195
273
  /**
196
274
  * @nullable
197
275
  */
198
276
  export type WealthboxUpdateOpportunity200 = unknown | null;
199
277
  export type WealthboxUpdateOpportunityBodyAllOfTwo = {
200
- /** Required when the Wealthbox integration config type is PerUser. */
201
- userId?: string;
278
+ /** Resource ID to update */
279
+ id: string;
280
+ /** Integration user id for Wealthbox requests. */
281
+ userId: string;
202
282
  };
203
283
  export type WealthboxUpdateOpportunityBodyAllOf = {
204
284
  [key: string]: unknown | null;
205
285
  };
206
286
  /**
207
- * Pass-through request payload for Wealthbox write endpoints
287
+ * Update request payload with resource ID
208
288
  */
209
289
  export type WealthboxUpdateOpportunityBody = WealthboxUpdateOpportunityBodyAllOf & WealthboxUpdateOpportunityBodyAllOfTwo;
210
- /**
211
- * @nullable
212
- */
213
- export type WealthboxGetOpportunity200 = unknown | null;
214
290
  /**
215
291
  * @nullable
216
292
  */
217
293
  export type WealthboxCreateOpportunity201 = unknown | null;
218
294
  export type WealthboxCreateOpportunityBodyAllOfTwo = {
219
- /** Required when the Wealthbox integration config type is PerUser. */
220
- userId?: string;
295
+ /** Integration user id for Wealthbox requests. */
296
+ userId: string;
221
297
  };
222
298
  export type WealthboxCreateOpportunityBodyAllOf = {
223
299
  [key: string]: unknown | null;
@@ -226,40 +302,58 @@ export type WealthboxCreateOpportunityBodyAllOf = {
226
302
  * Pass-through request payload for Wealthbox write endpoints
227
303
  */
228
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
+ };
229
315
  /**
230
316
  * @nullable
231
317
  */
232
318
  export type WealthboxGetOpportunities200 = unknown | null;
319
+ export type WealthboxGetOpportunitiesBody = {
320
+ /** Integration user id for Wealthbox requests. */
321
+ userId: string;
322
+ };
233
323
  export type WealthboxGetOpportunitiesParams = {
234
324
  page?: number | null;
235
325
  per_page?: number | null;
236
326
  };
327
+ export type WealthboxDeleteEventBody = {
328
+ /** Resource ID to delete */
329
+ id: string;
330
+ /** Integration user id for Wealthbox requests. */
331
+ userId: string;
332
+ };
237
333
  /**
238
334
  * @nullable
239
335
  */
240
336
  export type WealthboxUpdateEvent200 = unknown | null;
241
337
  export type WealthboxUpdateEventBodyAllOfTwo = {
242
- /** Required when the Wealthbox integration config type is PerUser. */
243
- userId?: string;
338
+ /** Resource ID to update */
339
+ id: string;
340
+ /** Integration user id for Wealthbox requests. */
341
+ userId: string;
244
342
  };
245
343
  export type WealthboxUpdateEventBodyAllOf = {
246
344
  [key: string]: unknown | null;
247
345
  };
248
346
  /**
249
- * Pass-through request payload for Wealthbox write endpoints
347
+ * Update request payload with resource ID
250
348
  */
251
349
  export type WealthboxUpdateEventBody = WealthboxUpdateEventBodyAllOf & WealthboxUpdateEventBodyAllOfTwo;
252
- /**
253
- * @nullable
254
- */
255
- export type WealthboxGetEvent200 = unknown | null;
256
350
  /**
257
351
  * @nullable
258
352
  */
259
353
  export type WealthboxCreateEvent201 = unknown | null;
260
354
  export type WealthboxCreateEventBodyAllOfTwo = {
261
- /** Required when the Wealthbox integration config type is PerUser. */
262
- userId?: string;
355
+ /** Integration user id for Wealthbox requests. */
356
+ userId: string;
263
357
  };
264
358
  export type WealthboxCreateEventBodyAllOf = {
265
359
  [key: string]: unknown | null;
@@ -268,40 +362,58 @@ export type WealthboxCreateEventBodyAllOf = {
268
362
  * Pass-through request payload for Wealthbox write endpoints
269
363
  */
270
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
+ };
271
375
  /**
272
376
  * @nullable
273
377
  */
274
378
  export type WealthboxGetEvents200 = unknown | null;
379
+ export type WealthboxGetEventsBody = {
380
+ /** Integration user id for Wealthbox requests. */
381
+ userId: string;
382
+ };
275
383
  export type WealthboxGetEventsParams = {
276
384
  page?: number | null;
277
385
  per_page?: number | null;
278
386
  };
387
+ export type WealthboxDeleteTaskBody = {
388
+ /** Resource ID to delete */
389
+ id: string;
390
+ /** Integration user id for Wealthbox requests. */
391
+ userId: string;
392
+ };
279
393
  /**
280
394
  * @nullable
281
395
  */
282
396
  export type WealthboxUpdateTask200 = unknown | null;
283
397
  export type WealthboxUpdateTaskBodyAllOfTwo = {
284
- /** Required when the Wealthbox integration config type is PerUser. */
285
- userId?: string;
398
+ /** Resource ID to update */
399
+ id: string;
400
+ /** Integration user id for Wealthbox requests. */
401
+ userId: string;
286
402
  };
287
403
  export type WealthboxUpdateTaskBodyAllOf = {
288
404
  [key: string]: unknown | null;
289
405
  };
290
406
  /**
291
- * Pass-through request payload for Wealthbox write endpoints
407
+ * Update request payload with resource ID
292
408
  */
293
409
  export type WealthboxUpdateTaskBody = WealthboxUpdateTaskBodyAllOf & WealthboxUpdateTaskBodyAllOfTwo;
294
- /**
295
- * @nullable
296
- */
297
- export type WealthboxGetTask200 = unknown | null;
298
410
  /**
299
411
  * @nullable
300
412
  */
301
413
  export type WealthboxCreateTask201 = unknown | null;
302
414
  export type WealthboxCreateTaskBodyAllOfTwo = {
303
- /** Required when the Wealthbox integration config type is PerUser. */
304
- userId?: string;
415
+ /** Integration user id for Wealthbox requests. */
416
+ userId: string;
305
417
  };
306
418
  export type WealthboxCreateTaskBodyAllOf = {
307
419
  [key: string]: unknown | null;
@@ -310,40 +422,58 @@ export type WealthboxCreateTaskBodyAllOf = {
310
422
  * Pass-through request payload for Wealthbox write endpoints
311
423
  */
312
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
+ };
313
435
  /**
314
436
  * @nullable
315
437
  */
316
438
  export type WealthboxGetTasks200 = unknown | null;
439
+ export type WealthboxGetTasksBody = {
440
+ /** Integration user id for Wealthbox requests. */
441
+ userId: string;
442
+ };
317
443
  export type WealthboxGetTasksParams = {
318
444
  page?: number | null;
319
445
  per_page?: number | null;
320
446
  };
447
+ export type WealthboxDeleteContactBody = {
448
+ /** Resource ID to delete */
449
+ id: string;
450
+ /** Integration user id for Wealthbox requests. */
451
+ userId: string;
452
+ };
321
453
  /**
322
454
  * @nullable
323
455
  */
324
456
  export type WealthboxUpdateContact200 = unknown | null;
325
457
  export type WealthboxUpdateContactBodyAllOfTwo = {
326
- /** Required when the Wealthbox integration config type is PerUser. */
327
- userId?: string;
458
+ /** Resource ID to update */
459
+ id: string;
460
+ /** Integration user id for Wealthbox requests. */
461
+ userId: string;
328
462
  };
329
463
  export type WealthboxUpdateContactBodyAllOf = {
330
464
  [key: string]: unknown | null;
331
465
  };
332
466
  /**
333
- * Pass-through request payload for Wealthbox write endpoints
467
+ * Update request payload with resource ID
334
468
  */
335
469
  export type WealthboxUpdateContactBody = WealthboxUpdateContactBodyAllOf & WealthboxUpdateContactBodyAllOfTwo;
336
- /**
337
- * @nullable
338
- */
339
- export type WealthboxGetContact200 = unknown | null;
340
470
  /**
341
471
  * @nullable
342
472
  */
343
473
  export type WealthboxCreateContact201 = unknown | null;
344
474
  export type WealthboxCreateContactBodyAllOfTwo = {
345
- /** Required when the Wealthbox integration config type is PerUser. */
346
- userId?: string;
475
+ /** Integration user id for Wealthbox requests. */
476
+ userId: string;
347
477
  };
348
478
  export type WealthboxCreateContactBodyAllOf = {
349
479
  [key: string]: unknown | null;
@@ -352,10 +482,24 @@ export type WealthboxCreateContactBodyAllOf = {
352
482
  * Pass-through request payload for Wealthbox write endpoints
353
483
  */
354
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
+ };
355
495
  /**
356
496
  * @nullable
357
497
  */
358
498
  export type WealthboxGetContacts200 = unknown | null;
499
+ export type WealthboxGetContactsBody = {
500
+ /** Integration user id for Wealthbox requests. */
501
+ userId: string;
502
+ };
359
503
  export type WealthboxGetContactsParams = {
360
504
  page?: number | null;
361
505
  per_page?: number | null;
@@ -581,31 +725,80 @@ export type ResendSetUserCredentialsBody = {
581
725
  * @nullable
582
726
  */
583
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
+ };
584
737
  /**
585
738
  * Raw response payload from Redtail API
586
739
  * @nullable
587
740
  */
588
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
+ };
589
751
  /**
590
752
  * Raw response payload from Redtail API
591
753
  * @nullable
592
754
  */
593
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
+ };
594
765
  /**
595
766
  * Raw response payload from Redtail API
596
767
  * @nullable
597
768
  */
598
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
+ };
599
779
  /**
600
780
  * Raw response payload from Redtail API
601
781
  * @nullable
602
782
  */
603
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
+ };
604
793
  /**
605
794
  * Raw response payload from Redtail API
606
795
  * @nullable
607
796
  */
608
797
  export type GetFamilies200 = unknown | null;
798
+ export type GetFamiliesBody = {
799
+ /** Integration user id for Redtail requests. */
800
+ userId: string;
801
+ };
609
802
  export type RedtailAuthenticate200 = {
610
803
  /** Integration user id after storing credentials */
611
804
  userId: string;
@@ -1756,12 +1949,12 @@ export declare const getIntegrationsAPI: () => {
1756
1949
  openaiCreateStream: (openaiCreateStreamBody: OpenaiCreateStreamBody) => Promise<string>;
1757
1950
  redtailSetUserCredentials: (redtailSetUserCredentialsBody: RedtailSetUserCredentialsBody) => Promise<RedtailSetUserCredentials200>;
1758
1951
  redtailAuthenticate: () => Promise<RedtailAuthenticate200>;
1759
- getFamilies: () => Promise<unknown>;
1760
- getContact: (contactId: string) => Promise<unknown>;
1761
- getContactPersonalProfile: (contactId: string) => Promise<unknown>;
1762
- getContactAccounts: (contactId: string) => Promise<unknown>;
1763
- getAccountOwners: (accountId: string) => Promise<unknown>;
1764
- 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>;
1765
1958
  resendSetUserCredentials: (resendSetUserCredentialsBody: ResendSetUserCredentialsBody) => Promise<ResendSetUserCredentials200>;
1766
1959
  resendSendEmail: (resendSendEmailBody: ResendSendEmailBody) => Promise<ResendSendEmail200>;
1767
1960
  stripeSetUserCredentials: (stripeSetUserCredentialsBody: StripeSetUserCredentialsBody) => Promise<StripeSetUserCredentials200>;
@@ -1771,51 +1964,51 @@ export declare const getIntegrationsAPI: () => {
1771
1964
  twilioWhatsappCreateMessage: (twilioWhatsappCreateMessageBody: TwilioWhatsappCreateMessageBody) => Promise<TwilioWhatsappCreateMessage200>;
1772
1965
  wealthboxOauthInitiate: (wealthboxOauthInitiateBody: WealthboxOauthInitiateBody) => Promise<WealthboxOauthInitiate200>;
1773
1966
  wealthboxOauthCallback: (params?: WealthboxOauthCallbackParams) => Promise<WealthboxOauthCallback200>;
1774
- wealthboxGetContacts: (params?: WealthboxGetContactsParams) => Promise<unknown>;
1967
+ wealthboxGetContacts: (wealthboxGetContactsBody: WealthboxGetContactsBody, params?: WealthboxGetContactsParams) => Promise<unknown>;
1968
+ wealthboxGetContact: (wealthboxGetContactBody: WealthboxGetContactBody) => Promise<unknown>;
1775
1969
  wealthboxCreateContact: (wealthboxCreateContactBody: WealthboxCreateContactBody) => Promise<unknown>;
1776
- wealthboxGetContact: (id: string) => Promise<unknown>;
1777
- wealthboxUpdateContact: (id: string, wealthboxUpdateContactBody: WealthboxUpdateContactBody) => Promise<unknown>;
1778
- wealthboxDeleteContact: (id: string) => Promise<void>;
1779
- wealthboxGetTasks: (params?: WealthboxGetTasksParams) => Promise<unknown>;
1970
+ wealthboxUpdateContact: (wealthboxUpdateContactBody: WealthboxUpdateContactBody) => Promise<unknown>;
1971
+ wealthboxDeleteContact: (wealthboxDeleteContactBody: WealthboxDeleteContactBody) => Promise<void>;
1972
+ wealthboxGetTasks: (wealthboxGetTasksBody: WealthboxGetTasksBody, params?: WealthboxGetTasksParams) => Promise<unknown>;
1973
+ wealthboxGetTask: (wealthboxGetTaskBody: WealthboxGetTaskBody) => Promise<unknown>;
1780
1974
  wealthboxCreateTask: (wealthboxCreateTaskBody: WealthboxCreateTaskBody) => Promise<unknown>;
1781
- wealthboxGetTask: (id: string) => Promise<unknown>;
1782
- wealthboxUpdateTask: (id: string, wealthboxUpdateTaskBody: WealthboxUpdateTaskBody) => Promise<unknown>;
1783
- wealthboxDeleteTask: (id: string) => Promise<void>;
1784
- wealthboxGetEvents: (params?: WealthboxGetEventsParams) => Promise<unknown>;
1975
+ wealthboxUpdateTask: (wealthboxUpdateTaskBody: WealthboxUpdateTaskBody) => Promise<unknown>;
1976
+ wealthboxDeleteTask: (wealthboxDeleteTaskBody: WealthboxDeleteTaskBody) => Promise<void>;
1977
+ wealthboxGetEvents: (wealthboxGetEventsBody: WealthboxGetEventsBody, params?: WealthboxGetEventsParams) => Promise<unknown>;
1978
+ wealthboxGetEvent: (wealthboxGetEventBody: WealthboxGetEventBody) => Promise<unknown>;
1785
1979
  wealthboxCreateEvent: (wealthboxCreateEventBody: WealthboxCreateEventBody) => Promise<unknown>;
1786
- wealthboxGetEvent: (id: string) => Promise<unknown>;
1787
- wealthboxUpdateEvent: (id: string, wealthboxUpdateEventBody: WealthboxUpdateEventBody) => Promise<unknown>;
1788
- wealthboxDeleteEvent: (id: string) => Promise<void>;
1789
- wealthboxGetOpportunities: (params?: WealthboxGetOpportunitiesParams) => Promise<unknown>;
1980
+ wealthboxUpdateEvent: (wealthboxUpdateEventBody: WealthboxUpdateEventBody) => Promise<unknown>;
1981
+ wealthboxDeleteEvent: (wealthboxDeleteEventBody: WealthboxDeleteEventBody) => Promise<void>;
1982
+ wealthboxGetOpportunities: (wealthboxGetOpportunitiesBody: WealthboxGetOpportunitiesBody, params?: WealthboxGetOpportunitiesParams) => Promise<unknown>;
1983
+ wealthboxGetOpportunity: (wealthboxGetOpportunityBody: WealthboxGetOpportunityBody) => Promise<unknown>;
1790
1984
  wealthboxCreateOpportunity: (wealthboxCreateOpportunityBody: WealthboxCreateOpportunityBody) => Promise<unknown>;
1791
- wealthboxGetOpportunity: (id: string) => Promise<unknown>;
1792
- wealthboxUpdateOpportunity: (id: string, wealthboxUpdateOpportunityBody: WealthboxUpdateOpportunityBody) => Promise<unknown>;
1793
- wealthboxDeleteOpportunity: (id: string) => Promise<void>;
1794
- wealthboxGetNotes: (params?: WealthboxGetNotesParams) => Promise<unknown>;
1985
+ wealthboxUpdateOpportunity: (wealthboxUpdateOpportunityBody: WealthboxUpdateOpportunityBody) => Promise<unknown>;
1986
+ wealthboxDeleteOpportunity: (wealthboxDeleteOpportunityBody: WealthboxDeleteOpportunityBody) => Promise<void>;
1987
+ wealthboxGetNotes: (wealthboxGetNotesBody: WealthboxGetNotesBody, params?: WealthboxGetNotesParams) => Promise<unknown>;
1988
+ wealthboxGetNote: (wealthboxGetNoteBody: WealthboxGetNoteBody) => Promise<unknown>;
1795
1989
  wealthboxCreateNote: (wealthboxCreateNoteBody: WealthboxCreateNoteBody) => Promise<unknown>;
1796
- wealthboxGetNote: (id: string) => Promise<unknown>;
1797
- wealthboxUpdateNote: (id: string, wealthboxUpdateNoteBody: WealthboxUpdateNoteBody) => Promise<unknown>;
1798
- wealthboxGetProjects: (params?: WealthboxGetProjectsParams) => Promise<unknown>;
1990
+ wealthboxUpdateNote: (wealthboxUpdateNoteBody: WealthboxUpdateNoteBody) => Promise<unknown>;
1991
+ wealthboxGetProjects: (wealthboxGetProjectsBody: WealthboxGetProjectsBody, params?: WealthboxGetProjectsParams) => Promise<unknown>;
1992
+ wealthboxGetProject: (wealthboxGetProjectBody: WealthboxGetProjectBody) => Promise<unknown>;
1799
1993
  wealthboxCreateProject: (wealthboxCreateProjectBody: WealthboxCreateProjectBody) => Promise<unknown>;
1800
- wealthboxGetProject: (id: string) => Promise<unknown>;
1801
- wealthboxUpdateProject: (id: string, wealthboxUpdateProjectBody: WealthboxUpdateProjectBody) => Promise<unknown>;
1802
- wealthboxDeleteProject: (id: string) => Promise<void>;
1803
- wealthboxGetWorkflows: (params?: WealthboxGetWorkflowsParams) => Promise<unknown>;
1994
+ wealthboxUpdateProject: (wealthboxUpdateProjectBody: WealthboxUpdateProjectBody) => Promise<unknown>;
1995
+ wealthboxDeleteProject: (wealthboxDeleteProjectBody: WealthboxDeleteProjectBody) => Promise<void>;
1996
+ wealthboxGetWorkflows: (wealthboxGetWorkflowsBody: WealthboxGetWorkflowsBody, params?: WealthboxGetWorkflowsParams) => Promise<unknown>;
1997
+ wealthboxGetWorkflow: (wealthboxGetWorkflowBody: WealthboxGetWorkflowBody) => Promise<unknown>;
1804
1998
  wealthboxCreateWorkflow: (wealthboxCreateWorkflowBody: WealthboxCreateWorkflowBody) => Promise<unknown>;
1805
- wealthboxGetWorkflow: (id: string) => Promise<unknown>;
1806
- wealthboxDeleteWorkflow: (id: string) => Promise<void>;
1807
- wealthboxCompleteWorkflowStep: (stepId: string) => Promise<unknown>;
1808
- wealthboxRevertWorkflowStep: (stepId: string) => Promise<unknown>;
1809
- wealthboxAddHouseholdMember: (householdId: string, wealthboxAddHouseholdMemberBody: WealthboxAddHouseholdMemberBody) => Promise<unknown>;
1810
- wealthboxRemoveHouseholdMember: (householdId: string, memberId?: string) => Promise<void>;
1811
- wealthboxGetMe: () => Promise<unknown>;
1812
- wealthboxGetUsers: (params?: WealthboxGetUsersParams) => Promise<unknown>;
1813
- wealthboxGetTeams: (params?: WealthboxGetTeamsParams) => Promise<unknown>;
1814
- wealthboxGetTags: (params?: WealthboxGetTagsParams) => Promise<unknown>;
1815
- wealthboxGetCustomFields: (params?: WealthboxGetCustomFieldsParams) => Promise<unknown>;
1816
- wealthboxGetContactRoles: (params?: WealthboxGetContactRolesParams) => Promise<unknown>;
1817
- wealthboxGetWorkflowTemplates: (params?: WealthboxGetWorkflowTemplatesParams) => Promise<unknown>;
1818
- wealthboxGetActivity: (params?: WealthboxGetActivityParams) => Promise<unknown>;
1999
+ wealthboxDeleteWorkflow: (wealthboxDeleteWorkflowBody: WealthboxDeleteWorkflowBody) => Promise<void>;
2000
+ wealthboxCompleteWorkflowStep: (wealthboxCompleteWorkflowStepBody: WealthboxCompleteWorkflowStepBody) => Promise<unknown>;
2001
+ wealthboxRevertWorkflowStep: (wealthboxRevertWorkflowStepBody: WealthboxRevertWorkflowStepBody) => Promise<unknown>;
2002
+ wealthboxAddHouseholdMember: (wealthboxAddHouseholdMemberBody: WealthboxAddHouseholdMemberBody) => Promise<unknown>;
2003
+ wealthboxRemoveHouseholdMember: (wealthboxRemoveHouseholdMemberBody: WealthboxRemoveHouseholdMemberBody) => Promise<void>;
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>;
1819
2012
  };
1820
2013
  export type AnthropicSetUserCredentialsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['anthropicSetUserCredentials']>>>;
1821
2014
  export type AnthropicGenerateTextResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['anthropicGenerateText']>>>;
@@ -1887,37 +2080,37 @@ export type TwilioWhatsappCreateMessageResult = NonNullable<Awaited<ReturnType<R
1887
2080
  export type WealthboxOauthInitiateResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxOauthInitiate']>>>;
1888
2081
  export type WealthboxOauthCallbackResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxOauthCallback']>>>;
1889
2082
  export type WealthboxGetContactsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxGetContacts']>>>;
1890
- export type WealthboxCreateContactResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxCreateContact']>>>;
1891
2083
  export type WealthboxGetContactResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxGetContact']>>>;
2084
+ export type WealthboxCreateContactResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxCreateContact']>>>;
1892
2085
  export type WealthboxUpdateContactResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxUpdateContact']>>>;
1893
2086
  export type WealthboxDeleteContactResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxDeleteContact']>>>;
1894
2087
  export type WealthboxGetTasksResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxGetTasks']>>>;
1895
- export type WealthboxCreateTaskResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxCreateTask']>>>;
1896
2088
  export type WealthboxGetTaskResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxGetTask']>>>;
2089
+ export type WealthboxCreateTaskResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxCreateTask']>>>;
1897
2090
  export type WealthboxUpdateTaskResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxUpdateTask']>>>;
1898
2091
  export type WealthboxDeleteTaskResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxDeleteTask']>>>;
1899
2092
  export type WealthboxGetEventsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxGetEvents']>>>;
1900
- export type WealthboxCreateEventResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxCreateEvent']>>>;
1901
2093
  export type WealthboxGetEventResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxGetEvent']>>>;
2094
+ export type WealthboxCreateEventResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxCreateEvent']>>>;
1902
2095
  export type WealthboxUpdateEventResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxUpdateEvent']>>>;
1903
2096
  export type WealthboxDeleteEventResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxDeleteEvent']>>>;
1904
2097
  export type WealthboxGetOpportunitiesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxGetOpportunities']>>>;
1905
- export type WealthboxCreateOpportunityResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxCreateOpportunity']>>>;
1906
2098
  export type WealthboxGetOpportunityResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxGetOpportunity']>>>;
2099
+ export type WealthboxCreateOpportunityResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxCreateOpportunity']>>>;
1907
2100
  export type WealthboxUpdateOpportunityResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxUpdateOpportunity']>>>;
1908
2101
  export type WealthboxDeleteOpportunityResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxDeleteOpportunity']>>>;
1909
2102
  export type WealthboxGetNotesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxGetNotes']>>>;
1910
- export type WealthboxCreateNoteResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxCreateNote']>>>;
1911
2103
  export type WealthboxGetNoteResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxGetNote']>>>;
2104
+ export type WealthboxCreateNoteResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxCreateNote']>>>;
1912
2105
  export type WealthboxUpdateNoteResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxUpdateNote']>>>;
1913
2106
  export type WealthboxGetProjectsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxGetProjects']>>>;
1914
- export type WealthboxCreateProjectResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxCreateProject']>>>;
1915
2107
  export type WealthboxGetProjectResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxGetProject']>>>;
2108
+ export type WealthboxCreateProjectResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxCreateProject']>>>;
1916
2109
  export type WealthboxUpdateProjectResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxUpdateProject']>>>;
1917
2110
  export type WealthboxDeleteProjectResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxDeleteProject']>>>;
1918
2111
  export type WealthboxGetWorkflowsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxGetWorkflows']>>>;
1919
- export type WealthboxCreateWorkflowResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxCreateWorkflow']>>>;
1920
2112
  export type WealthboxGetWorkflowResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxGetWorkflow']>>>;
2113
+ export type WealthboxCreateWorkflowResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxCreateWorkflow']>>>;
1921
2114
  export type WealthboxDeleteWorkflowResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxDeleteWorkflow']>>>;
1922
2115
  export type WealthboxCompleteWorkflowStepResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxCompleteWorkflowStep']>>>;
1923
2116
  export type WealthboxRevertWorkflowStepResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['wealthboxRevertWorkflowStep']>>>;