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.
- package/LICENSE +21 -0
- package/README.md +174 -0
- package/dist/core/account/index.d.ts +7 -0
- package/dist/core/account/index.js +23 -0
- package/dist/core/account/organization.schema.d.ts +118 -0
- package/dist/core/account/organization.schema.js +91 -0
- package/dist/core/account/project.schema.d.ts +121 -0
- package/dist/core/account/project.schema.js +102 -0
- package/dist/core/account/supported-business-verticals.d.ts +8 -0
- package/dist/core/account/supported-business-verticals.js +23 -0
- package/dist/core/assistant-setups/assistant-setup-result.schema.d.ts +115 -0
- package/dist/core/assistant-setups/assistant-setup-result.schema.js +17 -0
- package/dist/core/assistant-setups/base-assistant-setup.schema.d.ts +61 -0
- package/dist/core/assistant-setups/base-assistant-setup.schema.js +29 -0
- package/dist/core/assistant-setups/index.d.ts +4 -0
- package/dist/core/assistant-setups/index.js +21 -0
- package/dist/core/assistant-setups/phone-assistant-setup.schema.d.ts +63 -0
- package/dist/core/assistant-setups/phone-assistant-setup.schema.js +14 -0
- package/dist/core/assistant-setups/web-assitant-setup.schema.d.ts +56 -0
- package/dist/core/assistant-setups/web-assitant-setup.schema.js +17 -0
- package/dist/core/base.schema.d.ts +34 -0
- package/dist/core/base.schema.js +36 -0
- package/dist/core/business-mgt/appointment-additional-info.schema.d.ts +63 -0
- package/dist/core/business-mgt/appointment-additional-info.schema.js +53 -0
- package/dist/core/business-mgt/appointment-field-config.schema.d.ts +251 -0
- package/dist/core/business-mgt/appointment-field-config.schema.js +49 -0
- package/dist/core/business-mgt/bookings.shared.schema.d.ts +47 -0
- package/dist/core/business-mgt/bookings.shared.schema.js +60 -0
- package/dist/core/business-mgt/business-location.schema.d.ts +327 -0
- package/dist/core/business-mgt/business-location.schema.js +176 -0
- package/dist/core/business-mgt/customer-management/customer-group.schema.d.ts +87 -0
- package/dist/core/business-mgt/customer-management/customer-group.schema.js +53 -0
- package/dist/core/business-mgt/customer-management/customer.schema.d.ts +156 -0
- package/dist/core/business-mgt/customer-management/customer.schema.js +93 -0
- package/dist/core/business-mgt/customer-management/index.d.ts +7 -0
- package/dist/core/business-mgt/customer-management/index.js +23 -0
- package/dist/core/business-mgt/customer-management/shipping-address.schema.d.ts +112 -0
- package/dist/core/business-mgt/customer-management/shipping-address.schema.js +79 -0
- package/dist/core/business-mgt/customer.schema.d.ts +111 -0
- package/dist/core/business-mgt/customer.schema.js +73 -0
- package/dist/core/business-mgt/discount-rule.schema.d.ts +183 -0
- package/dist/core/business-mgt/discount-rule.schema.js +108 -0
- package/dist/core/business-mgt/index.d.ts +16 -0
- package/dist/core/business-mgt/index.js +38 -0
- package/dist/core/business-mgt/menu-config.schema.d.ts +165 -0
- package/dist/core/business-mgt/menu-config.schema.js +86 -0
- package/dist/core/business-mgt/menu-management/index.d.ts +11 -0
- package/dist/core/business-mgt/menu-management/index.js +27 -0
- package/dist/core/business-mgt/menu-management/menu-catalog.schema.d.ts +386 -0
- package/dist/core/business-mgt/menu-management/menu-catalog.schema.js +58 -0
- package/dist/core/business-mgt/menu-management/menu-config.schema.d.ts +301 -0
- package/dist/core/business-mgt/menu-management/menu-config.schema.js +169 -0
- package/dist/core/business-mgt/menu-management/menu-item-variant.schema.d.ts +143 -0
- package/dist/core/business-mgt/menu-management/menu-item-variant.schema.js +86 -0
- package/dist/core/business-mgt/menu-management/menu-pricing-rule.schema.d.ts +239 -0
- package/dist/core/business-mgt/menu-management/menu-pricing-rule.schema.js +117 -0
- package/dist/core/business-mgt/menu-management/menu-set.schema.d.ts +420 -0
- package/dist/core/business-mgt/menu-management/menu-set.schema.js +283 -0
- package/dist/core/business-mgt/menu-management/menu.order.schema.d.ts +654 -0
- package/dist/core/business-mgt/menu-management/menu.order.schema.js +204 -0
- package/dist/core/business-mgt/menu-management/modifier.schema.d.ts +585 -0
- package/dist/core/business-mgt/menu-management/modifier.schema.js +341 -0
- package/dist/core/business-mgt/menu.order.schema.d.ts +335 -0
- package/dist/core/business-mgt/menu.order.schema.js +149 -0
- package/dist/core/business-mgt/order.schema.d.ts +222 -0
- package/dist/core/business-mgt/order.schema.js +205 -0
- package/dist/core/business-mgt/pricing-rule.shared.schema.d.ts +56 -0
- package/dist/core/business-mgt/pricing-rule.shared.schema.js +68 -0
- package/dist/core/business-mgt/product-config.schema.d.ts +177 -0
- package/dist/core/business-mgt/product-config.schema.js +106 -0
- package/dist/core/business-mgt/product-management/index.d.ts +12 -0
- package/dist/core/business-mgt/product-management/index.js +28 -0
- package/dist/core/business-mgt/product-management/product-axis-binding.schema.d.ts +54 -0
- package/dist/core/business-mgt/product-management/product-axis-binding.schema.js +54 -0
- package/dist/core/business-mgt/product-management/product-config.schema.d.ts +1042 -0
- package/dist/core/business-mgt/product-management/product-config.schema.js +392 -0
- package/dist/core/business-mgt/product-management/product-display.schema.d.ts +548 -0
- package/dist/core/business-mgt/product-management/product-display.schema.js +80 -0
- package/dist/core/business-mgt/product-management/product-order.schema.d.ts +493 -0
- package/dist/core/business-mgt/product-management/product-order.schema.js +158 -0
- package/dist/core/business-mgt/product-management/product-pricing-rule.schema.d.ts +167 -0
- package/dist/core/business-mgt/product-management/product-pricing-rule.schema.js +68 -0
- package/dist/core/business-mgt/product-management/product-set.schema.d.ts +488 -0
- package/dist/core/business-mgt/product-management/product-set.schema.js +273 -0
- package/dist/core/business-mgt/product-management/product-variant-axis.schema.d.ts +156 -0
- package/dist/core/business-mgt/product-management/product-variant-axis.schema.js +98 -0
- package/dist/core/business-mgt/product-management/product-variant.schema.d.ts +219 -0
- package/dist/core/business-mgt/product-management/product-variant.schema.js +130 -0
- package/dist/core/business-mgt/product-order.schema.d.ts +326 -0
- package/dist/core/business-mgt/product-order.schema.js +153 -0
- package/dist/core/business-mgt/property-config.schema.d.ts +621 -0
- package/dist/core/business-mgt/property-config.schema.js +224 -0
- package/dist/core/business-mgt/property-inquiry.schema.d.ts +222 -0
- package/dist/core/business-mgt/property-inquiry.schema.js +112 -0
- package/dist/core/business-mgt/property-management/index.d.ts +6 -0
- package/dist/core/business-mgt/property-management/index.js +22 -0
- package/dist/core/business-mgt/property-management/property-config.schema.d.ts +1306 -0
- package/dist/core/business-mgt/property-management/property-config.schema.js +367 -0
- package/dist/core/business-mgt/property-management/property-inquiry.schema.d.ts +254 -0
- package/dist/core/business-mgt/property-management/property-inquiry.schema.js +131 -0
- package/dist/core/business-mgt/reservation-mgt/assignment/index.d.ts +3 -0
- package/dist/core/business-mgt/reservation-mgt/assignment/index.js +19 -0
- package/dist/core/business-mgt/reservation-mgt/assignment/reservation-rental-assignment.schema.d.ts +139 -0
- package/dist/core/business-mgt/reservation-mgt/assignment/reservation-rental-assignment.schema.js +90 -0
- package/dist/core/business-mgt/reservation-mgt/assignment/reservation-room-assignment.schema.d.ts +104 -0
- package/dist/core/business-mgt/reservation-mgt/assignment/reservation-room-assignment.schema.js +70 -0
- package/dist/core/business-mgt/reservation-mgt/assignment/reservation-table-assignment.schema.d.ts +104 -0
- package/dist/core/business-mgt/reservation-mgt/assignment/reservation-table-assignment.schema.js +72 -0
- package/dist/core/business-mgt/reservation-mgt/index.d.ts +14 -0
- package/dist/core/business-mgt/reservation-mgt/index.js +31 -0
- package/dist/core/business-mgt/reservation-mgt/reservation-floor-plan-definition.schema.d.ts +180 -0
- package/dist/core/business-mgt/reservation-mgt/reservation-floor-plan-definition.schema.js +75 -0
- package/dist/core/business-mgt/reservation-mgt/reservation-maintenance-block.schema.d.ts +91 -0
- package/dist/core/business-mgt/reservation-mgt/reservation-maintenance-block.schema.js +57 -0
- package/dist/core/business-mgt/reservation-mgt/reservation-rental.schema.d.ts +334 -0
- package/dist/core/business-mgt/reservation-mgt/reservation-rental.schema.js +179 -0
- package/dist/core/business-mgt/reservation-mgt/reservation-room.schema.d.ts +195 -0
- package/dist/core/business-mgt/reservation-mgt/reservation-room.schema.js +106 -0
- package/dist/core/business-mgt/reservation-mgt/reservation-section.schema.d.ts +402 -0
- package/dist/core/business-mgt/reservation-mgt/reservation-section.schema.js +198 -0
- package/dist/core/business-mgt/reservation-mgt/reservation-settings.schema.d.ts +229 -0
- package/dist/core/business-mgt/reservation-mgt/reservation-settings.schema.js +127 -0
- package/dist/core/business-mgt/reservation-mgt/reservation-slot-query.schema.d.ts +382 -0
- package/dist/core/business-mgt/reservation-mgt/reservation-slot-query.schema.js +322 -0
- package/dist/core/business-mgt/reservation-mgt/reservation-table-layout.schema.d.ts +123 -0
- package/dist/core/business-mgt/reservation-mgt/reservation-table-layout.schema.js +83 -0
- package/dist/core/business-mgt/reservation-mgt/reservation-table.schema.d.ts +167 -0
- package/dist/core/business-mgt/reservation-mgt/reservation-table.schema.js +84 -0
- package/dist/core/business-mgt/reservation-mgt/reservation.schema.d.ts +0 -0
- package/dist/core/business-mgt/reservation-mgt/reservation.schema.js +153 -0
- package/dist/core/business-mgt/reservation-mgt/resource/index.d.ts +4 -0
- package/dist/core/business-mgt/reservation-mgt/resource/index.js +20 -0
- package/dist/core/business-mgt/reservation-mgt/resource/reservation-resource-category.schema.d.ts +157 -0
- package/dist/core/business-mgt/reservation-mgt/resource/reservation-resource-category.schema.js +76 -0
- package/dist/core/business-mgt/reservation-mgt/resource/reservation-resource-instance.schema.d.ts +137 -0
- package/dist/core/business-mgt/reservation-mgt/resource/reservation-resource-instance.schema.js +94 -0
- package/dist/core/business-mgt/reservation-mgt/resource/reservation-resource.schema.d.ts +713 -0
- package/dist/core/business-mgt/reservation-mgt/resource/reservation-resource.schema.js +363 -0
- package/dist/core/business-mgt/reservation-mgt/resource/resource-versioning.schema.d.ts +151 -0
- package/dist/core/business-mgt/reservation-mgt/resource/resource-versioning.schema.js +147 -0
- package/dist/core/business-mgt/reservation-resource.schema.d.ts +154 -0
- package/dist/core/business-mgt/reservation-resource.schema.js +100 -0
- package/dist/core/business-mgt/reservation.schema.d.ts +119 -0
- package/dist/core/business-mgt/reservation.schema.js +89 -0
- package/dist/core/business-mgt/service-appointment.schema.d.ts +105 -0
- package/dist/core/business-mgt/service-appointment.schema.js +69 -0
- package/dist/core/business-mgt/service-config.schema.d.ts +453 -0
- package/dist/core/business-mgt/service-config.schema.js +102 -0
- package/dist/core/business-mgt/service-management/appointment-additional-info.schema.d.ts +110 -0
- package/dist/core/business-mgt/service-management/appointment-additional-info.schema.js +78 -0
- package/dist/core/business-mgt/service-management/appointment-field-config.schema.d.ts +304 -0
- package/dist/core/business-mgt/service-management/appointment-field-config.schema.js +75 -0
- package/dist/core/business-mgt/service-management/business-service-config.schema.d.ts +1226 -0
- package/dist/core/business-mgt/service-management/business-service-config.schema.js +317 -0
- package/dist/core/business-mgt/service-management/index.d.ts +13 -0
- package/dist/core/business-mgt/service-management/index.js +29 -0
- package/dist/core/business-mgt/service-management/service-appointment.schema.d.ts +531 -0
- package/dist/core/business-mgt/service-management/service-appointment.schema.js +116 -0
- package/dist/core/business-mgt/service-management/service-person.schema.d.ts +122 -0
- package/dist/core/business-mgt/service-management/service-person.schema.js +66 -0
- package/dist/core/business-mgt/service-management/service-pricing-rule.schema.d.ts +221 -0
- package/dist/core/business-mgt/service-management/service-pricing-rule.schema.js +118 -0
- package/dist/core/business-mgt/service-management/service-provider.schema.d.ts +90 -0
- package/dist/core/business-mgt/service-management/service-provider.schema.js +54 -0
- package/dist/core/business-mgt/service-management/service-slot-query.schema.d.ts +90 -0
- package/dist/core/business-mgt/service-management/service-slot-query.schema.js +113 -0
- package/dist/core/business-mgt/service-management/service-time-off.schema.d.ts +121 -0
- package/dist/core/business-mgt/service-management/service-time-off.schema.js +95 -0
- package/dist/core/business-mgt/service-person.schema.d.ts +43 -0
- package/dist/core/business-mgt/service-person.schema.js +38 -0
- package/dist/core/business-mgt/tax-rule.schema.d.ts +161 -0
- package/dist/core/business-mgt/tax-rule.schema.js +90 -0
- package/dist/core/conversation/conversation-config.schema.d.ts +644 -0
- package/dist/core/conversation/conversation-config.schema.js +351 -0
- package/dist/core/conversation/conversation-message.schema.d.ts +307 -0
- package/dist/core/conversation/conversation-message.schema.js +275 -0
- package/dist/core/conversation/index.d.ts +12 -0
- package/dist/core/conversation/index.js +28 -0
- package/dist/core/conversation/outbound-call.schema.d.ts +209 -0
- package/dist/core/conversation/outbound-call.schema.js +116 -0
- package/dist/core/conversation/outbound-email.schema.d.ts +338 -0
- package/dist/core/conversation/outbound-email.schema.js +150 -0
- package/dist/core/conversation/outbound-sms.schema.d.ts +163 -0
- package/dist/core/conversation/outbound-sms.schema.js +85 -0
- package/dist/core/conversation/outbound-template.schema.d.ts +375 -0
- package/dist/core/conversation/outbound-template.schema.js +160 -0
- package/dist/core/conversation/translation-config.schema.d.ts +92 -0
- package/dist/core/conversation/translation-config.schema.js +88 -0
- package/dist/core/conversation/translation-conversation.schema.d.ts +469 -0
- package/dist/core/conversation/translation-conversation.schema.js +175 -0
- package/dist/core/index.d.ts +12 -0
- package/dist/core/index.js +30 -0
- package/dist/core/service-configuration/agent-config.schema.d.ts +236 -0
- package/dist/core/service-configuration/agent-config.schema.js +152 -0
- package/dist/core/service-configuration/base-agent-setup.d.ts +147 -0
- package/dist/core/service-configuration/base-agent-setup.js +123 -0
- package/dist/core/service-configuration/call-transfer-config.schema.d.ts +60 -0
- package/dist/core/service-configuration/call-transfer-config.schema.js +53 -0
- package/dist/core/service-configuration/deployment-config.schema.d.ts +522 -0
- package/dist/core/service-configuration/deployment-config.schema.js +271 -0
- package/dist/core/service-configuration/dynamic_setup/base-agent-setup.d.ts +130 -0
- package/dist/core/service-configuration/dynamic_setup/base-agent-setup.js +110 -0
- package/dist/core/service-configuration/dynamic_setup/index.d.ts +10 -0
- package/dist/core/service-configuration/dynamic_setup/index.js +26 -0
- package/dist/core/service-configuration/dynamic_setup/phone-agent-setup.d.ts +111 -0
- package/dist/core/service-configuration/dynamic_setup/phone-agent-setup.js +56 -0
- package/dist/core/service-configuration/dynamic_setup/web-agent-setup.d.ts +113 -0
- package/dist/core/service-configuration/dynamic_setup/web-agent-setup.js +55 -0
- package/dist/core/service-configuration/index.d.ts +17 -0
- package/dist/core/service-configuration/index.js +33 -0
- package/dist/core/service-configuration/instruction-config.schema.d.ts +183 -0
- package/dist/core/service-configuration/instruction-config.schema.js +139 -0
- package/dist/core/service-configuration/interaction-channels.schema.d.ts +469 -0
- package/dist/core/service-configuration/interaction-channels.schema.js +390 -0
- package/dist/core/service-configuration/knowledge.schema.d.ts +107 -0
- package/dist/core/service-configuration/knowledge.schema.js +106 -0
- package/dist/core/service-configuration/phone-config.schema.d.ts +206 -0
- package/dist/core/service-configuration/phone-config.schema.js +121 -0
- package/dist/core/service-configuration/phone-number.schema.d.ts +236 -0
- package/dist/core/service-configuration/phone-number.schema.js +211 -0
- package/dist/core/service-configuration/provisioning-config.d.ts +429 -0
- package/dist/core/service-configuration/provisioning-config.js +307 -0
- package/dist/core/service-configuration/support-llm.d.ts +95 -0
- package/dist/core/service-configuration/support-llm.js +76 -0
- package/dist/core/service-configuration/voice-language.schema.d.ts +200 -0
- package/dist/core/service-configuration/voice-language.schema.js +166 -0
- package/dist/core/type-definitions/account-definitions.d.ts +82 -0
- package/dist/core/type-definitions/account-definitions.js +88 -0
- package/dist/core/type-definitions/business-definitions.d.ts +394 -0
- package/dist/core/type-definitions/business-definitions.js +447 -0
- package/dist/core/type-definitions/conversation.type.definition.d.ts +223 -0
- package/dist/core/type-definitions/conversation.type.definition.js +236 -0
- package/dist/core/type-definitions/display-order.d.ts +154 -0
- package/dist/core/type-definitions/display-order.js +154 -0
- package/dist/core/type-definitions/dynamic-fields/field-definition.schema.d.ts +165 -0
- package/dist/core/type-definitions/dynamic-fields/field-definition.schema.js +97 -0
- package/dist/core/type-definitions/dynamic-fields/field-types.d.ts +49 -0
- package/dist/core/type-definitions/dynamic-fields/field-types.js +104 -0
- package/dist/core/type-definitions/dynamic-fields/index.d.ts +9 -0
- package/dist/core/type-definitions/dynamic-fields/index.js +25 -0
- package/dist/core/type-definitions/index.d.ts +10 -0
- package/dist/core/type-definitions/index.js +26 -0
- package/dist/core/type-definitions/knowledge-definitions.d.ts +30 -0
- package/dist/core/type-definitions/knowledge-definitions.js +37 -0
- package/dist/core/type-definitions/service-config.definitions.d.ts +112 -0
- package/dist/core/type-definitions/service-config.definitions.js +135 -0
- package/dist/core/validators/channel-validation.d.ts +19 -0
- package/dist/core/validators/channel-validation.js +40 -0
- package/dist/core/validators/index.d.ts +5 -0
- package/dist/core/validators/index.js +21 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +24 -0
- package/dist/request/index.d.ts +5 -0
- package/dist/request/index.js +21 -0
- package/dist/request/models/index.d.ts +6 -0
- package/dist/request/models/index.js +22 -0
- package/dist/request/models/paginated-quest.schema.d.ts +33 -0
- package/dist/request/models/paginated-quest.schema.js +35 -0
- package/dist/request/models/paginated-result.schema.d.ts +124 -0
- package/dist/request/models/paginated-result.schema.js +94 -0
- package/package.json +43 -0
|
@@ -0,0 +1,469 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { DeploymentProvisioningType, DeploymentStatus, DeploymentType, MobilePlatform, OttCommunicationType } from "../type-definitions";
|
|
3
|
+
/**
|
|
4
|
+
* Zod schema for phone channel configuration.
|
|
5
|
+
*
|
|
6
|
+
* Configuration specific to phone-based channels supporting voice calls and SMS messaging.
|
|
7
|
+
* This configuration links to a PhoneConfiguration resource that manages the actual phone number
|
|
8
|
+
* and telephony provider settings.
|
|
9
|
+
*
|
|
10
|
+
* @remarks
|
|
11
|
+
* **Architecture Context:**
|
|
12
|
+
* - **Used By**: Call and SMS deployment channels
|
|
13
|
+
* - **Relationship**: References PhoneConfiguration via phoneConfigurationId
|
|
14
|
+
* - **Features**: Supports call forwarding to external numbers for escalation or overflow
|
|
15
|
+
*/
|
|
16
|
+
export declare const PhoneChannelConfigSchema: z.ZodObject<{
|
|
17
|
+
phoneConfigurationId: z.ZodString;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
/**
|
|
20
|
+
* Zod schema for web channel configuration.
|
|
21
|
+
*
|
|
22
|
+
* Configuration specific to web-based chat widget channels that can be embedded in websites
|
|
23
|
+
* and web applications for browser-based real-time communication.
|
|
24
|
+
*
|
|
25
|
+
* @remarks
|
|
26
|
+
* **Architecture Context:**
|
|
27
|
+
* - **Used By**: Web deployment channels
|
|
28
|
+
* - **Features**: Embeddable chat widget, WebSocket communication, rich media support
|
|
29
|
+
* - **Customization**: Supports custom CSS and theming for brand consistency
|
|
30
|
+
*/
|
|
31
|
+
export declare const WebChannelConfigSchema: z.ZodObject<{
|
|
32
|
+
communicationType: z.ZodDefault<z.ZodEnum<typeof OttCommunicationType>>;
|
|
33
|
+
widgetConfiguration: z.ZodOptional<z.ZodObject<{
|
|
34
|
+
position: z.ZodDefault<z.ZodEnum<{
|
|
35
|
+
left: "left";
|
|
36
|
+
right: "right";
|
|
37
|
+
}>>;
|
|
38
|
+
customTheme: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
39
|
+
}, z.core.$strip>>;
|
|
40
|
+
}, z.core.$strip>;
|
|
41
|
+
/**
|
|
42
|
+
* Zod schema for mobile app channel configuration.
|
|
43
|
+
*
|
|
44
|
+
* Configuration specific to mobile application channels for native iOS and Android integrations.
|
|
45
|
+
* Enables SDK-based integration with platform-specific UI components.
|
|
46
|
+
*
|
|
47
|
+
* @remarks
|
|
48
|
+
* **Architecture Context:**
|
|
49
|
+
* - **Used By**: Mobile deployment channels
|
|
50
|
+
* - **Features**: SDK-based integration, deep linking, platform-specific UI
|
|
51
|
+
* - **Status**: Coming soon - currently in development
|
|
52
|
+
*/
|
|
53
|
+
export declare const MobileAppChannelConfigSchema: z.ZodObject<{
|
|
54
|
+
packageName: z.ZodDefault<z.ZodString>;
|
|
55
|
+
platform: z.ZodDefault<z.ZodEnum<typeof MobilePlatform>>;
|
|
56
|
+
}, z.core.$strip>;
|
|
57
|
+
/**
|
|
58
|
+
* Zod schema for call-based deployment channel.
|
|
59
|
+
*
|
|
60
|
+
* Defines a voice telephony channel for inbound and outbound phone calls. Integrates with
|
|
61
|
+
* telephony providers (SignalWire, Twilio) through PhoneConfiguration.
|
|
62
|
+
*
|
|
63
|
+
* @remarks
|
|
64
|
+
* **Architecture Context:**
|
|
65
|
+
* - **Channel Type**: Phone (Voice Calls)
|
|
66
|
+
* - **Integration**: PBX systems, contact centers, SIP trunks, cloud telephony
|
|
67
|
+
* - **Features**: Call recording, DTMF input, call forwarding, SIP/VoIP support
|
|
68
|
+
*
|
|
69
|
+
* @example
|
|
70
|
+
* ```typescript
|
|
71
|
+
* const callChannel: CallChannelType = {
|
|
72
|
+
* id: '123*',
|
|
73
|
+
* channelIdentifier: '+12125551234',
|
|
74
|
+
* deploymentType: DeploymentType.CALLS,
|
|
75
|
+
* recordingEnabled: true,
|
|
76
|
+
* configuration: {
|
|
77
|
+
* phoneConfigurationId: '789*',
|
|
78
|
+
* hasForwardingEnabled: false
|
|
79
|
+
* }
|
|
80
|
+
* };
|
|
81
|
+
* ```
|
|
82
|
+
*/
|
|
83
|
+
export declare const CallChannelSchema: z.ZodObject<{
|
|
84
|
+
id: z.ZodString;
|
|
85
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
86
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
87
|
+
channelName: z.ZodOptional<z.ZodString>;
|
|
88
|
+
recordingEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
89
|
+
channelIdentifier: z.ZodString;
|
|
90
|
+
deploymentType: z.ZodLiteral<DeploymentType.CALLS>;
|
|
91
|
+
configuration: z.ZodObject<{
|
|
92
|
+
phoneConfigurationId: z.ZodString;
|
|
93
|
+
}, z.core.$strip>;
|
|
94
|
+
}, z.core.$strip>;
|
|
95
|
+
/**
|
|
96
|
+
* Zod schema for SMS-based deployment channel.
|
|
97
|
+
*
|
|
98
|
+
* Defines an SMS messaging channel for text-based communication. Uses the same telephony
|
|
99
|
+
* infrastructure as voice calls but optimized for asynchronous text messaging.
|
|
100
|
+
*
|
|
101
|
+
* @remarks
|
|
102
|
+
* **Architecture Context:**
|
|
103
|
+
* - **Channel Type**: Phone (SMS Messaging)
|
|
104
|
+
* - **Integration**: SMS gateways, telephony providers
|
|
105
|
+
* - **Features**: Asynchronous messaging, message history, multimedia support (MMS)
|
|
106
|
+
*/
|
|
107
|
+
export declare const SmsChannelSchema: z.ZodObject<{
|
|
108
|
+
id: z.ZodString;
|
|
109
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
110
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
111
|
+
channelName: z.ZodOptional<z.ZodString>;
|
|
112
|
+
recordingEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
113
|
+
channelIdentifier: z.ZodString;
|
|
114
|
+
deploymentType: z.ZodLiteral<DeploymentType.SMS>;
|
|
115
|
+
configuration: z.ZodObject<{
|
|
116
|
+
phoneConfigurationId: z.ZodString;
|
|
117
|
+
}, z.core.$strip>;
|
|
118
|
+
}, z.core.$strip>;
|
|
119
|
+
/**
|
|
120
|
+
* Zod schema for web-based deployment channel.
|
|
121
|
+
*
|
|
122
|
+
* Defines a browser-based chat widget channel for website integration. Provides real-time
|
|
123
|
+
* messaging with rich media support through WebSocket connections.
|
|
124
|
+
*
|
|
125
|
+
* @remarks
|
|
126
|
+
* **Architecture Context:**
|
|
127
|
+
* - **Channel Type**: Web (Chat Widget)
|
|
128
|
+
* - **Integration**: Websites, web apps, customer portals, help centers
|
|
129
|
+
* - **Features**: Embeddable widget, WebSocket real-time communication, rich media, session persistence
|
|
130
|
+
*/
|
|
131
|
+
export declare const WebChannelSchema: z.ZodObject<{
|
|
132
|
+
id: z.ZodString;
|
|
133
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
134
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
135
|
+
channelName: z.ZodOptional<z.ZodString>;
|
|
136
|
+
recordingEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
137
|
+
channelIdentifier: z.ZodString;
|
|
138
|
+
deploymentType: z.ZodLiteral<DeploymentType.WEB>;
|
|
139
|
+
configuration: z.ZodObject<{
|
|
140
|
+
communicationType: z.ZodDefault<z.ZodEnum<typeof OttCommunicationType>>;
|
|
141
|
+
widgetConfiguration: z.ZodOptional<z.ZodObject<{
|
|
142
|
+
position: z.ZodDefault<z.ZodEnum<{
|
|
143
|
+
left: "left";
|
|
144
|
+
right: "right";
|
|
145
|
+
}>>;
|
|
146
|
+
customTheme: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
147
|
+
}, z.core.$strip>>;
|
|
148
|
+
}, z.core.$strip>;
|
|
149
|
+
}, z.core.$strip>;
|
|
150
|
+
/**
|
|
151
|
+
* Zod schema for mobile app deployment channel.
|
|
152
|
+
*
|
|
153
|
+
* Defines a native mobile application channel for iOS and Android apps. Enables SDK-based
|
|
154
|
+
* integration with platform-specific UI components and capabilities.
|
|
155
|
+
*
|
|
156
|
+
* @remarks
|
|
157
|
+
* **Architecture Context:**
|
|
158
|
+
* - **Channel Type**: Mobile (Native App)
|
|
159
|
+
* - **Integration**: iOS apps, Android apps, cross-platform frameworks (React Native, Flutter)
|
|
160
|
+
* - **Features**: SDK integration, deep linking, platform-specific UI, push notifications
|
|
161
|
+
* - **Status**: Coming soon - currently in development
|
|
162
|
+
*/
|
|
163
|
+
export declare const MobileAppChannelSchema: z.ZodObject<{
|
|
164
|
+
id: z.ZodString;
|
|
165
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
166
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
167
|
+
channelName: z.ZodOptional<z.ZodString>;
|
|
168
|
+
recordingEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
169
|
+
channelIdentifier: z.ZodString;
|
|
170
|
+
deploymentType: z.ZodLiteral<DeploymentType.MOBILE>;
|
|
171
|
+
configuration: z.ZodObject<{
|
|
172
|
+
packageName: z.ZodDefault<z.ZodString>;
|
|
173
|
+
platform: z.ZodDefault<z.ZodEnum<typeof MobilePlatform>>;
|
|
174
|
+
}, z.core.$strip>;
|
|
175
|
+
}, z.core.$strip>;
|
|
176
|
+
/**
|
|
177
|
+
* Type definition for call channel.
|
|
178
|
+
*/
|
|
179
|
+
export type CallChannelType = z.infer<typeof CallChannelSchema>;
|
|
180
|
+
/**
|
|
181
|
+
* Type definition for SMS channel.
|
|
182
|
+
*/
|
|
183
|
+
export type SmsChannelType = z.infer<typeof SmsChannelSchema>;
|
|
184
|
+
/**
|
|
185
|
+
* Type definition for web channel.
|
|
186
|
+
*/
|
|
187
|
+
export type WebChannelType = z.infer<typeof WebChannelSchema>;
|
|
188
|
+
/**
|
|
189
|
+
* Type definition for mobile app channel.
|
|
190
|
+
*/
|
|
191
|
+
export type MobileAppChannelType = z.infer<typeof MobileAppChannelSchema>;
|
|
192
|
+
/**
|
|
193
|
+
* Zod schema for creating a new web channel.
|
|
194
|
+
*/
|
|
195
|
+
export declare const CreateWebChannelSchema: z.ZodObject<{
|
|
196
|
+
deploymentType: z.ZodLiteral<DeploymentType.WEB>;
|
|
197
|
+
channelName: z.ZodOptional<z.ZodString>;
|
|
198
|
+
recordingEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
199
|
+
channelIdentifier: z.ZodString;
|
|
200
|
+
configuration: z.ZodObject<{
|
|
201
|
+
communicationType: z.ZodDefault<z.ZodEnum<typeof OttCommunicationType>>;
|
|
202
|
+
widgetConfiguration: z.ZodOptional<z.ZodObject<{
|
|
203
|
+
position: z.ZodDefault<z.ZodEnum<{
|
|
204
|
+
left: "left";
|
|
205
|
+
right: "right";
|
|
206
|
+
}>>;
|
|
207
|
+
customTheme: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
208
|
+
}, z.core.$strip>>;
|
|
209
|
+
}, z.core.$strip>;
|
|
210
|
+
}, z.core.$strip>;
|
|
211
|
+
/**
|
|
212
|
+
* Zod schema for creating a new mobile app channel.
|
|
213
|
+
*/
|
|
214
|
+
export declare const CreateMobileAppChannelSchema: z.ZodObject<{
|
|
215
|
+
deploymentType: z.ZodLiteral<DeploymentType.MOBILE>;
|
|
216
|
+
channelName: z.ZodOptional<z.ZodString>;
|
|
217
|
+
recordingEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
218
|
+
channelIdentifier: z.ZodString;
|
|
219
|
+
configuration: z.ZodObject<{
|
|
220
|
+
packageName: z.ZodDefault<z.ZodString>;
|
|
221
|
+
platform: z.ZodDefault<z.ZodEnum<typeof MobilePlatform>>;
|
|
222
|
+
}, z.core.$strip>;
|
|
223
|
+
}, z.core.$strip>;
|
|
224
|
+
/**
|
|
225
|
+
* Type definition for creating a web channel.
|
|
226
|
+
*/
|
|
227
|
+
export type CreateWebChannel = z.infer<typeof CreateWebChannelSchema>;
|
|
228
|
+
/**
|
|
229
|
+
* Type definition for creating a mobile app channel.
|
|
230
|
+
*/
|
|
231
|
+
export type CreateMobileAppChannel = z.infer<typeof CreateMobileAppChannelSchema>;
|
|
232
|
+
/**
|
|
233
|
+
* Zod schema for deployment channel creation request.
|
|
234
|
+
*
|
|
235
|
+
* Flexible schema that validates channel configuration based on deployment type.
|
|
236
|
+
* Uses runtime validation to ensure channel-specific requirements are met.
|
|
237
|
+
*
|
|
238
|
+
* @remarks
|
|
239
|
+
* **Architecture Context:**
|
|
240
|
+
* - **Purpose**: Validates incoming requests to create new deployment channels
|
|
241
|
+
* - **Validation**: Type-specific validation ensures correct configuration for each channel type
|
|
242
|
+
* - **Usage**: Used by API endpoints for channel creation
|
|
243
|
+
*/
|
|
244
|
+
export declare const DeploymentChannelRequestSchema: z.ZodObject<{
|
|
245
|
+
deploymentType: z.ZodEnum<typeof DeploymentType>;
|
|
246
|
+
channelName: z.ZodOptional<z.ZodString>;
|
|
247
|
+
recordingEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
248
|
+
channelIdentifier: z.ZodString;
|
|
249
|
+
configuration: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
250
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
251
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
252
|
+
}, z.core.$strip>;
|
|
253
|
+
/**
|
|
254
|
+
* Zod schema for main deployment channel with discriminated union.
|
|
255
|
+
*
|
|
256
|
+
* Provides type-safe channel configuration based on deployment type. This is the primary
|
|
257
|
+
* schema used for deployment channel entities throughout the system.
|
|
258
|
+
*
|
|
259
|
+
* @remarks
|
|
260
|
+
* **Architecture Context:**
|
|
261
|
+
* - **Relationship**: 1:1 with Deployment Configuration (each deployment has exactly one channel)
|
|
262
|
+
* - **Pattern**: Multi-channel deployments require separate Deployment Configurations per channel
|
|
263
|
+
* - **Validation**: Configuration must match the deployment type requirements
|
|
264
|
+
*
|
|
265
|
+
* **Design Note:**
|
|
266
|
+
* The discriminated union approach (commented code) provides stricter type safety but the
|
|
267
|
+
* current union-based approach offers more flexibility for runtime validation.
|
|
268
|
+
*/
|
|
269
|
+
export declare const DeploymentChannelSchema: z.ZodObject<{
|
|
270
|
+
id: z.ZodString;
|
|
271
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
272
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
273
|
+
deploymentType: z.ZodEnum<typeof DeploymentType>;
|
|
274
|
+
channelName: z.ZodOptional<z.ZodString>;
|
|
275
|
+
recordingEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
276
|
+
channelIdentifier: z.ZodString;
|
|
277
|
+
configuration: z.ZodUnion<readonly [z.ZodObject<{
|
|
278
|
+
phoneConfigurationId: z.ZodString;
|
|
279
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
280
|
+
communicationType: z.ZodDefault<z.ZodEnum<typeof OttCommunicationType>>;
|
|
281
|
+
widgetConfiguration: z.ZodOptional<z.ZodObject<{
|
|
282
|
+
position: z.ZodDefault<z.ZodEnum<{
|
|
283
|
+
left: "left";
|
|
284
|
+
right: "right";
|
|
285
|
+
}>>;
|
|
286
|
+
customTheme: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
287
|
+
}, z.core.$strip>>;
|
|
288
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
289
|
+
packageName: z.ZodDefault<z.ZodString>;
|
|
290
|
+
platform: z.ZodDefault<z.ZodEnum<typeof MobilePlatform>>;
|
|
291
|
+
}, z.core.$strip>]>;
|
|
292
|
+
}, z.core.$strip>;
|
|
293
|
+
/**
|
|
294
|
+
* Type definition for deployment channel.
|
|
295
|
+
*/
|
|
296
|
+
export type DeploymentChannel = z.infer<typeof DeploymentChannelSchema>;
|
|
297
|
+
/**
|
|
298
|
+
* Zod schema for creating deployment channel.
|
|
299
|
+
*/
|
|
300
|
+
export declare const CreateDeploymentChannelSchema: z.ZodObject<{
|
|
301
|
+
deploymentType: z.ZodEnum<typeof DeploymentType>;
|
|
302
|
+
channelName: z.ZodOptional<z.ZodString>;
|
|
303
|
+
recordingEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
304
|
+
channelIdentifier: z.ZodString;
|
|
305
|
+
configuration: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
306
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
307
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
308
|
+
}, z.core.$strip>;
|
|
309
|
+
/**
|
|
310
|
+
* Type definition for creating deployment channel.
|
|
311
|
+
*/
|
|
312
|
+
export type CreateDeploymentChannel = z.infer<typeof CreateDeploymentChannelSchema>;
|
|
313
|
+
/**
|
|
314
|
+
* Zod schema for updating deployment channel.
|
|
315
|
+
*
|
|
316
|
+
* Supports partial updates to existing deployment channels. All fields are optional except id.
|
|
317
|
+
*
|
|
318
|
+
* @remarks
|
|
319
|
+
* **Architecture Context:**
|
|
320
|
+
* - **Purpose**: Enables modification of channel settings without recreating the deployment
|
|
321
|
+
* - **Validation**: Partial validation ensures only provided fields are validated
|
|
322
|
+
* - **Usage**: Used by API endpoints for channel updates
|
|
323
|
+
*/
|
|
324
|
+
export declare const DeploymentChannelUpdateRequestSchema: z.ZodObject<{
|
|
325
|
+
id: z.ZodString;
|
|
326
|
+
deploymentType: z.ZodOptional<z.ZodEnum<typeof DeploymentType>>;
|
|
327
|
+
channelName: z.ZodOptional<z.ZodString>;
|
|
328
|
+
recordingEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
329
|
+
channelIdentifier: z.ZodOptional<z.ZodString>;
|
|
330
|
+
configuration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
331
|
+
}, z.core.$strip>;
|
|
332
|
+
/**
|
|
333
|
+
* Type definition for updating deployment channel.
|
|
334
|
+
*/
|
|
335
|
+
export type UpdateDeploymentChannel = z.infer<typeof DeploymentChannelUpdateRequestSchema>;
|
|
336
|
+
/**
|
|
337
|
+
* Zod schema for channel setup request.
|
|
338
|
+
*
|
|
339
|
+
* Complete setup request for creating a new deployment with its associated channel and configurations.
|
|
340
|
+
* This is a convenience schema that combines channel creation with deployment configuration references.
|
|
341
|
+
*
|
|
342
|
+
* @remarks
|
|
343
|
+
* **Architecture Context:**
|
|
344
|
+
* - **Purpose**: Simplifies deployment creation by bundling channel and configuration references
|
|
345
|
+
* - **Relationship**: Creates a Deployment Configuration with associated channel, project, agent, and instruction
|
|
346
|
+
* - **Pattern**: One request creates the complete deployment stack
|
|
347
|
+
*/
|
|
348
|
+
export declare const ChannelSetupRequestSchema: z.ZodObject<{
|
|
349
|
+
channel: z.ZodObject<{
|
|
350
|
+
deploymentType: z.ZodEnum<typeof DeploymentType>;
|
|
351
|
+
channelName: z.ZodOptional<z.ZodString>;
|
|
352
|
+
recordingEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
353
|
+
channelIdentifier: z.ZodString;
|
|
354
|
+
configuration: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
355
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
356
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
357
|
+
}, z.core.$strip>;
|
|
358
|
+
projectId: z.ZodString;
|
|
359
|
+
agentConfigurationId: z.ZodString;
|
|
360
|
+
instructionConfigurationId: z.ZodString;
|
|
361
|
+
}, z.core.$strip>;
|
|
362
|
+
/**
|
|
363
|
+
* Type definition for channel setup request.
|
|
364
|
+
*/
|
|
365
|
+
export type ChannelSetupRequest = z.infer<typeof ChannelSetupRequestSchema>;
|
|
366
|
+
/**
|
|
367
|
+
* Zod schema for channel update request.
|
|
368
|
+
*
|
|
369
|
+
* Partial update request for modifying an existing deployment and its associated channel.
|
|
370
|
+
* Supports updating the channel configuration and/or changing the referenced configurations.
|
|
371
|
+
*
|
|
372
|
+
* @remarks
|
|
373
|
+
* **Architecture Context:**
|
|
374
|
+
* - **Purpose**: Enables modification of deployment configuration references and channel settings
|
|
375
|
+
* - **Flexibility**: All fields are optional for partial updates
|
|
376
|
+
* - **Usage**: Used to update deployments without full recreation
|
|
377
|
+
*/
|
|
378
|
+
export declare const ChannelUpdateRequestSchema: z.ZodObject<{
|
|
379
|
+
channel: z.ZodObject<{
|
|
380
|
+
id: z.ZodString;
|
|
381
|
+
deploymentType: z.ZodOptional<z.ZodEnum<typeof DeploymentType>>;
|
|
382
|
+
channelName: z.ZodOptional<z.ZodString>;
|
|
383
|
+
recordingEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
384
|
+
channelIdentifier: z.ZodOptional<z.ZodString>;
|
|
385
|
+
configuration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
386
|
+
}, z.core.$strip>;
|
|
387
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
388
|
+
agentConfigurationId: z.ZodOptional<z.ZodString>;
|
|
389
|
+
instructionConfigurationId: z.ZodOptional<z.ZodString>;
|
|
390
|
+
}, z.core.$strip>;
|
|
391
|
+
/**
|
|
392
|
+
* Type definition for channel update request.
|
|
393
|
+
*/
|
|
394
|
+
export type ChannelUpdateRequest = z.infer<typeof ChannelUpdateRequestSchema>;
|
|
395
|
+
/**
|
|
396
|
+
* Type definition for deployment channel request (legacy compatibility).
|
|
397
|
+
*/
|
|
398
|
+
export type DeploymentChannelRequest = z.infer<typeof DeploymentChannelRequestSchema>;
|
|
399
|
+
/**
|
|
400
|
+
* Type definition for deployment channel type (legacy compatibility).
|
|
401
|
+
*/
|
|
402
|
+
export type DeploymentChannelType = z.infer<typeof DeploymentChannelSchema>;
|
|
403
|
+
/**
|
|
404
|
+
* Type definition for deployment channel update (legacy compatibility).
|
|
405
|
+
*/
|
|
406
|
+
export type DeploymentChannelUpdate = z.infer<typeof DeploymentChannelUpdateRequestSchema>;
|
|
407
|
+
/**
|
|
408
|
+
* Type definition for deployment channel update request (legacy compatibility).
|
|
409
|
+
*/
|
|
410
|
+
export type DeploymentChannelUpdateRequest = z.infer<typeof ChannelUpdateRequestSchema>;
|
|
411
|
+
/**
|
|
412
|
+
* Zod schema for deployment channel with deployment information.
|
|
413
|
+
*
|
|
414
|
+
* Extended view that includes both the channel configuration and its associated deployment details.
|
|
415
|
+
* This schema is typically used for detailed views where the complete deployment context is needed.
|
|
416
|
+
*
|
|
417
|
+
* @remarks
|
|
418
|
+
* **Architecture Context:**
|
|
419
|
+
* - **Purpose**: Provides complete deployment context in a single response
|
|
420
|
+
* - **Usage**: Used for detail views and administrative interfaces
|
|
421
|
+
* - **Relationship**: Combines DeploymentChannel with its associated Deployment Configuration
|
|
422
|
+
*/
|
|
423
|
+
export declare const DeploymentChannelWithDeploymentSchema: z.ZodObject<{
|
|
424
|
+
id: z.ZodString;
|
|
425
|
+
deploymentType: z.ZodEnum<typeof DeploymentType>;
|
|
426
|
+
channelName: z.ZodOptional<z.ZodString>;
|
|
427
|
+
recordingEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
428
|
+
channelIdentifier: z.ZodString;
|
|
429
|
+
configuration: z.ZodUnion<readonly [z.ZodObject<{
|
|
430
|
+
phoneConfigurationId: z.ZodString;
|
|
431
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
432
|
+
communicationType: z.ZodDefault<z.ZodEnum<typeof OttCommunicationType>>;
|
|
433
|
+
widgetConfiguration: z.ZodOptional<z.ZodObject<{
|
|
434
|
+
position: z.ZodDefault<z.ZodEnum<{
|
|
435
|
+
left: "left";
|
|
436
|
+
right: "right";
|
|
437
|
+
}>>;
|
|
438
|
+
customTheme: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
439
|
+
}, z.core.$strip>>;
|
|
440
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
441
|
+
packageName: z.ZodDefault<z.ZodString>;
|
|
442
|
+
platform: z.ZodDefault<z.ZodEnum<typeof MobilePlatform>>;
|
|
443
|
+
}, z.core.$strip>]>;
|
|
444
|
+
deployment: z.ZodNullable<z.ZodObject<{
|
|
445
|
+
id: z.ZodString;
|
|
446
|
+
projectId: z.ZodString;
|
|
447
|
+
deploymentChannelId: z.ZodString;
|
|
448
|
+
deploymentName: z.ZodOptional<z.ZodString>;
|
|
449
|
+
agentConfigurationId: z.ZodString;
|
|
450
|
+
instructionConfigurationId: z.ZodString;
|
|
451
|
+
provisioningConfigChainId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
452
|
+
provisioningType: z.ZodNullable<z.ZodOptional<z.ZodEnum<typeof DeploymentProvisioningType>>>;
|
|
453
|
+
deploymentStatus: z.ZodEnum<typeof DeploymentStatus>;
|
|
454
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
455
|
+
project: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
456
|
+
agent: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
457
|
+
instruction: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
458
|
+
createdAt: z.ZodNumber;
|
|
459
|
+
}, z.core.$strip>>;
|
|
460
|
+
}, z.core.$strip>;
|
|
461
|
+
/**
|
|
462
|
+
* Type definition for deployment channel with deployment info.
|
|
463
|
+
*/
|
|
464
|
+
export type DeploymentChannelInfo = z.infer<typeof DeploymentChannelWithDeploymentSchema>;
|
|
465
|
+
export declare const DeploymentChannelDeletionRequestSchema: z.ZodObject<{
|
|
466
|
+
id: z.ZodString;
|
|
467
|
+
deletePhoneConfig: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
468
|
+
}, z.core.$strip>;
|
|
469
|
+
export type DeploymentChannelDeletionRequest = z.infer<typeof DeploymentChannelDeletionRequestSchema>;
|