@epilot/sdk 2.9.0 → 2.9.1
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.
- package/LICENSE +21 -0
- package/README.md +1 -0
- package/definitions/access-token-runtime.json +1 -1
- package/definitions/access-token.json +155 -1
- package/definitions/automation.json +120 -0
- package/definitions/blueprint-manifest-runtime.json +1 -1
- package/definitions/blueprint-manifest.json +571 -1
- package/definitions/journey.json +19 -2
- package/definitions/snapshot-runtime.json +1 -0
- package/definitions/snapshot.json +935 -0
- package/definitions/targeting.json +5 -4
- package/definitions/user-runtime.json +1 -1
- package/definitions/user.json +441 -0
- package/dist/README-NBWAQWQS.js +7 -0
- package/dist/README-XCIDDEAE.cjs +7 -0
- package/dist/{_index-DB2VV4PQ.cjs → _index-D5TTZP5F.cjs} +4 -1
- package/dist/{_index-5FB6F5YY.js → _index-UY46ZN47.js} +3 -0
- package/dist/access-token-GD6REL4U.js +7 -0
- package/dist/access-token-NQ5BLMOW.cjs +7 -0
- package/dist/{access-token-runtime-KCKGT4O7.js → access-token-runtime-2PSLN2U3.js} +1 -1
- package/dist/{access-token-runtime-NZWZJPWV.cjs → access-token-runtime-B6Z7JLUS.cjs} +2 -2
- package/dist/{access-token.d-CnmUTOlq.d.cts → access-token.d-CegaQmrK.d.cts} +165 -5
- package/dist/{access-token.d-CnmUTOlq.d.ts → access-token.d-CegaQmrK.d.ts} +165 -5
- package/dist/{ai-agents.d-OkXfr2bz.d.cts → ai-agents.d-CC5IjXrs.d.cts} +0 -2
- package/dist/{ai-agents.d-OkXfr2bz.d.ts → ai-agents.d-CC5IjXrs.d.ts} +0 -2
- package/dist/apis/access-token.cjs +8 -8
- package/dist/apis/access-token.d.cts +2 -2
- package/dist/apis/access-token.d.ts +2 -2
- package/dist/apis/access-token.js +2 -2
- package/dist/apis/address-suggestions.cjs +6 -6
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +6 -6
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +6 -6
- package/dist/apis/ai-agents.d.cts +2 -2
- package/dist/apis/ai-agents.d.ts +2 -2
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +6 -6
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +6 -6
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +6 -6
- package/dist/apis/automation.d.cts +2 -2
- package/dist/apis/automation.d.ts +2 -2
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +6 -6
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +8 -8
- package/dist/apis/blueprint-manifest.d.cts +2 -2
- package/dist/apis/blueprint-manifest.d.ts +2 -2
- package/dist/apis/blueprint-manifest.js +2 -2
- package/dist/apis/calendar.cjs +6 -6
- package/dist/apis/calendar.js +1 -1
- package/dist/apis/configuration-hub.cjs +6 -6
- package/dist/apis/configuration-hub.js +1 -1
- package/dist/apis/consent.cjs +6 -6
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +6 -6
- package/dist/apis/customer-portal.js +1 -1
- package/dist/apis/dashboard.cjs +6 -6
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-governance.cjs +6 -6
- package/dist/apis/data-governance.js +1 -1
- package/dist/apis/deduplication.cjs +6 -6
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +6 -6
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +6 -6
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +6 -6
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +6 -6
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +6 -6
- package/dist/apis/entity.js +1 -1
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.js +1 -1
- package/dist/apis/event-catalog.cjs +6 -6
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +6 -6
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.js +1 -1
- package/dist/apis/integration-toolkit.cjs +6 -6
- package/dist/apis/integration-toolkit.js +1 -1
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.d.cts +2 -2
- package/dist/apis/journey.d.ts +2 -2
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +6 -6
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +6 -6
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +6 -6
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +6 -6
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +6 -6
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +6 -6
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +6 -6
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +6 -6
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +6 -6
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +6 -6
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/query.cjs +6 -6
- package/dist/apis/query.js +1 -1
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/sharing.cjs +6 -6
- package/dist/apis/sharing.js +1 -1
- package/dist/apis/snapshot.cjs +38 -0
- package/dist/apis/snapshot.d.cts +18 -0
- package/dist/apis/snapshot.d.ts +18 -0
- package/dist/apis/snapshot.js +38 -0
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.js +1 -1
- package/dist/apis/target.cjs +6 -6
- package/dist/apis/target.js +1 -1
- package/dist/apis/targeting.cjs +6 -6
- package/dist/apis/targeting.d.cts +2 -2
- package/dist/apis/targeting.d.ts +2 -2
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +6 -6
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +8 -8
- package/dist/apis/user.d.cts +2 -2
- package/dist/apis/user.d.ts +2 -2
- package/dist/apis/user.js +2 -2
- package/dist/apis/validation-rules.cjs +6 -6
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +6 -6
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +6 -6
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +6 -6
- package/dist/apis/workflow.js +1 -1
- package/dist/automation-S6NFS5KU.cjs +7 -0
- package/dist/automation-W75XZG7B.js +7 -0
- package/dist/{automation.d-Du6-uiz5.d.cts → automation.d-DS_YXDE8.d.cts} +300 -1
- package/dist/{automation.d-Du6-uiz5.d.ts → automation.d-DS_YXDE8.d.ts} +300 -1
- package/dist/blueprint-manifest-WHYSBU66.cjs +7 -0
- package/dist/blueprint-manifest-WZVBTKUL.js +7 -0
- package/dist/{blueprint-manifest-runtime-FRLU3ZSF.js → blueprint-manifest-runtime-2344IUIE.js} +1 -1
- package/dist/{blueprint-manifest-runtime-EIDOROIQ.cjs → blueprint-manifest-runtime-WU5MWPVT.cjs} +2 -2
- package/dist/{blueprint-manifest.d-B8yDxagC.d.cts → blueprint-manifest.d-2-TORV8o.d.cts} +926 -4
- package/dist/{blueprint-manifest.d-B8yDxagC.d.ts → blueprint-manifest.d-2-TORV8o.d.ts} +926 -4
- package/dist/chunk-54QNWEPZ.js +14 -0
- package/dist/{chunk-CULH5PIN.cjs → chunk-6V3NYADA.cjs} +13 -11
- package/dist/chunk-NFIYEMMM.js +14 -0
- package/dist/{chunk-XSE4CFSM.js → chunk-OHHHS4HH.js} +1 -1
- package/dist/chunk-OWXEZ56F.cjs +14 -0
- package/dist/{chunk-RZ4ABDOF.js → chunk-QGP5WMHK.js} +13 -11
- package/dist/{chunk-OXJOO2YF.cjs → chunk-S5HBBTKM.cjs} +1 -1
- package/dist/{chunk-NGHCQ2FA.cjs → chunk-T57MT6J5.cjs} +1 -1
- package/dist/{chunk-4YBWMDFP.js → chunk-UWGWRGGB.js} +1 -1
- package/dist/chunk-YXJ4PBFQ.cjs +14 -0
- package/dist/index.cjs +24 -16
- package/dist/index.d.cts +23 -21
- package/dist/index.d.ts +23 -21
- package/dist/index.js +14 -6
- package/dist/journey-LHVSSVTG.cjs +7 -0
- package/dist/journey-NXL264XW.js +7 -0
- package/dist/{journey.d-BenIUWaO.d.ts → journey.d-B1sOeMHw.d.cts} +16 -3
- package/dist/{journey.d-BenIUWaO.d.cts → journey.d-B1sOeMHw.d.ts} +16 -3
- package/dist/js-yaml-DLCVPJ7G.js +0 -0
- package/dist/snapshot-2HFERXRQ.js +7 -0
- package/dist/snapshot-UHCQAT4R.cjs +7 -0
- package/dist/snapshot-runtime-6DV42FVY.cjs +5 -0
- package/dist/snapshot-runtime-IW57MINC.js +5 -0
- package/dist/snapshot.d-CqefmvuB.d.cts +724 -0
- package/dist/snapshot.d-CqefmvuB.d.ts +724 -0
- package/dist/{targeting-DAFJBPIZ.cjs → targeting-WC62BBZN.cjs} +1 -1
- package/dist/{targeting-TGPCRRI6.js → targeting-X4Y2ODBT.js} +1 -1
- package/dist/{targeting.d-DxHQbn7-.d.cts → targeting.d-0rNF7ErD.d.cts} +11 -4
- package/dist/{targeting.d-DxHQbn7-.d.ts → targeting.d-0rNF7ErD.d.ts} +11 -4
- package/dist/user-3SLAEEVD.cjs +7 -0
- package/dist/user-PRUYBXQV.js +7 -0
- package/dist/{user-runtime-U4HYUWJU.js → user-runtime-6ICV2Y73.js} +1 -1
- package/dist/user-runtime-Y3227ETX.cjs +5 -0
- package/dist/{user.d-D18fe97W.d.cts → user.d-L-C7_K84.d.cts} +421 -1
- package/dist/{user.d-D18fe97W.d.ts → user.d-L-C7_K84.d.ts} +421 -1
- package/docs/access-token.md +111 -3
- package/docs/automation.md +180 -37
- package/docs/blueprint-manifest.md +421 -95
- package/docs/journey.md +28 -8
- package/docs/snapshot.md +607 -0
- package/docs/targeting.md +6 -3
- package/docs/user.md +321 -8
- package/package.json +20 -12
- package/definitions/focus-pocus-runtime.json +0 -1
- package/definitions/focus-pocus.json +0 -757
- package/dist/README-46VYEGGW.js +0 -7
- package/dist/README-IVBISSWB.cjs +0 -7
- package/dist/access-token-6BJDZSFE.cjs +0 -7
- package/dist/access-token-GSQZLDXR.js +0 -7
- package/dist/automation-BMO7ZFTN.cjs +0 -7
- package/dist/automation-MEZTSUR3.js +0 -7
- package/dist/blueprint-manifest-6DEYW5MW.js +0 -7
- package/dist/blueprint-manifest-GCV7H74X.cjs +0 -7
- package/dist/chunk-3XKBB5AE.js +0 -14
- package/dist/chunk-Z5TVWG3I.cjs +0 -14
- package/dist/journey-4DIIPRU4.js +0 -7
- package/dist/journey-ATC3Y5AW.cjs +0 -7
- package/dist/user-7ZN2XO7G.cjs +0 -7
- package/dist/user-ZK7BK6VY.js +0 -7
- package/dist/user-runtime-7O2HLFVQ.cjs +0 -5
package/docs/user.md
CHANGED
|
@@ -27,14 +27,21 @@ 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)
|
|
30
35
|
- [`listUsersV2`](#listusersv2)
|
|
31
36
|
- [`getUserV2`](#getuserv2)
|
|
32
37
|
- [`updateUserV2`](#updateuserv2)
|
|
33
38
|
- [`deleteUserV2`](#deleteuserv2)
|
|
34
39
|
- [`inviteUser`](#inviteuser)
|
|
35
40
|
- [`resendUserInvitation`](#resenduserinvitation)
|
|
41
|
+
- [`sendUserPasswordReset`](#senduserpasswordreset)
|
|
36
42
|
- [`getGroupsForUser`](#getgroupsforuser)
|
|
37
43
|
- [`verifyEmailWithToken`](#verifyemailwithtoken)
|
|
44
|
+
- [`requestPasswordReset`](#requestpasswordreset)
|
|
38
45
|
- [`checkInviteToken`](#checkinvitetoken)
|
|
39
46
|
- [`activateUser`](#activateuser)
|
|
40
47
|
- [`rejectInvite`](#rejectinvite)
|
|
@@ -102,6 +109,12 @@ const { data } = await userClient.signUpUser(...)
|
|
|
102
109
|
- [`Organization`](#organization)
|
|
103
110
|
- [`DataPointsResponse`](#datapointsresponse)
|
|
104
111
|
- [`DataPoint`](#datapoint)
|
|
112
|
+
- [`UserSettingScope`](#usersettingscope)
|
|
113
|
+
- [`UserSettingKey`](#usersettingkey)
|
|
114
|
+
- [`UserSettingValue`](#usersettingvalue)
|
|
115
|
+
- [`UserSetting`](#usersetting)
|
|
116
|
+
- [`UserSettingsListResponse`](#usersettingslistresponse)
|
|
117
|
+
- [`UserSettingsScopeResponse`](#usersettingsscoperesponse)
|
|
105
118
|
- [`Passkey`](#passkey)
|
|
106
119
|
- [`PasskeyAuthenticationOptions`](#passkeyauthenticationoptions)
|
|
107
120
|
- [`PasskeyRegistrationOptions`](#passkeyregistrationoptions)
|
|
@@ -220,10 +233,12 @@ const { data } = await client.getMeV2()
|
|
|
220
233
|
"status": "Active",
|
|
221
234
|
"email": "user@example.com",
|
|
222
235
|
"draft_email": "user@example.com",
|
|
236
|
+
"draft_email_expires_at": "1970-01-01T00:00:00.000Z",
|
|
223
237
|
"department": "Sales",
|
|
224
238
|
"phone": 1234567890,
|
|
225
239
|
"secondary_phone": 1234567890,
|
|
226
240
|
"mfa_enabled": false,
|
|
241
|
+
"has_passkeys": false,
|
|
227
242
|
"phone_verified": true,
|
|
228
243
|
"token": "string",
|
|
229
244
|
"signature": "<p>Thanks</p>",
|
|
@@ -273,6 +288,142 @@ const { data } = await client.getMeV2()
|
|
|
273
288
|
|
|
274
289
|
---
|
|
275
290
|
|
|
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
|
+
|
|
276
427
|
### `listUsersV2`
|
|
277
428
|
|
|
278
429
|
Get the list of organization users
|
|
@@ -302,10 +453,12 @@ const { data } = await client.listUsersV2({
|
|
|
302
453
|
"status": "Active",
|
|
303
454
|
"email": "user@example.com",
|
|
304
455
|
"draft_email": "user@example.com",
|
|
456
|
+
"draft_email_expires_at": "1970-01-01T00:00:00.000Z",
|
|
305
457
|
"department": "Sales",
|
|
306
458
|
"phone": 1234567890,
|
|
307
459
|
"secondary_phone": 1234567890,
|
|
308
460
|
"mfa_enabled": false,
|
|
461
|
+
"has_passkeys": false,
|
|
309
462
|
"phone_verified": true,
|
|
310
463
|
"token": "string",
|
|
311
464
|
"signature": "<p>Thanks</p>",
|
|
@@ -382,10 +535,12 @@ const { data } = await client.getUserV2({
|
|
|
382
535
|
"status": "Active",
|
|
383
536
|
"email": "user@example.com",
|
|
384
537
|
"draft_email": "user@example.com",
|
|
538
|
+
"draft_email_expires_at": "1970-01-01T00:00:00.000Z",
|
|
385
539
|
"department": "Sales",
|
|
386
540
|
"phone": 1234567890,
|
|
387
541
|
"secondary_phone": 1234567890,
|
|
388
542
|
"mfa_enabled": false,
|
|
543
|
+
"has_passkeys": false,
|
|
389
544
|
"phone_verified": true,
|
|
390
545
|
"token": "string",
|
|
391
546
|
"signature": "<p>Thanks</p>",
|
|
@@ -455,10 +610,12 @@ const { data } = await client.updateUserV2(
|
|
|
455
610
|
status: 'Active',
|
|
456
611
|
email: 'user@example.com',
|
|
457
612
|
draft_email: 'user@example.com',
|
|
613
|
+
draft_email_expires_at: '1970-01-01T00:00:00.000Z',
|
|
458
614
|
department: 'Sales',
|
|
459
615
|
phone: 1234567890,
|
|
460
616
|
secondary_phone: 1234567890,
|
|
461
617
|
mfa_enabled: false,
|
|
618
|
+
has_passkeys: false,
|
|
462
619
|
phone_verified: true,
|
|
463
620
|
token: 'string',
|
|
464
621
|
signature: '<p>Thanks</p>',
|
|
@@ -518,10 +675,12 @@ const { data } = await client.updateUserV2(
|
|
|
518
675
|
"status": "Active",
|
|
519
676
|
"email": "user@example.com",
|
|
520
677
|
"draft_email": "user@example.com",
|
|
678
|
+
"draft_email_expires_at": "1970-01-01T00:00:00.000Z",
|
|
521
679
|
"department": "Sales",
|
|
522
680
|
"phone": 1234567890,
|
|
523
681
|
"secondary_phone": 1234567890,
|
|
524
682
|
"mfa_enabled": false,
|
|
683
|
+
"has_passkeys": false,
|
|
525
684
|
"phone_verified": true,
|
|
526
685
|
"token": "string",
|
|
527
686
|
"signature": "<p>Thanks</p>",
|
|
@@ -644,10 +803,12 @@ const { data } = await client.inviteUser(
|
|
|
644
803
|
"status": "Active",
|
|
645
804
|
"email": "user@example.com",
|
|
646
805
|
"draft_email": "user@example.com",
|
|
806
|
+
"draft_email_expires_at": "1970-01-01T00:00:00.000Z",
|
|
647
807
|
"department": "Sales",
|
|
648
808
|
"phone": 1234567890,
|
|
649
809
|
"secondary_phone": 1234567890,
|
|
650
810
|
"mfa_enabled": false,
|
|
811
|
+
"has_passkeys": false,
|
|
651
812
|
"phone_verified": true,
|
|
652
813
|
"token": "string",
|
|
653
814
|
"signature": "<p>Thanks</p>",
|
|
@@ -726,10 +887,12 @@ const { data } = await client.resendUserInvitation(
|
|
|
726
887
|
"status": "Active",
|
|
727
888
|
"email": "user@example.com",
|
|
728
889
|
"draft_email": "user@example.com",
|
|
890
|
+
"draft_email_expires_at": "1970-01-01T00:00:00.000Z",
|
|
729
891
|
"department": "Sales",
|
|
730
892
|
"phone": 1234567890,
|
|
731
893
|
"secondary_phone": 1234567890,
|
|
732
894
|
"mfa_enabled": false,
|
|
895
|
+
"has_passkeys": false,
|
|
733
896
|
"phone_verified": true,
|
|
734
897
|
"token": "string",
|
|
735
898
|
"signature": "<p>Thanks</p>",
|
|
@@ -779,6 +942,35 @@ const { data } = await client.resendUserInvitation(
|
|
|
779
942
|
|
|
780
943
|
---
|
|
781
944
|
|
|
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
|
+
|
|
782
974
|
### `getGroupsForUser`
|
|
783
975
|
|
|
784
976
|
Get groups of a user
|
|
@@ -812,10 +1004,12 @@ const { data } = await client.getGroupsForUser({
|
|
|
812
1004
|
"status": "Active",
|
|
813
1005
|
"email": "user@example.com",
|
|
814
1006
|
"draft_email": "user@example.com",
|
|
1007
|
+
"draft_email_expires_at": "1970-01-01T00:00:00.000Z",
|
|
815
1008
|
"department": "Sales",
|
|
816
1009
|
"phone": 1234567890,
|
|
817
1010
|
"secondary_phone": 1234567890,
|
|
818
1011
|
"mfa_enabled": false,
|
|
1012
|
+
"has_passkeys": false,
|
|
819
1013
|
"phone_verified": true,
|
|
820
1014
|
"token": "string",
|
|
821
1015
|
"signature": "<p>Thanks</p>",
|
|
@@ -836,7 +1030,8 @@ const { data } = await client.getGroupsForUser({
|
|
|
836
1030
|
],
|
|
837
1031
|
"image_uri": {
|
|
838
1032
|
"gradient_colors": ["#0588f0", "#3358d4"]
|
|
839
|
-
}
|
|
1033
|
+
},
|
|
1034
|
+
"abbreviation": "FN"
|
|
840
1035
|
}
|
|
841
1036
|
]
|
|
842
1037
|
```
|
|
@@ -876,7 +1071,8 @@ const { data } = await client.getGroups({
|
|
|
876
1071
|
"created_by": "123",
|
|
877
1072
|
"crt_assignee": {},
|
|
878
1073
|
"users": [],
|
|
879
|
-
"image_uri": {}
|
|
1074
|
+
"image_uri": {},
|
|
1075
|
+
"abbreviation": "FN"
|
|
880
1076
|
}
|
|
881
1077
|
]
|
|
882
1078
|
}
|
|
@@ -900,7 +1096,8 @@ const { data } = await client.createGroup(
|
|
|
900
1096
|
user_ids: ['123', '456'],
|
|
901
1097
|
image_uri: {
|
|
902
1098
|
gradient_colors: ['#0588f0', '#3358d4']
|
|
903
|
-
}
|
|
1099
|
+
},
|
|
1100
|
+
abbreviation: 'FN'
|
|
904
1101
|
},
|
|
905
1102
|
)
|
|
906
1103
|
```
|
|
@@ -925,10 +1122,12 @@ const { data } = await client.createGroup(
|
|
|
925
1122
|
"status": "Active",
|
|
926
1123
|
"email": "user@example.com",
|
|
927
1124
|
"draft_email": "user@example.com",
|
|
1125
|
+
"draft_email_expires_at": "1970-01-01T00:00:00.000Z",
|
|
928
1126
|
"department": "Sales",
|
|
929
1127
|
"phone": 1234567890,
|
|
930
1128
|
"secondary_phone": 1234567890,
|
|
931
1129
|
"mfa_enabled": false,
|
|
1130
|
+
"has_passkeys": false,
|
|
932
1131
|
"phone_verified": true,
|
|
933
1132
|
"token": "string",
|
|
934
1133
|
"signature": "<p>Thanks</p>",
|
|
@@ -977,10 +1176,12 @@ const { data } = await client.createGroup(
|
|
|
977
1176
|
"status": "Active",
|
|
978
1177
|
"email": "user@example.com",
|
|
979
1178
|
"draft_email": "user@example.com",
|
|
1179
|
+
"draft_email_expires_at": "1970-01-01T00:00:00.000Z",
|
|
980
1180
|
"department": "Sales",
|
|
981
1181
|
"phone": 1234567890,
|
|
982
1182
|
"secondary_phone": 1234567890,
|
|
983
1183
|
"mfa_enabled": false,
|
|
1184
|
+
"has_passkeys": false,
|
|
984
1185
|
"phone_verified": true,
|
|
985
1186
|
"token": "string",
|
|
986
1187
|
"signature": "<p>Thanks</p>",
|
|
@@ -998,7 +1199,8 @@ const { data } = await client.createGroup(
|
|
|
998
1199
|
],
|
|
999
1200
|
"image_uri": {
|
|
1000
1201
|
"gradient_colors": ["#0588f0", "#3358d4"]
|
|
1001
|
-
}
|
|
1202
|
+
},
|
|
1203
|
+
"abbreviation": "FN"
|
|
1002
1204
|
}
|
|
1003
1205
|
```
|
|
1004
1206
|
|
|
@@ -1039,10 +1241,12 @@ const { data } = await client.getGroup({
|
|
|
1039
1241
|
"status": "Active",
|
|
1040
1242
|
"email": "user@example.com",
|
|
1041
1243
|
"draft_email": "user@example.com",
|
|
1244
|
+
"draft_email_expires_at": "1970-01-01T00:00:00.000Z",
|
|
1042
1245
|
"department": "Sales",
|
|
1043
1246
|
"phone": 1234567890,
|
|
1044
1247
|
"secondary_phone": 1234567890,
|
|
1045
1248
|
"mfa_enabled": false,
|
|
1249
|
+
"has_passkeys": false,
|
|
1046
1250
|
"phone_verified": true,
|
|
1047
1251
|
"token": "string",
|
|
1048
1252
|
"signature": "<p>Thanks</p>",
|
|
@@ -1091,10 +1295,12 @@ const { data } = await client.getGroup({
|
|
|
1091
1295
|
"status": "Active",
|
|
1092
1296
|
"email": "user@example.com",
|
|
1093
1297
|
"draft_email": "user@example.com",
|
|
1298
|
+
"draft_email_expires_at": "1970-01-01T00:00:00.000Z",
|
|
1094
1299
|
"department": "Sales",
|
|
1095
1300
|
"phone": 1234567890,
|
|
1096
1301
|
"secondary_phone": 1234567890,
|
|
1097
1302
|
"mfa_enabled": false,
|
|
1303
|
+
"has_passkeys": false,
|
|
1098
1304
|
"phone_verified": true,
|
|
1099
1305
|
"token": "string",
|
|
1100
1306
|
"signature": "<p>Thanks</p>",
|
|
@@ -1112,7 +1318,8 @@ const { data } = await client.getGroup({
|
|
|
1112
1318
|
],
|
|
1113
1319
|
"image_uri": {
|
|
1114
1320
|
"gradient_colors": ["#0588f0", "#3358d4"]
|
|
1115
|
-
}
|
|
1321
|
+
},
|
|
1322
|
+
"abbreviation": "FN"
|
|
1116
1323
|
}
|
|
1117
1324
|
```
|
|
1118
1325
|
|
|
@@ -1136,7 +1343,8 @@ const { data } = await client.updateGroup(
|
|
|
1136
1343
|
user_ids: ['123', '456'],
|
|
1137
1344
|
image_uri: {
|
|
1138
1345
|
gradient_colors: ['#0588f0', '#3358d4']
|
|
1139
|
-
}
|
|
1346
|
+
},
|
|
1347
|
+
abbreviation: 'FN'
|
|
1140
1348
|
},
|
|
1141
1349
|
)
|
|
1142
1350
|
```
|
|
@@ -1161,10 +1369,12 @@ const { data } = await client.updateGroup(
|
|
|
1161
1369
|
"status": "Active",
|
|
1162
1370
|
"email": "user@example.com",
|
|
1163
1371
|
"draft_email": "user@example.com",
|
|
1372
|
+
"draft_email_expires_at": "1970-01-01T00:00:00.000Z",
|
|
1164
1373
|
"department": "Sales",
|
|
1165
1374
|
"phone": 1234567890,
|
|
1166
1375
|
"secondary_phone": 1234567890,
|
|
1167
1376
|
"mfa_enabled": false,
|
|
1377
|
+
"has_passkeys": false,
|
|
1168
1378
|
"phone_verified": true,
|
|
1169
1379
|
"token": "string",
|
|
1170
1380
|
"signature": "<p>Thanks</p>",
|
|
@@ -1213,10 +1423,12 @@ const { data } = await client.updateGroup(
|
|
|
1213
1423
|
"status": "Active",
|
|
1214
1424
|
"email": "user@example.com",
|
|
1215
1425
|
"draft_email": "user@example.com",
|
|
1426
|
+
"draft_email_expires_at": "1970-01-01T00:00:00.000Z",
|
|
1216
1427
|
"department": "Sales",
|
|
1217
1428
|
"phone": 1234567890,
|
|
1218
1429
|
"secondary_phone": 1234567890,
|
|
1219
1430
|
"mfa_enabled": false,
|
|
1431
|
+
"has_passkeys": false,
|
|
1220
1432
|
"phone_verified": true,
|
|
1221
1433
|
"token": "string",
|
|
1222
1434
|
"signature": "<p>Thanks</p>",
|
|
@@ -1234,7 +1446,8 @@ const { data } = await client.updateGroup(
|
|
|
1234
1446
|
],
|
|
1235
1447
|
"image_uri": {
|
|
1236
1448
|
"gradient_colors": ["#0588f0", "#3358d4"]
|
|
1237
|
-
}
|
|
1449
|
+
},
|
|
1450
|
+
"abbreviation": "FN"
|
|
1238
1451
|
}
|
|
1239
1452
|
```
|
|
1240
1453
|
|
|
@@ -1288,10 +1501,12 @@ const { data } = await client.advanceUserAssignment({
|
|
|
1288
1501
|
"status": "Active",
|
|
1289
1502
|
"email": "user@example.com",
|
|
1290
1503
|
"draft_email": "user@example.com",
|
|
1504
|
+
"draft_email_expires_at": "1970-01-01T00:00:00.000Z",
|
|
1291
1505
|
"department": "Sales",
|
|
1292
1506
|
"phone": 1234567890,
|
|
1293
1507
|
"secondary_phone": 1234567890,
|
|
1294
1508
|
"mfa_enabled": false,
|
|
1509
|
+
"has_passkeys": false,
|
|
1295
1510
|
"phone_verified": true,
|
|
1296
1511
|
"token": "string",
|
|
1297
1512
|
"signature": "<p>Thanks</p>",
|
|
@@ -1340,10 +1555,12 @@ const { data } = await client.advanceUserAssignment({
|
|
|
1340
1555
|
"status": "Active",
|
|
1341
1556
|
"email": "user@example.com",
|
|
1342
1557
|
"draft_email": "user@example.com",
|
|
1558
|
+
"draft_email_expires_at": "1970-01-01T00:00:00.000Z",
|
|
1343
1559
|
"department": "Sales",
|
|
1344
1560
|
"phone": 1234567890,
|
|
1345
1561
|
"secondary_phone": 1234567890,
|
|
1346
1562
|
"mfa_enabled": false,
|
|
1563
|
+
"has_passkeys": false,
|
|
1347
1564
|
"phone_verified": true,
|
|
1348
1565
|
"token": "string",
|
|
1349
1566
|
"signature": "<p>Thanks</p>",
|
|
@@ -1361,7 +1578,8 @@ const { data } = await client.advanceUserAssignment({
|
|
|
1361
1578
|
],
|
|
1362
1579
|
"image_uri": {
|
|
1363
1580
|
"gradient_colors": ["#0588f0", "#3358d4"]
|
|
1364
|
-
}
|
|
1581
|
+
},
|
|
1582
|
+
"abbreviation": "FN"
|
|
1365
1583
|
}
|
|
1366
1584
|
```
|
|
1367
1585
|
|
|
@@ -1522,6 +1740,36 @@ const { data } = await client.verifyEmailWithToken(
|
|
|
1522
1740
|
|
|
1523
1741
|
---
|
|
1524
1742
|
|
|
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
|
+
|
|
1525
1773
|
### `checkInviteToken`
|
|
1526
1774
|
|
|
1527
1775
|
Check an invite token
|
|
@@ -2258,10 +2506,12 @@ type UserV2 = {
|
|
|
2258
2506
|
status?: "Active" | "Pending" | "Deactivated" | "Deleted"
|
|
2259
2507
|
email?: string // email
|
|
2260
2508
|
draft_email?: string // email
|
|
2509
|
+
draft_email_expires_at?: string // date-time
|
|
2261
2510
|
department?: string
|
|
2262
2511
|
phone?: string
|
|
2263
2512
|
secondary_phone?: string
|
|
2264
2513
|
mfa_enabled?: boolean
|
|
2514
|
+
has_passkeys?: boolean
|
|
2265
2515
|
phone_verified?: boolean
|
|
2266
2516
|
token?: string
|
|
2267
2517
|
signature?: string
|
|
@@ -2351,6 +2601,7 @@ type CreateGroupReq = {
|
|
|
2351
2601
|
thumbnail_64?: string // uri
|
|
2352
2602
|
gradient_colors?: string[]
|
|
2353
2603
|
}
|
|
2604
|
+
abbreviation?: string
|
|
2354
2605
|
}
|
|
2355
2606
|
```
|
|
2356
2607
|
|
|
@@ -2366,6 +2617,7 @@ type UpdateGroupReq = {
|
|
|
2366
2617
|
thumbnail_64?: string // uri
|
|
2367
2618
|
gradient_colors?: string[]
|
|
2368
2619
|
}
|
|
2620
|
+
abbreviation?: string
|
|
2369
2621
|
}
|
|
2370
2622
|
```
|
|
2371
2623
|
|
|
@@ -2388,10 +2640,12 @@ type Group = {
|
|
|
2388
2640
|
status?: "Active" | "Pending" | "Deactivated" | "Deleted"
|
|
2389
2641
|
email?: string // email
|
|
2390
2642
|
draft_email?: string // email
|
|
2643
|
+
draft_email_expires_at?: string // date-time
|
|
2391
2644
|
department?: string
|
|
2392
2645
|
phone?: string
|
|
2393
2646
|
secondary_phone?: string
|
|
2394
2647
|
mfa_enabled?: boolean
|
|
2648
|
+
has_passkeys?: boolean
|
|
2395
2649
|
phone_verified?: boolean
|
|
2396
2650
|
token?: string
|
|
2397
2651
|
signature?: string
|
|
@@ -2422,10 +2676,12 @@ type Group = {
|
|
|
2422
2676
|
status?: "Active" | "Pending" | "Deactivated" | "Deleted"
|
|
2423
2677
|
email?: string // email
|
|
2424
2678
|
draft_email?: string // email
|
|
2679
|
+
draft_email_expires_at?: string // date-time
|
|
2425
2680
|
department?: string
|
|
2426
2681
|
phone?: string
|
|
2427
2682
|
secondary_phone?: string
|
|
2428
2683
|
mfa_enabled?: boolean
|
|
2684
|
+
has_passkeys?: boolean
|
|
2429
2685
|
phone_verified?: boolean
|
|
2430
2686
|
token?: string
|
|
2431
2687
|
signature?: string
|
|
@@ -2452,6 +2708,7 @@ type Group = {
|
|
|
2452
2708
|
thumbnail_64?: string // uri
|
|
2453
2709
|
gradient_colors?: string[]
|
|
2454
2710
|
}
|
|
2711
|
+
abbreviation?: string
|
|
2455
2712
|
}
|
|
2456
2713
|
```
|
|
2457
2714
|
|
|
@@ -2568,6 +2825,62 @@ type DataPoint = {
|
|
|
2568
2825
|
}
|
|
2569
2826
|
```
|
|
2570
2827
|
|
|
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
|
+
|
|
2571
2884
|
### `Passkey`
|
|
2572
2885
|
|
|
2573
2886
|
```ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epilot/sdk",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.1",
|
|
4
4
|
"description": "JavaScript/TypeScript SDK for epilot APIs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -267,6 +267,12 @@
|
|
|
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",
|
|
270
276
|
"./submission": {
|
|
271
277
|
"types": "./dist/apis/submission.d.ts",
|
|
272
278
|
"import": "./dist/apis/submission.js",
|
|
@@ -316,16 +322,6 @@
|
|
|
316
322
|
},
|
|
317
323
|
"./workflow-definition/openapi.json": "./definitions/workflow-definition.json"
|
|
318
324
|
},
|
|
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
|
-
},
|
|
329
325
|
"keywords": [
|
|
330
326
|
"epilot",
|
|
331
327
|
"sdk",
|
|
@@ -491,6 +487,9 @@
|
|
|
491
487
|
"sharing": [
|
|
492
488
|
"./dist/apis/sharing.d.ts"
|
|
493
489
|
],
|
|
490
|
+
"snapshot": [
|
|
491
|
+
"./dist/apis/snapshot.d.ts"
|
|
492
|
+
],
|
|
494
493
|
"submission": [
|
|
495
494
|
"./dist/apis/submission.d.ts"
|
|
496
495
|
],
|
|
@@ -516,5 +515,14 @@
|
|
|
516
515
|
"./dist/apis/workflow-definition.d.ts"
|
|
517
516
|
]
|
|
518
517
|
}
|
|
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"
|
|
519
527
|
}
|
|
520
|
-
}
|
|
528
|
+
}
|