@epilot/sdk 2.8.7 → 2.8.9

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 (169) hide show
  1. package/definitions/access-token-runtime.json +1 -1
  2. package/definitions/access-token.json +155 -1
  3. package/definitions/app.json +101 -8
  4. package/definitions/automation.json +120 -0
  5. package/definitions/blueprint-manifest-runtime.json +1 -1
  6. package/definitions/blueprint-manifest.json +1651 -357
  7. package/definitions/configuration-hub-runtime.json +1 -1
  8. package/definitions/configuration-hub.json +623 -0
  9. package/definitions/customer-portal-runtime.json +1 -1
  10. package/definitions/customer-portal.json +383 -78
  11. package/definitions/design-runtime.json +1 -1
  12. package/definitions/design.json +52 -12
  13. package/definitions/event-catalog-runtime.json +1 -1
  14. package/definitions/event-catalog.json +168 -12
  15. package/definitions/file-runtime.json +1 -1
  16. package/definitions/file.json +152 -4
  17. package/definitions/integration-toolkit-runtime.json +1 -1
  18. package/definitions/integration-toolkit.json +782 -13
  19. package/definitions/journey-runtime.json +1 -1
  20. package/definitions/journey.json +38 -1
  21. package/definitions/notes-runtime.json +1 -1
  22. package/definitions/notes.json +123 -1
  23. package/definitions/pricing.json +224 -406
  24. package/definitions/snapshot-runtime.json +1 -0
  25. package/definitions/snapshot.json +973 -0
  26. package/definitions/targeting-runtime.json +1 -1
  27. package/definitions/targeting.json +258 -7
  28. package/definitions/user-runtime.json +1 -1
  29. package/definitions/user.json +441 -0
  30. package/definitions/webhooks.json +31 -0
  31. package/dist/{ai-agents.d-OkXfr2bz.d.cts → ai-agents.d-CC5IjXrs.d.cts} +0 -2
  32. package/dist/{ai-agents.d-OkXfr2bz.d.ts → ai-agents.d-CC5IjXrs.d.ts} +0 -2
  33. package/dist/apis/access-token.cjs +6 -6
  34. package/dist/apis/access-token.js +1 -1
  35. package/dist/apis/address-suggestions.cjs +6 -6
  36. package/dist/apis/address-suggestions.js +1 -1
  37. package/dist/apis/address.cjs +6 -6
  38. package/dist/apis/address.js +1 -1
  39. package/dist/apis/ai-agents.cjs +6 -6
  40. package/dist/apis/ai-agents.d.cts +2 -2
  41. package/dist/apis/ai-agents.d.ts +2 -2
  42. package/dist/apis/ai-agents.js +1 -1
  43. package/dist/apis/app.cjs +6 -6
  44. package/dist/apis/app.js +1 -1
  45. package/dist/apis/audit-logs.cjs +6 -6
  46. package/dist/apis/audit-logs.js +1 -1
  47. package/dist/apis/automation.cjs +6 -6
  48. package/dist/apis/automation.js +1 -1
  49. package/dist/apis/billing.cjs +6 -6
  50. package/dist/apis/billing.js +1 -1
  51. package/dist/apis/blueprint-manifest.cjs +6 -6
  52. package/dist/apis/blueprint-manifest.js +1 -1
  53. package/dist/apis/calendar.cjs +6 -6
  54. package/dist/apis/calendar.js +1 -1
  55. package/dist/apis/configuration-hub.cjs +6 -6
  56. package/dist/apis/configuration-hub.js +1 -1
  57. package/dist/apis/consent.cjs +6 -6
  58. package/dist/apis/consent.js +1 -1
  59. package/dist/apis/customer-portal.cjs +6 -6
  60. package/dist/apis/customer-portal.js +1 -1
  61. package/dist/apis/dashboard.cjs +6 -6
  62. package/dist/apis/dashboard.js +1 -1
  63. package/dist/apis/data-governance.cjs +6 -6
  64. package/dist/apis/data-governance.js +1 -1
  65. package/dist/apis/deduplication.cjs +6 -6
  66. package/dist/apis/deduplication.js +1 -1
  67. package/dist/apis/design.cjs +6 -6
  68. package/dist/apis/design.js +1 -1
  69. package/dist/apis/document.cjs +6 -6
  70. package/dist/apis/document.js +1 -1
  71. package/dist/apis/email-settings.cjs +6 -6
  72. package/dist/apis/email-settings.js +1 -1
  73. package/dist/apis/email-template.cjs +6 -6
  74. package/dist/apis/email-template.js +1 -1
  75. package/dist/apis/entity-mapping.cjs +6 -6
  76. package/dist/apis/entity-mapping.js +1 -1
  77. package/dist/apis/entity.cjs +6 -6
  78. package/dist/apis/entity.js +1 -1
  79. package/dist/apis/environments.cjs +6 -6
  80. package/dist/apis/environments.js +1 -1
  81. package/dist/apis/event-catalog.cjs +6 -6
  82. package/dist/apis/event-catalog.js +1 -1
  83. package/dist/apis/file.cjs +6 -6
  84. package/dist/apis/file.js +1 -1
  85. package/dist/apis/iban.cjs +6 -6
  86. package/dist/apis/iban.js +1 -1
  87. package/dist/apis/integration-toolkit.cjs +6 -6
  88. package/dist/apis/integration-toolkit.js +1 -1
  89. package/dist/apis/journey.cjs +6 -6
  90. package/dist/apis/journey.d.cts +2 -2
  91. package/dist/apis/journey.d.ts +2 -2
  92. package/dist/apis/journey.js +1 -1
  93. package/dist/apis/kanban.cjs +6 -6
  94. package/dist/apis/kanban.js +1 -1
  95. package/dist/apis/message.cjs +6 -6
  96. package/dist/apis/message.js +1 -1
  97. package/dist/apis/metering.cjs +6 -6
  98. package/dist/apis/metering.js +1 -1
  99. package/dist/apis/notes.cjs +6 -6
  100. package/dist/apis/notes.js +1 -1
  101. package/dist/apis/notification.cjs +6 -6
  102. package/dist/apis/notification.js +1 -1
  103. package/dist/apis/organization.cjs +6 -6
  104. package/dist/apis/organization.js +1 -1
  105. package/dist/apis/partner-directory.cjs +6 -6
  106. package/dist/apis/partner-directory.js +1 -1
  107. package/dist/apis/permissions.cjs +6 -6
  108. package/dist/apis/permissions.js +1 -1
  109. package/dist/apis/pricing-tier.cjs +6 -6
  110. package/dist/apis/pricing-tier.js +1 -1
  111. package/dist/apis/pricing.cjs +6 -6
  112. package/dist/apis/pricing.js +1 -1
  113. package/dist/apis/purpose.cjs +6 -6
  114. package/dist/apis/purpose.js +1 -1
  115. package/dist/apis/query.cjs +6 -6
  116. package/dist/apis/query.js +1 -1
  117. package/dist/apis/sandbox.cjs +6 -6
  118. package/dist/apis/sandbox.js +1 -1
  119. package/dist/apis/sharing.cjs +6 -6
  120. package/dist/apis/sharing.js +1 -1
  121. package/dist/apis/snapshot.cjs +8 -8
  122. package/dist/apis/snapshot.d.cts +2 -2
  123. package/dist/apis/snapshot.d.ts +2 -2
  124. package/dist/apis/snapshot.js +2 -2
  125. package/dist/apis/submission.cjs +6 -6
  126. package/dist/apis/submission.js +1 -1
  127. package/dist/apis/target.cjs +6 -6
  128. package/dist/apis/target.js +1 -1
  129. package/dist/apis/targeting.cjs +6 -6
  130. package/dist/apis/targeting.js +1 -1
  131. package/dist/apis/template-variables.cjs +6 -6
  132. package/dist/apis/template-variables.js +1 -1
  133. package/dist/apis/user.cjs +6 -6
  134. package/dist/apis/user.js +1 -1
  135. package/dist/apis/validation-rules.cjs +6 -6
  136. package/dist/apis/validation-rules.js +1 -1
  137. package/dist/apis/webhooks.cjs +6 -6
  138. package/dist/apis/webhooks.js +1 -1
  139. package/dist/apis/workflow-definition.cjs +6 -6
  140. package/dist/apis/workflow-definition.js +1 -1
  141. package/dist/apis/workflow.cjs +6 -6
  142. package/dist/apis/workflow.js +1 -1
  143. package/dist/{chunk-7LIGFCRI.cjs → chunk-4GI6KGKZ.cjs} +3 -3
  144. package/dist/chunk-54QNWEPZ.js +14 -0
  145. package/dist/{chunk-CMANJ4LY.js → chunk-VMKT7UQS.js} +3 -3
  146. package/dist/chunk-YXJ4PBFQ.cjs +14 -0
  147. package/dist/index.cjs +10 -10
  148. package/dist/index.d.cts +3 -3
  149. package/dist/index.d.ts +3 -3
  150. package/dist/index.js +2 -2
  151. package/dist/journey-LHVSSVTG.cjs +7 -0
  152. package/dist/journey-NXL264XW.js +7 -0
  153. package/dist/{journey.d-BenIUWaO.d.cts → journey.d-B1sOeMHw.d.cts} +16 -3
  154. package/dist/{journey.d-BenIUWaO.d.ts → journey.d-B1sOeMHw.d.ts} +16 -3
  155. package/dist/snapshot-6CCO4NYL.js +7 -0
  156. package/dist/snapshot-GWB56VPP.cjs +7 -0
  157. package/dist/{snapshot-runtime-5TT575JS.cjs → snapshot-runtime-6DV42FVY.cjs} +2 -2
  158. package/dist/{snapshot-runtime-KWRGOKF4.js → snapshot-runtime-IW57MINC.js} +1 -1
  159. package/dist/{snapshot.d-C-n4wkIu.d.cts → snapshot.d-D5z6-hzE.d.cts} +30 -22
  160. package/dist/{snapshot.d-C-n4wkIu.d.ts → snapshot.d-D5z6-hzE.d.ts} +30 -22
  161. package/docs/journey.md +28 -8
  162. package/docs/snapshot.md +8 -6
  163. package/package.json +1 -1
  164. package/dist/chunk-4SZCKUY2.js +0 -14
  165. package/dist/chunk-ULKFBO7E.cjs +0 -14
  166. package/dist/journey-4DIIPRU4.js +0 -7
  167. package/dist/journey-ATC3Y5AW.cjs +0 -7
  168. package/dist/snapshot-GDJOEFJQ.js +0 -7
  169. package/dist/snapshot-UKV54UQQ.cjs +0 -7
@@ -1 +1 @@
1
- {"s":"https://journey-config.sls.epilot.io","o":[["getJourneysByOrgId","get","/v1/journey/organization/{id}",[["id","p",true],["hydrate","q"]]],["getJourney","get","/v1/journey/configuration/{id}",[["id","p",true],["source","q"],["orgId","q"]]],["removeJourney","delete","/v1/journey/configuration/{id}",[["id","p",true]]],["getJourneyProducts","get","/v1/journey/products/{id}",[["id","p",true],["source","q"],["postal_code","q"],["city","q"],["street","q"],["street_number","q"]]],["createJourney","post","/v1/journey/configuration",[["skipAutomation","q"]],1],["updateJourney","put","/v1/journey/configuration",null,1],["patchUpdateJourney","patch","/v1/journey/configuration",null,1],["searchJourneys","post","/v1/journey/configuration/search",null,1],["generateDocument","post","/v1/journey/document:generate",null,1],["createJourneyV2","post","/v2/journey/configuration",[["skipAutomation","q"]],1],["updateJourneyV2","put","/v2/journey/configuration",null,1],["patchUpdateJourneyV2","patch","/v2/journey/configuration",null,1],["getJourneyV2","get","/v2/journey/configuration/{id}",[["id","p",true]]],["removeJourneyV2","delete","/v2/journey/configuration/{id}",[["id","p",true]]],["getSettingsForJourney","get","/v1/journey/{id}/settings",[["id","p",true]]],["getButtonOptions","get","/v1/journey/button-options",[["fileId","q",true]]]],"v":"3.0.0"}
1
+ {"s":"https://journey-config.sls.epilot.io","o":[["getJourneysByOrgId","get","/v1/journey/organization/{id}",[["id","p",true],["hydrate","q"]]],["getJourney","get","/v1/journey/configuration/{id}",[["id","p",true],["version","q"],["source","q"],["orgId","q"]]],["removeJourney","delete","/v1/journey/configuration/{id}",[["id","p",true]]],["getJourneyProducts","get","/v1/journey/products/{id}",[["id","p",true],["source","q"],["postal_code","q"],["city","q"],["street","q"],["street_number","q"]]],["createJourney","post","/v1/journey/configuration",[["skipAutomation","q"]],1],["updateJourney","put","/v1/journey/configuration",null,1],["patchUpdateJourney","patch","/v1/journey/configuration",null,1],["searchJourneys","post","/v1/journey/configuration/search",null,1],["generateDocument","post","/v1/journey/document:generate",null,1],["createJourneyV2","post","/v2/journey/configuration",[["skipAutomation","q"]],1],["updateJourneyV2","put","/v2/journey/configuration",null,1],["patchUpdateJourneyV2","patch","/v2/journey/configuration",null,1],["getJourneyV2","get","/v2/journey/configuration/{id}",[["id","p",true],["version","q"]]],["removeJourneyV2","delete","/v2/journey/configuration/{id}",[["id","p",true]]],["getSettingsForJourney","get","/v1/journey/{id}/settings",[["id","p",true]]],["getButtonOptions","get","/v1/journey/button-options",[["fileId","q",true]]]],"v":"3.0.0"}
@@ -3,7 +3,7 @@
3
3
  "info": {
4
4
  "title": "Journey API",
5
5
  "description": "API to configure journeys",
6
- "version": "1.4.1"
6
+ "version": "1.4.2"
7
7
  },
8
8
  "security": [
9
9
  {
@@ -114,6 +114,16 @@
114
114
  "example": "509cdffe-424f-457a-95c2-9708c304ce77"
115
115
  }
116
116
  },
117
+ {
118
+ "name": "version",
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",
121
+ "required": false,
122
+ "schema": {
123
+ "type": "integer",
124
+ "default": 0
125
+ }
126
+ },
117
127
  {
118
128
  "name": "source",
119
129
  "in": "query",
@@ -708,6 +718,16 @@
708
718
  "format": "uuid",
709
719
  "example": "509cdffe-424f-457a-95c2-9708c304ce77"
710
720
  }
721
+ },
722
+ {
723
+ "name": "version",
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",
726
+ "required": false,
727
+ "schema": {
728
+ "type": "integer",
729
+ "default": 0
730
+ }
711
731
  }
712
732
  ],
713
733
  "responses": {
@@ -1294,6 +1314,13 @@
1294
1314
  "type": "boolean",
1295
1315
  "description": "If true, journey is displayed in read-only mode"
1296
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
+ },
1297
1324
  "settings": {
1298
1325
  "type": "object",
1299
1326
  "properties": {
@@ -1814,6 +1841,13 @@
1814
1841
  "type": "boolean",
1815
1842
  "description": "If true, journey is displayed in read-only mode"
1816
1843
  },
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
+ },
1817
1851
  "settings": {
1818
1852
  "type": "object",
1819
1853
  "properties": {
@@ -1961,6 +1995,9 @@
1961
1995
  "enableDarkMode": {
1962
1996
  "type": "boolean",
1963
1997
  "description": "If true, the journey shows an icon to toggle dark mode"
1998
+ },
1999
+ "isActive": {
2000
+ "type": "boolean"
1964
2001
  }
1965
2002
  },
1966
2003
  "additionalProperties": false
@@ -1 +1 @@
1
- {"s":"https://notes.sls.epilot.io","o":[["createNote","post","/v1/note",null,1],["getNote","get","/v1/note/{id}",[["id","p",true],["hydrate","q"]]],["patchNote","patch","/v1/note/{id}",[["id","p",true]],1],["updateNote","put","/v1/note/{id}",[["id","p",true]],1],["deleteNote","delete","/v1/note/{id}",[["id","p",true]]],["searchNotesByContext","post","/v1/notes:search",null,1],["getNotesByContext","get","/v1/notes/{entity_id}",[["entity_id","p",true],["contexts","q"],["from","q"],["size","q"]]],["pinNote","post","/v1/note/{id}/pin",[["id","p",true]]],["getNoteContexts","get","/v1/note/{id}/context",[["id","p",true]]],["addNoteReaction","post","/v1/note/{id}/reaction",[["id","p",true]],1],["removeNoteReaction","delete","/v1/note/{id}/reaction/{emoji_shortcode}",[["id","p",true],["emoji_shortcode","p",true]]],["toggleNoteReactions","post","/v1/note/{id}/reactions/toggle",[["id","p",true]],1]]}
1
+ {"s":"https://notes.sls.epilot.io","o":[["createNote","post","/v1/note",null,1],["getNote","get","/v1/note/{id}",[["id","p",true],["hydrate","q"]]],["patchNote","patch","/v1/note/{id}",[["id","p",true]],1],["updateNote","put","/v1/note/{id}",[["id","p",true]],1],["deleteNote","delete","/v1/note/{id}",[["id","p",true]]],["searchNotesByContext","post","/v1/notes:search",null,1],["getNotesByContext","get","/v1/notes/{entity_id}",[["entity_id","p",true],["contexts","q"],["filter","q"],["from","q"],["size","q"]]],["pinNote","post","/v1/note/{id}/pin",[["id","p",true]]],["archiveNote","post","/v1/note/{id}/archive",[["id","p",true]]],["unarchiveNote","post","/v1/note/{id}/unarchive",[["id","p",true]]],["getNoteContexts","get","/v1/note/{id}/context",[["id","p",true]]],["addNoteReaction","post","/v1/note/{id}/reaction",[["id","p",true]],1],["removeNoteReaction","delete","/v1/note/{id}/reaction/{emoji_shortcode}",[["id","p",true],["emoji_shortcode","p",true]]],["toggleNoteReactions","post","/v1/note/{id}/reactions/toggle",[["id","p",true]],1]]}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.2",
3
3
  "info": {
4
- "version": "2.4.0",
4
+ "version": "2.6.0",
5
5
  "title": "Notes API",
6
6
  "description": "Facade API Backend for Epilot Notes feature",
7
7
  "contact": {
@@ -23,6 +23,9 @@
23
23
  },
24
24
  {
25
25
  "name": "Reactions"
26
+ },
27
+ {
28
+ "name": "Archive"
26
29
  }
27
30
  ],
28
31
  "security": [
@@ -285,6 +288,14 @@
285
288
  }
286
289
  }
287
290
  },
291
+ {
292
+ "in": "query",
293
+ "name": "filter",
294
+ "description": "Archive-state filter. 'active' (default) returns non-archived notes only, 'archived' returns only archived notes, 'all' returns both.",
295
+ "schema": {
296
+ "$ref": "#/components/schemas/NotesListFilter"
297
+ }
298
+ },
288
299
  {
289
300
  "in": "query",
290
301
  "name": "from",
@@ -347,6 +358,74 @@
347
358
  }
348
359
  }
349
360
  },
361
+ "/v1/note/{id}/archive": {
362
+ "post": {
363
+ "operationId": "archiveNote",
364
+ "summary": "archiveNote",
365
+ "description": "Archives a root Note entry by setting its `_archived_at` timestamp to the current server time. The same timestamp is cascaded to every comment under the note so the entire thread is hidden from default listings. Returns 400 if the supplied id is a comment.",
366
+ "tags": [
367
+ "Archive"
368
+ ],
369
+ "parameters": [
370
+ {
371
+ "in": "path",
372
+ "name": "id",
373
+ "description": "The Entity ID of the Note entry to archive",
374
+ "schema": {
375
+ "type": "string",
376
+ "description": "The Entity ID of the Note entry to archive"
377
+ },
378
+ "required": true
379
+ }
380
+ ],
381
+ "responses": {
382
+ "200": {
383
+ "description": "Successful response with the archived Note entity",
384
+ "content": {
385
+ "application/json": {
386
+ "schema": {
387
+ "$ref": "#/components/schemas/NoteEntity"
388
+ }
389
+ }
390
+ }
391
+ }
392
+ }
393
+ }
394
+ },
395
+ "/v1/note/{id}/unarchive": {
396
+ "post": {
397
+ "operationId": "unarchiveNote",
398
+ "summary": "unarchiveNote",
399
+ "description": "Unarchives a root Note entry by clearing its `_archived_at` value. The clear cascades to every comment under the note so the entire thread returns to the active view. Returns 400 if the supplied id is a comment.",
400
+ "tags": [
401
+ "Archive"
402
+ ],
403
+ "parameters": [
404
+ {
405
+ "in": "path",
406
+ "name": "id",
407
+ "description": "The Entity ID of the Note entry to unarchive",
408
+ "schema": {
409
+ "type": "string",
410
+ "description": "The Entity ID of the Note entry to unarchive"
411
+ },
412
+ "required": true
413
+ }
414
+ ],
415
+ "responses": {
416
+ "200": {
417
+ "description": "Successful response with the unarchived Note entity",
418
+ "content": {
419
+ "application/json": {
420
+ "schema": {
421
+ "$ref": "#/components/schemas/NoteEntity"
422
+ }
423
+ }
424
+ }
425
+ }
426
+ }
427
+ }
428
+ },
350
429
  "/v1/note/{id}/context": {
351
430
  "get": {
352
431
  "operationId": "getNoteContexts",
@@ -726,6 +805,12 @@
726
805
  }
727
806
  },
728
807
  "description": "Reactions to the note, keyed by reaction type, with an array of user IDs for each type"
808
+ },
809
+ "_archived_at": {
810
+ "type": "string",
811
+ "nullable": true,
812
+ "description": "The timestamp of when this Note was archived. Absent or null means the Note is active.",
813
+ "format": "date-time"
729
814
  }
730
815
  },
731
816
  "description": "A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place."
@@ -927,6 +1012,12 @@
927
1012
  }
928
1013
  },
929
1014
  "description": "Reactions to the note, keyed by reaction type, with an array of user IDs for each type"
1015
+ },
1016
+ "_archived_at": {
1017
+ "type": "string",
1018
+ "nullable": true,
1019
+ "description": "The timestamp of when this Note was archived. Absent or null means the Note is active.",
1020
+ "format": "date-time"
930
1021
  }
931
1022
  }
932
1023
  },
@@ -1051,6 +1142,12 @@
1051
1142
  }
1052
1143
  },
1053
1144
  "description": "Reactions to the note, keyed by reaction type, with an array of user IDs for each type"
1145
+ },
1146
+ "_archived_at": {
1147
+ "type": "string",
1148
+ "nullable": true,
1149
+ "description": "The timestamp of when this Note was archived. Absent or null means the Note is active.",
1150
+ "format": "date-time"
1054
1151
  }
1055
1152
  }
1056
1153
  },
@@ -1194,6 +1291,12 @@
1194
1291
  }
1195
1292
  },
1196
1293
  "description": "Reactions to the note, keyed by reaction type, with an array of user IDs for each type"
1294
+ },
1295
+ "_archived_at": {
1296
+ "type": "string",
1297
+ "nullable": true,
1298
+ "description": "The timestamp of when this Note was archived. Absent or null means the Note is active.",
1299
+ "format": "date-time"
1197
1300
  }
1198
1301
  },
1199
1302
  "required": [
@@ -1422,6 +1525,12 @@
1422
1525
  }
1423
1526
  },
1424
1527
  "description": "Reactions to the note, keyed by reaction type, with an array of user IDs for each type"
1528
+ },
1529
+ "_archived_at": {
1530
+ "type": "string",
1531
+ "nullable": true,
1532
+ "description": "The timestamp of when this Note was archived. Absent or null means the Note is active.",
1533
+ "format": "date-time"
1425
1534
  }
1426
1535
  }
1427
1536
  },
@@ -1454,6 +1563,9 @@
1454
1563
  },
1455
1564
  "description": "When set, the API resolves related entities of these schemas for the primary entity context and includes their notes in the results."
1456
1565
  },
1566
+ "filter": {
1567
+ "$ref": "#/components/schemas/NotesListFilter"
1568
+ },
1457
1569
  "from": {
1458
1570
  "type": "number",
1459
1571
  "default": 0,
@@ -1469,6 +1581,16 @@
1469
1581
  "contexts"
1470
1582
  ]
1471
1583
  },
1584
+ "NotesListFilter": {
1585
+ "type": "string",
1586
+ "enum": [
1587
+ "all",
1588
+ "active",
1589
+ "archived"
1590
+ ],
1591
+ "default": "active",
1592
+ "description": "Archive-state filter. 'active' (default) returns non-archived notes only, 'archived' returns only archived notes, 'all' returns both."
1593
+ },
1472
1594
  "NotesSearchRequestResponse": {
1473
1595
  "type": "object",
1474
1596
  "properties": {