@epilot/sdk 2.12.1 → 2.13.0

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 (174) hide show
  1. package/definitions/customer-portal-runtime.json +1 -1
  2. package/definitions/customer-portal.json +164 -16
  3. package/definitions/focus-pocus-runtime.json +1 -0
  4. package/definitions/focus-pocus.json +757 -0
  5. package/definitions/user-runtime.json +1 -1
  6. package/definitions/user.json +146 -0
  7. package/definitions/workflow-definition-runtime.json +1 -1
  8. package/definitions/workflow-definition.json +281 -47
  9. package/definitions/workflow.json +12 -0
  10. package/dist/apis/access-token.cjs +6 -6
  11. package/dist/apis/access-token.js +1 -1
  12. package/dist/apis/address-suggestions.cjs +6 -6
  13. package/dist/apis/address-suggestions.js +1 -1
  14. package/dist/apis/address.cjs +6 -6
  15. package/dist/apis/address.js +1 -1
  16. package/dist/apis/ai-agents.cjs +6 -6
  17. package/dist/apis/ai-agents.js +1 -1
  18. package/dist/apis/app.cjs +6 -6
  19. package/dist/apis/app.js +1 -1
  20. package/dist/apis/audit-logs.cjs +6 -6
  21. package/dist/apis/audit-logs.js +1 -1
  22. package/dist/apis/automation.cjs +6 -6
  23. package/dist/apis/automation.js +1 -1
  24. package/dist/apis/billing.cjs +6 -6
  25. package/dist/apis/billing.js +1 -1
  26. package/dist/apis/blueprint-manifest.cjs +6 -6
  27. package/dist/apis/blueprint-manifest.js +1 -1
  28. package/dist/apis/calendar.cjs +6 -6
  29. package/dist/apis/calendar.js +1 -1
  30. package/dist/apis/configuration-hub.cjs +6 -6
  31. package/dist/apis/configuration-hub.js +1 -1
  32. package/dist/apis/consent.cjs +6 -6
  33. package/dist/apis/consent.js +1 -1
  34. package/dist/apis/customer-portal.cjs +8 -8
  35. package/dist/apis/customer-portal.d.cts +2 -2
  36. package/dist/apis/customer-portal.d.ts +2 -2
  37. package/dist/apis/customer-portal.js +2 -2
  38. package/dist/apis/dashboard.cjs +6 -6
  39. package/dist/apis/dashboard.js +1 -1
  40. package/dist/apis/data-governance.cjs +6 -6
  41. package/dist/apis/data-governance.js +1 -1
  42. package/dist/apis/deduplication.cjs +6 -6
  43. package/dist/apis/deduplication.js +1 -1
  44. package/dist/apis/design.cjs +6 -6
  45. package/dist/apis/design.js +1 -1
  46. package/dist/apis/document.cjs +6 -6
  47. package/dist/apis/document.js +1 -1
  48. package/dist/apis/email-settings.cjs +6 -6
  49. package/dist/apis/email-settings.js +1 -1
  50. package/dist/apis/email-template.cjs +6 -6
  51. package/dist/apis/email-template.js +1 -1
  52. package/dist/apis/entity-mapping.cjs +6 -6
  53. package/dist/apis/entity-mapping.js +1 -1
  54. package/dist/apis/entity.cjs +6 -6
  55. package/dist/apis/entity.js +1 -1
  56. package/dist/apis/environments.cjs +6 -6
  57. package/dist/apis/environments.js +1 -1
  58. package/dist/apis/event-catalog.cjs +6 -6
  59. package/dist/apis/event-catalog.js +1 -1
  60. package/dist/apis/file.cjs +6 -6
  61. package/dist/apis/file.js +1 -1
  62. package/dist/apis/iban.cjs +6 -6
  63. package/dist/apis/iban.js +1 -1
  64. package/dist/apis/integration-toolkit.cjs +6 -6
  65. package/dist/apis/integration-toolkit.js +1 -1
  66. package/dist/apis/journey.cjs +6 -6
  67. package/dist/apis/journey.js +1 -1
  68. package/dist/apis/kanban.cjs +6 -6
  69. package/dist/apis/kanban.js +1 -1
  70. package/dist/apis/message.cjs +6 -6
  71. package/dist/apis/message.js +1 -1
  72. package/dist/apis/metering.cjs +6 -6
  73. package/dist/apis/metering.js +1 -1
  74. package/dist/apis/notes.cjs +6 -6
  75. package/dist/apis/notes.js +1 -1
  76. package/dist/apis/notification.cjs +6 -6
  77. package/dist/apis/notification.js +1 -1
  78. package/dist/apis/organization.cjs +6 -6
  79. package/dist/apis/organization.js +1 -1
  80. package/dist/apis/partner-directory.cjs +6 -6
  81. package/dist/apis/partner-directory.js +1 -1
  82. package/dist/apis/permissions.cjs +6 -6
  83. package/dist/apis/permissions.js +1 -1
  84. package/dist/apis/pricing-tier.cjs +6 -6
  85. package/dist/apis/pricing-tier.js +1 -1
  86. package/dist/apis/pricing.cjs +6 -6
  87. package/dist/apis/pricing.js +1 -1
  88. package/dist/apis/purpose.cjs +6 -6
  89. package/dist/apis/purpose.js +1 -1
  90. package/dist/apis/query.cjs +6 -6
  91. package/dist/apis/query.js +1 -1
  92. package/dist/apis/sandbox.cjs +6 -6
  93. package/dist/apis/sandbox.js +1 -1
  94. package/dist/apis/sharing.cjs +6 -6
  95. package/dist/apis/sharing.js +1 -1
  96. package/dist/apis/snapshot.cjs +6 -6
  97. package/dist/apis/snapshot.js +1 -1
  98. package/dist/apis/submission.cjs +6 -6
  99. package/dist/apis/submission.js +1 -1
  100. package/dist/apis/target.cjs +6 -6
  101. package/dist/apis/target.js +1 -1
  102. package/dist/apis/targeting.cjs +6 -6
  103. package/dist/apis/targeting.js +1 -1
  104. package/dist/apis/template-variables.cjs +6 -6
  105. package/dist/apis/template-variables.js +1 -1
  106. package/dist/apis/user.cjs +8 -8
  107. package/dist/apis/user.d.cts +2 -2
  108. package/dist/apis/user.d.ts +2 -2
  109. package/dist/apis/user.js +2 -2
  110. package/dist/apis/validation-rules.cjs +6 -6
  111. package/dist/apis/validation-rules.js +1 -1
  112. package/dist/apis/webhooks.cjs +6 -6
  113. package/dist/apis/webhooks.js +1 -1
  114. package/dist/apis/workflow-definition.cjs +8 -8
  115. package/dist/apis/workflow-definition.d.cts +2 -2
  116. package/dist/apis/workflow-definition.d.ts +2 -2
  117. package/dist/apis/workflow-definition.js +2 -2
  118. package/dist/apis/workflow.cjs +6 -6
  119. package/dist/apis/workflow.d.cts +2 -2
  120. package/dist/apis/workflow.d.ts +2 -2
  121. package/dist/apis/workflow.js +1 -1
  122. package/dist/chunk-6HJ2Y7DZ.js +14 -0
  123. package/dist/chunk-BFMY2X2J.cjs +14 -0
  124. package/dist/{chunk-AJDY36Y6.cjs → chunk-C35OPQHY.cjs} +7 -7
  125. package/dist/{chunk-NFIYEMMM.js → chunk-N254AABZ.js} +1 -1
  126. package/dist/chunk-OSPTVXY4.js +14 -0
  127. package/dist/chunk-QNSMYDKG.cjs +14 -0
  128. package/dist/{chunk-L3UZLJPQ.js → chunk-SQQJND25.js} +7 -7
  129. package/dist/{chunk-OWXEZ56F.cjs → chunk-X2LMHC5R.cjs} +1 -1
  130. package/dist/customer-portal-6I3G44I4.cjs +7 -0
  131. package/dist/customer-portal-PTVGKDUH.js +7 -0
  132. package/dist/{customer-portal-runtime-VRGCSOVU.cjs → customer-portal-runtime-4ACQGDNY.cjs} +2 -2
  133. package/dist/{customer-portal-runtime-NRIQG6IO.js → customer-portal-runtime-E4RI7NYM.js} +1 -1
  134. package/dist/{customer-portal.d-fWVl8_mE.d.cts → customer-portal.d-Bpc-wk9K.d.cts} +140 -12
  135. package/dist/{customer-portal.d-fWVl8_mE.d.ts → customer-portal.d-Bpc-wk9K.d.ts} +140 -12
  136. package/dist/index.cjs +14 -14
  137. package/dist/index.d.cts +4 -4
  138. package/dist/index.d.ts +4 -4
  139. package/dist/index.js +4 -4
  140. package/dist/js-yaml-DLCVPJ7G.js +0 -0
  141. package/dist/user-5KLWGPQ2.js +7 -0
  142. package/dist/user-GZLPNGIW.cjs +7 -0
  143. package/dist/user-runtime-6TSL4RZN.cjs +5 -0
  144. package/dist/{user-runtime-6ICV2Y73.js → user-runtime-UPFER72E.js} +1 -1
  145. package/dist/{user.d-L-C7_K84.d.cts → user.d-6bp0zEwE.d.cts} +131 -0
  146. package/dist/{user.d-L-C7_K84.d.ts → user.d-6bp0zEwE.d.ts} +131 -0
  147. package/dist/workflow-JQT3F5NJ.cjs +7 -0
  148. package/dist/workflow-Q6FAE5OL.js +7 -0
  149. package/dist/workflow-definition-5P3PDJKU.cjs +7 -0
  150. package/dist/workflow-definition-XSSOSEGF.js +7 -0
  151. package/dist/{workflow-definition-runtime-GACBV4WM.cjs → workflow-definition-runtime-2HQS3RPK.cjs} +2 -2
  152. package/dist/{workflow-definition-runtime-OVXRSE34.js → workflow-definition-runtime-JUPATIKU.js} +1 -1
  153. package/dist/{workflow-definition.d-DOeb0KVV.d.cts → workflow-definition.d-CweGhhBU.d.cts} +416 -82
  154. package/dist/{workflow-definition.d-DOeb0KVV.d.ts → workflow-definition.d-CweGhhBU.d.ts} +416 -82
  155. package/dist/{workflow.d-eFv0ecBi.d.cts → workflow.d-5cyNJgVQ.d.cts} +28 -0
  156. package/dist/{workflow.d-eFv0ecBi.d.ts → workflow.d-5cyNJgVQ.d.ts} +28 -0
  157. package/docs/customer-portal.md +86 -21
  158. package/docs/user.md +174 -11
  159. package/docs/workflow-definition.md +179 -43
  160. package/docs/workflow.md +16 -7
  161. package/package.json +12 -11
  162. package/dist/chunk-43GJY2EB.js +0 -14
  163. package/dist/chunk-4H2KIKGL.cjs +0 -14
  164. package/dist/chunk-COASF7ZR.js +0 -14
  165. package/dist/chunk-CYS6QBW6.cjs +0 -14
  166. package/dist/customer-portal-F45XWLIO.cjs +0 -7
  167. package/dist/customer-portal-MYNJZ4OW.js +0 -7
  168. package/dist/user-3SLAEEVD.cjs +0 -7
  169. package/dist/user-PRUYBXQV.js +0 -7
  170. package/dist/user-runtime-Y3227ETX.cjs +0 -5
  171. package/dist/workflow-7OU2YEEI.cjs +0 -7
  172. package/dist/workflow-IVKCWS44.js +0 -7
  173. package/dist/workflow-definition-2VF7S23G.js +0 -7
  174. package/dist/workflow-definition-U6YXD42W.cjs +0 -7
package/docs/user.md CHANGED
@@ -42,6 +42,7 @@ const { data } = await userClient.signUpUser(...)
42
42
  - [`getGroupsForUser`](#getgroupsforuser)
43
43
  - [`verifyEmailWithToken`](#verifyemailwithtoken)
44
44
  - [`requestPasswordReset`](#requestpasswordreset)
45
+ - [`resetPassword`](#resetpassword)
45
46
  - [`checkInviteToken`](#checkinvitetoken)
46
47
  - [`activateUser`](#activateuser)
47
48
  - [`rejectInvite`](#rejectinvite)
@@ -234,6 +235,8 @@ const { data } = await client.getMeV2()
234
235
  "email": "user@example.com",
235
236
  "draft_email": "user@example.com",
236
237
  "draft_email_expires_at": "1970-01-01T00:00:00.000Z",
238
+ "password_reset_token_hash": "string",
239
+ "password_reset_token_expires_at": "1970-01-01T00:00:00.000Z",
237
240
  "department": "Sales",
238
241
  "phone": 1234567890,
239
242
  "secondary_phone": 1234567890,
@@ -275,12 +278,19 @@ const { data } = await client.getMeV2()
275
278
  "created_opportunity_auto": true,
276
279
  "deleted_opportunity": true
277
280
  },
281
+ "in_app_notification_setting": {
282
+ "integration_critical_error": true,
283
+ "integration_error_threshold": true,
284
+ "assigned_opportunity": true,
285
+ "assigned_task": true
286
+ },
278
287
  "properties": [
279
288
  {
280
289
  "name": "profileImageName",
281
290
  "value": "avatar.png"
282
291
  }
283
- ]
292
+ ],
293
+ "tags": ["non-billable"]
284
294
  }
285
295
  ```
286
296
 
@@ -454,6 +464,8 @@ const { data } = await client.listUsersV2({
454
464
  "email": "user@example.com",
455
465
  "draft_email": "user@example.com",
456
466
  "draft_email_expires_at": "1970-01-01T00:00:00.000Z",
467
+ "password_reset_token_hash": "string",
468
+ "password_reset_token_expires_at": "1970-01-01T00:00:00.000Z",
457
469
  "department": "Sales",
458
470
  "phone": 1234567890,
459
471
  "secondary_phone": 1234567890,
@@ -495,12 +507,19 @@ const { data } = await client.listUsersV2({
495
507
  "created_opportunity_auto": true,
496
508
  "deleted_opportunity": true
497
509
  },
510
+ "in_app_notification_setting": {
511
+ "integration_critical_error": true,
512
+ "integration_error_threshold": true,
513
+ "assigned_opportunity": true,
514
+ "assigned_task": true
515
+ },
498
516
  "properties": [
499
517
  {
500
518
  "name": "profileImageName",
501
519
  "value": "avatar.png"
502
520
  }
503
- ]
521
+ ],
522
+ "tags": ["non-billable"]
504
523
  }
505
524
  ]
506
525
  }
@@ -536,6 +555,8 @@ const { data } = await client.getUserV2({
536
555
  "email": "user@example.com",
537
556
  "draft_email": "user@example.com",
538
557
  "draft_email_expires_at": "1970-01-01T00:00:00.000Z",
558
+ "password_reset_token_hash": "string",
559
+ "password_reset_token_expires_at": "1970-01-01T00:00:00.000Z",
539
560
  "department": "Sales",
540
561
  "phone": 1234567890,
541
562
  "secondary_phone": 1234567890,
@@ -577,12 +598,19 @@ const { data } = await client.getUserV2({
577
598
  "created_opportunity_auto": true,
578
599
  "deleted_opportunity": true
579
600
  },
601
+ "in_app_notification_setting": {
602
+ "integration_critical_error": true,
603
+ "integration_error_threshold": true,
604
+ "assigned_opportunity": true,
605
+ "assigned_task": true
606
+ },
580
607
  "properties": [
581
608
  {
582
609
  "name": "profileImageName",
583
610
  "value": "avatar.png"
584
611
  }
585
- ]
612
+ ],
613
+ "tags": ["non-billable"]
586
614
  }
587
615
  ```
588
616
 
@@ -611,6 +639,8 @@ const { data } = await client.updateUserV2(
611
639
  email: 'user@example.com',
612
640
  draft_email: 'user@example.com',
613
641
  draft_email_expires_at: '1970-01-01T00:00:00.000Z',
642
+ password_reset_token_hash: 'string',
643
+ password_reset_token_expires_at: '1970-01-01T00:00:00.000Z',
614
644
  department: 'Sales',
615
645
  phone: 1234567890,
616
646
  secondary_phone: 1234567890,
@@ -652,12 +682,19 @@ const { data } = await client.updateUserV2(
652
682
  created_opportunity_auto: true,
653
683
  deleted_opportunity: true
654
684
  },
685
+ in_app_notification_setting: {
686
+ integration_critical_error: true,
687
+ integration_error_threshold: true,
688
+ assigned_opportunity: true,
689
+ assigned_task: true
690
+ },
655
691
  properties: [
656
692
  {
657
693
  name: 'profileImageName',
658
694
  value: 'avatar.png'
659
695
  }
660
- ]
696
+ ],
697
+ tags: ['non-billable']
661
698
  },
662
699
  )
663
700
  ```
@@ -676,6 +713,8 @@ const { data } = await client.updateUserV2(
676
713
  "email": "user@example.com",
677
714
  "draft_email": "user@example.com",
678
715
  "draft_email_expires_at": "1970-01-01T00:00:00.000Z",
716
+ "password_reset_token_hash": "string",
717
+ "password_reset_token_expires_at": "1970-01-01T00:00:00.000Z",
679
718
  "department": "Sales",
680
719
  "phone": 1234567890,
681
720
  "secondary_phone": 1234567890,
@@ -717,12 +756,19 @@ const { data } = await client.updateUserV2(
717
756
  "created_opportunity_auto": true,
718
757
  "deleted_opportunity": true
719
758
  },
759
+ "in_app_notification_setting": {
760
+ "integration_critical_error": true,
761
+ "integration_error_threshold": true,
762
+ "assigned_opportunity": true,
763
+ "assigned_task": true
764
+ },
720
765
  "properties": [
721
766
  {
722
767
  "name": "profileImageName",
723
768
  "value": "avatar.png"
724
769
  }
725
- ]
770
+ ],
771
+ "tags": ["non-billable"]
726
772
  }
727
773
  ```
728
774
 
@@ -804,6 +850,8 @@ const { data } = await client.inviteUser(
804
850
  "email": "user@example.com",
805
851
  "draft_email": "user@example.com",
806
852
  "draft_email_expires_at": "1970-01-01T00:00:00.000Z",
853
+ "password_reset_token_hash": "string",
854
+ "password_reset_token_expires_at": "1970-01-01T00:00:00.000Z",
807
855
  "department": "Sales",
808
856
  "phone": 1234567890,
809
857
  "secondary_phone": 1234567890,
@@ -845,12 +893,19 @@ const { data } = await client.inviteUser(
845
893
  "created_opportunity_auto": true,
846
894
  "deleted_opportunity": true
847
895
  },
896
+ "in_app_notification_setting": {
897
+ "integration_critical_error": true,
898
+ "integration_error_threshold": true,
899
+ "assigned_opportunity": true,
900
+ "assigned_task": true
901
+ },
848
902
  "properties": [
849
903
  {
850
904
  "name": "profileImageName",
851
905
  "value": "avatar.png"
852
906
  }
853
- ]
907
+ ],
908
+ "tags": ["non-billable"]
854
909
  }
855
910
  ```
856
911
 
@@ -888,6 +943,8 @@ const { data } = await client.resendUserInvitation(
888
943
  "email": "user@example.com",
889
944
  "draft_email": "user@example.com",
890
945
  "draft_email_expires_at": "1970-01-01T00:00:00.000Z",
946
+ "password_reset_token_hash": "string",
947
+ "password_reset_token_expires_at": "1970-01-01T00:00:00.000Z",
891
948
  "department": "Sales",
892
949
  "phone": 1234567890,
893
950
  "secondary_phone": 1234567890,
@@ -929,12 +986,19 @@ const { data } = await client.resendUserInvitation(
929
986
  "created_opportunity_auto": true,
930
987
  "deleted_opportunity": true
931
988
  },
989
+ "in_app_notification_setting": {
990
+ "integration_critical_error": true,
991
+ "integration_error_threshold": true,
992
+ "assigned_opportunity": true,
993
+ "assigned_task": true
994
+ },
932
995
  "properties": [
933
996
  {
934
997
  "name": "profileImageName",
935
998
  "value": "avatar.png"
936
999
  }
937
- ]
1000
+ ],
1001
+ "tags": ["non-billable"]
938
1002
  }
939
1003
  ```
940
1004
 
@@ -1005,6 +1069,8 @@ const { data } = await client.getGroupsForUser({
1005
1069
  "email": "user@example.com",
1006
1070
  "draft_email": "user@example.com",
1007
1071
  "draft_email_expires_at": "1970-01-01T00:00:00.000Z",
1072
+ "password_reset_token_hash": "string",
1073
+ "password_reset_token_expires_at": "1970-01-01T00:00:00.000Z",
1008
1074
  "department": "Sales",
1009
1075
  "phone": 1234567890,
1010
1076
  "secondary_phone": 1234567890,
@@ -1022,7 +1088,9 @@ const { data } = await client.getGroupsForUser({
1022
1088
  "image_uri": {},
1023
1089
  "favorites": {},
1024
1090
  "email_notification_setting": {},
1091
+ "in_app_notification_setting": {},
1025
1092
  "properties": [],
1093
+ "tags": ["non-billable"],
1026
1094
  "crt_index": 3
1027
1095
  },
1028
1096
  "users": [
@@ -1123,6 +1191,8 @@ const { data } = await client.createGroup(
1123
1191
  "email": "user@example.com",
1124
1192
  "draft_email": "user@example.com",
1125
1193
  "draft_email_expires_at": "1970-01-01T00:00:00.000Z",
1194
+ "password_reset_token_hash": "string",
1195
+ "password_reset_token_expires_at": "1970-01-01T00:00:00.000Z",
1126
1196
  "department": "Sales",
1127
1197
  "phone": 1234567890,
1128
1198
  "secondary_phone": 1234567890,
@@ -1161,9 +1231,16 @@ const { data } = await client.createGroup(
1161
1231
  "created_opportunity_auto": true,
1162
1232
  "deleted_opportunity": true
1163
1233
  },
1234
+ "in_app_notification_setting": {
1235
+ "integration_critical_error": true,
1236
+ "integration_error_threshold": true,
1237
+ "assigned_opportunity": true,
1238
+ "assigned_task": true
1239
+ },
1164
1240
  "properties": [
1165
1241
  {}
1166
1242
  ],
1243
+ "tags": ["non-billable"],
1167
1244
  "crt_index": 3
1168
1245
  },
1169
1246
  "users": [
@@ -1177,6 +1254,8 @@ const { data } = await client.createGroup(
1177
1254
  "email": "user@example.com",
1178
1255
  "draft_email": "user@example.com",
1179
1256
  "draft_email_expires_at": "1970-01-01T00:00:00.000Z",
1257
+ "password_reset_token_hash": "string",
1258
+ "password_reset_token_expires_at": "1970-01-01T00:00:00.000Z",
1180
1259
  "department": "Sales",
1181
1260
  "phone": 1234567890,
1182
1261
  "secondary_phone": 1234567890,
@@ -1194,7 +1273,9 @@ const { data } = await client.createGroup(
1194
1273
  "image_uri": {},
1195
1274
  "favorites": {},
1196
1275
  "email_notification_setting": {},
1197
- "properties": []
1276
+ "in_app_notification_setting": {},
1277
+ "properties": [],
1278
+ "tags": ["non-billable"]
1198
1279
  }
1199
1280
  ],
1200
1281
  "image_uri": {
@@ -1242,6 +1323,8 @@ const { data } = await client.getGroup({
1242
1323
  "email": "user@example.com",
1243
1324
  "draft_email": "user@example.com",
1244
1325
  "draft_email_expires_at": "1970-01-01T00:00:00.000Z",
1326
+ "password_reset_token_hash": "string",
1327
+ "password_reset_token_expires_at": "1970-01-01T00:00:00.000Z",
1245
1328
  "department": "Sales",
1246
1329
  "phone": 1234567890,
1247
1330
  "secondary_phone": 1234567890,
@@ -1280,9 +1363,16 @@ const { data } = await client.getGroup({
1280
1363
  "created_opportunity_auto": true,
1281
1364
  "deleted_opportunity": true
1282
1365
  },
1366
+ "in_app_notification_setting": {
1367
+ "integration_critical_error": true,
1368
+ "integration_error_threshold": true,
1369
+ "assigned_opportunity": true,
1370
+ "assigned_task": true
1371
+ },
1283
1372
  "properties": [
1284
1373
  {}
1285
1374
  ],
1375
+ "tags": ["non-billable"],
1286
1376
  "crt_index": 3
1287
1377
  },
1288
1378
  "users": [
@@ -1296,6 +1386,8 @@ const { data } = await client.getGroup({
1296
1386
  "email": "user@example.com",
1297
1387
  "draft_email": "user@example.com",
1298
1388
  "draft_email_expires_at": "1970-01-01T00:00:00.000Z",
1389
+ "password_reset_token_hash": "string",
1390
+ "password_reset_token_expires_at": "1970-01-01T00:00:00.000Z",
1299
1391
  "department": "Sales",
1300
1392
  "phone": 1234567890,
1301
1393
  "secondary_phone": 1234567890,
@@ -1313,7 +1405,9 @@ const { data } = await client.getGroup({
1313
1405
  "image_uri": {},
1314
1406
  "favorites": {},
1315
1407
  "email_notification_setting": {},
1316
- "properties": []
1408
+ "in_app_notification_setting": {},
1409
+ "properties": [],
1410
+ "tags": ["non-billable"]
1317
1411
  }
1318
1412
  ],
1319
1413
  "image_uri": {
@@ -1370,6 +1464,8 @@ const { data } = await client.updateGroup(
1370
1464
  "email": "user@example.com",
1371
1465
  "draft_email": "user@example.com",
1372
1466
  "draft_email_expires_at": "1970-01-01T00:00:00.000Z",
1467
+ "password_reset_token_hash": "string",
1468
+ "password_reset_token_expires_at": "1970-01-01T00:00:00.000Z",
1373
1469
  "department": "Sales",
1374
1470
  "phone": 1234567890,
1375
1471
  "secondary_phone": 1234567890,
@@ -1408,9 +1504,16 @@ const { data } = await client.updateGroup(
1408
1504
  "created_opportunity_auto": true,
1409
1505
  "deleted_opportunity": true
1410
1506
  },
1507
+ "in_app_notification_setting": {
1508
+ "integration_critical_error": true,
1509
+ "integration_error_threshold": true,
1510
+ "assigned_opportunity": true,
1511
+ "assigned_task": true
1512
+ },
1411
1513
  "properties": [
1412
1514
  {}
1413
1515
  ],
1516
+ "tags": ["non-billable"],
1414
1517
  "crt_index": 3
1415
1518
  },
1416
1519
  "users": [
@@ -1424,6 +1527,8 @@ const { data } = await client.updateGroup(
1424
1527
  "email": "user@example.com",
1425
1528
  "draft_email": "user@example.com",
1426
1529
  "draft_email_expires_at": "1970-01-01T00:00:00.000Z",
1530
+ "password_reset_token_hash": "string",
1531
+ "password_reset_token_expires_at": "1970-01-01T00:00:00.000Z",
1427
1532
  "department": "Sales",
1428
1533
  "phone": 1234567890,
1429
1534
  "secondary_phone": 1234567890,
@@ -1441,7 +1546,9 @@ const { data } = await client.updateGroup(
1441
1546
  "image_uri": {},
1442
1547
  "favorites": {},
1443
1548
  "email_notification_setting": {},
1444
- "properties": []
1549
+ "in_app_notification_setting": {},
1550
+ "properties": [],
1551
+ "tags": ["non-billable"]
1445
1552
  }
1446
1553
  ],
1447
1554
  "image_uri": {
@@ -1502,6 +1609,8 @@ const { data } = await client.advanceUserAssignment({
1502
1609
  "email": "user@example.com",
1503
1610
  "draft_email": "user@example.com",
1504
1611
  "draft_email_expires_at": "1970-01-01T00:00:00.000Z",
1612
+ "password_reset_token_hash": "string",
1613
+ "password_reset_token_expires_at": "1970-01-01T00:00:00.000Z",
1505
1614
  "department": "Sales",
1506
1615
  "phone": 1234567890,
1507
1616
  "secondary_phone": 1234567890,
@@ -1540,9 +1649,16 @@ const { data } = await client.advanceUserAssignment({
1540
1649
  "created_opportunity_auto": true,
1541
1650
  "deleted_opportunity": true
1542
1651
  },
1652
+ "in_app_notification_setting": {
1653
+ "integration_critical_error": true,
1654
+ "integration_error_threshold": true,
1655
+ "assigned_opportunity": true,
1656
+ "assigned_task": true
1657
+ },
1543
1658
  "properties": [
1544
1659
  {}
1545
1660
  ],
1661
+ "tags": ["non-billable"],
1546
1662
  "crt_index": 3
1547
1663
  },
1548
1664
  "users": [
@@ -1556,6 +1672,8 @@ const { data } = await client.advanceUserAssignment({
1556
1672
  "email": "user@example.com",
1557
1673
  "draft_email": "user@example.com",
1558
1674
  "draft_email_expires_at": "1970-01-01T00:00:00.000Z",
1675
+ "password_reset_token_hash": "string",
1676
+ "password_reset_token_expires_at": "1970-01-01T00:00:00.000Z",
1559
1677
  "department": "Sales",
1560
1678
  "phone": 1234567890,
1561
1679
  "secondary_phone": 1234567890,
@@ -1573,7 +1691,9 @@ const { data } = await client.advanceUserAssignment({
1573
1691
  "image_uri": {},
1574
1692
  "favorites": {},
1575
1693
  "email_notification_setting": {},
1576
- "properties": []
1694
+ "in_app_notification_setting": {},
1695
+ "properties": [],
1696
+ "tags": ["non-billable"]
1577
1697
  }
1578
1698
  ],
1579
1699
  "image_uri": {
@@ -1770,6 +1890,37 @@ const { data } = await client.requestPasswordReset(
1770
1890
 
1771
1891
  ---
1772
1892
 
1893
+ ### `resetPassword`
1894
+
1895
+ Set a new password using a reset token from the password reset email.
1896
+ The token is single-use and time-limited.
1897
+
1898
+ `POST /v2/users/public/resetPassword`
1899
+
1900
+ ```ts
1901
+ const { data } = await client.resetPassword(
1902
+ null,
1903
+ {
1904
+ email: 'test@example.com',
1905
+ token: 'string',
1906
+ password: 'string'
1907
+ },
1908
+ )
1909
+ ```
1910
+
1911
+ <details>
1912
+ <summary>Response</summary>
1913
+
1914
+ ```json
1915
+ {
1916
+ "success": true
1917
+ }
1918
+ ```
1919
+
1920
+ </details>
1921
+
1922
+ ---
1923
+
1773
1924
  ### `checkInviteToken`
1774
1925
 
1775
1926
  Check an invite token
@@ -2507,6 +2658,8 @@ type UserV2 = {
2507
2658
  email?: string // email
2508
2659
  draft_email?: string // email
2509
2660
  draft_email_expires_at?: string // date-time
2661
+ password_reset_token_hash?: string
2662
+ password_reset_token_expires_at?: string // date-time
2510
2663
  department?: string
2511
2664
  phone?: string
2512
2665
  secondary_phone?: string
@@ -2527,10 +2680,12 @@ type UserV2 = {
2527
2680
  }
2528
2681
  favorites?: Record<string, unknown>
2529
2682
  email_notification_setting?: Record<string, unknown>
2683
+ in_app_notification_setting?: Record<string, unknown>
2530
2684
  properties?: Array<{
2531
2685
  name: string
2532
2686
  value: string
2533
2687
  }>
2688
+ tags?: string[]
2534
2689
  }
2535
2690
  ```
2536
2691
 
@@ -2641,6 +2796,8 @@ type Group = {
2641
2796
  email?: string // email
2642
2797
  draft_email?: string // email
2643
2798
  draft_email_expires_at?: string // date-time
2799
+ password_reset_token_hash?: string
2800
+ password_reset_token_expires_at?: string // date-time
2644
2801
  department?: string
2645
2802
  phone?: string
2646
2803
  secondary_phone?: string
@@ -2661,10 +2818,12 @@ type Group = {
2661
2818
  }
2662
2819
  favorites?: Record<string, unknown>
2663
2820
  email_notification_setting?: Record<string, unknown>
2821
+ in_app_notification_setting?: Record<string, unknown>
2664
2822
  properties?: Array<{
2665
2823
  name: { ... }
2666
2824
  value: { ... }
2667
2825
  }>
2826
+ tags?: string[]
2668
2827
  crt_index?: number
2669
2828
  }
2670
2829
  users?: Array<{
@@ -2677,6 +2836,8 @@ type Group = {
2677
2836
  email?: string // email
2678
2837
  draft_email?: string // email
2679
2838
  draft_email_expires_at?: string // date-time
2839
+ password_reset_token_hash?: string
2840
+ password_reset_token_expires_at?: string // date-time
2680
2841
  department?: string
2681
2842
  phone?: string
2682
2843
  secondary_phone?: string
@@ -2697,10 +2858,12 @@ type Group = {
2697
2858
  }
2698
2859
  favorites?: Record<string, unknown>
2699
2860
  email_notification_setting?: Record<string, unknown>
2861
+ in_app_notification_setting?: Record<string, unknown>
2700
2862
  properties?: Array<{
2701
2863
  name: { ... }
2702
2864
  value: { ... }
2703
2865
  }>
2866
+ tags?: string[]
2704
2867
  }>
2705
2868
  image_uri?: {
2706
2869
  original?: string // uri