@uptiqai/integrations-sdk 1.0.24 → 1.0.26

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.
@@ -55,6 +55,9 @@ export type WealthboxGetWorkflowTemplatesBody = {
55
55
  /** Integration user id for Wealthbox requests. */
56
56
  userId: string;
57
57
  };
58
+ export type WealthboxGetContactRoles200 = {
59
+ contact_roles: WealthboxGetContactRoles200ContactRolesItem[];
60
+ };
58
61
  export type WealthboxGetContactRoles200ContactRolesItemRemovedOptionsItem = {
59
62
  [key: string]: unknown;
60
63
  };
@@ -68,9 +71,6 @@ export type WealthboxGetContactRoles200ContactRolesItem = {
68
71
  name: string;
69
72
  removed_options?: WealthboxGetContactRoles200ContactRolesItemRemovedOptionsItem[];
70
73
  };
71
- export type WealthboxGetContactRoles200 = {
72
- contact_roles: WealthboxGetContactRoles200ContactRolesItem[];
73
- };
74
74
  export type WealthboxGetContactRolesBody = {
75
75
  /**
76
76
  * Page number for paginated Wealthbox endpoints.
@@ -135,9 +135,6 @@ export type WealthboxGetCategoryMembersBody = {
135
135
  /** Integration user id for Wealthbox requests. */
136
136
  userId: string;
137
137
  };
138
- export type WealthboxGetCustomFields200 = {
139
- custom_fields?: WealthboxGetCustomFields200CustomFieldsItem[];
140
- };
141
138
  /**
142
139
  * @nullable
143
140
  */
@@ -161,6 +158,9 @@ export type WealthboxGetCustomFields200CustomFieldsItem = {
161
158
  options?: WealthboxGetCustomFields200CustomFieldsItemOptionsItem[];
162
159
  value?: WealthboxGetCustomFields200CustomFieldsItemValue;
163
160
  };
161
+ export type WealthboxGetCustomFields200 = {
162
+ custom_fields?: WealthboxGetCustomFields200CustomFieldsItem[];
163
+ };
164
164
  /**
165
165
  * The document type that the custom fields are for
166
166
  */
@@ -251,7 +251,6 @@ export type WealthboxGetTeamsBody = {
251
251
  /** Integration user id for Wealthbox requests. */
252
252
  userId: string;
253
253
  };
254
- export type WealthboxGetUsers200UsersItemStatus = 'active' | 'invited' | 'inactive' | 'legacy' | string;
255
254
  export type WealthboxGetUsers200UsersItem = {
256
255
  /** @nullable */
257
256
  account?: number | null;
@@ -265,6 +264,7 @@ export type WealthboxGetUsers200UsersItem = {
265
264
  export type WealthboxGetUsers200 = {
266
265
  users?: WealthboxGetUsers200UsersItem[];
267
266
  };
267
+ export type WealthboxGetUsers200UsersItemStatus = 'active' | 'invited' | 'inactive' | 'legacy' | string;
268
268
  /**
269
269
  * Filter users by their status
270
270
  */
@@ -1022,6 +1022,11 @@ export type WealthboxUpdateProject200 = {
1022
1022
  /** @nullable */
1023
1023
  visible_to?: WealthboxUpdateProject200VisibleTo;
1024
1024
  };
1025
+ export type WealthboxUpdateProjectBodyCustomFieldsItem = {
1026
+ /** @nullable */
1027
+ id: number | null;
1028
+ value?: WealthboxUpdateProjectBodyCustomFieldsItemValue;
1029
+ };
1025
1030
  export type WealthboxUpdateProjectBody = {
1026
1031
  custom_fields?: WealthboxUpdateProjectBodyCustomFieldsItem[];
1027
1032
  /** @minLength 1 */
@@ -1048,11 +1053,6 @@ export type WealthboxUpdateProjectBodyCustomFieldsItemValueAnyOfTwo = unknown |
1048
1053
  */
1049
1054
  export type WealthboxUpdateProjectBodyCustomFieldsItemValueAnyOf = unknown | null;
1050
1055
  export type WealthboxUpdateProjectBodyCustomFieldsItemValue = string | number | boolean | string[] | WealthboxUpdateProjectBodyCustomFieldsItemValueAnyOf | WealthboxUpdateProjectBodyCustomFieldsItemValueAnyOfTwo;
1051
- export type WealthboxUpdateProjectBodyCustomFieldsItem = {
1052
- /** @nullable */
1053
- id: number | null;
1054
- value?: WealthboxUpdateProjectBodyCustomFieldsItemValue;
1055
- };
1056
1056
  /**
1057
1057
  * @nullable
1058
1058
  */
@@ -1684,11 +1684,26 @@ export type WealthboxUpdateOpportunityBodyLinkedToItem = {
1684
1684
  name?: string;
1685
1685
  type: string;
1686
1686
  };
1687
+ /**
1688
+ * @nullable
1689
+ */
1690
+ export type WealthboxUpdateOpportunityBodyCustomFieldsItemValueAnyOfTwo = unknown | null;
1691
+ /**
1692
+ * @nullable
1693
+ */
1694
+ export type WealthboxUpdateOpportunityBodyCustomFieldsItemValueAnyOf = unknown | null;
1695
+ export type WealthboxUpdateOpportunityBodyCustomFieldsItemValue = string | number | boolean | string[] | WealthboxUpdateOpportunityBodyCustomFieldsItemValueAnyOf | WealthboxUpdateOpportunityBodyCustomFieldsItemValueAnyOfTwo;
1687
1696
  export type WealthboxUpdateOpportunityBodyCustomFieldsItem = {
1688
1697
  /** @nullable */
1689
1698
  id: number | null;
1690
1699
  value?: WealthboxUpdateOpportunityBodyCustomFieldsItemValue;
1691
1700
  };
1701
+ export type WealthboxUpdateOpportunityBodyAmountsItemKind = 'Fee' | 'Commission' | 'AUM' | 'Other' | string;
1702
+ export type WealthboxUpdateOpportunityBodyAmountsItem = {
1703
+ amount?: number;
1704
+ currency?: string;
1705
+ kind?: WealthboxUpdateOpportunityBodyAmountsItemKind;
1706
+ };
1692
1707
  export type WealthboxUpdateOpportunityBody = {
1693
1708
  amounts?: WealthboxUpdateOpportunityBodyAmountsItem[];
1694
1709
  custom_fields?: WealthboxUpdateOpportunityBodyCustomFieldsItem[];
@@ -1712,21 +1727,6 @@ export type WealthboxUpdateOpportunityBody = {
1712
1727
  userId: string;
1713
1728
  visible_to?: string;
1714
1729
  };
1715
- /**
1716
- * @nullable
1717
- */
1718
- export type WealthboxUpdateOpportunityBodyCustomFieldsItemValueAnyOfTwo = unknown | null;
1719
- /**
1720
- * @nullable
1721
- */
1722
- export type WealthboxUpdateOpportunityBodyCustomFieldsItemValueAnyOf = unknown | null;
1723
- export type WealthboxUpdateOpportunityBodyCustomFieldsItemValue = string | number | boolean | string[] | WealthboxUpdateOpportunityBodyCustomFieldsItemValueAnyOf | WealthboxUpdateOpportunityBodyCustomFieldsItemValueAnyOfTwo;
1724
- export type WealthboxUpdateOpportunityBodyAmountsItemKind = 'Fee' | 'Commission' | 'AUM' | 'Other' | string;
1725
- export type WealthboxUpdateOpportunityBodyAmountsItem = {
1726
- amount?: number;
1727
- currency?: string;
1728
- kind?: WealthboxUpdateOpportunityBodyAmountsItemKind;
1729
- };
1730
1730
  /**
1731
1731
  * @nullable
1732
1732
  */
@@ -1825,11 +1825,6 @@ export type WealthboxCreateOpportunityBodyLinkedToItem = {
1825
1825
  name?: string;
1826
1826
  type: string;
1827
1827
  };
1828
- export type WealthboxCreateOpportunityBodyCustomFieldsItem = {
1829
- /** @nullable */
1830
- id: number | null;
1831
- value?: WealthboxCreateOpportunityBodyCustomFieldsItemValue;
1832
- };
1833
1828
  export type WealthboxCreateOpportunityBody = {
1834
1829
  amounts: WealthboxCreateOpportunityBodyAmountsItem[];
1835
1830
  custom_fields?: WealthboxCreateOpportunityBodyCustomFieldsItem[];
@@ -1857,6 +1852,11 @@ export type WealthboxCreateOpportunityBodyCustomFieldsItemValueAnyOfTwo = unknow
1857
1852
  */
1858
1853
  export type WealthboxCreateOpportunityBodyCustomFieldsItemValueAnyOf = unknown | null;
1859
1854
  export type WealthboxCreateOpportunityBodyCustomFieldsItemValue = string | number | boolean | string[] | WealthboxCreateOpportunityBodyCustomFieldsItemValueAnyOf | WealthboxCreateOpportunityBodyCustomFieldsItemValueAnyOfTwo;
1855
+ export type WealthboxCreateOpportunityBodyCustomFieldsItem = {
1856
+ /** @nullable */
1857
+ id: number | null;
1858
+ value?: WealthboxCreateOpportunityBodyCustomFieldsItemValue;
1859
+ };
1860
1860
  export type WealthboxCreateOpportunityBodyAmountsItemKind = 'Fee' | 'Commission' | 'AUM' | 'Other' | string;
1861
1861
  export type WealthboxCreateOpportunityBodyAmountsItem = {
1862
1862
  amount?: number;
@@ -2318,20 +2318,6 @@ export type WealthboxUpdateEventBodyInviteesItem = {
2318
2318
  name?: string;
2319
2319
  type: string;
2320
2320
  };
2321
- /**
2322
- * @nullable
2323
- */
2324
- export type WealthboxUpdateEventBodyCustomFieldsItemValueAnyOfTwo = unknown | null;
2325
- /**
2326
- * @nullable
2327
- */
2328
- export type WealthboxUpdateEventBodyCustomFieldsItemValueAnyOf = unknown | null;
2329
- export type WealthboxUpdateEventBodyCustomFieldsItemValue = string | number | boolean | string[] | WealthboxUpdateEventBodyCustomFieldsItemValueAnyOf | WealthboxUpdateEventBodyCustomFieldsItemValueAnyOfTwo;
2330
- export type WealthboxUpdateEventBodyCustomFieldsItem = {
2331
- /** @nullable */
2332
- id: number | null;
2333
- value?: WealthboxUpdateEventBodyCustomFieldsItemValue;
2334
- };
2335
2321
  export type WealthboxUpdateEventBody = {
2336
2322
  all_day?: boolean;
2337
2323
  custom_fields?: WealthboxUpdateEventBodyCustomFieldsItem[];
@@ -2357,6 +2343,20 @@ export type WealthboxUpdateEventBody = {
2357
2343
  userId: string;
2358
2344
  visible_to?: string;
2359
2345
  };
2346
+ /**
2347
+ * @nullable
2348
+ */
2349
+ export type WealthboxUpdateEventBodyCustomFieldsItemValueAnyOfTwo = unknown | null;
2350
+ /**
2351
+ * @nullable
2352
+ */
2353
+ export type WealthboxUpdateEventBodyCustomFieldsItemValueAnyOf = unknown | null;
2354
+ export type WealthboxUpdateEventBodyCustomFieldsItemValue = string | number | boolean | string[] | WealthboxUpdateEventBodyCustomFieldsItemValueAnyOf | WealthboxUpdateEventBodyCustomFieldsItemValueAnyOfTwo;
2355
+ export type WealthboxUpdateEventBodyCustomFieldsItem = {
2356
+ /** @nullable */
2357
+ id: number | null;
2358
+ value?: WealthboxUpdateEventBodyCustomFieldsItemValue;
2359
+ };
2360
2360
  /**
2361
2361
  * @nullable
2362
2362
  */
@@ -2487,6 +2487,11 @@ export type WealthboxCreateEventBodyInviteesItem = {
2487
2487
  name?: string;
2488
2488
  type: string;
2489
2489
  };
2490
+ export type WealthboxCreateEventBodyCustomFieldsItem = {
2491
+ /** @nullable */
2492
+ id: number | null;
2493
+ value?: WealthboxCreateEventBodyCustomFieldsItemValue;
2494
+ };
2490
2495
  export type WealthboxCreateEventBody = {
2491
2496
  all_day?: boolean;
2492
2497
  custom_fields?: WealthboxCreateEventBodyCustomFieldsItem[];
@@ -2516,11 +2521,6 @@ export type WealthboxCreateEventBodyCustomFieldsItemValueAnyOfTwo = unknown | nu
2516
2521
  */
2517
2522
  export type WealthboxCreateEventBodyCustomFieldsItemValueAnyOf = unknown | null;
2518
2523
  export type WealthboxCreateEventBodyCustomFieldsItemValue = string | number | boolean | string[] | WealthboxCreateEventBodyCustomFieldsItemValueAnyOf | WealthboxCreateEventBodyCustomFieldsItemValueAnyOfTwo;
2519
- export type WealthboxCreateEventBodyCustomFieldsItem = {
2520
- /** @nullable */
2521
- id: number | null;
2522
- value?: WealthboxCreateEventBodyCustomFieldsItemValue;
2523
- };
2524
2524
  /**
2525
2525
  * @nullable
2526
2526
  */
@@ -2640,6 +2640,44 @@ export type WealthboxGetEventBody = {
2640
2640
  /** Integration user id for Wealthbox requests. */
2641
2641
  userId: string;
2642
2642
  };
2643
+ export type WealthboxGetEvents200EventsItem = {
2644
+ /** @nullable */
2645
+ all_day?: WealthboxGetEvents200EventsItemAllDay;
2646
+ /** @nullable */
2647
+ created_at?: WealthboxGetEvents200EventsItemCreatedAt;
2648
+ /** @nullable */
2649
+ creator?: WealthboxGetEvents200EventsItemCreator;
2650
+ /** @nullable */
2651
+ custom_fields?: WealthboxGetEvents200EventsItemCustomFields;
2652
+ /** @nullable */
2653
+ description?: WealthboxGetEvents200EventsItemDescription;
2654
+ /** @nullable */
2655
+ email_invitees?: WealthboxGetEvents200EventsItemEmailInvitees;
2656
+ /** @nullable */
2657
+ ends_at?: WealthboxGetEvents200EventsItemEndsAt;
2658
+ /** @nullable */
2659
+ event_category?: WealthboxGetEvents200EventsItemEventCategory;
2660
+ /** @nullable */
2661
+ id?: WealthboxGetEvents200EventsItemId;
2662
+ /** @nullable */
2663
+ invitees?: WealthboxGetEvents200EventsItemInvitees;
2664
+ /** @nullable */
2665
+ linked_to?: WealthboxGetEvents200EventsItemLinkedTo;
2666
+ /** @nullable */
2667
+ location?: WealthboxGetEvents200EventsItemLocation;
2668
+ /** @nullable */
2669
+ repeats?: WealthboxGetEvents200EventsItemRepeats;
2670
+ /** @nullable */
2671
+ starts_at?: WealthboxGetEvents200EventsItemStartsAt;
2672
+ /** @nullable */
2673
+ state?: WealthboxGetEvents200EventsItemState;
2674
+ /** @nullable */
2675
+ title?: WealthboxGetEvents200EventsItemTitle;
2676
+ /** @nullable */
2677
+ updated_at?: WealthboxGetEvents200EventsItemUpdatedAt;
2678
+ /** @nullable */
2679
+ visible_to?: WealthboxGetEvents200EventsItemVisibleTo;
2680
+ };
2643
2681
  export type WealthboxGetEvents200 = {
2644
2682
  events?: WealthboxGetEvents200EventsItem[];
2645
2683
  };
@@ -2715,44 +2753,6 @@ export type WealthboxGetEvents200EventsItemCreatedAt = unknown | null;
2715
2753
  * @nullable
2716
2754
  */
2717
2755
  export type WealthboxGetEvents200EventsItemAllDay = unknown | null;
2718
- export type WealthboxGetEvents200EventsItem = {
2719
- /** @nullable */
2720
- all_day?: WealthboxGetEvents200EventsItemAllDay;
2721
- /** @nullable */
2722
- created_at?: WealthboxGetEvents200EventsItemCreatedAt;
2723
- /** @nullable */
2724
- creator?: WealthboxGetEvents200EventsItemCreator;
2725
- /** @nullable */
2726
- custom_fields?: WealthboxGetEvents200EventsItemCustomFields;
2727
- /** @nullable */
2728
- description?: WealthboxGetEvents200EventsItemDescription;
2729
- /** @nullable */
2730
- email_invitees?: WealthboxGetEvents200EventsItemEmailInvitees;
2731
- /** @nullable */
2732
- ends_at?: WealthboxGetEvents200EventsItemEndsAt;
2733
- /** @nullable */
2734
- event_category?: WealthboxGetEvents200EventsItemEventCategory;
2735
- /** @nullable */
2736
- id?: WealthboxGetEvents200EventsItemId;
2737
- /** @nullable */
2738
- invitees?: WealthboxGetEvents200EventsItemInvitees;
2739
- /** @nullable */
2740
- linked_to?: WealthboxGetEvents200EventsItemLinkedTo;
2741
- /** @nullable */
2742
- location?: WealthboxGetEvents200EventsItemLocation;
2743
- /** @nullable */
2744
- repeats?: WealthboxGetEvents200EventsItemRepeats;
2745
- /** @nullable */
2746
- starts_at?: WealthboxGetEvents200EventsItemStartsAt;
2747
- /** @nullable */
2748
- state?: WealthboxGetEvents200EventsItemState;
2749
- /** @nullable */
2750
- title?: WealthboxGetEvents200EventsItemTitle;
2751
- /** @nullable */
2752
- updated_at?: WealthboxGetEvents200EventsItemUpdatedAt;
2753
- /** @nullable */
2754
- visible_to?: WealthboxGetEvents200EventsItemVisibleTo;
2755
- };
2756
2756
  /**
2757
2757
  * The order that the events should be returned in regarding event start
2758
2758
  */
@@ -2939,29 +2939,6 @@ export type WealthboxUpdateTaskBodyLinkedToItem = {
2939
2939
  name?: string;
2940
2940
  type: string;
2941
2941
  };
2942
- /**
2943
- * @nullable
2944
- */
2945
- export type WealthboxUpdateTaskBodyCustomFieldsItemValueAnyOfTwo = unknown | null;
2946
- /**
2947
- * @nullable
2948
- */
2949
- export type WealthboxUpdateTaskBodyCustomFieldsItemValueAnyOf = unknown | null;
2950
- export type WealthboxUpdateTaskBodyCustomFieldsItemValue = string | number | boolean | string[] | WealthboxUpdateTaskBodyCustomFieldsItemValueAnyOf | WealthboxUpdateTaskBodyCustomFieldsItemValueAnyOfTwo;
2951
- export type WealthboxUpdateTaskBodyCustomFieldsItem = {
2952
- /** @nullable */
2953
- id: number | null;
2954
- value?: WealthboxUpdateTaskBodyCustomFieldsItemValue;
2955
- };
2956
- /**
2957
- * @nullable
2958
- */
2959
- export type WealthboxUpdateTaskBodyCategoryAnyOfTwo = unknown | null;
2960
- /**
2961
- * @nullable
2962
- */
2963
- export type WealthboxUpdateTaskBodyCategoryAnyOf = unknown | null;
2964
- export type WealthboxUpdateTaskBodyCategory = number | null | string | WealthboxUpdateTaskBodyCategoryAnyOf | WealthboxUpdateTaskBodyCategoryAnyOfTwo;
2965
2942
  export type WealthboxUpdateTaskBody = {
2966
2943
  /** @nullable */
2967
2944
  assigned_to?: number | null;
@@ -2987,6 +2964,29 @@ export type WealthboxUpdateTaskBody = {
2987
2964
  userId: string;
2988
2965
  visible_to?: string;
2989
2966
  };
2967
+ export type WealthboxUpdateTaskBodyCustomFieldsItemValue = string | number | boolean | string[] | WealthboxUpdateTaskBodyCustomFieldsItemValueAnyOf | WealthboxUpdateTaskBodyCustomFieldsItemValueAnyOfTwo;
2968
+ export type WealthboxUpdateTaskBodyCustomFieldsItem = {
2969
+ /** @nullable */
2970
+ id: number | null;
2971
+ value?: WealthboxUpdateTaskBodyCustomFieldsItemValue;
2972
+ };
2973
+ /**
2974
+ * @nullable
2975
+ */
2976
+ export type WealthboxUpdateTaskBodyCustomFieldsItemValueAnyOfTwo = unknown | null;
2977
+ /**
2978
+ * @nullable
2979
+ */
2980
+ export type WealthboxUpdateTaskBodyCustomFieldsItemValueAnyOf = unknown | null;
2981
+ /**
2982
+ * @nullable
2983
+ */
2984
+ export type WealthboxUpdateTaskBodyCategoryAnyOfTwo = unknown | null;
2985
+ /**
2986
+ * @nullable
2987
+ */
2988
+ export type WealthboxUpdateTaskBodyCategoryAnyOf = unknown | null;
2989
+ export type WealthboxUpdateTaskBodyCategory = number | null | string | WealthboxUpdateTaskBodyCategoryAnyOf | WealthboxUpdateTaskBodyCategoryAnyOfTwo;
2990
2990
  /**
2991
2991
  * @nullable
2992
2992
  */
@@ -3127,6 +3127,29 @@ export type WealthboxCreateTaskBodyLinkedToItem = {
3127
3127
  name?: string;
3128
3128
  type: string;
3129
3129
  };
3130
+ /**
3131
+ * @nullable
3132
+ */
3133
+ export type WealthboxCreateTaskBodyCustomFieldsItemValueAnyOfTwo = unknown | null;
3134
+ /**
3135
+ * @nullable
3136
+ */
3137
+ export type WealthboxCreateTaskBodyCustomFieldsItemValueAnyOf = unknown | null;
3138
+ export type WealthboxCreateTaskBodyCustomFieldsItemValue = string | number | boolean | string[] | WealthboxCreateTaskBodyCustomFieldsItemValueAnyOf | WealthboxCreateTaskBodyCustomFieldsItemValueAnyOfTwo;
3139
+ export type WealthboxCreateTaskBodyCustomFieldsItem = {
3140
+ /** @nullable */
3141
+ id: number | null;
3142
+ value?: WealthboxCreateTaskBodyCustomFieldsItemValue;
3143
+ };
3144
+ /**
3145
+ * @nullable
3146
+ */
3147
+ export type WealthboxCreateTaskBodyCategoryAnyOfTwo = unknown | null;
3148
+ /**
3149
+ * @nullable
3150
+ */
3151
+ export type WealthboxCreateTaskBodyCategoryAnyOf = unknown | null;
3152
+ export type WealthboxCreateTaskBodyCategory = number | null | string | WealthboxCreateTaskBodyCategoryAnyOf | WealthboxCreateTaskBodyCategoryAnyOfTwo;
3130
3153
  export type WealthboxCreateTaskBody = {
3131
3154
  /** @nullable */
3132
3155
  assigned_to?: number | null;
@@ -3150,30 +3173,7 @@ export type WealthboxCreateTaskBody = {
3150
3173
  /**
3151
3174
  * @nullable
3152
3175
  */
3153
- export type WealthboxCreateTaskBodyCustomFieldsItemValueAnyOfTwo = unknown | null;
3154
- /**
3155
- * @nullable
3156
- */
3157
- export type WealthboxCreateTaskBodyCustomFieldsItemValueAnyOf = unknown | null;
3158
- export type WealthboxCreateTaskBodyCustomFieldsItemValue = string | number | boolean | string[] | WealthboxCreateTaskBodyCustomFieldsItemValueAnyOf | WealthboxCreateTaskBodyCustomFieldsItemValueAnyOfTwo;
3159
- export type WealthboxCreateTaskBodyCustomFieldsItem = {
3160
- /** @nullable */
3161
- id: number | null;
3162
- value?: WealthboxCreateTaskBodyCustomFieldsItemValue;
3163
- };
3164
- /**
3165
- * @nullable
3166
- */
3167
- export type WealthboxCreateTaskBodyCategoryAnyOfTwo = unknown | null;
3168
- /**
3169
- * @nullable
3170
- */
3171
- export type WealthboxCreateTaskBodyCategoryAnyOf = unknown | null;
3172
- export type WealthboxCreateTaskBodyCategory = number | null | string | WealthboxCreateTaskBodyCategoryAnyOf | WealthboxCreateTaskBodyCategoryAnyOfTwo;
3173
- /**
3174
- * @nullable
3175
- */
3176
- export type WealthboxGetTask200VisibleTo = unknown | null;
3176
+ export type WealthboxGetTask200VisibleTo = unknown | null;
3177
3177
  /**
3178
3178
  * @nullable
3179
3179
  */
@@ -4446,150 +4446,6 @@ export type WealthboxCreateContact200Image = unknown | null;
4446
4446
  * @nullable
4447
4447
  */
4448
4448
  export type WealthboxCreateContact200Id = unknown | null;
4449
- /**
4450
- * @nullable
4451
- */
4452
- export type WealthboxCreateContact200HouseholdTitle = unknown | null;
4453
- /**
4454
- * @nullable
4455
- */
4456
- export type WealthboxCreateContact200HouseholdName = unknown | null;
4457
- export type WealthboxCreateContact200HouseholdMembersItem = {
4458
- [key: string]: unknown;
4459
- };
4460
- /**
4461
- * @nullable
4462
- */
4463
- export type WealthboxCreateContact200HouseholdId = unknown | null;
4464
- export type WealthboxCreateContact200Household = {
4465
- /** @nullable */
4466
- id?: WealthboxCreateContact200HouseholdId;
4467
- members?: WealthboxCreateContact200HouseholdMembersItem[];
4468
- /** @nullable */
4469
- name?: WealthboxCreateContact200HouseholdName;
4470
- /** @nullable */
4471
- title?: WealthboxCreateContact200HouseholdTitle;
4472
- };
4473
- /**
4474
- * @nullable
4475
- */
4476
- export type WealthboxCreateContact200GrossAnnualIncome = unknown | null;
4477
- /**
4478
- * @nullable
4479
- */
4480
- export type WealthboxCreateContact200GreenCardNumber = unknown | null;
4481
- /**
4482
- * @nullable
4483
- */
4484
- export type WealthboxCreateContact200Gender = unknown | null;
4485
- /**
4486
- * @nullable
4487
- */
4488
- export type WealthboxCreateContact200FirstName = unknown | null;
4489
- /**
4490
- * @nullable
4491
- */
4492
- export type WealthboxCreateContact200FamilyOfficer = unknown | null;
4493
- /**
4494
- * @nullable
4495
- */
4496
- export type WealthboxCreateContact200ExternalUniqueId = unknown | null;
4497
- /**
4498
- * @nullable
4499
- */
4500
- export type WealthboxCreateContact200EstimatedTaxes = unknown | null;
4501
- export type WealthboxCreateContact200EmailAddressesItem = {
4502
- [key: string]: unknown;
4503
- };
4504
- export type WealthboxCreateContact200DriversLicense = {
4505
- [key: string]: unknown;
4506
- };
4507
- /**
4508
- * @nullable
4509
- */
4510
- export type WealthboxCreateContact200Doctor = unknown | null;
4511
- /**
4512
- * @nullable
4513
- */
4514
- export type WealthboxCreateContact200DateOfDeath = unknown | null;
4515
- export type WealthboxCreateContact200CustomFieldsItem = {
4516
- [key: string]: unknown;
4517
- };
4518
- /**
4519
- * @nullable
4520
- */
4521
- export type WealthboxCreateContact200Creator = unknown | null;
4522
- /**
4523
- * @nullable
4524
- */
4525
- export type WealthboxCreateContact200CreatedAt = unknown | null;
4526
- /**
4527
- * @nullable
4528
- */
4529
- export type WealthboxCreateContact200Cpa = unknown | null;
4530
- /**
4531
- * @nullable
4532
- */
4533
- export type WealthboxCreateContact200ContactType = unknown | null;
4534
- /**
4535
- * @nullable
4536
- */
4537
- export type WealthboxCreateContact200ContactSource = unknown | null;
4538
- export type WealthboxCreateContact200ContactRolesItem = {
4539
- [key: string]: unknown;
4540
- };
4541
- /**
4542
- * @nullable
4543
- */
4544
- export type WealthboxCreateContact200ConfirmedByTaxReturn = unknown | null;
4545
- /**
4546
- * @nullable
4547
- */
4548
- export type WealthboxCreateContact200CompanyName = unknown | null;
4549
- /**
4550
- * @nullable
4551
- */
4552
- export type WealthboxCreateContact200ClientSince = unknown | null;
4553
- /**
4554
- * @nullable
4555
- */
4556
- export type WealthboxCreateContact200BusinessManager = unknown | null;
4557
- /**
4558
- * @nullable
4559
- */
4560
- export type WealthboxCreateContact200BirthPlace = unknown | null;
4561
- /**
4562
- * @nullable
4563
- */
4564
- export type WealthboxCreateContact200BirthDate = unknown | null;
4565
- /**
4566
- * @nullable
4567
- */
4568
- export type WealthboxCreateContact200BackgroundInformation = unknown | null;
4569
- /**
4570
- * @nullable
4571
- */
4572
- export type WealthboxCreateContact200Attorney = unknown | null;
4573
- /**
4574
- * @nullable
4575
- */
4576
- export type WealthboxCreateContact200Assistant = unknown | null;
4577
- /**
4578
- * @nullable
4579
- */
4580
- export type WealthboxCreateContact200AssignedTo = unknown | null;
4581
- /**
4582
- * @nullable
4583
- */
4584
- export type WealthboxCreateContact200Assets = unknown | null;
4585
- /**
4586
- * @nullable
4587
- */
4588
- export type WealthboxCreateContact200Anniversary = unknown | null;
4589
- /**
4590
- * @nullable
4591
- */
4592
- export type WealthboxCreateContact200AdjustedGrossIncome = unknown | null;
4593
4449
  export type WealthboxCreateContact200 = {
4594
4450
  /** @nullable */
4595
4451
  adjusted_gross_income?: WealthboxCreateContact200AdjustedGrossIncome;
@@ -4740,43 +4596,187 @@ export type WealthboxCreateContact200 = {
4740
4596
  visible_to?: WealthboxCreateContact200VisibleTo;
4741
4597
  websites?: WealthboxCreateContact200WebsitesItem[];
4742
4598
  };
4743
- export type WealthboxCreateContactBodyWebsitesItemKind = typeof WealthboxCreateContactBodyWebsitesItemKind[keyof typeof WealthboxCreateContactBodyWebsitesItemKind];
4744
- export declare const WealthboxCreateContactBodyWebsitesItemKind: {
4745
- readonly Website: "Website";
4746
- readonly Facebook: "Facebook";
4747
- readonly Blog: "Blog";
4599
+ /**
4600
+ * @nullable
4601
+ */
4602
+ export type WealthboxCreateContact200HouseholdTitle = unknown | null;
4603
+ /**
4604
+ * @nullable
4605
+ */
4606
+ export type WealthboxCreateContact200HouseholdName = unknown | null;
4607
+ export type WealthboxCreateContact200HouseholdMembersItem = {
4608
+ [key: string]: unknown;
4748
4609
  };
4749
- export type WealthboxCreateContactBodyWebsitesItem = {
4750
- address: string;
4751
- destroy?: boolean;
4752
- kind?: WealthboxCreateContactBodyWebsitesItemKind;
4753
- principal?: boolean;
4610
+ /**
4611
+ * @nullable
4612
+ */
4613
+ export type WealthboxCreateContact200HouseholdId = unknown | null;
4614
+ export type WealthboxCreateContact200Household = {
4615
+ /** @nullable */
4616
+ id?: WealthboxCreateContact200HouseholdId;
4617
+ members?: WealthboxCreateContact200HouseholdMembersItem[];
4618
+ /** @nullable */
4619
+ name?: WealthboxCreateContact200HouseholdName;
4620
+ /** @nullable */
4621
+ title?: WealthboxCreateContact200HouseholdTitle;
4754
4622
  };
4755
- export type WealthboxCreateContactBodyType = typeof WealthboxCreateContactBodyType[keyof typeof WealthboxCreateContactBodyType];
4756
- export declare const WealthboxCreateContactBodyType: {
4757
- readonly Person: "Person";
4758
- readonly Household: "Household";
4759
- readonly Organization: "Organization";
4760
- readonly Trust: "Trust";
4623
+ /**
4624
+ * @nullable
4625
+ */
4626
+ export type WealthboxCreateContact200GrossAnnualIncome = unknown | null;
4627
+ /**
4628
+ * @nullable
4629
+ */
4630
+ export type WealthboxCreateContact200GreenCardNumber = unknown | null;
4631
+ /**
4632
+ * @nullable
4633
+ */
4634
+ export type WealthboxCreateContact200Gender = unknown | null;
4635
+ /**
4636
+ * @nullable
4637
+ */
4638
+ export type WealthboxCreateContact200FirstName = unknown | null;
4639
+ /**
4640
+ * @nullable
4641
+ */
4642
+ export type WealthboxCreateContact200FamilyOfficer = unknown | null;
4643
+ /**
4644
+ * @nullable
4645
+ */
4646
+ export type WealthboxCreateContact200ExternalUniqueId = unknown | null;
4647
+ /**
4648
+ * @nullable
4649
+ */
4650
+ export type WealthboxCreateContact200EstimatedTaxes = unknown | null;
4651
+ export type WealthboxCreateContact200EmailAddressesItem = {
4652
+ [key: string]: unknown;
4761
4653
  };
4762
- export type WealthboxCreateContactBodyTimeHorizon = typeof WealthboxCreateContactBodyTimeHorizon[keyof typeof WealthboxCreateContactBodyTimeHorizon];
4763
- export declare const WealthboxCreateContactBodyTimeHorizon: {
4764
- readonly Short_Term: "Short Term";
4765
- readonly Intermediate: "Intermediate";
4766
- readonly Long_Term: "Long Term";
4654
+ export type WealthboxCreateContact200DriversLicense = {
4655
+ [key: string]: unknown;
4767
4656
  };
4768
- export type WealthboxCreateContactBodyStreetAddressesItemKind = typeof WealthboxCreateContactBodyStreetAddressesItemKind[keyof typeof WealthboxCreateContactBodyStreetAddressesItemKind];
4769
- export declare const WealthboxCreateContactBodyStreetAddressesItemKind: {
4770
- readonly Work: "Work";
4771
- readonly Home: "Home";
4772
- readonly Mobile: "Mobile";
4773
- readonly Vacation: "Vacation";
4774
- readonly Fax: "Fax";
4775
- readonly Other: "Other";
4657
+ /**
4658
+ * @nullable
4659
+ */
4660
+ export type WealthboxCreateContact200Doctor = unknown | null;
4661
+ /**
4662
+ * @nullable
4663
+ */
4664
+ export type WealthboxCreateContact200DateOfDeath = unknown | null;
4665
+ export type WealthboxCreateContact200CustomFieldsItem = {
4666
+ [key: string]: unknown;
4776
4667
  };
4777
- export type WealthboxCreateContactBodyStreetAddressesItem = {
4778
- city?: string;
4779
- country?: string;
4668
+ /**
4669
+ * @nullable
4670
+ */
4671
+ export type WealthboxCreateContact200Creator = unknown | null;
4672
+ /**
4673
+ * @nullable
4674
+ */
4675
+ export type WealthboxCreateContact200CreatedAt = unknown | null;
4676
+ /**
4677
+ * @nullable
4678
+ */
4679
+ export type WealthboxCreateContact200Cpa = unknown | null;
4680
+ /**
4681
+ * @nullable
4682
+ */
4683
+ export type WealthboxCreateContact200ContactType = unknown | null;
4684
+ /**
4685
+ * @nullable
4686
+ */
4687
+ export type WealthboxCreateContact200ContactSource = unknown | null;
4688
+ export type WealthboxCreateContact200ContactRolesItem = {
4689
+ [key: string]: unknown;
4690
+ };
4691
+ /**
4692
+ * @nullable
4693
+ */
4694
+ export type WealthboxCreateContact200ConfirmedByTaxReturn = unknown | null;
4695
+ /**
4696
+ * @nullable
4697
+ */
4698
+ export type WealthboxCreateContact200CompanyName = unknown | null;
4699
+ /**
4700
+ * @nullable
4701
+ */
4702
+ export type WealthboxCreateContact200ClientSince = unknown | null;
4703
+ /**
4704
+ * @nullable
4705
+ */
4706
+ export type WealthboxCreateContact200BusinessManager = unknown | null;
4707
+ /**
4708
+ * @nullable
4709
+ */
4710
+ export type WealthboxCreateContact200BirthPlace = unknown | null;
4711
+ /**
4712
+ * @nullable
4713
+ */
4714
+ export type WealthboxCreateContact200BirthDate = unknown | null;
4715
+ /**
4716
+ * @nullable
4717
+ */
4718
+ export type WealthboxCreateContact200BackgroundInformation = unknown | null;
4719
+ /**
4720
+ * @nullable
4721
+ */
4722
+ export type WealthboxCreateContact200Attorney = unknown | null;
4723
+ /**
4724
+ * @nullable
4725
+ */
4726
+ export type WealthboxCreateContact200Assistant = unknown | null;
4727
+ /**
4728
+ * @nullable
4729
+ */
4730
+ export type WealthboxCreateContact200AssignedTo = unknown | null;
4731
+ /**
4732
+ * @nullable
4733
+ */
4734
+ export type WealthboxCreateContact200Assets = unknown | null;
4735
+ /**
4736
+ * @nullable
4737
+ */
4738
+ export type WealthboxCreateContact200Anniversary = unknown | null;
4739
+ /**
4740
+ * @nullable
4741
+ */
4742
+ export type WealthboxCreateContact200AdjustedGrossIncome = unknown | null;
4743
+ export type WealthboxCreateContactBodyWebsitesItemKind = typeof WealthboxCreateContactBodyWebsitesItemKind[keyof typeof WealthboxCreateContactBodyWebsitesItemKind];
4744
+ export declare const WealthboxCreateContactBodyWebsitesItemKind: {
4745
+ readonly Website: "Website";
4746
+ readonly Facebook: "Facebook";
4747
+ readonly Blog: "Blog";
4748
+ };
4749
+ export type WealthboxCreateContactBodyWebsitesItem = {
4750
+ address: string;
4751
+ destroy?: boolean;
4752
+ kind?: WealthboxCreateContactBodyWebsitesItemKind;
4753
+ principal?: boolean;
4754
+ };
4755
+ export type WealthboxCreateContactBodyType = typeof WealthboxCreateContactBodyType[keyof typeof WealthboxCreateContactBodyType];
4756
+ export declare const WealthboxCreateContactBodyType: {
4757
+ readonly Person: "Person";
4758
+ readonly Household: "Household";
4759
+ readonly Organization: "Organization";
4760
+ readonly Trust: "Trust";
4761
+ };
4762
+ export type WealthboxCreateContactBodyTimeHorizon = typeof WealthboxCreateContactBodyTimeHorizon[keyof typeof WealthboxCreateContactBodyTimeHorizon];
4763
+ export declare const WealthboxCreateContactBodyTimeHorizon: {
4764
+ readonly Short_Term: "Short Term";
4765
+ readonly Intermediate: "Intermediate";
4766
+ readonly Long_Term: "Long Term";
4767
+ };
4768
+ export type WealthboxCreateContactBodyStreetAddressesItemKind = typeof WealthboxCreateContactBodyStreetAddressesItemKind[keyof typeof WealthboxCreateContactBodyStreetAddressesItemKind];
4769
+ export declare const WealthboxCreateContactBodyStreetAddressesItemKind: {
4770
+ readonly Work: "Work";
4771
+ readonly Home: "Home";
4772
+ readonly Mobile: "Mobile";
4773
+ readonly Vacation: "Vacation";
4774
+ readonly Fax: "Fax";
4775
+ readonly Other: "Other";
4776
+ };
4777
+ export type WealthboxCreateContactBodyStreetAddressesItem = {
4778
+ city?: string;
4779
+ country?: string;
4780
4780
  destroy?: boolean;
4781
4781
  kind?: WealthboxCreateContactBodyStreetAddressesItemKind;
4782
4782
  principal?: boolean;
@@ -6238,25 +6238,21 @@ export type RedtailCreateNoteComment200Comment = {
6238
6238
  user_id?: number | null;
6239
6239
  };
6240
6240
  export type RedtailCreateNoteComment200 = {
6241
- comment: RedtailCreateNoteComment200Comment;
6241
+ comment?: RedtailCreateNoteComment200Comment;
6242
6242
  };
6243
- export type RedtailCreateNoteCommentBodyAllOfThree = {
6244
- /** Integration user id for Redtail requests. */
6245
- userId: string;
6246
- };
6247
- export type RedtailCreateNoteCommentBodyAllOfTwo = {
6248
- [key: string]: unknown | null;
6249
- };
6250
- export type RedtailCreateNoteCommentBodyAllOf = {
6251
- /**
6252
- * Redtail note identifier
6253
- * @minLength 1
6254
- */
6243
+ /**
6244
+ * Create a comment on a note. Optional notify_user_id / notify_team_id accepted.
6245
+ */
6246
+ export type RedtailCreateNoteCommentBody = {
6247
+ content?: string;
6248
+ /** @minLength 1 */
6255
6249
  noteId: string;
6256
- /** Integration user id for Redtail requests. */
6250
+ /** @nullable */
6251
+ notify_team_id?: number | null;
6252
+ /** @nullable */
6253
+ notify_user_id?: number | null;
6257
6254
  userId: string;
6258
6255
  };
6259
- export type RedtailCreateNoteCommentBody = RedtailCreateNoteCommentBodyAllOf & RedtailCreateNoteCommentBodyAllOfTwo & RedtailCreateNoteCommentBodyAllOfThree;
6260
6256
  export type RedtailGetNoteTemplate200NoteTemplate = {
6261
6257
  /** @nullable */
6262
6258
  body?: string | null;
@@ -6381,9 +6377,34 @@ export type RedtailGetActivityTemplates200Meta = {
6381
6377
  total_pages?: number;
6382
6378
  total_records?: number;
6383
6379
  };
6380
+ export type RedtailGetActivityTemplates200ActivityTemplatesItem = {
6381
+ /** @nullable */
6382
+ body?: string | null;
6383
+ /** @nullable */
6384
+ category?: string | null;
6385
+ /** @nullable */
6386
+ category_id?: number | null;
6387
+ /** @nullable */
6388
+ created_at?: string | null;
6389
+ /** @nullable */
6390
+ deleted?: boolean | null;
6391
+ /** @nullable */
6392
+ description?: string | null;
6393
+ id?: number;
6394
+ /** @nullable */
6395
+ name?: string | null;
6396
+ /** @nullable */
6397
+ subject?: string | null;
6398
+ /** @nullable */
6399
+ updated_at?: string | null;
6400
+ };
6401
+ /**
6402
+ * Redtail may return `activity_templates` or (legacy) `note_templates` for this endpoint.
6403
+ */
6384
6404
  export type RedtailGetActivityTemplates200 = {
6405
+ activity_templates?: RedtailGetActivityTemplates200ActivityTemplatesItem[];
6385
6406
  meta?: RedtailGetActivityTemplates200Meta;
6386
- note_templates: RedtailGetActivityTemplates200NoteTemplatesItem[];
6407
+ note_templates?: RedtailGetActivityTemplates200NoteTemplatesItem[];
6387
6408
  };
6388
6409
  export type RedtailGetActivityTemplatesBody = {
6389
6410
  /** Integration user id for Redtail requests. */
@@ -6393,10 +6414,6 @@ export type RedtailGetDatabaseTeams200Meta = {
6393
6414
  total_pages?: number;
6394
6415
  total_records?: number;
6395
6416
  };
6396
- export type RedtailGetDatabaseTeams200 = {
6397
- database_teams: RedtailGetDatabaseTeams200DatabaseTeams;
6398
- meta?: RedtailGetDatabaseTeams200Meta;
6399
- };
6400
6417
  export type RedtailGetDatabaseTeams200DatabaseTeamsAnyOfTwo = {
6401
6418
  [key: string]: unknown;
6402
6419
  };
@@ -6404,6 +6421,10 @@ export type RedtailGetDatabaseTeams200DatabaseTeamsAnyOfItem = {
6404
6421
  [key: string]: unknown;
6405
6422
  };
6406
6423
  export type RedtailGetDatabaseTeams200DatabaseTeams = RedtailGetDatabaseTeams200DatabaseTeamsAnyOfItem[] | RedtailGetDatabaseTeams200DatabaseTeamsAnyOfTwo;
6424
+ export type RedtailGetDatabaseTeams200 = {
6425
+ database_teams?: RedtailGetDatabaseTeams200DatabaseTeams;
6426
+ meta?: RedtailGetDatabaseTeams200Meta;
6427
+ };
6407
6428
  export type RedtailGetDatabaseTeamsBody = {
6408
6429
  /** Integration user id for Redtail requests. */
6409
6430
  userId: string;
@@ -6717,24 +6738,23 @@ export type RedtailUpdateContactTax200AnyOf = {
6717
6738
  success?: boolean;
6718
6739
  };
6719
6740
  export type RedtailUpdateContactTax200 = RedtailUpdateContactTax200AnyOf | '' | RedtailUpdateContactTax200AnyOfTwo | RedtailUpdateContactTax200AnyOfThree;
6720
- export type RedtailUpdateContactTaxBodyAllOfThree = {
6721
- /** Integration user id for Redtail requests. */
6722
- userId: string;
6723
- };
6724
- export type RedtailUpdateContactTaxBodyAllOfTwo = {
6725
- [key: string]: unknown | null;
6726
- };
6727
- export type RedtailUpdateContactTaxBodyAllOf = {
6741
+ export type RedtailUpdateContactTaxBody = {
6728
6742
  /**
6729
6743
  * Redtail contact identifier
6730
6744
  * @minLength 1
6731
6745
  */
6732
- contactId: string;
6746
+ id: string;
6747
+ is_tax_return_confirmed?: boolean;
6748
+ tax_agi?: string;
6749
+ /** @nullable */
6750
+ tax_bracket?: number | null;
6751
+ tax_estimate?: string;
6752
+ tax_return_year?: string;
6733
6753
  /** Integration user id for Redtail requests. */
6734
6754
  userId: string;
6755
+ [key: string]: unknown | null;
6735
6756
  };
6736
- export type RedtailUpdateContactTaxBody = RedtailUpdateContactTaxBodyAllOf & RedtailUpdateContactTaxBodyAllOfTwo & RedtailUpdateContactTaxBodyAllOfThree;
6737
- export type RedtailGetContactTax200Taxes = {
6757
+ export type RedtailGetContactTax200Tax = {
6738
6758
  contact_id?: number;
6739
6759
  /** @nullable */
6740
6760
  created_at?: string | null;
@@ -6745,14 +6765,14 @@ export type RedtailGetContactTax200Taxes = {
6745
6765
  updated_at?: string | null;
6746
6766
  };
6747
6767
  export type RedtailGetContactTax200 = {
6748
- taxes: RedtailGetContactTax200Taxes;
6768
+ tax?: RedtailGetContactTax200Tax;
6749
6769
  };
6750
6770
  export type RedtailGetContactTaxBody = {
6751
6771
  /**
6752
6772
  * Redtail contact identifier
6753
6773
  * @minLength 1
6754
6774
  */
6755
- contactId: string;
6775
+ id: string;
6756
6776
  /** Integration user id for Redtail requests. */
6757
6777
  userId: string;
6758
6778
  };
@@ -6769,24 +6789,31 @@ export type RedtailUpdateContactSam200AnyOf = {
6769
6789
  success?: boolean;
6770
6790
  };
6771
6791
  export type RedtailUpdateContactSam200 = RedtailUpdateContactSam200AnyOf | '' | RedtailUpdateContactSam200AnyOfTwo | RedtailUpdateContactSam200AnyOfThree;
6772
- export type RedtailUpdateContactSamBodyAllOfThree = {
6773
- /** Integration user id for Redtail requests. */
6774
- userId: string;
6775
- };
6776
- export type RedtailUpdateContactSamBodyAllOfTwo = {
6777
- [key: string]: unknown | null;
6778
- };
6779
- export type RedtailUpdateContactSamBodyAllOf = {
6792
+ export type RedtailUpdateContactSamBody = {
6793
+ /** @nullable */
6794
+ experience_funds?: number | null;
6795
+ /** @nullable */
6796
+ experience_other?: number | null;
6797
+ /** @nullable */
6798
+ experience_partnerships?: number | null;
6799
+ /** @nullable */
6800
+ experience_stocks?: number | null;
6780
6801
  /**
6781
6802
  * Redtail contact identifier
6782
6803
  * @minLength 1
6783
6804
  */
6784
- contactId: string;
6805
+ id: string;
6806
+ /** @nullable */
6807
+ objective_id?: number | null;
6808
+ /** @nullable */
6809
+ risk_tolerance?: number | null;
6810
+ /** @nullable */
6811
+ time_horizon?: number | null;
6785
6812
  /** Integration user id for Redtail requests. */
6786
6813
  userId: string;
6814
+ [key: string]: unknown | null;
6787
6815
  };
6788
- export type RedtailUpdateContactSamBody = RedtailUpdateContactSamBodyAllOf & RedtailUpdateContactSamBodyAllOfTwo & RedtailUpdateContactSamBodyAllOfThree;
6789
- export type RedtailGetContactSam200Sams = {
6816
+ export type RedtailGetContactSam200Sam = {
6790
6817
  contact_id?: number;
6791
6818
  /** @nullable */
6792
6819
  created_at?: string | null;
@@ -6797,14 +6824,14 @@ export type RedtailGetContactSam200Sams = {
6797
6824
  updated_at?: string | null;
6798
6825
  };
6799
6826
  export type RedtailGetContactSam200 = {
6800
- sams: RedtailGetContactSam200Sams;
6827
+ sam?: RedtailGetContactSam200Sam;
6801
6828
  };
6802
6829
  export type RedtailGetContactSamBody = {
6803
6830
  /**
6804
6831
  * Redtail contact identifier
6805
6832
  * @minLength 1
6806
6833
  */
6807
- contactId: string;
6834
+ id: string;
6808
6835
  /** Integration user id for Redtail requests. */
6809
6836
  userId: string;
6810
6837
  };
@@ -6819,25 +6846,24 @@ export type RedtailUpdateContactRole200Role = {
6819
6846
  updated_at?: string | null;
6820
6847
  };
6821
6848
  export type RedtailUpdateContactRole200 = {
6822
- role: RedtailUpdateContactRole200Role;
6823
- };
6824
- export type RedtailUpdateContactRoleBodyAllOfThree = {
6825
- /** Integration user id for Redtail requests. */
6826
- userId: string;
6827
- };
6828
- export type RedtailUpdateContactRoleBodyAllOfTwo = {
6829
- [key: string]: unknown | null;
6849
+ role?: RedtailUpdateContactRole200Role;
6830
6850
  };
6831
- export type RedtailUpdateContactRoleBodyAllOf = {
6851
+ export type RedtailUpdateContactRoleBody = {
6852
+ /** @nullable */
6853
+ advisor_id?: number | null;
6854
+ /** @nullable */
6855
+ associate_advisor_id?: number | null;
6856
+ /** @nullable */
6857
+ csa_id?: number | null;
6832
6858
  /**
6833
6859
  * Redtail contact identifier
6834
6860
  * @minLength 1
6835
6861
  */
6836
- contactId: string;
6862
+ id: string;
6837
6863
  /** Integration user id for Redtail requests. */
6838
6864
  userId: string;
6865
+ [key: string]: unknown | null;
6839
6866
  };
6840
- export type RedtailUpdateContactRoleBody = RedtailUpdateContactRoleBodyAllOf & RedtailUpdateContactRoleBodyAllOfTwo & RedtailUpdateContactRoleBodyAllOfThree;
6841
6867
  export type RedtailGetContactRole200Role = {
6842
6868
  contact_id?: number;
6843
6869
  /** @nullable */
@@ -6849,14 +6875,14 @@ export type RedtailGetContactRole200Role = {
6849
6875
  updated_at?: string | null;
6850
6876
  };
6851
6877
  export type RedtailGetContactRole200 = {
6852
- role: RedtailGetContactRole200Role;
6878
+ role?: RedtailGetContactRole200Role;
6853
6879
  };
6854
6880
  export type RedtailGetContactRoleBody = {
6855
6881
  /**
6856
6882
  * Redtail contact identifier
6857
6883
  * @minLength 1
6858
6884
  */
6859
- contactId: string;
6885
+ id: string;
6860
6886
  /** Integration user id for Redtail requests. */
6861
6887
  userId: string;
6862
6888
  };
@@ -6873,23 +6899,18 @@ export type RedtailUpdateImportantInformation200AnyOf = {
6873
6899
  success?: boolean;
6874
6900
  };
6875
6901
  export type RedtailUpdateImportantInformation200 = RedtailUpdateImportantInformation200AnyOf | '' | RedtailUpdateImportantInformation200AnyOfTwo | RedtailUpdateImportantInformation200AnyOfThree;
6876
- export type RedtailUpdateImportantInformationBodyAllOfThree = {
6877
- /** Integration user id for Redtail requests. */
6878
- userId: string;
6879
- };
6880
- export type RedtailUpdateImportantInformationBodyAllOfTwo = {
6881
- [key: string]: unknown | null;
6882
- };
6883
- export type RedtailUpdateImportantInformationBodyAllOf = {
6902
+ export type RedtailUpdateImportantInformationBody = {
6903
+ /** The content of the important information section. */
6904
+ content?: string;
6884
6905
  /**
6885
6906
  * Redtail contact identifier
6886
6907
  * @minLength 1
6887
6908
  */
6888
- contactId: string;
6909
+ id: string;
6889
6910
  /** Integration user id for Redtail requests. */
6890
6911
  userId: string;
6912
+ [key: string]: unknown | null;
6891
6913
  };
6892
- export type RedtailUpdateImportantInformationBody = RedtailUpdateImportantInformationBodyAllOf & RedtailUpdateImportantInformationBodyAllOfTwo & RedtailUpdateImportantInformationBodyAllOfThree;
6893
6914
  export type RedtailGetImportantInformation200ImportantInformation = {
6894
6915
  contact_id?: number;
6895
6916
  /** @nullable */
@@ -6910,7 +6931,7 @@ export type RedtailGetImportantInformationBody = {
6910
6931
  * Redtail contact identifier
6911
6932
  * @minLength 1
6912
6933
  */
6913
- contactId: string;
6934
+ id: string;
6914
6935
  /** Integration user id for Redtail requests. */
6915
6936
  userId: string;
6916
6937
  };
@@ -6969,17 +6990,20 @@ export type RedtailDeleteContactAccount200AnyOf = {
6969
6990
  success?: boolean;
6970
6991
  };
6971
6992
  export type RedtailDeleteContactAccount200 = RedtailDeleteContactAccount200AnyOf | '' | RedtailDeleteContactAccount200AnyOfTwo | RedtailDeleteContactAccount200AnyOfThree;
6993
+ /**
6994
+ * Get or delete a contact account: contact id, account id, and integration user (required by hub handlers).
6995
+ */
6972
6996
  export type RedtailDeleteContactAccountBody = {
6973
6997
  /**
6974
6998
  * Redtail account identifier
6975
6999
  * @minLength 1
6976
7000
  */
6977
- accountId?: string;
7001
+ accountId: string;
6978
7002
  /**
6979
7003
  * Redtail contact identifier
6980
7004
  * @minLength 1
6981
7005
  */
6982
- contactId: string;
7006
+ id: string;
6983
7007
  /** Integration user id for Redtail requests. */
6984
7008
  userId: string;
6985
7009
  };
@@ -6987,11 +7011,11 @@ export type RedtailUpdateContactAccount200AnyOfNine = {
6987
7011
  id?: number;
6988
7012
  success?: boolean;
6989
7013
  };
7014
+ export type RedtailUpdateContactAccount200 = RedtailUpdateContactAccount200AnyOf | RedtailUpdateContactAccount200AnyOfNine;
6990
7015
  export type RedtailUpdateContactAccount200AnyOfAccount = RedtailUpdateContactAccount200AnyOfAccountAnyOf | RedtailUpdateContactAccount200AnyOfAccountAnyOfFourItem[];
6991
7016
  export type RedtailUpdateContactAccount200AnyOf = {
6992
7017
  account: RedtailUpdateContactAccount200AnyOfAccount;
6993
7018
  };
6994
- export type RedtailUpdateContactAccount200 = RedtailUpdateContactAccount200AnyOf | RedtailUpdateContactAccount200AnyOfNine;
6995
7019
  /**
6996
7020
  * @nullable
6997
7021
  */
@@ -7056,42 +7080,38 @@ export type RedtailUpdateContactAccount200AnyOfAccountAnyOf = {
7056
7080
  /** @nullable */
7057
7081
  updated_at?: string | null;
7058
7082
  };
7059
- export type RedtailUpdateContactAccountBodyAllOfThree = {
7060
- /** Integration user id for Redtail requests. */
7061
- userId: string;
7062
- };
7063
- export type RedtailUpdateContactAccountBodyAllOfTwo = {
7064
- [key: string]: unknown | null;
7065
- };
7066
- export type RedtailUpdateContactAccountBodyAllOf = {
7083
+ export type RedtailUpdateContactAccountBody = {
7067
7084
  /**
7068
- * Redtail account identifier
7085
+ * Account type id. Required by Redtail.
7086
+ * @nullable
7087
+ */
7088
+ account_type_id?: number | null;
7089
+ /**
7090
+ * Redtail account id to update.
7069
7091
  * @minLength 1
7070
7092
  */
7071
- accountId?: string;
7093
+ accountId: string;
7094
+ company?: string;
7072
7095
  /**
7073
7096
  * Redtail contact identifier
7074
7097
  * @minLength 1
7075
7098
  */
7076
- contactId: string;
7099
+ id: string;
7100
+ number?: string;
7101
+ product?: string;
7102
+ /** @nullable */
7103
+ status_id?: number | null;
7104
+ taxqualified?: boolean;
7105
+ taxqualified_type?: string;
7077
7106
  /** Integration user id for Redtail requests. */
7078
7107
  userId: string;
7108
+ [key: string]: unknown | null;
7079
7109
  };
7080
- export type RedtailUpdateContactAccountBody = RedtailUpdateContactAccountBodyAllOf & RedtailUpdateContactAccountBodyAllOfTwo & RedtailUpdateContactAccountBodyAllOfThree;
7081
7110
  export type RedtailCreateContactAccount200AnyOfNine = {
7082
7111
  id?: number;
7083
7112
  success?: boolean;
7084
7113
  };
7085
- export type RedtailCreateContactAccount200AnyOfAccount = RedtailCreateContactAccount200AnyOfAccountAnyOf | RedtailCreateContactAccount200AnyOfAccountAnyOfFourItem[];
7086
- export type RedtailCreateContactAccount200AnyOf = {
7087
- account: RedtailCreateContactAccount200AnyOfAccount;
7088
- };
7089
7114
  export type RedtailCreateContactAccount200 = RedtailCreateContactAccount200AnyOf | RedtailCreateContactAccount200AnyOfNine;
7090
- /**
7091
- * @nullable
7092
- */
7093
- export type RedtailCreateContactAccount200AnyOfAccountAnyOfFourItemStatusAnyOf = unknown | null;
7094
- export type RedtailCreateContactAccount200AnyOfAccountAnyOfFourItemStatus = string | number | RedtailCreateContactAccount200AnyOfAccountAnyOfFourItemStatusAnyOf;
7095
7115
  export type RedtailCreateContactAccount200AnyOfAccountAnyOfFourItem = {
7096
7116
  /** @nullable */
7097
7117
  account_type?: string | null;
@@ -7119,6 +7139,15 @@ export type RedtailCreateContactAccount200AnyOfAccountAnyOfFourItem = {
7119
7139
  /** @nullable */
7120
7140
  updated_at?: string | null;
7121
7141
  };
7142
+ export type RedtailCreateContactAccount200AnyOfAccount = RedtailCreateContactAccount200AnyOfAccountAnyOf | RedtailCreateContactAccount200AnyOfAccountAnyOfFourItem[];
7143
+ export type RedtailCreateContactAccount200AnyOf = {
7144
+ account: RedtailCreateContactAccount200AnyOfAccount;
7145
+ };
7146
+ /**
7147
+ * @nullable
7148
+ */
7149
+ export type RedtailCreateContactAccount200AnyOfAccountAnyOfFourItemStatusAnyOf = unknown | null;
7150
+ export type RedtailCreateContactAccount200AnyOfAccountAnyOfFourItemStatus = string | number | RedtailCreateContactAccount200AnyOfAccountAnyOfFourItemStatusAnyOf;
7122
7151
  /**
7123
7152
  * @nullable
7124
7153
  */
@@ -7151,28 +7180,26 @@ export type RedtailCreateContactAccount200AnyOfAccountAnyOf = {
7151
7180
  /** @nullable */
7152
7181
  updated_at?: string | null;
7153
7182
  };
7154
- export type RedtailCreateContactAccountBodyAllOfThree = {
7155
- /** Integration user id for Redtail requests. */
7183
+ export type RedtailCreateContactAccountBody = {
7184
+ /**
7185
+ * Account type id. Required by Redtail.
7186
+ * @nullable
7187
+ */
7188
+ account_type_id: number | null;
7189
+ company?: string;
7190
+ /** @minLength 1 */
7191
+ id: string;
7192
+ number?: string;
7193
+ product?: string;
7194
+ /** @nullable */
7195
+ status_id?: number | null;
7196
+ taxqualified?: boolean;
7197
+ taxqualified_type?: string;
7156
7198
  userId: string;
7157
7199
  };
7158
- export type RedtailCreateContactAccountBodyAllOfTwo = {
7159
- [key: string]: unknown | null;
7200
+ export type RedtailGetContactAccount200 = {
7201
+ account: RedtailGetContactAccount200Account;
7160
7202
  };
7161
- export type RedtailCreateContactAccountBodyAllOf = {
7162
- /**
7163
- * Redtail account identifier
7164
- * @minLength 1
7165
- */
7166
- accountId?: string;
7167
- /**
7168
- * Redtail contact identifier
7169
- * @minLength 1
7170
- */
7171
- contactId: string;
7172
- /** Integration user id for Redtail requests. */
7173
- userId: string;
7174
- };
7175
- export type RedtailCreateContactAccountBody = RedtailCreateContactAccountBodyAllOf & RedtailCreateContactAccountBodyAllOfTwo & RedtailCreateContactAccountBodyAllOfThree;
7176
7203
  /**
7177
7204
  * @nullable
7178
7205
  */
@@ -7205,10 +7232,6 @@ export type RedtailGetContactAccount200AccountAnyOfFourItem = {
7205
7232
  /** @nullable */
7206
7233
  updated_at?: string | null;
7207
7234
  };
7208
- export type RedtailGetContactAccount200Account = RedtailGetContactAccount200AccountAnyOf | RedtailGetContactAccount200AccountAnyOfFourItem[];
7209
- export type RedtailGetContactAccount200 = {
7210
- account: RedtailGetContactAccount200Account;
7211
- };
7212
7235
  /**
7213
7236
  * @nullable
7214
7237
  */
@@ -7241,17 +7264,21 @@ export type RedtailGetContactAccount200AccountAnyOf = {
7241
7264
  /** @nullable */
7242
7265
  updated_at?: string | null;
7243
7266
  };
7267
+ export type RedtailGetContactAccount200Account = RedtailGetContactAccount200AccountAnyOf | RedtailGetContactAccount200AccountAnyOfFourItem[];
7268
+ /**
7269
+ * Get or delete a contact account: contact id, account id, and integration user (required by hub handlers).
7270
+ */
7244
7271
  export type RedtailGetContactAccountBody = {
7245
7272
  /**
7246
7273
  * Redtail account identifier
7247
7274
  * @minLength 1
7248
7275
  */
7249
- accountId?: string;
7276
+ accountId: string;
7250
7277
  /**
7251
7278
  * Redtail contact identifier
7252
7279
  * @minLength 1
7253
7280
  */
7254
- contactId: string;
7281
+ id: string;
7255
7282
  /** Integration user id for Redtail requests. */
7256
7283
  userId: string;
7257
7284
  };
@@ -7268,17 +7295,20 @@ export type RedtailDeleteContactNote200AnyOf = {
7268
7295
  success?: boolean;
7269
7296
  };
7270
7297
  export type RedtailDeleteContactNote200 = RedtailDeleteContactNote200AnyOf | '' | RedtailDeleteContactNote200AnyOfTwo | RedtailDeleteContactNote200AnyOfThree;
7298
+ /**
7299
+ * Get or delete a contact note: contact id, note id, and integration user (required by hub handlers).
7300
+ */
7271
7301
  export type RedtailDeleteContactNoteBody = {
7272
7302
  /**
7273
7303
  * Redtail contact identifier
7274
7304
  * @minLength 1
7275
7305
  */
7276
- contactId: string;
7306
+ id: string;
7277
7307
  /**
7278
7308
  * Redtail contact note identifier
7279
7309
  * @minLength 1
7280
7310
  */
7281
- noteId?: string;
7311
+ noteId: string;
7282
7312
  /** Integration user id for Redtail requests. */
7283
7313
  userId: string;
7284
7314
  };
@@ -7286,6 +7316,7 @@ export type RedtailCreateContactNote200AnyOfThree = {
7286
7316
  id?: number;
7287
7317
  success?: boolean;
7288
7318
  };
7319
+ export type RedtailCreateContactNote200 = RedtailCreateContactNote200AnyOf | RedtailCreateContactNote200AnyOfThree;
7289
7320
  export type RedtailCreateContactNote200AnyOfNote = {
7290
7321
  /** @nullable */
7291
7322
  added_by?: number | null;
@@ -7314,29 +7345,26 @@ export type RedtailCreateContactNote200AnyOfNote = {
7314
7345
  export type RedtailCreateContactNote200AnyOf = {
7315
7346
  note: RedtailCreateContactNote200AnyOfNote;
7316
7347
  };
7317
- export type RedtailCreateContactNote200 = RedtailCreateContactNote200AnyOf | RedtailCreateContactNote200AnyOfThree;
7318
- export type RedtailCreateContactNoteBodyAllOfThree = {
7319
- /** Integration user id for Redtail requests. */
7320
- userId: string;
7321
- };
7322
- export type RedtailCreateContactNoteBodyAllOfTwo = {
7323
- [key: string]: unknown | null;
7324
- };
7325
- export type RedtailCreateContactNoteBodyAllOf = {
7348
+ /**
7349
+ * Create a contact note. Extra Redtail fields are accepted.
7350
+ */
7351
+ export type RedtailCreateContactNoteBody = {
7352
+ body?: string;
7326
7353
  /**
7327
- * Redtail contact identifier
7328
- * @minLength 1
7354
+ * Category id. Required by Redtail.
7355
+ * @nullable
7329
7356
  */
7330
- contactId: string;
7357
+ category_id: number | null;
7358
+ /** @minLength 1 */
7359
+ id: string;
7360
+ linked_contact_ids?: number[];
7331
7361
  /**
7332
- * Redtail contact note identifier
7333
- * @minLength 1
7362
+ * Note type id. Required by Redtail.
7363
+ * @nullable
7334
7364
  */
7335
- noteId?: string;
7336
- /** Integration user id for Redtail requests. */
7365
+ note_type: number | null;
7337
7366
  userId: string;
7338
7367
  };
7339
- export type RedtailCreateContactNoteBody = RedtailCreateContactNoteBodyAllOf & RedtailCreateContactNoteBodyAllOfTwo & RedtailCreateContactNoteBodyAllOfThree;
7340
7368
  export type RedtailGetContactNote200AnyOfThreeNotes = {
7341
7369
  /** @nullable */
7342
7370
  added_by?: number | null;
@@ -7365,6 +7393,7 @@ export type RedtailGetContactNote200AnyOfThreeNotes = {
7365
7393
  export type RedtailGetContactNote200AnyOfThree = {
7366
7394
  notes: RedtailGetContactNote200AnyOfThreeNotes;
7367
7395
  };
7396
+ export type RedtailGetContactNote200 = RedtailGetContactNote200AnyOf | RedtailGetContactNote200AnyOfThree;
7368
7397
  export type RedtailGetContactNote200AnyOfNote = {
7369
7398
  /** @nullable */
7370
7399
  added_by?: number | null;
@@ -7393,18 +7422,20 @@ export type RedtailGetContactNote200AnyOfNote = {
7393
7422
  export type RedtailGetContactNote200AnyOf = {
7394
7423
  note: RedtailGetContactNote200AnyOfNote;
7395
7424
  };
7396
- export type RedtailGetContactNote200 = RedtailGetContactNote200AnyOf | RedtailGetContactNote200AnyOfThree;
7425
+ /**
7426
+ * Get or delete a contact note: contact id, note id, and integration user (required by hub handlers).
7427
+ */
7397
7428
  export type RedtailGetContactNoteBody = {
7398
7429
  /**
7399
7430
  * Redtail contact identifier
7400
7431
  * @minLength 1
7401
7432
  */
7402
- contactId: string;
7433
+ id: string;
7403
7434
  /**
7404
7435
  * Redtail contact note identifier
7405
7436
  * @minLength 1
7406
7437
  */
7407
- noteId?: string;
7438
+ noteId: string;
7408
7439
  /** Integration user id for Redtail requests. */
7409
7440
  userId: string;
7410
7441
  };
@@ -7441,17 +7472,15 @@ export type RedtailGetContactNotes200 = {
7441
7472
  meta?: RedtailGetContactNotes200Meta;
7442
7473
  notes?: RedtailGetContactNotes200NotesItem[];
7443
7474
  };
7475
+ /**
7476
+ * List contact notes: contact id and integration user only.
7477
+ */
7444
7478
  export type RedtailGetContactNotesBody = {
7445
7479
  /**
7446
7480
  * Redtail contact identifier
7447
7481
  * @minLength 1
7448
7482
  */
7449
- contactId: string;
7450
- /**
7451
- * Redtail contact note identifier
7452
- * @minLength 1
7453
- */
7454
- noteId?: string;
7483
+ id: string;
7455
7484
  /** Integration user id for Redtail requests. */
7456
7485
  userId: string;
7457
7486
  };
@@ -7473,7 +7502,7 @@ export type RedtailDeleteContactUrlBody = {
7473
7502
  * Redtail contact identifier
7474
7503
  * @minLength 1
7475
7504
  */
7476
- contactId: string;
7505
+ id: string;
7477
7506
  /**
7478
7507
  * Redtail contact URL identifier
7479
7508
  * @minLength 1
@@ -7495,28 +7524,25 @@ export type RedtailUpdateContactUrl200AnyOf = {
7495
7524
  success?: boolean;
7496
7525
  };
7497
7526
  export type RedtailUpdateContactUrl200 = RedtailUpdateContactUrl200AnyOf | '' | RedtailUpdateContactUrl200AnyOfTwo | RedtailUpdateContactUrl200AnyOfThree;
7498
- export type RedtailUpdateContactUrlBodyAllOfThree = {
7499
- /** Integration user id for Redtail requests. */
7500
- userId: string;
7501
- };
7502
- export type RedtailUpdateContactUrlBodyAllOfTwo = {
7503
- [key: string]: unknown | null;
7504
- };
7505
- export type RedtailUpdateContactUrlBodyAllOf = {
7527
+ export type RedtailUpdateContactUrlBody = {
7528
+ address?: string;
7529
+ custom_type?: string;
7506
7530
  /**
7507
7531
  * Redtail contact identifier
7508
7532
  * @minLength 1
7509
7533
  */
7510
- contactId: string;
7534
+ id: string;
7535
+ /** @nullable */
7536
+ url_type?: number | null;
7511
7537
  /**
7512
- * Redtail contact URL identifier
7538
+ * Redtail URL id to update.
7513
7539
  * @minLength 1
7514
7540
  */
7515
- urlId?: string;
7541
+ urlId: string;
7516
7542
  /** Integration user id for Redtail requests. */
7517
7543
  userId: string;
7544
+ [key: string]: unknown | null;
7518
7545
  };
7519
- export type RedtailUpdateContactUrlBody = RedtailUpdateContactUrlBodyAllOf & RedtailUpdateContactUrlBodyAllOfTwo & RedtailUpdateContactUrlBodyAllOfThree;
7520
7546
  /**
7521
7547
  * @nullable
7522
7548
  */
@@ -7530,28 +7556,15 @@ export type RedtailCreateContactUrl200AnyOf = {
7530
7556
  success?: boolean;
7531
7557
  };
7532
7558
  export type RedtailCreateContactUrl200 = RedtailCreateContactUrl200AnyOf | '' | RedtailCreateContactUrl200AnyOfTwo | RedtailCreateContactUrl200AnyOfThree;
7533
- export type RedtailCreateContactUrlBodyAllOfThree = {
7534
- /** Integration user id for Redtail requests. */
7535
- userId: string;
7536
- };
7537
- export type RedtailCreateContactUrlBodyAllOfTwo = {
7538
- [key: string]: unknown | null;
7539
- };
7540
- export type RedtailCreateContactUrlBodyAllOf = {
7541
- /**
7542
- * Redtail contact identifier
7543
- * @minLength 1
7544
- */
7545
- contactId: string;
7546
- /**
7547
- * Redtail contact URL identifier
7548
- * @minLength 1
7549
- */
7550
- urlId?: string;
7551
- /** Integration user id for Redtail requests. */
7559
+ export type RedtailCreateContactUrlBody = {
7560
+ address?: string;
7561
+ custom_type?: string;
7562
+ /** @minLength 1 */
7563
+ id: string;
7564
+ /** @nullable */
7565
+ url_type?: number | null;
7552
7566
  userId: string;
7553
7567
  };
7554
- export type RedtailCreateContactUrlBody = RedtailCreateContactUrlBodyAllOf & RedtailCreateContactUrlBodyAllOfTwo & RedtailCreateContactUrlBodyAllOfThree;
7555
7568
  export type RedtailGetContactUrl200Url = {
7556
7569
  contact_id?: number;
7557
7570
  /** @nullable */
@@ -7563,14 +7576,14 @@ export type RedtailGetContactUrl200Url = {
7563
7576
  updated_at?: string | null;
7564
7577
  };
7565
7578
  export type RedtailGetContactUrl200 = {
7566
- url: RedtailGetContactUrl200Url;
7579
+ url?: RedtailGetContactUrl200Url;
7567
7580
  };
7568
7581
  export type RedtailGetContactUrlBody = {
7569
7582
  /**
7570
7583
  * Redtail contact identifier
7571
7584
  * @minLength 1
7572
7585
  */
7573
- contactId: string;
7586
+ id: string;
7574
7587
  /**
7575
7588
  * Redtail contact URL identifier
7576
7589
  * @minLength 1
@@ -7595,14 +7608,14 @@ export type RedtailGetContactUrls200Meta = {
7595
7608
  };
7596
7609
  export type RedtailGetContactUrls200 = {
7597
7610
  meta?: RedtailGetContactUrls200Meta;
7598
- urls: RedtailGetContactUrls200UrlsItem[];
7611
+ urls?: RedtailGetContactUrls200UrlsItem[];
7599
7612
  };
7600
7613
  export type RedtailGetContactUrlsBody = {
7601
7614
  /**
7602
7615
  * Redtail contact identifier
7603
7616
  * @minLength 1
7604
7617
  */
7605
- contactId: string;
7618
+ id: string;
7606
7619
  /** Integration user id for Redtail requests. */
7607
7620
  userId: string;
7608
7621
  };
@@ -7624,7 +7637,7 @@ export type RedtailDeleteContactSocialMediaBody = {
7624
7637
  * Redtail contact identifier
7625
7638
  * @minLength 1
7626
7639
  */
7627
- contactId: string;
7640
+ id: string;
7628
7641
  /**
7629
7642
  * Redtail contact social media identifier
7630
7643
  * @minLength 1
@@ -7646,28 +7659,28 @@ export type RedtailUpdateContactSocialMedia200AnyOf = {
7646
7659
  success?: boolean;
7647
7660
  };
7648
7661
  export type RedtailUpdateContactSocialMedia200 = RedtailUpdateContactSocialMedia200AnyOf | '' | RedtailUpdateContactSocialMedia200AnyOfTwo | RedtailUpdateContactSocialMedia200AnyOfThree;
7649
- export type RedtailUpdateContactSocialMediaBodyAllOfThree = {
7650
- /** Integration user id for Redtail requests. */
7651
- userId: string;
7652
- };
7653
- export type RedtailUpdateContactSocialMediaBodyAllOfTwo = {
7654
- [key: string]: unknown | null;
7655
- };
7656
- export type RedtailUpdateContactSocialMediaBodyAllOf = {
7662
+ export type RedtailUpdateContactSocialMediaBody = {
7663
+ address?: string;
7664
+ custom_type?: string;
7657
7665
  /**
7658
7666
  * Redtail contact identifier
7659
7667
  * @minLength 1
7660
7668
  */
7661
- contactId: string;
7669
+ id: string;
7670
+ /**
7671
+ * Social media type id. Required by Redtail.
7672
+ * @nullable
7673
+ */
7674
+ social_media_type?: number | null;
7662
7675
  /**
7663
- * Redtail contact social media identifier
7676
+ * Redtail social media id to update.
7664
7677
  * @minLength 1
7665
7678
  */
7666
- socialMediaId?: string;
7679
+ socialMediaId: string;
7667
7680
  /** Integration user id for Redtail requests. */
7668
7681
  userId: string;
7682
+ [key: string]: unknown | null;
7669
7683
  };
7670
- export type RedtailUpdateContactSocialMediaBody = RedtailUpdateContactSocialMediaBodyAllOf & RedtailUpdateContactSocialMediaBodyAllOfTwo & RedtailUpdateContactSocialMediaBodyAllOfThree;
7671
7684
  /**
7672
7685
  * @nullable
7673
7686
  */
@@ -7681,28 +7694,18 @@ export type RedtailCreateContactSocialMedia200AnyOf = {
7681
7694
  success?: boolean;
7682
7695
  };
7683
7696
  export type RedtailCreateContactSocialMedia200 = RedtailCreateContactSocialMedia200AnyOf | '' | RedtailCreateContactSocialMedia200AnyOfTwo | RedtailCreateContactSocialMedia200AnyOfThree;
7684
- export type RedtailCreateContactSocialMediaBodyAllOfThree = {
7685
- /** Integration user id for Redtail requests. */
7686
- userId: string;
7687
- };
7688
- export type RedtailCreateContactSocialMediaBodyAllOfTwo = {
7689
- [key: string]: unknown | null;
7690
- };
7691
- export type RedtailCreateContactSocialMediaBodyAllOf = {
7692
- /**
7693
- * Redtail contact identifier
7694
- * @minLength 1
7695
- */
7696
- contactId: string;
7697
+ export type RedtailCreateContactSocialMediaBody = {
7698
+ address?: string;
7699
+ custom_type?: string;
7700
+ /** @minLength 1 */
7701
+ id: string;
7697
7702
  /**
7698
- * Redtail contact social media identifier
7699
- * @minLength 1
7703
+ * Social media type id. Required by Redtail.
7704
+ * @nullable
7700
7705
  */
7701
- socialMediaId?: string;
7702
- /** Integration user id for Redtail requests. */
7706
+ social_media_type: number | null;
7703
7707
  userId: string;
7704
7708
  };
7705
- export type RedtailCreateContactSocialMediaBody = RedtailCreateContactSocialMediaBodyAllOf & RedtailCreateContactSocialMediaBodyAllOfTwo & RedtailCreateContactSocialMediaBodyAllOfThree;
7706
7709
  export type RedtailGetContactSocialMedia200SocialMedia = {
7707
7710
  contact_id?: number;
7708
7711
  /** @nullable */
@@ -7714,14 +7717,14 @@ export type RedtailGetContactSocialMedia200SocialMedia = {
7714
7717
  updated_at?: string | null;
7715
7718
  };
7716
7719
  export type RedtailGetContactSocialMedia200 = {
7717
- social_media: RedtailGetContactSocialMedia200SocialMedia;
7720
+ social_media?: RedtailGetContactSocialMedia200SocialMedia;
7718
7721
  };
7719
7722
  export type RedtailGetContactSocialMediaBody = {
7720
7723
  /**
7721
7724
  * Redtail contact identifier
7722
7725
  * @minLength 1
7723
7726
  */
7724
- contactId: string;
7727
+ id: string;
7725
7728
  /**
7726
7729
  * Redtail contact social media identifier
7727
7730
  * @minLength 1
@@ -7746,14 +7749,14 @@ export type RedtailGetContactSocialMedias200Meta = {
7746
7749
  };
7747
7750
  export type RedtailGetContactSocialMedias200 = {
7748
7751
  meta?: RedtailGetContactSocialMedias200Meta;
7749
- social_medias: RedtailGetContactSocialMedias200SocialMediasItem[];
7752
+ social_medias?: RedtailGetContactSocialMedias200SocialMediasItem[];
7750
7753
  };
7751
7754
  export type RedtailGetContactSocialMediasBody = {
7752
7755
  /**
7753
7756
  * Redtail contact identifier
7754
7757
  * @minLength 1
7755
7758
  */
7756
- contactId: string;
7759
+ id: string;
7757
7760
  /** Integration user id for Redtail requests. */
7758
7761
  userId: string;
7759
7762
  };
@@ -7775,7 +7778,7 @@ export type RedtailDeleteContactPhoneBody = {
7775
7778
  * Redtail contact identifier
7776
7779
  * @minLength 1
7777
7780
  */
7778
- contactId: string;
7781
+ id: string;
7779
7782
  /**
7780
7783
  * Redtail contact phone identifier
7781
7784
  * @minLength 1
@@ -7797,28 +7800,37 @@ export type RedtailUpdateContactPhone200AnyOf = {
7797
7800
  success?: boolean;
7798
7801
  };
7799
7802
  export type RedtailUpdateContactPhone200 = RedtailUpdateContactPhone200AnyOf | '' | RedtailUpdateContactPhone200AnyOfTwo | RedtailUpdateContactPhone200AnyOfThree;
7800
- export type RedtailUpdateContactPhoneBodyAllOfThree = {
7801
- /** Integration user id for Redtail requests. */
7802
- userId: string;
7803
- };
7804
- export type RedtailUpdateContactPhoneBodyAllOfTwo = {
7805
- [key: string]: unknown | null;
7806
- };
7807
- export type RedtailUpdateContactPhoneBodyAllOf = {
7803
+ export type RedtailUpdateContactPhoneBody = {
7804
+ /**
7805
+ * Country code. Required by Redtail.
7806
+ * @nullable
7807
+ */
7808
+ country_code?: number | null;
7809
+ custom_type?: string;
7810
+ extension?: string;
7808
7811
  /**
7809
7812
  * Redtail contact identifier
7810
7813
  * @minLength 1
7811
7814
  */
7812
- contactId: string;
7815
+ id: string;
7816
+ is_preferred?: boolean;
7817
+ is_primary?: boolean;
7818
+ number?: string;
7819
+ /**
7820
+ * Phone type id. Required by Redtail.
7821
+ * @nullable
7822
+ */
7823
+ phone_type?: number | null;
7813
7824
  /**
7814
- * Redtail contact phone identifier
7825
+ * Redtail phone id to update.
7815
7826
  * @minLength 1
7816
7827
  */
7817
- phoneId?: string;
7828
+ phoneId: string;
7829
+ speed_dial?: string;
7818
7830
  /** Integration user id for Redtail requests. */
7819
7831
  userId: string;
7832
+ [key: string]: unknown | null;
7820
7833
  };
7821
- export type RedtailUpdateContactPhoneBody = RedtailUpdateContactPhoneBodyAllOf & RedtailUpdateContactPhoneBodyAllOfTwo & RedtailUpdateContactPhoneBodyAllOfThree;
7822
7834
  /**
7823
7835
  * @nullable
7824
7836
  */
@@ -7832,28 +7844,27 @@ export type RedtailCreateContactPhone200AnyOf = {
7832
7844
  success?: boolean;
7833
7845
  };
7834
7846
  export type RedtailCreateContactPhone200 = RedtailCreateContactPhone200AnyOf | '' | RedtailCreateContactPhone200AnyOfTwo | RedtailCreateContactPhone200AnyOfThree;
7835
- export type RedtailCreateContactPhoneBodyAllOfThree = {
7836
- /** Integration user id for Redtail requests. */
7837
- userId: string;
7838
- };
7839
- export type RedtailCreateContactPhoneBodyAllOfTwo = {
7840
- [key: string]: unknown | null;
7841
- };
7842
- export type RedtailCreateContactPhoneBodyAllOf = {
7847
+ export type RedtailCreateContactPhoneBody = {
7843
7848
  /**
7844
- * Redtail contact identifier
7845
- * @minLength 1
7849
+ * Country code. Required by Redtail.
7850
+ * @nullable
7846
7851
  */
7847
- contactId: string;
7852
+ country_code: number | null;
7853
+ custom_type?: string;
7854
+ extension?: string;
7855
+ /** @minLength 1 */
7856
+ id: string;
7857
+ is_preferred?: boolean;
7858
+ is_primary?: boolean;
7859
+ number?: string;
7848
7860
  /**
7849
- * Redtail contact phone identifier
7850
- * @minLength 1
7861
+ * Phone type id. Required by Redtail.
7862
+ * @nullable
7851
7863
  */
7852
- phoneId?: string;
7853
- /** Integration user id for Redtail requests. */
7864
+ phone_type: number | null;
7865
+ speed_dial?: string;
7854
7866
  userId: string;
7855
7867
  };
7856
- export type RedtailCreateContactPhoneBody = RedtailCreateContactPhoneBodyAllOf & RedtailCreateContactPhoneBodyAllOfTwo & RedtailCreateContactPhoneBodyAllOfThree;
7857
7868
  export type RedtailGetContactPhone200Phone = {
7858
7869
  contact_id?: number;
7859
7870
  /** @nullable */
@@ -7865,14 +7876,14 @@ export type RedtailGetContactPhone200Phone = {
7865
7876
  updated_at?: string | null;
7866
7877
  };
7867
7878
  export type RedtailGetContactPhone200 = {
7868
- phone: RedtailGetContactPhone200Phone;
7879
+ phone?: RedtailGetContactPhone200Phone;
7869
7880
  };
7870
7881
  export type RedtailGetContactPhoneBody = {
7871
7882
  /**
7872
7883
  * Redtail contact identifier
7873
7884
  * @minLength 1
7874
7885
  */
7875
- contactId: string;
7886
+ id: string;
7876
7887
  /**
7877
7888
  * Redtail contact phone identifier
7878
7889
  * @minLength 1
@@ -7897,14 +7908,14 @@ export type RedtailGetContactPhones200Meta = {
7897
7908
  };
7898
7909
  export type RedtailGetContactPhones200 = {
7899
7910
  meta?: RedtailGetContactPhones200Meta;
7900
- phones: RedtailGetContactPhones200PhonesItem[];
7911
+ phones?: RedtailGetContactPhones200PhonesItem[];
7901
7912
  };
7902
7913
  export type RedtailGetContactPhonesBody = {
7903
7914
  /**
7904
7915
  * Redtail contact identifier
7905
7916
  * @minLength 1
7906
7917
  */
7907
- contactId: string;
7918
+ id: string;
7908
7919
  /** Integration user id for Redtail requests. */
7909
7920
  userId: string;
7910
7921
  };
@@ -7923,15 +7934,15 @@ export type RedtailDeleteContactEmail200AnyOf = {
7923
7934
  export type RedtailDeleteContactEmail200 = RedtailDeleteContactEmail200AnyOf | '' | RedtailDeleteContactEmail200AnyOfTwo | RedtailDeleteContactEmail200AnyOfThree;
7924
7935
  export type RedtailDeleteContactEmailBody = {
7925
7936
  /**
7926
- * Redtail contact identifier
7937
+ * Redtail contact email identifier
7927
7938
  * @minLength 1
7928
7939
  */
7929
- contactId: string;
7940
+ emailId?: string;
7930
7941
  /**
7931
- * Redtail contact email identifier
7942
+ * Redtail contact identifier
7932
7943
  * @minLength 1
7933
7944
  */
7934
- emailId?: string;
7945
+ id: string;
7935
7946
  /** Integration user id for Redtail requests. */
7936
7947
  userId: string;
7937
7948
  };
@@ -7948,28 +7959,29 @@ export type RedtailUpdateContactEmail200AnyOf = {
7948
7959
  success?: boolean;
7949
7960
  };
7950
7961
  export type RedtailUpdateContactEmail200 = RedtailUpdateContactEmail200AnyOf | '' | RedtailUpdateContactEmail200AnyOfTwo | RedtailUpdateContactEmail200AnyOfThree;
7951
- export type RedtailUpdateContactEmailBodyAllOfThree = {
7952
- /** Integration user id for Redtail requests. */
7953
- userId: string;
7954
- };
7955
- export type RedtailUpdateContactEmailBodyAllOfTwo = {
7956
- [key: string]: unknown | null;
7957
- };
7958
- export type RedtailUpdateContactEmailBodyAllOf = {
7962
+ export type RedtailUpdateContactEmailBody = {
7963
+ address?: string;
7964
+ custom_type?: string;
7959
7965
  /**
7960
- * Redtail contact identifier
7966
+ * Email type id. Required by Redtail.
7967
+ * @nullable
7968
+ */
7969
+ email_type?: number | null;
7970
+ /**
7971
+ * Redtail email id to update.
7961
7972
  * @minLength 1
7962
7973
  */
7963
- contactId: string;
7974
+ emailId: string;
7964
7975
  /**
7965
- * Redtail contact email identifier
7976
+ * Redtail contact identifier
7966
7977
  * @minLength 1
7967
7978
  */
7968
- emailId?: string;
7979
+ id: string;
7980
+ is_primary?: boolean;
7969
7981
  /** Integration user id for Redtail requests. */
7970
7982
  userId: string;
7983
+ [key: string]: unknown | null;
7971
7984
  };
7972
- export type RedtailUpdateContactEmailBody = RedtailUpdateContactEmailBodyAllOf & RedtailUpdateContactEmailBodyAllOfTwo & RedtailUpdateContactEmailBodyAllOfThree;
7973
7985
  /**
7974
7986
  * @nullable
7975
7987
  */
@@ -7983,28 +7995,19 @@ export type RedtailCreateContactEmail200AnyOf = {
7983
7995
  success?: boolean;
7984
7996
  };
7985
7997
  export type RedtailCreateContactEmail200 = RedtailCreateContactEmail200AnyOf | '' | RedtailCreateContactEmail200AnyOfTwo | RedtailCreateContactEmail200AnyOfThree;
7986
- export type RedtailCreateContactEmailBodyAllOfThree = {
7987
- /** Integration user id for Redtail requests. */
7988
- userId: string;
7989
- };
7990
- export type RedtailCreateContactEmailBodyAllOfTwo = {
7991
- [key: string]: unknown | null;
7992
- };
7993
- export type RedtailCreateContactEmailBodyAllOf = {
7994
- /**
7995
- * Redtail contact identifier
7996
- * @minLength 1
7997
- */
7998
- contactId: string;
7998
+ export type RedtailCreateContactEmailBody = {
7999
+ address?: string;
8000
+ custom_type?: string;
7999
8001
  /**
8000
- * Redtail contact email identifier
8001
- * @minLength 1
8002
+ * Email type id. Required by Redtail.
8003
+ * @nullable
8002
8004
  */
8003
- emailId?: string;
8004
- /** Integration user id for Redtail requests. */
8005
+ email_type: number | null;
8006
+ /** @minLength 1 */
8007
+ id: string;
8008
+ is_primary?: boolean;
8005
8009
  userId: string;
8006
8010
  };
8007
- export type RedtailCreateContactEmailBody = RedtailCreateContactEmailBodyAllOf & RedtailCreateContactEmailBodyAllOfTwo & RedtailCreateContactEmailBodyAllOfThree;
8008
8011
  export type RedtailGetContactEmail200Email = {
8009
8012
  contact_id?: number;
8010
8013
  /** @nullable */
@@ -8016,19 +8019,19 @@ export type RedtailGetContactEmail200Email = {
8016
8019
  updated_at?: string | null;
8017
8020
  };
8018
8021
  export type RedtailGetContactEmail200 = {
8019
- email: RedtailGetContactEmail200Email;
8022
+ email?: RedtailGetContactEmail200Email;
8020
8023
  };
8021
8024
  export type RedtailGetContactEmailBody = {
8022
8025
  /**
8023
- * Redtail contact identifier
8026
+ * Redtail contact email identifier
8024
8027
  * @minLength 1
8025
8028
  */
8026
- contactId: string;
8029
+ emailId?: string;
8027
8030
  /**
8028
- * Redtail contact email identifier
8031
+ * Redtail contact identifier
8029
8032
  * @minLength 1
8030
8033
  */
8031
- emailId?: string;
8034
+ id: string;
8032
8035
  /** Integration user id for Redtail requests. */
8033
8036
  userId: string;
8034
8037
  };
@@ -8047,7 +8050,7 @@ export type RedtailGetContactEmails200EmailsItem = {
8047
8050
  updated_at?: string | null;
8048
8051
  };
8049
8052
  export type RedtailGetContactEmails200 = {
8050
- emails: RedtailGetContactEmails200EmailsItem[];
8053
+ emails?: RedtailGetContactEmails200EmailsItem[];
8051
8054
  meta?: RedtailGetContactEmails200Meta;
8052
8055
  };
8053
8056
  export type RedtailGetContactEmailsBody = {
@@ -8055,7 +8058,7 @@ export type RedtailGetContactEmailsBody = {
8055
8058
  * Redtail contact identifier
8056
8059
  * @minLength 1
8057
8060
  */
8058
- contactId: string;
8061
+ id: string;
8059
8062
  /** Integration user id for Redtail requests. */
8060
8063
  userId: string;
8061
8064
  };
@@ -8082,7 +8085,7 @@ export type RedtailDeleteContactAddressBody = {
8082
8085
  * Redtail contact identifier
8083
8086
  * @minLength 1
8084
8087
  */
8085
- contactId: string;
8088
+ id: string;
8086
8089
  /** Integration user id for Redtail requests. */
8087
8090
  userId: string;
8088
8091
  };
@@ -8099,28 +8102,45 @@ export type RedtailUpdateContactAddress200AnyOf = {
8099
8102
  success?: boolean;
8100
8103
  };
8101
8104
  export type RedtailUpdateContactAddress200 = RedtailUpdateContactAddress200AnyOf | '' | RedtailUpdateContactAddress200AnyOfTwo | RedtailUpdateContactAddress200AnyOfThree;
8102
- export type RedtailUpdateContactAddressBodyAllOfThree = {
8103
- /** Integration user id for Redtail requests. */
8104
- userId: string;
8105
- };
8106
- export type RedtailUpdateContactAddressBodyAllOfTwo = {
8107
- [key: string]: unknown | null;
8108
- };
8109
- export type RedtailUpdateContactAddressBodyAllOf = {
8105
+ /**
8106
+ * Create a contact address. Extra Redtail fields are accepted.
8107
+ */
8108
+ export type RedtailUpdateContactAddressBody = {
8110
8109
  /**
8111
- * Redtail contact address identifier
8110
+ * Address type id. Required by Redtail.
8111
+ * @nullable
8112
+ */
8113
+ address_type?: number | null;
8114
+ /**
8115
+ * Redtail address id to update.
8112
8116
  * @minLength 1
8113
8117
  */
8114
- addressId?: string;
8118
+ addressId: string;
8119
+ city?: string;
8120
+ country?: string;
8121
+ custom_type?: string;
8115
8122
  /**
8116
8123
  * Redtail contact identifier
8117
8124
  * @minLength 1
8118
8125
  */
8119
- contactId: string;
8126
+ id: string;
8127
+ is_primary?: boolean;
8128
+ secondary_address?: string;
8129
+ /**
8130
+ * State abbreviation. Required by Redtail.
8131
+ * @minLength 1
8132
+ */
8133
+ state?: string;
8134
+ street_address?: string;
8120
8135
  /** Integration user id for Redtail requests. */
8121
8136
  userId: string;
8137
+ /**
8138
+ * Zip code. Required by Redtail.
8139
+ * @minLength 1
8140
+ */
8141
+ zip?: string;
8142
+ [key: string]: unknown | null;
8122
8143
  };
8123
- export type RedtailUpdateContactAddressBody = RedtailUpdateContactAddressBodyAllOf & RedtailUpdateContactAddressBodyAllOfTwo & RedtailUpdateContactAddressBodyAllOfThree;
8124
8144
  /**
8125
8145
  * @nullable
8126
8146
  */
@@ -8134,28 +8154,38 @@ export type RedtailCreateContactAddress200AnyOf = {
8134
8154
  success?: boolean;
8135
8155
  };
8136
8156
  export type RedtailCreateContactAddress200 = RedtailCreateContactAddress200AnyOf | '' | RedtailCreateContactAddress200AnyOfTwo | RedtailCreateContactAddress200AnyOfThree;
8137
- export type RedtailCreateContactAddressBodyAllOfThree = {
8138
- /** Integration user id for Redtail requests. */
8139
- userId: string;
8140
- };
8141
- export type RedtailCreateContactAddressBodyAllOfTwo = {
8142
- [key: string]: unknown | null;
8143
- };
8144
- export type RedtailCreateContactAddressBodyAllOf = {
8157
+ /**
8158
+ * Create a contact address. Extra Redtail fields are accepted.
8159
+ */
8160
+ export type RedtailCreateContactAddressBody = {
8145
8161
  /**
8146
- * Redtail contact address identifier
8147
- * @minLength 1
8162
+ * Address type id. Required by Redtail.
8163
+ * @nullable
8148
8164
  */
8149
- addressId?: string;
8165
+ address_type: number | null;
8166
+ city?: string;
8167
+ country?: string;
8168
+ custom_type?: string;
8150
8169
  /**
8151
8170
  * Redtail contact identifier
8152
8171
  * @minLength 1
8153
8172
  */
8154
- contactId: string;
8155
- /** Integration user id for Redtail requests. */
8173
+ id: string;
8174
+ is_primary?: boolean;
8175
+ secondary_address?: string;
8176
+ /**
8177
+ * State abbreviation. Required by Redtail.
8178
+ * @minLength 1
8179
+ */
8180
+ state: string;
8181
+ street_address?: string;
8156
8182
  userId: string;
8183
+ /**
8184
+ * Zip code. Required by Redtail.
8185
+ * @minLength 1
8186
+ */
8187
+ zip: string;
8157
8188
  };
8158
- export type RedtailCreateContactAddressBody = RedtailCreateContactAddressBodyAllOf & RedtailCreateContactAddressBodyAllOfTwo & RedtailCreateContactAddressBodyAllOfThree;
8159
8189
  export type RedtailGetContactAddress200Address = {
8160
8190
  contact_id?: number;
8161
8191
  /** @nullable */
@@ -8167,7 +8197,7 @@ export type RedtailGetContactAddress200Address = {
8167
8197
  updated_at?: string | null;
8168
8198
  };
8169
8199
  export type RedtailGetContactAddress200 = {
8170
- address: RedtailGetContactAddress200Address;
8200
+ address?: RedtailGetContactAddress200Address;
8171
8201
  };
8172
8202
  export type RedtailGetContactAddressBody = {
8173
8203
  /**
@@ -8179,7 +8209,7 @@ export type RedtailGetContactAddressBody = {
8179
8209
  * Redtail contact identifier
8180
8210
  * @minLength 1
8181
8211
  */
8182
- contactId: string;
8212
+ id: string;
8183
8213
  /** Integration user id for Redtail requests. */
8184
8214
  userId: string;
8185
8215
  };
@@ -8198,7 +8228,7 @@ export type RedtailGetContactAddresses200AddressesItem = {
8198
8228
  updated_at?: string | null;
8199
8229
  };
8200
8230
  export type RedtailGetContactAddresses200 = {
8201
- addresses: RedtailGetContactAddresses200AddressesItem[];
8231
+ addresses?: RedtailGetContactAddresses200AddressesItem[];
8202
8232
  meta?: RedtailGetContactAddresses200Meta;
8203
8233
  };
8204
8234
  export type RedtailGetContactAddressesBody = {
@@ -8206,7 +8236,7 @@ export type RedtailGetContactAddressesBody = {
8206
8236
  * Redtail contact identifier
8207
8237
  * @minLength 1
8208
8238
  */
8209
- contactId: string;
8239
+ id: string;
8210
8240
  /** Integration user id for Redtail requests. */
8211
8241
  userId: string;
8212
8242
  };
@@ -8228,7 +8258,7 @@ export type RedtailDeleteContactBody = {
8228
8258
  * Redtail contact identifier
8229
8259
  * @minLength 1
8230
8260
  */
8231
- contactId: string;
8261
+ id: string;
8232
8262
  /** Integration user id for Redtail requests. */
8233
8263
  userId: string;
8234
8264
  };
@@ -8237,7 +8267,7 @@ export type RedtailCreateContact200AnyOfNine = {
8237
8267
  success?: boolean;
8238
8268
  };
8239
8269
  export type RedtailCreateContact200AnyOf = {
8240
- contact: RedtailCreateContact200AnyOfContact;
8270
+ contact?: RedtailCreateContact200AnyOfContact;
8241
8271
  };
8242
8272
  export type RedtailCreateContact200 = RedtailCreateContact200AnyOf | RedtailCreateContact200AnyOfNine;
8243
8273
  export type RedtailCreateContact200AnyOfContactUrlsItem = {
@@ -8375,18 +8405,66 @@ export type RedtailCreateContact200AnyOfContact = {
8375
8405
  /** @nullable */
8376
8406
  writing_advisor_id?: number | null;
8377
8407
  };
8378
- export type RedtailCreateContactBodyAllOfTwo = {
8379
- /** Integration user id for Redtail requests. */
8380
- userId: string;
8408
+ /**
8409
+ * Contact type. Required by Redtail.
8410
+ */
8411
+ export type RedtailCreateContactBodyType = typeof RedtailCreateContactBodyType[keyof typeof RedtailCreateContactBodyType];
8412
+ export declare const RedtailCreateContactBodyType: {
8413
+ readonly Individual: "Individual";
8414
+ readonly Business: "Business";
8415
+ readonly Association: "Association";
8416
+ readonly Trust: "Trust";
8417
+ readonly Union: "Union";
8381
8418
  };
8382
- export type RedtailCreateContactBodyAllOf = {
8383
- [key: string]: unknown | null;
8419
+ /**
8420
+ * Create contact. Additional Redtail fields are accepted.
8421
+ */
8422
+ export type RedtailCreateContactBody = {
8423
+ /** @nullable */
8424
+ category_id?: number | null;
8425
+ /** @nullable */
8426
+ client_since?: string | null;
8427
+ /** @nullable */
8428
+ client_termination_date?: string | null;
8429
+ company_name?: string;
8430
+ /** @nullable */
8431
+ death_date?: string | null;
8432
+ designation?: string;
8433
+ /** @nullable */
8434
+ dob?: string | null;
8435
+ /** @nullable */
8436
+ employer_id?: number | null;
8437
+ favorite?: boolean;
8438
+ first_name?: string;
8439
+ /** @nullable */
8440
+ gender_id?: number | null;
8441
+ job_title?: string;
8442
+ last_name?: string;
8443
+ /** @nullable */
8444
+ marital_date?: string | null;
8445
+ /** @nullable */
8446
+ marital_status_id?: number | null;
8447
+ middle_name?: string;
8448
+ nickname?: string;
8449
+ referred_by?: string;
8450
+ /** @nullable */
8451
+ salutation_id?: number | null;
8452
+ /** @nullable */
8453
+ servicing_advisor_id?: number | null;
8454
+ /** @nullable */
8455
+ source_id?: number | null;
8456
+ /** @nullable */
8457
+ status_id?: number | null;
8458
+ /** @nullable */
8459
+ suffix_id?: number | null;
8460
+ tax_id?: string;
8461
+ /** Contact type. Required by Redtail. */
8462
+ type: RedtailCreateContactBodyType;
8463
+ userId: string;
8464
+ /** @nullable */
8465
+ writing_advisor_id?: number | null;
8384
8466
  };
8385
- /**
8386
- * Pass-through request payload for Redtail write endpoints
8387
- */
8388
- export type RedtailCreateContactBody = RedtailCreateContactBodyAllOf & RedtailCreateContactBodyAllOfTwo;
8389
- export type GetNotes200NotesItem = {
8467
+ export type RedtailGetNotes200NotesItem = {
8390
8468
  /** @nullable */
8391
8469
  added_by?: number | null;
8392
8470
  /** @nullable */
@@ -8411,23 +8489,23 @@ export type GetNotes200NotesItem = {
8411
8489
  /** @nullable */
8412
8490
  updated_at?: string | null;
8413
8491
  };
8414
- export type GetNotes200Meta = {
8492
+ export type RedtailGetNotes200Meta = {
8415
8493
  total_pages?: number;
8416
8494
  total_records?: number;
8417
8495
  };
8418
- export type GetNotes200 = {
8419
- meta?: GetNotes200Meta;
8420
- notes?: GetNotes200NotesItem[];
8496
+ export type RedtailGetNotes200 = {
8497
+ meta?: RedtailGetNotes200Meta;
8498
+ notes?: RedtailGetNotes200NotesItem[];
8421
8499
  };
8422
- export type GetNotesBody = {
8500
+ export type RedtailGetNotesBody = {
8423
8501
  /** Integration user id for Redtail requests. */
8424
8502
  userId: string;
8425
8503
  };
8426
- export type GetActivityCodes200Meta = {
8504
+ export type RedtailGetActivityCodes200Meta = {
8427
8505
  total_pages?: number;
8428
8506
  total_records?: number;
8429
8507
  };
8430
- export type GetActivityCodes200ActivityCodesItem = {
8508
+ export type RedtailGetActivityCodes200ActivityCodesItem = {
8431
8509
  /** @nullable */
8432
8510
  created_at?: string | null;
8433
8511
  /** @nullable */
@@ -8440,19 +8518,19 @@ export type GetActivityCodes200ActivityCodesItem = {
8440
8518
  /** @nullable */
8441
8519
  updated_at?: string | null;
8442
8520
  };
8443
- export type GetActivityCodes200 = {
8444
- activity_codes: GetActivityCodes200ActivityCodesItem[];
8445
- meta?: GetActivityCodes200Meta;
8521
+ export type RedtailGetActivityCodes200 = {
8522
+ activity_codes: RedtailGetActivityCodes200ActivityCodesItem[];
8523
+ meta?: RedtailGetActivityCodes200Meta;
8446
8524
  };
8447
- export type GetActivityCodesBody = {
8525
+ export type RedtailGetActivityCodesBody = {
8448
8526
  /** Integration user id for Redtail requests. */
8449
8527
  userId: string;
8450
8528
  };
8451
- export type GetCategories200Meta = {
8529
+ export type RedtailGetCategories200Meta = {
8452
8530
  total_pages?: number;
8453
8531
  total_records?: number;
8454
8532
  };
8455
- export type GetCategories200CategoriesItem = {
8533
+ export type RedtailGetCategories200CategoriesItem = {
8456
8534
  /** @nullable */
8457
8535
  created_at?: string | null;
8458
8536
  /** @nullable */
@@ -8465,19 +8543,19 @@ export type GetCategories200CategoriesItem = {
8465
8543
  /** @nullable */
8466
8544
  updated_at?: string | null;
8467
8545
  };
8468
- export type GetCategories200 = {
8469
- categories: GetCategories200CategoriesItem[];
8470
- meta?: GetCategories200Meta;
8546
+ export type RedtailGetCategories200 = {
8547
+ categories: RedtailGetCategories200CategoriesItem[];
8548
+ meta?: RedtailGetCategories200Meta;
8471
8549
  };
8472
- export type GetCategoriesBody = {
8550
+ export type RedtailGetCategoriesBody = {
8473
8551
  /** Integration user id for Redtail requests. */
8474
8552
  userId: string;
8475
8553
  };
8476
- export type GetDatabaseUsers200Meta = {
8554
+ export type RedtailGetDatabaseUsers200Meta = {
8477
8555
  total_pages?: number;
8478
8556
  total_records?: number;
8479
8557
  };
8480
- export type GetDatabaseUsers200DatabaseUsersItem = {
8558
+ export type RedtailGetDatabaseUsers200DatabaseUsersItem = {
8481
8559
  /** @nullable */
8482
8560
  admin?: boolean | null;
8483
8561
  /** @nullable */
@@ -8490,15 +8568,15 @@ export type GetDatabaseUsers200DatabaseUsersItem = {
8490
8568
  /** @nullable */
8491
8569
  last_name?: string | null;
8492
8570
  };
8493
- export type GetDatabaseUsers200 = {
8494
- database_users: GetDatabaseUsers200DatabaseUsersItem[];
8495
- meta?: GetDatabaseUsers200Meta;
8571
+ export type RedtailGetDatabaseUsers200 = {
8572
+ database_users: RedtailGetDatabaseUsers200DatabaseUsersItem[];
8573
+ meta?: RedtailGetDatabaseUsers200Meta;
8496
8574
  };
8497
- export type GetDatabaseUsersBody = {
8575
+ export type RedtailGetDatabaseUsersBody = {
8498
8576
  /** Integration user id for Redtail requests. */
8499
8577
  userId: string;
8500
8578
  };
8501
- export type GetActivityNotes200NotesItem = {
8579
+ export type RedtailGetActivityNotes200NotesItem = {
8502
8580
  /** @nullable */
8503
8581
  added_by?: number | null;
8504
8582
  /** @nullable */
@@ -8523,11 +8601,11 @@ export type GetActivityNotes200NotesItem = {
8523
8601
  /** @nullable */
8524
8602
  updated_at?: string | null;
8525
8603
  };
8526
- export type GetActivityNotes200Meta = {
8604
+ export type RedtailGetActivityNotes200Meta = {
8527
8605
  total_pages?: number;
8528
8606
  total_records?: number;
8529
8607
  };
8530
- export type GetActivityNotes200ActivityNotesItem = {
8608
+ export type RedtailGetActivityNotes200ActivityNotesItem = {
8531
8609
  /** @nullable */
8532
8610
  added_by?: number | null;
8533
8611
  /** @nullable */
@@ -8552,39 +8630,40 @@ export type GetActivityNotes200ActivityNotesItem = {
8552
8630
  /** @nullable */
8553
8631
  updated_at?: string | null;
8554
8632
  };
8555
- export type GetActivityNotes200 = {
8556
- activity_notes?: GetActivityNotes200ActivityNotesItem[];
8557
- meta?: GetActivityNotes200Meta;
8558
- notes?: GetActivityNotes200NotesItem[];
8633
+ export type RedtailGetActivityNotes200 = {
8634
+ activity_notes?: RedtailGetActivityNotes200ActivityNotesItem[];
8635
+ meta?: RedtailGetActivityNotes200Meta;
8636
+ notes?: RedtailGetActivityNotes200NotesItem[];
8559
8637
  };
8560
- export type GetActivityNotesBody = {
8638
+ /**
8639
+ * List notes for an activity: activity id and integration user only.
8640
+ */
8641
+ export type RedtailGetActivityNotesBody = {
8561
8642
  /**
8562
8643
  * Redtail activity identifier
8563
8644
  * @minLength 1
8564
8645
  */
8565
8646
  activityId: string;
8566
- /**
8567
- * Redtail activity note identifier
8568
- * @minLength 1
8569
- */
8570
- noteId?: string;
8571
8647
  /** Integration user id for Redtail requests. */
8572
8648
  userId: string;
8573
8649
  };
8574
8650
  /**
8575
8651
  * @nullable
8576
8652
  */
8577
- export type DeleteActivityNote200AnyOfThree = unknown | null;
8653
+ export type RedtailDeleteActivityNote200AnyOfThree = unknown | null;
8578
8654
  /**
8579
8655
  * @nullable
8580
8656
  */
8581
- export type DeleteActivityNote200AnyOfTwo = unknown | null;
8582
- export type DeleteActivityNote200AnyOf = {
8657
+ export type RedtailDeleteActivityNote200AnyOfTwo = unknown | null;
8658
+ export type RedtailDeleteActivityNote200AnyOf = {
8583
8659
  id?: number;
8584
8660
  success?: boolean;
8585
8661
  };
8586
- export type DeleteActivityNote200 = DeleteActivityNote200AnyOf | '' | DeleteActivityNote200AnyOfTwo | DeleteActivityNote200AnyOfThree;
8587
- export type DeleteActivityNoteBody = {
8662
+ export type RedtailDeleteActivityNote200 = RedtailDeleteActivityNote200AnyOf | '' | RedtailDeleteActivityNote200AnyOfTwo | RedtailDeleteActivityNote200AnyOfThree;
8663
+ /**
8664
+ * Delete an activity note: activity id, note id, and integration user.
8665
+ */
8666
+ export type RedtailDeleteActivityNoteBody = {
8588
8667
  /**
8589
8668
  * Redtail activity identifier
8590
8669
  * @minLength 1
@@ -8594,15 +8673,16 @@ export type DeleteActivityNoteBody = {
8594
8673
  * Redtail activity note identifier
8595
8674
  * @minLength 1
8596
8675
  */
8597
- noteId?: string;
8676
+ noteId: string;
8598
8677
  /** Integration user id for Redtail requests. */
8599
8678
  userId: string;
8600
8679
  };
8601
- export type CreateActivityNote200AnyOfFive = {
8680
+ export type RedtailCreateActivityNote200AnyOfFive = {
8602
8681
  id?: number;
8603
8682
  success?: boolean;
8604
8683
  };
8605
- export type CreateActivityNote200AnyOfThreeActivityNote = {
8684
+ export type RedtailCreateActivityNote200 = RedtailCreateActivityNote200AnyOf | RedtailCreateActivityNote200AnyOfThree | RedtailCreateActivityNote200AnyOfFive;
8685
+ export type RedtailCreateActivityNote200AnyOfThreeActivityNote = {
8606
8686
  /** @nullable */
8607
8687
  added_by?: number | null;
8608
8688
  /** @nullable */
@@ -8627,10 +8707,10 @@ export type CreateActivityNote200AnyOfThreeActivityNote = {
8627
8707
  /** @nullable */
8628
8708
  updated_at?: string | null;
8629
8709
  };
8630
- export type CreateActivityNote200AnyOfThree = {
8631
- activity_note: CreateActivityNote200AnyOfThreeActivityNote;
8710
+ export type RedtailCreateActivityNote200AnyOfThree = {
8711
+ activity_note: RedtailCreateActivityNote200AnyOfThreeActivityNote;
8632
8712
  };
8633
- export type CreateActivityNote200AnyOfNote = {
8713
+ export type RedtailCreateActivityNote200AnyOfNote = {
8634
8714
  /** @nullable */
8635
8715
  added_by?: number | null;
8636
8716
  /** @nullable */
@@ -8655,22 +8735,20 @@ export type CreateActivityNote200AnyOfNote = {
8655
8735
  /** @nullable */
8656
8736
  updated_at?: string | null;
8657
8737
  };
8658
- export type CreateActivityNote200AnyOf = {
8659
- note: CreateActivityNote200AnyOfNote;
8738
+ export type RedtailCreateActivityNote200AnyOf = {
8739
+ note: RedtailCreateActivityNote200AnyOfNote;
8660
8740
  };
8661
- export type CreateActivityNote200 = CreateActivityNote200AnyOf | CreateActivityNote200AnyOfThree | CreateActivityNote200AnyOfFive;
8662
- export type CreateActivityNoteBody = {
8663
- /**
8664
- * Redtail activity identifier
8665
- * @minLength 1
8666
- */
8741
+ /**
8742
+ * Create a note on an activity. Hub strips `userId` and `activityId` before calling Redtail.
8743
+ */
8744
+ export type RedtailCreateActivityNoteBody = {
8745
+ /** @minLength 1 */
8667
8746
  activityId: string;
8668
- /**
8669
- * Redtail activity note identifier
8670
- * @minLength 1
8671
- */
8672
- noteId?: string;
8673
- /** Integration user id for Redtail requests. */
8747
+ body?: string;
8748
+ /** @nullable */
8749
+ category_id?: number | null;
8750
+ /** @nullable */
8751
+ note_type?: number | null;
8674
8752
  userId: string;
8675
8753
  };
8676
8754
  /**
@@ -8695,35 +8773,47 @@ export type RedtailDeleteActivityBody = {
8695
8773
  /** Integration user id for Redtail requests. */
8696
8774
  userId: string;
8697
8775
  };
8698
- export type UpdateActivity200 = {
8699
- activity: UpdateActivity200Activity;
8776
+ export type RedtailUpdateActivity200 = {
8777
+ activity: RedtailUpdateActivity200Activity;
8700
8778
  };
8701
8779
  /**
8702
8780
  * @nullable
8703
8781
  */
8704
- export type UpdateActivity200ActivityPrivacySettings = {
8782
+ export type RedtailUpdateActivity200ActivityStartDate = unknown | null;
8783
+ /**
8784
+ * @nullable
8785
+ */
8786
+ export type RedtailUpdateActivity200ActivityPrivacySettings = {
8705
8787
  [key: string]: unknown;
8706
8788
  } | null;
8707
- export type UpdateActivity200ActivityLinkedContactsItem = {
8789
+ export type RedtailUpdateActivity200ActivityLinkedContactsItem = {
8708
8790
  [key: string]: unknown;
8709
8791
  };
8710
- export type UpdateActivity200ActivityAttendeesItem = {
8792
+ /**
8793
+ * @nullable
8794
+ */
8795
+ export type RedtailUpdateActivity200ActivityEndDate = unknown | null;
8796
+ /**
8797
+ * @nullable
8798
+ */
8799
+ export type RedtailUpdateActivity200ActivityCompletedAt = unknown | null;
8800
+ export type RedtailUpdateActivity200ActivityAttendeesItem = {
8711
8801
  [key: string]: unknown;
8712
8802
  };
8713
- export type UpdateActivity200Activity = {
8803
+ export type RedtailUpdateActivity200Activity = {
8714
8804
  /** @nullable */
8715
8805
  activity_code_id?: number | null;
8716
8806
  /** @nullable */
8717
8807
  added_by?: number | null;
8718
8808
  /** @nullable */
8719
8809
  all_day?: boolean | null;
8720
- attendees?: UpdateActivity200ActivityAttendeesItem[];
8810
+ attendees?: RedtailUpdateActivity200ActivityAttendeesItem[];
8721
8811
  /** @nullable */
8722
8812
  category_id?: number | null;
8723
8813
  /** @nullable */
8724
8814
  completed?: boolean | null;
8725
8815
  /** @nullable */
8726
- completed_at?: string | null;
8816
+ completed_at?: RedtailUpdateActivity200ActivityCompletedAt;
8727
8817
  /** @nullable */
8728
8818
  created_at?: string | null;
8729
8819
  /** @nullable */
@@ -8731,7 +8821,7 @@ export type UpdateActivity200Activity = {
8731
8821
  /** @nullable */
8732
8822
  description?: string | null;
8733
8823
  /** @nullable */
8734
- end_date?: string | null;
8824
+ end_date?: RedtailUpdateActivity200ActivityEndDate;
8735
8825
  /** @nullable */
8736
8826
  ical?: string | null;
8737
8827
  id?: number;
@@ -8741,7 +8831,7 @@ export type UpdateActivity200Activity = {
8741
8831
  instance_id?: number | null;
8742
8832
  /** @nullable */
8743
8833
  is_private?: boolean | null;
8744
- linked_contacts?: UpdateActivity200ActivityLinkedContactsItem[];
8834
+ linked_contacts?: RedtailUpdateActivity200ActivityLinkedContactsItem[];
8745
8835
  /** @nullable */
8746
8836
  location?: string | null;
8747
8837
  /** @nullable */
@@ -8749,53 +8839,102 @@ export type UpdateActivity200Activity = {
8749
8839
  /** @nullable */
8750
8840
  priority?: number | null;
8751
8841
  /** @nullable */
8752
- privacy_settings?: UpdateActivity200ActivityPrivacySettings;
8842
+ privacy_settings?: RedtailUpdateActivity200ActivityPrivacySettings;
8753
8843
  /** @nullable */
8754
8844
  repeats?: string | null;
8755
8845
  /** @nullable */
8756
8846
  share_with_client?: boolean | null;
8757
8847
  /** @nullable */
8758
- start_date?: string | null;
8848
+ start_date?: RedtailUpdateActivity200ActivityStartDate;
8759
8849
  /** @nullable */
8760
8850
  subject?: string | null;
8761
8851
  /** @nullable */
8762
8852
  updated_at?: string | null;
8763
8853
  };
8764
- export type UpdateActivityBody = {
8854
+ /**
8855
+ * Create an activity. `userId` is for the integration hub only and is not sent to Redtail. Additional Redtail fields are accepted.
8856
+ */
8857
+ export type RedtailUpdateActivityBody = {
8858
+ /** @nullable */
8859
+ activity_code_id?: number | null;
8765
8860
  /**
8766
8861
  * Redtail activity identifier
8767
8862
  * @minLength 1
8768
8863
  */
8769
8864
  activityId: string;
8865
+ /** @nullable */
8866
+ all_day?: boolean | null;
8867
+ /** @nullable */
8868
+ category_id?: number | null;
8869
+ completed?: boolean;
8870
+ /** @nullable */
8871
+ description?: string | null;
8872
+ /** @nullable */
8873
+ end_date?: string | null;
8874
+ /** @nullable */
8875
+ importance?: number | null;
8876
+ instanced?: boolean;
8877
+ /** @nullable */
8878
+ location?: string | null;
8879
+ /** @nullable */
8880
+ percentdone?: number | null;
8881
+ /** @nullable */
8882
+ priority?: number | null;
8883
+ /** @nullable */
8884
+ repeat_ends?: string | null;
8885
+ /**
8886
+ * Recurrence pattern. Required by Redtail. Use "never" for non-repeating.
8887
+ * @nullable
8888
+ */
8889
+ repeats?: string | null;
8890
+ /** @nullable */
8891
+ start_date?: string | null;
8892
+ subject?: string;
8770
8893
  /** Integration user id for Redtail requests. */
8771
8894
  userId: string;
8895
+ [key: string]: unknown | null;
8772
8896
  };
8897
+ export type RedtailCreateActivity200 = {
8898
+ activity: RedtailCreateActivity200Activity;
8899
+ };
8900
+ /**
8901
+ * @nullable
8902
+ */
8903
+ export type RedtailCreateActivity200ActivityStartDate = unknown | null;
8773
8904
  /**
8774
8905
  * @nullable
8775
8906
  */
8776
- export type CreateActivity200ActivityPrivacySettings = {
8907
+ export type RedtailCreateActivity200ActivityPrivacySettings = {
8777
8908
  [key: string]: unknown;
8778
8909
  } | null;
8779
- export type CreateActivity200ActivityLinkedContactsItem = {
8910
+ export type RedtailCreateActivity200ActivityLinkedContactsItem = {
8780
8911
  [key: string]: unknown;
8781
8912
  };
8782
- export type CreateActivity200ActivityAttendeesItem = {
8913
+ /**
8914
+ * @nullable
8915
+ */
8916
+ export type RedtailCreateActivity200ActivityEndDate = unknown | null;
8917
+ /**
8918
+ * @nullable
8919
+ */
8920
+ export type RedtailCreateActivity200ActivityCompletedAt = unknown | null;
8921
+ export type RedtailCreateActivity200ActivityAttendeesItem = {
8783
8922
  [key: string]: unknown;
8784
8923
  };
8785
- export type CreateActivity200Activity = {
8924
+ export type RedtailCreateActivity200Activity = {
8786
8925
  /** @nullable */
8787
8926
  activity_code_id?: number | null;
8788
8927
  /** @nullable */
8789
8928
  added_by?: number | null;
8790
8929
  /** @nullable */
8791
8930
  all_day?: boolean | null;
8792
- attendees?: CreateActivity200ActivityAttendeesItem[];
8931
+ attendees?: RedtailCreateActivity200ActivityAttendeesItem[];
8793
8932
  /** @nullable */
8794
8933
  category_id?: number | null;
8795
8934
  /** @nullable */
8796
8935
  completed?: boolean | null;
8797
8936
  /** @nullable */
8798
- completed_at?: string | null;
8937
+ completed_at?: RedtailCreateActivity200ActivityCompletedAt;
8799
8938
  /** @nullable */
8800
8939
  created_at?: string | null;
8801
8940
  /** @nullable */
@@ -8803,7 +8942,7 @@ export type CreateActivity200Activity = {
8803
8942
  /** @nullable */
8804
8943
  description?: string | null;
8805
8944
  /** @nullable */
8806
- end_date?: string | null;
8945
+ end_date?: RedtailCreateActivity200ActivityEndDate;
8807
8946
  /** @nullable */
8808
8947
  ical?: string | null;
8809
8948
  id?: number;
@@ -8813,7 +8952,7 @@ export type CreateActivity200Activity = {
8813
8952
  instance_id?: number | null;
8814
8953
  /** @nullable */
8815
8954
  is_private?: boolean | null;
8816
- linked_contacts?: CreateActivity200ActivityLinkedContactsItem[];
8955
+ linked_contacts?: RedtailCreateActivity200ActivityLinkedContactsItem[];
8817
8956
  /** @nullable */
8818
8957
  location?: string | null;
8819
8958
  /** @nullable */
@@ -8821,50 +8960,95 @@ export type CreateActivity200Activity = {
8821
8960
  /** @nullable */
8822
8961
  priority?: number | null;
8823
8962
  /** @nullable */
8824
- privacy_settings?: CreateActivity200ActivityPrivacySettings;
8963
+ privacy_settings?: RedtailCreateActivity200ActivityPrivacySettings;
8825
8964
  /** @nullable */
8826
8965
  repeats?: string | null;
8827
8966
  /** @nullable */
8828
8967
  share_with_client?: boolean | null;
8829
8968
  /** @nullable */
8830
- start_date?: string | null;
8969
+ start_date?: RedtailCreateActivity200ActivityStartDate;
8831
8970
  /** @nullable */
8832
8971
  subject?: string | null;
8833
8972
  /** @nullable */
8834
8973
  updated_at?: string | null;
8835
8974
  };
8836
- export type CreateActivity200 = {
8837
- activity: CreateActivity200Activity;
8975
+ /**
8976
+ * Create an activity. `userId` is for the integration hub only and is not sent to Redtail. Additional Redtail fields are accepted.
8977
+ */
8978
+ export type RedtailCreateActivityBody = {
8979
+ /** @nullable */
8980
+ activity_code_id?: number | null;
8981
+ /** @nullable */
8982
+ all_day?: boolean | null;
8983
+ /** @nullable */
8984
+ category_id?: number | null;
8985
+ completed?: boolean;
8986
+ /** @nullable */
8987
+ description?: string | null;
8988
+ /** @nullable */
8989
+ end_date?: string | null;
8990
+ /** @nullable */
8991
+ importance?: number | null;
8992
+ instanced?: boolean;
8993
+ /** @nullable */
8994
+ location?: string | null;
8995
+ /** @nullable */
8996
+ percentdone?: number | null;
8997
+ /** @nullable */
8998
+ priority?: number | null;
8999
+ /** @nullable */
9000
+ repeat_ends?: string | null;
9001
+ /**
9002
+ * Recurrence pattern. Required by Redtail. Use "never" for non-repeating.
9003
+ * @nullable
9004
+ */
9005
+ repeats?: string | null;
9006
+ /** @nullable */
9007
+ start_date?: string | null;
9008
+ subject: string;
9009
+ userId: string;
8838
9010
  };
8839
- export type GetActivity200 = {
8840
- activity: GetActivity200Activity;
9011
+ export type RedtailGetActivity200 = {
9012
+ activity: RedtailGetActivity200Activity;
8841
9013
  };
8842
9014
  /**
8843
9015
  * @nullable
8844
9016
  */
8845
- export type GetActivity200ActivityPrivacySettings = {
9017
+ export type RedtailGetActivity200ActivityStartDate = unknown | null;
9018
+ /**
9019
+ * @nullable
9020
+ */
9021
+ export type RedtailGetActivity200ActivityPrivacySettings = {
8846
9022
  [key: string]: unknown;
8847
9023
  } | null;
8848
- export type GetActivity200ActivityLinkedContactsItem = {
9024
+ export type RedtailGetActivity200ActivityLinkedContactsItem = {
8849
9025
  [key: string]: unknown;
8850
9026
  };
8851
- export type GetActivity200ActivityAttendeesItem = {
9027
+ /**
9028
+ * @nullable
9029
+ */
9030
+ export type RedtailGetActivity200ActivityEndDate = unknown | null;
9031
+ /**
9032
+ * @nullable
9033
+ */
9034
+ export type RedtailGetActivity200ActivityCompletedAt = unknown | null;
9035
+ export type RedtailGetActivity200ActivityAttendeesItem = {
8852
9036
  [key: string]: unknown;
8853
9037
  };
8854
- export type GetActivity200Activity = {
9038
+ export type RedtailGetActivity200Activity = {
8855
9039
  /** @nullable */
8856
9040
  activity_code_id?: number | null;
8857
9041
  /** @nullable */
8858
9042
  added_by?: number | null;
8859
9043
  /** @nullable */
8860
9044
  all_day?: boolean | null;
8861
- attendees?: GetActivity200ActivityAttendeesItem[];
9045
+ attendees?: RedtailGetActivity200ActivityAttendeesItem[];
8862
9046
  /** @nullable */
8863
9047
  category_id?: number | null;
8864
9048
  /** @nullable */
8865
9049
  completed?: boolean | null;
8866
9050
  /** @nullable */
8867
- completed_at?: string | null;
9051
+ completed_at?: RedtailGetActivity200ActivityCompletedAt;
8868
9052
  /** @nullable */
8869
9053
  created_at?: string | null;
8870
9054
  /** @nullable */
@@ -8872,7 +9056,7 @@ export type GetActivity200Activity = {
8872
9056
  /** @nullable */
8873
9057
  description?: string | null;
8874
9058
  /** @nullable */
8875
- end_date?: string | null;
9059
+ end_date?: RedtailGetActivity200ActivityEndDate;
8876
9060
  /** @nullable */
8877
9061
  ical?: string | null;
8878
9062
  id?: number;
@@ -8882,7 +9066,7 @@ export type GetActivity200Activity = {
8882
9066
  instance_id?: number | null;
8883
9067
  /** @nullable */
8884
9068
  is_private?: boolean | null;
8885
- linked_contacts?: GetActivity200ActivityLinkedContactsItem[];
9069
+ linked_contacts?: RedtailGetActivity200ActivityLinkedContactsItem[];
8886
9070
  /** @nullable */
8887
9071
  location?: string | null;
8888
9072
  /** @nullable */
@@ -8890,19 +9074,19 @@ export type GetActivity200Activity = {
8890
9074
  /** @nullable */
8891
9075
  priority?: number | null;
8892
9076
  /** @nullable */
8893
- privacy_settings?: GetActivity200ActivityPrivacySettings;
9077
+ privacy_settings?: RedtailGetActivity200ActivityPrivacySettings;
8894
9078
  /** @nullable */
8895
9079
  repeats?: string | null;
8896
9080
  /** @nullable */
8897
9081
  share_with_client?: boolean | null;
8898
9082
  /** @nullable */
8899
- start_date?: string | null;
9083
+ start_date?: RedtailGetActivity200ActivityStartDate;
8900
9084
  /** @nullable */
8901
9085
  subject?: string | null;
8902
9086
  /** @nullable */
8903
9087
  updated_at?: string | null;
8904
9088
  };
8905
- export type GetActivityBody = {
9089
+ export type RedtailGetActivityBody = {
8906
9090
  /**
8907
9091
  * Redtail activity identifier
8908
9092
  * @minLength 1
@@ -8911,40 +9095,52 @@ export type GetActivityBody = {
8911
9095
  /** Integration user id for Redtail requests. */
8912
9096
  userId: string;
8913
9097
  };
8914
- export type GetActivities200Meta = {
9098
+ export type RedtailGetActivities200Meta = {
8915
9099
  total_pages?: number;
8916
9100
  total_records?: number;
8917
9101
  };
8918
- export type GetActivities200 = {
8919
- activities?: GetActivities200ActivitiesItem[];
8920
- meta?: GetActivities200Meta;
9102
+ export type RedtailGetActivities200 = {
9103
+ activities?: RedtailGetActivities200ActivitiesItem[];
9104
+ meta?: RedtailGetActivities200Meta;
8921
9105
  };
8922
9106
  /**
8923
9107
  * @nullable
8924
9108
  */
8925
- export type GetActivities200ActivitiesItemPrivacySettings = {
9109
+ export type RedtailGetActivities200ActivitiesItemStartDate = unknown | null;
9110
+ /**
9111
+ * @nullable
9112
+ */
9113
+ export type RedtailGetActivities200ActivitiesItemPrivacySettings = {
8926
9114
  [key: string]: unknown;
8927
9115
  } | null;
8928
- export type GetActivities200ActivitiesItemLinkedContactsItem = {
9116
+ export type RedtailGetActivities200ActivitiesItemLinkedContactsItem = {
8929
9117
  [key: string]: unknown;
8930
9118
  };
8931
- export type GetActivities200ActivitiesItemAttendeesItem = {
9119
+ /**
9120
+ * @nullable
9121
+ */
9122
+ export type RedtailGetActivities200ActivitiesItemEndDate = unknown | null;
9123
+ /**
9124
+ * @nullable
9125
+ */
9126
+ export type RedtailGetActivities200ActivitiesItemCompletedAt = unknown | null;
9127
+ export type RedtailGetActivities200ActivitiesItemAttendeesItem = {
8932
9128
  [key: string]: unknown;
8933
9129
  };
8934
- export type GetActivities200ActivitiesItem = {
9130
+ export type RedtailGetActivities200ActivitiesItem = {
8935
9131
  /** @nullable */
8936
9132
  activity_code_id?: number | null;
8937
9133
  /** @nullable */
8938
9134
  added_by?: number | null;
8939
9135
  /** @nullable */
8940
9136
  all_day?: boolean | null;
8941
- attendees?: GetActivities200ActivitiesItemAttendeesItem[];
9137
+ attendees?: RedtailGetActivities200ActivitiesItemAttendeesItem[];
8942
9138
  /** @nullable */
8943
9139
  category_id?: number | null;
8944
9140
  /** @nullable */
8945
9141
  completed?: boolean | null;
8946
9142
  /** @nullable */
8947
- completed_at?: string | null;
9143
+ completed_at?: RedtailGetActivities200ActivitiesItemCompletedAt;
8948
9144
  /** @nullable */
8949
9145
  created_at?: string | null;
8950
9146
  /** @nullable */
@@ -8952,7 +9148,7 @@ export type GetActivities200ActivitiesItem = {
8952
9148
  /** @nullable */
8953
9149
  description?: string | null;
8954
9150
  /** @nullable */
8955
- end_date?: string | null;
9151
+ end_date?: RedtailGetActivities200ActivitiesItemEndDate;
8956
9152
  /** @nullable */
8957
9153
  ical?: string | null;
8958
9154
  id?: number;
@@ -8962,7 +9158,7 @@ export type GetActivities200ActivitiesItem = {
8962
9158
  instance_id?: number | null;
8963
9159
  /** @nullable */
8964
9160
  is_private?: boolean | null;
8965
- linked_contacts?: GetActivities200ActivitiesItemLinkedContactsItem[];
9161
+ linked_contacts?: RedtailGetActivities200ActivitiesItemLinkedContactsItem[];
8966
9162
  /** @nullable */
8967
9163
  location?: string | null;
8968
9164
  /** @nullable */
@@ -8970,19 +9166,19 @@ export type GetActivities200ActivitiesItem = {
8970
9166
  /** @nullable */
8971
9167
  priority?: number | null;
8972
9168
  /** @nullable */
8973
- privacy_settings?: GetActivities200ActivitiesItemPrivacySettings;
9169
+ privacy_settings?: RedtailGetActivities200ActivitiesItemPrivacySettings;
8974
9170
  /** @nullable */
8975
9171
  repeats?: string | null;
8976
9172
  /** @nullable */
8977
9173
  share_with_client?: boolean | null;
8978
9174
  /** @nullable */
8979
- start_date?: string | null;
9175
+ start_date?: RedtailGetActivities200ActivitiesItemStartDate;
8980
9176
  /** @nullable */
8981
9177
  subject?: string | null;
8982
9178
  /** @nullable */
8983
9179
  updated_at?: string | null;
8984
9180
  };
8985
- export type GetActivitiesBodyAllOfTwo = {
9181
+ export type RedtailGetActivitiesBodyAllOfTwo = {
8986
9182
  /**
8987
9183
  * End date for activities query
8988
9184
  * @minLength 1
@@ -9000,12 +9196,12 @@ export type GetActivitiesBodyAllOfTwo = {
9000
9196
  */
9001
9197
  start_date: string;
9002
9198
  };
9003
- export type GetActivitiesBodyAllOf = {
9199
+ export type RedtailGetActivitiesBodyAllOf = {
9004
9200
  /** Integration user id for Redtail requests. */
9005
9201
  userId: string;
9006
9202
  };
9007
- export type GetActivitiesBody = GetActivitiesBodyAllOf & GetActivitiesBodyAllOfTwo;
9008
- export type GetAccountDetails200AccountDetails = {
9203
+ export type RedtailGetActivitiesBody = RedtailGetActivitiesBodyAllOf & RedtailGetActivitiesBodyAllOfTwo;
9204
+ export type RedtailGetAccountDetails200AccountDetails = {
9009
9205
  account_id?: number;
9010
9206
  /** @nullable */
9011
9207
  application_date?: string | null;
@@ -9027,10 +9223,10 @@ export type GetAccountDetails200AccountDetails = {
9027
9223
  /** @nullable */
9028
9224
  updated_at?: string | null;
9029
9225
  };
9030
- export type GetAccountDetails200 = {
9031
- account_details: GetAccountDetails200AccountDetails;
9226
+ export type RedtailGetAccountDetails200 = {
9227
+ account_details: RedtailGetAccountDetails200AccountDetails;
9032
9228
  };
9033
- export type GetAccountDetailsBody = {
9229
+ export type RedtailGetAccountDetailsBody = {
9034
9230
  /**
9035
9231
  * Redtail account identifier
9036
9232
  * @minLength 1
@@ -9039,19 +9235,19 @@ export type GetAccountDetailsBody = {
9039
9235
  /** Integration user id for Redtail requests. */
9040
9236
  userId: string;
9041
9237
  };
9042
- export type GetAccountOwners200OwnersItem = {
9238
+ export type RedtailGetAccountOwners200OwnersItem = {
9043
9239
  [key: string]: unknown;
9044
9240
  };
9045
- export type GetAccountOwners200Meta = {
9241
+ export type RedtailGetAccountOwners200Meta = {
9046
9242
  total_pages?: number;
9047
9243
  total_records?: number;
9048
9244
  };
9049
9245
  /**
9050
9246
  * @nullable
9051
9247
  */
9052
- export type GetAccountOwners200AccountsItemStatusAnyOf = unknown | null;
9053
- export type GetAccountOwners200AccountsItemStatus = string | number | GetAccountOwners200AccountsItemStatusAnyOf;
9054
- export type GetAccountOwners200AccountsItem = {
9248
+ export type RedtailGetAccountOwners200AccountsItemStatusAnyOf = unknown | null;
9249
+ export type RedtailGetAccountOwners200AccountsItemStatus = string | number | RedtailGetAccountOwners200AccountsItemStatusAnyOf;
9250
+ export type RedtailGetAccountOwners200AccountsItem = {
9055
9251
  /** @nullable */
9056
9252
  account_type?: string | null;
9057
9253
  /** @nullable */
@@ -9068,7 +9264,7 @@ export type GetAccountOwners200AccountsItem = {
9068
9264
  number?: string | null;
9069
9265
  /** @nullable */
9070
9266
  product?: string | null;
9071
- status?: GetAccountOwners200AccountsItemStatus;
9267
+ status?: RedtailGetAccountOwners200AccountsItemStatus;
9072
9268
  /** @nullable */
9073
9269
  status_id?: number | null;
9074
9270
  /** @nullable */
@@ -9078,16 +9274,16 @@ export type GetAccountOwners200AccountsItem = {
9078
9274
  /** @nullable */
9079
9275
  updated_at?: string | null;
9080
9276
  };
9081
- export type GetAccountOwners200AccountOwnersItem = {
9277
+ export type RedtailGetAccountOwners200AccountOwnersItem = {
9082
9278
  [key: string]: unknown;
9083
9279
  };
9084
- export type GetAccountOwners200 = {
9085
- account_owners?: GetAccountOwners200AccountOwnersItem[];
9086
- accounts?: GetAccountOwners200AccountsItem[];
9087
- meta?: GetAccountOwners200Meta;
9088
- owners?: GetAccountOwners200OwnersItem[];
9280
+ export type RedtailGetAccountOwners200 = {
9281
+ account_owners?: RedtailGetAccountOwners200AccountOwnersItem[];
9282
+ accounts?: RedtailGetAccountOwners200AccountsItem[];
9283
+ meta?: RedtailGetAccountOwners200Meta;
9284
+ owners?: RedtailGetAccountOwners200OwnersItem[];
9089
9285
  };
9090
- export type GetAccountOwnersBody = {
9286
+ export type RedtailGetAccountOwnersBody = {
9091
9287
  /**
9092
9288
  * Redtail account identifier
9093
9289
  * @minLength 1
@@ -9096,20 +9292,20 @@ export type GetAccountOwnersBody = {
9096
9292
  /** Integration user id for Redtail requests. */
9097
9293
  userId: string;
9098
9294
  };
9099
- export type GetContactAccounts200Meta = {
9295
+ export type RedtailGetContactAccounts200Meta = {
9100
9296
  total_pages?: number;
9101
9297
  total_records?: number;
9102
9298
  };
9103
- export type GetContactAccounts200 = {
9104
- accounts: GetContactAccounts200AccountsItem[];
9105
- meta?: GetContactAccounts200Meta;
9299
+ export type RedtailGetContactAccounts200 = {
9300
+ accounts?: RedtailGetContactAccounts200AccountsItem[];
9301
+ meta?: RedtailGetContactAccounts200Meta;
9106
9302
  };
9107
9303
  /**
9108
9304
  * @nullable
9109
9305
  */
9110
- export type GetContactAccounts200AccountsItemStatusAnyOf = unknown | null;
9111
- export type GetContactAccounts200AccountsItemStatus = string | number | GetContactAccounts200AccountsItemStatusAnyOf;
9112
- export type GetContactAccounts200AccountsItem = {
9306
+ export type RedtailGetContactAccounts200AccountsItemStatusAnyOf = unknown | null;
9307
+ export type RedtailGetContactAccounts200AccountsItemStatus = string | number | RedtailGetContactAccounts200AccountsItemStatusAnyOf;
9308
+ export type RedtailGetContactAccounts200AccountsItem = {
9113
9309
  /** @nullable */
9114
9310
  account_type?: string | null;
9115
9311
  /** @nullable */
@@ -9126,7 +9322,7 @@ export type GetContactAccounts200AccountsItem = {
9126
9322
  number?: string | null;
9127
9323
  /** @nullable */
9128
9324
  product?: string | null;
9129
- status?: GetContactAccounts200AccountsItemStatus;
9325
+ status?: RedtailGetContactAccounts200AccountsItemStatus;
9130
9326
  /** @nullable */
9131
9327
  status_id?: number | null;
9132
9328
  /** @nullable */
@@ -9136,16 +9332,16 @@ export type GetContactAccounts200AccountsItem = {
9136
9332
  /** @nullable */
9137
9333
  updated_at?: string | null;
9138
9334
  };
9139
- export type GetContactAccountsBody = {
9335
+ export type RedtailGetContactAccountsBody = {
9140
9336
  /**
9141
9337
  * Redtail contact identifier
9142
9338
  * @minLength 1
9143
9339
  */
9144
- contactId: string;
9340
+ id: string;
9145
9341
  /** Integration user id for Redtail requests. */
9146
9342
  userId: string;
9147
9343
  };
9148
- export type GetContactPersonalProfile200PersonalProfile = {
9344
+ export type RedtailGetContactPersonalProfile200PersonalProfile = {
9149
9345
  /** @nullable */
9150
9346
  alien_country?: string | null;
9151
9347
  /** @nullable */
@@ -9187,25 +9383,28 @@ export type GetContactPersonalProfile200PersonalProfile = {
9187
9383
  /** @nullable */
9188
9384
  weight?: string | null;
9189
9385
  };
9190
- export type GetContactPersonalProfile200 = {
9191
- personal_profile: GetContactPersonalProfile200PersonalProfile;
9386
+ export type RedtailGetContactPersonalProfile200 = {
9387
+ personal_profile?: RedtailGetContactPersonalProfile200PersonalProfile;
9192
9388
  };
9193
- export type GetContactPersonalProfileBody = {
9389
+ export type RedtailGetContactPersonalProfileBody = {
9194
9390
  /**
9195
9391
  * Redtail contact identifier
9196
9392
  * @minLength 1
9197
9393
  */
9198
- contactId: string;
9394
+ id: string;
9199
9395
  /** Integration user id for Redtail requests. */
9200
9396
  userId: string;
9201
9397
  };
9202
- export type UpdateContact200ContactUrlsItem = {
9398
+ export type RedtailUpdateContact200 = {
9399
+ contact?: RedtailUpdateContact200Contact;
9400
+ };
9401
+ export type RedtailUpdateContact200ContactUrlsItem = {
9203
9402
  [key: string]: unknown;
9204
9403
  };
9205
- export type UpdateContact200ContactPhonesItem = {
9404
+ export type RedtailUpdateContact200ContactPhonesItem = {
9206
9405
  [key: string]: unknown;
9207
9406
  };
9208
- export type UpdateContact200ContactFamilyMembersItem = {
9407
+ export type RedtailUpdateContact200ContactFamilyMembersItem = {
9209
9408
  contact_id?: number;
9210
9409
  /** @nullable */
9211
9410
  created_at?: string | null;
@@ -9225,28 +9424,28 @@ export type UpdateContact200ContactFamilyMembersItem = {
9225
9424
  /**
9226
9425
  * @nullable
9227
9426
  */
9228
- export type UpdateContact200ContactFamily = {
9427
+ export type RedtailUpdateContact200ContactFamily = {
9229
9428
  /** @nullable */
9230
9429
  created_at?: string | null;
9231
9430
  /** @nullable */
9232
9431
  deleted?: boolean | null;
9233
9432
  id?: number;
9234
- members?: UpdateContact200ContactFamilyMembersItem[];
9433
+ members?: RedtailUpdateContact200ContactFamilyMembersItem[];
9235
9434
  /** @nullable */
9236
9435
  name?: string | null;
9237
9436
  /** @nullable */
9238
9437
  updated_at?: string | null;
9239
9438
  } | null;
9240
- export type UpdateContact200ContactEmailsItem = {
9439
+ export type RedtailUpdateContact200ContactEmailsItem = {
9241
9440
  [key: string]: unknown;
9242
9441
  };
9243
- export type UpdateContact200ContactAddressesItem = {
9442
+ export type RedtailUpdateContact200ContactAddressesItem = {
9244
9443
  [key: string]: unknown;
9245
9444
  };
9246
- export type UpdateContact200Contact = {
9445
+ export type RedtailUpdateContact200Contact = {
9247
9446
  /** @nullable */
9248
9447
  added_by?: number | null;
9249
- addresses?: UpdateContact200ContactAddressesItem[];
9448
+ addresses?: RedtailUpdateContact200ContactAddressesItem[];
9250
9449
  /** @nullable */
9251
9450
  category?: string | null;
9252
9451
  /** @nullable */
@@ -9267,13 +9466,13 @@ export type UpdateContact200Contact = {
9267
9466
  designation?: string | null;
9268
9467
  /** @nullable */
9269
9468
  dob?: string | null;
9270
- emails?: UpdateContact200ContactEmailsItem[];
9469
+ emails?: RedtailUpdateContact200ContactEmailsItem[];
9271
9470
  /** @nullable */
9272
9471
  employer?: string | null;
9273
9472
  /** @nullable */
9274
9473
  employer_id?: number | null;
9275
9474
  /** @nullable */
9276
- family?: UpdateContact200ContactFamily;
9475
+ family?: RedtailUpdateContact200ContactFamily;
9277
9476
  /** @nullable */
9278
9477
  favorite?: boolean | null;
9279
9478
  /** @nullable */
@@ -9299,7 +9498,7 @@ export type UpdateContact200Contact = {
9299
9498
  middle_name?: string | null;
9300
9499
  /** @nullable */
9301
9500
  nickname?: string | null;
9302
- phones?: UpdateContact200ContactPhonesItem[];
9501
+ phones?: RedtailUpdateContact200ContactPhonesItem[];
9303
9502
  /** @nullable */
9304
9503
  referred_by?: string | null;
9305
9504
  /** @nullable */
@@ -9328,35 +9527,93 @@ export type UpdateContact200Contact = {
9328
9527
  type?: string | null;
9329
9528
  /** @nullable */
9330
9529
  updated_at?: string | null;
9331
- urls?: UpdateContact200ContactUrlsItem[];
9530
+ urls?: RedtailUpdateContact200ContactUrlsItem[];
9332
9531
  /** @nullable */
9333
9532
  writing_advisor?: string | null;
9334
9533
  /** @nullable */
9335
9534
  writing_advisor_id?: number | null;
9336
9535
  };
9337
- export type UpdateContact200 = {
9338
- contact: UpdateContact200Contact;
9536
+ /**
9537
+ * Contact type. Required by Redtail.
9538
+ */
9539
+ export type RedtailUpdateContactBodyType = typeof RedtailUpdateContactBodyType[keyof typeof RedtailUpdateContactBodyType];
9540
+ export declare const RedtailUpdateContactBodyType: {
9541
+ readonly Individual: "Individual";
9542
+ readonly Business: "Business";
9543
+ readonly Association: "Association";
9544
+ readonly Trust: "Trust";
9545
+ readonly Union: "Union";
9339
9546
  };
9340
- export type UpdateContactBody = {
9547
+ /**
9548
+ * Contact id plus fields to update. Required fields depend on contact `type` and Redtail validation (use GET contact first).
9549
+ */
9550
+ export type RedtailUpdateContactBody = {
9551
+ /** @nullable */
9552
+ category_id?: number | null;
9553
+ /** @nullable */
9554
+ client_since?: string | null;
9555
+ /** @nullable */
9556
+ client_termination_date?: string | null;
9557
+ company_name?: string;
9558
+ /** @nullable */
9559
+ death_date?: string | null;
9560
+ designation?: string;
9561
+ /** @nullable */
9562
+ dob?: string | null;
9563
+ /** @nullable */
9564
+ employer_id?: number | null;
9565
+ favorite?: boolean;
9566
+ first_name?: string;
9567
+ /** @nullable */
9568
+ gender_id?: number | null;
9341
9569
  /**
9342
9570
  * Redtail contact identifier
9343
9571
  * @minLength 1
9344
9572
  */
9345
- contactId: string;
9573
+ id: string;
9574
+ job_title?: string;
9575
+ last_name?: string;
9576
+ /** @nullable */
9577
+ marital_date?: string | null;
9578
+ /** @nullable */
9579
+ marital_status_id?: number | null;
9580
+ middle_name?: string;
9581
+ nickname?: string;
9582
+ referred_by?: string;
9583
+ /** @nullable */
9584
+ salutation_id?: number | null;
9585
+ /** @nullable */
9586
+ servicing_advisor_id?: number | null;
9587
+ /** @nullable */
9588
+ source_id?: number | null;
9589
+ /** @nullable */
9590
+ status_id?: number | null;
9591
+ /** @nullable */
9592
+ suffix_id?: number | null;
9593
+ tax_id?: string;
9594
+ /** Contact type. Required by Redtail. */
9595
+ type?: RedtailUpdateContactBodyType;
9346
9596
  /** Integration user id for Redtail requests. */
9347
9597
  userId: string;
9598
+ /** @nullable */
9599
+ writing_advisor_id?: number | null;
9600
+ [key: string]: unknown | null;
9348
9601
  };
9349
- export type GetContacts200Meta = {
9602
+ export type RedtailGetContacts200Meta = {
9350
9603
  total_pages?: number;
9351
9604
  total_records?: number;
9352
9605
  };
9353
- export type GetContacts200ContactsItemUrlsItem = {
9606
+ export type RedtailGetContacts200 = {
9607
+ contacts?: RedtailGetContacts200ContactsItem[];
9608
+ meta?: RedtailGetContacts200Meta;
9609
+ };
9610
+ export type RedtailGetContacts200ContactsItemUrlsItem = {
9354
9611
  [key: string]: unknown;
9355
9612
  };
9356
- export type GetContacts200ContactsItemPhonesItem = {
9613
+ export type RedtailGetContacts200ContactsItemPhonesItem = {
9357
9614
  [key: string]: unknown;
9358
9615
  };
9359
- export type GetContacts200ContactsItemFamilyMembersItem = {
9616
+ export type RedtailGetContacts200ContactsItemFamilyMembersItem = {
9360
9617
  contact_id?: number;
9361
9618
  /** @nullable */
9362
9619
  created_at?: string | null;
@@ -9376,28 +9633,28 @@ export type GetContacts200ContactsItemFamilyMembersItem = {
9376
9633
  /**
9377
9634
  * @nullable
9378
9635
  */
9379
- export type GetContacts200ContactsItemFamily = {
9636
+ export type RedtailGetContacts200ContactsItemFamily = {
9380
9637
  /** @nullable */
9381
9638
  created_at?: string | null;
9382
9639
  /** @nullable */
9383
9640
  deleted?: boolean | null;
9384
9641
  id?: number;
9385
- members?: GetContacts200ContactsItemFamilyMembersItem[];
9642
+ members?: RedtailGetContacts200ContactsItemFamilyMembersItem[];
9386
9643
  /** @nullable */
9387
9644
  name?: string | null;
9388
9645
  /** @nullable */
9389
9646
  updated_at?: string | null;
9390
9647
  } | null;
9391
- export type GetContacts200ContactsItemEmailsItem = {
9648
+ export type RedtailGetContacts200ContactsItemEmailsItem = {
9392
9649
  [key: string]: unknown;
9393
9650
  };
9394
- export type GetContacts200ContactsItemAddressesItem = {
9651
+ export type RedtailGetContacts200ContactsItemAddressesItem = {
9395
9652
  [key: string]: unknown;
9396
9653
  };
9397
- export type GetContacts200ContactsItem = {
9654
+ export type RedtailGetContacts200ContactsItem = {
9398
9655
  /** @nullable */
9399
9656
  added_by?: number | null;
9400
- addresses?: GetContacts200ContactsItemAddressesItem[];
9657
+ addresses?: RedtailGetContacts200ContactsItemAddressesItem[];
9401
9658
  /** @nullable */
9402
9659
  category?: string | null;
9403
9660
  /** @nullable */
@@ -9418,13 +9675,13 @@ export type GetContacts200ContactsItem = {
9418
9675
  designation?: string | null;
9419
9676
  /** @nullable */
9420
9677
  dob?: string | null;
9421
- emails?: GetContacts200ContactsItemEmailsItem[];
9678
+ emails?: RedtailGetContacts200ContactsItemEmailsItem[];
9422
9679
  /** @nullable */
9423
9680
  employer?: string | null;
9424
9681
  /** @nullable */
9425
9682
  employer_id?: number | null;
9426
9683
  /** @nullable */
9427
- family?: GetContacts200ContactsItemFamily;
9684
+ family?: RedtailGetContacts200ContactsItemFamily;
9428
9685
  /** @nullable */
9429
9686
  favorite?: boolean | null;
9430
9687
  /** @nullable */
@@ -9450,7 +9707,7 @@ export type GetContacts200ContactsItem = {
9450
9707
  middle_name?: string | null;
9451
9708
  /** @nullable */
9452
9709
  nickname?: string | null;
9453
- phones?: GetContacts200ContactsItemPhonesItem[];
9710
+ phones?: RedtailGetContacts200ContactsItemPhonesItem[];
9454
9711
  /** @nullable */
9455
9712
  referred_by?: string | null;
9456
9713
  /** @nullable */
@@ -9479,36 +9736,67 @@ export type GetContacts200ContactsItem = {
9479
9736
  type?: string | null;
9480
9737
  /** @nullable */
9481
9738
  updated_at?: string | null;
9482
- urls?: GetContacts200ContactsItemUrlsItem[];
9739
+ urls?: RedtailGetContacts200ContactsItemUrlsItem[];
9483
9740
  /** @nullable */
9484
9741
  writing_advisor?: string | null;
9485
9742
  /** @nullable */
9486
9743
  writing_advisor_id?: number | null;
9487
9744
  };
9488
- export type GetContacts200 = {
9489
- contacts: GetContacts200ContactsItem[];
9490
- meta?: GetContacts200Meta;
9491
- };
9492
- export type GetContactsBody = {
9745
+ export type RedtailGetContactsBody = {
9493
9746
  /** Integration user id for Redtail requests. */
9494
9747
  userId: string;
9495
9748
  };
9496
- export type GetContact200ContactUrlsItem = {
9749
+ export type RedtailGetContact200 = {
9750
+ contact?: RedtailGetContact200Contact;
9751
+ };
9752
+ export type RedtailGetContact200ContactUrlsItem = {
9497
9753
  [key: string]: unknown;
9498
9754
  };
9499
- export type GetContact200ContactPhonesItem = {
9755
+ export type RedtailGetContact200ContactPhonesItem = {
9500
9756
  [key: string]: unknown;
9501
9757
  };
9502
- export type GetContact200ContactEmailsItem = {
9758
+ export type RedtailGetContact200ContactFamilyMembersItem = {
9759
+ contact_id?: number;
9760
+ /** @nullable */
9761
+ created_at?: string | null;
9762
+ /** @nullable */
9763
+ deleted?: boolean | null;
9764
+ family_id?: number;
9765
+ /** @nullable */
9766
+ hoh?: boolean | null;
9767
+ id?: number;
9768
+ /** @nullable */
9769
+ relationship?: number | null;
9770
+ /** @nullable */
9771
+ relationship_name?: string | null;
9772
+ /** @nullable */
9773
+ updated_at?: string | null;
9774
+ };
9775
+ /**
9776
+ * @nullable
9777
+ */
9778
+ export type RedtailGetContact200ContactFamily = {
9779
+ /** @nullable */
9780
+ created_at?: string | null;
9781
+ /** @nullable */
9782
+ deleted?: boolean | null;
9783
+ id?: number;
9784
+ members?: RedtailGetContact200ContactFamilyMembersItem[];
9785
+ /** @nullable */
9786
+ name?: string | null;
9787
+ /** @nullable */
9788
+ updated_at?: string | null;
9789
+ } | null;
9790
+ export type RedtailGetContact200ContactEmailsItem = {
9503
9791
  [key: string]: unknown;
9504
9792
  };
9505
- export type GetContact200ContactAddressesItem = {
9793
+ export type RedtailGetContact200ContactAddressesItem = {
9506
9794
  [key: string]: unknown;
9507
9795
  };
9508
- export type GetContact200Contact = {
9796
+ export type RedtailGetContact200Contact = {
9509
9797
  /** @nullable */
9510
9798
  added_by?: number | null;
9511
- addresses?: GetContact200ContactAddressesItem[];
9799
+ addresses?: RedtailGetContact200ContactAddressesItem[];
9512
9800
  /** @nullable */
9513
9801
  category?: string | null;
9514
9802
  /** @nullable */
@@ -9529,13 +9817,13 @@ export type GetContact200Contact = {
9529
9817
  designation?: string | null;
9530
9818
  /** @nullable */
9531
9819
  dob?: string | null;
9532
- emails?: GetContact200ContactEmailsItem[];
9820
+ emails?: RedtailGetContact200ContactEmailsItem[];
9533
9821
  /** @nullable */
9534
9822
  employer?: string | null;
9535
9823
  /** @nullable */
9536
9824
  employer_id?: number | null;
9537
9825
  /** @nullable */
9538
- family?: GetContact200ContactFamily;
9826
+ family?: RedtailGetContact200ContactFamily;
9539
9827
  /** @nullable */
9540
9828
  favorite?: boolean | null;
9541
9829
  /** @nullable */
@@ -9561,7 +9849,7 @@ export type GetContact200Contact = {
9561
9849
  middle_name?: string | null;
9562
9850
  /** @nullable */
9563
9851
  nickname?: string | null;
9564
- phones?: GetContact200ContactPhonesItem[];
9852
+ phones?: RedtailGetContact200ContactPhonesItem[];
9565
9853
  /** @nullable */
9566
9854
  referred_by?: string | null;
9567
9855
  /** @nullable */
@@ -9590,61 +9878,26 @@ export type GetContact200Contact = {
9590
9878
  type?: string | null;
9591
9879
  /** @nullable */
9592
9880
  updated_at?: string | null;
9593
- urls?: GetContact200ContactUrlsItem[];
9881
+ urls?: RedtailGetContact200ContactUrlsItem[];
9594
9882
  /** @nullable */
9595
9883
  writing_advisor?: string | null;
9596
9884
  /** @nullable */
9597
9885
  writing_advisor_id?: number | null;
9598
9886
  };
9599
- export type GetContact200 = {
9600
- contact: GetContact200Contact;
9601
- };
9602
- export type GetContact200ContactFamilyMembersItem = {
9603
- contact_id?: number;
9604
- /** @nullable */
9605
- created_at?: string | null;
9606
- /** @nullable */
9607
- deleted?: boolean | null;
9608
- family_id?: number;
9609
- /** @nullable */
9610
- hoh?: boolean | null;
9611
- id?: number;
9612
- /** @nullable */
9613
- relationship?: number | null;
9614
- /** @nullable */
9615
- relationship_name?: string | null;
9616
- /** @nullable */
9617
- updated_at?: string | null;
9618
- };
9619
- /**
9620
- * @nullable
9621
- */
9622
- export type GetContact200ContactFamily = {
9623
- /** @nullable */
9624
- created_at?: string | null;
9625
- /** @nullable */
9626
- deleted?: boolean | null;
9627
- id?: number;
9628
- members?: GetContact200ContactFamilyMembersItem[];
9629
- /** @nullable */
9630
- name?: string | null;
9631
- /** @nullable */
9632
- updated_at?: string | null;
9633
- } | null;
9634
- export type GetContactBody = {
9887
+ export type RedtailGetContactBody = {
9635
9888
  /**
9636
9889
  * Redtail contact identifier
9637
9890
  * @minLength 1
9638
9891
  */
9639
- contactId: string;
9892
+ id: string;
9640
9893
  /** Integration user id for Redtail requests. */
9641
9894
  userId: string;
9642
9895
  };
9643
- export type GetFamilies200Meta = {
9896
+ export type RedtailGetFamilies200Meta = {
9644
9897
  total_pages?: number;
9645
9898
  total_records?: number;
9646
9899
  };
9647
- export type GetFamilies200ContactFamiliesItemMembersItem = {
9900
+ export type RedtailGetFamilies200ContactFamiliesItemMembersItem = {
9648
9901
  contact_id?: number;
9649
9902
  /** @nullable */
9650
9903
  created_at?: string | null;
@@ -9661,23 +9914,23 @@ export type GetFamilies200ContactFamiliesItemMembersItem = {
9661
9914
  /** @nullable */
9662
9915
  updated_at?: string | null;
9663
9916
  };
9664
- export type GetFamilies200ContactFamiliesItem = {
9917
+ export type RedtailGetFamilies200ContactFamiliesItem = {
9665
9918
  /** @nullable */
9666
9919
  created_at?: string | null;
9667
9920
  /** @nullable */
9668
9921
  deleted?: boolean | null;
9669
9922
  id?: number;
9670
- members?: GetFamilies200ContactFamiliesItemMembersItem[];
9923
+ members?: RedtailGetFamilies200ContactFamiliesItemMembersItem[];
9671
9924
  /** @nullable */
9672
9925
  name?: string | null;
9673
9926
  /** @nullable */
9674
9927
  updated_at?: string | null;
9675
9928
  };
9676
- export type GetFamilies200 = {
9677
- contact_families: GetFamilies200ContactFamiliesItem[];
9678
- meta?: GetFamilies200Meta;
9929
+ export type RedtailGetFamilies200 = {
9930
+ contact_families?: RedtailGetFamilies200ContactFamiliesItem[];
9931
+ meta?: RedtailGetFamilies200Meta;
9679
9932
  };
9680
- export type GetFamiliesBody = {
9933
+ export type RedtailGetFamiliesBody = {
9681
9934
  /** Integration user id for Redtail requests. */
9682
9935
  userId: string;
9683
9936
  };
@@ -10077,14 +10330,6 @@ export type GoogleGenerativeAIGenerateTextBodyOptions = {
10077
10330
  */
10078
10331
  topP?: number;
10079
10332
  };
10080
- export type GoogleGenerativeAIGenerateTextBodyMessagesItem = {
10081
- /** Content of the message */
10082
- content?: string;
10083
- /** Multi-part message content */
10084
- parts?: GoogleGenerativeAIGenerateTextBodyMessagesItemPartsItem[];
10085
- /** Role of the message sender */
10086
- role: GoogleGenerativeAIGenerateTextBodyMessagesItemRole;
10087
- };
10088
10333
  export type GoogleGenerativeAIGenerateTextBody = {
10089
10334
  /**
10090
10335
  * Array of chat messages
@@ -10123,6 +10368,14 @@ export type GoogleGenerativeAIGenerateTextBodyMessagesItemPartsItem = {
10123
10368
  /** URL for file or media */
10124
10369
  url?: string;
10125
10370
  };
10371
+ export type GoogleGenerativeAIGenerateTextBodyMessagesItem = {
10372
+ /** Content of the message */
10373
+ content?: string;
10374
+ /** Multi-part message content */
10375
+ parts?: GoogleGenerativeAIGenerateTextBodyMessagesItemPartsItem[];
10376
+ /** Role of the message sender */
10377
+ role: GoogleGenerativeAIGenerateTextBodyMessagesItemRole;
10378
+ };
10126
10379
  export type GoogleGenerativeAISetUserCredentials200 = {
10127
10380
  userId: string;
10128
10381
  };
@@ -10831,26 +11084,26 @@ export declare const getIntegrationsAPI: () => {
10831
11084
  openaiCreateStream: (openaiCreateStreamBody: OpenaiCreateStreamBody) => Promise<string>;
10832
11085
  redtailSetUserCredentials: (redtailSetUserCredentialsBody: RedtailSetUserCredentialsBody) => Promise<RedtailSetUserCredentials200>;
10833
11086
  redtailAuthenticate: () => Promise<RedtailAuthenticate200>;
10834
- getFamilies: (getFamiliesBody: GetFamiliesBody) => Promise<GetFamilies200>;
10835
- getContact: (getContactBody: GetContactBody) => Promise<GetContact200>;
10836
- getContacts: (getContactsBody: GetContactsBody) => Promise<GetContacts200>;
10837
- updateContact: (updateContactBody: UpdateContactBody) => Promise<UpdateContact200>;
10838
- getContactPersonalProfile: (getContactPersonalProfileBody: GetContactPersonalProfileBody) => Promise<GetContactPersonalProfile200>;
10839
- getContactAccounts: (getContactAccountsBody: GetContactAccountsBody) => Promise<GetContactAccounts200>;
10840
- getAccountOwners: (getAccountOwnersBody: GetAccountOwnersBody) => Promise<GetAccountOwners200>;
10841
- getAccountDetails: (getAccountDetailsBody: GetAccountDetailsBody) => Promise<GetAccountDetails200>;
10842
- getActivities: (getActivitiesBody: GetActivitiesBody) => Promise<GetActivities200>;
10843
- getActivity: (getActivityBody: GetActivityBody) => Promise<GetActivity200>;
10844
- createActivity: () => Promise<CreateActivity200>;
10845
- updateActivity: (updateActivityBody: UpdateActivityBody) => Promise<UpdateActivity200>;
11087
+ redtailGetFamilies: (redtailGetFamiliesBody: RedtailGetFamiliesBody) => Promise<RedtailGetFamilies200>;
11088
+ redtailGetContact: (redtailGetContactBody: RedtailGetContactBody) => Promise<RedtailGetContact200>;
11089
+ redtailGetContacts: (redtailGetContactsBody: RedtailGetContactsBody) => Promise<RedtailGetContacts200>;
11090
+ redtailUpdateContact: (redtailUpdateContactBody: RedtailUpdateContactBody) => Promise<RedtailUpdateContact200>;
11091
+ redtailGetContactPersonalProfile: (redtailGetContactPersonalProfileBody: RedtailGetContactPersonalProfileBody) => Promise<RedtailGetContactPersonalProfile200>;
11092
+ redtailGetContactAccounts: (redtailGetContactAccountsBody: RedtailGetContactAccountsBody) => Promise<RedtailGetContactAccounts200>;
11093
+ redtailGetAccountOwners: (redtailGetAccountOwnersBody: RedtailGetAccountOwnersBody) => Promise<RedtailGetAccountOwners200>;
11094
+ redtailGetAccountDetails: (redtailGetAccountDetailsBody: RedtailGetAccountDetailsBody) => Promise<RedtailGetAccountDetails200>;
11095
+ redtailGetActivities: (redtailGetActivitiesBody: RedtailGetActivitiesBody) => Promise<RedtailGetActivities200>;
11096
+ redtailGetActivity: (redtailGetActivityBody: RedtailGetActivityBody) => Promise<RedtailGetActivity200>;
11097
+ redtailCreateActivity: (redtailCreateActivityBody: RedtailCreateActivityBody) => Promise<RedtailCreateActivity200>;
11098
+ redtailUpdateActivity: (redtailUpdateActivityBody: RedtailUpdateActivityBody) => Promise<RedtailUpdateActivity200>;
10846
11099
  redtailDeleteActivity: (redtailDeleteActivityBody: RedtailDeleteActivityBody) => Promise<unknown>;
10847
- createActivityNote: (createActivityNoteBody: CreateActivityNoteBody) => Promise<CreateActivityNote200>;
10848
- deleteActivityNote: (deleteActivityNoteBody: DeleteActivityNoteBody) => Promise<unknown>;
10849
- getActivityNotes: (getActivityNotesBody: GetActivityNotesBody) => Promise<GetActivityNotes200>;
10850
- getDatabaseUsers: (getDatabaseUsersBody: GetDatabaseUsersBody) => Promise<GetDatabaseUsers200>;
10851
- getCategories: (getCategoriesBody: GetCategoriesBody) => Promise<GetCategories200>;
10852
- getActivityCodes: (getActivityCodesBody: GetActivityCodesBody) => Promise<GetActivityCodes200>;
10853
- getNotes: (getNotesBody: GetNotesBody) => Promise<GetNotes200>;
11100
+ redtailCreateActivityNote: (redtailCreateActivityNoteBody: RedtailCreateActivityNoteBody) => Promise<RedtailCreateActivityNote200>;
11101
+ redtailDeleteActivityNote: (redtailDeleteActivityNoteBody: RedtailDeleteActivityNoteBody) => Promise<unknown>;
11102
+ redtailGetActivityNotes: (redtailGetActivityNotesBody: RedtailGetActivityNotesBody) => Promise<RedtailGetActivityNotes200>;
11103
+ redtailGetDatabaseUsers: (redtailGetDatabaseUsersBody: RedtailGetDatabaseUsersBody) => Promise<RedtailGetDatabaseUsers200>;
11104
+ redtailGetCategories: (redtailGetCategoriesBody: RedtailGetCategoriesBody) => Promise<RedtailGetCategories200>;
11105
+ redtailGetActivityCodes: (redtailGetActivityCodesBody: RedtailGetActivityCodesBody) => Promise<RedtailGetActivityCodes200>;
11106
+ redtailGetNotes: (redtailGetNotesBody: RedtailGetNotesBody) => Promise<RedtailGetNotes200>;
10854
11107
  redtailCreateContact: (redtailCreateContactBody: RedtailCreateContactBody) => Promise<RedtailCreateContact200>;
10855
11108
  redtailDeleteContact: (redtailDeleteContactBody: RedtailDeleteContactBody) => Promise<unknown>;
10856
11109
  redtailGetContactAddresses: (redtailGetContactAddressesBody: RedtailGetContactAddressesBody) => Promise<RedtailGetContactAddresses200>;
@@ -11022,26 +11275,26 @@ export type OpenaiGenerateTextResult = NonNullable<Awaited<ReturnType<ReturnType
11022
11275
  export type OpenaiCreateStreamResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['openaiCreateStream']>>>;
11023
11276
  export type RedtailSetUserCredentialsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['redtailSetUserCredentials']>>>;
11024
11277
  export type RedtailAuthenticateResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['redtailAuthenticate']>>>;
11025
- export type GetFamiliesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['getFamilies']>>>;
11026
- export type GetContactResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['getContact']>>>;
11027
- export type GetContactsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['getContacts']>>>;
11028
- export type UpdateContactResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['updateContact']>>>;
11029
- export type GetContactPersonalProfileResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['getContactPersonalProfile']>>>;
11030
- export type GetContactAccountsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['getContactAccounts']>>>;
11031
- export type GetAccountOwnersResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['getAccountOwners']>>>;
11032
- export type GetAccountDetailsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['getAccountDetails']>>>;
11033
- export type GetActivitiesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['getActivities']>>>;
11034
- export type GetActivityResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['getActivity']>>>;
11035
- export type CreateActivityResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['createActivity']>>>;
11036
- export type UpdateActivityResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['updateActivity']>>>;
11278
+ export type RedtailGetFamiliesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['redtailGetFamilies']>>>;
11279
+ export type RedtailGetContactResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['redtailGetContact']>>>;
11280
+ export type RedtailGetContactsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['redtailGetContacts']>>>;
11281
+ export type RedtailUpdateContactResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['redtailUpdateContact']>>>;
11282
+ export type RedtailGetContactPersonalProfileResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['redtailGetContactPersonalProfile']>>>;
11283
+ export type RedtailGetContactAccountsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['redtailGetContactAccounts']>>>;
11284
+ export type RedtailGetAccountOwnersResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['redtailGetAccountOwners']>>>;
11285
+ export type RedtailGetAccountDetailsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['redtailGetAccountDetails']>>>;
11286
+ export type RedtailGetActivitiesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['redtailGetActivities']>>>;
11287
+ export type RedtailGetActivityResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['redtailGetActivity']>>>;
11288
+ export type RedtailCreateActivityResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['redtailCreateActivity']>>>;
11289
+ export type RedtailUpdateActivityResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['redtailUpdateActivity']>>>;
11037
11290
  export type RedtailDeleteActivityResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['redtailDeleteActivity']>>>;
11038
- export type CreateActivityNoteResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['createActivityNote']>>>;
11039
- export type DeleteActivityNoteResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['deleteActivityNote']>>>;
11040
- export type GetActivityNotesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['getActivityNotes']>>>;
11041
- export type GetDatabaseUsersResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['getDatabaseUsers']>>>;
11042
- export type GetCategoriesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['getCategories']>>>;
11043
- export type GetActivityCodesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['getActivityCodes']>>>;
11044
- export type GetNotesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['getNotes']>>>;
11291
+ export type RedtailCreateActivityNoteResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['redtailCreateActivityNote']>>>;
11292
+ export type RedtailDeleteActivityNoteResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['redtailDeleteActivityNote']>>>;
11293
+ export type RedtailGetActivityNotesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['redtailGetActivityNotes']>>>;
11294
+ export type RedtailGetDatabaseUsersResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['redtailGetDatabaseUsers']>>>;
11295
+ export type RedtailGetCategoriesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['redtailGetCategories']>>>;
11296
+ export type RedtailGetActivityCodesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['redtailGetActivityCodes']>>>;
11297
+ export type RedtailGetNotesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['redtailGetNotes']>>>;
11045
11298
  export type RedtailCreateContactResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['redtailCreateContact']>>>;
11046
11299
  export type RedtailDeleteContactResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['redtailDeleteContact']>>>;
11047
11300
  export type RedtailGetContactAddressesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getIntegrationsAPI>['redtailGetContactAddresses']>>>;