@epilot/sdk 2.4.4-alpha.0 → 2.4.4

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 (222) hide show
  1. package/dist/access-token.d-CnmUTOlq.d.cts +552 -0
  2. package/dist/access-token.d-CnmUTOlq.d.ts +552 -0
  3. package/dist/address-suggestions.d-_YwTOR-9.d.cts +339 -0
  4. package/dist/address-suggestions.d-_YwTOR-9.d.ts +339 -0
  5. package/dist/address.d-CwAPOVxa.d.cts +437 -0
  6. package/dist/address.d-CwAPOVxa.d.ts +437 -0
  7. package/dist/ai-agents.d-OkXfr2bz.d.cts +1339 -0
  8. package/dist/ai-agents.d-OkXfr2bz.d.ts +1339 -0
  9. package/dist/apis/access-token.d.cts +18 -0
  10. package/dist/apis/access-token.d.ts +12 -9
  11. package/dist/apis/address-suggestions.d.cts +18 -0
  12. package/dist/apis/address-suggestions.d.ts +12 -9
  13. package/dist/apis/address.d.cts +18 -0
  14. package/dist/apis/address.d.ts +12 -9
  15. package/dist/apis/ai-agents.d.cts +18 -0
  16. package/dist/apis/ai-agents.d.ts +12 -9
  17. package/dist/apis/app.d.cts +18 -0
  18. package/dist/apis/app.d.ts +12 -9
  19. package/dist/apis/audit-logs.d.cts +18 -0
  20. package/dist/apis/audit-logs.d.ts +12 -9
  21. package/dist/apis/automation.d.cts +18 -0
  22. package/dist/apis/automation.d.ts +12 -9
  23. package/dist/apis/billing.d.cts +18 -0
  24. package/dist/apis/billing.d.ts +12 -9
  25. package/dist/apis/blueprint-manifest.d.cts +18 -0
  26. package/dist/apis/blueprint-manifest.d.ts +12 -9
  27. package/dist/apis/calendar.d.cts +18 -0
  28. package/dist/apis/calendar.d.ts +12 -9
  29. package/dist/apis/configuration-hub.d.cts +18 -0
  30. package/dist/apis/configuration-hub.d.ts +12 -9
  31. package/dist/apis/consent.d.cts +18 -0
  32. package/dist/apis/consent.d.ts +12 -9
  33. package/dist/apis/customer-portal.d.cts +18 -0
  34. package/dist/apis/customer-portal.d.ts +12 -9
  35. package/dist/apis/dashboard.d.cts +18 -0
  36. package/dist/apis/dashboard.d.ts +12 -9
  37. package/dist/apis/data-governance.d.cts +18 -0
  38. package/dist/apis/data-governance.d.ts +12 -9
  39. package/dist/apis/deduplication.d.cts +18 -0
  40. package/dist/apis/deduplication.d.ts +12 -9
  41. package/dist/apis/design.d.cts +18 -0
  42. package/dist/apis/design.d.ts +12 -9
  43. package/dist/apis/document.d.cts +18 -0
  44. package/dist/apis/document.d.ts +12 -9
  45. package/dist/apis/email-settings.d.cts +18 -0
  46. package/dist/apis/email-settings.d.ts +12 -9
  47. package/dist/apis/email-template.d.cts +18 -0
  48. package/dist/apis/email-template.d.ts +12 -9
  49. package/dist/apis/entity-mapping.d.cts +18 -0
  50. package/dist/apis/entity-mapping.d.ts +12 -9
  51. package/dist/apis/entity.d.cts +18 -0
  52. package/dist/apis/entity.d.ts +12 -9
  53. package/dist/apis/environments.d.cts +18 -0
  54. package/dist/apis/environments.d.ts +12 -9
  55. package/dist/apis/event-catalog.d.cts +18 -0
  56. package/dist/apis/event-catalog.d.ts +12 -9
  57. package/dist/apis/file.d.cts +18 -0
  58. package/dist/apis/file.d.ts +12 -9
  59. package/dist/apis/iban.d.cts +18 -0
  60. package/dist/apis/iban.d.ts +12 -9
  61. package/dist/apis/integration-toolkit.d.cts +18 -0
  62. package/dist/apis/integration-toolkit.d.ts +12 -9
  63. package/dist/apis/journey.d.cts +18 -0
  64. package/dist/apis/journey.d.ts +12 -9
  65. package/dist/apis/kanban.d.cts +18 -0
  66. package/dist/apis/kanban.d.ts +12 -9
  67. package/dist/apis/message.d.cts +18 -0
  68. package/dist/apis/message.d.ts +12 -9
  69. package/dist/apis/metering.d.cts +18 -0
  70. package/dist/apis/metering.d.ts +12 -9
  71. package/dist/apis/notes.d.cts +18 -0
  72. package/dist/apis/notes.d.ts +12 -9
  73. package/dist/apis/notification.d.cts +18 -0
  74. package/dist/apis/notification.d.ts +12 -9
  75. package/dist/apis/organization.d.cts +18 -0
  76. package/dist/apis/organization.d.ts +12 -9
  77. package/dist/apis/partner-directory.d.cts +18 -0
  78. package/dist/apis/partner-directory.d.ts +12 -9
  79. package/dist/apis/permissions.d.cts +18 -0
  80. package/dist/apis/permissions.d.ts +12 -9
  81. package/dist/apis/pricing-tier.d.cts +18 -0
  82. package/dist/apis/pricing-tier.d.ts +12 -9
  83. package/dist/apis/pricing.d.cts +18 -0
  84. package/dist/apis/pricing.d.ts +12 -9
  85. package/dist/apis/purpose.d.cts +18 -0
  86. package/dist/apis/purpose.d.ts +12 -9
  87. package/dist/apis/query.d.cts +18 -0
  88. package/dist/apis/query.d.ts +12 -9
  89. package/dist/apis/sandbox.d.cts +18 -0
  90. package/dist/apis/sandbox.d.ts +12 -9
  91. package/dist/apis/sharing.d.cts +18 -0
  92. package/dist/apis/sharing.d.ts +12 -9
  93. package/dist/apis/submission.d.cts +18 -0
  94. package/dist/apis/submission.d.ts +12 -9
  95. package/dist/apis/target.d.cts +597 -0
  96. package/dist/apis/target.d.ts +591 -9
  97. package/dist/apis/targeting.d.cts +18 -0
  98. package/dist/apis/targeting.d.ts +12 -9
  99. package/dist/apis/template-variables.d.cts +18 -0
  100. package/dist/apis/template-variables.d.ts +12 -9
  101. package/dist/apis/user.d.cts +18 -0
  102. package/dist/apis/user.d.ts +12 -9
  103. package/dist/apis/validation-rules.d.cts +18 -0
  104. package/dist/apis/validation-rules.d.ts +12 -9
  105. package/dist/apis/webhooks.d.cts +18 -0
  106. package/dist/apis/webhooks.d.ts +12 -9
  107. package/dist/apis/workflow-definition.d.cts +18 -0
  108. package/dist/apis/workflow-definition.d.ts +12 -9
  109. package/dist/apis/workflow.d.cts +18 -0
  110. package/dist/apis/workflow.d.ts +12 -9
  111. package/dist/app.d-u7Dq42kU.d.cts +3391 -0
  112. package/dist/app.d-u7Dq42kU.d.ts +3391 -0
  113. package/dist/audit-logs.d-BRToFqeX.d.cts +287 -0
  114. package/dist/audit-logs.d-BRToFqeX.d.ts +287 -0
  115. package/dist/automation.d-Du6-uiz5.d.cts +5283 -0
  116. package/dist/automation.d-Du6-uiz5.d.ts +5283 -0
  117. package/dist/billing.d-Bs8Ku9qE.d.cts +993 -0
  118. package/dist/billing.d-Bs8Ku9qE.d.ts +993 -0
  119. package/dist/blueprint-manifest.d-BPyzoR0X.d.cts +4343 -0
  120. package/dist/blueprint-manifest.d-BPyzoR0X.d.ts +4343 -0
  121. package/dist/calendar.d-BEjLDagH.d.cts +353 -0
  122. package/dist/calendar.d-BEjLDagH.d.ts +353 -0
  123. package/dist/configuration-hub.d-Cqaq2F-W.d.cts +478 -0
  124. package/dist/configuration-hub.d-Cqaq2F-W.d.ts +478 -0
  125. package/dist/consent.d-C2PROHhX.d.cts +265 -0
  126. package/dist/consent.d-C2PROHhX.d.ts +265 -0
  127. package/dist/customer-portal.d-DyZ2n2dW.d.cts +16728 -0
  128. package/dist/customer-portal.d-DyZ2n2dW.d.ts +16728 -0
  129. package/dist/dashboard.d-CsGcA74I.d.cts +440 -0
  130. package/dist/dashboard.d-CsGcA74I.d.ts +440 -0
  131. package/dist/data-governance.d-BbZ466j5.d.cts +1178 -0
  132. package/dist/data-governance.d-BbZ466j5.d.ts +1178 -0
  133. package/dist/deduplication.d-D5GYddVu.d.cts +218 -0
  134. package/dist/deduplication.d-D5GYddVu.d.ts +218 -0
  135. package/dist/design.d-BRre8iLg.d.cts +2346 -0
  136. package/dist/design.d-BRre8iLg.d.ts +2346 -0
  137. package/dist/document.d-DN37pjdx.d.cts +648 -0
  138. package/dist/document.d-DN37pjdx.d.ts +648 -0
  139. package/dist/email-settings.d-B7Q_xT25.d.cts +2417 -0
  140. package/dist/email-settings.d-B7Q_xT25.d.ts +2417 -0
  141. package/dist/email-template.d-gtQkdaXM.d.cts +1188 -0
  142. package/dist/email-template.d-gtQkdaXM.d.ts +1188 -0
  143. package/dist/entity-mapping.d-DKSW3sfy.d.cts +1092 -0
  144. package/dist/entity-mapping.d-DKSW3sfy.d.ts +1092 -0
  145. package/dist/entity.d-BHR9dEon.d.cts +18479 -0
  146. package/dist/entity.d-BHR9dEon.d.ts +18479 -0
  147. package/dist/environments.d-BvqvN-PD.d.cts +382 -0
  148. package/dist/environments.d-BvqvN-PD.d.ts +382 -0
  149. package/dist/event-catalog.d-ENw6HO-w.d.cts +1511 -0
  150. package/dist/event-catalog.d-ENw6HO-w.d.ts +1511 -0
  151. package/dist/file.d-DcTJxjp7.d.cts +2992 -0
  152. package/dist/file.d-DcTJxjp7.d.ts +2992 -0
  153. package/dist/iban.d-BwdiGbxi.d.cts +70 -0
  154. package/dist/iban.d-BwdiGbxi.d.ts +70 -0
  155. package/dist/index.d.cts +182 -0
  156. package/dist/index.d.ts +182 -12
  157. package/dist/integration-toolkit.d-Ry-KC9ow.d.cts +5796 -0
  158. package/dist/integration-toolkit.d-Ry-KC9ow.d.ts +5796 -0
  159. package/dist/journey.d-ClXO0xK8.d.cts +1931 -0
  160. package/dist/journey.d-ClXO0xK8.d.ts +1931 -0
  161. package/dist/kanban.d-BHnSRCYW.d.cts +760 -0
  162. package/dist/kanban.d-BHnSRCYW.d.ts +760 -0
  163. package/dist/message.d-B5UuSqgw.d.cts +3811 -0
  164. package/dist/message.d-B5UuSqgw.d.ts +3811 -0
  165. package/dist/metering.d-DvtPv7wk.d.cts +1841 -0
  166. package/dist/metering.d-DvtPv7wk.d.ts +1841 -0
  167. package/dist/notes.d-BC-scR42.d.cts +1046 -0
  168. package/dist/notes.d-BC-scR42.d.ts +1046 -0
  169. package/dist/notification.d-BfBL3lga.d.cts +1147 -0
  170. package/dist/notification.d-BfBL3lga.d.ts +1147 -0
  171. package/dist/organization.d-DqwnNxMg.d.cts +1271 -0
  172. package/dist/organization.d-DqwnNxMg.d.ts +1271 -0
  173. package/dist/partner-directory.d-BCIjHoGs.d.cts +2337 -0
  174. package/dist/partner-directory.d-BCIjHoGs.d.ts +2337 -0
  175. package/dist/permissions.d-l6AT8SYP.d.cts +1279 -0
  176. package/dist/permissions.d-l6AT8SYP.d.ts +1279 -0
  177. package/dist/pricing-tier.d-Cg0jl6n_.d.cts +81 -0
  178. package/dist/pricing-tier.d-Cg0jl6n_.d.ts +81 -0
  179. package/dist/pricing.d-BHpMU4KU.d.cts +12255 -0
  180. package/dist/pricing.d-BHpMU4KU.d.ts +12255 -0
  181. package/dist/purpose.d-CbIYfTua.d.cts +372 -0
  182. package/dist/purpose.d-CbIYfTua.d.ts +372 -0
  183. package/dist/query.d-Cmp78IhZ.d.cts +2375 -0
  184. package/dist/query.d-Cmp78IhZ.d.ts +2375 -0
  185. package/dist/sandbox.d-BdbOFzDu.d.cts +465 -0
  186. package/dist/sandbox.d-BdbOFzDu.d.ts +465 -0
  187. package/dist/sharing.d-sOXq-gtz.d.cts +571 -0
  188. package/dist/sharing.d-sOXq-gtz.d.ts +571 -0
  189. package/dist/submission.d-BamwfhXw.d.cts +469 -0
  190. package/dist/submission.d-BamwfhXw.d.ts +469 -0
  191. package/dist/targeting.d-BNmcVsNS.d.cts +2057 -0
  192. package/dist/targeting.d-BNmcVsNS.d.ts +2057 -0
  193. package/dist/template-variables.d-Ble9TSBa.d.cts +1320 -0
  194. package/dist/template-variables.d-Ble9TSBa.d.ts +1320 -0
  195. package/dist/types-ChU9Acbv.d.cts +37 -0
  196. package/dist/types-ChU9Acbv.d.ts +37 -0
  197. package/dist/user.d-D18fe97W.d.cts +2270 -0
  198. package/dist/user.d-D18fe97W.d.ts +2270 -0
  199. package/dist/validation-rules.d-Db5c5zTf.d.cts +807 -0
  200. package/dist/validation-rules.d-Db5c5zTf.d.ts +807 -0
  201. package/dist/webhooks.d-pLHIL_io.d.cts +1256 -0
  202. package/dist/webhooks.d-pLHIL_io.d.ts +1256 -0
  203. package/dist/workflow-definition.d-DOeb0KVV.d.cts +1922 -0
  204. package/dist/workflow-definition.d-DOeb0KVV.d.ts +1922 -0
  205. package/dist/workflow.d-CMSKt8oN.d.cts +3151 -0
  206. package/dist/workflow.d-CMSKt8oN.d.ts +3151 -0
  207. package/package.json +1 -1
  208. package/dist/apis/_registry.d.ts +0 -8
  209. package/dist/authorize.d.ts +0 -3
  210. package/dist/bin/cli.d.ts +0 -1
  211. package/dist/client-factory.d.ts +0 -9
  212. package/dist/client-map.d.ts +0 -102
  213. package/dist/compact.d.ts +0 -22
  214. package/dist/help.d.ts +0 -12
  215. package/dist/large-response.d.ts +0 -9
  216. package/dist/openapi.d.ts +0 -12
  217. package/dist/overrides.d.ts +0 -9
  218. package/dist/proxy.d.ts +0 -14
  219. package/dist/registry.d.ts +0 -19
  220. package/dist/retry.d.ts +0 -11
  221. package/dist/sdk.d.ts +0 -29
  222. package/dist/types.d.ts +0 -53
@@ -0,0 +1,1046 @@
1
+ import { OpenAPIClient, Parameters, UnknownParamsObject, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
2
+
3
+ /* Auto-copied from notes-client */
4
+ /* eslint-disable */
5
+
6
+
7
+
8
+ declare namespace Components {
9
+ namespace Schemas {
10
+ export type ContextType = "workflow_execution" | "workflow_task" | "workflow_configuration" | "journey_configuration" | "entity";
11
+ export type CreatedByType = "user" | "group";
12
+ /**
13
+ * Base Entity schema
14
+ */
15
+ export interface Entity {
16
+ /**
17
+ * Entity ID of the Note entry
18
+ */
19
+ _id: string;
20
+ /**
21
+ * ID of the Organization that owns this Note
22
+ */
23
+ _org?: string;
24
+ /**
25
+ * The Entity schema of this Note
26
+ */
27
+ _schema?: string;
28
+ /**
29
+ * The timestamp of when this Note was created
30
+ */
31
+ _created_at?: string; // date-time
32
+ /**
33
+ * The timestamp of when this Note was last updated
34
+ */
35
+ _updated_at?: string; // date-time
36
+ /**
37
+ * The Entity ID of the User that created this Note
38
+ */
39
+ _created_by?: /* The Entity ID of the User that created this Note */ string | number;
40
+ /**
41
+ * Tags associated with this Note
42
+ */
43
+ _tags?: string[];
44
+ /**
45
+ * Access Control List for this Note entry
46
+ */
47
+ _acl?: {
48
+ [name: string]: string[];
49
+ };
50
+ _owners?: {
51
+ org_id: string;
52
+ user_id: string;
53
+ }[];
54
+ /**
55
+ * Entity ID of the Note entry
56
+ */
57
+ type?: string;
58
+ }
59
+ /**
60
+ * A note Entity object cotaining Entity metadata and content. Relational attributes are not hydrated in place.
61
+ */
62
+ export interface NonHydratedNoteEntity {
63
+ /**
64
+ * Entity ID of the Note entry
65
+ */
66
+ _id: string;
67
+ /**
68
+ * ID of the Organization that owns this Note
69
+ */
70
+ _org?: string;
71
+ /**
72
+ * The Entity schema of this Note
73
+ */
74
+ _schema?: string;
75
+ /**
76
+ * The timestamp of when this Note was created
77
+ */
78
+ _created_at?: string; // date-time
79
+ /**
80
+ * The timestamp of when this Note was last updated
81
+ */
82
+ _updated_at?: string; // date-time
83
+ /**
84
+ * The Entity ID of the User that created this Note
85
+ */
86
+ _created_by?: /* The Entity ID of the User that created this Note */ string | number;
87
+ /**
88
+ * Tags associated with this Note
89
+ */
90
+ _tags?: string[];
91
+ /**
92
+ * Access Control List for this Note entry
93
+ */
94
+ _acl?: {
95
+ [name: string]: string[];
96
+ };
97
+ _owners?: {
98
+ org_id: string;
99
+ user_id: string;
100
+ }[];
101
+ /**
102
+ * Entity ID of the Note entry
103
+ */
104
+ type?: string;
105
+ context_entities: {
106
+ $relation: {
107
+ entity_id: string;
108
+ }[];
109
+ };
110
+ parent?: /* The Note's parent Note */ NoteEntityParent;
111
+ /**
112
+ * The Note's parent Note
113
+ */
114
+ attachments?: {
115
+ $relation?: {
116
+ entity_id: string;
117
+ }[];
118
+ };
119
+ comments?: /* A note Entity object cotaining Entity metadata and content. Relational attributes are not hydrated in place. */ NonHydratedNoteEntity[];
120
+ /**
121
+ * The content of the Note
122
+ */
123
+ content?: string;
124
+ contexts?: {
125
+ type: ContextType;
126
+ id: string;
127
+ }[];
128
+ /**
129
+ * The timestamp of when this Note was pinned
130
+ */
131
+ pinned_at?: string; // date-time
132
+ created_by?: {
133
+ type: "user" | "group";
134
+ user_id?: string;
135
+ display_name?: string;
136
+ org_id?: string;
137
+ email?: string;
138
+ phone?: string;
139
+ };
140
+ /**
141
+ * List of user IDs who have read this note
142
+ */
143
+ read_by?: string[];
144
+ /**
145
+ * Reactions to the note, keyed by reaction type, with an array of user IDs for each type
146
+ */
147
+ reactions?: {
148
+ [name: string]: string[];
149
+ };
150
+ }
151
+ /**
152
+ * List of resolved Entity and non-Entity contexts attached to a given Note.
153
+ */
154
+ export interface NoteContexts {
155
+ type: ContextType;
156
+ context: /* Base Entity schema */ Entity | /* Base metadata for a Workflow Execution. This is a lightweight representation of a Workflow Execution, and does not contain all it's data */ WorkflowExecution;
157
+ }
158
+ /**
159
+ * A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place.
160
+ */
161
+ export interface NoteEntity {
162
+ /**
163
+ * Entity ID of the Note entry
164
+ */
165
+ _id: string;
166
+ /**
167
+ * ID of the Organization that owns this Note
168
+ */
169
+ _org?: string;
170
+ /**
171
+ * The Entity schema of this Note
172
+ */
173
+ _schema?: string;
174
+ /**
175
+ * The timestamp of when this Note was created
176
+ */
177
+ _created_at?: string; // date-time
178
+ /**
179
+ * The timestamp of when this Note was last updated
180
+ */
181
+ _updated_at?: string; // date-time
182
+ /**
183
+ * The Entity ID of the User that created this Note
184
+ */
185
+ _created_by?: /* The Entity ID of the User that created this Note */ string | number;
186
+ /**
187
+ * Tags associated with this Note
188
+ */
189
+ _tags?: string[];
190
+ /**
191
+ * Access Control List for this Note entry
192
+ */
193
+ _acl?: {
194
+ [name: string]: string[];
195
+ };
196
+ _owners?: {
197
+ org_id: string;
198
+ user_id: string;
199
+ }[];
200
+ /**
201
+ * Entity ID of the Note entry
202
+ */
203
+ type?: string;
204
+ context_entities?: /* Base Entity schema */ Entity[];
205
+ parent?: /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ NoteEntity[];
206
+ attachments?: /* Base Entity schema */ Entity[];
207
+ comments?: /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ NoteEntity[];
208
+ /**
209
+ * The content of the Note
210
+ */
211
+ content?: string;
212
+ contexts?: {
213
+ type: ContextType;
214
+ id: string;
215
+ }[];
216
+ /**
217
+ * The timestamp of when this Note was pinned
218
+ */
219
+ pinned_at?: string; // date-time
220
+ /**
221
+ * The timestamp of when this Note was last updated
222
+ */
223
+ edited_at?: string; // date-time
224
+ created_by?: {
225
+ type: CreatedByType;
226
+ user_id?: string;
227
+ display_name?: string;
228
+ org_id?: string;
229
+ email?: string;
230
+ phone?: string;
231
+ };
232
+ /**
233
+ * List of user IDs who have read this note
234
+ */
235
+ read_by?: string[];
236
+ /**
237
+ * Reactions to the note, keyed by reaction type, with an array of user IDs for each type
238
+ */
239
+ reactions?: {
240
+ [name: string]: string[];
241
+ };
242
+ }
243
+ /**
244
+ * The Note's parent Note
245
+ */
246
+ export interface NoteEntityParent {
247
+ $relation?: {
248
+ entity_id: string;
249
+ }[];
250
+ }
251
+ /**
252
+ * Base Entity schema
253
+ */
254
+ export interface NoteGetRequestResponse {
255
+ /**
256
+ * Entity ID of the Note entry
257
+ */
258
+ _id: string;
259
+ /**
260
+ * ID of the Organization that owns this Note
261
+ */
262
+ _org?: string;
263
+ /**
264
+ * The Entity schema of this Note
265
+ */
266
+ _schema?: string;
267
+ /**
268
+ * The timestamp of when this Note was created
269
+ */
270
+ _created_at?: string; // date-time
271
+ /**
272
+ * The timestamp of when this Note was last updated
273
+ */
274
+ _updated_at?: string; // date-time
275
+ /**
276
+ * The Entity ID of the User that created this Note
277
+ */
278
+ _created_by?: /* The Entity ID of the User that created this Note */ string | number;
279
+ /**
280
+ * Tags associated with this Note
281
+ */
282
+ _tags?: string[];
283
+ /**
284
+ * Access Control List for this Note entry
285
+ */
286
+ _acl?: {
287
+ [name: string]: string[];
288
+ };
289
+ _owners?: {
290
+ org_id: string;
291
+ user_id: string;
292
+ }[];
293
+ /**
294
+ * Entity ID of the Note entry
295
+ */
296
+ type?: string;
297
+ context_entities?: /* Base Entity schema */ Entity[];
298
+ parent?: /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ NoteEntity[];
299
+ attachments?: /* Base Entity schema */ Entity[];
300
+ comments?: /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ NoteEntity[];
301
+ /**
302
+ * The content of the Note
303
+ */
304
+ content?: string;
305
+ contexts?: {
306
+ type: ContextType;
307
+ id: string;
308
+ }[];
309
+ /**
310
+ * The timestamp of when this Note was pinned
311
+ */
312
+ pinned_at?: string; // date-time
313
+ /**
314
+ * The timestamp of when this Note was last updated
315
+ */
316
+ edited_at?: string; // date-time
317
+ created_by?: {
318
+ type: CreatedByType;
319
+ user_id?: string;
320
+ display_name?: string;
321
+ org_id?: string;
322
+ email?: string;
323
+ phone?: string;
324
+ };
325
+ /**
326
+ * List of user IDs who have read this note
327
+ */
328
+ read_by?: string[];
329
+ /**
330
+ * Reactions to the note, keyed by reaction type, with an array of user IDs for each type
331
+ */
332
+ reactions?: {
333
+ [name: string]: string[];
334
+ };
335
+ }
336
+ export interface NotePatchRequestBody {
337
+ /**
338
+ * Tags associated with this Note
339
+ */
340
+ _tags?: string[];
341
+ /**
342
+ * Entity ID of the Note entry
343
+ */
344
+ type?: string;
345
+ /**
346
+ * The Note's parent Note
347
+ */
348
+ attachments?: {
349
+ $relation?: {
350
+ entity_id: string;
351
+ }[];
352
+ };
353
+ comments?: /* A note Entity object cotaining Entity metadata and content. Relational attributes are not hydrated in place. */ NonHydratedNoteEntity[];
354
+ /**
355
+ * The content of the Note
356
+ */
357
+ content?: string;
358
+ contexts?: {
359
+ type: ContextType;
360
+ id: string;
361
+ }[];
362
+ /**
363
+ * The timestamp of when this Note was pinned
364
+ */
365
+ pinned_at?: string; // date-time
366
+ created_by?: {
367
+ type: "user" | "group";
368
+ user_id?: string;
369
+ display_name?: string;
370
+ org_id?: string;
371
+ email?: string;
372
+ phone?: string;
373
+ };
374
+ /**
375
+ * List of user IDs who have read this note
376
+ */
377
+ read_by?: string[];
378
+ /**
379
+ * Reactions to the note, keyed by reaction type, with an array of user IDs for each type
380
+ */
381
+ reactions?: {
382
+ [name: string]: string[];
383
+ };
384
+ }
385
+ export interface NotePostRequestBody {
386
+ /**
387
+ * Tags associated with this Note
388
+ */
389
+ _tags?: string[];
390
+ /**
391
+ * Entity ID of the Note entry
392
+ */
393
+ type?: string;
394
+ /**
395
+ * The Entity ID of the Entity this Note will be related to. This option has been deprecated since 2.1.0. Please use `contexts` instead.
396
+ */
397
+ entity_id?: string;
398
+ /**
399
+ * The Entity ID of the Note's parent Note. If supplied, the Note will be a comment to the parent Note. Be aware that Notes can only have comments one level deep
400
+ */
401
+ parent_id?: string;
402
+ /**
403
+ * The contexts to which this Note will be related to
404
+ */
405
+ contexts?: {
406
+ type: ContextType;
407
+ id: string;
408
+ }[];
409
+ /**
410
+ * Any additional non-entity contexts to which this Note will be related to. This option has been deprecated since 2.1.0. Please use `contexts` instead.
411
+ */
412
+ additional_contexts?: {
413
+ type: ContextType;
414
+ id: string;
415
+ }[];
416
+ /**
417
+ * The content of the Note
418
+ */
419
+ content?: string;
420
+ /**
421
+ * List of File Entity IDs attached to the Note
422
+ */
423
+ attachments?: string[];
424
+ /**
425
+ * List of user IDs who have read this note
426
+ */
427
+ read_by?: string[];
428
+ }
429
+ export interface NotePutRequestBody {
430
+ /**
431
+ * Entity ID of the Note entry
432
+ */
433
+ _id?: string;
434
+ /**
435
+ * ID of the Organization that owns this Note
436
+ */
437
+ _org?: string;
438
+ /**
439
+ * The Entity schema of this Note
440
+ */
441
+ _schema?: string;
442
+ /**
443
+ * The timestamp of when this Note was created
444
+ */
445
+ _created_at?: string; // date-time
446
+ /**
447
+ * The timestamp of when this Note was last updated
448
+ */
449
+ _updated_at?: string; // date-time
450
+ /**
451
+ * The Entity ID of the User that created this Note
452
+ */
453
+ _created_by?: /* The Entity ID of the User that created this Note */ string | number;
454
+ /**
455
+ * Tags associated with this Note
456
+ */
457
+ _tags?: string[];
458
+ /**
459
+ * Access Control List for this Note entry
460
+ */
461
+ _acl?: {
462
+ [name: string]: string[];
463
+ };
464
+ _owners?: {
465
+ org_id: string;
466
+ user_id: string;
467
+ }[];
468
+ /**
469
+ * Entity ID of the Note entry
470
+ */
471
+ type?: string;
472
+ context_entities?: {
473
+ $relation: {
474
+ entity_id: string;
475
+ }[];
476
+ };
477
+ parent?: /* The Note's parent Note */ NoteEntityParent;
478
+ /**
479
+ * The Note's parent Note
480
+ */
481
+ attachments?: {
482
+ $relation?: {
483
+ entity_id: string;
484
+ }[];
485
+ };
486
+ /**
487
+ * The content of the Note
488
+ */
489
+ content?: string;
490
+ contexts?: {
491
+ type: ContextType;
492
+ id: string;
493
+ }[];
494
+ /**
495
+ * The timestamp of when this Note was pinned
496
+ */
497
+ pinned_at?: string; // date-time
498
+ created_by?: {
499
+ type: "user" | "group";
500
+ user_id?: string;
501
+ display_name?: string;
502
+ org_id?: string;
503
+ email?: string;
504
+ phone?: string;
505
+ };
506
+ /**
507
+ * List of user IDs who have read this note
508
+ */
509
+ read_by?: string[];
510
+ /**
511
+ * Reactions to the note, keyed by reaction type, with an array of user IDs for each type
512
+ */
513
+ reactions?: {
514
+ [name: string]: string[];
515
+ };
516
+ }
517
+ export interface NoteSearchByContextRequestBody {
518
+ contexts: {
519
+ type: ContextType;
520
+ id: string;
521
+ }[];
522
+ /**
523
+ * The index of the first Note to return in this query
524
+ */
525
+ from?: number;
526
+ /**
527
+ * The number of Note entries to return in this query
528
+ */
529
+ size?: number;
530
+ }
531
+ export interface NotesSearchRequestResponse {
532
+ /**
533
+ * The number of Note entries returned in this query
534
+ */
535
+ hits?: number;
536
+ /**
537
+ * The Note entries returned in this query
538
+ */
539
+ results: /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ NoteEntity[];
540
+ }
541
+ export interface ReactionRequest {
542
+ /**
543
+ * The emoji identifier (e.g., 'thumbs-up', 'heart', 'thinking-face')
544
+ * example:
545
+ * thumbs-up
546
+ */
547
+ emoji: string;
548
+ }
549
+ export interface ToggleReactionsRequest {
550
+ /**
551
+ * Array of emoji identifiers to toggle (e.g., ['thumbs-up', 'heart', 'thinking-face'])
552
+ * example:
553
+ * [
554
+ * "thumbs-up",
555
+ * "heart"
556
+ * ]
557
+ */
558
+ emojis: string[];
559
+ }
560
+ /**
561
+ * Base metadata for a Workflow Execution. This is a lightweight representation of a Workflow Execution, and does not contain all it's data
562
+ */
563
+ export interface WorkflowExecution {
564
+ id: string;
565
+ definitionId: string;
566
+ orgId: string;
567
+ name: string;
568
+ }
569
+ }
570
+ }
571
+ declare namespace Paths {
572
+ namespace AddNoteReaction {
573
+ namespace Parameters {
574
+ /**
575
+ * The Entity ID of the Note entry to add reaction to
576
+ */
577
+ export type Id = string;
578
+ }
579
+ export interface PathParameters {
580
+ id: /* The Entity ID of the Note entry to add reaction to */ Parameters.Id;
581
+ }
582
+ export type RequestBody = Components.Schemas.ReactionRequest;
583
+ namespace Responses {
584
+ export type $200 = /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ Components.Schemas.NoteEntity;
585
+ }
586
+ }
587
+ namespace CreateNote {
588
+ export type RequestBody = Components.Schemas.NotePostRequestBody;
589
+ namespace Responses {
590
+ export type $200 = /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ Components.Schemas.NoteEntity;
591
+ }
592
+ }
593
+ namespace DeleteNote {
594
+ namespace Parameters {
595
+ /**
596
+ * The Entity ID of the Note entry to delete
597
+ */
598
+ export type Id = string;
599
+ }
600
+ export interface PathParameters {
601
+ id: /* The Entity ID of the Note entry to delete */ Parameters.Id;
602
+ }
603
+ namespace Responses {
604
+ export interface $200 {
605
+ }
606
+ }
607
+ }
608
+ namespace GetNote {
609
+ namespace Parameters {
610
+ /**
611
+ * Whether to hydrate the Note's relation attributes
612
+ */
613
+ export type Hydrate = boolean;
614
+ /**
615
+ * The Entity ID of the Note entry to retrieve
616
+ */
617
+ export type Id = string;
618
+ }
619
+ export interface PathParameters {
620
+ id: /* The Entity ID of the Note entry to retrieve */ Parameters.Id;
621
+ }
622
+ export interface QueryParameters {
623
+ hydrate?: /* Whether to hydrate the Note's relation attributes */ Parameters.Hydrate;
624
+ }
625
+ namespace Responses {
626
+ export type $200 = /* Base Entity schema */ Components.Schemas.NoteGetRequestResponse;
627
+ }
628
+ }
629
+ namespace GetNoteContexts {
630
+ namespace Parameters {
631
+ /**
632
+ * The Entity ID of the Note entry to get contexts for
633
+ */
634
+ export type Id = string;
635
+ }
636
+ export interface PathParameters {
637
+ id: /* The Entity ID of the Note entry to get contexts for */ Parameters.Id;
638
+ }
639
+ namespace Responses {
640
+ export type $200 = /* List of resolved Entity and non-Entity contexts attached to a given Note. */ Components.Schemas.NoteContexts[];
641
+ }
642
+ }
643
+ namespace GetNotesByContext {
644
+ namespace Parameters {
645
+ export type Contexts = {
646
+ type: Components.Schemas.ContextType;
647
+ id: string;
648
+ }[];
649
+ /**
650
+ * The ID of the Contextual Entity from where to retrieve Notes
651
+ */
652
+ export type EntityId = string;
653
+ /**
654
+ * The index of the first Note to return in this query
655
+ */
656
+ export type From = number;
657
+ /**
658
+ * The number of Note entries to return in this query
659
+ */
660
+ export type Size = number;
661
+ }
662
+ export interface PathParameters {
663
+ entity_id: /* The ID of the Contextual Entity from where to retrieve Notes */ Parameters.EntityId;
664
+ }
665
+ export interface QueryParameters {
666
+ contexts?: Parameters.Contexts;
667
+ from?: /* The index of the first Note to return in this query */ Parameters.From;
668
+ size?: /* The number of Note entries to return in this query */ Parameters.Size;
669
+ }
670
+ namespace Responses {
671
+ export type $200 = Components.Schemas.NotesSearchRequestResponse;
672
+ }
673
+ }
674
+ namespace PatchNote {
675
+ namespace Parameters {
676
+ /**
677
+ * The Entity ID of the Note entry to update
678
+ */
679
+ export type Id = string;
680
+ }
681
+ export interface PathParameters {
682
+ id: /* The Entity ID of the Note entry to update */ Parameters.Id;
683
+ }
684
+ export type RequestBody = Components.Schemas.NotePatchRequestBody;
685
+ namespace Responses {
686
+ export type $200 = /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ Components.Schemas.NoteEntity;
687
+ }
688
+ }
689
+ namespace PinNote {
690
+ namespace Parameters {
691
+ /**
692
+ * The Entity ID of the Note entry to pin
693
+ */
694
+ export type Id = string;
695
+ }
696
+ export interface PathParameters {
697
+ id: /* The Entity ID of the Note entry to pin */ Parameters.Id;
698
+ }
699
+ namespace Responses {
700
+ export interface $200 {
701
+ }
702
+ }
703
+ }
704
+ namespace RemoveNoteReaction {
705
+ namespace Parameters {
706
+ /**
707
+ * The emoji to remove from the note
708
+ */
709
+ export type EmojiShortcode = string;
710
+ /**
711
+ * The Entity ID of the Note entry to remove reaction from
712
+ */
713
+ export type Id = string;
714
+ }
715
+ export interface PathParameters {
716
+ id: /* The Entity ID of the Note entry to remove reaction from */ Parameters.Id;
717
+ emoji_shortcode: /* The emoji to remove from the note */ Parameters.EmojiShortcode;
718
+ }
719
+ namespace Responses {
720
+ export type $200 = /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ Components.Schemas.NoteEntity;
721
+ }
722
+ }
723
+ namespace SearchNotesByContext {
724
+ export type RequestBody = Components.Schemas.NoteSearchByContextRequestBody;
725
+ namespace Responses {
726
+ export type $200 = Components.Schemas.NotesSearchRequestResponse;
727
+ }
728
+ }
729
+ namespace ToggleNoteReactions {
730
+ namespace Parameters {
731
+ /**
732
+ * The Entity ID of the Note entry to toggle reactions on
733
+ */
734
+ export type Id = string;
735
+ }
736
+ export interface PathParameters {
737
+ id: /* The Entity ID of the Note entry to toggle reactions on */ Parameters.Id;
738
+ }
739
+ export type RequestBody = Components.Schemas.ToggleReactionsRequest;
740
+ namespace Responses {
741
+ export type $200 = /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ Components.Schemas.NoteEntity;
742
+ }
743
+ }
744
+ namespace UpdateNote {
745
+ namespace Parameters {
746
+ /**
747
+ * The Entity ID of the Note entry to update
748
+ */
749
+ export type Id = string;
750
+ }
751
+ export interface PathParameters {
752
+ id: /* The Entity ID of the Note entry to update */ Parameters.Id;
753
+ }
754
+ export type RequestBody = Components.Schemas.NotePutRequestBody;
755
+ namespace Responses {
756
+ export type $200 = /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ Components.Schemas.NoteEntity;
757
+ }
758
+ }
759
+ }
760
+
761
+ interface OperationMethods {
762
+ /**
763
+ * createNote - createNote
764
+ *
765
+ * Creates a new Note entry
766
+ */
767
+ 'createNote'(
768
+ parameters?: Parameters<UnknownParamsObject> | null,
769
+ data?: Paths.CreateNote.RequestBody,
770
+ config?: AxiosRequestConfig
771
+ ): OperationResponse<Paths.CreateNote.Responses.$200>
772
+ /**
773
+ * getNote - getNote
774
+ *
775
+ * Retrieves a single Note entry based on it's Entity ID
776
+ */
777
+ 'getNote'(
778
+ parameters?: Parameters<Paths.GetNote.QueryParameters & Paths.GetNote.PathParameters> | null,
779
+ data?: any,
780
+ config?: AxiosRequestConfig
781
+ ): OperationResponse<Paths.GetNote.Responses.$200>
782
+ /**
783
+ * updateNote - updateNote
784
+ *
785
+ * Updates an existing Note entry
786
+ */
787
+ 'updateNote'(
788
+ parameters?: Parameters<Paths.UpdateNote.PathParameters> | null,
789
+ data?: Paths.UpdateNote.RequestBody,
790
+ config?: AxiosRequestConfig
791
+ ): OperationResponse<Paths.UpdateNote.Responses.$200>
792
+ /**
793
+ * patchNote - patchNote
794
+ *
795
+ * Updates an existing Note entry
796
+ */
797
+ 'patchNote'(
798
+ parameters?: Parameters<Paths.PatchNote.PathParameters> | null,
799
+ data?: Paths.PatchNote.RequestBody,
800
+ config?: AxiosRequestConfig
801
+ ): OperationResponse<Paths.PatchNote.Responses.$200>
802
+ /**
803
+ * deleteNote - deleteNote
804
+ *
805
+ * Deletes a single Note entry based on it's Entity ID
806
+ */
807
+ 'deleteNote'(
808
+ parameters?: Parameters<Paths.DeleteNote.PathParameters> | null,
809
+ data?: any,
810
+ config?: AxiosRequestConfig
811
+ ): OperationResponse<Paths.DeleteNote.Responses.$200>
812
+ /**
813
+ * searchNotesByContext - searchNotesByContext
814
+ *
815
+ * Search for a paginated list of Notes based on one or more contexts
816
+ */
817
+ 'searchNotesByContext'(
818
+ parameters?: Parameters<UnknownParamsObject> | null,
819
+ data?: Paths.SearchNotesByContext.RequestBody,
820
+ config?: AxiosRequestConfig
821
+ ): OperationResponse<Paths.SearchNotesByContext.Responses.$200>
822
+ /**
823
+ * getNotesByContext - getNotesByContext
824
+ *
825
+ * Given a `context_type`, returns a list of Notes that belong to that context within the specified `id`.
826
+ * This endpoint is deprecated but will be kept for backwards compatibility. Please use the `searchNotesByContext` endpoint instead.
827
+ */
828
+ 'getNotesByContext'(
829
+ parameters?: Parameters<Paths.GetNotesByContext.QueryParameters & Paths.GetNotesByContext.PathParameters> | null,
830
+ data?: any,
831
+ config?: AxiosRequestConfig
832
+ ): OperationResponse<Paths.GetNotesByContext.Responses.$200>
833
+ /**
834
+ * pinNote - pinNote
835
+ *
836
+ * Pins a single Note entry based on it's Entity ID
837
+ */
838
+ 'pinNote'(
839
+ parameters?: Parameters<Paths.PinNote.PathParameters> | null,
840
+ data?: any,
841
+ config?: AxiosRequestConfig
842
+ ): OperationResponse<Paths.PinNote.Responses.$200>
843
+ /**
844
+ * getNoteContexts - getNoteContexts
845
+ *
846
+ * Gets all the Entity and non-Entity records the Note is contextually attached to
847
+ */
848
+ 'getNoteContexts'(
849
+ parameters?: Parameters<Paths.GetNoteContexts.PathParameters> | null,
850
+ data?: any,
851
+ config?: AxiosRequestConfig
852
+ ): OperationResponse<Paths.GetNoteContexts.Responses.$200>
853
+ /**
854
+ * addNoteReaction - addNoteReaction
855
+ *
856
+ * Adds an emoji reaction to a note
857
+ */
858
+ 'addNoteReaction'(
859
+ parameters?: Parameters<Paths.AddNoteReaction.PathParameters> | null,
860
+ data?: Paths.AddNoteReaction.RequestBody,
861
+ config?: AxiosRequestConfig
862
+ ): OperationResponse<Paths.AddNoteReaction.Responses.$200>
863
+ /**
864
+ * removeNoteReaction - removeNoteReaction
865
+ *
866
+ * Removes an emoji reaction from a note
867
+ */
868
+ 'removeNoteReaction'(
869
+ parameters?: Parameters<Paths.RemoveNoteReaction.PathParameters> | null,
870
+ data?: any,
871
+ config?: AxiosRequestConfig
872
+ ): OperationResponse<Paths.RemoveNoteReaction.Responses.$200>
873
+ /**
874
+ * toggleNoteReactions - toggleNoteReactions
875
+ *
876
+ * Toggles multiple emoji reactions on a note. If a user has already reacted with an emoji, it removes the reaction. If a user hasn't reacted with an emoji, it adds the reaction.
877
+ */
878
+ 'toggleNoteReactions'(
879
+ parameters?: Parameters<Paths.ToggleNoteReactions.PathParameters> | null,
880
+ data?: Paths.ToggleNoteReactions.RequestBody,
881
+ config?: AxiosRequestConfig
882
+ ): OperationResponse<Paths.ToggleNoteReactions.Responses.$200>
883
+ }
884
+
885
+ interface PathsDictionary {
886
+ ['/v1/note']: {
887
+ /**
888
+ * createNote - createNote
889
+ *
890
+ * Creates a new Note entry
891
+ */
892
+ 'post'(
893
+ parameters?: Parameters<UnknownParamsObject> | null,
894
+ data?: Paths.CreateNote.RequestBody,
895
+ config?: AxiosRequestConfig
896
+ ): OperationResponse<Paths.CreateNote.Responses.$200>
897
+ }
898
+ ['/v1/note/{id}']: {
899
+ /**
900
+ * getNote - getNote
901
+ *
902
+ * Retrieves a single Note entry based on it's Entity ID
903
+ */
904
+ 'get'(
905
+ parameters?: Parameters<Paths.GetNote.QueryParameters & Paths.GetNote.PathParameters> | null,
906
+ data?: any,
907
+ config?: AxiosRequestConfig
908
+ ): OperationResponse<Paths.GetNote.Responses.$200>
909
+ /**
910
+ * patchNote - patchNote
911
+ *
912
+ * Updates an existing Note entry
913
+ */
914
+ 'patch'(
915
+ parameters?: Parameters<Paths.PatchNote.PathParameters> | null,
916
+ data?: Paths.PatchNote.RequestBody,
917
+ config?: AxiosRequestConfig
918
+ ): OperationResponse<Paths.PatchNote.Responses.$200>
919
+ /**
920
+ * updateNote - updateNote
921
+ *
922
+ * Updates an existing Note entry
923
+ */
924
+ 'put'(
925
+ parameters?: Parameters<Paths.UpdateNote.PathParameters> | null,
926
+ data?: Paths.UpdateNote.RequestBody,
927
+ config?: AxiosRequestConfig
928
+ ): OperationResponse<Paths.UpdateNote.Responses.$200>
929
+ /**
930
+ * deleteNote - deleteNote
931
+ *
932
+ * Deletes a single Note entry based on it's Entity ID
933
+ */
934
+ 'delete'(
935
+ parameters?: Parameters<Paths.DeleteNote.PathParameters> | null,
936
+ data?: any,
937
+ config?: AxiosRequestConfig
938
+ ): OperationResponse<Paths.DeleteNote.Responses.$200>
939
+ }
940
+ ['/v1/notes:search']: {
941
+ /**
942
+ * searchNotesByContext - searchNotesByContext
943
+ *
944
+ * Search for a paginated list of Notes based on one or more contexts
945
+ */
946
+ 'post'(
947
+ parameters?: Parameters<UnknownParamsObject> | null,
948
+ data?: Paths.SearchNotesByContext.RequestBody,
949
+ config?: AxiosRequestConfig
950
+ ): OperationResponse<Paths.SearchNotesByContext.Responses.$200>
951
+ }
952
+ ['/v1/notes/{entity_id}']: {
953
+ /**
954
+ * getNotesByContext - getNotesByContext
955
+ *
956
+ * Given a `context_type`, returns a list of Notes that belong to that context within the specified `id`.
957
+ * This endpoint is deprecated but will be kept for backwards compatibility. Please use the `searchNotesByContext` endpoint instead.
958
+ */
959
+ 'get'(
960
+ parameters?: Parameters<Paths.GetNotesByContext.QueryParameters & Paths.GetNotesByContext.PathParameters> | null,
961
+ data?: any,
962
+ config?: AxiosRequestConfig
963
+ ): OperationResponse<Paths.GetNotesByContext.Responses.$200>
964
+ }
965
+ ['/v1/note/{id}/pin']: {
966
+ /**
967
+ * pinNote - pinNote
968
+ *
969
+ * Pins a single Note entry based on it's Entity ID
970
+ */
971
+ 'post'(
972
+ parameters?: Parameters<Paths.PinNote.PathParameters> | null,
973
+ data?: any,
974
+ config?: AxiosRequestConfig
975
+ ): OperationResponse<Paths.PinNote.Responses.$200>
976
+ }
977
+ ['/v1/note/{id}/context']: {
978
+ /**
979
+ * getNoteContexts - getNoteContexts
980
+ *
981
+ * Gets all the Entity and non-Entity records the Note is contextually attached to
982
+ */
983
+ 'get'(
984
+ parameters?: Parameters<Paths.GetNoteContexts.PathParameters> | null,
985
+ data?: any,
986
+ config?: AxiosRequestConfig
987
+ ): OperationResponse<Paths.GetNoteContexts.Responses.$200>
988
+ }
989
+ ['/v1/note/{id}/reaction']: {
990
+ /**
991
+ * addNoteReaction - addNoteReaction
992
+ *
993
+ * Adds an emoji reaction to a note
994
+ */
995
+ 'post'(
996
+ parameters?: Parameters<Paths.AddNoteReaction.PathParameters> | null,
997
+ data?: Paths.AddNoteReaction.RequestBody,
998
+ config?: AxiosRequestConfig
999
+ ): OperationResponse<Paths.AddNoteReaction.Responses.$200>
1000
+ }
1001
+ ['/v1/note/{id}/reaction/{emoji_shortcode}']: {
1002
+ /**
1003
+ * removeNoteReaction - removeNoteReaction
1004
+ *
1005
+ * Removes an emoji reaction from a note
1006
+ */
1007
+ 'delete'(
1008
+ parameters?: Parameters<Paths.RemoveNoteReaction.PathParameters> | null,
1009
+ data?: any,
1010
+ config?: AxiosRequestConfig
1011
+ ): OperationResponse<Paths.RemoveNoteReaction.Responses.$200>
1012
+ }
1013
+ ['/v1/note/{id}/reactions/toggle']: {
1014
+ /**
1015
+ * toggleNoteReactions - toggleNoteReactions
1016
+ *
1017
+ * Toggles multiple emoji reactions on a note. If a user has already reacted with an emoji, it removes the reaction. If a user hasn't reacted with an emoji, it adds the reaction.
1018
+ */
1019
+ 'post'(
1020
+ parameters?: Parameters<Paths.ToggleNoteReactions.PathParameters> | null,
1021
+ data?: Paths.ToggleNoteReactions.RequestBody,
1022
+ config?: AxiosRequestConfig
1023
+ ): OperationResponse<Paths.ToggleNoteReactions.Responses.$200>
1024
+ }
1025
+ }
1026
+
1027
+ type Client = OpenAPIClient<OperationMethods, PathsDictionary>
1028
+
1029
+ type ContextType = Components.Schemas.ContextType;
1030
+ type CreatedByType = Components.Schemas.CreatedByType;
1031
+ type Entity = Components.Schemas.Entity;
1032
+ type NonHydratedNoteEntity = Components.Schemas.NonHydratedNoteEntity;
1033
+ type NoteContexts = Components.Schemas.NoteContexts;
1034
+ type NoteEntity = Components.Schemas.NoteEntity;
1035
+ type NoteEntityParent = Components.Schemas.NoteEntityParent;
1036
+ type NoteGetRequestResponse = Components.Schemas.NoteGetRequestResponse;
1037
+ type NotePatchRequestBody = Components.Schemas.NotePatchRequestBody;
1038
+ type NotePostRequestBody = Components.Schemas.NotePostRequestBody;
1039
+ type NotePutRequestBody = Components.Schemas.NotePutRequestBody;
1040
+ type NoteSearchByContextRequestBody = Components.Schemas.NoteSearchByContextRequestBody;
1041
+ type NotesSearchRequestResponse = Components.Schemas.NotesSearchRequestResponse;
1042
+ type ReactionRequest = Components.Schemas.ReactionRequest;
1043
+ type ToggleReactionsRequest = Components.Schemas.ToggleReactionsRequest;
1044
+ type WorkflowExecution = Components.Schemas.WorkflowExecution;
1045
+
1046
+ 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 };