autopilot-core-sandbox 0.0.1
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/README.md +53 -0
- package/dist/Provider.d.ts +21 -0
- package/dist/Provider.d.ts.map +1 -0
- package/dist/Provider.js +61 -0
- package/dist/Provider.js.map +1 -0
- package/dist/dist/Provider.d.ts +21 -0
- package/dist/dist/Provider.d.ts.map +1 -0
- package/dist/dist/Provider.js +61 -0
- package/dist/dist/Provider.js.map +1 -0
- package/dist/dist/index.d.ts +45 -0
- package/dist/dist/index.d.ts.map +1 -0
- package/dist/dist/index.js +61 -0
- package/dist/dist/index.js.map +1 -0
- package/dist/dist/interfaces/index.d.ts +1238 -0
- package/dist/dist/interfaces/index.d.ts.map +1 -0
- package/dist/dist/interfaces/index.js +3 -0
- package/dist/dist/interfaces/index.js.map +1 -0
- package/dist/dist/migrations/20260608222757_remote_schema.sql +5666 -0
- package/dist/dist/migrations/20260611174826_add_job_item_recurring_id_to_job_item.sql +7 -0
- package/dist/dist/migrations/20260625224612_add_dashboard_guided_tour_dismissed_to_settings_user.sql +5 -0
- package/dist/dist/migrations/20260627031433_support_chat_tables.sql +115 -0
- package/dist/dist/migrations/20260627031434_support_chat_rls.sql +37 -0
- package/dist/dist/migrations/20260704170209_add_estimate_scheduling.sql +121 -0
- package/dist/dist/migrations/20260704170210_add_estimate_scheduling_rls.sql +42 -0
- package/dist/dist/migrations/20260704235034_add_estimate_reminder_settings.sql +11 -0
- package/dist/dist/migrations/20260707003825_blocked_number_table.sql +32 -0
- package/dist/dist/migrations/20260707003826_blocked_number_rls.sql +22 -0
- package/dist/dist/migrations/20260709191055_sms_opt_out_table.sql +38 -0
- package/dist/dist/migrations/20260709191056_sms_opt_out_rls.sql +21 -0
- package/dist/dist/migrations/20260709214507_job_time_entry_table.sql +70 -0
- package/dist/dist/migrations/20260709214508_job_time_entry_rls.sql +21 -0
- package/dist/dist/migrations/20260711185956_phone_call_table.sql +99 -0
- package/dist/dist/migrations/20260711185957_phone_call_rls.sql +25 -0
- package/dist/dist/migrations/20260712014705_ai_voice_assistant_settings.sql +71 -0
- package/dist/dist/migrations/20260712014706_ai_voice_assistant_settings_rls.sql +14 -0
- package/dist/dist/migrations/20260712014707_ai_prompt_templates.sql +28 -0
- package/dist/dist/migrations/20260712014708_ai_prompt_templates_rls.sql +5 -0
- package/dist/dist/migrations/20260712014709_ai_prompt_templates_seed.sql +77 -0
- package/dist/dist/migrations/20260715011550_reminder_dispatch_table.sql +47 -0
- package/dist/dist/migrations/20260715011551_reminder_dispatch_rls.sql +22 -0
- package/dist/dist/migrations/20260715192923_dedup_sequence_contact_add_unique_constraint.sql +27 -0
- package/dist/dist/migrations/20260716194420_add_employee_location_tracking.sql +146 -0
- package/dist/dist/migrations/20260716194421_add_employee_location_tracking_rls.sql +154 -0
- package/dist/dist/migrations/20260716194422_get_client_map_last_completed_jobs.sql +28 -0
- package/dist/dist/migrations/20260717144535_add_blast_email_invalid_skipped_count.sql +2 -0
- package/dist/dist/migrations/20260717162900_create_blast_email_chunk.sql +36 -0
- package/dist/dist/migrations/20260717162901_add_blast_email_chunk_rls.sql +5 -0
- package/dist/dist/migrations/20260717162902_add_blast_email_chunk_progress_columns.sql +3 -0
- package/dist/dist/migrations/20260717162903_add_blast_email_bounce_tracking_columns.sql +4 -0
- package/dist/dist/migrations/20260717162904_create_email_hard_bounced.sql +23 -0
- package/dist/dist/migrations/20260717162905_add_email_hard_bounced_rls.sql +5 -0
- package/dist/dist/migrations/20260717164837_add_sequence_contact_sent_at.sql +19 -0
- package/dist/dist/migrations/20260717170920_add_sequence_contact_claim_index.sql +12 -0
- package/dist/dist/migrations/20260719215139_create_outbound_event.sql +59 -0
- package/dist/dist/migrations/20260719215140_create_outbound_event_rls.sql +16 -0
- package/dist/dist/migrations/20260719215141_create_webhook_delivery.sql +99 -0
- package/dist/dist/migrations/20260719215142_create_webhook_delivery_rls.sql +11 -0
- package/dist/dist/migrations/20260719215143_outbound_event_triggers.sql +219 -0
- package/dist/dist/migrations/20260719215144_create_api_key.sql +34 -0
- package/dist/dist/migrations/20260719215146_create_api_key_rls.sql +12 -0
- package/dist/dist/migrations/20260719215147_webhook_subscription_add_secret_active.sql +28 -0
- package/dist/dist/migrations/20260719215148_api_aggregate_create_functions.sql +479 -0
- package/dist/dist/migrations/20260721174837_webhook_subscription_generic_endpoints.sql +41 -0
- package/dist/dist/migrations/20260721185631_webhook_outbox_retention.sql +87 -0
- package/dist/dist/migrations/20260721190304_create_qb_sync_task.sql +120 -0
- package/dist/dist/migrations/20260721190306_qb_sync_task_rls.sql +8 -0
- package/dist/dist/migrations/20260721190307_qb_mapping_orphan_fks.sql +29 -0
- package/dist/dist/migrations/20260721190308_qb_task_retention.sql +90 -0
- package/dist/dist/migrations/20260721234401_create_permission_role.sql +83 -0
- package/dist/dist/migrations/20260721234402_permission_role_rls.sql +22 -0
- package/dist/dist/migrations/20260721234403_user_role_add_permission_role_id.sql +12 -0
- package/dist/dist/migrations/20260721234404_seed_permission_roles.sql +100 -0
- package/dist/dist/migrations/20260721234405_backfill_user_role_permission_role_id.sql +20 -0
- package/dist/dist/migrations/20260722193800_permission_role_add_manage_employees.sql +56 -0
- package/dist/dist/migrations/20260723025606_staging_new_employee_company_read_rls.sql +10 -0
- package/dist/dist/migrations/20260723134328_create_google_lsa_integration.sql +1016 -0
- package/dist/dist/migrations/20260723134329_google_lsa_integration_rls.sql +205 -0
- package/dist/dist/migrations/20260723150640_google_lsa_hardening.sql +169 -0
- package/dist/dist/migrations/20260723150641_google_lsa_hardening_rls.sql +12 -0
- package/dist/dist/migrations/20260724230721_google_lsa_facebook_exclusivity_attach.sql +104 -0
- package/dist/dist/migrations/20260724230722_google_lsa_facebook_exclusivity_attach_rls.sql +20 -0
- package/dist/dist/migrations/20260725172630_add_message_pagination_and_search.sql +265 -0
- package/dist/dist/migrations/20260725172631_add_message_pagination_and_search_rls.sql +72 -0
- package/dist/dist/migrations/20260725172632_optimize_message_thread_pagination_search.sql +245 -0
- package/dist/dist/migrations/20260725172633_harden_message_search_and_photo_pagination.sql +256 -0
- package/dist/dist/migrations/20260725172634_fix_message_thread_line_filter.sql +250 -0
- package/dist/dist/migrations/20260725174948_google_lsa_attach_bing_exclusivity_guard.sql +23 -0
- package/dist/dist/migrations/20260725200430_client_portal_settings.sql +41 -0
- package/dist/dist/migrations/20260725200431_client_portal_settings_rls.sql +21 -0
- package/dist/dist/migrations/20260725200433_client_portal_auth_tables.sql +81 -0
- package/dist/dist/migrations/20260725200434_client_portal_auth_rls.sql +18 -0
- package/dist/dist/migrations/20260725200435_portal_claim_login_attempt.sql +36 -0
- package/dist/dist/migrations/20260725200436_portal_appointment_request.sql +39 -0
- package/dist/dist/migrations/20260725200437_portal_appointment_request_rls.sql +10 -0
- package/dist/dist/migrations/20260725210000_google_reserve_integration.sql +85 -0
- package/dist/dist/migrations/20260725210001_google_reserve_integration_rls.sql +10 -0
- package/dist/dist/migrations/20260725220000_add_analytics_query_indexes.sql +47 -0
- package/dist/dist/migrations/20260725230000_onboarding_preload_data.sql +1074 -0
- package/dist/dist/migrations/20260725230001_onboarding_preload_data_rls.sql +40 -0
- package/dist/dist/migrations/20260725230002_add_pricebook_query_indexes.sql +13 -0
- package/dist/dist/migrations/20260726000000_facebook_ads_integration.sql +1538 -0
- package/dist/dist/migrations/20260726000001_facebook_ads_integration_rls.sql +356 -0
- package/dist/dist/migrations/20260726000002_facebook_ads_attach_lsa_exclusivity_guard.sql +25 -0
- package/dist/dist/migrations/20260726000003_facebook_ads_attach_bing_exclusivity_guard.sql +22 -0
- package/dist/dist/migrations/20260726010000_create_bing_ads_integration.sql +1112 -0
- package/dist/dist/migrations/20260726010001_bing_ads_integration_rls.sql +227 -0
- package/dist/dist/migrations/20260726220000_add_document_theme_settings.sql +11 -0
- package/dist/dist/migrations/20260726220001_update_document_theme_comments.sql +7 -0
- package/dist/dist/migrations/20260727210319_evolve_tier_for_pricing.sql +68 -0
- package/dist/dist/migrations/20260727210320_create_billing_addon.sql +85 -0
- package/dist/dist/migrations/20260727210321_create_billing_addon_rls.sql +21 -0
- package/dist/dist/migrations/20260728213930_create_usage_metering.sql +189 -0
- package/dist/dist/migrations/20260728213931_create_usage_metering_rls.sql +32 -0
- package/dist/dist/migrations/20260729004305_marketing_charge_txn_functions.sql +242 -0
- package/dist/dist/migrations/20260729004306_marketing_charge_txn_functions_rls.sql +37 -0
- package/dist/dist/migrations/20260729005524_update_deduct_from_balance_errcode.sql +42 -0
- package/dist/dist/migrations/20260730193601_fix_deduct_from_balance_lost_update.sql +46 -0
- package/dist/dist/migrations/20260730193602_add_blast_sms_chunk_reaper_columns.sql +27 -0
- package/dist/dist/migrations/20260731011415_create_google_calendar_connection.sql +84 -0
- package/dist/dist/migrations/20260731011416_google_calendar_connection_rls.sql +23 -0
- package/dist/dist/migrations/20260731011417_create_google_calendar_sync.sql +157 -0
- package/dist/dist/migrations/20260731011418_google_calendar_sync_rls.sql +26 -0
- package/dist/dist/migrations/20260731011419_event_outbound_triggers.sql +28 -0
- package/dist/dist/migrations/20260731011420_add_google_calendar_addon_key.sql +24 -0
- package/dist/dist/migrations/20260731011421_gcal_task_retention.sql +109 -0
- package/dist/dist/migrations/20260731234245_create_estimate_proposal.sql +157 -0
- package/dist/dist/migrations/20260731234247_estimate_proposal_rls.sql +46 -0
- package/dist/dist/migrations/20260731234248_add_proposal_estimate_settings.sql +17 -0
- package/dist/dist/migrations/20260731234249_add_estimate_proposals_addon_key.sql +25 -0
- package/dist/dist/migrations/20260731234250_approve_estimate_proposal_function.sql +133 -0
- package/dist/dist/migrations/20260801010609_save_estimate_proposal_function.sql +154 -0
- package/dist/dist/migrations/20260801173554_add_hide_autopilot_branding_setting.sql +6 -0
- package/dist/dist/migrations/20260806230917_add_client_billing_address_columns.sql +9 -0
- package/dist/dist/migrations/20260806230944_api_create_client_billing_address.sql +93 -0
- package/dist/dist/migrations/20260807014702_create_parent_id_company_id_keys.sql +20 -0
- package/dist/dist/migrations/20260807014703_create_contract_template.sql +30 -0
- package/dist/dist/migrations/20260807014704_create_contract.sql +233 -0
- package/dist/dist/migrations/20260807014705_create_contract_signature.sql +39 -0
- package/dist/dist/migrations/20260807014706_create_item_contract_requirement.sql +38 -0
- package/dist/dist/migrations/20260807014707_create_settings_contract.sql +23 -0
- package/dist/dist/migrations/20260807014708_contract_rls.sql +74 -0
- package/dist/dist/migrations/20260807014709_sign_contract_function.sql +92 -0
- package/dist/dist/migrations/20260807014710_create_settings_rental.sql +34 -0
- package/dist/dist/migrations/20260807014711_create_saved_location.sql +56 -0
- package/dist/dist/migrations/20260807014712_create_rental_task_option.sql +52 -0
- package/dist/dist/migrations/20260807014713_create_asset.sql +90 -0
- package/dist/dist/migrations/20260807014714_add_job_schedule_asset_fkeys.sql +39 -0
- package/dist/dist/migrations/20260807014715_rental_rls.sql +48 -0
- package/dist/dist/migrations/20260807014716_add_job_schedule_any_time.sql +7 -0
- package/dist/dist/migrations/20260807014717_add_job_schedule_target_location.sql +48 -0
- package/dist/dist/migrations/20260807014718_job_schedule_completion_guard.sql +53 -0
- package/dist/dist/migrations/20260807014719_add_job_schedule_list_sort_key.sql +7 -0
- package/dist/dist/migrations/20260807014720_add_item_duration.sql +11 -0
- package/dist/dist/migrations/20260807014721_add_settings_booking_enforce_rental_availability.sql +9 -0
- package/dist/dist/migrations/20260807014722_add_job_unsigned_rental_agreement.sql +10 -0
- package/dist/dist/migrations/20260807014723_add_item_size.sql +12 -0
- package/dist/dist/migrations/20260809193533_add_booking_path_button_labels.sql +11 -0
- package/dist/dist/migrations/20260809231721_add_route_distance_cache.sql +37 -0
- package/dist/dist/migrations/20260809231722_route_distance_cache_rls.sql +15 -0
- package/dist/dist/migrations/20260809231723_apply_rental_route_plan_function.sql +275 -0
- package/dist/dist/migrations/20260810171550_add_settings_job_default_job_types.sql +9 -0
- package/dist/dist/migrations/20260810212430_backfill_rental_task_option_sort_order.sql +61 -0
- package/dist/dist/migrations/20260811224317_add_settings_user_dnd_hint_dismissed.sql +9 -0
- package/dist/dist/migrations/20260813174503_repair_user_role_email_drift.sql +59 -0
- package/dist/dist/migrations/20260813174504_sync_user_role_email_trigger.sql +30 -0
- package/dist/dist/migrations/20260813175210_add_event_list_sort_key.sql +5 -0
- package/dist/dist/migrations/20260814172222_add_client_auto_bill_on_completion.sql +6 -0
- package/dist/dist/migrations/20260816160252_create_automation_rule.sql +99 -0
- package/dist/dist/migrations/20260816160253_automation_rule_rls.sql +19 -0
- package/dist/dist/migrations/20260816160254_create_settings_automation.sql +36 -0
- package/dist/dist/migrations/20260816160255_settings_automation_rls.sql +18 -0
- package/dist/dist/migrations/20260816160256_create_automation_event.sql +71 -0
- package/dist/dist/migrations/20260816160257_automation_event_rls.sql +12 -0
- package/dist/dist/migrations/20260816160258_create_automation_run.sql +129 -0
- package/dist/dist/migrations/20260816160259_automation_run_rls.sql +19 -0
- package/dist/dist/migrations/20260816160300_add_client_created_via.sql +25 -0
- package/dist/dist/migrations/20260816160301_add_estimate_sent_at.sql +39 -0
- package/dist/dist/migrations/20260816160302_add_message_automation_ref.sql +10 -0
- package/dist/dist/migrations/20260816160303_automation_event_triggers.sql +236 -0
- package/dist/dist/migrations/20260816160304_automation_retention.sql +142 -0
- package/dist/dist/migrations/20260816202404_add_automation_center_addon_key.sql +26 -0
- package/dist/dist/migrations/20260816225501_widen_automation_rule_trigger_action_checks.sql +25 -0
- package/dist/dist/migrations/20260816225502_widen_automation_event_type_check.sql +18 -0
- package/dist/dist/migrations/20260816225503_add_invoice_id_to_automation_tables.sql +18 -0
- package/dist/dist/migrations/20260816225504_add_job_rescheduled_capture_trigger.sql +51 -0
- package/dist/dist/migrations/20260816225505_add_lead_converted_capture_trigger.sql +26 -0
- package/dist/dist/migrations/20260816225506_fix_booking_request_import_guard.sql +27 -0
- package/dist/dist/migrations/20260816225507_widen_outbound_event_for_automation.sql +38 -0
- package/dist/dist/migrations/20260817002626_add_user_last_login_platform_columns.sql +14 -0
- package/dist/dist/migrations/20260817221703_create_deletion.sql +34 -0
- package/dist/dist/migrations/20260817221707_deletion_rls.sql +21 -0
- package/dist/dist/migrations/20260817221708_add_soft_delete_columns.sql +82 -0
- package/dist/dist/migrations/20260817221709_trash_functions.sql +434 -0
- package/dist/dist/migrations/20260817221710_outbound_event_soft_delete.sql +55 -0
- package/dist/dist/migrations/20260817221711_automation_soft_delete_events.sql +77 -0
- package/dist/dist/migrations/20260817221712_fix_estimate_address_cascade.sql +14 -0
- package/dist/dist/migrations/20260817232630_trash_batch_function.sql +67 -0
- package/dist/dist/migrations/20260819170204_create_email_spam_complaint.sql +23 -0
- package/dist/dist/migrations/20260819170205_add_email_spam_complaint_rls.sql +5 -0
- package/dist/dist/migrations/20260819170206_email_unsubscribed_upsert_constraints.sql +14 -0
- package/dist/dist/migrations/20260819180151_get_suppressed_emails_function.sql +23 -0
- package/dist/dist/migrations/20260819191143_is_deleted_backfill_guard.sql +29 -0
- package/dist/dist/migrations/20260819191144_trash_functions_no_dual_write.sql +319 -0
- package/dist/dist/migrations/20260819191145_client_map_jobs_deleted_at.sql +33 -0
- package/dist/dist/migrations/20260819191147_booking_declined_deleted_at.sql +28 -0
- package/dist/dist/migrations/20260819191148_onboarding_preload_no_address_is_deleted.sql +1019 -0
- package/dist/dist/migrations/20260820222756_add_settings_job_hide_task_timer.sql +2 -0
- package/dist/dist/migrations/20260824234151_add_blast_chunk_recipients.sql +13 -0
- package/dist/dist/migrations/20260824234152_add_blast_pause_cancel_columns.sql +10 -0
- package/dist/dist/migrations/20260825014725_get_job_ids_in_range.sql +42 -0
- package/dist/dist/migrations/20260825194452_add_failed_job_status.sql +15 -0
- package/dist/dist/migrations/20260825194457_remove_take_to_rental_task_options.sql +24 -0
- package/dist/dist/migrations/20260825194458_remove_take_to_job_schedules.sql +12 -0
- package/dist/dist/migrations/20260825194459_rework_apply_rental_route_plan_no_take_to.sql +168 -0
- package/dist/dist/migrations/20260825194500_drop_job_schedule_target_location.sql +24 -0
- package/dist/dist/migrations/20260825194501_add_job_schedule_size.sql +17 -0
- package/dist/dist/migrations/20260825233001_add_job_schedule_id_company_id_key.sql +11 -0
- package/dist/dist/migrations/20260825233002_create_route_plan.sql +52 -0
- package/dist/dist/migrations/20260825233003_create_route_plan_stop.sql +159 -0
- package/dist/dist/migrations/20260825233004_route_plan_rls.sql +32 -0
- package/dist/dist/migrations/20260825233005_apply_rental_route_plan_v2.sql +351 -0
- package/dist/dist/migrations/20260826150934_facebook_ads_lead_ingestion.sql +1711 -0
- package/dist/dist/migrations/20260826151141_facebook_ads_lead_ingestion_rls_v2.sql +43 -0
- package/dist/dist/migrations/20260826234722_facebook_messenger_ingestion.sql +703 -0
- package/dist/dist/migrations/20260826234723_facebook_messenger_ingestion_rls.sql +80 -0
- package/dist/dist/migrations/20260826234724_widen_automations_messenger.sql +46 -0
- package/dist/dist/migrations/20260827100001_add_route_plan_minutes.sql +10 -0
- package/dist/dist/migrations/20260827100002_add_route_plan_stop_leg_minutes.sql +9 -0
- package/dist/dist/migrations/20260827100003_apply_rental_route_plan_v3.sql +341 -0
- package/dist/dist/migrations/20260827230346_apply_rental_route_plan_v4.sql +366 -0
- package/dist/dist/migrations/20260829090911_create_fleet_schema.sql +3698 -0
- package/dist/dist/migrations/20260829090912_fleet_rls.sql +1011 -0
- package/dist/dist/migrations/20260831102212_add_online_booking_address_display.sql +8 -0
- package/dist/dist/providers/AddressProvider.d.ts +9 -0
- package/dist/dist/providers/AddressProvider.d.ts.map +1 -0
- package/dist/dist/providers/AddressProvider.js +207 -0
- package/dist/dist/providers/AddressProvider.js.map +1 -0
- package/dist/dist/providers/AutomationsProvider.d.ts +11 -0
- package/dist/dist/providers/AutomationsProvider.d.ts.map +1 -0
- package/dist/dist/providers/AutomationsProvider.js +170 -0
- package/dist/dist/providers/AutomationsProvider.js.map +1 -0
- package/dist/dist/providers/BlockedNumbersProvider.d.ts +13 -0
- package/dist/dist/providers/BlockedNumbersProvider.d.ts.map +1 -0
- package/dist/dist/providers/BlockedNumbersProvider.js +71 -0
- package/dist/dist/providers/BlockedNumbersProvider.js.map +1 -0
- package/dist/dist/providers/CategoryProvider.d.ts +8 -0
- package/dist/dist/providers/CategoryProvider.d.ts.map +1 -0
- package/dist/dist/providers/CategoryProvider.js +95 -0
- package/dist/dist/providers/CategoryProvider.js.map +1 -0
- package/dist/dist/providers/ClientProvider.d.ts +39 -0
- package/dist/dist/providers/ClientProvider.d.ts.map +1 -0
- package/dist/dist/providers/ClientProvider.js +253 -0
- package/dist/dist/providers/ClientProvider.js.map +1 -0
- package/dist/dist/providers/CompanyProvider.d.ts +7 -0
- package/dist/dist/providers/CompanyProvider.d.ts.map +1 -0
- package/dist/dist/providers/CompanyProvider.js +114 -0
- package/dist/dist/providers/CompanyProvider.js.map +1 -0
- package/dist/dist/providers/DashboardProvider.d.ts +78 -0
- package/dist/dist/providers/DashboardProvider.d.ts.map +1 -0
- package/dist/dist/providers/DashboardProvider.js +568 -0
- package/dist/dist/providers/DashboardProvider.js.map +1 -0
- package/dist/dist/providers/DiscountProvider.d.ts +8 -0
- package/dist/dist/providers/DiscountProvider.d.ts.map +1 -0
- package/dist/dist/providers/DiscountProvider.js +92 -0
- package/dist/dist/providers/DiscountProvider.js.map +1 -0
- package/dist/dist/providers/EmployeesProvider.d.ts +6 -0
- package/dist/dist/providers/EmployeesProvider.d.ts.map +1 -0
- package/dist/dist/providers/EmployeesProvider.js +185 -0
- package/dist/dist/providers/EmployeesProvider.js.map +1 -0
- package/dist/dist/providers/EstimatesProvider.d.ts +16 -0
- package/dist/dist/providers/EstimatesProvider.d.ts.map +1 -0
- package/dist/dist/providers/EstimatesProvider.js +251 -0
- package/dist/dist/providers/EstimatesProvider.js.map +1 -0
- package/dist/dist/providers/EventsProvider.d.ts +4 -0
- package/dist/dist/providers/EventsProvider.d.ts.map +1 -0
- package/dist/dist/providers/EventsProvider.js +24 -0
- package/dist/dist/providers/EventsProvider.js.map +1 -0
- package/dist/dist/providers/FilesProvider.d.ts +17 -0
- package/dist/dist/providers/FilesProvider.d.ts.map +1 -0
- package/dist/dist/providers/FilesProvider.js +201 -0
- package/dist/dist/providers/FilesProvider.js.map +1 -0
- package/dist/dist/providers/InvoicesProvider.d.ts +13 -0
- package/dist/dist/providers/InvoicesProvider.d.ts.map +1 -0
- package/dist/dist/providers/InvoicesProvider.js +207 -0
- package/dist/dist/providers/InvoicesProvider.js.map +1 -0
- package/dist/dist/providers/ItemProvider.d.ts +9 -0
- package/dist/dist/providers/ItemProvider.d.ts.map +1 -0
- package/dist/dist/providers/ItemProvider.js +201 -0
- package/dist/dist/providers/ItemProvider.js.map +1 -0
- package/dist/dist/providers/JobSourceProvider.d.ts +8 -0
- package/dist/dist/providers/JobSourceProvider.d.ts.map +1 -0
- package/dist/dist/providers/JobSourceProvider.js +75 -0
- package/dist/dist/providers/JobSourceProvider.js.map +1 -0
- package/dist/dist/providers/JobTypeProvider.d.ts +8 -0
- package/dist/dist/providers/JobTypeProvider.d.ts.map +1 -0
- package/dist/dist/providers/JobTypeProvider.js +75 -0
- package/dist/dist/providers/JobTypeProvider.js.map +1 -0
- package/dist/dist/providers/JobsProvider.d.ts +35 -0
- package/dist/dist/providers/JobsProvider.d.ts.map +1 -0
- package/dist/dist/providers/JobsProvider.js +863 -0
- package/dist/dist/providers/JobsProvider.js.map +1 -0
- package/dist/dist/providers/MessagesProvider.d.ts +33 -0
- package/dist/dist/providers/MessagesProvider.d.ts.map +1 -0
- package/dist/dist/providers/MessagesProvider.js +415 -0
- package/dist/dist/providers/MessagesProvider.js.map +1 -0
- package/dist/dist/providers/PaymentProvider.d.ts +9 -0
- package/dist/dist/providers/PaymentProvider.d.ts.map +1 -0
- package/dist/dist/providers/PaymentProvider.js +48 -0
- package/dist/dist/providers/PaymentProvider.js.map +1 -0
- package/dist/dist/providers/PermissionRolesProvider.d.ts +5 -0
- package/dist/dist/providers/PermissionRolesProvider.d.ts.map +1 -0
- package/dist/dist/providers/PermissionRolesProvider.js +30 -0
- package/dist/dist/providers/PermissionRolesProvider.js.map +1 -0
- package/dist/dist/providers/PhoneNumberProvider.d.ts +12 -0
- package/dist/dist/providers/PhoneNumberProvider.d.ts.map +1 -0
- package/dist/dist/providers/PhoneNumberProvider.js +184 -0
- package/dist/dist/providers/PhoneNumberProvider.js.map +1 -0
- package/dist/dist/providers/ProfileProvider.d.ts +6 -0
- package/dist/dist/providers/ProfileProvider.d.ts.map +1 -0
- package/dist/dist/providers/ProfileProvider.js +71 -0
- package/dist/dist/providers/ProfileProvider.js.map +1 -0
- package/dist/dist/providers/RentalsProvider.d.ts +28 -0
- package/dist/dist/providers/RentalsProvider.d.ts.map +1 -0
- package/dist/dist/providers/RentalsProvider.js +438 -0
- package/dist/dist/providers/RentalsProvider.js.map +1 -0
- package/dist/dist/providers/SettingsBookingProvider.d.ts +9 -0
- package/dist/dist/providers/SettingsBookingProvider.d.ts.map +1 -0
- package/dist/dist/providers/SettingsBookingProvider.js +163 -0
- package/dist/dist/providers/SettingsBookingProvider.js.map +1 -0
- package/dist/dist/providers/SettingsProvider.d.ts +8 -0
- package/dist/dist/providers/SettingsProvider.d.ts.map +1 -0
- package/dist/dist/providers/SettingsProvider.js +86 -0
- package/dist/dist/providers/SettingsProvider.js.map +1 -0
- package/dist/dist/providers/TagsProvider.d.ts +12 -0
- package/dist/dist/providers/TagsProvider.d.ts.map +1 -0
- package/dist/dist/providers/TagsProvider.js +210 -0
- package/dist/dist/providers/TagsProvider.js.map +1 -0
- package/dist/dist/providers/TimeCardProvider.d.ts +8 -0
- package/dist/dist/providers/TimeCardProvider.d.ts.map +1 -0
- package/dist/dist/providers/TimeCardProvider.js +93 -0
- package/dist/dist/providers/TimeCardProvider.js.map +1 -0
- package/dist/dist/providers/TrashProvider.d.ts +13 -0
- package/dist/dist/providers/TrashProvider.d.ts.map +1 -0
- package/dist/dist/providers/TrashProvider.js +98 -0
- package/dist/dist/providers/TrashProvider.js.map +1 -0
- package/dist/dist/providers/dashboardAnalytics.d.ts +9 -0
- package/dist/dist/providers/dashboardAnalytics.d.ts.map +1 -0
- package/dist/dist/providers/dashboardAnalytics.js +41 -0
- package/dist/dist/providers/dashboardAnalytics.js.map +1 -0
- package/dist/dist/providers/dashboardAnalytics.test.d.ts +2 -0
- package/dist/dist/providers/dashboardAnalytics.test.d.ts.map +1 -0
- package/dist/dist/providers/dashboardAnalytics.test.js +111 -0
- package/dist/dist/providers/dashboardAnalytics.test.js.map +1 -0
- package/dist/dist/server-safe/BlockedNumberFunctions.d.ts +11 -0
- package/dist/dist/server-safe/BlockedNumberFunctions.d.ts.map +1 -0
- package/dist/dist/server-safe/BlockedNumberFunctions.js +16 -0
- package/dist/dist/server-safe/BlockedNumberFunctions.js.map +1 -0
- package/dist/dist/server-safe/EmployeeFunctions.d.ts +14 -0
- package/dist/dist/server-safe/EmployeeFunctions.d.ts.map +1 -0
- package/dist/dist/server-safe/EmployeeFunctions.js +70 -0
- package/dist/dist/server-safe/EmployeeFunctions.js.map +1 -0
- package/dist/dist/server-safe/EmployeeLocationFunctions.d.ts +7 -0
- package/dist/dist/server-safe/EmployeeLocationFunctions.d.ts.map +1 -0
- package/dist/dist/server-safe/EmployeeLocationFunctions.js +47 -0
- package/dist/dist/server-safe/EmployeeLocationFunctions.js.map +1 -0
- package/dist/dist/server-safe/EstimateFunctions.d.ts +15 -0
- package/dist/dist/server-safe/EstimateFunctions.d.ts.map +1 -0
- package/dist/dist/server-safe/EstimateFunctions.js +34 -0
- package/dist/dist/server-safe/EstimateFunctions.js.map +1 -0
- package/dist/dist/server-safe/InvoiceFunctions.d.ts +21 -0
- package/dist/dist/server-safe/InvoiceFunctions.d.ts.map +1 -0
- package/dist/dist/server-safe/InvoiceFunctions.js +124 -0
- package/dist/dist/server-safe/InvoiceFunctions.js.map +1 -0
- package/dist/dist/server-safe/JobFunctions.d.ts +15 -0
- package/dist/dist/server-safe/JobFunctions.d.ts.map +1 -0
- package/dist/dist/server-safe/JobFunctions.js +56 -0
- package/dist/dist/server-safe/JobFunctions.js.map +1 -0
- package/dist/dist/server-safe/PaymentFunctions.d.ts +16 -0
- package/dist/dist/server-safe/PaymentFunctions.d.ts.map +1 -0
- package/dist/dist/server-safe/PaymentFunctions.js +80 -0
- package/dist/dist/server-safe/PaymentFunctions.js.map +1 -0
- package/dist/dist/server-safe/PermissionFunctions.d.ts +7 -0
- package/dist/dist/server-safe/PermissionFunctions.d.ts.map +1 -0
- package/dist/dist/server-safe/PermissionFunctions.js +39 -0
- package/dist/dist/server-safe/PermissionFunctions.js.map +1 -0
- package/dist/dist/server-safe/TagFunctions.d.ts +18 -0
- package/dist/dist/server-safe/TagFunctions.d.ts.map +1 -0
- package/dist/dist/server-safe/TagFunctions.js +52 -0
- package/dist/dist/server-safe/TagFunctions.js.map +1 -0
- package/dist/dist/server-safe/autoJobType.d.ts +16 -0
- package/dist/dist/server-safe/autoJobType.d.ts.map +1 -0
- package/dist/dist/server-safe/autoJobType.js +39 -0
- package/dist/dist/server-safe/autoJobType.js.map +1 -0
- package/dist/dist/server-safe/autoJobType.test.d.ts +2 -0
- package/dist/dist/server-safe/autoJobType.test.d.ts.map +1 -0
- package/dist/dist/server-safe/autoJobType.test.js +83 -0
- package/dist/dist/server-safe/autoJobType.test.js.map +1 -0
- package/dist/dist/server-safe/automations.d.ts +197 -0
- package/dist/dist/server-safe/automations.d.ts.map +1 -0
- package/dist/dist/server-safe/automations.js +757 -0
- package/dist/dist/server-safe/automations.js.map +1 -0
- package/dist/dist/server-safe/automations.test.d.ts +2 -0
- package/dist/dist/server-safe/automations.test.d.ts.map +1 -0
- package/dist/dist/server-safe/automations.test.js +441 -0
- package/dist/dist/server-safe/automations.test.js.map +1 -0
- package/dist/dist/server-safe/constants.d.ts +156 -0
- package/dist/dist/server-safe/constants.d.ts.map +1 -0
- package/dist/dist/server-safe/constants.js +186 -0
- package/dist/dist/server-safe/constants.js.map +1 -0
- package/dist/dist/server-safe/contracts.d.ts +3 -0
- package/dist/dist/server-safe/contracts.d.ts.map +1 -0
- package/dist/dist/server-safe/contracts.js +15 -0
- package/dist/dist/server-safe/contracts.js.map +1 -0
- package/dist/dist/server-safe/database.types.d.ts +9510 -0
- package/dist/dist/server-safe/database.types.d.ts.map +1 -0
- package/dist/dist/server-safe/database.types.js +40 -0
- package/dist/dist/server-safe/database.types.js.map +1 -0
- package/dist/dist/server-safe/entitlements.d.ts +99 -0
- package/dist/dist/server-safe/entitlements.d.ts.map +1 -0
- package/dist/dist/server-safe/entitlements.js +487 -0
- package/dist/dist/server-safe/entitlements.js.map +1 -0
- package/dist/dist/server-safe/facebookAdsLeads.d.ts +225 -0
- package/dist/dist/server-safe/facebookAdsLeads.d.ts.map +1 -0
- package/dist/dist/server-safe/facebookAdsLeads.js +376 -0
- package/dist/dist/server-safe/facebookAdsLeads.js.map +1 -0
- package/dist/dist/server-safe/facebookAdsLeads.test.d.ts +2 -0
- package/dist/dist/server-safe/facebookAdsLeads.test.d.ts.map +1 -0
- package/dist/dist/server-safe/facebookAdsLeads.test.js +189 -0
- package/dist/dist/server-safe/facebookAdsLeads.test.js.map +1 -0
- package/dist/dist/server-safe/facebookAdsLeadsSql.test.d.ts +2 -0
- package/dist/dist/server-safe/facebookAdsLeadsSql.test.d.ts.map +1 -0
- package/dist/dist/server-safe/facebookAdsLeadsSql.test.js +32 -0
- package/dist/dist/server-safe/facebookAdsLeadsSql.test.js.map +1 -0
- package/dist/dist/server-safe/facebookMessenger.d.ts +20 -0
- package/dist/dist/server-safe/facebookMessenger.d.ts.map +1 -0
- package/dist/dist/server-safe/facebookMessenger.js +63 -0
- package/dist/dist/server-safe/facebookMessenger.js.map +1 -0
- package/dist/dist/server-safe/facebookMessenger.test.d.ts +2 -0
- package/dist/dist/server-safe/facebookMessenger.test.d.ts.map +1 -0
- package/dist/dist/server-safe/facebookMessenger.test.js +51 -0
- package/dist/dist/server-safe/facebookMessenger.test.js.map +1 -0
- package/dist/dist/server-safe/helpers.d.ts +78 -0
- package/dist/dist/server-safe/helpers.d.ts.map +1 -0
- package/dist/dist/server-safe/helpers.js +569 -0
- package/dist/dist/server-safe/helpers.js.map +1 -0
- package/dist/dist/server-safe/index.d.ts +30 -0
- package/dist/dist/server-safe/index.d.ts.map +1 -0
- package/dist/dist/server-safe/index.js +46 -0
- package/dist/dist/server-safe/index.js.map +1 -0
- package/dist/dist/server-safe/permissions.d.ts +29 -0
- package/dist/dist/server-safe/permissions.d.ts.map +1 -0
- package/dist/dist/server-safe/permissions.js +180 -0
- package/dist/dist/server-safe/permissions.js.map +1 -0
- package/dist/dist/server-safe/proposals.d.ts +6 -0
- package/dist/dist/server-safe/proposals.d.ts.map +1 -0
- package/dist/dist/server-safe/proposals.js +58 -0
- package/dist/dist/server-safe/proposals.js.map +1 -0
- package/dist/dist/server-safe/rentalAvailability.d.ts +56 -0
- package/dist/dist/server-safe/rentalAvailability.d.ts.map +1 -0
- package/dist/dist/server-safe/rentalAvailability.js +124 -0
- package/dist/dist/server-safe/rentalAvailability.js.map +1 -0
- package/dist/dist/server-safe/rentalAvailability.test.d.ts +2 -0
- package/dist/dist/server-safe/rentalAvailability.test.d.ts.map +1 -0
- package/dist/dist/server-safe/rentalAvailability.test.js +290 -0
- package/dist/dist/server-safe/rentalAvailability.test.js.map +1 -0
- package/dist/dist/server-safe/rentals.d.ts +95 -0
- package/dist/dist/server-safe/rentals.d.ts.map +1 -0
- package/dist/dist/server-safe/rentals.js +432 -0
- package/dist/dist/server-safe/rentals.js.map +1 -0
- package/dist/dist/server-safe/rentals.test.d.ts +2 -0
- package/dist/dist/server-safe/rentals.test.d.ts.map +1 -0
- package/dist/dist/server-safe/rentals.test.js +1034 -0
- package/dist/dist/server-safe/rentals.test.js.map +1 -0
- package/dist/dist/server-safe/routeOptimization.d.ts +155 -0
- package/dist/dist/server-safe/routeOptimization.d.ts.map +1 -0
- package/dist/dist/server-safe/routeOptimization.js +120 -0
- package/dist/dist/server-safe/routeOptimization.js.map +1 -0
- package/dist/dist/server-safe/routeOptimization.test.d.ts +2 -0
- package/dist/dist/server-safe/routeOptimization.test.d.ts.map +1 -0
- package/dist/dist/server-safe/routeOptimization.test.js +234 -0
- package/dist/dist/server-safe/routeOptimization.test.js.map +1 -0
- package/dist/dist/server-safe/routePlanFingerprint.d.ts +13 -0
- package/dist/dist/server-safe/routePlanFingerprint.d.ts.map +1 -0
- package/dist/dist/server-safe/routePlanFingerprint.js +49 -0
- package/dist/dist/server-safe/routePlanFingerprint.js.map +1 -0
- package/dist/dist/server-safe/routePlanFingerprint.test.d.ts +2 -0
- package/dist/dist/server-safe/routePlanFingerprint.test.d.ts.map +1 -0
- package/dist/dist/server-safe/routePlanFingerprint.test.js +68 -0
- package/dist/dist/server-safe/routePlanFingerprint.test.js.map +1 -0
- package/dist/dist/server-safe/scheduleListOrder.d.ts +18 -0
- package/dist/dist/server-safe/scheduleListOrder.d.ts.map +1 -0
- package/dist/dist/server-safe/scheduleListOrder.js +92 -0
- package/dist/dist/server-safe/scheduleListOrder.js.map +1 -0
- package/dist/dist/server-safe/scheduleListOrder.test.d.ts +2 -0
- package/dist/dist/server-safe/scheduleListOrder.test.d.ts.map +1 -0
- package/dist/dist/server-safe/scheduleListOrder.test.js +260 -0
- package/dist/dist/server-safe/scheduleListOrder.test.js.map +1 -0
- package/dist/dist/server-safe/serviceMinutes.d.ts +13 -0
- package/dist/dist/server-safe/serviceMinutes.d.ts.map +1 -0
- package/dist/dist/server-safe/serviceMinutes.js +38 -0
- package/dist/dist/server-safe/serviceMinutes.js.map +1 -0
- package/dist/dist/server-safe/serviceMinutes.test.d.ts +2 -0
- package/dist/dist/server-safe/serviceMinutes.test.d.ts.map +1 -0
- package/dist/dist/server-safe/serviceMinutes.test.js +86 -0
- package/dist/dist/server-safe/serviceMinutes.test.js.map +1 -0
- package/dist/dist/server-safe/settingsSearch.d.ts +24 -0
- package/dist/dist/server-safe/settingsSearch.d.ts.map +1 -0
- package/dist/dist/server-safe/settingsSearch.js +8 -0
- package/dist/dist/server-safe/settingsSearch.js.map +1 -0
- package/dist/dist/server-safe/supportChat.d.ts +59 -0
- package/dist/dist/server-safe/supportChat.d.ts.map +1 -0
- package/dist/dist/server-safe/supportChat.js +56 -0
- package/dist/dist/server-safe/supportChat.js.map +1 -0
- package/dist/dist/server-safe/templates.d.ts +15 -0
- package/dist/dist/server-safe/templates.d.ts.map +1 -0
- package/dist/dist/server-safe/templates.js +91 -0
- package/dist/dist/server-safe/templates.js.map +1 -0
- package/dist/dist/server-safe/templates.test.d.ts +2 -0
- package/dist/dist/server-safe/templates.test.d.ts.map +1 -0
- package/dist/dist/server-safe/templates.test.js +62 -0
- package/dist/dist/server-safe/templates.test.js.map +1 -0
- package/dist/dist/server-safe/trash.d.ts +50 -0
- package/dist/dist/server-safe/trash.d.ts.map +1 -0
- package/dist/dist/server-safe/trash.js +100 -0
- package/dist/dist/server-safe/trash.js.map +1 -0
- package/dist/dist/utils/LogHandler.d.ts +3 -0
- package/dist/dist/utils/LogHandler.d.ts.map +1 -0
- package/dist/dist/utils/LogHandler.js +16 -0
- package/dist/dist/utils/LogHandler.js.map +1 -0
- package/dist/dist/utils/convertSupabaseImagesToAssets.d.ts +28 -0
- package/dist/dist/utils/convertSupabaseImagesToAssets.d.ts.map +1 -0
- package/dist/dist/utils/convertSupabaseImagesToAssets.js +14 -0
- package/dist/dist/utils/convertSupabaseImagesToAssets.js.map +1 -0
- package/dist/index.d.ts +45 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +61 -0
- package/dist/index.js.map +1 -0
- package/dist/interfaces/index.d.ts +1238 -0
- package/dist/interfaces/index.d.ts.map +1 -0
- package/dist/interfaces/index.js +3 -0
- package/dist/interfaces/index.js.map +1 -0
- package/dist/providers/AddressProvider.d.ts +9 -0
- package/dist/providers/AddressProvider.d.ts.map +1 -0
- package/dist/providers/AddressProvider.js +207 -0
- package/dist/providers/AddressProvider.js.map +1 -0
- package/dist/providers/AutomationsProvider.d.ts +11 -0
- package/dist/providers/AutomationsProvider.d.ts.map +1 -0
- package/dist/providers/AutomationsProvider.js +170 -0
- package/dist/providers/AutomationsProvider.js.map +1 -0
- package/dist/providers/BlockedNumbersProvider.d.ts +7 -0
- package/dist/providers/BlockedNumbersProvider.d.ts.map +1 -0
- package/dist/providers/BlockedNumbersProvider.js +71 -0
- package/dist/providers/BlockedNumbersProvider.js.map +1 -0
- package/dist/providers/CategoryProvider.d.ts +8 -0
- package/dist/providers/CategoryProvider.d.ts.map +1 -0
- package/dist/providers/CategoryProvider.js +95 -0
- package/dist/providers/CategoryProvider.js.map +1 -0
- package/dist/providers/ClientProvider.d.ts +39 -0
- package/dist/providers/ClientProvider.d.ts.map +1 -0
- package/dist/providers/ClientProvider.js +253 -0
- package/dist/providers/ClientProvider.js.map +1 -0
- package/dist/providers/CompanyProvider.d.ts +7 -0
- package/dist/providers/CompanyProvider.d.ts.map +1 -0
- package/dist/providers/CompanyProvider.js +114 -0
- package/dist/providers/CompanyProvider.js.map +1 -0
- package/dist/providers/DashboardProvider.d.ts +78 -0
- package/dist/providers/DashboardProvider.d.ts.map +1 -0
- package/dist/providers/DashboardProvider.js +568 -0
- package/dist/providers/DashboardProvider.js.map +1 -0
- package/dist/providers/DiscountProvider.d.ts +8 -0
- package/dist/providers/DiscountProvider.d.ts.map +1 -0
- package/dist/providers/DiscountProvider.js +92 -0
- package/dist/providers/DiscountProvider.js.map +1 -0
- package/dist/providers/EmployeesProvider.d.ts +6 -0
- package/dist/providers/EmployeesProvider.d.ts.map +1 -0
- package/dist/providers/EmployeesProvider.js +185 -0
- package/dist/providers/EmployeesProvider.js.map +1 -0
- package/dist/providers/EstimatesProvider.d.ts +16 -0
- package/dist/providers/EstimatesProvider.d.ts.map +1 -0
- package/dist/providers/EstimatesProvider.js +251 -0
- package/dist/providers/EstimatesProvider.js.map +1 -0
- package/dist/providers/EventsProvider.d.ts +4 -0
- package/dist/providers/EventsProvider.d.ts.map +1 -0
- package/dist/providers/EventsProvider.js +24 -0
- package/dist/providers/EventsProvider.js.map +1 -0
- package/dist/providers/FilesProvider.d.ts +17 -0
- package/dist/providers/FilesProvider.d.ts.map +1 -0
- package/dist/providers/FilesProvider.js +201 -0
- package/dist/providers/FilesProvider.js.map +1 -0
- package/dist/providers/InvoicesProvider.d.ts +13 -0
- package/dist/providers/InvoicesProvider.d.ts.map +1 -0
- package/dist/providers/InvoicesProvider.js +207 -0
- package/dist/providers/InvoicesProvider.js.map +1 -0
- package/dist/providers/ItemProvider.d.ts +9 -0
- package/dist/providers/ItemProvider.d.ts.map +1 -0
- package/dist/providers/ItemProvider.js +201 -0
- package/dist/providers/ItemProvider.js.map +1 -0
- package/dist/providers/JobSourceProvider.d.ts +8 -0
- package/dist/providers/JobSourceProvider.d.ts.map +1 -0
- package/dist/providers/JobSourceProvider.js +75 -0
- package/dist/providers/JobSourceProvider.js.map +1 -0
- package/dist/providers/JobTypeProvider.d.ts +8 -0
- package/dist/providers/JobTypeProvider.d.ts.map +1 -0
- package/dist/providers/JobTypeProvider.js +75 -0
- package/dist/providers/JobTypeProvider.js.map +1 -0
- package/dist/providers/JobsProvider.d.ts +20 -0
- package/dist/providers/JobsProvider.d.ts.map +1 -0
- package/dist/providers/JobsProvider.js +863 -0
- package/dist/providers/JobsProvider.js.map +1 -0
- package/dist/providers/MessagesProvider.d.ts +14 -0
- package/dist/providers/MessagesProvider.d.ts.map +1 -0
- package/dist/providers/MessagesProvider.js +415 -0
- package/dist/providers/MessagesProvider.js.map +1 -0
- package/dist/providers/PaymentProvider.d.ts +9 -0
- package/dist/providers/PaymentProvider.d.ts.map +1 -0
- package/dist/providers/PaymentProvider.js +48 -0
- package/dist/providers/PaymentProvider.js.map +1 -0
- package/dist/providers/PermissionRolesProvider.d.ts +5 -0
- package/dist/providers/PermissionRolesProvider.d.ts.map +1 -0
- package/dist/providers/PermissionRolesProvider.js +30 -0
- package/dist/providers/PermissionRolesProvider.js.map +1 -0
- package/dist/providers/PhoneNumberProvider.d.ts +12 -0
- package/dist/providers/PhoneNumberProvider.d.ts.map +1 -0
- package/dist/providers/PhoneNumberProvider.js +184 -0
- package/dist/providers/PhoneNumberProvider.js.map +1 -0
- package/dist/providers/ProfileProvider.d.ts +6 -0
- package/dist/providers/ProfileProvider.d.ts.map +1 -0
- package/dist/providers/ProfileProvider.js +71 -0
- package/dist/providers/ProfileProvider.js.map +1 -0
- package/dist/providers/RentalsProvider.d.ts +28 -0
- package/dist/providers/RentalsProvider.d.ts.map +1 -0
- package/dist/providers/RentalsProvider.js +438 -0
- package/dist/providers/RentalsProvider.js.map +1 -0
- package/dist/providers/SettingsBookingProvider.d.ts +9 -0
- package/dist/providers/SettingsBookingProvider.d.ts.map +1 -0
- package/dist/providers/SettingsBookingProvider.js +163 -0
- package/dist/providers/SettingsBookingProvider.js.map +1 -0
- package/dist/providers/SettingsProvider.d.ts +8 -0
- package/dist/providers/SettingsProvider.d.ts.map +1 -0
- package/dist/providers/SettingsProvider.js +86 -0
- package/dist/providers/SettingsProvider.js.map +1 -0
- package/dist/providers/TagsProvider.d.ts +12 -0
- package/dist/providers/TagsProvider.d.ts.map +1 -0
- package/dist/providers/TagsProvider.js +210 -0
- package/dist/providers/TagsProvider.js.map +1 -0
- package/dist/providers/TimeCardProvider.d.ts +8 -0
- package/dist/providers/TimeCardProvider.d.ts.map +1 -0
- package/dist/providers/TimeCardProvider.js +93 -0
- package/dist/providers/TimeCardProvider.js.map +1 -0
- package/dist/providers/TrashProvider.d.ts +13 -0
- package/dist/providers/TrashProvider.d.ts.map +1 -0
- package/dist/providers/TrashProvider.js +98 -0
- package/dist/providers/TrashProvider.js.map +1 -0
- package/dist/providers/dashboardAnalytics.d.ts +9 -0
- package/dist/providers/dashboardAnalytics.d.ts.map +1 -0
- package/dist/providers/dashboardAnalytics.js +41 -0
- package/dist/providers/dashboardAnalytics.js.map +1 -0
- package/dist/providers/dashboardAnalytics.test.d.ts +2 -0
- package/dist/providers/dashboardAnalytics.test.d.ts.map +1 -0
- package/dist/providers/dashboardAnalytics.test.js +111 -0
- package/dist/providers/dashboardAnalytics.test.js.map +1 -0
- package/dist/server-safe/BlockedNumberFunctions.d.ts +11 -0
- package/dist/server-safe/BlockedNumberFunctions.d.ts.map +1 -0
- package/dist/server-safe/BlockedNumberFunctions.js +16 -0
- package/dist/server-safe/BlockedNumberFunctions.js.map +1 -0
- package/dist/server-safe/EmployeeFunctions.d.ts +14 -0
- package/dist/server-safe/EmployeeFunctions.d.ts.map +1 -0
- package/dist/server-safe/EmployeeFunctions.js +70 -0
- package/dist/server-safe/EmployeeFunctions.js.map +1 -0
- package/dist/server-safe/EmployeeLocationFunctions.d.ts +7 -0
- package/dist/server-safe/EmployeeLocationFunctions.d.ts.map +1 -0
- package/dist/server-safe/EmployeeLocationFunctions.js +47 -0
- package/dist/server-safe/EmployeeLocationFunctions.js.map +1 -0
- package/dist/server-safe/EstimateFunctions.d.ts +15 -0
- package/dist/server-safe/EstimateFunctions.d.ts.map +1 -0
- package/dist/server-safe/EstimateFunctions.js +34 -0
- package/dist/server-safe/EstimateFunctions.js.map +1 -0
- package/dist/server-safe/InvoiceFunctions.d.ts +21 -0
- package/dist/server-safe/InvoiceFunctions.d.ts.map +1 -0
- package/dist/server-safe/InvoiceFunctions.js +124 -0
- package/dist/server-safe/InvoiceFunctions.js.map +1 -0
- package/dist/server-safe/JobFunctions.d.ts +15 -0
- package/dist/server-safe/JobFunctions.d.ts.map +1 -0
- package/dist/server-safe/JobFunctions.js +56 -0
- package/dist/server-safe/JobFunctions.js.map +1 -0
- package/dist/server-safe/PaymentFunctions.d.ts +16 -0
- package/dist/server-safe/PaymentFunctions.d.ts.map +1 -0
- package/dist/server-safe/PaymentFunctions.js +80 -0
- package/dist/server-safe/PaymentFunctions.js.map +1 -0
- package/dist/server-safe/PermissionFunctions.d.ts +7 -0
- package/dist/server-safe/PermissionFunctions.d.ts.map +1 -0
- package/dist/server-safe/PermissionFunctions.js +39 -0
- package/dist/server-safe/PermissionFunctions.js.map +1 -0
- package/dist/server-safe/TagFunctions.d.ts +18 -0
- package/dist/server-safe/TagFunctions.d.ts.map +1 -0
- package/dist/server-safe/TagFunctions.js +52 -0
- package/dist/server-safe/TagFunctions.js.map +1 -0
- package/dist/server-safe/autoJobType.d.ts +16 -0
- package/dist/server-safe/autoJobType.d.ts.map +1 -0
- package/dist/server-safe/autoJobType.js +39 -0
- package/dist/server-safe/autoJobType.js.map +1 -0
- package/dist/server-safe/autoJobType.test.d.ts +2 -0
- package/dist/server-safe/autoJobType.test.d.ts.map +1 -0
- package/dist/server-safe/autoJobType.test.js +83 -0
- package/dist/server-safe/autoJobType.test.js.map +1 -0
- package/dist/server-safe/automations.d.ts +197 -0
- package/dist/server-safe/automations.d.ts.map +1 -0
- package/dist/server-safe/automations.js +757 -0
- package/dist/server-safe/automations.js.map +1 -0
- package/dist/server-safe/automations.test.d.ts +2 -0
- package/dist/server-safe/automations.test.d.ts.map +1 -0
- package/dist/server-safe/automations.test.js +441 -0
- package/dist/server-safe/automations.test.js.map +1 -0
- package/dist/server-safe/constants.d.ts +156 -0
- package/dist/server-safe/constants.d.ts.map +1 -0
- package/dist/server-safe/constants.js +186 -0
- package/dist/server-safe/constants.js.map +1 -0
- package/dist/server-safe/contracts.d.ts +3 -0
- package/dist/server-safe/contracts.d.ts.map +1 -0
- package/dist/server-safe/contracts.js +15 -0
- package/dist/server-safe/contracts.js.map +1 -0
- package/dist/server-safe/database.types.d.ts +9510 -0
- package/dist/server-safe/database.types.d.ts.map +1 -0
- package/dist/server-safe/database.types.js +40 -0
- package/dist/server-safe/database.types.js.map +1 -0
- package/dist/server-safe/entitlements.d.ts +99 -0
- package/dist/server-safe/entitlements.d.ts.map +1 -0
- package/dist/server-safe/entitlements.js +487 -0
- package/dist/server-safe/entitlements.js.map +1 -0
- package/dist/server-safe/helpers.d.ts +78 -0
- package/dist/server-safe/helpers.d.ts.map +1 -0
- package/dist/server-safe/helpers.js +569 -0
- package/dist/server-safe/helpers.js.map +1 -0
- package/dist/server-safe/index.d.ts +30 -0
- package/dist/server-safe/index.d.ts.map +1 -0
- package/dist/server-safe/index.js +46 -0
- package/dist/server-safe/index.js.map +1 -0
- package/dist/server-safe/permissions.d.ts +29 -0
- package/dist/server-safe/permissions.d.ts.map +1 -0
- package/dist/server-safe/permissions.js +180 -0
- package/dist/server-safe/permissions.js.map +1 -0
- package/dist/server-safe/proposals.d.ts +6 -0
- package/dist/server-safe/proposals.d.ts.map +1 -0
- package/dist/server-safe/proposals.js +58 -0
- package/dist/server-safe/proposals.js.map +1 -0
- package/dist/server-safe/rentalAvailability.d.ts +56 -0
- package/dist/server-safe/rentalAvailability.d.ts.map +1 -0
- package/dist/server-safe/rentalAvailability.js +124 -0
- package/dist/server-safe/rentalAvailability.js.map +1 -0
- package/dist/server-safe/rentalAvailability.test.d.ts +2 -0
- package/dist/server-safe/rentalAvailability.test.d.ts.map +1 -0
- package/dist/server-safe/rentalAvailability.test.js +290 -0
- package/dist/server-safe/rentalAvailability.test.js.map +1 -0
- package/dist/server-safe/rentals.d.ts +95 -0
- package/dist/server-safe/rentals.d.ts.map +1 -0
- package/dist/server-safe/rentals.js +432 -0
- package/dist/server-safe/rentals.js.map +1 -0
- package/dist/server-safe/rentals.test.d.ts +2 -0
- package/dist/server-safe/rentals.test.d.ts.map +1 -0
- package/dist/server-safe/rentals.test.js +1034 -0
- package/dist/server-safe/rentals.test.js.map +1 -0
- package/dist/server-safe/routeOptimization.d.ts +155 -0
- package/dist/server-safe/routeOptimization.d.ts.map +1 -0
- package/dist/server-safe/routeOptimization.js +120 -0
- package/dist/server-safe/routeOptimization.js.map +1 -0
- package/dist/server-safe/routeOptimization.test.d.ts +2 -0
- package/dist/server-safe/routeOptimization.test.d.ts.map +1 -0
- package/dist/server-safe/routeOptimization.test.js +234 -0
- package/dist/server-safe/routeOptimization.test.js.map +1 -0
- package/dist/server-safe/routePlanFingerprint.d.ts +13 -0
- package/dist/server-safe/routePlanFingerprint.d.ts.map +1 -0
- package/dist/server-safe/routePlanFingerprint.js +49 -0
- package/dist/server-safe/routePlanFingerprint.js.map +1 -0
- package/dist/server-safe/routePlanFingerprint.test.d.ts +2 -0
- package/dist/server-safe/routePlanFingerprint.test.d.ts.map +1 -0
- package/dist/server-safe/routePlanFingerprint.test.js +68 -0
- package/dist/server-safe/routePlanFingerprint.test.js.map +1 -0
- package/dist/server-safe/scheduleListOrder.d.ts +18 -0
- package/dist/server-safe/scheduleListOrder.d.ts.map +1 -0
- package/dist/server-safe/scheduleListOrder.js +92 -0
- package/dist/server-safe/scheduleListOrder.js.map +1 -0
- package/dist/server-safe/scheduleListOrder.test.d.ts +2 -0
- package/dist/server-safe/scheduleListOrder.test.d.ts.map +1 -0
- package/dist/server-safe/scheduleListOrder.test.js +260 -0
- package/dist/server-safe/scheduleListOrder.test.js.map +1 -0
- package/dist/server-safe/serviceMinutes.d.ts +13 -0
- package/dist/server-safe/serviceMinutes.d.ts.map +1 -0
- package/dist/server-safe/serviceMinutes.js +38 -0
- package/dist/server-safe/serviceMinutes.js.map +1 -0
- package/dist/server-safe/serviceMinutes.test.d.ts +2 -0
- package/dist/server-safe/serviceMinutes.test.d.ts.map +1 -0
- package/dist/server-safe/serviceMinutes.test.js +86 -0
- package/dist/server-safe/serviceMinutes.test.js.map +1 -0
- package/dist/server-safe/settingsSearch.d.ts +24 -0
- package/dist/server-safe/settingsSearch.d.ts.map +1 -0
- package/dist/server-safe/settingsSearch.js +8 -0
- package/dist/server-safe/settingsSearch.js.map +1 -0
- package/dist/server-safe/supportChat.d.ts +59 -0
- package/dist/server-safe/supportChat.d.ts.map +1 -0
- package/dist/server-safe/supportChat.js +56 -0
- package/dist/server-safe/supportChat.js.map +1 -0
- package/dist/server-safe/templates.d.ts +15 -0
- package/dist/server-safe/templates.d.ts.map +1 -0
- package/dist/server-safe/templates.js +91 -0
- package/dist/server-safe/templates.js.map +1 -0
- package/dist/server-safe/templates.test.d.ts +2 -0
- package/dist/server-safe/templates.test.d.ts.map +1 -0
- package/dist/server-safe/templates.test.js +62 -0
- package/dist/server-safe/templates.test.js.map +1 -0
- package/dist/server-safe/trash.d.ts +50 -0
- package/dist/server-safe/trash.d.ts.map +1 -0
- package/dist/server-safe/trash.js +100 -0
- package/dist/server-safe/trash.js.map +1 -0
- package/dist/utils/LogHandler.d.ts +3 -0
- package/dist/utils/LogHandler.d.ts.map +1 -0
- package/dist/utils/LogHandler.js +16 -0
- package/dist/utils/LogHandler.js.map +1 -0
- package/dist/utils/convertSupabaseImagesToAssets.d.ts +28 -0
- package/dist/utils/convertSupabaseImagesToAssets.d.ts.map +1 -0
- package/dist/utils/convertSupabaseImagesToAssets.js +14 -0
- package/dist/utils/convertSupabaseImagesToAssets.js.map +1 -0
- package/package.json +37 -0
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import type { PaymentOptionValue } from '.';
|
|
2
|
+
export declare const PAYMENT_OPTIONS: readonly [{
|
|
3
|
+
readonly value: "stripe";
|
|
4
|
+
readonly label: "Stripe";
|
|
5
|
+
}, {
|
|
6
|
+
readonly value: "cash";
|
|
7
|
+
readonly label: "Cash";
|
|
8
|
+
}, {
|
|
9
|
+
readonly value: "check";
|
|
10
|
+
readonly label: "Check";
|
|
11
|
+
}, {
|
|
12
|
+
readonly value: "cash_app";
|
|
13
|
+
readonly label: "Cash App";
|
|
14
|
+
}, {
|
|
15
|
+
readonly value: "zelle";
|
|
16
|
+
readonly label: "Zelle";
|
|
17
|
+
}, {
|
|
18
|
+
readonly value: "venmo";
|
|
19
|
+
readonly label: "Venmo";
|
|
20
|
+
}, {
|
|
21
|
+
readonly value: "offline_credit_card";
|
|
22
|
+
readonly label: "Offline Credit Card";
|
|
23
|
+
}, {
|
|
24
|
+
readonly value: "wire_transfer";
|
|
25
|
+
readonly label: "Wire Transfer";
|
|
26
|
+
}, {
|
|
27
|
+
readonly value: "ach";
|
|
28
|
+
readonly label: "ACH";
|
|
29
|
+
}, {
|
|
30
|
+
readonly value: "other";
|
|
31
|
+
readonly label: "Other";
|
|
32
|
+
}];
|
|
33
|
+
export declare function isPaymentOptionValue(value: string): value is PaymentOptionValue;
|
|
34
|
+
export declare enum CommMethods {
|
|
35
|
+
SendViaSms = "Send via text message",
|
|
36
|
+
SendViaEmail = "Send via email",
|
|
37
|
+
SendViaSmsAndEmail = "Send via text and email"
|
|
38
|
+
}
|
|
39
|
+
export declare const EMPLOYEE_ROLE: readonly [{
|
|
40
|
+
readonly value: 3;
|
|
41
|
+
readonly label: "Technician";
|
|
42
|
+
}, {
|
|
43
|
+
readonly value: 2;
|
|
44
|
+
readonly label: "Admin";
|
|
45
|
+
}, {
|
|
46
|
+
readonly value: 1;
|
|
47
|
+
readonly label: "Owner";
|
|
48
|
+
}];
|
|
49
|
+
export declare const DEFAULT_COMPANY_HOURS: {
|
|
50
|
+
readonly mon_open_time: 540;
|
|
51
|
+
readonly mon_close_time: 1020;
|
|
52
|
+
readonly mon_is_open: true;
|
|
53
|
+
readonly tue_open_time: 540;
|
|
54
|
+
readonly tue_close_time: 1020;
|
|
55
|
+
readonly tue_is_open: true;
|
|
56
|
+
readonly wed_open_time: 540;
|
|
57
|
+
readonly wed_close_time: 1020;
|
|
58
|
+
readonly wed_is_open: true;
|
|
59
|
+
readonly thu_open_time: 540;
|
|
60
|
+
readonly thu_close_time: 1020;
|
|
61
|
+
readonly thu_is_open: true;
|
|
62
|
+
readonly fri_open_time: 540;
|
|
63
|
+
readonly fri_close_time: 1020;
|
|
64
|
+
readonly fri_is_open: true;
|
|
65
|
+
readonly sat_open_time: 540;
|
|
66
|
+
readonly sat_close_time: 1020;
|
|
67
|
+
readonly sat_is_open: false;
|
|
68
|
+
readonly sun_open_time: 540;
|
|
69
|
+
readonly sun_close_time: 1020;
|
|
70
|
+
readonly sun_is_open: false;
|
|
71
|
+
};
|
|
72
|
+
export declare const JOB_STATUS: {
|
|
73
|
+
readonly Open: "Open";
|
|
74
|
+
readonly OnMyWay: "On My Way";
|
|
75
|
+
readonly InProgress: "In Progress";
|
|
76
|
+
readonly Completed: "Completed";
|
|
77
|
+
readonly Canceled: "Canceled";
|
|
78
|
+
readonly PendingConfirmation: "Pending Confirmation";
|
|
79
|
+
readonly Failed: "Failed";
|
|
80
|
+
};
|
|
81
|
+
export type JobStatusLabel = (typeof JOB_STATUS)[keyof typeof JOB_STATUS];
|
|
82
|
+
export declare const EXTENDED_JOB_STATUS: {
|
|
83
|
+
readonly Open: "Open";
|
|
84
|
+
readonly OnMyWay: "On My Way";
|
|
85
|
+
readonly InProgress: "In Progress";
|
|
86
|
+
readonly Completed: "Completed";
|
|
87
|
+
readonly Canceled: "Canceled";
|
|
88
|
+
readonly PendingConfirmation: "Pending Confirmation";
|
|
89
|
+
readonly Failed: "Failed";
|
|
90
|
+
readonly All: "All";
|
|
91
|
+
};
|
|
92
|
+
export type ExtendedJobStatusLabel = (typeof EXTENDED_JOB_STATUS)[keyof typeof EXTENDED_JOB_STATUS];
|
|
93
|
+
export declare const ESTIMATE_SCHEDULE_STATUSES: readonly ["Open", "On My Way", "In Progress", "Completed", "Canceled"];
|
|
94
|
+
export declare const DEFAULT_CUSTOMER_ESTIMATE_STATUS_SMS: {
|
|
95
|
+
readonly estimate_reminder: "Hi {{firstName}}, this is a reminder from {{companyName}} about your estimate appointment tomorrow at {{estimateStartTime}}! We will arrive between {{estimateArrivalWindow}}. Thank you!";
|
|
96
|
+
readonly estimate_open: "This is a message from {{companyName}}. Your estimate appointment is scheduled for {{estimateDate}} at {{estimateTime}}. If you would like to opt out of future notifications like this, text STOP in reply to this message.";
|
|
97
|
+
readonly estimate_on_my_way: "A team member is on their way for your estimate!";
|
|
98
|
+
readonly estimate_in_progress: "We have begun your estimate.";
|
|
99
|
+
readonly estimate_canceled: "Your estimate appointment has been canceled.";
|
|
100
|
+
readonly estimate_completed: "Your estimate has been completed. Thank you!";
|
|
101
|
+
readonly estimate_updated: "Your estimate appointment has been updated. We will arrive on {{estimateDate}} at {{estimateTime}}.";
|
|
102
|
+
};
|
|
103
|
+
export declare const DEFAULT_CONTRACTOR_ESTIMATE_STATUS_SMS: {
|
|
104
|
+
readonly estimate_open: "Hey {{subcontractorFirstName}}, {{companyName}} has scheduled an estimate for you (estimate ID #{{estimateId}}): {{estimateDate}} at {{estimateTime}} {{customerName}} {{customerAddress}} {{customerPhone}} Notes: {{estimateNotes}}";
|
|
105
|
+
readonly estimate_on_my_way: "We've notified the customer that you're on your way.";
|
|
106
|
+
readonly estimate_in_progress: "An estimate you're assigned to is now in progress.";
|
|
107
|
+
readonly estimate_canceled: "Hey {{subcontractorFirstName}}, estimate ID #{{estimateId}} has been canceled.";
|
|
108
|
+
readonly estimate_completed: "Hey {{subcontractorFirstName}}, estimate ID #{{estimateId}} has been completed.";
|
|
109
|
+
readonly estimate_updated: "Hey {{subcontractorFirstName}}, estimate ID #{{estimateId}} has been updated: {{estimateDate}} at {{estimateTime}} {{customerName}} {{customerAddress}} {{customerPhone}} Notes: {{estimateNotes}}";
|
|
110
|
+
};
|
|
111
|
+
export declare const DEFAULT_EMPLOYEE_ESTIMATE_STATUS_SMS: {
|
|
112
|
+
readonly estimate_open: "Hey {{employeeFirstName}}, {{companyName}} has scheduled an estimate for you (estimate ID #{{estimateId}}): {{estimateDate}} at {{estimateTime}} {{customerName}} {{customerAddress}} {{customerPhone}} Notes: {{estimateNotes}}";
|
|
113
|
+
readonly estimate_on_my_way: "We've notified the customer that you're on your way.";
|
|
114
|
+
readonly estimate_in_progress: "An estimate you're assigned to is now in progress.";
|
|
115
|
+
readonly estimate_canceled: "Hey {{employeeFirstName}}, estimate ID #{{estimateId}} has been canceled.";
|
|
116
|
+
readonly estimate_completed: "Hey {{employeeFirstName}}, estimate ID #{{estimateId}} has been completed.";
|
|
117
|
+
readonly estimate_updated: "Hey {{employeeFirstName}}, estimate ID #{{estimateId}} has been updated: {{estimateDate}} at {{estimateTime}} {{customerName}} {{customerAddress}} {{customerPhone}} Notes: {{estimateNotes}}";
|
|
118
|
+
};
|
|
119
|
+
export declare const ESTIMATE_TIME_UPDATED_SMS: {
|
|
120
|
+
readonly customer: "Your estimate appointment has been rescheduled to {{estimateDate}} at {{estimateTime}}.";
|
|
121
|
+
readonly contractor: "Hey {{subcontractorFirstName}}, the schedule for estimate ID #{{estimateId}} has changed: {{estimateDate}} at {{estimateTime}} {{customerName}} {{customerAddress}} {{customerPhone}} Notes: {{estimateNotes}}";
|
|
122
|
+
readonly employee: "Hey {{employeeFirstName}}, the schedule for estimate ID #{{estimateId}} has changed: {{estimateDate}} at {{estimateTime}} {{customerName}} {{customerAddress}} {{customerPhone}} Notes: {{estimateNotes}}";
|
|
123
|
+
};
|
|
124
|
+
export declare const ESTIMATE_ADDRESS_UPDATED_SMS: {
|
|
125
|
+
readonly customer: "Your estimate appointment's address has been updated. We will arrive at {{customerAddress}} on {{estimateDate}} at {{estimateTime}}.";
|
|
126
|
+
readonly contractor: "Hey {{subcontractorFirstName}}, the address for estimate ID #{{estimateId}} has changed: {{estimateDate}} at {{estimateTime}} {{customerName}} {{customerAddress}} {{customerPhone}} Notes: {{estimateNotes}}";
|
|
127
|
+
readonly employee: "Hey {{employeeFirstName}}, the address for estimate ID #{{estimateId}} has changed: {{estimateDate}} at {{estimateTime}} {{customerName}} {{customerAddress}} {{customerPhone}} Notes: {{estimateNotes}}";
|
|
128
|
+
};
|
|
129
|
+
export declare const ESTIMATE_WORKERS_UPDATED_SMS: {
|
|
130
|
+
readonly contractor: "Hey {{subcontractorFirstName}}, the workers assigned to estimate ID #{{estimateId}} have been changed: Workers assigned: {{allFieldTechs}} Workers not listed above are not assigned to this estimate {{estimateDate}} at {{estimateTime}}";
|
|
131
|
+
readonly employee: "Hey {{employeeFirstName}}, the workers assigned to estimate ID #{{estimateId}} have been changed: Workers assigned: {{allFieldTechs}} Workers not listed above are not assigned to this estimate {{estimateDate}} at {{estimateTime}}";
|
|
132
|
+
};
|
|
133
|
+
export declare const ESTIMATE_NOTES_UPDATED_SMS: {
|
|
134
|
+
readonly contractor: "Hey {{subcontractorFirstName}}, the notes on estimate ID #{{estimateId}} have been updated: {{estimateDate}} at {{estimateTime}} {{customerName}} {{customerAddress}} {{customerPhone}} Notes: {{estimateNotes}}";
|
|
135
|
+
readonly employee: "Hey {{employeeFirstName}}, the notes on estimate ID #{{estimateId}} have been updated: {{estimateDate}} at {{estimateTime}} {{customerName}} {{customerAddress}} {{customerPhone}} Notes: {{estimateNotes}}";
|
|
136
|
+
};
|
|
137
|
+
export declare const EMPLOYEE_ESTIMATE_PUSH: {
|
|
138
|
+
readonly estimate_open: {
|
|
139
|
+
readonly title: "New Estimate";
|
|
140
|
+
readonly body: "Estimate #{{estimateId}} has been assigned to you";
|
|
141
|
+
};
|
|
142
|
+
readonly estimate_updated: {
|
|
143
|
+
readonly title: "Estimate Update";
|
|
144
|
+
readonly body: "Estimate #{{estimateId}} has been updated";
|
|
145
|
+
};
|
|
146
|
+
readonly estimate_canceled: {
|
|
147
|
+
readonly title: "Estimate Canceled";
|
|
148
|
+
readonly body: "Estimate #{{estimateId}} has been canceled";
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
export type JobPaymentStatusLabel = 'Unpaid' | 'Partial' | 'Paid';
|
|
152
|
+
export declare const EMP_COLOR_TAGS: {
|
|
153
|
+
label: string;
|
|
154
|
+
color: string;
|
|
155
|
+
}[];
|
|
156
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/server-safe/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,GAAG,CAAC;AAG5C,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWlB,CAAC;AAGX,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,MAAM,GACZ,KAAK,IAAI,kBAAkB,CAE7B;AAID,oBAAY,WAAW;IACrB,UAAU,0BAA0B;IACpC,YAAY,mBAAmB;IAC/B,kBAAkB,4BAA4B;CAC/C;AAED,eAAO,MAAM,aAAa;;;;;;;;;EAahB,CAAC;AAEX,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;CAsBxB,CAAC;AAEX,eAAO,MAAM,UAAU;;;;;;;;CAYb,CAAC;AACX,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC;AAE1E,eAAO,MAAM,mBAAmB;;;;;;;;;CAGtB,CAAC;AACX,MAAM,MAAM,sBAAsB,GAChC,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AAMjE,eAAO,MAAM,0BAA0B,wEAM7B,CAAC;AAKX,eAAO,MAAM,oCAAoC;;;;;;;;CAQvC,CAAC;AAEX,eAAO,MAAM,sCAAsC;;;;;;;CAOzC,CAAC;AAEX,eAAO,MAAM,oCAAoC;;;;;;;CAOvC,CAAC;AAKX,eAAO,MAAM,yBAAyB;;;;CAI5B,CAAC;AAEX,eAAO,MAAM,4BAA4B;;;;CAI/B,CAAC;AAEX,eAAO,MAAM,4BAA4B;;;CAG/B,CAAC;AAEX,eAAO,MAAM,0BAA0B;;;CAG7B,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;CAazB,CAAC;AAEX,MAAM,MAAM,qBAAqB,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAC;AAElE,eAAO,MAAM,cAAc;;;GA6C1B,CAAC"}
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EMP_COLOR_TAGS = exports.EMPLOYEE_ESTIMATE_PUSH = exports.ESTIMATE_NOTES_UPDATED_SMS = exports.ESTIMATE_WORKERS_UPDATED_SMS = exports.ESTIMATE_ADDRESS_UPDATED_SMS = exports.ESTIMATE_TIME_UPDATED_SMS = exports.DEFAULT_EMPLOYEE_ESTIMATE_STATUS_SMS = exports.DEFAULT_CONTRACTOR_ESTIMATE_STATUS_SMS = exports.DEFAULT_CUSTOMER_ESTIMATE_STATUS_SMS = exports.ESTIMATE_SCHEDULE_STATUSES = exports.EXTENDED_JOB_STATUS = exports.JOB_STATUS = exports.DEFAULT_COMPANY_HOURS = exports.EMPLOYEE_ROLE = exports.CommMethods = exports.PAYMENT_OPTIONS = void 0;
|
|
4
|
+
exports.isPaymentOptionValue = isPaymentOptionValue;
|
|
5
|
+
exports.PAYMENT_OPTIONS = [
|
|
6
|
+
{ value: 'stripe', label: 'Stripe' },
|
|
7
|
+
{ value: 'cash', label: 'Cash' },
|
|
8
|
+
{ value: 'check', label: 'Check' },
|
|
9
|
+
{ value: 'cash_app', label: 'Cash App' },
|
|
10
|
+
{ value: 'zelle', label: 'Zelle' },
|
|
11
|
+
{ value: 'venmo', label: 'Venmo' },
|
|
12
|
+
{ value: 'offline_credit_card', label: 'Offline Credit Card' },
|
|
13
|
+
{ value: 'wire_transfer', label: 'Wire Transfer' },
|
|
14
|
+
{ value: 'ach', label: 'ACH' },
|
|
15
|
+
{ value: 'other', label: 'Other' },
|
|
16
|
+
];
|
|
17
|
+
function isPaymentOptionValue(value) {
|
|
18
|
+
return exports.PAYMENT_OPTIONS.some((option) => option.value === value);
|
|
19
|
+
}
|
|
20
|
+
var CommMethods;
|
|
21
|
+
(function (CommMethods) {
|
|
22
|
+
CommMethods["SendViaSms"] = "Send via text message";
|
|
23
|
+
CommMethods["SendViaEmail"] = "Send via email";
|
|
24
|
+
CommMethods["SendViaSmsAndEmail"] = "Send via text and email";
|
|
25
|
+
})(CommMethods || (exports.CommMethods = CommMethods = {}));
|
|
26
|
+
exports.EMPLOYEE_ROLE = [
|
|
27
|
+
{
|
|
28
|
+
value: 3,
|
|
29
|
+
label: 'Technician',
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
value: 2,
|
|
33
|
+
label: 'Admin',
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
value: 1,
|
|
37
|
+
label: 'Owner',
|
|
38
|
+
},
|
|
39
|
+
];
|
|
40
|
+
exports.DEFAULT_COMPANY_HOURS = {
|
|
41
|
+
mon_open_time: 540,
|
|
42
|
+
mon_close_time: 1020,
|
|
43
|
+
mon_is_open: true,
|
|
44
|
+
tue_open_time: 540,
|
|
45
|
+
tue_close_time: 1020,
|
|
46
|
+
tue_is_open: true,
|
|
47
|
+
wed_open_time: 540,
|
|
48
|
+
wed_close_time: 1020,
|
|
49
|
+
wed_is_open: true,
|
|
50
|
+
thu_open_time: 540,
|
|
51
|
+
thu_close_time: 1020,
|
|
52
|
+
thu_is_open: true,
|
|
53
|
+
fri_open_time: 540,
|
|
54
|
+
fri_close_time: 1020,
|
|
55
|
+
fri_is_open: true,
|
|
56
|
+
sat_open_time: 540,
|
|
57
|
+
sat_close_time: 1020,
|
|
58
|
+
sat_is_open: false,
|
|
59
|
+
sun_open_time: 540,
|
|
60
|
+
sun_close_time: 1020,
|
|
61
|
+
sun_is_open: false,
|
|
62
|
+
};
|
|
63
|
+
exports.JOB_STATUS = {
|
|
64
|
+
Open: 'Open',
|
|
65
|
+
OnMyWay: 'On My Way',
|
|
66
|
+
InProgress: 'In Progress',
|
|
67
|
+
Completed: 'Completed',
|
|
68
|
+
Canceled: 'Canceled',
|
|
69
|
+
PendingConfirmation: 'Pending Confirmation',
|
|
70
|
+
Failed: 'Failed',
|
|
71
|
+
};
|
|
72
|
+
exports.EXTENDED_JOB_STATUS = {
|
|
73
|
+
All: 'All',
|
|
74
|
+
...exports.JOB_STATUS,
|
|
75
|
+
};
|
|
76
|
+
exports.ESTIMATE_SCHEDULE_STATUSES = [
|
|
77
|
+
exports.JOB_STATUS.Open,
|
|
78
|
+
exports.JOB_STATUS.OnMyWay,
|
|
79
|
+
exports.JOB_STATUS.InProgress,
|
|
80
|
+
exports.JOB_STATUS.Completed,
|
|
81
|
+
exports.JOB_STATUS.Canceled,
|
|
82
|
+
];
|
|
83
|
+
exports.DEFAULT_CUSTOMER_ESTIMATE_STATUS_SMS = {
|
|
84
|
+
estimate_reminder: `Hi {{firstName}}, this is a reminder from {{companyName}} about your estimate appointment tomorrow at {{estimateStartTime}}! We will arrive between {{estimateArrivalWindow}}. Thank you!`,
|
|
85
|
+
estimate_open: `This is a message from {{companyName}}. Your estimate appointment is scheduled for {{estimateDate}} at {{estimateTime}}. If you would like to opt out of future notifications like this, text STOP in reply to this message.`,
|
|
86
|
+
estimate_on_my_way: `A team member is on their way for your estimate!`,
|
|
87
|
+
estimate_in_progress: `We have begun your estimate.`,
|
|
88
|
+
estimate_canceled: `Your estimate appointment has been canceled.`,
|
|
89
|
+
estimate_completed: `Your estimate has been completed. Thank you!`,
|
|
90
|
+
estimate_updated: `Your estimate appointment has been updated. We will arrive on {{estimateDate}} at {{estimateTime}}.`,
|
|
91
|
+
};
|
|
92
|
+
exports.DEFAULT_CONTRACTOR_ESTIMATE_STATUS_SMS = {
|
|
93
|
+
estimate_open: `Hey {{subcontractorFirstName}}, {{companyName}} has scheduled an estimate for you (estimate ID #{{estimateId}}): {{estimateDate}} at {{estimateTime}} {{customerName}} {{customerAddress}} {{customerPhone}} Notes: {{estimateNotes}}`,
|
|
94
|
+
estimate_on_my_way: `We've notified the customer that you're on your way.`,
|
|
95
|
+
estimate_in_progress: `An estimate you're assigned to is now in progress.`,
|
|
96
|
+
estimate_canceled: `Hey {{subcontractorFirstName}}, estimate ID #{{estimateId}} has been canceled.`,
|
|
97
|
+
estimate_completed: `Hey {{subcontractorFirstName}}, estimate ID #{{estimateId}} has been completed.`,
|
|
98
|
+
estimate_updated: `Hey {{subcontractorFirstName}}, estimate ID #{{estimateId}} has been updated: {{estimateDate}} at {{estimateTime}} {{customerName}} {{customerAddress}} {{customerPhone}} Notes: {{estimateNotes}}`,
|
|
99
|
+
};
|
|
100
|
+
exports.DEFAULT_EMPLOYEE_ESTIMATE_STATUS_SMS = {
|
|
101
|
+
estimate_open: `Hey {{employeeFirstName}}, {{companyName}} has scheduled an estimate for you (estimate ID #{{estimateId}}): {{estimateDate}} at {{estimateTime}} {{customerName}} {{customerAddress}} {{customerPhone}} Notes: {{estimateNotes}}`,
|
|
102
|
+
estimate_on_my_way: `We've notified the customer that you're on your way.`,
|
|
103
|
+
estimate_in_progress: `An estimate you're assigned to is now in progress.`,
|
|
104
|
+
estimate_canceled: `Hey {{employeeFirstName}}, estimate ID #{{estimateId}} has been canceled.`,
|
|
105
|
+
estimate_completed: `Hey {{employeeFirstName}}, estimate ID #{{estimateId}} has been completed.`,
|
|
106
|
+
estimate_updated: `Hey {{employeeFirstName}}, estimate ID #{{estimateId}} has been updated: {{estimateDate}} at {{estimateTime}} {{customerName}} {{customerAddress}} {{customerPhone}} Notes: {{estimateNotes}}`,
|
|
107
|
+
};
|
|
108
|
+
exports.ESTIMATE_TIME_UPDATED_SMS = {
|
|
109
|
+
customer: `Your estimate appointment has been rescheduled to {{estimateDate}} at {{estimateTime}}.`,
|
|
110
|
+
contractor: `Hey {{subcontractorFirstName}}, the schedule for estimate ID #{{estimateId}} has changed: {{estimateDate}} at {{estimateTime}} {{customerName}} {{customerAddress}} {{customerPhone}} Notes: {{estimateNotes}}`,
|
|
111
|
+
employee: `Hey {{employeeFirstName}}, the schedule for estimate ID #{{estimateId}} has changed: {{estimateDate}} at {{estimateTime}} {{customerName}} {{customerAddress}} {{customerPhone}} Notes: {{estimateNotes}}`,
|
|
112
|
+
};
|
|
113
|
+
exports.ESTIMATE_ADDRESS_UPDATED_SMS = {
|
|
114
|
+
customer: `Your estimate appointment's address has been updated. We will arrive at {{customerAddress}} on {{estimateDate}} at {{estimateTime}}.`,
|
|
115
|
+
contractor: `Hey {{subcontractorFirstName}}, the address for estimate ID #{{estimateId}} has changed: {{estimateDate}} at {{estimateTime}} {{customerName}} {{customerAddress}} {{customerPhone}} Notes: {{estimateNotes}}`,
|
|
116
|
+
employee: `Hey {{employeeFirstName}}, the address for estimate ID #{{estimateId}} has changed: {{estimateDate}} at {{estimateTime}} {{customerName}} {{customerAddress}} {{customerPhone}} Notes: {{estimateNotes}}`,
|
|
117
|
+
};
|
|
118
|
+
exports.ESTIMATE_WORKERS_UPDATED_SMS = {
|
|
119
|
+
contractor: `Hey {{subcontractorFirstName}}, the workers assigned to estimate ID #{{estimateId}} have been changed: Workers assigned: {{allFieldTechs}} Workers not listed above are not assigned to this estimate {{estimateDate}} at {{estimateTime}}`,
|
|
120
|
+
employee: `Hey {{employeeFirstName}}, the workers assigned to estimate ID #{{estimateId}} have been changed: Workers assigned: {{allFieldTechs}} Workers not listed above are not assigned to this estimate {{estimateDate}} at {{estimateTime}}`,
|
|
121
|
+
};
|
|
122
|
+
exports.ESTIMATE_NOTES_UPDATED_SMS = {
|
|
123
|
+
contractor: `Hey {{subcontractorFirstName}}, the notes on estimate ID #{{estimateId}} have been updated: {{estimateDate}} at {{estimateTime}} {{customerName}} {{customerAddress}} {{customerPhone}} Notes: {{estimateNotes}}`,
|
|
124
|
+
employee: `Hey {{employeeFirstName}}, the notes on estimate ID #{{estimateId}} have been updated: {{estimateDate}} at {{estimateTime}} {{customerName}} {{customerAddress}} {{customerPhone}} Notes: {{estimateNotes}}`,
|
|
125
|
+
};
|
|
126
|
+
exports.EMPLOYEE_ESTIMATE_PUSH = {
|
|
127
|
+
estimate_open: {
|
|
128
|
+
title: `New Estimate`,
|
|
129
|
+
body: `Estimate #{{estimateId}} has been assigned to you`,
|
|
130
|
+
},
|
|
131
|
+
estimate_updated: {
|
|
132
|
+
title: `Estimate Update`,
|
|
133
|
+
body: `Estimate #{{estimateId}} has been updated`,
|
|
134
|
+
},
|
|
135
|
+
estimate_canceled: {
|
|
136
|
+
title: `Estimate Canceled`,
|
|
137
|
+
body: `Estimate #{{estimateId}} has been canceled`,
|
|
138
|
+
},
|
|
139
|
+
};
|
|
140
|
+
exports.EMP_COLOR_TAGS = [
|
|
141
|
+
{
|
|
142
|
+
label: 'Purple',
|
|
143
|
+
color: '#911EB4',
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
label: 'Maroon',
|
|
147
|
+
color: '#800000',
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
label: 'Brown',
|
|
151
|
+
color: '#9A6324',
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
label: 'Red',
|
|
155
|
+
color: '#E6194B',
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
label: 'Orange',
|
|
159
|
+
color: '#F58231',
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
label: 'Green',
|
|
163
|
+
color: '#3CB44B',
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
label: 'Teal',
|
|
167
|
+
color: '#469990',
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
label: 'Navy',
|
|
171
|
+
color: '#000075',
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
label: 'Blue',
|
|
175
|
+
color: '#4363D8',
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
label: 'Magenta',
|
|
179
|
+
color: '#F032E6',
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
label: 'Black',
|
|
183
|
+
color: '#000000',
|
|
184
|
+
},
|
|
185
|
+
];
|
|
186
|
+
//# sourceMappingURL=constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/server-safe/constants.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contracts.d.ts","sourceRoot":"","sources":["../../src/server-safe/contracts.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,iBAAiB,2DAMgB,CAAC;AAS/C,wBAAgB,4BAA4B,CAC1C,SAAS,EAAE,MAAM,EACjB,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,GAChB,MAAM,CAER"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CONTRACT_STATUSES = void 0;
|
|
4
|
+
exports.contractSignatureStoragePath = contractSignatureStoragePath;
|
|
5
|
+
exports.CONTRACT_STATUSES = [
|
|
6
|
+
'Unsent',
|
|
7
|
+
'Sent',
|
|
8
|
+
'Opened',
|
|
9
|
+
'Signed',
|
|
10
|
+
'Voided',
|
|
11
|
+
];
|
|
12
|
+
function contractSignatureStoragePath(companyId, contractId, attemptId) {
|
|
13
|
+
return `${companyId}/contract/${contractId}/signature-${attemptId}.png`;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=contracts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contracts.js","sourceRoot":"","sources":["../../src/server-safe/contracts.ts"],"names":[],"mappings":";;;AAuBA,oEAMC;AArBY,QAAA,iBAAiB,GAAG;IAC/B,QAAQ;IACR,MAAM;IACN,QAAQ;IACR,QAAQ;IACR,QAAQ;CACoC,CAAC;AAS/C,SAAgB,4BAA4B,CAC1C,SAAiB,EACjB,UAAkB,EAClB,SAAiB;IAEjB,OAAO,GAAG,SAAS,aAAa,UAAU,cAAc,SAAS,MAAM,CAAC;AAC1E,CAAC"}
|