wiil-core-js 0.0.82

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 (261) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +174 -0
  3. package/dist/core/account/index.d.ts +7 -0
  4. package/dist/core/account/index.js +23 -0
  5. package/dist/core/account/organization.schema.d.ts +118 -0
  6. package/dist/core/account/organization.schema.js +91 -0
  7. package/dist/core/account/project.schema.d.ts +121 -0
  8. package/dist/core/account/project.schema.js +102 -0
  9. package/dist/core/account/supported-business-verticals.d.ts +8 -0
  10. package/dist/core/account/supported-business-verticals.js +23 -0
  11. package/dist/core/assistant-setups/assistant-setup-result.schema.d.ts +115 -0
  12. package/dist/core/assistant-setups/assistant-setup-result.schema.js +17 -0
  13. package/dist/core/assistant-setups/base-assistant-setup.schema.d.ts +61 -0
  14. package/dist/core/assistant-setups/base-assistant-setup.schema.js +29 -0
  15. package/dist/core/assistant-setups/index.d.ts +4 -0
  16. package/dist/core/assistant-setups/index.js +21 -0
  17. package/dist/core/assistant-setups/phone-assistant-setup.schema.d.ts +63 -0
  18. package/dist/core/assistant-setups/phone-assistant-setup.schema.js +14 -0
  19. package/dist/core/assistant-setups/web-assitant-setup.schema.d.ts +56 -0
  20. package/dist/core/assistant-setups/web-assitant-setup.schema.js +17 -0
  21. package/dist/core/base.schema.d.ts +34 -0
  22. package/dist/core/base.schema.js +36 -0
  23. package/dist/core/business-mgt/appointment-additional-info.schema.d.ts +63 -0
  24. package/dist/core/business-mgt/appointment-additional-info.schema.js +53 -0
  25. package/dist/core/business-mgt/appointment-field-config.schema.d.ts +251 -0
  26. package/dist/core/business-mgt/appointment-field-config.schema.js +49 -0
  27. package/dist/core/business-mgt/bookings.shared.schema.d.ts +47 -0
  28. package/dist/core/business-mgt/bookings.shared.schema.js +60 -0
  29. package/dist/core/business-mgt/business-location.schema.d.ts +327 -0
  30. package/dist/core/business-mgt/business-location.schema.js +176 -0
  31. package/dist/core/business-mgt/customer-management/customer-group.schema.d.ts +87 -0
  32. package/dist/core/business-mgt/customer-management/customer-group.schema.js +53 -0
  33. package/dist/core/business-mgt/customer-management/customer.schema.d.ts +156 -0
  34. package/dist/core/business-mgt/customer-management/customer.schema.js +93 -0
  35. package/dist/core/business-mgt/customer-management/index.d.ts +7 -0
  36. package/dist/core/business-mgt/customer-management/index.js +23 -0
  37. package/dist/core/business-mgt/customer-management/shipping-address.schema.d.ts +112 -0
  38. package/dist/core/business-mgt/customer-management/shipping-address.schema.js +79 -0
  39. package/dist/core/business-mgt/customer.schema.d.ts +111 -0
  40. package/dist/core/business-mgt/customer.schema.js +73 -0
  41. package/dist/core/business-mgt/discount-rule.schema.d.ts +183 -0
  42. package/dist/core/business-mgt/discount-rule.schema.js +108 -0
  43. package/dist/core/business-mgt/index.d.ts +16 -0
  44. package/dist/core/business-mgt/index.js +38 -0
  45. package/dist/core/business-mgt/menu-config.schema.d.ts +165 -0
  46. package/dist/core/business-mgt/menu-config.schema.js +86 -0
  47. package/dist/core/business-mgt/menu-management/index.d.ts +11 -0
  48. package/dist/core/business-mgt/menu-management/index.js +27 -0
  49. package/dist/core/business-mgt/menu-management/menu-catalog.schema.d.ts +386 -0
  50. package/dist/core/business-mgt/menu-management/menu-catalog.schema.js +58 -0
  51. package/dist/core/business-mgt/menu-management/menu-config.schema.d.ts +301 -0
  52. package/dist/core/business-mgt/menu-management/menu-config.schema.js +169 -0
  53. package/dist/core/business-mgt/menu-management/menu-item-variant.schema.d.ts +143 -0
  54. package/dist/core/business-mgt/menu-management/menu-item-variant.schema.js +86 -0
  55. package/dist/core/business-mgt/menu-management/menu-pricing-rule.schema.d.ts +239 -0
  56. package/dist/core/business-mgt/menu-management/menu-pricing-rule.schema.js +117 -0
  57. package/dist/core/business-mgt/menu-management/menu-set.schema.d.ts +420 -0
  58. package/dist/core/business-mgt/menu-management/menu-set.schema.js +283 -0
  59. package/dist/core/business-mgt/menu-management/menu.order.schema.d.ts +654 -0
  60. package/dist/core/business-mgt/menu-management/menu.order.schema.js +204 -0
  61. package/dist/core/business-mgt/menu-management/modifier.schema.d.ts +585 -0
  62. package/dist/core/business-mgt/menu-management/modifier.schema.js +341 -0
  63. package/dist/core/business-mgt/menu.order.schema.d.ts +335 -0
  64. package/dist/core/business-mgt/menu.order.schema.js +149 -0
  65. package/dist/core/business-mgt/order.schema.d.ts +222 -0
  66. package/dist/core/business-mgt/order.schema.js +205 -0
  67. package/dist/core/business-mgt/pricing-rule.shared.schema.d.ts +56 -0
  68. package/dist/core/business-mgt/pricing-rule.shared.schema.js +68 -0
  69. package/dist/core/business-mgt/product-config.schema.d.ts +177 -0
  70. package/dist/core/business-mgt/product-config.schema.js +106 -0
  71. package/dist/core/business-mgt/product-management/index.d.ts +12 -0
  72. package/dist/core/business-mgt/product-management/index.js +28 -0
  73. package/dist/core/business-mgt/product-management/product-axis-binding.schema.d.ts +54 -0
  74. package/dist/core/business-mgt/product-management/product-axis-binding.schema.js +54 -0
  75. package/dist/core/business-mgt/product-management/product-config.schema.d.ts +1042 -0
  76. package/dist/core/business-mgt/product-management/product-config.schema.js +392 -0
  77. package/dist/core/business-mgt/product-management/product-display.schema.d.ts +548 -0
  78. package/dist/core/business-mgt/product-management/product-display.schema.js +80 -0
  79. package/dist/core/business-mgt/product-management/product-order.schema.d.ts +493 -0
  80. package/dist/core/business-mgt/product-management/product-order.schema.js +158 -0
  81. package/dist/core/business-mgt/product-management/product-pricing-rule.schema.d.ts +167 -0
  82. package/dist/core/business-mgt/product-management/product-pricing-rule.schema.js +68 -0
  83. package/dist/core/business-mgt/product-management/product-set.schema.d.ts +488 -0
  84. package/dist/core/business-mgt/product-management/product-set.schema.js +273 -0
  85. package/dist/core/business-mgt/product-management/product-variant-axis.schema.d.ts +156 -0
  86. package/dist/core/business-mgt/product-management/product-variant-axis.schema.js +98 -0
  87. package/dist/core/business-mgt/product-management/product-variant.schema.d.ts +219 -0
  88. package/dist/core/business-mgt/product-management/product-variant.schema.js +130 -0
  89. package/dist/core/business-mgt/product-order.schema.d.ts +326 -0
  90. package/dist/core/business-mgt/product-order.schema.js +153 -0
  91. package/dist/core/business-mgt/property-config.schema.d.ts +621 -0
  92. package/dist/core/business-mgt/property-config.schema.js +224 -0
  93. package/dist/core/business-mgt/property-inquiry.schema.d.ts +222 -0
  94. package/dist/core/business-mgt/property-inquiry.schema.js +112 -0
  95. package/dist/core/business-mgt/property-management/index.d.ts +6 -0
  96. package/dist/core/business-mgt/property-management/index.js +22 -0
  97. package/dist/core/business-mgt/property-management/property-config.schema.d.ts +1306 -0
  98. package/dist/core/business-mgt/property-management/property-config.schema.js +367 -0
  99. package/dist/core/business-mgt/property-management/property-inquiry.schema.d.ts +254 -0
  100. package/dist/core/business-mgt/property-management/property-inquiry.schema.js +131 -0
  101. package/dist/core/business-mgt/reservation-mgt/assignment/index.d.ts +3 -0
  102. package/dist/core/business-mgt/reservation-mgt/assignment/index.js +19 -0
  103. package/dist/core/business-mgt/reservation-mgt/assignment/reservation-rental-assignment.schema.d.ts +139 -0
  104. package/dist/core/business-mgt/reservation-mgt/assignment/reservation-rental-assignment.schema.js +90 -0
  105. package/dist/core/business-mgt/reservation-mgt/assignment/reservation-room-assignment.schema.d.ts +104 -0
  106. package/dist/core/business-mgt/reservation-mgt/assignment/reservation-room-assignment.schema.js +70 -0
  107. package/dist/core/business-mgt/reservation-mgt/assignment/reservation-table-assignment.schema.d.ts +104 -0
  108. package/dist/core/business-mgt/reservation-mgt/assignment/reservation-table-assignment.schema.js +72 -0
  109. package/dist/core/business-mgt/reservation-mgt/index.d.ts +14 -0
  110. package/dist/core/business-mgt/reservation-mgt/index.js +31 -0
  111. package/dist/core/business-mgt/reservation-mgt/reservation-floor-plan-definition.schema.d.ts +180 -0
  112. package/dist/core/business-mgt/reservation-mgt/reservation-floor-plan-definition.schema.js +75 -0
  113. package/dist/core/business-mgt/reservation-mgt/reservation-maintenance-block.schema.d.ts +91 -0
  114. package/dist/core/business-mgt/reservation-mgt/reservation-maintenance-block.schema.js +57 -0
  115. package/dist/core/business-mgt/reservation-mgt/reservation-rental.schema.d.ts +334 -0
  116. package/dist/core/business-mgt/reservation-mgt/reservation-rental.schema.js +179 -0
  117. package/dist/core/business-mgt/reservation-mgt/reservation-room.schema.d.ts +195 -0
  118. package/dist/core/business-mgt/reservation-mgt/reservation-room.schema.js +106 -0
  119. package/dist/core/business-mgt/reservation-mgt/reservation-section.schema.d.ts +402 -0
  120. package/dist/core/business-mgt/reservation-mgt/reservation-section.schema.js +198 -0
  121. package/dist/core/business-mgt/reservation-mgt/reservation-settings.schema.d.ts +229 -0
  122. package/dist/core/business-mgt/reservation-mgt/reservation-settings.schema.js +127 -0
  123. package/dist/core/business-mgt/reservation-mgt/reservation-slot-query.schema.d.ts +382 -0
  124. package/dist/core/business-mgt/reservation-mgt/reservation-slot-query.schema.js +322 -0
  125. package/dist/core/business-mgt/reservation-mgt/reservation-table-layout.schema.d.ts +123 -0
  126. package/dist/core/business-mgt/reservation-mgt/reservation-table-layout.schema.js +83 -0
  127. package/dist/core/business-mgt/reservation-mgt/reservation-table.schema.d.ts +167 -0
  128. package/dist/core/business-mgt/reservation-mgt/reservation-table.schema.js +84 -0
  129. package/dist/core/business-mgt/reservation-mgt/reservation.schema.d.ts +0 -0
  130. package/dist/core/business-mgt/reservation-mgt/reservation.schema.js +153 -0
  131. package/dist/core/business-mgt/reservation-mgt/resource/index.d.ts +4 -0
  132. package/dist/core/business-mgt/reservation-mgt/resource/index.js +20 -0
  133. package/dist/core/business-mgt/reservation-mgt/resource/reservation-resource-category.schema.d.ts +157 -0
  134. package/dist/core/business-mgt/reservation-mgt/resource/reservation-resource-category.schema.js +76 -0
  135. package/dist/core/business-mgt/reservation-mgt/resource/reservation-resource-instance.schema.d.ts +137 -0
  136. package/dist/core/business-mgt/reservation-mgt/resource/reservation-resource-instance.schema.js +94 -0
  137. package/dist/core/business-mgt/reservation-mgt/resource/reservation-resource.schema.d.ts +713 -0
  138. package/dist/core/business-mgt/reservation-mgt/resource/reservation-resource.schema.js +363 -0
  139. package/dist/core/business-mgt/reservation-mgt/resource/resource-versioning.schema.d.ts +151 -0
  140. package/dist/core/business-mgt/reservation-mgt/resource/resource-versioning.schema.js +147 -0
  141. package/dist/core/business-mgt/reservation-resource.schema.d.ts +154 -0
  142. package/dist/core/business-mgt/reservation-resource.schema.js +100 -0
  143. package/dist/core/business-mgt/reservation.schema.d.ts +119 -0
  144. package/dist/core/business-mgt/reservation.schema.js +89 -0
  145. package/dist/core/business-mgt/service-appointment.schema.d.ts +105 -0
  146. package/dist/core/business-mgt/service-appointment.schema.js +69 -0
  147. package/dist/core/business-mgt/service-config.schema.d.ts +453 -0
  148. package/dist/core/business-mgt/service-config.schema.js +102 -0
  149. package/dist/core/business-mgt/service-management/appointment-additional-info.schema.d.ts +110 -0
  150. package/dist/core/business-mgt/service-management/appointment-additional-info.schema.js +78 -0
  151. package/dist/core/business-mgt/service-management/appointment-field-config.schema.d.ts +304 -0
  152. package/dist/core/business-mgt/service-management/appointment-field-config.schema.js +75 -0
  153. package/dist/core/business-mgt/service-management/business-service-config.schema.d.ts +1226 -0
  154. package/dist/core/business-mgt/service-management/business-service-config.schema.js +317 -0
  155. package/dist/core/business-mgt/service-management/index.d.ts +13 -0
  156. package/dist/core/business-mgt/service-management/index.js +29 -0
  157. package/dist/core/business-mgt/service-management/service-appointment.schema.d.ts +531 -0
  158. package/dist/core/business-mgt/service-management/service-appointment.schema.js +116 -0
  159. package/dist/core/business-mgt/service-management/service-person.schema.d.ts +122 -0
  160. package/dist/core/business-mgt/service-management/service-person.schema.js +66 -0
  161. package/dist/core/business-mgt/service-management/service-pricing-rule.schema.d.ts +221 -0
  162. package/dist/core/business-mgt/service-management/service-pricing-rule.schema.js +118 -0
  163. package/dist/core/business-mgt/service-management/service-provider.schema.d.ts +90 -0
  164. package/dist/core/business-mgt/service-management/service-provider.schema.js +54 -0
  165. package/dist/core/business-mgt/service-management/service-slot-query.schema.d.ts +90 -0
  166. package/dist/core/business-mgt/service-management/service-slot-query.schema.js +113 -0
  167. package/dist/core/business-mgt/service-management/service-time-off.schema.d.ts +121 -0
  168. package/dist/core/business-mgt/service-management/service-time-off.schema.js +95 -0
  169. package/dist/core/business-mgt/service-person.schema.d.ts +43 -0
  170. package/dist/core/business-mgt/service-person.schema.js +38 -0
  171. package/dist/core/business-mgt/tax-rule.schema.d.ts +161 -0
  172. package/dist/core/business-mgt/tax-rule.schema.js +90 -0
  173. package/dist/core/conversation/conversation-config.schema.d.ts +644 -0
  174. package/dist/core/conversation/conversation-config.schema.js +351 -0
  175. package/dist/core/conversation/conversation-message.schema.d.ts +307 -0
  176. package/dist/core/conversation/conversation-message.schema.js +275 -0
  177. package/dist/core/conversation/index.d.ts +12 -0
  178. package/dist/core/conversation/index.js +28 -0
  179. package/dist/core/conversation/outbound-call.schema.d.ts +209 -0
  180. package/dist/core/conversation/outbound-call.schema.js +116 -0
  181. package/dist/core/conversation/outbound-email.schema.d.ts +338 -0
  182. package/dist/core/conversation/outbound-email.schema.js +150 -0
  183. package/dist/core/conversation/outbound-sms.schema.d.ts +163 -0
  184. package/dist/core/conversation/outbound-sms.schema.js +85 -0
  185. package/dist/core/conversation/outbound-template.schema.d.ts +375 -0
  186. package/dist/core/conversation/outbound-template.schema.js +160 -0
  187. package/dist/core/conversation/translation-config.schema.d.ts +92 -0
  188. package/dist/core/conversation/translation-config.schema.js +88 -0
  189. package/dist/core/conversation/translation-conversation.schema.d.ts +469 -0
  190. package/dist/core/conversation/translation-conversation.schema.js +175 -0
  191. package/dist/core/index.d.ts +12 -0
  192. package/dist/core/index.js +30 -0
  193. package/dist/core/service-configuration/agent-config.schema.d.ts +236 -0
  194. package/dist/core/service-configuration/agent-config.schema.js +152 -0
  195. package/dist/core/service-configuration/base-agent-setup.d.ts +147 -0
  196. package/dist/core/service-configuration/base-agent-setup.js +123 -0
  197. package/dist/core/service-configuration/call-transfer-config.schema.d.ts +60 -0
  198. package/dist/core/service-configuration/call-transfer-config.schema.js +53 -0
  199. package/dist/core/service-configuration/deployment-config.schema.d.ts +522 -0
  200. package/dist/core/service-configuration/deployment-config.schema.js +271 -0
  201. package/dist/core/service-configuration/dynamic_setup/base-agent-setup.d.ts +130 -0
  202. package/dist/core/service-configuration/dynamic_setup/base-agent-setup.js +110 -0
  203. package/dist/core/service-configuration/dynamic_setup/index.d.ts +10 -0
  204. package/dist/core/service-configuration/dynamic_setup/index.js +26 -0
  205. package/dist/core/service-configuration/dynamic_setup/phone-agent-setup.d.ts +111 -0
  206. package/dist/core/service-configuration/dynamic_setup/phone-agent-setup.js +56 -0
  207. package/dist/core/service-configuration/dynamic_setup/web-agent-setup.d.ts +113 -0
  208. package/dist/core/service-configuration/dynamic_setup/web-agent-setup.js +55 -0
  209. package/dist/core/service-configuration/index.d.ts +17 -0
  210. package/dist/core/service-configuration/index.js +33 -0
  211. package/dist/core/service-configuration/instruction-config.schema.d.ts +183 -0
  212. package/dist/core/service-configuration/instruction-config.schema.js +139 -0
  213. package/dist/core/service-configuration/interaction-channels.schema.d.ts +469 -0
  214. package/dist/core/service-configuration/interaction-channels.schema.js +390 -0
  215. package/dist/core/service-configuration/knowledge.schema.d.ts +107 -0
  216. package/dist/core/service-configuration/knowledge.schema.js +106 -0
  217. package/dist/core/service-configuration/phone-config.schema.d.ts +206 -0
  218. package/dist/core/service-configuration/phone-config.schema.js +121 -0
  219. package/dist/core/service-configuration/phone-number.schema.d.ts +236 -0
  220. package/dist/core/service-configuration/phone-number.schema.js +211 -0
  221. package/dist/core/service-configuration/provisioning-config.d.ts +429 -0
  222. package/dist/core/service-configuration/provisioning-config.js +307 -0
  223. package/dist/core/service-configuration/support-llm.d.ts +95 -0
  224. package/dist/core/service-configuration/support-llm.js +76 -0
  225. package/dist/core/service-configuration/voice-language.schema.d.ts +200 -0
  226. package/dist/core/service-configuration/voice-language.schema.js +166 -0
  227. package/dist/core/type-definitions/account-definitions.d.ts +82 -0
  228. package/dist/core/type-definitions/account-definitions.js +88 -0
  229. package/dist/core/type-definitions/business-definitions.d.ts +394 -0
  230. package/dist/core/type-definitions/business-definitions.js +447 -0
  231. package/dist/core/type-definitions/conversation.type.definition.d.ts +223 -0
  232. package/dist/core/type-definitions/conversation.type.definition.js +236 -0
  233. package/dist/core/type-definitions/display-order.d.ts +154 -0
  234. package/dist/core/type-definitions/display-order.js +154 -0
  235. package/dist/core/type-definitions/dynamic-fields/field-definition.schema.d.ts +165 -0
  236. package/dist/core/type-definitions/dynamic-fields/field-definition.schema.js +97 -0
  237. package/dist/core/type-definitions/dynamic-fields/field-types.d.ts +49 -0
  238. package/dist/core/type-definitions/dynamic-fields/field-types.js +104 -0
  239. package/dist/core/type-definitions/dynamic-fields/index.d.ts +9 -0
  240. package/dist/core/type-definitions/dynamic-fields/index.js +25 -0
  241. package/dist/core/type-definitions/index.d.ts +10 -0
  242. package/dist/core/type-definitions/index.js +26 -0
  243. package/dist/core/type-definitions/knowledge-definitions.d.ts +30 -0
  244. package/dist/core/type-definitions/knowledge-definitions.js +37 -0
  245. package/dist/core/type-definitions/service-config.definitions.d.ts +112 -0
  246. package/dist/core/type-definitions/service-config.definitions.js +135 -0
  247. package/dist/core/validators/channel-validation.d.ts +19 -0
  248. package/dist/core/validators/channel-validation.js +40 -0
  249. package/dist/core/validators/index.d.ts +5 -0
  250. package/dist/core/validators/index.js +21 -0
  251. package/dist/index.d.ts +6 -0
  252. package/dist/index.js +24 -0
  253. package/dist/request/index.d.ts +5 -0
  254. package/dist/request/index.js +21 -0
  255. package/dist/request/models/index.d.ts +6 -0
  256. package/dist/request/models/index.js +22 -0
  257. package/dist/request/models/paginated-quest.schema.d.ts +33 -0
  258. package/dist/request/models/paginated-quest.schema.js +35 -0
  259. package/dist/request/models/paginated-result.schema.d.ts +124 -0
  260. package/dist/request/models/paginated-result.schema.js +94 -0
  261. package/package.json +43 -0
@@ -0,0 +1,522 @@
1
+ import { z } from 'zod';
2
+ import { DeploymentProvisioningType, DeploymentStatus } from '../type-definitions';
3
+ /**
4
+ * @fileoverview Deployment configuration schema definitions.
5
+ *
6
+ * Deployment Configuration is the central composition entity in the Service Configuration architecture.
7
+ * It brings together agent behavior, instructions, organizational context, and channel configuration
8
+ * to create a complete deployable unit. Each deployment has exactly one channel (1:1 relationship).
9
+ *
10
+ * @module service-configuration/deployment-config
11
+ */
12
+ /**
13
+ * Zod schema for deployment configuration validation.
14
+ *
15
+ * The Deployment Configuration is the central composition entity that brings together agent behavior,
16
+ * instructions, and organizational context to create a deployable unit. It serves as the primary
17
+ * entity that operators interact with when setting up new agent deployments.
18
+ *
19
+ * @remarks
20
+ * **Architecture Context:**
21
+ * - **Central Entity**: Primary composition point for all deployment components
22
+ * - **Managed By**: Service Configuration (administrative oversight)
23
+ * - **Uses**: Agent Configuration (N:1), Instruction Configuration (N:1)
24
+ * - **Associated With**: Project (N:1 for organizational grouping)
25
+ * - **Has**: Deployment Channel (1:1 - each deployment exposes through exactly one channel)
26
+ * - **Pattern**: Multi-channel deployments require separate Deployment Configurations per channel
27
+ *
28
+ * **Provisioning Types:**
29
+ * - **DIRECT**: Agent processes interactions directly without additional chains
30
+ * - **CHAINED**: Uses provisioning chain (STT → Agent → TTS) for voice processing
31
+ *
32
+ * **Deployment Lifecycle:**
33
+ * - **PENDING**: Created but not yet activated
34
+ * - **ACTIVE**: Operational and accepting interactions
35
+ * - **SUSPENDED**: Temporarily paused
36
+ * - **FAILED**: Deployment encountered errors
37
+ *
38
+ * @typedef {Object} DeploymentConfigurationProperties
39
+ * @property {string} id - Unique identifier for the deployment configuration
40
+ * @property {string} projectId - ID of the project this deployment belongs to for organizational grouping and access control
41
+ * @property {string} deploymentChannelId - ID of the deployment channel (1:1 relationship - phone, SMS, web, or mobile)
42
+ * @property {string} [deploymentName] - Optional human-readable name for administrative identification
43
+ * @property {string} agentConfigurationId - ID of the agent configuration defining core behavior and capabilities (N:1)
44
+ * @property {string} instructionConfigurationId - ID of the instruction configuration providing behavioral guidelines (N:1)
45
+ * @property {DeploymentStatus} deploymentStatus - Current operational status (PENDING, ACTIVE, SUSPENDED, FAILED)
46
+ * @property {DeploymentProvisioningType} provisioningType - How this deployment processes interactions (DIRECT or CHAINED) (default: DIRECT)
47
+ * @property {string | null} [provisioningConfigChainId] - ID of the provisioning chain for voice processing (required for CHAINED type)
48
+ * @property {boolean} isActive - Whether this deployment is currently active and accepting interactions (default: false)
49
+ * @property {DeploymentChannel | null} [channel] - Populated deployment channel configuration (for detail views)
50
+ * @property {Project | null} [project] - Populated project information (for detail views)
51
+ * @property {AgentConfiguration | null} [agent] - Populated agent configuration (for detail views)
52
+ * @property {InstructionConfiguration | null} [instruction] - Populated instruction configuration (for detail views)
53
+ * @property {number} [createdAt] - Unix timestamp (milliseconds) when created
54
+ * @property {number} [updatedAt] - Unix timestamp (milliseconds) when last updated
55
+ *
56
+ * @example
57
+ * ```typescript
58
+ * const deployment: DeploymentConfiguration = {
59
+ * id: '123*',
60
+ * projectId: '456*',
61
+ * deploymentChannelId: 'abc*',
62
+ * deploymentName: 'Production Customer Support',
63
+ * agentConfigurationId: 'def*',
64
+ * instructionConfigurationId: 'ghi*',
65
+ * deploymentStatus: DeploymentStatus.ACTIVE,
66
+ * provisioningType: DeploymentProvisioningType.DIRECT,
67
+ * isActive: true,
68
+ * createdAt: Date.now(),
69
+ * updatedAt: Date.now()
70
+ * };
71
+ * ```
72
+ */
73
+ export declare const DeploymentConfigurationSchema: z.ZodObject<{
74
+ id: z.ZodString;
75
+ createdAt: z.ZodOptional<z.ZodNumber>;
76
+ updatedAt: z.ZodOptional<z.ZodNumber>;
77
+ projectId: z.ZodString;
78
+ deploymentChannelId: z.ZodString;
79
+ deploymentName: z.ZodOptional<z.ZodString>;
80
+ agentConfigurationId: z.ZodString;
81
+ instructionConfigurationId: z.ZodString;
82
+ deploymentStatus: z.ZodEnum<typeof DeploymentStatus>;
83
+ provisioningType: z.ZodDefault<z.ZodEnum<typeof DeploymentProvisioningType>>;
84
+ provisioningConfigChainId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
85
+ isActive: z.ZodDefault<z.ZodBoolean>;
86
+ channel: z.ZodNullable<z.ZodOptional<z.ZodObject<{
87
+ id: z.ZodString;
88
+ createdAt: z.ZodOptional<z.ZodNumber>;
89
+ updatedAt: z.ZodOptional<z.ZodNumber>;
90
+ deploymentType: z.ZodEnum<typeof import("../type-definitions").DeploymentType>;
91
+ channelName: z.ZodOptional<z.ZodString>;
92
+ recordingEnabled: z.ZodDefault<z.ZodBoolean>;
93
+ channelIdentifier: z.ZodString;
94
+ configuration: z.ZodUnion<readonly [z.ZodObject<{
95
+ phoneConfigurationId: z.ZodString;
96
+ }, z.core.$strip>, z.ZodObject<{
97
+ communicationType: z.ZodDefault<z.ZodEnum<typeof import("../type-definitions").OttCommunicationType>>;
98
+ widgetConfiguration: z.ZodOptional<z.ZodObject<{
99
+ position: z.ZodDefault<z.ZodEnum<{
100
+ left: "left";
101
+ right: "right";
102
+ }>>;
103
+ customTheme: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
104
+ }, z.core.$strip>>;
105
+ }, z.core.$strip>, z.ZodObject<{
106
+ packageName: z.ZodDefault<z.ZodString>;
107
+ platform: z.ZodDefault<z.ZodEnum<typeof import("../type-definitions").MobilePlatform>>;
108
+ }, z.core.$strip>]>;
109
+ }, z.core.$strip>>>;
110
+ project: z.ZodNullable<z.ZodOptional<z.ZodObject<{
111
+ id: z.ZodString;
112
+ createdAt: z.ZodOptional<z.ZodNumber>;
113
+ updatedAt: z.ZodOptional<z.ZodNumber>;
114
+ name: z.ZodString;
115
+ regionId: z.ZodOptional<z.ZodString>;
116
+ description: z.ZodOptional<z.ZodString>;
117
+ compliance: z.ZodOptional<z.ZodArray<z.ZodString>>;
118
+ isDefault: z.ZodBoolean;
119
+ serviceStatus: z.ZodDefault<z.ZodEnum<typeof import("../type-definitions").ServiceStatus>>;
120
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
121
+ }, z.core.$strip>>>;
122
+ agent: z.ZodNullable<z.ZodOptional<z.ZodObject<{
123
+ id: z.ZodString;
124
+ createdAt: z.ZodOptional<z.ZodNumber>;
125
+ updatedAt: z.ZodOptional<z.ZodNumber>;
126
+ modelId: z.ZodString;
127
+ name: z.ZodString;
128
+ defaultFunctionState: z.ZodDefault<z.ZodEnum<typeof import("../type-definitions").LLMType>>;
129
+ usesWiilSupportModel: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
130
+ requiredModelConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
131
+ useCustomModel: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
132
+ textProcessingModelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
133
+ instructionConfigurationId: z.ZodString;
134
+ assistantType: z.ZodDefault<z.ZodEnum<typeof import("../type-definitions").AssistantType>>;
135
+ call_transfer_config: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
136
+ transfer_number: z.ZodString;
137
+ transfer_type: z.ZodDefault<z.ZodEnum<{
138
+ blind: "blind";
139
+ warm: "warm";
140
+ }>>;
141
+ transfer_conditions: z.ZodArray<z.ZodString>;
142
+ }, z.core.$strip>>>>;
143
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
144
+ model: z.ZodOptional<z.ZodNullable<z.ZodObject<{
145
+ modelId: z.ZodString;
146
+ proprietor: z.ZodEnum<typeof import("../type-definitions").SupportedProprietor>;
147
+ name: z.ZodString;
148
+ provider_model_id: z.ZodOptional<z.ZodString>;
149
+ description: z.ZodString;
150
+ type: z.ZodEnum<typeof import("../type-definitions").LLMType>;
151
+ discontinued: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
152
+ supportedVoices: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
153
+ voiceId: z.ZodString;
154
+ name: z.ZodString;
155
+ description: z.ZodString;
156
+ gender: z.ZodEnum<{
157
+ neutral: "neutral";
158
+ male: "male";
159
+ female: "female";
160
+ }>;
161
+ language: z.ZodNullable<z.ZodOptional<z.ZodString>>;
162
+ isDefault: z.ZodDefault<z.ZodBoolean>;
163
+ }, z.core.$strip>>>>;
164
+ supportLanguages: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
165
+ languageId: z.ZodString;
166
+ name: z.ZodString;
167
+ code: z.ZodString;
168
+ isDefault: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
169
+ isExperimental: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
170
+ }, z.core.$strip>>>>;
171
+ }, z.core.$strip>>>;
172
+ }, z.core.$strip>>>;
173
+ instruction: z.ZodNullable<z.ZodOptional<z.ZodObject<{
174
+ id: z.ZodString;
175
+ createdAt: z.ZodOptional<z.ZodNumber>;
176
+ updatedAt: z.ZodOptional<z.ZodNumber>;
177
+ instructionName: z.ZodString;
178
+ role: z.ZodString;
179
+ introductionMessage: z.ZodString;
180
+ instructions: z.ZodString;
181
+ guardrails: z.ZodString;
182
+ requiredSkills: z.ZodOptional<z.ZodArray<z.ZodString>>;
183
+ validationRules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
184
+ serviceId: z.ZodOptional<z.ZodString>;
185
+ supportedServices: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<typeof import("../type-definitions").BusinessSupportServices>>>>;
186
+ tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
187
+ isTemplate: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
188
+ isPrimary: z.ZodDefault<z.ZodBoolean>;
189
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
190
+ knowledgeSourceIds: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
191
+ }, z.core.$strip>>>;
192
+ }, z.core.$strip>;
193
+ /**
194
+ * Type definition for deployment configuration.
195
+ *
196
+ * Represents a complete deployment configuration including all metadata,
197
+ * status information, and optional populated relations.
198
+ */
199
+ export type DeploymentConfiguration = z.infer<typeof DeploymentConfigurationSchema>;
200
+ /**
201
+ * Zod schema for creating a new deployment configuration.
202
+ *
203
+ * Omits auto-generated fields and populated relations. Sets deployment to PENDING status
204
+ * with DIRECT provisioning by default.
205
+ *
206
+ * @remarks
207
+ * This schema enforces required fields for deployment creation while excluding
208
+ * fields that are automatically generated or populated by the system.
209
+ *
210
+ * @example
211
+ * ```typescript
212
+ * const newDeployment: CreateDeploymentConfiguration = {
213
+ * projectId: '456*',
214
+ * deploymentChannelId: 'abc*',
215
+ * deploymentName: 'Customer Support Line',
216
+ * agentConfigurationId: 'def*',
217
+ * instructionConfigurationId: 'ghi*',
218
+ * isActive: false,
219
+ * deploymentStatus: DeploymentStatus.PENDING,
220
+ * provisioningType: DeploymentProvisioningType.DIRECT
221
+ * };
222
+ * ```
223
+ */
224
+ export declare const CreateDeploymentConfigurationSchema: z.ZodObject<{
225
+ instructionConfigurationId: z.ZodString;
226
+ agentConfigurationId: z.ZodString;
227
+ projectId: z.ZodString;
228
+ deploymentChannelId: z.ZodString;
229
+ deploymentName: z.ZodOptional<z.ZodString>;
230
+ provisioningConfigChainId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
231
+ isActive: z.ZodDefault<z.ZodBoolean>;
232
+ }, z.core.$strip>;
233
+ /**
234
+ * Type definition for creating a new deployment configuration.
235
+ *
236
+ * Represents the payload required to create a new deployment,
237
+ * excluding system-generated fields and populated relations.
238
+ */
239
+ export type CreateDeploymentConfiguration = z.infer<typeof CreateDeploymentConfigurationSchema>;
240
+ /**
241
+ * Zod schema for creating a chained deployment configuration.
242
+ *
243
+ * Similar to CreateDeploymentConfigurationSchema but requires a provisioningConfigChainId
244
+ * and sets provisioningType to CHAINED by default.
245
+ *
246
+ * @remarks
247
+ * Use this schema when creating deployments that are part of a provisioning chain.
248
+ * The provisioningConfigChainId is required to link this deployment to the chain.
249
+ *
250
+ * @example
251
+ * ```typescript
252
+ * const chainedDeployment: CreateChainDeploymentConfiguration = {
253
+ * projectId: '456*',
254
+ * deploymentChannelId: 'abc*',
255
+ * deploymentName: 'Multi-Step Support Flow',
256
+ * agentConfigurationId: 'def*',
257
+ * instructionConfigurationId: 'ghi*',
258
+ * provisioningConfigChainId: 'xyz*',
259
+ * isActive: false,
260
+ * deploymentStatus: DeploymentStatus.PENDING,
261
+ * provisioningType: DeploymentProvisioningType.CHAINED
262
+ * };
263
+ * ```
264
+ */
265
+ export declare const CreateChainDeploymentConfigurationSchema: z.ZodObject<{
266
+ instructionConfigurationId: z.ZodString;
267
+ agentConfigurationId: z.ZodString;
268
+ projectId: z.ZodString;
269
+ deploymentChannelId: z.ZodString;
270
+ deploymentName: z.ZodOptional<z.ZodString>;
271
+ isActive: z.ZodDefault<z.ZodBoolean>;
272
+ provisioningConfigChainId: z.ZodString;
273
+ deploymentStatus: z.ZodLiteral<DeploymentStatus.PENDING>;
274
+ provisioningType: z.ZodDefault<z.ZodEnum<typeof DeploymentProvisioningType>>;
275
+ }, z.core.$strip>;
276
+ /**
277
+ * Type definition for creating a chained deployment configuration.
278
+ *
279
+ * Represents the payload required to create a deployment as part of a provisioning chain.
280
+ */
281
+ export type CreateChainDeploymentConfiguration = z.infer<typeof CreateChainDeploymentConfigurationSchema>;
282
+ /**
283
+ * Zod schema for updating an existing deployment configuration.
284
+ *
285
+ * All fields from CreateDeploymentConfigurationSchema are optional (partial),
286
+ * with the id field required to identify the deployment to update.
287
+ *
288
+ * @remarks
289
+ * Supports partial updates - only include the fields you want to modify.
290
+ * The id field is mandatory to specify which deployment configuration to update.
291
+ *
292
+ * @example
293
+ * ```typescript
294
+ * const updateDeployment: UpdateDeploymentConfiguration = {
295
+ * id: '123*',
296
+ * deploymentName: 'Updated Support Line',
297
+ * isActive: true,
298
+ * deploymentStatus: DeploymentStatus.ACTIVE
299
+ * };
300
+ * ```
301
+ */
302
+ export declare const UpdateDeploymentConfigurationSchema: z.ZodObject<{
303
+ instructionConfigurationId: z.ZodOptional<z.ZodString>;
304
+ agentConfigurationId: z.ZodOptional<z.ZodString>;
305
+ projectId: z.ZodOptional<z.ZodString>;
306
+ deploymentChannelId: z.ZodOptional<z.ZodString>;
307
+ deploymentName: z.ZodOptional<z.ZodOptional<z.ZodString>>;
308
+ isActive: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
309
+ id: z.ZodString;
310
+ provisioningConfigChainId: z.ZodOptional<z.ZodString>;
311
+ }, z.core.$strip>;
312
+ /**
313
+ * Type definition for updating an existing deployment configuration.
314
+ *
315
+ * Represents a partial update payload with required id field.
316
+ */
317
+ export type UpdateDeploymentConfiguration = z.infer<typeof UpdateDeploymentConfigurationSchema>;
318
+ /**
319
+ * Zod schema for deployment configuration result (lightweight version).
320
+ *
321
+ * Omits populated relation fields (channel, project, agent, instruction) to provide
322
+ * a lighter payload suitable for list views and search results.
323
+ *
324
+ * @remarks
325
+ * Use this schema when returning deployment configurations in lists or search results
326
+ * where full relation details are not needed.
327
+ *
328
+ * @example
329
+ * ```typescript
330
+ * const deploymentResult: DeploymentConfigurationResult = {
331
+ * id: '123*',
332
+ * projectId: '456*',
333
+ * deploymentChannelId: 'abc*',
334
+ * deploymentName: 'Customer Support',
335
+ * agentConfigurationId: 'def*',
336
+ * instructionConfigurationId: 'ghi*',
337
+ * deploymentStatus: DeploymentStatus.ACTIVE,
338
+ * provisioningType: DeploymentProvisioningType.DIRECT,
339
+ * isActive: true,
340
+ * createdAt: Date.now(),
341
+ * updatedAt: Date.now()
342
+ * };
343
+ * ```
344
+ */
345
+ export declare const DeploymentConfigurationResultSchema: z.ZodObject<{
346
+ id: z.ZodString;
347
+ createdAt: z.ZodOptional<z.ZodNumber>;
348
+ updatedAt: z.ZodOptional<z.ZodNumber>;
349
+ instructionConfigurationId: z.ZodString;
350
+ agentConfigurationId: z.ZodString;
351
+ projectId: z.ZodString;
352
+ deploymentChannelId: z.ZodString;
353
+ deploymentName: z.ZodOptional<z.ZodString>;
354
+ provisioningConfigChainId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
355
+ provisioningType: z.ZodDefault<z.ZodEnum<typeof DeploymentProvisioningType>>;
356
+ deploymentStatus: z.ZodEnum<typeof DeploymentStatus>;
357
+ isActive: z.ZodDefault<z.ZodBoolean>;
358
+ }, z.core.$strip>;
359
+ /**
360
+ * Type definition for deployment configuration result.
361
+ *
362
+ * Lightweight version without populated relations, suitable for list views.
363
+ */
364
+ export type DeploymentConfigurationResult = z.infer<typeof DeploymentConfigurationResultSchema>;
365
+ /**
366
+ * Zod schema for deployment configuration details (full version with all relations).
367
+ *
368
+ * Extends the base schema by requiring all relation fields to be fully populated
369
+ * with their complete schemas.
370
+ *
371
+ * @remarks
372
+ * Use this schema when returning a single deployment configuration with all
373
+ * associated details fully populated. Ideal for detail views where complete
374
+ * information about the deployment, channel, project, agent, and instruction is needed.
375
+ *
376
+ * @example
377
+ * ```typescript
378
+ * const deploymentDetails: DeploymentConfigurationDetails = {
379
+ * id: '123*',
380
+ * projectId: '456*',
381
+ * deploymentChannelId: 'abc*',
382
+ * deploymentName: 'Customer Support',
383
+ * agentConfigurationId: 'def*',
384
+ * instructionConfigurationId: 'ghi*',
385
+ * deploymentStatus: DeploymentStatus.ACTIVE,
386
+ * provisioningType: DeploymentProvisioningType.DIRECT,
387
+ * isActive: true,
388
+ * channel: { /* full DeploymentChannel object *\/ },
389
+ * project: { /* full Project object *\/ },
390
+ * agent: { /* full AgentConfiguration object *\/ },
391
+ * instruction: { /* full InstructionConfiguration object *\/ },
392
+ * createdAt: Date.now(),
393
+ * updatedAt: Date.now()
394
+ * };
395
+ * ```
396
+ */
397
+ export declare const DeploymentConfigurationDetailsSchema: z.ZodObject<{
398
+ id: z.ZodString;
399
+ createdAt: z.ZodOptional<z.ZodNumber>;
400
+ updatedAt: z.ZodOptional<z.ZodNumber>;
401
+ instructionConfigurationId: z.ZodString;
402
+ agentConfigurationId: z.ZodString;
403
+ projectId: z.ZodString;
404
+ deploymentChannelId: z.ZodString;
405
+ deploymentName: z.ZodOptional<z.ZodString>;
406
+ provisioningConfigChainId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
407
+ provisioningType: z.ZodDefault<z.ZodEnum<typeof DeploymentProvisioningType>>;
408
+ deploymentStatus: z.ZodEnum<typeof DeploymentStatus>;
409
+ isActive: z.ZodDefault<z.ZodBoolean>;
410
+ channel: z.ZodObject<{
411
+ id: z.ZodString;
412
+ createdAt: z.ZodOptional<z.ZodNumber>;
413
+ updatedAt: z.ZodOptional<z.ZodNumber>;
414
+ deploymentType: z.ZodEnum<typeof import("../type-definitions").DeploymentType>;
415
+ channelName: z.ZodOptional<z.ZodString>;
416
+ recordingEnabled: z.ZodDefault<z.ZodBoolean>;
417
+ channelIdentifier: z.ZodString;
418
+ configuration: z.ZodUnion<readonly [z.ZodObject<{
419
+ phoneConfigurationId: z.ZodString;
420
+ }, z.core.$strip>, z.ZodObject<{
421
+ communicationType: z.ZodDefault<z.ZodEnum<typeof import("../type-definitions").OttCommunicationType>>;
422
+ widgetConfiguration: z.ZodOptional<z.ZodObject<{
423
+ position: z.ZodDefault<z.ZodEnum<{
424
+ left: "left";
425
+ right: "right";
426
+ }>>;
427
+ customTheme: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
428
+ }, z.core.$strip>>;
429
+ }, z.core.$strip>, z.ZodObject<{
430
+ packageName: z.ZodDefault<z.ZodString>;
431
+ platform: z.ZodDefault<z.ZodEnum<typeof import("../type-definitions").MobilePlatform>>;
432
+ }, z.core.$strip>]>;
433
+ }, z.core.$strip>;
434
+ project: z.ZodObject<{
435
+ id: z.ZodString;
436
+ createdAt: z.ZodOptional<z.ZodNumber>;
437
+ updatedAt: z.ZodOptional<z.ZodNumber>;
438
+ name: z.ZodString;
439
+ regionId: z.ZodOptional<z.ZodString>;
440
+ description: z.ZodOptional<z.ZodString>;
441
+ compliance: z.ZodOptional<z.ZodArray<z.ZodString>>;
442
+ isDefault: z.ZodBoolean;
443
+ serviceStatus: z.ZodDefault<z.ZodEnum<typeof import("../type-definitions").ServiceStatus>>;
444
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
445
+ }, z.core.$strip>;
446
+ agent: z.ZodObject<{
447
+ id: z.ZodString;
448
+ createdAt: z.ZodOptional<z.ZodNumber>;
449
+ updatedAt: z.ZodOptional<z.ZodNumber>;
450
+ modelId: z.ZodString;
451
+ name: z.ZodString;
452
+ defaultFunctionState: z.ZodDefault<z.ZodEnum<typeof import("../type-definitions").LLMType>>;
453
+ usesWiilSupportModel: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
454
+ requiredModelConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
455
+ useCustomModel: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
456
+ textProcessingModelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
457
+ instructionConfigurationId: z.ZodString;
458
+ assistantType: z.ZodDefault<z.ZodEnum<typeof import("../type-definitions").AssistantType>>;
459
+ call_transfer_config: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
460
+ transfer_number: z.ZodString;
461
+ transfer_type: z.ZodDefault<z.ZodEnum<{
462
+ blind: "blind";
463
+ warm: "warm";
464
+ }>>;
465
+ transfer_conditions: z.ZodArray<z.ZodString>;
466
+ }, z.core.$strip>>>>;
467
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
468
+ model: z.ZodOptional<z.ZodNullable<z.ZodObject<{
469
+ modelId: z.ZodString;
470
+ proprietor: z.ZodEnum<typeof import("../type-definitions").SupportedProprietor>;
471
+ name: z.ZodString;
472
+ provider_model_id: z.ZodOptional<z.ZodString>;
473
+ description: z.ZodString;
474
+ type: z.ZodEnum<typeof import("../type-definitions").LLMType>;
475
+ discontinued: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
476
+ supportedVoices: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
477
+ voiceId: z.ZodString;
478
+ name: z.ZodString;
479
+ description: z.ZodString;
480
+ gender: z.ZodEnum<{
481
+ neutral: "neutral";
482
+ male: "male";
483
+ female: "female";
484
+ }>;
485
+ language: z.ZodNullable<z.ZodOptional<z.ZodString>>;
486
+ isDefault: z.ZodDefault<z.ZodBoolean>;
487
+ }, z.core.$strip>>>>;
488
+ supportLanguages: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
489
+ languageId: z.ZodString;
490
+ name: z.ZodString;
491
+ code: z.ZodString;
492
+ isDefault: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
493
+ isExperimental: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
494
+ }, z.core.$strip>>>>;
495
+ }, z.core.$strip>>>;
496
+ }, z.core.$strip>;
497
+ instruction: z.ZodObject<{
498
+ id: z.ZodString;
499
+ createdAt: z.ZodOptional<z.ZodNumber>;
500
+ updatedAt: z.ZodOptional<z.ZodNumber>;
501
+ instructionName: z.ZodString;
502
+ role: z.ZodString;
503
+ introductionMessage: z.ZodString;
504
+ instructions: z.ZodString;
505
+ guardrails: z.ZodString;
506
+ requiredSkills: z.ZodOptional<z.ZodArray<z.ZodString>>;
507
+ validationRules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
508
+ serviceId: z.ZodOptional<z.ZodString>;
509
+ supportedServices: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<typeof import("../type-definitions").BusinessSupportServices>>>>;
510
+ tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
511
+ isTemplate: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
512
+ isPrimary: z.ZodDefault<z.ZodBoolean>;
513
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
514
+ knowledgeSourceIds: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
515
+ }, z.core.$strip>;
516
+ }, z.core.$strip>;
517
+ /**
518
+ * Type definition for deployment configuration details.
519
+ *
520
+ * Full version with all relations populated, suitable for detail views.
521
+ */
522
+ export type DeploymentConfigurationDetails = z.infer<typeof DeploymentConfigurationDetailsSchema>;