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,394 @@
|
|
|
1
|
+
import z from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* External reference schema for synchronization with external systems.
|
|
4
|
+
*/
|
|
5
|
+
export declare const ExternalRefSchema: z.ZodObject<{
|
|
6
|
+
externalId: z.ZodString;
|
|
7
|
+
source: z.ZodString;
|
|
8
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
9
|
+
syncedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
export type ExternalRef = z.infer<typeof ExternalRefSchema>;
|
|
12
|
+
export declare enum BusinessServiceType {
|
|
13
|
+
MENU = "menu",// Restaurant/food
|
|
14
|
+
SERVICE = "service",// Professional services
|
|
15
|
+
PRODUCT = "product",// Retail items
|
|
16
|
+
APPOINTMENT = "appointment"
|
|
17
|
+
}
|
|
18
|
+
export declare enum CalendarProvider {
|
|
19
|
+
GOOGLE = "google",
|
|
20
|
+
OUTLOOK = "outlook",
|
|
21
|
+
CALENDLY = "calendly"
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Reservation resource type.
|
|
25
|
+
* Identifies the kind of resource used by reservation and resource-management schemas.
|
|
26
|
+
*
|
|
27
|
+
* @enum {string}
|
|
28
|
+
*/
|
|
29
|
+
export declare enum ResourceType {
|
|
30
|
+
TABLE = "table",
|
|
31
|
+
ROOM = "room",
|
|
32
|
+
RENTAL = "rental",
|
|
33
|
+
RENTALS = "rentals",
|
|
34
|
+
RESOURCE = "resource"
|
|
35
|
+
}
|
|
36
|
+
export declare enum ResourceReservationDurationUnit {
|
|
37
|
+
MINUTES = "minutes",
|
|
38
|
+
HOURS = "hours",
|
|
39
|
+
NIGHTS = "nights"
|
|
40
|
+
}
|
|
41
|
+
export declare enum ReservationSettingType {
|
|
42
|
+
CAPACITY = "capacity",
|
|
43
|
+
RESOURCE_SPECIFIC = "resource_specific"
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Reservation lifecycle status.
|
|
47
|
+
* Shared status enum for table and room reservation workflows.
|
|
48
|
+
*
|
|
49
|
+
* @enum {string}
|
|
50
|
+
*/
|
|
51
|
+
export declare enum ReservationStatus {
|
|
52
|
+
PENDING = "pending",
|
|
53
|
+
CONFIRMED = "confirmed",
|
|
54
|
+
SEATED = "seated",
|
|
55
|
+
CHECKED_IN = "checked_in",
|
|
56
|
+
COMPLETED = "completed",
|
|
57
|
+
CANCELLED = "cancelled",
|
|
58
|
+
NO_SHOW = "no_show"
|
|
59
|
+
}
|
|
60
|
+
export declare enum AppointmentStatus {
|
|
61
|
+
PENDING = "pending",
|
|
62
|
+
CONFIRMED = "confirmed",
|
|
63
|
+
CANCELLED = "cancelled",
|
|
64
|
+
COMPLETED = "completed",
|
|
65
|
+
NO_SHOW = "no_show"
|
|
66
|
+
}
|
|
67
|
+
export declare enum ServiceProviderTimeOffType {
|
|
68
|
+
RECURRING = "recurring",
|
|
69
|
+
SPECIFIC = "specific"
|
|
70
|
+
}
|
|
71
|
+
export declare enum ServiceProviderTimeOffStatus {
|
|
72
|
+
APPROVED = "approved",
|
|
73
|
+
PENDING = "pending",
|
|
74
|
+
REJECTED = "rejected"
|
|
75
|
+
}
|
|
76
|
+
export declare enum ReservationSlotStatus {
|
|
77
|
+
AVAILABLE = "available",
|
|
78
|
+
BOOKED = "booked",
|
|
79
|
+
BLOCKED = "blocked",
|
|
80
|
+
MAINTENANCE = "maintenance"
|
|
81
|
+
}
|
|
82
|
+
export declare enum RecurrenceType {
|
|
83
|
+
NONE = "none",
|
|
84
|
+
DAILY = "daily",
|
|
85
|
+
WEEKLY = "weekly",
|
|
86
|
+
MONTHLY = "monthly"
|
|
87
|
+
}
|
|
88
|
+
export declare enum OrderStatus {
|
|
89
|
+
PENDING = "pending",
|
|
90
|
+
CONFIRMED = "confirmed",
|
|
91
|
+
PREPARING = "preparing",
|
|
92
|
+
READY = "ready",
|
|
93
|
+
OUT_FOR_DELIVERY = "out_for_delivery",
|
|
94
|
+
COMPLETED = "completed",
|
|
95
|
+
CANCELLED = "cancelled",
|
|
96
|
+
RETURNED = "returned"
|
|
97
|
+
}
|
|
98
|
+
export declare enum PaymentStatus {
|
|
99
|
+
PENDING = "pending",
|
|
100
|
+
PAID = "paid",
|
|
101
|
+
PARTIAL = "partial",
|
|
102
|
+
FAILED = "failed",
|
|
103
|
+
REFUNDED = "refunded"
|
|
104
|
+
}
|
|
105
|
+
export declare enum MenuOrderType {
|
|
106
|
+
DINE_IN = "dine_in",
|
|
107
|
+
TAKEOUT = "takeout",
|
|
108
|
+
DELIVERY = "delivery"
|
|
109
|
+
}
|
|
110
|
+
export declare enum ProductOrderType {
|
|
111
|
+
PICKUP = "pickup",
|
|
112
|
+
DELIVERY = "delivery",
|
|
113
|
+
SHIPPING = "shipping"
|
|
114
|
+
}
|
|
115
|
+
export declare enum InventoryUnit {
|
|
116
|
+
EACH = "each",// Single item
|
|
117
|
+
PACK = "pack",// Small group/package (e.g., 6-pack)
|
|
118
|
+
BOX = "box",// Boxed items
|
|
119
|
+
CASE = "case",// Larger shipping case
|
|
120
|
+
DOZEN = "dozen",// 12 items
|
|
121
|
+
PAIR = "pair",// Shoes, gloves, etc.
|
|
122
|
+
GRAM = "gram",// For small quantities (e.g., spices)
|
|
123
|
+
POUNDS = "lbs",// Pounds
|
|
124
|
+
KILOGRAM = "kg",// Kilogram
|
|
125
|
+
MILLILITER = "ml",// Milliliter
|
|
126
|
+
LITER = "l",// Liter
|
|
127
|
+
METER = "m",// Meter
|
|
128
|
+
CENTIMETER = "cm",// Centimeter
|
|
129
|
+
ROLL = "rl",// Roll
|
|
130
|
+
SET = "set",// Set
|
|
131
|
+
OTHER = "other"
|
|
132
|
+
}
|
|
133
|
+
export declare enum StockAdjustmentType {
|
|
134
|
+
ADDITION = "addition",
|
|
135
|
+
SUBTRACTION = "subtraction",
|
|
136
|
+
ADJUSTMENT = "adjustment"
|
|
137
|
+
}
|
|
138
|
+
export declare enum StockStatus {
|
|
139
|
+
IN_STOCK = "in_stock",
|
|
140
|
+
LOW_STOCK = "low_stock",
|
|
141
|
+
OUT_OF_STOCK = "out_of_stock",
|
|
142
|
+
DISCONTINUED = "discontinued"
|
|
143
|
+
}
|
|
144
|
+
export declare enum RestockStatus {
|
|
145
|
+
NEEDED = "needed",// Needs to be ordered
|
|
146
|
+
ORDERED = "ordered",// Order placed with supplier
|
|
147
|
+
RECEIVED = "received",// Stock received and added
|
|
148
|
+
CANCELLED = "cancelled"
|
|
149
|
+
}
|
|
150
|
+
export declare enum BusinessServiceDocumentTypes {
|
|
151
|
+
CUSTOMERS = "customers",
|
|
152
|
+
MENU_CATALOG = "menu_catalog",
|
|
153
|
+
PRODUCT_CATALOG = "product_catalog",
|
|
154
|
+
SERVICE_CATALOG = "service_catalog",
|
|
155
|
+
RESOURCE_CATALOG = "resource_catalog",
|
|
156
|
+
INVENTORY_CATALOG = "inventory_catalog",
|
|
157
|
+
SUPPLIER = "suppliers"
|
|
158
|
+
}
|
|
159
|
+
export declare enum BusinessDocumentTypes {
|
|
160
|
+
CSV = "text/csv",
|
|
161
|
+
XLS = "application/vnd.ms-excel",
|
|
162
|
+
XLSX = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
|
163
|
+
TXT = "text/plain",
|
|
164
|
+
JSON = "application/json",
|
|
165
|
+
PDF = "application/pdf",
|
|
166
|
+
DOCX = "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
|
|
167
|
+
PPTX = "application/vnd.openxmlformats-officedocument.presentationml.presentation",
|
|
168
|
+
PPT = "application/vnd.ms-powerpoint",
|
|
169
|
+
HTML = "text/html",
|
|
170
|
+
MD = "text/markdown",
|
|
171
|
+
RTF = "application/rtf",
|
|
172
|
+
JPEG = "image/jpeg",
|
|
173
|
+
PNG = "image/png"
|
|
174
|
+
}
|
|
175
|
+
export declare const DAYS_OF_WEEK: {
|
|
176
|
+
id: number;
|
|
177
|
+
name: string;
|
|
178
|
+
short: string;
|
|
179
|
+
}[];
|
|
180
|
+
export declare const TIMEZONES: string[];
|
|
181
|
+
/**
|
|
182
|
+
* Time slot schema for scheduling.
|
|
183
|
+
* Defines a start and end time in HH:MM format.
|
|
184
|
+
*/
|
|
185
|
+
export declare const TimeSlotSchema: z.ZodObject<{
|
|
186
|
+
start: z.ZodString;
|
|
187
|
+
end: z.ZodString;
|
|
188
|
+
}, z.core.$strip>;
|
|
189
|
+
/**
|
|
190
|
+
* Break time schema (alias for TimeSlotSchema).
|
|
191
|
+
*/
|
|
192
|
+
export declare const BreakTimeSchema: z.ZodObject<{
|
|
193
|
+
start: z.ZodString;
|
|
194
|
+
end: z.ZodString;
|
|
195
|
+
}, z.core.$strip>;
|
|
196
|
+
/**
|
|
197
|
+
* Simple day schedule schema.
|
|
198
|
+
* Defines basic availability for a single day.
|
|
199
|
+
*/
|
|
200
|
+
export declare const SimpleDayScheduleSchema: z.ZodObject<{
|
|
201
|
+
isOpen: z.ZodBoolean;
|
|
202
|
+
startTime: z.ZodString;
|
|
203
|
+
endTime: z.ZodString;
|
|
204
|
+
}, z.core.$strip>;
|
|
205
|
+
/**
|
|
206
|
+
* Day schedule schema with break times.
|
|
207
|
+
* Extends simple day schedule with break periods.
|
|
208
|
+
*/
|
|
209
|
+
export declare const DayScheduleSchema: z.ZodObject<{
|
|
210
|
+
isOpen: z.ZodBoolean;
|
|
211
|
+
startTime: z.ZodString;
|
|
212
|
+
endTime: z.ZodString;
|
|
213
|
+
breakTimes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
214
|
+
start: z.ZodString;
|
|
215
|
+
end: z.ZodString;
|
|
216
|
+
}, z.core.$strip>>>;
|
|
217
|
+
}, z.core.$strip>;
|
|
218
|
+
/**
|
|
219
|
+
* Simple weekly schedule schema.
|
|
220
|
+
* Record of day index (0-6) to simple day schedule.
|
|
221
|
+
*/
|
|
222
|
+
export declare const SimpleWeeklyScheduleSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
223
|
+
isOpen: z.ZodBoolean;
|
|
224
|
+
startTime: z.ZodString;
|
|
225
|
+
endTime: z.ZodString;
|
|
226
|
+
}, z.core.$strip>>;
|
|
227
|
+
/**
|
|
228
|
+
* Weekly schedule schema with breaks.
|
|
229
|
+
* Record of day index (0-6) to full day schedule with breaks.
|
|
230
|
+
*/
|
|
231
|
+
export declare const WeeklyScheduleSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
232
|
+
isOpen: z.ZodBoolean;
|
|
233
|
+
startTime: z.ZodString;
|
|
234
|
+
endTime: z.ZodString;
|
|
235
|
+
breakTimes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
236
|
+
start: z.ZodString;
|
|
237
|
+
end: z.ZodString;
|
|
238
|
+
}, z.core.$strip>>>;
|
|
239
|
+
}, z.core.$strip>>;
|
|
240
|
+
export type TimeSlot = z.infer<typeof TimeSlotSchema>;
|
|
241
|
+
export type BreakTime = z.infer<typeof BreakTimeSchema>;
|
|
242
|
+
export type SimpleDaySchedule = z.infer<typeof SimpleDayScheduleSchema>;
|
|
243
|
+
export type DaySchedule = z.infer<typeof DayScheduleSchema>;
|
|
244
|
+
export type SimpleWeeklySchedule = z.infer<typeof SimpleWeeklyScheduleSchema>;
|
|
245
|
+
export type WeeklySchedule = z.infer<typeof WeeklyScheduleSchema>;
|
|
246
|
+
export declare enum CallPriority {
|
|
247
|
+
HIGH = "high",
|
|
248
|
+
MEDIUM = "medium",
|
|
249
|
+
LOW = "low"
|
|
250
|
+
}
|
|
251
|
+
export declare enum PreferredContactMethod {
|
|
252
|
+
EMAIL = "email",
|
|
253
|
+
PHONE = "phone",
|
|
254
|
+
SMS = "sms"
|
|
255
|
+
}
|
|
256
|
+
export declare enum BestTimeToCall {
|
|
257
|
+
MORNING = "morning",
|
|
258
|
+
AFTERNOON = "afternoon",
|
|
259
|
+
EVENING = "evening",
|
|
260
|
+
ANYTIME = "anytime"
|
|
261
|
+
}
|
|
262
|
+
export declare enum PropertyType {
|
|
263
|
+
RESIDENTIAL = "residential",
|
|
264
|
+
COMMERCIAL = "commercial",
|
|
265
|
+
LAND = "land"
|
|
266
|
+
}
|
|
267
|
+
export declare enum PropertySubType {
|
|
268
|
+
HOUSE = "house",
|
|
269
|
+
APARTMENT = "apartment",
|
|
270
|
+
CONDO = "condo",
|
|
271
|
+
TOWNHOUSE = "townhouse",
|
|
272
|
+
VILLA = "villa",
|
|
273
|
+
OFFICE = "office",
|
|
274
|
+
RETAIL = "retail",
|
|
275
|
+
WAREHOUSE = "warehouse",
|
|
276
|
+
INDUSTRIAL = "industrial",
|
|
277
|
+
LOT = "lot",
|
|
278
|
+
FARM = "farm",
|
|
279
|
+
ACREAGE = "acreage"
|
|
280
|
+
}
|
|
281
|
+
export declare enum ListingType {
|
|
282
|
+
SALE = "sale",
|
|
283
|
+
RENT = "rent",
|
|
284
|
+
BOTH = "both"
|
|
285
|
+
}
|
|
286
|
+
export declare enum ListingStatus {
|
|
287
|
+
DRAFT = "draft",
|
|
288
|
+
ACTIVE = "active",
|
|
289
|
+
UNDER_OFFER = "under_offer",
|
|
290
|
+
SOLD = "sold",
|
|
291
|
+
LEASED = "leased",
|
|
292
|
+
WITHDRAWN = "withdrawn"
|
|
293
|
+
}
|
|
294
|
+
export declare enum PropertyCondition {
|
|
295
|
+
NEW = "new",
|
|
296
|
+
EXCELLENT = "excellent",
|
|
297
|
+
GOOD = "good",
|
|
298
|
+
FAIR = "fair",
|
|
299
|
+
NEEDS_WORK = "needs_work"
|
|
300
|
+
}
|
|
301
|
+
export declare enum RentalPeriod {
|
|
302
|
+
DAILY = "daily",
|
|
303
|
+
WEEKLY = "weekly",
|
|
304
|
+
MONTHLY = "monthly",
|
|
305
|
+
YEARLY = "yearly"
|
|
306
|
+
}
|
|
307
|
+
export declare enum PropertyPurchaseStatus {
|
|
308
|
+
INQUIRY = "inquiry",
|
|
309
|
+
OFFER_MADE = "offer_made",
|
|
310
|
+
UNDER_CONTRACT = "under_contract",
|
|
311
|
+
COMPLETED = "completed",
|
|
312
|
+
CANCELLED = "cancelled"
|
|
313
|
+
}
|
|
314
|
+
export declare enum PropertyLeaseStatus {
|
|
315
|
+
PENDING = "pending",
|
|
316
|
+
ACTIVE = "active",
|
|
317
|
+
RENEWED = "renewed",
|
|
318
|
+
TERMINATED = "terminated",
|
|
319
|
+
EXPIRED = "expired"
|
|
320
|
+
}
|
|
321
|
+
export declare enum DepositStatus {
|
|
322
|
+
PENDING = "pending",
|
|
323
|
+
PAID = "paid",
|
|
324
|
+
RETURNED = "returned",
|
|
325
|
+
FORFEITED = "forfeited"
|
|
326
|
+
}
|
|
327
|
+
export declare enum PropertyInquiryType {
|
|
328
|
+
OFFER = "offer",
|
|
329
|
+
GENERAL = "general"
|
|
330
|
+
}
|
|
331
|
+
export declare enum PropertyInquiryStatus {
|
|
332
|
+
NEW = "new",
|
|
333
|
+
CONTACTED = "contacted",
|
|
334
|
+
VIEWING_SCHEDULED = "viewing_scheduled",
|
|
335
|
+
FOLLOW_UP = "follow_up",
|
|
336
|
+
CONVERTED = "converted",
|
|
337
|
+
CLOSED = "closed"
|
|
338
|
+
}
|
|
339
|
+
export declare enum TaxScope {
|
|
340
|
+
ORDER = "ORDER",
|
|
341
|
+
ITEM = "ITEM",
|
|
342
|
+
SERVICE = "SERVICE",
|
|
343
|
+
DELIVERY = "DELIVERY"
|
|
344
|
+
}
|
|
345
|
+
export declare enum TaxRateType {
|
|
346
|
+
PERCENTAGE = "PERCENTAGE",
|
|
347
|
+
FIXED = "FIXED"
|
|
348
|
+
}
|
|
349
|
+
export declare enum TaxCatalogScope {
|
|
350
|
+
ALL = "ALL",
|
|
351
|
+
MENU = "MENU",
|
|
352
|
+
PRODUCT = "PRODUCT",
|
|
353
|
+
SERVICE = "SERVICE",
|
|
354
|
+
SET = "SET"
|
|
355
|
+
}
|
|
356
|
+
export declare enum DiscountScope {
|
|
357
|
+
ORDER = "ORDER",
|
|
358
|
+
ITEM = "ITEM",
|
|
359
|
+
SHIPPING = "SHIPPING",
|
|
360
|
+
SET = "SET"
|
|
361
|
+
}
|
|
362
|
+
export declare enum DiscountType {
|
|
363
|
+
PERCENTAGE = "PERCENTAGE",
|
|
364
|
+
FIXED = "FIXED"
|
|
365
|
+
}
|
|
366
|
+
export declare enum DiscountCatalogScope {
|
|
367
|
+
ALL = "ALL",
|
|
368
|
+
MENU = "MENU",
|
|
369
|
+
PRODUCT = "PRODUCT",
|
|
370
|
+
SERVICE = "SERVICE",
|
|
371
|
+
SET = "SET"
|
|
372
|
+
}
|
|
373
|
+
export declare enum PricingRuleApplyLevel {
|
|
374
|
+
ITEM = "ITEM",
|
|
375
|
+
ORDER = "ORDER"
|
|
376
|
+
}
|
|
377
|
+
export declare enum PricingRuleAdjustmentType {
|
|
378
|
+
PERCENTAGE = "PERCENTAGE",
|
|
379
|
+
FIXED = "FIXED",
|
|
380
|
+
OVERRIDE = "OVERRIDE"
|
|
381
|
+
}
|
|
382
|
+
export declare enum PricingChannel {
|
|
383
|
+
ALL = "ALL",
|
|
384
|
+
DIRECT = "DIRECT",
|
|
385
|
+
ONLINE = "ONLINE",
|
|
386
|
+
PHONE = "PHONE",
|
|
387
|
+
WALK_IN = "WALK_IN"
|
|
388
|
+
}
|
|
389
|
+
export declare enum VariantAxisType {
|
|
390
|
+
SWATCH = "swatch",
|
|
391
|
+
TEXT = "text",
|
|
392
|
+
IMAGE = "image",
|
|
393
|
+
NUMERIC = "numeric"
|
|
394
|
+
}
|