@epilot/sdk 2.7.1 → 2.7.2

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 (207) hide show
  1. package/definitions/app.json +101 -8
  2. package/definitions/configuration-hub-runtime.json +1 -1
  3. package/definitions/configuration-hub.json +623 -0
  4. package/definitions/customer-portal.json +72 -58
  5. package/definitions/design-runtime.json +1 -1
  6. package/definitions/design.json +52 -12
  7. package/definitions/journey-runtime.json +1 -1
  8. package/definitions/journey.json +21 -1
  9. package/definitions/notes-runtime.json +1 -1
  10. package/definitions/notes.json +123 -1
  11. package/definitions/pricing.json +149 -404
  12. package/dist/apis/access-token.cjs +6 -6
  13. package/dist/apis/access-token.js +1 -1
  14. package/dist/apis/address-suggestions.cjs +6 -6
  15. package/dist/apis/address-suggestions.js +1 -1
  16. package/dist/apis/address.cjs +6 -6
  17. package/dist/apis/address.js +1 -1
  18. package/dist/apis/ai-agents.cjs +6 -6
  19. package/dist/apis/ai-agents.js +1 -1
  20. package/dist/apis/app.cjs +6 -6
  21. package/dist/apis/app.d.cts +2 -2
  22. package/dist/apis/app.d.ts +2 -2
  23. package/dist/apis/app.js +1 -1
  24. package/dist/apis/audit-logs.cjs +6 -6
  25. package/dist/apis/audit-logs.js +1 -1
  26. package/dist/apis/automation.cjs +6 -6
  27. package/dist/apis/automation.js +1 -1
  28. package/dist/apis/billing.cjs +6 -6
  29. package/dist/apis/billing.js +1 -1
  30. package/dist/apis/blueprint-manifest.cjs +6 -6
  31. package/dist/apis/blueprint-manifest.js +1 -1
  32. package/dist/apis/calendar.cjs +6 -6
  33. package/dist/apis/calendar.js +1 -1
  34. package/dist/apis/configuration-hub.cjs +8 -8
  35. package/dist/apis/configuration-hub.d.cts +2 -2
  36. package/dist/apis/configuration-hub.d.ts +2 -2
  37. package/dist/apis/configuration-hub.js +2 -2
  38. package/dist/apis/consent.cjs +6 -6
  39. package/dist/apis/consent.js +1 -1
  40. package/dist/apis/customer-portal.cjs +6 -6
  41. package/dist/apis/customer-portal.d.cts +2 -2
  42. package/dist/apis/customer-portal.d.ts +2 -2
  43. package/dist/apis/customer-portal.js +1 -1
  44. package/dist/apis/dashboard.cjs +6 -6
  45. package/dist/apis/dashboard.js +1 -1
  46. package/dist/apis/data-governance.cjs +6 -6
  47. package/dist/apis/data-governance.js +1 -1
  48. package/dist/apis/deduplication.cjs +6 -6
  49. package/dist/apis/deduplication.js +1 -1
  50. package/dist/apis/design.cjs +8 -8
  51. package/dist/apis/design.d.cts +2 -2
  52. package/dist/apis/design.d.ts +2 -2
  53. package/dist/apis/design.js +2 -2
  54. package/dist/apis/document.cjs +6 -6
  55. package/dist/apis/document.js +1 -1
  56. package/dist/apis/email-settings.cjs +6 -6
  57. package/dist/apis/email-settings.js +1 -1
  58. package/dist/apis/email-template.cjs +6 -6
  59. package/dist/apis/email-template.js +1 -1
  60. package/dist/apis/entity-mapping.cjs +6 -6
  61. package/dist/apis/entity-mapping.js +1 -1
  62. package/dist/apis/entity.cjs +6 -6
  63. package/dist/apis/entity.js +1 -1
  64. package/dist/apis/environments.cjs +6 -6
  65. package/dist/apis/environments.js +1 -1
  66. package/dist/apis/event-catalog.cjs +6 -6
  67. package/dist/apis/event-catalog.js +1 -1
  68. package/dist/apis/file.cjs +6 -6
  69. package/dist/apis/file.js +1 -1
  70. package/dist/apis/iban.cjs +6 -6
  71. package/dist/apis/iban.js +1 -1
  72. package/dist/apis/integration-toolkit.cjs +6 -6
  73. package/dist/apis/integration-toolkit.js +1 -1
  74. package/dist/apis/journey.cjs +8 -8
  75. package/dist/apis/journey.d.cts +2 -2
  76. package/dist/apis/journey.d.ts +2 -2
  77. package/dist/apis/journey.js +2 -2
  78. package/dist/apis/kanban.cjs +6 -6
  79. package/dist/apis/kanban.js +1 -1
  80. package/dist/apis/message.cjs +6 -6
  81. package/dist/apis/message.js +1 -1
  82. package/dist/apis/metering.cjs +6 -6
  83. package/dist/apis/metering.js +1 -1
  84. package/dist/apis/notes.cjs +8 -8
  85. package/dist/apis/notes.d.cts +2 -2
  86. package/dist/apis/notes.d.ts +2 -2
  87. package/dist/apis/notes.js +2 -2
  88. package/dist/apis/notification.cjs +6 -6
  89. package/dist/apis/notification.js +1 -1
  90. package/dist/apis/organization.cjs +6 -6
  91. package/dist/apis/organization.js +1 -1
  92. package/dist/apis/partner-directory.cjs +6 -6
  93. package/dist/apis/partner-directory.js +1 -1
  94. package/dist/apis/permissions.cjs +6 -6
  95. package/dist/apis/permissions.js +1 -1
  96. package/dist/apis/pricing-tier.cjs +6 -6
  97. package/dist/apis/pricing-tier.js +1 -1
  98. package/dist/apis/pricing.cjs +6 -6
  99. package/dist/apis/pricing.d.cts +2 -2
  100. package/dist/apis/pricing.d.ts +2 -2
  101. package/dist/apis/pricing.js +1 -1
  102. package/dist/apis/purpose.cjs +6 -6
  103. package/dist/apis/purpose.js +1 -1
  104. package/dist/apis/query.cjs +6 -6
  105. package/dist/apis/query.js +1 -1
  106. package/dist/apis/sandbox.cjs +6 -6
  107. package/dist/apis/sandbox.js +1 -1
  108. package/dist/apis/sharing.cjs +6 -6
  109. package/dist/apis/sharing.js +1 -1
  110. package/dist/apis/submission.cjs +6 -6
  111. package/dist/apis/submission.js +1 -1
  112. package/dist/apis/target.cjs +6 -6
  113. package/dist/apis/target.js +1 -1
  114. package/dist/apis/targeting.cjs +6 -6
  115. package/dist/apis/targeting.js +1 -1
  116. package/dist/apis/template-variables.cjs +6 -6
  117. package/dist/apis/template-variables.js +1 -1
  118. package/dist/apis/user.cjs +6 -6
  119. package/dist/apis/user.js +1 -1
  120. package/dist/apis/validation-rules.cjs +6 -6
  121. package/dist/apis/validation-rules.js +1 -1
  122. package/dist/apis/webhooks.cjs +6 -6
  123. package/dist/apis/webhooks.js +1 -1
  124. package/dist/apis/workflow-definition.cjs +6 -6
  125. package/dist/apis/workflow-definition.js +1 -1
  126. package/dist/apis/workflow.cjs +6 -6
  127. package/dist/apis/workflow.js +1 -1
  128. package/dist/{app-SSF545U7.cjs → app-74LECFMK.cjs} +1 -1
  129. package/dist/{app-34OBBTA4.js → app-GNUHCGPO.js} +1 -1
  130. package/dist/{app.d--5n0FQQ4.d.cts → app.d-BOR23dso.d.cts} +104 -4
  131. package/dist/{app.d--5n0FQQ4.d.ts → app.d-BOR23dso.d.ts} +104 -4
  132. package/dist/bin/cli.js +1 -1
  133. package/dist/{chunk-SCMAZ73K.js → chunk-IVLR4CQF.js} +26 -17
  134. package/dist/chunk-JOUTFBLN.js +14 -0
  135. package/dist/chunk-LAWKCWVU.cjs +14 -0
  136. package/dist/{chunk-ZSONBZIF.cjs → chunk-MOLFG5L4.cjs} +1 -1
  137. package/dist/chunk-P4NA7NWG.js +14 -0
  138. package/dist/{chunk-R7XDTILZ.cjs → chunk-SOPJ42HW.cjs} +26 -17
  139. package/dist/chunk-WHXYES2D.cjs +14 -0
  140. package/dist/{chunk-RW5JOHG7.js → chunk-WIQXF7DD.js} +1 -1
  141. package/dist/{chunk-ONOGGR6Q.js → chunk-WW6DVKJR.js} +1 -1
  142. package/dist/{chunk-M2SSGV7K.cjs → chunk-ZOQUGWQL.cjs} +1 -1
  143. package/dist/configuration-hub-E7S4JB2T.js +7 -0
  144. package/dist/configuration-hub-Q5JBYB52.cjs +7 -0
  145. package/dist/{configuration-hub-runtime-L6IOERSP.js → configuration-hub-runtime-CXME7TCX.js} +1 -1
  146. package/dist/{configuration-hub-runtime-I5Y67CXD.cjs → configuration-hub-runtime-QVLJKEZD.cjs} +2 -2
  147. package/dist/configuration-hub.d-CbSJDa7k.d.cts +1096 -0
  148. package/dist/configuration-hub.d-CbSJDa7k.d.ts +1096 -0
  149. package/dist/customer-portal-IBM3K2EZ.cjs +7 -0
  150. package/dist/customer-portal-XPYKMIIA.js +7 -0
  151. package/dist/{customer-portal.d-C7ZCbjiY.d.cts → customer-portal.d-CTTCBAZI.d.cts} +217 -61
  152. package/dist/{customer-portal.d-C7ZCbjiY.d.ts → customer-portal.d-CTTCBAZI.d.ts} +217 -61
  153. package/dist/design-DUFBH5ZB.js +7 -0
  154. package/dist/design-W3D3UPGB.cjs +7 -0
  155. package/dist/design-runtime-3RHYNHUV.cjs +5 -0
  156. package/dist/{design-runtime-QMJM4FAF.js → design-runtime-DLMA4EHQ.js} +1 -1
  157. package/dist/{design.d-BRre8iLg.d.cts → design.d-DzSDu8cy.d.cts} +41 -3
  158. package/dist/{design.d-BRre8iLg.d.ts → design.d-DzSDu8cy.d.ts} +41 -3
  159. package/dist/index.cjs +16 -16
  160. package/dist/index.d.cts +7 -7
  161. package/dist/index.d.ts +7 -7
  162. package/dist/index.js +5 -5
  163. package/dist/journey-4DIIPRU4.js +7 -0
  164. package/dist/journey-ATC3Y5AW.cjs +7 -0
  165. package/dist/{journey-runtime-SPBL3F32.cjs → journey-runtime-G2O5C3N2.cjs} +2 -2
  166. package/dist/{journey-runtime-YXIAOTMD.js → journey-runtime-RI2LJO5S.js} +1 -1
  167. package/dist/{journey.d-ClXO0xK8.d.cts → journey.d-BenIUWaO.d.cts} +9 -3
  168. package/dist/{journey.d-ClXO0xK8.d.ts → journey.d-BenIUWaO.d.ts} +9 -3
  169. package/dist/{js-yaml-UPZKYVRY.js → js-yaml-DLCVPJ7G.js} +17 -15
  170. package/dist/notes-6JESMRLW.js +7 -0
  171. package/dist/notes-SLEUSNP4.cjs +7 -0
  172. package/dist/{notes-runtime-CVNAVKPP.js → notes-runtime-I4SWR3PZ.js} +1 -1
  173. package/dist/notes-runtime-YWTRRNH5.cjs +5 -0
  174. package/dist/{notes.d-BcV_m5fe.d.cts → notes.d-rbcyHfiB.d.cts} +101 -3
  175. package/dist/{notes.d-BcV_m5fe.d.ts → notes.d-rbcyHfiB.d.ts} +101 -3
  176. package/dist/pricing-F7HQ6BWC.cjs +7 -0
  177. package/dist/pricing-YCD4EUGI.js +7 -0
  178. package/dist/{pricing.d-BHpMU4KU.d.cts → pricing.d-exMaGWm1.d.cts} +140 -280
  179. package/dist/{pricing.d-BHpMU4KU.d.ts → pricing.d-exMaGWm1.d.ts} +140 -280
  180. package/docs/app.md +34 -10
  181. package/docs/configuration-hub.md +660 -0
  182. package/docs/customer-portal.md +221 -159
  183. package/docs/design.md +81 -4
  184. package/docs/journey.md +2 -0
  185. package/docs/notes.md +47 -1
  186. package/docs/pricing.md +269 -218
  187. package/package.json +1 -1
  188. package/dist/chunk-EIIIKDOJ.cjs +0 -14
  189. package/dist/chunk-KIWRGUKM.js +0 -14
  190. package/dist/chunk-MB6NKETA.cjs +0 -14
  191. package/dist/chunk-VSZEOCIE.js +0 -14
  192. package/dist/configuration-hub-A3S6ND6R.cjs +0 -7
  193. package/dist/configuration-hub-PMAW44U5.js +0 -7
  194. package/dist/configuration-hub.d-Cqaq2F-W.d.cts +0 -478
  195. package/dist/configuration-hub.d-Cqaq2F-W.d.ts +0 -478
  196. package/dist/customer-portal-7HYSBH7H.cjs +0 -7
  197. package/dist/customer-portal-X4LJX6AU.js +0 -7
  198. package/dist/design-DROLIWS3.js +0 -7
  199. package/dist/design-XZKOZLTR.cjs +0 -7
  200. package/dist/design-runtime-OXEXKZVG.cjs +0 -5
  201. package/dist/journey-KDR5EU3W.js +0 -7
  202. package/dist/journey-REBN4TGQ.cjs +0 -7
  203. package/dist/notes-K2IIFCX3.cjs +0 -7
  204. package/dist/notes-Q7JGS7O3.js +0 -7
  205. package/dist/notes-runtime-E3YYF74V.cjs +0 -5
  206. package/dist/pricing-FODHQFCB.cjs +0 -7
  207. package/dist/pricing-XRIDVZFC.js +0 -7
@@ -149,6 +149,10 @@ declare namespace Components {
149
149
  reactions?: {
150
150
  [name: string]: string[];
151
151
  };
152
+ /**
153
+ * The timestamp of when this Note was archived. Absent or null means the Note is active.
154
+ */
155
+ _archived_at?: string | null; // date-time
152
156
  }
153
157
  /**
154
158
  * List of resolved Entity and non-Entity contexts attached to a given Note.
@@ -241,6 +245,10 @@ declare namespace Components {
241
245
  reactions?: {
242
246
  [name: string]: string[];
243
247
  };
248
+ /**
249
+ * The timestamp of when this Note was archived. Absent or null means the Note is active.
250
+ */
251
+ _archived_at?: string | null; // date-time
244
252
  }
245
253
  /**
246
254
  * The Note's parent Note
@@ -334,6 +342,10 @@ declare namespace Components {
334
342
  reactions?: {
335
343
  [name: string]: string[];
336
344
  };
345
+ /**
346
+ * The timestamp of when this Note was archived. Absent or null means the Note is active.
347
+ */
348
+ _archived_at?: string | null; // date-time
337
349
  }
338
350
  export interface NotePatchRequestBody {
339
351
  /**
@@ -387,6 +399,10 @@ declare namespace Components {
387
399
  reactions?: {
388
400
  [name: string]: string[];
389
401
  };
402
+ /**
403
+ * The timestamp of when this Note was archived. Absent or null means the Note is active.
404
+ */
405
+ _archived_at?: string | null; // date-time
390
406
  }
391
407
  export interface NotePostRequestBody {
392
408
  /**
@@ -523,6 +539,10 @@ declare namespace Components {
523
539
  reactions?: {
524
540
  [name: string]: string[];
525
541
  };
542
+ /**
543
+ * The timestamp of when this Note was archived. Absent or null means the Note is active.
544
+ */
545
+ _archived_at?: string | null; // date-time
526
546
  }
527
547
  export interface NoteSearchByContextRequestBody {
528
548
  contexts: [
@@ -539,6 +559,7 @@ declare namespace Components {
539
559
  * When set, the API resolves related entities of these schemas for the primary entity context and includes their notes in the results.
540
560
  */
541
561
  include_related_schemas?: string[];
562
+ filter?: /* Archive-state filter. 'active' (default) returns non-archived notes only, 'archived' returns only archived notes, 'all' returns both. */ NotesListFilter;
542
563
  /**
543
564
  * The index of the first Note to return in this query
544
565
  */
@@ -548,6 +569,10 @@ declare namespace Components {
548
569
  */
549
570
  size?: number;
550
571
  }
572
+ /**
573
+ * Archive-state filter. 'active' (default) returns non-archived notes only, 'archived' returns only archived notes, 'all' returns both.
574
+ */
575
+ export type NotesListFilter = "all" | "active" | "archived";
551
576
  export interface NotesSearchRequestResponse {
552
577
  /**
553
578
  * The number of Note entries returned in this query
@@ -604,6 +629,20 @@ declare namespace Paths {
604
629
  export type $200 = /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ Components.Schemas.NoteEntity;
605
630
  }
606
631
  }
632
+ namespace ArchiveNote {
633
+ namespace Parameters {
634
+ /**
635
+ * The Entity ID of the Note entry to archive
636
+ */
637
+ export type Id = string;
638
+ }
639
+ export interface PathParameters {
640
+ id: /* The Entity ID of the Note entry to archive */ Parameters.Id;
641
+ }
642
+ namespace Responses {
643
+ export type $200 = /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ Components.Schemas.NoteEntity;
644
+ }
645
+ }
607
646
  namespace CreateNote {
608
647
  export type RequestBody = Components.Schemas.NotePostRequestBody;
609
648
  namespace Responses {
@@ -670,6 +709,7 @@ declare namespace Paths {
670
709
  * The ID of the Contextual Entity from where to retrieve Notes
671
710
  */
672
711
  export type EntityId = string;
712
+ export type Filter = /* Archive-state filter. 'active' (default) returns non-archived notes only, 'archived' returns only archived notes, 'all' returns both. */ Components.Schemas.NotesListFilter;
673
713
  /**
674
714
  * The index of the first Note to return in this query
675
715
  */
@@ -684,6 +724,7 @@ declare namespace Paths {
684
724
  }
685
725
  export interface QueryParameters {
686
726
  contexts?: Parameters.Contexts;
727
+ filter?: Parameters.Filter;
687
728
  from?: /* The index of the first Note to return in this query */ Parameters.From;
688
729
  size?: /* The number of Note entries to return in this query */ Parameters.Size;
689
730
  }
@@ -761,6 +802,20 @@ declare namespace Paths {
761
802
  export type $200 = /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ Components.Schemas.NoteEntity;
762
803
  }
763
804
  }
805
+ namespace UnarchiveNote {
806
+ namespace Parameters {
807
+ /**
808
+ * The Entity ID of the Note entry to unarchive
809
+ */
810
+ export type Id = string;
811
+ }
812
+ export interface PathParameters {
813
+ id: /* The Entity ID of the Note entry to unarchive */ Parameters.Id;
814
+ }
815
+ namespace Responses {
816
+ export type $200 = /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ Components.Schemas.NoteEntity;
817
+ }
818
+ }
764
819
  namespace UpdateNote {
765
820
  namespace Parameters {
766
821
  /**
@@ -778,7 +833,6 @@ declare namespace Paths {
778
833
  }
779
834
  }
780
835
 
781
-
782
836
  interface OperationMethods {
783
837
  /**
784
838
  * createNote - createNote
@@ -861,6 +915,26 @@ interface OperationMethods {
861
915
  data?: any,
862
916
  config?: AxiosRequestConfig
863
917
  ): OperationResponse<Paths.PinNote.Responses.$200>
918
+ /**
919
+ * archiveNote - archiveNote
920
+ *
921
+ * 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.
922
+ */
923
+ 'archiveNote'(
924
+ parameters?: Parameters<Paths.ArchiveNote.PathParameters> | null,
925
+ data?: any,
926
+ config?: AxiosRequestConfig
927
+ ): OperationResponse<Paths.ArchiveNote.Responses.$200>
928
+ /**
929
+ * unarchiveNote - unarchiveNote
930
+ *
931
+ * 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.
932
+ */
933
+ 'unarchiveNote'(
934
+ parameters?: Parameters<Paths.UnarchiveNote.PathParameters> | null,
935
+ data?: any,
936
+ config?: AxiosRequestConfig
937
+ ): OperationResponse<Paths.UnarchiveNote.Responses.$200>
864
938
  /**
865
939
  * getNoteContexts - getNoteContexts
866
940
  *
@@ -995,6 +1069,30 @@ interface PathsDictionary {
995
1069
  config?: AxiosRequestConfig
996
1070
  ): OperationResponse<Paths.PinNote.Responses.$200>
997
1071
  }
1072
+ ['/v1/note/{id}/archive']: {
1073
+ /**
1074
+ * archiveNote - archiveNote
1075
+ *
1076
+ * 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.
1077
+ */
1078
+ 'post'(
1079
+ parameters?: Parameters<Paths.ArchiveNote.PathParameters> | null,
1080
+ data?: any,
1081
+ config?: AxiosRequestConfig
1082
+ ): OperationResponse<Paths.ArchiveNote.Responses.$200>
1083
+ }
1084
+ ['/v1/note/{id}/unarchive']: {
1085
+ /**
1086
+ * unarchiveNote - unarchiveNote
1087
+ *
1088
+ * 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.
1089
+ */
1090
+ 'post'(
1091
+ parameters?: Parameters<Paths.UnarchiveNote.PathParameters> | null,
1092
+ data?: any,
1093
+ config?: AxiosRequestConfig
1094
+ ): OperationResponse<Paths.UnarchiveNote.Responses.$200>
1095
+ }
998
1096
  ['/v1/note/{id}/context']: {
999
1097
  /**
1000
1098
  * getNoteContexts - getNoteContexts
@@ -1047,7 +1145,6 @@ interface PathsDictionary {
1047
1145
 
1048
1146
  type Client = OpenAPIClient<OperationMethods, PathsDictionary>
1049
1147
 
1050
-
1051
1148
  type ContextType = Components.Schemas.ContextType;
1052
1149
  type CreatedByType = Components.Schemas.CreatedByType;
1053
1150
  type Entity = Components.Schemas.Entity;
@@ -1060,9 +1157,10 @@ type NotePatchRequestBody = Components.Schemas.NotePatchRequestBody;
1060
1157
  type NotePostRequestBody = Components.Schemas.NotePostRequestBody;
1061
1158
  type NotePutRequestBody = Components.Schemas.NotePutRequestBody;
1062
1159
  type NoteSearchByContextRequestBody = Components.Schemas.NoteSearchByContextRequestBody;
1160
+ type NotesListFilter = Components.Schemas.NotesListFilter;
1063
1161
  type NotesSearchRequestResponse = Components.Schemas.NotesSearchRequestResponse;
1064
1162
  type ReactionRequest = Components.Schemas.ReactionRequest;
1065
1163
  type ToggleReactionsRequest = Components.Schemas.ToggleReactionsRequest;
1066
1164
  type WorkflowExecution = Components.Schemas.WorkflowExecution;
1067
1165
 
1068
- export { type Client as C, type Entity as E, type NonHydratedNoteEntity as N, type OperationMethods as O, Paths as P, type ReactionRequest as R, type ToggleReactionsRequest as T, type WorkflowExecution as W, Components as a, type PathsDictionary as b, type ContextType as c, type CreatedByType as d, type NoteContexts as e, type NoteEntity as f, type NoteEntityParent as g, type NoteGetRequestResponse as h, type NotePatchRequestBody as i, type NotePostRequestBody as j, type NotePutRequestBody as k, type NoteSearchByContextRequestBody as l, type NotesSearchRequestResponse as m };
1166
+ export { type Client as C, type Entity as E, type NonHydratedNoteEntity as N, type OperationMethods as O, Paths as P, type ReactionRequest as R, type ToggleReactionsRequest as T, type WorkflowExecution as W, Components as a, type PathsDictionary as b, type ContextType as c, type CreatedByType as d, type NoteContexts as e, type NoteEntity as f, type NoteEntityParent as g, type NoteGetRequestResponse as h, type NotePatchRequestBody as i, type NotePostRequestBody as j, type NotePutRequestBody as k, type NoteSearchByContextRequestBody as l, type NotesListFilter as m, type NotesSearchRequestResponse as n };
@@ -149,6 +149,10 @@ declare namespace Components {
149
149
  reactions?: {
150
150
  [name: string]: string[];
151
151
  };
152
+ /**
153
+ * The timestamp of when this Note was archived. Absent or null means the Note is active.
154
+ */
155
+ _archived_at?: string | null; // date-time
152
156
  }
153
157
  /**
154
158
  * List of resolved Entity and non-Entity contexts attached to a given Note.
@@ -241,6 +245,10 @@ declare namespace Components {
241
245
  reactions?: {
242
246
  [name: string]: string[];
243
247
  };
248
+ /**
249
+ * The timestamp of when this Note was archived. Absent or null means the Note is active.
250
+ */
251
+ _archived_at?: string | null; // date-time
244
252
  }
245
253
  /**
246
254
  * The Note's parent Note
@@ -334,6 +342,10 @@ declare namespace Components {
334
342
  reactions?: {
335
343
  [name: string]: string[];
336
344
  };
345
+ /**
346
+ * The timestamp of when this Note was archived. Absent or null means the Note is active.
347
+ */
348
+ _archived_at?: string | null; // date-time
337
349
  }
338
350
  export interface NotePatchRequestBody {
339
351
  /**
@@ -387,6 +399,10 @@ declare namespace Components {
387
399
  reactions?: {
388
400
  [name: string]: string[];
389
401
  };
402
+ /**
403
+ * The timestamp of when this Note was archived. Absent or null means the Note is active.
404
+ */
405
+ _archived_at?: string | null; // date-time
390
406
  }
391
407
  export interface NotePostRequestBody {
392
408
  /**
@@ -523,6 +539,10 @@ declare namespace Components {
523
539
  reactions?: {
524
540
  [name: string]: string[];
525
541
  };
542
+ /**
543
+ * The timestamp of when this Note was archived. Absent or null means the Note is active.
544
+ */
545
+ _archived_at?: string | null; // date-time
526
546
  }
527
547
  export interface NoteSearchByContextRequestBody {
528
548
  contexts: [
@@ -539,6 +559,7 @@ declare namespace Components {
539
559
  * When set, the API resolves related entities of these schemas for the primary entity context and includes their notes in the results.
540
560
  */
541
561
  include_related_schemas?: string[];
562
+ filter?: /* Archive-state filter. 'active' (default) returns non-archived notes only, 'archived' returns only archived notes, 'all' returns both. */ NotesListFilter;
542
563
  /**
543
564
  * The index of the first Note to return in this query
544
565
  */
@@ -548,6 +569,10 @@ declare namespace Components {
548
569
  */
549
570
  size?: number;
550
571
  }
572
+ /**
573
+ * Archive-state filter. 'active' (default) returns non-archived notes only, 'archived' returns only archived notes, 'all' returns both.
574
+ */
575
+ export type NotesListFilter = "all" | "active" | "archived";
551
576
  export interface NotesSearchRequestResponse {
552
577
  /**
553
578
  * The number of Note entries returned in this query
@@ -604,6 +629,20 @@ declare namespace Paths {
604
629
  export type $200 = /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ Components.Schemas.NoteEntity;
605
630
  }
606
631
  }
632
+ namespace ArchiveNote {
633
+ namespace Parameters {
634
+ /**
635
+ * The Entity ID of the Note entry to archive
636
+ */
637
+ export type Id = string;
638
+ }
639
+ export interface PathParameters {
640
+ id: /* The Entity ID of the Note entry to archive */ Parameters.Id;
641
+ }
642
+ namespace Responses {
643
+ export type $200 = /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ Components.Schemas.NoteEntity;
644
+ }
645
+ }
607
646
  namespace CreateNote {
608
647
  export type RequestBody = Components.Schemas.NotePostRequestBody;
609
648
  namespace Responses {
@@ -670,6 +709,7 @@ declare namespace Paths {
670
709
  * The ID of the Contextual Entity from where to retrieve Notes
671
710
  */
672
711
  export type EntityId = string;
712
+ export type Filter = /* Archive-state filter. 'active' (default) returns non-archived notes only, 'archived' returns only archived notes, 'all' returns both. */ Components.Schemas.NotesListFilter;
673
713
  /**
674
714
  * The index of the first Note to return in this query
675
715
  */
@@ -684,6 +724,7 @@ declare namespace Paths {
684
724
  }
685
725
  export interface QueryParameters {
686
726
  contexts?: Parameters.Contexts;
727
+ filter?: Parameters.Filter;
687
728
  from?: /* The index of the first Note to return in this query */ Parameters.From;
688
729
  size?: /* The number of Note entries to return in this query */ Parameters.Size;
689
730
  }
@@ -761,6 +802,20 @@ declare namespace Paths {
761
802
  export type $200 = /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ Components.Schemas.NoteEntity;
762
803
  }
763
804
  }
805
+ namespace UnarchiveNote {
806
+ namespace Parameters {
807
+ /**
808
+ * The Entity ID of the Note entry to unarchive
809
+ */
810
+ export type Id = string;
811
+ }
812
+ export interface PathParameters {
813
+ id: /* The Entity ID of the Note entry to unarchive */ Parameters.Id;
814
+ }
815
+ namespace Responses {
816
+ export type $200 = /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ Components.Schemas.NoteEntity;
817
+ }
818
+ }
764
819
  namespace UpdateNote {
765
820
  namespace Parameters {
766
821
  /**
@@ -778,7 +833,6 @@ declare namespace Paths {
778
833
  }
779
834
  }
780
835
 
781
-
782
836
  interface OperationMethods {
783
837
  /**
784
838
  * createNote - createNote
@@ -861,6 +915,26 @@ interface OperationMethods {
861
915
  data?: any,
862
916
  config?: AxiosRequestConfig
863
917
  ): OperationResponse<Paths.PinNote.Responses.$200>
918
+ /**
919
+ * archiveNote - archiveNote
920
+ *
921
+ * 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.
922
+ */
923
+ 'archiveNote'(
924
+ parameters?: Parameters<Paths.ArchiveNote.PathParameters> | null,
925
+ data?: any,
926
+ config?: AxiosRequestConfig
927
+ ): OperationResponse<Paths.ArchiveNote.Responses.$200>
928
+ /**
929
+ * unarchiveNote - unarchiveNote
930
+ *
931
+ * 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.
932
+ */
933
+ 'unarchiveNote'(
934
+ parameters?: Parameters<Paths.UnarchiveNote.PathParameters> | null,
935
+ data?: any,
936
+ config?: AxiosRequestConfig
937
+ ): OperationResponse<Paths.UnarchiveNote.Responses.$200>
864
938
  /**
865
939
  * getNoteContexts - getNoteContexts
866
940
  *
@@ -995,6 +1069,30 @@ interface PathsDictionary {
995
1069
  config?: AxiosRequestConfig
996
1070
  ): OperationResponse<Paths.PinNote.Responses.$200>
997
1071
  }
1072
+ ['/v1/note/{id}/archive']: {
1073
+ /**
1074
+ * archiveNote - archiveNote
1075
+ *
1076
+ * 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.
1077
+ */
1078
+ 'post'(
1079
+ parameters?: Parameters<Paths.ArchiveNote.PathParameters> | null,
1080
+ data?: any,
1081
+ config?: AxiosRequestConfig
1082
+ ): OperationResponse<Paths.ArchiveNote.Responses.$200>
1083
+ }
1084
+ ['/v1/note/{id}/unarchive']: {
1085
+ /**
1086
+ * unarchiveNote - unarchiveNote
1087
+ *
1088
+ * 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.
1089
+ */
1090
+ 'post'(
1091
+ parameters?: Parameters<Paths.UnarchiveNote.PathParameters> | null,
1092
+ data?: any,
1093
+ config?: AxiosRequestConfig
1094
+ ): OperationResponse<Paths.UnarchiveNote.Responses.$200>
1095
+ }
998
1096
  ['/v1/note/{id}/context']: {
999
1097
  /**
1000
1098
  * getNoteContexts - getNoteContexts
@@ -1047,7 +1145,6 @@ interface PathsDictionary {
1047
1145
 
1048
1146
  type Client = OpenAPIClient<OperationMethods, PathsDictionary>
1049
1147
 
1050
-
1051
1148
  type ContextType = Components.Schemas.ContextType;
1052
1149
  type CreatedByType = Components.Schemas.CreatedByType;
1053
1150
  type Entity = Components.Schemas.Entity;
@@ -1060,9 +1157,10 @@ type NotePatchRequestBody = Components.Schemas.NotePatchRequestBody;
1060
1157
  type NotePostRequestBody = Components.Schemas.NotePostRequestBody;
1061
1158
  type NotePutRequestBody = Components.Schemas.NotePutRequestBody;
1062
1159
  type NoteSearchByContextRequestBody = Components.Schemas.NoteSearchByContextRequestBody;
1160
+ type NotesListFilter = Components.Schemas.NotesListFilter;
1063
1161
  type NotesSearchRequestResponse = Components.Schemas.NotesSearchRequestResponse;
1064
1162
  type ReactionRequest = Components.Schemas.ReactionRequest;
1065
1163
  type ToggleReactionsRequest = Components.Schemas.ToggleReactionsRequest;
1066
1164
  type WorkflowExecution = Components.Schemas.WorkflowExecution;
1067
1165
 
1068
- export { type Client as C, type Entity as E, type NonHydratedNoteEntity as N, type OperationMethods as O, Paths as P, type ReactionRequest as R, type ToggleReactionsRequest as T, type WorkflowExecution as W, Components as a, type PathsDictionary as b, type ContextType as c, type CreatedByType as d, type NoteContexts as e, type NoteEntity as f, type NoteEntityParent as g, type NoteGetRequestResponse as h, type NotePatchRequestBody as i, type NotePostRequestBody as j, type NotePutRequestBody as k, type NoteSearchByContextRequestBody as l, type NotesSearchRequestResponse as m };
1166
+ export { type Client as C, type Entity as E, type NonHydratedNoteEntity as N, type OperationMethods as O, Paths as P, type ReactionRequest as R, type ToggleReactionsRequest as T, type WorkflowExecution as W, Components as a, type PathsDictionary as b, type ContextType as c, type CreatedByType as d, type NoteContexts as e, type NoteEntity as f, type NoteEntityParent as g, type NoteGetRequestResponse as h, type NotePatchRequestBody as i, type NotePostRequestBody as j, type NotePutRequestBody as k, type NoteSearchByContextRequestBody as l, type NotesListFilter as m, type NotesSearchRequestResponse as n };