@epilot/sdk 2.8.9 → 2.9.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 (225) hide show
  1. package/README.md +0 -1
  2. package/definitions/access-token-runtime.json +1 -1
  3. package/definitions/access-token.json +1 -155
  4. package/definitions/automation.json +0 -120
  5. package/definitions/blueprint-manifest-runtime.json +1 -1
  6. package/definitions/blueprint-manifest.json +1 -571
  7. package/definitions/focus-pocus-runtime.json +1 -0
  8. package/definitions/focus-pocus.json +757 -0
  9. package/definitions/integration-toolkit.json +30 -5
  10. package/definitions/journey.json +2 -19
  11. package/definitions/targeting.json +4 -5
  12. package/definitions/user-runtime.json +1 -1
  13. package/definitions/user.json +0 -441
  14. package/dist/README-46VYEGGW.js +7 -0
  15. package/dist/README-IVBISSWB.cjs +7 -0
  16. package/dist/{_index-UY46ZN47.js → _index-5FB6F5YY.js} +0 -3
  17. package/dist/{_index-D5TTZP5F.cjs → _index-DB2VV4PQ.cjs} +1 -4
  18. package/dist/access-token-6BJDZSFE.cjs +7 -0
  19. package/dist/access-token-GSQZLDXR.js +7 -0
  20. package/dist/{access-token-runtime-2PSLN2U3.js → access-token-runtime-KCKGT4O7.js} +1 -1
  21. package/dist/{access-token-runtime-B6Z7JLUS.cjs → access-token-runtime-NZWZJPWV.cjs} +2 -2
  22. package/dist/{access-token.d-CegaQmrK.d.cts → access-token.d-CnmUTOlq.d.cts} +5 -165
  23. package/dist/{access-token.d-CegaQmrK.d.ts → access-token.d-CnmUTOlq.d.ts} +5 -165
  24. package/dist/{ai-agents.d-CC5IjXrs.d.ts → ai-agents.d-OkXfr2bz.d.cts} +2 -0
  25. package/dist/{ai-agents.d-CC5IjXrs.d.cts → ai-agents.d-OkXfr2bz.d.ts} +2 -0
  26. package/dist/apis/access-token.cjs +8 -8
  27. package/dist/apis/access-token.d.cts +2 -2
  28. package/dist/apis/access-token.d.ts +2 -2
  29. package/dist/apis/access-token.js +2 -2
  30. package/dist/apis/address-suggestions.cjs +6 -6
  31. package/dist/apis/address-suggestions.js +1 -1
  32. package/dist/apis/address.cjs +6 -6
  33. package/dist/apis/address.js +1 -1
  34. package/dist/apis/ai-agents.cjs +6 -6
  35. package/dist/apis/ai-agents.d.cts +2 -2
  36. package/dist/apis/ai-agents.d.ts +2 -2
  37. package/dist/apis/ai-agents.js +1 -1
  38. package/dist/apis/app.cjs +6 -6
  39. package/dist/apis/app.js +1 -1
  40. package/dist/apis/audit-logs.cjs +6 -6
  41. package/dist/apis/audit-logs.js +1 -1
  42. package/dist/apis/automation.cjs +6 -6
  43. package/dist/apis/automation.d.cts +2 -2
  44. package/dist/apis/automation.d.ts +2 -2
  45. package/dist/apis/automation.js +1 -1
  46. package/dist/apis/billing.cjs +6 -6
  47. package/dist/apis/billing.js +1 -1
  48. package/dist/apis/blueprint-manifest.cjs +8 -8
  49. package/dist/apis/blueprint-manifest.d.cts +2 -2
  50. package/dist/apis/blueprint-manifest.d.ts +2 -2
  51. package/dist/apis/blueprint-manifest.js +2 -2
  52. package/dist/apis/calendar.cjs +6 -6
  53. package/dist/apis/calendar.js +1 -1
  54. package/dist/apis/configuration-hub.cjs +6 -6
  55. package/dist/apis/configuration-hub.js +1 -1
  56. package/dist/apis/consent.cjs +6 -6
  57. package/dist/apis/consent.js +1 -1
  58. package/dist/apis/customer-portal.cjs +6 -6
  59. package/dist/apis/customer-portal.js +1 -1
  60. package/dist/apis/dashboard.cjs +6 -6
  61. package/dist/apis/dashboard.js +1 -1
  62. package/dist/apis/data-governance.cjs +6 -6
  63. package/dist/apis/data-governance.js +1 -1
  64. package/dist/apis/deduplication.cjs +6 -6
  65. package/dist/apis/deduplication.js +1 -1
  66. package/dist/apis/design.cjs +6 -6
  67. package/dist/apis/design.js +1 -1
  68. package/dist/apis/document.cjs +6 -6
  69. package/dist/apis/document.js +1 -1
  70. package/dist/apis/email-settings.cjs +6 -6
  71. package/dist/apis/email-settings.js +1 -1
  72. package/dist/apis/email-template.cjs +6 -6
  73. package/dist/apis/email-template.js +1 -1
  74. package/dist/apis/entity-mapping.cjs +6 -6
  75. package/dist/apis/entity-mapping.js +1 -1
  76. package/dist/apis/entity.cjs +6 -6
  77. package/dist/apis/entity.js +1 -1
  78. package/dist/apis/environments.cjs +6 -6
  79. package/dist/apis/environments.js +1 -1
  80. package/dist/apis/event-catalog.cjs +6 -6
  81. package/dist/apis/event-catalog.js +1 -1
  82. package/dist/apis/file.cjs +6 -6
  83. package/dist/apis/file.js +1 -1
  84. package/dist/apis/iban.cjs +6 -6
  85. package/dist/apis/iban.js +1 -1
  86. package/dist/apis/integration-toolkit.cjs +6 -6
  87. package/dist/apis/integration-toolkit.d.cts +2 -2
  88. package/dist/apis/integration-toolkit.d.ts +2 -2
  89. package/dist/apis/integration-toolkit.js +1 -1
  90. package/dist/apis/journey.cjs +6 -6
  91. package/dist/apis/journey.d.cts +2 -2
  92. package/dist/apis/journey.d.ts +2 -2
  93. package/dist/apis/journey.js +1 -1
  94. package/dist/apis/kanban.cjs +6 -6
  95. package/dist/apis/kanban.js +1 -1
  96. package/dist/apis/message.cjs +6 -6
  97. package/dist/apis/message.js +1 -1
  98. package/dist/apis/metering.cjs +6 -6
  99. package/dist/apis/metering.js +1 -1
  100. package/dist/apis/notes.cjs +6 -6
  101. package/dist/apis/notes.js +1 -1
  102. package/dist/apis/notification.cjs +6 -6
  103. package/dist/apis/notification.js +1 -1
  104. package/dist/apis/organization.cjs +6 -6
  105. package/dist/apis/organization.js +1 -1
  106. package/dist/apis/partner-directory.cjs +6 -6
  107. package/dist/apis/partner-directory.js +1 -1
  108. package/dist/apis/permissions.cjs +6 -6
  109. package/dist/apis/permissions.js +1 -1
  110. package/dist/apis/pricing-tier.cjs +6 -6
  111. package/dist/apis/pricing-tier.js +1 -1
  112. package/dist/apis/pricing.cjs +6 -6
  113. package/dist/apis/pricing.js +1 -1
  114. package/dist/apis/purpose.cjs +6 -6
  115. package/dist/apis/purpose.js +1 -1
  116. package/dist/apis/query.cjs +6 -6
  117. package/dist/apis/query.js +1 -1
  118. package/dist/apis/sandbox.cjs +6 -6
  119. package/dist/apis/sandbox.js +1 -1
  120. package/dist/apis/sharing.cjs +6 -6
  121. package/dist/apis/sharing.js +1 -1
  122. package/dist/apis/submission.cjs +6 -6
  123. package/dist/apis/submission.js +1 -1
  124. package/dist/apis/target.cjs +6 -6
  125. package/dist/apis/target.js +1 -1
  126. package/dist/apis/targeting.cjs +6 -6
  127. package/dist/apis/targeting.d.cts +2 -2
  128. package/dist/apis/targeting.d.ts +2 -2
  129. package/dist/apis/targeting.js +1 -1
  130. package/dist/apis/template-variables.cjs +6 -6
  131. package/dist/apis/template-variables.js +1 -1
  132. package/dist/apis/user.cjs +8 -8
  133. package/dist/apis/user.d.cts +2 -2
  134. package/dist/apis/user.d.ts +2 -2
  135. package/dist/apis/user.js +2 -2
  136. package/dist/apis/validation-rules.cjs +6 -6
  137. package/dist/apis/validation-rules.js +1 -1
  138. package/dist/apis/webhooks.cjs +6 -6
  139. package/dist/apis/webhooks.js +1 -1
  140. package/dist/apis/workflow-definition.cjs +6 -6
  141. package/dist/apis/workflow-definition.js +1 -1
  142. package/dist/apis/workflow.cjs +6 -6
  143. package/dist/apis/workflow.js +1 -1
  144. package/dist/automation-BMO7ZFTN.cjs +7 -0
  145. package/dist/automation-MEZTSUR3.js +7 -0
  146. package/dist/{automation.d-DS_YXDE8.d.cts → automation.d-Du6-uiz5.d.cts} +1 -300
  147. package/dist/{automation.d-DS_YXDE8.d.ts → automation.d-Du6-uiz5.d.ts} +1 -300
  148. package/dist/blueprint-manifest-6DEYW5MW.js +7 -0
  149. package/dist/blueprint-manifest-GCV7H74X.cjs +7 -0
  150. package/dist/{blueprint-manifest-runtime-WU5MWPVT.cjs → blueprint-manifest-runtime-EIDOROIQ.cjs} +2 -2
  151. package/dist/{blueprint-manifest-runtime-2344IUIE.js → blueprint-manifest-runtime-FRLU3ZSF.js} +1 -1
  152. package/dist/{blueprint-manifest.d-2-TORV8o.d.ts → blueprint-manifest.d-B8yDxagC.d.cts} +4 -926
  153. package/dist/{blueprint-manifest.d-2-TORV8o.d.cts → blueprint-manifest.d-B8yDxagC.d.ts} +4 -926
  154. package/dist/chunk-3XKBB5AE.js +14 -0
  155. package/dist/{chunk-UWGWRGGB.js → chunk-4YBWMDFP.js} +1 -1
  156. package/dist/{chunk-4GI6KGKZ.cjs → chunk-CULH5PIN.cjs} +12 -14
  157. package/dist/{chunk-T57MT6J5.cjs → chunk-NGHCQ2FA.cjs} +1 -1
  158. package/dist/{chunk-S5HBBTKM.cjs → chunk-OXJOO2YF.cjs} +1 -1
  159. package/dist/{chunk-VMKT7UQS.js → chunk-RZ4ABDOF.js} +12 -14
  160. package/dist/{chunk-OHHHS4HH.js → chunk-XSE4CFSM.js} +1 -1
  161. package/dist/chunk-Z5TVWG3I.cjs +14 -0
  162. package/dist/index.cjs +16 -24
  163. package/dist/index.d.cts +22 -24
  164. package/dist/index.d.ts +22 -24
  165. package/dist/index.js +6 -14
  166. package/dist/integration-toolkit-334NGEOE.cjs +7 -0
  167. package/dist/integration-toolkit-5VCY6CUN.js +7 -0
  168. package/dist/{integration-toolkit.d-BW9RK5G-.d.cts → integration-toolkit.d-BSA9RRdq.d.cts} +22 -4
  169. package/dist/{integration-toolkit.d-BW9RK5G-.d.ts → integration-toolkit.d-BSA9RRdq.d.ts} +22 -4
  170. package/dist/journey-4DIIPRU4.js +7 -0
  171. package/dist/journey-ATC3Y5AW.cjs +7 -0
  172. package/dist/{journey.d-B1sOeMHw.d.cts → journey.d-BenIUWaO.d.cts} +3 -16
  173. package/dist/{journey.d-B1sOeMHw.d.ts → journey.d-BenIUWaO.d.ts} +3 -16
  174. package/dist/js-yaml-DLCVPJ7G.js +0 -0
  175. package/dist/{targeting-WC62BBZN.cjs → targeting-DAFJBPIZ.cjs} +1 -1
  176. package/dist/{targeting-X4Y2ODBT.js → targeting-TGPCRRI6.js} +1 -1
  177. package/dist/{targeting.d-0rNF7ErD.d.cts → targeting.d-DxHQbn7-.d.cts} +4 -11
  178. package/dist/{targeting.d-0rNF7ErD.d.ts → targeting.d-DxHQbn7-.d.ts} +4 -11
  179. package/dist/user-7ZN2XO7G.cjs +7 -0
  180. package/dist/user-ZK7BK6VY.js +7 -0
  181. package/dist/user-runtime-7O2HLFVQ.cjs +5 -0
  182. package/dist/{user-runtime-6ICV2Y73.js → user-runtime-U4HYUWJU.js} +1 -1
  183. package/dist/{user.d-L-C7_K84.d.cts → user.d-D18fe97W.d.cts} +1 -421
  184. package/dist/{user.d-L-C7_K84.d.ts → user.d-D18fe97W.d.ts} +1 -421
  185. package/docs/access-token.md +3 -111
  186. package/docs/automation.md +37 -180
  187. package/docs/blueprint-manifest.md +95 -421
  188. package/docs/integration-toolkit.md +13 -0
  189. package/docs/journey.md +8 -28
  190. package/docs/targeting.md +3 -6
  191. package/docs/user.md +8 -321
  192. package/package.json +12 -20
  193. package/LICENSE +0 -21
  194. package/definitions/snapshot-runtime.json +0 -1
  195. package/definitions/snapshot.json +0 -973
  196. package/dist/README-NBWAQWQS.js +0 -7
  197. package/dist/README-XCIDDEAE.cjs +0 -7
  198. package/dist/access-token-GD6REL4U.js +0 -7
  199. package/dist/access-token-NQ5BLMOW.cjs +0 -7
  200. package/dist/apis/snapshot.cjs +0 -38
  201. package/dist/apis/snapshot.d.cts +0 -18
  202. package/dist/apis/snapshot.d.ts +0 -18
  203. package/dist/apis/snapshot.js +0 -38
  204. package/dist/automation-S6NFS5KU.cjs +0 -7
  205. package/dist/automation-W75XZG7B.js +0 -7
  206. package/dist/blueprint-manifest-WHYSBU66.cjs +0 -7
  207. package/dist/blueprint-manifest-WZVBTKUL.js +0 -7
  208. package/dist/chunk-54QNWEPZ.js +0 -14
  209. package/dist/chunk-NFIYEMMM.js +0 -14
  210. package/dist/chunk-OWXEZ56F.cjs +0 -14
  211. package/dist/chunk-YXJ4PBFQ.cjs +0 -14
  212. package/dist/integration-toolkit-27Z3VZBZ.cjs +0 -7
  213. package/dist/integration-toolkit-NRLZZFVS.js +0 -7
  214. package/dist/journey-LHVSSVTG.cjs +0 -7
  215. package/dist/journey-NXL264XW.js +0 -7
  216. package/dist/snapshot-6CCO4NYL.js +0 -7
  217. package/dist/snapshot-GWB56VPP.cjs +0 -7
  218. package/dist/snapshot-runtime-6DV42FVY.cjs +0 -5
  219. package/dist/snapshot-runtime-IW57MINC.js +0 -5
  220. package/dist/snapshot.d-D5z6-hzE.d.cts +0 -761
  221. package/dist/snapshot.d-D5z6-hzE.d.ts +0 -761
  222. package/dist/user-3SLAEEVD.cjs +0 -7
  223. package/dist/user-PRUYBXQV.js +0 -7
  224. package/dist/user-runtime-Y3227ETX.cjs +0 -5
  225. package/docs/snapshot.md +0 -656
package/docs/user.md CHANGED
@@ -27,21 +27,14 @@ const { data } = await userClient.signUpUser(...)
27
27
  **User V2**
28
28
  - [`signUpUser`](#signupuser)
29
29
  - [`getMeV2`](#getmev2)
30
- - [`listUserSettings`](#listusersettings)
31
- - [`getUserSettingsScope`](#getusersettingsscope)
32
- - [`getUserSetting`](#getusersetting)
33
- - [`putUserSetting`](#putusersetting)
34
- - [`deleteUserSetting`](#deleteusersetting)
35
30
  - [`listUsersV2`](#listusersv2)
36
31
  - [`getUserV2`](#getuserv2)
37
32
  - [`updateUserV2`](#updateuserv2)
38
33
  - [`deleteUserV2`](#deleteuserv2)
39
34
  - [`inviteUser`](#inviteuser)
40
35
  - [`resendUserInvitation`](#resenduserinvitation)
41
- - [`sendUserPasswordReset`](#senduserpasswordreset)
42
36
  - [`getGroupsForUser`](#getgroupsforuser)
43
37
  - [`verifyEmailWithToken`](#verifyemailwithtoken)
44
- - [`requestPasswordReset`](#requestpasswordreset)
45
38
  - [`checkInviteToken`](#checkinvitetoken)
46
39
  - [`activateUser`](#activateuser)
47
40
  - [`rejectInvite`](#rejectinvite)
@@ -109,12 +102,6 @@ const { data } = await userClient.signUpUser(...)
109
102
  - [`Organization`](#organization)
110
103
  - [`DataPointsResponse`](#datapointsresponse)
111
104
  - [`DataPoint`](#datapoint)
112
- - [`UserSettingScope`](#usersettingscope)
113
- - [`UserSettingKey`](#usersettingkey)
114
- - [`UserSettingValue`](#usersettingvalue)
115
- - [`UserSetting`](#usersetting)
116
- - [`UserSettingsListResponse`](#usersettingslistresponse)
117
- - [`UserSettingsScopeResponse`](#usersettingsscoperesponse)
118
105
  - [`Passkey`](#passkey)
119
106
  - [`PasskeyAuthenticationOptions`](#passkeyauthenticationoptions)
120
107
  - [`PasskeyRegistrationOptions`](#passkeyregistrationoptions)
@@ -233,12 +220,10 @@ const { data } = await client.getMeV2()
233
220
  "status": "Active",
234
221
  "email": "user@example.com",
235
222
  "draft_email": "user@example.com",
236
- "draft_email_expires_at": "1970-01-01T00:00:00.000Z",
237
223
  "department": "Sales",
238
224
  "phone": 1234567890,
239
225
  "secondary_phone": 1234567890,
240
226
  "mfa_enabled": false,
241
- "has_passkeys": false,
242
227
  "phone_verified": true,
243
228
  "token": "string",
244
229
  "signature": "<p>Thanks</p>",
@@ -288,142 +273,6 @@ const { data } = await client.getMeV2()
288
273
 
289
274
  ---
290
275
 
291
- ### `listUserSettings`
292
-
293
- List all setting scopes and keys available for the currently logged in user. Does not return setting values.
294
-
295
- `GET /v2/users/me/settings`
296
-
297
- ```ts
298
- const { data } = await client.listUserSettings()
299
- ```
300
-
301
- <details>
302
- <summary>Response</summary>
303
-
304
- ```json
305
- {
306
- "results": [
307
- {
308
- "scope": "calendar",
309
- "keys": ["visible_calendars"]
310
- }
311
- ]
312
- }
313
- ```
314
-
315
- </details>
316
-
317
- ---
318
-
319
- ### `getUserSettingsScope`
320
-
321
- Get all setting values for one scope for the currently logged in user.
322
-
323
- `GET /v2/users/me/settings/{scope}`
324
-
325
- ```ts
326
- const { data } = await client.getUserSettingsScope({
327
- scope: 'example',
328
- })
329
- ```
330
-
331
- <details>
332
- <summary>Response</summary>
333
-
334
- ```json
335
- {
336
- "scope": "calendar",
337
- "settings": {
338
- "visible_calendars": {
339
- "calendar_ids": ["holidays"]
340
- }
341
- }
342
- }
343
- ```
344
-
345
- </details>
346
-
347
- ---
348
-
349
- ### `getUserSetting`
350
-
351
- Get one setting value by scope and key for the currently logged in user.
352
-
353
- `GET /v2/users/me/settings/{scope}/{key}`
354
-
355
- ```ts
356
- const { data } = await client.getUserSetting({
357
- scope: 'example',
358
- key: 'example',
359
- })
360
- ```
361
-
362
- <details>
363
- <summary>Response</summary>
364
-
365
- ```json
366
- {
367
- "scope": "calendar",
368
- "key": "visible_calendars",
369
- "value": {},
370
- "created_at": "1970-01-01T00:00:00.000Z",
371
- "updated_at": "1970-01-01T00:00:00.000Z"
372
- }
373
- ```
374
-
375
- </details>
376
-
377
- ---
378
-
379
- ### `putUserSetting`
380
-
381
- Create or replace one setting value for the currently logged in user.
382
-
383
- `PUT /v2/users/me/settings/{scope}/{key}`
384
-
385
- ```ts
386
- const { data } = await client.putUserSetting(
387
- {
388
- scope: 'example',
389
- key: 'example',
390
- },
391
- {},
392
- )
393
- ```
394
-
395
- <details>
396
- <summary>Response</summary>
397
-
398
- ```json
399
- {
400
- "scope": "calendar",
401
- "key": "visible_calendars",
402
- "value": {},
403
- "created_at": "1970-01-01T00:00:00.000Z",
404
- "updated_at": "1970-01-01T00:00:00.000Z"
405
- }
406
- ```
407
-
408
- </details>
409
-
410
- ---
411
-
412
- ### `deleteUserSetting`
413
-
414
- Delete one setting value for the currently logged in user.
415
-
416
- `DELETE /v2/users/me/settings/{scope}/{key}`
417
-
418
- ```ts
419
- const { data } = await client.deleteUserSetting({
420
- scope: 'example',
421
- key: 'example',
422
- })
423
- ```
424
-
425
- ---
426
-
427
276
  ### `listUsersV2`
428
277
 
429
278
  Get the list of organization users
@@ -453,12 +302,10 @@ const { data } = await client.listUsersV2({
453
302
  "status": "Active",
454
303
  "email": "user@example.com",
455
304
  "draft_email": "user@example.com",
456
- "draft_email_expires_at": "1970-01-01T00:00:00.000Z",
457
305
  "department": "Sales",
458
306
  "phone": 1234567890,
459
307
  "secondary_phone": 1234567890,
460
308
  "mfa_enabled": false,
461
- "has_passkeys": false,
462
309
  "phone_verified": true,
463
310
  "token": "string",
464
311
  "signature": "<p>Thanks</p>",
@@ -535,12 +382,10 @@ const { data } = await client.getUserV2({
535
382
  "status": "Active",
536
383
  "email": "user@example.com",
537
384
  "draft_email": "user@example.com",
538
- "draft_email_expires_at": "1970-01-01T00:00:00.000Z",
539
385
  "department": "Sales",
540
386
  "phone": 1234567890,
541
387
  "secondary_phone": 1234567890,
542
388
  "mfa_enabled": false,
543
- "has_passkeys": false,
544
389
  "phone_verified": true,
545
390
  "token": "string",
546
391
  "signature": "<p>Thanks</p>",
@@ -610,12 +455,10 @@ const { data } = await client.updateUserV2(
610
455
  status: 'Active',
611
456
  email: 'user@example.com',
612
457
  draft_email: 'user@example.com',
613
- draft_email_expires_at: '1970-01-01T00:00:00.000Z',
614
458
  department: 'Sales',
615
459
  phone: 1234567890,
616
460
  secondary_phone: 1234567890,
617
461
  mfa_enabled: false,
618
- has_passkeys: false,
619
462
  phone_verified: true,
620
463
  token: 'string',
621
464
  signature: '<p>Thanks</p>',
@@ -675,12 +518,10 @@ const { data } = await client.updateUserV2(
675
518
  "status": "Active",
676
519
  "email": "user@example.com",
677
520
  "draft_email": "user@example.com",
678
- "draft_email_expires_at": "1970-01-01T00:00:00.000Z",
679
521
  "department": "Sales",
680
522
  "phone": 1234567890,
681
523
  "secondary_phone": 1234567890,
682
524
  "mfa_enabled": false,
683
- "has_passkeys": false,
684
525
  "phone_verified": true,
685
526
  "token": "string",
686
527
  "signature": "<p>Thanks</p>",
@@ -803,12 +644,10 @@ const { data } = await client.inviteUser(
803
644
  "status": "Active",
804
645
  "email": "user@example.com",
805
646
  "draft_email": "user@example.com",
806
- "draft_email_expires_at": "1970-01-01T00:00:00.000Z",
807
647
  "department": "Sales",
808
648
  "phone": 1234567890,
809
649
  "secondary_phone": 1234567890,
810
650
  "mfa_enabled": false,
811
- "has_passkeys": false,
812
651
  "phone_verified": true,
813
652
  "token": "string",
814
653
  "signature": "<p>Thanks</p>",
@@ -887,12 +726,10 @@ const { data } = await client.resendUserInvitation(
887
726
  "status": "Active",
888
727
  "email": "user@example.com",
889
728
  "draft_email": "user@example.com",
890
- "draft_email_expires_at": "1970-01-01T00:00:00.000Z",
891
729
  "department": "Sales",
892
730
  "phone": 1234567890,
893
731
  "secondary_phone": 1234567890,
894
732
  "mfa_enabled": false,
895
- "has_passkeys": false,
896
733
  "phone_verified": true,
897
734
  "token": "string",
898
735
  "signature": "<p>Thanks</p>",
@@ -942,35 +779,6 @@ const { data } = await client.resendUserInvitation(
942
779
 
943
780
  ---
944
781
 
945
- ### `sendUserPasswordReset`
946
-
947
- Send a password reset email to a user in your organization.
948
- Requires `user:edit` on the target user.
949
-
950
- `POST /v2/users:sendPasswordReset`
951
-
952
- ```ts
953
- const { data } = await client.sendUserPasswordReset(
954
- null,
955
- {
956
- email: 'test@example.com'
957
- },
958
- )
959
- ```
960
-
961
- <details>
962
- <summary>Response</summary>
963
-
964
- ```json
965
- {
966
- "success": true
967
- }
968
- ```
969
-
970
- </details>
971
-
972
- ---
973
-
974
782
  ### `getGroupsForUser`
975
783
 
976
784
  Get groups of a user
@@ -1004,12 +812,10 @@ const { data } = await client.getGroupsForUser({
1004
812
  "status": "Active",
1005
813
  "email": "user@example.com",
1006
814
  "draft_email": "user@example.com",
1007
- "draft_email_expires_at": "1970-01-01T00:00:00.000Z",
1008
815
  "department": "Sales",
1009
816
  "phone": 1234567890,
1010
817
  "secondary_phone": 1234567890,
1011
818
  "mfa_enabled": false,
1012
- "has_passkeys": false,
1013
819
  "phone_verified": true,
1014
820
  "token": "string",
1015
821
  "signature": "<p>Thanks</p>",
@@ -1030,8 +836,7 @@ const { data } = await client.getGroupsForUser({
1030
836
  ],
1031
837
  "image_uri": {
1032
838
  "gradient_colors": ["#0588f0", "#3358d4"]
1033
- },
1034
- "abbreviation": "FN"
839
+ }
1035
840
  }
1036
841
  ]
1037
842
  ```
@@ -1071,8 +876,7 @@ const { data } = await client.getGroups({
1071
876
  "created_by": "123",
1072
877
  "crt_assignee": {},
1073
878
  "users": [],
1074
- "image_uri": {},
1075
- "abbreviation": "FN"
879
+ "image_uri": {}
1076
880
  }
1077
881
  ]
1078
882
  }
@@ -1096,8 +900,7 @@ const { data } = await client.createGroup(
1096
900
  user_ids: ['123', '456'],
1097
901
  image_uri: {
1098
902
  gradient_colors: ['#0588f0', '#3358d4']
1099
- },
1100
- abbreviation: 'FN'
903
+ }
1101
904
  },
1102
905
  )
1103
906
  ```
@@ -1122,12 +925,10 @@ const { data } = await client.createGroup(
1122
925
  "status": "Active",
1123
926
  "email": "user@example.com",
1124
927
  "draft_email": "user@example.com",
1125
- "draft_email_expires_at": "1970-01-01T00:00:00.000Z",
1126
928
  "department": "Sales",
1127
929
  "phone": 1234567890,
1128
930
  "secondary_phone": 1234567890,
1129
931
  "mfa_enabled": false,
1130
- "has_passkeys": false,
1131
932
  "phone_verified": true,
1132
933
  "token": "string",
1133
934
  "signature": "<p>Thanks</p>",
@@ -1176,12 +977,10 @@ const { data } = await client.createGroup(
1176
977
  "status": "Active",
1177
978
  "email": "user@example.com",
1178
979
  "draft_email": "user@example.com",
1179
- "draft_email_expires_at": "1970-01-01T00:00:00.000Z",
1180
980
  "department": "Sales",
1181
981
  "phone": 1234567890,
1182
982
  "secondary_phone": 1234567890,
1183
983
  "mfa_enabled": false,
1184
- "has_passkeys": false,
1185
984
  "phone_verified": true,
1186
985
  "token": "string",
1187
986
  "signature": "<p>Thanks</p>",
@@ -1199,8 +998,7 @@ const { data } = await client.createGroup(
1199
998
  ],
1200
999
  "image_uri": {
1201
1000
  "gradient_colors": ["#0588f0", "#3358d4"]
1202
- },
1203
- "abbreviation": "FN"
1001
+ }
1204
1002
  }
1205
1003
  ```
1206
1004
 
@@ -1241,12 +1039,10 @@ const { data } = await client.getGroup({
1241
1039
  "status": "Active",
1242
1040
  "email": "user@example.com",
1243
1041
  "draft_email": "user@example.com",
1244
- "draft_email_expires_at": "1970-01-01T00:00:00.000Z",
1245
1042
  "department": "Sales",
1246
1043
  "phone": 1234567890,
1247
1044
  "secondary_phone": 1234567890,
1248
1045
  "mfa_enabled": false,
1249
- "has_passkeys": false,
1250
1046
  "phone_verified": true,
1251
1047
  "token": "string",
1252
1048
  "signature": "<p>Thanks</p>",
@@ -1295,12 +1091,10 @@ const { data } = await client.getGroup({
1295
1091
  "status": "Active",
1296
1092
  "email": "user@example.com",
1297
1093
  "draft_email": "user@example.com",
1298
- "draft_email_expires_at": "1970-01-01T00:00:00.000Z",
1299
1094
  "department": "Sales",
1300
1095
  "phone": 1234567890,
1301
1096
  "secondary_phone": 1234567890,
1302
1097
  "mfa_enabled": false,
1303
- "has_passkeys": false,
1304
1098
  "phone_verified": true,
1305
1099
  "token": "string",
1306
1100
  "signature": "<p>Thanks</p>",
@@ -1318,8 +1112,7 @@ const { data } = await client.getGroup({
1318
1112
  ],
1319
1113
  "image_uri": {
1320
1114
  "gradient_colors": ["#0588f0", "#3358d4"]
1321
- },
1322
- "abbreviation": "FN"
1115
+ }
1323
1116
  }
1324
1117
  ```
1325
1118
 
@@ -1343,8 +1136,7 @@ const { data } = await client.updateGroup(
1343
1136
  user_ids: ['123', '456'],
1344
1137
  image_uri: {
1345
1138
  gradient_colors: ['#0588f0', '#3358d4']
1346
- },
1347
- abbreviation: 'FN'
1139
+ }
1348
1140
  },
1349
1141
  )
1350
1142
  ```
@@ -1369,12 +1161,10 @@ const { data } = await client.updateGroup(
1369
1161
  "status": "Active",
1370
1162
  "email": "user@example.com",
1371
1163
  "draft_email": "user@example.com",
1372
- "draft_email_expires_at": "1970-01-01T00:00:00.000Z",
1373
1164
  "department": "Sales",
1374
1165
  "phone": 1234567890,
1375
1166
  "secondary_phone": 1234567890,
1376
1167
  "mfa_enabled": false,
1377
- "has_passkeys": false,
1378
1168
  "phone_verified": true,
1379
1169
  "token": "string",
1380
1170
  "signature": "<p>Thanks</p>",
@@ -1423,12 +1213,10 @@ const { data } = await client.updateGroup(
1423
1213
  "status": "Active",
1424
1214
  "email": "user@example.com",
1425
1215
  "draft_email": "user@example.com",
1426
- "draft_email_expires_at": "1970-01-01T00:00:00.000Z",
1427
1216
  "department": "Sales",
1428
1217
  "phone": 1234567890,
1429
1218
  "secondary_phone": 1234567890,
1430
1219
  "mfa_enabled": false,
1431
- "has_passkeys": false,
1432
1220
  "phone_verified": true,
1433
1221
  "token": "string",
1434
1222
  "signature": "<p>Thanks</p>",
@@ -1446,8 +1234,7 @@ const { data } = await client.updateGroup(
1446
1234
  ],
1447
1235
  "image_uri": {
1448
1236
  "gradient_colors": ["#0588f0", "#3358d4"]
1449
- },
1450
- "abbreviation": "FN"
1237
+ }
1451
1238
  }
1452
1239
  ```
1453
1240
 
@@ -1501,12 +1288,10 @@ const { data } = await client.advanceUserAssignment({
1501
1288
  "status": "Active",
1502
1289
  "email": "user@example.com",
1503
1290
  "draft_email": "user@example.com",
1504
- "draft_email_expires_at": "1970-01-01T00:00:00.000Z",
1505
1291
  "department": "Sales",
1506
1292
  "phone": 1234567890,
1507
1293
  "secondary_phone": 1234567890,
1508
1294
  "mfa_enabled": false,
1509
- "has_passkeys": false,
1510
1295
  "phone_verified": true,
1511
1296
  "token": "string",
1512
1297
  "signature": "<p>Thanks</p>",
@@ -1555,12 +1340,10 @@ const { data } = await client.advanceUserAssignment({
1555
1340
  "status": "Active",
1556
1341
  "email": "user@example.com",
1557
1342
  "draft_email": "user@example.com",
1558
- "draft_email_expires_at": "1970-01-01T00:00:00.000Z",
1559
1343
  "department": "Sales",
1560
1344
  "phone": 1234567890,
1561
1345
  "secondary_phone": 1234567890,
1562
1346
  "mfa_enabled": false,
1563
- "has_passkeys": false,
1564
1347
  "phone_verified": true,
1565
1348
  "token": "string",
1566
1349
  "signature": "<p>Thanks</p>",
@@ -1578,8 +1361,7 @@ const { data } = await client.advanceUserAssignment({
1578
1361
  ],
1579
1362
  "image_uri": {
1580
1363
  "gradient_colors": ["#0588f0", "#3358d4"]
1581
- },
1582
- "abbreviation": "FN"
1364
+ }
1583
1365
  }
1584
1366
  ```
1585
1367
 
@@ -1740,36 +1522,6 @@ const { data } = await client.verifyEmailWithToken(
1740
1522
 
1741
1523
  ---
1742
1524
 
1743
- ### `requestPasswordReset`
1744
-
1745
- Request a password reset email for the given email address. Always
1746
- returns a success response whether or not an account exists with that
1747
- email.
1748
-
1749
- `POST /v2/users/public/requestPasswordReset`
1750
-
1751
- ```ts
1752
- const { data } = await client.requestPasswordReset(
1753
- null,
1754
- {
1755
- email: 'test@example.com'
1756
- },
1757
- )
1758
- ```
1759
-
1760
- <details>
1761
- <summary>Response</summary>
1762
-
1763
- ```json
1764
- {
1765
- "message": "If an account exists, a password reset email has been sent."
1766
- }
1767
- ```
1768
-
1769
- </details>
1770
-
1771
- ---
1772
-
1773
1525
  ### `checkInviteToken`
1774
1526
 
1775
1527
  Check an invite token
@@ -2506,12 +2258,10 @@ type UserV2 = {
2506
2258
  status?: "Active" | "Pending" | "Deactivated" | "Deleted"
2507
2259
  email?: string // email
2508
2260
  draft_email?: string // email
2509
- draft_email_expires_at?: string // date-time
2510
2261
  department?: string
2511
2262
  phone?: string
2512
2263
  secondary_phone?: string
2513
2264
  mfa_enabled?: boolean
2514
- has_passkeys?: boolean
2515
2265
  phone_verified?: boolean
2516
2266
  token?: string
2517
2267
  signature?: string
@@ -2601,7 +2351,6 @@ type CreateGroupReq = {
2601
2351
  thumbnail_64?: string // uri
2602
2352
  gradient_colors?: string[]
2603
2353
  }
2604
- abbreviation?: string
2605
2354
  }
2606
2355
  ```
2607
2356
 
@@ -2617,7 +2366,6 @@ type UpdateGroupReq = {
2617
2366
  thumbnail_64?: string // uri
2618
2367
  gradient_colors?: string[]
2619
2368
  }
2620
- abbreviation?: string
2621
2369
  }
2622
2370
  ```
2623
2371
 
@@ -2640,12 +2388,10 @@ type Group = {
2640
2388
  status?: "Active" | "Pending" | "Deactivated" | "Deleted"
2641
2389
  email?: string // email
2642
2390
  draft_email?: string // email
2643
- draft_email_expires_at?: string // date-time
2644
2391
  department?: string
2645
2392
  phone?: string
2646
2393
  secondary_phone?: string
2647
2394
  mfa_enabled?: boolean
2648
- has_passkeys?: boolean
2649
2395
  phone_verified?: boolean
2650
2396
  token?: string
2651
2397
  signature?: string
@@ -2676,12 +2422,10 @@ type Group = {
2676
2422
  status?: "Active" | "Pending" | "Deactivated" | "Deleted"
2677
2423
  email?: string // email
2678
2424
  draft_email?: string // email
2679
- draft_email_expires_at?: string // date-time
2680
2425
  department?: string
2681
2426
  phone?: string
2682
2427
  secondary_phone?: string
2683
2428
  mfa_enabled?: boolean
2684
- has_passkeys?: boolean
2685
2429
  phone_verified?: boolean
2686
2430
  token?: string
2687
2431
  signature?: string
@@ -2708,7 +2452,6 @@ type Group = {
2708
2452
  thumbnail_64?: string // uri
2709
2453
  gradient_colors?: string[]
2710
2454
  }
2711
- abbreviation?: string
2712
2455
  }
2713
2456
  ```
2714
2457
 
@@ -2825,62 +2568,6 @@ type DataPoint = {
2825
2568
  }
2826
2569
  ```
2827
2570
 
2828
- ### `UserSettingScope`
2829
-
2830
- User setting scope. Values are limited to 64 characters.
2831
-
2832
- ```ts
2833
- type UserSettingScope = string
2834
- ```
2835
-
2836
- ### `UserSettingKey`
2837
-
2838
- User setting key. Values are limited to 128 characters.
2839
-
2840
- ```ts
2841
- type UserSettingKey = string
2842
- ```
2843
-
2844
- ### `UserSettingValue`
2845
-
2846
- The JSON value of a user setting. Objects are recommended for extensibility, but any JSON value is accepted up to 64 KiB when serialized as JSON.
2847
-
2848
- ```ts
2849
- type UserSettingValue = unknown
2850
- ```
2851
-
2852
- ### `UserSetting`
2853
-
2854
- ```ts
2855
- type UserSetting = {
2856
- scope: string
2857
- key: string
2858
- value: unknown
2859
- created_at: string // date-time
2860
- updated_at: string // date-time
2861
- }
2862
- ```
2863
-
2864
- ### `UserSettingsListResponse`
2865
-
2866
- ```ts
2867
- type UserSettingsListResponse = {
2868
- results: Array<{
2869
- scope: string
2870
- keys: string[]
2871
- }>
2872
- }
2873
- ```
2874
-
2875
- ### `UserSettingsScopeResponse`
2876
-
2877
- ```ts
2878
- type UserSettingsScopeResponse = {
2879
- scope: string
2880
- settings: Record<string, unknown>
2881
- }
2882
- ```
2883
-
2884
2571
  ### `Passkey`
2885
2572
 
2886
2573
  ```ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/sdk",
3
- "version": "2.8.9",
3
+ "version": "2.9.0",
4
4
  "description": "JavaScript/TypeScript SDK for epilot APIs",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -267,12 +267,6 @@
267
267
  "require": "./dist/apis/sharing.cjs"
268
268
  },
269
269
  "./sharing/openapi.json": "./definitions/sharing.json",
270
- "./snapshot": {
271
- "types": "./dist/apis/snapshot.d.ts",
272
- "import": "./dist/apis/snapshot.js",
273
- "require": "./dist/apis/snapshot.cjs"
274
- },
275
- "./snapshot/openapi.json": "./definitions/snapshot.json",
276
270
  "./submission": {
277
271
  "types": "./dist/apis/submission.d.ts",
278
272
  "import": "./dist/apis/submission.js",
@@ -322,6 +316,16 @@
322
316
  },
323
317
  "./workflow-definition/openapi.json": "./definitions/workflow-definition.json"
324
318
  },
319
+ "scripts": {
320
+ "generate": "tsx ../../scripts/generate-sdk-v2.ts && pnpm lint:fix",
321
+ "build": "tsup",
322
+ "build:watch": "tsup --watch",
323
+ "test": "vitest run",
324
+ "test:watch": "vitest",
325
+ "lint": "biome check src",
326
+ "lint:fix": "biome check src --fix",
327
+ "prepublishOnly": "npm run build"
328
+ },
325
329
  "keywords": [
326
330
  "epilot",
327
331
  "sdk",
@@ -487,9 +491,6 @@
487
491
  "sharing": [
488
492
  "./dist/apis/sharing.d.ts"
489
493
  ],
490
- "snapshot": [
491
- "./dist/apis/snapshot.d.ts"
492
- ],
493
494
  "submission": [
494
495
  "./dist/apis/submission.d.ts"
495
496
  ],
@@ -515,14 +516,5 @@
515
516
  "./dist/apis/workflow-definition.d.ts"
516
517
  ]
517
518
  }
518
- },
519
- "scripts": {
520
- "generate": "tsx ../../scripts/generate-sdk-v2.ts && pnpm lint:fix",
521
- "build": "tsup",
522
- "build:watch": "tsup --watch",
523
- "test": "vitest run",
524
- "test:watch": "vitest",
525
- "lint": "biome check src",
526
- "lint:fix": "biome check src --fix"
527
519
  }
528
- }
520
+ }