@workbuddy/sdk-js-vnext 1.0.60 → 1.0.62

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.
Files changed (2) hide show
  1. package/index.d.ts +52 -24
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -2778,39 +2778,53 @@ export interface WorkBuddyCrmCustomersContactsCreateContactParams extends WorkBu
2778
2778
  * Customer ID
2779
2779
  */
2780
2780
  customerId: string;
2781
-
2781
+ /**
2782
+ * First name
2783
+ */
2782
2784
  firstName: string;
2783
-
2785
+ /**
2786
+ * Last name
2787
+ */
2784
2788
  lastName: string;
2785
2789
  /**
2786
- * Email address
2790
+ * Email address. Required when login is true.
2787
2791
  */
2788
2792
  email?: string;
2789
2793
  /**
2790
- * Phone number
2794
+ * Phone
2791
2795
  */
2792
2796
  phone?: string;
2793
2797
  /**
2794
- * Mobile phone number
2798
+ * Mobile
2795
2799
  */
2796
2800
  mobile?: string;
2797
-
2801
+ /**
2802
+ * Job title
2803
+ */
2798
2804
  title?: string;
2799
-
2805
+ /**
2806
+ * Note
2807
+ */
2800
2808
  note?: string;
2801
2809
  /**
2802
- * integration ID
2810
+ * External integration identifier
2803
2811
  */
2804
2812
  integrationId?: string;
2805
-
2813
+ /**
2814
+ * false = basic contact. true = external user with portal login (requires email and roleId).
2815
+ */
2806
2816
  login: boolean;
2807
2817
  /**
2808
- * role ID
2818
+ * Portal security role id. Required when login is true. List via GET /settings/roles/client-portal or /settings/roles/contractor-portal.
2809
2819
  */
2810
2820
  roleId?: string;
2811
-
2821
+ /**
2822
+ * Send invite email when login is true. Default true.
2823
+ */
2812
2824
  sendEmail?: boolean;
2813
-
2825
+ /**
2826
+ * Automatically dispatch when contractor is assigned. Only for external users under a contractor.
2827
+ */
2814
2828
  autoDispatch?: boolean;
2815
2829
  }
2816
2830
 
@@ -3041,39 +3055,53 @@ export interface WorkBuddyCrmContractorsContactsCreateContactParams extends Work
3041
3055
  * Contractor ID
3042
3056
  */
3043
3057
  contractorId: string;
3044
-
3058
+ /**
3059
+ * First name
3060
+ */
3045
3061
  firstName: string;
3046
-
3062
+ /**
3063
+ * Last name
3064
+ */
3047
3065
  lastName: string;
3048
3066
  /**
3049
- * Email address
3067
+ * Email address. Required when login is true.
3050
3068
  */
3051
3069
  email?: string;
3052
3070
  /**
3053
- * Phone number
3071
+ * Phone
3054
3072
  */
3055
3073
  phone?: string;
3056
3074
  /**
3057
- * Mobile phone number
3075
+ * Mobile
3058
3076
  */
3059
3077
  mobile?: string;
3060
-
3078
+ /**
3079
+ * Job title
3080
+ */
3061
3081
  title?: string;
3062
-
3082
+ /**
3083
+ * Note
3084
+ */
3063
3085
  note?: string;
3064
3086
  /**
3065
- * integration ID
3087
+ * External integration identifier
3066
3088
  */
3067
3089
  integrationId?: string;
3068
-
3090
+ /**
3091
+ * false = basic contact. true = external user with portal login (requires email and roleId).
3092
+ */
3069
3093
  login: boolean;
3070
3094
  /**
3071
- * role ID
3095
+ * Portal security role id. Required when login is true. List via GET /settings/roles/client-portal or /settings/roles/contractor-portal.
3072
3096
  */
3073
3097
  roleId?: string;
3074
-
3098
+ /**
3099
+ * Send invite email when login is true. Default true.
3100
+ */
3075
3101
  sendEmail?: boolean;
3076
-
3102
+ /**
3103
+ * Automatically dispatch when contractor is assigned. Only for external users under a contractor.
3104
+ */
3077
3105
  autoDispatch?: boolean;
3078
3106
  }
3079
3107
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workbuddy/sdk-js-vnext",
3
- "version": "1.0.60",
3
+ "version": "1.0.62",
4
4
  "description": "WorkBuddy Public API JavaScript client",
5
5
  "license": "MIT",
6
6
  "type": "module",