@endora-commerce/contracts 0.100.0

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 (327) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +34 -0
  3. package/dist/actor.d.ts +79 -0
  4. package/dist/actor.d.ts.map +1 -0
  5. package/dist/actor.js +41 -0
  6. package/dist/actor.js.map +1 -0
  7. package/dist/addresses.d.ts +134 -0
  8. package/dist/addresses.d.ts.map +1 -0
  9. package/dist/addresses.js +16 -0
  10. package/dist/addresses.js.map +1 -0
  11. package/dist/admin-actions.d.ts +367 -0
  12. package/dist/admin-actions.d.ts.map +1 -0
  13. package/dist/admin-actions.js +287 -0
  14. package/dist/admin-actions.js.map +1 -0
  15. package/dist/admin-contributions.d.ts +518 -0
  16. package/dist/admin-contributions.d.ts.map +1 -0
  17. package/dist/admin-contributions.js +495 -0
  18. package/dist/admin-contributions.js.map +1 -0
  19. package/dist/admin-i18n.d.ts +135 -0
  20. package/dist/admin-i18n.d.ts.map +1 -0
  21. package/dist/admin-i18n.js +72 -0
  22. package/dist/admin-i18n.js.map +1 -0
  23. package/dist/admin-notifications.d.ts +55 -0
  24. package/dist/admin-notifications.d.ts.map +1 -0
  25. package/dist/admin-notifications.js +16 -0
  26. package/dist/admin-notifications.js.map +1 -0
  27. package/dist/admin-roles.d.ts +125 -0
  28. package/dist/admin-roles.d.ts.map +1 -0
  29. package/dist/admin-roles.js +2 -0
  30. package/dist/admin-roles.js.map +1 -0
  31. package/dist/admin-users.d.ts +178 -0
  32. package/dist/admin-users.d.ts.map +1 -0
  33. package/dist/admin-users.js +14 -0
  34. package/dist/admin-users.js.map +1 -0
  35. package/dist/admin.d.ts +243 -0
  36. package/dist/admin.d.ts.map +1 -0
  37. package/dist/admin.js +246 -0
  38. package/dist/admin.js.map +1 -0
  39. package/dist/analytics.d.ts +123 -0
  40. package/dist/analytics.d.ts.map +1 -0
  41. package/dist/analytics.js +68 -0
  42. package/dist/analytics.js.map +1 -0
  43. package/dist/api-keys.d.ts +97 -0
  44. package/dist/api-keys.d.ts.map +1 -0
  45. package/dist/api-keys.js +64 -0
  46. package/dist/api-keys.js.map +1 -0
  47. package/dist/assets-library.d.ts +684 -0
  48. package/dist/assets-library.d.ts.map +1 -0
  49. package/dist/assets-library.js +181 -0
  50. package/dist/assets-library.js.map +1 -0
  51. package/dist/audit-logs.d.ts +141 -0
  52. package/dist/audit-logs.d.ts.map +1 -0
  53. package/dist/audit-logs.js +31 -0
  54. package/dist/audit-logs.js.map +1 -0
  55. package/dist/auth.d.ts +174 -0
  56. package/dist/auth.d.ts.map +1 -0
  57. package/dist/auth.js +27 -0
  58. package/dist/auth.js.map +1 -0
  59. package/dist/blog.d.ts +669 -0
  60. package/dist/blog.d.ts.map +1 -0
  61. package/dist/blog.js +360 -0
  62. package/dist/blog.js.map +1 -0
  63. package/dist/capabilities.d.ts +40 -0
  64. package/dist/capabilities.d.ts.map +1 -0
  65. package/dist/capabilities.js +38 -0
  66. package/dist/capabilities.js.map +1 -0
  67. package/dist/carts.d.ts +1367 -0
  68. package/dist/carts.d.ts.map +1 -0
  69. package/dist/carts.js +405 -0
  70. package/dist/carts.js.map +1 -0
  71. package/dist/catalog.d.ts +2855 -0
  72. package/dist/catalog.d.ts.map +1 -0
  73. package/dist/catalog.js +1543 -0
  74. package/dist/catalog.js.map +1 -0
  75. package/dist/cms.d.ts +872 -0
  76. package/dist/cms.d.ts.map +1 -0
  77. package/dist/cms.js +468 -0
  78. package/dist/cms.js.map +1 -0
  79. package/dist/common.d.ts +82 -0
  80. package/dist/common.d.ts.map +1 -0
  81. package/dist/common.js +72 -0
  82. package/dist/common.js.map +1 -0
  83. package/dist/comparisons.d.ts +487 -0
  84. package/dist/comparisons.d.ts.map +1 -0
  85. package/dist/comparisons.js +221 -0
  86. package/dist/comparisons.js.map +1 -0
  87. package/dist/credentials.d.ts +292 -0
  88. package/dist/credentials.d.ts.map +1 -0
  89. package/dist/credentials.js +142 -0
  90. package/dist/credentials.js.map +1 -0
  91. package/dist/credit-limits.d.ts +111 -0
  92. package/dist/credit-limits.d.ts.map +1 -0
  93. package/dist/credit-limits.js +35 -0
  94. package/dist/credit-limits.js.map +1 -0
  95. package/dist/currencies.d.ts +127 -0
  96. package/dist/currencies.d.ts.map +1 -0
  97. package/dist/currencies.js +20 -0
  98. package/dist/currencies.js.map +1 -0
  99. package/dist/custom-fields.d.ts +345 -0
  100. package/dist/custom-fields.d.ts.map +1 -0
  101. package/dist/custom-fields.js +185 -0
  102. package/dist/custom-fields.js.map +1 -0
  103. package/dist/customer-accounts.d.ts +690 -0
  104. package/dist/customer-accounts.d.ts.map +1 -0
  105. package/dist/customer-accounts.js +41 -0
  106. package/dist/customer-accounts.js.map +1 -0
  107. package/dist/customers.d.ts +305 -0
  108. package/dist/customers.d.ts.map +1 -0
  109. package/dist/customers.js +158 -0
  110. package/dist/customers.js.map +1 -0
  111. package/dist/dictionary.d.ts +580 -0
  112. package/dist/dictionary.d.ts.map +1 -0
  113. package/dist/dictionary.js +297 -0
  114. package/dist/dictionary.js.map +1 -0
  115. package/dist/email-address.d.ts +62 -0
  116. package/dist/email-address.d.ts.map +1 -0
  117. package/dist/email-address.js +64 -0
  118. package/dist/email-address.js.map +1 -0
  119. package/dist/email.d.ts +175 -0
  120. package/dist/email.d.ts.map +1 -0
  121. package/dist/email.js +45 -0
  122. package/dist/email.js.map +1 -0
  123. package/dist/envelopes.d.ts +15 -0
  124. package/dist/envelopes.d.ts.map +1 -0
  125. package/dist/envelopes.js +16 -0
  126. package/dist/envelopes.js.map +1 -0
  127. package/dist/environment-inputs.d.ts +306 -0
  128. package/dist/environment-inputs.d.ts.map +1 -0
  129. package/dist/environment-inputs.js +277 -0
  130. package/dist/environment-inputs.js.map +1 -0
  131. package/dist/erp-connector.d.ts +52 -0
  132. package/dist/erp-connector.d.ts.map +1 -0
  133. package/dist/erp-connector.js +34 -0
  134. package/dist/erp-connector.js.map +1 -0
  135. package/dist/errors.d.ts +455 -0
  136. package/dist/errors.d.ts.map +1 -0
  137. package/dist/errors.js +532 -0
  138. package/dist/errors.js.map +1 -0
  139. package/dist/google-analytics.d.ts +181 -0
  140. package/dist/google-analytics.d.ts.map +1 -0
  141. package/dist/google-analytics.js +176 -0
  142. package/dist/google-analytics.js.map +1 -0
  143. package/dist/google-tag-manager.d.ts +111 -0
  144. package/dist/google-tag-manager.d.ts.map +1 -0
  145. package/dist/google-tag-manager.js +129 -0
  146. package/dist/google-tag-manager.js.map +1 -0
  147. package/dist/i18n.d.ts +69 -0
  148. package/dist/i18n.d.ts.map +1 -0
  149. package/dist/i18n.js +59 -0
  150. package/dist/i18n.js.map +1 -0
  151. package/dist/import-export.d.ts +63 -0
  152. package/dist/import-export.d.ts.map +1 -0
  153. package/dist/import-export.js +37 -0
  154. package/dist/import-export.js.map +1 -0
  155. package/dist/index.d.ts +82 -0
  156. package/dist/index.d.ts.map +1 -0
  157. package/dist/index.js +126 -0
  158. package/dist/index.js.map +1 -0
  159. package/dist/inventory.d.ts +673 -0
  160. package/dist/inventory.d.ts.map +1 -0
  161. package/dist/inventory.js +412 -0
  162. package/dist/inventory.js.map +1 -0
  163. package/dist/invoice-ledger.d.ts +366 -0
  164. package/dist/invoice-ledger.d.ts.map +1 -0
  165. package/dist/invoice-ledger.js +114 -0
  166. package/dist/invoice-ledger.js.map +1 -0
  167. package/dist/invoices.d.ts +845 -0
  168. package/dist/invoices.d.ts.map +1 -0
  169. package/dist/invoices.js +314 -0
  170. package/dist/invoices.js.map +1 -0
  171. package/dist/kernel.d.ts +49 -0
  172. package/dist/kernel.d.ts.map +1 -0
  173. package/dist/kernel.js +19 -0
  174. package/dist/kernel.js.map +1 -0
  175. package/dist/languages.d.ts +122 -0
  176. package/dist/languages.d.ts.map +1 -0
  177. package/dist/languages.js +24 -0
  178. package/dist/languages.js.map +1 -0
  179. package/dist/linkedin-ads.d.ts +167 -0
  180. package/dist/linkedin-ads.d.ts.map +1 -0
  181. package/dist/linkedin-ads.js +156 -0
  182. package/dist/linkedin-ads.js.map +1 -0
  183. package/dist/megamenu.d.ts +556 -0
  184. package/dist/megamenu.d.ts.map +1 -0
  185. package/dist/megamenu.js +186 -0
  186. package/dist/megamenu.js.map +1 -0
  187. package/dist/meta-ads.d.ts +126 -0
  188. package/dist/meta-ads.d.ts.map +1 -0
  189. package/dist/meta-ads.js +112 -0
  190. package/dist/meta-ads.js.map +1 -0
  191. package/dist/mfa.d.ts +274 -0
  192. package/dist/mfa.d.ts.map +1 -0
  193. package/dist/mfa.js +187 -0
  194. package/dist/mfa.js.map +1 -0
  195. package/dist/modules.d.ts +1706 -0
  196. package/dist/modules.d.ts.map +1 -0
  197. package/dist/modules.js +1390 -0
  198. package/dist/modules.js.map +1 -0
  199. package/dist/newsletter.d.ts +611 -0
  200. package/dist/newsletter.d.ts.map +1 -0
  201. package/dist/newsletter.js +345 -0
  202. package/dist/newsletter.js.map +1 -0
  203. package/dist/orders.d.ts +1175 -0
  204. package/dist/orders.d.ts.map +1 -0
  205. package/dist/orders.js +630 -0
  206. package/dist/orders.js.map +1 -0
  207. package/dist/organizations.d.ts +938 -0
  208. package/dist/organizations.d.ts.map +1 -0
  209. package/dist/organizations.js +418 -0
  210. package/dist/organizations.js.map +1 -0
  211. package/dist/pagination.d.ts +21 -0
  212. package/dist/pagination.d.ts.map +1 -0
  213. package/dist/pagination.js +22 -0
  214. package/dist/pagination.js.map +1 -0
  215. package/dist/payment-methods.d.ts +472 -0
  216. package/dist/payment-methods.d.ts.map +1 -0
  217. package/dist/payment-methods.js +175 -0
  218. package/dist/payment-methods.js.map +1 -0
  219. package/dist/payment-return-url.d.ts +53 -0
  220. package/dist/payment-return-url.d.ts.map +1 -0
  221. package/dist/payment-return-url.js +35 -0
  222. package/dist/payment-return-url.js.map +1 -0
  223. package/dist/payments.d.ts +386 -0
  224. package/dist/payments.d.ts.map +1 -0
  225. package/dist/payments.js +84 -0
  226. package/dist/payments.js.map +1 -0
  227. package/dist/pim-connector.d.ts +60 -0
  228. package/dist/pim-connector.d.ts.map +1 -0
  229. package/dist/pim-connector.js +43 -0
  230. package/dist/pim-connector.js.map +1 -0
  231. package/dist/pim-field-path.d.ts +6 -0
  232. package/dist/pim-field-path.d.ts.map +1 -0
  233. package/dist/pim-field-path.js +101 -0
  234. package/dist/pim-field-path.js.map +1 -0
  235. package/dist/platform-language.d.ts +20 -0
  236. package/dist/platform-language.d.ts.map +1 -0
  237. package/dist/platform-language.js +22 -0
  238. package/dist/platform-language.js.map +1 -0
  239. package/dist/price-lists.d.ts +685 -0
  240. package/dist/price-lists.d.ts.map +1 -0
  241. package/dist/price-lists.js +330 -0
  242. package/dist/price-lists.js.map +1 -0
  243. package/dist/product-feeds.d.ts +2837 -0
  244. package/dist/product-feeds.d.ts.map +1 -0
  245. package/dist/product-feeds.js +1504 -0
  246. package/dist/product-feeds.js.map +1 -0
  247. package/dist/product-scope-overrides.d.ts +134 -0
  248. package/dist/product-scope-overrides.d.ts.map +1 -0
  249. package/dist/product-scope-overrides.js +82 -0
  250. package/dist/product-scope-overrides.js.map +1 -0
  251. package/dist/product-value-resolver.d.ts +88 -0
  252. package/dist/product-value-resolver.d.ts.map +1 -0
  253. package/dist/product-value-resolver.js +128 -0
  254. package/dist/product-value-resolver.js.map +1 -0
  255. package/dist/promotions.d.ts +678 -0
  256. package/dist/promotions.d.ts.map +1 -0
  257. package/dist/promotions.js +479 -0
  258. package/dist/promotions.js.map +1 -0
  259. package/dist/prompt-actions.d.ts +582 -0
  260. package/dist/prompt-actions.d.ts.map +1 -0
  261. package/dist/prompt-actions.js +221 -0
  262. package/dist/prompt-actions.js.map +1 -0
  263. package/dist/pwa.d.ts +293 -0
  264. package/dist/pwa.d.ts.map +1 -0
  265. package/dist/pwa.js +204 -0
  266. package/dist/pwa.js.map +1 -0
  267. package/dist/quick-order.d.ts +340 -0
  268. package/dist/quick-order.d.ts.map +1 -0
  269. package/dist/quick-order.js +177 -0
  270. package/dist/quick-order.js.map +1 -0
  271. package/dist/quote-requests.d.ts +538 -0
  272. package/dist/quote-requests.d.ts.map +1 -0
  273. package/dist/quote-requests.js +308 -0
  274. package/dist/quote-requests.js.map +1 -0
  275. package/dist/returns.d.ts +774 -0
  276. package/dist/returns.d.ts.map +1 -0
  277. package/dist/returns.js +389 -0
  278. package/dist/returns.js.map +1 -0
  279. package/dist/sales-channels.d.ts +392 -0
  280. package/dist/sales-channels.d.ts.map +1 -0
  281. package/dist/sales-channels.js +285 -0
  282. package/dist/sales-channels.js.map +1 -0
  283. package/dist/scope-notice.d.ts +60 -0
  284. package/dist/scope-notice.d.ts.map +1 -0
  285. package/dist/scope-notice.js +56 -0
  286. package/dist/scope-notice.js.map +1 -0
  287. package/dist/search.d.ts +321 -0
  288. package/dist/search.d.ts.map +1 -0
  289. package/dist/search.js +160 -0
  290. package/dist/search.js.map +1 -0
  291. package/dist/seo.d.ts +113 -0
  292. package/dist/seo.d.ts.map +1 -0
  293. package/dist/seo.js +63 -0
  294. package/dist/seo.js.map +1 -0
  295. package/dist/settings.d.ts +453 -0
  296. package/dist/settings.d.ts.map +1 -0
  297. package/dist/settings.js +337 -0
  298. package/dist/settings.js.map +1 -0
  299. package/dist/shipments.d.ts +140 -0
  300. package/dist/shipments.d.ts.map +1 -0
  301. package/dist/shipments.js +14 -0
  302. package/dist/shipments.js.map +1 -0
  303. package/dist/shipping-methods.d.ts +350 -0
  304. package/dist/shipping-methods.d.ts.map +1 -0
  305. package/dist/shipping-methods.js +99 -0
  306. package/dist/shipping-methods.js.map +1 -0
  307. package/dist/shopping-lists.d.ts +122 -0
  308. package/dist/shopping-lists.d.ts.map +1 -0
  309. package/dist/shopping-lists.js +92 -0
  310. package/dist/shopping-lists.js.map +1 -0
  311. package/dist/taxes.d.ts +106 -0
  312. package/dist/taxes.d.ts.map +1 -0
  313. package/dist/taxes.js +80 -0
  314. package/dist/taxes.js.map +1 -0
  315. package/dist/text-normalization.d.ts +199 -0
  316. package/dist/text-normalization.d.ts.map +1 -0
  317. package/dist/text-normalization.js +205 -0
  318. package/dist/text-normalization.js.map +1 -0
  319. package/dist/transactional-emails.d.ts +459 -0
  320. package/dist/transactional-emails.d.ts.map +1 -0
  321. package/dist/transactional-emails.js +212 -0
  322. package/dist/transactional-emails.js.map +1 -0
  323. package/dist/webhooks.d.ts +69 -0
  324. package/dist/webhooks.d.ts.map +1 -0
  325. package/dist/webhooks.js +53 -0
  326. package/dist/webhooks.js.map +1 -0
  327. package/package.json +46 -0
@@ -0,0 +1,582 @@
1
+ import { z } from 'zod';
2
+ export declare const PROMPT_ACTION_STATUSES: readonly ["interpreting", "awaiting_confirmation", "needs_clarification", "unsupported", "refused", "failed", "executing", "completed", "completed_with_errors", "cancelled", "expired"];
3
+ export declare const PromptActionStatusSchema: z.ZodEnum<{
4
+ completed: "completed";
5
+ cancelled: "cancelled";
6
+ failed: "failed";
7
+ expired: "expired";
8
+ interpreting: "interpreting";
9
+ awaiting_confirmation: "awaiting_confirmation";
10
+ needs_clarification: "needs_clarification";
11
+ unsupported: "unsupported";
12
+ refused: "refused";
13
+ executing: "executing";
14
+ completed_with_errors: "completed_with_errors";
15
+ }>;
16
+ export type PromptActionStatus = z.infer<typeof PromptActionStatusSchema>;
17
+ export declare const PromptActionsProviderSchema: z.ZodEnum<{
18
+ google: "google";
19
+ anthropic: "anthropic";
20
+ openai: "openai";
21
+ }>;
22
+ export type PromptActionsProvider = z.infer<typeof PromptActionsProviderSchema>;
23
+ /** Minutes a plan stays confirmable after interpretation (lazy expiry). */
24
+ export declare const PROMPT_ACTION_PLAN_TTL_MINUTES = 10;
25
+ export declare const OperationPreviewSchema: z.ZodObject<{
26
+ headline: z.ZodString;
27
+ current: z.ZodOptional<z.ZodUnknown>;
28
+ affectedCount: z.ZodNumber;
29
+ sample: z.ZodOptional<z.ZodArray<z.ZodObject<{
30
+ id: z.ZodString;
31
+ label: z.ZodString;
32
+ }, z.core.$strip>>>;
33
+ }, z.core.$strip>;
34
+ export type OperationPreview = z.infer<typeof OperationPreviewSchema>;
35
+ export declare const PlanOperationSchema: z.ZodObject<{
36
+ toolId: z.ZodString;
37
+ moduleId: z.ZodString;
38
+ params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
39
+ requiredPermission: z.ZodString;
40
+ preview: z.ZodObject<{
41
+ headline: z.ZodString;
42
+ current: z.ZodOptional<z.ZodUnknown>;
43
+ affectedCount: z.ZodNumber;
44
+ sample: z.ZodOptional<z.ZodArray<z.ZodObject<{
45
+ id: z.ZodString;
46
+ label: z.ZodString;
47
+ }, z.core.$strip>>>;
48
+ }, z.core.$strip>;
49
+ }, z.core.$strip>;
50
+ export type PlanOperation = z.infer<typeof PlanOperationSchema>;
51
+ export declare const PromptActionPlanSchema: z.ZodObject<{
52
+ summary: z.ZodString;
53
+ operations: z.ZodArray<z.ZodObject<{
54
+ toolId: z.ZodString;
55
+ moduleId: z.ZodString;
56
+ params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
57
+ requiredPermission: z.ZodString;
58
+ preview: z.ZodObject<{
59
+ headline: z.ZodString;
60
+ current: z.ZodOptional<z.ZodUnknown>;
61
+ affectedCount: z.ZodNumber;
62
+ sample: z.ZodOptional<z.ZodArray<z.ZodObject<{
63
+ id: z.ZodString;
64
+ label: z.ZodString;
65
+ }, z.core.$strip>>>;
66
+ }, z.core.$strip>;
67
+ }, z.core.$strip>>;
68
+ bulkLimit: z.ZodNumber;
69
+ }, z.core.$strip>;
70
+ export type PromptActionPlan = z.infer<typeof PromptActionPlanSchema>;
71
+ export declare const PromptActionClarificationSchema: z.ZodObject<{
72
+ question: z.ZodString;
73
+ kind: z.ZodEnum<{
74
+ entity_choice: "entity_choice";
75
+ free_text: "free_text";
76
+ }>;
77
+ candidates: z.ZodOptional<z.ZodArray<z.ZodObject<{
78
+ id: z.ZodString;
79
+ label: z.ZodString;
80
+ hint: z.ZodOptional<z.ZodString>;
81
+ }, z.core.$strip>>>;
82
+ }, z.core.$strip>;
83
+ export type PromptActionClarification = z.infer<typeof PromptActionClarificationSchema>;
84
+ export declare const ResultOperationSchema: z.ZodObject<{
85
+ toolId: z.ZodString;
86
+ status: z.ZodEnum<{
87
+ failed: "failed";
88
+ succeeded: "succeeded";
89
+ delegated: "delegated";
90
+ }>;
91
+ message: z.ZodOptional<z.ZodString>;
92
+ bulkOperationId: z.ZodOptional<z.ZodUUID>;
93
+ summary: z.ZodOptional<z.ZodObject<{
94
+ total: z.ZodNumber;
95
+ succeeded: z.ZodNumber;
96
+ failed: z.ZodNumber;
97
+ failures: z.ZodOptional<z.ZodArray<z.ZodObject<{
98
+ id: z.ZodString;
99
+ label: z.ZodOptional<z.ZodString>;
100
+ reason: z.ZodString;
101
+ }, z.core.$strip>>>;
102
+ }, z.core.$strip>>;
103
+ }, z.core.$strip>;
104
+ export type ResultOperation = z.infer<typeof ResultOperationSchema>;
105
+ export declare const PromptActionResultSchema: z.ZodObject<{
106
+ outcome: z.ZodEnum<{
107
+ completed: "completed";
108
+ failed: "failed";
109
+ completed_with_errors: "completed_with_errors";
110
+ }>;
111
+ operations: z.ZodArray<z.ZodObject<{
112
+ toolId: z.ZodString;
113
+ status: z.ZodEnum<{
114
+ failed: "failed";
115
+ succeeded: "succeeded";
116
+ delegated: "delegated";
117
+ }>;
118
+ message: z.ZodOptional<z.ZodString>;
119
+ bulkOperationId: z.ZodOptional<z.ZodUUID>;
120
+ summary: z.ZodOptional<z.ZodObject<{
121
+ total: z.ZodNumber;
122
+ succeeded: z.ZodNumber;
123
+ failed: z.ZodNumber;
124
+ failures: z.ZodOptional<z.ZodArray<z.ZodObject<{
125
+ id: z.ZodString;
126
+ label: z.ZodOptional<z.ZodString>;
127
+ reason: z.ZodString;
128
+ }, z.core.$strip>>>;
129
+ }, z.core.$strip>>;
130
+ }, z.core.$strip>>;
131
+ }, z.core.$strip>;
132
+ export type PromptActionResult = z.infer<typeof PromptActionResultSchema>;
133
+ export declare const PromptActionsCapabilitySchema: z.ZodObject<{
134
+ status: z.ZodEnum<{
135
+ ready: "ready";
136
+ disabled: "disabled";
137
+ not_configured: "not_configured";
138
+ }>;
139
+ bulkLimit: z.ZodNumber;
140
+ }, z.core.$strip>;
141
+ export type PromptActionsCapability = z.infer<typeof PromptActionsCapabilitySchema>;
142
+ export declare const SubmitPromptRequestSchema: z.ZodObject<{
143
+ prompt: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
144
+ }, z.core.$strip>;
145
+ export type SubmitPromptRequest = z.infer<typeof SubmitPromptRequestSchema>;
146
+ export declare const ClarifyRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
147
+ selectedCandidateId: z.ZodString;
148
+ }, z.core.$strip>, z.ZodObject<{
149
+ text: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
150
+ }, z.core.$strip>]>;
151
+ export type ClarifyRequest = z.infer<typeof ClarifyRequestSchema>;
152
+ export declare const PromptActionRequestDtoSchema: z.ZodObject<{
153
+ id: z.ZodUUID;
154
+ status: z.ZodEnum<{
155
+ completed: "completed";
156
+ cancelled: "cancelled";
157
+ failed: "failed";
158
+ expired: "expired";
159
+ interpreting: "interpreting";
160
+ awaiting_confirmation: "awaiting_confirmation";
161
+ needs_clarification: "needs_clarification";
162
+ unsupported: "unsupported";
163
+ refused: "refused";
164
+ executing: "executing";
165
+ completed_with_errors: "completed_with_errors";
166
+ }>;
167
+ prompt: z.ZodString;
168
+ plan: z.ZodNullable<z.ZodObject<{
169
+ summary: z.ZodString;
170
+ operations: z.ZodArray<z.ZodObject<{
171
+ toolId: z.ZodString;
172
+ moduleId: z.ZodString;
173
+ params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
174
+ requiredPermission: z.ZodString;
175
+ preview: z.ZodObject<{
176
+ headline: z.ZodString;
177
+ current: z.ZodOptional<z.ZodUnknown>;
178
+ affectedCount: z.ZodNumber;
179
+ sample: z.ZodOptional<z.ZodArray<z.ZodObject<{
180
+ id: z.ZodString;
181
+ label: z.ZodString;
182
+ }, z.core.$strip>>>;
183
+ }, z.core.$strip>;
184
+ }, z.core.$strip>>;
185
+ bulkLimit: z.ZodNumber;
186
+ }, z.core.$strip>>;
187
+ clarification: z.ZodNullable<z.ZodObject<{
188
+ question: z.ZodString;
189
+ kind: z.ZodEnum<{
190
+ entity_choice: "entity_choice";
191
+ free_text: "free_text";
192
+ }>;
193
+ candidates: z.ZodOptional<z.ZodArray<z.ZodObject<{
194
+ id: z.ZodString;
195
+ label: z.ZodString;
196
+ hint: z.ZodOptional<z.ZodString>;
197
+ }, z.core.$strip>>>;
198
+ }, z.core.$strip>>;
199
+ result: z.ZodNullable<z.ZodObject<{
200
+ outcome: z.ZodEnum<{
201
+ completed: "completed";
202
+ failed: "failed";
203
+ completed_with_errors: "completed_with_errors";
204
+ }>;
205
+ operations: z.ZodArray<z.ZodObject<{
206
+ toolId: z.ZodString;
207
+ status: z.ZodEnum<{
208
+ failed: "failed";
209
+ succeeded: "succeeded";
210
+ delegated: "delegated";
211
+ }>;
212
+ message: z.ZodOptional<z.ZodString>;
213
+ bulkOperationId: z.ZodOptional<z.ZodUUID>;
214
+ summary: z.ZodOptional<z.ZodObject<{
215
+ total: z.ZodNumber;
216
+ succeeded: z.ZodNumber;
217
+ failed: z.ZodNumber;
218
+ failures: z.ZodOptional<z.ZodArray<z.ZodObject<{
219
+ id: z.ZodString;
220
+ label: z.ZodOptional<z.ZodString>;
221
+ reason: z.ZodString;
222
+ }, z.core.$strip>>>;
223
+ }, z.core.$strip>>;
224
+ }, z.core.$strip>>;
225
+ }, z.core.$strip>>;
226
+ error: z.ZodNullable<z.ZodString>;
227
+ bulkOperationId: z.ZodNullable<z.ZodUUID>;
228
+ expiresAt: z.ZodNullable<z.ZodISODateTime>;
229
+ seenAt: z.ZodNullable<z.ZodISODateTime>;
230
+ createdAt: z.ZodISODateTime;
231
+ }, z.core.$strip>;
232
+ export type PromptActionRequestDto = z.infer<typeof PromptActionRequestDtoSchema>;
233
+ export declare const PromptActionRequestResponseSchema: z.ZodObject<{
234
+ data: z.ZodObject<{
235
+ id: z.ZodUUID;
236
+ status: z.ZodEnum<{
237
+ completed: "completed";
238
+ cancelled: "cancelled";
239
+ failed: "failed";
240
+ expired: "expired";
241
+ interpreting: "interpreting";
242
+ awaiting_confirmation: "awaiting_confirmation";
243
+ needs_clarification: "needs_clarification";
244
+ unsupported: "unsupported";
245
+ refused: "refused";
246
+ executing: "executing";
247
+ completed_with_errors: "completed_with_errors";
248
+ }>;
249
+ prompt: z.ZodString;
250
+ plan: z.ZodNullable<z.ZodObject<{
251
+ summary: z.ZodString;
252
+ operations: z.ZodArray<z.ZodObject<{
253
+ toolId: z.ZodString;
254
+ moduleId: z.ZodString;
255
+ params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
256
+ requiredPermission: z.ZodString;
257
+ preview: z.ZodObject<{
258
+ headline: z.ZodString;
259
+ current: z.ZodOptional<z.ZodUnknown>;
260
+ affectedCount: z.ZodNumber;
261
+ sample: z.ZodOptional<z.ZodArray<z.ZodObject<{
262
+ id: z.ZodString;
263
+ label: z.ZodString;
264
+ }, z.core.$strip>>>;
265
+ }, z.core.$strip>;
266
+ }, z.core.$strip>>;
267
+ bulkLimit: z.ZodNumber;
268
+ }, z.core.$strip>>;
269
+ clarification: z.ZodNullable<z.ZodObject<{
270
+ question: z.ZodString;
271
+ kind: z.ZodEnum<{
272
+ entity_choice: "entity_choice";
273
+ free_text: "free_text";
274
+ }>;
275
+ candidates: z.ZodOptional<z.ZodArray<z.ZodObject<{
276
+ id: z.ZodString;
277
+ label: z.ZodString;
278
+ hint: z.ZodOptional<z.ZodString>;
279
+ }, z.core.$strip>>>;
280
+ }, z.core.$strip>>;
281
+ result: z.ZodNullable<z.ZodObject<{
282
+ outcome: z.ZodEnum<{
283
+ completed: "completed";
284
+ failed: "failed";
285
+ completed_with_errors: "completed_with_errors";
286
+ }>;
287
+ operations: z.ZodArray<z.ZodObject<{
288
+ toolId: z.ZodString;
289
+ status: z.ZodEnum<{
290
+ failed: "failed";
291
+ succeeded: "succeeded";
292
+ delegated: "delegated";
293
+ }>;
294
+ message: z.ZodOptional<z.ZodString>;
295
+ bulkOperationId: z.ZodOptional<z.ZodUUID>;
296
+ summary: z.ZodOptional<z.ZodObject<{
297
+ total: z.ZodNumber;
298
+ succeeded: z.ZodNumber;
299
+ failed: z.ZodNumber;
300
+ failures: z.ZodOptional<z.ZodArray<z.ZodObject<{
301
+ id: z.ZodString;
302
+ label: z.ZodOptional<z.ZodString>;
303
+ reason: z.ZodString;
304
+ }, z.core.$strip>>>;
305
+ }, z.core.$strip>>;
306
+ }, z.core.$strip>>;
307
+ }, z.core.$strip>>;
308
+ error: z.ZodNullable<z.ZodString>;
309
+ bulkOperationId: z.ZodNullable<z.ZodUUID>;
310
+ expiresAt: z.ZodNullable<z.ZodISODateTime>;
311
+ seenAt: z.ZodNullable<z.ZodISODateTime>;
312
+ createdAt: z.ZodISODateTime;
313
+ }, z.core.$strip>;
314
+ }, z.core.$strip>;
315
+ export declare const PromptActionListQuerySchema: z.ZodObject<{
316
+ unseen: z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"true">, z.ZodLiteral<"false">]>>, z.ZodTransform<boolean, "true" | "false" | undefined>>;
317
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
318
+ }, z.core.$strip>;
319
+ export declare const PromptActionListResponseSchema: z.ZodObject<{
320
+ data: z.ZodArray<z.ZodObject<{
321
+ id: z.ZodUUID;
322
+ status: z.ZodEnum<{
323
+ completed: "completed";
324
+ cancelled: "cancelled";
325
+ failed: "failed";
326
+ expired: "expired";
327
+ interpreting: "interpreting";
328
+ awaiting_confirmation: "awaiting_confirmation";
329
+ needs_clarification: "needs_clarification";
330
+ unsupported: "unsupported";
331
+ refused: "refused";
332
+ executing: "executing";
333
+ completed_with_errors: "completed_with_errors";
334
+ }>;
335
+ prompt: z.ZodString;
336
+ plan: z.ZodNullable<z.ZodObject<{
337
+ summary: z.ZodString;
338
+ operations: z.ZodArray<z.ZodObject<{
339
+ toolId: z.ZodString;
340
+ moduleId: z.ZodString;
341
+ params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
342
+ requiredPermission: z.ZodString;
343
+ preview: z.ZodObject<{
344
+ headline: z.ZodString;
345
+ current: z.ZodOptional<z.ZodUnknown>;
346
+ affectedCount: z.ZodNumber;
347
+ sample: z.ZodOptional<z.ZodArray<z.ZodObject<{
348
+ id: z.ZodString;
349
+ label: z.ZodString;
350
+ }, z.core.$strip>>>;
351
+ }, z.core.$strip>;
352
+ }, z.core.$strip>>;
353
+ bulkLimit: z.ZodNumber;
354
+ }, z.core.$strip>>;
355
+ clarification: z.ZodNullable<z.ZodObject<{
356
+ question: z.ZodString;
357
+ kind: z.ZodEnum<{
358
+ entity_choice: "entity_choice";
359
+ free_text: "free_text";
360
+ }>;
361
+ candidates: z.ZodOptional<z.ZodArray<z.ZodObject<{
362
+ id: z.ZodString;
363
+ label: z.ZodString;
364
+ hint: z.ZodOptional<z.ZodString>;
365
+ }, z.core.$strip>>>;
366
+ }, z.core.$strip>>;
367
+ result: z.ZodNullable<z.ZodObject<{
368
+ outcome: z.ZodEnum<{
369
+ completed: "completed";
370
+ failed: "failed";
371
+ completed_with_errors: "completed_with_errors";
372
+ }>;
373
+ operations: z.ZodArray<z.ZodObject<{
374
+ toolId: z.ZodString;
375
+ status: z.ZodEnum<{
376
+ failed: "failed";
377
+ succeeded: "succeeded";
378
+ delegated: "delegated";
379
+ }>;
380
+ message: z.ZodOptional<z.ZodString>;
381
+ bulkOperationId: z.ZodOptional<z.ZodUUID>;
382
+ summary: z.ZodOptional<z.ZodObject<{
383
+ total: z.ZodNumber;
384
+ succeeded: z.ZodNumber;
385
+ failed: z.ZodNumber;
386
+ failures: z.ZodOptional<z.ZodArray<z.ZodObject<{
387
+ id: z.ZodString;
388
+ label: z.ZodOptional<z.ZodString>;
389
+ reason: z.ZodString;
390
+ }, z.core.$strip>>>;
391
+ }, z.core.$strip>>;
392
+ }, z.core.$strip>>;
393
+ }, z.core.$strip>>;
394
+ error: z.ZodNullable<z.ZodString>;
395
+ bulkOperationId: z.ZodNullable<z.ZodUUID>;
396
+ expiresAt: z.ZodNullable<z.ZodISODateTime>;
397
+ seenAt: z.ZodNullable<z.ZodISODateTime>;
398
+ createdAt: z.ZodISODateTime;
399
+ }, z.core.$strip>>;
400
+ }, z.core.$strip>;
401
+ export declare const SearchProductsParamsSchema: z.ZodObject<{
402
+ q: z.ZodString;
403
+ limit: z.ZodOptional<z.ZodNumber>;
404
+ }, z.core.$strip>;
405
+ export type SearchProductsParams = z.infer<typeof SearchProductsParamsSchema>;
406
+ export declare const SearchCategoriesParamsSchema: z.ZodObject<{
407
+ q: z.ZodString;
408
+ }, z.core.$strip>;
409
+ export type SearchCategoriesParams = z.infer<typeof SearchCategoriesParamsSchema>;
410
+ export declare const SearchWarehousesParamsSchema: z.ZodObject<{
411
+ q: z.ZodString;
412
+ }, z.core.$strip>;
413
+ export type SearchWarehousesParams = z.infer<typeof SearchWarehousesParamsSchema>;
414
+ export declare const SetStockLevelParamsSchema: z.ZodObject<{
415
+ productId: z.ZodUUID;
416
+ warehouseId: z.ZodUUID;
417
+ quantity: z.ZodNumber;
418
+ }, z.core.$strip>;
419
+ export type SetStockLevelParams = z.infer<typeof SetStockLevelParamsSchema>;
420
+ export declare const AssignProductsToCategoryParamsSchema: z.ZodObject<{
421
+ productIds: z.ZodArray<z.ZodUUID>;
422
+ categoryId: z.ZodUUID;
423
+ }, z.core.$strip>;
424
+ export type AssignProductsToCategoryParams = z.infer<typeof AssignProductsToCategoryParamsSchema>;
425
+ export declare const RemoveProductsFromCategoryParamsSchema: z.ZodObject<{
426
+ productIds: z.ZodArray<z.ZodUUID>;
427
+ categoryId: z.ZodUUID;
428
+ }, z.core.$strip>;
429
+ export type RemoveProductsFromCategoryParams = z.infer<typeof RemoveProductsFromCategoryParamsSchema>;
430
+ export declare const SearchOrdersParamsSchema: z.ZodObject<{
431
+ q: z.ZodString;
432
+ }, z.core.$strip>;
433
+ export type SearchOrdersParams = z.infer<typeof SearchOrdersParamsSchema>;
434
+ export declare const SetProductStatusParamsSchema: z.ZodObject<{
435
+ productIds: z.ZodArray<z.ZodUUID>;
436
+ status: z.ZodEnum<{
437
+ active: "active";
438
+ inactive: "inactive";
439
+ draft: "draft";
440
+ }>;
441
+ }, z.core.$strip>;
442
+ export type SetProductStatusParams = z.infer<typeof SetProductStatusParamsSchema>;
443
+ export declare const SetProductsVisibilityParamsSchema: z.ZodObject<{
444
+ productIds: z.ZodArray<z.ZodUUID>;
445
+ visibility: z.ZodEnum<{
446
+ public: "public";
447
+ logged_in_only: "logged_in_only";
448
+ organization_restricted: "organization_restricted";
449
+ }>;
450
+ }, z.core.$strip>;
451
+ export type SetProductsVisibilityParams = z.infer<typeof SetProductsVisibilityParamsSchema>;
452
+ export declare const SetOrderStatusParamsSchema: z.ZodObject<{
453
+ orderId: z.ZodUUID;
454
+ toStatusCode: z.ZodString;
455
+ reason: z.ZodOptional<z.ZodString>;
456
+ }, z.core.$strip>;
457
+ export type SetOrderStatusParams = z.infer<typeof SetOrderStatusParamsSchema>;
458
+ export declare const BulkSetOrderStatusParamsSchema: z.ZodObject<{
459
+ orderIds: z.ZodArray<z.ZodUUID>;
460
+ toStatusCode: z.ZodString;
461
+ reason: z.ZodOptional<z.ZodString>;
462
+ }, z.core.$strip>;
463
+ export type BulkSetOrderStatusParams = z.infer<typeof BulkSetOrderStatusParamsSchema>;
464
+ /** Who is running a tool, for the audit entry the mutation writes. */
465
+ export interface ToolAuditContext {
466
+ ipAddress?: string | null;
467
+ userAgent?: string | null;
468
+ requestId?: string | null;
469
+ }
470
+ /** The tool as the LLM is told about it. Derived from the tool's `paramsSchema`. */
471
+ export interface LlmToolDefinition {
472
+ name: string;
473
+ description: string;
474
+ /** JSON Schema for the tool arguments. */
475
+ inputSchema: Record<string, unknown>;
476
+ }
477
+ /**
478
+ * What decides whether a tool is offered at all: the caller's permissions and
479
+ * the module's presence.
480
+ *
481
+ * Both questions, not one. A tool whose module is switched off must not be
482
+ * advertised even to an admin who holds its permission — Constitution XVII
483
+ * rule 5 — and a tool whose module is present must not be advertised to
484
+ * somebody who would get a 403 running it.
485
+ */
486
+ export interface ToolVisibilityContext {
487
+ hasPermission(permission: string): Promise<boolean>;
488
+ isModuleInstalled(moduleId: string): Promise<boolean>;
489
+ }
490
+ /**
491
+ * What a tool is told about the operator running it (D-75).
492
+ *
493
+ * Three fields, and no unit of work: a preview reads committed rows through the
494
+ * contributing module's own `emFactory`, and an execution goes through that
495
+ * module's own audited service. `requestId` is the prompt request's id, which a
496
+ * tool uses for correlation and never to load the row.
497
+ */
498
+ export interface ToolContext {
499
+ adminUserId: string;
500
+ requestId: string;
501
+ auditCtx: ToolAuditContext;
502
+ }
503
+ /**
504
+ * A tool a module contributes to the assistant's catalogue.
505
+ *
506
+ * `paramsSchema` is a Zod schema and stays one: `zod` is this package's only
507
+ * dependency, and the schema is the single source both for validating what the
508
+ * model proposed and for the provider-facing JSON Schema.
509
+ *
510
+ * Registration rules, enforced by the host at `register`: `id` is
511
+ * `<moduleId>.<snake_case_name>` and unique, `requiredPermission` mirrors the
512
+ * permission guarding the equivalent manual admin route, and a mutation MUST
513
+ * implement `preview()` — a confirmable plan renders server-computed facts
514
+ * only.
515
+ */
516
+ export interface PromptActionTool<P = unknown> {
517
+ /** `<moduleId>.<snake_case_name>` */
518
+ id: string;
519
+ moduleId: string;
520
+ kind: 'resolver' | 'mutation';
521
+ /** English, action-oriented — this is the LLM's only documentation. */
522
+ description: string;
523
+ requiredPermission: string;
524
+ paramsSchema: z.ZodType<P>;
525
+ /** Resolvers run during interpretation; mutations only at confirm time. */
526
+ execute(params: P, ctx: ToolContext): Promise<unknown>;
527
+ /** Mutations only: server-computed preview shown in the confirmable plan. */
528
+ preview?(params: P, ctx: ToolContext): Promise<OperationPreview>;
529
+ }
530
+ /**
531
+ * Container name: `promptActionToolRegistry`. Owner: `prompt_actions`.
532
+ *
533
+ * The **contribution** shape, in the idiom `GatewayRefundRegistryPort` and
534
+ * `PaymentAdapterRegistryPort` already use: the host keeps the class, a
535
+ * contributor names the interface. That is what lets `catalog`, `inventory` and
536
+ * `orders` type their cradle entry without importing `prompt_actions`.
537
+ *
538
+ * Deliberately **not** a gated port. A contributor pushes from its own boot
539
+ * hook, and gating the push would turn an operator's deactivation into an entry
540
+ * missing until the next restart; the presence question is answered by the host
541
+ * at enumeration, keyed on the module recorded with each tool.
542
+ */
543
+ export interface PromptActionToolRegistryPort {
544
+ register<P>(tool: PromptActionTool<P>): void;
545
+ }
546
+ /**
547
+ * What a long-running bulk operation has done so far, as its owner reports it
548
+ * (D-76).
549
+ *
550
+ * Data out, and nothing else. The previous shape handed the contributor
551
+ * `prompt_actions`' request entity and let it write `row.status`, `row.error`
552
+ * and `row.result`: whether a prompt request is `completed`, `failed` or
553
+ * `completed_with_errors` is the host's state machine, and what a bulk
554
+ * operation did is the contributor's fact. This is the fact.
555
+ */
556
+ export interface BulkProgressSnapshot {
557
+ total: number;
558
+ succeeded: number;
559
+ failed: number;
560
+ failures: Array<{
561
+ id: string;
562
+ reason: string;
563
+ }>;
564
+ /** `null` while the run is still going. */
565
+ terminal: 'completed' | 'failed' | null;
566
+ error?: string | null;
567
+ }
568
+ /** Reads live progress for one bulk operation, or `null` when it knows none. */
569
+ export type BulkProgressReader = (bulkOperationId: string) => Promise<BulkProgressSnapshot | null>;
570
+ /**
571
+ * Container name: `promptActionBulkProgressRegistry`. Owner: `prompt_actions`.
572
+ *
573
+ * The same contribution idiom as {@link PromptActionToolRegistryPort}, and
574
+ * ungated for the same reason. The host states its absent-owner policy at the
575
+ * class: an absent contributor's reader is skipped, so the request reports no
576
+ * progress — which is exactly what a deployment shipping no contributor has
577
+ * always seen.
578
+ */
579
+ export interface PromptActionBulkProgressRegistryPort {
580
+ register(moduleId: string, read: BulkProgressReader): void;
581
+ }
582
+ //# sourceMappingURL=prompt-actions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version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