@epilot/sdk 2.8.10 → 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-OMZ2LWNR.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-H5BH4GQQ.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 -966
  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-HFVQTHYF.cjs +0 -7
  217. package/dist/snapshot-Y6A7QUYS.js +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-CPTXg4xN.d.cts +0 -751
  221. package/dist/snapshot.d-CPTXg4xN.d.ts +0 -751
  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 -654
@@ -2,7 +2,7 @@
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
4
  "title": "Integration Toolkit API",
5
- "version": "1.2.0",
5
+ "version": "1.3.0",
6
6
  "description": "API for integrating with external systems in a standardised way."
7
7
  },
8
8
  "tags": [
@@ -3100,11 +3100,11 @@
3100
3100
  }
3101
3101
  },
3102
3102
  "502": {
3103
- "description": "Upstream error from the proxied target",
3103
+ "description": "Upstream failure: epilot could not obtain an HTTP response from the proxied target\n(e.g. TLS handshake failure, connection refused/reset, DNS failure or timeout).\nThe body's `code`/`reason` identify the underlying cause, distinguishing a\nremote-side problem from an epilot-side one. When the target *does* answer with\nits own status, that status and body are passed through unchanged via\n`SecureProxyResponse` instead.\n",
3104
3104
  "content": {
3105
3105
  "application/json": {
3106
3106
  "schema": {
3107
- "$ref": "#/components/schemas/ErrorResponseBase"
3107
+ "$ref": "#/components/schemas/SecureProxyUpstreamError"
3108
3108
  }
3109
3109
  }
3110
3110
  }
@@ -5856,7 +5856,32 @@
5856
5856
  "description": "Response headers from upstream"
5857
5857
  },
5858
5858
  "body": {
5859
- "description": "Response body from upstream"
5859
+ "description": "Response body from upstream. When `status_code` is 502 and the target never produced an HTTP response (TLS/connection/DNS failure or timeout), this is a `SecureProxyUpstreamError` describing the underlying cause."
5860
+ }
5861
+ }
5862
+ },
5863
+ "SecureProxyUpstreamError": {
5864
+ "type": "object",
5865
+ "description": "Error payload returned when epilot could not obtain an HTTP response from the proxied target. The failure is epilot-generated (HTTP 502) but the cause is usually remote-side; `code`/`reason` make that attributable.",
5866
+ "required": [
5867
+ "message"
5868
+ ],
5869
+ "properties": {
5870
+ "message": {
5871
+ "type": "string",
5872
+ "description": "Short error category.",
5873
+ "enum": [
5874
+ "Upstream network error",
5875
+ "Upstream error"
5876
+ ]
5877
+ },
5878
+ "code": {
5879
+ "type": "string",
5880
+ "description": "Underlying Node.js/axios error code when available (e.g. `UNABLE_TO_VERIFY_LEAF_SIGNATURE`, `ECONNREFUSED`, `ETIMEDOUT`, `ENOTFOUND`)."
5881
+ },
5882
+ "reason": {
5883
+ "type": "string",
5884
+ "description": "Human-readable explanation, present only for well-known codes (TLS/certificate, DNS and connection failures)."
5860
5885
  }
5861
5886
  }
5862
5887
  },
@@ -6908,7 +6933,7 @@
6908
6933
  "block"
6909
6934
  ],
6910
6935
  "default": "dead_letter",
6911
- "description": "What happens when an item exhausts max_delivery_attempts: dead_letter routes the exhausted item to the dead-letter queue; block halts the queue until operator/consumer action. Enforcement lands with the queue consumer (Phase 10) this field defines the contract."
6936
+ "description": "What happens when an item exhausts max_delivery_attempts: dead_letter routes the exhausted item to the dead-letter queue and advances past it so the stream keeps flowing; block halts the queue at that item until operator/consumer action removes it."
6912
6937
  },
6913
6938
  "max_delivery_attempts": {
6914
6939
  "type": "integer",
@@ -117,7 +117,7 @@
117
117
  {
118
118
  "name": "version",
119
119
  "in": "query",
120
- "description": "DynamoDB version to fetch. `0` (default) is the live row; positive integers are historical snapshots created on each save. Note: this is distinct from the `revisions` counter on the row body.\n",
120
+ "description": "DynamoDB version to fetch. `0` (default) is the live row; positive integers are historical snapshots created on each save. Note: this is distinct from the `revisions` counter on the row body.",
121
121
  "required": false,
122
122
  "schema": {
123
123
  "type": "integer",
@@ -722,7 +722,7 @@
722
722
  {
723
723
  "name": "version",
724
724
  "in": "query",
725
- "description": "DynamoDB version to fetch. `0` (default) is the live row; positive integers are historical snapshots created on each save. Note: this is distinct from the `revisions` counter on the row body.\n",
725
+ "description": "DynamoDB version to fetch. `0` (default) is the live row; positive integers are historical snapshots created on each save. Note: this is distinct from the `revisions` counter on the row body.",
726
726
  "required": false,
727
727
  "schema": {
728
728
  "type": "integer",
@@ -1314,13 +1314,6 @@
1314
1314
  "type": "boolean",
1315
1315
  "description": "If true, journey is displayed in read-only mode"
1316
1316
  },
1317
- "protectedEditable": {
1318
- "type": "array",
1319
- "items": {
1320
- "type": "string"
1321
- },
1322
- "description": "Whitelist of paths that remain editable when the journey is protected. Supports wildcard patterns (e.g. steps/*/blocks/**)."
1323
- },
1324
1317
  "settings": {
1325
1318
  "type": "object",
1326
1319
  "properties": {
@@ -1841,13 +1834,6 @@
1841
1834
  "type": "boolean",
1842
1835
  "description": "If true, journey is displayed in read-only mode"
1843
1836
  },
1844
- "protectedEditable": {
1845
- "type": "array",
1846
- "items": {
1847
- "type": "string"
1848
- },
1849
- "description": "Whitelist of paths that remain editable when the journey is protected. Supports wildcard patterns (e.g. steps/*/blocks/**)."
1850
- },
1851
1837
  "settings": {
1852
1838
  "type": "object",
1853
1839
  "properties": {
@@ -1995,9 +1981,6 @@
1995
1981
  "enableDarkMode": {
1996
1982
  "type": "boolean",
1997
1983
  "description": "If true, the journey shows an icon to toggle dark mode"
1998
- },
1999
- "isActive": {
2000
- "type": "boolean"
2001
1984
  }
2002
1985
  },
2003
1986
  "additionalProperties": false
@@ -1361,16 +1361,15 @@
1361
1361
  },
1362
1362
  "email": {
1363
1363
  "type": "object",
1364
- "description": "Email campaign delivery. An automation flow (legacy) and/or an email\ntemplate can be provided to send the campaign emails. The selection is\npersisted as the campaign's `flow_id`. If `automation_id` is provided it is\nused as-is; otherwise a flow is created from `template_id`. Only sent by the\nconsumer once one has been selected.\n",
1364
+ "description": "Email campaign delivery. The selected automation flow is persisted as the\ncampaign's `flow_id` and is responsible for sending the campaign emails.\nOnly sent by the consumer once an automation has been selected.\n",
1365
1365
  "properties": {
1366
1366
  "automation_id": {
1367
1367
  "$ref": "#/components/schemas/BaseUUID"
1368
- },
1369
- "template_id": {
1370
- "$ref": "#/components/schemas/BaseUUID"
1371
1368
  }
1372
1369
  },
1373
- "minProperties": 1,
1370
+ "required": [
1371
+ "automation_id"
1372
+ ],
1374
1373
  "additionalProperties": false
1375
1374
  }
1376
1375
  },
@@ -1 +1 @@
1
- {"s":"https://user.sls.epilot.io","o":[["signUpUser","post","/v2/users/public/signup",[["token","q"]],1],["getMeV2","get","/v2/users/me"],["listUserSettings","get","/v2/users/me/settings"],["getUserSettingsScope","get","/v2/users/me/settings/{scope}",[["scope","p",true]]],["getUserSetting","get","/v2/users/me/settings/{scope}/{key}",[["scope","p",true],["key","p",true]]],["putUserSetting","put","/v2/users/me/settings/{scope}/{key}",[["scope","p",true],["key","p",true]],1],["deleteUserSetting","delete","/v2/users/me/settings/{scope}/{key}",[["scope","p",true],["key","p",true]]],["listUsersV2","get","/v2/users",[["query","q"],["limit","q"],["offset","q"]]],["getUserV2","get","/v2/users/{id}",[["id","p",true]]],["updateUserV2","patch","/v2/users/{id}",[["id","p",true]],1],["deleteUserV2","delete","/v2/users/{id}",[["id","p",true]]],["inviteUser","post","/v2/users/invite",null,1],["resendUserInvitation","post","/v2/users/invite:resendEmail",null,1],["sendUserPasswordReset","post","/v2/users:sendPasswordReset",null,1],["getGroupsForUser","get","/v2/users/{id}/groups",[["id","p",true]]],["getGroups","get","/v1/groups",[["query","q"],["limit","q"],["offset","q"],["hydrate","q"]]],["createGroup","post","/v1/groups",null,1],["getGroup","get","/v1/groups/{id}",[["id","p",true],["hydrate","q"]]],["updateGroup","patch","/v1/groups/{id}",[["id","p",true]],1],["deleteGroup","delete","/v1/groups/{id}",[["id","p",true]]],["advanceUserAssignment","post","/v1/groups/{id}/user:next",[["id","p",true]]],["createNavigation","post","/v2/user/navigations",null,1],["getNavigation","get","/v2/user/navigations/{id}",[["id","p",true]]],["verifyEmailWithToken","post","/v2/users/public/verifyEmail",[["token","q",true]],1],["requestPasswordReset","post","/v2/users/public/requestPasswordReset",null,1],["checkInviteToken","get","/v2/users/public/checkToken",[["token","q",true]]],["activateUser","post","/v2/users/public/activate",[["token","q",true]],1],["rejectInvite","delete","/v2/users/public/reject",[["token","q",true]]],["getUserLoginParametersV2","get","/v2/users/public/username/{username}:getLoginParameters",[["username","p",true]]],["beginPasskeyAuthentication","post","/v2/users/public/passkeys:authenticateBegin",null,1],["beginDiscoverablePasskeyAuthentication","post","/v2/users/public/passkeys:authenticateBeginDiscoverable"],["resolveDiscoverableCredential","post","/v2/users/public/passkeys:resolveCredential",null,1],["beginPasskeyRegistration","post","/v2/users/me/passkeys:registerBegin",null,1],["completePasskeyRegistration","post","/v2/users/me/passkeys:registerComplete",null,1],["listPasskeys","get","/v2/users/me/passkeys"],["deletePasskey","delete","/v2/users/me/passkeys/{credentialId}",[["credentialId","p",true]]],["switchOrganization","post","/v2/users/switchOrganization",null,1],["getMe","get","/v1/users/me"],["listUsers","get","/v1/users",[["org_ids","q",false,"form",false],["query","q"],["limit","q"],["offset","q"]]],["getUser","get","/v1/users/{id}",[["id","p",true]]],["getUserLoginParameters","get","/v1/users/username/{username}:getLoginParameters",[["username","p",true]]]]}
1
+ {"s":"https://user.sls.epilot.io","o":[["signUpUser","post","/v2/users/public/signup",[["token","q"]],1],["getMeV2","get","/v2/users/me"],["listUsersV2","get","/v2/users",[["query","q"],["limit","q"],["offset","q"]]],["getUserV2","get","/v2/users/{id}",[["id","p",true]]],["updateUserV2","patch","/v2/users/{id}",[["id","p",true]],1],["deleteUserV2","delete","/v2/users/{id}",[["id","p",true]]],["inviteUser","post","/v2/users/invite",null,1],["resendUserInvitation","post","/v2/users/invite:resendEmail",null,1],["getGroupsForUser","get","/v2/users/{id}/groups",[["id","p",true]]],["getGroups","get","/v1/groups",[["query","q"],["limit","q"],["offset","q"],["hydrate","q"]]],["createGroup","post","/v1/groups",null,1],["getGroup","get","/v1/groups/{id}",[["id","p",true],["hydrate","q"]]],["updateGroup","patch","/v1/groups/{id}",[["id","p",true]],1],["deleteGroup","delete","/v1/groups/{id}",[["id","p",true]]],["advanceUserAssignment","post","/v1/groups/{id}/user:next",[["id","p",true]]],["createNavigation","post","/v2/user/navigations",null,1],["getNavigation","get","/v2/user/navigations/{id}",[["id","p",true]]],["verifyEmailWithToken","post","/v2/users/public/verifyEmail",[["token","q",true]],1],["checkInviteToken","get","/v2/users/public/checkToken",[["token","q",true]]],["activateUser","post","/v2/users/public/activate",[["token","q",true]],1],["rejectInvite","delete","/v2/users/public/reject",[["token","q",true]]],["getUserLoginParametersV2","get","/v2/users/public/username/{username}:getLoginParameters",[["username","p",true]]],["beginPasskeyAuthentication","post","/v2/users/public/passkeys:authenticateBegin",null,1],["beginDiscoverablePasskeyAuthentication","post","/v2/users/public/passkeys:authenticateBeginDiscoverable"],["resolveDiscoverableCredential","post","/v2/users/public/passkeys:resolveCredential",null,1],["beginPasskeyRegistration","post","/v2/users/me/passkeys:registerBegin",null,1],["completePasskeyRegistration","post","/v2/users/me/passkeys:registerComplete",null,1],["listPasskeys","get","/v2/users/me/passkeys"],["deletePasskey","delete","/v2/users/me/passkeys/{credentialId}",[["credentialId","p",true]]],["switchOrganization","post","/v2/users/switchOrganization",null,1],["getMe","get","/v1/users/me"],["listUsers","get","/v1/users",[["org_ids","q",false,"form",false],["query","q"],["limit","q"],["offset","q"]]],["getUser","get","/v1/users/{id}",[["id","p",true]]],["getUserLoginParameters","get","/v1/users/username/{username}:getLoginParameters",[["username","p",true]]]]}
@@ -101,189 +101,6 @@
101
101
  }
102
102
  }
103
103
  },
104
- "/v2/users/me/settings": {
105
- "get": {
106
- "operationId": "listUserSettings",
107
- "summary": "listUserSettings",
108
- "description": "List all setting scopes and keys available for the currently logged in user. Does not return setting values.",
109
- "tags": [
110
- "User V2"
111
- ],
112
- "responses": {
113
- "200": {
114
- "description": "List of user setting scopes and keys",
115
- "content": {
116
- "application/json": {
117
- "schema": {
118
- "$ref": "#/components/schemas/UserSettingsListResponse"
119
- }
120
- }
121
- }
122
- }
123
- }
124
- }
125
- },
126
- "/v2/users/me/settings/{scope}": {
127
- "get": {
128
- "operationId": "getUserSettingsScope",
129
- "summary": "getUserSettingsScope",
130
- "description": "Get all setting values for one scope for the currently logged in user.",
131
- "tags": [
132
- "User V2"
133
- ],
134
- "parameters": [
135
- {
136
- "name": "scope",
137
- "in": "path",
138
- "required": true,
139
- "schema": {
140
- "$ref": "#/components/schemas/UserSettingScope"
141
- },
142
- "description": "User setting scope, for example calendar, navigation, or search"
143
- }
144
- ],
145
- "responses": {
146
- "200": {
147
- "description": "User settings for the requested scope",
148
- "content": {
149
- "application/json": {
150
- "schema": {
151
- "$ref": "#/components/schemas/UserSettingsScopeResponse"
152
- }
153
- }
154
- }
155
- }
156
- }
157
- }
158
- },
159
- "/v2/users/me/settings/{scope}/{key}": {
160
- "get": {
161
- "operationId": "getUserSetting",
162
- "summary": "getUserSetting",
163
- "description": "Get one setting value by scope and key for the currently logged in user.",
164
- "tags": [
165
- "User V2"
166
- ],
167
- "parameters": [
168
- {
169
- "name": "scope",
170
- "in": "path",
171
- "required": true,
172
- "schema": {
173
- "$ref": "#/components/schemas/UserSettingScope"
174
- },
175
- "description": "User setting scope"
176
- },
177
- {
178
- "name": "key",
179
- "in": "path",
180
- "required": true,
181
- "schema": {
182
- "$ref": "#/components/schemas/UserSettingKey"
183
- },
184
- "description": "User setting key"
185
- }
186
- ],
187
- "responses": {
188
- "200": {
189
- "description": "User setting",
190
- "content": {
191
- "application/json": {
192
- "schema": {
193
- "$ref": "#/components/schemas/UserSetting"
194
- }
195
- }
196
- }
197
- },
198
- "404": {
199
- "description": "User setting not found"
200
- }
201
- }
202
- },
203
- "put": {
204
- "operationId": "putUserSetting",
205
- "summary": "putUserSetting",
206
- "description": "Create or replace one setting value for the currently logged in user.",
207
- "tags": [
208
- "User V2"
209
- ],
210
- "parameters": [
211
- {
212
- "name": "scope",
213
- "in": "path",
214
- "required": true,
215
- "schema": {
216
- "$ref": "#/components/schemas/UserSettingScope"
217
- },
218
- "description": "User setting scope"
219
- },
220
- {
221
- "name": "key",
222
- "in": "path",
223
- "required": true,
224
- "schema": {
225
- "$ref": "#/components/schemas/UserSettingKey"
226
- },
227
- "description": "User setting key"
228
- }
229
- ],
230
- "requestBody": {
231
- "required": true,
232
- "content": {
233
- "application/json": {
234
- "schema": {
235
- "$ref": "#/components/schemas/UserSettingValue"
236
- }
237
- }
238
- }
239
- },
240
- "responses": {
241
- "200": {
242
- "description": "User setting saved successfully",
243
- "content": {
244
- "application/json": {
245
- "schema": {
246
- "$ref": "#/components/schemas/UserSetting"
247
- }
248
- }
249
- }
250
- }
251
- }
252
- },
253
- "delete": {
254
- "operationId": "deleteUserSetting",
255
- "summary": "deleteUserSetting",
256
- "description": "Delete one setting value for the currently logged in user.",
257
- "tags": [
258
- "User V2"
259
- ],
260
- "parameters": [
261
- {
262
- "name": "scope",
263
- "in": "path",
264
- "required": true,
265
- "schema": {
266
- "$ref": "#/components/schemas/UserSettingScope"
267
- },
268
- "description": "User setting scope"
269
- },
270
- {
271
- "name": "key",
272
- "in": "path",
273
- "required": true,
274
- "schema": {
275
- "$ref": "#/components/schemas/UserSettingKey"
276
- },
277
- "description": "User setting key"
278
- }
279
- ],
280
- "responses": {
281
- "204": {
282
- "description": "User setting deleted successfully"
283
- }
284
- }
285
- }
286
- },
287
104
  "/v2/users": {
288
105
  "get": {
289
106
  "operationId": "listUsersV2",
@@ -531,63 +348,6 @@
531
348
  }
532
349
  }
533
350
  },
534
- "/v2/users:sendPasswordReset": {
535
- "post": {
536
- "operationId": "sendUserPasswordReset",
537
- "summary": "sendUserPasswordReset",
538
- "description": "Send a password reset email to a user in your organization.\nRequires `user:edit` on the target user.\n",
539
- "tags": [
540
- "User V2"
541
- ],
542
- "requestBody": {
543
- "required": true,
544
- "content": {
545
- "application/json": {
546
- "schema": {
547
- "type": "object",
548
- "required": [
549
- "email"
550
- ],
551
- "properties": {
552
- "email": {
553
- "type": "string",
554
- "description": "Email address of the user to reset",
555
- "example": "test@example.com"
556
- }
557
- }
558
- }
559
- }
560
- }
561
- },
562
- "responses": {
563
- "200": {
564
- "description": "Password reset triggered",
565
- "content": {
566
- "application/json": {
567
- "schema": {
568
- "type": "object",
569
- "required": [
570
- "success"
571
- ],
572
- "properties": {
573
- "success": {
574
- "type": "boolean",
575
- "example": true
576
- }
577
- }
578
- }
579
- }
580
- }
581
- },
582
- "400": {
583
- "description": "Invalid email or user not found"
584
- },
585
- "403": {
586
- "description": "Not permitted to reset this user's password"
587
- }
588
- }
589
- }
590
- },
591
351
  "/v2/users/{id}/groups": {
592
352
  "get": {
593
353
  "operationId": "getGroupsForUser",
@@ -949,9 +709,6 @@
949
709
  "summary": "verifyEmailWithToken",
950
710
  "description": "Update new email using an verification token",
951
711
  "security": [],
952
- "x-rate-limit": {
953
- "limit": 10
954
- },
955
712
  "tags": [
956
713
  "User V2"
957
714
  ],
@@ -979,69 +736,8 @@
979
736
  "200": {
980
737
  "description": "Verified successfully"
981
738
  },
982
- "400": {
983
- "description": "No pending email change for this token"
984
- },
985
739
  "404": {
986
740
  "description": "Token not found"
987
- },
988
- "409": {
989
- "description": "Email address already in use"
990
- }
991
- }
992
- }
993
- },
994
- "/v2/users/public/requestPasswordReset": {
995
- "post": {
996
- "operationId": "requestPasswordReset",
997
- "summary": "requestPasswordReset",
998
- "description": "Request a password reset email for the given email address. Always\nreturns a success response whether or not an account exists with that\nemail.\n",
999
- "security": [],
1000
- "x-rate-limit": {
1001
- "limit": 10
1002
- },
1003
- "tags": [
1004
- "User V2"
1005
- ],
1006
- "requestBody": {
1007
- "required": true,
1008
- "content": {
1009
- "application/json": {
1010
- "schema": {
1011
- "type": "object",
1012
- "required": [
1013
- "email"
1014
- ],
1015
- "properties": {
1016
- "email": {
1017
- "type": "string",
1018
- "description": "Email address of the account to reset",
1019
- "example": "test@example.com"
1020
- }
1021
- }
1022
- }
1023
- }
1024
- }
1025
- },
1026
- "responses": {
1027
- "200": {
1028
- "description": "Request accepted",
1029
- "content": {
1030
- "application/json": {
1031
- "schema": {
1032
- "type": "object",
1033
- "required": [
1034
- "message"
1035
- ],
1036
- "properties": {
1037
- "message": {
1038
- "type": "string",
1039
- "example": "If an account exists, a password reset email has been sent."
1040
- }
1041
- }
1042
- }
1043
- }
1044
- }
1045
741
  }
1046
742
  }
1047
743
  }
@@ -1991,13 +1687,6 @@
1991
1687
  "nullable": true,
1992
1688
  "format": "email"
1993
1689
  },
1994
- "draft_email_expires_at": {
1995
- "description": "Server-set expiry for the pending email change verification link (ISO 8601). Read-only.",
1996
- "type": "string",
1997
- "nullable": true,
1998
- "format": "date-time",
1999
- "readOnly": true
2000
- },
2001
1690
  "department": {
2002
1691
  "type": "string",
2003
1692
  "description": "User's department",
@@ -2021,11 +1710,6 @@
2021
1710
  "type": "boolean",
2022
1711
  "example": false
2023
1712
  },
2024
- "has_passkeys": {
2025
- "description": "Whether the user has any registered passkeys",
2026
- "type": "boolean",
2027
- "example": false
2028
- },
2029
1713
  "phone_verified": {
2030
1714
  "description": "User's phone number verification status",
2031
1715
  "type": "boolean",
@@ -2364,13 +2048,6 @@
2364
2048
  },
2365
2049
  "image_uri": {
2366
2050
  "$ref": "#/components/schemas/GroupImageUri"
2367
- },
2368
- "abbreviation": {
2369
- "description": "A short abbreviation for the group, up to 2 characters.",
2370
- "type": "string",
2371
- "maxLength": 2,
2372
- "nullable": true,
2373
- "example": "FN"
2374
2051
  }
2375
2052
  },
2376
2053
  "required": [
@@ -2398,13 +2075,6 @@
2398
2075
  },
2399
2076
  "image_uri": {
2400
2077
  "$ref": "#/components/schemas/GroupImageUri"
2401
- },
2402
- "abbreviation": {
2403
- "description": "A short abbreviation for the group, up to 2 characters.",
2404
- "type": "string",
2405
- "maxLength": 2,
2406
- "nullable": true,
2407
- "example": "FN"
2408
2078
  }
2409
2079
  }
2410
2080
  },
@@ -2462,13 +2132,6 @@
2462
2132
  },
2463
2133
  "image_uri": {
2464
2134
  "$ref": "#/components/schemas/GroupImageUri"
2465
- },
2466
- "abbreviation": {
2467
- "description": "A short abbreviation for the group, up to 2 characters.",
2468
- "type": "string",
2469
- "maxLength": 2,
2470
- "nullable": true,
2471
- "example": "FN"
2472
2135
  }
2473
2136
  },
2474
2137
  "required": [
@@ -2714,110 +2377,6 @@
2714
2377
  }
2715
2378
  }
2716
2379
  },
2717
- "UserSettingScope": {
2718
- "type": "string",
2719
- "description": "User setting scope. Values are limited to 64 characters.",
2720
- "minLength": 1,
2721
- "maxLength": 64,
2722
- "example": "calendar"
2723
- },
2724
- "UserSettingKey": {
2725
- "type": "string",
2726
- "description": "User setting key. Values are limited to 128 characters.",
2727
- "minLength": 1,
2728
- "maxLength": 128,
2729
- "example": "visible_calendars"
2730
- },
2731
- "UserSettingValue": {
2732
- "description": "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.",
2733
- "x-maxSerializedBytes": 65536
2734
- },
2735
- "UserSetting": {
2736
- "type": "object",
2737
- "properties": {
2738
- "scope": {
2739
- "$ref": "#/components/schemas/UserSettingScope"
2740
- },
2741
- "key": {
2742
- "$ref": "#/components/schemas/UserSettingKey"
2743
- },
2744
- "value": {
2745
- "$ref": "#/components/schemas/UserSettingValue"
2746
- },
2747
- "created_at": {
2748
- "type": "string",
2749
- "format": "date-time"
2750
- },
2751
- "updated_at": {
2752
- "type": "string",
2753
- "format": "date-time"
2754
- }
2755
- },
2756
- "required": [
2757
- "scope",
2758
- "key",
2759
- "value",
2760
- "created_at",
2761
- "updated_at"
2762
- ]
2763
- },
2764
- "UserSettingsListResponse": {
2765
- "type": "object",
2766
- "properties": {
2767
- "results": {
2768
- "type": "array",
2769
- "items": {
2770
- "type": "object",
2771
- "properties": {
2772
- "scope": {
2773
- "$ref": "#/components/schemas/UserSettingScope"
2774
- },
2775
- "keys": {
2776
- "type": "array",
2777
- "items": {
2778
- "$ref": "#/components/schemas/UserSettingKey"
2779
- },
2780
- "example": [
2781
- "visible_calendars"
2782
- ]
2783
- }
2784
- },
2785
- "required": [
2786
- "scope",
2787
- "keys"
2788
- ]
2789
- }
2790
- }
2791
- },
2792
- "required": [
2793
- "results"
2794
- ]
2795
- },
2796
- "UserSettingsScopeResponse": {
2797
- "type": "object",
2798
- "properties": {
2799
- "scope": {
2800
- "$ref": "#/components/schemas/UserSettingScope"
2801
- },
2802
- "settings": {
2803
- "type": "object",
2804
- "additionalProperties": {
2805
- "$ref": "#/components/schemas/UserSettingValue"
2806
- },
2807
- "example": {
2808
- "visible_calendars": {
2809
- "calendar_ids": [
2810
- "holidays"
2811
- ]
2812
- }
2813
- }
2814
- }
2815
- },
2816
- "required": [
2817
- "scope",
2818
- "settings"
2819
- ]
2820
- },
2821
2380
  "Passkey": {
2822
2381
  "type": "object",
2823
2382
  "properties": {