@epilot/sdk 2.0.0-alpha.1 → 2.0.0-beta.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 (290) hide show
  1. package/README.md +123 -141
  2. package/dist/apis/access-token.cjs +90 -11
  3. package/dist/apis/access-token.d.cts +4 -4
  4. package/dist/apis/access-token.d.ts +4 -4
  5. package/dist/apis/access-token.js +86 -7
  6. package/dist/apis/address-suggestions.cjs +133 -11
  7. package/dist/apis/address-suggestions.d.cts +4 -4
  8. package/dist/apis/address-suggestions.d.ts +4 -4
  9. package/dist/apis/address-suggestions.js +129 -7
  10. package/dist/apis/address.cjs +85 -11
  11. package/dist/apis/address.d.cts +4 -4
  12. package/dist/apis/address.d.ts +4 -4
  13. package/dist/apis/address.js +81 -7
  14. package/dist/apis/ai-agents.cjs +216 -11
  15. package/dist/apis/ai-agents.d.cts +4 -4
  16. package/dist/apis/ai-agents.d.ts +4 -4
  17. package/dist/apis/ai-agents.js +212 -7
  18. package/dist/apis/app.cjs +574 -11
  19. package/dist/apis/app.d.cts +4 -4
  20. package/dist/apis/app.d.ts +4 -4
  21. package/dist/apis/app.js +570 -7
  22. package/dist/apis/audit-logs.cjs +56 -11
  23. package/dist/apis/audit-logs.d.cts +4 -4
  24. package/dist/apis/audit-logs.d.ts +4 -4
  25. package/dist/apis/audit-logs.js +52 -7
  26. package/dist/apis/automation.cjs +283 -11
  27. package/dist/apis/automation.d.cts +4 -4
  28. package/dist/apis/automation.d.ts +4 -4
  29. package/dist/apis/automation.js +279 -7
  30. package/dist/apis/billing.cjs +176 -11
  31. package/dist/apis/billing.d.cts +4 -4
  32. package/dist/apis/billing.d.ts +4 -4
  33. package/dist/apis/billing.js +172 -7
  34. package/dist/apis/blueprint-manifest.cjs +505 -11
  35. package/dist/apis/blueprint-manifest.d.cts +4 -4
  36. package/dist/apis/blueprint-manifest.d.ts +4 -4
  37. package/dist/apis/blueprint-manifest.js +501 -7
  38. package/dist/apis/consent.cjs +85 -11
  39. package/dist/apis/consent.d.cts +4 -4
  40. package/dist/apis/consent.d.ts +4 -4
  41. package/dist/apis/consent.js +81 -7
  42. package/dist/apis/customer-portal.cjs +2253 -11
  43. package/dist/apis/customer-portal.d.cts +4 -4
  44. package/dist/apis/customer-portal.d.ts +4 -4
  45. package/dist/apis/customer-portal.js +2249 -7
  46. package/dist/apis/data-management.cjs +241 -11
  47. package/dist/apis/data-management.d.cts +4 -4
  48. package/dist/apis/data-management.d.ts +4 -4
  49. package/dist/apis/data-management.js +237 -7
  50. package/dist/apis/deduplication.cjs +43 -11
  51. package/dist/apis/deduplication.d.cts +4 -4
  52. package/dist/apis/deduplication.d.ts +4 -4
  53. package/dist/apis/deduplication.js +39 -7
  54. package/dist/apis/design.cjs +220 -11
  55. package/dist/apis/design.d.cts +4 -4
  56. package/dist/apis/design.d.ts +4 -4
  57. package/dist/apis/design.js +216 -7
  58. package/dist/apis/document.cjs +79 -11
  59. package/dist/apis/document.d.cts +4 -4
  60. package/dist/apis/document.d.ts +4 -4
  61. package/dist/apis/document.js +75 -7
  62. package/dist/apis/email-settings.cjs +534 -11
  63. package/dist/apis/email-settings.d.cts +4 -4
  64. package/dist/apis/email-settings.d.ts +4 -4
  65. package/dist/apis/email-settings.js +530 -7
  66. package/dist/apis/email-template.cjs +123 -11
  67. package/dist/apis/email-template.d.cts +4 -4
  68. package/dist/apis/email-template.d.ts +4 -4
  69. package/dist/apis/email-template.js +119 -7
  70. package/dist/apis/entity-mapping.cjs +216 -11
  71. package/dist/apis/entity-mapping.d.cts +4 -4
  72. package/dist/apis/entity-mapping.d.ts +4 -4
  73. package/dist/apis/entity-mapping.js +212 -7
  74. package/dist/apis/entity.cjs +1601 -11
  75. package/dist/apis/entity.d.cts +4 -4
  76. package/dist/apis/entity.d.ts +4 -4
  77. package/dist/apis/entity.js +1597 -7
  78. package/dist/apis/environments.cjs +72 -11
  79. package/dist/apis/environments.d.cts +4 -4
  80. package/dist/apis/environments.d.ts +4 -4
  81. package/dist/apis/environments.js +68 -7
  82. package/dist/apis/erp-integration.cjs +587 -11
  83. package/dist/apis/erp-integration.d.cts +4 -4
  84. package/dist/apis/erp-integration.d.ts +4 -4
  85. package/dist/apis/erp-integration.js +583 -7
  86. package/dist/apis/event-catalog.cjs +131 -11
  87. package/dist/apis/event-catalog.d.cts +4 -4
  88. package/dist/apis/event-catalog.d.ts +4 -4
  89. package/dist/apis/event-catalog.js +127 -7
  90. package/dist/apis/file.cjs +574 -11
  91. package/dist/apis/file.d.cts +4 -4
  92. package/dist/apis/file.d.ts +4 -4
  93. package/dist/apis/file.js +570 -7
  94. package/dist/apis/iban.cjs +44 -11
  95. package/dist/apis/iban.d.cts +4 -4
  96. package/dist/apis/iban.d.ts +4 -4
  97. package/dist/apis/iban.js +40 -7
  98. package/dist/apis/journey.cjs +271 -11
  99. package/dist/apis/journey.d.cts +4 -4
  100. package/dist/apis/journey.d.ts +4 -4
  101. package/dist/apis/journey.js +267 -7
  102. package/dist/apis/kanban.cjs +165 -11
  103. package/dist/apis/kanban.d.cts +4 -4
  104. package/dist/apis/kanban.d.ts +4 -4
  105. package/dist/apis/kanban.js +161 -7
  106. package/dist/apis/message.cjs +674 -11
  107. package/dist/apis/message.d.cts +4 -4
  108. package/dist/apis/message.d.ts +4 -4
  109. package/dist/apis/message.js +670 -7
  110. package/dist/apis/metering.cjs +400 -11
  111. package/dist/apis/metering.d.cts +4 -4
  112. package/dist/apis/metering.d.ts +4 -4
  113. package/dist/apis/metering.js +396 -7
  114. package/dist/apis/notes.cjs +220 -11
  115. package/dist/apis/notes.d.cts +4 -4
  116. package/dist/apis/notes.d.ts +4 -4
  117. package/dist/apis/notes.js +216 -7
  118. package/dist/apis/notification.cjs +238 -11
  119. package/dist/apis/notification.d.cts +4 -4
  120. package/dist/apis/notification.d.ts +4 -4
  121. package/dist/apis/notification.js +234 -7
  122. package/dist/apis/organization.cjs +119 -11
  123. package/dist/apis/organization.d.cts +4 -4
  124. package/dist/apis/organization.d.ts +4 -4
  125. package/dist/apis/organization.js +115 -7
  126. package/dist/apis/partner-directory.cjs +283 -11
  127. package/dist/apis/partner-directory.d.cts +4 -4
  128. package/dist/apis/partner-directory.d.ts +4 -4
  129. package/dist/apis/partner-directory.js +279 -7
  130. package/dist/apis/permissions.cjs +179 -11
  131. package/dist/apis/permissions.d.cts +4 -4
  132. package/dist/apis/permissions.d.ts +4 -4
  133. package/dist/apis/permissions.js +175 -7
  134. package/dist/apis/pricing-tier.cjs +40 -14
  135. package/dist/apis/pricing-tier.d.cts +4 -4
  136. package/dist/apis/pricing-tier.d.ts +4 -4
  137. package/dist/apis/pricing-tier.js +33 -7
  138. package/dist/apis/pricing.cjs +440 -11
  139. package/dist/apis/pricing.d.cts +4 -4
  140. package/dist/apis/pricing.d.ts +4 -4
  141. package/dist/apis/pricing.js +436 -7
  142. package/dist/apis/purpose.cjs +181 -11
  143. package/dist/apis/purpose.d.cts +4 -4
  144. package/dist/apis/purpose.d.ts +4 -4
  145. package/dist/apis/purpose.js +177 -7
  146. package/dist/apis/sandbox.cjs +101 -11
  147. package/dist/apis/sandbox.d.cts +4 -4
  148. package/dist/apis/sandbox.d.ts +4 -4
  149. package/dist/apis/sandbox.js +97 -7
  150. package/dist/apis/submission.cjs +56 -11
  151. package/dist/apis/submission.d.cts +4 -4
  152. package/dist/apis/submission.d.ts +4 -4
  153. package/dist/apis/submission.js +52 -7
  154. package/dist/apis/targeting.cjs +276 -11
  155. package/dist/apis/targeting.d.cts +4 -4
  156. package/dist/apis/targeting.d.ts +4 -4
  157. package/dist/apis/targeting.js +272 -7
  158. package/dist/apis/template-variables.cjs +160 -11
  159. package/dist/apis/template-variables.d.cts +4 -4
  160. package/dist/apis/template-variables.d.ts +4 -4
  161. package/dist/apis/template-variables.js +156 -7
  162. package/dist/apis/user.cjs +489 -11
  163. package/dist/apis/user.d.cts +4 -4
  164. package/dist/apis/user.d.ts +4 -4
  165. package/dist/apis/user.js +485 -7
  166. package/dist/apis/validation-rules.cjs +121 -11
  167. package/dist/apis/validation-rules.d.cts +4 -4
  168. package/dist/apis/validation-rules.d.ts +4 -4
  169. package/dist/apis/validation-rules.js +117 -7
  170. package/dist/apis/webhooks.cjs +253 -11
  171. package/dist/apis/webhooks.d.cts +4 -4
  172. package/dist/apis/webhooks.d.ts +4 -4
  173. package/dist/apis/webhooks.js +249 -7
  174. package/dist/apis/workflow-definition.cjs +343 -11
  175. package/dist/apis/workflow-definition.d.cts +4 -4
  176. package/dist/apis/workflow-definition.d.ts +4 -4
  177. package/dist/apis/workflow-definition.js +339 -7
  178. package/dist/apis/workflow.cjs +403 -11
  179. package/dist/apis/workflow.d.cts +4 -4
  180. package/dist/apis/workflow.d.ts +4 -4
  181. package/dist/apis/workflow.js +399 -7
  182. package/dist/{chunk-YYLPAGF4.cjs → chunk-D7ICL3AM.cjs} +20 -9
  183. package/dist/{chunk-UCDXDIUX.js → chunk-DGCGLG7G.js} +18 -7
  184. package/dist/index.cjs +68 -220
  185. package/dist/index.d.cts +67 -69
  186. package/dist/index.d.ts +67 -69
  187. package/dist/index.js +66 -218
  188. package/dist/{types-C5cGIwtq.d.cts → types-BwBvJkY_.d.cts} +12 -6
  189. package/dist/{types-C5cGIwtq.d.ts → types-BwBvJkY_.d.ts} +12 -6
  190. package/package.json +3 -7
  191. package/dist/access-token-MYDOBCIY.cjs +0 -89
  192. package/dist/access-token-Y5JR7PRG.js +0 -89
  193. package/dist/address-3RQRG3MK.js +0 -84
  194. package/dist/address-LQUTDOUA.cjs +0 -84
  195. package/dist/address-suggestions-PEKSA7B2.cjs +0 -132
  196. package/dist/address-suggestions-QNK5JWNH.js +0 -132
  197. package/dist/ai-agents-MO4PK2RJ.cjs +0 -215
  198. package/dist/ai-agents-OHP2F243.js +0 -215
  199. package/dist/apis/discussion.cjs +0 -33
  200. package/dist/apis/discussion.d.cts +0 -18
  201. package/dist/apis/discussion.d.ts +0 -18
  202. package/dist/apis/discussion.js +0 -33
  203. package/dist/app-UUTBO3WJ.js +0 -573
  204. package/dist/app-XJGY6SHO.cjs +0 -573
  205. package/dist/audit-logs-4IJYIOXF.js +0 -55
  206. package/dist/audit-logs-UWLCPBB4.cjs +0 -55
  207. package/dist/automation-4UQADTDO.cjs +0 -282
  208. package/dist/automation-PVXTQLZX.js +0 -282
  209. package/dist/billing-FI4V4UX5.cjs +0 -175
  210. package/dist/billing-OMWNJHGW.js +0 -175
  211. package/dist/blueprint-manifest-CPQAL76N.cjs +0 -504
  212. package/dist/blueprint-manifest-FIMGDHSH.js +0 -504
  213. package/dist/chunk-3RG5ZIWI.js +0 -10
  214. package/dist/chunk-OBGZSXTJ.cjs +0 -10
  215. package/dist/consent-NHDCDJMK.js +0 -84
  216. package/dist/consent-R5GU3WCK.cjs +0 -84
  217. package/dist/customer-portal-6AV2W43T.cjs +0 -2252
  218. package/dist/customer-portal-EY57GJYV.js +0 -2252
  219. package/dist/data-management-ILQUYNTN.cjs +0 -240
  220. package/dist/data-management-QMXOLOEG.js +0 -240
  221. package/dist/deduplication-IVXANO7S.cjs +0 -42
  222. package/dist/deduplication-WN45DVK3.js +0 -42
  223. package/dist/design-ONRLY6XI.cjs +0 -219
  224. package/dist/design-UHMRO3PG.js +0 -219
  225. package/dist/discussion-4CZIG3ZM.cjs +0 -134
  226. package/dist/discussion-VWMWL2AF.js +0 -134
  227. package/dist/discussion.d-DQucoYl_.d.cts +0 -579
  228. package/dist/discussion.d-DQucoYl_.d.ts +0 -579
  229. package/dist/document-CN3JNXFF.js +0 -78
  230. package/dist/document-PCKNZA4K.cjs +0 -78
  231. package/dist/email-settings-ANURQMKZ.js +0 -533
  232. package/dist/email-settings-YE2XB2ZU.cjs +0 -533
  233. package/dist/email-template-4QI4YS4J.js +0 -122
  234. package/dist/email-template-BUJBC6HH.cjs +0 -122
  235. package/dist/entity-BCFE3UJT.cjs +0 -1600
  236. package/dist/entity-VEXNQC4Y.js +0 -1600
  237. package/dist/entity-mapping-PHRLSYP7.cjs +0 -215
  238. package/dist/entity-mapping-QK7MGNAW.js +0 -215
  239. package/dist/environments-266S44UM.cjs +0 -71
  240. package/dist/environments-AV7W6SLT.js +0 -71
  241. package/dist/erp-integration-5WNBCGWS.cjs +0 -586
  242. package/dist/erp-integration-EMI5WIWA.js +0 -586
  243. package/dist/event-catalog-DBWYKQ6J.cjs +0 -130
  244. package/dist/event-catalog-KKMXV5LB.js +0 -130
  245. package/dist/file-3ZLMS6TL.js +0 -573
  246. package/dist/file-Q66N5XMG.cjs +0 -573
  247. package/dist/iban-HSXVSIFW.cjs +0 -43
  248. package/dist/iban-Q27INTOC.js +0 -43
  249. package/dist/journey-DGKXVWZQ.js +0 -270
  250. package/dist/journey-T2Y72EBS.cjs +0 -270
  251. package/dist/kanban-A4B6RCJ2.cjs +0 -164
  252. package/dist/kanban-PP6WJVT2.js +0 -164
  253. package/dist/message-D6JY4GJH.cjs +0 -673
  254. package/dist/message-HFX2DDCV.js +0 -673
  255. package/dist/metering-63MJFCS2.cjs +0 -399
  256. package/dist/metering-F63PNFCZ.js +0 -399
  257. package/dist/notes-FTL5H4JE.cjs +0 -219
  258. package/dist/notes-GMWTQCMB.js +0 -219
  259. package/dist/notification-WXFSOORN.cjs +0 -237
  260. package/dist/notification-XHG3TIBW.js +0 -237
  261. package/dist/organization-CPXTUDJO.js +0 -118
  262. package/dist/organization-XIFV7MWP.cjs +0 -118
  263. package/dist/partner-directory-4WCHPJRO.js +0 -282
  264. package/dist/partner-directory-FKWPPO7F.cjs +0 -282
  265. package/dist/permissions-5E36GPG3.js +0 -178
  266. package/dist/permissions-PBTK5CCD.cjs +0 -178
  267. package/dist/pricing-FDWEBIQU.js +0 -439
  268. package/dist/pricing-FZQKL4DW.cjs +0 -439
  269. package/dist/pricing-tier-34O624R4.js +0 -36
  270. package/dist/pricing-tier-F4HE6WIM.cjs +0 -36
  271. package/dist/purpose-47HJIG2Q.cjs +0 -180
  272. package/dist/purpose-MX33NU5H.js +0 -180
  273. package/dist/sandbox-7QNLGFN2.cjs +0 -100
  274. package/dist/sandbox-TZCXHBJN.js +0 -100
  275. package/dist/submission-6LSPBI27.js +0 -55
  276. package/dist/submission-DBQNDJ4B.cjs +0 -55
  277. package/dist/targeting-HZRCLNIF.cjs +0 -275
  278. package/dist/targeting-MTQ6JBCY.js +0 -275
  279. package/dist/template-variables-S6IXK7SF.js +0 -159
  280. package/dist/template-variables-VPNIMC7L.cjs +0 -159
  281. package/dist/user-BHH4DAA5.cjs +0 -488
  282. package/dist/user-KBXFVRPI.js +0 -488
  283. package/dist/validation-rules-4V7KAWGW.cjs +0 -120
  284. package/dist/validation-rules-UGQY4ASY.js +0 -120
  285. package/dist/webhooks-JR475VD4.js +0 -252
  286. package/dist/webhooks-X64U3KCB.cjs +0 -252
  287. package/dist/workflow-7ANPQZDP.cjs +0 -402
  288. package/dist/workflow-DWSAHA5Q.js +0 -402
  289. package/dist/workflow-definition-2M3JBCUI.cjs +0 -342
  290. package/dist/workflow-definition-WLPGEU55.js +0 -342
@@ -1,579 +0,0 @@
1
- import { OpenAPIClient, Parameters, UnknownParamsObject, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
2
-
3
- /* Auto-copied from discussion-client */
4
- /* eslint-disable */
5
-
6
-
7
-
8
- declare namespace Components {
9
- namespace Schemas {
10
- export type Attachment = {
11
- /**
12
- * File ID
13
- * example:
14
- * 70432e1d-eadc-4995-937c-2604637bbaae
15
- */
16
- id?: string;
17
- /**
18
- * Filename
19
- * example:
20
- * document.pdf
21
- */
22
- filename?: string;
23
- /**
24
- * Content type
25
- * example:
26
- * application/pdf
27
- */
28
- mime_type?: string;
29
- /**
30
- * Public url for downloading file
31
- * example:
32
- * https://epilot-files-prod.s3.eu-central-1.amazonaws.com/123/4d689aeb-1497-4410-a9fe-b36ca9ac4389/document.pdf
33
- */
34
- public_url?: string;
35
- /**
36
- * S3 reference
37
- */
38
- s3ref?: {
39
- /**
40
- * S3 bucket name
41
- * example:
42
- * epilot-files-prod
43
- */
44
- bucket?: string;
45
- /**
46
- * S3 object key
47
- * example:
48
- * 123/temp/4d689aeb-1497-4410-a9fe-b36ca9ac4389/document.pdf
49
- */
50
- key?: string;
51
- };
52
- } | null;
53
- export interface BaseEntity {
54
- /**
55
- * Entity ID
56
- * example:
57
- * 3fa85f64-5717-4562-b3fc-2c963f66afa6
58
- */
59
- _id?: string;
60
- /**
61
- * Entity title
62
- */
63
- _title?: string;
64
- /**
65
- * Ivy Organization ID the entity belongs to
66
- * example:
67
- * 206801
68
- */
69
- _org?: string;
70
- /**
71
- * URL-friendly identifier for the entity schema
72
- * example:
73
- * message
74
- */
75
- _schema?: string;
76
- /**
77
- * Entity tags
78
- * example:
79
- * [
80
- * "automatic email template"
81
- * ]
82
- */
83
- _tags?: string[];
84
- /**
85
- * Created date
86
- * example:
87
- * 2021-02-09T12:41:43.662Z
88
- */
89
- _created_at?: string; // date-time
90
- /**
91
- * Updated date
92
- * example:
93
- * 2021-02-10T09:14:31.990Z
94
- */
95
- _updated_at?: string; // date-time
96
- }
97
- export interface Comment {
98
- /**
99
- * UUID v4
100
- * example:
101
- * d9159a41-1311-47fd-b026-b59401f3bf87
102
- */
103
- _id?: string;
104
- /**
105
- * Entity title
106
- */
107
- _title?: string;
108
- /**
109
- * Ivy Organization ID the entity belongs to
110
- * example:
111
- * 206801
112
- */
113
- _org?: string;
114
- /**
115
- * URL-friendly identifier for the entity schema
116
- * example:
117
- * message
118
- */
119
- _schema?: string;
120
- /**
121
- * Tags
122
- * example:
123
- * [
124
- * "automatic email template",
125
- * "discussion",
126
- * "comment"
127
- * ]
128
- */
129
- _tags?: string[];
130
- /**
131
- * Created at
132
- * example:
133
- * 2021-02-10T09:14:31.990Z
134
- */
135
- _created_at?: string; // date-time
136
- /**
137
- * Updated at
138
- * example:
139
- * 2021-02-10T09:14:31.990Z
140
- */
141
- _updated_at?: string; // date-time
142
- /**
143
- * ID of the context the comment belongs to (entity ID, workflow ID, activity ID, opportunity ID,…)
144
- * example:
145
- * d9159a41-1311-47fd-b026-b59401f3bf87
146
- */
147
- context_id?: string;
148
- /**
149
- * Thread ID - available when the comment is a reply to thread.
150
- * example:
151
- * 6a838adf-a579-4ffd-9e6c-630a09fa025a
152
- */
153
- thread_id?: string;
154
- /**
155
- * Title
156
- * example:
157
- * Discussion
158
- */
159
- title?: string;
160
- /**
161
- * name
162
- * example:
163
- * I want to trigger a discussion about when we delivery the facilities to customer.
164
- */
165
- content?: string;
166
- /**
167
- * Attachments
168
- */
169
- attachments?: Attachment[];
170
- /**
171
- * Reactions
172
- */
173
- reactions?: Reaction[];
174
- /**
175
- * Last edit time of author
176
- * example:
177
- * 2021-02-10T09:14:31.990Z
178
- */
179
- edited_at?: string; // date-time
180
- /**
181
- * Created by
182
- * example:
183
- * 1234
184
- */
185
- created_by?: number;
186
- /**
187
- * Updated by
188
- * example:
189
- * 1234
190
- */
191
- updated_by?: number;
192
- }
193
- export interface Reaction {
194
- /**
195
- * Emoji
196
- * example:
197
- * like
198
- */
199
- emoji?: string;
200
- /**
201
- * User ID who reacted
202
- * example:
203
- * 12345
204
- */
205
- user_id?: number;
206
- }
207
- export interface User {
208
- /**
209
- * example:
210
- * 12345
211
- */
212
- id?: string;
213
- /**
214
- * example:
215
- * 23456
216
- */
217
- organization_id?: string;
218
- /**
219
- * example:
220
- * 2022-02-08T04:44:32.246Z
221
- */
222
- created_at?: string;
223
- /**
224
- * User's display name (default: email address)
225
- * example:
226
- * Example User
227
- */
228
- display_name?: string;
229
- status?: "Active" | "Pending" | "Deactivated" | "Deleted";
230
- email?: string; // email
231
- draft_email?: string | null; // email
232
- /**
233
- * example:
234
- * 1234567890
235
- */
236
- phone?: string | null;
237
- /**
238
- * example:
239
- * de
240
- */
241
- preferred_language?: string;
242
- /**
243
- * example:
244
- * 65dc527f-cb2d-4158-8f2e-8978dbceb599
245
- */
246
- token?: string;
247
- /**
248
- * example:
249
- * <p>Thanks</p>
250
- */
251
- signature?: string;
252
- /**
253
- * example:
254
- * true
255
- */
256
- is_signature_enabled?: boolean;
257
- /**
258
- * example:
259
- * {
260
- * "original": "https://account-profile-images.epilot.cloud/1/avatar.png",
261
- * "thumbnail_32": "https://account-profile-images.epilot.cloud/1/avatar_32x32.png"
262
- * }
263
- */
264
- image_uri?: {
265
- [name: string]: any;
266
- original?: string; // uri
267
- thumbnail_32?: string; // uri
268
- };
269
- properties?: {
270
- /**
271
- * example:
272
- * profileImageName
273
- */
274
- name: string;
275
- /**
276
- * example:
277
- * avatar.png
278
- */
279
- value: string;
280
- }[];
281
- }
282
- }
283
- }
284
- declare namespace Paths {
285
- namespace CreateComment {
286
- export type RequestBody = Components.Schemas.Comment;
287
- namespace Responses {
288
- export type $201 = Components.Schemas.Comment;
289
- export interface $403 {
290
- }
291
- }
292
- }
293
- namespace DeleteComment {
294
- namespace Parameters {
295
- export type Id = string;
296
- }
297
- export interface PathParameters {
298
- id: Parameters.Id;
299
- }
300
- namespace Responses {
301
- export interface $204 {
302
- }
303
- export interface $403 {
304
- }
305
- }
306
- }
307
- namespace GetComment {
308
- namespace Parameters {
309
- export type Id = string;
310
- }
311
- export interface PathParameters {
312
- id: Parameters.Id;
313
- }
314
- namespace Responses {
315
- export type $200 = Components.Schemas.Comment;
316
- export interface $403 {
317
- }
318
- export interface $404 {
319
- }
320
- }
321
- }
322
- namespace GetMentionableUsers {
323
- namespace Parameters {
324
- export type Id = string;
325
- }
326
- export interface PathParameters {
327
- id: Parameters.Id;
328
- }
329
- namespace Responses {
330
- export type $200 = Components.Schemas.User[];
331
- export interface $403 {
332
- }
333
- }
334
- }
335
- namespace GetThreadComments {
336
- namespace Parameters {
337
- export type Id = string;
338
- export type Limit = number;
339
- export type Offset = number;
340
- }
341
- export interface PathParameters {
342
- id: Parameters.Id;
343
- }
344
- export interface QueryParameters {
345
- limit?: Parameters.Limit;
346
- offset?: Parameters.Offset;
347
- }
348
- namespace Responses {
349
- export interface $200 {
350
- /**
351
- * Total comments in a thread
352
- * example:
353
- * 15
354
- */
355
- hits?: number;
356
- /**
357
- * Comments
358
- */
359
- results?: Components.Schemas.Comment[];
360
- }
361
- export interface $403 {
362
- }
363
- export interface $404 {
364
- }
365
- }
366
- }
367
- namespace GetThreadsByContext {
368
- namespace Parameters {
369
- export type Id = string;
370
- export type Limit = number;
371
- export type Offset = number;
372
- }
373
- export interface PathParameters {
374
- id: Parameters.Id;
375
- }
376
- export interface QueryParameters {
377
- limit?: Parameters.Limit;
378
- offset?: Parameters.Offset;
379
- }
380
- namespace Responses {
381
- export interface $200 {
382
- /**
383
- * Total threads of context
384
- * example:
385
- * 15
386
- */
387
- hits?: number;
388
- /**
389
- * Threads
390
- */
391
- results?: Components.Schemas.Comment[];
392
- }
393
- export interface $403 {
394
- }
395
- }
396
- }
397
- namespace UpdateComment {
398
- namespace Parameters {
399
- export type Id = string;
400
- }
401
- export interface PathParameters {
402
- id: Parameters.Id;
403
- }
404
- export type RequestBody = Components.Schemas.Comment;
405
- namespace Responses {
406
- export type $200 = Components.Schemas.Comment;
407
- export interface $403 {
408
- }
409
- }
410
- }
411
- }
412
-
413
-
414
- interface OperationMethods {
415
- /**
416
- * createComment - Create comment
417
- *
418
- * Create a comment.
419
- */
420
- 'createComment'(
421
- parameters?: Parameters<UnknownParamsObject> | null,
422
- data?: Paths.CreateComment.RequestBody,
423
- config?: AxiosRequestConfig
424
- ): OperationResponse<Paths.CreateComment.Responses.$201>
425
- /**
426
- * getComment - Get comment
427
- *
428
- * Get comment by ID
429
- */
430
- 'getComment'(
431
- parameters?: Parameters<Paths.GetComment.PathParameters> | null,
432
- data?: any,
433
- config?: AxiosRequestConfig
434
- ): OperationResponse<Paths.GetComment.Responses.$200>
435
- /**
436
- * updateComment - Update comment
437
- *
438
- * Update a comment.
439
- */
440
- 'updateComment'(
441
- parameters?: Parameters<Paths.UpdateComment.PathParameters> | null,
442
- data?: Paths.UpdateComment.RequestBody,
443
- config?: AxiosRequestConfig
444
- ): OperationResponse<Paths.UpdateComment.Responses.$200>
445
- /**
446
- * deleteComment - Delete comment
447
- *
448
- * Immediately and permanently deletes the specified comment. If the comment is the one that triggered a discussion thread, all comments belong to this thread will be deleted as well. This operation cannot be undone.
449
- */
450
- 'deleteComment'(
451
- parameters?: Parameters<Paths.DeleteComment.PathParameters> | null,
452
- data?: any,
453
- config?: AxiosRequestConfig
454
- ): OperationResponse<Paths.DeleteComment.Responses.$204>
455
- /**
456
- * getThreadsByContext - Get threads by context
457
- *
458
- * Get the comments that are treated as first comment of a thread. The fully thread will be get separately.
459
- */
460
- 'getThreadsByContext'(
461
- parameters?: Parameters<Paths.GetThreadsByContext.QueryParameters & Paths.GetThreadsByContext.PathParameters> | null,
462
- data?: any,
463
- config?: AxiosRequestConfig
464
- ): OperationResponse<Paths.GetThreadsByContext.Responses.$200>
465
- /**
466
- * getMentionableUsers - Get list of users for mention list of a context.
467
- *
468
- * Get list of users for mention list including entity owner's users & shared users.
469
- */
470
- 'getMentionableUsers'(
471
- parameters?: Parameters<Paths.GetMentionableUsers.PathParameters> | null,
472
- data?: any,
473
- config?: AxiosRequestConfig
474
- ): OperationResponse<Paths.GetMentionableUsers.Responses.$200>
475
- /**
476
- * getThreadComments - Get thread comments
477
- *
478
- * Get comments belong to a thread
479
- */
480
- 'getThreadComments'(
481
- parameters?: Parameters<Paths.GetThreadComments.QueryParameters & Paths.GetThreadComments.PathParameters> | null,
482
- data?: any,
483
- config?: AxiosRequestConfig
484
- ): OperationResponse<Paths.GetThreadComments.Responses.$200>
485
- }
486
-
487
- interface PathsDictionary {
488
- ['/v1/comments']: {
489
- /**
490
- * createComment - Create comment
491
- *
492
- * Create a comment.
493
- */
494
- 'post'(
495
- parameters?: Parameters<UnknownParamsObject> | null,
496
- data?: Paths.CreateComment.RequestBody,
497
- config?: AxiosRequestConfig
498
- ): OperationResponse<Paths.CreateComment.Responses.$201>
499
- }
500
- ['/v1/comments/{id}']: {
501
- /**
502
- * updateComment - Update comment
503
- *
504
- * Update a comment.
505
- */
506
- 'put'(
507
- parameters?: Parameters<Paths.UpdateComment.PathParameters> | null,
508
- data?: Paths.UpdateComment.RequestBody,
509
- config?: AxiosRequestConfig
510
- ): OperationResponse<Paths.UpdateComment.Responses.$200>
511
- /**
512
- * getComment - Get comment
513
- *
514
- * Get comment by ID
515
- */
516
- 'get'(
517
- parameters?: Parameters<Paths.GetComment.PathParameters> | null,
518
- data?: any,
519
- config?: AxiosRequestConfig
520
- ): OperationResponse<Paths.GetComment.Responses.$200>
521
- /**
522
- * deleteComment - Delete comment
523
- *
524
- * Immediately and permanently deletes the specified comment. If the comment is the one that triggered a discussion thread, all comments belong to this thread will be deleted as well. This operation cannot be undone.
525
- */
526
- 'delete'(
527
- parameters?: Parameters<Paths.DeleteComment.PathParameters> | null,
528
- data?: any,
529
- config?: AxiosRequestConfig
530
- ): OperationResponse<Paths.DeleteComment.Responses.$204>
531
- }
532
- ['/v1/contexts/{id}/threads']: {
533
- /**
534
- * getThreadsByContext - Get threads by context
535
- *
536
- * Get the comments that are treated as first comment of a thread. The fully thread will be get separately.
537
- */
538
- 'get'(
539
- parameters?: Parameters<Paths.GetThreadsByContext.QueryParameters & Paths.GetThreadsByContext.PathParameters> | null,
540
- data?: any,
541
- config?: AxiosRequestConfig
542
- ): OperationResponse<Paths.GetThreadsByContext.Responses.$200>
543
- }
544
- ['/v1/contexts/{id}/mentionableUsers']: {
545
- /**
546
- * getMentionableUsers - Get list of users for mention list of a context.
547
- *
548
- * Get list of users for mention list including entity owner's users & shared users.
549
- */
550
- 'get'(
551
- parameters?: Parameters<Paths.GetMentionableUsers.PathParameters> | null,
552
- data?: any,
553
- config?: AxiosRequestConfig
554
- ): OperationResponse<Paths.GetMentionableUsers.Responses.$200>
555
- }
556
- ['/v1/threads/{id}']: {
557
- /**
558
- * getThreadComments - Get thread comments
559
- *
560
- * Get comments belong to a thread
561
- */
562
- 'get'(
563
- parameters?: Parameters<Paths.GetThreadComments.QueryParameters & Paths.GetThreadComments.PathParameters> | null,
564
- data?: any,
565
- config?: AxiosRequestConfig
566
- ): OperationResponse<Paths.GetThreadComments.Responses.$200>
567
- }
568
- }
569
-
570
- type Client = OpenAPIClient<OperationMethods, PathsDictionary>
571
-
572
-
573
- type Attachment = Components.Schemas.Attachment;
574
- type BaseEntity = Components.Schemas.BaseEntity;
575
- type Comment = Components.Schemas.Comment;
576
- type Reaction = Components.Schemas.Reaction;
577
- type User = Components.Schemas.User;
578
-
579
- export type { Attachment as A, BaseEntity as B, Client as C, OperationMethods as O, PathsDictionary as P, Reaction as R, User as U, Comment as a };
@@ -1,78 +0,0 @@
1
- import "./chunk-3RG5ZIWI.js";
2
-
3
- // src/definitions/document.json
4
- var openapi = "3.0.2";
5
- var info = {
6
- title: "",
7
- version: ""
8
- };
9
- var paths = {
10
- "/v2/documents:meta": {
11
- post: {
12
- operationId: "getTemplateMeta",
13
- requestBody: {
14
- content: {
15
- "application/json": {}
16
- }
17
- },
18
- responses: {}
19
- }
20
- },
21
- "/v2/documents:generate": {
22
- post: {
23
- operationId: "generateDocumentV2",
24
- parameters: [
25
- {
26
- in: "query",
27
- name: "job_id"
28
- },
29
- {
30
- in: "query",
31
- name: "mode"
32
- },
33
- {
34
- in: "query",
35
- name: "preview_mode"
36
- }
37
- ],
38
- requestBody: {
39
- content: {
40
- "application/json": {}
41
- }
42
- },
43
- responses: {}
44
- }
45
- },
46
- "/v2/documents:convert": {
47
- post: {
48
- operationId: "convertDocument",
49
- requestBody: {
50
- content: {
51
- "application/json": {}
52
- }
53
- },
54
- responses: {}
55
- }
56
- }
57
- };
58
- var components = {};
59
- var servers = [
60
- {
61
- url: "https://document.sls.epilot.io"
62
- }
63
- ];
64
- var document_default = {
65
- openapi,
66
- info,
67
- paths,
68
- components,
69
- servers
70
- };
71
- export {
72
- components,
73
- document_default as default,
74
- info,
75
- openapi,
76
- paths,
77
- servers
78
- };