@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,597 @@
1
+ import { A as ApiHandle } from '../types-ChU9Acbv.cjs';
2
+ export { T as TokenArg, a as authorize } from '../types-ChU9Acbv.cjs';
3
+ import { OpenAPIClient, Parameters, UnknownParamsObject, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
4
+ export { OpenAPIClient } from 'openapi-client-axios';
5
+ import 'axios';
6
+
7
+ /* Auto-copied from target-client */
8
+
9
+
10
+ declare namespace Components {
11
+ namespace Parameters {
12
+ export type HydrateQueryParam = boolean;
13
+ export type StrictQueryParam = boolean;
14
+ export type TargetIdPathParam = /**
15
+ * example:
16
+ * 123e4567-e89b-12d3-a456-426614174000
17
+ */
18
+ Schemas.BaseUUID /* uuid */;
19
+ }
20
+ export interface PathParameters {
21
+ TargetIdPathParam?: Parameters.TargetIdPathParam;
22
+ }
23
+ export interface QueryParameters {
24
+ HydrateQueryParam?: Parameters.HydrateQueryParam;
25
+ StrictQueryParam?: Parameters.StrictQueryParam;
26
+ }
27
+ namespace RequestBodies {
28
+ export type TargetCreateRequest = Schemas.TargetCreate;
29
+ export type TargetPatchRequest = Schemas.TargetPatch;
30
+ export type TargetUpdateRequest = Schemas.TargetCreate;
31
+ }
32
+ namespace Responses {
33
+ export type ClientErrorResponse = Schemas.ClientError;
34
+ export type ServerErrorResponse = Schemas.ServerError;
35
+ export type TargetResponse = Schemas.Target;
36
+ }
37
+ namespace Schemas {
38
+ /**
39
+ * Access control list (ACL) for an entity. Defines sharing access to external orgs or users.
40
+ */
41
+ export interface BaseEntityAcl {
42
+ view?: string[];
43
+ edit?: string[];
44
+ delete?: string[];
45
+ }
46
+ /**
47
+ * The user / organization owning this entity.
48
+ *
49
+ * Note: Owner implicitly has access to the entity regardless of ACLs.
50
+ *
51
+ */
52
+ export interface BaseEntityOwner {
53
+ /**
54
+ * example:
55
+ * 123
56
+ */
57
+ org_id: string;
58
+ /**
59
+ * example:
60
+ * 123
61
+ */
62
+ user_id?: string;
63
+ }
64
+ export interface BaseError {
65
+ /**
66
+ * example:
67
+ * 404
68
+ */
69
+ status: number;
70
+ /**
71
+ * example:
72
+ * Entity not found
73
+ */
74
+ message: string;
75
+ }
76
+ export type BasePurpose = string[] | null;
77
+ export interface BaseRelation {
78
+ $relation?: {
79
+ entity_id?: /**
80
+ * example:
81
+ * 123e4567-e89b-12d3-a456-426614174000
82
+ */
83
+ BaseUUID /* uuid */;
84
+ _tags?: BaseTags;
85
+ }[];
86
+ }
87
+ export interface BaseSystemFields {
88
+ _tags?: BaseTags;
89
+ _purpose?: BasePurpose;
90
+ _files?: BaseRelation;
91
+ /**
92
+ * Manifest ID used to create/update the entity
93
+ */
94
+ _manifest?: string /* uuid */[];
95
+ /**
96
+ * Additional fields that are not part of the schema
97
+ * example:
98
+ * {}
99
+ */
100
+ __additional?: {
101
+ [name: string]: any;
102
+ } | null;
103
+ }
104
+ export interface BaseSystemFieldsRequired {
105
+ }
106
+ export interface BaseSystemReadonlyFields {
107
+ _id?: /**
108
+ * example:
109
+ * 123e4567-e89b-12d3-a456-426614174000
110
+ */
111
+ BaseUUID /* uuid */;
112
+ _schema?: string;
113
+ /**
114
+ * Organization Id the entity belongs to
115
+ */
116
+ _org?: string;
117
+ _tags?: BaseTags;
118
+ _files?: BaseRelation;
119
+ _owners?: /**
120
+ * The user / organization owning this entity.
121
+ *
122
+ * Note: Owner implicitly has access to the entity regardless of ACLs.
123
+ *
124
+ */
125
+ BaseEntityOwner[];
126
+ _title?: string;
127
+ _created_at?: string; // date-time
128
+ _updated_at?: string; // date-time
129
+ _acl?: /* Access control list (ACL) for an entity. Defines sharing access to external orgs or users. */ BaseEntityAcl;
130
+ }
131
+ export type BaseTags = string[] | null;
132
+ export interface BaseTarget {
133
+ _schema?: "target";
134
+ /**
135
+ * The description for the target
136
+ */
137
+ name?: string;
138
+ /**
139
+ * The description of the target
140
+ */
141
+ description?: string;
142
+ /**
143
+ * The schema of the target entities
144
+ */
145
+ entity_schema?: string;
146
+ /**
147
+ * The filters on the targeted schema
148
+ */
149
+ entity_filters?: {
150
+ filter?: {
151
+ /**
152
+ * The list of applied filters on targeted schema
153
+ */
154
+ items?: {
155
+ /**
156
+ * The key of the filter
157
+ */
158
+ key?: string;
159
+ /**
160
+ * The operator of the filter
161
+ */
162
+ operator?: string;
163
+ value?: string | string[];
164
+ }[];
165
+ /**
166
+ * The combination of the filters
167
+ */
168
+ combination?: string;
169
+ };
170
+ };
171
+ }
172
+ export interface BaseTargetRequired {
173
+ }
174
+ /**
175
+ * example:
176
+ * 123e4567-e89b-12d3-a456-426614174000
177
+ */
178
+ export type BaseUUID = string; // uuid
179
+ export type ClientError = BaseError;
180
+ export type ServerError = BaseError;
181
+ export interface Target {
182
+ _id?: /**
183
+ * example:
184
+ * 123e4567-e89b-12d3-a456-426614174000
185
+ */
186
+ BaseUUID /* uuid */;
187
+ _schema: "target";
188
+ /**
189
+ * Organization Id the entity belongs to
190
+ */
191
+ _org: string;
192
+ _tags?: BaseTags;
193
+ _files?: BaseRelation;
194
+ _owners?: /**
195
+ * The user / organization owning this entity.
196
+ *
197
+ * Note: Owner implicitly has access to the entity regardless of ACLs.
198
+ *
199
+ */
200
+ BaseEntityOwner[];
201
+ _title?: string;
202
+ _created_at?: string; // date-time
203
+ _updated_at?: string; // date-time
204
+ _acl?: /* Access control list (ACL) for an entity. Defines sharing access to external orgs or users. */ BaseEntityAcl;
205
+ /**
206
+ * The description for the target
207
+ */
208
+ name: string;
209
+ /**
210
+ * The description of the target
211
+ */
212
+ description?: string;
213
+ /**
214
+ * The schema of the target entities
215
+ */
216
+ entity_schema?: string;
217
+ /**
218
+ * The filters on the targeted schema
219
+ */
220
+ entity_filters?: {
221
+ filter?: {
222
+ /**
223
+ * The list of applied filters on targeted schema
224
+ */
225
+ items?: {
226
+ /**
227
+ * The key of the filter
228
+ */
229
+ key?: string;
230
+ /**
231
+ * The operator of the filter
232
+ */
233
+ operator?: string;
234
+ value?: string | string[];
235
+ }[];
236
+ /**
237
+ * The combination of the filters
238
+ */
239
+ combination?: string;
240
+ };
241
+ };
242
+ _purpose?: BasePurpose;
243
+ /**
244
+ * Manifest ID used to create/update the entity
245
+ */
246
+ _manifest?: string /* uuid */[];
247
+ /**
248
+ * Additional fields that are not part of the schema
249
+ * example:
250
+ * {}
251
+ */
252
+ __additional?: {
253
+ [name: string]: any;
254
+ } | null;
255
+ }
256
+ export interface TargetCreate {
257
+ _schema?: "target";
258
+ /**
259
+ * The description for the target
260
+ */
261
+ name: string;
262
+ /**
263
+ * The description of the target
264
+ */
265
+ description?: string;
266
+ /**
267
+ * The schema of the target entities
268
+ */
269
+ entity_schema?: string;
270
+ /**
271
+ * The filters on the targeted schema
272
+ */
273
+ entity_filters?: {
274
+ filter?: {
275
+ /**
276
+ * The list of applied filters on targeted schema
277
+ */
278
+ items?: {
279
+ /**
280
+ * The key of the filter
281
+ */
282
+ key?: string;
283
+ /**
284
+ * The operator of the filter
285
+ */
286
+ operator?: string;
287
+ value?: string | string[];
288
+ }[];
289
+ /**
290
+ * The combination of the filters
291
+ */
292
+ combination?: string;
293
+ };
294
+ };
295
+ _tags?: BaseTags;
296
+ _purpose?: BasePurpose;
297
+ _files?: BaseRelation;
298
+ /**
299
+ * Manifest ID used to create/update the entity
300
+ */
301
+ _manifest?: string /* uuid */[];
302
+ /**
303
+ * Additional fields that are not part of the schema
304
+ * example:
305
+ * {}
306
+ */
307
+ __additional?: {
308
+ [name: string]: any;
309
+ } | null;
310
+ }
311
+ export interface TargetPatch {
312
+ _schema?: "target";
313
+ /**
314
+ * The description for the target
315
+ */
316
+ name?: string;
317
+ /**
318
+ * The description of the target
319
+ */
320
+ description?: string;
321
+ /**
322
+ * The schema of the target entities
323
+ */
324
+ entity_schema?: string;
325
+ /**
326
+ * The filters on the targeted schema
327
+ */
328
+ entity_filters?: {
329
+ filter?: {
330
+ /**
331
+ * The list of applied filters on targeted schema
332
+ */
333
+ items?: {
334
+ /**
335
+ * The key of the filter
336
+ */
337
+ key?: string;
338
+ /**
339
+ * The operator of the filter
340
+ */
341
+ operator?: string;
342
+ value?: string | string[];
343
+ }[];
344
+ /**
345
+ * The combination of the filters
346
+ */
347
+ combination?: string;
348
+ };
349
+ };
350
+ _tags?: BaseTags;
351
+ _purpose?: BasePurpose;
352
+ _files?: BaseRelation;
353
+ /**
354
+ * Manifest ID used to create/update the entity
355
+ */
356
+ _manifest?: string /* uuid */[];
357
+ /**
358
+ * Additional fields that are not part of the schema
359
+ * example:
360
+ * {}
361
+ */
362
+ __additional?: {
363
+ [name: string]: any;
364
+ } | null;
365
+ }
366
+ }
367
+ }
368
+ declare namespace Paths {
369
+ namespace CreateTarget {
370
+ export type RequestBody = Components.RequestBodies.TargetCreateRequest;
371
+ namespace Responses {
372
+ export type $201 = Components.Responses.TargetResponse;
373
+ export type $400 = Components.Responses.ClientErrorResponse;
374
+ export type $500 = Components.Responses.ServerErrorResponse;
375
+ }
376
+ }
377
+ namespace DeleteTarget {
378
+ namespace Parameters {
379
+ export type TargetId = /**
380
+ * example:
381
+ * 123e4567-e89b-12d3-a456-426614174000
382
+ */
383
+ Components.Schemas.BaseUUID /* uuid */;
384
+ }
385
+ export interface PathParameters {
386
+ targetId: Parameters.TargetId;
387
+ }
388
+ namespace Responses {
389
+ export type $200 = Components.Responses.TargetResponse;
390
+ export type $400 = Components.Responses.ClientErrorResponse;
391
+ export type $500 = Components.Responses.ServerErrorResponse;
392
+ }
393
+ }
394
+ namespace GetTarget {
395
+ namespace Parameters {
396
+ export type Hydrate = boolean;
397
+ export type Strict = boolean;
398
+ export type TargetId = /**
399
+ * example:
400
+ * 123e4567-e89b-12d3-a456-426614174000
401
+ */
402
+ Components.Schemas.BaseUUID /* uuid */;
403
+ }
404
+ export interface PathParameters {
405
+ targetId: Parameters.TargetId;
406
+ }
407
+ export interface QueryParameters {
408
+ hydrate?: Parameters.Hydrate;
409
+ strict?: Parameters.Strict;
410
+ }
411
+ namespace Responses {
412
+ export type $200 = Components.Responses.TargetResponse;
413
+ export type $400 = Components.Responses.ClientErrorResponse;
414
+ export type $500 = Components.Responses.ServerErrorResponse;
415
+ }
416
+ }
417
+ namespace PatchTarget {
418
+ namespace Parameters {
419
+ export type TargetId = /**
420
+ * example:
421
+ * 123e4567-e89b-12d3-a456-426614174000
422
+ */
423
+ Components.Schemas.BaseUUID /* uuid */;
424
+ }
425
+ export interface PathParameters {
426
+ targetId: Parameters.TargetId;
427
+ }
428
+ export type RequestBody = Components.RequestBodies.TargetPatchRequest;
429
+ namespace Responses {
430
+ export type $200 = Components.Responses.TargetResponse;
431
+ export type $400 = Components.Responses.ClientErrorResponse;
432
+ export type $500 = Components.Responses.ServerErrorResponse;
433
+ }
434
+ }
435
+ namespace UpdateTarget {
436
+ namespace Parameters {
437
+ export type TargetId = /**
438
+ * example:
439
+ * 123e4567-e89b-12d3-a456-426614174000
440
+ */
441
+ Components.Schemas.BaseUUID /* uuid */;
442
+ }
443
+ export interface PathParameters {
444
+ targetId: Parameters.TargetId;
445
+ }
446
+ export type RequestBody = Components.RequestBodies.TargetUpdateRequest;
447
+ namespace Responses {
448
+ export type $200 = Components.Responses.TargetResponse;
449
+ export type $400 = Components.Responses.ClientErrorResponse;
450
+ export type $500 = Components.Responses.ServerErrorResponse;
451
+ }
452
+ }
453
+ }
454
+
455
+
456
+ interface OperationMethods {
457
+ /**
458
+ * createTarget - createTarget
459
+ *
460
+ * Create a new target entity
461
+ */
462
+ 'createTarget'(
463
+ parameters?: Parameters<UnknownParamsObject> | null,
464
+ data?: Paths.CreateTarget.RequestBody,
465
+ config?: AxiosRequestConfig
466
+ ): OperationResponse<Paths.CreateTarget.Responses.$201>
467
+ /**
468
+ * getTarget - getTarget
469
+ *
470
+ * Read a specific target entity by a given id
471
+ */
472
+ 'getTarget'(
473
+ parameters?: Parameters<Paths.GetTarget.QueryParameters & Paths.GetTarget.PathParameters> | null,
474
+ data?: any,
475
+ config?: AxiosRequestConfig
476
+ ): OperationResponse<Paths.GetTarget.Responses.$200>
477
+ /**
478
+ * updateTarget - updateTarget
479
+ *
480
+ * Completly replace a specific target entity's properties by a given id and a given payload
481
+ */
482
+ 'updateTarget'(
483
+ parameters?: Parameters<Paths.UpdateTarget.PathParameters> | null,
484
+ data?: Paths.UpdateTarget.RequestBody,
485
+ config?: AxiosRequestConfig
486
+ ): OperationResponse<Paths.UpdateTarget.Responses.$200>
487
+ /**
488
+ * patchTarget - patchTarget
489
+ *
490
+ * Partially update a specific target entity's properties by a given id and a given payload
491
+ */
492
+ 'patchTarget'(
493
+ parameters?: Parameters<Paths.PatchTarget.PathParameters> | null,
494
+ data?: Paths.PatchTarget.RequestBody,
495
+ config?: AxiosRequestConfig
496
+ ): OperationResponse<Paths.PatchTarget.Responses.$200>
497
+ /**
498
+ * deleteTarget - deleteTarget
499
+ *
500
+ * Delete a specific target entity by a given id
501
+ */
502
+ 'deleteTarget'(
503
+ parameters?: Parameters<Paths.DeleteTarget.PathParameters> | null,
504
+ data?: any,
505
+ config?: AxiosRequestConfig
506
+ ): OperationResponse<Paths.DeleteTarget.Responses.$200>
507
+ }
508
+
509
+ interface PathsDictionary {
510
+ ['/v1/target']: {
511
+ /**
512
+ * createTarget - createTarget
513
+ *
514
+ * Create a new target entity
515
+ */
516
+ 'post'(
517
+ parameters?: Parameters<UnknownParamsObject> | null,
518
+ data?: Paths.CreateTarget.RequestBody,
519
+ config?: AxiosRequestConfig
520
+ ): OperationResponse<Paths.CreateTarget.Responses.$201>
521
+ }
522
+ ['/v1/target/{targetId}']: {
523
+ /**
524
+ * getTarget - getTarget
525
+ *
526
+ * Read a specific target entity by a given id
527
+ */
528
+ 'get'(
529
+ parameters?: Parameters<Paths.GetTarget.QueryParameters & Paths.GetTarget.PathParameters> | null,
530
+ data?: any,
531
+ config?: AxiosRequestConfig
532
+ ): OperationResponse<Paths.GetTarget.Responses.$200>
533
+ /**
534
+ * deleteTarget - deleteTarget
535
+ *
536
+ * Delete a specific target entity by a given id
537
+ */
538
+ 'delete'(
539
+ parameters?: Parameters<Paths.DeleteTarget.PathParameters> | null,
540
+ data?: any,
541
+ config?: AxiosRequestConfig
542
+ ): OperationResponse<Paths.DeleteTarget.Responses.$200>
543
+ /**
544
+ * patchTarget - patchTarget
545
+ *
546
+ * Partially update a specific target entity's properties by a given id and a given payload
547
+ */
548
+ 'patch'(
549
+ parameters?: Parameters<Paths.PatchTarget.PathParameters> | null,
550
+ data?: Paths.PatchTarget.RequestBody,
551
+ config?: AxiosRequestConfig
552
+ ): OperationResponse<Paths.PatchTarget.Responses.$200>
553
+ /**
554
+ * updateTarget - updateTarget
555
+ *
556
+ * Completly replace a specific target entity's properties by a given id and a given payload
557
+ */
558
+ 'put'(
559
+ parameters?: Parameters<Paths.UpdateTarget.PathParameters> | null,
560
+ data?: Paths.UpdateTarget.RequestBody,
561
+ config?: AxiosRequestConfig
562
+ ): OperationResponse<Paths.UpdateTarget.Responses.$200>
563
+ }
564
+ }
565
+
566
+ type Client = OpenAPIClient<OperationMethods, PathsDictionary>
567
+
568
+
569
+ type BaseEntityAcl = Components.Schemas.BaseEntityAcl;
570
+ type BaseEntityOwner = Components.Schemas.BaseEntityOwner;
571
+ type BaseError = Components.Schemas.BaseError;
572
+ type BasePurpose = Components.Schemas.BasePurpose;
573
+ type BaseRelation = Components.Schemas.BaseRelation;
574
+ type BaseSystemFields = Components.Schemas.BaseSystemFields;
575
+ type BaseSystemFieldsRequired = Components.Schemas.BaseSystemFieldsRequired;
576
+ type BaseSystemReadonlyFields = Components.Schemas.BaseSystemReadonlyFields;
577
+ type BaseTags = Components.Schemas.BaseTags;
578
+ type BaseTarget = Components.Schemas.BaseTarget;
579
+ type BaseTargetRequired = Components.Schemas.BaseTargetRequired;
580
+ type BaseUUID = Components.Schemas.BaseUUID;
581
+ type ClientError = Components.Schemas.ClientError;
582
+ type ServerError = Components.Schemas.ServerError;
583
+ type Target = Components.Schemas.Target;
584
+ type TargetCreate = Components.Schemas.TargetCreate;
585
+ type TargetPatch = Components.Schemas.TargetPatch;
586
+
587
+ /** Get the cached singleton client (lazy-initialized on first call) */
588
+ declare const getClient: () => Client;
589
+ /** Create a fresh client instance (not cached) */
590
+ declare const createClient: () => Client;
591
+ /**
592
+ * API handle — also exposes operations directly:
593
+ * `target.someOperation(...)` calls forwarded to lazy singleton
594
+ */
595
+ declare const target: ApiHandle<Client>;
596
+
597
+ export { type BaseEntityAcl, type BaseEntityOwner, type BaseError, type BasePurpose, type BaseRelation, type BaseSystemFields, type BaseSystemFieldsRequired, type BaseSystemReadonlyFields, type BaseTags, type BaseTarget, type BaseTargetRequired, type BaseUUID, type Client, type ClientError, Components, type OperationMethods, Paths, type PathsDictionary, type ServerError, type Target, type TargetCreate, type TargetPatch, createClient, getClient, target };