@epilot/sdk 2.0.0-beta.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 (288) hide show
  1. package/README.md +70 -96
  2. package/dist/apis/access-token.cjs +90 -10
  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 -6
  6. package/dist/apis/address-suggestions.cjs +133 -10
  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 -6
  10. package/dist/apis/address.cjs +85 -10
  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 -6
  14. package/dist/apis/ai-agents.cjs +216 -10
  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 -6
  18. package/dist/apis/app.cjs +574 -10
  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 -6
  22. package/dist/apis/audit-logs.cjs +56 -10
  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 -6
  26. package/dist/apis/automation.cjs +283 -10
  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 -6
  30. package/dist/apis/billing.cjs +176 -10
  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 -6
  34. package/dist/apis/blueprint-manifest.cjs +505 -10
  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 -6
  38. package/dist/apis/consent.cjs +85 -10
  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 -6
  42. package/dist/apis/customer-portal.cjs +2253 -10
  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 -6
  46. package/dist/apis/data-management.cjs +241 -10
  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 -6
  50. package/dist/apis/deduplication.cjs +43 -10
  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 -6
  54. package/dist/apis/design.cjs +220 -10
  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 -6
  58. package/dist/apis/document.cjs +79 -10
  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 -6
  62. package/dist/apis/email-settings.cjs +534 -10
  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 -6
  66. package/dist/apis/email-template.cjs +123 -10
  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 -6
  70. package/dist/apis/entity-mapping.cjs +216 -10
  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 -6
  74. package/dist/apis/entity.cjs +1601 -10
  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 -6
  78. package/dist/apis/environments.cjs +72 -10
  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 -6
  82. package/dist/apis/erp-integration.cjs +587 -10
  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 -6
  86. package/dist/apis/event-catalog.cjs +131 -10
  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 -6
  90. package/dist/apis/file.cjs +574 -10
  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 -6
  94. package/dist/apis/iban.cjs +44 -10
  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 -6
  98. package/dist/apis/journey.cjs +271 -10
  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 -6
  102. package/dist/apis/kanban.cjs +165 -10
  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 -6
  106. package/dist/apis/message.cjs +674 -10
  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 -6
  110. package/dist/apis/metering.cjs +400 -10
  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 -6
  114. package/dist/apis/notes.cjs +220 -10
  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 -6
  118. package/dist/apis/notification.cjs +238 -10
  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 -6
  122. package/dist/apis/organization.cjs +119 -10
  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 -6
  126. package/dist/apis/partner-directory.cjs +283 -10
  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 -6
  130. package/dist/apis/permissions.cjs +179 -10
  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 -6
  134. package/dist/apis/pricing-tier.cjs +40 -13
  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 -6
  138. package/dist/apis/pricing.cjs +440 -10
  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 -6
  142. package/dist/apis/purpose.cjs +181 -10
  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 -6
  146. package/dist/apis/sandbox.cjs +101 -10
  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 -6
  150. package/dist/apis/submission.cjs +56 -10
  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 -6
  154. package/dist/apis/targeting.cjs +276 -10
  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 -6
  158. package/dist/apis/template-variables.cjs +160 -10
  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 -6
  162. package/dist/apis/user.cjs +489 -10
  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 -6
  166. package/dist/apis/validation-rules.cjs +121 -10
  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 -6
  170. package/dist/apis/webhooks.cjs +253 -10
  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 -6
  174. package/dist/apis/workflow-definition.cjs +343 -10
  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 -6
  178. package/dist/apis/workflow.cjs +403 -10
  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 -6
  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 +70 -215
  185. package/dist/index.d.cts +64 -66
  186. package/dist/index.d.ts +64 -66
  187. package/dist/index.js +67 -212
  188. package/dist/{types-DNnaR-86.d.cts → types-BwBvJkY_.d.cts} +2 -2
  189. package/dist/{types-DNnaR-86.d.ts → types-BwBvJkY_.d.ts} +2 -2
  190. package/package.json +2 -6
  191. package/dist/access-token-4WG44JE6.js +0 -87
  192. package/dist/access-token-IWRB3AQC.cjs +0 -87
  193. package/dist/address-RCFHYZ32.cjs +0 -82
  194. package/dist/address-YDZSS2Q2.js +0 -82
  195. package/dist/address-suggestions-44CVMN3H.js +0 -130
  196. package/dist/address-suggestions-RQNIFLF6.cjs +0 -130
  197. package/dist/ai-agents-7WY6J45W.js +0 -213
  198. package/dist/ai-agents-TIBOWGRB.cjs +0 -213
  199. package/dist/apis/discussion.cjs +0 -32
  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 -32
  203. package/dist/app-BUVEXAK3.js +0 -571
  204. package/dist/app-SWOVCSF6.cjs +0 -571
  205. package/dist/audit-logs-EZF74KKE.js +0 -53
  206. package/dist/audit-logs-ZNE4XISB.cjs +0 -53
  207. package/dist/automation-F4AXMRUS.cjs +0 -280
  208. package/dist/automation-NSOLJEPW.js +0 -280
  209. package/dist/billing-FXH4A3ET.cjs +0 -173
  210. package/dist/billing-PW2UJOFR.js +0 -173
  211. package/dist/blueprint-manifest-N4UM55KM.cjs +0 -502
  212. package/dist/blueprint-manifest-U3DMIHGW.js +0 -502
  213. package/dist/consent-NL2FMBRZ.js +0 -82
  214. package/dist/consent-XLVBVWHP.cjs +0 -82
  215. package/dist/customer-portal-6NZR53MJ.cjs +0 -2250
  216. package/dist/customer-portal-PXA64RS2.js +0 -2250
  217. package/dist/data-management-7VCKRRKT.cjs +0 -238
  218. package/dist/data-management-CWNNHKNR.js +0 -238
  219. package/dist/deduplication-AHDZHLWJ.cjs +0 -40
  220. package/dist/deduplication-UNYDU6FC.js +0 -40
  221. package/dist/design-GTK6ERS7.js +0 -217
  222. package/dist/design-HINGIGZM.cjs +0 -217
  223. package/dist/discussion-5AQSWLCJ.js +0 -132
  224. package/dist/discussion-ZHZII3JN.cjs +0 -132
  225. package/dist/discussion.d-DQucoYl_.d.cts +0 -579
  226. package/dist/discussion.d-DQucoYl_.d.ts +0 -579
  227. package/dist/document-3DJGB6C5.cjs +0 -76
  228. package/dist/document-4EBYTKOK.js +0 -76
  229. package/dist/email-settings-37WEBRIE.cjs +0 -531
  230. package/dist/email-settings-WYXVYZA5.js +0 -531
  231. package/dist/email-template-AJGRNOGO.cjs +0 -120
  232. package/dist/email-template-L3LCVGGX.js +0 -120
  233. package/dist/entity-FK3QEH7K.cjs +0 -1598
  234. package/dist/entity-VCBDLBZ5.js +0 -1598
  235. package/dist/entity-mapping-LEEXGKNQ.js +0 -213
  236. package/dist/entity-mapping-OIA23UV2.cjs +0 -213
  237. package/dist/environments-NX2KO6PH.js +0 -69
  238. package/dist/environments-PDN2RNB6.cjs +0 -69
  239. package/dist/erp-integration-C7XAKQOQ.cjs +0 -584
  240. package/dist/erp-integration-TA23TPTK.js +0 -584
  241. package/dist/event-catalog-CXGU2MWM.js +0 -128
  242. package/dist/event-catalog-JHJU3EPR.cjs +0 -128
  243. package/dist/file-FIIYM6KO.cjs +0 -571
  244. package/dist/file-GRLGXATS.js +0 -571
  245. package/dist/iban-IQH45QEI.js +0 -41
  246. package/dist/iban-YHV77AIE.cjs +0 -41
  247. package/dist/journey-B5Q2FQUI.cjs +0 -268
  248. package/dist/journey-XW3RJCI3.js +0 -268
  249. package/dist/kanban-4LZGTSAF.cjs +0 -162
  250. package/dist/kanban-NRSJ6S4X.js +0 -162
  251. package/dist/message-IV6F3CN5.cjs +0 -671
  252. package/dist/message-VYRBWAWQ.js +0 -671
  253. package/dist/metering-BOIQK6LV.js +0 -397
  254. package/dist/metering-WJVI6BHJ.cjs +0 -397
  255. package/dist/notes-XXYAHYEC.js +0 -217
  256. package/dist/notes-ZQR635GX.cjs +0 -217
  257. package/dist/notification-7APLCFR5.cjs +0 -235
  258. package/dist/notification-B634CDPT.js +0 -235
  259. package/dist/organization-BXJ2BPQB.cjs +0 -116
  260. package/dist/organization-WGTTJC22.js +0 -116
  261. package/dist/partner-directory-IHOFVMEK.cjs +0 -280
  262. package/dist/partner-directory-K6CQVWVG.js +0 -280
  263. package/dist/permissions-J7BIGOLO.cjs +0 -176
  264. package/dist/permissions-XRJ6WEZR.js +0 -176
  265. package/dist/pricing-GSIASLCP.cjs +0 -437
  266. package/dist/pricing-VVOEIVQC.js +0 -437
  267. package/dist/pricing-tier-NHXSXS7D.cjs +0 -34
  268. package/dist/pricing-tier-U5KRZDL2.js +0 -34
  269. package/dist/purpose-K655DFAO.js +0 -178
  270. package/dist/purpose-XH2OQHGH.cjs +0 -178
  271. package/dist/sandbox-4DRHKRB6.cjs +0 -98
  272. package/dist/sandbox-PV747LWK.js +0 -98
  273. package/dist/submission-7NPVVBLM.js +0 -53
  274. package/dist/submission-RUDXWIRC.cjs +0 -53
  275. package/dist/targeting-4ID5YPCA.js +0 -273
  276. package/dist/targeting-DOARNZSZ.cjs +0 -273
  277. package/dist/template-variables-HAYGELOR.cjs +0 -157
  278. package/dist/template-variables-XSEX25IR.js +0 -157
  279. package/dist/user-DPU5W4TD.cjs +0 -486
  280. package/dist/user-HJCIYGFV.js +0 -486
  281. package/dist/validation-rules-2Z3W27TI.js +0 -118
  282. package/dist/validation-rules-STLI5T53.cjs +0 -118
  283. package/dist/webhooks-OYG6A7LP.js +0 -250
  284. package/dist/webhooks-QV777IJ3.cjs +0 -250
  285. package/dist/workflow-3PROUTPA.js +0 -400
  286. package/dist/workflow-STQM54XS.cjs +0 -400
  287. package/dist/workflow-definition-3VVAPDSE.cjs +0 -340
  288. package/dist/workflow-definition-WEU344MV.js +0 -340
package/dist/apis/user.js CHANGED
@@ -1,25 +1,504 @@
1
1
  import {
2
+ __commonJS,
2
3
  authorize,
3
4
  createApiClient,
4
5
  createApiHandle
5
- } from "../chunk-UCDXDIUX.js";
6
+ } from "../chunk-DGCGLG7G.js";
7
+
8
+ // src/definitions/user.json
9
+ var require_user = __commonJS({
10
+ "src/definitions/user.json"(exports, module) {
11
+ module.exports = {
12
+ openapi: "3.0.2",
13
+ info: {
14
+ title: "",
15
+ version: ""
16
+ },
17
+ paths: {
18
+ "/v2/users/public/signup": {
19
+ post: {
20
+ operationId: "signUpUser",
21
+ parameters: [
22
+ {
23
+ name: "token",
24
+ in: "query",
25
+ required: false
26
+ }
27
+ ],
28
+ requestBody: {
29
+ content: {
30
+ "application/json": {}
31
+ }
32
+ },
33
+ responses: {}
34
+ }
35
+ },
36
+ "/v2/users/me": {
37
+ get: {
38
+ operationId: "getMeV2",
39
+ responses: {}
40
+ }
41
+ },
42
+ "/v2/users": {
43
+ get: {
44
+ operationId: "listUsersV2",
45
+ parameters: [
46
+ {
47
+ name: "query",
48
+ in: "query",
49
+ required: false
50
+ },
51
+ {
52
+ name: "limit",
53
+ in: "query",
54
+ required: false
55
+ },
56
+ {
57
+ name: "offset",
58
+ in: "query",
59
+ required: false
60
+ }
61
+ ],
62
+ responses: {}
63
+ }
64
+ },
65
+ "/v2/users/{id}": {
66
+ get: {
67
+ operationId: "getUserV2",
68
+ parameters: [
69
+ {
70
+ in: "path",
71
+ name: "id",
72
+ required: true
73
+ }
74
+ ],
75
+ responses: {}
76
+ },
77
+ patch: {
78
+ operationId: "updateUserV2",
79
+ parameters: [
80
+ {
81
+ in: "path",
82
+ name: "id",
83
+ required: true
84
+ }
85
+ ],
86
+ requestBody: {
87
+ content: {
88
+ "application/json": {}
89
+ }
90
+ },
91
+ responses: {}
92
+ },
93
+ delete: {
94
+ operationId: "deleteUserV2",
95
+ parameters: [
96
+ {
97
+ in: "path",
98
+ name: "id",
99
+ required: true
100
+ }
101
+ ],
102
+ responses: {}
103
+ }
104
+ },
105
+ "/v2/users/invite": {
106
+ post: {
107
+ operationId: "inviteUser",
108
+ requestBody: {
109
+ content: {
110
+ "application/json": {}
111
+ }
112
+ },
113
+ responses: {}
114
+ }
115
+ },
116
+ "/v2/users/invite:resendEmail": {
117
+ post: {
118
+ operationId: "resendUserInvitation",
119
+ requestBody: {
120
+ content: {
121
+ "application/json": {}
122
+ }
123
+ },
124
+ responses: {}
125
+ }
126
+ },
127
+ "/v2/users/{id}/groups": {
128
+ get: {
129
+ operationId: "getGroupsForUser",
130
+ parameters: [
131
+ {
132
+ in: "path",
133
+ name: "id",
134
+ required: true
135
+ }
136
+ ],
137
+ responses: {}
138
+ }
139
+ },
140
+ "/v1/groups": {
141
+ get: {
142
+ operationId: "getGroups",
143
+ parameters: [
144
+ {
145
+ name: "query",
146
+ in: "query",
147
+ required: false
148
+ },
149
+ {
150
+ name: "limit",
151
+ in: "query",
152
+ required: false
153
+ },
154
+ {
155
+ name: "offset",
156
+ in: "query",
157
+ required: false
158
+ },
159
+ {
160
+ name: "hydrate",
161
+ in: "query",
162
+ required: false
163
+ }
164
+ ],
165
+ responses: {}
166
+ },
167
+ post: {
168
+ operationId: "createGroup",
169
+ requestBody: {
170
+ content: {
171
+ "application/json": {}
172
+ }
173
+ },
174
+ responses: {}
175
+ }
176
+ },
177
+ "/v1/groups/{id}": {
178
+ get: {
179
+ operationId: "getGroup",
180
+ parameters: [
181
+ {
182
+ name: "id",
183
+ in: "path",
184
+ required: true
185
+ },
186
+ {
187
+ name: "hydrate",
188
+ in: "query",
189
+ required: false
190
+ }
191
+ ],
192
+ responses: {}
193
+ },
194
+ patch: {
195
+ operationId: "updateGroup",
196
+ parameters: [
197
+ {
198
+ name: "id",
199
+ in: "path",
200
+ required: true
201
+ }
202
+ ],
203
+ requestBody: {
204
+ content: {
205
+ "application/json": {}
206
+ }
207
+ },
208
+ responses: {}
209
+ },
210
+ delete: {
211
+ operationId: "deleteGroup",
212
+ parameters: [
213
+ {
214
+ name: "id",
215
+ in: "path",
216
+ required: true
217
+ }
218
+ ],
219
+ responses: {}
220
+ }
221
+ },
222
+ "/v1/groups/{id}/user:next": {
223
+ post: {
224
+ operationId: "advanceUserAssignment",
225
+ parameters: [
226
+ {
227
+ name: "id",
228
+ in: "path",
229
+ required: true
230
+ }
231
+ ],
232
+ responses: {}
233
+ }
234
+ },
235
+ "/v2/user/navigations": {
236
+ post: {
237
+ operationId: "createNavigation",
238
+ requestBody: {
239
+ content: {
240
+ "application/json": {}
241
+ }
242
+ },
243
+ responses: {}
244
+ }
245
+ },
246
+ "/v2/user/navigations/{id}": {
247
+ get: {
248
+ operationId: "getNavigation",
249
+ parameters: [
250
+ {
251
+ in: "path",
252
+ name: "id",
253
+ required: true
254
+ }
255
+ ],
256
+ responses: {}
257
+ }
258
+ },
259
+ "/v2/users/public/verifyEmail": {
260
+ post: {
261
+ operationId: "verifyEmailWithToken",
262
+ parameters: [
263
+ {
264
+ in: "query",
265
+ name: "token",
266
+ required: true
267
+ }
268
+ ],
269
+ requestBody: {
270
+ content: {
271
+ "application/json": {}
272
+ }
273
+ },
274
+ responses: {}
275
+ }
276
+ },
277
+ "/v2/users/public/checkToken": {
278
+ get: {
279
+ operationId: "checkInviteToken",
280
+ parameters: [
281
+ {
282
+ in: "query",
283
+ name: "token",
284
+ required: true
285
+ }
286
+ ],
287
+ responses: {}
288
+ }
289
+ },
290
+ "/v2/users/public/activate": {
291
+ post: {
292
+ operationId: "activateUser",
293
+ parameters: [
294
+ {
295
+ in: "query",
296
+ name: "token",
297
+ required: true
298
+ }
299
+ ],
300
+ requestBody: {
301
+ content: {
302
+ "application/json": {}
303
+ }
304
+ },
305
+ responses: {}
306
+ }
307
+ },
308
+ "/v2/users/public/reject": {
309
+ delete: {
310
+ operationId: "rejectInvite",
311
+ parameters: [
312
+ {
313
+ in: "query",
314
+ name: "token",
315
+ required: true
316
+ }
317
+ ],
318
+ responses: {}
319
+ }
320
+ },
321
+ "/v2/users/public/username/{username}:getLoginParameters": {
322
+ get: {
323
+ operationId: "getUserLoginParametersV2",
324
+ parameters: [
325
+ {
326
+ name: "username",
327
+ in: "path",
328
+ required: true
329
+ }
330
+ ],
331
+ responses: {}
332
+ }
333
+ },
334
+ "/v2/users/public/passkeys:authenticateBegin": {
335
+ post: {
336
+ operationId: "beginPasskeyAuthentication",
337
+ requestBody: {
338
+ content: {
339
+ "application/json": {}
340
+ }
341
+ },
342
+ responses: {}
343
+ }
344
+ },
345
+ "/v2/users/public/passkeys:authenticateBeginDiscoverable": {
346
+ post: {
347
+ operationId: "beginDiscoverablePasskeyAuthentication",
348
+ responses: {}
349
+ }
350
+ },
351
+ "/v2/users/public/passkeys:resolveCredential": {
352
+ post: {
353
+ operationId: "resolveDiscoverableCredential",
354
+ requestBody: {
355
+ content: {
356
+ "application/json": {}
357
+ }
358
+ },
359
+ responses: {}
360
+ }
361
+ },
362
+ "/v2/users/me/passkeys:registerBegin": {
363
+ post: {
364
+ operationId: "beginPasskeyRegistration",
365
+ requestBody: {
366
+ content: {
367
+ "application/json": {}
368
+ }
369
+ },
370
+ responses: {}
371
+ }
372
+ },
373
+ "/v2/users/me/passkeys:registerComplete": {
374
+ post: {
375
+ operationId: "completePasskeyRegistration",
376
+ requestBody: {
377
+ content: {
378
+ "application/json": {}
379
+ }
380
+ },
381
+ responses: {}
382
+ }
383
+ },
384
+ "/v2/users/me/passkeys": {
385
+ get: {
386
+ operationId: "listPasskeys",
387
+ responses: {}
388
+ }
389
+ },
390
+ "/v2/users/me/passkeys/{credentialId}": {
391
+ delete: {
392
+ operationId: "deletePasskey",
393
+ parameters: [
394
+ {
395
+ name: "credentialId",
396
+ in: "path",
397
+ required: true
398
+ }
399
+ ],
400
+ responses: {}
401
+ }
402
+ },
403
+ "/v2/users/switchOrganization": {
404
+ post: {
405
+ operationId: "switchOrganization",
406
+ requestBody: {
407
+ content: {
408
+ "application/json": {}
409
+ }
410
+ },
411
+ responses: {}
412
+ }
413
+ },
414
+ "/v1/users/me": {
415
+ get: {
416
+ operationId: "getMe",
417
+ responses: {}
418
+ }
419
+ },
420
+ "/v1/users": {
421
+ get: {
422
+ operationId: "listUsers",
423
+ parameters: [
424
+ {
425
+ name: "org_ids",
426
+ in: "query",
427
+ style: "form",
428
+ explode: false
429
+ },
430
+ {
431
+ name: "query",
432
+ in: "query",
433
+ required: false
434
+ },
435
+ {
436
+ name: "limit",
437
+ in: "query",
438
+ required: false
439
+ },
440
+ {
441
+ name: "offset",
442
+ in: "query",
443
+ required: false
444
+ }
445
+ ],
446
+ responses: {}
447
+ }
448
+ },
449
+ "/v1/users/{id}": {
450
+ get: {
451
+ operationId: "getUser",
452
+ parameters: [
453
+ {
454
+ name: "id",
455
+ in: "path",
456
+ required: true
457
+ }
458
+ ],
459
+ responses: {}
460
+ }
461
+ },
462
+ "/v1/users/username/{username}:getLoginParameters": {
463
+ get: {
464
+ operationId: "getUserLoginParameters",
465
+ parameters: [
466
+ {
467
+ name: "username",
468
+ in: "path",
469
+ required: true
470
+ }
471
+ ],
472
+ responses: {}
473
+ }
474
+ }
475
+ },
476
+ components: {},
477
+ servers: [
478
+ {
479
+ url: "https://user.sls.epilot.io"
480
+ }
481
+ ]
482
+ };
483
+ }
484
+ });
6
485
 
7
486
  // src/apis/user.ts
8
- var loadDefinition = async () => {
9
- const mod = await import("../user-HJCIYGFV.js");
487
+ var loadDefinition = () => {
488
+ const mod = require_user();
10
489
  return mod.default ?? mod;
11
490
  };
12
491
  var _instance = null;
13
- var resolve = async () => {
492
+ var resolve = () => {
14
493
  if (!_instance) {
15
- const definition = await loadDefinition();
494
+ const definition = loadDefinition();
16
495
  _instance = createApiClient({ definition });
17
496
  }
18
497
  return _instance;
19
498
  };
20
499
  var _handle = createApiHandle({
21
500
  resolveClient: resolve,
22
- loadDefinition
501
+ createClient: () => createApiClient({ definition: loadDefinition() })
23
502
  });
24
503
  var getClient = _handle.getClient;
25
504
  var createClient = _handle.createClient;
@@ -1,25 +1,136 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
3
 
4
4
 
5
- var _chunkYYLPAGF4cjs = require('../chunk-YYLPAGF4.cjs');
5
+
6
+ var _chunkD7ICL3AMcjs = require('../chunk-D7ICL3AM.cjs');
7
+
8
+ // src/definitions/validation-rules.json
9
+ var require_validation_rules = _chunkD7ICL3AMcjs.__commonJS.call(void 0, {
10
+ "src/definitions/validation-rules.json"(exports, module) {
11
+ module.exports = {
12
+ openapi: "3.0.3",
13
+ info: {
14
+ title: "",
15
+ version: ""
16
+ },
17
+ paths: {
18
+ "/v1/validation-rules": {
19
+ get: {
20
+ operationId: "getValidationRules",
21
+ responses: {}
22
+ },
23
+ post: {
24
+ operationId: "createValidationRule",
25
+ requestBody: {
26
+ content: {
27
+ "application/json": {}
28
+ }
29
+ },
30
+ responses: {}
31
+ }
32
+ },
33
+ "/v1/validation-rules/{ruleId}": {
34
+ get: {
35
+ operationId: "getValidationRuleById",
36
+ parameters: [
37
+ {
38
+ name: "ruleId",
39
+ in: "path",
40
+ required: true
41
+ }
42
+ ],
43
+ responses: {}
44
+ },
45
+ patch: {
46
+ operationId: "updateValidationRule",
47
+ parameters: [
48
+ {
49
+ name: "ruleId",
50
+ in: "path",
51
+ required: true
52
+ }
53
+ ],
54
+ requestBody: {
55
+ content: {
56
+ "application/json": {}
57
+ }
58
+ },
59
+ responses: {}
60
+ },
61
+ delete: {
62
+ operationId: "deleteValidationRule",
63
+ parameters: [
64
+ {
65
+ name: "ruleId",
66
+ in: "path",
67
+ required: true
68
+ }
69
+ ],
70
+ responses: {}
71
+ }
72
+ },
73
+ "/v1/validation-rules/{ruleId}/used-by": {
74
+ post: {
75
+ operationId: "addUsedByReference",
76
+ parameters: [
77
+ {
78
+ name: "ruleId",
79
+ in: "path",
80
+ required: true
81
+ }
82
+ ],
83
+ requestBody: {
84
+ content: {
85
+ "application/json": {}
86
+ }
87
+ },
88
+ responses: {}
89
+ },
90
+ delete: {
91
+ operationId: "removeUsedByReference",
92
+ parameters: [
93
+ {
94
+ name: "ruleId",
95
+ in: "path",
96
+ required: true
97
+ }
98
+ ],
99
+ requestBody: {
100
+ content: {
101
+ "application/json": {}
102
+ }
103
+ },
104
+ responses: {}
105
+ }
106
+ }
107
+ },
108
+ components: {},
109
+ servers: [
110
+ {
111
+ url: "https://validation-rules.sls.epilot.io"
112
+ }
113
+ ]
114
+ };
115
+ }
116
+ });
6
117
 
7
118
  // src/apis/validation-rules.ts
8
- var loadDefinition = async () => {
9
- const mod = await Promise.resolve().then(() => _interopRequireWildcard(require("../validation-rules-STLI5T53.cjs")));
119
+ var loadDefinition = () => {
120
+ const mod = require_validation_rules();
10
121
  return _nullishCoalesce(mod.default, () => ( mod));
11
122
  };
12
123
  var _instance = null;
13
- var resolve = async () => {
124
+ var resolve = () => {
14
125
  if (!_instance) {
15
- const definition = await loadDefinition();
16
- _instance = _chunkYYLPAGF4cjs.createApiClient.call(void 0, { definition });
126
+ const definition = loadDefinition();
127
+ _instance = _chunkD7ICL3AMcjs.createApiClient.call(void 0, { definition });
17
128
  }
18
129
  return _instance;
19
130
  };
20
- var _handle = _chunkYYLPAGF4cjs.createApiHandle.call(void 0, {
131
+ var _handle = _chunkD7ICL3AMcjs.createApiHandle.call(void 0, {
21
132
  resolveClient: resolve,
22
- loadDefinition
133
+ createClient: () => _chunkD7ICL3AMcjs.createApiClient.call(void 0, { definition: loadDefinition() })
23
134
  });
24
135
  var getClient = _handle.getClient;
25
136
  var createClient = _handle.createClient;
@@ -29,4 +140,4 @@ var validationRules = _handle;
29
140
 
30
141
 
31
142
 
32
- exports.authorize = _chunkYYLPAGF4cjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.validationRules = validationRules;
143
+ exports.authorize = _chunkD7ICL3AMcjs.authorize; exports.createClient = createClient; exports.getClient = getClient; exports.validationRules = validationRules;
@@ -1,14 +1,14 @@
1
- import { A as ApiHandle } from '../types-DNnaR-86.cjs';
2
- export { T as TokenArg, a as authorize } from '../types-DNnaR-86.cjs';
1
+ import { A as ApiHandle } from '../types-BwBvJkY_.cjs';
2
+ export { T as TokenArg, a as authorize } from '../types-BwBvJkY_.cjs';
3
3
  import { C as Client } from '../validation-rules.d-CScjNdxD.cjs';
4
4
  export { a as CreateValidationRuleRequest, G as GetValidationRulesResponse, N as NumericCondition, b as NumericFactCondition, c as NumericNestedCondition, d as NumericRuleType, O as OperationMethods, P as PathsDictionary, e as PatternCondition, f as PatternFactCondition, g as PatternNestedCondition, h as PatternRuleType, R as RegexCondition, i as RegexFactCondition, j as RegexNestedCondition, k as RegexRuleType, U as UpdateValidationRuleRequest, l as UsedBy, V as ValidationRule, m as ValidationRuleBase } from '../validation-rules.d-CScjNdxD.cjs';
5
5
  import 'axios';
6
6
  import 'openapi-client-axios';
7
7
 
8
8
  /** Get the cached singleton client (lazy-initialized on first call) */
9
- declare const getClient: () => Promise<Client>;
9
+ declare const getClient: () => Client;
10
10
  /** Create a fresh client instance (not cached) */
11
- declare const createClient: () => Promise<Client>;
11
+ declare const createClient: () => Client;
12
12
  /**
13
13
  * API handle — also exposes operations directly:
14
14
  * `validationRules.someOperation(...)` calls forwarded to lazy singleton
@@ -1,14 +1,14 @@
1
- import { A as ApiHandle } from '../types-DNnaR-86.js';
2
- export { T as TokenArg, a as authorize } from '../types-DNnaR-86.js';
1
+ import { A as ApiHandle } from '../types-BwBvJkY_.js';
2
+ export { T as TokenArg, a as authorize } from '../types-BwBvJkY_.js';
3
3
  import { C as Client } from '../validation-rules.d-CScjNdxD.js';
4
4
  export { a as CreateValidationRuleRequest, G as GetValidationRulesResponse, N as NumericCondition, b as NumericFactCondition, c as NumericNestedCondition, d as NumericRuleType, O as OperationMethods, P as PathsDictionary, e as PatternCondition, f as PatternFactCondition, g as PatternNestedCondition, h as PatternRuleType, R as RegexCondition, i as RegexFactCondition, j as RegexNestedCondition, k as RegexRuleType, U as UpdateValidationRuleRequest, l as UsedBy, V as ValidationRule, m as ValidationRuleBase } from '../validation-rules.d-CScjNdxD.js';
5
5
  import 'axios';
6
6
  import 'openapi-client-axios';
7
7
 
8
8
  /** Get the cached singleton client (lazy-initialized on first call) */
9
- declare const getClient: () => Promise<Client>;
9
+ declare const getClient: () => Client;
10
10
  /** Create a fresh client instance (not cached) */
11
- declare const createClient: () => Promise<Client>;
11
+ declare const createClient: () => Client;
12
12
  /**
13
13
  * API handle — also exposes operations directly:
14
14
  * `validationRules.someOperation(...)` calls forwarded to lazy singleton